@feedmepos/mf-order-setting 0.0.22 → 0.0.23
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-C6YmdLKc.js → KioskDevicesView-BdJCcotz.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js} +2 -2
- package/dist/KioskSettingView-BChhriPk.js +782 -0
- package/dist/KioskView-DPU-oQ1H.js +426 -0
- package/dist/{OrderSettingsView-D_bGK-3J.js → OrderSettingsView-BOiflwB_.js} +14 -11
- package/dist/{app-C5qwExhL.js → app-CaYWSLe1.js} +17 -13
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-kEC9G7bx.js → dayjs.min-8NyoNely.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +4 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +13 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +168 -12
- package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +2 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +4 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-C_53CwBa.js → index-B7GFhkAE.js} +2 -2
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +16 -16
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +6 -6
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +115 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +225 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +3 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +138 -8
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +276 -16
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +4 -4
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +4 -4
- package/dist/package/entity/payment/payment.enum.d.ts +2 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +136 -6
- package/dist/package/entity/websocket/websocket.dto.d.ts +288 -0
- package/dist/{queue.do-Vog69wnQ.js → queue.do-CIyIpp22.js} +4536 -4517
- package/package.json +1 -1
- package/src/locales/en-US.json +3 -2
- package/src/locales/zh-CN.json +2 -0
- package/src/modules/order-setting/kiosk/interface.ts +16 -0
- package/src/stores/order-setting/mapper.ts +58 -7
- package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
- package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
- package/src/views/kiosk/settings/KioskInstructionSection.vue +40 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +30 -19
- package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +45 -7
- package/src/views/kiosk/settings/KioskSettingView.vue +15 -3
- package/src/views/kiosk/settings/KioskTakeawaySection.vue +38 -4
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +3 -8
- package/dist/KioskSettingView-D-muNxlb.js +0 -649
- package/dist/KioskView-kcjjk4fF.js +0 -371
|
@@ -395,11 +395,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
395
395
|
prefix: string;
|
|
396
396
|
current: number;
|
|
397
397
|
} | undefined;
|
|
398
|
-
|
|
398
|
+
takeaway?: {
|
|
399
399
|
prefix: string;
|
|
400
400
|
current: number;
|
|
401
401
|
} | undefined;
|
|
402
|
-
|
|
402
|
+
inHouseDelivery?: {
|
|
403
403
|
prefix: string;
|
|
404
404
|
current: number;
|
|
405
405
|
} | undefined;
|
|
@@ -420,11 +420,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
420
420
|
prefix?: string | undefined;
|
|
421
421
|
current?: number | undefined;
|
|
422
422
|
} | undefined;
|
|
423
|
-
|
|
423
|
+
takeaway?: {
|
|
424
424
|
prefix?: string | undefined;
|
|
425
425
|
current?: number | undefined;
|
|
426
426
|
} | undefined;
|
|
427
|
-
|
|
427
|
+
inHouseDelivery?: {
|
|
428
428
|
prefix?: string | undefined;
|
|
429
429
|
current?: number | undefined;
|
|
430
430
|
} | undefined;
|
|
@@ -446,9 +446,27 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
446
446
|
requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
447
447
|
pickUp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
448
448
|
enabled: z.ZodBoolean;
|
|
449
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
450
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
451
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
454
|
+
paid?: Record<string, string> | null | undefined;
|
|
455
|
+
}, {
|
|
456
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
457
|
+
paid?: Record<string, string> | null | undefined;
|
|
458
|
+
}>>>;
|
|
449
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
submitOrderInstruction?: {
|
|
461
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
462
|
+
paid?: Record<string, string> | null | undefined;
|
|
463
|
+
} | null | undefined;
|
|
450
464
|
enabled: boolean;
|
|
451
465
|
}, {
|
|
466
|
+
submitOrderInstruction?: {
|
|
467
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
468
|
+
paid?: Record<string, string> | null | undefined;
|
|
469
|
+
} | null | undefined;
|
|
452
470
|
enabled: boolean;
|
|
453
471
|
}>>>;
|
|
454
472
|
displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -471,7 +489,21 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
471
489
|
}>;
|
|
472
490
|
prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
473
491
|
padDigit: z.ZodNumber;
|
|
492
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
493
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
494
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
495
|
+
}, "strip", z.ZodTypeAny, {
|
|
496
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
497
|
+
paid?: Record<string, string> | null | undefined;
|
|
498
|
+
}, {
|
|
499
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
500
|
+
paid?: Record<string, string> | null | undefined;
|
|
501
|
+
}>>>;
|
|
474
502
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
+
submitOrderInstruction?: {
|
|
504
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
505
|
+
paid?: Record<string, string> | null | undefined;
|
|
506
|
+
} | null | undefined;
|
|
475
507
|
enabled: boolean;
|
|
476
508
|
standSlotRange: {
|
|
477
509
|
min: number;
|
|
@@ -482,6 +514,10 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
482
514
|
}, {
|
|
483
515
|
enabled?: boolean | undefined;
|
|
484
516
|
prefix?: string | null | undefined;
|
|
517
|
+
submitOrderInstruction?: {
|
|
518
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
519
|
+
paid?: Record<string, string> | null | undefined;
|
|
520
|
+
} | null | undefined;
|
|
485
521
|
standSlotRange: {
|
|
486
522
|
min: number;
|
|
487
523
|
max: number;
|
|
@@ -491,9 +527,17 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
491
527
|
}, "strip", z.ZodTypeAny, {
|
|
492
528
|
requiredSlot?: boolean | null | undefined;
|
|
493
529
|
pickUp?: {
|
|
530
|
+
submitOrderInstruction?: {
|
|
531
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
532
|
+
paid?: Record<string, string> | null | undefined;
|
|
533
|
+
} | null | undefined;
|
|
494
534
|
enabled: boolean;
|
|
495
535
|
} | null | undefined;
|
|
496
536
|
displayStand?: {
|
|
537
|
+
submitOrderInstruction?: {
|
|
538
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
539
|
+
paid?: Record<string, string> | null | undefined;
|
|
540
|
+
} | null | undefined;
|
|
497
541
|
enabled: boolean;
|
|
498
542
|
standSlotRange: {
|
|
499
543
|
min: number;
|
|
@@ -505,11 +549,19 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
505
549
|
}, {
|
|
506
550
|
requiredSlot?: boolean | null | undefined;
|
|
507
551
|
pickUp?: {
|
|
552
|
+
submitOrderInstruction?: {
|
|
553
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
554
|
+
paid?: Record<string, string> | null | undefined;
|
|
555
|
+
} | null | undefined;
|
|
508
556
|
enabled: boolean;
|
|
509
557
|
} | null | undefined;
|
|
510
558
|
displayStand?: {
|
|
511
559
|
enabled?: boolean | undefined;
|
|
512
560
|
prefix?: string | null | undefined;
|
|
561
|
+
submitOrderInstruction?: {
|
|
562
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
563
|
+
paid?: Record<string, string> | null | undefined;
|
|
564
|
+
} | null | undefined;
|
|
513
565
|
standSlotRange: {
|
|
514
566
|
min: number;
|
|
515
567
|
max: number;
|
|
@@ -518,6 +570,28 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
518
570
|
} | null | undefined;
|
|
519
571
|
}>>>;
|
|
520
572
|
canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
573
|
+
takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
574
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
575
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
576
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
579
|
+
paid?: Record<string, string> | null | undefined;
|
|
580
|
+
}, {
|
|
581
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
582
|
+
paid?: Record<string, string> | null | undefined;
|
|
583
|
+
}>>>;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
submitOrderInstruction?: {
|
|
586
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
587
|
+
paid?: Record<string, string> | null | undefined;
|
|
588
|
+
} | null | undefined;
|
|
589
|
+
}, {
|
|
590
|
+
submitOrderInstruction?: {
|
|
591
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
592
|
+
paid?: Record<string, string> | null | undefined;
|
|
593
|
+
} | null | undefined;
|
|
594
|
+
}>>>;
|
|
521
595
|
paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
522
596
|
paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
|
|
523
597
|
offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -614,9 +688,17 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
614
688
|
dineIn?: {
|
|
615
689
|
requiredSlot?: boolean | null | undefined;
|
|
616
690
|
pickUp?: {
|
|
691
|
+
submitOrderInstruction?: {
|
|
692
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
693
|
+
paid?: Record<string, string> | null | undefined;
|
|
694
|
+
} | null | undefined;
|
|
617
695
|
enabled: boolean;
|
|
618
696
|
} | null | undefined;
|
|
619
697
|
displayStand?: {
|
|
698
|
+
submitOrderInstruction?: {
|
|
699
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
700
|
+
paid?: Record<string, string> | null | undefined;
|
|
701
|
+
} | null | undefined;
|
|
620
702
|
enabled: boolean;
|
|
621
703
|
standSlotRange: {
|
|
622
704
|
min: number;
|
|
@@ -627,6 +709,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
627
709
|
} | null | undefined;
|
|
628
710
|
} | null | undefined;
|
|
629
711
|
canTakeaway?: boolean | null | undefined;
|
|
712
|
+
takeaway?: {
|
|
713
|
+
submitOrderInstruction?: {
|
|
714
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
715
|
+
paid?: Record<string, string> | null | undefined;
|
|
716
|
+
} | null | undefined;
|
|
717
|
+
} | null | undefined;
|
|
630
718
|
paymentSetting?: {
|
|
631
719
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
632
720
|
offlinePaymentTypes?: {
|
|
@@ -651,11 +739,19 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
651
739
|
dineIn?: {
|
|
652
740
|
requiredSlot?: boolean | null | undefined;
|
|
653
741
|
pickUp?: {
|
|
742
|
+
submitOrderInstruction?: {
|
|
743
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
744
|
+
paid?: Record<string, string> | null | undefined;
|
|
745
|
+
} | null | undefined;
|
|
654
746
|
enabled: boolean;
|
|
655
747
|
} | null | undefined;
|
|
656
748
|
displayStand?: {
|
|
657
749
|
enabled?: boolean | undefined;
|
|
658
750
|
prefix?: string | null | undefined;
|
|
751
|
+
submitOrderInstruction?: {
|
|
752
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
753
|
+
paid?: Record<string, string> | null | undefined;
|
|
754
|
+
} | null | undefined;
|
|
659
755
|
standSlotRange: {
|
|
660
756
|
min: number;
|
|
661
757
|
max: number;
|
|
@@ -664,6 +760,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
664
760
|
} | null | undefined;
|
|
665
761
|
} | null | undefined;
|
|
666
762
|
canTakeaway?: boolean | null | undefined;
|
|
763
|
+
takeaway?: {
|
|
764
|
+
submitOrderInstruction?: {
|
|
765
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
766
|
+
paid?: Record<string, string> | null | undefined;
|
|
767
|
+
} | null | undefined;
|
|
768
|
+
} | null | undefined;
|
|
667
769
|
paymentSetting?: {
|
|
668
770
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
669
771
|
offlinePaymentTypes?: {
|
|
@@ -862,9 +964,17 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
862
964
|
dineIn?: {
|
|
863
965
|
requiredSlot?: boolean | null | undefined;
|
|
864
966
|
pickUp?: {
|
|
967
|
+
submitOrderInstruction?: {
|
|
968
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
969
|
+
paid?: Record<string, string> | null | undefined;
|
|
970
|
+
} | null | undefined;
|
|
865
971
|
enabled: boolean;
|
|
866
972
|
} | null | undefined;
|
|
867
973
|
displayStand?: {
|
|
974
|
+
submitOrderInstruction?: {
|
|
975
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
976
|
+
paid?: Record<string, string> | null | undefined;
|
|
977
|
+
} | null | undefined;
|
|
868
978
|
enabled: boolean;
|
|
869
979
|
standSlotRange: {
|
|
870
980
|
min: number;
|
|
@@ -875,6 +985,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
875
985
|
} | null | undefined;
|
|
876
986
|
} | null | undefined;
|
|
877
987
|
canTakeaway?: boolean | null | undefined;
|
|
988
|
+
takeaway?: {
|
|
989
|
+
submitOrderInstruction?: {
|
|
990
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
991
|
+
paid?: Record<string, string> | null | undefined;
|
|
992
|
+
} | null | undefined;
|
|
993
|
+
} | null | undefined;
|
|
878
994
|
paymentSetting?: {
|
|
879
995
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
880
996
|
offlinePaymentTypes?: {
|
|
@@ -934,11 +1050,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
934
1050
|
prefix: string;
|
|
935
1051
|
current: number;
|
|
936
1052
|
} | undefined;
|
|
937
|
-
|
|
1053
|
+
takeaway?: {
|
|
938
1054
|
prefix: string;
|
|
939
1055
|
current: number;
|
|
940
1056
|
} | undefined;
|
|
941
|
-
|
|
1057
|
+
inHouseDelivery?: {
|
|
942
1058
|
prefix: string;
|
|
943
1059
|
current: number;
|
|
944
1060
|
} | undefined;
|
|
@@ -999,11 +1115,19 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
999
1115
|
dineIn?: {
|
|
1000
1116
|
requiredSlot?: boolean | null | undefined;
|
|
1001
1117
|
pickUp?: {
|
|
1118
|
+
submitOrderInstruction?: {
|
|
1119
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1120
|
+
paid?: Record<string, string> | null | undefined;
|
|
1121
|
+
} | null | undefined;
|
|
1002
1122
|
enabled: boolean;
|
|
1003
1123
|
} | null | undefined;
|
|
1004
1124
|
displayStand?: {
|
|
1005
1125
|
enabled?: boolean | undefined;
|
|
1006
1126
|
prefix?: string | null | undefined;
|
|
1127
|
+
submitOrderInstruction?: {
|
|
1128
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1129
|
+
paid?: Record<string, string> | null | undefined;
|
|
1130
|
+
} | null | undefined;
|
|
1007
1131
|
standSlotRange: {
|
|
1008
1132
|
min: number;
|
|
1009
1133
|
max: number;
|
|
@@ -1012,6 +1136,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1012
1136
|
} | null | undefined;
|
|
1013
1137
|
} | null | undefined;
|
|
1014
1138
|
canTakeaway?: boolean | null | undefined;
|
|
1139
|
+
takeaway?: {
|
|
1140
|
+
submitOrderInstruction?: {
|
|
1141
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1142
|
+
paid?: Record<string, string> | null | undefined;
|
|
1143
|
+
} | null | undefined;
|
|
1144
|
+
} | null | undefined;
|
|
1015
1145
|
paymentSetting?: {
|
|
1016
1146
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
1017
1147
|
offlinePaymentTypes?: {
|
|
@@ -1069,11 +1199,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1069
1199
|
prefix?: string | undefined;
|
|
1070
1200
|
current?: number | undefined;
|
|
1071
1201
|
} | undefined;
|
|
1072
|
-
|
|
1202
|
+
takeaway?: {
|
|
1073
1203
|
prefix?: string | undefined;
|
|
1074
1204
|
current?: number | undefined;
|
|
1075
1205
|
} | undefined;
|
|
1076
|
-
|
|
1206
|
+
inHouseDelivery?: {
|
|
1077
1207
|
prefix?: string | undefined;
|
|
1078
1208
|
current?: number | undefined;
|
|
1079
1209
|
} | undefined;
|