@selfeesas/shared-components 0.5.0 → 0.6.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.
@@ -59,6 +59,50 @@ declare const __VLS_component_4: DefineComponent<ExtractPropTypes<__VLS_WithDefa
59
59
  useDiv: boolean;
60
60
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
61
61
 
62
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_18<SelfeeCardProps>, {
63
+ showHeader: boolean;
64
+ colorScheme: string;
65
+ shadowIntensity: string;
66
+ noPadding: boolean;
67
+ dense: boolean;
68
+ rounded: boolean;
69
+ hoverable: boolean;
70
+ bordered: boolean;
71
+ flat: boolean;
72
+ centerTitle: boolean;
73
+ centerActions: boolean;
74
+ subtitle: string;
75
+ title: string;
76
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_18<SelfeeCardProps>, {
77
+ showHeader: boolean;
78
+ colorScheme: string;
79
+ shadowIntensity: string;
80
+ noPadding: boolean;
81
+ dense: boolean;
82
+ rounded: boolean;
83
+ hoverable: boolean;
84
+ bordered: boolean;
85
+ flat: boolean;
86
+ centerTitle: boolean;
87
+ centerActions: boolean;
88
+ subtitle: string;
89
+ title: string;
90
+ }>>> & Readonly<{}>, {
91
+ flat: boolean;
92
+ dense: boolean;
93
+ rounded: boolean;
94
+ title: string;
95
+ subtitle: string;
96
+ showHeader: boolean;
97
+ colorScheme: "primary" | "secondary" | "accent" | "info" | "warning" | "error" | "success" | "neutral";
98
+ shadowIntensity: "none" | "light" | "medium" | "heavy";
99
+ noPadding: boolean;
100
+ hoverable: boolean;
101
+ bordered: boolean;
102
+ centerTitle: boolean;
103
+ centerActions: boolean;
104
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
105
+
62
106
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
107
 
64
108
  declare type __VLS_NonUndefinedable_10<T> = T extends undefined ? never : T;
@@ -77,6 +121,8 @@ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
77
121
 
78
122
  declare type __VLS_NonUndefinedable_17<T> = T extends undefined ? never : T;
79
123
 
124
+ declare type __VLS_NonUndefinedable_18<T> = T extends undefined ? never : T;
125
+
80
126
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
81
127
 
82
128
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
@@ -109,6 +155,10 @@ declare type __VLS_PrettifyLocal_12<T> = {
109
155
  [K in keyof T]: T[K];
110
156
  } & {};
111
157
 
158
+ declare type __VLS_PrettifyLocal_13<T> = {
159
+ [K in keyof T]: T[K];
160
+ } & {};
161
+
112
162
  declare type __VLS_PrettifyLocal_2<T> = {
113
163
  [K in keyof T]: T[K];
114
164
  } & {};
@@ -222,6 +272,17 @@ declare function __VLS_template_4(): {
222
272
  rootEl: any;
223
273
  };
224
274
 
275
+ declare function __VLS_template_5(): {
276
+ attrs: Partial<{}>;
277
+ slots: {
278
+ header?(_: {}): any;
279
+ default?(_: {}): any;
280
+ actions?(_: {}): any;
281
+ };
282
+ refs: {};
283
+ rootEl: any;
284
+ };
285
+
225
286
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
226
287
 
227
288
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
@@ -230,6 +291,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
230
291
 
231
292
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
232
293
 
294
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
295
+
233
296
  declare type __VLS_TypePropsToOption<T> = {
234
297
  [K in keyof T]-?: {} extends Pick<T, K> ? {
235
298
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
@@ -311,6 +374,15 @@ declare type __VLS_TypePropsToOption_17<T> = {
311
374
  };
312
375
  };
313
376
 
377
+ declare type __VLS_TypePropsToOption_18<T> = {
378
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
379
+ type: PropType<__VLS_NonUndefinedable_18<T[K]>>;
380
+ } : {
381
+ type: PropType<T[K]>;
382
+ required: true;
383
+ };
384
+ };
385
+
314
386
  declare type __VLS_TypePropsToOption_2<T> = {
315
387
  [K in keyof T]-?: {} extends Pick<T, K> ? {
316
388
  type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
@@ -407,6 +479,12 @@ declare type __VLS_WithDefaults_12<P, D> = {
407
479
  }> : P[K];
408
480
  };
409
481
 
482
+ declare type __VLS_WithDefaults_13<P, D> = {
483
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_13<P[K] & {
484
+ default: D[K];
485
+ }> : P[K];
486
+ };
487
+
410
488
  declare type __VLS_WithDefaults_2<P, D> = {
411
489
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_2<P[K] & {
412
490
  default: D[K];
@@ -479,6 +557,12 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
479
557
  };
480
558
  };
481
559
 
560
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
561
+ new (): {
562
+ $slots: S;
563
+ };
564
+ };
565
+
482
566
  export declare interface BreadcrumbConfig {
483
567
  entity: string;
484
568
  dataCy: string;
@@ -653,6 +737,7 @@ export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefa
653
737
  outlined: boolean;
654
738
  placeholder: undefined;
655
739
  closeLabel: string;
740
+ rules: () => never[];
656
741
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
657
742
  "update:date": (value: string) => void;
658
743
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToOption_9<DatePickerProps>, {
@@ -667,6 +752,7 @@ export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefa
667
752
  outlined: boolean;
668
753
  placeholder: undefined;
669
754
  closeLabel: string;
755
+ rules: () => never[];
670
756
  }>>> & Readonly<{
671
757
  "onUpdate:date"?: ((value: string) => any) | undefined;
672
758
  }>, {
@@ -674,6 +760,7 @@ export declare const DatePicker: DefineComponent<ExtractPropTypes<__VLS_WithDefa
674
760
  disabled: boolean;
675
761
  label: string;
676
762
  outlined: boolean;
763
+ rules: ((val: string) => boolean | string)[];
677
764
  date: string;
678
765
  minDate: string;
679
766
  maxDate: string;
@@ -695,6 +782,7 @@ export declare interface DatePickerProps {
695
782
  outlined?: boolean;
696
783
  placeholder?: string;
697
784
  closeLabel?: string;
785
+ rules?: ((val: string) => boolean | string)[];
698
786
  }
699
787
 
700
788
  export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToOption_10<DateRangeProps>, {
@@ -1092,6 +1180,24 @@ export declare interface SelectSearchProps<T = any> {
1092
1180
  modelValue?: string | number | T | null;
1093
1181
  }
1094
1182
 
1183
+ export declare const SelfeeCard: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1184
+
1185
+ declare interface SelfeeCardProps {
1186
+ title?: string;
1187
+ subtitle?: string;
1188
+ showHeader?: boolean;
1189
+ colorScheme?: 'primary' | 'secondary' | 'accent' | 'info' | 'warning' | 'error' | 'success' | 'neutral';
1190
+ shadowIntensity?: 'none' | 'light' | 'medium' | 'heavy';
1191
+ noPadding?: boolean;
1192
+ dense?: boolean;
1193
+ rounded?: boolean;
1194
+ hoverable?: boolean;
1195
+ bordered?: boolean;
1196
+ flat?: boolean;
1197
+ centerTitle?: boolean;
1198
+ centerActions?: boolean;
1199
+ }
1200
+
1095
1201
  export declare const SelfeeFooter: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeFooterProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeFooterProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1096
1202
 
1097
1203
  export declare interface SelfeeFooterProps {