energy-components 1.8.0 → 1.8.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.
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/tabBar.es.js +63 -64
- package/dist/components/textField.es.js +134 -110
- package/dist/energy-components.es.js +2490 -2467
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +23 -4
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
25
25
|
* v-model valor de entrada y salida
|
|
26
26
|
*/
|
|
27
27
|
modelValue: {
|
|
28
|
-
type: (StringConstructor | null)[];
|
|
28
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
29
29
|
required: true;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
@@ -58,6 +58,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
58
58
|
default: number;
|
|
59
59
|
validator: (value: number) => boolean;
|
|
60
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Tipo del input HTML. Por defecto 'text'.
|
|
63
|
+
* Puede ser 'text' o 'number'. La prop 'password' tiene precedencia.
|
|
64
|
+
*/
|
|
65
|
+
type: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
validator: (value: string) => boolean;
|
|
69
|
+
};
|
|
61
70
|
/**
|
|
62
71
|
* Nombre del icono que se mostrará dentro del campo de entrada.
|
|
63
72
|
* por defecto se mosrtrara a al izquierda del campo
|
|
@@ -126,7 +135,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
126
135
|
keydown: (event: KeyboardEvent) => any;
|
|
127
136
|
keypress: (event: KeyboardEvent) => any;
|
|
128
137
|
keyup: (event: KeyboardEvent) => any;
|
|
129
|
-
"update:modelValue": (modelValue: string) => any;
|
|
138
|
+
"update:modelValue": (modelValue: string | number | null) => any;
|
|
130
139
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
131
140
|
/**
|
|
132
141
|
* Etiqueta que se muestra sobre el campo de entrada. y Placeholder
|
|
@@ -146,7 +155,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
146
155
|
* v-model valor de entrada y salida
|
|
147
156
|
*/
|
|
148
157
|
modelValue: {
|
|
149
|
-
type: (StringConstructor | null)[];
|
|
158
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
150
159
|
required: true;
|
|
151
160
|
};
|
|
152
161
|
/**
|
|
@@ -179,6 +188,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
179
188
|
default: number;
|
|
180
189
|
validator: (value: number) => boolean;
|
|
181
190
|
};
|
|
191
|
+
/**
|
|
192
|
+
* Tipo del input HTML. Por defecto 'text'.
|
|
193
|
+
* Puede ser 'text' o 'number'. La prop 'password' tiene precedencia.
|
|
194
|
+
*/
|
|
195
|
+
type: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
validator: (value: string) => boolean;
|
|
199
|
+
};
|
|
182
200
|
/**
|
|
183
201
|
* Nombre del icono que se mostrará dentro del campo de entrada.
|
|
184
202
|
* por defecto se mosrtrara a al izquierda del campo
|
|
@@ -244,9 +262,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
244
262
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
245
263
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
246
264
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
247
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
265
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | null) => any) | undefined;
|
|
248
266
|
}>, {
|
|
249
267
|
error: boolean;
|
|
268
|
+
type: string;
|
|
250
269
|
icon: string;
|
|
251
270
|
disabled: boolean;
|
|
252
271
|
password: boolean;
|