@feedmepos/mf-inventory-portal 1.8.0-dev.2 → 1.8.0-dev.3

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 (128) hide show
  1. package/dist/{App-DVHgBTHP.js → App-DRXADP0k.js} +11 -12
  2. package/dist/{ApprovalView-RaXuWWSu.js → ApprovalView-hV1msz5Y.js} +9 -9
  3. package/dist/{BindingsDialog-DomvXijP.js → BindingsDialog-BX1Lopf0.js} +2 -2
  4. package/dist/{BindingsPicker-DGnzxEs7.js → BindingsPicker-BNKW8-XY.js} +2 -2
  5. package/dist/{BindingsTable-DfG9kWrv.js → BindingsTable-DiLDsL83.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-DxHWrfbi.js → BulkReceiveRequestView-oQh6kFLc.js} +22 -21
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BaMcGU-x.js} +1 -1
  8. package/dist/{ClosingDraftView-C3n66bbh.js → ClosingDraftView-sgLoaSf4.js} +20 -20
  9. package/dist/{ClosingHistoryView-kdpYGy1Y.js → ClosingHistoryView-BnE9HrzA.js} +5 -5
  10. package/dist/{ClosingTemplateView-DwGloYxn.js → ClosingTemplateView-BD3Pa11r.js} +18 -18
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DlbyxkMQ.js} +1 -1
  12. package/dist/{DefaultView-JC_e4xgC.js → DefaultView-CuzvVkfE.js} +5 -5
  13. package/dist/{DeliveryOrderPrintPreview-BBCvI67S.js → DeliveryOrderPrintPreview-w-1aAOY1.js} +2 -2
  14. package/dist/{DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js → DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-Bp8bjDU1.js} +1 -1
  15. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js → EmailDialog.vue_vue_type_script_setup_true_lang-CxD12Qct.js} +33 -31
  16. package/dist/{portal-feature-catalog-yGIESKTc.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-CMoQKl_a.js} +84 -22
  17. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BqCh_vTP.js} +1 -1
  18. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CAXnmdUy.js} +2 -2
  19. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-NhOdW33O.js} +2 -2
  20. package/dist/{FmMultiselectDialog-yVPY5aBV.js → FmMultiselectDialog-BqZgHP8s.js} +1 -1
  21. package/dist/{FmMultiselectDialog-DCaRlBIy.js → FmMultiselectDialog-CULwA_hi.js} +2 -2
  22. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CI3Y9kDl.js} +6 -6
  23. package/dist/{ImportView-DQrVMzxN.js → ImportView-DqQG673_.js} +6 -6
  24. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DfvNUu80.js} +1 -1
  25. package/dist/{IngredientGroupView-BMUnEaY7.js → IngredientGroupView-CyngKxPo.js} +7 -7
  26. package/dist/{IngredientsView-DPj9lBTK.js → IngredientsView-pzpP6oXT.js} +29 -23
  27. package/dist/{IntegrationExplorerView-CO2wpUR_.js → IntegrationExplorerView-C5aAhB6e.js} +4 -4
  28. package/dist/{IntegrationView-DIeZoey0.js → IntegrationView-Bqun7nX0.js} +15 -15
  29. package/dist/{InventoryBindingForm-Cj4_Chue.js → InventoryBindingForm-r_Ua1C4a.js} +1 -1
  30. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYDuu4kU.js} +5 -5
  31. package/dist/{InventoryBindingSummary-yzGzd7jJ.js → InventoryBindingSummary-BQuZLohR.js} +1 -1
  32. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-7r-QcJdU.js} +1 -1
  33. package/dist/{ProductionRunDetailView-Cw-ecaey.js → ProductionRunDetailView-95fu_CfH.js} +4 -4
  34. package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CdOca1tV.js} +7 -7
  35. package/dist/{ProductionRunView-C11eseXQ.js → ProductionRunView-DIjor_Ix.js} +3 -3
  36. package/dist/{PublishView-CPK9NeVF.js → PublishView-DYObyHQq.js} +3 -3
  37. package/dist/{PurchaseOrderPrintPreview-DosqWQeN.js → PurchaseOrderPrintPreview-C0jCmI9L.js} +2 -2
  38. package/dist/{ReceiveRequestView-BxSkpK2t.js → ReceiveRequestView-i7ibPfIE.js} +16 -15
  39. package/dist/{RecipeView-oHDWsT0P.js → RecipeView-C5VO7yr3.js} +20 -19
  40. package/dist/{SettingsView-QlUNwFhM.js → SettingsView-CdBloj9k.js} +13 -13
  41. package/dist/{StockView-a8LbVZ_7.js → StockView-g_6eJ62R.js} +28 -25
  42. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C1rKc7MA.js} +1 -1
  43. package/dist/{SupplierView-BKxKoi_0.js → SupplierView-DkYp_Frj.js} +14 -14
  44. package/dist/{SurchargeView-Db4cwhZv.js → SurchargeView-CfkV4Y3y.js} +7 -7
  45. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-2MtN1p5t.js} +2 -2
  46. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYMjKXq4.js} +1 -1
  47. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js → TransferDetails.vue_vue_type_script_setup_true_lang-D0zNr_vQ.js} +40 -39
  48. package/dist/{TransferTemplateView-CzwxOBMQ.js → TransferTemplateView-Ne2gYUSn.js} +23 -22
  49. package/dist/{UnitCostHistoryView-CqcyjCCd.js → UnitCostHistoryView-Db0_otOb.js} +4 -4
  50. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BzO1lq7j.js} +4 -4
  51. package/dist/{UnitView-BqdK1AM_.js → UnitView-CiCeQ63i.js} +8 -8
  52. package/dist/{WarehouseView-COJM9IXM.js → WarehouseView-BcuJSOMF.js} +8 -8
  53. package/dist/{WastageTemplateView-DW3viTHN.js → WastageTemplateView-CPQmtOKQ.js} +15 -15
  54. package/dist/api/inventory.d.ts +9 -9
  55. package/dist/{app-yvK__CBL.js → app-DqJp3dcI.js} +19 -18
  56. package/dist/app.js +1 -1
  57. package/dist/{closing-template-DezidSM0.js → closing-template-BNlgZviN.js} +1 -1
  58. package/dist/components/FeatureCapabilityBadge.vue.d.ts +5 -1
  59. package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
  60. package/dist/{feature-CkWaZ-5K.js → core-Js7d-3Pv.js} +1836 -3042
  61. package/dist/{date2-2XjepIqc.js → date2-Ci7521dn.js} +1 -1
  62. package/dist/{dayjs.min-CNp5DLBB.js → dayjs.min-Cyp32v4J.js} +1 -1
  63. package/dist/{decimal-Z7oJdGk8.js → decimal-BGdm5R3A.js} +2 -2
  64. package/dist/{defineDeepModel-CMxJn_H2.js → defineDeepModel-B2cJ-rtd.js} +1 -1
  65. package/dist/{duplicate-template-BetV5oy_.js → duplicate-template-By5WeKZ0.js} +1 -1
  66. package/dist/feature-fG7d73oi.js +371 -0
  67. package/dist/{format-time-from-id-DatSI9uD.js → format-time-from-id-Q8C2P96H.js} +1 -1
  68. package/dist/{format-unit-display-DM5We5cx.js → format-unit-display-CICrmm8r.js} +13 -13
  69. package/dist/{id-to-date-Dxw2jKhy.js → id-to-date-DeN5x0LR.js} +1 -1
  70. package/dist/{import-export.helper-BOmADwUw.js → import-export.helper-BOTQWxr6.js} +28 -28
  71. package/dist/{index-7fz5sGDO.js → index-BbbqCCfp.js} +3 -3
  72. package/dist/{index-ClYgfwW7.js → index-Cxm3Sgfv.js} +1 -1
  73. package/dist/index-Dqf27vLH.js +841 -0
  74. package/dist/{index-CIH9NCvs.js → index-tCYhLCKP.js} +1 -1
  75. package/dist/{lz-string-CCsc2X7t.js → lz-string-Dy4Pg8mh.js} +1 -1
  76. package/dist/{netsuite-COumFXC2.js → netsuite-BaJjkDM8.js} +2 -2
  77. package/dist/{number-gSLvxNqA.js → number-CB36d2PQ.js} +3 -3
  78. package/dist/{predefined-templates-Bw9A9LNA.js → predefined-templates-DLm93Bpx.js} +1 -1
  79. package/dist/{purchase-order-template-BaZjdGq8.js → purchase-order-template-CDhn9ZIF.js} +1 -1
  80. package/dist/{recalculationUtils-t32wAurN.js → recalculationUtils-Cqvefakh.js} +1 -1
  81. package/dist/{row-action.enum-BDeudY4d.js → row-action.enum-NTfVmGY8.js} +1 -1
  82. package/dist/{rules-C1btu0Md.js → rules-C8dfM84-.js} +2 -2
  83. package/dist/{stock-BF86TMW0.js → stock-BGB0Siue.js} +3 -3
  84. package/dist/{stock-B59sfN28.js → stock-Qu5IiN2_.js} +1 -1
  85. package/dist/stores/integration/netsuite.d.ts +2 -2
  86. package/dist/stores/location.d.ts +42 -42
  87. package/dist/stores/supplier.d.ts +48 -48
  88. package/dist/stores/warehouse.d.ts +1 -1
  89. package/dist/{supplier-DnbLJ_cS.js → supplier-CZdNOSMN.js} +17 -17
  90. package/dist/{surcharge-C1uE3uQa.js → surcharge-Cm40oJvU.js} +1 -1
  91. package/dist/tsconfig.app.tsbuildinfo +1 -1
  92. package/dist/{uom-rules-DjfyrFHJ.js → uom-rules-L-IW4Nwk.js} +1 -1
  93. package/dist/{use-ingredient-select-dialog-7A7fWyEH.js → use-ingredient-select-dialog-B2TDVJM6.js} +2 -2
  94. package/dist/{use-inventory-binding-dialog-Cc1tjTfV.js → use-inventory-binding-dialog-BJ00hl5f.js} +2 -2
  95. package/dist/{use-template-enabled-locations-C-Hqqgzt.js → use-template-enabled-locations-DYAPMvo9.js} +2 -2
  96. package/dist/{use-transfer-locations-CqsXvOI2.js → use-transfer-locations-w-9tymYS.js} +2 -2
  97. package/dist/{useHrmPermission-BzwD3Ctc.js → useHrmPermission-BFCIo5sA.js} +1 -1
  98. package/dist/{useNavigationMenu-PrZg9HS7.js → useNavigationMenu-BPHAH5sJ.js} +38 -38
  99. package/dist/{useSseClient-FCyLWq8k.js → useSseClient-CWjRacRs.js} +1 -1
  100. package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
  101. package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
  102. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
  103. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
  104. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
  105. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
  106. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
  107. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
  108. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
  109. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
  110. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
  111. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
  112. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +5 -5
  113. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +39 -39
  114. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +35 -35
  115. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +34 -34
  116. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +6 -6
  117. package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
  118. package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
  119. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
  120. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
  121. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
  122. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
  123. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
  124. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
  125. package/dist/{vue-i18n-C34f-Tph.js → vue-i18n-S4YQ9w6a.js} +219 -219
  126. package/dist/{xlsx.util-X4amwe_k.js → xlsx.util-CP8_VajN.js} +2 -2
  127. package/package.json +4 -4
  128. package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +0 -61
@@ -1,5 +1,5 @@
1
1
  import { computed as o } from "vue";
2
- import { u } from "./netsuite-COumFXC2.js";
2
+ import { u } from "./netsuite-BaJjkDM8.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-yvK__CBL.js";
3
- import { a as A } from "./FmMultiselectDialog-DCaRlBIy.js";
2
+ import { a as b } from "./app-DqJp3dcI.js";
3
+ import { a as A } from "./FmMultiselectDialog-CULwA_hi.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-DCaRlBIy.js";
2
- import { a as P } from "./app-yvK__CBL.js";
1
+ import { a as g } from "./FmMultiselectDialog-CULwA_hi.js";
2
+ import { a as P } from "./app-DqJp3dcI.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-DCaRlBIy.js";
2
- import { u as S } from "./app-yvK__CBL.js";
1
+ import { a as A } from "./FmMultiselectDialog-CULwA_hi.js";
2
+ import { u as S } from "./app-DqJp3dcI.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-yvK__CBL.js";
2
- import { u as E } from "./supplier-DnbLJ_cS.js";
1
+ import { u as g, r as l, $ as w, a2 as R } from "./app-DqJp3dcI.js";
2
+ import { u as E } from "./supplier-CZdNOSMN.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-yvK__CBL.js";
2
+ import { ab as n } from "./app-DqJp3dcI.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,9 @@
1
1
  import { computed as E, h as P } from "vue";
2
- import { R as e, ac as C, ad as O, ab as f } from "./app-yvK__CBL.js";
2
+ import { R as e, ac as C, ad as f, ab as O } from "./app-DqJp3dcI.js";
3
3
  import { useCoreStore as b, useI18n as _ } from "@feedmepos/mf-common";
4
- import { u as U } from "./feature-CkWaZ-5K.js";
5
- import { e as A, d as L, g as p } from "./portal-feature-catalog-yGIESKTc.js";
6
- import { a as G } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js";
7
- const S = [
4
+ import { useFeatureStore as U } from "./feature-fG7d73oi.js";
5
+ import { e as A, d as L, g as S, a as G } from "./FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-CMoQKl_a.js";
6
+ const p = [
8
7
  {
9
8
  route: e.STOCK,
10
9
  module: "Stock",
@@ -148,52 +147,53 @@ const S = [
148
147
  description: "Inspect and manage integration records and synchronization."
149
148
  }
150
149
  ], y = Object.fromEntries(
151
- S.map((s) => {
150
+ p.map((s) => {
152
151
  var n, u;
153
152
  return [
154
153
  s.route,
155
154
  L({
156
155
  key: s.route,
157
156
  minimumTier: s.tier,
158
- release: s.release ?? ((u = (n = p(s.featureKey ?? "")) == null ? void 0 : n.definition) == null ? void 0 : u.release)
157
+ release: s.release ?? ((u = (n = S(s.featureKey ?? "")) == null ? void 0 : n.definition) == null ? void 0 : u.release)
159
158
  })
160
159
  ];
161
160
  })
162
161
  );
163
162
  function H(s) {
164
- return S.find((n) => n.route === s) ?? null;
163
+ return p.find((n) => n.route === s) ?? null;
165
164
  }
166
- function M(s) {
165
+ function K(s) {
167
166
  return s ? y[s] ?? null : null;
168
167
  }
169
- function w(s, n) {
170
- const u = M(s);
168
+ function W(s, n) {
169
+ const u = K(s);
171
170
  return u ? A(u, n) : { enabled: !0, disabled: !1, stage: "ga", eligible: !0 };
172
171
  }
173
- const K = O.reduce(
172
+ const M = f.reduce(
174
173
  (s, n) => {
175
174
  var u;
176
175
  return n.name && (s[n.name] = (u = n.meta) == null ? void 0 : u.validationManifest), s;
177
176
  },
178
177
  {}
179
178
  );
180
- function Q() {
181
- const s = b(), n = U(), { t: u } = _(), t = (i) => C(i, u), g = E(
179
+ function w() {
180
+ const s = b(), n = U(), { t: u } = _(), t = (o) => C(o, u), g = E(
182
181
  () => {
183
- var i;
184
- return ((i = s.sessionUser.value) == null ? void 0 : i.permissions) ?? [];
182
+ var o;
183
+ return ((o = s.sessionUser.value) == null ? void 0 : o.permissions) ?? [];
185
184
  }
186
- ), h = (i = []) => i.length === 0 ? !0 : f(i, g.value).granted, a = (i) => {
187
- const r = K[i];
185
+ ), h = (o = []) => o.length === 0 ? !0 : O(o, g.value).granted, a = (o) => {
186
+ const r = M[o];
188
187
  return h(r == null ? void 0 : r.requiredCaslPermissions);
189
- }, R = (i) => i.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: R(r.children) } : r).filter((r) => !r.children || r.children.length > 0), T = (i) => i.map((r) => {
190
- const { hide: d, children: o, ...l } = r, c = { ...l };
191
- return o && (c.children = T(o)), c;
192
- }), I = (i) => i.map((r) => {
193
- const d = r.value, o = H(d), l = p((o == null ? void 0 : o.featureKey) ?? ""), c = l == null ? void 0 : l.category, v = o && (o.tier === "premium" || c === "beta" || l != null && l.deprecateSoon) ? () => P(G, {
194
- tier: o.tier,
188
+ }, R = (o) => o.filter((r) => !r.hide).map((r) => r.children ? { ...r, children: R(r.children) } : r).filter((r) => !r.children || r.children.length > 0), T = (o) => o.map((r) => {
189
+ const { hide: d, children: i, ...l } = r, c = { ...l };
190
+ return i && (c.children = T(i)), c;
191
+ }), I = (o) => o.map((r) => {
192
+ const d = r.value, i = H(d), l = S((i == null ? void 0 : i.featureKey) ?? ""), c = l == null ? void 0 : l.category, v = i && (i.tier === "premium" || c === "beta" || l != null && l.deprecateSoon) ? () => P(G, {
193
+ tier: i.tier,
195
194
  category: c,
196
- deprecateSoon: l == null ? void 0 : l.deprecateSoon
195
+ deprecateSoon: l == null ? void 0 : l.deprecateSoon,
196
+ featureKey: i.featureKey
197
197
  }) : void 0;
198
198
  return {
199
199
  ...r,
@@ -202,7 +202,7 @@ function Q() {
202
202
  };
203
203
  }), m = E(() => {
204
204
  var d;
205
- const i = [
205
+ const o = [
206
206
  {
207
207
  label: t(e.STOCK),
208
208
  children: [
@@ -328,25 +328,25 @@ function Q() {
328
328
  value: e.SETTINGS,
329
329
  hide: !a(e.SETTINGS)
330
330
  }
331
- ], r = I(T(R(i)));
331
+ ], r = I(T(R(o)));
332
332
  return ((d = s.currentBusiness.value) == null ? void 0 : d.menuVersion) === "v3" ? r.filter(
333
- (o) => o.value !== e.INGREDIENTS && o.value !== e.RECIPE && o.value !== e.UNIT && o.value !== e.PUBLISH
333
+ (i) => i.value !== e.INGREDIENTS && i.value !== e.RECIPE && i.value !== e.UNIT && i.value !== e.PUBLISH
334
334
  ) : r;
335
335
  }), N = E(() => {
336
- function i(d) {
337
- for (const o of d)
338
- if (o.children && o.children.length > 0) {
339
- const l = i(o.children);
336
+ function o(d) {
337
+ for (const i of d)
338
+ if (i.children && i.children.length > 0) {
339
+ const l = o(i.children);
340
340
  if (l) return l;
341
- } else if (o.value)
342
- return o.value;
341
+ } else if (i.value)
342
+ return i.value;
343
343
  }
344
- return i(m.value) ?? null;
344
+ return o(m.value) ?? null;
345
345
  });
346
346
  return { menuItems: m, firstAccessibleRouteName: N };
347
347
  }
348
348
  export {
349
- w as e,
350
- S as n,
351
- Q as u
349
+ W as e,
350
+ p as n,
351
+ w as u
352
352
  };
@@ -1,4 +1,4 @@
1
- import { d as se } from "./app-yvK__CBL.js";
1
+ import { d as se } from "./app-DqJp3dcI.js";
2
2
  import { useCoreStore as ne } from "@feedmepos/mf-common";
3
3
  const re = se((e, t) => ({
4
4
  getSubscribeUrl(s, r, a) {
@@ -43,14 +43,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
43
43
  businessId: string;
44
44
  profile: {
45
45
  code?: string | null | undefined;
46
- url?: string | null | undefined;
47
- description?: string | null | undefined;
48
46
  _id?: string | null | undefined;
49
47
  legalName?: string | null | undefined;
50
48
  sstRegNo?: string | null | undefined;
51
49
  discovery?: boolean | null | undefined;
52
50
  coverPhoto?: string | null | undefined;
53
51
  thumbnailPhoto?: string | null | undefined;
52
+ description?: string | null | undefined;
54
53
  photos?: string[] | null | undefined;
55
54
  operatingHours?: {
56
55
  0: {
@@ -104,6 +103,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
104
103
  };
105
104
  } | null | undefined;
106
105
  tags?: string[] | null | undefined;
106
+ url?: string | null | undefined;
107
107
  name: string;
108
108
  address: {
109
109
  coordinates?: number[] | null | undefined;
@@ -114,8 +114,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
114
114
  city: string;
115
115
  postcode: string;
116
116
  };
117
- email: string;
118
117
  phoneNo: string;
118
+ email: string;
119
119
  regNo: string;
120
120
  };
121
121
  };
@@ -158,14 +158,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
158
158
  businessId: string;
159
159
  profile: {
160
160
  code?: string | null | undefined;
161
- url?: string | null | undefined;
162
- description?: string | null | undefined;
163
161
  _id?: string | null | undefined;
164
162
  legalName?: string | null | undefined;
165
163
  sstRegNo?: string | null | undefined;
166
164
  discovery?: boolean | null | undefined;
167
165
  coverPhoto?: string | null | undefined;
168
166
  thumbnailPhoto?: string | null | undefined;
167
+ description?: string | null | undefined;
169
168
  photos?: string[] | null | undefined;
170
169
  operatingHours?: {
171
170
  0: {
@@ -219,6 +218,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
219
218
  };
220
219
  } | null | undefined;
221
220
  tags?: string[] | null | undefined;
221
+ url?: string | null | undefined;
222
222
  name: string;
223
223
  address: {
224
224
  coordinates?: number[] | null | undefined;
@@ -229,8 +229,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
229
229
  city: string;
230
230
  postcode: string;
231
231
  };
232
- email: string;
233
232
  phoneNo: string;
233
+ email: string;
234
234
  regNo: string;
235
235
  };
236
236
  };
@@ -273,14 +273,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
273
273
  businessId: string;
274
274
  profile: {
275
275
  code?: string | null | undefined;
276
- url?: string | null | undefined;
277
- description?: string | null | undefined;
278
276
  _id?: string | null | undefined;
279
277
  legalName?: string | null | undefined;
280
278
  sstRegNo?: string | null | undefined;
281
279
  discovery?: boolean | null | undefined;
282
280
  coverPhoto?: string | null | undefined;
283
281
  thumbnailPhoto?: string | null | undefined;
282
+ description?: string | null | undefined;
284
283
  photos?: string[] | null | undefined;
285
284
  operatingHours?: {
286
285
  0: {
@@ -334,6 +333,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
334
333
  };
335
334
  } | null | undefined;
336
335
  tags?: string[] | null | undefined;
336
+ url?: string | null | undefined;
337
337
  name: string;
338
338
  address: {
339
339
  coordinates?: number[] | null | undefined;
@@ -344,8 +344,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
344
344
  city: string;
345
345
  postcode: string;
346
346
  };
347
- email: string;
348
347
  phoneNo: string;
348
+ email: string;
349
349
  regNo: string;
350
350
  };
351
351
  };
@@ -387,14 +387,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
387
387
  businessId: string;
388
388
  profile: {
389
389
  code?: string | null | undefined;
390
- url?: string | null | undefined;
391
- description?: string | null | undefined;
392
390
  _id?: string | null | undefined;
393
391
  legalName?: string | null | undefined;
394
392
  sstRegNo?: string | null | undefined;
395
393
  discovery?: boolean | null | undefined;
396
394
  coverPhoto?: string | null | undefined;
397
395
  thumbnailPhoto?: string | null | undefined;
396
+ description?: string | null | undefined;
398
397
  photos?: string[] | null | undefined;
399
398
  operatingHours?: {
400
399
  0: {
@@ -448,6 +447,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
448
447
  };
449
448
  } | null | undefined;
450
449
  tags?: string[] | null | undefined;
450
+ url?: string | null | undefined;
451
451
  name: string;
452
452
  address: {
453
453
  coordinates?: number[] | null | undefined;
@@ -458,8 +458,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
458
458
  city: string;
459
459
  postcode: string;
460
460
  };
461
- email: string;
462
461
  phoneNo: string;
462
+ email: string;
463
463
  regNo: string;
464
464
  };
465
465
  };
@@ -522,14 +522,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
522
522
  businessId: string;
523
523
  profile: {
524
524
  code?: string | null | undefined;
525
- url?: string | null | undefined;
526
- description?: string | null | undefined;
527
525
  _id?: string | null | undefined;
528
526
  legalName?: string | null | undefined;
529
527
  sstRegNo?: string | null | undefined;
530
528
  discovery?: boolean | null | undefined;
531
529
  coverPhoto?: string | null | undefined;
532
530
  thumbnailPhoto?: string | null | undefined;
531
+ description?: string | null | undefined;
533
532
  photos?: string[] | null | undefined;
534
533
  operatingHours?: {
535
534
  0: {
@@ -583,6 +582,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
583
582
  };
584
583
  } | null | undefined;
585
584
  tags?: string[] | null | undefined;
585
+ url?: string | null | undefined;
586
586
  name: string;
587
587
  address: {
588
588
  coordinates?: number[] | null | undefined;
@@ -593,8 +593,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
593
593
  city: string;
594
594
  postcode: string;
595
595
  };
596
- email: string;
597
596
  phoneNo: string;
597
+ email: string;
598
598
  regNo: string;
599
599
  };
600
600
  };
@@ -637,14 +637,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
637
637
  businessId: string;
638
638
  profile: {
639
639
  code?: string | null | undefined;
640
- url?: string | null | undefined;
641
- description?: string | null | undefined;
642
640
  _id?: string | null | undefined;
643
641
  legalName?: string | null | undefined;
644
642
  sstRegNo?: string | null | undefined;
645
643
  discovery?: boolean | null | undefined;
646
644
  coverPhoto?: string | null | undefined;
647
645
  thumbnailPhoto?: string | null | undefined;
646
+ description?: string | null | undefined;
648
647
  photos?: string[] | null | undefined;
649
648
  operatingHours?: {
650
649
  0: {
@@ -698,6 +697,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
698
697
  };
699
698
  } | null | undefined;
700
699
  tags?: string[] | null | undefined;
700
+ url?: string | null | undefined;
701
701
  name: string;
702
702
  address: {
703
703
  coordinates?: number[] | null | undefined;
@@ -708,8 +708,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
708
708
  city: string;
709
709
  postcode: string;
710
710
  };
711
- email: string;
712
711
  phoneNo: string;
712
+ email: string;
713
713
  regNo: string;
714
714
  };
715
715
  };
@@ -752,14 +752,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
752
752
  businessId: string;
753
753
  profile: {
754
754
  code?: string | null | undefined;
755
- url?: string | null | undefined;
756
- description?: string | null | undefined;
757
755
  _id?: string | null | undefined;
758
756
  legalName?: string | null | undefined;
759
757
  sstRegNo?: string | null | undefined;
760
758
  discovery?: boolean | null | undefined;
761
759
  coverPhoto?: string | null | undefined;
762
760
  thumbnailPhoto?: string | null | undefined;
761
+ description?: string | null | undefined;
763
762
  photos?: string[] | null | undefined;
764
763
  operatingHours?: {
765
764
  0: {
@@ -813,6 +812,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
813
812
  };
814
813
  } | null | undefined;
815
814
  tags?: string[] | null | undefined;
815
+ url?: string | null | undefined;
816
816
  name: string;
817
817
  address: {
818
818
  coordinates?: number[] | null | undefined;
@@ -823,8 +823,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
823
823
  city: string;
824
824
  postcode: string;
825
825
  };
826
- email: string;
827
826
  phoneNo: string;
827
+ email: string;
828
828
  regNo: string;
829
829
  };
830
830
  };
@@ -866,14 +866,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
866
866
  businessId: string;
867
867
  profile: {
868
868
  code?: string | null | undefined;
869
- url?: string | null | undefined;
870
- description?: string | null | undefined;
871
869
  _id?: string | null | undefined;
872
870
  legalName?: string | null | undefined;
873
871
  sstRegNo?: string | null | undefined;
874
872
  discovery?: boolean | null | undefined;
875
873
  coverPhoto?: string | null | undefined;
876
874
  thumbnailPhoto?: string | null | undefined;
875
+ description?: string | null | undefined;
877
876
  photos?: string[] | null | undefined;
878
877
  operatingHours?: {
879
878
  0: {
@@ -927,6 +926,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
927
926
  };
928
927
  } | null | undefined;
929
928
  tags?: string[] | null | undefined;
929
+ url?: string | null | undefined;
930
930
  name: string;
931
931
  address: {
932
932
  coordinates?: number[] | null | undefined;
@@ -937,8 +937,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
937
937
  city: string;
938
938
  postcode: string;
939
939
  };
940
- email: string;
941
940
  phoneNo: string;
941
+ email: string;
942
942
  regNo: string;
943
943
  };
944
944
  };
@@ -1001,14 +1001,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1001
1001
  businessId: string;
1002
1002
  profile: {
1003
1003
  code?: string | null | undefined;
1004
- url?: string | null | undefined;
1005
- description?: string | null | undefined;
1006
1004
  _id?: string | null | undefined;
1007
1005
  legalName?: string | null | undefined;
1008
1006
  sstRegNo?: string | null | undefined;
1009
1007
  discovery?: boolean | null | undefined;
1010
1008
  coverPhoto?: string | null | undefined;
1011
1009
  thumbnailPhoto?: string | null | undefined;
1010
+ description?: string | null | undefined;
1012
1011
  photos?: string[] | null | undefined;
1013
1012
  operatingHours?: {
1014
1013
  0: {
@@ -1062,6 +1061,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1062
1061
  };
1063
1062
  } | null | undefined;
1064
1063
  tags?: string[] | null | undefined;
1064
+ url?: string | null | undefined;
1065
1065
  name: string;
1066
1066
  address: {
1067
1067
  coordinates?: number[] | null | undefined;
@@ -1072,8 +1072,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1072
1072
  city: string;
1073
1073
  postcode: string;
1074
1074
  };
1075
- email: string;
1076
1075
  phoneNo: string;
1076
+ email: string;
1077
1077
  regNo: string;
1078
1078
  };
1079
1079
  };
@@ -1116,14 +1116,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1116
1116
  businessId: string;
1117
1117
  profile: {
1118
1118
  code?: string | null | undefined;
1119
- url?: string | null | undefined;
1120
- description?: string | null | undefined;
1121
1119
  _id?: string | null | undefined;
1122
1120
  legalName?: string | null | undefined;
1123
1121
  sstRegNo?: string | null | undefined;
1124
1122
  discovery?: boolean | null | undefined;
1125
1123
  coverPhoto?: string | null | undefined;
1126
1124
  thumbnailPhoto?: string | null | undefined;
1125
+ description?: string | null | undefined;
1127
1126
  photos?: string[] | null | undefined;
1128
1127
  operatingHours?: {
1129
1128
  0: {
@@ -1177,6 +1176,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1177
1176
  };
1178
1177
  } | null | undefined;
1179
1178
  tags?: string[] | null | undefined;
1179
+ url?: string | null | undefined;
1180
1180
  name: string;
1181
1181
  address: {
1182
1182
  coordinates?: number[] | null | undefined;
@@ -1187,8 +1187,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1187
1187
  city: string;
1188
1188
  postcode: string;
1189
1189
  };
1190
- email: string;
1191
1190
  phoneNo: string;
1191
+ email: string;
1192
1192
  regNo: string;
1193
1193
  };
1194
1194
  };
@@ -1231,14 +1231,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1231
1231
  businessId: string;
1232
1232
  profile: {
1233
1233
  code?: string | null | undefined;
1234
- url?: string | null | undefined;
1235
- description?: string | null | undefined;
1236
1234
  _id?: string | null | undefined;
1237
1235
  legalName?: string | null | undefined;
1238
1236
  sstRegNo?: string | null | undefined;
1239
1237
  discovery?: boolean | null | undefined;
1240
1238
  coverPhoto?: string | null | undefined;
1241
1239
  thumbnailPhoto?: string | null | undefined;
1240
+ description?: string | null | undefined;
1242
1241
  photos?: string[] | null | undefined;
1243
1242
  operatingHours?: {
1244
1243
  0: {
@@ -1292,6 +1291,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1292
1291
  };
1293
1292
  } | null | undefined;
1294
1293
  tags?: string[] | null | undefined;
1294
+ url?: string | null | undefined;
1295
1295
  name: string;
1296
1296
  address: {
1297
1297
  coordinates?: number[] | null | undefined;
@@ -1302,8 +1302,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1302
1302
  city: string;
1303
1303
  postcode: string;
1304
1304
  };
1305
- email: string;
1306
1305
  phoneNo: string;
1306
+ email: string;
1307
1307
  regNo: string;
1308
1308
  };
1309
1309
  };
@@ -1345,14 +1345,13 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1345
1345
  businessId: string;
1346
1346
  profile: {
1347
1347
  code?: string | null | undefined;
1348
- url?: string | null | undefined;
1349
- description?: string | null | undefined;
1350
1348
  _id?: string | null | undefined;
1351
1349
  legalName?: string | null | undefined;
1352
1350
  sstRegNo?: string | null | undefined;
1353
1351
  discovery?: boolean | null | undefined;
1354
1352
  coverPhoto?: string | null | undefined;
1355
1353
  thumbnailPhoto?: string | null | undefined;
1354
+ description?: string | null | undefined;
1356
1355
  photos?: string[] | null | undefined;
1357
1356
  operatingHours?: {
1358
1357
  0: {
@@ -1406,6 +1405,7 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1406
1405
  };
1407
1406
  } | null | undefined;
1408
1407
  tags?: string[] | null | undefined;
1408
+ url?: string | null | undefined;
1409
1409
  name: string;
1410
1410
  address: {
1411
1411
  coordinates?: number[] | null | undefined;
@@ -1416,8 +1416,8 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1416
1416
  city: string;
1417
1417
  postcode: string;
1418
1418
  };
1419
- email: string;
1420
1419
  phoneNo: string;
1420
+ email: string;
1421
1421
  regNo: string;
1422
1422
  };
1423
1423
  };