@feedmepos/mf-order-setting 0.0.85 → 0.0.86
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/{DisplaySystemView-hmlT9gsb.js → DisplaySystemView-DjFBEWoq.js} +1 -1
- package/dist/{KioskDevicesView-fW6M9Hao.js → KioskDevicesView-RKMdLuB3.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js} +3 -3
- package/dist/{KioskSettingView-BdEPftHH.js → KioskSettingView-CzelEig6.js} +3 -3
- package/dist/{KioskView-Bwk9S0tc.js → KioskView-Bi5Kc4cS.js} +35 -30
- package/dist/OrderSettingsView-BfxrjGAi.js +68958 -0
- package/dist/{app-BnrruYco.js → app-Bg-n-Eug.js} +8316 -7952
- package/dist/app.js +1 -1
- package/dist/common/index.d.ts +6 -7
- package/dist/frontend/mf-order/src/app.d.ts +24 -8
- package/dist/frontend/mf-order/src/main.d.ts +24 -8
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +18 -99
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +12 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +12 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +3 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-LyvBqKnv.js → index-0eYg6XEb.js} +1 -1
- package/dist/{index-D5wABuUx.js → index-C7Ug4fCi.js} +1 -1
- package/dist/{index-D7IWjZdy.js → index-g_rocKrp.js} +2 -2
- package/dist/order.dto-MKeJAj6d.js +39215 -0
- package/dist/package/entity/alert/investigation.dto.d.ts +3 -0
- package/dist/package/entity/alert/suggestion.dto.d.ts +3 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +1 -11
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +89 -51
- package/dist/package/entity/index.d.ts +0 -7
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +26 -0
- package/dist/package/entity/member/member.dto.d.ts +12 -12
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +9 -159
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +3 -17
- package/dist/package/entity/order/effects/effect.dto.d.ts +32 -0
- package/dist/package/entity/order/menu/menu.dto.d.ts +6 -144
- package/dist/package/entity/order/order.do.d.ts +109 -269
- package/dist/package/entity/order/order.dto.d.ts +408 -782
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order/timeslot/timeslot.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +1 -11
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +278 -234
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +65 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +1004 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -337
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +879 -678
- package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +0 -41
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +0 -43
- package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
- package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.do.d.ts +2 -2
- package/dist/package/entity/queue/queue.dto.d.ts +49 -65
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +11 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +33 -161
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/locales/en-US.json +6 -2
- package/src/locales/ja-JP.json +6 -2
- package/src/locales/th-TH.json +6 -2
- package/src/locales/zh-CN.json +6 -2
- package/src/modules/order-setting/kiosk/interface.ts +12 -0
- package/src/stores/order-setting/mapper.spec.ts +36 -0
- package/src/stores/order-setting/mapper.ts +5 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +5 -5
- package/src/views/order-settings/delivery/delivery.spec.ts +34 -0
- package/src/views/order-settings/delivery/delivery.ts +14 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +10 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +121 -22
- package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +161 -10
- package/dist/OrderSettingsView-DVXfVdXj.js +0 -94831
- package/dist/common/booking/index.d.ts +0 -38
- package/dist/order.dto-D7HGiueX.js +0 -43514
- package/dist/package/entity/booking/booking.do.d.ts +0 -17197
- package/dist/package/entity/booking/booking.dto.d.ts +0 -305
- package/dist/package/entity/booking/booking.enum.d.ts +0 -7
- package/dist/package/entity/order/dine-in/reservation.do.d.ts +0 -75
- package/dist/package/entity/order/dine-in/reservation.dto.d.ts +0 -15
- package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +0 -662
- package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +0 -527
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as W, defineComponent as be, computed as L, watch as Ee, resolveComponent as Z, openBlock as g, createBlock as ae, Teleport as Va, createElementBlock as b, withModifiers as Fe, createElementVNode as f, toDisplayString as P, unref as p, createCommentVNode as G, createVNode as D, withCtx as Ne, normalizeStyle as Y, normalizeClass as oe, Fragment as ee, createTextVNode as xe, onScopeDispose as Hn, renderList as ce, resolveDirective as qa, withDirectives as kt, useModel as Kn, mergeModels as Zn, withKeys as Jn, vModelText as Xn, onMounted as Wa, onBeforeUnmount as Qn } from "vue";
|
|
2
2
|
import { useI18n as we, useCoreStore as Kt } from "@feedmepos/mf-common";
|
|
3
3
|
import { u as Yn } from "./snackbar-DZQ0_reQ.js";
|
|
4
|
-
import { D as Ga, g as je, b as eo,
|
|
4
|
+
import { D as Ga, g as je, b as eo, z as to, A as va } from "./order.dto-MKeJAj6d.js";
|
|
5
5
|
import { defineStore as ao } from "pinia";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as C, defineComponent as Q, resolveComponent as x, openBlock as l, createElementBlock as m, createElementVNode as a, toDisplayString as d, unref as s, createVNode as v, computed as _, createBlock as M, withCtx as K, createCommentVNode as D, Fragment as q, renderList as G, watch as he, normalizeClass as $e, createTextVNode as te, renderSlot as Me } from "vue";
|
|
2
2
|
import { useI18n as ne, useCoreStore as Ve } from "@feedmepos/mf-common";
|
|
3
3
|
import { defineStore as ge } from "pinia";
|
|
4
|
-
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-
|
|
4
|
+
import { r as J, g as ue, b as Be, p as Re } from "./order.dto-MKeJAj6d.js";
|
|
5
5
|
import { useDialog as Oe, useSnackbar as Le } from "@feedmepos/ui-library";
|
|
6
|
-
import { d as ce, s as be } from "./index-
|
|
7
|
-
import { c as Ne, g as Ke, a as xe } from "./app-
|
|
6
|
+
import { d as ce, s as be } from "./index-C7Ug4fCi.js";
|
|
7
|
+
import { c as Ne, g as Ke, a as xe } from "./app-Bg-n-Eug.js";
|
|
8
8
|
async function Ue() {
|
|
9
9
|
const t = await J().get("/kiosk/otp");
|
|
10
10
|
return ue(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ye, computed as x, ref as Y, onMounted as Ae, resolveComponent as V, openBlock as w, createBlock as oe, withCtx as R, createVNode as i, unref as a, createElementVNode as d, withDirectives as F, vShow as N, toDisplayString as b, watch as Re, createElementBlock as E, createCommentVNode as z, Fragment as te, renderList as ne, normalizeClass as Ee } from "vue";
|
|
2
|
-
import { e as ue, b as ve, s as fe, d as Ue, r as me, f as pe, h as Fe } from "./app-
|
|
3
|
-
import { c as v, K as Ne, d as Oe } from "./order.dto-
|
|
4
|
-
import { _ as Le, u as Me, a as De } from "./index-
|
|
2
|
+
import { e as ue, b as ve, s as fe, d as Ue, r as me, f as pe, h as Fe } from "./app-Bg-n-Eug.js";
|
|
3
|
+
import { c as v, K as Ne, d as Oe } from "./order.dto-MKeJAj6d.js";
|
|
4
|
+
import { _ as Le, u as Me, a as De } from "./index-g_rocKrp.js";
|
|
5
5
|
import { useI18n as be, FeedMeAuth as ge, useCoreStore as $e } from "@feedmepos/mf-common";
|
|
6
6
|
import { useSnackbar as We } from "@feedmepos/ui-library";
|
|
7
7
|
const Ye = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary ml-7" }, Ke = { class: "ml-7" }, je = { class: "ml-7" }, qe = { class: "flex flex-row gap-9" }, Be = /* @__PURE__ */ ye({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as G, openBlock as h, createElementBlock as Q, createElementVNode as y, toDisplayString as A, unref as m, ref as v, defineAsyncComponent as ue, computed as T, onMounted as ce, watch as re, resolveComponent as w, createVNode as U, withCtx as oe, createBlock as K, createCommentVNode as E } from "vue";
|
|
2
|
-
import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as se, a as pe, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js";
|
|
3
3
|
import { useDialog as me, useSnackbar as ie } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as z, useCoreStore as ye } from "@feedmepos/mf-common";
|
|
5
|
-
import { F as fe, a as ve, S as N } from "./order.dto-
|
|
5
|
+
import { F as fe, a as ve, S as N } from "./order.dto-MKeJAj6d.js";
|
|
6
6
|
import { defineStore as be } from "pinia";
|
|
7
|
-
import { O as
|
|
8
|
-
import { u as _e } from "./app-
|
|
7
|
+
import { O as j } from "./index-0eYg6XEb.js";
|
|
8
|
+
import { u as _e } from "./app-Bg-n-Eug.js";
|
|
9
9
|
const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body-md-400 block" }, Pe = { class: "fm-typo-en-title-md-600" }, we = /* @__PURE__ */ G({
|
|
10
10
|
__name: "KioskOtpDialog",
|
|
11
11
|
props: {
|
|
@@ -78,16 +78,17 @@ const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body
|
|
|
78
78
|
autoSendKitchen: null,
|
|
79
79
|
autoCloseBill: null,
|
|
80
80
|
printReceiptAfterClose: null,
|
|
81
|
+
allowReject: null,
|
|
81
82
|
languages: null
|
|
82
83
|
}, F = {
|
|
83
84
|
payAtCounter: null,
|
|
84
85
|
paid: null
|
|
85
|
-
},
|
|
86
|
+
}, Re = (e) => {
|
|
86
87
|
var a;
|
|
87
88
|
return {
|
|
88
|
-
kiosk:
|
|
89
|
+
kiosk: xe(e.kioskSettings, (a = e.sequenceSettings) == null ? void 0 : a.kioskDineIn)
|
|
89
90
|
};
|
|
90
|
-
},
|
|
91
|
+
}, xe = (e, a) => {
|
|
91
92
|
var n, c, t, l, r, o, p, d, i, C, b, f;
|
|
92
93
|
return {
|
|
93
94
|
dineIn: Le(
|
|
@@ -136,6 +137,9 @@ const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body
|
|
|
136
137
|
autoSendKitchen: (e == null ? void 0 : e.autoSendKitchen) ?? null,
|
|
137
138
|
autoCloseBill: (e == null ? void 0 : e.autoCloseBill) ?? null,
|
|
138
139
|
printReceiptAfterClose: (e == null ? void 0 : e.printReceiptAfterClose) ?? null,
|
|
140
|
+
// Read back purely so the write side can hand it straight back. Nothing in
|
|
141
|
+
// the form touches it; dropping it here deletes it on the next save.
|
|
142
|
+
allowReject: (e == null ? void 0 : e.allowReject) ?? null,
|
|
139
143
|
// Stored [] means the same thing as unset ("all languages"), so collapse it
|
|
140
144
|
// to null here — the form only ever has to reason about null vs a real set.
|
|
141
145
|
languages: (f = e == null ? void 0 : e.languages) != null && f.length ? [...e.languages] : null
|
|
@@ -209,6 +213,7 @@ const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body
|
|
|
209
213
|
autoSendKitchen: e.autoSendKitchen ?? void 0,
|
|
210
214
|
autoCloseBill: e.autoCloseBill ?? void 0,
|
|
211
215
|
printReceiptAfterClose: e.printReceiptAfterClose ?? void 0,
|
|
216
|
+
allowReject: e.allowReject ?? void 0,
|
|
212
217
|
// Omit rather than send [] when the merchant restricts nothing, so the
|
|
213
218
|
// saved document stays free of a field that means "all languages" anyway.
|
|
214
219
|
languages: (l = e.languages) != null && l.length ? e.languages : void 0,
|
|
@@ -235,26 +240,26 @@ const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body
|
|
|
235
240
|
} : {
|
|
236
241
|
kioskSettings: n()
|
|
237
242
|
};
|
|
238
|
-
},
|
|
239
|
-
convertOrderSettingDto:
|
|
243
|
+
}, H = {
|
|
244
|
+
convertOrderSettingDto: Re,
|
|
240
245
|
toOrderKioskSettingsDto: Te
|
|
241
246
|
}, Ue = be("orderSetting", () => {
|
|
242
247
|
const e = v({});
|
|
243
248
|
async function a() {
|
|
244
|
-
const l = await
|
|
249
|
+
const l = await j.getOrderSetting();
|
|
245
250
|
c(l);
|
|
246
251
|
}
|
|
247
252
|
async function n() {
|
|
248
253
|
if (e.value.orderSetting && e.value.kiosk) {
|
|
249
|
-
const { _id: l, ...r } = e.value.orderSetting, o =
|
|
254
|
+
const { _id: l, ...r } = e.value.orderSetting, o = H.toOrderKioskSettingsDto(e.value.kiosk), p = {
|
|
250
255
|
...r,
|
|
251
256
|
kioskSettings: o.kioskSettings
|
|
252
|
-
}, d = await
|
|
257
|
+
}, d = await j.updateOrderSetting(p);
|
|
253
258
|
c(d);
|
|
254
259
|
}
|
|
255
260
|
}
|
|
256
261
|
function c(l) {
|
|
257
|
-
e.value.orderSetting = l, e.value.kiosk =
|
|
262
|
+
e.value.orderSetting = l, e.value.kiosk = H.convertOrderSettingDto(l).kiosk;
|
|
258
263
|
}
|
|
259
264
|
function t(l) {
|
|
260
265
|
e.value.kiosk = l;
|
|
@@ -265,10 +270,10 @@ const he = { class: "flex flex-col gap-5 pb-6" }, Ce = { class: "fm-typo-en-body
|
|
|
265
270
|
updateKioskSetting: n,
|
|
266
271
|
setKioskOrderSetting: t
|
|
267
272
|
};
|
|
268
|
-
}), Ke = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ee = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Fe = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), De = /[^\p{L}\d]+/giu,
|
|
273
|
+
}), Ke = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ee = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Fe = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), De = /[^\p{L}\d]+/giu, W = "$1\0$2", X = "";
|
|
269
274
|
function Z(e) {
|
|
270
275
|
let a = e.trim();
|
|
271
|
-
a = a.replace(Ke,
|
|
276
|
+
a = a.replace(Ke, W).replace(Ee, W), a = a.replace(De, "\0");
|
|
272
277
|
let n = 0, c = a.length;
|
|
273
278
|
for (; a.charAt(n) === "\0"; )
|
|
274
279
|
n++;
|
|
@@ -303,7 +308,7 @@ function Me(e, a) {
|
|
|
303
308
|
return (n) => `${a(n[0])}${e(n.slice(1))}`;
|
|
304
309
|
}
|
|
305
310
|
function Ne(e, a = {}) {
|
|
306
|
-
const n = a.split ?? (a.separateNumbers ? qe : Z), c = a.prefixCharacters ??
|
|
311
|
+
const n = a.split ?? (a.separateNumbers ? qe : Z), c = a.prefixCharacters ?? X, t = a.suffixCharacters ?? X;
|
|
307
312
|
let l = 0, r = e.length;
|
|
308
313
|
for (; l < e.length; ) {
|
|
309
314
|
const o = e.charAt(l);
|
|
@@ -323,14 +328,14 @@ function Ne(e, a = {}) {
|
|
|
323
328
|
e.slice(r)
|
|
324
329
|
];
|
|
325
330
|
}
|
|
326
|
-
const
|
|
331
|
+
const je = { class: "py-[1.5rem]" }, He = { class: "px-[1.5rem]" }, We = { class: "pt-[1.5rem]" }, Xe = { class: "flex flex-col gap-10" }, Ge = { class: "fm-typo-en-title-sm-600" }, Qe = { class: "fm-typo-en-title-sm-400" }, ea = /* @__PURE__ */ G({
|
|
327
332
|
__name: "KioskView",
|
|
328
333
|
setup(e) {
|
|
329
334
|
var $, M;
|
|
330
335
|
const { t: a } = z(), { canManageOrderSetting: n } = _e(), c = ue(
|
|
331
|
-
() => import("./KioskSettingView-
|
|
332
|
-
), t = v("device"), l = se(), r = Ue(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = ye(), b = ie(), f = v((($ = d.value) == null ? void 0 : $._id) ?? void 0), I = v(null),
|
|
333
|
-
const u =
|
|
336
|
+
() => import("./KioskSettingView-CzelEig6.js")
|
|
337
|
+
), t = v("device"), l = se(), r = Ue(), o = pe(), p = me(), { currentRestaurant: d, restaurants: i, changeRestaurant: C } = ye(), b = ie(), f = v((($ = d.value) == null ? void 0 : $._id) ?? void 0), I = v(null), R = v(""), D = v(null), q = T(() => {
|
|
338
|
+
const u = R.value.trim().toLowerCase();
|
|
334
339
|
return i.value.filter(
|
|
335
340
|
(s) => !u || s.profile.name.toLowerCase().includes(u) || s._id.toLowerCase().includes(u)
|
|
336
341
|
).map((s) => ({
|
|
@@ -339,12 +344,12 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
339
344
|
}));
|
|
340
345
|
});
|
|
341
346
|
async function g(u) {
|
|
342
|
-
|
|
347
|
+
R.value = u;
|
|
343
348
|
}
|
|
344
349
|
function O(u) {
|
|
345
350
|
var s, _;
|
|
346
351
|
if (!u) {
|
|
347
|
-
|
|
352
|
+
R.value = "";
|
|
348
353
|
return;
|
|
349
354
|
}
|
|
350
355
|
(_ = (s = D.value) == null ? void 0 : s.querySelector("input")) == null || _.select();
|
|
@@ -360,9 +365,9 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
360
365
|
await r.getSetting();
|
|
361
366
|
} catch {
|
|
362
367
|
}
|
|
363
|
-
await o.loadCheckouts(), await
|
|
368
|
+
await o.loadCheckouts(), await x();
|
|
364
369
|
}
|
|
365
|
-
async function
|
|
370
|
+
async function x() {
|
|
366
371
|
I.value = null;
|
|
367
372
|
try {
|
|
368
373
|
await l.getDevices();
|
|
@@ -391,7 +396,7 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
391
396
|
otp: l.state.otp
|
|
392
397
|
}
|
|
393
398
|
}).onClose(async () => {
|
|
394
|
-
await
|
|
399
|
+
await x();
|
|
395
400
|
});
|
|
396
401
|
}
|
|
397
402
|
async function ae(u) {
|
|
@@ -418,18 +423,18 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
418
423
|
{ immediate: !0 }
|
|
419
424
|
), (u, s) => {
|
|
420
425
|
const _ = w("FmPageHead"), te = w("FmTabs"), le = w("FmMenuItem"), ne = w("FmSelect");
|
|
421
|
-
return h(), Q("div",
|
|
426
|
+
return h(), Q("div", je, [
|
|
422
427
|
U(_, {
|
|
423
428
|
title: m(a)("order.kiosk")
|
|
424
429
|
}, null, 8, ["title"]),
|
|
425
|
-
y("div",
|
|
430
|
+
y("div", He, [
|
|
426
431
|
U(te, {
|
|
427
432
|
"model-value": t.value,
|
|
428
433
|
"onUpdate:modelValue": s[0] || (s[0] = (L) => t.value = L),
|
|
429
434
|
items: S.value
|
|
430
435
|
}, null, 8, ["model-value", "items"]),
|
|
431
|
-
y("div",
|
|
432
|
-
y("div",
|
|
436
|
+
y("div", We, [
|
|
437
|
+
y("div", Xe, [
|
|
433
438
|
y("div", {
|
|
434
439
|
class: "flex flex-col gap-2",
|
|
435
440
|
ref_key: "restaurantPicker",
|
|
@@ -466,7 +471,7 @@ const He = { class: "py-[1.5rem]" }, We = { class: "px-[1.5rem]" }, Xe = { class
|
|
|
466
471
|
devices: k.value,
|
|
467
472
|
"load-error": I.value,
|
|
468
473
|
onRequestOtp: ee,
|
|
469
|
-
onRetry:
|
|
474
|
+
onRetry: x
|
|
470
475
|
}, null, 8, ["devices", "load-error"])) : E("", !0),
|
|
471
476
|
t.value == "setting" && m(n) ? (h(), K(m(c), {
|
|
472
477
|
key: `KioskSettingView-${P.value}`,
|