From fa65dd1472daac1f15f60a340a3a6aafd0a5dee6 Mon Sep 17 00:00:00 2001 From: David Ketch Date: Tue, 14 May 2024 10:36:58 -0500 Subject: [PATCH] wip --- src/composables/index.ts | 2 -- src/composables/list.ts | 1 - src/lib-components/lists/DetailList.vue | 38 ++++++++++++++++++++--- src/lib-components/lists/DynamicTable.vue | 17 ++++++++-- 4 files changed, 47 insertions(+), 11 deletions(-) diff --git a/src/composables/index.ts b/src/composables/index.ts index 8387975..0fd1c34 100644 --- a/src/composables/index.ts +++ b/src/composables/index.ts @@ -27,7 +27,6 @@ import type { ListPaginationOptions, ListSortOptions, ListStyleOptions, - ListConfig, SortDir, } from "./list" @@ -36,7 +35,6 @@ export type { UseBaseAPI, DynamicTableOptions, DynamicTableAPI, - ListConfig, ListFilterOptions, ListPaginationOptions, ListSortOptions, diff --git a/src/composables/list.ts b/src/composables/list.ts index a5beb51..f5a0f9a 100644 --- a/src/composables/list.ts +++ b/src/composables/list.ts @@ -35,7 +35,6 @@ export interface ListStyleOptions { export interface ListConfig { filter?: ListFilterOptions pagination?: ListPaginationOptions - sort?: ListSortOptions style?: ListStyleOptions } diff --git a/src/lib-components/lists/DetailList.vue b/src/lib-components/lists/DetailList.vue index 5571f39..0846adb 100644 --- a/src/lib-components/lists/DetailList.vue +++ b/src/lib-components/lists/DetailList.vue @@ -1,16 +1,44 @@