← Về thư mục
frontend/src/features/send/step.ts
- Step · type · L26-L36 — type Step = { step_id?: string; kind?: string; title?: string; input?: Record; output?: Record; status?: string; summary?: string; created_at?: unknown; [key: string]: unknown; };
- StepHandle · type · L38-L44 — type StepHandle = { card: HTMLElement; body: HTMLElement; meta: HTMLElement; ic: HTMLElement; step: Step; };
- stepIcon · function · L65-L67 — function stepIcon(kind: string | undefined): string
- rec · function · L69-L73 — function rec(value: unknown): Record
- openArt · function · L75-L85 — function openArt(meta: { artifact_id?: unknown; filename?: unknown; content_type?: unknown; size_bytes?: unknown }): void
- binElide · function · L87-L92 — function binElide(len: number): HTMLElement
- clipPre · function · L94-L100 — function clipPre(text: unknown, cls?: string): HTMLElement
- diffView · function · L102-L115 — function diffView(oldS: string, newS: string): HTMLElement
- add · function · L104-L111 — add = (txt: string, cls: string): void
- langOf · function · L139-L144 — function langOf(path: string): string
- baseName · function · L146-L148 — function baseName(path: string): string
- codeBlock · function · L150-L177 — function codeBlock( source: string, opts: { lang?: string; langLabel?: string; term?: boolean; status?: string; env?: string } = {}, ): HTMLElement
- outputBlock · function · L179-L206 — function outputBlock( box: HTMLElement, text: unknown, opts: { err?: boolean; mode?: string } = {}, ): void
- searchResultHttpUrl · function · L213-L219 — function searchResultHttpUrl(value: unknown): string
- delegateTaskChip · function · L221-L248 — function delegateTaskChip(view: Record): HTMLElement
- delegateResultRow · function · L250-L300 — function delegateResultRow(view: Record, compact: boolean): HTMLElement
- delegateStepBody · function · L302-L330 — function delegateStepBody(_inp: Record, out: Record): HTMLElement
- stepBody · function · L332-L624 — function stepBody(step: Step): HTMLElement
- kvRow · function · L534-L539 — kvRow = (label: string, text: unknown): HTMLElement
- kvNodeRow · function · L540-L547 — kvNodeRow = (label: string, node: HTMLElement): HTMLElement
- applyStepState · function · L626-L656 — function applyStepState(handle: StepHandle): void
- buildStepCard · function · L658-L694 — function buildStepCard(step: Step): StepHandle
- stepRegistry · function · L696-L703 — function stepRegistry(): Record
- addLiveStep · function · L705-L740 — function addLiveStep(m: Record): void
- updateLiveStep · function · L742-L751 — function updateLiveStep(m: Record): void
- renderStoredStep · function · L753-L761 — function renderStoredStep(s: Step, target?: ParentNode | null): HTMLElement