energy-components 1.16.0 → 1.17.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.
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/collapsable.es.js +1 -1
- package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-Bi5q6Y3n.js → collapsable.scss_vue_type_style_index_0_src_true_lang-C2ohjDhp.js} +1 -1
- package/dist/components/directAccess.es.js +1 -1
- package/dist/components/dragAndDrop.es.js +1 -1
- package/dist/components/dropdown.es.js +115 -107
- package/dist/components/fileUploadItem.es.js +1 -1
- package/dist/components/filterChip.es.js +1 -1
- package/dist/components/filterTag.es.js +1 -1
- package/dist/components/{icon-svg-BU0OQFKH.js → icon-svg-arye8CV8.js} +912 -850
- package/dist/components/iconList.es.js +1 -1
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +2 -2
- package/dist/components/infoBox.es.js +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/modal.es.js +1 -1
- package/dist/components/persistentToast.es.js +1 -1
- package/dist/components/popover.es.js +21 -21
- package/dist/components/progressBar.es.js +1 -1
- package/dist/components/quantitySelector.es.js +1 -1
- package/dist/components/radioButton.es.js +1 -1
- package/dist/components/selectionChip.es.js +1 -1
- package/dist/components/sidedrawer.es.js +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/infoBox.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -1
- package/dist/components/style/popover.css +1 -1
- package/dist/components/style/progressBar.css +1 -1
- package/dist/components/style/quantitySelector.css +1 -1
- package/dist/components/style/tableslotedcomponent.css +1 -1
- package/dist/components/style/tag.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/style/tooltip.css +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tabBar.es.js +1 -1
- package/dist/components/tableslotedcomponent.es.js +1 -1
- package/dist/components/tag.es.js +50 -31
- package/dist/components/textArea.es.js +1 -1
- package/dist/components/textField.es.js +67 -55
- package/dist/components/tooltip.es.js +1 -1
- package/dist/energy-components.es.js +2858 -2757
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/tag/tag.vue.d.ts +32 -2
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +15 -0
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +18 -3
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
validator: (value: string) => boolean;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Define si el tag tiene una acción asociada.
|
|
27
|
+
* Define si el tag tiene una acción asociada. Se desactiva si disabled o small son true.
|
|
28
28
|
*/
|
|
29
29
|
actionable: {
|
|
30
30
|
type: BooleanConstructor;
|
|
@@ -53,6 +53,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
type: StringConstructor;
|
|
54
54
|
default: undefined;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Para indicar que el tag está desactivado
|
|
58
|
+
*/
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Para casos donde temporalmente sólo se deba mostrar el icono
|
|
65
|
+
*/
|
|
66
|
+
onlyIcon: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
56
70
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
71
|
/**
|
|
58
72
|
* Nombre del icono a mostrar en la parte izquierda del tag
|
|
@@ -79,7 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
93
|
validator: (value: string) => boolean;
|
|
80
94
|
};
|
|
81
95
|
/**
|
|
82
|
-
* Define si el tag tiene una acción asociada.
|
|
96
|
+
* Define si el tag tiene una acción asociada. Se desactiva si disabled o small son true.
|
|
83
97
|
*/
|
|
84
98
|
actionable: {
|
|
85
99
|
type: BooleanConstructor;
|
|
@@ -108,6 +122,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
122
|
type: StringConstructor;
|
|
109
123
|
default: undefined;
|
|
110
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* Para indicar que el tag está desactivado
|
|
127
|
+
*/
|
|
128
|
+
disabled: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Para casos donde temporalmente sólo se deba mostrar el icono
|
|
134
|
+
*/
|
|
135
|
+
onlyIcon: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
111
139
|
}>> & Readonly<{}>, {
|
|
112
140
|
small: boolean;
|
|
113
141
|
id: string;
|
|
@@ -115,6 +143,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
143
|
text: string;
|
|
116
144
|
icon: string;
|
|
117
145
|
inverse: boolean;
|
|
146
|
+
disabled: boolean;
|
|
118
147
|
actionable: boolean;
|
|
148
|
+
onlyIcon: boolean;
|
|
119
149
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
150
|
export default _default;
|
|
@@ -204,6 +204,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
204
204
|
type: BooleanConstructor;
|
|
205
205
|
default: boolean;
|
|
206
206
|
};
|
|
207
|
+
/**
|
|
208
|
+
* Indica si el dropdown está en estado de carga.
|
|
209
|
+
*/
|
|
210
|
+
loading: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
207
214
|
modelValue: {
|
|
208
215
|
type: PropType<any>;
|
|
209
216
|
required: true;
|
|
@@ -381,6 +388,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
381
388
|
type: BooleanConstructor;
|
|
382
389
|
default: boolean;
|
|
383
390
|
};
|
|
391
|
+
/**
|
|
392
|
+
* Indica si el dropdown está en estado de carga.
|
|
393
|
+
*/
|
|
394
|
+
loading: {
|
|
395
|
+
type: BooleanConstructor;
|
|
396
|
+
default: boolean;
|
|
397
|
+
};
|
|
384
398
|
modelValue: {
|
|
385
399
|
type: PropType<any>;
|
|
386
400
|
required: true;
|
|
@@ -392,6 +406,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
392
406
|
onSelect?: ((selectOption: any) => any) | undefined;
|
|
393
407
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
394
408
|
}>, {
|
|
409
|
+
loading: boolean;
|
|
395
410
|
error: boolean;
|
|
396
411
|
label: string;
|
|
397
412
|
small: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare var __VLS_1: {},
|
|
1
|
+
declare var __VLS_1: {}, __VLS_9: {}, __VLS_18: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
'left-icon'?: (props: typeof __VLS_1) => any;
|
|
4
4
|
} & {
|
|
5
|
-
'right-icon'?: (props: typeof
|
|
5
|
+
'right-icon'?: (props: typeof __VLS_9) => any;
|
|
6
6
|
} & {
|
|
7
|
-
'helper-text'?: (props: typeof
|
|
7
|
+
'helper-text'?: (props: typeof __VLS_18) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
/**
|
|
@@ -126,6 +126,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
126
126
|
type: BooleanConstructor;
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* Indica si el campo de texto está en estado de carga.
|
|
131
|
+
*/
|
|
132
|
+
loading: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
129
136
|
/**
|
|
130
137
|
* Indica si el campo de texto es para una nueva contraseña (solo para campos de contraseña).
|
|
131
138
|
* Opciones permitidas: 'new-password', 'current-password', 'off'.
|
|
@@ -264,6 +271,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
264
271
|
type: BooleanConstructor;
|
|
265
272
|
default: boolean;
|
|
266
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
* Indica si el campo de texto está en estado de carga.
|
|
276
|
+
*/
|
|
277
|
+
loading: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
267
281
|
/**
|
|
268
282
|
* Indica si el campo de texto es para una nueva contraseña (solo para campos de contraseña).
|
|
269
283
|
* Opciones permitidas: 'new-password', 'current-password', 'off'.
|
|
@@ -280,6 +294,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
280
294
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
281
295
|
"onUpdate:modelValue"?: ((modelValue: string | number | null) => any) | undefined;
|
|
282
296
|
}>, {
|
|
297
|
+
loading: boolean;
|
|
283
298
|
error: boolean;
|
|
284
299
|
type: string;
|
|
285
300
|
icon: string;
|