"use client";
import * as React from "react";
import { DataRowList } from "@exxatdesignux/ui/components/data-views/data-row-list";
import { FinderPanelView } from "@exxatdesignux/ui/components/data-views/finder-panel-view";
import { FolderGridView } from "@exxatdesignux/ui/components/data-views/folder-grid-view";
import {
ListPageBoardCard,
ListPageBoardCardAvatar,
ListPageBoardCardBadgeRow,
ListPageBoardCardBody,
ListPageBoardCardHeader,
ListPageBoardCardSecondary,
ListPageBoardCardTitleRow,
} from "@exxatdesignux/ui/components/data-views/list-page-board-card";
import { ListPageBoardTemplate } from "@exxatdesignux/ui/components/data-views/list-page-board-template";
import { ListPageTreePanelShell } from "@exxatdesignux/ui/components/data-views/list-page-tree-panel-shell";
import {
OutlineTreeLeafButton,
OutlineTreeMenu,
OutlineTreeMenuItem,
OutlineTreeSub,
OutlineTreeSubItem,
} from "@exxatdesignux/ui/components/data-views/outline-tree-menu";
import {
ListPageViewFrame,
LIST_PAGE_VIEW_FRAME_MAX_ICON_GRID,
} from "@exxatdesignux/ui/components/ui/list-page-view-frame";
import { Badge } from "@/components/ui/badge";
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
CommandShortcut,
} from "@/components/ui/command";
type Placement = {
id: string;
name: string;
site: string;
initials: string;
status: "Active" | "Pending" | "Completed";
group: string;
};
const ROWS: Placement[] = [
{ id: "p1", name: "Maya Johnson", site: "Riverside Medical Center", initials: "MJ", status: "Active", group: "nursing" },
{ id: "p2", name: "Daniel Okafor", site: "Northside Clinic", initials: "DO", status: "Pending", group: "nursing" },
{ id: "p3", name: "Priya Raman", site: "Lakeview Rehab", initials: "PR", status: "Completed", group: "therapy" },
{ id: "p4", name: "Sam Whitaker", site: "Harbor Pharmacy", initials: "SW", status: "Active", group: "pharmacy" },
{ id: "p5", name: "Lena Fischer", site: "Summit Health", initials: "LF", status: "Pending", group: "therapy" },
];
function RecordCard({ row, layout = "stack" }: { row: Placement; layout?: "stack" | "row" }) {
if (layout === "row") {
return (
{row.name}
{r.name}
{r.site}
{r.site}
View body: gutter from the frame, content centered up to max-w-6xl.
Detail pane for the selected tree node.
Placements
PageHeader, KeyMetrics, then view tabs