@inno_user/inno_clouds_lib 9.5.0 → 9.5.2
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 +5344 -5305
- package/dist/@inno_user/inno_clouds_lib.umd.js +18 -18
- package/dist/index.d.ts +2 -1
- package/dist/store/main.d.ts +8 -1
- package/dist/store/theme.d.ts +9 -0
- package/dist/types/iMain.d.ts +37 -0
- package/dist/types/iTheme.d.ts +1 -0
- package/dist/views/cartPage/CartPage.vue.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { default as ButtonDefault } from './ui/buttons/default/ButtonDefault.vue
|
|
|
32
32
|
import { default as BasketButton } from './ui/buttons/basketButton/BasketButton.vue';
|
|
33
33
|
import { BottomSheet } from './ui/bottomSheet';
|
|
34
34
|
import { VList, Virtualizer } from 'virtua/vue';
|
|
35
|
+
import { default as QrcodeVue } from 'qrcode.vue';
|
|
35
36
|
import { default as OrderBox } from './components/OrderBox/OrderBox.vue';
|
|
36
37
|
import { useMainStore as useMainLibStore } from './store/main';
|
|
37
38
|
import { useCardStore as useCardLibStore } from './store/card';
|
|
@@ -56,5 +57,5 @@ useModal, useVirtuaLoop, usePdf,
|
|
|
56
57
|
/** Utils */
|
|
57
58
|
preventZoom, isNetworkError, parseTheme, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
|
|
58
59
|
/** Components */
|
|
59
|
-
OrderBox, VList, Virtualizer, FallingHearts, };
|
|
60
|
+
OrderBox, VList, Virtualizer, FallingHearts, QrcodeVue, };
|
|
60
61
|
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/store/main.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IHealthData } from '../types/iMain';
|
|
1
2
|
import { IProduct } from '../types/iCardProduct';
|
|
2
3
|
import { StoreDefinition } from 'pinia';
|
|
3
4
|
import { Ref, WritableComputedRef, ComputedRef } from 'vue';
|
|
@@ -255,8 +256,10 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
255
256
|
is_18_above_content: Ref<boolean, boolean>;
|
|
256
257
|
is18Allowed: Ref<boolean, boolean>;
|
|
257
258
|
healthState: Ref<boolean, boolean>;
|
|
259
|
+
healthData: Ref<IHealthData | undefined, IHealthData | undefined>;
|
|
258
260
|
displayCards: Ref<any[], any[]>;
|
|
259
261
|
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
262
|
+
cartBasketBumpKey: Ref<number, number>;
|
|
260
263
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
261
264
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
262
265
|
setBonus: (value: number) => void;
|
|
@@ -269,7 +272,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
269
272
|
updateCartInLocalStorage: () => void;
|
|
270
273
|
makeProductFullyReactive: (item: any) => IProduct;
|
|
271
274
|
checkHeartbeatApp: (id: any) => void;
|
|
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<{
|
|
275
|
+
}, "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" | "healthData" | "displayCards" | "isOrderTypeSubmited" | "cartBasketBumpKey">, Pick<{
|
|
273
276
|
cartProducts_lib: Ref<{
|
|
274
277
|
id: string;
|
|
275
278
|
idSystem: string;
|
|
@@ -523,8 +526,10 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
523
526
|
is_18_above_content: Ref<boolean, boolean>;
|
|
524
527
|
is18Allowed: Ref<boolean, boolean>;
|
|
525
528
|
healthState: Ref<boolean, boolean>;
|
|
529
|
+
healthData: Ref<IHealthData | undefined, IHealthData | undefined>;
|
|
526
530
|
displayCards: Ref<any[], any[]>;
|
|
527
531
|
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
532
|
+
cartBasketBumpKey: Ref<number, number>;
|
|
528
533
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
529
534
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
530
535
|
setBonus: (value: number) => void;
|
|
@@ -791,8 +796,10 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
791
796
|
is_18_above_content: Ref<boolean, boolean>;
|
|
792
797
|
is18Allowed: Ref<boolean, boolean>;
|
|
793
798
|
healthState: Ref<boolean, boolean>;
|
|
799
|
+
healthData: Ref<IHealthData | undefined, IHealthData | undefined>;
|
|
794
800
|
displayCards: Ref<any[], any[]>;
|
|
795
801
|
isOrderTypeSubmited: Ref<boolean, boolean>;
|
|
802
|
+
cartBasketBumpKey: Ref<number, number>;
|
|
796
803
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
797
804
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
798
805
|
setBonus: (value: number) => void;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
70
70
|
dish_cart_mod_choice_text: string | null;
|
|
71
71
|
qr_show_modifiers_in_cart: boolean | null;
|
|
72
72
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
73
|
+
use_product_media_in_group_splash: boolean | null;
|
|
73
74
|
}, ITheme | {
|
|
74
75
|
id: string;
|
|
75
76
|
created_at: string | null;
|
|
@@ -138,6 +139,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
138
139
|
dish_cart_mod_choice_text: string | null;
|
|
139
140
|
qr_show_modifiers_in_cart: boolean | null;
|
|
140
141
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
142
|
+
use_product_media_in_group_splash: boolean | null;
|
|
141
143
|
}>;
|
|
142
144
|
updateColor: (data: ITheme) => Promise<{
|
|
143
145
|
id: string;
|
|
@@ -207,6 +209,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
207
209
|
dish_cart_mod_choice_text: string | null;
|
|
208
210
|
qr_show_modifiers_in_cart: boolean | null;
|
|
209
211
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
212
|
+
use_product_media_in_group_splash: boolean | null;
|
|
210
213
|
} | undefined>;
|
|
211
214
|
}, "itemThemes">, Pick<{
|
|
212
215
|
itemThemes: Ref<{
|
|
@@ -277,6 +280,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
277
280
|
dish_cart_mod_choice_text: string | null;
|
|
278
281
|
qr_show_modifiers_in_cart: boolean | null;
|
|
279
282
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
283
|
+
use_product_media_in_group_splash: boolean | null;
|
|
280
284
|
}, ITheme | {
|
|
281
285
|
id: string;
|
|
282
286
|
created_at: string | null;
|
|
@@ -345,6 +349,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
345
349
|
dish_cart_mod_choice_text: string | null;
|
|
346
350
|
qr_show_modifiers_in_cart: boolean | null;
|
|
347
351
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
352
|
+
use_product_media_in_group_splash: boolean | null;
|
|
348
353
|
}>;
|
|
349
354
|
updateColor: (data: ITheme) => Promise<{
|
|
350
355
|
id: string;
|
|
@@ -414,6 +419,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
414
419
|
dish_cart_mod_choice_text: string | null;
|
|
415
420
|
qr_show_modifiers_in_cart: boolean | null;
|
|
416
421
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
422
|
+
use_product_media_in_group_splash: boolean | null;
|
|
417
423
|
} | undefined>;
|
|
418
424
|
}, never>, Pick<{
|
|
419
425
|
itemThemes: Ref<{
|
|
@@ -484,6 +490,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
484
490
|
dish_cart_mod_choice_text: string | null;
|
|
485
491
|
qr_show_modifiers_in_cart: boolean | null;
|
|
486
492
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
493
|
+
use_product_media_in_group_splash: boolean | null;
|
|
487
494
|
}, ITheme | {
|
|
488
495
|
id: string;
|
|
489
496
|
created_at: string | null;
|
|
@@ -552,6 +559,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
552
559
|
dish_cart_mod_choice_text: string | null;
|
|
553
560
|
qr_show_modifiers_in_cart: boolean | null;
|
|
554
561
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
562
|
+
use_product_media_in_group_splash: boolean | null;
|
|
555
563
|
}>;
|
|
556
564
|
updateColor: (data: ITheme) => Promise<{
|
|
557
565
|
id: string;
|
|
@@ -621,5 +629,6 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
621
629
|
dish_cart_mod_choice_text: string | null;
|
|
622
630
|
qr_show_modifiers_in_cart: boolean | null;
|
|
623
631
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
632
|
+
use_product_media_in_group_splash: boolean | null;
|
|
624
633
|
} | undefined>;
|
|
625
634
|
}, "updateColor">>;
|
package/dist/types/iMain.d.ts
CHANGED
|
@@ -28,3 +28,40 @@ export interface IProductMain {
|
|
|
28
28
|
video_link: null;
|
|
29
29
|
fast_adding: boolean;
|
|
30
30
|
}
|
|
31
|
+
export interface IHealthData {
|
|
32
|
+
is_ok: boolean | null;
|
|
33
|
+
message: string;
|
|
34
|
+
extra_info: null;
|
|
35
|
+
components: {
|
|
36
|
+
fiskal: {
|
|
37
|
+
is_ok: boolean | null;
|
|
38
|
+
message: string | null;
|
|
39
|
+
extra_info: any;
|
|
40
|
+
};
|
|
41
|
+
terminal: {
|
|
42
|
+
is_ok: boolean | null;
|
|
43
|
+
message: string | null;
|
|
44
|
+
extra_info: any;
|
|
45
|
+
};
|
|
46
|
+
shift: {
|
|
47
|
+
is_ok: boolean | null;
|
|
48
|
+
message: string | null;
|
|
49
|
+
extra_info: any;
|
|
50
|
+
};
|
|
51
|
+
plugin_connection: {
|
|
52
|
+
is_ok: boolean | null;
|
|
53
|
+
message: string | null;
|
|
54
|
+
extra_info: any;
|
|
55
|
+
};
|
|
56
|
+
work_schedule: {
|
|
57
|
+
is_ok: boolean | null;
|
|
58
|
+
message: string | null;
|
|
59
|
+
extra_info: {
|
|
60
|
+
disable_mode: null | 'disabled' | 'show_qr';
|
|
61
|
+
open_time: string;
|
|
62
|
+
close_time: string;
|
|
63
|
+
next_open_time: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
}
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export interface ITheme {
|
|
|
51
51
|
dish_cart_mod_choice_text: string | null;
|
|
52
52
|
qr_show_modifiers_in_cart: boolean | null;
|
|
53
53
|
kiosk_show_modifiers_in_cart: boolean | null;
|
|
54
|
+
use_product_media_in_group_splash: boolean | null;
|
|
54
55
|
}
|
|
55
56
|
interface IComment {
|
|
56
57
|
kiosk_comment_field_name?: string;
|
|
@@ -13,5 +13,6 @@ type __VLS_Props = {
|
|
|
13
13
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
14
14
|
stickerLoyality: HTMLDivElement;
|
|
15
15
|
commentEl: HTMLTextAreaElement;
|
|
16
|
+
cartCardsEl: HTMLDivElement;
|
|
16
17
|
}, any>;
|
|
17
18
|
export default _default;
|