@feedmepos/mf-order-setting 0.0.56 → 0.0.57
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-CMKNjgWx.js → KioskDevicesView-CVnUSyRk.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B1sNvlUC.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-D-XcAx8n.js} +2 -2
- package/dist/KioskSettingView-CyAxzbP1.js +744 -0
- package/dist/{KioskView-Cl6eCUYX.js → KioskView-DYESsVun.js} +60 -57
- package/dist/{OrderSettingsView-Dj0Nd22Z.js → OrderSettingsView-BKkoSdAX.js} +4 -4
- package/dist/{app-DpOjaFJw.js → app-DaX8cX_Q.js} +126 -118
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CuRr-wlf.js → dayjs.min-puCJYept.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +8 -0
- package/dist/frontend/mf-order/src/main.d.ts +8 -0
- 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 +6 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Bj0bCGTm.js → index-CtMw6yZU.js} +1 -1
- package/dist/{menu.dto-DAh1J2ES.js → menu.dto-Csu6ZBea.js} +2 -0
- package/dist/package/entity/food-court/order.do.d.ts +4 -24
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +1 -12341
- package/dist/package/entity/order/order.do.d.ts +1 -6357
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +5 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +2 -0
- package/src/locales/ja-JP.json +11 -9
- package/src/locales/th-TH.json +2 -0
- package/src/locales/zh-CN.json +2 -0
- package/src/main.ts +5 -5
- package/src/modules/order-setting/kiosk/interface.ts +19 -17
- package/src/stores/order-setting/mapper.ts +66 -63
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +19 -1
- package/src/views/kiosk/settings/KioskSettingView.vue +68 -48
- package/src/views/order-settings/OrderSettingsView.vue +1 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +4 -4
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +1 -5
- package/dist/KioskSettingView-D1tvuPDv.js +0 -722
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as $, computed as h, createElementBlock as f, openBlock as p, normalizeClass as k, createCommentVNode as b, createElementVNode as l, toDisplayString as u, unref as c, Fragment as ee, renderList as te, ref as
|
|
2
|
-
import { u as ce, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as $, computed as h, createElementBlock as f, openBlock as p, normalizeClass as k, createCommentVNode as b, createElementVNode as l, toDisplayString as u, unref as c, Fragment as ee, renderList as te, ref as g, defineAsyncComponent as ae, onMounted as ne, watch as oe, resolveComponent as T, createVNode as I, withCtx as se, withDirectives as le, vShow as re, createBlock as V } from "vue";
|
|
2
|
+
import { u as ce, _ as de } from "./KioskDevicesView.vue_vue_type_script_setup_true_lang-D-XcAx8n.js";
|
|
3
3
|
import { useI18n as F, useCoreStore as ue } from "@feedmepos/mf-common";
|
|
4
|
-
import { F as E, a as pe, b as ie } from "./menu.dto-
|
|
4
|
+
import { F as E, a as pe, b as ie } from "./menu.dto-Csu6ZBea.js";
|
|
5
5
|
import { useDialog as me, useSnackbar as ye, useBreakpoints as fe } from "@feedmepos/ui-library";
|
|
6
6
|
import { defineStore as ve } from "pinia";
|
|
7
|
-
import { O as L, c as
|
|
7
|
+
import { O as L, c as M } from "./index-CtMw6yZU.js";
|
|
8
8
|
const _e = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-title-sm-600"
|
|
@@ -14,10 +14,10 @@ const _e = {
|
|
|
14
14
|
}, he = { class: "flex flex-col gap-4" }, xe = { class: "flex flex-col gap-2" }, Pe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, we = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "flex flex-col gap-1"
|
|
17
|
-
}, Ie = { class: "px-1.5 py-0.5 fm-corner-radius-sm bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary fm-typo-en-body-xs-600 uppercase" },
|
|
17
|
+
}, Ie = { class: "px-1.5 py-0.5 fm-corner-radius-sm bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary fm-typo-en-body-xs-600 uppercase" }, Ce = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "fm-typo-en-body-sm-600"
|
|
20
|
-
},
|
|
20
|
+
}, Te = ["title"], ge = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "fm-typo-en-body-lg-600"
|
|
23
23
|
}, Ae = {
|
|
@@ -26,13 +26,13 @@ const _e = {
|
|
|
26
26
|
}, Ke = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600" }, $e = {
|
|
27
27
|
key: 1,
|
|
28
28
|
class: "flex flex-col gap-1"
|
|
29
|
-
}, Fe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" },
|
|
29
|
+
}, Fe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, qe = { class: "fm-typo-en-body-lg-600" }, Re = {
|
|
30
30
|
key: 2,
|
|
31
31
|
class: "flex flex-col gap-1"
|
|
32
|
-
},
|
|
32
|
+
}, De = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Be = { class: "fm-typo-en-body-lg-600" }, Oe = {
|
|
33
33
|
key: 3,
|
|
34
34
|
class: "flex flex-col gap-1"
|
|
35
|
-
}, Ve = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ee = { class: "fm-typo-en-body-lg-600" }, Le = { key: 0 },
|
|
35
|
+
}, Ve = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Ee = { class: "fm-typo-en-body-lg-600" }, Le = { key: 0 }, N = /* @__PURE__ */ $({
|
|
36
36
|
__name: "KioskSummary",
|
|
37
37
|
props: {
|
|
38
38
|
restaurantId: {},
|
|
@@ -78,13 +78,13 @@ const _e = {
|
|
|
78
78
|
class: "fm-typo-en-body-sm-400 flex items-center gap-2"
|
|
79
79
|
}, [
|
|
80
80
|
l("span", Ie, u(v.deviceAppType === "TABLET_APP" ? "T" : "K"), 1),
|
|
81
|
-
v.slotInfo ? (p(), f("span",
|
|
81
|
+
v.slotInfo ? (p(), f("span", Ce, u(v.slotInfo), 1)) : b("", !0),
|
|
82
82
|
l("span", {
|
|
83
83
|
class: "text-fm-color-typo-secondary truncate flex-1",
|
|
84
84
|
title: v.name
|
|
85
|
-
}, u(v.name), 9,
|
|
85
|
+
}, u(v.name), 9, Te)
|
|
86
86
|
]))), 128))
|
|
87
|
-
])) : (p(), f("div",
|
|
87
|
+
])) : (p(), f("div", ge, "-"))
|
|
88
88
|
]),
|
|
89
89
|
r.value === c(t)("order.activated") ? (p(), f("div", Ae, [
|
|
90
90
|
l("span", Ke, u(c(t)("order.dineIn")), 1),
|
|
@@ -92,13 +92,13 @@ const _e = {
|
|
|
92
92
|
])) : b("", !0),
|
|
93
93
|
r.value === c(t)("order.activated") && o.value !== c(t)("order.unknown") ? (p(), f("div", $e, [
|
|
94
94
|
l("span", Fe, u(c(t)("order.dineInType")), 1),
|
|
95
|
-
l("div",
|
|
95
|
+
l("div", qe, u(o.value), 1)
|
|
96
96
|
])) : b("", !0),
|
|
97
|
-
n.value === c(t)("order.activated") ? (p(), f("div",
|
|
98
|
-
l("span",
|
|
99
|
-
l("div",
|
|
97
|
+
n.value === c(t)("order.activated") ? (p(), f("div", Re, [
|
|
98
|
+
l("span", De, u(c(t)("order.takeaway")), 1),
|
|
99
|
+
l("div", Be, u(n.value), 1)
|
|
100
100
|
])) : b("", !0),
|
|
101
|
-
d.value || i.value ? (p(), f("div",
|
|
101
|
+
d.value || i.value ? (p(), f("div", Oe, [
|
|
102
102
|
l("span", Ve, u(c(t)("order.acceptedPayment")), 1),
|
|
103
103
|
l("div", Ee, [
|
|
104
104
|
i.value ? (p(), f("div", Le, u(c(t)("order.offlinePayment")), 1)) : b("", !0),
|
|
@@ -108,19 +108,19 @@ const _e = {
|
|
|
108
108
|
])
|
|
109
109
|
], 2));
|
|
110
110
|
}
|
|
111
|
-
}),
|
|
111
|
+
}), Me = { class: "flex flex-col gap-5 pb-6" }, Ne = { class: "fm-typo-en-body-md-400 block" }, We = { class: "fm-typo-en-title-md-600" }, je = /* @__PURE__ */ $({
|
|
112
112
|
__name: "KioskOtpDialog",
|
|
113
113
|
props: {
|
|
114
114
|
otp: {}
|
|
115
115
|
},
|
|
116
116
|
setup(e) {
|
|
117
117
|
const { t } = F();
|
|
118
|
-
return (s, r) => (p(), f("div",
|
|
119
|
-
l("span",
|
|
120
|
-
l("div",
|
|
118
|
+
return (s, r) => (p(), f("div", Me, [
|
|
119
|
+
l("span", Ne, u(c(t)("order.bindDeviceMessage")), 1),
|
|
120
|
+
l("div", We, u(s.otp), 1)
|
|
121
121
|
]));
|
|
122
122
|
}
|
|
123
|
-
}),
|
|
123
|
+
}), j = {
|
|
124
124
|
enabled: !1,
|
|
125
125
|
prefix: null,
|
|
126
126
|
padDigit: 0,
|
|
@@ -133,27 +133,27 @@ const _e = {
|
|
|
133
133
|
payAtCounter: null,
|
|
134
134
|
paid: null
|
|
135
135
|
}
|
|
136
|
-
},
|
|
136
|
+
}, He = {
|
|
137
137
|
enabled: !1,
|
|
138
138
|
submitOrderInstruction: {
|
|
139
139
|
payAtCounter: null,
|
|
140
140
|
paid: null
|
|
141
141
|
}
|
|
142
|
-
},
|
|
142
|
+
}, H = {
|
|
143
143
|
enabled: !1,
|
|
144
144
|
submitOrderInstruction: {
|
|
145
145
|
payAtCounter: null,
|
|
146
146
|
paid: null
|
|
147
147
|
},
|
|
148
148
|
enablePaxDialog: !1
|
|
149
|
-
},
|
|
149
|
+
}, Se = {
|
|
150
150
|
dineIn: {
|
|
151
151
|
enabled: !1,
|
|
152
|
-
pickUp:
|
|
152
|
+
pickUp: H,
|
|
153
153
|
sequenceNumber: pe.parse({}),
|
|
154
|
-
displayStand:
|
|
154
|
+
displayStand: j
|
|
155
155
|
},
|
|
156
|
-
takeaway:
|
|
156
|
+
takeaway: He,
|
|
157
157
|
paymentSetting: {
|
|
158
158
|
paymentTypes: [],
|
|
159
159
|
offlinePaymentTypes: [],
|
|
@@ -174,6 +174,7 @@ const _e = {
|
|
|
174
174
|
menuItem: {
|
|
175
175
|
showAllOnly: !1
|
|
176
176
|
},
|
|
177
|
+
otaChannel: "",
|
|
177
178
|
coverImageLandscape: null,
|
|
178
179
|
coverImagePortrait: null
|
|
179
180
|
}, U = {
|
|
@@ -218,6 +219,7 @@ const _e = {
|
|
|
218
219
|
menuItem: {
|
|
219
220
|
showAllOnly: ((P = e == null ? void 0 : e.menuItem) == null ? void 0 : P.showAllOnly) ?? !1
|
|
220
221
|
},
|
|
222
|
+
otaChannel: (e == null ? void 0 : e.otaChannel) ?? "",
|
|
221
223
|
coverImageLandscape: (e == null ? void 0 : e.coverImageLandscape) ?? null,
|
|
222
224
|
coverImagePortrait: (e == null ? void 0 : e.coverImagePortrait) ?? null
|
|
223
225
|
};
|
|
@@ -233,7 +235,7 @@ const _e = {
|
|
|
233
235
|
paid: ((o = (n = t.pickUp.submitOrderInstruction) == null ? void 0 : n.paid) == null ? void 0 : o.en) ?? null
|
|
234
236
|
} : U,
|
|
235
237
|
enablePaxDialog: t.pickUp.enablePaxDialog ? t.pickUp.enablePaxDialog : !1
|
|
236
|
-
} :
|
|
238
|
+
} : H,
|
|
237
239
|
displayStand: t != null && t.displayStand ? {
|
|
238
240
|
enabled: t.displayStand.enabled,
|
|
239
241
|
standSlotRange: t.displayStand.standSlotRange,
|
|
@@ -244,7 +246,7 @@ const _e = {
|
|
|
244
246
|
payAtCounter: ((d = (i = t.displayStand.submitOrderInstruction) == null ? void 0 : i.payAtCounter) == null ? void 0 : d.en) ?? null,
|
|
245
247
|
paid: ((m = (a = t.displayStand.submitOrderInstruction) == null ? void 0 : a.paid) == null ? void 0 : m.en) ?? null
|
|
246
248
|
} : U
|
|
247
|
-
} :
|
|
249
|
+
} : j
|
|
248
250
|
};
|
|
249
251
|
}, Ge = (e) => {
|
|
250
252
|
const t = (n) => {
|
|
@@ -281,6 +283,7 @@ const _e = {
|
|
|
281
283
|
coverImageLandscape: e.coverImageLandscape,
|
|
282
284
|
coverImagePortrait: e.coverImagePortrait,
|
|
283
285
|
paymentSetting: r(e.paymentSetting),
|
|
286
|
+
otaChannel: e.otaChannel || void 0,
|
|
284
287
|
takeaway: e.takeaway.submitOrderInstruction ? {
|
|
285
288
|
submitOrderInstruction: {
|
|
286
289
|
payAtCounter: e.takeaway.submitOrderInstruction.payAtCounter ? {
|
|
@@ -302,18 +305,18 @@ const _e = {
|
|
|
302
305
|
} : {
|
|
303
306
|
kioskSettings: s()
|
|
304
307
|
};
|
|
305
|
-
},
|
|
308
|
+
}, W = {
|
|
306
309
|
convertOrderSettingDto: Ye,
|
|
307
310
|
toOrderKioskSettingsDto: Ge
|
|
308
311
|
}, Je = ve("orderSetting", () => {
|
|
309
|
-
const e =
|
|
312
|
+
const e = g({});
|
|
310
313
|
async function t() {
|
|
311
314
|
const o = await L.getOrderSetting();
|
|
312
315
|
r(o);
|
|
313
316
|
}
|
|
314
317
|
async function s() {
|
|
315
318
|
if (e.value.orderSetting && e.value.kiosk) {
|
|
316
|
-
const { _id: o, ...i } = e.value.orderSetting, d =
|
|
319
|
+
const { _id: o, ...i } = e.value.orderSetting, d = W.toOrderKioskSettingsDto(e.value.kiosk), a = {
|
|
317
320
|
...i,
|
|
318
321
|
kioskSettings: d.kioskSettings
|
|
319
322
|
}, m = await L.updateOrderSetting(a);
|
|
@@ -321,7 +324,7 @@ const _e = {
|
|
|
321
324
|
}
|
|
322
325
|
}
|
|
323
326
|
function r(o) {
|
|
324
|
-
e.value.orderSetting = o, e.value.kiosk =
|
|
327
|
+
e.value.orderSetting = o, e.value.kiosk = W.convertOrderSettingDto(o).kiosk;
|
|
325
328
|
}
|
|
326
329
|
function n(o) {
|
|
327
330
|
e.value.kiosk = o;
|
|
@@ -338,18 +341,18 @@ const _e = {
|
|
|
338
341
|
}, mt = /* @__PURE__ */ $({
|
|
339
342
|
__name: "KioskView",
|
|
340
343
|
setup(e) {
|
|
341
|
-
var
|
|
344
|
+
var B, O;
|
|
342
345
|
const { t } = F(), s = ae(
|
|
343
|
-
() => import("./KioskSettingView-
|
|
344
|
-
), r =
|
|
346
|
+
() => import("./KioskSettingView-CyAxzbP1.js")
|
|
347
|
+
), r = g("device"), n = ce(), o = Je(), i = me(), { currentRestaurant: d, restaurants: a, changeRestaurant: m } = ue(), v = ye(), _ = fe(), P = h(() => _.breakpoints.value.xs), C = g(((B = d.value) == null ? void 0 : B._id) ?? void 0), S = h(() => a.value.map((y) => ({
|
|
345
348
|
label: y.profile.name,
|
|
346
349
|
value: y._id
|
|
347
|
-
}))), w =
|
|
350
|
+
}))), w = g(((O = d.value) == null ? void 0 : O._id) ?? "");
|
|
348
351
|
function Y() {
|
|
349
352
|
var y;
|
|
350
353
|
i.open({
|
|
351
|
-
title:
|
|
352
|
-
contentComponent:
|
|
354
|
+
title: M(t("order.kioskSummary")),
|
|
355
|
+
contentComponent: N,
|
|
353
356
|
contentComponentProps: {
|
|
354
357
|
restaurantId: (y = d.value) == null ? void 0 : y._id,
|
|
355
358
|
devices: n.state.devices,
|
|
@@ -358,11 +361,11 @@ const _e = {
|
|
|
358
361
|
}
|
|
359
362
|
});
|
|
360
363
|
}
|
|
361
|
-
async function
|
|
364
|
+
async function q(y) {
|
|
362
365
|
const x = a.value.find((A) => A._id == y);
|
|
363
|
-
await m(x), await
|
|
366
|
+
await m(x), await R(), C.value = y, w.value = y;
|
|
364
367
|
}
|
|
365
|
-
async function
|
|
368
|
+
async function R() {
|
|
366
369
|
await o.getSetting(), await n.getDevices();
|
|
367
370
|
}
|
|
368
371
|
const z = h(() => [
|
|
@@ -374,11 +377,11 @@ const _e = {
|
|
|
374
377
|
label: t("order.settings"),
|
|
375
378
|
value: "setting"
|
|
376
379
|
}
|
|
377
|
-
]),
|
|
380
|
+
]), D = h(() => n.state.devices);
|
|
378
381
|
async function Q() {
|
|
379
382
|
await n.requestOtp(), i.open({
|
|
380
|
-
title:
|
|
381
|
-
contentComponent:
|
|
383
|
+
title: M(t("order.bindDevice")),
|
|
384
|
+
contentComponent: je,
|
|
382
385
|
contentComponentProps: {
|
|
383
386
|
otp: n.state.otp
|
|
384
387
|
}
|
|
@@ -401,15 +404,15 @@ const _e = {
|
|
|
401
404
|
}
|
|
402
405
|
return ne(async () => {
|
|
403
406
|
var y;
|
|
404
|
-
(y = d.value) != null && y._id && (w.value = d.value._id, await
|
|
407
|
+
(y = d.value) != null && y._id && (w.value = d.value._id, await R());
|
|
405
408
|
}), oe(
|
|
406
409
|
() => a.value.length,
|
|
407
410
|
async (y) => {
|
|
408
|
-
|
|
411
|
+
C.value === void 0 && a.value.length > 0 && await q(a.value[0]._id);
|
|
409
412
|
},
|
|
410
413
|
{ immediate: !0 }
|
|
411
414
|
), (y, x) => {
|
|
412
|
-
const A =
|
|
415
|
+
const A = T("FmButton"), J = T("FmPageHead"), X = T("FmTabs"), Z = T("FmSelect");
|
|
413
416
|
return p(), f("div", Xe, [
|
|
414
417
|
I(J, {
|
|
415
418
|
title: c(t)("order.kiosk")
|
|
@@ -439,33 +442,33 @@ const _e = {
|
|
|
439
442
|
l("span", ot, u(c(t)("order.selectRestaurant")) + ": ", 1),
|
|
440
443
|
I(Z, {
|
|
441
444
|
class: "w-1/2",
|
|
442
|
-
modelValue:
|
|
445
|
+
modelValue: C.value,
|
|
443
446
|
"onUpdate:modelValue": [
|
|
444
|
-
x[1] || (x[1] = (K) =>
|
|
445
|
-
|
|
447
|
+
x[1] || (x[1] = (K) => C.value = K),
|
|
448
|
+
q
|
|
446
449
|
],
|
|
447
|
-
items:
|
|
450
|
+
items: S.value,
|
|
448
451
|
placeholder: c(t)("order.selectItem")
|
|
449
452
|
}, null, 8, ["modelValue", "items", "placeholder"])
|
|
450
453
|
]),
|
|
451
454
|
r.value == "device" ? (p(), V(de, {
|
|
452
455
|
key: 0,
|
|
453
|
-
devices:
|
|
456
|
+
devices: D.value,
|
|
454
457
|
onRequestOtp: Q
|
|
455
458
|
}, null, 8, ["devices"])) : b("", !0),
|
|
456
459
|
r.value == "setting" ? (p(), V(c(s), {
|
|
457
460
|
key: `KioskSettingView-${w.value}`,
|
|
458
461
|
"restaurant-id": w.value,
|
|
459
462
|
onUpdateKioskOrderSetting: G,
|
|
460
|
-
form: c(o).state.kiosk ?? c(
|
|
463
|
+
form: c(o).state.kiosk ?? c(Se)
|
|
461
464
|
}, null, 8, ["restaurant-id", "form"])) : b("", !0)
|
|
462
465
|
])
|
|
463
466
|
])
|
|
464
467
|
]),
|
|
465
468
|
P.value ? b("", !0) : (p(), f("div", st, [
|
|
466
|
-
I(
|
|
469
|
+
I(N, {
|
|
467
470
|
"restaurant-id": w.value,
|
|
468
|
-
devices:
|
|
471
|
+
devices: D.value,
|
|
469
472
|
"kiosk-order-setting": c(o).state.kiosk,
|
|
470
473
|
dialogType: !1
|
|
471
474
|
}, null, 8, ["restaurant-id", "devices", "kiosk-order-setting"])
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as Ie, computed as ze, defineComponent as ot, onMounted as Jt, onUnmounted as Wi, resolveComponent as xe, createBlock as vt, openBlock as ye, withCtx as Ke, createElementVNode as ce, createElementBlock as je, createCommentVNode as Je, createVNode as oe, toDisplayString as Te, unref as ae, isRef as _n, Fragment as et, renderList as wt, watch as kt, renderSlot as gs, reactive as nu, createTextVNode as eu, normalizeClass as xn, withModifiers as ys, toRaw as Hn, normalizeStyle as vs, createSlots as ws, h as Qi, withKeys as ks, resolveDynamicComponent as Ms } from "vue";
|
|
2
2
|
import { useDialog as Xr, useSnackbar as Xi } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as dt, useCoreStore as _t } from "@feedmepos/mf-common";
|
|
4
|
-
import { h as fu, i as Ut, j as Es, k as Va, l as Ge, g as We, m as $u, S as gn, n as Nu, o as at, d as zt, p as iu, q as Kn, s as js, t as _s, r as zu, u as _r, v as Ha, O as Jn, w as Yn, x as Wn, y as Qn, z as xs, A as Ka, B as Ss } from "./menu.dto-
|
|
4
|
+
import { h as fu, i as Ut, j as Es, k as Va, l as Ge, g as We, m as $u, S as gn, n as Nu, o as at, d as zt, p as iu, q as Kn, s as js, t as _s, r as zu, u as _r, v as Ha, O as Jn, w as Yn, x as Wn, y as Qn, z as xs, A as Ka, B as Ss } from "./menu.dto-Csu6ZBea.js";
|
|
5
5
|
import { u as Vt, a as Yt, b as Cs, _ as As } from "./index-BXsnV_eO.js";
|
|
6
|
-
import { a as Fs, d as Lt } from "./dayjs.min-
|
|
6
|
+
import { a as Fs, d as Lt } from "./dayjs.min-puCJYept.js";
|
|
7
7
|
import { defineStore as Sn } from "pinia";
|
|
8
8
|
import { useRouter as Ts } from "vue-router";
|
|
9
|
-
import { c as Cn, d as cu, e as An, f as zs, h as yn, i as qs } from "./app-
|
|
10
|
-
import { O as pu, s as Ja, a as Is } from "./index-
|
|
9
|
+
import { c as Cn, d as cu, e as An, f as zs, h as yn, i as qs } from "./app-DaX8cX_Q.js";
|
|
10
|
+
import { O as pu, s as Ja, a as Is } from "./index-CtMw6yZU.js";
|
|
11
11
|
const Ps = {
|
|
12
12
|
"Bill Receipt Number": (g) => g.seqNumber ?? "*8888",
|
|
13
13
|
"Bill Receipt Total Amount (Net)": (g) => Es.Dinero.fromFdoDinero(g.nettTotal).toFormat(!0),
|