@littlepress/renderer-web 0.0.0-stage → 1.0.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/LICENSE +202 -0
- package/NOTICE +20 -0
- package/README.md +229 -2
- package/dist/answer/answerComponents.d.ts +107 -0
- package/dist/answer/answerComponents.js +637 -0
- package/dist/answer/download.d.ts +63 -0
- package/dist/answer/download.js +109 -0
- package/dist/answer/downloadExport.d.ts +44 -0
- package/dist/answer/downloadExport.js +266 -0
- package/dist/answer/hostValues.d.ts +28 -0
- package/dist/answer/hostValues.js +379 -0
- package/dist/answer/mapComponent.d.ts +6 -0
- package/dist/answer/mapComponent.js +213 -0
- package/dist/answer/math.d.ts +57 -0
- package/dist/answer/math.js +168 -0
- package/dist/answer/surfaceStream.d.ts +51 -0
- package/dist/answer/surfaceStream.js +260 -0
- package/dist/answer/tableLayout.d.ts +42 -0
- package/dist/answer/tableLayout.js +89 -0
- package/dist/controls/ActionFeedback.d.ts +5 -0
- package/dist/controls/ActionFeedback.js +43 -0
- package/dist/controls/actionDispatch.d.ts +51 -0
- package/dist/controls/actionDispatch.js +211 -0
- package/dist/controls/actionOutcome.generated.d.ts +64 -0
- package/dist/controls/actionOutcome.generated.js +64 -0
- package/dist/controls/calculationPublisher.d.ts +14 -0
- package/dist/controls/calculationPublisher.js +6 -0
- package/dist/controls/calculations.d.ts +20 -0
- package/dist/controls/calculations.generated.d.ts +73 -0
- package/dist/controls/calculations.generated.js +85 -0
- package/dist/controls/calculations.js +208 -0
- package/dist/controls/controlState.d.ts +84 -0
- package/dist/controls/controlState.js +256 -0
- package/dist/controls/fieldMessages.d.ts +41 -0
- package/dist/controls/fieldMessages.js +81 -0
- package/dist/controls/fieldValidation.d.ts +19 -0
- package/dist/controls/fieldValidation.js +98 -0
- package/dist/controls/formComponents.d.ts +23 -0
- package/dist/controls/formComponents.js +738 -0
- package/dist/controls/formProgress.d.ts +63 -0
- package/dist/controls/formProgress.js +122 -0
- package/dist/controls/inputDrafts.d.ts +55 -0
- package/dist/controls/inputDrafts.js +183 -0
- package/dist/controls/inputValidation.d.ts +33 -0
- package/dist/controls/inputValidation.js +119 -0
- package/dist/controls/localWrites.d.ts +9 -0
- package/dist/controls/localWrites.js +29 -0
- package/dist/core/A2uiSurface.d.ts +13 -0
- package/dist/core/A2uiSurface.js +15 -0
- package/dist/core/AtlasIcon.d.ts +18 -0
- package/dist/core/AtlasIcon.js +22 -0
- package/dist/core/AtlasMedia.d.ts +22 -0
- package/dist/core/AtlasMedia.js +45 -0
- package/dist/core/Carousel.d.ts +61 -0
- package/dist/core/Carousel.js +183 -0
- package/dist/core/CoreMedia.d.ts +19 -0
- package/dist/core/CoreMedia.js +25 -0
- package/dist/core/FoundationA2uiSurface.d.ts +86 -0
- package/dist/core/FoundationA2uiSurface.js +440 -0
- package/dist/core/ImagePreview.d.ts +42 -0
- package/dist/core/ImagePreview.js +73 -0
- package/dist/core/LucideIcon.d.ts +19 -0
- package/dist/core/LucideIcon.js +42 -0
- package/dist/core/SurfaceLink.d.ts +35 -0
- package/dist/core/SurfaceLink.js +60 -0
- package/dist/core/appearance/aegis.d.ts +49 -0
- package/dist/core/appearance/aegis.js +34 -0
- package/dist/core/appearance/colour.d.ts +24 -0
- package/dist/core/appearance/colour.js +103 -0
- package/dist/core/appearance/css.d.ts +17 -0
- package/dist/core/appearance/css.js +153 -0
- package/dist/core/appearance/presets.generated.d.ts +4 -0
- package/dist/core/appearance/presets.generated.js +1184 -0
- package/dist/core/appearance/react.d.ts +29 -0
- package/dist/core/appearance/react.js +110 -0
- package/dist/core/appearance/resolve.d.ts +76 -0
- package/dist/core/appearance/resolve.js +127 -0
- package/dist/core/appearance/textScale.d.ts +11 -0
- package/dist/core/appearance/textScale.js +51 -0
- package/dist/core/appearance/theme.d.ts +138 -0
- package/dist/core/appearance/theme.js +274 -0
- package/dist/core/baseComponents.d.ts +53 -0
- package/dist/core/baseComponents.js +480 -0
- package/dist/core/binding.d.ts +46 -0
- package/dist/core/binding.js +118 -0
- package/dist/core/bundle.d.ts +23 -0
- package/dist/core/bundle.js +75 -0
- package/dist/core/catalog/catalog-index.generated.d.ts +44 -0
- package/dist/core/catalog/catalog-index.generated.js +79 -0
- package/dist/core/catalog/icons.generated.d.ts +6 -0
- package/dist/core/catalog/icons.generated.js +1788 -0
- package/dist/core/catalog.d.ts +6 -0
- package/dist/core/catalog.generated.d.ts +50 -0
- package/dist/core/catalog.generated.js +2174 -0
- package/dist/core/catalog.js +8 -0
- package/dist/core/chartRows.d.ts +7 -0
- package/dist/core/chartRows.js +38 -0
- package/dist/core/component-support.d.ts +39 -0
- package/dist/core/component-support.js +127 -0
- package/dist/core/components/actions.d.ts +4 -0
- package/dist/core/components/actions.js +21 -0
- package/dist/core/components/cards.d.ts +9 -0
- package/dist/core/components/cards.js +227 -0
- package/dist/core/components/charts.d.ts +18 -0
- package/dist/core/components/charts.js +412 -0
- package/dist/core/components/comparisonTable.d.ts +50 -0
- package/dist/core/components/comparisonTable.js +89 -0
- package/dist/core/components/content.d.ts +13 -0
- package/dist/core/components/content.js +108 -0
- package/dist/core/components/seriesCharts.d.ts +531 -0
- package/dist/core/components/seriesCharts.js +1053 -0
- package/dist/core/components/stepFlow.d.ts +7 -0
- package/dist/core/components/stepFlow.js +13 -0
- package/dist/core/components.full.d.ts +10 -0
- package/dist/core/components.full.js +41 -0
- package/dist/core/context.d.ts +207 -0
- package/dist/core/context.js +172 -0
- package/dist/core/coverage.d.ts +30 -0
- package/dist/core/coverage.js +93 -0
- package/dist/core/foundation.d.ts +21 -0
- package/dist/core/foundation.js +22 -0
- package/dist/core/fullTheme.d.ts +5 -0
- package/dist/core/fullTheme.js +9 -0
- package/dist/core/iconNodes.generated.d.ts +7 -0
- package/dist/core/iconNodes.generated.js +5 -0
- package/dist/core/lucideIcons.d.ts +5 -0
- package/dist/core/lucideIcons.js +7 -0
- package/dist/core/messages.d.ts +111 -0
- package/dist/core/messages.js +134 -0
- package/dist/core/pointer.d.ts +17 -0
- package/dist/core/pointer.js +104 -0
- package/dist/core/registry.d.ts +12 -0
- package/dist/core/registry.js +114 -0
- package/dist/core/runtime.d.ts +8 -0
- package/dist/core/runtime.js +6 -0
- package/dist/core/state.d.ts +73 -0
- package/dist/core/state.js +274 -0
- package/dist/core/surfaceMotion.d.ts +5 -0
- package/dist/core/surfaceMotion.js +46 -0
- package/dist/core/theme.d.ts +5 -0
- package/dist/core/theme.js +7 -0
- package/dist/core/useSurfaceImage.d.ts +20 -0
- package/dist/core/useSurfaceImage.js +65 -0
- package/dist/graph/RelationshipGraph.d.ts +14 -0
- package/dist/graph/RelationshipGraph.js +206 -0
- package/dist/graph/model.d.ts +20 -0
- package/dist/graph/model.js +36 -0
- package/dist/graph/program/assets.d.ts +3 -0
- package/dist/graph/program/assets.js +3 -0
- package/dist/graph/program/bridge.d.ts +6 -0
- package/dist/graph/program/bridge.generated.d.ts +136 -0
- package/dist/graph/program/bridge.generated.js +1 -0
- package/dist/graph/program/bridge.js +24 -0
- package/dist/graph/program/bridge.schema.json +717 -0
- package/dist/graph/program/bridgeValidator.cjs +2 -0
- package/dist/graph/program/bridgeValidator.d.cts +4 -0
- package/dist/graph/program/runner.d.ts +1 -0
- package/dist/graph/program/runner.html +2193 -0
- package/dist/graph/program/runner.js +157 -0
- package/dist/graph/program/runtime-manifest.json +1 -0
- package/dist/graph/program/view.d.ts +11 -0
- package/dist/graph/program/view.js +210 -0
- package/dist/graph/program/worker.d.ts +1 -0
- package/dist/graph/program/worker.js +2186 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +45 -0
- package/dist/internal/dsh.d.ts +4 -0
- package/dist/internal/dsh.js +3 -0
- package/dist/internal/relationship-graph.d.ts +4 -0
- package/dist/internal/relationship-graph.js +7202 -0
- package/dist/page/layoutComponents.d.ts +6 -0
- package/dist/page/layoutComponents.js +123 -0
- package/dist/page/layoutGeometry.d.ts +68 -0
- package/dist/page/layoutGeometry.js +174 -0
- package/dist/page/pageFormat.d.ts +34 -0
- package/dist/page/pageFormat.js +119 -0
- package/dist/page/printFit.d.ts +81 -0
- package/dist/page/printFit.js +338 -0
- package/dist/react/index.d.ts +5 -0
- package/dist/react/index.js +2 -0
- package/dist/report/locate.d.ts +42 -0
- package/dist/report/locate.js +34 -0
- package/dist/styles/renderer.css +4580 -0
- package/licenses/LUCIDE-LICENSE.txt +43 -0
- package/licenses/QUICKJS-EMSCRIPTEN-LICENSE.txt +21 -0
- package/licenses/QUICKJS-VARIANT-LICENSE.txt +47 -0
- package/package.json +68 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data-binding resolution for A2UI dynamic values.
|
|
3
|
+
*
|
|
4
|
+
* Three shapes reach a component property:
|
|
5
|
+
* - literal -> used as is
|
|
6
|
+
* - `{"path": "/data/..."}` -> JSON Pointer into the data model
|
|
7
|
+
* - `{"call": "fn", "args": {...}}` -> a catalog client function in a value slot
|
|
8
|
+
*
|
|
9
|
+
* Inside a `{componentId, path}` child template the pointers are *relative*
|
|
10
|
+
* (`title`, not `/data/related/0/title`), so every resolve carries the item
|
|
11
|
+
* pointer of the row being drawn.
|
|
12
|
+
*
|
|
13
|
+
* v1.0 has no `DynamicObject`: whole-object bindings (cover image, chapter
|
|
14
|
+
* list) arrive as `DynamicValue`, which also accepts scalars. Type safety is
|
|
15
|
+
* the governance layer's job at compile time; the renderer does defensive
|
|
16
|
+
* checks here (ADR 0004, N1 disposition 3).
|
|
17
|
+
*/
|
|
18
|
+
import { createCalculationSession, isCalculationCall } from "../controls/calculations.js";
|
|
19
|
+
import { isDataBinding, isFunctionCall, isRecord } from "./messages.js";
|
|
20
|
+
import { readPointer } from "./pointer.js";
|
|
21
|
+
export function resolvePointerIn(context, path) {
|
|
22
|
+
if (path.startsWith("/"))
|
|
23
|
+
return readPointer(context.dataModel, path);
|
|
24
|
+
if (!context.itemPointer)
|
|
25
|
+
return undefined;
|
|
26
|
+
return readPointer(context.dataModel, `${context.itemPointer}/${path}`);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* `formatDuration(ms)` is the only catalog function that returns a value; the
|
|
30
|
+
* other three (`openUrl`, `openHostAdapter`, `toggleLocalFlag`) are void
|
|
31
|
+
* client effects and are dispatched through the action channel instead.
|
|
32
|
+
*/
|
|
33
|
+
export const defaultValueFunctions = {
|
|
34
|
+
formatDuration(args, context) {
|
|
35
|
+
const ms = resolveNumber(args.ms, context);
|
|
36
|
+
if (ms === null || ms <= 0)
|
|
37
|
+
return null;
|
|
38
|
+
const totalMinutes = Math.round(ms / 60000);
|
|
39
|
+
const hours = Math.floor(totalMinutes / 60);
|
|
40
|
+
const minutes = totalMinutes % 60;
|
|
41
|
+
return hours > 0 ? `${hours}h ${minutes}m` : `${minutes} min`;
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
export function callValueFunction(call, context, functions = defaultValueFunctions) {
|
|
45
|
+
const implementation = functions[call.call];
|
|
46
|
+
if (!implementation)
|
|
47
|
+
return null;
|
|
48
|
+
return implementation(isRecord(call.args) ? call.args : {}, context);
|
|
49
|
+
}
|
|
50
|
+
function resolveCalculation(value, context, numeric = false) {
|
|
51
|
+
const session = context.calculations ?? createCalculationSession((path, itemPointer) => {
|
|
52
|
+
const current = { ...context, itemPointer };
|
|
53
|
+
const absolute = readBindingPointer({ path }, current);
|
|
54
|
+
return absolute === "/data" || absolute?.startsWith("/data/")
|
|
55
|
+
? { value: resolvePointerIn(current, path) }
|
|
56
|
+
: { error: { kind: "calculation-error", code: "invalid_calculation" } };
|
|
57
|
+
});
|
|
58
|
+
return session.resolve(value, context.itemPointer, numeric);
|
|
59
|
+
}
|
|
60
|
+
export function resolveValue(value, context, functions = defaultValueFunctions) {
|
|
61
|
+
if (value === undefined || value === null)
|
|
62
|
+
return undefined;
|
|
63
|
+
if (isDataBinding(value))
|
|
64
|
+
return resolvePointerIn(context, value.path);
|
|
65
|
+
if (isFunctionCall(value)) {
|
|
66
|
+
if (isCalculationCall(value)) {
|
|
67
|
+
return resolveCalculation(value, context);
|
|
68
|
+
}
|
|
69
|
+
return callValueFunction(value, context, functions);
|
|
70
|
+
}
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
/** Display text for one already-resolved value. Empty strings fall back to nothing. */
|
|
74
|
+
export function resolvedString(resolved) {
|
|
75
|
+
if (typeof resolved === "string")
|
|
76
|
+
return resolved.length > 0 ? resolved : null;
|
|
77
|
+
if (typeof resolved === "number" && Number.isFinite(resolved))
|
|
78
|
+
return String(resolved);
|
|
79
|
+
if (typeof resolved === "boolean")
|
|
80
|
+
return String(resolved);
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
export function resolveString(value, context, functions) {
|
|
84
|
+
return resolvedString(resolveValue(value, context, functions));
|
|
85
|
+
}
|
|
86
|
+
export function resolveNumber(value, context, functions) {
|
|
87
|
+
const resolved = isCalculationCall(value) ? resolveCalculation(value, context, true) : resolveValue(value, context, functions);
|
|
88
|
+
if (typeof resolved === "number" && Number.isFinite(resolved))
|
|
89
|
+
return resolved;
|
|
90
|
+
if (typeof resolved === "string" && resolved.trim() !== "" && Number.isFinite(Number(resolved))) {
|
|
91
|
+
return Number(resolved);
|
|
92
|
+
}
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
export function resolveBoolean(value, context, functions) {
|
|
96
|
+
const resolved = resolveValue(value, context, functions);
|
|
97
|
+
return typeof resolved === "boolean" ? resolved : null;
|
|
98
|
+
}
|
|
99
|
+
export function resolveStringList(value, context, functions) {
|
|
100
|
+
const resolved = resolveValue(value, context, functions);
|
|
101
|
+
if (!Array.isArray(resolved))
|
|
102
|
+
return [];
|
|
103
|
+
return resolved.filter((item) => typeof item === "string");
|
|
104
|
+
}
|
|
105
|
+
export function resolveRecordList(value, context, functions) {
|
|
106
|
+
const resolved = resolveValue(value, context, functions);
|
|
107
|
+
if (!Array.isArray(resolved))
|
|
108
|
+
return [];
|
|
109
|
+
return resolved.filter(isRecord);
|
|
110
|
+
}
|
|
111
|
+
/** Pointer of an array binding, needed to address rows in `itemAction` context. */
|
|
112
|
+
export function readBindingPointer(value, context) {
|
|
113
|
+
if (!isDataBinding(value))
|
|
114
|
+
return null;
|
|
115
|
+
if (value.path.startsWith("/"))
|
|
116
|
+
return value.path;
|
|
117
|
+
return context.itemPointer ? `${context.itemPointer}/${value.path}` : null;
|
|
118
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reading a SurfaceArtifact or raw A2UI message list into a renderable surface state.
|
|
3
|
+
*/
|
|
4
|
+
import { type A2uiMessage } from "./messages.ts";
|
|
5
|
+
import { type ApplyMessagesOptions, type A2uiSurfaceState } from "./state.ts";
|
|
6
|
+
export declare const A2UI_SCHEMA_COMMIT = "05437cb7283a5f6e09eec4c4cd627d3f88072e48";
|
|
7
|
+
export declare const A2UI_MEDIA_TYPE = "application/a2ui+json";
|
|
8
|
+
export type LocalA2uiArtifact = {
|
|
9
|
+
messages: A2uiMessage[];
|
|
10
|
+
catalogId: string | null;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Reads the public SurfaceArtifact shape. The protocol pin and declared
|
|
14
|
+
* surface/catalog identity must agree with the first createSurface message.
|
|
15
|
+
*/
|
|
16
|
+
export declare function readLocalA2uiArtifact(value: unknown): LocalA2uiArtifact | null;
|
|
17
|
+
export declare function readA2uiSurfaceStateFromMessages(messages: readonly A2uiMessage[], options?: ApplyMessagesOptions): A2uiSurfaceState | null;
|
|
18
|
+
/**
|
|
19
|
+
* Folds a SurfaceArtifact or message list (plus any live updates already applied
|
|
20
|
+
* in this session) into a renderable surface state. Replaying the full history on
|
|
21
|
+
* every call keeps the result a pure function of its inputs.
|
|
22
|
+
*/
|
|
23
|
+
export declare function readA2uiSurfaceState(input: unknown, extraMessages?: readonly A2uiMessage[], options?: ApplyMessagesOptions): A2uiSurfaceState | null;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reading a SurfaceArtifact or raw A2UI message list into a renderable surface state.
|
|
3
|
+
*/
|
|
4
|
+
import { isRecord, readMessageList } from "./messages.js";
|
|
5
|
+
import { applyMessages, createEmptyA2uiState, } from "./state.js";
|
|
6
|
+
export const A2UI_SCHEMA_COMMIT = "05437cb7283a5f6e09eec4c4cd627d3f88072e48";
|
|
7
|
+
export const A2UI_MEDIA_TYPE = "application/a2ui+json";
|
|
8
|
+
function hasPinnedProtocol(value) {
|
|
9
|
+
return isRecord(value)
|
|
10
|
+
&& value.version === "v1.0"
|
|
11
|
+
&& value.schema === "agent_to_renderer"
|
|
12
|
+
&& value.schema_commit === A2UI_SCHEMA_COMMIT
|
|
13
|
+
&& value.media_type === A2UI_MEDIA_TYPE;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Reads the public SurfaceArtifact shape. The protocol pin and declared
|
|
17
|
+
* surface/catalog identity must agree with the first createSurface message.
|
|
18
|
+
*/
|
|
19
|
+
export function readLocalA2uiArtifact(value) {
|
|
20
|
+
if (!isRecord(value) || !hasPinnedProtocol(value.protocol))
|
|
21
|
+
return null;
|
|
22
|
+
if (typeof value.surface_id !== "string" || !isRecord(value.catalog))
|
|
23
|
+
return null;
|
|
24
|
+
const messages = readMessageList(value.messages);
|
|
25
|
+
if (messages.length === 0)
|
|
26
|
+
return null;
|
|
27
|
+
const firstMessage = messages[0];
|
|
28
|
+
const first = isRecord(firstMessage) && isRecord(firstMessage.createSurface)
|
|
29
|
+
? firstMessage.createSurface
|
|
30
|
+
: null;
|
|
31
|
+
const catalogId = typeof value.catalog.id === "string" ? value.catalog.id : null;
|
|
32
|
+
if (!first || first.surfaceId !== value.surface_id || first.catalogId !== catalogId)
|
|
33
|
+
return null;
|
|
34
|
+
return { messages, catalogId };
|
|
35
|
+
}
|
|
36
|
+
export function readA2uiSurfaceStateFromMessages(messages, options = {}) {
|
|
37
|
+
const parsed = readMessageList(messages);
|
|
38
|
+
if (parsed.length === 0)
|
|
39
|
+
return null;
|
|
40
|
+
return applyMessages(createEmptyA2uiState(), parsed, options);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Folds a SurfaceArtifact or message list (plus any live updates already applied
|
|
44
|
+
* in this session) into a renderable surface state. Replaying the full history on
|
|
45
|
+
* every call keeps the result a pure function of its inputs.
|
|
46
|
+
*/
|
|
47
|
+
export function readA2uiSurfaceState(input, extraMessages = [], options = {}) {
|
|
48
|
+
// Live messages may echo input edits. Only the source artifact identifies a new operation context.
|
|
49
|
+
const sourceRevision = isRecord(input) ? JSON.stringify([
|
|
50
|
+
input.artifact_id, input.request_id, input.run_id, input.revision,
|
|
51
|
+
input.messages,
|
|
52
|
+
]) : JSON.stringify(input);
|
|
53
|
+
const withSource = (state, baseMessages) => {
|
|
54
|
+
const base = applyMessages(createEmptyA2uiState(), baseMessages, options);
|
|
55
|
+
const inputPaths = new Set(Object.values(base.components).map(component => component.valuePath)
|
|
56
|
+
.filter((path) => typeof path === "string"));
|
|
57
|
+
const businessUpdates = extraMessages.filter(message => {
|
|
58
|
+
if (!("updateDataModel" in message))
|
|
59
|
+
return true;
|
|
60
|
+
const update = message.updateDataModel;
|
|
61
|
+
return update.surfaceId !== base.surfaceId || !inputPaths.has(update.path ?? "");
|
|
62
|
+
});
|
|
63
|
+
return { ...state, sourceRevision: JSON.stringify([sourceRevision, businessUpdates]) };
|
|
64
|
+
};
|
|
65
|
+
const artifact = readLocalA2uiArtifact(input);
|
|
66
|
+
const directMessages = Array.isArray(input)
|
|
67
|
+
? readMessageList(input)
|
|
68
|
+
: isRecord(input) && Array.isArray(input.messages)
|
|
69
|
+
? readMessageList(input.messages)
|
|
70
|
+
: [];
|
|
71
|
+
const messages = artifact?.messages ?? directMessages;
|
|
72
|
+
if (messages.length === 0)
|
|
73
|
+
return null;
|
|
74
|
+
return withSource(applyMessages(createEmptyA2uiState(), [...messages, ...extraMessages], options), messages);
|
|
75
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** Layout intent buckets Atlas assigns to every catalog entry. */
|
|
2
|
+
export type RendererArchetype = "action" | "card_group" | "data_viz" | "hero" | "layout" | "list" | "media" | "text_section";
|
|
3
|
+
/** Atlas cluster keys: `meta` plus the five semantic clusters. */
|
|
4
|
+
export type RendererCluster = "a" | "b" | "c" | "d" | "e" | "meta";
|
|
5
|
+
export type RendererCatalogEntry = {
|
|
6
|
+
/** A2UI wire name (`Family_variant`, UAX #31 safe). */
|
|
7
|
+
component: string;
|
|
8
|
+
/** Atlas sheet id, e.g. `S1`. */
|
|
9
|
+
atlasId: string;
|
|
10
|
+
/** Human-readable Atlas id (`Family.variant`) — never sent on the wire. */
|
|
11
|
+
id: string;
|
|
12
|
+
family: string;
|
|
13
|
+
variant: string;
|
|
14
|
+
nameCn: string;
|
|
15
|
+
role: string;
|
|
16
|
+
layer: string;
|
|
17
|
+
cluster: RendererCluster;
|
|
18
|
+
archetype: RendererArchetype;
|
|
19
|
+
/** Internal fixed-page sizing contract; never appears on the A2UI wire. */
|
|
20
|
+
printSize: RendererPrintSize | null;
|
|
21
|
+
};
|
|
22
|
+
export type RendererPrintFootprint = {
|
|
23
|
+
id: string;
|
|
24
|
+
colSpan: number;
|
|
25
|
+
rowSpan: number;
|
|
26
|
+
textBudget?: Readonly<Record<string, number>>;
|
|
27
|
+
};
|
|
28
|
+
export type RendererPrintSize = {
|
|
29
|
+
mode: "fixed" | "rows" | "fill" | "prose";
|
|
30
|
+
modules?: readonly number[];
|
|
31
|
+
footprints?: readonly RendererPrintFootprint[];
|
|
32
|
+
itemCountPath?: string;
|
|
33
|
+
rowsPerItem?: number;
|
|
34
|
+
headerLines?: number;
|
|
35
|
+
clamp?: Readonly<Record<string, number>>;
|
|
36
|
+
protectedParts?: readonly string[];
|
|
37
|
+
crop?: string;
|
|
38
|
+
note?: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const rendererCatalogVersion = "1.0.0";
|
|
41
|
+
export declare const rendererCatalogId = "https://littlepress.ai/a2ui/v1_0/atlas-catalog.json";
|
|
42
|
+
export declare const rendererProtocolVersion = "1.0";
|
|
43
|
+
export declare const rendererSpecVersion = "v1.0";
|
|
44
|
+
export declare const rendererCatalog: readonly RendererCatalogEntry[];
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// GENERATED FILE — do not edit by hand.
|
|
2
|
+
// Source: ui-foundation/surface/contracts/catalog/generated/component-definitions.json
|
|
3
|
+
// Generator: ui-foundation/surface/typescript/packages/renderer-web/scripts/generate-renderer-assets.mjs
|
|
4
|
+
// Regenerate: corepack pnpm --filter @littlepress/renderer-web generate:assets
|
|
5
|
+
export const rendererCatalogVersion = "1.0.0";
|
|
6
|
+
export const rendererCatalogId = "https://littlepress.ai/a2ui/v1_0/atlas-catalog.json";
|
|
7
|
+
export const rendererProtocolVersion = "1.0";
|
|
8
|
+
export const rendererSpecVersion = "v1.0";
|
|
9
|
+
export const rendererCatalog = [
|
|
10
|
+
{ component: "LPText_Default", atlasId: "M1", id: "LPText.Default", family: "LPText", variant: "Default", nameCn: "角色化文本", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
11
|
+
{ component: "LPKicker_Default", atlasId: "M2", id: "LPKicker.Default", family: "LPKicker", variant: "Default", nameCn: "眉题", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
12
|
+
{ component: "LPMetaRow_Default", atlasId: "M3", id: "LPMetaRow.Default", family: "LPMetaRow", variant: "Default", nameCn: "元数据行", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
13
|
+
{ component: "LPImage_Default", atlasId: "M4", id: "LPImage.Default", family: "LPImage", variant: "Default", nameCn: "图像", role: "Foundation", layer: "meta", cluster: "meta", archetype: "media", printSize: null },
|
|
14
|
+
{ component: "LPIcon_Default", atlasId: "M5", id: "LPIcon.Default", family: "LPIcon", variant: "Default", nameCn: "受控图标", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
15
|
+
{ component: "LPButton_Default", atlasId: "M6", id: "LPButton.Default", family: "LPButton", variant: "Default", nameCn: "按钮", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
16
|
+
{ component: "LPChip_Default", atlasId: "M7", id: "LPChip.Default", family: "LPChip", variant: "Default", nameCn: "徽章/胶囊", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
17
|
+
{ component: "LPCard_Default", atlasId: "M8", id: "LPCard.Default", family: "LPCard", variant: "Default", nameCn: "面板容器", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
18
|
+
{ component: "LPStack_Default", atlasId: "M9", id: "LPStack.Default", family: "LPStack", variant: "Default", nameCn: "排布", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
19
|
+
{ component: "LPGrid_Default", atlasId: "M10", id: "LPGrid.Default", family: "LPGrid", variant: "Default", nameCn: "网格", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
20
|
+
{ component: "LPPager_Default", atlasId: "M11", id: "LPPager.Default", family: "LPPager", variant: "Default", nameCn: "横滑容器", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
21
|
+
{ component: "LPListRow_Default", atlasId: "M12", id: "LPListRow.Default", family: "LPListRow", variant: "Default", nameCn: "万能列表行", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
22
|
+
{ component: "LPDivider_Default", atlasId: "M13", id: "LPDivider.Default", family: "LPDivider", variant: "Default", nameCn: "规则线", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
23
|
+
{ component: "LPStat_Default", atlasId: "M14", id: "LPStat.Default", family: "LPStat", variant: "Default", nameCn: "大数字", role: "Foundation", layer: "meta", cluster: "meta", archetype: "data_viz", printSize: null },
|
|
24
|
+
{ component: "LPProgress_Default", atlasId: "M15", id: "LPProgress.Default", family: "LPProgress", variant: "Default", nameCn: "进度", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
25
|
+
{ component: "LPAvatar_Default", atlasId: "M16", id: "LPAvatar.Default", family: "LPAvatar", variant: "Default", nameCn: "头像", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
26
|
+
{ component: "LPMediaFrame_Default", atlasId: "M17", id: "LPMediaFrame.Default", family: "LPMediaFrame", variant: "Default", nameCn: "音视频框", role: "Foundation", layer: "meta", cluster: "meta", archetype: "media", printSize: null },
|
|
27
|
+
{ component: "LPActionRow_Default", atlasId: "M18", id: "LPActionRow.Default", family: "LPActionRow", variant: "Default", nameCn: "动作行", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
28
|
+
{ component: "LPAdContainer_Default", atlasId: "M19", id: "LPAdContainer.Default", family: "LPAdContainer", variant: "Default", nameCn: "广告容器", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
29
|
+
{ component: "LPChartElements_Default", atlasId: "M20", id: "LPChartElements.Default", family: "LPChartElements", variant: "Default", nameCn: "图表基础元素", role: "Foundation", layer: "meta", cluster: "meta", archetype: "data_viz", printSize: null },
|
|
30
|
+
{ component: "LPAsyncState_Default", atlasId: "M21", id: "LPAsyncState.Default", family: "LPAsyncState", variant: "Default", nameCn: "异步状态面板", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
31
|
+
{ component: "LPInputField_Default", atlasId: "M22", id: "LPInputField.Default", family: "LPInputField", variant: "Default", nameCn: "受控输入字段", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
32
|
+
{ component: "LPSelect_Default", atlasId: "M23", id: "LPSelect.Default", family: "LPSelect", variant: "Default", nameCn: "下拉选择", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
33
|
+
{ component: "LPCheckbox_Default", atlasId: "M24", id: "LPCheckbox.Default", family: "LPCheckbox", variant: "Default", nameCn: "复选框", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
34
|
+
{ component: "LPChoiceGroup_Default", atlasId: "M25", id: "LPChoiceGroup.Default", family: "LPChoiceGroup", variant: "Default", nameCn: "单选与多选", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
35
|
+
{ component: "LPSlider_Default", atlasId: "M26", id: "LPSlider.Default", family: "LPSlider", variant: "Default", nameCn: "滑块", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
36
|
+
{ component: "LPForm_Default", atlasId: "M27", id: "LPForm.Default", family: "LPForm", variant: "Default", nameCn: "表单", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
37
|
+
{ component: "LPTabs_Default", atlasId: "M28", id: "LPTabs.Default", family: "LPTabs", variant: "Default", nameCn: "标签页", role: "Foundation", layer: "meta", cluster: "meta", archetype: "layout", printSize: null },
|
|
38
|
+
{ component: "PageHero_ArticleHeader", atlasId: "S1", id: "PageHero.ArticleHeader", family: "PageHero", variant: "ArticleHeader", nameCn: "文章页头", role: "Core", layer: "semantic", cluster: "a", archetype: "hero", printSize: { "mode": "fill", "clamp": { "kicker": 1, "title": 2, "dek": 2, "byline": 1 }, "crop": "cover", "note": "Fill the available header area, crop the media to cover and clamp each text field to its specified line count." } },
|
|
39
|
+
{ component: "LedeParagraph_EditorialLede", atlasId: "S2", id: "LedeParagraph.EditorialLede", family: "LedeParagraph", variant: "EditorialLede", nameCn: "编辑导语", role: "Core", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "prose", "clamp": { "dropcap": 3, "leadIn": 1 }, "note": "Editorial lede is elastic: the layout engine allocates height from remaining page rows rather than fixed tiers. Hard constraints apply only to ornament: drop cap stays 3 baseline rows (independent of font size), small-caps lead-in stays on the first line, and overflow truncates with an overset marker." } },
|
|
40
|
+
{ component: "BodySection_NumberedSection", atlasId: "S3", id: "BodySection.NumberedSection", family: "BodySection", variant: "NumberedSection", nameCn: "编号章节", role: "Variant", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "kicker": 1, "heading": 2, "body": 4, "totalLines": 7 } }, { "id": "w4r2", "colSpan": 4, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 4, "totalLines": 7 } }, { "id": "w6r2", "colSpan": 6, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 4, "totalLines": 7 } }, { "id": "w8r2", "colSpan": 8, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 4, "totalLines": 7 } }, { "id": "w12r2", "colSpan": 12, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 4, "totalLines": 7 } }], "clamp": { "kicker": 1, "heading": 2, "body": 4 }, "note": "Calibrated on bilingual English/Chinese samples: 3 columns need 3 module rows; 4-12 columns need 2 module rows. A numbered section header sets pacing rather than carrying body prose (1-line kicker, 2-line title, up to 4-line intro); longer prose belongs in S4 BodyProse." } },
|
|
41
|
+
{ component: "PullQuote_QuoteWall", atlasId: "S6", id: "PullQuote.QuoteWall", family: "PullQuote", variant: "QuoteWall", nameCn: "金句墙", role: "Variant", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 4, "headerLines": 1, "clamp": { "text": 2, "source": 1 }, "note": "Uses rows mode rather than fixed: quote count is determined at compile time from quotes[] and wall height scales linearly. Each tile measures 2 quote lines + 1 attribution line + ~1 row of padding = 4 baseline rows; headerLines 1 absorbs the outer border and trailing margin. Overflow drops tiles rather than clipping lines." } },
|
|
42
|
+
{ component: "MediaGallery_MediaGallery", atlasId: "S8", id: "MediaGallery.MediaGallery", family: "MediaGallery", variant: "MediaGallery", nameCn: "画廊", role: "Core", layer: "semantic", cluster: "a", archetype: "media", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r4", "colSpan": 3, "rowSpan": 4, "textBudget": { "caption": 2, "counter": 1, "totalLines": 3 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "caption": 2, "counter": 1, "totalLines": 3 } }, { "id": "w6r4", "colSpan": 6, "rowSpan": 4, "textBudget": { "caption": 2, "counter": 1, "totalLines": 3 } }, { "id": "w8r5", "colSpan": 8, "rowSpan": 5, "textBudget": { "caption": 2, "counter": 1, "totalLines": 3 } }, { "id": "w12r6", "colSpan": 12, "rowSpan": 6, "textBudget": { "caption": 2, "counter": 1, "totalLines": 3 } }], "clamp": { "caption": 2, "counter": 1 }, "crop": "cover", "note": "Calibrated on bilingual English/Chinese samples: gallery height scales with column span from 3x4 up to 12x6 to preserve a 4:3 peek card frame and counter line. Images cover-crop; additional items paginate horizontally without increasing height." } },
|
|
43
|
+
{ component: "BenefitList_TermDeck", atlasId: "S9", id: "BenefitList.TermDeck", family: "BenefitList", variant: "TermDeck", nameCn: "术语卡组", role: "Variant", layer: "semantic", cluster: "a", archetype: "card_group", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 6, "headerLines": 2, "clamp": { "term": 1, "brief": 2, "detail": 6 }, "note": "Calibrated on bilingual English/Chinese samples: each card's term, 2-line definition, card gap, and double padding need 6 baseline rows; headerLines 2 covers the Key Concepts group header and container border. Flipped detail renders as an overlay clamped to 6 lines without changing deck height; overflow drops cards rather than clipping lines." } },
|
|
44
|
+
{ component: "LPListRow_ChapterTimeline", atlasId: "S10", id: "LPListRow.ChapterTimeline", family: "LPListRow", variant: "ChapterTimeline", nameCn: "章节时间线", role: "Recipe", layer: "semantic", cluster: "a", archetype: "card_group", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 2, "headerLines": 1, "clamp": { "timestamp": 1, "title": 1 }, "note": "Row index is the most height-efficient layout: timestamp and 1-line clamped title share one line, measuring ~2 baseline rows with padding and hairline; headerLines 1 covers the group heading. The NOW pill attaches at row end without adding height; overflow drops chapters rather than clipping rows." } },
|
|
45
|
+
{ component: "InsightCard_Default", atlasId: "S11", id: "InsightCard.Default", family: "InsightCard", variant: "Default", nameCn: "观点卡", role: "Explore", layer: "semantic", cluster: "a", archetype: "card_group", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "kicker": 1, "heading": 2, "body": 5, "totalLines": 8 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "kicker": 1, "heading": 2, "body": 5, "totalLines": 8 } }, { "id": "w6r2", "colSpan": 6, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 5, "totalLines": 8 } }, { "id": "w8r2", "colSpan": 8, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 5, "totalLines": 8 } }, { "id": "w12r2", "colSpan": 12, "rowSpan": 2, "textBudget": { "kicker": 1, "heading": 2, "body": 5, "totalLines": 8 } }], "clamp": { "kicker": 1, "heading": 2, "body": 5 }, "note": "Calibrated on bilingual English/Chinese samples: 3-4 columns need 3 module rows and 6-12 columns need 2 module rows to fit kicker, heading, and argument body. All five variants share the same skeleton tier and differ only in kicker wording and tone (heading clamps to 2 lines, body to 5 lines); the 1-row tier that cannot fit the minimum skeleton is no longer kept." } },
|
|
46
|
+
{ component: "TranscriptExcerpt_Default", atlasId: "S12", id: "TranscriptExcerpt.Default", family: "TranscriptExcerpt", variant: "Default", nameCn: "逐字稿摘录", role: "Explore", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r4", "colSpan": 3, "rowSpan": 4, "textBudget": { "timestamp": 1, "speaker": 1, "text": 3, "totalLines": 5 } }, { "id": "w4r4", "colSpan": 4, "rowSpan": 4, "textBudget": { "timestamp": 1, "speaker": 1, "text": 3, "totalLines": 5 } }, { "id": "w6r4", "colSpan": 6, "rowSpan": 4, "textBudget": { "timestamp": 1, "speaker": 1, "text": 3, "totalLines": 5 } }, { "id": "w8r4", "colSpan": 8, "rowSpan": 4, "textBudget": { "timestamp": 1, "speaker": 1, "text": 3, "totalLines": 5 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "timestamp": 1, "speaker": 1, "text": 3, "totalLines": 5 } }], "clamp": { "timestamp": 1, "speaker": 1, "text": 3 }, "note": "Calibrated on bilingual English/Chinese samples: a full dialogue slice needs 4 module rows across 3-8 columns and 3 module rows at 12 columns. Transcript excerpts are fixed evidence blocks; overflow drops whole turns rather than clipping lines." } },
|
|
47
|
+
{ component: "BodySection_BodyProse", atlasId: "S4", id: "BodySection.BodyProse", family: "BodySection", variant: "BodyProse", nameCn: "正文段落", role: "Core", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "prose", "note": "The only elastic component in the cluster and the only mode that allows overflow: paragraphs take no fixed tier and receive the remaining page rows after fixed components are placed. Page ends truncate with an overset marker; widow and orphan guards keep at least 2 lines at paragraph boundaries." } },
|
|
48
|
+
{ component: "PullQuote_PullQuote", atlasId: "S5", id: "PullQuote.PullQuote", family: "PullQuote", variant: "PullQuote", nameCn: "抽取引文", role: "Core", layer: "semantic", cluster: "a", archetype: "text_section", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "quote": 3, "attribution": 1, "totalLines": 4 } }, { "id": "w4r2", "colSpan": 4, "rowSpan": 2, "textBudget": { "quote": 3, "attribution": 1, "totalLines": 4 } }, { "id": "w6r2", "colSpan": 6, "rowSpan": 2, "textBudget": { "quote": 3, "attribution": 1, "totalLines": 4 } }, { "id": "w8r2", "colSpan": 8, "rowSpan": 2, "textBudget": { "quote": 3, "attribution": 1, "totalLines": 4 } }, { "id": "w12r2", "colSpan": 12, "rowSpan": 2, "textBudget": { "quote": 3, "attribution": 1, "totalLines": 4 } }], "clamp": { "quote": 3, "attribution": 1 }, "note": "Calibrated on bilingual English/Chinese samples: 3 columns need 3 module rows; 4-12 columns need 2 module rows. Display quote clamps to 3 lines, attribution to 1 line, and share actions remain inside the fixed box." } },
|
|
49
|
+
{ component: "EditorialImage_FeatureImage", atlasId: "S7", id: "EditorialImage.FeatureImage", family: "EditorialImage", variant: "FeatureImage", nameCn: "特写图", role: "Core", layer: "semantic", cluster: "a", archetype: "media", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r4", "colSpan": 3, "rowSpan": 4, "textBudget": { "caption": 2, "credit": 1, "totalLines": 3 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "caption": 2, "credit": 1, "totalLines": 3 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "caption": 2, "credit": 1, "totalLines": 3 } }, { "id": "w8r2", "colSpan": 8, "rowSpan": 2, "textBudget": { "caption": 2, "credit": 1, "totalLines": 3 } }, { "id": "w12r2", "colSpan": 12, "rowSpan": 2, "textBudget": { "caption": 2, "credit": 1, "totalLines": 3 } }], "clamp": { "caption": 2, "credit": 1 }, "crop": "cover", "note": "Calibrated on bilingual English/Chinese samples: narrow 3x4, half-width 4/6x3, wide 8/12x2. Images cover-crop to fit the fixed box; the 2-line caption and 1-line credit are included in the tier." } },
|
|
50
|
+
{ component: "MetricStrip_MetricRow", atlasId: "S14", id: "MetricStrip.MetricRow", family: "MetricStrip", variant: "MetricRow", nameCn: "指标条", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "value": 1, "label": 2, "kicker": 1, "caption": 2, "totalLines": 6 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "value": 1, "label": 2, "kicker": 1, "caption": 2, "totalLines": 6 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "value": 1, "label": 2, "kicker": 1, "caption": 2, "totalLines": 6 } }, { "id": "w8r2", "colSpan": 8, "rowSpan": 2, "textBudget": { "value": 1, "label": 2, "kicker": 1, "caption": 2, "totalLines": 6 } }, { "id": "w12r2", "colSpan": 12, "rowSpan": 2, "textBudget": { "value": 1, "label": 2, "kicker": 1, "caption": 2, "totalLines": 6 } }], "clamp": { "value": 1, "label": 2, "kicker": 1, "caption": 2 }, "note": "Calibrated on bilingual English/Chinese samples: 3-6 columns need 3 module rows and 8-12 columns need 2 module rows to fit heading, 2-4 metrics, and footnote. Values stay single-line (wide figures such as 1,234,567 tighten tracking rather than wrapping), labels clamp to 2 lines, and the 1-row tier that cannot fit the full component skeleton is no longer kept." } },
|
|
51
|
+
{ component: "InsightChart_DivergingBarChart", atlasId: "S18", id: "InsightChart.DivergingBarChart", family: "InsightChart", variant: "DivergingBarChart", nameCn: "发散条形图", role: "Variant", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "fixed", "footprints": [{ "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "title": 2, "poleLabel": 1, "rowLabel": 1, "caption": 2, "totalLines": 6 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "title": 2, "poleLabel": 1, "rowLabel": 1, "caption": 2, "totalLines": 6 } }, { "id": "w8r3", "colSpan": 8, "rowSpan": 3, "textBudget": { "title": 2, "poleLabel": 1, "rowLabel": 1, "caption": 2, "totalLines": 6 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "title": 2, "poleLabel": 1, "rowLabel": 1, "caption": 2, "totalLines": 6 } }], "clamp": { "title": 2, "poleLabel": 1, "rowLabel": 1, "caption": 2 }, "note": "Calibration confirmed 3 columns cannot fit both opposing tracks and the center label, so the narrowest supported width is 4 columns. Bilingual title, 3 opposing bar pairs, and caption uniformly use 3 module rows; pole labels and side values stay 1 line and tighten spacing rather than wrapping." } },
|
|
52
|
+
{ component: "ComparisonTable_Default", atlasId: "S19", id: "ComparisonTable.Default", family: "ComparisonTable", variant: "Default", nameCn: "对比表", role: "Explore", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 4, "headerLines": 5, "clamp": { "colHeader": 2, "colUnit": 1, "rowLabel": 2, "cell": 1, "cellPrevious": 1, "caption": 2 }, "note": "Calibrated on bilingual English/Chinese samples: each native table data row with cell padding and hairline needs 4 baseline rows; headerLines 5 covers a 2-line header, a 1-line unit row below column headers (colUnit clamps to 1 line), and a 2-line caption. Grows with row count up to 50 rows; cell values clamp to 1 line, and cells with previous add 1 clamped line below (cellPrevious). rowsPerItem is calibrated for rows without previous." } },
|
|
53
|
+
{ component: "InsightChart_BarChart", atlasId: "S42", id: "InsightChart.BarChart", family: "InsightChart", variant: "BarChart", nameCn: "柱状图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
54
|
+
{ component: "InsightChart_LineChart", atlasId: "S43", id: "InsightChart.LineChart", family: "InsightChart", variant: "LineChart", nameCn: "折线图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
55
|
+
{ component: "InsightChart_AreaChart", atlasId: "S44", id: "InsightChart.AreaChart", family: "InsightChart", variant: "AreaChart", nameCn: "面积图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
56
|
+
{ component: "InsightChart_PieChart", atlasId: "S45", id: "InsightChart.PieChart", family: "InsightChart", variant: "PieChart", nameCn: "饼图 / 环形图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
57
|
+
{ component: "InsightChart_ScatterChart", atlasId: "S47", id: "InsightChart.ScatterChart", family: "InsightChart", variant: "ScatterChart", nameCn: "散点图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
58
|
+
{ component: "InsightChart_RadialBarChart", atlasId: "S46", id: "InsightChart.RadialBarChart", family: "InsightChart", variant: "RadialBarChart", nameCn: "径向进度图", role: "Core", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: null },
|
|
59
|
+
{ component: "InsightChart_RadarInsightChart", atlasId: "S16", id: "InsightChart.RadarInsightChart", family: "InsightChart", variant: "RadarInsightChart", nameCn: "雷达洞察图", role: "Variant", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r4", "colSpan": 3, "rowSpan": 4, "textBudget": { "axisLabel": 1, "legend": 1, "caption": 2, "totalLines": 4 } }, { "id": "w4r4", "colSpan": 4, "rowSpan": 4, "textBudget": { "axisLabel": 1, "legend": 1, "caption": 2, "totalLines": 4 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "axisLabel": 1, "legend": 1, "caption": 2, "totalLines": 4 } }, { "id": "w8r3", "colSpan": 8, "rowSpan": 3, "textBudget": { "axisLabel": 1, "legend": 1, "caption": 2, "totalLines": 4 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "axisLabel": 1, "legend": 1, "caption": 2, "totalLines": 4 } }], "clamp": { "axisLabel": 1, "legend": 1, "caption": 2 }, "note": "The radar chart fits its polygon into the remaining height of its fixed box after reserving axis labels, legend, and caption. 3-4 columns keep 4 module rows; 6-12 columns use 3 module rows. 5-6 axes are fixed (adding an axis tightens angles rather than height); axis labels sit outside vertices, shrink the polygon if cramped, and fall back to a single row below the chart rather than ever truncating." } },
|
|
60
|
+
{ component: "InsightChart_QuadrantMap", atlasId: "S17", id: "InsightChart.QuadrantMap", family: "InsightChart", variant: "QuadrantMap", nameCn: "象限图", role: "Variant", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r4", "colSpan": 3, "rowSpan": 4, "textBudget": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2, "totalLines": 5 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2, "totalLines": 5 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2, "totalLines": 5 } }, { "id": "w8r3", "colSpan": 8, "rowSpan": 3, "textBudget": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2, "totalLines": 5 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2, "totalLines": 5 } }], "clamp": { "axisLabel": 1, "pointLabel": 1, "zoneLabel": 1, "caption": 2 }, "note": "The quadrant map draws into the remaining height of its fixed box while reserving axis labels, point labels, target zone, and caption. 3 columns keep 4 module rows; 4-12 columns use 3 module rows. Up to 8 points share the same plot without growing height; point labels clamp to 1 line." } },
|
|
61
|
+
{ component: "BenefitList_ChecklistCard", atlasId: "S20", id: "BenefitList.ChecklistCard", family: "BenefitList", variant: "ChecklistCard", nameCn: "状态清单卡", role: "Variant", layer: "semantic", cluster: "b", archetype: "data_viz", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 4, "headerLines": 4, "clamp": { "title": 2, "itemLabel": 2, "owner": 1, "summary": 2 }, "note": "Calibrated on bilingual English/Chinese samples: each status row with its badge, 2 lines of item text, and vertical padding needs 4 baseline rows; headerLines 4 covers the heading area and 2-line summary. Item text past line 2 clamps without growing height; badge and owner stay 1 line." } },
|
|
62
|
+
{ component: "BenefitList_StepFlow", atlasId: "S26", id: "BenefitList.StepFlow", family: "BenefitList", variant: "StepFlow", nameCn: "步骤流", role: "Variant", layer: "semantic", cluster: "c", archetype: "action", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 3, "headerLines": 2, "clamp": { "step": 1, "detail": 1, "progress": 1 }, "note": "Measured against the vertical detail demo: each step = 1 title line + 1 detail line + vertical padding = 3 baseline rows; headerLines 2 reserves the STEP n OF m progress bar. The horizontal 3-step layout shares the same height tier; adding steps narrows columns rather than growing height. Beyond 2-10 steps use a list instead of expanding the box." } },
|
|
63
|
+
{ component: "PageHero_StoryCover", atlasId: "S21", id: "PageHero.StoryCover", family: "PageHero", variant: "StoryCover", nameCn: "故事封面", role: "Variant", layer: "semantic", cluster: "c", archetype: "hero", printSize: { "mode": "fill", "clamp": { "kicker": 1, "title": 2, "sub": 2, "cta": 1 }, "crop": "cover", "note": "Cover fills the template's story-entry slot band (shared by illustrated color-block and photographic backgrounds) and never grows taller; artwork cover-crops to the frame. Clamps keep issue label and start button to 1 line, title to 2 lines, and subtitle to 2 lines across mixed scripts." } },
|
|
64
|
+
{ component: "CtaBlock_StoryEndCard", atlasId: "S28", id: "CtaBlock.StoryEndCard", family: "CtaBlock", variant: "StoryEndCard", nameCn: "收束卡", role: "Variant", layer: "semantic", cluster: "c", archetype: "action", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "headline": 2, "result": 1, "sub": 2, "cta": 1, "totalLines": 6 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "headline": 2, "result": 1, "sub": 2, "cta": 1, "totalLines": 6 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "headline": 2, "result": 1, "sub": 2, "cta": 1, "totalLines": 6 } }, { "id": "w8r3", "colSpan": 8, "rowSpan": 3, "textBudget": { "headline": 2, "result": 1, "sub": 2, "cta": 1, "totalLines": 6 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "headline": 2, "result": 1, "sub": 2, "cta": 1, "totalLines": 6 } }], "clamp": { "headline": 2, "result": 1, "sub": 2, "cta": 1 }, "crop": "cover", "note": "Calibrated on bilingual English/Chinese samples: the complete closing layout uniformly needs 3 module rows across 3-12 columns (2-line closing message, 1-line summary line, 2-line subnote, 1-line action; cover-cropped media). Compact tiers that clip actions are no longer kept." } },
|
|
65
|
+
{ component: "CtaBlock_ShareCta", atlasId: "S33", id: "CtaBlock.ShareCta", family: "CtaBlock", variant: "ShareCta", nameCn: "分享召唤", role: "Variant", layer: "semantic", cluster: "d", archetype: "action", printSize: { "mode": "fixed", "footprints": [{ "id": "w3r3", "colSpan": 3, "rowSpan": 3, "textBudget": { "kicker": 1, "title": 2, "note": 2, "totalLines": 5 } }, { "id": "w4r3", "colSpan": 4, "rowSpan": 3, "textBudget": { "kicker": 1, "title": 2, "note": 2, "totalLines": 5 } }, { "id": "w6r3", "colSpan": 6, "rowSpan": 3, "textBudget": { "kicker": 1, "title": 2, "note": 2, "totalLines": 5 } }, { "id": "w8r3", "colSpan": 8, "rowSpan": 3, "textBudget": { "kicker": 1, "title": 2, "note": 2, "totalLines": 5 } }, { "id": "w12r3", "colSpan": 12, "rowSpan": 3, "textBudget": { "kicker": 1, "title": 2, "note": 2, "totalLines": 5 } }], "clamp": { "kicker": 1, "title": 2, "note": 2 }, "note": "Calibrated on bilingual English/Chinese samples: a full share block uniformly needs 3 module rows across 3-12 columns. Use LPActionRow for a minimal button strip; ShareCta always retains kicker, title, note, and actions." } },
|
|
66
|
+
{ component: "SourcesPanel_Default", atlasId: "S40", id: "SourcesPanel.Default", family: "SourcesPanel", variant: "Default", nameCn: "来源溯源面板", role: "Explore", layer: "semantic", cluster: "e", archetype: "card_group", printSize: { "mode": "rows", "itemCountPath": "/items", "rowsPerItem": 4, "headerLines": 4, "clamp": { "source": 1, "excerpt": 2 }, "note": "Calibrated on bilingual English/Chinese samples: each source card's citation line, 2-line excerpt, card gap, and border need 4 baseline rows; headerLines 4 covers the source count, trailing View all link, and group margins. Overflow drops items rather than clipping lines; excerpts clamp to 2 lines." } },
|
|
67
|
+
{ component: "LPRichText_Default", atlasId: "M29", id: "LPRichText.Default", family: "LPRichText", variant: "Default", nameCn: "富文本段落", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
68
|
+
{ component: "LPList_Default", atlasId: "M30", id: "LPList.Default", family: "LPList", variant: "Default", nameCn: "列表", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
69
|
+
{ component: "LPListItem_Default", atlasId: "M31", id: "LPListItem.Default", family: "LPListItem", variant: "Default", nameCn: "列表项", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
70
|
+
{ component: "LPTable_Default", atlasId: "M32", id: "LPTable.Default", family: "LPTable", variant: "Default", nameCn: "表格", role: "Foundation", layer: "meta", cluster: "meta", archetype: "data_viz", printSize: null },
|
|
71
|
+
{ component: "LPCodeBlock_Default", atlasId: "M33", id: "LPCodeBlock.Default", family: "LPCodeBlock", variant: "Default", nameCn: "代码块", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
72
|
+
{ component: "LPBlockquote_Default", atlasId: "M34", id: "LPBlockquote.Default", family: "LPBlockquote", variant: "Default", nameCn: "引用块", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
73
|
+
{ component: "LPMath_Default", atlasId: "M35", id: "LPMath.Default", family: "LPMath", variant: "Default", nameCn: "公式", role: "Foundation", layer: "meta", cluster: "meta", archetype: "text_section", printSize: null },
|
|
74
|
+
{ component: "LPAegisBlock_Default", atlasId: "M36", id: "LPAegisBlock.Default", family: "LPAegisBlock", variant: "Default", nameCn: "内嵌脚本块", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
75
|
+
{ component: "LPDownload_Default", atlasId: "M37", id: "LPDownload.Default", family: "LPDownload", variant: "Default", nameCn: "下载", role: "Foundation", layer: "meta", cluster: "meta", archetype: "action", printSize: null },
|
|
76
|
+
{ component: "LPPopover_Default", atlasId: "M38", id: "LPPopover.Default", family: "LPPopover", variant: "Default", nameCn: "锚定浮层", role: "Foundation", layer: "meta", cluster: "meta", archetype: "layout", printSize: null },
|
|
77
|
+
{ component: "LPFlow_Default", atlasId: "M39", id: "LPFlow.Default", family: "LPFlow", variant: "Default", nameCn: "瀑布流", role: "Foundation", layer: "meta", cluster: "meta", archetype: "card_group", printSize: null },
|
|
78
|
+
{ component: "LPMap_Default", atlasId: "M40", id: "LPMap.Default", family: "LPMap", variant: "Default", nameCn: "地点地图", role: "Foundation", layer: "meta", cluster: "meta", archetype: "list", printSize: null },
|
|
79
|
+
];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const rendererIconNames: readonly ["audio-lines", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "arrow-up-right", "badge-check", "bell", "bookmark", "calendar", "camera", "check", "chevron-down", "chevron-left", "chevron-right", "circle-check", "circle-x", "clock", "copy", "download", "ellipsis", "external-link", "eye", "file-text", "filter", "flame", "gift", "globe", "heart", "home", "info", "link", "lock", "mail", "map-pin", "message-circle", "moon", "pencil", "phone", "plane", "play", "plus", "refresh-cw", "search", "send", "settings", "share-2", "shield-check", "smartphone", "sparkles", "star", "sun", "tablet", "thumbs-up", "trash-2", "triangle-alert", "upload", "user", "utensils", "x", "a-arrow-down", "a-arrow-up", "a-large-small", "accessibility", "activity", "ad", "air-vent", "airplay", "alarm-clock", "alarm-clock-check", "alarm-clock-minus", "alarm-clock-off", "alarm-clock-plus", "alarm-smoke", "album", "align-center-horizontal", "align-center-vertical", "align-end-horizontal", "align-end-vertical", "align-horizontal-distribute-center", "align-horizontal-distribute-end", "align-horizontal-distribute-start", "align-horizontal-justify-center", "align-horizontal-justify-end", "align-horizontal-justify-start", "align-horizontal-space-around", "align-horizontal-space-between", "align-start-horizontal", "align-start-vertical", "align-vertical-distribute-center", "align-vertical-distribute-end", "align-vertical-distribute-start", "align-vertical-justify-center", "align-vertical-justify-end", "align-vertical-justify-start", "align-vertical-space-around", "align-vertical-space-between", "ambulance", "ampersand", "ampersands", "amphora", "anchor", "angle", "antenna", "anvil", "aperture", "app-window", "app-window-mac", "apple", "archive", "archive-restore", "archive-x", "armchair", "arrow-big-down", "arrow-big-down-dash", "arrow-big-left", "arrow-big-left-dash", "arrow-big-right", "arrow-big-right-dash", "arrow-big-up", "arrow-big-up-dash", "arrow-down-0-1", "arrow-down-1-0", "arrow-down-a-z", "arrow-down-from-line", "arrow-down-left", "arrow-down-narrow-wide", "arrow-down-right", "arrow-down-to-dot", "arrow-down-to-line", "arrow-down-up", "arrow-down-wide-narrow", "arrow-down-z-a", "arrow-left-from-line", "arrow-left-right", "arrow-left-to-line", "arrow-right-from-line", "arrow-right-left", "arrow-right-to-line", "arrow-up-0-1", "arrow-up-1-0", "arrow-up-a-z", "arrow-up-down", "arrow-up-from-dot", "arrow-up-from-line", "arrow-up-left", "arrow-up-narrow-wide", "arrow-up-to-line", "arrow-up-wide-narrow", "arrow-up-z-a", "arrows-up-from-line", "asterisk", "astroid", "at-sign", "atom", "audio-lines-off", "audio-lines-x", "audio-waveform", "award", "axe", "axis-3d", "baby", "backpack", "badge", "badge-alert", "badge-cent", "badge-dollar-sign", "badge-euro", "badge-indian-rupee", "badge-info", "badge-japanese-yen", "badge-minus", "badge-percent", "badge-plus", "badge-pound-sterling", "badge-question-mark", "badge-russian-ruble", "badge-swiss-franc", "badge-turkish-lira", "badge-x", "baggage-claim", "balloon", "ban", "banana", "bandage", "banknote", "banknote-arrow-down", "banknote-arrow-up", "banknote-check", "banknote-x", "barcode", "barrel", "baseline", "bath", "battery", "battery-charging", "battery-full", "battery-low", "battery-medium", "battery-plus", "battery-warning", "beaker", "bean", "bean-off", "bed", "bed-double", "bed-single", "beef", "beef-off", "beer", "beer-off", "bell-check", "bell-dot", "bell-electric", "bell-minus", "bell-off", "bell-plus", "bell-ring", "between-horizontal-end", "between-horizontal-start", "between-vertical-end", "between-vertical-start", "biceps-flexed", "bike", "binary", "binoculars", "biohazard", "bird", "birdhouse", "bitcoin", "blend", "blender", "blinds", "blocks", "bluetooth", "bluetooth-connected", "bluetooth-off", "bluetooth-searching", "bold", "bolt", "bomb", "bone", "bone-fracture", "book", "book-a", "book-alert", "book-audio", "book-check", "book-copy", "book-dashed", "book-down", "book-headphones", "book-heart", "book-image", "book-key", "book-lock", "book-marked", "book-minus", "book-open", "book-open-check", "book-open-text", "book-plus", "book-search", "book-text", "book-type", "book-up", "book-up-2", "book-user", "book-x", "bookmark-check", "bookmark-minus", "bookmark-off", "bookmark-plus", "bookmark-x", "boom-box", "bot", "bot-message-square", "bot-off", "bottle-wine", "bow-arrow", "box", "boxes", "braces", "brackets", "brain", "brain-circuit", "brain-cog", "brick-wall", "brick-wall-fire", "brick-wall-shield", "briefcase", "briefcase-business", "briefcase-conveyor-belt", "briefcase-medical", "bring-to-front", "broccoli", "broom", "broom-sparkles", "brush", "brush-cleaning", "bubbles", "bug", "bug-off", "bug-play", "building", "building-2", "bus", "bus-front", "cable", "cable-car", "cake", "cake-slice", "calculator", "calendar-1", "calendar-arrow-down", "calendar-arrow-up", "calendar-check", "calendar-check-2", "calendar-clock", "calendar-cog", "calendar-days", "calendar-fold", "calendar-heart", "calendar-minus", "calendar-minus-2", "calendar-off", "calendar-plus", "calendar-plus-2", "calendar-range", "calendar-search", "calendar-sync", "calendar-x", "calendar-x-2", "calendars", "camera-off", "candy", "candy-cane", "candy-off", "cannabis", "cannabis-off", "captions", "captions-off", "car", "car-battery", "car-front", "car-taxi-front", "caravan", "card-sim", "carrot", "case-lower", "case-sensitive", "case-upper", "cassette-tape", "cast", "castle", "cat", "cctv", "cctv-off", "chart-area", "chart-bar", "chart-bar-big", "chart-bar-decreasing", "chart-bar-increasing", "chart-bar-stacked", "chart-candlestick", "chart-column", "chart-column-big", "chart-column-decreasing", "chart-column-increasing", "chart-column-stacked", "chart-gantt", "chart-line", "chart-network", "chart-no-axes-column", "chart-no-axes-column-decreasing", "chart-no-axes-column-increasing", "chart-no-axes-combined", "chart-no-axes-gantt", "chart-pie", "chart-scatter", "chart-spline", "check-check", "check-line", "chef-hat", "cherry", "chess-bishop", "chess-king", "chess-knight", "chess-pawn", "chess-queen", "chess-rook", "chevron-first", "chevron-last", "chevron-up", "chevrons-down", "chevrons-down-up", "chevrons-left", "chevrons-left-right", "chevrons-left-right-ellipsis", "chevrons-right", "chevrons-right-left", "chevrons-up", "chevrons-up-down", "church", "cigarette", "cigarette-off", "circle", "circle-alert", "circle-arrow-down", "circle-arrow-left", "circle-arrow-out-down-left", "circle-arrow-out-down-right", "circle-arrow-out-up-left", "circle-arrow-out-up-right", "circle-arrow-right", "circle-arrow-up", "circle-check-big", "circle-chevron-down", "circle-chevron-left", "circle-chevron-right", "circle-chevron-up", "circle-dashed", "circle-divide", "circle-dollar-sign", "circle-dot", "circle-dot-dashed", "circle-ellipsis", "circle-equal", "circle-euro", "circle-fading-arrow-up", "circle-fading-plus", "circle-gauge", "circle-minus", "circle-off", "circle-parking", "circle-parking-off", "circle-pause", "circle-percent", "circle-pile", "circle-play", "circle-plus", "circle-pound-sterling", "circle-power", "circle-question-mark", "circle-slash", "circle-slash-2", "circle-small", "circle-star", "circle-stop", "circle-user", "circle-user-round", "circuit-board", "citrus", "clapperboard", "clipboard", "clipboard-check", "clipboard-clock", "clipboard-copy", "clipboard-list", "clipboard-minus", "clipboard-paste", "clipboard-pen", "clipboard-pen-line", "clipboard-plus", "clipboard-type", "clipboard-x", "clock-1", "clock-10", "clock-11", "clock-12", "clock-2", "clock-3", "clock-4", "clock-5", "clock-6", "clock-7", "clock-8", "clock-9", "clock-alert", "clock-arrow-down", "clock-arrow-left", "clock-arrow-right", "clock-arrow-up", "clock-check", "clock-fading", "clock-plus", "closed-caption", "cloud", "cloud-alert", "cloud-backup", "cloud-check", "cloud-cog", "cloud-download", "cloud-drizzle", "cloud-fog", "cloud-hail", "cloud-lightning", "cloud-moon", "cloud-moon-rain", "cloud-off", "cloud-rain", "cloud-rain-wind", "cloud-snow", "cloud-sun", "cloud-sun-rain", "cloud-sync", "cloud-upload", "cloudy", "clover", "club", "code", "code-xml", "coffee", "cog", "coins", "columns-2", "columns-3", "columns-3-cog", "columns-4", "combine", "command", "compass", "component", "computer", "concierge-bell", "cone", "construction", "contact", "contact-round", "container", "contrast", "cookie", "cooking-pot", "copy-check", "copy-minus", "copy-plus", "copy-slash", "copy-x", "copyleft", "copyright", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "cpu", "creative-commons", "credit-card", "croissant", "crop", "cross", "crosshair", "crown", "cuboid", "cup-soda", "currency", "cylinder", "dam", "database", "database-arrow-down", "database-arrow-up", "database-backup", "database-check", "database-minus", "database-plus", "database-search", "database-x", "database-zap", "decimals-arrow-left", "decimals-arrow-right", "delete", "dessert", "diameter", "diamond", "diamond-minus", "diamond-percent", "diamond-plus", "dice-1", "dice-2", "dice-3", "dice-4", "dice-5", "dice-6", "dices", "diff", "disc", "disc-2", "disc-3", "disc-album", "divide", "dna", "dna-off", "dock", "dog", "dollar-sign", "donut", "door-closed", "door-closed-locked", "door-open", "dot", "drafting-compass", "drama", "drill", "drone", "droplet", "droplet-off", "droplets", "drum", "drumstick", "dumbbell", "ear", "ear-off", "earth", "earth-lock", "eclipse", "egg", "egg-fried", "egg-off", "eject", "ellipse", "ellipsis-vertical", "equal", "equal-approximately", "equal-not", "eraser", "ethernet-port", "euro", "ev-charger", "expand", "eye-closed", "eye-dashed", "eye-off", "face-angry", "face-expressionless", "face-grinning", "face-neutral", "face-slightly-frowning", "face-slightly-smiling", "face-slightly-smiling-plus", "factory", "fan", "fast-forward", "feather", "fence", "ferris-wheel", "file", "file-archive", "file-axis-3d", "file-badge", "file-box", "file-braces", "file-braces-corner", "file-chart-column", "file-chart-column-increasing", "file-chart-line", "file-chart-pie", "file-check", "file-check-corner", "file-clock", "file-code", "file-code-corner", "file-cog", "file-diff", "file-digit", "file-down", "file-exclamation-point", "file-headphone", "file-heart", "file-image", "file-input", "file-key", "file-lock", "file-minus", "file-minus-corner", "file-music", "file-output", "file-pen", "file-pen-line", "file-play", "file-plus", "file-plus-corner", "file-question-mark", "file-scan", "file-search", "file-search-corner", "file-signal", "file-sliders", "file-spreadsheet", "file-stack", "file-symlink", "file-terminal", "file-type", "file-type-corner", "file-up", "file-user", "file-video-camera", "file-volume", "file-x", "file-x-corner", "files", "film", "fingerprint-pattern", "fire-extinguisher", "fish", "fish-off", "fish-symbol", "fishing-hook", "fishing-rod", "flag", "flag-off", "flag-triangle-left", "flag-triangle-right", "flame-kindling", "flashlight", "flashlight-off", "flask-conical", "flask-conical-off", "flask-round", "flip-horizontal-2", "flip-vertical-2", "flower", "flower-2", "focus", "fold-horizontal", "fold-vertical", "folder", "folder-archive", "folder-bookmark", "folder-check", "folder-clock", "folder-closed", "folder-code", "folder-cog", "folder-dot", "folder-down", "folder-git", "folder-git-2", "folder-heart", "folder-input", "folder-kanban", "folder-key", "folder-lock", "folder-minus", "folder-open", "folder-open-dot", "folder-output", "folder-pen", "folder-plus", "folder-root", "folder-search", "folder-search-2", "folder-symlink", "folder-sync", "folder-tree", "folder-up", "folder-x", "folders", "footprints", "forklift", "form", "forward", "frame", "fuel", "fullscreen", "funnel", "funnel-plus", "funnel-x", "gallery-horizontal", "gallery-horizontal-end", "gallery-thumbnails", "gallery-vertical", "gallery-vertical-end", "gamepad", "gamepad-2", "gamepad-directional", "gauge", "gavel", "gem", "georgian-lari", "ghost", "git-branch", "git-branch-minus", "git-branch-plus", "git-commit-horizontal", "git-commit-vertical", "git-compare", "git-compare-arrows", "git-fork", "git-graph", "git-merge", "git-merge-conflict", "git-pull-request", "git-pull-request-arrow", "git-pull-request-closed", "git-pull-request-create", "git-pull-request-create-arrow", "git-pull-request-draft", "glass-water", "glasses", "globe-check", "globe-lock", "globe-off", "globe-x", "goal", "gpu", "graduation-cap", "grape", "grid-2x2", "grid-2x2-check", "grid-2x2-plus", "grid-2x2-x", "grid-3x2", "grid-3x3", "grip", "grip-horizontal", "grip-vertical", "group", "guitar", "ham", "hamburger", "hammer", "hand", "hand-coins", "hand-fist", "hand-grab", "hand-heart", "hand-helping", "hand-metal", "hand-platter", "handbag", "handshake", "hard-drive", "hard-drive-download", "hard-drive-upload", "hard-hat", "hash", "hat-glasses", "haze", "hd", "hdmi-port", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "headphone-off", "headphones", "headset", "heart-crack", "heart-handshake", "heart-minus", "heart-off", "heart-plus", "heart-pulse", "heart-x", "heater", "helicopter", "hexagon", "highlighter", "hop", "hop-off", "hospital", "hotel", "hourglass", "house", "house-heart", "house-plug", "house-plus", "house-wifi", "ice-cream-bowl", "ice-cream-cone", "id-card", "id-card-lanyard", "image", "image-down", "image-minus", "image-off", "image-play", "image-plus", "image-up", "image-upscale", "images", "import", "inbox", "indian-rupee", "infinity", "inspection-panel", "italic", "iteration-ccw", "iteration-cw", "japanese-yen", "joystick", "kanban", "kayak", "key", "key-round", "key-square", "keyboard", "keyboard-music", "keyboard-off", "lamp", "lamp-ceiling", "lamp-desk", "lamp-floor", "lamp-wall-down", "lamp-wall-up", "land-plot", "landmark", "languages", "laptop", "laptop-minimal", "laptop-minimal-check", "lasso", "lasso-select", "layer-arrow-down", "layer-arrow-up", "layers", "layers-2", "layers-arrow-down", "layers-arrow-up", "layers-minus", "layers-plus", "layout-dashboard", "layout-freeform", "layout-grid", "layout-list", "layout-panel-left", "layout-panel-top", "layout-template", "leaf", "leafy-green", "lectern", "lens-concave", "lens-convex", "library", "library-big", "life-buoy", "ligature", "lightbulb", "lightbulb-off", "line-dot-right-horizontal", "line-squiggle", "line-style", "link-2", "link-2-off", "list", "list-check", "list-checks", "list-chevrons-down-up", "list-chevrons-up-down", "list-clock", "list-collapse", "list-end", "list-filter", "list-filter-plus", "list-indent-decrease", "list-indent-increase", "list-minus", "list-music", "list-ordered", "list-plus", "list-restart", "list-sort-ascending", "list-sort-descending", "list-start", "list-todo", "list-tree", "list-video", "list-x", "loader", "loader-circle", "loader-pinwheel", "locate", "locate-fixed", "locate-off", "lock-keyhole", "lock-keyhole-open", "lock-open", "log-in", "log-out", "logs", "lollipop", "luggage", "magnet", "mail-badge", "mail-check", "mail-minus", "mail-open", "mail-plus", "mail-question-mark", "mail-search", "mail-warning", "mail-x", "mailbox", "mails", "map", "map-minus", "map-pin-check", "map-pin-check-inside", "map-pin-house", "map-pin-minus", "map-pin-minus-inside", "map-pin-off", "map-pin-pen", "map-pin-plus", "map-pin-plus-inside", "map-pin-search", "map-pin-x", "map-pin-x-inside", "map-pinned", "map-plus", "mars", "mars-stroke", "martini", "maximize", "maximize-2", "medal", "megaphone", "megaphone-off", "memory-stick", "menu", "merge", "message-circle-check", "message-circle-code", "message-circle-dashed", "message-circle-heart", "message-circle-more", "message-circle-off", "message-circle-plus", "message-circle-question-mark", "message-circle-reply", "message-circle-warning", "message-circle-x", "message-square", "message-square-check", "message-square-code", "message-square-dashed", "message-square-diff", "message-square-dot", "message-square-heart", "message-square-lock", "message-square-more", "message-square-off", "message-square-plus", "message-square-quote", "message-square-reply", "message-square-share", "message-square-text", "message-square-warning", "message-square-x", "messages-square", "metronome", "mic", "mic-audio-lines", "mic-off", "mic-signal", "mic-vocal", "microchip", "microscope", "microwave", "midi-port", "milestone", "milk", "milk-off", "minimize", "minimize-2", "minus", "mirror-rectangular", "mirror-round", "monitor", "monitor-check", "monitor-cloud", "monitor-cog", "monitor-dot", "monitor-down", "monitor-off", "monitor-pause", "monitor-play", "monitor-smartphone", "monitor-speaker", "monitor-stop", "monitor-up", "monitor-x", "moon-star", "mop", "mop-sparkles", "mosque", "motorbike", "mountain", "mountain-snow", "mouse", "mouse-left", "mouse-off", "mouse-pointer", "mouse-pointer-2", "mouse-pointer-2-off", "mouse-pointer-ban", "mouse-pointer-click", "mouse-right", "move", "move-3d", "move-diagonal", "move-diagonal-2", "move-down", "move-down-left", "move-down-right", "move-horizontal", "move-left", "move-right", "move-up", "move-up-left", "move-up-right", "move-vertical", "music", "music-2", "music-3", "music-4", "navigation", "navigation-2", "navigation-2-off", "navigation-off", "network", "newspaper", "nfc", "non-binary", "notebook", "notebook-pen", "notebook-tabs", "notebook-text", "notepad-text", "notepad-text-dashed", "nut", "nut-off", "octagon", "octagon-alert", "octagon-minus", "octagon-pause", "octagon-x", "omega", "option", "orbit", "origami", "package", "package-2", "package-check", "package-minus", "package-open", "package-plus", "package-search", "package-x", "paint-bucket", "paint-roller", "paintbrush", "paintbrush-vertical", "palette", "panda", "panel-bottom", "panel-bottom-close", "panel-bottom-dashed", "panel-bottom-open", "panel-left", "panel-left-close", "panel-left-dashed", "panel-left-open", "panel-left-right-dashed", "panel-right", "panel-right-close", "panel-right-dashed", "panel-right-open", "panel-top", "panel-top-bottom-dashed", "panel-top-close", "panel-top-dashed", "panel-top-open", "panels-left-bottom", "panels-right-bottom", "panels-top-left", "paper-bag", "paperclip", "parasol", "parentheses", "parking-meter", "party-popper", "pause", "paw-print", "pc-case", "pen", "pen-line", "pen-off", "pen-tool", "pencil-line", "pencil-off", "pencil-ruler", "pencil-sparkles", "pentagon", "percent", "person-standing", "phi", "philippine-peso", "phone-call", "phone-forwarded", "phone-incoming", "phone-missed", "phone-off", "phone-outgoing", "pi", "piano", "pickaxe", "picture-in-picture", "picture-in-picture-2", "piggy-bank", "pilcrow", "pilcrow-left", "pilcrow-right", "pill", "pill-bottle", "pin", "pin-off", "pipette", "pizza", "plane-landing", "plane-takeoff", "play-off", "plug", "plug-2", "plug-zap", "pocket-knife", "podium", "pointer", "pointer-off", "popcorn", "popsicle", "pound-sterling", "power", "power-off", "presentation", "printer", "printer-check", "printer-x", "projector", "proportions", "puzzle", "pyramid", "qr-code", "quote", "rabbit", "radar", "radiation", "radical", "radio", "radio-off", "radio-receiver", "radio-tower", "radius", "rainbow", "rat", "ratio", "receipt", "receipt-cent", "receipt-euro", "receipt-indian-rupee", "receipt-japanese-yen", "receipt-pound-sterling", "receipt-russian-ruble", "receipt-swiss-franc", "receipt-text", "receipt-turkish-lira", "rectangle-circle", "rectangle-ellipsis", "rectangle-goggles", "rectangle-horizontal", "rectangle-vertical", "recycle", "redo", "redo-2", "redo-dot", "refresh-ccw", "refresh-ccw-dot", "refresh-cw-off", "refrigerator", "regex", "remove-formatting", "repeat", "repeat-1", "repeat-2", "repeat-off", "replace", "replace-all", "reply", "reply-all", "rewind", "ribbon", "road", "rocket", "rocking-chair", "roller-coaster", "rose", "rotate-3d", "rotate-ccw", "rotate-ccw-clock", "rotate-ccw-key", "rotate-ccw-square", "rotate-cw", "rotate-cw-fading-clock", "rotate-cw-square", "route", "route-off", "router", "rows-2", "rows-3", "rows-4", "rss", "ruler", "ruler-dimension-line", "russian-ruble", "sailboat", "salad", "sandwich", "satellite", "satellite-dish", "saudi-riyal", "save", "save-all", "save-check", "save-off", "save-pen", "save-plus", "scale", "scale-3d", "scaling", "scan", "scan-barcode", "scan-box", "scan-eye", "scan-face", "scan-heart", "scan-line", "scan-qr-code", "scan-search", "scan-square", "scan-text", "school", "scissors", "scissors-line-dashed", "scooter", "screen-share", "screen-share-off", "scroll", "scroll-text", "search-alert", "search-check", "search-code", "search-slash", "search-x", "section", "send-horizontal", "send-to-back", "separator-horizontal", "separator-vertical", "server", "server-cog", "server-crash", "server-off", "server-plus", "settings-2", "shapes", "share", "sheet", "shell", "shelving-unit", "shield", "shield-alert", "shield-ban", "shield-cog", "shield-cog-corner", "shield-ellipsis", "shield-half", "shield-keyhole", "shield-lock", "shield-minus", "shield-off", "shield-plus", "shield-question-mark", "shield-user", "shield-x", "ship", "ship-wheel", "shirt", "shopping-bag", "shopping-basket", "shopping-cart", "shovel", "shower-head", "shredder", "shrimp", "shrink", "shrub", "shuffle", "sigma", "signal", "signal-high", "signal-low", "signal-medium", "signal-zero", "signature", "signpost", "signpost-big", "siren", "skip-back", "skip-forward", "skull", "slash", "slice", "sliders-horizontal", "sliders-vertical", "smartphone-charging", "smartphone-nfc", "snail", "snowflake", "soap-dispenser-droplet", "sofa", "solar-panel", "soup", "space", "spade", "sparkle", "speaker", "speech", "spell-check", "spell-check-2", "spline", "spline-pointer", "split", "spool", "sport-shoe", "spotlight", "spray-can", "sprout", "square", "square-activity", "square-arrow-down", "square-arrow-down-left", "square-arrow-down-right", "square-arrow-left", "square-arrow-out-down-left", "square-arrow-out-down-right", "square-arrow-out-up-left", "square-arrow-out-up-right", "square-arrow-right", "square-arrow-right-enter", "square-arrow-right-exit", "square-arrow-up", "square-arrow-up-left", "square-arrow-up-right", "square-asterisk", "square-bottom-dashed-scissors", "square-centerline-dashed-horizontal", "square-centerline-dashed-vertical", "square-chart-gantt", "square-check", "square-check-big", "square-chevron-down", "square-chevron-left", "square-chevron-right", "square-chevron-up", "square-code", "square-dashed", "square-dashed-bottom", "square-dashed-bottom-code", "square-dashed-kanban", "square-dashed-mouse-pointer", "square-dashed-text", "square-dashed-top-solid", "square-dimensions", "square-divide", "square-dot", "square-equal", "square-function", "square-kanban", "square-library", "square-m", "square-menu", "square-minus", "square-mouse-pointer", "square-off", "square-parking", "square-parking-off", "square-pause", "square-pen", "square-percent", "square-pi", "square-pilcrow", "square-play", "square-plus", "square-power", "square-radical", "square-round-corner", "square-scissors", "square-sigma", "square-slash", "square-split-horizontal", "square-split-vertical", "square-square", "square-stack", "square-star", "square-stop", "square-terminal", "square-text", "square-user", "square-user-round", "square-x", "squares-exclude", "squares-intersect", "squares-subtract", "squares-unite", "squircle", "squircle-dashed", "squirrel", "stamp", "star-check", "star-half", "star-minus", "star-off", "star-plus", "star-x", "step-back", "step-forward", "stethoscope", "sticker", "sticky-note", "sticky-note-check", "sticky-note-minus", "sticky-note-off", "sticky-note-plus", "sticky-note-x", "sticky-notes", "stone", "store", "stretch-horizontal", "stretch-vertical", "strikethrough", "subscript", "summary", "sun-dim", "sun-medium", "sun-moon", "sun-snow", "sunrise", "sunset", "superscript", "swatch-book", "swiss-franc", "switch-camera", "sword", "swords", "syringe", "table", "table-2", "table-cells-merge", "table-cells-split", "table-columns-split", "table-of-contents", "table-properties", "table-rows-split", "tablet-smartphone", "tablets", "tag", "tag-plus", "tag-x", "tags", "tally-1", "tally-2", "tally-3", "tally-4", "tally-5", "tangent", "target", "telescope", "tent", "tent-tree", "terminal", "test-tube", "test-tube-diagonal", "test-tubes", "text-align-center", "text-align-end", "text-align-justify", "text-align-start", "text-cursor", "text-cursor-input", "text-initial", "text-quote", "text-search", "text-wrap", "theater", "thermometer", "thermometer-snowflake", "thermometer-sun", "thumbs-down", "ticket", "ticket-check", "ticket-minus", "ticket-percent", "ticket-plus", "ticket-slash", "ticket-x", "tickets", "tickets-plane", "timeline", "timer", "timer-off", "timer-reset", "toggle-left", "toggle-right", "toilet", "tool-case", "toolbox", "tornado", "torus", "touchpad", "touchpad-off", "towel-rack", "tower-control", "toy-brick", "tractor", "traffic-cone", "train-front", "train-front-tunnel", "train-track", "tram-front", "transgender", "trash", "tree-deciduous", "tree-palm", "tree-pine", "trees", "trending-down", "trending-up", "trending-up-down", "triangle", "triangle-dashed", "triangle-right", "trophy", "truck", "truck-electric", "turkish-lira", "turntable", "turtle", "tv", "tv-minimal", "tv-minimal-play", "type", "type-outline", "umbrella", "umbrella-off", "underline", "undo", "undo-2", "undo-dot", "unfold-horizontal", "unfold-vertical", "ungroup", "university", "unlink", "unlink-2", "unplug", "usb", "usb-c-port", "user-check", "user-cog", "user-key", "user-lock", "user-minus", "user-pen", "user-plus", "user-round", "user-round-arrow-left", "user-round-check", "user-round-cog", "user-round-key", "user-round-minus", "user-round-pen", "user-round-plus", "user-round-search", "user-round-x", "user-search", "user-shield", "user-star", "user-x", "users", "users-round", "utensils-crossed", "utility-pole", "van", "variable", "vault", "vector-square", "vegan", "venetian-mask", "venus", "venus-and-mars", "vibrate", "vibrate-off", "video", "video-off", "videotape", "view", "voicemail", "volleyball", "volume", "volume-1", "volume-2", "volume-off", "volume-x", "vote", "wallet", "wallet-cards", "wallet-minimal", "wallpaper", "wand", "wand-sparkles", "warehouse", "washing-machine", "watch", "waves-arrow-down", "waves-arrow-up", "waves-horizontal", "waves-ladder", "waves-vertical", "waypoints", "webcam", "webcam-off", "webhook", "webhook-off", "weight", "weight-tilde", "wheat", "wheat-off", "whole-word", "wifi", "wifi-cog", "wifi-high", "wifi-low", "wifi-off", "wifi-pen", "wifi-sync", "wifi-zero", "wind", "wind-arrow-down", "wine", "wine-off", "workflow", "worm", "wrench", "wrench-off", "x-line-top", "zap", "zap-off", "zodiac-aquarius", "zodiac-aries", "zodiac-cancer", "zodiac-capricorn", "zodiac-gemini", "zodiac-leo", "zodiac-libra", "zodiac-ophiuchus", "zodiac-pisces", "zodiac-sagittarius", "zodiac-scorpio", "zodiac-taurus", "zodiac-virgo", "zoom-in", "zoom-out"];
|
|
2
|
+
export type RendererIconName = (typeof rendererIconNames)[number];
|
|
3
|
+
export declare const rendererCoreIconNames: readonly ["audio-lines", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "arrow-up-right", "badge-check", "bell", "bookmark", "calendar", "camera", "check", "chevron-down", "chevron-left", "chevron-right", "circle-check", "circle-x", "clock", "copy", "download", "ellipsis", "external-link", "eye", "file-text", "filter", "flame", "gift", "globe", "heart", "home", "info", "link", "lock", "mail", "map-pin", "message-circle", "moon", "pencil", "phone", "plane", "play", "plus", "refresh-cw", "search", "send", "settings", "share-2", "shield-check", "smartphone", "sparkles", "star", "sun", "tablet", "thumbs-up", "trash-2", "triangle-alert", "upload", "user", "utensils", "x"];
|
|
4
|
+
export declare const rendererIconCatalogVersion = "atlas-icons-v2";
|
|
5
|
+
export declare const rendererIconManifestHash = "76de5690f870c6fa40aadd9dd07017fa76c23bc7d34e554e65217b21ee5a2e64";
|
|
6
|
+
export declare const rendererIconMarkup: Readonly<Record<RendererIconName, string>>;
|