{"version":3,"sources":["webpack:///./src/components/common/attachments/Attachments.vue","webpack:///./src/api/attachments.api.js","webpack:///src/components/common/attachments/Attachments.vue","webpack:///./src/components/common/attachments/Attachments.vue?5bd6","webpack:///./src/components/common/attachments/Attachments.vue?05fe","webpack:///./src/pages/scopes/scope/help_configuration/index.vue?d7ea","webpack:///./src/api/helpContent.api.js","webpack:///./src/components/common/attachments/Attachments.vue?cf7e","webpack:///./src/pages/scopes/scope/help_configuration/index.vue","webpack:///src/pages/scopes/scope/help_configuration/index.vue","webpack:///./src/pages/scopes/scope/help_configuration/index.vue?badc","webpack:///./src/pages/scopes/scope/help_configuration/index.vue?277a"],"names":["render","_vm","this","_c","_self","attrs","scopedSlots","_u","key","fn","_v","_s","$t","$getConst","pages","common","attachments","editable","staticClass","on","selectFile","_e","class","icons","add","proxy","fileInfos","length","_l","file","index","content","name","formatBytes","size","percentage","style","isDeleting","$event","deleteAttachment","id","close","staticRenderFns","uploadAttachment","scope_id","entity_type","entity_id","attachment","onUploadProgress","formData","FormData","append","httpClient","post","headers","attachment_id","delete","props","scopeId","entityType","entityId","type","default","data","selectedFiles","progressInfos","methods","upload","then","catch","d","component","endPoint","languageId","getScopeLanguagesWithDefaultHelp","get","getScopeLanguageHelpContent","language_id","updateScopeHelpContent","help_id","help","put","help_content","showOverview","domProps","helpContentToEdit","help_configuration","help_configuration_page_title","help_configuration_language_label","form","select_option","languages","isSubmitting","isLoading","getHelpContent","option","code","_f","toLowerCase","model","value","language","callback","$$v","expression","slot","alerts","no_results_found","$v","$error","customModulesForEditor","editorSettings","toolbarOptions","$model","$set","trim","helpEntity","helpId","help_configuration_overview","hasPermission","permissions","writeHelpContents","button","cancel_changes","onSave","onReset","components","Attachments","AppSpinner","AppFormFeedback","AppConfirmButtons","AppSection","VueEditor","alias","module","modules","imageResize","helpContent","validations","required","getScopeLanguages","created"],"mappings":"gIAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OA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IW,GAAGX,EAAIY,UAAUC,MAAMwE,mBAAmBgC,+BAA+B,YAAuBrH,EAAI4F,UAAoQ5F,EAAIoB,KAA7PlB,EAAG,oBAAoB,CAACE,MAAM,CAAC,eAAeJ,EAAIsH,cAAcrH,KAAKW,UAAU2G,YAAYC,mBAAmB,cAAcxH,EAAIY,UAAUC,MAAM4G,OAAOC,eAAe,aAAa1H,EAAI2F,cAAczE,GAAG,CAAC,SAAWlB,EAAI2H,OAAO,SAAW3H,EAAI4H,WAAqB5H,EAAI4F,UAAW1F,EAAG,aAAa,CAACe,YAAY,8BAA8Bb,MAAM,CAAC,KAAO,OAAOJ,EAAIoB,MAAM,IAAI,IAE13GqB,EAAkB,G,qHC8GtB,GACAV,aACA8F,YAAAC,mBAAAC,kBAAAC,uBAAAC,yBAAAC,kBAAAC,kBACA3E,OACAb,eAEAmB,gBACA,OACA+C,yBAAAuB,oBAAAC,aACAtB,gBACA,uCACA,4BACA,mCACA,kCACA,kFACA,0BAEAD,gBACAwB,SACAC,iBAIArD,gBACAsD,iBACArB,kBACAC,YACAhC,uBACAgB,cACAV,aACA3E,eACA6E,aACAD,kBAGA8C,aACArD,mBAAAsD,yBAEAzE,SACA0E,6BAAA,WACA,kBACAlE,oCACA,YACA,mBACA,oFACA,aACA,2BAEA,4BACA,sCACA,qCACA,4CACA,kBAEA,YACA,oBACA,mBAIAoB,2BAAA,WACA,kBACAlB,yCACA,YACA,2BACA,wBACA,kCACA,iCACA,wCACA,kBAEA,YACA,oBACA,mBAIAgD,kBAAA,WACA,qBACA9C,uEACA,YACA,kCACA,kBACA,wEAEA,YACA,oBACA,sBAIA+C,mBACA,0CAGAgB,mBACA,2BChN4X,I,wBCQxXtE,EAAY,eACd,EACAvE,EACA0C,GACA,EACA,KACA,WACA,MAIa,aAAA6B,E","file":"js/chunk-4dc08d2e.a77a331c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-form-group',{attrs:{\"label-for\":\"attachments-input\",\"label-class\":\"mb-0\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.common.attachments)))]),(_vm.editable)?_c('input',{staticClass:\"input-file\",attrs:{\"multiple\":\"\",\"type\":\"file\",\"name\":\"file\",\"id\":\"file\",\"accept\":\".jpeg,.jpg,.png,.pdf,.xlsx,.xls,.dot,.doc,.docx,.eml\"},on:{\"change\":_vm.selectFile}}):_vm._e(),(_vm.editable)?_c('label',{staticClass:\"mb-0 d-inline bg-transparent text-primary p-0 border-0 pl-2\",attrs:{\"for\":\"file\"}},[_c('i',{class:_vm.$getConst.icons.add})]):_vm._e()]},proxy:true}])},[(_vm.fileInfos.length)?_c('ul',{staticClass:\"list-group list-group-flush\"},_vm._l((_vm.fileInfos),function(file,index){return _c('li',{staticClass:\"list-group-item px-0 bg-transparent\"},[_c('div',{staticClass:\"align-box-row\"},[_c('div',{staticClass:\"col-7 mr-md-4 px-3 px-md-4\"},[(file.content)?_c('a',{staticClass:\"font-weight-bold\",attrs:{\"download\":file.name,\"href\":file.content,\"target\":\"_blank\"}},[_vm._v(_vm._s(file.name)+\" \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"(\"+_vm._s(_vm.formatBytes(file.size))+\")\")])]):_c('span',{staticClass:\"text-primary font-weight-bold\"},[_vm._v(_vm._s(file.name)+\" \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"(\"+_vm._s(_vm.formatBytes(file.size))+\")\")])])]),_c('div',{staticClass:\"col-4 px-3 px-md-4\"},[('percentage' in file && file.percentage !== null)?_c('div',{staticClass:\"progress ml-auto\"},[_c('div',{staticClass:\"progress-bar bg-secondary\",style:('width:'+ file.percentage+'%'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":file.percentage,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_vm._v(\"\\n \"+_vm._s(file.percentage)+\"%\\n \")])]):_vm._e()]),(_vm.editable)?_c('div',{staticClass:\"col-1 px-0 pr-3 pr-md-4 line-height-sm text-center\"},[('isDeleting' in file && file.isDeleting)?_c('b-spinner',{attrs:{\"type\":\"grow\",\"small\":\"\",\"variant\":\"danger\"}}):_c('b-link',{staticClass:\"text-danger\",on:{\"click\":function($event){return _vm.deleteAttachment(file.id)}}},[_c('i',{class:_vm.$getConst.icons.close})])],1):_vm._e()])])}),0):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import httpClient from './_httpClient';\n\nconst uploadAttachment = (scope_id, entity_type, entity_id, attachment, onUploadProgress) => {\n let formData = new FormData();\n\n formData.append(\"file\", attachment);\n return httpClient.post(\n \"/scopes/\" + scope_id + \"/\" + entity_type + \"/\" + entity_id + \"/attachments\",\n formData,\n {\n headers: {\n \"Content-Type\": \"multipart/form-data\"\n },\n onUploadProgress\n });\n };\n\nconst deleteAttachment = (scope_id, entity_type, entity_id, attachment_id) => httpClient.delete(\"/scopes/\" + scope_id + \"/\" + entity_type + \"/\" + entity_id + \"/attachments/\" + attachment_id);\n\nexport {\n uploadAttachment,\n deleteAttachment\n}\n","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Attachments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Attachments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Attachments.vue?vue&type=template&id=47578688&scoped=true&\"\nimport script from \"./Attachments.vue?vue&type=script&lang=js&\"\nexport * from \"./Attachments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Attachments.vue?vue&type=style&index=0&id=47578688&prod&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 \"47578688\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/index.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!./index.vue?vue&type=style&index=0&id=ff9339d8&prod&scoped=true&lang=css&\"","import httpClient from './_httpClient';\n\nfunction endPoint(scopeId, languageId = null) {\n let endPoint = \"/scopes\";\n languageId ? endPoint+=\"/\" + scopeId+'/languages/'+languageId+'/help' : endPoint+=\"/\" + scopeId+'/help'\n\n return endPoint;\n}\n\nconst getScopeLanguagesWithDefaultHelp = (scope_id) => httpClient.get(endPoint(scope_id));\nconst getScopeLanguageHelpContent = (scope_id, language_id) => httpClient.get(endPoint(scope_id, language_id));\nconst updateScopeHelpContent = (scope_id, help_id, help) => httpClient.put(\"/scopes/\" + scope_id + \"/help/\" + help_id, {help_content: help});\n\nexport {\n getScopeLanguagesWithDefaultHelp,\n getScopeLanguageHelpContent,\n updateScopeHelpContent\n}\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.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!./Attachments.vue?vue&type=style&index=0&id=47578688&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-overlay',{attrs:{\"show\":_vm.showOverview,\"no-center\":\"\",\"rounded\":\"sm\",\"opacity\":\"1\",\"variant\":\"light\"},scopedSlots:_vm._u([{key:\"overlay\",fn:function(){return [_c('AppSection',{staticClass:\"p-2\",attrs:{\"id\":\"help-page-overview\",\"type\":\"section\",\"title\":\"overview\",\"button\":true,\"button-icon\":_vm.$getConst.icons.close,\"button-variant\":\"danger\",\"button-size\":\"sm\"},on:{\"onClick\":function($event){_vm.showOverview = !_vm.showOverview}}},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.helpContentToEdit)}})])]},proxy:true}])},[_c('AppSection',{attrs:{\"id\":\"question-form-page\",\"title\":_vm.$getConst.pages.help_configuration.help_configuration_page_title,\"type\":\"section\",\"select-language\":\"\"}},[_c('b-form-group',{attrs:{\"id\":\"help-page-language\",\"label\":_vm.$t(_vm.$getConst.pages.help_configuration.help_configuration_language_label),\"label-for\":\"help-page-language-input\"}},[_c('multiselect',{staticClass:\"border-right-0 border-left-0\",attrs:{\"track-by\":\"id\",\"label\":\"name\",\"placeholder\":_vm.$t(this.$getConst.pages.form.select_option),\"options\":_vm.languages,\"disabled\":_vm.isSubmitting || _vm.isLoading,\"allowEmpty\":false},on:{\"input\":_vm.getHelpContent},scopedSlots:_vm._u([{key:\"singleLabel\",fn:function(props){return [_c('lang-flag',{staticClass:\"mr-2\",attrs:{\"iso\":props.option.code,\"squared\":false}}),_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(props.option.name)))+\"\\n \")]}},{key:\"option\",fn:function(props){return [_c('lang-flag',{staticClass:\"mr-2\",attrs:{\"iso\":props.option.code,\"squared\":false}}),_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(props.option.name.toLowerCase())))+\"\\n \")]}}]),model:{value:(_vm.language),callback:function ($$v) {_vm.language=$$v},expression:\"language\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])])],1),(!_vm.isLoading)?_c('vue-editor',{staticClass:\"mb-4\",class:{ 'is-invalid': _vm.$v.helpContentToEdit.$error },attrs:{\"disabled\":_vm.isSubmitting,\"customModules\":_vm.customModulesForEditor,\"editorOptions\":_vm.editorSettings,\"editorToolbar\":_vm.toolbarOptions},model:{value:(_vm.$v.helpContentToEdit.$model),callback:function ($$v) {_vm.$set(_vm.$v.helpContentToEdit, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.helpContentToEdit.$model\"}}):_vm._e(),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.helpContentToEdit}}),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12\"},[(!_vm.isLoading)?_c('Attachments',{attrs:{\"scope-id\":this.scope_id,\"entity-type\":this.helpEntity,\"entity-id\":this.helpId,\"file-infos\":_vm.attachments}}):_vm._e()],1)]),(!_vm.isLoading)?_c('a',{staticClass:\"d-block text-center text-uppercase font-weight-bold text-secondary pt-3\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.showOverview = !_vm.showOverview}}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.help_configuration.help_configuration_overview)))+\"\\n \")]):_vm._e(),(!_vm.isLoading)?_c('AppConfirmButtons',{attrs:{\"first-button\":_vm.hasPermission(this.$getConst.permissions.writeHelpContents),\"cancel-text\":_vm.$getConst.pages.button.cancel_changes,\"is-loading\":_vm.isSubmitting},on:{\"onSubmit\":_vm.onSave,\"onCancel\":_vm.onReset}}):_vm._e(),(_vm.isLoading)?_c('AppSpinner',{staticClass:\"mx-auto mt-5 text-secondary\",attrs:{\"size\":\"5\"}}):_vm._e()],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=ff9339d8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=ff9339d8&prod&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 \"ff9339d8\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}