{"version":3,"sources":["webpack:///./src/views/modules/production/Instrument/InstrumentForm.vue?d499","webpack:///./src/views/modules/production/Type/TypeInstrumentDialog.vue?fd38","webpack:///src/views/modules/production/Type/TypeInstrumentDialog.vue","webpack:///./src/views/modules/production/Type/TypeInstrumentDialog.vue?98cb","webpack:///./src/views/modules/production/Type/TypeInstrumentDialog.vue","webpack:///./src/services/modules/production/TypeInstrument.service.js","webpack:///src/views/modules/production/Instrument/InstrumentForm.vue","webpack:///./src/views/modules/production/Instrument/InstrumentForm.vue?9191","webpack:///./src/views/modules/production/Instrument/InstrumentForm.vue","webpack:///./src/model/types/resource/SettingType.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","noOptionAdd","on","onTypeInstrumentDialog","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","onSubmit","scopedSlots","_u","key","fn","ref","model","value","form","callback","$$v","$set","expression","error","modeCodeLabel","SettingType","mode","MODE_CODE_LABEL_MANUAL","instrumentCodeLabel","MODE_CODE_LABEL_AUTOMATIC_DEFAULT","_e","typeInstrumentOptions","search","$event","addNoOption","_v","openDialogForm","proxy","userAuth","entityFieldCustomized","instrumentId","pageId","fieldKey","staticRenderFns","title","okText","id","showModal","resetModal","components","mixins","pageDialogFormMixin","data","typeInstrumentId","note","methods","watch","component","path","companyService","params","http","list","pageDefaultMixin","genKey","enableGeneralFields","mountedPrepare","itemInserted","push","type","TYPE_MODEL_CODE_LABEL","TYPE_INSTRUMENT_CODE_LABEL","TYPE_COMPONENT_CODE_LABEL","TYPE_COMPOUND_CODE_LABEL","TYPE_RAW_MATERIAL_CODE_LABEL","TYPE_MATERIAL_CODE_LABEL","TYPE_MACHINE_CODE_LABEL","TYPE_EMPLOYEE_CODE_LABEL","TYPE_PRODUCT_SEARCH_MEASURE_RANGE_DEFAULT","TYPE_ENTERPRISE_CODE_LABEL","TYPE_ENVIRONMENT_CODE_LABEL","TYPE_CHECKLIST_ITEM_CODE_LABEL","T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,qBAJA,uBAMA,qBANA,+CCvJqY,ICOjY,EAAY,eACd,EACA9E,EACAsD,GACA,EACA,KACA,KACA,MAIa,e,6CClBf,IAAM0B,EAAO,CACTC,sBAAuB,EACvBC,2BAA4B,EAC5BC,0BAA2B,EAC3BC,yBAA0B,EAC1BC,6BAA8B,EAC9BC,yBAA0B,EAC1BC,wBAAyB,EACzBC,yBAA0B,EAC1BC,0CAA2C,EAC3CC,2BAA4B,GAC5BC,4BAA6B,GAC7BC,+BAAgC,GAChCC,0BAA2B,GAC3BC,4BAA6B,GAC7BC,0BAA2B,IAGzB/F,EAAS,CACXgG,qBAAsB,oBAGpB3D,EAAO,CACTG,kCAAmC,oBACnCF,uBAAwB,UAGb,QACX0C,OACAhF,SACAqC","file":"js/chunk-2f66d6c5.2a740288.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('TypeInstrumentDialog',{attrs:{\"no-option-add\":_vm.noOptionAdd},on:{\"onSubmit\":_vm.onTypeInstrumentDialog}}),_c('t-page-form',{attrs:{\"card\":\"\",\"submit-text\":_vm.currentPage.singularTitle,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar status = ref.status;\nreturn [_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.instrumentId),callback:function ($$v) {_vm.$set(_vm.form, \"instrumentId\", $$v)},expression:\"form.instrumentId\"}}),_c('b-row',[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Descrição\",\"cols\":\"9\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}}),(_vm.modeCodeLabel === _vm.SettingType.mode.MODE_CODE_LABEL_MANUAL)?_c('t-input',{attrs:{\"add-error\":_vm.error.instrumentCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"label\":\"Cód. Instrumento\",\"code-label\":\"\",\"help\":\"Código inserido manualmente conforme configurado em Produção > Configurações > Parâmetros\",\"required\":\"\"},model:{value:(_vm.form.instrumentCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"instrumentCodeLabel\", $$v)},expression:\"form.instrumentCodeLabel\"}}):(_vm.modeCodeLabel === _vm.SettingType.mode.MODE_CODE_LABEL_AUTOMATIC_DEFAULT)?_c('t-input',{attrs:{\"add-error\":_vm.error.instrumentCodeLabel,\"upper\":\"\",\"cols\":\"3\",\"fixed\":\"\",\"label\":\"Cód. Instrumento\",\"help\":\"Código inserido automaticamente conforme configurado em Produção > Configurações > Parâmetros\"},model:{value:(_vm.form.instrumentCodeLabel),callback:function ($$v) {_vm.$set(_vm.form, \"instrumentCodeLabel\", $$v)},expression:\"form.instrumentCodeLabel\"}}):_vm._e()],1),_c('t-input',{attrs:{\"options\":_vm.typeInstrumentOptions,\"required\":\"\",\"label\":\"Tipo de Instrumento\",\"select\":\"\"},scopedSlots:_vm._u([{key:\"no-options\",fn:function(ref){\nvar search = ref.search;\nreturn [_c('b-link',{on:{\"click\":function($event){return _vm.addNoOption('modal-type-instrument',search)}}},[_vm._v(\"Cadastrar Tipo\")])]}},{key:\"input-group-append\",fn:function(){return [_c('t-button',{attrs:{\"title\":\"Adicionar novo Tipo\",\"icon-plus\":\"\"},on:{\"click\":function($event){return _vm.openDialogForm('modal-type-instrument')}}})]},proxy:true}],null,true),model:{value:(_vm.form.typeInstrumentId),callback:function ($$v) {_vm.$set(_vm.form, \"typeInstrumentId\", $$v)},expression:\"form.typeInstrumentId\"}}),_c('t-page-form-field-customized',{ref:\"fieldsGeneral\",attrs:{\"command\":_vm.command,\"status\":status,\"user-auth\":_vm.userAuth,\"fields-customizable\":_vm.entityFieldCustomized('page'),\"primary-key\":_vm.form.instrumentId,\"foreign-key\":_vm.currentPage.pageId,\"busy\":!_vm.pageFormIsLoaded,\"primary-key-column\":_vm.fieldKey,\"foreign-key-column\":\"pageId\"}}),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}}),_c('t-input-status',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"title\":_vm.title,\"ok-text\":_vm.okText,\"id\":_vm.id,\"command\":_vm.command},on:{\"show\":_vm.showModal,\"hidden\":_vm.resetModal,\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Tipo de Instrumento\",\"submitted\":\"\",\"focus\":\"\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./TypeInstrumentDialog.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!./TypeInstrumentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TypeInstrumentDialog.vue?vue&type=template&id=6475f85e&\"\nimport script from \"./TypeInstrumentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./TypeInstrumentDialog.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","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"production/type-instrument\"\r\n\r\nclass companyService {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n\r\n}\r\n\r\nexport default new companyService();\r\n\r\n\r\n","\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!./InstrumentForm.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!./InstrumentForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InstrumentForm.vue?vue&type=template&id=7ab11317&\"\nimport script from \"./InstrumentForm.vue?vue&type=script&lang=js&\"\nexport * from \"./InstrumentForm.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","const type = {\r\n TYPE_MODEL_CODE_LABEL: 1,\r\n TYPE_INSTRUMENT_CODE_LABEL: 2,\r\n TYPE_COMPONENT_CODE_LABEL: 3,\r\n TYPE_COMPOUND_CODE_LABEL: 4,\r\n TYPE_RAW_MATERIAL_CODE_LABEL: 5,\r\n TYPE_MATERIAL_CODE_LABEL: 6,\r\n TYPE_MACHINE_CODE_LABEL: 7,\r\n TYPE_EMPLOYEE_CODE_LABEL: 8,\r\n TYPE_PRODUCT_SEARCH_MEASURE_RANGE_DEFAULT: 9,\r\n TYPE_ENTERPRISE_CODE_LABEL: 10,\r\n TYPE_ENVIRONMENT_CODE_LABEL: 11,\r\n TYPE_CHECKLIST_ITEM_CODE_LABEL: 12,\r\n TYPE_PATHOLOGY_CODE_LABEL: 13,\r\n TYPE_SPOT_FOLDER_CODE_LABEL: 14,\r\n TYPE_INSPECTOR_CODE_LABEL: 15,\r\n}\r\n\r\nconst render = {\r\n RENDER_TAG_COD_LABEL: \"settingCodeLabel\",\r\n}\r\n\r\nconst mode = {\r\n MODE_CODE_LABEL_AUTOMATIC_DEFAULT: \"automatic-default\",\r\n MODE_CODE_LABEL_MANUAL: \"manual\",\r\n}\r\n\r\nexport default {\r\n type,\r\n render,\r\n mode\r\n}"],"sourceRoot":""}