@feedmepos/mf-menu 1.0.1-dev.1 → 1.0.1-dev.2
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-CXamBqwS.js → App-CdIN4s5n.js} +5 -4
- package/dist/{BindingTable.vue_vue_type_script_setup_true_lang-DzNuoUmQ.js → BindingTable.vue_vue_type_script_setup_true_lang-CoHlJwpz.js} +1 -1
- package/dist/{Catalog-BHb5ZB6_.js → Catalog-DjAubC9s.js} +4 -4
- package/dist/{CatalogBinding-X-AHRvcJ.js → CatalogBinding-5JNRTbyZ.js} +3 -3
- package/dist/{CatalogEditTabs.vue_vue_type_script_setup_true_lang-NFeJpXLh.js → CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js} +3 -3
- package/dist/{CatalogEditor.vue_vue_type_script_setup_true_lang-CrrkUkfD.js → CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js} +6 -6
- package/dist/{CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-C43Ettr2.js → CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js} +3 -3
- package/dist/{Category-DsTyhvYK.js → Category-BbiN4hd7.js} +5 -5
- package/dist/{Category-MXhBgKnb.js → Category-COug7fz8.js} +2 -2
- package/dist/{CategoryList.vue_vue_type_script_setup_true_lang-BJTKjE25.js → CategoryList.vue_vue_type_script_setup_true_lang-B_9aPMIN.js} +4 -4
- package/dist/{CookingGuide-yBqMRWrs.js → CookingGuide-Dg7kuF6l.js} +4 -4
- package/dist/{Group-CMKmmN3C.js → Group-BRpmTqyT.js} +5 -5
- package/dist/{Group-DINfX6Wn.js → Group-C-hwlkgJ.js} +2 -2
- package/dist/{GroupList.vue_vue_type_script_setup_true_lang-BEBZmPdu.js → GroupList.vue_vue_type_script_setup_true_lang-DowoJ3WM.js} +5 -5
- package/dist/{Ingredient-BNQ2LIqN.js → Ingredient-BQYnARdC.js} +3 -3
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js +707 -0
- package/dist/{MenuSetting-DARGZW4u.js → MenuSetting-DsdM2_OW.js} +546 -513
- package/dist/{OrderPacing-DuGDpSLN.js → OrderPacing-5x2YH-_l.js} +4 -4
- package/dist/{OrderPacingFields.vue_vue_type_script_setup_true_lang-2V1SiXyH.js → OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js} +1 -1
- package/dist/Preview-AdgGTYlQ.js +321 -0
- package/dist/{PriceTierNotice.vue_vue_type_script_setup_true_lang-hbG9eqTr.js → PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js} +1 -1
- package/dist/{PrintRoute-N0gXx2Wx.js → PrintRoute-COkCv4gf.js} +3 -3
- package/dist/{Product-Cp2dYxav.js → Product-BJFb_J4h.js} +4 -4
- package/dist/{ProductEditorHost.vue_vue_type_script_setup_true_lang-imCNnKvi.js → ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js} +2 -2
- package/dist/{ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-BqZ2jz39.js → ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js} +3 -3
- package/dist/{ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-KrQJLxU2.js → ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js} +1 -1
- package/dist/{ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-i0smKuFw.js → ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js} +10 -10
- package/dist/{ProductInternalTools-CJG8TsE4.js → ProductInternalTools-thlSvqbA.js} +2 -2
- package/dist/{ProductInventoryDialog-DmN4sXP_.js → ProductInventoryDialog-C3ruRWU5.js} +1 -1
- package/dist/{ProductInventoryDialog.vue_vue_type_script_setup_true_lang-UOIkIylV.js → ProductInventoryDialog.vue_vue_type_script_setup_true_lang-MpdIixqI.js} +1 -1
- package/dist/{ProductList.vue_vue_type_script_setup_true_lang-C262_Dsq.js → ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js} +8 -8
- package/dist/{ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-wTwunTLr.js → ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js} +1 -1
- package/dist/{Products-BSthFwvC.js → Products-DMrjQFfu.js} +3 -3
- package/dist/{Publish-BcUXfV7Z.js → Publish-f6g0dIao.js} +3 -3
- package/dist/{Recipe-Nhmop5G3.js → Recipe-p-wxadSN.js} +3 -3
- package/dist/{Scheduler-DEMpmXNY.js → Scheduler-CtebRafn.js} +3 -3
- package/dist/{ServingSequence-Dkd70bsy.js → ServingSequence-CEd4ywOQ.js} +2 -2
- package/dist/{Setting-LWEFUdQK.js → Setting-bPKadRu-.js} +6 -6
- package/dist/{Subcategory-YvAbjlgi.js → Subcategory-DBCnIP0b.js} +2 -2
- package/dist/{Takeaway-CoK-aka9.js → Takeaway-GNRHR5kN.js} +2 -2
- package/dist/{Takeaway-DUoXWAQT.js → Takeaway-VBkdW1DM.js} +5 -5
- package/dist/{TakeawayList.vue_vue_type_script_setup_true_lang-D4xu-gHa.js → TakeawayList.vue_vue_type_script_setup_true_lang-DvX3k0Jg.js} +3 -3
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-1iGMM-Xt.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1qaEVUu.js} +6 -6
- package/dist/{Unit-BIoPBeiP.js → Unit-DbGKIprZ.js} +2 -2
- package/dist/{Variant-X4llcQO6.js → Variant-_edSAKif.js} +3 -3
- package/dist/{_id_-gKOWPBVp.js → _id_-BNVtBV3q.js} +3 -3
- package/dist/{app-DUyvBFfY.js → app-BlTv5xag.js} +137 -114
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +360 -0
- package/dist/apps/mf-menu/src/components/preview/MenuPreview.vue.d.ts +13 -0
- package/dist/apps/mf-menu/src/components/preview/simulatorPort.d.ts +23 -0
- package/dist/apps/mf-menu/src/router/shared.d.ts +1 -0
- package/dist/apps/mf-menu/src/utils/ruleValueKey.d.ts +12 -0
- package/dist/apps/mf-menu/src/views/Preview/Preview.vue.d.ts +2 -0
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{menu-compute--bTrGqr1.js → menu-compute-BzchkTYh.js} +36 -36
- package/dist/assets/{validate-menu-mv20U_e_.js → validate-menu-CTV_cJNG.js} +4 -4
- package/dist/{provide-CxmHxIEV.js → provide-dbE6Qt1z.js} +35458 -34831
- package/dist/ruleValueKey-BF52PuHb.js +10 -0
- package/dist/{useActionFeedback-Di6FGqLG.js → useActionFeedback-CdY_C_HX.js} +1 -1
- package/package.json +1 -1
- package/dist/LinkProductSideSheet.vue_vue_type_script_setup_true_lang-B8n517dM.js +0 -671
|
@@ -3,13 +3,13 @@ import { useI18n as ee } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useDialog as we, components as S, FmButtonColorThemeVariant as N } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Pe } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
5
|
import { _ as Ce } from "./ApplyProduct.vue_vue_type_script_setup_true_lang-C9OSr8ft.js";
|
|
6
|
-
import { _ as xe } from "./OrderPacingFields.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as Fe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as xe } from "./OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js";
|
|
7
|
+
import { _ as Fe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
8
8
|
import { _ as Se } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
9
9
|
import { _ as Ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
10
10
|
import { _ as Le } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
11
|
-
import { u as $e } from "./useActionFeedback-
|
|
12
|
-
import { b as De, u as Y, a as Ue } from "./provide-
|
|
11
|
+
import { u as $e } from "./useActionFeedback-CdY_C_HX.js";
|
|
12
|
+
import { b as De, u as Y, a as Ue } from "./provide-dbE6Qt1z.js";
|
|
13
13
|
const ze = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "mt-4"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, resolveComponent as v, openBlock as b, createBlock as y, unref as s, withCtx as F, createVNode as f, renderSlot as I } from "vue";
|
|
2
2
|
import { useI18n as c } from "@feedmepos/mf-common";
|
|
3
3
|
import { _ as g } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
4
|
-
import { b as k } from "./provide-
|
|
4
|
+
import { b as k } from "./provide-dbE6Qt1z.js";
|
|
5
5
|
const T = /* @__PURE__ */ h({
|
|
6
6
|
__name: "OrderPacingFields",
|
|
7
7
|
props: {
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { defineComponent as M, ref as K, computed as o, shallowRef as Q, watch as T, onBeforeUnmount as X, resolveComponent as L, openBlock as s, createBlock as p, unref as t, withCtx as Y, createElementBlock as U, Fragment as Z, createElementVNode as i, createCommentVNode as w, toDisplayString as h, createVNode as D, withDirectives as ee, vShow as te } from "vue";
|
|
2
|
+
import { useI18n as le } from "@feedmepos/mf-common";
|
|
3
|
+
import { _ as I } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
4
|
+
import { _ as ae } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
5
|
+
import { b as ue, u as ne, a as se } from "./provide-dbE6Qt1z.js";
|
|
6
|
+
function oe(g, r) {
|
|
7
|
+
const l = new URL(g);
|
|
8
|
+
return l.searchParams.set("parent", r), { src: l.toString(), origin: l.origin };
|
|
9
|
+
}
|
|
10
|
+
function ie(g, r, l = window) {
|
|
11
|
+
return {
|
|
12
|
+
post(k) {
|
|
13
|
+
var d, v;
|
|
14
|
+
(v = (d = g()) == null ? void 0 : d.contentWindow) == null || v.postMessage(k, r);
|
|
15
|
+
},
|
|
16
|
+
subscribe(k) {
|
|
17
|
+
const d = (v) => {
|
|
18
|
+
var n;
|
|
19
|
+
if (v.origin !== r) return;
|
|
20
|
+
const f = (n = g()) == null ? void 0 : n.contentWindow;
|
|
21
|
+
!f || v.source !== f || k(v.data);
|
|
22
|
+
};
|
|
23
|
+
return l.addEventListener("message", d), () => l.removeEventListener("message", d);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const re = { class: "flex flex-wrap items-end gap-16 pb-24" }, me = {
|
|
28
|
+
key: 4,
|
|
29
|
+
class: "flex flex-col gap-4"
|
|
30
|
+
}, ce = { class: "fm-typo-en-body-sm-600 text-fm-color-typo-secondary" }, de = { class: "flex flex-wrap items-start gap-24" }, ve = { class: "relative flex min-w-0 flex-[999_1_480px] flex-col items-center rounded-lg bg-fm-color-neutral-gray-100 p-16" }, pe = ["src", "title"], _e = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "absolute inset-0 flex flex-col items-center justify-center gap-8",
|
|
33
|
+
"data-testid": "menu-preview-loading"
|
|
34
|
+
}, fe = { class: "text-fm-color-typo-secondary" }, we = {
|
|
35
|
+
key: 2,
|
|
36
|
+
class: "pt-8 text-fm-color-typo-secondary",
|
|
37
|
+
"data-testid": "menu-preview-summary"
|
|
38
|
+
}, ge = ["aria-label"], be = { class: "fm-typo-en-body-lg-600" }, he = { class: "flex list-disc flex-col gap-4 pl-16" }, ke = /* @__PURE__ */ M({
|
|
39
|
+
__name: "MenuPreview",
|
|
40
|
+
props: {
|
|
41
|
+
sdk: {},
|
|
42
|
+
simulatorUrl: {},
|
|
43
|
+
parentOrigin: {}
|
|
44
|
+
},
|
|
45
|
+
setup(g) {
|
|
46
|
+
const r = g, { t: l, locale: k } = le(), d = ue(), v = K(null), f = o(
|
|
47
|
+
() => r.simulatorUrl ? oe(
|
|
48
|
+
r.simulatorUrl,
|
|
49
|
+
r.parentOrigin ?? window.location.origin
|
|
50
|
+
) : null
|
|
51
|
+
), n = f.value ? r.sdk.preview.open({ appLocale: k.value }) : null, x = n ? ne(n.view) : Q({ status: "loading" }), u = o(
|
|
52
|
+
() => x.value.status === "ready" ? x.value.value : null
|
|
53
|
+
);
|
|
54
|
+
let b = null;
|
|
55
|
+
T(
|
|
56
|
+
v,
|
|
57
|
+
(e) => {
|
|
58
|
+
b == null || b(), b = e && f.value && n ? n.attach(
|
|
59
|
+
ie(() => v.value, f.value.origin)
|
|
60
|
+
) : null;
|
|
61
|
+
},
|
|
62
|
+
{ flush: "post" }
|
|
63
|
+
), X(() => {
|
|
64
|
+
b == null || b(), n == null || n.dispose();
|
|
65
|
+
});
|
|
66
|
+
const S = (e) => !!e && e.state !== "hidden", F = (e) => (e == null ? void 0 : e.state) === "disabled", R = o(
|
|
67
|
+
() => {
|
|
68
|
+
var e;
|
|
69
|
+
return (((e = u.value) == null ? void 0 : e.restaurants) ?? []).map((a) => ({
|
|
70
|
+
label: a.label,
|
|
71
|
+
value: a.id
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
), N = {
|
|
75
|
+
default: "menu.menu_preview.usage.default",
|
|
76
|
+
pickup: "menu.menu_preview.usage.pickup",
|
|
77
|
+
takeaway: "menu.menu_preview.usage.takeaway",
|
|
78
|
+
additional: "menu.menu_preview.usage.additional"
|
|
79
|
+
}, $ = o(
|
|
80
|
+
() => {
|
|
81
|
+
var e;
|
|
82
|
+
return (((e = u.value) == null ? void 0 : e.catalogs) ?? []).map((a) => ({
|
|
83
|
+
label: a.name,
|
|
84
|
+
value: a.id,
|
|
85
|
+
...a.usages.length > 0 ? {
|
|
86
|
+
sublabel: a.usages.map((m) => l(N[m])).join(l("menu.common.labels.list_separator"))
|
|
87
|
+
} : {}
|
|
88
|
+
}));
|
|
89
|
+
}
|
|
90
|
+
), j = o(
|
|
91
|
+
() => {
|
|
92
|
+
var e;
|
|
93
|
+
return (((e = u.value) == null ? void 0 : e.schedulers) ?? []).map((a) => ({
|
|
94
|
+
label: a.name,
|
|
95
|
+
value: a.id
|
|
96
|
+
}));
|
|
97
|
+
}
|
|
98
|
+
), G = o(
|
|
99
|
+
() => {
|
|
100
|
+
var e;
|
|
101
|
+
return (((e = u.value) == null ? void 0 : e.locales) ?? []).map((a) => ({
|
|
102
|
+
label: a.name,
|
|
103
|
+
value: a.code
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
), O = {
|
|
107
|
+
phone: "menu.menu_preview.device.phone",
|
|
108
|
+
tablet: "menu.menu_preview.device.tablet",
|
|
109
|
+
kiosk: "menu.menu_preview.device.kiosk"
|
|
110
|
+
}, W = {
|
|
111
|
+
phone: "smartphone",
|
|
112
|
+
tablet: "tablet",
|
|
113
|
+
kiosk: "tv"
|
|
114
|
+
}, V = o(
|
|
115
|
+
() => {
|
|
116
|
+
var e;
|
|
117
|
+
return (((e = u.value) == null ? void 0 : e.devices) ?? []).map((a) => ({
|
|
118
|
+
device: a,
|
|
119
|
+
item: {
|
|
120
|
+
label: l(O[a]),
|
|
121
|
+
icon: W[a]
|
|
122
|
+
}
|
|
123
|
+
}));
|
|
124
|
+
}
|
|
125
|
+
), q = o(
|
|
126
|
+
() => {
|
|
127
|
+
var e;
|
|
128
|
+
return ((e = V.value.find((a) => {
|
|
129
|
+
var m;
|
|
130
|
+
return a.device === ((m = u.value) == null ? void 0 : m.device);
|
|
131
|
+
})) == null ? void 0 : e.item) ?? null;
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
function z(e) {
|
|
135
|
+
const a = V.value.find((m) => m.item === e);
|
|
136
|
+
a && (n == null || n.selectDevice(a.device));
|
|
137
|
+
}
|
|
138
|
+
const y = o(() => {
|
|
139
|
+
var e;
|
|
140
|
+
return ((e = u.value) == null ? void 0 : e.simulator) ?? null;
|
|
141
|
+
}), A = o(
|
|
142
|
+
() => {
|
|
143
|
+
var e, a;
|
|
144
|
+
return ((e = y.value) == null ? void 0 : e.status) === "connecting" || ((a = y.value) == null ? void 0 : a.status) === "building";
|
|
145
|
+
}
|
|
146
|
+
), C = o(
|
|
147
|
+
() => {
|
|
148
|
+
var e;
|
|
149
|
+
return ((e = y.value) == null ? void 0 : e.status) === "failed" ? y.value : null;
|
|
150
|
+
}
|
|
151
|
+
), B = o(() => {
|
|
152
|
+
const e = y.value;
|
|
153
|
+
return (e == null ? void 0 : e.status) !== "ready" ? null : l("menu.menu_preview.status.summary", {
|
|
154
|
+
categories: l(
|
|
155
|
+
"menu.menu_preview.status.categories",
|
|
156
|
+
{ count: e.categoryCount },
|
|
157
|
+
e.categoryCount
|
|
158
|
+
),
|
|
159
|
+
items: l(
|
|
160
|
+
"menu.menu_preview.status.items",
|
|
161
|
+
{ count: e.itemCount },
|
|
162
|
+
e.itemCount
|
|
163
|
+
)
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
function E() {
|
|
167
|
+
n == null || n.retry();
|
|
168
|
+
}
|
|
169
|
+
return (e, a) => {
|
|
170
|
+
const m = L("FmSelect"), H = L("FmButtonGroup"), J = L("FmCircularProgress");
|
|
171
|
+
return s(), p(ae, {
|
|
172
|
+
heading: t(l)("menu.menu_preview.title"),
|
|
173
|
+
subheading: t(l)("menu.menu_preview.subtitle")
|
|
174
|
+
}, {
|
|
175
|
+
default: Y(() => {
|
|
176
|
+
var P;
|
|
177
|
+
return [
|
|
178
|
+
f.value ? t(x).status === "error" ? (s(), p(t(I), {
|
|
179
|
+
key: 1,
|
|
180
|
+
title: t(l)("menu.menu_preview.load_failed.title"),
|
|
181
|
+
subtitle: t(d)(t(x).error.message),
|
|
182
|
+
action: {
|
|
183
|
+
text: t(l)("menu.menu_preview.actions.retry"),
|
|
184
|
+
icon: "refresh",
|
|
185
|
+
callback: E
|
|
186
|
+
}
|
|
187
|
+
}, null, 8, ["title", "subtitle", "action"])) : t(x).status === "unavailable" ? (s(), p(t(I), {
|
|
188
|
+
key: 2,
|
|
189
|
+
title: t(l)("menu.menu_preview.title"),
|
|
190
|
+
subtitle: t(d)(t(x).reason)
|
|
191
|
+
}, null, 8, ["title", "subtitle"])) : (s(), U(Z, { key: 3 }, [
|
|
192
|
+
i("div", re, [
|
|
193
|
+
u.value && S(u.value.restaurantSelector) ? (s(), p(m, {
|
|
194
|
+
key: 0,
|
|
195
|
+
class: "w-[240px]",
|
|
196
|
+
"data-testid": "menu-preview-restaurant",
|
|
197
|
+
label: t(l)("menu.menu_preview.labels.restaurant"),
|
|
198
|
+
items: R.value,
|
|
199
|
+
"model-value": u.value.restaurantId,
|
|
200
|
+
disabled: F(u.value.restaurantSelector),
|
|
201
|
+
searchable: "",
|
|
202
|
+
"onUpdate:modelValue": a[0] || (a[0] = (_) => {
|
|
203
|
+
var c;
|
|
204
|
+
return (c = t(n)) == null ? void 0 : c.selectRestaurant(_);
|
|
205
|
+
})
|
|
206
|
+
}, null, 8, ["label", "items", "model-value", "disabled"])) : w("", !0),
|
|
207
|
+
u.value && S(u.value.catalogSelector) ? (s(), p(m, {
|
|
208
|
+
key: 1,
|
|
209
|
+
class: "w-[260px]",
|
|
210
|
+
"data-testid": "menu-preview-catalog",
|
|
211
|
+
label: t(l)("menu.menu_preview.labels.catalog"),
|
|
212
|
+
placeholder: t(l)("menu.menu_preview.labels.no_catalog"),
|
|
213
|
+
items: $.value,
|
|
214
|
+
"model-value": u.value.catalogId,
|
|
215
|
+
disabled: F(u.value.catalogSelector),
|
|
216
|
+
"onUpdate:modelValue": a[1] || (a[1] = (_) => {
|
|
217
|
+
var c;
|
|
218
|
+
return (c = t(n)) == null ? void 0 : c.selectCatalog(_);
|
|
219
|
+
})
|
|
220
|
+
}, null, 8, ["label", "placeholder", "items", "model-value", "disabled"])) : w("", !0),
|
|
221
|
+
u.value && S(u.value.schedulerSelector) ? (s(), p(m, {
|
|
222
|
+
key: 2,
|
|
223
|
+
class: "w-[200px]",
|
|
224
|
+
"data-testid": "menu-preview-scheduler",
|
|
225
|
+
label: t(l)("menu.menu_preview.labels.scheduler"),
|
|
226
|
+
items: j.value,
|
|
227
|
+
"model-value": u.value.schedulerId,
|
|
228
|
+
disabled: F(u.value.schedulerSelector),
|
|
229
|
+
"onUpdate:modelValue": a[2] || (a[2] = (_) => {
|
|
230
|
+
var c;
|
|
231
|
+
return (c = t(n)) == null ? void 0 : c.selectScheduler(_);
|
|
232
|
+
})
|
|
233
|
+
}, null, 8, ["label", "items", "model-value", "disabled"])) : w("", !0),
|
|
234
|
+
u.value && S(u.value.localeSelector) ? (s(), p(m, {
|
|
235
|
+
key: 3,
|
|
236
|
+
class: "w-[180px]",
|
|
237
|
+
"data-testid": "menu-preview-locale",
|
|
238
|
+
label: t(l)("menu.menu_preview.labels.menu_language"),
|
|
239
|
+
"label-info": t(l)("menu.menu_preview.labels.menu_language_info"),
|
|
240
|
+
items: G.value,
|
|
241
|
+
"model-value": u.value.locale,
|
|
242
|
+
"onUpdate:modelValue": a[3] || (a[3] = (_) => {
|
|
243
|
+
var c;
|
|
244
|
+
return (c = t(n)) == null ? void 0 : c.selectLocale(_);
|
|
245
|
+
})
|
|
246
|
+
}, null, 8, ["label", "label-info", "items", "model-value"])) : w("", !0),
|
|
247
|
+
u.value ? (s(), U("div", me, [
|
|
248
|
+
i("span", ce, h(t(l)("menu.menu_preview.labels.device")), 1),
|
|
249
|
+
D(H, {
|
|
250
|
+
"data-testid": "menu-preview-device",
|
|
251
|
+
items: V.value.map((_) => _.item),
|
|
252
|
+
"model-value": q.value,
|
|
253
|
+
"onUpdate:modelValue": z
|
|
254
|
+
}, null, 8, ["items", "model-value"])
|
|
255
|
+
])) : w("", !0)
|
|
256
|
+
]),
|
|
257
|
+
i("div", de, [
|
|
258
|
+
i("div", ve, [
|
|
259
|
+
ee(i("iframe", {
|
|
260
|
+
ref_key: "frameElement",
|
|
261
|
+
ref: v,
|
|
262
|
+
class: "h-[880px] w-full border-0",
|
|
263
|
+
"data-testid": "menu-preview-frame",
|
|
264
|
+
src: f.value.src,
|
|
265
|
+
title: t(l)("menu.menu_preview.frame_title")
|
|
266
|
+
}, null, 8, pe), [
|
|
267
|
+
[te, !C.value]
|
|
268
|
+
]),
|
|
269
|
+
A.value ? (s(), U("div", _e, [
|
|
270
|
+
D(J),
|
|
271
|
+
i("span", fe, h(((P = y.value) == null ? void 0 : P.status) === "connecting" ? t(l)("menu.menu_preview.status.connecting") : t(l)("menu.menu_preview.status.building")), 1)
|
|
272
|
+
])) : w("", !0),
|
|
273
|
+
C.value ? (s(), p(t(I), {
|
|
274
|
+
key: 1,
|
|
275
|
+
"data-testid": "menu-preview-failed",
|
|
276
|
+
title: t(l)("menu.menu_preview.failed.title"),
|
|
277
|
+
subtitle: t(d)(C.value.reason),
|
|
278
|
+
action: C.value.retryable ? {
|
|
279
|
+
text: t(l)("menu.menu_preview.actions.retry"),
|
|
280
|
+
icon: "refresh",
|
|
281
|
+
callback: E
|
|
282
|
+
} : void 0
|
|
283
|
+
}, null, 8, ["title", "subtitle", "action"])) : w("", !0),
|
|
284
|
+
B.value ? (s(), U("p", we, h(B.value), 1)) : w("", !0)
|
|
285
|
+
]),
|
|
286
|
+
i("section", {
|
|
287
|
+
class: "flex flex-[1_1_280px] flex-col gap-8 rounded-lg border border-fm-color-neutral-gray-200 p-16",
|
|
288
|
+
"aria-label": t(l)("menu.menu_preview.limits.title")
|
|
289
|
+
}, [
|
|
290
|
+
i("h2", be, h(t(l)("menu.menu_preview.limits.title")), 1),
|
|
291
|
+
i("ul", he, [
|
|
292
|
+
i("li", null, h(t(l)("menu.menu_preview.limits.stock")), 1),
|
|
293
|
+
i("li", null, h(t(l)("menu.menu_preview.limits.pricing")), 1),
|
|
294
|
+
i("li", null, h(t(l)("menu.menu_preview.limits.checkout")), 1)
|
|
295
|
+
])
|
|
296
|
+
], 8, ge)
|
|
297
|
+
])
|
|
298
|
+
], 64)) : (s(), p(t(I), {
|
|
299
|
+
key: 0,
|
|
300
|
+
title: t(l)("menu.menu_preview.not_configured.title"),
|
|
301
|
+
subtitle: t(l)("menu.menu_preview.not_configured.subtitle")
|
|
302
|
+
}, null, 8, ["title", "subtitle"]))
|
|
303
|
+
];
|
|
304
|
+
}),
|
|
305
|
+
_: 1
|
|
306
|
+
}, 8, ["heading", "subheading"]);
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
}), Ie = /* @__PURE__ */ M({
|
|
310
|
+
__name: "Preview",
|
|
311
|
+
setup(g) {
|
|
312
|
+
const r = se(), l = "https://menu-simulator-dev.feedme-dev.workers.dev";
|
|
313
|
+
return (k, d) => (s(), p(ke, {
|
|
314
|
+
sdk: t(r),
|
|
315
|
+
"simulator-url": t(l)
|
|
316
|
+
}, null, 8, ["sdk", "simulator-url"]));
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
export {
|
|
320
|
+
Ie as default
|
|
321
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, computed as c, resolveComponent as m, openBlock as l, createBlock as u, unref as p, createCommentVNode as i } from "vue";
|
|
2
2
|
import { useI18n as d } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as _ } from "./provide-
|
|
3
|
+
import { u as _ } from "./provide-dbE6Qt1z.js";
|
|
4
4
|
const b = /* @__PURE__ */ a({
|
|
5
5
|
__name: "PriceTierNotice",
|
|
6
6
|
props: {
|
|
@@ -2,11 +2,11 @@ import { defineComponent as A, resolveComponent as p, openBlock as d, createElem
|
|
|
2
2
|
import { useI18n as fe } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as ge, components as z } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
|
-
import { _ as ye } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as ye } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
6
6
|
import { _ as q } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
7
7
|
import { _ as ke } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
8
|
-
import { u as be } from "./useActionFeedback-
|
|
9
|
-
import { b as he, u as H, a as we } from "./provide-
|
|
8
|
+
import { u as be } from "./useActionFeedback-CdY_C_HX.js";
|
|
9
|
+
import { b as he, u as H, a as we } from "./provide-dbE6Qt1z.js";
|
|
10
10
|
const Ce = { class: "fm-typo-en-body-lg-600" }, xe = { class: "fm-typo-en-body-lg-600" }, Fe = { class: "fm-typo-en-body-md-400" }, Se = /* @__PURE__ */ A({
|
|
11
11
|
__name: "RemoveRouteConfirmation",
|
|
12
12
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, resolveComponent as i, openBlock as c, createBlock as s, unref as t, withCtx as e, createVNode as o } from "vue";
|
|
2
2
|
import { RouterLink as p } from "vue-router";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as l } from "./ProductList.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as u } from "./provide-
|
|
6
|
-
import { R as d } from "./app-
|
|
7
|
-
import { _ as f } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as l } from "./ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js";
|
|
5
|
+
import { a as u } from "./provide-dbE6Qt1z.js";
|
|
6
|
+
import { R as d } from "./app-BlTv5xag.js";
|
|
7
|
+
import { _ as f } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
|
|
8
8
|
const A = /* @__PURE__ */ m({
|
|
9
9
|
__name: "Product",
|
|
10
10
|
setup(k) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as C, ref as _, openBlock as r, createElementBlock as E, Fragment as g, createVNode as d, unref as t, withCtx as p, createBlock as f, createCommentVNode as v, createElementVNode as $ } from "vue";
|
|
2
2
|
import { useI18n as B } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as I, SnackbarPosition as N } from "@feedmepos/ui-library";
|
|
4
|
-
import { _ as O } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as S, b as P, a as T, I as V } from "./ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as O } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
|
|
5
|
+
import { _ as S, b as P, a as T, I as V } from "./ProductInlineCreateHost.vue_vue_type_script_setup_true_lang-Dl4Zr5tx.js";
|
|
6
6
|
const A = { class: "hidden xs:block sm:block" }, h = /* @__PURE__ */ C({
|
|
7
7
|
__name: "ProductEditorHost",
|
|
8
8
|
props: {
|
|
@@ -3,14 +3,14 @@ import { useI18n as J, CustomAttributesForm as de } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useDialog as _e, components as E } from "@feedmepos/ui-library";
|
|
4
4
|
import { RemyButton as pe } from "@feedmepos/mf-remy-panel";
|
|
5
5
|
import { _ as Le } from "./AddPriceGroupDialog.vue_vue_type_script_setup_true_lang-DhKyG3gY.js";
|
|
6
|
-
import { b as fe, u as le } from "./provide-
|
|
6
|
+
import { b as fe, u as le } from "./provide-dbE6Qt1z.js";
|
|
7
7
|
import { _ as Ue } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
8
8
|
import { _ as Y, b as Ae } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
|
|
9
9
|
import { a as Ne, _ as ee } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
10
10
|
import { _ as oe } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
11
11
|
import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
import { a as Ie, A as Be, _ as De } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { u as Ee } from "./useActionFeedback-
|
|
12
|
+
import { a as Ie, A as Be, _ as De } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
13
|
+
import { u as Ee } from "./useActionFeedback-CdY_C_HX.js";
|
|
14
14
|
const ye = /* @__PURE__ */ q({
|
|
15
15
|
__name: "LocalizedCurrencySymbol",
|
|
16
16
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Ft, resolveComponent as U, openBlock as b, createBlock as R, Teleport as Ye, createVNode as z, Transition as Xe, withCtx as I, withKeys as Kt, normalizeClass as Ut, createElementVNode as S, toDisplayString as O, renderSlot as J, createElementBlock as F, Fragment as pt, renderList as xt, createCommentVNode as V, resolveDynamicComponent as Mt, withDirectives as ce, vShow as ue, mergeProps as de, withModifiers as Ve, ref as L, watch as Ne, computed as st, normalizeStyle as Jt, onBeforeUnmount as qe, unref as A } from "vue";
|
|
2
2
|
import { useI18n as Ze } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as B } from "@feedmepos/ui-library";
|
|
4
|
-
import { b as Ge, A as Qe } from "./provide-
|
|
4
|
+
import { b as Ge, A as Qe } from "./provide-dbE6Qt1z.js";
|
|
5
5
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Je = {
|
|
7
7
|
class: /* @__PURE__ */ Ut([
|
|
@@ -4,20 +4,20 @@ import { useI18n as ve, CustomAttributesForm as ql } from "@feedmepos/mf-common"
|
|
|
4
4
|
import { useAppStore as Pl, RemyButton as wl } from "@feedmepos/mf-remy-panel";
|
|
5
5
|
import { InventoryBindingSummary as Ml } from "@feedmepos/mf-inventory-portal";
|
|
6
6
|
import { components as L, useDialog as Ge, useSnackbar as Gl, FmButtonVariant as De, FmButtonColorThemeVariant as kl } from "@feedmepos/ui-library";
|
|
7
|
-
import { e as jl } from "./app-
|
|
7
|
+
import { e as jl } from "./app-BlTv5xag.js";
|
|
8
8
|
import { _ as Ie } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
9
9
|
import { d as Kl, _ as ze, a as Ql } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
10
|
-
import { b as Ve, u as Ae, A as Xl } from "./provide-
|
|
11
|
-
import { u as Ce } from "./useActionFeedback-
|
|
12
|
-
import { a as il, b as xl, t as Cl, r as Hl, d as Wl, c as Yl } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Me, a as el, F as Zl, b as Ul, c as Jl, d as ea } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { a as Il, A as Fl, _ as la } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as Tl } from "./ProductInventoryDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as aa } from "./PriceTierNotice.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { b as Ve, u as Ae, A as Xl } from "./provide-dbE6Qt1z.js";
|
|
11
|
+
import { u as Ce } from "./useActionFeedback-CdY_C_HX.js";
|
|
12
|
+
import { a as il, b as xl, t as Cl, r as Hl, d as Wl, c as Yl } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
|
|
13
|
+
import { _ as Me, a as el, F as Zl, b as Ul, c as Jl, d as ea } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js";
|
|
14
|
+
import { a as Il, A as Fl, _ as la } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
15
|
+
import { _ as Tl } from "./ProductInventoryDialog.vue_vue_type_script_setup_true_lang-MpdIixqI.js";
|
|
16
|
+
import { _ as aa } from "./PriceTierNotice.vue_vue_type_script_setup_true_lang-vmxVZ2ya.js";
|
|
17
17
|
import { _ as ta } from "./AddPriceGroupDialog.vue_vue_type_script_setup_true_lang-DhKyG3gY.js";
|
|
18
18
|
import { _ as al } from "./TranslationSideSheet.vue_vue_type_script_setup_true_lang-B0j2PNih.js";
|
|
19
|
-
import { _ as oa } from "./OrderPacingFields.vue_vue_type_script_setup_true_lang-
|
|
20
|
-
import { _ as na } from "./ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { _ as oa } from "./OrderPacingFields.vue_vue_type_script_setup_true_lang-DVGJjpiM.js";
|
|
20
|
+
import { _ as na } from "./ProductVariantTranslationSheet.vue_vue_type_script_setup_true_lang-Ctbz-8cd.js";
|
|
21
21
|
const sl = /* @__PURE__ */ de({
|
|
22
22
|
__name: "FlatInlineSort",
|
|
23
23
|
props: {
|
|
@@ -2,8 +2,8 @@ import { defineComponent as ce, ref as ee, computed as D, openBlock as F, create
|
|
|
2
2
|
import { useI18n as ge } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as bt, components as $, SnackbarPosition as Ne } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Wt } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
5
|
-
import { B as wt, b as Ae, a as lt, u as Ze } from "./provide-
|
|
6
|
-
import { r as Xt, c as Jt, _ as kt, a as Yt } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { B as wt, b as Ae, a as lt, u as Ze } from "./provide-dbE6Qt1z.js";
|
|
6
|
+
import { r as Xt, c as Jt, _ as kt, a as Yt } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
|
|
7
7
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
var ft = {}, Qt = (function(a, e, o, n, t) {
|
|
9
9
|
var s = new Worker(ft[e] || (ft[e] = URL.createObjectURL(new Blob([
|
|
@@ -2,7 +2,7 @@ import { defineComponent as q, computed as u, ref as F, toRaw as S, resolveCompo
|
|
|
2
2
|
import { useI18n as A } from "@feedmepos/mf-common";
|
|
3
3
|
import { useInventoryStore as K, InventoryBindingForm as G } from "@feedmepos/mf-inventory-portal";
|
|
4
4
|
import { useDialog as Q, components as T, FmButtonVariant as $ } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as j } from "./provide-
|
|
5
|
+
import { u as j } from "./provide-dbE6Qt1z.js";
|
|
6
6
|
import { _ as M } from "./BindingLinkDialog.vue_vue_type_script_setup_true_lang-BZVQRyRI.js";
|
|
7
7
|
import { _ as H } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
|
|
8
8
|
const J = { class: "fm-typo-en-title-md-600 mr-auto" }, W = { class: "space-y-40" }, X = { class: "flex gap-8 items-center justify-start" }, ae = /* @__PURE__ */ q({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as dt, useModel as $y, ref as ve, onMounted as Ay, openBlock as C, createElementBlock as z, Fragment as be, unref as I, createBlock as Y, createCommentVNode as ue, mergeModels as zs, computed as ee, watch as wt, resolveComponent as q, createElementVNode as T, renderList as Je, withCtx as se, createVNode as j, toDisplayString as Se, renderSlot as so, mergeProps as Fy, normalizeClass as Pr, shallowRef as $n, h as Ce, withModifiers as vr, withKeys as Bs, onUnmounted as Iy, createTextVNode as Vy, nextTick as Oy } from "vue";
|
|
2
2
|
import { _ as Ks } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
|
|
3
3
|
import { useI18n as Br, useCoreStore as jy } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as Ws, R as Ty, A as qs, h as Ol } from "./app-
|
|
4
|
+
import { _ as Ws, R as Ty, A as qs, h as Ol } from "./app-BlTv5xag.js";
|
|
5
5
|
import { _ as jl } from "./ProductChipSummary.vue_vue_type_script_setup_true_lang-D8DygCBl.js";
|
|
6
6
|
import { useBreakpoints as tc, useDialog as nc, useDialogChild as Ey, components as mt, FmButtonColorThemeVariant as Sn, FmButtonVariant as Gn } from "@feedmepos/ui-library";
|
|
7
7
|
import { _ as Ny } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
8
|
-
import { _ as Dl } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Dl } from "./ProductImageEditorDialog.vue_vue_type_script_setup_true_lang-BMAtAK9D.js";
|
|
9
9
|
import { _ as Ry } from "./TranslationViewChip.vue_vue_type_script_setup_true_lang-CAkLEmSA.js";
|
|
10
10
|
import { _ as Zy } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
11
|
-
import { b as rc, u as pa, d as Py } from "./provide-
|
|
12
|
-
import { _ as My } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as Uy } from "./ProductEditorHost.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { a as Gs, _ as Ly } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { b as rc, u as pa, d as Py } from "./provide-dbE6Qt1z.js";
|
|
12
|
+
import { _ as My } from "./ProductGroupCreateSheet.vue_vue_type_script_setup_true_lang-C25Pwqme.js";
|
|
13
|
+
import { _ as Uy } from "./ProductEditorHost.vue_vue_type_script_setup_true_lang-Tpp8MBYS.js";
|
|
14
|
+
import { a as Gs, _ as Ly } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1qaEVUu.js";
|
|
15
15
|
import { _ as Js } from "./ProductFilterMenu.vue_vue_type_script_setup_true_lang-Cgc0Ms_n.js";
|
|
16
|
-
import { O as ha, a as Dy, _ as zy } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as ac } from "./useActionFeedback-
|
|
16
|
+
import { O as ha, a as Dy, _ as zy } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
17
|
+
import { u as ac } from "./useActionFeedback-CdY_C_HX.js";
|
|
18
18
|
import { _ as By } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
19
19
|
import { _ as Ky } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
20
20
|
import { useRouter as Wy } from "vue-router";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as D, computed as P, ref as U, resolveComponent as k, o
|
|
|
2
2
|
import { a as j, _ as x, b as z } from "./TranslationLanguageSelector.vue_vue_type_script_setup_true_lang-BJZ6VcrT.js";
|
|
3
3
|
import { useI18n as M } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as T } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as q } from "./provide-
|
|
5
|
+
import { u as q } from "./provide-dbE6Qt1z.js";
|
|
6
6
|
const G = { class: "fm-typo-en-title-md-600" }, H = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-8 space-y-24"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as w, ref as V, computed as C, resolveComponent as A, openBlock as _, createBlock as y, unref as t, withCtx as f, createElementVNode as p, toDisplayString as M, createVNode as l, createElementBlock as B, Fragment as $, createCommentVNode as x } from "vue";
|
|
2
|
-
import { _ as L } from "./ProductList.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as L } from "./ProductList.vue_vue_type_script_setup_true_lang-9_ohgfqE.js";
|
|
3
3
|
import { useI18n as S } from "@feedmepos/mf-common";
|
|
4
4
|
import { components as m } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as U } from "./useActionFeedback-
|
|
6
|
-
import { b as j, u as D, a as z } from "./provide-
|
|
5
|
+
import { u as U } from "./useActionFeedback-CdY_C_HX.js";
|
|
6
|
+
import { b as j, u as D, a as z } from "./provide-dbE6Qt1z.js";
|
|
7
7
|
const H = { class: "flex justify-end gap-8" }, O = /* @__PURE__ */ w({
|
|
8
8
|
__name: "V3ToV4MigrationConfirmDialog",
|
|
9
9
|
props: {
|
|
@@ -3,10 +3,10 @@ import { useRouter as bt } from "vue-router";
|
|
|
3
3
|
import { useI18n as Ce } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as vt, components as se } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as De } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
6
|
-
import { _ as gt } from "./app-
|
|
6
|
+
import { _ as gt } from "./app-BlTv5xag.js";
|
|
7
7
|
import { _ as _t } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
8
|
-
import { b as Fe, u as me, a as ft } from "./provide-
|
|
9
|
-
import { u as yt } from "./useActionFeedback-
|
|
8
|
+
import { b as Fe, u as me, a as ft } from "./provide-dbE6Qt1z.js";
|
|
9
|
+
import { u as yt } from "./useActionFeedback-CdY_C_HX.js";
|
|
10
10
|
const kt = ["aria-valuenow"], wt = /* @__PURE__ */ ae({
|
|
11
11
|
__name: "ProgressBar",
|
|
12
12
|
props: {
|
|
@@ -3,11 +3,11 @@ import { useI18n as ke } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useDialog as _e, components as G, FmButtonVariant as we } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
5
|
import { _ as xe } from "./BindingLinkDialog.vue_vue_type_script_setup_true_lang-BZVQRyRI.js";
|
|
6
|
-
import { _ as H } from "./BindingTable.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as H } from "./BindingTable.vue_vue_type_script_setup_true_lang-CoHlJwpz.js";
|
|
7
7
|
import { _ as Ce } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
8
8
|
import { _ as Fe } from "./ListCountTag.vue_vue_type_script_setup_true_lang-0bjk8Aly.js";
|
|
9
|
-
import { u as Be } from "./useActionFeedback-
|
|
10
|
-
import { b as Se, u as Ve, a as Ae } from "./provide-
|
|
9
|
+
import { u as Be } from "./useActionFeedback-CdY_C_HX.js";
|
|
10
|
+
import { b as Se, u as Ve, a as Ae } from "./provide-dbE6Qt1z.js";
|
|
11
11
|
const Ue = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex-1 flex justify-between gap-8 pl-8"
|
|
@@ -2,11 +2,11 @@ import { defineComponent as le, computed as T, ref as X, shallowRef as Y, h as R
|
|
|
2
2
|
import { useI18n as Ve, formatTimeOfDay as Z } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as Le, components as ee, FmButtonVariant as Se } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ue } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
|
-
import { _ as Pe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as Pe } from "./LinkProductSideSheet.vue_vue_type_script_setup_true_lang-CgTDkHle.js";
|
|
6
6
|
import { _ as $ } from "./FormSection.vue_vue_type_script_setup_true_lang-pY-_msnM.js";
|
|
7
7
|
import { _ as Te } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
8
|
-
import { u as Ie } from "./useActionFeedback-
|
|
9
|
-
import { b as $e, u as Me, a as De } from "./provide-
|
|
8
|
+
import { u as Ie } from "./useActionFeedback-CdY_C_HX.js";
|
|
9
|
+
import { b as $e, u as Me, a as De } from "./provide-dbE6Qt1z.js";
|
|
10
10
|
const Ae = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "flex flex-1 justify-end"
|
|
@@ -3,8 +3,8 @@ import { useI18n as ie, ItemSelector as re } from "@feedmepos/mf-common";
|
|
|
3
3
|
import { useDialog as ce, components as K, FmButtonVariant as de } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-CGPDazqs.js";
|
|
5
5
|
import { _ as ve } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
6
|
-
import { u as pe } from "./useActionFeedback-
|
|
7
|
-
import { b as ge, u as U, a as _e } from "./provide-
|
|
6
|
+
import { u as pe } from "./useActionFeedback-CdY_C_HX.js";
|
|
7
|
+
import { b as ge, u as U, a as _e } from "./provide-dbE6Qt1z.js";
|
|
8
8
|
const fe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex-1 flex justify-end gap-8 pl-8"
|
|
@@ -2,13 +2,13 @@ import { defineComponent as y, computed as N, onUnmounted as R, resolveComponent
|
|
|
2
2
|
import { RouterLink as I, useRouter as T, useRoute as W } from "vue-router";
|
|
3
3
|
import { useI18n as E } from "@feedmepos/mf-common";
|
|
4
4
|
import { _ as S } from "./FormItem.vue_vue_type_script_setup_true_lang-C2S6QCyR.js";
|
|
5
|
-
import { _ as O } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as O } from "./CatalogLinkProductAction.vue_vue_type_script_setup_true_lang-3fL43MuR.js";
|
|
6
6
|
import { _ as j } from "./PageLayout.vue_vue_type_script_setup_true_lang-B3szUH39.js";
|
|
7
|
-
import { u as D } from "./useActionFeedback-
|
|
8
|
-
import { R as V } from "./app-
|
|
9
|
-
import { a as $, u as P } from "./provide-
|
|
10
|
-
import { _ as q } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as z } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as D } from "./useActionFeedback-CdY_C_HX.js";
|
|
8
|
+
import { R as V } from "./app-BlTv5xag.js";
|
|
9
|
+
import { a as $, u as P } from "./provide-dbE6Qt1z.js";
|
|
10
|
+
import { _ as q } from "./CatalogEditTabs.vue_vue_type_script_setup_true_lang-BorOjk1k.js";
|
|
11
|
+
import { _ as z } from "./CatalogEditor.vue_vue_type_script_setup_true_lang-CkF7O_V-.js";
|
|
12
12
|
const H = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "max-w-[752px] pt-16 space-y-32"
|