@selfeesas/shared-components 0.4.25 → 0.4.26
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 +45 -13
- package/dist/shared-components.es.js +2455 -2429
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ 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;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_component_3: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
27
27
|
actions: () => never[];
|
|
28
28
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
29
|
"update:pagination": (...args: any[]) => void;
|
|
30
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
30
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToOption_11<CustomTableProps>, {
|
|
31
31
|
filter: string;
|
|
32
32
|
loading: boolean;
|
|
33
33
|
rowKey: string;
|
|
@@ -79,6 +79,10 @@ declare type __VLS_PrettifyLocal<T> = {
|
|
|
79
79
|
[K in keyof T]: T[K];
|
|
80
80
|
} & {};
|
|
81
81
|
|
|
82
|
+
declare type __VLS_PrettifyLocal_10<T> = {
|
|
83
|
+
[K in keyof T]: T[K];
|
|
84
|
+
} & {};
|
|
85
|
+
|
|
82
86
|
declare type __VLS_PrettifyLocal_2<T> = {
|
|
83
87
|
[K in keyof T]: T[K];
|
|
84
88
|
} & {};
|
|
@@ -329,6 +333,12 @@ declare type __VLS_WithDefaults<P, D> = {
|
|
|
329
333
|
}> : P[K];
|
|
330
334
|
};
|
|
331
335
|
|
|
336
|
+
declare type __VLS_WithDefaults_10<P, D> = {
|
|
337
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_10<P[K] & {
|
|
338
|
+
default: D[K];
|
|
339
|
+
}> : P[K];
|
|
340
|
+
};
|
|
341
|
+
|
|
332
342
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
333
343
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
|
|
334
344
|
default: D[K];
|
|
@@ -521,7 +531,7 @@ export declare const DATE_FORMAT_REGEX: RegExp;
|
|
|
521
531
|
|
|
522
532
|
declare type DateInput = string | Date;
|
|
523
533
|
|
|
524
|
-
export declare const DatePicker: DefineComponent<ExtractPropTypes<
|
|
534
|
+
export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_9<DatePickerProps>, {
|
|
525
535
|
label: string;
|
|
526
536
|
date: string;
|
|
527
537
|
required: boolean;
|
|
@@ -535,7 +545,7 @@ export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
535
545
|
closeLabel: string;
|
|
536
546
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
537
547
|
"update:date": (value: string) => void;
|
|
538
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
548
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_9<DatePickerProps>, {
|
|
539
549
|
label: string;
|
|
540
550
|
date: string;
|
|
541
551
|
required: boolean;
|
|
@@ -577,7 +587,7 @@ export declare interface DatePickerProps {
|
|
|
577
587
|
closeLabel?: string;
|
|
578
588
|
}
|
|
579
589
|
|
|
580
|
-
export declare const DateRange: DefineComponent<ExtractPropTypes<
|
|
590
|
+
export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToOption_10<DateRangeProps>, {
|
|
581
591
|
from: string;
|
|
582
592
|
to: string;
|
|
583
593
|
labelStart: string;
|
|
@@ -602,7 +612,7 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
|
|
|
602
612
|
from: string;
|
|
603
613
|
to: string;
|
|
604
614
|
}) => void;
|
|
605
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
615
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToOption_10<DateRangeProps>, {
|
|
606
616
|
from: string;
|
|
607
617
|
to: string;
|
|
608
618
|
labelStart: string;
|
|
@@ -722,7 +732,7 @@ export declare interface ExcelExportFilters {
|
|
|
722
732
|
[key: string]: string | number | boolean | string[] | null | undefined;
|
|
723
733
|
}
|
|
724
734
|
|
|
725
|
-
export declare const ExportButton: DefineComponent<ExtractPropTypes<
|
|
735
|
+
export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
726
736
|
label: string;
|
|
727
737
|
color: string;
|
|
728
738
|
disabled: boolean;
|
|
@@ -730,7 +740,7 @@ export declare const ExportButton: DefineComponent<ExtractPropTypes<__VLS_WithDe
|
|
|
730
740
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
731
741
|
success: () => void;
|
|
732
742
|
error: (error: unknown) => void;
|
|
733
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
743
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_12<__VLS_Props_3>, {
|
|
734
744
|
label: string;
|
|
735
745
|
color: string;
|
|
736
746
|
disabled: boolean;
|
|
@@ -876,7 +886,7 @@ export declare interface SelectOption<T = any> {
|
|
|
876
886
|
[key: string]: any;
|
|
877
887
|
}
|
|
878
888
|
|
|
879
|
-
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<
|
|
889
|
+
export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
|
|
880
890
|
projects: () => Project[];
|
|
881
891
|
disabledIds: () => never[];
|
|
882
892
|
title?: string | undefined;
|
|
@@ -892,7 +902,7 @@ export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS
|
|
|
892
902
|
particleColor?: string | undefined;
|
|
893
903
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
894
904
|
"project-click": (project: Project) => void;
|
|
895
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
905
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
|
|
896
906
|
projects: () => Project[];
|
|
897
907
|
disabledIds: () => never[];
|
|
898
908
|
title?: string | undefined;
|
|
@@ -972,13 +982,13 @@ export declare interface SelfeeHeaderProps {
|
|
|
972
982
|
currentPath?: string;
|
|
973
983
|
}
|
|
974
984
|
|
|
975
|
-
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<
|
|
985
|
+
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
976
986
|
size: string;
|
|
977
987
|
variant: string;
|
|
978
988
|
text: string;
|
|
979
989
|
logoUrl: string;
|
|
980
990
|
speed: number;
|
|
981
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<
|
|
991
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
982
992
|
size: string;
|
|
983
993
|
variant: string;
|
|
984
994
|
text: string;
|
|
@@ -1036,12 +1046,34 @@ export declare interface TableRequestProps {
|
|
|
1036
1046
|
filter?: string;
|
|
1037
1047
|
}
|
|
1038
1048
|
|
|
1039
|
-
export declare const UserAvatar: DefineComponent<ExtractPropTypes<
|
|
1049
|
+
export declare const UserAvatar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToOption_7<UserAvatarProps>, {
|
|
1050
|
+
logoutLabel: string;
|
|
1051
|
+
showVersionInfo: boolean;
|
|
1052
|
+
frontVersion: string;
|
|
1053
|
+
backVersion: string;
|
|
1054
|
+
platform: string;
|
|
1055
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToOption_7<UserAvatarProps>, {
|
|
1056
|
+
logoutLabel: string;
|
|
1057
|
+
showVersionInfo: boolean;
|
|
1058
|
+
frontVersion: string;
|
|
1059
|
+
backVersion: string;
|
|
1060
|
+
platform: string;
|
|
1061
|
+
}>>> & Readonly<{}>, {
|
|
1062
|
+
frontVersion: string;
|
|
1063
|
+
backVersion: string;
|
|
1064
|
+
platform: string;
|
|
1065
|
+
logoutLabel: string;
|
|
1066
|
+
showVersionInfo: boolean;
|
|
1067
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1040
1068
|
|
|
1041
1069
|
export declare interface UserAvatarProps {
|
|
1042
1070
|
username: string;
|
|
1043
1071
|
onLogout: () => void;
|
|
1044
1072
|
logoutLabel?: string;
|
|
1073
|
+
frontVersion?: string;
|
|
1074
|
+
backVersion?: string;
|
|
1075
|
+
platform?: string;
|
|
1076
|
+
showVersionInfo?: boolean;
|
|
1045
1077
|
}
|
|
1046
1078
|
|
|
1047
1079
|
export { }
|