@selfeesas/shared-components 1.3.3 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +28 -28
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +139 -285
- package/dist/shared-components.es.js +9107 -9589
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { ExtractPropTypes } from 'vue';
|
|
|
5
5
|
import { PropType } from 'vue';
|
|
6
6
|
import { PublicProps } from 'vue';
|
|
7
7
|
import { QBreadcrumbsProps } from 'quasar';
|
|
8
|
+
import { Ref } from 'vue';
|
|
8
9
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
9
10
|
import { RouteLocationRaw } from 'vue-router';
|
|
10
11
|
import { RouteParamsRaw } from 'vue-router';
|
|
@@ -18,72 +19,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsT
|
|
|
18
19
|
|
|
19
20
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20
21
|
|
|
21
|
-
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<
|
|
22
|
-
filter: null;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
rowKey: string;
|
|
25
|
-
services: () => {};
|
|
26
|
-
conditionals: () => {};
|
|
27
|
-
actions: () => never[];
|
|
28
|
-
rowClasses: undefined;
|
|
29
|
-
selection: string;
|
|
30
|
-
selected: () => never[];
|
|
31
|
-
selectable: () => true;
|
|
32
|
-
showSelectAll: boolean;
|
|
33
|
-
showSkeleton: boolean;
|
|
34
|
-
showColumnToggle: boolean;
|
|
35
|
-
columnStorageKey: undefined;
|
|
36
|
-
}>>, {
|
|
37
|
-
clearSelection: typeof clearSelection;
|
|
38
|
-
getSelectedRows: () => any[];
|
|
39
|
-
toggleRowSelection: typeof toggleRowSelection;
|
|
40
|
-
toggleSelectAll: typeof toggleSelectAll;
|
|
41
|
-
toggleColumnVisibility: (columnName: string) => void;
|
|
42
|
-
resetColumns: () => void;
|
|
43
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
|
-
"update:pagination": (...args: any[]) => void;
|
|
45
|
-
"update:selected": (...args: any[]) => void;
|
|
46
|
-
"selection-change": (...args: any[]) => void;
|
|
47
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<CustomTableProps>, {
|
|
48
|
-
filter: null;
|
|
49
|
-
loading: boolean;
|
|
50
|
-
rowKey: string;
|
|
51
|
-
services: () => {};
|
|
52
|
-
conditionals: () => {};
|
|
53
|
-
actions: () => never[];
|
|
54
|
-
rowClasses: undefined;
|
|
55
|
-
selection: string;
|
|
56
|
-
selected: () => never[];
|
|
57
|
-
selectable: () => true;
|
|
58
|
-
showSelectAll: boolean;
|
|
59
|
-
showSkeleton: boolean;
|
|
60
|
-
showColumnToggle: boolean;
|
|
61
|
-
columnStorageKey: undefined;
|
|
62
|
-
}>>> & Readonly<{
|
|
63
|
-
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
}>, {
|
|
67
|
-
filter: string | null;
|
|
68
|
-
loading: boolean;
|
|
69
|
-
rowKey: string;
|
|
70
|
-
services: CustomTableServices;
|
|
71
|
-
conditionals: CustomTableConditionals;
|
|
72
|
-
actions: TableAction[] | ((row: any) => TableAction[]);
|
|
73
|
-
showSkeleton: boolean;
|
|
74
|
-
rowClasses: string | ((row: any) => string);
|
|
75
|
-
selection: "single" | "multiple" | "none";
|
|
76
|
-
selected: any[];
|
|
77
|
-
selectable: (row: any) => boolean;
|
|
78
|
-
showSelectAll: boolean;
|
|
79
|
-
showColumnToggle: boolean;
|
|
80
|
-
columnStorageKey: string;
|
|
81
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
82
|
-
|
|
83
|
-
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<Props_2>, {
|
|
22
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToOption_18<Props_2>, {
|
|
84
23
|
to: string;
|
|
85
24
|
useDiv: boolean;
|
|
86
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
25
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToOption_18<Props_2>, {
|
|
87
26
|
to: string;
|
|
88
27
|
useDiv: boolean;
|
|
89
28
|
}>>> & Readonly<{}>, {
|
|
@@ -91,7 +30,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
91
30
|
useDiv: boolean;
|
|
92
31
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
93
32
|
|
|
94
|
-
declare const
|
|
33
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<SelfeeCardProps>, {
|
|
95
34
|
showHeader: boolean;
|
|
96
35
|
colorScheme: string;
|
|
97
36
|
shadowIntensity: string;
|
|
@@ -106,7 +45,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
106
45
|
subtitle: string;
|
|
107
46
|
title: string;
|
|
108
47
|
contentGap: boolean;
|
|
109
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
48
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<SelfeeCardProps>, {
|
|
110
49
|
showHeader: boolean;
|
|
111
50
|
colorScheme: string;
|
|
112
51
|
shadowIntensity: string;
|
|
@@ -126,26 +65,26 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
126
65
|
dense: boolean;
|
|
127
66
|
rounded: boolean;
|
|
128
67
|
title: string;
|
|
129
|
-
bordered: boolean;
|
|
130
68
|
subtitle: string;
|
|
131
69
|
showHeader: boolean;
|
|
132
70
|
colorScheme: "primary" | "secondary" | "accent" | "info" | "warning" | "error" | "success" | "neutral";
|
|
133
71
|
shadowIntensity: "none" | "light" | "medium" | "heavy";
|
|
134
72
|
noPadding: boolean;
|
|
135
73
|
hoverable: boolean;
|
|
74
|
+
bordered: boolean;
|
|
136
75
|
centerTitle: boolean;
|
|
137
76
|
centerActions: boolean;
|
|
138
77
|
contentGap: boolean | string;
|
|
139
78
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
140
79
|
|
|
141
|
-
declare const
|
|
80
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<SmartFiltersProps>, {
|
|
142
81
|
containerClass: string;
|
|
143
82
|
rowClass: string;
|
|
144
83
|
activeHiddenCount: number;
|
|
145
84
|
hasActiveFilters: boolean;
|
|
146
85
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
147
86
|
reset: () => void;
|
|
148
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
87
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<SmartFiltersProps>, {
|
|
149
88
|
containerClass: string;
|
|
150
89
|
rowClass: string;
|
|
151
90
|
activeHiddenCount: number;
|
|
@@ -159,7 +98,7 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
159
98
|
activeHiddenCount: number;
|
|
160
99
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
161
100
|
|
|
162
|
-
declare const
|
|
101
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<CustomTableProps>, {
|
|
163
102
|
filter: null;
|
|
164
103
|
loading: boolean;
|
|
165
104
|
pagination: () => {
|
|
@@ -186,21 +125,28 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
186
125
|
defaultRowsPerPage: number;
|
|
187
126
|
initialParams: () => {};
|
|
188
127
|
filterSelected: () => {};
|
|
128
|
+
multiSort: boolean;
|
|
129
|
+
maxSortFields: number;
|
|
189
130
|
}>>, {
|
|
190
|
-
clearSelection: typeof
|
|
131
|
+
clearSelection: typeof clearSelection;
|
|
191
132
|
getSelectedRows: () => any[];
|
|
192
|
-
toggleRowSelection: typeof
|
|
193
|
-
toggleSelectAll: typeof
|
|
133
|
+
toggleRowSelection: typeof toggleRowSelection;
|
|
134
|
+
toggleSelectAll: typeof toggleSelectAll;
|
|
194
135
|
toggleColumnVisibility: (columnName: string) => void;
|
|
195
136
|
resetColumns: () => void;
|
|
196
137
|
refresh: () => Promise<void>;
|
|
138
|
+
getSortIndicator: (columnName: string) => {
|
|
139
|
+
direction: "asc" | "desc" | null;
|
|
140
|
+
order: number;
|
|
141
|
+
};
|
|
142
|
+
clearSort: () => void;
|
|
197
143
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
198
144
|
"update:pagination": (...args: any[]) => void;
|
|
199
145
|
"update:selected": (...args: any[]) => void;
|
|
200
146
|
"selection-change": (...args: any[]) => void;
|
|
201
147
|
"data-loaded": (...args: any[]) => void;
|
|
202
148
|
"loading-change": (...args: any[]) => void;
|
|
203
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
149
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<CustomTableProps>, {
|
|
204
150
|
filter: null;
|
|
205
151
|
loading: boolean;
|
|
206
152
|
pagination: () => {
|
|
@@ -227,6 +173,8 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
227
173
|
defaultRowsPerPage: number;
|
|
228
174
|
initialParams: () => {};
|
|
229
175
|
filterSelected: () => {};
|
|
176
|
+
multiSort: boolean;
|
|
177
|
+
maxSortFields: number;
|
|
230
178
|
}>>> & Readonly<{
|
|
231
179
|
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
|
232
180
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
@@ -236,21 +184,23 @@ declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
236
184
|
}>, {
|
|
237
185
|
filter: string | null;
|
|
238
186
|
loading: boolean;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
conditionals: CustomTableConditionals_2;
|
|
243
|
-
actions: TableAction_2[] | ((row: any) => TableAction_2[]);
|
|
244
|
-
showSkeleton: boolean;
|
|
245
|
-
rowClasses: string | ((row: any) => string);
|
|
246
|
-
selection: "single" | "multiple" | "none";
|
|
187
|
+
persistKey: string;
|
|
188
|
+
pagination: Pagination;
|
|
189
|
+
defaultRowsPerPage: number;
|
|
247
190
|
selected: any[];
|
|
191
|
+
rowKey: string;
|
|
192
|
+
selection: SelectionMode_2;
|
|
248
193
|
selectable: (row: any) => boolean;
|
|
249
194
|
showSelectAll: boolean;
|
|
195
|
+
rowClasses: string | ((row: any) => string);
|
|
196
|
+
services: CustomTableServices;
|
|
197
|
+
conditionals: CustomTableConditionals;
|
|
198
|
+
actions: TableAction[] | ((row: any) => TableAction[]);
|
|
199
|
+
showSkeleton: boolean;
|
|
250
200
|
showColumnToggle: boolean;
|
|
251
201
|
columnStorageKey: string;
|
|
252
|
-
|
|
253
|
-
|
|
202
|
+
multiSort: boolean;
|
|
203
|
+
maxSortFields: number;
|
|
254
204
|
useBuiltInPagination: boolean;
|
|
255
205
|
fetchDataFn: (params?: Record<string, any>) => Promise<any> | void;
|
|
256
206
|
initialParams: Record<string, any>;
|
|
@@ -287,8 +237,6 @@ declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
|
287
237
|
|
|
288
238
|
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
289
239
|
|
|
290
|
-
declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
|
|
291
|
-
|
|
292
240
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
293
241
|
|
|
294
242
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -335,10 +283,6 @@ declare type __VLS_PrettifyLocal_16<T> = {
|
|
|
335
283
|
[K in keyof T]: T[K];
|
|
336
284
|
} & {};
|
|
337
285
|
|
|
338
|
-
declare type __VLS_PrettifyLocal_17<T> = {
|
|
339
|
-
[K in keyof T]: T[K];
|
|
340
|
-
} & {};
|
|
341
|
-
|
|
342
286
|
declare type __VLS_PrettifyLocal_2<T> = {
|
|
343
287
|
[K in keyof T]: T[K];
|
|
344
288
|
} & {};
|
|
@@ -426,32 +370,6 @@ declare function __VLS_template_2(): {
|
|
|
426
370
|
};
|
|
427
371
|
|
|
428
372
|
declare function __VLS_template_3(): {
|
|
429
|
-
attrs: Partial<{}>;
|
|
430
|
-
slots: {
|
|
431
|
-
'selection-actions'?(_: {
|
|
432
|
-
selected: any[];
|
|
433
|
-
clearSelection: typeof clearSelection;
|
|
434
|
-
}): any;
|
|
435
|
-
'expand-button'?(_: {
|
|
436
|
-
row: any;
|
|
437
|
-
expanded: boolean;
|
|
438
|
-
toggle: () => Promise<void>;
|
|
439
|
-
}): any;
|
|
440
|
-
'body-cell'?(_: {
|
|
441
|
-
row: any;
|
|
442
|
-
col: any;
|
|
443
|
-
value: any;
|
|
444
|
-
badgeConfig: BadgeConfig | null;
|
|
445
|
-
}): any;
|
|
446
|
-
expanded?(_: {
|
|
447
|
-
row: any;
|
|
448
|
-
}): any;
|
|
449
|
-
};
|
|
450
|
-
refs: {};
|
|
451
|
-
rootEl: any;
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
declare function __VLS_template_4(): {
|
|
455
373
|
attrs: Partial<{}>;
|
|
456
374
|
slots: {
|
|
457
375
|
default?(_: {}): any;
|
|
@@ -461,7 +379,7 @@ declare function __VLS_template_4(): {
|
|
|
461
379
|
rootEl: any;
|
|
462
380
|
};
|
|
463
381
|
|
|
464
|
-
declare function
|
|
382
|
+
declare function __VLS_template_4(): {
|
|
465
383
|
attrs: Partial<{}>;
|
|
466
384
|
slots: {
|
|
467
385
|
header?(_: {}): any;
|
|
@@ -472,7 +390,7 @@ declare function __VLS_template_5(): {
|
|
|
472
390
|
rootEl: any;
|
|
473
391
|
};
|
|
474
392
|
|
|
475
|
-
declare function
|
|
393
|
+
declare function __VLS_template_5(): {
|
|
476
394
|
attrs: Partial<{}>;
|
|
477
395
|
slots: {
|
|
478
396
|
visible?(_: {}): any;
|
|
@@ -483,12 +401,12 @@ declare function __VLS_template_6(): {
|
|
|
483
401
|
rootEl: HTMLDivElement;
|
|
484
402
|
};
|
|
485
403
|
|
|
486
|
-
declare function
|
|
404
|
+
declare function __VLS_template_6(): {
|
|
487
405
|
attrs: Partial<{}>;
|
|
488
406
|
slots: {
|
|
489
407
|
'selection-actions'?(_: {
|
|
490
408
|
selected: any[];
|
|
491
|
-
clearSelection: typeof
|
|
409
|
+
clearSelection: typeof clearSelection;
|
|
492
410
|
}): any;
|
|
493
411
|
'expand-button'?(_: {
|
|
494
412
|
row: any;
|
|
@@ -521,8 +439,6 @@ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
|
521
439
|
|
|
522
440
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
523
441
|
|
|
524
|
-
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
525
|
-
|
|
526
442
|
declare type __VLS_TypePropsToOption<T> = {
|
|
527
443
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
528
444
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
@@ -658,15 +574,6 @@ declare type __VLS_TypePropsToOption_22<T> = {
|
|
|
658
574
|
};
|
|
659
575
|
};
|
|
660
576
|
|
|
661
|
-
declare type __VLS_TypePropsToOption_23<T> = {
|
|
662
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
663
|
-
type: PropType<__VLS_NonUndefinedable_23<T[K]>>;
|
|
664
|
-
} : {
|
|
665
|
-
type: PropType<T[K]>;
|
|
666
|
-
required: true;
|
|
667
|
-
};
|
|
668
|
-
};
|
|
669
|
-
|
|
670
577
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
671
578
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
672
579
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -778,12 +685,6 @@ declare type __VLS_WithDefaults_16<P, D> = {
|
|
|
778
685
|
}> : P[K];
|
|
779
686
|
};
|
|
780
687
|
|
|
781
|
-
declare type __VLS_WithDefaults_17<P, D> = {
|
|
782
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_17<P[K] & {
|
|
783
|
-
default: D[K];
|
|
784
|
-
}> : P[K];
|
|
785
|
-
};
|
|
786
|
-
|
|
787
688
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
788
689
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
|
|
789
690
|
default: D[K];
|
|
@@ -868,18 +769,16 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
868
769
|
};
|
|
869
770
|
};
|
|
870
771
|
|
|
871
|
-
declare type
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
};
|
|
875
|
-
};
|
|
772
|
+
export declare type ActionPosition = 'row' | 'cell' | 'both';
|
|
773
|
+
|
|
774
|
+
export declare type Align = 'left' | 'right' | 'center';
|
|
876
775
|
|
|
877
|
-
declare interface BadgeConfig {
|
|
776
|
+
export declare interface BadgeConfig {
|
|
878
777
|
color?: string;
|
|
879
778
|
label?: string;
|
|
880
779
|
outline?: boolean;
|
|
881
780
|
rounded?: boolean;
|
|
882
|
-
size?:
|
|
781
|
+
size?: BadgeSize;
|
|
883
782
|
icon?: string;
|
|
884
783
|
class?: string;
|
|
885
784
|
}
|
|
@@ -894,6 +793,8 @@ declare interface BadgeConfig_2 {
|
|
|
894
793
|
class?: string;
|
|
895
794
|
}
|
|
896
795
|
|
|
796
|
+
export declare type BadgeSize = 'sm' | 'md';
|
|
797
|
+
|
|
897
798
|
export declare interface BreadcrumbConfig {
|
|
898
799
|
entity: string;
|
|
899
800
|
dataCy: string;
|
|
@@ -973,9 +874,11 @@ export declare interface CheckboxOption {
|
|
|
973
874
|
|
|
974
875
|
declare function clearSelection(): void;
|
|
975
876
|
|
|
976
|
-
declare
|
|
877
|
+
export declare interface ColumnVisibilityState {
|
|
878
|
+
[columnName: string]: boolean;
|
|
879
|
+
}
|
|
977
880
|
|
|
978
|
-
export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<
|
|
881
|
+
export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_17<ConfirmDeleteDialogProps>, {
|
|
979
882
|
icon: string;
|
|
980
883
|
color: string;
|
|
981
884
|
confirmLabel: string;
|
|
@@ -984,7 +887,7 @@ export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<__VLS
|
|
|
984
887
|
"update:modelValue": (value: boolean) => void;
|
|
985
888
|
confirm: () => void;
|
|
986
889
|
cancel: () => void;
|
|
987
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
890
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_17<ConfirmDeleteDialogProps>, {
|
|
988
891
|
icon: string;
|
|
989
892
|
color: string;
|
|
990
893
|
confirmLabel: string;
|
|
@@ -1030,62 +933,34 @@ export declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
|
|
|
1030
933
|
breadcrumbConfig: BreadcrumbConfig[];
|
|
1031
934
|
}
|
|
1032
935
|
|
|
1033
|
-
export declare const CustomTable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1034
|
-
|
|
1035
936
|
export declare interface CustomTableConditionals {
|
|
1036
|
-
shouldShowExpandButton?: (row: any) => boolean;
|
|
1037
|
-
shouldShowSelectionColumn?: () => boolean;
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
declare interface CustomTableConditionals_2 {
|
|
1041
|
-
shouldShowExpandButton?: (row: any) => boolean;
|
|
937
|
+
shouldShowExpandButton?: (row: Record<string, any>) => boolean;
|
|
1042
938
|
shouldShowSelectionColumn?: () => boolean;
|
|
1043
939
|
}
|
|
1044
940
|
|
|
1045
941
|
export declare interface CustomTableProps {
|
|
1046
942
|
columns: TableColumn[];
|
|
1047
|
-
results
|
|
1048
|
-
filter?: string | null;
|
|
943
|
+
results?: any[];
|
|
1049
944
|
pagination: Pagination;
|
|
1050
945
|
loading?: boolean;
|
|
1051
|
-
|
|
1052
|
-
rowKey?: string;
|
|
1053
|
-
services?: CustomTableServices;
|
|
1054
|
-
conditionals?: CustomTableConditionals;
|
|
1055
|
-
actions?: TableAction[] | ((row: any) => TableAction[]);
|
|
1056
|
-
showSkeleton?: boolean;
|
|
1057
|
-
rowClasses?: string | ((row: any) => string);
|
|
1058
|
-
selection?: 'single' | 'multiple' | 'none';
|
|
946
|
+
filter?: string | null;
|
|
1059
947
|
selected?: any[];
|
|
948
|
+
onRequest?: (props: TableRequestProps) => void;
|
|
1060
949
|
onSelectionChange?: (selected: any[]) => void;
|
|
1061
|
-
selectable?: (row: any) => boolean;
|
|
1062
|
-
showSelectAll?: boolean;
|
|
1063
|
-
showColumnToggle?: boolean;
|
|
1064
|
-
columnStorageKey?: string;
|
|
1065
950
|
onRowDblClick?: (row: any) => void;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
declare interface CustomTableProps_2 {
|
|
1069
|
-
columns: TableColumn_2[];
|
|
1070
|
-
results?: any[];
|
|
1071
|
-
filter?: string | null;
|
|
1072
|
-
pagination: Pagination_2;
|
|
1073
|
-
loading?: boolean;
|
|
1074
|
-
onRequest?: (props: TableRequestProps_2) => void;
|
|
1075
951
|
rowKey?: string;
|
|
1076
|
-
|
|
1077
|
-
conditionals?: CustomTableConditionals_2;
|
|
1078
|
-
actions?: TableAction_2[] | ((row: any) => TableAction_2[]);
|
|
1079
|
-
showSkeleton?: boolean;
|
|
1080
|
-
rowClasses?: string | ((row: any) => string);
|
|
1081
|
-
selection?: 'single' | 'multiple' | 'none';
|
|
1082
|
-
selected?: any[];
|
|
1083
|
-
onSelectionChange?: (selected: any[]) => void;
|
|
952
|
+
selection?: SelectionMode_2;
|
|
1084
953
|
selectable?: (row: any) => boolean;
|
|
1085
954
|
showSelectAll?: boolean;
|
|
955
|
+
rowClasses?: string | ((row: any) => string);
|
|
956
|
+
services?: CustomTableServices;
|
|
957
|
+
conditionals?: CustomTableConditionals;
|
|
958
|
+
actions?: TableAction[] | ((row: any) => TableAction[]);
|
|
959
|
+
showSkeleton?: boolean;
|
|
1086
960
|
showColumnToggle?: boolean;
|
|
1087
961
|
columnStorageKey?: string;
|
|
1088
|
-
|
|
962
|
+
multiSort?: boolean;
|
|
963
|
+
maxSortFields?: number;
|
|
1089
964
|
useBuiltInPagination?: boolean;
|
|
1090
965
|
fetchDataFn?: (params?: Record<string, any>) => Promise<any> | void;
|
|
1091
966
|
persistKey?: string;
|
|
@@ -1095,13 +970,8 @@ declare interface CustomTableProps_2 {
|
|
|
1095
970
|
}
|
|
1096
971
|
|
|
1097
972
|
export declare interface CustomTableServices {
|
|
1098
|
-
fetchDetails?: (row: any) => Promise<any>;
|
|
1099
|
-
redirectToPrm?: (row: any) => void;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
declare interface CustomTableServices_2 {
|
|
1103
|
-
fetchDetails?: (row: any) => Promise<any>;
|
|
1104
|
-
redirectToPrm?: (row: any) => void;
|
|
973
|
+
fetchDetails?: (row: Record<string, any>) => Promise<any>;
|
|
974
|
+
redirectToPrm?: (row: Record<string, any>) => void;
|
|
1105
975
|
}
|
|
1106
976
|
|
|
1107
977
|
export declare const DATE_FORMAT_REGEX: RegExp;
|
|
@@ -1376,7 +1246,7 @@ export declare type DisabledDateObject = {
|
|
|
1376
1246
|
end_date: string | Date;
|
|
1377
1247
|
};
|
|
1378
1248
|
|
|
1379
|
-
export declare const DynamicTeleport:
|
|
1249
|
+
export declare const DynamicTeleport: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1380
1250
|
|
|
1381
1251
|
export declare interface EnergyDot {
|
|
1382
1252
|
size: number;
|
|
@@ -1398,7 +1268,7 @@ export declare interface ExcelExportFilters {
|
|
|
1398
1268
|
[key: string]: string | number | boolean | string[] | null | undefined;
|
|
1399
1269
|
}
|
|
1400
1270
|
|
|
1401
|
-
export declare const ExportButton: DefineComponent<ExtractPropTypes<
|
|
1271
|
+
export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
1402
1272
|
label: string;
|
|
1403
1273
|
color: string;
|
|
1404
1274
|
disabled: boolean;
|
|
@@ -1406,7 +1276,7 @@ export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDe
|
|
|
1406
1276
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1407
1277
|
success: () => void;
|
|
1408
1278
|
error: (error: unknown) => void;
|
|
1409
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1279
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
1410
1280
|
label: string;
|
|
1411
1281
|
color: string;
|
|
1412
1282
|
disabled: boolean;
|
|
@@ -1438,6 +1308,8 @@ export declare function formatDate(dateStr: string): string;
|
|
|
1438
1308
|
|
|
1439
1309
|
export declare function formatDateToDDMMYYYY(date: Date | string): string;
|
|
1440
1310
|
|
|
1311
|
+
export declare function formatToISODateTime(dateString: string | null | undefined): string;
|
|
1312
|
+
|
|
1441
1313
|
export declare function getFirstDayOfMonth(year: number, month: number): Date;
|
|
1442
1314
|
|
|
1443
1315
|
export declare function getLastDayOfMonth(year: number, month: number): Date;
|
|
@@ -1461,12 +1333,12 @@ export declare type LoaderSize = 'small' | 'medium' | 'large';
|
|
|
1461
1333
|
|
|
1462
1334
|
export declare type LoaderVariant = 'spin' | 'pulse' | 'wave';
|
|
1463
1335
|
|
|
1464
|
-
export declare const LoginLayout: DefineComponent<ExtractPropTypes<
|
|
1336
|
+
export declare const LoginLayout: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_13<__VLS_Props_4>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1465
1337
|
login: (credentials: {
|
|
1466
1338
|
username: string;
|
|
1467
1339
|
password: string;
|
|
1468
1340
|
}) => void;
|
|
1469
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1341
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_13<__VLS_Props_4>>> & Readonly<{
|
|
1470
1342
|
onLogin?: ((credentials: {
|
|
1471
1343
|
username: string;
|
|
1472
1344
|
password: string;
|
|
@@ -1508,21 +1380,17 @@ export declare interface NavStore {
|
|
|
1508
1380
|
}
|
|
1509
1381
|
|
|
1510
1382
|
export declare interface Pagination {
|
|
1511
|
-
sortBy?: string;
|
|
1512
|
-
descending?: boolean;
|
|
1513
1383
|
page: number;
|
|
1514
1384
|
rowsPerPage: number;
|
|
1515
1385
|
rowsNumber?: number;
|
|
1516
1386
|
rowsPerPageOptions?: number[];
|
|
1387
|
+
sortBy?: string | string[];
|
|
1388
|
+
descending?: boolean | boolean[];
|
|
1517
1389
|
}
|
|
1518
1390
|
|
|
1519
|
-
declare interface
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
page: number;
|
|
1523
|
-
rowsPerPage: number;
|
|
1524
|
-
rowsNumber?: number;
|
|
1525
|
-
rowsPerPageOptions?: number[];
|
|
1391
|
+
export declare interface PaginationOptions {
|
|
1392
|
+
persistKey?: string;
|
|
1393
|
+
defaultRowsPerPage?: number;
|
|
1526
1394
|
}
|
|
1527
1395
|
|
|
1528
1396
|
export declare function parseDate(dateStr: string): Date;
|
|
@@ -1537,7 +1405,7 @@ export declare interface Particle {
|
|
|
1537
1405
|
opacity: number;
|
|
1538
1406
|
}
|
|
1539
1407
|
|
|
1540
|
-
export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<
|
|
1408
|
+
export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<PersistentDateRangeProps>, {
|
|
1541
1409
|
modelValue: () => {
|
|
1542
1410
|
from: string;
|
|
1543
1411
|
to: string;
|
|
@@ -1572,7 +1440,7 @@ export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS
|
|
|
1572
1440
|
"update:modelValue": (value: DateRangeValue) => void;
|
|
1573
1441
|
clear: () => void;
|
|
1574
1442
|
"update:dateRange": (value: DateRangeValue) => void;
|
|
1575
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1443
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<PersistentDateRangeProps>, {
|
|
1576
1444
|
modelValue: () => {
|
|
1577
1445
|
from: string;
|
|
1578
1446
|
to: string;
|
|
@@ -1662,12 +1530,23 @@ declare interface Props_2 {
|
|
|
1662
1530
|
to?: string;
|
|
1663
1531
|
}
|
|
1664
1532
|
|
|
1665
|
-
export declare const ResetFiltersButton: DefineComponent<ExtractPropTypes<
|
|
1533
|
+
export declare const ResetFiltersButton: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_16<Props>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1666
1534
|
reset: () => void;
|
|
1667
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1535
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_16<Props>>> & Readonly<{
|
|
1668
1536
|
onReset?: (() => any) | undefined;
|
|
1669
1537
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1670
1538
|
|
|
1539
|
+
export declare interface ResponseAPI<T> {
|
|
1540
|
+
results?: T[];
|
|
1541
|
+
result?: T;
|
|
1542
|
+
count?: number;
|
|
1543
|
+
next?: string | null;
|
|
1544
|
+
previous?: string | null;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
declare type SelectionMode_2 = 'single' | 'multiple' | 'none';
|
|
1548
|
+
export { SelectionMode_2 as SelectionMode }
|
|
1549
|
+
|
|
1671
1550
|
export declare interface SelectOption<T = any> {
|
|
1672
1551
|
label: string;
|
|
1673
1552
|
value: string | number | T;
|
|
@@ -1681,7 +1560,7 @@ export declare interface SelectOptionYear {
|
|
|
1681
1560
|
endYear?: number;
|
|
1682
1561
|
}
|
|
1683
1562
|
|
|
1684
|
-
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<
|
|
1563
|
+
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_14<ProjectSelectionProps>, {
|
|
1685
1564
|
projects: () => Project[];
|
|
1686
1565
|
disabledIds: () => never[];
|
|
1687
1566
|
title?: string | undefined;
|
|
@@ -1697,7 +1576,7 @@ export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS
|
|
|
1697
1576
|
particleColor?: string | undefined;
|
|
1698
1577
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1699
1578
|
"project-click": (project: Project) => void;
|
|
1700
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1579
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_14<ProjectSelectionProps>, {
|
|
1701
1580
|
projects: () => Project[];
|
|
1702
1581
|
disabledIds: () => never[];
|
|
1703
1582
|
title?: string | undefined;
|
|
@@ -1772,7 +1651,7 @@ export declare const SelectYear: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
1772
1651
|
label: string;
|
|
1773
1652
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1774
1653
|
|
|
1775
|
-
export declare const SelfeeCard:
|
|
1654
|
+
export declare const SelfeeCard: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1776
1655
|
|
|
1777
1656
|
declare interface SelfeeCardProps {
|
|
1778
1657
|
title?: string;
|
|
@@ -1815,13 +1694,13 @@ export declare interface SelfeeHeaderProps {
|
|
|
1815
1694
|
environment?: string;
|
|
1816
1695
|
}
|
|
1817
1696
|
|
|
1818
|
-
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<
|
|
1697
|
+
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_15<SelfeeLoaderProps>, {
|
|
1819
1698
|
size: string;
|
|
1820
1699
|
variant: string;
|
|
1821
1700
|
text: string;
|
|
1822
1701
|
logoUrl: string;
|
|
1823
1702
|
speed: number;
|
|
1824
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1703
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_15<SelfeeLoaderProps>, {
|
|
1825
1704
|
size: string;
|
|
1826
1705
|
variant: string;
|
|
1827
1706
|
text: string;
|
|
@@ -1843,17 +1722,35 @@ export declare interface SelfeeLoaderProps {
|
|
|
1843
1722
|
speed?: number;
|
|
1844
1723
|
}
|
|
1845
1724
|
|
|
1846
|
-
export declare const SelfeeTable:
|
|
1725
|
+
export declare const SelfeeTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1847
1726
|
|
|
1848
|
-
export declare const SmartFilters:
|
|
1727
|
+
export declare const SmartFilters: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1849
1728
|
|
|
1850
|
-
declare interface SmartFiltersProps {
|
|
1729
|
+
export declare interface SmartFiltersProps {
|
|
1851
1730
|
containerClass?: string;
|
|
1852
1731
|
rowClass?: string;
|
|
1853
1732
|
activeHiddenCount?: number;
|
|
1854
1733
|
hasActiveFilters?: boolean;
|
|
1855
1734
|
}
|
|
1856
1735
|
|
|
1736
|
+
export declare type SortDirection = 'asc' | 'desc' | null;
|
|
1737
|
+
|
|
1738
|
+
export declare interface SortIndicator {
|
|
1739
|
+
direction: SortDirection;
|
|
1740
|
+
order: number;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export declare interface SortItem {
|
|
1744
|
+
field: string;
|
|
1745
|
+
direction: 'asc' | 'desc';
|
|
1746
|
+
order: number;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
export declare interface SortState {
|
|
1750
|
+
sortBy?: string | string[];
|
|
1751
|
+
descending?: boolean | boolean[];
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1857
1754
|
export declare interface Store {
|
|
1858
1755
|
[key: string]: any;
|
|
1859
1756
|
}
|
|
@@ -1870,25 +1767,7 @@ export declare interface TableAction {
|
|
|
1870
1767
|
handler: (row: any) => void;
|
|
1871
1768
|
isButton?: boolean;
|
|
1872
1769
|
buttonProps?: Record<string, any>;
|
|
1873
|
-
position?:
|
|
1874
|
-
columnName?: string;
|
|
1875
|
-
testId?: string | ((row: any) => string);
|
|
1876
|
-
isCancel?: boolean;
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
declare interface TableAction_2 {
|
|
1880
|
-
id: string;
|
|
1881
|
-
label?: string;
|
|
1882
|
-
icon?: string;
|
|
1883
|
-
color?: string;
|
|
1884
|
-
size?: string;
|
|
1885
|
-
class?: string;
|
|
1886
|
-
disabled?: boolean | ((row: any) => boolean);
|
|
1887
|
-
visible?: boolean | ((row: any) => boolean);
|
|
1888
|
-
handler: (row: any) => void;
|
|
1889
|
-
isButton?: boolean;
|
|
1890
|
-
buttonProps?: Record<string, any>;
|
|
1891
|
-
position?: 'row' | 'cell' | 'both';
|
|
1770
|
+
position?: ActionPosition;
|
|
1892
1771
|
columnName?: string;
|
|
1893
1772
|
testId?: string | ((row: any) => string);
|
|
1894
1773
|
isCancel?: boolean;
|
|
@@ -1898,69 +1777,44 @@ export declare interface TableColumn {
|
|
|
1898
1777
|
name: string;
|
|
1899
1778
|
label: string;
|
|
1900
1779
|
field: string | ((row: any) => any);
|
|
1901
|
-
align?:
|
|
1902
|
-
sortable?: boolean;
|
|
1903
|
-
format?: (value: any) => string;
|
|
1904
|
-
isSelectionColumn?: boolean;
|
|
1905
|
-
hidden?: boolean;
|
|
1906
|
-
renderAsBadge?: boolean;
|
|
1907
|
-
badgeColor?: string | ((value: any, row: any) => string);
|
|
1908
|
-
badgeOutline?: boolean;
|
|
1909
|
-
badgeRounded?: boolean;
|
|
1910
|
-
badgeSize?: 'sm' | 'md';
|
|
1911
|
-
badgeClass?: string;
|
|
1912
|
-
badgeMapping?: {
|
|
1913
|
-
[key: string | number]: {
|
|
1914
|
-
color: string;
|
|
1915
|
-
label?: string;
|
|
1916
|
-
icon?: string;
|
|
1917
|
-
outline?: boolean;
|
|
1918
|
-
};
|
|
1919
|
-
};
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
declare interface TableColumn_2 {
|
|
1923
|
-
name: string;
|
|
1924
|
-
label: string;
|
|
1925
|
-
field: string | ((row: any) => any);
|
|
1926
|
-
align?: 'left' | 'right' | 'center';
|
|
1780
|
+
align?: Align;
|
|
1927
1781
|
sortable?: boolean;
|
|
1782
|
+
sortField?: string;
|
|
1928
1783
|
format?: (value: any) => string;
|
|
1929
1784
|
isSelectionColumn?: boolean;
|
|
1930
1785
|
hidden?: boolean;
|
|
1931
1786
|
renderAsBadge?: boolean;
|
|
1932
|
-
badgeColor?: string | ((value: any, row: any) => string);
|
|
1787
|
+
badgeColor?: string | ((value: any, row: Record<string, any>) => string);
|
|
1933
1788
|
badgeOutline?: boolean;
|
|
1934
1789
|
badgeRounded?: boolean;
|
|
1935
|
-
badgeSize?:
|
|
1790
|
+
badgeSize?: BadgeSize;
|
|
1936
1791
|
badgeClass?: string;
|
|
1937
|
-
badgeMapping?: {
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1792
|
+
badgeMapping?: Record<string | number, {
|
|
1793
|
+
color: string;
|
|
1794
|
+
label?: string;
|
|
1795
|
+
icon?: string;
|
|
1796
|
+
outline?: boolean;
|
|
1797
|
+
}>;
|
|
1945
1798
|
}
|
|
1946
1799
|
|
|
1947
1800
|
export declare interface TableRequestProps {
|
|
1948
|
-
pagination: Pagination
|
|
1949
|
-
filter?: string;
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
declare interface TableRequestProps_2 {
|
|
1953
|
-
pagination: Pagination_2;
|
|
1954
|
-
filter?: string;
|
|
1801
|
+
pagination: Required<Pick<Pagination, 'page' | 'rowsPerPage'>> & Partial<Pick<Pagination, 'sortBy' | 'descending'>>;
|
|
1802
|
+
filter?: string | null;
|
|
1803
|
+
force?: boolean;
|
|
1955
1804
|
}
|
|
1956
1805
|
|
|
1957
1806
|
declare function toggleRowSelection(row: any, selected: boolean): void;
|
|
1958
1807
|
|
|
1959
|
-
declare function toggleRowSelection_2(row: any, selected: boolean): void;
|
|
1960
|
-
|
|
1961
1808
|
declare function toggleSelectAll(selected: boolean): void;
|
|
1962
1809
|
|
|
1963
|
-
declare
|
|
1810
|
+
export declare interface UsePaginationReturn<T> {
|
|
1811
|
+
results: Ref<T[]>;
|
|
1812
|
+
pagination: Ref<Pagination>;
|
|
1813
|
+
loading: Ref<boolean>;
|
|
1814
|
+
filter: Ref<string | null>;
|
|
1815
|
+
filterSelected: Ref<Record<string, string | number | null | string[] | boolean>>;
|
|
1816
|
+
onRequest: (props: TableRequestProps) => Promise<void>;
|
|
1817
|
+
}
|
|
1964
1818
|
|
|
1965
1819
|
export declare const UserAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_8<UserAvatarProps>, {
|
|
1966
1820
|
logoutLabel: string;
|