{"version":3,"sources":["webpack:///./src/components/common/attachments/Attachments.vue?37a9","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","webpack:///./src/pages/scopes/scope/email_templates/index.vue?df95","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateSlide.vue?dca2","webpack:///./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js","webpack:///./src/components/common/attachments/Attachments.vue?83ba","webpack:///./src/pages/scopes/scope/email_templates/index.vue?a254","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateOverview.vue?d8c9","webpack:///src/pages/scopes/scope/email_templates/emailTemplateOverview.vue","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateOverview.vue?0f3d","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateOverview.vue","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateSlide.vue?8af4","webpack:///src/pages/scopes/scope/email_templates/emailTemplateSlide.vue","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateSlide.vue?b233","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateSlide.vue","webpack:///./src/api/emailTemplates.api.js","webpack:///src/pages/scopes/scope/email_templates/index.vue","webpack:///./src/pages/scopes/scope/email_templates/index.vue?f55a","webpack:///./src/pages/scopes/scope/email_templates/index.vue","webpack:///./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack:///./node_modules/core-js/modules/_own-keys.js","webpack:///./src/pages/scopes/scope/email_templates/emailTemplateOverview.vue?9745"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","scopedSlots","_u","key","fn","_v","_s","$t","$getConst","pages","common","attachments","staticClass","on","selectFile","_e","class","icons","add","proxy","fileInfos","_l","file","index","name","content","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","component","$Object","Object","module","exports","it","desc","defineProperty","$export","S","F","f","email_template_configuration","email_template_page_title","templatesTypeTitle","isLoading","isSubmitting","templateNames","getTemplates","templates","length","template_language_label","form","select_option","languages","selectTemplate","props","option","code","_f","toLowerCase","model","value","callback","$$v","language","expression","slot","alerts","no_results_found","email_refer_label","$v","emailTemplateForm","refer","$error","email_refer_placeholder","$set","trim","email_subject_label","subject","email_subject_placeholder","email_title_label","title","email_title_placeholder","email_subtitle_label","subtitle","email_subtitle_placeholder","email_introduction_label","ref","introduction","email_introduction_placeholder","toolbarOptions","toolbar_variables","variable","addVariable","label","display_item_details","email_button_description_label","button_description","email_button_description_placeholder","button_type","buttons_enabled","directives","rawName","modifiers","domProps","target","composing","$forceUpdate","email_ending_label","ending","email_ending_placeholder","emailTemplateEntity","templateType","general_email_templates_names","account_creation","email_confirmation","timesheets_email_templates_names","timesheet_rejected","templateTypeIsInvoice","invoices_email_templates_names","weekly_timesheet_data","import_invoices_report_is_ready","import_timesheets_report_is_ready","type","no_template_selected_message","hasPermission","permissions","writeEmailTemplate","readEmailTemplate","test_email_button","$invalid","save","testTemplate","_defineProperty","obj","enumerable","configurable","writable","staticStyle","footer","isFreelancerTemplate","images","logo_default","emailTemplateOverviewContent","invoicesEmailTemplateOverviewContent","timesheetDataEmailTemplateOverviewContent","emailTemplateOverviewComment","invoicesImportReportOverviewContent","timesheetsImportReportOverviewContent","button_review_color","button_review_label","button_approve_color","button_approve_label","button_reject_color","button_reject_label","button_principal_color","button_principal_label","slickOptions","template","selected","select","getTemplatesByScopeAndType","scopeId","get","setEmailTemplate","templateId","templateData","put","sendTestMail","ownKeys","toIObject","gOPD","createProperty","getOwnPropertyDescriptors","object","O","getDesc","keys","result","i","undefined","gOPN","gOPS","anObject","Reflect","getSymbols","concat"],"m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AZ,GACU,UAAV,CAAY,OAAZ,EAAY,SAAZ,IAIM,KAAN,yBAEI,eAnKJ,SAmKA,GACM,KAAN,mDAAQ,OAAR,wBACM,KAAN,yBAEI,sBAvKJ,WAwKM,IAAN,8BACQ,KAAR,iFAIE,MAAF,CACI,gBAAJ,CACM,MAAN,EACM,QAFN,SAEA,KACQ,IAAR,8BACA,eACY,KAAZ,6CACY,KAAZ,uDC/kB4X,ICQxX,G,UAAY,eACd,EACAlM,EACA0C,GACA,EACA,KACA,KACA,OAIa,e,gCClBf,IAAIuB,EAAU,EAAQ,QAClBoI,EAAU,EAAQ,QAClBC,EAAY,EAAQ,QACpBC,EAAO,EAAQ,QACfC,EAAiB,EAAQ,QAE7BvI,EAAQA,EAAQC,EAAG,SAAU,CAC3BuI,0BAA2B,SAAmCC,GAC5D,IAKIhM,EAAKqD,EALL4I,EAAIL,EAAUI,GACdE,EAAUL,EAAKnI,EACfyI,EAAOR,EAAQM,GACfG,EAAS,GACTC,EAAI,EAER,MAAOF,EAAKhI,OAASkI,EACnBhJ,EAAO6I,EAAQD,EAAGjM,EAAMmM,EAAKE,WAChBC,IAATjJ,GAAoByI,EAAeM,EAAQpM,EAAKqD,GAEtD,OAAO+I,M,uBClBX,IAAIG,EAAO,EAAQ,QACfC,EAAO,EAAQ,QACfC,EAAW,EAAQ,QACnBC,EAAU,EAAQ,QAAaA,QACnCxJ,EAAOC,QAAUuJ,GAAWA,EAAQf,SAAW,SAAiBvI,GAC9D,IAAI+I,EAAOI,EAAK7I,EAAE+I,EAASrJ,IACvBuJ,EAAaH,EAAK9I,EACtB,OAAOiJ,EAAaR,EAAKS,OAAOD,EAAWvJ,IAAO+I,I,yDCRpD,W","file":"js/chunk-4227ceb0.db08dc97.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;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()])}\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&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&lang=css&\"","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\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!./emailTemplateSlide.vue?vue&type=style&index=0&id=34b93ddc&scoped=true&lang=css&\"","module.exports = require(\"core-js/library/fn/object/define-property\");","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&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppSection',{attrs:{\"id\":\"email-templates-page\",\"title\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_template_page_title),\"type\":\"section\",\"select-language\":\"\"}},[_c('AppSection',{attrs:{\"id\":\"email-templates-type\",\"type\":\"sub-section-1\",\"title\":_vm.templatesTypeTitle}},[_c('b-overlay',{attrs:{\"show\":_vm.isLoading || _vm.isSubmitting},scopedSlots:_vm._u([{key:\"overlay\",fn:function(){return [_c('AppSpinner',{staticClass:\"text-secondary\",attrs:{\"size\":\"5\"}})]},proxy:true}])},[_c('b-row',[_c('b-col',[_c('EmailTemplateSlide',{attrs:{\"template-names\":_vm.templateNames},on:{\"onSelect\":_vm.getTemplates}})],1)],1),_c('hr',{staticClass:\"w-75 mb-4\"}),_c('b-row',[(!_vm.templates.length && !_vm.isLoading)?_c('b-col',[_c('h4',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.email_template_configuration.no_template_selected_message))))])]):[_c('b-col',{attrs:{\"md\":\"6\"}},[_c('b-form-group',{attrs:{\"id\":\"template-language\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.template_language_label),\"label-class\":\"my-auto\",\"label-cols\":\"4\",\"label-for\":\"template-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:{\"select\":_vm.selectTemplate},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),_c('hr'),_c('b-form-group',{attrs:{\"id\":\"refer\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_refer_label) + ' *',\"label-for\":\"refer-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.emailTemplateForm.refer.$error },attrs:{\"id\":\"refer-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_refer_placeholder) + ' *',\"size\":\"lg\",\"required\":\"\",\"disabled\":\"\"},model:{value:(_vm.$v.emailTemplateForm.refer.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.refer, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.refer.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.refer}})],1),_c('b-form-group',{attrs:{\"id\":\"subject\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_subject_label) + ' *',\"label-for\":\"subject-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.emailTemplateForm.subject.$error },attrs:{\"id\":\"subject-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_subject_placeholder) + ' *',\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.emailTemplateForm.subject.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.subject, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.subject.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.subject}})],1),_c('hr'),_c('b-form-group',{attrs:{\"id\":\"title\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_title_label) + ' *',\"label-for\":\"title-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.emailTemplateForm.title.$error },attrs:{\"id\":\"title-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_title_placeholder) + ' *',\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.emailTemplateForm.title.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.title, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.title.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.title}})],1),_c('b-form-group',{attrs:{\"id\":\"subtitle\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_subtitle_label),\"label-for\":\"subtitle-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.emailTemplateForm.subtitle.$error },attrs:{\"id\":\"subtitle-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_subtitle_placeholder),\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.emailTemplateForm.subtitle.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.subtitle, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.subtitle.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.subtitle}})],1),_c('b-form-group',{attrs:{\"id\":\"introduction\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_introduction_label) + ' *',\"label-for\":\"introduction-input\"}},[(!_vm.isLoading)?_c('vue-editor',{ref:\"introduction\",class:{ 'is-invalid': _vm.$v.emailTemplateForm.introduction.$error },attrs:{\"id\":\"introduction-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_introduction_placeholder) + ' *',\"disabled\":_vm.isSubmitting,\"editorToolbar\":_vm.toolbarOptions},scopedSlots:_vm._u([{key:\"toolbar\",fn:function(){return [_c('div',{staticClass:\"ql-toolbar ql-snow\"},[_c('button',{staticClass:\"custom-disabled\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.email_template_configuration.toolbar_variables))+\": \")]),_vm._l((_vm.variables),function(variable){return _c('button',{staticClass:\"w-auto border-right\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addVariable('introduction', variable.value)}}},[_vm._v(\"\\n \"+_vm._s(variable.label)+\"\\n \")])})],2)]},proxy:true}],null,false,3180148668),model:{value:(_vm.$v.emailTemplateForm.introduction.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.introduction, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.introduction.$model\"}}):_vm._e(),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.introduction}})],1),(_vm.displayItemDetailsCheckBox)?_c('b-form-group',[_c('b-form-checkbox',{attrs:{\"switch\":\"\"},model:{value:(_vm.$v.emailTemplateForm.display_item_details.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.display_item_details, \"$model\", $$v)},expression:\"$v.emailTemplateForm.display_item_details.$model\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.email_template_configuration.display_item_details))+\"\\n \")])],1):_vm._e(),_c('b-form-group',{attrs:{\"id\":\"button-description\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_button_description_label),\"label-for\":\"button-description-input\"}},[(!_vm.isLoading)?_c('vue-editor',{ref:\"buttonDescription\",class:{ 'is-invalid': _vm.$v.emailTemplateForm.button_description.$error },attrs:{\"id\":\"button-description-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_button_description_placeholder),\"disabled\":_vm.isSubmitting,\"editorToolbar\":_vm.toolbarOptions},scopedSlots:_vm._u([{key:\"toolbar\",fn:function(){return [_c('div',{staticClass:\"ql-toolbar ql-snow\"},[_c('button',{staticClass:\"custom-disabled\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.email_template_configuration.toolbar_variables))+\": \")]),_vm._l((_vm.variables),function(variable){return _c('button',{staticClass:\"border-right w-auto\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addVariable('buttonDescription', variable.value)}}},[_vm._v(\"\\n \"+_vm._s(variable.label)+\"\\n \")])})],2)]},proxy:true}],null,false,1033918476),model:{value:(_vm.$v.emailTemplateForm.button_description.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.button_description, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.button_description.$model\"}}):_vm._e(),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.button_description}})],1),_vm._l((_vm.buttons_enabled),function(value,button_type){return [(value.exist)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"d-flex justify-content-between\"},[_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.email_template_configuration['email_button_'+button_type])))]),_c('b-form-checkbox',{staticClass:\"d-inline\",attrs:{\"switch\":\"\",\"size\":\"lg\"},model:{value:(_vm.buttons_enabled[button_type].enabled),callback:function ($$v) {_vm.$set(_vm.buttons_enabled[button_type], \"enabled\", $$v)},expression:\"buttons_enabled[button_type].enabled\"}})],1),(value.enabled)?_c('div',{staticClass:\"d-flex btn-inputs\",class:{ 'is-invalid': _vm.$v.emailTemplateForm['button_'+button_type+'_label'].$error }},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.emailTemplateForm['button_'+button_type+'_color'].$model),expression:\"$v.emailTemplateForm['button_'+button_type+'_color'].$model\",modifiers:{\"trim\":true}}],staticClass:\"form-control-lg form-control-color mr-2\",attrs:{\"type\":\"color\"},domProps:{\"value\":(_vm.$v.emailTemplateForm['button_'+button_type+'_color'].$model)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.emailTemplateForm['button_'+button_type+'_color'], \"$model\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('b-form-input',{staticClass:\"flex-grow-1\",class:{ 'is-invalid': _vm.$v.emailTemplateForm['button_'+button_type+'_label'].$error },attrs:{\"id\":'button-'+button_type+'-input',\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration['email_button_'+button_type+'_label_placeholder']),\"size\":\"lg\"},model:{value:(_vm.$v.emailTemplateForm['button_'+button_type+'_label'].$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm['button_'+button_type+'_label'], \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm['button_'+button_type+'_label'].$model\"}})],1):_vm._e(),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm['button_'+button_type+'_label']}})],1):_vm._e()]}),_c('b-form-group',{attrs:{\"id\":\"ending\",\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_ending_label) + ' *',\"label-for\":\"ending-input\"}},[(!_vm.isLoading)?_c('vue-editor',{ref:\"ending\",class:{ 'is-invalid': _vm.$v.emailTemplateForm.ending.$error },attrs:{\"id\":\"ending-input\",\"placeholder\":_vm.$t(_vm.$getConst.pages.email_template_configuration.email_ending_placeholder) + ' *',\"disabled\":_vm.isSubmitting,\"editorToolbar\":_vm.toolbarOptions},scopedSlots:_vm._u([{key:\"toolbar\",fn:function(){return [_c('div',{staticClass:\"ql-toolbar ql-snow\"},[_c('button',{staticClass:\"custom-disabled\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.email_template_configuration.toolbar_variables))+\": \")]),_vm._l((_vm.variables),function(variable){return _c('button',{staticClass:\"w-auto border-right\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addVariable('ending', variable.value)}}},[_vm._v(\"\\n \"+_vm._s(variable.label)+\"\\n \")])})],2)]},proxy:true}],null,false,847768307),model:{value:(_vm.$v.emailTemplateForm.ending.$model),callback:function ($$v) {_vm.$set(_vm.$v.emailTemplateForm.ending, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.emailTemplateForm.ending.$model\"}}):_vm._e(),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.emailTemplateForm.ending}})],1),(!_vm.isLoading)?_c('Attachments',{attrs:{\"scope-id\":this.scope_id,\"entity-type\":this.emailTemplateEntity,\"entity-id\":this.emailTemplateForm.id,\"file-infos\":this.emailTemplateForm.attachments,\"label\":_vm.$t(_vm.$getConst.pages.email_template_configuration.attachments)}}):_vm._e()],2),_c('b-col',{attrs:{\"md\":\"6\"}},[_c('EmailTemplateOverview',{attrs:{\"display-table\":_vm.templateType !== this.$getConst.pages.general_email_templates_names.account_creation &&\n _vm.templateType !== this.$getConst.pages.general_email_templates_names.email_confirmation &&\n _vm.templateType !== this.$getConst.pages.timesheets_email_templates_names.timesheet_rejected &&\n (!_vm.templateTypeIsInvoice)\n && _vm.templateType !== this.$getConst.pages.invoices_email_templates_names.weekly_timesheet_data\n && _vm.templateType !== this.$getConst.pages.invoices_email_templates_names.import_invoices_report_is_ready\n && _vm.templateType !== this.$getConst.pages.invoices_email_templates_names.import_timesheets_report_is_ready,\"display-comment\":_vm.templateType === this.$getConst.pages.timesheets_email_templates_names.timesheet_rejected,\"display-invoice-table\":_vm.emailTemplateForm.display_item_details && _vm.templateTypeIsInvoice,\"display-timesheet-data-table\":_vm.emailTemplateForm.display_item_details && _vm.templateType === this.$getConst.pages.invoices_email_templates_names.weekly_timesheet_data,\"display-invoices-import-report-table\":_vm.templateType === this.$getConst.pages.invoices_email_templates_names.import_invoices_report_is_ready,\"display-timesheets-import-report-table\":_vm.templateType === this.$getConst.pages.invoices_email_templates_names.import_timesheets_report_is_ready,\"email-template-form\":_vm.emailTemplateForm,\"language\":_vm.language,\"is-freelancer-template\":_vm.type === 'freelancer'}})],1)]],2),(!_vm.isLoading && _vm.templates.length)?_c('AppConfirmButtons',{attrs:{\"no-cancel\":\"\",\"first-button\":_vm.hasPermission(this.$getConst.permissions.writeEmailTemplate),\"second-button\":_vm.hasPermission(this.$getConst.permissions.readEmailTemplate),\"second-button-text\":this.$getConst.pages.email_template_configuration.test_email_button,\"is-loading\":_vm.isSubmitting,\"is-disabled\":_vm.$v.emailTemplateForm.$invalid},on:{\"onSubmit\":_vm.save,\"onSecondSubmit\":_vm.testTemplate}}):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import _Object$defineProperty from \"@babel/runtime-corejs2/core-js/object/define-property\";\nexport default function _defineProperty(obj, key, value) {\n if (key in obj) {\n _Object$defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"sticky-top\",staticStyle:{\"z-index\":\"10\"},attrs:{\"body-class\":\"px-5\",\"footer-bg-variant\":\"light\"},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('p',{staticClass:\"mb-0 font-weight-bold px-3\",domProps:{\"innerHTML\":_vm._s(_vm.footer)}})]},proxy:true}])},[(!_vm.isFreelancerTemplate)?_c('b-row',{staticClass:\"mb-5\"},[_c('b-col',[_c('b-img',{staticClass:\"float-left\",attrs:{\"src\":this.$getConst.images.logo_default,\"width\":\"100\"}})],1)],1):_vm._e(),_c('h2',{staticClass:\"text-primary text-uppercase font-weight-bold\"},[_vm._v(_vm._s(_vm.emailTemplateForm.title))]),_c('h3',{staticClass:\"text-secondary text-uppercase font-weight-bold mb-5\"},[_vm._v(_vm._s(_vm.emailTemplateForm.subtitle))]),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.emailTemplateForm.introduction)}}),(_vm.displayTable)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.emailTemplateOverviewContent}})],1)],1):_vm._e(),(_vm.displayInvoiceTable)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.invoicesEmailTemplateOverviewContent}})],1)],1):_vm._e(),(_vm.displayTimesheetDataTable)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.timesheetDataEmailTemplateOverviewContent}})],1)],1):_vm._e(),(_vm.displayComment)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.emailTemplateOverviewComment}})],1)],1):_vm._e(),(_vm.displayInvoicesImportReportTable)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.invoicesImportReportOverviewContent}})],1)],1):_vm._e(),(_vm.displayTimesheetsImportReportTable)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('b-img',{staticClass:\"w-100\",attrs:{\"src\":this.$getConst.images.timesheetsImportReportOverviewContent}})],1)],1):_vm._e(),_c('div',[(_vm.emailTemplateForm.button_review_label)?_c('button',{staticClass:\"email-btn mb-2 mr-2\",style:('background-color: '+ (_vm.emailTemplateForm.button_review_color ? _vm.emailTemplateForm.button_review_color : '#000000')),attrs:{\"disabled\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.emailTemplateForm.button_review_label)+\"\\n \")]):_vm._e(),(_vm.emailTemplateForm.button_approve_label)?_c('button',{staticClass:\"email-btn mb-2 mr-2\",style:('background-color: '+ (_vm.emailTemplateForm.button_approve_color ? _vm.emailTemplateForm.button_approve_color : '#000000')),attrs:{\"disabled\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.emailTemplateForm.button_approve_label)+\"\\n \")]):_vm._e(),(_vm.emailTemplateForm.button_reject_label)?_c('button',{staticClass:\"email-btn mb-2 mr-2\",style:('background-color: '+ (_vm.emailTemplateForm.button_reject_color ? _vm.emailTemplateForm.button_reject_color : '#000000')),attrs:{\"disabled\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.emailTemplateForm.button_reject_label)+\"\\n \")]):_vm._e()]),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.emailTemplateForm.button_description)}}),(_vm.emailTemplateForm.button_principal_label)?_c('button',{staticClass:\"email-btn mb-2 mr-2\",style:('background-color: '+ (_vm.emailTemplateForm.button_principal_color ? _vm.emailTemplateForm.button_principal_color : '#000000')),attrs:{\"disabled\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.emailTemplateForm.button_principal_label)+\"\\n \")]):_vm._e(),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.emailTemplateForm.ending)}})],1)}\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!./emailTemplateOverview.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!./emailTemplateOverview.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./emailTemplateOverview.vue?vue&type=template&id=5d4f6e08&\"\nimport script from \"./emailTemplateOverview.vue?vue&type=script&lang=js&\"\nexport * from \"./emailTemplateOverview.vue?vue&type=script&lang=js&\"\nimport style0 from \"./emailTemplateOverview.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card card-box d-block pb-3 bg-transparent shadow-none border-0\"},[_c('slick',{ref:\"slick\",attrs:{\"options\":_vm.slickOptions}},_vm._l((_vm.templateNames),function(template,key){return _c('div',{staticClass:\"card-body px-0 text-center\"},[(key != 'label')?_c('b-button',{staticClass:\"m-3 w-90 p-3 d-inline-block text-center font-size-sm\",class:{'btn-secondary': _vm.selected === template},attrs:{\"variant\":\"primary\",\"pill\":\"\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.select(template)}}},[_vm._v(\"\\n \"+_vm._s(_vm._f(\"capitalize\")(_vm.$t(template)))+\"\\n \")]):_vm._e()],1)}),0)],1)}\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!./emailTemplateSlide.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!./emailTemplateSlide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./emailTemplateSlide.vue?vue&type=template&id=34b93ddc&scoped=true&\"\nimport script from \"./emailTemplateSlide.vue?vue&type=script&lang=js&\"\nexport * from \"./emailTemplateSlide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./emailTemplateSlide.vue?vue&type=style&index=0&id=34b93ddc&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 \"34b93ddc\",\n null\n \n)\n\nexport default component.exports","import httpClient from './_httpClient';\n\nconst getTemplatesByScopeAndType = (scopeId, type) => httpClient.get('/scopes/' + scopeId + '/email-template/' + type);\nconst setEmailTemplate = (scopeId, templateId, templateData) => httpClient.put('/scopes/' + scopeId + '/email-template/' + templateId, templateData);\nconst sendTestMail = (templateData, templateType,scopeId) => httpClient.post('/scopes/email-template/' + templateType + '/test/'+ scopeId, templateData);\n\nexport {\n getTemplatesByScopeAndType,\n setEmailTemplate,\n sendTestMail\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!./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=37022642&\"\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&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 null,\n null\n \n)\n\nexport default component.exports","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\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!./emailTemplateOverview.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}