energy-components 1.6.0-beta.1 → 1.7.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.
Files changed (60) hide show
  1. package/dist/components/accordion.es.js +13 -13
  2. package/dist/components/button.es.js +21 -21
  3. package/dist/components/checkbox.es.js +7 -7
  4. package/dist/components/dropdown.es.js +278 -148
  5. package/dist/components/filterChip.es.js +4 -4
  6. package/dist/components/{icon-svg-pUb3-FXk.js → icon-svg-BmDOQ0kL.js} +42 -26
  7. package/dist/components/iconList.es.js +5 -5
  8. package/dist/components/iconSvg.es.js +1 -1
  9. package/dist/components/index.es.js +62 -59
  10. package/dist/components/infoBox.es.js +17 -17
  11. package/dist/components/link.es.js +15 -15
  12. package/dist/components/modal.es.js +69 -39
  13. package/dist/components/multiselect.es.js +230 -184
  14. package/dist/components/multiselectcontentwrapper.es.js +140 -0
  15. package/dist/components/pagination.es.js +129 -86
  16. package/dist/components/persistentToast.es.js +9 -9
  17. package/dist/components/quantitySelector.es.js +9 -9
  18. package/dist/components/radioButton.es.js +16 -16
  19. package/dist/components/selectionChip.es.js +5 -5
  20. package/dist/components/sidedrawer.es.js +53 -33
  21. package/dist/components/style/button.css +1 -1
  22. package/dist/components/style/datepicker.css +1 -1
  23. package/dist/components/style/dropdown.css +1 -1
  24. package/dist/components/style/icon-svg.css +1 -1
  25. package/dist/components/style/modal.css +1 -1
  26. package/dist/components/style/multiselect.css +1 -1
  27. package/dist/components/style/multiselectcontentwrapper.css +1 -0
  28. package/dist/components/style/pagination.css +1 -1
  29. package/dist/components/style/sidedrawer.css +1 -1
  30. package/dist/components/style/tabBar.css +1 -1
  31. package/dist/components/style/tablepaginatedcomponent.css +1 -1
  32. package/dist/components/style/tableslotedcomponent.css +1 -1
  33. package/dist/components/style/textField.css +1 -1
  34. package/dist/components/style/tooltip.css +1 -1
  35. package/dist/components/switch.es.js +10 -10
  36. package/dist/components/tabBar.es.js +15 -13
  37. package/dist/components/tablepaginatedcomponent.es.js +69 -65
  38. package/dist/components/tableslotedcomponent.es.js +155 -148
  39. package/dist/components/tag.es.js +5 -5
  40. package/dist/components/textArea.es.js +22 -22
  41. package/dist/components/textField.es.js +93 -84
  42. package/dist/components/tooltip.es.js +178 -174
  43. package/dist/energy-components.es.js +6678 -6128
  44. package/dist/energy-components.umd.js +1 -1
  45. package/dist/style.css +1 -1
  46. package/dist/types/src/components/buttons/button/button.vue.d.ts +2 -2
  47. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +19 -0
  48. package/dist/types/src/components/index.d.ts +1 -0
  49. package/dist/types/src/components/input/dropdown/Multiselect/MultiselectContentWrapper.vue.d.ts +86 -0
  50. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +582 -0
  51. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -2
  52. package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +1 -1
  53. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +2 -2
  54. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +10 -3
  55. package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +30 -0
  56. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +80 -31
  57. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +27 -1
  58. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +1 -0
  59. package/dist/types/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +5 -5
@@ -1,10 +1,25 @@
1
1
  import type { PropType } from 'vue';
2
+ import { nextTick } from 'vue';
2
3
  export interface DropdownOption {
3
4
  id: string | number;
4
5
  label: string;
5
6
  detail?: string;
6
7
  [key: string]: any;
7
8
  }
9
+ export interface AutoCompleteProps {
10
+ autocomplete: any;
11
+ id: string;
12
+ label: string;
13
+ icon?: string;
14
+ rightIcon?: string;
15
+ disabled?: boolean;
16
+ readonly?: boolean;
17
+ clearable?: boolean;
18
+ error?: boolean;
19
+ helper?: boolean;
20
+ helperText?: string;
21
+ autocompleteFilter: (option: DropdownOption | string, search: string) => boolean;
22
+ }
8
23
  declare function __VLS_template(): {
9
24
  attrs: Partial<{}>;
10
25
  slots: {
@@ -23,10 +38,270 @@ declare function __VLS_template(): {
23
38
  search: any;
24
39
  }): any;
25
40
  noOptions?(_: {}): any;
41
+ beforeList?(_: {}): any;
26
42
  afterList?(_: {}): any;
27
43
  };
28
44
  refs: {
29
45
  multiselect: any;
46
+ textFieldInput: ({
47
+ $: import("vue").ComponentInternalInstance;
48
+ $data: {};
49
+ $props: Partial<{
50
+ error: boolean;
51
+ icon: string;
52
+ disabled: boolean;
53
+ password: boolean;
54
+ readonly: boolean;
55
+ maxLength: number;
56
+ minLength: number;
57
+ rightIcon: string;
58
+ helper: boolean;
59
+ helperText: string;
60
+ clearable: boolean;
61
+ autocomplete: string;
62
+ }> & Omit<{
63
+ readonly error: boolean;
64
+ readonly label: string;
65
+ readonly icon: string;
66
+ readonly disabled: boolean;
67
+ readonly password: boolean;
68
+ readonly modelValue: string;
69
+ readonly readonly: boolean;
70
+ readonly maxLength: number;
71
+ readonly minLength: number;
72
+ readonly rightIcon: string;
73
+ readonly helper: boolean;
74
+ readonly helperText: string;
75
+ readonly clearable: boolean;
76
+ readonly autocomplete: string;
77
+ readonly id?: string | undefined;
78
+ readonly onChange?: ((event: Event) => any) | undefined;
79
+ readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
80
+ readonly onKeypress?: ((event: KeyboardEvent) => any) | undefined;
81
+ readonly onKeyup?: ((event: KeyboardEvent) => any) | undefined;
82
+ readonly "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
83
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete">;
84
+ $attrs: {
85
+ [x: string]: unknown;
86
+ };
87
+ $refs: {
88
+ [x: string]: unknown;
89
+ } & {
90
+ input: HTMLInputElement;
91
+ };
92
+ $slots: Readonly<{
93
+ [name: string]: import("vue").Slot<any> | undefined;
94
+ }>;
95
+ $root: import("vue").ComponentPublicInstance | null;
96
+ $parent: import("vue").ComponentPublicInstance | null;
97
+ $host: Element | null;
98
+ $emit: ((event: "change", event: Event) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "keypress", event: KeyboardEvent) => void) & ((event: "keyup", event: KeyboardEvent) => void) & ((event: "update:modelValue", modelValue: string) => void);
99
+ $el: HTMLDivElement;
100
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
101
+ label: {
102
+ type: StringConstructor;
103
+ required: true;
104
+ };
105
+ id: {
106
+ type: StringConstructor;
107
+ required: false;
108
+ };
109
+ modelValue: {
110
+ type: StringConstructor;
111
+ required: true;
112
+ };
113
+ disabled: {
114
+ type: BooleanConstructor;
115
+ default: boolean;
116
+ };
117
+ readonly: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ maxLength: {
122
+ type: NumberConstructor;
123
+ default: number;
124
+ validator: (value: number) => boolean;
125
+ };
126
+ minLength: {
127
+ type: NumberConstructor;
128
+ default: number;
129
+ validator: (value: number) => boolean;
130
+ };
131
+ icon: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ rightIcon: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ helper: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ error: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ helperText: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ clearable: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ password: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ autocomplete: {
160
+ type: StringConstructor;
161
+ default: string;
162
+ validator: (value: string, props: any) => boolean;
163
+ };
164
+ }>> & Readonly<{
165
+ onChange?: ((event: Event) => any) | undefined;
166
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
167
+ onKeypress?: ((event: KeyboardEvent) => any) | undefined;
168
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
169
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
170
+ }>, {
171
+ focus: () => void;
172
+ blur: () => void;
173
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
174
+ change: (event: Event) => any;
175
+ keydown: (event: KeyboardEvent) => any;
176
+ keypress: (event: KeyboardEvent) => any;
177
+ keyup: (event: KeyboardEvent) => any;
178
+ "update:modelValue": (modelValue: string) => any;
179
+ }, string, {
180
+ error: boolean;
181
+ icon: string;
182
+ disabled: boolean;
183
+ password: boolean;
184
+ readonly: boolean;
185
+ maxLength: number;
186
+ minLength: number;
187
+ rightIcon: string;
188
+ helper: boolean;
189
+ helperText: string;
190
+ clearable: boolean;
191
+ autocomplete: string;
192
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
193
+ beforeCreate?: (() => void) | (() => void)[];
194
+ created?: (() => void) | (() => void)[];
195
+ beforeMount?: (() => void) | (() => void)[];
196
+ mounted?: (() => void) | (() => void)[];
197
+ beforeUpdate?: (() => void) | (() => void)[];
198
+ updated?: (() => void) | (() => void)[];
199
+ activated?: (() => void) | (() => void)[];
200
+ deactivated?: (() => void) | (() => void)[];
201
+ beforeDestroy?: (() => void) | (() => void)[];
202
+ beforeUnmount?: (() => void) | (() => void)[];
203
+ destroyed?: (() => void) | (() => void)[];
204
+ unmounted?: (() => void) | (() => void)[];
205
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
206
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
207
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
208
+ };
209
+ $forceUpdate: () => void;
210
+ $nextTick: typeof nextTick;
211
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
212
+ } & Readonly<{
213
+ error: boolean;
214
+ icon: string;
215
+ disabled: boolean;
216
+ password: boolean;
217
+ readonly: boolean;
218
+ maxLength: number;
219
+ minLength: number;
220
+ rightIcon: string;
221
+ helper: boolean;
222
+ helperText: string;
223
+ clearable: boolean;
224
+ autocomplete: string;
225
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
226
+ label: {
227
+ type: StringConstructor;
228
+ required: true;
229
+ };
230
+ id: {
231
+ type: StringConstructor;
232
+ required: false;
233
+ };
234
+ modelValue: {
235
+ type: StringConstructor;
236
+ required: true;
237
+ };
238
+ disabled: {
239
+ type: BooleanConstructor;
240
+ default: boolean;
241
+ };
242
+ readonly: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
246
+ maxLength: {
247
+ type: NumberConstructor;
248
+ default: number;
249
+ validator: (value: number) => boolean;
250
+ };
251
+ minLength: {
252
+ type: NumberConstructor;
253
+ default: number;
254
+ validator: (value: number) => boolean;
255
+ };
256
+ icon: {
257
+ type: StringConstructor;
258
+ default: string;
259
+ };
260
+ rightIcon: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ helper: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ error: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ helperText: {
273
+ type: StringConstructor;
274
+ default: string;
275
+ };
276
+ clearable: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ password: {
281
+ type: BooleanConstructor;
282
+ default: boolean;
283
+ };
284
+ autocomplete: {
285
+ type: StringConstructor;
286
+ default: string;
287
+ validator: (value: string, props: any) => boolean;
288
+ };
289
+ }>> & Readonly<{
290
+ onChange?: ((event: Event) => any) | undefined;
291
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
292
+ onKeypress?: ((event: KeyboardEvent) => any) | undefined;
293
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
294
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
295
+ }>, "blur" | "focus" | ("error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete")> & import("vue").ShallowUnwrapRef<{
296
+ focus: () => void;
297
+ blur: () => void;
298
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
299
+ $slots: {
300
+ 'left-icon'?(_: {}): any;
301
+ 'right-icon'?(_: {}): any;
302
+ 'helper-text'?(_: {}): any;
303
+ };
304
+ }) | null;
30
305
  };
31
306
  rootEl: HTMLDivElement;
32
307
  };
@@ -133,6 +408,29 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
133
408
  type: FunctionConstructor;
134
409
  default: (count: number) => string;
135
410
  };
411
+ /**
412
+ * Indica si el dropdown debe renderizarse fuera del flujo del documento
413
+ * Útil para evitar problemas de overflow en modales
414
+ */
415
+ appendToBody: {
416
+ type: BooleanConstructor;
417
+ default: boolean;
418
+ };
419
+ /**
420
+ * Muestra un campo de texto para filtrar los elementos del dropdown.
421
+ * La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
422
+ * @example :autocomplete="{
423
+ * id: 'filter-id',
424
+ * label: 'Buscar',
425
+ * icon: 'search',
426
+ * clearable: true,
427
+ * autocompleteFilter: (option, query) => query ? option.label.toLowerCase().includes(query.toLowerCase()) : true
428
+ * }"
429
+ */
430
+ autocomplete: {
431
+ type: PropType<AutoCompleteProps>;
432
+ default: () => void;
433
+ };
136
434
  modelValue: {
137
435
  type: PropType<any>;
138
436
  required: true;
@@ -255,6 +553,29 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
255
553
  type: FunctionConstructor;
256
554
  default: (count: number) => string;
257
555
  };
556
+ /**
557
+ * Indica si el dropdown debe renderizarse fuera del flujo del documento
558
+ * Útil para evitar problemas de overflow en modales
559
+ */
560
+ appendToBody: {
561
+ type: BooleanConstructor;
562
+ default: boolean;
563
+ };
564
+ /**
565
+ * Muestra un campo de texto para filtrar los elementos del dropdown.
566
+ * La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
567
+ * @example :autocomplete="{
568
+ * id: 'filter-id',
569
+ * label: 'Buscar',
570
+ * icon: 'search',
571
+ * clearable: true,
572
+ * autocompleteFilter: (option, query) => query ? option.label.toLowerCase().includes(query.toLowerCase()) : true
573
+ * }"
574
+ */
575
+ autocomplete: {
576
+ type: PropType<AutoCompleteProps>;
577
+ default: () => void;
578
+ };
258
579
  modelValue: {
259
580
  type: PropType<any>;
260
581
  required: true;
@@ -272,14 +593,275 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
272
593
  disabled: boolean;
273
594
  helper: boolean;
274
595
  helperText: string;
596
+ autocomplete: AutoCompleteProps;
275
597
  multiple: boolean;
276
598
  closeOnSelect: boolean;
277
599
  showRadio: boolean;
278
600
  limit: number;
279
601
  maxHeight: number;
280
602
  limitText: Function;
603
+ appendToBody: boolean;
281
604
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
282
605
  multiselect: any;
606
+ textFieldInput: ({
607
+ $: import("vue").ComponentInternalInstance;
608
+ $data: {};
609
+ $props: Partial<{
610
+ error: boolean;
611
+ icon: string;
612
+ disabled: boolean;
613
+ password: boolean;
614
+ readonly: boolean;
615
+ maxLength: number;
616
+ minLength: number;
617
+ rightIcon: string;
618
+ helper: boolean;
619
+ helperText: string;
620
+ clearable: boolean;
621
+ autocomplete: string;
622
+ }> & Omit<{
623
+ readonly error: boolean;
624
+ readonly label: string;
625
+ readonly icon: string;
626
+ readonly disabled: boolean;
627
+ readonly password: boolean;
628
+ readonly modelValue: string;
629
+ readonly readonly: boolean;
630
+ readonly maxLength: number;
631
+ readonly minLength: number;
632
+ readonly rightIcon: string;
633
+ readonly helper: boolean;
634
+ readonly helperText: string;
635
+ readonly clearable: boolean;
636
+ readonly autocomplete: string;
637
+ readonly id?: string | undefined;
638
+ readonly onChange?: ((event: Event) => any) | undefined;
639
+ readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
640
+ readonly onKeypress?: ((event: KeyboardEvent) => any) | undefined;
641
+ readonly onKeyup?: ((event: KeyboardEvent) => any) | undefined;
642
+ readonly "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
643
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete">;
644
+ $attrs: {
645
+ [x: string]: unknown;
646
+ };
647
+ $refs: {
648
+ [x: string]: unknown;
649
+ } & {
650
+ input: HTMLInputElement;
651
+ };
652
+ $slots: Readonly<{
653
+ [name: string]: import("vue").Slot<any> | undefined;
654
+ }>;
655
+ $root: import("vue").ComponentPublicInstance | null;
656
+ $parent: import("vue").ComponentPublicInstance | null;
657
+ $host: Element | null;
658
+ $emit: ((event: "change", event: Event) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "keypress", event: KeyboardEvent) => void) & ((event: "keyup", event: KeyboardEvent) => void) & ((event: "update:modelValue", modelValue: string) => void);
659
+ $el: HTMLDivElement;
660
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
661
+ label: {
662
+ type: StringConstructor;
663
+ required: true;
664
+ };
665
+ id: {
666
+ type: StringConstructor;
667
+ required: false;
668
+ };
669
+ modelValue: {
670
+ type: StringConstructor;
671
+ required: true;
672
+ };
673
+ disabled: {
674
+ type: BooleanConstructor;
675
+ default: boolean;
676
+ };
677
+ readonly: {
678
+ type: BooleanConstructor;
679
+ default: boolean;
680
+ };
681
+ maxLength: {
682
+ type: NumberConstructor;
683
+ default: number;
684
+ validator: (value: number) => boolean;
685
+ };
686
+ minLength: {
687
+ type: NumberConstructor;
688
+ default: number;
689
+ validator: (value: number) => boolean;
690
+ };
691
+ icon: {
692
+ type: StringConstructor;
693
+ default: string;
694
+ };
695
+ rightIcon: {
696
+ type: StringConstructor;
697
+ default: string;
698
+ };
699
+ helper: {
700
+ type: BooleanConstructor;
701
+ default: boolean;
702
+ };
703
+ error: {
704
+ type: BooleanConstructor;
705
+ default: boolean;
706
+ };
707
+ helperText: {
708
+ type: StringConstructor;
709
+ default: string;
710
+ };
711
+ clearable: {
712
+ type: BooleanConstructor;
713
+ default: boolean;
714
+ };
715
+ password: {
716
+ type: BooleanConstructor;
717
+ default: boolean;
718
+ };
719
+ autocomplete: {
720
+ type: StringConstructor;
721
+ default: string;
722
+ validator: (value: string, props: any) => boolean;
723
+ };
724
+ }>> & Readonly<{
725
+ onChange?: ((event: Event) => any) | undefined;
726
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
727
+ onKeypress?: ((event: KeyboardEvent) => any) | undefined;
728
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
729
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
730
+ }>, {
731
+ focus: () => void;
732
+ blur: () => void;
733
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
734
+ change: (event: Event) => any;
735
+ keydown: (event: KeyboardEvent) => any;
736
+ keypress: (event: KeyboardEvent) => any;
737
+ keyup: (event: KeyboardEvent) => any;
738
+ "update:modelValue": (modelValue: string) => any;
739
+ }, string, {
740
+ error: boolean;
741
+ icon: string;
742
+ disabled: boolean;
743
+ password: boolean;
744
+ readonly: boolean;
745
+ maxLength: number;
746
+ minLength: number;
747
+ rightIcon: string;
748
+ helper: boolean;
749
+ helperText: string;
750
+ clearable: boolean;
751
+ autocomplete: string;
752
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
753
+ beforeCreate?: (() => void) | (() => void)[];
754
+ created?: (() => void) | (() => void)[];
755
+ beforeMount?: (() => void) | (() => void)[];
756
+ mounted?: (() => void) | (() => void)[];
757
+ beforeUpdate?: (() => void) | (() => void)[];
758
+ updated?: (() => void) | (() => void)[];
759
+ activated?: (() => void) | (() => void)[];
760
+ deactivated?: (() => void) | (() => void)[];
761
+ beforeDestroy?: (() => void) | (() => void)[];
762
+ beforeUnmount?: (() => void) | (() => void)[];
763
+ destroyed?: (() => void) | (() => void)[];
764
+ unmounted?: (() => void) | (() => void)[];
765
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
766
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
767
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
768
+ };
769
+ $forceUpdate: () => void;
770
+ $nextTick: typeof nextTick;
771
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
772
+ } & Readonly<{
773
+ error: boolean;
774
+ icon: string;
775
+ disabled: boolean;
776
+ password: boolean;
777
+ readonly: boolean;
778
+ maxLength: number;
779
+ minLength: number;
780
+ rightIcon: string;
781
+ helper: boolean;
782
+ helperText: string;
783
+ clearable: boolean;
784
+ autocomplete: string;
785
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
786
+ label: {
787
+ type: StringConstructor;
788
+ required: true;
789
+ };
790
+ id: {
791
+ type: StringConstructor;
792
+ required: false;
793
+ };
794
+ modelValue: {
795
+ type: StringConstructor;
796
+ required: true;
797
+ };
798
+ disabled: {
799
+ type: BooleanConstructor;
800
+ default: boolean;
801
+ };
802
+ readonly: {
803
+ type: BooleanConstructor;
804
+ default: boolean;
805
+ };
806
+ maxLength: {
807
+ type: NumberConstructor;
808
+ default: number;
809
+ validator: (value: number) => boolean;
810
+ };
811
+ minLength: {
812
+ type: NumberConstructor;
813
+ default: number;
814
+ validator: (value: number) => boolean;
815
+ };
816
+ icon: {
817
+ type: StringConstructor;
818
+ default: string;
819
+ };
820
+ rightIcon: {
821
+ type: StringConstructor;
822
+ default: string;
823
+ };
824
+ helper: {
825
+ type: BooleanConstructor;
826
+ default: boolean;
827
+ };
828
+ error: {
829
+ type: BooleanConstructor;
830
+ default: boolean;
831
+ };
832
+ helperText: {
833
+ type: StringConstructor;
834
+ default: string;
835
+ };
836
+ clearable: {
837
+ type: BooleanConstructor;
838
+ default: boolean;
839
+ };
840
+ password: {
841
+ type: BooleanConstructor;
842
+ default: boolean;
843
+ };
844
+ autocomplete: {
845
+ type: StringConstructor;
846
+ default: string;
847
+ validator: (value: string, props: any) => boolean;
848
+ };
849
+ }>> & Readonly<{
850
+ onChange?: ((event: Event) => any) | undefined;
851
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
852
+ onKeypress?: ((event: KeyboardEvent) => any) | undefined;
853
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
854
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
855
+ }>, "blur" | "focus" | ("error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete")> & import("vue").ShallowUnwrapRef<{
856
+ focus: () => void;
857
+ blur: () => void;
858
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
859
+ $slots: {
860
+ 'left-icon'?(_: {}): any;
861
+ 'right-icon'?(_: {}): any;
862
+ 'helper-text'?(_: {}): any;
863
+ };
864
+ }) | null;
283
865
  }, HTMLDivElement>;
284
866
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
285
867
  export default _default;
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
34
34
  * Valor del filtro representado por el chip.
35
35
  */
36
36
  filterValue: {
37
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
37
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
38
38
  required: true;
39
39
  };
40
40
  /**
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
103
103
  * Valor del filtro representado por el chip.
104
104
  */
105
105
  filterValue: {
106
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
106
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
107
107
  required: true;
108
108
  };
109
109
  /**
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
87
87
  onOnClickMinus?: (() => any) | undefined;
88
88
  onOnDelete?: (() => any) | undefined;
89
89
  }>, {
90
- disabled: boolean;
91
90
  size: "small" | "default";
91
+ disabled: boolean;
92
92
  deleteButton: boolean;
93
93
  fullWidth: boolean;
94
94
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
20
  * Valor del filtro representado por el chip.
21
21
  */
22
22
  filterValue: {
23
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
23
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
24
24
  required: true;
25
25
  };
26
26
  /**
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  * Valor del filtro representado por el chip.
76
76
  */
77
77
  filterValue: {
78
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
78
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
79
79
  required: true;
80
80
  };
81
81
  /**