@feedmepos/mf-inventory-portal 1.8.0-dev.0 → 1.8.0-dev.10
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-BjFIh5km.js +1466 -0
- package/dist/{ApprovalView-BK6E_3Cw.js → ApprovalView-CauRuf64.js} +26 -25
- package/dist/{BindingsDialog-BAVPQ_Eq.js → BindingsDialog-U-tzIfGX.js} +2 -2
- package/dist/{BindingsPicker-bAuDX7Af.js → BindingsPicker-CV_oghtz.js} +2 -2
- package/dist/{BindingsTable-LGlvV0lt.js → BindingsTable-TKSQxAxV.js} +4 -4
- package/dist/{BulkReceiveRequestView-CQf7FYos.js → BulkReceiveRequestView-Cyeq26qc.js} +21 -21
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BpJhboKU.js +151 -0
- package/dist/{ClosingDraftView-DH7iYiE9.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
- package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
- package/dist/{ClosingTemplateView-D532GNTn.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
- package/dist/{DefaultView-DqqXJVba.js → DefaultView-DQKHG5Jl.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DkHNDEKP.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js → EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js} +6228 -6216
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js +47 -0
- package/dist/FeatureCapabilityGate-DOn2IVJb.js +74 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDNqm_9N.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZxz5hbo.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js +120 -0
- package/dist/FmMultiselectDialog-Bx9cLdYs.js +123 -0
- package/dist/{FmMultiselectDialog-eH3nO3P3.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BCIkEl75.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D6f1M96D.js} +72 -73
- package/dist/ImportView-1-cjN7ay.js +1290 -0
- package/dist/{IngredientsView-DtDtzaMt.js → IngredientsView-JfKlUU2E.js} +656 -649
- package/dist/{IntegrationExplorerView-C4lYc_LH.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
- package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
- package/dist/{IntegrationView-Bx5VdV5l.js → IntegrationView-B9g888K4.js} +2956 -2922
- package/dist/{InventoryBindingForm-DKa1DwYs.js → InventoryBindingForm-DfGOKZWg.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js +472 -0
- package/dist/{InventoryBindingSummary-CNqwcsrX.js → InventoryBindingSummary-CSii8B2X.js} +1 -1
- package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_Xk4SOH.js +79 -0
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js +274 -0
- package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-Bdjm0Y4w.js +79 -0
- package/dist/ProductionRunDetailView-HgH2Wp99.js +2312 -0
- package/dist/{production-run-prepare-sheet-aQOcxgaC.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +11039 -3661
- package/dist/ProductionRunView-BkvQHeCP.js +931 -0
- package/dist/{PublishView-D0oSoJ5a.js → PublishView-CIei_T5e.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CE-l4mvB.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
- package/dist/{ReceiveRequestView-B2z8Ji0e.js → ReceiveRequestView-MqOIpIDB.js} +15 -15
- package/dist/RecipeView-WzXJX4JU.js +3440 -0
- package/dist/SettingsView-1YlgjyzB.js +1032 -0
- package/dist/StockView-C-dIRXPv.js +2651 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
- package/dist/{SupplierView-qqhUQ-SY.js → SupplierView-53rHhQ63.js} +577 -571
- package/dist/{SurchargeView-B0TYUfqY.js → SurchargeView-DuJb5EUn.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxc-jNte.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js → TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js} +1722 -1672
- package/dist/TransferTemplateView-B6OGfKQr.js +2343 -0
- package/dist/{UnitCostHistoryView-xdRSkjD7.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
- package/dist/{UnitView-p-V_TMMo.js → UnitView-AuIJokVF.js} +84 -84
- package/dist/{WarehouseView-BOGYcUHH.js → WarehouseView-Cjv8S1ov.js} +194 -189
- package/dist/{WastageTemplateView-CiifZMq6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
- package/dist/api/bill.d.ts +144 -88
- package/dist/api/feature-flags.d.ts +12 -0
- package/dist/api/food-market-hub.d.ts +2 -2
- package/dist/api/integration-sync-log.d.ts +0 -13
- package/dist/api/inventory.d.ts +9 -9
- package/dist/api/license.d.ts +8 -0
- package/dist/{app-CGcDbrt8.js → app-OztWApio.js} +27841 -28064
- package/dist/app.d.ts +36 -150
- package/dist/app.js +1 -1
- package/dist/{closing-template-B4lQetjU.js → closing-template-DIxXDgZQ.js} +1 -1
- package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
- package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
- package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -1
- package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
- package/dist/components/{PreviewBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
- package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
- package/dist/composable/useNavigationMenu.d.ts +2 -1
- package/dist/{date2-CHOcS7LX.js → date2-BTzYzk-x.js} +1 -1
- package/dist/{dayjs.min-DrqpmBJQ.js → dayjs.min-BIg6CfC4.js} +1 -1
- package/dist/{decimal-BJ-B2ZXz.js → decimal-B34w3X7O.js} +2 -2
- package/dist/{defineDeepModel-DLlTW3xL.js → defineDeepModel-CrZAv12u.js} +1 -1
- package/dist/{duplicate-template-Dyz7iXqd.js → duplicate-template-BKVPhi40.js} +1 -1
- package/dist/{inventory-core-dart.default-DGI40oFz.js → feature-BUVZ_ab3.js} +766 -398
- package/dist/feature-flags/core.d.ts +28 -0
- package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
- package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
- package/dist/feature-flags/plan-tier.d.ts +6 -0
- package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
- package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
- package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +16 -0
- package/dist/feature-flags/vue.spec.d.ts +1 -0
- package/dist/{format-time-from-id-DBFdt14U.js → format-time-from-id-DGLxhRFH.js} +1 -1
- package/dist/{format-unit-display-BXCWhtXb.js → format-unit-display-BhudItCc.js} +118 -119
- package/dist/helper/menu-usage-module.d.ts +1 -1
- package/dist/helper/number.d.ts +5 -1
- package/dist/helper/rules.d.ts +1 -1
- package/dist/id-to-date-BfwadWDS.js +67 -0
- package/dist/{import-export.helper-BgaADwYQ.js → import-export.helper-BdQ_d-fT.js} +16 -17
- package/dist/{index-BT-a2SOP.js → index-BTNI4XZ2.js} +1 -1
- package/dist/{index-BS5wlvV_.js → index-B_hoeQNL.js} +3 -3
- package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
- package/dist/{index-CqgYx0tx.js → index-CCvxPS3E.js} +1 -1
- package/dist/index-eGvSlWMU.js +1892 -0
- package/dist/{lz-string-CRDgHWib.js → lz-string-CVEGZpSC.js} +1 -1
- package/dist/{netsuite-CaILEA4R.js → netsuite-DEhdSyBn.js} +9 -3
- package/dist/{predefined-templates-CTLn4dgR.js → predefined-templates-BTdQl7jj.js} +1 -1
- package/dist/{purchase-order-template-CE4_gQyK.js → purchase-order-template-DfMmpsrJ.js} +1 -1
- package/dist/{recalculationUtils-DoBJhZjA.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
- package/dist/router/name.d.ts +2 -3
- package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
- package/dist/rules-D01xYhgI.js +238 -0
- package/dist/{stock-WxsPiRKa.js → stock-D3kBNq3e.js} +1 -1
- package/dist/stock-DyTC4Teu.js +74 -0
- package/dist/stores/feature.d.ts +20 -2
- package/dist/stores/integration/codemax.d.ts +2 -2
- package/dist/stores/integration/foodmarkethub.d.ts +2 -2
- package/dist/stores/integration/netsuite.d.ts +2 -2
- package/dist/stores/inventory.d.ts +0 -47
- package/dist/stores/inventory.no-location.spec.d.ts +1 -0
- package/dist/stores/location.d.ts +42 -42
- package/dist/stores/supplier.d.ts +49 -49
- package/dist/stores/warehouse.d.ts +3 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-DbdPWPj7.js → supplier-DaidezrO.js} +2 -2
- package/dist/{surcharge-BsvY29nN.js → surcharge-C-PFvvlU.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-dxyRNetA.js → uom-rules-Un5bhcrm.js} +1 -1
- package/dist/{use-ingredient-select-dialog-eYM-6q4s.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
- package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
- package/dist/{use-template-enabled-locations-C0o5r4_0.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
- package/dist/{use-transfer-locations-CC35SlyA.js → use-transfer-locations-DgtKajec.js} +2 -2
- package/dist/{useHrmPermission-DxzYJX4n.js → useHrmPermission-BMpZlah6.js} +1 -1
- package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
- package/dist/{useSseClient-ml-_A-4u.js → useSseClient-CHZZxy7Z.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
- package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
- package/dist/{components/PremiumBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +4 -4
- package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +4 -4
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +4 -4
- package/dist/views/integration/components/CodemaxDialog.vue.d.ts +4 -4
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
- package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
- package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
- package/dist/views/integration/helper/opening-balance.d.ts +22 -0
- package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/ProductionRunDetailTabs.spec.d.ts +1 -0
- package/dist/views/production-run/features/detail/{ProductionRunTabs.vue.d.ts → ProductionRunDetailTabs.vue.d.ts} +4 -8
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +2 -2
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +2 -2
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +2 -2
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +11 -11
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +2 -2
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +2 -2
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +3 -3
- package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -9
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -2
- package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +10 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
- package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
- package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
- package/dist/views/receive-request/import/export.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +42 -42
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
- package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
- package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
- package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
- package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
- package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
- package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +72 -44
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
- package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +6 -4
- package/dist/{vue-i18n-DYapak10.js → vue-i18n-mXrQUZTi.js} +235 -235
- package/dist/{xlsx.util-DrElrKDx.js → xlsx.util-CKx0NYTq.js} +2 -2
- package/package.json +72 -67
- package/dist/App-CBS1Tqpl.js +0 -1476
- package/dist/ClosingHistoryView-3z17ZJzK.js +0 -761
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js +0 -243
- package/dist/FmMultiselectDialog-7xh6h5AX.js +0 -77
- package/dist/ImportView-C3Fc0e_X.js +0 -1302
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js +0 -51
- package/dist/IngredientGroupView-DA1buE1C.js +0 -985
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js +0 -563
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbg0j7Jz.js +0 -72
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js +0 -93
- package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
- package/dist/ProductionRunDetailView-DYeSPsIY.js +0 -2284
- package/dist/ProductionRunPreparePrintView-DJOejqOC.js +0 -34
- package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-JKMI-vVw.js +0 -7543
- package/dist/ProductionRunView-Cg3aYOg9.js +0 -911
- package/dist/RecipeView-DC0p9RKL.js +0 -3625
- package/dist/SettingsView-DaKfCVY5.js +0 -698
- package/dist/StockView-DdweBRFv.js +0 -2612
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
- package/dist/TransferTemplateView-CSXcAB3-.js +0 -2327
- package/dist/feature-DtpSrELx.js +0 -1136
- package/dist/number-DE6ovaTs.js +0 -138
- package/dist/random-CSbEbElR.js +0 -10
- package/dist/rules-CkaU7yFU.js +0 -98
- package/dist/stock-B3Q9e174.js +0 -75
- package/dist/use-inventory-binding-dialog-CCV1iieA.js +0 -152
- package/dist/useNavigationMenu-IKam6CEf.js +0 -172
- package/dist/usePromise-CbVUCxhj.js +0 -29
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
- /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
- /package/dist/{views/production-run/ProductionRunPreparePrintView.spec.d.ts → components/FeatureCapabilityGate.spec.d.ts} +0 -0
- /package/dist/{views/production-run/features/detail/ProductionRunTabs.spec.d.ts → components/NumberPrecisionInput.spec.d.ts} +0 -0
- /package/dist/{views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts → feature-flags/core.spec.d.ts} +0 -0
- /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -0
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { defineComponent as ue, mergeModels as W, useModel as re, computed as v, ref as
|
|
2
|
-
import { l as he } from "./netsuite-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { I as U, a as Ae } from "./rules-CkaU7yFU.js";
|
|
1
|
+
import { defineComponent as ue, mergeModels as W, useModel as re, computed as v, ref as R, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as u, createVNode as M, createCommentVNode as A, withCtx as _, renderSlot as Q, withDirectives as de, normalizeClass as q, toDisplayString as h, vModelText as pe, createBlock as D, Fragment as fe, renderList as ve, createSlots as be, createTextVNode as ye } from "vue";
|
|
2
|
+
import { l as he } from "./netsuite-DEhdSyBn.js";
|
|
3
|
+
import { s as U } from "./app-OztWApio.js";
|
|
4
|
+
import { I as B, g as O, a as b, c as xe, h as G, q as Me, b as ge, u as _e, t as Fe } from "./rules-D01xYhgI.js";
|
|
6
5
|
import "@feedmepos/ui-library";
|
|
7
|
-
import { P as
|
|
8
|
-
import { u as
|
|
6
|
+
import { P as Ae } from "./feature-BUVZ_ab3.js";
|
|
7
|
+
import { u as Ue, a as Be } from "./uom-rules-Un5bhcrm.js";
|
|
9
8
|
function Z() {
|
|
10
9
|
return {
|
|
11
|
-
amount:
|
|
10
|
+
amount: U.reset()
|
|
12
11
|
};
|
|
13
12
|
}
|
|
14
13
|
function K() {
|
|
15
14
|
return function(p) {
|
|
16
|
-
return
|
|
15
|
+
return B()(p.amountAsString);
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
|
-
function
|
|
18
|
+
function Ye(r) {
|
|
20
19
|
return function(t) {
|
|
21
|
-
return
|
|
20
|
+
return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
|
|
22
21
|
};
|
|
23
22
|
}
|
|
24
|
-
function
|
|
23
|
+
function et(r) {
|
|
25
24
|
return function(t) {
|
|
26
|
-
return
|
|
25
|
+
return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
function J(r, p = !1) {
|
|
@@ -31,49 +30,49 @@ function J(r, p = !1) {
|
|
|
31
30
|
const s = K()(c);
|
|
32
31
|
if (s != !0)
|
|
33
32
|
return p ? s : !0;
|
|
34
|
-
const
|
|
35
|
-
return
|
|
33
|
+
const I = typeof r == "number" ? r : O(r, c.modelValue.measurement);
|
|
34
|
+
return U.fromNumber(+c.amountAsString).precision > I ? `Cannot exceed precision more than ${b({
|
|
36
35
|
amount: 1,
|
|
37
|
-
precision:
|
|
36
|
+
precision: I
|
|
38
37
|
})}` : !0;
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
|
-
function
|
|
42
|
-
const p =
|
|
40
|
+
function tt(r) {
|
|
41
|
+
const p = xe(r);
|
|
43
42
|
return function(c) {
|
|
44
43
|
return p(c.modelValue.amount);
|
|
45
44
|
};
|
|
46
45
|
}
|
|
47
|
-
function
|
|
46
|
+
function nt(r) {
|
|
48
47
|
return function(t) {
|
|
49
|
-
if (
|
|
48
|
+
if (B()(t.amountAsString) !== !0)
|
|
50
49
|
return !0;
|
|
51
|
-
const s =
|
|
50
|
+
const s = Ae.validateQuantityAgainstTemplateItem({
|
|
52
51
|
quantity: t.modelValue.amount,
|
|
53
52
|
templateItem: r
|
|
54
53
|
});
|
|
55
54
|
return s.length === 0 ? !0 : s[0];
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
|
-
const
|
|
57
|
+
const Ie = { class: "flex flex-col" }, Pe = { class: "flex flex-col" }, ke = { class: "flex-1" }, Re = { class: "flex items-center gap-4" }, De = { class: "flex-1 flex gap-4" }, Ce = { class: "shrink-0 grow basis-2/5" }, Ne = {
|
|
59
58
|
key: 0,
|
|
60
59
|
class: "text-fm-color-typo-secondary"
|
|
61
|
-
},
|
|
60
|
+
}, Se = {
|
|
62
61
|
key: 0,
|
|
63
62
|
class: "flex"
|
|
64
|
-
},
|
|
63
|
+
}, we = { class: "line-clamp-1 text-ellipsis break-all" }, Ve = { class: "flex items-center gap-4" }, Te = { class: "flex items-center" }, $e = { class: "line-clamp-1 text-ellipsis break-all" }, Le = { class: "max-w-[200px] flex flex-col gap-[1px]" }, qe = { class: "flex flex-col" }, Oe = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, je = {
|
|
65
64
|
key: 1,
|
|
66
65
|
class: "flex flex-col gap-4 pl-8 shrink-0"
|
|
67
|
-
},
|
|
66
|
+
}, ze = {
|
|
68
67
|
class: "flex items-center",
|
|
69
68
|
style: { "pointer-events": "none" }
|
|
70
|
-
},
|
|
69
|
+
}, Ee = {
|
|
71
70
|
class: "flex items-center",
|
|
72
71
|
style: { "pointer-events": "none" }
|
|
73
|
-
},
|
|
72
|
+
}, We = {
|
|
74
73
|
key: 0,
|
|
75
74
|
class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mt-1"
|
|
76
|
-
},
|
|
75
|
+
}, ot = /* @__PURE__ */ ue({
|
|
77
76
|
__name: "FmUnitInput",
|
|
78
77
|
props: /* @__PURE__ */ W({
|
|
79
78
|
modelValue: {},
|
|
@@ -125,12 +124,12 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
125
124
|
}),
|
|
126
125
|
emits: /* @__PURE__ */ W(["update:amount", "update:measurement"], ["update:modelValue"]),
|
|
127
126
|
setup(r, { emit: p }) {
|
|
128
|
-
const t = r, c = p, s = re(r, "modelValue"),
|
|
127
|
+
const t = r, c = p, s = re(r, "modelValue"), I = B(), C = v(() => {
|
|
129
128
|
var n;
|
|
130
129
|
return O(t.unit, (n = s.value) == null ? void 0 : n.measurement);
|
|
131
|
-
}), f =
|
|
130
|
+
}), f = R((() => {
|
|
132
131
|
var i;
|
|
133
|
-
const e = ((i = s.value) == null ? void 0 : i.amount) ??
|
|
132
|
+
const e = ((i = s.value) == null ? void 0 : i.amount) ?? U.reset(), n = ge(e), a = t.formatMinimumPrecision ?? n.precision, l = _e(n, a);
|
|
134
133
|
return b(l);
|
|
135
134
|
})());
|
|
136
135
|
let F = null;
|
|
@@ -138,7 +137,7 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
138
137
|
const n = () => {
|
|
139
138
|
var o;
|
|
140
139
|
const a = t.precision ?? C.value, i = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > a ? t.formatMinimumPrecision : a;
|
|
141
|
-
if (
|
|
140
|
+
if (I(e) == !0) {
|
|
142
141
|
const g = Fe(+e, i);
|
|
143
142
|
((o = s.value) == null ? void 0 : o.amount) !== g && (s.value = {
|
|
144
143
|
...s.value,
|
|
@@ -152,9 +151,9 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
152
151
|
}), me(() => {
|
|
153
152
|
F && clearTimeout(F);
|
|
154
153
|
});
|
|
155
|
-
const Y = Symbol.for("fm:form-state"),
|
|
154
|
+
const Y = Symbol.for("fm:form-state"), N = ce(Y, null), P = v(() => t.disabled ?? (N == null ? void 0 : N.getDisabled()) ?? !1), ee = R(), S = R(!1), j = R(!1), te = v(() => S.value || j.value), ne = Ue(), oe = v(() => {
|
|
156
155
|
var i;
|
|
157
|
-
const e = ne.value, n = t.unit.measurements.filter((o) => !
|
|
156
|
+
const e = ne.value, n = t.unit.measurements.filter((o) => !Be(o, e)).filter((o) => o.abbrev !== t.unit.abbrev || +b(o.conversion) != 1), a = he.groupBy(
|
|
158
157
|
n,
|
|
159
158
|
(o) => `${o.abbrev}${b(o.conversion)}`
|
|
160
159
|
), l = Object.values(a).map((o) => o[0]);
|
|
@@ -172,7 +171,7 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
172
171
|
conversionLabel: `1 ${o.abbrev} = ${b(o.conversion)} ${t.unit.abbrev}`
|
|
173
172
|
}))
|
|
174
173
|
];
|
|
175
|
-
}),
|
|
174
|
+
}), w = v({
|
|
176
175
|
get() {
|
|
177
176
|
var e, n;
|
|
178
177
|
return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.id) ?? null;
|
|
@@ -192,11 +191,11 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
192
191
|
}
|
|
193
192
|
}
|
|
194
193
|
});
|
|
195
|
-
H(
|
|
194
|
+
H(w, (e, n) => {
|
|
196
195
|
var m;
|
|
197
196
|
if (!t.convertAmountOnChangeUnit)
|
|
198
197
|
return;
|
|
199
|
-
const a = ((m = s.value) == null ? void 0 : m.amount) ??
|
|
198
|
+
const a = ((m = s.value) == null ? void 0 : m.amount) ?? U.reset(), l = t.unit.measurements.find((k) => k.id === n) ?? null, i = t.unit.measurements.find((k) => k.id === e) ?? null, o = l ? G(a, l.conversion) : a, g = i ? Me(o, i.conversion) : o, $ = O(t.unit, i), L = U.convertPrecision({
|
|
200
199
|
value: g,
|
|
201
200
|
precision: $
|
|
202
201
|
});
|
|
@@ -246,9 +245,9 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
246
245
|
}
|
|
247
246
|
return (e, n) => {
|
|
248
247
|
const a = x("FmLabel"), l = x("FmIcon"), i = x("FmMenuItem"), o = x("FmMenu"), g = x("FmTooltip"), $ = x("FmField"), L = x("FmFormGroup");
|
|
249
|
-
return d(), y("div",
|
|
250
|
-
u("div",
|
|
251
|
-
u("div",
|
|
248
|
+
return d(), y("div", Ie, [
|
|
249
|
+
u("div", Pe, [
|
|
250
|
+
u("div", ke, [
|
|
252
251
|
M(a, {
|
|
253
252
|
label: e.label,
|
|
254
253
|
disabled: e.disabled,
|
|
@@ -258,35 +257,35 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
258
257
|
]),
|
|
259
258
|
M($, { focused: te.value }, {
|
|
260
259
|
default: _(() => [
|
|
261
|
-
u("div",
|
|
260
|
+
u("div", Re, [
|
|
262
261
|
Q(e.$slots, "prepend"),
|
|
263
|
-
u("div",
|
|
264
|
-
u("div",
|
|
262
|
+
u("div", De, [
|
|
263
|
+
u("div", Ce, [
|
|
265
264
|
e.stepperOnly ? (d(), y("span", {
|
|
266
265
|
key: 0,
|
|
267
266
|
class: q({
|
|
268
267
|
"fm-text-field--input fm-typo-en-body-lg-400": !0,
|
|
269
|
-
"text-fm-color-typo-primary": !
|
|
270
|
-
"text-fm-color-typo-disabled":
|
|
268
|
+
"text-fm-color-typo-primary": !P.value,
|
|
269
|
+
"text-fm-color-typo-disabled": P.value
|
|
271
270
|
})
|
|
272
271
|
}, h(f.value), 3)) : de((d(), y("input", {
|
|
273
272
|
key: 1,
|
|
274
273
|
type: "text",
|
|
275
274
|
ref_key: "inputRef",
|
|
276
275
|
ref: ee,
|
|
277
|
-
onFocus: n[0] || (n[0] = () =>
|
|
278
|
-
onBlur: n[1] || (n[1] = () =>
|
|
276
|
+
onFocus: n[0] || (n[0] = () => S.value = !0),
|
|
277
|
+
onBlur: n[1] || (n[1] = () => S.value = !1),
|
|
279
278
|
"onUpdate:modelValue": n[2] || (n[2] = (m) => f.value = m),
|
|
280
279
|
class: q({
|
|
281
280
|
"fm-text-field--input fm-typo-en-body-lg-400": !0,
|
|
282
|
-
"text-fm-color-typo-primary": !
|
|
283
|
-
"text-fm-color-typo-disabled":
|
|
281
|
+
"text-fm-color-typo-primary": !P.value,
|
|
282
|
+
"text-fm-color-typo-disabled": P.value
|
|
284
283
|
})
|
|
285
284
|
}, null, 34)), [
|
|
286
285
|
[pe, f.value]
|
|
287
286
|
])
|
|
288
287
|
]),
|
|
289
|
-
e.separator ? (d(), y("div",
|
|
288
|
+
e.separator ? (d(), y("div", Ne, h(e.separator), 1)) : A("", !0),
|
|
290
289
|
u("div", {
|
|
291
290
|
class: q([e.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"])
|
|
292
291
|
}, [
|
|
@@ -295,13 +294,13 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
295
294
|
ye(h(T.value), 1)
|
|
296
295
|
]),
|
|
297
296
|
default: _(() => [
|
|
298
|
-
e.disableUnit ? (d(), y("div",
|
|
299
|
-
V.value ? A("", !0) : (d(),
|
|
297
|
+
e.disableUnit ? (d(), y("div", Se, [
|
|
298
|
+
V.value ? A("", !0) : (d(), D(l, {
|
|
300
299
|
key: 0,
|
|
301
300
|
name: "square_foot"
|
|
302
301
|
})),
|
|
303
|
-
u("div",
|
|
304
|
-
])) : (d(),
|
|
302
|
+
u("div", we, h(T.value), 1)
|
|
303
|
+
])) : (d(), D(o, {
|
|
305
304
|
key: 1,
|
|
306
305
|
onMenuChanged: n[3] || (n[3] = (m) => j.value = m),
|
|
307
306
|
"z-index": 500,
|
|
@@ -309,32 +308,32 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
309
308
|
disabled: e.disabled
|
|
310
309
|
}, {
|
|
311
310
|
"menu-button": _(() => [
|
|
312
|
-
u("div",
|
|
313
|
-
u("div",
|
|
314
|
-
V.value ? A("", !0) : (d(),
|
|
311
|
+
u("div", Ve, [
|
|
312
|
+
u("div", Te, [
|
|
313
|
+
V.value ? A("", !0) : (d(), D(l, {
|
|
315
314
|
key: 0,
|
|
316
315
|
name: "square_foot"
|
|
317
316
|
})),
|
|
318
|
-
u("div",
|
|
317
|
+
u("div", $e, h(T.value), 1)
|
|
319
318
|
]),
|
|
320
319
|
M(l, { name: "keyboard_arrow_down" })
|
|
321
320
|
])
|
|
322
321
|
]),
|
|
323
322
|
default: _(() => [
|
|
324
|
-
u("div",
|
|
325
|
-
(d(!0), y(fe, null, ve(oe.value, (m) => (d(),
|
|
323
|
+
u("div", Le, [
|
|
324
|
+
(d(!0), y(fe, null, ve(oe.value, (m) => (d(), D(i, {
|
|
326
325
|
key: m.value ?? void 0,
|
|
327
326
|
label: m.label,
|
|
328
327
|
icon: m.isBaseUnit ? void 0 : "square_foot",
|
|
329
|
-
"model-value": m.value ==
|
|
330
|
-
onClick: (
|
|
328
|
+
"model-value": m.value == w.value,
|
|
329
|
+
onClick: (k) => w.value = m.value
|
|
331
330
|
}, be({ _: 2 }, [
|
|
332
331
|
m.conversionLabel ? {
|
|
333
332
|
name: "label",
|
|
334
333
|
fn: _(() => [
|
|
335
|
-
u("div",
|
|
334
|
+
u("div", qe, [
|
|
336
335
|
u("span", null, h(m.label), 1),
|
|
337
|
-
u("span",
|
|
336
|
+
u("span", Oe, h(m.conversionLabel), 1)
|
|
338
337
|
])
|
|
339
338
|
]),
|
|
340
339
|
key: "0"
|
|
@@ -348,12 +347,12 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
348
347
|
_: 1
|
|
349
348
|
})
|
|
350
349
|
], 2),
|
|
351
|
-
e.stepper ? (d(), y("div",
|
|
350
|
+
e.stepper ? (d(), y("div", je, [
|
|
352
351
|
u("div", {
|
|
353
352
|
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
353
|
onClick: ae
|
|
355
354
|
}, [
|
|
356
|
-
u("div",
|
|
355
|
+
u("div", ze, [
|
|
357
356
|
M(l, {
|
|
358
357
|
name: "expand_less",
|
|
359
358
|
size: "md"
|
|
@@ -364,7 +363,7 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
364
363
|
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
364
|
onClick: le
|
|
366
365
|
}, [
|
|
367
|
-
u("div",
|
|
366
|
+
u("div", Ee, [
|
|
368
367
|
M(l, {
|
|
369
368
|
name: "expand_more",
|
|
370
369
|
size: "md"
|
|
@@ -387,18 +386,18 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
|
|
|
387
386
|
"helper-text": e.helperText,
|
|
388
387
|
"helper-state": e.helperState
|
|
389
388
|
}, null, 8, ["model-value", "info", "rules", "helper-text", "helper-state"]),
|
|
390
|
-
z.value ? (d(), y("div",
|
|
389
|
+
z.value ? (d(), y("div", We, h(z.value), 1)) : A("", !0)
|
|
391
390
|
]);
|
|
392
391
|
};
|
|
393
392
|
}
|
|
394
393
|
});
|
|
395
394
|
export {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
395
|
+
tt as F,
|
|
396
|
+
ot as _,
|
|
397
|
+
Ye as a,
|
|
398
|
+
et as b,
|
|
400
399
|
K as c,
|
|
401
400
|
J as d,
|
|
402
401
|
Z as e,
|
|
403
|
-
|
|
402
|
+
nt as f
|
|
404
403
|
};
|