@selfeesas/shared-components 0.4.25 → 0.4.27
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 +12 -12
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +49 -13
- package/dist/shared-components.es.js +1292 -1269
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,22 +18,24 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsT
|
|
|
18
18
|
|
|
19
19
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_8<LayoutProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_8<LayoutProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
|
|
21
|
-
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<
|
|
21
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToOption_11<CustomTableProps>, {
|
|
22
22
|
filter: string;
|
|
23
23
|
loading: boolean;
|
|
24
24
|
rowKey: string;
|
|
25
25
|
services: () => {};
|
|
26
26
|
conditionals: () => {};
|
|
27
27
|
actions: () => never[];
|
|
28
|
+
rowClasses: undefined;
|
|
28
29
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
30
|
"update:pagination": (...args: any[]) => void;
|
|
30
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
31
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToOption_11<CustomTableProps>, {
|
|
31
32
|
filter: string;
|
|
32
33
|
loading: boolean;
|
|
33
34
|
rowKey: string;
|
|
34
35
|
services: () => {};
|
|
35
36
|
conditionals: () => {};
|
|
36
37
|
actions: () => never[];
|
|
38
|
+
rowClasses: undefined;
|
|
37
39
|
}>>> & Readonly<{
|
|
38
40
|
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
|
39
41
|
}>, {
|
|
@@ -43,6 +45,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
43
45
|
services: CustomTableServices;
|
|
44
46
|
conditionals: CustomTableConditionals;
|
|
45
47
|
actions: TableAction[] | ((row: any) => TableAction[]);
|
|
48
|
+
rowClasses: string | ((row: any) => string);
|
|
46
49
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
47
50
|
|
|
48
51
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -79,6 +82,10 @@ declare type __VLS_PrettifyLocal<T> = {
|
|
|
79
82
|
[K in keyof T]: T[K];
|
|
80
83
|
} & {};
|
|
81
84
|
|
|
85
|
+
declare type __VLS_PrettifyLocal_10<T> = {
|
|
86
|
+
[K in keyof T]: T[K];
|
|
87
|
+
} & {};
|
|
88
|
+
|
|
82
89
|
declare type __VLS_PrettifyLocal_2<T> = {
|
|
83
90
|
[K in keyof T]: T[K];
|
|
84
91
|
} & {};
|
|
@@ -329,6 +336,12 @@ declare type __VLS_WithDefaults<P, D> = {
|
|
|
329
336
|
}> : P[K];
|
|
330
337
|
};
|
|
331
338
|
|
|
339
|
+
declare type __VLS_WithDefaults_10<P, D> = {
|
|
340
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_10<P[K] & {
|
|
341
|
+
default: D[K];
|
|
342
|
+
}> : P[K];
|
|
343
|
+
};
|
|
344
|
+
|
|
332
345
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
333
346
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
|
|
334
347
|
default: D[K];
|
|
@@ -510,6 +523,7 @@ export declare interface CustomTableProps {
|
|
|
510
523
|
conditionals?: CustomTableConditionals;
|
|
511
524
|
actions?: TableAction[] | ((row: any) => TableAction[]);
|
|
512
525
|
showSkeleton?: boolean;
|
|
526
|
+
rowClasses?: string | ((row: any) => string);
|
|
513
527
|
}
|
|
514
528
|
|
|
515
529
|
export declare interface CustomTableServices {
|
|
@@ -521,7 +535,7 @@ export declare const DATE_FORMAT_REGEX: RegExp;
|
|
|
521
535
|
|
|
522
536
|
declare type DateInput = string | Date;
|
|
523
537
|
|
|
524
|
-
export declare const DatePicker: DefineComponent<ExtractPropTypes<
|
|
538
|
+
export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_9<DatePickerProps>, {
|
|
525
539
|
label: string;
|
|
526
540
|
date: string;
|
|
527
541
|
required: boolean;
|
|
@@ -535,7 +549,7 @@ export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
535
549
|
closeLabel: string;
|
|
536
550
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
537
551
|
"update:date": (value: string) => void;
|
|
538
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
552
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_9<DatePickerProps>, {
|
|
539
553
|
label: string;
|
|
540
554
|
date: string;
|
|
541
555
|
required: boolean;
|
|
@@ -577,7 +591,7 @@ export declare interface DatePickerProps {
|
|
|
577
591
|
closeLabel?: string;
|
|
578
592
|
}
|
|
579
593
|
|
|
580
|
-
export declare const DateRange: DefineComponent<ExtractPropTypes<
|
|
594
|
+
export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToOption_10<DateRangeProps>, {
|
|
581
595
|
from: string;
|
|
582
596
|
to: string;
|
|
583
597
|
labelStart: string;
|
|
@@ -602,7 +616,7 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
|
|
|
602
616
|
from: string;
|
|
603
617
|
to: string;
|
|
604
618
|
}) => void;
|
|
605
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
619
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToOption_10<DateRangeProps>, {
|
|
606
620
|
from: string;
|
|
607
621
|
to: string;
|
|
608
622
|
labelStart: string;
|
|
@@ -722,7 +736,7 @@ export declare interface ExcelExportFilters {
|
|
|
722
736
|
[key: string]: string | number | boolean | string[] | null | undefined;
|
|
723
737
|
}
|
|
724
738
|
|
|
725
|
-
export declare const ExportButton: DefineComponent<ExtractPropTypes<
|
|
739
|
+
export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
726
740
|
label: string;
|
|
727
741
|
color: string;
|
|
728
742
|
disabled: boolean;
|
|
@@ -730,7 +744,7 @@ export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDe
|
|
|
730
744
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
731
745
|
success: () => void;
|
|
732
746
|
error: (error: unknown) => void;
|
|
733
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
747
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
734
748
|
label: string;
|
|
735
749
|
color: string;
|
|
736
750
|
disabled: boolean;
|
|
@@ -876,7 +890,7 @@ export declare interface SelectOption<T = any> {
|
|
|
876
890
|
[key: string]: any;
|
|
877
891
|
}
|
|
878
892
|
|
|
879
|
-
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<
|
|
893
|
+
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
|
|
880
894
|
projects: () => Project[];
|
|
881
895
|
disabledIds: () => never[];
|
|
882
896
|
title?: string | undefined;
|
|
@@ -892,7 +906,7 @@ export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS
|
|
|
892
906
|
particleColor?: string | undefined;
|
|
893
907
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
894
908
|
"project-click": (project: Project) => void;
|
|
895
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
909
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
|
|
896
910
|
projects: () => Project[];
|
|
897
911
|
disabledIds: () => never[];
|
|
898
912
|
title?: string | undefined;
|
|
@@ -972,13 +986,13 @@ export declare interface SelfeeHeaderProps {
|
|
|
972
986
|
currentPath?: string;
|
|
973
987
|
}
|
|
974
988
|
|
|
975
|
-
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<
|
|
989
|
+
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
976
990
|
size: string;
|
|
977
991
|
variant: string;
|
|
978
992
|
text: string;
|
|
979
993
|
logoUrl: string;
|
|
980
994
|
speed: number;
|
|
981
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
995
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
982
996
|
size: string;
|
|
983
997
|
variant: string;
|
|
984
998
|
text: string;
|
|
@@ -1036,12 +1050,34 @@ export declare interface TableRequestProps {
|
|
|
1036
1050
|
filter?: string;
|
|
1037
1051
|
}
|
|
1038
1052
|
|
|
1039
|
-
export declare const UserAvatar: DefineComponent<ExtractPropTypes<
|
|
1053
|
+
export declare const UserAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToOption_7<UserAvatarProps>, {
|
|
1054
|
+
logoutLabel: string;
|
|
1055
|
+
showVersionInfo: boolean;
|
|
1056
|
+
frontVersion: string;
|
|
1057
|
+
backVersion: string;
|
|
1058
|
+
platform: string;
|
|
1059
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToOption_7<UserAvatarProps>, {
|
|
1060
|
+
logoutLabel: string;
|
|
1061
|
+
showVersionInfo: boolean;
|
|
1062
|
+
frontVersion: string;
|
|
1063
|
+
backVersion: string;
|
|
1064
|
+
platform: string;
|
|
1065
|
+
}>>> & Readonly<{}>, {
|
|
1066
|
+
frontVersion: string;
|
|
1067
|
+
backVersion: string;
|
|
1068
|
+
platform: string;
|
|
1069
|
+
logoutLabel: string;
|
|
1070
|
+
showVersionInfo: boolean;
|
|
1071
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1040
1072
|
|
|
1041
1073
|
export declare interface UserAvatarProps {
|
|
1042
1074
|
username: string;
|
|
1043
1075
|
onLogout: () => void;
|
|
1044
1076
|
logoutLabel?: string;
|
|
1077
|
+
frontVersion?: string;
|
|
1078
|
+
backVersion?: string;
|
|
1079
|
+
platform?: string;
|
|
1080
|
+
showVersionInfo?: boolean;
|
|
1045
1081
|
}
|
|
1046
1082
|
|
|
1047
1083
|
export { }
|