@feedmepos/mf-menu 0.32.50-dev.1 → 0.32.52-dev
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.
- package/dist/{App-fvdXsBmD.js → App-COGal-TD.js} +497 -506
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DH4-Olmt.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DzROC59N.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-eqJDqaPZ.js} +2 -2
- package/dist/{Catalog-jkEr63nT.js → Catalog-BJ8-NdAC.js} +8 -9
- package/dist/{Category-DrwaNYcu.js → Category-BkU2y10v.js} +5 -5
- package/dist/{Category-B_gO4xPF.js → Category-CFaPOouQ.js} +4 -4
- package/dist/{CookingGuide-C33Z5hUV.js → CookingGuide-BDDCmfeL.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Be7Z3I_Q.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BcJYQo_p.js} +1 -1
- package/dist/{Group-BugcY3vS.js → Group-DBrJ4Rin.js} +1 -1
- package/dist/{Group-B5T6WfRm.js → Group-Sk7Qd6G3.js} +4 -4
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BAIexmig.js → Group.vue_vue_type_script_setup_true_lang-BWpIG76a.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BOQahWyN.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzeAE7Oj.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-YS1YynNn.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DWScWkMg.js} +10 -10
- package/dist/{Ingredient-DJVD7ZRE.js → Ingredient-CA0qoRc1.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CXFhzaMf.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BzLcfi4f.js} +2 -2
- package/dist/{LinkProductSideSheet-CzpnAdjg.js → LinkProductSideSheet-TTj7qiWm.js} +3 -3
- package/dist/{MenuSetting-CkzrUn-g.js → MenuSetting-DwfE7v0B.js} +9 -9
- package/dist/{OrderPacing-E25vzd0i.js → OrderPacing-cT1Vs3OD.js} +6 -6
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js → PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js} +2 -2
- package/dist/{PrintRoute-D_E6EFdK.js → PrintRoute-D8pc6M31.js} +5 -5
- package/dist/{Product-B65o3iNI.js → Product-CW1oQzS-.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DPzs_gu_.js → Product.vue_vue_type_script_setup_true_lang-lqXctN9S.js} +12 -12
- package/dist/{ProductInternalTools-CK-PGnNo.js → ProductInternalTools-DAIu8IhO.js} +6 -6
- package/dist/{Products-Dg1hvUwW.js → Products-nVL6Qsuw.js} +131 -128
- package/dist/Publish-DHEzIG_J.js +1434 -0
- package/dist/{Recipe-DIF_OoVX.js → Recipe-BLcLaekI.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-845QukTh.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BCHurASV.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DjKbPdjk.js → RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js} +2 -2
- package/dist/{Scheduler-Cp16XDHA.js → Scheduler-C4e5hO7Z.js} +4 -4
- package/dist/{ServingSequence-HG1Uq8jR.js → ServingSequence-C12Ny_nR.js} +4 -4
- package/dist/{Setting-BjmlJwG0.js → Setting-BscTehhJ.js} +5 -5
- package/dist/{Subcategory-COSfYpK6.js → Subcategory-C5FGoPot.js} +6 -6
- package/dist/{Takeaway-xH6lMjQI.js → Takeaway-CDSKNUhc.js} +1 -1
- package/dist/{Takeaway-8UTX6xY6.js → Takeaway-Dr6WQVE1.js} +5 -5
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DEnn6Uhy.js → Takeaway.vue_vue_type_script_setup_true_lang-C6eREsQp.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-C12J-MHi.js → Thumbnail.vue_vue_type_script_setup_true_lang-CkETUziX.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyAvat5t.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DUfRksjD.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C8RYs2oh.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1ov0odP.js} +937 -940
- package/dist/{Unit-B0LxjfWX.js → Unit-U3pz6pPm.js} +3 -3
- package/dist/{Variant-CPBzZOv3.js → Variant-D-nC4Dy6.js} +26 -30
- package/dist/{_id_-CM7JtSii.js → _id_-DHI7NeZ5.js} +10 -10
- package/dist/{app-DtexRwSb.js → app-Brq8nN4D.js} +1 -1
- package/dist/{app-yVJIrlSz.js → app-dIGG83GF.js} +185 -185
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/member_price/MemberPriceToolTip.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/helper/setting/catalogSetting.d.ts +2 -1
- package/dist/apps/mf-menu/src/manager/menu/memberPricing.d.ts +4 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-CbCxRkaM.js → linked-status-C-sgTOx9.js} +2 -2
- package/dist/assets/{menu-export-BrLAkWSp.js → menu-export-Nt98HUsd.js} +4 -4
- package/dist/assets/{override-menu-BrLa8Jm9.js → override-menu-Ako9Ghu_.js} +2 -2
- package/dist/assets/{validate-menu-CsSkhovY.js → validate-menu-CVJ4sdGa.js} +2 -2
- package/dist/{catalog-vPinxddm.js → catalog-BDfp-HKs.js} +1 -1
- package/dist/{catalogSetting-h7qqtQIw.js → catalogSetting-BjZWlJux.js} +26 -14
- package/dist/{currency-CcNf-QTk.js → currency-BMM0v_C-.js} +1 -1
- package/dist/{dayjs.min-Cocgeu87.js → dayjs.min-qRo56ggi.js} +2 -2
- package/dist/{index-H48-bCoT.js → index-Dnr_KMtS.js} +25 -25
- package/dist/{index-CCBv0ODD.js → index-DwsAtSPy.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-BUccfB8b.js → index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js} +4638 -4642
- package/dist/{item-BsZG_f4A.js → item-hYgXuH-R.js} +1178 -1177
- package/dist/{jszip.min-BnMXGnPr.js → jszip.min-BqsNpcIL.js} +3 -3
- package/dist/memberPricing-CXI5GqbJ.js +107 -0
- package/dist/{menu-Bw4tAzfN.js → menu-Okh_Q4gK.js} +1 -1
- package/dist/{menuV2-DI1Os0Vq.js → menuV2-DbTc7yw0.js} +26 -26
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-EeEkEnwJ.js → order_pacing-CBkQIrp3.js} +5 -5
- package/dist/{priceTier-BkoZvNui.js → priceTier-BxWXhfDh.js} +1 -1
- package/dist/{rules-Ou7rW1c3.js → rules-CsoPQCO5.js} +3 -3
- package/dist/{scheduler-DXQsrkEf.js → scheduler-BfvHQAuo.js} +4 -4
- package/dist/{toExcel-Dngn6umb.js → toExcel-DZMykkCy.js} +2 -2
- package/dist/{unit-BQ4FpCT5.js → unit-ro6UkV3c.js} +2 -2
- package/package.json +1 -1
- package/dist/Publish-DOZPb_5N.js +0 -1417
- package/dist/memberPricing-OCuDHRxA.js +0 -89
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as p, y as d, U as n, J as g, K as m, as as f } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { u as p, y as d, U as n, J as g, K as m, as as f } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
2
2
|
import "@feedmepos/ui-library";
|
|
3
3
|
class u {
|
|
4
4
|
constructor(t, e, r, a) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { U as u, G as
|
|
2
|
-
var
|
|
3
|
-
class
|
|
4
|
-
static fromCatalog(r,
|
|
5
|
-
const t =
|
|
1
|
+
import { U as u, G as s } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
2
|
+
var n = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.MANUAL = "manual", e))(n || {}), m = /* @__PURE__ */ ((e) => (e[e.Normal = 0] = "Normal", e[e.Rules = 1] = "Rules", e))(m || {});
|
|
3
|
+
class i {
|
|
4
|
+
static fromCatalog(r, a) {
|
|
5
|
+
const t = a ? u.enum.ALL : u.enum.NONE;
|
|
6
6
|
return {
|
|
7
|
-
...
|
|
7
|
+
...s(r),
|
|
8
8
|
taxSetting: this.transformTax(r.inclusiveTaxes),
|
|
9
9
|
orderFrom: r.defaultOrderFrom || t,
|
|
10
10
|
markupOptions: r.markupOptions || null,
|
|
@@ -16,18 +16,24 @@ class s {
|
|
|
16
16
|
return {
|
|
17
17
|
_id: "",
|
|
18
18
|
name: "Main",
|
|
19
|
-
taxSetting:
|
|
19
|
+
taxSetting: i.transformTax(r == null ? void 0 : r.inclusiveTaxes),
|
|
20
20
|
orderFrom: u.enum.ALL,
|
|
21
21
|
markupOptions: null,
|
|
22
22
|
usePriceTiers: null,
|
|
23
|
-
priceTierRules: null
|
|
23
|
+
priceTierRules: null,
|
|
24
|
+
override: {
|
|
25
|
+
groups: {},
|
|
26
|
+
items: {},
|
|
27
|
+
scheduler: {},
|
|
28
|
+
takeaway: {}
|
|
29
|
+
}
|
|
24
30
|
};
|
|
25
31
|
}
|
|
26
32
|
static toCatalog(r) {
|
|
27
33
|
return {
|
|
28
34
|
_id: r._id,
|
|
29
35
|
name: r.name,
|
|
30
|
-
inclusiveTaxes: r.taxSetting.mode === "auto" ? null :
|
|
36
|
+
inclusiveTaxes: r.taxSetting.mode === "auto" ? null : s(r.taxSetting.inclusive),
|
|
31
37
|
markupOptions: r.markupOptions,
|
|
32
38
|
defaultOrderFrom: r.orderFrom,
|
|
33
39
|
usePriceTiers: r.usePriceTiers,
|
|
@@ -42,13 +48,19 @@ class s {
|
|
|
42
48
|
taxSetting: this.autoTax(),
|
|
43
49
|
markupOptions: null,
|
|
44
50
|
usePriceTiers: null,
|
|
45
|
-
priceTierRules: null
|
|
51
|
+
priceTierRules: null,
|
|
52
|
+
override: {
|
|
53
|
+
groups: {},
|
|
54
|
+
items: {},
|
|
55
|
+
scheduler: {},
|
|
56
|
+
takeaway: {}
|
|
57
|
+
}
|
|
46
58
|
};
|
|
47
59
|
}
|
|
48
60
|
static transformTax(r) {
|
|
49
61
|
return r ? {
|
|
50
62
|
mode: "manual",
|
|
51
|
-
inclusive:
|
|
63
|
+
inclusive: s(r)
|
|
52
64
|
} : {
|
|
53
65
|
mode: "auto"
|
|
54
66
|
/* AUTO */
|
|
@@ -61,11 +73,11 @@ class s {
|
|
|
61
73
|
};
|
|
62
74
|
}
|
|
63
75
|
static manualTax(r) {
|
|
64
|
-
return { mode: "manual", inclusive:
|
|
76
|
+
return { mode: "manual", inclusive: s(r) };
|
|
65
77
|
}
|
|
66
78
|
}
|
|
67
79
|
export {
|
|
68
|
-
|
|
80
|
+
i as C,
|
|
69
81
|
m as L,
|
|
70
|
-
a
|
|
82
|
+
n as a
|
|
71
83
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as r } from "./app-
|
|
2
|
-
import { at as a } from "./index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { g as r } from "./app-dIGG83GF.js";
|
|
2
|
+
import { at as a } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
3
3
|
var o = a();
|
|
4
4
|
const m = /* @__PURE__ */ r(o);
|
|
5
5
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { z as $, K as Y, u as Z, G as Q, A as z, H as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { defineComponent as j, ref as h, computed as _, watch as R, onMounted as ee, onBeforeUnmount as ae, resolveComponent as L, createBlock as H, openBlock as x, withModifiers as q, withCtx as k, renderSlot as P, createElementBlock as O, Fragment as K, createVNode as v, unref as i, createElementVNode as
|
|
1
|
+
import { z as $, K as Y, u as Z, G as Q, A as z, H as X } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
2
|
+
import { defineComponent as j, ref as h, computed as _, watch as R, onMounted as ee, onBeforeUnmount as ae, resolveComponent as L, createBlock as H, openBlock as x, withModifiers as q, withCtx as k, renderSlot as P, createElementBlock as O, Fragment as K, createVNode as v, unref as i, createElementVNode as M, createCommentVNode as te, renderList as le, toDisplayString as I } from "vue";
|
|
3
3
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as ne } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as oe } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as oe } from "./RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js";
|
|
6
6
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { _ as re } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { _ as ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as re } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js";
|
|
8
|
+
import { _ as ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js";
|
|
9
9
|
import { c as se } from "./check-C9mY6LiX.js";
|
|
10
|
-
import { f as me } from "./currency-
|
|
10
|
+
import { f as me } from "./currency-BMM0v_C-.js";
|
|
11
11
|
import { c as de } from "./string-DpfFixWH.js";
|
|
12
12
|
import { g as A } from "./translation-fNx6yEpy.js";
|
|
13
13
|
const pe = /* @__PURE__ */ j({
|
|
@@ -53,15 +53,15 @@ const pe = /* @__PURE__ */ j({
|
|
|
53
53
|
},
|
|
54
54
|
emits: ["update:model-value"],
|
|
55
55
|
setup(B, { emit: g }) {
|
|
56
|
-
const l = B, { t: o } = W(), m = h(!1), E = h(!1), r = h(),
|
|
56
|
+
const l = B, { t: o } = W(), m = h(!1), E = h(!1), r = h(), N = _(() => l.modelValue ? (E.value && !m.value && (m.value = !0), $.Dinero.fromFdoDinero(l.modelValue).toUnit().toFixed(2)) : "");
|
|
57
57
|
R(
|
|
58
58
|
() => E.value,
|
|
59
59
|
(e) => {
|
|
60
|
-
var n, c, f,
|
|
61
|
-
e ? (c = (n = r.value) == null ? void 0 : n.inputEl) == null || c.select() : (m.value = !1, (f = r.value) != null && f.inputEl && s((
|
|
60
|
+
var n, c, f, T, U;
|
|
61
|
+
e ? (c = (n = r.value) == null ? void 0 : n.inputEl) == null || c.select() : (m.value = !1, (f = r.value) != null && f.inputEl && s((U = (T = r.value) == null ? void 0 : T.inputEl) == null ? void 0 : U.value));
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
const
|
|
64
|
+
const S = g, u = _(() => typeof l.required == "string" ? l.required : o("menu.common.validation.field_required", {
|
|
65
65
|
field: l.label ?? o("menu.currency.input.field")
|
|
66
66
|
})), C = [
|
|
67
67
|
(e) => l.required ? !!e || u.value : !0,
|
|
@@ -71,12 +71,12 @@ const pe = /* @__PURE__ */ j({
|
|
|
71
71
|
];
|
|
72
72
|
function s(e) {
|
|
73
73
|
if (typeof e != "number" && !e && l.nullable)
|
|
74
|
-
|
|
74
|
+
S("update:model-value", void 0);
|
|
75
75
|
else {
|
|
76
76
|
if (typeof e == "string" && e === "-")
|
|
77
77
|
return;
|
|
78
78
|
let n = parseFloat((e || "").toString());
|
|
79
|
-
n = Number.isNaN(n) ? 0 : n,
|
|
79
|
+
n = Number.isNaN(n) ? 0 : n, S("update:model-value", $.Dinero.fromNumber({ number: n }).toObject());
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
const D = _(() => typeof l.min == "number" && l.min >= 0), F = (e) => {
|
|
@@ -107,7 +107,7 @@ const pe = /* @__PURE__ */ j({
|
|
|
107
107
|
autofocus: l.autofocus,
|
|
108
108
|
disabled: l.disable,
|
|
109
109
|
label: e.label,
|
|
110
|
-
"model-value":
|
|
110
|
+
"model-value": N.value,
|
|
111
111
|
placeholder: l.placeholder,
|
|
112
112
|
"prepend-icon": e.showCurrency ? "attach_money" : void 0,
|
|
113
113
|
rules: C,
|
|
@@ -147,7 +147,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
147
147
|
},
|
|
148
148
|
emits: ["update:takeaway"],
|
|
149
149
|
setup(B, { expose: g, emit: l }) {
|
|
150
|
-
const { t: o } = W(), m = B, E = l, r = Z(),
|
|
150
|
+
const { t: o } = W(), m = B, E = l, r = Z(), N = _(() => r.rules.takeaway), S = h(!1), u = h(!1), C = h(!1), s = h(void 0), D = (a) => {
|
|
151
151
|
se.isBoolean(a) ? u.value = a : u.value = !u.value;
|
|
152
152
|
};
|
|
153
153
|
function F() {
|
|
@@ -174,10 +174,10 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
174
174
|
});
|
|
175
175
|
}), a;
|
|
176
176
|
});
|
|
177
|
-
function
|
|
177
|
+
function T(a) {
|
|
178
178
|
s.value = a;
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function U(a) {
|
|
181
181
|
e.value.name = a;
|
|
182
182
|
}
|
|
183
183
|
const J = ie(
|
|
@@ -227,13 +227,13 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
227
227
|
"onOn:clickedAway": i(J)
|
|
228
228
|
}, {
|
|
229
229
|
"side-sheet-header": k(() => [
|
|
230
|
-
|
|
230
|
+
M("p", ce, I(n.value), 1)
|
|
231
231
|
]),
|
|
232
232
|
"side-sheet-footer": k(() => [
|
|
233
|
-
|
|
233
|
+
M("div", ye, [
|
|
234
234
|
v(w, {
|
|
235
235
|
label: i(de)(i(o)(`menu.common.actions.${a.action}`)),
|
|
236
|
-
loading:
|
|
236
|
+
loading: S.value,
|
|
237
237
|
size: "lg",
|
|
238
238
|
type: "submit",
|
|
239
239
|
variant: "primary"
|
|
@@ -247,7 +247,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
247
247
|
])
|
|
248
248
|
]),
|
|
249
249
|
default: k(() => [
|
|
250
|
-
|
|
250
|
+
M("div", fe, [
|
|
251
251
|
v(oe, null, {
|
|
252
252
|
default: k(() => {
|
|
253
253
|
var b;
|
|
@@ -255,7 +255,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
255
255
|
v(d, {
|
|
256
256
|
modelValue: e.value.name,
|
|
257
257
|
"onUpdate:modelValue": t[1] || (t[1] = (p) => e.value.name = p),
|
|
258
|
-
disabled: !
|
|
258
|
+
disabled: !N.value.name,
|
|
259
259
|
rules: [
|
|
260
260
|
(p) => !!p || i(o)("menu.common.validation.required", {
|
|
261
261
|
field: i(o)("menu.takeaway.columns.title").toLowerCase()
|
|
@@ -274,7 +274,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
274
274
|
"z-index": 999
|
|
275
275
|
}, {
|
|
276
276
|
content: k(() => [
|
|
277
|
-
|
|
277
|
+
M("div", ve, [
|
|
278
278
|
(x(!0), O(K, null, le(f.value, (p) => (x(), O("div", {
|
|
279
279
|
key: p.locale
|
|
280
280
|
}, I(p.name) + " (" + I(p.localeDisplay) + ") ", 1))), 128))
|
|
@@ -285,7 +285,7 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
285
285
|
variant: "tertiary",
|
|
286
286
|
icon: "g_translate",
|
|
287
287
|
onClick: t[0] || (t[0] = (p) => C.value = !0),
|
|
288
|
-
disabled: !c.value
|
|
288
|
+
disabled: !c.value || !N.value.name
|
|
289
289
|
}, null, 8, ["disabled"])
|
|
290
290
|
]),
|
|
291
291
|
_: 1
|
|
@@ -325,8 +325,8 @@ const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, v
|
|
|
325
325
|
title: i(o)("menu.takeaway.title"),
|
|
326
326
|
name: e.value.name,
|
|
327
327
|
"name-locale": s.value,
|
|
328
|
-
"onUpdate:name":
|
|
329
|
-
"onUpdate:nameLocale":
|
|
328
|
+
"onUpdate:name": U,
|
|
329
|
+
"onUpdate:nameLocale": T
|
|
330
330
|
}, null, 8, ["modelValue", "title", "name", "name-locale"])
|
|
331
331
|
], 64);
|
|
332
332
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as le, ref as f, computed as q, watch as J, resolveComponent as C, createBlock as I, openBlock as h, unref as s, withCtx as k, createElementVNode as p, createVNode as m, createElementBlock as O, createCommentVNode as T, normalizeClass as Q, toDisplayString as F, Fragment as M, renderList as H, renderSlot as se, createSlots as ie } from "vue";
|
|
2
|
-
import { H as E, P as re, B as ue, G as D, A as W, J as X, K as Z } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { H as E, P as re, B as ue, G as D, A as W, J as X, K as Z } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
3
3
|
import { d as de } from "./vuedraggable-CK8z7qA8.js";
|
|
4
4
|
import { useI18n as te } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ce, components as me } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as ve } from "./FormItem.vue_vue_type_script_setup_true_lang-BmPAVphe.js";
|
|
7
|
-
import { _ as pe } from "./RuleView.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as pe } from "./RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js";
|
|
8
8
|
import { u as oe } from "./discardConfirm-BHni0LNu.js";
|
|
9
|
-
import { _ as fe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as _e, a as ee, b as ae, c as ne } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as fe } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js";
|
|
10
|
+
import { _ as _e, a as ee, b as ae, c as ne } from "./TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js";
|
|
11
11
|
import { c as he } from "./check-C9mY6LiX.js";
|
|
12
12
|
const ge = { class: "fm-typo-en-title-md-600" }, ye = { class: "pt-8 space-y-24" }, Ve = { class: "flex flex-col gap-16 border p-16 rounded-lg" }, be = { class: "fm-typo-en-body-lg-600" }, xe = {
|
|
13
13
|
key: 0,
|