@almadar/std 16.233.0 → 16.234.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/behaviors/behaviors-registry.json +1378 -130
  2. package/behaviors/lolo/ui/avl/atoms/ui-avl-glyph.lolo +54 -0
  3. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +132 -0
  4. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +5 -6
  5. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +7 -8
  6. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +74 -0
  7. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +16 -0
  8. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +104 -2
  9. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +1 -1
  10. package/behaviors/lolo-behavior-contracts.json +1 -1
  11. package/behaviors/registry/factory-signatures.json +1 -1
  12. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +211 -0
  13. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +761 -0
  14. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +157 -66
  15. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +158 -67
  16. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +185 -0
  17. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +68 -0
  18. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +487 -2
  19. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -2
  20. package/dist/behaviors/exports-reader.js +1863 -1472
  21. package/dist/behaviors/functions/index.d.ts +241 -7
  22. package/dist/behaviors/functions/index.js +1858 -1473
  23. package/dist/behaviors/index.d.ts +1 -1
  24. package/dist/behaviors/index.js +1864 -1473
  25. package/dist/behaviors/query.js +1863 -1472
  26. package/dist/behaviors-embeddings.hash.json +3 -3
  27. package/dist/behaviors-embeddings.json +19 -11
  28. package/dist/behaviors-registry.json +1378 -130
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +1864 -1473
  31. package/dist/knob-embeddings.hash.json +3 -3
  32. package/dist/knob-embeddings.json +159 -7
  33. package/dist/registry/factory-signatures.json +1 -1
  34. package/package.json +2 -2
@@ -109,6 +109,15 @@
109
109
  "parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
110
110
  "renames": []
111
111
  },
112
+ "evt_01M3M10AGQ3638A5DTWM086EYC": {
113
+ "bakedName": "@config.onGoToDefinition",
114
+ "curName": "@config.onGoToDefinition",
115
+ "id": "evt_01M3M10AGQ3638A5DTWM086EYC",
116
+ "kind": "event",
117
+ "owner": "workspace",
118
+ "parent": "trt_01KXG04N2STG2K5C78H6K1FDZ8",
119
+ "renames": []
120
+ },
112
121
  "orb_01KXG04N2S51MYQ8WYZMAPKCX0": {
113
122
  "bakedName": "CodeBlockOrbital",
114
123
  "curName": "CodeBlockOrbital",
@@ -229,6 +238,63 @@
229
238
  "tier": "presentation",
230
239
  "type": "string"
231
240
  },
241
+ "diagnostics": {
242
+ "default": [],
243
+ "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.",
244
+ "items": {
245
+ "properties": {
246
+ "approximate": {
247
+ "name": "approximate",
248
+ "required": false,
249
+ "type": "boolean"
250
+ },
251
+ "column": {
252
+ "name": "column",
253
+ "required": false,
254
+ "type": "number"
255
+ },
256
+ "endColumn": {
257
+ "name": "endColumn",
258
+ "required": false,
259
+ "type": "number"
260
+ },
261
+ "endLine": {
262
+ "name": "endLine",
263
+ "required": false,
264
+ "type": "number"
265
+ },
266
+ "line": {
267
+ "name": "line",
268
+ "required": true,
269
+ "type": "number"
270
+ },
271
+ "message": {
272
+ "name": "message",
273
+ "required": true,
274
+ "type": "string"
275
+ },
276
+ "severity": {
277
+ "name": "severity",
278
+ "required": true,
279
+ "type": "string",
280
+ "values": [
281
+ "error",
282
+ "warning"
283
+ ]
284
+ }
285
+ },
286
+ "type": "object"
287
+ },
288
+ "label": "Diagnostics",
289
+ "tier": "presentation",
290
+ "type": "[CodeBlockDiagnosticsItem]"
291
+ },
292
+ "diagnosticsCode": {
293
+ "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.",
294
+ "label": "Diagnostics Code",
295
+ "tier": "presentation",
296
+ "type": "string"
297
+ },
232
298
  "diff": {
233
299
  "default": [],
234
300
  "description": "Pre-computed diff lines",
@@ -437,6 +503,12 @@
437
503
  "tier": "presentation",
438
504
  "type": "string"
439
505
  },
506
+ "lineNumbers": {
507
+ "description": "Editable only: number the lines in a gutter (lines with errors in red). Default on.",
508
+ "label": "Line Numbers",
509
+ "tier": "presentation",
510
+ "type": "boolean"
511
+ },
440
512
  "maxHeight": {
441
513
  "default": "60vh",
442
514
  "description": "Maximum height before scrolling",
@@ -535,6 +607,13 @@
535
607
  "tier": "presentation",
536
608
  "type": "event"
537
609
  },
610
+ "onGoToDefinition": {
611
+ "default": "GO_TO_DEFINITION",
612
+ "description": "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
613
+ "label": "On Go To Definition",
614
+ "tier": "presentation",
615
+ "type": "event"
616
+ },
538
617
  "onInsertText": {
539
618
  "default": "INSERT_TEXT",
540
619
  "description": "Declarative bus listen: insert literal text at the cursor.",
@@ -604,6 +683,12 @@
604
683
  "tier": "presentation",
605
684
  "type": "[string]"
606
685
  },
686
+ "problems": {
687
+ "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.",
688
+ "label": "Problems",
689
+ "tier": "presentation",
690
+ "type": "number"
691
+ },
607
692
  "showCopy": {
608
693
  "description": "Show copy button (viewer alias for showCopyButton)",
609
694
  "label": "Show Copy",
@@ -703,6 +788,20 @@
703
788
  ],
704
789
  "scope": "external",
705
790
  "tier": "essential"
791
+ },
792
+ {
793
+ "definerKnob": "onGoToDefinition",
794
+ "description": "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
795
+ "event": "@config.onGoToDefinition",
796
+ "eventId": "evt_01M3M10AGQ3638A5DTWM086EYC",
797
+ "payloadSchema": [
798
+ {
799
+ "name": "identifier",
800
+ "type": "string"
801
+ }
802
+ ],
803
+ "scope": "external",
804
+ "tier": "essential"
706
805
  }
707
806
  ],
708
807
  "entityContract": {
@@ -891,6 +990,19 @@
891
990
  }
892
991
  ],
893
992
  "tier": "essential"
993
+ },
994
+ {
995
+ "description": "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
996
+ "id": "evt_01M3M10AGQ3638A5DTWM086EYC",
997
+ "key": "@config.onGoToDefinition",
998
+ "name": "@config.on go to definition",
999
+ "payloadSchema": [
1000
+ {
1001
+ "name": "identifier",
1002
+ "type": "string"
1003
+ }
1004
+ ],
1005
+ "tier": "essential"
894
1006
  }
895
1007
  ],
896
1008
  "states": [
@@ -919,6 +1031,8 @@
919
1031
  "actions": "@config.actions",
920
1032
  "className": "@config.className",
921
1033
  "code": "@entity.code",
1034
+ "diagnostics": "@config.diagnostics",
1035
+ "diagnosticsCode": "@config.diagnosticsCode",
922
1036
  "diff": "@config.diff",
923
1037
  "editable": "@config.editable",
924
1038
  "editorId": "@entity.editorId",
@@ -927,6 +1041,7 @@
927
1041
  "foldable": "@config.foldable",
928
1042
  "isLoading": "@config.isLoading",
929
1043
  "language": "@config.language",
1044
+ "lineNumbers": "@config.lineNumbers",
930
1045
  "maxHeight": "@config.maxHeight",
931
1046
  "mode": "@config.mode",
932
1047
  "motions": "@config.motions",
@@ -935,11 +1050,13 @@
935
1050
  "onChange": "@config.onChange",
936
1051
  "onEditorBlur": "@config.onEditorBlur",
937
1052
  "onEditorFocus": "@config.onEditorFocus",
1053
+ "onGoToDefinition": "@config.onGoToDefinition",
938
1054
  "onInsertText": "@config.onInsertText",
939
1055
  "onMotion": "@config.onMotion",
940
1056
  "onOperate": "@config.onOperate",
941
1057
  "onSetMode": "@config.onSetMode",
942
1058
  "operators": "@config.operators",
1059
+ "problems": "@config.problems",
943
1060
  "showCopy": "@config.showCopy",
944
1061
  "showCopyButton": "@config.showCopyButton",
945
1062
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -969,6 +1086,8 @@
969
1086
  "actions": "@config.actions",
970
1087
  "className": "@config.className",
971
1088
  "code": "@entity.code",
1089
+ "diagnostics": "@config.diagnostics",
1090
+ "diagnosticsCode": "@config.diagnosticsCode",
972
1091
  "diff": "@config.diff",
973
1092
  "editable": "@config.editable",
974
1093
  "editorId": "@entity.editorId",
@@ -977,6 +1096,7 @@
977
1096
  "foldable": "@config.foldable",
978
1097
  "isLoading": "@config.isLoading",
979
1098
  "language": "@config.language",
1099
+ "lineNumbers": "@config.lineNumbers",
980
1100
  "maxHeight": "@config.maxHeight",
981
1101
  "mode": "@config.mode",
982
1102
  "motions": "@config.motions",
@@ -985,11 +1105,13 @@
985
1105
  "onChange": "@config.onChange",
986
1106
  "onEditorBlur": "@config.onEditorBlur",
987
1107
  "onEditorFocus": "@config.onEditorFocus",
1108
+ "onGoToDefinition": "@config.onGoToDefinition",
988
1109
  "onInsertText": "@config.onInsertText",
989
1110
  "onMotion": "@config.onMotion",
990
1111
  "onOperate": "@config.onOperate",
991
1112
  "onSetMode": "@config.onSetMode",
992
1113
  "operators": "@config.operators",
1114
+ "problems": "@config.problems",
993
1115
  "showCopy": "@config.showCopy",
994
1116
  "showCopyButton": "@config.showCopyButton",
995
1117
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1019,6 +1141,8 @@
1019
1141
  "actions": "@config.actions",
1020
1142
  "className": "@config.className",
1021
1143
  "code": "@entity.code",
1144
+ "diagnostics": "@config.diagnostics",
1145
+ "diagnosticsCode": "@config.diagnosticsCode",
1022
1146
  "diff": "@config.diff",
1023
1147
  "editable": "@config.editable",
1024
1148
  "editorId": "@entity.editorId",
@@ -1027,6 +1151,7 @@
1027
1151
  "foldable": "@config.foldable",
1028
1152
  "isLoading": "@config.isLoading",
1029
1153
  "language": "@config.language",
1154
+ "lineNumbers": "@config.lineNumbers",
1030
1155
  "maxHeight": "@config.maxHeight",
1031
1156
  "mode": "@config.mode",
1032
1157
  "motions": "@config.motions",
@@ -1035,11 +1160,13 @@
1035
1160
  "onChange": "@config.onChange",
1036
1161
  "onEditorBlur": "@config.onEditorBlur",
1037
1162
  "onEditorFocus": "@config.onEditorFocus",
1163
+ "onGoToDefinition": "@config.onGoToDefinition",
1038
1164
  "onInsertText": "@config.onInsertText",
1039
1165
  "onMotion": "@config.onMotion",
1040
1166
  "onOperate": "@config.onOperate",
1041
1167
  "onSetMode": "@config.onSetMode",
1042
1168
  "operators": "@config.operators",
1169
+ "problems": "@config.problems",
1043
1170
  "showCopy": "@config.showCopy",
1044
1171
  "showCopyButton": "@config.showCopyButton",
1045
1172
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1069,6 +1196,8 @@
1069
1196
  "actions": "@config.actions",
1070
1197
  "className": "@config.className",
1071
1198
  "code": "@entity.code",
1199
+ "diagnostics": "@config.diagnostics",
1200
+ "diagnosticsCode": "@config.diagnosticsCode",
1072
1201
  "diff": "@config.diff",
1073
1202
  "editable": "@config.editable",
1074
1203
  "editorId": "@entity.editorId",
@@ -1077,6 +1206,7 @@
1077
1206
  "foldable": "@config.foldable",
1078
1207
  "isLoading": "@config.isLoading",
1079
1208
  "language": "@config.language",
1209
+ "lineNumbers": "@config.lineNumbers",
1080
1210
  "maxHeight": "@config.maxHeight",
1081
1211
  "mode": "@config.mode",
1082
1212
  "motions": "@config.motions",
@@ -1085,11 +1215,13 @@
1085
1215
  "onChange": "@config.onChange",
1086
1216
  "onEditorBlur": "@config.onEditorBlur",
1087
1217
  "onEditorFocus": "@config.onEditorFocus",
1218
+ "onGoToDefinition": "@config.onGoToDefinition",
1088
1219
  "onInsertText": "@config.onInsertText",
1089
1220
  "onMotion": "@config.onMotion",
1090
1221
  "onOperate": "@config.onOperate",
1091
1222
  "onSetMode": "@config.onSetMode",
1092
1223
  "operators": "@config.operators",
1224
+ "problems": "@config.problems",
1093
1225
  "showCopy": "@config.showCopy",
1094
1226
  "showCopyButton": "@config.showCopyButton",
1095
1227
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1119,6 +1251,8 @@
1119
1251
  "actions": "@config.actions",
1120
1252
  "className": "@config.className",
1121
1253
  "code": "@entity.code",
1254
+ "diagnostics": "@config.diagnostics",
1255
+ "diagnosticsCode": "@config.diagnosticsCode",
1122
1256
  "diff": "@config.diff",
1123
1257
  "editable": "@config.editable",
1124
1258
  "editorId": "@entity.editorId",
@@ -1127,6 +1261,7 @@
1127
1261
  "foldable": "@config.foldable",
1128
1262
  "isLoading": "@config.isLoading",
1129
1263
  "language": "@config.language",
1264
+ "lineNumbers": "@config.lineNumbers",
1130
1265
  "maxHeight": "@config.maxHeight",
1131
1266
  "mode": "@config.mode",
1132
1267
  "motions": "@config.motions",
@@ -1135,11 +1270,13 @@
1135
1270
  "onChange": "@config.onChange",
1136
1271
  "onEditorBlur": "@config.onEditorBlur",
1137
1272
  "onEditorFocus": "@config.onEditorFocus",
1273
+ "onGoToDefinition": "@config.onGoToDefinition",
1138
1274
  "onInsertText": "@config.onInsertText",
1139
1275
  "onMotion": "@config.onMotion",
1140
1276
  "onOperate": "@config.onOperate",
1141
1277
  "onSetMode": "@config.onSetMode",
1142
1278
  "operators": "@config.operators",
1279
+ "problems": "@config.problems",
1143
1280
  "showCopy": "@config.showCopy",
1144
1281
  "showCopyButton": "@config.showCopyButton",
1145
1282
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1169,6 +1306,8 @@
1169
1306
  "actions": "@config.actions",
1170
1307
  "className": "@config.className",
1171
1308
  "code": "@entity.code",
1309
+ "diagnostics": "@config.diagnostics",
1310
+ "diagnosticsCode": "@config.diagnosticsCode",
1172
1311
  "diff": "@config.diff",
1173
1312
  "editable": "@config.editable",
1174
1313
  "editorId": "@entity.editorId",
@@ -1177,6 +1316,7 @@
1177
1316
  "foldable": "@config.foldable",
1178
1317
  "isLoading": "@config.isLoading",
1179
1318
  "language": "@config.language",
1319
+ "lineNumbers": "@config.lineNumbers",
1180
1320
  "maxHeight": "@config.maxHeight",
1181
1321
  "mode": "@config.mode",
1182
1322
  "motions": "@config.motions",
@@ -1185,11 +1325,13 @@
1185
1325
  "onChange": "@config.onChange",
1186
1326
  "onEditorBlur": "@config.onEditorBlur",
1187
1327
  "onEditorFocus": "@config.onEditorFocus",
1328
+ "onGoToDefinition": "@config.onGoToDefinition",
1188
1329
  "onInsertText": "@config.onInsertText",
1189
1330
  "onMotion": "@config.onMotion",
1190
1331
  "onOperate": "@config.onOperate",
1191
1332
  "onSetMode": "@config.onSetMode",
1192
1333
  "operators": "@config.operators",
1334
+ "problems": "@config.problems",
1193
1335
  "showCopy": "@config.showCopy",
1194
1336
  "showCopyButton": "@config.showCopyButton",
1195
1337
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1219,6 +1361,8 @@
1219
1361
  "actions": "@config.actions",
1220
1362
  "className": "@config.className",
1221
1363
  "code": "@entity.code",
1364
+ "diagnostics": "@config.diagnostics",
1365
+ "diagnosticsCode": "@config.diagnosticsCode",
1222
1366
  "diff": "@config.diff",
1223
1367
  "editable": "@config.editable",
1224
1368
  "editorId": "@entity.editorId",
@@ -1227,6 +1371,7 @@
1227
1371
  "foldable": "@config.foldable",
1228
1372
  "isLoading": "@config.isLoading",
1229
1373
  "language": "@config.language",
1374
+ "lineNumbers": "@config.lineNumbers",
1230
1375
  "maxHeight": "@config.maxHeight",
1231
1376
  "mode": "@config.mode",
1232
1377
  "motions": "@config.motions",
@@ -1235,11 +1380,13 @@
1235
1380
  "onChange": "@config.onChange",
1236
1381
  "onEditorBlur": "@config.onEditorBlur",
1237
1382
  "onEditorFocus": "@config.onEditorFocus",
1383
+ "onGoToDefinition": "@config.onGoToDefinition",
1238
1384
  "onInsertText": "@config.onInsertText",
1239
1385
  "onMotion": "@config.onMotion",
1240
1386
  "onOperate": "@config.onOperate",
1241
1387
  "onSetMode": "@config.onSetMode",
1242
1388
  "operators": "@config.operators",
1389
+ "problems": "@config.problems",
1243
1390
  "showCopy": "@config.showCopy",
1244
1391
  "showCopyButton": "@config.showCopyButton",
1245
1392
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1269,6 +1416,8 @@
1269
1416
  "actions": "@config.actions",
1270
1417
  "className": "@config.className",
1271
1418
  "code": "@entity.code",
1419
+ "diagnostics": "@config.diagnostics",
1420
+ "diagnosticsCode": "@config.diagnosticsCode",
1272
1421
  "diff": "@config.diff",
1273
1422
  "editable": "@config.editable",
1274
1423
  "editorId": "@entity.editorId",
@@ -1277,6 +1426,7 @@
1277
1426
  "foldable": "@config.foldable",
1278
1427
  "isLoading": "@config.isLoading",
1279
1428
  "language": "@config.language",
1429
+ "lineNumbers": "@config.lineNumbers",
1280
1430
  "maxHeight": "@config.maxHeight",
1281
1431
  "mode": "@config.mode",
1282
1432
  "motions": "@config.motions",
@@ -1285,11 +1435,13 @@
1285
1435
  "onChange": "@config.onChange",
1286
1436
  "onEditorBlur": "@config.onEditorBlur",
1287
1437
  "onEditorFocus": "@config.onEditorFocus",
1438
+ "onGoToDefinition": "@config.onGoToDefinition",
1288
1439
  "onInsertText": "@config.onInsertText",
1289
1440
  "onMotion": "@config.onMotion",
1290
1441
  "onOperate": "@config.onOperate",
1291
1442
  "onSetMode": "@config.onSetMode",
1292
1443
  "operators": "@config.operators",
1444
+ "problems": "@config.problems",
1293
1445
  "showCopy": "@config.showCopy",
1294
1446
  "showCopyButton": "@config.showCopyButton",
1295
1447
  "showLanguageBadge": "@config.showLanguageBadge",
@@ -1329,6 +1481,39 @@
1329
1481
  "type": "string"
1330
1482
  }
1331
1483
  ],
1484
+ "CodeBlockDiagnosticsItem": [
1485
+ {
1486
+ "name": "line",
1487
+ "required": true,
1488
+ "type": "number"
1489
+ },
1490
+ {
1491
+ "name": "column",
1492
+ "type": "number"
1493
+ },
1494
+ {
1495
+ "name": "endLine",
1496
+ "type": "number"
1497
+ },
1498
+ {
1499
+ "name": "endColumn",
1500
+ "type": "number"
1501
+ },
1502
+ {
1503
+ "name": "severity",
1504
+ "required": true,
1505
+ "type": "string"
1506
+ },
1507
+ {
1508
+ "name": "message",
1509
+ "required": true,
1510
+ "type": "string"
1511
+ },
1512
+ {
1513
+ "name": "approximate",
1514
+ "type": "boolean"
1515
+ }
1516
+ ],
1332
1517
  "CodeBlockDiffItem": [
1333
1518
  {
1334
1519
  "name": "type",
@@ -28,6 +28,15 @@
28
28
  "parent": "trt_01KXG04NVWDQQWWZ4WSN5EYEV0",
29
29
  "renames": []
30
30
  },
31
+ "evt_01M3KVGWPG3XD19A0QREZ70WG3": {
32
+ "bakedName": "@config.onNodeExpand",
33
+ "curName": "@config.onNodeExpand",
34
+ "id": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01KXG04NVWDQQWWZ4WSN5EYEV0",
38
+ "renames": []
39
+ },
31
40
  "orb_01KXG04NVWH7AX67H597E423W6": {
32
41
  "bakedName": "FileTreeOrbital",
33
42
  "curName": "FileTreeOrbital",
@@ -95,6 +104,16 @@
95
104
  "tier": "presentation",
96
105
  "type": "string"
97
106
  },
107
+ "expandedPaths": {
108
+ "default": [],
109
+ "description": "Paths to show expanded (e.g. to reveal a node): each is expanded when it appears here, loading its children if needed.",
110
+ "items": {
111
+ "type": "string"
112
+ },
113
+ "label": "Expanded Paths",
114
+ "tier": "presentation",
115
+ "type": "[string]"
116
+ },
98
117
  "indent": {
99
118
  "default": 16.0,
100
119
  "description": "Indent size per level in px (default: 16)",
@@ -171,6 +190,13 @@
171
190
  "tier": "presentation",
172
191
  "type": "event"
173
192
  },
193
+ "onNodeExpand": {
194
+ "default": "NODE_EXPAND",
195
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
196
+ "label": "On Node Expand",
197
+ "tier": "presentation",
198
+ "type": "event"
199
+ },
174
200
  "onNodeReorder": {
175
201
  "default": "",
176
202
  "description": "Called when a row is dropped onto another, in flat `items` mode; carries the moved node's id, its new parent id (`null` for a root drop), and its index within the new parent's children. Presence-gated: binding this prop is what turns on row dragging.",
@@ -213,6 +239,11 @@
213
239
  "required": false,
214
240
  "type": "array"
215
241
  },
242
+ "expandable": {
243
+ "name": "expandable",
244
+ "required": false,
245
+ "type": "boolean"
246
+ },
216
247
  "language": {
217
248
  "name": "language",
218
249
  "required": false,
@@ -275,6 +306,20 @@
275
306
  ],
276
307
  "scope": "external",
277
308
  "tier": "essential"
309
+ },
310
+ {
311
+ "definerKnob": "onNodeExpand",
312
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
313
+ "event": "@config.onNodeExpand",
314
+ "eventId": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
315
+ "payloadSchema": [
316
+ {
317
+ "name": "path",
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "scope": "external",
322
+ "tier": "essential"
278
323
  }
279
324
  ],
280
325
  "entityContract": {
@@ -309,6 +354,19 @@
309
354
  }
310
355
  ],
311
356
  "tier": "essential"
357
+ },
358
+ {
359
+ "description": "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
360
+ "id": "evt_01M3KVGWPG3XD19A0QREZ70WG3",
361
+ "key": "@config.onNodeExpand",
362
+ "name": "@config.on node expand",
363
+ "payloadSchema": [
364
+ {
365
+ "name": "path",
366
+ "type": "string"
367
+ }
368
+ ],
369
+ "tier": "essential"
312
370
  }
313
371
  ],
314
372
  "states": [
@@ -325,6 +383,7 @@
325
383
  "main",
326
384
  {
327
385
  "className": "@config.className",
386
+ "expandedPaths": "@config.expandedPaths",
328
387
  "indent": "@config.indent",
329
388
  "items": "@config.items",
330
389
  "look": "@config.look",
@@ -332,6 +391,7 @@
332
391
  "nodeActionLabel": "@config.nodeActionLabel",
333
392
  "onFileSelect": "@config.onFileSelect",
334
393
  "onNodeAction": "@config.onNodeAction",
394
+ "onNodeExpand": "@config.onNodeExpand",
335
395
  "onNodeReorder": "@config.onNodeReorder",
336
396
  "onNodeSelect": "@config.onNodeSelect",
337
397
  "selectedId": "@config.selectedId",
@@ -414,6 +474,10 @@
414
474
  "name": "note",
415
475
  "type": "string"
416
476
  },
477
+ {
478
+ "name": "expandable",
479
+ "type": "boolean"
480
+ },
417
481
  {
418
482
  "name": "size",
419
483
  "type": "number"
@@ -429,6 +493,10 @@
429
493
  "name": "note",
430
494
  "type": "string"
431
495
  },
496
+ {
497
+ "name": "expandable",
498
+ "type": "boolean"
499
+ },
432
500
  {
433
501
  "name": "size",
434
502
  "type": "number"