@inno_user/inno_clouds_lib 9.2.6 → 9.3.0
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/@inno_user/inno_clouds_lib.css +1 -1
- package/dist/@inno_user/inno_clouds_lib.es.js +27999 -5894
- package/dist/@inno_user/inno_clouds_lib.umd.js +27 -7
- package/dist/assets/iconsDynamic/QR.vue.d.ts +17 -0
- package/dist/components/QrCameraScanner/QrCameraScanner.vue.d.ts +29 -0
- package/dist/components/QrCameraScanner/qrCameraScanner.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/dist/requests.d.ts +18 -0
- package/dist/store/cart.d.ts +39 -3
- package/dist/store/main.d.ts +4 -1
- package/dist/store/theme.d.ts +36 -9
- package/dist/types/iTheme.d.ts +4 -1
- package/package.json +2 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
color: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: false;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
9
|
+
color: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
color: string;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
axiosInstanceGet: AxiosInstance;
|
|
5
|
+
is_toggleAffiliation?: boolean;
|
|
6
|
+
is_notification?: boolean;
|
|
7
|
+
notificationData?: {
|
|
8
|
+
textNotification: string;
|
|
9
|
+
};
|
|
10
|
+
tableData?: string | null;
|
|
11
|
+
isQr?: boolean | null;
|
|
12
|
+
takeDataTable?: (orgLinkId: string, tableId: string, source?: string) => Promise<void> | undefined;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:tableData": (value: string | null) => any;
|
|
16
|
+
"update:notificationData": (value: {
|
|
17
|
+
textNotification: string;
|
|
18
|
+
}) => any;
|
|
19
|
+
"update:is_notification": (value: boolean) => any;
|
|
20
|
+
"update:is_toggleAffiliation": (value: boolean) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:tableData"?: ((value: string | null) => any) | undefined;
|
|
23
|
+
"onUpdate:notificationData"?: ((value: {
|
|
24
|
+
textNotification: string;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
"onUpdate:is_notification"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
"onUpdate:is_toggleAffiliation"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { default as Recommendation } from './components/recommendation/Recommend
|
|
|
14
14
|
import { default as ModalWindows } from './semantics/modalWindows/ModalWindows.vue';
|
|
15
15
|
import { default as CardReader } from './components/cardReader/CardReader.vue';
|
|
16
16
|
import { default as PopupWindowDefault } from './semantics/windows/popupWindowDefault/PopupWindowDefault.vue';
|
|
17
|
+
import { default as QrCameraScanner } from './components/QrCameraScanner/QrCameraScanner.vue';
|
|
17
18
|
import { getWebSocketInstance } from './utils/WebSocketService';
|
|
18
19
|
import { useModulesStore as useModulesLibStore } from './store/modules';
|
|
19
20
|
import { default as NotificationWindow } from './ui/notificationWindow/NotificationWindow.vue';
|
|
@@ -40,7 +41,7 @@ import { parseTheme } from './utils/parseTheme';
|
|
|
40
41
|
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
41
42
|
import { default as clearLocalStorage } from './utils/clearLocalStorage';
|
|
42
43
|
import { default as PricePrerender } from './utils/pricePrerender';
|
|
43
|
-
export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, vMuted, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow,
|
|
44
|
+
export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, vMuted, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow, QrCameraScanner,
|
|
44
45
|
/** Stores */
|
|
45
46
|
useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
|
|
46
47
|
/** Composables */
|
package/dist/requests.d.ts
CHANGED
|
@@ -63,6 +63,24 @@ declare class InitConnection {
|
|
|
63
63
|
initPaymentLink(order: string, paymentMethod: string): Promise<any>;
|
|
64
64
|
orderPay(id: string): Promise< AxiosResponse<any, any, {}> | undefined>;
|
|
65
65
|
getProfile(): Promise<any>;
|
|
66
|
+
joinLoyalty(): Promise<{
|
|
67
|
+
success: boolean;
|
|
68
|
+
}>;
|
|
69
|
+
isPhoneExist(phone: string, options?: AxiosRequestConfig): Promise<boolean>;
|
|
70
|
+
sendOTP(phone: string, options?: AxiosRequestConfig): Promise<any>;
|
|
71
|
+
auth(payload: {
|
|
72
|
+
phone: string;
|
|
73
|
+
code: string;
|
|
74
|
+
organization?: string;
|
|
75
|
+
}, options?: AxiosRequestConfig): Promise< AxiosResponse<any, any, {}>>;
|
|
76
|
+
signup(payload: {
|
|
77
|
+
phone: string;
|
|
78
|
+
code: string;
|
|
79
|
+
first_name: string;
|
|
80
|
+
last_name: string;
|
|
81
|
+
loyalty_program_consent: boolean;
|
|
82
|
+
organization?: string;
|
|
83
|
+
}, options?: AxiosRequestConfig): Promise< AxiosResponse<any, any, {}>>;
|
|
66
84
|
calculateDiscount(payload: any, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
67
85
|
maxPayByBonuses(price: number, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
|
|
68
86
|
getDeviceInfo(): Promise<any>;
|
package/dist/store/cart.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentContext, PaymentConfig } from '../types/payment';
|
|
2
2
|
import { StoreDefinition } from 'pinia';
|
|
3
|
-
import { Ref, ComputedRef } from 'vue';
|
|
3
|
+
import { Ref, ComputedRef, WritableComputedRef } from 'vue';
|
|
4
4
|
export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
5
5
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
6
6
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
@@ -23,8 +23,20 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
23
23
|
isAuthorized: ComputedRef<boolean>;
|
|
24
24
|
discountBtn: Ref<boolean, boolean>;
|
|
25
25
|
linkQR: Ref<string, string>;
|
|
26
|
+
orderTypes: WritableComputedRef<{
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
image_link: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[], {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
image_link: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}[]>;
|
|
26
37
|
providerTypes: Ref<any, any>;
|
|
27
38
|
is_paymentCart: Ref<boolean, boolean>;
|
|
39
|
+
selectedOrderType: Ref<any, any>;
|
|
28
40
|
selectedProvider: Ref<any, any>;
|
|
29
41
|
configPayment: Ref<PaymentConfig | undefined, PaymentConfig | undefined>;
|
|
30
42
|
paymentCostQR: Ref<number, number>;
|
|
@@ -41,7 +53,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
41
53
|
} | null;
|
|
42
54
|
getCurrentPaymentMethodId: () => string | null;
|
|
43
55
|
getAvailablePaymentMethods: (context: PaymentContext) => string[];
|
|
44
|
-
}, "error" | "count" | "is_notification_lib" | "notificationData_lib" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "textPaymentBtn_lib" | "guestInfo" | "isDrawerOpen" | "currentState" | "discountBtn" | "linkQR" | "providerTypes" | "is_paymentCart" | "selectedProvider" | "configPayment" | "paymentCostQR">, Pick<{
|
|
56
|
+
}, "error" | "count" | "is_notification_lib" | "notificationData_lib" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "textPaymentBtn_lib" | "guestInfo" | "isDrawerOpen" | "currentState" | "discountBtn" | "linkQR" | "providerTypes" | "is_paymentCart" | "selectedOrderType" | "selectedProvider" | "configPayment" | "paymentCostQR">, Pick<{
|
|
45
57
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
46
58
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
47
59
|
extraDiscount: Ref<number, number>;
|
|
@@ -63,8 +75,20 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
63
75
|
isAuthorized: ComputedRef<boolean>;
|
|
64
76
|
discountBtn: Ref<boolean, boolean>;
|
|
65
77
|
linkQR: Ref<string, string>;
|
|
78
|
+
orderTypes: WritableComputedRef<{
|
|
79
|
+
id: string;
|
|
80
|
+
name: string;
|
|
81
|
+
image_link: string;
|
|
82
|
+
type: string;
|
|
83
|
+
}[], {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
image_link: string;
|
|
87
|
+
type: string;
|
|
88
|
+
}[]>;
|
|
66
89
|
providerTypes: Ref<any, any>;
|
|
67
90
|
is_paymentCart: Ref<boolean, boolean>;
|
|
91
|
+
selectedOrderType: Ref<any, any>;
|
|
68
92
|
selectedProvider: Ref<any, any>;
|
|
69
93
|
configPayment: Ref<PaymentConfig | undefined, PaymentConfig | undefined>;
|
|
70
94
|
paymentCostQR: Ref<number, number>;
|
|
@@ -81,7 +105,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
81
105
|
} | null;
|
|
82
106
|
getCurrentPaymentMethodId: () => string | null;
|
|
83
107
|
getAvailablePaymentMethods: (context: PaymentContext) => string[];
|
|
84
|
-
}, "isAuthorized">, Pick<{
|
|
108
|
+
}, "isAuthorized" | "orderTypes">, Pick<{
|
|
85
109
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
86
110
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
87
111
|
extraDiscount: Ref<number, number>;
|
|
@@ -103,8 +127,20 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
103
127
|
isAuthorized: ComputedRef<boolean>;
|
|
104
128
|
discountBtn: Ref<boolean, boolean>;
|
|
105
129
|
linkQR: Ref<string, string>;
|
|
130
|
+
orderTypes: WritableComputedRef<{
|
|
131
|
+
id: string;
|
|
132
|
+
name: string;
|
|
133
|
+
image_link: string;
|
|
134
|
+
type: string;
|
|
135
|
+
}[], {
|
|
136
|
+
id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
image_link: string;
|
|
139
|
+
type: string;
|
|
140
|
+
}[]>;
|
|
106
141
|
providerTypes: Ref<any, any>;
|
|
107
142
|
is_paymentCart: Ref<boolean, boolean>;
|
|
143
|
+
selectedOrderType: Ref<any, any>;
|
|
108
144
|
selectedProvider: Ref<any, any>;
|
|
109
145
|
configPayment: Ref<PaymentConfig | undefined, PaymentConfig | undefined>;
|
|
110
146
|
paymentCostQR: Ref<number, number>;
|
package/dist/store/main.d.ts
CHANGED
|
@@ -256,6 +256,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
256
256
|
is18Allowed: Ref<boolean, boolean>;
|
|
257
257
|
healthState: Ref<boolean, boolean>;
|
|
258
258
|
displayCards: Ref<any[], any[]>;
|
|
259
|
+
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
259
260
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
260
261
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
261
262
|
setBonus: (value: number) => void;
|
|
@@ -268,7 +269,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
268
269
|
updateCartInLocalStorage: () => void;
|
|
269
270
|
makeProductFullyReactive: (item: any) => IProduct;
|
|
270
271
|
checkHeartbeatApp: (id: any) => void;
|
|
271
|
-
}, "openApiKey" | "kiosk_timeout" | "cartProducts_lib" | "activeScrolling_lib" | "config_lib" | "is_notification_lib" | "notificationData_lib" | "xApiKey_lib" | "countBonus" | "toggleDrum" | "is_showApiKey" | "kiosk_FirstTimeout" | "is_OpenLoyal" | "profile" | "is_18_above_content" | "is18Allowed" | "healthState" | "displayCards">, Pick<{
|
|
272
|
+
}, "openApiKey" | "kiosk_timeout" | "cartProducts_lib" | "activeScrolling_lib" | "config_lib" | "is_notification_lib" | "notificationData_lib" | "xApiKey_lib" | "countBonus" | "toggleDrum" | "is_showApiKey" | "kiosk_FirstTimeout" | "is_OpenLoyal" | "profile" | "is_18_above_content" | "is18Allowed" | "healthState" | "displayCards" | "isOrderTypeSubmited">, Pick<{
|
|
272
273
|
cartProducts_lib: Ref<{
|
|
273
274
|
id: string;
|
|
274
275
|
idSystem: string;
|
|
@@ -523,6 +524,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
523
524
|
is18Allowed: Ref<boolean, boolean>;
|
|
524
525
|
healthState: Ref<boolean, boolean>;
|
|
525
526
|
displayCards: Ref<any[], any[]>;
|
|
527
|
+
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
526
528
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
527
529
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
528
530
|
setBonus: (value: number) => void;
|
|
@@ -790,6 +792,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
790
792
|
is18Allowed: Ref<boolean, boolean>;
|
|
791
793
|
healthState: Ref<boolean, boolean>;
|
|
792
794
|
displayCards: Ref<any[], any[]>;
|
|
795
|
+
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
793
796
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
794
797
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
795
798
|
setBonus: (value: number) => void;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
12
12
|
accent_dark_color: string | null;
|
|
13
13
|
bg_button_color: string | null;
|
|
14
14
|
bonuses_button_name?: string | undefined;
|
|
15
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
16
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
15
17
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
16
18
|
inactive_button_color: string | null;
|
|
17
19
|
cards_color: string | null;
|
|
@@ -56,8 +58,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
56
58
|
qr_is_order_comment_required?: boolean | undefined;
|
|
57
59
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
58
60
|
} | null;
|
|
59
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
60
61
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
62
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
63
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
61
64
|
}, ITheme | {
|
|
62
65
|
id: string;
|
|
63
66
|
created_at: string | null;
|
|
@@ -68,6 +71,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
68
71
|
accent_dark_color: string | null;
|
|
69
72
|
bg_button_color: string | null;
|
|
70
73
|
bonuses_button_name?: string | undefined;
|
|
74
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
75
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
71
76
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
72
77
|
inactive_button_color: string | null;
|
|
73
78
|
cards_color: string | null;
|
|
@@ -112,8 +117,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
112
117
|
qr_is_order_comment_required?: boolean | undefined;
|
|
113
118
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
114
119
|
} | null;
|
|
115
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
116
120
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
121
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
122
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
117
123
|
}>;
|
|
118
124
|
updateColor: (data: ITheme) => Promise<{
|
|
119
125
|
id: string;
|
|
@@ -125,6 +131,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
125
131
|
accent_dark_color: string | null;
|
|
126
132
|
bg_button_color: string | null;
|
|
127
133
|
bonuses_button_name?: string | undefined;
|
|
134
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
135
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
128
136
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
129
137
|
inactive_button_color: string | null;
|
|
130
138
|
cards_color: string | null;
|
|
@@ -169,8 +177,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
169
177
|
qr_is_order_comment_required?: boolean | undefined;
|
|
170
178
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
171
179
|
} | null;
|
|
172
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
173
180
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
181
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
182
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
174
183
|
} | undefined>;
|
|
175
184
|
}, "itemThemes">, Pick<{
|
|
176
185
|
itemThemes: Ref<{
|
|
@@ -183,6 +192,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
183
192
|
accent_dark_color: string | null;
|
|
184
193
|
bg_button_color: string | null;
|
|
185
194
|
bonuses_button_name?: string | undefined;
|
|
195
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
196
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
186
197
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
187
198
|
inactive_button_color: string | null;
|
|
188
199
|
cards_color: string | null;
|
|
@@ -227,8 +238,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
227
238
|
qr_is_order_comment_required?: boolean | undefined;
|
|
228
239
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
229
240
|
} | null;
|
|
230
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
231
241
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
242
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
243
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
232
244
|
}, ITheme | {
|
|
233
245
|
id: string;
|
|
234
246
|
created_at: string | null;
|
|
@@ -239,6 +251,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
239
251
|
accent_dark_color: string | null;
|
|
240
252
|
bg_button_color: string | null;
|
|
241
253
|
bonuses_button_name?: string | undefined;
|
|
254
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
255
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
242
256
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
243
257
|
inactive_button_color: string | null;
|
|
244
258
|
cards_color: string | null;
|
|
@@ -283,8 +297,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
283
297
|
qr_is_order_comment_required?: boolean | undefined;
|
|
284
298
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
285
299
|
} | null;
|
|
286
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
287
300
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
301
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
302
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
288
303
|
}>;
|
|
289
304
|
updateColor: (data: ITheme) => Promise<{
|
|
290
305
|
id: string;
|
|
@@ -296,6 +311,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
296
311
|
accent_dark_color: string | null;
|
|
297
312
|
bg_button_color: string | null;
|
|
298
313
|
bonuses_button_name?: string | undefined;
|
|
314
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
315
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
299
316
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
300
317
|
inactive_button_color: string | null;
|
|
301
318
|
cards_color: string | null;
|
|
@@ -340,8 +357,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
340
357
|
qr_is_order_comment_required?: boolean | undefined;
|
|
341
358
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
342
359
|
} | null;
|
|
343
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
344
360
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
361
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
362
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
345
363
|
} | undefined>;
|
|
346
364
|
}, never>, Pick<{
|
|
347
365
|
itemThemes: Ref<{
|
|
@@ -354,6 +372,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
354
372
|
accent_dark_color: string | null;
|
|
355
373
|
bg_button_color: string | null;
|
|
356
374
|
bonuses_button_name?: string | undefined;
|
|
375
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
376
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
357
377
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
358
378
|
inactive_button_color: string | null;
|
|
359
379
|
cards_color: string | null;
|
|
@@ -398,8 +418,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
398
418
|
qr_is_order_comment_required?: boolean | undefined;
|
|
399
419
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
400
420
|
} | null;
|
|
401
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
402
421
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
422
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
423
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
403
424
|
}, ITheme | {
|
|
404
425
|
id: string;
|
|
405
426
|
created_at: string | null;
|
|
@@ -410,6 +431,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
410
431
|
accent_dark_color: string | null;
|
|
411
432
|
bg_button_color: string | null;
|
|
412
433
|
bonuses_button_name?: string | undefined;
|
|
434
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
435
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
413
436
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
414
437
|
inactive_button_color: string | null;
|
|
415
438
|
cards_color: string | null;
|
|
@@ -454,8 +477,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
454
477
|
qr_is_order_comment_required?: boolean | undefined;
|
|
455
478
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
456
479
|
} | null;
|
|
457
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
458
480
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
481
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
482
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
459
483
|
}>;
|
|
460
484
|
updateColor: (data: ITheme) => Promise<{
|
|
461
485
|
id: string;
|
|
@@ -467,6 +491,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
467
491
|
accent_dark_color: string | null;
|
|
468
492
|
bg_button_color: string | null;
|
|
469
493
|
bonuses_button_name?: string | undefined;
|
|
494
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
495
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
470
496
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
471
497
|
inactive_button_color: string | null;
|
|
472
498
|
cards_color: string | null;
|
|
@@ -511,7 +537,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
511
537
|
qr_is_order_comment_required?: boolean | undefined;
|
|
512
538
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
513
539
|
} | null;
|
|
514
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
515
540
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
541
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
542
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
516
543
|
} | undefined>;
|
|
517
544
|
}, "updateColor">>;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export interface ITheme {
|
|
|
8
8
|
accent_dark_color: string | null;
|
|
9
9
|
bg_button_color: string | null;
|
|
10
10
|
bonuses_button_name?: string;
|
|
11
|
+
qr_bypass_guest_auth?: boolean | null;
|
|
12
|
+
kiosk_bypass_guest_auth?: boolean | null;
|
|
11
13
|
kiosk_disable_lock_screen?: boolean | null;
|
|
12
14
|
inactive_button_color: string | null;
|
|
13
15
|
cards_color: string | null;
|
|
@@ -37,8 +39,9 @@ export interface ITheme {
|
|
|
37
39
|
size_picker_selected_font_size: number | null;
|
|
38
40
|
hide_discounts_calculate_button: boolean;
|
|
39
41
|
comments: IComment | null;
|
|
40
|
-
kiosk_hide_menu_update_notification: boolean | null;
|
|
41
42
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
43
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
44
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
42
45
|
}
|
|
43
46
|
interface IComment {
|
|
44
47
|
kiosk_comment_field_name?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inno_user/inno_clouds_lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"axios": "^1.10.0",
|
|
58
58
|
"dayjs": "^1.11.13",
|
|
59
|
+
"html5-qrcode": "^2.3.8",
|
|
59
60
|
"idb": "^8.0.3",
|
|
60
61
|
"jwt-decode": "^4.0.0",
|
|
61
62
|
"p-limit": "^7.2.0",
|