@feedmepos/mf-inventory-portal 1.8.0-dev.7 → 1.8.0-dev.8

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 (105) hide show
  1. package/dist/App-C8i7vBxz.js +1466 -0
  2. package/dist/{ApprovalView-1Y_jh_UJ.js → ApprovalView-GHgTeCBV.js} +9 -9
  3. package/dist/{BindingsDialog-VMvTLguN.js → BindingsDialog-C4-S2CWk.js} +2 -2
  4. package/dist/{BindingsPicker-KNRM5rMU.js → BindingsPicker-C7YUArBj.js} +2 -2
  5. package/dist/{BindingsTable-CSyNlNCL.js → BindingsTable-1Zoqi4ZS.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-vOeHbWM_.js → BulkReceiveRequestView-Lakk8011.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DFSg0-gv.js} +1 -1
  8. package/dist/{ClosingDraftView-A2pJuhIb.js → ClosingDraftView-CnWFyWSE.js} +20 -20
  9. package/dist/ClosingHistoryView-Bkm0voU6.js +769 -0
  10. package/dist/{ClosingTemplateView-DpkNCyoB.js → ClosingTemplateView-Bz81JTsg.js} +18 -18
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-6s-24euf.js} +1 -1
  12. package/dist/{DefaultView-B4UuAqYu.js → DefaultView-1RRzbPB3.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-w0YcNH3F.js → DeliveryOrderPrintPreview-KcLqjOj1.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js → EmailDialog.vue_vue_type_script_setup_true_lang-r0Q0qhoK.js} +663 -661
  15. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js +47 -0
  16. package/dist/FeatureCapabilityGate-C6t1VwKD.js +74 -0
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-pzIzIWpX.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B6cFB4vX.js} +2 -2
  19. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_o6pX9i.js} +2 -2
  20. package/dist/{FmMultiselectDialog-DMA5eR0C.js → FmMultiselectDialog-CC_Na_p1.js} +2 -2
  21. package/dist/{FmMultiselectDialog-BnZInvgp.js → FmMultiselectDialog-D0GhmOQ9.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DQlSMRoB.js} +6 -6
  23. package/dist/{ImportView-C7Hah7MM.js → ImportView-DCcdEvy4.js} +6 -6
  24. package/dist/{IngredientsView-C4-8qNGD.js → IngredientsView-B2I2OPSb.js} +518 -523
  25. package/dist/{IntegrationExplorerView-D3leld2Z.js → IntegrationExplorerView-WK1EmwLA.js} +4 -4
  26. package/dist/{IntegrationView-BhRzry3g.js → IntegrationView-CeaL92Yj.js} +15 -15
  27. package/dist/{InventoryBindingForm-ewAgZ6e-.js → InventoryBindingForm-DgtaDM0I.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CqDN355J.js} +5 -5
  29. package/dist/{InventoryBindingSummary-e67GzHYr.js → InventoryBindingSummary-C_W456aj.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMDjCk9T.js} +1 -1
  31. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js → PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js} +71 -94
  32. package/dist/PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-D6-lo7iI.js +79 -0
  33. package/dist/{ProductionRunDetailView-Ct7kr5Ht.js → ProductionRunDetailView-C9rxLBbL.js} +4 -4
  34. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DwBY6gIb.js} +7 -7
  35. package/dist/{ProductionRunView-odWyBZGx.js → ProductionRunView-DvMdVGz1.js} +3 -3
  36. package/dist/{PublishView-BXA3k8Cp.js → PublishView-Dv-W6ntx.js} +3 -3
  37. package/dist/{PurchaseOrderPrintPreview-DRugr4BU.js → PurchaseOrderPrintPreview-D1TAnJd_.js} +2 -2
  38. package/dist/{ReceiveRequestView-CeJs9NTD.js → ReceiveRequestView-Rc_uw_Ad.js} +13 -13
  39. package/dist/{RecipeView-BH0REMB3.js → RecipeView-ByUaGc4w.js} +16 -16
  40. package/dist/SettingsView-K5wAt8oo.js +1032 -0
  41. package/dist/StockView-B3EjdjVx.js +2615 -0
  42. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CsRLy0xI.js} +1 -1
  43. package/dist/{SupplierView-DH9u6e2M.js → SupplierView-CLVupRN0.js} +298 -296
  44. package/dist/{SurchargeView-BPVEpc0f.js → SurchargeView-CToB_z5v.js} +7 -7
  45. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CvqIw9q6.js} +2 -2
  46. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BGPuaJlU.js} +1 -1
  47. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js → TransferDetails.vue_vue_type_script_setup_true_lang-8ydaQEw-.js} +785 -769
  48. package/dist/{TransferTemplateView-CEVRsKL7.js → TransferTemplateView-BnfALwmw.js} +20 -20
  49. package/dist/{UnitCostHistoryView-06rIaX_M.js → UnitCostHistoryView-BMB2MeTh.js} +4 -4
  50. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Dn8Y8zfp.js} +4 -4
  51. package/dist/{UnitView-Xk_F9SYG.js → UnitView-Bl8jws6R.js} +8 -8
  52. package/dist/{WarehouseView-bmpLmpcX.js → WarehouseView-BurSM1jg.js} +8 -8
  53. package/dist/{WastageTemplateView-CWV1pFxM.js → WastageTemplateView-DRfJ9LGR.js} +15 -15
  54. package/dist/api/license.d.ts +1 -0
  55. package/dist/{app-CURawLhs.js → app-Duum3eHx.js} +16 -16
  56. package/dist/app.js +1 -1
  57. package/dist/{closing-template-q_KGB4jO.js → closing-template-BE41yfue.js} +1 -1
  58. package/dist/components/FeatureCapabilityGate.spec.d.ts +1 -0
  59. package/dist/components/FeatureCapabilityGate.vue.d.ts +2 -0
  60. package/dist/{date2-3kdweNLp.js → date2-DrhO3BxU.js} +1 -1
  61. package/dist/{dayjs.min-DHE73-wM.js → dayjs.min-CQp6EpOp.js} +1 -1
  62. package/dist/{decimal-CAnQe2Ib.js → decimal-Cq0qUT4r.js} +2 -2
  63. package/dist/{defineDeepModel-CctS67Do.js → defineDeepModel-DRC39nJs.js} +1 -1
  64. package/dist/{duplicate-template-Jk2V2Ezg.js → duplicate-template-j2ymeDNH.js} +1 -1
  65. package/dist/{feature-D9n0IC0c.js → feature-C0hQza5A.js} +125 -103
  66. package/dist/feature-flags/vue.spec.d.ts +1 -0
  67. package/dist/{format-time-from-id-Bmzpbg-8.js → format-time-from-id-BmJoI3jT.js} +1 -1
  68. package/dist/{format-unit-display-CVg4Bl5L.js → format-unit-display-CRgIMXsD.js} +13 -13
  69. package/dist/{id-to-date-DPCcxufP.js → id-to-date-CuFZDvIr.js} +1 -1
  70. package/dist/{import-export.helper-bmGZwUBB.js → import-export.helper-B43zbsbj.js} +6 -6
  71. package/dist/{index-zCBA-X6R.js → index-BYDjs08n.js} +1 -1
  72. package/dist/{index-CFNNQo-7.js → index-Cwvg7EHd.js} +3 -3
  73. package/dist/{index-yt6MlAFG.js → index-DXNYZeq3.js} +1 -1
  74. package/dist/{lz-string-CqlY9MC2.js → lz-string-6DgW1cPF.js} +1 -1
  75. package/dist/{netsuite-DudeltN_.js → netsuite-BSpmyaE1.js} +2 -2
  76. package/dist/{number-BoePMDs8.js → number-5ZeFx-wN.js} +3 -3
  77. package/dist/{predefined-templates-DT32p04n.js → predefined-templates-C0jtb4T7.js} +1 -1
  78. package/dist/{purchase-order-template-LaRpWA04.js → purchase-order-template-B5Pjddfi.js} +1 -1
  79. package/dist/{recalculationUtils-BYN393eE.js → recalculationUtils-DtJWwWSj.js} +1 -1
  80. package/dist/{row-action.enum-BiP5wkT6.js → row-action.enum-BDDJNSi0.js} +1 -1
  81. package/dist/{rules-CQT0uAAo.js → rules-CinZKpvV.js} +2 -2
  82. package/dist/{stock-CVybjhUm.js → stock-1n-4iyqz.js} +3 -3
  83. package/dist/{stock-B9XerL9c.js → stock-BKMDvf5S.js} +1 -1
  84. package/dist/stores/feature.d.ts +5 -0
  85. package/dist/style.css +1 -1
  86. package/dist/{supplier-dpHijd2E.js → supplier-Cv8HRNou.js} +2 -2
  87. package/dist/{surcharge-BZ4STY5J.js → surcharge-ktE1pRyy.js} +1 -1
  88. package/dist/tsconfig.app.tsbuildinfo +1 -1
  89. package/dist/{uom-rules-Da5Lngvp.js → uom-rules-DCnXmEkb.js} +1 -1
  90. package/dist/{use-ingredient-select-dialog-C3YsT5l-.js → use-ingredient-select-dialog-CYUUVrCI.js} +2 -2
  91. package/dist/{use-inventory-binding-dialog-BSsyrcGe.js → use-inventory-binding-dialog-Dugj9i-6.js} +2 -2
  92. package/dist/{use-template-enabled-locations-BmJUzSUm.js → use-template-enabled-locations-BlZ7WAqX.js} +2 -2
  93. package/dist/{use-transfer-locations-frEk_aBH.js → use-transfer-locations-CUDFnsVH.js} +2 -2
  94. package/dist/{useHrmPermission-Cyjm0y9a.js → useHrmPermission-BOwmXi9H.js} +1 -1
  95. package/dist/{useNavigationMenu-CnTsOF9T.js → useNavigationMenu-CbNKFBwx.js} +58 -57
  96. package/dist/{useSseClient-D_7o9nuf.js → useSseClient-CdyQh47h.js} +1 -1
  97. package/dist/views/settings/PlanLicenseDisplay.spec.d.ts +1 -0
  98. package/dist/views/settings/PlanLicenseDisplay.vue.d.ts +15 -0
  99. package/dist/{vue-i18n-DwAcG7yc.js → vue-i18n-dSKy66Jh.js} +169 -169
  100. package/dist/{xlsx.util-C7S-uyqm.js → xlsx.util-pjzuMquw.js} +2 -2
  101. package/package.json +5 -5
  102. package/dist/App-Bo29Nwt0.js +0 -1537
  103. package/dist/ClosingHistoryView-woRmvmYT.js +0 -761
  104. package/dist/SettingsView-Dc27wyk-.js +0 -977
  105. package/dist/StockView-DrHLzosW.js +0 -2616
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-DudeltN_.js";
2
+ import { u } from "./netsuite-BSpmyaE1.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-CURawLhs.js";
3
- import { a as A } from "./FmMultiselectDialog-BnZInvgp.js";
2
+ import { a as b } from "./app-Duum3eHx.js";
3
+ import { a as A } from "./FmMultiselectDialog-D0GhmOQ9.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-BnZInvgp.js";
2
- import { a as S } from "./app-CURawLhs.js";
1
+ import { a as y } from "./FmMultiselectDialog-D0GhmOQ9.js";
2
+ import { a as S } from "./app-Duum3eHx.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-BnZInvgp.js";
2
- import { u as S } from "./app-CURawLhs.js";
1
+ import { a as A } from "./FmMultiselectDialog-D0GhmOQ9.js";
2
+ import { u as S } from "./app-Duum3eHx.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, $ as w, a2 as R } from "./app-CURawLhs.js";
2
- import { u as E } from "./supplier-dpHijd2E.js";
1
+ import { u as g, r as l, $ as w, a2 as R } from "./app-Duum3eHx.js";
2
+ import { u as E } from "./supplier-Cv8HRNou.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 { ab as n } from "./app-CURawLhs.js";
2
+ import { ab as n } from "./app-Duum3eHx.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,8 +1,9 @@
1
- import { computed as R, h as C } from "vue";
2
- import { R as e, ac as P, ad as O, ab as A } from "./app-CURawLhs.js";
3
- import { useCoreStore as U, useI18n as b } from "@feedmepos/mf-common";
4
- import { I as E, u as L } from "./feature-D9n0IC0c.js";
5
- import { e as y, g as v, d as G, a as H } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js";
1
+ import { computed as R, h as P } from "vue";
2
+ import { R as e, ac as O, ad as A, ab as U } from "./app-Duum3eHx.js";
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-C0hQza5A.js";
5
+ import { e as G, g, d as M, i as H } from "./PlanTierBadge.vue_vue_type_script_setup_true_lang-BSR_nyHY.js";
6
+ import { _ as K } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-Cwmk3NLS.js";
6
7
  const _ = [
7
8
  {
8
9
  route: e.STOCK,
@@ -19,7 +20,7 @@ const _ = [
19
20
  },
20
21
  {
21
22
  route: e.UNIT_COST_HISTORY,
22
- module: "Stock",
23
+ module: "Costing",
23
24
  tier: "premium",
24
25
  description: "Review unit-cost history and costing changes.",
25
26
  featureKey: "unit-cost"
@@ -139,55 +140,55 @@ const _ = [
139
140
  tier: "standard",
140
141
  description: "Inspect and manage integration records and synchronization."
141
142
  }
142
- ], K = Object.fromEntries(
143
- _.map((o) => {
143
+ ], F = Object.fromEntries(
144
+ _.map((s) => {
144
145
  var u;
145
- const s = v(o.featureKey ?? "");
146
+ const o = g(s.featureKey ?? "");
146
147
  return [
147
- o.route,
148
- G({
149
- key: o.route,
150
- minimumTier: o.tier,
151
- release: o.release ?? ((u = s == null ? void 0 : s.definition) == null ? void 0 : u.release),
152
- flagKeys: s == null ? void 0 : s.flagKeys
148
+ s.route,
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
153
154
  })
154
155
  ];
155
156
  })
156
157
  );
157
- function M(o) {
158
- return _.find((s) => s.route === o) ?? null;
158
+ function k(s) {
159
+ return _.find((o) => o.route === s) ?? null;
159
160
  }
160
- function F(o) {
161
- return o ? K[o] ?? null : null;
161
+ function B(s) {
162
+ return s ? F[s] ?? null : null;
162
163
  }
163
- function Q(o, s) {
164
- const u = F(o);
165
- return u ? y(u, s) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
164
+ function q(s, o) {
165
+ const u = B(s);
166
+ return u ? G(u, o) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
166
167
  }
167
- const k = O.reduce(
168
- (o, s) => {
168
+ const D = A.reduce(
169
+ (s, o) => {
169
170
  var u;
170
- return s.name && (o[s.name] = (u = s.meta) == null ? void 0 : u.validationManifest), o;
171
+ return o.name && (s[o.name] = (u = o.meta) == null ? void 0 : u.validationManifest), s;
171
172
  },
172
173
  {}
173
174
  );
174
- function Y() {
175
- const o = U(), s = L(), { t: u } = b(), a = (t) => P(t, u), g = R(
175
+ function x() {
176
+ const s = b(), o = y(), { t: u } = L(), a = (t) => O(t, u), h = R(
176
177
  () => {
177
178
  var t;
178
- return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
179
+ return ((t = s.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
179
180
  }
180
- ), h = (t = []) => t.length === 0 ? !0 : A(t, g.value).granted, n = (t) => {
181
- const r = k[t];
182
- return h(r == null ? void 0 : r.requiredCaslPermissions);
183
- }, d = (t) => {
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);
184
+ }, c = (t) => {
184
185
  var r;
185
- return ((r = s.flags.find((c) => c.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
186
+ return ((r = o.flags.find((d) => d.name === t)) == null ? void 0 : r.beta) !== !1 && !o.isFlagOn(t);
186
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) => {
187
- const { hide: c, children: i, ...l } = r, T = { ...l };
188
+ const { hide: d, children: i, ...l } = r, T = { ...l };
188
189
  return i && (T.children = I(i)), T;
189
190
  }), p = (t) => t.map((r) => {
190
- const c = r.value, i = M(c), l = v((i == null ? void 0 : i.featureKey) ?? ""), T = l == null ? void 0 : l.category, f = i && (i.tier === "premium" || T === "beta" || l != null && l.deprecateSoon) ? () => C(H, {
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
192
  tier: i.tier,
192
193
  category: T,
193
194
  deprecateSoon: l == null ? void 0 : l.deprecateSoon,
@@ -195,11 +196,11 @@ function Y() {
195
196
  }) : void 0;
196
197
  return {
197
198
  ...r,
198
- badge: f,
199
+ badge: C,
199
200
  children: r.children ? p(r.children) : void 0
200
201
  };
201
202
  }), S = R(() => {
202
- var c;
203
+ var d;
203
204
  const t = [
204
205
  {
205
206
  label: a(e.STOCK),
@@ -212,17 +213,17 @@ function Y() {
212
213
  {
213
214
  label: a(e.PRODUCTION_RUN),
214
215
  value: e.PRODUCTION_RUN,
215
- hide: !n(e.PRODUCTION_RUN) || d(E.inventory_portal_production_item)
216
- },
217
- {
218
- label: a(e.UNIT_COST_HISTORY),
219
- value: e.UNIT_COST_HISTORY,
220
- hide: !n(e.UNIT_COST_HISTORY) || d(E.inventory_pos_costing)
216
+ hide: !n(e.PRODUCTION_RUN) || c(E.inventory_portal_production_item)
221
217
  },
222
218
  {
223
219
  label: a(e.WASTAGE_TEMPLATE),
224
220
  value: e.WASTAGE_TEMPLATE,
225
- hide: !n(e.WASTAGE_TEMPLATE) || d(E.inventory_pos_adjust_v2_wastage)
221
+ hide: !n(e.WASTAGE_TEMPLATE) || c(E.inventory_pos_adjust_v2_wastage)
222
+ },
223
+ {
224
+ label: a(e.UNIT_COST_HISTORY),
225
+ value: e.UNIT_COST_HISTORY,
226
+ hide: !n(e.UNIT_COST_HISTORY) || o.isModuleBeta(v.Costing) && !o.isModuleEnabled(v.Costing)
226
227
  }
227
228
  ]
228
229
  },
@@ -237,12 +238,12 @@ function Y() {
237
238
  {
238
239
  label: a(e.CLOSING_TEMPLATE),
239
240
  value: e.CLOSING_TEMPLATE,
240
- hide: !n(e.CLOSING_TEMPLATE) || d(E.inventory_pos_closing_v2)
241
+ hide: !n(e.CLOSING_TEMPLATE) || c(E.inventory_pos_closing_v2)
241
242
  },
242
243
  {
243
244
  label: a(e.CLOSING_DRAFT),
244
245
  value: e.CLOSING_DRAFT,
245
- hide: !n(e.CLOSING_DRAFT) || d(E.inventory_pos_closing_v2)
246
+ hide: !n(e.CLOSING_DRAFT) || c(E.inventory_pos_closing_v2)
246
247
  }
247
248
  ]
248
249
  },
@@ -272,7 +273,7 @@ function Y() {
272
273
  {
273
274
  label: a(e.RECEIVE_REQUEST_BULK),
274
275
  value: e.RECEIVE_REQUEST_BULK,
275
- hide: !n(e.RECEIVE_REQUEST_BULK) || d(E.inventory_receive_request_beta)
276
+ hide: !n(e.RECEIVE_REQUEST_BULK) || c(E.inventory_receive_request_beta)
276
277
  },
277
278
  {
278
279
  label: a(e.APPROVAL),
@@ -282,12 +283,12 @@ function Y() {
282
283
  {
283
284
  label: a(e.SURCHARGE),
284
285
  value: e.SURCHARGE,
285
- hide: !n(e.SURCHARGE) || d(E.inventory_portal_surcharge)
286
+ hide: !n(e.SURCHARGE) || c(E.inventory_portal_surcharge)
286
287
  },
287
288
  {
288
289
  label: a(e.TRANSFER_TEMPLATE),
289
290
  value: e.TRANSFER_TEMPLATE,
290
- hide: !n(e.TRANSFER_TEMPLATE) || d(E.inventory_portal_must_use_transfer_template)
291
+ hide: !n(e.TRANSFER_TEMPLATE) || c(E.inventory_portal_must_use_transfer_template) && !H("purchase-order-template")
291
292
  }
292
293
  ]
293
294
  },
@@ -309,7 +310,7 @@ function Y() {
309
310
  {
310
311
  label: a(e.IMPORT),
311
312
  value: e.IMPORT,
312
- hide: !n(e.IMPORT) || d(E.inventory_bulk_import)
313
+ hide: !n(e.IMPORT) || c(E.inventory_bulk_import)
313
314
  },
314
315
  {
315
316
  label: a(e.INTEGRATION),
@@ -322,12 +323,12 @@ function Y() {
322
323
  hide: !n(e.SETTINGS)
323
324
  }
324
325
  ], r = p(I(m(t)));
325
- return ((c = o.currentBusiness.value) == null ? void 0 : c.menuVersion) === "v3" ? r.filter(
326
+ return ((d = s.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
326
327
  (i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
327
328
  ) : r;
328
- }), N = R(() => {
329
- function t(c) {
330
- for (const i of c)
329
+ }), f = R(() => {
330
+ function t(d) {
331
+ for (const i of d)
331
332
  if (i.children && i.children.length > 0) {
332
333
  const l = t(i.children);
333
334
  if (l) return l;
@@ -336,10 +337,10 @@ function Y() {
336
337
  }
337
338
  return t(S.value) ?? null;
338
339
  });
339
- return { menuItems: S, firstAccessibleRouteName: N };
340
+ return { menuItems: S, firstAccessibleRouteName: f };
340
341
  }
341
342
  export {
342
- Q as e,
343
+ q as e,
343
344
  _ as n,
344
- Y as u
345
+ x as u
345
346
  };
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-CURawLhs.js";
1
+ import { d as se } from "./app-Duum3eHx.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ scopeDbName: string | null;
3
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ scopeDbName: string | null;
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
+ };