@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
|
@@ -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,27 @@ 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
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3511
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3512
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3513
|
+
}, "strip", z.ZodTypeAny, {
|
|
3514
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3515
|
+
paid?: Record<string, string> | null | undefined;
|
|
3516
|
+
}, {
|
|
3517
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3518
|
+
paid?: Record<string, string> | null | undefined;
|
|
3519
|
+
}>>>;
|
|
3510
3520
|
}, "strip", z.ZodTypeAny, {
|
|
3521
|
+
submitOrderInstruction?: {
|
|
3522
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3523
|
+
paid?: Record<string, string> | null | undefined;
|
|
3524
|
+
} | null | undefined;
|
|
3511
3525
|
enabled: boolean;
|
|
3512
3526
|
}, {
|
|
3527
|
+
submitOrderInstruction?: {
|
|
3528
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3529
|
+
paid?: Record<string, string> | null | undefined;
|
|
3530
|
+
} | null | undefined;
|
|
3513
3531
|
enabled: boolean;
|
|
3514
3532
|
}>>>;
|
|
3515
3533
|
displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -3532,7 +3550,21 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3532
3550
|
}>;
|
|
3533
3551
|
prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
3534
3552
|
padDigit: z.ZodNumber;
|
|
3553
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3554
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3555
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3556
|
+
}, "strip", z.ZodTypeAny, {
|
|
3557
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3558
|
+
paid?: Record<string, string> | null | undefined;
|
|
3559
|
+
}, {
|
|
3560
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3561
|
+
paid?: Record<string, string> | null | undefined;
|
|
3562
|
+
}>>>;
|
|
3535
3563
|
}, "strip", z.ZodTypeAny, {
|
|
3564
|
+
submitOrderInstruction?: {
|
|
3565
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3566
|
+
paid?: Record<string, string> | null | undefined;
|
|
3567
|
+
} | null | undefined;
|
|
3536
3568
|
enabled: boolean;
|
|
3537
3569
|
standSlotRange: {
|
|
3538
3570
|
min: number;
|
|
@@ -3543,6 +3575,10 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3543
3575
|
}, {
|
|
3544
3576
|
enabled?: boolean | undefined;
|
|
3545
3577
|
prefix?: string | null | undefined;
|
|
3578
|
+
submitOrderInstruction?: {
|
|
3579
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3580
|
+
paid?: Record<string, string> | null | undefined;
|
|
3581
|
+
} | null | undefined;
|
|
3546
3582
|
standSlotRange: {
|
|
3547
3583
|
min: number;
|
|
3548
3584
|
max: number;
|
|
@@ -3552,9 +3588,17 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3552
3588
|
}, "strip", z.ZodTypeAny, {
|
|
3553
3589
|
requiredSlot?: boolean | null | undefined;
|
|
3554
3590
|
pickUp?: {
|
|
3591
|
+
submitOrderInstruction?: {
|
|
3592
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3593
|
+
paid?: Record<string, string> | null | undefined;
|
|
3594
|
+
} | null | undefined;
|
|
3555
3595
|
enabled: boolean;
|
|
3556
3596
|
} | null | undefined;
|
|
3557
3597
|
displayStand?: {
|
|
3598
|
+
submitOrderInstruction?: {
|
|
3599
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3600
|
+
paid?: Record<string, string> | null | undefined;
|
|
3601
|
+
} | null | undefined;
|
|
3558
3602
|
enabled: boolean;
|
|
3559
3603
|
standSlotRange: {
|
|
3560
3604
|
min: number;
|
|
@@ -3566,11 +3610,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3566
3610
|
}, {
|
|
3567
3611
|
requiredSlot?: boolean | null | undefined;
|
|
3568
3612
|
pickUp?: {
|
|
3613
|
+
submitOrderInstruction?: {
|
|
3614
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3615
|
+
paid?: Record<string, string> | null | undefined;
|
|
3616
|
+
} | null | undefined;
|
|
3569
3617
|
enabled: boolean;
|
|
3570
3618
|
} | null | undefined;
|
|
3571
3619
|
displayStand?: {
|
|
3572
3620
|
enabled?: boolean | undefined;
|
|
3573
3621
|
prefix?: string | null | undefined;
|
|
3622
|
+
submitOrderInstruction?: {
|
|
3623
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3624
|
+
paid?: Record<string, string> | null | undefined;
|
|
3625
|
+
} | null | undefined;
|
|
3574
3626
|
standSlotRange: {
|
|
3575
3627
|
min: number;
|
|
3576
3628
|
max: number;
|
|
@@ -3579,6 +3631,28 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3579
3631
|
} | null | undefined;
|
|
3580
3632
|
}>>>;
|
|
3581
3633
|
canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
3634
|
+
takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3635
|
+
submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3636
|
+
payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3637
|
+
paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3638
|
+
}, "strip", z.ZodTypeAny, {
|
|
3639
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3640
|
+
paid?: Record<string, string> | null | undefined;
|
|
3641
|
+
}, {
|
|
3642
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3643
|
+
paid?: Record<string, string> | null | undefined;
|
|
3644
|
+
}>>>;
|
|
3645
|
+
}, "strip", z.ZodTypeAny, {
|
|
3646
|
+
submitOrderInstruction?: {
|
|
3647
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3648
|
+
paid?: Record<string, string> | null | undefined;
|
|
3649
|
+
} | null | undefined;
|
|
3650
|
+
}, {
|
|
3651
|
+
submitOrderInstruction?: {
|
|
3652
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3653
|
+
paid?: Record<string, string> | null | undefined;
|
|
3654
|
+
} | null | undefined;
|
|
3655
|
+
}>>>;
|
|
3582
3656
|
paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3583
3657
|
paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
|
|
3584
3658
|
offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -3675,9 +3749,17 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3675
3749
|
dineIn?: {
|
|
3676
3750
|
requiredSlot?: boolean | null | undefined;
|
|
3677
3751
|
pickUp?: {
|
|
3752
|
+
submitOrderInstruction?: {
|
|
3753
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3754
|
+
paid?: Record<string, string> | null | undefined;
|
|
3755
|
+
} | null | undefined;
|
|
3678
3756
|
enabled: boolean;
|
|
3679
3757
|
} | null | undefined;
|
|
3680
3758
|
displayStand?: {
|
|
3759
|
+
submitOrderInstruction?: {
|
|
3760
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3761
|
+
paid?: Record<string, string> | null | undefined;
|
|
3762
|
+
} | null | undefined;
|
|
3681
3763
|
enabled: boolean;
|
|
3682
3764
|
standSlotRange: {
|
|
3683
3765
|
min: number;
|
|
@@ -3688,6 +3770,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3688
3770
|
} | null | undefined;
|
|
3689
3771
|
} | null | undefined;
|
|
3690
3772
|
canTakeaway?: boolean | null | undefined;
|
|
3773
|
+
takeaway?: {
|
|
3774
|
+
submitOrderInstruction?: {
|
|
3775
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3776
|
+
paid?: Record<string, string> | null | undefined;
|
|
3777
|
+
} | null | undefined;
|
|
3778
|
+
} | null | undefined;
|
|
3691
3779
|
paymentSetting?: {
|
|
3692
3780
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3693
3781
|
offlinePaymentTypes?: {
|
|
@@ -3712,11 +3800,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3712
3800
|
dineIn?: {
|
|
3713
3801
|
requiredSlot?: boolean | null | undefined;
|
|
3714
3802
|
pickUp?: {
|
|
3803
|
+
submitOrderInstruction?: {
|
|
3804
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3805
|
+
paid?: Record<string, string> | null | undefined;
|
|
3806
|
+
} | null | undefined;
|
|
3715
3807
|
enabled: boolean;
|
|
3716
3808
|
} | null | undefined;
|
|
3717
3809
|
displayStand?: {
|
|
3718
3810
|
enabled?: boolean | undefined;
|
|
3719
3811
|
prefix?: string | null | undefined;
|
|
3812
|
+
submitOrderInstruction?: {
|
|
3813
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3814
|
+
paid?: Record<string, string> | null | undefined;
|
|
3815
|
+
} | null | undefined;
|
|
3720
3816
|
standSlotRange: {
|
|
3721
3817
|
min: number;
|
|
3722
3818
|
max: number;
|
|
@@ -3725,6 +3821,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3725
3821
|
} | null | undefined;
|
|
3726
3822
|
} | null | undefined;
|
|
3727
3823
|
canTakeaway?: boolean | null | undefined;
|
|
3824
|
+
takeaway?: {
|
|
3825
|
+
submitOrderInstruction?: {
|
|
3826
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
3827
|
+
paid?: Record<string, string> | null | undefined;
|
|
3828
|
+
} | null | undefined;
|
|
3829
|
+
} | null | undefined;
|
|
3728
3830
|
paymentSetting?: {
|
|
3729
3831
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3730
3832
|
offlinePaymentTypes?: {
|
|
@@ -3914,9 +4016,17 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3914
4016
|
dineIn?: {
|
|
3915
4017
|
requiredSlot?: boolean | null | undefined;
|
|
3916
4018
|
pickUp?: {
|
|
4019
|
+
submitOrderInstruction?: {
|
|
4020
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4021
|
+
paid?: Record<string, string> | null | undefined;
|
|
4022
|
+
} | null | undefined;
|
|
3917
4023
|
enabled: boolean;
|
|
3918
4024
|
} | null | undefined;
|
|
3919
4025
|
displayStand?: {
|
|
4026
|
+
submitOrderInstruction?: {
|
|
4027
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4028
|
+
paid?: Record<string, string> | null | undefined;
|
|
4029
|
+
} | null | undefined;
|
|
3920
4030
|
enabled: boolean;
|
|
3921
4031
|
standSlotRange: {
|
|
3922
4032
|
min: number;
|
|
@@ -3927,6 +4037,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
3927
4037
|
} | null | undefined;
|
|
3928
4038
|
} | null | undefined;
|
|
3929
4039
|
canTakeaway?: boolean | null | undefined;
|
|
4040
|
+
takeaway?: {
|
|
4041
|
+
submitOrderInstruction?: {
|
|
4042
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4043
|
+
paid?: Record<string, string> | null | undefined;
|
|
4044
|
+
} | null | undefined;
|
|
4045
|
+
} | null | undefined;
|
|
3930
4046
|
paymentSetting?: {
|
|
3931
4047
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3932
4048
|
offlinePaymentTypes?: {
|
|
@@ -4091,11 +4207,19 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4091
4207
|
dineIn?: {
|
|
4092
4208
|
requiredSlot?: boolean | null | undefined;
|
|
4093
4209
|
pickUp?: {
|
|
4210
|
+
submitOrderInstruction?: {
|
|
4211
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4212
|
+
paid?: Record<string, string> | null | undefined;
|
|
4213
|
+
} | null | undefined;
|
|
4094
4214
|
enabled: boolean;
|
|
4095
4215
|
} | null | undefined;
|
|
4096
4216
|
displayStand?: {
|
|
4097
4217
|
enabled?: boolean | undefined;
|
|
4098
4218
|
prefix?: string | null | undefined;
|
|
4219
|
+
submitOrderInstruction?: {
|
|
4220
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4221
|
+
paid?: Record<string, string> | null | undefined;
|
|
4222
|
+
} | null | undefined;
|
|
4099
4223
|
standSlotRange: {
|
|
4100
4224
|
min: number;
|
|
4101
4225
|
max: number;
|
|
@@ -4104,6 +4228,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4104
4228
|
} | null | undefined;
|
|
4105
4229
|
} | null | undefined;
|
|
4106
4230
|
canTakeaway?: boolean | null | undefined;
|
|
4231
|
+
takeaway?: {
|
|
4232
|
+
submitOrderInstruction?: {
|
|
4233
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
4234
|
+
paid?: Record<string, string> | null | undefined;
|
|
4235
|
+
} | null | undefined;
|
|
4236
|
+
} | null | undefined;
|
|
4107
4237
|
paymentSetting?: {
|
|
4108
4238
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4109
4239
|
offlinePaymentTypes?: {
|