@selfeesas/shared-components 0.4.10 → 0.4.12
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/README.md +1 -0
- package/dist/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +31 -31
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +53 -2
- package/dist/shared-components.es.js +11289 -11263
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/variables.scss +1 -1
|
@@ -50,6 +50,8 @@ declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
|
|
|
50
50
|
|
|
51
51
|
declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
|
|
52
52
|
|
|
53
|
+
declare type __VLS_NonUndefinedable_14<T> = T extends undefined ? never : T;
|
|
54
|
+
|
|
53
55
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
54
56
|
|
|
55
57
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
@@ -98,6 +100,10 @@ declare type __VLS_PrettifyLocal_8<T> = {
|
|
|
98
100
|
[K in keyof T]: T[K];
|
|
99
101
|
} & {};
|
|
100
102
|
|
|
103
|
+
declare type __VLS_PrettifyLocal_9<T> = {
|
|
104
|
+
[K in keyof T]: T[K];
|
|
105
|
+
} & {};
|
|
106
|
+
|
|
101
107
|
declare type __VLS_Props = CheckboxFilterProps & {
|
|
102
108
|
dataCy?: string;
|
|
103
109
|
};
|
|
@@ -218,6 +224,15 @@ declare type __VLS_TypePropsToOption_13<T> = {
|
|
|
218
224
|
};
|
|
219
225
|
};
|
|
220
226
|
|
|
227
|
+
declare type __VLS_TypePropsToOption_14<T> = {
|
|
228
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
229
|
+
type: PropType<__VLS_NonUndefinedable_14<T[K]>>;
|
|
230
|
+
} : {
|
|
231
|
+
type: PropType<T[K]>;
|
|
232
|
+
required: true;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
|
|
221
236
|
declare type __VLS_TypePropsToOption_2<T> = {
|
|
222
237
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
223
238
|
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
@@ -338,6 +353,12 @@ declare type __VLS_WithDefaults_8<P, D> = {
|
|
|
338
353
|
}> : P[K];
|
|
339
354
|
};
|
|
340
355
|
|
|
356
|
+
declare type __VLS_WithDefaults_9<P, D> = {
|
|
357
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_9<P[K] & {
|
|
358
|
+
default: D[K];
|
|
359
|
+
}> : P[K];
|
|
360
|
+
};
|
|
361
|
+
|
|
341
362
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
342
363
|
new (): {
|
|
343
364
|
$slots: S;
|
|
@@ -709,6 +730,10 @@ declare interface LayoutProps {
|
|
|
709
730
|
pageContainerClass?: string;
|
|
710
731
|
}
|
|
711
732
|
|
|
733
|
+
declare type LoaderSize = 'small' | 'medium' | 'large';
|
|
734
|
+
|
|
735
|
+
declare type LoaderVariant = 'spin' | 'pulse' | 'wave';
|
|
736
|
+
|
|
712
737
|
export declare const LoginLayout: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
713
738
|
login: (credentials: {
|
|
714
739
|
username: string;
|
|
@@ -874,6 +899,34 @@ declare interface SelfeeHeaderProps {
|
|
|
874
899
|
logoTo?: string;
|
|
875
900
|
}
|
|
876
901
|
|
|
902
|
+
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
903
|
+
size: string;
|
|
904
|
+
variant: string;
|
|
905
|
+
text: string;
|
|
906
|
+
logoUrl: string;
|
|
907
|
+
speed: number;
|
|
908
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToOption_14<SelfeeLoaderProps>, {
|
|
909
|
+
size: string;
|
|
910
|
+
variant: string;
|
|
911
|
+
text: string;
|
|
912
|
+
logoUrl: string;
|
|
913
|
+
speed: number;
|
|
914
|
+
}>>> & Readonly<{}>, {
|
|
915
|
+
size: LoaderSize;
|
|
916
|
+
text: string;
|
|
917
|
+
variant: LoaderVariant;
|
|
918
|
+
logoUrl: string;
|
|
919
|
+
speed: number;
|
|
920
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
921
|
+
|
|
922
|
+
declare interface SelfeeLoaderProps {
|
|
923
|
+
size?: LoaderSize;
|
|
924
|
+
variant?: LoaderVariant;
|
|
925
|
+
text?: string;
|
|
926
|
+
logoUrl?: string;
|
|
927
|
+
speed?: number;
|
|
928
|
+
}
|
|
929
|
+
|
|
877
930
|
export declare interface Store {
|
|
878
931
|
[key: string]: any;
|
|
879
932
|
}
|
|
@@ -918,6 +971,4 @@ declare interface UserAvatarProps {
|
|
|
918
971
|
logoutLabel?: string;
|
|
919
972
|
}
|
|
920
973
|
|
|
921
|
-
export declare function validateDateRange(range: DateRangeType): boolean;
|
|
922
|
-
|
|
923
974
|
export { }
|