@feedmepos/mf-inventory-portal 1.8.0-dev.2 → 1.8.0-dev.21

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.
Files changed (248) hide show
  1. package/dist/App-BxpqrT2x.js +1445 -0
  2. package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-DZBM9n1Y.js} +26 -25
  3. package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-jjHrmqY_.js} +2 -2
  4. package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-Dv1KwHIQ.js} +2 -2
  5. package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-Ch_TlrZu.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-BVB3PNxF.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DpHYhOmI.js} +1 -1
  8. package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-DQQkWYOh.js} +748 -746
  9. package/dist/ClosingHistoryView-CXXd0Csp.js +769 -0
  10. package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-Bf5Ivxjw.js} +22 -21
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C3Y_rwNE.js} +1 -1
  12. package/dist/{DefaultView-JC_e4xgC.js → DefaultView-Bt8ZFV10.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-BS5ZKe1f.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-BvDFKrFF.js} +10077 -9950
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-B389iY-f.js +48 -0
  16. package/dist/FeatureCapabilityGate-BAOroN-j.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-Xapa8xyy.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CgbvPK8u.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DnCj1qv6.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CUb4VGOc.js} +2 -2
  21. package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-Bz8bNuK2.js} +2 -2
  22. package/dist/FmMultiselectDialog-CosTDuNE.js +123 -0
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-3OrHiybe.js} +105 -99
  24. package/dist/ImportView-BoTmcCyn.js +1540 -0
  25. package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-VED94pGW.js} +691 -689
  26. package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-B9ZY9hG1.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-Bar1zj3R.js +13385 -0
  28. package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-BvzBDBGp.js} +2604 -2565
  29. package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-DWhXHIaL.js} +1 -1
  30. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-mZRrPywY.js +472 -0
  31. package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-Imo2J8O2.js} +1 -1
  32. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  33. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CChCnKxa.js +79 -0
  34. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
  35. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
  36. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  37. package/dist/ProductionRunDetailPage-KFKeWhhY.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CobaPkUr.js} +3053 -3163
  39. package/dist/ProductionRunPage-BrXsPo-A.js +954 -0
  40. package/dist/{PublishView-CPK9NeVF.js → PublishView-_k3N44Pl.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-DXVEhy-G.js} +17 -17
  42. package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-ByWddqiL.js} +17 -16
  43. package/dist/RecipeView-C29uNZxj.js +3272 -0
  44. package/dist/SettingsView-CyE6ZM8x.js +1005 -0
  45. package/dist/StockView-BBR404Ie.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cmnk66T9.js} +1 -1
  47. package/dist/{SupplierView-BKxKoi_0.js → SupplierView-CIB5GCwp.js} +304 -301
  48. package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-DNtEbO7I.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-ClCi5rLI.js} +2 -2
  50. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  51. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C19KOLrQ.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DD5nMsrn.js +4953 -0
  53. package/dist/TransferTemplateView-BftwH1_W.js +2347 -0
  54. package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-CE-1joTV.js} +4 -4
  55. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-reJFavQF.js} +4 -4
  56. package/dist/{UnitView-BqdK1AM_.js → UnitView-T-Vo8IpV.js} +111 -106
  57. package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-CzQcj5VY.js} +12 -11
  58. package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-Cm5_V2zN.js} +19 -18
  59. package/dist/api/bill.d.ts +4 -2
  60. package/dist/api/bill.spec.d.ts +1 -0
  61. package/dist/api/closing.d.ts +1 -0
  62. package/dist/api/feature-flags.d.ts +4 -0
  63. package/dist/api/integration-sync-log.d.ts +0 -13
  64. package/dist/api/license.d.ts +0 -2
  65. package/dist/api/netsuite-explorer.d.ts +1 -0
  66. package/dist/api/stock.d.ts +1 -1
  67. package/dist/{app-yvK__CBL.js → app-DnOtng5V.js} +10177 -10126
  68. package/dist/app.d.ts +151 -164
  69. package/dist/app.js +1 -1
  70. package/dist/bulk-edit-simulation.helper-BZRyNbpM.js +178 -0
  71. package/dist/{closing-template-DezidSM0.js → closing-template-BiJRchG9.js} +4 -4
  72. package/dist/components/FeatureCapabilityBadge.vue.d.ts +4 -0
  73. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  74. package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
  75. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  76. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  77. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  78. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  79. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  80. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  81. package/dist/components/FmUnitInputProps.d.ts +1 -0
  82. package/dist/components/FmUnitInputRules.d.ts +1 -1
  83. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  84. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  85. package/dist/{views/ingredient-group/IngredientGroupView.vue.d.ts → components/PremiumUpgradePage.vue.d.ts} +0 -1
  86. package/dist/components/TemplatePublishDialog.d.ts +2 -0
  87. package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
  88. package/dist/composable/defineApi.d.ts +1 -1
  89. package/dist/{date2-2XjepIqc.js → date2-Bzlk0lSj.js} +1 -1
  90. package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-B8gqMYa7.js} +1 -1
  91. package/dist/{decimal-Z7oJdGk8.js → decimal-utE08Cjv.js} +2 -2
  92. package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-D_tKNP-n.js} +5 -5
  93. package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-lCi99jVD.js} +1 -1
  94. package/dist/{feature-CkWaZ-5K.js → feature-Zeyz4pJe.js} +2089 -2854
  95. package/dist/feature-flags/core.d.ts +4 -2
  96. package/dist/feature-flags/portal-feature-catalog.d.ts +1 -6
  97. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  98. package/dist/feature-flags/vue.d.ts +24 -1
  99. package/dist/feature-flags/vue.spec.d.ts +1 -0
  100. package/dist/{format-time-from-id-DatSI9uD.js → format-time-from-id-v_KvI4jM.js} +1 -1
  101. package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-C8oexlpM.js} +209 -208
  102. package/dist/helper/country.spec.d.ts +1 -0
  103. package/dist/helper/menu-usage-module.d.ts +2 -1
  104. package/dist/helper/number.d.ts +5 -1
  105. package/dist/helper/rules.d.ts +1 -1
  106. package/dist/{id-to-date-Dxw2jKhy.js → id-to-date-Doi1vn9Q.js} +1 -1
  107. package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-DyRPa4wa.js} +17 -17
  108. package/dist/{index-CIH9NCvs.js → index-B-SVjo8N.js} +1 -1
  109. package/dist/{index-ClYgfwW7.js → index-Bl8qrC1m.js} +2234 -2163
  110. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  111. package/dist/{index-7fz5sGDO.js → index-DZ9i-1uy.js} +3 -3
  112. package/dist/index-eGvSlWMU.js +1892 -0
  113. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  114. package/dist/{lz-string-CCsc2X7t.js → lz-string-pPNhTzCj.js} +1 -1
  115. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  116. package/dist/{netsuite-COumFXC2.js → netsuite-C5s0JXRA.js} +254 -263
  117. package/dist/netsuite-explorer-BF-bujxD.js +79 -0
  118. package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-C6hmqqhm.js} +1 -1
  119. package/dist/production-run-list-DR1WsaBR.js +61 -0
  120. package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-C0XlITpK.js} +1 -1
  121. package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-CnzCEyIJ.js} +1 -1
  122. package/dist/router/name.d.ts +2 -2
  123. package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-Ci5mHFdS.js} +1 -1
  124. package/dist/rules-rAD4INHX.js +243 -0
  125. package/dist/{stock-B59sfN28.js → stock-CukGlv0u.js} +1 -1
  126. package/dist/stock-DUQYl3xe.js +78 -0
  127. package/dist/stores/feature.d.ts +41 -11
  128. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  129. package/dist/stores/inventory.d.ts +0 -47
  130. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  131. package/dist/stores/supplier.d.ts +1 -1
  132. package/dist/stores/warehouse.d.ts +1 -1
  133. package/dist/style.css +1 -1
  134. package/dist/{supplier-DnbLJ_cS.js → supplier-CDPdi2B5.js} +2 -2
  135. package/dist/{surcharge-C1uE3uQa.js → surcharge-XABFccMt.js} +1 -1
  136. package/dist/tsconfig.app.tsbuildinfo +1 -1
  137. package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-BbNTM-Xw.js} +1 -1
  138. package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-CxrFXfoM.js} +2 -2
  139. package/dist/use-inventory-binding-dialog-BZpguHE1.js +113 -0
  140. package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-B9n-uc36.js} +2 -2
  141. package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-z78M6XgR.js} +14 -14
  142. package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-CfMWeFGZ.js} +1 -1
  143. package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-B6dCSflb.js} +111 -117
  144. package/dist/{useSseClient-FCyLWq8k.js → useSseClient-ICUObHUB.js} +1 -1
  145. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  146. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1 -1
  147. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  148. package/dist/views/import/helper/submit-rows.d.ts +1 -1
  149. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  150. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  151. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  152. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  153. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  154. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
  155. package/dist/views/{ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts → integration/IntegrationPlatformView.vue.d.ts} +11 -24
  156. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  157. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  158. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  159. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  160. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  161. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
  162. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  163. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
  164. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
  165. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
  166. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
  167. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
  168. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
  169. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
  170. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
  171. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
  172. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
  173. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  174. package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
  175. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  176. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  177. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  178. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  179. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  180. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  181. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
  182. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +9 -9
  183. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  184. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
  185. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  186. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  187. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  188. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +20 -20
  189. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  190. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +2 -2
  191. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  192. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  193. package/dist/views/recipe/helper/import-recipe.d.ts +32 -2
  194. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  195. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  196. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +2 -0
  197. package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
  198. package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
  199. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  200. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
  201. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
  202. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  203. package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
  204. package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
  205. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  206. package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
  207. package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
  208. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
  209. package/dist/vue-DBxqzbt5.js +295 -0
  210. package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-CdbY8MsR.js} +539 -539
  211. package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-CD5NablT.js} +2 -2
  212. package/package.json +71 -66
  213. package/dist/App-DVHgBTHP.js +0 -1499
  214. package/dist/BulkReceiveRequestView-DxHWrfbi.js +0 -2656
  215. package/dist/ClosingHistoryView-kdpYGy1Y.js +0 -761
  216. package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js +0 -58
  217. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +0 -61
  218. package/dist/FmMultiselectDialog-yVPY5aBV.js +0 -77
  219. package/dist/ImportView-DQrVMzxN.js +0 -1302
  220. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js +0 -51
  221. package/dist/IngredientGroupView-BMUnEaY7.js +0 -1000
  222. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js +0 -563
  223. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js +0 -72
  224. package/dist/ProductionRunDetailView-Cw-ecaey.js +0 -2312
  225. package/dist/ProductionRunView-C11eseXQ.js +0 -930
  226. package/dist/RecipeView-oHDWsT0P.js +0 -3624
  227. package/dist/SettingsView-QlUNwFhM.js +0 -983
  228. package/dist/StockView-a8LbVZ_7.js +0 -2614
  229. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  230. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js +0 -299
  231. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js +0 -4796
  232. package/dist/TransferTemplateView-CzwxOBMQ.js +0 -2326
  233. package/dist/menu-usage-module-BdjYEk3s.js +0 -57
  234. package/dist/number-gSLvxNqA.js +0 -138
  235. package/dist/portal-feature-catalog-yGIESKTc.js +0 -246
  236. package/dist/random-CSbEbElR.js +0 -10
  237. package/dist/rules-C1btu0Md.js +0 -98
  238. package/dist/stock-BF86TMW0.js +0 -75
  239. package/dist/use-inventory-binding-dialog-Cc1tjTfV.js +0 -152
  240. package/dist/usePromise-CbVUCxhj.js +0 -29
  241. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  242. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  243. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  244. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  245. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  246. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  247. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  248. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-COumFXC2.js";
2
+ import { u } from "./netsuite-C5s0JXRA.js";
3
3
  function i(e) {
4
4
  const t = (n) => !!n && n.toLocaleLowerCase().includes("inactive");
5
5
  return t(e.name) || t(e.abbrev);
@@ -1,6 +1,6 @@
1
1
  import { defineStore as S } from "pinia";
2
- import { a as b } from "./app-yvK__CBL.js";
3
- import { a as A } from "./FmMultiselectDialog-DCaRlBIy.js";
2
+ import { a as b } from "./app-DnOtng5V.js";
3
+ import { a as A } from "./FmMultiselectDialog-Bz8bNuK2.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(
@@ -0,0 +1,113 @@
1
+ import { a as y } from "./FmMultiselectDialog-Bz8bNuK2.js";
2
+ import { a as S } from "./app-DnOtng5V.js";
3
+ import { useDialog as E } from "@feedmepos/ui-library";
4
+ function w() {
5
+ const c = S(), g = E();
6
+ async function _(s, p, d, f = []) {
7
+ var n, a;
8
+ const b = s.filter((i) => i.type === "SKU"), l = s.filter((i) => i.type !== "SKU"), r = /* @__PURE__ */ new Set();
9
+ if (d)
10
+ for (const i of c.skus)
11
+ !f.some((o) => o === i._id) && i._id !== d && !((a = (n = i.convert) == null ? void 0 : n.inventoryBindings) != null && a.some((o) => o.id === d)) || r.add(i._id);
12
+ const m = c.skus.map((i) => ({
13
+ label: i.name,
14
+ sublabel: `${i.code}${r.has(i._id) ? " (Cannot bind, will cause recursive binding)" : ""}`,
15
+ value: i,
16
+ disabled: r.has(i._id)
17
+ })), u = m.filter(
18
+ (i) => b.find((t) => t.id === i.value._id) && !r.has(i.value._id)
19
+ ).map((i) => i.value);
20
+ g.open({
21
+ title: "Select ingredients",
22
+ contentComponent: y,
23
+ contentComponentProps: {
24
+ items: m,
25
+ modelValue: u,
26
+ virtualScroll: !0
27
+ },
28
+ primaryActions: {
29
+ text: "Confirm",
30
+ close: !0
31
+ },
32
+ secondaryActions: {
33
+ text: "Close",
34
+ close: !0,
35
+ variant: "tertiary"
36
+ }
37
+ }).onPrimary((i) => {
38
+ const t = [
39
+ ...l,
40
+ ...s.filter((o) => i.find((e) => e._id === o.id)),
41
+ ...i.filter((o) => !s.find((e) => e.id === o._id)).map((o) => ({
42
+ type: "SKU",
43
+ id: o._id,
44
+ amount: {
45
+ amount: 1,
46
+ precision: 0
47
+ }
48
+ }))
49
+ ];
50
+ p(t);
51
+ });
52
+ }
53
+ async function v(s, p, d = []) {
54
+ var u;
55
+ const f = s.filter((n) => n.type === "RECIPE"), b = s.filter((n) => n.type !== "RECIPE"), l = /* @__PURE__ */ new Set();
56
+ if (d.length)
57
+ for (const n of c.recipes) {
58
+ const a = ((u = c.recipeBindingFlattenCache[n._id]) == null ? void 0 : u.inventoryBindings) ?? [], i = a.some(
59
+ (e) => e.bindingPaths.some((C) => d.some((h) => h === C.id))
60
+ ), t = a.some(
61
+ (e) => "success" in e && d.includes(e.ingredient._id)
62
+ );
63
+ (d.some((e) => e === n._id) || i || t) && l.add(n._id);
64
+ }
65
+ const r = c.recipes.filter((n) => !d.includes(n._id)).map((n) => ({
66
+ label: n.name,
67
+ sublabel: l.has(n._id) ? "(Cannot bind, will cause recursive binding)" : `${n.contains.length} inventory bindings`,
68
+ value: n,
69
+ disabled: l.has(n._id)
70
+ })), m = r.filter(
71
+ (n) => f.find((a) => a.id === n.value._id) && !l.has(n.value._id)
72
+ ).map((n) => n.value);
73
+ g.open({
74
+ title: "Select recipes",
75
+ contentComponent: y,
76
+ contentComponentProps: {
77
+ items: r,
78
+ modelValue: m,
79
+ virtualScroll: !0
80
+ },
81
+ primaryActions: {
82
+ text: "Confirm",
83
+ close: !0
84
+ },
85
+ secondaryActions: {
86
+ text: "Close",
87
+ close: !0,
88
+ variant: "tertiary"
89
+ }
90
+ }).onPrimary((n) => {
91
+ const a = [
92
+ ...s.filter((i) => n.find((t) => t._id === i.id)),
93
+ ...n.filter((i) => !s.find((t) => t.id === i._id)).map((i) => ({
94
+ type: "RECIPE",
95
+ id: i._id,
96
+ amount: {
97
+ amount: 1,
98
+ precision: 0
99
+ }
100
+ })),
101
+ ...b
102
+ ];
103
+ p(a);
104
+ });
105
+ }
106
+ return {
107
+ promptIngredientsBinding: _,
108
+ promptRecipesBinding: v
109
+ };
110
+ }
111
+ export {
112
+ w as u
113
+ };
@@ -1,5 +1,5 @@
1
- import { a as A } from "./FmMultiselectDialog-DCaRlBIy.js";
2
- import { u as S } from "./app-yvK__CBL.js";
1
+ import { a as A } from "./FmMultiselectDialog-Bz8bNuK2.js";
2
+ import { u as S } from "./app-DnOtng5V.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, $ as w, a2 as R } from "./app-yvK__CBL.js";
2
- import { u as E } from "./supplier-DnbLJ_cS.js";
1
+ import { u as g, r as l, a1 as w, a4 as R } from "./app-DnOtng5V.js";
2
+ import { u as E } from "./supplier-CDPdi2B5.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 p = E(), t = g();
29
+ const a = E(), t = g();
30
30
  t.watchLocation(async () => {
31
- var a;
32
- await p.readSuppliers();
31
+ var p;
32
+ await a.readSuppliers();
33
33
  const s = n();
34
- if ((a = s.supplier) != null && a._id || s.template) return;
35
- const e = f ? p.suppliers[0] : p.businessSuppliers[0], r = (y ? t.locations.filter((i) => i.doc._id !== t.currentLocation.doc._id) : t.locations)[0];
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 ? p.suppliers : p.businessSuppliers).find((N) => N._id === s);
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 a = (y ? t.allLocations.filter(
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: a ? _(a) : e.supplier
65
+ supplier: p ? _(p) : e.supplier
66
66
  });
67
67
  }
68
- }), v = u(() => p.locationSuppliers.map(d)), T = u(() => p.businessSuppliers.map(d)), S = 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, a;
96
- const s = (a = (r = n()) == null ? void 0 : r.supplier) == null ? void 0 : a._id;
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 = p.suppliers.find((m) => m._id === s);
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,5 +1,5 @@
1
1
  import { computed as p, toValue as o } from "vue";
2
- import { ab as n } from "./app-yvK__CBL.js";
2
+ import { ad as n } from "./app-DnOtng5V.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,10 +1,10 @@
1
- import { computed as E, h as P } from "vue";
2
- import { R as e, ac as C, ad as O, ab as f } from "./app-yvK__CBL.js";
3
- import { useCoreStore as b, useI18n as _ } from "@feedmepos/mf-common";
4
- import { u as U } from "./feature-CkWaZ-5K.js";
5
- import { e as A, d as L, g as p } from "./portal-feature-catalog-yGIESKTc.js";
6
- import { a as G } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js";
7
- const S = [
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-DnOtng5V.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-Zeyz4pJe.js";
5
+ import { e as G, g, d as M, f as F, i as H } from "./vue-DBxqzbt5.js";
6
+ import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-B389iY-f.js";
7
+ const h = [
8
8
  {
9
9
  route: e.STOCK,
10
10
  module: "Stock",
@@ -20,10 +20,10 @@ const S = [
20
20
  },
21
21
  {
22
22
  route: e.UNIT_COST_HISTORY,
23
- module: "Stock",
23
+ module: "Costing",
24
24
  tier: "premium",
25
25
  description: "Review unit-cost history and costing changes.",
26
- featureKey: "total-cost"
26
+ featureKey: "unit-cost"
27
27
  },
28
28
  {
29
29
  route: e.WASTAGE_TEMPLATE,
@@ -58,13 +58,6 @@ const S = [
58
58
  tier: "standard",
59
59
  description: "Manage ingredients and SKUs."
60
60
  },
61
- {
62
- route: e.INGREDIENT_GROUP,
63
- module: "Catalogue",
64
- tier: "standard",
65
- description: "Organize ingredients into reusable groups.",
66
- featureKey: "ingredient-group"
67
- },
68
61
  {
69
62
  route: e.RECIPE,
70
63
  module: "Catalogue",
@@ -147,84 +140,90 @@ const S = [
147
140
  tier: "standard",
148
141
  description: "Inspect and manage integration records and synchronization."
149
142
  }
150
- ], y = Object.fromEntries(
151
- S.map((s) => {
152
- var n, u;
143
+ ], k = Object.fromEntries(
144
+ h.map((o) => {
145
+ var u;
146
+ const s = g(o.featureKey ?? "");
153
147
  return [
154
- s.route,
155
- L({
156
- key: s.route,
157
- minimumTier: s.tier,
158
- release: s.release ?? ((u = (n = p(s.featureKey ?? "")) == null ? void 0 : n.definition) == null ? void 0 : u.release)
148
+ o.route,
149
+ M({
150
+ key: o.route,
151
+ minimumTier: o.tier,
152
+ release: o.release ?? ((u = s == null ? void 0 : s.definition) == null ? void 0 : u.release),
153
+ flagKeys: s == null ? void 0 : s.flagKeys
159
154
  })
160
155
  ];
161
156
  })
162
157
  );
163
- function H(s) {
164
- return S.find((n) => n.route === s) ?? null;
158
+ function B(o) {
159
+ return h.find((s) => s.route === o) ?? null;
165
160
  }
166
- function M(s) {
167
- return s ? y[s] ?? null : null;
161
+ function D(o) {
162
+ return o ? k[o] ?? null : null;
168
163
  }
169
- function w(s, n) {
170
- const u = M(s);
171
- return u ? A(u, n) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
164
+ function x(o, s) {
165
+ const u = D(o);
166
+ return u ? G(u, s) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
172
167
  }
173
- const K = O.reduce(
174
- (s, n) => {
168
+ const V = A.reduce(
169
+ (o, s) => {
175
170
  var u;
176
- return n.name && (s[n.name] = (u = n.meta) == null ? void 0 : u.validationManifest), s;
171
+ return s.name && (o[s.name] = (u = s.meta) == null ? void 0 : u.validationManifest), o;
177
172
  },
178
173
  {}
179
174
  );
180
- function Q() {
181
- const s = b(), n = U(), { t: u } = _(), t = (i) => C(i, u), g = E(
175
+ function z() {
176
+ const o = b(), s = y(), { t: u } = L(), a = (t) => O(t, u), _ = R(
182
177
  () => {
183
- var i;
184
- return ((i = s.sessionUser.value) == null ? void 0 : i.permissions) ?? [];
178
+ var t;
179
+ return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
185
180
  }
186
- ), h = (i = []) => i.length === 0 ? !0 : f(i, g.value).granted, a = (i) => {
187
- const r = K[i];
188
- return h(r == null ? void 0 : r.requiredCaslPermissions);
189
- }, R = (i) => i.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: R(r.children) } : r).filter((r) => !r.children || r.children.length > 0), T = (i) => i.map((r) => {
190
- const { hide: d, children: o, ...l } = r, c = { ...l };
191
- return o && (c.children = T(o)), c;
192
- }), I = (i) => i.map((r) => {
193
- const d = r.value, o = H(d), l = p((o == null ? void 0 : o.featureKey) ?? ""), c = l == null ? void 0 : l.category, v = o && (o.tier === "premium" || c === "beta" || l != null && l.deprecateSoon) ? () => P(G, {
194
- tier: o.tier,
195
- category: c,
196
- deprecateSoon: l == null ? void 0 : l.deprecateSoon
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) => {
185
+ var r;
186
+ return ((r = s.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
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) => {
188
+ const { hide: d, children: i, ...l } = r, T = { ...l };
189
+ return i && (T.children = I(i)), T;
190
+ }), p = (t) => t.map((r) => {
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, {
192
+ tier: i.tier,
193
+ category: T,
194
+ deprecateSoon: l == null ? void 0 : l.deprecateSoon,
195
+ featureKey: i.featureKey
197
196
  }) : void 0;
198
197
  return {
199
198
  ...r,
200
- badge: v,
201
- children: r.children ? I(r.children) : void 0
199
+ badge: C,
200
+ children: r.children ? p(r.children) : void 0
202
201
  };
203
- }), m = E(() => {
202
+ }), S = R(() => {
204
203
  var d;
205
- const i = [
204
+ const t = [
206
205
  {
207
- label: t(e.STOCK),
206
+ label: a(e.STOCK),
208
207
  children: [
209
208
  {
210
209
  label: u("inventory.stock.stock_balance.title"),
211
210
  value: e.STOCK,
212
- hide: !a(e.STOCK)
211
+ hide: !n(e.STOCK)
213
212
  },
214
213
  {
215
- label: t(e.PRODUCTION_RUN),
214
+ label: a(e.PRODUCTION_RUN),
216
215
  value: e.PRODUCTION_RUN,
217
- hide: !a(e.PRODUCTION_RUN) || !n.enableProductionRun
216
+ hide: !n(e.PRODUCTION_RUN) || F("production-runs").disabled
218
217
  },
219
218
  {
220
- label: t(e.UNIT_COST_HISTORY),
221
- value: e.UNIT_COST_HISTORY,
222
- hide: !a(e.UNIT_COST_HISTORY) || !n.enableTotalCost
219
+ label: a(e.WASTAGE_TEMPLATE),
220
+ value: e.WASTAGE_TEMPLATE,
221
+ hide: !n(e.WASTAGE_TEMPLATE) || c(E.inventory_pos_adjust_v2_wastage)
223
222
  },
224
223
  {
225
- label: t(e.WASTAGE_TEMPLATE),
226
- value: e.WASTAGE_TEMPLATE,
227
- hide: !a(e.WASTAGE_TEMPLATE) || !n.enableWastageTemplate
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)
228
227
  }
229
228
  ]
230
229
  },
@@ -232,121 +231,116 @@ function Q() {
232
231
  label: u("inventory.closing.title"),
233
232
  children: [
234
233
  {
235
- label: t(e.CLOSING_HISTORY),
234
+ label: a(e.CLOSING_HISTORY),
236
235
  value: e.CLOSING_HISTORY,
237
- hide: !a(e.CLOSING_HISTORY)
236
+ hide: !n(e.CLOSING_HISTORY)
238
237
  },
239
238
  {
240
- label: t(e.CLOSING_TEMPLATE),
239
+ label: a(e.CLOSING_TEMPLATE),
241
240
  value: e.CLOSING_TEMPLATE,
242
- hide: !a(e.CLOSING_TEMPLATE) || !n.enableClosingTemplate
241
+ hide: !n(e.CLOSING_TEMPLATE) || c(E.inventory_pos_closing_v2)
243
242
  },
244
243
  {
245
- label: t(e.CLOSING_DRAFT),
244
+ label: a(e.CLOSING_DRAFT),
246
245
  value: e.CLOSING_DRAFT,
247
- hide: !a(e.CLOSING_DRAFT) || !n.enableClosingTemplate
246
+ hide: !n(e.CLOSING_DRAFT) || c(E.inventory_pos_closing_v2)
248
247
  }
249
248
  ]
250
249
  },
251
250
  {
252
- label: t(e.INGREDIENTS),
251
+ label: a(e.INGREDIENTS),
253
252
  value: e.INGREDIENTS,
254
- hide: !a(e.INGREDIENTS)
255
- },
256
- {
257
- label: t(e.INGREDIENT_GROUP),
258
- value: e.INGREDIENT_GROUP,
259
- hide: !a(e.INGREDIENT_GROUP) || !n.enableIngredientGroup
253
+ hide: !n(e.INGREDIENTS)
260
254
  },
261
255
  {
262
- label: t(e.RECIPE),
256
+ label: a(e.RECIPE),
263
257
  value: e.RECIPE,
264
- hide: !a(e.RECIPE)
258
+ hide: !n(e.RECIPE)
265
259
  },
266
260
  {
267
- label: t(e.UNIT),
261
+ label: a(e.UNIT),
268
262
  value: e.UNIT,
269
- hide: !a(e.UNIT)
263
+ hide: !n(e.UNIT)
270
264
  },
271
265
  {
272
266
  label: u("inventory.transfer.title"),
273
267
  children: [
274
268
  {
275
- label: t(e.RECEIVE_REQUEST),
269
+ label: a(e.RECEIVE_REQUEST),
276
270
  value: e.RECEIVE_REQUEST,
277
- hide: !a(e.RECEIVE_REQUEST)
271
+ hide: !n(e.RECEIVE_REQUEST)
278
272
  },
279
273
  {
280
- label: t(e.RECEIVE_REQUEST_BULK),
274
+ label: a(e.RECEIVE_REQUEST_BULK),
281
275
  value: e.RECEIVE_REQUEST_BULK,
282
- hide: !a(e.RECEIVE_REQUEST_BULK) || !n.enableReceiveRequestBeta
276
+ hide: !n(e.RECEIVE_REQUEST_BULK) || c(E.inventory_receive_request_beta)
283
277
  },
284
278
  {
285
- label: t(e.APPROVAL),
279
+ label: a(e.APPROVAL),
286
280
  value: e.APPROVAL,
287
- hide: !a(e.APPROVAL)
281
+ hide: !n(e.APPROVAL)
288
282
  },
289
283
  {
290
- label: t(e.SURCHARGE),
284
+ label: a(e.SURCHARGE),
291
285
  value: e.SURCHARGE,
292
- hide: !a(e.SURCHARGE) || !n.enableSurcharge
286
+ hide: !n(e.SURCHARGE) || c(E.inventory_portal_surcharge)
293
287
  },
294
288
  {
295
- label: t(e.TRANSFER_TEMPLATE),
289
+ label: a(e.TRANSFER_TEMPLATE),
296
290
  value: e.TRANSFER_TEMPLATE,
297
- hide: !a(e.TRANSFER_TEMPLATE) || !n.enablePoTemplate
291
+ hide: !n(e.TRANSFER_TEMPLATE) || c(E.inventory_portal_must_use_transfer_template) && !H("purchase-order-template")
298
292
  }
299
293
  ]
300
294
  },
301
295
  {
302
- label: t(e.SUPPLIER),
296
+ label: a(e.SUPPLIER),
303
297
  value: e.SUPPLIER,
304
- hide: !a(e.SUPPLIER)
298
+ hide: !n(e.SUPPLIER)
305
299
  },
306
300
  {
307
- label: t(e.WAREHOUSE),
301
+ label: a(e.WAREHOUSE),
308
302
  value: e.WAREHOUSE,
309
- hide: !a(e.WAREHOUSE)
303
+ hide: !n(e.WAREHOUSE)
310
304
  },
311
305
  {
312
- label: t(e.PUBLISH),
306
+ label: a(e.PUBLISH),
313
307
  value: e.PUBLISH,
314
- hide: !a(e.PUBLISH)
308
+ hide: !n(e.PUBLISH)
315
309
  },
316
310
  {
317
- label: t(e.IMPORT),
311
+ label: a(e.IMPORT),
318
312
  value: e.IMPORT,
319
- hide: !a(e.IMPORT) || !n.enableBulkImport
313
+ hide: !n(e.IMPORT) || c(E.inventory_bulk_import)
320
314
  },
321
315
  {
322
- label: t(e.INTEGRATION),
316
+ label: a(e.INTEGRATION),
323
317
  value: e.INTEGRATION,
324
- hide: !a(e.INTEGRATION)
318
+ hide: !n(e.INTEGRATION)
325
319
  },
326
320
  {
327
- label: t(e.SETTINGS),
321
+ label: a(e.SETTINGS),
328
322
  value: e.SETTINGS,
329
- hide: !a(e.SETTINGS)
323
+ hide: !n(e.SETTINGS)
330
324
  }
331
- ], r = I(T(R(i)));
332
- return ((d = s.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
333
- (o) => o.value !== e.INGREDIENTS && o.value !== e.RECIPE && o.value !== e.UNIT && o.value !== e.PUBLISH
325
+ ], r = p(I(m(t)));
326
+ return ((d = o.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
327
+ (i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
334
328
  ) : r;
335
- }), N = E(() => {
336
- function i(d) {
337
- for (const o of d)
338
- if (o.children && o.children.length > 0) {
339
- const l = i(o.children);
329
+ }), N = R(() => {
330
+ function t(d) {
331
+ for (const i of d)
332
+ if (i.children && i.children.length > 0) {
333
+ const l = t(i.children);
340
334
  if (l) return l;
341
- } else if (o.value)
342
- return o.value;
335
+ } else if (i.value)
336
+ return i.value;
343
337
  }
344
- return i(m.value) ?? null;
338
+ return t(S.value) ?? null;
345
339
  });
346
- return { menuItems: m, firstAccessibleRouteName: N };
340
+ return { menuItems: S, firstAccessibleRouteName: N };
347
341
  }
348
342
  export {
349
- w as e,
350
- S as n,
351
- Q as u
343
+ x as e,
344
+ h as n,
345
+ z as u
352
346
  };
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-yvK__CBL.js";
1
+ import { d as se } from "./app-DnOtng5V.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -14,13 +14,13 @@ export declare function useSnapshotDiff(): {
14
14
  isLoading: import("vue").Ref<boolean, boolean>;
15
15
  result: import("vue").Ref<{
16
16
  diff: {
17
- type: "add" | "del" | "same" | "skip";
17
+ type: "del" | "add" | "same" | "skip";
18
18
  text: string;
19
19
  }[] | null;
20
20
  conflict: boolean;
21
21
  } | null, SnapshotResult | {
22
22
  diff: {
23
- type: "add" | "del" | "same" | "skip";
23
+ type: "del" | "add" | "same" | "skip";
24
24
  text: string;
25
25
  }[] | null;
26
26
  conflict: boolean;
@@ -362,7 +362,7 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
362
362
  onLocationChanged: () => Promise<void>;
363
363
  loadDraft: (draftId: string) => Promise<void>;
364
364
  updateDraftRef: (draft: FdoClosingDraft) => Promise<void>;
365
- }, "loading" | "columnDefs" | "dateRange" | "tableKey" | "drafts">>, Pick<{
365
+ }, "loading" | "drafts" | "columnDefs" | "dateRange" | "tableKey">>, Pick<{
366
366
  columnDefs: ColumnDef<DraftWithDisplay>[];
367
367
  drafts: import("vue").Ref<{
368
368
  _rev: string;
@@ -1 +1 @@
1
- export declare function draftStatusToClassName(status: F_CLOSING_DRAFT_STATUS): "fm-status-badge-draft" | "fm-status-badge-cancel" | "fm-status-badge-processing" | "fm-status-badge-complete";
1
+ export declare function draftStatusToClassName(status: F_CLOSING_DRAFT_STATUS): "fm-status-badge-processing" | "fm-status-badge-draft" | "fm-status-badge-cancel" | "fm-status-badge-complete";
@@ -4,7 +4,7 @@
4
4
  * The bulk API must receive the entity alone: rows submitted whole persisted
5
5
  * `errors: []` into the inventory doc's skus/recipes/units, which then
6
6
  * surfaced in the changelog as a phantom "Errors" field on every later edit.
7
- * One boundary, one strip: valid rows only, `errors` removed.
7
+ * One boundary, one strip: valid rows only, `errors`, `warnings` and `changes` removed.
8
8
  *
9
9
  * Untyped by necessity: the rows come off `importSummary` (a `ref<any>`), so a
10
10
  * generic would only infer its own constraint and then fail against the typed
@@ -7,7 +7,6 @@ export interface InventoryBindingFormProps {
7
7
  iframeMode?: boolean;
8
8
  disabled?: boolean;
9
9
  readonly?: boolean;
10
- enableIngredientGroup?: boolean;
11
10
  /** recipe amounts may be keyed in with decimals — off keeps them whole numbers */
12
11
  allowRecipeDecimal?: boolean;
13
12
  }
@@ -1,5 +1,4 @@
1
1
  export declare function useInventoryBindingDialog(): {
2
2
  promptIngredientsBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (bindings: FdoInventoryBinding[]) => void, excludeBindingId?: string, excludeIds?: string[]) => Promise<void>;
3
3
  promptRecipesBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (mv: FdoInventoryBinding[]) => void, excludeIds?: string[]) => Promise<void>;
4
- promptIngredientGroupsBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (mv: FdoInventoryBinding[]) => void, excludeIds?: string[]) => Promise<void>;
5
4
  };
@@ -18,7 +18,6 @@ export interface InventoryBindingFormProps {
18
18
  readonly?: boolean;
19
19
  recipeBindingConfig?: InventoryRecipeBindingFormConfig;
20
20
  skuBindingConfig?: InventorySkuBindingFormConfig;
21
- enableIngredientGroup?: boolean;
22
21
  /** recipe amounts may be keyed in with decimals — off keeps them whole numbers */
23
22
  allowRecipeDecimal?: boolean;
24
23
  }
@@ -1,5 +1,4 @@
1
1
  export declare function useInventoryBindingDialogV2(): {
2
2
  promptIngredientsBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (bindings: FdoInventoryBinding[]) => void, excludeBindingId?: string, excludeIds?: string[]) => Promise<void>;
3
3
  promptRecipesBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (mv: FdoInventoryBinding[]) => void, excludeIds?: string[]) => Promise<void>;
4
- promptIngredientGroupsBinding: (currentBindings: FdoInventoryBinding[], onUpdateInventoryBindings: (mv: FdoInventoryBinding[]) => void, excludeIds?: string[]) => Promise<void>;
5
4
  };