@feedmepos/mf-order-setting 0.0.56 → 0.0.57-prod
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-69arsdyn.js +744 -0
- package/dist/{KioskView-Cl6eCUYX.js → KioskView-hndM6pEn.js} +60 -57
- package/dist/{OrderSettingsView-Dj0Nd22Z.js → OrderSettingsView-BBOKp6kp.js} +4 -4
- package/dist/{app-DpOjaFJw.js → app-SgEu0Zl4.js} +77 -69
- 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
|
@@ -439,6 +439,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
|
|
|
439
439
|
}, {
|
|
440
440
|
showAllOnly: boolean;
|
|
441
441
|
}>>>;
|
|
442
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
442
443
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
443
444
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
444
445
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -497,6 +498,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
|
|
|
497
498
|
menuItem?: {
|
|
498
499
|
showAllOnly: boolean;
|
|
499
500
|
} | null | undefined;
|
|
501
|
+
otaChannel?: string | null | undefined;
|
|
500
502
|
coverImageLandscape?: string | null | undefined;
|
|
501
503
|
coverImagePortrait?: string | null | undefined;
|
|
502
504
|
}, {
|
|
@@ -555,6 +557,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
|
|
|
555
557
|
menuItem?: {
|
|
556
558
|
showAllOnly: boolean;
|
|
557
559
|
} | null | undefined;
|
|
560
|
+
otaChannel?: string | null | undefined;
|
|
558
561
|
coverImageLandscape?: string | null | undefined;
|
|
559
562
|
coverImagePortrait?: string | null | undefined;
|
|
560
563
|
}>;
|
|
@@ -638,6 +638,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
|
|
|
638
638
|
}, {
|
|
639
639
|
showAllOnly: boolean;
|
|
640
640
|
}>>>;
|
|
641
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
641
642
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
642
643
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
643
644
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -696,6 +697,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
|
|
|
696
697
|
menuItem?: {
|
|
697
698
|
showAllOnly: boolean;
|
|
698
699
|
} | null | undefined;
|
|
700
|
+
otaChannel?: string | null | undefined;
|
|
699
701
|
coverImageLandscape?: string | null | undefined;
|
|
700
702
|
coverImagePortrait?: string | null | undefined;
|
|
701
703
|
}, {
|
|
@@ -754,6 +756,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
|
|
|
754
756
|
menuItem?: {
|
|
755
757
|
showAllOnly: boolean;
|
|
756
758
|
} | null | undefined;
|
|
759
|
+
otaChannel?: string | null | undefined;
|
|
757
760
|
coverImageLandscape?: string | null | undefined;
|
|
758
761
|
coverImagePortrait?: string | null | undefined;
|
|
759
762
|
}>>;
|
|
@@ -722,6 +722,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
722
722
|
}, {
|
|
723
723
|
showAllOnly: boolean;
|
|
724
724
|
}>>>;
|
|
725
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
725
726
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
726
727
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
727
728
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -780,6 +781,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
780
781
|
menuItem?: {
|
|
781
782
|
showAllOnly: boolean;
|
|
782
783
|
} | null | undefined;
|
|
784
|
+
otaChannel?: string | null | undefined;
|
|
783
785
|
coverImageLandscape?: string | null | undefined;
|
|
784
786
|
coverImagePortrait?: string | null | undefined;
|
|
785
787
|
}, {
|
|
@@ -838,6 +840,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
838
840
|
menuItem?: {
|
|
839
841
|
showAllOnly: boolean;
|
|
840
842
|
} | null | undefined;
|
|
843
|
+
otaChannel?: string | null | undefined;
|
|
841
844
|
coverImageLandscape?: string | null | undefined;
|
|
842
845
|
coverImagePortrait?: string | null | undefined;
|
|
843
846
|
}>>>;
|
|
@@ -1157,6 +1160,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1157
1160
|
menuItem?: {
|
|
1158
1161
|
showAllOnly: boolean;
|
|
1159
1162
|
} | null | undefined;
|
|
1163
|
+
otaChannel?: string | null | undefined;
|
|
1160
1164
|
coverImageLandscape?: string | null | undefined;
|
|
1161
1165
|
coverImagePortrait?: string | null | undefined;
|
|
1162
1166
|
} | null | undefined;
|
|
@@ -1350,6 +1354,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1350
1354
|
menuItem?: {
|
|
1351
1355
|
showAllOnly: boolean;
|
|
1352
1356
|
} | null | undefined;
|
|
1357
|
+
otaChannel?: string | null | undefined;
|
|
1353
1358
|
coverImageLandscape?: string | null | undefined;
|
|
1354
1359
|
coverImagePortrait?: string | null | undefined;
|
|
1355
1360
|
} | null | undefined;
|
|
@@ -514,6 +514,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
514
514
|
}, {
|
|
515
515
|
showAllOnly: boolean;
|
|
516
516
|
}>>>;
|
|
517
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
517
518
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
518
519
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
519
520
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -572,6 +573,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
572
573
|
menuItem?: {
|
|
573
574
|
showAllOnly: boolean;
|
|
574
575
|
} | null | undefined;
|
|
576
|
+
otaChannel?: string | null | undefined;
|
|
575
577
|
coverImageLandscape?: string | null | undefined;
|
|
576
578
|
coverImagePortrait?: string | null | undefined;
|
|
577
579
|
}, {
|
|
@@ -630,6 +632,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
630
632
|
menuItem?: {
|
|
631
633
|
showAllOnly: boolean;
|
|
632
634
|
} | null | undefined;
|
|
635
|
+
otaChannel?: string | null | undefined;
|
|
633
636
|
coverImageLandscape?: string | null | undefined;
|
|
634
637
|
coverImagePortrait?: string | null | undefined;
|
|
635
638
|
}>>>>;
|
|
@@ -1122,6 +1125,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1122
1125
|
menuItem?: {
|
|
1123
1126
|
showAllOnly: boolean;
|
|
1124
1127
|
} | null | undefined;
|
|
1128
|
+
otaChannel?: string | null | undefined;
|
|
1125
1129
|
coverImageLandscape?: string | null | undefined;
|
|
1126
1130
|
coverImagePortrait?: string | null | undefined;
|
|
1127
1131
|
} | null | undefined;
|
|
@@ -1315,6 +1319,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1315
1319
|
menuItem?: {
|
|
1316
1320
|
showAllOnly: boolean;
|
|
1317
1321
|
} | null | undefined;
|
|
1322
|
+
otaChannel?: string | null | undefined;
|
|
1318
1323
|
coverImageLandscape?: string | null | undefined;
|
|
1319
1324
|
coverImagePortrait?: string | null | undefined;
|
|
1320
1325
|
} | null | undefined;
|
|
@@ -1937,6 +1942,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
|
|
|
1937
1942
|
}, {
|
|
1938
1943
|
showAllOnly: boolean;
|
|
1939
1944
|
}>>>;
|
|
1945
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1940
1946
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1941
1947
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1942
1948
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1995,6 +2001,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
|
|
|
1995
2001
|
menuItem?: {
|
|
1996
2002
|
showAllOnly: boolean;
|
|
1997
2003
|
} | null | undefined;
|
|
2004
|
+
otaChannel?: string | null | undefined;
|
|
1998
2005
|
coverImageLandscape?: string | null | undefined;
|
|
1999
2006
|
coverImagePortrait?: string | null | undefined;
|
|
2000
2007
|
}, {
|
|
@@ -2053,6 +2060,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
|
|
|
2053
2060
|
menuItem?: {
|
|
2054
2061
|
showAllOnly: boolean;
|
|
2055
2062
|
} | null | undefined;
|
|
2063
|
+
otaChannel?: string | null | undefined;
|
|
2056
2064
|
coverImageLandscape?: string | null | undefined;
|
|
2057
2065
|
coverImagePortrait?: string | null | undefined;
|
|
2058
2066
|
}>>>>;
|
|
@@ -2545,6 +2553,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
|
|
|
2545
2553
|
menuItem?: {
|
|
2546
2554
|
showAllOnly: boolean;
|
|
2547
2555
|
} | null | undefined;
|
|
2556
|
+
otaChannel?: string | null | undefined;
|
|
2548
2557
|
coverImageLandscape?: string | null | undefined;
|
|
2549
2558
|
coverImagePortrait?: string | null | undefined;
|
|
2550
2559
|
} | null | undefined;
|
|
@@ -2737,6 +2746,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
|
|
|
2737
2746
|
menuItem?: {
|
|
2738
2747
|
showAllOnly: boolean;
|
|
2739
2748
|
} | null | undefined;
|
|
2749
|
+
otaChannel?: string | null | undefined;
|
|
2740
2750
|
coverImageLandscape?: string | null | undefined;
|
|
2741
2751
|
coverImagePortrait?: string | null | undefined;
|
|
2742
2752
|
} | null | undefined;
|
|
@@ -3861,6 +3861,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3861
3861
|
}, {
|
|
3862
3862
|
showAllOnly: boolean;
|
|
3863
3863
|
}>>>;
|
|
3864
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3864
3865
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3865
3866
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3866
3867
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3919,6 +3920,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3919
3920
|
menuItem?: {
|
|
3920
3921
|
showAllOnly: boolean;
|
|
3921
3922
|
} | null | undefined;
|
|
3923
|
+
otaChannel?: string | null | undefined;
|
|
3922
3924
|
coverImageLandscape?: string | null | undefined;
|
|
3923
3925
|
coverImagePortrait?: string | null | undefined;
|
|
3924
3926
|
}, {
|
|
@@ -3977,6 +3979,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3977
3979
|
menuItem?: {
|
|
3978
3980
|
showAllOnly: boolean;
|
|
3979
3981
|
} | null | undefined;
|
|
3982
|
+
otaChannel?: string | null | undefined;
|
|
3980
3983
|
coverImageLandscape?: string | null | undefined;
|
|
3981
3984
|
coverImagePortrait?: string | null | undefined;
|
|
3982
3985
|
}>>>>;
|
|
@@ -4431,6 +4434,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4431
4434
|
menuItem?: {
|
|
4432
4435
|
showAllOnly: boolean;
|
|
4433
4436
|
} | null | undefined;
|
|
4437
|
+
otaChannel?: string | null | undefined;
|
|
4434
4438
|
coverImageLandscape?: string | null | undefined;
|
|
4435
4439
|
coverImagePortrait?: string | null | undefined;
|
|
4436
4440
|
} | null | undefined;
|
|
@@ -4687,6 +4691,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4687
4691
|
menuItem?: {
|
|
4688
4692
|
showAllOnly: boolean;
|
|
4689
4693
|
} | null | undefined;
|
|
4694
|
+
otaChannel?: string | null | undefined;
|
|
4690
4695
|
coverImageLandscape?: string | null | undefined;
|
|
4691
4696
|
coverImagePortrait?: string | null | undefined;
|
|
4692
4697
|
} | null | undefined;
|
|
@@ -488,6 +488,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
|
|
|
488
488
|
}, {
|
|
489
489
|
showAllOnly: boolean;
|
|
490
490
|
}>>>;
|
|
491
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
491
492
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
492
493
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
493
494
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -546,6 +547,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
|
|
|
546
547
|
menuItem?: {
|
|
547
548
|
showAllOnly: boolean;
|
|
548
549
|
} | null | undefined;
|
|
550
|
+
otaChannel?: string | null | undefined;
|
|
549
551
|
coverImageLandscape?: string | null | undefined;
|
|
550
552
|
coverImagePortrait?: string | null | undefined;
|
|
551
553
|
}, {
|
|
@@ -604,6 +606,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
|
|
|
604
606
|
menuItem?: {
|
|
605
607
|
showAllOnly: boolean;
|
|
606
608
|
} | null | undefined;
|
|
609
|
+
otaChannel?: string | null | undefined;
|
|
607
610
|
coverImageLandscape?: string | null | undefined;
|
|
608
611
|
coverImagePortrait?: string | null | undefined;
|
|
609
612
|
}>>;
|
|
@@ -664,6 +667,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
|
|
|
664
667
|
menuItem?: {
|
|
665
668
|
showAllOnly: boolean;
|
|
666
669
|
} | null | undefined;
|
|
670
|
+
otaChannel?: string | null | undefined;
|
|
667
671
|
coverImageLandscape?: string | null | undefined;
|
|
668
672
|
coverImagePortrait?: string | null | undefined;
|
|
669
673
|
};
|
|
@@ -725,6 +729,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
|
|
|
725
729
|
menuItem?: {
|
|
726
730
|
showAllOnly: boolean;
|
|
727
731
|
} | null | undefined;
|
|
732
|
+
otaChannel?: string | null | undefined;
|
|
728
733
|
coverImageLandscape?: string | null | undefined;
|
|
729
734
|
coverImagePortrait?: string | null | undefined;
|
|
730
735
|
} | undefined;
|
|
@@ -1184,6 +1189,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1184
1189
|
}, {
|
|
1185
1190
|
showAllOnly: boolean;
|
|
1186
1191
|
}>>>;
|
|
1192
|
+
otaChannel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1187
1193
|
coverImageLandscape: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1188
1194
|
coverImagePortrait: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1189
1195
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1242,6 +1248,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1242
1248
|
menuItem?: {
|
|
1243
1249
|
showAllOnly: boolean;
|
|
1244
1250
|
} | null | undefined;
|
|
1251
|
+
otaChannel?: string | null | undefined;
|
|
1245
1252
|
coverImageLandscape?: string | null | undefined;
|
|
1246
1253
|
coverImagePortrait?: string | null | undefined;
|
|
1247
1254
|
}, {
|
|
@@ -1300,6 +1307,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1300
1307
|
menuItem?: {
|
|
1301
1308
|
showAllOnly: boolean;
|
|
1302
1309
|
} | null | undefined;
|
|
1310
|
+
otaChannel?: string | null | undefined;
|
|
1303
1311
|
coverImageLandscape?: string | null | undefined;
|
|
1304
1312
|
coverImagePortrait?: string | null | undefined;
|
|
1305
1313
|
}>>;
|
|
@@ -1360,6 +1368,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1360
1368
|
menuItem?: {
|
|
1361
1369
|
showAllOnly: boolean;
|
|
1362
1370
|
} | null | undefined;
|
|
1371
|
+
otaChannel?: string | null | undefined;
|
|
1363
1372
|
coverImageLandscape?: string | null | undefined;
|
|
1364
1373
|
coverImagePortrait?: string | null | undefined;
|
|
1365
1374
|
};
|
|
@@ -1421,6 +1430,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1421
1430
|
menuItem?: {
|
|
1422
1431
|
showAllOnly: boolean;
|
|
1423
1432
|
} | null | undefined;
|
|
1433
|
+
otaChannel?: string | null | undefined;
|
|
1424
1434
|
coverImageLandscape?: string | null | undefined;
|
|
1425
1435
|
coverImagePortrait?: string | null | undefined;
|
|
1426
1436
|
} | undefined;
|
|
@@ -1530,6 +1540,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1530
1540
|
menuItem?: {
|
|
1531
1541
|
showAllOnly: boolean;
|
|
1532
1542
|
} | null | undefined;
|
|
1543
|
+
otaChannel?: string | null | undefined;
|
|
1533
1544
|
coverImageLandscape?: string | null | undefined;
|
|
1534
1545
|
coverImagePortrait?: string | null | undefined;
|
|
1535
1546
|
};
|
|
@@ -1640,6 +1651,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
|
|
|
1640
1651
|
menuItem?: {
|
|
1641
1652
|
showAllOnly: boolean;
|
|
1642
1653
|
} | null | undefined;
|
|
1654
|
+
otaChannel?: string | null | undefined;
|
|
1643
1655
|
coverImageLandscape?: string | null | undefined;
|
|
1644
1656
|
coverImagePortrait?: string | null | undefined;
|
|
1645
1657
|
} | undefined;
|
package/package.json
CHANGED
package/src/locales/en-US.json
CHANGED
|
@@ -95,6 +95,8 @@
|
|
|
95
95
|
"deliveryZone": "Delivery Zone",
|
|
96
96
|
"deviceBinding": "Device Binding",
|
|
97
97
|
"deviceDetails": "Device Details",
|
|
98
|
+
"otaChannel": "OTA channel",
|
|
99
|
+
"otaChannelHint": "Optional. Leave blank to use the default OTA feed.",
|
|
98
100
|
"dineIn": "Dine In",
|
|
99
101
|
"dineInCanTakeaway": "Allow Takeaway",
|
|
100
102
|
"driveThru": "Drive Thru",
|
package/src/locales/ja-JP.json
CHANGED
|
@@ -91,15 +91,17 @@
|
|
|
91
91
|
"deliveryOrder": "配達注文",
|
|
92
92
|
"deliveryTerm": "配達条件",
|
|
93
93
|
"deliveryTime": "配達時間",
|
|
94
|
-
"deliveryTitle": "{company}配達",
|
|
95
|
-
"deliveryZone": "配達エリア",
|
|
96
|
-
"deviceBinding": "デバイス紐付け",
|
|
97
|
-
"deviceDetails": "デバイス詳細",
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
94
|
+
"deliveryTitle": "{company}配達",
|
|
95
|
+
"deliveryZone": "配達エリア",
|
|
96
|
+
"deviceBinding": "デバイス紐付け",
|
|
97
|
+
"deviceDetails": "デバイス詳細",
|
|
98
|
+
"otaChannel": "OTAチャネル",
|
|
99
|
+
"otaChannelHint": "任意。空欄の場合はデフォルトのOTAフィードを使用します。",
|
|
100
|
+
"dineIn": "店内飲食",
|
|
101
|
+
"dineInCanTakeaway": "テイクアウト許可",
|
|
102
|
+
"driveThru": "ドライブスルー",
|
|
103
|
+
"driveThruSettingUpdated": "ドライブスルー設定が更新されました。",
|
|
104
|
+
"enableDriveThru": "ドライブスルーを有効にする",
|
|
103
105
|
"enableDriveThruSublabel": "お客様向けのドライブスルー注文を有効にする",
|
|
104
106
|
"dineInType": "店内飲食タイプ",
|
|
105
107
|
"discountCampaign": "割引キャンペーン",
|
package/src/locales/th-TH.json
CHANGED
|
@@ -95,6 +95,8 @@
|
|
|
95
95
|
"deliveryZone": "โซนการจัดส่ง",
|
|
96
96
|
"deviceBinding": "การผูกอุปกรณ์",
|
|
97
97
|
"deviceDetails": "รายละเอียดอุปกรณ์",
|
|
98
|
+
"otaChannel": "ช่อง OTA",
|
|
99
|
+
"otaChannelHint": "ไม่บังคับ เว้นว่างเพื่อใช้ฟีด OTA เริ่มต้น",
|
|
98
100
|
"dineIn": "รับประทานอาหารที่ร้าน",
|
|
99
101
|
"dineInCanTakeaway": "อนุญาตให้นำกลับบ้าน",
|
|
100
102
|
"driveThru": "ไดรฟ์ทรู",
|
package/src/locales/zh-CN.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -35,15 +35,15 @@ function initI18n(): I18n {
|
|
|
35
35
|
|
|
36
36
|
const app = createApp(Entry)
|
|
37
37
|
|
|
38
|
-
app.use(initI18n())
|
|
39
|
-
app.use(createPinia())
|
|
40
|
-
app.use(router)
|
|
41
|
-
|
|
42
|
-
|
|
43
38
|
app.use(FeedMeUI, {
|
|
44
39
|
locale: detectLocale(),
|
|
45
40
|
})
|
|
46
41
|
|
|
42
|
+
app.use(createPinia() as any)
|
|
43
|
+
app.use(router)
|
|
44
|
+
app.use(initI18n() as any)
|
|
45
|
+
|
|
46
|
+
|
|
47
47
|
const CoreStore = useCoreStore();
|
|
48
48
|
const iframeMode = computed(() => {
|
|
49
49
|
return new URLSearchParams(window.location.search).get('iframe') === 'true';
|
|
@@ -75,27 +75,29 @@ export type KioskPaymentTypesForm = MfKioskPaymentTypes;
|
|
|
75
75
|
|
|
76
76
|
export type KioskPaymentSettingForm = MfKioskPaymentSetting;
|
|
77
77
|
|
|
78
|
-
export interface MfKioskOrderSetting {
|
|
79
|
-
dineIn: MfKioskDineInSetting,
|
|
80
|
-
takeaway: MfKioskTakeawaySetting,
|
|
81
|
-
paymentSetting: MfKioskPaymentSetting,
|
|
82
|
-
menuItem: MfKioskOrderSettingMenuItemForm,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
export interface MfKioskOrderSetting {
|
|
79
|
+
dineIn: MfKioskDineInSetting,
|
|
80
|
+
takeaway: MfKioskTakeawaySetting,
|
|
81
|
+
paymentSetting: MfKioskPaymentSetting,
|
|
82
|
+
menuItem: MfKioskOrderSettingMenuItemForm,
|
|
83
|
+
otaChannel?: string | null,
|
|
84
|
+
coverImageLandscape: string | null,
|
|
85
|
+
coverImagePortrait: string | null,
|
|
86
|
+
}
|
|
86
87
|
|
|
87
88
|
export interface MfKioskOrderSettingMenuItemForm {
|
|
88
89
|
showAllOnly: boolean,
|
|
89
90
|
}
|
|
90
91
|
|
|
91
|
-
export interface MfKioskOrderSettingForm {
|
|
92
|
-
dineIn: KioskDineInSettingForm,
|
|
93
|
-
takeaway: KioskTakeawaySettingForm,
|
|
94
|
-
paymentSetting: KioskPaymentSettingForm,
|
|
95
|
-
menuItem: KioskMenuItemSettingForm,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
export interface MfKioskOrderSettingForm {
|
|
93
|
+
dineIn: KioskDineInSettingForm,
|
|
94
|
+
takeaway: KioskTakeawaySettingForm,
|
|
95
|
+
paymentSetting: KioskPaymentSettingForm,
|
|
96
|
+
menuItem: KioskMenuItemSettingForm,
|
|
97
|
+
otaChannel?: string | null,
|
|
98
|
+
coverImageLandscape: string | null,
|
|
99
|
+
coverImagePortrait: string | null,
|
|
100
|
+
}
|
|
99
101
|
|
|
100
102
|
export type KioskPickAtCounterSettingForm = MfKioskPickAtCounterSetting;
|
|
101
103
|
export type KioskMenuItemSettingForm = MfKioskOrderSettingMenuItemForm;
|
|
@@ -104,4 +106,4 @@ export interface KioskDineInSettingForm {
|
|
|
104
106
|
sequenceNumber: MfKioskSequenceNumberSetting,
|
|
105
107
|
displayStand: DisplayStandSettingForm,
|
|
106
108
|
pickUp: KioskPickAtCounterSettingForm,
|
|
107
|
-
}
|
|
109
|
+
}
|
|
@@ -50,7 +50,7 @@ export const defaultPickUp: KioskPickAtCounterSettingForm = {
|
|
|
50
50
|
enablePaxDialog: false
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export const defaultKioskOrderSetting: MfKioskOrderSettingForm = {
|
|
53
|
+
export const defaultKioskOrderSetting: MfKioskOrderSettingForm = {
|
|
54
54
|
dineIn: {
|
|
55
55
|
enabled: false,
|
|
56
56
|
pickUp: defaultPickUp,
|
|
@@ -74,13 +74,14 @@ export const defaultKioskOrderSetting: MfKioskOrderSettingForm = {
|
|
|
74
74
|
scanPay: false
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
},
|
|
78
|
-
menuItem: {
|
|
79
|
-
showAllOnly: false
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
},
|
|
78
|
+
menuItem: {
|
|
79
|
+
showAllOnly: false
|
|
80
|
+
},
|
|
81
|
+
otaChannel: '',
|
|
82
|
+
coverImageLandscape: null,
|
|
83
|
+
coverImagePortrait: null
|
|
84
|
+
}
|
|
84
85
|
|
|
85
86
|
export const defaultSubmitOrderInstruction: MfKioskSubmitOrderInstruction = {
|
|
86
87
|
payAtCounter: null,
|
|
@@ -109,10 +110,10 @@ const toKiosk = (
|
|
|
109
110
|
enabled: kioskOrderSettings?.canTakeaway ?? false,
|
|
110
111
|
submitOrderInstruction: kioskOrderSettings?.takeaway?.submitOrderInstruction
|
|
111
112
|
? {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
payAtCounter:
|
|
114
|
+
kioskOrderSettings?.takeaway?.submitOrderInstruction?.payAtCounter?.['en'] ?? null,
|
|
115
|
+
paid: kioskOrderSettings?.takeaway?.submitOrderInstruction?.paid?.['en'] ?? null
|
|
116
|
+
}
|
|
116
117
|
: defaultSubmitOrderInstruction
|
|
117
118
|
},
|
|
118
119
|
paymentSetting: {
|
|
@@ -131,13 +132,14 @@ const toKiosk = (
|
|
|
131
132
|
}
|
|
132
133
|
})
|
|
133
134
|
},
|
|
134
|
-
menuItem: {
|
|
135
|
-
showAllOnly: kioskOrderSettings?.menuItem?.showAllOnly ?? false
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
135
|
+
menuItem: {
|
|
136
|
+
showAllOnly: kioskOrderSettings?.menuItem?.showAllOnly ?? false
|
|
137
|
+
},
|
|
138
|
+
otaChannel: kioskOrderSettings?.otaChannel ?? '',
|
|
139
|
+
coverImageLandscape: kioskOrderSettings?.coverImageLandscape ?? null,
|
|
140
|
+
coverImagePortrait: kioskOrderSettings?.coverImagePortrait ?? null
|
|
141
|
+
}
|
|
142
|
+
}
|
|
141
143
|
|
|
142
144
|
const toKioskDineInSetting = (
|
|
143
145
|
kioskDineInSeq: OrderKioskDineInSequenceDto,
|
|
@@ -148,35 +150,35 @@ const toKioskDineInSetting = (
|
|
|
148
150
|
sequenceNumber: kioskDineInSeq,
|
|
149
151
|
pickUp: kioskDineInSetting?.pickUp
|
|
150
152
|
? {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
...kioskDineInSetting.pickUp,
|
|
154
|
+
submitOrderInstruction: kioskDineInSetting.pickUp.submitOrderInstruction
|
|
155
|
+
? {
|
|
156
|
+
payAtCounter:
|
|
157
|
+
kioskDineInSetting.pickUp.submitOrderInstruction?.payAtCounter?.['en'] ?? null,
|
|
158
|
+
paid: kioskDineInSetting.pickUp.submitOrderInstruction?.paid?.['en'] ?? null
|
|
159
|
+
}
|
|
160
|
+
: defaultSubmitOrderInstruction,
|
|
161
|
+
enablePaxDialog: kioskDineInSetting.pickUp.enablePaxDialog
|
|
162
|
+
? kioskDineInSetting.pickUp.enablePaxDialog
|
|
163
|
+
: false
|
|
164
|
+
}
|
|
163
165
|
: defaultPickUp,
|
|
164
166
|
displayStand: kioskDineInSetting?.displayStand
|
|
165
167
|
? {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
168
|
+
enabled: kioskDineInSetting.displayStand.enabled,
|
|
169
|
+
standSlotRange: kioskDineInSetting.displayStand.standSlotRange,
|
|
170
|
+
prefix: kioskDineInSetting.displayStand.prefix,
|
|
171
|
+
padDigit: kioskDineInSetting.displayStand.padDigit,
|
|
172
|
+
enablePaxDialog: kioskDineInSetting.displayStand.enablePaxDialog ?? false,
|
|
173
|
+
submitOrderInstruction: kioskDineInSetting.displayStand.submitOrderInstruction
|
|
174
|
+
? {
|
|
175
|
+
payAtCounter:
|
|
176
|
+
kioskDineInSetting.displayStand.submitOrderInstruction?.payAtCounter?.['en'] ??
|
|
177
|
+
null,
|
|
178
|
+
paid: kioskDineInSetting.displayStand.submitOrderInstruction?.paid?.['en'] ?? null
|
|
179
|
+
}
|
|
180
|
+
: defaultSubmitOrderInstruction
|
|
181
|
+
}
|
|
180
182
|
: defaultDisplayStand
|
|
181
183
|
}
|
|
182
184
|
}
|
|
@@ -193,13 +195,13 @@ const toOrderKioskSettingsDto = (
|
|
|
193
195
|
submitOrderInstruction: {
|
|
194
196
|
payAtCounter: dineInSetting.displayStand.submitOrderInstruction?.payAtCounter
|
|
195
197
|
? {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
+
en: dineInSetting.displayStand.submitOrderInstruction.payAtCounter
|
|
199
|
+
}
|
|
198
200
|
: null,
|
|
199
201
|
paid: dineInSetting.displayStand.submitOrderInstruction?.paid
|
|
200
202
|
? {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
en: dineInSetting.displayStand.submitOrderInstruction.paid
|
|
204
|
+
}
|
|
203
205
|
: null
|
|
204
206
|
}
|
|
205
207
|
},
|
|
@@ -208,27 +210,28 @@ const toOrderKioskSettingsDto = (
|
|
|
208
210
|
submitOrderInstruction: {
|
|
209
211
|
payAtCounter: dineInSetting.pickUp.submitOrderInstruction?.payAtCounter
|
|
210
212
|
? {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
en: dineInSetting.pickUp.submitOrderInstruction.payAtCounter
|
|
214
|
+
}
|
|
213
215
|
: null,
|
|
214
216
|
paid: dineInSetting.pickUp.submitOrderInstruction?.paid
|
|
215
217
|
? {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
en: dineInSetting.pickUp.submitOrderInstruction.paid
|
|
219
|
+
}
|
|
218
220
|
: null
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
})
|
|
222
224
|
|
|
223
|
-
const createKioskSettings = (dineIn?: OrderKioskDineIn): OrderKioskSettings => ({
|
|
224
|
-
canTakeaway: kioskSetting.takeaway.enabled,
|
|
225
|
-
dineIn,
|
|
226
|
-
menuItem: kioskSetting.menuItem,
|
|
227
|
-
coverImageLandscape: kioskSetting.coverImageLandscape,
|
|
228
|
-
coverImagePortrait: kioskSetting.coverImagePortrait,
|
|
229
|
-
paymentSetting: createPaymentSettings(kioskSetting.paymentSetting),
|
|
230
|
-
|
|
231
|
-
|
|
225
|
+
const createKioskSettings = (dineIn?: OrderKioskDineIn): OrderKioskSettings => ({
|
|
226
|
+
canTakeaway: kioskSetting.takeaway.enabled,
|
|
227
|
+
dineIn,
|
|
228
|
+
menuItem: kioskSetting.menuItem,
|
|
229
|
+
coverImageLandscape: kioskSetting.coverImageLandscape,
|
|
230
|
+
coverImagePortrait: kioskSetting.coverImagePortrait,
|
|
231
|
+
paymentSetting: createPaymentSettings(kioskSetting.paymentSetting),
|
|
232
|
+
otaChannel: kioskSetting.otaChannel || undefined,
|
|
233
|
+
takeaway: kioskSetting.takeaway.submitOrderInstruction
|
|
234
|
+
? {
|
|
232
235
|
submitOrderInstruction: {
|
|
233
236
|
payAtCounter: kioskSetting.takeaway.submitOrderInstruction.payAtCounter
|
|
234
237
|
? {
|
|
@@ -240,8 +243,8 @@ const toOrderKioskSettingsDto = (
|
|
|
240
243
|
en: kioskSetting.takeaway.submitOrderInstruction.paid
|
|
241
244
|
}
|
|
242
245
|
: null
|
|
243
|
-
}
|
|
244
246
|
}
|
|
247
|
+
}
|
|
245
248
|
: undefined
|
|
246
249
|
})
|
|
247
250
|
|