@inno_user/inno_clouds_lib 9.0.0 → 9.1.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 +3118 -2828
- package/dist/@inno_user/inno_clouds_lib.umd.js +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/store/card.d.ts +5 -2
- package/dist/store/images.d.ts +18 -1
- package/dist/store/main.d.ts +9 -0
- package/dist/store/theme.d.ts +36 -0
- package/dist/types/iTheme.d.ts +5 -0
- package/dist/ui/cartComplete/completeCardSuccess/CartCompleteCardSuccess.vue.d.ts +8 -0
- package/dist/ui/cartComplete/completeFiscal/CartCompleteFiscal.vue.d.ts +3 -0
- package/dist/ui/cartComplete/completeKioskSuccess/CartCompleteKioskSuccess.vue.d.ts +9 -0
- package/dist/ui/notificationWindow/NotificationWindow.vue.d.ts +1 -0
- package/dist/utils/indexedDB.d.ts +1 -0
- package/dist/views/cartPage/CartPage.vue.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { default as NotificationWindow } from './ui/notificationWindow/Notificat
|
|
|
20
20
|
import { vClickOutside } from './directives/vClickOutside';
|
|
21
21
|
import { useCachedMedia } from './hooks/useProductImage/useProductImage';
|
|
22
22
|
import { updateIndexedDB } from './utils/updateIndexedDB';
|
|
23
|
-
import { getCachedGroup, getCachedProduct } from './utils/indexedDB';
|
|
23
|
+
import { getCachedGroup, getCachedProduct, clearAllProductDB } from './utils/indexedDB';
|
|
24
24
|
import { default as ButtonDefault } from './ui/buttons/default/ButtonDefault.vue';
|
|
25
25
|
import { default as BasketButton } from './ui/buttons/basketButton/BasketButton.vue';
|
|
26
26
|
import { BottomSheet } from './ui/bottomSheet';
|
|
@@ -41,7 +41,7 @@ useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
|
|
|
41
41
|
/** Composables */
|
|
42
42
|
useModal, useVirtuaLoop,
|
|
43
43
|
/** Utils */
|
|
44
|
-
preventZoom, getCachedGroup, getCachedProduct, clearLocalStorage,
|
|
44
|
+
preventZoom, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage,
|
|
45
45
|
/** Components */
|
|
46
46
|
VList, Virtualizer, };
|
|
47
47
|
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/store/card.d.ts
CHANGED
|
@@ -843,6 +843,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
843
843
|
id: string | null;
|
|
844
844
|
visible: boolean;
|
|
845
845
|
}>;
|
|
846
|
+
is_startPage: Ref<boolean, boolean>;
|
|
846
847
|
setProduct: (products: any) => void;
|
|
847
848
|
summModifierAmount: (groupIndex: number) => number;
|
|
848
849
|
setAddedProducts: (product: IProduct) => void;
|
|
@@ -868,7 +869,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
868
869
|
isAnimationFly: boolean;
|
|
869
870
|
textErrorRequaired: string;
|
|
870
871
|
};
|
|
871
|
-
}, "stateCard" | "isOpenWindow" | "isUpSale" | "dataUpSale" | "productCards" | "isAddToCard" | "openProduct">, Pick<{
|
|
872
|
+
}, "stateCard" | "isOpenWindow" | "isUpSale" | "dataUpSale" | "productCards" | "isAddToCard" | "openProduct" | "is_startPage">, Pick<{
|
|
872
873
|
stateCard: Ref<{
|
|
873
874
|
openCard: {
|
|
874
875
|
id: string;
|
|
@@ -1710,6 +1711,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1710
1711
|
id: string | null;
|
|
1711
1712
|
visible: boolean;
|
|
1712
1713
|
}>;
|
|
1714
|
+
is_startPage: Ref<boolean, boolean>;
|
|
1713
1715
|
setProduct: (products: any) => void;
|
|
1714
1716
|
summModifierAmount: (groupIndex: number) => number;
|
|
1715
1717
|
setAddedProducts: (product: IProduct) => void;
|
|
@@ -2577,6 +2579,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2577
2579
|
id: string | null;
|
|
2578
2580
|
visible: boolean;
|
|
2579
2581
|
}>;
|
|
2582
|
+
is_startPage: Ref<boolean, boolean>;
|
|
2580
2583
|
setProduct: (products: any) => void;
|
|
2581
2584
|
summModifierAmount: (groupIndex: number) => number;
|
|
2582
2585
|
setAddedProducts: (product: IProduct) => void;
|
|
@@ -2602,4 +2605,4 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2602
2605
|
isAnimationFly: boolean;
|
|
2603
2606
|
textErrorRequaired: string;
|
|
2604
2607
|
};
|
|
2605
|
-
}, "plusAmount" | "minusAmount" | "setProduct" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers"
|
|
2608
|
+
}, "reset" | "plusAmount" | "minusAmount" | "setProduct" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers">>;
|
package/dist/store/images.d.ts
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
import { StoreDefinition } from 'pinia';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
+
declare global {
|
|
4
|
+
interface WindowEventMap {
|
|
5
|
+
'image-cached': CustomEvent<{
|
|
6
|
+
id: string | number;
|
|
7
|
+
blob: Blob;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
3
11
|
export declare const useImageCacheStore: StoreDefinition<"imageCache", Pick<{
|
|
4
12
|
cache: Ref<Record<string, string>, Record<string, string>>;
|
|
5
13
|
initCacheSingle: (id: string | number) => Promise<void>;
|
|
14
|
+
updateCacheFromBlob: (id: string | number, blob: Blob) => void;
|
|
6
15
|
cleanup: () => void;
|
|
16
|
+
setupEventListener: () => void;
|
|
17
|
+
removeEventListener: () => void;
|
|
7
18
|
}, "cache">, Pick<{
|
|
8
19
|
cache: Ref<Record<string, string>, Record<string, string>>;
|
|
9
20
|
initCacheSingle: (id: string | number) => Promise<void>;
|
|
21
|
+
updateCacheFromBlob: (id: string | number, blob: Blob) => void;
|
|
10
22
|
cleanup: () => void;
|
|
23
|
+
setupEventListener: () => void;
|
|
24
|
+
removeEventListener: () => void;
|
|
11
25
|
}, never>, Pick<{
|
|
12
26
|
cache: Ref<Record<string, string>, Record<string, string>>;
|
|
13
27
|
initCacheSingle: (id: string | number) => Promise<void>;
|
|
28
|
+
updateCacheFromBlob: (id: string | number, blob: Blob) => void;
|
|
14
29
|
cleanup: () => void;
|
|
15
|
-
|
|
30
|
+
setupEventListener: () => void;
|
|
31
|
+
removeEventListener: () => void;
|
|
32
|
+
}, "removeEventListener" | "initCacheSingle" | "updateCacheFromBlob" | "cleanup" | "setupEventListener">>;
|
package/dist/store/main.d.ts
CHANGED
|
@@ -222,10 +222,13 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
222
222
|
is_notification_lib: Ref<boolean, boolean>;
|
|
223
223
|
notificationData_lib: Ref<{
|
|
224
224
|
textNotification: string;
|
|
225
|
+
fastAdd?: any;
|
|
225
226
|
}, {
|
|
226
227
|
textNotification: string;
|
|
228
|
+
fastAdd?: any;
|
|
227
229
|
} | {
|
|
228
230
|
textNotification: string;
|
|
231
|
+
fastAdd?: any;
|
|
229
232
|
}>;
|
|
230
233
|
xApiKey_lib: Ref<string, string>;
|
|
231
234
|
countBonus: Ref<number, number>;
|
|
@@ -473,10 +476,13 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
473
476
|
is_notification_lib: Ref<boolean, boolean>;
|
|
474
477
|
notificationData_lib: Ref<{
|
|
475
478
|
textNotification: string;
|
|
479
|
+
fastAdd?: any;
|
|
476
480
|
}, {
|
|
477
481
|
textNotification: string;
|
|
482
|
+
fastAdd?: any;
|
|
478
483
|
} | {
|
|
479
484
|
textNotification: string;
|
|
485
|
+
fastAdd?: any;
|
|
480
486
|
}>;
|
|
481
487
|
xApiKey_lib: Ref<string, string>;
|
|
482
488
|
countBonus: Ref<number, number>;
|
|
@@ -724,10 +730,13 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
724
730
|
is_notification_lib: Ref<boolean, boolean>;
|
|
725
731
|
notificationData_lib: Ref<{
|
|
726
732
|
textNotification: string;
|
|
733
|
+
fastAdd?: any;
|
|
727
734
|
}, {
|
|
728
735
|
textNotification: string;
|
|
736
|
+
fastAdd?: any;
|
|
729
737
|
} | {
|
|
730
738
|
textNotification: string;
|
|
739
|
+
fastAdd?: any;
|
|
731
740
|
}>;
|
|
732
741
|
xApiKey_lib: Ref<string, string>;
|
|
733
742
|
countBonus: Ref<number, number>;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -32,6 +32,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
32
32
|
kiosk_inactivity_timeout: number | null;
|
|
33
33
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
34
34
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
35
|
+
cart_loyalty_button?: {
|
|
36
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
37
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
38
|
+
} | undefined;
|
|
35
39
|
show_order_comment: boolean | null;
|
|
36
40
|
show_nutrition_in_cart: boolean | null;
|
|
37
41
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -67,6 +71,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
67
71
|
kiosk_inactivity_timeout: number | null;
|
|
68
72
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
69
73
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
74
|
+
cart_loyalty_button?: {
|
|
75
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
76
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
77
|
+
} | undefined;
|
|
70
78
|
show_order_comment: boolean | null;
|
|
71
79
|
show_nutrition_in_cart: boolean | null;
|
|
72
80
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -103,6 +111,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
103
111
|
kiosk_inactivity_timeout: number | null;
|
|
104
112
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
105
113
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
114
|
+
cart_loyalty_button?: {
|
|
115
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
116
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
117
|
+
} | undefined;
|
|
106
118
|
show_order_comment: boolean | null;
|
|
107
119
|
show_nutrition_in_cart: boolean | null;
|
|
108
120
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -140,6 +152,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
140
152
|
kiosk_inactivity_timeout: number | null;
|
|
141
153
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
142
154
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
155
|
+
cart_loyalty_button?: {
|
|
156
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
157
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
158
|
+
} | undefined;
|
|
143
159
|
show_order_comment: boolean | null;
|
|
144
160
|
show_nutrition_in_cart: boolean | null;
|
|
145
161
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -175,6 +191,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
175
191
|
kiosk_inactivity_timeout: number | null;
|
|
176
192
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
177
193
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
194
|
+
cart_loyalty_button?: {
|
|
195
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
196
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
197
|
+
} | undefined;
|
|
178
198
|
show_order_comment: boolean | null;
|
|
179
199
|
show_nutrition_in_cart: boolean | null;
|
|
180
200
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -211,6 +231,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
211
231
|
kiosk_inactivity_timeout: number | null;
|
|
212
232
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
213
233
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
234
|
+
cart_loyalty_button?: {
|
|
235
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
236
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
237
|
+
} | undefined;
|
|
214
238
|
show_order_comment: boolean | null;
|
|
215
239
|
show_nutrition_in_cart: boolean | null;
|
|
216
240
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -248,6 +272,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
248
272
|
kiosk_inactivity_timeout: number | null;
|
|
249
273
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
250
274
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
275
|
+
cart_loyalty_button?: {
|
|
276
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
277
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
278
|
+
} | undefined;
|
|
251
279
|
show_order_comment: boolean | null;
|
|
252
280
|
show_nutrition_in_cart: boolean | null;
|
|
253
281
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -283,6 +311,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
283
311
|
kiosk_inactivity_timeout: number | null;
|
|
284
312
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
285
313
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
314
|
+
cart_loyalty_button?: {
|
|
315
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
316
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
317
|
+
} | undefined;
|
|
286
318
|
show_order_comment: boolean | null;
|
|
287
319
|
show_nutrition_in_cart: boolean | null;
|
|
288
320
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -319,6 +351,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
319
351
|
kiosk_inactivity_timeout: number | null;
|
|
320
352
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
321
353
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
354
|
+
cart_loyalty_button?: {
|
|
355
|
+
cart_loyalty_button_sticker?: string | null | undefined;
|
|
356
|
+
cart_loyalty_button_text?: string | null | undefined;
|
|
357
|
+
} | undefined;
|
|
322
358
|
show_order_comment: boolean | null;
|
|
323
359
|
show_nutrition_in_cart: boolean | null;
|
|
324
360
|
apply_custom_size_picker_fonts: boolean | null;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export interface ITheme {
|
|
|
25
25
|
kiosk_inactivity_timeout: number | null;
|
|
26
26
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
27
27
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
28
|
+
cart_loyalty_button?: CardLoyalityButton;
|
|
28
29
|
show_order_comment: boolean | null;
|
|
29
30
|
show_nutrition_in_cart: boolean | null;
|
|
30
31
|
apply_custom_size_picker_fonts: boolean | null;
|
|
@@ -35,4 +36,8 @@ interface IGradient {
|
|
|
35
36
|
background: string;
|
|
36
37
|
backgroundColor: string;
|
|
37
38
|
}
|
|
39
|
+
interface CardLoyalityButton {
|
|
40
|
+
cart_loyalty_button_sticker?: string | null;
|
|
41
|
+
cart_loyalty_button_text?: string | null;
|
|
42
|
+
}
|
|
38
43
|
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
mediaUrl: any;
|
|
4
|
+
orderNumber: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
7
|
+
barRef: HTMLSpanElement;
|
|
8
|
+
}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -8,3 +8,4 @@ export declare function setMediaBlob(id: string | number, blob: Blob): Promise<v
|
|
|
8
8
|
export declare function getMediaBlob(id: string): Promise<Blob | undefined>;
|
|
9
9
|
export declare function setCachedProduct(product: any): Promise<void>;
|
|
10
10
|
export declare function getCachedProduct(id: string): Promise<any | undefined>;
|
|
11
|
+
export declare function clearAllProductDB(): Promise<void>;
|
|
@@ -12,5 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
textPaymentBtn: string;
|
|
13
13
|
config_qr: boolean;
|
|
14
14
|
};
|
|
15
|
-
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
15
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
16
|
+
stickerLoyality: HTMLDivElement;
|
|
17
|
+
}, any>;
|
|
16
18
|
export default _default;
|