Skip to main content

Module basic_map

Module basic_map 

Source
Expand description

The A2UI basic catalog → core catalog map, applied by the reducer. The declarative part is catalog/basic-map.json (embedded); the NAMED transforms listed under its transforms are implemented here, one function per name. Mirrors src/basic-map.ts.

Structs§

BasicMap
catalog/basic-map.json, parsed.
ComponentRule
MappedComponent
What a basic component becomes before the reducer nests its children.

Enums§

PropRule
One props entry of a component rule.

Constants§

BASIC_TRANSFORM_NAMES
The transforms this module implements (every name basic-map.json lists).

Statics§

BASIC_MAP
catalog/basic-map.json, parsed once (top-level tables keep source order).

Functions§

map_basic_component
Map one basic component; None when the table has no row (→ Unknown).
map_basic_icon
A basic Icon name → an icons.json name (the placeholder when unmapped).