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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/dist/{App-B1h66sv9.js → App-DFSszWS2.js} +7 -7
  2. package/dist/{ApprovalView-DKlVcGah.js → ApprovalView-sHjUr1tA.js} +9 -9
  3. package/dist/{BindingsDialog-CxHlh0kQ.js → BindingsDialog-B-64TNTI.js} +2 -2
  4. package/dist/{BindingsPicker-BiF5OZEi.js → BindingsPicker-Czn-jEHe.js} +2 -2
  5. package/dist/{BindingsTable-CygkFbyE.js → BindingsTable-CmB0b3ov.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-Cf4IHMVn.js → BulkReceiveRequestView-BjGCwQiH.js} +19 -19
  7. package/dist/{ClosingDraftView-DFnGCAHQ.js → ClosingDraftView-DJLqwVmZ.js} +19 -19
  8. package/dist/{ClosingHistoryView-c51cSbco.js → ClosingHistoryView-Dj170bDN.js} +5 -5
  9. package/dist/{ClosingTemplateView-tKdJEP6p.js → ClosingTemplateView-DsfJz31T.js} +16 -16
  10. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Br8lpoIh.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js} +1 -1
  11. package/dist/{DefaultView-2PPCmcbd.js → DefaultView-CsI2C4Hr.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-BKSQLP79.js → DeliveryOrderPrintPreview-8EupGZmv.js} +12 -12
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DNbWlGwL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js} +23 -23
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-EePpPI.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUrLcbIR.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js} +2 -2
  16. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +243 -0
  17. package/dist/{FmMultiselectDialog-4K4U13Fa.js → FmMultiselectDialog-B5gQRKE6.js} +1 -1
  18. package/dist/{FmMultiselectDialog-CMUU4YMv.js → FmMultiselectDialog-CZr-dX4K.js} +2 -2
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CWPYtvi-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js} +66 -63
  20. package/dist/{ImportView-3BL5dbPC.js → ImportView-Htolj46U.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Gt9-RVuI.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js} +1 -1
  22. package/dist/{IngredientGroupView-CrQr-Wcc.js → IngredientGroupView-zZgJ3F9O.js} +5 -5
  23. package/dist/{IngredientsView-Co_ULkb6.js → IngredientsView-BhIIUpq5.js} +15 -15
  24. package/dist/{IntegrationExplorerView-Byz0ZiN7.js → IntegrationExplorerView-a7EEa4a4.js} +4 -4
  25. package/dist/{IntegrationView-BZvXCtuu.js → IntegrationView-Dbr7gTAK.js} +14 -14
  26. package/dist/{InventoryBindingForm-D7at6ntj.js → InventoryBindingForm-DSAHtnBI.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfN7YCnp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js} +5 -5
  28. package/dist/{InventoryBindingSummary-DIWHwJwb.js → InventoryBindingSummary-D_jEP9vJ.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLIYFBaL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BIjAFa7R.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js} +1 -1
  31. package/dist/ProductionRunDetailView-DnIVaUbO.js +2284 -0
  32. package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +34 -0
  33. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +7543 -0
  34. package/dist/ProductionRunView-9tC9ljDT.js +911 -0
  35. package/dist/{PublishView-qzVWXhU2.js → PublishView-tOyFyzkR.js} +3 -3
  36. package/dist/{PurchaseOrderPrintPreview-Dv107ZcE.js → PurchaseOrderPrintPreview-CKyZ5jco.js} +7 -7
  37. package/dist/{ReceiveRequestView-BoDIlSIR.js → ReceiveRequestView-Brjz7YtB.js} +14 -14
  38. package/dist/{RecipeView-CZExmd9h.js → RecipeView-DntISZwO.js} +17 -17
  39. package/dist/{SettingsView-JvHtBOeh.js → SettingsView-_uzG3DYW.js} +4 -4
  40. package/dist/{StockView-DtAlqzrF.js → StockView-D0ns42PP.js} +363 -363
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DWxA3wuR.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js} +1 -1
  42. package/dist/{SupplierView-DIxYLwEk.js → SupplierView-Cg0BEv_J.js} +12 -12
  43. package/dist/{SurchargeView-BeMy7-Lu.js → SurchargeView-CtNt10E_.js} +6 -6
  44. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrOVu6wg.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js} +2 -2
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Chhxtkov.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js} +1 -1
  46. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-2LCcSzCa.js → TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js} +120 -120
  47. package/dist/{TransferTemplateView-DK_UHrGt.js → TransferTemplateView-DA-0VP3h.js} +20 -20
  48. package/dist/{UnitCostHistoryView-CbX9hG9F.js → UnitCostHistoryView-BIcZSZeY.js} +4 -4
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CDQ7c1Gl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js} +4 -4
  50. package/dist/{UnitView-Cc_PTKs_.js → UnitView-B7hMqpmo.js} +7 -7
  51. package/dist/{WarehouseView-a-D3zs6h.js → WarehouseView-DQZhCobt.js} +334 -334
  52. package/dist/{WastageTemplateView-CFRi5Pvf.js → WastageTemplateView-Bg4oY2Vw.js} +14 -14
  53. package/dist/api/netsuite.d.ts +14 -8
  54. package/dist/api/production-run-error.d.ts +36 -0
  55. package/dist/api/production-run-error.spec.d.ts +1 -0
  56. package/dist/api/production-run.d.ts +80 -0
  57. package/dist/api/production-run.spec.d.ts +1 -0
  58. package/dist/{app-D8j93Oqu.js → app-CNKD3vjZ.js} +20007 -15586
  59. package/dist/app.d.ts +2998 -2
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-C1b4O-N3.js → closing-template-BeegNS6p.js} +1 -1
  62. package/dist/components/FmUnitInput.spec.d.ts +1 -0
  63. package/dist/components/FmUnitInputProps.d.ts +2 -0
  64. package/dist/composable/useNavigationMenu.production.spec.d.ts +1 -0
  65. package/dist/{date2-uOSplHdf.js → date2-B00CYgio.js} +1 -1
  66. package/dist/{dayjs.min-jzzpE5jZ.js → dayjs.min-DPQzGVmJ.js} +1 -1
  67. package/dist/{decimal-8I4iIvBr.js → decimal-mk8IRyTq.js} +2 -2
  68. package/dist/{defineDeepModel-DBat73w6.js → defineDeepModel-DPmaWR48.js} +5 -5
  69. package/dist/{duplicate-template-hyvvKKZn.js → duplicate-template-CMddJ7le.js} +1 -1
  70. package/dist/{feature-BtW2IuYH.js → feature-fzePklTK.js} +28 -28
  71. package/dist/{format-time-from-id-TNzYsGd2.js → format-time-from-id-CX7mBtQD.js} +1 -1
  72. package/dist/{format-unit-display-Bv9J30wI.js → format-unit-display-C-WI6eC7.js} +12 -12
  73. package/dist/{import-export.helper-xpElLH-b.js → import-export.helper-BXXH9AYn.js} +6 -6
  74. package/dist/{index-CCpcCOf2.js → index-BGVJky7a.js} +1 -1
  75. package/dist/{index-BH22SMzP.js → index-D1nPGK7U.js} +3 -3
  76. package/dist/{index-CTQTVKeu.js → index-DJQBhZfo.js} +1 -1
  77. package/dist/{inventory-core-dart.default-BfVqWKxc.js → inventory-core-dart.default-CSFkzl91.js} +2928 -6981
  78. package/dist/{lz-string-BXcuXXWX.js → lz-string-CzFlgjO3.js} +1 -1
  79. package/dist/{netsuite-Bawdsy6u.js → netsuite-yzjEuV4c.js} +5 -3
  80. package/dist/{number-q25U2atb.js → number-LQ8tdP_1.js} +6 -6
  81. package/dist/{predefined-templates-DFETDxr0.js → predefined-templates-Db7qjPHc.js} +1 -1
  82. package/dist/production-run-prepare-sheet-BVAUvVqt.js +17411 -0
  83. package/dist/{purchase-order-template-BTSTgbF-.js → purchase-order-template-bBTN12Ij.js} +1 -1
  84. package/dist/{recalculationUtils-B-9ZEV5d.js → recalculationUtils-DN6oOoMX.js} +1 -1
  85. package/dist/router/name.d.ts +3 -1
  86. package/dist/router/shared.production.spec.d.ts +1 -0
  87. package/dist/{rules-_M2oshOW.js → rules-BdR1TB3v.js} +2 -2
  88. package/dist/{stock-CUsHHW7_.js → stock-AwNCy6xY.js} +1 -1
  89. package/dist/{stock-BdtZ5yDl.js → stock-BgGttjDF.js} +3 -3
  90. package/dist/stores/feature.d.ts +1 -1
  91. package/dist/stores/integration/codemax.d.ts +1 -1
  92. package/dist/stores/inventory.d.ts +10 -8
  93. package/dist/stores/stock.d.ts +10 -8
  94. package/dist/style.css +1 -1
  95. package/dist/{supplier-By-0Dy62.js → supplier-BNoSljLB.js} +2 -2
  96. package/dist/{surcharge-60G2Qke7.js → surcharge-pUc66ZZJ.js} +1 -1
  97. package/dist/tsconfig.app.tsbuildinfo +1 -1
  98. package/dist/{uom-rules-DeGuMW0s.js → uom-rules-BP8Vk8Rl.js} +1 -1
  99. package/dist/{use-ingredient-select-dialog-BVOtYoKp.js → use-ingredient-select-dialog-DTOzSrjt.js} +2 -2
  100. package/dist/{use-inventory-binding-dialog-CHm1Ezmr.js → use-inventory-binding-dialog-lHpBzqDy.js} +2 -2
  101. package/dist/{use-template-enabled-locations-C9vWaXj1.js → use-template-enabled-locations-DmCbj6aZ.js} +2 -2
  102. package/dist/{use-transfer-locations-VSzkSxBy.js → use-transfer-locations-BeARyv2s.js} +2 -2
  103. package/dist/{useHrmPermission-B48iHLre.js → useHrmPermission-DScCpS0P.js} +1 -1
  104. package/dist/{useNavigationMenu-DwRXSSh_.js → useNavigationMenu-B5pf21hS.js} +17 -17
  105. package/dist/{useSseClient-QeF0izVY.js → useSseClient-BPR5sQ_S.js} +1 -1
  106. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +20 -16
  107. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -32
  108. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +20 -16
  109. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +60 -48
  110. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -8
  111. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  112. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  113. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  114. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +1 -0
  115. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +15 -0
  116. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +1 -0
  117. package/dist/views/production-run/ProductionRunView.spec.d.ts +1 -0
  118. package/dist/views/production-run/ProductionRunView.vue.d.ts +2 -0
  119. package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +1 -0
  120. package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +15 -0
  121. package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +1 -0
  122. package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +67 -0
  123. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +1 -0
  124. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +52 -0
  125. package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +1 -0
  126. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +80 -0
  127. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +1 -0
  128. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +1066 -0
  129. package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +1 -0
  130. package/dist/views/{production/ProductionBindingsCell.vue.d.ts → production-run/features/detail/ProductionRunResultTable.vue.d.ts} +10 -14
  131. package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +1 -0
  132. package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +47 -0
  133. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +1 -0
  134. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +15 -0
  135. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +2098 -0
  136. package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +1 -0
  137. package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +1 -0
  138. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +1020 -0
  139. package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +9 -0
  140. package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +1 -0
  141. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +1020 -0
  142. package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +9 -0
  143. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +1 -0
  144. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +3573 -0
  145. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +1 -0
  146. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +1026 -0
  147. package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +56 -0
  148. package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +1 -0
  149. package/dist/views/{production/ProductionCompletionDialog.vue.d.ts → production-run/features/list/ProductionRunActionMenuItem.vue.d.ts} +8 -21
  150. package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +1 -0
  151. package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +20 -0
  152. package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +1 -0
  153. package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +40 -0
  154. package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +1 -0
  155. package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +43 -0
  156. package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +1 -0
  157. package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +25 -0
  158. package/dist/views/production-run/features/list/use-production-run-table.d.ts +18 -0
  159. package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +1 -0
  160. package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +70 -0
  162. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +1 -0
  163. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +33 -0
  164. package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +1 -0
  165. package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +26 -0
  166. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +1 -0
  167. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +43 -0
  168. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +1 -0
  169. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +31 -0
  170. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +1 -0
  171. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +23 -0
  172. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +1 -0
  173. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +33 -0
  174. package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +1 -0
  175. package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +20 -0
  176. package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +28 -0
  177. package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +245 -0
  178. package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +1 -0
  179. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +1 -0
  180. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +25 -0
  181. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +1 -0
  182. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +21 -0
  183. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +1 -0
  184. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +61 -0
  185. package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +1 -0
  186. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +1022 -0
  187. package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +25 -0
  188. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +1 -0
  189. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +65 -0
  190. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +1 -0
  191. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +15 -0
  192. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +1 -0
  193. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +30 -0
  194. package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +1 -0
  195. package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +67 -0
  196. package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +1 -0
  197. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +85 -0
  198. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +1 -0
  199. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +78 -0
  200. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +49 -0
  201. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +1 -0
  202. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +1525 -0
  203. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +1 -0
  204. package/dist/views/production-run/features/planning/use-production-run-form.d.ts +275 -0
  205. package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +1 -0
  206. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +1 -0
  207. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +32 -0
  208. package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +1 -0
  209. package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +18 -0
  210. package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +29 -0
  211. package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +1 -0
  212. package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +26 -0
  213. package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +16 -0
  214. package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +1 -0
  215. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +18 -0
  216. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +6 -0
  217. package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +1 -0
  218. package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +31 -0
  219. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +57 -0
  220. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +1 -0
  221. package/dist/views/production-run/shared/model/production-run-display.d.ts +187 -0
  222. package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +1 -0
  223. package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +22 -0
  224. package/dist/views/production-run/shared/model/production-run-list.d.ts +46 -0
  225. package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +1 -0
  226. package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +20 -0
  227. package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +22 -0
  228. package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +1 -0
  229. package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +39 -0
  230. package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +39 -0
  231. package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +1 -0
  232. package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +658 -0
  233. package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +1 -0
  234. package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +39 -0
  235. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +1 -0
  236. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +25 -0
  237. package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +51 -0
  238. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +1 -0
  239. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +23 -0
  240. package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +25 -0
  241. package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +2 -0
  242. package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +1 -0
  243. package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +24 -0
  244. package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +15 -0
  245. package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +33 -0
  246. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +1 -0
  247. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +67 -0
  248. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +1 -0
  249. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +70 -0
  250. package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +1 -0
  251. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +71 -0
  252. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +1 -0
  253. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +15 -0
  254. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +1 -0
  255. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +46 -0
  256. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +1 -0
  257. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +31 -0
  258. package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +31 -0
  259. package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +1 -0
  260. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +1 -0
  261. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +37 -0
  262. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +1 -0
  263. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +77 -0
  264. package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +52 -0
  265. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +1 -0
  266. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +21 -0
  267. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +1 -0
  268. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +23 -0
  269. package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +1 -0
  270. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +62 -0
  271. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +1 -0
  272. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +34 -0
  273. package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +11 -0
  274. package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +15 -0
  275. package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +1 -0
  276. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +17 -0
  277. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +1 -0
  278. package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +9 -0
  279. package/dist/views/production-run/test-support/production-run.fixture.d.ts +88 -0
  280. package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +1 -0
  281. package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +1 -0
  282. package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +1 -0
  283. package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +1 -0
  284. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  285. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  286. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +12 -8
  287. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +2 -0
  288. package/dist/{vue-i18n-DLckaDV3.js → vue-i18n-DLJI5tIS.js} +395 -395
  289. package/dist/{xlsx.util-BjqUaVU_.js → xlsx.util-CZOxuAL-.js} +2 -2
  290. package/package.json +5 -4
  291. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D6ehNvzX.js +0 -130
  292. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpACpi1j.js +0 -120
  293. package/dist/ProductionView-Cg8tXEj7.js +0 -1441
  294. package/dist/api/production.d.ts +0 -30
  295. package/dist/views/production/ProductionDetailSheet.vue.d.ts +0 -42
  296. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +0 -282
  297. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +0 -282
  298. /package/dist/views/{production/ProductionView.vue.d.ts → production-run/ProductionRunPreparePrintView.vue.d.ts} +0 -0
@@ -0,0 +1,25 @@
1
+ import type { WithRev } from '@/api/type';
2
+ import type { ProductionRunDuplicateSourceState } from './use-production-run-duplicate-sources';
3
+ export interface ProductionRunFormDialogProps {
4
+ show: boolean;
5
+ /**
6
+ * The run being edited. Absent creates a new one.
7
+ *
8
+ * Only a DRAFT can be edited — the legality table is what decides that, and
9
+ * the listing never offers `update` on anything else — so this component does
10
+ * not re-check the status.
11
+ */
12
+ run?: WithRev<FdoProductionRun> | null;
13
+ /** Runs from the current location that can supply output items to copy. */
14
+ duplicateSources?: WithRev<FdoProductionRun>[];
15
+ duplicateSourceState?: ProductionRunDuplicateSourceState;
16
+ }
17
+ export interface ProductionRunFormDialogEvents {
18
+ (event: 'update:show', value: boolean): void;
19
+ (event: 'load-more-duplicate-sources'): void;
20
+ /**
21
+ * A write landed. Carries the run so the caller can route to it; the caller
22
+ * still refreshes, because `request` may have moved it since.
23
+ */
24
+ (event: 'saved', run: WithRev<FdoProductionRun>): void;
25
+ }
@@ -0,0 +1,65 @@
1
+ import type { ProductionRunCommitRow } from './use-production-run-form';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ mode: "prepare" | "requested" | "planner";
4
+ rows: ProductionRunCommitRow[];
5
+ noItems: boolean;
6
+ unboundNames?: string[] | undefined;
7
+ constrained?: boolean | undefined;
8
+ refreshable?: boolean | undefined;
9
+ refreshing?: boolean | undefined;
10
+ showStockProjection?: boolean | undefined;
11
+ disabled?: boolean | undefined;
12
+ }>, {
13
+ unboundNames: () => never[];
14
+ constrained: boolean;
15
+ refreshable: boolean;
16
+ refreshing: boolean;
17
+ showStockProjection: boolean;
18
+ disabled: boolean;
19
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ refresh: () => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
+ mode: "prepare" | "requested" | "planner";
23
+ rows: ProductionRunCommitRow[];
24
+ noItems: boolean;
25
+ unboundNames?: string[] | undefined;
26
+ constrained?: boolean | undefined;
27
+ refreshable?: boolean | undefined;
28
+ refreshing?: boolean | undefined;
29
+ showStockProjection?: boolean | undefined;
30
+ disabled?: boolean | undefined;
31
+ }>, {
32
+ unboundNames: () => never[];
33
+ constrained: boolean;
34
+ refreshable: boolean;
35
+ refreshing: boolean;
36
+ showStockProjection: boolean;
37
+ disabled: boolean;
38
+ }>>> & Readonly<{
39
+ onRefresh?: (() => any) | undefined;
40
+ }>, {
41
+ disabled: boolean;
42
+ refreshing: boolean;
43
+ unboundNames: string[];
44
+ constrained: boolean;
45
+ refreshable: boolean;
46
+ showStockProjection: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ export default _default;
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_WithDefaults<P, D> = {
59
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
+ default: D[K];
61
+ }> : P[K];
62
+ };
63
+ type __VLS_Prettify<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ instructions?: string | null | undefined;
3
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ instructions?: string | null | undefined;
5
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -0,0 +1,30 @@
1
+ interface ProductionRunItemCandidate {
2
+ sku: FdoInventorySku;
3
+ hasBindings: boolean;
4
+ onHand: number;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ show: boolean;
8
+ candidates: ProductionRunItemCandidate[];
9
+ existingSkuIds: string[];
10
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:show": (value: boolean) => void;
12
+ select: (skuIds: string[]) => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ show: boolean;
15
+ candidates: ProductionRunItemCandidate[];
16
+ existingSkuIds: string[];
17
+ }>>> & Readonly<{
18
+ onSelect?: ((skuIds: string[]) => any) | undefined;
19
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ export default _default;
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToRuntimeProps<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: import('vue').PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
@@ -0,0 +1,67 @@
1
+ import type { ProductionRunHistoricalItem, ProductionRunPlannerItem } from './use-production-run-form';
2
+ import type { ProductionRunQuantityModel } from '../../shared/model/production-run-unit-snapshot';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ items: ProductionRunPlannerItem[];
5
+ historicalItems?: ProductionRunHistoricalItem[] | undefined;
6
+ editable?: boolean | undefined;
7
+ canDuplicate?: boolean | undefined;
8
+ showStockProjection?: boolean | undefined;
9
+ showBindings?: boolean | undefined;
10
+ disabled?: boolean | undefined;
11
+ }>, {
12
+ editable: boolean;
13
+ canDuplicate: boolean;
14
+ showStockProjection: boolean;
15
+ showBindings: boolean;
16
+ disabled: boolean;
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ add: () => void;
19
+ duplicate: () => void;
20
+ clear: () => void;
21
+ remove: (key: string) => void;
22
+ "update:item": (key: string, model: ProductionRunQuantityModel) => void;
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
+ items: ProductionRunPlannerItem[];
25
+ historicalItems?: ProductionRunHistoricalItem[] | undefined;
26
+ editable?: boolean | undefined;
27
+ canDuplicate?: boolean | undefined;
28
+ showStockProjection?: boolean | undefined;
29
+ showBindings?: boolean | undefined;
30
+ disabled?: boolean | undefined;
31
+ }>, {
32
+ editable: boolean;
33
+ canDuplicate: boolean;
34
+ showStockProjection: boolean;
35
+ showBindings: boolean;
36
+ disabled: boolean;
37
+ }>>> & Readonly<{
38
+ onRemove?: ((key: string) => any) | undefined;
39
+ onClear?: (() => any) | undefined;
40
+ onAdd?: (() => any) | undefined;
41
+ "onUpdate:item"?: ((key: string, model: ProductionRunQuantityModel) => any) | undefined;
42
+ onDuplicate?: (() => any) | undefined;
43
+ }>, {
44
+ disabled: boolean;
45
+ editable: boolean;
46
+ showStockProjection: boolean;
47
+ canDuplicate: boolean;
48
+ showBindings: boolean;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
50
+ export default _default;
51
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
+ type __VLS_TypePropsToRuntimeProps<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: import('vue').PropType<T[K]>;
57
+ required: true;
58
+ };
59
+ };
60
+ type __VLS_WithDefaults<P, D> = {
61
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
+ default: D[K];
63
+ }> : P[K];
64
+ };
65
+ type __VLS_Prettify<T> = {
66
+ [K in keyof T]: T[K];
67
+ } & {};
@@ -0,0 +1,85 @@
1
+ import type { ProductionRunCommitRow, ProductionRunHistoricalItem, ProductionRunPlannerItem } from './use-production-run-form';
2
+ import type { ProductionRunQuantityModel } from '../../shared/model/production-run-unit-snapshot';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ items: ProductionRunPlannerItem[];
5
+ historicalItems?: ProductionRunHistoricalItem[] | undefined;
6
+ commits: ProductionRunCommitRow[];
7
+ instructions?: string | null | undefined;
8
+ /** False on a read-only render (a submitted run). */
9
+ editable?: boolean | undefined;
10
+ /** Render the duplicate entry point; its dialog owns unavailable-history feedback. */
11
+ canDuplicate?: boolean | undefined;
12
+ refreshable?: boolean | undefined;
13
+ refreshing?: boolean | undefined;
14
+ showStockProjection?: boolean | undefined;
15
+ disabled?: boolean | undefined;
16
+ }>, {
17
+ instructions: null;
18
+ editable: boolean;
19
+ canDuplicate: boolean;
20
+ refreshable: boolean;
21
+ refreshing: boolean;
22
+ showStockProjection: boolean;
23
+ disabled: boolean;
24
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ add: () => void;
26
+ duplicate: () => void;
27
+ clear: () => void;
28
+ remove: (key: string) => void;
29
+ "update:item": (key: string, model: ProductionRunQuantityModel) => void;
30
+ refresh: () => void;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
32
+ items: ProductionRunPlannerItem[];
33
+ historicalItems?: ProductionRunHistoricalItem[] | undefined;
34
+ commits: ProductionRunCommitRow[];
35
+ instructions?: string | null | undefined;
36
+ /** False on a read-only render (a submitted run). */
37
+ editable?: boolean | undefined;
38
+ /** Render the duplicate entry point; its dialog owns unavailable-history feedback. */
39
+ canDuplicate?: boolean | undefined;
40
+ refreshable?: boolean | undefined;
41
+ refreshing?: boolean | undefined;
42
+ showStockProjection?: boolean | undefined;
43
+ disabled?: boolean | undefined;
44
+ }>, {
45
+ instructions: null;
46
+ editable: boolean;
47
+ canDuplicate: boolean;
48
+ refreshable: boolean;
49
+ refreshing: boolean;
50
+ showStockProjection: boolean;
51
+ disabled: boolean;
52
+ }>>> & Readonly<{
53
+ onRemove?: ((key: string) => any) | undefined;
54
+ onClear?: (() => any) | undefined;
55
+ onAdd?: (() => any) | undefined;
56
+ onRefresh?: (() => any) | undefined;
57
+ "onUpdate:item"?: ((key: string, model: ProductionRunQuantityModel) => any) | undefined;
58
+ onDuplicate?: (() => any) | undefined;
59
+ }>, {
60
+ disabled: boolean;
61
+ editable: boolean;
62
+ refreshing: boolean;
63
+ refreshable: boolean;
64
+ showStockProjection: boolean;
65
+ instructions: string | null;
66
+ canDuplicate: boolean;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
68
+ export default _default;
69
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
+ type __VLS_TypePropsToRuntimeProps<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
72
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
+ } : {
74
+ type: import('vue').PropType<T[K]>;
75
+ required: true;
76
+ };
77
+ };
78
+ type __VLS_WithDefaults<P, D> = {
79
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
80
+ default: D[K];
81
+ }> : P[K];
82
+ };
83
+ type __VLS_Prettify<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
@@ -0,0 +1,78 @@
1
+ import type { ProductionRunCommitRow } from './use-production-run-form';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ run: FdoProductionRun;
4
+ items: {
5
+ skuId: string;
6
+ name: string;
7
+ onHand: number | null;
8
+ baseQuantity: number | null;
9
+ bindingCount: number;
10
+ bindingLines: {
11
+ id: string;
12
+ name: string;
13
+ amount: number;
14
+ unit: string;
15
+ }[];
16
+ baseUnit: string | null;
17
+ sku?: FdoInventorySku;
18
+ }[];
19
+ ingredients: ProductionRunCommitRow[];
20
+ refreshable?: boolean | undefined;
21
+ refreshing?: boolean | undefined;
22
+ showStockProjection?: boolean | undefined;
23
+ }>, {
24
+ refreshable: boolean;
25
+ refreshing: boolean;
26
+ showStockProjection: boolean;
27
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ refresh: () => void;
29
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
+ run: FdoProductionRun;
31
+ items: {
32
+ skuId: string;
33
+ name: string;
34
+ onHand: number | null;
35
+ baseQuantity: number | null;
36
+ bindingCount: number;
37
+ bindingLines: {
38
+ id: string;
39
+ name: string;
40
+ amount: number;
41
+ unit: string;
42
+ }[];
43
+ baseUnit: string | null;
44
+ sku?: FdoInventorySku;
45
+ }[];
46
+ ingredients: ProductionRunCommitRow[];
47
+ refreshable?: boolean | undefined;
48
+ refreshing?: boolean | undefined;
49
+ showStockProjection?: boolean | undefined;
50
+ }>, {
51
+ refreshable: boolean;
52
+ refreshing: boolean;
53
+ showStockProjection: boolean;
54
+ }>>> & Readonly<{
55
+ onRefresh?: (() => any) | undefined;
56
+ }>, {
57
+ refreshing: boolean;
58
+ refreshable: boolean;
59
+ showStockProjection: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
62
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
+ type __VLS_TypePropsToRuntimeProps<T> = {
64
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
65
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
66
+ } : {
67
+ type: import('vue').PropType<T[K]>;
68
+ required: true;
69
+ };
70
+ };
71
+ type __VLS_WithDefaults<P, D> = {
72
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
+ default: D[K];
74
+ }> : P[K];
75
+ };
76
+ type __VLS_Prettify<T> = {
77
+ [K in keyof T]: T[K];
78
+ } & {};
@@ -0,0 +1,49 @@
1
+ import type { FdoDecimal } from '@feedmepos/core/entity';
2
+ export interface ProductionRunCommitContributor {
3
+ itemSkuId: string;
4
+ name: string;
5
+ amount: number;
6
+ /** Frozen authored-rate evidence, expressed per output production unit. */
7
+ perUnit?: number;
8
+ sourceQuantity?: number;
9
+ sourceUnit?: string;
10
+ }
11
+ export interface ProductionRunCommitRow {
12
+ skuId: string;
13
+ name: string;
14
+ unit: string;
15
+ /** Total drawn by the whole plan, as a positive number. */
16
+ need: number;
17
+ /** Null means the ingredient has no row in the current stock document. */
18
+ current: number | null;
19
+ after: number | null;
20
+ status: 'ok' | 'low' | 'shortage' | 'unknown';
21
+ contributors: ProductionRunCommitContributor[];
22
+ }
23
+ type FrozenIngredientGroup = {
24
+ ingredient: Pick<FdoProductionIngredientSnapshot, 'skuId' | 'name' | 'baseUnit'>;
25
+ amounts: {
26
+ outputSkuId: string;
27
+ /** Positive demand in the ingredient's frozen base unit. */
28
+ amount: number;
29
+ rateBasis: {
30
+ outputMeasurement: FdoProductionUnitSnapshot;
31
+ /**
32
+ * The output's requested amount/unit, resolved by the caller from the
33
+ * unique frozen `run.plan.items` row matching `outputSkuId`. The rate
34
+ * basis no longer carries its own source snapshot — never resolve this
35
+ * from today's catalogue or recipe.
36
+ */
37
+ requestedAmount: FdoDecimal;
38
+ requestedMeasurement: FdoProductionUnitSnapshot;
39
+ /** Original frozen contribution in the ingredient base unit. */
40
+ ingredientAmount: number;
41
+ };
42
+ }[];
43
+ };
44
+ /**
45
+ * Present frozen ingredient demand against balances that are current now.
46
+ * Recipe and binding definitions are intentionally absent from this seam.
47
+ */
48
+ export declare function projectFrozenIngredientRows(groups: FrozenIngredientGroup[], outputNames: ReadonlyMap<string, string>, balances: ReadonlyMap<string, FdoDecimal>, liveSkus: Readonly<Record<string, FdoInventorySku | undefined>>): ProductionRunCommitRow[];
49
+ export {};