@fundamental-engine/elements 0.7.0 → 0.9.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/README.md +2 -2
- package/custom-elements.json +746 -72
- package/dist/index.d.ts +64 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +181 -7
- package/dist/index.js.map +1 -1
- package/dist/platform-runtime.d.ts.map +1 -1
- package/dist/platform-runtime.js +6 -2
- package/dist/platform-runtime.js.map +1 -1
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"privacy": "private",
|
|
369
369
|
"static": true,
|
|
370
370
|
"readonly": true,
|
|
371
|
-
"default": "[ { key: 'density', attr: 'density', read: (el) => el.density }, { key: 'waves', attr: 'waves', read: (el) => el.waves }, { key: 'depth', attr: 'depth', read: (el) => el.depth }, { key: 'background', attr: 'background', read: (el) => el.background }, { key: 'render', attr: 'render', read: (el) => el.renderMode }, { key: 'overlay', attr: 'overlay', read: (el) => el.overlay }, { key: 'palette', attr: 'palette', read: (el) => el.palette }, { key: 'mass', attr: 'mass', read: (el) => el.mass }, { key: 'attention', attr: 'attention', read: (el) => el.attention }, { key: 'causality', attr: 'causality', read: (el) => el.causality }, { key: 'heatmap', attr: 'heatmap', read: (el) => el.heatmap }, { key: 'dprCap', attr: 'dpr-cap', read: (el) => el.dprCap }, ]",
|
|
371
|
+
"default": "[ { key: 'density', attr: 'density', read: (el) => el.density }, { key: 'waves', attr: 'waves', read: (el) => el.waves }, { key: 'depth', attr: 'depth', read: (el) => el.depth }, { key: 'background', attr: 'background', read: (el) => el.background }, { key: 'render', attr: 'render', read: (el) => el.renderMode }, { key: 'overlay', attr: 'overlay', read: (el) => el.overlay }, { key: 'palette', attr: 'palette', read: (el) => el.palette }, { key: 'mass', attr: 'mass', read: (el) => el.mass }, { key: 'attention', attr: 'attention', read: (el) => el.attention }, { key: 'causality', attr: 'causality', read: (el) => el.causality }, { key: 'heatmap', attr: 'heatmap', read: (el) => el.heatmap }, { key: 'dprCap', attr: 'dpr-cap', read: (el) => el.dprCap }, { key: 'gridWarp', attr: 'grid-warp', read: (el) => el.gridWarp }, { key: 'gridIntensity', attr: 'grid-intensity', read: (el) => el.gridIntensity }, { key: 'theme', attr: 'theme', read: (el) => el.theme }, { key: 'gradientCool', attr: 'gradient-cool', read: (el) => el.gradientCool }, { key: 'gradientWarm', attr: 'gradient-warm', read: (el) => el.gradientWarm }, { key: 'waveBaseline', attr: 'wave-baseline', read: (el) => el.waveBaseline }, { key: 'waveStyle', attr: 'wave-style', read: (el) => el.waveStyle }, { key: 'waveCenter', attr: 'wave-center', read: (el) => el.waveCenter }, { key: 'separation', attr: 'separation', read: (el) => el.separation }, ]",
|
|
372
372
|
"description": "The engine options `<field-root>` forwards to `createBrowserField`, as ONE declarative table —\nthe single source of truth for the option object built in `start()`, so a new forwarded\n`FieldOption` can never be silently dropped from forwarding the way `depth` once was. `accent`\n(raw passthrough so a `palette` with no `accent` adopts the palette stop) and\n`overlayCanvas`/`feedbackSink` (managed internally) are special-cased in `start()` and absent here.\n\n`observedAttributes` stays an explicit literal below — the Custom-Elements-Manifest analyzer reads\nit statically and can't enumerate a computed array — but the `option-attrs-observed` test pins it\nto this table (every `attr` here must be observed), so the two lists can't drift apart."
|
|
373
373
|
},
|
|
374
374
|
{
|
|
@@ -388,6 +388,16 @@
|
|
|
388
388
|
},
|
|
389
389
|
"privacy": "private"
|
|
390
390
|
},
|
|
391
|
+
{
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "reflecting",
|
|
394
|
+
"type": {
|
|
395
|
+
"text": "boolean"
|
|
396
|
+
},
|
|
397
|
+
"privacy": "private",
|
|
398
|
+
"default": "false",
|
|
399
|
+
"description": "guard: true while an imperative setter is reflecting its value back to an attribute, so the\nresulting attributeChangedCallback skips re-applying it (no double-apply / feedback loop) — #541."
|
|
400
|
+
},
|
|
391
401
|
{
|
|
392
402
|
"kind": "field",
|
|
393
403
|
"name": "overlayCanvas",
|
|
@@ -465,7 +475,7 @@
|
|
|
465
475
|
"type": {
|
|
466
476
|
"text": "'dots' | 'trails' | 'links' | 'metaballs' | 'voronoi' | 'streamlines' | 'flow' | 'none'"
|
|
467
477
|
},
|
|
468
|
-
"description": "render mode (§20.6); `none`
|
|
478
|
+
"description": "render mode (§20.6); the DEFAULT is `none` (#538) — the signals-only engine: simulate + feed back,\nnever draw (#297). Set `render=\"dots\"` (or another drawing mode) to get a visible surface.",
|
|
469
479
|
"readonly": true
|
|
470
480
|
},
|
|
471
481
|
{
|
|
@@ -549,6 +559,130 @@
|
|
|
549
559
|
"description": "`depth` — optional z-volume; undefined (engine default 0, the flat field) if absent/invalid.",
|
|
550
560
|
"readonly": true
|
|
551
561
|
},
|
|
562
|
+
{
|
|
563
|
+
"kind": "field",
|
|
564
|
+
"name": "gridWarp",
|
|
565
|
+
"type": {
|
|
566
|
+
"text": "number | undefined"
|
|
567
|
+
},
|
|
568
|
+
"description": "`grid-warp` — `grid` overlay distortion multiplier; undefined (engine default 1) if absent/invalid.\n`0` is valid (a flat, undistorted lattice).",
|
|
569
|
+
"readonly": true
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"kind": "field",
|
|
573
|
+
"name": "gridIntensity",
|
|
574
|
+
"type": {
|
|
575
|
+
"text": "number | undefined"
|
|
576
|
+
},
|
|
577
|
+
"description": "`grid-intensity` — `grid` overlay stroke opacity ∈ [0,1]; undefined (engine default 0.16, the faint\ndiagnostic) if absent/invalid. Raise it (≈0.5) to make the warped lattice a visual centerpiece.",
|
|
578
|
+
"readonly": true
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"kind": "field",
|
|
582
|
+
"name": "separation",
|
|
583
|
+
"type": {
|
|
584
|
+
"text": "number | undefined"
|
|
585
|
+
},
|
|
586
|
+
"description": "`separation` — particle-to-particle separation force strength ∈ [0,1]; undefined if absent/invalid.",
|
|
587
|
+
"readonly": true
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"kind": "field",
|
|
591
|
+
"name": "theme",
|
|
592
|
+
"type": {
|
|
593
|
+
"text": "string | undefined"
|
|
594
|
+
},
|
|
595
|
+
"description": "`theme` — ambient palette preset (`warm` (default) | `cool` | `mono`); undefined if absent (#529).",
|
|
596
|
+
"readonly": true
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "field",
|
|
600
|
+
"name": "gradientCool",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "string | undefined"
|
|
603
|
+
},
|
|
604
|
+
"description": "`gradient-cool` — hex for the cool end of the heat ramp; overrides the theme (#529).",
|
|
605
|
+
"readonly": true
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "field",
|
|
609
|
+
"name": "gradientWarm",
|
|
610
|
+
"type": {
|
|
611
|
+
"text": "string | undefined"
|
|
612
|
+
},
|
|
613
|
+
"description": "`gradient-warm` — hex for the warm end of the heat ramp; overrides the theme (#529).",
|
|
614
|
+
"readonly": true
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "field",
|
|
618
|
+
"name": "waveBaseline",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "readonly string[] | undefined"
|
|
621
|
+
},
|
|
622
|
+
"description": "`wave-baseline` — space-separated hex stops for the wave baseline; overrides the theme (#529).",
|
|
623
|
+
"readonly": true
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"kind": "field",
|
|
627
|
+
"name": "waveStyle",
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "'linear' | 'circular'"
|
|
630
|
+
},
|
|
631
|
+
"description": "`wave-style` — wave layout style: `'linear'` | `'circular'`",
|
|
632
|
+
"readonly": true
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"kind": "field",
|
|
636
|
+
"name": "waveCenter",
|
|
637
|
+
"type": {
|
|
638
|
+
"text": "{ x: number; y: number } | null"
|
|
639
|
+
},
|
|
640
|
+
"description": "`wave-center` — coordinates string space-separated e.g. \"200 300\"",
|
|
641
|
+
"readonly": true
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"kind": "field",
|
|
645
|
+
"name": "formation",
|
|
646
|
+
"type": {
|
|
647
|
+
"text": "string | undefined"
|
|
648
|
+
},
|
|
649
|
+
"description": "`formation` — the global formation (§7), applied live; undefined if absent. Unlike the other\nattributes this is post-construction (set via `setFormation`), but it round-trips: the attribute\ndrives the field and `setFormation` reflects back to it (#541).",
|
|
650
|
+
"readonly": true
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "field",
|
|
654
|
+
"name": "handle",
|
|
655
|
+
"type": {
|
|
656
|
+
"text": "FieldHandle | undefined"
|
|
657
|
+
},
|
|
658
|
+
"description": "the live `FieldHandle` this element drives, or `undefined` before mount / after teardown (#542).\nEvery method below is forwarded for convenience, but `.handle` is the escape hatch for the full\nsurface and for passing the field to `bindData` / `applyRecipe` (both from `@fundamental-engine/dom`):\n`import { bindData } from '@fundamental-engine/dom'; bindData(el.handle, rows, spec);`",
|
|
659
|
+
"readonly": true
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"kind": "method",
|
|
663
|
+
"name": "reflect",
|
|
664
|
+
"privacy": "private",
|
|
665
|
+
"return": {
|
|
666
|
+
"type": {
|
|
667
|
+
"text": "void"
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"parameters": [
|
|
671
|
+
{
|
|
672
|
+
"name": "attr",
|
|
673
|
+
"type": {
|
|
674
|
+
"text": "string"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "value",
|
|
679
|
+
"type": {
|
|
680
|
+
"text": "string | null"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"description": "reflect an imperative setter's value back to its attribute, so attribute-based debugging shows the\nLIVE state (the bug from #541 was a stale `render=\"none\"` after `setRender`). Guarded so the\nresulting attributeChangedCallback does not re-apply it. Pass `null` to remove the attribute."
|
|
685
|
+
},
|
|
552
686
|
{
|
|
553
687
|
"kind": "method",
|
|
554
688
|
"name": "scan",
|
|
@@ -623,6 +757,60 @@
|
|
|
623
757
|
],
|
|
624
758
|
"description": "switch the global formation (§7)."
|
|
625
759
|
},
|
|
760
|
+
{
|
|
761
|
+
"kind": "method",
|
|
762
|
+
"name": "setWaveStyle",
|
|
763
|
+
"return": {
|
|
764
|
+
"type": {
|
|
765
|
+
"text": "void"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"parameters": [
|
|
769
|
+
{
|
|
770
|
+
"name": "style",
|
|
771
|
+
"type": {
|
|
772
|
+
"text": "'linear' | 'circular'"
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"description": "switch the wave current layout style."
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"kind": "method",
|
|
780
|
+
"name": "setWaveCenter",
|
|
781
|
+
"return": {
|
|
782
|
+
"type": {
|
|
783
|
+
"text": "void"
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"parameters": [
|
|
787
|
+
{
|
|
788
|
+
"name": "center",
|
|
789
|
+
"type": {
|
|
790
|
+
"text": "{ x: number; y: number } | (() => { x: number; y: number }) | null"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"description": "set the custom wave center coordinate (or function)."
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"kind": "method",
|
|
798
|
+
"name": "setSeparation",
|
|
799
|
+
"return": {
|
|
800
|
+
"type": {
|
|
801
|
+
"text": "void"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"parameters": [
|
|
805
|
+
{
|
|
806
|
+
"name": "strength",
|
|
807
|
+
"type": {
|
|
808
|
+
"text": "number"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"description": "set particle-to-particle separation/repulsion force strength."
|
|
813
|
+
},
|
|
626
814
|
{
|
|
627
815
|
"kind": "method",
|
|
628
816
|
"name": "setAttention",
|
|
@@ -713,6 +901,24 @@
|
|
|
713
901
|
],
|
|
714
902
|
"description": "lower/raise the backing-store DPR ceiling at runtime (the dominant fill-rate lever)."
|
|
715
903
|
},
|
|
904
|
+
{
|
|
905
|
+
"kind": "method",
|
|
906
|
+
"name": "setQualityTier",
|
|
907
|
+
"return": {
|
|
908
|
+
"type": {
|
|
909
|
+
"text": "void"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"parameters": [
|
|
913
|
+
{
|
|
914
|
+
"name": "tier",
|
|
915
|
+
"type": {
|
|
916
|
+
"text": "number"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
],
|
|
920
|
+
"description": "apply an adaptive quality tier 0–3 (#413) — the platform runtime forwards the governor's tier."
|
|
921
|
+
},
|
|
716
922
|
{
|
|
717
923
|
"kind": "method",
|
|
718
924
|
"name": "setRender",
|
|
@@ -1175,6 +1381,43 @@
|
|
|
1175
1381
|
],
|
|
1176
1382
|
"description": "subscribe to a discrete field event (absorb/release/settle); a no-op unsubscribe until the field starts."
|
|
1177
1383
|
},
|
|
1384
|
+
{
|
|
1385
|
+
"kind": "field",
|
|
1386
|
+
"name": "version",
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "string"
|
|
1389
|
+
},
|
|
1390
|
+
"description": "the running engine version (`FIELD_VERSION`) — available before mount too.",
|
|
1391
|
+
"readonly": true
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "method",
|
|
1395
|
+
"name": "scrollV",
|
|
1396
|
+
"return": {
|
|
1397
|
+
"type": {
|
|
1398
|
+
"text": "number"
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
"description": "the page's scroll velocity the engine tracks (drives `--field-scroll-v`); 0 before mount."
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "method",
|
|
1405
|
+
"name": "setVisible",
|
|
1406
|
+
"return": {
|
|
1407
|
+
"type": {
|
|
1408
|
+
"text": "void"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"parameters": [
|
|
1412
|
+
{
|
|
1413
|
+
"name": "on",
|
|
1414
|
+
"type": {
|
|
1415
|
+
"text": "boolean"
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
],
|
|
1419
|
+
"description": "pause/resume drawing (the simulation keeps running) — the element also does this automatically\nfrom its IntersectionObserver, so a manual call is for explicit control."
|
|
1420
|
+
},
|
|
1178
1421
|
{
|
|
1179
1422
|
"kind": "method",
|
|
1180
1423
|
"name": "start",
|
|
@@ -1228,8 +1471,38 @@
|
|
|
1228
1471
|
{
|
|
1229
1472
|
"name": "dpr-cap"
|
|
1230
1473
|
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "grid-warp"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "grid-intensity"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"name": "theme"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "gradient-cool"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "gradient-warm"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "wave-baseline"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "wave-style"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "wave-center"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "separation"
|
|
1500
|
+
},
|
|
1231
1501
|
{
|
|
1232
1502
|
"name": "background"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "formation"
|
|
1233
1506
|
}
|
|
1234
1507
|
],
|
|
1235
1508
|
"superclass": {
|
|
@@ -1341,26 +1614,251 @@
|
|
|
1341
1614
|
"module": "src/index.ts"
|
|
1342
1615
|
}
|
|
1343
1616
|
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "grid-warp",
|
|
1619
|
+
"inheritedFrom": {
|
|
1620
|
+
"name": "FieldField",
|
|
1621
|
+
"module": "src/index.ts"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "grid-intensity",
|
|
1626
|
+
"inheritedFrom": {
|
|
1627
|
+
"name": "FieldField",
|
|
1628
|
+
"module": "src/index.ts"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "theme",
|
|
1633
|
+
"inheritedFrom": {
|
|
1634
|
+
"name": "FieldField",
|
|
1635
|
+
"module": "src/index.ts"
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"name": "gradient-cool",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "FieldField",
|
|
1642
|
+
"module": "src/index.ts"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "gradient-warm",
|
|
1647
|
+
"inheritedFrom": {
|
|
1648
|
+
"name": "FieldField",
|
|
1649
|
+
"module": "src/index.ts"
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "wave-baseline",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "FieldField",
|
|
1656
|
+
"module": "src/index.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"name": "wave-style",
|
|
1661
|
+
"inheritedFrom": {
|
|
1662
|
+
"name": "FieldField",
|
|
1663
|
+
"module": "src/index.ts"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"name": "wave-center",
|
|
1668
|
+
"inheritedFrom": {
|
|
1669
|
+
"name": "FieldField",
|
|
1670
|
+
"module": "src/index.ts"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "separation",
|
|
1675
|
+
"inheritedFrom": {
|
|
1676
|
+
"name": "FieldField",
|
|
1677
|
+
"module": "src/index.ts"
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1344
1680
|
{
|
|
1345
1681
|
"name": "background",
|
|
1346
1682
|
"inheritedFrom": {
|
|
1347
1683
|
"name": "FieldField",
|
|
1348
1684
|
"module": "src/index.ts"
|
|
1349
1685
|
}
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"name": "formation",
|
|
1689
|
+
"inheritedFrom": {
|
|
1690
|
+
"name": "FieldField",
|
|
1691
|
+
"module": "src/index.ts"
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
],
|
|
1695
|
+
"members": [
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "OPTIONS",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "ReadonlyArray<{\n key: keyof FieldOptions;\n attr: string;\n read: (el: FieldField) => unknown;\n }>"
|
|
1701
|
+
},
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"static": true,
|
|
1704
|
+
"readonly": true,
|
|
1705
|
+
"default": "[ { key: 'density', attr: 'density', read: (el) => el.density }, { key: 'waves', attr: 'waves', read: (el) => el.waves }, { key: 'depth', attr: 'depth', read: (el) => el.depth }, { key: 'background', attr: 'background', read: (el) => el.background }, { key: 'render', attr: 'render', read: (el) => el.renderMode }, { key: 'overlay', attr: 'overlay', read: (el) => el.overlay }, { key: 'palette', attr: 'palette', read: (el) => el.palette }, { key: 'mass', attr: 'mass', read: (el) => el.mass }, { key: 'attention', attr: 'attention', read: (el) => el.attention }, { key: 'causality', attr: 'causality', read: (el) => el.causality }, { key: 'heatmap', attr: 'heatmap', read: (el) => el.heatmap }, { key: 'dprCap', attr: 'dpr-cap', read: (el) => el.dprCap }, { key: 'gridWarp', attr: 'grid-warp', read: (el) => el.gridWarp }, { key: 'gridIntensity', attr: 'grid-intensity', read: (el) => el.gridIntensity }, { key: 'theme', attr: 'theme', read: (el) => el.theme }, { key: 'gradientCool', attr: 'gradient-cool', read: (el) => el.gradientCool }, { key: 'gradientWarm', attr: 'gradient-warm', read: (el) => el.gradientWarm }, { key: 'waveBaseline', attr: 'wave-baseline', read: (el) => el.waveBaseline }, { key: 'waveStyle', attr: 'wave-style', read: (el) => el.waveStyle }, { key: 'waveCenter', attr: 'wave-center', read: (el) => el.waveCenter }, { key: 'separation', attr: 'separation', read: (el) => el.separation }, ]",
|
|
1706
|
+
"description": "The engine options `<field-root>` forwards to `createBrowserField`, as ONE declarative table —\nthe single source of truth for the option object built in `start()`, so a new forwarded\n`FieldOption` can never be silently dropped from forwarding the way `depth` once was. `accent`\n(raw passthrough so a `palette` with no `accent` adopts the palette stop) and\n`overlayCanvas`/`feedbackSink` (managed internally) are special-cased in `start()` and absent here.\n\n`observedAttributes` stays an explicit literal below — the Custom-Elements-Manifest analyzer reads\nit statically and can't enumerate a computed array — but the `option-attrs-observed` test pins it\nto this table (every `attr` here must be observed), so the two lists can't drift apart.",
|
|
1707
|
+
"inheritedFrom": {
|
|
1708
|
+
"name": "FieldField",
|
|
1709
|
+
"module": "src/index.ts"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"kind": "field",
|
|
1714
|
+
"name": "canvas",
|
|
1715
|
+
"type": {
|
|
1716
|
+
"text": "HTMLCanvasElement"
|
|
1717
|
+
},
|
|
1718
|
+
"privacy": "private",
|
|
1719
|
+
"readonly": true,
|
|
1720
|
+
"inheritedFrom": {
|
|
1721
|
+
"name": "FieldField",
|
|
1722
|
+
"module": "src/index.ts"
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"kind": "field",
|
|
1727
|
+
"name": "field",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "FieldHandle | undefined"
|
|
1730
|
+
},
|
|
1731
|
+
"privacy": "private",
|
|
1732
|
+
"inheritedFrom": {
|
|
1733
|
+
"name": "FieldField",
|
|
1734
|
+
"module": "src/index.ts"
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"kind": "field",
|
|
1739
|
+
"name": "reflecting",
|
|
1740
|
+
"type": {
|
|
1741
|
+
"text": "boolean"
|
|
1742
|
+
},
|
|
1743
|
+
"privacy": "private",
|
|
1744
|
+
"default": "false",
|
|
1745
|
+
"description": "guard: true while an imperative setter is reflecting its value back to an attribute, so the\nresulting attributeChangedCallback skips re-applying it (no double-apply / feedback loop) — #541.",
|
|
1746
|
+
"inheritedFrom": {
|
|
1747
|
+
"name": "FieldField",
|
|
1748
|
+
"module": "src/index.ts"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"kind": "field",
|
|
1753
|
+
"name": "overlayCanvas",
|
|
1754
|
+
"type": {
|
|
1755
|
+
"text": "HTMLCanvasElement | undefined"
|
|
1756
|
+
},
|
|
1757
|
+
"privacy": "private",
|
|
1758
|
+
"description": "Field Surfaces: the optional front overlay surface (light-DOM, above content).",
|
|
1759
|
+
"inheritedFrom": {
|
|
1760
|
+
"name": "FieldField",
|
|
1761
|
+
"module": "src/index.ts"
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"kind": "field",
|
|
1766
|
+
"name": "visibilityObserver",
|
|
1767
|
+
"type": {
|
|
1768
|
+
"text": "IntersectionObserver | undefined"
|
|
1769
|
+
},
|
|
1770
|
+
"privacy": "private",
|
|
1771
|
+
"description": "element-level visibility: pages can hide the field (display:none) — skip draw work then.",
|
|
1772
|
+
"inheritedFrom": {
|
|
1773
|
+
"name": "FieldField",
|
|
1774
|
+
"module": "src/index.ts"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "field",
|
|
1779
|
+
"name": "fieldVisible",
|
|
1780
|
+
"type": {
|
|
1781
|
+
"text": "boolean"
|
|
1782
|
+
},
|
|
1783
|
+
"privacy": "private",
|
|
1784
|
+
"default": "true",
|
|
1785
|
+
"inheritedFrom": {
|
|
1786
|
+
"name": "FieldField",
|
|
1787
|
+
"module": "src/index.ts"
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"kind": "field",
|
|
1792
|
+
"name": "platformRuntime",
|
|
1793
|
+
"type": {
|
|
1794
|
+
"text": "PlatformRuntime | undefined"
|
|
1795
|
+
},
|
|
1796
|
+
"description": "experimental platform runtime (Phase D); present only when the flag is on.",
|
|
1797
|
+
"inheritedFrom": {
|
|
1798
|
+
"name": "FieldField",
|
|
1799
|
+
"module": "src/index.ts"
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "platform",
|
|
1805
|
+
"type": {
|
|
1806
|
+
"text": "FieldPlatform | undefined"
|
|
1807
|
+
},
|
|
1808
|
+
"description": "The live `@fundamental-engine/dom` instance backing this field (Phase D default), or `undefined` on\nthe legacy path. Read-only introspection for tools like the Inspector — the registries here are\nthe real running state (measurements, state, feedback bindings, relationships, overlays, lint).\nRead with `measure.last()` etc.; don't call `measure.measure()` off the read phase.",
|
|
1809
|
+
"readonly": true,
|
|
1810
|
+
"inheritedFrom": {
|
|
1811
|
+
"name": "FieldField",
|
|
1812
|
+
"module": "src/index.ts"
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"kind": "field",
|
|
1817
|
+
"name": "accent",
|
|
1818
|
+
"type": {
|
|
1819
|
+
"text": "string"
|
|
1820
|
+
},
|
|
1821
|
+
"description": "the travelling accent (§9); defaults to the first palette color.",
|
|
1822
|
+
"readonly": true,
|
|
1823
|
+
"inheritedFrom": {
|
|
1824
|
+
"name": "FieldField",
|
|
1825
|
+
"module": "src/index.ts"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"kind": "field",
|
|
1830
|
+
"name": "density",
|
|
1831
|
+
"type": {
|
|
1832
|
+
"text": "number"
|
|
1833
|
+
},
|
|
1834
|
+
"description": "particle-count multiplier (§2.5).",
|
|
1835
|
+
"readonly": true,
|
|
1836
|
+
"inheritedFrom": {
|
|
1837
|
+
"name": "FieldField",
|
|
1838
|
+
"module": "src/index.ts"
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"kind": "field",
|
|
1843
|
+
"name": "waves",
|
|
1844
|
+
"type": {
|
|
1845
|
+
"text": "boolean"
|
|
1846
|
+
},
|
|
1847
|
+
"description": "draw the background Currents (§24).",
|
|
1848
|
+
"readonly": true,
|
|
1849
|
+
"inheritedFrom": {
|
|
1850
|
+
"name": "FieldField",
|
|
1851
|
+
"module": "src/index.ts"
|
|
1852
|
+
}
|
|
1853
|
+
},
|
|
1353
1854
|
{
|
|
1354
1855
|
"kind": "field",
|
|
1355
|
-
"name": "
|
|
1856
|
+
"name": "renderMode",
|
|
1356
1857
|
"type": {
|
|
1357
|
-
"text": "
|
|
1858
|
+
"text": "'dots' | 'trails' | 'links' | 'metaballs' | 'voronoi' | 'streamlines' | 'flow' | 'none'"
|
|
1358
1859
|
},
|
|
1359
|
-
"
|
|
1360
|
-
"static": true,
|
|
1860
|
+
"description": "render mode (§20.6); the DEFAULT is `none` (#538) — the signals-only engine: simulate + feed back,\nnever draw (#297). Set `render=\"dots\"` (or another drawing mode) to get a visible surface.",
|
|
1361
1861
|
"readonly": true,
|
|
1362
|
-
"default": "[ { key: 'density', attr: 'density', read: (el) => el.density }, { key: 'waves', attr: 'waves', read: (el) => el.waves }, { key: 'depth', attr: 'depth', read: (el) => el.depth }, { key: 'background', attr: 'background', read: (el) => el.background }, { key: 'render', attr: 'render', read: (el) => el.renderMode }, { key: 'overlay', attr: 'overlay', read: (el) => el.overlay }, { key: 'palette', attr: 'palette', read: (el) => el.palette }, { key: 'mass', attr: 'mass', read: (el) => el.mass }, { key: 'attention', attr: 'attention', read: (el) => el.attention }, { key: 'causality', attr: 'causality', read: (el) => el.causality }, { key: 'heatmap', attr: 'heatmap', read: (el) => el.heatmap }, { key: 'dprCap', attr: 'dpr-cap', read: (el) => el.dprCap }, ]",
|
|
1363
|
-
"description": "The engine options `<field-root>` forwards to `createBrowserField`, as ONE declarative table —\nthe single source of truth for the option object built in `start()`, so a new forwarded\n`FieldOption` can never be silently dropped from forwarding the way `depth` once was. `accent`\n(raw passthrough so a `palette` with no `accent` adopts the palette stop) and\n`overlayCanvas`/`feedbackSink` (managed internally) are special-cased in `start()` and absent here.\n\n`observedAttributes` stays an explicit literal below — the Custom-Elements-Manifest analyzer reads\nit statically and can't enumerate a computed array — but the `option-attrs-observed` test pins it\nto this table (every `attr` here must be observed), so the two lists can't drift apart.",
|
|
1364
1862
|
"inheritedFrom": {
|
|
1365
1863
|
"name": "FieldField",
|
|
1366
1864
|
"module": "src/index.ts"
|
|
@@ -1368,11 +1866,11 @@
|
|
|
1368
1866
|
},
|
|
1369
1867
|
{
|
|
1370
1868
|
"kind": "field",
|
|
1371
|
-
"name": "
|
|
1869
|
+
"name": "background",
|
|
1372
1870
|
"type": {
|
|
1373
|
-
"text": "
|
|
1871
|
+
"text": "'opaque' | 'transparent'"
|
|
1374
1872
|
},
|
|
1375
|
-
"
|
|
1873
|
+
"description": "substrate background: `transparent` (present and not `\"false\"`) clears to transparent so the\nunderlay composites over light content; default `opaque` paints the near-black substrate.",
|
|
1376
1874
|
"readonly": true,
|
|
1377
1875
|
"inheritedFrom": {
|
|
1378
1876
|
"name": "FieldField",
|
|
@@ -1381,11 +1879,12 @@
|
|
|
1381
1879
|
},
|
|
1382
1880
|
{
|
|
1383
1881
|
"kind": "field",
|
|
1384
|
-
"name": "
|
|
1882
|
+
"name": "overlay",
|
|
1385
1883
|
"type": {
|
|
1386
|
-
"text": "
|
|
1884
|
+
"text": "OverlayInput"
|
|
1387
1885
|
},
|
|
1388
|
-
"
|
|
1886
|
+
"description": "Field Surfaces: the overlay reading(s) — one mode or a space-separated additive stack. Default `off`.",
|
|
1887
|
+
"readonly": true,
|
|
1389
1888
|
"inheritedFrom": {
|
|
1390
1889
|
"name": "FieldField",
|
|
1391
1890
|
"module": "src/index.ts"
|
|
@@ -1393,12 +1892,12 @@
|
|
|
1393
1892
|
},
|
|
1394
1893
|
{
|
|
1395
1894
|
"kind": "field",
|
|
1396
|
-
"name": "
|
|
1895
|
+
"name": "palette",
|
|
1397
1896
|
"type": {
|
|
1398
|
-
"text": "
|
|
1897
|
+
"text": "string | undefined"
|
|
1399
1898
|
},
|
|
1400
|
-
"
|
|
1401
|
-
"
|
|
1899
|
+
"description": "color template name for the travelling accent (§9), or undefined for `ours`.",
|
|
1900
|
+
"readonly": true,
|
|
1402
1901
|
"inheritedFrom": {
|
|
1403
1902
|
"name": "FieldField",
|
|
1404
1903
|
"module": "src/index.ts"
|
|
@@ -1406,12 +1905,12 @@
|
|
|
1406
1905
|
},
|
|
1407
1906
|
{
|
|
1408
1907
|
"kind": "field",
|
|
1409
|
-
"name": "
|
|
1908
|
+
"name": "attention",
|
|
1410
1909
|
"type": {
|
|
1411
|
-
"text": "
|
|
1910
|
+
"text": "boolean"
|
|
1412
1911
|
},
|
|
1413
|
-
"
|
|
1414
|
-
"
|
|
1912
|
+
"description": "conserved attention (§2.4): present and not `\"false\"` → one finite strength budget.",
|
|
1913
|
+
"readonly": true,
|
|
1415
1914
|
"inheritedFrom": {
|
|
1416
1915
|
"name": "FieldField",
|
|
1417
1916
|
"module": "src/index.ts"
|
|
@@ -1419,12 +1918,12 @@
|
|
|
1419
1918
|
},
|
|
1420
1919
|
{
|
|
1421
1920
|
"kind": "field",
|
|
1422
|
-
"name": "
|
|
1921
|
+
"name": "causality",
|
|
1423
1922
|
"type": {
|
|
1424
1923
|
"text": "boolean"
|
|
1425
1924
|
},
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1925
|
+
"description": "cross-boundary causality (Concept 4): present and not `\"false\"` → density spills.",
|
|
1926
|
+
"readonly": true,
|
|
1428
1927
|
"inheritedFrom": {
|
|
1429
1928
|
"name": "FieldField",
|
|
1430
1929
|
"module": "src/index.ts"
|
|
@@ -1432,11 +1931,12 @@
|
|
|
1432
1931
|
},
|
|
1433
1932
|
{
|
|
1434
1933
|
"kind": "field",
|
|
1435
|
-
"name": "
|
|
1934
|
+
"name": "mass",
|
|
1436
1935
|
"type": {
|
|
1437
|
-
"text": "
|
|
1936
|
+
"text": "boolean"
|
|
1438
1937
|
},
|
|
1439
|
-
"description": "
|
|
1938
|
+
"description": "first-class mass (§21.3): present and not `\"false\"` → particle mass ∝ size.",
|
|
1939
|
+
"readonly": true,
|
|
1440
1940
|
"inheritedFrom": {
|
|
1441
1941
|
"name": "FieldField",
|
|
1442
1942
|
"module": "src/index.ts"
|
|
@@ -1444,11 +1944,11 @@
|
|
|
1444
1944
|
},
|
|
1445
1945
|
{
|
|
1446
1946
|
"kind": "field",
|
|
1447
|
-
"name": "
|
|
1947
|
+
"name": "heatmap",
|
|
1448
1948
|
"type": {
|
|
1449
|
-
"text": "
|
|
1949
|
+
"text": "boolean"
|
|
1450
1950
|
},
|
|
1451
|
-
"description": "
|
|
1951
|
+
"description": "density heatmap (field-systems H1): present and not `\"false\"` → the pooling glow underlay.",
|
|
1452
1952
|
"readonly": true,
|
|
1453
1953
|
"inheritedFrom": {
|
|
1454
1954
|
"name": "FieldField",
|
|
@@ -1457,11 +1957,11 @@
|
|
|
1457
1957
|
},
|
|
1458
1958
|
{
|
|
1459
1959
|
"kind": "field",
|
|
1460
|
-
"name": "
|
|
1960
|
+
"name": "dprCap",
|
|
1461
1961
|
"type": {
|
|
1462
|
-
"text": "
|
|
1962
|
+
"text": "number | undefined"
|
|
1463
1963
|
},
|
|
1464
|
-
"description": "
|
|
1964
|
+
"description": "`dpr-cap` — backing-store DPR ceiling (#410); undefined (engine default 2) if absent/invalid.",
|
|
1465
1965
|
"readonly": true,
|
|
1466
1966
|
"inheritedFrom": {
|
|
1467
1967
|
"name": "FieldField",
|
|
@@ -1470,11 +1970,11 @@
|
|
|
1470
1970
|
},
|
|
1471
1971
|
{
|
|
1472
1972
|
"kind": "field",
|
|
1473
|
-
"name": "
|
|
1973
|
+
"name": "depth",
|
|
1474
1974
|
"type": {
|
|
1475
|
-
"text": "number"
|
|
1975
|
+
"text": "number | undefined"
|
|
1476
1976
|
},
|
|
1477
|
-
"description": "
|
|
1977
|
+
"description": "`depth` — optional z-volume; undefined (engine default 0, the flat field) if absent/invalid.",
|
|
1478
1978
|
"readonly": true,
|
|
1479
1979
|
"inheritedFrom": {
|
|
1480
1980
|
"name": "FieldField",
|
|
@@ -1483,11 +1983,11 @@
|
|
|
1483
1983
|
},
|
|
1484
1984
|
{
|
|
1485
1985
|
"kind": "field",
|
|
1486
|
-
"name": "
|
|
1986
|
+
"name": "gridWarp",
|
|
1487
1987
|
"type": {
|
|
1488
|
-
"text": "
|
|
1988
|
+
"text": "number | undefined"
|
|
1489
1989
|
},
|
|
1490
|
-
"description": "
|
|
1990
|
+
"description": "`grid-warp` — `grid` overlay distortion multiplier; undefined (engine default 1) if absent/invalid.\n`0` is valid (a flat, undistorted lattice).",
|
|
1491
1991
|
"readonly": true,
|
|
1492
1992
|
"inheritedFrom": {
|
|
1493
1993
|
"name": "FieldField",
|
|
@@ -1496,11 +1996,11 @@
|
|
|
1496
1996
|
},
|
|
1497
1997
|
{
|
|
1498
1998
|
"kind": "field",
|
|
1499
|
-
"name": "
|
|
1999
|
+
"name": "gridIntensity",
|
|
1500
2000
|
"type": {
|
|
1501
|
-
"text": "
|
|
2001
|
+
"text": "number | undefined"
|
|
1502
2002
|
},
|
|
1503
|
-
"description": "
|
|
2003
|
+
"description": "`grid-intensity` — `grid` overlay stroke opacity ∈ [0,1]; undefined (engine default 0.16, the faint\ndiagnostic) if absent/invalid. Raise it (≈0.5) to make the warped lattice a visual centerpiece.",
|
|
1504
2004
|
"readonly": true,
|
|
1505
2005
|
"inheritedFrom": {
|
|
1506
2006
|
"name": "FieldField",
|
|
@@ -1509,11 +2009,11 @@
|
|
|
1509
2009
|
},
|
|
1510
2010
|
{
|
|
1511
2011
|
"kind": "field",
|
|
1512
|
-
"name": "
|
|
2012
|
+
"name": "separation",
|
|
1513
2013
|
"type": {
|
|
1514
|
-
"text": "
|
|
2014
|
+
"text": "number | undefined"
|
|
1515
2015
|
},
|
|
1516
|
-
"description": "
|
|
2016
|
+
"description": "`separation` — particle-to-particle separation force strength ∈ [0,1]; undefined if absent/invalid.",
|
|
1517
2017
|
"readonly": true,
|
|
1518
2018
|
"inheritedFrom": {
|
|
1519
2019
|
"name": "FieldField",
|
|
@@ -1522,11 +2022,11 @@
|
|
|
1522
2022
|
},
|
|
1523
2023
|
{
|
|
1524
2024
|
"kind": "field",
|
|
1525
|
-
"name": "
|
|
2025
|
+
"name": "theme",
|
|
1526
2026
|
"type": {
|
|
1527
|
-
"text": "
|
|
2027
|
+
"text": "string | undefined"
|
|
1528
2028
|
},
|
|
1529
|
-
"description": "
|
|
2029
|
+
"description": "`theme` — ambient palette preset (`warm` (default) | `cool` | `mono`); undefined if absent (#529).",
|
|
1530
2030
|
"readonly": true,
|
|
1531
2031
|
"inheritedFrom": {
|
|
1532
2032
|
"name": "FieldField",
|
|
@@ -1535,11 +2035,11 @@
|
|
|
1535
2035
|
},
|
|
1536
2036
|
{
|
|
1537
2037
|
"kind": "field",
|
|
1538
|
-
"name": "
|
|
2038
|
+
"name": "gradientCool",
|
|
1539
2039
|
"type": {
|
|
1540
2040
|
"text": "string | undefined"
|
|
1541
2041
|
},
|
|
1542
|
-
"description": "
|
|
2042
|
+
"description": "`gradient-cool` — hex for the cool end of the heat ramp; overrides the theme (#529).",
|
|
1543
2043
|
"readonly": true,
|
|
1544
2044
|
"inheritedFrom": {
|
|
1545
2045
|
"name": "FieldField",
|
|
@@ -1548,11 +2048,11 @@
|
|
|
1548
2048
|
},
|
|
1549
2049
|
{
|
|
1550
2050
|
"kind": "field",
|
|
1551
|
-
"name": "
|
|
2051
|
+
"name": "gradientWarm",
|
|
1552
2052
|
"type": {
|
|
1553
|
-
"text": "
|
|
2053
|
+
"text": "string | undefined"
|
|
1554
2054
|
},
|
|
1555
|
-
"description": "
|
|
2055
|
+
"description": "`gradient-warm` — hex for the warm end of the heat ramp; overrides the theme (#529).",
|
|
1556
2056
|
"readonly": true,
|
|
1557
2057
|
"inheritedFrom": {
|
|
1558
2058
|
"name": "FieldField",
|
|
@@ -1561,11 +2061,11 @@
|
|
|
1561
2061
|
},
|
|
1562
2062
|
{
|
|
1563
2063
|
"kind": "field",
|
|
1564
|
-
"name": "
|
|
2064
|
+
"name": "waveBaseline",
|
|
1565
2065
|
"type": {
|
|
1566
|
-
"text": "
|
|
2066
|
+
"text": "readonly string[] | undefined"
|
|
1567
2067
|
},
|
|
1568
|
-
"description": "
|
|
2068
|
+
"description": "`wave-baseline` — space-separated hex stops for the wave baseline; overrides the theme (#529).",
|
|
1569
2069
|
"readonly": true,
|
|
1570
2070
|
"inheritedFrom": {
|
|
1571
2071
|
"name": "FieldField",
|
|
@@ -1574,11 +2074,11 @@
|
|
|
1574
2074
|
},
|
|
1575
2075
|
{
|
|
1576
2076
|
"kind": "field",
|
|
1577
|
-
"name": "
|
|
2077
|
+
"name": "waveStyle",
|
|
1578
2078
|
"type": {
|
|
1579
|
-
"text": "
|
|
2079
|
+
"text": "'linear' | 'circular'"
|
|
1580
2080
|
},
|
|
1581
|
-
"description": "
|
|
2081
|
+
"description": "`wave-style` — wave layout style: `'linear'` | `'circular'`",
|
|
1582
2082
|
"readonly": true,
|
|
1583
2083
|
"inheritedFrom": {
|
|
1584
2084
|
"name": "FieldField",
|
|
@@ -1587,11 +2087,11 @@
|
|
|
1587
2087
|
},
|
|
1588
2088
|
{
|
|
1589
2089
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
2090
|
+
"name": "waveCenter",
|
|
1591
2091
|
"type": {
|
|
1592
|
-
"text": "
|
|
2092
|
+
"text": "{ x: number; y: number } | null"
|
|
1593
2093
|
},
|
|
1594
|
-
"description": "
|
|
2094
|
+
"description": "`wave-center` — coordinates string space-separated e.g. \"200 300\"",
|
|
1595
2095
|
"readonly": true,
|
|
1596
2096
|
"inheritedFrom": {
|
|
1597
2097
|
"name": "FieldField",
|
|
@@ -1600,11 +2100,11 @@
|
|
|
1600
2100
|
},
|
|
1601
2101
|
{
|
|
1602
2102
|
"kind": "field",
|
|
1603
|
-
"name": "
|
|
2103
|
+
"name": "formation",
|
|
1604
2104
|
"type": {
|
|
1605
|
-
"text": "
|
|
2105
|
+
"text": "string | undefined"
|
|
1606
2106
|
},
|
|
1607
|
-
"description": "`
|
|
2107
|
+
"description": "`formation` — the global formation (§7), applied live; undefined if absent. Unlike the other\nattributes this is post-construction (set via `setFormation`), but it round-trips: the attribute\ndrives the field and `setFormation` reflects back to it (#541).",
|
|
1608
2108
|
"readonly": true,
|
|
1609
2109
|
"inheritedFrom": {
|
|
1610
2110
|
"name": "FieldField",
|
|
@@ -1613,17 +2113,46 @@
|
|
|
1613
2113
|
},
|
|
1614
2114
|
{
|
|
1615
2115
|
"kind": "field",
|
|
1616
|
-
"name": "
|
|
2116
|
+
"name": "handle",
|
|
1617
2117
|
"type": {
|
|
1618
|
-
"text": "
|
|
2118
|
+
"text": "FieldHandle | undefined"
|
|
1619
2119
|
},
|
|
1620
|
-
"description": "`
|
|
2120
|
+
"description": "the live `FieldHandle` this element drives, or `undefined` before mount / after teardown (#542).\nEvery method below is forwarded for convenience, but `.handle` is the escape hatch for the full\nsurface and for passing the field to `bindData` / `applyRecipe` (both from `@fundamental-engine/dom`):\n`import { bindData } from '@fundamental-engine/dom'; bindData(el.handle, rows, spec);`",
|
|
1621
2121
|
"readonly": true,
|
|
1622
2122
|
"inheritedFrom": {
|
|
1623
2123
|
"name": "FieldField",
|
|
1624
2124
|
"module": "src/index.ts"
|
|
1625
2125
|
}
|
|
1626
2126
|
},
|
|
2127
|
+
{
|
|
2128
|
+
"kind": "method",
|
|
2129
|
+
"name": "reflect",
|
|
2130
|
+
"privacy": "private",
|
|
2131
|
+
"return": {
|
|
2132
|
+
"type": {
|
|
2133
|
+
"text": "void"
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
"parameters": [
|
|
2137
|
+
{
|
|
2138
|
+
"name": "attr",
|
|
2139
|
+
"type": {
|
|
2140
|
+
"text": "string"
|
|
2141
|
+
}
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"name": "value",
|
|
2145
|
+
"type": {
|
|
2146
|
+
"text": "string | null"
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
],
|
|
2150
|
+
"description": "reflect an imperative setter's value back to its attribute, so attribute-based debugging shows the\nLIVE state (the bug from #541 was a stale `render=\"none\"` after `setRender`). Guarded so the\nresulting attributeChangedCallback does not re-apply it. Pass `null` to remove the attribute.",
|
|
2151
|
+
"inheritedFrom": {
|
|
2152
|
+
"name": "FieldField",
|
|
2153
|
+
"module": "src/index.ts"
|
|
2154
|
+
}
|
|
2155
|
+
},
|
|
1627
2156
|
{
|
|
1628
2157
|
"kind": "method",
|
|
1629
2158
|
"name": "scan",
|
|
@@ -1718,6 +2247,72 @@
|
|
|
1718
2247
|
"module": "src/index.ts"
|
|
1719
2248
|
}
|
|
1720
2249
|
},
|
|
2250
|
+
{
|
|
2251
|
+
"kind": "method",
|
|
2252
|
+
"name": "setWaveStyle",
|
|
2253
|
+
"return": {
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "void"
|
|
2256
|
+
}
|
|
2257
|
+
},
|
|
2258
|
+
"parameters": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "style",
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "'linear' | 'circular'"
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
],
|
|
2266
|
+
"description": "switch the wave current layout style.",
|
|
2267
|
+
"inheritedFrom": {
|
|
2268
|
+
"name": "FieldField",
|
|
2269
|
+
"module": "src/index.ts"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"kind": "method",
|
|
2274
|
+
"name": "setWaveCenter",
|
|
2275
|
+
"return": {
|
|
2276
|
+
"type": {
|
|
2277
|
+
"text": "void"
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"parameters": [
|
|
2281
|
+
{
|
|
2282
|
+
"name": "center",
|
|
2283
|
+
"type": {
|
|
2284
|
+
"text": "{ x: number; y: number } | (() => { x: number; y: number }) | null"
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
],
|
|
2288
|
+
"description": "set the custom wave center coordinate (or function).",
|
|
2289
|
+
"inheritedFrom": {
|
|
2290
|
+
"name": "FieldField",
|
|
2291
|
+
"module": "src/index.ts"
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"kind": "method",
|
|
2296
|
+
"name": "setSeparation",
|
|
2297
|
+
"return": {
|
|
2298
|
+
"type": {
|
|
2299
|
+
"text": "void"
|
|
2300
|
+
}
|
|
2301
|
+
},
|
|
2302
|
+
"parameters": [
|
|
2303
|
+
{
|
|
2304
|
+
"name": "strength",
|
|
2305
|
+
"type": {
|
|
2306
|
+
"text": "number"
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
],
|
|
2310
|
+
"description": "set particle-to-particle separation/repulsion force strength.",
|
|
2311
|
+
"inheritedFrom": {
|
|
2312
|
+
"name": "FieldField",
|
|
2313
|
+
"module": "src/index.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
1721
2316
|
{
|
|
1722
2317
|
"kind": "method",
|
|
1723
2318
|
"name": "setAttention",
|
|
@@ -1828,6 +2423,28 @@
|
|
|
1828
2423
|
"module": "src/index.ts"
|
|
1829
2424
|
}
|
|
1830
2425
|
},
|
|
2426
|
+
{
|
|
2427
|
+
"kind": "method",
|
|
2428
|
+
"name": "setQualityTier",
|
|
2429
|
+
"return": {
|
|
2430
|
+
"type": {
|
|
2431
|
+
"text": "void"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"parameters": [
|
|
2435
|
+
{
|
|
2436
|
+
"name": "tier",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "number"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
],
|
|
2442
|
+
"description": "apply an adaptive quality tier 0–3 (#413) — the platform runtime forwards the governor's tier.",
|
|
2443
|
+
"inheritedFrom": {
|
|
2444
|
+
"name": "FieldField",
|
|
2445
|
+
"module": "src/index.ts"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
1831
2448
|
{
|
|
1832
2449
|
"kind": "method",
|
|
1833
2450
|
"name": "setRender",
|
|
@@ -2382,6 +2999,55 @@
|
|
|
2382
2999
|
"module": "src/index.ts"
|
|
2383
3000
|
}
|
|
2384
3001
|
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "field",
|
|
3004
|
+
"name": "version",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "string"
|
|
3007
|
+
},
|
|
3008
|
+
"description": "the running engine version (`FIELD_VERSION`) — available before mount too.",
|
|
3009
|
+
"readonly": true,
|
|
3010
|
+
"inheritedFrom": {
|
|
3011
|
+
"name": "FieldField",
|
|
3012
|
+
"module": "src/index.ts"
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"kind": "method",
|
|
3017
|
+
"name": "scrollV",
|
|
3018
|
+
"return": {
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "number"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
"description": "the page's scroll velocity the engine tracks (drives `--field-scroll-v`); 0 before mount.",
|
|
3024
|
+
"inheritedFrom": {
|
|
3025
|
+
"name": "FieldField",
|
|
3026
|
+
"module": "src/index.ts"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"kind": "method",
|
|
3031
|
+
"name": "setVisible",
|
|
3032
|
+
"return": {
|
|
3033
|
+
"type": {
|
|
3034
|
+
"text": "void"
|
|
3035
|
+
}
|
|
3036
|
+
},
|
|
3037
|
+
"parameters": [
|
|
3038
|
+
{
|
|
3039
|
+
"name": "on",
|
|
3040
|
+
"type": {
|
|
3041
|
+
"text": "boolean"
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
],
|
|
3045
|
+
"description": "pause/resume drawing (the simulation keeps running) — the element also does this automatically\nfrom its IntersectionObserver, so a manual call is for explicit control.",
|
|
3046
|
+
"inheritedFrom": {
|
|
3047
|
+
"name": "FieldField",
|
|
3048
|
+
"module": "src/index.ts"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
2385
3051
|
{
|
|
2386
3052
|
"kind": "method",
|
|
2387
3053
|
"name": "start",
|
|
@@ -2544,6 +3210,14 @@
|
|
|
2544
3210
|
"name": "RegisterBodyDetail",
|
|
2545
3211
|
"package": "@fundamental-engine/core"
|
|
2546
3212
|
}
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"kind": "js",
|
|
3216
|
+
"name": "FIELD_VERSION",
|
|
3217
|
+
"declaration": {
|
|
3218
|
+
"name": "FIELD_VERSION",
|
|
3219
|
+
"package": "@fundamental-engine/core"
|
|
3220
|
+
}
|
|
2547
3221
|
}
|
|
2548
3222
|
]
|
|
2549
3223
|
},
|