energy-components 1.6.0 → 1.7.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/button.es.js +17 -17
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/dropdown.es.js +1 -1
- package/dist/components/filterChip.es.js +1 -1
- package/dist/components/{icon-svg-DGp2yHJn.js → icon-svg-BmDOQ0kL.js} +42 -26
- package/dist/components/iconList.es.js +1 -1
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +1 -1
- 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/pagination.es.js +32 -21
- package/dist/components/persistentToast.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 +41 -29
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/tablepaginatedcomponent.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 +5 -3
- package/dist/components/tablepaginatedcomponent.es.js +46 -44
- 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/tooltip.es.js +179 -175
- package/dist/energy-components.es.js +2885 -2838
- package/dist/energy-components.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/buttons/button/button.vue.d.ts +2 -2
- package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +19 -0
- package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -2
- package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +1 -1
- package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +2 -2
- package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +15 -0
- package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +17 -0
- package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -38,7 +38,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
38
38
|
/**
|
|
39
39
|
* <span>Variante del botón</span>
|
|
40
40
|
* <br>
|
|
41
|
-
*`['primary', 'secondary', 'ghost']`
|
|
41
|
+
*`['primary', 'secondary', 'ghost', 'commercial']`
|
|
42
42
|
*/
|
|
43
43
|
variant: {
|
|
44
44
|
type: StringConstructor;
|
|
@@ -117,7 +117,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
117
117
|
/**
|
|
118
118
|
* <span>Variante del botón</span>
|
|
119
119
|
* <br>
|
|
120
|
-
*`['primary', 'secondary', 'ghost']`
|
|
120
|
+
*`['primary', 'secondary', 'ghost', 'commercial']`
|
|
121
121
|
*/
|
|
122
122
|
variant: {
|
|
123
123
|
type: StringConstructor;
|
|
@@ -30,6 +30,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
type: StringConstructor;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* <span>Tamaño personalizado del icono en píxeles.</span>
|
|
35
|
+
* <br>
|
|
36
|
+
* Ejemplo: 64 creará un icono de 64x64px
|
|
37
|
+
*/
|
|
38
|
+
size: {
|
|
39
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
40
|
+
default: null;
|
|
41
|
+
};
|
|
33
42
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
43
|
/**
|
|
35
44
|
* <span>Nombre del icono, todos en listado.</span>
|
|
@@ -62,9 +71,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
62
71
|
type: StringConstructor;
|
|
63
72
|
default: string;
|
|
64
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* <span>Tamaño personalizado del icono en píxeles.</span>
|
|
76
|
+
* <br>
|
|
77
|
+
* Ejemplo: 64 creará un icono de 64x64px
|
|
78
|
+
*/
|
|
79
|
+
size: {
|
|
80
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
81
|
+
default: null;
|
|
82
|
+
};
|
|
65
83
|
}>> & Readonly<{}>, {
|
|
66
84
|
modifier: string;
|
|
67
85
|
small: boolean;
|
|
68
86
|
color: string;
|
|
87
|
+
size: string | number;
|
|
69
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
70
89
|
export default _default;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
* Valor del filtro representado por el chip.
|
|
35
35
|
*/
|
|
36
36
|
filterValue: {
|
|
37
|
-
type: (StringConstructor | BooleanConstructor |
|
|
37
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
103
|
* Valor del filtro representado por el chip.
|
|
104
104
|
*/
|
|
105
105
|
filterValue: {
|
|
106
|
-
type: (StringConstructor | BooleanConstructor |
|
|
106
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
107
107
|
required: true;
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
onOnClickMinus?: (() => any) | undefined;
|
|
88
88
|
onOnDelete?: (() => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
disabled: boolean;
|
|
91
90
|
size: "small" | "default";
|
|
91
|
+
disabled: boolean;
|
|
92
92
|
deleteButton: boolean;
|
|
93
93
|
fullWidth: boolean;
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
* Valor del filtro representado por el chip.
|
|
21
21
|
*/
|
|
22
22
|
filterValue: {
|
|
23
|
-
type: (StringConstructor | BooleanConstructor |
|
|
23
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
* Valor del filtro representado por el chip.
|
|
76
76
|
*/
|
|
77
77
|
filterValue: {
|
|
78
|
-
type: (StringConstructor | BooleanConstructor |
|
|
78
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
79
79
|
required: true;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
@@ -39,6 +39,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* <span>Indica si el sidedrawer permanece abierto al hacer click fuera de él</span>
|
|
44
|
+
*/
|
|
45
|
+
persistent: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
42
49
|
}>, {
|
|
43
50
|
/**
|
|
44
51
|
* { boolean } Muestra el estado actual del sidebar.
|
|
@@ -87,6 +94,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
94
|
type: StringConstructor;
|
|
88
95
|
default: string;
|
|
89
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* <span>Indica si el sidedrawer permanece abierto al hacer click fuera de él</span>
|
|
99
|
+
*/
|
|
100
|
+
persistent: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
90
104
|
}>> & Readonly<{
|
|
91
105
|
onSidedrawerChange?: ((isHide: boolean) => any) | undefined;
|
|
92
106
|
}>, {
|
|
@@ -94,6 +108,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
94
108
|
iconClose: boolean;
|
|
95
109
|
blurOverlay: boolean;
|
|
96
110
|
containerWidth: string;
|
|
111
|
+
persistent: boolean;
|
|
97
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
98
113
|
sidebar: HTMLDivElement;
|
|
99
114
|
}, HTMLDivElement>;
|
|
@@ -66,6 +66,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* Desactiva el evento por defecto de la paginación al cargar el componente.
|
|
71
|
+
* Si se desactiva, la carga de datos debe manejarse manualmente la primera vez que se carga el componente.
|
|
72
|
+
*/
|
|
73
|
+
disableFirstLoad: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
69
77
|
}>, {
|
|
70
78
|
/** Resetea la paginación a la primera página y emite el evento pageChanged. */
|
|
71
79
|
resetPagination: () => void;
|
|
@@ -128,6 +136,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
136
|
type: BooleanConstructor;
|
|
129
137
|
default: boolean;
|
|
130
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Desactiva el evento por defecto de la paginación al cargar el componente.
|
|
141
|
+
* Si se desactiva, la carga de datos debe manejarse manualmente la primera vez que se carga el componente.
|
|
142
|
+
*/
|
|
143
|
+
disableFirstLoad: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
131
147
|
}>> & Readonly<{
|
|
132
148
|
onPageChanged?: ((payload: PageChangedEventPayload) => any) | undefined;
|
|
133
149
|
}>, {
|
|
@@ -137,5 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
137
153
|
totalItems: number;
|
|
138
154
|
itemsPerPage: number;
|
|
139
155
|
totalPages: number;
|
|
156
|
+
disableFirstLoad: boolean;
|
|
140
157
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
141
158
|
export default _default;
|