@feedmepos/mf-inventory-portal 1.7.13-dev.4 → 1.7.13-dev.6

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 (270) hide show
  1. package/dist/{App-Cfp4CqzQ.js → App-JqoqVVdP.js} +354 -348
  2. package/dist/{ApprovalView-DO91AQ5f.js → ApprovalView-JiWbXkVU.js} +9 -9
  3. package/dist/{BindingsDialog-DUj0z6N7.js → BindingsDialog-BK4xofWu.js} +2 -2
  4. package/dist/{BindingsPicker-CD2J6-_Z.js → BindingsPicker-CLMsAseG.js} +2 -2
  5. package/dist/{BindingsTable-B2FEKZXU.js → BindingsTable-DKrBQTxN.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-ejHyukEp.js → BulkReceiveRequestView-bttHw2ub.js} +19 -19
  7. package/dist/{ClosingDraftView-tIvrsfYH.js → ClosingDraftView-Bhdwo-n8.js} +19 -19
  8. package/dist/ClosingHistoryView-DrQPWnr6.js +761 -0
  9. package/dist/{ClosingTemplateView-C-hL9uPv.js → ClosingTemplateView-UkwXCrz_.js} +16 -16
  10. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BffF8S_q.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DNtMdFVF.js} +1 -1
  11. package/dist/{DefaultView-BLbtx0Ho.js → DefaultView-sGrYeUGh.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-BLQHL7aB.js → DeliveryOrderPrintPreview-CVnqC9Jy.js} +10 -10
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BnTAuutB.js → EmailDialog.vue_vue_type_script_setup_true_lang-CYtHQ2Ru.js} +2250 -2250
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Mxhn0b6c.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DXTdvT0C.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-hrk0cTBX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DtfiRgsD.js} +2 -2
  16. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-yBIbCJYy.js +243 -0
  17. package/dist/{FmMultiselectDialog-Bpi5rI0h.js → FmMultiselectDialog-A9VIMLGn.js} +1 -1
  18. package/dist/{FmMultiselectDialog-Bi6XlAAU.js → FmMultiselectDialog-DL00XnUc.js} +2 -2
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-e55tnl4u.js → FmUnitInput.vue_vue_type_script_setup_true_lang-RJKOB-cm.js} +66 -63
  20. package/dist/{ImportView-xPTzBekx.js → ImportView-DPrLnJO8.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-tvmS42s_.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-IAQyFPmi.js} +1 -1
  22. package/dist/{IngredientGroupView-RFcqjF8T.js → IngredientGroupView-DyhC6lJ8.js} +5 -5
  23. package/dist/{IngredientsView-CvWOgquN.js → IngredientsView-P4AqPikD.js} +15 -15
  24. package/dist/{IntegrationExplorerView-CYNhsJSS.js → IntegrationExplorerView-CujhjHHV.js} +4 -4
  25. package/dist/{IntegrationView-ZtLokbu3.js → IntegrationView-CFqsZyzI.js} +3074 -2999
  26. package/dist/{InventoryBindingForm-DwiAIf5v.js → InventoryBindingForm-B0NJ8H51.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-njDaQe10.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-bbIpFo_4.js} +5 -5
  28. package/dist/{InventoryBindingSummary-zim_Bp5_.js → InventoryBindingSummary-CBgO_tCz.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CfTgt5xW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DuuXzyKH.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-LLtd1VvM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C418f34P.js} +1 -1
  31. package/dist/ProductionRunDetailView-tSByC3nQ.js +5165 -0
  32. package/dist/ProductionRunPreparePrintView-zPAATL-n.js +31 -0
  33. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DgtZJgrs.js +3506 -0
  34. package/dist/ProductionRunView-BsP02jgC.js +815 -0
  35. package/dist/{PublishView-DFXOi7Hx.js → PublishView-Cf0Tn7xt.js} +3 -3
  36. package/dist/{PurchaseOrderPrintPreview-CG6kBQ26.js → PurchaseOrderPrintPreview-BTlSyQqZ.js} +6 -6
  37. package/dist/{ReceiveRequestView-DKMVMo7M.js → ReceiveRequestView-9LFOl2hJ.js} +14 -14
  38. package/dist/{RecipeView-cLLKlLmE.js → RecipeView-C4KxMCpQ.js} +17 -17
  39. package/dist/{SettingsView-Cmf2ZOUL.js → SettingsView-ShrefnTM.js} +4 -4
  40. package/dist/{StockView-DTai8l8U.js → StockView-BVd6f7Fr.js} +21 -21
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BlKm7GLw.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B-rB7p9o.js} +1 -1
  42. package/dist/{SupplierView-CRAHOOLm.js → SupplierView-DZSY6_eU.js} +12 -12
  43. package/dist/{SurchargeView-3XymEvcr.js → SurchargeView-UUYoT8MK.js} +6 -6
  44. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DcXfQr_8.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BLMxzi1C.js} +2 -2
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-qhJVHahS.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-z3qIVKP7.js} +1 -1
  46. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CibsrZXw.js → TransferDetails.vue_vue_type_script_setup_true_lang-DEO8CP-X.js} +20 -20
  47. package/dist/{TransferTemplateView-ByhvK4Ua.js → TransferTemplateView-C21o2V_1.js} +20 -20
  48. package/dist/{UnitCostHistoryView-DHHWNJYA.js → UnitCostHistoryView-DPEGVLBP.js} +4 -4
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-bQu2KOI7.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BuGmmHBk.js} +4 -4
  50. package/dist/{UnitView-BZTS-Ahu.js → UnitView-Bx03E4uc.js} +7 -7
  51. package/dist/{WarehouseView-DVak1RPs.js → WarehouseView-BehHQ9Ao.js} +6 -6
  52. package/dist/{WastageTemplateView-CUDL3HUD.js → WastageTemplateView-gmr7doXL.js} +14 -14
  53. package/dist/api/netsuite.d.ts +13 -0
  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 +58 -0
  57. package/dist/api/stock.d.ts +0 -6
  58. package/dist/{app-BUQUpe4c.js → app-BT7hD4az.js} +16491 -12629
  59. package/dist/app.d.ts +2958 -14
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-DzxDiEQB.js → closing-template-BNfr1RIX.js} +1 -1
  62. package/dist/components/FmInventoryBanner.vue.d.ts +39 -0
  63. package/dist/components/FmUnitInput.spec.d.ts +1 -0
  64. package/dist/components/FmUnitInputProps.d.ts +2 -0
  65. package/dist/composable/useModalA11y.d.ts +9 -0
  66. package/dist/composable/useModalA11y.spec.d.ts +1 -0
  67. package/dist/{date2-6jkfRNS_.js → date2-CAh7rsAp.js} +1 -1
  68. package/dist/{dayjs.min-ByRnXzrl.js → dayjs.min-BJk-edO7.js} +7 -7
  69. package/dist/{decimal-CqWBdj8E.js → decimal-DYlKNkVX.js} +2 -2
  70. package/dist/{defineDeepModel-CaT-4fiq.js → defineDeepModel-BPHl7mTD.js} +1 -1
  71. package/dist/{duplicate-template-Cyvx-WK7.js → duplicate-template-BWUUIdzG.js} +1 -1
  72. package/dist/{feature-FjXz4WXw.js → feature-CSvVyBN2.js} +2 -2
  73. package/dist/{format-time-from-id-cSri3OoO.js → format-time-from-id-Dh3lxXpc.js} +1 -1
  74. package/dist/{format-unit-display-DPbcT7Ff.js → format-unit-display-B1ft2wxm.js} +12 -12
  75. package/dist/{import-export.helper-_yqcePYs.js → import-export.helper-txDvkMf0.js} +6 -6
  76. package/dist/{index-CyJVMHQW.js → index-AmTodx3_.js} +1 -1
  77. package/dist/{index-CGvNoBid.js → index-B4wQijn6.js} +1 -1
  78. package/dist/{index-nSL5yxNn.js → index-TIX5DyQk.js} +3 -3
  79. package/dist/inventory-core-dart.default-BpMxAF-0.js +31060 -0
  80. package/dist/{lz-string-iyER1Klb.js → lz-string-CFDYH-K6.js} +1 -1
  81. package/dist/{netsuite-BD8LVxaA.js → netsuite-CdW9v92G.js} +477 -462
  82. package/dist/{number-C7CJ9ZfE.js → number-DRRlTYv7.js} +6 -6
  83. package/dist/{predefined-templates-o-_pKVSM.js → predefined-templates-C68U85pc.js} +1 -1
  84. package/dist/production-run-display-DmyfdjHR.js +239 -0
  85. package/dist/production-run-prepare-sheet-BvxMd19E.js +189 -0
  86. package/dist/{purchase-order-template-BHS8T1VA.js → purchase-order-template-BvED3CpO.js} +1 -1
  87. package/dist/{recalculationUtils-BCByr_CU.js → recalculationUtils-9rFepwwr.js} +1 -1
  88. package/dist/router/name.d.ts +2 -0
  89. package/dist/{rules-wZo-8FZ0.js → rules-C8RmopTe.js} +2 -2
  90. package/dist/{stock-DwqEvWM5.js → stock-BKkluaaM.js} +26 -36
  91. package/dist/{stock-CnAjxV7P.js → stock-CiCsT5JK.js} +3 -3
  92. package/dist/stores/integration/codemax.d.ts +1 -1
  93. package/dist/stores/integration/netsuite.d.ts +54 -0
  94. package/dist/style.css +1 -1
  95. package/dist/{supplier-DkqNwQmi.js → supplier--zZMQHPc.js} +2 -2
  96. package/dist/{surcharge-Csj1WYbH.js → surcharge-BLF3XV0G.js} +1 -1
  97. package/dist/tsconfig.app.tsbuildinfo +1 -1
  98. package/dist/{uom-rules-BI1CdWeS.js → uom-rules-CjCCXiGL.js} +1 -1
  99. package/dist/{use-ingredient-select-dialog-5AqoZJDA.js → use-ingredient-select-dialog-DnUiY-Ic.js} +2 -2
  100. package/dist/{use-inventory-binding-dialog-ChiyhiuP.js → use-inventory-binding-dialog-BAU-P8kV.js} +2 -2
  101. package/dist/{use-template-enabled-locations-BqXxegct.js → use-template-enabled-locations-DZMzYCi-.js} +2 -2
  102. package/dist/{use-transfer-locations-Ckj_diGt.js → use-transfer-locations-DomGLsT2.js} +2 -2
  103. package/dist/{useHrmPermission-USG_KRoq.js → useHrmPermission-CrhsV_5z.js} +1 -1
  104. package/dist/{useNavigationMenu-BhYf87KI.js → useNavigationMenu-1h-G_-el.js} +2 -2
  105. package/dist/{useSseClient-BqoE-ir6.js → useSseClient-o_3wiqhX.js} +1 -1
  106. package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +1 -1
  107. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  108. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  109. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  110. package/dist/views/integration/components/netsuite/business/vendor-publish.d.ts +7 -0
  111. package/dist/views/integration/components/netsuite/business/vendor-publish.spec.d.ts +1 -0
  112. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +1 -0
  113. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +15 -0
  114. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +1 -0
  115. package/dist/views/production-run/ProductionRunPreparePrintView.vue.d.ts +2 -0
  116. package/dist/views/production-run/ProductionRunView.spec.d.ts +1 -0
  117. package/dist/views/production-run/ProductionRunView.vue.d.ts +2 -0
  118. package/dist/views/production-run/components/CancelRunDialog.spec.d.ts +1 -0
  119. package/dist/views/production-run/components/CancelRunDialog.vue.d.ts +918 -0
  120. package/dist/views/production-run/components/CancelRunDialogProps.d.ts +9 -0
  121. package/dist/views/production-run/components/CloseRunDialog.spec.d.ts +1 -0
  122. package/dist/views/production-run/components/CloseRunDialog.vue.d.ts +918 -0
  123. package/dist/views/production-run/components/CloseRunDialogProps.d.ts +29 -0
  124. package/dist/views/production-run/components/PrepareRunConfirmationDialog.spec.d.ts +1 -0
  125. package/dist/views/production-run/components/PrepareRunConfirmationDialog.vue.d.ts +29 -0
  126. package/dist/views/production-run/components/PrepareRunDialog.spec.d.ts +1 -0
  127. package/dist/views/production-run/components/PrepareRunDialog.vue.d.ts +18 -0
  128. package/dist/views/production-run/components/PrepareRunDialogProps.d.ts +29 -0
  129. package/dist/views/production-run/components/PrepareSheetDialog.spec.d.ts +1 -0
  130. package/dist/views/production-run/components/PrepareSheetDialog.vue.d.ts +26 -0
  131. package/dist/views/{stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts → production-run/components/ProductionRunActionMenuItem.vue.d.ts} +7 -10
  132. package/dist/views/production-run/components/ProductionRunActionsCell.spec.d.ts +1 -0
  133. package/dist/views/production-run/components/ProductionRunActionsCell.vue.d.ts +20 -0
  134. package/dist/views/production-run/components/ProductionRunActivityTab.spec.d.ts +1 -0
  135. package/dist/views/production-run/components/ProductionRunActivityTab.vue.d.ts +15 -0
  136. package/dist/views/production-run/components/ProductionRunBanner.spec.d.ts +1 -0
  137. package/dist/views/production-run/components/ProductionRunBanner.vue.d.ts +42 -0
  138. package/dist/views/production-run/components/ProductionRunBatchCard.spec.d.ts +1 -0
  139. package/dist/views/production-run/components/ProductionRunBatchCard.vue.d.ts +69 -0
  140. package/dist/views/production-run/components/ProductionRunBatchWastageDetails.spec.d.ts +1 -0
  141. package/dist/views/production-run/components/ProductionRunBatchWastageDetails.vue.d.ts +33 -0
  142. package/dist/views/production-run/components/ProductionRunBindingsDisclosure.spec.d.ts +1 -0
  143. package/dist/views/production-run/components/ProductionRunBindingsDisclosure.vue.d.ts +25 -0
  144. package/dist/views/production-run/components/ProductionRunBindingsList.vue.d.ts +51 -0
  145. package/dist/views/production-run/components/ProductionRunCompactDisclosure.vue.d.ts +25 -0
  146. package/dist/views/production-run/components/ProductionRunContributorBranch.spec.d.ts +1 -0
  147. package/dist/views/production-run/components/ProductionRunContributorBranch.vue.d.ts +25 -0
  148. package/dist/views/production-run/components/ProductionRunCostRail.spec.d.ts +1 -0
  149. package/dist/views/production-run/components/ProductionRunCostRail.vue.d.ts +77 -0
  150. package/dist/views/production-run/components/ProductionRunDialog.spec.d.ts +1 -0
  151. package/dist/views/production-run/components/ProductionRunDialog.vue.d.ts +24 -0
  152. package/dist/views/production-run/components/ProductionRunDialogProps.d.ts +15 -0
  153. package/dist/views/production-run/components/ProductionRunDialogSurface.vue.d.ts +33 -0
  154. package/dist/views/production-run/components/ProductionRunDiscardDialog.spec.d.ts +1 -0
  155. package/dist/views/production-run/components/ProductionRunDiscardDialog.vue.d.ts +21 -0
  156. package/dist/views/production-run/components/ProductionRunDuplicateDialog.spec.d.ts +1 -0
  157. package/dist/views/production-run/components/ProductionRunDuplicateDialog.vue.d.ts +51 -0
  158. package/dist/views/production-run/components/ProductionRunFormDialog.spec.d.ts +1 -0
  159. package/dist/views/production-run/components/ProductionRunFormDialog.vue.d.ts +918 -0
  160. package/dist/views/production-run/components/ProductionRunFormDialogProps.d.ts +22 -0
  161. package/dist/views/production-run/components/ProductionRunHeader.spec.d.ts +1 -0
  162. package/dist/views/production-run/components/ProductionRunHeader.vue.d.ts +65 -0
  163. package/dist/views/production-run/components/ProductionRunHelpPopover.spec.d.ts +1 -0
  164. package/dist/views/production-run/components/ProductionRunHelpPopover.vue.d.ts +52 -0
  165. package/dist/views/production-run/components/ProductionRunIngredientTree.spec.d.ts +1 -0
  166. package/dist/views/production-run/components/ProductionRunIngredientTree.vue.d.ts +42 -0
  167. package/dist/views/production-run/components/ProductionRunIngredientsTab.spec.d.ts +1 -0
  168. package/dist/views/production-run/components/ProductionRunIngredientsTab.vue.d.ts +63 -0
  169. package/dist/views/production-run/components/ProductionRunInstructionsCard.spec.d.ts +1 -0
  170. package/dist/views/production-run/components/ProductionRunInstructionsCard.vue.d.ts +15 -0
  171. package/dist/views/production-run/components/ProductionRunItemPickerDialog.spec.d.ts +1 -0
  172. package/dist/views/production-run/components/ProductionRunItemPickerDialog.vue.d.ts +30 -0
  173. package/dist/views/production-run/components/ProductionRunItemsCell.spec.d.ts +1 -0
  174. package/dist/views/production-run/components/ProductionRunItemsCell.vue.d.ts +33 -0
  175. package/dist/views/production-run/components/ProductionRunItemsTable.spec.d.ts +1 -0
  176. package/dist/views/production-run/components/ProductionRunItemsTable.vue.d.ts +73 -0
  177. package/dist/views/production-run/components/ProductionRunLoadBannerContract.spec.d.ts +1 -0
  178. package/dist/views/production-run/components/ProductionRunNoBindingsHelp.spec.d.ts +1 -0
  179. package/dist/views/production-run/components/ProductionRunNoBindingsHelp.vue.d.ts +15 -0
  180. package/dist/views/production-run/components/ProductionRunOutputTab.spec.d.ts +1 -0
  181. package/dist/views/production-run/components/ProductionRunOutputTab.vue.d.ts +26 -0
  182. package/dist/views/production-run/components/ProductionRunOverviewTab.spec.d.ts +1 -0
  183. package/dist/views/production-run/components/ProductionRunOverviewTab.vue.d.ts +999 -0
  184. package/dist/views/production-run/components/ProductionRunPlanCard.spec.d.ts +1 -0
  185. package/dist/views/production-run/components/ProductionRunPlanCard.vue.d.ts +50 -0
  186. package/dist/views/production-run/components/ProductionRunPlanner.spec.d.ts +1 -0
  187. package/dist/views/production-run/components/ProductionRunPlanner.vue.d.ts +61 -0
  188. package/dist/views/production-run/components/ProductionRunPrepareSheet.vue.d.ts +16 -0
  189. package/dist/views/production-run/components/ProductionRunProjectionFeedback.spec.d.ts +1 -0
  190. package/dist/views/production-run/components/ProductionRunProjectionFeedback.vue.d.ts +41 -0
  191. package/dist/views/production-run/components/ProductionRunRecordOutputDetails.spec.d.ts +1 -0
  192. package/dist/views/production-run/components/ProductionRunRecordOutputDetails.vue.d.ts +43 -0
  193. package/dist/views/production-run/components/ProductionRunRecordOutputWastageStatus.spec.d.ts +1 -0
  194. package/dist/views/production-run/components/ProductionRunRecordOutputWastageStatus.vue.d.ts +31 -0
  195. package/dist/views/production-run/components/ProductionRunRequestedOverview.spec.d.ts +1 -0
  196. package/dist/views/production-run/components/ProductionRunRequestedOverview.vue.d.ts +48 -0
  197. package/dist/views/production-run/components/ProductionRunResultTable.spec.d.ts +1 -0
  198. package/dist/views/production-run/components/ProductionRunResultTable.vue.d.ts +31 -0
  199. package/dist/views/production-run/components/ProductionRunScrollHint.spec.d.ts +1 -0
  200. package/dist/views/production-run/components/ProductionRunScrollHint.vue.d.ts +31 -0
  201. package/dist/views/production-run/components/ProductionRunSelectionCheckbox.vue.d.ts +31 -0
  202. package/dist/views/production-run/components/ProductionRunSelectionControls.spec.d.ts +1 -0
  203. package/dist/views/production-run/components/ProductionRunSelectionRadio.spec.d.ts +1 -0
  204. package/dist/views/production-run/components/ProductionRunSelectionRadio.vue.d.ts +37 -0
  205. package/dist/views/production-run/components/ProductionRunSideSheet.spec.d.ts +1 -0
  206. package/dist/views/production-run/components/ProductionRunSideSheet.vue.d.ts +77 -0
  207. package/dist/views/production-run/components/ProductionRunSideSheetSurface.vue.d.ts +52 -0
  208. package/dist/views/production-run/components/ProductionRunSortHeader.spec.d.ts +1 -0
  209. package/dist/views/production-run/components/ProductionRunSortHeader.vue.d.ts +25 -0
  210. package/dist/views/production-run/components/ProductionRunStatusBadge.vue.d.ts +15 -0
  211. package/dist/views/production-run/components/ProductionRunTabs.spec.d.ts +1 -0
  212. package/dist/views/production-run/components/ProductionRunTabs.vue.d.ts +47 -0
  213. package/dist/views/production-run/components/ProductionRunTerminalNotice.spec.d.ts +1 -0
  214. package/dist/views/production-run/components/ProductionRunTerminalNotice.vue.d.ts +15 -0
  215. package/dist/views/production-run/components/ProductionRunTextarea.spec.d.ts +1 -0
  216. package/dist/views/production-run/components/ProductionRunTextarea.vue.d.ts +53 -0
  217. package/dist/views/production-run/components/ProductionRunUnitInput.spec.d.ts +1 -0
  218. package/dist/views/production-run/components/ProductionRunUnitInput.vue.d.ts +34 -0
  219. package/dist/views/production-run/components/ProductionRunWastageDisclosure.spec.d.ts +1 -0
  220. package/dist/views/production-run/components/ProductionRunWastageDisclosure.vue.d.ts +23 -0
  221. package/dist/views/production-run/components/RecordOutputDialog.spec.d.ts +1 -0
  222. package/dist/views/production-run/components/RecordOutputDialog.vue.d.ts +20 -0
  223. package/dist/views/production-run/components/RecordOutputDialogProps.d.ts +28 -0
  224. package/dist/views/production-run/components/TargetReachedDialog.spec.d.ts +1 -0
  225. package/dist/views/production-run/components/TargetReachedDialog.vue.d.ts +927 -0
  226. package/dist/views/production-run/components/production-run-deduction-parity.spec.d.ts +1 -0
  227. package/dist/views/production-run/components/production-run-prepare-sheet.d.ts +17 -0
  228. package/dist/views/production-run/components/production-run-typography-contract.spec.d.ts +1 -0
  229. package/dist/views/production-run/components/production-run-unit-snapshot.d.ts +39 -0
  230. package/dist/views/production-run/composables/production-run-display.d.ts +272 -0
  231. package/dist/views/production-run/composables/production-run-display.spec.d.ts +1 -0
  232. package/dist/views/production-run/composables/production-run-list.d.ts +46 -0
  233. package/dist/views/production-run/composables/production-run-list.spec.d.ts +1 -0
  234. package/dist/views/production-run/composables/production-run-request-confirmation.d.ts +20 -0
  235. package/dist/views/production-run/composables/use-production-run-actions.d.ts +37 -0
  236. package/dist/views/production-run/composables/use-production-run-actions.spec.d.ts +1 -0
  237. package/dist/views/production-run/composables/use-production-run-cost.d.ts +672 -0
  238. package/dist/views/production-run/composables/use-production-run-cost.spec.d.ts +1 -0
  239. package/dist/views/production-run/composables/use-production-run-detail.d.ts +1894 -0
  240. package/dist/views/production-run/composables/use-production-run-detail.spec.d.ts +1 -0
  241. package/dist/views/production-run/composables/use-production-run-disclosure.d.ts +15 -0
  242. package/dist/views/production-run/composables/use-production-run-disclosure.spec.d.ts +1 -0
  243. package/dist/views/production-run/composables/use-production-run-duplicate-sources.d.ts +19 -0
  244. package/dist/views/production-run/composables/use-production-run-duplicate-sources.spec.d.ts +1 -0
  245. package/dist/views/production-run/composables/use-production-run-economics.d.ts +92 -0
  246. package/dist/views/production-run/composables/use-production-run-economics.spec.d.ts +1 -0
  247. package/dist/views/production-run/composables/use-production-run-form.d.ts +277 -0
  248. package/dist/views/production-run/composables/use-production-run-form.spec.d.ts +1 -0
  249. package/dist/views/production-run/composables/use-production-run-record-output.d.ts +261 -0
  250. package/dist/views/production-run/composables/use-production-run-record-output.spec.d.ts +1 -0
  251. package/dist/views/production-run/composables/use-production-run-scroll-hint.d.ts +9 -0
  252. package/dist/views/production-run/composables/use-production-run-table.d.ts +19 -0
  253. package/dist/views/production-run/composables/use-production-run-table.spec.d.ts +1 -0
  254. package/dist/views/production-run/helpers/production-run-precision.helper.d.ts +31 -0
  255. package/dist/views/production-run/helpers/production-run-quantity.helper.d.ts +55 -0
  256. package/dist/views/production-run/helpers/production-run-quantity.helper.spec.d.ts +1 -0
  257. package/dist/views/production-run/production-run.fixture.d.ts +70 -0
  258. package/dist/views/production-run/production-run.fixture.spec.d.ts +1 -0
  259. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  260. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  261. package/dist/views/stock/components/dialog/RecalculationDialog.vue.d.ts +2 -17
  262. package/dist/{vue-i18n-DoKioQ81.js → vue-i18n-hE8n67Ig.js} +202 -202
  263. package/dist/{xlsx.util-BXjE2o-3.js → xlsx.util-Jv7EpwFc.js} +2 -2
  264. package/package.json +4 -4
  265. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-ashHOuZt.js +0 -130
  266. package/dist/ClosingHistoryView-BYVZ01Ma.js +0 -1112
  267. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-hTQmIyaf.js +0 -120
  268. package/dist/ProductionView-BWn7RBEg.js +0 -1441
  269. package/dist/inventory-core-dart.default-DSYRPQNZ.js +0 -25155
  270. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
@@ -0,0 +1,15 @@
1
+ export declare function useProductionRunDisclosure(): {
2
+ hovered: import("vue").Ref<boolean, boolean>;
3
+ focused: import("vue").Ref<boolean, boolean>;
4
+ pinned: import("vue").Ref<boolean, boolean>;
5
+ transientOpen: import("vue").ComputedRef<boolean>;
6
+ open: import("vue").ComputedRef<boolean>;
7
+ enterTrigger: () => void;
8
+ leaveTrigger: () => void;
9
+ focusTrigger: () => void;
10
+ blurTrigger: () => void;
11
+ dismissTransient: () => void;
12
+ dismiss: () => void;
13
+ togglePinned: () => void;
14
+ onPopoverChanged: (value: boolean) => void;
15
+ };
@@ -0,0 +1,19 @@
1
+ import { type Ref } from 'vue';
2
+ import type { WithRev } from '@/api/type';
3
+ interface ProductionRunDuplicateSourceOptions {
4
+ list: () => Promise<WithRev<FdoProductionRun>[]>;
5
+ runId: () => string;
6
+ locationId: () => string | null | undefined;
7
+ }
8
+ /**
9
+ * Lazily load the runs an edit may copy from without letting one opening of the
10
+ * editor settle another. Run and location equality are necessary but not
11
+ * sufficient: close then reopen on the same document has the same pair, so a
12
+ * generation is the durable boundary between those two intents.
13
+ */
14
+ export declare function useProductionRunDuplicateSources(options: ProductionRunDuplicateSourceOptions): {
15
+ sources: Ref<WithRev<FdoProductionRun>[]>;
16
+ load: () => Promise<void>;
17
+ invalidate: () => void;
18
+ };
19
+ export {};
@@ -0,0 +1,92 @@
1
+ import type { FdoDinero } from '@feedmepos/core/entity';
2
+ /**
3
+ * Why the run's cost is or is not knowable, as one value.
4
+ *
5
+ * The flags below each answer a different question, and a consumer that needs
6
+ * a single answer was left to infer one — which is how the close confirmation
7
+ * came to read "no ingredients named" as "the pool could not be split", a
8
+ * conclusion that is also consistent with no pool at all and with a negative
9
+ * valuation. Anything choosing one message, or deciding whether a money figure
10
+ * may be shown, discriminates on this and never on the shape of another field.
11
+ *
12
+ * Ordered by precedence: an unavailable pool is not also uncosted, and a
13
+ * negative valuation outranks an unsplittable one because it is the more
14
+ * serious claim about the same number. `uncostedSkuIds` stays populated
15
+ * underneath, so a surface with room for both can still say both.
16
+ */
17
+ export type ProductionRunCostState =
18
+ /** No pool at all — not issued, or the adjustment could not be read. */
19
+ 'unavailable'
20
+ /** The pool came out below zero; nothing is missing, the number is wrong. */
21
+ | 'negative-valuation'
22
+ /** Priced in full, but it cannot be divided between the outputs. */
23
+ | 'unattributable'
24
+ /** Some consumed ingredient carried no cost, so the pool under-counts. */
25
+ | 'uncosted'
26
+ /** Every figure on the summary is real. The ONLY state that may show money. */
27
+ | 'known';
28
+ export interface ProductionRunCostSummary {
29
+ /** `fromCostBalances − toCostBalances` over the issue adjustment. */
30
+ pool: FdoDinero | null;
31
+ /** Issued cost that has become output cost: `pool × produced ÷ committed`. */
32
+ absorbed: FdoDinero | null;
33
+ /** The pool not absorbed into output. NOT a write-off — close moves nothing. */
34
+ open: FdoDinero | null;
35
+ /** Absorbed output cost per sku, derived by the same core rule as `absorbed`. */
36
+ absorbedBySku: Record<string, FdoDinero> | null;
37
+ /**
38
+ * `share ÷ committed` PER SKU. Constant by construction within a sku — a short
39
+ * run does not make each unit dearer — but not comparable across skus, which
40
+ * is why there is no single number here.
41
+ */
42
+ perUnitBySku: Record<string, FdoDinero> | null;
43
+ /** One share per batch, in stored order. Telescoping: their sum IS `absorbed`. */
44
+ batchShares: FdoDinero[] | null;
45
+ /**
46
+ * The pool exists, every issued ingredient contributed to it, and the total
47
+ * is a cost rather than a credit. False for ANY of those, because each ends
48
+ * the same way for a reader: the figures on this page cannot be trusted.
49
+ */
50
+ isCostKnown: boolean;
51
+ /**
52
+ * The issued pool came out below zero.
53
+ *
54
+ * Issuing ingredients cannot cost a negative amount. It happens anyway when
55
+ * the location is overdrawn — FIFO values a deduction against layers that are
56
+ * not there and the arithmetic runs past zero. Distinguished from `uncosted`
57
+ * because the cause and the wording differ: nothing is missing here, the
58
+ * number is wrong.
59
+ */
60
+ isValuationNegative: boolean;
61
+ /**
62
+ * A pool exists but cannot be divided between the outputs, so no figure that
63
+ * depends on the split can be stated.
64
+ *
65
+ * The third distinct reason a cost is unknown, and the one with no named
66
+ * subject: `uncostedSkuIds` is about ingredients that contributed nothing,
67
+ * this is about outputs that can be attributed nothing. It happens when an
68
+ * output has no bindings, or when a recipe names an ingredient the movement
69
+ * never touched. Without it a reader is told "all ingredients costed" beside
70
+ * a withheld total, which is true and useless — every ingredient IS costed;
71
+ * the split is what failed.
72
+ */
73
+ isPoolUnattributable: boolean;
74
+ /** Ingredients consumed by the issuance that carried no cost — the pool under-counts by their value. */
75
+ uncostedSkuIds: string[];
76
+ /** The single discriminant. `isCostKnown` is `costState === 'known'` by construction. */
77
+ costState: ProductionRunCostState;
78
+ }
79
+ /**
80
+ * Every read-time money figure for a run, from the run and its issue
81
+ * adjustment.
82
+ *
83
+ * **Every money field is null when `pool` is null**, and that is the whole
84
+ * point of the shape. An uncostable issuance (a run whose items have no convert
85
+ * bindings, or lines with no cost balance on either side) produces no pool, and
86
+ * a derived `RM 0.00` would assert the ingredients were free — a different, and
87
+ * false, claim. `—` is the honest render; `null` is what makes it reachable.
88
+ *
89
+ * Pass `issueAdjustment: null` for a run that has not issued: same answer, same
90
+ * reason.
91
+ */
92
+ export declare function productionRunCostSummary(run: FdoProductionRun, issueAdjustment: FdoInventoryAdjustment | null): ProductionRunCostSummary;
@@ -0,0 +1,277 @@
1
+ import { type Ref } from 'vue';
2
+ import type { WithRev } from '@/api/type';
3
+ import { type ProductionRunFailure } from '@/api/production-run-error';
4
+ import { productionRunDisplayName } from './production-run-list';
5
+ import { type ProductionRunQuantityModel, type ProductionRunUnitSnapshot } from '../components/production-run-unit-snapshot';
6
+ export interface ProductionRunPlannerItem {
7
+ /** The controller key, which is the sku id. */
8
+ key: string;
9
+ skuId: string;
10
+ name: string;
11
+ code: string;
12
+ /** Base unit abbreviation — what on-hand and the ingredient tree are stated in. */
13
+ baseUnit: string;
14
+ /** The unit the quantity is currently entered in. */
15
+ enteredUnit: string;
16
+ onHand: number | null;
17
+ /** The requested quantity converted to the sku's base unit. */
18
+ baseQuantity: number;
19
+ sku: FdoInventorySku;
20
+ model: ProductionRunQuantityModel;
21
+ bindingCount: number;
22
+ bindingLines: {
23
+ id: string;
24
+ name: string;
25
+ amount: number;
26
+ unit: string;
27
+ }[];
28
+ }
29
+ /**
30
+ * Outputs that will draw no ingredients: a valid positive authored quantity,
31
+ * and nothing bound.
32
+ *
33
+ * Both halves are load-bearing. Deriving this from "contributes to no commit
34
+ * row" instead — which is what the planner and the Prepare dialog each did
35
+ * independently — conflates it with a quantity of zero, since a zero-quantity
36
+ * item produces no rows either. That made "No quantities set" unreachable
37
+ * through the planner: any selected item, unquantified, was reported as
38
+ * committing nothing.
39
+ *
40
+ * This classification deliberately reads the raw authored amount rather than
41
+ * `baseQuantity`. Base conversion is zero when a unit snapshot is missing or
42
+ * stale, but that is a separate validation failure: it must not hide the fact
43
+ * that a positively quantified output has no ingredient bindings. Submission
44
+ * remains gated on a valid matching snapshot below.
45
+ */
46
+ export declare function unboundOutputNames(items: ProductionRunPlannerItem[]): string[];
47
+ export interface ProductionRunCommitContributor {
48
+ itemSkuId: string;
49
+ name: string;
50
+ /** How much of this ingredient one base unit of the item consumes. */
51
+ perUnit: number;
52
+ sourceQuantity: number;
53
+ sourceUnit: string;
54
+ amount: number;
55
+ }
56
+ export interface ProductionRunCommitRow {
57
+ skuId: string;
58
+ name: string;
59
+ unit: string;
60
+ /** Total drawn by the whole plan, as a positive number. */
61
+ need: number;
62
+ /**
63
+ * On-hand now, and after this plan commits. **Null when the balance could not
64
+ * be resolved** — the sku has no row in the stock document at all.
65
+ *
66
+ * Null is not zero and the view must not collapse them (FM-140): rendering an
67
+ * unresolved balance as `0` invents a shortage the kitchen may not have, and
68
+ * an "after" figure derived from it is equally fictional. `—` is the honest
69
+ * render.
70
+ */
71
+ current: number | null;
72
+ after: number | null;
73
+ status: 'ok' | 'low' | 'shortage' | 'unknown';
74
+ contributors: ProductionRunCommitContributor[];
75
+ }
76
+ export interface ProductionRunShortage {
77
+ name: string;
78
+ /** How far below zero the projected balance lands. */
79
+ over: number;
80
+ unit: string;
81
+ }
82
+ /**
83
+ * One sku the seeded document listed more than once, and the single line those
84
+ * lines were combined into.
85
+ *
86
+ * A fact about the seed, frozen at `seedFrom`: it says what the DOCUMENT held,
87
+ * so later edits to the combined line must not rewrite it. Quantities are
88
+ * resolved to plain numbers here, each beside the unit it was stored in — the
89
+ * point of showing them is that they read back the way the run was written.
90
+ */
91
+ export interface ProductionRunDuplicateMerge {
92
+ skuId: string;
93
+ name: string;
94
+ /** The stored lines, in document order, each in the unit it was saved with. */
95
+ sources: {
96
+ amount: number;
97
+ unit: string;
98
+ }[];
99
+ /** What they add up to, or null when the sources name different base-unit families. */
100
+ amount: number | null;
101
+ unit: string | null;
102
+ }
103
+ export interface ProductionRunCreateResult {
104
+ run: WithRev<FdoProductionRun>;
105
+ /** False when the run was created but `request` failed — a draft exists. */
106
+ requested: boolean;
107
+ failure: ProductionRunFailure | null;
108
+ }
109
+ export declare function useProductionRunForm(): {
110
+ loading: Ref<boolean, boolean>;
111
+ loadFailure: Ref<{
112
+ kind: import("@/api/production-run-error").ProductionRunFailureKind;
113
+ message: string;
114
+ retrySameKey: boolean;
115
+ mustReload: boolean;
116
+ shortages: {
117
+ skuId: string;
118
+ baseUnit: {
119
+ name: string;
120
+ id: string;
121
+ abbrev: string;
122
+ conversion: {
123
+ amount: number;
124
+ precision: number;
125
+ };
126
+ baseUnitId: string;
127
+ };
128
+ projectedBalance: {
129
+ amount: number;
130
+ precision: number;
131
+ };
132
+ }[];
133
+ } | null, ProductionRunFailure | {
134
+ kind: import("@/api/production-run-error").ProductionRunFailureKind;
135
+ message: string;
136
+ retrySameKey: boolean;
137
+ mustReload: boolean;
138
+ shortages: {
139
+ skuId: string;
140
+ baseUnit: {
141
+ name: string;
142
+ id: string;
143
+ abbrev: string;
144
+ conversion: {
145
+ amount: number;
146
+ precision: number;
147
+ };
148
+ baseUnitId: string;
149
+ };
150
+ projectedBalance: {
151
+ amount: number;
152
+ precision: number;
153
+ };
154
+ }[];
155
+ } | null>;
156
+ submitting: Ref<boolean, boolean>;
157
+ dirty: Ref<boolean, boolean>;
158
+ runName: Ref<string, string>;
159
+ instructions: Ref<string, string>;
160
+ items: import("vue").ComputedRef<ProductionRunPlannerItem[]>;
161
+ commits: import("vue").ComputedRef<ProductionRunCommitRow[]>;
162
+ shortages: import("vue").ComputedRef<ProductionRunShortage[]>;
163
+ candidates: import("vue").ComputedRef<{
164
+ sku: {
165
+ trackingMeasurement?: string | null | undefined;
166
+ isInactive?: boolean | null | undefined;
167
+ convert?: {
168
+ measurement?: string | null | undefined;
169
+ inventoryBindings?: {
170
+ measurement?: {
171
+ name: string;
172
+ id: string;
173
+ abbrev: string;
174
+ conversion: {
175
+ amount: number;
176
+ precision: number;
177
+ };
178
+ } | null | undefined;
179
+ rules?: Record<string, any> | null | undefined;
180
+ alternatives?: {
181
+ default?: boolean | null | undefined;
182
+ trackingMeasurement?: string | null | undefined;
183
+ priority?: number | null | undefined;
184
+ _id: string;
185
+ }[] | null | undefined;
186
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
187
+ amount: {
188
+ amount: number;
189
+ precision: number;
190
+ };
191
+ id: string;
192
+ }[] | null | undefined;
193
+ } | null | undefined;
194
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
195
+ defaultCost?: {
196
+ measurement?: {
197
+ name: string;
198
+ id: string;
199
+ abbrev: string;
200
+ conversion: {
201
+ amount: number;
202
+ precision: number;
203
+ };
204
+ } | null | undefined;
205
+ costPerUnit: {
206
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
207
+ amount: number;
208
+ precision: number;
209
+ };
210
+ } | null | undefined;
211
+ operationalGroup?: string | null | undefined;
212
+ thresholds?: {
213
+ low: number;
214
+ mid: number;
215
+ } | null | undefined;
216
+ customAttributes?: Record<string, any> | null | undefined;
217
+ unit: {
218
+ _id: string;
219
+ name: string;
220
+ abbrev: string;
221
+ precision: number;
222
+ measurements: {
223
+ name: string;
224
+ id: string;
225
+ abbrev: string;
226
+ conversion: {
227
+ amount: number;
228
+ precision: number;
229
+ };
230
+ }[];
231
+ };
232
+ code: string;
233
+ _id: string;
234
+ name: string;
235
+ };
236
+ hasBindings: boolean;
237
+ onHand: number;
238
+ }[]>;
239
+ projectionFailed: Ref<boolean, boolean>;
240
+ duplicateMerges: Ref<{
241
+ skuId: string;
242
+ name: string;
243
+ sources: {
244
+ amount: number;
245
+ unit: string;
246
+ }[];
247
+ amount: number | null;
248
+ unit: string | null;
249
+ }[], ProductionRunDuplicateMerge[] | {
250
+ skuId: string;
251
+ name: string;
252
+ sources: {
253
+ amount: number;
254
+ unit: string;
255
+ }[];
256
+ amount: number | null;
257
+ unit: string | null;
258
+ }[]>;
259
+ canSubmit: import("vue").ComputedRef<boolean>;
260
+ canRequest: import("vue").ComputedRef<boolean>;
261
+ load: () => Promise<boolean>;
262
+ refreshStock: () => Promise<void>;
263
+ retryProjection: () => void;
264
+ reset: () => void;
265
+ seedFrom: (run: FdoProductionRun) => void;
266
+ addItems: (skuIds: string[]) => void;
267
+ removeItem: (key: string) => void;
268
+ clearAll: () => void;
269
+ duplicateItems: (source: FdoProductionRun, skuIds: string[], mode: 'add' | 'replace', measurementOverrides?: Record<string, ProductionRunUnitSnapshot>) => void;
270
+ updateItemModel: (key: string, model: ProductionRunQuantityModel) => void;
271
+ updateRunName: (value: string) => void;
272
+ updateInstructions: (value: string) => void;
273
+ createDraft: () => Promise<WithRev<FdoProductionRun>>;
274
+ updateDraft: (id: string) => Promise<WithRev<FdoProductionRun>>;
275
+ createAndRequest: () => Promise<ProductionRunCreateResult>;
276
+ displayName: typeof productionRunDisplayName;
277
+ };