@almadar/std 16.201.0 → 16.203.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/lolo/ui/core/atoms/std-modal-editor.lolo +230 -0
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +302 -0
- package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +116 -0
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +2 -1
- package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/std-audio-cue.lolo +138 -0
- package/behaviors/lolo/ui/game/atoms/std-camera-rig.lolo +158 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +42 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +42 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-audio-cue.lolo +68 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-audio-toggle.lolo +13 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +2 -1
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +2 -1
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +2 -1
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +2 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +8 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +10 -3
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +2 -1
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1450 -0
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +687 -1
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +589 -0
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +13 -2
- package/behaviors/registry/ui/core/molecules/ui-pagination.orb +6 -1
- package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +653 -0
- package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +813 -0
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +135 -0
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +134 -0
- package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +258 -0
- package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +48 -0
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +10 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +14 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +14 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +14 -0
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +22 -0
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +24 -0
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +14 -0
- package/dist/behaviors/exports-reader.js +3103 -2883
- package/dist/behaviors/functions/index.d.ts +563 -7
- package/dist/behaviors/functions/index.js +3089 -2884
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3104 -2884
- package/dist/behaviors/query.js +3103 -2883
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +29 -9
- package/dist/behaviors-registry.json +4169 -687
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3104 -2884
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +2 -2
|
@@ -37,6 +37,78 @@
|
|
|
37
37
|
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
38
38
|
"renames": []
|
|
39
39
|
},
|
|
40
|
+
"evt_01M1N9828S0M5MX7SXC81YEM9G": {
|
|
41
|
+
"bakedName": "INSERT_TEXT",
|
|
42
|
+
"curName": "INSERT_TEXT",
|
|
43
|
+
"id": "evt_01M1N9828S0M5MX7SXC81YEM9G",
|
|
44
|
+
"kind": "event",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
47
|
+
"renames": []
|
|
48
|
+
},
|
|
49
|
+
"evt_01M1N9828S2VQW6HFZAXVJ2ABM": {
|
|
50
|
+
"bakedName": "MOTION",
|
|
51
|
+
"curName": "MOTION",
|
|
52
|
+
"id": "evt_01M1N9828S2VQW6HFZAXVJ2ABM",
|
|
53
|
+
"kind": "event",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
56
|
+
"renames": []
|
|
57
|
+
},
|
|
58
|
+
"evt_01M1N9828S6770N3CF36C6PZQ7": {
|
|
59
|
+
"bakedName": "EDITOR_FOCUS",
|
|
60
|
+
"curName": "EDITOR_FOCUS",
|
|
61
|
+
"id": "evt_01M1N9828S6770N3CF36C6PZQ7",
|
|
62
|
+
"kind": "event",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
65
|
+
"renames": []
|
|
66
|
+
},
|
|
67
|
+
"evt_01M1N9828S6H9T4QBK0D7T39SR": {
|
|
68
|
+
"bakedName": "@config.onEditorFocus",
|
|
69
|
+
"curName": "@config.onEditorFocus",
|
|
70
|
+
"id": "evt_01M1N9828S6H9T4QBK0D7T39SR",
|
|
71
|
+
"kind": "event",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
74
|
+
"renames": []
|
|
75
|
+
},
|
|
76
|
+
"evt_01M1N9828S897H4K23GXS4XX8P": {
|
|
77
|
+
"bakedName": "OPERATE",
|
|
78
|
+
"curName": "OPERATE",
|
|
79
|
+
"id": "evt_01M1N9828S897H4K23GXS4XX8P",
|
|
80
|
+
"kind": "event",
|
|
81
|
+
"owner": "workspace",
|
|
82
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
83
|
+
"renames": []
|
|
84
|
+
},
|
|
85
|
+
"evt_01M1N9828SBZ3WH3DDT7YKPPRQ": {
|
|
86
|
+
"bakedName": "EDITOR_BLUR",
|
|
87
|
+
"curName": "EDITOR_BLUR",
|
|
88
|
+
"id": "evt_01M1N9828SBZ3WH3DDT7YKPPRQ",
|
|
89
|
+
"kind": "event",
|
|
90
|
+
"owner": "workspace",
|
|
91
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
92
|
+
"renames": []
|
|
93
|
+
},
|
|
94
|
+
"evt_01M1N9828SPENEHFZJMAD6FJW4": {
|
|
95
|
+
"bakedName": "SET_MODE",
|
|
96
|
+
"curName": "SET_MODE",
|
|
97
|
+
"id": "evt_01M1N9828SPENEHFZJMAD6FJW4",
|
|
98
|
+
"kind": "event",
|
|
99
|
+
"owner": "workspace",
|
|
100
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
101
|
+
"renames": []
|
|
102
|
+
},
|
|
103
|
+
"evt_01M1N9828SSVJX3ANZVEN3DARX": {
|
|
104
|
+
"bakedName": "@config.onEditorBlur",
|
|
105
|
+
"curName": "@config.onEditorBlur",
|
|
106
|
+
"id": "evt_01M1N9828SSVJX3ANZVEN3DARX",
|
|
107
|
+
"kind": "event",
|
|
108
|
+
"owner": "workspace",
|
|
109
|
+
"parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
|
|
110
|
+
"renames": []
|
|
111
|
+
},
|
|
40
112
|
"orb_01KXG04N2S51MYQ8WYZMAPKCX0": {
|
|
41
113
|
"bakedName": "CodeBlockOrbital",
|
|
42
114
|
"curName": "CodeBlockOrbital",
|
|
@@ -77,6 +149,10 @@
|
|
|
77
149
|
{
|
|
78
150
|
"name": "code",
|
|
79
151
|
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "editorId",
|
|
155
|
+
"type": "string"
|
|
80
156
|
}
|
|
81
157
|
],
|
|
82
158
|
"id": "ent_01KXG04N2SC0BJF0R08R6Q5C7V",
|
|
@@ -196,6 +272,12 @@
|
|
|
196
272
|
"tier": "presentation",
|
|
197
273
|
"type": "boolean"
|
|
198
274
|
},
|
|
275
|
+
"editorId": {
|
|
276
|
+
"description": "Stable identity for the keyboard router / plugin host to target this editor. Unset = this instance never receives capability events.",
|
|
277
|
+
"label": "Editor Id",
|
|
278
|
+
"tier": "presentation",
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
199
281
|
"error": {
|
|
200
282
|
"description": "Error state",
|
|
201
283
|
"label": "Error",
|
|
@@ -371,6 +453,51 @@
|
|
|
371
453
|
"diff"
|
|
372
454
|
]
|
|
373
455
|
},
|
|
456
|
+
"motions": {
|
|
457
|
+
"default": [
|
|
458
|
+
"left",
|
|
459
|
+
"right",
|
|
460
|
+
"up",
|
|
461
|
+
"down",
|
|
462
|
+
"word-forward",
|
|
463
|
+
"word-back",
|
|
464
|
+
"word-end",
|
|
465
|
+
"line-start",
|
|
466
|
+
"line-end",
|
|
467
|
+
"first-nonblank",
|
|
468
|
+
"doc-start",
|
|
469
|
+
"doc-end",
|
|
470
|
+
"paragraph-forward",
|
|
471
|
+
"paragraph-back",
|
|
472
|
+
"line",
|
|
473
|
+
"selection"
|
|
474
|
+
],
|
|
475
|
+
"description": "Motion vocabulary this editor accepts. Default: the full `EditorMotion` set.",
|
|
476
|
+
"items": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"values": [
|
|
479
|
+
"left",
|
|
480
|
+
"right",
|
|
481
|
+
"up",
|
|
482
|
+
"down",
|
|
483
|
+
"word-forward",
|
|
484
|
+
"word-back",
|
|
485
|
+
"word-end",
|
|
486
|
+
"line-start",
|
|
487
|
+
"line-end",
|
|
488
|
+
"first-nonblank",
|
|
489
|
+
"doc-start",
|
|
490
|
+
"doc-end",
|
|
491
|
+
"paragraph-forward",
|
|
492
|
+
"paragraph-back",
|
|
493
|
+
"line",
|
|
494
|
+
"selection"
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
"label": "Motions",
|
|
498
|
+
"tier": "presentation",
|
|
499
|
+
"type": "[string]"
|
|
500
|
+
},
|
|
374
501
|
"newValue": {
|
|
375
502
|
"description": "New source text — generates diff when combined with oldValue",
|
|
376
503
|
"label": "New Value",
|
|
@@ -390,6 +517,71 @@
|
|
|
390
517
|
"tier": "presentation",
|
|
391
518
|
"type": "event"
|
|
392
519
|
},
|
|
520
|
+
"onEditorBlur": {
|
|
521
|
+
"default": "EDITOR_BLUR",
|
|
522
|
+
"description": "Declarative bus emit fired when this editor loses focus.",
|
|
523
|
+
"label": "On Editor Blur",
|
|
524
|
+
"tier": "presentation",
|
|
525
|
+
"type": "event"
|
|
526
|
+
},
|
|
527
|
+
"onEditorFocus": {
|
|
528
|
+
"default": "EDITOR_FOCUS",
|
|
529
|
+
"description": "Declarative bus emit fired when this editor gains focus.",
|
|
530
|
+
"label": "On Editor Focus",
|
|
531
|
+
"tier": "presentation",
|
|
532
|
+
"type": "event"
|
|
533
|
+
},
|
|
534
|
+
"onInsertText": {
|
|
535
|
+
"default": "INSERT_TEXT",
|
|
536
|
+
"description": "Declarative bus listen: insert literal text at the cursor.",
|
|
537
|
+
"label": "On Insert Text",
|
|
538
|
+
"refId": "evt_01M1N9828S0M5MX7SXC81YEM9G",
|
|
539
|
+
"tier": "presentation",
|
|
540
|
+
"type": "event"
|
|
541
|
+
},
|
|
542
|
+
"onMotion": {
|
|
543
|
+
"default": "MOTION",
|
|
544
|
+
"description": "Declarative bus listen: move the cursor per the vim-style motion vocabulary.",
|
|
545
|
+
"label": "On Motion",
|
|
546
|
+
"refId": "evt_01M1N9828S2VQW6HFZAXVJ2ABM",
|
|
547
|
+
"tier": "presentation",
|
|
548
|
+
"type": "event"
|
|
549
|
+
},
|
|
550
|
+
"onOperate": {
|
|
551
|
+
"default": "OPERATE",
|
|
552
|
+
"description": "Declarative bus listen: apply a text operator over a motion's range.",
|
|
553
|
+
"label": "On Operate",
|
|
554
|
+
"refId": "evt_01M1N9828S897H4K23GXS4XX8P",
|
|
555
|
+
"tier": "presentation",
|
|
556
|
+
"type": "event"
|
|
557
|
+
},
|
|
558
|
+
"onSetMode": {
|
|
559
|
+
"default": "SET_MODE",
|
|
560
|
+
"description": "Declarative bus listen: switch editor mode and caret style.",
|
|
561
|
+
"label": "On Set Mode",
|
|
562
|
+
"refId": "evt_01M1N9828SPENEHFZJMAD6FJW4",
|
|
563
|
+
"tier": "presentation",
|
|
564
|
+
"type": "event"
|
|
565
|
+
},
|
|
566
|
+
"operators": {
|
|
567
|
+
"default": [
|
|
568
|
+
"delete",
|
|
569
|
+
"yank",
|
|
570
|
+
"change"
|
|
571
|
+
],
|
|
572
|
+
"description": "Operator vocabulary this editor accepts. Default: the full `EditorOperator` set.",
|
|
573
|
+
"items": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"values": [
|
|
576
|
+
"delete",
|
|
577
|
+
"yank",
|
|
578
|
+
"change"
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
"label": "Operators",
|
|
582
|
+
"tier": "presentation",
|
|
583
|
+
"type": "[string]"
|
|
584
|
+
},
|
|
393
585
|
"showCopy": {
|
|
394
586
|
"description": "Show copy button (viewer alias for showCopyButton)",
|
|
395
587
|
"label": "Show Copy",
|
|
@@ -445,11 +637,42 @@
|
|
|
445
637
|
],
|
|
446
638
|
"scope": "external",
|
|
447
639
|
"tier": "essential"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"definerKnob": "onEditorFocus",
|
|
643
|
+
"description": "Declarative bus emit fired when this editor gains focus.",
|
|
644
|
+
"event": "@config.onEditorFocus",
|
|
645
|
+
"eventId": "evt_01M1N9828S6H9T4QBK0D7T39SR",
|
|
646
|
+
"payloadSchema": [
|
|
647
|
+
{
|
|
648
|
+
"name": "editorId",
|
|
649
|
+
"required": true,
|
|
650
|
+
"type": "string"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"scope": "external",
|
|
654
|
+
"tier": "essential"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"definerKnob": "onEditorBlur",
|
|
658
|
+
"description": "Declarative bus emit fired when this editor loses focus.",
|
|
659
|
+
"event": "@config.onEditorBlur",
|
|
660
|
+
"eventId": "evt_01M1N9828SSVJX3ANZVEN3DARX",
|
|
661
|
+
"payloadSchema": [
|
|
662
|
+
{
|
|
663
|
+
"name": "editorId",
|
|
664
|
+
"required": true,
|
|
665
|
+
"type": "string"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"scope": "external",
|
|
669
|
+
"tier": "essential"
|
|
448
670
|
}
|
|
449
671
|
],
|
|
450
672
|
"entityContract": {
|
|
451
673
|
"provides": [
|
|
452
|
-
"code"
|
|
674
|
+
"code",
|
|
675
|
+
"editorId"
|
|
453
676
|
],
|
|
454
677
|
"requires": []
|
|
455
678
|
},
|
|
@@ -480,6 +703,118 @@
|
|
|
480
703
|
}
|
|
481
704
|
]
|
|
482
705
|
},
|
|
706
|
+
{
|
|
707
|
+
"id": "evt_01M1N9828S6770N3CF36C6PZQ7",
|
|
708
|
+
"key": "EDITOR_FOCUS",
|
|
709
|
+
"name": "Editor Focus",
|
|
710
|
+
"payloadSchema": [
|
|
711
|
+
{
|
|
712
|
+
"name": "editorId",
|
|
713
|
+
"required": true,
|
|
714
|
+
"type": "string"
|
|
715
|
+
}
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"id": "evt_01M1N9828SBZ3WH3DDT7YKPPRQ",
|
|
720
|
+
"key": "EDITOR_BLUR",
|
|
721
|
+
"name": "Editor Blur",
|
|
722
|
+
"payloadSchema": [
|
|
723
|
+
{
|
|
724
|
+
"name": "editorId",
|
|
725
|
+
"required": true,
|
|
726
|
+
"type": "string"
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"id": "evt_01M1N9828S2VQW6HFZAXVJ2ABM",
|
|
732
|
+
"key": "MOTION",
|
|
733
|
+
"name": "Motion",
|
|
734
|
+
"payloadSchema": [
|
|
735
|
+
{
|
|
736
|
+
"name": "editorId",
|
|
737
|
+
"required": true,
|
|
738
|
+
"type": "string"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "motion",
|
|
742
|
+
"required": true,
|
|
743
|
+
"type": "string"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "count",
|
|
747
|
+
"required": true,
|
|
748
|
+
"type": "number"
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "evt_01M1N9828S897H4K23GXS4XX8P",
|
|
754
|
+
"key": "OPERATE",
|
|
755
|
+
"name": "Operate",
|
|
756
|
+
"payloadSchema": [
|
|
757
|
+
{
|
|
758
|
+
"name": "editorId",
|
|
759
|
+
"required": true,
|
|
760
|
+
"type": "string"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "operator",
|
|
764
|
+
"required": true,
|
|
765
|
+
"type": "string"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "motion",
|
|
769
|
+
"required": true,
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "count",
|
|
774
|
+
"required": true,
|
|
775
|
+
"type": "number"
|
|
776
|
+
}
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"id": "evt_01M1N9828S0M5MX7SXC81YEM9G",
|
|
781
|
+
"key": "INSERT_TEXT",
|
|
782
|
+
"name": "Insert Text",
|
|
783
|
+
"payloadSchema": [
|
|
784
|
+
{
|
|
785
|
+
"name": "editorId",
|
|
786
|
+
"required": true,
|
|
787
|
+
"type": "string"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "text",
|
|
791
|
+
"required": true,
|
|
792
|
+
"type": "string"
|
|
793
|
+
}
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"id": "evt_01M1N9828SPENEHFZJMAD6FJW4",
|
|
798
|
+
"key": "SET_MODE",
|
|
799
|
+
"name": "Set Mode",
|
|
800
|
+
"payloadSchema": [
|
|
801
|
+
{
|
|
802
|
+
"name": "editorId",
|
|
803
|
+
"required": true,
|
|
804
|
+
"type": "string"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "mode",
|
|
808
|
+
"required": true,
|
|
809
|
+
"type": "string"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "caret",
|
|
813
|
+
"required": true,
|
|
814
|
+
"type": "string"
|
|
815
|
+
}
|
|
816
|
+
]
|
|
817
|
+
},
|
|
483
818
|
{
|
|
484
819
|
"description": "GAP-51: called with the new code on every keystroke when `editable === true`. Consumers should debounce + parse downstream — `CodeBlock` does not.",
|
|
485
820
|
"id": "evt_01KXG04N2V41DBRXK6PA5TWZZ0",
|
|
@@ -492,6 +827,34 @@
|
|
|
492
827
|
}
|
|
493
828
|
],
|
|
494
829
|
"tier": "essential"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"description": "Declarative bus emit fired when this editor gains focus.",
|
|
833
|
+
"id": "evt_01M1N9828S6H9T4QBK0D7T39SR",
|
|
834
|
+
"key": "@config.onEditorFocus",
|
|
835
|
+
"name": "@config.on editor focus",
|
|
836
|
+
"payloadSchema": [
|
|
837
|
+
{
|
|
838
|
+
"name": "editorId",
|
|
839
|
+
"required": true,
|
|
840
|
+
"type": "string"
|
|
841
|
+
}
|
|
842
|
+
],
|
|
843
|
+
"tier": "essential"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"description": "Declarative bus emit fired when this editor loses focus.",
|
|
847
|
+
"id": "evt_01M1N9828SSVJX3ANZVEN3DARX",
|
|
848
|
+
"key": "@config.onEditorBlur",
|
|
849
|
+
"name": "@config.on editor blur",
|
|
850
|
+
"payloadSchema": [
|
|
851
|
+
{
|
|
852
|
+
"name": "editorId",
|
|
853
|
+
"required": true,
|
|
854
|
+
"type": "string"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"tier": "essential"
|
|
495
858
|
}
|
|
496
859
|
],
|
|
497
860
|
"states": [
|
|
@@ -508,6 +871,11 @@
|
|
|
508
871
|
"@entity.code",
|
|
509
872
|
"@config.code"
|
|
510
873
|
],
|
|
874
|
+
[
|
|
875
|
+
"set",
|
|
876
|
+
"@entity.editorId",
|
|
877
|
+
"@config.editorId"
|
|
878
|
+
],
|
|
511
879
|
[
|
|
512
880
|
"render-ui",
|
|
513
881
|
"main",
|
|
@@ -517,6 +885,7 @@
|
|
|
517
885
|
"code": "@entity.code",
|
|
518
886
|
"diff": "@config.diff",
|
|
519
887
|
"editable": "@config.editable",
|
|
888
|
+
"editorId": "@entity.editorId",
|
|
520
889
|
"error": "@config.error",
|
|
521
890
|
"files": "@config.files",
|
|
522
891
|
"foldable": "@config.foldable",
|
|
@@ -524,9 +893,17 @@
|
|
|
524
893
|
"language": "@config.language",
|
|
525
894
|
"maxHeight": "@config.maxHeight",
|
|
526
895
|
"mode": "@config.mode",
|
|
896
|
+
"motions": "@config.motions",
|
|
527
897
|
"newValue": "@config.newValue",
|
|
528
898
|
"oldValue": "@config.oldValue",
|
|
529
899
|
"onChange": "@config.onChange",
|
|
900
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
901
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
902
|
+
"onInsertText": "@config.onInsertText",
|
|
903
|
+
"onMotion": "@config.onMotion",
|
|
904
|
+
"onOperate": "@config.onOperate",
|
|
905
|
+
"onSetMode": "@config.onSetMode",
|
|
906
|
+
"operators": "@config.operators",
|
|
530
907
|
"showCopy": "@config.showCopy",
|
|
531
908
|
"showCopyButton": "@config.showCopyButton",
|
|
532
909
|
"showLanguageBadge": "@config.showLanguageBadge",
|
|
@@ -558,6 +935,7 @@
|
|
|
558
935
|
"code": "@entity.code",
|
|
559
936
|
"diff": "@config.diff",
|
|
560
937
|
"editable": "@config.editable",
|
|
938
|
+
"editorId": "@entity.editorId",
|
|
561
939
|
"error": "@config.error",
|
|
562
940
|
"files": "@config.files",
|
|
563
941
|
"foldable": "@config.foldable",
|
|
@@ -565,9 +943,17 @@
|
|
|
565
943
|
"language": "@config.language",
|
|
566
944
|
"maxHeight": "@config.maxHeight",
|
|
567
945
|
"mode": "@config.mode",
|
|
946
|
+
"motions": "@config.motions",
|
|
568
947
|
"newValue": "@config.newValue",
|
|
569
948
|
"oldValue": "@config.oldValue",
|
|
570
949
|
"onChange": "@config.onChange",
|
|
950
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
951
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
952
|
+
"onInsertText": "@config.onInsertText",
|
|
953
|
+
"onMotion": "@config.onMotion",
|
|
954
|
+
"onOperate": "@config.onOperate",
|
|
955
|
+
"onSetMode": "@config.onSetMode",
|
|
956
|
+
"operators": "@config.operators",
|
|
571
957
|
"showCopy": "@config.showCopy",
|
|
572
958
|
"showCopyButton": "@config.showCopyButton",
|
|
573
959
|
"showLanguageBadge": "@config.showLanguageBadge",
|
|
@@ -582,6 +968,306 @@
|
|
|
582
968
|
"eventId": "evt_01KXG04N2V6YYA247E33H0VB9Q",
|
|
583
969
|
"from": "idle",
|
|
584
970
|
"to": "idle"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"effects": [
|
|
974
|
+
[
|
|
975
|
+
"set",
|
|
976
|
+
"@entity.editorId",
|
|
977
|
+
"@payload.editorId"
|
|
978
|
+
],
|
|
979
|
+
[
|
|
980
|
+
"render-ui",
|
|
981
|
+
"main",
|
|
982
|
+
{
|
|
983
|
+
"actions": "@config.actions",
|
|
984
|
+
"className": "@config.className",
|
|
985
|
+
"code": "@entity.code",
|
|
986
|
+
"diff": "@config.diff",
|
|
987
|
+
"editable": "@config.editable",
|
|
988
|
+
"editorId": "@entity.editorId",
|
|
989
|
+
"error": "@config.error",
|
|
990
|
+
"files": "@config.files",
|
|
991
|
+
"foldable": "@config.foldable",
|
|
992
|
+
"isLoading": "@config.isLoading",
|
|
993
|
+
"language": "@config.language",
|
|
994
|
+
"maxHeight": "@config.maxHeight",
|
|
995
|
+
"mode": "@config.mode",
|
|
996
|
+
"motions": "@config.motions",
|
|
997
|
+
"newValue": "@config.newValue",
|
|
998
|
+
"oldValue": "@config.oldValue",
|
|
999
|
+
"onChange": "@config.onChange",
|
|
1000
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1001
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1002
|
+
"onInsertText": "@config.onInsertText",
|
|
1003
|
+
"onMotion": "@config.onMotion",
|
|
1004
|
+
"onOperate": "@config.onOperate",
|
|
1005
|
+
"onSetMode": "@config.onSetMode",
|
|
1006
|
+
"operators": "@config.operators",
|
|
1007
|
+
"showCopy": "@config.showCopy",
|
|
1008
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1009
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1010
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1011
|
+
"title": "@config.title",
|
|
1012
|
+
"type": "code-block",
|
|
1013
|
+
"wordWrap": "@config.wordWrap"
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
],
|
|
1017
|
+
"event": "EDITOR_FOCUS",
|
|
1018
|
+
"eventId": "evt_01M1N9828S6770N3CF36C6PZQ7",
|
|
1019
|
+
"from": "idle",
|
|
1020
|
+
"to": "idle"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"effects": [
|
|
1024
|
+
[
|
|
1025
|
+
"set",
|
|
1026
|
+
"@entity.editorId",
|
|
1027
|
+
"@payload.editorId"
|
|
1028
|
+
],
|
|
1029
|
+
[
|
|
1030
|
+
"render-ui",
|
|
1031
|
+
"main",
|
|
1032
|
+
{
|
|
1033
|
+
"actions": "@config.actions",
|
|
1034
|
+
"className": "@config.className",
|
|
1035
|
+
"code": "@entity.code",
|
|
1036
|
+
"diff": "@config.diff",
|
|
1037
|
+
"editable": "@config.editable",
|
|
1038
|
+
"editorId": "@entity.editorId",
|
|
1039
|
+
"error": "@config.error",
|
|
1040
|
+
"files": "@config.files",
|
|
1041
|
+
"foldable": "@config.foldable",
|
|
1042
|
+
"isLoading": "@config.isLoading",
|
|
1043
|
+
"language": "@config.language",
|
|
1044
|
+
"maxHeight": "@config.maxHeight",
|
|
1045
|
+
"mode": "@config.mode",
|
|
1046
|
+
"motions": "@config.motions",
|
|
1047
|
+
"newValue": "@config.newValue",
|
|
1048
|
+
"oldValue": "@config.oldValue",
|
|
1049
|
+
"onChange": "@config.onChange",
|
|
1050
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1051
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1052
|
+
"onInsertText": "@config.onInsertText",
|
|
1053
|
+
"onMotion": "@config.onMotion",
|
|
1054
|
+
"onOperate": "@config.onOperate",
|
|
1055
|
+
"onSetMode": "@config.onSetMode",
|
|
1056
|
+
"operators": "@config.operators",
|
|
1057
|
+
"showCopy": "@config.showCopy",
|
|
1058
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1059
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1060
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1061
|
+
"title": "@config.title",
|
|
1062
|
+
"type": "code-block",
|
|
1063
|
+
"wordWrap": "@config.wordWrap"
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1066
|
+
],
|
|
1067
|
+
"event": "EDITOR_BLUR",
|
|
1068
|
+
"eventId": "evt_01M1N9828SBZ3WH3DDT7YKPPRQ",
|
|
1069
|
+
"from": "idle",
|
|
1070
|
+
"to": "idle"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"effects": [
|
|
1074
|
+
[
|
|
1075
|
+
"set",
|
|
1076
|
+
"@entity.editorId",
|
|
1077
|
+
"@payload.editorId"
|
|
1078
|
+
],
|
|
1079
|
+
[
|
|
1080
|
+
"render-ui",
|
|
1081
|
+
"main",
|
|
1082
|
+
{
|
|
1083
|
+
"actions": "@config.actions",
|
|
1084
|
+
"className": "@config.className",
|
|
1085
|
+
"code": "@entity.code",
|
|
1086
|
+
"diff": "@config.diff",
|
|
1087
|
+
"editable": "@config.editable",
|
|
1088
|
+
"editorId": "@entity.editorId",
|
|
1089
|
+
"error": "@config.error",
|
|
1090
|
+
"files": "@config.files",
|
|
1091
|
+
"foldable": "@config.foldable",
|
|
1092
|
+
"isLoading": "@config.isLoading",
|
|
1093
|
+
"language": "@config.language",
|
|
1094
|
+
"maxHeight": "@config.maxHeight",
|
|
1095
|
+
"mode": "@config.mode",
|
|
1096
|
+
"motions": "@config.motions",
|
|
1097
|
+
"newValue": "@config.newValue",
|
|
1098
|
+
"oldValue": "@config.oldValue",
|
|
1099
|
+
"onChange": "@config.onChange",
|
|
1100
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1101
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1102
|
+
"onInsertText": "@config.onInsertText",
|
|
1103
|
+
"onMotion": "@config.onMotion",
|
|
1104
|
+
"onOperate": "@config.onOperate",
|
|
1105
|
+
"onSetMode": "@config.onSetMode",
|
|
1106
|
+
"operators": "@config.operators",
|
|
1107
|
+
"showCopy": "@config.showCopy",
|
|
1108
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1109
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1110
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1111
|
+
"title": "@config.title",
|
|
1112
|
+
"type": "code-block",
|
|
1113
|
+
"wordWrap": "@config.wordWrap"
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
],
|
|
1117
|
+
"event": "MOTION",
|
|
1118
|
+
"eventId": "evt_01M1N9828S2VQW6HFZAXVJ2ABM",
|
|
1119
|
+
"from": "idle",
|
|
1120
|
+
"to": "idle"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"effects": [
|
|
1124
|
+
[
|
|
1125
|
+
"set",
|
|
1126
|
+
"@entity.editorId",
|
|
1127
|
+
"@payload.editorId"
|
|
1128
|
+
],
|
|
1129
|
+
[
|
|
1130
|
+
"render-ui",
|
|
1131
|
+
"main",
|
|
1132
|
+
{
|
|
1133
|
+
"actions": "@config.actions",
|
|
1134
|
+
"className": "@config.className",
|
|
1135
|
+
"code": "@entity.code",
|
|
1136
|
+
"diff": "@config.diff",
|
|
1137
|
+
"editable": "@config.editable",
|
|
1138
|
+
"editorId": "@entity.editorId",
|
|
1139
|
+
"error": "@config.error",
|
|
1140
|
+
"files": "@config.files",
|
|
1141
|
+
"foldable": "@config.foldable",
|
|
1142
|
+
"isLoading": "@config.isLoading",
|
|
1143
|
+
"language": "@config.language",
|
|
1144
|
+
"maxHeight": "@config.maxHeight",
|
|
1145
|
+
"mode": "@config.mode",
|
|
1146
|
+
"motions": "@config.motions",
|
|
1147
|
+
"newValue": "@config.newValue",
|
|
1148
|
+
"oldValue": "@config.oldValue",
|
|
1149
|
+
"onChange": "@config.onChange",
|
|
1150
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1151
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1152
|
+
"onInsertText": "@config.onInsertText",
|
|
1153
|
+
"onMotion": "@config.onMotion",
|
|
1154
|
+
"onOperate": "@config.onOperate",
|
|
1155
|
+
"onSetMode": "@config.onSetMode",
|
|
1156
|
+
"operators": "@config.operators",
|
|
1157
|
+
"showCopy": "@config.showCopy",
|
|
1158
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1159
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1160
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1161
|
+
"title": "@config.title",
|
|
1162
|
+
"type": "code-block",
|
|
1163
|
+
"wordWrap": "@config.wordWrap"
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
],
|
|
1167
|
+
"event": "OPERATE",
|
|
1168
|
+
"eventId": "evt_01M1N9828S897H4K23GXS4XX8P",
|
|
1169
|
+
"from": "idle",
|
|
1170
|
+
"to": "idle"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"effects": [
|
|
1174
|
+
[
|
|
1175
|
+
"set",
|
|
1176
|
+
"@entity.editorId",
|
|
1177
|
+
"@payload.editorId"
|
|
1178
|
+
],
|
|
1179
|
+
[
|
|
1180
|
+
"render-ui",
|
|
1181
|
+
"main",
|
|
1182
|
+
{
|
|
1183
|
+
"actions": "@config.actions",
|
|
1184
|
+
"className": "@config.className",
|
|
1185
|
+
"code": "@entity.code",
|
|
1186
|
+
"diff": "@config.diff",
|
|
1187
|
+
"editable": "@config.editable",
|
|
1188
|
+
"editorId": "@entity.editorId",
|
|
1189
|
+
"error": "@config.error",
|
|
1190
|
+
"files": "@config.files",
|
|
1191
|
+
"foldable": "@config.foldable",
|
|
1192
|
+
"isLoading": "@config.isLoading",
|
|
1193
|
+
"language": "@config.language",
|
|
1194
|
+
"maxHeight": "@config.maxHeight",
|
|
1195
|
+
"mode": "@config.mode",
|
|
1196
|
+
"motions": "@config.motions",
|
|
1197
|
+
"newValue": "@config.newValue",
|
|
1198
|
+
"oldValue": "@config.oldValue",
|
|
1199
|
+
"onChange": "@config.onChange",
|
|
1200
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1201
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1202
|
+
"onInsertText": "@config.onInsertText",
|
|
1203
|
+
"onMotion": "@config.onMotion",
|
|
1204
|
+
"onOperate": "@config.onOperate",
|
|
1205
|
+
"onSetMode": "@config.onSetMode",
|
|
1206
|
+
"operators": "@config.operators",
|
|
1207
|
+
"showCopy": "@config.showCopy",
|
|
1208
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1209
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1210
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1211
|
+
"title": "@config.title",
|
|
1212
|
+
"type": "code-block",
|
|
1213
|
+
"wordWrap": "@config.wordWrap"
|
|
1214
|
+
}
|
|
1215
|
+
]
|
|
1216
|
+
],
|
|
1217
|
+
"event": "INSERT_TEXT",
|
|
1218
|
+
"eventId": "evt_01M1N9828S0M5MX7SXC81YEM9G",
|
|
1219
|
+
"from": "idle",
|
|
1220
|
+
"to": "idle"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"effects": [
|
|
1224
|
+
[
|
|
1225
|
+
"set",
|
|
1226
|
+
"@entity.editorId",
|
|
1227
|
+
"@payload.editorId"
|
|
1228
|
+
],
|
|
1229
|
+
[
|
|
1230
|
+
"render-ui",
|
|
1231
|
+
"main",
|
|
1232
|
+
{
|
|
1233
|
+
"actions": "@config.actions",
|
|
1234
|
+
"className": "@config.className",
|
|
1235
|
+
"code": "@entity.code",
|
|
1236
|
+
"diff": "@config.diff",
|
|
1237
|
+
"editable": "@config.editable",
|
|
1238
|
+
"editorId": "@entity.editorId",
|
|
1239
|
+
"error": "@config.error",
|
|
1240
|
+
"files": "@config.files",
|
|
1241
|
+
"foldable": "@config.foldable",
|
|
1242
|
+
"isLoading": "@config.isLoading",
|
|
1243
|
+
"language": "@config.language",
|
|
1244
|
+
"maxHeight": "@config.maxHeight",
|
|
1245
|
+
"mode": "@config.mode",
|
|
1246
|
+
"motions": "@config.motions",
|
|
1247
|
+
"newValue": "@config.newValue",
|
|
1248
|
+
"oldValue": "@config.oldValue",
|
|
1249
|
+
"onChange": "@config.onChange",
|
|
1250
|
+
"onEditorBlur": "@config.onEditorBlur",
|
|
1251
|
+
"onEditorFocus": "@config.onEditorFocus",
|
|
1252
|
+
"onInsertText": "@config.onInsertText",
|
|
1253
|
+
"onMotion": "@config.onMotion",
|
|
1254
|
+
"onOperate": "@config.onOperate",
|
|
1255
|
+
"onSetMode": "@config.onSetMode",
|
|
1256
|
+
"operators": "@config.operators",
|
|
1257
|
+
"showCopy": "@config.showCopy",
|
|
1258
|
+
"showCopyButton": "@config.showCopyButton",
|
|
1259
|
+
"showLanguageBadge": "@config.showLanguageBadge",
|
|
1260
|
+
"showLineNumbers": "@config.showLineNumbers",
|
|
1261
|
+
"title": "@config.title",
|
|
1262
|
+
"type": "code-block",
|
|
1263
|
+
"wordWrap": "@config.wordWrap"
|
|
1264
|
+
}
|
|
1265
|
+
]
|
|
1266
|
+
],
|
|
1267
|
+
"event": "SET_MODE",
|
|
1268
|
+
"eventId": "evt_01M1N9828SPENEHFZJMAD6FJW4",
|
|
1269
|
+
"from": "idle",
|
|
1270
|
+
"to": "idle"
|
|
585
1271
|
}
|
|
586
1272
|
]
|
|
587
1273
|
}
|