energy-components 2.3.1 → 2.4.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/style/table.css +1 -1
- package/dist/components/table.es.js +80 -79
- package/dist/energy-components.css +1 -1
- package/dist/energy-components.es.js +4 -3
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/table/table.vue.d.ts +6 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/llms/rdsaccordion-group.md +6 -0
- package/llms/rdsaccordion.md +6 -0
- package/llms/rdsbadge.md +5 -0
- package/llms/rdsdate-picker.md +6 -0
- package/llms/rdsdropdown.md +6 -0
- package/llms/rdsmodal.md +9 -0
- package/llms/rdspagination.md +5 -0
- package/llms/rdspopover-menu.md +7 -0
- package/llms/rdspopover.md +7 -0
- package/llms/rdssearch-field.md +6 -0
- package/llms/rdssidebar.md +9 -0
- package/llms/rdssidedrawer.md +8 -0
- package/llms/rdstable.md +7 -1
- package/llms/rdstext-field.md +6 -0
- package/llms/rdstooltip.md +7 -0
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
41
41
|
/**
|
|
42
42
|
* Modo asíncrono. Cuando es `true`, el padre controla los datos (paginación/ordenación) y la tabla
|
|
43
43
|
* solo renderiza los elementos recibidos.
|
|
44
|
+
* **⚠️ IMPORTANTE:** Debes utilizar bindings bidireccionales (`v-model:page`, `v-model:pageSize` y `v-model:sort`) para evitar desincronizaciones del estado visual del componente con tus llamadas API. No uses bindings simples (`:page`, `:sort`).
|
|
44
45
|
* Cuando es `false`, la tabla aplica paginación local sobre `items`.
|
|
45
46
|
*/
|
|
46
47
|
asynchrone?: boolean;
|
|
@@ -140,6 +141,11 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
|
|
|
140
141
|
* Activa el resize de columnas arrastrando el borde derecho del encabezado.
|
|
141
142
|
*/
|
|
142
143
|
resizableColumns?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Si es `true` (por defecto), al cambiar el orden de una columna la página se resetea a 1.
|
|
146
|
+
* Pasa `false` para mantener la página actual al ordenar (útil en modo server-side con lógica propia).
|
|
147
|
+
*/
|
|
148
|
+
resetPageOnSort?: boolean;
|
|
143
149
|
} & Partial<{}>> & import("vue").PublicProps;
|
|
144
150
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
145
151
|
reset: () => void;
|