@feedmepos/mf-menu 0.20.2-prod → 0.20.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 (54) hide show
  1. package/dist/App-DGK08eRV.js +18860 -0
  2. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-BR0tyj1e.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js} +10 -10
  3. package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-CS5jZ10v.js → ApplyProducts.vue_vue_type_script_setup_true_lang-CTQXFXig.js} +2 -2
  4. package/dist/{Catalog-ChfYd5ti.js → Catalog-DDLkwHEl.js} +3 -3
  5. package/dist/{Category-D9RyJj_H.js → Category-Dvijo086.js} +6 -6
  6. package/dist/{CookingGuide-Dx15HnUJ.js → CookingGuide-CsE9_yha.js} +3 -3
  7. package/dist/{Group-DnLKrU8O.js → Group-BIQU7w0g.js} +1 -1
  8. package/dist/{Group-Bi5pIuo-.js → Group-CMMIHqaG.js} +6 -6
  9. package/dist/{Group.vue_vue_type_script_setup_true_lang-6CnMfg6V.js → Group.vue_vue_type_script_setup_true_lang-BTL9j3_B.js} +40 -40
  10. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CxWNtisO.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-pogjGaYM.js} +23 -23
  11. package/dist/{Ingredient-bRAhvspJ.js → Ingredient-m0hSAC1U.js} +15 -15
  12. package/dist/{LinkProductSideSheet-ARCMnzg0.js → LinkProductSideSheet-DfZrxiHw.js} +25 -24
  13. package/dist/{PrintRoute-Cj2CpIUZ.js → PrintRoute-iSOdrR8L.js} +27 -27
  14. package/dist/{Product-BW8bm-y8.js → Product-LV9usgIQ.js} +1 -1
  15. package/dist/{Product.vue_vue_type_script_setup_true_lang-DXAWFPal.js → Product.vue_vue_type_script_setup_true_lang-D2840VfX.js} +66 -66
  16. package/dist/{Products-GJ1fYNWv.js → Products-C3u76O52.js} +37 -37
  17. package/dist/{Publish-BoFgBWhu.js → Publish-_OkfKSnM.js} +39 -39
  18. package/dist/{Recipe-7FYyE7f3.js → Recipe-CB_uktjY.js} +4 -4
  19. package/dist/{Scheduler-DckZb3kE.js → Scheduler-DWIGrzZY.js} +2 -2
  20. package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-SI93VcSd.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-BcruguLb.js} +1 -1
  21. package/dist/ServingSequence-Cq1ZZlrm.js +4 -0
  22. package/dist/{Setting-BhDHlNxV.js → Setting-N_eRQUsY.js} +1 -1
  23. package/dist/{Setting.vue_vue_type_script_setup_true_lang-DYEEfJ3O.js → Setting.vue_vue_type_script_setup_true_lang-WQ6hWgnm.js} +13 -13
  24. package/dist/{Takeaway-gwKz0UfW.js → Takeaway-DiOnksOz.js} +1 -1
  25. package/dist/{Takeaway-Ca5zwR46.js → Takeaway-NrqUpXFx.js} +9 -9
  26. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-dO6rD7A4.js → Takeaway.vue_vue_type_script_setup_true_lang-CHAbaRBT.js} +9 -9
  27. package/dist/{TaxSetting-wp3qYcZd.js → TaxSetting-V0dnzYo3.js} +6 -6
  28. package/dist/{Unit-CIySIISN.js → Unit-DOsZE2qJ.js} +15 -15
  29. package/dist/{Variant-BIHA0mS5.js → Variant-CYP1P6ns.js} +40 -40
  30. package/dist/{_id_-OYDy2hDm.js → _id_-B6Hne1hp.js} +34 -34
  31. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  32. package/dist/app-D2FqvCaC.js +127479 -0
  33. package/dist/app.js +4 -4
  34. package/dist/assets/{linked-status-NTK-mKny.js → linked-status-B-90MiJw.js} +4 -4
  35. package/dist/assets/{validate-menu-B0qfd_pR.js → validate-menu-C1LwcZzw.js} +8 -8
  36. package/dist/{catalog-DA59S1K1.js → catalog-Bq6JWNgk.js} +1 -1
  37. package/dist/{catalog-DEFSDlRZ.js → catalog-C8CFP-ny.js} +2403 -2403
  38. package/dist/{category-DmANWF_-.js → category-DJo3MbY6.js} +1 -1
  39. package/dist/{currency-2ixhQhct.js → currency-Ccc8KrCJ.js} +1 -1
  40. package/dist/{index-BQk7LnOr.js → index-BS64cx1H.js} +58 -58
  41. package/dist/{index-BkFctJwy.js → index-PJVryAUX.js} +43 -43
  42. package/dist/{item-BfLDwh_5.js → item-Dj35T3VU.js} +23 -21
  43. package/dist/{lodash-C1cV3B7u.js → lodash-MHSu1pkA.js} +1 -1
  44. package/dist/{menu-C1F28TL_.js → menu-CUXJ9cXY.js} +1 -1
  45. package/dist/{object-D6a8_l-h.js → object-BN9wCbKv.js} +1 -1
  46. package/dist/remy-BWBsUWuo.js +36 -0
  47. package/dist/{scheduler-CdDxeSSF.js → scheduler-DZwOVztH.js} +4 -4
  48. package/dist/style.css +1 -1
  49. package/dist/{takeaway-YC6D7J84.js → takeaway-PjB5BC80.js} +17 -17
  50. package/dist/{toExcel-C7ec1CP8.js → toExcel-D9nGg3_g.js} +2 -2
  51. package/dist/{unit-Ch9oSIKC.js → unit-97ZKmnbi.js} +11 -11
  52. package/package.json +2 -2
  53. package/dist/ServingSequence-DygT6rLK.js +0 -4
  54. package/dist/app-DLXBsyVX.js +0 -123184
@@ -1,16 +1,16 @@
1
- import { defineComponent as G, computed as E, ref as x, watch as C, resolveComponent as g, openBlock as V, createElementBlock as F, Fragment as K, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, toDisplayString as H, normalizeClass as J, createBlock as M, createCommentVNode as U, createSlots as Q } from "vue";
2
- import { i as W, a as X, d as f, m as D, g as Z, b as S, h as B } from "./app-DLXBsyVX.js";
3
- import { useSnackbar as ee, components as ae } from "@feedmepos/ui-library";
4
- import { V as te } from "./vuedraggable-WU01qJgi.js";
5
- import { _ as ne } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BR0tyj1e.js";
1
+ import { defineComponent as j, computed as E, ref as x, watch as C, resolveComponent as g, openBlock as V, createElementBlock as F, Fragment as G, renderSlot as K, createVNode as s, unref as n, withCtx as m, createElementVNode as d, toDisplayString as H, normalizeClass as J, createBlock as M, createCommentVNode as U, createSlots as Q } from "vue";
2
+ import { l as W, b as X, h as f, m as D, j as Z, f as S, k as B } from "./app-D2FqvCaC.js";
3
+ import { useSnackbar as ee, components as te } from "@feedmepos/ui-library";
4
+ import { V as ae } from "./vuedraggable-WU01qJgi.js";
5
+ import { _ as ne } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js";
6
6
  import { _ as oe } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
7
7
  import { _ as le } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
8
- import { u as ie, l as se } from "./lodash-C1cV3B7u.js";
8
+ import { u as ie, l as se } from "./lodash-MHSu1pkA.js";
9
9
  import { useI18n as re } from "@feedmepos/mf-common";
10
10
  const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32" }, de = ["data-not-allow-sort"], ce = {
11
11
  key: 1,
12
12
  class: "w-24"
13
- }, pe = { class: "flex-1" }, fe = { class: "flex gap-8 items-center justify-start" }, ve = /* @__PURE__ */ G({
13
+ }, pe = { class: "flex-1" }, fe = { class: "flex gap-8 items-center justify-start" }, ve = /* @__PURE__ */ j({
14
14
  __name: "Form",
15
15
  props: {
16
16
  initialValue: {}
@@ -27,19 +27,19 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
27
27
  }), e;
28
28
  } else
29
29
  return { ...D.generator.initMenuV4VariantGroup(), usedBy: [] };
30
- }, a = x(O()), y = x(!1), i = x(!1), b = (e) => {
30
+ }, t = x(O()), y = x(!1), i = x(!1), b = (e) => {
31
31
  Z.isBoolean(e) ? i.value = e : i.value = !i.value;
32
32
  };
33
33
  function $(e) {
34
- a.value.options = e;
34
+ t.value.options = e;
35
35
  }
36
- function q(e, t) {
37
- const l = f(a.value.options), c = l.findIndex((v) => v._id == e);
38
- l[c].name = t, a.value.options = l, c === a.value.options.length - 1 && w();
36
+ function q(e, a) {
37
+ const l = f(t.value.options), c = l.findIndex((v) => v._id == e);
38
+ l[c].name = a, t.value.options = l, c === t.value.options.length - 1 && w();
39
39
  }
40
40
  function w() {
41
- const e = f(a.value.options);
42
- a.value.options = [
41
+ const e = f(t.value.options);
42
+ t.value.options = [
43
43
  ...e,
44
44
  {
45
45
  _id: (/* @__PURE__ */ new Date()).toISOString(),
@@ -48,11 +48,11 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
48
48
  ];
49
49
  }
50
50
  function z(e) {
51
- const t = f(a.value.options);
52
- a.value.options = t.filter((l) => l._id !== e);
51
+ const a = f(t.value.options);
52
+ t.value.options = a.filter((l) => l._id !== e);
53
53
  }
54
54
  C(
55
- () => a.value.options,
55
+ () => t.value.options,
56
56
  (e) => {
57
57
  e.length <= 0 && w();
58
58
  },
@@ -61,16 +61,16 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
61
61
  }
62
62
  );
63
63
  function P(e) {
64
- const t = e.draggedContext.futureIndex, l = e.relatedContext.list;
65
- return t !== l.length - 1;
64
+ const a = e.draggedContext.futureIndex, l = e.relatedContext.list;
65
+ return a !== l.length - 1;
66
66
  }
67
67
  const T = ie(
68
68
  () => {
69
69
  if (r.initialValue) {
70
- const e = a.value.options.filter((t) => !!t.name.trim());
71
- return !se.isEqual({ ...a.value, options: e }, r.initialValue);
70
+ const e = t.value.options.filter((a) => !!a.name.trim());
71
+ return !se.isEqual({ ...t.value, options: e }, r.initialValue);
72
72
  } else
73
- return !!(a.value.options.length > 1 || a.value.name.trim());
73
+ return !!(t.value.options.length > 1 || t.value.name.trim());
74
74
  },
75
75
  () => {
76
76
  i.value = !1;
@@ -78,8 +78,8 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
78
78
  ), Y = async () => {
79
79
  try {
80
80
  y.value = !0;
81
- const e = f(a.value);
82
- e.options = e.options.filter((t) => !!t.name.trim()), r.initialValue ? await k.updateMenu(
81
+ const e = f(t.value);
82
+ e.options = e.options.filter((a) => !!a.name.trim()), r.initialValue ? await k.updateMenu(
83
83
  {
84
84
  module: S.F_MENU_MODULE_V4_KEY.enum.variant,
85
85
  operation: B.F_OPERATION_TYPE.update,
@@ -93,7 +93,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
93
93
  data: e
94
94
  },
95
95
  e.name
96
- ), b(!1), a.value = { ...D.generator.initMenuV4VariantGroup(), usedBy: [] };
96
+ ), b(!1), t.value = { ...D.generator.initMenuV4VariantGroup(), usedBy: [] };
97
97
  } finally {
98
98
  y.value = !1;
99
99
  }
@@ -101,20 +101,20 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
101
101
  return C(
102
102
  () => i.value,
103
103
  (e) => {
104
- e && (a.value = O());
104
+ e && (t.value = O());
105
105
  }
106
106
  ), N({
107
107
  show: i,
108
108
  trigger: b
109
- }), (e, t) => {
109
+ }), (e, a) => {
110
110
  const l = g("fm-text-field"), c = g("fm-icon"), v = g("fm-button"), R = g("fm-side-sheet");
111
- return V(), F(K, null, [
112
- j(e.$slots, "default", { trigger: b }),
111
+ return V(), F(G, null, [
112
+ K(e.$slots, "default", { trigger: b }),
113
113
  s(R, {
114
114
  id: "variant-form",
115
115
  modelValue: i.value,
116
- "onUpdate:modelValue": t[2] || (t[2] = (_) => i.value = _),
117
- "is-container": n(ae).FmForm,
116
+ "onUpdate:modelValue": a[2] || (a[2] = (_) => i.value = _),
117
+ "is-container": n(te).FmForm,
118
118
  "is-container-props": {
119
119
  onValidationSuccess: Y,
120
120
  blameFormChildOnValidationFailed: !0
@@ -139,7 +139,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
139
139
  label: n(o)("menu.common.actions.cancel"),
140
140
  size: "lg",
141
141
  variant: "tertiary",
142
- onClick: t[1] || (t[1] = () => i.value = !1)
142
+ onClick: a[1] || (a[1] = () => i.value = !1)
143
143
  }, null, 8, ["label"])
144
144
  ])
145
145
  ]),
@@ -155,8 +155,8 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
155
155
  autofocus: "",
156
156
  label: n(o)("menu.variant.form.name.label"),
157
157
  "helper-text": n(o)("menu.variant.form.name.helper"),
158
- modelValue: a.value.name,
159
- "onUpdate:modelValue": t[0] || (t[0] = (u) => a.value.name = u),
158
+ modelValue: t.value.name,
159
+ "onUpdate:modelValue": a[0] || (a[0] = (u) => t.value.name = u),
160
160
  rules: [(u) => !!u || n(o)("menu.variant.form.name.required")],
161
161
  placeholder: n(o)("menu.variant.form.name.placeholder")
162
162
  }, null, 8, ["label", "helper-text", "modelValue", "rules", "placeholder"]),
@@ -165,8 +165,8 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
165
165
  }, {
166
166
  default: m(() => [
167
167
  d("div", null, [
168
- s(n(te), {
169
- "model-value": a.value.options,
168
+ s(n(ae), {
169
+ "model-value": t.value.options,
170
170
  move: P,
171
171
  class: "space-y-16",
172
172
  group: "categories",
@@ -177,9 +177,9 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
177
177
  item: m(({ element: u, index: p }) => [
178
178
  d("div", {
179
179
  class: J(["flex items-center", "space-x-8"]),
180
- "data-not-allow-sort": p === a.value.options.length - 1
180
+ "data-not-allow-sort": p === t.value.options.length - 1
181
181
  }, [
182
- p !== a.value.options.length - 1 ? (V(), M(c, {
182
+ p !== t.value.options.length - 1 ? (V(), M(c, {
183
183
  key: 0,
184
184
  class: "handle",
185
185
  name: "drag_handle"
@@ -188,14 +188,14 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
188
188
  s(l, {
189
189
  "model-value": u.name,
190
190
  rules: [
191
- () => !!a.value.options.length || n(o)("menu.variant.form.options.min_required"),
192
- (h) => p === a.value.options.length - 1 || h ? !0 : n(o)("menu.variant.form.options.name_required")
191
+ () => !!t.value.options.length || n(o)("menu.variant.form.options.min_required"),
192
+ (h) => p === t.value.options.length - 1 || h ? !0 : n(o)("menu.variant.form.options.name_required")
193
193
  ],
194
194
  class: "flex-1",
195
195
  placeholder: n(o)("menu.variant.form.options.placeholder"),
196
196
  "onUpdate:modelValue": (h) => q(u._id, h)
197
197
  }, Q({ _: 2 }, [
198
- p !== a.value.options.length - 1 ? {
198
+ p !== t.value.options.length - 1 ? {
199
199
  name: "append",
200
200
  fn: m(() => [
201
201
  s(c, {
@@ -218,10 +218,10 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
218
218
  ]),
219
219
  _: 1
220
220
  }, 8, ["title"]),
221
- (_ = a.value.usedBy) != null && _.length ? (V(), M(ne, {
221
+ (_ = t.value.usedBy) != null && _.length ? (V(), M(ne, {
222
222
  key: 0,
223
223
  editable: !1,
224
- overrides: a.value.usedBy || [],
224
+ overrides: t.value.usedBy || [],
225
225
  "select-variant": !1,
226
226
  title: n(o)("menu.variant.form.applied_product")
227
227
  }, null, 8, ["overrides", "title"])) : U("", !0)
@@ -1,24 +1,26 @@
1
1
  import { defineStore as zi } from "pinia";
2
- import { b as L, h as be, G as dn, H as mn, I as hn, d as ae, m as ye, c as _e, J as Fi, u as me, K as pi, L as pn, M as Te, N as lt, a as Ye, i as He, O as Ht, P as Ot, g as ut, n as fn, y as gn, Q as vn, z as bn, F as yn, l as _n, S as fi, T as wn } from "./app-DLXBsyVX.js";
2
+ import { f as L, k as be, I as dn, J as mn, K as hn, h as ae, m as ye, d as _e, L as Fi, u as me, M as pi, N as pn, b as Ye, l as He, O as Ht, P as Ot, j as lt, q as fn, B as gn, Q as vn, C as bn, F as yn, p as _n, S as fi, T as wn } from "./app-D2FqvCaC.js";
3
3
  import { useDialog as Ue, useSnackbar as Le, components as ke, useDialogChild as Ei, FmButtonVariant as Be, FmButtonColorThemeVariant as $e, useBreakpoints as Ii } from "@feedmepos/ui-library";
4
- import { C as Pe } from "./catalog-DA59S1K1.js";
4
+ import { C as Pe } from "./catalog-Bq6JWNgk.js";
5
5
  import { openBlock as F, createElementBlock as Z, createElementVNode as D, defineComponent as le, computed as T, resolveComponent as B, createVNode as C, unref as p, createBlock as G, renderSlot as he, withCtx as N, Fragment as Re, renderList as Ke, resolveDynamicComponent as yt, withDirectives as Xe, vShow as wt, mergeProps as Pi, withModifiers as St, createCommentVNode as ee, ref as q, createTextVNode as _t, toDisplayString as se, normalizeClass as Ee, onMounted as Qe, resolveDirective as Ut, h as ue, watch as Ce, Transition as Sn, onBeforeUnmount as Cn, normalizeProps as Rn, guardReactiveProps as An, normalizeStyle as xn, nextTick as kn, getCurrentInstance as Mn, render as On } from "vue";
6
6
  import { useI18n as ce, useCoreStore as Xt } from "@feedmepos/mf-common";
7
- import { u as zn } from "./category-DmANWF_-.js";
7
+ import { u as zn } from "./category-DJo3MbY6.js";
8
+ import { R as Te } from "./remy-BWBsUWuo.js";
8
9
  import { a as Di, _ as gi } from "./InfoBasic.vue_vue_type_script_setup_true_lang-DxQBDu16.js";
9
10
  import { _ as Ge, a as Fn } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
11
+ import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
12
  import { _ as et } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
11
- import { f as rt } from "./currency-2ixhQhct.js";
12
- import { _ as Je, T as En, l as $t } from "./takeaway-YC6D7J84.js";
13
+ import { f as rt } from "./currency-Ccc8KrCJ.js";
14
+ import { _ as Je, T as En, l as $t } from "./takeaway-PjB5BC80.js";
13
15
  import { V as Ti } from "./vuedraggable-WU01qJgi.js";
14
- import { l as Ne, u as In } from "./lodash-C1cV3B7u.js";
16
+ import { l as Ne, u as In } from "./lodash-MHSu1pkA.js";
15
17
  import "vue-router";
16
- import { V as vi } from "./index-BkFctJwy.js";
17
- import { s as Vt, F as Pn } from "./object-D6a8_l-h.js";
18
- import { L as Dn } from "./LinkProductSideSheet-ARCMnzg0.js";
18
+ import { V as vi } from "./index-PJVryAUX.js";
19
+ import { s as Vt, F as Pn } from "./object-BN9wCbKv.js";
20
+ import { L as Dn } from "./LinkProductSideSheet-DfZrxiHw.js";
19
21
  import { useInventoryStore as Ui, InventoryBindingForm as Tn, InventoryBindingSummary as Un } from "@feedmepos/mf-inventory-portal";
20
22
  import { c as $n } from "./string-DpfFixWH.js";
21
- import { _ as Vn } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BR0tyj1e.js";
23
+ import { _ as Vn } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js";
22
24
  const Nn = {
23
25
  xmlns: "http://www.w3.org/2000/svg",
24
26
  width: "24",
@@ -512,7 +514,7 @@ class Vi {
512
514
  return !!this.menuStore.state.currentCatalogId || !!this.menuStore.state.currentSchedulerId;
513
515
  }
514
516
  }
515
- const Yn = "/assets/linked-status-NTK-mKny.js";
517
+ const Yn = "/assets/linked-status-B-90MiJw.js";
516
518
  function Hn(e) {
517
519
  var n;
518
520
  const i = ae(e), t = (n = i.variant) == null ? void 0 : n.variantCombinations;
@@ -2320,7 +2322,7 @@ function Yo(e, i) {
2320
2322
  he(e.$slots, "default")
2321
2323
  ]);
2322
2324
  }
2323
- const Ho = /* @__PURE__ */ lt(Wo, [["render", Yo]]);
2325
+ const Ho = /* @__PURE__ */ ut(Wo, [["render", Yo]]);
2324
2326
  function rn(e) {
2325
2327
  return e || null;
2326
2328
  }
@@ -2643,7 +2645,7 @@ const ra = /* @__PURE__ */ le({
2643
2645
  placeholder: (P = g.fallback) != null && P.price ? p(rt)(g.fallback.price, !1) : void 0,
2644
2646
  rules: [
2645
2647
  l.value.price ? (A) => !!A || p(o)("menu.product.form.price.fields.selling_price.required") : void 0
2646
- ].filter(p(ut).isSet),
2648
+ ].filter(p(lt).isSet),
2647
2649
  class: "w-[258px] xs:w-full",
2648
2650
  label: p(o)("menu.product.form.price.fields.selling_price.label"),
2649
2651
  "show-currency": "",
@@ -2878,7 +2880,7 @@ function Ia(e, i) {
2878
2880
  ])
2879
2881
  ]);
2880
2882
  }
2881
- const sn = /* @__PURE__ */ lt(za, [["render", Ia]]), Pa = {
2883
+ const sn = /* @__PURE__ */ ut(za, [["render", Ia]]), Pa = {
2882
2884
  class: "space-y-16"
2883
2885
  }, Da = {
2884
2886
  class: "flex items-center space-x-8"
@@ -3238,7 +3240,7 @@ const sn = /* @__PURE__ */ lt(za, [["render", Ia]]), Pa = {
3238
3240
  emits: ["update:inventory"],
3239
3241
  setup(e, { expose: i, emit: t }) {
3240
3242
  const n = e, a = q(!1), o = (m) => {
3241
- ut.isBoolean(m) ? a.value = m : a.value = !a.value;
3243
+ lt.isBoolean(m) ? a.value = m : a.value = !a.value;
3242
3244
  }, r = q([]), l = t;
3243
3245
  function s() {
3244
3246
  for (const m of r.value)
@@ -3566,7 +3568,7 @@ const sn = /* @__PURE__ */ lt(za, [["render", Ia]]), Pa = {
3566
3568
  function _(M, U, $, Q) {
3567
3569
  var we, ct;
3568
3570
  const j = ae(t.group), ie = (we = j.items[M].items) == null ? void 0 : we.findIndex((dt) => dt.combinationKey === U);
3569
- if (!ut.isSet(ie)) return;
3571
+ if (!lt.isSet(ie)) return;
3570
3572
  let te = (ct = j.items[M].items) == null ? void 0 : ct[ie];
3571
3573
  te && (te = {
3572
3574
  ...te,
@@ -3676,7 +3678,7 @@ function Za(e, i) {
3676
3678
  he(e.$slots, "default")
3677
3679
  ]);
3678
3680
  }
3679
- const Qa = /* @__PURE__ */ lt(Xa, [["render", Za]]), Ja = { class: "fm-typo-en-title-md-600" }, er = {
3681
+ const Qa = /* @__PURE__ */ ut(Xa, [["render", Za]]), Ja = { class: "fm-typo-en-title-md-600" }, er = {
3680
3682
  key: 0,
3681
3683
  class: "pt-8 space-y-32"
3682
3684
  }, tr = { class: "flex gap-8 items-center justify-start" }, ln = /* @__PURE__ */ le({
@@ -3693,7 +3695,7 @@ const Qa = /* @__PURE__ */ lt(Xa, [["render", Za]]), Ja = { class: "fm-typo-en-t
3693
3695
  setup(e, { expose: i, emit: t }) {
3694
3696
  let n = e;
3695
3697
  const a = t, o = me(), r = Ue(), l = He(Ye(Le())), s = q(!1), u = q(!1), d = (I) => {
3696
- ut.isBoolean(I) ? u.value = I : u.value = !u.value;
3698
+ lt.isBoolean(I) ? u.value = I : u.value = !u.value;
3697
3699
  }, h = T(() => n.config(n.group)), m = T(() => [
3698
3700
  {
3699
3701
  label: "Normal",
@@ -4698,7 +4700,7 @@ const Qa = /* @__PURE__ */ lt(Xa, [["render", Za]]), Ja = { class: "fm-typo-en-t
4698
4700
  ), r = q(
4699
4701
  t.initialValue ? ae(t.initialValue) : { ...ye.generator.initMenuV4PrintDepartment(), usedBy: [] }
4700
4702
  ), l = q(!1), s = q(!1), u = (h) => {
4701
- ut.isBoolean(h) ? s.value = h : s.value = !s.value;
4703
+ lt.isBoolean(h) ? s.value = h : s.value = !s.value;
4702
4704
  };
4703
4705
  async function d() {
4704
4706
  var h, m;
@@ -5024,13 +5026,13 @@ const Qa = /* @__PURE__ */ lt(Xa, [["render", Za]]), Ja = { class: "fm-typo-en-t
5024
5026
  }));
5025
5027
  };
5026
5028
  }
5027
- }), We = /* @__PURE__ */ lt(Ur, [["__scopeId", "data-v-e920f110"]]), $r = {};
5029
+ }), We = /* @__PURE__ */ ut(Ur, [["__scopeId", "data-v-e920f110"]]), $r = {};
5028
5030
  function Vr(e, i) {
5029
5031
  return F(), Z("div", null, i[0] || (i[0] = [
5030
5032
  D("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
5031
5033
  ]));
5032
5034
  }
5033
- const Nr = /* @__PURE__ */ lt($r, [["render", Vr]]), Lr = {
5035
+ const Nr = /* @__PURE__ */ ut($r, [["render", Vr]]), Lr = {
5034
5036
  key: 0,
5035
5037
  class: "ml-40 w-[320px] fm-corner-radius-lg p-16 border border-fm-color-neutral-gray-200 space-y-4"
5036
5038
  }, Br = { class: "fm-typo-en-title-sm-600" }, Oi = /* @__PURE__ */ le({
@@ -1,6 +1,6 @@
1
1
  import { useDialog as ep } from "@feedmepos/ui-library";
2
2
  import { useI18n as ip } from "@feedmepos/mf-common";
3
- import { B as er } from "./app-DLXBsyVX.js";
3
+ import { c as er } from "./app-D2FqvCaC.js";
4
4
  function op(Pt, at) {
5
5
  const o = ep(), { t: ct } = ip();
6
6
  function Bt() {
@@ -1,5 +1,5 @@
1
1
  import { computed as n, onBeforeUnmount as d, onMounted as m } from "vue";
2
- import { u as a } from "./app-DLXBsyVX.js";
2
+ import { u as a } from "./app-D2FqvCaC.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, resolveComponent as p, openBlock as f, createBlock as u, Teleport as w, createVNode as _, Transition as P, withCtx as h, normalizeClass as m, normalizeStyle as S, withKeys as R, createElementVNode as d, toDisplayString as A, renderSlot as x, createElementBlock as F, Fragment as g, renderList as I, createCommentVNode as T, toRaw as U } from "vue";
2
- import { N as k } from "./app-DLXBsyVX.js";
2
+ import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  const v = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), N = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), $ = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), z = /[^\p{L}\d]+/giu, y = "$1\0$2", C = "";
4
4
  function L(t) {
5
5
  let e = t.trim();
@@ -0,0 +1,36 @@
1
+ import { a as f, U as u } from "./app-D2FqvCaC.js";
2
+ import { computed as l, ref as m } from "vue";
3
+ var v = { mainBackend: "https://portal-v2-dev.feedmeapi.com", menuBackend: "https://menu-v4-dev.feedmeapi.com", remy: "https://remy-dev.feedmeapi.com/v1", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, gtm: { id: "GTM-P7Z9FMS6", serverUrl: "https://server-side-tagging-rsrq3ogsuq-as.a.run.app", env: "development", serverMeasurementId: "G-759WBZPF06", debug: !0 } };
4
+ let g;
5
+ function S(t) {
6
+ const p = f(), a = u(t), d = l(() => {
7
+ var e, r, i;
8
+ return ((i = (r = (e = p.publicSetting) == null ? void 0 : e.aiSettings) == null ? void 0 : r.remy) == null ? void 0 : i.enable) || !1;
9
+ }), n = m(!1);
10
+ function s(e) {
11
+ n.value = e;
12
+ }
13
+ const o = m(null);
14
+ function c(e) {
15
+ o.value = e;
16
+ }
17
+ return {
18
+ enable: d,
19
+ isDialogOpened: n,
20
+ toggleDialog: s,
21
+ registerOnSelect: c,
22
+ onSelect: o,
23
+ ...a,
24
+ closeSession: (e) => (s(!1), a.closeSession(e))
25
+ };
26
+ }
27
+ function I(t) {
28
+ g = S({
29
+ token: t,
30
+ url: v.remy || ""
31
+ });
32
+ }
33
+ export {
34
+ g as R,
35
+ I as i
36
+ };
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as oe, computed as O, resolveComponent as f, openBlock as u, createElementBlock as i, createVNode as l, unref as o, toDisplayString as Y, createCommentVNode as k, createElementVNode as y, withCtx as v, Fragment as C, renderList as L, createBlock as K, ref as T, Transition as ae, createTextVNode as de } from "vue";
2
2
  import { components as re } from "@feedmepos/ui-library";
3
- import { d as E, b as r, u as ce, h as le } from "./app-DLXBsyVX.js";
4
- import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-CS5jZ10v.js";
3
+ import { h as E, f as r, u as ce, k as le } from "./app-D2FqvCaC.js";
4
+ import { _ as me } from "./ApplyProducts.vue_vue_type_script_setup_true_lang-CTQXFXig.js";
5
5
  import { useI18n as ne } from "@feedmepos/mf-common";
6
- import { u as pe } from "./menu-C1F28TL_.js";
6
+ import { u as pe } from "./menu-CUXJ9cXY.js";
7
7
  import "vue-router";
8
8
  import { _ as ee } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
9
9
  import { _ as _e } from "./FormItem.vue_vue_type_script_setup_true_lang-DKsxEK-8.js";
10
- import { u as ve, l as fe } from "./lodash-C1cV3B7u.js";
10
+ import { u as ve, l as fe } from "./lodash-MHSu1pkA.js";
11
11
  const ye = { class: "space-y-8" }, he = {
12
12
  key: 0,
13
13
  class: "space-y-16"
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.remy-dialog[data-v-cd495024]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-cd495024]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-cd495024]{color:#fff}.remy-dialog .chatbox-container[data-v-cd495024]{height:calc(100% - 40px)}.expand-enter-from[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-to[data-v-c33d339f],.expand-leave-from[data-v-c33d339f]{opacity:1;max-height:1000px}.expand-leave-to[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-active[data-v-c33d339f],.expand-leave-active[data-v-c33d339f]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-5b5c7179]{opacity:0}.fade-enter-to[data-v-5b5c7179],.fade-leave-from[data-v-5b5c7179]{opacity:1}.fade-leave-to[data-v-5b5c7179]{opacity:0}.fade-enter-active[data-v-5b5c7179],.fade-leave-active[data-v-5b5c7179]{transition:opacity .5s ease}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.expand-enter-from[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-to[data-v-e920f110],.expand-leave-from[data-v-e920f110]{opacity:1;max-height:1000px}.expand-leave-to[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-active[data-v-e920f110],.expand-leave-active[data-v-e920f110]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to{opacity:0;max-height:0}.app-container{background-color:#fff!important}
1
+ .chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.expand-enter-from[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-to[data-v-c33d339f],.expand-leave-from[data-v-c33d339f]{opacity:1;max-height:1000px}.expand-leave-to[data-v-c33d339f]{opacity:0;max-height:0}.expand-enter-active[data-v-c33d339f],.expand-leave-active[data-v-c33d339f]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-5b5c7179]{opacity:0}.fade-enter-to[data-v-5b5c7179],.fade-leave-from[data-v-5b5c7179]{opacity:1}.fade-leave-to[data-v-5b5c7179]{opacity:0}.fade-enter-active[data-v-5b5c7179],.fade-leave-active[data-v-5b5c7179]{transition:opacity .5s ease}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}.expand-enter-from[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-to[data-v-e920f110],.expand-leave-from[data-v-e920f110]{opacity:1;max-height:1000px}.expand-leave-to[data-v-e920f110]{opacity:0;max-height:0}.expand-enter-active[data-v-e920f110],.expand-leave-active[data-v-e920f110]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to{opacity:0;max-height:0}.app-container{background-color:#fff!important}.remy-dialog[data-v-cd495024]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-cd495024]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-cd495024]{color:#fff}.remy-dialog .chatbox-container[data-v-cd495024]{height:calc(100% - 40px)}
@@ -1,12 +1,12 @@
1
- import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as K, onBeforeUnmount as O, resolveComponent as F, openBlock as M, createBlock as N, withModifiers as D, withCtx as h, renderSlot as U, createElementBlock as z, Fragment as A, createVNode as c, unref as i, createElementVNode as x, toDisplayString as R, createCommentVNode as P } from "vue";
2
- import { components as W } from "@feedmepos/ui-library";
3
- import { c as S, u as j, g as H, m as q, d as Y, b as Z } from "./app-DLXBsyVX.js";
1
+ import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as K, onBeforeUnmount as O, resolveComponent as F, openBlock as M, createBlock as N, withModifiers as D, withCtx as g, renderSlot as U, createElementBlock as z, Fragment as A, createVNode as c, unref as i, createElementVNode as x, toDisplayString as R, createCommentVNode as j } from "vue";
2
+ import { components as P } from "@feedmepos/ui-library";
3
+ import { d as S, u as W, j as H, m as q, h as Y, f as Z } from "./app-D2FqvCaC.js";
4
4
  import { c as G } from "./string-DpfFixWH.js";
5
5
  import { useI18n as I } from "@feedmepos/mf-common";
6
- import { f as J } from "./currency-2ixhQhct.js";
7
- import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BR0tyj1e.js";
6
+ import { f as J } from "./currency-Ccc8KrCJ.js";
7
+ import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DY5ZAvXD.js";
8
8
  import { _ as X } from "./FormSection.vue_vue_type_script_setup_true_lang-BWJUD8NZ.js";
9
- import { u as ee, l as ae } from "./lodash-C1cV3B7u.js";
9
+ import { u as ee, l as ae } from "./lodash-MHSu1pkA.js";
10
10
  const te = /* @__PURE__ */ T({
11
11
  __name: "CurrencyInput",
12
12
  props: {
@@ -117,7 +117,7 @@ const te = /* @__PURE__ */ T({
117
117
  onScroll: t[3] || (t[3] = D(() => {
118
118
  }, ["prevent"]))
119
119
  }, {
120
- append: h(() => [
120
+ append: g(() => [
121
121
  U(e.$slots, "append")
122
122
  ]),
123
123
  _: 3
@@ -135,7 +135,7 @@ const te = /* @__PURE__ */ T({
135
135
  },
136
136
  emits: ["update:takeaway"],
137
137
  setup(y, { expose: m, emit: a }) {
138
- const { t: o } = I(), d = y, v = a, r = j(), C = B(() => r.rules.takeaway), V = f(!1), u = f(!1), b = (l) => {
138
+ const { t: o } = I(), d = y, v = a, r = W(), C = B(() => r.rules.takeaway), V = f(!1), u = f(!1), b = (l) => {
139
139
  H.isBoolean(l) ? u.value = l : u.value = !u.value;
140
140
  };
141
141
  function k() {
@@ -176,7 +176,7 @@ const te = /* @__PURE__ */ T({
176
176
  id: "group-form",
177
177
  modelValue: u.value,
178
178
  "onUpdate:modelValue": n[4] || (n[4] = (p) => u.value = p),
179
- "is-container": i(W).FmForm,
179
+ "is-container": i(P).FmForm,
180
180
  "is-container-props": {
181
181
  onValidationSuccess: t,
182
182
  blameFormChildOnValidationFailed: !0
@@ -185,10 +185,10 @@ const te = /* @__PURE__ */ T({
185
185
  "z-index": 103,
186
186
  "onOn:clickedAway": i(e)
187
187
  }, {
188
- "side-sheet-header": h(() => [
188
+ "side-sheet-header": g(() => [
189
189
  x("p", le, R(_.value), 1)
190
190
  ]),
191
- "side-sheet-footer": h(() => [
191
+ "side-sheet-footer": g(() => [
192
192
  x("div", oe, [
193
193
  c(w, {
194
194
  label: i(G)(i(o)(`menu.common.actions.${l.action}`)),
@@ -205,18 +205,18 @@ const te = /* @__PURE__ */ T({
205
205
  }, null, 8, ["label"])
206
206
  ])
207
207
  ]),
208
- default: h(() => [
208
+ default: g(() => [
209
209
  x("div", ne, [
210
210
  c(X, null, {
211
- default: h(() => {
211
+ default: g(() => {
212
212
  var p;
213
213
  return [
214
214
  c(E, {
215
215
  modelValue: s.value.name,
216
- "onUpdate:modelValue": n[0] || (n[0] = (g) => s.value.name = g),
216
+ "onUpdate:modelValue": n[0] || (n[0] = (h) => s.value.name = h),
217
217
  disabled: !C.value.name,
218
218
  rules: [
219
- (g) => !!g || i(o)("menu.common.validation.required", {
219
+ (h) => !!h || i(o)("menu.common.validation.required", {
220
220
  field: i(o)("menu.takeaway.columns.title").toLowerCase()
221
221
  })
222
222
  ],
@@ -228,7 +228,7 @@ const te = /* @__PURE__ */ T({
228
228
  }, null, 8, ["modelValue", "disabled", "rules", "label", "placeholder", "title"]),
229
229
  c(te, {
230
230
  modelValue: s.value.price,
231
- "onUpdate:modelValue": n[1] || (n[1] = (g) => s.value.price = g),
231
+ "onUpdate:modelValue": n[1] || (n[1] = (h) => s.value.price = h),
232
232
  min: 0,
233
233
  nullable: !!l.fallback,
234
234
  placeholder: (p = l.fallback) != null && p.price ? i(J)(l.fallback.price, !1) : void 0,
@@ -247,7 +247,7 @@ const te = /* @__PURE__ */ T({
247
247
  "select-variant": l.bindToVariant,
248
248
  editable: "",
249
249
  title: i(o)("menu.common.labels.product")
250
- }, null, 8, ["overrides", "select-variant", "title"])) : P("", !0)
250
+ }, null, 8, ["overrides", "select-variant", "title"])) : j("", !0)
251
251
  ])
252
252
  ]),
253
253
  _: 1
@@ -1,5 +1,5 @@
1
- import "./lodash-C1cV3B7u.js";
2
- import { b as C } from "./catalog-DEFSDlRZ.js";
1
+ import "./lodash-MHSu1pkA.js";
2
+ import { b as C } from "./catalog-C8CFP-ny.js";
3
3
  var X = {
4
4
  defaultAmount: 0,
5
5
  defaultCurrency: "USD",