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

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-5GYyCfFq.js +1445 -0
  2. package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-DY1ayl1W.js} +26 -25
  3. package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-Dm7uKMfV.js} +2 -2
  4. package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-DhnMlj4x.js} +2 -2
  5. package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-Cxibcjka.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-w4AA6BxB.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B3ESPbQp.js} +1 -1
  8. package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-DMaONEZ7.js} +748 -746
  9. package/dist/ClosingHistoryView-BBYruOux.js +769 -0
  10. package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-DcwgokRl.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-a72IldDO.js} +1 -1
  12. package/dist/{DefaultView-JC_e4xgC.js → DefaultView-BVr_7JDn.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-BXZFD3D5.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-Dne_9P3j.js} +10077 -9950
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-CYkPbFSA.js +48 -0
  16. package/dist/FeatureCapabilityGate-DK_rTVyJ.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-DIhV51l7.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B80EHMBT.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-C94IFGoH.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-COZPDuAM.js} +2 -2
  21. package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-C1P22sj2.js} +2 -2
  22. package/dist/FmMultiselectDialog-Kb3IftHf.js +123 -0
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BqB71yfu.js} +105 -99
  24. package/dist/ImportView-EJ4u8NHM.js +1540 -0
  25. package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-Bxsgm4E7.js} +691 -689
  26. package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-owEaOVeG.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-BuptPyjg.js +13385 -0
  28. package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-DAcdY_d_.js} +2604 -2565
  29. package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-BvjY4zrn.js} +1 -1
  30. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhbF-jgN.js +472 -0
  31. package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-DPqm94GX.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-DDsigNJ4.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-BaPCJUqT.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CNRX3MYt.js} +3053 -3163
  39. package/dist/ProductionRunPage-B6Jsv9Hh.js +954 -0
  40. package/dist/{PublishView-CPK9NeVF.js → PublishView-DonUv6nP.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-CK3Cqdwp.js} +17 -17
  42. package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-CMAnKxzm.js} +17 -16
  43. package/dist/RecipeView-Bx13Bckq.js +3272 -0
  44. package/dist/SettingsView-D1MiAkD8.js +1005 -0
  45. package/dist/StockView-CsxTjVEd.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BT73j9SA.js} +1 -1
  47. package/dist/{SupplierView-BKxKoi_0.js → SupplierView-CFACoZya.js} +304 -301
  48. package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-CShhZa3x.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-B2OdmdI_.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-x3N2Oypo.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BISmGBJE.js +4953 -0
  53. package/dist/TransferTemplateView-kx2IPqEv.js +2347 -0
  54. package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-DgPWsXaB.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-BtfJJgIP.js} +4 -4
  56. package/dist/{UnitView-BqdK1AM_.js → UnitView-aupXLRMk.js} +111 -106
  57. package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-MTvbY4n4.js} +12 -11
  58. package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-Bs9HL-LK.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-D38sV2ls.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-DgniL8FN.js +178 -0
  71. package/dist/{closing-template-DezidSM0.js → closing-template-D_NAj_mU.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-CvgxwuM1.js} +1 -1
  90. package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-BOKV8T5Q.js} +1 -1
  91. package/dist/{decimal-Z7oJdGk8.js → decimal-5xyg1WLu.js} +2 -2
  92. package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-BwB9XcMu.js} +5 -5
  93. package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-DvIgjm4K.js} +1 -1
  94. package/dist/{feature-CkWaZ-5K.js → feature-CsPbMoeJ.js} +2088 -2853
  95. package/dist/feature-flags/core.d.ts +3 -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-DD6Ik9EK.js} +1 -1
  101. package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-DG564AN3.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-DoN7OM21.js} +1 -1
  107. package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-CevBRFTZ.js} +17 -17
  108. package/dist/{index-7fz5sGDO.js → index-BIh1oTQH.js} +3 -3
  109. package/dist/{index-CIH9NCvs.js → index-BP3Avix6.js} +1 -1
  110. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  111. package/dist/index-eGvSlWMU.js +1892 -0
  112. package/dist/{index-ClYgfwW7.js → index-mzXhLwrZ.js} +2234 -2163
  113. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  114. package/dist/{lz-string-CCsc2X7t.js → lz-string-DMjWYCk6.js} +1 -1
  115. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  116. package/dist/{netsuite-COumFXC2.js → netsuite-ZtoZBFBX.js} +254 -263
  117. package/dist/netsuite-explorer-h_vID_ao.js +79 -0
  118. package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-CdurFRJ4.js} +1 -1
  119. package/dist/production-run-list-DR1WsaBR.js +61 -0
  120. package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-BVdCftEo.js} +1 -1
  121. package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-DBG8HGiJ.js} +1 -1
  122. package/dist/router/name.d.ts +2 -2
  123. package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-CGyAg4dC.js} +1 -1
  124. package/dist/rules-DbFiOzUd.js +243 -0
  125. package/dist/{stock-B59sfN28.js → stock-BATH4SoA.js} +1 -1
  126. package/dist/stock-DXxsDPEO.js +78 -0
  127. package/dist/stores/feature.d.ts +40 -10
  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-CKXQmBZn.js} +2 -2
  135. package/dist/{surcharge-C1uE3uQa.js → surcharge-qupRJjjO.js} +1 -1
  136. package/dist/tsconfig.app.tsbuildinfo +1 -1
  137. package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-ALtgjANX.js} +1 -1
  138. package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-C1sJpjfV.js} +2 -2
  139. package/dist/use-inventory-binding-dialog-tl7-epun.js +113 -0
  140. package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-DWk2ndDC.js} +2 -2
  141. package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-CsdYY996.js} +14 -14
  142. package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-BtuqUrwj.js} +1 -1
  143. package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-DKxKXykI.js} +111 -117
  144. package/dist/{useSseClient-FCyLWq8k.js → useSseClient-CRfpltKK.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-CVco8McV.js +290 -0
  210. package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-C443zpcA.js} +450 -450
  211. package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-5_47Kslf.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,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  visible: boolean;
3
3
  testid?: string | undefined;
4
- surface?: "neutral" | "primary" | undefined;
4
+ surface?: "primary" | "neutral" | undefined;
5
5
  position?: "overlay" | "sticky" | undefined;
6
6
  }>, {
7
7
  testid: string;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
11
  visible: boolean;
12
12
  testid?: string | undefined;
13
- surface?: "neutral" | "primary" | undefined;
13
+ surface?: "primary" | "neutral" | undefined;
14
14
  position?: "overlay" | "sticky" | undefined;
15
15
  }>, {
16
16
  testid: string;
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
6
6
  placeholder?: string | undefined;
7
7
  disabled?: boolean | undefined;
8
8
  helperText?: string | undefined;
9
- helperState?: "success" | "warning" | "error" | "none" | undefined;
9
+ helperState?: "error" | "success" | "warning" | "none" | undefined;
10
10
  }>, {
11
11
  labelMark: string;
12
12
  placeholder: string;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
21
21
  placeholder?: string | undefined;
22
22
  disabled?: boolean | undefined;
23
23
  helperText?: string | undefined;
24
- helperState?: "success" | "warning" | "error" | "none" | undefined;
24
+ helperState?: "error" | "success" | "warning" | "none" | undefined;
25
25
  }>, {
26
26
  labelMark: string;
27
27
  placeholder: string;
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
31
31
  }>, {
32
32
  placeholder: string;
33
33
  labelMark: "required" | "optional" | "none";
34
- helperState: "success" | "warning" | "error" | "none";
34
+ helperState: "error" | "success" | "warning" | "none";
35
35
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
36
36
  label?(): unknown;
37
37
  }> & {
@@ -0,0 +1,11 @@
1
+ /**
2
+ * "IF309803 (8801183)" — the ref no. a person reads, and the internal id that identifies the
3
+ * record. A record NetSuite created through a RESTlet often has an id but no ref no., and
4
+ * interpolating that unguarded put the literal string "undefined" on the page. Every NetSuite
5
+ * id column goes through here so the guard cannot be applied to some of them and not others,
6
+ * which is how it went wrong: the same expression written out eight times, guarded in two.
7
+ */
8
+ export declare function netSuiteOrderLabel(netSuite?: {
9
+ id?: string | null;
10
+ refNo?: string | null;
11
+ } | null): string;
@@ -682,7 +682,7 @@ export declare function useProcessPurchaseOrder(): (params: {
682
682
  };
683
683
  deliveryOrderNumber: string;
684
684
  }[];
685
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
685
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
686
686
  _id: string;
687
687
  items: {
688
688
  measurement?: {
@@ -684,7 +684,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
684
684
  };
685
685
  deliveryOrderNumber: string;
686
686
  }[];
687
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
687
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
688
688
  _id: string;
689
689
  items: {
690
690
  measurement?: {
@@ -1457,7 +1457,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
1457
1457
  };
1458
1458
  deliveryOrderNumber: string;
1459
1459
  }[];
1460
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
1460
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
1461
1461
  _id: string;
1462
1462
  items: {
1463
1463
  measurement?: {
@@ -2230,7 +2230,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
2230
2230
  };
2231
2231
  deliveryOrderNumber: string;
2232
2232
  }[];
2233
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2233
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2234
2234
  _id: string;
2235
2235
  items: {
2236
2236
  measurement?: {
@@ -2338,7 +2338,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
2338
2338
  ref: string;
2339
2339
  milestones: {
2340
2340
  estimatedTime?: string | null | undefined;
2341
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2341
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2342
2342
  createdAt: string;
2343
2343
  description: string;
2344
2344
  }[];
@@ -2349,7 +2349,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
2349
2349
  ref: string;
2350
2350
  milestones: {
2351
2351
  estimatedTime?: string | null | undefined;
2352
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2352
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2353
2353
  createdAt: string;
2354
2354
  description: string;
2355
2355
  }[];
@@ -2360,7 +2360,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
2360
2360
  ref: string;
2361
2361
  milestones: {
2362
2362
  estimatedTime?: string | null | undefined;
2363
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2363
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
2364
2364
  createdAt: string;
2365
2365
  description: string;
2366
2366
  }[];
@@ -3039,7 +3039,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
3039
3039
  };
3040
3040
  deliveryOrderNumber: string;
3041
3041
  }[];
3042
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3042
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3043
3043
  _id: string;
3044
3044
  items: {
3045
3045
  measurement?: {
@@ -3939,7 +3939,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
3939
3939
  };
3940
3940
  deliveryOrderNumber: string;
3941
3941
  }[];
3942
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3942
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3943
3943
  _id: string;
3944
3944
  items: {
3945
3945
  measurement?: {
@@ -4748,7 +4748,7 @@ export declare function useReceiveRequestForm(scope: PO_SCOPE, initialDateRange?
4748
4748
  };
4749
4749
  deliveryOrderNumber: string;
4750
4750
  }[];
4751
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
4751
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
4752
4752
  _id: string;
4753
4753
  items: {
4754
4754
  measurement?: {
@@ -729,7 +729,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
729
729
  };
730
730
  deliveryOrderNumber: string;
731
731
  }[];
732
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
732
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
733
733
  _id: string;
734
734
  items: {
735
735
  measurement?: {
@@ -1525,7 +1525,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1525
1525
  };
1526
1526
  deliveryOrderNumber: string;
1527
1527
  }[];
1528
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
1528
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
1529
1529
  _id: string;
1530
1530
  items: {
1531
1531
  measurement?: {
@@ -2335,7 +2335,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2335
2335
  };
2336
2336
  deliveryOrderNumber: string;
2337
2337
  }[];
2338
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2338
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2339
2339
  _id: string;
2340
2340
  items: {
2341
2341
  measurement?: {
@@ -3119,7 +3119,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3119
3119
  };
3120
3120
  deliveryOrderNumber: string;
3121
3121
  }[];
3122
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3122
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3123
3123
  _id: string;
3124
3124
  items: {
3125
3125
  measurement?: {
@@ -3919,7 +3919,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3919
3919
  };
3920
3920
  deliveryOrderNumber: string;
3921
3921
  }[];
3922
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3922
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3923
3923
  _id: string;
3924
3924
  items: {
3925
3925
  measurement?: {
@@ -4775,7 +4775,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4775
4775
  };
4776
4776
  deliveryOrderNumber: string;
4777
4777
  }[];
4778
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
4778
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
4779
4779
  _id: string;
4780
4780
  items: {
4781
4781
  measurement?: {
@@ -5594,7 +5594,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5594
5594
  };
5595
5595
  deliveryOrderNumber: string;
5596
5596
  }[];
5597
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
5597
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
5598
5598
  _id: string;
5599
5599
  items: {
5600
5600
  measurement?: {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,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>;
2
+ export default _default;
@@ -18,10 +18,15 @@ export type BulkPoWithLocation = Omit<FdtoPurchaseOrderListItem, 'locationDbName
18
18
  export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<DateRange>): {
19
19
  selectedLocationDbNames: import("vue").Ref<string[], string[]>;
20
20
  purchaseOrders: import("vue").Ref<{
21
- _id: string;
22
21
  ref?: string | null | undefined;
22
+ _id: string;
23
23
  _rev: string;
24
24
  version?: "1" | "2" | null | undefined;
25
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
26
+ request?: {
27
+ id: string;
28
+ adjustmentIds: string[];
29
+ } | null | undefined;
25
30
  itemCount: number;
26
31
  supplier: {
27
32
  internal?: "restaurant" | "warehouse" | null | undefined;
@@ -29,12 +34,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
29
34
  _id: string;
30
35
  name: string;
31
36
  };
32
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
33
37
  seqNumber: number;
34
- request?: {
35
- id: string;
36
- adjustmentIds: string[];
37
- } | null | undefined;
38
38
  shipmentIds?: string[] | null | undefined;
39
39
  netSuite?: {
40
40
  refNo?: string | null | undefined;
@@ -58,6 +58,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
58
58
  } | null | undefined;
59
59
  partialReceived?: boolean | null | undefined;
60
60
  overReceived?: boolean | null | undefined;
61
+ template?: string | null | undefined;
61
62
  remark?: string | null | undefined;
62
63
  effectiveAt?: string | null | undefined;
63
64
  items?: {
@@ -157,7 +158,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
157
158
  precision: number;
158
159
  };
159
160
  }[] | undefined;
160
- template?: string | null | undefined;
161
161
  deliveryOrder?: {
162
162
  id?: string | null | undefined;
163
163
  remark?: string | null | undefined;
@@ -760,10 +760,15 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
760
760
  }[] | null | undefined;
761
761
  _locationDbName: string;
762
762
  }[], BulkPoWithLocation[] | {
763
- _id: string;
764
763
  ref?: string | null | undefined;
764
+ _id: string;
765
765
  _rev: string;
766
766
  version?: "1" | "2" | null | undefined;
767
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
768
+ request?: {
769
+ id: string;
770
+ adjustmentIds: string[];
771
+ } | null | undefined;
767
772
  itemCount: number;
768
773
  supplier: {
769
774
  internal?: "restaurant" | "warehouse" | null | undefined;
@@ -771,12 +776,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
771
776
  _id: string;
772
777
  name: string;
773
778
  };
774
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
775
779
  seqNumber: number;
776
- request?: {
777
- id: string;
778
- adjustmentIds: string[];
779
- } | null | undefined;
780
780
  shipmentIds?: string[] | null | undefined;
781
781
  netSuite?: {
782
782
  refNo?: string | null | undefined;
@@ -800,6 +800,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
800
800
  } | null | undefined;
801
801
  partialReceived?: boolean | null | undefined;
802
802
  overReceived?: boolean | null | undefined;
803
+ template?: string | null | undefined;
803
804
  remark?: string | null | undefined;
804
805
  effectiveAt?: string | null | undefined;
805
806
  items?: {
@@ -899,7 +900,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
899
900
  precision: number;
900
901
  };
901
902
  }[] | undefined;
902
- template?: string | null | undefined;
903
903
  deliveryOrder?: {
904
904
  id?: string | null | undefined;
905
905
  remark?: string | null | undefined;
@@ -1509,7 +1509,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1509
1509
  ref: string;
1510
1510
  milestones: {
1511
1511
  estimatedTime?: string | null | undefined;
1512
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1512
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1513
1513
  createdAt: string;
1514
1514
  description: string;
1515
1515
  }[];
@@ -1520,7 +1520,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1520
1520
  ref: string;
1521
1521
  milestones: {
1522
1522
  estimatedTime?: string | null | undefined;
1523
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1523
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1524
1524
  createdAt: string;
1525
1525
  description: string;
1526
1526
  }[];
@@ -1531,7 +1531,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1531
1531
  ref: string;
1532
1532
  milestones: {
1533
1533
  estimatedTime?: string | null | undefined;
1534
- type: "CANCELLED" | "PREPARING" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1534
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1535
1535
  createdAt: string;
1536
1536
  description: string;
1537
1537
  }[];
@@ -2210,7 +2210,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2210
2210
  };
2211
2211
  deliveryOrderNumber: string;
2212
2212
  }[];
2213
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2213
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
2214
2214
  _id: string;
2215
2215
  items: {
2216
2216
  measurement?: {
@@ -3110,7 +3110,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3110
3110
  };
3111
3111
  deliveryOrderNumber: string;
3112
3112
  }[];
3113
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3113
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3114
3114
  _id: string;
3115
3115
  items: {
3116
3116
  measurement?: {
@@ -3919,7 +3919,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3919
3919
  };
3920
3920
  deliveryOrderNumber: string;
3921
3921
  }[];
3922
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3922
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
3923
3923
  _id: string;
3924
3924
  items: {
3925
3925
  measurement?: {
@@ -34,7 +34,7 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
34
34
  _id: string;
35
35
  name: string;
36
36
  };
37
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
37
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
38
38
  _id: string;
39
39
  seqNumber: number;
40
40
  itemCount: number;
@@ -712,7 +712,7 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
712
712
  };
713
713
  deliveryOrderNumber: string;
714
714
  }[];
715
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
715
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
716
716
  _id: string;
717
717
  items: {
718
718
  measurement?: {
@@ -49,7 +49,6 @@ export interface RecipeBulkEditEntry {
49
49
  }
50
50
  export type FlatBinding = FdoInventoryBinding & {
51
51
  recipeIds: string[];
52
- isGroup?: boolean;
53
52
  };
54
53
  export declare function flattenBindings(bindings: FdoInventoryBinding[], visitedIds: Set<string>, recipeById: Record<string, FdoInventoryRecipe>): FlatBinding[];
55
54
  export declare function decimalsEqual(a: FdoDecimal, b: FdoDecimal): boolean;
@@ -5,7 +5,7 @@ export type ObjectWithIndex<T> = {
5
5
  };
6
6
  export interface RecipeRow {
7
7
  recipeName: string;
8
- type: 'RECIPE' | 'INGREDIENT' | 'SKU_GROUP';
8
+ type: 'RECIPE' | 'INGREDIENT';
9
9
  code: string;
10
10
  name: string;
11
11
  amount: string;
@@ -13,9 +13,10 @@ export interface RecipeRow {
13
13
  baseUnit: string;
14
14
  measurementName: string;
15
15
  customAttributes?: string;
16
+ rules?: string;
16
17
  }
17
18
  export interface RecipeContainsRow {
18
- type: 'RECIPE' | 'SKU' | 'SKU_GROUP';
19
+ type: 'RECIPE' | 'SKU';
19
20
  id: string;
20
21
  amount: {
21
22
  amount: number;
@@ -27,6 +28,8 @@ export interface ImportRecipeCreateResult {
27
28
  recipe: FdoInventoryRecipe;
28
29
  excelRowNumber: number;
29
30
  errors: string[];
31
+ warnings: string[];
32
+ changes: RecipeChangeLine[];
30
33
  }
31
34
  export interface ImportRecipeUpdateResult {
32
35
  type: 'update';
@@ -34,6 +37,16 @@ export interface ImportRecipeUpdateResult {
34
37
  recipe: FdoInventoryRecipe;
35
38
  excelRowNumber: number;
36
39
  errors: string[];
40
+ warnings: string[];
41
+ changes: RecipeChangeLine[];
42
+ }
43
+ export interface RecipeChangeLine {
44
+ status: 'added' | 'changed' | 'same';
45
+ item: string;
46
+ qtyBefore?: string;
47
+ qtyAfter: string;
48
+ extraBefore?: string;
49
+ extraAfter: string;
37
50
  }
38
51
  export interface RecipeImportResult {
39
52
  invalidExcel: boolean;
@@ -42,6 +55,23 @@ export interface RecipeImportResult {
42
55
  importUpdateResult?: ImportRecipeUpdateResult[];
43
56
  }
44
57
  export declare function newRecipeId(): string;
58
+ /**
59
+ * Reads a Rules cell: `outlet in MY001, MY002; state not in Sabah` (conditions
60
+ * joined by `;` must all hold), or the raw Mongo-style rule as JSON.
61
+ */
62
+ export declare function parseRules(value: string): Record<string, any>;
63
+ /** Writes rules in the Rules cell syntax, falling back to JSON for shapes it cannot express. */
64
+ export declare function formatRules(rules: Record<string, any> | null | undefined): string;
65
+ /**
66
+ * Per-binding before/after lines for the import detail view. Bindings pair up by
67
+ * position: mergeBindings keeps every live binding at its index and appends new ones.
68
+ */
69
+ export declare function recipeChanges(before: FdoInventoryRecipe | undefined, after: FdoInventoryRecipe): RecipeChangeLine[];
70
+ /**
71
+ * Mirrors POS's MongoQueryEvaluator (custom_attributes_dart): a key missing from
72
+ * the outlet's attributes fails $in/$eq but passes $nin/$ne.
73
+ */
74
+ export declare function matchesRule(rule: Record<string, any>, attributes: Record<string, any>): boolean;
45
75
  export declare function importExcelToCreateRecipes(rows: ObjectWithIndex<RecipeRow>[], { ignoreErrors }?: {
46
76
  ignoreErrors?: boolean;
47
77
  }): RecipeImportResult;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,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>;
2
+ export default _default;