@feedmepos/mf-inventory-portal 1.8.0-dev.0 → 1.8.0-dev.10

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 (247) hide show
  1. package/dist/App-BjFIh5km.js +1466 -0
  2. package/dist/{ApprovalView-BK6E_3Cw.js → ApprovalView-CauRuf64.js} +26 -25
  3. package/dist/{BindingsDialog-BAVPQ_Eq.js → BindingsDialog-U-tzIfGX.js} +2 -2
  4. package/dist/{BindingsPicker-bAuDX7Af.js → BindingsPicker-CV_oghtz.js} +2 -2
  5. package/dist/{BindingsTable-LGlvV0lt.js → BindingsTable-TKSQxAxV.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-CQf7FYos.js → BulkReceiveRequestView-Cyeq26qc.js} +21 -21
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BpJhboKU.js +151 -0
  8. package/dist/{ClosingDraftView-DH7iYiE9.js → ClosingDraftView-UqeHsxyJ.js} +748 -746
  9. package/dist/ClosingHistoryView-Cr6cQq6j.js +769 -0
  10. package/dist/{ClosingTemplateView-D532GNTn.js → ClosingTemplateView-DZ0Mdc87.js} +303 -291
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C-OsCTxZ.js} +1 -1
  12. package/dist/{DefaultView-DqqXJVba.js → DefaultView-DQKHG5Jl.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DkHNDEKP.js → DeliveryOrderPrintPreview-Z_kBbMMO.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js → EmailDialog.vue_vue_type_script_setup_true_lang-Ce6Ly9pT.js} +6228 -6216
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BUYI8koH.js +47 -0
  16. package/dist/FeatureCapabilityGate-DOn2IVJb.js +74 -0
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BJuo4lEh.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDNqm_9N.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DZxz5hbo.js} +2 -2
  19. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CiBhz5sq.js +120 -0
  20. package/dist/FmMultiselectDialog-Bx9cLdYs.js +123 -0
  21. package/dist/{FmMultiselectDialog-eH3nO3P3.js → FmMultiselectDialog-DvaWLGY5.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BCIkEl75.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D6f1M96D.js} +72 -73
  23. package/dist/ImportView-1-cjN7ay.js +1290 -0
  24. package/dist/{IngredientsView-DtDtzaMt.js → IngredientsView-JfKlUU2E.js} +656 -649
  25. package/dist/{IntegrationExplorerView-C4lYc_LH.js → IntegrationExplorerView-uElgWH8i.js} +602 -614
  26. package/dist/IntegrationPlatformView-g2dU5SG6.js +13061 -0
  27. package/dist/{IntegrationView-Bx5VdV5l.js → IntegrationView-B9g888K4.js} +2956 -2922
  28. package/dist/{InventoryBindingForm-DKa1DwYs.js → InventoryBindingForm-DfGOKZWg.js} +1 -1
  29. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CNjTdNL7.js +472 -0
  30. package/dist/{InventoryBindingSummary-CNqwcsrX.js → InventoryBindingSummary-CSii8B2X.js} +1 -1
  31. package/dist/JsonViewer.vue_vue_type_script_setup_true_lang-C_hg75l0.js +25 -0
  32. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D_Xk4SOH.js +79 -0
  33. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-DJvfMOND.js +274 -0
  34. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-Bdjm0Y4w.js +79 -0
  35. package/dist/ProductionRunDetailView-HgH2Wp99.js +2312 -0
  36. package/dist/{production-run-prepare-sheet-aQOcxgaC.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-C88pjV2s.js} +11039 -3661
  37. package/dist/ProductionRunView-BkvQHeCP.js +931 -0
  38. package/dist/{PublishView-D0oSoJ5a.js → PublishView-CIei_T5e.js} +3 -3
  39. package/dist/{PurchaseOrderPrintPreview-CE-l4mvB.js → PurchaseOrderPrintPreview-Wmv7676h.js} +2 -2
  40. package/dist/{ReceiveRequestView-B2z8Ji0e.js → ReceiveRequestView-MqOIpIDB.js} +15 -15
  41. package/dist/RecipeView-WzXJX4JU.js +3440 -0
  42. package/dist/SettingsView-1YlgjyzB.js +1032 -0
  43. package/dist/StockView-C-dIRXPv.js +2651 -0
  44. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CewKTZzy.js} +1 -1
  45. package/dist/{SupplierView-qqhUQ-SY.js → SupplierView-53rHhQ63.js} +577 -571
  46. package/dist/{SurchargeView-B0TYUfqY.js → SurchargeView-DuJb5EUn.js} +7 -7
  47. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C_YmC-ZX.js} +2 -2
  48. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js +71 -0
  49. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxc-jNte.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyQujMzv.js} +1 -1
  50. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js → TransferDetails.vue_vue_type_script_setup_true_lang-CMwqjlb0.js} +1722 -1672
  51. package/dist/TransferTemplateView-B6OGfKQr.js +2343 -0
  52. package/dist/{UnitCostHistoryView-xdRSkjD7.js → UnitCostHistoryView-BVlq4BNG.js} +4 -4
  53. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CULJEeCU.js} +4 -4
  54. package/dist/{UnitView-p-V_TMMo.js → UnitView-AuIJokVF.js} +84 -84
  55. package/dist/{WarehouseView-BOGYcUHH.js → WarehouseView-Cjv8S1ov.js} +194 -189
  56. package/dist/{WastageTemplateView-CiifZMq6.js → WastageTemplateView-mxSTzVSZ.js} +19 -18
  57. package/dist/api/bill.d.ts +144 -88
  58. package/dist/api/feature-flags.d.ts +12 -0
  59. package/dist/api/food-market-hub.d.ts +2 -2
  60. package/dist/api/integration-sync-log.d.ts +0 -13
  61. package/dist/api/inventory.d.ts +9 -9
  62. package/dist/api/license.d.ts +8 -0
  63. package/dist/{app-CGcDbrt8.js → app-OztWApio.js} +27841 -28064
  64. package/dist/app.d.ts +36 -150
  65. package/dist/app.js +1 -1
  66. package/dist/{closing-template-B4lQetjU.js → closing-template-DIxXDgZQ.js} +1 -1
  67. package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
  68. package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
  69. package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
  70. package/dist/components/FeatureCapabilityGate.vue.d.ts +29 -0
  71. package/dist/components/FmUnitInputRules.d.ts +1 -1
  72. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  73. package/dist/components/{PreviewBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
  74. package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
  75. package/dist/composable/useNavigationMenu.d.ts +2 -1
  76. package/dist/{date2-CHOcS7LX.js → date2-BTzYzk-x.js} +1 -1
  77. package/dist/{dayjs.min-DrqpmBJQ.js → dayjs.min-BIg6CfC4.js} +1 -1
  78. package/dist/{decimal-BJ-B2ZXz.js → decimal-B34w3X7O.js} +2 -2
  79. package/dist/{defineDeepModel-DLlTW3xL.js → defineDeepModel-CrZAv12u.js} +1 -1
  80. package/dist/{duplicate-template-Dyz7iXqd.js → duplicate-template-BKVPhi40.js} +1 -1
  81. package/dist/{inventory-core-dart.default-DGI40oFz.js → feature-BUVZ_ab3.js} +766 -398
  82. package/dist/feature-flags/core.d.ts +28 -0
  83. package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
  84. package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
  85. package/dist/feature-flags/plan-tier.d.ts +6 -0
  86. package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
  87. package/dist/feature-flags/portal-feature-catalog.d.ts +19 -0
  88. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  89. package/dist/feature-flags/vue.d.ts +16 -0
  90. package/dist/feature-flags/vue.spec.d.ts +1 -0
  91. package/dist/{format-time-from-id-DBFdt14U.js → format-time-from-id-DGLxhRFH.js} +1 -1
  92. package/dist/{format-unit-display-BXCWhtXb.js → format-unit-display-BhudItCc.js} +118 -119
  93. package/dist/helper/menu-usage-module.d.ts +1 -1
  94. package/dist/helper/number.d.ts +5 -1
  95. package/dist/helper/rules.d.ts +1 -1
  96. package/dist/id-to-date-BfwadWDS.js +67 -0
  97. package/dist/{import-export.helper-BgaADwYQ.js → import-export.helper-BdQ_d-fT.js} +16 -17
  98. package/dist/{index-BT-a2SOP.js → index-BTNI4XZ2.js} +1 -1
  99. package/dist/{index-BS5wlvV_.js → index-B_hoeQNL.js} +3 -3
  100. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  101. package/dist/{index-CqgYx0tx.js → index-CCvxPS3E.js} +1 -1
  102. package/dist/index-eGvSlWMU.js +1892 -0
  103. package/dist/{lz-string-CRDgHWib.js → lz-string-CVEGZpSC.js} +1 -1
  104. package/dist/{netsuite-CaILEA4R.js → netsuite-DEhdSyBn.js} +9 -3
  105. package/dist/{predefined-templates-CTLn4dgR.js → predefined-templates-BTdQl7jj.js} +1 -1
  106. package/dist/{purchase-order-template-CE4_gQyK.js → purchase-order-template-DfMmpsrJ.js} +1 -1
  107. package/dist/{recalculationUtils-DoBJhZjA.js → recalculationUtils-Ds9Jcg0l.js} +1 -1
  108. package/dist/router/name.d.ts +2 -3
  109. package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-B2Y5YFbc.js} +2 -2
  110. package/dist/rules-D01xYhgI.js +238 -0
  111. package/dist/{stock-WxsPiRKa.js → stock-D3kBNq3e.js} +1 -1
  112. package/dist/stock-DyTC4Teu.js +74 -0
  113. package/dist/stores/feature.d.ts +20 -2
  114. package/dist/stores/integration/codemax.d.ts +2 -2
  115. package/dist/stores/integration/foodmarkethub.d.ts +2 -2
  116. package/dist/stores/integration/netsuite.d.ts +2 -2
  117. package/dist/stores/inventory.d.ts +0 -47
  118. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  119. package/dist/stores/location.d.ts +42 -42
  120. package/dist/stores/supplier.d.ts +49 -49
  121. package/dist/stores/warehouse.d.ts +3 -2
  122. package/dist/style.css +1 -1
  123. package/dist/{supplier-DbdPWPj7.js → supplier-DaidezrO.js} +2 -2
  124. package/dist/{surcharge-BsvY29nN.js → surcharge-C-PFvvlU.js} +1 -1
  125. package/dist/tsconfig.app.tsbuildinfo +1 -1
  126. package/dist/{uom-rules-dxyRNetA.js → uom-rules-Un5bhcrm.js} +1 -1
  127. package/dist/{use-ingredient-select-dialog-eYM-6q4s.js → use-ingredient-select-dialog-DV_hkAt9.js} +2 -2
  128. package/dist/use-inventory-binding-dialog-CTceyFrg.js +113 -0
  129. package/dist/{use-template-enabled-locations-C0o5r4_0.js → use-template-enabled-locations-DGqw8tvz.js} +2 -2
  130. package/dist/{use-transfer-locations-CC35SlyA.js → use-transfer-locations-DgtKajec.js} +2 -2
  131. package/dist/{useHrmPermission-DxzYJX4n.js → useHrmPermission-BMpZlah6.js} +1 -1
  132. package/dist/useNavigationMenu-D0NtXAnB.js +346 -0
  133. package/dist/{useSseClient-ml-_A-4u.js → useSseClient-CHZZxy7Z.js} +1 -1
  134. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  135. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  136. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  137. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  138. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  139. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  140. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
  141. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  142. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  143. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +0 -1
  144. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +0 -1
  145. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  146. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +0 -1
  147. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +0 -1
  148. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +1 -1
  149. package/dist/{components/PremiumBadge.vue.d.ts → views/integration/IntegrationPlatformView.vue.d.ts} +11 -13
  150. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +4 -4
  151. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +4 -4
  152. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +4 -4
  153. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +4 -4
  154. package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
  155. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  156. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  157. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  158. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  159. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  160. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/detail/ProductionRunDetailTabs.spec.d.ts +1 -0
  162. package/dist/views/production-run/features/detail/{ProductionRunTabs.vue.d.ts → ProductionRunDetailTabs.vue.d.ts} +4 -8
  163. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +2 -2
  164. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +4 -4
  165. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +2 -2
  166. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +2 -2
  167. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +11 -11
  168. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +2 -2
  169. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +2 -2
  170. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +3 -3
  171. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -9
  172. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -2
  173. package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -1
  174. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +10 -0
  175. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  176. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  177. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  178. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  179. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  180. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  181. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  182. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +42 -42
  183. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  184. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  185. package/dist/views/recipe/helper/bulk-edit-simulation.helper.d.ts +0 -1
  186. package/dist/views/recipe/helper/import-recipe.d.ts +2 -2
  187. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  188. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  189. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → settings/PlanLicenseDisplay.vue.d.ts} +2 -2
  190. package/dist/views/stock/components/StockRecordCard.vue.d.ts +72 -44
  191. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  192. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  193. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  194. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  195. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  196. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  197. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  198. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  199. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  200. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  201. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +6 -4
  202. package/dist/{vue-i18n-DYapak10.js → vue-i18n-mXrQUZTi.js} +235 -235
  203. package/dist/{xlsx.util-DrElrKDx.js → xlsx.util-CKx0NYTq.js} +2 -2
  204. package/package.json +72 -67
  205. package/dist/App-CBS1Tqpl.js +0 -1476
  206. package/dist/ClosingHistoryView-3z17ZJzK.js +0 -761
  207. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js +0 -243
  208. package/dist/FmMultiselectDialog-7xh6h5AX.js +0 -77
  209. package/dist/ImportView-C3Fc0e_X.js +0 -1302
  210. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js +0 -51
  211. package/dist/IngredientGroupView-DA1buE1C.js +0 -985
  212. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js +0 -563
  213. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbg0j7Jz.js +0 -72
  214. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js +0 -93
  215. package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
  216. package/dist/ProductionRunDetailView-DYeSPsIY.js +0 -2284
  217. package/dist/ProductionRunPreparePrintView-DJOejqOC.js +0 -34
  218. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-JKMI-vVw.js +0 -7543
  219. package/dist/ProductionRunView-Cg3aYOg9.js +0 -911
  220. package/dist/RecipeView-DC0p9RKL.js +0 -3625
  221. package/dist/SettingsView-DaKfCVY5.js +0 -698
  222. package/dist/StockView-DdweBRFv.js +0 -2612
  223. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  224. package/dist/TransferTemplateView-CSXcAB3-.js +0 -2327
  225. package/dist/feature-DtpSrELx.js +0 -1136
  226. package/dist/number-DE6ovaTs.js +0 -138
  227. package/dist/random-CSbEbElR.js +0 -10
  228. package/dist/rules-CkaU7yFU.js +0 -98
  229. package/dist/stock-B3Q9e174.js +0 -75
  230. package/dist/use-inventory-binding-dialog-CCV1iieA.js +0 -152
  231. package/dist/useNavigationMenu-IKam6CEf.js +0 -172
  232. package/dist/usePromise-CbVUCxhj.js +0 -29
  233. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +0 -3
  234. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +0 -31
  235. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +0 -10
  236. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +0 -21
  237. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +0 -12
  238. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +0 -37
  239. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +0 -24
  240. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +0 -31
  241. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +0 -77
  242. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
  243. /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
  244. /package/dist/{views/production-run/ProductionRunPreparePrintView.spec.d.ts → components/FeatureCapabilityGate.spec.d.ts} +0 -0
  245. /package/dist/{views/production-run/features/detail/ProductionRunTabs.spec.d.ts → components/NumberPrecisionInput.spec.d.ts} +0 -0
  246. /package/dist/{views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts → feature-flags/core.spec.d.ts} +0 -0
  247. /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → settings/FeatureFlagView.vue.d.ts} +0 -0
@@ -0,0 +1,22 @@
1
+ import type { FdoDecimal } from '@feedmepos/core/entity';
2
+ export type OpeningBalanceValues = {
3
+ balance: FdoDecimal;
4
+ totalCost: FdoDecimal;
5
+ error: null;
6
+ } | {
7
+ balance: null;
8
+ totalCost: null;
9
+ error: string;
10
+ };
11
+ /**
12
+ * Converts an opening balance row's quantity and total cost to decimals.
13
+ *
14
+ * A unit average cost (e.g. from NetSuite) replaces the file's total cost and is
15
+ * multiplied as decimals: as floats 0.1 * 3 is 0.30000000000000004, which has no
16
+ * exact safe decimal. Invalid values return a row error instead of throwing.
17
+ */
18
+ export declare function toOpeningBalanceValues(args: {
19
+ quantity: string;
20
+ fileTotalCost: string;
21
+ unitAverageCost?: number;
22
+ }): OpeningBalanceValues;
@@ -1,27 +1,24 @@
1
- export interface ProductionRunTabItem<Value extends string = string> {
1
+ export interface ProductionRunDetailTabItem<Value extends string = string> {
2
2
  label: string;
3
3
  value: Value;
4
- badge?: number;
5
4
  id?: string;
6
5
  controls?: string;
7
6
  }
8
7
  declare const _default: <T extends string>(__VLS_props: {
9
- items: readonly ProductionRunTabItem<T>[];
8
+ items: readonly ProductionRunDetailTabItem<T>[];
10
9
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
11
10
  modelValue: T;
12
11
  ariaLabel: string;
13
- density: 'list' | 'detail';
14
12
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
15
13
  attrs: any;
16
14
  slots: {};
17
15
  emit: (evt: "update:modelValue", value: T) => void;
18
16
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
19
17
  props: {
20
- items: readonly ProductionRunTabItem<T>[];
18
+ items: readonly ProductionRunDetailTabItem<T>[];
21
19
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
22
20
  modelValue: T;
23
21
  ariaLabel: string;
24
- density: 'list' | 'detail';
25
22
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
26
23
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
27
24
  attrs: any;
@@ -32,11 +29,10 @@ declare const _default: <T extends string>(__VLS_props: {
32
29
  }> & {
33
30
  __ctx?: {
34
31
  props: {
35
- items: readonly ProductionRunTabItem<T>[];
32
+ items: readonly ProductionRunDetailTabItem<T>[];
36
33
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
37
34
  modelValue: T;
38
35
  ariaLabel: string;
39
- density: 'list' | 'detail';
40
36
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
41
37
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
42
38
  attrs: any;
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
5
5
  closedAt?: string | null | undefined;
6
6
  cancelledAt?: string | null | undefined;
7
7
  cancelReason?: string | null | undefined;
8
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
8
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
9
9
  _id: string;
10
10
  createdAt: string;
11
11
  createdBy: {
@@ -523,7 +523,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
523
523
  closedAt?: string | null | undefined;
524
524
  cancelledAt?: string | null | undefined;
525
525
  cancelReason?: string | null | undefined;
526
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
526
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
527
527
  _id: string;
528
528
  createdAt: string;
529
529
  createdBy: {
@@ -63,7 +63,7 @@ export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>,
63
63
  closedAt?: string | null | undefined;
64
64
  cancelledAt?: string | null | undefined;
65
65
  cancelReason?: string | null | undefined;
66
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
66
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
67
67
  _id: string;
68
68
  createdAt: string;
69
69
  createdBy: {
@@ -564,7 +564,7 @@ export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>,
564
564
  closedAt?: string | null | undefined;
565
565
  cancelledAt?: string | null | undefined;
566
566
  cancelReason?: string | null | undefined;
567
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
567
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
568
568
  _id: string;
569
569
  createdAt: string;
570
570
  createdBy: {
@@ -1065,7 +1065,7 @@ export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>,
1065
1065
  closedAt?: string | null | undefined;
1066
1066
  cancelledAt?: string | null | undefined;
1067
1067
  cancelReason?: string | null | undefined;
1068
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1068
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
1069
1069
  _id: string;
1070
1070
  createdAt: string;
1071
1071
  createdBy: {
@@ -1575,7 +1575,7 @@ export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>,
1575
1575
  closedAt?: string | null | undefined;
1576
1576
  cancelledAt?: string | null | undefined;
1577
1577
  cancelReason?: string | null | undefined;
1578
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1578
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
1579
1579
  _id: string;
1580
1580
  createdAt: string;
1581
1581
  createdBy: {
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6
6
  closedAt?: string | null | undefined;
7
7
  cancelledAt?: string | null | undefined;
8
8
  cancelReason?: string | null | undefined;
9
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
9
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
10
10
  _id: string;
11
11
  createdAt: string;
12
12
  createdBy: {
@@ -510,7 +510,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
510
510
  closedAt?: string | null | undefined;
511
511
  cancelledAt?: string | null | undefined;
512
512
  cancelReason?: string | null | undefined;
513
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
513
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
514
514
  _id: string;
515
515
  createdAt: string;
516
516
  createdBy: {
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6
6
  closedAt?: string | null | undefined;
7
7
  cancelledAt?: string | null | undefined;
8
8
  cancelReason?: string | null | undefined;
9
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
9
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
10
10
  _id: string;
11
11
  createdAt: string;
12
12
  createdBy: {
@@ -510,7 +510,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
510
510
  closedAt?: string | null | undefined;
511
511
  cancelledAt?: string | null | undefined;
512
512
  cancelReason?: string | null | undefined;
513
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
513
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
514
514
  _id: string;
515
515
  createdAt: string;
516
516
  createdBy: {
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
24
24
  closedAt?: string | null | undefined;
25
25
  cancelledAt?: string | null | undefined;
26
26
  cancelReason?: string | null | undefined;
27
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
27
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
28
28
  _id: string;
29
29
  createdAt: string;
30
30
  createdBy: {
@@ -528,7 +528,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
528
528
  closedAt?: string | null | undefined;
529
529
  cancelledAt?: string | null | undefined;
530
530
  cancelReason?: string | null | undefined;
531
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
531
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
532
532
  _id: string;
533
533
  createdAt: string;
534
534
  createdBy: {
@@ -1030,7 +1030,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1030
1030
  closedAt?: string | null | undefined;
1031
1031
  cancelledAt?: string | null | undefined;
1032
1032
  cancelReason?: string | null | undefined;
1033
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1033
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
1034
1034
  _id: string;
1035
1035
  createdAt: string;
1036
1036
  createdBy: {
@@ -1536,12 +1536,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1536
1536
  ingredients: () => never[];
1537
1537
  }>>> & Readonly<{
1538
1538
  onIssued?: ((result: import("@/api/production-run").ProductionRunDocument) => any) | undefined;
1539
- onCancelled?: ((run: WithRev<{
1539
+ onClosed?: ((run: WithRev<{
1540
1540
  _rev?: string | null | undefined;
1541
1541
  closedAt?: string | null | undefined;
1542
1542
  cancelledAt?: string | null | undefined;
1543
1543
  cancelReason?: string | null | undefined;
1544
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1544
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
1545
1545
  _id: string;
1546
1546
  createdAt: string;
1547
1547
  createdBy: {
@@ -2038,12 +2038,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2038
2038
  }[];
2039
2039
  }[];
2040
2040
  }>) => any) | undefined;
2041
- onClosed?: ((run: WithRev<{
2041
+ onReload?: (() => any) | undefined;
2042
+ "onLoad-more-duplicate-sources"?: (() => any) | undefined;
2043
+ onCancelled?: ((run: WithRev<{
2042
2044
  _rev?: string | null | undefined;
2043
2045
  closedAt?: string | null | undefined;
2044
2046
  cancelledAt?: string | null | undefined;
2045
2047
  cancelReason?: string | null | undefined;
2046
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
2048
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
2047
2049
  _id: string;
2048
2050
  createdAt: string;
2049
2051
  createdBy: {
@@ -2540,15 +2542,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2540
2542
  }[];
2541
2543
  }[];
2542
2544
  }>) => any) | undefined;
2543
- onReload?: (() => any) | undefined;
2544
- "onLoad-more-duplicate-sources"?: (() => any) | undefined;
2545
2545
  "onUpdate:action"?: ((value: ProductionRunLifecycleAction | null) => any) | undefined;
2546
2546
  onEdited?: ((run: WithRev<{
2547
2547
  _rev?: string | null | undefined;
2548
2548
  closedAt?: string | null | undefined;
2549
2549
  cancelledAt?: string | null | undefined;
2550
2550
  cancelReason?: string | null | undefined;
2551
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
2551
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
2552
2552
  _id: string;
2553
2553
  createdAt: string;
2554
2554
  createdBy: {
@@ -3053,7 +3053,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3053
3053
  closedAt?: string | null | undefined;
3054
3054
  cancelledAt?: string | null | undefined;
3055
3055
  cancelReason?: string | null | undefined;
3056
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
3056
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
3057
3057
  _id: string;
3058
3058
  createdAt: string;
3059
3059
  createdBy: {
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9
9
  closedAt?: string | null | undefined;
10
10
  cancelledAt?: string | null | undefined;
11
11
  cancelReason?: string | null | undefined;
12
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
12
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
13
13
  _id: string;
14
14
  createdAt: string;
15
15
  createdBy: {
@@ -516,7 +516,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
516
516
  closedAt?: string | null | undefined;
517
517
  cancelledAt?: string | null | undefined;
518
518
  cancelReason?: string | null | undefined;
519
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
519
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
520
520
  _id: string;
521
521
  createdAt: string;
522
522
  createdBy: {
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  closedAt?: string | null | undefined;
8
8
  cancelledAt?: string | null | undefined;
9
9
  cancelReason?: string | null | undefined;
10
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
10
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
11
11
  _id: string;
12
12
  createdAt: string;
13
13
  createdBy: {
@@ -511,7 +511,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
511
511
  closedAt?: string | null | undefined;
512
512
  cancelledAt?: string | null | undefined;
513
513
  cancelReason?: string | null | undefined;
514
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
514
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
515
515
  _id: string;
516
516
  createdAt: string;
517
517
  createdBy: {
@@ -18,7 +18,7 @@ export declare function useProductionRunDuplicateSources(options: ProductionRunD
18
18
  closedAt?: string | null | undefined;
19
19
  cancelledAt?: string | null | undefined;
20
20
  cancelReason?: string | null | undefined;
21
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
21
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
22
22
  _id: string;
23
23
  createdAt: string;
24
24
  createdBy: {
@@ -519,7 +519,7 @@ export declare function useProductionRunDuplicateSources(options: ProductionRunD
519
519
  closedAt?: string | null | undefined;
520
520
  cancelledAt?: string | null | undefined;
521
521
  cancelReason?: string | null | undefined;
522
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
522
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
523
523
  _id: string;
524
524
  createdAt: string;
525
525
  createdBy: {
@@ -1020,7 +1020,7 @@ export declare function useProductionRunDuplicateSources(options: ProductionRunD
1020
1020
  closedAt?: string | null | undefined;
1021
1021
  cancelledAt?: string | null | undefined;
1022
1022
  cancelReason?: string | null | undefined;
1023
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1023
+ status: "DRAFT" | "REQUESTING" | "CANCEL" | "PREPARING" | "CLOSED";
1024
1024
  _id: string;
1025
1025
  createdAt: string;
1026
1026
  createdBy: {
@@ -7,12 +7,3 @@ export interface ProductionRunPrepareSheetDocument {
7
7
  updatedAt: string;
8
8
  review: PrepareRunReview;
9
9
  }
10
- /** Remove only malformed or expired hand-offs owned by this feature. */
11
- export declare function purgePrepareSheets(storage?: Storage, now?: number): void;
12
- /** Remove exactly one hand-off; never scan or mutate unrelated browser storage. */
13
- export declare function removePrepareSheet(id: string, storage?: Storage): void;
14
- /** Store one print hand-off without putting its operational contents in the URL. */
15
- export declare function storePrepareSheet(document: ProductionRunPrepareSheetDocument, storage?: Storage, now?: number): string;
16
- /** Consume the hand-off once. Malformed, missing and expired entries all fail closed. */
17
- export declare function readPrepareSheet(id: string, storage?: Storage, now?: number): ProductionRunPrepareSheetDocument;
18
- export declare function openPrepareSheet(document: ProductionRunPrepareSheetDocument): void;
@@ -2,5 +2,3 @@ import type { RouteLocationRaw } from 'vue-router';
2
2
  export declare function productionRunListRoute(search?: string): RouteLocationRaw;
3
3
  export declare function productionRunExitRoute(featureEnabled: boolean, search?: string): RouteLocationRaw;
4
4
  export declare function productionRunDetailRoute(id: string, search?: string): RouteLocationRaw;
5
- /** Keep the live shell context and replace only this feature's hand-off key. */
6
- export declare function productionRunPrepareSheetUrl(id: string, currentHref?: string): URL;
@@ -26,7 +26,6 @@ export declare const STATUS_ORDER: {
26
26
  /** Reject an obsolete or corrupt status instead of silently sorting it as NaN. */
27
27
  export declare function productionRunStatusOrder(status: F_PRODUCTION_RUN_STATUS): number;
28
28
  export declare function matchesProductionRunTab(run: FdoProductionRun, tab: ProductionRunTabKey): boolean;
29
- export declare function productionRunTabCounts(runs: FdoProductionRun[]): Record<ProductionRunTabKey, number>;
30
29
  /** Last audited event on the run, for the Updated column. */
31
30
  export declare function productionRunLastActivity(run: FdoProductionRun): {
32
31
  action: F_PRODUCTION_RUN_ACTION;
@@ -1,15 +1,25 @@
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;
5
+ position?: "overlay" | "sticky" | undefined;
4
6
  }>, {
5
7
  testid: string;
8
+ surface: string;
9
+ position: string;
6
10
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
11
  visible: boolean;
8
12
  testid?: string | undefined;
13
+ surface?: "neutral" | "primary" | undefined;
14
+ position?: "overlay" | "sticky" | undefined;
9
15
  }>, {
10
16
  testid: string;
17
+ surface: string;
18
+ position: string;
11
19
  }>>> & Readonly<{}>, {
20
+ position: 'sticky' | 'overlay';
12
21
  testid: string;
22
+ surface: 'primary' | 'neutral';
13
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
24
  export default _default;
15
25
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -35,14 +35,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
35
  businessId: string;
36
36
  profile: {
37
37
  code?: string | null | undefined;
38
- url?: string | null | undefined;
39
- description?: string | null | undefined;
40
38
  _id?: string | null | undefined;
41
39
  legalName?: string | null | undefined;
42
40
  sstRegNo?: string | null | undefined;
43
41
  discovery?: boolean | null | undefined;
44
42
  coverPhoto?: string | null | undefined;
45
43
  thumbnailPhoto?: string | null | undefined;
44
+ description?: string | null | undefined;
46
45
  photos?: string[] | null | undefined;
47
46
  operatingHours?: {
48
47
  0: {
@@ -96,6 +95,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
95
  };
97
96
  } | null | undefined;
98
97
  tags?: string[] | null | undefined;
98
+ url?: string | null | undefined;
99
99
  name: string;
100
100
  address: {
101
101
  coordinates?: number[] | null | undefined;
@@ -106,8 +106,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
106
106
  city: string;
107
107
  postcode: string;
108
108
  };
109
- email: string;
110
109
  phoneNo: string;
110
+ email: string;
111
111
  regNo: string;
112
112
  };
113
113
  };
@@ -121,9 +121,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
121
121
  remark?: string | null | undefined;
122
122
  supplier: {
123
123
  _rev?: string | null | undefined;
124
+ email?: string | null | undefined;
124
125
  internal?: "restaurant" | "warehouse" | null | undefined;
125
126
  contactName?: string | null | undefined;
126
- email?: string | null | undefined;
127
127
  phoneNumber?: string | null | undefined;
128
128
  registrationNumber?: string | undefined;
129
129
  supplyItems?: {
@@ -515,9 +515,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
515
515
  predictionId?: string | null | undefined;
516
516
  supplier: {
517
517
  _rev?: string | null | undefined;
518
+ email?: string | null | undefined;
518
519
  internal?: "restaurant" | "warehouse" | null | undefined;
519
520
  contactName?: string | null | undefined;
520
- email?: string | null | undefined;
521
521
  phoneNumber?: string | null | undefined;
522
522
  registrationNumber?: string | undefined;
523
523
  supplyItems?: {
@@ -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;
@@ -32,14 +32,13 @@ export declare function useProcessPurchaseOrder(): (params: {
32
32
  businessId: string;
33
33
  profile: {
34
34
  code?: string | null | undefined;
35
- url?: string | null | undefined;
36
- description?: string | null | undefined;
37
35
  _id?: string | null | undefined;
38
36
  legalName?: string | null | undefined;
39
37
  sstRegNo?: string | null | undefined;
40
38
  discovery?: boolean | null | undefined;
41
39
  coverPhoto?: string | null | undefined;
42
40
  thumbnailPhoto?: string | null | undefined;
41
+ description?: string | null | undefined;
43
42
  photos?: string[] | null | undefined;
44
43
  operatingHours?: {
45
44
  0: {
@@ -93,6 +92,7 @@ export declare function useProcessPurchaseOrder(): (params: {
93
92
  };
94
93
  } | null | undefined;
95
94
  tags?: string[] | null | undefined;
95
+ url?: string | null | undefined;
96
96
  name: string;
97
97
  address: {
98
98
  coordinates?: number[] | null | undefined;
@@ -103,8 +103,8 @@ export declare function useProcessPurchaseOrder(): (params: {
103
103
  city: string;
104
104
  postcode: string;
105
105
  };
106
- email: string;
107
106
  phoneNo: string;
107
+ email: string;
108
108
  regNo: string;
109
109
  };
110
110
  };
@@ -118,9 +118,9 @@ export declare function useProcessPurchaseOrder(): (params: {
118
118
  remark?: string | null | undefined;
119
119
  supplier: {
120
120
  _rev?: string | null | undefined;
121
+ email?: string | null | undefined;
121
122
  internal?: "restaurant" | "warehouse" | null | undefined;
122
123
  contactName?: string | null | undefined;
123
- email?: string | null | undefined;
124
124
  phoneNumber?: string | null | undefined;
125
125
  registrationNumber?: string | undefined;
126
126
  supplyItems?: {
@@ -521,9 +521,9 @@ export declare function useProcessPurchaseOrder(): (params: {
521
521
  shipmentIds?: string[] | null | undefined;
522
522
  supplier: {
523
523
  _rev?: string | null | undefined;
524
+ email?: string | null | undefined;
524
525
  internal?: "restaurant" | "warehouse" | null | undefined;
525
526
  contactName?: string | null | undefined;
526
- email?: string | null | undefined;
527
527
  phoneNumber?: string | null | undefined;
528
528
  registrationNumber?: string | undefined;
529
529
  supplyItems?: {
@@ -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" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
685
+ status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
686
686
  _id: string;
687
687
  items: {
688
688
  measurement?: {