@inno_user/inno_clouds_lib 9.3.0 → 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.
@@ -0,0 +1,6 @@
1
+ import { WritableComputedRef, ComputedRef } from 'vue';
2
+ export declare const usePdf: () => {
3
+ isDesktop: WritableComputedRef<boolean, boolean>;
4
+ shouldUseDragScroll: ComputedRef<boolean>;
5
+ syncWithRoute: (to: any) => void;
6
+ };
File without changes
@@ -0,0 +1 @@
1
+ export declare const vDragScroll: Directive;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ import { useModulesStore as useModulesLibStore } from './store/modules';
20
20
  import { default as NotificationWindow } from './ui/notificationWindow/NotificationWindow.vue';
21
21
  import { vClickOutside } from './directives/vClickOutside';
22
22
  import { vMuted } from './directives/vMuted';
23
+ import { vDragScroll } from './directives/vDragScroll';
23
24
  import { useCachedMedia } from './hooks/useProductImage/useProductImage';
24
25
  import { updateIndexedDB } from './utils/updateIndexedDB';
25
26
  import { getCachedGroup, getCachedProduct, clearAllProductDB } from './utils/indexedDB';
@@ -36,16 +37,17 @@ import { useImageCacheStore } from './store/images';
36
37
  import { useModalStore } from './store/modals';
37
38
  import { useModal } from './composables/useModal';
38
39
  import { useVirtuaLoop } from './composables/useVirtuaLoop';
40
+ import { usePdf } from './composables/usePdfMode';
39
41
  import { isNetworkError } from './utils/isNetworkError';
40
42
  import { parseTheme } from './utils/parseTheme';
41
43
  import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
42
44
  import { default as clearLocalStorage } from './utils/clearLocalStorage';
43
45
  import { default as PricePrerender } from './utils/pricePrerender';
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,
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,
45
47
  /** Stores */
46
48
  useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
47
49
  /** Composables */
48
- useModal, useVirtuaLoop,
50
+ useModal, useVirtuaLoop, usePdf,
49
51
  /** Utils */
50
52
  preventZoom, isNetworkError, parseTheme, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
51
53
  /** Components */
@@ -84,6 +84,7 @@ declare class InitConnection {
84
84
  calculateDiscount(payload: any, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
85
85
  maxPayByBonuses(price: number, is_requestKiosk?: boolean, is_authorized?: boolean, signal?: AbortSignal): Promise<any>;
86
86
  getDeviceInfo(): Promise<any>;
87
+ validateApiKey(apiKey: string, options?: AxiosRequestConfig): Promise<boolean>;
87
88
  productUpsale(idProduct: string): Promise<void>;
88
89
  }
89
90
  export { InitConnection };
@@ -1,5 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
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;
@@ -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<any, any>;
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>;
@@ -514,7 +514,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
514
514
  xApiKey_lib: Ref<string, string>;
515
515
  countBonus: Ref<number, number>;
516
516
  toggleDrum: Ref<boolean, boolean>;
517
- is_showApiKey: Ref<any, any>;
517
+ is_showApiKey: Ref<boolean, boolean>;
518
518
  openApiKey: Ref<boolean, boolean>;
519
519
  kiosk_timeout: Ref<any, any>;
520
520
  kiosk_FirstTimeout: Ref<any, any>;
@@ -782,7 +782,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
782
782
  xApiKey_lib: Ref<string, string>;
783
783
  countBonus: Ref<number, number>;
784
784
  toggleDrum: Ref<boolean, boolean>;
785
- is_showApiKey: Ref<any, any>;
785
+ is_showApiKey: Ref<boolean, boolean>;
786
786
  openApiKey: Ref<boolean, boolean>;
787
787
  kiosk_timeout: Ref<any, any>;
788
788
  kiosk_FirstTimeout: Ref<any, any>;
@@ -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
- }, never>>;
32
+ showNotification: (message: string) => void;
33
+ }, "showNotification">>;
@@ -58,6 +58,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
58
58
  qr_is_order_comment_required?: boolean | undefined;
59
59
  kiosk_is_order_comment_required?: boolean | undefined;
60
60
  } | null;
61
+ pdf_return_url: boolean | null;
61
62
  kiosk_hide_manual_input_loyalty_card: null;
62
63
  kiosk_camera_scan_loyalty_card: null;
63
64
  kiosk_hide_menu_update_notification: boolean | null;
@@ -117,6 +118,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
117
118
  qr_is_order_comment_required?: boolean | undefined;
118
119
  kiosk_is_order_comment_required?: boolean | undefined;
119
120
  } | null;
121
+ pdf_return_url: boolean | null;
120
122
  kiosk_hide_manual_input_loyalty_card: null;
121
123
  kiosk_camera_scan_loyalty_card: null;
122
124
  kiosk_hide_menu_update_notification: boolean | null;
@@ -177,6 +179,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
177
179
  qr_is_order_comment_required?: boolean | undefined;
178
180
  kiosk_is_order_comment_required?: boolean | undefined;
179
181
  } | null;
182
+ pdf_return_url: boolean | null;
180
183
  kiosk_hide_manual_input_loyalty_card: null;
181
184
  kiosk_camera_scan_loyalty_card: null;
182
185
  kiosk_hide_menu_update_notification: boolean | null;
@@ -238,6 +241,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
238
241
  qr_is_order_comment_required?: boolean | undefined;
239
242
  kiosk_is_order_comment_required?: boolean | undefined;
240
243
  } | null;
244
+ pdf_return_url: boolean | null;
241
245
  kiosk_hide_manual_input_loyalty_card: null;
242
246
  kiosk_camera_scan_loyalty_card: null;
243
247
  kiosk_hide_menu_update_notification: boolean | null;
@@ -297,6 +301,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
297
301
  qr_is_order_comment_required?: boolean | undefined;
298
302
  kiosk_is_order_comment_required?: boolean | undefined;
299
303
  } | null;
304
+ pdf_return_url: boolean | null;
300
305
  kiosk_hide_manual_input_loyalty_card: null;
301
306
  kiosk_camera_scan_loyalty_card: null;
302
307
  kiosk_hide_menu_update_notification: boolean | null;
@@ -357,6 +362,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
357
362
  qr_is_order_comment_required?: boolean | undefined;
358
363
  kiosk_is_order_comment_required?: boolean | undefined;
359
364
  } | null;
365
+ pdf_return_url: boolean | null;
360
366
  kiosk_hide_manual_input_loyalty_card: null;
361
367
  kiosk_camera_scan_loyalty_card: null;
362
368
  kiosk_hide_menu_update_notification: boolean | null;
@@ -418,6 +424,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
418
424
  qr_is_order_comment_required?: boolean | undefined;
419
425
  kiosk_is_order_comment_required?: boolean | undefined;
420
426
  } | null;
427
+ pdf_return_url: boolean | null;
421
428
  kiosk_hide_manual_input_loyalty_card: null;
422
429
  kiosk_camera_scan_loyalty_card: null;
423
430
  kiosk_hide_menu_update_notification: boolean | null;
@@ -477,6 +484,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
477
484
  qr_is_order_comment_required?: boolean | undefined;
478
485
  kiosk_is_order_comment_required?: boolean | undefined;
479
486
  } | null;
487
+ pdf_return_url: boolean | null;
480
488
  kiosk_hide_manual_input_loyalty_card: null;
481
489
  kiosk_camera_scan_loyalty_card: null;
482
490
  kiosk_hide_menu_update_notification: boolean | null;
@@ -537,6 +545,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
537
545
  qr_is_order_comment_required?: boolean | undefined;
538
546
  kiosk_is_order_comment_required?: boolean | undefined;
539
547
  } | null;
548
+ pdf_return_url: boolean | null;
540
549
  kiosk_hide_manual_input_loyalty_card: null;
541
550
  kiosk_camera_scan_loyalty_card: null;
542
551
  kiosk_hide_menu_update_notification: boolean | null;
@@ -39,6 +39,7 @@ export interface ITheme {
39
39
  size_picker_selected_font_size: number | null;
40
40
  hide_discounts_calculate_button: boolean;
41
41
  comments: IComment | null;
42
+ pdf_return_url: boolean | null;
42
43
  kiosk_hide_manual_input_loyalty_card: null;
43
44
  kiosk_camera_scan_loyalty_card: null;
44
45
  kiosk_hide_menu_update_notification: boolean | null;
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.3.0",
4
+ "version": "9.3.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"