%PDF- %PDF-
Direktori : /var/www/html/hr/web/js/ |
Current File : /var/www/html/hr/web/js/chunk-38d5c037.52580c72.js.map |
{"version":3,"sources":["webpack:///./src/views/configs/Configs.vue?d78d","webpack:///./src/services/Configs.js","webpack:///src/views/configs/Configs.vue","webpack:///./src/views/configs/Configs.vue?57ab","webpack:///./src/views/configs/Configs.vue","webpack:///./src/components/configs/ConfigsComponent.vue?3966","webpack:///src/components/configs/ConfigsComponent.vue","webpack:///./src/components/configs/ConfigsComponent.vue?05f6","webpack:///./src/components/configs/ConfigsComponent.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","$t","loadingData","configs","loading","on","updateConfigs","staticRenderFns","getConfigs","Promise","resolve","reject","ApiFactory","get","then","success","data","error","catch","e","id","put","component","staticClass","ref","scopedSlots","_u","key","fn","invalid","$event","preventDefault","submit","_v","_s","model","value","callback","$$v","$set","expression","errors","should_get_holidays_from_working_day_overtime","_e","should_get_holidays_from_non_working_day_overtime"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,aAAa,CAACE,MAAM,CAAC,GAAK,iBAAiB,CAACF,EAAG,oBAAoB,CAACE,MAAM,CAAC,MAAQN,EAAIO,GAAG,8BAA8B,GAAGH,EAAG,cAAc,CAACE,MAAM,CAAC,QAAUN,EAAIQ,cAAc,CAACJ,EAAG,oBAAoB,CAACE,MAAM,CAAC,QAAUN,EAAIS,QAAQ,QAAUT,EAAIU,SAASC,GAAG,CAAC,QAAUX,EAAIY,kBAAkB,IAAI,IAC9YC,EAAkB,G,oCCEP,GACbC,WADa,WAEX,OAAO,IAAIC,SAAQ,SAACC,EAASC,GAC3BC,OAAWC,IAAX,sBACGC,MACC,SAACC,GAAD,OAAaL,EAAQK,EAAQC,SAC7B,SAACC,GAAD,OAAWN,EAAOM,MAClBC,OAAM,SAA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CAACyB,YAAY,mBAAmBvB,MAAM,CAAC,QAAUN,EAAIU,QAAQ,OAAS,SAAS,MAAQ,UAAU,KAAO,WAAW,CAACV,EAAIuC,GAAG,IAAIvC,EAAIwC,GAAGxC,EAAIO,GAAG,iBAAiB,QAAQ,WAAW,QACh/BM,EAAkB,G,oCCoJtB,GACE,KAAF,mBACE,WAAF,CACI,WAAJ,QAEE,MAAF,CACI,QAAJ,CACM,KAAN,OACM,UAAN,GAEI,QAAJ,CACM,KAAN,QACM,SAAN,IAGE,QAAF,CACI,OADJ,WACM,IAAN,OAAM,OAAN,4JACA,6BADA,UACA,EADA,OAEA,EAFA,iDAGA,mBAHA,gDCvLyW,I,YCOrWe,EAAY,eACd,EACA7B,EACAc,GACA,EACA,KACA,WACA,MAIa,OAAAe,E","file":"js/chunk-38d5c037.52580c72.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vue-portal',{attrs:{\"to\":\"hrsys-navbar\"}},[_c('base-header-title',{attrs:{\"title\":_vm.$t('modules.configurations')}})],1),_c('base-loader',{attrs:{\"loading\":_vm.loadingData}},[_c('configs-component',{attrs:{\"configs\":_vm.configs,\"loading\":_vm.loading},on:{\"confirm\":_vm.updateConfigs}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ApiFactory from '@/factories/ApiFactory'\n// import { serialize } from '@/utilities/querySerialize'\n\nexport default {\n getConfigs() {\n return new Promise((resolve, reject) => {\n ApiFactory.get(`v1/configurations?`)\n .then(\n (success) => resolve(success.data),\n (error) => reject(error)\n ).catch(e => reject(e))\n })\n },\n updateConfigs(configs) {\n let { id } = configs\n return new Promise((resolve, reject) => {\n ApiFactory.put(`v1/configurations/${id}`, configs)\n .then(\n (success) => resolve(success.data),\n (error) => reject(error)\n ).catch(e => reject(e))\n })\n },\n}\n","<template>\n <div>\n <vue-portal to=\"hrsys-navbar\">\n <base-header-title :title=\"$t('modules.configurations')\"/>\n </vue-portal>\n <base-loader :loading=\"loadingData\">\n <configs-component :configs=\"configs\" :loading=\"loading\" @confirm=\"updateConfigs\"/>\n </base-loader>\n </div>\n</template>\n\n<script>\n import ConfigsComponent from \"../../components/configs/ConfigsComponent\"\n import Configs from \"../../services/Configs\";\n\n export default {\n name: \"Configs\",\n components: {\n ConfigsComponent\n },\n data: () => ({\n configs: {},\n loadingData: false,\n loading: false\n }),\n methods: {\n getConfigs () {\n this.loadingData = true;\n Configs.getConfigs().then(result => {\n this.configs = result.data\n }).catch(error => {\n this.$notificationService.error(error.message)\n }).finally(() => {\n this.loadingData = false\n })\n },\n updateConfigs () {\n this.loading = true;\n Configs.updateConfigs(this.configs).then(() => {\n this.$notificationService.success(this.$t('config.successUpdate'))\n }).catch((error) => {\n this.$notificationService.error(error.message)\n }).finally(() => {\n this.loading = false\n })\n },\n },\n mounted () {\n this.getConfigs()\n }\n }\n</script>\n\n<style scoped>\n\n</style>\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!./Configs.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!./Configs.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Configs.vue?vue&type=template&id=7d0d48c6&scoped=true&\"\nimport script from \"./Configs.vue?vue&type=script&lang=js&\"\nexport * from \"./Configs.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 \"7d0d48c6\",\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:\"view-container\"},[_c('div',{staticClass:\"flex flex-col justify-around items-center\"},[_c('div',{staticClass:\"max-w-md w-full md:w-1/2 flex flex-wrap content-center justify-center\"},[_c('ValidationObserver',{ref:\"validator\",staticClass:\"w-full\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar invalid = ref.invalid;\nreturn [_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit()}}},[_c('ValidationProvider',{attrs:{\"vid\":_vm.$t('config.annual_leave_quantity')}},[_c('div',{staticClass:\"flex w-full mt-2 h-12 items-center\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2\"},[_vm._v(_vm._s(_vm.$t('config.annual_leave_quantity')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.annual_leave_quantity),callback:function ($$v) {_vm.$set(_vm.configs, \"annual_leave_quantity\", $$v)},expression:\"configs.annual_leave_quantity\"}})],1)]),_c('div',{staticClass:\"flex w-full mt-2 h-12 items-center\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('config.should_postpone_holidays'))+\" \")]),_c('toggle-button',{attrs:{\"height\":25,\"sync\":true,\"width\":62},model:{value:(_vm.configs.should_postpone_holidays),callback:function ($$v) {_vm.$set(_vm.configs, \"should_postpone_holidays\", $$v)},expression:\"configs.should_postpone_holidays\"}})],1),_c('ValidationProvider',{attrs:{\"vid\":_vm.$t('config.should_get_holidays_from_working_day_overtime')}},[_c('div',{staticClass:\"flex w-full mt-2 h-12 items-center\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('config.should_get_holidays_from_working_day_overtime'))+\" \")]),_c('toggle-button',{attrs:{\"height\":25,\"sync\":true,\"width\":62},model:{value:(_vm.configs.should_get_holidays_from_working_day_overtime),callback:function ($$v) {_vm.$set(_vm.configs, \"should_get_holidays_from_working_day_overtime\", $$v)},expression:\"configs.should_get_holidays_from_working_day_overtime\"}})],1)]),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.holidays_percentage_from_working_day_overtime'),\"rules\":(\"required_if:\" + (_vm.$t('config.should_get_holidays_from_working_day_overtime')) + \",true|numeric\")},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.holidays_percentage_from_working_day_overtime')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"disabled\":!_vm.configs.should_get_holidays_from_working_day_overtime,\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.holidays_percentage_from_working_day_overtime),callback:function ($$v) {_vm.$set(_vm.configs, \"holidays_percentage_from_working_day_overtime\", $$v)},expression:\"configs.holidays_percentage_from_working_day_overtime\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"vid\":_vm.$t('config.should_get_holidays_from_non_working_day_overtime')}},[_c('div',{staticClass:\"flex w-full mt-2 h-12 items-center\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2\"},[_vm._v(_vm._s(_vm.$t('config.should_get_holidays_from_non_working_day_overtime')))]),_c('toggle-button',{attrs:{\"height\":25,\"sync\":true,\"width\":62},model:{value:(_vm.configs.should_get_holidays_from_non_working_day_overtime),callback:function ($$v) {_vm.$set(_vm.configs, \"should_get_holidays_from_non_working_day_overtime\", $$v)},expression:\"configs.should_get_holidays_from_non_working_day_overtime\"}})],1)]),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.holidays_percentage_from_non_working_day_overtime'),\"rules\":(\"required_if:\" + (_vm.$t('config.should_get_holidays_from_non_working_day_overtime')) + \",true|numeric\")},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.holidays_percentage_from_non_working_day_overtime')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"disabled\":!_vm.configs.should_get_holidays_from_non_working_day_overtime,\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.holidays_percentage_from_non_working_day_overtime),callback:function ($$v) {_vm.$set(_vm.configs, \"holidays_percentage_from_non_working_day_overtime\", $$v)},expression:\"configs.holidays_percentage_from_non_working_day_overtime\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.expected_daily_working_hours'),\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.expected_daily_working_hours')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.expected_daily_working_hours),callback:function ($$v) {_vm.$set(_vm.configs, \"expected_daily_working_hours\", $$v)},expression:\"configs.expected_daily_working_hours\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.overtime_percentage_on_working_day'),\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.overtime_percentage_on_working_day')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.overtime_percentage_on_working_day),callback:function ($$v) {_vm.$set(_vm.configs, \"overtime_percentage_on_working_day\", $$v)},expression:\"configs.overtime_percentage_on_working_day\"}},[_vm._v(\"/ \")])],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.overtime_percentage_on_non_working_day'),\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.overtime_percentage_on_non_working_day')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.overtime_percentage_on_non_working_day),callback:function ($$v) {_vm.$set(_vm.configs, \"overtime_percentage_on_non_working_day\", $$v)},expression:\"configs.overtime_percentage_on_non_working_day\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.out_sick_percentage'),\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.out_sick_percentage')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.out_sick_percentage),callback:function ($$v) {_vm.$set(_vm.configs, \"out_sick_percentage\", $$v)},expression:\"configs.out_sick_percentage\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.overtime_percentage_on_working_day'),\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"flex-grow vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.holidays_validity_in_months')))]),_c('vs-input',{staticClass:\" pl-2 w-20 flex-shrink-0\",attrs:{\"min\":\"0\",\"type\":\"number\"},model:{value:(_vm.configs.holidays_validity_in_months),callback:function ($$v) {_vm.$set(_vm.configs, \"holidays_validity_in_months\", $$v)},expression:\"configs.holidays_validity_in_months\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":_vm.$t('config.valid_from'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"w-3/4 vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.valid_from')))]),_c('date-picker',{staticClass:\" -mx-2\",model:{value:(_vm.configs.valid_from),callback:function ($$v) {_vm.$set(_vm.configs, \"valid_from\", $$v)},expression:\"configs.valid_from\"}})],1),(errors[0])?_c('span',{staticClass:\"text-xs italic text-danger\"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}),_c('div',{staticClass:\"flex w-full mt-2\"},[_c('label',{staticClass:\"w-3/4 vs-input--label mr-2 self-center\"},[_vm._v(_vm._s(_vm.$t('config.valid_to')))]),_c('date-picker',{ref:\"calendarTo\",staticClass:\" -mx-2\",model:{value:(_vm.configs.valid_to),callback:function ($$v) {_vm.$set(_vm.configs, \"valid_to\", $$v)},expression:\"configs.valid_to\"}})],1),_c('base-button',{staticClass:\"w-full mx-2 my-5\",attrs:{\"loading\":_vm.loading,\"button\":\"filled\",\"color\":\"success\",\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t('buttons.save'))+\" \")])],1)]}}])})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"view-container\">\n <div class=\"flex flex-col justify-around items-center\">\n <div class=\"max-w-md w-full md:w-1/2 flex flex-wrap content-center justify-center\">\n <ValidationObserver class=\"w-full\" ref=\"validator\" v-slot=\"{ invalid }\">\n <form @submit.prevent=\"submit()\">\n\n <ValidationProvider :vid=\"$t('config.annual_leave_quantity')\">\n <div class=\"flex w-full mt-2 h-12 items-center\">\n <label class=\"flex-grow vs-input--label mr-2\">{{\n $t('config.annual_leave_quantity') }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\"\n type=\"number\"\n v-model=\"configs.annual_leave_quantity\"/>\n </div>\n </ValidationProvider>\n\n <div class=\"flex w-full mt-2 h-12 items-center\">\n <label class=\"flex-grow vs-input--label mr-2\">\n {{ $t('config.should_postpone_holidays') }}\n </label>\n <toggle-button :height=\"25\"\n :sync=\"true\"\n :width=\"62\"\n v-model=\"configs.should_postpone_holidays\"/>\n </div>\n\n <ValidationProvider :vid=\"$t('config.should_get_holidays_from_working_day_overtime')\">\n <div class=\"flex w-full mt-2 h-12 items-center\">\n <label class=\"flex-grow vs-input--label mr-2\">\n {{ $t('config.should_get_holidays_from_working_day_overtime') }}\n </label>\n <toggle-button :height=\"25\"\n :sync=\"true\"\n :width=\"62\"\n v-model=\"configs.should_get_holidays_from_working_day_overtime\"/>\n </div>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.holidays_percentage_from_working_day_overtime')\"\n :rules=\"`required_if:${$t('config.should_get_holidays_from_working_day_overtime')},true|numeric`\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.holidays_percentage_from_working_day_overtime') }}</label>\n <vs-input :disabled=\"!configs.should_get_holidays_from_working_day_overtime\" class=\" pl-2 w-20 flex-shrink-0\"\n min=\"0\"\n type=\"number\"\n v-model=\"configs.holidays_percentage_from_working_day_overtime\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :vid=\"$t('config.should_get_holidays_from_non_working_day_overtime')\">\n <div class=\"flex w-full mt-2 h-12 items-center\">\n <label class=\"flex-grow vs-input--label mr-2\">{{\n $t('config.should_get_holidays_from_non_working_day_overtime') }}</label>\n <toggle-button :height=\"25\"\n :sync=\"true\"\n :width=\"62\" v-model=\"configs.should_get_holidays_from_non_working_day_overtime\"/>\n </div>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.holidays_percentage_from_non_working_day_overtime')\"\n :rules=\"`required_if:${$t('config.should_get_holidays_from_non_working_day_overtime')},true|numeric`\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.holidays_percentage_from_non_working_day_overtime') }}</label>\n <vs-input :disabled=\"!configs.should_get_holidays_from_non_working_day_overtime\" class=\" pl-2 w-20 flex-shrink-0\"\n min=\"0\"\n type=\"number\"\n v-model=\"configs.holidays_percentage_from_non_working_day_overtime\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.expected_daily_working_hours')\"\n rules=\"required|numeric\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.expected_daily_working_hours') }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\"\n type=\"number\"\n v-model=\"configs.expected_daily_working_hours\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.overtime_percentage_on_working_day')\"\n rules=\"required|numeric\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.overtime_percentage_on_working_day') }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\" type=\"number\"\n v-model=\"configs.overtime_percentage_on_working_day\">/\n </vs-input>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.overtime_percentage_on_non_working_day')\"\n rules=\"required|numeric\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.overtime_percentage_on_non_working_day') }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\" type=\"number\"\n v-model=\"configs.overtime_percentage_on_non_working_day\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.out_sick_percentage')\"\n rules=\"required|numeric\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{ $t('config.out_sick_percentage')\n }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\" type=\"number\"\n v-model=\"configs.out_sick_percentage\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.overtime_percentage_on_working_day')\"\n rules=\"required|numeric\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"flex-grow vs-input--label mr-2 self-center\">{{\n $t('config.holidays_validity_in_months') }}</label>\n <vs-input class=\" pl-2 w-20 flex-shrink-0\" min=\"0\" type=\"number\"\n v-model=\"configs.holidays_validity_in_months\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <ValidationProvider :name=\"$t('config.valid_from')\"\n rules=\"required\"\n v-slot=\"{ errors }\">\n <div class=\"flex w-full mt-2\">\n <label class=\"w-3/4 vs-input--label mr-2 self-center\">{{ $t('config.valid_from') }}</label>\n <date-picker class=\" -mx-2\" v-model=\"configs.valid_from\"/>\n </div>\n <span class=\"text-xs italic text-danger\" v-if=\"errors[0]\">{{ errors[0] }}</span>\n </ValidationProvider>\n\n <div class=\"flex w-full mt-2\">\n <label class=\"w-3/4 vs-input--label mr-2 self-center\">{{ $t('config.valid_to') }}</label>\n <date-picker class=\" -mx-2\" ref=\"calendarTo\" v-model=\"configs.valid_to\"/>\n </div>\n <base-button :loading=\"loading\" button=\"filled\" class=\"w-full mx-2 my-5\" color=\"success\" type=\"submit\">\n {{ $t('buttons.save') }}\n </base-button>\n\n </form>\n </ValidationObserver>\n </div>\n </div>\n </div>\n</template>\n\n<script>\n import DatePicker from \"../../components/DatePicker\";\n\n export default {\n name: \"ConfigsComponent\",\n components: {\n DatePicker\n },\n props: {\n configs: {\n type: Object,\n required: true\n },\n loading: {\n type: Boolean,\n default: false\n }\n },\n methods: {\n async submit () {\n const isValid = await this.$refs.validator.validate();\n if (!isValid) return\n this.$emit('confirm')\n },\n },\n }\n</script>\n\n<style scoped>\n\n</style>\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!./ConfigsComponent.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!./ConfigsComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ConfigsComponent.vue?vue&type=template&id=9ec29e00&scoped=true&\"\nimport script from \"./ConfigsComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./ConfigsComponent.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 \"9ec29e00\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}