@almadar/ui 5.148.0 → 5.149.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.
Files changed (29) hide show
  1. package/dist/{GameAudioProvider-CPGwD49P.d.cts → GameAudioProvider-B48iXwz3.d.ts} +2 -50
  2. package/dist/{GameAudioProvider-CPGwD49P.d.ts → GameAudioProvider-CQAdPreB.d.cts} +2 -50
  3. package/dist/avl/index.cjs +438 -13
  4. package/dist/avl/index.js +438 -13
  5. package/dist/{avl-schema-parser-DVmrgdwc.d.cts → avl-schema-parser-CVzkNzg7.d.cts} +18 -9
  6. package/dist/{avl-schema-parser-BRJ77Yze.d.ts → avl-schema-parser-Cx_4SVg9.d.ts} +18 -9
  7. package/dist/{cn-BAn68sNO.d.cts → cn-BnAJZcNb.d.cts} +2 -8
  8. package/dist/{cn-CWxxLkri.d.ts → cn-DJTUjk1M.d.ts} +2 -8
  9. package/dist/components/index.cjs +448 -16
  10. package/dist/components/index.d.cts +269 -95
  11. package/dist/components/index.d.ts +269 -95
  12. package/dist/components/index.js +444 -18
  13. package/dist/lib/drawable/three/index.cjs +56 -29
  14. package/dist/lib/drawable/three/index.d.cts +4 -3
  15. package/dist/lib/drawable/three/index.d.ts +4 -3
  16. package/dist/lib/drawable/three/index.js +56 -29
  17. package/dist/lib/index.d.cts +3 -2
  18. package/dist/lib/index.d.ts +3 -2
  19. package/dist/{paintDispatch-Cb_hQj4Y.d.ts → paintDispatch-BjZjUbcb.d.cts} +63 -69
  20. package/dist/{paintDispatch-Cb_hQj4Y.d.cts → paintDispatch-CxdLjHQq.d.ts} +63 -69
  21. package/dist/providers/index.cjs +438 -13
  22. package/dist/providers/index.d.cts +2 -1
  23. package/dist/providers/index.d.ts +2 -1
  24. package/dist/providers/index.js +438 -13
  25. package/dist/runtime/index.cjs +438 -13
  26. package/dist/runtime/index.js +438 -13
  27. package/dist/types-B3nHgnMG.d.cts +51 -0
  28. package/dist/types-B3nHgnMG.d.ts +51 -0
  29. package/package.json +3 -3
@@ -3,14 +3,15 @@ import React__default, { ReactNode, ErrorInfo } from 'react';
3
3
  import { Asset, EventKey, EventPayload, EventEmit, AssetUrl, JsonObject, EntityRow, FieldValue, EntityRole, AnimationName, SpriteDirection, AnimationDef, ScenePos, Camera, EntityWith, TraitConfigValue, JsonValue, AssetCatalog, EventPayloadValue, DeclaredTraitConfig, TraitConfig, OrbitalSchema, Trait, OrbitalEntity, UISlot, EditFocus, TraceSubagent, TraceActivity, TraceChatMessage } from '@almadar/core';
4
4
  export { AnimationDef, AnimationName, BusEvent, BusEventListener, BusEventSource, BusEventListener as EventListener, SpriteDirection, UISlot, Unsubscribe } from '@almadar/core';
5
5
  import { LucideIcon } from 'lucide-react';
6
- import { C as ColorToken, U as UiError, P as Point, L as LinkAction, I as ImageSource } from '../GameAudioProvider-CPGwD49P.js';
7
- export { A as AudioManifest, G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, R as Rect, S as SoundEntry, f as UseGameAudioOptions, g as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-CPGwD49P.js';
6
+ import { C as ColorToken, U as UiError, P as Point, L as LinkAction, I as ImageSource } from '../types-B3nHgnMG.js';
7
+ export { R as Rect } from '../types-B3nHgnMG.js';
8
8
  import { SExpr } from '@almadar/evaluator';
9
- import { U as UnitAnimationState, F as FacingDirection, S as SpriteSheetUrls, g as SpriteFrameDims, R as ResolvedFrame, h as CanvasLighting, i as CanvasPost, a as IsometricUnit, j as CameraState, k as FieldInfo, l as OrbitalTraitInfo, m as OrbitalPageInfo, T as TraitLevelData, E as ExternalLink } from '../avl-schema-parser-BRJ77Yze.js';
10
- export { B as BoardTile, G as GameAction, n as GamePhase, o as GameState, p as GameUnit, b as IsometricFeature, I as IsometricTile, P as Position, q as UnitTrait, r as calculateAttackTargets, s as calculateValidMoves, t as createInitialGameState } from '../avl-schema-parser-BRJ77Yze.js';
11
- import { D as DrawableNode } from '../paintDispatch-Cb_hQj4Y.js';
12
- import { C as ContentSegment, b as DomLayoutData, d as DomStateNode, V as VisualizerConfig, e as DomTransitionLabel, L as LessonSegment, U as LessonUserProgress, W as InteractiveOrbitalType } from '../cn-CWxxLkri.js';
13
- export { X as BloomLevel, Y as BloomQuizBlock, Z as BloomQuizBlockProps, _ as MixedSegment, n as cn, A as parseLessonSegments, $ as parseMarkdownWithCodeBlocks } from '../cn-CWxxLkri.js';
9
+ import { U as UnitAnimationState, F as FacingDirection, S as SpriteSheetUrls, g as SpriteFrameDims, R as ResolvedFrame, h as CanvasLighting, i as CanvasPost, a as IsometricUnit, j as CameraState, k as FieldInfo, l as OrbitalTraitInfo, m as OrbitalPageInfo, T as TraitLevelData, E as ExternalLink } from '../avl-schema-parser-Cx_4SVg9.js';
10
+ export { B as BoardTile, G as GameAction, n as GamePhase, o as GameState, p as GameUnit, b as IsometricFeature, I as IsometricTile, P as Position, q as UnitTrait, r as calculateAttackTargets, s as calculateValidMoves, t as createInitialGameState } from '../avl-schema-parser-Cx_4SVg9.js';
11
+ import { D as DrawableNode, M as MeshShapeKind, a as MeshMaterial, b as DrawGroupProps, c as DrawTextProps, d as DrawMeshProps } from '../paintDispatch-CxdLjHQq.js';
12
+ export { A as AudioManifest, G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, S as SoundEntry, U as UseGameAudioOptions, f as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-B48iXwz3.js';
13
+ import { C as ContentSegment, L as LessonSegment, U as InteractiveOrbitalType, b as DomLayoutData, d as DomStateNode, V as VisualizerConfig, e as DomTransitionLabel } from '../cn-DJTUjk1M.js';
14
+ export { W as BloomLevel, X as BloomQuizBlock, Y as BloomQuizBlockProps, Z as MixedSegment, n as cn, A as parseLessonSegments, _ as parseMarkdownWithCodeBlocks } from '../cn-DJTUjk1M.js';
14
15
  import { b as SlotContent } from '../useUISlots-BesZYMks.js';
15
16
  export { D as DEFAULT_SLOTS, S as SlotAnimation, a as SlotChangeCallback, c as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-BesZYMks.js';
16
17
  export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, HistoryChangeSummary, HistoryTimelineItem, I18nContextValue, I18nProvider, InfiniteScrollOptions, InfiniteScrollResult, LongPressHandlers, LongPressOptions, OpenFile, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, RevertResult, SelectedFile, SharedEntityStore, SharedEntityStoreContext, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TapRevealOptions, TapRevealResult, TraitListenSpec, TranslateFunction, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseOrbitalHistoryOptions, UseOrbitalHistoryResult, createSharedEntityStore, createTranslate, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useInfiniteScroll, useLongPress, useMediaQuery, useOrbitalHistory, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useSwipeGesture, useTapReveal, useTraitListens, useTranslate, useUIEvents, useValidation } from '../hooks/index.js';
@@ -2588,8 +2589,9 @@ declare namespace Canvas2D {
2588
2589
  * a board writes `{ type: canvas, mode, camera, children: [...] }`.
2589
2590
  *
2590
2591
  * Camera: the neutral core `Camera` ({ mode, zoom, ... }) is mapped to each
2591
- * host's legacy vocab here (2D `camera` string / 3D `cameraMode`; `zoom` → `scale`),
2592
- * so the board carries one camera object regardless of painter.
2592
+ * host's legacy vocab here (2D `camera` string / 3D `cameraMode`; `zoom` → 2D
2593
+ * `scale` / 3D camera dolly), so the board carries one camera object regardless
2594
+ * of painter.
2593
2595
  *
2594
2596
  * Interaction: a click/hover event is one event-name string forwarded to whichever
2595
2597
  * painter `mode` selects. Its payload phantom is the merge of both painters' emit
@@ -3120,8 +3122,18 @@ interface DisplayStateProps {
3120
3122
  pageSize?: number;
3121
3123
  /** Total number of items (for pagination display) */
3122
3124
  totalCount?: number;
3123
- /** Active filters */
3124
- activeFilters?: Record<string, FieldValue>;
3125
+ /**
3126
+ * Active filters, keyed by field name. Scalar-only (`string | number |
3127
+ * boolean`) rather than the full `FieldValue` domain: `FieldValue` is a
3128
+ * self-referential union (adds `Date`, nested arrays/objects) the
3129
+ * pattern-sync scanner can't shape into a `Map string V` knob, so it always
3130
+ * degraded to `json`. This narrows out date/array/nested-object filter
3131
+ * values — no current call site in this package constructs this prop, so
3132
+ * nothing here breaks, but a caller wiring a date-range or multi-select
3133
+ * filter through this prop would need those. Flagged for the coordinator;
3134
+ * revert to `Record<string, FieldValue>` if that capability is needed.
3135
+ */
3136
+ activeFilters?: Record<string, string | number | boolean>;
3125
3137
  /** Currently selected item IDs */
3126
3138
  selectedIds?: readonly (string | number)[];
3127
3139
  }
@@ -5928,13 +5940,19 @@ interface LearningPhysicsBody {
5928
5940
  id?: string;
5929
5941
  x: number;
5930
5942
  y: number;
5943
+ /** 3D mode only: height in scene cells (2D ignores it). */
5944
+ z?: number;
5931
5945
  radius?: number;
5932
5946
  color?: string;
5933
5947
  label?: string;
5934
5948
  vx?: number;
5935
5949
  vy?: number;
5950
+ /** 3D mode only: velocity height component (2D ignores it). */
5951
+ vz?: number;
5936
5952
  fx?: number;
5937
5953
  fy?: number;
5954
+ /** 3D mode only: force height component (2D ignores it). */
5955
+ fz?: number;
5938
5956
  }
5939
5957
  interface LearningPhysicsConstraint {
5940
5958
  from: string;
@@ -5947,15 +5965,29 @@ interface PhysicsCanvasProps {
5947
5965
  height?: number;
5948
5966
  title?: string;
5949
5967
  backgroundColor?: string;
5968
+ /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
5969
+ mode?: '2d' | '3d';
5970
+ /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
5971
+ camera?: Camera;
5972
+ /** 3D only: scene light rig as data. */
5973
+ lighting?: CanvasLighting;
5974
+ /** 3D only: post-processing stack (bloom/vignette). */
5975
+ post?: CanvasPost;
5950
5976
  bodies?: LearningPhysicsBody[];
5951
5977
  constraints?: LearningPhysicsConstraint[];
5952
5978
  showVelocity?: boolean;
5953
5979
  showForces?: boolean;
5954
5980
  velocityScale?: number;
5955
5981
  forceScale?: number;
5956
- /** Extra declarative shapes in canvas pixel coordinates. */
5982
+ /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
5957
5983
  shapes?: LearningShape[];
5984
+ /** 3D only: show the ground grid (default off). */
5985
+ showGrid?: boolean;
5986
+ /** 3D only: enable shadows. Omitted → the host default. */
5987
+ shadows?: boolean;
5988
+ /** 2D: pointer interaction (click/hover). 3D: orbit camera controls. */
5958
5989
  interactive?: boolean;
5990
+ /** 2D only: continuous redraw loop. 3D motion is entity-state driven. */
5959
5991
  animate?: boolean;
5960
5992
  onShapeClick?: (payload: {
5961
5993
  id?: string;
@@ -5980,10 +6012,16 @@ interface BiologyNode {
5980
6012
  id?: string;
5981
6013
  x: number;
5982
6014
  y: number;
6015
+ /** 3D mode only: height in scene cells (2D ignores it). */
6016
+ z?: number;
5983
6017
  radius?: number;
5984
6018
  color?: string;
5985
6019
  label?: string;
5986
6020
  kind?: 'cell' | 'organelle' | 'molecule' | 'organism';
6021
+ /** 3D mode only: mesh primitive (default 'sphere'; organelles read well as 'capsule'). */
6022
+ shape?: MeshShapeKind;
6023
+ /** 3D mode only: 0..1 mesh opacity (translucent shells, e.g. a cell membrane). */
6024
+ opacity?: number;
5987
6025
  }
5988
6026
  interface BiologyEdge {
5989
6027
  from: string;
@@ -5997,11 +6035,25 @@ interface BiologyCanvasProps {
5997
6035
  height?: number;
5998
6036
  title?: string;
5999
6037
  backgroundColor?: string;
6038
+ /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
6039
+ mode?: '2d' | '3d';
6040
+ /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
6041
+ camera?: Camera;
6042
+ /** 3D only: scene light rig as data. */
6043
+ lighting?: CanvasLighting;
6044
+ /** 3D only: post-processing stack (bloom/vignette). */
6045
+ post?: CanvasPost;
6000
6046
  nodes?: BiologyNode[];
6001
6047
  edges?: BiologyEdge[];
6002
- /** Extra declarative shapes in canvas pixel coordinates. */
6048
+ /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
6003
6049
  shapes?: LearningShape[];
6050
+ /** 3D only: show the ground grid (default off). */
6051
+ showGrid?: boolean;
6052
+ /** 3D only: enable shadows. Omitted → the host default. */
6053
+ shadows?: boolean;
6054
+ /** 2D: pointer interaction (click/hover). 3D: orbit camera controls. */
6004
6055
  interactive?: boolean;
6056
+ /** 2D only: continuous redraw loop. 3D motion is entity-state driven. */
6005
6057
  animate?: boolean;
6006
6058
  onShapeClick?: (payload: {
6007
6059
  id?: string;
@@ -6026,6 +6078,8 @@ interface ChemistryAtom {
6026
6078
  id?: string;
6027
6079
  x: number;
6028
6080
  y: number;
6081
+ /** 3D mode only: height in scene cells (2D ignores it). */
6082
+ z?: number;
6029
6083
  element?: string;
6030
6084
  radius?: number;
6031
6085
  color?: string;
@@ -6050,12 +6104,26 @@ interface ChemistryCanvasProps {
6050
6104
  height?: number;
6051
6105
  title?: string;
6052
6106
  backgroundColor?: string;
6107
+ /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
6108
+ mode?: '2d' | '3d';
6109
+ /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
6110
+ camera?: Camera;
6111
+ /** 3D only: scene light rig as data. */
6112
+ lighting?: CanvasLighting;
6113
+ /** 3D only: post-processing stack (bloom/vignette). */
6114
+ post?: CanvasPost;
6053
6115
  atoms?: ChemistryAtom[];
6054
6116
  bonds?: ChemistryBond[];
6055
6117
  arrows?: ChemistryArrow[];
6056
- /** Extra declarative shapes in canvas pixel coordinates. */
6118
+ /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
6057
6119
  shapes?: LearningShape[];
6120
+ /** 3D only: show the ground grid (default off). */
6121
+ showGrid?: boolean;
6122
+ /** 3D only: enable shadows. Omitted → the host default. */
6123
+ shadows?: boolean;
6124
+ /** 2D: pointer interaction (click/hover). 3D: orbit camera controls. */
6058
6125
  interactive?: boolean;
6126
+ /** 2D only: continuous redraw loop. 3D motion is entity-state driven. */
6059
6127
  animate?: boolean;
6060
6128
  onShapeClick?: (payload: {
6061
6129
  id?: string;
@@ -6124,6 +6192,92 @@ interface AlgorithmCanvasProps {
6124
6192
  }
6125
6193
  declare const AlgorithmCanvas: React$1.FC<AlgorithmCanvasProps>;
6126
6194
 
6195
+ /**
6196
+ * learningScene3D — the shared 3D seam for the learning canvas molecules
6197
+ * (PhysicsCanvas / BiologyCanvas / ChemistryCanvas), mirroring the game
6198
+ * `Canvas` molecule's 2D/3D split: each molecule derives neutral drawable
6199
+ * descriptors from its vocabulary and this module hosts them in the lazy
6200
+ * `Canvas3DHost`, so three.js/R3F never enters a 2D-only bundle.
6201
+ *
6202
+ * The lazy import MUST use the external `@almadar/ui/.../game/three` subpath
6203
+ * (not a relative path): with tsup `splitting:false` a relative `import()` is
6204
+ * inlined into the main chunk; the subpath form is the code-split boundary.
6205
+ *
6206
+ * Click: the host speaks `EventEmit` (a bus event-name string), so the wrapper
6207
+ * mints a per-instance, dot-qualified event name (dot-qualified flows through
6208
+ * trait-scope qualification verbatim — a bare key would be scope-rewritten and
6209
+ * never reach this listener) and bridges it back to the molecule's
6210
+ * `onShapeClick` callback contract via `useEventListener` — the same
6211
+ * bus→callback mechanism `MediaGallery`/`StateMachineView` use.
6212
+ *
6213
+ * The derivation helpers below are pure descriptor builders (no three imports).
6214
+ * Scene coordinates are cells: `x`/`y` the ground plane, `z` the height.
6215
+ *
6216
+ * @packageDocumentation
6217
+ */
6218
+
6219
+ /** A point in scene space: `[x, y, z]` — x/y the ground plane, z the height (cells). */
6220
+ type Learning3DPoint = [number, number, number];
6221
+ interface LearningScene3DProps {
6222
+ className?: string;
6223
+ width?: number;
6224
+ height?: number;
6225
+ title?: string;
6226
+ backgroundColor?: string;
6227
+ /** Neutral drawable descriptors derived from the molecule's vocabulary. */
6228
+ drawables: DrawableNode[];
6229
+ /** Neutral camera pose; `mode` defaults to 'perspective' for learning scenes. */
6230
+ camera?: Camera;
6231
+ /** 3D scene light rig as data. Omitted → the host's standard fixed rig. */
6232
+ lighting?: CanvasLighting;
6233
+ /** 3D post-processing stack (bloom/vignette). Omitted → no post pass. */
6234
+ post?: CanvasPost;
6235
+ /** Show the 3D ground grid. Default false (the learning scenes' current look). */
6236
+ showGrid?: boolean;
6237
+ /** Enable 3D shadows. Omitted → the host default (shadows on). */
6238
+ shadows?: boolean;
6239
+ /** Enable the orbit camera controls. Omitted → the host default (controls on). */
6240
+ interactive?: boolean;
6241
+ isLoading?: boolean;
6242
+ error?: UiError | null;
6243
+ /** Fires with the `id` of a clicked descriptor (descriptors carry `id` via DrawableBase). */
6244
+ onItemClick?: (id: string) => void;
6245
+ }
6246
+ declare function LearningScene3D({ className, width, height, title, backgroundColor, drawables, camera, lighting, post, showGrid, shadows, interactive, isLoading, error, onItemClick, }: LearningScene3DProps): React$1.JSX.Element;
6247
+ declare namespace LearningScene3D {
6248
+ var displayName: string;
6249
+ }
6250
+ interface MeshSphereOpts {
6251
+ /** Primitive kind (default 'sphere'; organelles read well as 'capsule'). */
6252
+ shape?: MeshShapeKind;
6253
+ segments?: number;
6254
+ material?: MeshMaterial;
6255
+ opacity?: number;
6256
+ }
6257
+ /** A sphere (or `opts.shape` primitive) centred at the scene point, `id`-tagged for click. */
6258
+ declare function meshSphere(id: string | undefined, x: number, y: number, z: number, radius: number, color: string, opts?: MeshSphereOpts): DrawMeshProps;
6259
+ /** A cylinder spanning from→to, centred on the midpoint. Null when the segment is degenerate. */
6260
+ declare function cylinderBetween(from: Learning3DPoint, to: Learning3DPoint, radius: number, color: string): DrawMeshProps | null;
6261
+ /**
6262
+ * An arrow from→to as a `draw-group` (shaft cylinder + tip cone) local to `from`.
6263
+ * `shaftRadius` is in scene cells (default: a thin rod at cell scale).
6264
+ */
6265
+ declare function arrowBetween(from: Learning3DPoint, to: Learning3DPoint, color: string, shaftRadius?: number): DrawGroupProps | null;
6266
+ /** A billboarded text label above the scene point (the 3D host lifts it off the item). */
6267
+ declare function billboardLabel(text: string, x: number, y: number, z: number, opts?: {
6268
+ color?: string;
6269
+ }): DrawTextProps;
6270
+ /**
6271
+ * Bridge the 3D host's `{ unitId }` click back to the molecules' 2D
6272
+ * `onShapeClick({ id, index })` contract — `index` is the item's position in
6273
+ * its vocabulary array (−1 when the id is unknown).
6274
+ */
6275
+ declare function get3DClickPayload(onShapeClick: ((payload: {
6276
+ id?: string;
6277
+ type?: string;
6278
+ index: number;
6279
+ }) => void) | undefined, idToIndex: ReadonlyMap<string, number>): ((id: string) => void) | undefined;
6280
+
6127
6281
  /**
6128
6282
  * GraphView Molecule Component
6129
6283
  *
@@ -9463,6 +9617,96 @@ interface ConnectionBlockProps {
9463
9617
  }
9464
9618
  declare const ConnectionBlock: React__default.FC<ConnectionBlockProps>;
9465
9619
 
9620
+ /**
9621
+ * CodeRunnerPanel Organism Component
9622
+ *
9623
+ * Editable code block with Run/Reset buttons and simulated terminal output.
9624
+ * Real execution is a future concern; callers supply a simulation function via
9625
+ * `onRun`. Emits `UI:RUN_CODE { language, exitCode }` on every run attempt.
9626
+ *
9627
+ * Event Contract:
9628
+ * - Emits: UI:RUN_CODE { language, exitCode, error? }
9629
+ * - entityAware: false
9630
+ */
9631
+
9632
+ interface CodeSimulationOutput {
9633
+ stdout: string;
9634
+ stderr: string;
9635
+ exitCode: number;
9636
+ testResults: Array<{
9637
+ input: string;
9638
+ expectedOutput: string;
9639
+ actualOutput: string;
9640
+ passed: boolean;
9641
+ }>;
9642
+ }
9643
+ interface CodeRunnerPanelProps {
9644
+ /** Initial code content */
9645
+ code: string;
9646
+ /** Programming language for syntax highlighting */
9647
+ language: string;
9648
+ /** Whether the panel allows running (false = read-only code block) */
9649
+ runnable?: boolean;
9650
+ /**
9651
+ * Simulate executing the code. Omit to render a read-only block.
9652
+ * Real execution is a separate future track — this callback supplies
9653
+ * deterministic simulated output for UI feedback.
9654
+ */
9655
+ onRun?: (code: string) => Promise<CodeSimulationOutput>;
9656
+ /** Event name to emit on run (emitted as `UI:<runEvent>`). Defaults to 'RUN_CODE'. */
9657
+ runEvent?: string;
9658
+ /** Additional CSS classes */
9659
+ className?: string;
9660
+ }
9661
+ declare const CodeRunnerPanel: React__default.FC<CodeRunnerPanelProps>;
9662
+
9663
+ /**
9664
+ * SegmentRenderer Organism Component
9665
+ *
9666
+ * Renders a parsed array of LessonSegments — markdown, code, quizzes,
9667
+ * activation prompts, connections, reflections, Bloom questions.
9668
+ * The `visualization` segment type is passed through as a no-op unless the
9669
+ * caller provides `onRenderVisualization` (future extensibility hook).
9670
+ *
9671
+ * Event Contract:
9672
+ * - Delegates to child molecules: UI:SAVE_ACTIVATION, UI:SAVE_REFLECTION, UI:ANSWER_BLOOM
9673
+ * - entityAware: false
9674
+ */
9675
+
9676
+ /**
9677
+ * User progress state passed into SegmentRenderer. Declared here (rather than
9678
+ * alongside `LessonSegment` in `lib/parseLessonSegments.ts`) so the
9679
+ * pattern-sync scanner — which only indexes types under `components/**` —
9680
+ * can resolve it to a concrete `.lolo` object shape instead of `json`.
9681
+ */
9682
+ interface LessonUserProgress {
9683
+ activationResponse?: string;
9684
+ reflectionNotes?: string[];
9685
+ bloomAnswered?: Record<number, boolean>;
9686
+ }
9687
+ interface SegmentRendererProps {
9688
+ /** Parsed lesson segments (see `parseLessonSegments`) */
9689
+ segments: LessonSegment[];
9690
+ /** Additional CSS classes for the root container */
9691
+ className?: string;
9692
+ /** CSS classes for the outer wrapping div */
9693
+ containerClassName?: string;
9694
+ /** User progress for restoring activation/reflection state */
9695
+ userProgress?: LessonUserProgress;
9696
+ /**
9697
+ * Simulate executing runnable code blocks. Omit to render runnable blocks
9698
+ * as read-only. Real execution is a future track.
9699
+ */
9700
+ onRunCodeSimulation?: (code: string, language: string) => Promise<CodeSimulationOutput>;
9701
+ /**
9702
+ * Optional render slot for `visualization` segment types. When not provided,
9703
+ * visualization segments are silently skipped. Callers can wire this to any
9704
+ * custom component or orbital generator.
9705
+ */
9706
+ onRenderVisualization?: (type: InteractiveOrbitalType, description: string, index: number) => React__default.ReactNode;
9707
+ }
9708
+ declare const SegmentRenderer: React__default.FC<SegmentRendererProps>;
9709
+
9466
9710
  type EntityTableLook = "dense" | "spacious" | "striped" | "borderless" | "card-rows";
9467
9711
  interface Column<T> {
9468
9712
  /** Column identity. Optional because `name` is an accepted alias; the
@@ -9754,6 +9998,15 @@ interface RelationConfig {
9754
9998
  /** Cardinality: one-to-one or one-to-many */
9755
9999
  cardinality?: "one" | "many";
9756
10000
  }
10001
+ /**
10002
+ * Validation-rule bundle for a schema field. Only `enum` is actually read
10003
+ * (`getEnumOptions` below); the rest of `JsonObject`'s key space was never
10004
+ * consumed, so the concrete shape is exactly the field this component uses.
10005
+ */
10006
+ interface FormFieldValidation {
10007
+ /** Allowed values, mirrors `SchemaField.values` when sourced from validation metadata instead. */
10008
+ enum?: readonly string[];
10009
+ }
9757
10010
  /**
9758
10011
  * Schema field definition
9759
10012
  * Supports both 'name' and 'field' for compatibility with different schema formats
@@ -9788,7 +10041,7 @@ interface SchemaField {
9788
10041
  /** Pattern for validation */
9789
10042
  pattern?: string;
9790
10043
  /** Validation rules */
9791
- validation?: JsonObject;
10044
+ validation?: FormFieldValidation;
9792
10045
  /** Whether field is readonly (displays value but cannot edit) */
9793
10046
  readonly?: boolean;
9794
10047
  /** Whether field is disabled (alternative to readonly for compatibility) */
@@ -11055,85 +11308,6 @@ interface CaseStudyOrganismProps extends DisplayStateProps {
11055
11308
  }
11056
11309
  declare const CaseStudyOrganism: React__default.FC<CaseStudyOrganismProps>;
11057
11310
 
11058
- /**
11059
- * CodeRunnerPanel Organism Component
11060
- *
11061
- * Editable code block with Run/Reset buttons and simulated terminal output.
11062
- * Real execution is a future concern; callers supply a simulation function via
11063
- * `onRun`. Emits `UI:RUN_CODE { language, exitCode }` on every run attempt.
11064
- *
11065
- * Event Contract:
11066
- * - Emits: UI:RUN_CODE { language, exitCode, error? }
11067
- * - entityAware: false
11068
- */
11069
-
11070
- interface CodeSimulationOutput {
11071
- stdout: string;
11072
- stderr: string;
11073
- exitCode: number;
11074
- testResults: Array<{
11075
- input: string;
11076
- expectedOutput: string;
11077
- actualOutput: string;
11078
- passed: boolean;
11079
- }>;
11080
- }
11081
- interface CodeRunnerPanelProps {
11082
- /** Initial code content */
11083
- code: string;
11084
- /** Programming language for syntax highlighting */
11085
- language: string;
11086
- /** Whether the panel allows running (false = read-only code block) */
11087
- runnable?: boolean;
11088
- /**
11089
- * Simulate executing the code. Omit to render a read-only block.
11090
- * Real execution is a separate future track — this callback supplies
11091
- * deterministic simulated output for UI feedback.
11092
- */
11093
- onRun?: (code: string) => Promise<CodeSimulationOutput>;
11094
- /** Event name to emit on run (emitted as `UI:<runEvent>`). Defaults to 'RUN_CODE'. */
11095
- runEvent?: string;
11096
- /** Additional CSS classes */
11097
- className?: string;
11098
- }
11099
- declare const CodeRunnerPanel: React__default.FC<CodeRunnerPanelProps>;
11100
-
11101
- /**
11102
- * SegmentRenderer Organism Component
11103
- *
11104
- * Renders a parsed array of LessonSegments — markdown, code, quizzes,
11105
- * activation prompts, connections, reflections, Bloom questions.
11106
- * The `visualization` segment type is passed through as a no-op unless the
11107
- * caller provides `onRenderVisualization` (future extensibility hook).
11108
- *
11109
- * Event Contract:
11110
- * - Delegates to child molecules: UI:SAVE_ACTIVATION, UI:SAVE_REFLECTION, UI:ANSWER_BLOOM
11111
- * - entityAware: false
11112
- */
11113
-
11114
- interface SegmentRendererProps {
11115
- /** Parsed lesson segments (see `parseLessonSegments`) */
11116
- segments: LessonSegment[];
11117
- /** Additional CSS classes for the root container */
11118
- className?: string;
11119
- /** CSS classes for the outer wrapping div */
11120
- containerClassName?: string;
11121
- /** User progress for restoring activation/reflection state */
11122
- userProgress?: LessonUserProgress;
11123
- /**
11124
- * Simulate executing runnable code blocks. Omit to render runnable blocks
11125
- * as read-only. Real execution is a future track.
11126
- */
11127
- onRunCodeSimulation?: (code: string, language: string) => Promise<CodeSimulationOutput>;
11128
- /**
11129
- * Optional render slot for `visualization` segment types. When not provided,
11130
- * visualization segments are silently skipped. Callers can wire this to any
11131
- * custom component or orbital generator.
11132
- */
11133
- onRenderVisualization?: (type: InteractiveOrbitalType, description: string, index: number) => React__default.ReactNode;
11134
- }
11135
- declare const SegmentRenderer: React__default.FC<SegmentRendererProps>;
11136
-
11137
11311
  /**
11138
11312
  * ChatBar Organism
11139
11313
  *
@@ -11653,4 +11827,4 @@ interface AboutPageTemplateProps extends TemplateProps<AboutPageEntity> {
11653
11827
  }
11654
11828
  declare const AboutPageTemplate: React__default.FC<AboutPageTemplateProps>;
11655
11829
 
11656
- export { ALL_PRESETS, AR_BOOK_FIELDS, type AboutPageEntity, AboutPageTemplate, type AboutPageTemplateProps, Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, ActivationBlock, type ActivationBlockProps, Alert, type AlertProps, type AlertVariant, type AlgorithmBar, AlgorithmCanvas, type AlgorithmCanvasProps, type AlgorithmCell, type AlgorithmPointer, AnimatedCounter, type AnimatedCounterProps, AnimatedGraphic, type AnimatedGraphicProps, AnimatedReveal, type AnimatedRevealProps, ArticleSection, type ArticleSectionProps, Aside, type AsideProps, AssetPicker, type AssetPickerProps, AtlasImage, type AtlasImageAsset, type AtlasImageProps, AtlasPanel, type AtlasPanelProps, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BehaviorView, type BehaviorViewProps, BiologyCanvas, type BiologyCanvasProps, type BiologyEdge, type BiologyNode, type BlockType, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookFieldMap, BookNavBar, type BookNavBarProps, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, BranchingLogicBuilder, type BranchingLogicBuilderProps, type BranchingQuestion, type BranchingRule, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CTABanner, type CTABannerBackground, type CTABannerProps, CalendarGrid, type CalendarGridProps, type CameraMode, CameraState, Canvas, Canvas2D, type Canvas2DProps, type CanvasItemShape, type CanvasItemStatus, type CanvasMode, type CanvasProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, Carousel, type CarouselProps, CaseStudyCard, type CaseStudyCardProps, CaseStudyOrganism, type CaseStudyOrganismProps, Center, type CenterProps, Chart, type ChartDataPoint, ChartLegend, type ChartLegendItem, type ChartLegendProps, type ChartProps, type ChartSeries, type ChartType, ChatBar, type ChatBarProps, type ChatBarStatus, Checkbox, type CheckboxProps, type ChemistryArrow, type ChemistryAtom, type ChemistryBond, ChemistryCanvas, type ChemistryCanvasProps, ChoiceButton, type ChoiceButtonProps, Coachmark, type CoachmarkAnchor, type CoachmarkPlacement, type CoachmarkProps, CodeBlock, type CodeBlockProps, type CodeLanguage, type CodeLanguageLoader, CodeRunnerPanel, type CodeRunnerPanelProps, type CodeSimulationOutput, type CodeViewerAction, type CodeViewerFile, type CodeViewerMode, CollapsibleSection, type CollapsibleSectionProps, type Column, CommunityLinks, type CommunityLinksProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfettiEffect, type ConfettiEffectProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ConnectionBlock, type ConnectionBlockProps, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ContentSection, type ContentSectionBackground, type ContentSectionPadding, type ContentSectionProps, ControlButton, type ControlButtonProps, ControlGrid, type ControlGridButton, type ControlGridKind, type ControlGridProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, type DPadDirection, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataGrid, type DataGridField, type DataGridItemAction, type DataGridProps, DataList, type DataListField, type DataListItemAction, type DataListProps, DataTable, type DataTableProps, DateRangePicker, type DateRangePickerPreset, type DateRangePickerProps, DateRangeSelector, type DateRangeSelectorOption, type DateRangeSelectorProps, DayCell, type DayCellProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, Dialog, type DialogProps, DialogueBubble, type DialogueBubbleProps, type DiffLine$1 as DiffLine, type DiffLineType, type DiffRevision, type DisplayStateProps, Divider, type DividerOrientation, type DividerProps, DocBreadcrumb, type DocBreadcrumbItem, type DocBreadcrumbProps, DocPagination, type DocPaginationLink, type DocPaginationProps, DocSearch, type DocSearchProps, type DocSearchResult, DocSidebar, type DocSidebarItem, type DocSidebarProps, DocTOC, type DocTOCItem, type DocTOCProps, type DocumentType, DocumentViewer, type DocumentViewerProps, StateMachineView as DomStateMachineVisualizer, type DotSize, type DotState, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, ELEMENT_SELECTED_EVENT, EdgeDecoration, type EdgeDecorationProps, type EdgeSide, type EdgeVariant, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmojiPicker, type EmojiPickerPosition, type EmojiPickerProps, EmptyState, type EmptyStateProps, EntityDisplayEvents, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FacingDirection, FeatureCard, type FeatureCardProps, type FeatureDetailPageEntity, FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailSection, FeatureGrid, FeatureGridOrganism, type FeatureGridOrganismProps, type FeatureGridProps, FileTree, type FileTreeNode, type FileTreeProps, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, FilterPill, type FilterPillProps, type FilterPillSize, type FilterPillVariant, Flex, type FlexProps, FlipCard, type FlipCardProps, FlipContainer, type FlipContainerProps, type FloatingAction, FloatingActionButton, type FloatingActionButtonProps, type FooterLinkColumn, type FooterLinkItem, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameIcon, type GameIconProps, GameMenu, type GameMenuProps, GameShell, type GameShellProps, GenericAppTemplate, type GenericAppTemplateProps, GeometricPattern, type GeometricPatternProps, GradientDivider, type GradientDividerProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, type GraphSimilarity, GraphView, type GraphViewEdge, type GraphViewNode, type GraphViewProps, type GraphicAnimation, Grid, GridPicker, type GridPickerCellSize, type GridPickerProps, type GridProps, HStack, type HStackProps, Header, type HeaderProps, HealthBar, type HealthBarProps, HeroOrganism, type HeroOrganismProps, HeroSection, type HeroSectionProps, type HighlightType, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconInput, IconPicker, type IconPickerProps, type IconProps, type IconSize, ImageSource, type ImportEntityDisplay, ImportPreviewTree, type ImportPreviewTreeProps, type ImportPreviewUnit, ImportProgress, type ImportProgressCounts, type ImportProgressProps, type ImportProgressStep, type ImportSkippedElement, type ImportSourceOption, ImportSourcePicker, type ImportSourcePickerProps, InfiniteScrollSentinel, type InfiniteScrollSentinelProps, Input, InputGroup, type InputGroupProps, type InputProps, InstallBox, type InstallBoxProps, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, JsonTreeEditor, type JsonTreeEditorProps, Label, type LabelProps, type LandingPageEntity, LandingPageTemplate, type LandingPageTemplateProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, LearningCanvas, type LearningCanvasProps, type LearningPhysicsBody, type LearningPhysicsConstraint, type LearningPoint, type LearningShape, type LearningShapeType, LessonSegment, LessonUserProgress, Lightbox, type LightboxImage, type LightboxProps, type LikertOption, LikertScale, type LikertScaleProps, LineChart, type LineChartProps, LinkAction, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapMarkerData, type MapRouteData, type MapRouteWaypoint, MapView, type MapViewProps, MarkdownContent, type MarkdownContentProps, MarketingFooter, type MarketingFooterProps, MarketingStatCard, type MarketingStatCardProps, MasterDetail, MasterDetailLayout, type MasterDetailLayoutProps, type MasterDetailProps, MathCanvas, type MathCanvasProps, type MathCurve, type MathPoint, type MathVector, type MatrixColumn, MatrixQuestion, type MatrixQuestionProps, type MatrixRow, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, Meter, type MeterAction, type MeterProps, type MeterThreshold, type MeterVariant, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, ModuleCard, type ModuleCardProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, NodeSlotEditor, type NodeSlotEditorProps, NotifyListener, NumberStepper, type NumberStepperProps, type NumberStepperSize, OnboardingSpotlight, type OnboardingSpotlightProps, type OptionConstraint, OptionConstraintGroup, type OptionConstraintGroupProps, type OptionConstraintOption, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, PageTransition, type PageTransitionProps, type PaginatePayload, Pagination, type PaginationProps, PatternTile, type PatternTileProps, type PatternVariant, PhysicsCanvas, type PhysicsCanvasProps, type PickerItem, type Platform, Point, Popover, type PopoverProps, PositionedCanvas, type PositionedCanvasProps, Presence, type PresenceAnimation, type PresenceProps, type PresenceResult, PricingCard, type PricingCardProps, PricingGrid, type PricingGridProps, PricingOrganism, type PricingOrganismProps, type PricingPageEntity, PricingPageTemplate, type PricingPageTemplateProps, type PrismLanguageGrammar, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, ProgressDots, type ProgressDotsProps, type Projection, PropertyInspector, type PropertyInspectorProps, PullQuote, type PullQuoteProps, PullToRefresh, type PullToRefreshProps, type QrScanResult, QrScanner, type QrScannerProps, QuizBlock, type QuizBlockProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, type RangeSliderSize, ReflectionBlock, type ReflectionBlockProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, ReplyTree, type ReplyTreeProps, ResolvedFrame, type RevealAnimation, type RevealTrigger, type RichBlock, RichBlockEditor, type RichBlockEditorProps, type RowAction, type RuleDefinition, type RuleOption, RuntimeDebugger, type RuntimeDebuggerProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentRenderer, type SegmentRendererProps, Select, type SelectOption, type SelectOptionGroup, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, ServiceCatalog, type ServiceCatalogItem, type ServiceCatalogProps, ShowcaseCard, type ShowcaseCardProps, ShowcaseOrganism, type ShowcaseOrganismProps, SidePanel, type SidePanelProps, type SidePlayer, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, SocialProof, type SocialProofItem, type SocialProofProps, type SortPayload, SortableList, type SortableListProps, Spacer, type SpacerProps, type SpacerSize, Sparkline, type SparklineColor, type SparklineProps, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, SplitSection, type SplitSectionProps, type SpotlightStep, SpriteFrameDims, SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StarRating, type StarRatingPrecision, type StarRatingProps, type StarRatingSize, StatBadge, type StatBadgeProps, StatCard, type StatCardProps, type StatCardSize, StatDisplay, type StatDisplayProps, StateGraph, type StateGraphProps, type StateGraphTransition, StateJsonView, type StateJsonViewProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, StatsGrid, type StatsGridProps, StatsOrganism, type StatsOrganismProps, StatusBar, type StatusBarProps, StatusDot, type StatusDotProps, type StatusDotSize, type StatusDotStatus, StepFlow, StepFlowOrganism, type StepFlowOrganismProps, type StepFlowProps, type StepItemProps, SubagentTracePanel, type SubagentTracePanelProps, SvgBranch, type SvgBranchProps, SvgConnection, type SvgConnectionProps, SvgFlow, type SvgFlowProps, SvgGrid, type SvgGridProps, SvgLobe, type SvgLobeProps, SvgMesh, type SvgMeshProps, SvgMorph, type SvgMorphProps, SvgNode, type SvgNodeProps, SvgPulse, type SvgPulseProps, SvgRing, type SvgRingProps, SvgShield, type SvgShieldProps, SvgStack, type SvgStackProps, type SwipeAction, SwipeableRow, type SwipeableRowProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, TableView, type TableViewColumn, type TableViewProps, Tabs, type TabsProps, TagCloud, type TagCloudItem, type TagCloudProps, TagInput, type TagInputProps, TeamCard, type TeamCardProps, TeamOrganism, type TeamOrganismProps, type TeamUnitTraits, type TemplateProps, TerrainPalette, type TerrainPaletteProps, TextHighlight, type TextHighlightProps, Textarea, type TextareaProps, ThemeToggle, type ThemeToggleProps, type TileCoord, type TileLayout, TimeSlotCell, type TimeSlotCellProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, TimerDisplay, type TimerDisplayProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, type TraceDisclosureLevel, TraitFrame, type TraitFrameProps, TraitSlot, type TraitSlotProps, type TraitStateMachineDefinition, TraitStateViewer, type TraitStateViewerProps, type TraitTransition, TransitionArrow, type TransitionArrowProps, type TransitionBundle, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type TrendIndicatorSize, TypewriterText, type TypewriterTextProps, Typography, type TypographyProps, type TypographyVariant, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UiError, UnitAnimationState, UploadDropZone, type UploadDropZoneProps, type UsePresenceOptions, VStack, type VStackProps, type Vec2, VersionDiff, type DiffLine as VersionDiffLine, type VersionDiffProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, VoteStack, type VoteStackProps, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, boardEntity, bool, createUnitAnimationState, getCurrentFrame, getTileDimensions, inferDirection, isoToScreen, makeAsset, makeAssetMap, mapBookData, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, pendulum, projectileMotion, registerCodeLanguageLoader, resolveFieldMap, resolveFrame, resolveSheetDirection, rows, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useAtlasSliceDataUrl, useCamera, useImageCache, usePresence, useUnitSpriteAtlas, vec2 };
11830
+ export { ALL_PRESETS, AR_BOOK_FIELDS, type AboutPageEntity, AboutPageTemplate, type AboutPageTemplateProps, Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, ActivationBlock, type ActivationBlockProps, Alert, type AlertProps, type AlertVariant, type AlgorithmBar, AlgorithmCanvas, type AlgorithmCanvasProps, type AlgorithmCell, type AlgorithmPointer, AnimatedCounter, type AnimatedCounterProps, AnimatedGraphic, type AnimatedGraphicProps, AnimatedReveal, type AnimatedRevealProps, ArticleSection, type ArticleSectionProps, Aside, type AsideProps, AssetPicker, type AssetPickerProps, AtlasImage, type AtlasImageAsset, type AtlasImageProps, AtlasPanel, type AtlasPanelProps, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BehaviorView, type BehaviorViewProps, BiologyCanvas, type BiologyCanvasProps, type BiologyEdge, type BiologyNode, type BlockType, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookFieldMap, BookNavBar, type BookNavBarProps, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, BranchingLogicBuilder, type BranchingLogicBuilderProps, type BranchingQuestion, type BranchingRule, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CTABanner, type CTABannerBackground, type CTABannerProps, CalendarGrid, type CalendarGridProps, type CameraMode, CameraState, Canvas, Canvas2D, type Canvas2DProps, type CanvasItemShape, type CanvasItemStatus, type CanvasMode, type CanvasProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, Carousel, type CarouselProps, CaseStudyCard, type CaseStudyCardProps, CaseStudyOrganism, type CaseStudyOrganismProps, Center, type CenterProps, Chart, type ChartDataPoint, ChartLegend, type ChartLegendItem, type ChartLegendProps, type ChartProps, type ChartSeries, type ChartType, ChatBar, type ChatBarProps, type ChatBarStatus, Checkbox, type CheckboxProps, type ChemistryArrow, type ChemistryAtom, type ChemistryBond, ChemistryCanvas, type ChemistryCanvasProps, ChoiceButton, type ChoiceButtonProps, Coachmark, type CoachmarkAnchor, type CoachmarkPlacement, type CoachmarkProps, CodeBlock, type CodeBlockProps, type CodeLanguage, type CodeLanguageLoader, CodeRunnerPanel, type CodeRunnerPanelProps, type CodeSimulationOutput, type CodeViewerAction, type CodeViewerFile, type CodeViewerMode, CollapsibleSection, type CollapsibleSectionProps, type Column, CommunityLinks, type CommunityLinksProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfettiEffect, type ConfettiEffectProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ConnectionBlock, type ConnectionBlockProps, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ContentSection, type ContentSectionBackground, type ContentSectionPadding, type ContentSectionProps, ControlButton, type ControlButtonProps, ControlGrid, type ControlGridButton, type ControlGridKind, type ControlGridProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, type DPadDirection, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataGrid, type DataGridField, type DataGridItemAction, type DataGridProps, DataList, type DataListField, type DataListItemAction, type DataListProps, DataTable, type DataTableProps, DateRangePicker, type DateRangePickerPreset, type DateRangePickerProps, DateRangeSelector, type DateRangeSelectorOption, type DateRangeSelectorProps, DayCell, type DayCellProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, Dialog, type DialogProps, DialogueBubble, type DialogueBubbleProps, type DiffLine$1 as DiffLine, type DiffLineType, type DiffRevision, type DisplayStateProps, Divider, type DividerOrientation, type DividerProps, DocBreadcrumb, type DocBreadcrumbItem, type DocBreadcrumbProps, DocPagination, type DocPaginationLink, type DocPaginationProps, DocSearch, type DocSearchProps, type DocSearchResult, DocSidebar, type DocSidebarItem, type DocSidebarProps, DocTOC, type DocTOCItem, type DocTOCProps, type DocumentType, DocumentViewer, type DocumentViewerProps, StateMachineView as DomStateMachineVisualizer, type DotSize, type DotState, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, ELEMENT_SELECTED_EVENT, EdgeDecoration, type EdgeDecorationProps, type EdgeSide, type EdgeVariant, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmojiPicker, type EmojiPickerPosition, type EmojiPickerProps, EmptyState, type EmptyStateProps, EntityDisplayEvents, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FacingDirection, FeatureCard, type FeatureCardProps, type FeatureDetailPageEntity, FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailSection, FeatureGrid, FeatureGridOrganism, type FeatureGridOrganismProps, type FeatureGridProps, FileTree, type FileTreeNode, type FileTreeProps, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, FilterPill, type FilterPillProps, type FilterPillSize, type FilterPillVariant, Flex, type FlexProps, FlipCard, type FlipCardProps, FlipContainer, type FlipContainerProps, type FloatingAction, FloatingActionButton, type FloatingActionButtonProps, type FooterLinkColumn, type FooterLinkItem, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameIcon, type GameIconProps, GameMenu, type GameMenuProps, GameShell, type GameShellProps, GenericAppTemplate, type GenericAppTemplateProps, GeometricPattern, type GeometricPatternProps, GradientDivider, type GradientDividerProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, type GraphSimilarity, GraphView, type GraphViewEdge, type GraphViewNode, type GraphViewProps, type GraphicAnimation, Grid, GridPicker, type GridPickerCellSize, type GridPickerProps, type GridProps, HStack, type HStackProps, Header, type HeaderProps, HealthBar, type HealthBarProps, HeroOrganism, type HeroOrganismProps, HeroSection, type HeroSectionProps, type HighlightType, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconInput, IconPicker, type IconPickerProps, type IconProps, type IconSize, ImageSource, type ImportEntityDisplay, ImportPreviewTree, type ImportPreviewTreeProps, type ImportPreviewUnit, ImportProgress, type ImportProgressCounts, type ImportProgressProps, type ImportProgressStep, type ImportSkippedElement, type ImportSourceOption, ImportSourcePicker, type ImportSourcePickerProps, InfiniteScrollSentinel, type InfiniteScrollSentinelProps, Input, InputGroup, type InputGroupProps, type InputProps, InstallBox, type InstallBoxProps, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, JsonTreeEditor, type JsonTreeEditorProps, Label, type LabelProps, type LandingPageEntity, LandingPageTemplate, type LandingPageTemplateProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, type Learning3DPoint, LearningCanvas, type LearningCanvasProps, type LearningPhysicsBody, type LearningPhysicsConstraint, type LearningPoint, LearningScene3D, type LearningScene3DProps, type LearningShape, type LearningShapeType, LessonSegment, type LessonUserProgress, Lightbox, type LightboxImage, type LightboxProps, type LikertOption, LikertScale, type LikertScaleProps, LineChart, type LineChartProps, LinkAction, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapMarkerData, type MapRouteData, type MapRouteWaypoint, MapView, type MapViewProps, MarkdownContent, type MarkdownContentProps, MarketingFooter, type MarketingFooterProps, MarketingStatCard, type MarketingStatCardProps, MasterDetail, MasterDetailLayout, type MasterDetailLayoutProps, type MasterDetailProps, MathCanvas, type MathCanvasProps, type MathCurve, type MathPoint, type MathVector, type MatrixColumn, MatrixQuestion, type MatrixQuestionProps, type MatrixRow, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, type MeshSphereOpts, Meter, type MeterAction, type MeterProps, type MeterThreshold, type MeterVariant, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, ModuleCard, type ModuleCardProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, NodeSlotEditor, type NodeSlotEditorProps, NotifyListener, NumberStepper, type NumberStepperProps, type NumberStepperSize, OnboardingSpotlight, type OnboardingSpotlightProps, type OptionConstraint, OptionConstraintGroup, type OptionConstraintGroupProps, type OptionConstraintOption, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, PageTransition, type PageTransitionProps, type PaginatePayload, Pagination, type PaginationProps, PatternTile, type PatternTileProps, type PatternVariant, PhysicsCanvas, type PhysicsCanvasProps, type PickerItem, type Platform, Point, Popover, type PopoverProps, PositionedCanvas, type PositionedCanvasProps, Presence, type PresenceAnimation, type PresenceProps, type PresenceResult, PricingCard, type PricingCardProps, PricingGrid, type PricingGridProps, PricingOrganism, type PricingOrganismProps, type PricingPageEntity, PricingPageTemplate, type PricingPageTemplateProps, type PrismLanguageGrammar, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, ProgressDots, type ProgressDotsProps, type Projection, PropertyInspector, type PropertyInspectorProps, PullQuote, type PullQuoteProps, PullToRefresh, type PullToRefreshProps, type QrScanResult, QrScanner, type QrScannerProps, QuizBlock, type QuizBlockProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, type RangeSliderSize, ReflectionBlock, type ReflectionBlockProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, ReplyTree, type ReplyTreeProps, ResolvedFrame, type RevealAnimation, type RevealTrigger, type RichBlock, RichBlockEditor, type RichBlockEditorProps, type RowAction, type RuleDefinition, type RuleOption, RuntimeDebugger, type RuntimeDebuggerProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentRenderer, type SegmentRendererProps, Select, type SelectOption, type SelectOptionGroup, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, ServiceCatalog, type ServiceCatalogItem, type ServiceCatalogProps, ShowcaseCard, type ShowcaseCardProps, ShowcaseOrganism, type ShowcaseOrganismProps, SidePanel, type SidePanelProps, type SidePlayer, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, SocialProof, type SocialProofItem, type SocialProofProps, type SortPayload, SortableList, type SortableListProps, Spacer, type SpacerProps, type SpacerSize, Sparkline, type SparklineColor, type SparklineProps, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, SplitSection, type SplitSectionProps, type SpotlightStep, SpriteFrameDims, SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StarRating, type StarRatingPrecision, type StarRatingProps, type StarRatingSize, StatBadge, type StatBadgeProps, StatCard, type StatCardProps, type StatCardSize, StatDisplay, type StatDisplayProps, StateGraph, type StateGraphProps, type StateGraphTransition, StateJsonView, type StateJsonViewProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, StatsGrid, type StatsGridProps, StatsOrganism, type StatsOrganismProps, StatusBar, type StatusBarProps, StatusDot, type StatusDotProps, type StatusDotSize, type StatusDotStatus, StepFlow, StepFlowOrganism, type StepFlowOrganismProps, type StepFlowProps, type StepItemProps, SubagentTracePanel, type SubagentTracePanelProps, SvgBranch, type SvgBranchProps, SvgConnection, type SvgConnectionProps, SvgFlow, type SvgFlowProps, SvgGrid, type SvgGridProps, SvgLobe, type SvgLobeProps, SvgMesh, type SvgMeshProps, SvgMorph, type SvgMorphProps, SvgNode, type SvgNodeProps, SvgPulse, type SvgPulseProps, SvgRing, type SvgRingProps, SvgShield, type SvgShieldProps, SvgStack, type SvgStackProps, type SwipeAction, SwipeableRow, type SwipeableRowProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, TableView, type TableViewColumn, type TableViewProps, Tabs, type TabsProps, TagCloud, type TagCloudItem, type TagCloudProps, TagInput, type TagInputProps, TeamCard, type TeamCardProps, TeamOrganism, type TeamOrganismProps, type TeamUnitTraits, type TemplateProps, TerrainPalette, type TerrainPaletteProps, TextHighlight, type TextHighlightProps, Textarea, type TextareaProps, ThemeToggle, type ThemeToggleProps, type TileCoord, type TileLayout, TimeSlotCell, type TimeSlotCellProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, TimerDisplay, type TimerDisplayProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, type TraceDisclosureLevel, TraitFrame, type TraitFrameProps, TraitSlot, type TraitSlotProps, type TraitStateMachineDefinition, TraitStateViewer, type TraitStateViewerProps, type TraitTransition, TransitionArrow, type TransitionArrowProps, type TransitionBundle, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type TrendIndicatorSize, TypewriterText, type TypewriterTextProps, Typography, type TypographyProps, type TypographyVariant, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UiError, UnitAnimationState, UploadDropZone, type UploadDropZoneProps, type UsePresenceOptions, VStack, type VStackProps, type Vec2, VersionDiff, type DiffLine as VersionDiffLine, type VersionDiffProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, VoteStack, type VoteStackProps, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, arrowBetween, billboardLabel, boardEntity, bool, createUnitAnimationState, cylinderBetween, get3DClickPayload, getCurrentFrame, getTileDimensions, inferDirection, isoToScreen, makeAsset, makeAssetMap, mapBookData, meshSphere, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, pendulum, projectileMotion, registerCodeLanguageLoader, resolveFieldMap, resolveFrame, resolveSheetDirection, rows, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useAtlasSliceDataUrl, useCamera, useImageCache, usePresence, useUnitSpriteAtlas, vec2 };