@feedmepos/mf-order-setting 0.0.22 → 0.0.24

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.
Files changed (46) hide show
  1. package/dist/{KioskDevicesView-C6YmdLKc.js → KioskDevicesView-DGkvW2mH.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BGZLd8T_.js} +2 -2
  3. package/dist/KioskSettingView-DLb5nnCu.js +821 -0
  4. package/dist/KioskView-kZZYSfUh.js +430 -0
  5. package/dist/{OrderSettingsView-D_bGK-3J.js → OrderSettingsView-Cil4j9G5.js} +14 -11
  6. package/dist/{app-C5qwExhL.js → app-D47VRl5B.js} +47 -39
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-kEC9G7bx.js → dayjs.min-R4180ukF.js} +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +8 -0
  10. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +17 -0
  11. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +192 -12
  12. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +4 -2
  13. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +9 -0
  14. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +15 -0
  15. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +4 -3
  16. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  17. package/dist/{index-C_53CwBa.js → index-DgLlDwJK.js} +2 -2
  18. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +16 -16
  19. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +6 -6
  20. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +129 -0
  21. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +255 -0
  22. package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +3 -0
  23. package/dist/package/entity/order-setting/order-setting.do.d.ts +156 -8
  24. package/dist/package/entity/order-setting/order-setting.dto.d.ts +312 -16
  25. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +4 -4
  26. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +4 -4
  27. package/dist/package/entity/payment/payment.enum.d.ts +2 -0
  28. package/dist/package/entity/restaurant/restaurant.dto.d.ts +154 -6
  29. package/dist/package/entity/websocket/websocket.dto.d.ts +328 -0
  30. package/dist/{queue.do-Vog69wnQ.js → queue.do-CNMuossU.js} +4540 -4517
  31. package/package.json +1 -1
  32. package/src/locales/en-US.json +5 -2
  33. package/src/locales/zh-CN.json +4 -0
  34. package/src/modules/order-setting/kiosk/interface.ts +20 -0
  35. package/src/stores/order-setting/mapper.ts +68 -11
  36. package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
  37. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
  38. package/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue +33 -0
  39. package/src/views/kiosk/settings/KioskInstructionSection.vue +40 -0
  40. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +30 -19
  41. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +45 -7
  42. package/src/views/kiosk/settings/KioskSettingView.vue +41 -3
  43. package/src/views/kiosk/settings/KioskTakeawaySection.vue +38 -4
  44. package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +3 -8
  45. package/dist/KioskSettingView-D-muNxlb.js +0 -649
  46. 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
- inHouseDelivery?: {
398
+ takeaway?: {
399
399
  prefix: string;
400
400
  current: number;
401
401
  } | undefined;
402
- takeaway?: {
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
- inHouseDelivery?: {
423
+ takeaway?: {
424
424
  prefix?: string | undefined;
425
425
  current?: number | undefined;
426
426
  } | undefined;
427
- takeaway?: {
427
+ inHouseDelivery?: {
428
428
  prefix?: string | undefined;
429
429
  current?: number | undefined;
430
430
  } | undefined;
@@ -446,9 +446,30 @@ 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
+ enablePaxDialog: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
450
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
451
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
452
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ payAtCounter?: Record<string, string> | null | undefined;
455
+ paid?: Record<string, string> | null | undefined;
456
+ }, {
457
+ payAtCounter?: Record<string, string> | null | undefined;
458
+ paid?: Record<string, string> | null | undefined;
459
+ }>>>;
449
460
  }, "strip", z.ZodTypeAny, {
461
+ submitOrderInstruction?: {
462
+ payAtCounter?: Record<string, string> | null | undefined;
463
+ paid?: Record<string, string> | null | undefined;
464
+ } | null | undefined;
450
465
  enabled: boolean;
466
+ enablePaxDialog: boolean | null;
451
467
  }, {
468
+ enablePaxDialog?: boolean | null | undefined;
469
+ submitOrderInstruction?: {
470
+ payAtCounter?: Record<string, string> | null | undefined;
471
+ paid?: Record<string, string> | null | undefined;
472
+ } | null | undefined;
452
473
  enabled: boolean;
453
474
  }>>>;
454
475
  displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -471,7 +492,22 @@ export declare const FdoOrderSettings: z.ZodObject<{
471
492
  }>;
472
493
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
473
494
  padDigit: z.ZodNumber;
495
+ enablePaxDialog: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
496
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
497
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
498
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ payAtCounter?: Record<string, string> | null | undefined;
501
+ paid?: Record<string, string> | null | undefined;
502
+ }, {
503
+ payAtCounter?: Record<string, string> | null | undefined;
504
+ paid?: Record<string, string> | null | undefined;
505
+ }>>>;
474
506
  }, "strip", z.ZodTypeAny, {
507
+ submitOrderInstruction?: {
508
+ payAtCounter?: Record<string, string> | null | undefined;
509
+ paid?: Record<string, string> | null | undefined;
510
+ } | null | undefined;
475
511
  enabled: boolean;
476
512
  standSlotRange: {
477
513
  min: number;
@@ -479,9 +515,15 @@ export declare const FdoOrderSettings: z.ZodObject<{
479
515
  };
480
516
  prefix: string | null;
481
517
  padDigit: number;
518
+ enablePaxDialog: boolean | null;
482
519
  }, {
483
520
  enabled?: boolean | undefined;
484
521
  prefix?: string | null | undefined;
522
+ enablePaxDialog?: boolean | null | undefined;
523
+ submitOrderInstruction?: {
524
+ payAtCounter?: Record<string, string> | null | undefined;
525
+ paid?: Record<string, string> | null | undefined;
526
+ } | null | undefined;
485
527
  standSlotRange: {
486
528
  min: number;
487
529
  max: number;
@@ -491,9 +533,18 @@ export declare const FdoOrderSettings: z.ZodObject<{
491
533
  }, "strip", z.ZodTypeAny, {
492
534
  requiredSlot?: boolean | null | undefined;
493
535
  pickUp?: {
536
+ submitOrderInstruction?: {
537
+ payAtCounter?: Record<string, string> | null | undefined;
538
+ paid?: Record<string, string> | null | undefined;
539
+ } | null | undefined;
494
540
  enabled: boolean;
541
+ enablePaxDialog: boolean | null;
495
542
  } | null | undefined;
496
543
  displayStand?: {
544
+ submitOrderInstruction?: {
545
+ payAtCounter?: Record<string, string> | null | undefined;
546
+ paid?: Record<string, string> | null | undefined;
547
+ } | null | undefined;
497
548
  enabled: boolean;
498
549
  standSlotRange: {
499
550
  min: number;
@@ -501,15 +552,26 @@ export declare const FdoOrderSettings: z.ZodObject<{
501
552
  };
502
553
  prefix: string | null;
503
554
  padDigit: number;
555
+ enablePaxDialog: boolean | null;
504
556
  } | null | undefined;
505
557
  }, {
506
558
  requiredSlot?: boolean | null | undefined;
507
559
  pickUp?: {
560
+ enablePaxDialog?: boolean | null | undefined;
561
+ submitOrderInstruction?: {
562
+ payAtCounter?: Record<string, string> | null | undefined;
563
+ paid?: Record<string, string> | null | undefined;
564
+ } | null | undefined;
508
565
  enabled: boolean;
509
566
  } | null | undefined;
510
567
  displayStand?: {
511
568
  enabled?: boolean | undefined;
512
569
  prefix?: string | null | undefined;
570
+ enablePaxDialog?: boolean | null | undefined;
571
+ submitOrderInstruction?: {
572
+ payAtCounter?: Record<string, string> | null | undefined;
573
+ paid?: Record<string, string> | null | undefined;
574
+ } | null | undefined;
513
575
  standSlotRange: {
514
576
  min: number;
515
577
  max: number;
@@ -518,6 +580,28 @@ export declare const FdoOrderSettings: z.ZodObject<{
518
580
  } | null | undefined;
519
581
  }>>>;
520
582
  canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
583
+ takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
584
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
585
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
586
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ payAtCounter?: Record<string, string> | null | undefined;
589
+ paid?: Record<string, string> | null | undefined;
590
+ }, {
591
+ payAtCounter?: Record<string, string> | null | undefined;
592
+ paid?: Record<string, string> | null | undefined;
593
+ }>>>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ submitOrderInstruction?: {
596
+ payAtCounter?: Record<string, string> | null | undefined;
597
+ paid?: Record<string, string> | null | undefined;
598
+ } | null | undefined;
599
+ }, {
600
+ submitOrderInstruction?: {
601
+ payAtCounter?: Record<string, string> | null | undefined;
602
+ paid?: Record<string, string> | null | undefined;
603
+ } | null | undefined;
604
+ }>>>;
521
605
  paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
522
606
  paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
523
607
  offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -614,9 +698,18 @@ export declare const FdoOrderSettings: z.ZodObject<{
614
698
  dineIn?: {
615
699
  requiredSlot?: boolean | null | undefined;
616
700
  pickUp?: {
701
+ submitOrderInstruction?: {
702
+ payAtCounter?: Record<string, string> | null | undefined;
703
+ paid?: Record<string, string> | null | undefined;
704
+ } | null | undefined;
617
705
  enabled: boolean;
706
+ enablePaxDialog: boolean | null;
618
707
  } | null | undefined;
619
708
  displayStand?: {
709
+ submitOrderInstruction?: {
710
+ payAtCounter?: Record<string, string> | null | undefined;
711
+ paid?: Record<string, string> | null | undefined;
712
+ } | null | undefined;
620
713
  enabled: boolean;
621
714
  standSlotRange: {
622
715
  min: number;
@@ -624,9 +717,16 @@ export declare const FdoOrderSettings: z.ZodObject<{
624
717
  };
625
718
  prefix: string | null;
626
719
  padDigit: number;
720
+ enablePaxDialog: boolean | null;
627
721
  } | null | undefined;
628
722
  } | null | undefined;
629
723
  canTakeaway?: boolean | null | undefined;
724
+ takeaway?: {
725
+ submitOrderInstruction?: {
726
+ payAtCounter?: Record<string, string> | null | undefined;
727
+ paid?: Record<string, string> | null | undefined;
728
+ } | null | undefined;
729
+ } | null | undefined;
630
730
  paymentSetting?: {
631
731
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
632
732
  offlinePaymentTypes?: {
@@ -651,11 +751,21 @@ export declare const FdoOrderSettings: z.ZodObject<{
651
751
  dineIn?: {
652
752
  requiredSlot?: boolean | null | undefined;
653
753
  pickUp?: {
754
+ enablePaxDialog?: boolean | null | undefined;
755
+ submitOrderInstruction?: {
756
+ payAtCounter?: Record<string, string> | null | undefined;
757
+ paid?: Record<string, string> | null | undefined;
758
+ } | null | undefined;
654
759
  enabled: boolean;
655
760
  } | null | undefined;
656
761
  displayStand?: {
657
762
  enabled?: boolean | undefined;
658
763
  prefix?: string | null | undefined;
764
+ enablePaxDialog?: boolean | null | undefined;
765
+ submitOrderInstruction?: {
766
+ payAtCounter?: Record<string, string> | null | undefined;
767
+ paid?: Record<string, string> | null | undefined;
768
+ } | null | undefined;
659
769
  standSlotRange: {
660
770
  min: number;
661
771
  max: number;
@@ -664,6 +774,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
664
774
  } | null | undefined;
665
775
  } | null | undefined;
666
776
  canTakeaway?: boolean | null | undefined;
777
+ takeaway?: {
778
+ submitOrderInstruction?: {
779
+ payAtCounter?: Record<string, string> | null | undefined;
780
+ paid?: Record<string, string> | null | undefined;
781
+ } | null | undefined;
782
+ } | null | undefined;
667
783
  paymentSetting?: {
668
784
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
669
785
  offlinePaymentTypes?: {
@@ -862,9 +978,18 @@ export declare const FdoOrderSettings: z.ZodObject<{
862
978
  dineIn?: {
863
979
  requiredSlot?: boolean | null | undefined;
864
980
  pickUp?: {
981
+ submitOrderInstruction?: {
982
+ payAtCounter?: Record<string, string> | null | undefined;
983
+ paid?: Record<string, string> | null | undefined;
984
+ } | null | undefined;
865
985
  enabled: boolean;
986
+ enablePaxDialog: boolean | null;
866
987
  } | null | undefined;
867
988
  displayStand?: {
989
+ submitOrderInstruction?: {
990
+ payAtCounter?: Record<string, string> | null | undefined;
991
+ paid?: Record<string, string> | null | undefined;
992
+ } | null | undefined;
868
993
  enabled: boolean;
869
994
  standSlotRange: {
870
995
  min: number;
@@ -872,9 +997,16 @@ export declare const FdoOrderSettings: z.ZodObject<{
872
997
  };
873
998
  prefix: string | null;
874
999
  padDigit: number;
1000
+ enablePaxDialog: boolean | null;
875
1001
  } | null | undefined;
876
1002
  } | null | undefined;
877
1003
  canTakeaway?: boolean | null | undefined;
1004
+ takeaway?: {
1005
+ submitOrderInstruction?: {
1006
+ payAtCounter?: Record<string, string> | null | undefined;
1007
+ paid?: Record<string, string> | null | undefined;
1008
+ } | null | undefined;
1009
+ } | null | undefined;
878
1010
  paymentSetting?: {
879
1011
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
880
1012
  offlinePaymentTypes?: {
@@ -934,11 +1066,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
934
1066
  prefix: string;
935
1067
  current: number;
936
1068
  } | undefined;
937
- inHouseDelivery?: {
1069
+ takeaway?: {
938
1070
  prefix: string;
939
1071
  current: number;
940
1072
  } | undefined;
941
- takeaway?: {
1073
+ inHouseDelivery?: {
942
1074
  prefix: string;
943
1075
  current: number;
944
1076
  } | undefined;
@@ -999,11 +1131,21 @@ export declare const FdoOrderSettings: z.ZodObject<{
999
1131
  dineIn?: {
1000
1132
  requiredSlot?: boolean | null | undefined;
1001
1133
  pickUp?: {
1134
+ enablePaxDialog?: boolean | null | undefined;
1135
+ submitOrderInstruction?: {
1136
+ payAtCounter?: Record<string, string> | null | undefined;
1137
+ paid?: Record<string, string> | null | undefined;
1138
+ } | null | undefined;
1002
1139
  enabled: boolean;
1003
1140
  } | null | undefined;
1004
1141
  displayStand?: {
1005
1142
  enabled?: boolean | undefined;
1006
1143
  prefix?: string | null | undefined;
1144
+ enablePaxDialog?: boolean | null | undefined;
1145
+ submitOrderInstruction?: {
1146
+ payAtCounter?: Record<string, string> | null | undefined;
1147
+ paid?: Record<string, string> | null | undefined;
1148
+ } | null | undefined;
1007
1149
  standSlotRange: {
1008
1150
  min: number;
1009
1151
  max: number;
@@ -1012,6 +1154,12 @@ export declare const FdoOrderSettings: z.ZodObject<{
1012
1154
  } | null | undefined;
1013
1155
  } | null | undefined;
1014
1156
  canTakeaway?: boolean | null | undefined;
1157
+ takeaway?: {
1158
+ submitOrderInstruction?: {
1159
+ payAtCounter?: Record<string, string> | null | undefined;
1160
+ paid?: Record<string, string> | null | undefined;
1161
+ } | null | undefined;
1162
+ } | null | undefined;
1015
1163
  paymentSetting?: {
1016
1164
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
1017
1165
  offlinePaymentTypes?: {
@@ -1069,11 +1217,11 @@ export declare const FdoOrderSettings: z.ZodObject<{
1069
1217
  prefix?: string | undefined;
1070
1218
  current?: number | undefined;
1071
1219
  } | undefined;
1072
- inHouseDelivery?: {
1220
+ takeaway?: {
1073
1221
  prefix?: string | undefined;
1074
1222
  current?: number | undefined;
1075
1223
  } | undefined;
1076
- takeaway?: {
1224
+ inHouseDelivery?: {
1077
1225
  prefix?: string | undefined;
1078
1226
  current?: number | undefined;
1079
1227
  } | undefined;