← Về thư mục
frontend/src/islands/viewer.ts
- DiffPanel · type · L33-L33 — type DiffPanel = HTMLElement & { _diffRequest?: number };
- VersionRow · type · L35-L42 — type VersionRow = { version_id: string; ordinal?: number; is_latest?: boolean; size_bytes?: number; created_at?: string; retrieval_source?: Record; };
- retrievalSourcePanel · function · L55-L80 — function retrievalSourcePanel(src: Record): HTMLElement
- isTextEditable · function · L83-L96 — function isTextEditable(a: ArtifactRow | null | undefined): boolean
- openArtifact · function · L99-L112 — function openArtifact(a: ArtifactRow): void
- editArtifact · function · L114-L117 — function editArtifact(a: ArtifactRow): void
- renameArtifact · function · L119-L132 — async function renameArtifact(a: ArtifactRow): Promise
- deleteArtifact · function · L134-L145 — async function deleteArtifact(a: ArtifactRow): Promise
- renderArtifactEditor · function · L147-L202 — function renderArtifactEditor(body: HTMLElement, a: ArtifactRow): void
- setArtPriority · function · L204-L214 — async function setArtPriority(a: ArtifactRow, p: number, closeAfter?: boolean): Promise
- exportMetadata · function · L216-L244 — async function exportMetadata(a: ArtifactRow): Promise
- artifactMenu · function · L246-L288 — function artifactMenu(anchor: Element, a: ArtifactRow): void
- renderArtifactVersionDiff · function · L290-L330 — async function renderArtifactVersionDiff( panel: DiffPanel, a: ArtifactRow, fromVersion: string, toVersion: string, fromOrdinal: unknown, toOrdinal: unknown, ): Promise
- showVersions · function · L332-L433 — async function showVersions(a: ArtifactRow): Promise
- render · function · L343-L431 — render = async (): Promise
- renderViewer · function · L436-L506 — function renderViewer(): void