energy-components 1.0.2 → 1.0.4
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 +44 -45
- package/dist/components/accordionGroup.es.js +12 -12
- package/dist/components/actionButton.es.js +2 -2
- package/dist/components/breadcrumbs.es.js +8 -8
- package/dist/components/button.es.js +20 -20
- package/dist/components/card.es.js +12 -0
- package/dist/components/checkbox.es.js +16 -16
- package/dist/components/datepicker.es.js +8208 -0
- package/dist/components/divider.es.js +6 -6
- package/dist/components/dropdown.es.js +55 -47
- package/dist/components/floatingActionButton.es.js +4 -4
- package/dist/components/{icon-svg-Cpx09myr.js → icon-svg-CEZ-L3iv.js} +6 -5
- package/dist/components/iconList.es.js +10 -10
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +84 -63
- package/dist/components/indicator.es.js +21 -21
- package/dist/components/infoBox.es.js +152 -0
- package/dist/components/link.es.js +21 -21
- package/dist/components/modal.es.js +96 -0
- package/dist/components/overlay.es.js +31 -0
- package/dist/components/pagination.es.js +20 -20
- package/dist/components/persistentToast.es.js +130 -0
- package/dist/components/radio-group.vue_vue_type_script_setup_true_lang-B-kg-575.js +28 -0
- package/dist/components/radioButton.es.js +69 -57
- package/dist/components/radioGroup.es.js +4 -0
- package/dist/components/style/accordion.css +1 -1
- package/dist/components/style/accordionGroup.css +1 -1
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/breadcrumbs.css +1 -1
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/card.css +1 -0
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/datepicker.css +1 -0
- package/dist/components/style/divider.css +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/floatingActionButton.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/iconList.css +1 -1
- package/dist/components/style/indicator.css +1 -1
- package/dist/components/style/infoBox.css +1 -0
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/modal.css +1 -0
- package/dist/components/style/multiselect.css +1 -1
- package/dist/components/style/overlay.css +1 -0
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -0
- package/dist/components/style/radioButton.css +1 -1
- package/dist/components/style/switch.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/tag.css +1 -1
- package/dist/components/style/textArea.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 +14 -14
- package/dist/components/tabBar.es.js +35 -35
- package/dist/components/tag.es.js +12 -12
- package/dist/components/textArea.es.js +31 -31
- package/dist/components/textField.es.js +52 -50
- package/dist/components/tooltip.es.js +59 -59
- package/dist/energy-components.es.js +10417 -1771
- package/dist/energy-components.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/accordion/accordion.vue.d.ts +0 -2
- package/dist/types/src/components/content/card/card.vue.d.ts +24 -0
- package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +134 -0
- package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +161 -0
- package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +2 -0
- package/dist/types/src/components/index.d.ts +7 -0
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +15 -0
- package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +13 -32
- package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +50 -0
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +2 -2
- package/dist/types/src/components/navigation/link/link.vue.d.ts +1 -1
- package/dist/types/src/components/overlay/modal/modal.vue.d.ts +186 -0
- package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +46 -0
- package/dist/types/src/helpers/getInstance.d.ts +6 -0
- package/dist/types/src/helpers/mobileMockup.vue.d.ts +9 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -22,7 +22,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
22
22
|
id: {
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
required: true;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
25
|
};
|
|
27
26
|
/**
|
|
28
27
|
* El título del acordeón.
|
|
@@ -71,7 +70,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
71
70
|
id: {
|
|
72
71
|
type: StringConstructor;
|
|
73
72
|
required: true;
|
|
74
|
-
validator: (value: string) => boolean;
|
|
75
73
|
};
|
|
76
74
|
/**
|
|
77
75
|
* El título del acordeón.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare var __VLS_0: {};
|
|
2
|
+
declare var __VLS_inheritedAttrs: {};
|
|
3
|
+
declare const __VLS_refs: {};
|
|
4
|
+
declare const __VLS_templateResult: {
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: typeof __VLS_0): any;
|
|
7
|
+
};
|
|
8
|
+
refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
|
|
9
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_PickRefsExpose<T> = T extends object ? {
|
|
16
|
+
[K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
|
|
17
|
+
expose?: (exposed: infer E) => void;
|
|
18
|
+
} ? E : T[K]) | null;
|
|
19
|
+
} : never;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Tipo del mensaje.
|
|
4
|
+
*
|
|
5
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
6
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
7
|
+
* - `success`: Indica un mensaje de éxito.
|
|
8
|
+
* - `error`: Indica un mensaje de error.
|
|
9
|
+
* - `info`: Indica un mensaje informativo.
|
|
10
|
+
*
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @required
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
validator: (value: unknown) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* El contenido del mensaje.
|
|
21
|
+
*
|
|
22
|
+
* El texto principal que se mostrará en el mensaje.
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @required
|
|
26
|
+
*/
|
|
27
|
+
message: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* El título del mensaje.
|
|
33
|
+
*
|
|
34
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @optional
|
|
38
|
+
*/
|
|
39
|
+
title: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* El icono asociado con el mensaje.
|
|
45
|
+
*
|
|
46
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @optional
|
|
50
|
+
*/
|
|
51
|
+
icon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Indica si el mensaje es colapsable.
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @optional
|
|
60
|
+
*/
|
|
61
|
+
collapsable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
/**
|
|
68
|
+
* Tipo del mensaje.
|
|
69
|
+
*
|
|
70
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
71
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
72
|
+
* - `success`: Indica un mensaje de éxito.
|
|
73
|
+
* - `error`: Indica un mensaje de error.
|
|
74
|
+
* - `info`: Indica un mensaje informativo.
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @required
|
|
78
|
+
*/
|
|
79
|
+
type: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
validator: (value: unknown) => boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* El contenido del mensaje.
|
|
86
|
+
*
|
|
87
|
+
* El texto principal que se mostrará en el mensaje.
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @required
|
|
91
|
+
*/
|
|
92
|
+
message: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* El título del mensaje.
|
|
98
|
+
*
|
|
99
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @optional
|
|
103
|
+
*/
|
|
104
|
+
title: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* El icono asociado con el mensaje.
|
|
110
|
+
*
|
|
111
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @optional
|
|
115
|
+
*/
|
|
116
|
+
icon: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
required: false;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Indica si el mensaje es colapsable.
|
|
122
|
+
*
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @optional
|
|
125
|
+
*/
|
|
126
|
+
collapsable: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
required: false;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>>, {
|
|
132
|
+
collapsable: boolean;
|
|
133
|
+
}, {}>;
|
|
134
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
declare var __VLS_inheritedAttrs: {};
|
|
2
|
+
declare const __VLS_refs: {};
|
|
3
|
+
declare const __VLS_templateResult: {
|
|
4
|
+
slots: {
|
|
5
|
+
"action-section"?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
|
|
8
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
12
|
+
/**
|
|
13
|
+
* Tipo del mensaje.
|
|
14
|
+
*
|
|
15
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
16
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
17
|
+
* - `success`: Indica un mensaje de éxito.
|
|
18
|
+
* - `error`: Indica un mensaje de error.
|
|
19
|
+
* - `info`: Indica un mensaje informativo.
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @required
|
|
23
|
+
*/
|
|
24
|
+
type: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
validator: (value: unknown) => boolean;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* El contenido del mensaje.
|
|
31
|
+
*
|
|
32
|
+
* El texto principal que se mostrará en el mensaje.
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @required
|
|
36
|
+
*/
|
|
37
|
+
message: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* El título del mensaje.
|
|
43
|
+
*
|
|
44
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @optional
|
|
48
|
+
*/
|
|
49
|
+
title: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* El icono asociado con el mensaje.
|
|
55
|
+
*
|
|
56
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @optional
|
|
60
|
+
*/
|
|
61
|
+
icon: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Indica si se debe mostrar el botón de cierre.
|
|
67
|
+
*
|
|
68
|
+
* Si es `true`, se mostrará un botón para cerrar el mensaje.
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @optional
|
|
72
|
+
*/
|
|
73
|
+
close: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
required: false;
|
|
76
|
+
};
|
|
77
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
|
+
onCloseToastAction: () => void;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
/**
|
|
81
|
+
* Tipo del mensaje.
|
|
82
|
+
*
|
|
83
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
84
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
85
|
+
* - `success`: Indica un mensaje de éxito.
|
|
86
|
+
* - `error`: Indica un mensaje de error.
|
|
87
|
+
* - `info`: Indica un mensaje informativo.
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @required
|
|
91
|
+
*/
|
|
92
|
+
type: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: true;
|
|
95
|
+
validator: (value: unknown) => boolean;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* El contenido del mensaje.
|
|
99
|
+
*
|
|
100
|
+
* El texto principal que se mostrará en el mensaje.
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @required
|
|
104
|
+
*/
|
|
105
|
+
message: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* El título del mensaje.
|
|
111
|
+
*
|
|
112
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @optional
|
|
116
|
+
*/
|
|
117
|
+
title: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* El icono asociado con el mensaje.
|
|
123
|
+
*
|
|
124
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @optional
|
|
128
|
+
*/
|
|
129
|
+
icon: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Indica si se debe mostrar el botón de cierre.
|
|
135
|
+
*
|
|
136
|
+
* Si es `true`, se mostrará un botón para cerrar el mensaje.
|
|
137
|
+
*
|
|
138
|
+
* @type {boolean}
|
|
139
|
+
* @optional
|
|
140
|
+
*/
|
|
141
|
+
close: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
}>> & {
|
|
146
|
+
onOnCloseToastAction?: (() => any) | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
close: boolean;
|
|
149
|
+
}, {}>;
|
|
150
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
151
|
+
export default _default;
|
|
152
|
+
type __VLS_PickRefsExpose<T> = T extends object ? {
|
|
153
|
+
[K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
|
|
154
|
+
expose?: (exposed: infer E) => void;
|
|
155
|
+
} ? E : T[K]) | null;
|
|
156
|
+
} : never;
|
|
157
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
158
|
+
new (): {
|
|
159
|
+
$slots: S;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
@@ -24,6 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Permite establecer un color personalizado para el icono.
|
|
27
|
+
* Acepta un valor de color en CSS, como '#333', 'red' o 'var(--rds-color-turquoise-70)'.
|
|
27
28
|
*/
|
|
28
29
|
color: {
|
|
29
30
|
type: StringConstructor;
|
|
@@ -55,6 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
58
|
* Permite establecer un color personalizado para el icono.
|
|
59
|
+
* Acepta un valor de color en CSS, como '#333', 'red' o 'var(--rds-color-turquoise-70)'.
|
|
58
60
|
*/
|
|
59
61
|
color: {
|
|
60
62
|
type: StringConstructor;
|
|
@@ -7,14 +7,21 @@ export { default as RDSTextField } from './input/text-field/text-field.vue';
|
|
|
7
7
|
export { default as RDSTextArea } from './input/text-area/text-area.vue';
|
|
8
8
|
export { default as RDSSwitch } from './input/switch/switch.vue';
|
|
9
9
|
export { default as RDSRadioButton } from './input/radio-button/radio-button.vue';
|
|
10
|
+
export { default as RDSRadioGroup } from './input/radio-button/radio-group.vue';
|
|
10
11
|
export { default as RDSDropdown } from './input/dropdown/dropdown.vue';
|
|
12
|
+
export { default as RDSDatePicker } from './input/datepicker/datepicker.vue';
|
|
11
13
|
export { default as RDSTag } from './content/tag/tag.vue';
|
|
12
14
|
export { default as RDSAccordionGroup } from './content/acordion-group/accordion-group.vue';
|
|
13
15
|
export { default as RDSAccordion } from './content/accordion/accordion.vue';
|
|
14
16
|
export { default as RDSDivider } from './content/divider/divider.vue';
|
|
17
|
+
export { default as RDSCard } from './content/card/card.vue';
|
|
15
18
|
export { default as RDSLink } from './navigation/link/link.vue';
|
|
16
19
|
export { default as RDSBreadcrumbs } from './navigation/breadcrumbs/breadcrumbs.vue';
|
|
17
20
|
export { default as RDSTabBar } from './navigation/tab-bar/tab-bar.vue';
|
|
18
21
|
export { default as RDSPagination } from './navigation/pagination/pagination.vue';
|
|
19
22
|
export { default as RDSIndicator } from './feedback/indicator/indicator.vue';
|
|
23
|
+
export { default as RDSPersistentToast } from './feedback/persistent-toast/persistent-toast.vue';
|
|
24
|
+
export { default as RDSInfoBox } from './feedback/info-box/info-box.vue';
|
|
25
|
+
export { default as RDSModal } from './overlay/modal/modal.vue';
|
|
26
|
+
export { default as RDSOverlay } from './overlay/overlay/overlay.vue';
|
|
20
27
|
export { default as RDSTooltip } from './overlay/tooltip/tooltip.vue';
|
|
@@ -113,6 +113,13 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
113
113
|
type: BooleanConstructor;
|
|
114
114
|
default: boolean;
|
|
115
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* Texto de ayuda a mostrar debajo del campo de entrada.
|
|
118
|
+
*/
|
|
119
|
+
helperText: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
116
123
|
/**
|
|
117
124
|
* Indica la cantidad maxima de elementos seleccionados a mostrar en el imput.
|
|
118
125
|
*/
|
|
@@ -220,6 +227,13 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
220
227
|
type: BooleanConstructor;
|
|
221
228
|
default: boolean;
|
|
222
229
|
};
|
|
230
|
+
/**
|
|
231
|
+
* Texto de ayuda a mostrar debajo del campo de entrada.
|
|
232
|
+
*/
|
|
233
|
+
helperText: {
|
|
234
|
+
type: StringConstructor;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
223
237
|
/**
|
|
224
238
|
* Indica la cantidad maxima de elementos seleccionados a mostrar en el imput.
|
|
225
239
|
*/
|
|
@@ -250,6 +264,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
250
264
|
small: boolean;
|
|
251
265
|
disabled: boolean;
|
|
252
266
|
helper: boolean;
|
|
267
|
+
helperText: string;
|
|
253
268
|
multiple: boolean;
|
|
254
269
|
closeOnSelect: boolean;
|
|
255
270
|
showRadio: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
/**
|
|
3
|
-
* <span>
|
|
3
|
+
* <span>Id del radio button</span>
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
id: {
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
required:
|
|
7
|
+
required: false;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
* <span>
|
|
10
|
+
* <span>Opción del radio button</span>
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
type: StringConstructor;
|
|
12
|
+
option: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
@@ -42,28 +42,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: BooleanConstructor;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
46
|
/**
|
|
46
|
-
* <span>
|
|
47
|
+
* <span>Id del radio button</span>
|
|
47
48
|
*/
|
|
48
|
-
|
|
49
|
-
type:
|
|
50
|
-
|
|
49
|
+
id: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
51
52
|
};
|
|
52
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
-
"update:modelValue": (event: string | number | boolean) => void;
|
|
54
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
53
|
/**
|
|
56
54
|
* <span>Opción del radio button</span>
|
|
57
55
|
*/
|
|
58
56
|
option: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* <span>Nombre del grupo al que pertenece el radio button</span>
|
|
64
|
-
*/
|
|
65
|
-
groupName: {
|
|
66
|
-
type: StringConstructor;
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
67
58
|
required: true;
|
|
68
59
|
};
|
|
69
60
|
/**
|
|
@@ -95,20 +86,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
86
|
type: BooleanConstructor;
|
|
96
87
|
default: boolean;
|
|
97
88
|
};
|
|
98
|
-
|
|
99
|
-
* <span>Estado del radio button</span>
|
|
100
|
-
*/
|
|
101
|
-
checked: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
}>> & {
|
|
106
|
-
"onUpdate:modelValue"?: ((event: string | number | boolean) => any) | undefined;
|
|
107
|
-
}, {
|
|
89
|
+
}>>, {
|
|
108
90
|
error: boolean;
|
|
109
91
|
label: string;
|
|
110
92
|
icon: string;
|
|
111
93
|
disabled: boolean;
|
|
112
|
-
checked: boolean;
|
|
113
94
|
}, {}>;
|
|
114
95
|
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare var __VLS_0: {};
|
|
2
|
+
declare var __VLS_inheritedAttrs: {};
|
|
3
|
+
declare const __VLS_refs: {};
|
|
4
|
+
declare const __VLS_templateResult: {
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: typeof __VLS_0): any;
|
|
7
|
+
};
|
|
8
|
+
refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
|
|
9
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* <span>Nombre del grupo de radio. Es importante usar un group-name único para cada grupo de radio.</span>
|
|
15
|
+
*/
|
|
16
|
+
groupName: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: import("vue").PropType<string | number | null>;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (modelValue: string | number | null) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* <span>Nombre del grupo de radio. Es importante usar un group-name único para cada grupo de radio.</span>
|
|
28
|
+
*/
|
|
29
|
+
groupName: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
modelValue: {
|
|
34
|
+
type: import("vue").PropType<string | number | null>;
|
|
35
|
+
};
|
|
36
|
+
}>> & {
|
|
37
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | null) => any) | undefined;
|
|
38
|
+
}, {}, {}>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_PickRefsExpose<T> = T extends object ? {
|
|
42
|
+
[K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
|
|
43
|
+
expose?: (exposed: infer E) => void;
|
|
44
|
+
} ? E : T[K]) | null;
|
|
45
|
+
} : never;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare var __VLS_0: {};
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_14: {};
|
|
3
3
|
declare var __VLS_inheritedAttrs: {};
|
|
4
4
|
declare const __VLS_refs: {};
|
|
5
5
|
declare const __VLS_templateResult: {
|
|
6
6
|
slots: {
|
|
7
7
|
"left-icon"?(_: typeof __VLS_0): any;
|
|
8
8
|
"right-icon"?(_: {}): any;
|
|
9
|
-
"helper-text"?(_: typeof
|
|
9
|
+
"helper-text"?(_: typeof __VLS_14): any;
|
|
10
10
|
};
|
|
11
11
|
refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
|
|
12
12
|
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
@@ -155,11 +155,11 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
155
155
|
icon: Record<string, any>;
|
|
156
156
|
inverse: boolean;
|
|
157
157
|
disabled: boolean;
|
|
158
|
+
right: boolean;
|
|
158
159
|
tag: string;
|
|
159
160
|
to: string;
|
|
160
161
|
underline: boolean;
|
|
161
162
|
arrow: boolean;
|
|
162
|
-
right: boolean;
|
|
163
163
|
}, {}>;
|
|
164
164
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
165
165
|
export default _default;
|