{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/home/home.vue?f73e","webpack:///./src/components/messagelist.vue?4d41","webpack:///./src/ApiClient/MessagesController.ts","webpack:///./src/sortedArraySync.ts","webpack:///./src/MessageNotificationManager.ts","webpack:///./src/components/confirmationdialog.vue?f4b2","webpack:///./src/components/confirmationdialog.vue","webpack:///./src/components/confirmationdialog.vue?8484","webpack:///./src/components/confirmationdialog.vue?1612","webpack:///./src/ApiClient/ServerController.ts","webpack:///./src/ApiClient/ClientController.ts","webpack:///./src/components/utils/mapOrder.ts","webpack:///./src/ApiClient/PagedResult.ts","webpack:///./src/components/messagelistpager.vue?5cce","webpack:///./src/components/messagelistpager.vue","webpack:///./src/components/messagelistpager.vue?8400","webpack:///./src/components/messagelistpager.vue?3e96","webpack:///./src/components/messagelist.vue","webpack:///./src/components/messagelist.vue?8c13","webpack:///./src/components/messagelist.vue?caf9","webpack:///./src/components/messageview.vue?66a9","webpack:///./src/components/headers.vue?9148","webpack:///./src/components/headers.vue","webpack:///./src/components/headers.vue?25a4","webpack:///./src/components/headers.vue?5089","webpack:///./src/components/messageviewhtml.vue?73ab","webpack:///./src/components/messageviewhtml.vue","webpack:///./src/components/messageviewhtml.vue?157b","webpack:///./src/components/messageviewhtml.vue?f7a8","webpack:///./src/components/messageviewattachments.vue?6346","webpack:///./src/components/messageviewattachments.vue","webpack:///./src/components/messageviewattachments.vue?928d","webpack:///./src/components/messageviewattachments.vue?3711","webpack:///./src/components/messagepartsource.vue?f51e","webpack:///./src/components/textview.vue?6376","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?e379","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?6695","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?bf22","webpack:///./src/components/sessionview.vue","webpack:///./src/components/sessionview.vue?a89d","webpack:///./src/components/sessionview.vue?1998","webpack:///./src/components/versionInfo.vue?f5f8","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?dba1","webpack:///./src/components/serverstatus.vue","webpack:///./src/components/serverstatus.vue?6bf6","webpack:///./src/components/serverstatus.vue?87c4","webpack:///./src/components/settingsdialog.vue?1753","webpack:///./src/components/settingsdialog.vue","webpack:///./src/components/settingsdialog.vue?6a7c","webpack:///./src/components/settingsdialog.vue?cb51","webpack:///./src/components/hubconnectionstatus.vue?b021","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?7ba7","webpack:///./src/components/app/app.vue","webpack:///./src/components/app/app.vue?9158","webpack:///./src/components/app/app.vue?0be5","webpack:///./src/icons.ts","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","connection","on","$event","settingsVisible","slot","_v","messageListPaneSize","size","selectedMessageChanged","selectedMessage","sessionListPaneSize","selectedSessionChanged","selectedSession","staticRenderFns","clear","selectedmessage","deleteSelected","loading","refresh","markAllMessageRead","isRelayAvailable","isRelayInProgress","relaySelected","model","callback","$$v","searchTerm","expression","_s","error","message","_e","directives","rawName","ref","filteredMessages","emptyText","prop","order","getRowClass","handleCurrentChange","sort","formatDate","cellValueRenderer","scopedSlots","_u","fn","scope","row","subject","attachmentCount","pagedServerMessages","handlePaginationCurrentChange","handlePaginationPageSizeChange","apiBaseUrl","sortColumn","sortIsDescending","page","pageSize","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","getClient_url","mapOrder","array","b","A","B","EmptyPagedResult","currentPage","firstRowOnPage","lastRowOnPage","pageCount","results","rowCount","totalItems","onCurrentPageChange","onPageSizeChange","_n","initPageSizeProps","oldValue","updatePagination","defaultPageSize","client","getClient","pagedData","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","getSummaries","isRelayed","notifyMessages","setInitialMessages","getServer","relayOptions","smtpServer","sortOptions","descending","async","addOnConnectedCallback","components","Messagelistpager","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","disableSanitization","onHtmlFrameLoaded","enableSanitization","sanitizedHtml","wasSanitized","updateIframe","allowedTags","defaults","concat","allowedSchemesByTag","normalizedOriginalHtml","allowedAttributes","htmlframe","doc","contentDocument","baseElement","querySelector","createElement","setAttribute","appendChild","disableMessageSanitisation","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","log","sessionSummary","loadSession","warn","getSession","getSessionLog","domProps","version","getInfo_url","info","getInfo","infoVersion","connected","connectedCallbacks","started","_connection","HubConnectionBuilder","withUrl","logMessageContent","configureLogging","Trace","build","onConnectionClosed","onreconnected","connectedCallback","start","stop","eventName","handler","server","isRunning","settingsAreEditable","portNumber","exception","showSettings","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","add","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,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY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K8C,OAAQ,YAAcjD,OAAOC,UAAUC,eAAeC,KAAK8C,OAAQ,WAEnM,GAAK8a,GAKE,CAEH,aAAII,IAAI,KACR,aAAIA,IAAI,QAER,MAAMC,EAAS,CACX,CAAEC,KAAM,IAAKzQ,UAAW,KAGtB0Q,EAAS,IAAI,OAAU,CACzBC,KAAMC,SAASC,SACfnc,KAAM,UACN8b,OAAQA,IAEA,IAAI,aAAI,CAChBM,GAAI,YACJJ,OAAQA,EACRxa,OAAQ6a,GAAKA,EAAE,MAGnB,EAAAvW,EAAMwW,aAAa/M,SAASsM,IAAItM,IAE5BgN,GAAShN,EAAStS,MACXsS,IAGX,sBA7BcmM,SAASc,eAAe,WAAYb,MAAMc,QAAU,OACpDf,SAASc,eAAe,cAAeb,MAAMc,QAAU,QA+BzE,MAAMC,GAAY,mFAElB,SAASH,GAAStf,GAEd,GAAIA,aAAgB0f,MAChB,IAAK,MAAMC,KAAQ3f,EACfsf,GAASK,QAGb,IAAK,MAAMpc,KAAYvD,EAAM,CACzB,MAAM6C,EAAQ7C,EAAKuD,GAEE,kBAAVV,EACH4c,GAAUG,KAAK/c,KACf7C,EAAKuD,GAAY,IAAIsc,KAAKhd,IAG9Byc,GAASzc,M,kCC/DzB,W","file":"js/app.0b83b6cd.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([4,\"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('hubconnstatus',{staticStyle:{\"float\":\"right\"},attrs:{\"connection\":_vm.connection}}),_c('serverstatus',{staticStyle:{\"float\":\"right\"},attrs:{\"connection\":_vm.connection},on:{\"showsettings\":function($event){_vm.settingsVisible = true}}})],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:{\"disabled\":_vm.loading,\"title\":\"Mark all as read\"},on:{\"click\":_vm.markAllMessageRead}},[_c('font-awesome-icon',{attrs:{\"icon\":['fa-regular','envelope-open']}})],1),_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\":\"160\",\"sortable\":\"custom\",\"formatter\":_vm.formatDate}}),_c('el-table-column',{attrs:{\"property\":\"from\",\"label\":\"From\",\"width\":\"140\",\"sortable\":\"custom\"}}),_c('el-table-column',{attrs:{\"property\":\"to\",\"label\":\"To\",\"width\":\"180\",\"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),_c('messagelistpager',{attrs:{\"paged-data\":_vm.pagedServerMessages},on:{\"on-current-page-change\":_vm.handlePaginationCurrentChange,\"on-page-size-change\":_vm.handlePaginationPageSizeChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\nimport MessageSummary from './MessageSummary';\nimport Message from './Message';\nimport FileStreamResult from './FileStreamResult';\nimport MessageRelayOptions from './MessageRelayOptions';\nimport axios from \"axios\";\nimport PagedResult from './PagedResult';\n\nexport default class MessagesController {\n \n constructor(){\n }\n \n private apiBaseUrl = `api/Messages`;\n\n public getSummaries_url(sortColumn: string, sortIsDescending: boolean, page: number = 1, pageSize: number = 25): string {\n return `${this.apiBaseUrl}?sortColumn=${encodeURIComponent(sortColumn)}&sortIsDescending=${sortIsDescending}&page=${page}&pageSize=${pageSize}`;\n }\n\n public async getSummaries(sortColumn: string, sortIsDescending: boolean, page: number = 1, pageSize: number = 25): Promise> {\n\n return (await axios.get(this.getSummaries_url(sortColumn, sortIsDescending, page,pageSize), null || undefined)).data as PagedResult;\n }\n \n // get: api/Messages/${encodeURIComponent(id)} \n public getMessage_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}`;\n }\n\n public async getMessage(id: string): Promise {\n\n return (await axios.get(this.getMessage_url(id), null || undefined)).data as Message;\n }\n \n // post: api/Messages/${encodeURIComponent(id)} \n public markMessageRead_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}`;\n }\n\n public async markMessageRead(id: string): Promise {\n\n return (await axios.post(this.markMessageRead_url(id), null || undefined)).data as void;\n }\n\n public async markAllMessageRead(): Promise {\n return await axios.post(`${this.apiBaseUrl}/markAllRead`);\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/download \n public downloadMessage_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/download`;\n }\n\n public async downloadMessage(id: string): Promise {\n\n return (await axios.get(this.downloadMessage_url(id), null || undefined)).data as FileStreamResult;\n }\n \n // post: api/Messages/${encodeURIComponent(id)}/relay \n public relayMessage_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/relay`;\n }\n\n public async relayMessage(id: string, options: MessageRelayOptions): Promise {\n\n return (await axios.post(this.relayMessage_url(id), options || undefined)).data as void;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/content \n public getPartContent_url(id: string, partid: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/content`;\n }\n\n public async getPartContent(id: string, partid: string): Promise {\n\n return (await axios.get(this.getPartContent_url(id, partid), null || undefined)).data as FileStreamResult;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/source \n public getPartSource_url(id: string, partid: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/source`;\n }\n\n public async getPartSource(id: string, partid: string): Promise {\n\n return (await axios.get(this.getPartSource_url(id, partid), null || undefined)).data as string;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/raw \n public getPartSourceRaw_url(id: string, partid: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/part/${encodeURIComponent(partid)}/raw`;\n }\n\n public async getPartSourceRaw(id: string, partid: string): Promise {\n\n return (await axios.get(this.getPartSourceRaw_url(id, partid), null || undefined)).data as string;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/raw \n public getMessageSourceRaw_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/raw`;\n }\n\n public async getMessageSourceRaw(id: string): Promise {\n\n return (await axios.get(this.getMessageSourceRaw_url(id), null || undefined)).data as string;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/source \n public getMessageSource_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/source`;\n }\n\n public async getMessageSource(id: string): Promise {\n\n return (await axios.get(this.getMessageSource_url(id), null || undefined)).data as string;\n }\n \n // get: api/Messages/${encodeURIComponent(id)}/html \n public getMessageHtml_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}/html`;\n }\n\n public async getMessageHtml(id: string): Promise {\n\n return (await axios.get(this.getMessageHtml_url(id), null || undefined)).data as string;\n }\n \n // delete: api/Messages/${encodeURIComponent(id)} \n public delete_url(id: string): string {\n return `${this.apiBaseUrl}/${encodeURIComponent(id)}`;\n }\n\n public async delete(id: string): Promise {\n\n return (await axios.delete(this.delete_url(id), null || undefined)).data as void;\n }\n \n // delete: api/Messages/* \n public deleteAll_url(): string {\n return `${this.apiBaseUrl}/*`;\n }\n\n public async deleteAll(): Promise {\n\n return (await axios.delete(this.deleteAll_url(), null || undefined)).data as void;\n }\n}","export default function sortedArraySync(source: any[], target: any[], comparer: (a:any, b:any) => boolean, updater: ((a:any, b:any) => void)|null = null) : void {\n\n if (updater) {\n for (const sourceItem of source) {\n const targetItem = target.find(i => comparer(i, sourceItem));\n if (targetItem) {\n updater(sourceItem, targetItem);\n }\n }\n }\n\n for (const deleted of target.filter(m => source.findIndex(v => comparer(m, v)) === -1)) {\n target.splice(target.findIndex(m => comparer(m, deleted)), 1);\n }\n\n for (const added of source.filter(m => target.findIndex(v => comparer(m, v)) === -1)) {\n target.splice(source.findIndex(m => comparer(m, added)), 0, added);\n }\n\n}","import MessageSummary from \"./ApiClient/MessageSummary\";\nimport { debounce } from 'ts-debounce';\n\nexport default class MessageNotificationManager {\n constructor(onClick: (message: MessageSummary) => void) {\n if (Notification.permission == \"default\") {\n Notification.requestPermission();\n }\n this.onClick = onClick;\n }\n\n private lastNotifiedMessage: MessageSummary | null = null;\n private onClick: (message: MessageSummary) => void;\n private visibleNotificationCloseTimeout: any | null = null;\n private currentNotification: Notification | null = null;\n\n setInitialMessages(messages: MessageSummary[]) {\n const messagesByDate = this.sortMessages(messages);\n this.lastNotifiedMessage = messagesByDate[messagesByDate.length - 1];\n }\n\n notifyMessages(messages: MessageSummary[]) {\n\n this.updateNotificationsDebounced(messages);\n }\n\n private updateNotificationsDebounced = debounce(this.updateNotifications, 500);\n\n private updateNotifications(messages: MessageSummary[]) {\n //Sort by something stable. Multiple messages may be received at same instant so use id as secondary\n const messagesByDate = this.sortMessages(messages);\n let unnotifiedMessages: MessageSummary[];\n if (!this.lastNotifiedMessage) {\n unnotifiedMessages = messagesByDate;\n }\n else {\n const indexOfLastNotifiedMessage = messagesByDate.indexOf(this.lastNotifiedMessage);\n if (indexOfLastNotifiedMessage != -1) {\n unnotifiedMessages = messagesByDate.slice(indexOfLastNotifiedMessage + 1);\n }\n else {\n unnotifiedMessages = messagesByDate;\n }\n }\n if (unnotifiedMessages.length) {\n\n unnotifiedMessages.reverse();\n\n if (Notification.permission != \"granted\") {\n //Ensure that if notification permission is granted later on, existing messages are treated as already notified.\n this.lastNotifiedMessage = unnotifiedMessages[0];\n }\n else {\n if (this.visibleNotificationCloseTimeout) {\n clearTimeout(this.visibleNotificationCloseTimeout);\n }\n\n const notification = this.currentNotification = new Notification(\"smtp4dev: \" + unnotifiedMessages.length + \" new message(s) received.\", {\n body: unnotifiedMessages.slice(0, 5).map(m => \"From: \" + m.from + \" - \" + m.subject).join(\"\\n\") + (unnotifiedMessages.length > 5 ? \"...\" : \"\"),\n tag: \"newmessages\",\n renotify: true,\n silent: (!!this.currentNotification),\n requireInteraction: false\n });\n notification.onclick = () => {\n this.onClick(unnotifiedMessages[0]);\n };\n notification.onclose = () => {\n if (notification === this.currentNotification) {\n this.currentNotification = null;\n this.lastNotifiedMessage = unnotifiedMessages[0];\n }\n };\n this.visibleNotificationCloseTimeout = setTimeout(() => {\n if (notification === this.currentNotification) {\n this.currentNotification.close();\n }\n }, 10000);\n }\n }\n }\n\n private sortMessages(messages: MessageSummary[]) {\n const messagesByDate = messages.slice(0, messages.length);\n messagesByDate.sort((m1, m2) => {\n if (m1.receivedDate == m2.receivedDate) {\n if (m1.id > m2.id) {\n return 1;\n }\n else {\n return -1;\n }\n }\n else if (m1.receivedDate > m2.receivedDate) {\n return 1;\n }\n else {\n return -1;\n }\n });\n return messagesByDate;\n }\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","\n\nimport Server from './Server';\nimport axios from \"axios\";\n\nexport default class ServerController {\n \n constructor(){\n }\n \n \n \n // get: api/Server \n public getServer_url(): string {\n return `api/Server`;\n }\n\n public async getServer(): Promise {\n\n return (await axios.get(this.getServer_url(), null || undefined)).data as Server;\n }\n \n // post: api/Server \n public updateServer_url(): string {\n return `api/Server`;\n }\n\n public async updateServer(serverUpdate: Server): Promise {\n\n return (await axios.post(this.updateServer_url(), serverUpdate || undefined)).data as void;\n }\n}","import Client from \"./Client\";\nimport axios from \"axios\";\n\nexport default class ClientController {\n constructor() {}\n\n public getClient_url(): string {\n return `api/client`;\n }\n\n public async getClient(): Promise {\n return (await axios.get(this.getClient_url())).data as Client;\n }\n}\n","/**\n * Sort array of objects based on another array\n */\nexport function mapOrder(array: T[], order: unknown[], key: keyof T) {\n array.sort(function(a, b) {\n const A = a[key],\n B = b[key];\n\n if (order.indexOf(A) > order.indexOf(B)) {\n return 1;\n } else {\n return -1;\n }\n });\n\n return array;\n}\n","export function EmptyPagedResult(): PagedResult {\n return {\n currentPage: 0,\n firstRowOnPage: 0,\n lastRowOnPage: 0,\n pageCount: 0,\n pageSize: 0,\n results: [],\n rowCount: 0,\n };\n}\n\nexport default class PagedResult {\n constructor(\n currentPage: number,\n firstRowOnPage: number,\n lastRowOnPage: number,\n pageCount: number,\n pageSize: number,\n rowCount: number,\n results: Array\n ) {\n this.currentPage = currentPage;\n this.firstRowOnPage = firstRowOnPage;\n this.lastRowOnPage = lastRowOnPage;\n this.pageCount = pageCount;\n this.pageSize = pageSize;\n this.rowCount = rowCount;\n this.results = results;\n }\n\n currentPage: number;\n firstRowOnPage: number;\n lastRowOnPage: number;\n pageCount: number;\n rowCount: number;\n pageSize: number;\n results: Array;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',[_c('el-col',{attrs:{\"span\":16}},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"prev, pager, next\",\"page-size\":_vm.pageSize,\"page-count\":_vm.pageCount,\"pager-count\":5,\"current-page\":_vm.page,\"total\":_vm.totalItems},on:{\"current-change\":_vm.onCurrentPageChange,\"size-change\":_vm.onPageSizeChange}})],1),_c('el-col',{attrs:{\"span\":4}},[_c('span',[_vm._v(\"Page size:\")])]),_c('el-col',{attrs:{\"span\":4}},[_c('el-input',{attrs:{\"placeholder\":\"Page size\",\"min\":\"1\",\"type\":\"number\",\"size\":\"small\"},on:{\"change\":_vm.onPageSizeChange},model:{value:(_vm.pageSize),callback:function ($$v) {_vm.pageSize=_vm._n($$v)},expression:\"pageSize\"}})],1)],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\nimport { Component, Emit, Prop, Watch } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport PagedResult from \"@/ApiClient/PagedResult\";\nimport ClientController from \"@/ApiClient/ClientController\";\n\n\n@Component({})\nexport default class MessageListPager extends Vue {\n constructor() {\n super();\n }\n\n page: number = 1;\n pageSize: number = 25;\n pageCount: number = 1;\n totalItems: number = 1;\n\n @Prop({})\n readonly pagedData: PagedResult | undefined;\n\n async created() {\n await this.initPageSizeProps();\n }\n\n @Watch(\"pagedData\")\n async onPagedDataChange(\n value: PagedResult | null,\n oldValue: PagedResult | null\n ) {\n if (value) {\n await this.updatePagination(value);\n }\n }\n\n @Emit()\n onCurrentPageChange(page: number) {\n this.page = page;\n return page;\n }\n\n @Emit()\n onPageSizeChange(pageSize: number) {\n if (pageSize < 1) this.pageSize = 1;\n return this.pageSize;\n }\n\n private async initPageSizeProps() {\n const defaultPageSize = 25;\n let client = await new ClientController().getClient();\n this.pageSize = client.pageSize || defaultPageSize;\n }\n\n updatePagination(pagedData: PagedResult): void {\n this.pageCount = pagedData.pageCount;\n this.totalItems = pagedData.rowCount;\n\n // reset to last page if we're beyond the last page.\n if (this.pageCount < pagedData.currentPage) {\n this.page = this.pageCount;\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!./messagelistpager.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!./messagelistpager.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./messagelistpager.vue?vue&type=template&id=8c847786&\"\nimport script from \"./messagelistpager.vue?vue&type=script&lang=ts&\"\nexport * from \"./messagelistpager.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\nimport { Component, Watch, Prop } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport { DefaultSortOptions, ElTable } from \"element-ui/types/table\";\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport MessageSummary from \"../ApiClient/MessageSummary\";\nimport * as moment from \"moment\";\nimport HubConnectionManager from \"../HubConnectionManager\";\nimport sortedArraySync from \"../sortedArraySync\";\nimport { Mutex } from \"async-mutex\";\nimport MessageNotificationManager from \"../MessageNotificationManager\";\nimport { debounce } from \"ts-debounce\";\n\nimport ConfirmationDialog from \"@/components/confirmationdialog.vue\";\nimport { MessageBoxInputData } from \"element-ui/types/message-box\";\nimport ServerController from \"../ApiClient/ServerController\";\nimport ClientController from \"../ApiClient/ClientController\";\n\nimport { mapOrder } from \"@/components/utils/mapOrder\";\nimport PagedResult, { EmptyPagedResult } from \"@/ApiClient/PagedResult\";\nimport Messagelistpager from \"@/components/messagelistpager.vue\";\n\n\n@Component({\n components: {\n Messagelistpager,\n confirmationdialog: ConfirmationDialog,\n },\n})\nexport default class MessageList extends Vue {\n constructor() {\n super();\n this.pagedServerMessages = EmptyPagedResult();\n }\n\n private selectedSortDescending: boolean = true;\n private selectedSortColumn: string = \"receivedDate\";\n\n page: number = 1;\n pageSize: number = 25;\n\n pagedServerMessages: PagedResult | undefined = undefined;\n\n @Prop({ default: null })\n connection: HubConnectionManager | null = null;\n\n messages: MessageSummary[] = [];\n filteredMessages: MessageSummary[] = [];\n\n isRelayInProgress: boolean = false;\n isRelayAvailable: boolean = false;\n\n emptyText: string = \"No messages\";\n error: Error | null = null;\n selectedmessage: MessageSummary | null = null;\n searchTerm: string = \"\";\n loading: boolean = true;\n\n private messageNotificationManager = new MessageNotificationManager(\n (message) => {\n this.selectMessage(message);\n this.handleCurrentChange(message);\n }\n );\n\n selectMessage(message: MessageSummary) {\n (this.$refs.table).setCurrentRow(message);\n this.handleCurrentChange(message);\n }\n\n handleCurrentChange(message: MessageSummary | null) {\n this.selectedmessage = message;\n this.$emit(\"selected-message-changed\", message);\n }\n\n async handlePaginationCurrentChange(page: number) {\n this.page = page;\n await this.refresh();\n }\n\n async handlePaginationPageSizeChange(pageSize: number) {\n this.pageSize = pageSize;\n await this.refresh();\n }\n\n cellValueRenderer(\n row: { [x: string]: any },\n column: { property: string | number },\n cellValue: any,\n index: any\n ) {\n let value = cellValue;\n if (typeof row[column.property] === \"boolean\") {\n value = String(cellValue);\n }\n return value;\n }\n\n formatDate(row: number, column: number, cellValue: Date): string {\n return (moment)(cellValue).format(\"YYYY-MM-DD HH:mm:ss\");\n }\n\n getRowClass(event: { row: MessageSummary }): string {\n return event.row.isUnread ? \"unread\" : \"read\";\n }\n\n async relaySelected() {\n if (this.selectedmessage == null) {\n return;\n }\n\n let emails: string[];\n\n try {\n let dialogResult = await this.$prompt(\n \"Email address(es) to relay to (separate multiple with ,)\",\n \"Relay Message\",\n {\n confirmButtonText: \"OK\",\n inputValue: this.selectedmessage.to,\n cancelButtonText: \"Cancel\",\n inputPattern: /[^, ]+(, *[^, ]+)*/,\n inputErrorMessage: \"Invalid email addresses\",\n }\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.selectedmessage.id, {\n overrideRecipientAddresses: emails,\n });\n\n this.$notify.success({\n title: \"Relay Message Success\",\n message: \"Completed OK\",\n });\n } catch (e: any) {\n const 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 deleteSelected() {\n if (this.selectedmessage == null) {\n return;\n }\n\n this.loading = true;\n\n let messageToDelete = this.selectedmessage;\n\n let nextIndex = this.filteredMessages.indexOf(messageToDelete) + 1;\n if (nextIndex < this.filteredMessages.length) {\n this.selectMessage(this.filteredMessages[nextIndex]);\n }\n\n try {\n await new MessagesController().delete(messageToDelete.id);\n await this.refresh();\n } catch (e: any) {\n this.$notify.error({\n title: \"Delete Message Failed\",\n message: e.message,\n });\n } finally {\n this.loading = false;\n }\n }\n\n async clear() {\n try {\n this.loading = true;\n await new MessagesController().deleteAll();\n await this.refresh();\n } catch (e: any) {\n this.$notify.error({\n title: \"Clear Messages Failed\",\n message: e.message,\n });\n } finally {\n this.loading = false;\n }\n }\n\n @Watch(\"searchTerm\")\n doSearch() {\n this.loading = true;\n this.debouncedUpdateFilteredMessages();\n }\n\n debouncedUpdateFilteredMessages = debounce(this.updateFilteredMessages, 200);\n\n updateFilteredMessages() {\n try {\n this.loading = true;\n if (this.searchTerm) {\n this.emptyText = \"No messages matching '\" + this.searchTerm + \"'\";\n } else {\n this.emptyText = \"No messages\";\n }\n\n sortedArraySync(\n this.messages.filter((m) => this.searchTermPredicate(m)),\n this.filteredMessages,\n (a: MessageSummary, b: MessageSummary) => a.id == b.id,\n (sourceItem: MessageSummary, targetItem: MessageSummary) => {\n targetItem.isUnread = sourceItem.isUnread;\n }\n );\n\n const sortedMessageIds = this.messages.map((m) => m.id);\n this.filteredMessages = mapOrder(\n this.filteredMessages,\n sortedMessageIds,\n \"id\"\n );\n\n if (\n !this.filteredMessages.some(\n (m) => this.selectedmessage != null && m.id == this.selectedmessage.id\n )\n ) {\n this.handleCurrentChange(null);\n }\n } finally {\n this.loading = false;\n }\n }\n\n private searchTermPredicate(m: MessageSummary) {\n return (\n !this.searchTerm ||\n (m.subject\n ? m.subject.localeIndexOf(this.searchTerm, undefined, {\n sensitivity: \"base\",\n }) != -1\n : false) ||\n m.to.localeIndexOf(this.searchTerm, undefined, {\n sensitivity: \"base\",\n }) != -1 ||\n m.from.localeIndexOf(this.searchTerm, undefined, {\n sensitivity: \"base\",\n }) != -1\n );\n }\n\n private lastSort: string | null = null;\n private lastSortDescending: boolean = false;\n private mutex = new Mutex();\n\n initialLoadDone = false;\n\n async markAllMessageRead() {\n await new MessagesController().markAllMessageRead();\n }\n\n async refresh(silent: boolean = false) {\n let unlock = await this.mutex.acquire();\n\n try {\n this.error = null;\n this.loading = !silent;\n\n // Copy in case they are mutated during the async load below\n let sortColumn = this.selectedSortColumn;\n let sortDescending = this.selectedSortDescending;\n\n this.pagedServerMessages = await new MessagesController().getSummaries(\n sortColumn,\n sortDescending,\n this.page,\n this.pageSize\n );\n\n if (\n !this.lastSort ||\n this.lastSort != sortColumn ||\n this.lastSortDescending != sortDescending ||\n this.pagedServerMessages.results.length == 0\n ) {\n this.messages.splice(\n 0,\n this.messages.length,\n ...this.pagedServerMessages.results\n );\n } else {\n sortedArraySync(\n this.pagedServerMessages.results,\n this.messages,\n (a: MessageSummary, b: MessageSummary) => a.id == b.id,\n (sourceItem: MessageSummary, targetItem: MessageSummary) => {\n targetItem.isUnread = sourceItem.isUnread;\n targetItem.isRelayed = sourceItem.isRelayed;\n }\n );\n }\n\n if (this.initialLoadDone) {\n this.messageNotificationManager.notifyMessages(this.messages);\n } else {\n this.messageNotificationManager.setInitialMessages(this.messages);\n }\n\n this.updateFilteredMessages();\n\n this.initialLoadDone = true;\n this.lastSort = sortColumn;\n this.lastSortDescending = this.selectedSortDescending;\n\n this.isRelayAvailable = !!(await new ServerController().getServer())\n .relayOptions.smtpServer;\n } catch (e: any) {\n this.error = e;\n } finally {\n this.loading = false;\n unlock();\n }\n }\n\n async sort(sortOptions: DefaultSortOptions) {\n let descending: boolean = true;\n if (sortOptions.order === \"ascending\") {\n descending = false;\n }\n\n if (\n this.selectedSortColumn != sortOptions.prop ||\n this.selectedSortDescending != descending\n ) {\n this.selectedSortColumn = sortOptions.prop || \"receivedDate\";\n this.selectedSortDescending = descending;\n\n await this.refresh();\n }\n }\n\n async mounted() {\n await this.refresh(false);\n }\n\n async created() {\n await this.initPageSizeProps();\n }\n\n private async initPageSizeProps() {\n const defaultPageSize = 25;\n let client = await new ClientController().getClient();\n this.pageSize = client.pageSize || defaultPageSize;\n }\n\n @Watch(\"connection\")\n async onConnectionChanged() {\n if (this.connection) {\n this.connection.on(\"messageschanged\", async () => {\n await this.refresh(true);\n });\n this.connection.on(\"serverchanged\", async () => {\n await this.refresh(true);\n });\n this.connection.addOnConnectedCallback(() => {\n this.refresh(true);\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!./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=77feff12&\"\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,3240493086)}):_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(),(_vm.wasSanitized)?_c('el-alert',{attrs:{\"type\":\"warning\"}},[_vm._v(\" Message HTML was sanizited for display. \"),_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\"},on:{\"click\":_vm.disableSanitization}},[_vm._v(\"Disable (DANGER!)\")])],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\n\n\n\nimport { Component, Prop, Watch } from 'vue-property-decorator'\nimport Vue from 'vue'\nimport MessagesController from \"../ApiClient/MessagesController\";\nimport ServerController from \"../ApiClient/ServerController\";\nimport Message from \"../ApiClient/Message\";\nimport * as srcDoc from 'srcdoc-polyfill';\nimport sanitizeHtml from 'sanitize-html';\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 enableSanitization = true;\n sanitizedHtml: string | null = null;\n wasSanitized: boolean = false;\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 this.updateIframe();\n }\n\n private updateIframe() {\n this.wasSanitized = false;\n this.sanitizedHtml = \"\";\n\n if (this.html) {\n if (!this.enableSanitization) {\n this.sanitizedHtml = this.html;\n } else {\n this.sanitizedHtml = sanitizeHtml(this.html, { allowedTags: sanitizeHtml.defaults.allowedTags.concat(\"img\"), allowedSchemesByTag: { \"img\": [\"cid\", \"data\"] } });\n let normalizedOriginalHtml = sanitizeHtml(this.html, { allowedAttributes: false, allowedTags: false });\n this.wasSanitized = normalizedOriginalHtml !== this.sanitizedHtml;\n }\n }\n\n srcDoc.set(this.$refs.htmlframe, this.sanitizedHtml);\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 this.wasSanitized = false;\n\n this.enableSanitization = !(await new ServerController().getServer()).disableMessageSanitisation;\n\n\n try {\n if (this.message != null) {\n\n this.html = await new MessagesController().getMessageHtml(this.message.id);\n }\n } catch (e: any) {\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 disableSanitization() {\n this.enableSanitization = false;\n this.updateIframe();\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=06865100&\"\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: any) {\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=3b31fd62&\"\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: any) {\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=c423345e&\"\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\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: any) {\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: any) {\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=22b07d9e&\"\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\":\"180\",\"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),_c('messagelistpager',{attrs:{\"paged-data\":_vm.pagedServerMessages},on:{\"on-current-page-change\":_vm.handlePaginationCurrentChange,\"on-page-size-change\":_vm.handlePaginationPageSizeChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import SessionSummary from \"./SessionSummary\";\nimport Session from \"./Session\";\nimport axios from \"axios\";\nimport PagedResult from \"./PagedResult\";\n\nexport default class SessionsController {\n constructor() {}\n\n // get: api/Sessions\n public getSummaries_url(page: number = 1, pageSize: number = 25): string {\n return `api/Sessions?page=${page}&pageSize=${pageSize}`;\n }\n\n public async getSummaries(\n page: number,\n pageSize: number\n ): Promise> {\n return (\n await axios.get(\n this.getSummaries_url(page, pageSize),\n null || undefined\n )\n ).data as PagedResult;\n }\n\n // get: api/Sessions/${encodeURIComponent(id)}\n public getSession_url(id: string): string {\n return `api/Sessions/${encodeURIComponent(id)}`;\n }\n\n public async getSession(id: string): Promise {\n return (await axios.get(this.getSession_url(id), null || undefined))\n .data as Session;\n }\n\n // get: api/Sessions/${encodeURIComponent(id)}/log\n public getSessionLog_url(id: string): string {\n return `api/Sessions/${encodeURIComponent(id)}/log`;\n }\n\n public async getSessionLog(id: string): Promise {\n return (await axios.get(this.getSessionLog_url(id), null || undefined))\n .data as string;\n }\n\n // delete: api/Sessions/${encodeURIComponent(id)}\n public delete_url(id: string): string {\n return `api/Sessions/${encodeURIComponent(id)}`;\n }\n\n public async delete(id: string): Promise {\n return (await axios.delete(this.delete_url(id), null || undefined))\n .data as void;\n }\n\n // delete: api/Sessions/*\n public deleteAll_url(): string {\n return `api/Sessions/*`;\n }\n\n public async deleteAll(): Promise {\n return (await axios.delete(this.deleteAll_url(), null || undefined))\n .data as void;\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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\";\nimport PagedResult, { EmptyPagedResult } from \"@/ApiClient/PagedResult\";\nimport Messagelistpager from \"@/components/messagelistpager.vue\";\nimport ClientController from \"@/ApiClient/ClientController\";\n\n@Component({\n components: {\n Messagelistpager,\n confirmationdialog: ConfirmationDialog,\n },\n})\nexport default class SessionList extends Vue {\n constructor() {\n super();\n this.pagedServerMessages = EmptyPagedResult();\n }\n\n page: number = 1;\n pageSize: number = 25;\n public pagedServerMessages: PagedResult|undefined = undefined;\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 async handlePaginationCurrentChange(page: number) {\n this.page = page;\n await this.refresh();\n }\n\n async handlePaginationPageSizeChange(pageSize: number) {\n this.pageSize = pageSize;\n await this.refresh();\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: any) {\n this.$notify.error({\n title: \"Delete Session Failed\",\n message: e.message,\n });\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: any) {\n this.$notify.error({\n title: \"Clear Sessions Failed\",\n message: e.message,\n });\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 this.pagedServerMessages = await new SessionsController().getSummaries( \n this.page,\n this.pageSize);\n sortedArraySync(\n this.pagedServerMessages.results,\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: any) {\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 async created() {\n await this.initPageSizeProps();\n }\n\n private async initPageSizeProps() {\n const defaultPageSize = 25;\n let client = await new ClientController().getClient();\n this.pageSize = client.pageSize || defaultPageSize;\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\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=4656ab39&\"\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\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport SessionsController from \"../ApiClient/SessionsController\";\nimport SessionSummary from \"../ApiClient/SessionSummary\";\nimport Session from \"../ApiClient/Session\";\nimport TextView from \"@/components/textview.vue\";\n\n@Component({\n components: {\n textview: TextView\n }\n})\nexport default class SessionView extends Vue {\n constructor() {\n super();\n }\n\n @Prop({})\n sessionSummary: SessionSummary | null = null;\n session: Session | null = null;\n log: string | null = null;\n\n error: Error | null = null;\n loading = false;\n\n @Watch(\"sessionSummary\")\n async onMessageChanged(\n value: SessionSummary | null,\n oldValue: SessionSummary | null\n ) {\n await this.loadSession();\n }\n \n async loadMessage() {\n console.warn('not implemented');\n }\n\n download() {\n if (this.sessionSummary) {\n window.open(\n new SessionsController().getSessionLog_url(this.sessionSummary.id)\n );\n }\n }\n\n async loadSession() {\n this.error = null;\n this.loading = true;\n this.session = null;\n this.log = null;\n\n try {\n if (this.sessionSummary != null) {\n this.session = await new SessionsController().getSession(\n this.sessionSummary.id\n );\n this.log = await new SessionsController().getSessionLog(\n this.sessionSummary.id\n );\n }\n } catch (e: any) {\n this.error = e;\n } finally {\n this.loading = false;\n }\n }\n\n async created() {}\n\n async destroyed() {}\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!./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=85b73ef2&\"\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\";\nimport Info from \"./Info\";\n\nexport default class InfoController {\n constructor() {}\n\n public getInfo_url(): string {\n return `api/Info`;\n }\n\n public async getInfo(): Promise {\n return (await axios.get(this.getInfo_url(), null || undefined))\n .data as Info;\n }\n}\n","\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport Info from \"../ApiClient/Info\";\nimport InfoController from \"../ApiClient/InfoController\";\n\n@Component({})\nexport default class Version extends Vue {\n info: Info | null = null;\n\n async mounted() {\n this.info = await new InfoController().getInfo();\n }\n\n get version() {\n return this.info?.infoVersion ?? \"\";\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!./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 '@microsoft/signalr';\n\nexport default class HubConnectionManager {\n\n private _connection: HubConnection;\n connected: boolean = false;\n private connectedCallbacks: (() => void)[] = [];\n started: boolean = false;\n error: Error|null = null;\n\n constructor(url: string) {\n this._connection = new HubConnectionBuilder().withUrl(url, { logMessageContent: true }).configureLogging(LogLevel.Trace).build();\n this._connection.onclose(this.onConnectionClosed.bind(this));\n this._connection.onreconnected(() => {\n for (const connectedCallback of this.connectedCallbacks) {\n connectedCallback();\n }\n });\n }\n\n async addOnConnectedCallback(connectedCallback: () => void) {\n\n this.connectedCallbacks.push(connectedCallback);\n\n if (this.connected) {\n connectedCallback();\n }\n }\n\n async start() {\n\n if (this.started) {\n return;\n }\n\n this.error = null;\n this.started = true;\n try {\n await this._connection.start();\n this.connected = true;\n\n for (const connectedCallback of this.connectedCallbacks) {\n connectedCallback();\n }\n } catch (e : any) {\n this.error = e;\n }\n }\n\n async stop() {\n this.started = false;\n await this._connection.stop();\n }\n\n onConnectionClosed(e: Error|undefined) {\n this.connected = false;\n this.started = false;\n this.error = e || null;\n }\n\n\n on(eventName: string, handler: (...args: any[]) => void) {\n this._connection.on(eventName, handler);\n }\n\n\n\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:{\"disabled\":!_vm.server || !_vm.server.settingsAreEditable,\"icon\":\"el-icon-circle-check\",\"type\":\"text\",\"title\":'Stop'+ ((!_vm.server || !_vm.server.settingsAreEditable) ? ' - Disabled by config' : '')},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:{\"disabled\":!_vm.server || !_vm.server.settingsAreEditable,\"icon\":\"el-icon-circle-close\",\"type\":\"danger\",\"title\":'Start'+ ((!_vm.server || !_vm.server.settingsAreEditable) ? ' - Disabled by config' : '')},on:{\"click\":_vm.start}},[_vm._v(\" SMTP server stopped\")]):_vm._e(),(_vm.server && !_vm.server.isRunning && _vm.server.exception)?_c('el-button',{attrs:{\"disabled\":!_vm.server || !_vm.server.settingsAreEditable,\"icon\":\"el-icon-circle-close\",\"type\":\"danger\",\"title\":'Start'+ ((!_vm.server || !_vm.server.settingsAreEditable) ? ' - Disabled by config' : '')},on:{\"click\":_vm.start}},[_vm._v(\" SMTP server error:\"),_c('br'),_vm._v(_vm._s(_vm.server.exception))]):_vm._e(),_c('el-button',{staticStyle:{\"float\":\"right\",\"font-size\":\"1.7em\",\"padding\":\"6px\",\"margin\":\"0 3px\"},attrs:{\"circle\":\"\",\"icon\":\"el-icon-setting\",\"title\":'Settings' + ((!_vm.server || !_vm.server.settingsAreEditable) ? ' - Disabled by config' : ''),\"disabled\":!_vm.server || !_vm.server.settingsAreEditable},on:{\"click\":_vm.showSettings}}),_vm._v(\"  \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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: any) {\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 showSettings() {\n this.$emit('showsettings');\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=22438990&\"\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),_c('el-tab-pane',{attrs:{\"label\":\"User Interface\"}},[_c('el-form-item',{attrs:{\"label\":\"Disable message sanitisation (DANGER!)\",\"prop\":\"server.disableMessageSanitisation\"}},[_c('el-switch',{model:{value:(_vm.server.disableMessageSanitisation),callback:function ($$v) {_vm.$set(_vm.server, \"disableMessageSanitisation\", $$v)},expression:\"server.disableMessageSanitisation\"}})],1)],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\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: any) {\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: any) {\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=e44b9fbc&\"\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\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=704d2f9e&\"\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\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport '@fortawesome/fontawesome-free/css/all.css'\nimport '@fortawesome/fontawesome-free/js/all.js'\n\n@Component({})\nexport default class AppComponent extends Vue {}\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 Vue from \"vue\";\nimport { library } from \"@fortawesome/fontawesome-svg-core\";\nimport { faEnvelopeOpen } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/vue-fontawesome\";\n\nlibrary.add(faEnvelopeOpen);\n\nVue.component(\"font-awesome-icon\", FontAwesomeIcon);\n","import './css/site.css';\nimport Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport Element from 'element-ui';\nimport axios from \"axios\";\nimport {prollyfill as localeIndexOfProllyfill } from \"locale-index-of\";\nimport Home from '@/components/home/home.vue';\nimport App from '@/components/app/app.vue';\nimport './icons';\n\nconst supportedBrowser = typeof (document.createElement(\"p\").style.flex) != \"undefined\" && Object.prototype.hasOwnProperty.call(window, \"Reflect\") && Object.prototype.hasOwnProperty.call(window, \"Promise\");\n\nif (!supportedBrowser) {\n\n (document.getElementById(\"loading\")).style.display = \"none\";\n (document.getElementById(\"oldbrowser\")).style.display = \"block\";\n\n} else {\n\n Vue.use(Element);\n Vue.use(VueRouter);\n\n const routes = [\n { path: '/', component: Home },\n ];\n\n const router = new VueRouter({\n base: location.pathname,\n mode: 'history',\n routes: routes\n })\n const app = new Vue({\n el: '#app-root',\n router: router,\n render: h => h(App)\n });\n\n axios.interceptors.response.use(response => {\n\n fixDates(response.data);\n return response;\n });\n\n localeIndexOfProllyfill();\n}\n\nconst dateRegex = /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*))(?:Z|(\\+|-)([\\d|:]*))?$/;\n\nfunction fixDates(data: any) {\n\n if (data instanceof Array) {\n for (const item of data) {\n fixDates(item)\n }\n } else {\n for (const property in data) {\n const value = data[property];\n\n if (typeof value === \"string\") {\n if (dateRegex.test(value)) {\n data[property] = new Date(value);\n }\n } else {\n fixDates(value);\n }\n }\n }\n}\n\n\n\n\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":""}