@feedmepos/mf-inventory-portal 1.7.15-dev.3 → 1.7.16-dev.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 (298) hide show
  1. package/dist/{App-B1h66sv9.js → App-DFSszWS2.js} +7 -7
  2. package/dist/{ApprovalView-DKlVcGah.js → ApprovalView-sHjUr1tA.js} +9 -9
  3. package/dist/{BindingsDialog-CxHlh0kQ.js → BindingsDialog-B-64TNTI.js} +2 -2
  4. package/dist/{BindingsPicker-BiF5OZEi.js → BindingsPicker-Czn-jEHe.js} +2 -2
  5. package/dist/{BindingsTable-CygkFbyE.js → BindingsTable-CmB0b3ov.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-Cf4IHMVn.js → BulkReceiveRequestView-BjGCwQiH.js} +19 -19
  7. package/dist/{ClosingDraftView-DFnGCAHQ.js → ClosingDraftView-DJLqwVmZ.js} +19 -19
  8. package/dist/{ClosingHistoryView-c51cSbco.js → ClosingHistoryView-Dj170bDN.js} +5 -5
  9. package/dist/{ClosingTemplateView-tKdJEP6p.js → ClosingTemplateView-DsfJz31T.js} +16 -16
  10. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Br8lpoIh.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js} +1 -1
  11. package/dist/{DefaultView-2PPCmcbd.js → DefaultView-CsI2C4Hr.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-BKSQLP79.js → DeliveryOrderPrintPreview-8EupGZmv.js} +12 -12
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DNbWlGwL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js} +23 -23
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-EePpPI.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUrLcbIR.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js} +2 -2
  16. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +243 -0
  17. package/dist/{FmMultiselectDialog-4K4U13Fa.js → FmMultiselectDialog-B5gQRKE6.js} +1 -1
  18. package/dist/{FmMultiselectDialog-CMUU4YMv.js → FmMultiselectDialog-CZr-dX4K.js} +2 -2
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CWPYtvi-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js} +66 -63
  20. package/dist/{ImportView-3BL5dbPC.js → ImportView-Htolj46U.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Gt9-RVuI.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js} +1 -1
  22. package/dist/{IngredientGroupView-CrQr-Wcc.js → IngredientGroupView-zZgJ3F9O.js} +5 -5
  23. package/dist/{IngredientsView-Co_ULkb6.js → IngredientsView-BhIIUpq5.js} +15 -15
  24. package/dist/{IntegrationExplorerView-Byz0ZiN7.js → IntegrationExplorerView-a7EEa4a4.js} +4 -4
  25. package/dist/{IntegrationView-BZvXCtuu.js → IntegrationView-Dbr7gTAK.js} +14 -14
  26. package/dist/{InventoryBindingForm-D7at6ntj.js → InventoryBindingForm-DSAHtnBI.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfN7YCnp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js} +5 -5
  28. package/dist/{InventoryBindingSummary-DIWHwJwb.js → InventoryBindingSummary-D_jEP9vJ.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLIYFBaL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BIjAFa7R.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js} +1 -1
  31. package/dist/ProductionRunDetailView-DnIVaUbO.js +2284 -0
  32. package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +34 -0
  33. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +7543 -0
  34. package/dist/ProductionRunView-9tC9ljDT.js +911 -0
  35. package/dist/{PublishView-qzVWXhU2.js → PublishView-tOyFyzkR.js} +3 -3
  36. package/dist/{PurchaseOrderPrintPreview-Dv107ZcE.js → PurchaseOrderPrintPreview-CKyZ5jco.js} +7 -7
  37. package/dist/{ReceiveRequestView-BoDIlSIR.js → ReceiveRequestView-Brjz7YtB.js} +14 -14
  38. package/dist/{RecipeView-CZExmd9h.js → RecipeView-DntISZwO.js} +17 -17
  39. package/dist/{SettingsView-JvHtBOeh.js → SettingsView-_uzG3DYW.js} +4 -4
  40. package/dist/{StockView-DtAlqzrF.js → StockView-D0ns42PP.js} +363 -363
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DWxA3wuR.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js} +1 -1
  42. package/dist/{SupplierView-DIxYLwEk.js → SupplierView-Cg0BEv_J.js} +12 -12
  43. package/dist/{SurchargeView-BeMy7-Lu.js → SurchargeView-CtNt10E_.js} +6 -6
  44. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrOVu6wg.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js} +2 -2
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Chhxtkov.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js} +1 -1
  46. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-2LCcSzCa.js → TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js} +120 -120
  47. package/dist/{TransferTemplateView-DK_UHrGt.js → TransferTemplateView-DA-0VP3h.js} +20 -20
  48. package/dist/{UnitCostHistoryView-CbX9hG9F.js → UnitCostHistoryView-BIcZSZeY.js} +4 -4
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CDQ7c1Gl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js} +4 -4
  50. package/dist/{UnitView-Cc_PTKs_.js → UnitView-B7hMqpmo.js} +7 -7
  51. package/dist/{WarehouseView-a-D3zs6h.js → WarehouseView-DQZhCobt.js} +334 -334
  52. package/dist/{WastageTemplateView-CFRi5Pvf.js → WastageTemplateView-Bg4oY2Vw.js} +14 -14
  53. package/dist/api/netsuite.d.ts +14 -8
  54. package/dist/api/production-run-error.d.ts +36 -0
  55. package/dist/api/production-run-error.spec.d.ts +1 -0
  56. package/dist/api/production-run.d.ts +80 -0
  57. package/dist/api/production-run.spec.d.ts +1 -0
  58. package/dist/{app-D8j93Oqu.js → app-CNKD3vjZ.js} +20007 -15586
  59. package/dist/app.d.ts +2998 -2
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-C1b4O-N3.js → closing-template-BeegNS6p.js} +1 -1
  62. package/dist/components/FmUnitInput.spec.d.ts +1 -0
  63. package/dist/components/FmUnitInputProps.d.ts +2 -0
  64. package/dist/composable/useNavigationMenu.production.spec.d.ts +1 -0
  65. package/dist/{date2-uOSplHdf.js → date2-B00CYgio.js} +1 -1
  66. package/dist/{dayjs.min-jzzpE5jZ.js → dayjs.min-DPQzGVmJ.js} +1 -1
  67. package/dist/{decimal-8I4iIvBr.js → decimal-mk8IRyTq.js} +2 -2
  68. package/dist/{defineDeepModel-DBat73w6.js → defineDeepModel-DPmaWR48.js} +5 -5
  69. package/dist/{duplicate-template-hyvvKKZn.js → duplicate-template-CMddJ7le.js} +1 -1
  70. package/dist/{feature-BtW2IuYH.js → feature-fzePklTK.js} +28 -28
  71. package/dist/{format-time-from-id-TNzYsGd2.js → format-time-from-id-CX7mBtQD.js} +1 -1
  72. package/dist/{format-unit-display-Bv9J30wI.js → format-unit-display-C-WI6eC7.js} +12 -12
  73. package/dist/{import-export.helper-xpElLH-b.js → import-export.helper-BXXH9AYn.js} +6 -6
  74. package/dist/{index-CCpcCOf2.js → index-BGVJky7a.js} +1 -1
  75. package/dist/{index-BH22SMzP.js → index-D1nPGK7U.js} +3 -3
  76. package/dist/{index-CTQTVKeu.js → index-DJQBhZfo.js} +1 -1
  77. package/dist/{inventory-core-dart.default-BfVqWKxc.js → inventory-core-dart.default-CSFkzl91.js} +2928 -6981
  78. package/dist/{lz-string-BXcuXXWX.js → lz-string-CzFlgjO3.js} +1 -1
  79. package/dist/{netsuite-Bawdsy6u.js → netsuite-yzjEuV4c.js} +5 -3
  80. package/dist/{number-q25U2atb.js → number-LQ8tdP_1.js} +6 -6
  81. package/dist/{predefined-templates-DFETDxr0.js → predefined-templates-Db7qjPHc.js} +1 -1
  82. package/dist/production-run-prepare-sheet-BVAUvVqt.js +17411 -0
  83. package/dist/{purchase-order-template-BTSTgbF-.js → purchase-order-template-bBTN12Ij.js} +1 -1
  84. package/dist/{recalculationUtils-B-9ZEV5d.js → recalculationUtils-DN6oOoMX.js} +1 -1
  85. package/dist/router/name.d.ts +3 -1
  86. package/dist/router/shared.production.spec.d.ts +1 -0
  87. package/dist/{rules-_M2oshOW.js → rules-BdR1TB3v.js} +2 -2
  88. package/dist/{stock-CUsHHW7_.js → stock-AwNCy6xY.js} +1 -1
  89. package/dist/{stock-BdtZ5yDl.js → stock-BgGttjDF.js} +3 -3
  90. package/dist/stores/feature.d.ts +1 -1
  91. package/dist/stores/integration/codemax.d.ts +1 -1
  92. package/dist/stores/inventory.d.ts +10 -8
  93. package/dist/stores/stock.d.ts +10 -8
  94. package/dist/style.css +1 -1
  95. package/dist/{supplier-By-0Dy62.js → supplier-BNoSljLB.js} +2 -2
  96. package/dist/{surcharge-60G2Qke7.js → surcharge-pUc66ZZJ.js} +1 -1
  97. package/dist/tsconfig.app.tsbuildinfo +1 -1
  98. package/dist/{uom-rules-DeGuMW0s.js → uom-rules-BP8Vk8Rl.js} +1 -1
  99. package/dist/{use-ingredient-select-dialog-BVOtYoKp.js → use-ingredient-select-dialog-DTOzSrjt.js} +2 -2
  100. package/dist/{use-inventory-binding-dialog-CHm1Ezmr.js → use-inventory-binding-dialog-lHpBzqDy.js} +2 -2
  101. package/dist/{use-template-enabled-locations-C9vWaXj1.js → use-template-enabled-locations-DmCbj6aZ.js} +2 -2
  102. package/dist/{use-transfer-locations-VSzkSxBy.js → use-transfer-locations-BeARyv2s.js} +2 -2
  103. package/dist/{useHrmPermission-B48iHLre.js → useHrmPermission-DScCpS0P.js} +1 -1
  104. package/dist/{useNavigationMenu-DwRXSSh_.js → useNavigationMenu-B5pf21hS.js} +17 -17
  105. package/dist/{useSseClient-QeF0izVY.js → useSseClient-BPR5sQ_S.js} +1 -1
  106. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +20 -16
  107. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -32
  108. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +20 -16
  109. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +60 -48
  110. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -8
  111. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  112. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  113. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  114. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +1 -0
  115. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +15 -0
  116. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +1 -0
  117. package/dist/views/production-run/ProductionRunView.spec.d.ts +1 -0
  118. package/dist/views/production-run/ProductionRunView.vue.d.ts +2 -0
  119. package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +1 -0
  120. package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +15 -0
  121. package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +1 -0
  122. package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +67 -0
  123. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +1 -0
  124. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +52 -0
  125. package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +1 -0
  126. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +80 -0
  127. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +1 -0
  128. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +1066 -0
  129. package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +1 -0
  130. package/dist/views/{production/ProductionBindingsCell.vue.d.ts → production-run/features/detail/ProductionRunResultTable.vue.d.ts} +10 -14
  131. package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +1 -0
  132. package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +47 -0
  133. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +1 -0
  134. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +15 -0
  135. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +2098 -0
  136. package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +1 -0
  137. package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +1 -0
  138. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +1020 -0
  139. package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +9 -0
  140. package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +1 -0
  141. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +1020 -0
  142. package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +9 -0
  143. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +1 -0
  144. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +3573 -0
  145. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +1 -0
  146. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +1026 -0
  147. package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +56 -0
  148. package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +1 -0
  149. package/dist/views/{production/ProductionCompletionDialog.vue.d.ts → production-run/features/list/ProductionRunActionMenuItem.vue.d.ts} +8 -21
  150. package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +1 -0
  151. package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +20 -0
  152. package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +1 -0
  153. package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +40 -0
  154. package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +1 -0
  155. package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +43 -0
  156. package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +1 -0
  157. package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +25 -0
  158. package/dist/views/production-run/features/list/use-production-run-table.d.ts +18 -0
  159. package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +1 -0
  160. package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +70 -0
  162. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +1 -0
  163. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +33 -0
  164. package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +1 -0
  165. package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +26 -0
  166. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +1 -0
  167. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +43 -0
  168. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +1 -0
  169. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +31 -0
  170. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +1 -0
  171. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +23 -0
  172. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +1 -0
  173. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +33 -0
  174. package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +1 -0
  175. package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +20 -0
  176. package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +28 -0
  177. package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +245 -0
  178. package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +1 -0
  179. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +1 -0
  180. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +25 -0
  181. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +1 -0
  182. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +21 -0
  183. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +1 -0
  184. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +61 -0
  185. package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +1 -0
  186. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +1022 -0
  187. package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +25 -0
  188. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +1 -0
  189. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +65 -0
  190. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +1 -0
  191. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +15 -0
  192. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +1 -0
  193. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +30 -0
  194. package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +1 -0
  195. package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +67 -0
  196. package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +1 -0
  197. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +85 -0
  198. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +1 -0
  199. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +78 -0
  200. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +49 -0
  201. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +1 -0
  202. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +1525 -0
  203. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +1 -0
  204. package/dist/views/production-run/features/planning/use-production-run-form.d.ts +275 -0
  205. package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +1 -0
  206. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +1 -0
  207. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +32 -0
  208. package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +1 -0
  209. package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +18 -0
  210. package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +29 -0
  211. package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +1 -0
  212. package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +26 -0
  213. package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +16 -0
  214. package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +1 -0
  215. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +18 -0
  216. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +6 -0
  217. package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +1 -0
  218. package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +31 -0
  219. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +57 -0
  220. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +1 -0
  221. package/dist/views/production-run/shared/model/production-run-display.d.ts +187 -0
  222. package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +1 -0
  223. package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +22 -0
  224. package/dist/views/production-run/shared/model/production-run-list.d.ts +46 -0
  225. package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +1 -0
  226. package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +20 -0
  227. package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +22 -0
  228. package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +1 -0
  229. package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +39 -0
  230. package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +39 -0
  231. package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +1 -0
  232. package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +658 -0
  233. package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +1 -0
  234. package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +39 -0
  235. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +1 -0
  236. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +25 -0
  237. package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +51 -0
  238. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +1 -0
  239. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +23 -0
  240. package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +25 -0
  241. package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +2 -0
  242. package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +1 -0
  243. package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +24 -0
  244. package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +15 -0
  245. package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +33 -0
  246. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +1 -0
  247. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +67 -0
  248. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +1 -0
  249. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +70 -0
  250. package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +1 -0
  251. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +71 -0
  252. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +1 -0
  253. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +15 -0
  254. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +1 -0
  255. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +46 -0
  256. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +1 -0
  257. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +31 -0
  258. package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +31 -0
  259. package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +1 -0
  260. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +1 -0
  261. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +37 -0
  262. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +1 -0
  263. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +77 -0
  264. package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +52 -0
  265. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +1 -0
  266. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +21 -0
  267. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +1 -0
  268. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +23 -0
  269. package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +1 -0
  270. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +62 -0
  271. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +1 -0
  272. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +34 -0
  273. package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +11 -0
  274. package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +15 -0
  275. package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +1 -0
  276. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +17 -0
  277. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +1 -0
  278. package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +9 -0
  279. package/dist/views/production-run/test-support/production-run.fixture.d.ts +88 -0
  280. package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +1 -0
  281. package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +1 -0
  282. package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +1 -0
  283. package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +1 -0
  284. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  285. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  286. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +12 -8
  287. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +2 -0
  288. package/dist/{vue-i18n-DLckaDV3.js → vue-i18n-DLJI5tIS.js} +395 -395
  289. package/dist/{xlsx.util-BjqUaVU_.js → xlsx.util-CZOxuAL-.js} +2 -2
  290. package/package.json +5 -4
  291. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D6ehNvzX.js +0 -130
  292. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpACpi1j.js +0 -120
  293. package/dist/ProductionView-Cg8tXEj7.js +0 -1441
  294. package/dist/api/production.d.ts +0 -30
  295. package/dist/views/production/ProductionDetailSheet.vue.d.ts +0 -42
  296. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +0 -282
  297. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +0 -282
  298. /package/dist/views/{production/ProductionView.vue.d.ts → production-run/ProductionRunPreparePrintView.vue.d.ts} +0 -0
@@ -0,0 +1,243 @@
1
+ import { defineComponent as D, computed as g, ref as O, resolveComponent as w, createElementBlock as i, openBlock as l, createVNode as M, withCtx as N, createElementVNode as m, unref as t, createBlock as d, createCommentVNode as b, Fragment as k, renderList as S, createTextVNode as $, toDisplayString as R, mergeModels as j, useModel as I, renderSlot as H, normalizeClass as T } from "vue";
2
+ import { useCoreStore as W, useI18n as z } from "@feedmepos/mf-common";
3
+ import { u as q } from "./app-CNKD3vjZ.js";
4
+ import { _ as G } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js";
5
+ import { useBreakpoints as J } from "@feedmepos/ui-library";
6
+ import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
7
+ import { D as A } from "./app-C39bYJmq.js";
8
+ import { F as P } from "./FmAdminBadge-DlplQOHb.js";
9
+ const X = { class: "inline-flex" }, Y = {
10
+ "data-testid": "inventory-location-selector",
11
+ class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400"
12
+ }, Z = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ee = { class: "relative" }, oe = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, le = /* @__PURE__ */ D({
13
+ __name: "ChangeLocationComponent",
14
+ props: {
15
+ showBusiness: { type: Boolean }
16
+ },
17
+ setup(_) {
18
+ const a = q(), y = W(), B = g(() => {
19
+ var e;
20
+ return (e = y.currentBusiness.value) == null ? void 0 : e.name;
21
+ }), { t: c } = z(), v = O(""), u = g({
22
+ get() {
23
+ return a.businessLevel;
24
+ },
25
+ set(e) {
26
+ a.businessLevel = e;
27
+ }
28
+ }), p = g(
29
+ () => a.locations.map((e) => ({
30
+ label: e.name,
31
+ value: e.dbName,
32
+ type: e.type,
33
+ code: e.doc.profile.code ?? "--"
34
+ })).filter((e) => {
35
+ var f;
36
+ if (!v.value) return !0;
37
+ const o = v.value.toLocaleLowerCase();
38
+ return e.label.toLocaleLowerCase().includes(o) || ((f = e.code) == null ? void 0 : f.toLocaleLowerCase().includes(o));
39
+ })
40
+ ), n = g(
41
+ () => p.value.filter((e) => e.type === "restaurant")
42
+ ), s = g(
43
+ () => p.value.filter((e) => e.type === "warehouse")
44
+ );
45
+ function x({ value: e }) {
46
+ u.value = !1, a.selectLocation(a.locations.find((o) => o.dbName === e));
47
+ }
48
+ return (e, o) => {
49
+ const f = w("FmIcon"), Q = w("FmSearch"), C = w("FmMenuItem"), E = w("FmMenu");
50
+ return l(), i("div", X, [
51
+ M(E, { "close-on-click": !0 }, {
52
+ "menu-button": N(() => [
53
+ m("div", Y, [
54
+ M(f, {
55
+ name: e.showBusiness && u.value ? "store" : "storefront",
56
+ size: "sm"
57
+ }, null, 8, ["name"]),
58
+ m("div", Z, [
59
+ e.showBusiness && u.value ? (l(), i(k, { key: 0 }, [
60
+ $(R(B.value), 1)
61
+ ], 64)) : t(a)._currentLocation ? (l(), i(k, { key: 1 }, [
62
+ $(R(t(a)._currentLocation.name) + " (" + R(t(a)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
63
+ ], 64)) : (l(), i(k, { key: 2 }, [
64
+ $(R(t(c)("inventory.common.noLocationSelected")), 1)
65
+ ], 64))
66
+ ]),
67
+ M(f, {
68
+ name: "expand_more",
69
+ size: "sm"
70
+ })
71
+ ])
72
+ ]),
73
+ default: N(() => [
74
+ m("div", ee, [
75
+ m("div", oe, [
76
+ M(Q, {
77
+ "model-value": v.value,
78
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => v.value = r),
79
+ placeholder: t(c)("inventory.common.table.toolbar.filterItems")
80
+ }, null, 8, ["model-value", "placeholder"])
81
+ ]),
82
+ m("div", null, [
83
+ e.showBusiness ? (l(), d(C, {
84
+ key: 0,
85
+ "data-testid": "inventory-business-selector",
86
+ "model-value": u.value,
87
+ label: B.value,
88
+ sublabel: "Business",
89
+ onClick: o[1] || (o[1] = (r) => u.value = !0)
90
+ }, null, 8, ["model-value", "label"])) : b("", !0),
91
+ (l(!0), i(k, null, S(n.value, (r) => {
92
+ var L;
93
+ return l(), d(C, {
94
+ key: r.value,
95
+ "model-value": !u.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === r.value,
96
+ label: `${r.label} (${r.code})`,
97
+ sublabel: "Restaurant",
98
+ onClick: (h) => x(r),
99
+ onVnodeMounted: (h) => {
100
+ var V, F, U;
101
+ return !u.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === r.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "instant", block: "end" }), (U = h.el) == null || U.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
102
+ }
103
+ }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
104
+ }), 128)),
105
+ (l(!0), i(k, null, S(s.value, (r) => {
106
+ var L;
107
+ return l(), d(C, {
108
+ key: r.value,
109
+ "model-value": !u.value && ((L = t(a)._currentLocation) == null ? void 0 : L.dbName) === r.value,
110
+ label: r.label,
111
+ sublabel: "Warehouse",
112
+ onClick: (h) => x(r),
113
+ onVnodeMounted: (h) => {
114
+ var V, F;
115
+ return !u.value && ((V = t(a)._currentLocation) == null ? void 0 : V.dbName) === r.value && ((F = h.el) == null || F.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
116
+ }
117
+ }, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]);
118
+ }), 128)),
119
+ !e.showBusiness && !n.value.length && !s.value.length ? (l(), d(C, {
120
+ key: 1,
121
+ disabled: "",
122
+ label: t(c)("inventory.common.noResultFound")
123
+ }, null, 8, ["label"])) : b("", !0)
124
+ ])
125
+ ])
126
+ ]),
127
+ _: 1
128
+ })
129
+ ]);
130
+ };
131
+ }
132
+ }), ne = { class: "flex-1 w-full flex items-center gap-4 xs:flex-col-reverse sm:flex-col-reverse" }, te = {
133
+ key: 0,
134
+ class: "flex-1 xs:w-full sm:w-full"
135
+ }, ae = {
136
+ key: 1,
137
+ class: "flex-1"
138
+ }, se = { class: "w-full max-w-[343px] xs:max-w-[unset] sm:max-w-[unset]" }, fe = /* @__PURE__ */ D({
139
+ __name: "FmInventoryTableToolbar",
140
+ props: /* @__PURE__ */ j({
141
+ dateRangeQuery: { type: Boolean },
142
+ predefinedDateRanges: {},
143
+ changeLocation: { type: Boolean },
144
+ searchable: { type: Boolean },
145
+ hideFilterOptions: { type: Boolean },
146
+ filterable: { type: Boolean },
147
+ filterAttributes: {},
148
+ actions: {},
149
+ usingBusinessHelperText: {},
150
+ showBusiness: { type: Boolean }
151
+ }, {
152
+ search: {},
153
+ searchModifiers: {},
154
+ filter: {},
155
+ filterModifiers: {},
156
+ dateRange: {},
157
+ dateRangeModifiers: {}
158
+ }),
159
+ emits: ["update:search", "update:filter", "update:dateRange"],
160
+ setup(_) {
161
+ const { breakpoints: a } = J(), y = g(() => a.value.xs || a.value.sm), B = I(_, "search"), c = I(_, "filter"), v = I(_, "dateRange"), { t: u } = z(), p = K();
162
+ return (n, s) => {
163
+ const x = w("FmTextField"), e = w("FmButton");
164
+ return l(), i("div", {
165
+ class: "flex flex-col gap-8",
166
+ onVnodeMounted: s[4] || (s[4] = //@ts-ignore
167
+ (...o) => t(p).onMounted && t(p).onMounted(...o)),
168
+ onVnodeUnmounted: s[5] || (s[5] = //@ts-ignore
169
+ (...o) => t(p).onUnmounted && t(p).onUnmounted(...o))
170
+ }, [
171
+ H(n.$slots, "default"),
172
+ m("div", {
173
+ class: T([
174
+ "flex gap-8 items-center",
175
+ {
176
+ "px-8 flex-col-reverse h-[unset]": y.value,
177
+ "h-48": !y.value
178
+ }
179
+ ])
180
+ }, [
181
+ n.changeLocation || n.dateRangeQuery ? (l(), i("div", {
182
+ key: 0,
183
+ class: T([
184
+ "flex gap-8 items-center",
185
+ {
186
+ "w-full overflow-x-auto": y.value
187
+ }
188
+ ])
189
+ }, [
190
+ n.changeLocation ? (l(), d(le, {
191
+ key: 0,
192
+ "show-business": n.showBusiness
193
+ }, null, 8, ["show-business"])) : b("", !0),
194
+ n.dateRangeQuery ? (l(), d(G, {
195
+ key: 1,
196
+ "model-value": v.value,
197
+ "onUpdate:modelValue": s[0] || (s[0] = (o) => v.value = o),
198
+ "predefined-range": n.predefinedDateRanges
199
+ }, null, 8, ["model-value", "predefined-range"])) : b("", !0)
200
+ ], 2)) : b("", !0),
201
+ m("div", ne, [
202
+ n.filterable && n.filterAttributes ? (l(), i("div", te, [
203
+ n.hideFilterOptions ? (l(), d(P, { key: 1 }, {
204
+ default: N(() => [
205
+ M(t(A), {
206
+ modelValue: c.value,
207
+ "onUpdate:modelValue": s[2] || (s[2] = (o) => c.value = o),
208
+ attributes: n.filterAttributes
209
+ }, null, 8, ["modelValue", "attributes"])
210
+ ]),
211
+ _: 1
212
+ })) : (l(), d(t(A), {
213
+ key: 0,
214
+ modelValue: c.value,
215
+ "onUpdate:modelValue": s[1] || (s[1] = (o) => c.value = o),
216
+ attributes: n.filterAttributes
217
+ }, null, 8, ["modelValue", "attributes"]))
218
+ ])) : y.value ? b("", !0) : (l(), i("div", ae)),
219
+ m("div", se, [
220
+ n.searchable ? (l(), d(x, {
221
+ key: 0,
222
+ "model-value": B.value,
223
+ "onUpdate:modelValue": s[3] || (s[3] = (o) => B.value = o),
224
+ "prepend-icon": "search",
225
+ placeholder: t(u)("inventory.common.table.toolbar.filterItems"),
226
+ class: "w-full"
227
+ }, null, 8, ["model-value", "placeholder"])) : b("", !0)
228
+ ]),
229
+ (l(!0), i(k, null, S(n.actions, (o, f) => (l(), d(e, {
230
+ key: f,
231
+ variant: "tertiary",
232
+ "prepend-icon": o.icon,
233
+ onClick: o.onClick
234
+ }, null, 8, ["prepend-icon", "onClick"]))), 128))
235
+ ])
236
+ ], 2)
237
+ ], 512);
238
+ };
239
+ }
240
+ });
241
+ export {
242
+ fe as _
243
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineStore as p } from "pinia";
2
2
  import { useDialog as y } from "@feedmepos/ui-library";
3
3
  import { useI18n as v } from "@feedmepos/mf-common";
4
- import { a } from "./FmMultiselectDialog-CMUU4YMv.js";
4
+ import { a } from "./FmMultiselectDialog-CZr-dX4K.js";
5
5
  import { h as S } from "vue";
6
6
  const w = p("inventoryMultiSelectDialog", () => {
7
7
  const l = y(), { t: n } = v();
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
3
3
  var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
4
4
  import { defineComponent as ye, computed as x, ref as $, watch as ge, createElementBlock as f, openBlock as d, normalizeStyle as z, Fragment as V, renderList as O, createCommentVNode as D, renderSlot as ke, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
5
5
  import { useDialogChild as Ge } from "@feedmepos/ui-library";
6
- import { z as he } from "./app-D8j93Oqu.js";
7
- import { d as Je } from "./index-CTQTVKeu.js";
6
+ import { z as he } from "./app-CNKD3vjZ.js";
7
+ import { d as Je } from "./index-DJQBhZfo.js";
8
8
  /* empty css */
9
9
  import { useI18n as Re } from "@feedmepos/mf-common";
10
10
  import { P as We, J as be, D as Qe } from "./app-C39bYJmq.js";
@@ -1,11 +1,11 @@
1
- import { defineComponent as ue, mergeModels as W, useModel as re, computed as v, ref as U, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as u, createVNode as g, createCommentVNode as A, withCtx as _, renderSlot as Q, withDirectives as de, normalizeClass as q, toDisplayString as h, vModelText as pe, createBlock as R, Fragment as fe, renderList as ve, createSlots as be, createTextVNode as ye } from "vue";
2
- import { l as he } from "./netsuite-Bawdsy6u.js";
3
- import { w as D } from "./app-D8j93Oqu.js";
4
- import { g as O, c as xe, a as b, t as ge, e as G, m as Me, b as _e, u as Fe } from "./number-q25U2atb.js";
5
- import { I, a as Ae } from "./rules-_M2oshOW.js";
1
+ import { defineComponent as ue, mergeModels as W, useModel as re, computed as v, ref as k, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as u, createVNode as M, createCommentVNode as A, withCtx as _, renderSlot as Q, withDirectives as de, normalizeClass as q, toDisplayString as h, vModelText as pe, createBlock as R, Fragment as fe, renderList as ve, createSlots as be, createTextVNode as ye } from "vue";
2
+ import { l as he } from "./netsuite-yzjEuV4c.js";
3
+ import { w as D } from "./app-CNKD3vjZ.js";
4
+ import { g as O, c as xe, a as b, e as G, o as Me, b as ge, u as _e, t as Fe } from "./number-LQ8tdP_1.js";
5
+ import { I as U, a as Ae } from "./rules-BdR1TB3v.js";
6
6
  import "@feedmepos/ui-library";
7
- import { P as Ie } from "./inventory-core-dart.default-BfVqWKxc.js";
8
- import { u as Pe, a as ke } from "./uom-rules-DeGuMW0s.js";
7
+ import { P as Ue } from "./inventory-core-dart.default-CSFkzl91.js";
8
+ import { u as Be, a as Ie } from "./uom-rules-BP8Vk8Rl.js";
9
9
  function Z() {
10
10
  return {
11
11
  amount: D.reset()
@@ -13,17 +13,17 @@ function Z() {
13
13
  }
14
14
  function K() {
15
15
  return function(p) {
16
- return I()(p.amountAsString);
16
+ return U()(p.amountAsString);
17
17
  };
18
18
  }
19
19
  function tt(r) {
20
20
  return function(t) {
21
- return I()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
21
+ return U()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
22
22
  };
23
23
  }
24
24
  function nt(r) {
25
25
  return function(t) {
26
- return I()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
26
+ return U()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
27
27
  };
28
28
  }
29
29
  function J(r, p = !1) {
@@ -31,10 +31,10 @@ function J(r, p = !1) {
31
31
  const s = K()(c);
32
32
  if (s != !0)
33
33
  return p ? s : !0;
34
- const P = typeof r == "number" ? r : O(r, c.modelValue.measurement);
35
- return xe(+c.amountAsString).precision > P ? `Cannot exceed precision more than ${b({
34
+ const B = typeof r == "number" ? r : O(r, c.modelValue.measurement);
35
+ return xe(+c.amountAsString).precision > B ? `Cannot exceed precision more than ${b({
36
36
  amount: 1,
37
- precision: P
37
+ precision: B
38
38
  })}` : !0;
39
39
  };
40
40
  }
@@ -46,16 +46,16 @@ function ot(r) {
46
46
  }
47
47
  function st(r) {
48
48
  return function(t) {
49
- if (I()(t.amountAsString) !== !0)
49
+ if (U()(t.amountAsString) !== !0)
50
50
  return !0;
51
- const s = Ie.validateQuantityAgainstTemplateItem({
51
+ const s = Ue.validateQuantityAgainstTemplateItem({
52
52
  quantity: t.modelValue.amount,
53
53
  templateItem: r
54
54
  });
55
55
  return s.length === 0 ? !0 : s[0];
56
56
  };
57
57
  }
58
- const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { class: "flex-1" }, De = { class: "flex items-center gap-4" }, Ce = { class: "flex-1 flex gap-4" }, Se = { class: "shrink-0 grow basis-2/5" }, we = {
58
+ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { class: "flex-1" }, De = { class: "flex items-center gap-4" }, Ce = { class: "flex-1 flex gap-4" }, Se = { class: "shrink-0 grow basis-2/5" }, we = {
59
59
  key: 0,
60
60
  class: "text-fm-color-typo-secondary"
61
61
  }, Ne = {
@@ -73,7 +73,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
73
73
  }, He = {
74
74
  key: 0,
75
75
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mt-1"
76
- }, at = /* @__PURE__ */ ue({
76
+ }, it = /* @__PURE__ */ ue({
77
77
  __name: "FmUnitInput",
78
78
  props: /* @__PURE__ */ W({
79
79
  modelValue: {},
@@ -89,6 +89,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
89
89
  disableUnit: { type: Boolean },
90
90
  stepperOnly: { type: Boolean },
91
91
  stepper: {},
92
+ immediateModelUpdate: { type: Boolean },
92
93
  placeholder: {},
93
94
  minLength: {},
94
95
  maxLength: {},
@@ -124,40 +125,42 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
124
125
  }),
125
126
  emits: /* @__PURE__ */ W(["update:amount", "update:measurement"], ["update:modelValue"]),
126
127
  setup(r, { emit: p }) {
127
- const t = r, c = p, s = re(r, "modelValue"), P = I(), C = v(() => {
128
+ const t = r, c = p, s = re(r, "modelValue"), B = U(), C = v(() => {
128
129
  var n;
129
130
  return O(t.unit, (n = s.value) == null ? void 0 : n.measurement);
130
- }), f = U((() => {
131
- var a;
132
- const e = ((a = s.value) == null ? void 0 : a.amount) ?? D.reset(), n = _e(e), i = t.formatMinimumPrecision ?? n.precision, l = Fe(n, i);
131
+ }), f = k((() => {
132
+ var i;
133
+ const e = ((i = s.value) == null ? void 0 : i.amount) ?? D.reset(), n = ge(e), a = t.formatMinimumPrecision ?? n.precision, l = _e(n, a);
133
134
  return b(l);
134
135
  })());
135
136
  let F = null;
136
137
  H(f, (e) => {
137
- F && clearTimeout(F), F = setTimeout(() => {
138
+ const n = () => {
138
139
  var o;
139
- const n = P(e), i = t.precision ?? C.value, a = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > i ? t.formatMinimumPrecision : i;
140
- if (n == !0) {
141
- const M = ge(+e, a);
142
- ((o = s.value) == null ? void 0 : o.amount) !== M && (s.value = {
140
+ const a = t.precision ?? C.value, i = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > a ? t.formatMinimumPrecision : a;
141
+ if (B(e) == !0) {
142
+ const g = Fe(+e, i);
143
+ ((o = s.value) == null ? void 0 : o.amount) !== g && (s.value = {
143
144
  ...s.value,
144
- amount: M
145
+ amount: g
145
146
  });
146
147
  }
147
- c("update:amount", e);
148
+ };
149
+ t.immediateModelUpdate && n(), F && clearTimeout(F), F = setTimeout(() => {
150
+ t.immediateModelUpdate || n(), c("update:amount", e);
148
151
  }, 500);
149
152
  }), me(() => {
150
153
  F && clearTimeout(F);
151
154
  });
152
- const Y = Symbol.for("fm:form-state"), S = ce(Y, null), k = v(() => t.disabled ?? (S == null ? void 0 : S.getDisabled()) ?? !1), ee = U(), w = U(!1), j = U(!1), te = v(() => w.value || j.value), ne = Pe(), oe = v(() => {
153
- var a;
154
- const e = ne.value, n = t.unit.measurements.filter((o) => !ke(o, e)).filter((o) => o.abbrev !== t.unit.abbrev || +b(o.conversion) != 1), i = he.groupBy(
155
+ const Y = Symbol.for("fm:form-state"), S = ce(Y, null), I = v(() => t.disabled ?? (S == null ? void 0 : S.getDisabled()) ?? !1), ee = k(), w = k(!1), j = k(!1), te = v(() => w.value || j.value), ne = Be(), oe = v(() => {
156
+ var i;
157
+ const e = ne.value, n = t.unit.measurements.filter((o) => !Ie(o, e)).filter((o) => o.abbrev !== t.unit.abbrev || +b(o.conversion) != 1), a = he.groupBy(
155
158
  n,
156
159
  (o) => `${o.abbrev}${b(o.conversion)}`
157
- ), l = Object.values(i).map((o) => o[0]);
160
+ ), l = Object.values(a).map((o) => o[0]);
158
161
  return [
159
162
  {
160
- label: (a = t.unit) == null ? void 0 : a.abbrev,
163
+ label: (i = t.unit) == null ? void 0 : i.abbrev,
161
164
  value: null,
162
165
  isBaseUnit: !0,
163
166
  conversionLabel: null
@@ -181,7 +184,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
181
184
  measurement: null
182
185
  }, c("update:measurement", null);
183
186
  else {
184
- const n = t.unit.measurements.find((i) => i.id === e) ?? null;
187
+ const n = t.unit.measurements.find((a) => a.id === e) ?? null;
185
188
  s.value = {
186
189
  ...s.value ?? Z(),
187
190
  measurement: n
@@ -193,8 +196,8 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
193
196
  var m;
194
197
  if (!t.convertAmountOnChangeUnit)
195
198
  return;
196
- const i = ((m = s.value) == null ? void 0 : m.amount) ?? D.reset(), l = t.unit.measurements.find((B) => B.id === n) ?? null, a = t.unit.measurements.find((B) => B.id === e) ?? null, o = l ? G(i, l.conversion) : i, M = a ? Me(o, a.conversion) : o, $ = O(t.unit, a), L = D.convertPrecision({
197
- value: M,
199
+ const a = ((m = s.value) == null ? void 0 : m.amount) ?? D.reset(), l = t.unit.measurements.find((P) => P.id === n) ?? null, i = t.unit.measurements.find((P) => P.id === e) ?? null, o = l ? G(a, l.conversion) : a, g = i ? Me(o, i.conversion) : o, $ = O(t.unit, i), L = D.convertPrecision({
200
+ value: g,
198
201
  precision: $
199
202
  });
200
203
  f.value = b(L);
@@ -206,30 +209,30 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
206
209
  var e, n;
207
210
  return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.abbrev) ?? t.unit.abbrev;
208
211
  }), z = v(() => {
209
- var l, a;
212
+ var l, i;
210
213
  if (V.value) return null;
211
214
  const e = (l = s.value) == null ? void 0 : l.measurement;
212
215
  if (!e) return null;
213
- const n = (a = s.value) == null ? void 0 : a.amount;
216
+ const n = (i = s.value) == null ? void 0 : i.amount;
214
217
  if (!n) return null;
215
- const i = G(n, e.conversion);
216
- return `= ${b(i)} ${t.unit.abbrev}`;
218
+ const a = G(n, e.conversion);
219
+ return `= ${b(a)} ${t.unit.abbrev}`;
217
220
  }), se = v(
218
221
  () => {
219
222
  var e;
220
223
  return ((e = t.rules) == null ? void 0 : e.map(
221
- (n) => (i) => typeof n == "function" ? n(i) : n
224
+ (n) => (a) => typeof n == "function" ? n(a) : n
222
225
  )) ?? [];
223
226
  }
224
- ), ae = v(() => [...t.applyDefaultRules ? [
227
+ ), ie = v(() => [...t.applyDefaultRules ? [
225
228
  K(),
226
229
  typeof t.precision == "number" ? J(t.precision) : J(t.unit)
227
230
  ] : [], ...se.value]);
228
231
  function E(e) {
229
- const n = t.precision ?? C.value, l = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > n ? t.formatMinimumPrecision : n, a = e.toFixed(l), o = a.includes(".") ? a.replace(/0+$/, "") : a;
232
+ const n = t.precision ?? C.value, l = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > n ? t.formatMinimumPrecision : n, i = e.toFixed(l), o = i.includes(".") ? i.replace(/0+$/, "") : i;
230
233
  return o.endsWith(".") ? o.slice(0, o.length - 1) : o;
231
234
  }
232
- function ie() {
235
+ function ae() {
233
236
  if (!t.stepper)
234
237
  return;
235
238
  const e = +f.value + +b(t.stepper);
@@ -242,18 +245,18 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
242
245
  f.value = E(e);
243
246
  }
244
247
  return (e, n) => {
245
- const i = x("FmLabel"), l = x("FmIcon"), a = x("FmMenuItem"), o = x("FmMenu"), M = x("FmTooltip"), $ = x("FmField"), L = x("FmFormGroup");
246
- return d(), y("div", Be, [
247
- u("div", Ue, [
248
+ const a = x("FmLabel"), l = x("FmIcon"), i = x("FmMenuItem"), o = x("FmMenu"), g = x("FmTooltip"), $ = x("FmField"), L = x("FmFormGroup");
249
+ return d(), y("div", Pe, [
250
+ u("div", ke, [
248
251
  u("div", Re, [
249
- g(i, {
252
+ M(a, {
250
253
  label: e.label,
251
254
  disabled: e.disabled,
252
255
  required: e.labelMark === "required",
253
256
  optional: e.labelMark === "optional"
254
257
  }, null, 8, ["label", "disabled", "required", "optional"])
255
258
  ]),
256
- g($, { focused: te.value }, {
259
+ M($, { focused: te.value }, {
257
260
  default: _(() => [
258
261
  u("div", De, [
259
262
  Q(e.$slots, "prepend"),
@@ -263,8 +266,8 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
263
266
  key: 0,
264
267
  class: q({
265
268
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
266
- "text-fm-color-typo-primary": !k.value,
267
- "text-fm-color-typo-disabled": k.value
269
+ "text-fm-color-typo-primary": !I.value,
270
+ "text-fm-color-typo-disabled": I.value
268
271
  })
269
272
  }, h(f.value), 3)) : de((d(), y("input", {
270
273
  key: 1,
@@ -276,8 +279,8 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
276
279
  "onUpdate:modelValue": n[2] || (n[2] = (m) => f.value = m),
277
280
  class: q({
278
281
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
279
- "text-fm-color-typo-primary": !k.value,
280
- "text-fm-color-typo-disabled": k.value
282
+ "text-fm-color-typo-primary": !I.value,
283
+ "text-fm-color-typo-disabled": I.value
281
284
  })
282
285
  }, null, 34)), [
283
286
  [pe, f.value]
@@ -287,7 +290,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
287
290
  u("div", {
288
291
  class: q([e.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"])
289
292
  }, [
290
- g(M, { "z-index": 51 }, {
293
+ M(g, { "z-index": 51 }, {
291
294
  content: _(() => [
292
295
  ye(h(T.value), 1)
293
296
  ]),
@@ -314,17 +317,17 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
314
317
  })),
315
318
  u("div", Le, h(T.value), 1)
316
319
  ]),
317
- g(l, { name: "keyboard_arrow_down" })
320
+ M(l, { name: "keyboard_arrow_down" })
318
321
  ])
319
322
  ]),
320
323
  default: _(() => [
321
324
  u("div", qe, [
322
- (d(!0), y(fe, null, ve(oe.value, (m) => (d(), R(a, {
325
+ (d(!0), y(fe, null, ve(oe.value, (m) => (d(), R(i, {
323
326
  key: m.value ?? void 0,
324
327
  label: m.label,
325
328
  icon: m.isBaseUnit ? void 0 : "square_foot",
326
329
  "model-value": m.value == N.value,
327
- onClick: (B) => N.value = m.value
330
+ onClick: (P) => N.value = m.value
328
331
  }, be({ _: 2 }, [
329
332
  m.conversionLabel ? {
330
333
  name: "label",
@@ -348,10 +351,10 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
348
351
  e.stepper ? (d(), y("div", ze, [
349
352
  u("div", {
350
353
  class: "w-24 h-12 flex items-center justify-center fm-corner-radius-sm bg-fm-color-neutral-gray-100 hover:bg-fm-color-neutral-gray-200",
351
- onClick: ie
354
+ onClick: ae
352
355
  }, [
353
356
  u("div", Ee, [
354
- g(l, {
357
+ M(l, {
355
358
  name: "expand_less",
356
359
  size: "md"
357
360
  })
@@ -362,7 +365,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
362
365
  onClick: le
363
366
  }, [
364
367
  u("div", We, [
365
- g(l, {
368
+ M(l, {
366
369
  name: "expand_more",
367
370
  size: "md"
368
371
  })
@@ -376,11 +379,11 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
376
379
  _: 3
377
380
  }, 8, ["focused"])
378
381
  ]),
379
- g(L, {
382
+ M(L, {
380
383
  class: "flex-1",
381
384
  "model-value": { modelValue: s.value, amountAsString: String(f.value) },
382
385
  info: e.labelInfo,
383
- rules: ae.value,
386
+ rules: ie.value,
384
387
  "helper-text": e.helperText,
385
388
  "helper-state": e.helperState
386
389
  }, null, 8, ["model-value", "info", "rules", "helper-text", "helper-state"]),
@@ -391,7 +394,7 @@ const Be = { class: "flex flex-col" }, Ue = { class: "flex flex-col" }, Re = { c
391
394
  });
392
395
  export {
393
396
  ot as F,
394
- at as _,
397
+ it as _,
395
398
  tt as a,
396
399
  nt as b,
397
400
  K as c,
@@ -2,15 +2,15 @@ import { defineComponent as Te, ref as F, computed as L, watch as Be, resolveCom
2
2
  import { u as je, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
3
3
  import { useCoreStore as Re, useI18n as Fe } from "@feedmepos/mf-common";
4
4
  import { useDialogChild as Oe, useSnackbar as Ae, useDialog as He, useBreakpoints as ze } from "@feedmepos/ui-library";
5
- import { u as Ke } from "./feature-BtW2IuYH.js";
6
- import { a as ie } from "./app-D8j93Oqu.js";
7
- import "./dayjs.min-jzzpE5jZ.js";
5
+ import { u as Ke } from "./feature-fzePklTK.js";
6
+ import { a as ie } from "./app-CNKD3vjZ.js";
7
+ import "./dayjs.min-DPQzGVmJ.js";
8
8
  import "./app-C39bYJmq.js";
9
9
  import "./FmAdminBadge-DlplQOHb.js";
10
- import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-BjqUaVU_.js";
11
- import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-xpElLH-b.js";
10
+ import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-CZOxuAL-.js";
11
+ import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-BXXH9AYn.js";
12
12
  import { r as Qe } from "./random-CSbEbElR.js";
13
- import { c as Ne, a as pe } from "./number-q25U2atb.js";
13
+ import { c as Ne, a as pe } from "./number-LQ8tdP_1.js";
14
14
  import { F as Ye } from "./FmDroppableField-J0tG_U3w.js";
15
15
  function Ee() {
16
16
  return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${Qe()}`;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, createElementBlock as s, openBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
2
- import { a, e as y } from "./number-q25U2atb.js";
2
+ import { a, e as y } from "./number-LQ8tdP_1.js";
3
3
  import { useI18n as _ } from "@feedmepos/mf-common";
4
4
  const v = { class: "flex flex-col" }, g = { 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" }, h = { class: "flex-1 py-8 px-16" }, b = {
5
5
  class: "flex-0 py-8 px-16",
@@ -1,5 +1,5 @@
1
1
  import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, createElementBlock as B, openBlock as F, createVNode as b, createElementVNode as c, unref as i, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
2
- import { a as L, c as P, j as oe, u as Re } from "./app-D8j93Oqu.js";
2
+ import { a as L, c as P, j as oe, u as Re } from "./app-CNKD3vjZ.js";
3
3
  import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
4
4
  import { F as S } from "./form-mode.enum-BKiNVH6A.js";
5
5
  import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
@@ -8,11 +8,11 @@ import { D as ie, R as K } from "./row-action.enum-ncgDYAjP.js";
8
8
  import { c as Ve } from "./component-BmLAdDiY.js";
9
9
  import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
10
10
  import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
11
- import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpACpi1j.js";
12
- import { d as de } from "./defineDeepModel-DBat73w6.js";
13
- import { I as Te, A as Ee, U as Me, R as ce } from "./rules-_M2oshOW.js";
11
+ import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js";
12
+ import { d as de } from "./defineDeepModel-DPmaWR48.js";
13
+ import { I as Te, A as Ee, U as Me, R as ce } from "./rules-BdR1TB3v.js";
14
14
  import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
15
- import { u as Le } from "./FmMultiselectDialog-4K4U13Fa.js";
15
+ import { u as Le } from "./FmMultiselectDialog-B5gQRKE6.js";
16
16
  import { r as me } from "./random-CSbEbElR.js";
17
17
  import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
18
18
  const H = ue(