energy-components 1.22.0 → 1.24.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/link.es.js +84 -85
- package/dist/components/multiselect.es.js +52 -52
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/tablepaginatedcomponent.css +1 -1
- package/dist/components/tablepaginatedcomponent.es.js +55 -49
- package/dist/energy-components.es.js +2967 -2962
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/table/table-paginated/TablePaginatedComponent.vue.d.ts +8 -4
- package/dist/types/src/components/navigation/link/link.vue.d.ts +8 -5
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/types/src/components/content/table/table-paginated/TablePaginatedComponent.vue.d.ts
CHANGED
|
@@ -3,19 +3,23 @@ type Variant = 'default' | 'underline';
|
|
|
3
3
|
interface Props {
|
|
4
4
|
/** Indica si la tabla esta en estado de carga */
|
|
5
5
|
loading?: boolean;
|
|
6
|
-
/** Elementos a cargar en header para
|
|
6
|
+
/** Elementos a cargar en header para mostrar */
|
|
7
7
|
header: TableSlotedHeader[];
|
|
8
8
|
/** Elementos a mostrar en la tabla */
|
|
9
9
|
items: object[];
|
|
10
10
|
/** Numero totoal de elementos ya sea sincrona o no */
|
|
11
11
|
totalItemsLength: number;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Controla el estado visual del checkbox "Select All" en el header.
|
|
14
|
+
* ATENCIÓN: Si se pone a true, se asume selección masiva.
|
|
15
|
+
* Si se gestiona selección manual, debe sincronizarse con `initChecked`.
|
|
16
|
+
*/
|
|
13
17
|
checkedAll?: boolean;
|
|
14
18
|
/** Candidad de elementos a mostar por pagina si aplica */
|
|
15
19
|
itemsPerPage?: number[];
|
|
16
20
|
/** Si es necesario porner un checkbox indica el campo */
|
|
17
21
|
selectableKey?: string;
|
|
18
|
-
/** Indica si se oculta el
|
|
22
|
+
/** Indica si se oculta el checkbox de seleccionar todo */
|
|
19
23
|
hideSelectAll?: boolean;
|
|
20
24
|
/** Indica si se oculta el dropdown para cambiar los elementos por pagina */
|
|
21
25
|
hideItemsPerPage?: boolean;
|
|
@@ -33,7 +37,7 @@ interface Props {
|
|
|
33
37
|
isMobileDevice?: boolean;
|
|
34
38
|
/** Variante de la tabla */
|
|
35
39
|
variant?: Variant;
|
|
36
|
-
/** Si se
|
|
40
|
+
/** Si se activa deja menos espacio de padding o margin */
|
|
37
41
|
condensed?: boolean;
|
|
38
42
|
/** Listado de los ids de los row que estan expandidos */
|
|
39
43
|
itemsExpanded?: number[];
|
|
@@ -10,12 +10,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
10
10
|
*/
|
|
11
11
|
text: {
|
|
12
12
|
type: StringConstructor;
|
|
13
|
+
default: undefined;
|
|
13
14
|
};
|
|
14
15
|
/**
|
|
15
|
-
* <span>Url a la que redirige el link</span>
|
|
16
|
+
* <span>Url a la que redirige el link. Acepta string o Location object</span>
|
|
16
17
|
*/
|
|
17
18
|
to: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
19
20
|
default: string;
|
|
20
21
|
};
|
|
21
22
|
/**
|
|
@@ -110,12 +111,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
110
111
|
*/
|
|
111
112
|
text: {
|
|
112
113
|
type: StringConstructor;
|
|
114
|
+
default: undefined;
|
|
113
115
|
};
|
|
114
116
|
/**
|
|
115
|
-
* <span>Url a la que redirige el link</span>
|
|
117
|
+
* <span>Url a la que redirige el link. Acepta string o Location object</span>
|
|
116
118
|
*/
|
|
117
119
|
to: {
|
|
118
|
-
type: StringConstructor;
|
|
120
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
119
121
|
default: string;
|
|
120
122
|
};
|
|
121
123
|
/**
|
|
@@ -207,10 +209,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
207
209
|
}>, {
|
|
208
210
|
color: string;
|
|
209
211
|
id: string;
|
|
212
|
+
text: string;
|
|
210
213
|
icon: Record<string, any>;
|
|
211
214
|
inverse: boolean;
|
|
212
215
|
disabled: boolean;
|
|
213
|
-
to: string
|
|
216
|
+
to: string | Record<string, any>;
|
|
214
217
|
right: boolean;
|
|
215
218
|
tag: string;
|
|
216
219
|
customClass: string;
|