{"version":3,"sources":["webpack:///./src/pages/hr/paper/papers/components/EditPaperDialog.vue","webpack:///src/pages/hr/paper/papers/components/EditPaperDialog.vue","webpack:///./src/pages/hr/paper/papers/components/EditPaperDialog.vue?dd06","webpack:///./src/pages/hr/paper/papers/components/EditPaperDialog.vue?60d7"],"names":["render","_vm","this","_c","_self","attrs","model","value","open","callback","$$v","expression","ref","scopedSlots","_u","key","fn","handleSubmit","staticClass","_v","_s","$t","on","_g","onClose","errors","paper","fileName","$set","paperType","signatureStatus","issueDate","expireDate","description","approvalProcessRequired","includeProcess","_e","$event","onSave","staticRenderFns","name","components","PaperTypePicker","SignatureType","props","item","data","computed","get","set","watch","methods","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,WAAa,qBAAqB,YAAY,IAAI,WAAa,IAAIC,MAAM,CAACC,MAAON,EAAIO,KAAMC,SAAS,SAAUC,GAAMT,EAAIO,KAAKE,GAAKC,WAAW,SAAS,CAACR,EAAG,sBAAsB,CAACS,IAAI,OAAOP,MAAM,CAAC,KAAO,IAAIQ,YAAYZ,EAAIa,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,UAAS,aAAEC,IAAgB,MAAO,CAACd,EAAG,SAAS,CAACA,EAAG,eAAe,CAACe,YAAY,kBAAkB,CAACf,EAAG,eAAeA,EAAG,OAAO,CAACe,YAAY,yCAAyC,CAACjB,EAAIkB,GAAG,IAAIlB,EAAImB,GAAGnB,EAAIoB,GAAG,wBAAwB,OAAOlB,EAAG,YAAYA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAS,IAAIQ,YAAYZ,EAAIa,GAAG,CAAC,CAACC,IAAI,YAAYC,GAAG,UAAS,GAAEM,IAAM,MAAO,CAACnB,EAAG,QAAQF,EAAIsB,GAAG,CAAClB,MAAM,CAAC,MAAQ,OAAO,KAAO,IAAIiB,GAAG,CAAC,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var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"transition\":\"slide-y-transition\",\"max-width\":600,\"persistent\":\"\"},model:{value:(_vm.open),callback:function ($$v) {_vm.open=$$v},expression:\"open\"}},[_c('validation-observer',{ref:\"form\",attrs:{\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('v-card',[_c('v-card-title',{staticClass:\"grey lighten-4\"},[_c('app-id-icon'),_c('span',{staticClass:\"font-weight-bold tertiary--text title\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"hr.paper.edit_paper\"))+\" \")]),_c('v-spacer'),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c('v-btn',_vm._g({attrs:{\"color\":\"grey\",\"icon\":\"\"},on:{\"click\":_vm.onClose}},on),[_c('v-icon',[_vm._v(\"mdi-close\")])],1)]}}],null,true)},[_c('span',[_vm._v(_vm._s(_vm.$t(\"buttons.close\")))])])],1),_c('v-card-text',[_c('v-container',{staticClass:\"pa-0\",attrs:{\"grid-list-xl\":\"\"}},[_c('v-layout',{attrs:{\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('global.filename'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-text-field',{attrs:{\"label\":_vm.$t('global.filename'),\"error-messages\":errors},model:{value:(_vm.paper.fileName),callback:function ($$v) {_vm.$set(_vm.paper, \"fileName\", $$v)},expression:\"paper.fileName\"}})]}}],null,true)})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('hr.paper.type'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('paper-type-picker',{attrs:{\"return-object\":\"\",\"error-messages\":errors},model:{value:(_vm.paper.paperType),callback:function ($$v) {_vm.$set(_vm.paper, \"paperType\", $$v)},expression:\"paper.paperType\"}})]}}],null,true)})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('hr.paper.signature_status'),\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('signature-type',{attrs:{\"error-messages\":errors},model:{value:(_vm.paper.signatureStatus),callback:function ($$v) {_vm.$set(_vm.paper, \"signatureStatus\", $$v)},expression:\"paper.signatureStatus\"}})]}}],null,true)})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\"}},[_c('date-picker',{attrs:{\"clearable\":\"\",\"label\":_vm.$t('hr.paper.issue_date')},model:{value:(_vm.paper.issueDate),callback:function ($$v) {_vm.$set(_vm.paper, \"issueDate\", $$v)},expression:\"paper.issueDate\"}})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\"}},[_c('date-picker',{attrs:{\"clearable\":\"\",\"label\":_vm.$t('hr.paper.expire_date')},model:{value:(_vm.paper.expireDate),callback:function ($$v) {_vm.$set(_vm.paper, \"expireDate\", $$v)},expression:\"paper.expireDate\"}})],1),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('global.description'),\"rules\":\"max:512\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-textarea',{attrs:{\"clearable\":\"\",\"rows\":\"1\",\"label\":_vm.$t('global.description'),\"color\":\"tertiary\",\"counter\":512,\"error-messages\":errors},model:{value:(_vm.paper.description),callback:function ($$v) {_vm.$set(_vm.paper, \"description\", $$v)},expression:\"paper.description\"}})]}}],null,true)})],1),(_vm.approvalProcessRequired)?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-switch',{attrs:{\"ripple\":\"\",\"color\":\"teal\",\"label\":_vm.paper.includeProcess\n ? _vm.$t('hr.paper.paper_include_process')\n : _vm.$t('hr.paper.paper_not_include_process')},model:{value:(_vm.paper.includeProcess),callback:function ($$v) {_vm.$set(_vm.paper, \"includeProcess\", $$v)},expression:\"paper.includeProcess\"}})],1):_vm._e()],1)],1)],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"depressed\":\"\"},on:{\"click\":_vm.onClose}},[_vm._v(_vm._s(_vm.$t(\"buttons.cancel\")))]),_c('v-spacer'),_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return handleSubmit(_vm.onSave)}}},[_vm._v(_vm._s(_vm.$t(\"buttons.save\")))])],1)],1)]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditPaperDialog.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!./EditPaperDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditPaperDialog.vue?vue&type=template&id=b76d75c8&\"\nimport script from \"./EditPaperDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditPaperDialog.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"],"sourceRoot":""}