@inno_user/inno_clouds_lib 9.4.7 → 9.5.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.
@@ -2,12 +2,16 @@ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps,
2
2
  declare const _default: DefineComponent<ExtractPropTypes<{
3
3
  index: NumberConstructor;
4
4
  cardItem: ObjectConstructor;
5
+ isShowModifiers: BooleanConstructor;
5
6
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
7
  delete: (...args: any[]) => void;
7
8
  }, string, PublicProps, Readonly< ExtractPropTypes<{
8
9
  index: NumberConstructor;
9
10
  cardItem: ObjectConstructor;
11
+ isShowModifiers: BooleanConstructor;
10
12
  }>> & Readonly<{
11
13
  onDelete?: ((...args: any[]) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ }>, {
15
+ isShowModifiers: boolean;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
13
17
  export default _default;
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 };
@@ -1,6 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
3
- slider_container: HTMLDivElement;
4
3
  sliderWrapper: HTMLDivElement;
5
- }, HTMLDivElement>;
4
+ }, any>;
6
5
  export default _default;
@@ -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,6 +256,7 @@ 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>;
260
262
  removeFromLocalStorage: (elements: any[]) => void;
@@ -269,7 +271,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
269
271
  updateCartInLocalStorage: () => void;
270
272
  makeProductFullyReactive: (item: any) => IProduct;
271
273
  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<{
274
+ }, "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">, Pick<{
273
275
  cartProducts_lib: Ref<{
274
276
  id: string;
275
277
  idSystem: string;
@@ -523,6 +525,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
523
525
  is_18_above_content: Ref<boolean, boolean>;
524
526
  is18Allowed: Ref<boolean, boolean>;
525
527
  healthState: Ref<boolean, boolean>;
528
+ healthData: Ref<IHealthData | undefined, IHealthData | undefined>;
526
529
  displayCards: Ref<any[], any[]>;
527
530
  isOrderTypeSubmited: Ref<boolean, boolean>;
528
531
  removeFromLocalStorage: (elements: any[]) => void;
@@ -791,6 +794,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
791
794
  is_18_above_content: Ref<boolean, boolean>;
792
795
  is18Allowed: Ref<boolean, boolean>;
793
796
  healthState: Ref<boolean, boolean>;
797
+ healthData: Ref<IHealthData | undefined, IHealthData | undefined>;
794
798
  displayCards: Ref<any[], any[]>;
795
799
  isOrderTypeSubmited: Ref<boolean, boolean>;
796
800
  removeFromLocalStorage: (elements: any[]) => void;
@@ -67,6 +67,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
67
67
  kiosk_camera_scan_loyalty_card: null;
68
68
  kiosk_hide_menu_update_notification: boolean | null;
69
69
  kiosk_proceed_to_payment_text: string | null;
70
+ dish_cart_mod_choice_text: string | null;
71
+ qr_show_modifiers_in_cart: boolean | null;
72
+ kiosk_show_modifiers_in_cart: boolean | null;
70
73
  }, ITheme | {
71
74
  id: string;
72
75
  created_at: string | null;
@@ -132,6 +135,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
132
135
  kiosk_camera_scan_loyalty_card: null;
133
136
  kiosk_hide_menu_update_notification: boolean | null;
134
137
  kiosk_proceed_to_payment_text: string | null;
138
+ dish_cart_mod_choice_text: string | null;
139
+ qr_show_modifiers_in_cart: boolean | null;
140
+ kiosk_show_modifiers_in_cart: boolean | null;
135
141
  }>;
136
142
  updateColor: (data: ITheme) => Promise<{
137
143
  id: string;
@@ -198,6 +204,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
198
204
  kiosk_camera_scan_loyalty_card: null;
199
205
  kiosk_hide_menu_update_notification: boolean | null;
200
206
  kiosk_proceed_to_payment_text: string | null;
207
+ dish_cart_mod_choice_text: string | null;
208
+ qr_show_modifiers_in_cart: boolean | null;
209
+ kiosk_show_modifiers_in_cart: boolean | null;
201
210
  } | undefined>;
202
211
  }, "itemThemes">, Pick<{
203
212
  itemThemes: Ref<{
@@ -265,6 +274,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
265
274
  kiosk_camera_scan_loyalty_card: null;
266
275
  kiosk_hide_menu_update_notification: boolean | null;
267
276
  kiosk_proceed_to_payment_text: string | null;
277
+ dish_cart_mod_choice_text: string | null;
278
+ qr_show_modifiers_in_cart: boolean | null;
279
+ kiosk_show_modifiers_in_cart: boolean | null;
268
280
  }, ITheme | {
269
281
  id: string;
270
282
  created_at: string | null;
@@ -330,6 +342,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
330
342
  kiosk_camera_scan_loyalty_card: null;
331
343
  kiosk_hide_menu_update_notification: boolean | null;
332
344
  kiosk_proceed_to_payment_text: string | null;
345
+ dish_cart_mod_choice_text: string | null;
346
+ qr_show_modifiers_in_cart: boolean | null;
347
+ kiosk_show_modifiers_in_cart: boolean | null;
333
348
  }>;
334
349
  updateColor: (data: ITheme) => Promise<{
335
350
  id: string;
@@ -396,6 +411,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
396
411
  kiosk_camera_scan_loyalty_card: null;
397
412
  kiosk_hide_menu_update_notification: boolean | null;
398
413
  kiosk_proceed_to_payment_text: string | null;
414
+ dish_cart_mod_choice_text: string | null;
415
+ qr_show_modifiers_in_cart: boolean | null;
416
+ kiosk_show_modifiers_in_cart: boolean | null;
399
417
  } | undefined>;
400
418
  }, never>, Pick<{
401
419
  itemThemes: Ref<{
@@ -463,6 +481,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
463
481
  kiosk_camera_scan_loyalty_card: null;
464
482
  kiosk_hide_menu_update_notification: boolean | null;
465
483
  kiosk_proceed_to_payment_text: string | null;
484
+ dish_cart_mod_choice_text: string | null;
485
+ qr_show_modifiers_in_cart: boolean | null;
486
+ kiosk_show_modifiers_in_cart: boolean | null;
466
487
  }, ITheme | {
467
488
  id: string;
468
489
  created_at: string | null;
@@ -528,6 +549,9 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
528
549
  kiosk_camera_scan_loyalty_card: null;
529
550
  kiosk_hide_menu_update_notification: boolean | null;
530
551
  kiosk_proceed_to_payment_text: string | null;
552
+ dish_cart_mod_choice_text: string | null;
553
+ qr_show_modifiers_in_cart: boolean | null;
554
+ kiosk_show_modifiers_in_cart: boolean | null;
531
555
  }>;
532
556
  updateColor: (data: ITheme) => Promise<{
533
557
  id: string;
@@ -594,5 +618,8 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
594
618
  kiosk_camera_scan_loyalty_card: null;
595
619
  kiosk_hide_menu_update_notification: boolean | null;
596
620
  kiosk_proceed_to_payment_text: string | null;
621
+ dish_cart_mod_choice_text: string | null;
622
+ qr_show_modifiers_in_cart: boolean | null;
623
+ kiosk_show_modifiers_in_cart: boolean | null;
597
624
  } | undefined>;
598
625
  }, "updateColor">>;
@@ -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
+ }
@@ -48,6 +48,9 @@ export interface ITheme {
48
48
  kiosk_camera_scan_loyalty_card: null;
49
49
  kiosk_hide_menu_update_notification: boolean | null;
50
50
  kiosk_proceed_to_payment_text: string | null;
51
+ dish_cart_mod_choice_text: string | null;
52
+ qr_show_modifiers_in_cart: boolean | null;
53
+ kiosk_show_modifiers_in_cart: boolean | null;
51
54
  }
52
55
  interface IComment {
53
56
  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.7",
4
+ "version": "9.5.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"