@selfeesas/shared-components 1.5.4 → 1.7.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/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +16 -16
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +134 -12
- package/dist/shared-components.es.js +2650 -2486
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,10 +19,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsT
|
|
|
19
19
|
|
|
20
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>;
|
|
21
21
|
|
|
22
|
-
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<
|
|
22
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<Props_2>, {
|
|
23
23
|
to: string;
|
|
24
24
|
useDiv: boolean;
|
|
25
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
25
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToOption_20<Props_2>, {
|
|
26
26
|
to: string;
|
|
27
27
|
useDiv: boolean;
|
|
28
28
|
}>>> & Readonly<{}>, {
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
30
30
|
useDiv: boolean;
|
|
31
31
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
|
|
33
|
-
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<
|
|
33
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SelfeeCardProps>, {
|
|
34
34
|
showHeader: boolean;
|
|
35
35
|
colorScheme: string;
|
|
36
36
|
shadowIntensity: string;
|
|
@@ -45,7 +45,7 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
45
45
|
subtitle: string;
|
|
46
46
|
title: string;
|
|
47
47
|
contentGap: boolean;
|
|
48
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
48
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToOption_21<SelfeeCardProps>, {
|
|
49
49
|
showHeader: boolean;
|
|
50
50
|
colorScheme: string;
|
|
51
51
|
shadowIntensity: string;
|
|
@@ -77,14 +77,14 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
77
77
|
contentGap: boolean | string;
|
|
78
78
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
79
79
|
|
|
80
|
-
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<
|
|
80
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<SmartFiltersProps>, {
|
|
81
81
|
containerClass: string;
|
|
82
82
|
rowClass: string;
|
|
83
83
|
activeHiddenCount: number;
|
|
84
84
|
hasActiveFilters: boolean;
|
|
85
85
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
86
86
|
reset: () => void;
|
|
87
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
87
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToOption_22<SmartFiltersProps>, {
|
|
88
88
|
containerClass: string;
|
|
89
89
|
rowClass: string;
|
|
90
90
|
activeHiddenCount: number;
|
|
@@ -98,7 +98,7 @@ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
98
98
|
activeHiddenCount: number;
|
|
99
99
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
100
100
|
|
|
101
|
-
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<
|
|
101
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<CustomTableProps>, {
|
|
102
102
|
filter: null;
|
|
103
103
|
loading: boolean;
|
|
104
104
|
pagination: () => {
|
|
@@ -147,7 +147,7 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
147
147
|
"selection-change": (...args: any[]) => void;
|
|
148
148
|
"data-loaded": (...args: any[]) => void;
|
|
149
149
|
"loading-change": (...args: any[]) => void;
|
|
150
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
150
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToOption_24<CustomTableProps>, {
|
|
151
151
|
filter: null;
|
|
152
152
|
loading: boolean;
|
|
153
153
|
pagination: () => {
|
|
@@ -208,14 +208,14 @@ declare const __VLS_component_6: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
208
208
|
filterSelected: Record<string, any>;
|
|
209
209
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
210
210
|
|
|
211
|
-
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<
|
|
211
|
+
declare const __VLS_component_7: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<StatCardProps>, {
|
|
212
212
|
size: string;
|
|
213
213
|
titleSize: string;
|
|
214
214
|
iconColor: string;
|
|
215
215
|
iconSize: string;
|
|
216
216
|
bodySize: string;
|
|
217
217
|
subtitleSize: string;
|
|
218
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
218
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToOption_25<StatCardProps>, {
|
|
219
219
|
size: string;
|
|
220
220
|
titleSize: string;
|
|
221
221
|
iconColor: string;
|
|
@@ -265,6 +265,10 @@ declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
|
|
|
265
265
|
|
|
266
266
|
declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
|
|
267
267
|
|
|
268
|
+
declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
|
|
269
|
+
|
|
270
|
+
declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
|
|
271
|
+
|
|
268
272
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
269
273
|
|
|
270
274
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -319,10 +323,18 @@ declare type __VLS_PrettifyLocal_18<T> = {
|
|
|
319
323
|
[K in keyof T]: T[K];
|
|
320
324
|
} & {};
|
|
321
325
|
|
|
326
|
+
declare type __VLS_PrettifyLocal_19<T> = {
|
|
327
|
+
[K in keyof T]: T[K];
|
|
328
|
+
} & {};
|
|
329
|
+
|
|
322
330
|
declare type __VLS_PrettifyLocal_2<T> = {
|
|
323
331
|
[K in keyof T]: T[K];
|
|
324
332
|
} & {};
|
|
325
333
|
|
|
334
|
+
declare type __VLS_PrettifyLocal_20<T> = {
|
|
335
|
+
[K in keyof T]: T[K];
|
|
336
|
+
} & {};
|
|
337
|
+
|
|
326
338
|
declare type __VLS_PrettifyLocal_3<T> = {
|
|
327
339
|
[K in keyof T]: T[K];
|
|
328
340
|
} & {};
|
|
@@ -640,6 +652,24 @@ declare type __VLS_TypePropsToOption_24<T> = {
|
|
|
640
652
|
};
|
|
641
653
|
};
|
|
642
654
|
|
|
655
|
+
declare type __VLS_TypePropsToOption_25<T> = {
|
|
656
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
657
|
+
type: PropType<__VLS_NonUndefinedable_25<T[K]>>;
|
|
658
|
+
} : {
|
|
659
|
+
type: PropType<T[K]>;
|
|
660
|
+
required: true;
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
declare type __VLS_TypePropsToOption_26<T> = {
|
|
665
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
666
|
+
type: PropType<__VLS_NonUndefinedable_26<T[K]>>;
|
|
667
|
+
} : {
|
|
668
|
+
type: PropType<T[K]>;
|
|
669
|
+
required: true;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
|
|
643
673
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
644
674
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
645
675
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -763,12 +793,24 @@ declare type __VLS_WithDefaults_18<P, D> = {
|
|
|
763
793
|
}> : P[K];
|
|
764
794
|
};
|
|
765
795
|
|
|
796
|
+
declare type __VLS_WithDefaults_19<P, D> = {
|
|
797
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_19<P[K] & {
|
|
798
|
+
default: D[K];
|
|
799
|
+
}> : P[K];
|
|
800
|
+
};
|
|
801
|
+
|
|
766
802
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
767
803
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
|
|
768
804
|
default: D[K];
|
|
769
805
|
}> : P[K];
|
|
770
806
|
};
|
|
771
807
|
|
|
808
|
+
declare type __VLS_WithDefaults_20<P, D> = {
|
|
809
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_20<P[K] & {
|
|
810
|
+
default: D[K];
|
|
811
|
+
}> : P[K];
|
|
812
|
+
};
|
|
813
|
+
|
|
772
814
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
773
815
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
|
|
774
816
|
default: D[K];
|
|
@@ -1393,6 +1435,51 @@ export declare interface ExportButtonProps<T = any> {
|
|
|
1393
1435
|
onError?: (error: unknown) => void;
|
|
1394
1436
|
}
|
|
1395
1437
|
|
|
1438
|
+
export declare const ExportDataButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
|
|
1439
|
+
label: string;
|
|
1440
|
+
color: string;
|
|
1441
|
+
disabled: boolean;
|
|
1442
|
+
sheetName: string;
|
|
1443
|
+
beforeExport: undefined;
|
|
1444
|
+
onSuccess: undefined;
|
|
1445
|
+
onError: undefined;
|
|
1446
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1447
|
+
success: () => void;
|
|
1448
|
+
error: (error: unknown) => void;
|
|
1449
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToOption_26<ExportDataButtonProps>, {
|
|
1450
|
+
label: string;
|
|
1451
|
+
color: string;
|
|
1452
|
+
disabled: boolean;
|
|
1453
|
+
sheetName: string;
|
|
1454
|
+
beforeExport: undefined;
|
|
1455
|
+
onSuccess: undefined;
|
|
1456
|
+
onError: undefined;
|
|
1457
|
+
}>>> & Readonly<{
|
|
1458
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
1459
|
+
onSuccess?: (() => any) | undefined;
|
|
1460
|
+
}>, {
|
|
1461
|
+
disabled: boolean;
|
|
1462
|
+
color: string;
|
|
1463
|
+
label: string;
|
|
1464
|
+
onError: (error: unknown) => void;
|
|
1465
|
+
beforeExport: () => Promise<void> | void;
|
|
1466
|
+
onSuccess: () => void;
|
|
1467
|
+
sheetName: string;
|
|
1468
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1469
|
+
|
|
1470
|
+
export declare interface ExportDataButtonProps {
|
|
1471
|
+
fileName: string;
|
|
1472
|
+
columns: string[];
|
|
1473
|
+
values: Record<string, string | number>[];
|
|
1474
|
+
sheetName?: string;
|
|
1475
|
+
label?: string;
|
|
1476
|
+
color?: string;
|
|
1477
|
+
disabled?: boolean;
|
|
1478
|
+
beforeExport?: () => Promise<void> | void;
|
|
1479
|
+
onSuccess?: () => void;
|
|
1480
|
+
onError?: (error: unknown) => void;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1396
1483
|
export declare const ExportPerimeterButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_13<ExportPerimeterButtonProps>, {
|
|
1397
1484
|
label: string;
|
|
1398
1485
|
disabled: boolean;
|
|
@@ -1440,6 +1527,41 @@ export declare function getLastThreeFullMonths(currentDate?: Date): {
|
|
|
1440
1527
|
to: string;
|
|
1441
1528
|
};
|
|
1442
1529
|
|
|
1530
|
+
export declare interface ImportError {
|
|
1531
|
+
line?: number | null;
|
|
1532
|
+
message: string;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export declare const ImportErrorsDialog: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<ImportErrorsDialogProps>, {
|
|
1536
|
+
title: string;
|
|
1537
|
+
subtitle: undefined;
|
|
1538
|
+
lineLabel: string;
|
|
1539
|
+
closeLabel: string;
|
|
1540
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1541
|
+
"update:modelValue": (value: boolean) => void;
|
|
1542
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_19<ImportErrorsDialogProps>, {
|
|
1543
|
+
title: string;
|
|
1544
|
+
subtitle: undefined;
|
|
1545
|
+
lineLabel: string;
|
|
1546
|
+
closeLabel: string;
|
|
1547
|
+
}>>> & Readonly<{
|
|
1548
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1549
|
+
}>, {
|
|
1550
|
+
title: string;
|
|
1551
|
+
closeLabel: string;
|
|
1552
|
+
subtitle: string;
|
|
1553
|
+
lineLabel: string;
|
|
1554
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1555
|
+
|
|
1556
|
+
export declare interface ImportErrorsDialogProps {
|
|
1557
|
+
modelValue: boolean;
|
|
1558
|
+
errors: ImportError[];
|
|
1559
|
+
title?: string;
|
|
1560
|
+
subtitle?: string;
|
|
1561
|
+
lineLabel?: string;
|
|
1562
|
+
closeLabel?: string;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1443
1565
|
export declare function isDateSelectable(date: DateInput, minDateProps?: DateInput | null, maxDateProps?: DateInput | null, datesDisabled?: DisabledDate[]): boolean;
|
|
1444
1566
|
|
|
1445
1567
|
export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
@@ -1537,7 +1659,7 @@ export declare interface Particle {
|
|
|
1537
1659
|
opacity: number;
|
|
1538
1660
|
}
|
|
1539
1661
|
|
|
1540
|
-
export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<
|
|
1662
|
+
export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<PersistentDateRangeProps>, {
|
|
1541
1663
|
modelValue: () => {
|
|
1542
1664
|
from: string;
|
|
1543
1665
|
to: string;
|
|
@@ -1572,7 +1694,7 @@ export declare const PersistentDateRange: DefineComponent<ExtractPropTypes<__VLS
|
|
|
1572
1694
|
"update:modelValue": (value: DateRangeValue) => void;
|
|
1573
1695
|
clear: () => void;
|
|
1574
1696
|
"update:dateRange": (value: DateRangeValue) => void;
|
|
1575
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
1697
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<PersistentDateRangeProps>, {
|
|
1576
1698
|
modelValue: () => {
|
|
1577
1699
|
from: string;
|
|
1578
1700
|
to: string;
|