@inno_user/inno_clouds_lib 9.2.3 → 9.2.5
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 +3121 -3038
- package/dist/@inno_user/inno_clouds_lib.umd.js +7 -7
- package/dist/composables/useVirtuaLoop.d.ts +2 -1
- package/dist/index.d.ts +3 -1
- package/dist/store/card.d.ts +39 -0
- package/dist/store/main.d.ts +6 -0
- package/dist/store/theme.d.ts +45 -0
- package/dist/types/iCardProduct.d.ts +3 -0
- package/dist/types/iTheme.d.ts +5 -0
- package/dist/utils/WebSocketService.d.ts +2 -0
- package/dist/utils/isNetworkError.d.ts +4 -0
- package/dist/utils/parseTheme.d.ts +2 -0
- package/dist/views/cartPage/CartPage.vue.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,7 +4,8 @@ import { ItemProps } from 'node_modules/virtua/lib/vue/utils';
|
|
|
4
4
|
import { VirtualizerHandle } from 'node_modules/virtua/lib/vue/Virtualizer';
|
|
5
5
|
interface VirtuaLoopOptions {
|
|
6
6
|
align?: 'start' | 'center';
|
|
7
|
-
|
|
7
|
+
/** @default 'loop' */
|
|
8
|
+
mode?: 'loop' | 'virtual';
|
|
8
9
|
}
|
|
9
10
|
export declare function useVirtuaLoop<T>(source: MaybeRefOrGetter<T[]>, options?: VirtuaLoopOptions): {
|
|
10
11
|
listRef: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ import { useImageCacheStore } from './store/images';
|
|
|
35
35
|
import { useModalStore } from './store/modals';
|
|
36
36
|
import { useModal } from './composables/useModal';
|
|
37
37
|
import { useVirtuaLoop } from './composables/useVirtuaLoop';
|
|
38
|
+
import { isNetworkError } from './utils/isNetworkError';
|
|
39
|
+
import { parseTheme } from './utils/parseTheme';
|
|
38
40
|
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
39
41
|
import { default as clearLocalStorage } from './utils/clearLocalStorage';
|
|
40
42
|
import { default as PricePrerender } from './utils/pricePrerender';
|
|
@@ -44,7 +46,7 @@ useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
|
|
|
44
46
|
/** Composables */
|
|
45
47
|
useModal, useVirtuaLoop,
|
|
46
48
|
/** Utils */
|
|
47
|
-
preventZoom, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
|
|
49
|
+
preventZoom, isNetworkError, parseTheme, getCachedGroup, getCachedProduct, clearAllProductDB, clearLocalStorage, PricePrerender,
|
|
48
50
|
/** Components */
|
|
49
51
|
VList, Virtualizer, FallingHearts, };
|
|
50
52
|
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/store/card.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
96
96
|
}[];
|
|
97
97
|
is_fake?: boolean | undefined;
|
|
98
98
|
is_od_united_product?: boolean | undefined;
|
|
99
|
+
is_product_determining?: boolean | undefined;
|
|
99
100
|
}[];
|
|
100
101
|
energy_amount?: number | undefined;
|
|
101
102
|
proteins_amount?: number | undefined;
|
|
@@ -187,9 +188,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
187
188
|
}[];
|
|
188
189
|
is_fake?: boolean | undefined;
|
|
189
190
|
is_od_united_product?: boolean | undefined;
|
|
191
|
+
is_product_determining?: boolean | undefined;
|
|
190
192
|
}[];
|
|
191
193
|
groupModifiersSelected: {
|
|
192
194
|
group: string;
|
|
195
|
+
is_fake: boolean;
|
|
196
|
+
is_product_determining: boolean;
|
|
193
197
|
modifier_count: number;
|
|
194
198
|
modifiers: {
|
|
195
199
|
id: string;
|
|
@@ -273,6 +277,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
273
277
|
}[];
|
|
274
278
|
is_fake?: boolean | undefined;
|
|
275
279
|
is_od_united_product?: boolean | undefined;
|
|
280
|
+
is_product_determining?: boolean | undefined;
|
|
276
281
|
} | null;
|
|
277
282
|
isModifiedAmount: boolean;
|
|
278
283
|
selectedSize: {
|
|
@@ -376,6 +381,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
376
381
|
}[];
|
|
377
382
|
is_fake?: boolean | undefined;
|
|
378
383
|
is_od_united_product?: boolean | undefined;
|
|
384
|
+
is_product_determining?: boolean | undefined;
|
|
379
385
|
}[];
|
|
380
386
|
energy_amount?: number | undefined;
|
|
381
387
|
proteins_amount?: number | undefined;
|
|
@@ -508,6 +514,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
508
514
|
}[];
|
|
509
515
|
is_fake?: boolean | undefined;
|
|
510
516
|
is_od_united_product?: boolean | undefined;
|
|
517
|
+
is_product_determining?: boolean | undefined;
|
|
511
518
|
}[];
|
|
512
519
|
energy_amount?: number | undefined;
|
|
513
520
|
proteins_amount?: number | undefined;
|
|
@@ -599,9 +606,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
599
606
|
}[];
|
|
600
607
|
is_fake?: boolean | undefined;
|
|
601
608
|
is_od_united_product?: boolean | undefined;
|
|
609
|
+
is_product_determining?: boolean | undefined;
|
|
602
610
|
}[];
|
|
603
611
|
groupModifiersSelected: {
|
|
604
612
|
group: string;
|
|
613
|
+
is_fake: boolean;
|
|
614
|
+
is_product_determining: boolean;
|
|
605
615
|
modifier_count: number;
|
|
606
616
|
modifiers: {
|
|
607
617
|
id: string;
|
|
@@ -685,6 +695,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
685
695
|
}[];
|
|
686
696
|
is_fake?: boolean | undefined;
|
|
687
697
|
is_od_united_product?: boolean | undefined;
|
|
698
|
+
is_product_determining?: boolean | undefined;
|
|
688
699
|
} | null;
|
|
689
700
|
isModifiedAmount: boolean;
|
|
690
701
|
selectedSize: {
|
|
@@ -788,6 +799,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
788
799
|
}[];
|
|
789
800
|
is_fake?: boolean | undefined;
|
|
790
801
|
is_od_united_product?: boolean | undefined;
|
|
802
|
+
is_product_determining?: boolean | undefined;
|
|
791
803
|
}[];
|
|
792
804
|
energy_amount?: number | undefined;
|
|
793
805
|
proteins_amount?: number | undefined;
|
|
@@ -861,6 +873,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
861
873
|
}[];
|
|
862
874
|
is_fake?: boolean | undefined;
|
|
863
875
|
is_od_united_product?: boolean | undefined;
|
|
876
|
+
is_product_determining?: boolean | undefined;
|
|
864
877
|
};
|
|
865
878
|
}>;
|
|
866
879
|
dataUpSale: Ref<any, any>;
|
|
@@ -994,6 +1007,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
994
1007
|
}[];
|
|
995
1008
|
is_fake?: boolean | undefined;
|
|
996
1009
|
is_od_united_product?: boolean | undefined;
|
|
1010
|
+
is_product_determining?: boolean | undefined;
|
|
997
1011
|
}[];
|
|
998
1012
|
energy_amount?: number | undefined;
|
|
999
1013
|
proteins_amount?: number | undefined;
|
|
@@ -1085,9 +1099,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1085
1099
|
}[];
|
|
1086
1100
|
is_fake?: boolean | undefined;
|
|
1087
1101
|
is_od_united_product?: boolean | undefined;
|
|
1102
|
+
is_product_determining?: boolean | undefined;
|
|
1088
1103
|
}[];
|
|
1089
1104
|
groupModifiersSelected: {
|
|
1090
1105
|
group: string;
|
|
1106
|
+
is_fake: boolean;
|
|
1107
|
+
is_product_determining: boolean;
|
|
1091
1108
|
modifier_count: number;
|
|
1092
1109
|
modifiers: {
|
|
1093
1110
|
id: string;
|
|
@@ -1171,6 +1188,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1171
1188
|
}[];
|
|
1172
1189
|
is_fake?: boolean | undefined;
|
|
1173
1190
|
is_od_united_product?: boolean | undefined;
|
|
1191
|
+
is_product_determining?: boolean | undefined;
|
|
1174
1192
|
} | null;
|
|
1175
1193
|
isModifiedAmount: boolean;
|
|
1176
1194
|
selectedSize: {
|
|
@@ -1274,6 +1292,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1274
1292
|
}[];
|
|
1275
1293
|
is_fake?: boolean | undefined;
|
|
1276
1294
|
is_od_united_product?: boolean | undefined;
|
|
1295
|
+
is_product_determining?: boolean | undefined;
|
|
1277
1296
|
}[];
|
|
1278
1297
|
energy_amount?: number | undefined;
|
|
1279
1298
|
proteins_amount?: number | undefined;
|
|
@@ -1406,6 +1425,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1406
1425
|
}[];
|
|
1407
1426
|
is_fake?: boolean | undefined;
|
|
1408
1427
|
is_od_united_product?: boolean | undefined;
|
|
1428
|
+
is_product_determining?: boolean | undefined;
|
|
1409
1429
|
}[];
|
|
1410
1430
|
energy_amount?: number | undefined;
|
|
1411
1431
|
proteins_amount?: number | undefined;
|
|
@@ -1497,9 +1517,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1497
1517
|
}[];
|
|
1498
1518
|
is_fake?: boolean | undefined;
|
|
1499
1519
|
is_od_united_product?: boolean | undefined;
|
|
1520
|
+
is_product_determining?: boolean | undefined;
|
|
1500
1521
|
}[];
|
|
1501
1522
|
groupModifiersSelected: {
|
|
1502
1523
|
group: string;
|
|
1524
|
+
is_fake: boolean;
|
|
1525
|
+
is_product_determining: boolean;
|
|
1503
1526
|
modifier_count: number;
|
|
1504
1527
|
modifiers: {
|
|
1505
1528
|
id: string;
|
|
@@ -1583,6 +1606,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1583
1606
|
}[];
|
|
1584
1607
|
is_fake?: boolean | undefined;
|
|
1585
1608
|
is_od_united_product?: boolean | undefined;
|
|
1609
|
+
is_product_determining?: boolean | undefined;
|
|
1586
1610
|
} | null;
|
|
1587
1611
|
isModifiedAmount: boolean;
|
|
1588
1612
|
selectedSize: {
|
|
@@ -1686,6 +1710,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1686
1710
|
}[];
|
|
1687
1711
|
is_fake?: boolean | undefined;
|
|
1688
1712
|
is_od_united_product?: boolean | undefined;
|
|
1713
|
+
is_product_determining?: boolean | undefined;
|
|
1689
1714
|
}[];
|
|
1690
1715
|
energy_amount?: number | undefined;
|
|
1691
1716
|
proteins_amount?: number | undefined;
|
|
@@ -1759,6 +1784,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1759
1784
|
}[];
|
|
1760
1785
|
is_fake?: boolean | undefined;
|
|
1761
1786
|
is_od_united_product?: boolean | undefined;
|
|
1787
|
+
is_product_determining?: boolean | undefined;
|
|
1762
1788
|
};
|
|
1763
1789
|
}>;
|
|
1764
1790
|
dataUpSale: Ref<any, any>;
|
|
@@ -1892,6 +1918,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1892
1918
|
}[];
|
|
1893
1919
|
is_fake?: boolean | undefined;
|
|
1894
1920
|
is_od_united_product?: boolean | undefined;
|
|
1921
|
+
is_product_determining?: boolean | undefined;
|
|
1895
1922
|
}[];
|
|
1896
1923
|
energy_amount?: number | undefined;
|
|
1897
1924
|
proteins_amount?: number | undefined;
|
|
@@ -1983,9 +2010,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1983
2010
|
}[];
|
|
1984
2011
|
is_fake?: boolean | undefined;
|
|
1985
2012
|
is_od_united_product?: boolean | undefined;
|
|
2013
|
+
is_product_determining?: boolean | undefined;
|
|
1986
2014
|
}[];
|
|
1987
2015
|
groupModifiersSelected: {
|
|
1988
2016
|
group: string;
|
|
2017
|
+
is_fake: boolean;
|
|
2018
|
+
is_product_determining: boolean;
|
|
1989
2019
|
modifier_count: number;
|
|
1990
2020
|
modifiers: {
|
|
1991
2021
|
id: string;
|
|
@@ -2069,6 +2099,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2069
2099
|
}[];
|
|
2070
2100
|
is_fake?: boolean | undefined;
|
|
2071
2101
|
is_od_united_product?: boolean | undefined;
|
|
2102
|
+
is_product_determining?: boolean | undefined;
|
|
2072
2103
|
} | null;
|
|
2073
2104
|
isModifiedAmount: boolean;
|
|
2074
2105
|
selectedSize: {
|
|
@@ -2172,6 +2203,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2172
2203
|
}[];
|
|
2173
2204
|
is_fake?: boolean | undefined;
|
|
2174
2205
|
is_od_united_product?: boolean | undefined;
|
|
2206
|
+
is_product_determining?: boolean | undefined;
|
|
2175
2207
|
}[];
|
|
2176
2208
|
energy_amount?: number | undefined;
|
|
2177
2209
|
proteins_amount?: number | undefined;
|
|
@@ -2304,6 +2336,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2304
2336
|
}[];
|
|
2305
2337
|
is_fake?: boolean | undefined;
|
|
2306
2338
|
is_od_united_product?: boolean | undefined;
|
|
2339
|
+
is_product_determining?: boolean | undefined;
|
|
2307
2340
|
}[];
|
|
2308
2341
|
energy_amount?: number | undefined;
|
|
2309
2342
|
proteins_amount?: number | undefined;
|
|
@@ -2395,9 +2428,12 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2395
2428
|
}[];
|
|
2396
2429
|
is_fake?: boolean | undefined;
|
|
2397
2430
|
is_od_united_product?: boolean | undefined;
|
|
2431
|
+
is_product_determining?: boolean | undefined;
|
|
2398
2432
|
}[];
|
|
2399
2433
|
groupModifiersSelected: {
|
|
2400
2434
|
group: string;
|
|
2435
|
+
is_fake: boolean;
|
|
2436
|
+
is_product_determining: boolean;
|
|
2401
2437
|
modifier_count: number;
|
|
2402
2438
|
modifiers: {
|
|
2403
2439
|
id: string;
|
|
@@ -2481,6 +2517,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2481
2517
|
}[];
|
|
2482
2518
|
is_fake?: boolean | undefined;
|
|
2483
2519
|
is_od_united_product?: boolean | undefined;
|
|
2520
|
+
is_product_determining?: boolean | undefined;
|
|
2484
2521
|
} | null;
|
|
2485
2522
|
isModifiedAmount: boolean;
|
|
2486
2523
|
selectedSize: {
|
|
@@ -2584,6 +2621,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2584
2621
|
}[];
|
|
2585
2622
|
is_fake?: boolean | undefined;
|
|
2586
2623
|
is_od_united_product?: boolean | undefined;
|
|
2624
|
+
is_product_determining?: boolean | undefined;
|
|
2587
2625
|
}[];
|
|
2588
2626
|
energy_amount?: number | undefined;
|
|
2589
2627
|
proteins_amount?: number | undefined;
|
|
@@ -2657,6 +2695,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2657
2695
|
}[];
|
|
2658
2696
|
is_fake?: boolean | undefined;
|
|
2659
2697
|
is_od_united_product?: boolean | undefined;
|
|
2698
|
+
is_product_determining?: boolean | undefined;
|
|
2660
2699
|
};
|
|
2661
2700
|
}>;
|
|
2662
2701
|
dataUpSale: Ref<any, any>;
|
package/dist/store/main.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
95
95
|
}[];
|
|
96
96
|
is_fake?: boolean | undefined;
|
|
97
97
|
is_od_united_product?: boolean | undefined;
|
|
98
|
+
is_product_determining?: boolean | undefined;
|
|
98
99
|
}[];
|
|
99
100
|
energy_amount?: number | undefined;
|
|
100
101
|
proteins_amount?: number | undefined;
|
|
@@ -205,6 +206,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
205
206
|
}[];
|
|
206
207
|
is_fake?: boolean | undefined;
|
|
207
208
|
is_od_united_product?: boolean | undefined;
|
|
209
|
+
is_product_determining?: boolean | undefined;
|
|
208
210
|
}[];
|
|
209
211
|
energy_amount?: number | undefined;
|
|
210
212
|
proteins_amount?: number | undefined;
|
|
@@ -360,6 +362,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
360
362
|
}[];
|
|
361
363
|
is_fake?: boolean | undefined;
|
|
362
364
|
is_od_united_product?: boolean | undefined;
|
|
365
|
+
is_product_determining?: boolean | undefined;
|
|
363
366
|
}[];
|
|
364
367
|
energy_amount?: number | undefined;
|
|
365
368
|
proteins_amount?: number | undefined;
|
|
@@ -470,6 +473,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
470
473
|
}[];
|
|
471
474
|
is_fake?: boolean | undefined;
|
|
472
475
|
is_od_united_product?: boolean | undefined;
|
|
476
|
+
is_product_determining?: boolean | undefined;
|
|
473
477
|
}[];
|
|
474
478
|
energy_amount?: number | undefined;
|
|
475
479
|
proteins_amount?: number | undefined;
|
|
@@ -625,6 +629,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
625
629
|
}[];
|
|
626
630
|
is_fake?: boolean | undefined;
|
|
627
631
|
is_od_united_product?: boolean | undefined;
|
|
632
|
+
is_product_determining?: boolean | undefined;
|
|
628
633
|
}[];
|
|
629
634
|
energy_amount?: number | undefined;
|
|
630
635
|
proteins_amount?: number | undefined;
|
|
@@ -735,6 +740,7 @@ export declare const useMainStore: StoreDefinition<"mainLib", Pick<{
|
|
|
735
740
|
}[];
|
|
736
741
|
is_fake?: boolean | undefined;
|
|
737
742
|
is_od_united_product?: boolean | undefined;
|
|
743
|
+
is_product_determining?: boolean | undefined;
|
|
738
744
|
}[];
|
|
739
745
|
energy_amount?: number | undefined;
|
|
740
746
|
proteins_amount?: number | undefined;
|
package/dist/store/theme.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
12
12
|
accent_dark_color: string | null;
|
|
13
13
|
bg_button_color: string | null;
|
|
14
14
|
bonuses_button_name?: string | undefined;
|
|
15
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
15
16
|
inactive_button_color: string | null;
|
|
16
17
|
cards_color: string | null;
|
|
17
18
|
text_color: string | null;
|
|
@@ -25,6 +26,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
25
26
|
fallback_image: string | null;
|
|
26
27
|
adult_disclaimer_text: string | null;
|
|
27
28
|
adult_disclaimer_image: string | null;
|
|
29
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
28
30
|
kiosk_banner: string | null;
|
|
29
31
|
kiosk_preloader: string | null;
|
|
30
32
|
organization: string;
|
|
@@ -51,7 +53,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
51
53
|
qr_comment_field_name?: string | undefined;
|
|
52
54
|
qr_comment_field_placeholder?: string | undefined;
|
|
53
55
|
qr_show_order_comment?: boolean | undefined;
|
|
56
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
57
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
54
58
|
} | null;
|
|
59
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
55
60
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
56
61
|
}, ITheme | {
|
|
57
62
|
id: string;
|
|
@@ -63,6 +68,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
63
68
|
accent_dark_color: string | null;
|
|
64
69
|
bg_button_color: string | null;
|
|
65
70
|
bonuses_button_name?: string | undefined;
|
|
71
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
66
72
|
inactive_button_color: string | null;
|
|
67
73
|
cards_color: string | null;
|
|
68
74
|
text_color: string | null;
|
|
@@ -76,6 +82,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
76
82
|
fallback_image: string | null;
|
|
77
83
|
adult_disclaimer_text: string | null;
|
|
78
84
|
adult_disclaimer_image: string | null;
|
|
85
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
79
86
|
kiosk_banner: string | null;
|
|
80
87
|
kiosk_preloader: string | null;
|
|
81
88
|
organization: string;
|
|
@@ -102,7 +109,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
102
109
|
qr_comment_field_name?: string | undefined;
|
|
103
110
|
qr_comment_field_placeholder?: string | undefined;
|
|
104
111
|
qr_show_order_comment?: boolean | undefined;
|
|
112
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
113
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
105
114
|
} | null;
|
|
115
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
106
116
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
107
117
|
}>;
|
|
108
118
|
updateColor: (data: ITheme) => Promise<{
|
|
@@ -115,6 +125,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
115
125
|
accent_dark_color: string | null;
|
|
116
126
|
bg_button_color: string | null;
|
|
117
127
|
bonuses_button_name?: string | undefined;
|
|
128
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
118
129
|
inactive_button_color: string | null;
|
|
119
130
|
cards_color: string | null;
|
|
120
131
|
text_color: string | null;
|
|
@@ -128,6 +139,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
128
139
|
fallback_image: string | null;
|
|
129
140
|
adult_disclaimer_text: string | null;
|
|
130
141
|
adult_disclaimer_image: string | null;
|
|
142
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
131
143
|
kiosk_banner: string | null;
|
|
132
144
|
kiosk_preloader: string | null;
|
|
133
145
|
organization: string;
|
|
@@ -154,7 +166,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
154
166
|
qr_comment_field_name?: string | undefined;
|
|
155
167
|
qr_comment_field_placeholder?: string | undefined;
|
|
156
168
|
qr_show_order_comment?: boolean | undefined;
|
|
169
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
170
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
157
171
|
} | null;
|
|
172
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
158
173
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
159
174
|
} | undefined>;
|
|
160
175
|
}, "itemThemes">, Pick<{
|
|
@@ -168,6 +183,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
168
183
|
accent_dark_color: string | null;
|
|
169
184
|
bg_button_color: string | null;
|
|
170
185
|
bonuses_button_name?: string | undefined;
|
|
186
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
171
187
|
inactive_button_color: string | null;
|
|
172
188
|
cards_color: string | null;
|
|
173
189
|
text_color: string | null;
|
|
@@ -181,6 +197,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
181
197
|
fallback_image: string | null;
|
|
182
198
|
adult_disclaimer_text: string | null;
|
|
183
199
|
adult_disclaimer_image: string | null;
|
|
200
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
184
201
|
kiosk_banner: string | null;
|
|
185
202
|
kiosk_preloader: string | null;
|
|
186
203
|
organization: string;
|
|
@@ -207,7 +224,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
207
224
|
qr_comment_field_name?: string | undefined;
|
|
208
225
|
qr_comment_field_placeholder?: string | undefined;
|
|
209
226
|
qr_show_order_comment?: boolean | undefined;
|
|
227
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
228
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
210
229
|
} | null;
|
|
230
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
211
231
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
212
232
|
}, ITheme | {
|
|
213
233
|
id: string;
|
|
@@ -219,6 +239,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
219
239
|
accent_dark_color: string | null;
|
|
220
240
|
bg_button_color: string | null;
|
|
221
241
|
bonuses_button_name?: string | undefined;
|
|
242
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
222
243
|
inactive_button_color: string | null;
|
|
223
244
|
cards_color: string | null;
|
|
224
245
|
text_color: string | null;
|
|
@@ -232,6 +253,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
232
253
|
fallback_image: string | null;
|
|
233
254
|
adult_disclaimer_text: string | null;
|
|
234
255
|
adult_disclaimer_image: string | null;
|
|
256
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
235
257
|
kiosk_banner: string | null;
|
|
236
258
|
kiosk_preloader: string | null;
|
|
237
259
|
organization: string;
|
|
@@ -258,7 +280,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
258
280
|
qr_comment_field_name?: string | undefined;
|
|
259
281
|
qr_comment_field_placeholder?: string | undefined;
|
|
260
282
|
qr_show_order_comment?: boolean | undefined;
|
|
283
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
284
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
261
285
|
} | null;
|
|
286
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
262
287
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
263
288
|
}>;
|
|
264
289
|
updateColor: (data: ITheme) => Promise<{
|
|
@@ -271,6 +296,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
271
296
|
accent_dark_color: string | null;
|
|
272
297
|
bg_button_color: string | null;
|
|
273
298
|
bonuses_button_name?: string | undefined;
|
|
299
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
274
300
|
inactive_button_color: string | null;
|
|
275
301
|
cards_color: string | null;
|
|
276
302
|
text_color: string | null;
|
|
@@ -284,6 +310,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
284
310
|
fallback_image: string | null;
|
|
285
311
|
adult_disclaimer_text: string | null;
|
|
286
312
|
adult_disclaimer_image: string | null;
|
|
313
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
287
314
|
kiosk_banner: string | null;
|
|
288
315
|
kiosk_preloader: string | null;
|
|
289
316
|
organization: string;
|
|
@@ -310,7 +337,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
310
337
|
qr_comment_field_name?: string | undefined;
|
|
311
338
|
qr_comment_field_placeholder?: string | undefined;
|
|
312
339
|
qr_show_order_comment?: boolean | undefined;
|
|
340
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
341
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
313
342
|
} | null;
|
|
343
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
314
344
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
315
345
|
} | undefined>;
|
|
316
346
|
}, never>, Pick<{
|
|
@@ -324,6 +354,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
324
354
|
accent_dark_color: string | null;
|
|
325
355
|
bg_button_color: string | null;
|
|
326
356
|
bonuses_button_name?: string | undefined;
|
|
357
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
327
358
|
inactive_button_color: string | null;
|
|
328
359
|
cards_color: string | null;
|
|
329
360
|
text_color: string | null;
|
|
@@ -337,6 +368,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
337
368
|
fallback_image: string | null;
|
|
338
369
|
adult_disclaimer_text: string | null;
|
|
339
370
|
adult_disclaimer_image: string | null;
|
|
371
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
340
372
|
kiosk_banner: string | null;
|
|
341
373
|
kiosk_preloader: string | null;
|
|
342
374
|
organization: string;
|
|
@@ -363,7 +395,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
363
395
|
qr_comment_field_name?: string | undefined;
|
|
364
396
|
qr_comment_field_placeholder?: string | undefined;
|
|
365
397
|
qr_show_order_comment?: boolean | undefined;
|
|
398
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
399
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
366
400
|
} | null;
|
|
401
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
367
402
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
368
403
|
}, ITheme | {
|
|
369
404
|
id: string;
|
|
@@ -375,6 +410,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
375
410
|
accent_dark_color: string | null;
|
|
376
411
|
bg_button_color: string | null;
|
|
377
412
|
bonuses_button_name?: string | undefined;
|
|
413
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
378
414
|
inactive_button_color: string | null;
|
|
379
415
|
cards_color: string | null;
|
|
380
416
|
text_color: string | null;
|
|
@@ -388,6 +424,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
388
424
|
fallback_image: string | null;
|
|
389
425
|
adult_disclaimer_text: string | null;
|
|
390
426
|
adult_disclaimer_image: string | null;
|
|
427
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
391
428
|
kiosk_banner: string | null;
|
|
392
429
|
kiosk_preloader: string | null;
|
|
393
430
|
organization: string;
|
|
@@ -414,7 +451,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
414
451
|
qr_comment_field_name?: string | undefined;
|
|
415
452
|
qr_comment_field_placeholder?: string | undefined;
|
|
416
453
|
qr_show_order_comment?: boolean | undefined;
|
|
454
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
455
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
417
456
|
} | null;
|
|
457
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
418
458
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
419
459
|
}>;
|
|
420
460
|
updateColor: (data: ITheme) => Promise<{
|
|
@@ -427,6 +467,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
427
467
|
accent_dark_color: string | null;
|
|
428
468
|
bg_button_color: string | null;
|
|
429
469
|
bonuses_button_name?: string | undefined;
|
|
470
|
+
kiosk_disable_lock_screen?: boolean | null | undefined;
|
|
430
471
|
inactive_button_color: string | null;
|
|
431
472
|
cards_color: string | null;
|
|
432
473
|
text_color: string | null;
|
|
@@ -440,6 +481,7 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
440
481
|
fallback_image: string | null;
|
|
441
482
|
adult_disclaimer_text: string | null;
|
|
442
483
|
adult_disclaimer_image: string | null;
|
|
484
|
+
kiosk_enable_wheel?: boolean | null | undefined;
|
|
443
485
|
kiosk_banner: string | null;
|
|
444
486
|
kiosk_preloader: string | null;
|
|
445
487
|
organization: string;
|
|
@@ -466,7 +508,10 @@ export declare const useThemeStore: StoreDefinition<"themeLib", Pick<{
|
|
|
466
508
|
qr_comment_field_name?: string | undefined;
|
|
467
509
|
qr_comment_field_placeholder?: string | undefined;
|
|
468
510
|
qr_show_order_comment?: boolean | undefined;
|
|
511
|
+
qr_is_order_comment_required?: boolean | undefined;
|
|
512
|
+
kiosk_is_order_comment_required?: boolean | undefined;
|
|
469
513
|
} | null;
|
|
514
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
470
515
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
471
516
|
} | undefined>;
|
|
472
517
|
}, "updateColor">>;
|
|
@@ -42,6 +42,8 @@ export interface ISizesCustom extends ISizes {
|
|
|
42
42
|
}
|
|
43
43
|
export interface IGroupModifierSelected {
|
|
44
44
|
group: string;
|
|
45
|
+
is_fake: boolean;
|
|
46
|
+
is_product_determining: boolean;
|
|
45
47
|
modifier_count: number;
|
|
46
48
|
modifiers: ISelectModifiers[];
|
|
47
49
|
}
|
|
@@ -91,6 +93,7 @@ export interface IGroupModifiers {
|
|
|
91
93
|
group_modifiers: ISelectModifiers[];
|
|
92
94
|
is_fake?: boolean;
|
|
93
95
|
is_od_united_product?: boolean;
|
|
96
|
+
is_product_determining?: boolean;
|
|
94
97
|
}
|
|
95
98
|
export interface IGroupSelect extends IGroupModifiers {
|
|
96
99
|
index: number;
|
package/dist/types/iTheme.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface ITheme {
|
|
|
8
8
|
accent_dark_color: string | null;
|
|
9
9
|
bg_button_color: string | null;
|
|
10
10
|
bonuses_button_name?: string;
|
|
11
|
+
kiosk_disable_lock_screen?: boolean | null;
|
|
11
12
|
inactive_button_color: string | null;
|
|
12
13
|
cards_color: string | null;
|
|
13
14
|
text_color: string | null;
|
|
@@ -21,6 +22,7 @@ export interface ITheme {
|
|
|
21
22
|
fallback_image: string | null;
|
|
22
23
|
adult_disclaimer_text: string | null;
|
|
23
24
|
adult_disclaimer_image: string | null;
|
|
25
|
+
kiosk_enable_wheel?: boolean | null;
|
|
24
26
|
kiosk_banner: string | null;
|
|
25
27
|
kiosk_preloader: string | null;
|
|
26
28
|
organization: string;
|
|
@@ -35,6 +37,7 @@ export interface ITheme {
|
|
|
35
37
|
size_picker_selected_font_size: number | null;
|
|
36
38
|
hide_discounts_calculate_button: boolean;
|
|
37
39
|
comments: IComment | null;
|
|
40
|
+
kiosk_hide_menu_update_notification: boolean | null;
|
|
38
41
|
kiosk_hide_manual_input_loyalty_card: null;
|
|
39
42
|
}
|
|
40
43
|
interface IComment {
|
|
@@ -44,6 +47,8 @@ interface IComment {
|
|
|
44
47
|
qr_comment_field_name?: string;
|
|
45
48
|
qr_comment_field_placeholder?: string;
|
|
46
49
|
qr_show_order_comment?: boolean;
|
|
50
|
+
qr_is_order_comment_required?: boolean;
|
|
51
|
+
kiosk_is_order_comment_required?: boolean;
|
|
47
52
|
}
|
|
48
53
|
interface IGradient {
|
|
49
54
|
background: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export interface WebSocketServiceOptions {
|
|
3
3
|
signal?: AbortSignal;
|
|
4
|
+
heartbeatTimeout?: number;
|
|
4
5
|
}
|
|
5
6
|
export declare class WebSocketService {
|
|
6
7
|
url: string;
|
|
@@ -10,6 +11,7 @@ export declare class WebSocketService {
|
|
|
10
11
|
listeners: Map<string, Array<(data: any) => void>>;
|
|
11
12
|
isConnected: Ref<boolean>;
|
|
12
13
|
heartbeat: any;
|
|
14
|
+
heartbeatTimeout: number;
|
|
13
15
|
pingTimeout: any;
|
|
14
16
|
pingResponseTimeout: number;
|
|
15
17
|
signal?: AbortSignal;
|
|
@@ -14,5 +14,6 @@ type __VLS_Props = {
|
|
|
14
14
|
};
|
|
15
15
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
16
16
|
stickerLoyality: HTMLDivElement;
|
|
17
|
+
commentEl: HTMLTextAreaElement;
|
|
17
18
|
}, any>;
|
|
18
19
|
export default _default;
|