@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,8 +1,8 @@
|
|
|
1
|
-
import { y as s_, a1 as vi, D as i, ae as u_, af as o_, ag as a_, ah as c_, ai as Ti, aj as d_, C as at, ak as bi, a0 as Ys, al as ru, am as nc, an as Oe, ao as Le, N as De,
|
|
1
|
+
import { y as s_, a1 as vi, D as i, ae as u_, af as o_, ag as a_, ah as c_, ai as Ti, aj as d_, C as at, ak as bi, a0 as Ys, al as ru, am as nc, an as Oe, ao as Le, N as De, s as oe, ap as Er, B as Bt, aq as Js, Z as Ye, e as zn, ar as ic, as as l_, at as f_, au as m_, a3 as su, a9 as p_, d as g_, j as h_, t as Wa, a as __, u as Ei } from "./app-OztWApio.js";
|
|
2
2
|
import { useCoreStore as Cn } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as I_ } from "@feedmepos/ui-library";
|
|
4
4
|
import { defineComponent as y_, ref as Zs, computed as An, resolveComponent as Kn, createBlock as zs, openBlock as _t, withCtx as ut, createElementVNode as ge, createElementBlock as Qt, createVNode as At, createTextVNode as ot, toDisplayString as Ue, Fragment as vr, createCommentVNode as Dn, renderList as v_, unref as qa, h as E_ } from "vue";
|
|
5
|
-
import { u as b_ } from "./feature-
|
|
5
|
+
import { u as b_ } from "./feature-BUVZ_ab3.js";
|
|
6
6
|
var br = { exports: {} };
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
@@ -4344,7 +4344,13 @@ var k_ = i.object({
|
|
|
4344
4344
|
/** FM business ID — pino log context only. */
|
|
4345
4345
|
businessId: i.string().nullish(),
|
|
4346
4346
|
/** Sync version override from portal bulk-sync dialog. Missing = follow feature flag. */
|
|
4347
|
-
version: at.optional()
|
|
4347
|
+
version: at.optional(),
|
|
4348
|
+
/** Which entry point queued an FM-originated sync: portal, cron or pubsub. */
|
|
4349
|
+
origin: i.enum([
|
|
4350
|
+
"cron",
|
|
4351
|
+
"portal",
|
|
4352
|
+
"pubsub"
|
|
4353
|
+
]).optional()
|
|
4348
4354
|
}).passthrough();
|
|
4349
4355
|
i.object({
|
|
4350
4356
|
event: i.string(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as qn, j as Wn, y as zn } from "./app-
|
|
1
|
+
import { d as qn, j as Wn, y as zn } from "./app-OztWApio.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
package/dist/router/name.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { IntegrationPlatformRouteName } from '@feedmepos/integration-portal';
|
|
1
2
|
export declare enum RouteName {
|
|
2
3
|
LOADING = "DEFAULT",
|
|
3
4
|
INGREDIENTS = "INGREDIENTS",
|
|
4
|
-
INGREDIENT_GROUP = "INGREDIENT_GROUP",
|
|
5
5
|
RECIPE = "RECIPE",
|
|
6
6
|
UNIT = "UNIT",
|
|
7
7
|
STOCK = "STOCK",
|
|
8
8
|
PRODUCTION_RUN = "PRODUCTION_RUN",
|
|
9
|
-
PRODUCTION_RUN_PREPARE_SHEET = "PRODUCTION_RUN_PREPARE_SHEET",
|
|
10
9
|
PRODUCTION_RUN_DETAIL = "PRODUCTION_RUN_DETAIL",
|
|
11
10
|
UNIT_COST_HISTORY = "UNIT_COST_HISTORY",
|
|
12
11
|
CLOSING_TEMPLATE = "CLOSING_TEMPLATE",
|
|
@@ -32,4 +31,4 @@ export declare enum RouteName {
|
|
|
32
31
|
IFRAME_INVENTORY_BINDINGS_DIALOG = "IFRAME_INVENTORY_BINDINGS_DIALOG",
|
|
33
32
|
IFRAME_INVENTORY_BINDINGS_PICKER = "IFRAME_INVENTORY_BINDINGS_PICKER"
|
|
34
33
|
}
|
|
35
|
-
export declare function getReadableRouteName(route: RouteName, t: Translator): string | undefined;
|
|
34
|
+
export declare function getReadableRouteName(route: RouteName | IntegrationPlatformRouteName, t: Translator): string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { components as o } from "@feedmepos/ui-library";
|
|
2
1
|
import { h as r } from "vue";
|
|
2
|
+
import { _ as o } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js";
|
|
3
3
|
var e = /* @__PURE__ */ ((t) => (t.Add = "Add", t.Create = "Create", t.Print = "Print", t.PrintCustom = "PrintCustom", t.PrintPdf = "PrintPdf", t.Export = "Export", t.Update = "Update", t.Details = "Details", t.Edit = "Edit", t.Delete = "Delete", t.Publish = "Publish", t.Duplicate = "Duplicate", t.Email = "Email", t))(e || {});
|
|
4
4
|
const i = {
|
|
5
5
|
Add: {
|
|
@@ -36,7 +36,7 @@ const i = {
|
|
|
36
36
|
translationKey: "inventory.common.print",
|
|
37
37
|
color: "text-fm-color-typo-primary",
|
|
38
38
|
value: "PrintCustom",
|
|
39
|
-
badgeWidget: () => r(o
|
|
39
|
+
badgeWidget: () => r(o, { tier: "standard", category: "beta" })
|
|
40
40
|
},
|
|
41
41
|
PrintPdf: {
|
|
42
42
|
translationKey: "inventory.common.print",
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { s as u } from "./app-OztWApio.js";
|
|
2
|
+
import { c as l, d as h } from "./date2-BTzYzk-x.js";
|
|
3
|
+
import { F as $ } from "./decimal-B34w3X7O.js";
|
|
4
|
+
function F(t, n) {
|
|
5
|
+
return u.convertPrecision({
|
|
6
|
+
value: t,
|
|
7
|
+
precision: n
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function T(t, n) {
|
|
11
|
+
return u.subtract([t, n]);
|
|
12
|
+
}
|
|
13
|
+
function O(t, n) {
|
|
14
|
+
return u.add([t, n]);
|
|
15
|
+
}
|
|
16
|
+
function L(t, n) {
|
|
17
|
+
return u.multiply([t, n]);
|
|
18
|
+
}
|
|
19
|
+
function S(t, n) {
|
|
20
|
+
return u.multiply([t, n]);
|
|
21
|
+
}
|
|
22
|
+
function R(t, n) {
|
|
23
|
+
return u.divideSignificant([t, n]);
|
|
24
|
+
}
|
|
25
|
+
function P(t) {
|
|
26
|
+
const n = t == null ? "" : String(t).trim();
|
|
27
|
+
if (n === "" || n === "undefined") return "is empty";
|
|
28
|
+
const r = Number(n);
|
|
29
|
+
if (!isFinite(r)) return "is not a number";
|
|
30
|
+
if (u.validateNumber(r) !== null)
|
|
31
|
+
return "has too many digits";
|
|
32
|
+
const o = (e) => {
|
|
33
|
+
var p;
|
|
34
|
+
const i = /^([+-]?)(\d*\.?\d+)(?:e([+-]?\d+))?$/i.exec(e);
|
|
35
|
+
if (!i) return null;
|
|
36
|
+
const [, a, d, M = "0"] = i, N = ((p = d.split(".")[1]) == null ? void 0 : p.length) ?? 0, f = d.replace(".", "").replace(/^0+/, "");
|
|
37
|
+
if (!f) return "0";
|
|
38
|
+
const b = f.replace(/0+$/, "");
|
|
39
|
+
return `${a === "-" ? "-" : ""}${b}e${Number(M) - N + f.length - b.length}`;
|
|
40
|
+
};
|
|
41
|
+
return o(n.replace(/\.(?=e|$)/i, ".0")) !== o(String(r)) ? "has too many digits" : null;
|
|
42
|
+
}
|
|
43
|
+
function q(t, n) {
|
|
44
|
+
return t.precision >= n ? t : u.convertPrecision({ value: t, precision: n });
|
|
45
|
+
}
|
|
46
|
+
function g(t) {
|
|
47
|
+
if (t.amount === 0) return u.fromNumber(0);
|
|
48
|
+
const n = y(t.amount), r = t.precision - n;
|
|
49
|
+
return u.convertPrecision({ value: t, precision: Math.max(0, r) });
|
|
50
|
+
}
|
|
51
|
+
function c(t, n = !0) {
|
|
52
|
+
return n ? Number(t.amount / Math.pow(10, t.precision)).toFixed(t.precision) : Number(t.amount / Math.pow(10, t.precision)).toString();
|
|
53
|
+
}
|
|
54
|
+
function B(t, n) {
|
|
55
|
+
n = n ?? A(t);
|
|
56
|
+
const r = n, o = t.toFixed(r), e = o.includes(".") ? o.replace(/0+$/, "") : o;
|
|
57
|
+
return e.endsWith(".") ? e.slice(0, e.length - 1) : e;
|
|
58
|
+
}
|
|
59
|
+
function V(t, n = !1, r = 2) {
|
|
60
|
+
const o = Number(t.amount / Math.pow(10, t.precision)), e = o.toFixed(
|
|
61
|
+
Number.isInteger(o) ? 2 : Math.min(4, Math.max(2, r))
|
|
62
|
+
);
|
|
63
|
+
return n ? `${e} ${t.currency}` : t.currency === "MYR" ? `RM ${e}` : `${t.currency} ${e}`;
|
|
64
|
+
}
|
|
65
|
+
function C(t) {
|
|
66
|
+
return {
|
|
67
|
+
...t,
|
|
68
|
+
amount: Math.abs(t.amount)
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function A(t) {
|
|
72
|
+
if (!isFinite(t)) return 0;
|
|
73
|
+
let n = 1, r = 0;
|
|
74
|
+
for (; Math.round(t * n) / n !== t; )
|
|
75
|
+
n *= 10, r++;
|
|
76
|
+
return r;
|
|
77
|
+
}
|
|
78
|
+
function Y(t, n = 0, r = !1) {
|
|
79
|
+
let o = 0;
|
|
80
|
+
return Number.isNaN(Number(t)) || (r || Number(t) >= 0) && (o = Number(t)), {
|
|
81
|
+
amount: Number((o * 10 ** n).toFixed(0)),
|
|
82
|
+
precision: n
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function y(t) {
|
|
86
|
+
const n = `${t}`, r = n.replace(/0*$/g, "");
|
|
87
|
+
return n.length - r.length;
|
|
88
|
+
}
|
|
89
|
+
function j(t, n) {
|
|
90
|
+
if (!n)
|
|
91
|
+
return t.precision;
|
|
92
|
+
const r = y(n.conversion.amount);
|
|
93
|
+
return t.precision - n.conversion.precision + r;
|
|
94
|
+
}
|
|
95
|
+
const k = (t) => `${t}`.length && s()(t) === !0;
|
|
96
|
+
function U(t, n = {}) {
|
|
97
|
+
if (t == null)
|
|
98
|
+
throw new Error("Value cannot be null or undefined");
|
|
99
|
+
const { minPrecision: r = 2, maxPrecision: o = 2, locale: e = "en-US" } = n;
|
|
100
|
+
if (r > o)
|
|
101
|
+
throw new Error("minPrecision cannot be greater than maxPrecision");
|
|
102
|
+
let i = 0;
|
|
103
|
+
switch (typeof t) {
|
|
104
|
+
case "number": {
|
|
105
|
+
i = t;
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
case "string": {
|
|
109
|
+
i = Number(t);
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
case "object": {
|
|
113
|
+
if (t.amount === void 0 || t.precision === void 0)
|
|
114
|
+
throw new Error("Invalid AdjustmentAmount object");
|
|
115
|
+
i = $.toDouble(t);
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
default:
|
|
119
|
+
throw new Error("Invalid value type");
|
|
120
|
+
}
|
|
121
|
+
return i.toLocaleString(e, {
|
|
122
|
+
minimumFractionDigits: r,
|
|
123
|
+
maximumFractionDigits: o
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
function Z() {
|
|
127
|
+
return function(n) {
|
|
128
|
+
return !!n || "Required";
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function m(t) {
|
|
132
|
+
return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "amount") && Object.prototype.hasOwnProperty.call(t, "precision");
|
|
133
|
+
}
|
|
134
|
+
function H(t, n) {
|
|
135
|
+
const r = typeof t == "object" ? +c(t) : t;
|
|
136
|
+
function o(e) {
|
|
137
|
+
return Object.prototype.hasOwnProperty.call(e, "length");
|
|
138
|
+
}
|
|
139
|
+
return function(i) {
|
|
140
|
+
return m(i) && (i = +c(i)), Number.isFinite(+i) && (i = +i), o(i) ? i.length >= r ? !0 : typeof n == "function" ? n(i.length) : n ?? `Must be at least ${r}` : typeof i == "number" ? i >= r ? !0 : typeof n == "function" ? n(i) : n ?? `Must be at least ${r}` : `Cannot validate at least ${r}`;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function I(t) {
|
|
144
|
+
const n = typeof t == "object" ? +c(t) : t;
|
|
145
|
+
function r(o) {
|
|
146
|
+
return Object.prototype.hasOwnProperty.call(o, "length");
|
|
147
|
+
}
|
|
148
|
+
return function(e, i) {
|
|
149
|
+
return m(e) && (e = +c(e)), r(e) ? e.length > n ? !0 : typeof i == "function" ? i(e.length) : i ?? `Must be more than ${n}` : typeof e == "number" ? e > n ? !0 : typeof i == "function" ? i(e) : i ?? `Must be more than ${n}` : `Cannot validate more than ${n}`;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function W(t, n) {
|
|
153
|
+
return t instanceof Date && n instanceof Date ? function(o) {
|
|
154
|
+
const e = new Date(o);
|
|
155
|
+
return isNaN(e.getTime()) ? "Invalid date" : e.getTime() < t.getTime() ? `Date must be at least ${l(t)} ${h(t)}` : e.getTime() >= n.getTime() ? `Date must be less than ${l(n)} ${h(n)}` : !0;
|
|
156
|
+
} : typeof t == "number" && typeof n == "number" ? function(o) {
|
|
157
|
+
const e = +o;
|
|
158
|
+
return isNaN(e) ? "Invalid number" : e < t ? `Value must be at least ${t}` : e >= n ? `Value must be less than ${n}` : !0;
|
|
159
|
+
} : function() {
|
|
160
|
+
return "Progamming error: invalid range parameter.";
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
function s() {
|
|
164
|
+
return function(t) {
|
|
165
|
+
if (t = String(t), t.trim().length === 0) return !0;
|
|
166
|
+
const n = P(t);
|
|
167
|
+
return n !== null ? n === "has too many digits" ? "Number has too many digits" : "Must be a number" : !0;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function z(t, n) {
|
|
171
|
+
return typeof t == "number" ? function(o) {
|
|
172
|
+
const e = s()(o);
|
|
173
|
+
return typeof e == "string" ? e : u.fromNumber(+o).precision > t ? `Precision cannot be more than ${t} decimal point.` : !0;
|
|
174
|
+
} : function(o) {
|
|
175
|
+
const e = s()(o);
|
|
176
|
+
if (typeof e == "string")
|
|
177
|
+
return e;
|
|
178
|
+
const i = j(t, n);
|
|
179
|
+
return u.fromNumber(+o).precision > i ? `Precision cannot be more than ${i} decimal point.` : !0;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
function G(t, n) {
|
|
183
|
+
return function(o) {
|
|
184
|
+
const e = s()(o);
|
|
185
|
+
if (typeof e == "string")
|
|
186
|
+
return e;
|
|
187
|
+
const i = u.fromNumber(+o);
|
|
188
|
+
return i.precision > t ? typeof n == "function" ? n(i.precision) : n ?? `Precision cannot be more than ${t}` : !0;
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
function J(t, n, r) {
|
|
192
|
+
return function(e) {
|
|
193
|
+
if (e === n) return !0;
|
|
194
|
+
const i = t.find((a) => a.value === e);
|
|
195
|
+
return i ? r ? r(i) : `Already used in ${i.label}` : !0;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
function K(t) {
|
|
199
|
+
let n = typeof t == "number" ? u.fromNumber(t) : t;
|
|
200
|
+
n = g(n);
|
|
201
|
+
const r = c(n);
|
|
202
|
+
return function(e) {
|
|
203
|
+
if (!m(e)) {
|
|
204
|
+
if (e = +e, s()(e) !== !0) return !0;
|
|
205
|
+
e = u.fromNumber(e);
|
|
206
|
+
}
|
|
207
|
+
return e = g(e), e.amount % n.amount === 0 && e.precision <= n.precision ? !0 : `${c(e)} must be a multiple of ${r}`;
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
export {
|
|
211
|
+
H as A,
|
|
212
|
+
W as B,
|
|
213
|
+
s as I,
|
|
214
|
+
z as M,
|
|
215
|
+
Z as R,
|
|
216
|
+
J as U,
|
|
217
|
+
c as a,
|
|
218
|
+
g as b,
|
|
219
|
+
K as c,
|
|
220
|
+
V as d,
|
|
221
|
+
G as e,
|
|
222
|
+
I as f,
|
|
223
|
+
j as g,
|
|
224
|
+
S as h,
|
|
225
|
+
A as i,
|
|
226
|
+
C as j,
|
|
227
|
+
L as k,
|
|
228
|
+
O as l,
|
|
229
|
+
F as m,
|
|
230
|
+
B as n,
|
|
231
|
+
U as o,
|
|
232
|
+
T as p,
|
|
233
|
+
R as q,
|
|
234
|
+
k as r,
|
|
235
|
+
Y as t,
|
|
236
|
+
q as u,
|
|
237
|
+
P as v
|
|
238
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { u as i } from "./stock-D3kBNq3e.js";
|
|
2
|
+
import { a as s, s as p, Y as B } from "./app-OztWApio.js";
|
|
3
|
+
import { computed as k, ref as d } from "vue";
|
|
4
|
+
function v() {
|
|
5
|
+
return {
|
|
6
|
+
stockBalance: {
|
|
7
|
+
_id: "",
|
|
8
|
+
items: []
|
|
9
|
+
},
|
|
10
|
+
productBalance: []
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
const m = p.fromNumber(0), f = {
|
|
14
|
+
id: "",
|
|
15
|
+
balance: m,
|
|
16
|
+
closing: null,
|
|
17
|
+
costs: null
|
|
18
|
+
}, a = d(v()), h = () => {
|
|
19
|
+
const r = s(), u = k(() => {
|
|
20
|
+
var n;
|
|
21
|
+
const c = (n = a.value.stockBalance.skus) == null ? void 0 : n.groupBy((t) => t.id), o = (t) => {
|
|
22
|
+
var e;
|
|
23
|
+
return ((e = c == null ? void 0 : c.get(t)) == null ? void 0 : e[0]) ?? { ...f, id: t };
|
|
24
|
+
};
|
|
25
|
+
return r.skus.map((t) => o(t._id));
|
|
26
|
+
}), l = i();
|
|
27
|
+
return {
|
|
28
|
+
// state
|
|
29
|
+
get stockBalance() {
|
|
30
|
+
return {
|
|
31
|
+
...a.value.stockBalance,
|
|
32
|
+
skus: u.value
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
set stockBalance(c) {
|
|
36
|
+
a.value.stockBalance = c;
|
|
37
|
+
},
|
|
38
|
+
get productBalance() {
|
|
39
|
+
return a.value.productBalance;
|
|
40
|
+
},
|
|
41
|
+
set productBalance(c) {
|
|
42
|
+
a.value.productBalance = c;
|
|
43
|
+
},
|
|
44
|
+
// actions
|
|
45
|
+
async readStockBalance() {
|
|
46
|
+
this.stockBalance = await l.readStockBalance();
|
|
47
|
+
},
|
|
48
|
+
async readProductBalance() {
|
|
49
|
+
this.productBalance = [];
|
|
50
|
+
const c = s(), o = B({
|
|
51
|
+
recipes: c.recipes,
|
|
52
|
+
skus: c.skus,
|
|
53
|
+
skuGroups: [],
|
|
54
|
+
inventoryBindingMapping: {},
|
|
55
|
+
stockBalance: this.stockBalance
|
|
56
|
+
// silent: true
|
|
57
|
+
});
|
|
58
|
+
function n(t, e) {
|
|
59
|
+
return Object.prototype.hasOwnProperty.call(t, e);
|
|
60
|
+
}
|
|
61
|
+
for (const t in o.convertCountdown)
|
|
62
|
+
if (n(o.convertCountdown, t)) {
|
|
63
|
+
const e = o.convertCountdown[t];
|
|
64
|
+
this.productBalance.push({
|
|
65
|
+
id: t,
|
|
66
|
+
count: e
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
h as u
|
|
74
|
+
};
|
package/dist/stores/feature.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import { type WarehouseLicense } from '@/api/license';
|
|
2
|
+
import { type LocationFeatureFlag } from '@/api/feature-flags';
|
|
1
3
|
export { InventoryFeatureFlags } from '@feedmepos/inventory-core-2';
|
|
4
|
+
export declare enum InventoryModule {
|
|
5
|
+
Costing = "Costing"
|
|
6
|
+
}
|
|
2
7
|
export interface FeatureState {
|
|
3
8
|
isLoaded: boolean;
|
|
9
|
+
flags: LocationFeatureFlag[];
|
|
10
|
+
warehouseQuota: WarehouseLicense[];
|
|
4
11
|
enableTotalCost: boolean;
|
|
5
12
|
enableBackdatePo: boolean;
|
|
6
13
|
/** @deprecated TODO: remove */
|
|
@@ -10,7 +17,6 @@ export interface FeatureState {
|
|
|
10
17
|
enablePoTemplate: boolean;
|
|
11
18
|
enableClosingTemplate: boolean;
|
|
12
19
|
enableWastageTemplate: boolean;
|
|
13
|
-
enableIngredientGroup: boolean;
|
|
14
20
|
mustUsePoTemplate: boolean;
|
|
15
21
|
mustUseDefaultCost?: boolean;
|
|
16
22
|
businessSupplierOnly: boolean;
|
|
@@ -63,10 +69,22 @@ export declare const useFeatureStore: () => {
|
|
|
63
69
|
/** @deprecated TODO: remove */
|
|
64
70
|
readonly manualReceive: boolean;
|
|
65
71
|
readonly isLoaded: boolean;
|
|
72
|
+
readonly flags: {
|
|
73
|
+
name: string;
|
|
74
|
+
enabled: boolean;
|
|
75
|
+
beta: boolean;
|
|
76
|
+
value?: string | number | boolean | null | undefined;
|
|
77
|
+
}[];
|
|
78
|
+
readonly warehouseQuota: {
|
|
79
|
+
id: string;
|
|
80
|
+
expiredAt: string;
|
|
81
|
+
}[];
|
|
82
|
+
isFlagOn(flag: string): boolean;
|
|
83
|
+
isModuleEnabled(module: InventoryModule): boolean;
|
|
84
|
+
isModuleBeta(module: InventoryModule): boolean;
|
|
66
85
|
readonly enablePoTemplate: boolean;
|
|
67
86
|
readonly enableClosingTemplate: boolean;
|
|
68
87
|
readonly enableWastageTemplate: boolean;
|
|
69
|
-
readonly enableIngredientGroup: boolean;
|
|
70
88
|
readonly mustUsePoTemplate: boolean;
|
|
71
89
|
readonly businessSupplierOnly: boolean;
|
|
72
90
|
readonly enableXilnexTransferNote: boolean;
|
|
@@ -18,16 +18,16 @@ export declare function useCodemaxStore(): {
|
|
|
18
18
|
refreshToken: string;
|
|
19
19
|
} | null | undefined;
|
|
20
20
|
_id: string;
|
|
21
|
-
enable: boolean;
|
|
22
21
|
bindings: {
|
|
23
22
|
combinationKey?: string | null | undefined;
|
|
24
23
|
unit: string;
|
|
25
24
|
productId: string;
|
|
26
25
|
itemCode: string;
|
|
27
26
|
}[];
|
|
27
|
+
enable: boolean;
|
|
28
28
|
credentials: {
|
|
29
|
-
password: string;
|
|
30
29
|
branchCode: string;
|
|
30
|
+
password: string;
|
|
31
31
|
loginId: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -14,7 +14,7 @@ export declare function useFMHStore(): {
|
|
|
14
14
|
readonly state: {
|
|
15
15
|
setting: {
|
|
16
16
|
_id: string;
|
|
17
|
-
|
|
17
|
+
branchCode: string;
|
|
18
18
|
bindings: {
|
|
19
19
|
combinationKey?: string | null | undefined;
|
|
20
20
|
code: string;
|
|
@@ -26,8 +26,8 @@ export declare function useFMHStore(): {
|
|
|
26
26
|
selection: string;
|
|
27
27
|
}[];
|
|
28
28
|
exportAsJson: boolean;
|
|
29
|
+
enable: boolean;
|
|
29
30
|
uniqueCode: string;
|
|
30
|
-
branchCode: string;
|
|
31
31
|
server: {
|
|
32
32
|
host: string;
|
|
33
33
|
username: string;
|
|
@@ -262,9 +262,9 @@ export declare function useNetSuiteStore(): {
|
|
|
262
262
|
deletedAt?: string | null | undefined;
|
|
263
263
|
supplierCache?: {
|
|
264
264
|
_rev?: string | null | undefined;
|
|
265
|
+
email?: string | null | undefined;
|
|
265
266
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
266
267
|
contactName?: string | null | undefined;
|
|
267
|
-
email?: string | null | undefined;
|
|
268
268
|
phoneNumber?: string | null | undefined;
|
|
269
269
|
supplyItems?: {
|
|
270
270
|
skuId: string;
|
|
@@ -291,7 +291,6 @@ export declare function useNetSuiteStore(): {
|
|
|
291
291
|
} | null | undefined;
|
|
292
292
|
_id: string;
|
|
293
293
|
name: string;
|
|
294
|
-
registrationNumber: string;
|
|
295
294
|
address: {
|
|
296
295
|
line2?: string | null | undefined;
|
|
297
296
|
line1: string;
|
|
@@ -300,6 +299,7 @@ export declare function useNetSuiteStore(): {
|
|
|
300
299
|
postcode: string;
|
|
301
300
|
country: string;
|
|
302
301
|
};
|
|
302
|
+
registrationNumber: string;
|
|
303
303
|
} | null | undefined;
|
|
304
304
|
custentity_financeapproval?: boolean | null | undefined;
|
|
305
305
|
businessId: string;
|
|
@@ -2497,50 +2497,6 @@ export declare function useInventoryStore(): {
|
|
|
2497
2497
|
}>;
|
|
2498
2498
|
readonly skuBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
|
|
2499
2499
|
readonly recipeBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
|
|
2500
|
-
readonly skuGroups: {
|
|
2501
|
-
rules?: {
|
|
2502
|
-
rule?: any;
|
|
2503
|
-
_id: string;
|
|
2504
|
-
name: string;
|
|
2505
|
-
skuRefs: {
|
|
2506
|
-
default?: boolean | null | undefined;
|
|
2507
|
-
trackingMeasurement?: string | null | undefined;
|
|
2508
|
-
priority?: number | null | undefined;
|
|
2509
|
-
_id: string;
|
|
2510
|
-
}[];
|
|
2511
|
-
}[] | null | undefined;
|
|
2512
|
-
ref?: string | null | undefined;
|
|
2513
|
-
defaultSkuRefs?: {
|
|
2514
|
-
default?: boolean | null | undefined;
|
|
2515
|
-
trackingMeasurement?: string | null | undefined;
|
|
2516
|
-
priority?: number | null | undefined;
|
|
2517
|
-
_id: string;
|
|
2518
|
-
}[] | null | undefined;
|
|
2519
|
-
_id: string;
|
|
2520
|
-
name: string;
|
|
2521
|
-
}[];
|
|
2522
|
-
readonly skuGroupById: Record<string, {
|
|
2523
|
-
rules?: {
|
|
2524
|
-
rule?: any;
|
|
2525
|
-
_id: string;
|
|
2526
|
-
name: string;
|
|
2527
|
-
skuRefs: {
|
|
2528
|
-
default?: boolean | null | undefined;
|
|
2529
|
-
trackingMeasurement?: string | null | undefined;
|
|
2530
|
-
priority?: number | null | undefined;
|
|
2531
|
-
_id: string;
|
|
2532
|
-
}[];
|
|
2533
|
-
}[] | null | undefined;
|
|
2534
|
-
ref?: string | null | undefined;
|
|
2535
|
-
defaultSkuRefs?: {
|
|
2536
|
-
default?: boolean | null | undefined;
|
|
2537
|
-
trackingMeasurement?: string | null | undefined;
|
|
2538
|
-
priority?: number | null | undefined;
|
|
2539
|
-
_id: string;
|
|
2540
|
-
}[] | null | undefined;
|
|
2541
|
-
_id: string;
|
|
2542
|
-
name: string;
|
|
2543
|
-
}>;
|
|
2544
2500
|
readonly skuTags: Map<unknown, [{
|
|
2545
2501
|
trackingMeasurement?: string | null | undefined;
|
|
2546
2502
|
isInactive?: boolean | null | undefined;
|
|
@@ -2713,7 +2669,4 @@ export declare function useInventoryStore(): {
|
|
|
2713
2669
|
importRecipes(recipes: Omit<FdtoBulkRecipeRequest, '_rev'>): Promise<any>;
|
|
2714
2670
|
importSkus(skus: Omit<FdtoBulkSkuRequest, '_rev'>): Promise<any>;
|
|
2715
2671
|
deleteSku({ _id }: FdoInventorySku): Promise<void>;
|
|
2716
|
-
createSkuGroup(skuGroup: CreateType<FdoInventorySkuGroup>): Promise<void>;
|
|
2717
|
-
updateSkuGroup(skuGroup: FdoInventorySkuGroup): Promise<void>;
|
|
2718
|
-
deleteSkuGroup({ _id }: FdoInventorySkuGroup): Promise<void>;
|
|
2719
2672
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|