@almadar/std 16.232.0 → 16.234.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/behaviors/behaviors-registry.json +1422 -133
- package/behaviors/lolo/ui/avl/atoms/ui-avl-glyph.lolo +54 -0
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +132 -0
- package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +5 -6
- package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +7 -8
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +6 -1
- package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +12 -2
- package/behaviors/lolo/ui/core/atoms/ui-box.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/ui-button.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +74 -0
- package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +17 -0
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +104 -2
- package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +1 -1
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +211 -0
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +761 -0
- package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +157 -66
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +158 -67
- package/behaviors/registry/ui/core/atoms/std-board.orb +9 -1
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +19 -3
- package/behaviors/registry/ui/core/atoms/ui-box.orb +2 -2
- package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -0
- package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +9 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +185 -0
- package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +81 -0
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +487 -2
- package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -2
- package/dist/behaviors/exports-reader.js +1891 -1476
- package/dist/behaviors/functions/index.d.ts +251 -10
- package/dist/behaviors/functions/index.js +1886 -1477
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +1892 -1477
- package/dist/behaviors/query.js +1891 -1476
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +19 -11
- package/dist/behaviors-registry.json +1422 -133
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1892 -1477
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +171 -7
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$generated": "2026-09-
|
|
2
|
+
"$generated": "2026-09-28T12:50:01.615Z",
|
|
3
3
|
"$source": "tools/almadar-pattern-sync/behaviors",
|
|
4
4
|
"$package": "@almadar/std",
|
|
5
|
-
"totalBehaviors":
|
|
6
|
-
"atoms":
|
|
5
|
+
"totalBehaviors": 442,
|
|
6
|
+
"atoms": 283,
|
|
7
7
|
"molecules": 119,
|
|
8
8
|
"organisms": 40,
|
|
9
9
|
"layers": {
|
|
10
|
-
"UI Patterns":
|
|
10
|
+
"UI Patterns": 429,
|
|
11
11
|
"ML": 13
|
|
12
12
|
},
|
|
13
13
|
"behaviors": {
|
|
@@ -20425,6 +20425,684 @@
|
|
|
20425
20425
|
"reactor"
|
|
20426
20426
|
]
|
|
20427
20427
|
},
|
|
20428
|
+
"ui-avl-glyph": {
|
|
20429
|
+
"name": "ui-avl-glyph",
|
|
20430
|
+
"level": "atom",
|
|
20431
|
+
"topic": "ui/avl",
|
|
20432
|
+
"family": "ui/avl",
|
|
20433
|
+
"layer": "UI Patterns",
|
|
20434
|
+
"description": "AvlGlyph — UI factory (1:1 with the @almadar/ui avl-glyph pattern).",
|
|
20435
|
+
"defaultOrbitalName": "AvlGlyphOrbital",
|
|
20436
|
+
"statePattern": "idle",
|
|
20437
|
+
"complexity": {
|
|
20438
|
+
"states": 1,
|
|
20439
|
+
"events": 1,
|
|
20440
|
+
"transitions": 1
|
|
20441
|
+
},
|
|
20442
|
+
"defaultEntity": {
|
|
20443
|
+
"name": "AvlGlyphItem",
|
|
20444
|
+
"persistence": "runtime",
|
|
20445
|
+
"fields": [
|
|
20446
|
+
{
|
|
20447
|
+
"name": "id",
|
|
20448
|
+
"type": "string",
|
|
20449
|
+
"required": true
|
|
20450
|
+
}
|
|
20451
|
+
]
|
|
20452
|
+
},
|
|
20453
|
+
"defaultLabels": {
|
|
20454
|
+
"title": "AvlGlyphItems",
|
|
20455
|
+
"entitySingular": "AvlGlyphItem",
|
|
20456
|
+
"entityPlural": "AvlGlyphItems"
|
|
20457
|
+
},
|
|
20458
|
+
"defaultIcons": [],
|
|
20459
|
+
"composableWith": [
|
|
20460
|
+
"std-integration-settings",
|
|
20461
|
+
"std-service-accounting",
|
|
20462
|
+
"std-service-arxiv",
|
|
20463
|
+
"std-service-banking",
|
|
20464
|
+
"std-service-calendar",
|
|
20465
|
+
"std-service-calendar-ical",
|
|
20466
|
+
"std-service-cli",
|
|
20467
|
+
"std-service-custom-bearer",
|
|
20468
|
+
"std-service-database",
|
|
20469
|
+
"std-service-deepagent",
|
|
20470
|
+
"std-service-docker",
|
|
20471
|
+
"std-service-drive",
|
|
20472
|
+
"std-service-email",
|
|
20473
|
+
"std-service-esign",
|
|
20474
|
+
"std-service-github",
|
|
20475
|
+
"std-service-iconify",
|
|
20476
|
+
"std-service-llm",
|
|
20477
|
+
"std-service-maps",
|
|
20478
|
+
"std-service-marketplace",
|
|
20479
|
+
"std-service-meta-ads",
|
|
20480
|
+
"std-service-ml",
|
|
20481
|
+
"std-service-oauth",
|
|
20482
|
+
"std-service-otel",
|
|
20483
|
+
"std-service-print",
|
|
20484
|
+
"std-service-push",
|
|
20485
|
+
"std-service-queue",
|
|
20486
|
+
"std-service-redis",
|
|
20487
|
+
"std-service-research-assistant",
|
|
20488
|
+
"std-service-storage",
|
|
20489
|
+
"std-service-stripe",
|
|
20490
|
+
"std-service-twilio",
|
|
20491
|
+
"std-service-webhook",
|
|
20492
|
+
"std-service-wikimedia",
|
|
20493
|
+
"std-service-youtube",
|
|
20494
|
+
"ui-avl-state-machine",
|
|
20495
|
+
"ui-behavior-view",
|
|
20496
|
+
"ui-module-card"
|
|
20497
|
+
],
|
|
20498
|
+
"connectableEvents": [],
|
|
20499
|
+
"eventPayloads": {},
|
|
20500
|
+
"exposure": "palette",
|
|
20501
|
+
"provenance": "generated",
|
|
20502
|
+
"pattern": "avl-glyph",
|
|
20503
|
+
"traits": [
|
|
20504
|
+
{
|
|
20505
|
+
"name": "AvlGlyphRender",
|
|
20506
|
+
"orbital": "AvlGlyphOrbital",
|
|
20507
|
+
"role": "renderer",
|
|
20508
|
+
"emittedEvents": [],
|
|
20509
|
+
"listenedEvents": [],
|
|
20510
|
+
"overridableConfigKeys": [
|
|
20511
|
+
{
|
|
20512
|
+
"key": "className",
|
|
20513
|
+
"type": "string",
|
|
20514
|
+
"label": "Class Name",
|
|
20515
|
+
"description": "className prop",
|
|
20516
|
+
"tier": "presentation"
|
|
20517
|
+
},
|
|
20518
|
+
{
|
|
20519
|
+
"key": "effectType",
|
|
20520
|
+
"type": "string",
|
|
20521
|
+
"label": "Effect Type",
|
|
20522
|
+
"description": "Effect symbol variant. @default 'set'",
|
|
20523
|
+
"tier": "presentation"
|
|
20524
|
+
},
|
|
20525
|
+
{
|
|
20526
|
+
"key": "kind",
|
|
20527
|
+
"type": "string",
|
|
20528
|
+
"default": "@state",
|
|
20529
|
+
"label": "Kind",
|
|
20530
|
+
"description": "Which notation symbol to draw.",
|
|
20531
|
+
"tier": "presentation",
|
|
20532
|
+
"enumValues": [
|
|
20533
|
+
"application",
|
|
20534
|
+
"orbital",
|
|
20535
|
+
"entity",
|
|
20536
|
+
"trait",
|
|
20537
|
+
"page",
|
|
20538
|
+
"state",
|
|
20539
|
+
"transition",
|
|
20540
|
+
"event",
|
|
20541
|
+
"guard",
|
|
20542
|
+
"effect",
|
|
20543
|
+
"field",
|
|
20544
|
+
"fieldType",
|
|
20545
|
+
"binding",
|
|
20546
|
+
"bindingRef",
|
|
20547
|
+
"persistence",
|
|
20548
|
+
"operator",
|
|
20549
|
+
"sexpr",
|
|
20550
|
+
"literal"
|
|
20551
|
+
]
|
|
20552
|
+
},
|
|
20553
|
+
{
|
|
20554
|
+
"key": "label",
|
|
20555
|
+
"type": "string",
|
|
20556
|
+
"label": "Label",
|
|
20557
|
+
"description": "Caption, and the drawn text for operator / literal / bindingRef symbols.",
|
|
20558
|
+
"tier": "presentation"
|
|
20559
|
+
},
|
|
20560
|
+
{
|
|
20561
|
+
"key": "showCaption",
|
|
20562
|
+
"type": "boolean",
|
|
20563
|
+
"default": true,
|
|
20564
|
+
"label": "Show Caption",
|
|
20565
|
+
"description": "Show the caption under the symbol. @default true",
|
|
20566
|
+
"tier": "presentation"
|
|
20567
|
+
},
|
|
20568
|
+
{
|
|
20569
|
+
"key": "size",
|
|
20570
|
+
"type": "string",
|
|
20571
|
+
"default": "md",
|
|
20572
|
+
"label": "Size",
|
|
20573
|
+
"description": "Symbol height. @default 'md'",
|
|
20574
|
+
"tier": "presentation",
|
|
20575
|
+
"enumValues": [
|
|
20576
|
+
"sm",
|
|
20577
|
+
"md",
|
|
20578
|
+
"lg"
|
|
20579
|
+
]
|
|
20580
|
+
}
|
|
20581
|
+
],
|
|
20582
|
+
"capabilities": [],
|
|
20583
|
+
"ticks": [],
|
|
20584
|
+
"rendersUi": true,
|
|
20585
|
+
"category": "interaction",
|
|
20586
|
+
"entityRebindable": true,
|
|
20587
|
+
"linkedEntity": "AvlGlyphItem",
|
|
20588
|
+
"entityContract": {
|
|
20589
|
+
"requires": [],
|
|
20590
|
+
"provides": []
|
|
20591
|
+
},
|
|
20592
|
+
"effectRow": [
|
|
20593
|
+
{
|
|
20594
|
+
"kind": "render-ui",
|
|
20595
|
+
"resource": "main"
|
|
20596
|
+
}
|
|
20597
|
+
],
|
|
20598
|
+
"transitionEvents": [
|
|
20599
|
+
"INIT"
|
|
20600
|
+
],
|
|
20601
|
+
"events": [
|
|
20602
|
+
{
|
|
20603
|
+
"name": "INIT",
|
|
20604
|
+
"direction": "listen"
|
|
20605
|
+
}
|
|
20606
|
+
],
|
|
20607
|
+
"definerKnobs": []
|
|
20608
|
+
}
|
|
20609
|
+
],
|
|
20610
|
+
"factoryPath": "behaviors/functions/ui/avl/atoms/ui-avl-glyph.ts",
|
|
20611
|
+
"roles": [
|
|
20612
|
+
"renderer"
|
|
20613
|
+
],
|
|
20614
|
+
"sourceValid": true
|
|
20615
|
+
},
|
|
20616
|
+
"ui-avl-state-machine": {
|
|
20617
|
+
"name": "ui-avl-state-machine",
|
|
20618
|
+
"level": "atom",
|
|
20619
|
+
"topic": "ui/avl",
|
|
20620
|
+
"family": "ui/avl",
|
|
20621
|
+
"layer": "UI Patterns",
|
|
20622
|
+
"description": "AvlStateMachine — UI factory (1:1 with the @almadar/ui avl-state-machine pattern).",
|
|
20623
|
+
"defaultOrbitalName": "AvlStateMachineOrbital",
|
|
20624
|
+
"statePattern": "idle",
|
|
20625
|
+
"complexity": {
|
|
20626
|
+
"states": 1,
|
|
20627
|
+
"events": 3,
|
|
20628
|
+
"transitions": 1
|
|
20629
|
+
},
|
|
20630
|
+
"defaultEntity": {
|
|
20631
|
+
"name": "AvlStateMachineItem",
|
|
20632
|
+
"persistence": "runtime",
|
|
20633
|
+
"fields": [
|
|
20634
|
+
{
|
|
20635
|
+
"name": "id",
|
|
20636
|
+
"type": "string",
|
|
20637
|
+
"required": true
|
|
20638
|
+
}
|
|
20639
|
+
]
|
|
20640
|
+
},
|
|
20641
|
+
"defaultLabels": {
|
|
20642
|
+
"title": "AvlStateMachineItems",
|
|
20643
|
+
"entitySingular": "AvlStateMachineItem",
|
|
20644
|
+
"entityPlural": "AvlStateMachineItems"
|
|
20645
|
+
},
|
|
20646
|
+
"defaultIcons": [],
|
|
20647
|
+
"composableWith": [
|
|
20648
|
+
"std-integration-settings",
|
|
20649
|
+
"std-service-accounting",
|
|
20650
|
+
"std-service-arxiv",
|
|
20651
|
+
"std-service-banking",
|
|
20652
|
+
"std-service-calendar",
|
|
20653
|
+
"std-service-calendar-ical",
|
|
20654
|
+
"std-service-cli",
|
|
20655
|
+
"std-service-custom-bearer",
|
|
20656
|
+
"std-service-database",
|
|
20657
|
+
"std-service-deepagent",
|
|
20658
|
+
"std-service-docker",
|
|
20659
|
+
"std-service-drive",
|
|
20660
|
+
"std-service-email",
|
|
20661
|
+
"std-service-esign",
|
|
20662
|
+
"std-service-github",
|
|
20663
|
+
"std-service-iconify",
|
|
20664
|
+
"std-service-llm",
|
|
20665
|
+
"std-service-maps",
|
|
20666
|
+
"std-service-marketplace",
|
|
20667
|
+
"std-service-meta-ads",
|
|
20668
|
+
"std-service-ml",
|
|
20669
|
+
"std-service-oauth",
|
|
20670
|
+
"std-service-otel",
|
|
20671
|
+
"std-service-print",
|
|
20672
|
+
"std-service-push",
|
|
20673
|
+
"std-service-queue",
|
|
20674
|
+
"std-service-redis",
|
|
20675
|
+
"std-service-research-assistant",
|
|
20676
|
+
"std-service-storage",
|
|
20677
|
+
"std-service-stripe",
|
|
20678
|
+
"std-service-twilio",
|
|
20679
|
+
"std-service-webhook",
|
|
20680
|
+
"std-service-wikimedia",
|
|
20681
|
+
"std-service-youtube",
|
|
20682
|
+
"ui-avl-glyph",
|
|
20683
|
+
"ui-behavior-view",
|
|
20684
|
+
"ui-module-card",
|
|
20685
|
+
"ui-state-machine-view"
|
|
20686
|
+
],
|
|
20687
|
+
"connectableEvents": [
|
|
20688
|
+
"@config.stateClickEvent",
|
|
20689
|
+
"@config.transitionClickEvent"
|
|
20690
|
+
],
|
|
20691
|
+
"eventPayloads": {},
|
|
20692
|
+
"exposure": "palette",
|
|
20693
|
+
"provenance": "generated",
|
|
20694
|
+
"pattern": "avl-state-machine",
|
|
20695
|
+
"traits": [
|
|
20696
|
+
{
|
|
20697
|
+
"name": "AvlStateMachineRender",
|
|
20698
|
+
"orbital": "AvlStateMachineOrbital",
|
|
20699
|
+
"role": "renderer",
|
|
20700
|
+
"emittedEvents": [
|
|
20701
|
+
"STATE_CLICK",
|
|
20702
|
+
"TRANSITION_CLICK"
|
|
20703
|
+
],
|
|
20704
|
+
"listenedEvents": [],
|
|
20705
|
+
"overridableConfigKeys": [
|
|
20706
|
+
{
|
|
20707
|
+
"key": "activeState",
|
|
20708
|
+
"type": "string",
|
|
20709
|
+
"label": "Active State",
|
|
20710
|
+
"description": "State execution is currently in.",
|
|
20711
|
+
"tier": "presentation"
|
|
20712
|
+
},
|
|
20713
|
+
{
|
|
20714
|
+
"key": "activeTransition",
|
|
20715
|
+
"type": "number",
|
|
20716
|
+
"label": "Active Transition",
|
|
20717
|
+
"description": "`index` of the transition that just fired.",
|
|
20718
|
+
"tier": "presentation"
|
|
20719
|
+
},
|
|
20720
|
+
{
|
|
20721
|
+
"key": "className",
|
|
20722
|
+
"type": "string",
|
|
20723
|
+
"label": "Class Name",
|
|
20724
|
+
"description": "className prop",
|
|
20725
|
+
"tier": "presentation"
|
|
20726
|
+
},
|
|
20727
|
+
{
|
|
20728
|
+
"key": "direction",
|
|
20729
|
+
"type": "string",
|
|
20730
|
+
"default": "ltr",
|
|
20731
|
+
"label": "Direction",
|
|
20732
|
+
"description": "Flow direction. @default 'ltr'",
|
|
20733
|
+
"tier": "presentation",
|
|
20734
|
+
"enumValues": [
|
|
20735
|
+
"ltr",
|
|
20736
|
+
"rtl"
|
|
20737
|
+
]
|
|
20738
|
+
},
|
|
20739
|
+
{
|
|
20740
|
+
"key": "entityFields",
|
|
20741
|
+
"type": "[string]",
|
|
20742
|
+
"default": [],
|
|
20743
|
+
"label": "Entity Fields",
|
|
20744
|
+
"description": "Entity field names listed in the header.",
|
|
20745
|
+
"tier": "presentation",
|
|
20746
|
+
"items": {
|
|
20747
|
+
"type": "string"
|
|
20748
|
+
}
|
|
20749
|
+
},
|
|
20750
|
+
{
|
|
20751
|
+
"key": "nodeShape",
|
|
20752
|
+
"type": "string",
|
|
20753
|
+
"default": "pill",
|
|
20754
|
+
"label": "Node Shape",
|
|
20755
|
+
"description": "Node silhouette. @default 'pill'",
|
|
20756
|
+
"tier": "presentation",
|
|
20757
|
+
"enumValues": [
|
|
20758
|
+
"pill",
|
|
20759
|
+
"gear"
|
|
20760
|
+
]
|
|
20761
|
+
},
|
|
20762
|
+
{
|
|
20763
|
+
"key": "pendingSourceState",
|
|
20764
|
+
"type": "string",
|
|
20765
|
+
"label": "Pending Source State",
|
|
20766
|
+
"description": "Source of a transition being drawn — the next state click picks its target.",
|
|
20767
|
+
"tier": "presentation"
|
|
20768
|
+
},
|
|
20769
|
+
{
|
|
20770
|
+
"key": "selectedState",
|
|
20771
|
+
"type": "string",
|
|
20772
|
+
"label": "Selected State",
|
|
20773
|
+
"description": "State picked in an editor (first click).",
|
|
20774
|
+
"tier": "presentation"
|
|
20775
|
+
},
|
|
20776
|
+
{
|
|
20777
|
+
"key": "showHeader",
|
|
20778
|
+
"type": "boolean",
|
|
20779
|
+
"default": true,
|
|
20780
|
+
"label": "Show Header",
|
|
20781
|
+
"description": "Show the trait header (name, entity, listens/emits). @default true",
|
|
20782
|
+
"tier": "presentation"
|
|
20783
|
+
},
|
|
20784
|
+
{
|
|
20785
|
+
"key": "stateClickEvent",
|
|
20786
|
+
"type": "event",
|
|
20787
|
+
"default": "STATE_CLICK",
|
|
20788
|
+
"label": "State Click Event",
|
|
20789
|
+
"description": "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
|
|
20790
|
+
"tier": "presentation"
|
|
20791
|
+
},
|
|
20792
|
+
{
|
|
20793
|
+
"key": "traitProp",
|
|
20794
|
+
"type": "AvlStateMachineTrait",
|
|
20795
|
+
"default": {
|
|
20796
|
+
"emittedEvents": [
|
|
20797
|
+
"ORDER_SAVED"
|
|
20798
|
+
],
|
|
20799
|
+
"linkedEntity": "Order",
|
|
20800
|
+
"listenedEvents": [
|
|
20801
|
+
"PAYMENT_OK"
|
|
20802
|
+
],
|
|
20803
|
+
"name": "OrderFlow",
|
|
20804
|
+
"states": [
|
|
20805
|
+
{
|
|
20806
|
+
"isInitial": true,
|
|
20807
|
+
"isTerminal": false,
|
|
20808
|
+
"name": "browsing"
|
|
20809
|
+
},
|
|
20810
|
+
{
|
|
20811
|
+
"isInitial": false,
|
|
20812
|
+
"isTerminal": false,
|
|
20813
|
+
"name": "editing"
|
|
20814
|
+
},
|
|
20815
|
+
{
|
|
20816
|
+
"isInitial": false,
|
|
20817
|
+
"isTerminal": false,
|
|
20818
|
+
"name": "saving"
|
|
20819
|
+
},
|
|
20820
|
+
{
|
|
20821
|
+
"isInitial": false,
|
|
20822
|
+
"isTerminal": true,
|
|
20823
|
+
"name": "confirmed"
|
|
20824
|
+
},
|
|
20825
|
+
{
|
|
20826
|
+
"isInitial": false,
|
|
20827
|
+
"isTerminal": false,
|
|
20828
|
+
"name": "failed"
|
|
20829
|
+
}
|
|
20830
|
+
],
|
|
20831
|
+
"transitions": [
|
|
20832
|
+
{
|
|
20833
|
+
"effects": [
|
|
20834
|
+
{
|
|
20835
|
+
"args": [],
|
|
20836
|
+
"type": "render-ui"
|
|
20837
|
+
}
|
|
20838
|
+
],
|
|
20839
|
+
"event": "EDIT",
|
|
20840
|
+
"from": "browsing",
|
|
20841
|
+
"index": 0,
|
|
20842
|
+
"to": "editing"
|
|
20843
|
+
},
|
|
20844
|
+
{
|
|
20845
|
+
"effects": [
|
|
20846
|
+
{
|
|
20847
|
+
"args": [],
|
|
20848
|
+
"type": "persist"
|
|
20849
|
+
},
|
|
20850
|
+
{
|
|
20851
|
+
"args": [],
|
|
20852
|
+
"type": "notify"
|
|
20853
|
+
}
|
|
20854
|
+
],
|
|
20855
|
+
"event": "SAVE",
|
|
20856
|
+
"from": "editing",
|
|
20857
|
+
"index": 1,
|
|
20858
|
+
"to": "saving"
|
|
20859
|
+
},
|
|
20860
|
+
{
|
|
20861
|
+
"effects": [
|
|
20862
|
+
{
|
|
20863
|
+
"args": [],
|
|
20864
|
+
"type": "emit"
|
|
20865
|
+
},
|
|
20866
|
+
{
|
|
20867
|
+
"args": [],
|
|
20868
|
+
"type": "render-ui"
|
|
20869
|
+
}
|
|
20870
|
+
],
|
|
20871
|
+
"event": "SAVED",
|
|
20872
|
+
"from": "saving",
|
|
20873
|
+
"index": 2,
|
|
20874
|
+
"to": "confirmed"
|
|
20875
|
+
},
|
|
20876
|
+
{
|
|
20877
|
+
"effects": [
|
|
20878
|
+
{
|
|
20879
|
+
"args": [],
|
|
20880
|
+
"type": "notify"
|
|
20881
|
+
}
|
|
20882
|
+
],
|
|
20883
|
+
"event": "SAVE_FAILED",
|
|
20884
|
+
"from": "saving",
|
|
20885
|
+
"index": 3,
|
|
20886
|
+
"to": "failed"
|
|
20887
|
+
},
|
|
20888
|
+
{
|
|
20889
|
+
"effects": [],
|
|
20890
|
+
"event": "RETRY",
|
|
20891
|
+
"from": "failed",
|
|
20892
|
+
"index": 4,
|
|
20893
|
+
"to": "editing"
|
|
20894
|
+
},
|
|
20895
|
+
{
|
|
20896
|
+
"effects": [
|
|
20897
|
+
{
|
|
20898
|
+
"args": [],
|
|
20899
|
+
"type": "render-ui"
|
|
20900
|
+
}
|
|
20901
|
+
],
|
|
20902
|
+
"event": "CANCEL",
|
|
20903
|
+
"from": "editing",
|
|
20904
|
+
"index": 5,
|
|
20905
|
+
"to": "browsing"
|
|
20906
|
+
},
|
|
20907
|
+
{
|
|
20908
|
+
"effects": [
|
|
20909
|
+
{
|
|
20910
|
+
"args": [],
|
|
20911
|
+
"type": "navigate"
|
|
20912
|
+
}
|
|
20913
|
+
],
|
|
20914
|
+
"event": "DONE",
|
|
20915
|
+
"from": "confirmed",
|
|
20916
|
+
"index": 6,
|
|
20917
|
+
"to": "browsing"
|
|
20918
|
+
}
|
|
20919
|
+
]
|
|
20920
|
+
},
|
|
20921
|
+
"label": "Trait",
|
|
20922
|
+
"description": "The trait to draw (see `parseTraitLevel`).",
|
|
20923
|
+
"synonyms": "trait",
|
|
20924
|
+
"tier": "presentation",
|
|
20925
|
+
"properties": {
|
|
20926
|
+
"emittedEvents": {
|
|
20927
|
+
"name": "emittedEvents",
|
|
20928
|
+
"required": true,
|
|
20929
|
+
"type": "array",
|
|
20930
|
+
"items": {
|
|
20931
|
+
"type": "string"
|
|
20932
|
+
}
|
|
20933
|
+
},
|
|
20934
|
+
"linkedEntity": {
|
|
20935
|
+
"name": "linkedEntity",
|
|
20936
|
+
"required": true,
|
|
20937
|
+
"type": "string"
|
|
20938
|
+
},
|
|
20939
|
+
"listenedEvents": {
|
|
20940
|
+
"name": "listenedEvents",
|
|
20941
|
+
"required": true,
|
|
20942
|
+
"type": "array",
|
|
20943
|
+
"items": {
|
|
20944
|
+
"type": "string"
|
|
20945
|
+
}
|
|
20946
|
+
},
|
|
20947
|
+
"name": {
|
|
20948
|
+
"name": "name",
|
|
20949
|
+
"required": true,
|
|
20950
|
+
"type": "string"
|
|
20951
|
+
},
|
|
20952
|
+
"states": {
|
|
20953
|
+
"name": "states",
|
|
20954
|
+
"required": true,
|
|
20955
|
+
"type": "array",
|
|
20956
|
+
"items": {
|
|
20957
|
+
"properties": {
|
|
20958
|
+
"isInitial": {
|
|
20959
|
+
"name": "isInitial",
|
|
20960
|
+
"required": false,
|
|
20961
|
+
"type": "boolean"
|
|
20962
|
+
},
|
|
20963
|
+
"isTerminal": {
|
|
20964
|
+
"name": "isTerminal",
|
|
20965
|
+
"required": false,
|
|
20966
|
+
"type": "boolean"
|
|
20967
|
+
},
|
|
20968
|
+
"name": {
|
|
20969
|
+
"name": "name",
|
|
20970
|
+
"required": true,
|
|
20971
|
+
"type": "string"
|
|
20972
|
+
}
|
|
20973
|
+
},
|
|
20974
|
+
"type": "object"
|
|
20975
|
+
}
|
|
20976
|
+
},
|
|
20977
|
+
"transitions": {
|
|
20978
|
+
"name": "transitions",
|
|
20979
|
+
"required": true,
|
|
20980
|
+
"type": "array",
|
|
20981
|
+
"items": {
|
|
20982
|
+
"properties": {
|
|
20983
|
+
"effects": {
|
|
20984
|
+
"name": "effects",
|
|
20985
|
+
"required": true,
|
|
20986
|
+
"type": "array",
|
|
20987
|
+
"items": {
|
|
20988
|
+
"properties": {
|
|
20989
|
+
"args": {
|
|
20990
|
+
"name": "args",
|
|
20991
|
+
"required": true,
|
|
20992
|
+
"type": "array",
|
|
20993
|
+
"items": {
|
|
20994
|
+
"type": "object"
|
|
20995
|
+
}
|
|
20996
|
+
},
|
|
20997
|
+
"type": {
|
|
20998
|
+
"name": "type",
|
|
20999
|
+
"required": true,
|
|
21000
|
+
"type": "string"
|
|
21001
|
+
}
|
|
21002
|
+
},
|
|
21003
|
+
"type": "object"
|
|
21004
|
+
}
|
|
21005
|
+
},
|
|
21006
|
+
"event": {
|
|
21007
|
+
"name": "event",
|
|
21008
|
+
"required": true,
|
|
21009
|
+
"type": "string"
|
|
21010
|
+
},
|
|
21011
|
+
"from": {
|
|
21012
|
+
"name": "from",
|
|
21013
|
+
"required": true,
|
|
21014
|
+
"type": "string"
|
|
21015
|
+
},
|
|
21016
|
+
"guard": {
|
|
21017
|
+
"name": "guard",
|
|
21018
|
+
"required": false,
|
|
21019
|
+
"type": "object"
|
|
21020
|
+
},
|
|
21021
|
+
"index": {
|
|
21022
|
+
"name": "index",
|
|
21023
|
+
"required": true,
|
|
21024
|
+
"type": "number"
|
|
21025
|
+
},
|
|
21026
|
+
"to": {
|
|
21027
|
+
"name": "to",
|
|
21028
|
+
"required": true,
|
|
21029
|
+
"type": "string"
|
|
21030
|
+
}
|
|
21031
|
+
},
|
|
21032
|
+
"type": "object"
|
|
21033
|
+
}
|
|
21034
|
+
}
|
|
21035
|
+
}
|
|
21036
|
+
},
|
|
21037
|
+
{
|
|
21038
|
+
"key": "transitionClickEvent",
|
|
21039
|
+
"type": "event",
|
|
21040
|
+
"default": "TRANSITION_CLICK",
|
|
21041
|
+
"label": "Transition Click Event",
|
|
21042
|
+
"description": "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
|
|
21043
|
+
"tier": "presentation"
|
|
21044
|
+
},
|
|
21045
|
+
{
|
|
21046
|
+
"key": "visitedStates",
|
|
21047
|
+
"type": "[string]",
|
|
21048
|
+
"default": [],
|
|
21049
|
+
"label": "Visited States",
|
|
21050
|
+
"description": "States already passed through, in order.",
|
|
21051
|
+
"tier": "presentation",
|
|
21052
|
+
"items": {
|
|
21053
|
+
"type": "string"
|
|
21054
|
+
}
|
|
21055
|
+
}
|
|
21056
|
+
],
|
|
21057
|
+
"capabilities": [],
|
|
21058
|
+
"ticks": [],
|
|
21059
|
+
"rendersUi": true,
|
|
21060
|
+
"category": "interaction",
|
|
21061
|
+
"entityRebindable": true,
|
|
21062
|
+
"linkedEntity": "AvlStateMachineItem",
|
|
21063
|
+
"entityContract": {
|
|
21064
|
+
"requires": [],
|
|
21065
|
+
"provides": []
|
|
21066
|
+
},
|
|
21067
|
+
"effectRow": [
|
|
21068
|
+
{
|
|
21069
|
+
"kind": "render-ui",
|
|
21070
|
+
"resource": "main"
|
|
21071
|
+
}
|
|
21072
|
+
],
|
|
21073
|
+
"transitionEvents": [
|
|
21074
|
+
"INIT"
|
|
21075
|
+
],
|
|
21076
|
+
"events": [
|
|
21077
|
+
{
|
|
21078
|
+
"name": "STATE_CLICK",
|
|
21079
|
+
"direction": "emit",
|
|
21080
|
+
"description": "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
|
|
21081
|
+
"tier": "essential"
|
|
21082
|
+
},
|
|
21083
|
+
{
|
|
21084
|
+
"name": "TRANSITION_CLICK",
|
|
21085
|
+
"direction": "emit",
|
|
21086
|
+
"description": "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
|
|
21087
|
+
"tier": "essential"
|
|
21088
|
+
},
|
|
21089
|
+
{
|
|
21090
|
+
"name": "INIT",
|
|
21091
|
+
"direction": "listen"
|
|
21092
|
+
}
|
|
21093
|
+
],
|
|
21094
|
+
"definerKnobs": [
|
|
21095
|
+
"stateClickEvent",
|
|
21096
|
+
"transitionClickEvent"
|
|
21097
|
+
]
|
|
21098
|
+
}
|
|
21099
|
+
],
|
|
21100
|
+
"factoryPath": "behaviors/functions/ui/avl/atoms/ui-avl-state-machine.ts",
|
|
21101
|
+
"roles": [
|
|
21102
|
+
"renderer"
|
|
21103
|
+
],
|
|
21104
|
+
"sourceValid": true
|
|
21105
|
+
},
|
|
20428
21106
|
"ui-behavior-view": {
|
|
20429
21107
|
"name": "ui-behavior-view",
|
|
20430
21108
|
"level": "atom",
|
|
@@ -20491,6 +21169,8 @@
|
|
|
20491
21169
|
"std-service-webhook",
|
|
20492
21170
|
"std-service-wikimedia",
|
|
20493
21171
|
"std-service-youtube",
|
|
21172
|
+
"ui-avl-glyph",
|
|
21173
|
+
"ui-avl-state-machine",
|
|
20494
21174
|
"ui-module-card"
|
|
20495
21175
|
],
|
|
20496
21176
|
"connectableEvents": [],
|
|
@@ -20510,81 +21190,188 @@
|
|
|
20510
21190
|
"key": "data",
|
|
20511
21191
|
"type": "BehaviorViewData",
|
|
20512
21192
|
"default": {
|
|
20513
|
-
"entityName": "
|
|
21193
|
+
"entityName": "Order",
|
|
20514
21194
|
"externalLinks": [
|
|
20515
21195
|
{
|
|
20516
|
-
"direction": "
|
|
20517
|
-
"eventName": "
|
|
20518
|
-
"targetOrbital": "
|
|
20519
|
-
"traitName": "
|
|
20520
|
-
},
|
|
20521
|
-
{
|
|
20522
|
-
"direction": "Direction 2",
|
|
20523
|
-
"eventName": "Event Name 2",
|
|
20524
|
-
"targetOrbital": "Target Orbital 2",
|
|
20525
|
-
"traitName": "Trait Name 2"
|
|
21196
|
+
"direction": "in",
|
|
21197
|
+
"eventName": "PAYMENT_OK",
|
|
21198
|
+
"targetOrbital": "PaymentOrbital",
|
|
21199
|
+
"traitName": "OrderFlow"
|
|
20526
21200
|
}
|
|
20527
21201
|
],
|
|
20528
21202
|
"fields": [
|
|
20529
21203
|
{
|
|
20530
21204
|
"hasDefault": false,
|
|
20531
|
-
"name": "
|
|
20532
|
-
"required":
|
|
20533
|
-
"type": "
|
|
21205
|
+
"name": "customer",
|
|
21206
|
+
"required": true,
|
|
21207
|
+
"type": "string"
|
|
20534
21208
|
},
|
|
20535
21209
|
{
|
|
20536
21210
|
"hasDefault": true,
|
|
20537
|
-
"name": "
|
|
21211
|
+
"name": "qty",
|
|
20538
21212
|
"required": true,
|
|
20539
|
-
"type": "
|
|
21213
|
+
"type": "number"
|
|
21214
|
+
},
|
|
21215
|
+
{
|
|
21216
|
+
"hasDefault": true,
|
|
21217
|
+
"name": "status",
|
|
21218
|
+
"required": false,
|
|
21219
|
+
"type": "string"
|
|
20540
21220
|
}
|
|
20541
21221
|
],
|
|
20542
|
-
"orbitalName": "
|
|
21222
|
+
"orbitalName": "OrderOrbital",
|
|
20543
21223
|
"pages": [
|
|
20544
21224
|
{
|
|
20545
|
-
"name": "
|
|
20546
|
-
"route": "
|
|
20547
|
-
},
|
|
20548
|
-
{
|
|
20549
|
-
"name": "Name 2",
|
|
20550
|
-
"route": "Route 2"
|
|
21225
|
+
"name": "Orders",
|
|
21226
|
+
"route": "/orders"
|
|
20551
21227
|
}
|
|
20552
21228
|
],
|
|
20553
|
-
"persistence": "
|
|
20554
|
-
"traitDetails": {
|
|
20555
|
-
|
|
20556
|
-
|
|
20557
|
-
|
|
20558
|
-
"Item",
|
|
20559
|
-
"Item 2"
|
|
21229
|
+
"persistence": "persistent",
|
|
21230
|
+
"traitDetails": {
|
|
21231
|
+
"OrderFlow": {
|
|
21232
|
+
"emittedEvents": [
|
|
21233
|
+
"ORDER_SAVED"
|
|
20560
21234
|
],
|
|
20561
|
-
"
|
|
20562
|
-
"
|
|
20563
|
-
"
|
|
20564
|
-
"Item 2"
|
|
21235
|
+
"linkedEntity": "Order",
|
|
21236
|
+
"listenedEvents": [
|
|
21237
|
+
"PAYMENT_OK"
|
|
20565
21238
|
],
|
|
20566
|
-
"name": "
|
|
20567
|
-
"
|
|
20568
|
-
|
|
20569
|
-
|
|
21239
|
+
"name": "OrderFlow",
|
|
21240
|
+
"states": [
|
|
21241
|
+
{
|
|
21242
|
+
"isInitial": true,
|
|
21243
|
+
"isTerminal": false,
|
|
21244
|
+
"name": "browsing"
|
|
21245
|
+
},
|
|
21246
|
+
{
|
|
21247
|
+
"isInitial": false,
|
|
21248
|
+
"isTerminal": false,
|
|
21249
|
+
"name": "editing"
|
|
21250
|
+
},
|
|
21251
|
+
{
|
|
21252
|
+
"isInitial": false,
|
|
21253
|
+
"isTerminal": false,
|
|
21254
|
+
"name": "saving"
|
|
21255
|
+
},
|
|
21256
|
+
{
|
|
21257
|
+
"isInitial": false,
|
|
21258
|
+
"isTerminal": true,
|
|
21259
|
+
"name": "confirmed"
|
|
21260
|
+
},
|
|
21261
|
+
{
|
|
21262
|
+
"isInitial": false,
|
|
21263
|
+
"isTerminal": false,
|
|
21264
|
+
"name": "failed"
|
|
21265
|
+
}
|
|
21266
|
+
],
|
|
21267
|
+
"transitions": [
|
|
21268
|
+
{
|
|
21269
|
+
"effects": [
|
|
21270
|
+
{
|
|
21271
|
+
"args": [],
|
|
21272
|
+
"type": "render-ui"
|
|
21273
|
+
}
|
|
21274
|
+
],
|
|
21275
|
+
"event": "EDIT",
|
|
21276
|
+
"from": "browsing",
|
|
21277
|
+
"index": 0,
|
|
21278
|
+
"to": "editing"
|
|
21279
|
+
},
|
|
21280
|
+
{
|
|
21281
|
+
"effects": [
|
|
21282
|
+
{
|
|
21283
|
+
"args": [],
|
|
21284
|
+
"type": "persist"
|
|
21285
|
+
},
|
|
21286
|
+
{
|
|
21287
|
+
"args": [],
|
|
21288
|
+
"type": "notify"
|
|
21289
|
+
}
|
|
21290
|
+
],
|
|
21291
|
+
"event": "SAVE",
|
|
21292
|
+
"from": "editing",
|
|
21293
|
+
"index": 1,
|
|
21294
|
+
"to": "saving"
|
|
21295
|
+
},
|
|
21296
|
+
{
|
|
21297
|
+
"effects": [
|
|
21298
|
+
{
|
|
21299
|
+
"args": [],
|
|
21300
|
+
"type": "emit"
|
|
21301
|
+
},
|
|
21302
|
+
{
|
|
21303
|
+
"args": [],
|
|
21304
|
+
"type": "render-ui"
|
|
21305
|
+
}
|
|
21306
|
+
],
|
|
21307
|
+
"event": "SAVED",
|
|
21308
|
+
"from": "saving",
|
|
21309
|
+
"index": 2,
|
|
21310
|
+
"to": "confirmed"
|
|
21311
|
+
},
|
|
21312
|
+
{
|
|
21313
|
+
"effects": [
|
|
21314
|
+
{
|
|
21315
|
+
"args": [],
|
|
21316
|
+
"type": "notify"
|
|
21317
|
+
}
|
|
21318
|
+
],
|
|
21319
|
+
"event": "SAVE_FAILED",
|
|
21320
|
+
"from": "saving",
|
|
21321
|
+
"index": 3,
|
|
21322
|
+
"to": "failed"
|
|
21323
|
+
},
|
|
21324
|
+
{
|
|
21325
|
+
"effects": [],
|
|
21326
|
+
"event": "RETRY",
|
|
21327
|
+
"from": "failed",
|
|
21328
|
+
"index": 4,
|
|
21329
|
+
"to": "editing"
|
|
21330
|
+
},
|
|
21331
|
+
{
|
|
21332
|
+
"effects": [
|
|
21333
|
+
{
|
|
21334
|
+
"args": [],
|
|
21335
|
+
"type": "render-ui"
|
|
21336
|
+
}
|
|
21337
|
+
],
|
|
21338
|
+
"event": "CANCEL",
|
|
21339
|
+
"from": "editing",
|
|
21340
|
+
"index": 5,
|
|
21341
|
+
"to": "browsing"
|
|
21342
|
+
},
|
|
21343
|
+
{
|
|
21344
|
+
"effects": [
|
|
21345
|
+
{
|
|
21346
|
+
"args": [],
|
|
21347
|
+
"type": "navigate"
|
|
21348
|
+
}
|
|
21349
|
+
],
|
|
21350
|
+
"event": "DONE",
|
|
21351
|
+
"from": "confirmed",
|
|
21352
|
+
"index": 6,
|
|
21353
|
+
"to": "browsing"
|
|
21354
|
+
}
|
|
21355
|
+
]
|
|
21356
|
+
}
|
|
21357
|
+
},
|
|
21358
|
+
"traits": [
|
|
20570
21359
|
{
|
|
20571
21360
|
"emits": [
|
|
20572
|
-
"
|
|
20573
|
-
"Item 2"
|
|
21361
|
+
"ORDER_SAVED"
|
|
20574
21362
|
],
|
|
20575
|
-
"eventCount":
|
|
21363
|
+
"eventCount": 7,
|
|
20576
21364
|
"listens": [
|
|
20577
|
-
"
|
|
20578
|
-
"Item 2"
|
|
21365
|
+
"PAYMENT_OK"
|
|
20579
21366
|
],
|
|
20580
|
-
"name": "
|
|
20581
|
-
"stateCount":
|
|
20582
|
-
"transitionCount":
|
|
21367
|
+
"name": "OrderFlow",
|
|
21368
|
+
"stateCount": 5,
|
|
21369
|
+
"transitionCount": 7
|
|
20583
21370
|
}
|
|
20584
21371
|
]
|
|
20585
21372
|
},
|
|
20586
21373
|
"label": "Data",
|
|
20587
|
-
"description": "
|
|
21374
|
+
"description": "The orbital to summarize.",
|
|
20588
21375
|
"tier": "presentation",
|
|
20589
21376
|
"properties": {
|
|
20590
21377
|
"entityName": {
|
|
@@ -20677,11 +21464,6 @@
|
|
|
20677
21464
|
"type": "object"
|
|
20678
21465
|
}
|
|
20679
21466
|
},
|
|
20680
|
-
"persistence": {
|
|
20681
|
-
"name": "persistence",
|
|
20682
|
-
"required": true,
|
|
20683
|
-
"type": "string"
|
|
20684
|
-
},
|
|
20685
21467
|
"traitDetails": {
|
|
20686
21468
|
"name": "traitDetails",
|
|
20687
21469
|
"required": true,
|
|
@@ -20722,12 +21504,12 @@
|
|
|
20722
21504
|
"properties": {
|
|
20723
21505
|
"isInitial": {
|
|
20724
21506
|
"name": "isInitial",
|
|
20725
|
-
"required":
|
|
21507
|
+
"required": false,
|
|
20726
21508
|
"type": "boolean"
|
|
20727
21509
|
},
|
|
20728
21510
|
"isTerminal": {
|
|
20729
21511
|
"name": "isTerminal",
|
|
20730
|
-
"required":
|
|
21512
|
+
"required": false,
|
|
20731
21513
|
"type": "boolean"
|
|
20732
21514
|
},
|
|
20733
21515
|
"name": {
|
|
@@ -20780,7 +21562,7 @@
|
|
|
20780
21562
|
},
|
|
20781
21563
|
"guard": {
|
|
20782
21564
|
"name": "guard",
|
|
20783
|
-
"required":
|
|
21565
|
+
"required": false,
|
|
20784
21566
|
"type": "object"
|
|
20785
21567
|
},
|
|
20786
21568
|
"index": {
|
|
@@ -20890,7 +21672,7 @@
|
|
|
20890
21672
|
"topic": "ui/avl",
|
|
20891
21673
|
"family": "ui/avl",
|
|
20892
21674
|
"layer": "UI Patterns",
|
|
20893
|
-
"description": "ModuleCard — a card
|
|
21675
|
+
"description": "ModuleCard — a compact summary card for one orbital module: its entity and fields, a mini state machine per trait, and its pages. — UI factory (1:1 with the @almadar/ui module-card pattern).",
|
|
20894
21676
|
"defaultOrbitalName": "ModuleCardOrbital",
|
|
20895
21677
|
"statePattern": "idle",
|
|
20896
21678
|
"complexity": {
|
|
@@ -20950,13 +21732,15 @@
|
|
|
20950
21732
|
"std-service-webhook",
|
|
20951
21733
|
"std-service-wikimedia",
|
|
20952
21734
|
"std-service-youtube",
|
|
21735
|
+
"ui-avl-glyph",
|
|
21736
|
+
"ui-avl-state-machine",
|
|
20953
21737
|
"ui-behavior-view"
|
|
20954
21738
|
],
|
|
20955
21739
|
"connectableEvents": [],
|
|
20956
21740
|
"eventPayloads": {},
|
|
20957
21741
|
"exposure": "palette",
|
|
20958
21742
|
"provenance": "generated",
|
|
20959
|
-
"capabilities": "
|
|
21743
|
+
"capabilities": "orbital module summary card, entity and trait overview card, app architecture node card",
|
|
20960
21744
|
"pattern": "module-card",
|
|
20961
21745
|
"traits": [
|
|
20962
21746
|
{
|
|
@@ -20970,81 +21754,188 @@
|
|
|
20970
21754
|
"key": "data",
|
|
20971
21755
|
"type": "ModuleCardData",
|
|
20972
21756
|
"default": {
|
|
20973
|
-
"entityName": "
|
|
21757
|
+
"entityName": "Order",
|
|
20974
21758
|
"externalLinks": [
|
|
20975
21759
|
{
|
|
20976
|
-
"direction": "
|
|
20977
|
-
"eventName": "
|
|
20978
|
-
"targetOrbital": "
|
|
20979
|
-
"traitName": "
|
|
20980
|
-
},
|
|
20981
|
-
{
|
|
20982
|
-
"direction": "Direction 2",
|
|
20983
|
-
"eventName": "Event Name 2",
|
|
20984
|
-
"targetOrbital": "Target Orbital 2",
|
|
20985
|
-
"traitName": "Trait Name 2"
|
|
21760
|
+
"direction": "in",
|
|
21761
|
+
"eventName": "PAYMENT_OK",
|
|
21762
|
+
"targetOrbital": "PaymentOrbital",
|
|
21763
|
+
"traitName": "OrderFlow"
|
|
20986
21764
|
}
|
|
20987
21765
|
],
|
|
20988
21766
|
"fields": [
|
|
20989
21767
|
{
|
|
20990
21768
|
"hasDefault": false,
|
|
20991
|
-
"name": "
|
|
20992
|
-
"required":
|
|
20993
|
-
"type": "
|
|
21769
|
+
"name": "customer",
|
|
21770
|
+
"required": true,
|
|
21771
|
+
"type": "string"
|
|
20994
21772
|
},
|
|
20995
21773
|
{
|
|
20996
21774
|
"hasDefault": true,
|
|
20997
|
-
"name": "
|
|
21775
|
+
"name": "qty",
|
|
20998
21776
|
"required": true,
|
|
20999
|
-
"type": "
|
|
21777
|
+
"type": "number"
|
|
21778
|
+
},
|
|
21779
|
+
{
|
|
21780
|
+
"hasDefault": true,
|
|
21781
|
+
"name": "status",
|
|
21782
|
+
"required": false,
|
|
21783
|
+
"type": "string"
|
|
21000
21784
|
}
|
|
21001
21785
|
],
|
|
21002
|
-
"orbitalName": "
|
|
21786
|
+
"orbitalName": "OrderOrbital",
|
|
21003
21787
|
"pages": [
|
|
21004
21788
|
{
|
|
21005
|
-
"name": "
|
|
21006
|
-
"route": "
|
|
21007
|
-
},
|
|
21008
|
-
{
|
|
21009
|
-
"name": "Name 2",
|
|
21010
|
-
"route": "Route 2"
|
|
21789
|
+
"name": "Orders",
|
|
21790
|
+
"route": "/orders"
|
|
21011
21791
|
}
|
|
21012
21792
|
],
|
|
21013
|
-
"persistence": "
|
|
21014
|
-
"traitDetails": {
|
|
21015
|
-
|
|
21016
|
-
|
|
21017
|
-
|
|
21018
|
-
"Item",
|
|
21019
|
-
"Item 2"
|
|
21793
|
+
"persistence": "persistent",
|
|
21794
|
+
"traitDetails": {
|
|
21795
|
+
"OrderFlow": {
|
|
21796
|
+
"emittedEvents": [
|
|
21797
|
+
"ORDER_SAVED"
|
|
21020
21798
|
],
|
|
21021
|
-
"
|
|
21022
|
-
"
|
|
21023
|
-
"
|
|
21024
|
-
"Item 2"
|
|
21799
|
+
"linkedEntity": "Order",
|
|
21800
|
+
"listenedEvents": [
|
|
21801
|
+
"PAYMENT_OK"
|
|
21025
21802
|
],
|
|
21026
|
-
"name": "
|
|
21027
|
-
"
|
|
21028
|
-
|
|
21029
|
-
|
|
21803
|
+
"name": "OrderFlow",
|
|
21804
|
+
"states": [
|
|
21805
|
+
{
|
|
21806
|
+
"isInitial": true,
|
|
21807
|
+
"isTerminal": false,
|
|
21808
|
+
"name": "browsing"
|
|
21809
|
+
},
|
|
21810
|
+
{
|
|
21811
|
+
"isInitial": false,
|
|
21812
|
+
"isTerminal": false,
|
|
21813
|
+
"name": "editing"
|
|
21814
|
+
},
|
|
21815
|
+
{
|
|
21816
|
+
"isInitial": false,
|
|
21817
|
+
"isTerminal": false,
|
|
21818
|
+
"name": "saving"
|
|
21819
|
+
},
|
|
21820
|
+
{
|
|
21821
|
+
"isInitial": false,
|
|
21822
|
+
"isTerminal": true,
|
|
21823
|
+
"name": "confirmed"
|
|
21824
|
+
},
|
|
21825
|
+
{
|
|
21826
|
+
"isInitial": false,
|
|
21827
|
+
"isTerminal": false,
|
|
21828
|
+
"name": "failed"
|
|
21829
|
+
}
|
|
21830
|
+
],
|
|
21831
|
+
"transitions": [
|
|
21832
|
+
{
|
|
21833
|
+
"effects": [
|
|
21834
|
+
{
|
|
21835
|
+
"args": [],
|
|
21836
|
+
"type": "render-ui"
|
|
21837
|
+
}
|
|
21838
|
+
],
|
|
21839
|
+
"event": "EDIT",
|
|
21840
|
+
"from": "browsing",
|
|
21841
|
+
"index": 0,
|
|
21842
|
+
"to": "editing"
|
|
21843
|
+
},
|
|
21844
|
+
{
|
|
21845
|
+
"effects": [
|
|
21846
|
+
{
|
|
21847
|
+
"args": [],
|
|
21848
|
+
"type": "persist"
|
|
21849
|
+
},
|
|
21850
|
+
{
|
|
21851
|
+
"args": [],
|
|
21852
|
+
"type": "notify"
|
|
21853
|
+
}
|
|
21854
|
+
],
|
|
21855
|
+
"event": "SAVE",
|
|
21856
|
+
"from": "editing",
|
|
21857
|
+
"index": 1,
|
|
21858
|
+
"to": "saving"
|
|
21859
|
+
},
|
|
21860
|
+
{
|
|
21861
|
+
"effects": [
|
|
21862
|
+
{
|
|
21863
|
+
"args": [],
|
|
21864
|
+
"type": "emit"
|
|
21865
|
+
},
|
|
21866
|
+
{
|
|
21867
|
+
"args": [],
|
|
21868
|
+
"type": "render-ui"
|
|
21869
|
+
}
|
|
21870
|
+
],
|
|
21871
|
+
"event": "SAVED",
|
|
21872
|
+
"from": "saving",
|
|
21873
|
+
"index": 2,
|
|
21874
|
+
"to": "confirmed"
|
|
21875
|
+
},
|
|
21876
|
+
{
|
|
21877
|
+
"effects": [
|
|
21878
|
+
{
|
|
21879
|
+
"args": [],
|
|
21880
|
+
"type": "notify"
|
|
21881
|
+
}
|
|
21882
|
+
],
|
|
21883
|
+
"event": "SAVE_FAILED",
|
|
21884
|
+
"from": "saving",
|
|
21885
|
+
"index": 3,
|
|
21886
|
+
"to": "failed"
|
|
21887
|
+
},
|
|
21888
|
+
{
|
|
21889
|
+
"effects": [],
|
|
21890
|
+
"event": "RETRY",
|
|
21891
|
+
"from": "failed",
|
|
21892
|
+
"index": 4,
|
|
21893
|
+
"to": "editing"
|
|
21894
|
+
},
|
|
21895
|
+
{
|
|
21896
|
+
"effects": [
|
|
21897
|
+
{
|
|
21898
|
+
"args": [],
|
|
21899
|
+
"type": "render-ui"
|
|
21900
|
+
}
|
|
21901
|
+
],
|
|
21902
|
+
"event": "CANCEL",
|
|
21903
|
+
"from": "editing",
|
|
21904
|
+
"index": 5,
|
|
21905
|
+
"to": "browsing"
|
|
21906
|
+
},
|
|
21907
|
+
{
|
|
21908
|
+
"effects": [
|
|
21909
|
+
{
|
|
21910
|
+
"args": [],
|
|
21911
|
+
"type": "navigate"
|
|
21912
|
+
}
|
|
21913
|
+
],
|
|
21914
|
+
"event": "DONE",
|
|
21915
|
+
"from": "confirmed",
|
|
21916
|
+
"index": 6,
|
|
21917
|
+
"to": "browsing"
|
|
21918
|
+
}
|
|
21919
|
+
]
|
|
21920
|
+
}
|
|
21921
|
+
},
|
|
21922
|
+
"traits": [
|
|
21030
21923
|
{
|
|
21031
21924
|
"emits": [
|
|
21032
|
-
"
|
|
21033
|
-
"Item 2"
|
|
21925
|
+
"ORDER_SAVED"
|
|
21034
21926
|
],
|
|
21035
|
-
"eventCount":
|
|
21927
|
+
"eventCount": 7,
|
|
21036
21928
|
"listens": [
|
|
21037
|
-
"
|
|
21038
|
-
"Item 2"
|
|
21929
|
+
"PAYMENT_OK"
|
|
21039
21930
|
],
|
|
21040
|
-
"name": "
|
|
21041
|
-
"stateCount":
|
|
21042
|
-
"transitionCount":
|
|
21931
|
+
"name": "OrderFlow",
|
|
21932
|
+
"stateCount": 5,
|
|
21933
|
+
"transitionCount": 7
|
|
21043
21934
|
}
|
|
21044
21935
|
]
|
|
21045
21936
|
},
|
|
21046
21937
|
"label": "Data",
|
|
21047
|
-
"description": "
|
|
21938
|
+
"description": "The orbital to summarize.",
|
|
21048
21939
|
"tier": "presentation",
|
|
21049
21940
|
"properties": {
|
|
21050
21941
|
"entityName": {
|
|
@@ -21137,11 +22028,6 @@
|
|
|
21137
22028
|
"type": "object"
|
|
21138
22029
|
}
|
|
21139
22030
|
},
|
|
21140
|
-
"persistence": {
|
|
21141
|
-
"name": "persistence",
|
|
21142
|
-
"required": true,
|
|
21143
|
-
"type": "string"
|
|
21144
|
-
},
|
|
21145
22031
|
"traitDetails": {
|
|
21146
22032
|
"name": "traitDetails",
|
|
21147
22033
|
"required": true,
|
|
@@ -21182,12 +22068,12 @@
|
|
|
21182
22068
|
"properties": {
|
|
21183
22069
|
"isInitial": {
|
|
21184
22070
|
"name": "isInitial",
|
|
21185
|
-
"required":
|
|
22071
|
+
"required": false,
|
|
21186
22072
|
"type": "boolean"
|
|
21187
22073
|
},
|
|
21188
22074
|
"isTerminal": {
|
|
21189
22075
|
"name": "isTerminal",
|
|
21190
|
-
"required":
|
|
22076
|
+
"required": false,
|
|
21191
22077
|
"type": "boolean"
|
|
21192
22078
|
},
|
|
21193
22079
|
"name": {
|
|
@@ -21240,7 +22126,7 @@
|
|
|
21240
22126
|
},
|
|
21241
22127
|
"guard": {
|
|
21242
22128
|
"name": "guard",
|
|
21243
|
-
"required":
|
|
22129
|
+
"required": false,
|
|
21244
22130
|
"type": "object"
|
|
21245
22131
|
},
|
|
21246
22132
|
"index": {
|
|
@@ -24634,6 +25520,15 @@
|
|
|
24634
25520
|
"synonyms": "fetch limit, records per page, batch size, page limit",
|
|
24635
25521
|
"tier": "presentation"
|
|
24636
25522
|
},
|
|
25523
|
+
{
|
|
25524
|
+
"key": "searchField",
|
|
25525
|
+
"type": "string",
|
|
25526
|
+
"default": "title",
|
|
25527
|
+
"label": "Which column does the search box match against?",
|
|
25528
|
+
"description": "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field (e.g. name, summary) or the search box can never match a card.",
|
|
25529
|
+
"synonyms": "search column, search on field, match field, search key",
|
|
25530
|
+
"tier": "policy"
|
|
25531
|
+
},
|
|
24637
25532
|
{
|
|
24638
25533
|
"key": "searchPlaceholder",
|
|
24639
25534
|
"type": "string",
|
|
@@ -33570,6 +34465,15 @@
|
|
|
33570
34465
|
"type": "string"
|
|
33571
34466
|
}
|
|
33572
34467
|
},
|
|
34468
|
+
{
|
|
34469
|
+
"key": "kindField",
|
|
34470
|
+
"type": "string",
|
|
34471
|
+
"default": "kind",
|
|
34472
|
+
"label": "Which column holds each entry's kind?",
|
|
34473
|
+
"description": "Name the field on this entity the kind filter compares against (the values of kindOptions). An entity whose kind lives under another column (e.g. status) sets it here, or the kind filter can never match an entry.",
|
|
34474
|
+
"synonyms": "kind column, type field, category column, filter by kind",
|
|
34475
|
+
"tier": "policy"
|
|
34476
|
+
},
|
|
33573
34477
|
{
|
|
33574
34478
|
"key": "kindOptions",
|
|
33575
34479
|
"type": "[KindOption]",
|
|
@@ -33643,6 +34547,15 @@
|
|
|
33643
34547
|
"synonyms": "fetch limit, records per page, page limit",
|
|
33644
34548
|
"tier": "presentation"
|
|
33645
34549
|
},
|
|
34550
|
+
{
|
|
34551
|
+
"key": "searchField",
|
|
34552
|
+
"type": "string",
|
|
34553
|
+
"default": "title",
|
|
34554
|
+
"label": "Which column does the search box match against?",
|
|
34555
|
+
"description": "Name the field on this entity the search box's str/includes filter matches against. Declared, never inferred: an entity with no `title` column must set this to a real field or the search box can never match an entry.",
|
|
34556
|
+
"synonyms": "search column, search on field, match field, search key",
|
|
34557
|
+
"tier": "policy"
|
|
34558
|
+
},
|
|
33646
34559
|
{
|
|
33647
34560
|
"key": "searchPlaceholder",
|
|
33648
34561
|
"type": "string",
|
|
@@ -67767,7 +68680,7 @@
|
|
|
67767
68680
|
{
|
|
67768
68681
|
"key": "border",
|
|
67769
68682
|
"type": "boolean",
|
|
67770
|
-
"default":
|
|
68683
|
+
"default": true,
|
|
67771
68684
|
"label": "Border",
|
|
67772
68685
|
"description": "Show border",
|
|
67773
68686
|
"tier": "presentation"
|
|
@@ -67911,7 +68824,7 @@
|
|
|
67911
68824
|
{
|
|
67912
68825
|
"key": "padding",
|
|
67913
68826
|
"type": "string",
|
|
67914
|
-
"default": "
|
|
68827
|
+
"default": "md",
|
|
67915
68828
|
"label": "Padding",
|
|
67916
68829
|
"description": "Padding on all sides",
|
|
67917
68830
|
"tier": "presentation",
|
|
@@ -68569,6 +69482,7 @@
|
|
|
68569
69482
|
{
|
|
68570
69483
|
"key": "label",
|
|
68571
69484
|
"type": "string",
|
|
69485
|
+
"default": "Button",
|
|
68572
69486
|
"label": "Label",
|
|
68573
69487
|
"description": "Button label text (alternative to children for schema-driven rendering)",
|
|
68574
69488
|
"tier": "presentation"
|
|
@@ -97170,7 +98084,15 @@
|
|
|
97170
98084
|
{
|
|
97171
98085
|
"key": "items",
|
|
97172
98086
|
"type": "[BreadcrumbItemsItem]",
|
|
97173
|
-
"default": [
|
|
98087
|
+
"default": [
|
|
98088
|
+
{
|
|
98089
|
+
"href": "/",
|
|
98090
|
+
"label": "Home"
|
|
98091
|
+
},
|
|
98092
|
+
{
|
|
98093
|
+
"label": "Page"
|
|
98094
|
+
}
|
|
98095
|
+
],
|
|
97174
98096
|
"label": "Items",
|
|
97175
98097
|
"description": "Breadcrumb items. Omit together with `fromNavStack` to render the orbital-scoped navigation stack instead of an authored trail.",
|
|
97176
98098
|
"tier": "presentation",
|
|
@@ -99966,7 +100888,7 @@
|
|
|
99966
100888
|
"statePattern": "idle",
|
|
99967
100889
|
"complexity": {
|
|
99968
100890
|
"states": 1,
|
|
99969
|
-
"events":
|
|
100891
|
+
"events": 12,
|
|
99970
100892
|
"transitions": 8
|
|
99971
100893
|
},
|
|
99972
100894
|
"defaultEntity": {
|
|
@@ -100310,7 +101232,8 @@
|
|
|
100310
101232
|
"SET_MODE",
|
|
100311
101233
|
"@config.onChange",
|
|
100312
101234
|
"@config.onEditorFocus",
|
|
100313
|
-
"@config.onEditorBlur"
|
|
101235
|
+
"@config.onEditorBlur",
|
|
101236
|
+
"@config.onGoToDefinition"
|
|
100314
101237
|
],
|
|
100315
101238
|
"eventPayloads": {},
|
|
100316
101239
|
"exposure": "palette",
|
|
@@ -100324,7 +101247,8 @@
|
|
|
100324
101247
|
"emittedEvents": [
|
|
100325
101248
|
"CHANGE",
|
|
100326
101249
|
"EDITOR_FOCUS",
|
|
100327
|
-
"EDITOR_BLUR"
|
|
101250
|
+
"EDITOR_BLUR",
|
|
101251
|
+
"GO_TO_DEFINITION"
|
|
100328
101252
|
],
|
|
100329
101253
|
"listenedEvents": [],
|
|
100330
101254
|
"overridableConfigKeys": [
|
|
@@ -100380,6 +101304,65 @@
|
|
|
100380
101304
|
"description": "The code content to display",
|
|
100381
101305
|
"tier": "presentation"
|
|
100382
101306
|
},
|
|
101307
|
+
{
|
|
101308
|
+
"key": "diagnostics",
|
|
101309
|
+
"type": "[CodeBlockDiagnosticsItem]",
|
|
101310
|
+
"default": [],
|
|
101311
|
+
"label": "Diagnostics",
|
|
101312
|
+
"description": "Editable only: problems located in the code (1-based line/column in characters, `endColumn` just past the last one), each underlined exactly — red wavy for an error, amber for a warning, dotted where the position is approximate. The message of the one under the caret shows below the editor.",
|
|
101313
|
+
"tier": "presentation",
|
|
101314
|
+
"items": {
|
|
101315
|
+
"properties": {
|
|
101316
|
+
"approximate": {
|
|
101317
|
+
"name": "approximate",
|
|
101318
|
+
"required": false,
|
|
101319
|
+
"type": "boolean"
|
|
101320
|
+
},
|
|
101321
|
+
"column": {
|
|
101322
|
+
"name": "column",
|
|
101323
|
+
"required": false,
|
|
101324
|
+
"type": "number"
|
|
101325
|
+
},
|
|
101326
|
+
"endColumn": {
|
|
101327
|
+
"name": "endColumn",
|
|
101328
|
+
"required": false,
|
|
101329
|
+
"type": "number"
|
|
101330
|
+
},
|
|
101331
|
+
"endLine": {
|
|
101332
|
+
"name": "endLine",
|
|
101333
|
+
"required": false,
|
|
101334
|
+
"type": "number"
|
|
101335
|
+
},
|
|
101336
|
+
"line": {
|
|
101337
|
+
"name": "line",
|
|
101338
|
+
"required": true,
|
|
101339
|
+
"type": "number"
|
|
101340
|
+
},
|
|
101341
|
+
"message": {
|
|
101342
|
+
"name": "message",
|
|
101343
|
+
"required": true,
|
|
101344
|
+
"type": "string"
|
|
101345
|
+
},
|
|
101346
|
+
"severity": {
|
|
101347
|
+
"name": "severity",
|
|
101348
|
+
"required": true,
|
|
101349
|
+
"type": "string",
|
|
101350
|
+
"values": [
|
|
101351
|
+
"error",
|
|
101352
|
+
"warning"
|
|
101353
|
+
]
|
|
101354
|
+
}
|
|
101355
|
+
},
|
|
101356
|
+
"type": "object"
|
|
101357
|
+
}
|
|
101358
|
+
},
|
|
101359
|
+
{
|
|
101360
|
+
"key": "diagnosticsCode",
|
|
101361
|
+
"type": "string",
|
|
101362
|
+
"label": "Diagnostics Code",
|
|
101363
|
+
"description": "The code `diagnostics` were computed on. When the editor's text has moved on, each range is carried over the edit; a range the edit touches is dropped until the code is checked again. Absent: they describe the current text.",
|
|
101364
|
+
"tier": "presentation"
|
|
101365
|
+
},
|
|
100383
101366
|
{
|
|
100384
101367
|
"key": "diff",
|
|
100385
101368
|
"type": "[CodeBlockDiffItem]",
|
|
@@ -100596,6 +101579,13 @@
|
|
|
100596
101579
|
"description": "Programming language for syntax highlighting (any Prism id; loaded on demand if not pre-registered)",
|
|
100597
101580
|
"tier": "presentation"
|
|
100598
101581
|
},
|
|
101582
|
+
{
|
|
101583
|
+
"key": "lineNumbers",
|
|
101584
|
+
"type": "boolean",
|
|
101585
|
+
"label": "Line Numbers",
|
|
101586
|
+
"description": "Editable only: number the lines in a gutter (lines with errors in red). Default on.",
|
|
101587
|
+
"tier": "presentation"
|
|
101588
|
+
},
|
|
100599
101589
|
{
|
|
100600
101590
|
"key": "maxHeight",
|
|
100601
101591
|
"type": "scalar",
|
|
@@ -100702,6 +101692,14 @@
|
|
|
100702
101692
|
"description": "Declarative bus emit fired when this editor gains focus.",
|
|
100703
101693
|
"tier": "presentation"
|
|
100704
101694
|
},
|
|
101695
|
+
{
|
|
101696
|
+
"key": "onGoToDefinition",
|
|
101697
|
+
"type": "event",
|
|
101698
|
+
"default": "GO_TO_DEFINITION",
|
|
101699
|
+
"label": "On Go To Definition",
|
|
101700
|
+
"description": "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
|
|
101701
|
+
"tier": "presentation"
|
|
101702
|
+
},
|
|
100705
101703
|
{
|
|
100706
101704
|
"key": "onInsertText",
|
|
100707
101705
|
"type": "event",
|
|
@@ -100772,6 +101770,13 @@
|
|
|
100772
101770
|
]
|
|
100773
101771
|
}
|
|
100774
101772
|
},
|
|
101773
|
+
{
|
|
101774
|
+
"key": "problems",
|
|
101775
|
+
"type": "number",
|
|
101776
|
+
"label": "Problems",
|
|
101777
|
+
"description": "Editable only: how many problems the host knows the code has (some, like a parse error, have no line to mark). With `assist`, the editor offers to fix them.",
|
|
101778
|
+
"tier": "presentation"
|
|
101779
|
+
},
|
|
100775
101780
|
{
|
|
100776
101781
|
"key": "showCopy",
|
|
100777
101782
|
"type": "boolean",
|
|
@@ -100875,6 +101880,12 @@
|
|
|
100875
101880
|
"description": "Declarative bus emit fired when this editor loses focus.",
|
|
100876
101881
|
"tier": "essential"
|
|
100877
101882
|
},
|
|
101883
|
+
{
|
|
101884
|
+
"name": "GO_TO_DEFINITION",
|
|
101885
|
+
"direction": "emit",
|
|
101886
|
+
"description": "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
|
|
101887
|
+
"tier": "essential"
|
|
101888
|
+
},
|
|
100878
101889
|
{
|
|
100879
101890
|
"name": "INIT",
|
|
100880
101891
|
"direction": "listen"
|
|
@@ -100899,7 +101910,8 @@
|
|
|
100899
101910
|
"definerKnobs": [
|
|
100900
101911
|
"onChange",
|
|
100901
101912
|
"onEditorBlur",
|
|
100902
|
-
"onEditorFocus"
|
|
101913
|
+
"onEditorFocus",
|
|
101914
|
+
"onGoToDefinition"
|
|
100903
101915
|
]
|
|
100904
101916
|
}
|
|
100905
101917
|
],
|
|
@@ -114295,7 +115307,7 @@
|
|
|
114295
115307
|
"statePattern": "idle",
|
|
114296
115308
|
"complexity": {
|
|
114297
115309
|
"states": 1,
|
|
114298
|
-
"events":
|
|
115310
|
+
"events": 3,
|
|
114299
115311
|
"transitions": 1
|
|
114300
115312
|
},
|
|
114301
115313
|
"defaultEntity": {
|
|
@@ -114620,7 +115632,8 @@
|
|
|
114620
115632
|
"ui-wizard-progress"
|
|
114621
115633
|
],
|
|
114622
115634
|
"connectableEvents": [
|
|
114623
|
-
"@config.onFileSelect"
|
|
115635
|
+
"@config.onFileSelect",
|
|
115636
|
+
"@config.onNodeExpand"
|
|
114624
115637
|
],
|
|
114625
115638
|
"eventPayloads": {},
|
|
114626
115639
|
"exposure": "palette",
|
|
@@ -114632,7 +115645,8 @@
|
|
|
114632
115645
|
"orbital": "FileTreeOrbital",
|
|
114633
115646
|
"role": "renderer",
|
|
114634
115647
|
"emittedEvents": [
|
|
114635
|
-
"FILE_SELECT"
|
|
115648
|
+
"FILE_SELECT",
|
|
115649
|
+
"NODE_EXPAND"
|
|
114636
115650
|
],
|
|
114637
115651
|
"listenedEvents": [],
|
|
114638
115652
|
"overridableConfigKeys": [
|
|
@@ -114643,6 +115657,17 @@
|
|
|
114643
115657
|
"description": "CSS class",
|
|
114644
115658
|
"tier": "presentation"
|
|
114645
115659
|
},
|
|
115660
|
+
{
|
|
115661
|
+
"key": "expandedPaths",
|
|
115662
|
+
"type": "[string]",
|
|
115663
|
+
"default": [],
|
|
115664
|
+
"label": "Expanded Paths",
|
|
115665
|
+
"description": "Paths to show expanded (e.g. to reveal a node): each is expanded when it appears here, loading its children if needed.",
|
|
115666
|
+
"tier": "presentation",
|
|
115667
|
+
"items": {
|
|
115668
|
+
"type": "string"
|
|
115669
|
+
}
|
|
115670
|
+
},
|
|
114646
115671
|
{
|
|
114647
115672
|
"key": "indent",
|
|
114648
115673
|
"type": "number",
|
|
@@ -114726,6 +115751,14 @@
|
|
|
114726
115751
|
"description": "Called from the row's hover action button, in flat `items` mode; carries that node's id. Presence-gated: binding it renders the action.",
|
|
114727
115752
|
"tier": "presentation"
|
|
114728
115753
|
},
|
|
115754
|
+
{
|
|
115755
|
+
"key": "onNodeExpand",
|
|
115756
|
+
"type": "event",
|
|
115757
|
+
"default": "NODE_EXPAND",
|
|
115758
|
+
"label": "On Node Expand",
|
|
115759
|
+
"description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
|
|
115760
|
+
"tier": "presentation"
|
|
115761
|
+
},
|
|
114729
115762
|
{
|
|
114730
115763
|
"key": "onNodeReorder",
|
|
114731
115764
|
"type": "event",
|
|
@@ -114776,6 +115809,11 @@
|
|
|
114776
115809
|
]
|
|
114777
115810
|
}
|
|
114778
115811
|
},
|
|
115812
|
+
"expandable": {
|
|
115813
|
+
"name": "expandable",
|
|
115814
|
+
"required": false,
|
|
115815
|
+
"type": "boolean"
|
|
115816
|
+
},
|
|
114779
115817
|
"language": {
|
|
114780
115818
|
"name": "language",
|
|
114781
115819
|
"required": false,
|
|
@@ -114786,6 +115824,11 @@
|
|
|
114786
115824
|
"required": true,
|
|
114787
115825
|
"type": "string"
|
|
114788
115826
|
},
|
|
115827
|
+
"note": {
|
|
115828
|
+
"name": "note",
|
|
115829
|
+
"required": false,
|
|
115830
|
+
"type": "string"
|
|
115831
|
+
},
|
|
114789
115832
|
"path": {
|
|
114790
115833
|
"name": "path",
|
|
114791
115834
|
"required": true,
|
|
@@ -114836,13 +115879,20 @@
|
|
|
114836
115879
|
"description": "Called when a file is clicked",
|
|
114837
115880
|
"tier": "essential"
|
|
114838
115881
|
},
|
|
115882
|
+
{
|
|
115883
|
+
"name": "NODE_EXPAND",
|
|
115884
|
+
"direction": "emit",
|
|
115885
|
+
"description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
|
|
115886
|
+
"tier": "essential"
|
|
115887
|
+
},
|
|
114839
115888
|
{
|
|
114840
115889
|
"name": "INIT",
|
|
114841
115890
|
"direction": "listen"
|
|
114842
115891
|
}
|
|
114843
115892
|
],
|
|
114844
115893
|
"definerKnobs": [
|
|
114845
|
-
"onFileSelect"
|
|
115894
|
+
"onFileSelect",
|
|
115895
|
+
"onNodeExpand"
|
|
114846
115896
|
]
|
|
114847
115897
|
}
|
|
114848
115898
|
],
|
|
@@ -169955,7 +171005,7 @@
|
|
|
169955
171005
|
"statePattern": "idle",
|
|
169956
171006
|
"complexity": {
|
|
169957
171007
|
"states": 1,
|
|
169958
|
-
"events":
|
|
171008
|
+
"events": 3,
|
|
169959
171009
|
"transitions": 1
|
|
169960
171010
|
},
|
|
169961
171011
|
"defaultEntity": {
|
|
@@ -170082,6 +171132,7 @@
|
|
|
170082
171132
|
"ui-atlas-panel",
|
|
170083
171133
|
"ui-auth-layout",
|
|
170084
171134
|
"ui-avatar",
|
|
171135
|
+
"ui-avl-state-machine",
|
|
170085
171136
|
"ui-badge",
|
|
170086
171137
|
"ui-bloom-quiz-block",
|
|
170087
171138
|
"ui-box",
|
|
@@ -170279,7 +171330,10 @@
|
|
|
170279
171330
|
"ui-wizard-navigation",
|
|
170280
171331
|
"ui-wizard-progress"
|
|
170281
171332
|
],
|
|
170282
|
-
"connectableEvents": [
|
|
171333
|
+
"connectableEvents": [
|
|
171334
|
+
"@config.stateClickEvent",
|
|
171335
|
+
"@config.transitionClickEvent"
|
|
171336
|
+
],
|
|
170283
171337
|
"eventPayloads": {},
|
|
170284
171338
|
"exposure": "palette",
|
|
170285
171339
|
"provenance": "generated",
|
|
@@ -170289,16 +171343,56 @@
|
|
|
170289
171343
|
"name": "StateMachineViewRender",
|
|
170290
171344
|
"orbital": "StateMachineViewOrbital",
|
|
170291
171345
|
"role": "renderer",
|
|
170292
|
-
"emittedEvents": [
|
|
171346
|
+
"emittedEvents": [
|
|
171347
|
+
"STATE_CLICK",
|
|
171348
|
+
"TRANSITION_CLICK"
|
|
171349
|
+
],
|
|
170293
171350
|
"listenedEvents": [],
|
|
170294
171351
|
"overridableConfigKeys": [
|
|
171352
|
+
{
|
|
171353
|
+
"key": "activeState",
|
|
171354
|
+
"type": "string",
|
|
171355
|
+
"label": "Active State",
|
|
171356
|
+
"description": "State execution is currently in.",
|
|
171357
|
+
"tier": "presentation"
|
|
171358
|
+
},
|
|
171359
|
+
{
|
|
171360
|
+
"key": "activeTransition",
|
|
171361
|
+
"type": "number",
|
|
171362
|
+
"label": "Active Transition",
|
|
171363
|
+
"description": "`index` of the transition that just fired.",
|
|
171364
|
+
"tier": "presentation"
|
|
171365
|
+
},
|
|
170295
171366
|
{
|
|
170296
171367
|
"key": "className",
|
|
170297
171368
|
"type": "string",
|
|
170298
171369
|
"label": "Class Name",
|
|
170299
|
-
"description": "
|
|
171370
|
+
"description": "className prop",
|
|
170300
171371
|
"tier": "presentation"
|
|
170301
171372
|
},
|
|
171373
|
+
{
|
|
171374
|
+
"key": "direction",
|
|
171375
|
+
"type": "string",
|
|
171376
|
+
"default": "ltr",
|
|
171377
|
+
"label": "Direction",
|
|
171378
|
+
"description": "Flow direction. @default 'ltr'",
|
|
171379
|
+
"tier": "presentation",
|
|
171380
|
+
"enumValues": [
|
|
171381
|
+
"ltr",
|
|
171382
|
+
"rtl"
|
|
171383
|
+
]
|
|
171384
|
+
},
|
|
171385
|
+
{
|
|
171386
|
+
"key": "entityFields",
|
|
171387
|
+
"type": "[string]",
|
|
171388
|
+
"default": [],
|
|
171389
|
+
"label": "Entity Fields",
|
|
171390
|
+
"description": "Entity field names listed in the header.",
|
|
171391
|
+
"tier": "presentation",
|
|
171392
|
+
"items": {
|
|
171393
|
+
"type": "string"
|
|
171394
|
+
}
|
|
171395
|
+
},
|
|
170302
171396
|
{
|
|
170303
171397
|
"key": "error",
|
|
170304
171398
|
"type": "StateMachineViewError",
|
|
@@ -170331,9 +171425,189 @@
|
|
|
170331
171425
|
{
|
|
170332
171426
|
"key": "isLoading",
|
|
170333
171427
|
"type": "boolean",
|
|
171428
|
+
"default": false,
|
|
170334
171429
|
"label": "Is Loading",
|
|
170335
171430
|
"description": "Loading state indicator",
|
|
170336
171431
|
"tier": "presentation"
|
|
171432
|
+
},
|
|
171433
|
+
{
|
|
171434
|
+
"key": "nodeShape",
|
|
171435
|
+
"type": "string",
|
|
171436
|
+
"default": "pill",
|
|
171437
|
+
"label": "Node Shape",
|
|
171438
|
+
"description": "Node silhouette. @default 'pill'",
|
|
171439
|
+
"tier": "presentation",
|
|
171440
|
+
"enumValues": [
|
|
171441
|
+
"pill",
|
|
171442
|
+
"gear"
|
|
171443
|
+
]
|
|
171444
|
+
},
|
|
171445
|
+
{
|
|
171446
|
+
"key": "pendingSourceState",
|
|
171447
|
+
"type": "string",
|
|
171448
|
+
"label": "Pending Source State",
|
|
171449
|
+
"description": "Source of a transition being drawn — the next state click picks its target.",
|
|
171450
|
+
"tier": "presentation"
|
|
171451
|
+
},
|
|
171452
|
+
{
|
|
171453
|
+
"key": "selectedState",
|
|
171454
|
+
"type": "string",
|
|
171455
|
+
"label": "Selected State",
|
|
171456
|
+
"description": "State picked in an editor (first click).",
|
|
171457
|
+
"tier": "presentation"
|
|
171458
|
+
},
|
|
171459
|
+
{
|
|
171460
|
+
"key": "showHeader",
|
|
171461
|
+
"type": "boolean",
|
|
171462
|
+
"label": "Show Header",
|
|
171463
|
+
"description": "Show the trait header (name, entity, listens/emits). @default true",
|
|
171464
|
+
"tier": "presentation"
|
|
171465
|
+
},
|
|
171466
|
+
{
|
|
171467
|
+
"key": "stateClickEvent",
|
|
171468
|
+
"type": "event",
|
|
171469
|
+
"default": "STATE_CLICK",
|
|
171470
|
+
"label": "State Click Event",
|
|
171471
|
+
"description": "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
|
|
171472
|
+
"tier": "presentation"
|
|
171473
|
+
},
|
|
171474
|
+
{
|
|
171475
|
+
"key": "traitProp",
|
|
171476
|
+
"type": "StateMachineViewTrait",
|
|
171477
|
+
"label": "Trait",
|
|
171478
|
+
"description": "The trait to draw (see `parseTraitLevel` / `traitLevelFromTrait`).",
|
|
171479
|
+
"synonyms": "trait",
|
|
171480
|
+
"tier": "presentation",
|
|
171481
|
+
"properties": {
|
|
171482
|
+
"emittedEvents": {
|
|
171483
|
+
"name": "emittedEvents",
|
|
171484
|
+
"required": true,
|
|
171485
|
+
"type": "array",
|
|
171486
|
+
"items": {
|
|
171487
|
+
"type": "string"
|
|
171488
|
+
}
|
|
171489
|
+
},
|
|
171490
|
+
"linkedEntity": {
|
|
171491
|
+
"name": "linkedEntity",
|
|
171492
|
+
"required": true,
|
|
171493
|
+
"type": "string"
|
|
171494
|
+
},
|
|
171495
|
+
"listenedEvents": {
|
|
171496
|
+
"name": "listenedEvents",
|
|
171497
|
+
"required": true,
|
|
171498
|
+
"type": "array",
|
|
171499
|
+
"items": {
|
|
171500
|
+
"type": "string"
|
|
171501
|
+
}
|
|
171502
|
+
},
|
|
171503
|
+
"name": {
|
|
171504
|
+
"name": "name",
|
|
171505
|
+
"required": true,
|
|
171506
|
+
"type": "string"
|
|
171507
|
+
},
|
|
171508
|
+
"states": {
|
|
171509
|
+
"name": "states",
|
|
171510
|
+
"required": true,
|
|
171511
|
+
"type": "array",
|
|
171512
|
+
"items": {
|
|
171513
|
+
"properties": {
|
|
171514
|
+
"isInitial": {
|
|
171515
|
+
"name": "isInitial",
|
|
171516
|
+
"required": false,
|
|
171517
|
+
"type": "boolean"
|
|
171518
|
+
},
|
|
171519
|
+
"isTerminal": {
|
|
171520
|
+
"name": "isTerminal",
|
|
171521
|
+
"required": false,
|
|
171522
|
+
"type": "boolean"
|
|
171523
|
+
},
|
|
171524
|
+
"name": {
|
|
171525
|
+
"name": "name",
|
|
171526
|
+
"required": true,
|
|
171527
|
+
"type": "string"
|
|
171528
|
+
}
|
|
171529
|
+
},
|
|
171530
|
+
"type": "object"
|
|
171531
|
+
}
|
|
171532
|
+
},
|
|
171533
|
+
"transitions": {
|
|
171534
|
+
"name": "transitions",
|
|
171535
|
+
"required": true,
|
|
171536
|
+
"type": "array",
|
|
171537
|
+
"items": {
|
|
171538
|
+
"properties": {
|
|
171539
|
+
"effects": {
|
|
171540
|
+
"name": "effects",
|
|
171541
|
+
"required": true,
|
|
171542
|
+
"type": "array",
|
|
171543
|
+
"items": {
|
|
171544
|
+
"properties": {
|
|
171545
|
+
"args": {
|
|
171546
|
+
"name": "args",
|
|
171547
|
+
"required": true,
|
|
171548
|
+
"type": "array",
|
|
171549
|
+
"items": {
|
|
171550
|
+
"type": "object"
|
|
171551
|
+
}
|
|
171552
|
+
},
|
|
171553
|
+
"type": {
|
|
171554
|
+
"name": "type",
|
|
171555
|
+
"required": true,
|
|
171556
|
+
"type": "string"
|
|
171557
|
+
}
|
|
171558
|
+
},
|
|
171559
|
+
"type": "object"
|
|
171560
|
+
}
|
|
171561
|
+
},
|
|
171562
|
+
"event": {
|
|
171563
|
+
"name": "event",
|
|
171564
|
+
"required": true,
|
|
171565
|
+
"type": "string"
|
|
171566
|
+
},
|
|
171567
|
+
"from": {
|
|
171568
|
+
"name": "from",
|
|
171569
|
+
"required": true,
|
|
171570
|
+
"type": "string"
|
|
171571
|
+
},
|
|
171572
|
+
"guard": {
|
|
171573
|
+
"name": "guard",
|
|
171574
|
+
"required": false,
|
|
171575
|
+
"type": "object"
|
|
171576
|
+
},
|
|
171577
|
+
"index": {
|
|
171578
|
+
"name": "index",
|
|
171579
|
+
"required": true,
|
|
171580
|
+
"type": "number"
|
|
171581
|
+
},
|
|
171582
|
+
"to": {
|
|
171583
|
+
"name": "to",
|
|
171584
|
+
"required": true,
|
|
171585
|
+
"type": "string"
|
|
171586
|
+
}
|
|
171587
|
+
},
|
|
171588
|
+
"type": "object"
|
|
171589
|
+
}
|
|
171590
|
+
}
|
|
171591
|
+
}
|
|
171592
|
+
},
|
|
171593
|
+
{
|
|
171594
|
+
"key": "transitionClickEvent",
|
|
171595
|
+
"type": "event",
|
|
171596
|
+
"default": "TRANSITION_CLICK",
|
|
171597
|
+
"label": "Transition Click Event",
|
|
171598
|
+
"description": "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
|
|
171599
|
+
"tier": "presentation"
|
|
171600
|
+
},
|
|
171601
|
+
{
|
|
171602
|
+
"key": "visitedStates",
|
|
171603
|
+
"type": "[string]",
|
|
171604
|
+
"default": [],
|
|
171605
|
+
"label": "Visited States",
|
|
171606
|
+
"description": "States already passed through, in order.",
|
|
171607
|
+
"tier": "presentation",
|
|
171608
|
+
"items": {
|
|
171609
|
+
"type": "string"
|
|
171610
|
+
}
|
|
170337
171611
|
}
|
|
170338
171612
|
],
|
|
170339
171613
|
"capabilities": [],
|
|
@@ -170356,12 +171630,27 @@
|
|
|
170356
171630
|
"INIT"
|
|
170357
171631
|
],
|
|
170358
171632
|
"events": [
|
|
171633
|
+
{
|
|
171634
|
+
"name": "STATE_CLICK",
|
|
171635
|
+
"direction": "emit",
|
|
171636
|
+
"description": "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
|
|
171637
|
+
"tier": "essential"
|
|
171638
|
+
},
|
|
171639
|
+
{
|
|
171640
|
+
"name": "TRANSITION_CLICK",
|
|
171641
|
+
"direction": "emit",
|
|
171642
|
+
"description": "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
|
|
171643
|
+
"tier": "essential"
|
|
171644
|
+
},
|
|
170359
171645
|
{
|
|
170360
171646
|
"name": "INIT",
|
|
170361
171647
|
"direction": "listen"
|
|
170362
171648
|
}
|
|
170363
171649
|
],
|
|
170364
|
-
"definerKnobs": [
|
|
171650
|
+
"definerKnobs": [
|
|
171651
|
+
"stateClickEvent",
|
|
171652
|
+
"transitionClickEvent"
|
|
171653
|
+
]
|
|
170365
171654
|
}
|
|
170366
171655
|
],
|
|
170367
171656
|
"factoryPath": "behaviors/functions/ui/core/organisms/ui-state-machine-view.ts",
|
|
@@ -198281,7 +199570,7 @@
|
|
|
198281
199570
|
},
|
|
198282
199571
|
"parent": {
|
|
198283
199572
|
"name": "parent",
|
|
198284
|
-
"required":
|
|
199573
|
+
"required": false,
|
|
198285
199574
|
"type": "string"
|
|
198286
199575
|
},
|
|
198287
199576
|
"pivot": {
|