@almadar/std 16.183.0 → 16.185.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/.hand-authored.json +4 -0
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +11 -0
- package/behaviors/lolo/ui/core/atoms/std-related.lolo +86 -9
- package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +368 -1
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +62 -2
- package/behaviors/lolo/ui/core/atoms/std-thread.lolo +43 -2
- package/behaviors/lolo/ui/core/atoms/std-tree.lolo +247 -0
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +110 -2
- package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +18 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +12 -2
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +2 -2
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/std-tutorial-autodemo.lolo +136 -0
- package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +41 -8
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +3 -3
- package/behaviors/registry/ui/core/atoms/std-browse.orb +17 -0
- package/behaviors/registry/ui/core/atoms/std-related.orb +256 -3
- package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +898 -1
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +240 -8
- package/behaviors/registry/ui/core/atoms/std-thread.orb +254 -4
- package/behaviors/registry/ui/core/atoms/std-tree.orb +656 -0
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +479 -6
- package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +43 -19
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +37 -3
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +8 -2
- package/behaviors/registry/ui/core/organisms/ui-form.orb +8 -2
- package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +732 -0
- package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +305 -153
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +26 -0
- package/dist/behaviors/exports-reader.js +5132 -2398
- package/dist/behaviors/functions/index.d.ts +261 -44
- package/dist/behaviors/functions/index.js +5118 -2396
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +5133 -2399
- package/dist/behaviors/query.js +5132 -2398
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +310 -302
- package/dist/behaviors-registry.json +820 -35
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5133 -2399
- 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
|
@@ -46,6 +46,24 @@
|
|
|
46
46
|
"parent": "trt_01KXG04HAWB43BWZ07VSETQEW3",
|
|
47
47
|
"renames": []
|
|
48
48
|
},
|
|
49
|
+
"evt_01M0RY3YKG5AXYCBSMYMGG5B4E": {
|
|
50
|
+
"bakedName": "SHOW_RELATED",
|
|
51
|
+
"curName": "SHOW_RELATED",
|
|
52
|
+
"id": "evt_01M0RY3YKG5AXYCBSMYMGG5B4E",
|
|
53
|
+
"kind": "event",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"parent": "trt_01KXG04HAWB43BWZ07VSETQEW3",
|
|
56
|
+
"renames": []
|
|
57
|
+
},
|
|
58
|
+
"evt_01M0RY3YKG814RWTP8NGJZCGG7": {
|
|
59
|
+
"bakedName": "SELECT_RELATED",
|
|
60
|
+
"curName": "SELECT_RELATED",
|
|
61
|
+
"id": "evt_01M0RY3YKG814RWTP8NGJZCGG7",
|
|
62
|
+
"kind": "event",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"parent": "trt_01KXG04HAWB43BWZ07VSETQEW3",
|
|
65
|
+
"renames": []
|
|
66
|
+
},
|
|
49
67
|
"orb_01KXG04HAW4F728HDBS2FDVGF1": {
|
|
50
68
|
"bakedName": "RelatedItemOrbital",
|
|
51
69
|
"curName": "RelatedItemOrbital",
|
|
@@ -114,6 +132,13 @@
|
|
|
114
132
|
{
|
|
115
133
|
"category": "interaction",
|
|
116
134
|
"config": {
|
|
135
|
+
"relationField": {
|
|
136
|
+
"default": "",
|
|
137
|
+
"description": "RelatedItem field compared against SHOW_RELATED's key to scope the fetch to one parent document; empty renders the full unfiltered collection (default).",
|
|
138
|
+
"label": "Relation field",
|
|
139
|
+
"tier": "domain",
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
117
142
|
"tableLook": {
|
|
118
143
|
"default": "dense",
|
|
119
144
|
"description": "Layer 2 visual treatment for the data table rendered by this atom.",
|
|
@@ -127,6 +152,13 @@
|
|
|
127
152
|
"borderless",
|
|
128
153
|
"card-rows"
|
|
129
154
|
]
|
|
155
|
+
},
|
|
156
|
+
"title": {
|
|
157
|
+
"default": "Related",
|
|
158
|
+
"description": "Heading shown above the related list.",
|
|
159
|
+
"label": "Section title",
|
|
160
|
+
"tier": "presentation",
|
|
161
|
+
"type": "string"
|
|
130
162
|
}
|
|
131
163
|
},
|
|
132
164
|
"emits": [
|
|
@@ -161,6 +193,25 @@
|
|
|
161
193
|
"scope": "internal",
|
|
162
194
|
"synonyms": "error, failure, problem, unsuccessful",
|
|
163
195
|
"tier": "internal"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"description": "Signals a related item was selected to drive a detail view.",
|
|
199
|
+
"event": "SELECT_RELATED",
|
|
200
|
+
"eventId": "evt_01M0RY3YKG814RWTP8NGJZCGG7",
|
|
201
|
+
"payloadSchema": [
|
|
202
|
+
{
|
|
203
|
+
"name": "id",
|
|
204
|
+
"required": true,
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "name",
|
|
209
|
+
"type": "string"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"scope": "external",
|
|
213
|
+
"synonyms": "select, choose, open, view",
|
|
214
|
+
"tier": "domain"
|
|
164
215
|
}
|
|
165
216
|
],
|
|
166
217
|
"entityContract": {
|
|
@@ -183,6 +234,21 @@
|
|
|
183
234
|
"key": "INIT",
|
|
184
235
|
"name": "Initialize"
|
|
185
236
|
},
|
|
237
|
+
{
|
|
238
|
+
"description": "Scopes the related fetch to rows whose relationField equals key.",
|
|
239
|
+
"id": "evt_01M0RY3YKG5AXYCBSMYMGG5B4E",
|
|
240
|
+
"key": "SHOW_RELATED",
|
|
241
|
+
"name": "Show Related",
|
|
242
|
+
"payloadSchema": [
|
|
243
|
+
{
|
|
244
|
+
"name": "key",
|
|
245
|
+
"required": true,
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"synonyms": "scope, filter, focus, target",
|
|
250
|
+
"tier": "domain"
|
|
251
|
+
},
|
|
186
252
|
{
|
|
187
253
|
"description": "Signals that related items have been successfully loaded.",
|
|
188
254
|
"id": "evt_01KXG04HB00F39QDW8TJMSKNJ9",
|
|
@@ -215,6 +281,25 @@
|
|
|
215
281
|
"synonyms": "error, failure, problem, unsuccessful",
|
|
216
282
|
"tier": "internal"
|
|
217
283
|
},
|
|
284
|
+
{
|
|
285
|
+
"description": "Signals a related item was selected to drive a detail view.",
|
|
286
|
+
"id": "evt_01M0RY3YKG814RWTP8NGJZCGG7",
|
|
287
|
+
"key": "SELECT_RELATED",
|
|
288
|
+
"name": "Select Related",
|
|
289
|
+
"payloadSchema": [
|
|
290
|
+
{
|
|
291
|
+
"name": "id",
|
|
292
|
+
"required": true,
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "name",
|
|
297
|
+
"type": "string"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"synonyms": "select, choose, open, view",
|
|
301
|
+
"tier": "domain"
|
|
302
|
+
},
|
|
218
303
|
{
|
|
219
304
|
"id": "evt_01KYXKHATCCRC9NH1SPH7KH8BC",
|
|
220
305
|
"key": "RETRY",
|
|
@@ -274,6 +359,63 @@
|
|
|
274
359
|
"from": "loading",
|
|
275
360
|
"to": "loading"
|
|
276
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"effects": [
|
|
364
|
+
[
|
|
365
|
+
"fetch",
|
|
366
|
+
"RelatedItem",
|
|
367
|
+
{
|
|
368
|
+
"emit": {
|
|
369
|
+
"failure": "RelatedItemLoadFailed",
|
|
370
|
+
"success": "RelatedItemLoaded"
|
|
371
|
+
},
|
|
372
|
+
"filter": [
|
|
373
|
+
"or",
|
|
374
|
+
[
|
|
375
|
+
"=",
|
|
376
|
+
"@config.relationField",
|
|
377
|
+
""
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
"=",
|
|
381
|
+
[
|
|
382
|
+
"object/get",
|
|
383
|
+
"@entity",
|
|
384
|
+
"@config.relationField"
|
|
385
|
+
],
|
|
386
|
+
"@payload.key"
|
|
387
|
+
]
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
[
|
|
392
|
+
"render-ui",
|
|
393
|
+
"main",
|
|
394
|
+
{
|
|
395
|
+
"align": "center",
|
|
396
|
+
"children": [
|
|
397
|
+
{
|
|
398
|
+
"type": "spinner"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"color": "muted",
|
|
402
|
+
"content": "Loading related…",
|
|
403
|
+
"type": "typography",
|
|
404
|
+
"variant": "caption"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"className": "py-8",
|
|
408
|
+
"direction": "vertical",
|
|
409
|
+
"gap": "sm",
|
|
410
|
+
"type": "stack"
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
],
|
|
414
|
+
"event": "SHOW_RELATED",
|
|
415
|
+
"eventId": "evt_01M0RY3YKG5AXYCBSMYMGG5B4E",
|
|
416
|
+
"from": "loading",
|
|
417
|
+
"to": "loading"
|
|
418
|
+
},
|
|
277
419
|
{
|
|
278
420
|
"effects": [
|
|
279
421
|
[
|
|
@@ -289,7 +431,7 @@
|
|
|
289
431
|
"type": "icon"
|
|
290
432
|
},
|
|
291
433
|
{
|
|
292
|
-
"content": "
|
|
434
|
+
"content": "@config.title",
|
|
293
435
|
"type": "typography",
|
|
294
436
|
"variant": "h3"
|
|
295
437
|
}
|
|
@@ -309,15 +451,29 @@
|
|
|
309
451
|
"fn",
|
|
310
452
|
"item",
|
|
311
453
|
{
|
|
454
|
+
"align": "center",
|
|
312
455
|
"children": [
|
|
313
456
|
{
|
|
314
457
|
"content": "@item.name",
|
|
315
458
|
"type": "typography",
|
|
316
459
|
"variant": "body"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"action": "SELECT_RELATED",
|
|
463
|
+
"actionPayload": {
|
|
464
|
+
"id": "@item.id",
|
|
465
|
+
"name": "@item.name"
|
|
466
|
+
},
|
|
467
|
+
"icon": "chevron-right",
|
|
468
|
+
"label": "Open",
|
|
469
|
+
"size": "sm",
|
|
470
|
+
"type": "button",
|
|
471
|
+
"variant": "ghost"
|
|
317
472
|
}
|
|
318
473
|
],
|
|
319
|
-
"direction": "
|
|
474
|
+
"direction": "horizontal",
|
|
320
475
|
"gap": "xs",
|
|
476
|
+
"justify": "between",
|
|
321
477
|
"type": "stack"
|
|
322
478
|
}
|
|
323
479
|
],
|
|
@@ -404,6 +560,61 @@
|
|
|
404
560
|
"from": "loaded",
|
|
405
561
|
"to": "loading"
|
|
406
562
|
},
|
|
563
|
+
{
|
|
564
|
+
"effects": [
|
|
565
|
+
[
|
|
566
|
+
"set",
|
|
567
|
+
"@entity.id",
|
|
568
|
+
"@payload.id"
|
|
569
|
+
]
|
|
570
|
+
],
|
|
571
|
+
"event": "SELECT_RELATED",
|
|
572
|
+
"eventId": "evt_01M0RY3YKG814RWTP8NGJZCGG7",
|
|
573
|
+
"from": "loaded",
|
|
574
|
+
"to": "loaded"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"effects": [
|
|
578
|
+
[
|
|
579
|
+
"fetch",
|
|
580
|
+
"RelatedItem",
|
|
581
|
+
{
|
|
582
|
+
"emit": {
|
|
583
|
+
"failure": "RelatedItemLoadFailed",
|
|
584
|
+
"success": "RelatedItemLoaded"
|
|
585
|
+
},
|
|
586
|
+
"filter": [
|
|
587
|
+
"or",
|
|
588
|
+
[
|
|
589
|
+
"=",
|
|
590
|
+
"@config.relationField",
|
|
591
|
+
""
|
|
592
|
+
],
|
|
593
|
+
[
|
|
594
|
+
"=",
|
|
595
|
+
[
|
|
596
|
+
"object/get",
|
|
597
|
+
"@entity",
|
|
598
|
+
"@config.relationField"
|
|
599
|
+
],
|
|
600
|
+
"@payload.key"
|
|
601
|
+
]
|
|
602
|
+
]
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
[
|
|
606
|
+
"render-ui",
|
|
607
|
+
"main",
|
|
608
|
+
{
|
|
609
|
+
"type": "spinner"
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
],
|
|
613
|
+
"event": "SHOW_RELATED",
|
|
614
|
+
"eventId": "evt_01M0RY3YKG5AXYCBSMYMGG5B4E",
|
|
615
|
+
"from": "loaded",
|
|
616
|
+
"to": "loading"
|
|
617
|
+
},
|
|
407
618
|
{
|
|
408
619
|
"effects": [
|
|
409
620
|
[
|
|
@@ -453,6 +664,48 @@
|
|
|
453
664
|
"eventId": "evt_01KYXKHATCCRC9NH1SPH7KH8BC",
|
|
454
665
|
"from": "error",
|
|
455
666
|
"to": "loading"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"effects": [
|
|
670
|
+
[
|
|
671
|
+
"fetch",
|
|
672
|
+
"RelatedItem",
|
|
673
|
+
{
|
|
674
|
+
"emit": {
|
|
675
|
+
"failure": "RelatedItemLoadFailed",
|
|
676
|
+
"success": "RelatedItemLoaded"
|
|
677
|
+
},
|
|
678
|
+
"filter": [
|
|
679
|
+
"or",
|
|
680
|
+
[
|
|
681
|
+
"=",
|
|
682
|
+
"@config.relationField",
|
|
683
|
+
""
|
|
684
|
+
],
|
|
685
|
+
[
|
|
686
|
+
"=",
|
|
687
|
+
[
|
|
688
|
+
"object/get",
|
|
689
|
+
"@entity",
|
|
690
|
+
"@config.relationField"
|
|
691
|
+
],
|
|
692
|
+
"@payload.key"
|
|
693
|
+
]
|
|
694
|
+
]
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
[
|
|
698
|
+
"render-ui",
|
|
699
|
+
"main",
|
|
700
|
+
{
|
|
701
|
+
"type": "spinner"
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
],
|
|
705
|
+
"event": "SHOW_RELATED",
|
|
706
|
+
"eventId": "evt_01M0RY3YKG5AXYCBSMYMGG5B4E",
|
|
707
|
+
"from": "error",
|
|
708
|
+
"to": "loading"
|
|
456
709
|
}
|
|
457
710
|
]
|
|
458
711
|
}
|
|
@@ -461,5 +714,5 @@
|
|
|
461
714
|
}
|
|
462
715
|
],
|
|
463
716
|
"schemaVersion": 1,
|
|
464
|
-
"version": "1.
|
|
717
|
+
"version": "1.1.0"
|
|
465
718
|
}
|