{"version":3,"sources":["webpack:///./src/modules/project/components/loads/components/formBlocks/TypeBlocks/TypeOfficeEquipement.vue","webpack:///./src/modules/project/components/loads/components/formBlocks/TypeBlocks/TypeOfficeEquipement.vue?de2f","webpack:///./src/modules/project/components/loads/components/formBlocks/TypeBlocks/TypeOfficeEquipement.vue?3ff0","webpack:///./src/modules/project/components/loads/components/formBlocks/TypeBlocks/TypeOfficeEquipement.vue?3781"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","_b","directives","name","rawName","value","patron","numberOfComputer","expression","staticClass","isAutoFocus","translatorOfficeEquipement","desktopNb","on","$event","target","select","handleNumberChanged","model","callback","$$v","$set","_n","commonStyle","loadFieldCol5","type","number","desktopNbContent","slot","numberOfPrinter","printerNb","printerNbContent","numberOfFax","faxNb","faxNbContent","numberOfCopiers","copierNb","copierNbContent","staticRenderFns","mixins","styleFieldsMixin","extend","components","Tooltip","props","ChargeViewModel","data","TypeCharge","computed","$translator","language","modules","project","projectMenu","loadProfile","officeEquipement","methods","modelOfficeEquipement","manualRpf","manualSpf","mounted","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,UAAU,CAACA,EAAG,QAAQ,CAACG,MAAM,CAAC,MAAQ,GAAG,aAAa,GAAG,QAAU,kBAAkB,CAACH,EAAG,eAAeF,EAAIM,GAAG,CAACC,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOV,EAAIW,OAAOC,iBAAkBC,WAAW,4BAA4BC,YAAY,OAAOT,MAAM,CAAC,UAAYL,EAAIe,YAAY,MAAQf,EAAIgB,2BAA2BC,WAAWC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOA,EAAOC,OAAOC,UAAU,OAAS,SAASF,GAAQ,OAAOnB,EAAIsB,wBAAwBC,MAAM,CAACb,MAAOV,EAAIuB,MAAMX,iBAAkBY,SAAS,SA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nCuC,EAAsBC,WAAY,EAClCD,EAAsBE,WAAY,IAItCC,UACEhE,KAAKc,aAAc,KCzCoe,I,YCOvfmD,EAAY,eACd,EACAnE,EACA4C,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E","file":"js/chunk-2d21b144.0e6ba315.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',[_c('v-row',{attrs:{\"dense\":\"\",\"no-gutters\":\"\",\"justify\":\"space-between\"}},[_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.numberOfComputer),expression:\"patron.numberOfComputer\"}],staticClass:\"mb-2\",attrs:{\"autofocus\":_vm.isAutoFocus,\"label\":_vm.translatorOfficeEquipement.desktopNb},on:{\"focus\":function($event){return $event.target.select()},\"change\":function($event){return _vm.handleNumberChanged()}},model:{value:(_vm.model.numberOfComputer),callback:function ($$v) {_vm.$set(_vm.model, \"numberOfComputer\", _vm._n($$v))},expression:\"model.numberOfComputer\"}},'v-text-field',[_vm.commonStyle, _vm.loadFieldCol5, _vm.type.number],false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.translatorOfficeEquipement.desktopNb,\"content\":_vm.translatorOfficeEquipement.desktopNbContent},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.numberOfPrinter),expression:\"patron.numberOfPrinter\"}],attrs:{\"label\":_vm.translatorOfficeEquipement.printerNb},on:{\"change\":function($event){return _vm.handleNumberChanged()}},model:{value:(_vm.model.numberOfPrinter),callback:function ($$v) {_vm.$set(_vm.model, \"numberOfPrinter\", _vm._n($$v))},expression:\"model.numberOfPrinter\"}},'v-text-field',[_vm.commonStyle, _vm.loadFieldCol5, _vm.type.number],false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.translatorOfficeEquipement.printerNb,\"content\":_vm.translatorOfficeEquipement.printerNbContent},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.numberOfFax),expression:\"patron.numberOfFax\"}],attrs:{\"label\":_vm.translatorOfficeEquipement.faxNb},on:{\"change\":function($event){return _vm.handleNumberChanged()}},model:{value:(_vm.model.numberOfFax),callback:function ($$v) {_vm.$set(_vm.model, \"numberOfFax\", _vm._n($$v))},expression:\"model.numberOfFax\"}},'v-text-field',[_vm.commonStyle, _vm.loadFieldCol5, _vm.type.number],false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.translatorOfficeEquipement.faxNb,\"content\":_vm.translatorOfficeEquipement.faxNbContent},slot:\"prepend\"})],1),_c('v-text-field',_vm._b({directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.patron.numberOfCopiers),expression:\"patron.numberOfCopiers\"}],attrs:{\"label\":_vm.translatorOfficeEquipement.copierNb},on:{\"change\":function($event){return _vm.handleNumberChanged()}},model:{value:(_vm.model.numberOfCopiers),callback:function ($$v) {_vm.$set(_vm.model, \"numberOfCopiers\", _vm._n($$v))},expression:\"model.numberOfCopiers\"}},'v-text-field',[_vm.commonStyle, _vm.loadFieldCol5, _vm.type.number],false),[_c('Tooltip',{attrs:{\"slot\":\"prepend\",\"text\":_vm.translatorOfficeEquipement.copierNb,\"content\":_vm.translatorOfficeEquipement.copierNbContent},slot:\"prepend\"})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport mixins from 'vue-typed-mixins'\r\nimport {\r\n ChargeViewModel,\r\n PatronFormulaireModel\r\n} from '../../../models/chargePatronModel'\r\nimport { ChargeOfficeEquipement } from '../../../models/chargeModel'\r\nimport TypeCharge from '../../../models/typeCharge'\r\nimport styleFieldsMixin from '@/mixins/styleFieldsMixin'\r\n\r\nexport default mixins(styleFieldsMixin).extend({\r\n components: { Tooltip: () => import('./Tooltip.vue') },\r\n\r\n props: { value: ChargeViewModel },\r\n\r\n data() {\r\n return { TypeCharge, isAutoFocus: false }\r\n },\r\n\r\n computed: {\r\n translatorOfficeEquipement(): any {\r\n return this.$translator.language.data.modules.project.projectMenu\r\n .loadProfile.officeEquipement\r\n },\r\n patron(): PatronFormulaireModel {\r\n return this.value.patron\r\n },\r\n model(): ChargeOfficeEquipement {\r\n return this.value.model as ChargeOfficeEquipement\r\n }\r\n },\r\n\r\n methods: {\r\n handleNumberChanged() {\r\n const modelOfficeEquipement = this.model as ChargeOfficeEquipement\r\n modelOfficeEquipement.manualRpf = false\r\n modelOfficeEquipement.manualSpf = false\r\n }\r\n },\r\n\r\n mounted() {\r\n this.isAutoFocus = true\r\n }\r\n})\r\n","import mod from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TypeOfficeEquipement.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TypeOfficeEquipement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TypeOfficeEquipement.vue?vue&type=template&id=3df178a7&\"\nimport script from \"./TypeOfficeEquipement.vue?vue&type=script&lang=ts&\"\nexport * from \"./TypeOfficeEquipement.vue?vue&type=script&lang=ts&\"\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":""}