@selfeesas/shared-components 1.14.0 → 1.16.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.
@@ -281,6 +281,8 @@ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
281
281
 
282
282
  declare type __VLS_NonUndefinedable_30<T> = T extends undefined ? never : T;
283
283
 
284
+ declare type __VLS_NonUndefinedable_31<T> = T extends undefined ? never : T;
285
+
284
286
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
285
287
 
286
288
  declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
@@ -357,6 +359,10 @@ declare type __VLS_PrettifyLocal_23<T> = {
357
359
  [K in keyof T]: T[K];
358
360
  } & {};
359
361
 
362
+ declare type __VLS_PrettifyLocal_24<T> = {
363
+ [K in keyof T]: T[K];
364
+ } & {};
365
+
360
366
  declare type __VLS_PrettifyLocal_3<T> = {
361
367
  [K in keyof T]: T[K];
362
368
  } & {};
@@ -737,6 +743,15 @@ declare type __VLS_TypePropsToOption_30<T> = {
737
743
  };
738
744
  };
739
745
 
746
+ declare type __VLS_TypePropsToOption_31<T> = {
747
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
748
+ type: PropType<__VLS_NonUndefinedable_31<T[K]>>;
749
+ } : {
750
+ type: PropType<T[K]>;
751
+ required: true;
752
+ };
753
+ };
754
+
740
755
  declare type __VLS_TypePropsToOption_4<T> = {
741
756
  [K in keyof T]-?: {} extends Pick<T, K> ? {
742
757
  type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
@@ -887,6 +902,12 @@ declare type __VLS_WithDefaults_23<P, D> = {
887
902
  }> : P[K];
888
903
  };
889
904
 
905
+ declare type __VLS_WithDefaults_24<P, D> = {
906
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_24<P[K] & {
907
+ default: D[K];
908
+ }> : P[K];
909
+ };
910
+
890
911
  declare type __VLS_WithDefaults_3<P, D> = {
891
912
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
892
913
  default: D[K];
@@ -973,6 +994,20 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
973
994
 
974
995
  export declare type ActionPosition = 'row' | 'cell' | 'both';
975
996
 
997
+ export declare const AlertBanner: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToOption_31<AlertBannerProps>, {
998
+ icon: string;
999
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToOption_31<AlertBannerProps>, {
1000
+ icon: string;
1001
+ }>>> & Readonly<{}>, {
1002
+ icon: string;
1003
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1004
+
1005
+ export declare interface AlertBannerProps {
1006
+ message: string;
1007
+ icon?: string;
1008
+ dataCy: string;
1009
+ }
1010
+
976
1011
  export declare type Align = 'left' | 'right' | 'center';
977
1012
 
978
1013
  export declare interface BadgeConfig {
@@ -1042,15 +1077,23 @@ export declare const CheckboxFilter: DefineComponent<ExtractPropTypes<__VLS_With
1042
1077
  scrollAreaHeight: string;
1043
1078
  scrollAreaWidth: string;
1044
1079
  dataCy: string;
1080
+ useInput: boolean;
1081
+ serverSideFilter: boolean;
1082
+ debounceMs: number;
1045
1083
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1046
1084
  "update:modelValue": (value: CheckboxOption[]) => void;
1085
+ search: (value: string) => void;
1047
1086
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToOption_3<__VLS_Props>, {
1048
1087
  label: string;
1049
1088
  modelValue: () => never[];
1050
1089
  scrollAreaHeight: string;
1051
1090
  scrollAreaWidth: string;
1052
1091
  dataCy: string;
1092
+ useInput: boolean;
1093
+ serverSideFilter: boolean;
1094
+ debounceMs: number;
1053
1095
  }>>> & Readonly<{
1096
+ onSearch?: ((value: string) => any) | undefined;
1054
1097
  "onUpdate:modelValue"?: ((value: CheckboxOption[]) => any) | undefined;
1055
1098
  }>, {
1056
1099
  label: string;
@@ -1058,6 +1101,9 @@ export declare const CheckboxFilter: DefineComponent<ExtractPropTypes<__VLS_With
1058
1101
  modelValue: CheckboxOption[];
1059
1102
  scrollAreaHeight: string;
1060
1103
  scrollAreaWidth: string;
1104
+ useInput: boolean;
1105
+ serverSideFilter: boolean;
1106
+ debounceMs: number;
1061
1107
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1062
1108
 
1063
1109
  export declare interface CheckboxFilterProps {
@@ -1066,6 +1112,9 @@ export declare interface CheckboxFilterProps {
1066
1112
  modelValue?: CheckboxOption[];
1067
1113
  scrollAreaHeight?: string;
1068
1114
  scrollAreaWidth?: string;
1115
+ useInput?: boolean;
1116
+ serverSideFilter?: boolean;
1117
+ debounceMs?: number;
1069
1118
  }
1070
1119
 
1071
1120
  export declare interface CheckboxOption {