@feedmepos/mf-order-setting 0.0.33 → 0.0.34
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/{KioskDevicesView-CxZI99me.js → KioskDevicesView-BHzBoF_O.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-EGj4fxeN.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-C5JpMDP_.js} +2 -2
- package/dist/KioskSettingView-i8tgH3dF.js +841 -0
- package/dist/{KioskView-IUQTvUF8.js → KioskView-DW7vX6rJ.js} +41 -34
- package/dist/{OrderSettingsView-VLE9yxNt.js → OrderSettingsView-D3SQHET3.js} +4 -4
- package/dist/{app-cd45Ryph.js → app-C15xKXga.js} +16 -10
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CRAlrjJy.js → dayjs.min-KE7XM_kc.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +6 -0
- package/dist/frontend/mf-order/src/main.d.ts +6 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +12 -0
- package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +3 -3
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +8 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DLWAy-3K.js → index-DGfFxIZo.js} +2 -2
- package/dist/{menu.dto-DGDI6XwH.js → menu.dto-CLARGRsi.js} +6 -2
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +42 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +32 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +22 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +44 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +22 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +48 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +2 -0
- package/src/locales/th-TH.json +2 -0
- package/src/locales/zh-CN.json +2 -0
- package/src/stores/order-setting/mapper.ts +230 -168
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +31 -1
- package/dist/KioskSettingView-CTDY8__s.js +0 -821
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as I, computed as b, createElementBlock as y, openBlock as c, normalizeClass as X, createCommentVNode as _, createElementVNode as o, toDisplayString as m, unref as d, Fragment as Z, renderList as ee, ref as
|
|
2
|
-
import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as I, computed as b, createElementBlock as y, openBlock as c, normalizeClass as X, createCommentVNode as _, createElementVNode as o, toDisplayString as m, unref as d, Fragment as Z, renderList as ee, ref as k, defineAsyncComponent as te, watch as ae, resolveComponent as S, createVNode as P, withCtx as ne, withDirectives as se, vShow as oe, createBlock as R } from "vue";
|
|
2
|
+
import { u as re, _ as le } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-C5JpMDP_.js";
|
|
3
3
|
import { useI18n as A, useCoreStore as de } from "@feedmepos/mf-common";
|
|
4
|
-
import { F as V, a as ie, b as ce } from "./menu.dto-
|
|
4
|
+
import { F as V, a as ie, b as ce } from "./menu.dto-CLARGRsi.js";
|
|
5
5
|
import { useDialog as ue, useSnackbar as pe, useBreakpoints as me } from "@feedmepos/ui-library";
|
|
6
6
|
import { defineStore as ye } from "pinia";
|
|
7
|
-
import { O as B, c as D } from "./index-
|
|
7
|
+
import { O as B, c as D } from "./index-DGfFxIZo.js";
|
|
8
8
|
const fe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-title-sm-600"
|
|
11
11
|
}, ve = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "my-[0.25rem]"
|
|
14
|
-
}, _e = { class: "flex flex-col gap-1" }, be = { class: "flex flex-col gap-1" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-lg-600" }, Pe = { key: 0 }, we = { key: 1 }, Oe = { key: 0 },
|
|
14
|
+
}, _e = { class: "flex flex-col gap-1" }, be = { class: "flex flex-col gap-1" }, he = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ge = { class: "fm-typo-en-body-lg-600" }, Pe = { key: 0 }, we = { key: 1 }, Oe = { key: 0 }, Se = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600 block" }, xe = { key: 1 }, Te = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ce = { class: "fm-typo-en-body-lg-600 block" }, Ie = { key: 2 }, Ae = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ke = { class: "fm-typo-en-body-lg-600 block" }, Ue = { key: 3 }, $e = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Fe = { class: "fm-typo-en-body-lg-600 block" }, qe = { key: 0 }, E = /* @__PURE__ */ I({
|
|
15
15
|
__name: "KioskSummary",
|
|
16
16
|
props: {
|
|
17
17
|
restaurantId: {},
|
|
@@ -60,12 +60,12 @@ const fe = {
|
|
|
60
60
|
])) : (c(), y("div", we, "-"))
|
|
61
61
|
]),
|
|
62
62
|
l.value === d(e)("order.activated") ? (c(), y("div", Oe, [
|
|
63
|
-
o("span",
|
|
64
|
-
o("div",
|
|
63
|
+
o("span", Se, m(d(e)("order.dineIn")), 1),
|
|
64
|
+
o("div", ke, [
|
|
65
65
|
o("div", null, m(l.value), 1)
|
|
66
66
|
])
|
|
67
67
|
])) : _("", !0),
|
|
68
|
-
l.value === d(e)("order.activated") && s.value !== d(e)("order.unknown") ? (c(), y("div",
|
|
68
|
+
l.value === d(e)("order.activated") && s.value !== d(e)("order.unknown") ? (c(), y("div", xe, [
|
|
69
69
|
o("span", Te, m(d(e)("order.dineInType")), 1),
|
|
70
70
|
o("div", Ce, [
|
|
71
71
|
o("div", null, m(s.value), 1)
|
|
@@ -144,7 +144,9 @@ const fe = {
|
|
|
144
144
|
},
|
|
145
145
|
eWallet: {
|
|
146
146
|
qrPay: !1,
|
|
147
|
-
scanPay: !1
|
|
147
|
+
scanPay: !1,
|
|
148
|
+
terminalScanPay: !1,
|
|
149
|
+
terminalQrPay: !1
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
152
|
},
|
|
@@ -162,10 +164,13 @@ const fe = {
|
|
|
162
164
|
}, We = (t, e) => {
|
|
163
165
|
var r, l, n, s, u, i, a, p, v;
|
|
164
166
|
return {
|
|
165
|
-
dineIn: je(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
dineIn: je(
|
|
168
|
+
e ?? {
|
|
169
|
+
current: 0,
|
|
170
|
+
prefix: "#K"
|
|
171
|
+
},
|
|
172
|
+
t.dineIn ?? void 0
|
|
173
|
+
),
|
|
169
174
|
takeaway: {
|
|
170
175
|
enabled: (t == null ? void 0 : t.canTakeaway) ?? !1,
|
|
171
176
|
submitOrderInstruction: (r = t == null ? void 0 : t.takeaway) != null && r.submitOrderInstruction ? {
|
|
@@ -183,7 +188,9 @@ const fe = {
|
|
|
183
188
|
},
|
|
184
189
|
eWallet: {
|
|
185
190
|
qrPay: !1,
|
|
186
|
-
scanPay: !1
|
|
191
|
+
scanPay: !1,
|
|
192
|
+
terminalScanPay: !1,
|
|
193
|
+
terminalQrPay: !1
|
|
187
194
|
}
|
|
188
195
|
})
|
|
189
196
|
},
|
|
@@ -274,7 +281,7 @@ const fe = {
|
|
|
274
281
|
convertOrderSettingDto: Me,
|
|
275
282
|
toOrderKioskSettingsDto: He
|
|
276
283
|
}, Le = ye("orderSetting", () => {
|
|
277
|
-
const t =
|
|
284
|
+
const t = k({});
|
|
278
285
|
async function e() {
|
|
279
286
|
const s = await B.getOrderSetting();
|
|
280
287
|
l(s);
|
|
@@ -300,7 +307,7 @@ const fe = {
|
|
|
300
307
|
updateKioskSetting: r,
|
|
301
308
|
setKioskOrderSetting: n
|
|
302
309
|
};
|
|
303
|
-
}),
|
|
310
|
+
}), Qe = { class: "py-[1.5rem]" }, Ye = { class: "flex px-[1.5rem]" }, ze = { class: "flex-[2_2_0%]" }, Ge = { class: "pt-[1.5rem]" }, Je = { class: "flex flex-col gap-10" }, Xe = { class: "flex flex-col gap-2" }, Ze = { class: "fm-typo-en-title-sm-600" }, et = { class: "fm-typo-en-title-sm-400" }, tt = {
|
|
304
311
|
key: 0,
|
|
305
312
|
class: "flex-[1_1_0%]"
|
|
306
313
|
}, it = /* @__PURE__ */ I({
|
|
@@ -308,11 +315,11 @@ const fe = {
|
|
|
308
315
|
setup(t) {
|
|
309
316
|
var F, q;
|
|
310
317
|
const { t: e } = A(), r = te(
|
|
311
|
-
() => import("./KioskSettingView-
|
|
312
|
-
), l =
|
|
318
|
+
() => import("./KioskSettingView-i8tgH3dF.js")
|
|
319
|
+
), l = k("device"), n = re(), s = Le(), u = ue(), { currentRestaurant: i, restaurants: a, changeRestaurant: p } = de(), v = pe(), h = me(), K = b(() => h.breakpoints.value.xs), w = k(((F = i.value) == null ? void 0 : F._id) ?? void 0), j = b(() => a.value.map((f) => ({
|
|
313
320
|
label: f.profile.name,
|
|
314
321
|
value: f._id
|
|
315
|
-
}))), O =
|
|
322
|
+
}))), O = k(((q = i.value) == null ? void 0 : q._id) ?? "");
|
|
316
323
|
function H() {
|
|
317
324
|
var f;
|
|
318
325
|
u.open({
|
|
@@ -327,7 +334,7 @@ const fe = {
|
|
|
327
334
|
});
|
|
328
335
|
}
|
|
329
336
|
async function U(f) {
|
|
330
|
-
const g = a.value.find((
|
|
337
|
+
const g = a.value.find((x) => x._id == f);
|
|
331
338
|
await p(g), await s.getSetting(), await n.getDevices(), w.value = f, O.value = f;
|
|
332
339
|
}
|
|
333
340
|
const L = b(() => [
|
|
@@ -340,7 +347,7 @@ const fe = {
|
|
|
340
347
|
value: "setting"
|
|
341
348
|
}
|
|
342
349
|
]), $ = b(() => n.state.devices);
|
|
343
|
-
async function
|
|
350
|
+
async function Q() {
|
|
344
351
|
await n.requestOtp(), u.open({
|
|
345
352
|
title: D(e("order.bindDevice")),
|
|
346
353
|
contentComponent: De,
|
|
@@ -349,7 +356,7 @@ const fe = {
|
|
|
349
356
|
}
|
|
350
357
|
});
|
|
351
358
|
}
|
|
352
|
-
async function
|
|
359
|
+
async function Y(f) {
|
|
353
360
|
try {
|
|
354
361
|
s.setKioskOrderSetting(f), await s.updateKioskSetting(), v.open({
|
|
355
362
|
title: e("order.kioskSettingSuccess"),
|
|
@@ -369,13 +376,13 @@ const fe = {
|
|
|
369
376
|
},
|
|
370
377
|
{ immediate: !0 }
|
|
371
378
|
), (f, g) => {
|
|
372
|
-
const
|
|
373
|
-
return c(), y("div",
|
|
374
|
-
P(
|
|
379
|
+
const x = S("FmButton"), z = S("FmPageHead"), G = S("FmTabs"), J = S("FmSelect");
|
|
380
|
+
return c(), y("div", Qe, [
|
|
381
|
+
P(z, {
|
|
375
382
|
title: d(e)("order.kiosk")
|
|
376
383
|
}, {
|
|
377
384
|
append: ne(() => [
|
|
378
|
-
se(P(
|
|
385
|
+
se(P(x, {
|
|
379
386
|
icon: "info",
|
|
380
387
|
variant: "tertiary",
|
|
381
388
|
onClick: H
|
|
@@ -385,19 +392,19 @@ const fe = {
|
|
|
385
392
|
]),
|
|
386
393
|
_: 1
|
|
387
394
|
}, 8, ["title"]),
|
|
388
|
-
o("div",
|
|
389
|
-
o("div",
|
|
390
|
-
P(
|
|
395
|
+
o("div", Ye, [
|
|
396
|
+
o("div", ze, [
|
|
397
|
+
P(G, {
|
|
391
398
|
"model-value": l.value,
|
|
392
399
|
"onUpdate:modelValue": g[0] || (g[0] = (T) => l.value = T),
|
|
393
400
|
items: L.value
|
|
394
401
|
}, null, 8, ["model-value", "items"]),
|
|
395
|
-
o("div",
|
|
396
|
-
o("div",
|
|
402
|
+
o("div", Ge, [
|
|
403
|
+
o("div", Je, [
|
|
397
404
|
o("div", Xe, [
|
|
398
405
|
o("span", Ze, m(d(e)("order.activateLocation")), 1),
|
|
399
406
|
o("span", et, m(d(e)("order.selectRestaurant")) + ": ", 1),
|
|
400
|
-
P(
|
|
407
|
+
P(J, {
|
|
401
408
|
class: "w-1/2",
|
|
402
409
|
modelValue: w.value,
|
|
403
410
|
"onUpdate:modelValue": [
|
|
@@ -411,12 +418,12 @@ const fe = {
|
|
|
411
418
|
l.value == "device" ? (c(), R(le, {
|
|
412
419
|
key: 0,
|
|
413
420
|
devices: $.value,
|
|
414
|
-
"request-otp":
|
|
421
|
+
"request-otp": Q
|
|
415
422
|
}, null, 8, ["devices"])) : _("", !0),
|
|
416
423
|
l.value == "setting" ? (c(), R(d(r), {
|
|
417
424
|
key: `KioskSettingView-${O.value}`,
|
|
418
425
|
"restaurant-id": O.value,
|
|
419
|
-
onUpdateKioskOrderSetting:
|
|
426
|
+
onUpdateKioskOrderSetting: Y,
|
|
420
427
|
form: d(s).state.kiosk ?? d(Ne)
|
|
421
428
|
}, null, 8, ["restaurant-id", "form"])) : _("", !0)
|
|
422
429
|
])
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as De, computed as Oe, defineComponent as lt, onMounted as fr, onUnmounted as lc, resolveComponent as Te, createBlock as bt, openBlock as Ee, withCtx as Ve, createElementVNode as ge, createElementBlock as Ce, createCommentVNode as Ze, createVNode as de, toDisplayString as Ne, unref as ae, isRef as mi, Fragment as nt, renderList as Ft, watch as Dt, renderSlot as Rf, reactive as Jr, createTextVNode as Tr, withModifiers as Df, toRaw as Yl, normalizeStyle as qf, normalizeClass as dc, createSlots as Nf, h as fi, resolveDynamicComponent as Bf } from "vue";
|
|
2
2
|
import { useDialog as cc, useSnackbar as fc, components as Wl } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as pt, useCoreStore as Mt } from "@feedmepos/mf-common";
|
|
4
|
-
import { e as sn, d as ir, f as xf, h as pu, g as et, i as Gr, l as ce, j as Be, k as $c, m as yt, n as Uf, o as vo, p as gu, q as Gf } from "./menu.dto-
|
|
4
|
+
import { e as sn, d as ir, f as xf, h as pu, g as et, i as Gr, l as ce, j as Be, k as $c, m as yt, n as Uf, o as vo, p as gu, q as Gf } from "./menu.dto-CLARGRsi.js";
|
|
5
5
|
import { u as or, a as hr, b as Lf, _ as Vf } from "./index-BXsnV_eO.js";
|
|
6
|
-
import { g as We, b as ln, S as Qu, d as Hf, m as Kf, a as Yf, D as wr, r as di, c as Jl, e as Wf } from "./dayjs.min-
|
|
6
|
+
import { g as We, b as ln, S as Qu, d as Hf, m as Kf, a as Yf, D as wr, r as di, c as Jl, e as Wf } from "./dayjs.min-KE7XM_kc.js";
|
|
7
7
|
import { defineStore as _i } from "pinia";
|
|
8
8
|
import { useRouter as Jf } from "vue-router";
|
|
9
|
-
import { c as sl, g as on, a as ul, b as Qf, d as Xu, e as Xf } from "./app-
|
|
10
|
-
import { O as _a, s as mu, a as Zf } from "./index-
|
|
9
|
+
import { c as sl, g as on, a as ul, b as Qf, d as Xu, e as Xf } from "./app-C15xKXga.js";
|
|
10
|
+
import { O as _a, s as mu, a as Zf } from "./index-DGfFxIZo.js";
|
|
11
11
|
const e$ = {
|
|
12
12
|
"Bill Receipt Number": (h) => h.seqNumber ?? "*8888",
|
|
13
13
|
"Bill Receipt Total Amount (Net)": (h) => xf.Dinero.fromFdoDinero(h.nettTotal).toFormat(!0),
|
|
@@ -194,6 +194,8 @@ const k = {
|
|
|
194
194
|
productSelected: "product(s) selected",
|
|
195
195
|
promptAnonymousLoginDialog: "Prompt Login Dialog For Anonymous Order",
|
|
196
196
|
qrPay: "QR Pay",
|
|
197
|
+
terminalScanPay: "Terminal Scan Pay",
|
|
198
|
+
terminalQrPay: "Terminal QR Pay",
|
|
197
199
|
rate: "Rate",
|
|
198
200
|
remoteId: "Remote ID",
|
|
199
201
|
restaurant: "Restaurant",
|
|
@@ -495,6 +497,8 @@ const k = {
|
|
|
495
497
|
productSelected: "已选择商品",
|
|
496
498
|
promptAnonymousLoginDialog: "为匿名用户弹出登入对话框",
|
|
497
499
|
qrPay: "二维码支付",
|
|
500
|
+
terminalScanPay: "终端扫描支付",
|
|
501
|
+
terminalQrPay: "终端二维码支付",
|
|
498
502
|
rate: "费率",
|
|
499
503
|
remoteId: "平台注册ID",
|
|
500
504
|
restaurant: "餐厅",
|
|
@@ -795,6 +799,8 @@ const k = {
|
|
|
795
799
|
productSelected: "ผลิตภัณฑ์ที่เลือก",
|
|
796
800
|
promptAnonymousLoginDialog: "กล่องโต้ตอบพร้อมท์เข้าสู่ระบบสำหรับคำสั่งซื้อแบบไม่เปิดเผยตัวตน",
|
|
797
801
|
qrPay: "ชำระเงินด้วย QR",
|
|
802
|
+
terminalScanPay: "ชำระเงินด้วยการสแกนเทอร์มินัล",
|
|
803
|
+
terminalQrPay: "ชำระเงินด้วย QR เทอร์มินัล",
|
|
798
804
|
rate: "อัตรา",
|
|
799
805
|
remoteId: "รหัสประจำตัวระยะไกล",
|
|
800
806
|
restaurant: "ร้านอาหาร",
|
|
@@ -930,7 +936,7 @@ function V({
|
|
|
930
936
|
}
|
|
931
937
|
return e.map((o) => ({ lat: o.lat(), lng: o.lng() }));
|
|
932
938
|
}
|
|
933
|
-
function
|
|
939
|
+
function Q(t) {
|
|
934
940
|
if (!t.length) return;
|
|
935
941
|
const { lat: i, lng: e } = y(t[0]), { maxLng: a, minLng: r, maxLat: o, minLat: c } = t.reduce((n, p) => {
|
|
936
942
|
const { lng: s, lat: l } = y(p);
|
|
@@ -981,7 +987,7 @@ class d {
|
|
|
981
987
|
}
|
|
982
988
|
d.CALLBACK_NAME = "_dk_google_maps_loader_cb";
|
|
983
989
|
var O = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
|
|
984
|
-
const w = { class: "flex-1 overflow-auto" },
|
|
990
|
+
const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
985
991
|
__name: "App",
|
|
986
992
|
setup(t) {
|
|
987
993
|
async function i() {
|
|
@@ -1005,26 +1011,26 @@ const w = { class: "flex-1 overflow-auto" }, _ = /* @__PURE__ */ S({
|
|
|
1005
1011
|
KioskDeviceRoute: E,
|
|
1006
1012
|
KioskOrderSettingRoute: F,
|
|
1007
1013
|
OrderSettingView: N
|
|
1008
|
-
},
|
|
1014
|
+
}, _ = [
|
|
1009
1015
|
{
|
|
1010
1016
|
path: u.KioskRoute,
|
|
1011
1017
|
name: "Kiosk",
|
|
1012
|
-
component: () => import("./KioskView-
|
|
1018
|
+
component: () => import("./KioskView-DW7vX6rJ.js")
|
|
1013
1019
|
},
|
|
1014
1020
|
{
|
|
1015
1021
|
path: u.KioskDeviceRoute,
|
|
1016
1022
|
name: "Kiosk Device",
|
|
1017
|
-
component: () => import("./KioskDevicesView-
|
|
1023
|
+
component: () => import("./KioskDevicesView-BHzBoF_O.js")
|
|
1018
1024
|
},
|
|
1019
1025
|
{
|
|
1020
1026
|
path: u.KioskOrderSettingRoute,
|
|
1021
1027
|
name: "Kiosk Order Setting",
|
|
1022
|
-
component: () => import("./KioskSettingView-
|
|
1028
|
+
component: () => import("./KioskSettingView-i8tgH3dF.js")
|
|
1023
1029
|
},
|
|
1024
1030
|
{
|
|
1025
1031
|
path: u.OrderSettingView,
|
|
1026
1032
|
name: "Order Setting View",
|
|
1027
|
-
component: () => import("./OrderSettingsView-
|
|
1033
|
+
component: () => import("./OrderSettingsView-D3SQHET3.js")
|
|
1028
1034
|
}
|
|
1029
1035
|
], H = {
|
|
1030
1036
|
"en-US": C,
|
|
@@ -1032,13 +1038,13 @@ const w = { class: "flex-1 overflow-auto" }, _ = /* @__PURE__ */ S({
|
|
|
1032
1038
|
"th-TH": T
|
|
1033
1039
|
};
|
|
1034
1040
|
export {
|
|
1035
|
-
_,
|
|
1041
|
+
W as _,
|
|
1036
1042
|
y as a,
|
|
1037
1043
|
V as b,
|
|
1038
1044
|
B as c,
|
|
1039
1045
|
U as d,
|
|
1040
|
-
|
|
1046
|
+
Q as e,
|
|
1041
1047
|
v as g,
|
|
1042
1048
|
H as i,
|
|
1043
|
-
|
|
1049
|
+
_ as r
|
|
1044
1050
|
};
|
package/dist/app.js
CHANGED
|
@@ -196,6 +196,8 @@ export declare const i18nMessages: {
|
|
|
196
196
|
productSelected: string;
|
|
197
197
|
promptAnonymousLoginDialog: string;
|
|
198
198
|
qrPay: string;
|
|
199
|
+
terminalScanPay: string;
|
|
200
|
+
terminalQrPay: string;
|
|
199
201
|
rate: string;
|
|
200
202
|
remoteId: string;
|
|
201
203
|
restaurant: string;
|
|
@@ -498,6 +500,8 @@ export declare const i18nMessages: {
|
|
|
498
500
|
productSelected: string;
|
|
499
501
|
promptAnonymousLoginDialog: string;
|
|
500
502
|
qrPay: string;
|
|
503
|
+
terminalScanPay: string;
|
|
504
|
+
terminalQrPay: string;
|
|
501
505
|
rate: string;
|
|
502
506
|
remoteId: string;
|
|
503
507
|
restaurant: string;
|
|
@@ -799,6 +803,8 @@ export declare const i18nMessages: {
|
|
|
799
803
|
productSelected: string;
|
|
800
804
|
promptAnonymousLoginDialog: string;
|
|
801
805
|
qrPay: string;
|
|
806
|
+
terminalScanPay: string;
|
|
807
|
+
terminalQrPay: string;
|
|
802
808
|
rate: string;
|
|
803
809
|
remoteId: string;
|
|
804
810
|
restaurant: string;
|
|
@@ -195,6 +195,8 @@ export declare const i18nMessages: {
|
|
|
195
195
|
productSelected: string;
|
|
196
196
|
promptAnonymousLoginDialog: string;
|
|
197
197
|
qrPay: string;
|
|
198
|
+
terminalScanPay: string;
|
|
199
|
+
terminalQrPay: string;
|
|
198
200
|
rate: string;
|
|
199
201
|
remoteId: string;
|
|
200
202
|
restaurant: string;
|
|
@@ -497,6 +499,8 @@ export declare const i18nMessages: {
|
|
|
497
499
|
productSelected: string;
|
|
498
500
|
promptAnonymousLoginDialog: string;
|
|
499
501
|
qrPay: string;
|
|
502
|
+
terminalScanPay: string;
|
|
503
|
+
terminalQrPay: string;
|
|
500
504
|
rate: string;
|
|
501
505
|
remoteId: string;
|
|
502
506
|
restaurant: string;
|
|
@@ -798,6 +802,8 @@ export declare const i18nMessages: {
|
|
|
798
802
|
productSelected: string;
|
|
799
803
|
promptAnonymousLoginDialog: string;
|
|
800
804
|
qrPay: string;
|
|
805
|
+
terminalScanPay: string;
|
|
806
|
+
terminalQrPay: string;
|
|
801
807
|
rate: string;
|
|
802
808
|
remoteId: string;
|
|
803
809
|
restaurant: string;
|
|
@@ -52,6 +52,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
52
52
|
eWallet: {
|
|
53
53
|
qrPay: boolean;
|
|
54
54
|
scanPay: boolean;
|
|
55
|
+
terminalScanPay: boolean;
|
|
56
|
+
terminalQrPay: boolean;
|
|
55
57
|
};
|
|
56
58
|
};
|
|
57
59
|
};
|
|
@@ -223,6 +225,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
223
225
|
eWallet: {
|
|
224
226
|
qrPay: boolean;
|
|
225
227
|
scanPay: boolean;
|
|
228
|
+
terminalScanPay: boolean;
|
|
229
|
+
terminalQrPay: boolean;
|
|
226
230
|
};
|
|
227
231
|
} | null | undefined;
|
|
228
232
|
} | null | undefined;
|
|
@@ -294,6 +298,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
294
298
|
eWallet: {
|
|
295
299
|
qrPay: boolean;
|
|
296
300
|
scanPay: boolean;
|
|
301
|
+
terminalScanPay: boolean;
|
|
302
|
+
terminalQrPay: boolean;
|
|
297
303
|
};
|
|
298
304
|
};
|
|
299
305
|
};
|
|
@@ -465,6 +471,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
465
471
|
eWallet: {
|
|
466
472
|
qrPay: boolean;
|
|
467
473
|
scanPay: boolean;
|
|
474
|
+
terminalScanPay: boolean;
|
|
475
|
+
terminalQrPay: boolean;
|
|
468
476
|
};
|
|
469
477
|
} | null | undefined;
|
|
470
478
|
} | null | undefined;
|
|
@@ -536,6 +544,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
536
544
|
eWallet: {
|
|
537
545
|
qrPay: boolean;
|
|
538
546
|
scanPay: boolean;
|
|
547
|
+
terminalScanPay: boolean;
|
|
548
|
+
terminalQrPay: boolean;
|
|
539
549
|
};
|
|
540
550
|
};
|
|
541
551
|
};
|
|
@@ -707,6 +717,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
707
717
|
eWallet: {
|
|
708
718
|
qrPay: boolean;
|
|
709
719
|
scanPay: boolean;
|
|
720
|
+
terminalScanPay: boolean;
|
|
721
|
+
terminalQrPay: boolean;
|
|
710
722
|
};
|
|
711
723
|
} | null | undefined;
|
|
712
724
|
} | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OrderSettingsDto, OrderKioskDineInSequenceDto } from
|
|
1
|
+
import { OrderSettingsDto, OrderKioskDineInSequenceDto } from '@entity';
|
|
2
2
|
import type { MfKioskOrderSetting, MfDisplayStandSetting, KioskTakeawaySettingForm, MfKioskOrderSettingForm, MfKioskSubmitOrderInstruction, KioskPickAtCounterSettingForm } from '@/modules/order-setting/kiosk/interface';
|
|
3
|
-
import type { MfOrderSetting } from
|
|
4
|
-
import type { OrderKioskSettings } from
|
|
3
|
+
import type { MfOrderSetting } from '@/modules/order-setting/interface';
|
|
4
|
+
import type { OrderKioskSettings } from '@entity';
|
|
5
5
|
export declare const defaultDisplayStand: MfDisplayStandSetting;
|
|
6
6
|
export declare const defaultTakeaway: KioskTakeawaySettingForm;
|
|
7
7
|
export declare const defaultPickUp: KioskPickAtCounterSettingForm;
|
|
@@ -24,6 +24,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
eWallet: {
|
|
25
25
|
qrPay: boolean;
|
|
26
26
|
scanPay: boolean;
|
|
27
|
+
terminalScanPay: boolean;
|
|
28
|
+
terminalQrPay: boolean;
|
|
27
29
|
};
|
|
28
30
|
}>;
|
|
29
31
|
required: true;
|
|
@@ -42,6 +44,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
44
|
eWallet: {
|
|
43
45
|
qrPay: boolean;
|
|
44
46
|
scanPay: boolean;
|
|
47
|
+
terminalScanPay: boolean;
|
|
48
|
+
terminalQrPay: boolean;
|
|
45
49
|
};
|
|
46
50
|
}) => any;
|
|
47
51
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -69,6 +73,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
73
|
eWallet: {
|
|
70
74
|
qrPay: boolean;
|
|
71
75
|
scanPay: boolean;
|
|
76
|
+
terminalScanPay: boolean;
|
|
77
|
+
terminalQrPay: boolean;
|
|
72
78
|
};
|
|
73
79
|
}>;
|
|
74
80
|
required: true;
|
|
@@ -87,6 +93,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
93
|
eWallet: {
|
|
88
94
|
qrPay: boolean;
|
|
89
95
|
scanPay: boolean;
|
|
96
|
+
terminalScanPay: boolean;
|
|
97
|
+
terminalQrPay: boolean;
|
|
90
98
|
};
|
|
91
99
|
}) => any) | undefined;
|
|
92
100
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|