energy-components 1.8.1 → 1.10.0-beta.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 +161 -0
- package/dist/components/button.es.js +1 -1
- package/dist/components/checkbox.es.js +52 -36
- package/dist/components/directAccess.es.js +146 -0
- package/dist/components/dragAndDrop.es.js +77 -60
- package/dist/components/dropdown.es.js +125 -112
- package/dist/components/fileUploadItem.es.js +182 -0
- package/dist/components/filterChip.es.js +27 -23
- package/dist/components/icon-svg-YXBqzlJN.js +14398 -0
- package/dist/components/iconList.es.js +1 -1
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +77 -65
- package/dist/components/infoBox.es.js +1 -1
- package/dist/components/link.es.js +67 -55
- package/dist/components/loader.es.js +178 -0
- package/dist/components/modal.es.js +1 -1
- package/dist/components/multiselect.es.js +73 -65
- package/dist/components/persistentToast.es.js +1 -1
- package/dist/components/progressBar.es.js +52 -28
- package/dist/components/quantitySelector.es.js +1 -1
- package/dist/components/radioButton.es.js +1 -1
- package/dist/components/selectionChip.es.js +15 -14
- package/dist/components/sidedrawer.es.js +1 -1
- package/dist/components/style/avatar.css +1 -0
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/directAccess.css +1 -0
- package/dist/components/style/dragAndDrop.css +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/fileUploadItem.css +1 -0
- package/dist/components/style/filterChip.css +1 -1
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/loader.css +1 -0
- package/dist/components/style/multiselect.css +1 -1
- package/dist/components/style/multiselectcontentwrapper.css +1 -1
- package/dist/components/style/progressBar.css +1 -1
- package/dist/components/style/selectionChip.css +1 -1
- package/dist/components/style/toggle.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 +1 -1
- package/dist/components/textArea.es.js +1 -1
- package/dist/components/textField.es.js +1 -1
- package/dist/components/toggle.es.js +21 -20
- package/dist/components/tooltip.es.js +1 -1
- package/dist/energy-components.es.js +14281 -9987
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/avatar/avatar.vue.d.ts +153 -0
- package/dist/types/src/components/feedback/loader/loader.vue.d.ts +151 -0
- package/dist/types/src/components/feedback/progress-bar/progress-bar.vue.d.ts +34 -0
- package/dist/types/src/components/index.d.ts +4 -0
- package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +15 -0
- package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +14 -2
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +23 -0
- package/dist/types/src/components/input/file-upload-item/file-upload-item.vue.d.ts +229 -0
- package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -0
- package/dist/types/src/components/navigation/direct-access/direct-access.vue.d.ts +178 -0
- package/dist/types/src/components/navigation/link/link.vue.d.ts +15 -0
- package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/components/icon-svg-_WCkLP8-.js +0 -10847
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
type AvatarType = 'icon' | 'image' | 'initials';
|
|
2
|
+
type AvatarSizeType = 's' | 'm' | 'l' | 'xl';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Tipo de contenido para el avatar.
|
|
6
|
+
* <br>
|
|
7
|
+
* `['icon', 'image', 'initials']`
|
|
8
|
+
*/
|
|
9
|
+
type: {
|
|
10
|
+
type: () => AvatarType;
|
|
11
|
+
default: string;
|
|
12
|
+
validator: (value: string) => boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* URL de la imagen a mostrar si el tipo es 'image'.
|
|
16
|
+
*/
|
|
17
|
+
src: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Nombre del icono a mostrar si el tipo es 'icon'.
|
|
23
|
+
* Por defecto es 'user_default'.
|
|
24
|
+
*/
|
|
25
|
+
iconName: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Texto de las iniciales a mostrar si el tipo es 'initials'.
|
|
31
|
+
* Se mostrarán como máximo los dos primeros caracteres en mayúsculas.
|
|
32
|
+
*/
|
|
33
|
+
initials: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Indica si se debe mostrar un badge de notificación en el avatar.
|
|
39
|
+
*/
|
|
40
|
+
badge: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Color de fondo del avatar.
|
|
46
|
+
* Puede ser un valor de color CSS válido (ej: '#333', 'rgb(255,0,0)', 'red') o una variable CSS.
|
|
47
|
+
* Por defecto es '#DBE6F0'.
|
|
48
|
+
*/
|
|
49
|
+
backgroundColor: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Tamaño del avatar.
|
|
55
|
+
* <br>
|
|
56
|
+
* `'s'` (24px), `'m'` (32px), `'l'` (40px), `'xl'` (48px)
|
|
57
|
+
* Por defecto es 'l'.
|
|
58
|
+
*/
|
|
59
|
+
size: {
|
|
60
|
+
type: () => AvatarSizeType;
|
|
61
|
+
default: string;
|
|
62
|
+
validator: (value: string) => boolean;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Texto alternativo para la imagen del avatar (usado para accesibilidad si el tipo es 'image').
|
|
66
|
+
*/
|
|
67
|
+
alt: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
72
|
+
click: (event: KeyboardEvent | MouseEvent) => any;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
/**
|
|
75
|
+
* Tipo de contenido para el avatar.
|
|
76
|
+
* <br>
|
|
77
|
+
* `['icon', 'image', 'initials']`
|
|
78
|
+
*/
|
|
79
|
+
type: {
|
|
80
|
+
type: () => AvatarType;
|
|
81
|
+
default: string;
|
|
82
|
+
validator: (value: string) => boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* URL de la imagen a mostrar si el tipo es 'image'.
|
|
86
|
+
*/
|
|
87
|
+
src: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Nombre del icono a mostrar si el tipo es 'icon'.
|
|
93
|
+
* Por defecto es 'user_default'.
|
|
94
|
+
*/
|
|
95
|
+
iconName: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Texto de las iniciales a mostrar si el tipo es 'initials'.
|
|
101
|
+
* Se mostrarán como máximo los dos primeros caracteres en mayúsculas.
|
|
102
|
+
*/
|
|
103
|
+
initials: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Indica si se debe mostrar un badge de notificación en el avatar.
|
|
109
|
+
*/
|
|
110
|
+
badge: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Color de fondo del avatar.
|
|
116
|
+
* Puede ser un valor de color CSS válido (ej: '#333', 'rgb(255,0,0)', 'red') o una variable CSS.
|
|
117
|
+
* Por defecto es '#DBE6F0'.
|
|
118
|
+
*/
|
|
119
|
+
backgroundColor: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Tamaño del avatar.
|
|
125
|
+
* <br>
|
|
126
|
+
* `'s'` (24px), `'m'` (32px), `'l'` (40px), `'xl'` (48px)
|
|
127
|
+
* Por defecto es 'l'.
|
|
128
|
+
*/
|
|
129
|
+
size: {
|
|
130
|
+
type: () => AvatarSizeType;
|
|
131
|
+
default: string;
|
|
132
|
+
validator: (value: string) => boolean;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Texto alternativo para la imagen del avatar (usado para accesibilidad si el tipo es 'image').
|
|
136
|
+
*/
|
|
137
|
+
alt: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
onClick?: ((event: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
size: AvatarSizeType;
|
|
145
|
+
type: AvatarType;
|
|
146
|
+
initials: string;
|
|
147
|
+
src: string;
|
|
148
|
+
iconName: string;
|
|
149
|
+
badge: boolean;
|
|
150
|
+
backgroundColor: string;
|
|
151
|
+
alt: string;
|
|
152
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
153
|
+
export default _default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Define el diámetro del loader en píxeles.
|
|
4
|
+
* El valor se ajustará para estar entre 32px (mínimo) y 120px (máximo).
|
|
5
|
+
*
|
|
6
|
+
* @type {number}
|
|
7
|
+
* @optional
|
|
8
|
+
*/
|
|
9
|
+
size: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Especifica la variante del loader.
|
|
15
|
+
* 'default': Muestra solo el spinner.
|
|
16
|
+
* 'contained': Envuelve el spinner en un contenedor con estilo de tarjeta (104x104px con padding de 24px).
|
|
17
|
+
* El prop `size` afectará al spinner dentro de este contenedor.
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @optional
|
|
21
|
+
*/
|
|
22
|
+
variant: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: unknown) => boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Controla el tipo de animación del loader.
|
|
29
|
+
* 'normal': Una rotación continua de un arco del círculo.
|
|
30
|
+
* 'infinite': Una animación donde un segmento del círculo parece crecer, encogerse y rotar.
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @optional
|
|
34
|
+
*/
|
|
35
|
+
animationType: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: unknown) => boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Define el grosor del trazo del spinner en píxeles.
|
|
42
|
+
* Si no se especifica, se calcula automáticamente como `size / 8` (con un mínimo de 2px).
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @optional
|
|
46
|
+
*/
|
|
47
|
+
strokeWidth: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Etiqueta ARIA para accesibilidad. Describe la acción que se está realizando.
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @optional
|
|
56
|
+
*/
|
|
57
|
+
ariaLabel: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Identificador único para el componente y sus elementos internos (como el gradiente SVG).
|
|
63
|
+
* Si no se proporciona, se usará un valor por defecto.
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @optional
|
|
67
|
+
*/
|
|
68
|
+
id: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
/**
|
|
74
|
+
* Define el diámetro del loader en píxeles.
|
|
75
|
+
* El valor se ajustará para estar entre 32px (mínimo) y 120px (máximo).
|
|
76
|
+
*
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @optional
|
|
79
|
+
*/
|
|
80
|
+
size: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Especifica la variante del loader.
|
|
86
|
+
* 'default': Muestra solo el spinner.
|
|
87
|
+
* 'contained': Envuelve el spinner en un contenedor con estilo de tarjeta (104x104px con padding de 24px).
|
|
88
|
+
* El prop `size` afectará al spinner dentro de este contenedor.
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @optional
|
|
92
|
+
*/
|
|
93
|
+
variant: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
validator: (value: unknown) => boolean;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Controla el tipo de animación del loader.
|
|
100
|
+
* 'normal': Una rotación continua de un arco del círculo.
|
|
101
|
+
* 'infinite': Una animación donde un segmento del círculo parece crecer, encogerse y rotar.
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @optional
|
|
105
|
+
*/
|
|
106
|
+
animationType: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
validator: (value: unknown) => boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Define el grosor del trazo del spinner en píxeles.
|
|
113
|
+
* Si no se especifica, se calcula automáticamente como `size / 8` (con un mínimo de 2px).
|
|
114
|
+
*
|
|
115
|
+
* @type {number}
|
|
116
|
+
* @optional
|
|
117
|
+
*/
|
|
118
|
+
strokeWidth: {
|
|
119
|
+
type: NumberConstructor;
|
|
120
|
+
default: number;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Etiqueta ARIA para accesibilidad. Describe la acción que se está realizando.
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @optional
|
|
127
|
+
*/
|
|
128
|
+
ariaLabel: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Identificador único para el componente y sus elementos internos (como el gradiente SVG).
|
|
134
|
+
* Si no se proporciona, se usará un valor por defecto.
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @optional
|
|
138
|
+
*/
|
|
139
|
+
id: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
}>> & Readonly<{}>, {
|
|
144
|
+
size: number;
|
|
145
|
+
variant: string;
|
|
146
|
+
id: string;
|
|
147
|
+
ariaLabel: string;
|
|
148
|
+
animationType: string;
|
|
149
|
+
strokeWidth: number;
|
|
150
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
151
|
+
export default _default;
|
|
@@ -47,6 +47,22 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* Si es true, oculta completamente el contador de pasos y solo muestra la barra de progreso.
|
|
52
|
+
* Útil para barras de progreso sencillas en componentes con espacio limitado.
|
|
53
|
+
*/
|
|
54
|
+
hideCounter: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Indica el color de fondo de la bara principal.
|
|
60
|
+
* si el whiteBar esta true = $rds-color-neutral-white
|
|
61
|
+
*/
|
|
62
|
+
whiteBar: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
50
66
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
51
67
|
goBack: () => any;
|
|
52
68
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -85,12 +101,30 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
85
101
|
type: BooleanConstructor;
|
|
86
102
|
default: boolean;
|
|
87
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Si es true, oculta completamente el contador de pasos y solo muestra la barra de progreso.
|
|
106
|
+
* Útil para barras de progreso sencillas en componentes con espacio limitado.
|
|
107
|
+
*/
|
|
108
|
+
hideCounter: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Indica el color de fondo de la bara principal.
|
|
114
|
+
* si el whiteBar esta true = $rds-color-neutral-white
|
|
115
|
+
*/
|
|
116
|
+
whiteBar: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
88
120
|
}>> & Readonly<{
|
|
89
121
|
onGoBack?: (() => any) | undefined;
|
|
90
122
|
}>, {
|
|
91
123
|
inverse: boolean;
|
|
92
124
|
backButton: boolean;
|
|
93
125
|
percentage: boolean;
|
|
126
|
+
hideCounter: boolean;
|
|
127
|
+
whiteBar: boolean;
|
|
94
128
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
129
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
96
130
|
export default _default;
|
|
@@ -15,20 +15,24 @@ export { default as RDSToggle } from './input/toggle/toggle.vue';
|
|
|
15
15
|
export { default as RDSSelectionChip } from './input/selection-chip/selection-chip.vue';
|
|
16
16
|
export { default as RDSFilterChip } from './input/filter-chip/filter-chip.vue';
|
|
17
17
|
export { default as RDSDragAndDrop } from './input/drag-and-drop/drag-and-drop.vue';
|
|
18
|
+
export { default as RDSFileUploadItem } from './input/file-upload-item/file-upload-item.vue';
|
|
18
19
|
export { default as RDSTag } from './content/tag/tag.vue';
|
|
19
20
|
export { default as RDSAccordionGroup } from './content/acordion-group/accordion-group.vue';
|
|
20
21
|
export { default as RDSAccordion } from './content/accordion/accordion.vue';
|
|
21
22
|
export { default as RDSDivider } from './content/divider/divider.vue';
|
|
22
23
|
export { default as RDSCard } from './content/card/card.vue';
|
|
23
24
|
export { default as RDSTable } from './content/table/table-paginated/TablePaginatedComponent.vue';
|
|
25
|
+
export { default as RDSAvatar } from './content/avatar/avatar.vue';
|
|
24
26
|
export { default as RDSLink } from './navigation/link/link.vue';
|
|
25
27
|
export { default as RDSBreadcrumbs } from './navigation/breadcrumbs/breadcrumbs.vue';
|
|
26
28
|
export { default as RDSTabBar } from './navigation/tab-bar/tab-bar.vue';
|
|
27
29
|
export { default as RDSPagination } from './navigation/pagination/pagination.vue';
|
|
30
|
+
export { default as RDSDirectAccess } from './navigation/direct-access/direct-access.vue';
|
|
28
31
|
export { default as RDSIndicator } from './feedback/indicator/indicator.vue';
|
|
29
32
|
export { default as RDSPersistentToast } from './feedback/persistent-toast/persistent-toast.vue';
|
|
30
33
|
export { default as RDSInfoBox } from './feedback/info-box/info-box.vue';
|
|
31
34
|
export { default as RDSProgressBar } from './feedback/progress-bar/progress-bar.vue';
|
|
35
|
+
export { default as RDSLoader } from './feedback/loader/loader.vue';
|
|
32
36
|
export { default as RDSModal } from './overlay/modal/modal.vue';
|
|
33
37
|
export { default as RDSOverlay } from './overlay/overlay/overlay.vue';
|
|
34
38
|
export { default as RDSTooltip } from './overlay/tooltip/tooltip.vue';
|
|
@@ -59,6 +59,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* <span>Estado "indeterminado" visual del checkbox. Solo afecta si está checked.</span>
|
|
64
|
+
*/
|
|
65
|
+
indeterminate: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
62
69
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
63
70
|
"update:modelValue": (event: boolean) => any;
|
|
64
71
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -118,6 +125,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
118
125
|
type: BooleanConstructor;
|
|
119
126
|
default: boolean;
|
|
120
127
|
};
|
|
128
|
+
/**
|
|
129
|
+
* <span>Estado "indeterminado" visual del checkbox. Solo afecta si está checked.</span>
|
|
130
|
+
*/
|
|
131
|
+
indeterminate: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
121
135
|
}>> & Readonly<{
|
|
122
136
|
"onUpdate:modelValue"?: ((event: boolean) => any) | undefined;
|
|
123
137
|
}>, {
|
|
@@ -129,6 +143,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
143
|
id: string | number;
|
|
130
144
|
accessibilityLabel: string;
|
|
131
145
|
isChecked: boolean;
|
|
146
|
+
indeterminate: boolean;
|
|
132
147
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
148
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
134
149
|
export default _default;
|
|
@@ -90,8 +90,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
90
90
|
default: boolean;
|
|
91
91
|
};
|
|
92
92
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
93
|
-
error: (message: string) => any;
|
|
94
93
|
filesSelected: (files: FileList) => any;
|
|
94
|
+
validationError: (message: string) => any;
|
|
95
|
+
fileReady: (payload: {
|
|
96
|
+
id: string;
|
|
97
|
+
file: File;
|
|
98
|
+
name: string;
|
|
99
|
+
size: number;
|
|
100
|
+
}) => any;
|
|
95
101
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
102
|
/**
|
|
97
103
|
* Tipos de archivo aceptados por el input (ej. '.png,.jpg,.pdf', 'image/*').
|
|
@@ -179,8 +185,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
179
185
|
default: boolean;
|
|
180
186
|
};
|
|
181
187
|
}>> & Readonly<{
|
|
182
|
-
onError?: ((message: string) => any) | undefined;
|
|
183
188
|
onFilesSelected?: ((files: FileList) => any) | undefined;
|
|
189
|
+
onValidationError?: ((message: string) => any) | undefined;
|
|
190
|
+
onFileReady?: ((payload: {
|
|
191
|
+
id: string;
|
|
192
|
+
file: File;
|
|
193
|
+
name: string;
|
|
194
|
+
size: number;
|
|
195
|
+
}) => any) | undefined;
|
|
184
196
|
}>, {
|
|
185
197
|
error: boolean;
|
|
186
198
|
icon: string;
|
|
@@ -157,6 +157,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
157
157
|
type: BooleanConstructor;
|
|
158
158
|
default: boolean;
|
|
159
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Define la dirección de apertura del dropdown
|
|
162
|
+
* 'auto': detecta automáticamente (default)
|
|
163
|
+
* 'above': siempre se abre hacia arriba
|
|
164
|
+
* 'below': siempre se abre hacia abajo
|
|
165
|
+
*/
|
|
166
|
+
openDirection: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
validator(value: string): boolean;
|
|
170
|
+
};
|
|
160
171
|
/**
|
|
161
172
|
* Muestra un campo de texto para filtrar los elementos del dropdown.
|
|
162
173
|
* La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
|
|
@@ -302,6 +313,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
302
313
|
type: BooleanConstructor;
|
|
303
314
|
default: boolean;
|
|
304
315
|
};
|
|
316
|
+
/**
|
|
317
|
+
* Define la dirección de apertura del dropdown
|
|
318
|
+
* 'auto': detecta automáticamente (default)
|
|
319
|
+
* 'above': siempre se abre hacia arriba
|
|
320
|
+
* 'below': siempre se abre hacia abajo
|
|
321
|
+
*/
|
|
322
|
+
openDirection: {
|
|
323
|
+
type: StringConstructor;
|
|
324
|
+
default: string;
|
|
325
|
+
validator(value: string): boolean;
|
|
326
|
+
};
|
|
305
327
|
/**
|
|
306
328
|
* Muestra un campo de texto para filtrar los elementos del dropdown.
|
|
307
329
|
* La propiedad `autocompleteFilter` es requerida cuando se usa esta opción.
|
|
@@ -342,6 +364,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
342
364
|
maxHeight: number;
|
|
343
365
|
limitText: Function;
|
|
344
366
|
appendToBody: boolean;
|
|
367
|
+
openDirection: string;
|
|
345
368
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
346
369
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
347
370
|
export default _default;
|