{"version":3,"sources":["webpack:///./src/components/Controls/Tabs/ScrollTab.vue?bf77","webpack:///./src/components/Integrations/IntegrationView.vue?99c7","webpack:///./src/components/Controls/Tabs/ScrollTabs.vue?cf46","webpack:///./src/components/Controls/Tabs/TabButton.vue?8c9a","webpack:///./src/components/Controls/Tabs/TabButton.vue?79e1","webpack:///./src/components/Controls/Tabs/TabButton.vue?41d0","webpack:///./src/components/Controls/Tabs/TabButton.vue","webpack:///./src/components/Controls/Tabs/ScrollTabs.vue?72f8","webpack:///./src/components/Controls/Tabs/ScrollTabs.vue?c7b2","webpack:///./src/components/Controls/Tabs/ScrollTabs.vue","webpack:///./src/components/Controls/Tabs/TabButton.vue?ab37","webpack:///./src/components/Controls/Tabs/ScrollTabs.vue?0f5f","webpack:///./src/components/Controls/Tabs/ScrollTab.vue?ae20","webpack:///./src/components/Controls/Tabs/ScrollTab.vue?2cf2","webpack:///./src/components/Controls/Tabs/ScrollTab.vue?8c6a","webpack:///./src/components/Controls/Tabs/ScrollTab.vue","webpack:///./src/views/Integrations.vue?f2b2","webpack:///./src/types/integration.ts","webpack:///./src/components/Integrations/IntegrationView.vue?c514","webpack:///./src/components/Integrations/IntegrationView.vue?556e","webpack:///./src/components/Integrations/IntegrationView.vue?7be5","webpack:///./src/components/Integrations/IntegrationView.vue","webpack:///./src/views/Integrations.vue?ba9a","webpack:///./src/views/Integrations.vue?3f1d","webpack:///./src/views/Integrations.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","_l","tab","key","id","directives","name","rawName","value","expression","modifiers","on","$event","setTab","_t","staticRenderFns","show","class","tabActive","title","replace","toLowerCase","makeActive","_v","_s","Contents","TabButton","active","$scopedSlots","titleSlot","$emit","Vue","__decorate","Prop","Component","components","VuePerfectScrollbar","component","ScrollTabs","tabsControl","currentTabUid","tabs","currentTab","filter","t","scrollable","length","activeId","push","toString","tabIndex","indexOf","splice","newTab","ProvideReactive","_e","ScrollTab","registerTab","unregisterTab","InjectReactive","type","Boolean","default","String","ServiceStatus","MessageType","integration","integrationKey","description","status","displayDateFromISOString","lastChecked","nextCheck","forceRun","services","service","serviceClass","environmentName","statusText","logMessages","logColumns","scopedSlots","_u","fn","data","messageType","ctrlKey","shiftKey","altKey","metaKey","openRecord","logsMoreAvailable","loadingLogs","loadLogs","IntegrationView","label","logsOldestDate","loadingStatus","integrationApi","integrationServicesGet","then","allowForceRun","statusGet","Ok","Warning","Error","Offline","Information","logGet","logs","occurred","caseNumber","encodedCaseNumber","encodeURIComponent","routeData","$router","resolve","path","window","open","href","State","SureViewIcon","Integrations","PageWrapper"],"mappings":"yIAAA,W,kCCAA,W,oCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2BC,YAAY,CAAC,SAAW,WAAW,CAACH,EAAG,YAAY,CAACE,YAAY,kEAAkEC,YAAY,CAAC,aAAa,uBAAuB,CAACH,EAAG,KAAK,CAACE,YAAY,sDAAsDE,MAAM,CAAC,KAAO,YAAYR,EAAIS,GAAIT,EAAiB,eAAE,SAASU,GAAK,OAAON,EAAG,KAAK,CAACO,IAAID,EAAIE,GAAGN,YAAY,WAAWE,MAAM,CAAC,KAAO,iBAAiB,CAACJ,EAAG,aAAa,CAACS,WAAW,CAAC,CAACC,KAAK,YAAYC,QAAQ,oBAAoBC,MAAON,EAAW,QAAEO,WAAW,cAAcC,UAAU,CAAC,OAAQ,KAAQV,MAAM,CAAC,IAAME,GAAKS,GAAG,CAAC,OAAS,SAASC,GAAQ,OAAOpB,EAAIqB,OAAOX,QAAU,MAAK,KAAKN,EAAG,KAAK,CAACE,YAAY,iGAAiGE,MAAM,CAAC,KAAO,YAAY,CAACR,EAAIsB,GAAG,sBAAsB,GAAGlB,E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KAAK4E,OAJP,8BAME5E,KAAKwG,eAAgB,EANvB,uEAlFmC,sIA4FnC,4GACOC,OAAezB,SAAShF,KAAKyE,YAAYC,gBADhD,OAEC1E,KAAK6G,YAFN,gDA5FmC,iFAiG5B,SAAYS,GAA2C,IAAvB1D,EAAuB,wDACvD2D,EAAoBC,mBAAmBF,GAC7C,GAAI1D,EAAQ,CACX,IAAM6D,EAAYzH,KAAK0H,QAAQC,QAAQ,CAAEC,KAAM,UAAF,OAAYL,KACzDM,OAAOC,KAAKL,EAAUM,KAAM,eAE5B/H,KAAK0H,QAAQnE,KAAK,CAAEqE,KAAM,UAAF,OAAYL,SAvGH,GAASjF,QACrCC,gBAANyF,YAAM,mCAGPzF,gBADCC,kBACD,kCAJoB6D,EAAe,gBANnC5D,eAAU,CACVC,WAAY,CACX,UAAaC,IACb,UAAWsF,WAGQ5B,WCnBuY,I,wBCQxZzD,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,oBCIMsF,EAAY,qJAAS5F,QAClCC,gBAANyF,YAAM,mCADaE,EAAY,gBAThCzF,eAAU,CACVC,WAAY,CACX,KAAQyF,aACR,UAAaxF,IACb,aAAcoB,OACd,cAAelB,OACf,mBAAoBwD,MAGD6B,WCvBkX,ICOnY,EAAY,eACd,EACApI,EACAwB,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-671adfe5.064787dc.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTab.vue?vue&type=style&index=0&id=1eadd35d&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntegrationView.vue?vue&type=style&index=0&id=4e972d80&prod&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tabs vertical\"},[_c('div',{staticClass:\"col-auto\"},[_c('div',{staticClass:\"d-flex flex-column h-100\",staticStyle:{\"overflow\":\"hidden\"}},[_c('scrollbar',{staticClass:\"flex-grow-0 flex-shrink-0 card-header main-content page-sidebar\",staticStyle:{\"max-height\":\"calc(100% - 200px)\"}},[_c('ul',{staticClass:\"nav nav-pills flex-column border-bottom-0 rounded-0\",attrs:{\"role\":\"tablist\"}},_vm._l((_vm.nonScrollTabs),function(tab){return _c('li',{key:tab.id,staticClass:\"nav-item\",attrs:{\"role\":\"presentation\"}},[_c('tab-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.right\",value:(tab.tooltip),expression:\"tab.tooltip\",modifiers:{\"right\":true}}],attrs:{\"tab\":tab},on:{\"setTab\":function($event){return _vm.setTab(tab)}}})],1)}),0)]),_c('ul',{staticClass:\"nav nav-pills flex-column flex-grow-0 card-header page-sidebar border-bottom-0 rounded-0 p-t-0\",attrs:{\"role\":\"tablist\"}},[_vm._t(\"prescroll-content\")],2),_c('scrollbar',{staticClass:\"flex-grow-1 flex-shrink-1 card-header page-sidebar p-r-0 p-t-0\",staticStyle:{\"overflow\":\"hidden\",\"min-height\":\"50px\"}},[_c('ul',{staticClass:\"nav nav-pills flex-column border-bottom-0 rounded-0 \",attrs:{\"role\":\"tablist\"}},_vm._l((_vm.scrollTabs),function(tab){return _c('li',{key:tab.id,staticClass:\"nav-item\",attrs:{\"role\":\"presentation\"}},[_c('tab-button',{attrs:{\"tab\":tab},on:{\"setTab\":function($event){return _vm.setTab(tab)}}})],1)}),0)])],1)]),_c('div',{staticClass:\"tab-content col\"},[_c('div',{staticClass:\"tab-pane card-body active\"},[_vm._t(\"default\")],2)])])}\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('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tab && _vm.tab.show),expression:\"tab && tab.show\"}],staticClass:\"nav-link\",class:{'active': _vm.tabActive},attrs:{\"role\":\"tab\",\"aria-selected\":_vm.tabActive ? 'true' : 'false',\"tabindex\":\"0\",\"data-cy\":_vm.tab.title.replace(' ', '-').toLowerCase() + '-tab'},on:{\"click\":_vm.makeActive}},[_vm._v(\" \"+_vm._s(_vm.Contents)+\" \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Watch, Prop, Inject } from \"vue-property-decorator\"\r\n\r\n// @ts-ignore\r\nimport VuePerfectScrollbar from \"vue-perfect-scrollbar\"\r\n\r\nimport ScrollTab from \"./ScrollTab.vue\"\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t\"scrollbar\": VuePerfectScrollbar\r\n\t}\r\n})\r\nexport default class TabButton extends Vue {\r\n\t@Prop()\r\n\ttab!: ScrollTab | null;\r\n\r\n\tget tabActive () {\r\n\t\tif (!this.tab) {\r\n\t\t\treturn false\r\n\t\t}\r\n\r\n\t\treturn this.tab.active\r\n\t}\r\n\r\n\tget Contents () {\r\n\t\tif (!this.tab) {\r\n\t\t\treturn null\r\n\t\t}\r\n\r\n\t\tif (this.tab.$scopedSlots[\"title\"]) {\r\n\t\t\tconst titleSlot = this.tab.$scopedSlots[\"title\"]\r\n\t\t\tif (titleSlot) return titleSlot({})\r\n\t\t}\r\n\r\n\t\treturn this.tab.title\r\n\t}\r\n\r\n\tmakeActive () {\r\n\t\tif (!this.tabActive) {\r\n\t\t\tthis.$emit(\"setTab\", this.tab)\r\n\t\t}\r\n\t}\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TabButton.vue?vue&type=template&id=3343efa0&scoped=true&\"\nimport script from \"./TabButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./TabButton.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TabButton.vue?vue&type=style&index=0&id=3343efa0&prod&lang=scss&scoped=true&\"\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 \"3343efa0\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Component, Vue, Watch, Prop, Provide, ProvideReactive } from \"vue-property-decorator\"\r\n\r\n// @ts-ignore\r\nimport VuePerfectScrollbar from \"vue-perfect-scrollbar\"\r\n\r\nimport TabButton from \"./TabButton.vue\"\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t\"scrollbar\": VuePerfectScrollbar,\r\n\t\t\"tab-button\": TabButton\r\n\t}\r\n})\r\nexport default class ScrollTabs extends Vue {\r\n\t@ProvideReactive(\"tabControl\") private tabsControl = this;\r\n\t@ProvideReactive(\"activeId\") private currentTabUid: string | null = null;\r\n\r\n\ttabs: any[] = [];\r\n\r\n\tpublic currentTab: any = null;\r\n\r\n\tpublic get activeTab () {\r\n\t\treturn this.currentTab ? this.currentTab : this.tabs[0]\r\n\t}\r\n\tpublic get activeId () {\r\n\t\treturn this.currentTabUid\r\n\t}\r\n\tpublic set activeId (value: string | null) {\r\n\t\tthis.currentTabUid = value\r\n\t}\r\n\r\n\tpublic get nonScrollTabs () {\r\n\t\treturn this.tabs.filter(t => !t.scrollable)\r\n\t}\r\n\tpublic get scrollTabs () {\r\n\t\treturn this.tabs.filter(t => t.scrollable)\r\n\t}\r\n\r\n\tcreated () {\r\n\t\tif (!this.tabs) {\r\n\t\t\tthis.tabs = []\r\n\t\t}\r\n\r\n\t\tthis.currentTab = null\r\n\t\tif (this.tabs.length > 0) {\r\n\t\t\tthis.currentTab = this.tabs[0]\r\n\t\t\tthis.activeId = this.tabs[0].id\r\n\t\t}\r\n\t}\r\n\r\n\tbeforeDestroy () {\r\n\t\tthis.activeId = null\r\n\t}\r\n\r\n\tpublic registerTab (tab: any): string {\r\n\t\tthis.tabs.push(tab)\r\n\r\n\t\tif (!this.currentTab) {\r\n\t\t\tthis.currentTab = tab\r\n\t\t\tthis.activeId = this.tabs.length.toString()\r\n\t\t}\r\n\t\treturn this.tabs.length.toString()\r\n\t}\r\n\r\n\tpublic unregisterTab (tab: any) {\r\n\t\tconst tabIndex = this.tabs.indexOf(tab)\r\n\t\tif (tabIndex > -1) {\r\n\t\t\tthis.tabs.splice(tabIndex, 1)\r\n\t\t\tif (tab.id === this.activeId) {\r\n\t\t\t\tthis.activeId = this.tabs.length > 0 ? this.tabs[0].id : null\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate setTab (newTab: any) {\r\n\t\tthis.currentTab = newTab\r\n\t\tthis.activeId = newTab.id\r\n\t}\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTabs.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTabs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ScrollTabs.vue?vue&type=template&id=05c79e3d&\"\nimport script from \"./ScrollTabs.vue?vue&type=script&lang=ts&\"\nexport * from \"./ScrollTabs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ScrollTabs.vue?vue&type=style&index=0&id=05c79e3d&prod&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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TabButton.vue?vue&type=style&index=0&id=3343efa0&prod&lang=scss&scoped=true&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTabs.vue?vue&type=style&index=0&id=05c79e3d&prod&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.active)?_c('div',{staticClass:\"tab-contents\"},[_vm._t(\"default\")],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Watch, Prop, Inject, InjectReactive } from \"vue-property-decorator\"\r\n\r\n// @ts-ignore\r\nimport VuePerfectScrollbar from \"vue-perfect-scrollbar\"\r\n\r\nimport ScrollTabs from \"./ScrollTabs.vue\"\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t\"scrollbar\": VuePerfectScrollbar\r\n\t}\r\n})\r\nexport default class ScrollTab extends Vue {\r\n\t@InjectReactive(\"tabControl\") private tabsControl!: ScrollTabs;\r\n\t@InjectReactive(\"activeId\") private activeId!: string | null;\r\n\r\n\t@Prop()\r\n\tpublic title!: string;\r\n\r\n\t@Prop({ type: Boolean })\r\n\tscrollable!: boolean;\r\n\r\n\t@Prop({ type: Boolean, default: true })\r\n\tshow!: boolean\r\n\r\n\t@Prop({ type: String, default: null })\r\n\tpublic tooltip!: boolean\r\n\r\n\tid: string | null = null;\r\n\r\n\tpublic get active () {\r\n\t\treturn this.activeId !== null && this.activeId === this.id\r\n\t}\r\n\r\n\tmounted () {\r\n\t\tif (this.tabsControl) {\r\n\t\t\tthis.id = this.tabsControl.registerTab(this)\r\n\t\t}\r\n\t}\r\n\r\n\tbeforeDestroy () {\r\n\t\tif (this.tabsControl) {\r\n\t\t\tthis.tabsControl.unregisterTab(this)\r\n\t\t\tthis.id = null\r\n\t\t}\r\n\t}\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTab.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScrollTab.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ScrollTab.vue?vue&type=template&id=1eadd35d&scoped=true&\"\nimport script from \"./ScrollTab.vue?vue&type=script&lang=ts&\"\nexport * from \"./ScrollTab.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ScrollTab.vue?vue&type=style&index=0&id=1eadd35d&prod&lang=scss&scoped=true&\"\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 \"1eadd35d\",\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('page',[_c('scroll-tabs',{staticClass:\"h-100 no-gutters row\"},_vm._l((_vm.integrations),function(integration){return _c('scroll-tab',{key:integration.integrationKey,attrs:{\"scrollable\":\"\",\"title\":integration.title,\"tooltip\":integration.description}},[_c('integration-view',{attrs:{\"integration\":integration}})],1)}),1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { StringIterator } from \"lodash\"\r\n\r\nexport interface IntegrationColumn {\r\n\tkey: string\r\n\ttitle: string\r\n\tdataType: string\r\n}\r\n\r\nexport interface SetupColumn extends IntegrationColumn {\r\n\r\n}\r\n\r\nexport interface Integration {\r\n\tid: string\r\n\ttitle: string\r\n\tdescription: string\r\n\tsupportLink: string\r\n\tusesServices: boolean\r\n\tsetupColumns: SetupColumn[]\r\n\r\n\tinbound: {\r\n\t\tmappableData: IntegrationColumn[]\r\n\t\tallowCustomEvents: boolean\r\n\t\tevents: IntegrationEventMapping[] | null\r\n\t} | null\r\n\r\n\toutbound: IntegrationOut | null\r\n}\r\n\r\nexport interface IntegrationEventMapping {\r\n\tkey: string\r\n\ttitle: string\r\n\tdescription: string\r\n}\r\n\r\nexport interface IntegrationSettings {\r\n\tintegrationId: string\r\n\tenabled: boolean\r\n\tconfiguration: { [key: string]: any }\r\n\tinFieldMapping: { [key: string]: string }\r\n\teventMapping: { [key: string]: string }\r\n\toutConfiguration: { [key: string]: OutConfiguration }\r\n}\r\n\r\nexport interface IntegrationWithSettings {\r\n\tintegration: Integration\r\n\tsettings: IntegrationSettings | null\r\n}\r\n\r\nexport interface IntegrationSummary {\r\n\tintegrationKey: string\r\n\ttitle: string\r\n\tdescription: string\r\n\r\n\tusesServices: boolean\r\n\tallowForceRun: boolean\r\n}\r\n\r\nexport interface IntegrationStatus {\r\n\tlastChecked: Date | null\r\n\tnextCheck: Date | null\r\n}\r\n\r\nexport interface IntegrationOutOption {\r\n\tintegrationKey: string\r\n\tintegrationTitle: string\r\n\tintegrationOut: string\r\n\tintegrationOutTitle: string\r\n}\r\n\r\nexport enum ServiceStatus {\r\n\tOk,\r\n\tWarning,\r\n\tError,\r\n\tOffline\r\n}\r\n\r\nexport interface IntegrationService {\r\n\tid: string\r\n\tenvironmentName: string\r\n\tstatus: ServiceStatus | null,\r\n\tstatusText: string\r\n}\r\n\r\nexport enum MessageType {\r\n\tError,\r\n\tWarning,\r\n\tInformation\r\n}\r\n\r\nexport interface IntegrationLog {\r\n\tserviceId: string\r\n\tcaseId: string\r\n\toccurred: Date\r\n\tmessageType: MessageType\r\n\tmessage: string\r\n}\r\n\r\nexport interface OutSettings {\r\n\tkey: string\r\n\ttitle: string\r\n\tdescription: string\r\n\tsetupColumns: IntegrationColumn[]\r\n\tsupportsTrackingChanges: boolean\r\n}\r\n\r\nexport interface IntegrationOut {\r\n\tsupportRaise: boolean\r\n\tsupportOutFieldMapping: boolean\r\n\tout: OutSettings[]\r\n\tmappableData:IntegrationColumn[]\r\n}\r\n\r\nexport interface OutConfiguration {\r\n\tkey: string\r\n\toutputType: string | null\r\n\ttitle: string\r\n\tenabled: boolean\r\n\toutFieldMapping: { [key: string]: string }\r\n\tconfiguration: { [key: string]: any }\r\n\tonDemandPermissions: string[] | null\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.integration)?_c('div',{staticClass:\"integration-page\"},[_c('div',{staticClass:\"flex-grow-0 m-b-10 d-flex flex-row\"},[_c('div',{staticClass:\"flex-grow-1\"},[_c('h4',{attrs:{\"data-cy\":\"title\"}},[_vm._v(_vm._s(_vm.integration.title))]),_c('div',{attrs:{\"data-cy\":\"description\"}},[_vm._v(\" \"+_vm._s(_vm.integration.description)+\" \")])]),(_vm.integration.allowForceRun)?_c('div',{staticClass:\"d-flex flex-row align-items-center\"},[(_vm.loadingStatus)?[_c('sv-icon',[_vm._v(\" Loading status ... \")])]:(_vm.status)?[_c('div',{staticClass:\"m-r-10\",staticStyle:{\"text-align\":\"right\"}},[(_vm.status.lastChecked)?_c('div',[_vm._v(\"Last run: \"+_vm._s(_vm.displayDateFromISOString(_vm.status.lastChecked)))]):_vm._e(),_c('div',[_vm._v(\"Next run: \"+_vm._s(_vm.status.nextCheck ? _vm.displayDateFromISOString(_vm.status.nextCheck) : \"Now\"))])]),_c('a',{staticClass:\"btn btn-secondary\",attrs:{\"data-cy\":\"forcerun\"},on:{\"click\":_vm.forceRun}},[_vm._v(\" Force Run \")])]:_vm._e()],2):_vm._e()]),(_vm.services.length > 0)?_c('div',{staticClass:\"d-flex flex-wrap m-b-10\",attrs:{\"data-cy\":\"services\"}},_vm._l((_vm.services),function(service){return _c('div',{key:service.id,staticClass:\"card d-inline-flex\"},[_c('div',{staticClass:\"card-body d-flex align-items-center\",attrs:{\"data-cy\":\"service\"}},[_c('i',{staticClass:\"fas fa-server fa-lg m-r-10\",class:_vm.serviceClass(service.status)}),_c('div',[_c('b',[_vm._v(_vm._s(service.environmentName))]),_c('br'),_c('small',[_vm._v(_vm._s(service.statusText))])])])])}),0):_vm._e(),_c('div',{staticClass:\"flex-grow-1\",staticStyle:{\"overflow\":\"hidden\"}},[_c('scrollbar',{staticClass:\"h-100\"},[_c('b-table',{attrs:{\"items\":_vm.logMessages,\"fields\":_vm.logColumns},scopedSlots:_vm._u([{key:\"cell(occurred)\",fn:function(data){return [_vm._v(\" \"+_vm._s(_vm.displayDateFromISOString(data.value))+\" \")]}},{key:\"cell(messageType)\",fn:function(data){return [_vm._v(\" \"+_vm._s(_vm.messageType(data.value))+\" \")]}},{key:\"cell(caseNumber)\",fn:function(data){return [(data.value)?_c('a',{staticClass:\"btn btn-secondary\",on:{\"click\":[function($event){if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.openRecord(data.value)},function($event){if(!$event.shiftKey){ return null; }return _vm.openRecord(data.value, true)}]}},[_vm._v(\" View Record \")]):_vm._e()]}}],null,false,980444439)}),(_vm.loadingLogs)?_c('div',{staticClass:\"p-1 m-b-10\"},[_c('sv-icon',[_vm._v(\" Loading log messages ... \")])],1):_vm._e(),(_vm.logsMoreAvailable && _vm.logMessages.length > 0 && !_vm.loadingLogs)?_c('a',{staticClass:\"btn btn-secondary d-block m-l-10 m-r-10\",on:{\"click\":_vm.loadLogs}},[_vm._v(\" Load More \")]):_vm._e()],1)],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Watch, Prop } from \"vue-property-decorator\"\r\nimport { namespace, Getter, Mutation, Action, State } from \"vuex-class\"\r\n\r\n// @ts-ignore\r\nimport VuePerfectScrollbar from \"vue-perfect-scrollbar\"\r\nimport SureViewIcon from \"@/components/SureViewIcon.vue\"\r\n\r\nimport { IntegrationLog, IntegrationService, IntegrationSettings, IntegrationStatus, IntegrationSummary, MessageType, ServiceStatus } from \"@/types/integration\"\r\n\r\nimport api from \"@/services/api\"\r\nimport integrationApi from \"@/services/api_Integrations\"\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t\"scrollbar\": VuePerfectScrollbar,\r\n\t\t\"sv-icon\": SureViewIcon\r\n\t}\r\n})\r\nexport default class IntegrationView extends Vue {\r\n\t@State integrations!: IntegrationSummary[]\r\n\r\n\t@Prop()\r\n\tintegration!: IntegrationSummary\r\n\r\n\tlogColumns = [\r\n\t\t{\r\n\t\t\tkey: \"occurred\"\r\n\t\t},\r\n\t\t{\r\n\t\t\tkey: \"environmentName\",\r\n\t\t\tlabel: \"Environment\"\r\n\t\t},\r\n\t\t{\r\n\t\t\tkey: \"messageType\"\r\n\t\t},\r\n\t\t{\r\n\t\t\tkey: \"message\"\r\n\t\t},\r\n\t\t{\r\n\t\t\tkey: \"caseNumber\",\r\n\t\t\tlabel: \"Record\"\r\n\t\t}\r\n\t]\r\n\r\n\tservices: IntegrationService[] = []\r\n\tlogMessages: IntegrationLog[] = []\r\n\r\n\tlogsOldestDate: Date | null = null\r\n\tlogsMoreAvailable: boolean = false\r\n\tloadingLogs: boolean = false\r\n\r\n\tstatus: IntegrationStatus | null = null\r\n\tloadingStatus: boolean = false\r\n\r\n\tasync mounted () {\r\n\t\tif (this.integration) {\r\n\t\t\tintegrationApi.integrationServicesGet(this.integration.integrationKey).then(services => this.services = services)\r\n\t\t\tthis.loadLogs()\r\n\r\n\t\t\tif (this.integration.allowForceRun) {\r\n\t\t\t\tthis.statusGet()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tserviceClass (status: ServiceStatus | null) {\r\n\t\tif (status == null) {\r\n\t\t\treturn \"text-muted\"\r\n\t\t}\r\n\r\n\t\tswitch (status) {\r\n\t\t\tcase ServiceStatus.Ok: return \"text-success\"\r\n\t\t\tcase ServiceStatus.Warning: return \"text-warning\"\r\n\t\t\tcase ServiceStatus.Error: return \"text-danger\"\r\n\t\t\tcase ServiceStatus.Offline: return \"text-muted\"\r\n\t\t}\r\n\t}\r\n\r\n\tmessageType (type: MessageType) {\r\n\t\tswitch (type) {\r\n\t\t\tcase MessageType.Error: return \"Error\"\r\n\t\t\tcase MessageType.Warning: return \"Warning\"\r\n\t\t\tcase MessageType.Information: return \"Information\"\r\n\t\t}\r\n\t\treturn type\r\n\t}\r\n\r\n\tasync loadLogs () {\r\n\t\tthis.loadingLogs = true\r\n\t\tintegrationApi.logGet(this.integration.integrationKey, this.logsOldestDate).then(logs => {\r\n\t\t\tthis.logMessages.push(...logs)\r\n\r\n\t\t\tif (logs.length > 0) {\r\n\t\t\t\tthis.logsOldestDate = logs[logs.length - 1].occurred\r\n\t\t\t}\r\n\t\t\tthis.logsMoreAvailable = logs.length === 100\r\n\t\t\tthis.loadingLogs = false\r\n\t\t})\r\n\t}\r\n\r\n\tasync statusGet () {\r\n\t\tthis.loadingStatus = true\r\n\r\n\t\ttry {\r\n\t\t\tthis.status = await integrationApi.statusGet(this.integration.integrationKey)\r\n\t\t} finally {\r\n\t\t\tthis.loadingStatus = false\r\n\t\t}\r\n\t}\r\n\r\n\tasync forceRun () {\r\n\t\tawait integrationApi.forceRun(this.integration.integrationKey)\r\n\t\tthis.statusGet()\r\n\t}\r\n\r\n\tpublic openRecord (caseNumber: string, newTab: boolean = false) {\r\n\t\tconst encodedCaseNumber = encodeURIComponent(caseNumber)\r\n\t\tif (newTab) {\r\n\t\t\tconst routeData = this.$router.resolve({ path: `/cases/${encodedCaseNumber}` })\r\n\t\t\twindow.open(routeData.href, \"_blank\")\r\n\t\t} else {\r\n\t\t\tthis.$router.push({ path: `/cases/${encodedCaseNumber}` })\r\n\t\t}\r\n\t}\r\n}\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntegrationView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IntegrationView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./IntegrationView.vue?vue&type=template&id=4e972d80&scoped=true&\"\nimport script from \"./IntegrationView.vue?vue&type=script&lang=ts&\"\nexport * from \"./IntegrationView.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./IntegrationView.vue?vue&type=style&index=0&id=4e972d80&prod&lang=scss&scoped=true&\"\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 \"4e972d80\",\n null\n \n)\n\nexport default component.exports","\r\nimport { Component, Vue } from \"vue-property-decorator\"\r\nimport { State } from \"vuex-class\"\r\n\r\n// @ts-ignore\r\nimport VuePerfectScrollbar from \"vue-perfect-scrollbar\"\r\n\r\nimport ScrollTabs from \"@/components/Controls/Tabs/ScrollTabs.vue\"\r\nimport ScrollTab from \"@/components/Controls/Tabs/ScrollTab.vue\"\r\nimport { IntegrationSummary } from \"@/types/integration\"\r\n\r\nimport IntegrationView from \"@/components/Integrations/IntegrationView.vue\"\r\nimport PageWrapper from \"@/components/New/Page/PageWrapper.vue\"\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\t\"page\": PageWrapper,\r\n\t\t\"scrollbar\": VuePerfectScrollbar,\r\n\t\t\"scroll-tab\": ScrollTab,\r\n\t\t\"scroll-tabs\": ScrollTabs,\r\n\t\t\"integration-view\": IntegrationView\r\n\t}\r\n})\r\nexport default class Integrations extends Vue {\r\n\t@State integrations!: IntegrationSummary[]\r\n}\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Integrations.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Integrations.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Integrations.vue?vue&type=template&id=2f4aaeac&\"\nimport script from \"./Integrations.vue?vue&type=script&lang=ts&\"\nexport * from \"./Integrations.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"],"sourceRoot":""}