@feedmepos/mf-menu 0.31.40-beta.2 → 0.31.40-prod
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-CoKv0BFp.js → App-aWEH-ZEk.js} +9 -9
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-B14Q0hS_.js → ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js} +3 -3
- package/dist/{Catalog-BRovMtuI.js → Catalog-BoFfFdn8.js} +9 -8
- package/dist/{Category-DytZqgIt.js → Category-CWYbb3Jn.js} +4 -4
- package/dist/{Category-CT8-B4zh.js → Category-DZ45uikR.js} +6 -6
- package/dist/{CookingGuide-Ct5qRLG0.js → CookingGuide-BU0PRWIQ.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-D3R3TCba.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Z5xsKDIE.js} +1 -1
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js +50 -0
- package/dist/{Group-Dk1yQTTt.js → Group-BMQDeqiS.js} +1 -1
- package/dist/{Group-G_H8i5_8.js → Group-C0T_uknK.js} +3 -3
- package/dist/{Group.vue_vue_type_script_setup_true_lang-CoTdB2d5.js → Group.vue_vue_type_script_setup_true_lang-DyfmY6F1.js} +8 -8
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js +367 -0
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-BKx7uQtR.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-Dl-Wvt3D.js} +14 -13
- package/dist/{Ingredient-ChynYQq6.js → Ingredient-3lwDUQx_.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-DyaUxnMx.js → InventoryBinding.vue_vue_type_script_setup_true_lang-VLrrTkSC.js} +2 -2
- package/dist/LinkProductSideSheet-LDZjKX95.js +297 -0
- package/dist/{app-CiBqmBzO.js → LinkProductSideSheet.vue_vue_type_style_index_0_scoped_97fa9d58_lang-DvG3mOom.js} +2084 -2120
- package/dist/MenuSetting-AhutsCVy.js +185 -0
- package/dist/{PrintRoute-DwAZHUrQ.js → PrintRoute-DfJ-vUAb.js} +4 -4
- package/dist/{Product-Bx2NPQvC.js → Product-F4PoLm9v.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-od_O6x7E.js → Product.vue_vue_type_script_setup_true_lang-DT5gffpA.js} +465 -468
- package/dist/{ProductInternalTools-BOguHh06.js → ProductInternalTools-DSGU-OqU.js} +6 -6
- package/dist/{Products-DA2hOsxr.js → Products-COzW2Z4g.js} +85 -88
- package/dist/{Publish-WATQWkjh.js → Publish-CDXVWCk2.js} +3 -3
- package/dist/{Recipe-WPwGgur3.js → Recipe-BZx4wrcP.js} +4 -4
- package/dist/{Scheduler-Djjggrh2.js → Scheduler-wHCWSeU2.js} +3 -3
- package/dist/{ServingSequence-CryZJTWA.js → ServingSequence-BbYEhDYh.js} +3 -3
- package/dist/{Setting-BtLsmoqY.js → Setting-C9Tlw1Iy.js} +45 -44
- package/dist/{Subcategory-BvlYDquD.js → Subcategory-C8AwfrKb.js} +4 -4
- package/dist/{Takeaway-8khxlcKQ.js → Takeaway-DaEUn-yM.js} +4 -4
- package/dist/{Takeaway-BBvFxAlx.js → Takeaway-t1053wg2.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-B8blN-yJ.js → Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-CA9RlNkt.js → Thumbnail.vue_vue_type_script_setup_true_lang-B7oLH9cP.js} +95 -97
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-Ci6iqOry.js +5998 -0
- package/dist/{Unit-Diu00sM2.js → Unit-CnqptGCz.js} +2 -2
- package/dist/{Variant-CO15W0wb.js → Variant-DiOYOwJs.js} +3 -3
- package/dist/{_id_-CxA_FzSG.js → _id_-BSfU16VO.js} +75 -78
- package/dist/{app-Blbof2Ga.js → app-Cou6qPF2.js} +1 -1
- package/dist/{app-5ESai6-B.js → app-Ddb81PNo.js} +278 -278
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/api/menu.d.ts +1 -2
- package/dist/apps/mf-menu/src/app.d.ts +0 -144
- package/dist/apps/mf-menu/src/components/feature/PriceTier/PriceTierRuleEditor.vue.d.ts +0 -36
- package/dist/apps/mf-menu/src/components/feature/RestaurantAttributesSelector.vue.d.ts +3 -9
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/composable/useItemFormManagement.d.ts +9 -2
- package/dist/apps/mf-menu/src/components/feature/TreeEditor/store/menuV2.d.ts +4 -294
- package/dist/apps/mf-menu/src/composable/linkProducts.d.ts +0 -40
- package/dist/apps/mf-menu/src/helper/import-export.d.ts +0 -285
- package/dist/apps/mf-menu/src/helper/menu.d.ts +0 -285
- package/dist/apps/mf-menu/src/manager/menu/item.d.ts +0 -285
- package/dist/apps/mf-menu/src/stores/menu.d.ts +3 -293
- package/dist/apps/mf-menu/src/views/Publish/UpdateCatalogDialog.vue.d.ts +0 -166
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/linked-status-B_crHhZH.js +24 -0
- package/dist/assets/override-menu-BmlCEpHH.js +24 -0
- package/dist/assets/validate-menu-CF-psoB-.js +24 -0
- package/dist/{catalog-CXjEQ80k.js → catalog-DSuJhsUb.js} +1 -1
- package/dist/{catalogSetting-aJSUDY_z.js → catalogSetting-C3gEw9ov.js} +1 -1
- package/dist/{category-TqQULuHq.js → category-CwWq3KCE.js} +1 -1
- package/dist/{currency-CRjh8ne7.js → currency-g45Sh-t6.js} +1 -1
- package/dist/{dayjs.min-MBmYgyRY.js → dayjs.min-g3eN5z-V.js} +1 -1
- package/dist/index-0Q5T9VZV.js +214 -0
- package/dist/{index-dkHuztwB.js → index-0yRUi7LL.js} +1 -1
- package/dist/{index-CzjFGFvP.js → index-BLQCYEc6.js} +8 -7
- package/dist/{index-B1NS2hBa.js → index-QsLFbxyG.js} +4 -4
- package/dist/{item-Dj14On9a.js → item-BvvQ9urP.js} +386 -386
- package/dist/{jszip.min-Be1afVon.js → jszip.min-DzdUiaR4.js} +353 -353
- package/dist/{menu-C0Xu-iTb.js → menu-DFNvhoNQ.js} +31149 -31298
- package/dist/{menu-kRDoPBjm.js → menu-QrVg2Ph7.js} +7 -7
- package/dist/{menuV2-D6Gmxd9X.js → menuV2-Ezf_jW40.js} +137 -142
- package/dist/mf-menu.css +1 -1
- package/dist/{priceTier-CJlFGOpm.js → priceTier-zENsn3P_.js} +1 -1
- package/dist/{scheduler-B11d6fJr.js → scheduler-BuwGSv6A.js} +8 -8
- package/dist/{subcategory-D6hTbHP-.js → subcategory-O3L_zCJA.js} +2 -2
- package/dist/{toExcel-BedErXvS.js → toExcel-CpRy_4nG.js} +2 -2
- package/dist/{unit-D5jDzsM2.js → unit-Ct_7Hfa2.js} +41 -42
- package/package.json +3 -3
- package/dist/GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B_Yv8Thl.js +0 -399
- package/dist/LinkProductSideSheet-DsoPo7Q_.js +0 -361
- package/dist/MenuSetting-CDSc-56P.js +0 -618
- package/dist/TreeEditorOpenner.vue_vue_type_script_setup_true_lang-LVWB5CIa.js +0 -5994
- package/dist/apps/mf-menu/src/composable/attributes.d.ts +0 -26
- package/dist/apps/mf-menu/src/utils/array.d.ts +0 -1
- package/dist/apps/mf-menu/src/utils/customAttributes.d.ts +0 -12
- package/dist/apps/mf-menu/src/views/MenuSetting/LinkProductRuleGroups.vue.d.ts +0 -2
- package/dist/apps/mf-menu/src/views/MenuSetting/RuleGroupSideSheet.vue.d.ts +0 -176
- package/dist/assets/linked-status-x1efKEih.js +0 -13
- package/dist/assets/override-menu-D8d9BWzy.js +0 -13
- package/dist/assets/validate-menu-DUJ20GHx.js +0 -13
- package/dist/customAttributes-32VmzFKZ.js +0 -177
- package/dist/index-FzHOAFSW.js +0 -246
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as me, G as ce, A as f, O as de, B as pe, H as w } from "./menu-
|
|
1
|
+
import { defineComponent as ne, computed as p, ref as se, watch as ue, watchEffect as ie, resolveComponent as m, createElementBlock as V, openBlock as r, normalizeClass as z, createVNode as s, withCtx as c, createElementVNode as v, createBlock as g, createCommentVNode as k, unref as e, Fragment as D, renderList as B, createTextVNode as re, toDisplayString as N } from "vue";
|
|
2
|
+
import { u as me, G as ce, A as f, O as de, B as pe, H as w } from "./menu-DFNvhoNQ.js";
|
|
3
3
|
import { useCoreStore as ve, useI18n as ge } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as fe, useDialog as _e, FmButtonVariant as $, FmButtonColorThemeVariant as P, components as be } from "@feedmepos/ui-library";
|
|
5
|
-
import {
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import { C as
|
|
5
|
+
import { a as E } from "./LinkProductSideSheet-LDZjKX95.js";
|
|
6
|
+
import { _ as ye } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
7
|
+
import { _ as H, a as ke } from "./GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-D6qro5w_.js";
|
|
8
|
+
import { C as _, a as x } from "./catalogSetting-C3gEw9ov.js";
|
|
9
|
+
import { C as xe } from "./catalog-DSuJhsUb.js";
|
|
9
10
|
const Ce = {
|
|
10
11
|
class: /* @__PURE__ */ z(["overflow-scroll", "flex-1", "xs:px-16 xs:py-16", "pt-16"])
|
|
11
12
|
}, Oe = {
|
|
@@ -25,16 +26,16 @@ const Ce = {
|
|
|
25
26
|
class: "fm-typo-en-body-md-400"
|
|
26
27
|
}, he = {
|
|
27
28
|
class: "flex justify-end"
|
|
28
|
-
},
|
|
29
|
+
}, He = /* @__PURE__ */ ne({
|
|
29
30
|
__name: "Setting",
|
|
30
31
|
setup(Ne) {
|
|
31
32
|
const F = ve(), u = me(), j = fe(), A = ce(j), {
|
|
32
33
|
minor: q
|
|
33
34
|
} = A, G = _e(), {
|
|
34
|
-
t:
|
|
35
|
+
t: n
|
|
35
36
|
} = ge(), O = p(() => u.currentCatalog), b = p(() => !O.value), S = p(() => u.version === f.F_MENU_VERSION.enum.v4), {
|
|
36
37
|
updateMenu: J
|
|
37
|
-
} = de(A), l = se(_.initCatalogSetting()), W = p(() => u.catalogs.filter((t) => t._id !== u.state.currentCatalogId).map((t) => t.name)), Y = p(() => u.state.restaurants.filter((t) => [...t.additionalCatalogs, t.inHouseDelivery, ...t.linkedDeliveryCatalogs.map((
|
|
38
|
+
} = de(A), l = se(_.initCatalogSetting()), W = p(() => u.catalogs.filter((t) => t._id !== u.state.currentCatalogId).map((t) => t.name)), Y = p(() => u.state.restaurants.filter((t) => [...t.additionalCatalogs, t.inHouseDelivery, ...t.linkedDeliveryCatalogs.map((o) => o.catalog), t.pickupCatalog, t.takeawayCatalog, t.catalogId].includes(u.state.currentCatalogId)).map((t) => t.name));
|
|
38
39
|
function T() {
|
|
39
40
|
return Y.value.length > 0 ? s("div", {
|
|
40
41
|
class: ["flex items-center", "bg-fm-color-system-warning-100", "rounded-lg", "py-16 px-24 space-x-8"]
|
|
@@ -43,7 +44,7 @@ const Ce = {
|
|
|
43
44
|
name: "warning"
|
|
44
45
|
}, null), s("p", {
|
|
45
46
|
class: "fm-typo-en-body-lg-400"
|
|
46
|
-
}, [
|
|
47
|
+
}, [n("menu.setting.catalog.warnings.delivery")])]) : null;
|
|
47
48
|
}
|
|
48
49
|
function I() {
|
|
49
50
|
const t = O.value;
|
|
@@ -62,7 +63,7 @@ const Ce = {
|
|
|
62
63
|
});
|
|
63
64
|
});
|
|
64
65
|
function K(t) {
|
|
65
|
-
const
|
|
66
|
+
const o = l.value.taxSetting, i = o.mode === x.AUTO ? _.manualTax(R.value) : w(o);
|
|
66
67
|
i.inclusive ?? (i.inclusive = []);
|
|
67
68
|
const d = i.inclusive.findIndex((C) => C.systemCode === t.systemCode);
|
|
68
69
|
d < 0 ? i.inclusive.push(t) : i.inclusive.splice(d, 1, t), U.value = i;
|
|
@@ -89,49 +90,49 @@ const Ce = {
|
|
|
89
90
|
customId: u.state.menu._id
|
|
90
91
|
});
|
|
91
92
|
};
|
|
92
|
-
function X(t,
|
|
93
|
+
function X(t, o) {
|
|
93
94
|
const i = w(l.value);
|
|
94
|
-
i.markupOptions && (i.markupOptions[t] =
|
|
95
|
+
i.markupOptions && (i.markupOptions[t] = o, l.value = i);
|
|
95
96
|
}
|
|
96
97
|
function Z(t) {
|
|
97
|
-
const
|
|
98
|
-
|
|
98
|
+
const o = w(l.value);
|
|
99
|
+
o.markupOptions && (o.markupOptions.splice(t, 1), l.value = o);
|
|
99
100
|
}
|
|
100
|
-
return (t,
|
|
101
|
-
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"), L = m("fm-switch"), te = m("fm-select"), h = m("fm-button"), ae = m("fm-chip"), le = m("fm-card"),
|
|
102
|
-
return r(), V("div", Ce, [s(
|
|
101
|
+
return (t, o) => {
|
|
102
|
+
const i = m("fm-text-field"), d = m("fm-radio"), C = m("fm-radio-group"), ee = m("fm-checkbox"), L = m("fm-switch"), te = m("fm-select"), h = m("fm-button"), ae = m("fm-chip"), le = m("fm-card"), oe = m("fm-form");
|
|
103
|
+
return r(), V("div", Ce, [s(oe, {
|
|
103
104
|
class: z(["space-y-40 max-w-[751px]", "h-fit"]),
|
|
104
105
|
"blame-form-child-on-validation-failed": "",
|
|
105
106
|
onValidationSuccess: Q
|
|
106
107
|
}, {
|
|
107
108
|
default: c(() => [v("div", Oe, [b.value ? k("", !0) : (r(), g(ye, {
|
|
108
109
|
key: 0,
|
|
109
|
-
title: e(
|
|
110
|
+
title: e(n)("menu.setting.catalog.title")
|
|
110
111
|
}, {
|
|
111
112
|
default: c(() => [s(i, {
|
|
112
113
|
modelValue: l.value.name,
|
|
113
|
-
"onUpdate:modelValue":
|
|
114
|
-
rules: [(a) => !W.value.includes(a.trim()) || e(
|
|
115
|
-
label: e(
|
|
114
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => l.value.name = a),
|
|
115
|
+
rules: [(a) => !W.value.includes(a.trim()) || e(n)("menu.setting.catalog.fields.name.used"), (a) => !!a.trim() || e(n)("menu.setting.catalog.fields.name.required")],
|
|
116
|
+
label: e(n)("menu.setting.catalog.fields.name.label")
|
|
116
117
|
}, null, 8, ["modelValue", "rules", "label"]), s(T)]),
|
|
117
118
|
_: 1
|
|
118
119
|
}, 8, ["title"])), s(E, {
|
|
119
|
-
label: e(
|
|
120
|
+
label: e(n)("menu.setting.tax.title")
|
|
120
121
|
}, {
|
|
121
122
|
default: c(() => [s(C, {
|
|
122
123
|
"model-value": l.value.taxSetting.mode,
|
|
123
|
-
"onUpdate:modelValue":
|
|
124
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => {
|
|
124
125
|
a === e(x).AUTO ? U.value = e(_).autoTax() : U.value = e(_).manualTax(R.value);
|
|
125
126
|
})
|
|
126
127
|
}, {
|
|
127
128
|
default: c(() => [s(d, {
|
|
128
129
|
value: e(x).AUTO,
|
|
129
|
-
label: e(
|
|
130
|
-
sublabel: e(
|
|
130
|
+
label: e(n)("menu.setting.tax.modes.auto.label"),
|
|
131
|
+
sublabel: e(n)("menu.setting.tax.modes.auto.sublabel")
|
|
131
132
|
}, null, 8, ["value", "label", "sublabel"]), s(d, {
|
|
132
133
|
value: e(x).MANUAL,
|
|
133
|
-
label: e(
|
|
134
|
-
sublabel: e(
|
|
134
|
+
label: e(n)("menu.setting.tax.modes.manual.label"),
|
|
135
|
+
sublabel: e(n)("menu.setting.tax.modes.manual.sublabel")
|
|
135
136
|
}, null, 8, ["value", "label", "sublabel"])]),
|
|
136
137
|
_: 1
|
|
137
138
|
}, 8, ["model-value"]), l.value.taxSetting.mode === e(x).MANUAL ? (r(), V("div", Se, [(r(!0), V(D, null, B(R.value, (a) => (r(), g(ee, {
|
|
@@ -149,14 +150,14 @@ const Ce = {
|
|
|
149
150
|
_: 1
|
|
150
151
|
}, 8, ["label"]), !b.value && S.value ? (r(), g(E, {
|
|
151
152
|
key: 1,
|
|
152
|
-
label: e(
|
|
153
|
+
label: e(n)("menu.setting.link.title")
|
|
153
154
|
}, {
|
|
154
155
|
default: c(() => [s(L, {
|
|
155
156
|
"model-value": l.value.orderFrom && l.value.orderFrom !== e(f.F_ORDER_FROM).enum.NONE,
|
|
156
|
-
label: e(
|
|
157
|
+
label: e(n)("menu.setting.link.auto_link.label"),
|
|
157
158
|
"label-placement": "right",
|
|
158
|
-
sublabel: e(
|
|
159
|
-
"onUpdate:modelValue":
|
|
159
|
+
sublabel: e(n)("menu.setting.link.auto_link.sublabel"),
|
|
160
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => l.value.orderFrom = a ? e(f.F_ORDER_FROM).enum.ALL : e(f.F_ORDER_FROM).enum.NONE)
|
|
160
161
|
}, null, 8, ["model-value", "label", "sublabel"]), l.value.orderFrom !== e(f.F_ORDER_FROM).enum.NONE ? (r(), g(te, {
|
|
161
162
|
key: 0,
|
|
162
163
|
class: "ml-[60px]",
|
|
@@ -168,24 +169,24 @@ const Ce = {
|
|
|
168
169
|
value: e(f.F_ORDER_FROM).enum.POS_ONLY
|
|
169
170
|
}],
|
|
170
171
|
"model-value": l.value.orderFrom,
|
|
171
|
-
"onUpdate:modelValue":
|
|
172
|
+
"onUpdate:modelValue": o[3] || (o[3] = (a) => l.value.orderFrom = a)
|
|
172
173
|
}, null, 8, ["items", "model-value"])) : k("", !0)]),
|
|
173
174
|
_: 1
|
|
174
175
|
}, 8, ["label"])) : k("", !0), !b.value && S.value ? (r(), g(E, {
|
|
175
176
|
key: 2,
|
|
176
|
-
label: e(
|
|
177
|
+
label: e(n)("menu.setting.markup.title")
|
|
177
178
|
}, {
|
|
178
179
|
default: c(() => [s(L, {
|
|
179
180
|
"model-value": !!l.value.markupOptions,
|
|
180
|
-
label: e(
|
|
181
|
+
label: e(n)("menu.setting.markup.auto_markup.label"),
|
|
181
182
|
"label-placement": "right",
|
|
182
|
-
sublabel: e(
|
|
183
|
-
"onUpdate:modelValue":
|
|
183
|
+
sublabel: e(n)("menu.setting.markup.auto_markup.sublabel"),
|
|
184
|
+
"onUpdate:modelValue": o[4] || (o[4] = (a) => l.value.markupOptions = a ? [] : null)
|
|
184
185
|
}, null, 8, ["model-value", "label", "sublabel"]), v("div", Me, [s(H, {
|
|
185
186
|
categories: e(u).categories,
|
|
186
187
|
items: e(u).items,
|
|
187
188
|
action: "add",
|
|
188
|
-
"onUpdate:modelValue":
|
|
189
|
+
"onUpdate:modelValue": o[5] || (o[5] = (a) => {
|
|
189
190
|
a && (l.value.markupOptions = [...l.value.markupOptions ?? [], a]);
|
|
190
191
|
})
|
|
191
192
|
}, {
|
|
@@ -223,11 +224,11 @@ const Ce = {
|
|
|
223
224
|
}, {
|
|
224
225
|
default: c(() => [re(" Markup percentage: " + N(a.percentage) + "% ", 1)]),
|
|
225
226
|
_: 2
|
|
226
|
-
}, 1024), v("p", Re, N(e(
|
|
227
|
+
}, 1024), v("p", Re, N(e(n)("menu.setting.markup.config", {
|
|
227
228
|
number: y + 1
|
|
228
|
-
})), 1), v("p", Ue, N(a.includeItems ? e(
|
|
229
|
+
})), 1), v("p", Ue, N(a.includeItems ? e(n)("menu.setting.markup.products.linked", {
|
|
229
230
|
count: a.includeItems.length
|
|
230
|
-
}) : e(
|
|
231
|
+
}) : e(n)("menu.setting.markup.products.all")), 1)]), s(h, {
|
|
231
232
|
variant: e($).Tertiary,
|
|
232
233
|
"prepend-icon": "delete",
|
|
233
234
|
onClick: (we) => Z(y)
|
|
@@ -239,13 +240,13 @@ const Ce = {
|
|
|
239
240
|
_: 1
|
|
240
241
|
}, 8, ["label"])) : k("", !0), s(ke, {
|
|
241
242
|
modelValue: l.value,
|
|
242
|
-
"onUpdate:modelValue":
|
|
243
|
+
"onUpdate:modelValue": o[6] || (o[6] = (a) => l.value = a),
|
|
243
244
|
"is-main-catalog": b.value,
|
|
244
245
|
"is-v4": S.value
|
|
245
246
|
}, null, 8, ["modelValue", "is-main-catalog", "is-v4"]), b.value ? (r(), g(T, {
|
|
246
247
|
key: 3
|
|
247
248
|
})) : k("", !0)]), v("div", he, [s(h, {
|
|
248
|
-
label: e(
|
|
249
|
+
label: e(n)("common.save"),
|
|
249
250
|
type: "submit"
|
|
250
251
|
}, null, 8, ["label"])])]),
|
|
251
252
|
_: 1
|
|
@@ -254,5 +255,5 @@ const Ce = {
|
|
|
254
255
|
}
|
|
255
256
|
});
|
|
256
257
|
export {
|
|
257
|
-
|
|
258
|
+
He as default
|
|
258
259
|
};
|
|
@@ -2,17 +2,17 @@ import { defineComponent as L, ref as w, watch as W, resolveComponent as y, crea
|
|
|
2
2
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as B, components as j, useDialog as Y, FmButtonVariant as z, useBreakpoints as ae, FmButtonColorThemeVariant as oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
5
|
-
import { G as D, u as N, O as A, J as K, A as G } from "./menu-
|
|
5
|
+
import { G as D, u as N, O as A, J as K, A as G } from "./menu-DFNvhoNQ.js";
|
|
6
6
|
import { _ as le } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as se } from "./app-
|
|
7
|
+
import { _ as se } from "./app-Ddb81PNo.js";
|
|
8
8
|
import { c as re } from "./createForm-BoUQeZTd.js";
|
|
9
9
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
10
10
|
import { c as I } from "./object-DVUNCr7w.js";
|
|
11
11
|
import { r as ce } from "./rules-CIWTZQfh.js";
|
|
12
12
|
import { c as ue } from "./check-C9mY6LiX.js";
|
|
13
|
-
import { u as q } from "./subcategory-
|
|
13
|
+
import { u as q } from "./subcategory-O3L_zCJA.js";
|
|
14
14
|
import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
15
|
-
import { a as me } from "./menu-
|
|
15
|
+
import { a as me } from "./menu-QrVg2Ph7.js";
|
|
16
16
|
const pe = {
|
|
17
17
|
class: "fm-typo-en-title-md-600"
|
|
18
18
|
}, _e = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as f, computed as y, ref as k, createBlock as i, openBlock as d, unref as a, withCtx as s, createElementVNode as t, toDisplayString as b, createCommentVNode as g, createVNode as m } from "vue";
|
|
2
|
-
import { G as x, u as v, O as w, J as E, A as M } from "./menu-
|
|
2
|
+
import { G as x, u as v, O as w, J as E, A as M } from "./menu-DFNvhoNQ.js";
|
|
3
3
|
import { useI18n as T } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as V } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as h } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
|
|
6
6
|
import { _ as C } from "./PageLayout.vue_vue_type_script_setup_true_lang-2f0QfweQ.js";
|
|
7
|
-
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { T as O, l as S } from "./index-
|
|
9
|
-
import { a as L } from "./menu-
|
|
7
|
+
import { _ as N } from "./Takeaway.vue_vue_type_script_setup_true_lang-7XycP5fU.js";
|
|
8
|
+
import { T as O, l as S } from "./index-QsLFbxyG.js";
|
|
9
|
+
import { a as L } from "./menu-QrVg2Ph7.js";
|
|
10
10
|
const U = { class: "flex-1 flex justify-between gap-8 pl-8" }, B = { class: "flex items-center" }, F = { class: "bg-fm-color-neutral-gray-100 rounded-md px-8 py-4" }, A = { class: "fm-typo-en-body-md-600 font-semibold" }, z = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Takeaway",
|
|
12
12
|
setup(D) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { getCurrentInstance as te, defineComponent as oe, computed as h, watch as ne, h as R, resolveComponent as S, createElementBlock as C, openBlock as _, Fragment as O, normalizeClass as D, createElementVNode as k, createVNode as V, unref as t, isRef as j, withCtx as P, renderList as ie, createBlock as G, createCommentVNode as $, toDisplayString as B, withModifiers as H } from "vue";
|
|
2
|
-
import { G as q, u as Q, O as W, J as N, A as z, H as L, B as se, an as J } from "./menu-
|
|
2
|
+
import { G as q, u as Q, O as W, J as N, A as z, H as L, B as se, an as J } from "./menu-DFNvhoNQ.js";
|
|
3
3
|
import { useI18n as X, useCoreStore as re } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as le, useSnackbar as Z, FmButtonVariant as A, components as ce, useBreakpoints as de } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as ue } from "./app-
|
|
5
|
+
import { _ as ue } from "./app-Ddb81PNo.js";
|
|
6
6
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BgqsTzLI.js";
|
|
7
|
-
import { a as ye, l as ee, T as pe } from "./index-
|
|
7
|
+
import { a as ye, l as ee, T as pe } from "./index-QsLFbxyG.js";
|
|
8
8
|
import { u as fe } from "./search-BAPEUu1R.js";
|
|
9
|
-
import { f as F } from "./currency-
|
|
9
|
+
import { f as F } from "./currency-g45Sh-t6.js";
|
|
10
10
|
import { defineStore as _e } from "pinia";
|
|
11
|
-
import { C as ke } from "./catalog-
|
|
11
|
+
import { C as ke } from "./catalog-DSuJhsUb.js";
|
|
12
12
|
import { c as ve } from "./createComponentProgrammatically-Bt2rn1IQ.js";
|
|
13
13
|
function we(T, U, l, m) {
|
|
14
14
|
var y, v, w, g;
|