@feedmepos/mf-order-setting 0.0.34 → 0.0.36
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-BHzBoF_O.js → KioskDevicesView-wPKewwAS.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-C5JpMDP_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js} +2 -2
- package/dist/{KioskSettingView-i8tgH3dF.js → KioskSettingView-CV54HpY2.js} +142 -140
- package/dist/{KioskView-DW7vX6rJ.js → KioskView-B4mggCt0.js} +4 -4
- package/dist/OrderSettingsView-CKGRFx_2.js +50624 -0
- package/dist/{app-C15xKXga.js → app-D4exdzAx.js} +20 -15
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-KE7XM_kc.js → dayjs.min-C_sCJHuD.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +5 -0
- package/dist/frontend/mf-order/src/main.d.ts +5 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +393 -393
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +75 -75
- package/dist/frontend/mf-order/src/stores/table-settings.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +50 -50
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +5 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DGfFxIZo.js → index-Cvhc_ltu.js} +2 -2
- package/dist/menu.dto-CeUdKgTW.js +103445 -0
- package/dist/package/entity/booking/booking.do.d.ts +502 -502
- package/dist/package/entity/delivery/delivery.dto.d.ts +100 -100
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +17 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1973 -836
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +32 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +555 -555
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +5 -0
- package/dist/package/entity/order/order.dto.d.ts +208 -200
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +100 -100
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +100 -100
- package/dist/package/entity/order-platform/menu.dto.d.ts +410 -410
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +100 -100
- package/dist/package/entity/queue/queue.do.d.ts +34 -34
- package/package.json +3 -3
- package/src/locales/en-US.json +2 -0
- package/src/locales/th-TH.json +2 -0
- package/src/locales/zh-CN.json +1 -0
- package/src/stores/menu/menu.ts +1 -1
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +11 -1
- package/src/views/order-settings/delivery/DeliverySetting.vue +11 -16
- package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +26 -9
- package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +12 -1
- package/dist/OrderSettingsView-D3SQHET3.js +0 -74796
- package/dist/menu.dto-CLARGRsi.js +0 -126428
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as g, defineComponent as S, onMounted as f, resolveComponent as
|
|
1
|
+
import { ref as g, defineComponent as S, onMounted as f, resolveComponent as b, createElementBlock as h, openBlock as P, createVNode as D } from "vue";
|
|
2
2
|
import "vue-router";
|
|
3
3
|
const k = {
|
|
4
4
|
accept: "accept",
|
|
@@ -62,6 +62,7 @@ const k = {
|
|
|
62
62
|
customerItemRemarkSublabel: "Customer can attach remark to item",
|
|
63
63
|
customOfflinePayment: "Custom Offline Payment",
|
|
64
64
|
customOfflinePaymentHeader: "Custom offline payments",
|
|
65
|
+
customOrderNumber: "Custom order number",
|
|
65
66
|
customServiceCharge: "Custom Service Charge",
|
|
66
67
|
customTime: "Custom time",
|
|
67
68
|
day: "Day",
|
|
@@ -197,6 +198,7 @@ const k = {
|
|
|
197
198
|
terminalScanPay: "Terminal Scan Pay",
|
|
198
199
|
terminalQrPay: "Terminal QR Pay",
|
|
199
200
|
rate: "Rate",
|
|
201
|
+
rateLimitWarning: "Please wait for 1 minute and sync again.",
|
|
200
202
|
remoteId: "Remote ID",
|
|
201
203
|
restaurant: "Restaurant",
|
|
202
204
|
restaurantAsPickupPoint: "Restaurant as pickup point",
|
|
@@ -365,6 +367,7 @@ const k = {
|
|
|
365
367
|
customerItemRemarkSublabel: "客户可以为商品添加备注",
|
|
366
368
|
customOfflinePayment: "自定义线下付款方式",
|
|
367
369
|
customOfflinePaymentHeader: "自定义线下付款方式",
|
|
370
|
+
customOrderNumber: "自定义订单号码",
|
|
368
371
|
customServiceCharge: "自定义服务收费",
|
|
369
372
|
customTime: "自定义时间",
|
|
370
373
|
day: "天",
|
|
@@ -670,6 +673,7 @@ const k = {
|
|
|
670
673
|
customerItemRemarkSublabel: "ลูกค้าสามารถแนบหมายเหตุกับรายการได้",
|
|
671
674
|
customOfflinePayment: "การชำระเงินออฟไลน์แบบกำหนดเอง",
|
|
672
675
|
customOfflinePaymentHeader: "การชำระเงินออฟไลน์แบบกำหนดเอง",
|
|
676
|
+
customOrderNumber: "หมายเลขคำสั่งซื้อแบบกำหนดเอง",
|
|
673
677
|
customServiceCharge: "ค่าบริการแบบกำหนดเอง",
|
|
674
678
|
customTime: "เวลาแบบกำหนดเอง",
|
|
675
679
|
day: "วัน",
|
|
@@ -802,6 +806,7 @@ const k = {
|
|
|
802
806
|
terminalScanPay: "ชำระเงินด้วยการสแกนเทอร์มินัล",
|
|
803
807
|
terminalQrPay: "ชำระเงินด้วย QR เทอร์มินัล",
|
|
804
808
|
rate: "อัตรา",
|
|
809
|
+
rateLimitWarning: "กรุณารอ 1 นาทีแล้วซิงค์อีกครั้ง",
|
|
805
810
|
remoteId: "รหัสประจำตัวระยะไกล",
|
|
806
811
|
restaurant: "ร้านอาหาร",
|
|
807
812
|
restaurantAsPickupPoint: "ร้านอาหารเป็นจุดรับสินค้า",
|
|
@@ -906,7 +911,7 @@ const k = {
|
|
|
906
911
|
}, T = {
|
|
907
912
|
order: x
|
|
908
913
|
}, m = g(null), v = () => m.value;
|
|
909
|
-
function
|
|
914
|
+
function O(t) {
|
|
910
915
|
m.value || (m.value = t);
|
|
911
916
|
}
|
|
912
917
|
const B = Object.freeze({
|
|
@@ -936,7 +941,7 @@ function V({
|
|
|
936
941
|
}
|
|
937
942
|
return e.map((o) => ({ lat: o.lat(), lng: o.lng() }));
|
|
938
943
|
}
|
|
939
|
-
function
|
|
944
|
+
function W(t) {
|
|
940
945
|
if (!t.length) return;
|
|
941
946
|
const { lat: i, lng: e } = y(t[0]), { maxLng: a, minLng: r, maxLat: o, minLat: c } = t.reduce((n, p) => {
|
|
942
947
|
const { lng: s, lat: l } = y(p);
|
|
@@ -986,22 +991,22 @@ class d {
|
|
|
986
991
|
}
|
|
987
992
|
}
|
|
988
993
|
d.CALLBACK_NAME = "_dk_google_maps_loader_cb";
|
|
989
|
-
var
|
|
990
|
-
const w = { class: "flex-1 overflow-auto" },
|
|
994
|
+
var M = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" };
|
|
995
|
+
const w = { class: "flex-1 overflow-auto" }, Q = /* @__PURE__ */ S({
|
|
991
996
|
__name: "App",
|
|
992
997
|
setup(t) {
|
|
993
998
|
async function i() {
|
|
994
999
|
if (v()) return;
|
|
995
|
-
const a = await new d(
|
|
1000
|
+
const a = await new d(M.googleMap, {
|
|
996
1001
|
libraries: ["places"]
|
|
997
1002
|
}).load();
|
|
998
|
-
|
|
1003
|
+
O(a);
|
|
999
1004
|
}
|
|
1000
1005
|
return f(async () => {
|
|
1001
1006
|
await i();
|
|
1002
1007
|
}), (e, a) => {
|
|
1003
|
-
const r =
|
|
1004
|
-
return P(),
|
|
1008
|
+
const r = b("RouterView");
|
|
1009
|
+
return P(), h("div", w, [
|
|
1005
1010
|
D(r)
|
|
1006
1011
|
]);
|
|
1007
1012
|
};
|
|
@@ -1015,22 +1020,22 @@ const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
|
1015
1020
|
{
|
|
1016
1021
|
path: u.KioskRoute,
|
|
1017
1022
|
name: "Kiosk",
|
|
1018
|
-
component: () => import("./KioskView-
|
|
1023
|
+
component: () => import("./KioskView-B4mggCt0.js")
|
|
1019
1024
|
},
|
|
1020
1025
|
{
|
|
1021
1026
|
path: u.KioskDeviceRoute,
|
|
1022
1027
|
name: "Kiosk Device",
|
|
1023
|
-
component: () => import("./KioskDevicesView-
|
|
1028
|
+
component: () => import("./KioskDevicesView-wPKewwAS.js")
|
|
1024
1029
|
},
|
|
1025
1030
|
{
|
|
1026
1031
|
path: u.KioskOrderSettingRoute,
|
|
1027
1032
|
name: "Kiosk Order Setting",
|
|
1028
|
-
component: () => import("./KioskSettingView-
|
|
1033
|
+
component: () => import("./KioskSettingView-CV54HpY2.js")
|
|
1029
1034
|
},
|
|
1030
1035
|
{
|
|
1031
1036
|
path: u.OrderSettingView,
|
|
1032
1037
|
name: "Order Setting View",
|
|
1033
|
-
component: () => import("./OrderSettingsView-
|
|
1038
|
+
component: () => import("./OrderSettingsView-CKGRFx_2.js")
|
|
1034
1039
|
}
|
|
1035
1040
|
], H = {
|
|
1036
1041
|
"en-US": C,
|
|
@@ -1038,12 +1043,12 @@ const w = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
|
1038
1043
|
"th-TH": T
|
|
1039
1044
|
};
|
|
1040
1045
|
export {
|
|
1041
|
-
|
|
1046
|
+
Q as _,
|
|
1042
1047
|
y as a,
|
|
1043
1048
|
V as b,
|
|
1044
1049
|
B as c,
|
|
1045
1050
|
U as d,
|
|
1046
|
-
|
|
1051
|
+
W as e,
|
|
1047
1052
|
v as g,
|
|
1048
1053
|
H as i,
|
|
1049
1054
|
_ as r
|
package/dist/app.js
CHANGED
|
@@ -64,6 +64,7 @@ export declare const i18nMessages: {
|
|
|
64
64
|
customerItemRemarkSublabel: string;
|
|
65
65
|
customOfflinePayment: string;
|
|
66
66
|
customOfflinePaymentHeader: string;
|
|
67
|
+
customOrderNumber: string;
|
|
67
68
|
customServiceCharge: string;
|
|
68
69
|
customTime: string;
|
|
69
70
|
day: string;
|
|
@@ -199,6 +200,7 @@ export declare const i18nMessages: {
|
|
|
199
200
|
terminalScanPay: string;
|
|
200
201
|
terminalQrPay: string;
|
|
201
202
|
rate: string;
|
|
203
|
+
rateLimitWarning: string;
|
|
202
204
|
remoteId: string;
|
|
203
205
|
restaurant: string;
|
|
204
206
|
restaurantAsPickupPoint: string;
|
|
@@ -368,6 +370,7 @@ export declare const i18nMessages: {
|
|
|
368
370
|
customerItemRemarkSublabel: string;
|
|
369
371
|
customOfflinePayment: string;
|
|
370
372
|
customOfflinePaymentHeader: string;
|
|
373
|
+
customOrderNumber: string;
|
|
371
374
|
customServiceCharge: string;
|
|
372
375
|
customTime: string;
|
|
373
376
|
day: string;
|
|
@@ -674,6 +677,7 @@ export declare const i18nMessages: {
|
|
|
674
677
|
customerItemRemarkSublabel: string;
|
|
675
678
|
customOfflinePayment: string;
|
|
676
679
|
customOfflinePaymentHeader: string;
|
|
680
|
+
customOrderNumber: string;
|
|
677
681
|
customServiceCharge: string;
|
|
678
682
|
customTime: string;
|
|
679
683
|
day: string;
|
|
@@ -806,6 +810,7 @@ export declare const i18nMessages: {
|
|
|
806
810
|
terminalScanPay: string;
|
|
807
811
|
terminalQrPay: string;
|
|
808
812
|
rate: string;
|
|
813
|
+
rateLimitWarning: string;
|
|
809
814
|
remoteId: string;
|
|
810
815
|
restaurant: string;
|
|
811
816
|
restaurantAsPickupPoint: string;
|
|
@@ -63,6 +63,7 @@ export declare const i18nMessages: {
|
|
|
63
63
|
customerItemRemarkSublabel: string;
|
|
64
64
|
customOfflinePayment: string;
|
|
65
65
|
customOfflinePaymentHeader: string;
|
|
66
|
+
customOrderNumber: string;
|
|
66
67
|
customServiceCharge: string;
|
|
67
68
|
customTime: string;
|
|
68
69
|
day: string;
|
|
@@ -198,6 +199,7 @@ export declare const i18nMessages: {
|
|
|
198
199
|
terminalScanPay: string;
|
|
199
200
|
terminalQrPay: string;
|
|
200
201
|
rate: string;
|
|
202
|
+
rateLimitWarning: string;
|
|
201
203
|
remoteId: string;
|
|
202
204
|
restaurant: string;
|
|
203
205
|
restaurantAsPickupPoint: string;
|
|
@@ -367,6 +369,7 @@ export declare const i18nMessages: {
|
|
|
367
369
|
customerItemRemarkSublabel: string;
|
|
368
370
|
customOfflinePayment: string;
|
|
369
371
|
customOfflinePaymentHeader: string;
|
|
372
|
+
customOrderNumber: string;
|
|
370
373
|
customServiceCharge: string;
|
|
371
374
|
customTime: string;
|
|
372
375
|
day: string;
|
|
@@ -673,6 +676,7 @@ export declare const i18nMessages: {
|
|
|
673
676
|
customerItemRemarkSublabel: string;
|
|
674
677
|
customOfflinePayment: string;
|
|
675
678
|
customOfflinePaymentHeader: string;
|
|
679
|
+
customOrderNumber: string;
|
|
676
680
|
customServiceCharge: string;
|
|
677
681
|
customTime: string;
|
|
678
682
|
day: string;
|
|
@@ -805,6 +809,7 @@ export declare const i18nMessages: {
|
|
|
805
809
|
terminalScanPay: string;
|
|
806
810
|
terminalQrPay: string;
|
|
807
811
|
rate: string;
|
|
812
|
+
rateLimitWarning: string;
|
|
808
813
|
remoteId: string;
|
|
809
814
|
restaurant: string;
|
|
810
815
|
restaurantAsPickupPoint: string;
|