{"version":3,"sources":["webpack:///./src/utils/API/SystemConfigurationRepository.ts","webpack:///./src/assets/Admin/assets/img/dashboard/chef.jpg","webpack:///./src/components/vModal.vue?387a","webpack:///./src/views/Admin/SystemConfiguration.vue?f6dd","webpack:///./src/views/Admin/SystemConfiguration.vue","webpack:///./src/views/Admin/SystemConfiguration.vue?11ca","webpack:///./src/views/Admin/SystemConfiguration.vue?b401","webpack:///./src/views/Admin/SystemConfiguration.vue?6d66","webpack:///./src/components/vSelect.vue","webpack:///src/components/vSelect.vue","webpack:///./src/components/vSelect.vue?01b1","webpack:///./src/components/vSelect.vue?ce39","webpack:///./src/views/Admin/SystemConfiguration.vue?1d33","webpack:///./src/components/vSelect.vue?d2a6","webpack:///./src/components/vModal.vue","webpack:///./src/components/vModal.vue?9dbe","webpack:///./src/components/vModal.vue?4636","webpack:///./src/components/vModal.vue?1836"],"names":["resource","fetchNutrientSourcesList","Repository","get","concat","withCredentials","updateNutrientSource","post","listNutrients","module","exports","render","_vm","this","_c","_self","_setupProxy","staticClass","staticStyle","attrs","require","_v","_s","translations","_m","accountState","userDetails","userType","UserTypes","SuperAdministrator","tableHeaders","transformNutrients","toggleableRows","systemConfigurationState","loading","on","toggleSwitch","_e","linkToLabelsManager","toggleAddNewLanguageModal","toggleAddNewTranslationKeyModal","toUpperCase","externalFiltersForGrid","categoryOptions","selectedCategory","name","filterGridByCategory","collectionOptions","selectedCollection","filterByCollection","languageOptions","selectedLanguage","filterByLanguage","ref","tableHeadersForTranslations","transformTranslations","translationsGridState","count","totalCount","pageSize","selectErase","editableTable","searchable","changePage","search","prepareEditMode","prepareDeletePrompt","order","showAddNewLanguageModal","resetState","$event","preventDefault","addNewLanguage","apply","arguments","class","errors","has","directives","rawName","value","expression","newLanguage","allLanguageOptions","selectAddNewLanguage","first","showAddNewTransKeyModal","addNewTranslationModal","category","categories","selectCategory","hide","hideAddCategorySection","closeAddCategorySection","newCategoryName","domProps","target","composing","addNewCategory","collection","collections","selectCollection","hideAddCollectionSection","closeAddCollectionSection","newCollectionName","addNewCollection","translationKey","$set","_l","language","key","id","translation","addNewTranslationKey","showEditTranslationValueModal","editTranslationValue","editTranslationValueProps","newTranslationValue","showRemovePrompt","removePromptTitle","confirmDelete","staticRenderFns","SystemConfiguration","_Vue","_this","_classCallCheck","_len","length","args","Array","_key","_callSuper","_defineProperty","field","orderType","OrderType","Asc","undefined","localizationCategoryId","localizationCategory","translationId","languageId","editModalTitle","page","nutrientSources","_inherits","_createClass","sortable","searchString","map","element","e1","localizationCollection","e2","e3","localizationKey","e4","meta","orderings","push","_objectSpread","fetchTranslations","ListRequest","filters","orders","ordering","index","findIndex","obj","toString","ids","_this2","removeList","localizationTranslation","filter","localizationKeyId","find","localizationLanguageId","_this3","SystemConfigurationRepository","then","response","data","result","catch","error","$snotify","errorMessages","userVisibleMessage","_this4","component","props","nutrientSource","html","enabled","isEnabled","process","_ref","_this5","tmp","source","message","fetchNutrientSources","fetchAllLanguagesForAddNewLanguage","fetchCollectionsForGrid","$refs","translationsGrid","_this6","$validator","validateAll","LocalizationRepository","createLocalizationLanguage","success","fetchLanguages","_this7","fetchCollections","clear","$nextTick","reset","_this8","createLocalizationCategory","_this9","model","Name","LocalizationCategoryId","createLocalizationCollection","info","_this10","_this11","_this12","keyLanguageValues","LanguageId","Translation","KeyLanguageValues","CategoryId","CollectionId","Key","createTranslation","_this13","async","Promise","resolve","reject","KeyId","Value","updateTranslation","body","timeout","closeOnClick","_this14","deleteLocalizationKeys","resetExternalFilters","listRequest","_this15","listTranslations","_this16","getCategories","_toConsumableArray","categoryId","_this17","getCollections","_this18","_this19","getLanguages","_this20","getAvailableLanguagesForAdding","x","fetchCategories","$store","dispatch","TRANSLATIONS_FETCH","document","title","localizationState","Vue","__decorate","Component","components","vTable","vSelect","vModal","computed","mapState","state","LocalizationModule","AccountModule","noLabel","label","disabled","required","multiple","filled","hasValue","clearable","filterable","placeholder","values","options","$emit","vals","searchQuery","noDrop","val","showError","errorMessage","String","Boolean","type","default","created","isFirefox","navigator","userAgent","toLowerCase","indexOf","$","addClass","show","modalId","size","modalTitle","cancelModal","_t","bodee","getElementsByTagName","classList","add","remove","addEventListener","e","keyCode","Prop","Watch"],"mappings":"kHAAA,gBAIMA,EAAW,aAEF,QACXC,yBAAwB,WACpB,OAAOC,OAAWC,IAAI,GAADC,OAAIJ,EAAQ,wBAAwB,CAACK,iBAAiB,KAE/EC,qBAAoB,SAACA,GACjB,OAAOJ,OAAWK,KAAK,GAADH,OAAIJ,EAAQ,yBAAyBM,EAAsB,CAACD,iBAAiB,KAEvGG,cAAa,WACT,OAAON,OAAWC,IAAI,GAADC,OAAIJ,EAAQ,kBAAkB,CAACK,iBAAiB,O,uBCd7EI,EAAOC,QAAU,IAA0B,yB,oCCA3C,W,kCCAA,W,2CCAA,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,wBAAwB,CAACH,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACH,EAAG,KAAK,CAACA,EAAG,MAAM,CAACG,YAAY,2BAA2BC,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,IAAMC,EAAQ,QAAoD,IAAM,qBAAqBR,EAAIS,GAAG,aAAaT,EAAIU,GAAGV,EAAIW,aAAapB,IAAI,oBAAoB,gBAAgBS,EAAIY,GAAG,GAAGV,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACH,EAAG,MAAM,CAACG,YAAY,qBAAqB,CACnmBL,EAAIa,aAAaC,YAAYC,WAAaf,EAAIgB,UAAUC,mBACxDf,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,cAAc,CAACL,EAAIS,GAAG,mBAAmBT,EAAIU,GAAGV,EAAIW,aAAapB,IAAI,0BAA0B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SACjB/J,EAAKsJ,qBAxBc,CAAS/C,QAC1BC,eAAA,CAAPwD,kB,2BACOxD,eAAA,CAAPwD,kB,iCACOxD,eAAA,CAAPwD,kB,2BACOxD,eAAA,CAAPwD,kB,8BAGDxD,eAAA,CADCyD,eAAM,S,8BANYpD,EAAML,eAAA,CAD1BC,QACoBI,WCJ2W,I,wBCQ5X1F,EAAY,eACd,EACAnL,EACA8G,GACA,EACA,KACA,WACA,MAIa,OAAAqE,E","file":"js/chunk-608a42dc.01df2385.js","sourcesContent":["import Repository from './Repository';\r\nimport { UpdateNutrientSource } from '@/models/NutrientSource/UpdateNutrientSource';\r\n\r\n\r\nconst resource = '/nutrients';\r\n\r\nexport default {\r\n fetchNutrientSourcesList() {\r\n return Repository.get(`${resource}/ListNutrientSources`, {withCredentials: true});\r\n },\r\n updateNutrientSource(updateNutrientSource: UpdateNutrientSource) {\r\n return Repository.post(`${resource}/updatenutrientsource`, updateNutrientSource, {withCredentials: true});\r\n },\r\n listNutrients() {\r\n return Repository.get(`${resource}/ListNutrients`, {withCredentials: true});\r\n }\r\n};\r\n","module.exports = __webpack_public_path__ + \"img/chef.43804cf3.jpg\";","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!./vModal.vue?vue&type=style&index=0&id=c51eb92e&prod&scoped=true&lang=css\"","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!./SystemConfiguration.vue?vue&type=style&index=1&id=11c88375&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"page-content-wrapper\"},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"container-fluid container-fixed-lg\"},[_c('h2',[_c('img',{staticClass:\"img-thumbnail img-circle\",staticStyle:{\"width\":\"75px\"},attrs:{\"src\":require(\"../../assets/Admin/assets/img/dashboard/chef.jpg\"),\"alt\":\"page logo image\"}}),_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_title\"))+\"\\n \")])]),_vm._m(0),_c('div',{staticClass:\"container-fluid container-fixed-lg\"},[_c('div',{staticClass:\"card card-default\"},[(\n _vm.accountState.userDetails.userType === _vm.UserTypes.SuperAdministrator\n )?_c('div',{staticClass:\"col-md-5\"},[_c('div',{staticClass:\"card-header\"},[_c('div',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_table_title\"))+\"\\n \")])]),_c('div',{staticClass:\"card-body\"},[_c('vTable',{staticClass:\"table-resp\",attrs:{\"table-headers\":_vm.tableHeaders,\"results\":_vm.transformNutrients,\"total\":3,\"total-count\":3,\"page-size\":3,\"toggle\":_vm.toggleableRows,\"loading\":_vm.systemConfigurationState.loading},on:{\"toggleSwitch\":_vm.toggleSwitch}})],1)]):_vm._e(),_c('div',{staticClass:\"col-md-7\"},[_c('div',{staticClass:\"card-header\"},[_c('div',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_labels\"))+\"\\n \")])]),_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_labels_description\"))+\"\\n \"),_c('a',{attrs:{\"href\":_vm.linkToLabelsManager,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.translations.get(\"sysconfig_labels_link\")))])])])])]),_c('div',{staticClass:\"container-fluid container-fixed-lg\",staticStyle:{\"margin-top\":\"40px\"}},[_c('div',{staticClass:\"d-flex flex-row flex-wrap justify-content-start flex-gap-16\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"add-new-lang-btn\"},[_c('div',[_c('span',{staticClass:\"btn btn-sm btn-primary btn-fix\",on:{\"click\":_vm.toggleAddNewLanguageModal}},[_c('i',{staticClass:\"fa fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"\\n ADD NEW LANGUAGE\\n \")])])]),_c('div',{staticClass:\"add-translation-key-btn\"},[_c('div',[_c('span',{staticClass:\"btn btn-sm btn-primary btn-fix\",on:{\"click\":_vm.toggleAddNewTranslationKeyModal}},[_c('i',{staticClass:\"fa fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"\\n \"+_vm._s(_vm.translations\n .get(\"sysconfig_add_new_translation_key\")\n .toUpperCase())+\"\\n \")])])])])]),_c('div',{staticClass:\"container-fluid container-fixed-lg\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('div',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_language_editor\"))+\"\\n \")])]),(\n _vm.accountState.userDetails.userType === _vm.UserTypes.SuperAdministrator\n )?_c('div',{staticClass:\"full-width\",staticStyle:{\"padding\":\"0 60px\",\"margin-top\":\"5px\"}},[_c('div',{staticClass:\"lang-editor-filters-container container-fluid border mb-4\"},[_c('div',{staticClass:\"card-header\",staticStyle:{\"padding-left\":\"0\"}},[_c('div',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_filter_by\"))+\"\\n \")])]),_c('div',{staticClass:\"row mb-4\"},[_c('div',{staticClass:\"col-md-4\"},[_c('div',{staticClass:\"border\",attrs:{\"id\":\"select-container\"}},[_c('vSelect',{attrs:{\"multiple\":false,\"label\":_vm.translations.get('sysconfig_category'),\"options\":_vm.externalFiltersForGrid.categoryOptions,\"clearable\":false,\"placeholder\":_vm.translations.get('sysconfig_select_category'),\"value\":_vm.externalFiltersForGrid.selectedCategory.name},on:{\"input\":_vm.filterGridByCategory}})],1)]),_c('div',{staticClass:\"col-md-4\"},[_c('div',{staticClass:\"border\",attrs:{\"id\":\"select-container\"}},[_c('vSelect',{attrs:{\"multiple\":false,\"label\":_vm.translations.get('sysconfig_collection'),\"options\":_vm.externalFiltersForGrid.collectionOptions,\"clearable\":false,\"placeholder\":_vm.translations.get('sysconfig_select_collection'),\"value\":_vm.externalFiltersForGrid.selectedCollection.name},on:{\"input\":_vm.filterByCollection}})],1)]),_c('div',{staticClass:\"col-md-4\"},[_c('div',{staticClass:\"border\",attrs:{\"id\":\"select-container\"}},[_c('vSelect',{attrs:{\"multiple\":false,\"label\":_vm.translations.get('sysconfig_language'),\"options\":_vm.externalFiltersForGrid.languageOptions,\"clearable\":false,\"placeholder\":_vm.translations.get('sysconfig_select_language'),\"value\":_vm.externalFiltersForGrid.selectedLanguage.name},on:{\"input\":_vm.filterByLanguage}})],1)])])]),_c('div',{staticClass:\"translations-table\"},[_c('vTable',{ref:\"translationsGrid\",attrs:{\"table-headers\":_vm.tableHeadersForTranslations,\"results\":_vm.transformTranslations,\"total\":_vm.translationsGridState.count,\"total-count\":_vm.translationsGridState.totalCount,\"page-size\":_vm.translationsGridState.pageSize,\"select-erase\":_vm.selectErase,\"editable\":_vm.editableTable,\"searchable\":_vm.searchable,\"loading\":_vm.translationsGridState.loading},on:{\"changePage\":_vm.changePage,\"search\":_vm.search,\"edit\":_vm.prepareEditMode,\"remove\":_vm.prepareDeletePrompt,\"order\":_vm.order}})],1)]):_vm._e()])]),_c('vModal',{attrs:{\"modal-title\":_vm.translations.get('sysconfig_add_new_language'),\"show\":_vm.showAddNewLanguageModal,\"size\":'s'},on:{\"cancelModal\":_vm.resetState}},[_c('form',{staticClass:\"form\",attrs:{\"data-vv-scope\":\"addLanguage\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.addNewLanguage.apply(null, arguments)}}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"all-lang form-group-default form-group-default-select required\",class:{ 'has-error': _vm.errors.has('addLanguage.language') },attrs:{\"id\":\"select-container\"}},[_c('vSelect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"name\":\"language\",\"multiple\":false,\"label\":_vm.translations.get('sysconfig_language_code'),\"value\":_vm.newLanguage.name,\"options\":_vm.allLanguageOptions,\"clearable\":false,\"placeholder\":_vm.translations.get('sysconfig_select_language')},on:{\"input\":_vm.selectAddNewLanguage}}),(_vm.errors.has('addLanguage.language'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addLanguage.language\")))]):_vm._e()],1)])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add\").toUpperCase())+\"\\n \")]),_c('button',{staticClass:\"btn btn-default btn-cons m-t-10\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.resetState}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])])]),_c('vModal',{attrs:{\"modal-title\":_vm.translations.get('sysconfig_add_new_translation_key'),\"show\":_vm.showAddNewTransKeyModal,\"size\":'s',\"modal-id\":'add-new-trans-key-modal'},on:{\"cancelModal\":_vm.resetState}},[_c('form',{staticClass:\"form px-3 add-translation-key-form\",attrs:{\"data-vv-scope\":\"addTransKey\"}},[_c('div',{staticClass:\"form-row pb-3\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"trans-key-category form-group-default form-group-default-select required\",class:{ 'has-error': _vm.errors.has('addTransKey.category') },attrs:{\"id\":\"select-container\"}},[_c('vSelect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"name\":\"category\",\"multiple\":false,\"label\":_vm.translations.get('sysconfig_translation_category'),\"value\":_vm.addNewTranslationModal.category.name,\"options\":_vm.categories,\"clearable\":false,\"placeholder\":_vm.translations.get(\n 'sysconfig_translation_category_placeholder'\n )},on:{\"input\":_vm.selectCategory}}),(_vm.errors.has('addTransKey.category'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addTransKey.category\")))]):_vm._e()],1)])]),_c('section',{staticClass:\"form-row transition-section\",class:{ hide: _vm.hideAddCategorySection },attrs:{\"id\":\"add-new-category\"}},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"section-title\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add_new_category\"))+\"\\n \")]),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closeAddCategorySection}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"form-group form-group-default required\",class:{\n 'has-error': _vm.errors.has('addNewCategory.categoryName'),\n }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"sysconfig_category_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newCategoryName),expression:\"newCategoryName\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"id\":\"new-category\",\"type\":\"text\",\"name\":\"categoryName\",\"data-vv-as\":_vm.translations.get('sysconfig_category_name'),\"data-vv-scope\":'addNewCategory',\"autocomplete\":\"off\",\"placeholder\":_vm.translations.get('sysconfig_category_name_placeholder')},domProps:{\"value\":(_vm.newCategoryName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.newCategoryName=$event.target.value}}}),(_vm.errors.has('addNewCategory.categoryName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addNewCategory.categoryName\")))]):_vm._e()]),_c('div',{staticClass:\"add-btn\"},[_c('div',[_c('span',{staticClass:\"btn btn-sm btn-primary btn-add\",on:{\"click\":_vm.addNewCategory}},[_c('i',{staticClass:\"fa fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add_category\").toUpperCase())+\"\\n \")])])])])]),_c('div',{staticClass:\"form-row pb-3\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"trans-key-collection form-group-default form-group-default-select required\",class:{ 'has-error': _vm.errors.has('addTransKey.collection') },attrs:{\"id\":\"select-container\"}},[_c('vSelect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"name\":\"collection\",\"multiple\":false,\"label\":_vm.translations.get('sysconfig_translation_collection'),\"value\":_vm.addNewTranslationModal.collection.name,\"options\":_vm.collections,\"clearable\":false,\"placeholder\":_vm.translations.get(\n 'sysconfig_translation_collection_placeholder'\n )},on:{\"input\":_vm.selectCollection}}),(_vm.errors.has('addTransKey.collection'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addTransKey.collection\")))]):_vm._e()],1)])]),_c('section',{staticClass:\"form-row transition-section\",class:{ hide: _vm.hideAddCollectionSection },attrs:{\"id\":\"add-new-collection\"}},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"section-title\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add_new_collection\"))+\"\\n \")]),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closeAddCollectionSection}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"form-group form-group-default required\",class:{\n 'has-error': _vm.errors.has('addNewCollection.collectionName'),\n }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"sysconfig_collection_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newCollectionName),expression:\"newCollectionName\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"id\":\"new-collection\",\"type\":\"text\",\"name\":\"collectionName\",\"data-vv-as\":_vm.translations.get('sysconfig_collection_name'),\"data-vv-scope\":'addNewCollection',\"autocomplete\":\"off\",\"placeholder\":_vm.translations.get('sysconfig_collection_name_placeholder')},domProps:{\"value\":(_vm.newCollectionName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.newCollectionName=$event.target.value}}}),(_vm.errors.has('addNewCollection.collectionName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addNewCollection.collectionName\")))]):_vm._e()]),_c('div',{staticClass:\"add-btn\"},[_c('div',[_c('span',{staticClass:\"btn btn-sm btn-primary btn-add\",on:{\"click\":_vm.addNewCollection}},[_c('i',{staticClass:\"fa fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add_collection\").toUpperCase())+\"\\n \")])])])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{\n 'has-error': _vm.errors.has('addTransKey.transKey'),\n }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"sysconfig_translation_key\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.addNewTranslationModal.translationKey),expression:\"addNewTranslationModal.translationKey\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"transKey\",\"data-vv-as\":_vm.translations.get('sysconfig_translation_key'),\"autocomplete\":\"off\",\"placeholder\":_vm.translations.get('sysconfig_translation_key_placeholder')},domProps:{\"value\":(_vm.addNewTranslationModal.translationKey)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.addNewTranslationModal, \"translationKey\", $event.target.value)}}}),(_vm.errors.has('addTransKey.transKey'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"addTransKey.transKey\")))]):_vm._e()])])]),_c('div',{staticClass:\"form-row pb-3\",attrs:{\"id\":\"translation-per-page\"}},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"section-title\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_translation_per_page\"))+\"\\n \")])]),_vm._l((_vm.externalFiltersForGrid.languageOptions),function(language){return _c('div',{key:language.id,staticClass:\"form-group form-group-default\"},[_c('label',[_vm._v(_vm._s(language.value))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(language.translation),expression:\"language.translation\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"translation\",\"data-vv-as\":_vm.translations.get('sysconfig_translation'),\"autocomplete\":\"off\",\"placeholder\":_vm.translations.get('sysconfig_translation_placeholder')},domProps:{\"value\":(language.translation)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(language, \"translation\", $event.target.value)}}})])})],2)]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",on:{\"click\":function($event){$event.preventDefault();return _vm.addNewTranslationKey.apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_add\").toUpperCase())+\"\\n \")]),_c('button',{staticClass:\"btn btn-default btn-cons m-t-10\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.resetState}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])])]),_c('vModal',{attrs:{\"modal-title\":_vm.translations.get('sysconfig_edit_translation_value'),\"show\":_vm.showEditTranslationValueModal,\"size\":'s'},on:{\"cancelModal\":_vm.resetState}},[_c('form',{staticClass:\"form\",attrs:{\"data-vv-scope\":\"addLanguage\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.editTranslationValue.apply(null, arguments)}}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"form-group form-group-default\"},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"sysconfig_translation_value\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.editTranslationValueProps.newTranslationValue),expression:\"editTranslationValueProps.newTranslationValue\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"translationValue\",\"data-vv-as\":_vm.translations.get('sysconfig_translation_value'),\"autocomplete\":\"off\",\"placeholder\":_vm.translations.get('sysconfig_translation_value_placeholder')},domProps:{\"value\":(_vm.editTranslationValueProps.newTranslationValue)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.editTranslationValueProps, \"newTranslationValue\", $event.target.value)}}})])])]),_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"sysconfig_edit\").toUpperCase())+\"\\n \")]),_c('button',{staticClass:\"btn btn-default btn-cons m-t-10\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.resetState}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])])]),_c('vModal',{attrs:{\"show\":_vm.showRemovePrompt,\"modal-title\":_vm.removePromptTitle},on:{\"cancelModal\":_vm.resetState}},[_c('form',{staticClass:\"p-t-15\",attrs:{\"role\":\"form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.confirmDelete.apply(null, arguments)}}},[_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group col-md-6\"},[_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"yes\"))+\"\\n \")]),_c('button',{staticClass:\"btn btn-cons m-t-10\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.resetState}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])])])],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container-fluid container-fixed-lg\"},[_c('div',{staticClass:\"row\",staticStyle:{\"margin-bottom\":\"20px\"}},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-9\"},[_c('div')])])])])])\n}]\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport vTable from \"@/components/vTable.vue\";\r\nimport { mapState } from \"vuex\";\r\nimport ListRequest, { Filter, Ordering, OrderType } from \"@/models/ListRequest\";\r\nimport { TRANSLATIONS_FETCH } from \"@/store/ActionTypes\";\r\nimport vSelect from \"@/components/vSelect.vue\";\r\nimport vModal from \"@/components/vModal.vue\";\r\nimport { NutrientSourceList } from \"@/models/NutrientSource/NutrientSourceList\";\r\nimport LocalizationTranslation from \"@/models/Localization/ListTranslations\";\r\nimport { AddTranslationKey } from \"@/models/SystemConfiguration/AddTranslationKey\";\r\nimport SystemConfigurationRepository from \"@/utils/API/SystemConfigurationRepository\";\r\nimport LocalizationRepository from \"@/utils/API/LocalizationRepository\";\r\nimport { UserTypes } from \"../../models/User/UserTypes\";\r\nimport { LocalizationLanguage } from \"@/models/Localization/LocalizationLanguage\";\r\n\r\n//Types\r\ntype SelectObj = { id: number | undefined; name: string };\r\ntype LangSelectObj = {\r\n id: number | undefined;\r\n name: string;\r\n value: string;\r\n translation: string;\r\n};\r\ntype CollectionSelectObj = {\r\n id: number | undefined;\r\n name: string;\r\n localizationCategoryId: number | undefined;\r\n localizationCategory: string | null;\r\n};\r\n\r\ninterface SystemConfigurationState {\r\n nutrientSources: NutrientSourceList[];\r\n loading: boolean;\r\n}\r\n\r\ninterface TranslationsGridState {\r\n translations: LocalizationTranslation[];\r\n loading: boolean;\r\n count: number;\r\n totalCount: number;\r\n pageSize: number;\r\n page: number;\r\n}\r\n\r\ninterface Filters {\r\n categoryOptions: SelectObj[];\r\n collectionOptions: CollectionSelectObj[];\r\n languageOptions: LangSelectObj[];\r\n selectedLanguage: LangSelectObj | null | undefined;\r\n selectedCategory: SelectObj | null;\r\n selectedCollection: CollectionSelectObj | null;\r\n}\r\n\r\n@Component({\r\n components: {\r\n vTable,\r\n vSelect,\r\n vModal,\r\n },\r\n computed: {\r\n ...mapState({\r\n localizationState: (state: any) => state.LocalizationModule,\r\n accountState: (state: any) => state.AccountModule,\r\n }),\r\n },\r\n})\r\nclass SystemConfiguration extends Vue {\r\n /**\r\n * vTable props\r\n */\r\n selectErase = true;\r\n searchable = true;\r\n loading = false;\r\n removeList: number[] = []; // List of id of partners to be removed\r\n removePromptTitle = \"\";\r\n showRemovePrompt = false;\r\n filters: Filter[] = [];\r\n ordering: Ordering = { field: \"\", orderType: OrderType.Asc };\r\n editableTable = true;\r\n\r\n /**\r\n * Filter Properties\r\n */\r\n externalFiltersForGrid: Filters = {\r\n categoryOptions: [],\r\n collectionOptions: [],\r\n languageOptions: [],\r\n selectedLanguage: { id: undefined, name: \"\", value: \"\", translation: \"\" },\r\n selectedCategory: { id: undefined, name: \"\" },\r\n selectedCollection: {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n },\r\n };\r\n /**\r\n * Modal Properties\r\n */\r\n showAddNewLanguageModal = false;\r\n showAddNewTransKeyModal = false;\r\n showEditTranslationValueModal = false;\r\n\r\n /**\r\n * Edit translation value modal props\r\n */\r\n editTranslationValueProps: {\r\n newTranslationValue: string,\r\n translationId: number | null,\r\n languageId: number | null,\r\n editModalTitle: string\r\n } = {\r\n newTranslationValue: \"\",\r\n translationId: null,\r\n languageId: null,\r\n editModalTitle: \"\",\r\n };\r\n\r\n /**\r\n * Add new language modal props\r\n */\r\n newLanguage = {\r\n id: \"\",\r\n name: \"\",\r\n };\r\n allLanguageOptions: Omit[] = [];\r\n\r\n /**\r\n * Add new translation key modal props\r\n */\r\n categories: SelectObj[] = [];\r\n collections: SelectObj[] = [];\r\n addNewTranslationModal: AddTranslationKey = {\r\n category: { id: undefined, name: \"\" },\r\n collection: {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n },\r\n translationKey: \"\",\r\n };\r\n hideAddCategorySection: boolean = true;\r\n hideAddCollectionSection: boolean = true;\r\n newCategoryName: string = \"\";\r\n newCollectionName: string = \"\";\r\n\r\n /**\r\n * Translations grid props\r\n */\r\n translationsGridState: TranslationsGridState = {\r\n translations: [],\r\n loading: false,\r\n count: 0,\r\n totalCount: 0,\r\n pageSize: 25,\r\n page: 1,\r\n };\r\n\r\n localizationState: any;\r\n accountState: any;\r\n\r\n toggleableRows = true;\r\n\r\n systemConfigurationState: SystemConfigurationState = {\r\n nutrientSources: [],\r\n loading: false,\r\n };\r\n\r\n UserTypes = UserTypes;\r\n\r\n // START GRID PRIMARY FUNCTIONS\r\n\r\n selectAddNewLanguage(language: any) {\r\n this.newLanguage = language;\r\n }\r\n /**\r\n * Getter for grid headers. Done this way because headers are translatable and async\r\n */\r\n get tableHeadersForTranslations() {\r\n return [\r\n {\r\n name: \"Category\",\r\n key: \"CategoryId\",\r\n sortable: true,\r\n searchable: false,\r\n searchString: \"\",\r\n },\r\n {\r\n name: \"Collection\",\r\n key: \"CollectionId\",\r\n sortable: true,\r\n searchable: false,\r\n searchString: \"\",\r\n },\r\n {\r\n name: \"Key\",\r\n key: \"LocalizationKey\",\r\n searchable: true,\r\n searchString: \"\",\r\n sortable: true,\r\n },\r\n {\r\n name: this.externalFiltersForGrid.selectedLanguage!.value,\r\n key: \"LanguageTranslationValue\",\r\n searchable: true,\r\n searchString: \"\",\r\n sortable: true,\r\n },\r\n ];\r\n }\r\n\r\n get transformTranslations() {\r\n return this.translationsGridState.translations.map(\r\n (element: LocalizationTranslation) => {\r\n return {\r\n e1: element.localizationCollection.localizationCategory.name,\r\n e2: element.localizationCollection.name,\r\n e3: element.localizationKey.name,\r\n e4: element.value ? element.value : \"\",\r\n meta: {\r\n id: element.id,\r\n },\r\n };\r\n }\r\n );\r\n }\r\n\r\n /**\r\n * Method used by the grid after catching the 'changePage'\r\n * event from vTable\r\n *\r\n * @param {any} args\r\n */\r\n changePage(args: any) {\r\n const orderings: Ordering[] = [];\r\n orderings.push({ ...args[3] });\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: args[0],\r\n pageSize: 25,\r\n filters: args[2],\r\n orders: orderings,\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Method used by the grid after catching the 'search'\r\n * event from vTable\r\n *\r\n * @param {Filter[]} filters\r\n * @param {Ordering} ordering\r\n */\r\n search(filters: Filter[], ordering: Ordering) {\r\n // Add external filters to array, check for option 'show all' (id = -1)\r\n if (\r\n this.externalFiltersForGrid.selectedCategory!.id != undefined &&\r\n this.externalFiltersForGrid.selectedCategory!.id != -1\r\n ) {\r\n // If the filter is already in the array then just change the value, otherwise push it in the filters\r\n const index = filters.findIndex((obj) => obj.name === \"CategoryId\");\r\n if (index !== -1) {\r\n filters[index].value =\r\n this.externalFiltersForGrid.selectedCategory!.id.toString();\r\n }\r\n else {\r\n filters.push({\r\n name: \"CategoryId\",\r\n value: this.externalFiltersForGrid.selectedCategory!.id.toString(),\r\n });\r\n }\r\n }\r\n if (\r\n this.externalFiltersForGrid.selectedCollection!.id != undefined &&\r\n this.externalFiltersForGrid.selectedCollection!.id != -1\r\n ) {\r\n const index = filters.findIndex((obj) => obj.name === \"CollectionId\");\r\n if (index !== -1) {\r\n filters[index].value =\r\n this.externalFiltersForGrid.selectedCollection!.id.toString();\r\n }\r\n else {\r\n filters.push({\r\n name: \"CollectionId\",\r\n value: this.externalFiltersForGrid.selectedCollection!.id.toString(),\r\n });\r\n }\r\n }\r\n if (this.externalFiltersForGrid.selectedLanguage!.id != undefined) {\r\n const index = filters.findIndex((obj) => obj.name === \"LanguageId\");\r\n if (index !== -1) {\r\n filters[index].value =\r\n this.externalFiltersForGrid.selectedLanguage!.id.toString();\r\n }\r\n else {\r\n filters.push({\r\n name: \"LanguageId\",\r\n value: this.externalFiltersForGrid.selectedLanguage!.id.toString(),\r\n });\r\n }\r\n }\r\n const orderings: Ordering[] = [];\r\n orderings.push({ ...ordering });\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: 1,\r\n pageSize: this.translationsGridState.pageSize,\r\n filters,\r\n orders: orderings,\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Method for displaying prompt message for selected translations to be deleted\r\n *\r\n * @param {number[]} ids\r\n */\r\n prepareDeletePrompt(ids: number[]) {\r\n this.removeList = ids.map((id) => {\r\n const localizationTranslation =\r\n this.translationsGridState.translations.filter(\r\n (translation) => translation.id === id\r\n );\r\n return localizationTranslation[0].localizationKeyId;\r\n });\r\n this.removePromptTitle = this.translations.get(\r\n \"sysconfig_delete_prompt_message\",\r\n ids.length\r\n );\r\n this.showRemovePrompt = true;\r\n }\r\n\r\n /**\r\n * Populating form and toggling the modal for editing partner.\r\n * Sets the edit mode to true\r\n *\r\n * @param {number} id\r\n */\r\n prepareEditMode(id: number) {\r\n this.showEditTranslationValueModal = true;\r\n const translation: any = this.translationsGridState.translations.find(\r\n (translation: LocalizationTranslation) => translation.id === id\r\n );\r\n this.editTranslationValueProps.newTranslationValue = translation.value;\r\n this.editTranslationValueProps.translationId =\r\n translation.localizationKeyId;\r\n this.editTranslationValueProps.languageId =\r\n translation.localizationLanguageId;\r\n this.editTranslationValueProps.editModalTitle = this.translations.get(\r\n \"partners_modal_title_edit\"\r\n );\r\n }\r\n\r\n /**\r\n * Method used by the grid after catching the 'order'\r\n * event from vTable\r\n *\r\n * @param {Filter[]} filters\r\n * @param {Ordering} ordering\r\n */\r\n order(filters: Filter[], ordering: Ordering) {\r\n const orderings: Ordering[] = [];\r\n orderings.push({ ...ordering });\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: 1,\r\n pageSize: this.translationsGridState.pageSize,\r\n filters,\r\n orders: orderings,\r\n })\r\n );\r\n }\r\n\r\n // END GRID PRIMARY FUNCITONS\r\n\r\n fetchNutrientSources() {\r\n this.systemConfigurationState.loading = true;\r\n SystemConfigurationRepository.fetchNutrientSourcesList()\r\n .then((response) => {\r\n this.systemConfigurationState.nutrientSources = response.data.result;\r\n\r\n this.systemConfigurationState.loading = false;\r\n })\r\n .catch((error) => {\r\n if (error.response)\r\n this.$snotify.error(\r\n error.response.errorMessages[0].userVisibleMessage\r\n );\r\n else this.$snotify.error(this.translations.get(\"network-error\"));\r\n this.systemConfigurationState.loading = false;\r\n });\r\n }\r\n\r\n get transformNutrients() {\r\n return this.systemConfigurationState.nutrientSources.map(\r\n (element: NutrientSourceList) => {\r\n return {\r\n e1: {\r\n component: \"span\",\r\n props: { id: element.nutrientSource },\r\n html: this.translations.get(\r\n `nutrient_source_${element.nutrientSource}`\r\n ),\r\n },\r\n meta: {\r\n id: element.nutrientSource,\r\n enabled: element.isEnabled,\r\n },\r\n };\r\n }\r\n );\r\n }\r\n\r\n get tableHeaders() {\r\n return [\r\n {\r\n name: this.translations.get(\"sysconfig_table_header_database\"),\r\n key: \"database\",\r\n searchable: true,\r\n searchString: \"\",\r\n sortable: false,\r\n },\r\n ];\r\n }\r\n\r\n get linkToLabelsManager() {\r\n return `${process.env.VUE_APP_BASE_DOMAIN}/api/nutritionlabels/list`;\r\n }\r\n\r\n toggleSwitch({ value, id }: { value: boolean; id: number }) {\r\n let tmp = this.systemConfigurationState.nutrientSources.find(\r\n (source: NutrientSourceList) => source.nutrientSource === id\r\n );\r\n\r\n if (typeof tmp !== \"undefined\") {\r\n SystemConfigurationRepository.updateNutrientSource({\r\n nutrientSource: id,\r\n name: this.translations.get(`nutrient_source_${tmp.nutrientSource}`),\r\n isEnabled: value,\r\n }).catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n this.fetchNutrientSources();\r\n });\r\n }\r\n }\r\n\r\n // Modal for adding a new language globally\r\n toggleAddNewLanguageModal() {\r\n this.showAddNewLanguageModal = true;\r\n this.fetchAllLanguagesForAddNewLanguage();\r\n }\r\n toggleAddNewTranslationKeyModal() {\r\n this.showAddNewTransKeyModal = true;\r\n }\r\n filterGridByCategory(category: SelectObj) {\r\n // Remove the filter for collection when you filter the grid by another category\r\n (this.externalFiltersForGrid.selectedCollection = {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n }),\r\n (this.externalFiltersForGrid.selectedCategory = category);\r\n\r\n // If show all is selected then don't fetch collections\r\n if (category.id !== -1) {\r\n this.fetchCollectionsForGrid(category.id);\r\n }\r\n else {\r\n this.externalFiltersForGrid.collectionOptions = [];\r\n }\r\n\r\n // Solves error 'Property does not exist on type vue'\r\n if (this.$refs.translationsGrid != undefined) {\r\n const translationsGrid = this.$refs.translationsGrid as vTable;\r\n translationsGrid.search();\r\n }\r\n }\r\n filterByCollection(collection: CollectionSelectObj) {\r\n this.externalFiltersForGrid.selectedCollection = collection;\r\n const translationsGrid = this.$refs.translationsGrid as vTable;\r\n translationsGrid.search();\r\n }\r\n filterByLanguage(language: LangSelectObj) {\r\n this.externalFiltersForGrid.selectedLanguage = language;\r\n const translationsGrid = this.$refs.translationsGrid as vTable;\r\n translationsGrid.search();\r\n }\r\n /**\r\n * Method that adds a new language globally in the whole application.\r\n */\r\n addNewLanguage() {\r\n // Validate fields before\r\n this.$validator.validateAll(\"addLanguage\").then((result) => {\r\n if (result) {\r\n LocalizationRepository.createLocalizationLanguage(this.newLanguage.id)\r\n .then(() => {\r\n this.$snotify.success(\"New language added successfully.\");\r\n this.resetState();\r\n this.fetchLanguages();\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n return;\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n /**\r\n * Method that fires when a user selects a category.\r\n */\r\n selectCategory(category: SelectObj) {\r\n this.addNewTranslationModal.category = category;\r\n this.addNewTranslationModal.collection = {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n };\r\n if (category.name === \"Add new category\") {\r\n // Show section when you choose correct option and reset collections\r\n this.hideAddCategorySection = false;\r\n this.collections = [{ id: -1, name: \"Add new collection\" }];\r\n }\r\n else if (!this.hideAddCategorySection) {\r\n // Else if the section is shown then hide it\r\n this.newCategoryName = \"\";\r\n this.hideAddCategorySection = true;\r\n this.fetchCollections(category.id);\r\n }\r\n else {\r\n // Else fetch collections for selected category\r\n this.fetchCollections(category.id);\r\n }\r\n // Clear validator because it will be triggered on collection reset\r\n this.errors.clear(\"addTransKey.collection\");\r\n this.$nextTick(() => {\r\n this.$validator.reset();\r\n });\r\n }\r\n selectCollection(collection: CollectionSelectObj) {\r\n this.addNewTranslationModal.collection = collection;\r\n if (collection.name === \"Add new collection\") {\r\n // Show section when you choose correct option\r\n this.hideAddCollectionSection = false;\r\n }\r\n else if (!this.hideAddCollectionSection) {\r\n // Else if the section is shown then hide it\r\n this.newCollectionName = \"\";\r\n this.hideAddCollectionSection = true;\r\n }\r\n }\r\n /**\r\n * Method that adds a new category.\r\n */\r\n addNewCategory() {\r\n // Validate fields before\r\n this.$validator.validateAll(\"addNewCategory\").then((result) => {\r\n if (result) {\r\n LocalizationRepository.createLocalizationCategory(this.newCategoryName)\r\n .then((response) => {\r\n if (response.data.result) {\r\n this.categories.push(response.data.result);\r\n this.closeAddCategorySection();\r\n this.$snotify.success(\"New category added successfully.\");\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n return;\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n /**\r\n * Method that adds a new collection.\r\n */\r\n addNewCollection() {\r\n // User first needs to select category for the collection\r\n if (\r\n this.addNewTranslationModal.category.id === -1 ||\r\n this.addNewTranslationModal.category.id === undefined\r\n ) {\r\n this.$snotify.info(\r\n \"You need to select a category before adding the new collection.\"\r\n );\r\n return;\r\n }\r\n // Validate fields before\r\n this.$validator.validateAll(\"addNewCollection\").then((result) => {\r\n if (result) {\r\n const model = {\r\n Name: this.newCollectionName,\r\n LocalizationCategoryId: this.addNewTranslationModal.category.id,\r\n };\r\n LocalizationRepository.createLocalizationCollection(model)\r\n .then((response) => {\r\n if (response.data.result) {\r\n // Push the new collection to array\r\n this.collections.push(response.data.result);\r\n this.closeAddCollectionSection();\r\n this.$snotify.success(\"New collection added successfully.\");\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n return;\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n closeAddCategorySection() {\r\n this.$set(this.addNewTranslationModal, \"category\", { id: null, name: \"\" });\r\n this.$nextTick(() => {\r\n this.errors.clear(\"addNewCategory\");\r\n this.$nextTick(() => {\r\n this.$validator.reset();\r\n });\r\n });\r\n this.selectCategory(this.addNewTranslationModal.category);\r\n }\r\n closeAddCollectionSection() {\r\n this.$set(this.addNewTranslationModal, \"collection\", {\r\n id: null,\r\n name: \"\",\r\n });\r\n this.$nextTick(() => {\r\n this.errors.clear(\"addNewCollection\");\r\n this.$nextTick(() => {\r\n this.$validator.reset();\r\n });\r\n });\r\n this.selectCollection(this.addNewTranslationModal.collection);\r\n }\r\n /**\r\n * Method that adds a new translation key and value globally in the whole application.\r\n */\r\n addNewTranslationKey() {\r\n // Validate fields before\r\n this.$validator.validateAll(\"addTransKey\").then((result) => {\r\n if (result) {\r\n let keyLanguageValues: any = [];\r\n if (this.externalFiltersForGrid.languageOptions) {\r\n keyLanguageValues = this.externalFiltersForGrid.languageOptions.map(\r\n (language) => {\r\n return {\r\n LanguageId: language.id,\r\n Translation: language.translation ? language.translation : \"\",\r\n };\r\n }\r\n );\r\n }\r\n const model = {\r\n KeyLanguageValues: keyLanguageValues,\r\n CategoryId: this.addNewTranslationModal.category.id,\r\n CollectionId: this.addNewTranslationModal.collection.id,\r\n Key: this.addNewTranslationModal.translationKey,\r\n };\r\n LocalizationRepository.createTranslation(model)\r\n .then((response) => {\r\n if (response.data.result) {\r\n this.$snotify.success(\"New translation key added successfully.\");\r\n this.resetState();\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: this.translationsGridState.page,\r\n pageSize: 25,\r\n filters: this.filters,\r\n orders: [this.ordering],\r\n })\r\n );\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n return;\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n\r\n /**\r\n * Method for editing selected translation in the grid\r\n */\r\n editTranslationValue() {\r\n // @ts-ignore\r\n this.$snotify.async(\r\n this.translations.get(\"sysconfig_toastr_updating\"),\r\n () =>\r\n new Promise((resolve, reject) => {\r\n const model = {\r\n KeyId: this.editTranslationValueProps.translationId,\r\n LanguageId: this.editTranslationValueProps.languageId,\r\n Value: this.editTranslationValueProps.newTranslationValue,\r\n };\r\n LocalizationRepository.updateTranslation(model)\r\n .then(() => {\r\n resolve({\r\n body: this.translations.get(\"sysconfig_toastr_updated\"),\r\n });\r\n this.showEditTranslationValueModal = false;\r\n this.editTranslationValueProps = {\r\n newTranslationValue: \"\",\r\n translationId: null,\r\n languageId: null,\r\n editModalTitle: \"\",\r\n };\r\n\r\n if (\r\n this.externalFiltersForGrid.selectedCategory != null &&\r\n this.externalFiltersForGrid.selectedCategory.id != undefined\r\n ) {\r\n this.filters.push({\r\n name: \"CategoryId\",\r\n value:\r\n this.externalFiltersForGrid.selectedCategory.id.toString(),\r\n });\r\n }\r\n\r\n if (\r\n this.externalFiltersForGrid.selectedCollection != null &&\r\n this.externalFiltersForGrid.selectedCollection.id != undefined\r\n ) {\r\n this.filters.push({\r\n name: \"CollectionId\",\r\n value:\r\n this.externalFiltersForGrid.selectedCollection.id.toString(),\r\n });\r\n }\r\n\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: this.translationsGridState.page,\r\n pageSize: 25,\r\n filters: this.filters,\r\n orders: [this.ordering],\r\n })\r\n );\r\n })\r\n .catch((error: any) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message =\r\n error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.resetState();\r\n reject({ body: message });\r\n });\r\n }),\r\n {\r\n timeout: 3000,\r\n closeOnClick: true,\r\n }\r\n );\r\n }\r\n\r\n /**\r\n * Method for deleting selected translation in the grid\r\n */\r\n confirmDelete() {\r\n // @ts-ignore\r\n this.$snotify.async(\r\n this.translations.get(\r\n \"sysconfig_toastr_deleting\",\r\n this.removeList.length\r\n ),\r\n () =>\r\n new Promise((resolve, reject) => {\r\n LocalizationRepository.deleteLocalizationKeys(this.removeList)\r\n .then(() => {\r\n resolve({\r\n body: this.translations.get(\r\n \"sysconfig_toastr_deleted\",\r\n this.removeList.length\r\n ),\r\n });\r\n this.resetState();\r\n this.resetExternalFilters();\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: this.translationsGridState.page,\r\n pageSize: 25,\r\n filters: this.filters,\r\n orders: [this.ordering],\r\n })\r\n );\r\n this.removeList = [];\r\n })\r\n .catch((error: any) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message =\r\n error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.resetState();\r\n reject({ body: message });\r\n });\r\n }),\r\n {\r\n timeout: 3000,\r\n closeOnClick: true,\r\n }\r\n );\r\n }\r\n /**\r\n * Method that resets the values of the external filters.\r\n */\r\n resetExternalFilters() {\r\n this.externalFiltersForGrid.selectedLanguage = {\r\n id: undefined,\r\n name: \"\",\r\n value: \"\",\r\n translation: \"\",\r\n };\r\n this.externalFiltersForGrid.selectedCategory = { id: undefined, name: \"\" };\r\n this.externalFiltersForGrid.selectedCollection = {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n };\r\n }\r\n\r\n /**\r\n * Method that resets most variables and closes all modals.\r\n */\r\n resetState() {\r\n // Reset add new language modal state\r\n if (this.showAddNewLanguageModal) {\r\n this.showAddNewLanguageModal = false;\r\n this.newLanguage = {\r\n id: \"\",\r\n name: \"\",\r\n };\r\n }\r\n if (this.showAddNewTransKeyModal) {\r\n this.showAddNewTransKeyModal = false;\r\n // Clear all previous modal entries\r\n this.addNewTranslationModal = {\r\n category: { id: 3, name: \"pages\" },\r\n collection: {\r\n id: undefined,\r\n name: \"\",\r\n localizationCategoryId: undefined,\r\n localizationCategory: \"\",\r\n },\r\n translationKey: \"\",\r\n };\r\n }\r\n // Reset delete translation modal\r\n if (this.showRemovePrompt) {\r\n this.showRemovePrompt = false;\r\n this.removePromptTitle = \"\";\r\n }\r\n\r\n // Reset edit translation value modal props\r\n if (this.showEditTranslationValueModal) {\r\n this.showEditTranslationValueModal = false;\r\n this.editTranslationValueProps = {\r\n newTranslationValue: \"\",\r\n translationId: null,\r\n languageId: null,\r\n editModalTitle: \"\",\r\n };\r\n }\r\n }\r\n /**\r\n * Method that populates the grid with all translations available.\r\n */\r\n fetchTranslations(listRequest: ListRequest) {\r\n this.translationsGridState.loading = true;\r\n LocalizationRepository.listTranslations(listRequest)\r\n .then((response) => {\r\n this.translationsGridState.count = response.data.count;\r\n this.translationsGridState.totalCount = response.data.totalCount;\r\n this.translationsGridState.translations = response.data.result;\r\n this.translationsGridState.loading = false;\r\n })\r\n .catch((error) => {\r\n if (error.response)\r\n this.$snotify.error(\r\n error.response.errorMessages[0].userVisibleMessage\r\n );\r\n else this.$snotify.error(this.translations.get(\"network-error\"));\r\n this.translationsGridState.loading = false;\r\n });\r\n }\r\n /**\r\n * Method that populates category filter options and modal for adding new translation key.\r\n */\r\n fetchCategories() {\r\n LocalizationRepository.getCategories()\r\n .then((response) => {\r\n // Populate collections in add new translation modal\r\n this.collections = [{ id: -1, name: \"Add new collection\" }];\r\n if (response.data.result && response.data.result.length) {\r\n this.categories = [\r\n { id: -1, name: \"Add new category\" },\r\n ...response.data.result,\r\n ];\r\n this.externalFiltersForGrid.categoryOptions = [\r\n { id: -1, name: \"Show all\" },\r\n ...response.data.result,\r\n ];\r\n }\r\n else {\r\n this.categories = [{ id: -1, name: \"Add new category\" }];\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n }\r\n /**\r\n * Method that populates collection filter options and modal for adding new translation key, after the user chooses a category.\r\n */\r\n fetchCollections(categoryId: number | undefined) {\r\n if (categoryId) {\r\n LocalizationRepository.getCollections(categoryId)\r\n .then((response) => {\r\n if (response.data.result && response.data.result.length) {\r\n this.collections = [\r\n { id: -1, name: \"Add new collection\" },\r\n ...response.data.result,\r\n ];\r\n }\r\n else {\r\n this.collections = [{ id: -1, name: \"Add new collection\" }];\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n }\r\n }\r\n fetchCollectionsForGrid(categoryId: number | undefined) {\r\n LocalizationRepository.getCollections(categoryId)\r\n .then((response) => {\r\n if (response.data.result && response.data.result.length) {\r\n this.externalFiltersForGrid.collectionOptions = [\r\n { id: -1, name: \"Show all\" },\r\n ...response.data.result,\r\n ];\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n }\r\n /**\r\n * Method that populates language filter options.\r\n */\r\n fetchLanguages() {\r\n LocalizationRepository.getLanguages()\r\n .then((response) => {\r\n if (response.data.result && response.data.result.length) {\r\n this.externalFiltersForGrid.languageOptions = response.data.result;\r\n // On initial load show english translations\r\n this.externalFiltersForGrid.selectedLanguage =\r\n this.externalFiltersForGrid.languageOptions.find(\r\n (element) => element.id === 1\r\n );\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n }\r\n\r\n /**\r\n * Method that populates language filter options.\r\n */\r\n fetchAllLanguagesForAddNewLanguage() {\r\n LocalizationRepository.getAvailableLanguagesForAdding()\r\n .then((response) => {\r\n if (response && response.length) {\r\n this.allLanguageOptions = response.map((x: any) => {\r\n return {\r\n id: x.name,\r\n name: x.value,\r\n };\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n let message = \"\";\r\n if (error.response) {\r\n message = error.response.data.errorMessages[0].userVisibleMessage;\r\n }\r\n else {\r\n message = this.translations.get(\"network_error\");\r\n }\r\n this.$snotify.error(message);\r\n });\r\n }\r\n\r\n mounted() {\r\n this.fetchCategories();\r\n this.fetchLanguages();\r\n // Filter grid by english language on first load\r\n this.filters.push({ name: \"LanguageId\", value: \"1\" });\r\n this.filters.push({ name: \"CategoryId\", value: \"3\" });\r\n this.fetchTranslations(\r\n new ListRequest({\r\n page: this.translationsGridState.page,\r\n pageSize: 25,\r\n filters: this.filters,\r\n orders: [this.ordering],\r\n })\r\n );\r\n }\r\n created() {\r\n if (this.accountState.userDetails.userType === UserTypes.SuperAdministrator)\r\n this.fetchNutrientSources();\r\n\r\n this.$store.dispatch(TRANSLATIONS_FETCH, {\r\n category: \"pages\",\r\n collections: [\"sysconfig\", \"common\"],\r\n });\r\n this.filterGridByCategory({ id: 3, name: \"pages\" });\r\n document.title = \"System Configuration | MenuSano\";\r\n }\r\n\r\n get translations() {\r\n return this.localizationState.translations;\r\n }\r\n}\r\nexport default SystemConfiguration;\r\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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemConfiguration.vue?vue&type=script&lang=ts\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemConfiguration.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SystemConfiguration.vue?vue&type=template&id=11c88375&scoped=true\"\nimport script from \"./SystemConfiguration.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemConfiguration.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemConfiguration.vue?vue&type=style&index=0&id=11c88375&prod&scoped=true&lang=css\"\nimport style1 from \"./SystemConfiguration.vue?vue&type=style&index=1&id=11c88375&prod&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 \"11c88375\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"select-container\",class:{ noLabel: !_vm.label },staticStyle:{\"position\":\"relative\"}},[(_vm.label && !_vm.disabled)?_c('label',{staticClass:\"vs-label\"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.required)?_c('label',{staticClass:\"vs-required-indicator\"},[_vm._v(\"*\")]):_vm._e(),(_vm.multiple)?_c('v-select',{staticClass:\"select-multiple\",class:{ filled: _vm.hasValue, multiple: true },attrs:{\"clearable\":_vm.clearable,\"multiple\":\"\",\"reduce\":(obj) => obj.id,\"filterable\":_vm.filterable,\"label\":\"name\",\"placeholder\":_vm.placeholder,\"value\":_vm.values,\"options\":_vm.options,\"disabled\":_vm.disabled},on:{\"search:focus\":function($event){return _vm.$emit('focus')},\"input\":(vals) => _vm.$emit('input', vals),\"search\":(searchQuery) => _vm.$emit('search', searchQuery)}}):_c('v-select',{staticClass:\"select-single\",class:{ filled: _vm.hasValue, noLabel: !_vm.label },attrs:{\"clearable\":_vm.clearable,\"placeholder\":_vm.placeholder,\"reduce\":(obj) => obj.id,\"filterable\":_vm.filterable,\"label\":\"name\",\"value\":_vm.value,\"options\":_vm.options,\"searchable\":_vm.searchable,\"disabled\":_vm.disabled,\"no-drop\":_vm.noDrop},on:{\"input\":(val) => _vm.$emit('input', val),\"search\":(searchQuery) => _vm.$emit('search', searchQuery),\"search:focus\":function($event){return _vm.$emit('search:focus')},\"search:blur\":function($event){return _vm.$emit('search:blur')}}}),(_vm.required && _vm.showError)?_c('label',{staticClass:\"error-text\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\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!./vSelect.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!./vSelect.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./vSelect.vue?vue&type=template&id=be901f14\"\nimport script from \"./vSelect.vue?vue&type=script&lang=js\"\nexport * from \"./vSelect.vue?vue&type=script&lang=js\"\nimport style0 from \"./vSelect.vue?vue&type=style&index=0&id=be901f14&prod&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","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!./SystemConfiguration.vue?vue&type=style&index=0&id=11c88375&prod&scoped=true&lang=css\"","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!./vSelect.vue?vue&type=style&index=0&id=be901f14&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('transition',{attrs:{\"name\":\"modal\",\"role\":\"dialog\"}},[(_vm.show)?_c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-wrapper\",attrs:{\"id\":_vm.modalId}},[_c('div',{staticClass:\"modal-dialog\",class:{'modal-small':_vm.size === 's', 'modal-medium':_vm.size==='m' || typeof _vm.size === 'undefined', 'modal-large':_vm.size === 'l', 'modal-x-large':_vm.size === 'xl'}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('h3',{staticClass:\"modal-title\"},[_vm._v(_vm._s(_vm.modalTitle))]),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancelModal}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body\"},[_vm._t(\"default\")],2)])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Vue, Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class vModal extends Vue {\r\n @Prop() show!: boolean;\r\n @Prop() modalTitle!: string;\r\n @Prop() size?: string;\r\n @Prop() modalId?: string;\r\n\r\n @Watch(\"show\")\r\n showModal() {\r\n let bodee = document.getElementsByTagName(\"body\")[0];\r\n if (this.show) bodee.classList.add(\"modalOpen\");\r\n else bodee.classList.remove(\"modalOpen\");\r\n }\r\n\r\n hideModal() {\r\n this.$emit(\"hideModal\");\r\n }\r\n\r\n cancelModal() {\r\n this.$emit(\"cancelModal\");\r\n }\r\n\r\n mounted() {\r\n document.addEventListener(\"keydown\", (e) => {\r\n if (this.show && e.keyCode == 27) {\r\n this.cancelModal();\r\n }\r\n });\r\n }\r\n}\r\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vModal.vue?vue&type=script&lang=ts\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./vModal.vue?vue&type=template&id=c51eb92e&scoped=true\"\nimport script from \"./vModal.vue?vue&type=script&lang=ts\"\nexport * from \"./vModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./vModal.vue?vue&type=style&index=0&id=c51eb92e&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 \"c51eb92e\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}