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,229 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
interface FileAction {
|
|
3
|
+
type: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
type FileStatus = 'default' | 'uploading' | 'error' | 'disabled';
|
|
8
|
+
declare var __VLS_1: {}, __VLS_9: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
'file-icon'?: (props: typeof __VLS_1) => any;
|
|
11
|
+
} & {
|
|
12
|
+
action?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
/**
|
|
16
|
+
* Identificador único para el ítem de archivo (opcional, pero útil para eventos).
|
|
17
|
+
*/
|
|
18
|
+
id: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Nombre del archivo a mostrar.
|
|
24
|
+
*/
|
|
25
|
+
fileName: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Tamaño del archivo en bytes.
|
|
31
|
+
*/
|
|
32
|
+
fileSize: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Nombre del icono a mostrar para el archivo.
|
|
38
|
+
* Ver la sección 'Options > Icon' en el diseño para ejemplos.
|
|
39
|
+
* Por defecto es 'document_generic' (representando "Document final content").
|
|
40
|
+
*/
|
|
41
|
+
fileIcon: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Estado actual del ítem de archivo.
|
|
47
|
+
* Determina la apariencia y elementos mostrados (ej. barra de progreso, mensaje de error).
|
|
48
|
+
* Posibles valores: 'default', 'uploading', 'error', 'disabled'.
|
|
49
|
+
*/
|
|
50
|
+
status: {
|
|
51
|
+
type: PropType<FileStatus>;
|
|
52
|
+
default: string;
|
|
53
|
+
validator: (value: string) => boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Progreso de la subida (0-100). Usado por RDSProgressBar si showProgressBar es true.
|
|
57
|
+
*/
|
|
58
|
+
progress: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
validator: (value: number) => boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Texto que indica el tiempo restante de subida (ej. "4 second left").
|
|
65
|
+
* Solo visible si status es 'uploading'.
|
|
66
|
+
*/
|
|
67
|
+
timeRemaining: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: null;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Mensaje de error a mostrar. Solo visible si status es 'error'.
|
|
73
|
+
* Reemplaza el campo de detalle con el contexto de error.
|
|
74
|
+
*/
|
|
75
|
+
errorMessage: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Indica si el componente está deshabilitado.
|
|
81
|
+
* Esto aplicará estilos de deshabilitado y prevendrá interacciones.
|
|
82
|
+
*/
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Define la acción disponible para el ítem.
|
|
89
|
+
* Por defecto es una acción de eliminar.
|
|
90
|
+
* Ejemplo: { type: 'delete', icon: 'delete', label: 'Eliminar archivo' }
|
|
91
|
+
*/
|
|
92
|
+
action: {
|
|
93
|
+
type: PropType<FileAction>;
|
|
94
|
+
default: () => {
|
|
95
|
+
type: string;
|
|
96
|
+
icon: string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Indica si se debe mostrar el componente RDSProgressBar durante el estado 'uploading'.
|
|
102
|
+
* Si es false, no se muestra ninguna barra de progreso.
|
|
103
|
+
*/
|
|
104
|
+
showProgressBar: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
109
|
+
action: (payload: {
|
|
110
|
+
actionType: string;
|
|
111
|
+
fileId: string;
|
|
112
|
+
}) => any;
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
+
/**
|
|
115
|
+
* Identificador único para el ítem de archivo (opcional, pero útil para eventos).
|
|
116
|
+
*/
|
|
117
|
+
id: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Nombre del archivo a mostrar.
|
|
123
|
+
*/
|
|
124
|
+
fileName: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Tamaño del archivo en bytes.
|
|
130
|
+
*/
|
|
131
|
+
fileSize: {
|
|
132
|
+
type: NumberConstructor;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Nombre del icono a mostrar para el archivo.
|
|
137
|
+
* Ver la sección 'Options > Icon' en el diseño para ejemplos.
|
|
138
|
+
* Por defecto es 'document_generic' (representando "Document final content").
|
|
139
|
+
*/
|
|
140
|
+
fileIcon: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Estado actual del ítem de archivo.
|
|
146
|
+
* Determina la apariencia y elementos mostrados (ej. barra de progreso, mensaje de error).
|
|
147
|
+
* Posibles valores: 'default', 'uploading', 'error', 'disabled'.
|
|
148
|
+
*/
|
|
149
|
+
status: {
|
|
150
|
+
type: PropType<FileStatus>;
|
|
151
|
+
default: string;
|
|
152
|
+
validator: (value: string) => boolean;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Progreso de la subida (0-100). Usado por RDSProgressBar si showProgressBar es true.
|
|
156
|
+
*/
|
|
157
|
+
progress: {
|
|
158
|
+
type: NumberConstructor;
|
|
159
|
+
default: number;
|
|
160
|
+
validator: (value: number) => boolean;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Texto que indica el tiempo restante de subida (ej. "4 second left").
|
|
164
|
+
* Solo visible si status es 'uploading'.
|
|
165
|
+
*/
|
|
166
|
+
timeRemaining: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: null;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Mensaje de error a mostrar. Solo visible si status es 'error'.
|
|
172
|
+
* Reemplaza el campo de detalle con el contexto de error.
|
|
173
|
+
*/
|
|
174
|
+
errorMessage: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: null;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Indica si el componente está deshabilitado.
|
|
180
|
+
* Esto aplicará estilos de deshabilitado y prevendrá interacciones.
|
|
181
|
+
*/
|
|
182
|
+
disabled: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Define la acción disponible para el ítem.
|
|
188
|
+
* Por defecto es una acción de eliminar.
|
|
189
|
+
* Ejemplo: { type: 'delete', icon: 'delete', label: 'Eliminar archivo' }
|
|
190
|
+
*/
|
|
191
|
+
action: {
|
|
192
|
+
type: PropType<FileAction>;
|
|
193
|
+
default: () => {
|
|
194
|
+
type: string;
|
|
195
|
+
icon: string;
|
|
196
|
+
label: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Indica si se debe mostrar el componente RDSProgressBar durante el estado 'uploading'.
|
|
201
|
+
* Si es false, no se muestra ninguna barra de progreso.
|
|
202
|
+
*/
|
|
203
|
+
showProgressBar: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
}>> & Readonly<{
|
|
208
|
+
onAction?: ((payload: {
|
|
209
|
+
actionType: string;
|
|
210
|
+
fileId: string;
|
|
211
|
+
}) => any) | undefined;
|
|
212
|
+
}>, {
|
|
213
|
+
progress: number;
|
|
214
|
+
disabled: boolean;
|
|
215
|
+
id: string;
|
|
216
|
+
errorMessage: string;
|
|
217
|
+
fileIcon: string;
|
|
218
|
+
status: FileStatus;
|
|
219
|
+
timeRemaining: string;
|
|
220
|
+
action: FileAction;
|
|
221
|
+
showProgressBar: boolean;
|
|
222
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
223
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
224
|
+
export default _default;
|
|
225
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
226
|
+
new (): {
|
|
227
|
+
$slots: S;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
@@ -22,6 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
leftNumber: {
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: string;
|
|
25
|
+
validator: (value: string) => boolean;
|
|
25
26
|
};
|
|
26
27
|
/**
|
|
27
28
|
* <span>Indica si se muestra el icono de flecha a la derecha</span>
|
|
@@ -91,6 +92,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
92
|
leftNumber: {
|
|
92
93
|
type: StringConstructor;
|
|
93
94
|
default: string;
|
|
95
|
+
validator: (value: string) => boolean;
|
|
94
96
|
};
|
|
95
97
|
/**
|
|
96
98
|
* <span>Indica si se muestra el icono de flecha a la derecha</span>
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
interface ArtworkBase {
|
|
2
|
+
name?: string;
|
|
3
|
+
size?: number;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ArtworkIcon extends ArtworkBase {
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
interface ArtworkMicroillustration extends ArtworkBase {
|
|
10
|
+
path?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
alt?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
}
|
|
15
|
+
interface ArtworkProp {
|
|
16
|
+
icon?: ArtworkIcon;
|
|
17
|
+
microillustration?: ArtworkMicroillustration;
|
|
18
|
+
}
|
|
19
|
+
declare var __VLS_10: {}, __VLS_12: {}, __VLS_17: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_10) => any;
|
|
22
|
+
} & {
|
|
23
|
+
artwork?: (props: typeof __VLS_12) => any;
|
|
24
|
+
} & {
|
|
25
|
+
text?: (props: typeof __VLS_17) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
|
+
/**
|
|
29
|
+
* Texto principal a mostrar en el componente.
|
|
30
|
+
*/
|
|
31
|
+
text: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Define la disposición de los elementos: 'horizontal' o 'vertical'.
|
|
37
|
+
* <br>
|
|
38
|
+
* `['horizontal', 'vertical']`
|
|
39
|
+
*/
|
|
40
|
+
layout: {
|
|
41
|
+
type: () => "horizontal" | "vertical";
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (value: string) => boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Objeto para configurar el arte gráfico (icono o microilustración).
|
|
47
|
+
* <br>
|
|
48
|
+
* Ejemplo para icono: `{ icon: { name: 'icon-name', size: 24, color: 'blue' } }`
|
|
49
|
+
* <br>
|
|
50
|
+
* Ejemplo para microilustración: `{ microillustration: { path: 'path/to/image.svg', alt: 'Descripción', size: 48 } }`
|
|
51
|
+
*/
|
|
52
|
+
artwork: {
|
|
53
|
+
type: () => ArtworkProp;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Indica si se debe mostrar una flecha a la derecha (generalmente en layout horizontal).
|
|
58
|
+
*/
|
|
59
|
+
arrow: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Indica si el componente está deshabilitado.
|
|
65
|
+
*/
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Etiqueta ARIA para accesibilidad. Si no se proporciona, se usará el texto del componente.
|
|
72
|
+
*/
|
|
73
|
+
ariaLabel: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* URL de destino si el componente debe funcionar como un enlace.
|
|
79
|
+
* Si se proporciona, el componente se renderizará como <a> o <router-link>.
|
|
80
|
+
*/
|
|
81
|
+
linkTo: {
|
|
82
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Determina si linkTo debe tratarse como ruta de Vue Router.
|
|
87
|
+
* Si es true y linkTo está presente, se usará <router-link>.
|
|
88
|
+
*/
|
|
89
|
+
useRouterLink: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
94
|
+
click: (event: MouseEvent) => any;
|
|
95
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
/**
|
|
97
|
+
* Texto principal a mostrar en el componente.
|
|
98
|
+
*/
|
|
99
|
+
text: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Define la disposición de los elementos: 'horizontal' o 'vertical'.
|
|
105
|
+
* <br>
|
|
106
|
+
* `['horizontal', 'vertical']`
|
|
107
|
+
*/
|
|
108
|
+
layout: {
|
|
109
|
+
type: () => "horizontal" | "vertical";
|
|
110
|
+
default: string;
|
|
111
|
+
validator: (value: string) => boolean;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Objeto para configurar el arte gráfico (icono o microilustración).
|
|
115
|
+
* <br>
|
|
116
|
+
* Ejemplo para icono: `{ icon: { name: 'icon-name', size: 24, color: 'blue' } }`
|
|
117
|
+
* <br>
|
|
118
|
+
* Ejemplo para microilustración: `{ microillustration: { path: 'path/to/image.svg', alt: 'Descripción', size: 48 } }`
|
|
119
|
+
*/
|
|
120
|
+
artwork: {
|
|
121
|
+
type: () => ArtworkProp;
|
|
122
|
+
default: () => {};
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Indica si se debe mostrar una flecha a la derecha (generalmente en layout horizontal).
|
|
126
|
+
*/
|
|
127
|
+
arrow: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Indica si el componente está deshabilitado.
|
|
133
|
+
*/
|
|
134
|
+
disabled: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Etiqueta ARIA para accesibilidad. Si no se proporciona, se usará el texto del componente.
|
|
140
|
+
*/
|
|
141
|
+
ariaLabel: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* URL de destino si el componente debe funcionar como un enlace.
|
|
147
|
+
* Si se proporciona, el componente se renderizará como <a> o <router-link>.
|
|
148
|
+
*/
|
|
149
|
+
linkTo: {
|
|
150
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Determina si linkTo debe tratarse como ruta de Vue Router.
|
|
155
|
+
* Si es true y linkTo está presente, se usará <router-link>.
|
|
156
|
+
*/
|
|
157
|
+
useRouterLink: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{
|
|
162
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
163
|
+
}>, {
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
ariaLabel: string;
|
|
166
|
+
arrow: boolean;
|
|
167
|
+
layout: "vertical" | "horizontal";
|
|
168
|
+
artwork: ArtworkProp;
|
|
169
|
+
linkTo: string | Record<string, any>;
|
|
170
|
+
useRouterLink: boolean;
|
|
171
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
172
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
173
|
+
export default _default;
|
|
174
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
175
|
+
new (): {
|
|
176
|
+
$slots: S;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
@@ -81,6 +81,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
81
81
|
type: StringConstructor;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* <span>Color personalizado para el link. Si se define, sobrescribe el color por defecto. Puede ser cualquier valor CSS válido: #333, rgb(), var(--color), etc.</span>
|
|
86
|
+
*/
|
|
87
|
+
color: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
84
91
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
92
|
/**
|
|
86
93
|
* <span>Texto a mostrar en el link</span>
|
|
@@ -158,7 +165,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
158
165
|
type: StringConstructor;
|
|
159
166
|
default: string;
|
|
160
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* <span>Color personalizado para el link. Si se define, sobrescribe el color por defecto. Puede ser cualquier valor CSS válido: #333, rgb(), var(--color), etc.</span>
|
|
170
|
+
*/
|
|
171
|
+
color: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
161
175
|
}>> & Readonly<{}>, {
|
|
176
|
+
color: string;
|
|
162
177
|
icon: Record<string, any>;
|
|
163
178
|
inverse: boolean;
|
|
164
179
|
disabled: boolean;
|
|
@@ -92,8 +92,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
92
92
|
title: string;
|
|
93
93
|
fullWidth: boolean;
|
|
94
94
|
content: string;
|
|
95
|
-
offsetSpace: number;
|
|
96
95
|
large: boolean;
|
|
96
|
+
offsetSpace: number;
|
|
97
97
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
99
99
|
export default _default;
|