@almadar/std 16.233.0 → 16.235.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 +1378 -130
- 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/molecules/ui-code-block.lolo +74 -0
- package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +16 -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/molecules/ui-code-block.orb +185 -0
- package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +68 -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 +1863 -1472
- package/dist/behaviors/functions/index.d.ts +241 -7
- package/dist/behaviors/functions/index.js +1858 -1473
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +1864 -1473
- package/dist/behaviors/query.js +1863 -1472
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +19 -11
- package/dist/behaviors-registry.json +1378 -130
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1881 -1473
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +159 -7
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/async.js +9 -0
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +8 -0
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +17 -0
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +5 -2
- package/dist/registry.js +38 -1
- package/dist/{types-DwAW4Nni.d.ts → types-Ggla7OK7.d.ts} +8 -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": {
|
|
@@ -100002,7 +100888,7 @@
|
|
|
100002
100888
|
"statePattern": "idle",
|
|
100003
100889
|
"complexity": {
|
|
100004
100890
|
"states": 1,
|
|
100005
|
-
"events":
|
|
100891
|
+
"events": 12,
|
|
100006
100892
|
"transitions": 8
|
|
100007
100893
|
},
|
|
100008
100894
|
"defaultEntity": {
|
|
@@ -100346,7 +101232,8 @@
|
|
|
100346
101232
|
"SET_MODE",
|
|
100347
101233
|
"@config.onChange",
|
|
100348
101234
|
"@config.onEditorFocus",
|
|
100349
|
-
"@config.onEditorBlur"
|
|
101235
|
+
"@config.onEditorBlur",
|
|
101236
|
+
"@config.onGoToDefinition"
|
|
100350
101237
|
],
|
|
100351
101238
|
"eventPayloads": {},
|
|
100352
101239
|
"exposure": "palette",
|
|
@@ -100360,7 +101247,8 @@
|
|
|
100360
101247
|
"emittedEvents": [
|
|
100361
101248
|
"CHANGE",
|
|
100362
101249
|
"EDITOR_FOCUS",
|
|
100363
|
-
"EDITOR_BLUR"
|
|
101250
|
+
"EDITOR_BLUR",
|
|
101251
|
+
"GO_TO_DEFINITION"
|
|
100364
101252
|
],
|
|
100365
101253
|
"listenedEvents": [],
|
|
100366
101254
|
"overridableConfigKeys": [
|
|
@@ -100416,6 +101304,65 @@
|
|
|
100416
101304
|
"description": "The code content to display",
|
|
100417
101305
|
"tier": "presentation"
|
|
100418
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
|
+
},
|
|
100419
101366
|
{
|
|
100420
101367
|
"key": "diff",
|
|
100421
101368
|
"type": "[CodeBlockDiffItem]",
|
|
@@ -100632,6 +101579,13 @@
|
|
|
100632
101579
|
"description": "Programming language for syntax highlighting (any Prism id; loaded on demand if not pre-registered)",
|
|
100633
101580
|
"tier": "presentation"
|
|
100634
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
|
+
},
|
|
100635
101589
|
{
|
|
100636
101590
|
"key": "maxHeight",
|
|
100637
101591
|
"type": "scalar",
|
|
@@ -100738,6 +101692,14 @@
|
|
|
100738
101692
|
"description": "Declarative bus emit fired when this editor gains focus.",
|
|
100739
101693
|
"tier": "presentation"
|
|
100740
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
|
+
},
|
|
100741
101703
|
{
|
|
100742
101704
|
"key": "onInsertText",
|
|
100743
101705
|
"type": "event",
|
|
@@ -100808,6 +101770,13 @@
|
|
|
100808
101770
|
]
|
|
100809
101771
|
}
|
|
100810
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
|
+
},
|
|
100811
101780
|
{
|
|
100812
101781
|
"key": "showCopy",
|
|
100813
101782
|
"type": "boolean",
|
|
@@ -100911,6 +101880,12 @@
|
|
|
100911
101880
|
"description": "Declarative bus emit fired when this editor loses focus.",
|
|
100912
101881
|
"tier": "essential"
|
|
100913
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
|
+
},
|
|
100914
101889
|
{
|
|
100915
101890
|
"name": "INIT",
|
|
100916
101891
|
"direction": "listen"
|
|
@@ -100935,7 +101910,8 @@
|
|
|
100935
101910
|
"definerKnobs": [
|
|
100936
101911
|
"onChange",
|
|
100937
101912
|
"onEditorBlur",
|
|
100938
|
-
"onEditorFocus"
|
|
101913
|
+
"onEditorFocus",
|
|
101914
|
+
"onGoToDefinition"
|
|
100939
101915
|
]
|
|
100940
101916
|
}
|
|
100941
101917
|
],
|
|
@@ -114331,7 +115307,7 @@
|
|
|
114331
115307
|
"statePattern": "idle",
|
|
114332
115308
|
"complexity": {
|
|
114333
115309
|
"states": 1,
|
|
114334
|
-
"events":
|
|
115310
|
+
"events": 3,
|
|
114335
115311
|
"transitions": 1
|
|
114336
115312
|
},
|
|
114337
115313
|
"defaultEntity": {
|
|
@@ -114656,7 +115632,8 @@
|
|
|
114656
115632
|
"ui-wizard-progress"
|
|
114657
115633
|
],
|
|
114658
115634
|
"connectableEvents": [
|
|
114659
|
-
"@config.onFileSelect"
|
|
115635
|
+
"@config.onFileSelect",
|
|
115636
|
+
"@config.onNodeExpand"
|
|
114660
115637
|
],
|
|
114661
115638
|
"eventPayloads": {},
|
|
114662
115639
|
"exposure": "palette",
|
|
@@ -114668,7 +115645,8 @@
|
|
|
114668
115645
|
"orbital": "FileTreeOrbital",
|
|
114669
115646
|
"role": "renderer",
|
|
114670
115647
|
"emittedEvents": [
|
|
114671
|
-
"FILE_SELECT"
|
|
115648
|
+
"FILE_SELECT",
|
|
115649
|
+
"NODE_EXPAND"
|
|
114672
115650
|
],
|
|
114673
115651
|
"listenedEvents": [],
|
|
114674
115652
|
"overridableConfigKeys": [
|
|
@@ -114679,6 +115657,17 @@
|
|
|
114679
115657
|
"description": "CSS class",
|
|
114680
115658
|
"tier": "presentation"
|
|
114681
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
|
+
},
|
|
114682
115671
|
{
|
|
114683
115672
|
"key": "indent",
|
|
114684
115673
|
"type": "number",
|
|
@@ -114762,6 +115751,14 @@
|
|
|
114762
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.",
|
|
114763
115752
|
"tier": "presentation"
|
|
114764
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
|
+
},
|
|
114765
115762
|
{
|
|
114766
115763
|
"key": "onNodeReorder",
|
|
114767
115764
|
"type": "event",
|
|
@@ -114812,6 +115809,11 @@
|
|
|
114812
115809
|
]
|
|
114813
115810
|
}
|
|
114814
115811
|
},
|
|
115812
|
+
"expandable": {
|
|
115813
|
+
"name": "expandable",
|
|
115814
|
+
"required": false,
|
|
115815
|
+
"type": "boolean"
|
|
115816
|
+
},
|
|
114815
115817
|
"language": {
|
|
114816
115818
|
"name": "language",
|
|
114817
115819
|
"required": false,
|
|
@@ -114877,13 +115879,20 @@
|
|
|
114877
115879
|
"description": "Called when a file is clicked",
|
|
114878
115880
|
"tier": "essential"
|
|
114879
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
|
+
},
|
|
114880
115888
|
{
|
|
114881
115889
|
"name": "INIT",
|
|
114882
115890
|
"direction": "listen"
|
|
114883
115891
|
}
|
|
114884
115892
|
],
|
|
114885
115893
|
"definerKnobs": [
|
|
114886
|
-
"onFileSelect"
|
|
115894
|
+
"onFileSelect",
|
|
115895
|
+
"onNodeExpand"
|
|
114887
115896
|
]
|
|
114888
115897
|
}
|
|
114889
115898
|
],
|
|
@@ -169996,7 +171005,7 @@
|
|
|
169996
171005
|
"statePattern": "idle",
|
|
169997
171006
|
"complexity": {
|
|
169998
171007
|
"states": 1,
|
|
169999
|
-
"events":
|
|
171008
|
+
"events": 3,
|
|
170000
171009
|
"transitions": 1
|
|
170001
171010
|
},
|
|
170002
171011
|
"defaultEntity": {
|
|
@@ -170123,6 +171132,7 @@
|
|
|
170123
171132
|
"ui-atlas-panel",
|
|
170124
171133
|
"ui-auth-layout",
|
|
170125
171134
|
"ui-avatar",
|
|
171135
|
+
"ui-avl-state-machine",
|
|
170126
171136
|
"ui-badge",
|
|
170127
171137
|
"ui-bloom-quiz-block",
|
|
170128
171138
|
"ui-box",
|
|
@@ -170320,7 +171330,10 @@
|
|
|
170320
171330
|
"ui-wizard-navigation",
|
|
170321
171331
|
"ui-wizard-progress"
|
|
170322
171332
|
],
|
|
170323
|
-
"connectableEvents": [
|
|
171333
|
+
"connectableEvents": [
|
|
171334
|
+
"@config.stateClickEvent",
|
|
171335
|
+
"@config.transitionClickEvent"
|
|
171336
|
+
],
|
|
170324
171337
|
"eventPayloads": {},
|
|
170325
171338
|
"exposure": "palette",
|
|
170326
171339
|
"provenance": "generated",
|
|
@@ -170330,16 +171343,56 @@
|
|
|
170330
171343
|
"name": "StateMachineViewRender",
|
|
170331
171344
|
"orbital": "StateMachineViewOrbital",
|
|
170332
171345
|
"role": "renderer",
|
|
170333
|
-
"emittedEvents": [
|
|
171346
|
+
"emittedEvents": [
|
|
171347
|
+
"STATE_CLICK",
|
|
171348
|
+
"TRANSITION_CLICK"
|
|
171349
|
+
],
|
|
170334
171350
|
"listenedEvents": [],
|
|
170335
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
|
+
},
|
|
170336
171366
|
{
|
|
170337
171367
|
"key": "className",
|
|
170338
171368
|
"type": "string",
|
|
170339
171369
|
"label": "Class Name",
|
|
170340
|
-
"description": "
|
|
171370
|
+
"description": "className prop",
|
|
170341
171371
|
"tier": "presentation"
|
|
170342
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
|
+
},
|
|
170343
171396
|
{
|
|
170344
171397
|
"key": "error",
|
|
170345
171398
|
"type": "StateMachineViewError",
|
|
@@ -170372,9 +171425,189 @@
|
|
|
170372
171425
|
{
|
|
170373
171426
|
"key": "isLoading",
|
|
170374
171427
|
"type": "boolean",
|
|
171428
|
+
"default": false,
|
|
170375
171429
|
"label": "Is Loading",
|
|
170376
171430
|
"description": "Loading state indicator",
|
|
170377
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
|
+
}
|
|
170378
171611
|
}
|
|
170379
171612
|
],
|
|
170380
171613
|
"capabilities": [],
|
|
@@ -170397,12 +171630,27 @@
|
|
|
170397
171630
|
"INIT"
|
|
170398
171631
|
],
|
|
170399
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
|
+
},
|
|
170400
171645
|
{
|
|
170401
171646
|
"name": "INIT",
|
|
170402
171647
|
"direction": "listen"
|
|
170403
171648
|
}
|
|
170404
171649
|
],
|
|
170405
|
-
"definerKnobs": [
|
|
171650
|
+
"definerKnobs": [
|
|
171651
|
+
"stateClickEvent",
|
|
171652
|
+
"transitionClickEvent"
|
|
171653
|
+
]
|
|
170406
171654
|
}
|
|
170407
171655
|
],
|
|
170408
171656
|
"factoryPath": "behaviors/functions/ui/core/organisms/ui-state-machine-view.ts",
|
|
@@ -198322,7 +199570,7 @@
|
|
|
198322
199570
|
},
|
|
198323
199571
|
"parent": {
|
|
198324
199572
|
"name": "parent",
|
|
198325
|
-
"required":
|
|
199573
|
+
"required": false,
|
|
198326
199574
|
"type": "string"
|
|
198327
199575
|
},
|
|
198328
199576
|
"pivot": {
|