@selfeesas/shared-components 1.4.9 → 1.5.1

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.
@@ -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';
@@ -871,6 +933,7 @@ export declare interface CheckboxOption {
871
933
  value: string | number;
872
934
  label: string;
873
935
  disabled?: boolean;
936
+ italic?: boolean;
874
937
  }
875
938
 
876
939
  declare function clearSelection(): void;
@@ -1734,6 +1797,8 @@ export declare interface SelfeeLoaderProps {
1734
1797
 
1735
1798
  export declare const SelfeeTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1736
1799
 
1800
+ declare type Size = 'sm' | 'md' | 'lg';
1801
+
1737
1802
  export declare const SmartFilters: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1738
1803
 
1739
1804
  export declare interface SmartFiltersProps {
@@ -1761,6 +1826,24 @@ export declare interface SortState {
1761
1826
  descending?: boolean | boolean[];
1762
1827
  }
1763
1828
 
1829
+ export declare const StatCard: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1830
+
1831
+ declare interface StatCardProps {
1832
+ size?: Size;
1833
+ title?: string;
1834
+ titleSize?: Size;
1835
+ icon?: string;
1836
+ iconColor?: string;
1837
+ iconSize?: Size;
1838
+ dotColor?: string;
1839
+ value?: string | number;
1840
+ unit?: string;
1841
+ valueColor?: string;
1842
+ bodySize?: Size;
1843
+ subtitle?: string;
1844
+ subtitleSize?: Size;
1845
+ }
1846
+
1764
1847
  export declare interface Store {
1765
1848
  [key: string]: any;
1766
1849
  }