Skip to content

Commit

Permalink
put Semantic configurable table view into it's own package
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Tilsch committed Jun 3, 2024
1 parent effed6d commit 24c6f20
Show file tree
Hide file tree
Showing 13 changed files with 686 additions and 593 deletions.
12 changes: 1 addition & 11 deletions apps/exhibition-live/components/config/tableConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
import { VisibilityState } from "@tanstack/table-core";
import { ColumnDefMatcher, mkAccessor } from "../content/list/listHelper";
import { MRT_ColumnDef } from "material-react-table";
import { numeric2JSDate } from "@slub/edb-ui-utils";
import { TFunction } from "i18next";
import { specialDate2LocalDate } from "@slub/edb-ui-utils";
export type ListConfigType = {
columnVisibility: VisibilityState;
matcher: ColumnDefMatcher;
};
export type TableConfigRegistry = {
default: Partial<ListConfigType>;
[typeName: string]: Partial<ListConfigType>;
};
import { mkAccessor, TableConfigRegistry } from "@slub/edb-table-components";
const p = (path: string[]) => path.join("_");
const dateColDef: (
key: string,
Expand Down
Loading

0 comments on commit 24c6f20

Please sign in to comment.