@inno_user/inno_clouds_lib 8.2.3 → 8.2.4
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 +4134 -3721
- package/dist/@inno_user/inno_clouds_lib.umd.js +12 -12
- package/dist/components/cardMain/CardMain.vue.d.ts +9 -0
- package/dist/components/drumItem/DrumItem.vue.d.ts +1 -4
- package/dist/components/recommendation/Recommendation.vue.d.ts +1 -0
- package/dist/composables/useVirtuaLoop.d.ts +189 -0
- package/dist/index.d.ts +7 -1
- package/dist/store/card.d.ts +20 -2
- package/dist/store/main.d.ts +13 -1
- package/dist/store/theme.d.ts +9 -0
- package/dist/types/iCardProduct.d.ts +1 -0
- package/dist/types/iMain.d.ts +1 -0
- package/dist/types/iTheme.d.ts +1 -0
- package/package.json +2 -1
|
@@ -35,6 +35,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
type: PropType<(id: number) => void>;
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
|
+
is_qr: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
38
42
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
43
|
data: {
|
|
40
44
|
type: PropType<IProduct | IGroup>;
|
|
@@ -69,10 +73,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
69
73
|
type: PropType<(id: number) => void>;
|
|
70
74
|
required: false;
|
|
71
75
|
};
|
|
76
|
+
is_qr: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
72
80
|
}>> & Readonly<{}>, {
|
|
73
81
|
activeTags: Record<string, any>;
|
|
74
82
|
is_product: boolean;
|
|
75
83
|
is_group: boolean;
|
|
76
84
|
isLoading: boolean;
|
|
85
|
+
is_qr: boolean;
|
|
77
86
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
78
87
|
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
drumItemTransition: string;
|
|
4
3
|
group: any;
|
|
5
|
-
localDisplay: any;
|
|
6
4
|
index: number;
|
|
7
|
-
|
|
8
|
-
durationAnimation: number;
|
|
5
|
+
active: boolean;
|
|
9
6
|
};
|
|
10
7
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
8
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
closeCurrentCard: any;
|
|
4
4
|
openCurrentCard: any;
|
|
5
|
+
is_qr?: boolean;
|
|
5
6
|
};
|
|
6
7
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
8
|
export default _default;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { ScrollToIndexOpts, CacheSnapshot } from 'virtua';
|
|
2
|
+
import { MaybeRefOrGetter, Ref, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, NativeElements, ComponentOptionsMixin, PublicProps, IntrinsicElementAttributes, SlotsType, VNode, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComputedRef } from 'vue';
|
|
3
|
+
import { ItemProps } from 'node_modules/virtua/lib/vue/utils';
|
|
4
|
+
import { VirtualizerHandle } from 'node_modules/virtua/lib/vue/Virtualizer';
|
|
5
|
+
interface VirtuaLoopOptions {
|
|
6
|
+
align?: 'start' | 'center';
|
|
7
|
+
mode?: 'auto' | 'loop' | 'virtual';
|
|
8
|
+
}
|
|
9
|
+
export declare function useVirtuaLoop<T>(source: MaybeRefOrGetter<T[]>, options?: VirtuaLoopOptions): {
|
|
10
|
+
listRef: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
11
|
+
data: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
bufferSize: NumberConstructor;
|
|
16
|
+
itemSize: NumberConstructor;
|
|
17
|
+
shift: BooleanConstructor;
|
|
18
|
+
horizontal: BooleanConstructor;
|
|
19
|
+
startMargin: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
ssrCount: NumberConstructor;
|
|
24
|
+
scrollRef: PropType<HTMLElement>;
|
|
25
|
+
as: {
|
|
26
|
+
type: PropType<keyof NativeElements>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
item: {
|
|
30
|
+
type: PropType<keyof NativeElements>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
itemProps: PropType<ItemProps>;
|
|
34
|
+
keepMounted: PropType<readonly number[]>;
|
|
35
|
+
cache: PropType<CacheSnapshot>;
|
|
36
|
+
}>> & {
|
|
37
|
+
onScroll?: ((offset: number) => any) | undefined;
|
|
38
|
+
onScrollEnd?: (() => any) | undefined;
|
|
39
|
+
}, VirtualizerHandle, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
+
scroll: (offset: number) => void;
|
|
41
|
+
scrollEnd: () => void;
|
|
42
|
+
}, PublicProps, {
|
|
43
|
+
shift: boolean;
|
|
44
|
+
horizontal: boolean;
|
|
45
|
+
startMargin: number;
|
|
46
|
+
as: keyof IntrinsicElementAttributes;
|
|
47
|
+
item: keyof IntrinsicElementAttributes;
|
|
48
|
+
}, true, {}, SlotsType<{
|
|
49
|
+
default: (arg: {
|
|
50
|
+
item: any;
|
|
51
|
+
index: number;
|
|
52
|
+
}) => VNode[];
|
|
53
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
54
|
+
P: {};
|
|
55
|
+
B: {};
|
|
56
|
+
D: {};
|
|
57
|
+
C: {};
|
|
58
|
+
M: {};
|
|
59
|
+
Defaults: {};
|
|
60
|
+
}, Readonly< ExtractPropTypes<{
|
|
61
|
+
data: {
|
|
62
|
+
type: ArrayConstructor;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
bufferSize: NumberConstructor;
|
|
66
|
+
itemSize: NumberConstructor;
|
|
67
|
+
shift: BooleanConstructor;
|
|
68
|
+
horizontal: BooleanConstructor;
|
|
69
|
+
startMargin: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
ssrCount: NumberConstructor;
|
|
74
|
+
scrollRef: PropType<HTMLElement>;
|
|
75
|
+
as: {
|
|
76
|
+
type: PropType<keyof NativeElements>;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
item: {
|
|
80
|
+
type: PropType<keyof NativeElements>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
itemProps: PropType<ItemProps>;
|
|
84
|
+
keepMounted: PropType<readonly number[]>;
|
|
85
|
+
cache: PropType<CacheSnapshot>;
|
|
86
|
+
}>> & {
|
|
87
|
+
onScroll?: ((offset: number) => any) | undefined;
|
|
88
|
+
onScrollEnd?: (() => any) | undefined;
|
|
89
|
+
}, VirtualizerHandle, {}, {}, {}, {
|
|
90
|
+
shift: boolean;
|
|
91
|
+
horizontal: boolean;
|
|
92
|
+
startMargin: number;
|
|
93
|
+
as: keyof IntrinsicElementAttributes;
|
|
94
|
+
item: keyof IntrinsicElementAttributes;
|
|
95
|
+
}> | null, CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
96
|
+
data: {
|
|
97
|
+
type: ArrayConstructor;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
bufferSize: NumberConstructor;
|
|
101
|
+
itemSize: NumberConstructor;
|
|
102
|
+
shift: BooleanConstructor;
|
|
103
|
+
horizontal: BooleanConstructor;
|
|
104
|
+
startMargin: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
ssrCount: NumberConstructor;
|
|
109
|
+
scrollRef: PropType<HTMLElement>;
|
|
110
|
+
as: {
|
|
111
|
+
type: PropType<keyof NativeElements>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
item: {
|
|
115
|
+
type: PropType<keyof NativeElements>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
itemProps: PropType<ItemProps>;
|
|
119
|
+
keepMounted: PropType<readonly number[]>;
|
|
120
|
+
cache: PropType<CacheSnapshot>;
|
|
121
|
+
}>> & {
|
|
122
|
+
onScroll?: ((offset: number) => any) | undefined;
|
|
123
|
+
onScrollEnd?: (() => any) | undefined;
|
|
124
|
+
}, VirtualizerHandle, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
125
|
+
scroll: (offset: number) => void;
|
|
126
|
+
scrollEnd: () => void;
|
|
127
|
+
}, PublicProps, {
|
|
128
|
+
shift: boolean;
|
|
129
|
+
horizontal: boolean;
|
|
130
|
+
startMargin: number;
|
|
131
|
+
as: keyof IntrinsicElementAttributes;
|
|
132
|
+
item: keyof IntrinsicElementAttributes;
|
|
133
|
+
}, true, {}, SlotsType<{
|
|
134
|
+
default: (arg: {
|
|
135
|
+
item: any;
|
|
136
|
+
index: number;
|
|
137
|
+
}) => VNode[];
|
|
138
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
139
|
+
P: {};
|
|
140
|
+
B: {};
|
|
141
|
+
D: {};
|
|
142
|
+
C: {};
|
|
143
|
+
M: {};
|
|
144
|
+
Defaults: {};
|
|
145
|
+
}, Readonly< ExtractPropTypes<{
|
|
146
|
+
data: {
|
|
147
|
+
type: ArrayConstructor;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
bufferSize: NumberConstructor;
|
|
151
|
+
itemSize: NumberConstructor;
|
|
152
|
+
shift: BooleanConstructor;
|
|
153
|
+
horizontal: BooleanConstructor;
|
|
154
|
+
startMargin: {
|
|
155
|
+
type: NumberConstructor;
|
|
156
|
+
default: number;
|
|
157
|
+
};
|
|
158
|
+
ssrCount: NumberConstructor;
|
|
159
|
+
scrollRef: PropType<HTMLElement>;
|
|
160
|
+
as: {
|
|
161
|
+
type: PropType<keyof NativeElements>;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
item: {
|
|
165
|
+
type: PropType<keyof NativeElements>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
itemProps: PropType<ItemProps>;
|
|
169
|
+
keepMounted: PropType<readonly number[]>;
|
|
170
|
+
cache: PropType<CacheSnapshot>;
|
|
171
|
+
}>> & {
|
|
172
|
+
onScroll?: ((offset: number) => any) | undefined;
|
|
173
|
+
onScrollEnd?: (() => any) | undefined;
|
|
174
|
+
}, VirtualizerHandle, {}, {}, {}, {
|
|
175
|
+
shift: boolean;
|
|
176
|
+
horizontal: boolean;
|
|
177
|
+
startMargin: number;
|
|
178
|
+
as: keyof IntrinsicElementAttributes;
|
|
179
|
+
item: keyof IntrinsicElementAttributes;
|
|
180
|
+
}> | null>;
|
|
181
|
+
items: ComputedRef<number[]>;
|
|
182
|
+
hasScroll: Ref<boolean, boolean>;
|
|
183
|
+
realIndex: (vIndex: number) => number;
|
|
184
|
+
findNearestIndex: (currentVIndex: number, targetRealIndex: number) => number;
|
|
185
|
+
scrollToIndex: (index: number, opts?: ScrollToIndexOpts) => void;
|
|
186
|
+
init: () => Promise<void>;
|
|
187
|
+
onScroll: () => void;
|
|
188
|
+
};
|
|
189
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -23,8 +23,14 @@ 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
|
+
import { VList, Virtualizer } from 'virtua/vue';
|
|
27
|
+
import { useVirtuaLoop } from './composables/useVirtuaLoop';
|
|
26
28
|
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
27
29
|
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,
|
|
30
|
+
/** Composables */
|
|
31
|
+
useVirtuaLoop,
|
|
28
32
|
/** Utils */
|
|
29
|
-
preventZoom,
|
|
33
|
+
preventZoom,
|
|
34
|
+
/** Components */
|
|
35
|
+
VList, Virtualizer, };
|
|
30
36
|
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/store/card.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
101
101
|
new_price: number;
|
|
102
102
|
openApiKey?: any;
|
|
103
103
|
show_recommendations: boolean;
|
|
104
|
+
adult?: boolean | undefined;
|
|
104
105
|
} | null;
|
|
105
106
|
currentModifier: {
|
|
106
107
|
id: string;
|
|
@@ -353,6 +354,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
353
354
|
new_price: number;
|
|
354
355
|
openApiKey?: any;
|
|
355
356
|
show_recommendations: boolean;
|
|
357
|
+
adult?: boolean | undefined;
|
|
356
358
|
}[];
|
|
357
359
|
plusButtonsRefs: HTMLElement[];
|
|
358
360
|
modalCount: number;
|
|
@@ -473,6 +475,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
473
475
|
new_price: number;
|
|
474
476
|
openApiKey?: any;
|
|
475
477
|
show_recommendations: boolean;
|
|
478
|
+
adult?: boolean | undefined;
|
|
476
479
|
} | null;
|
|
477
480
|
currentModifier: {
|
|
478
481
|
id: string;
|
|
@@ -725,6 +728,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
725
728
|
new_price: number;
|
|
726
729
|
openApiKey?: any;
|
|
727
730
|
show_recommendations: boolean;
|
|
731
|
+
adult?: boolean | undefined;
|
|
728
732
|
}[];
|
|
729
733
|
plusButtonsRefs: HTMLElement[];
|
|
730
734
|
modalCount: number;
|
|
@@ -779,7 +783,9 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
779
783
|
};
|
|
780
784
|
}>;
|
|
781
785
|
dataUpSale: Ref<any, any>;
|
|
786
|
+
productCards: Ref<any[], any[]>;
|
|
782
787
|
isAddToCard: Ref<boolean, boolean>;
|
|
788
|
+
setProduct: (products: any) => void;
|
|
783
789
|
summModifierAmount: (groupIndex: number) => number;
|
|
784
790
|
setAddedProducts: (product: IProduct) => void;
|
|
785
791
|
setCurrentCard: (card: any) => void;
|
|
@@ -804,7 +810,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
804
810
|
isAnimationFly: boolean;
|
|
805
811
|
textErrorRequaired: string;
|
|
806
812
|
};
|
|
807
|
-
}, "stateCard" | "isOpenWindow" | "isUpSale" | "dataUpSale" | "isAddToCard">, Pick<{
|
|
813
|
+
}, "stateCard" | "isOpenWindow" | "isUpSale" | "dataUpSale" | "productCards" | "isAddToCard">, Pick<{
|
|
808
814
|
stateCard: Ref<{
|
|
809
815
|
openCard: {
|
|
810
816
|
id: string;
|
|
@@ -904,6 +910,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
904
910
|
new_price: number;
|
|
905
911
|
openApiKey?: any;
|
|
906
912
|
show_recommendations: boolean;
|
|
913
|
+
adult?: boolean | undefined;
|
|
907
914
|
} | null;
|
|
908
915
|
currentModifier: {
|
|
909
916
|
id: string;
|
|
@@ -1156,6 +1163,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1156
1163
|
new_price: number;
|
|
1157
1164
|
openApiKey?: any;
|
|
1158
1165
|
show_recommendations: boolean;
|
|
1166
|
+
adult?: boolean | undefined;
|
|
1159
1167
|
}[];
|
|
1160
1168
|
plusButtonsRefs: HTMLElement[];
|
|
1161
1169
|
modalCount: number;
|
|
@@ -1276,6 +1284,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1276
1284
|
new_price: number;
|
|
1277
1285
|
openApiKey?: any;
|
|
1278
1286
|
show_recommendations: boolean;
|
|
1287
|
+
adult?: boolean | undefined;
|
|
1279
1288
|
} | null;
|
|
1280
1289
|
currentModifier: {
|
|
1281
1290
|
id: string;
|
|
@@ -1528,6 +1537,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1528
1537
|
new_price: number;
|
|
1529
1538
|
openApiKey?: any;
|
|
1530
1539
|
show_recommendations: boolean;
|
|
1540
|
+
adult?: boolean | undefined;
|
|
1531
1541
|
}[];
|
|
1532
1542
|
plusButtonsRefs: HTMLElement[];
|
|
1533
1543
|
modalCount: number;
|
|
@@ -1582,7 +1592,9 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1582
1592
|
};
|
|
1583
1593
|
}>;
|
|
1584
1594
|
dataUpSale: Ref<any, any>;
|
|
1595
|
+
productCards: Ref<any[], any[]>;
|
|
1585
1596
|
isAddToCard: Ref<boolean, boolean>;
|
|
1597
|
+
setProduct: (products: any) => void;
|
|
1586
1598
|
summModifierAmount: (groupIndex: number) => number;
|
|
1587
1599
|
setAddedProducts: (product: IProduct) => void;
|
|
1588
1600
|
setCurrentCard: (card: any) => void;
|
|
@@ -1707,6 +1719,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1707
1719
|
new_price: number;
|
|
1708
1720
|
openApiKey?: any;
|
|
1709
1721
|
show_recommendations: boolean;
|
|
1722
|
+
adult?: boolean | undefined;
|
|
1710
1723
|
} | null;
|
|
1711
1724
|
currentModifier: {
|
|
1712
1725
|
id: string;
|
|
@@ -1959,6 +1972,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1959
1972
|
new_price: number;
|
|
1960
1973
|
openApiKey?: any;
|
|
1961
1974
|
show_recommendations: boolean;
|
|
1975
|
+
adult?: boolean | undefined;
|
|
1962
1976
|
}[];
|
|
1963
1977
|
plusButtonsRefs: HTMLElement[];
|
|
1964
1978
|
modalCount: number;
|
|
@@ -2079,6 +2093,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2079
2093
|
new_price: number;
|
|
2080
2094
|
openApiKey?: any;
|
|
2081
2095
|
show_recommendations: boolean;
|
|
2096
|
+
adult?: boolean | undefined;
|
|
2082
2097
|
} | null;
|
|
2083
2098
|
currentModifier: {
|
|
2084
2099
|
id: string;
|
|
@@ -2331,6 +2346,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2331
2346
|
new_price: number;
|
|
2332
2347
|
openApiKey?: any;
|
|
2333
2348
|
show_recommendations: boolean;
|
|
2349
|
+
adult?: boolean | undefined;
|
|
2334
2350
|
}[];
|
|
2335
2351
|
plusButtonsRefs: HTMLElement[];
|
|
2336
2352
|
modalCount: number;
|
|
@@ -2385,7 +2401,9 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2385
2401
|
};
|
|
2386
2402
|
}>;
|
|
2387
2403
|
dataUpSale: Ref<any, any>;
|
|
2404
|
+
productCards: Ref<any[], any[]>;
|
|
2388
2405
|
isAddToCard: Ref<boolean, boolean>;
|
|
2406
|
+
setProduct: (products: any) => void;
|
|
2389
2407
|
summModifierAmount: (groupIndex: number) => number;
|
|
2390
2408
|
setAddedProducts: (product: IProduct) => void;
|
|
2391
2409
|
setCurrentCard: (card: any) => void;
|
|
@@ -2410,4 +2428,4 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2410
2428
|
isAnimationFly: boolean;
|
|
2411
2429
|
textErrorRequaired: string;
|
|
2412
2430
|
};
|
|
2413
|
-
}, "plusAmount" | "minusAmount" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers" | "reset">>;
|
|
2431
|
+
}, "plusAmount" | "minusAmount" | "setProduct" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers" | "reset">>;
|
package/dist/store/main.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
100
100
|
new_price: number;
|
|
101
101
|
openApiKey?: any;
|
|
102
102
|
show_recommendations: boolean;
|
|
103
|
+
adult?: boolean | undefined;
|
|
103
104
|
}[], IProduct[] | {
|
|
104
105
|
id: string;
|
|
105
106
|
idSystem: string;
|
|
@@ -198,6 +199,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
198
199
|
new_price: number;
|
|
199
200
|
openApiKey?: any;
|
|
200
201
|
show_recommendations: boolean;
|
|
202
|
+
adult?: boolean | undefined;
|
|
201
203
|
}[]>;
|
|
202
204
|
activeScrolling_lib: Ref<HTMLElement[], HTMLElement[]>;
|
|
203
205
|
config_lib: Ref<any, any>;
|
|
@@ -219,6 +221,8 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
219
221
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
220
222
|
is_OpenLoyal: Ref<boolean, boolean>;
|
|
221
223
|
profile: Ref<any, any>;
|
|
224
|
+
is_18_above_content: Ref<boolean, boolean>;
|
|
225
|
+
is18Allowed: Ref<boolean, boolean>;
|
|
222
226
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
223
227
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
224
228
|
setBonus: (value: number) => void;
|
|
@@ -229,7 +233,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
229
233
|
loadCart: () => void;
|
|
230
234
|
deleteItemFromCart: (idSystem?: string) => void;
|
|
231
235
|
makeProductFullyReactive: (item: any) => IProduct;
|
|
232
|
-
}, "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">, Pick<{
|
|
236
|
+
}, "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">, Pick<{
|
|
233
237
|
cartProducts_lib: Ref<{
|
|
234
238
|
id: string;
|
|
235
239
|
idSystem: string;
|
|
@@ -328,6 +332,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
328
332
|
new_price: number;
|
|
329
333
|
openApiKey?: any;
|
|
330
334
|
show_recommendations: boolean;
|
|
335
|
+
adult?: boolean | undefined;
|
|
331
336
|
}[], IProduct[] | {
|
|
332
337
|
id: string;
|
|
333
338
|
idSystem: string;
|
|
@@ -426,6 +431,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
426
431
|
new_price: number;
|
|
427
432
|
openApiKey?: any;
|
|
428
433
|
show_recommendations: boolean;
|
|
434
|
+
adult?: boolean | undefined;
|
|
429
435
|
}[]>;
|
|
430
436
|
activeScrolling_lib: Ref<HTMLElement[], HTMLElement[]>;
|
|
431
437
|
config_lib: Ref<any, any>;
|
|
@@ -447,6 +453,8 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
447
453
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
448
454
|
is_OpenLoyal: Ref<boolean, boolean>;
|
|
449
455
|
profile: Ref<any, any>;
|
|
456
|
+
is_18_above_content: Ref<boolean, boolean>;
|
|
457
|
+
is18Allowed: Ref<boolean, boolean>;
|
|
450
458
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
451
459
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
452
460
|
setBonus: (value: number) => void;
|
|
@@ -556,6 +564,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
556
564
|
new_price: number;
|
|
557
565
|
openApiKey?: any;
|
|
558
566
|
show_recommendations: boolean;
|
|
567
|
+
adult?: boolean | undefined;
|
|
559
568
|
}[], IProduct[] | {
|
|
560
569
|
id: string;
|
|
561
570
|
idSystem: string;
|
|
@@ -654,6 +663,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
654
663
|
new_price: number;
|
|
655
664
|
openApiKey?: any;
|
|
656
665
|
show_recommendations: boolean;
|
|
666
|
+
adult?: boolean | undefined;
|
|
657
667
|
}[]>;
|
|
658
668
|
activeScrolling_lib: Ref<HTMLElement[], HTMLElement[]>;
|
|
659
669
|
config_lib: Ref<any, any>;
|
|
@@ -675,6 +685,8 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
675
685
|
kiosk_FirstTimeout: Ref<any, any>;
|
|
676
686
|
is_OpenLoyal: Ref<boolean, boolean>;
|
|
677
687
|
profile: Ref<any, any>;
|
|
688
|
+
is_18_above_content: Ref<boolean, boolean>;
|
|
689
|
+
is18Allowed: Ref<boolean, boolean>;
|
|
678
690
|
removeFromLocalStorage: (elements: any[]) => void;
|
|
679
691
|
setKioskTimeout: <H extends number | string>(timeout: H) => void;
|
|
680
692
|
setBonus: (value: number) => void;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
29
29
|
background: string;
|
|
30
30
|
backgroundColor: string;
|
|
31
31
|
} | null;
|
|
32
|
+
kiosk_inactivity_timeout: number | null;
|
|
32
33
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
33
34
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
34
35
|
show_order_comment: boolean | null;
|
|
@@ -63,6 +64,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
63
64
|
background: string;
|
|
64
65
|
backgroundColor: string;
|
|
65
66
|
} | null;
|
|
67
|
+
kiosk_inactivity_timeout: number | null;
|
|
66
68
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
67
69
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
68
70
|
show_order_comment: boolean | null;
|
|
@@ -98,6 +100,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
98
100
|
background: string;
|
|
99
101
|
backgroundColor: string;
|
|
100
102
|
} | null;
|
|
103
|
+
kiosk_inactivity_timeout: number | null;
|
|
101
104
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
102
105
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
103
106
|
show_order_comment: boolean | null;
|
|
@@ -134,6 +137,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
134
137
|
background: string;
|
|
135
138
|
backgroundColor: string;
|
|
136
139
|
} | null;
|
|
140
|
+
kiosk_inactivity_timeout: number | null;
|
|
137
141
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
138
142
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
139
143
|
show_order_comment: boolean | null;
|
|
@@ -168,6 +172,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
168
172
|
background: string;
|
|
169
173
|
backgroundColor: string;
|
|
170
174
|
} | null;
|
|
175
|
+
kiosk_inactivity_timeout: number | null;
|
|
171
176
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
172
177
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
173
178
|
show_order_comment: boolean | null;
|
|
@@ -203,6 +208,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
203
208
|
background: string;
|
|
204
209
|
backgroundColor: string;
|
|
205
210
|
} | null;
|
|
211
|
+
kiosk_inactivity_timeout: number | null;
|
|
206
212
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
207
213
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
208
214
|
show_order_comment: boolean | null;
|
|
@@ -239,6 +245,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
239
245
|
background: string;
|
|
240
246
|
backgroundColor: string;
|
|
241
247
|
} | null;
|
|
248
|
+
kiosk_inactivity_timeout: number | null;
|
|
242
249
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
243
250
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
244
251
|
show_order_comment: boolean | null;
|
|
@@ -273,6 +280,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
273
280
|
background: string;
|
|
274
281
|
backgroundColor: string;
|
|
275
282
|
} | null;
|
|
283
|
+
kiosk_inactivity_timeout: number | null;
|
|
276
284
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
277
285
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
278
286
|
show_order_comment: boolean | null;
|
|
@@ -308,6 +316,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
308
316
|
background: string;
|
|
309
317
|
backgroundColor: string;
|
|
310
318
|
} | null;
|
|
319
|
+
kiosk_inactivity_timeout: number | null;
|
|
311
320
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
312
321
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
313
322
|
show_order_comment: boolean | null;
|
package/dist/types/iMain.d.ts
CHANGED
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface ITheme {
|
|
|
22
22
|
kiosk_preloader: string | null;
|
|
23
23
|
organization: string;
|
|
24
24
|
gradientStyle: IGradient | null;
|
|
25
|
+
kiosk_inactivity_timeout: number | null;
|
|
25
26
|
kiosk_show_loyalty_card_button: boolean | null;
|
|
26
27
|
kiosk_show_loyalty_phone_input_button: boolean | null;
|
|
27
28
|
show_order_comment: 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": "8.2.
|
|
4
|
+
"version": "8.2.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"pinia": "^3.0.3",
|
|
62
62
|
"qrious": "^4.0.2",
|
|
63
63
|
"tinycolor2": "^1.6.0",
|
|
64
|
+
"virtua": "^0.48.2",
|
|
64
65
|
"vue-router": "^4.5.1"
|
|
65
66
|
}
|
|
66
67
|
}
|