// src/lib/data-list-view.ts
var DATA_LIST_VIEW_TILES = [
  { value: "table", icon: "fa-table", label: "Table view" },
  { value: "list", icon: "fa-list", label: "List view" },
  { value: "board", icon: "fa-table-columns", label: "Board view" },
  { value: "dashboard", icon: "fa-chart-mixed", label: "Dashboard view" },
  { value: "calendar", icon: "fa-calendar-days", label: "Calendar view" },
  { value: "folder", icon: "fa-grid-2", label: "Folder view" },
  { value: "panel", icon: "fa-sidebar", label: "List & details" },
  { value: "tree-panel", icon: "fa-sitemap", label: "Tree & details" }
];
function dataListViewLabel(view) {
  return DATA_LIST_VIEW_TILES.find((t) => t.value === view)?.label ?? view;
}
function dataListViewIcon(view) {
  return DATA_LIST_VIEW_TILES.find((t) => t.value === view)?.icon ?? "fa-table";
}
function dataListViewAddShortcut(index) {
  if (index < 0 || index > 8) return void 0;
  return String(index + 1);
}
export {
  DATA_LIST_VIEW_TILES,
  dataListViewAddShortcut,
  dataListViewIcon,
  dataListViewLabel
};
//# sourceMappingURL=data-list-view.js.map