@feedmepos/mf-menu 0.31.18-beta.2 → 0.31.19-beta

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 (68) hide show
  1. package/dist/{App-wD-LIfUS.js → App-y2Q2D6AO.js} +2399 -1295
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-C2io-Yr_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-XV96dt6h.js} +2 -2
  3. package/dist/{Catalog-pfPNhMN0.js → Catalog-Di-YSP-w.js} +5 -5
  4. package/dist/{Category-6EUsyHXB.js → Category-BzydRf7k.js} +21 -21
  5. package/dist/{Category-Icdsr_AU.js → Category-CAccN9m6.js} +8 -8
  6. package/dist/{CookingGuide-CFds6Opd.js → CookingGuide-BQcVxx1R.js} +66 -66
  7. package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-BU3i3VMn.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BjUqhzCZ.js} +1 -1
  8. package/dist/{Group-BA9WRoXf.js → Group-B8TuooWf.js} +3 -3
  9. package/dist/{Group-DuSiLXZl.js → Group-CAV74Npz.js} +1 -1
  10. package/dist/{Group.vue_vue_type_script_setup_true_lang-CXvvPtM6.js → Group.vue_vue_type_script_setup_true_lang-ClnFek9W.js} +7 -7
  11. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D7jLCWar.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DsC5e95X.js} +3 -3
  12. package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BCSlWsDm.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DV0-XcfW.js} +6 -6
  13. package/dist/{Ingredient-B9XmeoFV.js → Ingredient-DMLmjp-1.js} +3 -3
  14. package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B52WWwa4.js → InventoryBinding.vue_vue_type_script_setup_true_lang-C0tjGp89.js} +1052 -1052
  15. package/dist/{LinkProductSideSheet-BJZvpQEy.js → LinkProductSideSheet-DIvOzMB8.js} +1 -1
  16. package/dist/{MenuSetting-gsQC_4aO.js → MenuSetting-C5sIpDMN.js} +16 -16
  17. package/dist/{PrintRoute-Bn6gXl3V.js → PrintRoute-NHoHTnMc.js} +26 -26
  18. package/dist/{Product-8udrIlYQ.js → Product-C2SOvPy4.js} +1 -1
  19. package/dist/{Product.vue_vue_type_script_setup_true_lang-K198-KBy.js → Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js} +62 -59
  20. package/dist/{ProductInternalTools-DMFn25Xf.js → ProductInternalTools-eXFZoo1G.js} +13 -13
  21. package/dist/{Products-DKsKL3Er.js → Products-3J5DcGEc.js} +15 -15
  22. package/dist/{Publish-MvehUY1y.js → Publish-BdWd54a5.js} +32 -32
  23. package/dist/{Recipe-DxcMoQb8.js → Recipe-DrNJifKH.js} +9 -9
  24. package/dist/{Scheduler-DlXh4oWl.js → Scheduler-OLKgjhjM.js} +3 -3
  25. package/dist/{ServingSequence-Bjf6DT_I.js → ServingSequence-DZ-eaRkW.js} +25 -25
  26. package/dist/{Setting-BLEQlMI7.js → Setting-t5Edfa6F.js} +10 -10
  27. package/dist/{Subcategory-CcV6Tayf.js → Subcategory-B1BeXahn.js} +18 -18
  28. package/dist/{Takeaway-iFKg3t6Z.js → Takeaway-CS31a0G6.js} +1 -1
  29. package/dist/{Takeaway-cWErnYdQ.js → Takeaway-q69U7AjK.js} +10 -10
  30. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-_QHNZNZR.js → Takeaway.vue_vue_type_script_setup_true_lang-CNheVEqy.js} +17 -17
  31. package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D0EmIu2f.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-0kXXOsyC.js} +355 -351
  32. package/dist/{Unit-D3AGc0lx.js → Unit-R0fBKDBQ.js} +8 -8
  33. package/dist/{Variant-Dw8htKCh.js → Variant-DdIfbckf.js} +8 -8
  34. package/dist/{_id_-DDpt5en8.js → _id_-Cpxz3UoN.js} +17 -17
  35. package/dist/{app-C_yYtrEa.js → app-CMGlnsG5.js} +24 -24
  36. package/dist/{app-DHp-gdZ8.js → app-DRorRq_c.js} +1 -1
  37. package/dist/app.js +1 -1
  38. package/dist/apps/mf-menu/src/components/Announcements.vue.d.ts +19 -0
  39. package/dist/apps/mf-menu/src/components/feature/Fields/OrderFrom.vue.d.ts +1 -1
  40. package/dist/apps/mf-menu/src/helper/menu.d.ts +1 -1
  41. package/dist/apps/mf-menu/src/stores/announcement/announcement.d.ts +11 -0
  42. package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/assets/linked-status-CdVNB55V.js +24 -0
  44. package/dist/assets/override-menu-CjvOi-J-.js +24 -0
  45. package/dist/assets/validate-menu-BU_-Jge5.js +24 -0
  46. package/dist/{catalog-BLev4g5s.js → catalog-BXSv7rZo.js} +1 -1
  47. package/dist/{catalogSetting-DLHG77b8.js → catalogSetting-DhXLcwI_.js} +1 -1
  48. package/dist/{category-BWZrKqKo.js → category-LHZTSH3_.js} +1 -1
  49. package/dist/{currency-Dk3SWVD4.js → currency-C05JOYSJ.js} +1 -1
  50. package/dist/{dayjs.min-g6rj0y7-.js → dayjs.min-OqJAuW-9.js} +1 -1
  51. package/dist/{index-CkDuC6ew.js → index-BgrBG_Iz.js} +11 -11
  52. package/dist/{index-B6J6I9qW.js → index-CxytOxGX.js} +1 -1
  53. package/dist/{index-BkQvec9d.js → index-kz099Vvw.js} +6 -6
  54. package/dist/{item-07EOcOyN.js → item-vz-nrIWG.js} +381 -378
  55. package/dist/{jszip.min-BVEWRpo1.js → jszip.min-C2aY4t8L.js} +2 -2
  56. package/dist/menu-CAVt_lFp.js +107896 -0
  57. package/dist/{menu-DFbClu32.js → menu-DJkyk-fC.js} +1 -1
  58. package/dist/mf-menu.css +1 -1
  59. package/dist/{priceTier-DUEDzFST.js → priceTier-xvRS9QN2.js} +1 -1
  60. package/dist/{scheduler-CvMZKf1V.js → scheduler-Du42t5zf.js} +3 -3
  61. package/dist/{subcategory-votbn_EI.js → subcategory-CqKHknsQ.js} +241 -241
  62. package/dist/{toExcel-BppcWu3P.js → toExcel-BvBlj-X5.js} +2 -2
  63. package/dist/{unit-CDrhaOj7.js → unit-DENherye.js} +1 -1
  64. package/package.json +3 -2
  65. package/dist/assets/linked-status-D2akZi_5.js +0 -24
  66. package/dist/assets/override-menu-68FsNgLU.js +0 -24
  67. package/dist/assets/validate-menu-CAFkPK87.js +0 -24
  68. package/dist/menu-7RxvJsxy.js +0 -132202
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, ref as V, computed as I, watch as z, resolveComponent as w, createElementBlock as F, openBlock as y, Fragment as O, renderSlot as A, createVNode as r, unref as n, withCtx as f, createElementVNode as _, createBlock as D, createCommentVNode as E, toDisplayString as L } from "vue";
2
- import { H as b, I as N } from "./menu-7RxvJsxy.js";
2
+ import { H as b, I as N } from "./menu-CAVt_lFp.js";
3
3
  import { useI18n as j, ItemSelector as P } from "@feedmepos/mf-common";
4
4
  import { components as U, FmButtonVariant as q } from "@feedmepos/ui-library";
5
5
  import { u as H } from "./discardConfirm-BHni0LNu.js";
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as G, computed as T, ref as F, watch as H, createVNode as n, resolveComponent as c, createBlock as V, openBlock as d, unref as e, withCtx as p, createElementVNode as _, createElementBlock as k, createCommentVNode as y, Fragment as K, renderList as q, toDisplayString as U } from "vue";
2
- import { u as J, B as Q, z as R, H as M } from "./menu-7RxvJsxy.js";
2
+ import { u as J, D as Q, A as R, H as A } from "./menu-CAVt_lFp.js";
3
3
  import { useI18n as W, useCoreStore as X } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Y, components as Z, FmButtonVariant as ee, FmButtonColorThemeVariant as te } from "@feedmepos/ui-library";
5
- import { _ as A } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
6
- import { _ as le } from "./app-C_yYtrEa.js";
5
+ import { _ as M } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
6
+ import { _ as le } from "./app-CMGlnsG5.js";
7
7
  import { _ as ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
8
- import { C as b, a as m } from "./catalogSetting-DLHG77b8.js";
9
- import { u as oe } from "./priceTier-DUEDzFST.js";
8
+ import { C as b, a as m } from "./catalogSetting-DhXLcwI_.js";
9
+ import { u as oe } from "./priceTier-xvRS9QN2.js";
10
10
  const ae = {
11
11
  class: "py-16"
12
12
  }, se = {
@@ -31,7 +31,7 @@ const ae = {
31
31
  var h;
32
32
  const {
33
33
  t
34
- } = W(), v = J(), w = X(), B = Y(), N = Q(B), u = T(() => ({
34
+ } = W(), v = J(), w = X(), N = Y(), B = Q(N), u = T(() => ({
35
35
  lowStock: v.state.menu.lowStockThreshold,
36
36
  taxSetting: v.state.menu.masterCatalogSetting,
37
37
  priceTierSettings: v.state.menu.priceTierSettings
@@ -58,7 +58,7 @@ const ae = {
58
58
  });
59
59
  });
60
60
  function L(a) {
61
- const l = i.value, s = l.mode === m.AUTO ? b.manualTax(S.value) : M(l);
61
+ const l = i.value, s = l.mode === m.AUTO ? b.manualTax(S.value) : A(l);
62
62
  s.inclusive ?? (s.inclusive = []);
63
63
  const r = s.inclusive.findIndex((g) => g.systemCode === a.systemCode);
64
64
  r < 0 ? s.inclusive.push(a) : s.inclusive.splice(r, 1, a), i.value = s;
@@ -66,8 +66,8 @@ const ae = {
66
66
  async function O() {
67
67
  if (u.value.lowStock !== null && u.value.lowStock !== void 0 && !Number.isInteger(u.value.lowStock))
68
68
  return;
69
- const a = i.value.mode === m.AUTO ? null : M(i.value.inclusive);
70
- await N.minor(async () => {
69
+ const a = i.value.mode === m.AUTO ? null : A(i.value.inclusive);
70
+ await B.minor(async () => {
71
71
  const l = u.value.lowStock === null || u.value.lowStock === void 0 || u.value.lowStock === 0;
72
72
  await v.updateMenuSetting({
73
73
  masterCatalogSetting: {
@@ -97,7 +97,7 @@ const ae = {
97
97
  }, null)])
98
98
  }];
99
99
  return (a, l) => {
100
- const s = c("FmTabs"), r = c("fm-radio"), g = c("fm-radio-group"), E = c("fm-checkbox"), $ = c("FormItem"), j = c("FmStepperField"), C = c("FmButton"), D = c("FmTable");
100
+ const s = c("FmTabs"), r = c("fm-radio"), g = c("fm-radio-group"), D = c("fm-checkbox"), E = c("FormItem"), $ = c("FmStepperField"), C = c("FmButton"), j = c("FmTable");
101
101
  return d(), V(ne, {
102
102
  heading: e(t)("menu.menu_setting.title")
103
103
  }, {
@@ -105,10 +105,10 @@ const ae = {
105
105
  items: I.value,
106
106
  modelValue: x.value,
107
107
  "onUpdate:modelValue": l[0] || (l[0] = (o) => x.value = o)
108
- }, null, 8, ["items", "modelValue"]), _("div", ae, [x.value === "conf" ? (d(), k("div", se, [n(A, {
108
+ }, null, 8, ["items", "modelValue"]), _("div", ae, [x.value === "conf" ? (d(), k("div", se, [n(M, {
109
109
  title: "Tax setting"
110
110
  }, {
111
- default: p(() => [n($, {
111
+ default: p(() => [n(E, {
112
112
  label: e(t)("menu.setting.tax.title")
113
113
  }, {
114
114
  default: p(() => [n(g, {
@@ -127,7 +127,7 @@ const ae = {
127
127
  sublabel: e(t)("menu.setting.tax.modes.manual.sublabel")
128
128
  }, null, 8, ["value", "label", "sublabel"])]),
129
129
  _: 1
130
- }, 8, ["model-value"]), i.value.mode === e(m).MANUAL ? (d(), k("div", ue, [(d(!0), k(K, null, q(S.value, (o) => (d(), V(E, {
130
+ }, 8, ["model-value"]), i.value.mode === e(m).MANUAL ? (d(), k("div", ue, [(d(!0), k(K, null, q(S.value, (o) => (d(), V(D, {
131
131
  key: o.systemCode,
132
132
  "model-value": o.inclusive,
133
133
  value: !0,
@@ -142,11 +142,11 @@ const ae = {
142
142
  _: 1
143
143
  }, 8, ["label"])]),
144
144
  _: 1
145
- }), n(A, {
145
+ }), n(M, {
146
146
  title: e(t)("menu.menu_setting.fields.low_stock.title"),
147
147
  "sub-title": e(t)("menu.menu_setting.fields.low_stock.subtitle")
148
148
  }, {
149
- default: p(() => [n(j, {
149
+ default: p(() => [n($, {
150
150
  "model-value": u.value.lowStock || null,
151
151
  min: 0,
152
152
  max: 1e3,
@@ -167,7 +167,7 @@ const ae = {
167
167
  icon: "add",
168
168
  onClick: e(f).create
169
169
  }, null, 8, ["label", "onClick"])]), n(le, null, {
170
- default: p(() => [n(D, {
170
+ default: p(() => [n(j, {
171
171
  "column-defs": z,
172
172
  "row-data": e(f).priceTiers.value,
173
173
  "page-size": e(f).priceTiers.value.length,
@@ -1,11 +1,11 @@
1
- import { defineComponent as H, ref as k, computed as f, resolveComponent as g, createBlock as P, openBlock as p, unref as l, withCtx as m, createElementVNode as i, createVNode as c, createCommentVNode as J, toDisplayString as S, createElementBlock as L, Fragment as A, renderList as K, h as _, withModifiers as q } from "vue";
1
+ import { defineComponent as H, ref as k, computed as f, resolveComponent as g, createBlock as P, openBlock as p, unref as l, withCtx as m, createElementVNode as i, createVNode as c, createCommentVNode as J, toDisplayString as S, createElementBlock as L, Fragment as A, renderList as R, h as _, withModifiers as q } from "vue";
2
2
  import { useI18n as Q } from "@feedmepos/mf-common";
3
3
  import { components as W, useSnackbar as ee, useDialog as te } from "@feedmepos/ui-library";
4
4
  import { _ as oe } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as ne } from "./app-C_yYtrEa.js";
6
- import { H as j, I as ae, J as R, G as V, u as le, O as re, B as se } from "./menu-7RxvJsxy.js";
5
+ import { _ as ne } from "./app-CMGlnsG5.js";
6
+ import { H as j, I as ae, J as B, G as V, u as le, O as re, D as se } from "./menu-CAVt_lFp.js";
7
7
  import { u as ie } from "./discardConfirm-BHni0LNu.js";
8
- import { L as ue } from "./LinkProductSideSheet-BJZvpQEy.js";
8
+ import { L as ue } from "./LinkProductSideSheet-DIvOzMB8.js";
9
9
  import { _ as G } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
10
10
  import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
11
11
  import { _ as ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
@@ -25,7 +25,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
25
25
  setup(v, { expose: t, emit: h }) {
26
26
  const N = v;
27
27
  t({
28
- showModal: z,
28
+ showModal: U,
29
29
  hideModal: w
30
30
  });
31
31
  function b() {
@@ -36,7 +36,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
36
36
  };
37
37
  }
38
38
  const x = k(!1), M = k(void 0);
39
- function z(r) {
39
+ function U(r) {
40
40
  M.value = r ? j(r) : b(), n.value = j(M.value), x.value = !0;
41
41
  }
42
42
  function w() {
@@ -55,15 +55,15 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
55
55
  applyToItems: n.value.applyToItems.filter((a) => a !== r)
56
56
  };
57
57
  }
58
- const { t: u } = Q(), O = f(() => n.value._id ? u("menu.print_route.department_dialog.update.title") : u("menu.print_route.department_dialog.add.title")), I = f(() => n.value._id ? u("menu.print_route.department_dialog.update.action") : u("menu.print_route.department_dialog.add.action")), U = f(() => n.value.applyToItems.length), B = f(
58
+ const { t: u } = Q(), O = f(() => n.value._id ? u("menu.print_route.department_dialog.update.title") : u("menu.print_route.department_dialog.add.title")), I = f(() => n.value._id ? u("menu.print_route.department_dialog.update.action") : u("menu.print_route.department_dialog.add.action")), D = f(() => n.value.applyToItems.length), K = f(
59
59
  () => n.value.applyToItems.reduce((r, a) => (r[a] = [], r), {})
60
60
  ), e = k(""), o = f(() => {
61
61
  const r = e.value.toLowerCase();
62
62
  return N.categorizedItems.reduce((a, d) => {
63
- const D = d.items.filter(
64
- (C) => (!r || C.name.toLowerCase().includes(r)) && !!B.value[C._id]
63
+ const z = d.items.filter(
64
+ (C) => (!r || C.name.toLowerCase().includes(r)) && !!K.value[C._id]
65
65
  );
66
- return D.length && a.push({ ...d, items: D }), a;
66
+ return z.length && a.push({ ...d, items: z }), a;
67
67
  }, []);
68
68
  });
69
69
  k();
@@ -79,7 +79,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
79
79
  w(), y("onSave", n.value);
80
80
  }
81
81
  return (r, a) => {
82
- const d = g("FmTextField"), D = g("FmSpacer"), C = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
82
+ const d = g("FmTextField"), z = g("FmSpacer"), C = g("FmButton"), X = g("FmSearch"), Z = g("FmSideSheet");
83
83
  return p(), P(Z, {
84
84
  modelValue: x.value,
85
85
  "onUpdate:modelValue": a[3] || (a[3] = (s) => x.value = s),
@@ -136,7 +136,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
136
136
  title: l(u)("menu.print_route.department_dialog.sections.link_product.title")
137
137
  }, {
138
138
  "append-title": m(() => [
139
- c(D),
139
+ c(z),
140
140
  c(ue, {
141
141
  "categorized-items": v.categorizedItems,
142
142
  "initial-value": n.value.applyToItems.map((s) => ({
@@ -161,7 +161,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
161
161
  i("div", _e, [
162
162
  i("div", fe, [
163
163
  i("div", ve, S(l(u)("menu.print_route.department_dialog.sections.link_product.products_linked", {
164
- count: U.value
164
+ count: D.value
165
165
  })), 1),
166
166
  i("div", ye, [
167
167
  c(X, {
@@ -172,9 +172,9 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
172
172
  ])
173
173
  ]),
174
174
  i("div", ge, [
175
- (p(!0), L(A, null, K(o.value, (s) => (p(), L("div", null, [
175
+ (p(!0), L(A, null, R(o.value, (s) => (p(), L("div", null, [
176
176
  i("div", he, S(s.name), 1),
177
- (p(!0), L(A, null, K(s.items, (Y) => (p(), L("div", be, [
177
+ (p(!0), L(A, null, R(s.items, (Y) => (p(), L("div", be, [
178
178
  i("div", xe, S(Y.name), 1),
179
179
  i("div", ke, [
180
180
  c(C, {
@@ -201,7 +201,7 @@ const me = { class: "fm-typo-en-title-md-600" }, pe = { class: "space-y-32" }, _
201
201
  function Ce(v, t) {
202
202
  return {
203
203
  module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
204
- operation: R.F_OPERATION_TYPE.create,
204
+ operation: B.F_OPERATION_TYPE.create,
205
205
  data: V.FdoMenuPrintDepartment.parse(v),
206
206
  link: t.map((h) => ({
207
207
  module: V.F_MENU_MODULE_V4_KEY.enum.item,
@@ -212,7 +212,7 @@ function Ce(v, t) {
212
212
  function Ve(v, t) {
213
213
  return {
214
214
  module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
215
- operation: R.F_OPERATION_TYPE.update,
215
+ operation: B.F_OPERATION_TYPE.update,
216
216
  data: V.FdoMenuPrintDepartment.parse(v),
217
217
  link: t.map((h) => ({
218
218
  module: V.F_MENU_MODULE_V4_KEY.enum.item,
@@ -223,7 +223,7 @@ function Ve(v, t) {
223
223
  function we(v) {
224
224
  return {
225
225
  module: V.F_MENU_MODULE_V4_KEY.enum.printDepartment,
226
- operation: R.F_OPERATION_TYPE.delete,
226
+ operation: B.F_OPERATION_TYPE.delete,
227
227
  data: v._id
228
228
  };
229
229
  }
@@ -286,13 +286,13 @@ const Ee = {
286
286
  }, ["stop", "prevent"])
287
287
  })])
288
288
  }]);
289
- function z() {
289
+ function U() {
290
290
  var e;
291
- F.value || (e = U.value) == null || e.showModal();
291
+ F.value || (e = D.value) == null || e.showModal();
292
292
  }
293
293
  function w(e) {
294
294
  var o;
295
- F.value || (o = U.value) == null || o.showModal({
295
+ F.value || (o = D.value) == null || o.showModal({
296
296
  ...e,
297
297
  applyToItems: e.applyToItems.map(({
298
298
  _id: y
@@ -331,7 +331,7 @@ const Ee = {
331
331
  await n.updateMenu(we(e), e.name, !0);
332
332
  });
333
333
  }
334
- const I = k(""), U = k(), B = f(() => {
334
+ const I = k(""), D = k(), K = f(() => {
335
335
  if (!I.value) return b.value;
336
336
  const e = I.value.toLowerCase();
337
337
  return b.value.filter((o) => o.name.toLowerCase().includes(e));
@@ -347,7 +347,7 @@ const Ee = {
347
347
  icon: "add",
348
348
  label: l(t)("menu.print_route.actions.add"),
349
349
  variant: "primary",
350
- onClick: z
350
+ onClick: U
351
351
  }, null, 8, ["disabled", "label"])) : J("", !0)])]),
352
352
  default: m(() => [x.value ? (p(), L(A, {
353
353
  key: 1
@@ -376,7 +376,7 @@ const Ee = {
376
376
  class: "w-full px-16 xs:block hidden flex-1 min-h-0 overflow-scroll pb-64",
377
377
  separator: ""
378
378
  }, {
379
- default: m(() => [(p(!0), L(A, null, K(B.value, (d) => (p(), P(r, {
379
+ default: m(() => [(p(!0), L(A, null, R(K.value, (d) => (p(), P(r, {
380
380
  key: d._id,
381
381
  label: d.name,
382
382
  style: {
@@ -400,13 +400,13 @@ const Ee = {
400
400
  key: 0,
401
401
  action: {
402
402
  text: l(t)("menu.print_route.empty.action"),
403
- callback: z
403
+ callback: U
404
404
  },
405
405
  subtitle: l(t)("menu.print_route.empty.subtitle"),
406
406
  title: l(t)("menu.print_route.empty.title")
407
407
  }, null, 8, ["action", "subtitle", "title"])), c(Ie, {
408
408
  ref_key: "printDepartmentRef",
409
- ref: U,
409
+ ref: D,
410
410
  "categorized-items": N.value,
411
411
  onOnSave: $
412
412
  }, null, 8, ["categorized-items"])]),
@@ -1,4 +1,4 @@
1
- import { a as f } from "./Product.vue_vue_type_script_setup_true_lang-K198-KBy.js";
1
+ import { a as f } from "./Product.vue_vue_type_script_setup_true_lang-BEHnUKcc.js";
2
2
  export {
3
3
  f as default
4
4
  };