@feedmepos/mf-inventory-portal 1.7.16-dev.0 → 1.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DFSszWS2.js → App-CDMo2ZuC.js} +7 -7
- package/dist/{ApprovalView-sHjUr1tA.js → ApprovalView-CksFPjMG.js} +9 -9
- package/dist/{BindingsDialog-B-64TNTI.js → BindingsDialog-DAawZX4x.js} +2 -2
- package/dist/{BindingsPicker-Czn-jEHe.js → BindingsPicker-CtXkaJPJ.js} +2 -2
- package/dist/{BindingsTable-CmB0b3ov.js → BindingsTable-C6IoZUm-.js} +4 -4
- package/dist/{BulkReceiveRequestView-BjGCwQiH.js → BulkReceiveRequestView-bnRPk255.js} +19 -19
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C9UPQ0zS.js +130 -0
- package/dist/{ClosingDraftView-DJLqwVmZ.js → ClosingDraftView-CENxwBWR.js} +19 -19
- package/dist/{ClosingHistoryView-Dj170bDN.js → ClosingHistoryView-DbKXEHeX.js} +5 -5
- package/dist/{ClosingTemplateView-DsfJz31T.js → ClosingTemplateView-Cvbt6fzS.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-g6XVWALK.js} +1 -1
- package/dist/{DefaultView-CsI2C4Hr.js → DefaultView-BXc9kZ4T.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-8EupGZmv.js → DeliveryOrderPrintPreview-CnvpF0E0.js} +12 -12
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js → EmailDialog.vue_vue_type_script_setup_true_lang-DkhawQNe.js} +7093 -6988
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B2zi921K.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C2XGgyo2.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js +120 -0
- package/dist/{FmMultiselectDialog-CZr-dX4K.js → FmMultiselectDialog-Cq_sKKG7.js} +2 -2
- package/dist/{FmMultiselectDialog-B5gQRKE6.js → FmMultiselectDialog-DehATOte.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DlucWzNP.js} +136 -132
- package/dist/{ImportView-Htolj46U.js → ImportView-C5xg4oy1.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-vGJpOsZy.js} +1 -1
- package/dist/{IngredientGroupView-zZgJ3F9O.js → IngredientGroupView-pmtSRhNV.js} +5 -5
- package/dist/{IngredientsView-BhIIUpq5.js → IngredientsView-C8c-KOaH.js} +15 -15
- package/dist/{IntegrationExplorerView-a7EEa4a4.js → IntegrationExplorerView-2kY3NYRv.js} +4 -4
- package/dist/{IntegrationView-Dbr7gTAK.js → IntegrationView-DjPn5KTT.js} +14 -14
- package/dist/{InventoryBindingForm-DSAHtnBI.js → InventoryBindingForm-B1NfqzF2.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jMOg3yzw.js} +5 -5
- package/dist/{InventoryBindingSummary-D_jEP9vJ.js → InventoryBindingSummary-CWcvhTqq.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Da8hIOqJ.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CgbV085U.js} +1 -1
- package/dist/ProductionView-CYW5SlqH.js +1441 -0
- package/dist/{PublishView-tOyFyzkR.js → PublishView-BIKhFG_F.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CKyZ5jco.js → PurchaseOrderPrintPreview-CdcTwvAv.js} +7 -7
- package/dist/{ReceiveRequestView-Brjz7YtB.js → ReceiveRequestView-DGP1-LKO.js} +14 -14
- package/dist/{RecipeView-DntISZwO.js → RecipeView-DgoAEpLx.js} +17 -17
- package/dist/{SettingsView-_uzG3DYW.js → SettingsView--yhMacS4.js} +4 -4
- package/dist/{StockView-D0ns42PP.js → StockView-BJOe3lp_.js} +363 -363
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DtFVQGcw.js} +1 -1
- package/dist/{SupplierView-Cg0BEv_J.js → SupplierView-4X4XeHpl.js} +14 -13
- package/dist/{SurchargeView-CtNt10E_.js → SurchargeView-BFEZSmPr.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DJsJDk7-.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BJhSMbM4.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js → TransferDetails.vue_vue_type_script_setup_true_lang-DxoWXbAk.js} +120 -120
- package/dist/{TransferTemplateView-DA-0VP3h.js → TransferTemplateView-B8cYDi8n.js} +919 -915
- package/dist/{UnitCostHistoryView-BIcZSZeY.js → UnitCostHistoryView--7qgXaB7.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B1bASkIu.js} +4 -4
- package/dist/{UnitView-B7hMqpmo.js → UnitView-V6NYGeBR.js} +7 -7
- package/dist/{WarehouseView-DQZhCobt.js → WarehouseView-CqFHm5Gj.js} +6 -6
- package/dist/{WastageTemplateView-Bg4oY2Vw.js → WastageTemplateView-IM1uapEf.js} +14 -14
- package/dist/api/netsuite.d.ts +8 -14
- package/dist/api/production.d.ts +30 -0
- package/dist/{app-CNKD3vjZ.js → app-BYXLBTAp.js} +30633 -33788
- package/dist/app.d.ts +54 -3002
- package/dist/app.js +1 -1
- package/dist/{closing-template-BeegNS6p.js → closing-template-CESaKvtR.js} +1 -1
- package/dist/components/FmUnitInputProps.d.ts +1 -2
- package/dist/{date2-B00CYgio.js → date2-Bakt163M.js} +1 -1
- package/dist/{dayjs.min-DPQzGVmJ.js → dayjs.min-Ds-7QYZn.js} +1 -1
- package/dist/{decimal-mk8IRyTq.js → decimal-CqUQox7v.js} +2 -2
- package/dist/{defineDeepModel-DPmaWR48.js → defineDeepModel-DH6TPPcs.js} +5 -5
- package/dist/{duplicate-template-CMddJ7le.js → duplicate-template-DKwa3kcE.js} +1 -1
- package/dist/{feature-fzePklTK.js → feature-DDZ2q9CF.js} +28 -28
- package/dist/{format-time-from-id-CX7mBtQD.js → format-time-from-id-R9Chodov.js} +1 -1
- package/dist/{format-unit-display-C-WI6eC7.js → format-unit-display-FBOASGnz.js} +115 -113
- package/dist/{import-export.helper-BXXH9AYn.js → import-export.helper-Fu7QFnJS.js} +6 -6
- package/dist/{index-D1nPGK7U.js → index-CSOG5osB.js} +3 -3
- package/dist/{index-BGVJky7a.js → index-CsU1IUWH.js} +1768 -1741
- package/dist/{index-DJQBhZfo.js → index-DHlZPhuP.js} +1 -1
- package/dist/{inventory-core-dart.default-CSFkzl91.js → inventory-core-dart.default-BOIZGOJM.js} +6946 -2893
- package/dist/{lz-string-CzFlgjO3.js → lz-string-DTZn_aem.js} +1 -1
- package/dist/{netsuite-yzjEuV4c.js → netsuite-Dfo9PwZB.js} +3 -5
- package/dist/{number-LQ8tdP_1.js → number-3lF6zpQn.js} +7 -6
- package/dist/{predefined-templates-Db7qjPHc.js → predefined-templates-KXopFzgA.js} +1 -1
- package/dist/{purchase-order-template-bBTN12Ij.js → purchase-order-template-c0YljACm.js} +1 -1
- package/dist/{recalculationUtils-DN6oOoMX.js → recalculationUtils-6mITlu-c.js} +1 -1
- package/dist/router/name.d.ts +1 -3
- package/dist/{rules-BdR1TB3v.js → rules-Bd7-xhpl.js} +2 -2
- package/dist/{stock-AwNCy6xY.js → stock-CDb2pTqg.js} +1 -1
- package/dist/{stock-BgGttjDF.js → stock-CLjOWX57.js} +3 -3
- package/dist/stores/feature.d.ts +1 -1
- package/dist/stores/integration/codemax.d.ts +1 -1
- package/dist/stores/inventory.d.ts +8 -10
- package/dist/stores/stock.d.ts +8 -10
- package/dist/style.css +1 -1
- package/dist/{supplier-BNoSljLB.js → supplier-CV24jgpS.js} +2 -2
- package/dist/{surcharge-pUc66ZZJ.js → surcharge-CSltyzb4.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BP8Vk8Rl.js → uom-rules-Rl-tWEBP.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DTOzSrjt.js → use-ingredient-select-dialog-PUDgBtcH.js} +2 -2
- package/dist/{use-inventory-binding-dialog-lHpBzqDy.js → use-inventory-binding-dialog-on6MYG8g.js} +2 -2
- package/dist/{use-template-enabled-locations-DmCbj6aZ.js → use-template-enabled-locations-DHDOLlvG.js} +2 -2
- package/dist/{use-transfer-locations-BeARyv2s.js → use-transfer-locations-DCdCbsj0.js} +2 -2
- package/dist/{useHrmPermission-DScCpS0P.js → useHrmPermission-CkPzKYHS.js} +1 -1
- package/dist/{useNavigationMenu-B5pf21hS.js → useNavigationMenu-Ccl7e4Qo.js} +17 -17
- package/dist/{useSseClient-BPR5sQ_S.js → useSseClient-Dwtiag10.js} +1 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +16 -20
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +32 -40
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +16 -20
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +48 -60
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +8 -10
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
- package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
- package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
- package/dist/views/{production-run/features/detail/ProductionRunResultTable.vue.d.ts → production/ProductionBindingsCell.vue.d.ts} +14 -10
- package/dist/views/{production-run/features/list/ProductionRunActionMenuItem.vue.d.ts → production/ProductionCompletionDialog.vue.d.ts} +21 -8
- package/dist/views/production/ProductionDetailSheet.vue.d.ts +42 -0
- package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +282 -0
- package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +282 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +8 -12
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +0 -2
- package/dist/{vue-i18n-DLJI5tIS.js → vue-i18n-BUqwBCDs.js} +270 -270
- package/dist/{xlsx.util-CZOxuAL-.js → xlsx.util-B4YBSPGX.js} +2 -2
- package/package.json +6 -7
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +0 -243
- package/dist/ProductionRunDetailView-DnIVaUbO.js +0 -2284
- package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +0 -34
- package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +0 -7543
- package/dist/ProductionRunView-9tC9ljDT.js +0 -911
- package/dist/api/production-run-error.d.ts +0 -36
- package/dist/api/production-run.d.ts +0 -80
- package/dist/components/FmUnitInput.spec.d.ts +0 -1
- package/dist/composable/useNavigationMenu.production.spec.d.ts +0 -1
- package/dist/production-run-prepare-sheet-BVAUvVqt.js +0 -17411
- package/dist/router/shared.production.spec.d.ts +0 -1
- package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +0 -1
- package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +0 -15
- package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +0 -1
- package/dist/views/production-run/ProductionRunView.spec.d.ts +0 -1
- package/dist/views/production-run/ProductionRunView.vue.d.ts +0 -2
- package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +0 -15
- package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +0 -67
- package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +0 -52
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +0 -80
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +0 -1066
- package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +0 -47
- package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +0 -1
- package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +0 -15
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +0 -2098
- package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +0 -1
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +0 -1020
- package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +0 -9
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +0 -1020
- package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +0 -9
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +0 -1
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +0 -3573
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +0 -1026
- package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +0 -56
- package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +0 -1
- package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +0 -1
- package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +0 -20
- package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +0 -1
- package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +0 -40
- package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +0 -1
- package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +0 -43
- package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +0 -1
- package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +0 -25
- package/dist/views/production-run/features/list/use-production-run-table.d.ts +0 -18
- package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +0 -70
- package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +0 -33
- package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +0 -26
- package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +0 -43
- package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +0 -31
- package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +0 -23
- package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +0 -33
- package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +0 -20
- package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +0 -28
- package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +0 -245
- package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +0 -25
- package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +0 -21
- package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +0 -61
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +0 -1022
- package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +0 -25
- package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +0 -65
- package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +0 -15
- package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +0 -30
- package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +0 -67
- package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +0 -85
- package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +0 -78
- package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +0 -49
- package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +0 -1525
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +0 -1
- package/dist/views/production-run/features/planning/use-production-run-form.d.ts +0 -275
- package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +0 -1
- package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +0 -32
- package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +0 -18
- package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +0 -29
- package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +0 -1
- package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +0 -26
- package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +0 -16
- package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +0 -1
- package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -18
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -6
- package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +0 -1
- package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +0 -31
- package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +0 -57
- package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-display.d.ts +0 -187
- package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +0 -22
- package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -46
- package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +0 -20
- package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +0 -22
- package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +0 -39
- package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +0 -39
- package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +0 -1
- package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +0 -658
- package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +0 -39
- package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +0 -25
- package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +0 -51
- package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +0 -23
- package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +0 -25
- package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +0 -2
- package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +0 -24
- package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +0 -15
- package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +0 -33
- package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +0 -67
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +0 -70
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +0 -71
- package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +0 -15
- package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +0 -46
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +0 -31
- package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +0 -31
- package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +0 -37
- package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +0 -77
- package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +0 -52
- package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +0 -21
- package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +0 -23
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +0 -62
- package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +0 -34
- package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +0 -11
- package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +0 -15
- package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +0 -17
- package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +0 -1
- package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +0 -9
- package/dist/views/production-run/test-support/production-run.fixture.d.ts +0 -88
- package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +0 -1
- package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +0 -1
- package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +0 -1
- package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +0 -1
- /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → production/ProductionView.vue.d.ts} +0 -0
- /package/dist/{api/production-run-error.spec.d.ts → views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts} +0 -0
- /package/dist/{api/production-run.spec.d.ts → views/transfer-template/helpers/template-item.error.helper.spec.d.ts} +0 -0
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { l as
|
|
3
|
-
import { w as
|
|
4
|
-
import { g as O, c as
|
|
5
|
-
import { I as
|
|
1
|
+
import { defineComponent as re, mergeModels as H, useModel as me, computed as v, ref as U, watch as Q, onBeforeUnmount as ce, inject as de, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as l, createVNode as g, createCommentVNode as A, withCtx as _, renderSlot as G, withDirectives as pe, normalizeClass as q, toDisplayString as h, vModelText as fe, createBlock as R, Fragment as ve, renderList as be, createSlots as ye, createTextVNode as he } from "vue";
|
|
2
|
+
import { l as xe } from "./netsuite-Dfo9PwZB.js";
|
|
3
|
+
import { w as C } from "./app-BYXLBTAp.js";
|
|
4
|
+
import { g as O, c as ge, a as b, t as Me, e as Z, m as _e, b as Fe, u as Ae } from "./number-3lF6zpQn.js";
|
|
5
|
+
import { I as B, a as Be } from "./rules-Bd7-xhpl.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
|
-
import { P as
|
|
8
|
-
import { u as
|
|
9
|
-
function
|
|
7
|
+
import { P as Ie } from "./inventory-core-dart.default-BOIZGOJM.js";
|
|
8
|
+
import { u as Pe, a as ke } from "./uom-rules-Rl-tWEBP.js";
|
|
9
|
+
function J() {
|
|
10
10
|
return {
|
|
11
|
-
amount:
|
|
11
|
+
amount: C.reset()
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function X() {
|
|
15
15
|
return function(p) {
|
|
16
|
-
return
|
|
16
|
+
return B()(p.amountAsString);
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function nt(r) {
|
|
20
20
|
return function(t) {
|
|
21
|
-
return
|
|
21
|
+
return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function ot(r) {
|
|
25
25
|
return function(t) {
|
|
26
|
-
return
|
|
26
|
+
return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function K(r, p = !1) {
|
|
30
30
|
return function(c) {
|
|
31
|
-
const s =
|
|
31
|
+
const s = X()(c);
|
|
32
32
|
if (s != !0)
|
|
33
33
|
return p ? s : !0;
|
|
34
|
-
const
|
|
35
|
-
return
|
|
34
|
+
const I = typeof r == "number" ? r : O(r, c.modelValue.measurement);
|
|
35
|
+
return ge(+c.amountAsString).precision > I ? `Cannot exceed precision more than ${b({
|
|
36
36
|
amount: 1,
|
|
37
|
-
precision:
|
|
37
|
+
precision: I
|
|
38
38
|
})}` : !0;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const p =
|
|
41
|
+
function st(r) {
|
|
42
|
+
const p = Be(r);
|
|
43
43
|
return function(c) {
|
|
44
44
|
return p(c.modelValue.amount);
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function it(r) {
|
|
48
48
|
return function(t) {
|
|
49
|
-
if (
|
|
49
|
+
if (B()(t.amountAsString) !== !0)
|
|
50
50
|
return !0;
|
|
51
|
-
const s =
|
|
51
|
+
const s = Ie.validateQuantityAgainstTemplateItem({
|
|
52
52
|
quantity: t.modelValue.amount,
|
|
53
53
|
templateItem: r
|
|
54
54
|
});
|
|
55
55
|
return s.length === 0 ? !0 : s[0];
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { class: "flex-1" }, De = { class: "flex items-center gap-4" }, we = { class: "flex-1 flex gap-4" }, Se = { class: "shrink-0 grow basis-2/5" }, Ne = {
|
|
59
59
|
key: 0,
|
|
60
60
|
class: "text-fm-color-typo-secondary"
|
|
61
|
-
},
|
|
61
|
+
}, Ve = {
|
|
62
62
|
key: 0,
|
|
63
63
|
class: "flex"
|
|
64
|
-
},
|
|
64
|
+
}, Te = { class: "line-clamp-1 text-ellipsis break-all" }, $e = { class: "flex items-center gap-4" }, Le = { class: "flex items-center" }, qe = { class: "line-clamp-1 text-ellipsis break-all" }, Oe = { class: "max-w-[200px] flex flex-col gap-[1px]" }, je = { class: "flex flex-col" }, ze = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Ee = {
|
|
65
65
|
key: 1,
|
|
66
66
|
class: "flex flex-col gap-4 pl-8 shrink-0"
|
|
67
|
-
}, Ee = {
|
|
68
|
-
class: "flex items-center",
|
|
69
|
-
style: { "pointer-events": "none" }
|
|
70
67
|
}, We = {
|
|
71
68
|
class: "flex items-center",
|
|
72
69
|
style: { "pointer-events": "none" }
|
|
73
70
|
}, He = {
|
|
71
|
+
class: "flex items-center",
|
|
72
|
+
style: { "pointer-events": "none" }
|
|
73
|
+
}, Qe = {
|
|
74
74
|
key: 0,
|
|
75
75
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mt-1"
|
|
76
|
-
},
|
|
76
|
+
}, at = /* @__PURE__ */ re({
|
|
77
77
|
__name: "FmUnitInput",
|
|
78
|
-
props: /* @__PURE__ */
|
|
78
|
+
props: /* @__PURE__ */ H({
|
|
79
79
|
modelValue: {},
|
|
80
80
|
unit: {},
|
|
81
81
|
rules: {},
|
|
@@ -89,7 +89,7 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
89
89
|
disableUnit: { type: Boolean },
|
|
90
90
|
stepperOnly: { type: Boolean },
|
|
91
91
|
stepper: {},
|
|
92
|
-
|
|
92
|
+
showMeasurementConversion: { type: Boolean },
|
|
93
93
|
placeholder: {},
|
|
94
94
|
minLength: {},
|
|
95
95
|
maxLength: {},
|
|
@@ -123,41 +123,43 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
123
123
|
modelValue: {},
|
|
124
124
|
modelModifiers: {}
|
|
125
125
|
}),
|
|
126
|
-
emits: /* @__PURE__ */
|
|
126
|
+
emits: /* @__PURE__ */ H(["update:amount", "update:measurement"], ["update:modelValue"]),
|
|
127
127
|
setup(r, { emit: p }) {
|
|
128
|
-
const t = r, c = p, s =
|
|
128
|
+
const t = r, c = p, s = me(r, "modelValue"), I = B(), D = v(() => {
|
|
129
129
|
var n;
|
|
130
130
|
return O(t.unit, (n = s.value) == null ? void 0 : n.measurement);
|
|
131
|
-
}), f =
|
|
131
|
+
}), f = U((() => {
|
|
132
132
|
var i;
|
|
133
|
-
const e = ((i = s.value) == null ? void 0 : i.amount) ??
|
|
134
|
-
return b(
|
|
133
|
+
const e = ((i = s.value) == null ? void 0 : i.amount) ?? C.reset(), n = Fe(e), a = t.formatMinimumPrecision ?? n.precision, u = Ae(n, a);
|
|
134
|
+
return b(u);
|
|
135
135
|
})());
|
|
136
136
|
let F = null;
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
Q(f, (e) => {
|
|
138
|
+
F && clearTimeout(F), F = setTimeout(() => {
|
|
139
139
|
var o;
|
|
140
|
-
const a = t.precision ??
|
|
141
|
-
if (
|
|
142
|
-
const
|
|
143
|
-
((o = s.value) == null ? void 0 : o.amount) !==
|
|
140
|
+
const n = I(e), a = t.precision ?? D.value, i = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > a ? t.formatMinimumPrecision : a;
|
|
141
|
+
if (n == !0) {
|
|
142
|
+
const M = Me(+e, i);
|
|
143
|
+
((o = s.value) == null ? void 0 : o.amount) !== M && (s.value = {
|
|
144
144
|
...s.value,
|
|
145
|
-
amount:
|
|
145
|
+
amount: M
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
|
|
149
|
-
t.immediateModelUpdate && n(), F && clearTimeout(F), F = setTimeout(() => {
|
|
150
|
-
t.immediateModelUpdate || n(), c("update:amount", e);
|
|
148
|
+
c("update:amount", e);
|
|
151
149
|
}, 500);
|
|
152
|
-
}),
|
|
150
|
+
}), ce(() => {
|
|
153
151
|
F && clearTimeout(F);
|
|
154
152
|
});
|
|
155
|
-
const
|
|
153
|
+
const ee = Symbol.for("fm:form-state"), w = de(ee, null), P = v(() => t.disabled ?? (w == null ? void 0 : w.getDisabled()) ?? !1), te = U(), S = U(!1), j = U(!1), ne = v(() => S.value || j.value), oe = Pe();
|
|
154
|
+
function z(e) {
|
|
155
|
+
return `1 ${e.abbrev} = ${b(e.conversion)} ${t.unit.abbrev}`;
|
|
156
|
+
}
|
|
157
|
+
const se = v(() => {
|
|
156
158
|
var i;
|
|
157
|
-
const e =
|
|
159
|
+
const e = oe.value, n = t.unit.measurements.filter((o) => !ke(o, e)).filter((o) => o.abbrev !== t.unit.abbrev || +b(o.conversion) != 1), a = xe.groupBy(
|
|
158
160
|
n,
|
|
159
161
|
(o) => `${o.abbrev}${b(o.conversion)}`
|
|
160
|
-
),
|
|
162
|
+
), u = Object.values(a).map((o) => o[0]);
|
|
161
163
|
return [
|
|
162
164
|
{
|
|
163
165
|
label: (i = t.unit) == null ? void 0 : i.abbrev,
|
|
@@ -165,11 +167,11 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
165
167
|
isBaseUnit: !0,
|
|
166
168
|
conversionLabel: null
|
|
167
169
|
},
|
|
168
|
-
...
|
|
170
|
+
...u.map((o) => ({
|
|
169
171
|
label: o.abbrev,
|
|
170
172
|
value: o.id,
|
|
171
173
|
isBaseUnit: !1,
|
|
172
|
-
conversionLabel:
|
|
174
|
+
conversionLabel: z(o)
|
|
173
175
|
}))
|
|
174
176
|
];
|
|
175
177
|
}), N = v({
|
|
@@ -180,24 +182,24 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
180
182
|
set(e) {
|
|
181
183
|
if (e == null)
|
|
182
184
|
s.value = {
|
|
183
|
-
...s.value ??
|
|
185
|
+
...s.value ?? J(),
|
|
184
186
|
measurement: null
|
|
185
187
|
}, c("update:measurement", null);
|
|
186
188
|
else {
|
|
187
189
|
const n = t.unit.measurements.find((a) => a.id === e) ?? null;
|
|
188
190
|
s.value = {
|
|
189
|
-
...s.value ??
|
|
191
|
+
...s.value ?? J(),
|
|
190
192
|
measurement: n
|
|
191
193
|
}, c("update:measurement", n);
|
|
192
194
|
}
|
|
193
195
|
}
|
|
194
196
|
});
|
|
195
|
-
|
|
197
|
+
Q(N, (e, n) => {
|
|
196
198
|
var m;
|
|
197
199
|
if (!t.convertAmountOnChangeUnit)
|
|
198
200
|
return;
|
|
199
|
-
const a = ((m = s.value) == null ? void 0 : m.amount) ??
|
|
200
|
-
value:
|
|
201
|
+
const a = ((m = s.value) == null ? void 0 : m.amount) ?? C.reset(), u = t.unit.measurements.find((k) => k.id === n) ?? null, i = t.unit.measurements.find((k) => k.id === e) ?? null, o = u ? Z(a, u.conversion) : a, M = i ? _e(o, i.conversion) : o, $ = O(t.unit, i), L = C.convertPrecision({
|
|
202
|
+
value: M,
|
|
201
203
|
precision: $
|
|
202
204
|
});
|
|
203
205
|
f.value = b(L);
|
|
@@ -208,99 +210,101 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
208
210
|
}), T = v(() => {
|
|
209
211
|
var e, n;
|
|
210
212
|
return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.abbrev) ?? t.unit.abbrev;
|
|
211
|
-
}),
|
|
212
|
-
var
|
|
213
|
+
}), E = v(() => {
|
|
214
|
+
var u, i;
|
|
213
215
|
if (V.value) return null;
|
|
214
|
-
const e = (
|
|
216
|
+
const e = (u = s.value) == null ? void 0 : u.measurement;
|
|
215
217
|
if (!e) return null;
|
|
218
|
+
if (t.showMeasurementConversion)
|
|
219
|
+
return z(e);
|
|
216
220
|
const n = (i = s.value) == null ? void 0 : i.amount;
|
|
217
221
|
if (!n) return null;
|
|
218
|
-
const a =
|
|
222
|
+
const a = Z(n, e.conversion);
|
|
219
223
|
return `= ${b(a)} ${t.unit.abbrev}`;
|
|
220
|
-
}),
|
|
224
|
+
}), ie = v(
|
|
221
225
|
() => {
|
|
222
226
|
var e;
|
|
223
227
|
return ((e = t.rules) == null ? void 0 : e.map(
|
|
224
228
|
(n) => (a) => typeof n == "function" ? n(a) : n
|
|
225
229
|
)) ?? [];
|
|
226
230
|
}
|
|
227
|
-
),
|
|
228
|
-
|
|
229
|
-
typeof t.precision == "number" ?
|
|
230
|
-
] : [], ...
|
|
231
|
-
function
|
|
232
|
-
const n = t.precision ??
|
|
231
|
+
), ae = v(() => [...t.applyDefaultRules ? [
|
|
232
|
+
X(),
|
|
233
|
+
typeof t.precision == "number" ? K(t.precision) : K(t.unit)
|
|
234
|
+
] : [], ...ie.value]);
|
|
235
|
+
function W(e) {
|
|
236
|
+
const n = t.precision ?? D.value, u = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > n ? t.formatMinimumPrecision : n, i = e.toFixed(u), o = i.includes(".") ? i.replace(/0+$/, "") : i;
|
|
233
237
|
return o.endsWith(".") ? o.slice(0, o.length - 1) : o;
|
|
234
238
|
}
|
|
235
|
-
function
|
|
239
|
+
function ue() {
|
|
236
240
|
if (!t.stepper)
|
|
237
241
|
return;
|
|
238
242
|
const e = +f.value + +b(t.stepper);
|
|
239
|
-
f.value =
|
|
243
|
+
f.value = W(e);
|
|
240
244
|
}
|
|
241
245
|
function le() {
|
|
242
246
|
if (!t.stepper)
|
|
243
247
|
return;
|
|
244
248
|
const e = +f.value - +b(t.stepper);
|
|
245
|
-
f.value =
|
|
249
|
+
f.value = W(e);
|
|
246
250
|
}
|
|
247
251
|
return (e, n) => {
|
|
248
|
-
const a = x("FmLabel"),
|
|
249
|
-
return d(), y("div",
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
const a = x("FmLabel"), u = x("FmIcon"), i = x("FmMenuItem"), o = x("FmMenu"), M = x("FmTooltip"), $ = x("FmField"), L = x("FmFormGroup");
|
|
253
|
+
return d(), y("div", Ue, [
|
|
254
|
+
l("div", Re, [
|
|
255
|
+
l("div", Ce, [
|
|
256
|
+
g(a, {
|
|
253
257
|
label: e.label,
|
|
254
258
|
disabled: e.disabled,
|
|
255
259
|
required: e.labelMark === "required",
|
|
256
260
|
optional: e.labelMark === "optional"
|
|
257
261
|
}, null, 8, ["label", "disabled", "required", "optional"])
|
|
258
262
|
]),
|
|
259
|
-
|
|
263
|
+
g($, { focused: ne.value }, {
|
|
260
264
|
default: _(() => [
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
+
l("div", De, [
|
|
266
|
+
G(e.$slots, "prepend"),
|
|
267
|
+
l("div", we, [
|
|
268
|
+
l("div", Se, [
|
|
265
269
|
e.stepperOnly ? (d(), y("span", {
|
|
266
270
|
key: 0,
|
|
267
271
|
class: q({
|
|
268
272
|
"fm-text-field--input fm-typo-en-body-lg-400": !0,
|
|
269
|
-
"text-fm-color-typo-primary": !
|
|
270
|
-
"text-fm-color-typo-disabled":
|
|
273
|
+
"text-fm-color-typo-primary": !P.value,
|
|
274
|
+
"text-fm-color-typo-disabled": P.value
|
|
271
275
|
})
|
|
272
|
-
}, h(f.value), 3)) :
|
|
276
|
+
}, h(f.value), 3)) : pe((d(), y("input", {
|
|
273
277
|
key: 1,
|
|
274
278
|
type: "text",
|
|
275
279
|
ref_key: "inputRef",
|
|
276
|
-
ref:
|
|
277
|
-
onFocus: n[0] || (n[0] = () =>
|
|
278
|
-
onBlur: n[1] || (n[1] = () =>
|
|
280
|
+
ref: te,
|
|
281
|
+
onFocus: n[0] || (n[0] = () => S.value = !0),
|
|
282
|
+
onBlur: n[1] || (n[1] = () => S.value = !1),
|
|
279
283
|
"onUpdate:modelValue": n[2] || (n[2] = (m) => f.value = m),
|
|
280
284
|
class: q({
|
|
281
285
|
"fm-text-field--input fm-typo-en-body-lg-400": !0,
|
|
282
|
-
"text-fm-color-typo-primary": !
|
|
283
|
-
"text-fm-color-typo-disabled":
|
|
286
|
+
"text-fm-color-typo-primary": !P.value,
|
|
287
|
+
"text-fm-color-typo-disabled": P.value
|
|
284
288
|
})
|
|
285
289
|
}, null, 34)), [
|
|
286
|
-
[
|
|
290
|
+
[fe, f.value]
|
|
287
291
|
])
|
|
288
292
|
]),
|
|
289
|
-
e.separator ? (d(), y("div",
|
|
290
|
-
|
|
293
|
+
e.separator ? (d(), y("div", Ne, h(e.separator), 1)) : A("", !0),
|
|
294
|
+
l("div", {
|
|
291
295
|
class: q([e.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"])
|
|
292
296
|
}, [
|
|
293
|
-
M
|
|
297
|
+
g(M, { "z-index": 51 }, {
|
|
294
298
|
content: _(() => [
|
|
295
|
-
|
|
299
|
+
he(h(T.value), 1)
|
|
296
300
|
]),
|
|
297
301
|
default: _(() => [
|
|
298
|
-
e.disableUnit ? (d(), y("div",
|
|
299
|
-
V.value ? A("", !0) : (d(), R(
|
|
302
|
+
e.disableUnit ? (d(), y("div", Ve, [
|
|
303
|
+
V.value ? A("", !0) : (d(), R(u, {
|
|
300
304
|
key: 0,
|
|
301
305
|
name: "square_foot"
|
|
302
306
|
})),
|
|
303
|
-
|
|
307
|
+
l("div", Te, h(T.value), 1)
|
|
304
308
|
])) : (d(), R(o, {
|
|
305
309
|
key: 1,
|
|
306
310
|
onMenuChanged: n[3] || (n[3] = (m) => j.value = m),
|
|
@@ -309,32 +313,32 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
309
313
|
disabled: e.disabled
|
|
310
314
|
}, {
|
|
311
315
|
"menu-button": _(() => [
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
V.value ? A("", !0) : (d(), R(
|
|
316
|
+
l("div", $e, [
|
|
317
|
+
l("div", Le, [
|
|
318
|
+
V.value ? A("", !0) : (d(), R(u, {
|
|
315
319
|
key: 0,
|
|
316
320
|
name: "square_foot"
|
|
317
321
|
})),
|
|
318
|
-
|
|
322
|
+
l("div", qe, h(T.value), 1)
|
|
319
323
|
]),
|
|
320
|
-
|
|
324
|
+
g(u, { name: "keyboard_arrow_down" })
|
|
321
325
|
])
|
|
322
326
|
]),
|
|
323
327
|
default: _(() => [
|
|
324
|
-
|
|
325
|
-
(d(!0), y(
|
|
328
|
+
l("div", Oe, [
|
|
329
|
+
(d(!0), y(ve, null, be(se.value, (m) => (d(), R(i, {
|
|
326
330
|
key: m.value ?? void 0,
|
|
327
331
|
label: m.label,
|
|
328
332
|
icon: m.isBaseUnit ? void 0 : "square_foot",
|
|
329
333
|
"model-value": m.value == N.value,
|
|
330
|
-
onClick: (
|
|
331
|
-
},
|
|
334
|
+
onClick: (k) => N.value = m.value
|
|
335
|
+
}, ye({ _: 2 }, [
|
|
332
336
|
m.conversionLabel ? {
|
|
333
337
|
name: "label",
|
|
334
338
|
fn: _(() => [
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
339
|
+
l("div", je, [
|
|
340
|
+
l("span", null, h(m.label), 1),
|
|
341
|
+
l("span", ze, h(m.conversionLabel), 1)
|
|
338
342
|
])
|
|
339
343
|
]),
|
|
340
344
|
key: "0"
|
|
@@ -348,24 +352,24 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
348
352
|
_: 1
|
|
349
353
|
})
|
|
350
354
|
], 2),
|
|
351
|
-
e.stepper ? (d(), y("div",
|
|
352
|
-
|
|
355
|
+
e.stepper ? (d(), y("div", Ee, [
|
|
356
|
+
l("div", {
|
|
353
357
|
class: "w-24 h-12 flex items-center justify-center fm-corner-radius-sm bg-fm-color-neutral-gray-100 hover:bg-fm-color-neutral-gray-200",
|
|
354
|
-
onClick:
|
|
358
|
+
onClick: ue
|
|
355
359
|
}, [
|
|
356
|
-
|
|
357
|
-
|
|
360
|
+
l("div", We, [
|
|
361
|
+
g(u, {
|
|
358
362
|
name: "expand_less",
|
|
359
363
|
size: "md"
|
|
360
364
|
})
|
|
361
365
|
])
|
|
362
366
|
]),
|
|
363
|
-
|
|
367
|
+
l("div", {
|
|
364
368
|
class: "w-24 h-12 flex items-center justify-center fm-corner-radius-sm bg-fm-color-neutral-gray-100 hover:bg-fm-color-neutral-gray-200",
|
|
365
369
|
onClick: le
|
|
366
370
|
}, [
|
|
367
|
-
|
|
368
|
-
|
|
371
|
+
l("div", He, [
|
|
372
|
+
g(u, {
|
|
369
373
|
name: "expand_more",
|
|
370
374
|
size: "md"
|
|
371
375
|
})
|
|
@@ -373,32 +377,32 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
373
377
|
])
|
|
374
378
|
])) : A("", !0)
|
|
375
379
|
]),
|
|
376
|
-
|
|
380
|
+
G(e.$slots, "append")
|
|
377
381
|
])
|
|
378
382
|
]),
|
|
379
383
|
_: 3
|
|
380
384
|
}, 8, ["focused"])
|
|
381
385
|
]),
|
|
382
|
-
|
|
386
|
+
g(L, {
|
|
383
387
|
class: "flex-1",
|
|
384
388
|
"model-value": { modelValue: s.value, amountAsString: String(f.value) },
|
|
385
389
|
info: e.labelInfo,
|
|
386
|
-
rules:
|
|
390
|
+
rules: ae.value,
|
|
387
391
|
"helper-text": e.helperText,
|
|
388
392
|
"helper-state": e.helperState
|
|
389
393
|
}, null, 8, ["model-value", "info", "rules", "helper-text", "helper-state"]),
|
|
390
|
-
|
|
394
|
+
E.value ? (d(), y("div", Qe, h(E.value), 1)) : A("", !0)
|
|
391
395
|
]);
|
|
392
396
|
};
|
|
393
397
|
}
|
|
394
398
|
});
|
|
395
399
|
export {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
400
|
+
st as F,
|
|
401
|
+
at as _,
|
|
402
|
+
nt as a,
|
|
403
|
+
ot as b,
|
|
404
|
+
X as c,
|
|
405
|
+
K as d,
|
|
406
|
+
J as e,
|
|
407
|
+
it as f
|
|
404
408
|
};
|
|
@@ -2,15 +2,15 @@ import { defineComponent as Te, ref as F, computed as L, watch as Be, resolveCom
|
|
|
2
2
|
import { u as je, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as Fe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Oe, useSnackbar as Ae, useDialog as He, useBreakpoints as ze } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Ke } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
5
|
+
import { u as Ke } from "./feature-DDZ2q9CF.js";
|
|
6
|
+
import { a as ie } from "./app-BYXLBTAp.js";
|
|
7
|
+
import "./dayjs.min-Ds-7QYZn.js";
|
|
8
8
|
import "./app-C39bYJmq.js";
|
|
9
9
|
import "./FmAdminBadge-DlplQOHb.js";
|
|
10
|
-
import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-
|
|
11
|
-
import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-
|
|
10
|
+
import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-B4YBSPGX.js";
|
|
11
|
+
import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-Fu7QFnJS.js";
|
|
12
12
|
import { r as Qe } from "./random-CSbEbElR.js";
|
|
13
|
-
import { c as Ne, a as pe } from "./number-
|
|
13
|
+
import { c as Ne, a as pe } from "./number-3lF6zpQn.js";
|
|
14
14
|
import { F as Ye } from "./FmDroppableField-J0tG_U3w.js";
|
|
15
15
|
function Ee() {
|
|
16
16
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${Qe()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, createElementBlock as s, openBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, e as y } from "./number-
|
|
2
|
+
import { a, e as y } from "./number-3lF6zpQn.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, createElementBlock as B, openBlock as F, createVNode as b, createElementVNode as c, unref as i, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
-
import { a as L, c as P, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as L, c as P, j as oe, u as Re } from "./app-BYXLBTAp.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
@@ -8,11 +8,11 @@ import { D as ie, R as K } from "./row-action.enum-ncgDYAjP.js";
|
|
|
8
8
|
import { c as Ve } from "./component-BmLAdDiY.js";
|
|
9
9
|
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
10
10
|
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
11
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as de } from "./defineDeepModel-
|
|
13
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-DH6TPPcs.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-Bd7-xhpl.js";
|
|
14
14
|
import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
|
|
15
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
15
|
+
import { u as Le } from "./FmMultiselectDialog-DehATOte.js";
|
|
16
16
|
import { r as me } from "./random-CSbEbElR.js";
|
|
17
17
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
18
18
|
const H = ue(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as P, defineComponent as ke, computed as g, resolveComponent as S, createElementBlock as V, openBlock as c, Fragment as ee, createCommentVNode as N, createVNode as s, unref as o, withModifiers as Rt, withCtx as b, createElementVNode as n, renderList as de, createBlock as j, toDisplayString as $, normalizeClass as ie, h as Z, mergeModels as st, onMounted as Ot, watch as _t, useModel as Bt, createTextVNode as xt, isRef as rt, createSlots as kt, normalizeStyle as Dt, Teleport as it, normalizeProps as Nt, guardReactiveProps as zt } from "vue";
|
|
2
|
-
import { a as Fe, c as wt, S as Lt, g as dt, e as ut, f as jt, h as mt, i as ct, j as pt, k as vt, u as Wt, l as qt } from "./app-
|
|
2
|
+
import { a as Fe, c as wt, S as Lt, g as dt, e as ut, f as jt, h as mt, i as ct, j as pt, k as vt, u as Wt, l as qt } from "./app-BYXLBTAp.js";
|
|
3
3
|
import { useDialog as Ke, useSnackbar as Ae, components as ze, useProxiedModel as ft, useDialogChild as Ht, useBreakpoints as Yt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Kt, _ as Gt, m as Jt } from "./menu-usage-module-BdjYEk3s.js";
|
|
5
5
|
import { F as W } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -7,27 +7,27 @@ import { useI18n as pe, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
|
7
7
|
import { defineStore as Qt, storeToRefs as Xt } from "pinia";
|
|
8
8
|
import { D as yt, R as Pe } from "./row-action.enum-ncgDYAjP.js";
|
|
9
9
|
import { c as Zt } from "./component-BmLAdDiY.js";
|
|
10
|
-
import { u as Ee, _ as en } from "./netsuite-
|
|
10
|
+
import { u as Ee, _ as en } from "./netsuite-Dfo9PwZB.js";
|
|
11
11
|
import { F as Be } from "./FmAdminBadge-DlplQOHb.js";
|
|
12
12
|
import { u as tn, _ as nn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
13
|
-
import { A as Oe, R as Le, U as on, M as ln } from "./rules-
|
|
14
|
-
import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Tt } from "./feature-
|
|
18
|
-
import { t as dn, a as un, g as mn } from "./number-
|
|
13
|
+
import { A as Oe, R as Le, U as on, M as ln } from "./rules-Bd7-xhpl.js";
|
|
14
|
+
import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DtFVQGcw.js";
|
|
15
|
+
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-jMOg3yzw.js";
|
|
16
|
+
import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-vGJpOsZy.js";
|
|
17
|
+
import { u as Tt } from "./feature-DDZ2q9CF.js";
|
|
18
|
+
import { t as dn, a as un, g as mn } from "./number-3lF6zpQn.js";
|
|
19
19
|
import { _ as xe } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
20
|
-
import { d as Re, g as cn, e as pn, a as vn } from "./import-export.helper-
|
|
20
|
+
import { d as Re, g as cn, e as pn, a as vn } from "./import-export.helper-Fu7QFnJS.js";
|
|
21
21
|
import { _ as fn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
22
22
|
import { _ as Ce } from "./FmLockableField.vue_vue_type_script_setup_true_lang-FCg4K7y8.js";
|
|
23
|
-
import { F as yn, a as He } from "./FmMultiselectDialog-
|
|
24
|
-
import { u as Vt } from "./purchase-order-template-
|
|
25
|
-
import { u as It, a as St } from "./closing-template-
|
|
23
|
+
import { F as yn, a as He } from "./FmMultiselectDialog-Cq_sKKG7.js";
|
|
24
|
+
import { u as Vt } from "./purchase-order-template-c0YljACm.js";
|
|
25
|
+
import { u as It, a as St } from "./closing-template-CESaKvtR.js";
|
|
26
26
|
import { _ as gn, F as gt } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
27
|
-
import { r as bn } from "./xlsx.util-
|
|
27
|
+
import { r as bn } from "./xlsx.util-B4YBSPGX.js";
|
|
28
28
|
import { F as hn } from "./FmDroppableField-J0tG_U3w.js";
|
|
29
|
-
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
30
|
-
import { u as xn } from "./FmMultiselectDialog-
|
|
29
|
+
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
|
|
30
|
+
import { u as xn } from "./FmMultiselectDialog-DehATOte.js";
|
|
31
31
|
import { P as kn, J as wn } from "./app-C39bYJmq.js";
|
|
32
32
|
const Ye = Qt("ingredientForm", function() {
|
|
33
33
|
const _ = Ke(), k = Ae(), u = Fe(), x = P(!1), { t: C } = pe(), A = P();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as f, computed as B, watch as Oe, onMounted as _e, resolveComponent as se, createElementBlock as a, openBlock as t, createElementVNode as e, createBlock as H, createCommentVNode as r, normalizeClass as j, createTextVNode as re, toDisplayString as o, createVNode as T, Fragment as M, renderList as X, unref as g, withCtx as te, withModifiers as de, withDirectives as Ve, withKeys as we, vModelText as Ue, h as q, watchEffect as Be } from "vue";
|
|
2
|
-
import { d as Se, N as be, C as xe, u as Ce } from "./app-
|
|
2
|
+
import { d as Se, N as be, C as xe, u as Ce } from "./app-BYXLBTAp.js";
|
|
3
3
|
import { components as oe, useBreakpoints as Pe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
5
|
-
import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as Ie, a as Te, S as ge } from "./netsuite-
|
|
5
|
+
import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
|
|
6
|
+
import { u as Ie, a as Te, S as ge } from "./netsuite-Dfo9PwZB.js";
|
|
7
7
|
import { P as he, J as ke, D as De } from "./app-C39bYJmq.js";
|
|
8
8
|
import { useCoreStore as Le } from "@feedmepos/mf-common";
|
|
9
9
|
import { _ as ye } from "./JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js";
|
|
10
|
-
import { c as ue } from "./date2-
|
|
10
|
+
import { c as ue } from "./date2-Bakt163M.js";
|
|
11
11
|
const ce = Se((W, P) => {
|
|
12
12
|
const n = Le();
|
|
13
13
|
function N() {
|