@feedmepos/mf-inventory-portal 1.8.0-dev.7 → 1.8.0
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-BPdZMhM8.js +1445 -0
- package/dist/{ApprovalView-1Y_jh_UJ.js → ApprovalView-UzjSuZ2L.js} +26 -25
- package/dist/{BindingsDialog-VMvTLguN.js → BindingsDialog-Cb6WRlKq.js} +2 -2
- package/dist/{BindingsPicker-KNRM5rMU.js → BindingsPicker-CtD4U4lv.js} +2 -2
- package/dist/{BindingsTable-CSyNlNCL.js → BindingsTable-CX-3403K.js} +10 -10
- package/dist/BulkReceiveRequestPage-CUq1Lmww.js +2839 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C5cA-lGH.js} +1 -1
- package/dist/{ClosingDraftView-A2pJuhIb.js → ClosingDraftView-Ca_SvdWQ.js} +748 -746
- package/dist/ClosingHistoryView-DzkeJYoe.js +769 -0
- package/dist/{ClosingTemplateView-DpkNCyoB.js → ClosingTemplateView-DSrelbso.js} +22 -21
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuOuXPy1.js} +1 -1
- package/dist/{DefaultView-B4UuAqYu.js → DefaultView-Dw-7Y8vD.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-w0YcNH3F.js → DeliveryOrderPrintPreview-C5qJsv_O.js} +15 -15
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js → EmailDialog.vue_vue_type_script_setup_true_lang-D8od7aKT.js} +10075 -9949
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-ChekXW32.js +48 -0
- package/dist/FeatureCapabilityGate-C-IM5_7n.js +82 -0
- package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-DEDU1XUC.js +189 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B861gqIJ.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ckli_nZx.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js} +2 -2
- package/dist/{FmMultiselectDialog-DMA5eR0C.js → FmMultiselectDialog-CShFKSIW.js} +2 -2
- package/dist/{FmMultiselectDialog-BnZInvgp.js → FmMultiselectDialog-Ci-6NMsV.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dkx5vVap.js} +105 -99
- package/dist/ImportView-7ij7RUHI.js +1540 -0
- package/dist/{IngredientsView-C4-8qNGD.js → IngredientsView-fIPtTyFD.js} +685 -688
- package/dist/{IntegrationExplorerView-D3leld2Z.js → IntegrationExplorerView-DLYT4T-I.js} +1537 -1620
- package/dist/IntegrationPlatformView-CwywuK_y.js +13385 -0
- package/dist/{IntegrationView-BhRzry3g.js → IntegrationView-DnyVHXge.js} +2380 -2340
- package/dist/{InventoryBindingForm-ewAgZ6e-.js → InventoryBindingForm-BBs8v7CL.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang--pI5wz_M.js} +134 -134
- package/dist/{InventoryBindingSummary-e67GzHYr.js → InventoryBindingSummary-CwIrQ8lG.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-DJSbskyn.js +79 -0
- package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
- package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
- package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
- package/dist/ProductionRunDetailPage-C_WC4qfP.js +2317 -0
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BIkoMOM2.js} +3051 -3161
- package/dist/ProductionRunPage-DuzVrjbZ.js +954 -0
- package/dist/{PublishView-BXA3k8Cp.js → PublishView-BVg44yke.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DRugr4BU.js → PurchaseOrderPrintPreview-CNx6unyj.js} +17 -17
- package/dist/{ReceiveRequestView-CeJs9NTD.js → ReceiveRequestView-DeNrYOUt.js} +17 -16
- package/dist/RecipeView-De3pLsPR.js +3272 -0
- package/dist/SettingsView-B5ud0KtI.js +1005 -0
- package/dist/StockView-4N3NRjY8.js +3003 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DvlRRKdt.js} +1 -1
- package/dist/{SupplierView-DH9u6e2M.js → SupplierView-fC9oe5nu.js} +304 -301
- package/dist/{SurchargeView-BPVEpc0f.js → SurchargeView-H6rv7u8A.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DFdrmR2Z.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-BivHE94R.js +332 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Df01LqHp.js +4953 -0
- package/dist/TransferTemplateView-CVUnofkI.js +2347 -0
- package/dist/{UnitCostHistoryView-06rIaX_M.js → UnitCostHistoryView-DjD2WAFI.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CE0zHU6c.js} +4 -4
- package/dist/{UnitView-Xk_F9SYG.js → UnitView-DCfsbE8e.js} +111 -106
- package/dist/{WarehouseView-bmpLmpcX.js → WarehouseView-BCebmbcj.js} +12 -11
- package/dist/{WastageTemplateView-CWV1pFxM.js → WastageTemplateView-BXYNMBun.js} +19 -18
- package/dist/api/bill.d.ts +4 -2
- package/dist/api/bill.spec.d.ts +1 -0
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/feature-flags.d.ts +2 -0
- package/dist/api/integration-sync-log.d.ts +0 -13
- package/dist/api/inventory.d.ts +9 -9
- package/dist/api/netsuite-explorer.d.ts +1 -0
- package/dist/api/stock.d.ts +1 -1
- package/dist/{app-CURawLhs.js → app-VtVYHCDF.js} +9785 -9546
- package/dist/app.d.ts +151 -14
- package/dist/app.js +1 -1
- package/dist/bulk-edit-simulation.helper-Nd6CtWGf.js +178 -0
- package/dist/{closing-template-q_KGB4jO.js → closing-template-LCe0U9w9.js} +4 -4
- package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
- package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
- package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
- package/dist/components/FeaturePageGate.spec.d.ts +1 -0
- package/dist/components/FeaturePageGate.vue.d.ts +34 -0
- package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +1 -1
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
- package/dist/components/FmUnitInputProps.d.ts +1 -0
- package/dist/components/FmUnitInputRules.d.ts +1 -1
- package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
- package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
- package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
- package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
- package/dist/components/TemplatePublishDialog.d.ts +2 -0
- package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
- package/dist/composable/defineApi.d.ts +1 -1
- package/dist/{date2-3kdweNLp.js → date2-Cfb6DXM4.js} +1 -1
- package/dist/{dayjs.min-DHE73-wM.js → dayjs.min-BOndKK7B.js} +1 -1
- package/dist/{decimal-CAnQe2Ib.js → decimal-nbuisP61.js} +2 -2
- package/dist/{defineDeepModel-CctS67Do.js → defineDeepModel-DKySrdwp.js} +5 -5
- package/dist/{duplicate-template-Jk2V2Ezg.js → duplicate-template-BxcKb3Jp.js} +1 -1
- package/dist/{feature-D9n0IC0c.js → feature-VDUlSvM1.js} +452 -354
- package/dist/feature-flags/core.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +22 -1
- package/dist/feature-flags/vue.spec.d.ts +1 -0
- package/dist/{format-time-from-id-Bmzpbg-8.js → format-time-from-id-CfVH4LZ_.js} +1 -1
- package/dist/{format-unit-display-CVg4Bl5L.js → format-unit-display-BjTeAtgS.js} +209 -208
- package/dist/helper/country.spec.d.ts +1 -0
- package/dist/helper/menu-usage-module.d.ts +2 -1
- package/dist/helper/number.d.ts +5 -1
- package/dist/helper/rules.d.ts +1 -1
- package/dist/{id-to-date-DPCcxufP.js → id-to-date-Jr9SlHLO.js} +1 -1
- package/dist/{import-export.helper-bmGZwUBB.js → import-export.helper-FT9Wbigh.js} +17 -17
- package/dist/{index-zCBA-X6R.js → index-BV9b3Ulp.js} +2234 -2163
- package/dist/{index-yt6MlAFG.js → index-By5-VjVg.js} +1 -1
- package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
- package/dist/{index-CFNNQo-7.js → index-DXHVgUHU.js} +3 -3
- package/dist/index-eGvSlWMU.js +1892 -0
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-CqlY9MC2.js → lz-string-BAzqO9xf.js} +1 -1
- package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
- package/dist/{netsuite-DudeltN_.js → netsuite-BhGuduqd.js} +254 -263
- package/dist/netsuite-explorer-9Qj7qAum.js +79 -0
- package/dist/{predefined-templates-DT32p04n.js → predefined-templates-BlRafgnc.js} +1 -1
- package/dist/production-run-list-DR1WsaBR.js +61 -0
- package/dist/{purchase-order-template-LaRpWA04.js → purchase-order-template-By_Zxu1b.js} +1 -1
- package/dist/{recalculationUtils-BYN393eE.js → recalculationUtils-VsBar7jB.js} +1 -1
- package/dist/router/name.d.ts +2 -1
- package/dist/{row-action.enum-BiP5wkT6.js → row-action.enum-76yLYmPA.js} +1 -1
- package/dist/rules-fOcvgt4t.js +243 -0
- package/dist/{stock-B9XerL9c.js → stock-C-dQaxY2.js} +1 -1
- package/dist/stock-Dh0KXA1P.js +78 -0
- package/dist/stores/feature.d.ts +31 -2
- package/dist/stores/feature.load-state.spec.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +2 -2
- 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 +48 -48
- package/dist/stores/warehouse.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-dpHijd2E.js → supplier-XHHHN8vZ.js} +2 -2
- package/dist/{surcharge-BZ4STY5J.js → surcharge-0-oBiYoF.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Da5Lngvp.js → uom-rules-DrRuSFgM.js} +1 -1
- package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-mQ7aQChK.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-5Wu0ItnH.js} +2 -2
- package/dist/{use-template-enabled-locations-BmJUzSUm.js → use-template-enabled-locations-CgpPMl8g.js} +2 -2
- package/dist/{use-transfer-locations-frEk_aBH.js → use-transfer-locations-DZ6B7eMT.js} +14 -14
- package/dist/{useHrmPermission-Cyjm0y9a.js → useHrmPermission-BaGxz4EV.js} +1 -1
- package/dist/{useNavigationMenu-CnTsOF9T.js → useNavigationMenu-CyP39v3U.js} +50 -49
- package/dist/{useSseClient-D_7o9nuf.js → useSseClient-CaD4MVg0.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/changelog/composables/use-snapshot-diff.d.ts +2 -2
- 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 +19 -19
- package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
- 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/import/helper/submit-rows.d.ts +1 -1
- package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
- package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
- package/dist/views/integration/IntegrationPlatformView.vue.d.ts +24 -0
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
- 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/ProductionRunDetailPage.spec.d.ts +1 -0
- package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
- package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
- package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
- package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
- package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
- package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
- package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
- package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
- package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
- package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
- package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
- package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
- package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
- 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-form.spec.d.ts +1 -0
- 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/BulkReceiveRequestPage.vue.d.ts +2 -0
- package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +54 -54
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
- 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/import-recipe.d.ts +30 -0
- 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/settings/PlanLicenseDisplay.vue.d.ts +2 -0
- package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
- package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
- package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
- package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
- package/dist/views/stock/composables/use-last-closing-summary.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/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +4 -4
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js → vue-KHCpiw_e.js} +106 -108
- package/dist/{vue-i18n-DwAcG7yc.js → vue-i18n-D6btLtve.js} +422 -422
- package/dist/{xlsx.util-C7S-uyqm.js → xlsx.util-Dr5i_LBa.js} +2 -2
- package/package.json +71 -66
- package/dist/App-Bo29Nwt0.js +0 -1537
- package/dist/BulkReceiveRequestView-vOeHbWM_.js +0 -2656
- package/dist/ClosingHistoryView-woRmvmYT.js +0 -761
- package/dist/ImportView-C7Hah7MM.js +0 -1291
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js +0 -72
- package/dist/ProductionRunDetailView-Ct7kr5Ht.js +0 -2312
- package/dist/ProductionRunView-odWyBZGx.js +0 -930
- package/dist/RecipeView-BH0REMB3.js +0 -3428
- package/dist/SettingsView-Dc27wyk-.js +0 -977
- package/dist/StockView-DrHLzosW.js +0 -2616
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js +0 -299
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js +0 -4820
- package/dist/TransferTemplateView-CEVRsKL7.js +0 -2326
- package/dist/menu-usage-module-BdjYEk3s.js +0 -57
- package/dist/number-BoePMDs8.js +0 -138
- package/dist/rules-CQT0uAAo.js +0 -98
- package/dist/stock-CVybjhUm.js +0 -75
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-mQ7aQChK.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as S } from "pinia";
|
|
2
|
-
import { a as b } from "./app-
|
|
3
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
+
import { a as b } from "./app-VtVYHCDF.js";
|
|
3
|
+
import { a as A } from "./FmMultiselectDialog-Ci-6NMsV.js";
|
|
4
4
|
import { useDialog as I } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as D } from "@feedmepos/mf-common";
|
|
6
6
|
const w = S(
|
package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-5Wu0ItnH.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as y } from "./FmMultiselectDialog-
|
|
2
|
-
import { a as S } from "./app-
|
|
1
|
+
import { a as y } from "./FmMultiselectDialog-Ci-6NMsV.js";
|
|
2
|
+
import { a as S } from "./app-VtVYHCDF.js";
|
|
3
3
|
import { useDialog as E } from "@feedmepos/ui-library";
|
|
4
4
|
function w() {
|
|
5
5
|
const c = S(), g = E();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as A } from "./FmMultiselectDialog-
|
|
2
|
-
import { u as S } from "./app-
|
|
1
|
+
import { a as A } from "./FmMultiselectDialog-Ci-6NMsV.js";
|
|
2
|
+
import { u as S } from "./app-VtVYHCDF.js";
|
|
3
3
|
import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as C, components as p } from "@feedmepos/ui-library";
|
|
5
5
|
import { computed as r, h as c } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as g, r as l,
|
|
2
|
-
import { u as E } from "./supplier-
|
|
1
|
+
import { u as g, r as l, a1 as w, a4 as R } from "./app-VtVYHCDF.js";
|
|
2
|
+
import { u as E } from "./supplier-XHHHN8vZ.js";
|
|
3
3
|
import { computed as u } from "vue";
|
|
4
4
|
function d(n) {
|
|
5
5
|
const c = R.safeParse(n);
|
|
@@ -26,13 +26,13 @@ function _(n) {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function F(n, c, y = !1, f = !1) {
|
|
29
|
-
const
|
|
29
|
+
const a = E(), t = g();
|
|
30
30
|
t.watchLocation(async () => {
|
|
31
|
-
var
|
|
32
|
-
await
|
|
31
|
+
var p;
|
|
32
|
+
await a.readSuppliers();
|
|
33
33
|
const s = n();
|
|
34
|
-
if ((
|
|
35
|
-
const e = f ?
|
|
34
|
+
if ((p = s.supplier) != null && p._id || s.template) return;
|
|
35
|
+
const e = f ? a.suppliers[0] : a.businessSuppliers[0], r = (y ? t.locations.filter((i) => i.doc._id !== t.currentLocation.doc._id) : t.locations)[0];
|
|
36
36
|
c({
|
|
37
37
|
...s,
|
|
38
38
|
supplier: e ? d(e) : r ? _(r) : s.supplier
|
|
@@ -50,22 +50,22 @@ function F(n, c, y = !1, f = !1) {
|
|
|
50
50
|
set(s) {
|
|
51
51
|
const e = n() ?? {};
|
|
52
52
|
if (L.value === l.enum.purchase) {
|
|
53
|
-
const m = (f ?
|
|
53
|
+
const m = (f ? a.suppliers : a.businessSuppliers).find((N) => N._id === s);
|
|
54
54
|
c({
|
|
55
55
|
...e,
|
|
56
56
|
supplier: m ? d(m) : e.supplier
|
|
57
57
|
});
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const p = (y ? t.allLocations.filter(
|
|
61
61
|
(i) => i.doc._id !== t.currentLocation.doc._id
|
|
62
62
|
) : t.allLocations).find((i) => i.doc._id === s);
|
|
63
63
|
c({
|
|
64
64
|
...e,
|
|
65
|
-
supplier:
|
|
65
|
+
supplier: p ? _(p) : e.supplier
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
}), v = u(() =>
|
|
68
|
+
}), v = u(() => a.locationSuppliers.map(d)), T = u(() => a.businessSuppliers.map(d)), S = u(() => {
|
|
69
69
|
const s = [...v.value], e = [...T.value];
|
|
70
70
|
return f ? [...e, ...s] : e;
|
|
71
71
|
}), b = u(() => {
|
|
@@ -92,10 +92,10 @@ function F(n, c, y = !1, f = !1) {
|
|
|
92
92
|
value: e._id
|
|
93
93
|
}));
|
|
94
94
|
}), P = u(() => {
|
|
95
|
-
var r,
|
|
96
|
-
const s = (
|
|
95
|
+
var r, p;
|
|
96
|
+
const s = (p = (r = n()) == null ? void 0 : r.supplier) == null ? void 0 : p._id;
|
|
97
97
|
if (L.value === l.enum.purchase) {
|
|
98
|
-
const i =
|
|
98
|
+
const i = a.suppliers.find((m) => m._id === s);
|
|
99
99
|
return i ? d(i) : null;
|
|
100
100
|
}
|
|
101
101
|
const o = t.allLocations.find((i) => i.doc._id);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { computed as R, h as
|
|
2
|
-
import { R as e,
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { I as E,
|
|
5
|
-
import { e as
|
|
6
|
-
|
|
1
|
+
import { computed as R, h as P } from "vue";
|
|
2
|
+
import { R as e, ae as O, af as A, ad as U } from "./app-VtVYHCDF.js";
|
|
3
|
+
import { useCoreStore as b, useI18n as L } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as y, I as E, e as v } from "./feature-VDUlSvM1.js";
|
|
5
|
+
import { e as G, g, d as M, f as F, i as H } from "./vue-KHCpiw_e.js";
|
|
6
|
+
import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-ChekXW32.js";
|
|
7
|
+
const h = [
|
|
7
8
|
{
|
|
8
9
|
route: e.STOCK,
|
|
9
10
|
module: "Stock",
|
|
@@ -19,7 +20,7 @@ const _ = [
|
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
route: e.UNIT_COST_HISTORY,
|
|
22
|
-
module: "
|
|
23
|
+
module: "Costing",
|
|
23
24
|
tier: "premium",
|
|
24
25
|
description: "Review unit-cost history and costing changes.",
|
|
25
26
|
featureKey: "unit-cost"
|
|
@@ -139,13 +140,13 @@ const _ = [
|
|
|
139
140
|
tier: "standard",
|
|
140
141
|
description: "Inspect and manage integration records and synchronization."
|
|
141
142
|
}
|
|
142
|
-
],
|
|
143
|
-
|
|
143
|
+
], k = Object.fromEntries(
|
|
144
|
+
h.map((o) => {
|
|
144
145
|
var u;
|
|
145
|
-
const s =
|
|
146
|
+
const s = g(o.featureKey ?? "");
|
|
146
147
|
return [
|
|
147
148
|
o.route,
|
|
148
|
-
|
|
149
|
+
M({
|
|
149
150
|
key: o.route,
|
|
150
151
|
minimumTier: o.tier,
|
|
151
152
|
release: o.release ?? ((u = s == null ? void 0 : s.definition) == null ? void 0 : u.release),
|
|
@@ -154,40 +155,40 @@ const _ = [
|
|
|
154
155
|
];
|
|
155
156
|
})
|
|
156
157
|
);
|
|
157
|
-
function
|
|
158
|
-
return
|
|
158
|
+
function B(o) {
|
|
159
|
+
return h.find((s) => s.route === o) ?? null;
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
-
return o ?
|
|
161
|
+
function D(o) {
|
|
162
|
+
return o ? k[o] ?? null : null;
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
-
const u =
|
|
165
|
-
return u ?
|
|
164
|
+
function x(o, s) {
|
|
165
|
+
const u = D(o);
|
|
166
|
+
return u ? G(u, s) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
|
|
166
167
|
}
|
|
167
|
-
const
|
|
168
|
+
const V = A.reduce(
|
|
168
169
|
(o, s) => {
|
|
169
170
|
var u;
|
|
170
171
|
return s.name && (o[s.name] = (u = s.meta) == null ? void 0 : u.validationManifest), o;
|
|
171
172
|
},
|
|
172
173
|
{}
|
|
173
174
|
);
|
|
174
|
-
function
|
|
175
|
-
const o =
|
|
175
|
+
function z() {
|
|
176
|
+
const o = b(), s = y(), { t: u } = L(), a = (t) => O(t, u), _ = R(
|
|
176
177
|
() => {
|
|
177
178
|
var t;
|
|
178
179
|
return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
|
|
179
180
|
}
|
|
180
|
-
),
|
|
181
|
-
const r =
|
|
182
|
-
return
|
|
183
|
-
},
|
|
181
|
+
), f = (t = []) => t.length === 0 ? !0 : U(t, _.value).granted, n = (t) => {
|
|
182
|
+
const r = V[t];
|
|
183
|
+
return f(r == null ? void 0 : r.requiredCaslPermissions);
|
|
184
|
+
}, c = (t) => {
|
|
184
185
|
var r;
|
|
185
|
-
return ((r = s.flags.find((
|
|
186
|
+
return ((r = s.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
|
|
186
187
|
}, m = (t) => t.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: m(r.children) } : r).filter((r) => !r.children || r.children.length > 0), I = (t) => t.map((r) => {
|
|
187
|
-
const { hide:
|
|
188
|
+
const { hide: d, children: i, ...l } = r, T = { ...l };
|
|
188
189
|
return i && (T.children = I(i)), T;
|
|
189
190
|
}), p = (t) => t.map((r) => {
|
|
190
|
-
const
|
|
191
|
+
const d = r.value, i = B(d), l = g((i == null ? void 0 : i.featureKey) ?? ""), T = l == null ? void 0 : l.category, C = i && (i.tier === "premium" || T === "beta" || l != null && l.deprecateSoon) ? () => P(K, {
|
|
191
192
|
tier: i.tier,
|
|
192
193
|
category: T,
|
|
193
194
|
deprecateSoon: l == null ? void 0 : l.deprecateSoon,
|
|
@@ -195,11 +196,11 @@ function Y() {
|
|
|
195
196
|
}) : void 0;
|
|
196
197
|
return {
|
|
197
198
|
...r,
|
|
198
|
-
badge:
|
|
199
|
+
badge: C,
|
|
199
200
|
children: r.children ? p(r.children) : void 0
|
|
200
201
|
};
|
|
201
202
|
}), S = R(() => {
|
|
202
|
-
var
|
|
203
|
+
var d;
|
|
203
204
|
const t = [
|
|
204
205
|
{
|
|
205
206
|
label: a(e.STOCK),
|
|
@@ -212,17 +213,17 @@ function Y() {
|
|
|
212
213
|
{
|
|
213
214
|
label: a(e.PRODUCTION_RUN),
|
|
214
215
|
value: e.PRODUCTION_RUN,
|
|
215
|
-
hide: !n(e.PRODUCTION_RUN) ||
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
label: a(e.UNIT_COST_HISTORY),
|
|
219
|
-
value: e.UNIT_COST_HISTORY,
|
|
220
|
-
hide: !n(e.UNIT_COST_HISTORY) || d(E.inventory_pos_costing)
|
|
216
|
+
hide: !n(e.PRODUCTION_RUN) || F("production-runs").disabled
|
|
221
217
|
},
|
|
222
218
|
{
|
|
223
219
|
label: a(e.WASTAGE_TEMPLATE),
|
|
224
220
|
value: e.WASTAGE_TEMPLATE,
|
|
225
|
-
hide: !n(e.WASTAGE_TEMPLATE) ||
|
|
221
|
+
hide: !n(e.WASTAGE_TEMPLATE) || c(E.inventory_pos_adjust_v2_wastage)
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
label: a(e.UNIT_COST_HISTORY),
|
|
225
|
+
value: e.UNIT_COST_HISTORY,
|
|
226
|
+
hide: !n(e.UNIT_COST_HISTORY) || s.isModuleBeta(v.Costing) && !s.isModuleEnabled(v.Costing)
|
|
226
227
|
}
|
|
227
228
|
]
|
|
228
229
|
},
|
|
@@ -237,12 +238,12 @@ function Y() {
|
|
|
237
238
|
{
|
|
238
239
|
label: a(e.CLOSING_TEMPLATE),
|
|
239
240
|
value: e.CLOSING_TEMPLATE,
|
|
240
|
-
hide: !n(e.CLOSING_TEMPLATE) ||
|
|
241
|
+
hide: !n(e.CLOSING_TEMPLATE) || c(E.inventory_pos_closing_v2)
|
|
241
242
|
},
|
|
242
243
|
{
|
|
243
244
|
label: a(e.CLOSING_DRAFT),
|
|
244
245
|
value: e.CLOSING_DRAFT,
|
|
245
|
-
hide: !n(e.CLOSING_DRAFT) ||
|
|
246
|
+
hide: !n(e.CLOSING_DRAFT) || c(E.inventory_pos_closing_v2)
|
|
246
247
|
}
|
|
247
248
|
]
|
|
248
249
|
},
|
|
@@ -272,7 +273,7 @@ function Y() {
|
|
|
272
273
|
{
|
|
273
274
|
label: a(e.RECEIVE_REQUEST_BULK),
|
|
274
275
|
value: e.RECEIVE_REQUEST_BULK,
|
|
275
|
-
hide: !n(e.RECEIVE_REQUEST_BULK) ||
|
|
276
|
+
hide: !n(e.RECEIVE_REQUEST_BULK) || c(E.inventory_receive_request_beta)
|
|
276
277
|
},
|
|
277
278
|
{
|
|
278
279
|
label: a(e.APPROVAL),
|
|
@@ -282,12 +283,12 @@ function Y() {
|
|
|
282
283
|
{
|
|
283
284
|
label: a(e.SURCHARGE),
|
|
284
285
|
value: e.SURCHARGE,
|
|
285
|
-
hide: !n(e.SURCHARGE) ||
|
|
286
|
+
hide: !n(e.SURCHARGE) || c(E.inventory_portal_surcharge)
|
|
286
287
|
},
|
|
287
288
|
{
|
|
288
289
|
label: a(e.TRANSFER_TEMPLATE),
|
|
289
290
|
value: e.TRANSFER_TEMPLATE,
|
|
290
|
-
hide: !n(e.TRANSFER_TEMPLATE) ||
|
|
291
|
+
hide: !n(e.TRANSFER_TEMPLATE) || c(E.inventory_portal_must_use_transfer_template) && !H("purchase-order-template")
|
|
291
292
|
}
|
|
292
293
|
]
|
|
293
294
|
},
|
|
@@ -309,7 +310,7 @@ function Y() {
|
|
|
309
310
|
{
|
|
310
311
|
label: a(e.IMPORT),
|
|
311
312
|
value: e.IMPORT,
|
|
312
|
-
hide: !n(e.IMPORT) ||
|
|
313
|
+
hide: !n(e.IMPORT) || c(E.inventory_bulk_import)
|
|
313
314
|
},
|
|
314
315
|
{
|
|
315
316
|
label: a(e.INTEGRATION),
|
|
@@ -322,12 +323,12 @@ function Y() {
|
|
|
322
323
|
hide: !n(e.SETTINGS)
|
|
323
324
|
}
|
|
324
325
|
], r = p(I(m(t)));
|
|
325
|
-
return ((
|
|
326
|
+
return ((d = o.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
|
|
326
327
|
(i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
|
|
327
328
|
) : r;
|
|
328
329
|
}), N = R(() => {
|
|
329
|
-
function t(
|
|
330
|
-
for (const i of
|
|
330
|
+
function t(d) {
|
|
331
|
+
for (const i of d)
|
|
331
332
|
if (i.children && i.children.length > 0) {
|
|
332
333
|
const l = t(i.children);
|
|
333
334
|
if (l) return l;
|
|
@@ -339,7 +340,7 @@ function Y() {
|
|
|
339
340
|
return { menuItems: S, firstAccessibleRouteName: N };
|
|
340
341
|
}
|
|
341
342
|
export {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
x as e,
|
|
344
|
+
h as n,
|
|
345
|
+
z as u
|
|
345
346
|
};
|