@feedmepos/mf-order-setting 0.0.91 → 0.0.93
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/DisplaySystemView-BMRCs7o8.js +8891 -0
- package/dist/{KioskDevicesView-Bz6seroM.js → KioskDevicesView-BCZOqou3.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-I39sE8Pe.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-4wFO9co5.js} +3 -3
- package/dist/{KioskSettingView-Cajjh4Zm.js → KioskSettingView-DIvpRwFV.js} +3 -3
- package/dist/{KioskView-BPSbsMi5.js → KioskView-w4txC9m2.js} +5 -5
- package/dist/{OrderSettingsView-jPxZ3JDM.js → OrderSettingsView-BPuBA2QC.js} +28615 -27747
- package/dist/{app-DIhv5ssA.js → app-xZAaURng.js} +4594 -3733
- package/dist/app.js +1 -1
- package/dist/common/order-platform/index.d.ts +20 -0
- package/dist/featureFlag-Cbj0uMaM.js +846 -0
- package/dist/frontend/mf-order/src/api/brandkit/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/app.d.ts +752 -0
- package/dist/frontend/mf-order/src/composables/featureFlag.d.ts +7 -0
- package/dist/frontend/mf-order/src/composables/useBusinessFeatureFlag.d.ts +4 -0
- package/dist/frontend/mf-order/src/composables/useLegacyOdsAccess.d.ts +4 -0
- package/dist/frontend/mf-order/src/composables/useMiniProgramPermission.d.ts +5 -0
- package/dist/frontend/mf-order/src/main.d.ts +752 -0
- package/dist/frontend/mf-order/src/modules/display-system/legacy-ods/interface.d.ts +80 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -3
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/display-system/legacy-ods/ColorOverrideDialog.vue.d.ts +26 -0
- package/dist/frontend/mf-order/src/views/display-system/legacy-ods/ColorSelection.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/display-system/legacy-ods/LegacyOdsEditorDialog.vue.d.ts +24 -0
- package/dist/frontend/mf-order/src/views/display-system/legacy-ods/LegacyOdsTemplateList.vue.d.ts +4 -0
- package/dist/frontend/mf-order/src/views/display-system/view-selection.d.ts +18 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-vaSLX6r3.js → index-BAFwfvqv.js} +2 -2
- package/dist/{index-Clp_YRJ2.js → index-BxQKdXyN.js} +1 -1
- package/dist/{index-CmqNrkNl.js → index-Cipbdi6i.js} +1 -1
- package/dist/order.dto-yLICIGDQ.js +41528 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +7 -0
- package/dist/package/entity/food-court/food-court.dto.d.ts +315 -264
- package/dist/package/entity/food-court/order-v2.do.d.ts +231 -0
- package/dist/package/entity/food-court/order-v2.do.spec.d.ts +1 -0
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +15 -6
- package/dist/package/entity/index.d.ts +7 -0
- package/dist/package/entity/index.frontend.d.ts +2 -0
- package/dist/package/entity/member/member.dto.d.ts +2 -2
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +44 -9
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +17 -3
- package/dist/package/entity/order/menu/menu.dto.d.ts +33 -3
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +18 -18
- package/dist/package/entity/order/order.do.d.ts +87 -12
- package/dist/package/entity/order/order.dto.d.ts +762 -358
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +7 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +92 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/order-setting.do.d.ts +866 -5
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -10
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
- package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
- package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.dto.d.ts +175 -121
- package/dist/package/entity/reservation/reservation-pos.do.d.ts +222 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +205 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +428 -0
- package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +39 -24
- package/dist/package/entity/user/user.do.d.ts +2 -2
- package/dist/package/entity/websocket/websocket.dto.d.ts +161 -21
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/env.d.ts +2 -0
- package/package.json +3 -2
- package/src/api/brandkit/index.ts +24 -0
- package/src/api/reservation/index.ts +25 -0
- package/src/assets/images/not-found.png +0 -0
- package/src/composables/featureFlag.ts +22 -0
- package/src/composables/useBusinessFeatureFlag.ts +44 -0
- package/src/composables/useLegacyOdsAccess.ts +35 -0
- package/src/composables/useMiniProgramPermission.ts +19 -0
- package/src/composables/useQrOrderingEnabled.ts +1 -21
- package/src/locales/en-US.json +188 -0
- package/src/locales/ja-JP.json +188 -0
- package/src/locales/th-TH.json +188 -0
- package/src/locales/zh-CN.json +188 -0
- package/src/modules/display-system/legacy-ods/interface.ts +108 -0
- package/src/router/routes.ts +1 -1
- package/src/views/display-system/DisplaySystemView.vue +82 -11
- package/src/views/display-system/legacy-ods/ColorOverrideDialog.vue +223 -0
- package/src/views/display-system/legacy-ods/ColorSelection.vue +67 -0
- package/src/views/display-system/legacy-ods/LegacyOdsEditorDialog.spec.ts +185 -0
- package/src/views/display-system/legacy-ods/LegacyOdsEditorDialog.vue +1677 -0
- package/src/views/display-system/legacy-ods/LegacyOdsTemplateList.spec.ts +124 -0
- package/src/views/display-system/legacy-ods/LegacyOdsTemplateList.vue +297 -0
- package/src/views/display-system/legacy-ods/brandkit.spec.ts +67 -0
- package/src/views/display-system/view-selection.spec.ts +93 -0
- package/src/views/display-system/view-selection.ts +54 -0
- package/src/views/order-settings/OrderSettingsView.vue +9 -2
- package/src/views/order-settings/delivery/delivery.spec.ts +21 -0
- package/src/views/order-settings/delivery/delivery.ts +2 -51
- package/src/views/order-settings/dine-in/DineInSetting.vue +11 -1
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +1549 -0
- package/vitest.config.ts +2 -1
- package/dist/DisplaySystemView-n7Kqdw-h.js +0 -6564
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/order.dto-DV1qL3Q_.js +0 -40301
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export type RecursivePartial<T> = {
|
|
2
|
+
[P in keyof T]?: T[P] extends (...args: any[]) => any ? T[P] : T[P] extends readonly (infer U)[] ? ReadonlyArray<RecursivePartial<U>> : T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
|
|
3
|
+
};
|
|
4
|
+
export type BaseBrandKit = {
|
|
5
|
+
colors: {
|
|
6
|
+
primary: string;
|
|
7
|
+
secondary: string;
|
|
8
|
+
accent: string;
|
|
9
|
+
background: {
|
|
10
|
+
base: string;
|
|
11
|
+
elevated: string;
|
|
12
|
+
};
|
|
13
|
+
neutral: {
|
|
14
|
+
light: string;
|
|
15
|
+
mid: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
status: {
|
|
19
|
+
success: string;
|
|
20
|
+
warning: string;
|
|
21
|
+
error: string;
|
|
22
|
+
info?: string;
|
|
23
|
+
};
|
|
24
|
+
text: {
|
|
25
|
+
onPrimary: string;
|
|
26
|
+
primary: string;
|
|
27
|
+
secondary: string;
|
|
28
|
+
tertiary: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type OdsConfigEntry = {
|
|
33
|
+
label?: string;
|
|
34
|
+
isDefault: boolean;
|
|
35
|
+
restaurantIds?: string[];
|
|
36
|
+
brandkitOverride?: RecursivePartial<BaseBrandKit>;
|
|
37
|
+
layout?: OdsLayoutConfig;
|
|
38
|
+
display?: OdsDisplayConfig;
|
|
39
|
+
};
|
|
40
|
+
export type OdsFooterMode = 'feedme' | 'settingsIcon';
|
|
41
|
+
export type OrderGroupingMode = 'type' | 'status';
|
|
42
|
+
export type OrderStatusBoardLayout = 'horizontal' | 'vertical';
|
|
43
|
+
export type StatusSectionTemplateName = 'default' | 'bordered-card' | 'floating-tab' | 'centered-pill';
|
|
44
|
+
export type OdsLayoutConfig = {
|
|
45
|
+
background?: {
|
|
46
|
+
url: string;
|
|
47
|
+
size?: string;
|
|
48
|
+
position?: string;
|
|
49
|
+
} | null;
|
|
50
|
+
sidePanel?: {
|
|
51
|
+
url: string;
|
|
52
|
+
position: 'left' | 'right';
|
|
53
|
+
widthPercent: number;
|
|
54
|
+
objectFit?: string;
|
|
55
|
+
} | null;
|
|
56
|
+
boardWidthPercent?: number;
|
|
57
|
+
boardAlign?: 'left' | 'right' | 'center';
|
|
58
|
+
footerMode?: OdsFooterMode;
|
|
59
|
+
};
|
|
60
|
+
export type OdsDisplayConfig = {
|
|
61
|
+
groupBy: OrderGroupingMode;
|
|
62
|
+
statusLayout: OrderStatusBoardLayout;
|
|
63
|
+
statusSlidingPeriod: number;
|
|
64
|
+
currentOrder?: {
|
|
65
|
+
enabled?: boolean;
|
|
66
|
+
};
|
|
67
|
+
showProgressBar: boolean;
|
|
68
|
+
statusColumnCount: number;
|
|
69
|
+
showDeliveryIcons: boolean;
|
|
70
|
+
showOrderTypeTabs: boolean;
|
|
71
|
+
showOrderCount: boolean;
|
|
72
|
+
showEstimatedTime: boolean;
|
|
73
|
+
hideCompletedOrders?: boolean;
|
|
74
|
+
statusTemplate?: StatusSectionTemplateName;
|
|
75
|
+
};
|
|
76
|
+
export type BrandKit = Partial<BaseBrandKit> & {
|
|
77
|
+
ods?: OdsConfigEntry[];
|
|
78
|
+
[key: string]: unknown;
|
|
79
|
+
};
|
|
80
|
+
export declare function migrateOdsToArray(ods: unknown, defaultLabel: string): OdsConfigEntry[];
|
|
@@ -243,7 +243,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
243
243
|
} | null | undefined;
|
|
244
244
|
smsSettings?: {
|
|
245
245
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
246
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
246
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
247
247
|
message: {
|
|
248
248
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
249
249
|
raw: string;
|
|
@@ -548,7 +548,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
548
548
|
} | null | undefined;
|
|
549
549
|
smsSettings?: {
|
|
550
550
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
551
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
551
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
552
552
|
message: {
|
|
553
553
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
554
554
|
raw: string;
|
|
@@ -853,7 +853,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
853
853
|
} | null | undefined;
|
|
854
854
|
smsSettings?: {
|
|
855
855
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
856
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
856
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
857
857
|
message: {
|
|
858
858
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
859
859
|
raw: string;
|
|
@@ -170,6 +170,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
170
170
|
staticQr?: boolean | null | undefined;
|
|
171
171
|
disableItemRemark?: boolean | null | undefined;
|
|
172
172
|
acceptQueue?: boolean | null | undefined;
|
|
173
|
+
acceptReservation?: boolean | null | undefined;
|
|
173
174
|
anonymousOrder: boolean;
|
|
174
175
|
} | null | undefined;
|
|
175
176
|
driveThru?: {
|
|
@@ -537,6 +538,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
537
538
|
staticQr?: boolean | null | undefined;
|
|
538
539
|
disableItemRemark?: boolean | null | undefined;
|
|
539
540
|
acceptQueue?: boolean | null | undefined;
|
|
541
|
+
acceptReservation?: boolean | null | undefined;
|
|
540
542
|
anonymousOrder: boolean;
|
|
541
543
|
} | null | undefined;
|
|
542
544
|
driveThru?: {
|
|
@@ -904,6 +906,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
904
906
|
staticQr?: boolean | null | undefined;
|
|
905
907
|
disableItemRemark?: boolean | null | undefined;
|
|
906
908
|
acceptQueue?: boolean | null | undefined;
|
|
909
|
+
acceptReservation?: boolean | null | undefined;
|
|
907
910
|
anonymousOrder: boolean;
|
|
908
911
|
} | null | undefined;
|
|
909
912
|
driveThru?: {
|
package/dist/frontend/mf-order/src/views/display-system/legacy-ods/ColorOverrideDialog.vue.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type BaseBrandKit, type RecursivePartial } from '@/modules/display-system/legacy-ods/interface';
|
|
2
|
+
type ColorField = {
|
|
3
|
+
key: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
modelValue: boolean;
|
|
9
|
+
title: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
baseBrandkit: BaseBrandKit;
|
|
12
|
+
value?: RecursivePartial<BaseBrandKit>;
|
|
13
|
+
colorFields: ColorField[];
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
cancel: () => any;
|
|
17
|
+
"update:modelValue": (v: boolean) => any;
|
|
18
|
+
save: (v: RecursivePartial<BaseBrandKit> | undefined) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onCancel?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
22
|
+
onSave?: ((v: RecursivePartial<BaseBrandKit> | undefined) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
colorFields: ColorField[];
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import 'vue-accessible-color-picker/styles';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
initialColor: string;
|
|
4
|
+
color: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
update: (value: string) => any;
|
|
10
|
+
remove: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onUpdate?: ((value: string) => any) | undefined;
|
|
13
|
+
onRemove?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
package/dist/frontend/mf-order/src/views/display-system/legacy-ods/LegacyOdsEditorDialog.vue.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type BrandKit, type OdsConfigEntry } from '@/modules/display-system/legacy-ods/interface';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
entry: OdsConfigEntry;
|
|
5
|
+
editingIndex: number;
|
|
6
|
+
allEntries: OdsConfigEntry[];
|
|
7
|
+
brandkit: BrandKit;
|
|
8
|
+
colorFields: {
|
|
9
|
+
key: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}[];
|
|
13
|
+
saving?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
cancel: () => any;
|
|
17
|
+
"update:modelValue": (v: boolean) => any;
|
|
18
|
+
save: (entry: OdsConfigEntry) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onCancel?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
22
|
+
onSave?: ((entry: OdsConfigEntry) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
package/dist/frontend/mf-order/src/views/display-system/legacy-ods/LegacyOdsTemplateList.vue.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
addOdsEntry: () => void;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type DisplaySystemView = 'v8' | 'v7';
|
|
2
|
+
interface Outlet {
|
|
3
|
+
_id: string;
|
|
4
|
+
posVersion?: string | null;
|
|
5
|
+
}
|
|
6
|
+
export declare function isPosV8(posVersion: string | null | undefined): boolean;
|
|
7
|
+
export declare function availableDisplaySystemViews(options: {
|
|
8
|
+
canManageOrderSetting: boolean;
|
|
9
|
+
canManageBrandkit: boolean;
|
|
10
|
+
outlets: Outlet[];
|
|
11
|
+
hasLegacyOdsConfigs: boolean;
|
|
12
|
+
}): DisplaySystemView[];
|
|
13
|
+
export declare function defaultDisplaySystemView(available: DisplaySystemView[], outlets: Outlet[], currentOutletId?: string): DisplaySystemView | undefined;
|
|
14
|
+
export declare function requestedDisplaySystemView(query: {
|
|
15
|
+
view?: unknown;
|
|
16
|
+
tab?: unknown;
|
|
17
|
+
}): DisplaySystemView | undefined;
|
|
18
|
+
export {};
|
package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { FdoOrderReservationSettingsV2 } from '@entity';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
currentSettings: FdoOrderReservationSettingsV2;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
apply: (settings: Partial<{
|
|
7
|
+
smsEnabled: boolean;
|
|
8
|
+
ranges: {
|
|
9
|
+
enable?: boolean | null | undefined;
|
|
10
|
+
guestMessage?: string | null | undefined;
|
|
11
|
+
cancellationPolicy?: string | null | undefined;
|
|
12
|
+
name: string;
|
|
13
|
+
_id: string;
|
|
14
|
+
operatingHours: {
|
|
15
|
+
0: {
|
|
16
|
+
hours: {
|
|
17
|
+
end: string;
|
|
18
|
+
start: string;
|
|
19
|
+
}[];
|
|
20
|
+
enable: boolean;
|
|
21
|
+
};
|
|
22
|
+
2: {
|
|
23
|
+
hours: {
|
|
24
|
+
end: string;
|
|
25
|
+
start: string;
|
|
26
|
+
}[];
|
|
27
|
+
enable: boolean;
|
|
28
|
+
};
|
|
29
|
+
1: {
|
|
30
|
+
hours: {
|
|
31
|
+
end: string;
|
|
32
|
+
start: string;
|
|
33
|
+
}[];
|
|
34
|
+
enable: boolean;
|
|
35
|
+
};
|
|
36
|
+
3: {
|
|
37
|
+
hours: {
|
|
38
|
+
end: string;
|
|
39
|
+
start: string;
|
|
40
|
+
}[];
|
|
41
|
+
enable: boolean;
|
|
42
|
+
};
|
|
43
|
+
4: {
|
|
44
|
+
hours: {
|
|
45
|
+
end: string;
|
|
46
|
+
start: string;
|
|
47
|
+
}[];
|
|
48
|
+
enable: boolean;
|
|
49
|
+
};
|
|
50
|
+
5: {
|
|
51
|
+
hours: {
|
|
52
|
+
end: string;
|
|
53
|
+
start: string;
|
|
54
|
+
}[];
|
|
55
|
+
enable: boolean;
|
|
56
|
+
};
|
|
57
|
+
6: {
|
|
58
|
+
hours: {
|
|
59
|
+
end: string;
|
|
60
|
+
start: string;
|
|
61
|
+
}[];
|
|
62
|
+
enable: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
slotInterval: number;
|
|
66
|
+
bookingDuration: number;
|
|
67
|
+
minLeadDuration: {
|
|
68
|
+
value: number;
|
|
69
|
+
unit: "day" | "hour" | "minute";
|
|
70
|
+
};
|
|
71
|
+
maxLeadDuration: {
|
|
72
|
+
value: number;
|
|
73
|
+
unit: "day" | "hour" | "minute";
|
|
74
|
+
};
|
|
75
|
+
capacityTiers: {
|
|
76
|
+
priority?: number | null | undefined;
|
|
77
|
+
maxPax?: number | null | undefined;
|
|
78
|
+
_id: string;
|
|
79
|
+
minPax: number;
|
|
80
|
+
capacity: number;
|
|
81
|
+
}[];
|
|
82
|
+
enablePreorder: boolean;
|
|
83
|
+
preferences: {
|
|
84
|
+
name: string;
|
|
85
|
+
type: "text" | "checkbox" | "radio";
|
|
86
|
+
options: string[];
|
|
87
|
+
}[];
|
|
88
|
+
}[];
|
|
89
|
+
posCanOverbook: boolean;
|
|
90
|
+
draftHoldTimeMinutes: number;
|
|
91
|
+
emailEnabled: boolean;
|
|
92
|
+
notifyOnConfirm: boolean;
|
|
93
|
+
notifyOnCancel: boolean;
|
|
94
|
+
}>) => any;
|
|
95
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
96
|
+
onApply?: ((settings: Partial<{
|
|
97
|
+
smsEnabled: boolean;
|
|
98
|
+
ranges: {
|
|
99
|
+
enable?: boolean | null | undefined;
|
|
100
|
+
guestMessage?: string | null | undefined;
|
|
101
|
+
cancellationPolicy?: string | null | undefined;
|
|
102
|
+
name: string;
|
|
103
|
+
_id: string;
|
|
104
|
+
operatingHours: {
|
|
105
|
+
0: {
|
|
106
|
+
hours: {
|
|
107
|
+
end: string;
|
|
108
|
+
start: string;
|
|
109
|
+
}[];
|
|
110
|
+
enable: boolean;
|
|
111
|
+
};
|
|
112
|
+
2: {
|
|
113
|
+
hours: {
|
|
114
|
+
end: string;
|
|
115
|
+
start: string;
|
|
116
|
+
}[];
|
|
117
|
+
enable: boolean;
|
|
118
|
+
};
|
|
119
|
+
1: {
|
|
120
|
+
hours: {
|
|
121
|
+
end: string;
|
|
122
|
+
start: string;
|
|
123
|
+
}[];
|
|
124
|
+
enable: boolean;
|
|
125
|
+
};
|
|
126
|
+
3: {
|
|
127
|
+
hours: {
|
|
128
|
+
end: string;
|
|
129
|
+
start: string;
|
|
130
|
+
}[];
|
|
131
|
+
enable: boolean;
|
|
132
|
+
};
|
|
133
|
+
4: {
|
|
134
|
+
hours: {
|
|
135
|
+
end: string;
|
|
136
|
+
start: string;
|
|
137
|
+
}[];
|
|
138
|
+
enable: boolean;
|
|
139
|
+
};
|
|
140
|
+
5: {
|
|
141
|
+
hours: {
|
|
142
|
+
end: string;
|
|
143
|
+
start: string;
|
|
144
|
+
}[];
|
|
145
|
+
enable: boolean;
|
|
146
|
+
};
|
|
147
|
+
6: {
|
|
148
|
+
hours: {
|
|
149
|
+
end: string;
|
|
150
|
+
start: string;
|
|
151
|
+
}[];
|
|
152
|
+
enable: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
slotInterval: number;
|
|
156
|
+
bookingDuration: number;
|
|
157
|
+
minLeadDuration: {
|
|
158
|
+
value: number;
|
|
159
|
+
unit: "day" | "hour" | "minute";
|
|
160
|
+
};
|
|
161
|
+
maxLeadDuration: {
|
|
162
|
+
value: number;
|
|
163
|
+
unit: "day" | "hour" | "minute";
|
|
164
|
+
};
|
|
165
|
+
capacityTiers: {
|
|
166
|
+
priority?: number | null | undefined;
|
|
167
|
+
maxPax?: number | null | undefined;
|
|
168
|
+
_id: string;
|
|
169
|
+
minPax: number;
|
|
170
|
+
capacity: number;
|
|
171
|
+
}[];
|
|
172
|
+
enablePreorder: boolean;
|
|
173
|
+
preferences: {
|
|
174
|
+
name: string;
|
|
175
|
+
type: "text" | "checkbox" | "radio";
|
|
176
|
+
options: string[];
|
|
177
|
+
}[];
|
|
178
|
+
}[];
|
|
179
|
+
posCanOverbook: boolean;
|
|
180
|
+
draftHoldTimeMinutes: number;
|
|
181
|
+
emailEnabled: boolean;
|
|
182
|
+
notifyOnConfirm: boolean;
|
|
183
|
+
notifyOnCancel: boolean;
|
|
184
|
+
}>) => any) | undefined;
|
|
185
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
186
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
minTime?: string;
|
|
4
|
+
restrictMinTime?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|