{"version":3,"sources":["webpack:///./src/views/pages/translation/Translation.vue?5060","webpack:///./src/views/pages/translation/EditFieldDialog/EditFieldDialog.vue?18ba","webpack:///src/views/pages/translation/EditFieldDialog/EditFieldDialog.vue","webpack:///./src/views/pages/translation/EditFieldDialog/EditFieldDialog.vue?be74","webpack:///./src/views/pages/translation/EditFieldDialog/EditFieldDialog.vue","webpack:///src/views/pages/translation/Translation.vue","webpack:///./src/views/pages/translation/Translation.vue?a9a4","webpack:///./src/views/pages/translation/Translation.vue","webpack:///../../../src/components/VDataTable/VSimpleTable.ts","webpack:///../../../src/components/VForm/VForm.ts","webpack:///../../../src/components/VTextarea/VTextarea.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","loading","VRow","attrs","VProgressCircular","VContainer","staticClass","scopedSlots","_u","key","fn","VIcon","_v","proxy","_s","$tc","staticStyle","$t","_l","t","VDivider","VForm","ref","lazy","on","$event","stopPropagation","preventDefault","get_translation_fields","model","value","callback","$$v","valid","expression","VCol","VSelect","options","required","get_briefing_options","optionSelected","Briefings","length","briefingOptions","briefingSelected","VBtn","briefing","fields","fieldsLoading","Name","IsBriefing","_e","VSpacer","saveLoading","translate_briefing","VSimpleTable","f","index","label","edit_field","VDialog","editFieldDialog","fieldValue","fieldName","save_field","staticRenderFns","VCard","FieldName","save","VTextarea","keys","find","x","toUpperCase","field","$set","filter","k","i","newTranslationLazy","add_translation","newTranslationValid","VTextField","two_characters_required","translation_exists","newTranslation","$emit","VAlert","error","name","data","apiService","gs","alert","created","props","Field","computed","methods","initialize_field","pt","en","component","components","EditFieldDialog","fieldSelected","generalFieldsTranslations","briefing_fields","briefings","Id","Text","updatedField","JSON","Language","Translation","newLang","edit_briefing_field","edit_general_field","get_translation_options","getRequest","then","CompanyId","concat","catch","translations","a","subField","postRequest","req","lang","mixins","Themeable","extend","dense","Boolean","fixedHeader","height","Number","String","classes","$slots","top","bottom","themeClasses","genWrapper","wrapper","style","convertToUnit","default","h","class","BindsAttrs","RegistrableProvide","provide","form","inheritAttrs","disabled","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","deep","immediate","watchInput","input","watcher","$watch","_uid","shouldValidate","hasOwnProperty","validate","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","unwatch","$delete","novalidate","attrs$","submit","e","baseMixins","autoGrow","noResize","rowHeight","type","validator","v","isNaN","parseFloat","rows","parseInt","noResizeHandle","call","$nextTick","calculateInputHeight","$refs","_this$$refs$input","removeProperty","lazyValue","mounted","scrollHeight","minHeight","Math","max","genInput","tag","onInput","onKeyDown","isFocused","keyCode"],"mappings":"6QAaIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAASF,EAAIM,QAAuuHF,EAAGG,EAAA,KAAK,CAACC,MAAM,CAAC,QAAU,WAAW,CAACJ,EAAGK,EAAA,KAAkB,CAACD,MAAM,CAAC,cAAgB,GAAG,KAAO,KAAK,MAAQ,cAAc,GAAt1HJ,EAAGM,EAAA,KAAW,CAACF,MAAM,CAAC,MAAQ,GAAG,IAAM,YAAY,CAACJ,EAAG,qBAAqB,CAACO,YAAY,iBAAiBH,MAAM,CAAC,OAAS,GAAG,MAAQ,aAAaI,YAAYZ,EAAIa,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,WAAW,MAAO,CAACX,EAAGY,EAAA,KAAM,CAACR,MAAM,CAAC,MAAQ,KAAK,CAACR,EAAIiB,GAAG,qBAAqBC,OAAM,GAAM,CAACJ,IAAI,gBAAgBC,GAAG,WAAW,MAAO,CAACX,EAAG,KAAK,CAACO,YAAY,MAAM,CAACP,EAAG,IAAI,CAACJ,EAAIiB,GAAGjB,EAAImB,GAAGnB,EAAIoB,IAAI,cAAe,WAAWF,OAAM,IAAO,MAAK,EAAM,aAAa,CAACd,EAAG,IAAI,CAACiB,YAAY,CAAC,YAAY,OAAO,cAAc,MAAM,aAAa,SAAS,CAACrB,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Ad,gBAAA,OACAC,sBACAtD,WACAJ,SACAV,QACAuB,cACA2D,mBACA3C,gBACAC,eACAvB,kBACAkE,6BACA3D,UACAJ,mBACAC,sBACAiB,mBACA5D,WACAoD,eACAL,mBAEA8C,QA1BA,WA0BA,oJACA,4BADA,8CAGAG,UACA3D,SADA,WACA,WACA,iDAEAqE,gBAJA,WAKA,OACA,CACAjD,6BACAgB,qBAEA,CACAhB,oCACAgB,2BAEA,CACAhB,uEACA,iBAEAgB,mCAEA,CACAhB,gFACAgB,qCAKAwB,SACA3D,qBADA,SACAqE,GACA,SACA,eAGA,OAFA,4BACA,4BAGA,2BACAvE,QACAwE,WACAC,qBACA,oBACA,qBAGA,uBACA,4BAEA9C,WAnBA,SAmBA+C,GACA,iBACA,+BACA,kEACA,6BACAC,kBAEA,uDACAD,OAGA,CACA,mCACA,8BACA,wDACA,8CACA,0BACAA,qDACA,8CAEA,gBACA,OACAE,WACAC,gBAEAC,6CACA,wCAIA,yBAEAxD,WAnDA,SAmDAe,GACA,cACA,4BAEA,2BAEA,qBACA,uBACA,yBAEA0C,oBA7DA,SA6DA1C,GACA,cACA,gDACAA,YAGA,wCAGA2C,mBAtEA,SAsEA3C,GACA,mBACA,wDACA,uDACA,gBACA,4CACA,uDAEA,+DAGA,iDAEA4C,wBAnFA,WAmFA,WACA,gBACA,gBACAC,WAAA,uBACAC,MAAA,YACA,WACA,CACAvE,4BACAwE,eACAhF,YAAAqE,aAEAY,OAAAV,uBACA,8BACA,mDACA,gBAEAW,OAAA,YACA,iBAGA/F,uBAvGA,WAuGA,WACA,6BACA,yBAGA,sBACA,wCACA,gBACA2F,WADA,kCAEAC,MAAA,YACA,gBAEA,IADA,4BACA,mBACAI,4BACAA,kBAIA,8BACA,YACA,mCACA,mDACAV,YACA,eACA,eACAxD,WACAgB,UAGA,oCACAmD,0CAEA,sBAEAF,OAAA,YACA,sBAGA,gBACAJ,WADA,mDAEA,2BAEAC,MAAA,YACA,iCACA,mCACA,gDAEA,oDACA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KAAKlN,QAGhDiN,eATQ,WAUN,OAAOjN,KAAKwM,UAAYxM,KAAKuM,WAIjCjC,MAAO,CACLiC,SADK,SACK/B,GAAY,WACpBxK,KAAKmN,WAAU,WAAK,MAClB3C,EACI,EAAK4C,uBADN,SAEC,EAAKC,MAAMrC,QAAXsC,EAAkBhE,MAAMiE,eAAe,cAG/CC,UARK,WASHxN,KAAKuM,UAAYvM,KAAKmN,UAAUnN,KAAKoN,uBAEvCX,UAXK,WAYHzM,KAAKuM,UAAYvM,KAAKmN,UAAUnN,KAAKoN,wBAIzCK,QAhD+B,WAgDxB,WACL/B,YAAW,WACT,EAAKa,UAAY,EAAKa,yBACrB,IAGL9G,QAAS,CACP8G,qBADO,WAEL,IAAMpC,EAAQhL,KAAKqN,MAAMrC,MACzB,GAAKA,EAAL,CAEAA,EAAM1B,MAAMV,OAAS,IACrB,IAAMA,EAASoC,EAAM0C,aACfC,EAAYX,SAAShN,KAAK+M,KAAM,IAAMD,WAAW9M,KAAKyM,WAG5DzB,EAAM1B,MAAMV,OAASgF,KAAKC,IAAIF,EAAW/E,GAAU,OAErDkF,SAZO,WAaL,IAAM9C,EAAQ1F,OAAW7C,QAAQ6D,QAAQwH,SAASZ,KAAKlN,MAMvD,OAJAgL,EAAM+C,IAAM,kBACL/C,EAAMlF,KAAMvF,MAAOmM,KAC1B1B,EAAMlF,KAAMvF,MAAOwM,KAAO/M,KAAK+M,KAExB/B,GAETgD,QArBO,SAqBE3B,GACP/G,OAAW7C,QAAQ6D,QAAQ0H,QAAQd,KAAKlN,KAAMqM,GAC9CrM,KAAKuM,UAAYvM,KAAKoN,wBAExBa,UAzBO,SAyBI5B,GAILrM,KAAKkO,WAA2B,KAAd7B,EAAE8B,SACtB9B,EAAEvK,kBAGJ9B,KAAK0F,MAAM,UAAW2G","file":"js/chunk-4d53f886.fc73788a.js","sourcesContent":["import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.loading)?_c(VContainer,{attrs:{\"fluid\":\"\",\"tag\":\"section\"}},[_c('base-material-card',{staticClass:\"px-5 py-3 mb-5\",attrs:{\"inline\":\"\",\"color\":\"secondary\"},scopedSlots:_vm._u([{key:\"heading\",fn:function(){return [_c(VIcon,{attrs:{\"large\":\"\"}},[_vm._v(\"mdi-translate\")])]},proxy:true},{key:\"after-heading\",fn:function(){return [_c('h1',{staticClass:\"h5\"},[_c('b',[_vm._v(_vm._s(_vm.$tc(\"translation\", 2)))])])]},proxy:true}],null,false,1155113783)},[_c('p',{staticStyle:{\"font-size\":\"17px\",\"font-weight\":\"600\",\"margin-top\":\"16px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"translation_obs_header\"))+\" \")]),_vm._l((3),function(t){return _c('p',{key:t,staticClass:\"mb-4\"},[_c('b',[_vm._v(_vm._s((t + \". \")))]),_vm._v(_vm._s(_vm.$t((\"translation_obs_\" + t)))+\" \")])}),_c(VDivider,{staticClass:\"mb-7\"}),_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":_vm.lazy},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.get_translation_fields()}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c(VRow,[_c(VCol,{attrs:{\"cols\":\"5\"}},[_c(VSelect,{attrs:{\"items\":_vm.options,\"item-text\":\"Name\",\"rules\":[_vm.required],\"solo\":\"\",\"outlined\":\"\",\"hint\":_vm.$t('translation_company_hint'),\"return-object\":\"\"},on:{\"change\":function($event){return _vm.get_briefing_options(_vm.optionSelected.Briefings)}},model:{value:(_vm.optionSelected),callback:function ($$v) {_vm.optionSelected=$$v},expression:\"optionSelected\"}})],1),_c(VCol,{attrs:{\"cols\":\"5\"}},[_c(VSelect,{attrs:{\"disabled\":!_vm.optionSelected.Briefings || _vm.optionSelected.Briefings.length < 2,\"items\":_vm.briefingOptions,\"solo\":\"\",\"rules\":[_vm.required],\"outlined\":\"\",\"hint\":_vm.$t('translation_briefing_hint'),\"item-text\":\"Text\",\"return-object\":\"\"},model:{value:(_vm.briefingSelected),callback:function ($$v) {_vm.briefingSelected=$$v},expression:\"briefingSelected\"}})],1),_c(VCol,{attrs:{\"cols\":\"2\"}},[_c(VBtn,{attrs:{\"color\":\"primary\",\"type\":\"submit\",\"height\":\"56\"}},[_c('span',{staticStyle:{\"font-size\":\"14px\"}},[_c('b',[_vm._v(_vm._s(_vm.$t(\"select\")))])])])],1)],1),_c(VRow,[_c(VDivider)],1)],1),((_vm.briefing || _vm.fields.length > 0) && !_vm.fieldsLoading)?_c(VRow,{staticClass:\"mt-5\",attrs:{\"align\":\"center\"}},[_c('h1',{staticClass:\"h5 ml-2\"},[_c('b',[_vm._v(\" \"+_vm._s(_vm.optionSelected.Name))]),(_vm.briefing)?_c('b',[_vm._v(\" - \"+_vm._s(_vm.briefing.IsBriefing ? _vm.$t(\"briefing\") : _vm.$t(\"profile\")))]):_vm._e()]),_c(VSpacer),_c(VBtn,{attrs:{\"color\":\"primary\",\"height\":\"30\",\"loading\":_vm.saveLoading},on:{\"click\":_vm.translate_briefing}},[_c('span',{staticStyle:{\"font-size\":\"13px\"}},[_c('b',[_vm._v(_vm._s(_vm.$t(\"save\")))])])])],1):_vm._e(),((_vm.briefing || _vm.fields.length > 0) && !_vm.fieldsLoading)?_c(VSimpleTable,[_c('thead',[_c('tr',[_c('th',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t(\"field\")))]),_c('th',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.$t(\"edit\")))])])]),_c('tbody',_vm._l((_vm.fields),function(f,index){return _c('tr',{key:index},[_c('td',{staticClass:\"text-center\"},[_vm._v(_vm._s(f.label))]),_c('td',{staticClass:\"text-center\"},[_c(VBtn,{staticClass:\"secondary\",attrs:{\"min-width\":\"0\",\"small\":\"\"},on:{\"click\":function($event){return _vm.edit_field(f)}}},[_c(VIcon,{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-pencil\")])],1)],1)])}),0)]):(_vm.fieldsLoading)?_c(VRow,{staticClass:\"my-6\",attrs:{\"justify\":\"center\"}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"70\",\"color\":\"primary\"}})],1):_vm._e()],2),(_vm.editFieldDialog)?_c(VDialog,{attrs:{\"max-width\":\"650px\"},model:{value:(_vm.editFieldDialog),callback:function ($$v) {_vm.editFieldDialog=$$v},expression:\"editFieldDialog\"}},[_c('EditFieldDialog',{attrs:{\"Field\":_vm.fieldValue,\"FieldName\":_vm.fieldName},on:{\"close\":function($event){_vm.editFieldDialog = false},\"save\":_vm.save_field}})],1):_vm._e()],1):_c(VRow,{attrs:{\"justify\":\"center\"}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"70\",\"color\":\"primary\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VContainer,{attrs:{\"id\":\"edit-field-dialog\"}},[_c(VCard,{staticStyle:{\"overflow-y\":\"auto\",\"max-height\":\"90vh\"}},[_c(VCardTitle,{staticClass:\"mb-6\"},[_c('h4',{staticClass:\"dxa_modal_title h4\"},[_vm._v(_vm._s(_vm.FieldName))])]),_c(VCardText,[_c(VForm,{ref:\"form\",on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.save()}}},[_c(VTextarea,{staticClass:\"my-2\",attrs:{\"readonly\":\"\",\"outlined\":\"\",\"label\":_vm.keys.find(function (x) { return x == \"pt\"; }).toUpperCase()},model:{value:(_vm.field[_vm.keys.find(function (x) { return x == \"pt\"; })]),callback:function ($$v) {_vm.$set(_vm.field, _vm.keys.find(function (x) { return x == \"pt\"; }), $$v)},expression:\"field[keys.find((x) => x == `pt`)]\"}}),_vm._l((_vm.keys.filter(function (x) { return x != \"pt\"; })),function(k,i){return _c(VTextarea,{key:i,staticClass:\"my-2\",attrs:{\"disabled\":k == \"pt\",\"outlined\":\"\",\"label\":k.toUpperCase()},model:{value:(_vm.field[k]),callback:function ($$v) {_vm.$set(_vm.field, k, $$v)},expression:\"field[k]\"}})}),_c(VForm,{ref:\"newTranslationForm\",attrs:{\"lazy-validation\":_vm.newTranslationLazy},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.add_translation()}},model:{value:(_vm.newTranslationValid),callback:function ($$v) {_vm.newTranslationValid=$$v},expression:\"newTranslationValid\"}},[_c(VRow,{attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c(VCol,{attrs:{\"cols\":\"4\"}},[_c(VTextField,{attrs:{\"solo\":\"\",\"dense\":\"\",\"outlined\":\"\",\"rules\":[_vm.two_characters_required, _vm.translation_exists]},model:{value:(_vm.newTranslation),callback:function ($$v) {_vm.newTranslation=$$v},expression:\"newTranslation\"}})],1),_c(VCol,{attrs:{\"cols\":\"4\"}},[_c(VBtn,{staticClass:\"mb-7\",attrs:{\"text\":\"\",\"type\":\"submit\"}},[_c(VRow,{attrs:{\"align\":\"center\"}},[_c('span',{staticStyle:{\"text-transform\":\"none\"}},[_c('b',[_vm._v(_vm._s(_vm.$t(\"add_new_translation\")))])]),_c(VIcon,{staticClass:\"ml-2\",attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-plus\")])],1)],1)],1)],1)],1),_c(VCardActions,{staticClass:\"pa-2 dxa_modal_actions\"},[_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', null)}}},[_vm._v(_vm._s(_vm.$t(\"cancel\")))])],1)],2),(_vm.error)?_c(VAlert,{staticClass:\"ma-2\",attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.$t(_vm.error))+\" \")]):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./EditFieldDialog.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!./EditFieldDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditFieldDialog.vue?vue&type=template&id=7a8cd59f&\"\nimport script from \"./EditFieldDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditFieldDialog.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","