@feedmepos/mf-inventory-portal 1.8.0-dev.15 → 1.8.0-dev.16

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 (136) hide show
  1. package/dist/{App-BYwjYoox.js → App-xSsyvQV_.js} +515 -536
  2. package/dist/{ApprovalView-CvfLuQiG.js → ApprovalView-DfJ0FAiD.js} +9 -9
  3. package/dist/{BindingsDialog-CS0IlwGC.js → BindingsDialog-oAZyjgrN.js} +2 -2
  4. package/dist/{BindingsPicker-CqY5tyvT.js → BindingsPicker-CEIo7myR.js} +8 -8
  5. package/dist/{BindingsTable-BA1CMNtR.js → BindingsTable-BKa-JYRR.js} +4 -4
  6. package/dist/BulkReceiveRequestPage-C6Oyg5-E.js +2839 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-B6s_QcuY.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BvleQo5y.js} +1 -1
  8. package/dist/{ClosingDraftView-Bk8TmRfV.js → ClosingDraftView-tJrjqyAC.js} +19 -19
  9. package/dist/{ClosingHistoryView-XMROUlaz.js → ClosingHistoryView-CJQlK4Xc.js} +7 -7
  10. package/dist/{ClosingTemplateView-CxQp2kaI.js → ClosingTemplateView-DYRtdK5h.js} +18 -18
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-KgvAbmkj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DEwi7wFf.js} +1 -1
  12. package/dist/{DefaultView-DNKPKrrr.js → DefaultView-CxTBlkln.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-CfCMlcEC.js → DeliveryOrderPrintPreview-Bywdjc2U.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BLfRq8o3.js → EmailDialog.vue_vue_type_script_setup_true_lang-DcFAUTdO.js} +38 -33
  15. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bmei7M_d.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js} +11 -10
  16. package/dist/FeatureCapabilityGate-B41dULfm.js +77 -0
  17. package/dist/FeaturePageGate.vue_vue_type_script_setup_true_lang-D4G6i1D6.js +189 -0
  18. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-AKDqv1C8.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CnqH115V.js} +1 -1
  19. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DQIfW9h3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-QBviJzAO.js} +2 -2
  20. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DrTNzJSz.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BqHtzo20.js} +2 -2
  21. package/dist/{FmMultiselectDialog-CchCZDYp.js → FmMultiselectDialog-CFNZMzlC.js} +2 -2
  22. package/dist/{FmMultiselectDialog-DD6AbolT.js → FmMultiselectDialog-M6CvNFW1.js} +2 -2
  23. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-MqvhtQcN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BGco50Ma.js} +5 -5
  24. package/dist/{ImportView-f35OUKFU.js → ImportView-C2GOmpuK.js} +6 -6
  25. package/dist/{IngredientsView-CLC1di0L.js → IngredientsView-wB9kGiOK.js} +15 -15
  26. package/dist/{IntegrationExplorerView-BWzUCAD0.js → IntegrationExplorerView-BujwGE4q.js} +1414 -1485
  27. package/dist/{IntegrationPlatformView-C78gW5nI.js → IntegrationPlatformView-Wnvj6-BG.js} +4899 -4794
  28. package/dist/{IntegrationView-CnUWuRtH.js → IntegrationView-C77rSbpn.js} +14 -14
  29. package/dist/{InventoryBindingForm-ZGjVpCAI.js → InventoryBindingForm-Bs7Duwfj.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQDso4fW.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DawAEeuP.js} +4 -4
  31. package/dist/{InventoryBindingSummary-B68FLrzC.js → InventoryBindingSummary-BefkYWIr.js} +1 -1
  32. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DlCmFAUg.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BpUMK6fj.js} +2 -2
  33. package/dist/PlanTierBadge.vue_vue_type_script_setup_true_lang-CM3gtYZo.js +19 -0
  34. package/dist/{PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-E6WVZA-D.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-0F-yOcPC.js} +1 -1
  35. package/dist/PremiumUpgradePage.vue_vue_type_script_setup_true_lang-DGAxPOEh.js +58 -0
  36. package/dist/ProductionRunDetailPage-CVx9LS-P.js +2316 -0
  37. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang--NWDSxIT.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-4aYz5NwS.js} +1626 -1712
  38. package/dist/ProductionRunPage-CuXzmWMc.js +953 -0
  39. package/dist/{PublishView-BvuP_W4l.js → PublishView-Bu8J6ndy.js} +3 -3
  40. package/dist/{PurchaseOrderPrintPreview-CTFNQWED.js → PurchaseOrderPrintPreview-DaslFe8u.js} +2 -2
  41. package/dist/{ReceiveRequestView-Ca9jGuKW.js → ReceiveRequestView-CKPBpN4x.js} +13 -13
  42. package/dist/{RecipeView-Vm2c1vGo.js → RecipeView-BeZ9ljtA.js} +15 -15
  43. package/dist/{SettingsView-49IPE742.js → SettingsView-CWhMdNfn.js} +10 -9
  44. package/dist/{StockView-CylYMrFJ.js → StockView-C5IhPGxi.js} +21 -21
  45. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DYoom8UC.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9Rx_9b7.js} +1 -1
  46. package/dist/{SupplierView-CCB8gkT1.js → SupplierView-BSGajl9V.js} +13 -13
  47. package/dist/{SurchargeView-MXCxLWTu.js → SurchargeView-DtAszxTN.js} +7 -7
  48. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-D9LGk7R7.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CfxroS8u.js} +2 -2
  49. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Cp2CDerI.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CTj_jYK1.js} +1 -1
  50. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B_9i5LzY.js +4900 -0
  51. package/dist/{TransferTemplateView-DZEYUHOu.js → TransferTemplateView-D6_AfMja.js} +19 -19
  52. package/dist/{UnitCostHistoryView-TnQwZk3R.js → UnitCostHistoryView-kisQehVE.js} +4 -4
  53. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C6o4xrjZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DKoPNZoW.js} +4 -4
  54. package/dist/{UnitView-CFqdNGjT.js → UnitView-jSLennZW.js} +7 -7
  55. package/dist/{WarehouseView-rH3loGl_.js → WarehouseView-CUdWJCMq.js} +8 -8
  56. package/dist/{WastageTemplateView-Cnsi_EJ1.js → WastageTemplateView--B0LSwHa.js} +15 -15
  57. package/dist/api/netsuite-explorer.d.ts +1 -0
  58. package/dist/{app-O0ln50NT.js → app-Bb5HLWTu.js} +2041 -2045
  59. package/dist/app.d.ts +6 -6
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-BcXKc7kW.js → closing-template-CgDMayoo.js} +1 -1
  62. package/dist/components/FeatureCapabilityGate.vue.d.ts +2 -0
  63. package/dist/components/FeatureGateLayout.vue.d.ts +11 -0
  64. package/dist/components/FeaturePageGate.spec.d.ts +1 -0
  65. package/dist/components/FeaturePageGate.vue.d.ts +34 -0
  66. package/dist/components/FmAdminCollapsiblePanel.vue.d.ts +1 -1
  67. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  68. package/dist/components/FmInventoryTableToolbar.vue.d.ts +2 -2
  69. package/dist/components/HrmPermissionGuard.vue.d.ts +1 -1
  70. package/dist/components/PremiumUpgradePage.vue.d.ts +2 -0
  71. package/dist/{date2-BVVlNlAO.js → date2-D9gB9BE-.js} +1 -1
  72. package/dist/{dayjs.min-86T3g7jl.js → dayjs.min-CumM_kH7.js} +1 -1
  73. package/dist/{decimal-BceSQ9qu.js → decimal-CVF1rRoj.js} +2 -2
  74. package/dist/{defineDeepModel-CYCLZ-jP.js → defineDeepModel-DE-DsQjm.js} +1 -1
  75. package/dist/{duplicate-template-BOQW9uDO.js → duplicate-template-CFYtQfQn.js} +1 -1
  76. package/dist/feature-flags/vue.d.ts +22 -1
  77. package/dist/{feature-SfaxOOo8.js → feature-kti8bU8q.js} +412 -346
  78. package/dist/{format-time-from-id-DcZjh4zF.js → format-time-from-id-CWZ5VGvM.js} +1 -1
  79. package/dist/{format-unit-display-B_Leyj1M.js → format-unit-display-BlxdvskN.js} +12 -12
  80. package/dist/{id-to-date-CxJMEppi.js → id-to-date-BaH_1Kui.js} +1 -1
  81. package/dist/{import-export.helper-CTzQihBw.js → import-export.helper-8rKrOB0E.js} +5 -5
  82. package/dist/{index-D5JOuvFG.js → index-B9p_OEdk.js} +1 -1
  83. package/dist/{index-DiN65wc9.js → index-BHc3cNyz.js} +3 -3
  84. package/dist/{index-WnJgGINW.js → index-MEUJonBr.js} +1 -1
  85. package/dist/layout/SingleColumnLayout.vue.d.ts +1 -1
  86. package/dist/{lz-string-COM8L2Yg.js → lz-string-IiazGN0W.js} +1 -1
  87. package/dist/{netsuite-B4PKJ2O4.js → netsuite-BeDxaeKM.js} +2 -2
  88. package/dist/netsuite-explorer-4IluitzS.js +79 -0
  89. package/dist/{predefined-templates-jno0IPO6.js → predefined-templates-D4qVID1q.js} +1 -1
  90. package/dist/{purchase-order-template-CBgiJ239.js → purchase-order-template-GTOntq3C.js} +1 -1
  91. package/dist/{recalculationUtils-C-dyQAGg.js → recalculationUtils-Dye8x2TO.js} +1 -1
  92. package/dist/{row-action.enum-D2CmAs2h.js → row-action.enum-CVJbq_-y.js} +1 -1
  93. package/dist/{rules-CByHkO8L.js → rules-Y3zXVj3i.js} +3 -3
  94. package/dist/{stock-DrSVVTuZ.js → stock-BIjTQFsR.js} +2 -2
  95. package/dist/{stock-DbyYZzKm.js → stock-BR8x3nlx.js} +1 -1
  96. package/dist/stores/feature.d.ts +21 -1
  97. package/dist/stores/feature.load-state.spec.d.ts +1 -0
  98. package/dist/stores/warehouse.d.ts +1 -1
  99. package/dist/style.css +1 -1
  100. package/dist/{supplier-DcqbvDxz.js → supplier-CbdCjiIB.js} +2 -2
  101. package/dist/{surcharge-BqcD_sf2.js → surcharge-BoXLK6o0.js} +1 -1
  102. package/dist/tsconfig.app.tsbuildinfo +1 -1
  103. package/dist/{uom-rules-2cAqJPJa.js → uom-rules-C5h1AoPJ.js} +1 -1
  104. package/dist/{use-ingredient-select-dialog-DwQn7p6y.js → use-ingredient-select-dialog-D196q_qk.js} +2 -2
  105. package/dist/{use-inventory-binding-dialog-Id5sz9Xu.js → use-inventory-binding-dialog-B4IhhCjM.js} +2 -2
  106. package/dist/{use-template-enabled-locations-8RnaHV8u.js → use-template-enabled-locations-CDKP3kTS.js} +2 -2
  107. package/dist/{use-transfer-locations-JvPP8F4f.js → use-transfer-locations-DE4vxSDp.js} +2 -2
  108. package/dist/{useHrmPermission-OGla5jyF.js → useHrmPermission-D1dkveCP.js} +1 -1
  109. package/dist/{useNavigationMenu-BVJlsjVn.js → useNavigationMenu-N5_7da8m.js} +39 -39
  110. package/dist/{useSseClient-BaM0oGDR.js → useSseClient-CKpNaz5g.js} +1 -1
  111. package/dist/views/changelog/composables/use-snapshot-diff.d.ts +2 -2
  112. package/dist/views/integration/IntegrationPlatformView.vue.d.ts +2 -0
  113. package/dist/views/production-run/ProductionRunDetailPage.spec.d.ts +1 -0
  114. package/dist/views/production-run/ProductionRunDetailPage.vue.d.ts +15 -0
  115. package/dist/views/production-run/ProductionRunPage.vue.d.ts +2 -0
  116. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +11 -1
  117. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -1
  118. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +1 -1
  119. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +1 -1
  120. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +2 -2
  121. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +3 -3
  122. package/dist/views/receive-request/composables/use-receive-request-form.spec.d.ts +1 -0
  123. package/dist/views/receive-request-bulk/BulkReceiveRequestPage.vue.d.ts +2 -0
  124. package/dist/views/receive-request-bulk/components/CreateTransferWizard.spec.d.ts +1 -0
  125. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +6 -6
  126. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.readiness.spec.d.ts +1 -0
  127. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
  128. package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-DwUCuX11.js → vue-CxSKQOrZ.js} +84 -68
  129. package/dist/{vue-i18n-Cf9XKwOr.js → vue-i18n-CTR_IUvd.js} +258 -258
  130. package/dist/{xlsx.util-EZTW-mf4.js → xlsx.util-J9pxGRQD.js} +2 -2
  131. package/package.json +4 -4
  132. package/dist/BulkReceiveRequestView-CFaMPFfO.js +0 -2657
  133. package/dist/FeatureCapabilityGate-CFUPteG8.js +0 -74
  134. package/dist/ProductionRunDetailView-DPcovCY1.js +0 -2312
  135. package/dist/ProductionRunView-DJXZ_hmi.js +0 -931
  136. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BIc4mZJI.js +0 -4847
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-B4PKJ2O4.js";
2
+ import { u } from "./netsuite-BeDxaeKM.js";
3
3
  function i(e) {
4
4
  const t = (n) => !!n && n.toLocaleLowerCase().includes("inactive");
5
5
  return t(e.name) || t(e.abbrev);
@@ -1,6 +1,6 @@
1
1
  import { defineStore as S } from "pinia";
2
- import { a as b } from "./app-O0ln50NT.js";
3
- import { a as A } from "./FmMultiselectDialog-CchCZDYp.js";
2
+ import { a as b } from "./app-Bb5HLWTu.js";
3
+ import { a as A } from "./FmMultiselectDialog-CFNZMzlC.js";
4
4
  import { useDialog as I } from "@feedmepos/ui-library";
5
5
  import { useI18n as D } from "@feedmepos/mf-common";
6
6
  const w = S(
@@ -1,5 +1,5 @@
1
- import { a as y } from "./FmMultiselectDialog-CchCZDYp.js";
2
- import { a as S } from "./app-O0ln50NT.js";
1
+ import { a as y } from "./FmMultiselectDialog-CFNZMzlC.js";
2
+ import { a as S } from "./app-Bb5HLWTu.js";
3
3
  import { useDialog as E } from "@feedmepos/ui-library";
4
4
  function w() {
5
5
  const c = S(), g = E();
@@ -1,5 +1,5 @@
1
- import { a as A } from "./FmMultiselectDialog-CchCZDYp.js";
2
- import { u as S } from "./app-O0ln50NT.js";
1
+ import { a as A } from "./FmMultiselectDialog-CFNZMzlC.js";
2
+ import { u as S } from "./app-Bb5HLWTu.js";
3
3
  import { useI18n as w, useCoreStore as i, useCustomAttributes as _ } from "@feedmepos/mf-common";
4
4
  import { useDialog as C, components as p } from "@feedmepos/ui-library";
5
5
  import { computed as r, h as c } from "vue";
@@ -1,5 +1,5 @@
1
- import { u as g, r as l, a0 as w, a3 as R } from "./app-O0ln50NT.js";
2
- import { u as E } from "./supplier-DcqbvDxz.js";
1
+ import { u as g, r as l, a0 as w, a3 as R } from "./app-Bb5HLWTu.js";
2
+ import { u as E } from "./supplier-CbdCjiIB.js";
3
3
  import { computed as u } from "vue";
4
4
  function d(n) {
5
5
  const c = R.safeParse(n);
@@ -1,5 +1,5 @@
1
1
  import { computed as p, toValue as o } from "vue";
2
- import { ac as n } from "./app-O0ln50NT.js";
2
+ import { ac as n } from "./app-Bb5HLWTu.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,10 +1,10 @@
1
1
  import { computed as R, h as P } from "vue";
2
- import { R as e, ad as O, ae as A, ac as U } from "./app-O0ln50NT.js";
2
+ import { R as e, ad as O, ae as A, ac as U } from "./app-Bb5HLWTu.js";
3
3
  import { useCoreStore as b, useI18n as L } from "@feedmepos/mf-common";
4
- import { u as y, I as E, f as v } from "./feature-SfaxOOo8.js";
5
- import { e as G, g, d as M, i as H } from "./PlanTierBadge.vue_vue_type_script_setup_true_lang-DwUCuX11.js";
6
- import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Bmei7M_d.js";
7
- const _ = [
4
+ import { u as y, I as E, f as v } from "./feature-kti8bU8q.js";
5
+ import { e as G, g, d as M, f as F, i as H } from "./vue-CxSKQOrZ.js";
6
+ import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C8c6rmJv.js";
7
+ const h = [
8
8
  {
9
9
  route: e.STOCK,
10
10
  module: "Stock",
@@ -140,55 +140,55 @@ const _ = [
140
140
  tier: "standard",
141
141
  description: "Inspect and manage integration records and synchronization."
142
142
  }
143
- ], F = Object.fromEntries(
144
- _.map((s) => {
143
+ ], k = Object.fromEntries(
144
+ h.map((o) => {
145
145
  var u;
146
- const o = g(s.featureKey ?? "");
146
+ const s = g(o.featureKey ?? "");
147
147
  return [
148
- s.route,
148
+ o.route,
149
149
  M({
150
- key: s.route,
151
- minimumTier: s.tier,
152
- release: s.release ?? ((u = o == null ? void 0 : o.definition) == null ? void 0 : u.release),
153
- flagKeys: o == null ? void 0 : o.flagKeys
150
+ key: o.route,
151
+ minimumTier: o.tier,
152
+ release: o.release ?? ((u = s == null ? void 0 : s.definition) == null ? void 0 : u.release),
153
+ flagKeys: s == null ? void 0 : s.flagKeys
154
154
  })
155
155
  ];
156
156
  })
157
157
  );
158
- function k(s) {
159
- return _.find((o) => o.route === s) ?? null;
158
+ function B(o) {
159
+ return h.find((s) => s.route === o) ?? null;
160
160
  }
161
- function B(s) {
162
- return s ? F[s] ?? null : null;
161
+ function D(o) {
162
+ return o ? k[o] ?? null : null;
163
163
  }
164
- function q(s, o) {
165
- const u = B(s);
166
- return u ? G(u, o) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
164
+ function x(o, s) {
165
+ const u = D(o);
166
+ return u ? G(u, s) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
167
167
  }
168
- const D = A.reduce(
169
- (s, o) => {
168
+ const V = A.reduce(
169
+ (o, s) => {
170
170
  var u;
171
- return o.name && (s[o.name] = (u = o.meta) == null ? void 0 : u.validationManifest), s;
171
+ return s.name && (o[s.name] = (u = s.meta) == null ? void 0 : u.validationManifest), o;
172
172
  },
173
173
  {}
174
174
  );
175
- function x() {
176
- const s = b(), o = y(), { t: u } = L(), a = (t) => O(t, u), h = R(
175
+ function z() {
176
+ const o = b(), s = y(), { t: u } = L(), a = (t) => O(t, u), _ = R(
177
177
  () => {
178
178
  var t;
179
- return ((t = s.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
179
+ return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
180
180
  }
181
- ), N = (t = []) => t.length === 0 ? !0 : U(t, h.value).granted, n = (t) => {
182
- const r = D[t];
183
- return N(r == null ? void 0 : r.requiredCaslPermissions);
181
+ ), f = (t = []) => t.length === 0 ? !0 : U(t, _.value).granted, n = (t) => {
182
+ const r = V[t];
183
+ return f(r == null ? void 0 : r.requiredCaslPermissions);
184
184
  }, c = (t) => {
185
185
  var r;
186
- return ((r = o.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !o.isFlagOn(t);
186
+ return ((r = s.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
187
187
  }, m = (t) => t.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: m(r.children) } : r).filter((r) => !r.children || r.children.length > 0), I = (t) => t.map((r) => {
188
188
  const { hide: d, children: i, ...l } = r, T = { ...l };
189
189
  return i && (T.children = I(i)), T;
190
190
  }), p = (t) => t.map((r) => {
191
- const d = r.value, i = k(d), l = g((i == null ? void 0 : i.featureKey) ?? ""), T = l == null ? void 0 : l.category, C = i && (i.tier === "premium" || T === "beta" || l != null && l.deprecateSoon) ? () => P(K, {
191
+ const d = r.value, i = B(d), l = g((i == null ? void 0 : i.featureKey) ?? ""), T = l == null ? void 0 : l.category, C = i && (i.tier === "premium" || T === "beta" || l != null && l.deprecateSoon) ? () => P(K, {
192
192
  tier: i.tier,
193
193
  category: T,
194
194
  deprecateSoon: l == null ? void 0 : l.deprecateSoon,
@@ -213,7 +213,7 @@ function x() {
213
213
  {
214
214
  label: a(e.PRODUCTION_RUN),
215
215
  value: e.PRODUCTION_RUN,
216
- hide: !n(e.PRODUCTION_RUN) || c(E.inventory_portal_production_item)
216
+ hide: !n(e.PRODUCTION_RUN) || F("production-runs").disabled
217
217
  },
218
218
  {
219
219
  label: a(e.WASTAGE_TEMPLATE),
@@ -223,7 +223,7 @@ function x() {
223
223
  {
224
224
  label: a(e.UNIT_COST_HISTORY),
225
225
  value: e.UNIT_COST_HISTORY,
226
- hide: !n(e.UNIT_COST_HISTORY) || o.isModuleBeta(v.Costing) && !o.isModuleEnabled(v.Costing)
226
+ hide: !n(e.UNIT_COST_HISTORY) || s.isModuleBeta(v.Costing) && !s.isModuleEnabled(v.Costing)
227
227
  }
228
228
  ]
229
229
  },
@@ -323,10 +323,10 @@ function x() {
323
323
  hide: !n(e.SETTINGS)
324
324
  }
325
325
  ], r = p(I(m(t)));
326
- return ((d = s.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
326
+ return ((d = o.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
327
327
  (i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
328
328
  ) : r;
329
- }), f = R(() => {
329
+ }), N = R(() => {
330
330
  function t(d) {
331
331
  for (const i of d)
332
332
  if (i.children && i.children.length > 0) {
@@ -337,10 +337,10 @@ function x() {
337
337
  }
338
338
  return t(S.value) ?? null;
339
339
  });
340
- return { menuItems: S, firstAccessibleRouteName: f };
340
+ return { menuItems: S, firstAccessibleRouteName: N };
341
341
  }
342
342
  export {
343
- q as e,
344
- _ as n,
345
- x as u
343
+ x as e,
344
+ h as n,
345
+ z as u
346
346
  };
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-O0ln50NT.js";
1
+ import { d as se } from "./app-Bb5HLWTu.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -14,13 +14,13 @@ export declare function useSnapshotDiff(): {
14
14
  isLoading: import("vue").Ref<boolean, boolean>;
15
15
  result: import("vue").Ref<{
16
16
  diff: {
17
- type: "add" | "del" | "same" | "skip";
17
+ type: "del" | "add" | "same" | "skip";
18
18
  text: string;
19
19
  }[] | null;
20
20
  conflict: boolean;
21
21
  } | null, SnapshotResult | {
22
22
  diff: {
23
- type: "add" | "del" | "same" | "skip";
23
+ type: "del" | "add" | "same" | "skip";
24
24
  text: string;
25
25
  }[] | null;
26
26
  conflict: boolean;
@@ -4,11 +4,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4
4
  entityType?: string | undefined;
5
5
  locationRef?: string | undefined;
6
6
  canonicalId?: string | undefined;
7
+ netsuiteId?: string | undefined;
7
8
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
9
  provider?: string | undefined;
9
10
  entityType?: string | undefined;
10
11
  locationRef?: string | undefined;
11
12
  canonicalId?: string | undefined;
13
+ netsuiteId?: string | undefined;
12
14
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
15
  export default _default;
14
16
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ id: string;
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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -57,7 +57,17 @@ export declare function recalculationStateOf(result: {
57
57
  stockRecalculationRequired: boolean;
58
58
  stockRecalculationDispatch?: RecalculationDispatch;
59
59
  }): StockRecalculationState | null;
60
- export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>, newWorkEnabled?: MaybeRefOrGetter<boolean>): {
60
+ export interface UseProductionRunDetailOptions {
61
+ /**
62
+ * Whether this composable navigates to the listing when the outlet changes.
63
+ * Pass `false` when the enclosing page owns that navigation: the page is the
64
+ * only layer still mounted while the new outlet's capability loads, and two
65
+ * owners would race two `router.replace` calls. The data is dropped and the
66
+ * id is never re-read against the new outlet either way.
67
+ */
68
+ leaveOnLocationChange?: boolean;
69
+ }
70
+ export declare function useProductionRunDetail(runId: MaybeRefOrGetter<string>, { leaveOnLocationChange }?: UseProductionRunDetailOptions): {
61
71
  run: import("vue").Ref<{
62
72
  _rev: string;
63
73
  closedAt?: string | null | undefined;
@@ -1,4 +1,3 @@
1
1
  import type { RouteLocationRaw } from 'vue-router';
2
2
  export declare function productionRunListRoute(search?: string): RouteLocationRaw;
3
- export declare function productionRunExitRoute(featureEnabled: boolean, search?: string): RouteLocationRaw;
4
3
  export declare function productionRunDetailRoute(id: string, search?: string): RouteLocationRaw;
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
36
36
  testid: string;
37
37
  showTooltip: boolean;
38
38
  }>>> & Readonly<{}>, {
39
- size: ProductionRunInfoSize;
40
39
  variant: ProductionRunInfoVariant;
40
+ size: ProductionRunInfoSize;
41
41
  testid: string;
42
42
  showTooltip: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
@@ -36,9 +36,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
36
36
  testid: string;
37
37
  helpTestid: string;
38
38
  }>>> & Readonly<{}>, {
39
+ variant: ProductionRunInfoVariant;
39
40
  type: 'hint' | 'warning';
40
41
  size: ProductionRunInfoSize;
41
- variant: ProductionRunInfoVariant;
42
42
  testid: string;
43
43
  helpTestid: string;
44
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  visible: boolean;
3
3
  testid?: string | undefined;
4
- surface?: "neutral" | "primary" | undefined;
4
+ surface?: "primary" | "neutral" | undefined;
5
5
  position?: "overlay" | "sticky" | undefined;
6
6
  }>, {
7
7
  testid: string;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
11
  visible: boolean;
12
12
  testid?: string | undefined;
13
- surface?: "neutral" | "primary" | undefined;
13
+ surface?: "primary" | "neutral" | undefined;
14
14
  position?: "overlay" | "sticky" | undefined;
15
15
  }>, {
16
16
  testid: string;
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
6
6
  placeholder?: string | undefined;
7
7
  disabled?: boolean | undefined;
8
8
  helperText?: string | undefined;
9
- helperState?: "success" | "warning" | "error" | "none" | undefined;
9
+ helperState?: "error" | "success" | "warning" | "none" | undefined;
10
10
  }>, {
11
11
  labelMark: string;
12
12
  placeholder: string;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
21
21
  placeholder?: string | undefined;
22
22
  disabled?: boolean | undefined;
23
23
  helperText?: string | undefined;
24
- helperState?: "success" | "warning" | "error" | "none" | undefined;
24
+ helperState?: "error" | "success" | "warning" | "none" | undefined;
25
25
  }>, {
26
26
  labelMark: string;
27
27
  placeholder: string;
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
31
31
  }>, {
32
32
  placeholder: string;
33
33
  labelMark: "required" | "optional" | "none";
34
- helperState: "success" | "warning" | "error" | "none";
34
+ helperState: "error" | "success" | "warning" | "none";
35
35
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
36
36
  label?(): unknown;
37
37
  }> & {
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -18,10 +18,11 @@ export type BulkPoWithLocation = Omit<FdtoPurchaseOrderListItem, 'locationDbName
18
18
  export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<DateRange>): {
19
19
  selectedLocationDbNames: import("vue").Ref<string[], string[]>;
20
20
  purchaseOrders: import("vue").Ref<{
21
- _id: string;
22
21
  ref?: string | null | undefined;
22
+ _id: string;
23
23
  _rev: string;
24
24
  version?: "1" | "2" | null | undefined;
25
+ status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
25
26
  itemCount: number;
26
27
  supplier: {
27
28
  email?: string | null | undefined;
@@ -29,7 +30,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
29
30
  _id: string;
30
31
  name: string;
31
32
  };
32
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
33
33
  seqNumber: number;
34
34
  request?: {
35
35
  id: string;
@@ -58,6 +58,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
58
58
  } | null | undefined;
59
59
  partialReceived?: boolean | null | undefined;
60
60
  overReceived?: boolean | null | undefined;
61
+ template?: string | null | undefined;
61
62
  remark?: string | null | undefined;
62
63
  effectiveAt?: string | null | undefined;
63
64
  items?: {
@@ -157,7 +158,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
157
158
  precision: number;
158
159
  };
159
160
  }[] | undefined;
160
- template?: string | null | undefined;
161
161
  deliveryOrder?: {
162
162
  id?: string | null | undefined;
163
163
  remark?: string | null | undefined;
@@ -760,10 +760,11 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
760
760
  }[] | null | undefined;
761
761
  _locationDbName: string;
762
762
  }[], BulkPoWithLocation[] | {
763
- _id: string;
764
763
  ref?: string | null | undefined;
764
+ _id: string;
765
765
  _rev: string;
766
766
  version?: "1" | "2" | null | undefined;
767
+ status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
767
768
  itemCount: number;
768
769
  supplier: {
769
770
  email?: string | null | undefined;
@@ -771,7 +772,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
771
772
  _id: string;
772
773
  name: string;
773
774
  };
774
- status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "PENDING_APPROVAL" | "CLOSE" | "REJECT";
775
775
  seqNumber: number;
776
776
  request?: {
777
777
  id: string;
@@ -800,6 +800,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
800
800
  } | null | undefined;
801
801
  partialReceived?: boolean | null | undefined;
802
802
  overReceived?: boolean | null | undefined;
803
+ template?: string | null | undefined;
803
804
  remark?: string | null | undefined;
804
805
  effectiveAt?: string | null | undefined;
805
806
  items?: {
@@ -899,7 +900,6 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
899
900
  precision: number;
900
901
  };
901
902
  }[] | undefined;
902
- template?: string | null | undefined;
903
903
  deliveryOrder?: {
904
904
  id?: string | null | undefined;
905
905
  remark?: string | null | undefined;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
19
  options?: any[] | null | undefined;
20
20
  type: "string" | "number" | "boolean" | "date";
21
21
  key: string;
22
- entity: "restaurant" | "warehouse" | "item" | "group" | "inventorySku" | "inventoryRecipe";
22
+ entity: "item" | "group" | "restaurant" | "warehouse" | "inventorySku" | "inventoryRecipe";
23
23
  }[] | null | undefined;
24
24
  pf_agent?: {
25
25
  clickupId?: string | null | undefined;
@@ -113,7 +113,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
113
  options?: any[] | null | undefined;
114
114
  type: "string" | "number" | "boolean" | "date";
115
115
  key: string;
116
- entity: "restaurant" | "warehouse" | "item" | "group" | "inventorySku" | "inventoryRecipe";
116
+ entity: "item" | "group" | "restaurant" | "warehouse" | "inventorySku" | "inventoryRecipe";
117
117
  }[] | null | undefined;
118
118
  pf_agent?: {
119
119
  clickupId?: string | null | undefined;