@almadar/ui 6.59.0 → 6.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BehaviorValueFrame-3ORZHPWQ.css +1252 -0
- package/dist/BehaviorValueFrame-QYFJEMN5.js +18 -0
- package/dist/TraitValueFrame-2WMYJOA5.css +1252 -0
- package/dist/TraitValueFrame-X6IL3UST.js +17 -0
- package/dist/Typography-KBATMU2V.js +5 -0
- package/dist/{UISlotRenderer-YNY7V2UJ.js → UISlotRenderer-NZBV5BUI.js} +12 -10
- package/dist/avl/index.cjs +32263 -28103
- package/dist/avl/index.d.ts +36 -13
- package/dist/avl/index.js +298 -6130
- package/dist/{avl-3d-context-BpBKZIbc.d.ts → avl-3d-context-Dxun3-ri.d.ts} +2 -0
- package/dist/{chunk-YYYHH5BA.js → chunk-7JRWELUC.js} +4 -6
- package/dist/{chunk-723MJUU3.js → chunk-CXQENFO2.js} +1 -1
- package/dist/chunk-D4NAA2JW.js +49 -0
- package/dist/{chunk-I5QOYW2Z.js → chunk-DXPCAQJU.js} +205 -2
- package/dist/{chunk-J755QADM.js → chunk-EDPUQ2ZJ.js} +327 -18
- package/dist/{chunk-4ZGXIW3B.js → chunk-ERDYADVZ.js} +1 -1
- package/dist/{chunk-7CVXM2KS.js → chunk-EZ5FSNOE.js} +2 -2
- package/dist/{chunk-E6MWYQVZ.js → chunk-G6EFTACU.js} +9713 -786
- package/dist/{chunk-MZIDOJMD.js → chunk-GVQOTA7T.js} +2 -1
- package/dist/{chunk-Q47ZN2DW.js → chunk-N23SVGTH.js} +83 -1
- package/dist/{chunk-KJGVLXEN.js → chunk-N4IJS5DD.js} +50 -116
- package/dist/{chunk-LZRW6GXG.js → chunk-QOV3TUAA.js} +2 -3
- package/dist/chunk-WBWXBA5H.js +434 -0
- package/dist/{chunk-V3FGTQUE.js → chunk-ZR45FGW3.js} +7 -1
- package/dist/{cn-DIql5232.d.ts → cn-CDIhHCUC.d.ts} +40 -16
- package/dist/components/index.cjs +14779 -4354
- package/dist/components/index.d.ts +200 -180
- package/dist/components/index.js +16 -17
- package/dist/context/index.cjs +9 -1
- package/dist/context/index.js +3 -1
- package/dist/hooks/index.cjs +78 -9
- package/dist/hooks/index.d.ts +43 -2
- package/dist/hooks/index.js +6 -7
- package/dist/lib/drawable/three/index.cjs +361 -27
- package/dist/lib/drawable/three/index.d.ts +2 -2
- package/dist/lib/drawable/three/index.js +28 -7
- package/dist/lib/index.cjs +117 -5
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.js +99 -6
- package/dist/locales/index.cjs +6 -9
- package/dist/locales/index.js +2 -2
- package/dist/providers/index.cjs +14137 -1311
- package/dist/providers/index.d.ts +36 -4
- package/dist/providers/index.js +37 -17
- package/dist/runtime/index.cjs +28769 -18640
- package/dist/runtime/index.d.ts +70 -3
- package/dist/runtime/index.js +15 -381
- package/dist/ssr/index.cjs +508 -134
- package/dist/ssr/index.d.cts +56 -4
- package/dist/ssr/index.d.ts +56 -4
- package/dist/ssr/index.js +446 -72
- package/dist/{verificationRegistry-B3dj1Zl8.d.ts → verificationRegistry-B5aGl7WF.d.ts} +2 -1
- package/locales/ar.json +2 -3
- package/locales/en.json +2 -3
- package/locales/sl.json +2 -3
- package/package.json +8 -8
- package/tailwind-preset.cjs +78 -8
- package/themes/_base.css +27 -0
- package/themes/_contract.md +6 -0
- package/themes/_fonts.css +4 -4
- package/themes/_foundation.css +11 -0
- package/themes/_presets.css +2 -0
- package/themes/almadar-website.css +10 -0
- package/themes/almadar.css +10 -0
- package/themes/atelier.css +10 -0
- package/themes/bauhaus.css +10 -0
- package/themes/bloomberg-dense.css +10 -0
- package/themes/clay.css +10 -0
- package/themes/corporate.css +10 -0
- package/themes/gazette.css +10 -0
- package/themes/glass.css +10 -0
- package/themes/kflow.css +5 -0
- package/themes/kiosk.css +10 -0
- package/themes/linear-clean.css +10 -0
- package/themes/material.css +10 -0
- package/themes/minimalist.css +10 -0
- package/themes/nata.css +304 -0
- package/themes/neon.css +10 -0
- package/themes/notion-editorial.css +10 -0
- package/themes/orb.css +10 -0
- package/themes/prism.css +10 -0
- package/themes/rawi.css +304 -0
- package/themes/retro.css +10 -0
- package/themes/risograph.css +10 -0
- package/themes/scandi.css +10 -0
- package/themes/solarpunk.css +10 -0
- package/themes/terminal.css +138 -128
- package/dist/Typography-LZTP72Y4.js +0 -5
- package/dist/chunk-D2E44ODB.js +0 -350
- package/dist/chunk-N7JIG57B.js +0 -138
- package/dist/chunk-QJIAJ6EH.js +0 -2256
package/dist/avl/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OperatorCategory } from '@almadar/std';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { FieldType, EntityPersistence, SExpr, EvalTrace, A11yProps, EventEmit, Expression,
|
|
4
|
+
import { FieldType, EntityPersistence, SExpr, EvalTrace, A11yProps, EventEmit, Expression, OrbitalSchema, EntityData, EditFocus, EventPayload, AriaRole, DomainQuestion, DomainQuestionAnswer, ThemeDefinition, CircuitStepResult, GuardEvaluation, EffectTrace, EventPayloadValue } from '@almadar/core';
|
|
5
5
|
import { A as AvlAnnotations, a as AvlNodeData, F as FileTreeItem, b as AvlNote } from '../FileTree-BSfgp-HH.js';
|
|
6
6
|
export { c as AvlEdgeData, d as AvlStateMachine, e as AvlStateMachineProps, B as BehaviorView, M as ModuleCard, s as schemaToFlowGraph } from '../FileTree-BSfgp-HH.js';
|
|
7
7
|
import { T as TraitLevelData, d as TraitTransitionInfo, c as TransitionLevelData, S as SerializedEffect } from '../avl-schema-parser-CH1QoZw1.js';
|
|
@@ -762,16 +762,15 @@ interface PatternEventSource {
|
|
|
762
762
|
}
|
|
763
763
|
/** A slot + pattern config pair extracted from a render-ui effect. */
|
|
764
764
|
interface RenderUIEntry {
|
|
765
|
-
slot:
|
|
765
|
+
slot: string;
|
|
766
766
|
pattern: AnyPatternConfig;
|
|
767
767
|
}
|
|
768
|
-
/**
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}> | OrbitalSchema | EntityData | undefined;
|
|
768
|
+
/**
|
|
769
|
+
* Data for a preview node (used at both overview and expanded levels). A closed
|
|
770
|
+
* type alias, not an index-signature interface: it stays assignable to React
|
|
771
|
+
* Flow's `Record<string, unknown>` node-data bound while every field is declared.
|
|
772
|
+
*/
|
|
773
|
+
type PreviewNodeData = {
|
|
775
774
|
/** Orbital this node belongs to. */
|
|
776
775
|
orbitalName: string;
|
|
777
776
|
/** Trait name (a card showing a picked state). */
|
|
@@ -891,7 +890,7 @@ interface PreviewNodeData {
|
|
|
891
890
|
_fullSchema?: OrbitalSchema;
|
|
892
891
|
/** Mock entity data for the orbital preview. */
|
|
893
892
|
_mockData?: EntityData;
|
|
894
|
-
}
|
|
893
|
+
};
|
|
895
894
|
/** Data for event flow edges. */
|
|
896
895
|
interface EventEdgeData {
|
|
897
896
|
[key: string]: string | boolean | undefined;
|
|
@@ -1608,6 +1607,7 @@ interface FlowCanvasProps {
|
|
|
1608
1607
|
systemDependencies?: SystemDependencies;
|
|
1609
1608
|
/** Trait level: which lens (and trait filter) shows — pass with `onTraitViewChange` to keep it across remounts. */
|
|
1610
1609
|
traitView?: TraitView;
|
|
1610
|
+
/** @notification */
|
|
1611
1611
|
onTraitViewChange?: (view: TraitView) => void;
|
|
1612
1612
|
/** Dependencies lens: emits UI:{openBehaviorEvent} with { name } to open a selected behavior's source. */
|
|
1613
1613
|
openBehaviorEvent?: EventEmit<{
|
|
@@ -1618,7 +1618,10 @@ interface FlowCanvasProps {
|
|
|
1618
1618
|
steps: readonly AvlPlayStep[];
|
|
1619
1619
|
cursor: number;
|
|
1620
1620
|
};
|
|
1621
|
-
/**
|
|
1621
|
+
/**
|
|
1622
|
+
* Fired when the focused orbital, the scope, or the focused card's state changes.
|
|
1623
|
+
* @notification
|
|
1624
|
+
*/
|
|
1622
1625
|
onFocusChange?: (focus: CanvasFocusChange) => void;
|
|
1623
1626
|
/** The orbital cards open on (local view) — or, with `initialLevel="trait-expanded"`, the orbital whose traits are shown. */
|
|
1624
1627
|
initialOrbital?: string;
|
|
@@ -1666,13 +1669,17 @@ interface FlowCanvasProps {
|
|
|
1666
1669
|
* name on enter and `null` on leave. Reserved for the upcoming trace
|
|
1667
1670
|
* tooltip: consumers will use it to anchor a popover that shows the
|
|
1668
1671
|
* subagent's live trace + reasoning for the hovered orbital.
|
|
1672
|
+
* @notification
|
|
1669
1673
|
*/
|
|
1670
1674
|
onOrbitalHover?: (orbitalName: string | null) => void;
|
|
1671
1675
|
/** Layout hint: 'pipeline' renders nodes left-to-right, 'grid' (default) uses sqrt-based grid. */
|
|
1672
1676
|
layoutHint?: 'pipeline' | 'grid';
|
|
1673
1677
|
/** Called when the user clicks a node in overview level (for composition hints). */
|
|
1674
1678
|
onNodeSelect?: (orbitalName: string) => void;
|
|
1675
|
-
/**
|
|
1679
|
+
/**
|
|
1680
|
+
* @deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat.
|
|
1681
|
+
* @notification
|
|
1682
|
+
*/
|
|
1676
1683
|
onZoomChange?: (level: string, context: Record<string, string | undefined>) => void;
|
|
1677
1684
|
/** @deprecated Not used in V3. */
|
|
1678
1685
|
focusTarget?: {
|
|
@@ -1711,6 +1718,7 @@ interface FlowCanvasProps {
|
|
|
1711
1718
|
/**
|
|
1712
1719
|
* Fired on node drag-stop and card resize with the full {id → placement}
|
|
1713
1720
|
* map of the current node set, so the consumer can persist the arrangement.
|
|
1721
|
+
* @notification
|
|
1714
1722
|
*/
|
|
1715
1723
|
onPositionsChange?: (positions: Record<string, CanvasNodePlacement>) => void;
|
|
1716
1724
|
/**
|
|
@@ -1718,6 +1726,7 @@ interface FlowCanvasProps {
|
|
|
1718
1726
|
* escape, clear-on-level-change, and pattern-selection sync all route
|
|
1719
1727
|
* through this. Lets a consumer mirror selection into a persistent
|
|
1720
1728
|
* properties panel rendered outside the canvas (see `externalInspector`).
|
|
1729
|
+
* @notification
|
|
1721
1730
|
*/
|
|
1722
1731
|
onSelectedNodeChange?: (node: PreviewNodeData | null) => void;
|
|
1723
1732
|
/**
|
|
@@ -1728,6 +1737,7 @@ interface FlowCanvasProps {
|
|
|
1728
1737
|
* `externalInspector`) has no other way to learn which pattern the user
|
|
1729
1738
|
* picked — pass this straight through to `OrbInspector`'s `selectedPattern`
|
|
1730
1739
|
* prop to keep Design-tab prop editing working outside the canvas.
|
|
1740
|
+
* @notification
|
|
1731
1741
|
*/
|
|
1732
1742
|
onSelectedPatternChange?: (pattern: SelectedPattern | null) => void;
|
|
1733
1743
|
/**
|
|
@@ -2174,4 +2184,17 @@ declare namespace KnobSettingRow {
|
|
|
2174
2184
|
var displayName: string;
|
|
2175
2185
|
}
|
|
2176
2186
|
|
|
2177
|
-
|
|
2187
|
+
/**
|
|
2188
|
+
* Typed decoders for the AVL organisms' rich props (G-CROSS-131): a `.lolo` value arrives as an
|
|
2189
|
+
* `EventPayloadValue` and is validated into the component's declared type field by field, so the
|
|
2190
|
+
* compiled app needs no cast. Pattern configs go through core's `PatternObjectSchema`.
|
|
2191
|
+
*/
|
|
2192
|
+
|
|
2193
|
+
/** Validates a node of the canvas preview (`OrbInspector node`). */
|
|
2194
|
+
declare function decodePreviewNodeData(value: EventPayloadValue): PreviewNodeData;
|
|
2195
|
+
/** Validates an in-node pattern selection (`OrbInspector selectedPattern`). */
|
|
2196
|
+
declare function decodeSelectedPattern(value: EventPayloadValue): SelectedPattern;
|
|
2197
|
+
/** Validates persisted canvas node positions (`FlowCanvas nodePositions`). */
|
|
2198
|
+
declare function decodeNodePlacements(value: EventPayloadValue): Record<string, CanvasNodePlacement>;
|
|
2199
|
+
|
|
2200
|
+
export { AVL_GLYPH_KINDS, AVL_GRAPH_NODE_TYPES, AvlAnnotations, AvlApplication, type AvlApplicationProps, AvlBackwardEdge, type AvlBaseProps, AvlBehaviorGlyph, type AvlBehaviorGlyphProps, AvlBinding, AvlBindingEdge, type AvlBindingProps, AvlBindingRef, type AvlBindingRefProps, AvlCircuit, type AvlCircuitProps, AvlClickTarget, type AvlClickTargetProps, AvlClosedCircuit, type AvlClosedCircuitProps, type AvlClosedCircuitState, type AvlClosedCircuitTransition, AvlCosmicZoom, type AvlCosmicZoomProps, AvlEffect, AvlEffectChip, type AvlEffectChipProps, type AvlEffectProps, AvlEmitListen, type AvlEmitListenProps, AvlEntity, type AvlEntityProps, AvlEvent, type AvlEventProps, AvlEventWireEdge, type AvlEventWireEdgeData, AvlExprTree, type AvlExprTreeNode, type AvlExprTreeProps, AvlField, type AvlFieldProps, AvlFieldType, type AvlFieldTypeProps, AvlGlyph, type AvlGlyphKind, type AvlGlyphProps, AvlGraphCanvas, type AvlGraphCanvasProps, AvlGuard, type AvlGuardProps, AvlLiteral, type AvlLiteralProps, AvlNodeData, AvlNote, AvlOperator, type AvlOperatorProps, AvlOrbital, type AvlOrbitalProps, AvlOrbitalUnit, type AvlOrbitalUnitPage, type AvlOrbitalUnitProps, type AvlOrbitalUnitTrait, AvlOrbitalsCosmicZoom, type AvlOrbitalsCosmicZoomProps, AvlPage, AvlPageEdge, type AvlPageProps, AvlPersistence, type AvlPersistenceProps, type AvlPlayStep, AvlSExpr, type AvlSExprProps, AvlSlotMap, type AvlSlotMapProps, type AvlSlotMapSlot, AvlState, type AvlStateMachinePlayback, type AvlStateProps, type AvlStepRequest, AvlSwimLane, type AvlSwimLaneProps, AvlTrait, type AvlTraitProps, AvlTraitScene, type AvlTraitSceneProps, AvlTransition, AvlTransitionDetail, type AvlTransitionDetailProps, AvlTransitionEdge, type AvlTransitionEdgeData, AvlTransitionExplainer, type AvlTransitionExplainerProps, AvlTransitionLane, type AvlTransitionLaneProps, type AvlTransitionPlayback, type AvlTransitionProps, AvlTransitionScene, type AvlTransitionSceneProps, type BehaviorGlyphChild, type BehaviorGlyphConnection, type BehaviorLevel, CANVAS_TOOLS, CONNECTION_COLORS, type CanvasContainerNode, CanvasDndProvider, type CanvasDndProviderProps, type CanvasDragKind, type CanvasDragPayload, type CanvasDropEvent, type CanvasDropTarget, type CanvasFocusChange, type CanvasResolvedDrop, type CanvasScope, type CanvasStateGroup, type CanvasStateOption, type CanvasStateOptions, type CanvasStateView, type CanvasTool, type CanvasVerify, CanvasVerifyContext, type CanvasViewOptions, type CardVerdict, DEPLOYMENT_ROW, DOMAIN_COLORS, DependencyColumnNode, type DependencyLayer, DependencyNode, DetailView, EDITABLE, EFFECT_CATEGORY_COLORS, type EffectCategory, type ElementEditAccess, ElementEditAccessContext, type ElementEditAccessResolver, type ElementKnob, type ElementPropAccess, type ElementSettings, type ElkLayout, type EventEdgeData, EventFlowEdge, FIELD_TYPE_SHAPES, type FieldTypeShape, FlowCanvas, type FlowCanvasProps, type GlyphSize, type InlineTextEditOptions, KnobField, type KnobFieldProps, KnobSettingRow, type KnobSettingRowProps, LIVE_STATE, type LayerIdParts, type LayeredColumn, type LayeredColumnId, type LayeredEdge, type LayeredGraphInput, type LayeredRow, type LayeredUnit, LayersPanel, type LayersPanelProps, type LayoutEdge, type LayoutNode, MiniStateMachine, OPERATOR_CATEGORY_COLORS, OrbInspector, type OrbInspectorProps, OrbPreviewNode, type PatternEventSource, type PlayedStep, type PreviewNodeData, type RenderUIEntry, STATE_COLORS, type SelectedPattern, type StateRole, SystemBandNode, type SystemDependencies, SystemMapContext, type SystemMapContextValue, SystemNode, type TraitFlowEdge, type TraitFlowUnit, TraitLevelData, TraitTransitionInfo, type TraitView, TransitionLevelData, type UseCanvasDraggableArgs, type UseCanvasDraggableResult, type UseCanvasDroppableArgs, type UseCanvasDroppableResult, type ViewLevel, ZOOM_BAND_THRESHOLDS, type ZoomBand, ZoomBandContext, ZoomBreadcrumb, type ZoomBreadcrumbProps, ZoomLegend, type ZoomLegendProps, ZoomLevel, arcPath, armPosition, armsOf, canvasViewGraph, computeTraitLayout, computeZoomBand, curveControlPoint, decodeNodePlacements, decodePreviewNodeData, decodeSelectedPattern, dependencyReach, deploymentGraph, deriveEditFocusFromElement, dropBusEvent, edgePath, effectCategoryOf, firedTransition, flowNeighbors, getStateRole, gridPositions, hasCanvasTool, initialStateOf, layeredGraph, optionForPlayedStep, parseLayerId, propAccessAt, radialPositions, ringPositions, schemaToDependencyGraph, schemaToLayerItems, schemaToOverviewGraph, stateMachinePlayback, stateOptionsOf, traitFlowGraph, transitionPlayback, useCanvasDraggable, useCanvasDroppable, useInlineTextEdit, useZoomBand, zoomProgress };
|