@feedmepos/mf-inventory-portal 1.7.0-dev.8 → 1.7.0

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 (90) hide show
  1. package/dist/{App-DGt1TKAe.js → App-mfv976r3.js} +4 -4
  2. package/dist/{ApprovalView-DA6vPFB8.js → ApprovalView-B3nQokUv.js} +8 -8
  3. package/dist/{BindingsDialog-CdcKh6UZ.js → BindingsDialog-DnWLIslN.js} +2 -2
  4. package/dist/{BindingsPicker-C0q1FNa6.js → BindingsPicker-BOPzfVXq.js} +2 -2
  5. package/dist/{BindingsTable-BnBAlW1t.js → BindingsTable-Cky7o_NG.js} +3 -3
  6. package/dist/{BulkReceiveRequestView-BiiwvM-O.js → BulkReceiveRequestView-CyFXAM_t.js} +19 -19
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DsY0X4Er.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-dRYFLJVj.js} +1 -1
  8. package/dist/{ClosingDraftView-CNEvYNfz.js → ClosingDraftView-BsREbRBA.js} +19 -19
  9. package/dist/{ClosingHistoryView-BvaVrfjv.js → ClosingHistoryView-J8XyfB2_.js} +5 -5
  10. package/dist/{ClosingTemplateView-DxPGJz0K.js → ClosingTemplateView-CkiPhzJ8.js} +16 -16
  11. package/dist/{DefaultView-Mqtuxaq1.js → DefaultView-BqtI-DBZ.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview--IKofxUf.js → DeliveryOrderPrintPreview-Bo4KtO5Q.js} +2 -2
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CZLIa7_0.js → EmailDialog.vue_vue_type_script_setup_true_lang-hBB0AHTL.js} +23 -23
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-cu92NvT7.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BDni_x3F.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DJSDKAcv.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BkEFIDXV.js} +2 -2
  16. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DC21Ybcs.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bu-ccw4K.js} +2 -2
  17. package/dist/{FmMultiselectDialog-DNMu6Pyo.js → FmMultiselectDialog-B1vR5H5H.js} +2 -2
  18. package/dist/{FmMultiselectDialog-BRN_fVWG.js → FmMultiselectDialog-DMB-1gqC.js} +1 -1
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-JjqnjgF6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BsjlumX9.js} +5 -5
  20. package/dist/{ImportView-CzhINr8x.js → ImportView-xLqTJPKm.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-UX70sCkO.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DuxQPayd.js} +1 -1
  22. package/dist/{IngredientGroupView-D34lU0nT.js → IngredientGroupView-DQjBoKhR.js} +5 -5
  23. package/dist/{IngredientsView-C5APBsVv.js → IngredientsView-Be4k9xvZ.js} +15 -15
  24. package/dist/{IntegrationExplorerView-B9CMZOyM.js → IntegrationExplorerView-Dbcybdvj.js} +4 -4
  25. package/dist/{IntegrationView-C2QFD6iK.js → IntegrationView-C5t2Rsq1.js} +13 -13
  26. package/dist/{InventoryBindingForm-B6KPHHXM.js → InventoryBindingForm-B7RefQSJ.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DqTs4tkd.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-lYl5CWxn.js} +5 -5
  28. package/dist/{InventoryBindingSummary-C3pSlQIV.js → InventoryBindingSummary-BKF-B5Kf.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BBj2fp9p.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DhpB51X8.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BQcze770.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dhf-ROKc.js} +1 -1
  31. package/dist/{ProductionView-D3hxR4Al.js → ProductionView-BAkzsaXt.js} +7 -7
  32. package/dist/{PublishView-dyIbB5oY.js → PublishView-u1DSi_3y.js} +3 -3
  33. package/dist/{PurchaseOrderPrintPreview-BtecmMvJ.js → PurchaseOrderPrintPreview-spvdjRxW.js} +2 -2
  34. package/dist/{ReceiveRequestView-CsyLhbWO.js → ReceiveRequestView-TfjSKJ7q.js} +13 -13
  35. package/dist/{RecipeView-C0GFeSDy.js → RecipeView-DB_zPDd6.js} +17 -17
  36. package/dist/{SettingsView-CLjyeHBv.js → SettingsView-DsFxSs0T.js} +4 -4
  37. package/dist/{StockView-CGiQO7JM.js → StockView-DEkXxk4b.js} +21 -21
  38. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bpa_-7Xw.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BLWES2jH.js} +1 -1
  39. package/dist/{SupplierView-BxGah90N.js → SupplierView-Di8rBh-_.js} +12 -12
  40. package/dist/{SurchargeView-_K_rxa1E.js → SurchargeView-s7i5_7XF.js} +6 -6
  41. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-C5iFkaac.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-18j2ZpX-.js} +2 -2
  42. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CJHiozGf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-aSnsm9Sw.js} +1 -1
  43. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-XTJW-ITd.js → TransferDetails.vue_vue_type_script_setup_true_lang-CpUyhO4Q.js} +20 -20
  44. package/dist/{TransferTemplateView-BEVHHa3g.js → TransferTemplateView-C94eigII.js} +20 -20
  45. package/dist/{UnitCostHistoryView-BHYOJdh7.js → UnitCostHistoryView-DTPzSJrM.js} +4 -4
  46. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DbqnEmeM.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B3NPv8Eb.js} +4 -4
  47. package/dist/{UnitView-BtwxautF.js → UnitView-DdGUw_tx.js} +7 -7
  48. package/dist/{WarehouseView-iCaNZRIz.js → WarehouseView-BQxSYVvF.js} +5 -5
  49. package/dist/{WastageTemplateView-Bc6GJd4d.js → WastageTemplateView-Bjc1PUko.js} +14 -14
  50. package/dist/{app-BP2iMkXf.js → app-Ci7Aaea6.js} +109 -103
  51. package/dist/app.js +1 -1
  52. package/dist/{closing-template-5y8eotCC.js → closing-template-Chy8WrlR.js} +1 -1
  53. package/dist/{date2-Bfw67PjS.js → date2-Bidui0P3.js} +1 -1
  54. package/dist/{dayjs.min-B3qfrpYu.js → dayjs.min-CFgtzCV7.js} +1 -1
  55. package/dist/{decimal-SalS1cxI.js → decimal-C9gpKKZI.js} +2 -2
  56. package/dist/{defineDeepModel-CCBhCBwm.js → defineDeepModel-jLHm8HR1.js} +1 -1
  57. package/dist/{duplicate-template-C0FI8Pt9.js → duplicate-template-D9TiIFbd.js} +1 -1
  58. package/dist/{feature-Cp_nrPL6.js → feature-HqzShic7.js} +130 -125
  59. package/dist/{format-time-from-id-BCn8GnjQ.js → format-time-from-id-Dw-n4jjX.js} +1 -1
  60. package/dist/{format-unit-display-CXbG9MgA.js → format-unit-display-C8RuVRS1.js} +12 -12
  61. package/dist/{import-export.helper-D4GvjZUO.js → import-export.helper-CuhpmMlh.js} +6 -6
  62. package/dist/{index-CzkezMbA.js → index-BbLw-k2u.js} +1 -1
  63. package/dist/{index-xDQmlVeP.js → index-BvJJtxfs.js} +3 -3
  64. package/dist/{index-DvTfqbiM.js → index-CsDKvy88.js} +1 -1
  65. package/dist/{inventory-core-dart.default-CVpYUeBn.js → inventory-core-dart.default-l09rPSab.js} +1 -1
  66. package/dist/{jszip.min-CfuFlbgP.js → jszip.min-Q-x0ALLG.js} +129 -129
  67. package/dist/{lz-string-D9ANZJke.js → lz-string-BeXPK_xO.js} +1 -1
  68. package/dist/{netsuite-Dijt7bYw.js → netsuite-BTb2NFU5.js} +2 -2
  69. package/dist/{number-DI4WG85J.js → number-Zlh6TxmH.js} +3 -3
  70. package/dist/{predefined-templates-1-zDE0Iu.js → predefined-templates-CXh7OWR3.js} +1 -1
  71. package/dist/{purchase-order-template-CbI-13Ym.js → purchase-order-template-Dvr65U29.js} +1 -1
  72. package/dist/{recalculationUtils-B2r9j-19.js → recalculationUtils-BkF7XUdf.js} +1 -1
  73. package/dist/{rules-DxJtL6OC.js → rules-FAZ-EkdF.js} +2 -2
  74. package/dist/{stock-6C0d5Fe8.js → stock-BEJdUeLP.js} +1 -1
  75. package/dist/{stock-BDGgOFuW.js → stock-CGowMSCF.js} +3 -3
  76. package/dist/stores/feature.d.ts +2 -0
  77. package/dist/{supplier-BVmJ5p3z.js → supplier-JOAqqBkF.js} +2 -2
  78. package/dist/{surcharge-BRNgbJmg.js → surcharge-gdAEvtj9.js} +1 -1
  79. package/dist/tsconfig.app.tsbuildinfo +1 -1
  80. package/dist/{uom-rules-Czbq4YOl.js → uom-rules-By1vxOaF.js} +1 -1
  81. package/dist/{use-ingredient-select-dialog-F4E4y-uM.js → use-ingredient-select-dialog-B-bFjj3N.js} +2 -2
  82. package/dist/{use-inventory-binding-dialog-CETXyyXW.js → use-inventory-binding-dialog-o-pedZ68.js} +2 -2
  83. package/dist/{use-template-enabled-locations-BXD1IoQM.js → use-template-enabled-locations-5H3RhSuH.js} +2 -2
  84. package/dist/{use-transfer-locations-DSHSzGPR.js → use-transfer-locations-o51Ss7cr.js} +2 -2
  85. package/dist/{useHrmPermission-tg3v6qrq.js → useHrmPermission-DzihMP-i.js} +1 -1
  86. package/dist/{useNavigationMenu-tbjt_qJ2.js → useNavigationMenu-B_d4hWSX.js} +30 -30
  87. package/dist/{useSseClient-BvEOOnEx.js → useSseClient-Cd0it8zJ.js} +1 -1
  88. package/dist/{vue-i18n-D1uxFCER.js → vue-i18n-CsIY6eJ6.js} +263 -263
  89. package/dist/{xlsx.util-CRhZzioa.js → xlsx.util-CuxvUzGN.js} +2 -2
  90. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-Dijt7bYw.js";
2
+ import { u } from "./netsuite-BTb2NFU5.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-BP2iMkXf.js";
3
- import { a as A } from "./FmMultiselectDialog-DNMu6Pyo.js";
2
+ import { a as b } from "./app-Ci7Aaea6.js";
3
+ import { a as A } from "./FmMultiselectDialog-B1vR5H5H.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 g } from "./FmMultiselectDialog-DNMu6Pyo.js";
2
- import { a as P } from "./app-BP2iMkXf.js";
1
+ import { a as g } from "./FmMultiselectDialog-B1vR5H5H.js";
2
+ import { a as P } from "./app-Ci7Aaea6.js";
3
3
  import { useDialog as E } from "@feedmepos/ui-library";
4
4
  function A() {
5
5
  const u = P(), _ = E();
@@ -1,5 +1,5 @@
1
- import { a as A } from "./FmMultiselectDialog-DNMu6Pyo.js";
2
- import { u as S } from "./app-BP2iMkXf.js";
1
+ import { a as A } from "./FmMultiselectDialog-B1vR5H5H.js";
2
+ import { u as S } from "./app-Ci7Aaea6.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, W as w, Z as R } from "./app-BP2iMkXf.js";
2
- import { u as E } from "./supplier-BVmJ5p3z.js";
1
+ import { u as g, r as l, W as w, Z as R } from "./app-Ci7Aaea6.js";
2
+ import { u as E } from "./supplier-JOAqqBkF.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 { a4 as n } from "./app-BP2iMkXf.js";
2
+ import { a4 as n } from "./app-Ci7Aaea6.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,28 +1,28 @@
1
1
  import { computed as T } from "vue";
2
- import { b as P, R as e, a5 as O, a6 as b, a4 as A } from "./app-BP2iMkXf.js";
2
+ import { b as v, R as e, a5 as b, a6 as O, a4 as A } from "./app-Ci7Aaea6.js";
3
3
  import { useCoreStore as C, useI18n as U } from "@feedmepos/mf-common";
4
- import { u as _ } from "./feature-Cp_nrPL6.js";
5
- const L = b.reduce(
6
- (s, E) => {
4
+ import { u as _ } from "./feature-HqzShic7.js";
5
+ const L = O.reduce(
6
+ (o, r) => {
7
7
  var i;
8
- return E.name && (s[E.name] = (i = E.meta) == null ? void 0 : i.validationManifest), s;
8
+ return r.name && (o[r.name] = (i = r.meta) == null ? void 0 : i.validationManifest), o;
9
9
  },
10
10
  {}
11
11
  );
12
12
  function p() {
13
- const s = C(), E = _(), { t: i } = U(), { isDev: c } = P(), l = (t) => O(t, i), N = T(
13
+ const o = C(), r = _(), { t: i } = U(), { isDev: c } = v(), l = (t) => b(t, i), N = T(
14
14
  () => {
15
15
  var t;
16
- return ((t = s.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
16
+ return ((t = o.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
17
17
  }
18
18
  ), h = (t = []) => t.length === 0 ? !0 : A(t, N.value).granted, a = (t) => {
19
19
  const n = L[t];
20
20
  return h(n == null ? void 0 : n.requiredCaslPermissions);
21
21
  }, R = (t) => t.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: R(n.children) } : n).filter((n) => !n.children || n.children.length > 0), I = (t) => t.map((n) => {
22
- const { hide: o, children: r, ...u } = n, S = { ...u };
23
- return r && (S.children = I(r)), S;
22
+ const { hide: s, children: E, ...u } = n, S = { ...u };
23
+ return E && (S.children = I(E)), S;
24
24
  }), d = T(() => {
25
- var o;
25
+ var s;
26
26
  const t = [
27
27
  {
28
28
  label: "Non-Production Environment",
@@ -41,17 +41,17 @@ function p() {
41
41
  {
42
42
  label: l(e.PRODUCTION),
43
43
  value: e.PRODUCTION,
44
- hide: !a(e.PRODUCTION)
44
+ hide: !a(e.PRODUCTION) || !r.enableProductionItem
45
45
  },
46
46
  {
47
47
  label: l(e.UNIT_COST_HISTORY),
48
48
  value: e.UNIT_COST_HISTORY,
49
- hide: !a(e.UNIT_COST_HISTORY) || !E.enableTotalCost
49
+ hide: !a(e.UNIT_COST_HISTORY) || !r.enableTotalCost
50
50
  },
51
51
  {
52
52
  label: l(e.WASTAGE_TEMPLATE),
53
53
  value: e.WASTAGE_TEMPLATE,
54
- hide: !a(e.WASTAGE_TEMPLATE) || !E.enableWastageTemplate
54
+ hide: !a(e.WASTAGE_TEMPLATE) || !r.enableWastageTemplate
55
55
  }
56
56
  ]
57
57
  },
@@ -66,12 +66,12 @@ function p() {
66
66
  {
67
67
  label: l(e.CLOSING_TEMPLATE),
68
68
  value: e.CLOSING_TEMPLATE,
69
- hide: !a(e.CLOSING_TEMPLATE) || !E.enableClosingTemplate
69
+ hide: !a(e.CLOSING_TEMPLATE) || !r.enableClosingTemplate
70
70
  },
71
71
  {
72
72
  label: l(e.CLOSING_DRAFT),
73
73
  value: e.CLOSING_DRAFT,
74
- hide: !a(e.CLOSING_DRAFT) || !E.enableClosingTemplate
74
+ hide: !a(e.CLOSING_DRAFT) || !r.enableClosingTemplate
75
75
  }
76
76
  ]
77
77
  },
@@ -83,7 +83,7 @@ function p() {
83
83
  {
84
84
  label: l(e.INGREDIENT_GROUP),
85
85
  value: e.INGREDIENT_GROUP,
86
- hide: !a(e.INGREDIENT_GROUP) || !E.enableIngredientGroup
86
+ hide: !a(e.INGREDIENT_GROUP) || !r.enableIngredientGroup
87
87
  },
88
88
  {
89
89
  label: l(e.RECIPE),
@@ -106,7 +106,7 @@ function p() {
106
106
  {
107
107
  label: l(e.RECEIVE_REQUEST_BULK),
108
108
  value: e.RECEIVE_REQUEST_BULK,
109
- hide: !a(e.RECEIVE_REQUEST_BULK) || !E.enableReceiveRequestBeta
109
+ hide: !a(e.RECEIVE_REQUEST_BULK) || !r.enableReceiveRequestBeta
110
110
  },
111
111
  {
112
112
  label: l(e.APPROVAL),
@@ -116,12 +116,12 @@ function p() {
116
116
  {
117
117
  label: l(e.SURCHARGE),
118
118
  value: e.SURCHARGE,
119
- hide: !a(e.SURCHARGE) || !E.enableSurcharge
119
+ hide: !a(e.SURCHARGE) || !r.enableSurcharge
120
120
  },
121
121
  {
122
122
  label: l(e.TRANSFER_TEMPLATE),
123
123
  value: e.TRANSFER_TEMPLATE,
124
- hide: !a(e.TRANSFER_TEMPLATE) || !E.enablePoTemplate
124
+ hide: !a(e.TRANSFER_TEMPLATE) || !r.enablePoTemplate
125
125
  }
126
126
  ]
127
127
  },
@@ -143,7 +143,7 @@ function p() {
143
143
  {
144
144
  label: l(e.IMPORT),
145
145
  value: e.IMPORT,
146
- hide: !a(e.IMPORT) || !E.enableBulkImport
146
+ hide: !a(e.IMPORT) || !r.enableBulkImport
147
147
  },
148
148
  {
149
149
  label: l(e.INTEGRATION),
@@ -151,21 +151,21 @@ function p() {
151
151
  hide: !a(e.INTEGRATION)
152
152
  }
153
153
  ], n = I(R(t));
154
- return ((o = s.currentBusiness.value) == null ? void 0 : o.menuVersion) === "v3" ? n.filter(
155
- (r) => r.value !== e.INGREDIENTS && r.value !== e.RECIPE && r.value !== e.UNIT && r.value !== e.PUBLISH
154
+ return ((s = o.currentBusiness.value) == null ? void 0 : s.menuVersion) === "v3" ? n.filter(
155
+ (E) => E.value !== e.INGREDIENTS && E.value !== e.RECIPE && E.value !== e.UNIT && E.value !== e.PUBLISH
156
156
  ) : n;
157
- }), v = T(() => {
158
- function t(o) {
159
- for (const r of o)
160
- if (r.children && r.children.length > 0) {
161
- const u = t(r.children);
157
+ }), P = T(() => {
158
+ function t(s) {
159
+ for (const E of s)
160
+ if (E.children && E.children.length > 0) {
161
+ const u = t(E.children);
162
162
  if (u) return u;
163
- } else if (r.value)
164
- return r.value;
163
+ } else if (E.value)
164
+ return E.value;
165
165
  }
166
166
  return t(d.value) ?? null;
167
167
  });
168
- return { menuItems: d, firstAccessibleRouteName: v };
168
+ return { menuItems: d, firstAccessibleRouteName: P };
169
169
  }
170
170
  export {
171
171
  p as u
@@ -1,4 +1,4 @@
1
- import { m as se } from "./app-BP2iMkXf.js";
1
+ import { m as se } from "./app-Ci7Aaea6.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {