@almadar/ui 2.20.1 → 2.20.6
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 +72 -21
- package/dist/avl/index.cjs +1345 -1323
- package/dist/avl/index.d.cts +47 -47
- package/dist/avl/index.js +1321 -1299
- package/dist/components/atoms/avl/Avl3DLabel.d.ts +23 -0
- package/dist/components/atoms/avl/Avl3DTooltip.d.ts +25 -0
- package/dist/components/atoms/avl/index.d.ts +2 -0
- package/dist/components/index.cjs +3 -1
- package/dist/components/index.js +3 -1
- package/dist/components/molecules/avl/Avl3DCrossWire.d.ts +22 -0
- package/dist/components/molecules/avl/Avl3DEntityCore.d.ts +26 -0
- package/dist/components/molecules/avl/Avl3DExprTree.d.ts +21 -0
- package/dist/components/molecules/avl/Avl3DOrbitalNode.d.ts +29 -0
- package/dist/components/molecules/avl/Avl3DStateNode.d.ts +34 -0
- package/dist/components/molecules/avl/Avl3DTransitionArc.d.ts +38 -0
- package/dist/components/molecules/avl/index.d.ts +6 -0
- package/dist/components/organisms/avl/Avl3DApplicationScene.d.ts +19 -0
- package/dist/components/organisms/avl/Avl3DEffects.d.ts +18 -0
- package/dist/components/organisms/avl/Avl3DOrbitalScene.d.ts +23 -0
- package/dist/components/organisms/avl/Avl3DTraitScene.d.ts +19 -0
- package/dist/components/organisms/avl/Avl3DTransitionScene.d.ts +17 -0
- package/dist/components/organisms/avl/Avl3DViewer.d.ts +40 -0
- package/dist/components/organisms/avl/avl-3d-context.d.ts +32 -0
- package/dist/components/organisms/avl/avl-3d-layout.d.ts +116 -0
- package/dist/components/organisms/game/three/index.cjs +2549 -120
- package/dist/components/organisms/game/three/index.d.ts +8 -0
- package/dist/components/organisms/game/three/index.js +2419 -5
- package/dist/illustrations/index.cjs +2880 -109
- package/dist/illustrations/index.js +2879 -108
- package/dist/providers/OrbitalProvider.d.ts +4 -2
- package/dist/providers/index.cjs +263 -284
- package/dist/providers/index.js +189 -210
- package/dist/runtime/OrbPreview.d.ts +9 -6
- package/dist/runtime/ServerBridge.d.ts +23 -0
- package/dist/runtime/enrichFromResponse.d.ts +21 -0
- package/dist/runtime/index.cjs +31754 -2587
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.js +31735 -2571
- package/package.json +5 -2
package/dist/avl/index.d.cts
CHANGED
|
@@ -312,53 +312,6 @@ declare function curveControlPoint(x1: number, y1: number, x2: number, y2: numbe
|
|
|
312
312
|
cpy: number;
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
/**
|
|
316
|
-
* AVL Cosmic Zoom State Machine
|
|
317
|
-
*
|
|
318
|
-
* useReducer-based state machine managing which zoom level is displayed,
|
|
319
|
-
* what is selected, and animation state.
|
|
320
|
-
*
|
|
321
|
-
* @packageDocumentation
|
|
322
|
-
*/
|
|
323
|
-
type ZoomLevel = 'application' | 'orbital' | 'trait' | 'transition';
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* AvlCosmicZoom - Interactive Zoomable Orbital Visualization
|
|
327
|
-
*
|
|
328
|
-
* The host organism that owns the SVG viewport and delegates to
|
|
329
|
-
* scene renderers at each zoom level. Manages animation, pan/zoom,
|
|
330
|
-
* and breadcrumb navigation.
|
|
331
|
-
*
|
|
332
|
-
* @packageDocumentation
|
|
333
|
-
*/
|
|
334
|
-
|
|
335
|
-
interface AvlCosmicZoomProps {
|
|
336
|
-
/** The orbital schema (parsed object or JSON string) */
|
|
337
|
-
schema: OrbitalSchema | string;
|
|
338
|
-
/** CSS class for the outer container */
|
|
339
|
-
className?: string;
|
|
340
|
-
/** Primary color for the visualization */
|
|
341
|
-
color?: string;
|
|
342
|
-
/** Enable animations (default: true) */
|
|
343
|
-
animated?: boolean;
|
|
344
|
-
/** Pre-select an orbital on mount */
|
|
345
|
-
initialOrbital?: string;
|
|
346
|
-
/** Pre-select a trait on mount */
|
|
347
|
-
initialTrait?: string;
|
|
348
|
-
/** Callback when zoom level changes */
|
|
349
|
-
onZoomChange?: (level: ZoomLevel, context: {
|
|
350
|
-
orbital?: string;
|
|
351
|
-
trait?: string;
|
|
352
|
-
}) => void;
|
|
353
|
-
/** Container width */
|
|
354
|
-
width?: number | string;
|
|
355
|
-
/** Container height */
|
|
356
|
-
height?: number | string;
|
|
357
|
-
/** Coverage data for verification overlay */
|
|
358
|
-
stateCoverage?: Record<string, 'covered' | 'uncovered' | 'partial'>;
|
|
359
|
-
}
|
|
360
|
-
declare const AvlCosmicZoom: React.FC<AvlCosmicZoomProps>;
|
|
361
|
-
|
|
362
315
|
/**
|
|
363
316
|
* AVL Schema Parser
|
|
364
317
|
*
|
|
@@ -486,6 +439,53 @@ declare function parseTraitLevel(schema: OrbitalSchema, orbitalName: string, tra
|
|
|
486
439
|
*/
|
|
487
440
|
declare function parseTransitionLevel(schema: OrbitalSchema, orbitalName: string, traitName: string, transitionIndex: number): TransitionLevelData | null;
|
|
488
441
|
|
|
442
|
+
/**
|
|
443
|
+
* AVL Cosmic Zoom State Machine
|
|
444
|
+
*
|
|
445
|
+
* useReducer-based state machine managing which zoom level is displayed,
|
|
446
|
+
* what is selected, and animation state.
|
|
447
|
+
*
|
|
448
|
+
* @packageDocumentation
|
|
449
|
+
*/
|
|
450
|
+
type ZoomLevel = 'application' | 'orbital' | 'trait' | 'transition';
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* AvlCosmicZoom - Interactive Zoomable Orbital Visualization
|
|
454
|
+
*
|
|
455
|
+
* The host organism that owns the SVG viewport and delegates to
|
|
456
|
+
* scene renderers at each zoom level. Manages animation, pan/zoom,
|
|
457
|
+
* and breadcrumb navigation.
|
|
458
|
+
*
|
|
459
|
+
* @packageDocumentation
|
|
460
|
+
*/
|
|
461
|
+
|
|
462
|
+
interface AvlCosmicZoomProps {
|
|
463
|
+
/** The orbital schema (parsed object or JSON string) */
|
|
464
|
+
schema: OrbitalSchema | string;
|
|
465
|
+
/** CSS class for the outer container */
|
|
466
|
+
className?: string;
|
|
467
|
+
/** Primary color for the visualization */
|
|
468
|
+
color?: string;
|
|
469
|
+
/** Enable animations (default: true) */
|
|
470
|
+
animated?: boolean;
|
|
471
|
+
/** Pre-select an orbital on mount */
|
|
472
|
+
initialOrbital?: string;
|
|
473
|
+
/** Pre-select a trait on mount */
|
|
474
|
+
initialTrait?: string;
|
|
475
|
+
/** Callback when zoom level changes */
|
|
476
|
+
onZoomChange?: (level: ZoomLevel, context: {
|
|
477
|
+
orbital?: string;
|
|
478
|
+
trait?: string;
|
|
479
|
+
}) => void;
|
|
480
|
+
/** Container width */
|
|
481
|
+
width?: number | string;
|
|
482
|
+
/** Container height */
|
|
483
|
+
height?: number | string;
|
|
484
|
+
/** Coverage data for verification overlay */
|
|
485
|
+
stateCoverage?: Record<string, 'covered' | 'uncovered' | 'partial'>;
|
|
486
|
+
}
|
|
487
|
+
declare const AvlCosmicZoom: React.FC<AvlCosmicZoomProps>;
|
|
488
|
+
|
|
489
489
|
/**
|
|
490
490
|
* AvlApplicationScene - Zoom Level 1
|
|
491
491
|
*
|