{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/home/home.vue?12d8","webpack:///./src/components/messagelist.vue?58d2","webpack:///./src/ApiClient/MessagesController.ts","webpack:///./src/sortedArraySync.ts","webpack:///./src/MessageNotificationManager.ts","webpack:///./src/components/confirmationdialog.vue?9c3b","webpack:///./src/components/confirmationdialog.vue","webpack:///./src/components/confirmationdialog.vue?8484","webpack:///./src/components/confirmationdialog.vue?1612","webpack:///./src/ApiClient/ServerController.ts","webpack:///./src/components/utils/mapOrder.ts","webpack:///./src/components/messagelist.vue","webpack:///./src/components/messagelist.vue?8c13","webpack:///./src/components/messagelist.vue?caf9","webpack:///./src/components/messageview.vue?696d","webpack:///./src/components/headers.vue?b10d","webpack:///./src/components/headers.vue","webpack:///./src/components/headers.vue?25a4","webpack:///./src/components/headers.vue?5089","webpack:///./src/components/messageviewhtml.vue?6075","webpack:///./src/components/messageviewhtml.vue","webpack:///./src/components/messageviewhtml.vue?157b","webpack:///./src/components/messageviewhtml.vue?f7a8","webpack:///./src/components/messageviewattachments.vue?b305","webpack:///./src/components/messageviewattachments.vue","webpack:///./src/components/messageviewattachments.vue?928d","webpack:///./src/components/messageviewattachments.vue?3711","webpack:///./src/components/messagepartsource.vue?54d9","webpack:///./src/components/textview.vue?71df","webpack:///./src/components/textview.vue","webpack:///./src/components/textview.vue?28d5","webpack:///./src/components/textview.vue?300e","webpack:///./src/components/messagepartsource.vue","webpack:///./src/components/messagepartsource.vue?f8db","webpack:///./src/components/messagepartsource.vue?11bb","webpack:///./src/components/messagesource.vue?a673","webpack:///./src/components/messagesource.vue","webpack:///./src/components/messagesource.vue?9cc7","webpack:///./src/components/messagesource.vue?46f5","webpack:///./src/components/messageview.vue","webpack:///./src/components/messageview.vue?953a","webpack:///./src/components/messageview.vue?cb7f","webpack:///./src/components/sessionlist.vue?f333","webpack:///./src/ApiClient/SessionsController.ts","webpack:///./src/components/sessionlist.vue","webpack:///./src/components/sessionlist.vue?60ca","webpack:///./src/components/sessionlist.vue?cb6f","webpack:///./src/components/sessionview.vue?6bf6","webpack:///./src/components/sessionview.vue","webpack:///./src/components/sessionview.vue?a89d","webpack:///./src/components/sessionview.vue?1998","webpack:///./src/components/versionInfo.vue?dfb4","webpack:///./src/ApiClient/InfoController.ts","webpack:///./src/components/versionInfo.vue","webpack:///./src/components/versionInfo.vue?5a4c","webpack:///./src/components/versionInfo.vue?69d9","webpack:///./src/HubConnectionManager.ts","webpack:///./src/components/serverstatus.vue?c7d5","webpack:///./src/components/serverstatus.vue","webpack:///./src/components/serverstatus.vue?6bf6","webpack:///./src/components/serverstatus.vue?87c4","webpack:///./src/components/settingsdialog.vue?5375","webpack:///./src/components/settingsdialog.vue","webpack:///./src/components/settingsdialog.vue?6a7c","webpack:///./src/components/settingsdialog.vue?cb51","webpack:///./src/components/hubconnectionstatus.vue?c368","webpack:///./src/components/hubconnectionstatus.vue","webpack:///./src/components/hubconnectionstatus.vue?7111","webpack:///./src/components/hubconnectionstatus.vue?f83f","webpack:///./src/components/home/home.vue","webpack:///./src/components/home/home.vue?e09f","webpack:///./src/components/home/home.vue?c1dd","webpack:///./src/components/app/app.vue?55e4","webpack:///./src/components/app/app.vue","webpack:///./src/components/app/app.vue?9158","webpack:///./src/components/app/app.vue?0be5","webpack:///./src/main.ts","webpack:///./src/components/app/app.vue?1dfc"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","staticStyle","on","$event","settingsVisible","_v","connection","directives","rawName","connected","expression","slot","messageListPaneSize","size","selectedMessageChanged","selectedMessage","sessionListPaneSize","selectedSessionChanged","selectedSession","staticRenderFns","clear","selectedmessage","deleteSelected","loading","refresh","isRelayAvailable","isRelayInProgress","relaySelected","model","callback","$$v","searchTerm","_s","error","message","_e","ref","filteredMessages","emptyText","prop","order","getRowClass","handleCurrentChange","sort","formatDate","cellValueRenderer","scopedSlots","_u","fn","scope","row","subject","attachmentCount","sortColumn","sortIsDescending","encodeURIComponent","a","getSummaries_url","undefined","getMessage_url","post","markMessageRead_url","downloadMessage_url","options","relayMessage_url","partid","getPartContent_url","getPartSource_url","getPartSourceRaw_url","getMessageSourceRaw_url","getMessageSource_url","getMessageHtml_url","delete","delete_url","deleteAll_url","sortedArraySync","source","target","comparer","updater","sourceItem","targetItem","find","deleted","filter","findIndex","v","added","onClick","lastNotifiedMessage","visibleNotificationCloseTimeout","currentNotification","updateNotificationsDebounced","updateNotifications","Notification","permission","requestPermission","messages","messagesByDate","sortMessages","unnotifiedMessages","indexOfLastNotifiedMessage","indexOf","reverse","clearTimeout","notification","body","from","join","tag","renotify","silent","requireInteraction","onclick","onclose","setTimeout","close","m1","m2","receivedDate","visible","cancel","alwaysIsAvailable","confirm","_t","super","$slots","default","componentInstance","$on","getConfirmation","$el","parentElement","parent","insertBefore","removeChild","alwaysKey","localStorage","always","setItem","$emit","offsetParent","checkReferenceVisible","getItem","component","getServer_url","serverUpdate","updateServer_url","mapOrder","array","b","A","B","selectedSortDescending","selectedSortColumn","messageNotificationManager","selectMessage","debouncedUpdateFilteredMessages","updateFilteredMessages","lastSort","lastSortDescending","mutex","initialLoadDone","$refs","table","setCurrentRow","column","cellValue","index","String","moment","format","event","isUnread","emails","dialogResult","$prompt","confirmButtonText","inputValue","to","cancelButtonText","inputPattern","inputErrorMessage","split","trim","relayMessage","overrideRecipientAddresses","$notify","success","title","response","detail","sessage","messageToDelete","nextIndex","deleteAll","searchTermPredicate","sortedMessageIds","some","localeIndexOf","sensitivity","unlock","acquire","sortDescending","serverMessages","getSummaries","isRelayed","notifyMessages","setInitialMessages","getServer","relayOptions","smtpServer","sortOptions","descending","async","addOnConnectedCallback","components","confirmationdialog","modifiers","loadMessage","download","messageSummary","relay","_l","warning","details","cc","bcc","secureConnection","relayError","mimeParseError","headers","parts","label","children","disabled","isLeaf","onPartSelection","node","class","childParts","isAttachment","selectedPartHeaders","selectedPart","html","onHtmlFrameLoaded","oldValue","htmlframe","doc","contentDocument","baseElement","querySelector","createElement","setAttribute","appendChild","getMessageHtml","attachment","openAttachment","fileName","attachments","setAttachments","getAttachments","part","open","url","editorInit","textToShow","text","brace","setReadOnly","aceeditor","messageEntitySummary","sourceurl","type","messageId","getPartSourceRaw","getPartSource","textview","getMessageSourceRaw","warnings","getMessage","partstree","setCurrentNode","getNode","setWarnings","currentMessageSummary","markMessageRead","console","getWarnings","messageviewattachments","messagepartsource","messagesource","selectedsession","sessions","numberOfMessages","getSession_url","getSessionLog_url","session","sessionToDelete","selectSession","newSessions","log","sessionSummary","loadSession","getSession","getSessionLog","domProps","version","getInfo_url","info","getInfo","infoVersion","connectedCallbacks","started","_connection","withUrl","configureLogging","Trace","build","onConnectionClosed","connectedCallback","start","stop","eventName","handler","server","isRunning","portNumber","exception","updateServer","handleClose","rules","saving","$set","isRelayEnabled","email","required","automaticEmails","save","isRelayEnabledValue","relayOptionsAutomaticEmails","hostName","numberOfMessagesToKeep","numberOfSessionsToKeep","smtpPort","valid","validate","buttonType","buttonIcon","buttonTitle","buttonClick","buttonText","errorText","storedValue","Number","toString","messagelist","messageview","sessionlist","sessionview","hubconnstatus","serverstatus","settingsdialog","splitpanes","pane","VersionInfo","supportedBrowser","document","style","flex","use","routes","path","router","base","location","pathname","el","h","interceptors","fixDates","getElementById","display","dateRegex","Array","item","test","Date"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,E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G,MAAM,CAAC,KAAO,aAAa,KAAO,WAAW,CAACH,EAAG,gBAAgB,IAAI,IAC/O,GAAkB,G,oBCctB,IAAqB,GAArB,cAA0C,eAArB,GAAY,gBADhC,eAAU,KACU,cCf2X,MCQ5Y,I,UAAY,eACd,GACA,GACA,IACA,EACA,KACA,KACA,OAIa,M,QCVf,MAAMiX,GAAsE,oBAA3CC,SAASnH,cAAc,KAAKoH,MAAMC,MAAwBvb,OAAOC,UAAUC,eAAeC,KAAK8C,OAAQ,YAAcjD,OAAOC,UAAUC,eAAeC,KAAK8C,OAAQ,WAEnM,GAAKmY,GAKE,CAEH,aAAII,IAAI,KACR,aAAIA,IAAI,QAER,MAAMC,EAAS,CACX,CAAEC,KAAM,IAAKpO,UAAW,KAGtBqO,EAAS,IAAI,OAAU,CACzBC,KAAMC,SAASC,SACfxZ,KAAM,UACNmZ,OAAQA,IAEA,IAAI,aAAI,CAChBM,GAAI,YACJJ,OAAQA,EACR7X,OAAQkY,GAAKA,EAAE,MAKnB,EAAAlU,EAAMmU,aAAa7L,SAASoL,IAAIpL,IAE5B8L,GAAS9L,EAAS7Q,MACX6Q,IAGX,sBA/BciL,SAASc,eAAe,WAAYb,MAAMc,QAAU,OACpDf,SAASc,eAAe,cAAeb,MAAMc,QAAU,QAiCzE,MAAMC,GAAY,mFAElB,SAASH,GAAS3c,GAEd,GAAIA,aAAgB+c,MAChB,IAAK,MAAMC,KAAQhd,EACf2c,GAASK,QAGb,IAAK,MAAMzZ,KAAYvD,EAAM,CACzB,MAAM6C,EAAQ7C,EAAKuD,GAEE,kBAAVV,EACHia,GAAUG,KAAKpa,KACf7C,EAAKuD,GAAY,IAAI2Z,KAAKra,IAG9B8Z,GAAS9Z,M,kCChEzB,W","file":"js/app.2db88c9c.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',{staticClass:\"fill hfillpanel\"},[_c('el-header',{attrs:{\"height\":\"35\"}},[_c('h1',[_c('a',{attrs:{\"href\":\"https://github.com/rnwood/smtp4dev/\",\"target\":\"_blank\"}},[_c('img',{attrs:{\"height\":\"35\",\"src\":\"logo.png\",\"alt\":\"smtp4dev\"}})])]),_c('div',{staticStyle:{\"padding-left\":\"10px\",\"padding-top\":\"5px\",\"margin-left\":\"10px\",\"width\":\"30em\",\"display\":\"inline-block\"}},[_c('VersionInfo')],1),_c('el-button',{staticStyle:{\"float\":\"right\",\"font-size\":\"1.7em\",\"padding\":\"6px\",\"margin\":\"0 3px\"},attrs:{\"circle\":\"\",\"icon\":\"el-icon-setting\",\"title\":\"Settings\"},on:{\"click\":function($event){_vm.settingsVisible = true}}}),_vm._v(\"  \"),_c('hubconnstatus',{staticStyle:{\"float\":\"right\"},attrs:{\"connection\":_vm.connection}}),_c('serverstatus',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.connection && _vm.connection.connected),expression:\"connection && connection.connected\"}],staticStyle:{\"float\":\"right\"},attrs:{\"connection\":_vm.connection}})],1),_c('settingsdialog',{attrs:{\"visible\":_vm.settingsVisible,\"connection\":_vm.connection},on:{\"closed\":function($event){_vm.settingsVisible = false}}}),_c('el-main',{staticClass:\"fill vfillpanel\"},[_c('el-tabs',{staticClass:\"fill\",attrs:{\"id\":\"maintabs\",\"value\":\"messages\",\"type\":\"border-card\"}},[_c('el-tab-pane',{staticClass:\"vfillpanel\",attrs:{\"label\":\"Messages\",\"name\":\"messages\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-message\"}),_vm._v(\" Messages \")]),_c('splitpanes',{staticClass:\"default-theme fill\",on:{\"resize\":function($event){_vm.messageListPaneSize = $event[0].size}}},[_c('pane',{staticClass:\"hfillpanel\",attrs:{\"size\":_vm.messageListPaneSize}},[_c('messagelist',{staticClass:\"fill\",attrs:{\"connection\":_vm.connection},on:{\"selected-message-changed\":_vm.selectedMessageChanged}})],1),_c('pane',{staticClass:\"hfillpanel\",attrs:{\"size\":100-_vm.messageListPaneSize}},[_c('messageview',{staticClass:\"fill\",attrs:{\"message-summary\":_vm.selectedMessage}})],1)],1)],1),_c('el-tab-pane',{staticClass:\"vfillpanel\",attrs:{\"label\":\"Sessions\",\"name\":\"sessions\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-monitor\"}),_vm._v(\" Sessions \")]),_c('splitpanes',{staticClass:\"default-theme fill\",on:{\"resize\":function($event){_vm.sessionListPaneSize = $event[0].size}}},[_c('pane',{staticClass:\"vfillpanel\",attrs:{\"size\":_vm.sessionListPaneSize}},[_c('sessionlist',{staticClass:\"fill\",attrs:{\"connection\":_vm.connection},on:{\"selected-session-changed\":_vm.selectedSessionChanged}})],1),_c('pane',{staticClass:\"vfillpanel\",attrs:{\"size\":100-_vm.sessionListPaneSize}},[_c('sessionview',{staticClass:\"fill\",attrs:{\"session-summary\":_vm.selectedSession}})],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"messagelist\"},[_c('div',{staticClass:\"toolbar\"},[_c('confirmationdialog',{attrs:{\"always-key\":\"deleteAllMessages\",\"message\":\"Are you sure you want to delete all messages?\"},on:{\"confirm\":_vm.clear}},[_c('el-button',{attrs:{\"icon\":\"el-icon-close\",\"title\":\"Clear\"}})],1),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"disabled\":!_vm.selectedmessage,\"title\":\"Delete\"},on:{\"click\":_vm.deleteSelected}}),_c('el-button',{attrs:{\"icon\":\"el-icon-refresh\",\"disabled\":_vm.loading,\"title\":\"Refresh\"},on:{\"click\":_vm.refresh}}),_c('el-button',{attrs:{\"icon\":\"el-icon-d-arrow-right\",\"disabled\":!_vm.selectedmessage || !_vm.isRelayAvailable,\"loading\":_vm.isRelayInProgress,\"title\":\"Relay\"},on:{\"click\":_vm.relaySelected}}),_c('el-input',{staticStyle:{\"float\":\"right\",\"width\":\"35%\",\"min-width\":\"150px\"},attrs:{\"clearable\":\"\",\"placeholder\":\"Search\",\"prefix-icon\":\"el-icon-search\"},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:\"searchTerm\"}})],1),(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\",\"title\":\"Error\",\"show-icon\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.refresh}},[_vm._v(\"Retry\")])],1):_vm._e(),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"table\",staticClass:\"table\",attrs:{\"data\":_vm.filteredMessages,\"empty-text\":_vm.emptyText,\"highlight-current-row\":\"\",\"default-sort\":{ prop: 'receivedDate', order: 'descending' },\"type\":\"selection\",\"reserve-selection\":\"true\",\"row-key\":\"id\",\"row-class-name\":_vm.getRowClass,\"stripe\":\"\"},on:{\"current-change\":_vm.handleCurrentChange,\"sort-change\":_vm.sort}},[_c('el-table-column',{attrs:{\"property\":\"receivedDate\",\"label\":\"Received\",\"width\":\"180\",\"sortable\":\"custom\",\"formatter\":_vm.formatDate}}),_c('el-table-column',{attrs:{\"property\":\"from\",\"label\":\"From\",\"width\":\"120\",\"sortable\":\"custom\"}}),_c('el-table-column',{attrs:{\"property\":\"to\",\"label\":\"To\",\"width\":\"120\",\"sortable\":\"custom\"}}),_c('el-table-column',{attrs:{\"property\":\"isRelayed\",\"label\":\"\",\"width\":\"28\",\"formatter\":_vm.cellValueRenderer},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.isRelayed)?_c('div',[_c('el-tooltip',{attrs:{\"effect\":\"light\",\"content\":\"Message has been relayed\",\"placement\":\"top-start\"}},[_c('span',[_c('i',{staticClass:\"fas fa-share-square\"})])])],1):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"property\":\"subject\",\"label\":\"Subject\",\"sortable\":\"custom\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.subject)+\" \"),(scope.row.attachmentCount)?_c('i',{staticClass:\"el-icon-paperclip\",attrs:{\"title\":scope.row.attachmentCount + ' attachments'}}):_vm._e()]}}])})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\nimport MessageSummary from './MessageSummary';\r\nimport Message from './Message';\r\nimport FileStreamResult from './FileStreamResult';\r\nimport MessageRelayOptions from './MessageRelayOptions';\r\nimport axios from \"axios\";\r\n\r\nexport default class MessagesController {\r\n \r\n constructor(){\r\n }\r\n \r\n \r\n \r\n // get: api/Messages?sortColumn=${encodeURIComponent(sortColumn)}&sortIsDescending=${sortIsDescending} \r\n public getSummaries_url(sortColumn: string, sortIsDescending: boolean): string {\r\n return `api/Messages?sortColumn=${encodeURIComponent(sortColumn)}&sortIsDescending=${sortIsDescending}`;\r\n }\r\n\r\n public async getSummaries(sortColumn: string, sortIsDescending: boolean): Promise {\r\n\r\n return (await axios.get(this.getSummaries_url(sortColumn, sortIsDescending), null || undefined)).data as MessageSummary[];\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)} \r\n public getMessage_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}`;\r\n }\r\n\r\n public async getMessage(id: string): Promise {\r\n\r\n return (await axios.get(this.getMessage_url(id), null || undefined)).data as Message;\r\n }\r\n \r\n // post: api/Messages/${encodeURIComponent(id)} \r\n public markMessageRead_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}`;\r\n }\r\n\r\n public async markMessageRead(id: string): Promise {\r\n\r\n return (await axios.post(this.markMessageRead_url(id), null || undefined)).data as void;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/download \r\n public downloadMessage_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/download`;\r\n }\r\n\r\n public async downloadMessage(id: string): Promise {\r\n\r\n return (await axios.get(this.downloadMessage_url(id), null || undefined)).data as FileStreamResult;\r\n }\r\n \r\n // post: api/Messages/${encodeURIComponent(id)}/relay \r\n public relayMessage_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/relay`;\r\n }\r\n\r\n public async relayMessage(id: string, options: MessageRelayOptions): Promise {\r\n\r\n return (await axios.post(this.relayMessage_url(id), options || undefined)).data as void;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/content \r\n public getPartContent_url(id: string, partid: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/content`;\r\n }\r\n\r\n public async getPartContent(id: string, partid: string): Promise {\r\n\r\n return (await axios.get(this.getPartContent_url(id, partid), null || undefined)).data as FileStreamResult;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/source \r\n public getPartSource_url(id: string, partid: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/source`;\r\n }\r\n\r\n public async getPartSource(id: string, partid: string): Promise {\r\n\r\n return (await axios.get(this.getPartSource_url(id, partid), null || undefined)).data as string;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/raw \r\n public getPartSourceRaw_url(id: string, partid: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/raw`;\r\n }\r\n\r\n public async getPartSourceRaw(id: string, partid: string): Promise {\r\n\r\n return (await axios.get(this.getPartSourceRaw_url(id, partid), null || undefined)).data as string;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/raw \r\n public getMessageSourceRaw_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/raw`;\r\n }\r\n\r\n public async getMessageSourceRaw(id: string): Promise {\r\n\r\n return (await axios.get(this.getMessageSourceRaw_url(id), null || undefined)).data as string;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/source \r\n public getMessageSource_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/source`;\r\n }\r\n\r\n public async getMessageSource(id: string): Promise {\r\n\r\n return (await axios.get(this.getMessageSource_url(id), null || undefined)).data as string;\r\n }\r\n \r\n // get: api/Messages/${encodeURIComponent(id)}/html \r\n public getMessageHtml_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}/html`;\r\n }\r\n\r\n public async getMessageHtml(id: string): Promise {\r\n\r\n return (await axios.get(this.getMessageHtml_url(id), null || undefined)).data as string;\r\n }\r\n \r\n // delete: api/Messages/${encodeURIComponent(id)} \r\n public delete_url(id: string): string {\r\n return `api/Messages/${encodeURIComponent(id)}`;\r\n }\r\n\r\n public async delete(id: string): Promise {\r\n\r\n return (await axios.delete(this.delete_url(id), null || undefined)).data as void;\r\n }\r\n \r\n // delete: api/Messages/* \r\n public deleteAll_url(): string {\r\n return `api/Messages/*`;\r\n }\r\n\r\n public async deleteAll(): Promise {\r\n\r\n return (await axios.delete(this.deleteAll_url(), null || undefined)).data as void;\r\n }\r\n}","export default function sortedArraySync(source: any[], target: any[], comparer: (a:any, b:any) => boolean, updater: ((a:any, b:any) => void)|null = null) : void {\r\n\r\n if (updater) {\r\n for (const sourceItem of source) {\r\n const targetItem = target.find(i => comparer(i, sourceItem));\r\n if (targetItem) {\r\n updater(sourceItem, targetItem);\r\n }\r\n }\r\n }\r\n\r\n for (const deleted of target.filter(m => source.findIndex(v => comparer(m, v)) === -1)) {\r\n target.splice(target.findIndex(m => comparer(m, deleted)), 1);\r\n }\r\n\r\n for (const added of source.filter(m => target.findIndex(v => comparer(m, v)) === -1)) {\r\n target.splice(source.findIndex(m => comparer(m, added)), 0, added);\r\n }\r\n\r\n}","import MessageSummary from \"./ApiClient/MessageSummary\";\r\nimport { debounce } from 'ts-debounce';\r\n\r\nexport default class MessageNotificationManager {\r\n constructor(onClick: (message: MessageSummary) => void) {\r\n if (Notification.permission == \"default\") {\r\n Notification.requestPermission();\r\n }\r\n this.onClick = onClick;\r\n }\r\n\r\n private lastNotifiedMessage: MessageSummary | null = null;\r\n private onClick: (message: MessageSummary) => void;\r\n private visibleNotificationCloseTimeout: any | null = null;\r\n private currentNotification: Notification | null = null;\r\n\r\n setInitialMessages(messages: MessageSummary[]) {\r\n const messagesByDate = this.sortMessages(messages);\r\n this.lastNotifiedMessage = messagesByDate[messagesByDate.length - 1];\r\n }\r\n\r\n notifyMessages(messages: MessageSummary[]) {\r\n\r\n this.updateNotificationsDebounced(messages);\r\n }\r\n\r\n private updateNotificationsDebounced = debounce(this.updateNotifications, 500);\r\n\r\n private updateNotifications(messages: MessageSummary[]) {\r\n //Sort by something stable. Multiple messages may be received at same instant so use id as secondary\r\n const messagesByDate = this.sortMessages(messages);\r\n let unnotifiedMessages: MessageSummary[];\r\n if (!this.lastNotifiedMessage) {\r\n unnotifiedMessages = messagesByDate;\r\n }\r\n else {\r\n const indexOfLastNotifiedMessage = messagesByDate.indexOf(this.lastNotifiedMessage);\r\n if (indexOfLastNotifiedMessage != -1) {\r\n unnotifiedMessages = messagesByDate.slice(indexOfLastNotifiedMessage + 1);\r\n }\r\n else {\r\n unnotifiedMessages = messagesByDate;\r\n }\r\n }\r\n if (unnotifiedMessages.length) {\r\n\r\n unnotifiedMessages.reverse();\r\n\r\n if (Notification.permission != \"granted\") {\r\n //Ensure that if notification permission is granted later on, existing messages are treated as already notified.\r\n this.lastNotifiedMessage = unnotifiedMessages[0];\r\n }\r\n else {\r\n if (this.visibleNotificationCloseTimeout) {\r\n clearTimeout(this.visibleNotificationCloseTimeout);\r\n }\r\n\r\n const notification = this.currentNotification = new Notification(\"smtp4dev: \" + unnotifiedMessages.length + \" new message(s) received.\", {\r\n body: unnotifiedMessages.slice(0, 5).map(m => \"From: \" + m.from + \" - \" + m.subject).join(\"\\n\") + (unnotifiedMessages.length > 5 ? \"...\" : \"\"),\r\n tag: \"newmessages\",\r\n renotify: true,\r\n silent: (!!this.currentNotification),\r\n requireInteraction: false\r\n });\r\n notification.onclick = () => {\r\n this.onClick(unnotifiedMessages[0]);\r\n };\r\n notification.onclose = () => {\r\n if (notification === this.currentNotification) {\r\n this.currentNotification = null;\r\n this.lastNotifiedMessage = unnotifiedMessages[0];\r\n }\r\n };\r\n this.visibleNotificationCloseTimeout = setTimeout(() => {\r\n if (notification === this.currentNotification) {\r\n this.currentNotification.close();\r\n }\r\n }, 10000);\r\n }\r\n }\r\n }\r\n\r\n private sortMessages(messages: MessageSummary[]) {\r\n const messagesByDate = messages.slice(0, messages.length);\r\n messagesByDate.sort((m1, m2) => {\r\n if (m1.receivedDate == m2.receivedDate) {\r\n if (m1.id > m2.id) {\r\n return 1;\r\n }\r\n else {\r\n return -1;\r\n }\r\n }\r\n else if (m1.receivedDate > m2.receivedDate) {\r\n return 1;\r\n }\r\n else {\r\n return -1;\r\n }\r\n });\r\n return messagesByDate;\r\n }\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-popover',{attrs:{\"placement\":\"bottom\",\"width\":\"160\",\"trigger\":\"manual\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('p',[_vm._v(_vm._s(_vm.message))]),_c('div',{staticStyle:{\"text-align\":\"right\",\"margin\":\"0\"}},[_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(\"cancel\")]),(_vm.alwaysIsAvailable())?_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){return _vm.confirm(true)}}},[_vm._v(\"always\")]):_vm._e(),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.confirm(false)}}},[_vm._v(\"confirm\")])],1),_vm._t(\"default\",null,{\"slot\":\"reference\"})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from 'vue-property-decorator';\nimport Vue from 'vue'\n\n@Component\nexport default class ConfirmationDialog extends Vue {\n constructor() {\n super();\n }\n\n mounted() {\n if (this.$slots.default && this.$slots.default.length > 0 && this.$slots.default[0].componentInstance) {\n this.$slots.default[0].componentInstance.$on(\"click\", this.getConfirmation);\n\n //Get rid of the intermediate which breaks styling;\n if (this.$el.parentElement) {\n var parent = this.$el.parentElement;\n parent.insertBefore(this.$slots.default[0].componentInstance.$el, this.$el)\n parent.removeChild(this.$el);\n }\n }\n }\n\n @Prop({ default: \"\" })\n message!: string;\n\n @Prop({ default: undefined })\n alwaysKey: string | undefined;\n\n visible: boolean = false;\n\n\n alwaysIsAvailable() {\n return this.alwaysKey && window.localStorage;\n }\n\n cancel() {\n this.visible = false;\n }\n\n confirm(always: boolean) {\n\n if (always) {\n window.localStorage.setItem(\"always-\" + this.alwaysKey, \"true\");\n }\n\n this.visible = false;\n this.$emit(\"confirm\");\n }\n\n private checkReferenceVisible() {\n if (this.visible) {\n\n if (this.$slots.default && this.$slots.default.length > 0 && this.$slots.default[0].componentInstance) {\n if ((!this.$slots.default[0].componentInstance.$el).offsetParent) {\n this.visible = false;\n }\n }\n\n setTimeout(this.checkReferenceVisible, 100);\n }\n }\n\n private getConfirmation() {\n\n\n if (this.alwaysIsAvailable() && window.localStorage.getItem(\"always-\" + this.alwaysKey) === \"true\") {\n this.confirm(false);\n } else {\n this.visible = true;\n setTimeout(this.checkReferenceVisible, 100);\n }\n }\n\n\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationdialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmationdialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./confirmationdialog.vue?vue&type=template&id=690bec40&\"\nimport script from \"./confirmationdialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./confirmationdialog.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\nimport Server from './Server';\r\nimport axios from \"axios\";\r\n\r\nexport default class ServerController {\r\n \r\n constructor(){\r\n }\r\n \r\n \r\n \r\n // get: api/Server \r\n public getServer_url(): string {\r\n return `api/Server`;\r\n }\r\n\r\n public async getServer(): Promise {\r\n\r\n return (await axios.get(this.getServer_url(), null || undefined)).data as Server;\r\n }\r\n \r\n // post: api/Server \r\n public updateServer_url(): string {\r\n return `api/Server`;\r\n }\r\n\r\n public async updateServer(serverUpdate: Server): Promise {\r\n\r\n return (await axios.post(this.updateServer_url(), serverUpdate || undefined)).data as void;\r\n }\r\n}","/**\r\n * Sort array of objects based on another array\r\n */\r\nexport function mapOrder(array: T[], order: unknown[], key: keyof T) {\r\n array.sort(function(a, b) {\r\n const A = a[key],\r\n B = b[key];\r\n\r\n if (order.indexOf(A) > order.indexOf(B)) {\r\n return 1;\r\n } else {\r\n return -1;\r\n }\r\n });\r\n\r\n return array;\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Watch, Prop } from \"vue-property-decorator\";\r\nimport Vue from \"vue\";\r\nimport { DefaultSortOptions, ElTable } from \"element-ui/types/table\";\r\nimport MessagesController from \"../ApiClient/MessagesController\";\r\nimport MessageSummary from \"../ApiClient/MessageSummary\";\r\nimport * as moment from \"moment\";\r\nimport HubConnectionManager from \"../HubConnectionManager\";\r\nimport sortedArraySync from \"../sortedArraySync\";\r\nimport { Mutex } from \"async-mutex\";\r\nimport MessageNotificationManager from \"../MessageNotificationManager\";\r\nimport { debounce } from \"ts-debounce\";\r\n\r\nimport ConfirmationDialog from \"@/components/confirmationdialog.vue\";\r\nimport { MessageBoxInputData } from \"element-ui/types/message-box\";\r\nimport ServerController from \"../ApiClient/ServerController\";\r\nimport { mapOrder } from \"@/components/utils/mapOrder\";\r\n\r\n@Component({\r\n components: {\r\n confirmationdialog: ConfirmationDialog,\r\n },\r\n})\r\nexport default class MessageList extends Vue {\r\n constructor() {\r\n super();\r\n }\r\n\r\n private selectedSortDescending: boolean = true;\r\n private selectedSortColumn: string = \"receivedDate\";\r\n\r\n @Prop({ default: null })\r\n connection: HubConnectionManager | null = null;\r\n\r\n messages: MessageSummary[] = [];\r\n filteredMessages: MessageSummary[] = [];\r\n\r\n isRelayInProgress: boolean = false;\r\n isRelayAvailable: boolean = false;\r\n\r\n emptyText: string = \"No messages\";\r\n error: Error | null = null;\r\n selectedmessage: MessageSummary | null = null;\r\n searchTerm: string = \"\";\r\n private loading: boolean = true;\r\n private messageNotificationManager = new MessageNotificationManager(\r\n (message) => {\r\n this.selectMessage(message);\r\n this.handleCurrentChange(message);\r\n }\r\n );\r\n\r\n selectMessage(message: MessageSummary) {\r\n (this.$refs.table).setCurrentRow(message);\r\n this.handleCurrentChange(message);\r\n }\r\n\r\n handleCurrentChange(message: MessageSummary | null) {\r\n this.selectedmessage = message;\r\n this.$emit(\"selected-message-changed\", message);\r\n }\r\n\r\n cellValueRenderer(\r\n row: { [x: string]: any },\r\n column: { property: string | number },\r\n cellValue: any,\r\n index: any\r\n ) {\r\n let value = cellValue;\r\n if (typeof row[column.property] === \"boolean\") {\r\n value = String(cellValue);\r\n }\r\n return value;\r\n }\r\n\r\n formatDate(row: number, column: number, cellValue: Date): string {\r\n return (moment)(cellValue).format(\"YYYY-MM-DD HH:mm:ss\");\r\n }\r\n\r\n getRowClass(event: { row: MessageSummary }): string {\r\n return event.row.isUnread ? \"unread\" : \"read\";\r\n }\r\n\r\n async relaySelected() {\r\n if (this.selectedmessage == null) {\r\n return;\r\n }\r\n\r\n var msg = this.selectedmessage;\r\n\r\n let emails: string[];\r\n\r\n try {\r\n let dialogResult = await this.$prompt(\r\n \"Email address(es) to relay to (separate multiple with ,)\",\r\n \"Relay Message\",\r\n {\r\n confirmButtonText: \"OK\",\r\n inputValue: this.selectedmessage.to,\r\n cancelButtonText: \"Cancel\",\r\n inputPattern: /[^, ]+(, *[^, ]+)*/,\r\n inputErrorMessage: \"Invalid email addresses\",\r\n }\r\n );\r\n\r\n emails = (dialogResult.value).split(\",\").map((e) => e.trim());\r\n } catch {\r\n return;\r\n }\r\n\r\n try {\r\n this.isRelayInProgress = true;\r\n await new MessagesController().relayMessage(this.selectedmessage.id, {\r\n overrideRecipientAddresses: emails,\r\n });\r\n\r\n this.$notify.success({\r\n title: \"Relay Message Success\",\r\n message: \"Completed OK\",\r\n });\r\n } catch (e) {\r\n var message = e.response?.data?.detail ?? e.sessage;\r\n\r\n this.$notify.error({ title: \"Relay Message Failed\", message: message });\r\n } finally {\r\n this.isRelayInProgress = false;\r\n }\r\n }\r\n\r\n async deleteSelected() {\r\n if (this.selectedmessage == null) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n\r\n let messageToDelete = this.selectedmessage;\r\n\r\n let nextIndex = this.filteredMessages.indexOf(messageToDelete) + 1;\r\n if (nextIndex < this.filteredMessages.length) {\r\n this.selectMessage(this.filteredMessages[nextIndex]);\r\n }\r\n\r\n try {\r\n await new MessagesController().delete(messageToDelete.id);\r\n await this.refresh();\r\n } catch (e) {\r\n this.$notify.error({\r\n title: \"Delete Message Failed\",\r\n message: e.message,\r\n });\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n async clear() {\r\n try {\r\n this.loading = true;\r\n await new MessagesController().deleteAll();\r\n await this.refresh();\r\n } catch (e) {\r\n this.$notify.error({\r\n title: \"Clear Messages Failed\",\r\n message: e.message,\r\n });\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n @Watch(\"searchTerm\")\r\n doSearch() {\r\n this.loading = true;\r\n this.debouncedUpdateFilteredMessages();\r\n }\r\n\r\n debouncedUpdateFilteredMessages = debounce(this.updateFilteredMessages, 200);\r\n\r\n updateFilteredMessages() {\r\n try {\r\n this.loading = true;\r\n if (this.searchTerm) {\r\n this.emptyText = \"No messages matching '\" + this.searchTerm + \"'\";\r\n } else {\r\n this.emptyText = \"No messages\";\r\n }\r\n\r\n sortedArraySync(\r\n this.messages.filter((m) => this.searchTermPredicate(m)),\r\n this.filteredMessages,\r\n (a: MessageSummary, b: MessageSummary) => a.id == b.id,\r\n (sourceItem: MessageSummary, targetItem: MessageSummary) => {\r\n targetItem.isUnread = sourceItem.isUnread;\r\n }\r\n );\r\n\r\n const sortedMessageIds = this.messages.map((m) => m.id);\r\n this.filteredMessages = mapOrder(\r\n this.filteredMessages,\r\n sortedMessageIds,\r\n \"id\"\r\n );\r\n\r\n if (\r\n !this.filteredMessages.some(\r\n (m) => this.selectedmessage != null && m.id == this.selectedmessage.id\r\n )\r\n ) {\r\n this.handleCurrentChange(null);\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n private searchTermPredicate(m: MessageSummary) {\r\n return (\r\n !this.searchTerm ||\r\n (m.subject\r\n ? m.subject.localeIndexOf(this.searchTerm, undefined, {\r\n sensitivity: \"base\",\r\n }) != -1\r\n : false) ||\r\n m.to.localeIndexOf(this.searchTerm, undefined, {\r\n sensitivity: \"base\",\r\n }) != -1 ||\r\n m.from.localeIndexOf(this.searchTerm, undefined, {\r\n sensitivity: \"base\",\r\n }) != -1\r\n );\r\n }\r\n\r\n private lastSort: string | null = null;\r\n private lastSortDescending: boolean = false;\r\n private mutex = new Mutex();\r\n\r\n initialLoadDone = false;\r\n\r\n async refresh(silent: boolean = false) {\r\n var unlock = await this.mutex.acquire();\r\n\r\n try {\r\n this.error = null;\r\n this.loading = !silent;\r\n\r\n //Copy in case they are mutated during the async load below\r\n let sortColumn = this.selectedSortColumn;\r\n let sortDescending = this.selectedSortDescending;\r\n\r\n let serverMessages = await new MessagesController().getSummaries(\r\n sortColumn,\r\n sortDescending\r\n );\r\n\r\n if (\r\n !this.lastSort ||\r\n this.lastSort != sortColumn ||\r\n this.lastSortDescending != sortDescending ||\r\n serverMessages.length == 0\r\n ) {\r\n this.messages.splice(0, this.messages.length, ...serverMessages);\r\n } else {\r\n sortedArraySync(\r\n serverMessages,\r\n this.messages,\r\n (a: MessageSummary, b: MessageSummary) => a.id == b.id,\r\n (sourceItem: MessageSummary, targetItem: MessageSummary) => {\r\n targetItem.isUnread = sourceItem.isUnread;\r\n targetItem.isRelayed = sourceItem.isRelayed;\r\n }\r\n );\r\n }\r\n\r\n if (this.initialLoadDone) {\r\n this.messageNotificationManager.notifyMessages(this.messages);\r\n } else {\r\n this.messageNotificationManager.setInitialMessages(this.messages);\r\n }\r\n\r\n this.updateFilteredMessages();\r\n\r\n this.initialLoadDone = true;\r\n this.lastSort = sortColumn;\r\n this.lastSortDescending = this.selectedSortDescending;\r\n\r\n this.isRelayAvailable = !!(await (\r\n await new ServerController().getServer()\r\n ).relayOptions.smtpServer);\r\n } catch (e) {\r\n this.error = e;\r\n } finally {\r\n this.loading = false;\r\n unlock();\r\n }\r\n }\r\n\r\n async sort(sortOptions: DefaultSortOptions) {\r\n let descending: boolean = true;\r\n if (sortOptions.order === \"ascending\") {\r\n descending = false;\r\n }\r\n\r\n if (\r\n this.selectedSortColumn != sortOptions.prop ||\r\n this.selectedSortDescending != descending\r\n ) {\r\n this.selectedSortColumn = sortOptions.prop || \"receivedDate\";\r\n this.selectedSortDescending = descending;\r\n\r\n await this.refresh();\r\n }\r\n }\r\n\r\n async mounted() {\r\n await this.refresh(false);\r\n }\r\n\r\n @Watch(\"connection\")\r\n async onConnectionChanged() {\r\n if (this.connection) {\r\n this.connection.on(\"messageschanged\", async () => {\r\n await this.refresh(true);\r\n });\r\n this.connection.on(\"serverchanged\", async () => {\r\n await this.refresh(true);\r\n });\r\n this.connection.addOnConnectedCallback(() => {\r\n this.refresh(true);\r\n });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagelist.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagelist.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messagelist.vue?vue&type=template&id=62acf8a2&\"\nimport script from \"./messagelist.vue?vue&type=script&lang=ts&\"\nexport * from \"./messagelist.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading.body\",value:(_vm.loading),expression:\"loading\",modifiers:{\"body\":true}}],staticClass:\"messageview fill vfillpanel\"},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.loadMessage}},[_vm._v(\"Retry\")])],1):_vm._e(),(_vm.messageSummary)?_c('div',{staticClass:\"hfillpanel fill\"},[_c('div',{staticClass:\"toolbar\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-download\"},on:{\"click\":_vm.download}},[_vm._v(\"Download\")]),_c('el-button',{attrs:{\"icon\":\"el-icon-d-arrow-right\",\"disabled\":!_vm.messageSummary || !_vm.isRelayAvailable,\"loading\":_vm.isRelayInProgress,\"title\":\"Relay\"},on:{\"click\":_vm.relay}},[_vm._v(\"Relay\")])],1),_c('div',{staticClass:\"pad\"},[_vm._l((_vm.warnings),function(warning){return _c('el-alert',{key:warning.details,attrs:{\"title\":'Warning: ' + warning.details,\"type\":\"warning\",\"show-icon\":\"\"}})}),_c('table',{staticClass:\"messageviewheader\"},[_c('tr',[_c('td',[_vm._v(\"From:\")]),_c('td',[(_vm.message)?_c('span',[_vm._v(_vm._s(_vm.message.from))]):_vm._e()])]),_c('tr',[_c('td',[_vm._v(\"To:\")]),_c('td',[(_vm.message)?_c('span',[_vm._v(_vm._s(_vm.message.to))]):_vm._e()])]),(_vm.message && _vm.message.cc)?_c('tr',[_c('td',[_vm._v(\"Cc:\")]),_c('td',[_vm._v(_vm._s(_vm.message.cc))])]):_vm._e(),(_vm.message && _vm.message.bcc)?_c('tr',[_c('td',[_vm._v(\"Bcc:\")]),_c('td',[_vm._v(_vm._s(_vm.message.bcc))])]):_vm._e(),_c('tr',[_c('td',[_vm._v(\"Subject:\")]),_c('td',[(_vm.message)?_c('span',[_vm._v(_vm._s(_vm.message.subject))]):_vm._e()])]),_c('tr',[_c('td',[_vm._v(\"Secure:\")]),_c('td',[(_vm.message)?_c('span',[_vm._v(_vm._s(_vm.message.secureConnection))]):_vm._e()])])]),(_vm.message && _vm.message.relayError)?_c('div',[_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\"Message relay error: \"+_vm._s(_vm.message.relayError))])],1):_vm._e(),(_vm.message && _vm.message.mimeParseError)?[_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\"Message parse error: \"+_vm._s(_vm.message.mimeParseError))])]:_vm._e()],2),_c('el-tabs',{staticClass:\"fill\",staticStyle:{\"height\":\"100%\",\"width\":\"100%\"},attrs:{\"value\":\"view\",\"type\":\"border-card\"}},[_c('el-tab-pane',{staticClass:\"hfillpanel\",attrs:{\"name\":\"view\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-view\"}),_vm._v(\" View \")]),_c('messageviewattachments',{attrs:{\"message\":_vm.message}}),_c('messageview-html',{staticClass:\"fill\",attrs:{\"message\":_vm.message}})],1),_c('el-tab-pane',{staticClass:\"hfillpanel\",attrs:{\"name\":\"headers\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-notebook-2\"}),_vm._v(\" Headers \")]),_c('headers',{staticClass:\"fill\",attrs:{\"headers\":_vm.headers}})],1),_c('el-tab-pane',{staticClass:\"hfillpanel\",attrs:{\"name\":\"parts\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-document-copy\"}),_vm._v(\" Parts \")]),(_vm.message)?_c('el-tree',{ref:\"partstree\",attrs:{\"data\":_vm.message.parts,\"props\":{label: 'name', children: 'childParts', disabled: false, isLeaf: _vm.isLeaf},\"highlight-current\":\"\",\"empty-message\":\"No parts\",\"accordion\":\"\",\"node-key\":\"id\",\"default-expanded-keys\":['0']},on:{\"node-click\":_vm.onPartSelection},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar node = ref.node;\nvar data = ref.data;\nreturn _c('span',{staticClass:\"custom-tree-node\"},[_c('i',{class:{'el-icon-document-copy': data.childParts.length, 'el-icon-document': data.childParts.length == 0 && !data.isAttachment, 'el-icon-paperclip': data.childParts.length == 0 && data.isAttachment}}),_vm._v(\" \"+_vm._s(node.label)+\" \")])}}],null,false,1581920248)}):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedPart),expression:\"selectedPart\"}],staticClass:\"fill vfillpanel\"},[_c('el-tabs',{staticClass:\"fill hfillpanel\",attrs:{\"value\":\"headers\",\"type\":\"border-card\"}},[_c('el-tab-pane',{staticClass:\"fill vfillpanel\",attrs:{\"label\":\"Headers\",\"name\":\"headers\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-notebook-2\"}),_vm._v(\" Headers \")]),_c('headers',{staticClass:\"fill\",attrs:{\"headers\":_vm.selectedPartHeaders}})],1),_c('el-tab-pane',{staticClass:\"fill vfillpanel\",attrs:{\"label\":\"Source\",\"name\":\"source\"}},[_c('messagepartsource',{staticClass:\"fill\",attrs:{\"messageEntitySummary\":_vm.selectedPart,\"type\":\"source\"}})],1),_c('el-tab-pane',{staticClass:\"fill vfillpanel\",attrs:{\"label\":\"Raw\",\"name\":\"raw\"}},[_c('messagepartsource',{staticClass:\"fill\",attrs:{\"messageEntitySummary\":_vm.selectedPart,\"type\":\"raw\"}})],1)],1)],1),(!_vm.selectedPart)?_c('div',{staticClass:\"fill vfillpanel\"},[_c('div',{staticClass:\"fill nodetails centrecontents\"},[_c('div',[_vm._v(\"No part selected.\")])])]):_vm._e()],1),_c('el-tab-pane',{staticClass:\"fill vfillpanel\",attrs:{\"label\":\"Source\",\"name\":\"source\"}},[_c('messagesource',{staticClass:\"fill\",attrs:{\"message\":_vm.message,\"type\":\"source\"}})],1)],1)],1):_vm._e(),(!_vm.messageSummary)?_c('div',{staticClass:\"fill nodetails centrecontents\"},[_c('div',[_vm._v(\"No message selected.\")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.headers),expression:\"headers\"}],staticClass:\"headers\"},[_c('el-table',{staticClass:\"table fill\",attrs:{\"data\":_vm.headers,\"empty-text\":\"No headers\",\"default-sort\":{prop: 'name', order: 'ascending'},\"stripe\":\"\"}},[_c('el-table-column',{attrs:{\"property\":\"name\",\"label\":\"Name\",\"width\":\"150\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"value\",\"label\":\"Value\",\"sortable\":\"\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Prop, Watch } from 'vue-property-decorator';\nimport Vue from 'vue'\nimport Header from \"../ApiClient/Header\";\n\n@Component\nexport default class Headers extends Vue {\n constructor() {\n super(); \n }\n\n @Prop({ default: [] })\n headers!: Header[];\n\n async destroyed() {\n \n }\n\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./headers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./headers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./headers.vue?vue&type=template&id=fc917b5a&\"\nimport script from \"./headers.vue?vue&type=script&lang=ts&\"\nexport * from \"./headers.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(!_vm.html),expression:\"!html\"}],staticClass:\"hfillpanel\"},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.loadMessage}},[_vm._v(\"Retry\")])],1):_vm._e(),_c('iframe',{ref:\"htmlframe\",staticClass:\"fill\",on:{\"load\":_vm.onHtmlFrameLoaded}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch } from 'vue-property-decorator'\nimport Vue from 'vue'\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport Message from \"../ApiClient/Message\";\nimport * as srcDoc from 'srcdoc-polyfill';\n\n@Component\nexport default class MessageViewHtml extends Vue {\n constructor() {\n super();\n }\n\n @Prop({ default: null })\n message: Message | null = null;\n html: string | null = null;\n\n\n error: Error | null = null;\n loading = false;\n\n @Watch(\"message\")\n async onMessageChanged(value: Message | null, oldValue: Message | null) {\n\n await this.loadMessage();\n\n }\n\n @Watch(\"html\")\n async onHtmlChanged(value: string) {\n srcDoc.set(this.$refs.htmlframe, value);\n }\n\n async onHtmlFrameLoaded() {\n var doc = (this.$refs.htmlframe).contentDocument;\n if (!doc) {\n return;\n }\n\n var baseElement = doc.body.querySelector(\"base\") || doc.createElement(\"base\");\n baseElement.setAttribute(\"target\", \"_blank\");\n\n doc.body.appendChild(baseElement);\n }\n\n async loadMessage() {\n\n this.error = null;\n this.loading = true;\n this.html = null;\n\n try {\n if (this.message != null) {\n\n this.html = await new MessagesController().getMessageHtml(this.message.id);\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n }\n }\n\n async created() {\n\n this.loadMessage();\n }\n\n async destroyed() {\n\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageviewhtml.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageviewhtml.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messageviewhtml.vue?vue&type=template&id=0bef2bee&\"\nimport script from \"./messageviewhtml.vue?vue&type=script&lang=ts&\"\nexport * from \"./messageviewhtml.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.attachments),expression:\"attachments\"}],staticClass:\"vfillpanel pad\"},_vm._l((_vm.attachments),function(attachment){return _c('div',{key:attachment.id},[_c('el-button',{attrs:{\"icon\":\"el-icon-paperclip\",\"size\":\"small\",\"type\":\"primary\",\"round\":\"\"},on:{\"click\":function($event){return _vm.openAttachment(attachment)}}},[_vm._v(_vm._s(attachment.fileName))])],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n import { Component, Prop, Watch } from 'vue-property-decorator'\nimport Vue from 'vue'\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport Message from \"../ApiClient/Message\";\nimport AttachmentSummary from \"../ApiClient/AttachmentSummary\";\nimport MessageEntitySummary from \"../ApiClient/MessageEntitySummary\";\n\n@Component\nexport default class MessageViewAttachments extends Vue {\n constructor() {\n super();\n }\n\n @Prop({ default: null })\n message: Message | null = null;\n attachments: AttachmentSummary[] | null = null;\n\n\n @Watch(\"message\")\n async onMessageChanged(value: Message | null, oldValue: Message | null) {\n\n await this.setAttachments();\n }\n\n async setAttachments() {\n var result: AttachmentSummary[] = [];\n\n if (this.message != null) {\n\n var parts = this.message.parts\n this.getAttachments(parts, result);\n\n }\n this.attachments = result;\n }\n\n getAttachments(parts: MessageEntitySummary[], result: AttachmentSummary[]) {\n for (let part of parts) {\n for (let attachment of part.attachments) {\n result.push(attachment);\n }\n\n this.getAttachments(part.childParts, result);\n }\n }\n\n openAttachment(attachment: AttachmentSummary) {\n window.open(attachment.url);\n }\n\n async created() {\n\n await this.setAttachments();\n }\n\n async destroyed() {\n\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageviewattachments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageviewattachments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messageviewattachments.vue?vue&type=template&id=53af5e14&\"\nimport script from \"./messageviewattachments.vue?vue&type=script&lang=ts&\"\nexport * from \"./messageviewattachments.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"hfillpanel\"},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.loadMessage}},[_vm._v(\"Retry\")])],1):_vm._e(),_c('div',{staticClass:\"toolbar\"},[_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-document\"},on:{\"click\":_vm.download}},[_vm._v(\"Open\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.source),expression:\"source\"}],staticClass:\"vfillpanel fill\"},[_c('textview',{staticClass:\"fill\",attrs:{\"text\":_vm.source}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('aceeditor',{attrs:{\"lang\":\"text\",\"theme\":\"chrome\",\"width\":\"100%\",\"height\":\"100%\"},on:{\"init\":_vm.editorInit},model:{value:(_vm.textToShow),callback:function ($$v) {_vm.textToShow=$$v},expression:\"textToShow\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop } from 'vue-property-decorator';\nimport Vue from 'vue'\nimport AceEditor from 'vue2-ace-editor';\nimport { Editor } from 'brace';\n\n@Component({\n components: {\n aceeditor: AceEditor\n }\n}\n)\nexport default class TextView extends Vue {\n constructor() {\n super();\n }\n\n @Prop()\n text: string | null = null;\n\n editorInit(brace: Editor) {\n require('brace/ext/language_tools') //language extension prerequsite...\n require('brace/mode/text')\n require('brace/theme/chrome')\n require('brace/snippets/javascript') //snippet\n\n brace.setReadOnly(true);\n }\n\n get textToShow() {\n if (!this.text) {\n return \"\";\n }\n\n return this.text;\n }\n\n set textToShow(value: string) {\n //ignore\n }\n\n async destroyed() {\n\n }\n\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./textview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./textview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./textview.vue?vue&type=template&id=3a7b482c&\"\nimport script from \"./textview.vue?vue&type=script&lang=ts&\"\nexport * from \"./textview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Prop, Watch } from 'vue-property-decorator'\n import Vue from 'vue'\n import MessagesController from \"../ApiClient/MessagesController\";\n import MessageEntitySummary from \"../ApiClient/MessageEntitySummary\";\n import TextView from \"@/components/textview.vue\";\n\n @Component({\n components: {\n textview: TextView\n }\n })\nexport default class MessagePartSource extends Vue {\n constructor() {\n super();\n }\n\n @Prop()\n messageEntitySummary: MessageEntitySummary | null = null;\n\n source: string | null = null;\n sourceurl: string | null = null;\n error: Error | null = null;\n loading = false;\n\n @Prop({ default: \"source\" } )\n type!: \"source\" | \"raw\";\n\n @Watch(\"messageEntitySummary\")\n async onMessageEntitySummaryChanged(value: MessageEntitySummary, oldValue: MessageEntitySummary) {\n\n await this.loadMessage();\n\n }\n\n download() {\n if (this.sourceurl) {\n window.open(this.sourceurl);\n }\n }\n\n async loadMessage() {\n\n this.error = null;\n this.loading = true;\n this.source = null;\n this.sourceurl = null;\n\n try {\n if (this.messageEntitySummary != null) {\n if (this.type === \"raw\") {\n this.sourceurl = new MessagesController().getPartSourceRaw_url(this.messageEntitySummary.messageId, this.messageEntitySummary.id);\n this.source = await new MessagesController().getPartSourceRaw(this.messageEntitySummary.messageId, this.messageEntitySummary.id);\n\n } else {\n this.sourceurl = new MessagesController().getPartSource_url(this.messageEntitySummary.messageId, this.messageEntitySummary.id);\n this.source = await new MessagesController().getPartSource(this.messageEntitySummary.messageId, this.messageEntitySummary.id);\n\n }\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n }\n }\n\n async created() {\n this.loadMessage();\n }\n\n async destroyed() {\n\n }\n }\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagepartsource.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagepartsource.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messagepartsource.vue?vue&type=template&id=6e60cec4&\"\nimport script from \"./messagepartsource.vue?vue&type=script&lang=ts&\"\nexport * from \"./messagepartsource.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"hfillpanel\"},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.loadMessage}},[_vm._v(\"Retry\")])],1):_vm._e(),_c('div',{staticClass:\"toolbar\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.download}},[_vm._v(\"Open\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.source),expression:\"source\"}],staticClass:\"vfillpanel fill\"},[_c('textview',{staticClass:\"fill\",attrs:{\"text\":_vm.source}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch } from 'vue-property-decorator'\nimport Vue from 'vue'\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport Message from \"../ApiClient/Message\";\nimport TextView from \"@/components/textview.vue\";\n\n@Component({\n components: {\n textview: TextView\n }\n})\nexport default class MessagePartSource extends Vue {\n constructor() {\n super();\n }\n\n @Prop()\n message: Message | null = null;\n\n source: string | null = null;\n sourceurl: string | null = null;\n error: Error | null = null;\n loading = false;\n\n @Prop({ default: \"source\" })\n type!: \"source\" | \"raw\";\n\n @Watch(\"message\")\n async onMessageChanged(value: Message, oldValue: Message) {\n\n await this.loadMessage();\n\n }\n\n download() {\n if (this.sourceurl) {\n window.open(this.sourceurl);\n }\n }\n\n async loadMessage() {\n\n this.error = null;\n this.loading = true;\n this.source = null;\n this.sourceurl = null;\n\n try {\n if (this.message != null) {\n if (this.type === \"raw\") {\n this.sourceurl = new MessagesController().getMessageSourceRaw_url(this.message.id);\n this.source = await new MessagesController().getMessageSourceRaw(this.message.id);\n\n } else {\n this.sourceurl = new MessagesController().getMessageSource_url(this.message.id);\n this.source = await new MessagesController().getMessageSourceRaw(this.message.id);\n\n }\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n }\n }\n\n async created() {\n this.loadMessage();\n }\n\n async destroyed() {\n\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagesource.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messagesource.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messagesource.vue?vue&type=template&id=651a29f5&\"\nimport script from \"./messagesource.vue?vue&type=script&lang=ts&\"\nexport * from \"./messagesource.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport MessageSummary from \"../ApiClient/MessageSummary\";\nimport Message from \"../ApiClient/Message\";\nimport MessageEntitySummary from \"../ApiClient/MessageEntitySummary\";\nimport MessageWarning from \"../ApiClient/MessageWarning\";\nimport Headers from \"@/components/headers.vue\";\nimport MessageViewHtml from \"@/components/messageviewhtml.vue\";\nimport MessageviewAttachments from \"@/components/messageviewattachments.vue\";\nimport MessagePartsSource from \"@/components/messagepartsource.vue\";\nimport MessageSource from \"@/components/messagesource.vue\";\nimport { Tree } from \"element-ui\";\nimport { MessageBoxInputData } from 'element-ui/types/message-box';\nimport ServerController from '../ApiClient/ServerController';\n\n@Component({\n components: {\n headers: Headers,\n \"messageview-html\": MessageViewHtml,\n messageviewattachments: MessageviewAttachments,\n messagepartsource: MessagePartsSource,\n messagesource: MessageSource\n }\n})\nexport default class MessageView extends Vue {\n constructor() {\n super();\n }\n\n @Prop({})\n messageSummary: MessageSummary | null = null;\n message: Message | null = null;\n selectedPart: MessageEntitySummary | null = null;\n warnings: MessageWarning[] = [];\n\n error: Error | null = null;\n loading = false;\n\n\n isRelayInProgress: boolean = false;\n isRelayAvailable: boolean = false;\n\n @Watch(\"messageSummary\")\n async onMessageSummaryChange(\n value: MessageSummary | null,\n oldValue: MessageSummary | null\n ) {\n await this.loadMessage();\n }\n\n async loadMessage() {\n this.error = null;\n this.loading = true;\n this.message = null;\n this.selectedPart = null;\n\n try {\n if (this.messageSummary != null) {\n this.message = await new MessagesController().getMessage(\n this.messageSummary.id\n );\n if (this.$refs.partstree) {\n (this.$refs.partstree).setCurrentNode(\n (this.$refs.partstree).getNode(0)\n );\n }\n this.setWarnings();\n\n if (this.messageSummary.isUnread) {\n var currentMessageSummary = this.messageSummary;\n setTimeout(async () => {\n if (\n this.messageSummary != null &&\n currentMessageSummary.id == this.messageSummary.id\n ) {\n try {\n await new MessagesController().markMessageRead(\n this.messageSummary.id\n );\n } catch (e) {\n console.error(e);\n }\n }\n }, 2000);\n }\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n }\n }\n\n async setWarnings() {\n var result: MessageWarning[] = [];\n\n if (this.message != null) {\n var parts = this.message.parts;\n this.getWarnings(parts, result);\n }\n this.warnings = result;\n }\n\n getWarnings(parts: MessageEntitySummary[], result: MessageWarning[]) {\n for (let part of parts) {\n for (let warning of part.warnings) {\n result.push(warning);\n }\n\n this.getWarnings(part.childParts, result);\n }\n }\n\n isLeaf(value: MessageEntitySummary[] | MessageEntitySummary) {\n return (\n !(value as MessageEntitySummary[]).length &&\n !(value as MessageEntitySummary).childParts.length\n );\n }\n\n onPartSelection(part: MessageEntitySummary | null) {\n this.selectedPart = part;\n }\n\n async relay() {\n if (this.messageSummary == null) {\n return;\n }\n\n let emails: string[];\n\n try {\n\n let dialogResult = await this.$prompt('Email address(es) to relay to (separate multiple with ,)', 'Relay Message', {\n confirmButtonText: 'OK',\n inputValue: this.messageSummary.to,\n cancelButtonText: 'Cancel',\n inputPattern: /[^, ]+(, *[^, ]+)*/,\n inputErrorMessage: 'Invalid email addresses'\n });\n\n emails = (dialogResult.value).split(\",\").map(e => e.trim());\n } catch {\n return;\n }\n\n try {\n this.isRelayInProgress = true;\n await new MessagesController().relayMessage(this.messageSummary.id, { overrideRecipientAddresses: emails });\n\n this.$notify.success({ title: \"Relay Message Success\", message: \"Completed OK\" });\n } catch (e) {\n var message = e.response?.data?.detail ?? e.sessage;\n\n this.$notify.error({ title: \"Relay Message Failed\", message: message });\n } finally {\n this.isRelayInProgress = false;\n }\n }\n\n async download() {\n if (this.messageSummary == null) {\n return;\n }\n window.open(\n new MessagesController().downloadMessage_url(this.messageSummary.id)\n );\n }\n\n async mounted() {\n await this.loadMessage();\n this.isRelayAvailable = !!await (await new ServerController().getServer()).relayOptions.smtpServer;\n }\n\n async destroyed() { }\n\n get headers() {\n return this.message != null ? this.message.headers : [];\n }\n\n get selectedPartHeaders() {\n return this.selectedPart != null ? this.selectedPart.headers : [];\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./messageview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messageview.vue?vue&type=template&id=5aa9d35a&\"\nimport script from \"./messageview.vue?vue&type=script&lang=ts&\"\nexport * from \"./messageview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sessionlist\"},[_c('div',{staticClass:\"toolbar\"},[_c('confirmationdialog',{attrs:{\"always-key\":\"deleteAllSessions\",\"message\":\"Are you sure you want to delete all sessions?\"},on:{\"confirm\":_vm.clear}},[_c('el-button',{attrs:{\"icon\":\"el-icon-close\",\"title\":\"Clear\"}})],1),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"disabled\":!_vm.selectedsession,\"title\":\"Delete\"},on:{\"click\":_vm.deleteSelected}}),_c('el-button',{attrs:{\"icon\":\"el-icon-refresh\",\"disabled\":_vm.loading,\"title\":\"Refresh\"},on:{\"click\":_vm.refresh}})],1),(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\",\"title\":\"Error\",\"show-icon\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.refresh}},[_vm._v(\"Retry\")])],1):_vm._e(),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"table\",staticClass:\"table\",attrs:{\"data\":_vm.sessions,\"empty-text\":\"No sessions\",\"highlight-current-row\":\"\",\"default-sort\":{prop: 'endDate', order: 'descending'},\"type\":\"selection\",\"reserve-selection\":\"true\",\"row-key\":\"id\",\"stripe\":\"\"},on:{\"current-change\":_vm.handleCurrentChange}},[_c('el-table-column',{attrs:{\"property\":\"endDate\",\"label\":\"End Date\",\"width\":\"120\",\"sortable\":\"\",\"formatter\":_vm.formatDate}}),_c('el-table-column',{attrs:{\"property\":\"clientAddress\",\"label\":\"Client Address\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"property\":\"numberOfMessages\",\"label\":\"# Msgs\",\"width\":\"120\",\"sortable\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.terminatedWithError)?_c('i',{staticClass:\"el-icon-warning\",attrs:{\"title\":\"This session terminated abnormally\"}}):_vm._e(),_vm._v(\" \"+_vm._s(scope.row.numberOfMessages)+\" \")]}}])})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\nimport SessionSummary from './SessionSummary';\r\nimport Session from './Session';\r\nimport axios from \"axios\";\r\n\r\nexport default class SessionsController {\r\n \r\n constructor(){\r\n }\r\n \r\n \r\n \r\n // get: api/Sessions \r\n public getSummaries_url(): string {\r\n return `api/Sessions`;\r\n }\r\n\r\n public async getSummaries(): Promise {\r\n\r\n return (await axios.get(this.getSummaries_url(), null || undefined)).data as SessionSummary[];\r\n }\r\n \r\n // get: api/Sessions/${encodeURIComponent(id)} \r\n public getSession_url(id: string): string {\r\n return `api/Sessions/${encodeURIComponent(id)}`;\r\n }\r\n\r\n public async getSession(id: string): Promise {\r\n\r\n return (await axios.get(this.getSession_url(id), null || undefined)).data as Session;\r\n }\r\n \r\n // get: api/Sessions/${encodeURIComponent(id)}/log \r\n public getSessionLog_url(id: string): string {\r\n return `api/Sessions/${encodeURIComponent(id)}/log`;\r\n }\r\n\r\n public async getSessionLog(id: string): Promise {\r\n\r\n return (await axios.get(this.getSessionLog_url(id), null || undefined)).data as string;\r\n }\r\n \r\n // delete: api/Sessions/${encodeURIComponent(id)} \r\n public delete_url(id: string): string {\r\n return `api/Sessions/${encodeURIComponent(id)}`;\r\n }\r\n\r\n public async delete(id: string): Promise {\r\n\r\n return (await axios.delete(this.delete_url(id), null || undefined)).data as void;\r\n }\r\n \r\n // delete: api/Sessions/* \r\n public deleteAll_url(): string {\r\n return `api/Sessions/*`;\r\n }\r\n\r\n public async deleteAll(): Promise {\r\n\r\n return (await axios.delete(this.deleteAll_url(), null || undefined)).data as void;\r\n }\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport SessionsController from \"../ApiClient/SessionsController\";\nimport SessionSummary from \"../ApiClient/SessionSummary\";\nimport * as moment from \"moment\";\nimport HubConnectionManager from \"../HubConnectionManager\";\nimport sortedArraySync from \"../sortedArraySync\";\nimport { Mutex } from \"async-mutex\";\nimport ConfirmationDialog from \"@/components/confirmationdialog.vue\";\nimport { ElTable } from \"element-ui/types/table\";\n\n@Component({\n components: {\n confirmationdialog: ConfirmationDialog\n }\n})\nexport default class SessionList extends Vue {\n constructor() {\n super();\n }\n\n\n @Prop({default: null})\n connection: HubConnectionManager | null = null;\n\n sessions: SessionSummary[] = [];\n error: Error | null = null;\n selectedsession: SessionSummary | null = null;\n loading: boolean = true;\n private mutex = new Mutex();\n\n handleCurrentChange(session: SessionSummary | null): void {\n this.selectedsession = session;\n this.$emit(\"selected-session-changed\", session);\n }\n\n formatDate(\n row: number,\n column: number,\n cellValue: Date,\n index: number\n ): string {\n return (moment)(cellValue).format(\"YYYY-MM-DD HH:mm:ss\");\n }\n\n selectSession(session: SessionSummary) {\n (this.$refs.table).setCurrentRow(session);\n this.handleCurrentChange(session);\n }\n\n async deleteSelected() {\n if (this.selectedsession == null) {\n return;\n }\n\n this.loading = true;\n let sessionToDelete = this.selectedsession;\n\n let nextIndex = this.sessions.indexOf(sessionToDelete) - 1;\n if (nextIndex >= 0) {\n this.selectSession(this.sessions[nextIndex]);\n }\n\n try {\n await new SessionsController().delete(sessionToDelete.id);\n this.refresh();\n } catch (e) {\n this.$notify.error({ title: \"Delete Session Failed\", message: e.message });\n } finally {\n this.loading = false;\n }\n }\n\n async clear() {\n this.loading = true;\n try {\n await new SessionsController().deleteAll();\n this.refresh();\n } catch (e) {\n this.$notify.error({ title: \"Clear Sessions Failed\", message: e.message });\n } finally {\n this.loading = false;\n }\n }\n\n async refresh(silent: boolean=false) {\n var unlock = await this.mutex.acquire();\n\n try {\n this.error = null;\n this.loading = !silent;\n\n var newSessions = await new SessionsController().getSummaries();\n sortedArraySync(\n newSessions,\n this.sessions,\n (a: SessionSummary, b: SessionSummary) => a.id == b.id\n );\n\n if (\n !this.sessions.some(\n m => this.selectedsession != null && m.id == this.selectedsession.id\n )\n ) {\n this.handleCurrentChange(null);\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n unlock();\n }\n }\n\n async mounted() {\n this.refresh(false);\n }\n \n @Watch(\"connection\")\n async onConnectionChanged() {\n if (this.connection) {\n this.connection.on(\"sessionschanged\", () => {\n this.refresh(true);\n });\n this.connection.addOnConnectedCallback(() => this.refresh(true));\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionlist.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionlist.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./sessionlist.vue?vue&type=template&id=6eb691ea&\"\nimport script from \"./sessionlist.vue?vue&type=script&lang=ts&\"\nexport * from \"./sessionlist.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading.body\",value:(_vm.loading),expression:\"loading\",modifiers:{\"body\":true}}],staticClass:\"sessionview fill vfillpanel\"},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \"),_c('el-button',{on:{\"click\":_vm.loadMessage}},[_vm._v(\"Retry\")])],1):_vm._e(),(_vm.error)?_c('div',{staticClass:\"hfillpanel fill\"},[_vm._v(\" \")]):_vm._e(),(_vm.sessionSummary)?_c('div',{staticClass:\"hfillpanel fill\"},[(_vm.session && _vm.session.error)?_c('el-alert',{attrs:{\"type\":\"warning\",\"show-icon\":\"\",\"title\":\"This session terminated abnormally\"}},[_vm._v(_vm._s(_vm.session.error))]):_vm._e(),_c('el-tabs',{staticClass:\"fill\",staticStyle:{\"height\":\"100%\",\"width\":\"100%\"},attrs:{\"value\":\"log\",\"type\":\"border-card\"}},[_c('el-tab-pane',{staticClass:\"hfillpanel\",attrs:{\"name\":\"log\"}},[_c('span',{attrs:{\"slot\":\"label\"},slot:\"label\"},[_c('i',{staticClass:\"el-icon-notebook-2\"}),_vm._v(\" Log \")]),_c('div',{staticClass:\"toolbar\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.download}},[_vm._v(\"Open\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.log),expression:\"log\"}],staticClass:\"vfillpanel fill\"},[_c('textview',{staticClass:\"fill\",attrs:{\"text\":_vm.log}})],1)])],1)],1):_vm._e(),(!_vm.sessionSummary)?_c('div',{staticClass:\"fill nodetails centrecontents\"},[_c('div',[_vm._v(\"No session selected\")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\nimport Vue from \"vue\";\r\nimport SessionsController from \"../ApiClient/SessionsController\";\r\nimport SessionSummary from \"../ApiClient/SessionSummary\";\r\nimport Session from \"../ApiClient/Session\";\r\nimport TextView from \"@/components/textview.vue\";\r\n\r\n@Component({\r\n components: {\r\n textview: TextView\r\n }\r\n})\r\nexport default class SessionView extends Vue {\r\n constructor() {\r\n super();\r\n }\r\n\r\n @Prop({})\r\n sessionSummary: SessionSummary | null = null;\r\n session: Session | null = null;\r\n log: string | null = null;\r\n\r\n error: Error | null = null;\r\n loading = false;\r\n\r\n @Watch(\"sessionSummary\")\r\n async onMessageChanged(\r\n value: SessionSummary | null,\r\n oldValue: SessionSummary | null\r\n ) {\r\n await this.loadSession();\r\n }\r\n\r\n download() {\r\n if (this.sessionSummary) {\r\n window.open(\r\n new SessionsController().getSessionLog_url(this.sessionSummary.id)\r\n );\r\n }\r\n }\r\n\r\n async loadSession() {\r\n this.error = null;\r\n this.loading = true;\r\n this.session = null;\r\n this.log = null;\r\n\r\n try {\r\n if (this.sessionSummary != null) {\r\n this.session = await new SessionsController().getSession(\r\n this.sessionSummary.id\r\n );\r\n this.log = await new SessionsController().getSessionLog(\r\n this.sessionSummary.id\r\n );\r\n }\r\n } catch (e) {\r\n this.error = e;\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n\r\n async created() {}\r\n\r\n async destroyed() {}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./sessionview.vue?vue&type=template&id=37684ee1&\"\nimport script from \"./sessionview.vue?vue&type=script&lang=ts&\"\nexport * from \"./sessionview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\"Version: \"),_c('span',{domProps:{\"textContent\":_vm._s(_vm.version)}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axios from \"axios\";\r\nimport Info from \"./Info\";\r\n\r\nexport default class InfoController {\r\n constructor() {}\r\n\r\n public getInfo_url(): string {\r\n return `api/Info`;\r\n }\r\n\r\n public async getInfo(): Promise {\r\n return (await axios.get(this.getInfo_url(), null || undefined))\r\n .data as Info;\r\n }\r\n}\r\n","\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport Info from \"../ApiClient/Info\";\r\nimport InfoController from \"../ApiClient/InfoController\";\r\n\r\n@Component({})\r\nexport default class Version extends Vue {\r\n info: Info | null = null;\r\n\r\n async mounted() {\r\n this.info = await new InfoController().getInfo();\r\n }\r\n\r\n get version() {\r\n return this.info?.infoVersion ?? \"\";\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./versionInfo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./versionInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./versionInfo.vue?vue&type=template&id=2b45089e&\"\nimport script from \"./versionInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./versionInfo.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { HubConnection, HubConnectionBuilder, LogLevel } from '@aspnet/signalr';\r\n\r\nexport default class HubConnectionManager {\r\n\r\n private _connection: HubConnection;\r\n connected: boolean = false;\r\n private connectedCallbacks: (() => void)[] = [];\r\n started: boolean = false;\r\n error: Error|null = null;\r\n\r\n constructor(url: string) {\r\n this._connection = new HubConnectionBuilder().withUrl(url).configureLogging(LogLevel.Trace).build();\r\n this._connection.onclose(this.onConnectionClosed.bind(this));\r\n //this._connection.serverTimeoutInMilliseconds = 5000;\r\n }\r\n\r\n async addOnConnectedCallback(connectedCallback: () => void) {\r\n\r\n this.connectedCallbacks.push(connectedCallback);\r\n\r\n if (this.connected) {\r\n connectedCallback();\r\n }\r\n }\r\n\r\n async start() {\r\n\r\n if (this.started) {\r\n return;\r\n }\r\n\r\n this.error = null;\r\n this.started = true;\r\n try {\r\n await this._connection.start();\r\n this.connected = true;\r\n\r\n for (const connectedCallback of this.connectedCallbacks) {\r\n connectedCallback();\r\n }\r\n } catch (e) {\r\n this.error = e;\r\n }\r\n }\r\n\r\n async stop() {\r\n this.started = false;\r\n await this._connection.stop();\r\n }\r\n\r\n onConnectionClosed(e: Error|undefined) {\r\n this.connected = false;\r\n this.started = false;\r\n this.error = e || null;\r\n }\r\n\r\n\r\n on(eventName: string, handler: (...args: any[]) => void) {\r\n this._connection.on(eventName, handler);\r\n }\r\n\r\n\r\n\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}]},[(_vm.server && _vm.server.isRunning)?_c('el-button',{attrs:{\"icon\":\"el-icon-circle-check\",\"type\":\"text\"},on:{\"click\":_vm.stop}},[_vm._v(\" SMTP server listening on port \"+_vm._s(_vm.server.portNumber))]):_vm._e(),(_vm.server && !_vm.server.isRunning && !_vm.server.exception)?_c('el-button',{attrs:{\"icon\":\"el-icon-circle-close\",\"type\":\"danger\"},on:{\"click\":_vm.start}},[_vm._v(\" SMTP server stopped\")]):_vm._e(),(_vm.server && !_vm.server.isRunning && _vm.server.exception)?_c('el-button',{attrs:{\"icon\":\"el-icon-circle-close\",\"type\":\"danger\"},on:{\"click\":_vm.start}},[_vm._v(\" SMTP server error:\"),_c('br'),_vm._v(_vm._s(_vm.server.exception))]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\nimport HubConnectionManager from \"../HubConnectionManager\";\nimport { Mutex } from \"async-mutex\";\nimport ServerController from \"../ApiClient/ServerController\";\nimport Server from \"../ApiClient/Server\";\n\n@Component\nexport default class ServerStatus extends Vue {\n\n constructor() {\n super();\n }\n\n @Prop({ default: null })\n connection: HubConnectionManager | null = null;\n\n error: Error | null = null;\n private mutex = new Mutex();\n loading: boolean = true;\n server: Server | null = null;\n\n async refresh(silent: boolean=false) {\n var unlock = await this.mutex.acquire();\n\n try {\n this.error = null;\n this.loading = !silent;\n\n this.server = await new ServerController().getServer();\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n unlock();\n }\n }\n\n async stop() {\n let serverUpdate: Server = { ... this.server } as Server;\n serverUpdate.isRunning = false;\n\n await new ServerController().updateServer(serverUpdate);\n }\n\n async start() {\n let serverUpdate: Server = { ... this.server } as Server;\n serverUpdate.isRunning = true;\n await new ServerController().updateServer(serverUpdate);\n }\n\n async mounted() {\n await this.refresh();\n }\n\n @Watch(\"connection\")\n onConnectionChanged() {\n if (this.connection) {\n this.connection.on(\"serverchanged\", async () => {\n await this.refresh();\n });\n\n this.connection.addOnConnectedCallback(() => this.refresh());\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./serverstatus.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./serverstatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./serverstatus.vue?vue&type=template&id=2e19371e&\"\nimport script from \"./serverstatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./serverstatus.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":\"Settings\",\"visible\":_vm.visible,\"width\":\"80%\",\"close-on-click-modal\":false,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){_vm.visible=$event},\"open\":_vm.refresh}},[_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}]},[(_vm.error)?_c('el-alert',{attrs:{\"type\":\"error\",\"title\":\"Error\",\"show-icon\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.error.message)+\" \")]):_vm._e(),(_vm.server)?_c('el-form',{ref:\"form\",attrs:{\"model\":this,\"rules\":_vm.rules,\"disabled\":_vm.saving}},[_c('el-tabs',{attrs:{\"tab-position\":\"top\"}},[_c('el-tab-pane',{attrs:{\"label\":\"SMTP Server\"}},[_c('el-form-item',{attrs:{\"label\":\"Hostname\",\"prop\":\"server.hostName\"}},[_c('el-input',{model:{value:(_vm.server.hostName),callback:function ($$v) {_vm.$set(_vm.server, \"hostName\", $$v)},expression:\"server.hostName\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Port Number\",\"prop\":\"server.portNumber\"}},[_c('el-input-number',{attrs:{\"min\":1,\"max\":65535,\"controls-position\":\"right\"},model:{value:(_vm.server.portNumber),callback:function ($$v) {_vm.$set(_vm.server, \"portNumber\", $$v)},expression:\"server.portNumber\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Allow Remote Connections\",\"prop\":\"server.allowRemoteConnections\"}},[_c('el-switch',{model:{value:(_vm.server.allowRemoteConnections),callback:function ($$v) {_vm.$set(_vm.server, \"allowRemoteConnections\", $$v)},expression:\"server.allowRemoteConnections\"}})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"IMAP Server\"}},[_c('el-form-item',{attrs:{\"label\":\"Port Number\",\"prop\":\"server.imapPortNumber\"}},[_c('el-input-number',{attrs:{\"min\":1,\"max\":65535,\"controls-position\":\"right\"},model:{value:(_vm.server.imapPortNumber),callback:function ($$v) {_vm.$set(_vm.server, \"imapPortNumber\", $$v)},expression:\"server.imapPortNumber\"}})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"Limits\"}},[_c('el-form-item',{attrs:{\"label\":\"# of Messages to Keep\",\"prop\":\"server.numberOfMessagesToKeep\"}},[_c('el-input-number',{attrs:{\"min\":1,\"controls-position\":\"right\"},model:{value:(_vm.server.numberOfMessagesToKeep),callback:function ($$v) {_vm.$set(_vm.server, \"numberOfMessagesToKeep\", $$v)},expression:\"server.numberOfMessagesToKeep\"}})],1),_c('el-form-item',{attrs:{\"label\":\"# of Sessions to Keep\",\"prop\":\"server.numberOfSessionsToKeep\"}},[_c('el-input-number',{attrs:{\"min\":1,\"controls-position\":\"right\"},model:{value:(_vm.server.numberOfSessionsToKeep),callback:function ($$v) {_vm.$set(_vm.server, \"numberOfSessionsToKeep\", $$v)},expression:\"server.numberOfSessionsToKeep\"}})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"Message Relay\"}},[_c('el-form-item',{attrs:{\"label\":\"Message Relay Enabled\",\"prop\":\"isRelayEnabled\"}},[_c('el-switch',{model:{value:(_vm.isRelayEnabled),callback:function ($$v) {_vm.isRelayEnabled=$$v},expression:\"isRelayEnabled\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"SMTP server\",\"prop\":\"server.relayOptions.smtpServer\"}},[_c('el-input',{model:{value:(_vm.server.relayOptions.smtpServer),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"smtpServer\", $$v)},expression:\"server.relayOptions.smtpServer\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"SMTP port\",\"prop\":\"server.relayOptions.smtpPort\"}},[_c('el-input-number',{attrs:{\"min\":1,\"max\":65535,\"controls-position\":\"right\"},model:{value:(_vm.server.relayOptions.smtpPort),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"smtpPort\", $$v)},expression:\"server.relayOptions.smtpPort\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"Tls mode\",\"prop\":\"server.relayOptions.tlsMode\"}},[_c('el-select',{model:{value:(_vm.server.relayOptions.tlsMode),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"tlsMode\", $$v)},expression:\"server.relayOptions.tlsMode\"}},[_c('el-option',{key:\"None\",attrs:{\"label\":\"None\",\"value\":\"None\"}}),_c('el-option',{key:\"Auto\",attrs:{\"label\":\"Auto\",\"value\":\"Auto\"}}),_c('el-option',{key:\"SslOnConnect\",attrs:{\"label\":\"SslOnConnect\",\"value\":\"SslOnConnect\"}}),_c('el-option',{key:\"StartTls\",attrs:{\"label\":\"StartTls\",\"value\":\"StartTls\"}}),_c('el-option',{key:\"StartTlsWhenAvailable\",attrs:{\"label\":\"StartTlsWhenAvailable\",\"value\":\"StartTlsWhenAvailable\"}})],1)],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"Login\",\"prop\":\"server.relayOptions.login\"}},[_c('el-input',{model:{value:(_vm.server.relayOptions.login),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"login\", $$v)},expression:\"server.relayOptions.login\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"Password\",\"prop\":\"server.relayOptions.password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.server.relayOptions.password),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"password\", $$v)},expression:\"server.relayOptions.password\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"Sender Address - leave blank to use original sender\",\"prop\":\"server.relayOptions.senderAddress\"}},[_c('el-input',{model:{value:(_vm.server.relayOptions.senderAddress),callback:function ($$v) {_vm.$set(_vm.server.relayOptions, \"senderAddress\", $$v)},expression:\"server.relayOptions.senderAddress\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRelayEnabled),expression:\"isRelayEnabled\"}],attrs:{\"label\":\"Auto-Relay Recipients\",\"prop\":\"isRelayEnabled\"}},[_vm._l((_vm.server.relayOptions.automaticEmails),function(email,index){return _c('div',{key:index},[_c('el-form-item',{attrs:{\"prop\":'relayOptionsAutomaticEmails[' + index + '].value',\"rules\":{required: true, message: 'Required'}}},[_c('el-input',{model:{value:(_vm.server.relayOptions.automaticEmails[index]),callback:function ($$v) {_vm.$set(_vm.server.relayOptions.automaticEmails, index, $$v)},expression:\"server.relayOptions.automaticEmails[index]\"}},[_c('el-button',{attrs:{\"slot\":\"append\"},on:{\"click\":function($event){return _vm.server.relayOptions.automaticEmails.splice(index, 1)}},slot:\"append\"},[_vm._v(\"Remove\")])],1)],1)],1)}),_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.server.relayOptions.automaticEmails.push('')}}},[_vm._v(\"New Auto-Relay Recipient\")])],2)],1)],1)],1):_vm._e()],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"disabled\":_vm.saving,\"loading\":_vm.saving},on:{\"click\":_vm.save}},[_vm._v(\"Save\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Form } from 'element-ui'\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\nimport HubConnectionManager from \"../HubConnectionManager\";\nimport { Mutex } from \"async-mutex\";\nimport ServerController from \"../ApiClient/ServerController\";\nimport Server from \"../ApiClient/Server\";\n\n@Component\nexport default class SettingsDialog extends Vue {\n\n constructor() {\n super();\n }\n\n @Prop({ default: null })\n connection: HubConnectionManager | null = null;\n\n error: Error | null = null;\n private mutex = new Mutex();\n loading: boolean = true;\n saving: boolean = false;\n server: Server | null = null;\n\n get rules() {\n let result = {\n server: {\n hostName: [{ required: true, message: 'Hostname is required' }],\n portNumber: [{ required: true, message: 'Port number is required' }],\n numberOfMessagesToKeep: [{ required: true, message: '# of Messages to Keep is required' }],\n numberOfSessionsToKeep: [{ required: true, message: '# of Sessions to Keep is required' }],\n relayOptions: {\n smtpServer: [],\n smtpPort: []\n }\n }\n };\n\n if (this.isRelayEnabled) {\n result.server.relayOptions.smtpServer.push({ required: true, message: \"SMTP server is required if relaying enabled\" });\n result.server.relayOptions.smtpPort.push({ required: true, message: \"SMTP port is required if relaying enabled\" });\n }\n\n return result;\n\n }\n\n @Prop({ default: false })\n visible: boolean = false;\n\n handleClose() {\n this.$emit('closed');\n }\n\n\n private isRelayEnabledValue: boolean = false;\n get isRelayEnabled() {\n return this.isRelayEnabledValue;\n }\n\n set isRelayEnabled(value: boolean) {\n this.isRelayEnabledValue = value;\n if (!this.isRelayEnabledValue && this.server) {\n this.server.relayOptions.smtpServer = \"\";\n this.server.relayOptions.automaticEmails.splice(0, this.server.relayOptions.automaticEmails.length);\n }\n }\n \n relayOptionsAutomaticEmails: any[] = [];\n\n @Watch(\"server.relayOptions.automaticEmails\")\n updateAutomaticEmailsForValidation() {\n\n if (!this.server) {\n return;\n }\n\n this.relayOptionsAutomaticEmails = this.server.relayOptions.automaticEmails.map((v, i) => {\n return { value: v };\n });\n\n }\n\n async save() {\n this.saving = true;\n this.error = null;\n try {\n let valid = await (
this.$refs[\"form\"]).validate()\n\n if (valid) {\n\n await new ServerController().updateServer(this.server!);\n this.handleClose();\n }\n } catch (e) {\n this.error = e;\n } finally {\n this.saving = false;\n }\n }\n\n async refresh(silent: boolean = false) {\n var unlock = await this.mutex.acquire();\n\n try {\n this.error = null;\n this.loading = !silent;\n\n this.server = await new ServerController().getServer();\n this.isRelayEnabled = !!this.server.relayOptions.smtpServer;\n } catch (e) {\n this.error = e;\n } finally {\n this.loading = false;\n unlock();\n }\n }\n\n async mounted() {\n await this.refresh();\n }\n\n @Watch(\"connection\")\n onConnectionChanged() {\n if (this.connection) {\n this.connection.on(\"serverchanged\", async () => {\n await this.refresh();\n });\n\n this.connection.addOnConnectedCallback(() => this.refresh());\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./settingsdialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./settingsdialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./settingsdialog.vue?vue&type=template&id=b8994e3c&\"\nimport script from \"./settingsdialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./settingsdialog.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.connection || !_vm.connection.connected),expression:\"!connection || !connection.connected\"}],attrs:{\"size\":\"small\",\"type\":_vm.buttonType(),\"icon\":_vm.buttonIcon(),\"title\":_vm.buttonTitle()},on:{\"click\":_vm.buttonClick}},[_vm._v(_vm._s(_vm.buttonText()))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n import Vue from \"vue\";\n import { Component, Prop } from \"vue-property-decorator\";\n import HubConnectionManager from \"../HubConnectionManager\";\n\n @Component\n export default class HubConnectionStatus extends Vue {\n\n constructor() {\n super();\n }\n\n @Prop({ default: null })\n connection: HubConnectionManager | null = null;\n\n buttonType(): string {\n return this.connection && this.connection.connected ? \"success\" : this.connection && this.connection.started ? \"warning\" : \"danger\";\n }\n\n buttonText(): string {\nvar errorText = this.connection && this.connection.error ? \"\\nError: \" + this.connection.error.message : \"\";\n\n return (this.connection && this.connection.connected ? \"Auto refresh enabled\" : this.connection && this.connection.started ? \"Connecting...\" : \"Auto refresh disabled\") + errorText;\n }\n\n buttonTitle(): string {\n var errorText = this.connection && this.connection.error ? \"\\nError: \" + this.connection.error.message : \"\";\n\n return (this.connection && this.connection.connected ? \"Auto refresh enabled - Click to disconnect\" : this.connection && this.connection.started ? \"Auto refresh re-connecting...\" : \"Auto refresh disabled - click to enable\") + errorText;\n }\n\n buttonIcon(): string {\n return this.connection && this.connection.connected ? \"el-icon-success\" : this.connection && this.connection.started ? \"el-icon-warning\" : \"el-icon-warning\";\n }\n\n\n buttonClick = () => {\n if (this.connection) {\n\n if (!this.connection.started) {\n this.connection.start();\n } else {\n this.connection.stop();\n }\n }\n }\n\n async created() {\n\n }\n\n async destroyed() {\n\n }\n\n }\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./hubconnectionstatus.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./hubconnectionstatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./hubconnectionstatus.vue?vue&type=template&id=18010552&\"\nimport script from \"./hubconnectionstatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./hubconnectionstatus.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport MessageSummary from \"../../ApiClient/MessageSummary\";\nimport SessionSummary from \"../../ApiClient/SessionSummary\";\nimport MessageList from \"@/components/messagelist.vue\";\nimport MessageView from \"@/components/messageview.vue\";\nimport SessionList from \"@/components/sessionlist.vue\";\nimport SessionView from \"@/components/sessionview.vue\";\nimport VersionInfo from \"@/components/versionInfo.vue\";\nimport HubConnectionManager from \"@/HubConnectionManager\";\nimport ServerStatus from \"@/components/serverstatus.vue\";\nimport SettingsDialog from \"@/components/settingsdialog.vue\";\nimport HubConnectionStatus from \"@/components/hubconnectionstatus.vue\";\nimport { Splitpanes, Pane } from 'splitpanes';\nimport 'splitpanes/dist/splitpanes.css';\n\n@Component({\n components: {\n messagelist: MessageList,\n messageview: MessageView,\n sessionlist: SessionList,\n sessionview: SessionView,\n hubconnstatus: HubConnectionStatus,\n serverstatus: ServerStatus,\n settingsdialog: SettingsDialog,\n splitpanes: Splitpanes,\n pane: Pane,\n VersionInfo\n }\n})\nexport default class Home extends Vue {\n selectedMessage: MessageSummary | null = null;\n selectedSession: SessionSummary | null = null;\n\n connection: HubConnectionManager | null = null;\n\n settingsVisible: boolean = false;\n\n selectedMessageChanged(selectedMessage: MessageSummary | null) {\n this.selectedMessage = selectedMessage;\n }\n\n selectedSessionChanged(selectedSession: SessionSummary | null) {\n this.selectedSession = selectedSession;\n }\n\n get messageListPaneSize(): number {\n\n var storedValue = window.localStorage.getItem(\"messagelist-panelsize\");\n if (storedValue) {\n return Number(storedValue);\n }\n\n return 40;\n }\n\n set messageListPaneSize(value: number) {\n window.localStorage.setItem(\"messagelist-panelsize\", value.toString());\n }\n\n get sessionListPaneSize(): number {\n\n var storedValue = window.localStorage.getItem(\"sessionlist-panelsize\");\n if (storedValue) {\n return Number(storedValue);\n }\n\n return 40;\n }\n\n set sessionListPaneSize(value: number) {\n window.localStorage.setItem(\"sessionlist-panelsize\", value.toString());\n }\n\n constructor() {\n super();\n }\n\n async mounted() {\n this.connection = new HubConnectionManager(\"hubs/notifications\")\n this.connection.start();\n }\n\n destroyed() {\n if (this.connection) {\n this.connection.stop();\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=1b4a4f2e&\"\nimport script from \"./home.vue?vue&type=script&lang=ts&\"\nexport * from \"./home.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vfillpanel\",attrs:{\"id\":\"app-root\"}},[_c('transition',{attrs:{\"name\":\"slide-fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component } from \"vue-property-decorator\";\r\nimport '@fortawesome/fontawesome-free/css/all.css'\r\nimport '@fortawesome/fontawesome-free/js/all.js'\r\n\r\n@Component({})\r\nexport default class AppComponent extends Vue {}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./app.vue?vue&type=template&id=102bc1fe&\"\nimport script from \"./app.vue?vue&type=script&lang=ts&\"\nexport * from \"./app.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./app.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './css/site.css';\r\nimport Vue from 'vue';\r\nimport VueRouter from 'vue-router';\r\nimport Element from 'element-ui';\r\nimport axios from \"axios\";\r\nimport {prollyfill as localeIndexOfProllyfill } from \"locale-index-of\";\r\nimport Home from '@/components/home/home.vue';\r\nimport App from '@/components/app/app.vue';\r\n\r\nconst supportedBrowser = typeof (document.createElement(\"p\").style.flex) != \"undefined\" && Object.prototype.hasOwnProperty.call(window, \"Reflect\") && Object.prototype.hasOwnProperty.call(window, \"Promise\");\r\n\r\nif (!supportedBrowser) {\r\n\r\n (document.getElementById(\"loading\")).style.display = \"none\";\r\n (document.getElementById(\"oldbrowser\")).style.display = \"block\";\r\n\r\n} else {\r\n\r\n Vue.use(Element);\r\n Vue.use(VueRouter);\r\n\r\n const routes = [\r\n { path: '/', component: Home },\r\n ];\r\n\r\n const router = new VueRouter({\r\n base: location.pathname,\r\n mode: 'history',\r\n routes: routes\r\n })\r\n const app = new Vue({\r\n el: '#app-root',\r\n router: router,\r\n render: h => h(App)\r\n });\r\n\r\n\r\n\r\n axios.interceptors.response.use(response => {\r\n\r\n fixDates(response.data);\r\n return response;\r\n });\r\n\r\n localeIndexOfProllyfill();\r\n}\r\n\r\nconst dateRegex = /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*))(?:Z|(\\+|-)([\\d|:]*))?$/;\r\n\r\nfunction fixDates(data: any) {\r\n\r\n if (data instanceof Array) {\r\n for (const item of data) {\r\n fixDates(item)\r\n }\r\n } else {\r\n for (const property in data) {\r\n const value = data[property];\r\n\r\n if (typeof value === \"string\") {\r\n if (dateRegex.test(value)) {\r\n data[property] = new Date(value);\r\n }\r\n } else {\r\n fixDates(value);\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./app.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}