@feedmepos/mf-order-setting 0.0.21-beta.3 → 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-Cb7Rw7t8.js → KioskDevicesView-BdJCcotz.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-raPhhBpi.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-BJ1b1Qjg.js → OrderSettingsView-BOiflwB_.js} +34011 -32822
- package/dist/{app-BY258ajB.js → app-CaYWSLe1.js} +39 -17
- package/dist/app.js +1 -1
- package/dist/common/convertor/index.d.ts +2 -0
- package/dist/common/sms/index.d.ts +1 -1
- package/dist/common/util/index.d.ts +6 -0
- package/dist/{dayjs.min-4COVK72W.js → dayjs.min-8NyoNely.js} +36 -36
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/app.d.ts +22 -0
- package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +13 -0
- package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
- 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/stores/restaurant/index.d.ts +581 -716
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
- 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/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-t_7ThPjm.js → index-B7GFhkAE.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
- package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +862 -4
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +34 -22
- package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
- package/dist/package/entity/member/member.dto.d.ts +33 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +37 -0
- package/dist/package/entity/order/order.dto.d.ts +808 -17435
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +98 -98
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +345 -297
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +65 -65
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +311 -263
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +7 -7
- package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
- 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 -41
- 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/printer/printer.do.d.ts +2 -2
- package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
- package/dist/package/entity/queue/queue.do.d.ts +40 -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/{auth.dto-BOoRSQkS.js → queue.do-CIyIpp22.js} +30390 -29706
- package/package.json +4 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/helpers/menu.ts +2 -2
- package/src/locales/en-US.json +13 -2
- package/src/locales/zh-CN.json +12 -1
- package/src/modules/order-setting/kiosk/interface.ts +16 -0
- package/src/stores/order-setting/mapper.ts +58 -7
- package/src/stores/restaurant/index.ts +4 -1
- 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/delivery/DeliverySetting.vue +82 -6
- package/src/views/order-settings/delivery/delivery.data.ts +16 -1
- package/src/views/order-settings/delivery/delivery.ts +1 -0
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
- package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +216 -165
- package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
- package/dist/KioskSettingView-BQgyeWbo.js +0 -649
- package/dist/KioskView-BLkuqfZ_.js +0 -371
|
@@ -61,7 +61,7 @@ const D = {
|
|
|
61
61
|
customerItemRemarkSublabel: "Customer can attach remark to item",
|
|
62
62
|
customOfflinePayment: "Custom Offline Payment",
|
|
63
63
|
customOfflinePaymentHeader: "Custom offline payments",
|
|
64
|
-
customServiceCharge: "Custom
|
|
64
|
+
customServiceCharge: "Custom Service Charge",
|
|
65
65
|
customTime: "Custom time",
|
|
66
66
|
day: "Day",
|
|
67
67
|
days: "days",
|
|
@@ -165,6 +165,7 @@ const D = {
|
|
|
165
165
|
orderSetting: "Order Setting",
|
|
166
166
|
orderType: "Order Type",
|
|
167
167
|
padDigit: "Pad Digit",
|
|
168
|
+
paid: "Paid",
|
|
168
169
|
payAtCounter: "Pay at Counter",
|
|
169
170
|
paymentMethod: "Payment Method",
|
|
170
171
|
paymentType: "Payment Type",
|
|
@@ -195,6 +196,7 @@ const D = {
|
|
|
195
196
|
scanPay: "Scan Pay",
|
|
196
197
|
search: "Search",
|
|
197
198
|
searchRestaurant: "Search restaurants",
|
|
199
|
+
selectAllItemsIncludeCustomItem: "All (Including custom item)",
|
|
198
200
|
selectItem: "Select item",
|
|
199
201
|
selectRestaurant: "Select Restaurant",
|
|
200
202
|
selectServiceChargeType: "Select service charge type",
|
|
@@ -212,9 +214,11 @@ const D = {
|
|
|
212
214
|
staticQRcode: "Static QR code",
|
|
213
215
|
staticQRcodeSublabel: "Customer can order with static QR code",
|
|
214
216
|
status: "Status",
|
|
217
|
+
submitOrderInstruction: "Submit order instruction",
|
|
215
218
|
success: "SUCCESS",
|
|
216
219
|
sunday: "Sunday",
|
|
217
220
|
syncMenu: "Sync Menu",
|
|
221
|
+
syncMenuSuccess: "Sync menu successfully",
|
|
218
222
|
table: "Table",
|
|
219
223
|
tableSelected: "table(s) selected",
|
|
220
224
|
tableService: "Table Service",
|
|
@@ -246,7 +250,14 @@ const D = {
|
|
|
246
250
|
updatePickupSetting: "Update Pickup Setting",
|
|
247
251
|
updateSetting: "Update setting",
|
|
248
252
|
vendorBearPercentage: "Vendor bear percentage",
|
|
249
|
-
wednesday: "Wednesday"
|
|
253
|
+
wednesday: "Wednesday",
|
|
254
|
+
externalDelivery: "External Delivery",
|
|
255
|
+
manageExternalDelivery: "Manage external delivery",
|
|
256
|
+
deliveryCatalog: "Delivery catalog",
|
|
257
|
+
pickupCatalog: "Pickup catalog",
|
|
258
|
+
DeliverySettingUpdated: "Delivery setting updated.",
|
|
259
|
+
selectPlatform: "Select Platform",
|
|
260
|
+
platform: "Platform"
|
|
250
261
|
}, C = {
|
|
251
262
|
order: D
|
|
252
263
|
}, A = {
|
|
@@ -415,6 +426,7 @@ const D = {
|
|
|
415
426
|
orderSetting: "订单设置",
|
|
416
427
|
orderType: "订单类型",
|
|
417
428
|
padDigit: "位数",
|
|
429
|
+
paid: "已付款",
|
|
418
430
|
payAtCounter: "在柜台付款",
|
|
419
431
|
paymentMethod: "付款方式",
|
|
420
432
|
paymentType: "交易类型",
|
|
@@ -444,6 +456,7 @@ const D = {
|
|
|
444
456
|
scanPay: "扫码支付",
|
|
445
457
|
search: "搜索",
|
|
446
458
|
searchRestaurant: "搜索餐厅",
|
|
459
|
+
selectAllItemsIncludeCustomItem: "全部 (包括自定义商品)",
|
|
447
460
|
selectItem: "请选择",
|
|
448
461
|
selectRestaurant: "选择餐厅",
|
|
449
462
|
selectServiceChargeType: "选择服务费类型",
|
|
@@ -461,9 +474,11 @@ const D = {
|
|
|
461
474
|
staticQRcode: "静态二维码",
|
|
462
475
|
staticQRcodeSublabel: "客户可以通过静态二维码下单",
|
|
463
476
|
status: "状态",
|
|
477
|
+
submitOrderInstruction: "提交订单文本",
|
|
464
478
|
success: "成功",
|
|
465
479
|
sunday: "星期日",
|
|
466
480
|
syncMenu: "同步菜单",
|
|
481
|
+
syncMenuSuccess: "同步菜单成功",
|
|
467
482
|
table: "餐桌",
|
|
468
483
|
tableSelected: "已选择餐桌",
|
|
469
484
|
tableService: "餐桌服务",
|
|
@@ -495,11 +510,18 @@ const D = {
|
|
|
495
510
|
updatePickupSetting: "更新自取设置",
|
|
496
511
|
updateSetting: "更新设置",
|
|
497
512
|
vendorBearPercentage: "供应商承担百分比",
|
|
498
|
-
wednesday: "星期三"
|
|
499
|
-
|
|
513
|
+
wednesday: "星期三",
|
|
514
|
+
externalDelivery: "External 配送",
|
|
515
|
+
manageExternalDelivery: "管理外部配送",
|
|
516
|
+
deliveryCatalog: "配送目录",
|
|
517
|
+
pickupCatalog: "自取目录",
|
|
518
|
+
DeliverySettingUpdated: "配送设置已更新",
|
|
519
|
+
selectPlatform: "选择平台",
|
|
520
|
+
platform: "平台"
|
|
521
|
+
}, I = {
|
|
500
522
|
order: A
|
|
501
523
|
}, m = g(null), v = () => m.value;
|
|
502
|
-
function
|
|
524
|
+
function w(t) {
|
|
503
525
|
m.value || (m.value = t);
|
|
504
526
|
}
|
|
505
527
|
const _ = Object.freeze({
|
|
@@ -579,16 +601,16 @@ class c {
|
|
|
579
601
|
}
|
|
580
602
|
}
|
|
581
603
|
c.CALLBACK_NAME = "_dk_google_maps_loader_cb";
|
|
582
|
-
var
|
|
604
|
+
var x = { googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: {}, gtm: { debug: !1 }, r2: null };
|
|
583
605
|
const M = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
584
606
|
__name: "App",
|
|
585
607
|
setup(t) {
|
|
586
608
|
async function n() {
|
|
587
609
|
if (v()) return;
|
|
588
|
-
const a = await new c(
|
|
610
|
+
const a = await new c(x.googleMap, {
|
|
589
611
|
libraries: ["places"]
|
|
590
612
|
}).load();
|
|
591
|
-
|
|
613
|
+
w(a);
|
|
592
614
|
}
|
|
593
615
|
return h(async () => {
|
|
594
616
|
await n();
|
|
@@ -599,37 +621,37 @@ const M = { class: "flex-1 overflow-auto" }, W = /* @__PURE__ */ S({
|
|
|
599
621
|
]);
|
|
600
622
|
};
|
|
601
623
|
}
|
|
602
|
-
}),
|
|
603
|
-
KioskRoute:
|
|
624
|
+
}), T = "/kiosk", O = "/kiosk/device", E = "/kiosk/order-setting", R = "/order-settings", F = "/delivery-settings", N = "/orders", u = {
|
|
625
|
+
KioskRoute: T,
|
|
604
626
|
KioskDeviceRoute: O,
|
|
605
|
-
KioskOrderSettingRoute:
|
|
606
|
-
OrderSettingView:
|
|
627
|
+
KioskOrderSettingRoute: E,
|
|
628
|
+
OrderSettingView: R,
|
|
607
629
|
FeedMeExpressView: F,
|
|
608
630
|
AllOrdersView: N
|
|
609
631
|
}, Q = [
|
|
610
632
|
{
|
|
611
633
|
path: u.KioskRoute,
|
|
612
634
|
name: "Kiosk",
|
|
613
|
-
component: () => import("./KioskView-
|
|
635
|
+
component: () => import("./KioskView-DPU-oQ1H.js")
|
|
614
636
|
},
|
|
615
637
|
{
|
|
616
638
|
path: u.KioskDeviceRoute,
|
|
617
639
|
name: "Kiosk Device",
|
|
618
|
-
component: () => import("./KioskDevicesView-
|
|
640
|
+
component: () => import("./KioskDevicesView-BdJCcotz.js")
|
|
619
641
|
},
|
|
620
642
|
{
|
|
621
643
|
path: u.KioskOrderSettingRoute,
|
|
622
644
|
name: "Kiosk Order Setting",
|
|
623
|
-
component: () => import("./KioskSettingView-
|
|
645
|
+
component: () => import("./KioskSettingView-BChhriPk.js")
|
|
624
646
|
},
|
|
625
647
|
{
|
|
626
648
|
path: u.OrderSettingView,
|
|
627
649
|
name: "Order Setting View",
|
|
628
|
-
component: () => import("./OrderSettingsView-
|
|
650
|
+
component: () => import("./OrderSettingsView-BOiflwB_.js")
|
|
629
651
|
}
|
|
630
652
|
], q = {
|
|
631
653
|
"en-US": C,
|
|
632
|
-
"zh-CN":
|
|
654
|
+
"zh-CN": I
|
|
633
655
|
};
|
|
634
656
|
export {
|
|
635
657
|
W as _,
|
package/dist/app.js
CHANGED
|
@@ -2,6 +2,7 @@ import { FdoDecimal } from "@feedmepos/core/entity";
|
|
|
2
2
|
declare function toCouchDbName(id: string): string;
|
|
3
3
|
declare function billIdToDate(id: string): Date;
|
|
4
4
|
declare function objectIdToDate(id: string): Date;
|
|
5
|
+
declare function dateToObjectId(date: Date): string;
|
|
5
6
|
declare function percentageToFdoDecimal(rate: number): FdoDecimal;
|
|
6
7
|
declare function objectToArray<T>(obj: {
|
|
7
8
|
[key: string]: T;
|
|
@@ -18,6 +19,7 @@ export declare const Convertor: {
|
|
|
18
19
|
toCouchDbName: typeof toCouchDbName;
|
|
19
20
|
billIdToDate: typeof billIdToDate;
|
|
20
21
|
objectIdToDate: typeof objectIdToDate;
|
|
22
|
+
dateToObjectId: typeof dateToObjectId;
|
|
21
23
|
percentageToFdoDecimal: typeof percentageToFdoDecimal;
|
|
22
24
|
objectToArray: typeof objectToArray;
|
|
23
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F_ORDER_TYPE, FdoBill, FdoRestaurant } from '@feedmepos/core/entity';
|
|
2
2
|
import { F_ORDER_DINE_IN_TYPE } from '../../package/entity/order/order.enum';
|
|
3
|
-
import { F_SMS_KEY, type F_SMS_ACTION, type FdoOrder, type OrderSmsMessageSettingDto, type OrderSmsSettingDto } from '
|
|
3
|
+
import { F_SMS_KEY, type F_SMS_ACTION, type FdoOrder, type OrderSmsMessageSettingDto, type OrderSmsSettingDto } from '../../package/entity';
|
|
4
4
|
export declare function formatAddress(address?: any): string;
|
|
5
5
|
declare function readKeyByType(type: F_ORDER_TYPE | F_ORDER_DINE_IN_TYPE): F_SMS_KEY[];
|
|
6
6
|
declare function generateSms(message: OrderSmsMessageSettingDto, payload?: {
|
|
@@ -12,6 +12,11 @@ declare function objectToArray<T>(obj: {
|
|
|
12
12
|
declare function retry(cb: () => Promise<any>, retryCount?: number): Promise<any>;
|
|
13
13
|
declare function addItemToArray<T>(v: T, arr?: T[] | null): T[];
|
|
14
14
|
declare function capitalize(str: string): string;
|
|
15
|
+
export declare function isDeepEql(a: any, b: any): boolean;
|
|
16
|
+
export type DeepPartial<T> = T extends object ? {
|
|
17
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
18
|
+
} : T;
|
|
19
|
+
export declare function isObjectDeepEqual<T extends object>(oldV: T, newV: T): DeepPartial<T>;
|
|
15
20
|
export declare const Util: {
|
|
16
21
|
randomString: typeof randomString;
|
|
17
22
|
arrayToObject: typeof arrayToObject;
|
|
@@ -19,5 +24,6 @@ export declare const Util: {
|
|
|
19
24
|
retry: typeof retry;
|
|
20
25
|
addItemToArray: typeof addItemToArray;
|
|
21
26
|
capitalize: typeof capitalize;
|
|
27
|
+
isObjectDeepEqual: typeof isObjectDeepEqual;
|
|
22
28
|
};
|
|
23
29
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as rt,
|
|
1
|
+
import { g as rt, q as _t, m as kt } from "./queue.do-CIyIpp22.js";
|
|
2
2
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
|
3
3
|
function st(e, t) {
|
|
4
4
|
return function() {
|
|
@@ -22,11 +22,11 @@ const Ut = ge("string"), I = ge("function"), it = ge("number"), Se = (e) => e !=
|
|
|
22
22
|
return !1;
|
|
23
23
|
const t = Be(e);
|
|
24
24
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
25
|
-
}, Lt = z("Date"), Mt = z("File"), vt = z("Blob"), jt = z("FileList"), It = (e) => Se(e) && I(e.pipe),
|
|
25
|
+
}, Lt = z("Date"), Mt = z("File"), vt = z("Blob"), jt = z("FileList"), It = (e) => Se(e) && I(e.pipe), qt = (e) => {
|
|
26
26
|
let t;
|
|
27
27
|
return e && (typeof FormData == "function" && e instanceof FormData || I(e.append) && ((t = be(e)) === "formdata" || // detect form-data instance
|
|
28
28
|
t === "object" && I(e.toString) && e.toString() === "[object FormData]"));
|
|
29
|
-
},
|
|
29
|
+
}, Ht = z("URLSearchParams"), [zt, Jt, Wt, Vt] = ["ReadableStream", "Request", "Response", "Headers"].map(z), Kt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
30
30
|
function le(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
31
31
|
if (e === null || typeof e > "u")
|
|
32
32
|
return;
|
|
@@ -178,7 +178,7 @@ const pn = (e) => {
|
|
|
178
178
|
isArray: se,
|
|
179
179
|
isArrayBuffer: ot,
|
|
180
180
|
isBuffer: Pt,
|
|
181
|
-
isFormData:
|
|
181
|
+
isFormData: qt,
|
|
182
182
|
isArrayBufferView: Bt,
|
|
183
183
|
isString: Ut,
|
|
184
184
|
isNumber: it,
|
|
@@ -196,7 +196,7 @@ const pn = (e) => {
|
|
|
196
196
|
isRegExp: an,
|
|
197
197
|
isFunction: I,
|
|
198
198
|
isStream: It,
|
|
199
|
-
isURLSearchParams:
|
|
199
|
+
isURLSearchParams: Ht,
|
|
200
200
|
isTypedArray: tn,
|
|
201
201
|
isFileList: jt,
|
|
202
202
|
forEach: le,
|
|
@@ -291,7 +291,7 @@ function Ce(e) {
|
|
|
291
291
|
function pt(e) {
|
|
292
292
|
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function qe(e, t, n) {
|
|
295
295
|
return e ? e.concat(t).map(function(s, o) {
|
|
296
296
|
return s = pt(s), !n && o ? "[" + s + "]" : s;
|
|
297
297
|
}).join(n ? "." : "") : t;
|
|
@@ -329,15 +329,15 @@ function Ee(e, t, n) {
|
|
|
329
329
|
if (a.endsWith(S, "{}"))
|
|
330
330
|
S = r ? S : S.slice(0, -2), y = JSON.stringify(y);
|
|
331
331
|
else if (a.isArray(y) && gn(y) || (a.isFileList(y) || a.endsWith(S, "[]")) && (C = a.toArray(y)))
|
|
332
|
-
return S = pt(S), C.forEach(function(D,
|
|
332
|
+
return S = pt(S), C.forEach(function(D, H) {
|
|
333
333
|
!(a.isUndefined(D) || D === null) && t.append(
|
|
334
334
|
// eslint-disable-next-line no-nested-ternary
|
|
335
|
-
i === !0 ?
|
|
335
|
+
i === !0 ? qe([S], H, o) : i === null ? S : S + "[]",
|
|
336
336
|
u(D)
|
|
337
337
|
);
|
|
338
338
|
}), !1;
|
|
339
339
|
}
|
|
340
|
-
return Ce(y) ? !0 : (t.append(
|
|
340
|
+
return Ce(y) ? !0 : (t.append(qe(w, S, o), u(y)), !1);
|
|
341
341
|
}
|
|
342
342
|
const p = [], x = Object.assign(Sn, {
|
|
343
343
|
defaultVisitor: l,
|
|
@@ -363,7 +363,7 @@ function Ee(e, t, n) {
|
|
|
363
363
|
throw new TypeError("data must be an object");
|
|
364
364
|
return T(e), t;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function He(e) {
|
|
367
367
|
const t = {
|
|
368
368
|
"!": "%21",
|
|
369
369
|
"'": "%27",
|
|
@@ -386,8 +386,8 @@ mt.append = function(t, n) {
|
|
|
386
386
|
};
|
|
387
387
|
mt.toString = function(t) {
|
|
388
388
|
const n = t ? function(r) {
|
|
389
|
-
return t.call(this, r,
|
|
390
|
-
} :
|
|
389
|
+
return t.call(this, r, He);
|
|
390
|
+
} : He;
|
|
391
391
|
return this._pairs.map(function(s) {
|
|
392
392
|
return n(s[0]) + "=" + n(s[1]);
|
|
393
393
|
}, "").join("&");
|
|
@@ -836,7 +836,7 @@ function In(e, t) {
|
|
|
836
836
|
return T ? Math.round(x * 1e3 / T) : void 0;
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function qn(e, t) {
|
|
840
840
|
let n = 0, r = 1e3 / t, s, o;
|
|
841
841
|
const i = (u, l = Date.now()) => {
|
|
842
842
|
n = l, s = null, o && (clearTimeout(o), o = null), e.apply(null, u);
|
|
@@ -851,7 +851,7 @@ function Hn(e, t) {
|
|
|
851
851
|
const ye = (e, t, n = 3) => {
|
|
852
852
|
let r = 0;
|
|
853
853
|
const s = In(50, 250);
|
|
854
|
-
return
|
|
854
|
+
return qn((o) => {
|
|
855
855
|
const i = o.loaded, c = o.lengthComputable ? o.total : void 0, d = i - r, u = s(d), l = i <= c;
|
|
856
856
|
r = i;
|
|
857
857
|
const p = {
|
|
@@ -874,7 +874,7 @@ const ye = (e, t, n = 3) => {
|
|
|
874
874
|
total: e,
|
|
875
875
|
loaded: r
|
|
876
876
|
}), t[1]];
|
|
877
|
-
}, Ve = (e) => (...t) => a.asap(() => e(...t)),
|
|
877
|
+
}, Ve = (e) => (...t) => a.asap(() => e(...t)), Hn = v.hasStandardBrowserEnv ? (
|
|
878
878
|
// Standard browser envs have full support of the APIs needed to test
|
|
879
879
|
// whether the request URL is of the same origin as current location.
|
|
880
880
|
function() {
|
|
@@ -1022,7 +1022,7 @@ const Rt = (e) => {
|
|
|
1022
1022
|
i.setContentType([u || "multipart/form-data", ...l].join("; "));
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
|
-
if (v.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 &&
|
|
1025
|
+
if (v.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && Hn(t.url))) {
|
|
1026
1026
|
const u = s && o && zn.read(o);
|
|
1027
1027
|
u && i.set(s, u);
|
|
1028
1028
|
}
|
|
@@ -1064,16 +1064,16 @@ const Rt = (e) => {
|
|
|
1064
1064
|
}, w.onerror = function() {
|
|
1065
1065
|
r(new E("Network Error", E.ERR_NETWORK, e, w)), w = null;
|
|
1066
1066
|
}, w.ontimeout = function() {
|
|
1067
|
-
let
|
|
1067
|
+
let H = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1068
1068
|
const P = s.transitional || wt;
|
|
1069
|
-
s.timeoutErrorMessage && (
|
|
1070
|
-
|
|
1069
|
+
s.timeoutErrorMessage && (H = s.timeoutErrorMessage), r(new E(
|
|
1070
|
+
H,
|
|
1071
1071
|
P.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
|
|
1072
1072
|
e,
|
|
1073
1073
|
w
|
|
1074
1074
|
)), w = null;
|
|
1075
|
-
}, o === void 0 && i.setContentType(null), "setRequestHeader" in w && a.forEach(i.toJSON(), function(
|
|
1076
|
-
w.setRequestHeader(P,
|
|
1075
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in w && a.forEach(i.toJSON(), function(H, P) {
|
|
1076
|
+
w.setRequestHeader(P, H);
|
|
1077
1077
|
}), a.isUndefined(s.withCredentials) || (w.withCredentials = !!s.withCredentials), c && c !== "json" && (w.responseType = s.responseType), u && ([x, y] = ye(u, !0), w.addEventListener("progress", x)), d && w.upload && ([p, T] = ye(d), w.upload.addEventListener("progress", p), w.upload.addEventListener("loadend", T)), (s.cancelToken || s.signal) && (l = (D) => {
|
|
1078
1078
|
w && (r(!D || D.type ? new oe(null, e, w) : D), w.abort(), w = null);
|
|
1079
1079
|
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
@@ -1273,10 +1273,10 @@ const tr = async (e) => {
|
|
|
1273
1273
|
);
|
|
1274
1274
|
}
|
|
1275
1275
|
u = u || "text";
|
|
1276
|
-
let
|
|
1276
|
+
let H = await we[a.findKey(we, u) || "text"](_, e);
|
|
1277
1277
|
return !D && S && S(), await new Promise((P, F) => {
|
|
1278
1278
|
St(P, F, {
|
|
1279
|
-
data:
|
|
1279
|
+
data: H,
|
|
1280
1280
|
headers: j.from(_.headers),
|
|
1281
1281
|
status: _.status,
|
|
1282
1282
|
statusText: _.statusText,
|
|
@@ -1831,7 +1831,7 @@ var Dt = { exports: {} };
|
|
|
1831
1831
|
} }, D = function(g, m, f) {
|
|
1832
1832
|
var b = String(g);
|
|
1833
1833
|
return !b || b.length >= m ? g : "" + Array(m + 1 - b.length).join(f) + g;
|
|
1834
|
-
},
|
|
1834
|
+
}, H = { s: D, z: function(g) {
|
|
1835
1835
|
var m = -g.utcOffset(), f = Math.abs(m), b = Math.floor(f / 60), h = f % 60;
|
|
1836
1836
|
return (m <= 0 ? "+" : "-") + D(b, 2, "0") + ":" + D(h, 2, "0");
|
|
1837
1837
|
}, m: function g(m, f) {
|
|
@@ -1865,7 +1865,7 @@ var Dt = { exports: {} };
|
|
|
1865
1865
|
if (W(g)) return g.clone();
|
|
1866
1866
|
var f = typeof m == "object" ? m : {};
|
|
1867
1867
|
return f.date = g, f.args = arguments, new de(f);
|
|
1868
|
-
}, A =
|
|
1868
|
+
}, A = H;
|
|
1869
1869
|
A.l = Y, A.i = W, A.w = function(g, m) {
|
|
1870
1870
|
return B(g, { locale: m.$L, utc: m.$u, x: m.$x, $offset: m.$offset });
|
|
1871
1871
|
};
|
|
@@ -1915,7 +1915,7 @@ var Dt = { exports: {} };
|
|
|
1915
1915
|
return R ? V : V.endOf(u);
|
|
1916
1916
|
}, k = function(X, M) {
|
|
1917
1917
|
return A.w(h.toDate()[X].apply(h.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(M)), h);
|
|
1918
|
-
}, U = this.$W, L = this.$M,
|
|
1918
|
+
}, U = this.$W, L = this.$M, q = this.$D, re = "set" + (this.$u ? "UTC" : "");
|
|
1919
1919
|
switch (O) {
|
|
1920
1920
|
case T:
|
|
1921
1921
|
return R ? $(1, 0) : $(31, 11);
|
|
@@ -1923,7 +1923,7 @@ var Dt = { exports: {} };
|
|
|
1923
1923
|
return R ? $(1, L) : $(0, L + 1);
|
|
1924
1924
|
case l:
|
|
1925
1925
|
var G = this.$locale().weekStart || 0, ie = (U < G ? U + 7 : U) - G;
|
|
1926
|
-
return $(R ?
|
|
1926
|
+
return $(R ? q - ie : q + (6 - ie), L);
|
|
1927
1927
|
case u:
|
|
1928
1928
|
case y:
|
|
1929
1929
|
return k(re + "Hours", 0);
|
|
@@ -1953,8 +1953,8 @@ var Dt = { exports: {} };
|
|
|
1953
1953
|
var h, R = this;
|
|
1954
1954
|
f = Number(f);
|
|
1955
1955
|
var O = A.p(b), $ = function(L) {
|
|
1956
|
-
var
|
|
1957
|
-
return A.w(
|
|
1956
|
+
var q = B(R);
|
|
1957
|
+
return A.w(q.date(q.date() + Math.round(L * f)), R);
|
|
1958
1958
|
};
|
|
1959
1959
|
if (O === p) return this.set(p, this.$M + f);
|
|
1960
1960
|
if (O === T) return this.set(T, this.$y + f);
|
|
@@ -1967,7 +1967,7 @@ var Dt = { exports: {} };
|
|
|
1967
1967
|
}, m.format = function(f) {
|
|
1968
1968
|
var b = this, h = this.$locale();
|
|
1969
1969
|
if (!this.isValid()) return h.invalidDate || S;
|
|
1970
|
-
var R = f || "YYYY-MM-DDTHH:mm:ssZ", O = A.z(this), $ = this.$H, k = this.$m, U = this.$M, L = h.weekdays,
|
|
1970
|
+
var R = f || "YYYY-MM-DDTHH:mm:ssZ", O = A.z(this), $ = this.$H, k = this.$m, U = this.$M, L = h.weekdays, q = h.months, re = h.meridiem, G = function(M, V, ae, he) {
|
|
1971
1971
|
return M && (M[V] || M(b, R)) || ae[V].slice(0, he);
|
|
1972
1972
|
}, ie = function(M) {
|
|
1973
1973
|
return A.s($ % 12 || 12, M, "0");
|
|
@@ -1987,9 +1987,9 @@ var Dt = { exports: {} };
|
|
|
1987
1987
|
case "MM":
|
|
1988
1988
|
return A.s(U + 1, 2, "0");
|
|
1989
1989
|
case "MMM":
|
|
1990
|
-
return G(h.monthsShort, U,
|
|
1990
|
+
return G(h.monthsShort, U, q, 3);
|
|
1991
1991
|
case "MMMM":
|
|
1992
|
-
return G(
|
|
1992
|
+
return G(q, U);
|
|
1993
1993
|
case "D":
|
|
1994
1994
|
return b.$D;
|
|
1995
1995
|
case "DD":
|
|
@@ -2033,18 +2033,18 @@ var Dt = { exports: {} };
|
|
|
2033
2033
|
}, m.utcOffset = function() {
|
|
2034
2034
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2035
2035
|
}, m.diff = function(f, b, h) {
|
|
2036
|
-
var R, O = this, $ = A.p(b), k = B(f), U = (k.utcOffset() - this.utcOffset()) * r, L = this - k,
|
|
2036
|
+
var R, O = this, $ = A.p(b), k = B(f), U = (k.utcOffset() - this.utcOffset()) * r, L = this - k, q = function() {
|
|
2037
2037
|
return A.m(O, k);
|
|
2038
2038
|
};
|
|
2039
2039
|
switch ($) {
|
|
2040
2040
|
case T:
|
|
2041
|
-
R =
|
|
2041
|
+
R = q() / 12;
|
|
2042
2042
|
break;
|
|
2043
2043
|
case p:
|
|
2044
|
-
R =
|
|
2044
|
+
R = q();
|
|
2045
2045
|
break;
|
|
2046
2046
|
case x:
|
|
2047
|
-
R =
|
|
2047
|
+
R = q() / 3;
|
|
2048
2048
|
break;
|
|
2049
2049
|
case l:
|
|
2050
2050
|
R = (L - U) / 6048e5;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DeliveryCompany, LinkedDeliveryDoc } from '../../views/order-settings/delivery/delivery';
|
|
2
2
|
import { FdoFoodpandaSettings, FdoLinkedDelivery, FdoRestaurant, FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery, FdoShopeeFoodOrder } from '@feedmepos/core/entity';
|
|
3
|
-
import type { FdoFoodpandaOrderOutput, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoGetOrderReq } from '@entity';
|
|
4
|
-
type DeliveryCompanyUrl = 'foodpanda' | 'grabfood' | 'shopeefood';
|
|
3
|
+
import type { FdoExternalSetting, FdoFoodpandaOrderOutput, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoGetOrderReq } from '@entity';
|
|
4
|
+
type DeliveryCompanyUrl = 'foodpanda' | 'grabfood' | 'shopeefood' | 'external';
|
|
5
5
|
export declare const remoteOrderApi: {
|
|
6
6
|
readLinkedDeliveryCompanies(): Promise<LinkedDeliveryDoc[]>;
|
|
7
7
|
readLocalDeliveryCompanies(): Promise<DeliveryCompany[]>;
|
|
@@ -29,6 +29,9 @@ export declare const remoteOrderApi: {
|
|
|
29
29
|
rejectShopeefoodOrders(orderId: string): Promise<FdoShopeeFoodOrderOutput>;
|
|
30
30
|
updateShopeefood(restaurantId: string, dto: FdoShopeeFoodSettings): Promise<FdoRestaurant>;
|
|
31
31
|
syncShopeefoodMenu(storeId: string): Promise<FdoShopeeFoodSettings>;
|
|
32
|
+
readExternal(restaurantId: string): Promise<FdoExternalSetting | null>;
|
|
33
|
+
updateExternal(restaurantId: string, dto: FdoExternalSetting): Promise<FdoExternalSetting>;
|
|
34
|
+
syncExternalMenu(restaurantId: string): Promise<FdoExternalSetting>;
|
|
32
35
|
flowTestOrder(restaurantId: string, platform: DeliveryCompanyUrl): Promise<void>;
|
|
33
36
|
cancelTestOrder(restaurantId: string, platform: DeliveryCompanyUrl): Promise<void>;
|
|
34
37
|
reflowFpOrderNotInDb(payload: {
|
|
@@ -167,6 +167,7 @@ export declare const i18nMessages: {
|
|
|
167
167
|
orderSetting: string;
|
|
168
168
|
orderType: string;
|
|
169
169
|
padDigit: string;
|
|
170
|
+
paid: string;
|
|
170
171
|
payAtCounter: string;
|
|
171
172
|
paymentMethod: string;
|
|
172
173
|
paymentType: string;
|
|
@@ -197,6 +198,7 @@ export declare const i18nMessages: {
|
|
|
197
198
|
scanPay: string;
|
|
198
199
|
search: string;
|
|
199
200
|
searchRestaurant: string;
|
|
201
|
+
selectAllItemsIncludeCustomItem: string;
|
|
200
202
|
selectItem: string;
|
|
201
203
|
selectRestaurant: string;
|
|
202
204
|
selectServiceChargeType: string;
|
|
@@ -214,9 +216,11 @@ export declare const i18nMessages: {
|
|
|
214
216
|
staticQRcode: string;
|
|
215
217
|
staticQRcodeSublabel: string;
|
|
216
218
|
status: string;
|
|
219
|
+
submitOrderInstruction: string;
|
|
217
220
|
success: string;
|
|
218
221
|
sunday: string;
|
|
219
222
|
syncMenu: string;
|
|
223
|
+
syncMenuSuccess: string;
|
|
220
224
|
table: string;
|
|
221
225
|
tableSelected: string;
|
|
222
226
|
tableService: string;
|
|
@@ -249,6 +253,13 @@ export declare const i18nMessages: {
|
|
|
249
253
|
updateSetting: string;
|
|
250
254
|
vendorBearPercentage: string;
|
|
251
255
|
wednesday: string;
|
|
256
|
+
externalDelivery: string;
|
|
257
|
+
manageExternalDelivery: string;
|
|
258
|
+
deliveryCatalog: string;
|
|
259
|
+
pickupCatalog: string;
|
|
260
|
+
DeliverySettingUpdated: string;
|
|
261
|
+
selectPlatform: string;
|
|
262
|
+
platform: string;
|
|
252
263
|
};
|
|
253
264
|
};
|
|
254
265
|
"zh-CN": {
|
|
@@ -418,6 +429,7 @@ export declare const i18nMessages: {
|
|
|
418
429
|
orderSetting: string;
|
|
419
430
|
orderType: string;
|
|
420
431
|
padDigit: string;
|
|
432
|
+
paid: string;
|
|
421
433
|
payAtCounter: string;
|
|
422
434
|
paymentMethod: string;
|
|
423
435
|
paymentType: string;
|
|
@@ -447,6 +459,7 @@ export declare const i18nMessages: {
|
|
|
447
459
|
scanPay: string;
|
|
448
460
|
search: string;
|
|
449
461
|
searchRestaurant: string;
|
|
462
|
+
selectAllItemsIncludeCustomItem: string;
|
|
450
463
|
selectItem: string;
|
|
451
464
|
selectRestaurant: string;
|
|
452
465
|
selectServiceChargeType: string;
|
|
@@ -464,9 +477,11 @@ export declare const i18nMessages: {
|
|
|
464
477
|
staticQRcode: string;
|
|
465
478
|
staticQRcodeSublabel: string;
|
|
466
479
|
status: string;
|
|
480
|
+
submitOrderInstruction: string;
|
|
467
481
|
success: string;
|
|
468
482
|
sunday: string;
|
|
469
483
|
syncMenu: string;
|
|
484
|
+
syncMenuSuccess: string;
|
|
470
485
|
table: string;
|
|
471
486
|
tableSelected: string;
|
|
472
487
|
tableService: string;
|
|
@@ -499,6 +514,13 @@ export declare const i18nMessages: {
|
|
|
499
514
|
updateSetting: string;
|
|
500
515
|
vendorBearPercentage: string;
|
|
501
516
|
wednesday: string;
|
|
517
|
+
externalDelivery: string;
|
|
518
|
+
manageExternalDelivery: string;
|
|
519
|
+
deliveryCatalog: string;
|
|
520
|
+
pickupCatalog: string;
|
|
521
|
+
DeliverySettingUpdated: string;
|
|
522
|
+
selectPlatform: string;
|
|
523
|
+
platform: string;
|
|
502
524
|
};
|
|
503
525
|
};
|
|
504
526
|
};
|
|
@@ -4,7 +4,7 @@ export interface Option {
|
|
|
4
4
|
label: string;
|
|
5
5
|
value: string | null;
|
|
6
6
|
}
|
|
7
|
-
type Item = Omit<FdoMenuV4Item, 'variant'> & {
|
|
7
|
+
export type Item = Omit<FdoMenuV4Item, 'variant'> & {
|
|
8
8
|
codeName: string;
|
|
9
9
|
variant?: Omit<FdoItemVariant, 'variantCombinations'> & {
|
|
10
10
|
variantCombinations: (VariantItem & {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { FdoEPaymentMethod, F_ORDER_PAYMENT_TYPE } from "@entity";
|
|
2
2
|
import { FdoOfflinePaymentMethod } from '@feedmepos/core/entity';
|
|
3
|
+
export interface MfKioskSubmitOrderInstruction {
|
|
4
|
+
payAtCounter: string | null;
|
|
5
|
+
paid: string | null;
|
|
6
|
+
}
|
|
7
|
+
export type KioskSubmitOrderInstructionForm = MfKioskSubmitOrderInstruction;
|
|
3
8
|
export interface MfDisplayStandSetting {
|
|
4
9
|
enabled: boolean;
|
|
5
10
|
standSlotRange: {
|
|
@@ -8,6 +13,7 @@ export interface MfDisplayStandSetting {
|
|
|
8
13
|
};
|
|
9
14
|
prefix: string | null;
|
|
10
15
|
padDigit: number;
|
|
16
|
+
submitOrderInstruction: MfKioskSubmitOrderInstruction;
|
|
11
17
|
}
|
|
12
18
|
export interface DisplayStandSettingForm {
|
|
13
19
|
enabled: boolean;
|
|
@@ -17,9 +23,15 @@ export interface DisplayStandSettingForm {
|
|
|
17
23
|
};
|
|
18
24
|
prefix: string | null;
|
|
19
25
|
padDigit: number | null;
|
|
26
|
+
submitOrderInstruction: KioskSubmitOrderInstructionForm;
|
|
20
27
|
}
|
|
21
28
|
export interface MfKioskPickAtCounterSetting {
|
|
22
29
|
enabled: boolean;
|
|
30
|
+
submitOrderInstruction: MfKioskSubmitOrderInstruction;
|
|
31
|
+
}
|
|
32
|
+
export interface PickAtCounterSettingForm {
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
submitOrderInstruction: KioskSubmitOrderInstructionForm;
|
|
23
35
|
}
|
|
24
36
|
export interface MfKioskSequenceNumberSetting {
|
|
25
37
|
prefix: string;
|
|
@@ -33,6 +45,7 @@ export interface MfKioskDineInSetting {
|
|
|
33
45
|
}
|
|
34
46
|
export interface MfKioskTakeawaySetting {
|
|
35
47
|
enabled: boolean;
|
|
48
|
+
submitOrderInstruction: MfKioskSubmitOrderInstruction;
|
|
36
49
|
}
|
|
37
50
|
export interface MfKioskPaymentSetting {
|
|
38
51
|
paymentTypes: MfKioskPaymentTypes;
|
|
@@ -67,12 +67,17 @@ export declare const useAppStore: import("pinia").StoreDefinition<"app", AppStat
|
|
|
67
67
|
};
|
|
68
68
|
assets: {
|
|
69
69
|
groups: {
|
|
70
|
-
key: "pos";
|
|
70
|
+
key: "pos" | "portal";
|
|
71
71
|
assets: {
|
|
72
72
|
type: "image" | "lottie";
|
|
73
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot";
|
|
73
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
|
74
74
|
path: string;
|
|
75
75
|
files: {
|
|
76
|
+
responsive?: {
|
|
77
|
+
mobile?: string | null | undefined;
|
|
78
|
+
tablet?: string | null | undefined;
|
|
79
|
+
desktop?: string | null | undefined;
|
|
80
|
+
} | null | undefined;
|
|
76
81
|
url: string;
|
|
77
82
|
createdAt: string;
|
|
78
83
|
config: {
|
|
@@ -154,12 +159,17 @@ export declare const useAppStore: import("pinia").StoreDefinition<"app", AppStat
|
|
|
154
159
|
};
|
|
155
160
|
assets: {
|
|
156
161
|
groups: {
|
|
157
|
-
key: "pos";
|
|
162
|
+
key: "pos" | "portal";
|
|
158
163
|
assets: {
|
|
159
164
|
type: "image" | "lottie";
|
|
160
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot";
|
|
165
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
|
161
166
|
path: string;
|
|
162
167
|
files: {
|
|
168
|
+
responsive?: {
|
|
169
|
+
mobile?: string | null | undefined;
|
|
170
|
+
tablet?: string | null | undefined;
|
|
171
|
+
desktop?: string | null | undefined;
|
|
172
|
+
} | null | undefined;
|
|
163
173
|
url: string;
|
|
164
174
|
createdAt: string;
|
|
165
175
|
config: {
|