@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
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { aD as s, aE as e, aF as o, aC as t, ad as i, a as m } from "./app-CNKD3vjZ.js";
2
+ import { ay as s, az as e, aA as o, ax as t, a8 as i, a as m } from "./app-BYXLBTAp.js";
3
3
  export {
4
4
  s as FmApp,
5
5
  e as InventoryBindingForm,
@@ -1,4 +1,4 @@
1
- import { d as u } from "./app-CNKD3vjZ.js";
1
+ import { d as u } from "./app-BYXLBTAp.js";
2
2
  import { useCoreStore as m } from "@feedmepos/mf-common";
3
3
  const i = u((s, a) => {
4
4
  function r() {
@@ -15,8 +15,7 @@ export interface FmUnitInputProps extends FmTextFieldWithoutModelValue {
15
15
  disableUnit?: boolean;
16
16
  stepperOnly?: boolean;
17
17
  stepper?: FdoDecimal | null;
18
- /** Publish v-model immediately; notifications remain debounced. */
19
- immediateModelUpdate?: boolean;
18
+ showMeasurementConversion?: boolean;
20
19
  }
21
20
  export interface FmUnitInputEvents {
22
21
  (event: 'update:amount', amount: string): void;
@@ -1,4 +1,4 @@
1
- import { d as l } from "./dayjs.min-DPQzGVmJ.js";
1
+ import { d as l } from "./dayjs.min-Ds-7QYZn.js";
2
2
  const T = new Intl.DateTimeFormat("en-US", {
3
3
  year: "numeric",
4
4
  month: "2-digit",
@@ -1,4 +1,4 @@
1
- import { y as Q, a1 as K } from "./app-CNKD3vjZ.js";
1
+ import { y as Q, Y as K } from "./app-BYXLBTAp.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,5 +1,5 @@
1
- import "./dayjs.min-DPQzGVmJ.js";
2
- import "./app-CNKD3vjZ.js";
1
+ import "./dayjs.min-Ds-7QYZn.js";
2
+ import "./app-BYXLBTAp.js";
3
3
  function m(a) {
4
4
  function t(o, n = !0) {
5
5
  const e = Math.round(Math.log10(o));
@@ -1,13 +1,13 @@
1
- import { c, aa as u } from "./app-CNKD3vjZ.js";
1
+ import { c as a, a5 as u } from "./app-BYXLBTAp.js";
2
2
  import { getCurrentInstance as d, reactive as l, watch as o } from "vue";
3
3
  function g(i = "modelValue", e) {
4
- var n, a;
5
- const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((a = d()) == null ? void 0 : a.emit) ?? (() => {
6
- }), t = l(c(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
4
+ var n, c;
5
+ const s = ((n = d()) == null ? void 0 : n.props) ?? {}, f = ((c = d()) == null ? void 0 : c.emit) ?? (() => {
6
+ }), t = l(a(s[i] ?? (e == null ? void 0 : e.default) ?? {})), m = `update:${u(i)}`;
7
7
  return e != null && e.watchProps && o(
8
8
  () => s[i],
9
9
  (r) => {
10
- r && r !== t && Object.assign(t, c(r));
10
+ r && r !== t && Object.assign(t, a(r));
11
11
  },
12
12
  { deep: !0, immediate: !0 }
13
13
  ), o(t, (r) => {
@@ -1,4 +1,4 @@
1
- import { d as p } from "./app-CNKD3vjZ.js";
1
+ import { d as p } from "./app-BYXLBTAp.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  const u = p((s, n) => {
4
4
  function o() {
@@ -2,9 +2,9 @@ var ht = Object.defineProperty;
2
2
  var pt = (l, u, _) => u in l ? ht(l, u, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : l[u] = _;
3
3
  var ce = (l, u, _) => pt(l, typeof u != "symbol" ? u + "" : u, _);
4
4
  import { useCoreStore as Ke } from "@feedmepos/mf-common";
5
- import { a1 as ve, a as ft, u as Ve, k as ot } from "./app-CNKD3vjZ.js";
5
+ import { Y as ve, a as ft, u as Ve, k as ot } from "./app-BYXLBTAp.js";
6
6
  import { readonly as Ge, ref as de } from "vue";
7
- import "./inventory-core-dart.default-CSFkzl91.js";
7
+ import "./inventory-core-dart.default-BOIZGOJM.js";
8
8
  var qe = { exports: {} };
9
9
  (function(l, u) {
10
10
  (function(_, p) {
@@ -191,14 +191,14 @@ var qe = { exports: {} };
191
191
  if (d && o === "".concat(e.getContext().identity)) {
192
192
  var V = d.flags, F = d.traits, U = d.identifier;
193
193
  e.isLoading = !1;
194
- var I = {}, R = {};
194
+ var I = {}, N = {};
195
195
  F = F || [], (V = V || []).forEach(function(S) {
196
196
  I[S.feature.name.toLowerCase().replace(/ /g, "_")] = { id: S.feature.id, enabled: S.enabled, value: S.feature_state_value };
197
197
  }), F.forEach(function(S) {
198
- R[S.trait_key.toLowerCase().replace(/ /g, "_")] = { transient: S.transient, value: S.trait_value };
198
+ N[S.trait_key.toLowerCase().replace(/ /g, "_")] = { transient: S.transient, value: S.trait_value };
199
199
  }), e.oldFlags = s({}, e.flags);
200
- var G = E(e.oldFlags, I), re = E((m = e.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits, R);
201
- if ((U || Object.keys(R).length) && (e.evaluationContext.identity = s(s({}, e.evaluationContext.identity), { traits: R }), U && (e.evaluationContext.identity.identifier = U)), e.flags = I, e.updateStorage(), e._onChange(e.oldFlags, { isFromServer: !0, flagsChanged: G, traitsChanged: re }, e._loadedState(null, f.SERVER)), e.datadogRum) try {
200
+ var G = E(e.oldFlags, I), re = E((m = e.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits, N);
201
+ if ((U || Object.keys(N).length) && (e.evaluationContext.identity = s(s({}, e.evaluationContext.identity), { traits: N }), U && (e.evaluationContext.identity.identifier = U)), e.flags = I, e.updateStorage(), e._onChange(e.oldFlags, { isFromServer: !0, flagsChanged: G, traitsChanged: re }, e._loadedState(null, f.SERVER)), e.datadogRum) try {
202
202
  if (e.datadogRum.trackTraits) {
203
203
  var ie = {};
204
204
  Object.keys(((c = e.evaluationContext.identity) === null || c === void 0 ? void 0 : c.traits) || {}).map(function(S) {
@@ -300,13 +300,13 @@ var qe = { exports: {} };
300
300
  var I = parseFloat(U);
301
301
  if (isNaN(I)) return Promise.reject("Failed to parse x-flagsmith-document-updated-at");
302
302
  e.timestamp = I;
303
- } catch (R) {
304
- e.log(R, "Failed to parse x-flagsmith-document-updated-at", U);
303
+ } catch (N) {
304
+ e.log(N, "Failed to parse x-flagsmith-document-updated-at", U);
305
305
  }
306
- return e.log("Fetch response: " + b.status + " " + (n || "GET") + 0 + r), b.text().then(function(R) {
307
- var G = R;
306
+ return e.log("Fetch response: " + b.status + " " + (n || "GET") + 0 + r), b.text().then(function(N) {
307
+ var G = N;
308
308
  try {
309
- G = JSON.parse(R);
309
+ G = JSON.parse(N);
310
310
  } catch {
311
311
  }
312
312
  return !G && b.status && (G = "API Response: ".concat(b.status)), b.status && b.status >= 200 && b.status < 300 ? G : Promise.reject(new Error(G));
@@ -328,31 +328,31 @@ var qe = { exports: {} };
328
328
  return i.prototype.init = function(t) {
329
329
  var e, r, n;
330
330
  return O(this, void 0, void 0, function() {
331
- var a, o, v, d, m, c, b, k, V, F, U, I, R, G, re, ie, Z, T, S, ge, ae, Qe, Q, ye, et, tt, me, nt, be, oe, ee, rt, L = this;
331
+ var a, o, v, d, m, c, b, k, V, F, U, I, N, G, re, ie, Z, T, S, ge, ae, Qe, Q, ye, et, tt, me, nt, be, oe, ee, rt, L = this;
332
332
  return K(this, function(D) {
333
333
  switch (D.label) {
334
334
  case 0:
335
335
  a = Y(t.evaluationContext || this.evaluationContext), D.label = 1;
336
336
  case 1:
337
- if (D.trys.push([1, 13, , 14]), o = t.environmentID, v = t.api, d = v === void 0 ? Be : v, m = t.headers, c = t.onChange, b = t.cacheFlags, k = t.datadogRum, V = t.onError, F = t.defaultFlags, U = t.fetch, I = t.preventFetch, R = t.enableLogs, G = t.enableDynatrace, re = t.enableAnalytics, ie = t.realtime, Z = t.eventSourceUrl, T = Z === void 0 ? "https://realtime.flagsmith.com/" : Z, S = t.AsyncStorage, ge = t.identity, ae = t.traits, Qe = t.state, Q = t.cacheOptions, ye = t.angularHttpClient, et = t._trigger, tt = t._triggerLoadingState, a.environment = o ? { apiKey: o } : a.environment, !a.environment || !a.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
338
- if (a.identity = ge || ae ? { identifier: ge, traits: ae ? Object.fromEntries(Object.entries(ae).map(function(N) {
339
- return [N[0], { value: N[1] }];
340
- })) : {} } : a.identity, this.evaluationContext = a, this.api = d, this.headers = m, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = c, me = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = et || this._trigger, this._triggerLoadingState = tt || this._triggerLoadingState, this.onError = function(N) {
341
- L.setLoadingState(s(s({}, L.loadingState), { isFetching: !1, isLoading: !1, error: N })), V == null || V(N);
342
- }, this.enableLogs = R || !1, this.cacheOptions = Q ? { skipAPI: !!Q.skipAPI, ttl: Q.ttl || 0, storageKey: Q.storageKey, loadStale: !!Q.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), U && (C = U), this.enableAnalytics = re || !1, this.flags = Object.assign({}, F) || {}, this.datadogRum = k || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = j !== void 0 && !!b, le = "FLAGSMITH_EVENT_" + a.environment.apiKey, S && (j = S), ie && typeof window < "u" && this.setupRealtime(T, a.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = s(s({}, this.loadingState), { isLoading: !1, source: f.DEFAULT_FLAGS })), this.setState(Qe), this.log("Initialising with properties", t, this), G && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), ye && (C = /* @__PURE__ */ function(N) {
337
+ if (D.trys.push([1, 13, , 14]), o = t.environmentID, v = t.api, d = v === void 0 ? Be : v, m = t.headers, c = t.onChange, b = t.cacheFlags, k = t.datadogRum, V = t.onError, F = t.defaultFlags, U = t.fetch, I = t.preventFetch, N = t.enableLogs, G = t.enableDynatrace, re = t.enableAnalytics, ie = t.realtime, Z = t.eventSourceUrl, T = Z === void 0 ? "https://realtime.flagsmith.com/" : Z, S = t.AsyncStorage, ge = t.identity, ae = t.traits, Qe = t.state, Q = t.cacheOptions, ye = t.angularHttpClient, et = t._trigger, tt = t._triggerLoadingState, a.environment = o ? { apiKey: o } : a.environment, !a.environment || !a.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
338
+ if (a.identity = ge || ae ? { identifier: ge, traits: ae ? Object.fromEntries(Object.entries(ae).map(function(R) {
339
+ return [R[0], { value: R[1] }];
340
+ })) : {} } : a.identity, this.evaluationContext = a, this.api = d, this.headers = m, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = c, me = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = et || this._trigger, this._triggerLoadingState = tt || this._triggerLoadingState, this.onError = function(R) {
341
+ L.setLoadingState(s(s({}, L.loadingState), { isFetching: !1, isLoading: !1, error: R })), V == null || V(R);
342
+ }, this.enableLogs = N || !1, this.cacheOptions = Q ? { skipAPI: !!Q.skipAPI, ttl: Q.ttl || 0, storageKey: Q.storageKey, loadStale: !!Q.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), U && (C = U), this.enableAnalytics = re || !1, this.flags = Object.assign({}, F) || {}, this.datadogRum = k || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = j !== void 0 && !!b, le = "FLAGSMITH_EVENT_" + a.environment.apiKey, S && (j = S), ie && typeof window < "u" && this.setupRealtime(T, a.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = s(s({}, this.loadingState), { isLoading: !1, source: f.DEFAULT_FLAGS })), this.setState(Qe), this.log("Initialising with properties", t, this), G && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), ye && (C = /* @__PURE__ */ function(R) {
343
343
  return function(q, B) {
344
344
  var z = B.headers, x = B.method, te = B.body;
345
345
  return new Promise(function(X) {
346
346
  switch (x) {
347
347
  case "GET":
348
- return N.get(q, { headers: z }).subscribe(function(M) {
348
+ return R.get(q, { headers: z }).subscribe(function(M) {
349
349
  X({ ok: !0, text: function() {
350
350
  return Promise.resolve(M);
351
351
  } });
352
352
  });
353
353
  case "POST":
354
354
  case "PUT":
355
- return N.post(q, te, { headers: z }).subscribe(function(M) {
355
+ return R.post(q, te, { headers: z }).subscribe(function(M) {
356
356
  X({ ok: !0, text: function() {
357
357
  return Promise.resolve(M);
358
358
  } });
@@ -360,14 +360,14 @@ var qe = { exports: {} };
360
360
  }
361
361
  });
362
362
  };
363
- }(ye)), j && this.canUseStorage && j.getItem(le).then(function(N) {
363
+ }(ye)), j && this.canUseStorage && j.getItem(le).then(function(R) {
364
364
  try {
365
- L.evaluationEvent = JSON.parse(N) || {};
365
+ L.evaluationEvent = JSON.parse(R) || {};
366
366
  } catch {
367
367
  L.evaluationEvent = {};
368
368
  }
369
369
  L.analyticsInterval = setInterval(L.analyticsFlags, L.ticks);
370
- }), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), j && this.canUseStorage && j.getItem(le, function(N, q) {
370
+ }), this.enableAnalytics && (this.analyticsInterval && clearInterval(this.analyticsInterval), j && this.canUseStorage && j.getItem(le, function(R, q) {
371
371
  if (q && L.evaluationContext.environment) {
372
372
  var B = JSON.parse(q);
373
373
  if (B[L.evaluationContext.environment.apiKey]) {
@@ -377,16 +377,16 @@ var qe = { exports: {} };
377
377
  }
378
378
  })), !b) return [3, 9];
379
379
  if (!j || !this.canUseStorage) return [3, 8];
380
- nt = function(N, q) {
380
+ nt = function(R, q) {
381
381
  return O(L, void 0, void 0, function() {
382
- var B, z, x, te, X, M, Se, it, Ce, xe, we, Ee, Oe, ke, Te, Le, je, Pe, Ae, Fe, Ie, Re, Ne, Ue, at = this;
382
+ var B, z, x, te, X, M, Se, it, Ce, xe, we, Ee, Oe, ke, Te, Le, je, Pe, Ae, Fe, Ie, Ne, Re, Ue, at = this;
383
383
  return K(this, function(H) {
384
384
  switch (H.label) {
385
385
  case 0:
386
386
  if (!q) return [3, 7];
387
387
  B = null, z = null, H.label = 1;
388
388
  case 1:
389
- return H.trys.push([1, 5, , 6]), x = JSON.parse(q), te = !1, X = !1, x && x.api === this.api && ((xe = (Ce = x.evaluationContext) === null || Ce === void 0 ? void 0 : Ce.environment) === null || xe === void 0 ? void 0 : xe.apiKey) === ((we = this.evaluationContext.environment) === null || we === void 0 ? void 0 : we.apiKey) && (M = !0, this.evaluationContext.identity && ((Oe = (Ee = x.evaluationContext) === null || Ee === void 0 ? void 0 : Ee.identity) === null || Oe === void 0 ? void 0 : Oe.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Te = (ke = x.evaluationContext) === null || ke === void 0 ? void 0 : ke.identity) === null || Te === void 0 ? void 0 : Te.identifier) + " to " + this.evaluationContext.identity.identifier), M = !1), this.cacheOptions.ttl && (!x.ts || (/* @__PURE__ */ new Date()).valueOf() - x.ts > this.cacheOptions.ttl) && (x.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), M = !1) : x.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), X = !0, M = !0)), M && (te = !0, z = E((Le = this.evaluationContext.identity) === null || Le === void 0 ? void 0 : Le.traits, (Pe = (je = x.evaluationContext) === null || je === void 0 ? void 0 : je.identity) === null || Pe === void 0 ? void 0 : Pe.traits), B = E(this.flags, x.flags), this.setState(s(s({}, x), { evaluationContext: Y(s(s({}, x.evaluationContext), { identity: !((Ae = x.evaluationContext) === null || Ae === void 0) && Ae.identity ? s(s({}, (Fe = x.evaluationContext) === null || Fe === void 0 ? void 0 : Fe.identity), { traits: s(s({}, ((Re = (Ie = x.evaluationContext) === null || Ie === void 0 ? void 0 : Ie.identity) === null || Re === void 0 ? void 0 : Re.traits) || {}), ae || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", x))), te ? (Se = !I && (!this.cacheOptions.skipAPI || X), this._onChange(null, { isFromServer: !1, flagsChanged: B, traitsChanged: z }, this._loadedState(null, f.CACHE, Se)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && te && !X && this.log("Skipping API, using cache"), Se && this.getFlags().catch(function(dt) {
389
+ return H.trys.push([1, 5, , 6]), x = JSON.parse(q), te = !1, X = !1, x && x.api === this.api && ((xe = (Ce = x.evaluationContext) === null || Ce === void 0 ? void 0 : Ce.environment) === null || xe === void 0 ? void 0 : xe.apiKey) === ((we = this.evaluationContext.environment) === null || we === void 0 ? void 0 : we.apiKey) && (M = !0, this.evaluationContext.identity && ((Oe = (Ee = x.evaluationContext) === null || Ee === void 0 ? void 0 : Ee.identity) === null || Oe === void 0 ? void 0 : Oe.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((Te = (ke = x.evaluationContext) === null || ke === void 0 ? void 0 : ke.identity) === null || Te === void 0 ? void 0 : Te.identifier) + " to " + this.evaluationContext.identity.identifier), M = !1), this.cacheOptions.ttl && (!x.ts || (/* @__PURE__ */ new Date()).valueOf() - x.ts > this.cacheOptions.ttl) && (x.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), M = !1) : x.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + x.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - x.ts) + "ms"), X = !0, M = !0)), M && (te = !0, z = E((Le = this.evaluationContext.identity) === null || Le === void 0 ? void 0 : Le.traits, (Pe = (je = x.evaluationContext) === null || je === void 0 ? void 0 : je.identity) === null || Pe === void 0 ? void 0 : Pe.traits), B = E(this.flags, x.flags), this.setState(s(s({}, x), { evaluationContext: Y(s(s({}, x.evaluationContext), { identity: !((Ae = x.evaluationContext) === null || Ae === void 0) && Ae.identity ? s(s({}, (Fe = x.evaluationContext) === null || Fe === void 0 ? void 0 : Fe.identity), { traits: s(s({}, ((Ne = (Ie = x.evaluationContext) === null || Ie === void 0 ? void 0 : Ie.identity) === null || Ne === void 0 ? void 0 : Ne.traits) || {}), ae || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", x))), te ? (Se = !I && (!this.cacheOptions.skipAPI || X), this._onChange(null, { isFromServer: !1, flagsChanged: B, traitsChanged: z }, this._loadedState(null, f.CACHE, Se)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && te && !X && this.log("Skipping API, using cache"), Se && this.getFlags().catch(function(dt) {
390
390
  var De;
391
391
  (De = at.onError) === null || De === void 0 || De.call(at, dt);
392
392
  }), [3, 4]) : [3, 2];
@@ -405,7 +405,7 @@ var qe = { exports: {} };
405
405
  case 8:
406
406
  return H.sent(), [3, 10];
407
407
  case 9:
408
- if (F) this._onChange(null, { isFromServer: !1, flagsChanged: E({}, this.flags), traitsChanged: E({}, (Ne = this.evaluationContext.identity) === null || Ne === void 0 ? void 0 : Ne.traits) }, this._loadedState(null, f.DEFAULT_FLAGS));
408
+ if (F) this._onChange(null, { isFromServer: !1, flagsChanged: E({}, this.flags), traitsChanged: E({}, (Re = this.evaluationContext.identity) === null || Re === void 0 ? void 0 : Re.traits) }, this._loadedState(null, f.DEFAULT_FLAGS));
409
409
  else {
410
410
  if (!this.flags) throw new Error(me);
411
411
  this._onChange(null, { isFromServer: !1, flagsChanged: E({}, this.flags), traitsChanged: E({}, (Ue = this.evaluationContext.identity) === null || Ue === void 0 ? void 0 : Ue.traits) }, this._loadedState(null, f.DEFAULT_FLAGS));
@@ -1000,7 +1000,7 @@ const h = de(lt()), wt = () => ({
1000
1000
  get enableReceiveRequestBeta() {
1001
1001
  return h.value.inventory_receive_request_beta;
1002
1002
  },
1003
- get enableProductionRun() {
1003
+ get enableProductionItem() {
1004
1004
  return h.value.inventory_portal_production_item;
1005
1005
  },
1006
1006
  get poForecastDaysConstraint() {
@@ -1,4 +1,4 @@
1
- import { h as n } from "./date2-B00CYgio.js";
1
+ import { h as n } from "./date2-Bakt163M.js";
2
2
  function d(r) {
3
3
  const t = a(r);
4
4
  return t === null ? "" : n(t);