@feedmepos/mf-inventory-portal 1.8.0-dev.7 → 1.8.0

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 (244) hide show
  1. package/dist/App-BPdZMhM8.js +1445 -0
  2. package/dist/{ApprovalView-1Y_jh_UJ.js → ApprovalView-UzjSuZ2L.js} +26 -25
  3. package/dist/{BindingsDialog-VMvTLguN.js → BindingsDialog-Cb6WRlKq.js} +2 -2
  4. package/dist/{BindingsPicker-KNRM5rMU.js → BindingsPicker-CtD4U4lv.js} +2 -2
  5. package/dist/{BindingsTable-CSyNlNCL.js → BindingsTable-CX-3403K.js} +10 -10
  6. package/dist/BulkReceiveRequestPage-CUq1Lmww.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C5cA-lGH.js} +1 -1
  8. package/dist/{ClosingDraftView-A2pJuhIb.js → ClosingDraftView-Ca_SvdWQ.js} +748 -746
  9. package/dist/ClosingHistoryView-DzkeJYoe.js +769 -0
  10. package/dist/{ClosingTemplateView-DpkNCyoB.js → ClosingTemplateView-DSrelbso.js} +22 -21
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BuOuXPy1.js} +1 -1
  12. package/dist/{DefaultView-B4UuAqYu.js → DefaultView-Dw-7Y8vD.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-w0YcNH3F.js → DeliveryOrderPrintPreview-C5qJsv_O.js} +15 -15
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js → EmailDialog.vue_vue_type_script_setup_true_lang-D8od7aKT.js} +10075 -9949
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-ChekXW32.js +48 -0
  16. package/dist/FeatureCapabilityGate-C-IM5_7n.js +82 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-DEDU1XUC.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B861gqIJ.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Ckli_nZx.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js} +2 -2
  21. package/dist/{FmMultiselectDialog-DMA5eR0C.js → FmMultiselectDialog-CShFKSIW.js} +2 -2
  22. package/dist/{FmMultiselectDialog-BnZInvgp.js → FmMultiselectDialog-Ci-6NMsV.js} +2 -2
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dkx5vVap.js} +105 -99
  24. package/dist/ImportView-7ij7RUHI.js +1540 -0
  25. package/dist/{IngredientsView-C4-8qNGD.js → IngredientsView-fIPtTyFD.js} +685 -688
  26. package/dist/{IntegrationExplorerView-D3leld2Z.js → IntegrationExplorerView-DLYT4T-I.js} +1537 -1620
  27. package/dist/IntegrationPlatformView-CwywuK_y.js +13385 -0
  28. package/dist/{IntegrationView-BhRzry3g.js → IntegrationView-DnyVHXge.js} +2380 -2340
  29. package/dist/{InventoryBindingForm-ewAgZ6e-.js → InventoryBindingForm-BBs8v7CL.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang--pI5wz_M.js} +134 -134
  31. package/dist/{InventoryBindingSummary-e67GzHYr.js → InventoryBindingSummary-CwIrQ8lG.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-DJSbskyn.js +79 -0
  34. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
  35. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js +79 -0
  36. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  37. package/dist/ProductionRunDetailPage-C_WC4qfP.js +2317 -0
  38. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BIkoMOM2.js} +3051 -3161
  39. package/dist/ProductionRunPage-DuzVrjbZ.js +954 -0
  40. package/dist/{PublishView-BXA3k8Cp.js → PublishView-BVg44yke.js} +3 -3
  41. package/dist/{PurchaseOrderPrintPreview-DRugr4BU.js → PurchaseOrderPrintPreview-CNx6unyj.js} +17 -17
  42. package/dist/{ReceiveRequestView-CeJs9NTD.js → ReceiveRequestView-DeNrYOUt.js} +17 -16
  43. package/dist/RecipeView-De3pLsPR.js +3272 -0
  44. package/dist/SettingsView-B5ud0KtI.js +1005 -0
  45. package/dist/StockView-4N3NRjY8.js +3003 -0
  46. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DvlRRKdt.js} +1 -1
  47. package/dist/{SupplierView-DH9u6e2M.js → SupplierView-fC9oe5nu.js} +304 -301
  48. package/dist/{SurchargeView-BPVEpc0f.js → SurchargeView-H6rv7u8A.js} +7 -7
  49. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DFdrmR2Z.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-BivHE94R.js +332 -0
  52. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Df01LqHp.js +4953 -0
  53. package/dist/TransferTemplateView-CVUnofkI.js +2347 -0
  54. package/dist/{UnitCostHistoryView-06rIaX_M.js → UnitCostHistoryView-DjD2WAFI.js} +4 -4
  55. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CE0zHU6c.js} +4 -4
  56. package/dist/{UnitView-Xk_F9SYG.js → UnitView-DCfsbE8e.js} +111 -106
  57. package/dist/{WarehouseView-bmpLmpcX.js → WarehouseView-BCebmbcj.js} +12 -11
  58. package/dist/{WastageTemplateView-CWV1pFxM.js → WastageTemplateView-BXYNMBun.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-CURawLhs.js → app-VtVYHCDF.js} +9785 -9546
  68. package/dist/app.d.ts +151 -14
  69. package/dist/app.js +1 -1
  70. package/dist/bulk-edit-simulation.helper-Nd6CtWGf.js +178 -0
  71. package/dist/{closing-template-q_KGB4jO.js → closing-template-LCe0U9w9.js} +4 -4
  72. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  73. package/dist/components/FeatureCapabilityGate.vue.d.ts +5 -0
  74. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  75. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  76. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  77. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  78. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  79. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  80. package/dist/components/FmUnitInputProps.d.ts +1 -0
  81. package/dist/components/FmUnitInputRules.d.ts +1 -1
  82. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  83. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  84. package/dist/components/NumberPrecisionInput.spec.d.ts +1 -0
  85. package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
  86. package/dist/components/TemplatePublishDialog.d.ts +2 -0
  87. package/dist/components/TemplatePublishDialog.spec.d.ts +1 -0
  88. package/dist/composable/defineApi.d.ts +1 -1
  89. package/dist/{date2-3kdweNLp.js → date2-Cfb6DXM4.js} +1 -1
  90. package/dist/{dayjs.min-DHE73-wM.js → dayjs.min-BOndKK7B.js} +1 -1
  91. package/dist/{decimal-CAnQe2Ib.js → decimal-nbuisP61.js} +2 -2
  92. package/dist/{defineDeepModel-CctS67Do.js → defineDeepModel-DKySrdwp.js} +5 -5
  93. package/dist/{duplicate-template-Jk2V2Ezg.js → duplicate-template-BxcKb3Jp.js} +1 -1
  94. package/dist/{feature-D9n0IC0c.js → feature-VDUlSvM1.js} +452 -354
  95. package/dist/feature-flags/core.d.ts +1 -0
  96. package/dist/feature-flags/vue.d.ts +22 -1
  97. package/dist/feature-flags/vue.spec.d.ts +1 -0
  98. package/dist/{format-time-from-id-Bmzpbg-8.js → format-time-from-id-CfVH4LZ_.js} +1 -1
  99. package/dist/{format-unit-display-CVg4Bl5L.js → format-unit-display-BjTeAtgS.js} +209 -208
  100. package/dist/helper/country.spec.d.ts +1 -0
  101. package/dist/helper/menu-usage-module.d.ts +2 -1
  102. package/dist/helper/number.d.ts +5 -1
  103. package/dist/helper/rules.d.ts +1 -1
  104. package/dist/{id-to-date-DPCcxufP.js → id-to-date-Jr9SlHLO.js} +1 -1
  105. package/dist/{import-export.helper-bmGZwUBB.js → import-export.helper-FT9Wbigh.js} +17 -17
  106. package/dist/{index-zCBA-X6R.js → index-BV9b3Ulp.js} +2234 -2163
  107. package/dist/{index-yt6MlAFG.js → index-By5-VjVg.js} +1 -1
  108. package/dist/{JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js → index-C25C1Dg7.js} +1074 -1066
  109. package/dist/{index-CFNNQo-7.js → index-DXHVgUHU.js} +3 -3
  110. package/dist/index-eGvSlWMU.js +1892 -0
  111. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  112. package/dist/{lz-string-CqlY9MC2.js → lz-string-BAzqO9xf.js} +1 -1
  113. package/dist/menu-usage-module-Bq_KLsO4.js +74 -0
  114. package/dist/{netsuite-DudeltN_.js → netsuite-BhGuduqd.js} +254 -263
  115. package/dist/netsuite-explorer-9Qj7qAum.js +79 -0
  116. package/dist/{predefined-templates-DT32p04n.js → predefined-templates-BlRafgnc.js} +1 -1
  117. package/dist/production-run-list-DR1WsaBR.js +61 -0
  118. package/dist/{purchase-order-template-LaRpWA04.js → purchase-order-template-By_Zxu1b.js} +1 -1
  119. package/dist/{recalculationUtils-BYN393eE.js → recalculationUtils-VsBar7jB.js} +1 -1
  120. package/dist/router/name.d.ts +2 -1
  121. package/dist/{row-action.enum-BiP5wkT6.js → row-action.enum-76yLYmPA.js} +1 -1
  122. package/dist/rules-fOcvgt4t.js +243 -0
  123. package/dist/{stock-B9XerL9c.js → stock-C-dQaxY2.js} +1 -1
  124. package/dist/stock-Dh0KXA1P.js +78 -0
  125. package/dist/stores/feature.d.ts +31 -2
  126. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  127. package/dist/stores/integration/netsuite.d.ts +2 -2
  128. package/dist/stores/inventory.no-location.spec.d.ts +1 -0
  129. package/dist/stores/location.d.ts +42 -42
  130. package/dist/stores/supplier.d.ts +48 -48
  131. package/dist/stores/warehouse.d.ts +2 -2
  132. package/dist/style.css +1 -1
  133. package/dist/{supplier-dpHijd2E.js → supplier-XHHHN8vZ.js} +2 -2
  134. package/dist/{surcharge-BZ4STY5J.js → surcharge-0-oBiYoF.js} +1 -1
  135. package/dist/tsconfig.app.tsbuildinfo +1 -1
  136. package/dist/{uom-rules-Da5Lngvp.js → uom-rules-DrRuSFgM.js} +1 -1
  137. package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-mQ7aQChK.js} +2 -2
  138. package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-5Wu0ItnH.js} +2 -2
  139. package/dist/{use-template-enabled-locations-BmJUzSUm.js → use-template-enabled-locations-CgpPMl8g.js} +2 -2
  140. package/dist/{use-transfer-locations-frEk_aBH.js → use-transfer-locations-DZ6B7eMT.js} +14 -14
  141. package/dist/{useHrmPermission-Cyjm0y9a.js → useHrmPermission-BaGxz4EV.js} +1 -1
  142. package/dist/{useNavigationMenu-CnTsOF9T.js → useNavigationMenu-CyP39v3U.js} +50 -49
  143. package/dist/{useSseClient-D_7o9nuf.js → useSseClient-CaD4MVg0.js} +1 -1
  144. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  145. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  146. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  147. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  148. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  149. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  150. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  151. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +19 -19
  152. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  153. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  154. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  155. package/dist/views/import/helper/submit-rows.d.ts +1 -1
  156. package/dist/views/ingredients/components/inventory-binding/recipe-amount-validation.spec.d.ts +1 -0
  157. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +3 -1
  158. package/dist/views/integration/IntegrationPlatformView.vue.d.ts +24 -0
  159. package/dist/views/integration/components/IntegrationCard.vue.d.ts +3 -3
  160. package/dist/views/integration/components/Synergy/importFn.spec.d.ts +1 -0
  161. package/dist/views/integration/components/Xilnex/importFn.spec.d.ts +1 -0
  162. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  163. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  164. package/dist/views/integration/helper/opening-balance.d.ts +22 -0
  165. package/dist/views/integration/helper/opening-balance.spec.d.ts +1 -0
  166. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  167. package/dist/views/{integration/components/IntegrationSyncLogTab.vue.d.ts → production-run/ProductionRunDetailPage.vue.d.ts} +2 -2
  168. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  169. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +2 -2
  170. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +4 -4
  171. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +19 -9
  172. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +4 -4
  173. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +4 -4
  174. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +14 -14
  175. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +4 -4
  176. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +4 -4
  177. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +1 -1
  178. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +6 -6
  179. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  180. package/dist/views/production-run/shared/model/production-run-list.d.ts +1 -1
  181. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  182. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  183. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  184. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  185. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  186. package/dist/views/receive-request/composables/netsuite-order-label.d.ts +11 -0
  187. package/dist/views/receive-request/composables/netsuite-order-label.spec.d.ts +1 -0
  188. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -6
  189. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -48
  190. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  191. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -42
  192. package/dist/views/receive-request/import/export.spec.d.ts +1 -0
  193. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  194. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  195. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +54 -54
  196. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  197. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +8 -8
  198. package/dist/views/recipe/components/recipe-bulk-editor/components/ModificationCard.spec.d.ts +1 -0
  199. package/dist/views/recipe/helper/import-recipe.d.ts +30 -0
  200. package/dist/views/recipe/helper/import-recipe.spec.d.ts +1 -0
  201. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  202. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +2 -0
  203. package/dist/views/stock/components/StockRecordCard.spec.d.ts +1 -0
  204. package/dist/views/stock/components/StockRecordCard.vue.d.ts +19 -865
  205. package/dist/views/stock/components/dialog/AmendAdjustmentForm.spec.d.ts +1 -0
  206. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.spec.d.ts +1 -0
  207. package/dist/views/stock/components/dialog/BillInventoryInfoDialog.vue.d.ts +36 -0
  208. package/dist/views/stock/components/dialog/ConvertSkuDialog.spec.d.ts +1 -0
  209. package/dist/views/stock/composables/use-last-closing-summary.d.ts +4 -0
  210. package/dist/views/stock/composables/use-last-closing-summary.spec.d.ts +1 -0
  211. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  212. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  213. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  214. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  215. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts +1 -0
  216. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  217. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  218. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  219. package/dist/views/transfer-template/helpers/template-item.error.helper.spec.d.ts +1 -0
  220. package/dist/views/unit/composables/use-unit-form.spec.d.ts +1 -0
  221. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +4 -4
  222. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js → vue-KHCpiw_e.js} +106 -108
  223. package/dist/{vue-i18n-DwAcG7yc.js → vue-i18n-D6btLtve.js} +422 -422
  224. package/dist/{xlsx.util-C7S-uyqm.js → xlsx.util-Dr5i_LBa.js} +2 -2
  225. package/package.json +71 -66
  226. package/dist/App-Bo29Nwt0.js +0 -1537
  227. package/dist/BulkReceiveRequestView-vOeHbWM_.js +0 -2656
  228. package/dist/ClosingHistoryView-woRmvmYT.js +0 -761
  229. package/dist/ImportView-C7Hah7MM.js +0 -1291
  230. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js +0 -72
  231. package/dist/ProductionRunDetailView-Ct7kr5Ht.js +0 -2312
  232. package/dist/ProductionRunView-odWyBZGx.js +0 -930
  233. package/dist/RecipeView-BH0REMB3.js +0 -3428
  234. package/dist/SettingsView-Dc27wyk-.js +0 -977
  235. package/dist/StockView-DrHLzosW.js +0 -2616
  236. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js +0 -84
  237. package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js +0 -299
  238. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js +0 -4820
  239. package/dist/TransferTemplateView-CEVRsKL7.js +0 -2326
  240. package/dist/menu-usage-module-BdjYEk3s.js +0 -57
  241. package/dist/number-BoePMDs8.js +0 -138
  242. package/dist/rules-CQT0uAAo.js +0 -98
  243. package/dist/stock-CVybjhUm.js +0 -75
  244. package/dist/views/integration/composables/use-integration-sync-log.d.ts +0 -45
@@ -1,11 +1,11 @@
1
1
  import { ref as x, defineComponent as Q, computed as h, resolveComponent as U, createElementBlock as _, openBlock as d, createVNode as g, withModifiers as se, withCtx as $, createElementVNode as t, createCommentVNode as L, toDisplayString as a, unref as r, Fragment as O, createBlock as M, createTextVNode as H, renderList as ne, normalizeClass as E, normalizeStyle as ae, Teleport as X } from "vue";
2
2
  import { u as le, _ as re } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
3
- import { d as ie, u as J, a as Z } from "./app-CURawLhs.js";
3
+ import { d as ie, u as J, a as Z } from "./app-VtVYHCDF.js";
4
4
  import { useSnackbar as q, useBreakpoints as ce } from "@feedmepos/ui-library";
5
- import { _ as ue } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
5
+ import { _ as ue } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js";
6
6
  import { useCoreStore as ee, useI18n as te } from "@feedmepos/mf-common";
7
- import { c as Y } from "./date2-3kdweNLp.js";
8
- import { d as j } from "./number-BoePMDs8.js";
7
+ import { c as Y } from "./date2-Cfb6DXM4.js";
8
+ import { d as j } from "./rules-fOcvgt4t.js";
9
9
  import { F as de } from "./FmAdminBadge-DlplQOHb.js";
10
10
  import { P as me, J as fe } from "./app-C39bYJmq.js";
11
11
  const oe = ie((D, C) => {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as U, ref as _, computed as g, resolveComponent as p, createBlock as v, openBlock as f, withCtx as b, createElementBlock as F, Fragment as h, renderList as E, createElementVNode as k, normalizeClass as I, createVNode as $, toDisplayString as N, unref as x } from "vue";
2
- import { g as m } from "./decimal-CAnQe2Ib.js";
3
- import { d as w } from "./dayjs.min-DHE73-wM.js";
4
- import { u as d, e as B, w as L } from "./xlsx.util-C7S-uyqm.js";
5
- import { u as Y } from "./app-CURawLhs.js";
2
+ import { g as m } from "./decimal-nbuisP61.js";
3
+ import { d as w } from "./dayjs.min-BOndKK7B.js";
4
+ import { u as d, e as B, w as L } from "./xlsx.util-Dr5i_LBa.js";
5
+ import { u as Y } from "./app-VtVYHCDF.js";
6
6
  function O(a, o) {
7
7
  return o.map((t) => typeof t.selector == "function" ? t.selector(a) : a[t.selector]);
8
8
  }
@@ -1,48 +1,48 @@
1
- import { defineComponent as W, computed as b, createElementBlock as F, openBlock as y, createElementVNode as l, createCommentVNode as K, Fragment as G, renderList as O, toDisplayString as U, ref as D, watch as ne, resolveComponent as I, createBlock as P, withCtx as M, createVNode as x, unref as s, isRef as le, normalizeClass as ce, normalizeStyle as pe, Teleport as ve, normalizeProps as fe, guardReactiveProps as ye } from "vue";
2
- import { a as Y, S as be, c as ie, w as ge, j as se, u as xe } from "./app-CURawLhs.js";
3
- import { useDialog as ue, useSnackbar as Z, useProxiedModel as ae, useBreakpoints as _e } from "@feedmepos/ui-library";
4
- import { i as he, _ as Ve, m as Ue } from "./menu-usage-module-BdjYEk3s.js";
1
+ import { defineComponent as W, computed as b, createElementBlock as F, openBlock as y, createElementVNode as l, createCommentVNode as K, Fragment as G, renderList as O, toDisplayString as U, ref as D, watch as ne, resolveComponent as I, createBlock as P, withCtx as M, createVNode as x, unref as s, isRef as le, normalizeClass as pe, normalizeStyle as ve, Teleport as fe, normalizeProps as ye, guardReactiveProps as be } from "vue";
2
+ import { a as Y, S as ge, c as ue, s as se, j as ae, u as xe } from "./app-VtVYHCDF.js";
3
+ import { useDialog as de, useSnackbar as Z, useProxiedModel as re, useBreakpoints as _e } from "@feedmepos/ui-library";
4
+ import { i as he, _ as Ve, m as Ue } from "./menu-usage-module-Bq_KLsO4.js";
5
5
  import { F as C } from "./form-mode.enum-BKiNVH6A.js";
6
6
  import { defineStore as we, storeToRefs as Se } from "pinia";
7
- import { D as re, R as q } from "./row-action.enum-BiP5wkT6.js";
7
+ import { D as ie, R as q } from "./row-action.enum-76yLYmPA.js";
8
8
  import { c as Ce } from "./component-BmLAdDiY.js";
9
9
  import { useI18n as J } from "@feedmepos/mf-common";
10
10
  import { u as Fe, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
11
- import { R as H, A as Ee, c as $e } from "./rules-CQT0uAAo.js";
12
- import { a as Q, c as Ie } from "./number-BoePMDs8.js";
13
- import { F as De } from "./decimal-CAnQe2Ib.js";
14
- import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js";
15
- import { u as de } from "./netsuite-DudeltN_.js";
16
- import { _ as Re, F as Me } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
17
- import { _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
18
- const Te = { class: "flex flex-col gap-8" }, Be = {
11
+ import { R as H, A as Ee, a as Q, f as $e } from "./rules-fOcvgt4t.js";
12
+ import { F as Ie } from "./decimal-nbuisP61.js";
13
+ import { _ as De } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DJSbskyn.js";
14
+ import { u as me } from "./netsuite-BhGuduqd.js";
15
+ import { _ as Re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js";
16
+ import { F as Ae } from "./index-eGvSlWMU.js";
17
+ import { _ as Me } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js";
18
+ const Pe = { class: "flex flex-col gap-8" }, Te = {
19
19
  key: 0,
20
20
  class: "flex flex-col"
21
- }, Ne = { class: "flex-1 py-8 px-16" }, Le = {
21
+ }, Be = { class: "flex-1 py-8 px-16" }, Ne = {
22
22
  class: "flex-0 py-8 px-16",
23
23
  style: { "flex-basis": "240px" }
24
- }, ze = {
24
+ }, Le = {
25
25
  key: 1,
26
26
  class: "flex flex-col"
27
- }, je = { class: "flex-1 py-8 px-16" }, qe = {
27
+ }, ze = { class: "flex-1 py-8 px-16" }, je = {
28
28
  class: "flex-0 py-8 px-16",
29
29
  style: { "flex-basis": "240px" }
30
- }, He = {
30
+ }, qe = {
31
31
  key: 2,
32
32
  class: "flex flex-col"
33
- }, Ke = { class: "flex-1 py-8 px-16" }, Ge = {
33
+ }, He = { class: "flex-1 py-8 px-16" }, Ke = {
34
34
  class: "flex-0 py-8 px-16",
35
35
  style: { "flex-basis": "240px" }
36
- }, Oe = /* @__PURE__ */ W({
36
+ }, Ge = /* @__PURE__ */ W({
37
37
  __name: "UnitUsedBy",
38
38
  props: {
39
39
  unit: {}
40
40
  },
41
41
  setup(k) {
42
42
  const p = k, _ = Y(), v = b(() => _.validateUnitUsage(p.unit)), d = b(() => v.value.filter((t) => t.from === "INGREDIENT")), n = b(() => v.value.filter((t) => t.from === "RECIPE")), c = b(() => v.value.filter((t) => t.from === "MENU"));
43
- return (t, f) => (y(), F("div", Te, [
43
+ return (t, f) => (y(), F("div", Pe, [
44
44
  f[3] || (f[3] = l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
45
- d.value.length ? (y(), F("div", Be, [
45
+ d.value.length ? (y(), F("div", Te, [
46
46
  f[0] || (f[0] = l("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
47
47
  l("div", { class: "flex-1 py-8 px-16" }, "Ingredient"),
48
48
  l("div", {
@@ -56,12 +56,12 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
56
56
  key: a.code,
57
57
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
58
58
  }, [
59
- l("div", Ne, U(a.code) + " " + U(a.name), 1),
60
- l("div", Le, U((o = a.bindedIngredient) != null && o.length ? "Convert binding" : "Item unit"), 1)
59
+ l("div", Be, U(a.code) + " " + U(a.name), 1),
60
+ l("div", Ne, U((o = a.bindedIngredient) != null && o.length ? "Convert binding" : "Item unit"), 1)
61
61
  ]);
62
62
  }), 128))
63
63
  ])) : K("", !0),
64
- n.value.length ? (y(), F("div", ze, [
64
+ n.value.length ? (y(), F("div", Le, [
65
65
  f[1] || (f[1] = l("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
66
66
  l("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
67
67
  l("div", {
@@ -75,12 +75,12 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
75
75
  key: a.code,
76
76
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
77
77
  }, [
78
- l("div", je, U(a.code) + " " + U(a.name), 1),
79
- l("div", qe, U((o = a.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((w) => w.code).join(", ")) + " " + U(a.bindedIngredient && ((r = a.bindedIngredient) == null ? void 0 : r.length) > 3 ? `and ${((m = a.bindedIngredient) == null ? void 0 : m.length) - 3} more` : ""), 1)
78
+ l("div", ze, U(a.code) + " " + U(a.name), 1),
79
+ l("div", je, U((o = a.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((w) => w.code).join(", ")) + " " + U(a.bindedIngredient && ((r = a.bindedIngredient) == null ? void 0 : r.length) > 3 ? `and ${((m = a.bindedIngredient) == null ? void 0 : m.length) - 3} more` : ""), 1)
80
80
  ]);
81
81
  }), 128))
82
82
  ])) : K("", !0),
83
- c.value.length ? (y(), F("div", He, [
83
+ c.value.length ? (y(), F("div", qe, [
84
84
  f[2] || (f[2] = l("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
85
85
  l("div", { class: "flex-1 py-8 px-16" }, "Menu"),
86
86
  l("div", {
@@ -94,15 +94,15 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
94
94
  key: a.code,
95
95
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
96
96
  }, [
97
- l("div", Ke, U(a.code) + " " + U(a.name), 1),
98
- l("div", Ge, U((o = a.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((w) => w.code).join(", ")) + " " + U(a.bindedIngredient && ((r = a.bindedIngredient) == null ? void 0 : r.length) > 3 ? `and ${((m = a.bindedIngredient) == null ? void 0 : m.length) - 3} more` : ""), 1)
97
+ l("div", He, U(a.code) + " " + U(a.name), 1),
98
+ l("div", Ke, U((o = a.bindedIngredient) == null ? void 0 : o.slice(0, 3).map((w) => w.code).join(", ")) + " " + U(a.bindedIngredient && ((r = a.bindedIngredient) == null ? void 0 : r.length) > 3 ? `and ${((m = a.bindedIngredient) == null ? void 0 : m.length) - 3} more` : ""), 1)
99
99
  ]);
100
100
  }), 128))
101
101
  ])) : K("", !0)
102
102
  ]));
103
103
  }
104
104
  }), X = we("unitForm", function() {
105
- const p = ue(), _ = Z(), v = Y(), d = D(!1), n = D();
105
+ const p = de(), _ = Z(), v = Y(), d = D(!1), n = D();
106
106
  function c() {
107
107
  const o = {
108
108
  unit: {},
@@ -134,28 +134,33 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
134
134
  type: "success"
135
135
  });
136
136
  } catch (r) {
137
- r instanceof be && he(r) ? p.open({
138
- title: "Cannot delete unit",
139
- contentComponent: Ve,
140
- contentComponentProps: {
141
- subject: (o == null ? void 0 : o.name) ?? "",
142
- items: r.errorResponse.errors.map((m) => {
143
- var w;
144
- return {
145
- chain: [
146
- {
147
- itemName: m.name,
148
- moduleKey: (w = m.message) != null && w.startsWith("modules.") ? Ue(m.message) : m.module
149
- }
150
- ]
151
- };
152
- })
153
- },
154
- secondaryActions: {
155
- text: "Close",
156
- close: !0
157
- }
158
- }) : console.log("unable to delete unit", r), _.open({
137
+ if (r instanceof ge && he(r)) {
138
+ p.open({
139
+ title: "Cannot delete unit",
140
+ contentComponent: Ve,
141
+ contentComponentProps: {
142
+ subject: (o == null ? void 0 : o.name) ?? "",
143
+ items: r.errorResponse.errors.map((m) => {
144
+ var w;
145
+ return {
146
+ chain: [
147
+ {
148
+ itemName: m.name,
149
+ moduleKey: (w = m.message) != null && w.startsWith("modules.") ? Ue(m.message) : m.module
150
+ }
151
+ ]
152
+ };
153
+ })
154
+ },
155
+ secondaryActions: {
156
+ text: "Close",
157
+ close: !0
158
+ }
159
+ });
160
+ return;
161
+ } else
162
+ console.log("unable to delete unit", r);
163
+ _.open({
159
164
  title: `Cannot delete ${o.name}`,
160
165
  message: "Please try again.",
161
166
  type: "error"
@@ -171,7 +176,7 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
171
176
  overlay: !0,
172
177
  dismissAway: !0,
173
178
  closeButton: !0,
174
- contentComponent: Oe,
179
+ contentComponent: Ge,
175
180
  contentComponentProps: {
176
181
  unit: o
177
182
  },
@@ -205,10 +210,10 @@ const Te = { class: "flex flex-col gap-8" }, Be = {
205
210
  unitViewLoading: d
206
211
  };
207
212
  });
208
- function We() {
213
+ function Oe() {
209
214
  const { updateUnit: k, deleteUnit: p } = X(), { t: _ } = J();
210
215
  async function v(n, c) {
211
- const t = ie(c);
216
+ const t = ue(c);
212
217
  if (n === q.Edit) {
213
218
  await k(t);
214
219
  return;
@@ -236,7 +241,7 @@ function We() {
236
241
  header: "",
237
242
  cell(n) {
238
243
  return Ce(
239
- [re[q.Edit], re[q.Delete]],
244
+ [ie[q.Edit], ie[q.Delete]],
240
245
  (c) => {
241
246
  v(c, n.row.original);
242
247
  }
@@ -251,7 +256,7 @@ function We() {
251
256
  }
252
257
  ] };
253
258
  }
254
- const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe = { class: "flex-1" }, Xe = { class: "flex-1" }, Ze = { class: "flex" }, et = { class: "flex items-center" }, tt = { class: "fm-typo-en-body-lg-600 flex-grow" }, ot = { class: "flex flex-col gap-24" }, nt = { class: "flex gap-24" }, lt = { class: "flex-1" }, st = { class: "flex-1" }, at = /* @__PURE__ */ W({
259
+ const We = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Je = { class: "flex-1" }, Qe = { class: "flex-1" }, Xe = { class: "flex" }, Ze = { class: "flex items-center" }, et = { class: "fm-typo-en-body-lg-600 flex-grow" }, tt = { class: "flex flex-col gap-24" }, ot = { class: "flex gap-24" }, nt = { class: "flex-1" }, lt = { class: "flex-1" }, st = /* @__PURE__ */ W({
255
260
  __name: "UnitForm",
256
261
  props: {
257
262
  mode: {},
@@ -310,7 +315,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
310
315
  if (typeof e == "number" && !isNaN(e)) {
311
316
  const u = r.value.map((i) => ({
312
317
  ...i,
313
- conversion: ge.convertPrecision({
318
+ conversion: se.convertPrecision({
314
319
  value: i.conversion,
315
320
  precision: e
316
321
  })
@@ -354,7 +359,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
354
359
  (u = (e = $.value) == null ? void 0 : e.resetInputs) == null || u.call(e);
355
360
  }
356
361
  }), (e, u) => {
357
- const i = I("FmTextField"), g = I("FmStepperField"), A = I("FmButton"), R = I("FmCard"), S = I("FmForm");
362
+ const i = I("FmTextField"), g = I("FmStepperField"), R = I("FmButton"), A = I("FmCard"), S = I("FmForm");
358
363
  return y(), P(S, {
359
364
  ref_key: "formRef",
360
365
  ref: $,
@@ -364,9 +369,9 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
364
369
  default: M(() => {
365
370
  var B;
366
371
  return [
367
- l("div", Ye, [
368
- l("div", Je, [
369
- l("div", Qe, [
372
+ l("div", We, [
373
+ l("div", Ye, [
374
+ l("div", Je, [
370
375
  x(i, {
371
376
  disabled: e.disabled,
372
377
  label: s(n)("inventory.unit.name"),
@@ -376,7 +381,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
376
381
  "label-mark": "required"
377
382
  }, null, 8, ["disabled", "label", "modelValue", "rules"])
378
383
  ]),
379
- l("div", Xe, [
384
+ l("div", Qe, [
380
385
  x(i, {
381
386
  disabled: e.disabled,
382
387
  label: s(n)("inventory.unit.symbol"),
@@ -398,8 +403,8 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
398
403
  }, null, 8, ["disabled", "label", "modelValue", "rules"])
399
404
  ])
400
405
  ]),
401
- l("div", Ze, [
402
- x(A, {
406
+ l("div", Xe, [
407
+ x(R, {
403
408
  disabled: e.disabled,
404
409
  type: "button",
405
410
  "prepend-icon": "add",
@@ -408,24 +413,24 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
408
413
  onClick: m
409
414
  }, null, 8, ["disabled", "label"])
410
415
  ]),
411
- (y(!0), F(G, null, O((B = e.modelValue) == null ? void 0 : B.measurements, (h, V) => (y(), P(R, {
416
+ (y(!0), F(G, null, O((B = e.modelValue) == null ? void 0 : B.measurements, (h, V) => (y(), P(A, {
412
417
  class: "flex flex-col gap-16 p-16",
413
418
  variant: "outlined",
414
419
  key: h.id
415
420
  }, {
416
421
  default: M(() => [
417
- l("div", et, [
418
- l("div", tt, U(s(n)("inventory.unit.measurement.measurementDefault", [V + 1])), 1),
419
- x(A, {
422
+ l("div", Ze, [
423
+ l("div", et, U(s(n)("inventory.unit.measurement.measurementDefault", [V + 1])), 1),
424
+ x(R, {
420
425
  disabled: e.disabled,
421
426
  variant: "tertiary",
422
427
  "prepend-icon": "delete",
423
428
  onClick: (E) => w(V)
424
429
  }, null, 8, ["disabled", "onClick"])
425
430
  ]),
426
- l("div", ot, [
427
- l("div", nt, [
428
- l("div", lt, [
431
+ l("div", tt, [
432
+ l("div", ot, [
433
+ l("div", nt, [
429
434
  x(i, {
430
435
  disabled: e.disabled,
431
436
  class: "col-span-2",
@@ -436,7 +441,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
436
441
  "label-mark": "required"
437
442
  }, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
438
443
  ]),
439
- l("div", st, [
444
+ l("div", lt, [
440
445
  x(i, {
441
446
  disabled: e.disabled,
442
447
  label: s(n)("inventory.unit.measurement.symbol"),
@@ -447,7 +452,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
447
452
  }, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
448
453
  ])
449
454
  ]),
450
- x(Ae, {
455
+ x(De, {
451
456
  disabled: e.disabled,
452
457
  class: "col-span-3",
453
458
  label: s(n)("inventory.unit.measurement.conversion"),
@@ -455,8 +460,8 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
455
460
  "onUpdate:modelValue": (E) => r.value = r.value.map(
456
461
  (T, N) => N === V ? {
457
462
  ...T,
458
- conversion: s(De).toPrecision(
459
- s(Ie)(E),
463
+ conversion: s(Ie).toPrecision(
464
+ s(se).fromNumber(E),
460
465
  o.value
461
466
  )
462
467
  } : T
@@ -479,7 +484,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
479
484
  }, 512);
480
485
  };
481
486
  }
482
- }), rt = { class: "flex gap-4" }, it = /* @__PURE__ */ W({
487
+ }), at = { class: "flex gap-4" }, rt = /* @__PURE__ */ W({
483
488
  __name: "UnitDialog",
484
489
  props: {
485
490
  show: { type: Boolean },
@@ -488,7 +493,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
488
493
  },
489
494
  emits: ["update:show"],
490
495
  setup(k) {
491
- const p = k, _ = Y(), v = de(), d = Z(), { t: n } = J(), c = ae(p, "show"), t = ae(p, "unit"), f = b(() => {
496
+ const p = k, _ = Y(), v = me(), d = Z(), { t: n } = J(), c = re(p, "show"), t = re(p, "unit"), f = b(() => {
492
497
  switch (p.mode) {
493
498
  case C.READ:
494
499
  return "";
@@ -512,14 +517,14 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
512
517
  async function w() {
513
518
  r.value = !0;
514
519
  try {
515
- const i = ie(t.value);
520
+ const i = ue(t.value);
516
521
  i.precision ?? (i.precision = 0), i.measurements ?? (i.measurements = []), await _.createUnit(i), c.value = !1, d.open({
517
522
  title: n("inventory.common.success"),
518
523
  message: n("inventory.unit.create.success", { name: t.value.name }),
519
524
  type: "success"
520
525
  });
521
526
  } catch (i) {
522
- i instanceof se || d.open({
527
+ i instanceof ae || d.open({
523
528
  title: n("inventory.unit.create.error.title"),
524
529
  message: n("inventory.unit.create.error.message"),
525
530
  type: "error"
@@ -537,7 +542,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
537
542
  type: "success"
538
543
  });
539
544
  } catch (i) {
540
- i instanceof se || d.open({
545
+ i instanceof ae || d.open({
541
546
  title: n("inventory.unit.update.error.title"),
542
547
  message: n("inventory.unit.update.error.message"),
543
548
  type: "error"
@@ -561,8 +566,8 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
561
566
  }
562
567
  }
563
568
  return (i, g) => {
564
- const A = I("FmButton"), R = I("FmSideSheet");
565
- return y(), P(R, {
569
+ const R = I("FmButton"), A = I("FmSideSheet");
570
+ return y(), P(A, {
566
571
  "model-value": s(c),
567
572
  "onUpdate:modelValue": g[3] || (g[3] = (S) => le(c) ? c.value = S : null),
568
573
  header: f.value,
@@ -571,14 +576,14 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
571
576
  "max-width": 500
572
577
  }, {
573
578
  "side-sheet-footer": M(() => [
574
- l("div", rt, [
575
- s(v).isEnabled ? K("", !0) : (y(), P(A, {
579
+ l("div", at, [
580
+ s(v).isEnabled ? K("", !0) : (y(), P(R, {
576
581
  key: 0,
577
582
  loading: r.value,
578
583
  label: a.value,
579
584
  onClick: e
580
585
  }, null, 8, ["loading", "label"])),
581
- x(A, {
586
+ x(R, {
582
587
  disabled: r.value,
583
588
  label: s(n)("common.close"),
584
589
  variant: "tertiary",
@@ -587,7 +592,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
587
592
  ])
588
593
  ]),
589
594
  default: M(() => [
590
- x(at, {
595
+ x(st, {
591
596
  class: "w-full",
592
597
  ref_key: "hasValidationExpose",
593
598
  ref: o,
@@ -602,19 +607,19 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
602
607
  }, 8, ["model-value", "header"]);
603
608
  };
604
609
  }
605
- }), ut = { class: "flex flex-col py-8" }, dt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, mt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Et = /* @__PURE__ */ W({
610
+ }), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, kt = /* @__PURE__ */ W({
606
611
  __name: "UnitView",
607
612
  setup(k) {
608
- const p = Y(), _ = xe(), v = de();
609
- ue(), Z();
610
- const { t: d } = J(), n = b(() => p.units), { createUnit: c, updateUnit: t } = X(), { unitDialogProps: f, unitViewLoading: a } = Se(X()), { columnDefs: o } = We();
611
- function r(R) {
612
- switch (R) {
613
+ const p = Y(), _ = xe(), v = me();
614
+ de(), Z();
615
+ const { t: d } = J(), n = b(() => p.units), { createUnit: c, updateUnit: t } = X(), { unitDialogProps: f, unitViewLoading: a } = Se(X()), { columnDefs: o } = Oe();
616
+ function r(A) {
617
+ switch (A) {
613
618
  case "add":
614
619
  return v.isEnabled ? void 0 : c();
615
620
  }
616
621
  }
617
- const m = D(""), w = D(!1), $ = b(() => w.value || a.value), { breakpoints: e } = _e(), u = b(() => e.value.xs || e.value.sm), i = b(() => u.value ? 10 : 20), g = Fe(), A = b(() => [
622
+ const m = D(""), w = D(!1), $ = b(() => w.value || a.value), { breakpoints: e } = _e(), u = b(() => e.value.xs || e.value.sm), i = b(() => u.value ? 10 : 20), g = Fe(), R = b(() => [
618
623
  ...v.isEnabled ? [] : [
619
624
  {
620
625
  label: d("inventory.unit.create.title"),
@@ -624,16 +629,16 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
624
629
  }
625
630
  ]
626
631
  ]);
627
- return (R, S) => {
632
+ return (A, S) => {
628
633
  const B = I("FmTable");
629
634
  return y(), P(ke, {
630
635
  title: s(d)("inventory.unit.title"),
631
- actions: A.value,
636
+ actions: R.value,
632
637
  "onClick:action": r
633
638
  }, {
634
639
  default: M(() => [
635
640
  l("div", {
636
- class: ce([
641
+ class: pe([
637
642
  "relative flex flex-col gap-8 max-h-full",
638
643
  {
639
644
  "p-0": u.value,
@@ -641,13 +646,13 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
641
646
  }
642
647
  ])
643
648
  }, [
644
- x(Pe, {
649
+ x(Me, {
645
650
  searchable: "",
646
651
  search: m.value,
647
652
  "onUpdate:search": S[0] || (S[0] = (h) => m.value = h)
648
653
  }, null, 8, ["search"]),
649
654
  x(B, {
650
- style: pe(s(g).tableHeight),
655
+ style: ve(s(g).tableHeight),
651
656
  "column-defs": s(o),
652
657
  "row-data": n.value,
653
658
  "search-value": m.value,
@@ -663,14 +668,14 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
663
668
  default: M((V) => {
664
669
  var E, T, N, L, ee, z, te, j, oe;
665
670
  return [
666
- l("div", ut, [
667
- l("div", dt, [
668
- x(s(Me), {
671
+ l("div", it, [
672
+ l("div", ut, [
673
+ x(s(Ae), {
669
674
  render: (N = (T = (E = V.name) == null ? void 0 : E.column) == null ? void 0 : T.columnDef) == null ? void 0 : N.cell,
670
675
  props: (ee = (L = V.name) == null ? void 0 : L.getContext) == null ? void 0 : ee.call(L)
671
676
  }, null, 8, ["render", "props"])
672
677
  ]),
673
- l("div", mt, U((oe = (j = (te = (z = h.original.measurements) == null ? void 0 : z.map) == null ? void 0 : te.call(z, (me) => me.name)) == null ? void 0 : j.join) == null ? void 0 : oe.call(j, ", ")), 1)
678
+ l("div", dt, U((oe = (j = (te = (z = h.original.measurements) == null ? void 0 : z.map) == null ? void 0 : te.call(z, (ce) => ce.name)) == null ? void 0 : j.join) == null ? void 0 : oe.call(j, ", ")), 1)
674
679
  ])
675
680
  ];
676
681
  }),
@@ -680,8 +685,8 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
680
685
  _: 1
681
686
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
682
687
  ], 2),
683
- (y(), P(ve, { to: "body" }, [
684
- x(it, fe(ye(s(f))), null, 16)
688
+ (y(), P(fe, { to: "body" }, [
689
+ x(rt, ye(be(s(f))), null, 16)
685
690
  ]))
686
691
  ]),
687
692
  _: 1
@@ -690,5 +695,5 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
690
695
  }
691
696
  });
692
697
  export {
693
- Et as default
698
+ kt as default
694
699
  };
@@ -1,21 +1,22 @@
1
1
  import { ref as T, defineComponent as j, watch as te, onMounted as le, onUnmounted as De, createElementBlock as q, openBlock as D, toRaw as Ve, reactive as Re, createElementVNode as V, createVNode as k, toDisplayString as P, unref as r, resolveComponent as I, createBlock as O, createCommentVNode as oe, createSlots as We, withCtx as B, createTextVNode as Me, renderSlot as Ee, computed as C, isRef as _e, normalizeClass as Ue, normalizeStyle as Pe } from "vue";
2
- import { d as Ne, n as Le, o as Ie, c as z, p as Be, S as qe, u as ze } from "./app-CURawLhs.js";
2
+ import { d as Ne, n as Le, o as Ie, c as z, p as Be, S as qe, u as ze } from "./app-VtVYHCDF.js";
3
3
  import { useCoreStore as Se, useI18n as G } from "@feedmepos/mf-common";
4
- import { D as ke, R as Q } from "./row-action.enum-BiP5wkT6.js";
4
+ import { D as ke, R as Q } from "./row-action.enum-76yLYmPA.js";
5
5
  import { c as Oe } from "./component-BmLAdDiY.js";
6
- import { u as Fe } from "./netsuite-DudeltN_.js";
6
+ import { u as Fe } from "./netsuite-BhGuduqd.js";
7
7
  import { u as je, _ as Ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
8
8
  import { F as $ } from "./form-mode.enum-BKiNVH6A.js";
9
9
  import { useDialogChild as Ke, useDialog as xe, useSnackbar as se, useProxiedModel as ae, useBreakpoints as He } from "@feedmepos/ui-library";
10
- import { R as L } from "./rules-CQT0uAAo.js";
10
+ import { R as L } from "./rules-fOcvgt4t.js";
11
11
  import { c as $e, u as re, g as Ye } from "./googlemap-D9vA7GsS.js";
12
- import { d as Ze } from "./index-yt6MlAFG.js";
12
+ import { d as Ze } from "./index-By5-VjVg.js";
13
13
  import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  import { _ as Qe } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
15
- import { a as Xe } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js";
16
- import { u as eo } from "./feature-D9n0IC0c.js";
17
- import { _ as oo, F as X } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
18
- import { _ as to } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js";
15
+ import { _ as Xe } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-ChekXW32.js";
16
+ import { u as eo } from "./feature-VDUlSvM1.js";
17
+ import { _ as oo } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-gJQQKKAC.js";
18
+ import { F as X } from "./index-eGvSlWMU.js";
19
+ import { _ as to } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BEjFoMJJ.js";
19
20
  const ee = Ne((f, b) => {
20
21
  const g = Se();
21
22
  return {
@@ -912,7 +913,7 @@ const bo = { class: "flex gap-8 items-center" }, go = { key: 0 }, wo = { key: 1
912
913
  }), Po = { class: "flex flex-col py-8" }, No = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Lo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Io = {
913
914
  key: 0,
914
915
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
915
- }, Bo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, rt = /* @__PURE__ */ j({
916
+ }, Bo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, nt = /* @__PURE__ */ j({
916
917
  __name: "WarehouseView",
917
918
  setup(f) {
918
919
  const b = Te(), g = ze(), a = Fe(), l = C(() => b.warehouses), d = xe(), n = se(), u = T(!1), { t: y } = G();
@@ -1082,5 +1083,5 @@ const bo = { class: "flex gap-8 items-center" }, go = { key: 0 }, wo = { key: 1
1082
1083
  }
1083
1084
  });
1084
1085
  export {
1085
- rt as default
1086
+ nt as default
1086
1087
  };