@inno_user/inno_clouds_lib 8.2.5 → 8.3.0
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 +3737 -3586
- package/dist/@inno_user/inno_clouds_lib.umd.js +9 -9
- package/dist/assets/iconsDynamic/Close.vue.d.ts +3 -0
- package/dist/components/cardMain/CardMain.vue.d.ts +0 -9
- package/dist/components/modal/CartDeleteConfirm.vue.d.ts +7 -0
- package/dist/components/recommendation/Recommendation.vue.d.ts +0 -1
- package/dist/composables/useModal.d.ts +7 -0
- package/dist/index.d.ts +12 -6
- package/dist/requests.d.ts +1 -0
- package/dist/store/card.d.ts +63 -0
- package/dist/store/cart.d.ts +11 -2
- package/dist/store/main.d.ts +26 -5
- package/dist/store/modals.d.ts +20 -0
- package/dist/types/iCardProduct.d.ts +2 -0
- package/dist/ui/notificationWindow/NotificationWindow.vue.d.ts +9 -3
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -35,10 +35,6 @@ 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
|
-
};
|
|
42
38
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
43
39
|
data: {
|
|
44
40
|
type: PropType<IProduct | IGroup>;
|
|
@@ -73,15 +69,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
73
69
|
type: PropType<(id: number) => void>;
|
|
74
70
|
required: false;
|
|
75
71
|
};
|
|
76
|
-
is_qr: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
72
|
}>> & Readonly<{}>, {
|
|
81
73
|
activeTags: Record<string, any>;
|
|
82
74
|
is_product: boolean;
|
|
83
75
|
is_group: boolean;
|
|
84
76
|
isLoading: boolean;
|
|
85
|
-
is_qr: boolean;
|
|
86
77
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
87
78
|
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3
|
+
confirm: (v: string) => any;
|
|
4
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onConfirm?: ((v: string) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -2,7 +2,6 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
closeCurrentCard: any;
|
|
4
4
|
openCurrentCard: any;
|
|
5
|
-
is_qr?: boolean;
|
|
6
5
|
};
|
|
7
6
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
7
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,22 +15,28 @@ import { default as ModalWindows } from './semantics/modalWindows/ModalWindows.v
|
|
|
15
15
|
import { default as CardReader } from './components/cardReader/CardReader.vue';
|
|
16
16
|
import { default as PopupWindowDraggable } from './semantics/windows/popupWindowDraggable/PopupWindowDraggable.vue';
|
|
17
17
|
import { default as PopupWindowDefault } from './semantics/windows/popupWindowDefault/PopupWindowDefault.vue';
|
|
18
|
+
import { default as NotificationWindow } from './ui/notificationWindow/NotificationWindow.vue';
|
|
18
19
|
import { useThemeStore } from './store/theme';
|
|
19
20
|
import { useImageCacheStore } from './store/images';
|
|
20
|
-
import { useMainStore as useMainLibStore } from './store/main';
|
|
21
|
-
import { useCardStore as useCardLibStore } from './store/card';
|
|
22
|
-
import { useCartStore as useCartLibStore } from './store/cart';
|
|
23
21
|
import { vClickOutside } from './directives/vClickOutside';
|
|
24
22
|
import { default as ButtonDefault } from './ui/buttons/default/ButtonDefault.vue';
|
|
25
23
|
import { default as BasketButton } from './ui/buttons/basketButton/BasketButton.vue';
|
|
26
24
|
import { VList, Virtualizer } from 'virtua/vue';
|
|
25
|
+
import { useMainStore as useMainLibStore } from './store/main';
|
|
26
|
+
import { useCardStore as useCardLibStore } from './store/card';
|
|
27
|
+
import { useCartStore as useCartLibStore } from './store/cart';
|
|
28
|
+
import { useModalStore } from './store/modals';
|
|
29
|
+
import { useModal } from './composables/useModal';
|
|
27
30
|
import { useVirtuaLoop } from './composables/useVirtuaLoop';
|
|
28
31
|
import { preventZoom, PreventZoomConfig } from './utils/preventZoom';
|
|
29
|
-
|
|
32
|
+
import { default as clearLocalStorage } from './utils/clearLocalStorage';
|
|
33
|
+
export { InitConnection, useImageCacheStore, vClickOutside, initPinia, initRouter, useRouter, useRoute, RetryPage, CartPage, CardProductPage, CardReader, CardMain, GroupMain, TagsMain, CartBox, DrumItem, ButtonDefault, BasketButton, ModalWindows, Recommendation, PopupWindowDraggable, PopupWindowDefault, NotificationWindow,
|
|
34
|
+
/** Stores */
|
|
35
|
+
useModalStore, useThemeStore, useMainLibStore, useCardLibStore, useCartLibStore,
|
|
30
36
|
/** Composables */
|
|
31
|
-
useVirtuaLoop,
|
|
37
|
+
useModal, useVirtuaLoop,
|
|
32
38
|
/** Utils */
|
|
33
|
-
preventZoom,
|
|
39
|
+
preventZoom, clearLocalStorage,
|
|
34
40
|
/** Components */
|
|
35
41
|
VList, Virtualizer, };
|
|
36
42
|
export type { ICallStaffRequest, PreventZoomConfig };
|
package/dist/requests.d.ts
CHANGED
package/dist/store/card.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
8
8
|
idSystem: string;
|
|
9
9
|
name: string;
|
|
10
10
|
price: number;
|
|
11
|
+
total_new_price?: number | null | undefined;
|
|
11
12
|
amount: number;
|
|
12
13
|
description: string;
|
|
13
14
|
image_link?: string | undefined;
|
|
@@ -26,6 +27,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
26
27
|
id: string;
|
|
27
28
|
name: string;
|
|
28
29
|
price: number;
|
|
30
|
+
total_new_price?: number | null | undefined;
|
|
29
31
|
amount: number;
|
|
30
32
|
required: boolean;
|
|
31
33
|
max_amount: number;
|
|
@@ -64,6 +66,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
64
66
|
id: string;
|
|
65
67
|
name: string;
|
|
66
68
|
price: number;
|
|
69
|
+
total_new_price?: number | null | undefined;
|
|
67
70
|
amount: number;
|
|
68
71
|
required: boolean;
|
|
69
72
|
max_amount: number;
|
|
@@ -111,6 +114,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
111
114
|
id: string;
|
|
112
115
|
name: string;
|
|
113
116
|
price: number;
|
|
117
|
+
total_new_price?: number | null | undefined;
|
|
114
118
|
amount: number;
|
|
115
119
|
required: boolean;
|
|
116
120
|
max_amount: number;
|
|
@@ -149,6 +153,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
149
153
|
id: string;
|
|
150
154
|
name: string;
|
|
151
155
|
price: number;
|
|
156
|
+
total_new_price?: number | null | undefined;
|
|
152
157
|
amount: number;
|
|
153
158
|
required: boolean;
|
|
154
159
|
max_amount: number;
|
|
@@ -183,6 +188,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
183
188
|
id: string;
|
|
184
189
|
name: string;
|
|
185
190
|
price: number;
|
|
191
|
+
total_new_price?: number | null | undefined;
|
|
186
192
|
amount: number;
|
|
187
193
|
required: boolean;
|
|
188
194
|
max_amount: number;
|
|
@@ -230,6 +236,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
230
236
|
id: string;
|
|
231
237
|
name: string;
|
|
232
238
|
price: number;
|
|
239
|
+
total_new_price?: number | null | undefined;
|
|
233
240
|
amount: number;
|
|
234
241
|
required: boolean;
|
|
235
242
|
max_amount: number;
|
|
@@ -271,6 +278,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
271
278
|
idSystem: string;
|
|
272
279
|
name: string;
|
|
273
280
|
price: number;
|
|
281
|
+
total_new_price?: number | null | undefined;
|
|
274
282
|
amount: number;
|
|
275
283
|
description: string;
|
|
276
284
|
image_link?: string | undefined;
|
|
@@ -289,6 +297,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
289
297
|
id: string;
|
|
290
298
|
name: string;
|
|
291
299
|
price: number;
|
|
300
|
+
total_new_price?: number | null | undefined;
|
|
292
301
|
amount: number;
|
|
293
302
|
required: boolean;
|
|
294
303
|
max_amount: number;
|
|
@@ -327,6 +336,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
327
336
|
id: string;
|
|
328
337
|
name: string;
|
|
329
338
|
price: number;
|
|
339
|
+
total_new_price?: number | null | undefined;
|
|
330
340
|
amount: number;
|
|
331
341
|
required: boolean;
|
|
332
342
|
max_amount: number;
|
|
@@ -396,6 +406,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
396
406
|
idSystem: string;
|
|
397
407
|
name: string;
|
|
398
408
|
price: number;
|
|
409
|
+
total_new_price?: number | null | undefined;
|
|
399
410
|
amount: number;
|
|
400
411
|
description: string;
|
|
401
412
|
image_link?: string | undefined;
|
|
@@ -414,6 +425,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
414
425
|
id: string;
|
|
415
426
|
name: string;
|
|
416
427
|
price: number;
|
|
428
|
+
total_new_price?: number | null | undefined;
|
|
417
429
|
amount: number;
|
|
418
430
|
required: boolean;
|
|
419
431
|
max_amount: number;
|
|
@@ -452,6 +464,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
452
464
|
id: string;
|
|
453
465
|
name: string;
|
|
454
466
|
price: number;
|
|
467
|
+
total_new_price?: number | null | undefined;
|
|
455
468
|
amount: number;
|
|
456
469
|
required: boolean;
|
|
457
470
|
max_amount: number;
|
|
@@ -499,6 +512,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
499
512
|
id: string;
|
|
500
513
|
name: string;
|
|
501
514
|
price: number;
|
|
515
|
+
total_new_price?: number | null | undefined;
|
|
502
516
|
amount: number;
|
|
503
517
|
required: boolean;
|
|
504
518
|
max_amount: number;
|
|
@@ -537,6 +551,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
537
551
|
id: string;
|
|
538
552
|
name: string;
|
|
539
553
|
price: number;
|
|
554
|
+
total_new_price?: number | null | undefined;
|
|
540
555
|
amount: number;
|
|
541
556
|
required: boolean;
|
|
542
557
|
max_amount: number;
|
|
@@ -571,6 +586,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
571
586
|
id: string;
|
|
572
587
|
name: string;
|
|
573
588
|
price: number;
|
|
589
|
+
total_new_price?: number | null | undefined;
|
|
574
590
|
amount: number;
|
|
575
591
|
required: boolean;
|
|
576
592
|
max_amount: number;
|
|
@@ -618,6 +634,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
618
634
|
id: string;
|
|
619
635
|
name: string;
|
|
620
636
|
price: number;
|
|
637
|
+
total_new_price?: number | null | undefined;
|
|
621
638
|
amount: number;
|
|
622
639
|
required: boolean;
|
|
623
640
|
max_amount: number;
|
|
@@ -659,6 +676,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
659
676
|
idSystem: string;
|
|
660
677
|
name: string;
|
|
661
678
|
price: number;
|
|
679
|
+
total_new_price?: number | null | undefined;
|
|
662
680
|
amount: number;
|
|
663
681
|
description: string;
|
|
664
682
|
image_link?: string | undefined;
|
|
@@ -677,6 +695,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
677
695
|
id: string;
|
|
678
696
|
name: string;
|
|
679
697
|
price: number;
|
|
698
|
+
total_new_price?: number | null | undefined;
|
|
680
699
|
amount: number;
|
|
681
700
|
required: boolean;
|
|
682
701
|
max_amount: number;
|
|
@@ -715,6 +734,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
715
734
|
id: string;
|
|
716
735
|
name: string;
|
|
717
736
|
price: number;
|
|
737
|
+
total_new_price?: number | null | undefined;
|
|
718
738
|
amount: number;
|
|
719
739
|
required: boolean;
|
|
720
740
|
max_amount: number;
|
|
@@ -784,6 +804,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
784
804
|
id: string;
|
|
785
805
|
name: string;
|
|
786
806
|
price: number;
|
|
807
|
+
total_new_price?: number | null | undefined;
|
|
787
808
|
amount: number;
|
|
788
809
|
required: boolean;
|
|
789
810
|
max_amount: number;
|
|
@@ -847,6 +868,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
847
868
|
idSystem: string;
|
|
848
869
|
name: string;
|
|
849
870
|
price: number;
|
|
871
|
+
total_new_price?: number | null | undefined;
|
|
850
872
|
amount: number;
|
|
851
873
|
description: string;
|
|
852
874
|
image_link?: string | undefined;
|
|
@@ -865,6 +887,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
865
887
|
id: string;
|
|
866
888
|
name: string;
|
|
867
889
|
price: number;
|
|
890
|
+
total_new_price?: number | null | undefined;
|
|
868
891
|
amount: number;
|
|
869
892
|
required: boolean;
|
|
870
893
|
max_amount: number;
|
|
@@ -903,6 +926,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
903
926
|
id: string;
|
|
904
927
|
name: string;
|
|
905
928
|
price: number;
|
|
929
|
+
total_new_price?: number | null | undefined;
|
|
906
930
|
amount: number;
|
|
907
931
|
required: boolean;
|
|
908
932
|
max_amount: number;
|
|
@@ -950,6 +974,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
950
974
|
id: string;
|
|
951
975
|
name: string;
|
|
952
976
|
price: number;
|
|
977
|
+
total_new_price?: number | null | undefined;
|
|
953
978
|
amount: number;
|
|
954
979
|
required: boolean;
|
|
955
980
|
max_amount: number;
|
|
@@ -988,6 +1013,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
988
1013
|
id: string;
|
|
989
1014
|
name: string;
|
|
990
1015
|
price: number;
|
|
1016
|
+
total_new_price?: number | null | undefined;
|
|
991
1017
|
amount: number;
|
|
992
1018
|
required: boolean;
|
|
993
1019
|
max_amount: number;
|
|
@@ -1022,6 +1048,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1022
1048
|
id: string;
|
|
1023
1049
|
name: string;
|
|
1024
1050
|
price: number;
|
|
1051
|
+
total_new_price?: number | null | undefined;
|
|
1025
1052
|
amount: number;
|
|
1026
1053
|
required: boolean;
|
|
1027
1054
|
max_amount: number;
|
|
@@ -1069,6 +1096,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1069
1096
|
id: string;
|
|
1070
1097
|
name: string;
|
|
1071
1098
|
price: number;
|
|
1099
|
+
total_new_price?: number | null | undefined;
|
|
1072
1100
|
amount: number;
|
|
1073
1101
|
required: boolean;
|
|
1074
1102
|
max_amount: number;
|
|
@@ -1110,6 +1138,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1110
1138
|
idSystem: string;
|
|
1111
1139
|
name: string;
|
|
1112
1140
|
price: number;
|
|
1141
|
+
total_new_price?: number | null | undefined;
|
|
1113
1142
|
amount: number;
|
|
1114
1143
|
description: string;
|
|
1115
1144
|
image_link?: string | undefined;
|
|
@@ -1128,6 +1157,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1128
1157
|
id: string;
|
|
1129
1158
|
name: string;
|
|
1130
1159
|
price: number;
|
|
1160
|
+
total_new_price?: number | null | undefined;
|
|
1131
1161
|
amount: number;
|
|
1132
1162
|
required: boolean;
|
|
1133
1163
|
max_amount: number;
|
|
@@ -1166,6 +1196,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1166
1196
|
id: string;
|
|
1167
1197
|
name: string;
|
|
1168
1198
|
price: number;
|
|
1199
|
+
total_new_price?: number | null | undefined;
|
|
1169
1200
|
amount: number;
|
|
1170
1201
|
required: boolean;
|
|
1171
1202
|
max_amount: number;
|
|
@@ -1235,6 +1266,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1235
1266
|
idSystem: string;
|
|
1236
1267
|
name: string;
|
|
1237
1268
|
price: number;
|
|
1269
|
+
total_new_price?: number | null | undefined;
|
|
1238
1270
|
amount: number;
|
|
1239
1271
|
description: string;
|
|
1240
1272
|
image_link?: string | undefined;
|
|
@@ -1253,6 +1285,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1253
1285
|
id: string;
|
|
1254
1286
|
name: string;
|
|
1255
1287
|
price: number;
|
|
1288
|
+
total_new_price?: number | null | undefined;
|
|
1256
1289
|
amount: number;
|
|
1257
1290
|
required: boolean;
|
|
1258
1291
|
max_amount: number;
|
|
@@ -1291,6 +1324,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1291
1324
|
id: string;
|
|
1292
1325
|
name: string;
|
|
1293
1326
|
price: number;
|
|
1327
|
+
total_new_price?: number | null | undefined;
|
|
1294
1328
|
amount: number;
|
|
1295
1329
|
required: boolean;
|
|
1296
1330
|
max_amount: number;
|
|
@@ -1338,6 +1372,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1338
1372
|
id: string;
|
|
1339
1373
|
name: string;
|
|
1340
1374
|
price: number;
|
|
1375
|
+
total_new_price?: number | null | undefined;
|
|
1341
1376
|
amount: number;
|
|
1342
1377
|
required: boolean;
|
|
1343
1378
|
max_amount: number;
|
|
@@ -1376,6 +1411,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1376
1411
|
id: string;
|
|
1377
1412
|
name: string;
|
|
1378
1413
|
price: number;
|
|
1414
|
+
total_new_price?: number | null | undefined;
|
|
1379
1415
|
amount: number;
|
|
1380
1416
|
required: boolean;
|
|
1381
1417
|
max_amount: number;
|
|
@@ -1410,6 +1446,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1410
1446
|
id: string;
|
|
1411
1447
|
name: string;
|
|
1412
1448
|
price: number;
|
|
1449
|
+
total_new_price?: number | null | undefined;
|
|
1413
1450
|
amount: number;
|
|
1414
1451
|
required: boolean;
|
|
1415
1452
|
max_amount: number;
|
|
@@ -1457,6 +1494,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1457
1494
|
id: string;
|
|
1458
1495
|
name: string;
|
|
1459
1496
|
price: number;
|
|
1497
|
+
total_new_price?: number | null | undefined;
|
|
1460
1498
|
amount: number;
|
|
1461
1499
|
required: boolean;
|
|
1462
1500
|
max_amount: number;
|
|
@@ -1498,6 +1536,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1498
1536
|
idSystem: string;
|
|
1499
1537
|
name: string;
|
|
1500
1538
|
price: number;
|
|
1539
|
+
total_new_price?: number | null | undefined;
|
|
1501
1540
|
amount: number;
|
|
1502
1541
|
description: string;
|
|
1503
1542
|
image_link?: string | undefined;
|
|
@@ -1516,6 +1555,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1516
1555
|
id: string;
|
|
1517
1556
|
name: string;
|
|
1518
1557
|
price: number;
|
|
1558
|
+
total_new_price?: number | null | undefined;
|
|
1519
1559
|
amount: number;
|
|
1520
1560
|
required: boolean;
|
|
1521
1561
|
max_amount: number;
|
|
@@ -1554,6 +1594,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1554
1594
|
id: string;
|
|
1555
1595
|
name: string;
|
|
1556
1596
|
price: number;
|
|
1597
|
+
total_new_price?: number | null | undefined;
|
|
1557
1598
|
amount: number;
|
|
1558
1599
|
required: boolean;
|
|
1559
1600
|
max_amount: number;
|
|
@@ -1623,6 +1664,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1623
1664
|
id: string;
|
|
1624
1665
|
name: string;
|
|
1625
1666
|
price: number;
|
|
1667
|
+
total_new_price?: number | null | undefined;
|
|
1626
1668
|
amount: number;
|
|
1627
1669
|
required: boolean;
|
|
1628
1670
|
max_amount: number;
|
|
@@ -1686,6 +1728,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1686
1728
|
idSystem: string;
|
|
1687
1729
|
name: string;
|
|
1688
1730
|
price: number;
|
|
1731
|
+
total_new_price?: number | null | undefined;
|
|
1689
1732
|
amount: number;
|
|
1690
1733
|
description: string;
|
|
1691
1734
|
image_link?: string | undefined;
|
|
@@ -1704,6 +1747,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1704
1747
|
id: string;
|
|
1705
1748
|
name: string;
|
|
1706
1749
|
price: number;
|
|
1750
|
+
total_new_price?: number | null | undefined;
|
|
1707
1751
|
amount: number;
|
|
1708
1752
|
required: boolean;
|
|
1709
1753
|
max_amount: number;
|
|
@@ -1742,6 +1786,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1742
1786
|
id: string;
|
|
1743
1787
|
name: string;
|
|
1744
1788
|
price: number;
|
|
1789
|
+
total_new_price?: number | null | undefined;
|
|
1745
1790
|
amount: number;
|
|
1746
1791
|
required: boolean;
|
|
1747
1792
|
max_amount: number;
|
|
@@ -1789,6 +1834,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1789
1834
|
id: string;
|
|
1790
1835
|
name: string;
|
|
1791
1836
|
price: number;
|
|
1837
|
+
total_new_price?: number | null | undefined;
|
|
1792
1838
|
amount: number;
|
|
1793
1839
|
required: boolean;
|
|
1794
1840
|
max_amount: number;
|
|
@@ -1827,6 +1873,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1827
1873
|
id: string;
|
|
1828
1874
|
name: string;
|
|
1829
1875
|
price: number;
|
|
1876
|
+
total_new_price?: number | null | undefined;
|
|
1830
1877
|
amount: number;
|
|
1831
1878
|
required: boolean;
|
|
1832
1879
|
max_amount: number;
|
|
@@ -1861,6 +1908,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1861
1908
|
id: string;
|
|
1862
1909
|
name: string;
|
|
1863
1910
|
price: number;
|
|
1911
|
+
total_new_price?: number | null | undefined;
|
|
1864
1912
|
amount: number;
|
|
1865
1913
|
required: boolean;
|
|
1866
1914
|
max_amount: number;
|
|
@@ -1908,6 +1956,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1908
1956
|
id: string;
|
|
1909
1957
|
name: string;
|
|
1910
1958
|
price: number;
|
|
1959
|
+
total_new_price?: number | null | undefined;
|
|
1911
1960
|
amount: number;
|
|
1912
1961
|
required: boolean;
|
|
1913
1962
|
max_amount: number;
|
|
@@ -1949,6 +1998,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1949
1998
|
idSystem: string;
|
|
1950
1999
|
name: string;
|
|
1951
2000
|
price: number;
|
|
2001
|
+
total_new_price?: number | null | undefined;
|
|
1952
2002
|
amount: number;
|
|
1953
2003
|
description: string;
|
|
1954
2004
|
image_link?: string | undefined;
|
|
@@ -1967,6 +2017,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
1967
2017
|
id: string;
|
|
1968
2018
|
name: string;
|
|
1969
2019
|
price: number;
|
|
2020
|
+
total_new_price?: number | null | undefined;
|
|
1970
2021
|
amount: number;
|
|
1971
2022
|
required: boolean;
|
|
1972
2023
|
max_amount: number;
|
|
@@ -2005,6 +2056,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2005
2056
|
id: string;
|
|
2006
2057
|
name: string;
|
|
2007
2058
|
price: number;
|
|
2059
|
+
total_new_price?: number | null | undefined;
|
|
2008
2060
|
amount: number;
|
|
2009
2061
|
required: boolean;
|
|
2010
2062
|
max_amount: number;
|
|
@@ -2074,6 +2126,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2074
2126
|
idSystem: string;
|
|
2075
2127
|
name: string;
|
|
2076
2128
|
price: number;
|
|
2129
|
+
total_new_price?: number | null | undefined;
|
|
2077
2130
|
amount: number;
|
|
2078
2131
|
description: string;
|
|
2079
2132
|
image_link?: string | undefined;
|
|
@@ -2092,6 +2145,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2092
2145
|
id: string;
|
|
2093
2146
|
name: string;
|
|
2094
2147
|
price: number;
|
|
2148
|
+
total_new_price?: number | null | undefined;
|
|
2095
2149
|
amount: number;
|
|
2096
2150
|
required: boolean;
|
|
2097
2151
|
max_amount: number;
|
|
@@ -2130,6 +2184,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2130
2184
|
id: string;
|
|
2131
2185
|
name: string;
|
|
2132
2186
|
price: number;
|
|
2187
|
+
total_new_price?: number | null | undefined;
|
|
2133
2188
|
amount: number;
|
|
2134
2189
|
required: boolean;
|
|
2135
2190
|
max_amount: number;
|
|
@@ -2177,6 +2232,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2177
2232
|
id: string;
|
|
2178
2233
|
name: string;
|
|
2179
2234
|
price: number;
|
|
2235
|
+
total_new_price?: number | null | undefined;
|
|
2180
2236
|
amount: number;
|
|
2181
2237
|
required: boolean;
|
|
2182
2238
|
max_amount: number;
|
|
@@ -2215,6 +2271,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2215
2271
|
id: string;
|
|
2216
2272
|
name: string;
|
|
2217
2273
|
price: number;
|
|
2274
|
+
total_new_price?: number | null | undefined;
|
|
2218
2275
|
amount: number;
|
|
2219
2276
|
required: boolean;
|
|
2220
2277
|
max_amount: number;
|
|
@@ -2249,6 +2306,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2249
2306
|
id: string;
|
|
2250
2307
|
name: string;
|
|
2251
2308
|
price: number;
|
|
2309
|
+
total_new_price?: number | null | undefined;
|
|
2252
2310
|
amount: number;
|
|
2253
2311
|
required: boolean;
|
|
2254
2312
|
max_amount: number;
|
|
@@ -2296,6 +2354,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2296
2354
|
id: string;
|
|
2297
2355
|
name: string;
|
|
2298
2356
|
price: number;
|
|
2357
|
+
total_new_price?: number | null | undefined;
|
|
2299
2358
|
amount: number;
|
|
2300
2359
|
required: boolean;
|
|
2301
2360
|
max_amount: number;
|
|
@@ -2337,6 +2396,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2337
2396
|
idSystem: string;
|
|
2338
2397
|
name: string;
|
|
2339
2398
|
price: number;
|
|
2399
|
+
total_new_price?: number | null | undefined;
|
|
2340
2400
|
amount: number;
|
|
2341
2401
|
description: string;
|
|
2342
2402
|
image_link?: string | undefined;
|
|
@@ -2355,6 +2415,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2355
2415
|
id: string;
|
|
2356
2416
|
name: string;
|
|
2357
2417
|
price: number;
|
|
2418
|
+
total_new_price?: number | null | undefined;
|
|
2358
2419
|
amount: number;
|
|
2359
2420
|
required: boolean;
|
|
2360
2421
|
max_amount: number;
|
|
@@ -2393,6 +2454,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2393
2454
|
id: string;
|
|
2394
2455
|
name: string;
|
|
2395
2456
|
price: number;
|
|
2457
|
+
total_new_price?: number | null | undefined;
|
|
2396
2458
|
amount: number;
|
|
2397
2459
|
required: boolean;
|
|
2398
2460
|
max_amount: number;
|
|
@@ -2462,6 +2524,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
|
|
|
2462
2524
|
id: string;
|
|
2463
2525
|
name: string;
|
|
2464
2526
|
price: number;
|
|
2527
|
+
total_new_price?: number | null | undefined;
|
|
2465
2528
|
amount: number;
|
|
2466
2529
|
required: boolean;
|
|
2467
2530
|
max_amount: number;
|
package/dist/store/cart.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
4
4
|
statusWSCreate: Ref<null, null>;
|
|
5
5
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
6
6
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
7
|
+
extraDiscount: Ref<number, number>;
|
|
7
8
|
orderNumber: Ref<number | null, number | null>;
|
|
8
9
|
is_notification_lib: Ref<boolean, boolean>;
|
|
9
10
|
notificationData_lib: Ref<{
|
|
@@ -27,10 +28,13 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
27
28
|
openDrawer: () => void;
|
|
28
29
|
closeDrawer: () => void;
|
|
29
30
|
clearCard: () => void;
|
|
30
|
-
|
|
31
|
+
makeInitPaymentLinkRequest: (orderId: string, is_requestKiosk: boolean, is_tableservice?: boolean) => Promise<void>;
|
|
32
|
+
showNotification: (message: string) => void;
|
|
33
|
+
}, "is_notification_lib" | "notificationData_lib" | "error" | "count" | "statusWSCreate" | "isButtonDisabled" | "orderCompleted_lib" | "extraDiscount" | "orderNumber" | "textPaymentBtn_lib" | "guestInfo" | "isDrawerOpen" | "currentState">, Pick<{
|
|
31
34
|
statusWSCreate: Ref<null, null>;
|
|
32
35
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
33
36
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
37
|
+
extraDiscount: Ref<number, number>;
|
|
34
38
|
orderNumber: Ref<number | null, number | null>;
|
|
35
39
|
is_notification_lib: Ref<boolean, boolean>;
|
|
36
40
|
notificationData_lib: Ref<{
|
|
@@ -54,10 +58,13 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
54
58
|
openDrawer: () => void;
|
|
55
59
|
closeDrawer: () => void;
|
|
56
60
|
clearCard: () => void;
|
|
61
|
+
makeInitPaymentLinkRequest: (orderId: string, is_requestKiosk: boolean, is_tableservice?: boolean) => Promise<void>;
|
|
62
|
+
showNotification: (message: string) => void;
|
|
57
63
|
}, "isAuthorized">, Pick<{
|
|
58
64
|
statusWSCreate: Ref<null, null>;
|
|
59
65
|
isButtonDisabled: Ref<boolean, boolean>;
|
|
60
66
|
orderCompleted_lib: Ref<number | null, number | null>;
|
|
67
|
+
extraDiscount: Ref<number, number>;
|
|
61
68
|
orderNumber: Ref<number | null, number | null>;
|
|
62
69
|
is_notification_lib: Ref<boolean, boolean>;
|
|
63
70
|
notificationData_lib: Ref<{
|
|
@@ -81,4 +88,6 @@ export declare const useCartStore: StoreDefinition<"cartLib", Pick<{
|
|
|
81
88
|
openDrawer: () => void;
|
|
82
89
|
closeDrawer: () => void;
|
|
83
90
|
clearCard: () => void;
|
|
84
|
-
|
|
91
|
+
makeInitPaymentLinkRequest: (orderId: string, is_requestKiosk: boolean, is_tableservice?: boolean) => Promise<void>;
|
|
92
|
+
showNotification: (message: string) => void;
|
|
93
|
+
}, "orderSocket" | "deleteCart" | "setGuestInfo" | "setState" | "openDrawer" | "closeDrawer" | "clearCard" | "makeInitPaymentLinkRequest" | "showNotification">>;
|