@feedmepos/mf-order-setting 0.0.11 → 0.0.13
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/KioskSettingView-_h6R-Crz.js +4 -0
- package/dist/{app-DAZEzbeH.js → app-E2uM-UYx.js} +55737 -32570
- package/dist/app.js +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/package/entity/food-court/order.dto.d.ts +5108 -5108
- package/dist/package/entity/order/order.dto.d.ts +3709 -3762
- package/dist/package/entity/order/payment/payment.dto.d.ts +1954 -1954
- package/dist/package/entity/order-platform/menu.dto.d.ts +40 -40
- package/dist/package/entity/queue/queue.do.d.ts +30 -30
- package/package.json +2 -2
- package/src/stores/order-setting/index.ts +1 -1
- package/src/stores/order-setting/mapper.ts +2 -1
- package/src/views/kiosk/KioskView.vue +3 -1
- package/src/views/kiosk/settings/KioskDineInSection.vue +2 -3
- package/dist/KioskSettingView-Cyy5A4dS.js +0 -4
|
@@ -871,7 +871,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
871
871
|
precision: number;
|
|
872
872
|
};
|
|
873
873
|
}[] | null | undefined;
|
|
874
|
-
takeawayUsed?: string | null | undefined;
|
|
875
874
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
876
875
|
addonProductBinding?: {
|
|
877
876
|
price?: {
|
|
@@ -900,6 +899,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
900
899
|
active: boolean;
|
|
901
900
|
addonKey: string;
|
|
902
901
|
}[] | null | undefined;
|
|
902
|
+
takeawayUsed?: string | null | undefined;
|
|
903
903
|
schedulerUsed?: string | null | undefined;
|
|
904
904
|
printDepartments?: string[] | null | undefined;
|
|
905
905
|
code: string;
|
|
@@ -912,6 +912,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
912
912
|
};
|
|
913
913
|
category: string;
|
|
914
914
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
915
|
+
addonGroupUsed: string[];
|
|
916
|
+
variantUsed: string[];
|
|
915
917
|
variantCombination: {
|
|
916
918
|
code?: string | null | undefined;
|
|
917
919
|
price?: {
|
|
@@ -941,8 +943,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
941
943
|
active: boolean;
|
|
942
944
|
selectionName: string[];
|
|
943
945
|
}[];
|
|
944
|
-
addonGroupUsed: string[];
|
|
945
|
-
variantUsed: string[];
|
|
946
946
|
}, {
|
|
947
947
|
description?: string | null | undefined;
|
|
948
948
|
name2?: string | null | undefined;
|
|
@@ -972,7 +972,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
972
972
|
precision: number;
|
|
973
973
|
};
|
|
974
974
|
}[] | null | undefined;
|
|
975
|
-
takeawayUsed?: string | null | undefined;
|
|
976
975
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
977
976
|
addonProductBinding?: {
|
|
978
977
|
price?: {
|
|
@@ -1001,6 +1000,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1001
1000
|
active: boolean;
|
|
1002
1001
|
addonKey: string;
|
|
1003
1002
|
}[] | null | undefined;
|
|
1003
|
+
takeawayUsed?: string | null | undefined;
|
|
1004
1004
|
schedulerUsed?: string | null | undefined;
|
|
1005
1005
|
printDepartments?: string[] | null | undefined;
|
|
1006
1006
|
code: string;
|
|
@@ -1013,6 +1013,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1013
1013
|
};
|
|
1014
1014
|
category: string;
|
|
1015
1015
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
1016
|
+
addonGroupUsed: string[];
|
|
1017
|
+
variantUsed: string[];
|
|
1016
1018
|
variantCombination: {
|
|
1017
1019
|
code?: string | null | undefined;
|
|
1018
1020
|
price?: {
|
|
@@ -1042,8 +1044,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1042
1044
|
active: boolean;
|
|
1043
1045
|
selectionName: string[];
|
|
1044
1046
|
}[];
|
|
1045
|
-
addonGroupUsed: string[];
|
|
1046
|
-
variantUsed: string[];
|
|
1047
1047
|
}>;
|
|
1048
1048
|
price: z.ZodObject<{
|
|
1049
1049
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
@@ -1406,7 +1406,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1406
1406
|
precision: number;
|
|
1407
1407
|
};
|
|
1408
1408
|
}[] | null | undefined;
|
|
1409
|
-
takeawayUsed?: string | null | undefined;
|
|
1410
1409
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
1411
1410
|
addonProductBinding?: {
|
|
1412
1411
|
price?: {
|
|
@@ -1435,6 +1434,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1435
1434
|
active: boolean;
|
|
1436
1435
|
addonKey: string;
|
|
1437
1436
|
}[] | null | undefined;
|
|
1437
|
+
takeawayUsed?: string | null | undefined;
|
|
1438
1438
|
schedulerUsed?: string | null | undefined;
|
|
1439
1439
|
printDepartments?: string[] | null | undefined;
|
|
1440
1440
|
code: string;
|
|
@@ -1447,6 +1447,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1447
1447
|
};
|
|
1448
1448
|
category: string;
|
|
1449
1449
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
1450
|
+
addonGroupUsed: string[];
|
|
1451
|
+
variantUsed: string[];
|
|
1450
1452
|
variantCombination: {
|
|
1451
1453
|
code?: string | null | undefined;
|
|
1452
1454
|
price?: {
|
|
@@ -1476,8 +1478,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1476
1478
|
active: boolean;
|
|
1477
1479
|
selectionName: string[];
|
|
1478
1480
|
}[];
|
|
1479
|
-
addonGroupUsed: string[];
|
|
1480
|
-
variantUsed: string[];
|
|
1481
1481
|
};
|
|
1482
1482
|
variantSelectionGroups: any[];
|
|
1483
1483
|
count: number;
|
|
@@ -1586,7 +1586,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1586
1586
|
precision: number;
|
|
1587
1587
|
};
|
|
1588
1588
|
}[] | null | undefined;
|
|
1589
|
-
takeawayUsed?: string | null | undefined;
|
|
1590
1589
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
1591
1590
|
addonProductBinding?: {
|
|
1592
1591
|
price?: {
|
|
@@ -1615,6 +1614,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1615
1614
|
active: boolean;
|
|
1616
1615
|
addonKey: string;
|
|
1617
1616
|
}[] | null | undefined;
|
|
1617
|
+
takeawayUsed?: string | null | undefined;
|
|
1618
1618
|
schedulerUsed?: string | null | undefined;
|
|
1619
1619
|
printDepartments?: string[] | null | undefined;
|
|
1620
1620
|
code: string;
|
|
@@ -1627,6 +1627,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1627
1627
|
};
|
|
1628
1628
|
category: string;
|
|
1629
1629
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
1630
|
+
addonGroupUsed: string[];
|
|
1631
|
+
variantUsed: string[];
|
|
1630
1632
|
variantCombination: {
|
|
1631
1633
|
code?: string | null | undefined;
|
|
1632
1634
|
price?: {
|
|
@@ -1656,8 +1658,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1656
1658
|
active: boolean;
|
|
1657
1659
|
selectionName: string[];
|
|
1658
1660
|
}[];
|
|
1659
|
-
addonGroupUsed: string[];
|
|
1660
|
-
variantUsed: string[];
|
|
1661
1661
|
};
|
|
1662
1662
|
variantSelectionGroups: any[];
|
|
1663
1663
|
count: number;
|
|
@@ -2196,7 +2196,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2196
2196
|
precision: number;
|
|
2197
2197
|
};
|
|
2198
2198
|
}[] | null | undefined;
|
|
2199
|
-
takeawayUsed?: string | null | undefined;
|
|
2200
2199
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
2201
2200
|
addonProductBinding?: {
|
|
2202
2201
|
price?: {
|
|
@@ -2225,6 +2224,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2225
2224
|
active: boolean;
|
|
2226
2225
|
addonKey: string;
|
|
2227
2226
|
}[] | null | undefined;
|
|
2227
|
+
takeawayUsed?: string | null | undefined;
|
|
2228
2228
|
schedulerUsed?: string | null | undefined;
|
|
2229
2229
|
printDepartments?: string[] | null | undefined;
|
|
2230
2230
|
code: string;
|
|
@@ -2237,6 +2237,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2237
2237
|
};
|
|
2238
2238
|
category: string;
|
|
2239
2239
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2240
|
+
addonGroupUsed: string[];
|
|
2241
|
+
variantUsed: string[];
|
|
2240
2242
|
variantCombination: {
|
|
2241
2243
|
code?: string | null | undefined;
|
|
2242
2244
|
price?: {
|
|
@@ -2266,8 +2268,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2266
2268
|
active: boolean;
|
|
2267
2269
|
selectionName: string[];
|
|
2268
2270
|
}[];
|
|
2269
|
-
addonGroupUsed: string[];
|
|
2270
|
-
variantUsed: string[];
|
|
2271
2271
|
}, {
|
|
2272
2272
|
description?: string | null | undefined;
|
|
2273
2273
|
name2?: string | null | undefined;
|
|
@@ -2297,7 +2297,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2297
2297
|
precision: number;
|
|
2298
2298
|
};
|
|
2299
2299
|
}[] | null | undefined;
|
|
2300
|
-
takeawayUsed?: string | null | undefined;
|
|
2301
2300
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
2302
2301
|
addonProductBinding?: {
|
|
2303
2302
|
price?: {
|
|
@@ -2326,6 +2325,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2326
2325
|
active: boolean;
|
|
2327
2326
|
addonKey: string;
|
|
2328
2327
|
}[] | null | undefined;
|
|
2328
|
+
takeawayUsed?: string | null | undefined;
|
|
2329
2329
|
schedulerUsed?: string | null | undefined;
|
|
2330
2330
|
printDepartments?: string[] | null | undefined;
|
|
2331
2331
|
code: string;
|
|
@@ -2338,6 +2338,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2338
2338
|
};
|
|
2339
2339
|
category: string;
|
|
2340
2340
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2341
|
+
addonGroupUsed: string[];
|
|
2342
|
+
variantUsed: string[];
|
|
2341
2343
|
variantCombination: {
|
|
2342
2344
|
code?: string | null | undefined;
|
|
2343
2345
|
price?: {
|
|
@@ -2367,8 +2369,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2367
2369
|
active: boolean;
|
|
2368
2370
|
selectionName: string[];
|
|
2369
2371
|
}[];
|
|
2370
|
-
addonGroupUsed: string[];
|
|
2371
|
-
variantUsed: string[];
|
|
2372
2372
|
}>;
|
|
2373
2373
|
price: z.ZodObject<{
|
|
2374
2374
|
currency: z.ZodIntersection<z.ZodString, z.ZodUnion<[z.ZodLiteral<"AED">, z.ZodLiteral<"AFN">, z.ZodLiteral<"ALL">, z.ZodLiteral<"AMD">, z.ZodLiteral<"ANG">, z.ZodLiteral<"AOA">, z.ZodLiteral<"ARS">, z.ZodLiteral<"AUD">, z.ZodLiteral<"AWG">, z.ZodLiteral<"AZN">, z.ZodLiteral<"BAM">, z.ZodLiteral<"BBD">, z.ZodLiteral<"BDT">, z.ZodLiteral<"BGN">, z.ZodLiteral<"BHD">, z.ZodLiteral<"BIF">, z.ZodLiteral<"BMD">, z.ZodLiteral<"BND">, z.ZodLiteral<"BOB">, z.ZodLiteral<"BOV">, z.ZodLiteral<"BRL">, z.ZodLiteral<"BSD">, z.ZodLiteral<"BTN">, z.ZodLiteral<"BWP">, z.ZodLiteral<"BYN">, z.ZodLiteral<"BZD">, z.ZodLiteral<"CAD">, z.ZodLiteral<"CDF">, z.ZodLiteral<"CHE">, z.ZodLiteral<"CHF">, z.ZodLiteral<"CHW">, z.ZodLiteral<"CLF">, z.ZodLiteral<"CLP">, z.ZodLiteral<"CNY">, z.ZodLiteral<"COP">, z.ZodLiteral<"COU">, z.ZodLiteral<"CRC">, z.ZodLiteral<"CUC">, z.ZodLiteral<"CUP">, z.ZodLiteral<"CVE">, z.ZodLiteral<"CZK">, z.ZodLiteral<"DJF">, z.ZodLiteral<"DKK">, z.ZodLiteral<"DOP">, z.ZodLiteral<"DZD">, z.ZodLiteral<"EGP">, z.ZodLiteral<"ERN">, z.ZodLiteral<"ETB">, z.ZodLiteral<"EUR">, z.ZodLiteral<"FJD">, z.ZodLiteral<"FKP">, z.ZodLiteral<"GBP">, z.ZodLiteral<"GEL">, z.ZodLiteral<"GHS">, z.ZodLiteral<"GIP">, z.ZodLiteral<"GMD">, z.ZodLiteral<"GNF">, z.ZodLiteral<"GTQ">, z.ZodLiteral<"GYD">, z.ZodLiteral<"HKD">, z.ZodLiteral<"HNL">, z.ZodLiteral<"HRK">, z.ZodLiteral<"HTG">, z.ZodLiteral<"HUF">, z.ZodLiteral<"IDR">, z.ZodLiteral<"ILS">, z.ZodLiteral<"INR">, z.ZodLiteral<"IQD">, z.ZodLiteral<"IRR">, z.ZodLiteral<"ISK">, z.ZodLiteral<"JMD">, z.ZodLiteral<"JOD">, z.ZodLiteral<"JPY">, z.ZodLiteral<"KES">, z.ZodLiteral<"KGS">, z.ZodLiteral<"KHR">, z.ZodLiteral<"KMF">, z.ZodLiteral<"KPW">, z.ZodLiteral<"KRW">, z.ZodLiteral<"KWD">, z.ZodLiteral<"KYD">, z.ZodLiteral<"KZT">, z.ZodLiteral<"LAK">, z.ZodLiteral<"LBP">, z.ZodLiteral<"LKR">, z.ZodLiteral<"LRD">, z.ZodLiteral<"LSL">, z.ZodLiteral<"LYD">, z.ZodLiteral<"MAD">, z.ZodLiteral<"MDL">, z.ZodLiteral<"MGA">, z.ZodLiteral<"MKD">, z.ZodLiteral<"MMK">, z.ZodLiteral<"MNT">, z.ZodLiteral<"MOP">, z.ZodLiteral<"MRU">, z.ZodLiteral<"MUR">, z.ZodLiteral<"MVR">, z.ZodLiteral<"MWK">, z.ZodLiteral<"MXN">, z.ZodLiteral<"MXV">, z.ZodLiteral<"MYR">, z.ZodLiteral<"MZN">, z.ZodLiteral<"NAD">, z.ZodLiteral<"NGN">, z.ZodLiteral<"NIO">, z.ZodLiteral<"NOK">, z.ZodLiteral<"NPR">, z.ZodLiteral<"NZD">, z.ZodLiteral<"OMR">, z.ZodLiteral<"PAB">, z.ZodLiteral<"PEN">, z.ZodLiteral<"PGK">, z.ZodLiteral<"PHP">, z.ZodLiteral<"PKR">, z.ZodLiteral<"PLN">, z.ZodLiteral<"PYG">, z.ZodLiteral<"QAR">, z.ZodLiteral<"RON">, z.ZodLiteral<"RSD">, z.ZodLiteral<"RUB">, z.ZodLiteral<"RWF">, z.ZodLiteral<"SAR">, z.ZodLiteral<"SBD">, z.ZodLiteral<"SCR">, z.ZodLiteral<"SDG">, z.ZodLiteral<"SEK">, z.ZodLiteral<"SGD">, z.ZodLiteral<"SHP">, z.ZodLiteral<"SLL">, z.ZodLiteral<"SOS">, z.ZodLiteral<"SRD">, z.ZodLiteral<"SSP">, z.ZodLiteral<"STN">, z.ZodLiteral<"SVC">, z.ZodLiteral<"SYP">, z.ZodLiteral<"SZL">, z.ZodLiteral<"THB">, z.ZodLiteral<"TJS">, z.ZodLiteral<"TMT">, z.ZodLiteral<"TND">, z.ZodLiteral<"TOP">, z.ZodLiteral<"TRY">, z.ZodLiteral<"TTD">, z.ZodLiteral<"TWD">, z.ZodLiteral<"TZS">, z.ZodLiteral<"UAH">, z.ZodLiteral<"UGX">, z.ZodLiteral<"USD">, z.ZodLiteral<"USN">, z.ZodLiteral<"UYI">, z.ZodLiteral<"UYU">, z.ZodLiteral<"UYW">, z.ZodLiteral<"UZS">, z.ZodLiteral<"VES">, z.ZodLiteral<"VND">, z.ZodLiteral<"VUV">, z.ZodLiteral<"WST">, z.ZodLiteral<"XAF">, z.ZodLiteral<"XAG">, z.ZodLiteral<"XAU">, z.ZodLiteral<"XBA">, z.ZodLiteral<"XBB">, z.ZodLiteral<"XBC">, z.ZodLiteral<"XBD">, z.ZodLiteral<"XCD">, z.ZodLiteral<"XDR">, z.ZodLiteral<"XOF">, z.ZodLiteral<"XPD">, z.ZodLiteral<"XPF">, z.ZodLiteral<"XPT">, z.ZodLiteral<"XSU">, z.ZodLiteral<"XTS">, z.ZodLiteral<"XUA">, z.ZodLiteral<"XXX">, z.ZodLiteral<"YER">, z.ZodLiteral<"ZAR">, z.ZodLiteral<"ZMW">, z.ZodLiteral<"ZWL">]>>;
|
|
@@ -2731,7 +2731,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2731
2731
|
precision: number;
|
|
2732
2732
|
};
|
|
2733
2733
|
}[] | null | undefined;
|
|
2734
|
-
takeawayUsed?: string | null | undefined;
|
|
2735
2734
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
2736
2735
|
addonProductBinding?: {
|
|
2737
2736
|
price?: {
|
|
@@ -2760,6 +2759,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2760
2759
|
active: boolean;
|
|
2761
2760
|
addonKey: string;
|
|
2762
2761
|
}[] | null | undefined;
|
|
2762
|
+
takeawayUsed?: string | null | undefined;
|
|
2763
2763
|
schedulerUsed?: string | null | undefined;
|
|
2764
2764
|
printDepartments?: string[] | null | undefined;
|
|
2765
2765
|
code: string;
|
|
@@ -2772,6 +2772,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2772
2772
|
};
|
|
2773
2773
|
category: string;
|
|
2774
2774
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2775
|
+
addonGroupUsed: string[];
|
|
2776
|
+
variantUsed: string[];
|
|
2775
2777
|
variantCombination: {
|
|
2776
2778
|
code?: string | null | undefined;
|
|
2777
2779
|
price?: {
|
|
@@ -2801,8 +2803,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2801
2803
|
active: boolean;
|
|
2802
2804
|
selectionName: string[];
|
|
2803
2805
|
}[];
|
|
2804
|
-
addonGroupUsed: string[];
|
|
2805
|
-
variantUsed: string[];
|
|
2806
2806
|
};
|
|
2807
2807
|
variantSelectionGroups: any[];
|
|
2808
2808
|
count: number;
|
|
@@ -2911,7 +2911,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2911
2911
|
precision: number;
|
|
2912
2912
|
};
|
|
2913
2913
|
}[] | null | undefined;
|
|
2914
|
-
takeawayUsed?: string | null | undefined;
|
|
2915
2914
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
2916
2915
|
addonProductBinding?: {
|
|
2917
2916
|
price?: {
|
|
@@ -2940,6 +2939,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2940
2939
|
active: boolean;
|
|
2941
2940
|
addonKey: string;
|
|
2942
2941
|
}[] | null | undefined;
|
|
2942
|
+
takeawayUsed?: string | null | undefined;
|
|
2943
2943
|
schedulerUsed?: string | null | undefined;
|
|
2944
2944
|
printDepartments?: string[] | null | undefined;
|
|
2945
2945
|
code: string;
|
|
@@ -2952,6 +2952,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2952
2952
|
};
|
|
2953
2953
|
category: string;
|
|
2954
2954
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
2955
|
+
addonGroupUsed: string[];
|
|
2956
|
+
variantUsed: string[];
|
|
2955
2957
|
variantCombination: {
|
|
2956
2958
|
code?: string | null | undefined;
|
|
2957
2959
|
price?: {
|
|
@@ -2981,8 +2983,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2981
2983
|
active: boolean;
|
|
2982
2984
|
selectionName: string[];
|
|
2983
2985
|
}[];
|
|
2984
|
-
addonGroupUsed: string[];
|
|
2985
|
-
variantUsed: string[];
|
|
2986
2986
|
};
|
|
2987
2987
|
variantSelectionGroups: any[];
|
|
2988
2988
|
count: number;
|
|
@@ -3112,7 +3112,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3112
3112
|
precision: number;
|
|
3113
3113
|
};
|
|
3114
3114
|
}[] | null | undefined;
|
|
3115
|
-
takeawayUsed?: string | null | undefined;
|
|
3116
3115
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
3117
3116
|
addonProductBinding?: {
|
|
3118
3117
|
price?: {
|
|
@@ -3141,6 +3140,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3141
3140
|
active: boolean;
|
|
3142
3141
|
addonKey: string;
|
|
3143
3142
|
}[] | null | undefined;
|
|
3143
|
+
takeawayUsed?: string | null | undefined;
|
|
3144
3144
|
schedulerUsed?: string | null | undefined;
|
|
3145
3145
|
printDepartments?: string[] | null | undefined;
|
|
3146
3146
|
code: string;
|
|
@@ -3153,6 +3153,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3153
3153
|
};
|
|
3154
3154
|
category: string;
|
|
3155
3155
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
3156
|
+
addonGroupUsed: string[];
|
|
3157
|
+
variantUsed: string[];
|
|
3156
3158
|
variantCombination: {
|
|
3157
3159
|
code?: string | null | undefined;
|
|
3158
3160
|
price?: {
|
|
@@ -3182,8 +3184,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3182
3184
|
active: boolean;
|
|
3183
3185
|
selectionName: string[];
|
|
3184
3186
|
}[];
|
|
3185
|
-
addonGroupUsed: string[];
|
|
3186
|
-
variantUsed: string[];
|
|
3187
3187
|
};
|
|
3188
3188
|
variantSelectionGroups: any[];
|
|
3189
3189
|
count: number;
|
|
@@ -3313,7 +3313,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3313
3313
|
precision: number;
|
|
3314
3314
|
};
|
|
3315
3315
|
}[] | null | undefined;
|
|
3316
|
-
takeawayUsed?: string | null | undefined;
|
|
3317
3316
|
productType?: "ALA_CARTE" | "SET" | null | undefined;
|
|
3318
3317
|
addonProductBinding?: {
|
|
3319
3318
|
price?: {
|
|
@@ -3342,6 +3341,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3342
3341
|
active: boolean;
|
|
3343
3342
|
addonKey: string;
|
|
3344
3343
|
}[] | null | undefined;
|
|
3344
|
+
takeawayUsed?: string | null | undefined;
|
|
3345
3345
|
schedulerUsed?: string | null | undefined;
|
|
3346
3346
|
printDepartments?: string[] | null | undefined;
|
|
3347
3347
|
code: string;
|
|
@@ -3354,6 +3354,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3354
3354
|
};
|
|
3355
3355
|
category: string;
|
|
3356
3356
|
orderFrom: "ALL" | "POS_ONLY" | "NONE";
|
|
3357
|
+
addonGroupUsed: string[];
|
|
3358
|
+
variantUsed: string[];
|
|
3357
3359
|
variantCombination: {
|
|
3358
3360
|
code?: string | null | undefined;
|
|
3359
3361
|
price?: {
|
|
@@ -3383,8 +3385,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3383
3385
|
active: boolean;
|
|
3384
3386
|
selectionName: string[];
|
|
3385
3387
|
}[];
|
|
3386
|
-
addonGroupUsed: string[];
|
|
3387
|
-
variantUsed: string[];
|
|
3388
3388
|
};
|
|
3389
3389
|
variantSelectionGroups: any[];
|
|
3390
3390
|
count: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-order-setting",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./dist/app.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@feedmepos/core": "^2.12.14",
|
|
29
29
|
"@feedmepos/menu": "^1.2.4",
|
|
30
|
-
"@feedmepos/mf-common": "^1.
|
|
30
|
+
"@feedmepos/mf-common": "^1.8.40",
|
|
31
31
|
"@feedmepos/ordering": "^0.0.3",
|
|
32
32
|
"@feedmepos/ui-library": "^1.2.27",
|
|
33
33
|
"@types/googlemaps": "^3.43.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
2
|
import { OrderSettingApi } from '@/api/order-setting';
|
|
3
|
-
import type {
|
|
3
|
+
import type { MfKioskOrderSetting } from '@/modules/order-setting/kiosk/interface'
|
|
4
4
|
import { OrderSettingMapper } from './mapper';
|
|
5
5
|
import { ref } from 'vue';
|
|
6
6
|
import { OrderSettingsDto, OrderSettingUpdateDto } from '@entity';
|
|
@@ -56,7 +56,7 @@ const toKioskDineInSetting = (kioskDineInSeq: OrderKioskDineInSequenceDto, kiosk
|
|
|
56
56
|
sequenceNumber: kioskDineInSeq,
|
|
57
57
|
pickUp,
|
|
58
58
|
displayStand: displayStand ? {
|
|
59
|
-
enabled:
|
|
59
|
+
enabled: displayStand.enabled,
|
|
60
60
|
standSlotRange: displayStand.standSlotRange,
|
|
61
61
|
prefix: displayStand.prefix,
|
|
62
62
|
padDigit: displayStand.padDigit,
|
|
@@ -103,6 +103,7 @@ const toOrderKioskSettingsDto = (kioskSetting: MfKioskOrderSetting): {
|
|
|
103
103
|
return {
|
|
104
104
|
kioskSettings: {
|
|
105
105
|
canTakeaway: kioskSetting.takeaway.enabled,
|
|
106
|
+
dineIn: undefined,
|
|
106
107
|
}
|
|
107
108
|
};
|
|
108
109
|
}
|
|
@@ -65,10 +65,11 @@ const currentRestaurantId = ref<string>(currentRestaurant.value?._id ?? '');
|
|
|
65
65
|
|
|
66
66
|
async function selectRestaurant(v: string) {
|
|
67
67
|
const restaurant = restaurants.value.find((r) => r._id == v);
|
|
68
|
-
changeRestaurant(restaurant);
|
|
68
|
+
await changeRestaurant(restaurant);
|
|
69
69
|
await OrderSettingStore.getSetting();
|
|
70
70
|
await KioskStore.getDevices();
|
|
71
71
|
currentSelect.value = v;
|
|
72
|
+
|
|
72
73
|
currentRestaurantId.value = v;
|
|
73
74
|
}
|
|
74
75
|
|
|
@@ -119,4 +120,5 @@ watch(() => restaurants.value.length, async (_) => {
|
|
|
119
120
|
await selectRestaurant(restaurants.value[0]._id)
|
|
120
121
|
}
|
|
121
122
|
}, { immediate: true });
|
|
123
|
+
|
|
122
124
|
</script>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex flex-col gap-5">
|
|
3
3
|
<div class="flex flex-col gap-16">
|
|
4
|
-
<FmSwitch v-model="
|
|
5
|
-
<div v-show="
|
|
4
|
+
<FmSwitch v-model="form.enabled" label="Dine In" label-placement="right" />
|
|
5
|
+
<div v-show="form.enabled" class="flex flex-col gap-16">
|
|
6
6
|
<KioskPickAtCounterSection v-if="form.pickUp" :enabled="form.pickUp.enabled"
|
|
7
7
|
@update-pick-up="updatePickUp" />
|
|
8
8
|
<KioskDisplayStandSection v-if="form.displayStand" :display-stand="form.displayStand"
|
|
@@ -43,7 +43,6 @@ function updateDisplayStand(v: DisplayStandSettingForm) {
|
|
|
43
43
|
const props = defineProps<Props>();
|
|
44
44
|
const emits = defineEmits<Emits>();
|
|
45
45
|
const form = ref<KioskDineInSettingForm>(ObjectUtil.clone<KioskDineInSettingForm>(props.getSetting()));
|
|
46
|
-
const enableDineIn = ref<boolean>(ObjectUtil.clone(form.value.enabled));
|
|
47
46
|
|
|
48
47
|
watch(() => props.restaurantId, () => {
|
|
49
48
|
form.value = props.getSetting();
|