一键导入
svelte-advanced-datatable
svelte-advanced-datatable 收录了来自 Kage0x3B 的 4 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
Pick and wire a DataTable data source (LocalDataSource, FetchApiDataSource, ApiFunctionDataSource, SvelteQueryDataSource, custom AbstractDataSource/IDataSource), configure basic vs advanced search (BasicTextSearchParser, AdvancedSearchParser with key:value filters /
Wire row selection, per-row + bulk actions (DataTableAction with onSingle/onMulti, primary/destructive variants), row click behaviour (modalComponent, onItemClick, buildItemUrl — mutually exclusive), and CSV/JSON export for svelte-advanced-datatable. Use when adding action buttons, opening a modal on row click, configuring bind:selectedIds, customising exporters, or delegating exports to the server via buildUrl. For baseline setup use svelte-advanced-datatable; for data sources use svelte-advanced-datatable-data; for persisting selection or translating action labels use svelte-advanced-datatable-state.
Scaffold or modify a Svelte 5 DataTable using the svelte-advanced-datatable package — DataTableConfig, column types (ComponentType.STRING/NUMBER/BOOLEAN/DATE/ENUM/CUSTOM), sort, pagination, sticky-header, density, snippet slots, daisyUI rendering. Use when adding a new table, defining columns, or tuning baseline display. For data fetching, search and errors use svelte-advanced-datatable-data; for selection, modal and export use svelte-advanced-datatable-interactions; for persistence and i18n use svelte-advanced-datatable-state.
Configure persistence tiers (transient snapshot/url/none + persistent localStorage/sessionStorage/none) and internationalisation (built-in messageConfig, svelte-i18n format store, or custom MessageFormatter) for svelte-advanced-datatable. Use when persisting table state across reloads or back-navigation, sharing a filtered table view via URL, wiring SvelteKit Snapshot, or translating column headers, action labels and popover strings. For baseline setup use svelte-advanced-datatable.