@feedmepos/mf-inventory-portal 1.8.0-dev.8 → 1.8.1
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-C8i7vBxz.js → App-BPhAFsnf.js} +515 -536
- package/dist/{ApprovalView-GHgTeCBV.js → ApprovalView-DuJIX7ux.js} +26 -25
- package/dist/{BindingsDialog-C4-S2CWk.js → BindingsDialog-BiNopu6T.js} +2 -2
- package/dist/{BindingsPicker-C7YUArBj.js → BindingsPicker-C2GUK3np.js} +2 -2
- package/dist/{BindingsTable-1Zoqi4ZS.js → BindingsTable-DlPl5o1h.js} +10 -10
- package/dist/BulkReceiveRequestPage-YtqUSPUN.js +2839 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DFSg0-gv.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CAKGP0N3.js} +1 -1
- package/dist/{ClosingDraftView-CnWFyWSE.js → ClosingDraftView-C0XEpqat.js} +748 -746
- package/dist/{ClosingHistoryView-Bkm0voU6.js → ClosingHistoryView-C2Bl2vnF.js} +7 -7
- package/dist/{ClosingTemplateView-Bz81JTsg.js → ClosingTemplateView-DAXyH1l9.js} +22 -21
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-6s-24euf.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-sP8-Pw8r.js} +1 -1
- package/dist/{DefaultView-1RRzbPB3.js → DefaultView-QUjOTT9z.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-KcLqjOj1.js → DeliveryOrderPrintPreview-CNO7dng4.js} +15 -15
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-r0Q0qhoK.js → EmailDialog.vue_vue_type_script_setup_true_lang-MiLvwxSQ.js} +9847 -9723
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bo7xjTer.js} +11 -10
- package/dist/FeatureCapabilityGate-CQrRBMcC.js +82 -0
- package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-CIKrUrln.js +189 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-pzIzIWpX.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DfCQ8SNd.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B6cFB4vX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BTeJz4Mm.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_o6pX9i.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DiwH0vnm.js} +2 -2
- package/dist/{FmMultiselectDialog-D0GhmOQ9.js → FmMultiselectDialog-BZvKKnBB.js} +2 -2
- package/dist/{FmMultiselectDialog-CC_Na_p1.js → FmMultiselectDialog-Dne8GSe8.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DQlSMRoB.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D1-MLyJi.js} +105 -99
- package/dist/ImportView-Dr-2cv9N.js +1540 -0
- package/dist/{IngredientsView-B2I2OPSb.js → IngredientsView-BnaNrWb7.js} +367 -365
- package/dist/{IntegrationExplorerView-WK1EmwLA.js → IntegrationExplorerView-Bjflxeha.js} +1537 -1620
- package/dist/IntegrationPlatformView-fO7R9fGT.js +13385 -0
- package/dist/{IntegrationView-CeaL92Yj.js → IntegrationView-CxpmB0o2.js} +2380 -2340
- package/dist/{InventoryBindingForm-DgtaDM0I.js → InventoryBindingForm-DbgvnZ9I.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CqDN355J.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-3stkPlAW.js} +134 -134
- package/dist/{InventoryBindingSummary-C_W456aj.js → InventoryBindingSummary-BrIFW5dO.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-BAVjiZbm.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-D6-lo7iI.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js} +1 -1
- package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
- package/dist/ProductionRunDetailPage-DhImFq9B.js +2317 -0
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DwBY6gIb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CCUBGX4K.js} +3051 -3161
- package/dist/ProductionRunPage-D9SaErg3.js +954 -0
- package/dist/{PublishView-Dv-W6ntx.js → PublishView-CmqorDCm.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D1TAnJd_.js → PurchaseOrderPrintPreview-CvplcGNv.js} +17 -17
- package/dist/{ReceiveRequestView-Rc_uw_Ad.js → ReceiveRequestView-DAN7eOH5.js} +17 -16
- package/dist/RecipeView-CgJcpA_f.js +3272 -0
- package/dist/{SettingsView-K5wAt8oo.js → SettingsView-I1XEa1NJ.js} +398 -425
- package/dist/StockView-C2tK0oPv.js +3003 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CsRLy0xI.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DSz37GY_.js} +1 -1
- package/dist/{SupplierView-CLVupRN0.js → SupplierView-C69gOB_i.js} +21 -20
- package/dist/{SurchargeView-CToB_z5v.js → SurchargeView-DfDtR1jP.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CvqIw9q6.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CWD44FiP.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-5RLeEfkg.js +332 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dzlex2fK.js +4953 -0
- package/dist/TransferTemplateView-Dc892CSr.js +2347 -0
- package/dist/{UnitCostHistoryView-BMB2MeTh.js → UnitCostHistoryView-DkuDLBSq.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Dn8Y8zfp.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-3Iyv5v10.js} +4 -4
- package/dist/{UnitView-Bl8jws6R.js → UnitView-CakqjGDe.js} +111 -106
- package/dist/{WarehouseView-BurSM1jg.js → WarehouseView-AUPuNwRA.js} +12 -11
- package/dist/{WastageTemplateView-DRfJ9LGR.js → WastageTemplateView-1kxcX31h.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-Duum3eHx.js → app-tiHt7P8o.js} +9786 -9547
- package/dist/app.d.ts +151 -14
- package/dist/app.js +1 -1
- package/dist/bulk-edit-simulation.helper-D490leZh.js +178 -0
- package/dist/{closing-template-BE41yfue.js → closing-template-CAahWrPo.js} +4 -4
- package/dist/components/FeatureCapabilityGate.vue.d.ts +3 -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-DrhO3BxU.js → date2-CKKZ3b1E.js} +1 -1
- package/dist/{dayjs.min-CQp6EpOp.js → dayjs.min-CXmScEL-.js} +1 -1
- package/dist/{decimal-Cq0qUT4r.js → decimal-CE8yRxZg.js} +2 -2
- package/dist/{defineDeepModel-DRC39nJs.js → defineDeepModel-BRZrUePH.js} +5 -5
- package/dist/{duplicate-template-j2ymeDNH.js → duplicate-template-DGrH04lc.js} +1 -1
- package/dist/{feature-C0hQza5A.js → feature-BuUIX2LY.js} +327 -287
- package/dist/feature-flags/core.d.ts +1 -0
- package/dist/feature-flags/vue.d.ts +22 -1
- package/dist/{format-time-from-id-BmJoI3jT.js → format-time-from-id-BQOfGm26.js} +1 -1
- package/dist/{format-unit-display-CRgIMXsD.js → format-unit-display-BuBfy3bb.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-CuFZDvIr.js → id-to-date-B_aPAdeF.js} +1 -1
- package/dist/{import-export.helper-B43zbsbj.js → import-export.helper-DPqodvrw.js} +17 -17
- package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
- package/dist/{index-BYDjs08n.js → index-CBkSXbQw.js} +2234 -2163
- package/dist/{index-Cwvg7EHd.js → index-EgLlcZ4g.js} +3 -3
- package/dist/index-eGvSlWMU.js +1892 -0
- package/dist/{index-DXNYZeq3.js → index-yTHfPUVq.js} +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
- package/dist/{lz-string-6DgW1cPF.js → lz-string-Dgq0u7oK.js} +1 -1
- package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
- package/dist/{netsuite-BSpmyaE1.js → netsuite-BgB1tjJx.js} +254 -263
- package/dist/netsuite-explorer-BMtIwGyi.js +79 -0
- package/dist/{predefined-templates-C0jtb4T7.js → predefined-templates-BiuP4m7R.js} +1 -1
- package/dist/production-run-list-DR1WsaBR.js +61 -0
- package/dist/{purchase-order-template-B5Pjddfi.js → purchase-order-template-D5Z0bPLL.js} +1 -1
- package/dist/{recalculationUtils-DtJWwWSj.js → recalculationUtils-BitV6W_8.js} +1 -1
- package/dist/router/name.d.ts +2 -1
- package/dist/{row-action.enum-BDDJNSi0.js → row-action.enum-CTNl1V0l.js} +1 -1
- package/dist/rules-BpG29H9Z.js +243 -0
- package/dist/{stock-BKMDvf5S.js → stock-DNV9xfbE.js} +1 -1
- package/dist/stock-DTzUuxKl.js +78 -0
- package/dist/stores/feature.d.ts +26 -8
- 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-Cv8HRNou.js → supplier-8uMx5fFa.js} +2 -2
- package/dist/{surcharge-ktE1pRyy.js → surcharge-D0c44dor.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DCnXmEkb.js → uom-rules-BErW6UQ4.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CYUUVrCI.js → use-ingredient-select-dialog-CZTe4ayv.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Dugj9i-6.js → use-inventory-binding-dialog-D_N7K7pw.js} +2 -2
- package/dist/{use-template-enabled-locations-BlZ7WAqX.js → use-template-enabled-locations-C1xNZr4V.js} +2 -2
- package/dist/{use-transfer-locations-CUDFnsVH.js → use-transfer-locations-BlSNA3qv.js} +14 -14
- package/dist/{useHrmPermission-BOwmXi9H.js → useHrmPermission-Bd1_Ia_U.js} +1 -1
- package/dist/{useNavigationMenu-CbNKFBwx.js → useNavigationMenu-DXrUeRX9.js} +39 -39
- package/dist/{useSseClient-CdyQh47h.js → useSseClient-Di0ywAz-.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.vue.d.ts +1 -14
- 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/{PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js → vue-C029rfpt.js} +101 -80
- package/dist/{vue-i18n-dSKy66Jh.js → vue-i18n-Bg7KOfUG.js} +416 -416
- package/dist/{xlsx.util-pjzuMquw.js → xlsx.util-BQrh6imS.js} +2 -2
- package/package.json +71 -66
- package/dist/BulkReceiveRequestView-Lakk8011.js +0 -2656
- package/dist/FeatureCapabilityGate-C6t1VwKD.js +0 -74
- package/dist/ImportView-DCcdEvy4.js +0 -1291
- package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMDjCk9T.js +0 -72
- package/dist/ProductionRunDetailView-C9rxLBbL.js +0 -2312
- package/dist/ProductionRunView-DvMdVGz1.js +0 -930
- package/dist/RecipeView-ByUaGc4w.js +0 -3428
- package/dist/StockView-B3EjdjVx.js +0 -2615
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BGPuaJlU.js +0 -299
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-8ydaQEw-.js +0 -4836
- package/dist/TransferTemplateView-BnfALwmw.js +0 -2326
- package/dist/api/license.d.ts +0 -8
- package/dist/menu-usage-module-BdjYEk3s.js +0 -57
- package/dist/number-5ZeFx-wN.js +0 -138
- package/dist/rules-CinZKpvV.js +0 -98
- package/dist/stock-1n-4iyqz.js +0 -75
- package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js → vue-C029rfpt.js}
RENAMED
|
@@ -1,53 +1,57 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import { u as
|
|
5
|
-
function
|
|
6
|
-
return
|
|
1
|
+
import { computed as l, unref as y, toValue as b } from "vue";
|
|
2
|
+
import { u as s } from "./feature-BuUIX2LY.js";
|
|
3
|
+
import { useCoreStore as f } from "@feedmepos/mf-common";
|
|
4
|
+
import { u as g } from "./app-tiHt7P8o.js";
|
|
5
|
+
function T(t) {
|
|
6
|
+
return t;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
9
|
-
var
|
|
10
|
-
const
|
|
8
|
+
function m(t, r) {
|
|
9
|
+
var n;
|
|
10
|
+
const e = t.release ?? { stage: "ga" }, a = (n = t.flagKeys) != null && n.length ? t.flagKeys.some(r.isFlagOn) : t.minimumTier !== "premium" || r.premium === !0, o = e.stage === "ga" || e.stage === "beta", i = a && o, d = a ? e.stage === "off" ? "This feature is not currently available." : void 0 : `Requires the ${t.minimumTier} plan.`;
|
|
11
11
|
return {
|
|
12
|
-
enabled:
|
|
13
|
-
disabled: !
|
|
14
|
-
stage:
|
|
12
|
+
enabled: i,
|
|
13
|
+
disabled: !i,
|
|
14
|
+
stage: e.stage,
|
|
15
15
|
eligible: o,
|
|
16
|
-
reason:
|
|
16
|
+
reason: d
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
key:
|
|
21
|
-
category:
|
|
22
|
-
flagKeys:
|
|
19
|
+
function v({
|
|
20
|
+
key: t,
|
|
21
|
+
category: r,
|
|
22
|
+
flagKeys: e
|
|
23
23
|
}) {
|
|
24
24
|
return {
|
|
25
|
-
key:
|
|
26
|
-
minimumTier:
|
|
27
|
-
release: { stage:
|
|
28
|
-
flagKeys:
|
|
25
|
+
key: t,
|
|
26
|
+
minimumTier: r === "premium" ? "premium" : "standard",
|
|
27
|
+
release: { stage: r === "beta" ? "beta" : "ga" },
|
|
28
|
+
flagKeys: e
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const k = [
|
|
32
32
|
{
|
|
33
33
|
key: "total-cost",
|
|
34
34
|
label: "Costing",
|
|
35
35
|
category: "premium",
|
|
36
|
-
flagKeys: ["inventory_pos_costing"],
|
|
37
36
|
controls: "Stock, ingredient, supplier, purchase-order, and template cost UI."
|
|
38
37
|
},
|
|
39
38
|
{
|
|
40
39
|
key: "unit-cost",
|
|
41
40
|
label: "Costing",
|
|
42
41
|
category: "premium",
|
|
43
|
-
flagKeys: ["inventory_pos_costing"],
|
|
44
42
|
controls: "Unit Cost History and recalculation dialog."
|
|
45
43
|
},
|
|
44
|
+
{
|
|
45
|
+
key: "edit-order-costing",
|
|
46
|
+
label: "Edit Order Costing",
|
|
47
|
+
category: "premium",
|
|
48
|
+
flagKeys: ["inventory_pos_costing"],
|
|
49
|
+
controls: "Purchase-order create/update cost column and compare-price toggle."
|
|
50
|
+
},
|
|
46
51
|
{
|
|
47
52
|
key: "wastage-template",
|
|
48
53
|
label: "Wastage Template",
|
|
49
54
|
category: "premium",
|
|
50
|
-
flagKeys: ["inventory_pos_adjust_v2_wastage"],
|
|
51
55
|
controls: "Wastage navigation, templates, and ingredient template links."
|
|
52
56
|
},
|
|
53
57
|
{
|
|
@@ -61,19 +65,20 @@ const P = [
|
|
|
61
65
|
key: "closing-template",
|
|
62
66
|
label: "Closing Template",
|
|
63
67
|
category: "premium",
|
|
64
|
-
flagKeys: ["inventory_pos_closing_v2"],
|
|
65
68
|
controls: "Closing Template, Closing Draft, and ingredient template links."
|
|
66
69
|
},
|
|
67
70
|
{
|
|
68
71
|
key: "production-runs",
|
|
69
72
|
label: "Production Runs",
|
|
70
73
|
category: "beta",
|
|
74
|
+
flagKeys: ["inventory_portal_production_item"],
|
|
71
75
|
controls: "Production navigation, routes, and detail view."
|
|
72
76
|
},
|
|
73
77
|
{
|
|
74
78
|
key: "bulk-receive-transfer",
|
|
75
79
|
label: "Bulk Receive / Transfer",
|
|
76
80
|
category: "beta",
|
|
81
|
+
flagKeys: ["inventory_receive_request_beta"],
|
|
77
82
|
controls: "Purchase / Transfer in (New) navigation and bulk receive page."
|
|
78
83
|
},
|
|
79
84
|
{
|
|
@@ -202,73 +207,89 @@ const P = [
|
|
|
202
207
|
deprecateSoon: !0,
|
|
203
208
|
controls: "Legacy receive-flow behavior."
|
|
204
209
|
}
|
|
205
|
-
],
|
|
206
|
-
(
|
|
210
|
+
], p = k.map(
|
|
211
|
+
(t) => ({ ...t, definition: v(t) })
|
|
207
212
|
);
|
|
208
|
-
function
|
|
209
|
-
return
|
|
213
|
+
function c(t) {
|
|
214
|
+
return p.find((r) => r.key === t);
|
|
210
215
|
}
|
|
211
|
-
function
|
|
212
|
-
return
|
|
213
|
-
var
|
|
214
|
-
return (
|
|
216
|
+
function C(t) {
|
|
217
|
+
return p.filter((r) => {
|
|
218
|
+
var e;
|
|
219
|
+
return (e = r.flagKeys) == null ? void 0 : e.includes(t);
|
|
215
220
|
});
|
|
216
221
|
}
|
|
217
|
-
function u(
|
|
218
|
-
return
|
|
222
|
+
function u(t, r) {
|
|
223
|
+
return r === "inventory_portal_must_use_transfer_template" ? t.enablePoTemplate : t.isFlagOn(r);
|
|
219
224
|
}
|
|
220
|
-
function
|
|
221
|
-
const
|
|
222
|
-
const
|
|
223
|
-
return
|
|
225
|
+
function _(t) {
|
|
226
|
+
const r = h(), e = l(() => {
|
|
227
|
+
const a = y(t);
|
|
228
|
+
return a ? m(a, r.value) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
|
|
224
229
|
});
|
|
225
230
|
return {
|
|
226
|
-
result:
|
|
227
|
-
enabled:
|
|
228
|
-
disabled:
|
|
229
|
-
stage:
|
|
230
|
-
eligible:
|
|
231
|
-
reason:
|
|
231
|
+
result: e,
|
|
232
|
+
enabled: l(() => e.value.enabled),
|
|
233
|
+
disabled: l(() => e.value.disabled),
|
|
234
|
+
stage: l(() => e.value.stage),
|
|
235
|
+
eligible: l(() => e.value.eligible),
|
|
236
|
+
reason: l(() => e.value.reason)
|
|
232
237
|
};
|
|
233
238
|
}
|
|
234
|
-
function
|
|
235
|
-
const
|
|
236
|
-
return
|
|
237
|
-
var
|
|
239
|
+
function h() {
|
|
240
|
+
const t = s(), r = f(), e = g();
|
|
241
|
+
return l(() => {
|
|
242
|
+
var a, o;
|
|
238
243
|
return {
|
|
239
|
-
isFlagOn: (
|
|
240
|
-
|
|
241
|
-
|
|
244
|
+
isFlagOn: (i) => u(t, i),
|
|
245
|
+
premium: t.premium,
|
|
246
|
+
businessId: (a = r.currentBusiness.value) == null ? void 0 : a._id,
|
|
247
|
+
locationId: (o = e._currentLocation) == null ? void 0 : o.doc._id
|
|
242
248
|
};
|
|
243
249
|
});
|
|
244
250
|
}
|
|
245
|
-
function
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
251
|
+
function w(t) {
|
|
252
|
+
const r = s(), e = g(), a = l(() => c(b(t))), o = _(l(() => {
|
|
253
|
+
var n;
|
|
254
|
+
return ((n = a.value) == null ? void 0 : n.definition) ?? null;
|
|
255
|
+
})), i = l(() => {
|
|
256
|
+
var n;
|
|
257
|
+
return ((n = e._currentLocation) == null ? void 0 : n.dbName) ?? null;
|
|
258
|
+
});
|
|
259
|
+
return {
|
|
260
|
+
state: l(() => {
|
|
261
|
+
const n = r.loadState;
|
|
262
|
+
return !i.value || n.dbName !== i.value ? "loading" : n.status === "error" ? "error" : n.status !== "ready" ? "loading" : a.value ? o.enabled.value ? "enabled" : a.value.category === "premium" ? "upgrade" : "unavailable" : "unavailable";
|
|
263
|
+
}),
|
|
264
|
+
feature: a,
|
|
265
|
+
dbName: i,
|
|
266
|
+
result: o.result,
|
|
267
|
+
retry: () => r.retryLoad()
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
function K(t) {
|
|
271
|
+
var a;
|
|
272
|
+
const r = (a = c(t)) == null ? void 0 : a.definition;
|
|
273
|
+
if (!r) return { enabled: !1, disabled: !0, stage: "off", eligible: !1 };
|
|
274
|
+
const e = s();
|
|
275
|
+
return m(r, {
|
|
276
|
+
isFlagOn: (o) => u(e, o),
|
|
277
|
+
premium: e.premium
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function x(t) {
|
|
281
|
+
var a;
|
|
282
|
+
const r = s(), e = c(t ?? "");
|
|
283
|
+
return (a = e == null ? void 0 : e.flagKeys) != null && a.length ? e.flagKeys.some((o) => u(r, o)) : (e == null ? void 0 : e.category) !== "premium" || r.premium;
|
|
249
284
|
}
|
|
250
|
-
const I = /* @__PURE__ */ m({
|
|
251
|
-
__name: "PlanTierBadge",
|
|
252
|
-
props: {
|
|
253
|
-
tier: {}
|
|
254
|
-
},
|
|
255
|
-
setup(e) {
|
|
256
|
-
return (a, t) => {
|
|
257
|
-
const r = d("FmPill");
|
|
258
|
-
return a.tier === "premium" ? (f(), y(r, {
|
|
259
|
-
key: 0,
|
|
260
|
-
variant: "premium"
|
|
261
|
-
})) : b("", !0);
|
|
262
|
-
};
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
285
|
export {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
286
|
+
C as a,
|
|
287
|
+
w as b,
|
|
288
|
+
_ as c,
|
|
289
|
+
T as d,
|
|
290
|
+
m as e,
|
|
291
|
+
K as f,
|
|
292
|
+
c as g,
|
|
293
|
+
x as i,
|
|
294
|
+
h as u
|
|
274
295
|
};
|