@feedmepos/mf-inventory-portal 1.8.0-dev.8 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/{App-C8i7vBxz.js → App-BPhAFsnf.js} +515 -536
  2. package/dist/{ApprovalView-GHgTeCBV.js → ApprovalView-DuJIX7ux.js} +26 -25
  3. package/dist/{BindingsDialog-C4-S2CWk.js → BindingsDialog-BiNopu6T.js} +2 -2
  4. package/dist/{BindingsPicker-C7YUArBj.js → BindingsPicker-C2GUK3np.js} +2 -2
  5. package/dist/{BindingsTable-1Zoqi4ZS.js → BindingsTable-DlPl5o1h.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-YtqUSPUN.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DFSg0-gv.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CAKGP0N3.js} +1 -1
  8. package/dist/{ClosingDraftView-CnWFyWSE.js → ClosingDraftView-C0XEpqat.js} +748 -746
  9. package/dist/{ClosingHistoryView-Bkm0voU6.js → ClosingHistoryView-C2Bl2vnF.js} +7 -7
  10. package/dist/{ClosingTemplateView-Bz81JTsg.js → ClosingTemplateView-DAXyH1l9.js} +22 -21
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-6s-24euf.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-sP8-Pw8r.js} +1 -1
  12. package/dist/{DefaultView-1RRzbPB3.js → DefaultView-QUjOTT9z.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-KcLqjOj1.js → DeliveryOrderPrintPreview-CNO7dng4.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-r0Q0qhoK.js → EmailDialog.vue_vue_type_script_setup_true_lang-MiLvwxSQ.js} +9847 -9723
  15. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bo7xjTer.js} +11 -10
  16. package/dist/FeatureCapabilityGate-CQrRBMcC.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-CIKrUrln.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-pzIzIWpX.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DfCQ8SNd.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B6cFB4vX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BTeJz4Mm.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_o6pX9i.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DiwH0vnm.js} +2 -2
  21. package/dist/{FmMultiselectDialog-D0GhmOQ9.js → FmMultiselectDialog-BZvKKnBB.js} +2 -2
  22. package/dist/{FmMultiselectDialog-CC_Na_p1.js → FmMultiselectDialog-Dne8GSe8.js} +2 -2
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DQlSMRoB.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D1-MLyJi.js} +105 -99
  24. package/dist/ImportView-Dr-2cv9N.js +1540 -0
  25. package/dist/{IngredientsView-B2I2OPSb.js → IngredientsView-BnaNrWb7.js} +367 -365
  26. package/dist/{IntegrationExplorerView-WK1EmwLA.js → IntegrationExplorerView-Bjflxeha.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-fO7R9fGT.js +13385 -0
  28. package/dist/{IntegrationView-CeaL92Yj.js → IntegrationView-CxpmB0o2.js} +2380 -2340
  29. package/dist/{InventoryBindingForm-DgtaDM0I.js → InventoryBindingForm-DbgvnZ9I.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CqDN355J.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-3stkPlAW.js} +134 -134
  31. package/dist/{InventoryBindingSummary-C_W456aj.js → InventoryBindingSummary-BrIFW5dO.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-BAVjiZbm.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-D6-lo7iI.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js} +1 -1
  36. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  37. package/dist/ProductionRunDetailPage-DhImFq9B.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DwBY6gIb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CCUBGX4K.js} +3051 -3161
  39. package/dist/ProductionRunPage-D9SaErg3.js +954 -0
  40. package/dist/{PublishView-Dv-W6ntx.js → PublishView-CmqorDCm.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-D1TAnJd_.js → PurchaseOrderPrintPreview-CvplcGNv.js} +17 -17
  42. package/dist/{ReceiveRequestView-Rc_uw_Ad.js → ReceiveRequestView-DAN7eOH5.js} +17 -16
  43. package/dist/RecipeView-CgJcpA_f.js +3272 -0
  44. package/dist/{SettingsView-K5wAt8oo.js → SettingsView-I1XEa1NJ.js} +398 -425
  45. package/dist/StockView-C2tK0oPv.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CsRLy0xI.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DSz37GY_.js} +1 -1
  47. package/dist/{SupplierView-CLVupRN0.js → SupplierView-C69gOB_i.js} +21 -20
  48. package/dist/{SurchargeView-CToB_z5v.js → SurchargeView-DfDtR1jP.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CvqIw9q6.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CWD44FiP.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-5RLeEfkg.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Dzlex2fK.js +4953 -0
  53. package/dist/TransferTemplateView-Dc892CSr.js +2347 -0
  54. package/dist/{UnitCostHistoryView-BMB2MeTh.js → UnitCostHistoryView-DkuDLBSq.js} +4 -4
  55. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Dn8Y8zfp.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-3Iyv5v10.js} +4 -4
  56. package/dist/{UnitView-Bl8jws6R.js → UnitView-CakqjGDe.js} +111 -106
  57. package/dist/{WarehouseView-BurSM1jg.js → WarehouseView-AUPuNwRA.js} +12 -11
  58. package/dist/{WastageTemplateView-DRfJ9LGR.js → WastageTemplateView-1kxcX31h.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 +2 -0
  63. package/dist/api/integration-sync-log.d.ts +0 -13
  64. package/dist/api/inventory.d.ts +9 -9
  65. package/dist/api/netsuite-explorer.d.ts +1 -0
  66. package/dist/api/stock.d.ts +1 -1
  67. package/dist/{app-Duum3eHx.js → app-tiHt7P8o.js} +9786 -9547
  68. package/dist/app.d.ts +151 -14
  69. package/dist/app.js +1 -1
  70. package/dist/bulk-edit-simulation.helper-D490leZh.js +178 -0
  71. package/dist/{closing-template-BE41yfue.js → closing-template-CAahWrPo.js} +4 -4
  72. package/dist/components/FeatureCapabilityGate.vue.d.ts +3 -0
  73. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  74. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  75. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  76. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  77. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  78. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  79. package/dist/components/FmUnitInputProps.d.ts +1 -0
  80. package/dist/components/FmUnitInputRules.d.ts +1 -1
  81. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  82. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  83. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  84. package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
  85. package/dist/components/TemplatePublishDialog.d.ts +2 -0
  86. package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
  87. package/dist/composable/defineApi.d.ts +1 -1
  88. package/dist/{date2-DrhO3BxU.js → date2-CKKZ3b1E.js} +1 -1
  89. package/dist/{dayjs.min-CQp6EpOp.js → dayjs.min-CXmScEL-.js} +1 -1
  90. package/dist/{decimal-Cq0qUT4r.js → decimal-CE8yRxZg.js} +2 -2
  91. package/dist/{defineDeepModel-DRC39nJs.js → defineDeepModel-BRZrUePH.js} +5 -5
  92. package/dist/{duplicate-template-j2ymeDNH.js → duplicate-template-DGrH04lc.js} +1 -1
  93. package/dist/{feature-C0hQza5A.js → feature-BuUIX2LY.js} +327 -287
  94. package/dist/feature-flags/core.d.ts +1 -0
  95. package/dist/feature-flags/vue.d.ts +22 -1
  96. package/dist/{format-time-from-id-BmJoI3jT.js → format-time-from-id-BQOfGm26.js} +1 -1
  97. package/dist/{format-unit-display-CRgIMXsD.js → format-unit-display-BuBfy3bb.js} +209 -208
  98. package/dist/helper/country.spec.d.ts +1 -0
  99. package/dist/helper/menu-usage-module.d.ts +2 -1
  100. package/dist/helper/number.d.ts +5 -1
  101. package/dist/helper/rules.d.ts +1 -1
  102. package/dist/{id-to-date-CuFZDvIr.js → id-to-date-B_aPAdeF.js} +1 -1
  103. package/dist/{import-export.helper-B43zbsbj.js → import-export.helper-DPqodvrw.js} +17 -17
  104. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  105. package/dist/{index-BYDjs08n.js → index-CBkSXbQw.js} +2234 -2163
  106. package/dist/{index-Cwvg7EHd.js → index-EgLlcZ4g.js} +3 -3
  107. package/dist/index-eGvSlWMU.js +1892 -0
  108. package/dist/{index-DXNYZeq3.js → index-yTHfPUVq.js} +1 -1
  109. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  110. package/dist/{lz-string-6DgW1cPF.js → lz-string-Dgq0u7oK.js} +1 -1
  111. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  112. package/dist/{netsuite-BSpmyaE1.js → netsuite-BgB1tjJx.js} +254 -263
  113. package/dist/netsuite-explorer-BMtIwGyi.js +79 -0
  114. package/dist/{predefined-templates-C0jtb4T7.js → predefined-templates-BiuP4m7R.js} +1 -1
  115. package/dist/production-run-list-DR1WsaBR.js +61 -0
  116. package/dist/{purchase-order-template-B5Pjddfi.js → purchase-order-template-D5Z0bPLL.js} +1 -1
  117. package/dist/{recalculationUtils-DtJWwWSj.js → recalculationUtils-BitV6W_8.js} +1 -1
  118. package/dist/router/name.d.ts +2 -1
  119. package/dist/{row-action.enum-BDDJNSi0.js → row-action.enum-CTNl1V0l.js} +1 -1
  120. package/dist/rules-BpG29H9Z.js +243 -0
  121. package/dist/{stock-BKMDvf5S.js → stock-DNV9xfbE.js} +1 -1
  122. package/dist/stock-DTzUuxKl.js +78 -0
  123. package/dist/stores/feature.d.ts +26 -8
  124. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  125. package/dist/stores/integration/netsuite.d.ts +2 -2
  126. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  127. package/dist/stores/location.d.ts +42 -42
  128. package/dist/stores/supplier.d.ts +48 -48
  129. package/dist/stores/warehouse.d.ts +2 -2
  130. package/dist/style.css +1 -1
  131. package/dist/{supplier-Cv8HRNou.js → supplier-8uMx5fFa.js} +2 -2
  132. package/dist/{surcharge-ktE1pRyy.js → surcharge-D0c44dor.js} +1 -1
  133. package/dist/tsconfig.app.tsbuildinfo +1 -1
  134. package/dist/{uom-rules-DCnXmEkb.js → uom-rules-BErW6UQ4.js} +1 -1
  135. package/dist/{use-ingredient-select-dialog-CYUUVrCI.js → use-ingredient-select-dialog-CZTe4ayv.js} +2 -2
  136. package/dist/{use-inventory-binding-dialog-Dugj9i-6.js → use-inventory-binding-dialog-D_N7K7pw.js} +2 -2
  137. package/dist/{use-template-enabled-locations-BlZ7WAqX.js → use-template-enabled-locations-C1xNZr4V.js} +2 -2
  138. package/dist/{use-transfer-locations-CUDFnsVH.js → use-transfer-locations-BlSNA3qv.js} +14 -14
  139. package/dist/{useHrmPermission-BOwmXi9H.js → useHrmPermission-Bd1_Ia_U.js} +1 -1
  140. package/dist/{useNavigationMenu-CbNKFBwx.js → useNavigationMenu-DXrUeRX9.js} +39 -39
  141. package/dist/{useSseClient-CdyQh47h.js → useSseClient-Di0ywAz-.js} +1 -1
  142. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  143. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  144. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  145. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  146. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  147. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  148. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  149. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +19 -19
  150. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  151. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  152. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  153. package/dist/views/import/helper/submit-rows.d.ts +1 -1
  154. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  155. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
  156. package/dist/views/integration/IntegrationPlatformView.vue.d.ts +24 -0
  157. package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
  158. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  159. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  160. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  161. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  162. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  163. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  164. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  165. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
  166. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  167. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
  168. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
  169. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
  170. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
  171. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
  172. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
  173. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
  174. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
  175. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
  176. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
  177. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  178. package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
  179. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  180. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  181. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  182. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  183. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  184. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  185. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  186. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  187. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  188. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  189. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  190. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  191. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  192. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  193. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +54 -54
  194. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  195. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  196. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  197. package/dist/views/recipe/helper/import-recipe.d.ts +30 -0
  198. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  199. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +1 -14
  200. package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
  201. package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
  202. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  203. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
  204. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
  205. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  206. package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
  207. package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
  208. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  209. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  210. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  211. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  212. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  213. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  214. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  215. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  216. package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
  217. package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
  218. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +4 -4
  219. package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js → vue-C029rfpt.js} +101 -80
  220. package/dist/{vue-i18n-dSKy66Jh.js → vue-i18n-Bg7KOfUG.js} +416 -416
  221. package/dist/{xlsx.util-pjzuMquw.js → xlsx.util-BQrh6imS.js} +2 -2
  222. package/package.json +71 -66
  223. package/dist/BulkReceiveRequestView-Lakk8011.js +0 -2656
  224. package/dist/FeatureCapabilityGate-C6t1VwKD.js +0 -74
  225. package/dist/ImportView-DCcdEvy4.js +0 -1291
  226. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMDjCk9T.js +0 -72
  227. package/dist/ProductionRunDetailView-C9rxLBbL.js +0 -2312
  228. package/dist/ProductionRunView-DvMdVGz1.js +0 -930
  229. package/dist/RecipeView-ByUaGc4w.js +0 -3428
  230. package/dist/StockView-B3EjdjVx.js +0 -2615
  231. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  232. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BGPuaJlU.js +0 -299
  233. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-8ydaQEw-.js +0 -4836
  234. package/dist/TransferTemplateView-BnfALwmw.js +0 -2326
  235. package/dist/api/license.d.ts +0 -8
  236. package/dist/menu-usage-module-BdjYEk3s.js +0 -57
  237. package/dist/number-5ZeFx-wN.js +0 -138
  238. package/dist/rules-CinZKpvV.js +0 -98
  239. package/dist/stock-1n-4iyqz.js +0 -75
  240. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
@@ -18,23 +18,23 @@ 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
- email?: string | null | undefined;
28
32
  internal?: "restaurant" | "warehouse" | null | undefined;
33
+ email?: string | null | undefined;
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;
@@ -297,13 +297,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
297
297
  businessId: string;
298
298
  profile: {
299
299
  code?: string | null | undefined;
300
+ url?: string | null | undefined;
301
+ description?: string | null | undefined;
300
302
  _id?: string | null | undefined;
301
303
  legalName?: string | null | undefined;
302
304
  sstRegNo?: string | null | undefined;
303
305
  discovery?: boolean | null | undefined;
304
306
  coverPhoto?: string | null | undefined;
305
307
  thumbnailPhoto?: string | null | undefined;
306
- description?: string | null | undefined;
307
308
  photos?: string[] | null | undefined;
308
309
  operatingHours?: {
309
310
  0: {
@@ -357,7 +358,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
357
358
  };
358
359
  } | null | undefined;
359
360
  tags?: string[] | null | undefined;
360
- url?: string | null | undefined;
361
361
  name: string;
362
362
  address: {
363
363
  coordinates?: number[] | null | undefined;
@@ -368,8 +368,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
368
368
  city: string;
369
369
  postcode: string;
370
370
  };
371
- phoneNo: string;
372
371
  email: string;
372
+ phoneNo: string;
373
373
  regNo: string;
374
374
  };
375
375
  };
@@ -383,9 +383,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
383
383
  remark?: string | null | undefined;
384
384
  supplier: {
385
385
  _rev?: string | null | undefined;
386
- email?: string | null | undefined;
387
386
  internal?: "restaurant" | "warehouse" | null | undefined;
388
387
  contactName?: string | null | undefined;
388
+ email?: string | null | undefined;
389
389
  phoneNumber?: string | null | undefined;
390
390
  registrationNumber?: string | undefined;
391
391
  supplyItems?: {
@@ -760,23 +760,23 @@ 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
- email?: string | null | undefined;
770
774
  internal?: "restaurant" | "warehouse" | null | undefined;
775
+ email?: string | null | undefined;
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;
@@ -1039,13 +1039,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1039
1039
  businessId: string;
1040
1040
  profile: {
1041
1041
  code?: string | null | undefined;
1042
+ url?: string | null | undefined;
1043
+ description?: string | null | undefined;
1042
1044
  _id?: string | null | undefined;
1043
1045
  legalName?: string | null | undefined;
1044
1046
  sstRegNo?: string | null | undefined;
1045
1047
  discovery?: boolean | null | undefined;
1046
1048
  coverPhoto?: string | null | undefined;
1047
1049
  thumbnailPhoto?: string | null | undefined;
1048
- description?: string | null | undefined;
1049
1050
  photos?: string[] | null | undefined;
1050
1051
  operatingHours?: {
1051
1052
  0: {
@@ -1099,7 +1100,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1099
1100
  };
1100
1101
  } | null | undefined;
1101
1102
  tags?: string[] | null | undefined;
1102
- url?: string | null | undefined;
1103
1103
  name: string;
1104
1104
  address: {
1105
1105
  coordinates?: number[] | null | undefined;
@@ -1110,8 +1110,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1110
1110
  city: string;
1111
1111
  postcode: string;
1112
1112
  };
1113
- phoneNo: string;
1114
1113
  email: string;
1114
+ phoneNo: string;
1115
1115
  regNo: string;
1116
1116
  };
1117
1117
  };
@@ -1125,9 +1125,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1125
1125
  remark?: string | null | undefined;
1126
1126
  supplier: {
1127
1127
  _rev?: string | null | undefined;
1128
- email?: string | null | undefined;
1129
1128
  internal?: "restaurant" | "warehouse" | null | undefined;
1130
1129
  contactName?: string | null | undefined;
1130
+ email?: string | null | undefined;
1131
1131
  phoneNumber?: string | null | undefined;
1132
1132
  registrationNumber?: string | undefined;
1133
1133
  supplyItems?: {
@@ -1509,9 +1509,9 @@ 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";
1513
- description: string;
1512
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1514
1513
  createdAt: string;
1514
+ description: string;
1515
1515
  }[];
1516
1516
  }[], {
1517
1517
  _rev?: string | null | undefined;
@@ -1520,9 +1520,9 @@ 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";
1524
- description: string;
1523
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1525
1524
  createdAt: string;
1525
+ description: string;
1526
1526
  }[];
1527
1527
  }[] | {
1528
1528
  _rev?: string | null | undefined;
@@ -1531,9 +1531,9 @@ 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";
1535
- description: string;
1534
+ type: "PREPARING" | "CANCELLED" | "CREATED" | "IN_TRANSIT" | "DELIVERED" | "FAILED_DELIVERY";
1536
1535
  createdAt: string;
1536
+ description: string;
1537
1537
  }[];
1538
1538
  }[]>;
1539
1539
  purchaseRequests: import("vue").Ref<{
@@ -1560,13 +1560,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1560
1560
  businessId: string;
1561
1561
  profile: {
1562
1562
  code?: string | null | undefined;
1563
+ url?: string | null | undefined;
1564
+ description?: string | null | undefined;
1563
1565
  _id?: string | null | undefined;
1564
1566
  legalName?: string | null | undefined;
1565
1567
  sstRegNo?: string | null | undefined;
1566
1568
  discovery?: boolean | null | undefined;
1567
1569
  coverPhoto?: string | null | undefined;
1568
1570
  thumbnailPhoto?: string | null | undefined;
1569
- description?: string | null | undefined;
1570
1571
  photos?: string[] | null | undefined;
1571
1572
  operatingHours?: {
1572
1573
  0: {
@@ -1620,7 +1621,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1620
1621
  };
1621
1622
  } | null | undefined;
1622
1623
  tags?: string[] | null | undefined;
1623
- url?: string | null | undefined;
1624
1624
  name: string;
1625
1625
  address: {
1626
1626
  coordinates?: number[] | null | undefined;
@@ -1631,8 +1631,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1631
1631
  city: string;
1632
1632
  postcode: string;
1633
1633
  };
1634
- phoneNo: string;
1635
1634
  email: string;
1635
+ phoneNo: string;
1636
1636
  regNo: string;
1637
1637
  };
1638
1638
  };
@@ -1646,9 +1646,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
1646
1646
  remark?: string | null | undefined;
1647
1647
  supplier: {
1648
1648
  _rev?: string | null | undefined;
1649
- email?: string | null | undefined;
1650
1649
  internal?: "restaurant" | "warehouse" | null | undefined;
1651
1650
  contactName?: string | null | undefined;
1651
+ email?: string | null | undefined;
1652
1652
  phoneNumber?: string | null | undefined;
1653
1653
  registrationNumber?: string | undefined;
1654
1654
  supplyItems?: {
@@ -2049,9 +2049,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2049
2049
  shipmentIds?: string[] | null | undefined;
2050
2050
  supplier: {
2051
2051
  _rev?: string | null | undefined;
2052
- email?: string | null | undefined;
2053
2052
  internal?: "restaurant" | "warehouse" | null | undefined;
2054
2053
  contactName?: string | null | undefined;
2054
+ email?: string | null | undefined;
2055
2055
  phoneNumber?: string | null | undefined;
2056
2056
  registrationNumber?: string | undefined;
2057
2057
  supplyItems?: {
@@ -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?: {
@@ -2359,13 +2359,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2359
2359
  businessId: string;
2360
2360
  profile: {
2361
2361
  code?: string | null | undefined;
2362
+ url?: string | null | undefined;
2363
+ description?: string | null | undefined;
2362
2364
  _id?: string | null | undefined;
2363
2365
  legalName?: string | null | undefined;
2364
2366
  sstRegNo?: string | null | undefined;
2365
2367
  discovery?: boolean | null | undefined;
2366
2368
  coverPhoto?: string | null | undefined;
2367
2369
  thumbnailPhoto?: string | null | undefined;
2368
- description?: string | null | undefined;
2369
2370
  photos?: string[] | null | undefined;
2370
2371
  operatingHours?: {
2371
2372
  0: {
@@ -2419,7 +2420,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2419
2420
  };
2420
2421
  } | null | undefined;
2421
2422
  tags?: string[] | null | undefined;
2422
- url?: string | null | undefined;
2423
2423
  name: string;
2424
2424
  address: {
2425
2425
  coordinates?: number[] | null | undefined;
@@ -2430,8 +2430,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2430
2430
  city: string;
2431
2431
  postcode: string;
2432
2432
  };
2433
- phoneNo: string;
2434
2433
  email: string;
2434
+ phoneNo: string;
2435
2435
  regNo: string;
2436
2436
  };
2437
2437
  };
@@ -2460,13 +2460,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2460
2460
  businessId: string;
2461
2461
  profile: {
2462
2462
  code?: string | null | undefined;
2463
+ url?: string | null | undefined;
2464
+ description?: string | null | undefined;
2463
2465
  _id?: string | null | undefined;
2464
2466
  legalName?: string | null | undefined;
2465
2467
  sstRegNo?: string | null | undefined;
2466
2468
  discovery?: boolean | null | undefined;
2467
2469
  coverPhoto?: string | null | undefined;
2468
2470
  thumbnailPhoto?: string | null | undefined;
2469
- description?: string | null | undefined;
2470
2471
  photos?: string[] | null | undefined;
2471
2472
  operatingHours?: {
2472
2473
  0: {
@@ -2520,7 +2521,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2520
2521
  };
2521
2522
  } | null | undefined;
2522
2523
  tags?: string[] | null | undefined;
2523
- url?: string | null | undefined;
2524
2524
  name: string;
2525
2525
  address: {
2526
2526
  coordinates?: number[] | null | undefined;
@@ -2531,8 +2531,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2531
2531
  city: string;
2532
2532
  postcode: string;
2533
2533
  };
2534
- phoneNo: string;
2535
2534
  email: string;
2535
+ phoneNo: string;
2536
2536
  regNo: string;
2537
2537
  };
2538
2538
  };
@@ -2546,9 +2546,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2546
2546
  remark?: string | null | undefined;
2547
2547
  supplier: {
2548
2548
  _rev?: string | null | undefined;
2549
- email?: string | null | undefined;
2550
2549
  internal?: "restaurant" | "warehouse" | null | undefined;
2551
2550
  contactName?: string | null | undefined;
2551
+ email?: string | null | undefined;
2552
2552
  phoneNumber?: string | null | undefined;
2553
2553
  registrationNumber?: string | undefined;
2554
2554
  supplyItems?: {
@@ -2949,9 +2949,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
2949
2949
  shipmentIds?: string[] | null | undefined;
2950
2950
  supplier: {
2951
2951
  _rev?: string | null | undefined;
2952
- email?: string | null | undefined;
2953
2952
  internal?: "restaurant" | "warehouse" | null | undefined;
2954
2953
  contactName?: string | null | undefined;
2954
+ email?: string | null | undefined;
2955
2955
  phoneNumber?: string | null | undefined;
2956
2956
  registrationNumber?: string | undefined;
2957
2957
  supplyItems?: {
@@ -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?: {
@@ -3269,13 +3269,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3269
3269
  businessId: string;
3270
3270
  profile: {
3271
3271
  code?: string | null | undefined;
3272
+ url?: string | null | undefined;
3273
+ description?: string | null | undefined;
3272
3274
  _id?: string | null | undefined;
3273
3275
  legalName?: string | null | undefined;
3274
3276
  sstRegNo?: string | null | undefined;
3275
3277
  discovery?: boolean | null | undefined;
3276
3278
  coverPhoto?: string | null | undefined;
3277
3279
  thumbnailPhoto?: string | null | undefined;
3278
- description?: string | null | undefined;
3279
3280
  photos?: string[] | null | undefined;
3280
3281
  operatingHours?: {
3281
3282
  0: {
@@ -3329,7 +3330,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3329
3330
  };
3330
3331
  } | null | undefined;
3331
3332
  tags?: string[] | null | undefined;
3332
- url?: string | null | undefined;
3333
3333
  name: string;
3334
3334
  address: {
3335
3335
  coordinates?: number[] | null | undefined;
@@ -3340,8 +3340,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3340
3340
  city: string;
3341
3341
  postcode: string;
3342
3342
  };
3343
- phoneNo: string;
3344
3343
  email: string;
3344
+ phoneNo: string;
3345
3345
  regNo: string;
3346
3346
  };
3347
3347
  };
@@ -3355,9 +3355,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3355
3355
  remark?: string | null | undefined;
3356
3356
  supplier: {
3357
3357
  _rev?: string | null | undefined;
3358
- email?: string | null | undefined;
3359
3358
  internal?: "restaurant" | "warehouse" | null | undefined;
3360
3359
  contactName?: string | null | undefined;
3360
+ email?: string | null | undefined;
3361
3361
  phoneNumber?: string | null | undefined;
3362
3362
  registrationNumber?: string | undefined;
3363
3363
  supplyItems?: {
@@ -3758,9 +3758,9 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
3758
3758
  shipmentIds?: string[] | null | undefined;
3759
3759
  supplier: {
3760
3760
  _rev?: string | null | undefined;
3761
- email?: string | null | undefined;
3762
3761
  internal?: "restaurant" | "warehouse" | null | undefined;
3763
3762
  contactName?: string | null | undefined;
3763
+ email?: string | null | undefined;
3764
3764
  phoneNumber?: string | null | undefined;
3765
3765
  registrationNumber?: string | undefined;
3766
3766
  supplyItems?: {
@@ -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?: {
@@ -4068,13 +4068,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
4068
4068
  businessId: string;
4069
4069
  profile: {
4070
4070
  code?: string | null | undefined;
4071
+ url?: string | null | undefined;
4072
+ description?: string | null | undefined;
4071
4073
  _id?: string | null | undefined;
4072
4074
  legalName?: string | null | undefined;
4073
4075
  sstRegNo?: string | null | undefined;
4074
4076
  discovery?: boolean | null | undefined;
4075
4077
  coverPhoto?: string | null | undefined;
4076
4078
  thumbnailPhoto?: string | null | undefined;
4077
- description?: string | null | undefined;
4078
4079
  photos?: string[] | null | undefined;
4079
4080
  operatingHours?: {
4080
4081
  0: {
@@ -4128,7 +4129,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
4128
4129
  };
4129
4130
  } | null | undefined;
4130
4131
  tags?: string[] | null | undefined;
4131
- url?: string | null | undefined;
4132
4132
  name: string;
4133
4133
  address: {
4134
4134
  coordinates?: number[] | null | undefined;
@@ -4139,8 +4139,8 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
4139
4139
  city: string;
4140
4140
  postcode: string;
4141
4141
  };
4142
- phoneNo: string;
4143
4142
  email: string;
4143
+ phoneNo: string;
4144
4144
  regNo: string;
4145
4145
  };
4146
4146
  };
@@ -29,12 +29,12 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
29
29
  partialReceived?: boolean | null | undefined;
30
30
  overReceived?: boolean | null | undefined;
31
31
  supplier: {
32
- email?: string | null | undefined;
33
32
  internal?: "restaurant" | "warehouse" | null | undefined;
33
+ email?: string | null | undefined;
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;
@@ -62,13 +62,14 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
62
62
  businessId: string;
63
63
  profile: {
64
64
  code?: string | null | undefined;
65
+ url?: string | null | undefined;
66
+ description?: string | null | undefined;
65
67
  _id?: string | null | undefined;
66
68
  legalName?: string | null | undefined;
67
69
  sstRegNo?: string | null | undefined;
68
70
  discovery?: boolean | null | undefined;
69
71
  coverPhoto?: string | null | undefined;
70
72
  thumbnailPhoto?: string | null | undefined;
71
- description?: string | null | undefined;
72
73
  photos?: string[] | null | undefined;
73
74
  operatingHours?: {
74
75
  0: {
@@ -122,7 +123,6 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
122
123
  };
123
124
  } | null | undefined;
124
125
  tags?: string[] | null | undefined;
125
- url?: string | null | undefined;
126
126
  name: string;
127
127
  address: {
128
128
  coordinates?: number[] | null | undefined;
@@ -133,8 +133,8 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
133
133
  city: string;
134
134
  postcode: string;
135
135
  };
136
- phoneNo: string;
137
136
  email: string;
137
+ phoneNo: string;
138
138
  regNo: string;
139
139
  };
140
140
  };
@@ -148,9 +148,9 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
148
148
  remark?: string | null | undefined;
149
149
  supplier: {
150
150
  _rev?: string | null | undefined;
151
- email?: string | null | undefined;
152
151
  internal?: "restaurant" | "warehouse" | null | undefined;
153
152
  contactName?: string | null | undefined;
153
+ email?: string | null | undefined;
154
154
  phoneNumber?: string | null | undefined;
155
155
  registrationNumber?: string | undefined;
156
156
  supplyItems?: {
@@ -551,9 +551,9 @@ export declare function useBulkReceiveRequestTable(bulkComposable: BulkReceiveRe
551
551
  shipmentIds?: string[] | null | undefined;
552
552
  supplier: {
553
553
  _rev?: string | null | undefined;
554
- email?: string | null | undefined;
555
554
  internal?: "restaurant" | "warehouse" | null | undefined;
556
555
  contactName?: string | null | undefined;
556
+ email?: string | null | undefined;
557
557
  phoneNumber?: string | null | undefined;
558
558
  registrationNumber?: string | undefined;
559
559
  supplyItems?: {
@@ -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?: {
@@ -13,6 +13,7 @@ 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
19
  type: 'RECIPE' | 'SKU';
@@ -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 {};
@@ -1,15 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- scopeDbName: string | null;
3
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- scopeDbName: string | null;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
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>;
6
2
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };