diff --git a/frontend/components/Item/View/Selectable.vue b/frontend/components/Item/View/Selectable.vue new file mode 100644 index 0000000..a72f32a --- /dev/null +++ b/frontend/components/Item/View/Selectable.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/frontend/components/Item/View/Table.types.ts b/frontend/components/Item/View/Table.types.ts new file mode 100644 index 0000000..51496fc --- /dev/null +++ b/frontend/components/Item/View/Table.types.ts @@ -0,0 +1,10 @@ +import { ItemSummary } from "~~/lib/api/types/data-contracts"; + +export type TableHeader = { + text: string; + value: keyof ItemSummary; + sortable?: boolean; + align?: "left" | "center" | "right"; +}; + +export type TableData = Record; diff --git a/frontend/components/Item/View/Table.vue b/frontend/components/Item/View/Table.vue new file mode 100644 index 0000000..f339a17 --- /dev/null +++ b/frontend/components/Item/View/Table.vue @@ -0,0 +1,141 @@ + + + + +