@selfeesas/shared-components 1.4.9 → 1.5.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 +3 -3
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +82 -0
- package/dist/shared-components.es.js +1110 -1038
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -208,6 +208,29 @@ 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<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<StatCardProps>, {
|
|
212
|
+
size: string;
|
|
213
|
+
titleSize: string;
|
|
214
|
+
iconColor: string;
|
|
215
|
+
iconSize: string;
|
|
216
|
+
bodySize: string;
|
|
217
|
+
subtitleSize: string;
|
|
218
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToOption_23<StatCardProps>, {
|
|
219
|
+
size: string;
|
|
220
|
+
titleSize: string;
|
|
221
|
+
iconColor: string;
|
|
222
|
+
iconSize: string;
|
|
223
|
+
bodySize: string;
|
|
224
|
+
subtitleSize: string;
|
|
225
|
+
}>>> & Readonly<{}>, {
|
|
226
|
+
size: Size;
|
|
227
|
+
iconColor: string;
|
|
228
|
+
titleSize: Size;
|
|
229
|
+
iconSize: Size;
|
|
230
|
+
bodySize: Size;
|
|
231
|
+
subtitleSize: Size;
|
|
232
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
233
|
+
|
|
211
234
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
212
235
|
|
|
213
236
|
declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
|
|
@@ -238,6 +261,8 @@ declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
|
238
261
|
|
|
239
262
|
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
240
263
|
|
|
264
|
+
declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
|
|
265
|
+
|
|
241
266
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
242
267
|
|
|
243
268
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -284,6 +309,10 @@ declare type __VLS_PrettifyLocal_16<T> = {
|
|
|
284
309
|
[K in keyof T]: T[K];
|
|
285
310
|
} & {};
|
|
286
311
|
|
|
312
|
+
declare type __VLS_PrettifyLocal_17<T> = {
|
|
313
|
+
[K in keyof T]: T[K];
|
|
314
|
+
} & {};
|
|
315
|
+
|
|
287
316
|
declare type __VLS_PrettifyLocal_2<T> = {
|
|
288
317
|
[K in keyof T]: T[K];
|
|
289
318
|
} & {};
|
|
@@ -428,6 +457,16 @@ declare function __VLS_template_6(): {
|
|
|
428
457
|
rootEl: any;
|
|
429
458
|
};
|
|
430
459
|
|
|
460
|
+
declare function __VLS_template_7(): {
|
|
461
|
+
attrs: Partial<{}>;
|
|
462
|
+
slots: {
|
|
463
|
+
default?(_: {}): any;
|
|
464
|
+
footer?(_: {}): any;
|
|
465
|
+
};
|
|
466
|
+
refs: {};
|
|
467
|
+
rootEl: HTMLDivElement;
|
|
468
|
+
};
|
|
469
|
+
|
|
431
470
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
432
471
|
|
|
433
472
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
@@ -440,6 +479,8 @@ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
|
440
479
|
|
|
441
480
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
442
481
|
|
|
482
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
483
|
+
|
|
443
484
|
declare type __VLS_TypePropsToOption<T> = {
|
|
444
485
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
445
486
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
@@ -575,6 +616,15 @@ declare type __VLS_TypePropsToOption_22<T> = {
|
|
|
575
616
|
};
|
|
576
617
|
};
|
|
577
618
|
|
|
619
|
+
declare type __VLS_TypePropsToOption_23<T> = {
|
|
620
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
621
|
+
type: PropType<__VLS_NonUndefinedable_23<T[K]>>;
|
|
622
|
+
} : {
|
|
623
|
+
type: PropType<T[K]>;
|
|
624
|
+
required: true;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
|
|
578
628
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
579
629
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
580
630
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -686,6 +736,12 @@ declare type __VLS_WithDefaults_16<P, D> = {
|
|
|
686
736
|
}> : P[K];
|
|
687
737
|
};
|
|
688
738
|
|
|
739
|
+
declare type __VLS_WithDefaults_17<P, D> = {
|
|
740
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_17<P[K] & {
|
|
741
|
+
default: D[K];
|
|
742
|
+
}> : P[K];
|
|
743
|
+
};
|
|
744
|
+
|
|
689
745
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
690
746
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
|
|
691
747
|
default: D[K];
|
|
@@ -770,6 +826,12 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
770
826
|
};
|
|
771
827
|
};
|
|
772
828
|
|
|
829
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
830
|
+
new (): {
|
|
831
|
+
$slots: S;
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
|
|
773
835
|
export declare type ActionPosition = 'row' | 'cell' | 'both';
|
|
774
836
|
|
|
775
837
|
export declare type Align = 'left' | 'right' | 'center';
|
|
@@ -1734,6 +1796,8 @@ export declare interface SelfeeLoaderProps {
|
|
|
1734
1796
|
|
|
1735
1797
|
export declare const SelfeeTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1736
1798
|
|
|
1799
|
+
declare type Size = 'sm' | 'md' | 'lg';
|
|
1800
|
+
|
|
1737
1801
|
export declare const SmartFilters: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1738
1802
|
|
|
1739
1803
|
export declare interface SmartFiltersProps {
|
|
@@ -1761,6 +1825,24 @@ export declare interface SortState {
|
|
|
1761
1825
|
descending?: boolean | boolean[];
|
|
1762
1826
|
}
|
|
1763
1827
|
|
|
1828
|
+
export declare const StatCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1829
|
+
|
|
1830
|
+
declare interface StatCardProps {
|
|
1831
|
+
size?: Size;
|
|
1832
|
+
title?: string;
|
|
1833
|
+
titleSize?: Size;
|
|
1834
|
+
icon?: string;
|
|
1835
|
+
iconColor?: string;
|
|
1836
|
+
iconSize?: Size;
|
|
1837
|
+
dotColor?: string;
|
|
1838
|
+
value?: string | number;
|
|
1839
|
+
unit?: string;
|
|
1840
|
+
valueColor?: string;
|
|
1841
|
+
bodySize?: Size;
|
|
1842
|
+
subtitle?: string;
|
|
1843
|
+
subtitleSize?: Size;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1764
1846
|
export declare interface Store {
|
|
1765
1847
|
[key: string]: any;
|
|
1766
1848
|
}
|