@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
@@ -1,8 +0,0 @@
1
- export interface WarehouseLicense {
2
- id: string;
3
- expiredAt: string;
4
- }
5
- export declare function useLicenseApi(): {
6
- getInventoryPlan(locationId: string): Promise<string>;
7
- getWarehouseQuota(businessId: string): Promise<WarehouseLicense[]>;
8
- };
@@ -1,57 +0,0 @@
1
- import { defineComponent as _, resolveComponent as g, createElementBlock as r, openBlock as o, createVNode as v, createElementVNode as c, withCtx as b, toDisplayString as i, Fragment as n, renderList as d, createTextVNode as a, createCommentVNode as x, unref as h } from "vue";
2
- import { useI18n as k } from "@feedmepos/mf-common";
3
- const C = { class: "w-[500px] max-h-[60vh] overflow-y-auto" }, N = { class: "font-bold text-neutral-500 mx-1" }, A = { class: "mt-3" }, I = /* @__PURE__ */ _({
4
- __name: "CannotDelete",
5
- props: {
6
- subject: {
7
- type: String
8
- },
9
- items: {
10
- type: Array,
11
- default: () => []
12
- }
13
- },
14
- setup(e) {
15
- const { t } = k();
16
- return (s, u) => {
17
- const y = g("i18n-t");
18
- return o(), r("div", C, [
19
- v(y, {
20
- keypath: "inventory.common.usage.body",
21
- tag: "div"
22
- }, {
23
- subject: b(() => [
24
- c("span", N, i(e.subject), 1)
25
- ]),
26
- _: 1
27
- }),
28
- c("ol", A, [
29
- (o(!0), r(n, null, d(e.items, (f, p) => (o(), r("li", {
30
- class: "pl-5 font-bold text-neutral-500",
31
- key: p
32
- }, [
33
- u[0] || (u[0] = a(" • ")),
34
- (o(!0), r(n, null, d(f.chain, (m, l) => (o(), r(n, { key: l }, [
35
- l > 0 ? (o(), r(n, { key: 0 }, [
36
- a(" > ")
37
- ], 64)) : x("", !0),
38
- a(i(m.itemName) + " (" + i(h(t)(`inventory.common.usage.module.${m.moduleKey}`)) + ")", 1)
39
- ], 64))), 128))
40
- ]))), 128))
41
- ])
42
- ]);
43
- };
44
- }
45
- });
46
- function R(e) {
47
- const t = e.errorResponse;
48
- return !!t && typeof t == "object" && t.error === "VALIDATION_ERROR" && Array.isArray(t.errors) && t.errors.every((s) => typeof s.module == "string" && typeof s.name == "string");
49
- }
50
- function j(e) {
51
- return e.includes("variantCombinations") ? "variant" : e.startsWith("modules.catalog") ? "catalog" : e.startsWith("modules.item") ? "item" : e.startsWith("modules.group") ? "group" : "menu";
52
- }
53
- export {
54
- I as _,
55
- R as i,
56
- j as m
57
- };
@@ -1,138 +0,0 @@
1
- import { w as o } from "./app-Duum3eHx.js";
2
- import { F as l } from "./decimal-Cq0qUT4r.js";
3
- import "./dayjs.min-CQp6EpOp.js";
4
- function g(n, t) {
5
- return o.convertPrecision({
6
- value: n,
7
- precision: t
8
- });
9
- }
10
- function A(n, t) {
11
- return o.subtract([n, t]);
12
- }
13
- function j(n, t) {
14
- return o.add([n, t]);
15
- }
16
- function w(n, t) {
17
- return o.multiply([n, t]);
18
- }
19
- function P(n, t) {
20
- return o.multiply([n, t]);
21
- }
22
- function d(n, t) {
23
- const r = +s(n), e = +s(t);
24
- return r / e;
25
- }
26
- function F(n, t) {
27
- n = c(n), t = c(t);
28
- const r = d(n, t);
29
- return m(r);
30
- }
31
- function N(n, t) {
32
- return n.precision >= t ? n : o.convertPrecision({ value: n, precision: t });
33
- }
34
- function c(n) {
35
- if (n.amount === 0) return m(0);
36
- const t = f(n.amount), r = n.precision - t;
37
- return o.convertPrecision({ value: n, precision: Math.max(0, r) });
38
- }
39
- function s(n, t = !0) {
40
- return t ? Number(n.amount / Math.pow(10, n.precision)).toFixed(n.precision) : Number(n.amount / Math.pow(10, n.precision)).toString();
41
- }
42
- function x(n, t) {
43
- t = t ?? a(n);
44
- const r = t, e = n.toFixed(r), i = e.includes(".") ? e.replace(/0+$/, "") : e;
45
- return i.endsWith(".") ? i.slice(0, i.length - 1) : i;
46
- }
47
- function M(n, t = !1, r = 2) {
48
- const e = Number(n.amount / Math.pow(10, n.precision)), i = e.toFixed(
49
- Number.isInteger(e) ? 2 : Math.min(4, Math.max(2, r))
50
- );
51
- return t ? `${i} ${n.currency}` : n.currency === "MYR" ? `RM ${i}` : `${n.currency} ${i}`;
52
- }
53
- function y(n) {
54
- return {
55
- ...n,
56
- amount: Math.abs(n.amount)
57
- };
58
- }
59
- function a(n) {
60
- if (!isFinite(n)) return 0;
61
- let t = 1, r = 0;
62
- for (; Math.round(n * t) / t !== n; )
63
- t *= 10, r++;
64
- return r;
65
- }
66
- function m(n) {
67
- const t = a(n);
68
- return {
69
- precision: t,
70
- amount: n * 10 ** t
71
- };
72
- }
73
- function v(n, t = 0, r = !1) {
74
- let e = 0;
75
- return Number.isNaN(Number(n)) || (r || Number(n) >= 0) && (e = Number(n)), {
76
- amount: Number((e * 10 ** t).toFixed(0)),
77
- precision: t
78
- };
79
- }
80
- function f(n) {
81
- const t = `${n}`, r = t.replace(/0*$/g, "");
82
- return t.length - r.length;
83
- }
84
- function D(n, t) {
85
- if (!t)
86
- return n.precision;
87
- const r = f(t.conversion.amount);
88
- return n.precision - t.conversion.precision + r;
89
- }
90
- function $(n, t = {}) {
91
- if (n == null)
92
- throw new Error("Value cannot be null or undefined");
93
- const { minPrecision: r = 2, maxPrecision: e = 2, locale: i = "en-US" } = t;
94
- if (r > e)
95
- throw new Error("minPrecision cannot be greater than maxPrecision");
96
- let u = 0;
97
- switch (typeof n) {
98
- case "number": {
99
- u = n;
100
- break;
101
- }
102
- case "string": {
103
- u = Number(n);
104
- break;
105
- }
106
- case "object": {
107
- if (n.amount === void 0 || n.precision === void 0)
108
- throw new Error("Invalid AdjustmentAmount object");
109
- u = l.toDouble(n);
110
- break;
111
- }
112
- default:
113
- throw new Error("Invalid value type");
114
- }
115
- return u.toLocaleString(i, {
116
- minimumFractionDigits: r,
117
- maximumFractionDigits: e
118
- });
119
- }
120
- export {
121
- s as a,
122
- c as b,
123
- m as c,
124
- M as d,
125
- P as e,
126
- a as f,
127
- D as g,
128
- y as h,
129
- w as i,
130
- j,
131
- g as k,
132
- $ as l,
133
- A as m,
134
- x as n,
135
- F as o,
136
- v as t,
137
- N as u
138
- };
@@ -1,98 +0,0 @@
1
- import { c as f, a as u, g as d, b as m } from "./number-5ZeFx-wN.js";
2
- import { c as b, d as p } from "./date2-DrhO3BxU.js";
3
- function M() {
4
- return function(e) {
5
- return !!e || "Required";
6
- };
7
- }
8
- function s(n) {
9
- return n && typeof n == "object" && Object.prototype.hasOwnProperty.call(n, "amount") && Object.prototype.hasOwnProperty.call(n, "precision");
10
- }
11
- function A(n, e) {
12
- const o = typeof n == "object" ? +u(n) : n;
13
- function i(t) {
14
- return Object.prototype.hasOwnProperty.call(t, "length");
15
- }
16
- return function(r) {
17
- return s(r) && (r = +u(r)), Number.isFinite(+r) && (r = +r), i(r) ? r.length >= o ? !0 : typeof e == "function" ? e(r.length) : e ?? `Must be at least ${o}` : typeof r == "number" ? r >= o ? !0 : typeof e == "function" ? e(r) : e ?? `Must be at least ${o}` : `Cannot validate at least ${o}`;
18
- };
19
- }
20
- function $(n) {
21
- const e = typeof n == "object" ? +u(n) : n;
22
- function o(i) {
23
- return Object.prototype.hasOwnProperty.call(i, "length");
24
- }
25
- return function(t, r) {
26
- return s(t) && (t = +u(t)), o(t) ? t.length > e ? !0 : typeof r == "function" ? r(t.length) : r ?? `Must be more than ${e}` : typeof t == "number" ? t > e ? !0 : typeof r == "function" ? r(t) : r ?? `Must be more than ${e}` : `Cannot validate more than ${e}`;
27
- };
28
- }
29
- function P(n, e) {
30
- return n instanceof Date && e instanceof Date ? function(i) {
31
- const t = new Date(i);
32
- return isNaN(t.getTime()) ? "Invalid date" : t.getTime() < n.getTime() ? `Date must be at least ${b(n)} ${p(n)}` : t.getTime() >= e.getTime() ? `Date must be less than ${b(e)} ${p(e)}` : !0;
33
- } : typeof n == "number" && typeof e == "number" ? function(i) {
34
- const t = +i;
35
- return isNaN(t) ? "Invalid number" : t < n ? `Value must be at least ${n}` : t >= e ? `Value must be less than ${e}` : !0;
36
- } : function() {
37
- return "Progamming error: invalid range parameter.";
38
- };
39
- }
40
- function c() {
41
- return function(n) {
42
- if (n = String(n), n.length === 0)
43
- return !0;
44
- const e = +n;
45
- return isFinite(e) || "Must be a number";
46
- };
47
- }
48
- function j(n, e) {
49
- return typeof n == "number" ? function(i) {
50
- const t = c()(i);
51
- return typeof t == "string" ? t : f(+i).precision > n ? `Precision cannot be more than ${n} decimal point.` : !0;
52
- } : function(i) {
53
- const t = c()(i);
54
- if (typeof t == "string")
55
- return t;
56
- const r = d(n, e);
57
- return f(+i).precision > r ? `Precision cannot be more than ${r} decimal point.` : !0;
58
- };
59
- }
60
- function g(n, e) {
61
- return function(i) {
62
- const t = c()(i);
63
- if (typeof t == "string")
64
- return t;
65
- const r = f(+i);
66
- return r.precision > n ? typeof e == "function" ? e(r.precision) : e ?? `Precision cannot be more than ${n}` : !0;
67
- };
68
- }
69
- function D(n, e, o) {
70
- return function(t) {
71
- if (t === e) return !0;
72
- const r = n.find((a) => a.value === t);
73
- return r ? o ? o(r) : `Already used in ${r.label}` : !0;
74
- };
75
- }
76
- function N(n) {
77
- let e = typeof n == "number" ? f(n) : n;
78
- e = m(e);
79
- const o = u(e);
80
- return function(t) {
81
- if (!s(t)) {
82
- if (t = +t, Number.isNaN(t)) return !0;
83
- t = f(t);
84
- }
85
- return t = m(t), t.amount % e.amount === 0 && t.precision <= e.precision ? !0 : `${u(t)} must be a multiple of ${o}`;
86
- };
87
- }
88
- export {
89
- A,
90
- P as B,
91
- c as I,
92
- j as M,
93
- M as R,
94
- D as U,
95
- N as a,
96
- g as b,
97
- $ as c
98
- };
@@ -1,75 +0,0 @@
1
- import { u as i } from "./stock-BKMDvf5S.js";
2
- import { a as s, Y as p } from "./app-Duum3eHx.js";
3
- import { computed as B, ref as d } from "vue";
4
- import { c as k } from "./number-5ZeFx-wN.js";
5
- function m() {
6
- return {
7
- stockBalance: {
8
- _id: "",
9
- items: []
10
- },
11
- productBalance: []
12
- };
13
- }
14
- const v = k(0), f = {
15
- id: "",
16
- balance: v,
17
- closing: null,
18
- costs: null
19
- }, n = d(m()), w = () => {
20
- const r = s(), u = B(() => {
21
- var a;
22
- const o = (a = n.value.stockBalance.skus) == null ? void 0 : a.groupBy((t) => t.id), e = (t) => {
23
- var c;
24
- return ((c = o == null ? void 0 : o.get(t)) == null ? void 0 : c[0]) ?? { ...f, id: t };
25
- };
26
- return r.skus.map((t) => e(t._id));
27
- }), l = i();
28
- return {
29
- // state
30
- get stockBalance() {
31
- return {
32
- ...n.value.stockBalance,
33
- skus: u.value
34
- };
35
- },
36
- set stockBalance(o) {
37
- n.value.stockBalance = o;
38
- },
39
- get productBalance() {
40
- return n.value.productBalance;
41
- },
42
- set productBalance(o) {
43
- n.value.productBalance = o;
44
- },
45
- // actions
46
- async readStockBalance() {
47
- this.stockBalance = await l.readStockBalance();
48
- },
49
- async readProductBalance() {
50
- this.productBalance = [];
51
- const o = s(), e = p({
52
- recipes: o.recipes,
53
- skus: o.skus,
54
- skuGroups: [],
55
- inventoryBindingMapping: {},
56
- stockBalance: this.stockBalance
57
- // silent: true
58
- });
59
- function a(t, c) {
60
- return Object.prototype.hasOwnProperty.call(t, c);
61
- }
62
- for (const t in e.convertCountdown)
63
- if (a(e.convertCountdown, t)) {
64
- const c = e.convertCountdown[t];
65
- this.productBalance.push({
66
- id: t,
67
- count: c
68
- });
69
- }
70
- }
71
- };
72
- };
73
- export {
74
- w as u
75
- };
@@ -1,45 +0,0 @@
1
- import { type Ref } from 'vue';
2
- import { type IntegrationSyncLogEntry, type SyncLogQueryParams, type SyncLogStatsEntry } from '@/api/integration-sync-log';
3
- export declare function useIntegrationSyncLog(provider: string): {
4
- logs: Ref<IntegrationSyncLogEntry[], IntegrationSyncLogEntry[]>;
5
- stats: Ref<SyncLogStatsEntry[], SyncLogStatsEntry[]>;
6
- total: Ref<number, number>;
7
- page: Ref<number, number>;
8
- limit: Ref<number, number>;
9
- isLoading: Ref<boolean, boolean>;
10
- filters: Ref<{
11
- provider?: string | undefined;
12
- internalId?: string | undefined;
13
- externalId?: string | undefined;
14
- queueName?: string | undefined;
15
- jobId?: string | undefined;
16
- messageSearch?: string | undefined;
17
- metadataRecordType?: string | undefined;
18
- startDate?: string | undefined;
19
- endDate?: string | undefined;
20
- page?: number | undefined;
21
- limit?: number | undefined;
22
- }, SyncLogQueryParams | {
23
- provider?: string | undefined;
24
- internalId?: string | undefined;
25
- externalId?: string | undefined;
26
- queueName?: string | undefined;
27
- jobId?: string | undefined;
28
- messageSearch?: string | undefined;
29
- metadataRecordType?: string | undefined;
30
- startDate?: string | undefined;
31
- endDate?: string | undefined;
32
- page?: number | undefined;
33
- limit?: number | undefined;
34
- }>;
35
- fetchLogs: () => Promise<void>;
36
- fetchStats: () => Promise<void>;
37
- retry: (logId: string) => Promise<{
38
- success: boolean;
39
- message: string;
40
- }>;
41
- updateFilters: (newFilters: Partial<SyncLogQueryParams>) => void;
42
- changePage: (newPage: number) => void;
43
- startPolling: (intervalMs?: number) => void;
44
- stopPolling: () => void;
45
- };