@inno_user/inno_clouds_lib 9.5.0 → 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.
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,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;
@@ -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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inno_user/inno_clouds_lib",
3
3
  "private": false,
4
- "version": "9.5.0",
4
+ "version": "9.5.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"