energy-components 1.11.0 → 1.13.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/checkbox.es.js +67 -45
- package/dist/components/datepicker.es.js +2276 -2251
- package/dist/components/dropdown.es.js +148 -141
- package/dist/components/filterTag.es.js +70 -0
- package/dist/components/index.es.js +94 -91
- package/dist/components/modal.es.js +29 -27
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/datepicker.css +1 -1
- package/dist/components/style/directAccess.css +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/filterTag.css +1 -0
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/textArea.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/tabBar.es.js +103 -98
- package/dist/components/textArea.es.js +96 -86
- package/dist/components/textField.es.js +118 -110
- package/dist/components/tooltip.es.js +50 -50
- package/dist/energy-components.es.js +14684 -14541
- 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 +2 -2
- package/dist/types/src/components/content/collapsable/collapsable.vue.d.ts +2 -2
- package/dist/types/src/components/index.d.ts +1 -0
- package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +15 -0
- package/dist/types/src/components/input/datepicker/datepicker.vue.d.ts +4 -2
- package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +1 -1
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +13 -13
- package/dist/types/src/components/input/filter-tag/filter-tag.vue.d.ts +53 -0
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +1 -1
- package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +2 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
72
|
-
click: (event:
|
|
72
|
+
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
73
73
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
74
|
/**
|
|
75
75
|
* Tipo de contenido para el avatar.
|
|
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
139
139
|
default: string;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{
|
|
142
|
-
onClick?: ((event:
|
|
142
|
+
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
143
143
|
}>, {
|
|
144
144
|
size: AvatarSizeType;
|
|
145
145
|
type: AvatarType;
|
|
@@ -40,9 +40,9 @@ declare const __VLS_component: import("vue").DefineComponent<RDSCollapsableProps
|
|
|
40
40
|
open: boolean;
|
|
41
41
|
icon: string;
|
|
42
42
|
disabled: boolean;
|
|
43
|
-
id: string;
|
|
44
|
-
fullWidth: boolean;
|
|
45
43
|
content: string;
|
|
44
|
+
fullWidth: boolean;
|
|
45
|
+
id: string;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
48
48
|
export default _default;
|
|
@@ -16,6 +16,7 @@ export { default as RDSSelectionChip } from './input/selection-chip/selection-ch
|
|
|
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
18
|
export { default as RDSFileUploadItem } from './input/file-upload-item/file-upload-item.vue';
|
|
19
|
+
export { default as RDSFilterTag } from './input/filter-tag/filter-tag.vue';
|
|
19
20
|
export { default as RDSTag } from './content/tag/tag.vue';
|
|
20
21
|
export { default as RDSAccordionGroup } from './content/acordion-group/accordion-group.vue';
|
|
21
22
|
export { default as RDSAccordion } from './content/accordion/accordion.vue';
|
|
@@ -31,6 +31,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
31
31
|
type: StringConstructor;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* <span>Texto del tooltip para el icono. Si se proporciona, el icono mostrará un tooltip.</span>
|
|
36
|
+
*/
|
|
37
|
+
iconTooltip: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
34
41
|
/**
|
|
35
42
|
* <span>Estado del checkbox</span>
|
|
36
43
|
*/
|
|
@@ -97,6 +104,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
97
104
|
type: StringConstructor;
|
|
98
105
|
default: string;
|
|
99
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* <span>Texto del tooltip para el icono. Si se proporciona, el icono mostrará un tooltip.</span>
|
|
109
|
+
*/
|
|
110
|
+
iconTooltip: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
100
114
|
/**
|
|
101
115
|
* <span>Estado del checkbox</span>
|
|
102
116
|
*/
|
|
@@ -142,6 +156,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
142
156
|
disabled: boolean;
|
|
143
157
|
id: string | number;
|
|
144
158
|
accessibilityLabel: string;
|
|
159
|
+
iconTooltip: string;
|
|
145
160
|
isChecked: boolean;
|
|
146
161
|
indeterminate: boolean;
|
|
147
162
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -137,7 +137,9 @@ declare const __VLS_component: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
137
137
|
*/
|
|
138
138
|
clearValue: () => void;
|
|
139
139
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
140
|
-
|
|
140
|
+
[x: string]: any;
|
|
141
|
+
} & {
|
|
142
|
+
[x: string]: any;
|
|
141
143
|
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
142
144
|
/**
|
|
143
145
|
* ID del interruptor
|
|
@@ -249,7 +251,7 @@ declare const __VLS_component: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
249
251
|
type: PropType<Date | Date[] | null>;
|
|
250
252
|
};
|
|
251
253
|
}>> & Readonly<{
|
|
252
|
-
|
|
254
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
253
255
|
}>, {
|
|
254
256
|
label: string;
|
|
255
257
|
disabled: boolean;
|
|
@@ -197,8 +197,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
197
197
|
error: boolean;
|
|
198
198
|
icon: string;
|
|
199
199
|
disabled: boolean;
|
|
200
|
-
id: string;
|
|
201
200
|
fullWidth: boolean;
|
|
201
|
+
id: string;
|
|
202
202
|
multiple: boolean;
|
|
203
203
|
accept: string;
|
|
204
204
|
detailText: string;
|
|
@@ -19,33 +19,33 @@ export interface AutoCompleteProps {
|
|
|
19
19
|
helperText?: string;
|
|
20
20
|
autocompleteFilter: (option: DropdownOption | string, search: string) => boolean;
|
|
21
21
|
}
|
|
22
|
-
declare var
|
|
22
|
+
declare var __VLS_31: {}, __VLS_53: {
|
|
23
23
|
option: any;
|
|
24
|
-
},
|
|
24
|
+
}, __VLS_55: {
|
|
25
25
|
option: any;
|
|
26
26
|
search: any;
|
|
27
27
|
index: any;
|
|
28
|
-
},
|
|
28
|
+
}, __VLS_57: {}, __VLS_59: {}, __VLS_61: {
|
|
29
29
|
search: any;
|
|
30
|
-
},
|
|
30
|
+
}, __VLS_63: {}, __VLS_76: {}, __VLS_78: {};
|
|
31
31
|
type __VLS_Slots = {} & {
|
|
32
|
-
'helper-text'?: (props: typeof
|
|
32
|
+
'helper-text'?: (props: typeof __VLS_31) => any;
|
|
33
33
|
} & {
|
|
34
|
-
singleLabel?: (props: typeof
|
|
34
|
+
singleLabel?: (props: typeof __VLS_53) => any;
|
|
35
35
|
} & {
|
|
36
|
-
optionAppend?: (props: typeof
|
|
36
|
+
optionAppend?: (props: typeof __VLS_55) => any;
|
|
37
37
|
} & {
|
|
38
|
-
limit?: (props: typeof
|
|
38
|
+
limit?: (props: typeof __VLS_57) => any;
|
|
39
39
|
} & {
|
|
40
|
-
maxElements?: (props: typeof
|
|
40
|
+
maxElements?: (props: typeof __VLS_59) => any;
|
|
41
41
|
} & {
|
|
42
|
-
noResult?: (props: typeof
|
|
42
|
+
noResult?: (props: typeof __VLS_61) => any;
|
|
43
43
|
} & {
|
|
44
|
-
noOptions?: (props: typeof
|
|
44
|
+
noOptions?: (props: typeof __VLS_63) => any;
|
|
45
45
|
} & {
|
|
46
|
-
beforeList?: (props: typeof
|
|
46
|
+
beforeList?: (props: typeof __VLS_76) => any;
|
|
47
47
|
} & {
|
|
48
|
-
afterList?: (props: typeof
|
|
48
|
+
afterList?: (props: typeof __VLS_78) => any;
|
|
49
49
|
};
|
|
50
50
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
51
51
|
/**
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/**
|
|
3
|
+
* Texto a mostrar en el filtro
|
|
4
|
+
*/
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Desactiva el filtro
|
|
11
|
+
*/
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Tabindex para accesibilidad
|
|
18
|
+
*/
|
|
19
|
+
tabindex: {
|
|
20
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
|
+
remove: (event: MouseEvent | KeyboardEvent) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* Texto a mostrar en el filtro
|
|
28
|
+
*/
|
|
29
|
+
text: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Desactiva el filtro
|
|
35
|
+
*/
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Tabindex para accesibilidad
|
|
42
|
+
*/
|
|
43
|
+
tabindex: {
|
|
44
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onRemove?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
tabindex: string | number;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export default _default;
|
|
@@ -284,8 +284,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
284
284
|
type: string;
|
|
285
285
|
icon: string;
|
|
286
286
|
disabled: boolean;
|
|
287
|
-
password: boolean;
|
|
288
287
|
fullWidth: boolean;
|
|
288
|
+
password: boolean;
|
|
289
289
|
readonly: boolean;
|
|
290
290
|
maxLength: number;
|
|
291
291
|
minLength: number;
|
|
@@ -90,10 +90,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
90
90
|
};
|
|
91
91
|
}>> & Readonly<{}>, {
|
|
92
92
|
title: string;
|
|
93
|
-
fullWidth: boolean;
|
|
94
93
|
content: string;
|
|
95
|
-
large: boolean;
|
|
96
94
|
offsetSpace: number;
|
|
95
|
+
large: boolean;
|
|
96
|
+
fullWidth: boolean;
|
|
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;
|