@feedmepos/mf-inventory-portal 1.7.16 → 1.8.0-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-B4emWPzG.js → App-CBS1Tqpl.js} +7 -7
  2. package/dist/{ApprovalView-DK92htkN.js → ApprovalView-BK6E_3Cw.js} +9 -9
  3. package/dist/{BindingsDialog-Cm6EyERk.js → BindingsDialog-BAVPQ_Eq.js} +2 -2
  4. package/dist/{BindingsPicker-Dqgpg9Tg.js → BindingsPicker-bAuDX7Af.js} +2 -2
  5. package/dist/{BindingsTable-CFhc3o-0.js → BindingsTable-LGlvV0lt.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-De_Gfe74.js → BulkReceiveRequestView-CQf7FYos.js} +19 -19
  7. package/dist/{ClosingDraftView-CmPAxBdA.js → ClosingDraftView-DH7iYiE9.js} +19 -19
  8. package/dist/{ClosingHistoryView-IpulrnKA.js → ClosingHistoryView-3z17ZJzK.js} +5 -5
  9. package/dist/{ClosingTemplateView-OfsdZ_0K.js → ClosingTemplateView-D532GNTn.js} +16 -16
  10. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-tAJLuDO6.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CvqZGcvX.js} +1 -1
  11. package/dist/{DefaultView-BHh4qute.js → DefaultView-DqqXJVba.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-C-4NXoF6.js → DeliveryOrderPrintPreview-DkHNDEKP.js} +12 -12
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CjMENWEw.js → EmailDialog.vue_vue_type_script_setup_true_lang-Cyj3ka37.js} +6988 -7093
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-2XAyKove.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BCuhx2cN.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9ZZ45U8.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDNqm_9N.js} +2 -2
  16. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js +243 -0
  17. package/dist/{FmMultiselectDialog-BDdObapU.js → FmMultiselectDialog-7xh6h5AX.js} +1 -1
  18. package/dist/{FmMultiselectDialog-H1tFhTfx.js → FmMultiselectDialog-eH3nO3P3.js} +2 -2
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BMVN1Mtz.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BCIkEl75.js} +132 -136
  20. package/dist/{ImportView-TWWf3Ylj.js → ImportView-C3Fc0e_X.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DP4dVR4F.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js} +1 -1
  22. package/dist/{IngredientGroupView-BVLY9TZa.js → IngredientGroupView-DA1buE1C.js} +5 -5
  23. package/dist/{IngredientsView-CWol9-A0.js → IngredientsView-DtDtzaMt.js} +15 -15
  24. package/dist/{IntegrationExplorerView-DoHyQtGY.js → IntegrationExplorerView-C4lYc_LH.js} +4 -4
  25. package/dist/{IntegrationView-DWeid2ZB.js → IntegrationView-Bx5VdV5l.js} +14 -14
  26. package/dist/{InventoryBindingForm-DnUDQvcr.js → InventoryBindingForm-DKa1DwYs.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-3OCFpD4a.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js} +5 -5
  28. package/dist/{InventoryBindingSummary-Boe2MJCu.js → InventoryBindingSummary-CNqwcsrX.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RF62oUjn.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cbg0j7Jz.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DppLj3C5.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Btrg9HNc.js} +1 -1
  31. package/dist/ProductionRunDetailView-DYeSPsIY.js +2284 -0
  32. package/dist/ProductionRunPreparePrintView-DJOejqOC.js +34 -0
  33. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-JKMI-vVw.js +7543 -0
  34. package/dist/ProductionRunView-Cg3aYOg9.js +911 -0
  35. package/dist/{PublishView-D60CmZZ5.js → PublishView-D0oSoJ5a.js} +3 -3
  36. package/dist/{PurchaseOrderPrintPreview-BaL5qJUa.js → PurchaseOrderPrintPreview-CE-l4mvB.js} +7 -7
  37. package/dist/{ReceiveRequestView-CqUQHs-M.js → ReceiveRequestView-B2z8Ji0e.js} +14 -14
  38. package/dist/{RecipeView-CticYc7S.js → RecipeView-DC0p9RKL.js} +17 -17
  39. package/dist/{SettingsView-CFRUTaJe.js → SettingsView-DaKfCVY5.js} +4 -4
  40. package/dist/{StockView-CbVc1mcX.js → StockView-DdweBRFv.js} +363 -363
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CppXhk4E.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js} +1 -1
  42. package/dist/{SupplierView-DgNYiPI8.js → SupplierView-qqhUQ-SY.js} +13 -14
  43. package/dist/{SurchargeView-mNeMs_1T.js → SurchargeView-B0TYUfqY.js} +6 -6
  44. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-o3RcEtM9.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-tfMHi9Yv.js} +2 -2
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BEZmJBAc.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Dxc-jNte.js} +1 -1
  46. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BNw1W23J.js → TransferDetails.vue_vue_type_script_setup_true_lang-BX36zWMb.js} +120 -120
  47. package/dist/{TransferTemplateView-BmOGX7FI.js → TransferTemplateView-CSXcAB3-.js} +20 -20
  48. package/dist/{UnitCostHistoryView-DQOr_wX7.js → UnitCostHistoryView-xdRSkjD7.js} +4 -4
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DVLaA1ZA.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BT2v1gZv.js} +4 -4
  50. package/dist/{UnitView-BGrGPUHA.js → UnitView-p-V_TMMo.js} +7 -7
  51. package/dist/{WarehouseView-DafgiJVu.js → WarehouseView-BOGYcUHH.js} +6 -6
  52. package/dist/{WastageTemplateView-BXemAjAM.js → WastageTemplateView-CiifZMq6.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-VWFXZ7dF.js → app-CGcDbrt8.js} +20008 -15635
  59. package/dist/app.d.ts +3048 -100
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-Dxu8tjVE.js → closing-template-B4lQetjU.js} +1 -1
  62. package/dist/components/FmUnitInput.spec.d.ts +1 -0
  63. package/dist/components/FmUnitInputProps.d.ts +2 -1
  64. package/dist/composable/useNavigationMenu.production.spec.d.ts +1 -0
  65. package/dist/{date2-B7qVMfEK.js → date2-CHOcS7LX.js} +1 -1
  66. package/dist/{dayjs.min-BIGL1WMx.js → dayjs.min-DrqpmBJQ.js} +1 -1
  67. package/dist/{decimal-wJRuStYp.js → decimal-BJ-B2ZXz.js} +2 -2
  68. package/dist/{defineDeepModel-B-N4q6D_.js → defineDeepModel-DLlTW3xL.js} +5 -5
  69. package/dist/{duplicate-template-Dc3AP8z8.js → duplicate-template-Dyz7iXqd.js} +1 -1
  70. package/dist/{feature-Bj408URk.js → feature-DtpSrELx.js} +28 -28
  71. package/dist/{format-time-from-id-COQRbS3v.js → format-time-from-id-DBFdt14U.js} +1 -1
  72. package/dist/{format-unit-display-Byg_gJEi.js → format-unit-display-BXCWhtXb.js} +12 -12
  73. package/dist/{import-export.helper-CmO5mh9c.js → import-export.helper-BgaADwYQ.js} +6 -6
  74. package/dist/{index-B6Y1HGgl.js → index-BS5wlvV_.js} +3 -3
  75. package/dist/{index-B39d3fcS.js → index-BT-a2SOP.js} +1 -1
  76. package/dist/{index-l0UKme3O.js → index-CqgYx0tx.js} +1 -1
  77. package/dist/{inventory-core-dart.default-BgoHhCBy.js → inventory-core-dart.default-DGI40oFz.js} +2928 -6981
  78. package/dist/{lz-string-dF-T74Ve.js → lz-string-CRDgHWib.js} +1 -1
  79. package/dist/{netsuite-vxswdJAv.js → netsuite-CaILEA4R.js} +5 -3
  80. package/dist/{number-B2hvDkgC.js → number-DE6ovaTs.js} +6 -7
  81. package/dist/{predefined-templates-BZeAQ_96.js → predefined-templates-CTLn4dgR.js} +1 -1
  82. package/dist/production-run-prepare-sheet-aQOcxgaC.js +17411 -0
  83. package/dist/{purchase-order-template-D8-2QkSS.js → purchase-order-template-CE4_gQyK.js} +1 -1
  84. package/dist/{recalculationUtils-CtJ3CDdI.js → recalculationUtils-DoBJhZjA.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-CaNiIfda.js → rules-CkaU7yFU.js} +2 -2
  88. package/dist/{stock-BxBkb1H4.js → stock-B3Q9e174.js} +3 -3
  89. package/dist/{stock-7sjLxL9-.js → stock-WxsPiRKa.js} +1 -1
  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-DVDpK8GC.js → supplier-DbdPWPj7.js} +2 -2
  96. package/dist/{surcharge-iyoTwxxJ.js → surcharge-BsvY29nN.js} +1 -1
  97. package/dist/tsconfig.app.tsbuildinfo +1 -1
  98. package/dist/{uom-rules-K8delv4L.js → uom-rules-dxyRNetA.js} +1 -1
  99. package/dist/{use-ingredient-select-dialog-wMb7I-1I.js → use-ingredient-select-dialog-eYM-6q4s.js} +2 -2
  100. package/dist/{use-inventory-binding-dialog-B9zBF8jQ.js → use-inventory-binding-dialog-CCV1iieA.js} +2 -2
  101. package/dist/{use-template-enabled-locations-DAzUQpt2.js → use-template-enabled-locations-C0o5r4_0.js} +2 -2
  102. package/dist/{use-transfer-locations-DlPwFbxy.js → use-transfer-locations-CC35SlyA.js} +2 -2
  103. package/dist/{useHrmPermission-CewYScjQ.js → useHrmPermission-DxzYJX4n.js} +1 -1
  104. package/dist/{useNavigationMenu-CHp8gtOD.js → useNavigationMenu-IKam6CEf.js} +17 -17
  105. package/dist/{useSseClient-BoACuw50.js → useSseClient-ml-_A-4u.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-BYzrWQxg.js → vue-i18n-DYapak10.js} +270 -270
  289. package/dist/{xlsx.util-Fz9b_www.js → xlsx.util-DrElrKDx.js} +2 -2
  290. package/package.json +5 -4
  291. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D-3CL62z.js +0 -130
  292. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CwV6Hlut.js +0 -120
  293. package/dist/ProductionView-CUQW-it2.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
@@ -1,81 +1,81 @@
1
- import { defineComponent as re, mergeModels as H, useModel as me, computed as v, ref as U, watch as Q, onBeforeUnmount as ce, inject as de, resolveComponent as x, createElementBlock as y, openBlock as d, createElementVNode as l, createVNode as g, createCommentVNode as A, withCtx as _, renderSlot as G, withDirectives as pe, normalizeClass as q, toDisplayString as h, vModelText as fe, createBlock as R, Fragment as ve, renderList as be, createSlots as ye, createTextVNode as he } from "vue";
2
- import { l as xe } from "./netsuite-vxswdJAv.js";
3
- import { w as C } from "./app-VWFXZ7dF.js";
4
- import { g as O, c as ge, a as b, t as Me, e as Z, m as _e, b as Fe, u as Ae } from "./number-B2hvDkgC.js";
5
- import { I as B, a as Be } from "./rules-CaNiIfda.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-CaILEA4R.js";
3
+ import { w as D } from "./app-CGcDbrt8.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-DE6ovaTs.js";
5
+ import { I as U, a as Ae } from "./rules-CkaU7yFU.js";
6
6
  import "@feedmepos/ui-library";
7
- import { P as Ie } from "./inventory-core-dart.default-BgoHhCBy.js";
8
- import { u as Pe, a as ke } from "./uom-rules-K8delv4L.js";
9
- function J() {
7
+ import { P as Ue } from "./inventory-core-dart.default-DGI40oFz.js";
8
+ import { u as Be, a as Ie } from "./uom-rules-dxyRNetA.js";
9
+ function Z() {
10
10
  return {
11
- amount: C.reset()
11
+ amount: D.reset()
12
12
  };
13
13
  }
14
- function X() {
14
+ function K() {
15
15
  return function(p) {
16
- return B()(p.amountAsString);
16
+ return U()(p.amountAsString);
17
17
  };
18
18
  }
19
- function nt(r) {
19
+ function tt(r) {
20
20
  return function(t) {
21
- return B()(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
- function ot(r) {
24
+ function nt(r) {
25
25
  return function(t) {
26
- return B()(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
- function K(r, p = !1) {
29
+ function J(r, p = !1) {
30
30
  return function(c) {
31
- const s = X()(c);
31
+ const s = K()(c);
32
32
  if (s != !0)
33
33
  return p ? s : !0;
34
- const I = typeof r == "number" ? r : O(r, c.modelValue.measurement);
35
- return ge(+c.amountAsString).precision > I ? `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: I
37
+ precision: B
38
38
  })}` : !0;
39
39
  };
40
40
  }
41
- function st(r) {
42
- const p = Be(r);
41
+ function ot(r) {
42
+ const p = Ae(r);
43
43
  return function(c) {
44
44
  return p(c.modelValue.amount);
45
45
  };
46
46
  }
47
- function it(r) {
47
+ function st(r) {
48
48
  return function(t) {
49
- if (B()(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 Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { class: "flex-1" }, De = { class: "flex items-center gap-4" }, we = { class: "flex-1 flex gap-4" }, Se = { class: "shrink-0 grow basis-2/5" }, Ne = {
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
- }, Ve = {
61
+ }, Ne = {
62
62
  key: 0,
63
63
  class: "flex"
64
- }, Te = { class: "line-clamp-1 text-ellipsis break-all" }, $e = { class: "flex items-center gap-4" }, Le = { class: "flex items-center" }, qe = { class: "line-clamp-1 text-ellipsis break-all" }, Oe = { class: "max-w-[200px] flex flex-col gap-[1px]" }, je = { class: "flex flex-col" }, ze = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, Ee = {
64
+ }, Ve = { class: "line-clamp-1 text-ellipsis break-all" }, Te = { class: "flex items-center gap-4" }, $e = { class: "flex items-center" }, Le = { class: "line-clamp-1 text-ellipsis break-all" }, qe = { class: "max-w-[200px] flex flex-col gap-[1px]" }, Oe = { class: "flex flex-col" }, je = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, ze = {
65
65
  key: 1,
66
66
  class: "flex flex-col gap-4 pl-8 shrink-0"
67
- }, We = {
67
+ }, Ee = {
68
68
  class: "flex items-center",
69
69
  style: { "pointer-events": "none" }
70
- }, He = {
70
+ }, We = {
71
71
  class: "flex items-center",
72
72
  style: { "pointer-events": "none" }
73
- }, Qe = {
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__ */ re({
76
+ }, it = /* @__PURE__ */ ue({
77
77
  __name: "FmUnitInput",
78
- props: /* @__PURE__ */ H({
78
+ props: /* @__PURE__ */ W({
79
79
  modelValue: {},
80
80
  unit: {},
81
81
  rules: {},
@@ -89,7 +89,7 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
89
89
  disableUnit: { type: Boolean },
90
90
  stepperOnly: { type: Boolean },
91
91
  stepper: {},
92
- showMeasurementConversion: { type: Boolean },
92
+ immediateModelUpdate: { type: Boolean },
93
93
  placeholder: {},
94
94
  minLength: {},
95
95
  maxLength: {},
@@ -123,43 +123,41 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
123
123
  modelValue: {},
124
124
  modelModifiers: {}
125
125
  }),
126
- emits: /* @__PURE__ */ H(["update:amount", "update:measurement"], ["update:modelValue"]),
126
+ emits: /* @__PURE__ */ W(["update:amount", "update:measurement"], ["update:modelValue"]),
127
127
  setup(r, { emit: p }) {
128
- const t = r, c = p, s = me(r, "modelValue"), I = B(), D = v(() => {
128
+ const t = r, c = p, s = re(r, "modelValue"), B = U(), C = v(() => {
129
129
  var n;
130
130
  return O(t.unit, (n = s.value) == null ? void 0 : n.measurement);
131
- }), f = U((() => {
131
+ }), f = k((() => {
132
132
  var i;
133
- const e = ((i = s.value) == null ? void 0 : i.amount) ?? C.reset(), n = Fe(e), a = t.formatMinimumPrecision ?? n.precision, u = Ae(n, a);
134
- return b(u);
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);
134
+ return b(l);
135
135
  })());
136
136
  let F = null;
137
- Q(f, (e) => {
138
- F && clearTimeout(F), F = setTimeout(() => {
137
+ H(f, (e) => {
138
+ const n = () => {
139
139
  var o;
140
- const n = I(e), a = t.precision ?? D.value, i = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > a ? t.formatMinimumPrecision : a;
141
- if (n == !0) {
142
- const M = Me(+e, i);
143
- ((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 = {
144
144
  ...s.value,
145
- amount: M
145
+ amount: g
146
146
  });
147
147
  }
148
- c("update:amount", e);
148
+ };
149
+ t.immediateModelUpdate && n(), F && clearTimeout(F), F = setTimeout(() => {
150
+ t.immediateModelUpdate || n(), c("update:amount", e);
149
151
  }, 500);
150
- }), ce(() => {
152
+ }), me(() => {
151
153
  F && clearTimeout(F);
152
154
  });
153
- const ee = Symbol.for("fm:form-state"), w = de(ee, null), P = v(() => t.disabled ?? (w == null ? void 0 : w.getDisabled()) ?? !1), te = U(), S = U(!1), j = U(!1), ne = v(() => S.value || j.value), oe = Pe();
154
- function z(e) {
155
- return `1 ${e.abbrev} = ${b(e.conversion)} ${t.unit.abbrev}`;
156
- }
157
- const se = v(() => {
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(() => {
158
156
  var i;
159
- const e = oe.value, n = t.unit.measurements.filter((o) => !ke(o, e)).filter((o) => o.abbrev !== t.unit.abbrev || +b(o.conversion) != 1), a = xe.groupBy(
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(
160
158
  n,
161
159
  (o) => `${o.abbrev}${b(o.conversion)}`
162
- ), u = Object.values(a).map((o) => o[0]);
160
+ ), l = Object.values(a).map((o) => o[0]);
163
161
  return [
164
162
  {
165
163
  label: (i = t.unit) == null ? void 0 : i.abbrev,
@@ -167,11 +165,11 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
167
165
  isBaseUnit: !0,
168
166
  conversionLabel: null
169
167
  },
170
- ...u.map((o) => ({
168
+ ...l.map((o) => ({
171
169
  label: o.abbrev,
172
170
  value: o.id,
173
171
  isBaseUnit: !1,
174
- conversionLabel: z(o)
172
+ conversionLabel: `1 ${o.abbrev} = ${b(o.conversion)} ${t.unit.abbrev}`
175
173
  }))
176
174
  ];
177
175
  }), N = v({
@@ -182,24 +180,24 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
182
180
  set(e) {
183
181
  if (e == null)
184
182
  s.value = {
185
- ...s.value ?? J(),
183
+ ...s.value ?? Z(),
186
184
  measurement: null
187
185
  }, c("update:measurement", null);
188
186
  else {
189
187
  const n = t.unit.measurements.find((a) => a.id === e) ?? null;
190
188
  s.value = {
191
- ...s.value ?? J(),
189
+ ...s.value ?? Z(),
192
190
  measurement: n
193
191
  }, c("update:measurement", n);
194
192
  }
195
193
  }
196
194
  });
197
- Q(N, (e, n) => {
195
+ H(N, (e, n) => {
198
196
  var m;
199
197
  if (!t.convertAmountOnChangeUnit)
200
198
  return;
201
- const a = ((m = s.value) == null ? void 0 : m.amount) ?? C.reset(), u = t.unit.measurements.find((k) => k.id === n) ?? null, i = t.unit.measurements.find((k) => k.id === e) ?? null, o = u ? Z(a, u.conversion) : a, M = i ? _e(o, i.conversion) : o, $ = O(t.unit, i), L = C.convertPrecision({
202
- 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,
203
201
  precision: $
204
202
  });
205
203
  f.value = b(L);
@@ -210,101 +208,99 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
210
208
  }), T = v(() => {
211
209
  var e, n;
212
210
  return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.abbrev) ?? t.unit.abbrev;
213
- }), E = v(() => {
214
- var u, i;
211
+ }), z = v(() => {
212
+ var l, i;
215
213
  if (V.value) return null;
216
- const e = (u = s.value) == null ? void 0 : u.measurement;
214
+ const e = (l = s.value) == null ? void 0 : l.measurement;
217
215
  if (!e) return null;
218
- if (t.showMeasurementConversion)
219
- return z(e);
220
216
  const n = (i = s.value) == null ? void 0 : i.amount;
221
217
  if (!n) return null;
222
- const a = Z(n, e.conversion);
218
+ const a = G(n, e.conversion);
223
219
  return `= ${b(a)} ${t.unit.abbrev}`;
224
- }), ie = v(
220
+ }), se = v(
225
221
  () => {
226
222
  var e;
227
223
  return ((e = t.rules) == null ? void 0 : e.map(
228
224
  (n) => (a) => typeof n == "function" ? n(a) : n
229
225
  )) ?? [];
230
226
  }
231
- ), ae = v(() => [...t.applyDefaultRules ? [
232
- X(),
233
- typeof t.precision == "number" ? K(t.precision) : K(t.unit)
234
- ] : [], ...ie.value]);
235
- function W(e) {
236
- const n = t.precision ?? D.value, u = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > n ? t.formatMinimumPrecision : n, i = e.toFixed(u), o = i.includes(".") ? i.replace(/0+$/, "") : i;
227
+ ), ie = v(() => [...t.applyDefaultRules ? [
228
+ K(),
229
+ typeof t.precision == "number" ? J(t.precision) : J(t.unit)
230
+ ] : [], ...se.value]);
231
+ function E(e) {
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;
237
233
  return o.endsWith(".") ? o.slice(0, o.length - 1) : o;
238
234
  }
239
- function ue() {
235
+ function ae() {
240
236
  if (!t.stepper)
241
237
  return;
242
238
  const e = +f.value + +b(t.stepper);
243
- f.value = W(e);
239
+ f.value = E(e);
244
240
  }
245
241
  function le() {
246
242
  if (!t.stepper)
247
243
  return;
248
244
  const e = +f.value - +b(t.stepper);
249
- f.value = W(e);
245
+ f.value = E(e);
250
246
  }
251
247
  return (e, n) => {
252
- const a = x("FmLabel"), u = x("FmIcon"), i = x("FmMenuItem"), o = x("FmMenu"), M = x("FmTooltip"), $ = x("FmField"), L = x("FmFormGroup");
253
- return d(), y("div", Ue, [
254
- l("div", Re, [
255
- l("div", Ce, [
256
- g(a, {
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, [
251
+ u("div", Re, [
252
+ M(a, {
257
253
  label: e.label,
258
254
  disabled: e.disabled,
259
255
  required: e.labelMark === "required",
260
256
  optional: e.labelMark === "optional"
261
257
  }, null, 8, ["label", "disabled", "required", "optional"])
262
258
  ]),
263
- g($, { focused: ne.value }, {
259
+ M($, { focused: te.value }, {
264
260
  default: _(() => [
265
- l("div", De, [
266
- G(e.$slots, "prepend"),
267
- l("div", we, [
268
- l("div", Se, [
261
+ u("div", De, [
262
+ Q(e.$slots, "prepend"),
263
+ u("div", Ce, [
264
+ u("div", Se, [
269
265
  e.stepperOnly ? (d(), y("span", {
270
266
  key: 0,
271
267
  class: q({
272
268
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
273
- "text-fm-color-typo-primary": !P.value,
274
- "text-fm-color-typo-disabled": P.value
269
+ "text-fm-color-typo-primary": !I.value,
270
+ "text-fm-color-typo-disabled": I.value
275
271
  })
276
- }, h(f.value), 3)) : pe((d(), y("input", {
272
+ }, h(f.value), 3)) : de((d(), y("input", {
277
273
  key: 1,
278
274
  type: "text",
279
275
  ref_key: "inputRef",
280
- ref: te,
281
- onFocus: n[0] || (n[0] = () => S.value = !0),
282
- onBlur: n[1] || (n[1] = () => S.value = !1),
276
+ ref: ee,
277
+ onFocus: n[0] || (n[0] = () => w.value = !0),
278
+ onBlur: n[1] || (n[1] = () => w.value = !1),
283
279
  "onUpdate:modelValue": n[2] || (n[2] = (m) => f.value = m),
284
280
  class: q({
285
281
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
286
- "text-fm-color-typo-primary": !P.value,
287
- "text-fm-color-typo-disabled": P.value
282
+ "text-fm-color-typo-primary": !I.value,
283
+ "text-fm-color-typo-disabled": I.value
288
284
  })
289
285
  }, null, 34)), [
290
- [fe, f.value]
286
+ [pe, f.value]
291
287
  ])
292
288
  ]),
293
- e.separator ? (d(), y("div", Ne, h(e.separator), 1)) : A("", !0),
294
- l("div", {
289
+ e.separator ? (d(), y("div", we, h(e.separator), 1)) : A("", !0),
290
+ u("div", {
295
291
  class: q([e.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"])
296
292
  }, [
297
- g(M, { "z-index": 51 }, {
293
+ M(g, { "z-index": 51 }, {
298
294
  content: _(() => [
299
- he(h(T.value), 1)
295
+ ye(h(T.value), 1)
300
296
  ]),
301
297
  default: _(() => [
302
- e.disableUnit ? (d(), y("div", Ve, [
303
- V.value ? A("", !0) : (d(), R(u, {
298
+ e.disableUnit ? (d(), y("div", Ne, [
299
+ V.value ? A("", !0) : (d(), R(l, {
304
300
  key: 0,
305
301
  name: "square_foot"
306
302
  })),
307
- l("div", Te, h(T.value), 1)
303
+ u("div", Ve, h(T.value), 1)
308
304
  ])) : (d(), R(o, {
309
305
  key: 1,
310
306
  onMenuChanged: n[3] || (n[3] = (m) => j.value = m),
@@ -313,32 +309,32 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
313
309
  disabled: e.disabled
314
310
  }, {
315
311
  "menu-button": _(() => [
316
- l("div", $e, [
317
- l("div", Le, [
318
- V.value ? A("", !0) : (d(), R(u, {
312
+ u("div", Te, [
313
+ u("div", $e, [
314
+ V.value ? A("", !0) : (d(), R(l, {
319
315
  key: 0,
320
316
  name: "square_foot"
321
317
  })),
322
- l("div", qe, h(T.value), 1)
318
+ u("div", Le, h(T.value), 1)
323
319
  ]),
324
- g(u, { name: "keyboard_arrow_down" })
320
+ M(l, { name: "keyboard_arrow_down" })
325
321
  ])
326
322
  ]),
327
323
  default: _(() => [
328
- l("div", Oe, [
329
- (d(!0), y(ve, null, be(se.value, (m) => (d(), R(i, {
324
+ u("div", qe, [
325
+ (d(!0), y(fe, null, ve(oe.value, (m) => (d(), R(i, {
330
326
  key: m.value ?? void 0,
331
327
  label: m.label,
332
328
  icon: m.isBaseUnit ? void 0 : "square_foot",
333
329
  "model-value": m.value == N.value,
334
- onClick: (k) => N.value = m.value
335
- }, ye({ _: 2 }, [
330
+ onClick: (P) => N.value = m.value
331
+ }, be({ _: 2 }, [
336
332
  m.conversionLabel ? {
337
333
  name: "label",
338
334
  fn: _(() => [
339
- l("div", je, [
340
- l("span", null, h(m.label), 1),
341
- l("span", ze, h(m.conversionLabel), 1)
335
+ u("div", Oe, [
336
+ u("span", null, h(m.label), 1),
337
+ u("span", je, h(m.conversionLabel), 1)
342
338
  ])
343
339
  ]),
344
340
  key: "0"
@@ -352,24 +348,24 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
352
348
  _: 1
353
349
  })
354
350
  ], 2),
355
- e.stepper ? (d(), y("div", Ee, [
356
- l("div", {
351
+ e.stepper ? (d(), y("div", ze, [
352
+ u("div", {
357
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",
358
- onClick: ue
354
+ onClick: ae
359
355
  }, [
360
- l("div", We, [
361
- g(u, {
356
+ u("div", Ee, [
357
+ M(l, {
362
358
  name: "expand_less",
363
359
  size: "md"
364
360
  })
365
361
  ])
366
362
  ]),
367
- l("div", {
363
+ u("div", {
368
364
  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",
369
365
  onClick: le
370
366
  }, [
371
- l("div", He, [
372
- g(u, {
367
+ u("div", We, [
368
+ M(l, {
373
369
  name: "expand_more",
374
370
  size: "md"
375
371
  })
@@ -377,32 +373,32 @@ const Ue = { class: "flex flex-col" }, Re = { class: "flex flex-col" }, Ce = { c
377
373
  ])
378
374
  ])) : A("", !0)
379
375
  ]),
380
- G(e.$slots, "append")
376
+ Q(e.$slots, "append")
381
377
  ])
382
378
  ]),
383
379
  _: 3
384
380
  }, 8, ["focused"])
385
381
  ]),
386
- g(L, {
382
+ M(L, {
387
383
  class: "flex-1",
388
384
  "model-value": { modelValue: s.value, amountAsString: String(f.value) },
389
385
  info: e.labelInfo,
390
- rules: ae.value,
386
+ rules: ie.value,
391
387
  "helper-text": e.helperText,
392
388
  "helper-state": e.helperState
393
389
  }, null, 8, ["model-value", "info", "rules", "helper-text", "helper-state"]),
394
- E.value ? (d(), y("div", Qe, h(E.value), 1)) : A("", !0)
390
+ z.value ? (d(), y("div", He, h(z.value), 1)) : A("", !0)
395
391
  ]);
396
392
  };
397
393
  }
398
394
  });
399
395
  export {
400
- st as F,
401
- at as _,
402
- nt as a,
403
- ot as b,
404
- X as c,
405
- K as d,
406
- J as e,
407
- it as f
396
+ ot as F,
397
+ it as _,
398
+ tt as a,
399
+ nt as b,
400
+ K as c,
401
+ J as d,
402
+ Z as e,
403
+ st as f
408
404
  };
@@ -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-Bj408URk.js";
6
- import { a as ie } from "./app-VWFXZ7dF.js";
7
- import "./dayjs.min-BIGL1WMx.js";
5
+ import { u as Ke } from "./feature-DtpSrELx.js";
6
+ import { a as ie } from "./app-CGcDbrt8.js";
7
+ import "./dayjs.min-DrqpmBJQ.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-Fz9b_www.js";
11
- import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-CmO5mh9c.js";
10
+ import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-DrElrKDx.js";
11
+ import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-BgaADwYQ.js";
12
12
  import { r as Qe } from "./random-CSbEbElR.js";
13
- import { c as Ne, a as pe } from "./number-B2hvDkgC.js";
13
+ import { c as Ne, a as pe } from "./number-DE6ovaTs.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-B2hvDkgC.js";
2
+ import { a, e as y } from "./number-DE6ovaTs.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-VWFXZ7dF.js";
2
+ import { a as L, c as P, j as oe, u as Re } from "./app-CGcDbrt8.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-CwV6Hlut.js";
12
- import { d as de } from "./defineDeepModel-B-N4q6D_.js";
13
- import { I as Te, A as Ee, U as Me, R as ce } from "./rules-CaNiIfda.js";
11
+ import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js";
12
+ import { d as de } from "./defineDeepModel-DLlTW3xL.js";
13
+ import { I as Te, A as Ee, U as Me, R as ce } from "./rules-CkaU7yFU.js";
14
14
  import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
15
- import { u as Le } from "./FmMultiselectDialog-BDdObapU.js";
15
+ import { u as Le } from "./FmMultiselectDialog-7xh6h5AX.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(
@@ -1,5 +1,5 @@
1
1
  import { ref as P, defineComponent as ke, computed as g, resolveComponent as S, createElementBlock as V, openBlock as c, Fragment as ee, createCommentVNode as N, createVNode as s, unref as o, withModifiers as Rt, withCtx as b, createElementVNode as n, renderList as de, createBlock as j, toDisplayString as $, normalizeClass as ie, h as Z, mergeModels as st, onMounted as Ot, watch as _t, useModel as Bt, createTextVNode as xt, isRef as rt, createSlots as kt, normalizeStyle as Dt, Teleport as it, normalizeProps as Nt, guardReactiveProps as zt } from "vue";
2
- import { a as Fe, c as wt, S as Lt, g as dt, e as ut, f as jt, h as mt, i as ct, j as pt, k as vt, u as Wt, l as qt } from "./app-VWFXZ7dF.js";
2
+ import { a as Fe, c as wt, S as Lt, g as dt, e as ut, f as jt, h as mt, i as ct, j as pt, k as vt, u as Wt, l as qt } from "./app-CGcDbrt8.js";
3
3
  import { useDialog as Ke, useSnackbar as Ae, components as ze, useProxiedModel as ft, useDialogChild as Ht, useBreakpoints as Yt } from "@feedmepos/ui-library";
4
4
  import { i as Kt, _ as Gt, m as Jt } from "./menu-usage-module-BdjYEk3s.js";
5
5
  import { F as W } from "./form-mode.enum-BKiNVH6A.js";
@@ -7,27 +7,27 @@ import { useI18n as pe, useCoreStore as Ge } from "@feedmepos/mf-common";
7
7
  import { defineStore as Qt, storeToRefs as Xt } from "pinia";
8
8
  import { D as yt, R as Pe } from "./row-action.enum-ncgDYAjP.js";
9
9
  import { c as Zt } from "./component-BmLAdDiY.js";
10
- import { u as Ee, _ as en } from "./netsuite-vxswdJAv.js";
10
+ import { u as Ee, _ as en } from "./netsuite-CaILEA4R.js";
11
11
  import { F as Be } from "./FmAdminBadge-DlplQOHb.js";
12
12
  import { u as tn, _ as nn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
13
- import { A as Oe, R as Le, U as on, M as ln } from "./rules-CaNiIfda.js";
14
- import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CppXhk4E.js";
15
- import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-3OCFpD4a.js";
16
- import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-DP4dVR4F.js";
17
- import { u as Tt } from "./feature-Bj408URk.js";
18
- import { t as dn, a as un, g as mn } from "./number-B2hvDkgC.js";
13
+ import { A as Oe, R as Le, U as on, M as ln } from "./rules-CkaU7yFU.js";
14
+ import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BTh5E4Tt.js";
15
+ import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-tEKGPtHZ.js";
16
+ import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-6naVJEke.js";
17
+ import { u as Tt } from "./feature-DtpSrELx.js";
18
+ import { t as dn, a as un, g as mn } from "./number-DE6ovaTs.js";
19
19
  import { _ as xe } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
20
- import { d as Re, g as cn, e as pn, a as vn } from "./import-export.helper-CmO5mh9c.js";
20
+ import { d as Re, g as cn, e as pn, a as vn } from "./import-export.helper-BgaADwYQ.js";
21
21
  import { _ as fn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
22
22
  import { _ as Ce } from "./FmLockableField.vue_vue_type_script_setup_true_lang-FCg4K7y8.js";
23
- import { F as yn, a as He } from "./FmMultiselectDialog-H1tFhTfx.js";
24
- import { u as Vt } from "./purchase-order-template-D8-2QkSS.js";
25
- import { u as It, a as St } from "./closing-template-Dxu8tjVE.js";
23
+ import { F as yn, a as He } from "./FmMultiselectDialog-eH3nO3P3.js";
24
+ import { u as Vt } from "./purchase-order-template-CE4_gQyK.js";
25
+ import { u as It, a as St } from "./closing-template-B4lQetjU.js";
26
26
  import { _ as gn, F as gt } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
27
- import { r as bn } from "./xlsx.util-Fz9b_www.js";
27
+ import { r as bn } from "./xlsx.util-DrElrKDx.js";
28
28
  import { F as hn } from "./FmDroppableField-J0tG_U3w.js";
29
- import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CwV6Hlut.js";
30
- import { u as xn } from "./FmMultiselectDialog-BDdObapU.js";
29
+ import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js";
30
+ import { u as xn } from "./FmMultiselectDialog-7xh6h5AX.js";
31
31
  import { P as kn, J as wn } from "./app-C39bYJmq.js";
32
32
  const Ye = Qt("ingredientForm", function() {
33
33
  const _ = Ke(), k = Ae(), u = Fe(), x = P(!1), { t: C } = pe(), A = P();
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as ne, ref as f, computed as B, watch as Oe, onMounted as _e, resolveComponent as se, createElementBlock as a, openBlock as t, createElementVNode as e, createBlock as H, createCommentVNode as r, normalizeClass as j, createTextVNode as re, toDisplayString as o, createVNode as T, Fragment as M, renderList as X, unref as g, withCtx as te, withModifiers as de, withDirectives as Ve, withKeys as we, vModelText as Ue, h as q, watchEffect as Be } from "vue";
2
- import { d as Se, N as be, C as xe, u as Ce } from "./app-VWFXZ7dF.js";
2
+ import { d as Se, N as be, C as xe, u as Ce } from "./app-CGcDbrt8.js";
3
3
  import { components as oe, useBreakpoints as Pe } from "@feedmepos/ui-library";
4
4
  import { _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
5
- import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CwV6Hlut.js";
6
- import { u as Ie, a as Te, S as ge } from "./netsuite-vxswdJAv.js";
5
+ import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CB50Gqot.js";
6
+ import { u as Ie, a as Te, S as ge } from "./netsuite-CaILEA4R.js";
7
7
  import { P as he, J as ke, D as De } from "./app-C39bYJmq.js";
8
8
  import { useCoreStore as Le } from "@feedmepos/mf-common";
9
9
  import { _ as ye } from "./JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js";
10
- import { c as ue } from "./date2-B7qVMfEK.js";
10
+ import { c as ue } from "./date2-CHOcS7LX.js";
11
11
  const ce = Se((W, P) => {
12
12
  const n = Le();
13
13
  function N() {