@almadar/patterns 2.49.0 → 2.51.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/dist/component-mapping.json +31 -1
- package/dist/event-contracts.json +53 -1
- package/dist/index.d.ts +1263 -349
- package/dist/index.js +692 -27
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +608 -25
- package/dist/registry.json +608 -25
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-06-
|
|
4
|
+
exportedAt: "2026-06-18T22:45:03.741Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -7597,16 +7597,10 @@ var patterns_registry_default = {
|
|
|
7597
7597
|
},
|
|
7598
7598
|
onValueChange: {
|
|
7599
7599
|
types: [
|
|
7600
|
-
"function"
|
|
7600
|
+
"function",
|
|
7601
|
+
"string"
|
|
7601
7602
|
],
|
|
7602
|
-
description: "Value-based callback
|
|
7603
|
-
kind: "callback",
|
|
7604
|
-
callbackArgs: [
|
|
7605
|
-
{
|
|
7606
|
-
name: "value",
|
|
7607
|
-
type: "string"
|
|
7608
|
-
}
|
|
7609
|
-
]
|
|
7603
|
+
description: "Value-based change: a React callback (internal use) OR a declarative event key that emits `{ value }` on the bus (render-ui / lolo authoring). Mirrors the `onChange` handler|event convention so it's an event-emitting prop, not a bare callback."
|
|
7610
7604
|
}
|
|
7611
7605
|
}
|
|
7612
7606
|
},
|
|
@@ -14282,6 +14276,11 @@ var patterns_registry_default = {
|
|
|
14282
14276
|
"object"
|
|
14283
14277
|
]
|
|
14284
14278
|
},
|
|
14279
|
+
modelUrl: {
|
|
14280
|
+
types: [
|
|
14281
|
+
"object"
|
|
14282
|
+
]
|
|
14283
|
+
},
|
|
14285
14284
|
unitType: {
|
|
14286
14285
|
types: [
|
|
14287
14286
|
"string"
|
|
@@ -14639,6 +14638,11 @@ var patterns_registry_default = {
|
|
|
14639
14638
|
"object"
|
|
14640
14639
|
]
|
|
14641
14640
|
},
|
|
14641
|
+
modelUrl: {
|
|
14642
|
+
types: [
|
|
14643
|
+
"object"
|
|
14644
|
+
]
|
|
14645
|
+
},
|
|
14642
14646
|
unitType: {
|
|
14643
14647
|
types: [
|
|
14644
14648
|
"string"
|
|
@@ -15017,6 +15021,11 @@ var patterns_registry_default = {
|
|
|
15017
15021
|
"object"
|
|
15018
15022
|
]
|
|
15019
15023
|
},
|
|
15024
|
+
modelUrl: {
|
|
15025
|
+
types: [
|
|
15026
|
+
"object"
|
|
15027
|
+
]
|
|
15028
|
+
},
|
|
15020
15029
|
unitType: {
|
|
15021
15030
|
types: [
|
|
15022
15031
|
"string"
|
|
@@ -30540,6 +30549,11 @@ var patterns_registry_default = {
|
|
|
30540
30549
|
"asset"
|
|
30541
30550
|
]
|
|
30542
30551
|
},
|
|
30552
|
+
modelUrl: {
|
|
30553
|
+
types: [
|
|
30554
|
+
"asset"
|
|
30555
|
+
]
|
|
30556
|
+
},
|
|
30543
30557
|
unitType: {
|
|
30544
30558
|
types: [
|
|
30545
30559
|
"string"
|
|
@@ -31073,6 +31087,11 @@ var patterns_registry_default = {
|
|
|
31073
31087
|
"asset"
|
|
31074
31088
|
]
|
|
31075
31089
|
},
|
|
31090
|
+
modelUrl: {
|
|
31091
|
+
types: [
|
|
31092
|
+
"asset"
|
|
31093
|
+
]
|
|
31094
|
+
},
|
|
31076
31095
|
unitType: {
|
|
31077
31096
|
types: [
|
|
31078
31097
|
"string"
|
|
@@ -32750,6 +32769,11 @@ var patterns_registry_default = {
|
|
|
32750
32769
|
"asset"
|
|
32751
32770
|
]
|
|
32752
32771
|
},
|
|
32772
|
+
modelUrl: {
|
|
32773
|
+
types: [
|
|
32774
|
+
"asset"
|
|
32775
|
+
]
|
|
32776
|
+
},
|
|
32753
32777
|
unitType: {
|
|
32754
32778
|
types: [
|
|
32755
32779
|
"string"
|
|
@@ -34449,6 +34473,11 @@ var patterns_registry_default = {
|
|
|
34449
34473
|
"asset"
|
|
34450
34474
|
]
|
|
34451
34475
|
},
|
|
34476
|
+
modelUrl: {
|
|
34477
|
+
types: [
|
|
34478
|
+
"asset"
|
|
34479
|
+
]
|
|
34480
|
+
},
|
|
34452
34481
|
unitType: {
|
|
34453
34482
|
types: [
|
|
34454
34483
|
"string"
|
|
@@ -34826,6 +34855,11 @@ var patterns_registry_default = {
|
|
|
34826
34855
|
"asset"
|
|
34827
34856
|
]
|
|
34828
34857
|
},
|
|
34858
|
+
modelUrl: {
|
|
34859
|
+
types: [
|
|
34860
|
+
"asset"
|
|
34861
|
+
]
|
|
34862
|
+
},
|
|
34829
34863
|
unitType: {
|
|
34830
34864
|
types: [
|
|
34831
34865
|
"string"
|
|
@@ -35176,6 +35210,11 @@ var patterns_registry_default = {
|
|
|
35176
35210
|
"asset"
|
|
35177
35211
|
]
|
|
35178
35212
|
},
|
|
35213
|
+
modelUrl: {
|
|
35214
|
+
types: [
|
|
35215
|
+
"asset"
|
|
35216
|
+
]
|
|
35217
|
+
},
|
|
35179
35218
|
unitType: {
|
|
35180
35219
|
types: [
|
|
35181
35220
|
"string"
|
|
@@ -35526,6 +35565,11 @@ var patterns_registry_default = {
|
|
|
35526
35565
|
"asset"
|
|
35527
35566
|
]
|
|
35528
35567
|
},
|
|
35568
|
+
modelUrl: {
|
|
35569
|
+
types: [
|
|
35570
|
+
"asset"
|
|
35571
|
+
]
|
|
35572
|
+
},
|
|
35529
35573
|
unitType: {
|
|
35530
35574
|
types: [
|
|
35531
35575
|
"string"
|
|
@@ -35876,6 +35920,11 @@ var patterns_registry_default = {
|
|
|
35876
35920
|
"asset"
|
|
35877
35921
|
]
|
|
35878
35922
|
},
|
|
35923
|
+
modelUrl: {
|
|
35924
|
+
types: [
|
|
35925
|
+
"asset"
|
|
35926
|
+
]
|
|
35927
|
+
},
|
|
35879
35928
|
unitType: {
|
|
35880
35929
|
types: [
|
|
35881
35930
|
"string"
|
|
@@ -36213,6 +36262,11 @@ var patterns_registry_default = {
|
|
|
36213
36262
|
"asset"
|
|
36214
36263
|
]
|
|
36215
36264
|
},
|
|
36265
|
+
modelUrl: {
|
|
36266
|
+
types: [
|
|
36267
|
+
"asset"
|
|
36268
|
+
]
|
|
36269
|
+
},
|
|
36216
36270
|
unitType: {
|
|
36217
36271
|
types: [
|
|
36218
36272
|
"string"
|
|
@@ -37596,6 +37650,11 @@ var patterns_registry_default = {
|
|
|
37596
37650
|
"object"
|
|
37597
37651
|
]
|
|
37598
37652
|
},
|
|
37653
|
+
modelUrl: {
|
|
37654
|
+
types: [
|
|
37655
|
+
"object"
|
|
37656
|
+
]
|
|
37657
|
+
},
|
|
37599
37658
|
unitType: {
|
|
37600
37659
|
types: [
|
|
37601
37660
|
"string"
|
|
@@ -37986,6 +38045,11 @@ var patterns_registry_default = {
|
|
|
37986
38045
|
"asset"
|
|
37987
38046
|
]
|
|
37988
38047
|
},
|
|
38048
|
+
modelUrl: {
|
|
38049
|
+
types: [
|
|
38050
|
+
"asset"
|
|
38051
|
+
]
|
|
38052
|
+
},
|
|
37989
38053
|
unitType: {
|
|
37990
38054
|
types: [
|
|
37991
38055
|
"string"
|
|
@@ -43987,6 +44051,11 @@ var patterns_registry_default = {
|
|
|
43987
44051
|
"object"
|
|
43988
44052
|
]
|
|
43989
44053
|
},
|
|
44054
|
+
modelUrl: {
|
|
44055
|
+
types: [
|
|
44056
|
+
"object"
|
|
44057
|
+
]
|
|
44058
|
+
},
|
|
43990
44059
|
unitType: {
|
|
43991
44060
|
types: [
|
|
43992
44061
|
"string"
|
|
@@ -44391,10 +44460,36 @@ var patterns_registry_default = {
|
|
|
44391
44460
|
},
|
|
44392
44461
|
{
|
|
44393
44462
|
name: "event",
|
|
44394
|
-
type: "object"
|
|
44463
|
+
type: "object",
|
|
44464
|
+
schema: {
|
|
44465
|
+
types: [
|
|
44466
|
+
"object"
|
|
44467
|
+
],
|
|
44468
|
+
properties: {
|
|
44469
|
+
clientX: {
|
|
44470
|
+
types: [
|
|
44471
|
+
"number"
|
|
44472
|
+
]
|
|
44473
|
+
},
|
|
44474
|
+
clientY: {
|
|
44475
|
+
types: [
|
|
44476
|
+
"number"
|
|
44477
|
+
]
|
|
44478
|
+
},
|
|
44479
|
+
button: {
|
|
44480
|
+
types: [
|
|
44481
|
+
"number"
|
|
44482
|
+
]
|
|
44483
|
+
}
|
|
44484
|
+
},
|
|
44485
|
+
required: [
|
|
44486
|
+
"clientX",
|
|
44487
|
+
"clientY",
|
|
44488
|
+
"button"
|
|
44489
|
+
]
|
|
44490
|
+
}
|
|
44395
44491
|
}
|
|
44396
|
-
]
|
|
44397
|
-
nonEmittable: true
|
|
44492
|
+
]
|
|
44398
44493
|
},
|
|
44399
44494
|
onUnitClick: {
|
|
44400
44495
|
types: [
|
|
@@ -44457,6 +44552,11 @@ var patterns_registry_default = {
|
|
|
44457
44552
|
"object"
|
|
44458
44553
|
]
|
|
44459
44554
|
},
|
|
44555
|
+
modelUrl: {
|
|
44556
|
+
types: [
|
|
44557
|
+
"object"
|
|
44558
|
+
]
|
|
44559
|
+
},
|
|
44460
44560
|
unitType: {
|
|
44461
44561
|
types: [
|
|
44462
44562
|
"string"
|
|
@@ -44579,10 +44679,36 @@ var patterns_registry_default = {
|
|
|
44579
44679
|
},
|
|
44580
44680
|
{
|
|
44581
44681
|
name: "event",
|
|
44582
|
-
type: "object"
|
|
44682
|
+
type: "object",
|
|
44683
|
+
schema: {
|
|
44684
|
+
types: [
|
|
44685
|
+
"object"
|
|
44686
|
+
],
|
|
44687
|
+
properties: {
|
|
44688
|
+
clientX: {
|
|
44689
|
+
types: [
|
|
44690
|
+
"number"
|
|
44691
|
+
]
|
|
44692
|
+
},
|
|
44693
|
+
clientY: {
|
|
44694
|
+
types: [
|
|
44695
|
+
"number"
|
|
44696
|
+
]
|
|
44697
|
+
},
|
|
44698
|
+
button: {
|
|
44699
|
+
types: [
|
|
44700
|
+
"number"
|
|
44701
|
+
]
|
|
44702
|
+
}
|
|
44703
|
+
},
|
|
44704
|
+
required: [
|
|
44705
|
+
"clientX",
|
|
44706
|
+
"clientY",
|
|
44707
|
+
"button"
|
|
44708
|
+
]
|
|
44709
|
+
}
|
|
44583
44710
|
}
|
|
44584
|
-
]
|
|
44585
|
-
nonEmittable: true
|
|
44711
|
+
]
|
|
44586
44712
|
},
|
|
44587
44713
|
onFeatureClick: {
|
|
44588
44714
|
types: [
|
|
@@ -44654,10 +44780,36 @@ var patterns_registry_default = {
|
|
|
44654
44780
|
},
|
|
44655
44781
|
{
|
|
44656
44782
|
name: "event",
|
|
44657
|
-
type: "object"
|
|
44783
|
+
type: "object",
|
|
44784
|
+
schema: {
|
|
44785
|
+
types: [
|
|
44786
|
+
"object"
|
|
44787
|
+
],
|
|
44788
|
+
properties: {
|
|
44789
|
+
clientX: {
|
|
44790
|
+
types: [
|
|
44791
|
+
"number"
|
|
44792
|
+
]
|
|
44793
|
+
},
|
|
44794
|
+
clientY: {
|
|
44795
|
+
types: [
|
|
44796
|
+
"number"
|
|
44797
|
+
]
|
|
44798
|
+
},
|
|
44799
|
+
button: {
|
|
44800
|
+
types: [
|
|
44801
|
+
"number"
|
|
44802
|
+
]
|
|
44803
|
+
}
|
|
44804
|
+
},
|
|
44805
|
+
required: [
|
|
44806
|
+
"clientX",
|
|
44807
|
+
"clientY",
|
|
44808
|
+
"button"
|
|
44809
|
+
]
|
|
44810
|
+
}
|
|
44658
44811
|
}
|
|
44659
|
-
]
|
|
44660
|
-
nonEmittable: true
|
|
44812
|
+
]
|
|
44661
44813
|
},
|
|
44662
44814
|
onCanvasClick: {
|
|
44663
44815
|
types: [
|
|
@@ -44668,10 +44820,36 @@ var patterns_registry_default = {
|
|
|
44668
44820
|
callbackArgs: [
|
|
44669
44821
|
{
|
|
44670
44822
|
name: "event",
|
|
44671
|
-
type: "object"
|
|
44823
|
+
type: "object",
|
|
44824
|
+
schema: {
|
|
44825
|
+
types: [
|
|
44826
|
+
"object"
|
|
44827
|
+
],
|
|
44828
|
+
properties: {
|
|
44829
|
+
clientX: {
|
|
44830
|
+
types: [
|
|
44831
|
+
"number"
|
|
44832
|
+
]
|
|
44833
|
+
},
|
|
44834
|
+
clientY: {
|
|
44835
|
+
types: [
|
|
44836
|
+
"number"
|
|
44837
|
+
]
|
|
44838
|
+
},
|
|
44839
|
+
button: {
|
|
44840
|
+
types: [
|
|
44841
|
+
"number"
|
|
44842
|
+
]
|
|
44843
|
+
}
|
|
44844
|
+
},
|
|
44845
|
+
required: [
|
|
44846
|
+
"clientX",
|
|
44847
|
+
"clientY",
|
|
44848
|
+
"button"
|
|
44849
|
+
]
|
|
44850
|
+
}
|
|
44672
44851
|
}
|
|
44673
|
-
]
|
|
44674
|
-
nonEmittable: true
|
|
44852
|
+
]
|
|
44675
44853
|
},
|
|
44676
44854
|
onTileHover: {
|
|
44677
44855
|
types: [
|
|
@@ -44757,10 +44935,36 @@ var patterns_registry_default = {
|
|
|
44757
44935
|
},
|
|
44758
44936
|
{
|
|
44759
44937
|
name: "event",
|
|
44760
|
-
type: "object"
|
|
44938
|
+
type: "object",
|
|
44939
|
+
schema: {
|
|
44940
|
+
types: [
|
|
44941
|
+
"object"
|
|
44942
|
+
],
|
|
44943
|
+
properties: {
|
|
44944
|
+
clientX: {
|
|
44945
|
+
types: [
|
|
44946
|
+
"number"
|
|
44947
|
+
]
|
|
44948
|
+
},
|
|
44949
|
+
clientY: {
|
|
44950
|
+
types: [
|
|
44951
|
+
"number"
|
|
44952
|
+
]
|
|
44953
|
+
},
|
|
44954
|
+
button: {
|
|
44955
|
+
types: [
|
|
44956
|
+
"number"
|
|
44957
|
+
]
|
|
44958
|
+
}
|
|
44959
|
+
},
|
|
44960
|
+
required: [
|
|
44961
|
+
"clientX",
|
|
44962
|
+
"clientY",
|
|
44963
|
+
"button"
|
|
44964
|
+
]
|
|
44965
|
+
}
|
|
44761
44966
|
}
|
|
44762
|
-
]
|
|
44763
|
-
nonEmittable: true
|
|
44967
|
+
]
|
|
44764
44968
|
},
|
|
44765
44969
|
onUnitAnimation: {
|
|
44766
44970
|
types: [
|
|
@@ -45630,6 +45834,385 @@ var patterns_registry_default = {
|
|
|
45630
45834
|
}
|
|
45631
45835
|
}
|
|
45632
45836
|
}
|
|
45837
|
+
},
|
|
45838
|
+
"activation-block": {
|
|
45839
|
+
type: "activation-block",
|
|
45840
|
+
category: "component",
|
|
45841
|
+
tier: "molecules",
|
|
45842
|
+
family: "core",
|
|
45843
|
+
description: "ActivationBlock component",
|
|
45844
|
+
suggestedFor: [
|
|
45845
|
+
"activation",
|
|
45846
|
+
"block",
|
|
45847
|
+
"activation block"
|
|
45848
|
+
],
|
|
45849
|
+
typicalSize: "medium",
|
|
45850
|
+
propsSchema: {
|
|
45851
|
+
question: {
|
|
45852
|
+
types: [
|
|
45853
|
+
"string"
|
|
45854
|
+
],
|
|
45855
|
+
description: "The prior-knowledge question",
|
|
45856
|
+
required: true
|
|
45857
|
+
},
|
|
45858
|
+
savedResponse: {
|
|
45859
|
+
types: [
|
|
45860
|
+
"string"
|
|
45861
|
+
],
|
|
45862
|
+
description: "Pre-filled response from saved state"
|
|
45863
|
+
},
|
|
45864
|
+
saveEvent: {
|
|
45865
|
+
types: [
|
|
45866
|
+
"string"
|
|
45867
|
+
],
|
|
45868
|
+
description: "Event name emitted on save/skip (as `UI:<saveEvent>`). Defaults to 'SAVE_ACTIVATION'.",
|
|
45869
|
+
default: "SAVE_ACTIVATION"
|
|
45870
|
+
},
|
|
45871
|
+
className: {
|
|
45872
|
+
types: [
|
|
45873
|
+
"string"
|
|
45874
|
+
],
|
|
45875
|
+
description: "Additional CSS classes"
|
|
45876
|
+
}
|
|
45877
|
+
}
|
|
45878
|
+
},
|
|
45879
|
+
"bloom-quiz-block": {
|
|
45880
|
+
type: "bloom-quiz-block",
|
|
45881
|
+
category: "component",
|
|
45882
|
+
tier: "molecules",
|
|
45883
|
+
family: "core",
|
|
45884
|
+
description: "BloomQuizBlock component",
|
|
45885
|
+
suggestedFor: [
|
|
45886
|
+
"bloom",
|
|
45887
|
+
"quiz",
|
|
45888
|
+
"block",
|
|
45889
|
+
"bloom quiz block"
|
|
45890
|
+
],
|
|
45891
|
+
typicalSize: "medium",
|
|
45892
|
+
propsSchema: {
|
|
45893
|
+
level: {
|
|
45894
|
+
types: [
|
|
45895
|
+
"string"
|
|
45896
|
+
],
|
|
45897
|
+
description: "level prop",
|
|
45898
|
+
required: true,
|
|
45899
|
+
enumValues: [
|
|
45900
|
+
"remember",
|
|
45901
|
+
"understand",
|
|
45902
|
+
"apply",
|
|
45903
|
+
"analyze",
|
|
45904
|
+
"evaluate",
|
|
45905
|
+
"create"
|
|
45906
|
+
]
|
|
45907
|
+
},
|
|
45908
|
+
question: {
|
|
45909
|
+
types: [
|
|
45910
|
+
"string"
|
|
45911
|
+
],
|
|
45912
|
+
description: "question prop",
|
|
45913
|
+
required: true
|
|
45914
|
+
},
|
|
45915
|
+
answer: {
|
|
45916
|
+
types: [
|
|
45917
|
+
"string"
|
|
45918
|
+
],
|
|
45919
|
+
description: "answer prop",
|
|
45920
|
+
required: true
|
|
45921
|
+
},
|
|
45922
|
+
index: {
|
|
45923
|
+
types: [
|
|
45924
|
+
"number"
|
|
45925
|
+
],
|
|
45926
|
+
description: "Zero-based index (used in the emitted event payload)"
|
|
45927
|
+
},
|
|
45928
|
+
isAnswered: {
|
|
45929
|
+
types: [
|
|
45930
|
+
"boolean"
|
|
45931
|
+
],
|
|
45932
|
+
description: "Whether the learner has already answered"
|
|
45933
|
+
},
|
|
45934
|
+
answerEvent: {
|
|
45935
|
+
types: [
|
|
45936
|
+
"string"
|
|
45937
|
+
],
|
|
45938
|
+
description: "Event name emitted on first reveal (as `UI:<answerEvent>`). Defaults to 'ANSWER_BLOOM'.",
|
|
45939
|
+
default: "ANSWER_BLOOM"
|
|
45940
|
+
},
|
|
45941
|
+
className: {
|
|
45942
|
+
types: [
|
|
45943
|
+
"string"
|
|
45944
|
+
],
|
|
45945
|
+
description: "Additional CSS classes"
|
|
45946
|
+
}
|
|
45947
|
+
}
|
|
45948
|
+
},
|
|
45949
|
+
"connection-block": {
|
|
45950
|
+
type: "connection-block",
|
|
45951
|
+
category: "component",
|
|
45952
|
+
tier: "molecules",
|
|
45953
|
+
family: "core",
|
|
45954
|
+
description: "ConnectionBlock component",
|
|
45955
|
+
suggestedFor: [
|
|
45956
|
+
"connection",
|
|
45957
|
+
"block",
|
|
45958
|
+
"connection block"
|
|
45959
|
+
],
|
|
45960
|
+
typicalSize: "medium",
|
|
45961
|
+
propsSchema: {
|
|
45962
|
+
content: {
|
|
45963
|
+
types: [
|
|
45964
|
+
"string"
|
|
45965
|
+
],
|
|
45966
|
+
description: "Markdown content summarising what the learner already knows",
|
|
45967
|
+
required: true
|
|
45968
|
+
},
|
|
45969
|
+
className: {
|
|
45970
|
+
types: [
|
|
45971
|
+
"string"
|
|
45972
|
+
],
|
|
45973
|
+
description: "Additional CSS classes"
|
|
45974
|
+
}
|
|
45975
|
+
}
|
|
45976
|
+
},
|
|
45977
|
+
"reflection-block": {
|
|
45978
|
+
type: "reflection-block",
|
|
45979
|
+
category: "component",
|
|
45980
|
+
tier: "molecules",
|
|
45981
|
+
family: "core",
|
|
45982
|
+
description: "ReflectionBlock component",
|
|
45983
|
+
suggestedFor: [
|
|
45984
|
+
"reflection",
|
|
45985
|
+
"block",
|
|
45986
|
+
"reflection block"
|
|
45987
|
+
],
|
|
45988
|
+
typicalSize: "medium",
|
|
45989
|
+
propsSchema: {
|
|
45990
|
+
prompt: {
|
|
45991
|
+
types: [
|
|
45992
|
+
"string"
|
|
45993
|
+
],
|
|
45994
|
+
description: "The reflection prompt",
|
|
45995
|
+
required: true
|
|
45996
|
+
},
|
|
45997
|
+
index: {
|
|
45998
|
+
types: [
|
|
45999
|
+
"number"
|
|
46000
|
+
],
|
|
46001
|
+
description: "Zero-based index of this block (used in the emitted event payload)",
|
|
46002
|
+
required: true
|
|
46003
|
+
},
|
|
46004
|
+
savedNote: {
|
|
46005
|
+
types: [
|
|
46006
|
+
"string"
|
|
46007
|
+
],
|
|
46008
|
+
description: "Pre-filled note from saved state"
|
|
46009
|
+
},
|
|
46010
|
+
saveEvent: {
|
|
46011
|
+
types: [
|
|
46012
|
+
"string"
|
|
46013
|
+
],
|
|
46014
|
+
description: "Event name emitted on save (as `UI:<saveEvent>`). Defaults to 'SAVE_REFLECTION'.",
|
|
46015
|
+
default: "SAVE_REFLECTION"
|
|
46016
|
+
},
|
|
46017
|
+
className: {
|
|
46018
|
+
types: [
|
|
46019
|
+
"string"
|
|
46020
|
+
],
|
|
46021
|
+
description: "Additional CSS classes"
|
|
46022
|
+
}
|
|
46023
|
+
}
|
|
46024
|
+
},
|
|
46025
|
+
"code-runner-panel": {
|
|
46026
|
+
type: "code-runner-panel",
|
|
46027
|
+
category: "display",
|
|
46028
|
+
tier: "organisms",
|
|
46029
|
+
family: "core",
|
|
46030
|
+
description: "CodeRunnerPanel component",
|
|
46031
|
+
suggestedFor: [
|
|
46032
|
+
"code",
|
|
46033
|
+
"runner",
|
|
46034
|
+
"panel",
|
|
46035
|
+
"code runner panel"
|
|
46036
|
+
],
|
|
46037
|
+
typicalSize: "large",
|
|
46038
|
+
propsSchema: {
|
|
46039
|
+
code: {
|
|
46040
|
+
types: [
|
|
46041
|
+
"string"
|
|
46042
|
+
],
|
|
46043
|
+
description: "Initial code content",
|
|
46044
|
+
required: true
|
|
46045
|
+
},
|
|
46046
|
+
language: {
|
|
46047
|
+
types: [
|
|
46048
|
+
"string"
|
|
46049
|
+
],
|
|
46050
|
+
description: "Programming language for syntax highlighting",
|
|
46051
|
+
required: true
|
|
46052
|
+
},
|
|
46053
|
+
runnable: {
|
|
46054
|
+
types: [
|
|
46055
|
+
"boolean"
|
|
46056
|
+
],
|
|
46057
|
+
description: "Whether the panel allows running (false = read-only code block)",
|
|
46058
|
+
default: true
|
|
46059
|
+
},
|
|
46060
|
+
onRun: {
|
|
46061
|
+
types: [
|
|
46062
|
+
"function"
|
|
46063
|
+
],
|
|
46064
|
+
description: "Simulate executing the code. Omit to render a read-only block. Real execution is a separate future track \u2014 this callback supplies deterministic simulated output for UI feedback.",
|
|
46065
|
+
kind: "callback",
|
|
46066
|
+
callbackArgs: [
|
|
46067
|
+
{
|
|
46068
|
+
name: "code",
|
|
46069
|
+
type: "string"
|
|
46070
|
+
}
|
|
46071
|
+
],
|
|
46072
|
+
renderCallback: true
|
|
46073
|
+
},
|
|
46074
|
+
runEvent: {
|
|
46075
|
+
types: [
|
|
46076
|
+
"string"
|
|
46077
|
+
],
|
|
46078
|
+
description: "Event name to emit on run (emitted as `UI:<runEvent>`). Defaults to 'RUN_CODE'.",
|
|
46079
|
+
default: "RUN_CODE"
|
|
46080
|
+
},
|
|
46081
|
+
className: {
|
|
46082
|
+
types: [
|
|
46083
|
+
"string"
|
|
46084
|
+
],
|
|
46085
|
+
description: "Additional CSS classes"
|
|
46086
|
+
}
|
|
46087
|
+
}
|
|
46088
|
+
},
|
|
46089
|
+
"segment-renderer": {
|
|
46090
|
+
type: "segment-renderer",
|
|
46091
|
+
category: "display",
|
|
46092
|
+
tier: "organisms",
|
|
46093
|
+
family: "core",
|
|
46094
|
+
description: "SegmentRenderer component",
|
|
46095
|
+
suggestedFor: [
|
|
46096
|
+
"segment",
|
|
46097
|
+
"renderer",
|
|
46098
|
+
"segment renderer"
|
|
46099
|
+
],
|
|
46100
|
+
typicalSize: "large",
|
|
46101
|
+
propsSchema: {
|
|
46102
|
+
segments: {
|
|
46103
|
+
types: [
|
|
46104
|
+
"array"
|
|
46105
|
+
],
|
|
46106
|
+
description: "Parsed lesson segments (see `parseLessonSegments`)",
|
|
46107
|
+
required: true,
|
|
46108
|
+
items: {
|
|
46109
|
+
types: [
|
|
46110
|
+
"object"
|
|
46111
|
+
],
|
|
46112
|
+
properties: {
|
|
46113
|
+
type: {
|
|
46114
|
+
types: [
|
|
46115
|
+
"unknown"
|
|
46116
|
+
]
|
|
46117
|
+
},
|
|
46118
|
+
content: {
|
|
46119
|
+
types: [
|
|
46120
|
+
"string"
|
|
46121
|
+
]
|
|
46122
|
+
}
|
|
46123
|
+
},
|
|
46124
|
+
required: [
|
|
46125
|
+
"type",
|
|
46126
|
+
"content"
|
|
46127
|
+
]
|
|
46128
|
+
}
|
|
46129
|
+
},
|
|
46130
|
+
className: {
|
|
46131
|
+
types: [
|
|
46132
|
+
"string"
|
|
46133
|
+
],
|
|
46134
|
+
description: "Additional CSS classes for the root container"
|
|
46135
|
+
},
|
|
46136
|
+
containerClassName: {
|
|
46137
|
+
types: [
|
|
46138
|
+
"string"
|
|
46139
|
+
],
|
|
46140
|
+
description: "CSS classes for the outer wrapping div"
|
|
46141
|
+
},
|
|
46142
|
+
userProgress: {
|
|
46143
|
+
types: [
|
|
46144
|
+
"object"
|
|
46145
|
+
],
|
|
46146
|
+
description: "User progress for restoring activation/reflection state",
|
|
46147
|
+
properties: {
|
|
46148
|
+
activationResponse: {
|
|
46149
|
+
types: [
|
|
46150
|
+
"string"
|
|
46151
|
+
]
|
|
46152
|
+
},
|
|
46153
|
+
reflectionNotes: {
|
|
46154
|
+
types: [
|
|
46155
|
+
"array"
|
|
46156
|
+
],
|
|
46157
|
+
items: {
|
|
46158
|
+
types: [
|
|
46159
|
+
"string"
|
|
46160
|
+
]
|
|
46161
|
+
}
|
|
46162
|
+
},
|
|
46163
|
+
bloomAnswered: {
|
|
46164
|
+
types: [
|
|
46165
|
+
"object"
|
|
46166
|
+
],
|
|
46167
|
+
mapValue: {
|
|
46168
|
+
types: [
|
|
46169
|
+
"boolean"
|
|
46170
|
+
]
|
|
46171
|
+
}
|
|
46172
|
+
}
|
|
46173
|
+
}
|
|
46174
|
+
},
|
|
46175
|
+
onRunCodeSimulation: {
|
|
46176
|
+
types: [
|
|
46177
|
+
"function"
|
|
46178
|
+
],
|
|
46179
|
+
description: "Simulate executing runnable code blocks. Omit to render runnable blocks as read-only. Real execution is a future track.",
|
|
46180
|
+
kind: "callback",
|
|
46181
|
+
callbackArgs: [
|
|
46182
|
+
{
|
|
46183
|
+
name: "code",
|
|
46184
|
+
type: "string"
|
|
46185
|
+
},
|
|
46186
|
+
{
|
|
46187
|
+
name: "language",
|
|
46188
|
+
type: "string"
|
|
46189
|
+
}
|
|
46190
|
+
],
|
|
46191
|
+
renderCallback: true
|
|
46192
|
+
},
|
|
46193
|
+
onRenderVisualization: {
|
|
46194
|
+
types: [
|
|
46195
|
+
"function"
|
|
46196
|
+
],
|
|
46197
|
+
description: "Optional render slot for `visualization` segment types. When not provided, visualization segments are silently skipped. Callers can wire this to any custom component or orbital generator.",
|
|
46198
|
+
kind: "callback",
|
|
46199
|
+
callbackArgs: [
|
|
46200
|
+
{
|
|
46201
|
+
name: "type",
|
|
46202
|
+
type: "string"
|
|
46203
|
+
},
|
|
46204
|
+
{
|
|
46205
|
+
name: "description",
|
|
46206
|
+
type: "string"
|
|
46207
|
+
},
|
|
46208
|
+
{
|
|
46209
|
+
name: "index",
|
|
46210
|
+
type: "number"
|
|
46211
|
+
}
|
|
46212
|
+
],
|
|
46213
|
+
renderCallback: true
|
|
46214
|
+
}
|
|
46215
|
+
}
|
|
45633
46216
|
}
|
|
45634
46217
|
},
|
|
45635
46218
|
categories: [
|
|
@@ -46257,7 +46840,7 @@ var integrators_registry_default = {
|
|
|
46257
46840
|
// src/component-mapping.json
|
|
46258
46841
|
var component_mapping_default = {
|
|
46259
46842
|
version: "1.0.0",
|
|
46260
|
-
exportedAt: "2026-06-
|
|
46843
|
+
exportedAt: "2026-06-18T22:45:03.741Z",
|
|
46261
46844
|
mappings: {
|
|
46262
46845
|
"page-header": {
|
|
46263
46846
|
component: "PageHeader",
|
|
@@ -47775,6 +48358,36 @@ var component_mapping_default = {
|
|
|
47775
48358
|
component: "GameCanvas3DWorldMapTemplate",
|
|
47776
48359
|
importPath: "@/components/templates/GameCanvas3DWorldMapTemplate",
|
|
47777
48360
|
category: "game"
|
|
48361
|
+
},
|
|
48362
|
+
"activation-block": {
|
|
48363
|
+
component: "ActivationBlock",
|
|
48364
|
+
importPath: "@/components/molecules/ActivationBlock",
|
|
48365
|
+
category: "component"
|
|
48366
|
+
},
|
|
48367
|
+
"bloom-quiz-block": {
|
|
48368
|
+
component: "BloomQuizBlock",
|
|
48369
|
+
importPath: "@/components/molecules/BloomQuizBlock",
|
|
48370
|
+
category: "component"
|
|
48371
|
+
},
|
|
48372
|
+
"connection-block": {
|
|
48373
|
+
component: "ConnectionBlock",
|
|
48374
|
+
importPath: "@/components/molecules/ConnectionBlock",
|
|
48375
|
+
category: "component"
|
|
48376
|
+
},
|
|
48377
|
+
"reflection-block": {
|
|
48378
|
+
component: "ReflectionBlock",
|
|
48379
|
+
importPath: "@/components/molecules/ReflectionBlock",
|
|
48380
|
+
category: "component"
|
|
48381
|
+
},
|
|
48382
|
+
"code-runner-panel": {
|
|
48383
|
+
component: "CodeRunnerPanel",
|
|
48384
|
+
importPath: "@/components/organisms/CodeRunnerPanel",
|
|
48385
|
+
category: "display"
|
|
48386
|
+
},
|
|
48387
|
+
"segment-renderer": {
|
|
48388
|
+
component: "SegmentRenderer",
|
|
48389
|
+
importPath: "@/components/organisms/SegmentRenderer",
|
|
48390
|
+
category: "display"
|
|
47778
48391
|
}
|
|
47779
48392
|
}
|
|
47780
48393
|
};
|
|
@@ -47782,7 +48395,7 @@ var component_mapping_default = {
|
|
|
47782
48395
|
// src/event-contracts.json
|
|
47783
48396
|
var event_contracts_default = {
|
|
47784
48397
|
version: "1.0.0",
|
|
47785
|
-
exportedAt: "2026-06-
|
|
48398
|
+
exportedAt: "2026-06-18T22:45:03.741Z",
|
|
47786
48399
|
contracts: {
|
|
47787
48400
|
form: {
|
|
47788
48401
|
emits: [
|
|
@@ -48969,6 +49582,58 @@ var event_contracts_default = {
|
|
|
48969
49582
|
],
|
|
48970
49583
|
requires: [],
|
|
48971
49584
|
entityAware: true
|
|
49585
|
+
},
|
|
49586
|
+
"activation-block": {
|
|
49587
|
+
emits: [
|
|
49588
|
+
{
|
|
49589
|
+
event: "SAVE_ACTIVATION",
|
|
49590
|
+
trigger: "action",
|
|
49591
|
+
payload: {
|
|
49592
|
+
type: "object"
|
|
49593
|
+
}
|
|
49594
|
+
}
|
|
49595
|
+
],
|
|
49596
|
+
requires: [],
|
|
49597
|
+
entityAware: false
|
|
49598
|
+
},
|
|
49599
|
+
"bloom-quiz-block": {
|
|
49600
|
+
emits: [
|
|
49601
|
+
{
|
|
49602
|
+
event: "ANSWER_BLOOM",
|
|
49603
|
+
trigger: "action",
|
|
49604
|
+
payload: {
|
|
49605
|
+
type: "object"
|
|
49606
|
+
}
|
|
49607
|
+
}
|
|
49608
|
+
],
|
|
49609
|
+
requires: [],
|
|
49610
|
+
entityAware: false
|
|
49611
|
+
},
|
|
49612
|
+
"reflection-block": {
|
|
49613
|
+
emits: [
|
|
49614
|
+
{
|
|
49615
|
+
event: "SAVE_REFLECTION",
|
|
49616
|
+
trigger: "action",
|
|
49617
|
+
payload: {
|
|
49618
|
+
type: "object"
|
|
49619
|
+
}
|
|
49620
|
+
}
|
|
49621
|
+
],
|
|
49622
|
+
requires: [],
|
|
49623
|
+
entityAware: false
|
|
49624
|
+
},
|
|
49625
|
+
"code-runner-panel": {
|
|
49626
|
+
emits: [
|
|
49627
|
+
{
|
|
49628
|
+
event: "RUN_CODE",
|
|
49629
|
+
trigger: "action",
|
|
49630
|
+
payload: {
|
|
49631
|
+
type: "object"
|
|
49632
|
+
}
|
|
49633
|
+
}
|
|
49634
|
+
],
|
|
49635
|
+
requires: [],
|
|
49636
|
+
entityAware: false
|
|
48972
49637
|
}
|
|
48973
49638
|
}
|
|
48974
49639
|
};
|