@selfeesas/shared-components 0.4.6 → 0.4.8

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.
@@ -48,6 +48,8 @@ declare type __VLS_NonUndefinedable_11<T> = T extends undefined ? never : T;
48
48
 
49
49
  declare type __VLS_NonUndefinedable_12<T> = T extends undefined ? never : T;
50
50
 
51
+ declare type __VLS_NonUndefinedable_13<T> = T extends undefined ? never : T;
52
+
51
53
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
52
54
 
53
55
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
@@ -92,6 +94,10 @@ declare type __VLS_PrettifyLocal_7<T> = {
92
94
  [K in keyof T]: T[K];
93
95
  } & {};
94
96
 
97
+ declare type __VLS_PrettifyLocal_8<T> = {
98
+ [K in keyof T]: T[K];
99
+ } & {};
100
+
95
101
  declare type __VLS_Props = CheckboxFilterProps & {
96
102
  dataCy?: string;
97
103
  };
@@ -203,6 +209,15 @@ declare type __VLS_TypePropsToOption_12<T> = {
203
209
  };
204
210
  };
205
211
 
212
+ declare type __VLS_TypePropsToOption_13<T> = {
213
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
214
+ type: PropType<__VLS_NonUndefinedable_13<T[K]>>;
215
+ } : {
216
+ type: PropType<T[K]>;
217
+ required: true;
218
+ };
219
+ };
220
+
206
221
  declare type __VLS_TypePropsToOption_2<T> = {
207
222
  [K in keyof T]-?: {} extends Pick<T, K> ? {
208
223
  type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
@@ -317,6 +332,12 @@ declare type __VLS_WithDefaults_7<P, D> = {
317
332
  }> : P[K];
318
333
  };
319
334
 
335
+ declare type __VLS_WithDefaults_8<P, D> = {
336
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_8<P[K] & {
337
+ default: D[K];
338
+ }> : P[K];
339
+ };
340
+
320
341
  declare type __VLS_WithTemplateSlots<T, S> = T & {
321
342
  new (): {
322
343
  $slots: S;
@@ -735,12 +756,81 @@ declare interface Pagination {
735
756
  rowsPerPageOptions?: number[];
736
757
  }
737
758
 
759
+ declare interface Project {
760
+ id: string;
761
+ title: string;
762
+ description: string;
763
+ icon: string;
764
+ route?: string;
765
+ metadata?: Record<string, unknown>;
766
+ }
767
+
768
+ declare interface ProjectSelectionProps {
769
+ title?: string;
770
+ subtitle?: string;
771
+ projects: Project[];
772
+ titleColor?: string;
773
+ subtitleColor?: string;
774
+ iconColor?: string;
775
+ projectTitleColor?: string;
776
+ projectDescriptionColor?: string;
777
+ cardBackground?: string;
778
+ cardBorderColor?: string;
779
+ hoverEffectColor?: string;
780
+ particleColor?: string;
781
+ }
782
+
738
783
  declare interface SelectOption {
739
784
  label: string;
740
785
  value: string | number;
741
786
  [key: string]: any;
742
787
  }
743
788
 
789
+ export declare const SelectProjectLayout: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
790
+ projects: () => Project[];
791
+ title?: string | undefined;
792
+ subtitle?: string | undefined;
793
+ titleColor?: string | undefined;
794
+ subtitleColor?: string | undefined;
795
+ iconColor?: string | undefined;
796
+ projectTitleColor?: string | undefined;
797
+ projectDescriptionColor?: string | undefined;
798
+ cardBackground?: string | undefined;
799
+ cardBorderColor?: string | undefined;
800
+ hoverEffectColor?: string | undefined;
801
+ particleColor?: string | undefined;
802
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
803
+ "project-click": (project: Project) => void;
804
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToOption_13<ProjectSelectionProps>, {
805
+ projects: () => Project[];
806
+ title?: string | undefined;
807
+ subtitle?: string | undefined;
808
+ titleColor?: string | undefined;
809
+ subtitleColor?: string | undefined;
810
+ iconColor?: string | undefined;
811
+ projectTitleColor?: string | undefined;
812
+ projectDescriptionColor?: string | undefined;
813
+ cardBackground?: string | undefined;
814
+ cardBorderColor?: string | undefined;
815
+ hoverEffectColor?: string | undefined;
816
+ particleColor?: string | undefined;
817
+ }>>> & Readonly<{
818
+ "onProject-click"?: ((project: Project) => any) | undefined;
819
+ }>, {
820
+ title: string;
821
+ projects: Project[];
822
+ subtitle: string;
823
+ titleColor: string;
824
+ subtitleColor: string;
825
+ iconColor: string;
826
+ projectTitleColor: string;
827
+ projectDescriptionColor: string;
828
+ cardBackground: string;
829
+ cardBorderColor: string;
830
+ hoverEffectColor: string;
831
+ particleColor: string;
832
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
833
+
744
834
  export declare const SelectSearch: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToOption_4<SelectSearchProps>, {
745
835
  options: () => never[];
746
836
  label: string;