{"version":3,"sources":["webpack:///./src/components/applicationSettings/_ApplicationSettings.vue?f076","webpack:///./src/components/applicationSettings/_ApplicationSettings.vue","webpack:///./src/components/applicationSettings/_ApplicationSettings.vue?2b3b","webpack:///./src/components/applicationSettings/_ApplicationSettings.vue?03fd","webpack:///./src/components/applicationSettings/_ApplicationSettings.vue?c1f1","webpack:///./src/components/common/modals/UnsavedFormModal.vue?2f75","webpack:///./src/components/common/modals/UnsavedFormModal.vue","webpack:///./src/components/common/modals/UnsavedFormModal.vue?d3fc","webpack:///./src/components/common/modals/UnsavedFormModal.vue?8c30","webpack:///./src/components/layouts/HeaderActionButtons.vue?3b8a","webpack:///./src/components/layouts/HeaderActionButtons.vue?2810","webpack:///./src/components/layouts/HeaderActionButtons.vue","webpack:///./src/components/layouts/HeaderActionButtons.vue?0d84","webpack:///./src/components/layouts/HeaderActionButtons.vue?1c9a"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","$t","on","back","save","$event","stopPropagation","preventDefault","directives","name","rawName","modifiers","model","value","applicationSettings","callback","$$v","$set","expression","logLevelOptions","logLevelsSelected","ref","onContinue","staticRenderFns","maxUploadFileSize","allowedImageExtensions","allowedVideoExtensions","otherAllowedExtensions","azureAppClientId","clientTenantId","adminUserGroupId","editorUserGroupId","enableCustomerSSO","clearUserData","numberOfInactivityDays","distinguishPersonalDataPosts","postValidDays","personalDataPostValidDays","logLevels","allowStockImages","localApplicationSettings","nextRoute","routeParams","saveClicked","fetchData","join","then","loadAzureAdStatus","updateLogLevels","loadAllowStockImages","$router","push","window","history","go","response","wayfinderInstanceId","JSON","parse","stringify","length","split","to","next","params","$refs","UnsavedFormModal","open","data","beforeRouteLeave","from","onBeforeRouteLeave","components","HeaderActionButtons","component","scopedSlots","_u","key","fn","confirm","decline","proxy","$bvModal","show","$emit","hide","class","sticky","preventSave","_e","showSaveButton","isAdmin","saveAndBack","editorStatus","preventBack","namespace","permitionEnum","havePermition","$route","getCurrentUser","permissions","AdminPrivilege","checkPermition","undefined","default","abg","inserted","element","binding","vnode","offset","pageYOffset","getBoundingClientRect","top","doc","document","documentElement","scrollTop","clientTop","context","addEventListener","unbind","removeEventListener"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,KAAK,CAACA,EAAG,MAAM,CAACE,YAAY,UAAUC,MAAM,CAAC,QAAU,gBAAgB,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,aAAa,sBAAsBP,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIU,GAAG,oBAAoB,OAAON,EAAG,sBAAsB,CAACO,GAAG,CAAC,KAAOX,EAAIY,KAAK,KAAOZ,EAAIa,SAAS,KAAKT,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,aAAe,OAAOI,GAAG,CAAC,OAAS,SAASG,GAAyD,OAAjDA,EAAOC,kBAAkBD,EAAOE,iBAAwBhB,EAAIa,KAAKC,MAAW,CAACV,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACN,EAAIQ,GAAG,cAAcJ,EAAG,MAAM,CAACA,EAAG,SAAS,CAACa,WAAW,CAAC,CAACC,KAAK,WAAWC,QAAQ,8BAA8BC,UAAU,CAAC,oBAAmB,KAAQd,YAAY,eAAeC,MAAM,CAAC,KAAO,WAAW,CAACH,EAAG,MAAM,CAACE,YAAY,kBAAkBC,MAAM,CAAC,QAAU,gBAAgB,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,aAAa,kCAAkCH,EAAG,aAAa,CAACE,YAAY,OAAOC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AK4F,MAAM,QAAQ,KAnB9C,oCAwBQ5F,KAAK4F,MAAM,QAAQ,KAxB3B,6BA4BQ5F,KAAK4F,MAAM,UA5BnB,gCAkCQ5F,KAAKqG,aAAoC,wBAArBrG,KAAK0G,OAAOzF,OAlCxC,8BAYQ,OAAOjB,KAAKyG,cAAczG,KAAK2G,eAAeC,YAC1C5G,KAAKwG,cAAcxG,KAAKwG,cAAcK,mBAblD,qCAsCQ,OAA+B,OAAxB7G,KAAK8G,qBAAmDC,IAAxB/G,KAAK8G,gBACtC9G,KAAKyG,cAAczG,KAAK2G,eAAeC,YAAa5G,KAAKwG,cAAcxG,KAAK8G,qBAvC1F,GAAiD,QACrC,gBAAP,kB,qCACyB,gBAAzB,eAAK,CAAEE,SAAS,K,kCACS,gBAAzB,eAAK,CAAEA,SAAS,K,kCACwB,gBAAxC,eAAO,iBAAkB,CAAET,e,qCAJX,EAAmB,gBAnBvC,eAAU,CACPvF,WAAY,CACRiG,IAAK,CACDC,SAAU,SAAUC,EAASC,EAASC,GAClC,IAAIC,EAAU1D,OAAO2D,YAAcJ,EAAQK,wBAAwBC,IAAO,GAC1E,EAAS,WACL,IAAIC,EAAMC,SAASC,gBACfH,GAAO7D,OAAO2D,aAAeG,EAAIG,YAAcH,EAAII,WAAa,GAChDT,EAAMU,QAAgBhC,OAAtC0B,GAAOH,GAGf1D,OAAOoE,iBAAiB,SAAU,GAAQ,IAE9CC,OAAQ,SAAUd,EAASC,EAASC,GAChCzD,OAAOsE,oBAAoB,SAAU,GAAQ,SAKxC,WCvD2Y,I,wBCQ5ZhD,EAAY,eACd,EACApF,EACAiC,GACA,EACA,KACA,WACA,MAIa,OAAAmD,E","file":"js/chunk-2682205a.3b123d57.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header',{staticClass:\"page-header\"},[_c('div',{staticClass:\"d-flex justify-content-between\"},[_c('h2',[_c('svg',{staticClass:\"vc-icon\",attrs:{\"viewBox\":\"0 0 100 100\"}},[_c('use',{attrs:{\"xlink:href\":\"#settings-icon\"}})]),_vm._v(\" \"+_vm._s(_vm.$t(\"common.settings\"))+\" \")]),_c('HeaderActionButtons',{on:{\"back\":_vm.back,\"save\":_vm.save}})],1)]),_c('div',{staticClass:\"panel\"},[_c('b-form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.save($event)}}},[_c('div',[_c('header',{staticClass:\"panel-header\"},[_c('div',{staticClass:\"d-flex\"},[_c('h4',{staticClass:\"mr-3\"},[_vm._v(\"Settings\")]),_c('div',[_c('button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.collapse-details\",modifiers:{\"collapse-details\":true}}],staticClass:\"collapse-btn\",attrs:{\"type\":\"button\"}},[_c('svg',{staticClass:\"vc-icon_sm mr-3\",attrs:{\"viewBox\":\"0 0 100 100\"}},[_c('use',{attrs:{\"xlink:href\":\"#shevron-down-icon\"}})])])])])]),_c('b-collapse',{staticClass:\"mt-2\",attrs:{\"id\":\"collapse-details\",\"visible\":\"\"}},[_c('div',{staticClass:\"panel-body\"},[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"8\"}},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.maxUploadFileSize'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.maxUploadFileSize),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"maxUploadFileSize\", $$v)},expression:\"applicationSettings.maxUploadFileSize\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.allowedImageExtensions'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.allowedImageExtensions),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"allowedImageExtensions\", $$v)},expression:\"applicationSettings.allowedImageExtensions\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.allowedVideoExtensions'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.allowedVideoExtensions),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"allowedVideoExtensions\", $$v)},expression:\"applicationSettings.allowedVideoExtensions\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.otherAllowedExtensions'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.otherAllowedExtensions),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"otherAllowedExtensions\", $$v)},expression:\"applicationSettings.otherAllowedExtensions\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.postValidDays'))+\":\")]),_c('b-form-input',{staticClass:\"vsc-input days-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.postValidDays),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"postValidDays\", $$v)},expression:\"applicationSettings.postValidDays\"}}),_c('span',[_vm._v(_vm._s(_vm.$t('settings.days')))])],1),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.distinguishPersonalDataPosts'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-checkbox',{model:{value:(_vm.applicationSettings.distinguishPersonalDataPosts),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"distinguishPersonalDataPosts\", $$v)},expression:\"applicationSettings.distinguishPersonalDataPosts\"}})],1)]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.applicationSettings.distinguishPersonalDataPosts),expression:\"applicationSettings.distinguishPersonalDataPosts\"}],staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.personalDataPostValidDays'))+\":\")]),_c('b-form-input',{staticClass:\"vsc-input days-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.personalDataPostValidDays),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"personalDataPostValidDays\", $$v)},expression:\"applicationSettings.personalDataPostValidDays\"}}),_c('span',[_vm._v(_vm._s(_vm.$t('settings.days')))])],1),_c('HR',{attrs:{\"SIZE\":\"3\"}}),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.allowStockImages'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-checkbox',{model:{value:(_vm.applicationSettings.allowStockImages),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"allowStockImages\", $$v)},expression:\"applicationSettings.allowStockImages\"}})],1)]),_c('HR',{attrs:{\"SIZE\":\"3\"}}),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.clearUserData'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-checkbox',{model:{value:(_vm.applicationSettings.clearUserData),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"clearUserData\", $$v)},expression:\"applicationSettings.clearUserData\"}})],1)]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.applicationSettings.clearUserData),expression:\"applicationSettings.clearUserData\"}]},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.numberOfInactivityDays'))+\":\")]),_c('b-form-input',{staticClass:\"vsc-input days-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.numberOfInactivityDays),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"numberOfInactivityDays\", $$v)},expression:\"applicationSettings.numberOfInactivityDays\"}}),_c('span',[_vm._v(_vm._s(_vm.$t('settings.days')))])],1),_c('HR',{attrs:{\"SIZE\":\"3\"}})],1),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.EnableCustomerSSO'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-checkbox',{model:{value:(_vm.applicationSettings.enableCustomerSSO),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"enableCustomerSSO\", $$v)},expression:\"applicationSettings.enableCustomerSSO\"}})],1)]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.applicationSettings.enableCustomerSSO),expression:\"applicationSettings.enableCustomerSSO\"}]},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.azureAppClientId'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.azureAppClientId),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"azureAppClientId\", $$v)},expression:\"applicationSettings.azureAppClientId\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.clientTenantId'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.clientTenantId),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"clientTenantId\", $$v)},expression:\"applicationSettings.clientTenantId\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.AdminUserGroupId'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.adminUserGroupId),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"adminUserGroupId\", $$v)},expression:\"applicationSettings.adminUserGroupId\"}})],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.EditorUserGroupId'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-input',{staticClass:\"vsc-input\",attrs:{\"type\":\"text\"},model:{value:(_vm.applicationSettings.editorUserGroupId),callback:function ($$v) {_vm.$set(_vm.applicationSettings, \"editorUserGroupId\", $$v)},expression:\"applicationSettings.editorUserGroupId\"}})],1)])]),_c('HR',{attrs:{\"SIZE\":\"3\"}}),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-form-label col-sm-4\"},[_vm._v(_vm._s(_vm.$t('settings.logLevels'))+\":\")]),_c('div',{staticClass:\"col\"},[_c('b-form-checkbox-group',{attrs:{\"id\":\"checkbox-group-1\",\"options\":_vm.logLevelOptions,\"name\":\"flavour-1\"},model:{value:(_vm.logLevelsSelected),callback:function ($$v) {_vm.logLevelsSelected=$$v},expression:\"logLevelsSelected\"}})],1)])],1)],1)],1)])],1)])],1),_c('unsaved-form-modal',{ref:\"UnsavedFormModal\",on:{\"continue\":_vm.onContinue}})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { Route } from \"vue-router\";\r\n// types\r\nimport { ApplicationSettings } from \"@/services/applicationSettings/types\";\r\n// service methods\r\nimport {\r\n getAllApplicationSettings,\r\n updateApplicationSettings\r\n} from \"@/services/applicationSettings/applicationSettingsService\";\r\nimport HeaderActionButtons from \"@/components/layouts/HeaderActionButtons.vue\";\r\nimport UnsavedFormModal from \"@/components/common/modals/UnsavedFormModal.vue\";\r\nimport { Action } from \"vuex-class\";\r\n\r\n@Component({\r\n beforeRouteLeave(to, from, next) {\r\n this.onBeforeRouteLeave(to, next);\r\n },\r\n components: {\r\n HeaderActionButtons,\r\n UnsavedFormModal\r\n }\r\n})\r\nexport default class Settings extends Vue {\r\n @Action(\"loadAzureAdStatus\") loadAzureAdStatus: any;\r\n @Action(\"logger/updateLogLevels\") updateLogLevels: any;\r\n @Action(\"loadAllowStockImages\") loadAllowStockImages: any;\r\n\r\n // local state\r\n applicationSettings = {\r\n maxUploadFileSize: \"\",\r\n allowedImageExtensions: \"\",\r\n allowedVideoExtensions: \"\",\r\n otherAllowedExtensions: \"\",\r\n azureAppClientId: \"\",\r\n clientTenantId: \"\",\r\n adminUserGroupId: \"\",\r\n editorUserGroupId: \"\",\r\n enableCustomerSSO: false,\r\n clearUserData: false,\r\n numberOfInactivityDays: 0,\r\n distinguishPersonalDataPosts: false,\r\n postValidDays: 730,\r\n personalDataPostValidDays: 0,\r\n logLevels: \"\",\r\n allowStockImages: false\r\n } as ApplicationSettings;\r\n\r\n // used for comparing if form have changes\r\n localApplicationSettings = {\r\n maxUploadFileSize: \"\",\r\n allowedImageExtensions: \"\",\r\n allowedVideoExtensions: \"\",\r\n otherAllowedExtensions: \"\",\r\n azureAppClientId: \"\",\r\n clientTenantId: \"\",\r\n adminUserGroupId: \"\",\r\n editorUserGroupId: \"\",\r\n enableCustomerSSO: false,\r\n clearUserData: false,\r\n numberOfInactivityDays: 0,\r\n distinguishPersonalDataPosts: false,\r\n postValidDays: 0,\r\n personalDataPostValidDays: 0,\r\n logLevels: \"\",\r\n allowStockImages: false\r\n } as ApplicationSettings;\r\n\r\n nextRoute = \"\";\r\n routeParams = {};\r\n saveClicked = false;\r\n logLevelOptions = [\"error\", \"information\", \"debug\"];\r\n logLevelsSelected = [] as string[];\r\n // lifecycle hooks\r\n public created(): void {\r\n this.fetchData();\r\n }\r\n\r\n // methods\r\n save(back: boolean) {\r\n this.saveClicked = true;\r\n this.applicationSettings.logLevels = this.logLevelsSelected.join(\", \");\r\n updateApplicationSettings(this.applicationSettings).then(() => {\r\n this.loadAzureAdStatus();\r\n this.updateLogLevels(this.applicationSettings.logLevels);\r\n this.loadAllowStockImages();\r\n if (back) this.$router.push(\"/\");\r\n });\r\n }\r\n\r\n back() {\r\n window.history.go(-1);\r\n }\r\n\r\n fetchData() {\r\n getAllApplicationSettings().then(response => {\r\n this.applicationSettings = {\r\n maxUploadFileSize: response.maxUploadFileSize || \"\",\r\n allowedImageExtensions: response.allowedImageExtensions || \"\",\r\n allowedVideoExtensions: response.allowedVideoExtensions || \"\",\r\n otherAllowedExtensions: response.otherAllowedExtensions || \"\",\r\n azureAppClientId: response.azureAppClientId || \"\",\r\n clientTenantId: response.clientTenantId || \"\",\r\n adminUserGroupId: response.adminUserGroupId || \"\",\r\n editorUserGroupId: response.editorUserGroupId || \"\",\r\n enableCustomerSSO: response.enableCustomerSSO || false,\r\n clearUserData: response.clearUserData || false,\r\n numberOfInactivityDays: response.numberOfInactivityDays || 0,\r\n distinguishPersonalDataPosts: response.distinguishPersonalDataPosts,\r\n postValidDays: response.postValidDays || 730,\r\n personalDataPostValidDays: response.personalDataPostValidDays || 0,\r\n wayfinderInstanceId: response.wayfinderInstanceId,\r\n logLevels: response.logLevels || \"\",\r\n allowStockImages: response.allowStockImages || false\r\n };\r\n this.localApplicationSettings = JSON.parse(JSON.stringify(this.applicationSettings));\r\n\r\n if (this.applicationSettings.logLevels && this.applicationSettings.logLevels.length > 1) {\r\n this.logLevelsSelected = this.applicationSettings.logLevels.split(\", \");\r\n }\r\n });\r\n }\r\n\r\n onBeforeRouteLeave(to: Route, next: any) {\r\n if (this.nextRoute === \"\" && !this.saveClicked) {\r\n this.nextRoute = to.name ? to.name : \"\";\r\n this.routeParams = to.params;\r\n JSON.stringify(this.localApplicationSettings) === JSON.stringify(this.applicationSettings) ? next() : (this.$refs.UnsavedFormModal as any).open();\r\n } else {\r\n next();\r\n }\r\n }\r\n\r\n onContinue(data: boolean) {\r\n if (data) this.$router.push({ name: this.nextRoute, params: this.routeParams });\r\n this.nextRoute = \"\";\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_ApplicationSettings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_ApplicationSettings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./_ApplicationSettings.vue?vue&type=template&id=16251944&scoped=true&\"\nimport script from \"./_ApplicationSettings.vue?vue&type=script&lang=ts&\"\nexport * from \"./_ApplicationSettings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./_ApplicationSettings.vue?vue&type=style&index=0&id=16251944&scoped=true&lang=css&\"\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 \"16251944\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_ApplicationSettings.vue?vue&type=style&index=0&id=16251944&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_ApplicationSettings.vue?vue&type=style&index=0&id=16251944&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{attrs:{\"centered\":\"\",\"id\":\"modal-navigateFromUnsavedForm\"},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.confirm}},[_vm._v(_vm._s(_vm.$t(\"common.btnYesContinue\")))]),_c('b-button',{attrs:{\"variant\":\"dark\"},on:{\"click\":_vm.decline}},[_vm._v(_vm._s(_vm.$t(\"common.btnNo\")))])]},proxy:true}])},[_c('div',{staticClass:\"confirmation-modal-body\"},[_c('svg',{staticClass:\"vc-icon_xl ver-ar fill-danger\",attrs:{\"viewBox\":\"0 0 100 100\"}},[_c('use',{attrs:{\"xlink:href\":\"#delete-icon\"}})]),_c('h2',[_vm._v(_vm._s(_vm.$t(\"common.unsavedFormTitle\")))]),_c('small',[_vm._v(_vm._s(_vm.$t(\"common.unsavedFormDescription\")))])])])],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\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class UnsavedFormModal extends Vue {\r\n open() {\r\n this.$bvModal.show(\"modal-navigateFromUnsavedForm\");\r\n }\r\n\r\n decline() {\r\n this.$emit(\"continue\", false);\r\n this.$bvModal.hide(\"modal-navigateFromUnsavedForm\");\r\n }\r\n\r\n confirm() {\r\n this.$emit(\"continue\", true);\r\n this.$bvModal.hide(\"modal-navigateFromUnsavedForm\");\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnsavedFormModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnsavedFormModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UnsavedFormModal.vue?vue&type=template&id=f971da18&\"\nimport script from \"./UnsavedFormModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./UnsavedFormModal.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 mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActionButtons.vue?vue&type=style&index=0&id=1317f3f0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActionButtons.vue?vue&type=style&index=0&id=1317f3f0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"abg\",rawName:\"v-abg\"}],staticClass:\"actionButtonGroup\",class:{ sticky : _vm.sticky }},[(_vm.showSaveButton)?_c('b-button',{attrs:{\"disabled\":_vm.preventSave,\"variant\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(_vm._s(_vm.$t(\"common.save\")))]):_vm._e(),(_vm.showSaveButton && _vm.isAdmin)?_c('b-button',{attrs:{\"disabled\":_vm.preventSave,\"variant\":\"primary\"},on:{\"click\":_vm.saveAndBack}},[_vm._v(_vm._s(_vm.$t(\"common.saveAndBack\")))]):_vm._e(),(_vm.editorStatus && !_vm.isAdmin)?_c('b-button',{staticClass:\"btn-combine\",attrs:{\"disabled\":_vm.preventBack,\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('newPostBtn')}}},[_c('span',{staticClass:\"iconBox\"},[_c('svg',{staticClass:\"vc-icon\",attrs:{\"viewBox\":\"0 0 9.9 7.5\"}},[_c('use',{attrs:{\"xlink:href\":\"#plus-icon\"}})])]),_c('span',{staticClass:\"post-combine\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"posts.newPost\"))+\" \")])]):_vm._e(),(_vm.editorStatus && !_vm.isAdmin)?_c('b-button',{staticClass:\"btn-combine\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('previewEvent')}}},[_c('span',{staticClass:\"iconBox\"},[_c('svg',{staticClass:\"vc-icon\",attrs:{\"viewBox\":\"0 0 9 7\"}},[_c('use',{attrs:{\"xlink:href\":\"#preview-icon\"}})])]),_c('span',{staticClass:\"post-combine\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"common.preview\"))+\" \")])]):_vm._e(),_c('b-button',{staticClass:\"ml-1\",attrs:{\"disabled\":_vm.preventBack,\"variant\":\"secondary\"},on:{\"click\":_vm.back}},[_vm._v(_vm._s(_vm.$t(\"common.back\")))])],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\r\nimport { Component, Vue, Prop, Watch } from \"vue-property-decorator\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { HavePermition, PermitionEnum } from \"@/components/security/Permitions\";\r\n\r\nconst namespace: string = \"authentication\";\r\n\r\nvar scroll: any;\r\n\r\n@Component({\r\n directives: {\r\n abg: {\r\n inserted: function (element, binding, vnode) {\r\n var offset = (window.pageYOffset + element.getBoundingClientRect().top) - 50; // 50 is the height of the topbar\r\n scroll = function () {\r\n var doc = document.documentElement;\r\n var top = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);\r\n if (top >= offset) (vnode.context as any).sticky = true;\r\n else (vnode.context as any).sticky = false;\r\n };\r\n window.addEventListener(\"scroll\", scroll, false);\r\n },\r\n unbind: function (element, binding, vnode) {\r\n window.removeEventListener(\"scroll\", scroll, false);\r\n }\r\n }\r\n }\r\n})\r\nexport default class HeaderActionButtons extends Vue {\r\n @Prop() checkPermition!: PermitionEnum;\r\n @Prop({ default: false }) preventSave!: boolean;\r\n @Prop({ default: false }) preventBack!: boolean;\r\n @Getter(\"getCurrentUser\", { namespace }) getCurrentUser: any;\r\n\r\n // local\r\n permitionEnum = PermitionEnum;\r\n havePermition = HavePermition;\r\n editorStatus = false;\r\n\r\n get isAdmin() : boolean {\r\n return this.havePermition(this.getCurrentUser.permissions,\r\n this.permitionEnum[this.permitionEnum.AdminPrivilege]);\r\n }\r\n\r\n sticky = false;\r\n\r\n save() {\r\n if (!this.isAdmin) this.$emit(\"save\", true);\r\n else this.$emit(\"save\", false);\r\n }\r\n\r\n saveAndBack() {\r\n this.$emit(\"save\", true);\r\n }\r\n\r\n back() {\r\n this.$emit(\"back\");\r\n }\r\n\r\n // header component is detroyed and rebuilt in every page load\r\n // so watchers are unless in this case\r\n mounted() {\r\n this.editorStatus = this.$route.name === \"editorupdatechannel\";\r\n }\r\n\r\n get showSaveButton(): boolean {\r\n return this.checkPermition !== null && this.checkPermition !== undefined\r\n ? this.havePermition(this.getCurrentUser.permissions, this.permitionEnum[this.checkPermition]) : true;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActionButtons.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderActionButtons.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HeaderActionButtons.vue?vue&type=template&id=1317f3f0&scoped=true&\"\nimport script from \"./HeaderActionButtons.vue?vue&type=script&lang=ts&\"\nexport * from \"./HeaderActionButtons.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HeaderActionButtons.vue?vue&type=style&index=0&id=1317f3f0&scoped=true&lang=css&\"\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 \"1317f3f0\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}