@almadar/std 16.201.0 → 16.202.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/molecules/ui-command-palette.lolo +116 -0
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +2 -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 +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -0
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +7 -0
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +7 -0
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -0
- 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/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 +9 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +13 -0
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +21 -0
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +21 -0
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +13 -0
- package/dist/behaviors/exports-reader.js +3067 -2891
- package/dist/behaviors/functions/index.d.ts +407 -5
- package/dist/behaviors/functions/index.js +3048 -2884
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3060 -2884
- package/dist/behaviors/query.js +3067 -2891
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +23 -7
- package/dist/behaviors-registry.json +2780 -391
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3060 -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
|
@@ -18,6 +18,7 @@ orbital LearningCanvasOrbital {
|
|
|
18
18
|
text : string
|
|
19
19
|
label : string
|
|
20
20
|
fontSize : number
|
|
21
|
+
fontFamily : string
|
|
21
22
|
align : "left" | "center" | "right"
|
|
22
23
|
axis : "x" | "y"
|
|
23
24
|
min : number
|
|
@@ -101,6 +102,7 @@ orbital LearningCanvasOrbital {
|
|
|
101
102
|
width: @config.width
|
|
102
103
|
height: @config.height
|
|
103
104
|
backgroundColor: @config.backgroundColor
|
|
105
|
+
fontFamily: @config.fontFamily
|
|
104
106
|
shapes: @config.shapes
|
|
105
107
|
drawables: @config.drawables
|
|
106
108
|
projector: @config.projector
|
|
@@ -120,6 +122,7 @@ orbital LearningCanvasOrbital {
|
|
|
120
122
|
width: @config.width
|
|
121
123
|
height: @config.height
|
|
122
124
|
backgroundColor: @config.backgroundColor
|
|
125
|
+
fontFamily: @config.fontFamily
|
|
123
126
|
shapes: @payload.shapes
|
|
124
127
|
drawables: @payload.drawables
|
|
125
128
|
projector: @config.projector
|
|
@@ -177,6 +180,10 @@ orbital LearningCanvasOrbital {
|
|
|
177
180
|
@label "Background Color"
|
|
178
181
|
@description "Background color (default transparent)."
|
|
179
182
|
@tier "presentation"
|
|
183
|
+
fontFamily : string
|
|
184
|
+
@label "Font Family"
|
|
185
|
+
@description "Canvas text font family. Falls back to the theme's --font-family-body."
|
|
186
|
+
@tier "presentation"
|
|
180
187
|
shapes : [LearningCanvasShapesItem] = []
|
|
181
188
|
@label "Shapes"
|
|
182
189
|
@description "Declarative shapes to draw."
|
|
@@ -90,6 +90,7 @@ orbital MathCanvasOrbital {
|
|
|
90
90
|
text : string
|
|
91
91
|
label : string
|
|
92
92
|
fontSize : number
|
|
93
|
+
fontFamily : string
|
|
93
94
|
align : "left" | "center" | "right"
|
|
94
95
|
axis : "x" | "y"
|
|
95
96
|
min : number
|
|
@@ -174,6 +175,7 @@ orbital MathCanvasOrbital {
|
|
|
174
175
|
showTickLabels: @config.showTickLabels
|
|
175
176
|
tickLabelFontSize: @config.tickLabelFontSize
|
|
176
177
|
labelFontSize: @config.labelFontSize
|
|
178
|
+
fontFamily: @config.fontFamily
|
|
177
179
|
showCurveLabels: @config.showCurveLabels
|
|
178
180
|
curves: @config.curves
|
|
179
181
|
points: @config.points
|
|
@@ -215,6 +217,7 @@ orbital MathCanvasOrbital {
|
|
|
215
217
|
showTickLabels: @config.showTickLabels
|
|
216
218
|
tickLabelFontSize: @config.tickLabelFontSize
|
|
217
219
|
labelFontSize: @config.labelFontSize
|
|
220
|
+
fontFamily: @config.fontFamily
|
|
218
221
|
showCurveLabels: @config.showCurveLabels
|
|
219
222
|
curves: @payload.curves
|
|
220
223
|
points: @payload.points
|
|
@@ -336,6 +339,10 @@ orbital MathCanvasOrbital {
|
|
|
336
339
|
@label "Label Font Size"
|
|
337
340
|
@description "Base font size in px for all other canvas annotations (points, vectors, guides, curves, regions, angles, hops; default 12)."
|
|
338
341
|
@tier "presentation"
|
|
342
|
+
fontFamily : string
|
|
343
|
+
@label "Font Family"
|
|
344
|
+
@description "Canvas text font family. Accepts a known game-font key (e.g. 'future-narrow') or a CSS font-family string."
|
|
345
|
+
@tier "presentation"
|
|
339
346
|
showCurveLabels : boolean = false
|
|
340
347
|
@label "Show Curve Labels"
|
|
341
348
|
@description "Draw each curve's `label` at its last in-range sample (default false)."
|
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "CommandPalette — UI factory (1:1 with the @almadar/ui command-palette pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M1KNYATVYPS9P6E4EDEYNG4B": {
|
|
6
|
+
"bakedName": "CommandPaletteItem",
|
|
7
|
+
"curName": "CommandPaletteItem",
|
|
8
|
+
"id": "ent_01M1KNYATVYPS9P6E4EDEYNG4B",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M1KNYATV6A6183DCAHAV8G29": {
|
|
14
|
+
"bakedName": "@config.onOpenChange",
|
|
15
|
+
"curName": "@config.onOpenChange",
|
|
16
|
+
"id": "evt_01M1KNYATV6A6183DCAHAV8G29",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01M1KNYATVPVN3340QMMFYF7Q4": {
|
|
23
|
+
"bakedName": "@config.onSelect",
|
|
24
|
+
"curName": "@config.onSelect",
|
|
25
|
+
"id": "evt_01M1KNYATVPVN3340QMMFYF7Q4",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01M1KNYATVTSADY2GNXYEGFVGQ": {
|
|
32
|
+
"bakedName": "OPEN_CHANGE",
|
|
33
|
+
"curName": "OPEN_CHANGE",
|
|
34
|
+
"id": "evt_01M1KNYATVTSADY2GNXYEGFVGQ",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"evt_01M1KNYATVV11B8MNEAHHAR28X": {
|
|
41
|
+
"bakedName": "INIT",
|
|
42
|
+
"curName": "INIT",
|
|
43
|
+
"id": "evt_01M1KNYATVV11B8MNEAHHAR28X",
|
|
44
|
+
"kind": "event",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"parent": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
47
|
+
"renames": []
|
|
48
|
+
},
|
|
49
|
+
"orb_01M1KNYATVRR0J0XVKGCXEN3DY": {
|
|
50
|
+
"bakedName": "CommandPaletteOrbital",
|
|
51
|
+
"curName": "CommandPaletteOrbital",
|
|
52
|
+
"id": "orb_01M1KNYATVRR0J0XVKGCXEN3DY",
|
|
53
|
+
"kind": "orbital",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"renames": []
|
|
56
|
+
},
|
|
57
|
+
"pag_01M1KNYATVTH98ZHA1CFNEDKWQ": {
|
|
58
|
+
"bakedName": "CommandPalettePage",
|
|
59
|
+
"curName": "CommandPalettePage",
|
|
60
|
+
"id": "pag_01M1KNYATVTH98ZHA1CFNEDKWQ",
|
|
61
|
+
"kind": "page",
|
|
62
|
+
"owner": "workspace",
|
|
63
|
+
"renames": []
|
|
64
|
+
},
|
|
65
|
+
"trt_01M1KNYATV6QJY03T0Z3RRNQSZ": {
|
|
66
|
+
"bakedName": "CommandPaletteRender",
|
|
67
|
+
"curName": "CommandPaletteRender",
|
|
68
|
+
"id": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
69
|
+
"kind": "trait",
|
|
70
|
+
"owner": "workspace",
|
|
71
|
+
"renames": []
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"schemaVersion": 1
|
|
75
|
+
},
|
|
76
|
+
"name": "ui-command-palette",
|
|
77
|
+
"orbitals": [
|
|
78
|
+
{
|
|
79
|
+
"entity": {
|
|
80
|
+
"fields": [
|
|
81
|
+
{
|
|
82
|
+
"name": "id",
|
|
83
|
+
"required": true,
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"default": false,
|
|
88
|
+
"name": "open",
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"id": "ent_01M1KNYATVYPS9P6E4EDEYNG4B",
|
|
93
|
+
"name": "CommandPaletteItem",
|
|
94
|
+
"persistence": "runtime"
|
|
95
|
+
},
|
|
96
|
+
"id": "orb_01M1KNYATVRR0J0XVKGCXEN3DY",
|
|
97
|
+
"name": "CommandPaletteOrbital",
|
|
98
|
+
"pages": [
|
|
99
|
+
{
|
|
100
|
+
"id": "pag_01M1KNYATVTH98ZHA1CFNEDKWQ",
|
|
101
|
+
"name": "CommandPalettePage",
|
|
102
|
+
"path": "/command-palette",
|
|
103
|
+
"traits": [
|
|
104
|
+
{
|
|
105
|
+
"ref": "CommandPaletteRender",
|
|
106
|
+
"refId": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"traits": [
|
|
112
|
+
{
|
|
113
|
+
"category": "interaction",
|
|
114
|
+
"config": {
|
|
115
|
+
"className": {
|
|
116
|
+
"description": "Additional CSS classes on the overlay's dialog",
|
|
117
|
+
"label": "Class Name",
|
|
118
|
+
"tier": "presentation",
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"commands": {
|
|
122
|
+
"default": [
|
|
123
|
+
{
|
|
124
|
+
"action": "Action",
|
|
125
|
+
"disabled": false,
|
|
126
|
+
"group": "Group",
|
|
127
|
+
"icon": "circle",
|
|
128
|
+
"id": "Id",
|
|
129
|
+
"keywords": [
|
|
130
|
+
"Item",
|
|
131
|
+
"Item 2"
|
|
132
|
+
],
|
|
133
|
+
"label": "Label",
|
|
134
|
+
"shortcut": "Shortcut"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"action": "Action 2",
|
|
138
|
+
"disabled": true,
|
|
139
|
+
"group": "Group 2",
|
|
140
|
+
"icon": "circle",
|
|
141
|
+
"id": "Id 2",
|
|
142
|
+
"keywords": [
|
|
143
|
+
"Item",
|
|
144
|
+
"Item 2"
|
|
145
|
+
],
|
|
146
|
+
"label": "Label 2",
|
|
147
|
+
"shortcut": "Shortcut 2"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"description": "Commands listed in the palette, filtered as the user types",
|
|
151
|
+
"items": {
|
|
152
|
+
"properties": {
|
|
153
|
+
"action": {
|
|
154
|
+
"name": "action",
|
|
155
|
+
"required": false,
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"actionPayload": {
|
|
159
|
+
"items": {
|
|
160
|
+
"type": "scalar"
|
|
161
|
+
},
|
|
162
|
+
"name": "actionPayload",
|
|
163
|
+
"required": false,
|
|
164
|
+
"type": "object"
|
|
165
|
+
},
|
|
166
|
+
"disabled": {
|
|
167
|
+
"name": "disabled",
|
|
168
|
+
"required": false,
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"event": {
|
|
172
|
+
"name": "event",
|
|
173
|
+
"required": false,
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"group": {
|
|
177
|
+
"name": "group",
|
|
178
|
+
"required": false,
|
|
179
|
+
"type": "string"
|
|
180
|
+
},
|
|
181
|
+
"icon": {
|
|
182
|
+
"name": "icon",
|
|
183
|
+
"required": false,
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"id": {
|
|
187
|
+
"name": "id",
|
|
188
|
+
"required": true,
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"keywords": {
|
|
192
|
+
"items": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"name": "keywords",
|
|
196
|
+
"required": false,
|
|
197
|
+
"type": "array"
|
|
198
|
+
},
|
|
199
|
+
"label": {
|
|
200
|
+
"name": "label",
|
|
201
|
+
"required": true,
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"shortcut": {
|
|
205
|
+
"name": "shortcut",
|
|
206
|
+
"required": false,
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"type": "object"
|
|
211
|
+
},
|
|
212
|
+
"label": "Commands",
|
|
213
|
+
"tier": "presentation",
|
|
214
|
+
"type": "[CommandPaletteCommandsItem]"
|
|
215
|
+
},
|
|
216
|
+
"emptyLabel": {
|
|
217
|
+
"default": "No matching commands",
|
|
218
|
+
"description": "Label shown when no command matches the query",
|
|
219
|
+
"label": "Empty Label",
|
|
220
|
+
"tier": "presentation",
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"onOpenChange": {
|
|
224
|
+
"default": "OPEN_CHANGE",
|
|
225
|
+
"description": "Called to open/close the overlay (Escape, overlay click, or a selection)",
|
|
226
|
+
"label": "On Open Change",
|
|
227
|
+
"tier": "presentation",
|
|
228
|
+
"type": "event"
|
|
229
|
+
},
|
|
230
|
+
"onSelect": {
|
|
231
|
+
"default": "SELECT",
|
|
232
|
+
"description": "Called with the selected command (click, or Enter on the highlighted row)",
|
|
233
|
+
"label": "On Select",
|
|
234
|
+
"tier": "presentation",
|
|
235
|
+
"type": "event"
|
|
236
|
+
},
|
|
237
|
+
"open": {
|
|
238
|
+
"default": false,
|
|
239
|
+
"description": "Whether the palette overlay is open",
|
|
240
|
+
"label": "Open",
|
|
241
|
+
"tier": "presentation",
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"placeholder": {
|
|
245
|
+
"default": "Type a command...",
|
|
246
|
+
"description": "Search field placeholder. Consumers own i18n — plain string prop, no package-internal translation (matches FloatingToolbar's convention).",
|
|
247
|
+
"label": "Placeholder",
|
|
248
|
+
"tier": "presentation",
|
|
249
|
+
"type": "string"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"emits": [
|
|
253
|
+
{
|
|
254
|
+
"definerKnob": "onOpenChange",
|
|
255
|
+
"description": "Called to open/close the overlay (Escape, overlay click, or a selection)",
|
|
256
|
+
"event": "@config.onOpenChange",
|
|
257
|
+
"eventId": "evt_01M1KNYATV6A6183DCAHAV8G29",
|
|
258
|
+
"payloadSchema": [
|
|
259
|
+
{
|
|
260
|
+
"name": "open",
|
|
261
|
+
"type": "boolean"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"scope": "external",
|
|
265
|
+
"tier": "essential"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"definerKnob": "onSelect",
|
|
269
|
+
"description": "Called with the selected command (click, or Enter on the highlighted row)",
|
|
270
|
+
"event": "@config.onSelect",
|
|
271
|
+
"eventId": "evt_01M1KNYATVPVN3340QMMFYF7Q4",
|
|
272
|
+
"payloadSchema": [
|
|
273
|
+
{
|
|
274
|
+
"name": "command",
|
|
275
|
+
"properties": [
|
|
276
|
+
{
|
|
277
|
+
"name": "id",
|
|
278
|
+
"required": true,
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "label",
|
|
283
|
+
"required": true,
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "icon",
|
|
288
|
+
"type": "icon"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "shortcut",
|
|
292
|
+
"type": "string"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "keywords",
|
|
296
|
+
"type": "[string]"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "group",
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "disabled",
|
|
304
|
+
"type": "boolean"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "event",
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "action",
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "actionPayload",
|
|
316
|
+
"type": "Map<string,scalar>"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"type": "object"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"scope": "external",
|
|
323
|
+
"tier": "essential"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"entityContract": {
|
|
327
|
+
"provides": [
|
|
328
|
+
"open"
|
|
329
|
+
],
|
|
330
|
+
"requires": []
|
|
331
|
+
},
|
|
332
|
+
"entityRebindable": true,
|
|
333
|
+
"entityRefIds": {
|
|
334
|
+
"CommandPaletteItem": "ent_01M1KNYATVYPS9P6E4EDEYNG4B"
|
|
335
|
+
},
|
|
336
|
+
"id": "trt_01M1KNYATV6QJY03T0Z3RRNQSZ",
|
|
337
|
+
"linkedEntity": "CommandPaletteItem",
|
|
338
|
+
"linkedEntityId": "ent_01M1KNYATVYPS9P6E4EDEYNG4B",
|
|
339
|
+
"name": "CommandPaletteRender",
|
|
340
|
+
"scope": "instance",
|
|
341
|
+
"stateMachine": {
|
|
342
|
+
"events": [
|
|
343
|
+
{
|
|
344
|
+
"id": "evt_01M1KNYATVV11B8MNEAHHAR28X",
|
|
345
|
+
"key": "INIT",
|
|
346
|
+
"name": "Initialize"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "evt_01M1KNYATVTSADY2GNXYEGFVGQ",
|
|
350
|
+
"key": "OPEN_CHANGE",
|
|
351
|
+
"name": "Open Change",
|
|
352
|
+
"payloadSchema": [
|
|
353
|
+
{
|
|
354
|
+
"name": "open",
|
|
355
|
+
"type": "boolean"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"description": "Called to open/close the overlay (Escape, overlay click, or a selection)",
|
|
361
|
+
"id": "evt_01M1KNYATV6A6183DCAHAV8G29",
|
|
362
|
+
"key": "@config.onOpenChange",
|
|
363
|
+
"name": "@config.on open change",
|
|
364
|
+
"payloadSchema": [
|
|
365
|
+
{
|
|
366
|
+
"name": "open",
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"tier": "essential"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"description": "Called with the selected command (click, or Enter on the highlighted row)",
|
|
374
|
+
"id": "evt_01M1KNYATVPVN3340QMMFYF7Q4",
|
|
375
|
+
"key": "@config.onSelect",
|
|
376
|
+
"name": "@config.on select",
|
|
377
|
+
"payloadSchema": [
|
|
378
|
+
{
|
|
379
|
+
"name": "command",
|
|
380
|
+
"properties": [
|
|
381
|
+
{
|
|
382
|
+
"name": "id",
|
|
383
|
+
"required": true,
|
|
384
|
+
"type": "string"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "label",
|
|
388
|
+
"required": true,
|
|
389
|
+
"type": "string"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "icon",
|
|
393
|
+
"type": "icon"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "shortcut",
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "keywords",
|
|
401
|
+
"type": "[string]"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "group",
|
|
405
|
+
"type": "string"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "disabled",
|
|
409
|
+
"type": "boolean"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "event",
|
|
413
|
+
"type": "string"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "action",
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "actionPayload",
|
|
421
|
+
"type": "Map<string,scalar>"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"type": "object"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"tier": "essential"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"states": [
|
|
431
|
+
{
|
|
432
|
+
"isInitial": true,
|
|
433
|
+
"name": "idle"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"transitions": [
|
|
437
|
+
{
|
|
438
|
+
"effects": [
|
|
439
|
+
[
|
|
440
|
+
"set",
|
|
441
|
+
"@entity.open",
|
|
442
|
+
"@config.open"
|
|
443
|
+
],
|
|
444
|
+
[
|
|
445
|
+
"render-ui",
|
|
446
|
+
"main",
|
|
447
|
+
{
|
|
448
|
+
"className": "@config.className",
|
|
449
|
+
"commands": "@config.commands",
|
|
450
|
+
"emptyLabel": "@config.emptyLabel",
|
|
451
|
+
"onOpenChange": "@config.onOpenChange",
|
|
452
|
+
"onSelect": "@config.onSelect",
|
|
453
|
+
"open": "@entity.open",
|
|
454
|
+
"placeholder": "@config.placeholder",
|
|
455
|
+
"type": "command-palette"
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
],
|
|
459
|
+
"event": "INIT",
|
|
460
|
+
"eventId": "evt_01M1KNYATVV11B8MNEAHHAR28X",
|
|
461
|
+
"from": "idle",
|
|
462
|
+
"to": "idle"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"effects": [
|
|
466
|
+
[
|
|
467
|
+
"set",
|
|
468
|
+
"@entity.open",
|
|
469
|
+
"@payload.open"
|
|
470
|
+
],
|
|
471
|
+
[
|
|
472
|
+
"render-ui",
|
|
473
|
+
"main",
|
|
474
|
+
{
|
|
475
|
+
"className": "@config.className",
|
|
476
|
+
"commands": "@config.commands",
|
|
477
|
+
"emptyLabel": "@config.emptyLabel",
|
|
478
|
+
"onOpenChange": "@config.onOpenChange",
|
|
479
|
+
"onSelect": "@config.onSelect",
|
|
480
|
+
"open": "@entity.open",
|
|
481
|
+
"placeholder": "@config.placeholder",
|
|
482
|
+
"type": "command-palette"
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
],
|
|
486
|
+
"event": "OPEN_CHANGE",
|
|
487
|
+
"eventId": "evt_01M1KNYATVTSADY2GNXYEGFVGQ",
|
|
488
|
+
"from": "idle",
|
|
489
|
+
"to": "idle"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"types": {
|
|
496
|
+
"CommandPaletteCommandsItem": [
|
|
497
|
+
{
|
|
498
|
+
"name": "id",
|
|
499
|
+
"required": true,
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "label",
|
|
504
|
+
"required": true,
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "icon",
|
|
509
|
+
"type": "icon"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "shortcut",
|
|
513
|
+
"type": "string"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "keywords",
|
|
517
|
+
"type": "[string]"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "group",
|
|
521
|
+
"type": "string"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "disabled",
|
|
525
|
+
"type": "boolean"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "event",
|
|
529
|
+
"type": "string"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "action",
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "actionPayload",
|
|
537
|
+
"type": "Map<string,scalar>"
|
|
538
|
+
}
|
|
539
|
+
],
|
|
540
|
+
"CommandPaletteSELECTCommand": [
|
|
541
|
+
{
|
|
542
|
+
"name": "id",
|
|
543
|
+
"required": true,
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "label",
|
|
548
|
+
"required": true,
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "icon",
|
|
553
|
+
"type": "icon"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "shortcut",
|
|
557
|
+
"type": "string"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "keywords",
|
|
561
|
+
"type": "[string]"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "group",
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "disabled",
|
|
569
|
+
"type": "boolean"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "event",
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "action",
|
|
577
|
+
"type": "string"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "actionPayload",
|
|
581
|
+
"type": "Map<string,scalar>"
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"schemaVersion": 1,
|
|
588
|
+
"version": "1.0.0"
|
|
589
|
+
}
|