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

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 (92) hide show
  1. package/dist/{App-B8DzC8Td.js → App-Bo29Nwt0.js} +8 -8
  2. package/dist/{ApprovalView-DwHtlnLK.js → ApprovalView-1Y_jh_UJ.js} +9 -9
  3. package/dist/{BindingsDialog-COSQ6XVU.js → BindingsDialog-VMvTLguN.js} +2 -2
  4. package/dist/{BindingsPicker-vn2GwOb7.js → BindingsPicker-KNRM5rMU.js} +2 -2
  5. package/dist/{BindingsTable-B3-YXiPU.js → BindingsTable-CSyNlNCL.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-LUAuL39I.js → BulkReceiveRequestView-vOeHbWM_.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bq2bBCHH.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DQuI04Yj.js} +1 -1
  8. package/dist/{ClosingDraftView-BKgjXfss.js → ClosingDraftView-A2pJuhIb.js} +20 -20
  9. package/dist/{ClosingHistoryView-BI_zufKI.js → ClosingHistoryView-woRmvmYT.js} +5 -5
  10. package/dist/{ClosingTemplateView-CNNgkrX0.js → ClosingTemplateView-DpkNCyoB.js} +18 -18
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DGxUjcQc.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DOpIDvsy.js} +1 -1
  12. package/dist/{DefaultView-D9ldG5wf.js → DefaultView-B4UuAqYu.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-CnvuZat5.js → DeliveryOrderPrintPreview-w0YcNH3F.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-s0eDfL8g.js → EmailDialog.vue_vue_type_script_setup_true_lang-BimIEHsW.js} +23 -23
  15. package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-2t_ajTtF.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BBkF9lOE.js} +16 -16
  16. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Bo4aCSFL.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang--54VR4oB.js} +1 -1
  17. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BhhKFtnX.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B7j4ZSOe.js} +2 -2
  18. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Dx8b6nGn.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D_y8VcCI.js} +2 -2
  19. package/dist/{FmMultiselectDialog-zaOH0oB9.js → FmMultiselectDialog-BnZInvgp.js} +2 -2
  20. package/dist/{FmMultiselectDialog-Coxul96n.js → FmMultiselectDialog-DMA5eR0C.js} +2 -2
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B0xT-sP9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BXTUsnwN.js} +6 -6
  22. package/dist/{ImportView-CuRogJ1u.js → ImportView-C7Hah7MM.js} +6 -6
  23. package/dist/{IngredientsView-BnEJ1QAk.js → IngredientsView-C4-8qNGD.js} +16 -16
  24. package/dist/{IntegrationExplorerView-DB-7hXUE.js → IntegrationExplorerView-D3leld2Z.js} +4 -4
  25. package/dist/{IntegrationView-CBGPi1xL.js → IntegrationView-BhRzry3g.js} +15 -15
  26. package/dist/{InventoryBindingForm-eggGypKW.js → InventoryBindingForm-ewAgZ6e-.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CvQ82oaY.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bpo7Yv9A.js} +5 -5
  28. package/dist/{InventoryBindingSummary-DegINJdx.js → InventoryBindingSummary-e67GzHYr.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DYq61C5M.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKEzy2Uo.js} +1 -1
  30. package/dist/{ProductionRunDetailView-6uJmjwAg.js → ProductionRunDetailView-Ct7kr5Ht.js} +4 -4
  31. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-Dcd3sV5C.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-7u0HQH67.js} +7 -7
  32. package/dist/{ProductionRunView-CiypqoQT.js → ProductionRunView-odWyBZGx.js} +3 -3
  33. package/dist/{PublishView-DEyODScT.js → PublishView-BXA3k8Cp.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-DjsD8HaB.js → PurchaseOrderPrintPreview-DRugr4BU.js} +2 -2
  35. package/dist/{ReceiveRequestView-DGWA-SOC.js → ReceiveRequestView-CeJs9NTD.js} +13 -13
  36. package/dist/{RecipeView-CO5kxazA.js → RecipeView-BH0REMB3.js} +16 -16
  37. package/dist/{SettingsView-9uq0QYht.js → SettingsView-Dc27wyk-.js} +100 -101
  38. package/dist/{StockView-YKfyjTE1.js → StockView-DrHLzosW.js} +21 -21
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C8q3IBMg.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ckw1_xIc.js} +1 -1
  40. package/dist/{SupplierView-D62RB87K.js → SupplierView-DH9u6e2M.js} +14 -14
  41. package/dist/{SurchargeView-DY4xuPN0.js → SurchargeView-BPVEpc0f.js} +7 -7
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C27rA7Z_.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRwxKmwb.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BhhvJtAf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BpiePSmo.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-cvgA7DlK.js → TransferDetails.vue_vue_type_script_setup_true_lang-DOQGPKiv.js} +20 -20
  45. package/dist/{TransferTemplateView-DZk-6Z-1.js → TransferTemplateView-CEVRsKL7.js} +20 -20
  46. package/dist/{UnitCostHistoryView-C-aNhP72.js → UnitCostHistoryView-06rIaX_M.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D655ehgk.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-C2zidBrl.js} +4 -4
  48. package/dist/{UnitView-h2n8XNZr.js → UnitView-Xk_F9SYG.js} +8 -8
  49. package/dist/{WarehouseView-gPPmrhxB.js → WarehouseView-bmpLmpcX.js} +8 -8
  50. package/dist/{WastageTemplateView-7bp-1vTP.js → WastageTemplateView-CWV1pFxM.js} +15 -15
  51. package/dist/{app-_FoXoYBy.js → app-CURawLhs.js} +16 -16
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-D8bk-LUW.js → closing-template-q_KGB4jO.js} +1 -1
  54. package/dist/{date2-DE0h0f1Z.js → date2-3kdweNLp.js} +1 -1
  55. package/dist/{dayjs.min-DxnjPhAT.js → dayjs.min-DHE73-wM.js} +1 -1
  56. package/dist/{decimal-D9ZB4atK.js → decimal-CAnQe2Ib.js} +2 -2
  57. package/dist/{defineDeepModel-pn4B1f06.js → defineDeepModel-CctS67Do.js} +1 -1
  58. package/dist/{duplicate-template-DS-mr3MQ.js → duplicate-template-Jk2V2Ezg.js} +1 -1
  59. package/dist/{feature-D0aaeyga.js → feature-D9n0IC0c.js} +3 -3
  60. package/dist/feature-flags/portal-feature-catalog.d.ts +1 -1
  61. package/dist/feature-flags/portal-feature-catalog.spec.d.ts +1 -0
  62. package/dist/{format-time-from-id-CbFUj3BY.js → format-time-from-id-Bmzpbg-8.js} +1 -1
  63. package/dist/{format-unit-display-DulZiawi.js → format-unit-display-CVg4Bl5L.js} +13 -13
  64. package/dist/{id-to-date-CLCvDHvP.js → id-to-date-DPCcxufP.js} +1 -1
  65. package/dist/{import-export.helper-Ce1hr39u.js → import-export.helper-bmGZwUBB.js} +6 -6
  66. package/dist/{index-DrkUq9y6.js → index-CFNNQo-7.js} +3 -3
  67. package/dist/{index-DpxJ3TzB.js → index-yt6MlAFG.js} +1 -1
  68. package/dist/{index-DDw8ryXI.js → index-zCBA-X6R.js} +1 -1
  69. package/dist/{lz-string-BakfyAq0.js → lz-string-CqlY9MC2.js} +1 -1
  70. package/dist/{netsuite-Cn2W-lOV.js → netsuite-DudeltN_.js} +2 -2
  71. package/dist/{number-B2-Gbof3.js → number-BoePMDs8.js} +3 -3
  72. package/dist/{predefined-templates-DmITBHzs.js → predefined-templates-DT32p04n.js} +1 -1
  73. package/dist/{purchase-order-template-BfP6Sy0k.js → purchase-order-template-LaRpWA04.js} +1 -1
  74. package/dist/{recalculationUtils-BRe2QPvC.js → recalculationUtils-BYN393eE.js} +1 -1
  75. package/dist/{row-action.enum-CxzHcy4A.js → row-action.enum-BiP5wkT6.js} +1 -1
  76. package/dist/{rules-CjqBvFGt.js → rules-CQT0uAAo.js} +2 -2
  77. package/dist/{stock-CjFjkezq.js → stock-B9XerL9c.js} +1 -1
  78. package/dist/{stock-BT50AgTx.js → stock-CVybjhUm.js} +3 -3
  79. package/dist/{supplier-wmjWWKaf.js → supplier-dpHijd2E.js} +2 -2
  80. package/dist/{surcharge-CQC6Fa7Q.js → surcharge-BZ4STY5J.js} +1 -1
  81. package/dist/tsconfig.app.tsbuildinfo +1 -1
  82. package/dist/{uom-rules-CUQleOt4.js → uom-rules-Da5Lngvp.js} +1 -1
  83. package/dist/{use-ingredient-select-dialog-7VVHmM7s.js → use-ingredient-select-dialog-C3YsT5l-.js} +2 -2
  84. package/dist/{use-inventory-binding-dialog-C8m7iwRG.js → use-inventory-binding-dialog-BSsyrcGe.js} +2 -2
  85. package/dist/{use-template-enabled-locations-CRgTVDMh.js → use-template-enabled-locations-BmJUzSUm.js} +2 -2
  86. package/dist/{use-transfer-locations-Bs0PotVA.js → use-transfer-locations-frEk_aBH.js} +2 -2
  87. package/dist/{useHrmPermission-DcAzZ0CT.js → useHrmPermission-Cyjm0y9a.js} +1 -1
  88. package/dist/{useNavigationMenu-CtihCeyC.js → useNavigationMenu-CnTsOF9T.js} +26 -26
  89. package/dist/{useSseClient-CizgYCQI.js → useSseClient-D_7o9nuf.js} +1 -1
  90. package/dist/{vue-i18n-DpTQ6ev1.js → vue-i18n-DwAcG7yc.js} +158 -158
  91. package/dist/{xlsx.util-CPC0Dkyo.js → xlsx.util-C7S-uyqm.js} +2 -2
  92. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-Cn2W-lOV.js";
2
+ import { u } from "./netsuite-DudeltN_.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-_FoXoYBy.js";
3
- import { a as A } from "./FmMultiselectDialog-zaOH0oB9.js";
2
+ import { a as b } from "./app-CURawLhs.js";
3
+ import { a as A } from "./FmMultiselectDialog-BnZInvgp.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-zaOH0oB9.js";
2
- import { a as S } from "./app-_FoXoYBy.js";
1
+ import { a as y } from "./FmMultiselectDialog-BnZInvgp.js";
2
+ import { a as S } from "./app-CURawLhs.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-zaOH0oB9.js";
2
- import { u as S } from "./app-_FoXoYBy.js";
1
+ import { a as A } from "./FmMultiselectDialog-BnZInvgp.js";
2
+ import { u as S } from "./app-CURawLhs.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-_FoXoYBy.js";
2
- import { u as E } from "./supplier-wmjWWKaf.js";
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";
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-_FoXoYBy.js";
2
+ import { ab as n } from "./app-CURawLhs.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,8 @@
1
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-_FoXoYBy.js";
2
+ import { R as e, ac as P, ad as O, ab as A } from "./app-CURawLhs.js";
3
3
  import { useCoreStore as U, useI18n as b } from "@feedmepos/mf-common";
4
- import { I as E, u as L } from "./feature-D0aaeyga.js";
5
- import { e as y, g as v, d as G, a as H } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-2t_ajTtF.js";
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";
6
6
  const _ = [
7
7
  {
8
8
  route: e.STOCK,
@@ -22,7 +22,7 @@ const _ = [
22
22
  module: "Stock",
23
23
  tier: "premium",
24
24
  description: "Review unit-cost history and costing changes.",
25
- featureKey: "total-cost"
25
+ featureKey: "unit-cost"
26
26
  },
27
27
  {
28
28
  route: e.WASTAGE_TEMPLATE,
@@ -172,35 +172,35 @@ const k = O.reduce(
172
172
  {}
173
173
  );
174
174
  function Y() {
175
- const o = U(), s = L(), { t: u } = b(), a = (r) => P(r, u), g = R(
175
+ const o = U(), s = L(), { t: u } = b(), a = (t) => P(t, u), g = R(
176
176
  () => {
177
- var r;
178
- return ((r = o.sessionUser.value) == null ? void 0 : r.permissions) ?? [];
177
+ var t;
178
+ return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
179
179
  }
180
- ), h = (r = []) => r.length === 0 ? !0 : A(r, g.value).granted, n = (r) => {
181
- const t = k[r];
182
- return h(t == null ? void 0 : t.requiredCaslPermissions);
183
- }, d = (r) => {
184
- var t;
185
- return ((t = s.flags.find((c) => c.name === r)) == null ? void 0 : t.beta) !== !1 && !s.isFlagOn(r);
186
- }, m = (r) => r.filter((t) => !t.hide).map((t) => t.children ? { ...t, children: m(t.children) } : t).filter((t) => !t.children || t.children.length > 0), I = (r) => r.map((t) => {
187
- const { hide: c, children: i, ...l } = t, T = { ...l };
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) => {
184
+ var r;
185
+ return ((r = s.flags.find((c) => c.name === t)) == null ? void 0 : r.beta) !== !1 && !s.isFlagOn(t);
186
+ }, 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
188
  return i && (T.children = I(i)), T;
189
- }), p = (r) => r.map((t) => {
190
- const c = t.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, {
189
+ }), 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
191
  tier: i.tier,
192
192
  category: T,
193
193
  deprecateSoon: l == null ? void 0 : l.deprecateSoon,
194
194
  featureKey: i.featureKey
195
195
  }) : void 0;
196
196
  return {
197
- ...t,
197
+ ...r,
198
198
  badge: f,
199
- children: t.children ? p(t.children) : void 0
199
+ children: r.children ? p(r.children) : void 0
200
200
  };
201
201
  }), S = R(() => {
202
202
  var c;
203
- const r = [
203
+ const t = [
204
204
  {
205
205
  label: a(e.STOCK),
206
206
  children: [
@@ -321,20 +321,20 @@ function Y() {
321
321
  value: e.SETTINGS,
322
322
  hide: !n(e.SETTINGS)
323
323
  }
324
- ], t = p(I(m(r)));
325
- return ((c = o.currentBusiness.value) == null ? void 0 : c.menuVersion) === "v3" ? t.filter(
324
+ ], r = p(I(m(t)));
325
+ return ((c = o.currentBusiness.value) == null ? void 0 : c.menuVersion) === "v3" ? r.filter(
326
326
  (i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
327
- ) : t;
327
+ ) : r;
328
328
  }), N = R(() => {
329
- function r(c) {
329
+ function t(c) {
330
330
  for (const i of c)
331
331
  if (i.children && i.children.length > 0) {
332
- const l = r(i.children);
332
+ const l = t(i.children);
333
333
  if (l) return l;
334
334
  } else if (i.value)
335
335
  return i.value;
336
336
  }
337
- return r(S.value) ?? null;
337
+ return t(S.value) ?? null;
338
338
  });
339
339
  return { menuItems: S, firstAccessibleRouteName: N };
340
340
  }
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-_FoXoYBy.js";
1
+ import { d as se } from "./app-CURawLhs.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {