@feedmepos/mf-menu 0.32.41 → 0.32.42-dev.2

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 (66) hide show
  1. package/dist/{App-Bt5lFavE.js → App-DyZQZRjQ.js} +7 -7
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DpyJ5gr2.js → ApplyProduct.vue_vue_type_script_setup_true_lang-Dmc7Gawc.js} +3 -3
  3. package/dist/{Catalog-DJyGxDRP.js → Catalog-DJK-TFnH.js} +44 -44
  4. package/dist/{Category-BlIUSUxn.js → Category-BuI4C-2a.js} +24 -24
  5. package/dist/{Category-CNTOOIJE.js → Category-CPzzDgEf.js} +24 -24
  6. package/dist/{CookingGuide-CpZfKE5H.js → CookingGuide-DUhJyB8k.js} +105 -105
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-QzZR2W1U.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-CNFPeZwz.js} +1 -1
  8. package/dist/{Group-Bhnov3p8.js → Group-B3FUEieg.js} +3 -3
  9. package/dist/{Group-B88fbCOf.js → Group-BOzJII7-.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-CRAX3mIt.js → Group.vue_vue_type_script_setup_true_lang-DnkI2_Oa.js} +18 -18
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bqh6a0oO.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-KRANAiR_.js} +30 -30
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-DPAxkce6.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dossu1rN.js} +1652 -1651
  13. package/dist/{Ingredient-BORYH8yl.js → Ingredient-D2ikFdFk.js} +20 -20
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-Ci-CaBED.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C_8s8d6S.js} +2 -2
  15. package/dist/{LinkProductSideSheet-DQN59t0a.js → LinkProductSideSheet-D4rj-g7A.js} +45 -45
  16. package/dist/{MenuSetting-cI0j1omE.js → MenuSetting-DoLdFE5R.js} +47 -47
  17. package/dist/{PrintRoute-CXSuomGR.js → PrintRoute-CCmnaHAm.js} +39 -39
  18. package/dist/{Product-DgbQeeKt.js → Product-BN6HXtCO.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-D0cnQC3i.js → Product.vue_vue_type_script_setup_true_lang-C0G-qKY-.js} +128 -128
  20. package/dist/{ProductInternalTools-B1zpNBze.js → ProductInternalTools-C0z1uq-O.js} +66 -66
  21. package/dist/Products-TpbvQRuF.js +334 -0
  22. package/dist/{Publish-Cqdk3SjG.js → Publish-CH1SAEmF.js} +29 -29
  23. package/dist/{Recipe-anT6QBZT.js → Recipe-Bv7Xvvig.js} +24 -24
  24. package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Cc_k57qi.js → RuleView.vue_vue_type_script_setup_true_lang-yK04zs8F.js} +366 -366
  25. package/dist/{Scheduler-Z64VCw-y.js → Scheduler-34IfrdGd.js} +11 -11
  26. package/dist/{ServingSequence-B7ZbvY1v.js → ServingSequence-BZV2R5sJ.js} +44 -44
  27. package/dist/{Setting-DnVCq2hY.js → Setting-C2tFfdTn.js} +17 -17
  28. package/dist/{Subcategory-dpz-Um56.js → Subcategory-867aDkMq.js} +51 -51
  29. package/dist/{Takeaway-mwLXbT9q.js → Takeaway-DA67zMKW.js} +1 -1
  30. package/dist/{Takeaway-DiyOBq1g.js → Takeaway-DG6W-5rb.js} +13 -13
  31. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-tg3AJE3_.js → Takeaway.vue_vue_type_script_setup_true_lang-oTjvIuW5.js} +28 -28
  32. package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-FRH0zCh6.js → Thumbnail.vue_vue_type_script_setup_true_lang-XOx8U70f.js} +27 -27
  33. package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-nGzNSAX9.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-CaWVsB5J.js} +4 -4
  34. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BzwlZ9jW.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-EvzBnFBA.js} +13 -13
  35. package/dist/{Unit-CmF2olR8.js → Unit-BrnUnuKe.js} +8 -8
  36. package/dist/{Variant-C9-_-SLX.js → Variant-DNqNIjGo.js} +24 -24
  37. package/dist/{_id_-C4Zpr6wS.js → _id_-C3f3DoB2.js} +28 -28
  38. package/dist/{app-CrcPPLl1.js → app-B-QXUPPG.js} +1 -1
  39. package/dist/app-C6mqBuy7.js +1643 -0
  40. package/dist/app.js +2 -2
  41. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/assets/{linked-status-68qGGp41.js → linked-status-dZQn0E-t.js} +5 -5
  43. package/dist/assets/{menu-export-CRtF4W1I.js → menu-export-DjmfmMlF.js} +2 -2
  44. package/dist/assets/{override-menu-DB0DJf_x.js → override-menu-VI40pTYL.js} +5 -5
  45. package/dist/assets/{validate-menu-oi_J1ue-.js → validate-menu-Bx6Q4XmI.js} +2 -2
  46. package/dist/{catalog-Cp4kVRAL.js → catalog-lpCtSLwi.js} +1 -1
  47. package/dist/{catalogSetting-Cr0DX5kw.js → catalogSetting-CjkTvvES.js} +1 -1
  48. package/dist/{currency-C_IuOt0j.js → currency-CvxKEiUE.js} +1 -1
  49. package/dist/dayjs.min-CIOb7sxL.js +7 -0
  50. package/dist/{index-vqNnqeRW.js → index-ByYyYErE.js} +1 -1
  51. package/dist/{index-CXzIkkUH.js → index-D2CiC7yd.js} +31 -31
  52. package/dist/{index-DzLNqNMt.js → index-vQOhdIJK.js} +43 -43
  53. package/dist/{index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js → index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js} +244 -269
  54. package/dist/{item-C3_GKsNy.js → item-BpsW9Dh2.js} +15 -15
  55. package/dist/{jszip.min-BiRK-xY3.js → jszip.min-Cu3w0lqa.js} +388 -387
  56. package/dist/{menu-CYrjppCV.js → menu-BDPvT1K5.js} +1 -1
  57. package/dist/{menuV2-DWQ093x3.js → menuV2-D_qXpcQq.js} +93 -93
  58. package/dist/{priceTier-CD3j-Ccs.js → priceTier-BfGUaC4W.js} +1 -1
  59. package/dist/{rules-BTZh0AjD.js → rules-Dyypmwof.js} +11 -11
  60. package/dist/{scheduler-PVlNN-pB.js → scheduler-4eaMAOaq.js} +29 -29
  61. package/dist/{toExcel-lSyQhZQ9.js → toExcel-BBKjTeeK.js} +2 -2
  62. package/dist/{unit-1MnbZYm8.js → unit-gujLoxgg.js} +35 -35
  63. package/package.json +2 -1
  64. package/dist/Products-JodXj4IG.js +0 -291
  65. package/dist/app-BC-PDZ1J.js +0 -363
  66. package/dist/dayjs.min-fN9Ef6y1.js +0 -6
@@ -2,12 +2,12 @@ var tt = Object.defineProperty;
2
2
  var At = (t, e, A) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
3
3
  var Te = (t, e, A) => At(t, typeof e != "symbol" ? e + "" : e, A);
4
4
  import { readonly, ref, defineComponent, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, onUnmounted, resolveComponent, onMounted, Fragment, createVNode, createCommentVNode, createElementVNode, normalizeClass } from "vue";
5
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, u as useMenuStore, a as coreDartExports, r as registerVersion, b as getApp, _ as _getProvider, d as getExperimentalSetting, e as getDefaultEmulatorHost, f as _isFirebaseServerApp, h as deepEqual, i as getModularInstance, j as getUA, E as ErrorFactory, k as isIE, l as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, m as isMobileCordova, n as isReactNative, o as base64Decode, L as Logger, p as LogLevel, s as isBrowserExtension, t as isCloudflareWorker, v as _registerComponent, C as Component, w as createSubscribe, x as getApps, y as initializeApp, z as getStorage, A as entityExports, B as coreExports, D as menuExports } from "./index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js";
5
+ import { u as useMenuStore, c as coreDartExports, r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, d as _isFirebaseServerApp, e as deepEqual, f as getModularInstance, h as getUA, E as ErrorFactory, i as isIE, j as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, k as isMobileCordova, l as isReactNative, m as base64Decode, L as Logger, n as LogLevel, o as isBrowserExtension, p as isCloudflareWorker, s as _registerComponent, C as Component, t as createSubscribe, v as getApps, w as initializeApp, x as getStorage, y as entityExports, z as coreExports, A as menuExports } from "./index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js";
6
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, u as useMenuNavigatorStatus } from "./app-C6mqBuy7.js";
6
7
  import { installBusinessQueryStatePlugin, useI18n, FeedMeAuth, useCoreStore } from "@feedmepos/mf-common";
7
8
  import { createRouter, createWebHistory, useRouter } from "vue-router";
8
- import { r as routers, u as useMenuNavigatorStatus } from "./app-BC-PDZ1J.js";
9
- import { _ as _sfc_main$5 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-BzwlZ9jW.js";
10
- import { u as useAppStore } from "./app-CrcPPLl1.js";
9
+ import { _ as _sfc_main$5 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-EvzBnFBA.js";
10
+ import { u as useAppStore } from "./app-B-QXUPPG.js";
11
11
  var flagsmith$1 = { exports: {} }, flagsmith = flagsmith$1.exports, hasRequiredFlagsmith;
12
12
  function requireFlagsmith() {
13
13
  return hasRequiredFlagsmith || (hasRequiredFlagsmith = 1, function(t, e) {
@@ -13376,7 +13376,7 @@ registerAuth(
13376
13376
  "Browser"
13377
13377
  /* ClientPlatform.BROWSER */
13378
13378
  );
13379
- var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" } };
13379
+ var define_appEndpoint_default = { firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "image.feedmedev.cc", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" } };
13380
13380
  async function initFirebase() {
13381
13381
  if (getApps().length) {
13382
13382
  console.warn("mf-menu:firebase already initialized by another app");
@@ -13396,7 +13396,7 @@ const _hoisted_1 = {
13396
13396
  async function l(f) {
13397
13397
  try {
13398
13398
  if (!a.value) {
13399
- const y = "6GhcttsJ9Rj9cTevcdrpin";
13399
+ const y = "MaGoXrEWuEJNpWgKTqseee";
13400
13400
  console.log(`Initialize feature flag with key *${y.slice(y.length - 4)}`), await s({ apiKey: y });
13401
13401
  }
13402
13402
  const S = await n(
@@ -13443,7 +13443,7 @@ const _hoisted_1 = {
13443
13443
  f && f === entityExports.F_MENU_VERSION.enum.v4 && router.addRoute({
13444
13444
  path: "/serving-sequence",
13445
13445
  name: "serving-sequence",
13446
- component: () => import("./ServingSequence-B7ZbvY1v.js")
13446
+ component: () => import("./ServingSequence-BZV2R5sJ.js")
13447
13447
  });
13448
13448
  }
13449
13449
  ), watch(
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as K, computed as i, h as u, ref as U, resolveComponent as b, createElementBlock as p, openBlock as d, createVNode as f, withCtx as g, createElementVNode as V, createCommentVNode as C, toDisplayString as j, unref as n, isRef as A, createBlock as D, Fragment as G, renderList as H } from "vue";
2
2
  import { useI18n as M } from "@feedmepos/mf-common";
3
3
  import { components as B, FmButtonColorThemeVariant as h, FmButtonVariant as I } from "@feedmepos/ui-library";
4
- import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-Cc_k57qi.js";
5
- import { L as $ } from "./LinkProductSideSheet-DQN59t0a.js";
4
+ import { _ as O } from "./RuleView.vue_vue_type_script_setup_true_lang-yK04zs8F.js";
5
+ import { L as $ } from "./LinkProductSideSheet-D4rj-g7A.js";
6
6
  import { u as q } from "./search-BAPEUu1R.js";
7
- import { u as J, ap as Q } from "./index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js";
7
+ import { u as J, am as Q } from "./index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js";
8
8
  const W = { class: "space-y-16" }, X = { class: "flex items-center space-x-24" }, Y = {
9
9
  key: 0,
10
10
  class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary"
@@ -1,17 +1,17 @@
1
- import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as G, createElementBlock as F, Fragment as K, renderSlot as be, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as xe, toDisplayString as N, markRaw as Ce, toRaw as ke, h as J, withModifiers as Q, normalizeClass as he } from "vue";
2
- import { useRouter as Fe } from "vue-router";
3
- import { u as pe, A as M, Q as fe, G as ge, D as re, B as Oe, I as le, M as ve, ad as ie, a4 as Me } from "./index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js";
1
+ import { defineComponent as se, computed as x, resolveComponent as _, createBlock as V, openBlock as p, createVNode as o, ref as G, createElementBlock as O, Fragment as K, renderSlot as be, unref as e, withCtx as g, createElementVNode as v, createCommentVNode as z, renderList as X, createTextVNode as xe, toDisplayString as N, markRaw as Ce, toRaw as ke, h as q, withModifiers as Q, normalizeClass as he } from "vue";
2
+ import { useRouter as Oe } from "vue-router";
3
+ import { u as pe, y as M, O as fe, B as ge, A as re, z as Fe, G as le, J as ve, ab as ie, a2 as Me } from "./index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js";
4
4
  import { useI18n as ue, useCoreStore as _e } from "@feedmepos/mf-common";
5
- import { useSnackbar as ye, components as ne, FmButtonVariant as W, FmButtonColorThemeVariant as Z, useDialog as Ve, useBreakpoints as De } from "@feedmepos/ui-library";
6
- import { _ as Se, R as ce } from "./app-BC-PDZ1J.js";
5
+ import { useSnackbar as ye, components as ne, FmButtonVariant as J, FmButtonColorThemeVariant as Z, useDialog as Ve, useBreakpoints as De } from "@feedmepos/ui-library";
6
+ import { _ as Se, R as ce } from "./app-C6mqBuy7.js";
7
7
  import { _ as Te } from "./TextChip.vue_vue_type_script_setup_true_lang-8frWuZFL.js";
8
8
  import { _ as te } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
9
- import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-Cc_k57qi.js";
10
- import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-Bqh6a0oO.js";
9
+ import { _ as Ue } from "./RuleView.vue_vue_type_script_setup_true_lang-yK04zs8F.js";
10
+ import { _ as me, a as we } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-KRANAiR_.js";
11
11
  import { c as Ee } from "./check-C9mY6LiX.js";
12
- import { C as B, a as P } from "./catalogSetting-Cr0DX5kw.js";
12
+ import { C as B, a as P } from "./catalogSetting-CjkTvvES.js";
13
13
  import { _ as Ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
14
- import { C as Ne } from "./catalog-Cp4kVRAL.js";
14
+ import { C as Ne } from "./catalog-lpCtSLwi.js";
15
15
  const Re = /* @__PURE__ */ se({
16
16
  __name: "CatalogUsageTable",
17
17
  props: {
@@ -99,7 +99,7 @@ const Re = /* @__PURE__ */ se({
99
99
  var f, k;
100
100
  if (!E.currentCountry.value) return [];
101
101
  const c = ((f = r.value.taxSetting) == null ? void 0 : f.mode) === P.MANUAL ? ((k = r.value.taxSetting) == null ? void 0 : k.inclusive) ?? [] : [];
102
- return Oe.Country.getCountry(E.currentCountry.value).taxSystems.map((w) => {
102
+ return Fe.Country.getCountry(E.currentCountry.value).taxSystems.map((w) => {
103
103
  const A = c.find(($) => $.systemCode === w.code);
104
104
  return {
105
105
  inclusive: (A == null ? void 0 : A.inclusive) || !1,
@@ -117,7 +117,7 @@ const Re = /* @__PURE__ */ se({
117
117
  const f = le(r.value);
118
118
  f.markupOptions && (f.markupOptions[c] = u, r.value = f);
119
119
  }
120
- function q(c) {
120
+ function W(c) {
121
121
  const u = le(r.value);
122
122
  u.markupOptions && (u.markupOptions.splice(c, 1), r.value = u);
123
123
  }
@@ -142,8 +142,8 @@ const Re = /* @__PURE__ */ se({
142
142
  }
143
143
  const { t: i } = ue();
144
144
  return D({ trigger: R }), (c, u) => {
145
- const f = _("fm-text-field"), k = _("fm-radio"), w = _("fm-radio-group"), A = _("fm-checkbox"), $ = _("fm-switch"), s = _("fm-select"), a = _("fm-button"), l = _("fm-chip"), O = _("fm-card"), I = _("fm-side-sheet");
146
- return p(), F(K, null, [
145
+ const f = _("fm-text-field"), k = _("fm-radio"), w = _("fm-radio-group"), A = _("fm-checkbox"), $ = _("fm-switch"), s = _("fm-select"), a = _("fm-button"), l = _("fm-chip"), F = _("fm-card"), I = _("fm-side-sheet");
146
+ return p(), O(K, null, [
147
147
  be(c.$slots, "default", { trigger: R }),
148
148
  o(I, {
149
149
  modelValue: d.value,
@@ -214,8 +214,8 @@ const Re = /* @__PURE__ */ se({
214
214
  ]),
215
215
  _: 1
216
216
  }, 8, ["model-value"]),
217
- ((b = r.value.taxSetting) == null ? void 0 : b.mode) === e(P).MANUAL ? (p(), F("div", $e, [
218
- (p(!0), F(K, null, X(Y.value, (n) => (p(), V(A, {
217
+ ((b = r.value.taxSetting) == null ? void 0 : b.mode) === e(P).MANUAL ? (p(), O("div", $e, [
218
+ (p(!0), O(K, null, X(Y.value, (n) => (p(), V(A, {
219
219
  key: n.systemCode,
220
220
  "model-value": n.inclusive,
221
221
  value: !0,
@@ -289,7 +289,7 @@ const Re = /* @__PURE__ */ se({
289
289
  o(a, {
290
290
  "text-color": e(Z).ColorPrimary,
291
291
  "border-color": e(Z).ColorPrimary,
292
- variant: e(W).Secondary,
292
+ variant: e(J).Secondary,
293
293
  label: e(i)("menu.catalog.form.markup.add"),
294
294
  "prepend-icon": "add",
295
295
  onClick: t
@@ -297,7 +297,7 @@ const Re = /* @__PURE__ */ se({
297
297
  ]),
298
298
  _: 1
299
299
  }, 8, ["categories", "items"]),
300
- (p(!0), F(K, null, X(r.value.markupOptions, (t, b) => (p(), V(me, {
300
+ (p(!0), O(K, null, X(r.value.markupOptions, (t, b) => (p(), V(me, {
301
301
  key: b,
302
302
  categories: e(C).categories,
303
303
  items: e(C).items,
@@ -306,7 +306,7 @@ const Re = /* @__PURE__ */ se({
306
306
  "onUpdate:modelValue": (n) => n && U(b, n)
307
307
  }, {
308
308
  default: g(({ trigger: n }) => [
309
- o(O, {
309
+ o(F, {
310
310
  id: JSON.stringify(t),
311
311
  class: "py-12 px-16 cursor-pointer",
312
312
  variant: "outlined",
@@ -327,9 +327,9 @@ const Re = /* @__PURE__ */ se({
327
327
  }) : e(i)("menu.catalog.form.markup.all_items")), 1)
328
328
  ]),
329
329
  o(a, {
330
- variant: e(W).Tertiary,
330
+ variant: e(J).Tertiary,
331
331
  "prepend-icon": "delete",
332
- onClick: (h) => q(b)
332
+ onClick: (h) => W(b)
333
333
  }, null, 8, ["variant", "onClick"])
334
334
  ])
335
335
  ]),
@@ -359,12 +359,12 @@ const Re = /* @__PURE__ */ se({
359
359
  key: 0
360
360
  }, He = {
361
361
  class: "flex justify-end items-center"
362
- }, We = {
362
+ }, Je = {
363
363
  class: "w-[320px]"
364
- }, qe = {
364
+ }, We = {
365
365
  key: 1,
366
366
  class: "flex-1 flex flex-col min-h-0"
367
- }, Je = {
367
+ }, qe = {
368
368
  class: "p-8"
369
369
  }, Qe = {
370
370
  class: "flex flex-1 flex-col min-h-0 overflow-scroll divide-y divide-fm-color-neutral-gray-100 pb-64"
@@ -386,7 +386,7 @@ const Re = /* @__PURE__ */ se({
386
386
  }, oe = "main", xa = /* @__PURE__ */ se({
387
387
  __name: "Catalog",
388
388
  setup(ee) {
389
- const D = _e(), d = pe(), S = ye(), R = ge(S), y = Ve(), C = fe(R), E = Fe(), {
389
+ const D = _e(), d = pe(), S = ye(), R = ge(S), y = Ve(), C = fe(R), E = Oe(), {
390
390
  t: m
391
391
  } = ue(), r = x(() => {
392
392
  const s = {};
@@ -396,7 +396,7 @@ const Re = /* @__PURE__ */ se({
396
396
  }), ae = x(() => new Map(d.state.menu.modules.item.map((s) => [s._id, s])));
397
397
  function j(s, a) {
398
398
  var t, b, n, h;
399
- const l = r.value[a._id], O = [...a.linkedDeliveryCatalogs.map((T) => ({
399
+ const l = r.value[a._id], F = [...a.linkedDeliveryCatalogs.map((T) => ({
400
400
  label: `Delivery (${T.name})`,
401
401
  selector: T.catalog
402
402
  })), {
@@ -427,7 +427,7 @@ const Re = /* @__PURE__ */ se({
427
427
  }, {
428
428
  label: "Delivery (Feedme express)",
429
429
  selector: (h = l == null ? void 0 : l.feedmeDelivery) == null ? void 0 : h.catalogId
430
- }, ...ie(O, {
430
+ }, ...ie(F, {
431
431
  selector: "label"
432
432
  })].filter((T) => s ? Array.isArray(T.selector) ? T.selector.includes(s) : T.selector === s : T.selector === null).map((T) => T.label);
433
433
  }
@@ -438,7 +438,7 @@ const Re = /* @__PURE__ */ se({
438
438
  usage: j(s, a)
439
439
  })).filter((a) => a.usage.length > 0);
440
440
  }
441
- const L = G(!1), U = G(""), q = x(() => {
441
+ const L = G(!1), U = G(""), W = x(() => {
442
442
  var a;
443
443
  return [{
444
444
  id: oe,
@@ -460,19 +460,19 @@ const Re = /* @__PURE__ */ se({
460
460
  defaultOrderFrom: l.defaultOrderFrom
461
461
  }))].map((l) => {
462
462
  var t;
463
- const O = Y(((t = l.doc) == null ? void 0 : t._id) || null), I = l.doc ? Ne.getSellingItem(l.doc, ae.value) : d.state.menu.modules.item;
463
+ const F = Y(((t = l.doc) == null ? void 0 : t._id) || null), I = l.doc ? Ne.getSellingItem(l.doc, ae.value) : d.state.menu.modules.item;
464
464
  return {
465
465
  ...l,
466
466
  taxMode: l.taxes ? "Manual" : "Automatic",
467
467
  autoLink: l.defaultOrderFrom !== M.F_ORDER_FROM.enum.NONE ? "Activated" : "Deactivated",
468
- restaurants: ie(O, {
468
+ restaurants: ie(F, {
469
469
  selector: "name"
470
470
  }),
471
471
  totalProducts: I.length,
472
472
  disableDelete: l.disableDelete
473
473
  };
474
474
  });
475
- }), H = x(() => q.value.filter((s) => s.id !== oe)), i = x(() => H.value.filter((s) => s.name.toLowerCase().includes(U.value.toLowerCase()))), c = (s) => {
475
+ }), H = x(() => W.value.filter((s) => s.id !== oe)), i = x(() => H.value.filter((s) => s.name.toLowerCase().includes(U.value.toLowerCase()))), c = (s) => {
476
476
  d.selectCatalog(s === oe ? null : s), E.push({
477
477
  name: ce.EDIT_CATALOG_PRODUCT,
478
478
  params: {
@@ -488,7 +488,7 @@ const Re = /* @__PURE__ */ se({
488
488
  });
489
489
  }
490
490
  async function k(s) {
491
- const a = d.state.restaurants.filter((l) => [...l.additionalCatalogs, l.inHouseDelivery, ...l.linkedDeliveryCatalogs.map((O) => O.catalog), l.pickupCatalog, l.takeawayCatalog, l.catalogId].includes(s.id)).map((l) => l.name);
491
+ const a = d.state.restaurants.filter((l) => [...l.additionalCatalogs, l.inHouseDelivery, ...l.linkedDeliveryCatalogs.map((F) => F.catalog), l.pickupCatalog, l.takeawayCatalog, l.catalogId].includes(s.id)).map((l) => l.name);
492
492
  a.length > 0 ? S.open({
493
493
  type: "error",
494
494
  message: m("menu.catalog.dialogs.remove.error", {
@@ -502,7 +502,7 @@ const Re = /* @__PURE__ */ se({
502
502
  primaryActions: {
503
503
  text: m("menu.common.actions.remove"),
504
504
  close: !0,
505
- variant: W.Destructive
505
+ variant: J.Destructive
506
506
  },
507
507
  secondaryActions: {
508
508
  text: m("menu.common.actions.cancel"),
@@ -532,7 +532,7 @@ const Re = /* @__PURE__ */ se({
532
532
  enableSorting: !1,
533
533
  cell: (s) => {
534
534
  const a = s.row.original;
535
- return J("div", {
535
+ return q("div", {
536
536
  class: "flex justify-between"
537
537
  }, [a.autoLink]);
538
538
  }
@@ -546,9 +546,9 @@ const Re = /* @__PURE__ */ se({
546
546
  header: "",
547
547
  cell: (s) => {
548
548
  const a = s.row.original;
549
- return J("div", {
549
+ return q("div", {
550
550
  class: "flex justify-end"
551
- }, [J(ne.FmButton, {
551
+ }, [q(ne.FmButton, {
552
552
  icon: "file_copy",
553
553
  disabled: !a.id,
554
554
  variant: "tertiary",
@@ -556,7 +556,7 @@ const Re = /* @__PURE__ */ se({
556
556
  onClick: Q(async () => {
557
557
  await f(a);
558
558
  }, ["stop", "prevent"])
559
- }), J(ne.FmButton, {
559
+ }), q(ne.FmButton, {
560
560
  icon: "delete",
561
561
  disabled: !a.id,
562
562
  variant: "tertiary",
@@ -568,7 +568,7 @@ const Re = /* @__PURE__ */ se({
568
568
  }
569
569
  }]), A = De(), $ = x(() => A.breakpoints.value.xs);
570
570
  return (s, a) => {
571
- const l = _("fm-button"), O = _("FmSearch"), I = _("FmTable"), t = _("FmButton"), b = _("fm-side-sheet");
571
+ const l = _("fm-button"), F = _("FmSearch"), I = _("FmTable"), t = _("FmButton"), b = _("fm-side-sheet");
572
572
  return p(), V(Ae, {
573
573
  heading: e(m)("menu.catalog.title")
574
574
  }, {
@@ -608,9 +608,9 @@ const Re = /* @__PURE__ */ se({
608
608
  _: 1
609
609
  })]),
610
610
  _: 1
611
- }, 8, ["subtitle", "title"])) : (p(), F(K, {
611
+ }, 8, ["subtitle", "title"])) : (p(), O(K, {
612
612
  key: 1
613
- }, [$.value ? (p(), F("div", qe, [v("div", Je, [o(O, {
613
+ }, [$.value ? (p(), O("div", We, [v("div", qe, [o(F, {
614
614
  autofocus: "",
615
615
  modelValue: U.value,
616
616
  "onUpdate:modelValue": a[3] || (a[3] = (n) => U.value = n),
@@ -618,21 +618,21 @@ const Re = /* @__PURE__ */ se({
618
618
  placeholder: e(m)("menu.common.labels.search_placeholder", {
619
619
  type: e(m)("menu.catalog.title")
620
620
  })
621
- }, null, 8, ["modelValue", "placeholder"])]), v("div", Qe, [(p(!0), F(K, null, X(i.value, (n) => (p(), F("div", {
621
+ }, null, 8, ["modelValue", "placeholder"])]), v("div", Qe, [(p(!0), O(K, null, X(i.value, (n) => (p(), O("div", {
622
622
  key: n.id,
623
623
  class: "flex flex-row py-12 px-16 items-center",
624
624
  onClick: (h) => c(n.id)
625
625
  }, [v("div", Ze, [v("p", ea, " Tax calculation: " + N(n.taxMode), 1), v("p", aa, " Auto link product: " + N(n.autoLink), 1), v("p", la, N(n.name), 1)]), v("div", ta, [o(t, {
626
626
  "text-color": e(Z).NeutralGray400,
627
- variant: e(W).Tertiary,
627
+ variant: e(J).Tertiary,
628
628
  "prepend-icon": "file_copy",
629
629
  onClick: Q((h) => f(n), ["stop"])
630
630
  }, null, 8, ["text-color", "variant", "onClick"]), o(t, {
631
631
  "text-color": e(Z).NeutralGray400,
632
- variant: e(W).Tertiary,
632
+ variant: e(J).Tertiary,
633
633
  "prepend-icon": "delete",
634
634
  onClick: Q((h) => k(n), ["stop"])
635
- }, null, 8, ["text-color", "variant", "onClick"])])], 8, Xe))), 128))])])) : (p(), F("div", Ye, [v("div", He, [v("div", We, [o(O, {
635
+ }, null, 8, ["text-color", "variant", "onClick"])])], 8, Xe))), 128))])])) : (p(), O("div", Ye, [v("div", He, [v("div", Je, [o(F, {
636
636
  modelValue: U.value,
637
637
  "onUpdate:modelValue": a[1] || (a[1] = (n) => U.value = n),
638
638
  autofocus: "",
@@ -659,7 +659,7 @@ const Re = /* @__PURE__ */ se({
659
659
  "dismiss-away": ""
660
660
  }, {
661
661
  "side-sheet-header": g(() => [v("p", oa, N(e(m)("menu.catalog.usage.title")), 1)]),
662
- default: g(() => [L.value ? (p(), F("div", na, [(p(!0), F(K, null, X(q.value, (n, h) => (p(), V(Re, {
662
+ default: g(() => [L.value ? (p(), O("div", na, [(p(!0), O(K, null, X(W.value, (n, h) => (p(), V(Re, {
663
663
  key: h,
664
664
  catalog: n
665
665
  }, null, 8, ["catalog"]))), 128))])) : z("", !0)]),
@@ -1,13 +1,13 @@
1
- import { defineComponent as V, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as z, Fragment as A, renderList as K, toDisplayString as E, createBlock as S } from "vue";
2
- import { useI18n as M } from "@feedmepos/mf-common";
3
- import { useSnackbar as L, useBreakpoints as P, useDialog as U } from "@feedmepos/ui-library";
4
- import { G as F, u as I, $ as Y, Q as T, M as j, A as q, a4 as G } from "./index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js";
5
- import { _ as Q } from "./app-BC-PDZ1J.js";
6
- import { u as B } from "./menu-CYrjppCV.js";
7
- import { A as R } from "./item-C3_GKsNy.js";
1
+ import { defineComponent as V, computed as k, ref as C, resolveComponent as w, createElementBlock as g, openBlock as u, createElementVNode as i, createVNode as _, unref as a, withCtx as K, Fragment as P, renderList as U, toDisplayString as E, createBlock as S } from "vue";
2
+ import { useI18n as L } from "@feedmepos/mf-common";
3
+ import { useSnackbar as M, useBreakpoints as Y, useDialog as $ } from "@feedmepos/ui-library";
4
+ import { B as F, u as A, Y as I, O as B, J as j, y as q, a2 as J } from "./index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js";
5
+ import { _ as R } from "./app-C6mqBuy7.js";
6
+ import { u as O } from "./menu-BDPvT1K5.js";
7
+ import { A as G } from "./item-BpsW9Dh2.js";
8
8
  const H = {
9
9
  key: 0
10
- }, J = {
10
+ }, Q = {
11
11
  class: "flex justify-end items-center"
12
12
  }, W = {
13
13
  class: "w-[320px]"
@@ -26,10 +26,10 @@ const H = {
26
26
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
27
27
  }, ne = /* @__PURE__ */ V({
28
28
  __name: "CategoryTable",
29
- setup(D) {
30
- const f = L(), y = F(f), h = T(y), d = I(), {
29
+ setup(T) {
30
+ const f = M(), y = F(f), h = B(y), d = A(), {
31
31
  categories: v
32
- } = B(), b = k(() => {
32
+ } = O(), b = k(() => {
33
33
  var r, t;
34
34
  const l = ((t = (r = d.currentCatalog) == null ? void 0 : r.override) == null ? void 0 : t.category) ?? {}, o = v.value.map((e, c) => {
35
35
  var p;
@@ -39,10 +39,10 @@ const H = {
39
39
  position: e.id ? ((p = l[e.id]) == null ? void 0 : p.position) ?? c + 1 : null
40
40
  };
41
41
  });
42
- return Y(o, (e) => e.name);
42
+ return I(o, (e) => e.name);
43
43
  }), n = C(""), m = k(() => b.value.filter((l) => l.name.toLowerCase().includes(n.value.toLowerCase()))), {
44
44
  t: s
45
- } = M(), x = C([{
45
+ } = L(), x = C([{
46
46
  accessorKey: "name",
47
47
  header: () => s("menu.category.columns.title"),
48
48
  enableSorting: !1,
@@ -61,7 +61,7 @@ const H = {
61
61
  });
62
62
  }
63
63
  }]);
64
- async function N(l) {
64
+ async function D(l) {
65
65
  var e;
66
66
  const o = d.currentCatalog;
67
67
  if (!o)
@@ -86,10 +86,10 @@ const H = {
86
86
  }
87
87
  }, "Category");
88
88
  }
89
- const O = P(), $ = k(() => O.breakpoints.value.xs);
89
+ const N = Y(), z = k(() => N.breakpoints.value.xs);
90
90
  return (l, o) => {
91
91
  const r = w("FmSearch"), t = w("FmTable");
92
- return $.value ? (u(), g("div", X, [i("div", Z, [_(r, {
92
+ return z.value ? (u(), g("div", X, [i("div", Z, [_(r, {
93
93
  autofocus: "",
94
94
  modelValue: n.value,
95
95
  "onUpdate:modelValue": o[1] || (o[1] = (e) => n.value = e),
@@ -97,12 +97,12 @@ const H = {
97
97
  placeholder: a(s)("menu.common.labels.search_placeholder", {
98
98
  type: a(s)("menu.category.title")
99
99
  })
100
- }, null, 8, ["modelValue", "placeholder"])]), i("div", ee, [(u(!0), g(A, null, K(m.value, (e) => (u(), g("div", {
100
+ }, null, 8, ["modelValue", "placeholder"])]), i("div", ee, [(u(!0), g(P, null, U(m.value, (e) => (u(), g("div", {
101
101
  key: e.id || "",
102
102
  class: "flex flex-row py-12 px-16"
103
103
  }, [i("div", oe, [i("p", te, E(e.name), 1), i("p", ae, E(a(s)(e.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
104
104
  count: e.items.length
105
- })), 1)])]))), 128))])])) : (u(), g("div", H, [i("div", J, [i("div", W, [_(r, {
105
+ })), 1)])]))), 128))])])) : (u(), g("div", H, [i("div", Q, [i("div", W, [_(r, {
106
106
  modelValue: n.value,
107
107
  "onUpdate:modelValue": o[0] || (o[0] = (e) => n.value = e),
108
108
  autofocus: "",
@@ -110,8 +110,8 @@ const H = {
110
110
  placeholder: a(s)("menu.common.labels.search_placeholder", {
111
111
  type: a(s)("menu.category.title")
112
112
  })
113
- }, null, 8, ["modelValue", "placeholder"])])]), _(Q, null, {
114
- default: z(() => [_(t, {
113
+ }, null, 8, ["modelValue", "placeholder"])])]), _(R, null, {
114
+ default: K(() => [_(t, {
115
115
  "column-defs": x.value,
116
116
  draggable: a(d).rules.category.overrideSequence,
117
117
  "page-size": m.value.length,
@@ -120,7 +120,7 @@ const H = {
120
120
  "shrink-at": !1,
121
121
  "hide-footer": "",
122
122
  "pin-header-row": "",
123
- onDndChanged: N
123
+ onDndChanged: D
124
124
  }, null, 8, ["column-defs", "draggable", "page-size", "row-data", "search-value"])]),
125
125
  _: 1
126
126
  })]));
@@ -128,15 +128,15 @@ const H = {
128
128
  }
129
129
  }), me = /* @__PURE__ */ V({
130
130
  __name: "Category",
131
- setup(D) {
132
- const f = U(), y = L(), h = F(y), d = T(h), v = R({ dialog: f, menuLoader: d }), { categories: b } = B(), { t: n } = M();
131
+ setup(T) {
132
+ const f = $(), y = M(), h = F(y), d = B(h), v = G({ dialog: f, menuLoader: d }), { categories: b } = O(), { t: n } = L();
133
133
  function m() {
134
134
  v.create();
135
135
  }
136
136
  return (s, x) => a(b).length > 0 ? (u(), S(ne, {
137
137
  key: 0,
138
138
  class: "pt-16"
139
- })) : (u(), S(a(G), {
139
+ })) : (u(), S(a(J), {
140
140
  key: 1,
141
141
  class: "pt-16",
142
142
  action: {
@@ -1,13 +1,13 @@
1
- import { defineComponent as S, ref as B, computed as C, h as m, withModifiers as E, getCurrentInstance as Y, resolveComponent as k, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as d, unref as a, withCtx as w, Fragment as Q, renderList as q, toDisplayString as V, createBlock as y, createCommentVNode as H } from "vue";
1
+ import { defineComponent as S, ref as B, computed as C, h as m, withModifiers as E, getCurrentInstance as G, resolveComponent as k, createElementBlock as f, openBlock as c, createElementVNode as s, createVNode as d, unref as a, withCtx as w, Fragment as J, renderList as q, toDisplayString as V, createBlock as y, createCommentVNode as H } from "vue";
2
2
  import { useI18n as T } from "@feedmepos/mf-common";
3
- import { useDialog as N, useSnackbar as j, components as J, FmButtonVariant as L, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
3
+ import { useDialog as N, useSnackbar as O, components as Q, FmButtonVariant as L, useBreakpoints as W, FmButtonColorThemeVariant as X } from "@feedmepos/ui-library";
4
4
  import { _ as Z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { G as A, Q as D, M as ee, A as te, a4 as oe } from "./index.vue_vue_type_script_setup_true_lang-DyiwvQnC.js";
5
+ import { B as j, O as D, J as ee, y as te, a2 as oe } from "./index.vue_vue_type_script_setup_true_lang-DJ_7qEQX.js";
6
6
  import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
7
- import { _ as ne } from "./app-BC-PDZ1J.js";
7
+ import { _ as ne } from "./app-C6mqBuy7.js";
8
8
  import { c as le } from "./createForm-BoUQeZTd.js";
9
- import { a as se, A as I } from "./item-C3_GKsNy.js";
10
- import { u as O, a as re } from "./menu-CYrjppCV.js";
9
+ import { a as se, A as I } from "./item-BpsW9Dh2.js";
10
+ import { u as R, a as re } from "./menu-BDPvT1K5.js";
11
11
  import { g as ce } from "./translation-Cdap0IVg.js";
12
12
  const ie = se, me = {
13
13
  key: 0
@@ -30,13 +30,13 @@ const ie = se, me = {
30
30
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
31
31
  }, be = /* @__PURE__ */ S({
32
32
  __name: "CategoryTable",
33
- setup(R) {
34
- const u = N(), p = j(), h = A(p), _ = D(h), v = I({
33
+ setup(z) {
34
+ const u = N(), p = O(), h = j(p), _ = D(h), v = I({
35
35
  dialog: u,
36
36
  menuLoader: _
37
37
  }), {
38
38
  categories: i
39
- } = O(), n = B(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
39
+ } = R(), n = B(""), g = C(() => i.value.filter((e) => e.name.toLowerCase().includes(n.value.toLowerCase()))), {
40
40
  t: l
41
41
  } = T(), F = B([{
42
42
  accessorKey: "name",
@@ -78,7 +78,7 @@ const ie = se, me = {
78
78
  const o = e.row.original;
79
79
  return m("div", {
80
80
  class: "flex justify-end"
81
- }, [m(J.FmButton, {
81
+ }, [m(Q.FmButton, {
82
82
  icon: "delete",
83
83
  disabled: !o.id,
84
84
  variant: "tertiary",
@@ -120,19 +120,19 @@ const ie = se, me = {
120
120
  }, e.name, !0);
121
121
  });
122
122
  }
123
- async function z(e) {
123
+ async function A(e) {
124
124
  const o = e.map((r) => r.id).filter((r) => !!r);
125
125
  await v.rearrange(o);
126
126
  }
127
- const U = Y();
128
- async function M(e) {
127
+ const U = G();
128
+ async function $(e) {
129
129
  le(U, ie, {
130
130
  initialValue: e
131
131
  });
132
132
  }
133
133
  const K = W(), P = C(() => K.breakpoints.value.xs);
134
134
  return (e, o) => {
135
- const r = k("FmSearch"), $ = k("FmTable"), x = k("FmButton");
135
+ const r = k("FmSearch"), M = k("FmTable"), x = k("FmButton");
136
136
  return P.value ? (c(), f("div", pe, [s("div", _e, [d(r, {
137
137
  autofocus: "",
138
138
  modelValue: n.value,
@@ -141,10 +141,10 @@ const ie = se, me = {
141
141
  placeholder: a(l)("menu.common.labels.search_placeholder", {
142
142
  type: "categories"
143
143
  })
144
- }, null, 8, ["modelValue", "placeholder"])]), s("div", ge, [(c(!0), f(Q, null, q(g.value, (t) => (c(), f("div", {
144
+ }, null, 8, ["modelValue", "placeholder"])]), s("div", ge, [(c(!0), f(J, null, q(g.value, (t) => (c(), f("div", {
145
145
  key: t.id || "",
146
146
  class: "flex flex-row py-12 px-16",
147
- onClick: (G) => M(t)
147
+ onClick: (Y) => $(t)
148
148
  }, [s("div", ye, [s("p", he, V(t.name), 1), s("p", ve, V(a(l)(t.items.length > 1 ? "menu.common.labels.product_linked_plural" : "menu.common.labels.product_linked_singular", {
149
149
  count: t.items.length
150
150
  })), 1)]), d(x, {
@@ -152,7 +152,7 @@ const ie = se, me = {
152
152
  variant: a(L).Tertiary,
153
153
  "prepend-icon": "delete",
154
154
  disabled: !t.id,
155
- onClick: E((G) => b(t), ["stop"])
155
+ onClick: E((Y) => b(t), ["stop"])
156
156
  }, null, 8, ["text-color", "variant", "disabled", "onClick"])], 8, fe))), 128))])])) : (c(), f("div", me, [s("div", de, [s("div", ue, [d(r, {
157
157
  modelValue: n.value,
158
158
  "onUpdate:modelValue": o[0] || (o[0] = (t) => n.value = t),
@@ -162,7 +162,7 @@ const ie = se, me = {
162
162
  type: a(l)("menu.category.title")
163
163
  })
164
164
  }, null, 8, ["modelValue", "placeholder"])])]), d(ne, null, {
165
- default: w(() => [d($, {
165
+ default: w(() => [d(M, {
166
166
  "column-defs": F.value,
167
167
  draggable: !0,
168
168
  "page-size": a(i).length,
@@ -171,17 +171,17 @@ const ie = se, me = {
171
171
  "shrink-at": !1,
172
172
  "hide-footer": "",
173
173
  "pin-header-row": "",
174
- onDndChanged: z,
175
- onRowClick: o[1] || (o[1] = (t) => M(t.original))
174
+ onDndChanged: A,
175
+ onRowClick: o[1] || (o[1] = (t) => $(t.original))
176
176
  }, null, 8, ["column-defs", "page-size", "row-data", "search-value"])]),
177
177
  _: 1
178
178
  })]));
179
179
  };
180
180
  }
181
- }), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, ke = { class: "flex items-center" }, Ce = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, Ae = /* @__PURE__ */ S({
181
+ }), xe = { class: "flex-1 flex justify-between gap-8 pl-8" }, ke = { class: "flex items-center" }, Ce = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, we = { class: "fm-typo-en-body-md-600 font-semibold" }, je = /* @__PURE__ */ S({
182
182
  __name: "Category",
183
- setup(R) {
184
- const u = N(), p = j(), h = A(p), _ = D(h), v = I({ dialog: u, menuLoader: _ }), { categories: i } = O(), { t: n } = T();
183
+ setup(z) {
184
+ const u = N(), p = O(), h = j(p), _ = D(h), v = I({ dialog: u, menuLoader: _ }), { categories: i } = R(), { t: n } = T();
185
185
  function g() {
186
186
  v.create();
187
187
  }
@@ -220,5 +220,5 @@ const ie = se, me = {
220
220
  }
221
221
  });
222
222
  export {
223
- Ae as default
223
+ je as default
224
224
  };