@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,4 +1,4 @@
|
|
|
1
|
-
import { A as u, H as i } from "./menu-
|
|
1
|
+
import { A as u, H as i } from "./menu-DFNvhoNQ.js";
|
|
2
2
|
var a = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.MANUAL = "manual", e))(a || {}), m = /* @__PURE__ */ ((e) => (e[e.Normal = 0] = "Normal", e[e.Rules = 1] = "Rules", e))(m || {});
|
|
3
3
|
class s {
|
|
4
4
|
static fromCatalog(r, n) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as M, watch as _, ref as f, resolveComponent as g, createBlock as x, openBlock as A, unref as l, withCtx as C, createVNode as V } from "vue";
|
|
2
|
-
import { J as s, A as u, u as F } from "./menu-
|
|
2
|
+
import { J as s, A as u, u as F } from "./menu-DFNvhoNQ.js";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as O } from "@feedmepos/ui-library";
|
|
5
5
|
const y = /* @__PURE__ */ M({
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { defineComponent as z, computed as P, ref as w, resolveComponent as d, createElementBlock as I, openBlock as R, Fragment as B, createElementVNode as g, createVNode as f, normalizeClass as A, withCtx as _, toDisplayString as C, unref as h, h as E, watch as D, onMounted as G, nextTick as K, readonly as M, getCurrentInstance as N, getCurrentScope as U, onScopeDispose as L } from "vue";
|
|
2
|
+
import { useI18n as q, useCustomAttributes as H, useCoreStore as J } from "@feedmepos/mf-common";
|
|
3
|
+
import { components as Q } from "@feedmepos/ui-library";
|
|
4
|
+
const X = {
|
|
5
|
+
class: /* @__PURE__ */ A(["fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap", "text-fm-color-neutral-gray-400"])
|
|
6
|
+
}, Y = {
|
|
7
|
+
class: "fm-typo-en-title-sm-600"
|
|
8
|
+
}, Z = {
|
|
9
|
+
class: "max-h-[60vh] flex-1 overflow-y-auto min-h-0"
|
|
10
|
+
}, ie = /* @__PURE__ */ z({
|
|
11
|
+
__name: "RestaurantAttributesSelector",
|
|
12
|
+
props: {
|
|
13
|
+
fullWidth: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
currentRestaurantCustomAttributes: {}
|
|
18
|
+
},
|
|
19
|
+
emits: ["confirm"],
|
|
20
|
+
setup(e, {
|
|
21
|
+
emit: n
|
|
22
|
+
}) {
|
|
23
|
+
const o = e, {
|
|
24
|
+
t
|
|
25
|
+
} = q(), {
|
|
26
|
+
attributes: l
|
|
27
|
+
} = H({
|
|
28
|
+
valueSource: J().restaurants,
|
|
29
|
+
entity: "restaurant"
|
|
30
|
+
}), r = P(() => l.value), v = [{
|
|
31
|
+
header: () => t("portalshell.customAttributes.form.key"),
|
|
32
|
+
accessorKey: "key",
|
|
33
|
+
enableSorting: !1
|
|
34
|
+
}, {
|
|
35
|
+
header: () => t("portalshell.customAttributes.form.value"),
|
|
36
|
+
accessorKey: "values",
|
|
37
|
+
enableSorting: !1,
|
|
38
|
+
cell: (c) => {
|
|
39
|
+
const a = c.row.original, m = a.values;
|
|
40
|
+
return E(Q.FmSelect, {
|
|
41
|
+
modelValue: a.value,
|
|
42
|
+
placeholder: t("portalshell.customAttributes.form.valuePlaceholder"),
|
|
43
|
+
items: m.map((u) => ({
|
|
44
|
+
label: u,
|
|
45
|
+
value: u
|
|
46
|
+
})),
|
|
47
|
+
clearable: !0,
|
|
48
|
+
"onUpdate:modelValue": (u) => a.value = u
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}], i = n, p = () => {
|
|
52
|
+
const c = l.value.filter((m) => m.value != null), a = c.length ? c.reduce((m, u) => (m[u.key] = u.value, m), {}) : {};
|
|
53
|
+
i("confirm", a), y();
|
|
54
|
+
}, s = w(!1);
|
|
55
|
+
function b() {
|
|
56
|
+
s.value = !0;
|
|
57
|
+
const c = o.currentRestaurantCustomAttributes ?? {};
|
|
58
|
+
r.value.forEach((a) => {
|
|
59
|
+
a.value = c[a.key] ?? void 0;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function y() {
|
|
63
|
+
s.value = !1;
|
|
64
|
+
}
|
|
65
|
+
return (c, a) => {
|
|
66
|
+
const m = d("FmIcon"), u = d("FmChip"), O = d("FmTable"), V = d("FmSpacer"), F = d("fm-button"), j = d("FmDialog");
|
|
67
|
+
return R(), I(B, null, [g("div", {
|
|
68
|
+
class: "cursor-pointer",
|
|
69
|
+
onClick: b
|
|
70
|
+
}, [f(u, {
|
|
71
|
+
class: A([c.fullWidth ? "w-full justify-between" : ""])
|
|
72
|
+
}, {
|
|
73
|
+
default: _(() => [g("div", X, C(h(t)("menu.catalog.form.restaurant_attributes_title")), 1), f(m, {
|
|
74
|
+
color: "neutral-gray-400",
|
|
75
|
+
name: "launch",
|
|
76
|
+
size: "sm"
|
|
77
|
+
})]),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 8, ["class"])]), f(j, {
|
|
80
|
+
modelValue: s.value,
|
|
81
|
+
"onUpdate:modelValue": a[0] || (a[0] = (W) => s.value = W),
|
|
82
|
+
overlay: !0,
|
|
83
|
+
"min-width": "min(calc(100% - 48px), 560px)"
|
|
84
|
+
}, {
|
|
85
|
+
"dialog-header": _(() => [g("div", Y, C(h(t)("menu.catalog.form.restaurant_attributes_title")), 1)]),
|
|
86
|
+
"dialog-footer": _(() => [f(V), f(F, {
|
|
87
|
+
label: h(t)("menu.common.actions.confirm"),
|
|
88
|
+
size: "lg",
|
|
89
|
+
type: "submit",
|
|
90
|
+
variant: "primary",
|
|
91
|
+
onClick: p
|
|
92
|
+
}, null, 8, ["label"]), f(F, {
|
|
93
|
+
label: h(t)("menu.common.actions.cancel"),
|
|
94
|
+
size: "lg",
|
|
95
|
+
variant: "tertiary",
|
|
96
|
+
onClick: y
|
|
97
|
+
}, null, 8, ["label"])]),
|
|
98
|
+
default: _(() => [g("div", Z, [f(O, {
|
|
99
|
+
"column-defs": v,
|
|
100
|
+
"row-data": r.value,
|
|
101
|
+
"shrink-at": !1,
|
|
102
|
+
"page-size": r.value.length,
|
|
103
|
+
"hide-footer": ""
|
|
104
|
+
}, null, 8, ["row-data", "page-size"])])]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 8, ["modelValue"])], 64);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
function ue(e) {
|
|
111
|
+
return U() ? (L(e), !0) : !1;
|
|
112
|
+
}
|
|
113
|
+
function S(e) {
|
|
114
|
+
return typeof e == "function" ? e() : h(e);
|
|
115
|
+
}
|
|
116
|
+
const ce = typeof window < "u" && typeof document < "u";
|
|
117
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
118
|
+
const $ = Object.prototype.toString, me = (e) => $.call(e) === "[object Object]", x = () => {
|
|
119
|
+
};
|
|
120
|
+
function k(e, n) {
|
|
121
|
+
function o(...t) {
|
|
122
|
+
return new Promise((l, r) => {
|
|
123
|
+
Promise.resolve(e(() => n.apply(this, t), { fn: n, thisArg: this, args: t })).then(l).catch(r);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
return o;
|
|
127
|
+
}
|
|
128
|
+
const T = (e) => e();
|
|
129
|
+
function ee(e, n = {}) {
|
|
130
|
+
let o, t, l = x;
|
|
131
|
+
const r = (i) => {
|
|
132
|
+
clearTimeout(i), l(), l = x;
|
|
133
|
+
};
|
|
134
|
+
return (i) => {
|
|
135
|
+
const p = S(e), s = S(n.maxWait);
|
|
136
|
+
return o && r(o), p <= 0 || s !== void 0 && s <= 0 ? (t && (r(t), t = null), Promise.resolve(i())) : new Promise((b, y) => {
|
|
137
|
+
l = n.rejectOnCancel ? y : b, s && !t && (t = setTimeout(() => {
|
|
138
|
+
o && r(o), t = null, b(i());
|
|
139
|
+
}, s)), o = setTimeout(() => {
|
|
140
|
+
t && r(t), t = null, b(i());
|
|
141
|
+
}, p);
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function te(e = T) {
|
|
146
|
+
const n = w(!0);
|
|
147
|
+
function o() {
|
|
148
|
+
n.value = !1;
|
|
149
|
+
}
|
|
150
|
+
function t() {
|
|
151
|
+
n.value = !0;
|
|
152
|
+
}
|
|
153
|
+
const l = (...r) => {
|
|
154
|
+
n.value && e(...r);
|
|
155
|
+
};
|
|
156
|
+
return { isActive: M(n), pause: o, resume: t, eventFilter: l };
|
|
157
|
+
}
|
|
158
|
+
function ne(e) {
|
|
159
|
+
return N();
|
|
160
|
+
}
|
|
161
|
+
function oe(e, n = 200, o = {}) {
|
|
162
|
+
return k(
|
|
163
|
+
ee(n, o),
|
|
164
|
+
e
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
function fe(e, n = 200, o = {}) {
|
|
168
|
+
const t = w(e.value), l = oe(() => {
|
|
169
|
+
t.value = e.value;
|
|
170
|
+
}, n, o);
|
|
171
|
+
return D(e, () => l()), t;
|
|
172
|
+
}
|
|
173
|
+
function le(e, n, o = {}) {
|
|
174
|
+
const {
|
|
175
|
+
eventFilter: t = T,
|
|
176
|
+
...l
|
|
177
|
+
} = o;
|
|
178
|
+
return D(
|
|
179
|
+
e,
|
|
180
|
+
k(
|
|
181
|
+
t,
|
|
182
|
+
n
|
|
183
|
+
),
|
|
184
|
+
l
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
function pe(e, n, o = {}) {
|
|
188
|
+
const {
|
|
189
|
+
eventFilter: t,
|
|
190
|
+
...l
|
|
191
|
+
} = o, { eventFilter: r, pause: v, resume: i, isActive: p } = te(t);
|
|
192
|
+
return { stop: le(
|
|
193
|
+
e,
|
|
194
|
+
n,
|
|
195
|
+
{
|
|
196
|
+
...l,
|
|
197
|
+
eventFilter: r
|
|
198
|
+
}
|
|
199
|
+
), pause: v, resume: i, isActive: p };
|
|
200
|
+
}
|
|
201
|
+
function de(e, n = !0, o) {
|
|
202
|
+
ne() ? G(e, o) : n ? e() : K(e);
|
|
203
|
+
}
|
|
204
|
+
export {
|
|
205
|
+
ie as _,
|
|
206
|
+
de as a,
|
|
207
|
+
ue as b,
|
|
208
|
+
me as c,
|
|
209
|
+
ce as i,
|
|
210
|
+
x as n,
|
|
211
|
+
fe as r,
|
|
212
|
+
S as t,
|
|
213
|
+
pe as w
|
|
214
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, resolveComponent as p, createBlock as f, openBlock as i, Teleport as E, createVNode as _, Transition as g, withCtx as h, createCommentVNode as L, withKeys as w, normalizeStyle as F, normalizeClass as d, createElementVNode as m, renderSlot as x, createElementBlock as T, toDisplayString as R, Fragment as A, renderList as v, computed as C, unref as I } from "vue";
|
|
2
|
-
import { _ as k } from "./LinkProductSideSheet-
|
|
2
|
+
import { _ as k } from "./LinkProductSideSheet-LDZjKX95.js";
|
|
3
3
|
import { useI18n as U } from "@feedmepos/mf-common";
|
|
4
4
|
const N = {
|
|
5
5
|
class: /* @__PURE__ */ d([
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as R, computed as w, ref as E, watch as C, resolveComponent as g, createElementBlock as F, openBlock as V, Fragment as K, renderSlot as j, createVNode as s, unref as n, withCtx as m, createElementVNode as d, createBlock as M, createCommentVNode as U, normalizeClass as H, createSlots as J, toDisplayString as Q } from "vue";
|
|
2
|
-
import { O as W, G as X, H as f, D, J as I, A as S, I as Z } from "./menu-
|
|
2
|
+
import { O as W, G as X, H as f, D, J as I, A as S, I as Z } from "./menu-DFNvhoNQ.js";
|
|
3
3
|
import { d as ee } from "./vuedraggable-CK8z7qA8.js";
|
|
4
4
|
import { useI18n as te } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as ae, components as ne } from "@feedmepos/ui-library";
|
|
6
|
-
import {
|
|
6
|
+
import { a as oe } from "./LinkProductSideSheet-LDZjKX95.js";
|
|
7
|
+
import { _ as le } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
7
8
|
import { u as ie } from "./discardConfirm-BHni0LNu.js";
|
|
8
|
-
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as se } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js";
|
|
9
10
|
import { c as re } from "./check-C9mY6LiX.js";
|
|
10
11
|
const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32" }, de = ["data-not-allow-sort"], ce = {
|
|
11
12
|
key: 1,
|
|
@@ -146,7 +147,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
146
147
|
var _;
|
|
147
148
|
return [
|
|
148
149
|
d("div", me, [
|
|
149
|
-
s(
|
|
150
|
+
s(le, {
|
|
150
151
|
title: n(o)("menu.variant.form.detail")
|
|
151
152
|
}, {
|
|
152
153
|
default: m(() => [
|
|
@@ -159,7 +160,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
159
160
|
rules: [(u) => !!u || n(o)("menu.variant.form.name.required")],
|
|
160
161
|
placeholder: n(o)("menu.variant.form.name.placeholder")
|
|
161
162
|
}, null, 8, ["label", "helper-text", "modelValue", "rules", "placeholder"]),
|
|
162
|
-
s(
|
|
163
|
+
s(oe, {
|
|
163
164
|
label: n(o)("menu.variant.form.options.title")
|
|
164
165
|
}, {
|
|
165
166
|
default: m(() => [
|
|
@@ -232,7 +233,7 @@ const ue = { class: "fm-typo-en-title-md-600" }, me = { class: "py-16 space-y-32
|
|
|
232
233
|
], 64);
|
|
233
234
|
};
|
|
234
235
|
}
|
|
235
|
-
}),
|
|
236
|
+
}), we = ve;
|
|
236
237
|
export {
|
|
237
|
-
|
|
238
|
+
we as V
|
|
238
239
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as S, A, u as K, H as O, D as q, I as R } from "./menu-
|
|
1
|
+
import { B as S, A, u as K, H as O, D as q, I as R } from "./menu-DFNvhoNQ.js";
|
|
2
2
|
import { defineComponent as T, ref as f, computed as B, watch as L, onMounted as z, onBeforeUnmount as H, resolveComponent as F, createBlock as N, openBlock as M, withModifiers as D, withCtx as g, renderSlot as U, createElementBlock as P, Fragment as W, createVNode as c, unref as i, createElementVNode as C, createCommentVNode as j, toDisplayString as Y } from "vue";
|
|
3
3
|
import { useI18n as I } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as Z } from "@feedmepos/ui-library";
|
|
5
|
-
import { _ as G } from "./
|
|
5
|
+
import { _ as G } from "./FormSection.vue_vue_type_script_setup_true_lang-CO4YGYLB.js";
|
|
6
6
|
import { u as J } from "./discardConfirm-BHni0LNu.js";
|
|
7
|
-
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as Q } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-jJyinQZl.js";
|
|
8
8
|
import { c as X } from "./check-C9mY6LiX.js";
|
|
9
|
-
import { f as ee } from "./currency-
|
|
9
|
+
import { f as ee } from "./currency-g45Sh-t6.js";
|
|
10
10
|
import { c as ae } from "./string-DpfFixWH.js";
|
|
11
11
|
const te = /* @__PURE__ */ T({
|
|
12
12
|
__name: "CurrencyInput",
|