@feedmepos/mf-inventory-portal 1.7.16-dev.0 → 1.7.17

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-DFSszWS2.js → App-CDMo2ZuC.js} +7 -7
  2. package/dist/{ApprovalView-sHjUr1tA.js → ApprovalView-CksFPjMG.js} +9 -9
  3. package/dist/{BindingsDialog-B-64TNTI.js → BindingsDialog-DAawZX4x.js} +2 -2
  4. package/dist/{BindingsPicker-Czn-jEHe.js → BindingsPicker-CtXkaJPJ.js} +2 -2
  5. package/dist/{BindingsTable-CmB0b3ov.js → BindingsTable-C6IoZUm-.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-BjGCwQiH.js → BulkReceiveRequestView-bnRPk255.js} +19 -19
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C9UPQ0zS.js +130 -0
  8. package/dist/{ClosingDraftView-DJLqwVmZ.js → ClosingDraftView-CENxwBWR.js} +19 -19
  9. package/dist/{ClosingHistoryView-Dj170bDN.js → ClosingHistoryView-DbKXEHeX.js} +5 -5
  10. package/dist/{ClosingTemplateView-DsfJz31T.js → ClosingTemplateView-Cvbt6fzS.js} +16 -16
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-g6XVWALK.js} +1 -1
  12. package/dist/{DefaultView-CsI2C4Hr.js → DefaultView-BXc9kZ4T.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-8EupGZmv.js → DeliveryOrderPrintPreview-CnvpF0E0.js} +12 -12
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js → EmailDialog.vue_vue_type_script_setup_true_lang-DkhawQNe.js} +7093 -6988
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B2zi921K.js} +1 -1
  16. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C2XGgyo2.js} +2 -2
  17. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js +120 -0
  18. package/dist/{FmMultiselectDialog-CZr-dX4K.js → FmMultiselectDialog-Cq_sKKG7.js} +2 -2
  19. package/dist/{FmMultiselectDialog-B5gQRKE6.js → FmMultiselectDialog-DehATOte.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DlucWzNP.js} +136 -132
  21. package/dist/{ImportView-Htolj46U.js → ImportView-C5xg4oy1.js} +6 -6
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-vGJpOsZy.js} +1 -1
  23. package/dist/{IngredientGroupView-zZgJ3F9O.js → IngredientGroupView-pmtSRhNV.js} +5 -5
  24. package/dist/{IngredientsView-BhIIUpq5.js → IngredientsView-C8c-KOaH.js} +15 -15
  25. package/dist/{IntegrationExplorerView-a7EEa4a4.js → IntegrationExplorerView-2kY3NYRv.js} +4 -4
  26. package/dist/{IntegrationView-Dbr7gTAK.js → IntegrationView-DjPn5KTT.js} +14 -14
  27. package/dist/{InventoryBindingForm-DSAHtnBI.js → InventoryBindingForm-B1NfqzF2.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jMOg3yzw.js} +5 -5
  29. package/dist/{InventoryBindingSummary-D_jEP9vJ.js → InventoryBindingSummary-CWcvhTqq.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Da8hIOqJ.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CgbV085U.js} +1 -1
  32. package/dist/ProductionView-CYW5SlqH.js +1441 -0
  33. package/dist/{PublishView-tOyFyzkR.js → PublishView-BIKhFG_F.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-CKyZ5jco.js → PurchaseOrderPrintPreview-CdcTwvAv.js} +7 -7
  35. package/dist/{ReceiveRequestView-Brjz7YtB.js → ReceiveRequestView-DGP1-LKO.js} +14 -14
  36. package/dist/{RecipeView-DntISZwO.js → RecipeView-DgoAEpLx.js} +17 -17
  37. package/dist/{SettingsView-_uzG3DYW.js → SettingsView--yhMacS4.js} +4 -4
  38. package/dist/{StockView-D0ns42PP.js → StockView-BJOe3lp_.js} +363 -363
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DtFVQGcw.js} +1 -1
  40. package/dist/{SupplierView-Cg0BEv_J.js → SupplierView-4X4XeHpl.js} +14 -13
  41. package/dist/{SurchargeView-CtNt10E_.js → SurchargeView-BFEZSmPr.js} +6 -6
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DJsJDk7-.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BJhSMbM4.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js → TransferDetails.vue_vue_type_script_setup_true_lang-DxoWXbAk.js} +120 -120
  45. package/dist/{TransferTemplateView-DA-0VP3h.js → TransferTemplateView-B8cYDi8n.js} +919 -915
  46. package/dist/{UnitCostHistoryView-BIcZSZeY.js → UnitCostHistoryView--7qgXaB7.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B1bASkIu.js} +4 -4
  48. package/dist/{UnitView-B7hMqpmo.js → UnitView-V6NYGeBR.js} +7 -7
  49. package/dist/{WarehouseView-DQZhCobt.js → WarehouseView-CqFHm5Gj.js} +6 -6
  50. package/dist/{WastageTemplateView-Bg4oY2Vw.js → WastageTemplateView-IM1uapEf.js} +14 -14
  51. package/dist/api/netsuite.d.ts +8 -14
  52. package/dist/api/production.d.ts +30 -0
  53. package/dist/{app-CNKD3vjZ.js → app-BYXLBTAp.js} +30633 -33788
  54. package/dist/app.d.ts +54 -3002
  55. package/dist/app.js +1 -1
  56. package/dist/{closing-template-BeegNS6p.js → closing-template-CESaKvtR.js} +1 -1
  57. package/dist/components/FmUnitInputProps.d.ts +1 -2
  58. package/dist/{date2-B00CYgio.js → date2-Bakt163M.js} +1 -1
  59. package/dist/{dayjs.min-DPQzGVmJ.js → dayjs.min-Ds-7QYZn.js} +1 -1
  60. package/dist/{decimal-mk8IRyTq.js → decimal-CqUQox7v.js} +2 -2
  61. package/dist/{defineDeepModel-DPmaWR48.js → defineDeepModel-DH6TPPcs.js} +5 -5
  62. package/dist/{duplicate-template-CMddJ7le.js → duplicate-template-DKwa3kcE.js} +1 -1
  63. package/dist/{feature-fzePklTK.js → feature-DDZ2q9CF.js} +28 -28
  64. package/dist/{format-time-from-id-CX7mBtQD.js → format-time-from-id-R9Chodov.js} +1 -1
  65. package/dist/{format-unit-display-C-WI6eC7.js → format-unit-display-FBOASGnz.js} +115 -113
  66. package/dist/{import-export.helper-BXXH9AYn.js → import-export.helper-Fu7QFnJS.js} +6 -6
  67. package/dist/{index-D1nPGK7U.js → index-CSOG5osB.js} +3 -3
  68. package/dist/{index-BGVJky7a.js → index-CsU1IUWH.js} +1768 -1741
  69. package/dist/{index-DJQBhZfo.js → index-DHlZPhuP.js} +1 -1
  70. package/dist/{inventory-core-dart.default-CSFkzl91.js → inventory-core-dart.default-BOIZGOJM.js} +6946 -2893
  71. package/dist/{lz-string-CzFlgjO3.js → lz-string-DTZn_aem.js} +1 -1
  72. package/dist/{netsuite-yzjEuV4c.js → netsuite-Dfo9PwZB.js} +3 -5
  73. package/dist/{number-LQ8tdP_1.js → number-3lF6zpQn.js} +7 -6
  74. package/dist/{predefined-templates-Db7qjPHc.js → predefined-templates-KXopFzgA.js} +1 -1
  75. package/dist/{purchase-order-template-bBTN12Ij.js → purchase-order-template-c0YljACm.js} +1 -1
  76. package/dist/{recalculationUtils-DN6oOoMX.js → recalculationUtils-6mITlu-c.js} +1 -1
  77. package/dist/router/name.d.ts +1 -3
  78. package/dist/{rules-BdR1TB3v.js → rules-Bd7-xhpl.js} +2 -2
  79. package/dist/{stock-AwNCy6xY.js → stock-CDb2pTqg.js} +1 -1
  80. package/dist/{stock-BgGttjDF.js → stock-CLjOWX57.js} +3 -3
  81. package/dist/stores/feature.d.ts +1 -1
  82. package/dist/stores/integration/codemax.d.ts +1 -1
  83. package/dist/stores/inventory.d.ts +8 -10
  84. package/dist/stores/stock.d.ts +8 -10
  85. package/dist/style.css +1 -1
  86. package/dist/{supplier-BNoSljLB.js → supplier-CV24jgpS.js} +2 -2
  87. package/dist/{surcharge-pUc66ZZJ.js → surcharge-CSltyzb4.js} +1 -1
  88. package/dist/tsconfig.app.tsbuildinfo +1 -1
  89. package/dist/{uom-rules-BP8Vk8Rl.js → uom-rules-Rl-tWEBP.js} +1 -1
  90. package/dist/{use-ingredient-select-dialog-DTOzSrjt.js → use-ingredient-select-dialog-PUDgBtcH.js} +2 -2
  91. package/dist/{use-inventory-binding-dialog-lHpBzqDy.js → use-inventory-binding-dialog-on6MYG8g.js} +2 -2
  92. package/dist/{use-template-enabled-locations-DmCbj6aZ.js → use-template-enabled-locations-DHDOLlvG.js} +2 -2
  93. package/dist/{use-transfer-locations-BeARyv2s.js → use-transfer-locations-DCdCbsj0.js} +2 -2
  94. package/dist/{useHrmPermission-DScCpS0P.js → useHrmPermission-CkPzKYHS.js} +1 -1
  95. package/dist/{useNavigationMenu-B5pf21hS.js → useNavigationMenu-Ccl7e4Qo.js} +17 -17
  96. package/dist/{useSseClient-BPR5sQ_S.js → useSseClient-Dwtiag10.js} +1 -1
  97. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +16 -20
  98. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +32 -40
  99. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +16 -20
  100. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +48 -60
  101. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +8 -10
  102. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  103. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  104. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  105. package/dist/views/{production-run/features/detail/ProductionRunResultTable.vue.d.ts → production/ProductionBindingsCell.vue.d.ts} +14 -10
  106. package/dist/views/{production-run/features/list/ProductionRunActionMenuItem.vue.d.ts → production/ProductionCompletionDialog.vue.d.ts} +21 -8
  107. package/dist/views/production/ProductionDetailSheet.vue.d.ts +42 -0
  108. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +282 -0
  109. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +282 -0
  110. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  111. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  112. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +8 -12
  113. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +0 -2
  114. package/dist/{vue-i18n-DLJI5tIS.js → vue-i18n-BUqwBCDs.js} +270 -270
  115. package/dist/{xlsx.util-CZOxuAL-.js → xlsx.util-B4YBSPGX.js} +2 -2
  116. package/package.json +6 -7
  117. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +0 -243
  118. package/dist/ProductionRunDetailView-DnIVaUbO.js +0 -2284
  119. package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +0 -34
  120. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +0 -7543
  121. package/dist/ProductionRunView-9tC9ljDT.js +0 -911
  122. package/dist/api/production-run-error.d.ts +0 -36
  123. package/dist/api/production-run.d.ts +0 -80
  124. package/dist/components/FmUnitInput.spec.d.ts +0 -1
  125. package/dist/composable/useNavigationMenu.production.spec.d.ts +0 -1
  126. package/dist/production-run-prepare-sheet-BVAUvVqt.js +0 -17411
  127. package/dist/router/shared.production.spec.d.ts +0 -1
  128. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +0 -1
  129. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +0 -15
  130. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +0 -1
  131. package/dist/views/production-run/ProductionRunView.spec.d.ts +0 -1
  132. package/dist/views/production-run/ProductionRunView.vue.d.ts +0 -2
  133. package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +0 -1
  134. package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +0 -15
  135. package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +0 -1
  136. package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +0 -67
  137. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +0 -1
  138. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +0 -52
  139. package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +0 -1
  140. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +0 -80
  141. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +0 -1
  142. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +0 -1066
  143. package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +0 -1
  144. package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +0 -1
  145. package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +0 -47
  146. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +0 -1
  147. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +0 -15
  148. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +0 -2098
  149. package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +0 -1
  150. package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +0 -1
  151. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +0 -1020
  152. package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +0 -9
  153. package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +0 -1
  154. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +0 -1020
  155. package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +0 -9
  156. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +0 -1
  157. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +0 -3573
  158. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +0 -1
  159. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +0 -1026
  160. package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +0 -56
  161. package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +0 -1
  162. package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +0 -1
  163. package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +0 -20
  164. package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +0 -1
  165. package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +0 -40
  166. package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +0 -1
  167. package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +0 -43
  168. package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +0 -1
  169. package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +0 -25
  170. package/dist/views/production-run/features/list/use-production-run-table.d.ts +0 -18
  171. package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +0 -1
  172. package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +0 -1
  173. package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +0 -70
  174. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +0 -1
  175. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +0 -33
  176. package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +0 -1
  177. package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +0 -26
  178. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +0 -1
  179. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +0 -43
  180. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +0 -1
  181. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +0 -31
  182. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +0 -1
  183. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +0 -23
  184. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +0 -1
  185. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +0 -33
  186. package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +0 -1
  187. package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +0 -20
  188. package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +0 -28
  189. package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +0 -245
  190. package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +0 -1
  191. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +0 -1
  192. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +0 -25
  193. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +0 -1
  194. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +0 -21
  195. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +0 -1
  196. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +0 -61
  197. package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +0 -1
  198. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +0 -1022
  199. package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +0 -25
  200. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +0 -1
  201. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +0 -65
  202. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +0 -1
  203. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +0 -15
  204. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +0 -1
  205. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +0 -30
  206. package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +0 -1
  207. package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +0 -67
  208. package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +0 -1
  209. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +0 -85
  210. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +0 -1
  211. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +0 -78
  212. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +0 -49
  213. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +0 -1
  214. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +0 -1525
  215. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +0 -1
  216. package/dist/views/production-run/features/planning/use-production-run-form.d.ts +0 -275
  217. package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +0 -1
  218. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +0 -1
  219. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +0 -32
  220. package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +0 -1
  221. package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +0 -18
  222. package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +0 -29
  223. package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +0 -1
  224. package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +0 -26
  225. package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +0 -16
  226. package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +0 -1
  227. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -18
  228. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -6
  229. package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +0 -1
  230. package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +0 -31
  231. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +0 -57
  232. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +0 -1
  233. package/dist/views/production-run/shared/model/production-run-display.d.ts +0 -187
  234. package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +0 -1
  235. package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +0 -22
  236. package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -46
  237. package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +0 -1
  238. package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +0 -20
  239. package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +0 -22
  240. package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +0 -1
  241. package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +0 -39
  242. package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +0 -39
  243. package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +0 -1
  244. package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +0 -658
  245. package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +0 -1
  246. package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +0 -39
  247. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +0 -1
  248. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +0 -25
  249. package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +0 -51
  250. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +0 -1
  251. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +0 -23
  252. package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +0 -25
  253. package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +0 -2
  254. package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +0 -1
  255. package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +0 -24
  256. package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +0 -15
  257. package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +0 -33
  258. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +0 -1
  259. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +0 -67
  260. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +0 -1
  261. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +0 -70
  262. package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +0 -1
  263. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +0 -71
  264. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +0 -1
  265. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +0 -15
  266. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +0 -1
  267. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +0 -46
  268. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +0 -1
  269. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +0 -31
  270. package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +0 -31
  271. package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +0 -1
  272. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +0 -1
  273. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +0 -37
  274. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +0 -1
  275. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +0 -77
  276. package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +0 -52
  277. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +0 -1
  278. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +0 -21
  279. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +0 -1
  280. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +0 -23
  281. package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +0 -1
  282. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +0 -62
  283. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +0 -1
  284. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +0 -34
  285. package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +0 -11
  286. package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +0 -15
  287. package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +0 -1
  288. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +0 -17
  289. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +0 -1
  290. package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +0 -9
  291. package/dist/views/production-run/test-support/production-run.fixture.d.ts +0 -88
  292. package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +0 -1
  293. package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +0 -1
  294. package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +0 -1
  295. package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +0 -1
  296. /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → production/ProductionView.vue.d.ts} +0 -0
  297. /package/dist/{api/production-run-error.spec.d.ts → views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts} +0 -0
  298. /package/dist/{api/production-run.spec.d.ts → views/transfer-template/helpers/template-item.error.helper.spec.d.ts} +0 -0
@@ -1,81 +1,81 @@
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";
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-Dfo9PwZB.js";
3
+ import { w as C } from "./app-BYXLBTAp.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-3lF6zpQn.js";
5
+ import { I as B, a as Be } from "./rules-Bd7-xhpl.js";
6
6
  import "@feedmepos/ui-library";
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
- function Z() {
7
+ import { P as Ie } from "./inventory-core-dart.default-BOIZGOJM.js";
8
+ import { u as Pe, a as ke } from "./uom-rules-Rl-tWEBP.js";
9
+ function J() {
10
10
  return {
11
- amount: D.reset()
11
+ amount: C.reset()
12
12
  };
13
13
  }
14
- function K() {
14
+ function X() {
15
15
  return function(p) {
16
- return U()(p.amountAsString);
16
+ return B()(p.amountAsString);
17
17
  };
18
18
  }
19
- function tt(r) {
19
+ function nt(r) {
20
20
  return function(t) {
21
- return U()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
21
+ return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString < r ? `Must be at least ${r}` : !0;
22
22
  };
23
23
  }
24
- function nt(r) {
24
+ function ot(r) {
25
25
  return function(t) {
26
- return U()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
26
+ return B()(t.amountAsString) !== !0 ? !0 : +t.amountAsString > r ? `Must be at most ${r}` : !0;
27
27
  };
28
28
  }
29
- function J(r, p = !1) {
29
+ function K(r, p = !1) {
30
30
  return function(c) {
31
- const s = K()(c);
31
+ const s = X()(c);
32
32
  if (s != !0)
33
33
  return p ? s : !0;
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({
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({
36
36
  amount: 1,
37
- precision: B
37
+ precision: I
38
38
  })}` : !0;
39
39
  };
40
40
  }
41
- function ot(r) {
42
- const p = Ae(r);
41
+ function st(r) {
42
+ const p = Be(r);
43
43
  return function(c) {
44
44
  return p(c.modelValue.amount);
45
45
  };
46
46
  }
47
- function st(r) {
47
+ function it(r) {
48
48
  return function(t) {
49
- if (U()(t.amountAsString) !== !0)
49
+ if (B()(t.amountAsString) !== !0)
50
50
  return !0;
51
- const s = Ue.validateQuantityAgainstTemplateItem({
51
+ const s = Ie.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 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 = {
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 = {
59
59
  key: 0,
60
60
  class: "text-fm-color-typo-secondary"
61
- }, Ne = {
61
+ }, Ve = {
62
62
  key: 0,
63
63
  class: "flex"
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 = {
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 = {
65
65
  key: 1,
66
66
  class: "flex flex-col gap-4 pl-8 shrink-0"
67
- }, Ee = {
68
- class: "flex items-center",
69
- style: { "pointer-events": "none" }
70
67
  }, We = {
71
68
  class: "flex items-center",
72
69
  style: { "pointer-events": "none" }
73
70
  }, He = {
71
+ class: "flex items-center",
72
+ style: { "pointer-events": "none" }
73
+ }, Qe = {
74
74
  key: 0,
75
75
  class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary mt-1"
76
- }, it = /* @__PURE__ */ ue({
76
+ }, at = /* @__PURE__ */ re({
77
77
  __name: "FmUnitInput",
78
- props: /* @__PURE__ */ W({
78
+ props: /* @__PURE__ */ H({
79
79
  modelValue: {},
80
80
  unit: {},
81
81
  rules: {},
@@ -89,7 +89,7 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
89
89
  disableUnit: { type: Boolean },
90
90
  stepperOnly: { type: Boolean },
91
91
  stepper: {},
92
- immediateModelUpdate: { type: Boolean },
92
+ showMeasurementConversion: { type: Boolean },
93
93
  placeholder: {},
94
94
  minLength: {},
95
95
  maxLength: {},
@@ -123,41 +123,43 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
123
123
  modelValue: {},
124
124
  modelModifiers: {}
125
125
  }),
126
- emits: /* @__PURE__ */ W(["update:amount", "update:measurement"], ["update:modelValue"]),
126
+ emits: /* @__PURE__ */ H(["update:amount", "update:measurement"], ["update:modelValue"]),
127
127
  setup(r, { emit: p }) {
128
- const t = r, c = p, s = re(r, "modelValue"), B = U(), C = v(() => {
128
+ const t = r, c = p, s = me(r, "modelValue"), I = B(), D = v(() => {
129
129
  var n;
130
130
  return O(t.unit, (n = s.value) == null ? void 0 : n.measurement);
131
- }), f = k((() => {
131
+ }), f = U((() => {
132
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);
134
- return b(l);
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);
135
135
  })());
136
136
  let F = null;
137
- H(f, (e) => {
138
- const n = () => {
137
+ Q(f, (e) => {
138
+ F && clearTimeout(F), F = setTimeout(() => {
139
139
  var o;
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 = {
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 = {
144
144
  ...s.value,
145
- amount: g
145
+ amount: M
146
146
  });
147
147
  }
148
- };
149
- t.immediateModelUpdate && n(), F && clearTimeout(F), F = setTimeout(() => {
150
- t.immediateModelUpdate || n(), c("update:amount", e);
148
+ c("update:amount", e);
151
149
  }, 500);
152
- }), me(() => {
150
+ }), ce(() => {
153
151
  F && clearTimeout(F);
154
152
  });
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(() => {
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(() => {
156
158
  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(
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(
158
160
  n,
159
161
  (o) => `${o.abbrev}${b(o.conversion)}`
160
- ), l = Object.values(a).map((o) => o[0]);
162
+ ), u = Object.values(a).map((o) => o[0]);
161
163
  return [
162
164
  {
163
165
  label: (i = t.unit) == null ? void 0 : i.abbrev,
@@ -165,11 +167,11 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
165
167
  isBaseUnit: !0,
166
168
  conversionLabel: null
167
169
  },
168
- ...l.map((o) => ({
170
+ ...u.map((o) => ({
169
171
  label: o.abbrev,
170
172
  value: o.id,
171
173
  isBaseUnit: !1,
172
- conversionLabel: `1 ${o.abbrev} = ${b(o.conversion)} ${t.unit.abbrev}`
174
+ conversionLabel: z(o)
173
175
  }))
174
176
  ];
175
177
  }), N = v({
@@ -180,24 +182,24 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
180
182
  set(e) {
181
183
  if (e == null)
182
184
  s.value = {
183
- ...s.value ?? Z(),
185
+ ...s.value ?? J(),
184
186
  measurement: null
185
187
  }, c("update:measurement", null);
186
188
  else {
187
189
  const n = t.unit.measurements.find((a) => a.id === e) ?? null;
188
190
  s.value = {
189
- ...s.value ?? Z(),
191
+ ...s.value ?? J(),
190
192
  measurement: n
191
193
  }, c("update:measurement", n);
192
194
  }
193
195
  }
194
196
  });
195
- H(N, (e, n) => {
197
+ Q(N, (e, n) => {
196
198
  var m;
197
199
  if (!t.convertAmountOnChangeUnit)
198
200
  return;
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,
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,
201
203
  precision: $
202
204
  });
203
205
  f.value = b(L);
@@ -208,99 +210,101 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
208
210
  }), T = v(() => {
209
211
  var e, n;
210
212
  return ((n = (e = s.value) == null ? void 0 : e.measurement) == null ? void 0 : n.abbrev) ?? t.unit.abbrev;
211
- }), z = v(() => {
212
- var l, i;
213
+ }), E = v(() => {
214
+ var u, i;
213
215
  if (V.value) return null;
214
- const e = (l = s.value) == null ? void 0 : l.measurement;
216
+ const e = (u = s.value) == null ? void 0 : u.measurement;
215
217
  if (!e) return null;
218
+ if (t.showMeasurementConversion)
219
+ return z(e);
216
220
  const n = (i = s.value) == null ? void 0 : i.amount;
217
221
  if (!n) return null;
218
- const a = G(n, e.conversion);
222
+ const a = Z(n, e.conversion);
219
223
  return `= ${b(a)} ${t.unit.abbrev}`;
220
- }), se = v(
224
+ }), ie = v(
221
225
  () => {
222
226
  var e;
223
227
  return ((e = t.rules) == null ? void 0 : e.map(
224
228
  (n) => (a) => typeof n == "function" ? n(a) : n
225
229
  )) ?? [];
226
230
  }
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;
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;
233
237
  return o.endsWith(".") ? o.slice(0, o.length - 1) : o;
234
238
  }
235
- function ae() {
239
+ function ue() {
236
240
  if (!t.stepper)
237
241
  return;
238
242
  const e = +f.value + +b(t.stepper);
239
- f.value = E(e);
243
+ f.value = W(e);
240
244
  }
241
245
  function le() {
242
246
  if (!t.stepper)
243
247
  return;
244
248
  const e = +f.value - +b(t.stepper);
245
- f.value = E(e);
249
+ f.value = W(e);
246
250
  }
247
251
  return (e, n) => {
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, {
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, {
253
257
  label: e.label,
254
258
  disabled: e.disabled,
255
259
  required: e.labelMark === "required",
256
260
  optional: e.labelMark === "optional"
257
261
  }, null, 8, ["label", "disabled", "required", "optional"])
258
262
  ]),
259
- M($, { focused: te.value }, {
263
+ g($, { focused: ne.value }, {
260
264
  default: _(() => [
261
- u("div", De, [
262
- Q(e.$slots, "prepend"),
263
- u("div", Ce, [
264
- u("div", Se, [
265
+ l("div", De, [
266
+ G(e.$slots, "prepend"),
267
+ l("div", we, [
268
+ l("div", Se, [
265
269
  e.stepperOnly ? (d(), y("span", {
266
270
  key: 0,
267
271
  class: q({
268
272
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
269
- "text-fm-color-typo-primary": !I.value,
270
- "text-fm-color-typo-disabled": I.value
273
+ "text-fm-color-typo-primary": !P.value,
274
+ "text-fm-color-typo-disabled": P.value
271
275
  })
272
- }, h(f.value), 3)) : de((d(), y("input", {
276
+ }, h(f.value), 3)) : pe((d(), y("input", {
273
277
  key: 1,
274
278
  type: "text",
275
279
  ref_key: "inputRef",
276
- ref: ee,
277
- onFocus: n[0] || (n[0] = () => w.value = !0),
278
- onBlur: n[1] || (n[1] = () => w.value = !1),
280
+ ref: te,
281
+ onFocus: n[0] || (n[0] = () => S.value = !0),
282
+ onBlur: n[1] || (n[1] = () => S.value = !1),
279
283
  "onUpdate:modelValue": n[2] || (n[2] = (m) => f.value = m),
280
284
  class: q({
281
285
  "fm-text-field--input fm-typo-en-body-lg-400": !0,
282
- "text-fm-color-typo-primary": !I.value,
283
- "text-fm-color-typo-disabled": I.value
286
+ "text-fm-color-typo-primary": !P.value,
287
+ "text-fm-color-typo-disabled": P.value
284
288
  })
285
289
  }, null, 34)), [
286
- [pe, f.value]
290
+ [fe, f.value]
287
291
  ])
288
292
  ]),
289
- e.separator ? (d(), y("div", we, h(e.separator), 1)) : A("", !0),
290
- u("div", {
293
+ e.separator ? (d(), y("div", Ne, h(e.separator), 1)) : A("", !0),
294
+ l("div", {
291
295
  class: q([e.disabled ? "text-fm-color-typo-disabled" : "text-fm-color-typo-secondary"])
292
296
  }, [
293
- M(g, { "z-index": 51 }, {
297
+ g(M, { "z-index": 51 }, {
294
298
  content: _(() => [
295
- ye(h(T.value), 1)
299
+ he(h(T.value), 1)
296
300
  ]),
297
301
  default: _(() => [
298
- e.disableUnit ? (d(), y("div", Ne, [
299
- V.value ? A("", !0) : (d(), R(l, {
302
+ e.disableUnit ? (d(), y("div", Ve, [
303
+ V.value ? A("", !0) : (d(), R(u, {
300
304
  key: 0,
301
305
  name: "square_foot"
302
306
  })),
303
- u("div", Ve, h(T.value), 1)
307
+ l("div", Te, h(T.value), 1)
304
308
  ])) : (d(), R(o, {
305
309
  key: 1,
306
310
  onMenuChanged: n[3] || (n[3] = (m) => j.value = m),
@@ -309,32 +313,32 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
309
313
  disabled: e.disabled
310
314
  }, {
311
315
  "menu-button": _(() => [
312
- u("div", Te, [
313
- u("div", $e, [
314
- V.value ? A("", !0) : (d(), R(l, {
316
+ l("div", $e, [
317
+ l("div", Le, [
318
+ V.value ? A("", !0) : (d(), R(u, {
315
319
  key: 0,
316
320
  name: "square_foot"
317
321
  })),
318
- u("div", Le, h(T.value), 1)
322
+ l("div", qe, h(T.value), 1)
319
323
  ]),
320
- M(l, { name: "keyboard_arrow_down" })
324
+ g(u, { name: "keyboard_arrow_down" })
321
325
  ])
322
326
  ]),
323
327
  default: _(() => [
324
- u("div", qe, [
325
- (d(!0), y(fe, null, ve(oe.value, (m) => (d(), R(i, {
328
+ l("div", Oe, [
329
+ (d(!0), y(ve, null, be(se.value, (m) => (d(), R(i, {
326
330
  key: m.value ?? void 0,
327
331
  label: m.label,
328
332
  icon: m.isBaseUnit ? void 0 : "square_foot",
329
333
  "model-value": m.value == N.value,
330
- onClick: (P) => N.value = m.value
331
- }, be({ _: 2 }, [
334
+ onClick: (k) => N.value = m.value
335
+ }, ye({ _: 2 }, [
332
336
  m.conversionLabel ? {
333
337
  name: "label",
334
338
  fn: _(() => [
335
- u("div", Oe, [
336
- u("span", null, h(m.label), 1),
337
- u("span", je, h(m.conversionLabel), 1)
339
+ l("div", je, [
340
+ l("span", null, h(m.label), 1),
341
+ l("span", ze, h(m.conversionLabel), 1)
338
342
  ])
339
343
  ]),
340
344
  key: "0"
@@ -348,24 +352,24 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
348
352
  _: 1
349
353
  })
350
354
  ], 2),
351
- e.stepper ? (d(), y("div", ze, [
352
- u("div", {
355
+ e.stepper ? (d(), y("div", Ee, [
356
+ l("div", {
353
357
  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",
354
- onClick: ae
358
+ onClick: ue
355
359
  }, [
356
- u("div", Ee, [
357
- M(l, {
360
+ l("div", We, [
361
+ g(u, {
358
362
  name: "expand_less",
359
363
  size: "md"
360
364
  })
361
365
  ])
362
366
  ]),
363
- u("div", {
367
+ l("div", {
364
368
  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",
365
369
  onClick: le
366
370
  }, [
367
- u("div", We, [
368
- M(l, {
371
+ l("div", He, [
372
+ g(u, {
369
373
  name: "expand_more",
370
374
  size: "md"
371
375
  })
@@ -373,32 +377,32 @@ const Pe = { class: "flex flex-col" }, ke = { class: "flex flex-col" }, Re = { c
373
377
  ])
374
378
  ])) : A("", !0)
375
379
  ]),
376
- Q(e.$slots, "append")
380
+ G(e.$slots, "append")
377
381
  ])
378
382
  ]),
379
383
  _: 3
380
384
  }, 8, ["focused"])
381
385
  ]),
382
- M(L, {
386
+ g(L, {
383
387
  class: "flex-1",
384
388
  "model-value": { modelValue: s.value, amountAsString: String(f.value) },
385
389
  info: e.labelInfo,
386
- rules: ie.value,
390
+ rules: ae.value,
387
391
  "helper-text": e.helperText,
388
392
  "helper-state": e.helperState
389
393
  }, null, 8, ["model-value", "info", "rules", "helper-text", "helper-state"]),
390
- z.value ? (d(), y("div", He, h(z.value), 1)) : A("", !0)
394
+ E.value ? (d(), y("div", Qe, h(E.value), 1)) : A("", !0)
391
395
  ]);
392
396
  };
393
397
  }
394
398
  });
395
399
  export {
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
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
404
408
  };
@@ -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-fzePklTK.js";
6
- import { a as ie } from "./app-CNKD3vjZ.js";
7
- import "./dayjs.min-DPQzGVmJ.js";
5
+ import { u as Ke } from "./feature-DDZ2q9CF.js";
6
+ import { a as ie } from "./app-BYXLBTAp.js";
7
+ import "./dayjs.min-Ds-7QYZn.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-CZOxuAL-.js";
11
- import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-BXXH9AYn.js";
10
+ import { s as De, a as Ve, d as We, t as Ce, r as Le } from "./xlsx.util-B4YBSPGX.js";
11
+ import { s as Je, g as Xe, b as qe, d as Ge } from "./import-export.helper-Fu7QFnJS.js";
12
12
  import { r as Qe } from "./random-CSbEbElR.js";
13
- import { c as Ne, a as pe } from "./number-LQ8tdP_1.js";
13
+ import { c as Ne, a as pe } from "./number-3lF6zpQn.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-LQ8tdP_1.js";
2
+ import { a, e as y } from "./number-3lF6zpQn.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-CNKD3vjZ.js";
2
+ import { a as L, c as P, j as oe, u as Re } from "./app-BYXLBTAp.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-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";
11
+ import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
12
+ import { d as de } from "./defineDeepModel-DH6TPPcs.js";
13
+ import { I as Te, A as Ee, U as Me, R as ce } from "./rules-Bd7-xhpl.js";
14
14
  import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
15
- import { u as Le } from "./FmMultiselectDialog-B5gQRKE6.js";
15
+ import { u as Le } from "./FmMultiselectDialog-DehATOte.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-CNKD3vjZ.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-BYXLBTAp.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-yzjEuV4c.js";
10
+ import { u as Ee, _ as en } from "./netsuite-Dfo9PwZB.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-BdR1TB3v.js";
14
- import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js";
15
- import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js";
16
- import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js";
17
- import { u as Tt } from "./feature-fzePklTK.js";
18
- import { t as dn, a as un, g as mn } from "./number-LQ8tdP_1.js";
13
+ import { A as Oe, R as Le, U as on, M as ln } from "./rules-Bd7-xhpl.js";
14
+ import { g as an, _ as je, S as We, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DtFVQGcw.js";
15
+ import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-jMOg3yzw.js";
16
+ import { _ as qe } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-vGJpOsZy.js";
17
+ import { u as Tt } from "./feature-DDZ2q9CF.js";
18
+ import { t as dn, a as un, g as mn } from "./number-3lF6zpQn.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-BXXH9AYn.js";
20
+ import { d as Re, g as cn, e as pn, a as vn } from "./import-export.helper-Fu7QFnJS.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-CZr-dX4K.js";
24
- import { u as Vt } from "./purchase-order-template-bBTN12Ij.js";
25
- import { u as It, a as St } from "./closing-template-BeegNS6p.js";
23
+ import { F as yn, a as He } from "./FmMultiselectDialog-Cq_sKKG7.js";
24
+ import { u as Vt } from "./purchase-order-template-c0YljACm.js";
25
+ import { u as It, a as St } from "./closing-template-CESaKvtR.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-CZOxuAL-.js";
27
+ import { r as bn } from "./xlsx.util-B4YBSPGX.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-DAFZz6rG.js";
30
- import { u as xn } from "./FmMultiselectDialog-B5gQRKE6.js";
29
+ import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
30
+ import { u as xn } from "./FmMultiselectDialog-DehATOte.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-CNKD3vjZ.js";
2
+ import { d as Se, N as be, C as xe, u as Ce } from "./app-BYXLBTAp.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-DAFZz6rG.js";
6
- import { u as Ie, a as Te, S as ge } from "./netsuite-yzjEuV4c.js";
5
+ import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js";
6
+ import { u as Ie, a as Te, S as ge } from "./netsuite-Dfo9PwZB.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-B00CYgio.js";
10
+ import { c as ue } from "./date2-Bakt163M.js";
11
11
  const ce = Se((W, P) => {
12
12
  const n = Le();
13
13
  function N() {