@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
@@ -0,0 +1,178 @@
1
+ import { F as y } from "./decimal-utE08Cjv.js";
2
+ import { F as m } from "./app-DnOtng5V.js";
3
+ function h(n, a, t) {
4
+ const i = [];
5
+ for (const o of n)
6
+ if (o.type === m.enum.SKU)
7
+ i.push({ ...o, recipeIds: [...a] });
8
+ else if (o.type === m.enum.RECIPE) {
9
+ const e = t[o.id];
10
+ e && !a.has(o.id) && i.push(
11
+ ...h(e.contains, /* @__PURE__ */ new Set([...a, o.id]), t)
12
+ );
13
+ }
14
+ return i;
15
+ }
16
+ function k(n, a) {
17
+ return y.equal(n, a);
18
+ }
19
+ function c(n) {
20
+ if (n == null) return null;
21
+ const a = n.$and, t = n.$or;
22
+ return Array.isArray(a) && a.length === 0 || Array.isArray(t) && t.length === 0 || Object.keys(n).length === 0 ? null : JSON.stringify(n);
23
+ }
24
+ function p(n) {
25
+ const a = (n ?? []).map((t) => ({
26
+ _id: t._id,
27
+ trackingMeasurement: t.trackingMeasurement ?? null,
28
+ priority: t.priority ?? null,
29
+ default: t.default ?? null
30
+ })).sort((t, i) => t._id.localeCompare(i._id));
31
+ return JSON.stringify(a);
32
+ }
33
+ function g(n) {
34
+ return n.measurement ? y.multiplyDecimal(n.amount, n.measurement.conversion) : n.amount;
35
+ }
36
+ function f(n, a) {
37
+ var o, e;
38
+ if (n.type !== a.type || n.id !== a.id || !k(g(n), g(a))) return !1;
39
+ const t = ((o = n.measurement) == null ? void 0 : o.id) ?? null, i = ((e = a.measurement) == null ? void 0 : e.id) ?? null;
40
+ return !(t !== i || c(n.rules) !== c(a.rules) || p(n.alternatives) !== p(a.alternatives));
41
+ }
42
+ function b(n, a) {
43
+ return n.type === a.type && n.id === a.id;
44
+ }
45
+ function E(n, a) {
46
+ const t = [];
47
+ let i = [...n.contains];
48
+ for (const e of a)
49
+ switch (e.type) {
50
+ case "remove-binding": {
51
+ const r = i.findIndex(
52
+ (s) => s.type === e.target.type && s.id === e.target.id
53
+ );
54
+ r === -1 ? t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" }) : (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied" }));
55
+ break;
56
+ }
57
+ case "add-binding": {
58
+ if (i.find((d) => f(d, e.binding))) {
59
+ t.push({ change: e, outcome: "already-satisfied", reason: "Exact binding already present" });
60
+ break;
61
+ }
62
+ if (i.find((d) => b(d, e.binding))) {
63
+ t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact binding already exists" });
64
+ break;
65
+ }
66
+ if (n.version === "v2" && e.binding.type === "RECIPE") {
67
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
68
+ break;
69
+ }
70
+ if (n.version !== "v2" && (e.binding.alternatives ?? []).length > 0) {
71
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add a binding with alternatives to a non-V2 recipe" });
72
+ break;
73
+ }
74
+ i = [...i, e.binding], t.push({ change: e, outcome: "applied" });
75
+ break;
76
+ }
77
+ case "replace-binding": {
78
+ const r = i.findIndex(
79
+ (l) => l.type === e.from.type && l.id === e.from.id
80
+ ), s = i.find((l) => f(l, e.to)), d = i.find((l, u) => u !== r && b(l, e.to) && !f(l, e.to));
81
+ if (r === -1) {
82
+ s ? t.push({ change: e, outcome: "already-satisfied", reason: "Target already has exact replacement" }) : t.push({ change: e, outcome: "ignored", reason: "Source binding not found in target" });
83
+ break;
84
+ }
85
+ if (n.version === "v2" && e.to.type === "RECIPE") {
86
+ t.push({ change: e, outcome: "blocked", reason: "Cannot add RECIPE binding to a V2 recipe" });
87
+ break;
88
+ }
89
+ if (n.version !== "v2" && (e.to.alternatives ?? []).length > 0) {
90
+ t.push({ change: e, outcome: "blocked", reason: "Cannot apply a binding with alternatives to a non-V2 recipe" });
91
+ break;
92
+ }
93
+ if (d) {
94
+ t.push({ change: e, outcome: "blocked", reason: "A similar but non-exact replacement binding already exists" });
95
+ break;
96
+ }
97
+ s ? (i = [...i.slice(0, r), ...i.slice(r + 1)], t.push({ change: e, outcome: "applied", reason: "Source removed; replacement already present" })) : (i = [
98
+ ...i.slice(0, r),
99
+ e.to,
100
+ ...i.slice(r + 1)
101
+ ], t.push({ change: e, outcome: "applied" }));
102
+ break;
103
+ }
104
+ case "update-binding-rule": {
105
+ const r = i.findIndex(
106
+ (u) => u.type === e.target.type && u.id === e.target.id
107
+ );
108
+ if (r === -1) {
109
+ t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
110
+ break;
111
+ }
112
+ const s = i[r], d = s.rules ?? null, l = e.rule ?? null;
113
+ if (c(d) === c(l)) {
114
+ t.push({ change: e, outcome: "already-satisfied", reason: "Rule already matches" });
115
+ break;
116
+ }
117
+ i = [
118
+ ...i.slice(0, r),
119
+ { ...s, rules: l },
120
+ ...i.slice(r + 1)
121
+ ], t.push({ change: e, outcome: "applied" });
122
+ break;
123
+ }
124
+ case "update-alternatives": {
125
+ if (n.version !== "v2") {
126
+ t.push({ change: e, outcome: "blocked", reason: "Cannot update alternatives on a non-V2 recipe" });
127
+ break;
128
+ }
129
+ const r = i.findIndex(
130
+ (u) => u.type === e.target.type && u.id === e.target.id
131
+ );
132
+ if (r === -1) {
133
+ t.push({ change: e, outcome: "ignored", reason: "Binding not found in target" });
134
+ break;
135
+ }
136
+ const s = i[r], d = p(s.alternatives), l = p(e.alternatives);
137
+ if (d === l) {
138
+ t.push({ change: e, outcome: "already-satisfied", reason: "Alternatives already match" });
139
+ break;
140
+ }
141
+ i = [
142
+ ...i.slice(0, r),
143
+ { ...s, alternatives: e.alternatives },
144
+ ...i.slice(r + 1)
145
+ ], t.push({ change: e, outcome: "applied" });
146
+ break;
147
+ }
148
+ }
149
+ return { projected: { ...n, contains: i }, results: t };
150
+ }
151
+ function C(n) {
152
+ switch (n.type) {
153
+ case "add-binding":
154
+ return n.binding.id !== "";
155
+ case "remove-binding":
156
+ return n.target.id !== "";
157
+ case "replace-binding":
158
+ return n.from.id !== "" && n.to.id !== "";
159
+ case "update-binding-rule":
160
+ return n.target.id !== "";
161
+ case "update-alternatives":
162
+ return n.target.id !== "";
163
+ }
164
+ }
165
+ function I(n) {
166
+ if (n.length === 0) return "no-applicable-changes";
167
+ let a = 0, t = 0, i = 0, o = 0;
168
+ for (const e of n)
169
+ e.outcome === "applied" ? a++ : e.outcome === "blocked" ? t++ : e.outcome === "ignored" ? i++ : e.outcome === "already-satisfied" && o++;
170
+ return t > 0 && a === 0 ? "blocked" : o === n.length ? "already-satisfied" : a > 0 && (i > 0 || t > 0) ? "partially-ignored" : a > 0 ? "will-update" : "no-applicable-changes";
171
+ }
172
+ export {
173
+ I as d,
174
+ h as f,
175
+ C as i,
176
+ c as n,
177
+ E as s
178
+ };
@@ -1,6 +1,6 @@
1
- import { d as u } from "./app-yvK__CBL.js";
1
+ import { d as u } from "./app-DnOtng5V.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
- const i = u((s, a) => {
3
+ const p = u((s, a) => {
4
4
  function r() {
5
5
  var n;
6
6
  return `business_${((n = m().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
@@ -87,7 +87,7 @@ const i = u((s, a) => {
87
87
  },
88
88
  async publishSingleDoc(e, t) {
89
89
  const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/publish/${e}`;
90
- return a.post(o, { locationDbNames: t });
90
+ return a.post(o, { locationDbNames: t }, void 0, 6e5);
91
91
  },
92
92
  async unpublishSingleDoc(e, t) {
93
93
  const n = r(), o = `${s.inventoryBackendUrl}/${n}/closing-template/unpublish/${e}`;
@@ -145,5 +145,5 @@ const i = u((s, a) => {
145
145
  });
146
146
  export {
147
147
  $ as a,
148
- i as u
148
+ p as u
149
149
  };
@@ -4,12 +4,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4
4
  tier: InventoryPlanTier;
5
5
  category?: PortalFeatureCategory | undefined;
6
6
  deprecateSoon?: boolean | undefined;
7
+ /** Catalogue key used to check whether the capability is already switched on by a rollout flag. */
8
+ featureKey?: string | undefined;
7
9
  /** Keep plan labels visible when describing a capability rather than prompting an upgrade. */
8
10
  informative?: boolean | undefined;
9
11
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
12
  tier: InventoryPlanTier;
11
13
  category?: PortalFeatureCategory | undefined;
12
14
  deprecateSoon?: boolean | undefined;
15
+ /** Catalogue key used to check whether the capability is already switched on by a rollout flag. */
16
+ featureKey?: string | undefined;
13
17
  /** Keep plan labels visible when describing a capability rather than prompting an upgrade. */
14
18
  informative?: boolean | undefined;
15
19
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,13 +1,18 @@
1
1
  import type { FeatureResult } from '@/feature-flags/core';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
3
  featureKey: string;
4
+ compact?: boolean | undefined;
5
+ showLockedContent?: boolean | undefined;
4
6
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
7
  locked: (result: FeatureResult) => void;
6
8
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
9
  featureKey: string;
10
+ compact?: boolean | undefined;
11
+ showLockedContent?: boolean | undefined;
8
12
  }>>> & Readonly<{
9
13
  onLocked?: ((result: FeatureResult) => any) | undefined;
10
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
+ locked?(_: {}): any;
11
16
  default?(_: {}): any;
12
17
  }>;
13
18
  export default _default;
@@ -0,0 +1,11 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
+ title?(_: {}): any;
3
+ default?(_: {}): any;
4
+ actions?(_: {}): any;
5
+ }>;
6
+ export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ featureKey: string;
3
+ /**
4
+ * For pages that switch the current location themselves (e.g. the bulk page
5
+ * sets it per PO or wizard step): once entered, the page stays mounted while
6
+ * the next location's flags load, and leaves only on a confirmed off or error.
7
+ */
8
+ keepAcrossLocations?: boolean | undefined;
9
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ featureKey: string;
11
+ /**
12
+ * For pages that switch the current location themselves (e.g. the bulk page
13
+ * sets it per PO or wizard step): once entered, the page stays mounted while
14
+ * the next location's flags load, and leaves only on a confirmed off or error.
15
+ */
16
+ keepAcrossLocations?: boolean | undefined;
17
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
18
+ default?(_: {}): any;
19
+ }>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
19
19
  contentClass: undefined;
20
20
  }>>> & Readonly<{}>, {
21
21
  title: string;
22
- contentClass: string;
23
22
  class: string;
23
+ contentClass: string;
24
24
  selectable: boolean;
25
25
  open: boolean;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
45
45
  reason: string[];
46
46
  }[]) => any) | undefined;
47
47
  }>, {
48
- disabled: boolean;
49
48
  label: string;
49
+ disabled: boolean;
50
50
  accept: string;
51
51
  maxFileSize: number;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<FmDroppableFieldSlots> & FmDroppableFieldSlots>;
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
61
61
  type: import("vue").PropType<{
62
62
  type: "string" | "number" | "date";
63
63
  key: string;
64
- entity: "restaurant" | "item";
64
+ entity: "item" | "restaurant";
65
65
  values?: string[] | undefined;
66
66
  options?: {
67
67
  value: string;
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
118
118
  type: import("vue").PropType<{
119
119
  type: "string" | "number" | "date";
120
120
  key: string;
121
- entity: "restaurant" | "item";
121
+ entity: "item" | "restaurant";
122
122
  values?: string[] | undefined;
123
123
  options?: {
124
124
  value: string;
@@ -17,6 +17,7 @@ export interface FmUnitInputProps extends FmTextFieldWithoutModelValue {
17
17
  stepper?: FdoDecimal | null;
18
18
  /** Publish v-model immediately; notifications remain debounced. */
19
19
  immediateModelUpdate?: boolean;
20
+ showMeasurementConversion?: boolean;
20
21
  }
21
22
  export interface FmUnitInputEvents {
22
23
  (event: 'update:amount', amount: string): void;
@@ -1,7 +1,7 @@
1
1
  import type { FmGroupModelValue } from './FmUnitInputProps';
2
2
  import type { ValidationResult } from '@feedmepos/ui-library';
3
3
  import type { FdoDecimal } from '@feedmepos/core/entity';
4
- export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Must be a number";
4
+ export declare function FmUnitInputAmountIsNumberRule(): (value: FmGroupModelValue) => true | "Number has too many digits" | "Must be a number";
5
5
  export declare function FmUnitInputAmountAtLeastRule(minimum: number): (value: FmGroupModelValue) => string | true;
6
6
  export declare function FmUnitInputAmountMoreThanRule(minimum: number): (value: FmGroupModelValue) => string | true;
7
7
  export declare function FmUnitInputAmountAtMostRule(maximum: number): (value: FmGroupModelValue) => string | true;
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
22
22
  permissions: undefined;
23
23
  mode: string;
24
24
  }>>> & Readonly<{}>, {
25
- permissions: CaslPermission[];
26
25
  mode: "all" | "any";
26
+ permissions: CaslPermission[];
27
27
  permission: CaslPermission;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
29
29
  default?(_: {}): any;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,2 @@
1
- import '@/extensions/array';
2
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
2
  export default _default;
@@ -14,3 +14,5 @@ export interface TemplatePublishDialogProps {
14
14
  enabledLocations?: FdoInventoryLocation[] | null;
15
15
  hideUnpublish?: boolean;
16
16
  }
17
+ /** Outlets whose publish record still lists the doc although the doc is no longer enabled there. */
18
+ export declare function pendingRemovalDbNames(publishedRevByLocation: PublishedRevByLocation, docId: string, enabledDbNames: string[] | null | undefined): string[];
@@ -0,0 +1 @@
1
+ export {};
@@ -2,7 +2,7 @@ import { useApiStore } from '@/stores/api';
2
2
  export interface HttpClient {
3
3
  withBaseUrl(url: string): Omit<HttpClient, 'withBaseUrl'>;
4
4
  get<ResponseBody = any>(url: string, signal?: AbortSignal): Promise<ResponseBody>;
5
- post<ResponseBody = any>(url: string, body?: any, signal?: AbortSignal): Promise<ResponseBody>;
5
+ post<ResponseBody = any>(url: string, body?: any, signal?: AbortSignal, timeoutMs?: number): Promise<ResponseBody>;
6
6
  put<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
7
7
  patch<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
8
8
  delete<ResponseBody = any>(url: string, body?: any): Promise<ResponseBody>;
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-CNp5DLBB.js";
1
+ import { d as l } from "./dayjs.min-B8gqMYa7.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,4 +1,4 @@
1
- import { y as Q, a1 as K } from "./app-yvK__CBL.js";
1
+ import { y as Q, a3 as K } from "./app-DnOtng5V.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-CNp5DLBB.js";
2
- import "./app-yvK__CBL.js";
1
+ import "./app-DnOtng5V.js";
2
+ import "./dayjs.min-B8gqMYa7.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,13 +1,13 @@
1
- import { c, aa as u } from "./app-yvK__CBL.js";
1
+ import { c as a, ac as u } from "./app-DnOtng5V.js";
2
2
  import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
- var n, a;
5
- const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((a = d()) == null ? void 0 : a.emit) ?? (() => {
6
- }), t = l(c(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
4
+ var c, n;
5
+ const s = ((c = d()) == null ? void 0 : c.props) ?? {}, f = ((n = d()) == null ? void 0 : n.emit) ?? (() => {
6
+ }), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
7
7
  return e != null && e.watchProps && o(
8
8
  () => s[i],
9
9
  (r) => {
10
- r && r !== t && Object.assign(t, c(r));
10
+ r && r !== t && Object.assign(t, a(r));
11
11
  },
12
12
  { deep: !0, immediate: !0 }
13
13
  ), o(t, (r) => {
@@ -1,4 +1,4 @@
1
- import { d as p } from "./app-yvK__CBL.js";
1
+ import { d as p } from "./app-DnOtng5V.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {