@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
@@ -149,11 +149,11 @@ export declare const OrderSequenceSettingsDto: z.ZodObject<{
149
149
  prefix: string;
150
150
  current: number;
151
151
  } | undefined;
152
- inHouseDelivery?: {
152
+ takeaway?: {
153
153
  prefix: string;
154
154
  current: number;
155
155
  } | undefined;
156
- takeaway?: {
156
+ inHouseDelivery?: {
157
157
  prefix: string;
158
158
  current: number;
159
159
  } | undefined;
@@ -174,11 +174,11 @@ export declare const OrderSequenceSettingsDto: z.ZodObject<{
174
174
  prefix?: string | undefined;
175
175
  current?: number | undefined;
176
176
  } | undefined;
177
- inHouseDelivery?: {
177
+ takeaway?: {
178
178
  prefix?: string | undefined;
179
179
  current?: number | undefined;
180
180
  } | undefined;
181
- takeaway?: {
181
+ inHouseDelivery?: {
182
182
  prefix?: string | undefined;
183
183
  current?: number | undefined;
184
184
  } | undefined;
@@ -1,3 +1,5 @@
1
1
  import { z } from "zod";
2
2
  export declare const F_PAYMENT_TYPE_LABEL: z.ZodEnum<["DEBIT_CARD", "CREDIT_CARD", "E_WALLET", "OTHER"]>;
3
+ export declare const F_COMBINED_CARD_QR_TERMINAL_TYPE: z.ZodEnum<["GHL"]>;
3
4
  export type F_PAYMENT_TYPE_LABEL = z.infer<typeof F_PAYMENT_TYPE_LABEL>;
5
+ export type F_COMBINED_CARD_QR_TERMINAL_TYPE = z.infer<typeof F_COMBINED_CARD_QR_TERMINAL_TYPE>;
@@ -1568,6 +1568,9 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1568
1568
  acceptQueue?: boolean | null | undefined;
1569
1569
  anonymousOrder: boolean;
1570
1570
  } | null | undefined;
1571
+ takeaway?: {
1572
+ catalogId?: string | null | undefined;
1573
+ } | null | undefined;
1571
1574
  acceptQueue?: boolean | null | undefined;
1572
1575
  inHouseDelivery?: {
1573
1576
  taxes?: Record<string, {
@@ -1674,9 +1677,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1674
1677
  foodpandaDelivery?: any;
1675
1678
  grabfoodDelivery?: any;
1676
1679
  shopeefoodDelivery?: any;
1677
- takeaway?: {
1678
- catalogId?: string | null | undefined;
1679
- } | null | undefined;
1680
1680
  queueSetting?: {
1681
1681
  duration: number;
1682
1682
  enableOrder: boolean;
@@ -1842,6 +1842,9 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1842
1842
  acceptQueue?: boolean | null | undefined;
1843
1843
  anonymousOrder: boolean;
1844
1844
  } | null | undefined;
1845
+ takeaway?: {
1846
+ catalogId?: string | null | undefined;
1847
+ } | null | undefined;
1845
1848
  acceptQueue?: boolean | null | undefined;
1846
1849
  inHouseDelivery?: {
1847
1850
  taxes?: Record<string, {
@@ -1948,9 +1951,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1948
1951
  foodpandaDelivery?: any;
1949
1952
  grabfoodDelivery?: any;
1950
1953
  shopeefoodDelivery?: any;
1951
- takeaway?: {
1952
- catalogId?: string | null | undefined;
1953
- } | null | undefined;
1954
1954
  queueSetting?: {
1955
1955
  duration?: number | undefined;
1956
1956
  enableOrder: boolean;
@@ -3507,9 +3507,30 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3507
3507
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3508
3508
  pickUp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3509
3509
  enabled: z.ZodBoolean;
3510
+ enablePaxDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3511
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3512
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3513
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3514
+ }, "strip", z.ZodTypeAny, {
3515
+ payAtCounter?: Record<string, string> | null | undefined;
3516
+ paid?: Record<string, string> | null | undefined;
3517
+ }, {
3518
+ payAtCounter?: Record<string, string> | null | undefined;
3519
+ paid?: Record<string, string> | null | undefined;
3520
+ }>>>;
3510
3521
  }, "strip", z.ZodTypeAny, {
3522
+ enablePaxDialog?: boolean | null | undefined;
3523
+ submitOrderInstruction?: {
3524
+ payAtCounter?: Record<string, string> | null | undefined;
3525
+ paid?: Record<string, string> | null | undefined;
3526
+ } | null | undefined;
3511
3527
  enabled: boolean;
3512
3528
  }, {
3529
+ enablePaxDialog?: boolean | null | undefined;
3530
+ submitOrderInstruction?: {
3531
+ payAtCounter?: Record<string, string> | null | undefined;
3532
+ paid?: Record<string, string> | null | undefined;
3533
+ } | null | undefined;
3513
3534
  enabled: boolean;
3514
3535
  }>>>;
3515
3536
  displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -3532,7 +3553,23 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3532
3553
  }>;
3533
3554
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
3534
3555
  padDigit: z.ZodNumber;
3556
+ enablePaxDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3557
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3558
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3559
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3560
+ }, "strip", z.ZodTypeAny, {
3561
+ payAtCounter?: Record<string, string> | null | undefined;
3562
+ paid?: Record<string, string> | null | undefined;
3563
+ }, {
3564
+ payAtCounter?: Record<string, string> | null | undefined;
3565
+ paid?: Record<string, string> | null | undefined;
3566
+ }>>>;
3535
3567
  }, "strip", z.ZodTypeAny, {
3568
+ enablePaxDialog?: boolean | null | undefined;
3569
+ submitOrderInstruction?: {
3570
+ payAtCounter?: Record<string, string> | null | undefined;
3571
+ paid?: Record<string, string> | null | undefined;
3572
+ } | null | undefined;
3536
3573
  enabled: boolean;
3537
3574
  standSlotRange: {
3538
3575
  min: number;
@@ -3543,6 +3580,11 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3543
3580
  }, {
3544
3581
  enabled?: boolean | undefined;
3545
3582
  prefix?: string | null | undefined;
3583
+ enablePaxDialog?: boolean | null | undefined;
3584
+ submitOrderInstruction?: {
3585
+ payAtCounter?: Record<string, string> | null | undefined;
3586
+ paid?: Record<string, string> | null | undefined;
3587
+ } | null | undefined;
3546
3588
  standSlotRange: {
3547
3589
  min: number;
3548
3590
  max: number;
@@ -3552,9 +3594,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3552
3594
  }, "strip", z.ZodTypeAny, {
3553
3595
  requiredSlot?: boolean | null | undefined;
3554
3596
  pickUp?: {
3597
+ enablePaxDialog?: boolean | null | undefined;
3598
+ submitOrderInstruction?: {
3599
+ payAtCounter?: Record<string, string> | null | undefined;
3600
+ paid?: Record<string, string> | null | undefined;
3601
+ } | null | undefined;
3555
3602
  enabled: boolean;
3556
3603
  } | null | undefined;
3557
3604
  displayStand?: {
3605
+ enablePaxDialog?: boolean | null | undefined;
3606
+ submitOrderInstruction?: {
3607
+ payAtCounter?: Record<string, string> | null | undefined;
3608
+ paid?: Record<string, string> | null | undefined;
3609
+ } | null | undefined;
3558
3610
  enabled: boolean;
3559
3611
  standSlotRange: {
3560
3612
  min: number;
@@ -3566,11 +3618,21 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3566
3618
  }, {
3567
3619
  requiredSlot?: boolean | null | undefined;
3568
3620
  pickUp?: {
3621
+ enablePaxDialog?: boolean | null | undefined;
3622
+ submitOrderInstruction?: {
3623
+ payAtCounter?: Record<string, string> | null | undefined;
3624
+ paid?: Record<string, string> | null | undefined;
3625
+ } | null | undefined;
3569
3626
  enabled: boolean;
3570
3627
  } | null | undefined;
3571
3628
  displayStand?: {
3572
3629
  enabled?: boolean | undefined;
3573
3630
  prefix?: string | null | undefined;
3631
+ enablePaxDialog?: boolean | null | undefined;
3632
+ submitOrderInstruction?: {
3633
+ payAtCounter?: Record<string, string> | null | undefined;
3634
+ paid?: Record<string, string> | null | undefined;
3635
+ } | null | undefined;
3574
3636
  standSlotRange: {
3575
3637
  min: number;
3576
3638
  max: number;
@@ -3579,6 +3641,28 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3579
3641
  } | null | undefined;
3580
3642
  }>>>;
3581
3643
  canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3644
+ takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3645
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3646
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3647
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3648
+ }, "strip", z.ZodTypeAny, {
3649
+ payAtCounter?: Record<string, string> | null | undefined;
3650
+ paid?: Record<string, string> | null | undefined;
3651
+ }, {
3652
+ payAtCounter?: Record<string, string> | null | undefined;
3653
+ paid?: Record<string, string> | null | undefined;
3654
+ }>>>;
3655
+ }, "strip", z.ZodTypeAny, {
3656
+ submitOrderInstruction?: {
3657
+ payAtCounter?: Record<string, string> | null | undefined;
3658
+ paid?: Record<string, string> | null | undefined;
3659
+ } | null | undefined;
3660
+ }, {
3661
+ submitOrderInstruction?: {
3662
+ payAtCounter?: Record<string, string> | null | undefined;
3663
+ paid?: Record<string, string> | null | undefined;
3664
+ } | null | undefined;
3665
+ }>>>;
3582
3666
  paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3583
3667
  paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
3584
3668
  offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3675,9 +3759,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3675
3759
  dineIn?: {
3676
3760
  requiredSlot?: boolean | null | undefined;
3677
3761
  pickUp?: {
3762
+ enablePaxDialog?: boolean | null | undefined;
3763
+ submitOrderInstruction?: {
3764
+ payAtCounter?: Record<string, string> | null | undefined;
3765
+ paid?: Record<string, string> | null | undefined;
3766
+ } | null | undefined;
3678
3767
  enabled: boolean;
3679
3768
  } | null | undefined;
3680
3769
  displayStand?: {
3770
+ enablePaxDialog?: boolean | null | undefined;
3771
+ submitOrderInstruction?: {
3772
+ payAtCounter?: Record<string, string> | null | undefined;
3773
+ paid?: Record<string, string> | null | undefined;
3774
+ } | null | undefined;
3681
3775
  enabled: boolean;
3682
3776
  standSlotRange: {
3683
3777
  min: number;
@@ -3688,6 +3782,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3688
3782
  } | null | undefined;
3689
3783
  } | null | undefined;
3690
3784
  canTakeaway?: boolean | null | undefined;
3785
+ takeaway?: {
3786
+ submitOrderInstruction?: {
3787
+ payAtCounter?: Record<string, string> | null | undefined;
3788
+ paid?: Record<string, string> | null | undefined;
3789
+ } | null | undefined;
3790
+ } | null | undefined;
3691
3791
  paymentSetting?: {
3692
3792
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3693
3793
  offlinePaymentTypes?: {
@@ -3712,11 +3812,21 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3712
3812
  dineIn?: {
3713
3813
  requiredSlot?: boolean | null | undefined;
3714
3814
  pickUp?: {
3815
+ enablePaxDialog?: boolean | null | undefined;
3816
+ submitOrderInstruction?: {
3817
+ payAtCounter?: Record<string, string> | null | undefined;
3818
+ paid?: Record<string, string> | null | undefined;
3819
+ } | null | undefined;
3715
3820
  enabled: boolean;
3716
3821
  } | null | undefined;
3717
3822
  displayStand?: {
3718
3823
  enabled?: boolean | undefined;
3719
3824
  prefix?: string | null | undefined;
3825
+ enablePaxDialog?: boolean | null | undefined;
3826
+ submitOrderInstruction?: {
3827
+ payAtCounter?: Record<string, string> | null | undefined;
3828
+ paid?: Record<string, string> | null | undefined;
3829
+ } | null | undefined;
3720
3830
  standSlotRange: {
3721
3831
  min: number;
3722
3832
  max: number;
@@ -3725,6 +3835,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3725
3835
  } | null | undefined;
3726
3836
  } | null | undefined;
3727
3837
  canTakeaway?: boolean | null | undefined;
3838
+ takeaway?: {
3839
+ submitOrderInstruction?: {
3840
+ payAtCounter?: Record<string, string> | null | undefined;
3841
+ paid?: Record<string, string> | null | undefined;
3842
+ } | null | undefined;
3843
+ } | null | undefined;
3728
3844
  paymentSetting?: {
3729
3845
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3730
3846
  offlinePaymentTypes?: {
@@ -3914,9 +4030,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3914
4030
  dineIn?: {
3915
4031
  requiredSlot?: boolean | null | undefined;
3916
4032
  pickUp?: {
4033
+ enablePaxDialog?: boolean | null | undefined;
4034
+ submitOrderInstruction?: {
4035
+ payAtCounter?: Record<string, string> | null | undefined;
4036
+ paid?: Record<string, string> | null | undefined;
4037
+ } | null | undefined;
3917
4038
  enabled: boolean;
3918
4039
  } | null | undefined;
3919
4040
  displayStand?: {
4041
+ enablePaxDialog?: boolean | null | undefined;
4042
+ submitOrderInstruction?: {
4043
+ payAtCounter?: Record<string, string> | null | undefined;
4044
+ paid?: Record<string, string> | null | undefined;
4045
+ } | null | undefined;
3920
4046
  enabled: boolean;
3921
4047
  standSlotRange: {
3922
4048
  min: number;
@@ -3927,6 +4053,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3927
4053
  } | null | undefined;
3928
4054
  } | null | undefined;
3929
4055
  canTakeaway?: boolean | null | undefined;
4056
+ takeaway?: {
4057
+ submitOrderInstruction?: {
4058
+ payAtCounter?: Record<string, string> | null | undefined;
4059
+ paid?: Record<string, string> | null | undefined;
4060
+ } | null | undefined;
4061
+ } | null | undefined;
3930
4062
  paymentSetting?: {
3931
4063
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3932
4064
  offlinePaymentTypes?: {
@@ -4091,11 +4223,21 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4091
4223
  dineIn?: {
4092
4224
  requiredSlot?: boolean | null | undefined;
4093
4225
  pickUp?: {
4226
+ enablePaxDialog?: boolean | null | undefined;
4227
+ submitOrderInstruction?: {
4228
+ payAtCounter?: Record<string, string> | null | undefined;
4229
+ paid?: Record<string, string> | null | undefined;
4230
+ } | null | undefined;
4094
4231
  enabled: boolean;
4095
4232
  } | null | undefined;
4096
4233
  displayStand?: {
4097
4234
  enabled?: boolean | undefined;
4098
4235
  prefix?: string | null | undefined;
4236
+ enablePaxDialog?: boolean | null | undefined;
4237
+ submitOrderInstruction?: {
4238
+ payAtCounter?: Record<string, string> | null | undefined;
4239
+ paid?: Record<string, string> | null | undefined;
4240
+ } | null | undefined;
4099
4241
  standSlotRange: {
4100
4242
  min: number;
4101
4243
  max: number;
@@ -4104,6 +4246,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4104
4246
  } | null | undefined;
4105
4247
  } | null | undefined;
4106
4248
  canTakeaway?: boolean | null | undefined;
4249
+ takeaway?: {
4250
+ submitOrderInstruction?: {
4251
+ payAtCounter?: Record<string, string> | null | undefined;
4252
+ paid?: Record<string, string> | null | undefined;
4253
+ } | null | undefined;
4254
+ } | null | undefined;
4107
4255
  paymentSetting?: {
4108
4256
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
4109
4257
  offlinePaymentTypes?: {