{"version":3,"sources":["webpack:///../../../src/components/VDataTable/VSimpleTable.ts","webpack:///./src/views/pages/company/index/formBriefing/tabs/Highlights.vue?af91","webpack:///./src/views/pages/company/index/formBriefing/tabs/Dialogs/ManageHighlight.vue?25b7","webpack:///src/views/pages/company/index/formBriefing/tabs/Dialogs/ManageHighlight.vue","webpack:///./src/views/pages/company/index/formBriefing/tabs/Dialogs/ManageHighlight.vue?e395","webpack:///./src/views/pages/company/index/formBriefing/tabs/Dialogs/ManageHighlight.vue","webpack:///src/views/pages/company/index/formBriefing/tabs/Highlights.vue","webpack:///./src/views/pages/company/index/formBriefing/tabs/Highlights.vue?6cfd","webpack:///./src/views/pages/company/index/formBriefing/tabs/Highlights.vue","webpack:///./src/views/pages/DeleteConfirmationModal.vue?c9a0","webpack:///src/views/pages/DeleteConfirmationModal.vue","webpack:///./src/views/pages/DeleteConfirmationModal.vue?37e0","webpack:///./src/views/pages/DeleteConfirmationModal.vue","webpack:///../../../src/components/VForm/VForm.ts"],"names":["mixins","Themeable","extend","name","props","dense","Boolean","fixedHeader","height","Number","String","computed","classes","this","$slots","top","bottom","themeClasses","methods","genWrapper","wrapper","$createElement","staticClass","style","convertToUnit","default","render","h","class","_vm","_h","_c","_self","VBtn","attrs","on","$event","add_highlight_dialog","VIcon","_v","VSimpleTable","_s","$t","_l","highlight","index","key","gs","isJson","Text","Object","keys","JSON","parse","k","i","staticStyle","toUpperCase","edit_highlight_dialog","open_delete_dialog","VDialog","model","value","callback","$$v","dialog","expression","availableLangs","highlights","length","save_highlight","_e","delete_dialog","delete_obj","remove_highlight","staticRenderFns","VCard","VForm","ref","stopPropagation","preventDefault","add_highlight","VSelect","index_options","$set","VRow","VCol","AvailableLangs","required","selectedLang","VTextField","loading","$emit","components","data","apiService","Index","Highlight","HighlightCount","created","checkForm","obj","putRequest","then","catch","postRequest","component","DeleteConfirmationModal","ManageHighlight","company_id","error","edit","translatedHighlights","briefing_id","refresh_highlights","getRequest","deleteRequest","BriefingId","pt","CustomMessage","concat","alert","show","VAlert","type","message","delete_click","confirmed","localLoading","useLocalLoading","BindsAttrs","RegistrableProvide","provide","form","inheritAttrs","disabled","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","values","includes","deep","immediate","watchInput","input","watcher","$watch","_uid","valid","shouldValidate","hasOwnProperty","validate","filter","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","unwatch","$delete","novalidate","attrs$","submit","e"],"mappings":"4LAOeA,sBAAOC,QAAWC,OAAO,CACtCC,KAAM,iBAENC,MAAO,CACLC,MAAOC,QACPC,YAAaD,QACbE,OAAQ,CAACC,OAAQC,SAGnBC,SAAU,CACRC,QADQ,WAEN,OAAO,gBACL,sBAAuBC,KAAKR,MAC5B,+BAAgCQ,KAAKL,SAAWK,KAAKN,YACrD,6BAA8BM,KAAKN,YACnC,0BAA2BM,KAAKC,OAAOC,IACvC,6BAA8BF,KAAKC,OAAOE,QACvCH,KAAKI,gBAKdC,QAAS,CACPC,WADO,WAEL,OAAON,KAAKC,OAAOM,SAAWP,KAAKQ,eAAe,MAAO,CACvDC,YAAa,wBACbC,MAAO,CACLf,OAAQgB,eAAcX,KAAKL,UAE5B,CACDK,KAAKQ,eAAe,QAASR,KAAKC,OAAOW,aAK/CC,OAnCsC,SAmC9BC,GACN,OAAOA,EAAE,MAAO,CACdL,YAAa,eACbM,MAAOf,KAAKD,SACX,CACDC,KAAKC,OAAOC,IACZF,KAAKM,aACLN,KAAKC,OAAOE,a,6FC5CdU,EAAS,WAAa,IAAIG,EAAIhB,KAASiB,EAAGD,EAAIR,eAAmBU,EAAGF,EAAIG,MAAMD,IAAID,EAAG,OAAOC,EAAG,MAAM,CAACA,EAAG,MAAM,CAACT,YAAY,oBAAoB,CAACS,EAAGE,EAAA,KAAK,CAACC,MAAM,CAAC,MAAQ,UAAU,QAAU,GAAG,IAAM,GAAG,IAAM,GAAG,MAAQ,GAAG,SAAW,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ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ASc,EAAMd,QAC3D5I,KAAK6H,OAAS7H,KAAK6H,OAAOoB,QAAO,SAAAvG,GAAC,OAAIA,EAAEkG,OAASc,EAAMd,QACvD5I,KAAK6J,QAAQ7J,KAAK+H,SAAU2B,EAAMd,SAItC/H,OA3GO,SA2GCC,GAAC,WACP,OAAOA,EAAE,OAAQ,CACfL,YAAa,SACbY,MAAO,gBACLyI,YAAY,GACT9J,KAAK+J,QAEVzI,GAAI,CACF0I,OAAS,SAAAC,GAAD,OAAc,EAAKlF,MAAM,SAAUkF,MAE5CjK,KAAKC,OAAOW,a","file":"js/chunk-70931e34.80e3fdb2.js","sourcesContent":["import './VSimpleTable.sass'\n\nimport { convertToUnit } from '../../util/helpers'\nimport Themeable from '../../mixins/themeable'\nimport mixins from '../../util/mixins'\nimport { VNode } from 'vue'\n\nexport default mixins(Themeable).extend({\n name: 'v-simple-table',\n\n props: {\n dense: Boolean,\n fixedHeader: Boolean,\n height: [Number, String],\n },\n\n computed: {\n classes (): Record {\n return {\n 'v-data-table--dense': this.dense,\n 'v-data-table--fixed-height': !!this.height && !this.fixedHeader,\n 'v-data-table--fixed-header': this.fixedHeader,\n 'v-data-table--has-top': !!this.$slots.top,\n 'v-data-table--has-bottom': !!this.$slots.bottom,\n ...this.themeClasses,\n }\n },\n },\n\n methods: {\n genWrapper () {\n return this.$slots.wrapper || this.$createElement('div', {\n staticClass: 'v-data-table__wrapper',\n style: {\n height: convertToUnit(this.height),\n },\n }, [\n this.$createElement('table', this.$slots.default),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-data-table',\n class: this.classes,\n }, [\n this.$slots.top,\n this.genWrapper(),\n this.$slots.bottom,\n ])\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"text-center mt-8\"},[_c(VBtn,{attrs:{\"color\":\"primary\",\"rounded\":\"\",\"fab\":\"\",\"top\":\"\",\"right\":\"\",\"absolute\":\"\"},on:{\"click\":function($event){return _vm.add_highlight_dialog()}}},[_c(VIcon,{attrs:{\"large\":\"\"}},[_vm._v(\"mdi-plus\")])],1)],1),_c(VSimpleTable,[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.$t(\"text\")))]),_c('th',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t(\"edit\")))]),_c('th',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t(\"remove\")))])])]),_c('tbody',_vm._l((_vm.highlights),function(highlight,index){return _c('tr',{key:index},[_c('td',[(_vm.gs.isJson(highlight.Text))?_c('div',_vm._l((Object.keys(JSON.parse(highlight.Text))),function(k,i){return _c('p',{key:i,staticClass:\"mb-1\"},[_c('b',{staticStyle:{\"font-weight\":\"bold\"}},[_vm._v(_vm._s(((k.toUpperCase()) + \": \")))]),_vm._v(_vm._s((\"\" + (JSON.parse(highlight.Text)[k])))+\" \")])}),0):_c('span',[_vm._v(_vm._s(highlight.Text))])]),_c('td',{staticClass:\"text-center\"},[_c(VBtn,{staticClass:\"px-2 ml-1 secondary\",attrs:{\"min-width\":\"0\",\"small\":\"\"},on:{\"click\":function($event){return _vm.edit_highlight_dialog(highlight)}}},[_c(VIcon,{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-pencil\")])],1)],1),_c('td',{staticClass:\"text-center\"},[_c(VBtn,{staticClass:\"px-2 ml-1\",attrs:{\"color\":\"red\",\"min-width\":\"0\",\"small\":\"\"},on:{\"click\":function($event){return _vm.open_delete_dialog(highlight)}}},[_c(VIcon,{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-trash-can\")])],1)],1)])}),0)]),(_vm.dialog)?_c(VDialog,{model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('ManageHighlight',{attrs:{\"AvailableLangs\":_vm.availableLangs,\"Highlight\":_vm.highlight,\"HighlightCount\":_vm.highlights.length},on:{\"close\":function($event){_vm.dialog = false},\"save\":_vm.save_highlight}})],1):_vm._e(),(_vm.delete_dialog)?_c(VDialog,{model:{value:(_vm.delete_dialog),callback:function ($$v) {_vm.delete_dialog=$$v},expression:\"delete_dialog\"}},[_c('DeleteConfirmationModal',{attrs:{\"obj\":_vm.delete_obj,\"name\":_vm.$t('this_highlight')},on:{\"close\":function($event){_vm.delete_dialog = false},\"delete\":_vm.remove_highlight}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,[_c(VCardTitle,[_c('h4',{staticClass:\"dxa_modal_title h4\"},[_vm._v(_vm._s(_vm.$t(\"manage_highlights\")))])]),_c(VCardText,[_c(VForm,{ref:\"form\",staticClass:\"mt-5\",on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.add_highlight()}}},[_c(VSelect,{attrs:{\"items\":_vm.index_options,\"label\":_vm.$t('index'),\"outlined\":\"\"},model:{value:(_vm.highlight.Index),callback:function ($$v) {_vm.$set(_vm.highlight, \"Index\", $$v)},expression:\"highlight.Index\"}}),_c(VRow,[_c(VCol,{attrs:{\"cols\":\"1\"}},[_c(VSelect,{attrs:{\"items\":_vm.AvailableLangs,\"label\":_vm.$t('language'),\"rules\":[_vm.required],\"outlined\":\"\"},model:{value:(_vm.selectedLang),callback:function ($$v) {_vm.selectedLang=$$v},expression:\"selectedLang\"}})],1),_c(VCol,{attrs:{\"cols\":\"11\"}},[_c(VTextField,{attrs:{\"label\":_vm.$t('text'),\"rules\":[_vm.required]},model:{value:(_vm.highlight.Text[_vm.selectedLang]),callback:function ($$v) {_vm.$set(_vm.highlight.Text, _vm.selectedLang, $$v)},expression:\"highlight.Text[selectedLang]\"}})],1)],1),_c(VCardActions,[_c(VBtn,{staticClass:\"dxa_modal_btnSuccess\",attrs:{\"color\":\"primary\",\"min-width\":\"100\",\"loading\":_vm.loading,\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t(\"save\")))]),_c(VBtn,{staticClass:\"dxa_modal_btnError\",attrs:{\"color\":\"red\",\"min-width\":\"100\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(_vm._s(_vm.$t(\"cancel\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageHighlight.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageHighlight.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ManageHighlight.vue?vue&type=template&id=11a1e4fa&\"\nimport script from \"./ManageHighlight.vue?vue&type=script&lang=js&\"\nexport * from \"./ManageHighlight.vue?vue&type=script&lang=js&\"\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","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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Highlights.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Highlights.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Highlights.vue?vue&type=template&id=0113c1f0&\"\nimport script from \"./Highlights.vue?vue&type=script&lang=js&\"\nexport * from \"./Highlights.vue?vue&type=script&lang=js&\"\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 { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,{staticClass:\"dxa_modal\"},[_c(VCardTitle,[(_vm.CustomMessage)?_c('h4',{staticClass:\"dxa_modal_title h4\"},[_vm._v(\" \"+_vm._s(_vm.CustomMessage)+\" \"+_vm._s(_vm.name != null ? _vm.name.concat(\"?\") : \"?\")+\" \")]):_c('h4',{staticClass:\"dxa_modal_title h4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"delete_confirmation\"))+_vm._s(_vm.name != null ? _vm.name.concat(\"?\") : \"?\")+\" \")])]),(_vm.alert && _vm.alert.show)?_c('div',{staticClass:\"mt-5\",staticStyle:{\"padding-left\":\"15px\",\"padding-right\":\"15px\"}},[_c(VAlert,{staticStyle:{\"padding\":\"12px\"},attrs:{\"dense\":\"\",\"outlined\":\"\",\"type\":_vm.alert.type}},[_vm._v(\" \"+_vm._s(_vm.$t(_vm.alert.message))+\" \")])],1):_vm._e(),_c(VCardText,[_c(VCardActions,[_c(VBtn,{staticClass:\"dxa_modal_btnSuccess\",attrs:{\"data-test\":\"DeleteConfirmationModal:BtnConfirm\",\"color\":\"primary\",\"min-width\":\"100\",\"loading\":_vm.loading},on:{\"click\":_vm.delete_click}},[_vm._v(_vm._s(_vm.$t(\"ok\")))]),_c(VBtn,{staticClass:\"dxa_modal_btnError\",attrs:{\"color\":\"red\",\"min-width\":\"100\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(_vm._s(_vm.$t(\"cancel\")))])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteConfirmationModal.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeleteConfirmationModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DeleteConfirmationModal.vue?vue&type=template&id=47dc0e8a&scoped=true&\"\nimport script from \"./DeleteConfirmationModal.vue?vue&type=script&lang=js&\"\nexport * from \"./DeleteConfirmationModal.vue?vue&type=script&lang=js&\"\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 \"47dc0e8a\",\n null\n \n)\n\nexport default component.exports","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, this.$slots.default)\n },\n})\n"],"sourceRoot":""}