@feedmepos/mf-menu 0.32.39 → 0.32.40
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-Dg5GweBn.js → App-DqpxV0zp.js} +5 -5
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DliryTNe.js → ApplyProduct.vue_vue_type_script_setup_true_lang-BQM40AWC.js} +3 -3
- package/dist/{Catalog-Cb66nkUU.js → Catalog-RdpK3RmL.js} +6 -6
- package/dist/{Category-CPFnvBBy.js → Category-DbvCHZU4.js} +5 -5
- package/dist/{Category-Cfd8CPSx.js → Category-ar15UpWV.js} +4 -4
- package/dist/{CookingGuide-DSHWh9Gt.js → CookingGuide-x2w_WTnE.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-DaCFX7KY.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-pRoVDEEM.js} +1 -1
- package/dist/{Group-DMmXyHKE.js → Group-D30WEl2L.js} +1 -1
- package/dist/{Group-CULwhVe7.js → Group-DevhimQn.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BPXbprJG.js → Group.vue_vue_type_script_setup_true_lang-BY3nr67e.js} +116 -116
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-7y3GRcrl.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-CPvumpiM.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BrMdia8X.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-hEPchEwW.js} +1958 -1942
- package/dist/{Ingredient-BTeAgBic.js → Ingredient-CiJSeTgO.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-B373qMOc.js → InventoryBinding.vue_vue_type_script_setup_true_lang-Cnq9QAeQ.js} +2 -2
- package/dist/{LinkProductSideSheet-BQC5B7VR.js → LinkProductSideSheet-CJxffg6I.js} +3 -3
- package/dist/{MenuSetting-QrTjKewy.js → MenuSetting-BMuUIgLN.js} +5 -5
- package/dist/{PrintRoute-Cw_fjZuS.js → PrintRoute-Uu2n0dAY.js} +4 -4
- package/dist/{Product-TfZZCFxL.js → Product-e81DLAaw.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Cf02oa8B.js → Product.vue_vue_type_script_setup_true_lang-1axfwskP.js} +13 -13
- package/dist/{ProductInternalTools--2ISZa9C.js → ProductInternalTools-BiK5b7KA.js} +5 -5
- package/dist/{Products-CU17YbjY.js → Products-DOIcfgzd.js} +65 -65
- package/dist/{Publish-C92_8tJc.js → Publish-d_T1ROxG.js} +3 -3
- package/dist/{Recipe-rN_AUIzI.js → Recipe-QIACzb3h.js} +4 -4
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-Be33vMlU.js → RuleView.vue_vue_type_script_setup_true_lang-01qpukRE.js} +2 -2
- package/dist/{Scheduler-udXY9Nxw.js → Scheduler-VxoCoh9o.js} +3 -3
- package/dist/{ServingSequence-lqstj5IH.js → ServingSequence-C7aNpyh4.js} +3 -3
- package/dist/{Setting-C8hhG68F.js → Setting-BzoqHU2T.js} +5 -5
- package/dist/Subcategory-dyK9h6SV.js +349 -0
- package/dist/{Takeaway-_ZUqMNYd.js → Takeaway-C3UnFVOa.js} +1 -1
- package/dist/{Takeaway-BNXBkxY3.js → Takeaway-DxLGfrmv.js} +4 -4
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DpIu-F5W.js → Takeaway.vue_vue_type_script_setup_true_lang-zsgXKNRt.js} +6 -6
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-D7Rx1dQ0.js → Thumbnail.vue_vue_type_script_setup_true_lang-Ba0ZuCdS.js} +4 -4
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-Xfmvx9wx.js +194 -0
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-blAi_T2i.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang--vNq7F0Z.js} +1907 -1899
- package/dist/{Unit-Cb5D0Twk.js → Unit-Clc8AYHy.js} +2 -2
- package/dist/{Variant-CFwv2HLG.js → Variant-DOGe2aJK.js} +4 -4
- package/dist/{_id_-DfRWmsAf.js → _id_-Bbc2mu9G.js} +9 -9
- package/dist/{app-H7J5uHZg.js → app-BSpY6Pgy.js} +26 -26
- package/dist/{app-CEN10-4D.js → app-DQD4sPc8.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/components/ProductTranslationDialog.vue.d.ts +4 -0
- package/dist/apps/mf-menu/src/components/TranslationFieldSection.vue.d.ts +7 -3
- package/dist/apps/mf-menu/src/components/TranslationSideSheet.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/components/feature/ApplyProduct/index.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierButton.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierForm.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/item.d.ts +6 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/scheduler.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/item/ItemForm.vue.d.ts +9 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/menuUtils.d.ts +3 -0
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/import/PreviewAddonContent.vue.d.ts +6 -0
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/import-export-utils.d.ts +17 -0
- package/dist/apps/mf-menu/src/helper/itemCategories.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/menu.d.ts +3 -0
- package/dist/apps/mf-menu/src/helper/menuExport.d.ts +2 -2
- package/dist/apps/mf-menu/src/helper/menuImport.d.ts +7 -0
- package/dist/apps/mf-menu/src/helper/menuSanitizer.d.ts +7 -0
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +7 -0
- package/dist/apps/mf-menu/src/stores/manager/item.d.ts +9 -0
- package/dist/apps/mf-menu/src/stores/manager/scheduler.d.ts +3 -0
- package/dist/apps/mf-menu/src/stores/menu.d.ts +7 -0
- package/dist/apps/mf-menu/src/views/Catalog/Edit/AddProductPopup/Form.vue.d.ts +6 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-DojmxFzq.js +13 -0
- package/dist/assets/{menu-export-B_zRmLzS.js → menu-export-rmsdV9dK.js} +45 -45
- package/dist/assets/override-menu-CVjWw9he.js +13 -0
- package/dist/assets/{validate-menu-D4jvSNmz.js → validate-menu-BB1XuZ9d.js} +6 -6
- package/dist/{catalog-CTuBk61t.js → catalog-ku3nqGmL.js} +1 -1
- package/dist/{catalogSetting-DKVNY3JC.js → catalogSetting-CpgLgy9o.js} +1 -1
- package/dist/{currency--QAX2jgM.js → currency-B58wqs-1.js} +1 -1
- package/dist/{dayjs.min-Dyhv-966.js → dayjs.min-Dj2ONTtr.js} +1 -1
- package/dist/index-BGm9S8Ih.js +545 -0
- package/dist/{index-CCM6nQtW.js → index-ByMVMoTu.js} +1 -1
- package/dist/{index-IWdfpOvK.js → index-CPY_DjD2.js} +58 -54
- package/dist/{index.vue_vue_type_script_setup_true_lang-90aRfAsI.js → index.vue_vue_type_script_setup_true_lang-IHmRgZTC.js} +13190 -13149
- package/dist/{item-CKij6BhH.js → item-DotiWZRv.js} +2967 -2925
- package/dist/{jszip.min-C-AOVv_w.js → jszip.min-OZZMb1gD.js} +2 -2
- package/dist/{menu-CX5qZa4q.js → menu-v_Cm5BNh.js} +1 -1
- package/dist/{menuV2-CgfWTiZp.js → menuV2-DsvYmLeh.js} +139 -139
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CKw6yKzC.js → priceTier-BQeJLJUu.js} +1 -1
- package/dist/rules-D3qosTfl.js +216 -0
- package/dist/{scheduler-CbytS4GA.js → scheduler-B32ag1lR.js} +4 -4
- package/dist/{toExcel-1Ir0pgiS.js → toExcel-CIrCsrWL.js} +2 -2
- package/dist/translation-Cdap0IVg.js +79 -0
- package/dist/{unit-DQOMjCVi.js → unit-y1on6-W3.js} +2 -2
- package/package.json +3 -3
- package/dist/Subcategory-BSAn0r8r.js +0 -345
- package/dist/TranslationSideSheet.vue_vue_type_script_setup_true_lang-C9byidEd.js +0 -185
- package/dist/assets/linked-status-D22Wz7QM.js +0 -13
- package/dist/assets/override-menu-96YpbKTz.js +0 -13
- package/dist/index-ulGt0shB.js +0 -539
- package/dist/rules-CoyaaNMj.js +0 -212
- package/dist/translation-BeqjfyEb.js +0 -75
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { B as $, A as
|
|
2
|
-
import { defineComponent as R, ref as h, computed as _, watch as j, onMounted as
|
|
1
|
+
import { B as $, A as Z, u as G, I as Q, D as A, J as X } from "./index.vue_vue_type_script_setup_true_lang-IHmRgZTC.js";
|
|
2
|
+
import { defineComponent as R, ref as h, computed as _, watch as j, onMounted as ee, onBeforeUnmount as ae, resolveComponent as x, createBlock as J, openBlock as L, withModifiers as q, withCtx as k, renderSlot as P, createElementBlock as I, Fragment as K, createVNode as v, unref as i, createElementVNode as U, createCommentVNode as te, renderList as le, toDisplayString as O } from "vue";
|
|
3
3
|
import { useI18n as W } from "@feedmepos/mf-common";
|
|
4
|
-
import { components as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { c as
|
|
10
|
-
import { f as
|
|
11
|
-
import { c as
|
|
12
|
-
import { g as z } from "./translation-
|
|
13
|
-
const
|
|
4
|
+
import { components as ne } from "@feedmepos/ui-library";
|
|
5
|
+
import { _ as oe } from "./RuleView.vue_vue_type_script_setup_true_lang-01qpukRE.js";
|
|
6
|
+
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
+
import { _ as re } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-BQM40AWC.js";
|
|
8
|
+
import { _ as ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-Xfmvx9wx.js";
|
|
9
|
+
import { c as se } from "./check-C9mY6LiX.js";
|
|
10
|
+
import { f as me } from "./currency-B58wqs-1.js";
|
|
11
|
+
import { c as de } from "./string-DpfFixWH.js";
|
|
12
|
+
import { g as z } from "./translation-Cdap0IVg.js";
|
|
13
|
+
const pe = /* @__PURE__ */ R({
|
|
14
14
|
__name: "CurrencyInput",
|
|
15
15
|
props: {
|
|
16
16
|
modelValue: {},
|
|
@@ -53,15 +53,15 @@ const de = /* @__PURE__ */ R({
|
|
|
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(), M = _(() => l.modelValue ? (E.value && !m.value && (m.value = !0), $.Dinero.fromFdoDinero(l.modelValue).toUnit().toFixed(2)) : "");
|
|
57
57
|
j(
|
|
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, S, T;
|
|
61
|
+
e ? (c = (n = r.value) == null ? void 0 : n.inputEl) == null || c.select() : (m.value = !1, (f = r.value) != null && f.inputEl && s((T = (S = r.value) == null ? void 0 : S.inputEl) == null ? void 0 : T.value));
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
const
|
|
64
|
+
const N = 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 de = /* @__PURE__ */ R({
|
|
|
71
71
|
];
|
|
72
72
|
function s(e) {
|
|
73
73
|
if (typeof e != "number" && !e && l.nullable)
|
|
74
|
-
|
|
74
|
+
N("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, N("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) => {
|
|
@@ -93,10 +93,10 @@ const de = /* @__PURE__ */ R({
|
|
|
93
93
|
e.key >= "0" && e.key <= "9" || e.key === "." || e.key === "," || e.key === "-" || e.key === "Backspace" || e.key === "ArrowLeft" || e.key === "ArrowRight" || e.key === "Tab" || e.preventDefault();
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return ee(() => {
|
|
97
97
|
var e;
|
|
98
98
|
r.value && ((e = r.value.inputEl) == null || e.addEventListener("keydown", F));
|
|
99
|
-
}),
|
|
99
|
+
}), ae(() => {
|
|
100
100
|
var e;
|
|
101
101
|
r.value && ((e = r.value.inputEl) == null || e.removeEventListener("keydown", F));
|
|
102
102
|
}), (e, n) => {
|
|
@@ -107,7 +107,7 @@ const de = /* @__PURE__ */ R({
|
|
|
107
107
|
autofocus: l.autofocus,
|
|
108
108
|
disabled: l.disable,
|
|
109
109
|
label: e.label,
|
|
110
|
-
"model-value":
|
|
110
|
+
"model-value": M.value,
|
|
111
111
|
placeholder: l.placeholder,
|
|
112
112
|
"prepend-icon": e.showCurrency ? "attach_money" : void 0,
|
|
113
113
|
rules: C,
|
|
@@ -128,15 +128,15 @@ const de = /* @__PURE__ */ R({
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
|
-
function
|
|
131
|
+
function Le(B) {
|
|
132
132
|
return B.map((g) => ({
|
|
133
|
-
module:
|
|
133
|
+
module: Z.F_MENU_MODULE_V4_KEY.enum.item,
|
|
134
134
|
id: g._id,
|
|
135
135
|
discriminator: g.combinationKey,
|
|
136
136
|
data: void 0
|
|
137
137
|
}));
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const ce = { class: "fm-typo-en-title-md-600" }, fe = { class: "space-y-32" }, ve = { class: "py-12 px-16 space-y-4" }, ye = { class: "flex gap-8 items-center justify-start" }, be = /* @__PURE__ */ R({
|
|
140
140
|
__name: "Form",
|
|
141
141
|
props: {
|
|
142
142
|
action: {},
|
|
@@ -147,15 +147,15 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
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 =
|
|
151
|
-
|
|
150
|
+
const { t: o } = W(), m = B, E = l, r = G(), M = _(() => r.rules.takeaway), N = h(!1), u = h(!1), C = h(!1), s = h(void 0), D = (a) => {
|
|
151
|
+
se.isBoolean(a) ? u.value = a : u.value = !u.value;
|
|
152
152
|
};
|
|
153
153
|
function F() {
|
|
154
154
|
var t;
|
|
155
155
|
const a = {
|
|
156
156
|
...A.generator.initMenuV4Takeaway(),
|
|
157
157
|
usedBy: [],
|
|
158
|
-
...
|
|
158
|
+
...Q(m.initialValue ?? {})
|
|
159
159
|
};
|
|
160
160
|
return (t = m.fallback) != null && t.price && (a.price = null), a;
|
|
161
161
|
}
|
|
@@ -174,13 +174,16 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
174
174
|
});
|
|
175
175
|
}), a;
|
|
176
176
|
});
|
|
177
|
-
function
|
|
177
|
+
function S(a) {
|
|
178
178
|
s.value = a;
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
function T(a) {
|
|
181
|
+
e.value.name = a;
|
|
182
|
+
}
|
|
183
|
+
const H = ie(
|
|
181
184
|
() => {
|
|
182
185
|
var d;
|
|
183
|
-
const a = !
|
|
186
|
+
const a = !X.isEqual(
|
|
184
187
|
e.value,
|
|
185
188
|
m.initialValue || {
|
|
186
189
|
...A.generator.initMenuV4Takeaway(),
|
|
@@ -191,7 +194,7 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
191
194
|
},
|
|
192
195
|
() => u.value = !1
|
|
193
196
|
);
|
|
194
|
-
function
|
|
197
|
+
function Y() {
|
|
195
198
|
E("update:takeaway", {
|
|
196
199
|
...e.value,
|
|
197
200
|
...s.value && { name_locale: s.value }
|
|
@@ -214,22 +217,22 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
214
217
|
id: "group-form",
|
|
215
218
|
modelValue: u.value,
|
|
216
219
|
"onUpdate:modelValue": t[5] || (t[5] = (b) => u.value = b),
|
|
217
|
-
"is-container": i(
|
|
220
|
+
"is-container": i(ne).FmForm,
|
|
218
221
|
"is-container-props": {
|
|
219
|
-
onValidationSuccess:
|
|
222
|
+
onValidationSuccess: Y,
|
|
220
223
|
blameFormChildOnValidationFailed: !0
|
|
221
224
|
},
|
|
222
225
|
"max-width": 560,
|
|
223
|
-
"onOn:clickedAway": i(
|
|
226
|
+
"onOn:clickedAway": i(H)
|
|
224
227
|
}, {
|
|
225
228
|
"side-sheet-header": k(() => [
|
|
226
|
-
|
|
229
|
+
U("p", ce, O(n.value), 1)
|
|
227
230
|
]),
|
|
228
231
|
"side-sheet-footer": k(() => [
|
|
229
|
-
|
|
232
|
+
U("div", ye, [
|
|
230
233
|
v(w, {
|
|
231
|
-
label: i(
|
|
232
|
-
loading:
|
|
234
|
+
label: i(de)(i(o)(`menu.common.actions.${a.action}`)),
|
|
235
|
+
loading: N.value,
|
|
233
236
|
size: "lg",
|
|
234
237
|
type: "submit",
|
|
235
238
|
variant: "primary"
|
|
@@ -243,15 +246,15 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
243
246
|
])
|
|
244
247
|
]),
|
|
245
248
|
default: k(() => [
|
|
246
|
-
|
|
247
|
-
v(
|
|
249
|
+
U("div", fe, [
|
|
250
|
+
v(oe, null, {
|
|
248
251
|
default: k(() => {
|
|
249
252
|
var b;
|
|
250
253
|
return [
|
|
251
254
|
v(d, {
|
|
252
255
|
modelValue: e.value.name,
|
|
253
256
|
"onUpdate:modelValue": t[1] || (t[1] = (p) => e.value.name = p),
|
|
254
|
-
disabled: !
|
|
257
|
+
disabled: !M.value.name,
|
|
255
258
|
rules: [
|
|
256
259
|
(p) => !!p || i(o)("menu.common.validation.required", {
|
|
257
260
|
field: i(o)("menu.takeaway.columns.title").toLowerCase()
|
|
@@ -270,8 +273,8 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
270
273
|
"z-index": 999
|
|
271
274
|
}, {
|
|
272
275
|
content: k(() => [
|
|
273
|
-
|
|
274
|
-
(L(!0), I(K, null,
|
|
276
|
+
U("div", ve, [
|
|
277
|
+
(L(!0), I(K, null, le(f.value, (p) => (L(), I("div", {
|
|
275
278
|
key: p.locale
|
|
276
279
|
}, O(p.name) + " (" + O(p.localeDisplay) + ") ", 1))), 128))
|
|
277
280
|
])
|
|
@@ -289,12 +292,12 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
289
292
|
]),
|
|
290
293
|
_: 1
|
|
291
294
|
}, 8, ["modelValue", "disabled", "rules", "label", "placeholder", "title"]),
|
|
292
|
-
v(
|
|
295
|
+
v(pe, {
|
|
293
296
|
modelValue: e.value.price,
|
|
294
297
|
"onUpdate:modelValue": t[2] || (t[2] = (p) => e.value.price = p),
|
|
295
298
|
min: 0,
|
|
296
299
|
nullable: !!a.fallback,
|
|
297
|
-
placeholder: (b = a.fallback) != null && b.price ? i(
|
|
300
|
+
placeholder: (b = a.fallback) != null && b.price ? i(me)(a.fallback.price, !1) : void 0,
|
|
298
301
|
label: i(o)("menu.takeaway.columns.price"),
|
|
299
302
|
"show-currency": "",
|
|
300
303
|
title: i(o)("menu.takeaway.columns.price")
|
|
@@ -303,33 +306,34 @@ const pe = { class: "fm-typo-en-title-md-600" }, ce = { class: "space-y-32" }, f
|
|
|
303
306
|
}),
|
|
304
307
|
_: 1
|
|
305
308
|
}),
|
|
306
|
-
a.applyProduct ? (L(), J(
|
|
309
|
+
a.applyProduct ? (L(), J(re, {
|
|
307
310
|
key: 0,
|
|
308
311
|
overrides: e.value.usedBy,
|
|
309
312
|
"onUpdate:overrides": t[3] || (t[3] = (b) => e.value.usedBy = b),
|
|
310
313
|
"select-variant": a.bindToVariant,
|
|
311
314
|
editable: "",
|
|
312
315
|
title: i(o)("menu.common.labels.product")
|
|
313
|
-
}, null, 8, ["overrides", "select-variant", "title"])) :
|
|
316
|
+
}, null, 8, ["overrides", "select-variant", "title"])) : te("", !0)
|
|
314
317
|
])
|
|
315
318
|
]),
|
|
316
319
|
_: 1
|
|
317
320
|
}, 8, ["modelValue", "is-container", "is-container-props", "onOn:clickedAway"]),
|
|
318
|
-
v(
|
|
321
|
+
v(ue, {
|
|
319
322
|
modelValue: C.value,
|
|
320
323
|
"onUpdate:modelValue": t[6] || (t[6] = (b) => C.value = b),
|
|
321
324
|
title: i(o)("menu.takeaway.title"),
|
|
322
325
|
name: e.value.name,
|
|
323
326
|
"name-locale": s.value,
|
|
324
|
-
"onUpdate:
|
|
327
|
+
"onUpdate:name": T,
|
|
328
|
+
"onUpdate:nameLocale": S
|
|
325
329
|
}, null, 8, ["modelValue", "title", "name", "name-locale"])
|
|
326
330
|
], 64);
|
|
327
331
|
};
|
|
328
332
|
}
|
|
329
|
-
}),
|
|
333
|
+
}), Ne = be;
|
|
330
334
|
export {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
+
Ne as T,
|
|
336
|
+
pe as _,
|
|
337
|
+
be as a,
|
|
338
|
+
Le as l
|
|
335
339
|
};
|