{"version":3,"sources":["webpack:///./src/views/admin/analysis-items/List.vue?abf9","webpack:///./src/views/admin/analysis-items/models/analysis-item-form.ts","webpack:///./src/views/admin/analysis-items/components/Form.vue?840f","webpack:///./node_modules/quasar/src/components/toggle/QToggle.js","webpack:///./src/views/admin/analysis-items/components/Form.vue","webpack:///./src/views/admin/analysis-items/Create.vue?431d","webpack:///./src/views/admin/analysis-items/Create.vue","webpack:///./src/views/admin/analysis-items/Edit.vue?3363","webpack:///./src/views/admin/analysis-items/Edit.vue","webpack:///./src/views/admin/analysis-items/models/analysis-item-order.ts","webpack:///./src/views/admin/analysis-items/List.vue?4838","webpack:///./src/views/admin/analysis-items/List.vue","webpack:///./src/views/admin/analysis-items/table-columns.ts","webpack:///./src/views/admin/analysis-items/View.vue?332a","webpack:///./src/views/admin/analysis-items/View.vue","webpack:///./src/views/admin/analysis-items/Index.vue?10e3","webpack:///./src/views/admin/analysis-items/Index.vue","webpack:///./node_modules/quasar/src/components/card/QCardActions.js","webpack:///./src/views/admin/analysis-items/View.vue?ad50","webpack:///./src/models/analysis-item.ts","webpack:///./src/views/admin/analysis-items/components/Form.vue?0718"],"names":["getEmptyAnalysisItemForm","identifier","text","unit","group","expression","hidden","type","order","selectOptions","dadosTest","getFormByInstance","analysisItem","toRequestData","formData","getAnalysisItemTypeOptions","Object","keys","AnalysisItemTypeString","map","key","label","value","_hoisted_1","class","_defineComponent","props","analysisItems","emits","setup","__props","expose","emit","quasar","useQuasar","ref","form","isEdit","computed","undefined","resetForm","save","validate","then","success","dados","split","x","trim","console","log","notify","message","cancel","setAnalysisItem","_ctx","_cache","_component_q_card_section","_resolveComponent","_component_q_input","_component_q_toggle","_component_q_select","_component_q_btn","_openBlock","_createBlock","_unref","QForm","ref_key","onSubmit","autofocus","default","_withCtx","_createVNode","_createElementVNode","_toDisplayString","_","outlined","modelValue","$event","rules","FormRules","required","color","options","_createCommentVNode","align","flat","onClick","createComponent","name","useCheckboxProps","icon","String","iconColor","useCheckboxEmits","getInner","isTrue","isIndeterminate","checkedIcon","indeterminateIcon","uncheckedIcon","h","QIcon","useCheckbox","__exports__","QCardSection","QInput","QToggle","QSelect","QBtn","show","api","post","close","catch","error","response","status","data","open","_component_q_card","_component_q_dialog","persistent","Form","onSave","onCancel","QDialog","QCard","put","id","setTimeout","toRequestDataOrder","items_order","el","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_2","_hoisted_3","event","checkMove","relatedContext","list","onEnd","ordination","analysisItemOrder","forEach","index","push","itemsOrder","localStorage","setItem","JSON","stringify","loading","getItem","parse","removeItem","hide","_component_draggable","_component_q_card_actions","sort","onChange","move","_createElementBlock","_Fragment","_renderList","element","QCardActions","tableColumns","field","row","sortable","_createTextVNode","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_component_q_item_section","_component_q_item","_component_q_list","side","createdAt","format","updatedAt","QList","QItem","QItemSection","searchWord","selectedAnalysisItem","modalCreate","modalEdit","modalView","modalList","getAnalysisItems","get","plainToInstance","AnalysisItem","edit","find","view","init","_component_q_icon","_component_q_td","_component_q_table","title","rows","columns","filter","borderless","dense","debounce","placeholder","append","size","round","Create","onCreated","Edit","onSaved","View","List","QTable","QTd","useAlignProps","vertical","Boolean","slots","alignClass","useAlign","classes","hSlot","deletedAt","Model","__decorate","Expose"],"mappings":"kKAAA,W,mHCgCMA,G,kDAA2B,iBAAyB,CACxDC,WAAY,GACZC,KAAM,GACNC,KAAM,GACNC,MAAO,KACPC,WAAY,KACZC,QAAQ,EACRC,KAAM,QACNC,MAAO,EACPC,cAAe,KACfC,UAAW,QAGPC,EAAoB,SAACC,GAAD,MAAmD,CAC3EX,WAAYW,EAAaX,WACzBC,KAAMU,EAAaV,KACnBC,KAAMS,EAAaT,KACnBC,MAAOQ,EAAaR,MACpBC,WAAYO,EAAaP,WACzBC,OAAQM,EAAaN,OACrBC,KAAMK,EAAaL,KACnBC,MAAOI,EAAaJ,MACpBC,cAAeG,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":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./List.vue?vue&type=style&index=0&id=3abd3e8a&lang=scss&scoped=true\"","import { AnalysisItem, AnalysisItemType, AnalysisItemTypeString } from '@/models/analysis-item';\r\n\r\ninterface AnalysisItemForm {\r\n identifier: string;\r\n text: string;\r\n unit: string;\r\n group: string | null;\r\n expression: string | null;\r\n hidden: boolean;\r\n type: AnalysisItemType;\r\n order: number;\r\n selectOptions: string[] | null;\r\n dadosTest: string | null;\r\n}\r\n\r\ninterface AnalysisItemFormToRequest {\r\n identifier: string;\r\n text: string;\r\n unit: string;\r\n group: string | null;\r\n expression: string | null;\r\n hidden: boolean;\r\n type: AnalysisItemType;\r\n order: number;\r\n selectOptions: string[] | null;\r\n}\r\n\r\ninterface AnalysisItemTypeOptions {\r\n label: string;\r\n value: AnalysisItemType;\r\n}\r\n\r\nconst getEmptyAnalysisItemForm = (): AnalysisItemForm => ({\r\n identifier: '',\r\n text: '',\r\n unit: '',\r\n group: null,\r\n expression: null,\r\n hidden: false,\r\n type: 'input',\r\n order: 0,\r\n selectOptions: null,\r\n dadosTest: null,\r\n});\r\n\r\nconst getFormByInstance = (analysisItem: AnalysisItem): AnalysisItemForm => ({\r\n identifier: analysisItem.identifier,\r\n text: analysisItem.text,\r\n unit: analysisItem.unit,\r\n group: analysisItem.group,\r\n expression: analysisItem.expression,\r\n hidden: analysisItem.hidden,\r\n type: analysisItem.type,\r\n order: analysisItem.order,\r\n selectOptions: analysisItem.selectOptions,\r\n dadosTest: null,\r\n});\r\n\r\nconst toRequestData = (formData: AnalysisItemForm): AnalysisItemFormToRequest => {\r\n return {\r\n identifier: formData.identifier,\r\n text: formData.text,\r\n unit: formData.unit,\r\n group: formData.group,\r\n expression: formData.expression,\r\n hidden: formData.hidden,\r\n type: formData.type,\r\n order: formData.order,\r\n selectOptions: formData.selectOptions,\r\n };\r\n};\r\n\r\nconst getAnalysisItemTypeOptions = (): AnalysisItemTypeOptions[] =>\r\n Object.keys(AnalysisItemTypeString).map((key) => ({\r\n label: AnalysisItemTypeString[key as AnalysisItemType],\r\n value: key as AnalysisItemType,\r\n }));\r\n\r\nexport {\r\n getEmptyAnalysisItemForm,\r\n getFormByInstance,\r\n getAnalysisItemTypeOptions,\r\n toRequestData,\r\n AnalysisItemForm,\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-295f391a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"text-h6\" }\n\nimport { AnalysisItem } from '@/models/analysis-item';\r\nimport { FormRules } from '@/utils';\r\nimport {\r\n AnalysisItemForm,\r\n getAnalysisItemTypeOptions,\r\n getEmptyAnalysisItemForm,\r\n getFormByInstance,\r\n} from '../models/analysis-item-form';\r\nimport { computed, ref } from 'vue';\r\nimport QForm from 'quasar/src/components/form/QForm.js';import useQuasar from 'quasar/src/composables/use-quasar.js';;\r\n\r\ninterface Props {\r\n analysisItems: AnalysisItem[];\r\n analysisItem?: AnalysisItem | null;\r\n}\r\n\r\ninterface Emits {\r\n (e: 'cancel'): void;\r\n (e: 'save', formData: AnalysisItemForm): void;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n analysisItems: null,\n analysisItem: null\n },\n emits: [\"cancel\", \"save\"],\n setup(__props: any, { expose, emit }: { emit: ({\r\n (e: 'cancel'): void;\r\n (e: 'save', formData: AnalysisItemForm): void;\r\n}), expose: any, slots: any, attrs: any }) {\n\nconst props = __props as {\r\n analysisItems: AnalysisItem[];\r\n analysisItem?: AnalysisItem | null;\r\n}\n\r\n\r\n\r\n\r\nconst quasar = useQuasar();\r\n\r\nconst formData = ref(getEmptyAnalysisItemForm());\r\n\r\nconst form = ref | null>(null);\r\n\r\nconst isEdit = computed(() => props.analysisItem !== undefined && props.analysisItem !== null);\r\n\r\nconst resetForm = () => {\r\n formData.value = getEmptyAnalysisItemForm();\r\n};\r\n\r\nconst save = () => {\r\n form.value?.validate().then((success) => {\r\n if (success) {\r\n const dados = formData.value.dadosTest?.split(',').map((x) => x.trim());\r\n formData.value.selectOptions = dados ?? null;\r\n console.log(formData.value);\r\n emit('save', formData.value);\r\n } else {\r\n quasar.notify({\r\n type: 'warning',\r\n message: 'Por favor confira os campos obrigatórios.',\r\n });\r\n }\r\n });\r\n};\r\n\r\nconst cancel = () => {\r\n emit('cancel');\r\n resetForm();\r\n};\r\n\r\nconst setAnalysisItem = (analysisItem: AnalysisItem | null) => {\r\n if (analysisItem !== null) {\r\n formData.value = getFormByInstance(analysisItem);\r\n } else {\r\n resetForm();\r\n }\r\n};\r\n\r\nexpose({ resetForm, setAnalysisItem });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_card_section = _resolveComponent(\"q-card-section\")!\n const _component_q_input = _resolveComponent(\"q-input\")!\n const _component_q_toggle = _resolveComponent(\"q-toggle\")!\n const _component_q_select = _resolveComponent(\"q-select\")!\n const _component_q_btn = _resolveComponent(\"q-btn\")!\n\n return (_openBlock(), _createBlock(_unref(QForm), {\n ref_key: \"form\",\n ref: form,\n class: \"ni-form q-gutter-md\",\n onSubmit: save,\n autofocus: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card_section, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(_unref(isEdit) ? 'Editar Item de Análise' : 'Cadastrar Item de Análise'), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_section, { class: \"q-pt-none q-gutter-sm\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_input, {\n outlined: \"\",\n modelValue: formData.value.identifier,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.identifier) = $event)),\n label: \"Identificador\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required]\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createVNode(_component_q_input, {\n outlined: \"\",\n modelValue: formData.value.text,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.text) = $event)),\n label: \"Nome\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required]\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createVNode(_component_q_input, {\n outlined: \"\",\n modelValue: formData.value.unit,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.unit) = $event)),\n label: \"Tipo de Unidade\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required]\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createVNode(_component_q_input, {\n outlined: \"\",\n modelValue: formData.value.group,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.group) = $event)),\n label: \"Grupo\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required]\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createVNode(_component_q_input, {\n outlined: \"\",\n modelValue: formData.value.expression,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formData.value.expression) = $event)),\n label: \"Expressão\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required]\n }, null, 8, [\"modelValue\", \"rules\"]),\n _createVNode(_component_q_toggle, {\n label: formData.value.hidden ? 'Desativado' : 'Ativado',\n \"false-value\": true,\n \"true-value\": false,\n \"checked-icon\": \"check\",\n color: \"green\",\n modelValue: formData.value.hidden,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formData.value.hidden) = $event))\n }, null, 8, [\"label\", \"modelValue\"]),\n _createVNode(_component_q_select, {\n outlined: \"\",\n modelValue: formData.value.type,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formData.value.type) = $event)),\n label: \"Tipo\",\n \"lazy-rules\": \"\",\n rules: [_unref(FormRules).required],\n options: _unref(getAnalysisItemTypeOptions)(),\n \"emit-value\": \"\",\n \"map-options\": \"\"\n }, null, 8, [\"modelValue\", \"rules\", \"options\"]),\n (formData.value.type == 'select')\n ? (_openBlock(), _createBlock(_component_q_input, {\n key: 0,\n outlined: \"\",\n modelValue: formData.value.dadosTest,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formData.value.dadosTest) = $event)),\n label: \"Opções de seleção\",\n \"lazy-rules\": \"\"\n }, null, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_section, { align: \"right\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_btn, {\n flat: \"\",\n label: \"Cancelar\",\n onClick: cancel\n }),\n _createVNode(_component_q_btn, {\n type: \"submit\",\n color: \"primary\",\n label: \"Salvar\"\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512))\n}\n}\n\n})","import { h, computed } from 'vue'\n\nimport QIcon from '../icon/QIcon.js'\n\nimport useCheckbox, { useCheckboxProps, useCheckboxEmits } from '../checkbox/use-checkbox.js'\n\nimport { createComponent } from '../../utils/private/create.js'\n\nexport default createComponent({\n name: 'QToggle',\n\n props: {\n ...useCheckboxProps,\n\n icon: String,\n iconColor: String\n },\n\n emits: useCheckboxEmits,\n\n setup (props) {\n function getInner (isTrue, isIndeterminate) {\n const icon = computed(() =>\n (isTrue.value === true\n ? props.checkedIcon\n : (isIndeterminate.value === true ? props.indeterminateIcon : props.uncheckedIcon)\n ) || props.icon\n )\n\n const color = computed(() => (isTrue.value === true ? props.iconColor : null))\n\n return () => [\n h('div', { class: 'q-toggle__track' }),\n\n h('div', {\n class: 'q-toggle__thumb absolute flex flex-center no-wrap'\n }, icon.value !== void 0\n ? [\n h(QIcon, {\n name: icon.value,\n color: color.value\n })\n ]\n : void 0\n )\n ]\n }\n\n return useCheckbox('toggle', getInner)\n }\n})\n","import script from \"./Form.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Form.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Form.vue?vue&type=style&index=0&id=295f391a&lang=scss&scoped=true\"\n\nimport exportComponent from \"C:\\\\Users\\\\Scaleao\\\\Desktop\\\\Projetos Timo\\\\nutricao-inteligente-frontend\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-295f391a\"]])\n\nexport default __exports__\nimport QForm from 'quasar/src/components/form/QForm.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QToggle from 'quasar/src/components/toggle/QToggle.js';\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QForm,QCardSection,QInput,QToggle,QSelect,QBtn});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { AnalysisItem } from '@/models/analysis-item';\r\nimport { api } from '@/utils';\r\nimport Form from './components/Form.vue';\r\nimport { ref } from 'vue';\r\nimport useQuasar from 'quasar/src/composables/use-quasar.js';;\r\nimport { AnalysisItemForm, toRequestData } from './models/analysis-item-form';\r\n\r\ninterface Props {\r\n analysisItems: AnalysisItem[];\r\n}\r\n\r\ninterface Emits {\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n (e: 'created'): void;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n analysisItems: null\n },\n emits: [\"open\", \"close\", \"created\"],\n setup(__props: any, { expose, emit }: { emit: ({\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n (e: 'created'): void;\r\n}), expose: any, slots: any, attrs: any }) {\n\r\n\r\n\r\n\r\nconst quasar = useQuasar();\r\n\r\nconst show = ref(false);\r\n\r\nconst form = ref | null>(null);\r\n\r\nconst save = (formData: AnalysisItemForm) => {\r\n api\r\n .post('analysis-item', { ...toRequestData(formData) })\r\n .then(() => {\r\n quasar.notify({\r\n type: 'positive',\r\n message: 'Item criado com sucesso!',\r\n });\r\n\r\n close();\r\n form.value?.resetForm();\r\n emit('created');\r\n })\r\n .catch((error) => {\r\n if (error.response.status === 422) {\r\n quasar.notify({\r\n type: 'warning',\r\n message: error.response.data.message,\r\n });\r\n } else {\r\n quasar.notify({\r\n type: 'negative',\r\n message: error.response.data.message,\r\n });\r\n console.log('Erro ao salvar item.', error.response);\r\n }\r\n });\r\n};\r\n\r\nconst open = () => {\r\n show.value = true;\r\n emit('open');\r\n};\r\n\r\nconst close = () => {\r\n show.value = false;\r\n emit('close');\r\n};\r\n\r\nexpose({ open, close });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_card = _resolveComponent(\"q-card\")!\n const _component_q_dialog = _resolveComponent(\"q-dialog\")!\n\n return (_openBlock(), _createBlock(_component_q_dialog, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((show).value = $event)),\n persistent: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card, null, {\n default: _withCtx(() => [\n _createVNode(Form, {\n ref_key: \"form\",\n ref: form,\n analysisItems: __props.analysisItems,\n onSave: save,\n onCancel: close\n }, null, 8, [\"analysisItems\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","import script from \"./Create.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Create.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { AnalysisItem } from '@/models/analysis-item';\r\nimport { api } from '@/utils';\r\nimport Form from './components/Form.vue';\r\nimport { ref } from 'vue';\r\nimport useQuasar from 'quasar/src/composables/use-quasar.js';;\r\nimport { AnalysisItemForm, toRequestData } from './models/analysis-item-form';\r\n\r\ninterface Props {\r\n analysisItems: AnalysisItem[];\r\n analysisItem: AnalysisItem | null;\r\n}\r\n\r\ninterface Emits {\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n (e: 'saved'): void;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n analysisItems: null,\n analysisItem: null\n },\n emits: [\"open\", \"close\", \"saved\"],\n setup(__props: any, { expose, emit }: { emit: ({\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n (e: 'saved'): void;\r\n}), expose: any, slots: any, attrs: any }) {\n\nconst props = __props as {\r\n analysisItems: AnalysisItem[];\r\n analysisItem: AnalysisItem | null;\r\n}\n\r\n\r\n\r\n\r\nconst quasar = useQuasar();\r\n\r\nconst show = ref(false);\r\n\r\nconst form = ref | null>(null);\r\n\r\nconst save = (formData: AnalysisItemForm) => {\r\n api\r\n .put(`analysis-item/${props.analysisItem?.id}`, { ...toRequestData(formData) })\r\n .then(() => {\r\n quasar.notify({\r\n type: 'positive',\r\n message: 'Item atualizado!',\r\n });\r\n\r\n close();\r\n form.value?.resetForm();\r\n emit('saved');\r\n })\r\n .catch((error) => {\r\n if (error.response.status === 422) {\r\n quasar.notify({\r\n type: 'warning',\r\n message: error.response.data.message,\r\n });\r\n } else {\r\n quasar.notify({\r\n type: 'negative',\r\n message: error.response.data.message,\r\n });\r\n console.log('Erro ao salvar atualizações do item.', error.response);\r\n }\r\n });\r\n};\r\n\r\nconst open = () => {\r\n show.value = true;\r\n emit('open');\r\n\r\n setTimeout(() => form.value?.setAnalysisItem(props.analysisItem), 250);\r\n};\r\n\r\nconst close = () => {\r\n show.value = false;\r\n emit('close');\r\n};\r\n\r\nexpose({ open, close });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_card = _resolveComponent(\"q-card\")!\n const _component_q_dialog = _resolveComponent(\"q-dialog\")!\n\n return (_openBlock(), _createBlock(_component_q_dialog, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((show).value = $event)),\n persistent: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card, null, {\n default: _withCtx(() => [\n _createVNode(Form, {\n ref_key: \"form\",\n ref: form,\n analysisItems: __props.analysisItems,\n analysisItem: __props.analysisItem,\n onSave: save,\n onCancel: close\n }, null, 8, [\"analysisItems\", \"analysisItem\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","import script from \"./Edit.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Edit.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard});\n","interface AnalysisItemOrder {\r\n id: number | null;\r\n order: number;\r\n}\r\n\r\ninterface AnalysisItemOrderForm {\r\n items_order: AnalysisItemOrder[];\r\n}\r\n\r\ninterface AnalysisItemOrderFromToRequest {\r\n items_order: { id: number; order: number }[];\r\n}\r\n\r\nconst getEmptyAnalysisItemOrder = (): AnalysisItemOrderForm => ({\r\n items_order: [] as AnalysisItemOrder[],\r\n});\r\n\r\nconst toRequestDataOrder = (formData: AnalysisItemOrderForm): AnalysisItemOrderFromToRequest => {\r\n return {\r\n items_order: formData.items_order.map((el) => ({\r\n id: el.id ?? 0,\r\n order: el.order,\r\n })),\r\n };\r\n};\r\n\r\nexport { AnalysisItemOrder, AnalysisItemOrderForm, toRequestDataOrder, getEmptyAnalysisItemOrder };\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3abd3e8a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-h6\" }, \"Ordenar Posições dos Itens de Análise\", -1))\nconst _hoisted_2 = { class: \"drop-zone\" }\nconst _hoisted_3 = { class: \"w-64\" }\n\nimport { AnalysisItem } from '@/models/analysis-item';\r\nimport { api } from '@/utils';\r\nimport { ref } from 'vue';\r\nimport useQuasar from 'quasar/src/composables/use-quasar.js';;\r\nimport {\r\n AnalysisItemOrder,\r\n AnalysisItemOrderForm,\r\n toRequestDataOrder,\r\n} from './models/analysis-item-order';\r\n\r\ninterface Props {\r\n analysisItems: AnalysisItem[];\r\n}\r\n\r\ninterface Emits {\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n analysisItems: null\n },\n emits: [\"open\", \"close\"],\n setup(__props: any, { expose, emit }: { emit: ({\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n}), expose: any, slots: any, attrs: any }) {\n\nconst props = __props as {\r\n analysisItems: AnalysisItem[];\r\n}\n\r\nconst quasar = useQuasar();\r\n\r\n\r\n\r\nconst show = ref(false);\r\n\r\nlet order: AnalysisItem[] = [];\r\n\r\nconst open = () => {\r\n show.value = true;\r\n emit('open');\r\n};\r\n\r\nconst close = () => {\r\n show.value = false;\r\n emit('close');\r\n};\r\n\r\nconst log = (event: any) => {\r\n console.log(event);\r\n};\r\n\r\nconst checkMove = (event: any) => {\r\n order = event.relatedContext.list;\r\n};\r\n\r\nconst onEnd = (event: any) => {\r\n ordination();\r\n};\r\n\r\nconst ordination = () => {\r\n const analysisItemOrder: AnalysisItemOrder[] = [];\r\n order.forEach((value: AnalysisItem, index: number) => {\r\n analysisItemOrder.push({ id: value.id, order: index + 1 });\r\n });\r\n const itemsOrder: AnalysisItemOrderForm = { items_order: analysisItemOrder };\r\n localStorage.setItem('itemsOrder', JSON.stringify(itemsOrder));\r\n};\r\n\r\nconst save = () => {\r\n quasar.loading.show();\r\n const data = localStorage.getItem('itemsOrder') ?? '';\r\n const itemsOrder: AnalysisItemOrderForm = JSON.parse(data);\r\n\r\n api\r\n .put('analysis-item-order', { ...toRequestDataOrder(itemsOrder) })\r\n .then(() => {\r\n quasar.notify({\r\n type: 'positive',\r\n message: 'Ordem dos itens salvo!',\r\n });\r\n localStorage.removeItem('itemsOrder');\r\n quasar.loading.hide();\r\n close();\r\n })\r\n .catch((error) => {\r\n if (error.response.status === 422) {\r\n quasar.notify({\r\n type: 'warning',\r\n message: error.response.data.message,\r\n });\r\n } else {\r\n quasar.notify({\r\n type: 'negative',\r\n message: error.response.data.message,\r\n });\r\n console.log('Erro ao salvar ordem dos itens.', error.response);\r\n }\r\n });\r\n quasar.loading.hide();\r\n};\r\n\r\nexpose({ open, close });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_card_section = _resolveComponent(\"q-card-section\")!\n const _component_draggable = _resolveComponent(\"draggable\")!\n const _component_q_btn = _resolveComponent(\"q-btn\")!\n const _component_q_card_actions = _resolveComponent(\"q-card-actions\")!\n const _component_q_card = _resolveComponent(\"q-card\")!\n const _component_q_dialog = _resolveComponent(\"q-dialog\")!\n\n return (_openBlock(), _createBlock(_component_q_dialog, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((show).value = $event)),\n persistent: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card, { class: \"view-modal\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card_section, null, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_section, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_draggable, {\n class: \"\",\n list: __props.analysisItems,\n sort: true,\n onEnd: onEnd,\n onChange: log,\n move: checkMove\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.analysisItems, (element, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"drag-el bg-primary text-white\",\n key: index\n }, _toDisplayString(element.text), 1))\n }), 128))\n ]),\n _: 1\n }, 8, [\"list\"])\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_actions, { align: \"right\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_btn, {\n flat: \"\",\n label: \"Fechar\",\n onClick: close\n }),\n _createVNode(_component_q_btn, {\n color: \"primary\",\n label: \"Salvar\",\n onClick: save\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","import script from \"./List.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./List.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./List.vue?vue&type=style&index=0&id=3abd3e8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"C:\\\\Users\\\\Scaleao\\\\Desktop\\\\Projetos Timo\\\\nutricao-inteligente-frontend\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3abd3e8a\"]])\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QCardSection,QCardActions,QBtn});\n","import { AnalysisItem } from '@/models/analysis-item';\r\n\r\nconst tableColumns = [\r\n {\r\n name: 'id',\r\n required: true,\r\n label: 'Código',\r\n align: 'left',\r\n field: (row: AnalysisItem): number | null => row.id,\r\n sortable: true,\r\n },\r\n {\r\n name: 'text',\r\n required: true,\r\n label: 'Nome',\r\n align: 'left',\r\n field: (row: AnalysisItem): string => row.text,\r\n sortable: true,\r\n },\r\n {\r\n name: 'unit',\r\n required: true,\r\n label: 'Unidade',\r\n align: 'left',\r\n field: (row: AnalysisItem): string => row.unit,\r\n sortable: false,\r\n },\r\n {\r\n name: 'group',\r\n required: false,\r\n label: 'Grupo',\r\n align: 'left',\r\n field: (row: AnalysisItem): string => row.group ?? '',\r\n sortable: false,\r\n },\r\n {\r\n name: 'hidden',\r\n required: true,\r\n label: 'Status',\r\n align: 'left',\r\n field: (row: AnalysisItem): string => (row.hidden ? 'Desativado' : 'Ativado'),\r\n sortable: false,\r\n },\r\n {\r\n name: 'actions',\r\n label: '',\r\n align: 'left',\r\n field: (row: AnalysisItem): AnalysisItem => row,\r\n sortable: false,\r\n },\r\n];\r\n\r\nexport { tableColumns };\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, unref as _unref, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-716131cc\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-h6\" }, \"Detalhes do Item de Análise\", -1))\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Código: \")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Nome: \")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Tipo de Unidade: \")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Grupo: \")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Expressão: \")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Tipo: \")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Opções de seleção: \")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Status: \")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Criado em: \")\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"Atualizado em: \")\n\nimport { ref } from 'vue';\r\nimport { AnalysisItem, AnalysisItemTypeString } from '@/models/analysis-item';\r\n\r\ninterface Props {\r\n analysisItem: AnalysisItem | null;\r\n}\r\n\r\ninterface Emits {\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n analysisItem: null\n },\n emits: [\"open\", \"close\"],\n setup(__props: any, { expose, emit }: { emit: ({\r\n (e: 'open'): void;\r\n (e: 'close'): void;\r\n}), expose: any, slots: any, attrs: any }) {\n\r\n\r\n\r\n\r\nconst show = ref(false);\r\n\r\nconst open = () => {\r\n show.value = true;\r\n emit('open');\r\n};\r\n\r\nconst close = () => {\r\n show.value = false;\r\n emit('close');\r\n};\r\n\r\nexpose({ open, close });\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_card_section = _resolveComponent(\"q-card-section\")!\n const _component_q_item_section = _resolveComponent(\"q-item-section\")!\n const _component_q_item = _resolveComponent(\"q-item\")!\n const _component_q_list = _resolveComponent(\"q-list\")!\n const _component_q_btn = _resolveComponent(\"q-btn\")!\n const _component_q_card_actions = _resolveComponent(\"q-card-actions\")!\n const _component_q_card = _resolveComponent(\"q-card\")!\n const _component_q_dialog = _resolveComponent(\"q-dialog\")!\n\n return (_openBlock(), _createBlock(_component_q_dialog, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((show).value = $event)),\n persistent: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card, { class: \"view-modal\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_card_section, null, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_section, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_list, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.id), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.text), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.unit), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.group), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.expression), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(AnalysisItemTypeString)[__props.analysisItem!.type]), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.selectOptions), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.hidden ? 'Desativado' : 'Ativado'), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_10\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.createdAt.format('L')), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_q_item_section, { side: \"\" }, {\n default: _withCtx(() => [\n _hoisted_11\n ]),\n _: 1\n }),\n _createVNode(_component_q_item_section, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.analysisItem?.updatedAt?.format('L') || '-'), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_q_card_actions, { align: \"right\" }, {\n default: _withCtx(() => [\n _createVNode(_component_q_btn, {\n flat: \"\",\n label: \"Fechar\",\n onClick: close\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","import script from \"./View.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./View.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./View.vue?vue&type=style&index=0&id=716131cc&lang=scss&scoped=true\"\n\nimport exportComponent from \"C:\\\\Users\\\\Scaleao\\\\Desktop\\\\Projetos Timo\\\\nutricao-inteligente-frontend\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-716131cc\"]])\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QCardSection,QList,QItem,QItemSection,QCardActions,QBtn});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"row full-width\" }\nconst _hoisted_2 = { class: \"col-12\" }\n\nimport { AnalysisItem } from '@/models/analysis-item';\r\nimport { api } from '@/utils';\r\nimport Create from './Create.vue';\r\nimport Edit from './Edit.vue';\r\nimport List from './List.vue';\r\nimport { plainToInstance } from 'class-transformer';\r\nimport { ref } from 'vue';\r\nimport { tableColumns } from './table-columns';\r\nimport useQuasar from 'quasar/src/composables/use-quasar.js';;\r\nimport View from './View.vue';\r\n\r\n// import Disable from './Disable.vue';\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\r\nconst quasar = useQuasar();\r\n\r\nconst searchWord = ref('');\r\nconst analysisItems = ref([]);\r\nconst selectedAnalysisItem = ref(null);\r\n\r\nconst modalCreate = ref | null>(null);\r\nconst modalEdit = ref | null>(null);\r\nconst modalView = ref | null>(null);\r\nconst modalList = ref | null>(null);\r\n// const modalDisable = ref | null>(null);\r\n\r\nconst getAnalysisItems = () => {\r\n quasar.loading.show();\r\n\r\n api\r\n .get('analysis-item')\r\n .then((response) => {\r\n analysisItems.value = plainToInstance(AnalysisItem, response.data);\r\n quasar.loading.hide();\r\n })\r\n .catch((error) => {\r\n quasar.notify({\r\n type: 'negative',\r\n message: 'Houve um problema ao adquirir as informações dos itens de análise.',\r\n });\r\n console.log('Erro ao adquirir dados dos itens de análise', error.response);\r\n quasar.loading.hide();\r\n });\r\n};\r\n\r\nconst edit = (id: number) => {\r\n selectedAnalysisItem.value =\r\n analysisItems.value.find((analysisItem) => analysisItem.id === id) || null;\r\n\r\n setTimeout(() => {\r\n modalEdit.value?.open();\r\n }, 250);\r\n};\r\n\r\nconst view = (id: number) => {\r\n selectedAnalysisItem.value =\r\n analysisItems.value.find((analysisItem) => analysisItem.id === id) || null;\r\n\r\n setTimeout(() => {\r\n modalView.value?.open();\r\n }, 250);\r\n};\r\n\r\nconst list = () => {\r\n setTimeout(() => {\r\n modalList.value?.open();\r\n }, 250);\r\n};\r\n\r\n// const disable = (id: number) => {\r\n// selectedAnalysisItem.value = analysisItems.value.find((analysisItem) => analysisItem.id === id) || null;\r\n\r\n// setTimeout(() => {\r\n// modalDisable.value?.open();\r\n// }, 250);\r\n// };\r\n\r\nconst init = () => {\r\n getAnalysisItems();\r\n};\r\n\r\ninit();\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_q_icon = _resolveComponent(\"q-icon\")!\n const _component_q_input = _resolveComponent(\"q-input\")!\n const _component_q_btn = _resolveComponent(\"q-btn\")!\n const _component_q_td = _resolveComponent(\"q-td\")!\n const _component_q_table = _resolveComponent(\"q-table\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_q_table, {\n title: \"Itens de Análise\",\n rows: analysisItems.value,\n \"row-key\": \"id\",\n columns: _unref(tableColumns),\n filter: searchWord.value,\n \"rows-per-page-options\": [10, 50, 100, 200, 0],\n class: \"\"\n }, {\n \"top-right\": _withCtx(() => [\n _createVNode(_component_q_input, {\n borderless: \"\",\n dense: \"\",\n debounce: \"300\",\n modelValue: searchWord.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((searchWord).value = $event)),\n placeholder: \"Pesquisar\"\n }, {\n append: _withCtx(() => [\n _createVNode(_component_q_icon, { name: \"search\" })\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_q_btn, {\n label: \"Novo\",\n color: \"primary\",\n class: \"q-ml-xl\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (modalCreate.value?.open()))\n }),\n _createVNode(_component_q_btn, {\n label: \"Reordenar Itens\",\n color: \"primary\",\n class: \"q-ml-xl\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (modalList.value?.open()))\n })\n ]),\n \"body-cell-actions\": _withCtx((props) => [\n _createVNode(_component_q_td, { props: props }, {\n default: _withCtx(() => [\n _createVNode(_component_q_btn, {\n flat: \"\",\n size: \"sm\",\n round: \"\",\n color: \"primary\",\n icon: \"visibility\",\n onClick: ($event: any) => (view(props.row.id))\n }, null, 8, [\"onClick\"]),\n _createVNode(_component_q_btn, {\n flat: \"\",\n size: \"sm\",\n round: \"\",\n color: \"primary\",\n icon: \"edit\",\n onClick: ($event: any) => (edit(props.row.id))\n }, null, 8, [\"onClick\"])\n ]),\n _: 2\n }, 1032, [\"props\"])\n ]),\n _: 1\n }, 8, [\"rows\", \"columns\", \"filter\"])\n ])\n ]),\n _createVNode(Create, {\n ref_key: \"modalCreate\",\n ref: modalCreate,\n analysisItems: analysisItems.value,\n onCreated: _cache[3] || (_cache[3] = ($event: any) => (getAnalysisItems()))\n }, null, 8, [\"analysisItems\"]),\n _createVNode(Edit, {\n ref_key: \"modalEdit\",\n ref: modalEdit,\n analysisItems: analysisItems.value,\n analysisItem: selectedAnalysisItem.value,\n onSaved: getAnalysisItems\n }, null, 8, [\"analysisItems\", \"analysisItem\"]),\n _createVNode(View, {\n ref_key: \"modalView\",\n ref: modalView,\n analysisItem: selectedAnalysisItem.value\n }, null, 8, [\"analysisItem\"]),\n _createVNode(List, {\n ref_key: \"modalList\",\n ref: modalList,\n analysisItems: analysisItems.value\n }, null, 8, [\"analysisItems\"])\n ], 64))\n}\n}\n\n})","import script from \"./Index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Index.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QTable from 'quasar/src/components/table/QTable.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QTd from 'quasar/src/components/table/QTd.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QTable,QInput,QIcon,QBtn,QTd});\n","import { h, computed } from 'vue'\n\nimport useAlign, { useAlignProps } from '../../composables/private/use-align.js'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default createComponent({\n name: 'QCardActions',\n\n props: {\n ...useAlignProps,\n vertical: Boolean\n },\n\n setup (props, { slots }) {\n const alignClass = useAlign(props)\n\n const classes = computed(() =>\n `q-card__actions ${ alignClass.value }`\n + ` q-card__actions--${ props.vertical === true ? 'vert column' : 'horiz row' }`\n )\n\n return () => h('div', { class: classes.value }, hSlot(slots.default))\n }\n})\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./View.vue?vue&type=style&index=0&id=716131cc&lang=scss&scoped=true\"","import { Expose } from 'class-transformer';\r\nimport { Model } from './model';\r\nimport { Moment } from 'moment';\r\n\r\ntype AnalysisItemType = 'input' | 'auto' | 'select' | 'function';\r\n\r\nenum AnalysisItemTypeString {\r\n input = 'Campo Input',\r\n auto = 'Campo Autocomplete',\r\n select = 'Campo Seletor',\r\n function = 'Função',\r\n}\r\n\r\nclass AnalysisItem extends Model {\r\n @Expose()\r\n public identifier: string;\r\n\r\n @Expose()\r\n public text: string;\r\n\r\n @Expose()\r\n public unit: string;\r\n\r\n @Expose()\r\n public group: string | null;\r\n\r\n @Expose()\r\n public expression: string | null;\r\n\r\n @Expose()\r\n public hidden: boolean;\r\n\r\n @Expose()\r\n public type: AnalysisItemType;\r\n\r\n @Expose()\r\n public order: number;\r\n\r\n @Expose({ name: 'select_options' })\r\n public selectOptions: string[] | null;\r\n\r\n constructor(\r\n id: number | null,\r\n createdAt: Moment,\r\n updatedAt: Moment,\r\n deletedAt: Moment | null,\r\n identifier: string,\r\n text: string,\r\n unit: string,\r\n group: string,\r\n expression: string,\r\n hidden: boolean,\r\n type: AnalysisItemType,\r\n order: number,\r\n selectOptions: string[] | null\r\n ) {\r\n super(id, createdAt, updatedAt, deletedAt);\r\n this.identifier = identifier;\r\n this.text = text;\r\n this.unit = unit;\r\n this.group = group;\r\n this.expression = expression;\r\n this.hidden = hidden;\r\n this.type = type;\r\n this.order = order;\r\n this.selectOptions = selectOptions;\r\n }\r\n}\r\n\r\nexport { AnalysisItem, AnalysisItemType, AnalysisItemTypeString };\r\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./Form.vue?vue&type=style&index=0&id=295f391a&lang=scss&scoped=true\""],"sourceRoot":""}