@inno_user/inno_clouds_lib 9.2.6 → 9.3.1
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 +28198 -6001
- 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/composables/usePdfMode.d.ts +6 -0
- package/dist/composables/useScroll.d.ts +0 -0
- package/dist/directives/vDragScroll.d.ts +1 -0
- package/dist/index.d.ts +5 -2
- package/dist/requests.d.ts +19 -0
- package/dist/semantics/cardProduct/NumberModifier.vue.d.ts +4 -1
- package/dist/store/cart.d.ts +39 -3
- package/dist/store/main.d.ts +7 -4
- package/dist/store/modules.d.ts +4 -1
- package/dist/store/theme.d.ts +45 -9
- package/dist/types/iTheme.d.ts +5 -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;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const vDragScroll: Directive;
|
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,13 @@ 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';
|
|
20
21
|
import { vClickOutside } from './directives/vClickOutside';
|
|
21
22
|
import { vMuted } from './directives/vMuted';
|
|
23
|
+
import { vDragScroll } from './directives/vDragScroll';
|
|
22
24
|
import { useCachedMedia } from './hooks/useProductImage/useProductImage';
|
|
23
25
|
import { updateIndexedDB } from './utils/updateIndexedDB';
|
|
24
26
|
import { getCachedGroup, getCachedProduct, clearAllProductDB } from './utils/indexedDB';
|
|
@@ -35,16 +37,17 @@ import { useImageCacheStore } from './store/images';
|
|
|
35
37
|
import { useModalStore } from './store/modals';
|
|
36
38
|
import { useModal } from './composables/useModal';
|
|
37
39
|
import { useVirtuaLoop } from './composables/useVirtuaLoop';
|
|
40
|
+
import { usePdf } from './composables/usePdfMode';
|
|
38
41
|
import { isNetworkError } from './utils/isNetworkError';
|
|
39
42
|
import { parseTheme } from './utils/parseTheme';
|
|
40
43
|
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
41
44
|
import { default as clearLocalStorage } from './utils/clearLocalStorage';
|
|
42
45
|
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,
|
|
46
|
+
export { InitConnection, getWebSocketInstance, useModulesLibStore, useImageCacheStore, vClickOutside, vMuted, vDragScroll, initPinia, initRouter, useRouter, useRoute, useCachedMedia, updateIndexedDB, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BottomSheet, BasketButton, ModalWindows, Recommendation, PopupWindowDefault, NotificationWindow, QrCameraScanner,
|
|
44
47
|
/** Stores */
|
|
45
48
|
useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
|
|
46
49
|
/** Composables */
|
|
47
|
-
useModal, useVirtuaLoop,
|
|
50
|
+
useModal, useVirtuaLoop, usePdf,
|
|
48
51
|
/** Utils */
|
|
49
52
|
preventZoom, isNetworkError, parseTheme, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
|
|
50
53
|
/** Components */
|
package/dist/requests.d.ts
CHANGED
|
@@ -63,9 +63,28 @@ 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>;
|
|
87
|
+
validateApiKey(apiKey: string, options?: AxiosRequestConfig): Promise<boolean>;
|
|
69
88
|
productUpsale(idProduct: string): Promise<void>;
|
|
70
89
|
}
|
|
71
90
|
export { InitConnection };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
qr_menu?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3
6
|
sliderWrapper: HTMLDivElement;
|
|
4
7
|
}, HTMLDivElement>;
|
|
5
8
|
export default _default;
|
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
|
@@ -246,7 +246,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
246
246
|
xApiKey_lib: Ref<string, string>;
|
|
247
247
|
countBonus: Ref<number, number>;
|
|
248
248
|
toggleDrum: Ref<boolean, boolean>;
|
|
249
|
-
is_showApiKey: Ref<
|
|
249
|
+
is_showApiKey: Ref<boolean, boolean>;
|
|
250
250
|
openApiKey: Ref<boolean, boolean>;
|
|
251
251
|
kiosk_timeout: Ref<any, any>;
|
|
252
252
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
@@ -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;
|
|
@@ -513,7 +514,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
513
514
|
xApiKey_lib: Ref<string, string>;
|
|
514
515
|
countBonus: Ref<number, number>;
|
|
515
516
|
toggleDrum: Ref<boolean, boolean>;
|
|
516
|
-
is_showApiKey: Ref<
|
|
517
|
+
is_showApiKey: Ref<boolean, boolean>;
|
|
517
518
|
openApiKey: Ref<boolean, boolean>;
|
|
518
519
|
kiosk_timeout: Ref<any, any>;
|
|
519
520
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
@@ -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;
|
|
@@ -780,7 +782,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
780
782
|
xApiKey_lib: Ref<string, string>;
|
|
781
783
|
countBonus: Ref<number, number>;
|
|
782
784
|
toggleDrum: Ref<boolean, boolean>;
|
|
783
|
-
is_showApiKey: Ref<
|
|
785
|
+
is_showApiKey: Ref<boolean, boolean>;
|
|
784
786
|
openApiKey: Ref<boolean, boolean>;
|
|
785
787
|
kiosk_timeout: Ref<any, any>;
|
|
786
788
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
@@ -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/modules.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const useModulesStore: StoreDefinition<"modulesLib", Pick<{
|
|
|
9
9
|
} | {
|
|
10
10
|
textNotification: string;
|
|
11
11
|
}>;
|
|
12
|
+
showNotification: (message: string) => void;
|
|
12
13
|
}, "is_notification_lib" | "notificationData_lib">, Pick<{
|
|
13
14
|
is_notification_lib: Ref<boolean, boolean>;
|
|
14
15
|
notificationData_lib: Ref<{
|
|
@@ -18,6 +19,7 @@ export declare const useModulesStore: StoreDefinition<"modulesLib", Pick<{
|
|
|
18
19
|
} | {
|
|
19
20
|
textNotification: string;
|
|
20
21
|
}>;
|
|
22
|
+
showNotification: (message: string) => void;
|
|
21
23
|
}, never>, Pick<{
|
|
22
24
|
is_notification_lib: Ref<boolean, boolean>;
|
|
23
25
|
notificationData_lib: Ref<{
|
|
@@ -27,4 +29,5 @@ export declare const useModulesStore: StoreDefinition<"modulesLib", Pick<{
|
|
|
27
29
|
} | {
|
|
28
30
|
textNotification: string;
|
|
29
31
|
}>;
|
|
30
|
-
|
|
32
|
+
showNotification: (message: string) => void;
|
|
33
|
+
}, "showNotification">>;
|
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,10 @@ 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
|
-
|
|
61
|
+
pdf_return_url: boolean | null;
|
|
60
62
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
63
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
64
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
61
65
|
}, ITheme | {
|
|
62
66
|
id: string;
|
|
63
67
|
created_at: string | null;
|
|
@@ -68,6 +72,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
68
72
|
accent_dark_color: string | null;
|
|
69
73
|
bg_button_color: string | null;
|
|
70
74
|
bonuses_button_name?: string | undefined;
|
|
75
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
76
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
71
77
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
72
78
|
inactive_button_color: string | null;
|
|
73
79
|
cards_color: string | null;
|
|
@@ -112,8 +118,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
112
118
|
qr_is_order_comment_required?: boolean | undefined;
|
|
113
119
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
114
120
|
} | null;
|
|
115
|
-
|
|
121
|
+
pdf_return_url: boolean | null;
|
|
116
122
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
123
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
124
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
117
125
|
}>;
|
|
118
126
|
updateColor: (data: ITheme) => Promise<{
|
|
119
127
|
id: string;
|
|
@@ -125,6 +133,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
125
133
|
accent_dark_color: string | null;
|
|
126
134
|
bg_button_color: string | null;
|
|
127
135
|
bonuses_button_name?: string | undefined;
|
|
136
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
137
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
128
138
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
129
139
|
inactive_button_color: string | null;
|
|
130
140
|
cards_color: string | null;
|
|
@@ -169,8 +179,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
169
179
|
qr_is_order_comment_required?: boolean | undefined;
|
|
170
180
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
171
181
|
} | null;
|
|
172
|
-
|
|
182
|
+
pdf_return_url: boolean | null;
|
|
173
183
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
184
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
185
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
174
186
|
} | undefined>;
|
|
175
187
|
}, "itemThemes">, Pick<{
|
|
176
188
|
itemThemes: Ref<{
|
|
@@ -183,6 +195,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
183
195
|
accent_dark_color: string | null;
|
|
184
196
|
bg_button_color: string | null;
|
|
185
197
|
bonuses_button_name?: string | undefined;
|
|
198
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
199
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
186
200
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
187
201
|
inactive_button_color: string | null;
|
|
188
202
|
cards_color: string | null;
|
|
@@ -227,8 +241,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
227
241
|
qr_is_order_comment_required?: boolean | undefined;
|
|
228
242
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
229
243
|
} | null;
|
|
230
|
-
|
|
244
|
+
pdf_return_url: boolean | null;
|
|
231
245
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
246
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
247
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
232
248
|
}, ITheme | {
|
|
233
249
|
id: string;
|
|
234
250
|
created_at: string | null;
|
|
@@ -239,6 +255,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
239
255
|
accent_dark_color: string | null;
|
|
240
256
|
bg_button_color: string | null;
|
|
241
257
|
bonuses_button_name?: string | undefined;
|
|
258
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
259
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
242
260
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
243
261
|
inactive_button_color: string | null;
|
|
244
262
|
cards_color: string | null;
|
|
@@ -283,8 +301,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
283
301
|
qr_is_order_comment_required?: boolean | undefined;
|
|
284
302
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
285
303
|
} | null;
|
|
286
|
-
|
|
304
|
+
pdf_return_url: boolean | null;
|
|
287
305
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
306
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
307
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
288
308
|
}>;
|
|
289
309
|
updateColor: (data: ITheme) => Promise<{
|
|
290
310
|
id: string;
|
|
@@ -296,6 +316,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
296
316
|
accent_dark_color: string | null;
|
|
297
317
|
bg_button_color: string | null;
|
|
298
318
|
bonuses_button_name?: string | undefined;
|
|
319
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
320
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
299
321
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
300
322
|
inactive_button_color: string | null;
|
|
301
323
|
cards_color: string | null;
|
|
@@ -340,8 +362,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
340
362
|
qr_is_order_comment_required?: boolean | undefined;
|
|
341
363
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
342
364
|
} | null;
|
|
343
|
-
|
|
365
|
+
pdf_return_url: boolean | null;
|
|
344
366
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
367
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
368
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
345
369
|
} | undefined>;
|
|
346
370
|
}, never>, Pick<{
|
|
347
371
|
itemThemes: Ref<{
|
|
@@ -354,6 +378,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
354
378
|
accent_dark_color: string | null;
|
|
355
379
|
bg_button_color: string | null;
|
|
356
380
|
bonuses_button_name?: string | undefined;
|
|
381
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
382
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
357
383
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
358
384
|
inactive_button_color: string | null;
|
|
359
385
|
cards_color: string | null;
|
|
@@ -398,8 +424,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
398
424
|
qr_is_order_comment_required?: boolean | undefined;
|
|
399
425
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
400
426
|
} | null;
|
|
401
|
-
|
|
427
|
+
pdf_return_url: boolean | null;
|
|
402
428
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
429
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
430
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
403
431
|
}, ITheme | {
|
|
404
432
|
id: string;
|
|
405
433
|
created_at: string | null;
|
|
@@ -410,6 +438,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
410
438
|
accent_dark_color: string | null;
|
|
411
439
|
bg_button_color: string | null;
|
|
412
440
|
bonuses_button_name?: string | undefined;
|
|
441
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
442
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
413
443
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
414
444
|
inactive_button_color: string | null;
|
|
415
445
|
cards_color: string | null;
|
|
@@ -454,8 +484,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
454
484
|
qr_is_order_comment_required?: boolean | undefined;
|
|
455
485
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
456
486
|
} | null;
|
|
457
|
-
|
|
487
|
+
pdf_return_url: boolean | null;
|
|
458
488
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
489
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
490
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
459
491
|
}>;
|
|
460
492
|
updateColor: (data: ITheme) => Promise<{
|
|
461
493
|
id: string;
|
|
@@ -467,6 +499,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
467
499
|
accent_dark_color: string | null;
|
|
468
500
|
bg_button_color: string | null;
|
|
469
501
|
bonuses_button_name?: string | undefined;
|
|
502
|
+
qr_bypass_guest_auth?: boolean | null | undefined;
|
|
503
|
+
kiosk_bypass_guest_auth?: boolean | null | undefined;
|
|
470
504
|
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
471
505
|
inactive_button_color: string | null;
|
|
472
506
|
cards_color: string | null;
|
|
@@ -511,7 +545,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
511
545
|
qr_is_order_comment_required?: boolean | undefined;
|
|
512
546
|
kiosk_is_order_comment_required?: boolean | undefined;
|
|
513
547
|
} | null;
|
|
514
|
-
|
|
548
|
+
pdf_return_url: boolean | null;
|
|
515
549
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
550
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
551
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
516
552
|
} | undefined>;
|
|
517
553
|
}, "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,10 @@ 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
|
-
|
|
42
|
+
pdf_return_url: boolean | null;
|
|
41
43
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
44
|
+
kiosk_camera_scan_loyalty_card: null;
|
|
45
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
42
46
|
}
|
|
43
47
|
interface IComment {
|
|
44
48
|
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.1",
|
|
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",
|