@k2b/ui 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/chat/ChatPrimitives.js +435 -420
- package/dist/browser/chat/ChatPrimitives.js.map +1 -1
- package/dist/browser/chat/ChatTasks.js +78 -73
- package/dist/browser/chat/ChatTasks.js.map +1 -1
- package/dist/browser/chat/ChatTimeline.js +3 -0
- package/dist/browser/chat/ChatTimeline.js.map +1 -1
- package/dist/browser/content/Lightbox.js +31 -11
- package/dist/browser/content/Lightbox.js.map +1 -1
- package/dist/browser/content/PdfPages.js +26 -1
- package/dist/browser/content/PdfPages.js.map +1 -1
- package/dist/browser/content/RunLog.js +719 -0
- package/dist/browser/content/RunLog.js.map +1 -0
- package/dist/browser/content/index.js +1 -0
- package/dist/browser/content/index.js.map +1 -1
- package/dist/browser/content/run-log-messages.js +134 -0
- package/dist/browser/content/run-log-messages.js.map +1 -0
- package/dist/browser/feedback/toast.js +11 -1
- package/dist/browser/feedback/toast.js.map +1 -1
- package/dist/browser/internal/step-row.js +78 -0
- package/dist/browser/internal/step-row.js.map +1 -0
- package/dist/browser/layout/PullToRefresh.js +76 -23
- package/dist/browser/layout/PullToRefresh.js.map +1 -1
- package/dist/browser/layout/refresh-messages.js +4 -2
- package/dist/browser/layout/refresh-messages.js.map +1 -1
- package/dist/ssr/chat/ChatPrimitives.js +109 -71
- package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
- package/dist/ssr/chat/ChatTasks.js +31 -16
- package/dist/ssr/chat/ChatTasks.js.map +1 -1
- package/dist/ssr/chat/ChatTimeline.js +3 -0
- package/dist/ssr/chat/ChatTimeline.js.map +1 -1
- package/dist/ssr/content/Lightbox.js +31 -11
- package/dist/ssr/content/Lightbox.js.map +1 -1
- package/dist/ssr/content/PdfPages.js +26 -1
- package/dist/ssr/content/PdfPages.js.map +1 -1
- package/dist/ssr/content/RunLog.js +471 -0
- package/dist/ssr/content/RunLog.js.map +1 -0
- package/dist/ssr/content/index.js +1 -0
- package/dist/ssr/content/index.js.map +1 -1
- package/dist/ssr/content/run-log-messages.js +134 -0
- package/dist/ssr/content/run-log-messages.js.map +1 -0
- package/dist/ssr/feedback/toast.js +11 -1
- package/dist/ssr/feedback/toast.js.map +1 -1
- package/dist/ssr/internal/step-row.js +35 -0
- package/dist/ssr/internal/step-row.js.map +1 -0
- package/dist/ssr/layout/PullToRefresh.js +67 -16
- package/dist/ssr/layout/PullToRefresh.js.map +1 -1
- package/dist/ssr/layout/refresh-messages.js +4 -2
- package/dist/ssr/layout/refresh-messages.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/chat/ChatPrimitives.d.ts +6 -0
- package/dist/types/chat/ChatTimeline.d.ts +2 -0
- package/dist/types/content/Lightbox.d.ts +7 -5
- package/dist/types/content/RunLog.d.ts +53 -0
- package/dist/types/content/index.d.ts +1 -0
- package/dist/types/content/run-log-messages.d.ts +61 -0
- package/dist/types/feedback/toast.d.ts +9 -1
- package/dist/types/internal/step-row.d.ts +19 -0
- package/dist/types/layout/PullToRefresh.d.ts +2 -2
- package/dist/types/layout/refresh-messages.d.ts +1 -0
- package/package.json +9 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["content/RunLog.tsx"],"sourcesContent":["import { text } from \"@k2b/stdlib\";\nimport { createEffect, createMemo, createSignal, createUniqueId, type JSX, Show } from \"solid-js\";\nimport { Button, ButtonLink } from \"../actions/Button\";\nimport { Dropdown, type DropdownItem } from \"../actions/Dropdown\";\nimport { HoverCard } from \"../feedback/HoverCard\";\nimport { KeyedFor } from \"../internal/keyed-for\";\nimport { StepRowContent } from \"../internal/step-row\";\nimport { useLocale } from \"../intl/locale\";\nimport { useRunLogMessages } from \"./run-log-messages\";\n\nexport type RunLogState = \"idle\" | \"starting\" | \"running\" | \"succeeded\" | \"failed\";\nexport type RunLevel = \"info\" | \"warn\" | \"error\";\nexport type RunStepEntry = {\n kind: \"step\";\n id: string;\n at: string;\n label: string;\n /** Complete Tabler class, e.g. `ti ti-file-text`. */\n icon?: string;\n description?: string;\n status: \"pending\" | \"running\" | \"succeeded\" | \"failed\" | \"skipped\";\n startedAt?: string;\n endedAt?: string;\n message?: string;\n};\nexport type RunLogEntry = { kind: \"log\"; id: string; at: string; level: RunLevel; text: string };\nexport type RunEntry = RunStepEntry | RunLogEntry;\nexport type RunLogAction = {\n icon: string;\n label: string;\n onClick?: () => void;\n href?: string;\n primary?: boolean;\n disabled?: boolean;\n disabledReason?: string;\n};\nexport type RunLogProps = {\n state: RunLogState;\n /** Unknown kinds are ignored. Later step records with the same id replace the row in its original position. */\n entries: readonly (RunEntry | { kind: string })[];\n /** Milliseconds supplied by the host. No clock runs inside RunLog. */\n duration?: number;\n meta?: JSX.Element;\n size?: \"full\" | \"compact\";\n /** Initial disclosure state; a changed value also updates the disclosure. */\n output?: \"open\" | \"closed\" | \"hidden\";\n olderCount?: number;\n onLoadOlder?: () => void;\n actions?: readonly RunLogAction[];\n label?: string;\n class?: string;\n};\n\nconst isStep = (entry: RunLogProps[\"entries\"][number]): entry is RunStepEntry => entry.kind === \"step\" && \"label\" in entry;\nconst isLog = (entry: RunLogProps[\"entries\"][number]): entry is RunLogEntry => entry.kind === \"log\" && \"text\" in entry;\nconst clock = (ms: number) => {\n const seconds = Math.floor(Math.max(0, Number.isFinite(ms) ? ms : 0) / 1000);\n return `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, \"0\")}`;\n};\nconst stepDuration = (step: RunStepEntry, locale: string) => {\n if (!step.startedAt || !step.endedAt) return undefined;\n const duration = Date.parse(step.endedAt) - Date.parse(step.startedAt);\n return Number.isFinite(duration) && duration >= 0 ? text.pprintDurationMs(duration, { locale }) : undefined;\n};\nconst atTime = (at: string, formatter: Intl.DateTimeFormat) => {\n const date = new Date(at);\n return Number.isFinite(date.getTime()) ? formatter.format(date) : at;\n};\nconst headIcons: Record<RunLogState, string> = {\n idle: \"ti ti-circle-dashed\",\n starting: \"ti ti-loader-2 k2b-spin\",\n running: \"ti ti-player-play\",\n succeeded: \"ti ti-circle-check\",\n failed: \"ti ti-alert-circle\",\n};\nconst markIcons = { pending: \"\", running: \"\", succeeded: \"ti ti-check\", failed: \"ti ti-x\", skipped: \"ti ti-minus\" };\n// The approved many-step example keeps five rows and a navigation row in a fixed window.\nconst VISIBLE_STEPS = 5;\n\nfunction StepMark(props: { status: RunStepEntry[\"status\"]; icon?: string }) {\n return (\n <span class=\"k2b-run-log__mark\" data-status={props.status} aria-hidden=\"true\">\n <Show when={markIcons[props.status] || props.icon} fallback={<span class=\"k2b-run-log__pip\" />}>\n <i class={markIcons[props.status] || props.icon} />\n </Show>\n </span>\n );\n}\n\nfunction RunStep(props: { step: RunStepEntry; state: RunLogState }) {\n const t = useRunLogMessages();\n const locale = useLocale();\n const status = () => (props.state === \"succeeded\" && props.step.status === \"pending\" ? \"skipped\" : props.step.status);\n const statusLabel = () =>\n ({ pending: t().pending, running: t().active, succeeded: t().completed, failed: t().stepFailed, skipped: t().skipped })[status()];\n return (\n <li class=\"k2b-run-log__step\" data-status={status()}>\n <StepRowContent\n classes={{\n leading: \"k2b-run-log__leading\",\n label: \"k2b-run-log__label\",\n meta: \"k2b-run-log__reason\",\n duration: \"k2b-run-log__duration\",\n }}\n leading={<StepMark status={status()} icon={props.step.icon} />}\n label={\n <>\n <span class=\"k2b-run-log__name\" title={props.step.label}>\n {props.step.label}\n </span>\n <Show when={props.step.description}>\n {(description) => (\n <HoverCard.Trigger\n type=\"button\"\n triggerClass=\"k2b-run-log__info\"\n content={description()}\n aria-label={t().details({ label: props.step.label })}\n >\n <i class=\"ti ti-info-circle\" aria-hidden=\"true\" />\n </HoverCard.Trigger>\n )}\n </Show>\n </>\n }\n meta={\n <Show when={props.step.message}>\n {(message) => (\n <HoverCard.Trigger type=\"button\" triggerClass=\"k2b-run-log__reason-button\" content={message()}>\n <span>{message()}</span>\n </HoverCard.Trigger>\n )}\n </Show>\n }\n duration={status() === \"skipped\" ? t().skipped : stepDuration(props.step, locale())}\n statusLabel={statusLabel()}\n />\n </li>\n );\n}\n\nfunction RunActions(props: { actions: readonly RunLogAction[] }) {\n const t = useRunLogMessages();\n const items = (): DropdownItem[] =>\n props.actions.map((action) => {\n const base = {\n label: action.label,\n icon: action.icon,\n description: action.disabledReason,\n variant: action.primary ? (\"accent\" as const) : undefined,\n };\n if (action.disabled || (!action.href && !action.onClick)) return { ...base, disabled: true };\n if (action.href) return { ...base, href: action.href, action: action.onClick };\n return { ...base, action: action.onClick! };\n });\n return (\n <div class=\"k2b-run-log__actions\" data-multiple={props.actions.length > 1 ? \"true\" : undefined}>\n <div class=\"k2b-run-log__inline-actions\">\n <KeyedFor each={props.actions} by={(action) => action.label}>\n {(action) => (\n <Show\n when={action().href && !action().disabled}\n fallback={\n <Button\n size=\"xs\"\n variant=\"ghost\"\n class=\"k2b-run-log__action\"\n data-primary={action().primary ? \"true\" : undefined}\n disabled={action().disabled || (!action().onClick && !action().href)}\n tooltip={action().disabledReason}\n onClick={() => action().onClick?.()}\n >\n <i class={action().icon} aria-hidden=\"true\" />\n <span>{action().label}</span>\n </Button>\n }\n >\n <ButtonLink\n size=\"xs\"\n variant=\"ghost\"\n class=\"k2b-run-log__action\"\n data-primary={action().primary ? \"true\" : undefined}\n href={action().href}\n onClick={() => action().onClick?.()}\n >\n <i class={action().icon} aria-hidden=\"true\" />\n <span>{action().label}</span>\n </ButtonLink>\n </Show>\n )}\n </KeyedFor>\n </div>\n <Show when={props.actions.length > 1}>\n <div class=\"k2b-run-log__more-actions\">\n <Dropdown.Root items={items()} position=\"bottom-right\">\n <Dropdown.Trigger iconOnly size=\"xs\" variant=\"ghost\" class=\"k2b-run-log__action\" label={t().actions} title={t().actions}>\n <i class=\"ti ti-dots\" aria-hidden=\"true\" />\n </Dropdown.Trigger>\n </Dropdown.Root>\n </div>\n </Show>\n </div>\n );\n}\n\n/** A run's steps and output. Presentation and disclosures only; the host owns execution, time, connection, and history. */\nexport function RunLog(props: RunLogProps): JSX.Element {\n const t = useRunLogMessages();\n const locale = useLocale();\n const time = createMemo(() => new Intl.DateTimeFormat(locale(), { timeStyle: \"medium\" }));\n const bodyId = createUniqueId();\n const outputId = createUniqueId();\n const [expanded, setExpanded] = createSignal(false);\n const [outputOpen, setOutputOpen] = createSignal(props.output === \"open\");\n createEffect(() => setOutputOpen(props.output === \"open\"));\n const [windowStart, setWindowStart] = createSignal<number>();\n const steps = createMemo(() => {\n const rows = new Map<string, RunStepEntry>();\n for (const entry of props.entries) if (isStep(entry)) rows.set(entry.id, entry);\n return [...rows.values()];\n });\n const logs = createMemo(() => props.entries.filter(isLog));\n const outputLines = createMemo(() => {\n const lines: { id: string; at: string; level: RunLevel | \"step\"; text: string }[] = [];\n for (const step of steps()) {\n if (step.startedAt) lines.push({ id: `step:${step.id}`, at: step.startedAt, level: \"step\", text: step.label });\n }\n for (const line of logs()) lines.push({ ...line, id: `log:${line.id}` });\n return lines.sort((a, b) => {\n const delta = Date.parse(a.at) - Date.parse(b.at);\n return Number.isFinite(delta) ? delta : 0;\n });\n });\n // A known plan reserves its rows before execution; an empty open output reserves its band too.\n const hasBody = () => steps().length > 0 || outputOpen() || (props.state !== \"idle\" && props.state !== \"starting\");\n const compact = () => props.size === \"compact\";\n const visible = () => !compact() || expanded();\n const current = () => steps().find((step) => step.status === \"running\") ?? steps().find((step) => step.status === \"failed\");\n const lastStart = () => Math.max(0, steps().length - VISIBLE_STEPS);\n const currentStart = () => (current() ? Math.min(steps().indexOf(current()!), lastStart()) : lastStart());\n const start = () => Math.min(windowStart() ?? currentStart(), lastStart());\n const browseSteps = () => {\n if (start() > 0) setWindowStart(Math.max(0, start() - VISIBLE_STEPS));\n else setWindowStart(windowStart() === undefined ? lastStart() : undefined);\n };\n const stateLabel = () =>\n ({ idle: t().idle, starting: t().starting, running: t().running, succeeded: t().succeeded, failed: t().failed })[props.state];\n const main = () => {\n if (props.state === \"running\") return props.duration === undefined ? t().running : t().since({ duration: clock(props.duration) });\n if (props.state === \"succeeded\")\n return props.duration === undefined ? t().succeeded : t().doneAfter({ duration: clock(props.duration) });\n if (props.state === \"failed\") return props.duration === undefined ? t().failed : t().failedAfter({ duration: clock(props.duration) });\n return props.state === \"idle\" ? t().idle : t().starting;\n };\n const compactMain = () =>\n props.state === \"running\" || props.state === \"failed\"\n ? (current()?.label ?? main())\n : props.state === \"succeeded\"\n ? t().succeeded\n : main();\n const compactMeta = () => {\n if (props.state === \"running\" && current())\n return [\n t().progress({ current: steps().indexOf(current()!) + 1, count: steps().length }),\n props.duration === undefined ? \"\" : clock(props.duration),\n ]\n .filter(Boolean)\n .join(\" · \");\n if (props.state === \"succeeded\")\n return [\n steps().length === 1 ? t().step : t().steps({ count: steps().length }),\n props.duration === undefined ? \"\" : clock(props.duration),\n ]\n .filter(Boolean)\n .join(\" · \");\n if (props.state === \"failed\")\n return [t().stepFailed, props.duration === undefined ? \"\" : clock(props.duration)].filter(Boolean).join(\" · \");\n return props.meta;\n };\n const count = () => outputLines().length + (props.olderCount ?? 0);\n const counts = () => {\n if (!count()) return t().noLines;\n const warnings = logs().filter((line) => line.level === \"warn\").length;\n const errors = logs().filter((line) => line.level === \"error\").length;\n return [\n count() === 1 ? t().line : t().lines({ count: count() }),\n warnings ? (warnings === 1 ? t().warning : t().warnings({ count: warnings })) : \"\",\n errors ? (errors === 1 ? t().error : t().errors({ count: errors })) : \"\",\n ]\n .filter(Boolean)\n .join(\" · \");\n };\n let output: HTMLDivElement | undefined;\n let followOutput = true;\n createEffect(() => {\n outputLines();\n if (props.state === \"idle\" || props.state === \"starting\") followOutput = true;\n // Reading away from the end pauses following. New batches never scroll the page.\n if (output && followOutput) output.scrollTop = output.scrollHeight;\n });\n return (\n <section\n class={`k2b-run-log k2b-focus-inset ${props.class ?? \"\"}`}\n data-state={props.state}\n data-size={props.size ?? \"full\"}\n data-expanded={visible() ? \"true\" : \"false\"}\n data-body={hasBody() ? \"true\" : \"false\"}\n aria-label={props.label ?? t().run}\n >\n <header class=\"k2b-run-log__head\">\n <span class=\"k2b-run-log__head-icon\" aria-hidden=\"true\">\n <Show when={compact()} fallback={<i class={headIcons[props.state]} />}>\n <StepMark status={props.state === \"idle\" ? \"pending\" : props.state === \"starting\" ? \"running\" : props.state} />\n </Show>\n </span>\n <span class=\"k2b-sr-only\" role=\"status\">\n {stateLabel()}\n </span>\n <span class=\"k2b-run-log__main\" title={compact() && !expanded() ? compactMain() : main()}>\n {compact() && !expanded() ? compactMain() : main()}\n </span>\n <span class=\"k2b-run-log__meta\">{compact() && !expanded() ? compactMeta() : props.meta}</span>\n <Show when={props.actions?.length}>\n <RunActions actions={props.actions!} />\n </Show>\n <Show when={compact()}>\n <i class=\"ti ti-chevron-down k2b-run-log__chevron\" aria-hidden=\"true\" />\n <button\n type=\"button\"\n class=\"k2b-run-log__toggle\"\n aria-label={t().toggle}\n aria-expanded={expanded()}\n aria-controls={bodyId}\n onClick={() => setExpanded(!expanded())}\n />\n </Show>\n </header>\n <div class=\"k2b-run-log__fold\" id={bodyId} data-open={visible() ? \"true\" : \"false\"} inert={!visible()} aria-hidden={!visible()}>\n <div class=\"k2b-run-log__clip\">\n <Show when={hasBody()}>\n <Show when={steps().length}>\n <ol class=\"k2b-run-log__steps\">\n <Show when={steps().length > VISIBLE_STEPS}>\n <li class=\"k2b-run-log__earlier\">\n <button type=\"button\" onClick={browseSteps}>\n <StepMark status=\"succeeded\" />\n <span>\n {start()\n ? t().earlier({ count: start() })\n : windowStart() === undefined\n ? t().later({ count: lastStart() })\n : t().current}\n </span>\n </button>\n </li>\n </Show>\n <KeyedFor each={steps().slice(start(), start() + VISIBLE_STEPS)} by={(step) => step.id}>\n {(step) => <RunStep step={step()} state={props.state} />}\n </KeyedFor>\n </ol>\n </Show>\n <Show when={props.output !== \"hidden\"}>\n <button\n type=\"button\"\n class=\"k2b-run-log__output-toggle\"\n aria-expanded={outputOpen()}\n aria-controls={outputId}\n onClick={() => setOutputOpen(!outputOpen())}\n >\n <i class=\"ti ti-chevron-right\" aria-hidden=\"true\" />\n <span>{t().output}</span>\n <span class=\"k2b-run-log__counts\">{counts()}</span>\n </button>\n <div\n class=\"k2b-run-log__fold\"\n id={outputId}\n data-open={outputOpen() ? \"true\" : \"false\"}\n inert={!outputOpen()}\n aria-hidden={!outputOpen()}\n >\n <div class=\"k2b-run-log__clip\">\n <div\n ref={output}\n class=\"k2b-run-log__output\"\n role=\"log\"\n aria-live=\"off\"\n aria-label={t().output}\n tabIndex={0}\n onScroll={(event) => {\n const node = event.currentTarget;\n followOutput = Math.ceil(node.scrollTop + node.clientHeight) >= node.scrollHeight;\n }}\n >\n <Show when={props.olderCount}>\n <button\n type=\"button\"\n class=\"k2b-run-log__older\"\n disabled={!props.onLoadOlder}\n onClick={() => {\n followOutput = false;\n props.onLoadOlder?.();\n }}\n >\n {t().older({ count: props.olderCount! })}\n </button>\n </Show>\n <KeyedFor each={outputLines()} by={(line) => line.id}>\n {(line) => (\n <div class=\"k2b-run-log__line\" data-level={line().level}>\n <time dateTime={line().at}>{atTime(line().at, time())}</time>\n <span>\n <Show when={line().level === \"step\"}>\n <span aria-hidden=\"true\">▸ </span>\n </Show>\n <Show when={line().level === \"warn\" || line().level === \"error\"}>\n <i\n class={line().level === \"warn\" ? \"ti ti-alert-triangle\" : \"ti ti-x\"}\n role=\"img\"\n aria-label={line().level === \"warn\" ? t().warningLevel : t().errorLevel}\n />{\" \"}\n </Show>\n {line().text}\n </span>\n </div>\n )}\n </KeyedFor>\n </div>\n </div>\n </div>\n </Show>\n </Show>\n </div>\n </div>\n </section>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAY,IAAI,QAAQ,UAAU;AACjG,SAAS,MAAM,EAAE,UAAU,QAAQ,mBAAmB;AACtD,SAAS,QAAQ,QAA2B,qBAAqB;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OAQV,CAAC,CAAC,CAAC,CAAC,MAAM;gBAAA;gBAAA;gBAAA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA;gBAAA;gBAAA;cAAA;cAAA;YAAA;UAAA;QAAA;MAAA;IAAA;IAAA;MAAA,WApF7B,+BAA+B,KAAK,CAAC,KAAK,IAAI,EAAE,EAAE;QAAA,OAC7C,KAAK,CAAC,KAAK;QAAA,OACZ,KAAK,CAAC,IAAI,IAAI,MAAM;QAAA,OAChB,OAAO,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO;QAAA,OAChC,OAAO,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO;QAAA,QAC3B,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG;QAAA,QAWO,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;QAAA,QAmBpC,OAAO,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO;QAAA,QAAS,CAAC,OAAO,CAAC,CAAC;QAAA,QAAe,CAAC,OAAO,CAAC,CAAC;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA;IAAA;EAAA;AAkGpI;AAAC","ignoreList":[]}
|
|
@@ -51,6 +51,7 @@ export { ProgressPath } from "./ProgressPath";
|
|
|
51
51
|
export { default as RangePicker } from "./RangePicker";
|
|
52
52
|
export { ReactionBar } from "./ReactionBar";
|
|
53
53
|
export { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from "./ReferenceChip";
|
|
54
|
+
export { RunLog } from "./RunLog";
|
|
54
55
|
export { Steps } from "./Steps";
|
|
55
56
|
export { default as StructuredDataPreview, isStructuredDataValue } from "./StructuredDataPreview";
|
|
56
57
|
export { ThumbnailStrip } from "./ThumbnailStrip";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["content/index.ts"],"sourcesContent":["export type { ChartDateFormat, ChartDatum, ChartDatumRole, ChartFormat, ChartNumberFormat } from \"../charts/core\";\nexport {\n type ActivityAction,\n ActivityCard,\n type ActivityCardProps,\n type ActivityDensity,\n type ActivityDialogInput,\n type ActivityEntry,\n type ActivityKind,\n ActivityList,\n type ActivityListProps,\n type ActivityTone,\n openActivityDialog,\n} from \"./ActivityList\";\nexport { BalanceSummary, type BalanceSummaryProps } from \"./BalanceSummary\";\nexport type {\n CalendarAttendee,\n CalendarCommand,\n CalendarController,\n CalendarCustomView,\n CalendarDayBadge,\n CalendarEvent,\n CalendarEventColor,\n CalendarEventLink,\n CalendarEventRenderContext,\n CalendarEventTimeChange,\n CalendarExternalDrag,\n CalendarLabels,\n CalendarProps,\n CalendarQuickCreateControls,\n CalendarRange,\n CalendarRecurrence,\n CalendarResource,\n CalendarSelectionControls,\n CalendarView,\n} from \"./Calendar\";\nexport { default as Calendar } from \"./Calendar\";\n\nexport type { ChartKind, ChartKindProps, ChartLabels, ChartProps, ChartRenderOptions } from \"./Chart\";\nexport { default as Chart } from \"./Chart\";\nexport type { ChartExplorerColumn, ChartExplorerProps, ChartFrameRequest, ChartLegendEntry } from \"./ChartExplorer\";\nexport { ChartExplorer } from \"./ChartExplorer\";\nexport type { ChartExplorerControlsProps } from \"./ChartExplorerControls\";\nexport { ChartExplorerControls } from \"./ChartExplorerControls\";\nexport { ChartFilterControls, type ChartFilterControlsProps } from \"./ChartFilterControls\";\nexport { ChartSnapshotView } from \"./ChartSnapshotView\";\nexport type { CodeDisplayLanguage, CodeDisplayProps } from \"./CodeDisplay\";\nexport { default as CodeDisplay } from \"./CodeDisplay\";\nexport { type ChartCursor, createChartCursor } from \"./chart-cursor\";\nexport type {\n ChartExplorerCharts,\n ChartExplorerController,\n ChartExplorerData,\n ChartExplorerOptions,\n ChartExplorerRequest,\n ChartExplorerRow,\n ChartExplorerSnapshot,\n} from \"./chart-explorer\";\nexport { createChartExplorer } from \"./chart-explorer\";\nexport type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from \"./chart-inspection-core\";\nexport type { ChartSnapshot } from \"./chart-snapshot\";\nexport { prepareChartSnapshot } from \"./chart-snapshot\";\nexport type {\n StateTimelineChartOptions,\n StateTimelineDomain,\n StateTimelineInterval,\n StateTimelineRow,\n StateTimelineState,\n} from \"./chart-state-timeline\";\nexport type { ChartTimeAxis } from \"./chart-time-axis\";\nexport { highlightSql } from \"./code-highlight\";\nexport { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from \"./collection-selection\";\nexport type {\n DataTableColumn,\n DataTableControlsProps,\n DataTableFooter,\n DataTableHeaderProps,\n DataTablePanelFooterProps,\n DataTablePanelProps,\n DataTableProps,\n DataTableRenderCell,\n DataTableRenderHeader,\n DataTableSort,\n} from \"./DataTable\";\nexport { default as DataTable } from \"./DataTable\";\nexport type { DataTableToolsProps, DataTableView, DataTableViewOptions } from \"./DataTableTools\";\nexport { createDataTableView, DataTableTools } from \"./DataTableTools\";\nexport type { DocCodeHighlighter, DocCodeProps, DocConcept, DocNoteVariant, DocRow } from \"./Docs\";\nexport { DocCode, DocConceptGrid, DocInlineCode, DocLead, DocNote, DocPage, DocRows, DocSection } from \"./Docs\";\nexport type {\n DataTableColumnType,\n DataTableNumberFormat,\n DataTableStatusState,\n DataTableTypedColumn,\n} from \"./data-table-columns\";\nexport { filterRows, sortRows } from \"./data-table-columns\";\nexport { FileBrowserPanel, type FileBrowserPanelProps, type FileSource, openFileBrowser } from \"./FileBrowser\";\nexport { FileGrid, type FileGridGroup, type FileGridOpenProps, type FileGridProps, type FileGridSelectableProps } from \"./FileGrid\";\nexport { default as FileTree, type FileTreeActions, type FileTreeEntry, type FileTreeProps } from \"./FileTree\";\nexport { type FileType, FileTypeIcon, type FileTypeIconProps, fileKindLabel, fileTypeOf } from \"./FileTypeIcon\";\nexport {\n default as FileView,\n type FileViewContent,\n type FileViewProps,\n type FileViewRenderer,\n type FileViewRendererProps,\n formatFileViewSize,\n} from \"./FileView\";\nexport { FlowAmount, type FlowAmountDirection, type FlowAmountProps, flowDirection } from \"./FlowAmount\";\n// Choosing a renderer needs no renderer: these come from their own small module, so an app that only asks which kind\n// a file is never loads FileView and its PDF, video and code dependencies.\nexport { canPreviewFile, type FileViewFile, type FileViewPreviewKind, getFileViewPreviewKind } from \"./file-view-preview\";\nexport type { KbdProps } from \"./Kbd\";\nexport { Kbd } from \"./Kbd\";\nexport type { LabelChipProps } from \"./LabelChip\";\nexport { LabelChip } from \"./LabelChip\";\nexport type { LightboxAction, LightboxItem, LightboxProps } from \"./Lightbox\";\nexport { default as Lightbox } from \"./Lightbox\";\nexport type { LoadMoreProps } from \"./LoadMore\";\nexport { LoadMore } from \"./LoadMore\";\nexport type { LogTableEntry } from \"./LogEntriesTable\";\nexport { default as LogEntriesTable } from \"./LogEntriesTable\";\nexport { MapAttribution } from \"./MapAttribution\";\nexport {\n MapDialog,\n type MapDialogFact,\n type MapDialogMapView,\n type MapDialogMenuItem,\n type MapDialogProps,\n type MapPlace,\n type MapPlaceLink,\n type MapPlaceSource,\n} from \"./MapDialog\";\nexport { MAP_DIALOG_PARAM, MapTile, type MapTileProps, mapDialogOptions } from \"./MapTile\";\nexport { MapView } from \"./MapView\";\nexport { MapViewFrame } from \"./MapViewFrame\";\nexport { default as MarkdownView, type MarkdownRenderOptions, type MarkdownViewProps, renderSafeMarkdown } from \"./MarkdownView\";\nexport { type MatchRange, MatchText, type MatchTextProps, matchParts } from \"./MatchText\";\nexport type {\n MessageEventGroupProps,\n MessageEventRowProps,\n MessageGroupEntry,\n MessageRowAction,\n MessageRowAttachment,\n MessageRowAuthor,\n MessageRowFile,\n MessageRowMedia,\n MessageRowOrigin,\n MessageRowProgress,\n MessageRowProps,\n MessageRowQuote,\n MessageRowReaction,\n MessageRowStatus,\n MessageRowThread,\n MessageSystemRowProps,\n} from \"./MessageRow\";\nexport { MessageEventGroup, MessageEventRow, MessageRow, MessageSystemRow, startsMessageGroup } from \"./MessageRow\";\nexport { type GeoNavigationPlatform, geoNavigationHref, geoNavigationPlatform } from \"./map-navigation\";\nexport { type MapPaletteColors, type MapTheme, mapPalette } from \"./map-palette\";\nexport { type MapStyleOptions, mapAttribution, mapStyle } from \"./map-style\";\nexport { MAP_SNAPSHOT_MAX_PIXELS, MapSnapshotError, type MapSnapshotErrorCode } from \"./map-view-snapshot\";\nexport type {\n MapViewArea,\n MapViewFit,\n MapViewFrameProps,\n MapViewHandle,\n MapViewLine,\n MapViewLineTone,\n MapViewMarker,\n MapViewOwnLocation,\n MapViewPoint,\n MapViewProps,\n MapViewSnapshot,\n MapViewSnapshotOptions,\n MapViewStyle,\n MapViewStyleSource,\n MapViewTone,\n} from \"./map-view-types\";\nexport {\n MARKDOWN_CALLOUT_CLASSES,\n MARKDOWN_CALLOUT_ICON_ATTRIBUTES,\n type MarkdownInfoBlock,\n type MarkdownInfoBlockRenderInput,\n type MarkdownInfoBlockType,\n markdownInfoBlocks,\n renderMarkdownInfoBlock,\n scanMarkdownInfoBlock,\n} from \"./markdown-info-blocks\";\nexport {\n type MarkdownLinkInput,\n type MarkdownReference,\n type MarkdownReferenceKind,\n type MarkdownReferenceType,\n markdownLinkReference,\n markdownReferenceIcon,\n markdownReferenceType,\n markdownReferenceTypeLabel,\n markStandaloneLinks,\n renderMarkdownLink,\n} from \"./markdown-links\";\nexport { Pagination, type PaginationProps } from \"./Pagination\";\nexport { PdfThumbnails, type PdfThumbnailsProps } from \"./PdfThumbnails\";\nexport type { PdfViewerProps, PdfViewerRequest } from \"./PdfViewer\";\nexport { default as PdfViewer } from \"./PdfViewer\";\nexport { ProgressPath, type ProgressPathProps, type ProgressPathStep } from \"./ProgressPath\";\nexport type { RangeOption, RangePickerProps } from \"./RangePicker\";\nexport { default as RangePicker } from \"./RangePicker\";\nexport { ReactionBar, type ReactionBarItem, type ReactionBarProps } from \"./ReactionBar\";\nexport type {\n ReferenceChipObjectProps,\n ReferenceChipPersonProps,\n ReferenceChipProps,\n ReferenceChipTimeProps,\n} from \"./ReferenceChip\";\nexport { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from \"./ReferenceChip\";\nexport type { StepsProps } from \"./Steps\";\nexport { Steps } from \"./Steps\";\nexport type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from \"./StructuredDataPreview\";\nexport { default as StructuredDataPreview, isStructuredDataValue } from \"./StructuredDataPreview\";\nexport { ThumbnailStrip, type ThumbnailStripItem, type ThumbnailStripProps } from \"./ThumbnailStrip\";\nexport type { TimelineColor, TimelineController, TimelineItem, TimelineProps } from \"./Timeline\";\nexport { default as Timeline } from \"./Timeline\";\nexport { VideoPlayer, type VideoPlayerProps } from \"./VideoPlayer\";\nexport type { VirtualFeedController, VirtualFeedProps, VirtualFeedScrollOptions } from \"./VirtualFeed\";\nexport { VirtualFeed } from \"./VirtualFeed\";\nexport type { ZoomPanAction, ZoomPanFullscreen, ZoomPanViewportProps } from \"./ZoomPanViewport\";\nexport { ZoomPanViewport } from \"./ZoomPanViewport\";\n"],"mappings":"AACA,SAEE,YAAY,EAMZ,YAAY,EAGZ,kBAAkB,QACb,gBAAgB;AACvB,SAAS,cAAc,QAAkC,kBAAkB;AAsB3E,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAGhD,SAAS,OAAO,IAAI,KAAK,QAAQ,SAAS;AAE1C,SAAS,aAAa,QAAQ,iBAAiB;AAE/C,SAAS,qBAAqB,QAAQ,yBAAyB;AAC/D,SAAS,mBAAmB,QAAuC,uBAAuB;AAC1F,SAAS,iBAAiB,QAAQ,qBAAqB;AAEvD,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAA2B,iBAAiB,QAAQ,gBAAgB;AAUpE,SAAS,mBAAmB,QAAQ,kBAAkB;AAGtD,SAAS,oBAAoB,QAAQ,kBAAkB;AASvD,SAAS,YAAY,QAAQ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c;AACnH,SAAqC,iBAAiB,EAAE,qBAAqB,QAAQ,kBAAkB;AACvG,SAA+C,UAAU,QAAQ,eAAe;AAChF,SAA+B,cAAc,EAAE,QAAQ,QAAQ,aAAa;AAC5E,SAAS,uBAAuB,EAAE,gBAAgB,QAAmC,qBAAqB;AAkB1G,SACE,wBAAwB,EACxB,gCAAgC,EAIhC,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,QAChB,wBAAwB;AAC/B,SAKE,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,QACb,kBAAkB;AACzB,SAAS,UAAU,QAA8B,cAAc;AAC/D,SAAS,aAAa,QAAiC,iBAAiB;AAExE,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAClD,SAAS,YAAY,QAAuD,gBAAgB;AAE5F,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAAS,WAAW,QAAqD,eAAe;AAOxF,SAAS,6BAA6B,EAAE,aAAa,EAAE,cAAc,QAAQ,iBAAiB;AAE9F,SAAS,KAAK,QAAQ,SAAS;AAE/B,SAAS,OAAO,IAAI,qBAAqB,EAAE,qBAAqB,QAAQ,yBAAyB;AACjG,SAAS,cAAc,QAA2D,kBAAkB;AAEpG,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAChD,SAAS,WAAW,QAA+B,eAAe;AAElE,SAAS,WAAW,QAAQ,eAAe;AAE3C,SAAS,eAAe,QAAQ,mBAAmB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["content/index.ts"],"sourcesContent":["export type { ChartDateFormat, ChartDatum, ChartDatumRole, ChartFormat, ChartNumberFormat } from \"../charts/core\";\nexport {\n type ActivityAction,\n ActivityCard,\n type ActivityCardProps,\n type ActivityDensity,\n type ActivityDialogInput,\n type ActivityEntry,\n type ActivityKind,\n ActivityList,\n type ActivityListProps,\n type ActivityTone,\n openActivityDialog,\n} from \"./ActivityList\";\nexport { BalanceSummary, type BalanceSummaryProps } from \"./BalanceSummary\";\nexport type {\n CalendarAttendee,\n CalendarCommand,\n CalendarController,\n CalendarCustomView,\n CalendarDayBadge,\n CalendarEvent,\n CalendarEventColor,\n CalendarEventLink,\n CalendarEventRenderContext,\n CalendarEventTimeChange,\n CalendarExternalDrag,\n CalendarLabels,\n CalendarProps,\n CalendarQuickCreateControls,\n CalendarRange,\n CalendarRecurrence,\n CalendarResource,\n CalendarSelectionControls,\n CalendarView,\n} from \"./Calendar\";\nexport { default as Calendar } from \"./Calendar\";\n\nexport type { ChartKind, ChartKindProps, ChartLabels, ChartProps, ChartRenderOptions } from \"./Chart\";\nexport { default as Chart } from \"./Chart\";\nexport type { ChartExplorerColumn, ChartExplorerProps, ChartFrameRequest, ChartLegendEntry } from \"./ChartExplorer\";\nexport { ChartExplorer } from \"./ChartExplorer\";\nexport type { ChartExplorerControlsProps } from \"./ChartExplorerControls\";\nexport { ChartExplorerControls } from \"./ChartExplorerControls\";\nexport { ChartFilterControls, type ChartFilterControlsProps } from \"./ChartFilterControls\";\nexport { ChartSnapshotView } from \"./ChartSnapshotView\";\nexport type { CodeDisplayLanguage, CodeDisplayProps } from \"./CodeDisplay\";\nexport { default as CodeDisplay } from \"./CodeDisplay\";\nexport { type ChartCursor, createChartCursor } from \"./chart-cursor\";\nexport type {\n ChartExplorerCharts,\n ChartExplorerController,\n ChartExplorerData,\n ChartExplorerOptions,\n ChartExplorerRequest,\n ChartExplorerRow,\n ChartExplorerSnapshot,\n} from \"./chart-explorer\";\nexport { createChartExplorer } from \"./chart-explorer\";\nexport type { ChartDatumRef, ChartSelection, ChartTooltip, ChartTooltipFormatter } from \"./chart-inspection-core\";\nexport type { ChartSnapshot } from \"./chart-snapshot\";\nexport { prepareChartSnapshot } from \"./chart-snapshot\";\nexport type {\n StateTimelineChartOptions,\n StateTimelineDomain,\n StateTimelineInterval,\n StateTimelineRow,\n StateTimelineState,\n} from \"./chart-state-timeline\";\nexport type { ChartTimeAxis } from \"./chart-time-axis\";\nexport { highlightSql } from \"./code-highlight\";\nexport { type CollectionSelection, createCollectionSelection, type SelectionModifiers } from \"./collection-selection\";\nexport type {\n DataTableColumn,\n DataTableControlsProps,\n DataTableFooter,\n DataTableHeaderProps,\n DataTablePanelFooterProps,\n DataTablePanelProps,\n DataTableProps,\n DataTableRenderCell,\n DataTableRenderHeader,\n DataTableSort,\n} from \"./DataTable\";\nexport { default as DataTable } from \"./DataTable\";\nexport type { DataTableToolsProps, DataTableView, DataTableViewOptions } from \"./DataTableTools\";\nexport { createDataTableView, DataTableTools } from \"./DataTableTools\";\nexport type { DocCodeHighlighter, DocCodeProps, DocConcept, DocNoteVariant, DocRow } from \"./Docs\";\nexport { DocCode, DocConceptGrid, DocInlineCode, DocLead, DocNote, DocPage, DocRows, DocSection } from \"./Docs\";\nexport type {\n DataTableColumnType,\n DataTableNumberFormat,\n DataTableStatusState,\n DataTableTypedColumn,\n} from \"./data-table-columns\";\nexport { filterRows, sortRows } from \"./data-table-columns\";\nexport { FileBrowserPanel, type FileBrowserPanelProps, type FileSource, openFileBrowser } from \"./FileBrowser\";\nexport { FileGrid, type FileGridGroup, type FileGridOpenProps, type FileGridProps, type FileGridSelectableProps } from \"./FileGrid\";\nexport { default as FileTree, type FileTreeActions, type FileTreeEntry, type FileTreeProps } from \"./FileTree\";\nexport { type FileType, FileTypeIcon, type FileTypeIconProps, fileKindLabel, fileTypeOf } from \"./FileTypeIcon\";\nexport {\n default as FileView,\n type FileViewContent,\n type FileViewProps,\n type FileViewRenderer,\n type FileViewRendererProps,\n formatFileViewSize,\n} from \"./FileView\";\nexport { FlowAmount, type FlowAmountDirection, type FlowAmountProps, flowDirection } from \"./FlowAmount\";\n// Choosing a renderer needs no renderer: these come from their own small module, so an app that only asks which kind\n// a file is never loads FileView and its PDF, video and code dependencies.\nexport { canPreviewFile, type FileViewFile, type FileViewPreviewKind, getFileViewPreviewKind } from \"./file-view-preview\";\nexport type { KbdProps } from \"./Kbd\";\nexport { Kbd } from \"./Kbd\";\nexport type { LabelChipProps } from \"./LabelChip\";\nexport { LabelChip } from \"./LabelChip\";\nexport type { LightboxAction, LightboxItem, LightboxProps } from \"./Lightbox\";\nexport { default as Lightbox } from \"./Lightbox\";\nexport type { LoadMoreProps } from \"./LoadMore\";\nexport { LoadMore } from \"./LoadMore\";\nexport type { LogTableEntry } from \"./LogEntriesTable\";\nexport { default as LogEntriesTable } from \"./LogEntriesTable\";\nexport { MapAttribution } from \"./MapAttribution\";\nexport {\n MapDialog,\n type MapDialogFact,\n type MapDialogMapView,\n type MapDialogMenuItem,\n type MapDialogProps,\n type MapPlace,\n type MapPlaceLink,\n type MapPlaceSource,\n} from \"./MapDialog\";\nexport { MAP_DIALOG_PARAM, MapTile, type MapTileProps, mapDialogOptions } from \"./MapTile\";\nexport { MapView } from \"./MapView\";\nexport { MapViewFrame } from \"./MapViewFrame\";\nexport { default as MarkdownView, type MarkdownRenderOptions, type MarkdownViewProps, renderSafeMarkdown } from \"./MarkdownView\";\nexport { type MatchRange, MatchText, type MatchTextProps, matchParts } from \"./MatchText\";\nexport type {\n MessageEventGroupProps,\n MessageEventRowProps,\n MessageGroupEntry,\n MessageRowAction,\n MessageRowAttachment,\n MessageRowAuthor,\n MessageRowFile,\n MessageRowMedia,\n MessageRowOrigin,\n MessageRowProgress,\n MessageRowProps,\n MessageRowQuote,\n MessageRowReaction,\n MessageRowStatus,\n MessageRowThread,\n MessageSystemRowProps,\n} from \"./MessageRow\";\nexport { MessageEventGroup, MessageEventRow, MessageRow, MessageSystemRow, startsMessageGroup } from \"./MessageRow\";\nexport { type GeoNavigationPlatform, geoNavigationHref, geoNavigationPlatform } from \"./map-navigation\";\nexport { type MapPaletteColors, type MapTheme, mapPalette } from \"./map-palette\";\nexport { type MapStyleOptions, mapAttribution, mapStyle } from \"./map-style\";\nexport { MAP_SNAPSHOT_MAX_PIXELS, MapSnapshotError, type MapSnapshotErrorCode } from \"./map-view-snapshot\";\nexport type {\n MapViewArea,\n MapViewFit,\n MapViewFrameProps,\n MapViewHandle,\n MapViewLine,\n MapViewLineTone,\n MapViewMarker,\n MapViewOwnLocation,\n MapViewPoint,\n MapViewProps,\n MapViewSnapshot,\n MapViewSnapshotOptions,\n MapViewStyle,\n MapViewStyleSource,\n MapViewTone,\n} from \"./map-view-types\";\nexport {\n MARKDOWN_CALLOUT_CLASSES,\n MARKDOWN_CALLOUT_ICON_ATTRIBUTES,\n type MarkdownInfoBlock,\n type MarkdownInfoBlockRenderInput,\n type MarkdownInfoBlockType,\n markdownInfoBlocks,\n renderMarkdownInfoBlock,\n scanMarkdownInfoBlock,\n} from \"./markdown-info-blocks\";\nexport {\n type MarkdownLinkInput,\n type MarkdownReference,\n type MarkdownReferenceKind,\n type MarkdownReferenceType,\n markdownLinkReference,\n markdownReferenceIcon,\n markdownReferenceType,\n markdownReferenceTypeLabel,\n markStandaloneLinks,\n renderMarkdownLink,\n} from \"./markdown-links\";\nexport { Pagination, type PaginationProps } from \"./Pagination\";\nexport { PdfThumbnails, type PdfThumbnailsProps } from \"./PdfThumbnails\";\nexport type { PdfViewerProps, PdfViewerRequest } from \"./PdfViewer\";\nexport { default as PdfViewer } from \"./PdfViewer\";\nexport { ProgressPath, type ProgressPathProps, type ProgressPathStep } from \"./ProgressPath\";\nexport type { RangeOption, RangePickerProps } from \"./RangePicker\";\nexport { default as RangePicker } from \"./RangePicker\";\nexport { ReactionBar, type ReactionBarItem, type ReactionBarProps } from \"./ReactionBar\";\nexport type {\n ReferenceChipObjectProps,\n ReferenceChipPersonProps,\n ReferenceChipProps,\n ReferenceChipTimeProps,\n} from \"./ReferenceChip\";\nexport { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from \"./ReferenceChip\";\nexport {\n type RunEntry,\n type RunLevel,\n RunLog,\n type RunLogAction,\n type RunLogEntry,\n type RunLogProps,\n type RunLogState,\n type RunStepEntry,\n} from \"./RunLog\";\nexport type { StepsProps } from \"./Steps\";\nexport { Steps } from \"./Steps\";\nexport type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from \"./StructuredDataPreview\";\nexport { default as StructuredDataPreview, isStructuredDataValue } from \"./StructuredDataPreview\";\nexport { ThumbnailStrip, type ThumbnailStripItem, type ThumbnailStripProps } from \"./ThumbnailStrip\";\nexport type { TimelineColor, TimelineController, TimelineItem, TimelineProps } from \"./Timeline\";\nexport { default as Timeline } from \"./Timeline\";\nexport { VideoPlayer, type VideoPlayerProps } from \"./VideoPlayer\";\nexport type { VirtualFeedController, VirtualFeedProps, VirtualFeedScrollOptions } from \"./VirtualFeed\";\nexport { VirtualFeed } from \"./VirtualFeed\";\nexport type { ZoomPanAction, ZoomPanFullscreen, ZoomPanViewportProps } from \"./ZoomPanViewport\";\nexport { ZoomPanViewport } from \"./ZoomPanViewport\";\n"],"mappings":"AACA,SAEE,YAAY,EAMZ,YAAY,EAGZ,kBAAkB,QACb,gBAAgB;AACvB,SAAS,cAAc,QAAkC,kBAAkB;AAsB3E,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAGhD,SAAS,OAAO,IAAI,KAAK,QAAQ,SAAS;AAE1C,SAAS,aAAa,QAAQ,iBAAiB;AAE/C,SAAS,qBAAqB,QAAQ,yBAAyB;AAC/D,SAAS,mBAAmB,QAAuC,uBAAuB;AAC1F,SAAS,iBAAiB,QAAQ,qBAAqB;AAEvD,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAA2B,iBAAiB,QAAQ,gBAAgB;AAUpE,SAAS,mBAAmB,QAAQ,kBAAkB;AAGtD,SAAS,oBAAoB,QAAQ,kBAAkB;AASvD,SAAS,YAAY,QAAQ,kBAAkB;AAC/C,SAAmC,yBAAyB,QAAiC,wBAAwB;AAarH,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAElD,SAAS,mBAAmB,EAAE,cAAc,QAAQ,kBAAkB;AAEtE,SAAS,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO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ACE,wBAAwB,EACxB,gCAAgC,EAIhC,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,QAChB,wBAAwB;AAC/B,SAKE,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,QACb,kBAAkB;AACzB,SAAS,UAAU,QAA8B,cAAc;AAC/D,SAAS,aAAa,QAAiC,iBAAiB;AAExE,SAAS,OAAO,IAAI,SAAS,QAAQ,aAAa;AAClD,SAAS,YAAY,QAAuD,gBAAgB;AAE5F,SAAS,OAAO,IAAI,WAAW,QAAQ,eAAe;AACtD,SAAS,WAAW,QAAqD,eAAe;AAOxF,SAAS,6BAA6B,EAAE,aAAa,EAAE,cAAc,QAAQ,iBAAiB;AAC9F,SAGE,MAAM,QAMD,UAAU;AAEjB,SAAS,KAAK,QAAQ,SAAS;AAE/B,SAAS,OAAO,IAAI,qBAAqB,EAAE,qBAAqB,QAAQ,yBAAyB;AACjG,SAAS,cAAc,QAA2D,kBAAkB;AAEpG,SAAS,OAAO,IAAI,QAAQ,QAAQ,YAAY;AAChD,SAAS,WAAW,QAA+B,eAAe;AAElE,SAAS,WAAW,QAAQ,eAAe;AAE3C,SAAS,eAAe,QAAQ,mBAAmB","ignoreList":[]}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { i18n } from "@k2b/stdlib";
|
|
2
|
+
import { useLocale } from "../intl/locale";
|
|
3
|
+
const messages = i18n.define({
|
|
4
|
+
baseLocale: "en",
|
|
5
|
+
messages: {
|
|
6
|
+
en: {
|
|
7
|
+
run: "Run",
|
|
8
|
+
idle: "Not run yet",
|
|
9
|
+
starting: "Starting …",
|
|
10
|
+
running: "Running",
|
|
11
|
+
since: ({
|
|
12
|
+
duration
|
|
13
|
+
}) => `Running for ${duration}`,
|
|
14
|
+
succeeded: "Done",
|
|
15
|
+
doneAfter: ({
|
|
16
|
+
duration
|
|
17
|
+
}) => `Done in ${duration}`,
|
|
18
|
+
failed: "Failed",
|
|
19
|
+
failedAfter: ({
|
|
20
|
+
duration
|
|
21
|
+
}) => `Failed after ${duration}`,
|
|
22
|
+
pending: "pending",
|
|
23
|
+
active: "running",
|
|
24
|
+
completed: "succeeded",
|
|
25
|
+
skipped: "skipped",
|
|
26
|
+
stepFailed: "failed",
|
|
27
|
+
output: "Output",
|
|
28
|
+
noLines: "no lines yet",
|
|
29
|
+
lines: ({
|
|
30
|
+
count
|
|
31
|
+
}) => `${count} lines`,
|
|
32
|
+
line: "1 line",
|
|
33
|
+
warnings: ({
|
|
34
|
+
count
|
|
35
|
+
}) => `${count} warnings`,
|
|
36
|
+
warning: "1 warning",
|
|
37
|
+
warningLevel: "Warning",
|
|
38
|
+
errors: ({
|
|
39
|
+
count
|
|
40
|
+
}) => `${count} errors`,
|
|
41
|
+
error: "1 error",
|
|
42
|
+
errorLevel: "Error",
|
|
43
|
+
older: ({
|
|
44
|
+
count
|
|
45
|
+
}) => `Show ${count} older lines`,
|
|
46
|
+
earlier: ({
|
|
47
|
+
count
|
|
48
|
+
}) => `Show ${count} earlier steps`,
|
|
49
|
+
later: ({
|
|
50
|
+
count
|
|
51
|
+
}) => `Show ${count} more steps`,
|
|
52
|
+
current: "Show current steps",
|
|
53
|
+
details: ({
|
|
54
|
+
label
|
|
55
|
+
}) => `Details for ${label}`,
|
|
56
|
+
toggle: "Expand or collapse run",
|
|
57
|
+
actions: "Actions",
|
|
58
|
+
progress: ({
|
|
59
|
+
current,
|
|
60
|
+
count
|
|
61
|
+
}) => `Step ${current} of ${count}`,
|
|
62
|
+
steps: ({
|
|
63
|
+
count
|
|
64
|
+
}) => `${count} steps`,
|
|
65
|
+
step: "1 step"
|
|
66
|
+
},
|
|
67
|
+
de: {
|
|
68
|
+
run: "Lauf",
|
|
69
|
+
idle: "Noch nicht ausgeführt",
|
|
70
|
+
starting: "Startet …",
|
|
71
|
+
running: "Läuft",
|
|
72
|
+
since: ({
|
|
73
|
+
duration
|
|
74
|
+
}) => `Läuft seit ${duration}`,
|
|
75
|
+
succeeded: "Fertig",
|
|
76
|
+
doneAfter: ({
|
|
77
|
+
duration
|
|
78
|
+
}) => `Fertig nach ${duration}`,
|
|
79
|
+
failed: "Gescheitert",
|
|
80
|
+
failedAfter: ({
|
|
81
|
+
duration
|
|
82
|
+
}) => `Gescheitert nach ${duration}`,
|
|
83
|
+
pending: "ausstehend",
|
|
84
|
+
active: "läuft",
|
|
85
|
+
completed: "erledigt",
|
|
86
|
+
skipped: "übersprungen",
|
|
87
|
+
stepFailed: "fehlgeschlagen",
|
|
88
|
+
output: "Ausgabe",
|
|
89
|
+
noLines: "noch keine Zeilen",
|
|
90
|
+
lines: ({
|
|
91
|
+
count
|
|
92
|
+
}) => `${count} Zeilen`,
|
|
93
|
+
line: "1 Zeile",
|
|
94
|
+
warnings: ({
|
|
95
|
+
count
|
|
96
|
+
}) => `${count} Warnungen`,
|
|
97
|
+
warning: "1 Warnung",
|
|
98
|
+
warningLevel: "Warnung",
|
|
99
|
+
errors: ({
|
|
100
|
+
count
|
|
101
|
+
}) => `${count} Fehler`,
|
|
102
|
+
error: "1 Fehler",
|
|
103
|
+
errorLevel: "Fehler",
|
|
104
|
+
older: ({
|
|
105
|
+
count
|
|
106
|
+
}) => `${count} ältere Zeilen anzeigen`,
|
|
107
|
+
earlier: ({
|
|
108
|
+
count
|
|
109
|
+
}) => `${count} frühere Schritte anzeigen`,
|
|
110
|
+
later: ({
|
|
111
|
+
count
|
|
112
|
+
}) => `${count} weitere Schritte anzeigen`,
|
|
113
|
+
current: "Aktuelle Schritte anzeigen",
|
|
114
|
+
details: ({
|
|
115
|
+
label
|
|
116
|
+
}) => `Details zu ${label}`,
|
|
117
|
+
toggle: "Lauf auf- oder zuklappen",
|
|
118
|
+
actions: "Aktionen",
|
|
119
|
+
progress: ({
|
|
120
|
+
current,
|
|
121
|
+
count
|
|
122
|
+
}) => `Schritt ${current} von ${count}`,
|
|
123
|
+
steps: ({
|
|
124
|
+
count
|
|
125
|
+
}) => `${count} Schritte`,
|
|
126
|
+
step: "1 Schritt"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
export function useRunLogMessages() {
|
|
131
|
+
const locale = useLocale();
|
|
132
|
+
return () => messages.resolve([locale()]).t;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=run-log-messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["content/run-log-messages.ts"],"sourcesContent":["import { i18n } from \"@k2b/stdlib\";\nimport { useLocale } from \"../intl/locale\";\n\nconst messages = i18n.define({\n baseLocale: \"en\",\n messages: {\n en: {\n run: \"Run\",\n idle: \"Not run yet\",\n starting: \"Starting …\",\n running: \"Running\",\n since: ({ duration }: { duration: string }) => `Running for ${duration}`,\n succeeded: \"Done\",\n doneAfter: ({ duration }: { duration: string }) => `Done in ${duration}`,\n failed: \"Failed\",\n failedAfter: ({ duration }: { duration: string }) => `Failed after ${duration}`,\n pending: \"pending\",\n active: \"running\",\n completed: \"succeeded\",\n skipped: \"skipped\",\n stepFailed: \"failed\",\n output: \"Output\",\n noLines: \"no lines yet\",\n lines: ({ count }: { count: number }) => `${count} lines`,\n line: \"1 line\",\n warnings: ({ count }: { count: number }) => `${count} warnings`,\n warning: \"1 warning\",\n warningLevel: \"Warning\",\n errors: ({ count }: { count: number }) => `${count} errors`,\n error: \"1 error\",\n errorLevel: \"Error\",\n older: ({ count }: { count: number }) => `Show ${count} older lines`,\n earlier: ({ count }: { count: number }) => `Show ${count} earlier steps`,\n later: ({ count }: { count: number }) => `Show ${count} more steps`,\n current: \"Show current steps\",\n details: ({ label }: { label: string }) => `Details for ${label}`,\n toggle: \"Expand or collapse run\",\n actions: \"Actions\",\n progress: ({ current, count }: { current: number; count: number }) => `Step ${current} of ${count}`,\n steps: ({ count }: { count: number }) => `${count} steps`,\n step: \"1 step\",\n },\n de: {\n run: \"Lauf\",\n idle: \"Noch nicht ausgeführt\",\n starting: \"Startet …\",\n running: \"Läuft\",\n since: ({ duration }) => `Läuft seit ${duration}`,\n succeeded: \"Fertig\",\n doneAfter: ({ duration }) => `Fertig nach ${duration}`,\n failed: \"Gescheitert\",\n failedAfter: ({ duration }) => `Gescheitert nach ${duration}`,\n pending: \"ausstehend\",\n active: \"läuft\",\n completed: \"erledigt\",\n skipped: \"übersprungen\",\n stepFailed: \"fehlgeschlagen\",\n output: \"Ausgabe\",\n noLines: \"noch keine Zeilen\",\n lines: ({ count }) => `${count} Zeilen`,\n line: \"1 Zeile\",\n warnings: ({ count }) => `${count} Warnungen`,\n warning: \"1 Warnung\",\n warningLevel: \"Warnung\",\n errors: ({ count }) => `${count} Fehler`,\n error: \"1 Fehler\",\n errorLevel: \"Fehler\",\n older: ({ count }) => `${count} ältere Zeilen anzeigen`,\n earlier: ({ count }) => `${count} frühere Schritte anzeigen`,\n later: ({ count }) => `${count} weitere Schritte anzeigen`,\n current: \"Aktuelle Schritte anzeigen\",\n details: ({ label }) => `Details zu ${label}`,\n toggle: \"Lauf auf- oder zuklappen\",\n actions: \"Aktionen\",\n progress: ({ current, count }) => `Schritt ${current} von ${count}`,\n steps: ({ count }) => `${count} Schritte`,\n step: \"1 Schritt\",\n },\n },\n});\n\nexport function useRunLogMessages() {\n const locale = useLocale();\n return () => messages.resolve([locale()]).t;\n}\n"],"mappings":"AAAA,SAAS,IAAI,QAAQ,aAAa;AAClC,SAAS,SAAS,QAAQ,gBAAgB;AAE1C,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC;EAC3B,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE;IACR,EAAE,EAAE;MACF,GAAG,EAAE,KAAK;MACV,IAAI,EAAE,aAAa;MACnB,QAAQ,EAAE,YAAY;MACtB,OAAO,EAAE,SAAS;MAClB,KAAK,EAAE,CAAC;QAAE;MAA+B,CAAC,KAAK,eAAe,QAAQ,EAAE;MACxE,SAAS,EAAE,MAAM;MACjB,SAAS,EAAE,CAAC;QAAE;MAA+B,CAAC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,KAAK,EAAE;MACnE,KAAK,EAAE,CAAC;QAAE;MAAM,CAAC,KAAK,GAAG,KAAK,WAAW;MACzC,IAAI,EAAE;IACR;EACF;AACF,CAAC,CAAC;AAEF,OAAO,SAAS,iBAAiB,GAAG;EAClC,MAAM,MAAM,GAAG,SAAS,CAAC,CAAC;EAC1B,OAAO,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7C","ignoreList":[]}
|
|
@@ -7,6 +7,13 @@ import { resolveToastMessages } from "./toast-messages";
|
|
|
7
7
|
|
|
8
8
|
/** A link at the end of the message, such as "Open settings". Following it closes the toast. */
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* A title names the outcome in at most three words and 32 characters: one semibold line beside the icon tile in the
|
|
12
|
+
* narrowest toast (about 260 px of text on a 390 px phone). The repository rule `toast-copy` checks the same limits.
|
|
13
|
+
*/
|
|
14
|
+
const TITLE_MAX_WORDS = 3;
|
|
15
|
+
const TITLE_MAX_CHARACTERS = 32;
|
|
16
|
+
const isShortLabel = text => text.trim().length <= TITLE_MAX_CHARACTERS && text.trim().split(/\s+/).filter(Boolean).length <= TITLE_MAX_WORDS;
|
|
10
17
|
/** Toasts in the stack at every width; older ones leave by the eviction rule below. */
|
|
11
18
|
const MAX_VISIBLE_TOASTS = 3;
|
|
12
19
|
/** The same media query that moves the rail to the top edge in the stylesheet. */
|
|
@@ -724,6 +731,9 @@ const showToast = (description, options) => {
|
|
|
724
731
|
titleElement.textContent = currentTitle ?? "";
|
|
725
732
|
titleElement.hidden = !currentTitle;
|
|
726
733
|
descriptionText.data = currentDescription;
|
|
734
|
+
// A short message without a title, such as "Link copied", is the outcome itself: it reads in the title's type.
|
|
735
|
+
// Anything longer stays calm body text, so an old sentence never turns into a bold paragraph.
|
|
736
|
+
if (!currentTitle && currentProgress === null && !currentLink && isShortLabel(currentDescription)) contentElement.dataset.short = "true";else delete contentElement.dataset.short;
|
|
727
737
|
const href = currentLink ? safeHref(currentLink.href) : null;
|
|
728
738
|
if (currentLink && href !== null) {
|
|
729
739
|
linkElement.href = href;
|
|
@@ -862,7 +872,6 @@ const showToast = (description, options) => {
|
|
|
862
872
|
if (has("title")) currentTitle = nextOptions.title;
|
|
863
873
|
if (has("link")) currentLink = nextOptions.link ?? null;
|
|
864
874
|
if (nextOptions?.dismissLabel) dismissLabel = nextOptions.dismissLabel;
|
|
865
|
-
renderText();
|
|
866
875
|
if (has("action") || has("secondaryAction")) {
|
|
867
876
|
if (has("action")) currentAction = nextOptions.action ?? null;
|
|
868
877
|
if (has("secondaryAction")) currentSecondary = nextOptions.secondaryAction ?? null;
|
|
@@ -871,6 +880,7 @@ const showToast = (description, options) => {
|
|
|
871
880
|
if (has("duration")) explicitDuration = nextOptions.duration;
|
|
872
881
|
if (has("progress")) currentProgress = nextOptions.progress ?? null;
|
|
873
882
|
if (has("celebrate")) currentCelebrate = nextOptions.celebrate ?? false;
|
|
883
|
+
renderText();
|
|
874
884
|
renderProgress();
|
|
875
885
|
renderCheck();
|
|
876
886
|
resetDismissTimer();
|