@inno_user/inno_clouds_lib 8.2.2 → 8.2.3
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 +72 -48
- package/dist/@inno_user/inno_clouds_lib.umd.js +6 -6
- package/dist/index.d.ts +5 -2
- package/dist/store/theme.d.ts +27 -0
- package/dist/types/iTheme.d.ts +3 -0
- package/dist/utils/preventZoom.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -23,5 +23,8 @@ import { useCartStore as useCartLibStore } from './store/cart';
|
|
|
23
23
|
import { vClickOutside } from './directives/vClickOutside';
|
|
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
|
-
|
|
27
|
-
export
|
|
26
|
+
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
27
|
+
export { InitConnection, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore, useImageCacheStore, vClickOutside, initPinia, initRouter, useRouter, useRoute, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BasketButton, ModalWindows, Recommendation, PopupWindowDraggable, PopupWindowDefault,
|
|
28
|
+
/** Utils */
|
|
29
|
+
preventZoom, };
|
|
30
|
+
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
33
33
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
34
34
|
show_order_comment: boolean | null;
|
|
35
35
|
show_nutrition_in_cart: boolean | null;
|
|
36
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
37
|
+
size_picker_unselected_font_size: number | null;
|
|
38
|
+
size_picker_selected_font_size: number | null;
|
|
36
39
|
}, ITheme | {
|
|
37
40
|
id: string;
|
|
38
41
|
created_at: string | null;
|
|
@@ -64,6 +67,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
64
67
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
65
68
|
show_order_comment: boolean | null;
|
|
66
69
|
show_nutrition_in_cart: boolean | null;
|
|
70
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
71
|
+
size_picker_unselected_font_size: number | null;
|
|
72
|
+
size_picker_selected_font_size: number | null;
|
|
67
73
|
}>;
|
|
68
74
|
updateColor: (data: ITheme) => {
|
|
69
75
|
id: string;
|
|
@@ -96,6 +102,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
96
102
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
97
103
|
show_order_comment: boolean | null;
|
|
98
104
|
show_nutrition_in_cart: boolean | null;
|
|
105
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
106
|
+
size_picker_unselected_font_size: number | null;
|
|
107
|
+
size_picker_selected_font_size: number | null;
|
|
99
108
|
} | undefined;
|
|
100
109
|
}, "itemThemes">, Pick<{
|
|
101
110
|
itemThemes: Ref<{
|
|
@@ -129,6 +138,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
129
138
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
130
139
|
show_order_comment: boolean | null;
|
|
131
140
|
show_nutrition_in_cart: boolean | null;
|
|
141
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
142
|
+
size_picker_unselected_font_size: number | null;
|
|
143
|
+
size_picker_selected_font_size: number | null;
|
|
132
144
|
}, ITheme | {
|
|
133
145
|
id: string;
|
|
134
146
|
created_at: string | null;
|
|
@@ -160,6 +172,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
160
172
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
161
173
|
show_order_comment: boolean | null;
|
|
162
174
|
show_nutrition_in_cart: boolean | null;
|
|
175
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
176
|
+
size_picker_unselected_font_size: number | null;
|
|
177
|
+
size_picker_selected_font_size: number | null;
|
|
163
178
|
}>;
|
|
164
179
|
updateColor: (data: ITheme) => {
|
|
165
180
|
id: string;
|
|
@@ -192,6 +207,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
192
207
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
193
208
|
show_order_comment: boolean | null;
|
|
194
209
|
show_nutrition_in_cart: boolean | null;
|
|
210
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
211
|
+
size_picker_unselected_font_size: number | null;
|
|
212
|
+
size_picker_selected_font_size: number | null;
|
|
195
213
|
} | undefined;
|
|
196
214
|
}, never>, Pick<{
|
|
197
215
|
itemThemes: Ref<{
|
|
@@ -225,6 +243,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
225
243
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
226
244
|
show_order_comment: boolean | null;
|
|
227
245
|
show_nutrition_in_cart: boolean | null;
|
|
246
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
247
|
+
size_picker_unselected_font_size: number | null;
|
|
248
|
+
size_picker_selected_font_size: number | null;
|
|
228
249
|
}, ITheme | {
|
|
229
250
|
id: string;
|
|
230
251
|
created_at: string | null;
|
|
@@ -256,6 +277,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
256
277
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
257
278
|
show_order_comment: boolean | null;
|
|
258
279
|
show_nutrition_in_cart: boolean | null;
|
|
280
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
281
|
+
size_picker_unselected_font_size: number | null;
|
|
282
|
+
size_picker_selected_font_size: number | null;
|
|
259
283
|
}>;
|
|
260
284
|
updateColor: (data: ITheme) => {
|
|
261
285
|
id: string;
|
|
@@ -288,5 +312,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
288
312
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
289
313
|
show_order_comment: boolean | null;
|
|
290
314
|
show_nutrition_in_cart: boolean | null;
|
|
315
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
316
|
+
size_picker_unselected_font_size: number | null;
|
|
317
|
+
size_picker_selected_font_size: number | null;
|
|
291
318
|
} | undefined;
|
|
292
319
|
}, "updateColor">>;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export interface ITheme {
|
|
|
26
26
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
27
27
|
show_order_comment: boolean | null;
|
|
28
28
|
show_nutrition_in_cart: boolean | null;
|
|
29
|
+
apply_custom_size_picker_fonts: boolean | null;
|
|
30
|
+
size_picker_unselected_font_size: number | null;
|
|
31
|
+
size_picker_selected_font_size: number | null;
|
|
29
32
|
}
|
|
30
33
|
interface IGradient {
|
|
31
34
|
background: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface PreventZoomConfig {
|
|
2
|
+
pinch: boolean;
|
|
3
|
+
doubleTap: boolean;
|
|
4
|
+
wheel: boolean;
|
|
5
|
+
buttons: string[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Prevent browser zooming
|
|
9
|
+
* @param {PreventZoomConfig} options
|
|
10
|
+
*/
|
|
11
|
+
export declare const preventZoom: (options?: Partial<PreventZoomConfig>) => void;
|