@illinois-grad/grad-vue 6.0.4 → 6.0.5
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/compose/usePersistentTableColumnState.d.ts +6 -0
- package/dist/{grad-vue-Bd30K3vh.js → grad-vue-Dfq5ZPeu.js} +708 -690
- package/dist/grad-vue-Dfq5ZPeu.js.map +1 -0
- package/dist/grad-vue-elements.css +30 -30
- package/dist/grad-vue.d.ts +2 -1
- package/dist/grad-vue.js +2 -2
- package/dist/plugin.js +2 -2
- package/package.json +2 -2
- package/dist/grad-vue-Bd30K3vh.js.map +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TableColumn, TableColumnState, TableColumnStateValue, TableRow } from "@illinois-grad/grad-vue";
|
|
2
|
+
import { type MaybeRefOrGetter } from "vue";
|
|
3
|
+
export declare function normalizeTableColumnState<T extends TableRow>(value: unknown, columns: readonly TableColumn<T>[]): TableColumnState<T>;
|
|
4
|
+
export declare function usePersistentTableColumnState<T extends TableRow>(storageKey: string, columns: MaybeRefOrGetter<readonly TableColumn<T>[]>): {
|
|
5
|
+
columnState: import("@vueuse/core").RemovableRef<Partial<Record<Extract<keyof T, string>, TableColumnStateValue>>>;
|
|
6
|
+
};
|