@feedmepos/mf-inventory-portal 1.6.0 → 1.6.1-dev.1

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 (113) hide show
  1. package/dist/{App-EFQddl2W.js → App-D7SR5dnB.js} +4 -4
  2. package/dist/{ApprovalView-DQG8Ti9p.js → ApprovalView-Bi7AgvV0.js} +24 -23
  3. package/dist/{BindingsDialog-D2IwJvme.js → BindingsDialog-BD8B6cZy.js} +2 -2
  4. package/dist/{BindingsPicker-ZGbgh9Vk.js → BindingsPicker-CRvmtsFb.js} +2 -2
  5. package/dist/{BindingsTable-Dgs2Od1_.js → BindingsTable-DJ1lLYOb.js} +3 -3
  6. package/dist/BulkReceiveRequestView-CZHXfukP.js +2000 -0
  7. package/dist/{ClosingDraftView-DGz2x5Lp.js → ClosingDraftView-DV1KPp2W.js} +27 -28
  8. package/dist/{ClosingHistoryView-SvbQFffP.js → ClosingHistoryView-C8fzDS5T.js} +5 -5
  9. package/dist/{ClosingTemplateView-LIyUAZ7a.js → ClosingTemplateView-qPT5Li2w.js} +14 -14
  10. package/dist/{DefaultView-B96qddHF.js → DefaultView-NF80xSuv.js} +2 -2
  11. package/dist/{DeliveryOrderPrintPreview-DWQ6hyoL.js → DeliveryOrderPrintPreview-B12J3W3U.js} +11 -11
  12. package/dist/{ReceiveRequestView-BP7KFzO6.js → EmailDialog.vue_vue_type_script_setup_true_lang-CoPqmpvz.js} +12571 -12873
  13. package/dist/FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DxZ_5mfo.js +61 -0
  14. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BfRdyxp5.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B_mANlF3.js} +2 -2
  15. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxDZP-Qo.js +237 -0
  16. package/dist/{FmMultiselectDialog-B1O653NS.js → FmMultiselectDialog-Btal-2Li.js} +50 -44
  17. package/dist/{FmMultiselectDialog-SDMUzTex.js → FmMultiselectDialog-OVoHPzMx.js} +1 -1
  18. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8u2M7r1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClqEZkaP.js} +5 -5
  19. package/dist/{ImportView-BSlnGvlm.js → ImportView-CKXu4c1J.js} +6 -6
  20. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DaihxdpF.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C-fgSyVq.js} +1 -1
  21. package/dist/{IngredientGroupView-Dy1fLXHf.js → IngredientGroupView-pwMYUotb.js} +21 -21
  22. package/dist/{IngredientsView-Dno8kdrq.js → IngredientsView-BzKhRbX3.js} +17 -17
  23. package/dist/{IntegrationExplorerView-C_5XKtMn.js → IntegrationExplorerView-BN8bTTW9.js} +352 -352
  24. package/dist/IntegrationView-DcERomsi.js +5791 -0
  25. package/dist/{InventoryBindingForm-YQFbS1hV.js → InventoryBindingForm-q_IGvaah.js} +1 -1
  26. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CMXe46hm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0ti9a4bq.js} +5 -5
  27. package/dist/{InventoryBindingSummary-DQEoKMWr.js → InventoryBindingSummary-aMQ0ZWgu.js} +1 -1
  28. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CcJ7YBY5.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DpIGbDcW.js} +1 -1
  29. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DdTdixxy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CeMi5AJ0.js} +1 -1
  30. package/dist/{PublishView-Cv8penOo.js → PublishView-vOeknkUB.js} +61 -56
  31. package/dist/{PurchaseOrderPrintPreview-BvbaFNpc.js → PurchaseOrderPrintPreview-2dot6xAa.js} +9 -9
  32. package/dist/ReceiveRequestView-B9k1gWme.js +345 -0
  33. package/dist/{RecipeView-DU0QKiC9.js → RecipeView-PRj4zn8p.js} +17 -17
  34. package/dist/{SettingsView-DYNFioZF.js → SettingsView-CzxZ18_g.js} +4 -4
  35. package/dist/{StockView-CzdVLGZy.js → StockView-o-WD1-0x.js} +28 -27
  36. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DyDTSy_F.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B9bLM6Gi.js} +1 -1
  37. package/dist/{SupplierView-BxbGPyPv.js → SupplierView-CMww3rSL.js} +12 -12
  38. package/dist/{SurchargeView-DIxfUVfT.js → SurchargeView-D9KFsMtR.js} +6 -6
  39. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-g0AfgEFk.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-EXFK8KkU.js} +6 -5
  40. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DsLOwuNG.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B9xb2r9v.js} +1 -1
  41. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CxVlssDF.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bl9bVtVE.js} +1406 -1399
  42. package/dist/{TransferTemplateView-DRqghp1v.js → TransferTemplateView-BTL8deN-.js} +20 -20
  43. package/dist/{UnitCostHistoryView-BCQDTDOB.js → UnitCostHistoryView-D6n2ujRf.js} +4 -4
  44. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BikZCEmA.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CNpOAH0D.js} +10 -11
  45. package/dist/{UnitView-BXoXHqYc.js → UnitView-DNZW6dI4.js} +7 -7
  46. package/dist/{WarehouseView-DtnB7VJj.js → WarehouseView-gb9pJmNu.js} +5 -5
  47. package/dist/{WastageTemplateView-SNpTF3AP.js → WastageTemplateView-CGaEJXJv.js} +14 -14
  48. package/dist/api/purchase-order.d.ts +2 -1
  49. package/dist/api/supplier.d.ts +1 -0
  50. package/dist/{app-DTBAhC9s.js → app-Dsbvoxur.js} +1538 -977
  51. package/dist/app.d.ts +549 -0
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-DBDqx2IR.js → closing-template-p88yK47D.js} +1 -1
  54. package/dist/components/FmMultiselectDialog.vue.d.ts +8 -4
  55. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  56. package/dist/components/MultiLocationSelector.vue.d.ts +202 -0
  57. package/dist/{date2-BD3_Vr8I.js → date2-CtLHtGs5.js} +1 -1
  58. package/dist/{dayjs.min-CGyhCaEH.js → dayjs.min-B2OqD5Yb.js} +12 -12
  59. package/dist/{decimal-CnReZARa.js → decimal-Clk9Ewzg.js} +2 -2
  60. package/dist/{defineDeepModel-BCBQ-V52.js → defineDeepModel-B2OEZDfH.js} +1 -1
  61. package/dist/{duplicate-template-Dpb2sb-q.js → duplicate-template-B2POVQAS.js} +1 -1
  62. package/dist/{feature-BACkglr0.js → feature-CLIj8wgr.js} +70 -65
  63. package/dist/{format-time-from-id-CxJLjrBT.js → format-time-from-id-DdReiNfK.js} +1 -1
  64. package/dist/{format-unit-display-BUfzwU3m.js → format-unit-display-iz29tCVo.js} +12 -12
  65. package/dist/{import-export.helper-DttYDeho.js → import-export.helper-DlHAA9zA.js} +6 -6
  66. package/dist/{index-DGxWBGVv.js → index-B5Ojq711.js} +1 -1
  67. package/dist/{index-tFtJuoxA.js → index-CswTgtml.js} +3 -3
  68. package/dist/{index-BY8NVCx7.js → index-Dkl97ykE.js} +1 -1
  69. package/dist/{inventory-core-dart.default-DIKTKc_1.js → inventory-core-dart.default-FvRrnQri.js} +355 -328
  70. package/dist/jszip.min-dfImtC94.js +2322 -0
  71. package/dist/{lz-string-CwPU-SlY.js → lz-string-D1kxEFLt.js} +1 -1
  72. package/dist/{netsuite-B9XrL1RC.js → netsuite-C_Gph48P.js} +1570 -1509
  73. package/dist/{number-DKjrPhev.js → number-CTKxLav6.js} +3 -3
  74. package/dist/{predefined-templates-CQvQIvR-.js → predefined-templates-B2sDdw2Z.js} +1 -1
  75. package/dist/{purchase-order-template-NA3Qn9lf.js → purchase-order-template-DVDMAhJa.js} +1 -1
  76. package/dist/{recalculationUtils-Ll9Jy0C-.js → recalculationUtils-BNTXhTSX.js} +1 -1
  77. package/dist/router/name.d.ts +1 -0
  78. package/dist/{rules-DtBEn-Rn.js → rules-CRnEoheI.js} +2 -2
  79. package/dist/{stock-PIkXqbIP.js → stock-CeogHsSl.js} +1 -1
  80. package/dist/stores/feature.d.ts +2 -0
  81. package/dist/style.css +1 -1
  82. package/dist/supplier-DmbVK4Tn.js +83 -0
  83. package/dist/{surcharge-C8PXRjfJ.js → surcharge-Bm3TRth-.js} +1 -1
  84. package/dist/tsconfig.app.tsbuildinfo +1 -1
  85. package/dist/{uom-rules-DddX9wN4.js → uom-rules-BmtdGlz9.js} +1 -1
  86. package/dist/{use-ingredient-select-dialog-DWQxhfQD.js → use-ingredient-select-dialog-Bm9296fn.js} +2 -2
  87. package/dist/{use-inventory-binding-dialog-BWSMrzp1.js → use-inventory-binding-dialog-HYJiNm8y.js} +2 -2
  88. package/dist/{use-template-enabled-locations-3DN8aZBs.js → use-template-enabled-locations-DSEcyYzM.js} +2 -2
  89. package/dist/{use-transfer-locations-DnybeRXF.js → use-transfer-locations-vpiv_TeO.js} +8 -8
  90. package/dist/{useHrmPermission-ymQe-N7i.js → useHrmPermission-DAncjlGt.js} +1 -1
  91. package/dist/{useNavigationMenu-D88-0QxA.js → useNavigationMenu-BG_AH0Xf.js} +43 -38
  92. package/dist/{useSseClient-CWNMcLEX.js → useSseClient-CuLS50U2.js} +3 -3
  93. package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
  94. package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
  95. package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
  96. package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
  97. package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
  98. package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
  99. package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
  100. package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
  101. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +2 -0
  102. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +194 -0
  103. package/dist/views/receive-request-bulk/BulkReceiveRequestView.vue.d.ts +3 -0
  104. package/dist/views/receive-request-bulk/components/CreateTransferWizard.vue.d.ts +25 -0
  105. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +4138 -0
  106. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +771 -0
  107. package/dist/{vue-i18n-D7c0eqQP.js → vue-i18n-Tl34av_i.js} +398 -398
  108. package/dist/{xlsx-DXHnJflt.js → xlsx.util-CJaAO-II.js} +2594 -2497
  109. package/package.json +5 -4
  110. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang--A4q92Mt.js +0 -293
  111. package/dist/IntegrationView-D2_2A1ve.js +0 -5100
  112. package/dist/supplier-B5LWMrcL.js +0 -78
  113. package/dist/xlsx.util-PhY8wVQG.js +0 -101
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-B9XrL1RC.js";
2
+ import { u } from "./netsuite-C_Gph48P.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-DTBAhC9s.js";
3
- import { a as A } from "./FmMultiselectDialog-B1O653NS.js";
2
+ import { a as b } from "./app-Dsbvoxur.js";
3
+ import { a as A } from "./FmMultiselectDialog-Btal-2Li.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-B1O653NS.js";
2
- import { a as P } from "./app-DTBAhC9s.js";
1
+ import { a as g } from "./FmMultiselectDialog-Btal-2Li.js";
2
+ import { a as P } from "./app-Dsbvoxur.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-B1O653NS.js";
2
- import { u as S } from "./app-DTBAhC9s.js";
1
+ import { a as A } from "./FmMultiselectDialog-Btal-2Li.js";
2
+ import { u as S } from "./app-Dsbvoxur.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, T as w, X as R } from "./app-DTBAhC9s.js";
2
- import { u as E } from "./supplier-B5LWMrcL.js";
1
+ import { u as g, r as l, W as w, Z as R } from "./app-Dsbvoxur.js";
2
+ import { u as E } from "./supplier-DmbVK4Tn.js";
3
3
  import { computed as u } from "vue";
4
4
  function d(n) {
5
5
  const c = R.safeParse(n);
@@ -31,7 +31,7 @@ function F(n, c, y = !1, f = !1) {
31
31
  var a;
32
32
  await p.readSuppliers();
33
33
  const s = n();
34
- if ((a = s.supplier) != null && a._id) return;
34
+ if ((a = s.supplier) != null && a._id || s.template) return;
35
35
  const e = f ? p.suppliers[0] : p.businessSuppliers[0], r = (y ? t.locations.filter((i) => i.doc._id !== t.currentLocation.doc._id) : t.locations)[0];
36
36
  c({
37
37
  ...s,
@@ -65,8 +65,8 @@ function F(n, c, y = !1, f = !1) {
65
65
  supplier: a ? _(a) : e.supplier
66
66
  });
67
67
  }
68
- }), T = u(() => p.locationSuppliers.map(d)), v = u(() => p.businessSuppliers.map(d)), S = u(() => {
69
- const s = [...T.value], e = [...v.value];
68
+ }), v = u(() => p.locationSuppliers.map(d)), T = u(() => p.businessSuppliers.map(d)), S = u(() => {
69
+ const s = [...v.value], e = [...T.value];
70
70
  return f ? [...e, ...s] : e;
71
71
  }), b = u(() => {
72
72
  var o;
@@ -76,10 +76,10 @@ function F(n, c, y = !1, f = !1) {
76
76
  ) : t.allLocations).filter((r) => s || r.acceptRequest).map(_);
77
77
  }), O = u(() => {
78
78
  if (L.value === l.enum.purchase) {
79
- const e = T.value.map((r) => ({
79
+ const e = v.value.map((r) => ({
80
80
  label: r.name,
81
81
  value: r._id
82
- })), o = v.value.map((r) => ({
82
+ })), o = T.value.map((r) => ({
83
83
  label: r.name,
84
84
  sublabel: "Business supplier",
85
85
  value: r._id
@@ -105,7 +105,7 @@ function F(n, c, y = !1, f = !1) {
105
105
  transferLocationModel: h,
106
106
  transferLocationOptions: O,
107
107
  locationOptionsTypePurchase: S,
108
- locationOptionsTypePurchaseLocationLevel: T,
108
+ locationOptionsTypePurchaseLocationLevel: v,
109
109
  locationOptionsTypeTransfer: b,
110
110
  selectedLocation: P
111
111
  };
@@ -1,5 +1,5 @@
1
1
  import { computed as p, toValue as o } from "vue";
2
- import { a3 as n } from "./app-DTBAhC9s.js";
2
+ import { a4 as n } from "./app-Dsbvoxur.js";
3
3
  import { useCoreStore as c } from "@feedmepos/mf-common";
4
4
  function g(t, i = "all") {
5
5
  const m = c();
@@ -1,29 +1,29 @@
1
1
  import { computed as T } from "vue";
2
- import { a4 as P, R as e, b, a5 as A, a3 as O } from "./app-DTBAhC9s.js";
3
- import { useCoreStore as C, useI18n as L } from "@feedmepos/mf-common";
4
- import { u as _ } from "./feature-BACkglr0.js";
5
- const G = P.reduce(
6
- (o, i) => {
7
- var s;
8
- return i.name && (o[i.name] = (s = i.meta) == null ? void 0 : s.validationManifest), o;
2
+ import { a5 as b, R as e, b as P, a6 as A, a4 as O } from "./app-Dsbvoxur.js";
3
+ import { useCoreStore as _, useI18n as C } from "@feedmepos/mf-common";
4
+ import { u as L } from "./feature-CLIj8wgr.js";
5
+ const U = b.reduce(
6
+ (s, E) => {
7
+ var i;
8
+ return E.name && (s[E.name] = (i = E.meta) == null ? void 0 : i.validationManifest), s;
9
9
  },
10
10
  {}
11
11
  );
12
12
  function p() {
13
- const o = C(), i = _(), { t: s } = L(), { isDev: c } = b(), l = (r) => A(r, s), N = T(
13
+ const s = _(), E = L(), { t: i } = C(), { isDev: c } = P(), l = (t) => A(t, i), N = T(
14
14
  () => {
15
- var r;
16
- return ((r = o.sessionUser.value) == null ? void 0 : r.permissions) ?? [];
15
+ var t;
16
+ return ((t = s.sessionUser.value) == null ? void 0 : t.permissions) ?? [];
17
17
  }
18
- ), h = (r = []) => r.length === 0 ? !0 : O(r, N.value).granted, a = (r) => {
19
- const n = G[r];
18
+ ), h = (t = []) => t.length === 0 ? !0 : O(t, N.value).granted, a = (t) => {
19
+ const n = U[t];
20
20
  return h(n == null ? void 0 : n.requiredCaslPermissions);
21
- }, R = (r) => r.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: R(n.children) } : n).filter((n) => !n.children || n.children.length > 0), I = (r) => r.map((n) => {
22
- const { hide: E, children: t, ...u } = n, S = { ...u };
23
- return t && (S.children = I(t)), S;
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;
24
24
  }), d = T(() => {
25
- var E;
26
- const r = [
25
+ var o;
26
+ const t = [
27
27
  {
28
28
  label: "Non-Production Environment",
29
29
  icon: "logo_dev",
@@ -34,24 +34,24 @@ function p() {
34
34
  label: l(e.STOCK),
35
35
  children: [
36
36
  {
37
- label: s("inventory.stock.stock_balance.title"),
37
+ label: i("inventory.stock.stock_balance.title"),
38
38
  value: e.STOCK,
39
39
  hide: !a(e.STOCK)
40
40
  },
41
41
  {
42
42
  label: l(e.UNIT_COST_HISTORY),
43
43
  value: e.UNIT_COST_HISTORY,
44
- hide: !a(e.UNIT_COST_HISTORY) || !i.enableTotalCost
44
+ hide: !a(e.UNIT_COST_HISTORY) || !E.enableTotalCost
45
45
  },
46
46
  {
47
47
  label: l(e.WASTAGE_TEMPLATE),
48
48
  value: e.WASTAGE_TEMPLATE,
49
- hide: !a(e.WASTAGE_TEMPLATE) || !i.enableWastageTemplate
49
+ hide: !a(e.WASTAGE_TEMPLATE) || !E.enableWastageTemplate
50
50
  }
51
51
  ]
52
52
  },
53
53
  {
54
- label: s("inventory.closing.title"),
54
+ label: i("inventory.closing.title"),
55
55
  children: [
56
56
  {
57
57
  label: l(e.CLOSING_HISTORY),
@@ -61,12 +61,12 @@ function p() {
61
61
  {
62
62
  label: l(e.CLOSING_TEMPLATE),
63
63
  value: e.CLOSING_TEMPLATE,
64
- hide: !a(e.CLOSING_TEMPLATE) || !i.enableClosingTemplate
64
+ hide: !a(e.CLOSING_TEMPLATE) || !E.enableClosingTemplate
65
65
  },
66
66
  {
67
67
  label: l(e.CLOSING_DRAFT),
68
68
  value: e.CLOSING_DRAFT,
69
- hide: !a(e.CLOSING_DRAFT) || !i.enableClosingTemplate
69
+ hide: !a(e.CLOSING_DRAFT) || !E.enableClosingTemplate
70
70
  }
71
71
  ]
72
72
  },
@@ -78,7 +78,7 @@ function p() {
78
78
  {
79
79
  label: l(e.INGREDIENT_GROUP),
80
80
  value: e.INGREDIENT_GROUP,
81
- hide: !a(e.INGREDIENT_GROUP) || !i.enableIngredientGroup
81
+ hide: !a(e.INGREDIENT_GROUP) || !E.enableIngredientGroup
82
82
  },
83
83
  {
84
84
  label: l(e.RECIPE),
@@ -91,13 +91,18 @@ function p() {
91
91
  hide: !a(e.UNIT)
92
92
  },
93
93
  {
94
- label: s("inventory.transfer.title"),
94
+ label: i("inventory.transfer.title"),
95
95
  children: [
96
96
  {
97
97
  label: l(e.RECEIVE_REQUEST),
98
98
  value: e.RECEIVE_REQUEST,
99
99
  hide: !a(e.RECEIVE_REQUEST)
100
100
  },
101
+ {
102
+ label: l(e.RECEIVE_REQUEST_BULK),
103
+ value: e.RECEIVE_REQUEST_BULK,
104
+ hide: !a(e.RECEIVE_REQUEST_BULK) || !E.enableReceiveRequestBeta
105
+ },
101
106
  {
102
107
  label: l(e.APPROVAL),
103
108
  value: e.APPROVAL,
@@ -106,12 +111,12 @@ function p() {
106
111
  {
107
112
  label: l(e.SURCHARGE),
108
113
  value: e.SURCHARGE,
109
- hide: !a(e.SURCHARGE) || !i.enableSurcharge
114
+ hide: !a(e.SURCHARGE) || !E.enableSurcharge
110
115
  },
111
116
  {
112
117
  label: l(e.TRANSFER_TEMPLATE),
113
118
  value: e.TRANSFER_TEMPLATE,
114
- hide: !a(e.TRANSFER_TEMPLATE) || !i.enablePoTemplate
119
+ hide: !a(e.TRANSFER_TEMPLATE) || !E.enablePoTemplate
115
120
  }
116
121
  ]
117
122
  },
@@ -133,27 +138,27 @@ function p() {
133
138
  {
134
139
  label: l(e.IMPORT),
135
140
  value: e.IMPORT,
136
- hide: !a(e.IMPORT) || !i.enableBulkImport
141
+ hide: !a(e.IMPORT) || !E.enableBulkImport
137
142
  },
138
143
  {
139
144
  label: l(e.INTEGRATION),
140
145
  value: e.INTEGRATION,
141
146
  hide: !a(e.INTEGRATION)
142
147
  }
143
- ], n = I(R(r));
144
- return ((E = o.currentBusiness.value) == null ? void 0 : E.menuVersion) === "v3" ? n.filter(
145
- (t) => t.value !== e.INGREDIENTS && t.value !== e.RECIPE && t.value !== e.UNIT && t.value !== e.PUBLISH
148
+ ], n = I(R(t));
149
+ return ((o = s.currentBusiness.value) == null ? void 0 : o.menuVersion) === "v3" ? n.filter(
150
+ (r) => r.value !== e.INGREDIENTS && r.value !== e.RECIPE && r.value !== e.UNIT && r.value !== e.PUBLISH
146
151
  ) : n;
147
152
  }), v = T(() => {
148
- function r(E) {
149
- for (const t of E)
150
- if (t.children && t.children.length > 0) {
151
- const u = r(t.children);
153
+ function t(o) {
154
+ for (const r of o)
155
+ if (r.children && r.children.length > 0) {
156
+ const u = t(r.children);
152
157
  if (u) return u;
153
- } else if (t.value)
154
- return t.value;
158
+ } else if (r.value)
159
+ return r.value;
155
160
  }
156
- return r(d.value) ?? null;
161
+ return t(d.value) ?? null;
157
162
  });
158
163
  return { menuItems: d, firstAccessibleRouteName: v };
159
164
  }
@@ -1,7 +1,7 @@
1
- import { u as re } from "./stock-PIkXqbIP.js";
2
- import { a as K, P as oe, m as ae } from "./app-DTBAhC9s.js";
1
+ import { u as re } from "./stock-CeogHsSl.js";
2
+ import { a as K, P as oe, m as ae } from "./app-Dsbvoxur.js";
3
3
  import { ref as ie, computed as ce } from "vue";
4
- import { c as le } from "./number-DKjrPhev.js";
4
+ import { c as le } from "./number-CTKxLav6.js";
5
5
  import { useCoreStore as he } from "@feedmepos/mf-common";
6
6
  function ue() {
7
7
  return {
@@ -0,0 +1,22 @@
1
+ import { type PropType } from 'vue';
2
+ import type { BindingBase, BindingImportConfig, ImportResult } from '../../helper/binding-import/types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ config: {
5
+ type: PropType<BindingImportConfig<BindingBase>>;
6
+ required: true;
7
+ };
8
+ result: {
9
+ type: PropType<ImportResult<BindingBase>>;
10
+ required: true;
11
+ };
12
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ config: {
14
+ type: PropType<BindingImportConfig<BindingBase>>;
15
+ required: true;
16
+ };
17
+ result: {
18
+ type: PropType<ImportResult<BindingBase>>;
19
+ required: true;
20
+ };
21
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ export default _default;