@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.
- package/dist/{KioskDevicesView-C6YmdLKc.js → KioskDevicesView-DGkvW2mH.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BGZLd8T_.js} +2 -2
- package/dist/KioskSettingView-DLb5nnCu.js +821 -0
- package/dist/KioskView-kZZYSfUh.js +430 -0
- package/dist/{OrderSettingsView-D_bGK-3J.js → OrderSettingsView-Cil4j9G5.js} +14 -11
- package/dist/{app-C5qwExhL.js → app-D47VRl5B.js} +47 -39
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-kEC9G7bx.js → dayjs.min-R4180ukF.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +8 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +17 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +192 -12
- package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +4 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +9 -0
- 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-DgLlDwJK.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 +129 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +255 -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 +156 -8
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +312 -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 +154 -6
- package/dist/package/entity/websocket/websocket.dto.d.ts +328 -0
- package/dist/{queue.do-Vog69wnQ.js → queue.do-CNMuossU.js} +4540 -4517
- package/package.json +1 -1
- package/src/locales/en-US.json +5 -2
- package/src/locales/zh-CN.json +4 -0
- package/src/modules/order-setting/kiosk/interface.ts +20 -0
- package/src/stores/order-setting/mapper.ts +68 -11
- package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
- package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
- package/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue +33 -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 +41 -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
|
@@ -21,13 +21,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
21
21
|
};
|
|
22
22
|
prefix: string | null;
|
|
23
23
|
padDigit: number;
|
|
24
|
+
enablePaxDialog: boolean;
|
|
25
|
+
submitOrderInstruction: {
|
|
26
|
+
payAtCounter: string | null;
|
|
27
|
+
paid: string | null;
|
|
28
|
+
};
|
|
24
29
|
};
|
|
25
30
|
pickUp: {
|
|
26
31
|
enabled: boolean;
|
|
32
|
+
enablePaxDialog: boolean;
|
|
33
|
+
submitOrderInstruction: {
|
|
34
|
+
payAtCounter: string | null;
|
|
35
|
+
paid: string | null;
|
|
36
|
+
};
|
|
27
37
|
};
|
|
28
38
|
};
|
|
29
39
|
takeaway: {
|
|
30
40
|
enabled: boolean;
|
|
41
|
+
submitOrderInstruction: {
|
|
42
|
+
payAtCounter: string | null;
|
|
43
|
+
paid: string | null;
|
|
44
|
+
};
|
|
31
45
|
};
|
|
32
46
|
paymentSetting: {
|
|
33
47
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -130,11 +144,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
130
144
|
prefix: string;
|
|
131
145
|
current: number;
|
|
132
146
|
} | undefined;
|
|
133
|
-
|
|
147
|
+
takeaway?: {
|
|
134
148
|
prefix: string;
|
|
135
149
|
current: number;
|
|
136
150
|
} | undefined;
|
|
137
|
-
|
|
151
|
+
inHouseDelivery?: {
|
|
138
152
|
prefix: string;
|
|
139
153
|
current: number;
|
|
140
154
|
} | undefined;
|
|
@@ -170,9 +184,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
170
184
|
dineIn?: {
|
|
171
185
|
requiredSlot?: boolean | null | undefined;
|
|
172
186
|
pickUp?: {
|
|
187
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
188
|
+
submitOrderInstruction?: {
|
|
189
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
190
|
+
paid?: Record<string, string> | null | undefined;
|
|
191
|
+
} | null | undefined;
|
|
173
192
|
enabled: boolean;
|
|
174
193
|
} | null | undefined;
|
|
175
194
|
displayStand?: {
|
|
195
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
196
|
+
submitOrderInstruction?: {
|
|
197
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
198
|
+
paid?: Record<string, string> | null | undefined;
|
|
199
|
+
} | null | undefined;
|
|
176
200
|
enabled: boolean;
|
|
177
201
|
standSlotRange: {
|
|
178
202
|
min: number;
|
|
@@ -183,6 +207,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
183
207
|
} | null | undefined;
|
|
184
208
|
} | null | undefined;
|
|
185
209
|
canTakeaway?: boolean | null | undefined;
|
|
210
|
+
takeaway?: {
|
|
211
|
+
submitOrderInstruction?: {
|
|
212
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
213
|
+
paid?: Record<string, string> | null | undefined;
|
|
214
|
+
} | null | undefined;
|
|
215
|
+
} | null | undefined;
|
|
186
216
|
paymentSetting?: {
|
|
187
217
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
188
218
|
offlinePaymentTypes?: {
|
|
@@ -226,13 +256,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
226
256
|
};
|
|
227
257
|
prefix: string | null;
|
|
228
258
|
padDigit: number;
|
|
259
|
+
enablePaxDialog: boolean;
|
|
260
|
+
submitOrderInstruction: {
|
|
261
|
+
payAtCounter: string | null;
|
|
262
|
+
paid: string | null;
|
|
263
|
+
};
|
|
229
264
|
};
|
|
230
265
|
pickUp: {
|
|
231
266
|
enabled: boolean;
|
|
267
|
+
enablePaxDialog: boolean;
|
|
268
|
+
submitOrderInstruction: {
|
|
269
|
+
payAtCounter: string | null;
|
|
270
|
+
paid: string | null;
|
|
271
|
+
};
|
|
232
272
|
};
|
|
233
273
|
};
|
|
234
274
|
takeaway: {
|
|
235
275
|
enabled: boolean;
|
|
276
|
+
submitOrderInstruction: {
|
|
277
|
+
payAtCounter: string | null;
|
|
278
|
+
paid: string | null;
|
|
279
|
+
};
|
|
236
280
|
};
|
|
237
281
|
paymentSetting: {
|
|
238
282
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -335,11 +379,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
335
379
|
prefix: string;
|
|
336
380
|
current: number;
|
|
337
381
|
} | undefined;
|
|
338
|
-
|
|
382
|
+
takeaway?: {
|
|
339
383
|
prefix: string;
|
|
340
384
|
current: number;
|
|
341
385
|
} | undefined;
|
|
342
|
-
|
|
386
|
+
inHouseDelivery?: {
|
|
343
387
|
prefix: string;
|
|
344
388
|
current: number;
|
|
345
389
|
} | undefined;
|
|
@@ -375,9 +419,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
375
419
|
dineIn?: {
|
|
376
420
|
requiredSlot?: boolean | null | undefined;
|
|
377
421
|
pickUp?: {
|
|
422
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
423
|
+
submitOrderInstruction?: {
|
|
424
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
425
|
+
paid?: Record<string, string> | null | undefined;
|
|
426
|
+
} | null | undefined;
|
|
378
427
|
enabled: boolean;
|
|
379
428
|
} | null | undefined;
|
|
380
429
|
displayStand?: {
|
|
430
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
431
|
+
submitOrderInstruction?: {
|
|
432
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
433
|
+
paid?: Record<string, string> | null | undefined;
|
|
434
|
+
} | null | undefined;
|
|
381
435
|
enabled: boolean;
|
|
382
436
|
standSlotRange: {
|
|
383
437
|
min: number;
|
|
@@ -388,6 +442,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
388
442
|
} | null | undefined;
|
|
389
443
|
} | null | undefined;
|
|
390
444
|
canTakeaway?: boolean | null | undefined;
|
|
445
|
+
takeaway?: {
|
|
446
|
+
submitOrderInstruction?: {
|
|
447
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
448
|
+
paid?: Record<string, string> | null | undefined;
|
|
449
|
+
} | null | undefined;
|
|
450
|
+
} | null | undefined;
|
|
391
451
|
paymentSetting?: {
|
|
392
452
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
393
453
|
offlinePaymentTypes?: {
|
|
@@ -436,13 +496,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
436
496
|
};
|
|
437
497
|
prefix: string | null;
|
|
438
498
|
padDigit: number;
|
|
499
|
+
enablePaxDialog: boolean;
|
|
500
|
+
submitOrderInstruction: {
|
|
501
|
+
payAtCounter: string | null;
|
|
502
|
+
paid: string | null;
|
|
503
|
+
};
|
|
439
504
|
};
|
|
440
505
|
pickUp: {
|
|
441
506
|
enabled: boolean;
|
|
507
|
+
enablePaxDialog: boolean;
|
|
508
|
+
submitOrderInstruction: {
|
|
509
|
+
payAtCounter: string | null;
|
|
510
|
+
paid: string | null;
|
|
511
|
+
};
|
|
442
512
|
};
|
|
443
513
|
};
|
|
444
514
|
takeaway: {
|
|
445
515
|
enabled: boolean;
|
|
516
|
+
submitOrderInstruction: {
|
|
517
|
+
payAtCounter: string | null;
|
|
518
|
+
paid: string | null;
|
|
519
|
+
};
|
|
446
520
|
};
|
|
447
521
|
paymentSetting: {
|
|
448
522
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -545,11 +619,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
545
619
|
prefix: string;
|
|
546
620
|
current: number;
|
|
547
621
|
} | undefined;
|
|
548
|
-
|
|
622
|
+
takeaway?: {
|
|
549
623
|
prefix: string;
|
|
550
624
|
current: number;
|
|
551
625
|
} | undefined;
|
|
552
|
-
|
|
626
|
+
inHouseDelivery?: {
|
|
553
627
|
prefix: string;
|
|
554
628
|
current: number;
|
|
555
629
|
} | undefined;
|
|
@@ -585,9 +659,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
585
659
|
dineIn?: {
|
|
586
660
|
requiredSlot?: boolean | null | undefined;
|
|
587
661
|
pickUp?: {
|
|
662
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
663
|
+
submitOrderInstruction?: {
|
|
664
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
665
|
+
paid?: Record<string, string> | null | undefined;
|
|
666
|
+
} | null | undefined;
|
|
588
667
|
enabled: boolean;
|
|
589
668
|
} | null | undefined;
|
|
590
669
|
displayStand?: {
|
|
670
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
671
|
+
submitOrderInstruction?: {
|
|
672
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
673
|
+
paid?: Record<string, string> | null | undefined;
|
|
674
|
+
} | null | undefined;
|
|
591
675
|
enabled: boolean;
|
|
592
676
|
standSlotRange: {
|
|
593
677
|
min: number;
|
|
@@ -598,6 +682,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
598
682
|
} | null | undefined;
|
|
599
683
|
} | null | undefined;
|
|
600
684
|
canTakeaway?: boolean | null | undefined;
|
|
685
|
+
takeaway?: {
|
|
686
|
+
submitOrderInstruction?: {
|
|
687
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
688
|
+
paid?: Record<string, string> | null | undefined;
|
|
689
|
+
} | null | undefined;
|
|
690
|
+
} | null | undefined;
|
|
601
691
|
paymentSetting?: {
|
|
602
692
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
603
693
|
offlinePaymentTypes?: {
|
|
@@ -641,13 +731,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
641
731
|
};
|
|
642
732
|
prefix: string | null;
|
|
643
733
|
padDigit: number;
|
|
734
|
+
enablePaxDialog: boolean;
|
|
735
|
+
submitOrderInstruction: {
|
|
736
|
+
payAtCounter: string | null;
|
|
737
|
+
paid: string | null;
|
|
738
|
+
};
|
|
644
739
|
};
|
|
645
740
|
pickUp: {
|
|
646
741
|
enabled: boolean;
|
|
742
|
+
enablePaxDialog: boolean;
|
|
743
|
+
submitOrderInstruction: {
|
|
744
|
+
payAtCounter: string | null;
|
|
745
|
+
paid: string | null;
|
|
746
|
+
};
|
|
647
747
|
};
|
|
648
748
|
};
|
|
649
749
|
takeaway: {
|
|
650
750
|
enabled: boolean;
|
|
751
|
+
submitOrderInstruction: {
|
|
752
|
+
payAtCounter: string | null;
|
|
753
|
+
paid: string | null;
|
|
754
|
+
};
|
|
651
755
|
};
|
|
652
756
|
paymentSetting: {
|
|
653
757
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -750,11 +854,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
750
854
|
prefix: string;
|
|
751
855
|
current: number;
|
|
752
856
|
} | undefined;
|
|
753
|
-
|
|
857
|
+
takeaway?: {
|
|
754
858
|
prefix: string;
|
|
755
859
|
current: number;
|
|
756
860
|
} | undefined;
|
|
757
|
-
|
|
861
|
+
inHouseDelivery?: {
|
|
758
862
|
prefix: string;
|
|
759
863
|
current: number;
|
|
760
864
|
} | undefined;
|
|
@@ -790,9 +894,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
790
894
|
dineIn?: {
|
|
791
895
|
requiredSlot?: boolean | null | undefined;
|
|
792
896
|
pickUp?: {
|
|
897
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
898
|
+
submitOrderInstruction?: {
|
|
899
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
900
|
+
paid?: Record<string, string> | null | undefined;
|
|
901
|
+
} | null | undefined;
|
|
793
902
|
enabled: boolean;
|
|
794
903
|
} | null | undefined;
|
|
795
904
|
displayStand?: {
|
|
905
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
906
|
+
submitOrderInstruction?: {
|
|
907
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
908
|
+
paid?: Record<string, string> | null | undefined;
|
|
909
|
+
} | null | undefined;
|
|
796
910
|
enabled: boolean;
|
|
797
911
|
standSlotRange: {
|
|
798
912
|
min: number;
|
|
@@ -803,6 +917,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
803
917
|
} | null | undefined;
|
|
804
918
|
} | null | undefined;
|
|
805
919
|
canTakeaway?: boolean | null | undefined;
|
|
920
|
+
takeaway?: {
|
|
921
|
+
submitOrderInstruction?: {
|
|
922
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
923
|
+
paid?: Record<string, string> | null | undefined;
|
|
924
|
+
} | null | undefined;
|
|
925
|
+
} | null | undefined;
|
|
806
926
|
paymentSetting?: {
|
|
807
927
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
808
928
|
offlinePaymentTypes?: {
|
|
@@ -851,13 +971,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
851
971
|
};
|
|
852
972
|
prefix: string | null;
|
|
853
973
|
padDigit: number;
|
|
974
|
+
enablePaxDialog: boolean;
|
|
975
|
+
submitOrderInstruction: {
|
|
976
|
+
payAtCounter: string | null;
|
|
977
|
+
paid: string | null;
|
|
978
|
+
};
|
|
854
979
|
};
|
|
855
980
|
pickUp: {
|
|
856
981
|
enabled: boolean;
|
|
982
|
+
enablePaxDialog: boolean;
|
|
983
|
+
submitOrderInstruction: {
|
|
984
|
+
payAtCounter: string | null;
|
|
985
|
+
paid: string | null;
|
|
986
|
+
};
|
|
857
987
|
};
|
|
858
988
|
};
|
|
859
989
|
takeaway: {
|
|
860
990
|
enabled: boolean;
|
|
991
|
+
submitOrderInstruction: {
|
|
992
|
+
payAtCounter: string | null;
|
|
993
|
+
paid: string | null;
|
|
994
|
+
};
|
|
861
995
|
};
|
|
862
996
|
paymentSetting: {
|
|
863
997
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -960,11 +1094,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
960
1094
|
prefix: string;
|
|
961
1095
|
current: number;
|
|
962
1096
|
} | undefined;
|
|
963
|
-
|
|
1097
|
+
takeaway?: {
|
|
964
1098
|
prefix: string;
|
|
965
1099
|
current: number;
|
|
966
1100
|
} | undefined;
|
|
967
|
-
|
|
1101
|
+
inHouseDelivery?: {
|
|
968
1102
|
prefix: string;
|
|
969
1103
|
current: number;
|
|
970
1104
|
} | undefined;
|
|
@@ -1000,9 +1134,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1000
1134
|
dineIn?: {
|
|
1001
1135
|
requiredSlot?: boolean | null | undefined;
|
|
1002
1136
|
pickUp?: {
|
|
1137
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
1138
|
+
submitOrderInstruction?: {
|
|
1139
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1140
|
+
paid?: Record<string, string> | null | undefined;
|
|
1141
|
+
} | null | undefined;
|
|
1003
1142
|
enabled: boolean;
|
|
1004
1143
|
} | null | undefined;
|
|
1005
1144
|
displayStand?: {
|
|
1145
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
1146
|
+
submitOrderInstruction?: {
|
|
1147
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1148
|
+
paid?: Record<string, string> | null | undefined;
|
|
1149
|
+
} | null | undefined;
|
|
1006
1150
|
enabled: boolean;
|
|
1007
1151
|
standSlotRange: {
|
|
1008
1152
|
min: number;
|
|
@@ -1013,6 +1157,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1013
1157
|
} | null | undefined;
|
|
1014
1158
|
} | null | undefined;
|
|
1015
1159
|
canTakeaway?: boolean | null | undefined;
|
|
1160
|
+
takeaway?: {
|
|
1161
|
+
submitOrderInstruction?: {
|
|
1162
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1163
|
+
paid?: Record<string, string> | null | undefined;
|
|
1164
|
+
} | null | undefined;
|
|
1165
|
+
} | null | undefined;
|
|
1016
1166
|
paymentSetting?: {
|
|
1017
1167
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
1018
1168
|
offlinePaymentTypes?: {
|
|
@@ -1056,13 +1206,27 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1056
1206
|
};
|
|
1057
1207
|
prefix: string | null;
|
|
1058
1208
|
padDigit: number;
|
|
1209
|
+
enablePaxDialog: boolean;
|
|
1210
|
+
submitOrderInstruction: {
|
|
1211
|
+
payAtCounter: string | null;
|
|
1212
|
+
paid: string | null;
|
|
1213
|
+
};
|
|
1059
1214
|
};
|
|
1060
1215
|
pickUp: {
|
|
1061
1216
|
enabled: boolean;
|
|
1217
|
+
enablePaxDialog: boolean;
|
|
1218
|
+
submitOrderInstruction: {
|
|
1219
|
+
payAtCounter: string | null;
|
|
1220
|
+
paid: string | null;
|
|
1221
|
+
};
|
|
1062
1222
|
};
|
|
1063
1223
|
};
|
|
1064
1224
|
takeaway: {
|
|
1065
1225
|
enabled: boolean;
|
|
1226
|
+
submitOrderInstruction: {
|
|
1227
|
+
payAtCounter: string | null;
|
|
1228
|
+
paid: string | null;
|
|
1229
|
+
};
|
|
1066
1230
|
};
|
|
1067
1231
|
paymentSetting: {
|
|
1068
1232
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -1165,11 +1329,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1165
1329
|
prefix: string;
|
|
1166
1330
|
current: number;
|
|
1167
1331
|
} | undefined;
|
|
1168
|
-
|
|
1332
|
+
takeaway?: {
|
|
1169
1333
|
prefix: string;
|
|
1170
1334
|
current: number;
|
|
1171
1335
|
} | undefined;
|
|
1172
|
-
|
|
1336
|
+
inHouseDelivery?: {
|
|
1173
1337
|
prefix: string;
|
|
1174
1338
|
current: number;
|
|
1175
1339
|
} | undefined;
|
|
@@ -1205,9 +1369,19 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1205
1369
|
dineIn?: {
|
|
1206
1370
|
requiredSlot?: boolean | null | undefined;
|
|
1207
1371
|
pickUp?: {
|
|
1372
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
1373
|
+
submitOrderInstruction?: {
|
|
1374
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1375
|
+
paid?: Record<string, string> | null | undefined;
|
|
1376
|
+
} | null | undefined;
|
|
1208
1377
|
enabled: boolean;
|
|
1209
1378
|
} | null | undefined;
|
|
1210
1379
|
displayStand?: {
|
|
1380
|
+
enablePaxDialog?: boolean | null | undefined;
|
|
1381
|
+
submitOrderInstruction?: {
|
|
1382
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1383
|
+
paid?: Record<string, string> | null | undefined;
|
|
1384
|
+
} | null | undefined;
|
|
1211
1385
|
enabled: boolean;
|
|
1212
1386
|
standSlotRange: {
|
|
1213
1387
|
min: number;
|
|
@@ -1218,6 +1392,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1218
1392
|
} | null | undefined;
|
|
1219
1393
|
} | null | undefined;
|
|
1220
1394
|
canTakeaway?: boolean | null | undefined;
|
|
1395
|
+
takeaway?: {
|
|
1396
|
+
submitOrderInstruction?: {
|
|
1397
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1398
|
+
paid?: Record<string, string> | null | undefined;
|
|
1399
|
+
} | null | undefined;
|
|
1400
|
+
} | null | undefined;
|
|
1221
1401
|
paymentSetting?: {
|
|
1222
1402
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
1223
1403
|
offlinePaymentTypes?: {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { OrderSettingsDto, OrderKioskDineInSequenceDto } from "@entity";
|
|
2
|
-
import type { MfKioskOrderSetting, MfDisplayStandSetting, KioskTakeawaySettingForm, MfKioskOrderSettingForm } from '@/modules/order-setting/kiosk/interface';
|
|
2
|
+
import type { MfKioskOrderSetting, MfDisplayStandSetting, KioskTakeawaySettingForm, MfKioskOrderSettingForm, MfKioskSubmitOrderInstruction, KioskPickAtCounterSettingForm } from '@/modules/order-setting/kiosk/interface';
|
|
3
3
|
import type { MfOrderSetting } from "@/modules/order-setting/interface";
|
|
4
4
|
import type { OrderKioskSettings } from "@entity";
|
|
5
5
|
export declare const defaultDisplayStand: MfDisplayStandSetting;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const defaultTakeaway: KioskTakeawaySettingForm;
|
|
7
|
+
export declare const defaultPickUp: KioskPickAtCounterSettingForm;
|
|
7
8
|
export declare const defaultKioskOrderSetting: MfKioskOrderSettingForm;
|
|
9
|
+
export declare const defaultSubmitOrderInstruction: MfKioskSubmitOrderInstruction;
|
|
8
10
|
export declare const OrderSettingMapper: {
|
|
9
11
|
convertOrderSettingDto: (dto: OrderSettingsDto) => MfOrderSetting;
|
|
10
12
|
toOrderKioskSettingsDto: (kioskSetting: MfKioskOrderSetting) => {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
v: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
updateEnablePaxDialog: (v: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
+
onUpdateEnablePaxDialog?: ((v: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface ITextField {
|
|
2
|
+
id: string;
|
|
3
|
+
value: string | undefined;
|
|
4
|
+
title: string;
|
|
5
|
+
defaultValue: string;
|
|
6
|
+
}
|
|
7
|
+
interface Props {
|
|
8
|
+
fields: ITextField[];
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:field": (id: string, value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
"onUpdate:field"?: ((id: string, value: string) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { PickAtCounterSettingForm } from '@/modules/order-setting/kiosk/interface';
|
|
1
2
|
interface Props {
|
|
2
|
-
|
|
3
|
+
form: PickAtCounterSettingForm;
|
|
3
4
|
}
|
|
4
5
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update-pick-up": (
|
|
6
|
+
"update-pick-up": (form: PickAtCounterSettingForm) => any;
|
|
6
7
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
-
"onUpdate-pick-up"?: ((
|
|
8
|
+
"onUpdate-pick-up"?: ((form: PickAtCounterSettingForm) => any) | undefined;
|
|
8
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
10
|
export default _default;
|