@arkitektio/bsx 3.0.0 → 4.0.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/bsx/language.d.ts.map +1 -1
- package/dist/bsx/language.js +4 -3
- package/dist/bsx/language.js.map +1 -1
- package/dist/bsx/references.d.ts +4 -2
- package/dist/bsx/references.d.ts.map +1 -1
- package/dist/bsx/references.js +34 -6
- package/dist/bsx/references.js.map +1 -1
- package/dist/catalogs/index.d.ts +27 -14
- package/dist/catalogs/index.d.ts.map +1 -1
- package/dist/catalogs/parts/index.d.ts +16 -3
- package/dist/catalogs/parts/index.d.ts.map +1 -1
- package/dist/catalogs/parts/run.d.ts +44 -4
- package/dist/catalogs/parts/run.d.ts.map +1 -1
- package/dist/catalogs/parts/run.js +33 -19
- package/dist/catalogs/parts/run.js.map +1 -1
- package/dist/catalogs/parts/scene.js +7 -7
- package/dist/catalogs/parts/scene.js.map +1 -1
- package/dist/catalogs/scene.d.ts +27 -14
- package/dist/catalogs/scene.d.ts.map +1 -1
- package/dist/catalogs/scene.js +3 -3
- package/dist/catalogs/scene.js.map +1 -1
- package/dist/renderer/bloks/run/components.d.ts +15 -2
- package/dist/renderer/bloks/run/components.d.ts.map +1 -1
- package/dist/renderer/bloks/run/components.js +114 -43
- package/dist/renderer/bloks/run/components.js.map +1 -1
- package/dist/renderer/bloks/run/host.d.ts +27 -8
- package/dist/renderer/bloks/run/host.d.ts.map +1 -1
- package/dist/renderer/bloks/run/host.js +8 -4
- package/dist/renderer/bloks/run/host.js.map +1 -1
- package/dist/renderer/bloks/run/index.d.ts +1 -1
- package/dist/renderer/bloks/run/index.d.ts.map +1 -1
- package/dist/renderer/bloks/run/index.js +1 -1
- package/dist/renderer/bloks/run/index.js.map +1 -1
- package/dist/renderer/bloks/run/math.d.ts +3 -20
- package/dist/renderer/bloks/run/math.d.ts.map +1 -1
- package/dist/renderer/bloks/run/math.js +4 -15
- package/dist/renderer/bloks/run/math.js.map +1 -1
- package/dist/renderer/bloks/scene/Scene.d.ts +16 -2
- package/dist/renderer/bloks/scene/Scene.d.ts.map +1 -1
- package/dist/renderer/bloks/scene/Scene.js +11 -3
- package/dist/renderer/bloks/scene/Scene.js.map +1 -1
- package/dist/scene.js +2 -2
- package/dist/scene.js.map +1 -1
- package/dist/spec/bsx_v2.json +277 -62
- package/dist/spec/catalogs/scene@1.json +93 -41
- package/dist/spec/catalogs/scene@1.json.js +93 -41
- package/dist/spec/catalogs.js +1 -1
- package/dist/spec/catalogs.js.map +1 -1
- package/dist/spec/vocabulary.d.ts +1 -1
- package/dist/spec/vocabulary.d.ts.map +1 -1
- package/dist/spec/vocabulary.js +1 -1
- package/dist/spec/vocabulary.js.map +1 -1
- package/dist/spec/vocabulary.json +4 -4
- package/dist/spec/vocabulary.json.js +4 -4
- package/package.json +1 -1
- package/src/bsx/language.test.ts +1 -0
- package/src/bsx/language.ts +4 -3
- package/src/bsx/references.ts +42 -7
- package/src/catalogs/parts/run.ts +39 -19
- package/src/catalogs/parts/scene.ts +7 -7
- package/src/catalogs/scene.ts +3 -3
- package/src/renderer/bloks/run/components.tsx +227 -103
- package/src/renderer/bloks/run/host.tsx +38 -12
- package/src/renderer/bloks/run/index.ts +1 -1
- package/src/renderer/bloks/run/math.test.ts +1 -24
- package/src/renderer/bloks/run/math.ts +5 -33
- package/src/renderer/bloks/run/run.test.tsx +44 -38
- package/src/renderer/bloks/scene/Scene.tsx +22 -4
- package/src/scene.ts +2 -2
- package/src/spec/bsx_v2.json +277 -62
- package/src/spec/catalogs/scene@1.json +93 -41
- package/src/spec/catalogs.ts +1 -1
- package/src/spec/vocabulary.json +4 -4
- package/src/spec/vocabulary.ts +2 -2
package/src/spec/bsx_v2.json
CHANGED
|
@@ -138,14 +138,6 @@
|
|
|
138
138
|
"accepts_children": true,
|
|
139
139
|
"catalog": "shadcn@1"
|
|
140
140
|
},
|
|
141
|
-
"Anchor": {
|
|
142
|
-
"text_prop": null,
|
|
143
|
-
"context": "SCENE",
|
|
144
|
-
"children_context": null,
|
|
145
|
-
"inherits_context": false,
|
|
146
|
-
"accepts_children": true,
|
|
147
|
-
"catalog": "scene@1"
|
|
148
|
-
},
|
|
149
141
|
"Animate": {
|
|
150
142
|
"text_prop": null,
|
|
151
143
|
"context": "SCENE",
|
|
@@ -906,14 +898,6 @@
|
|
|
906
898
|
"accepts_children": false,
|
|
907
899
|
"catalog": "scene@1"
|
|
908
900
|
},
|
|
909
|
-
"Overlay": {
|
|
910
|
-
"text_prop": null,
|
|
911
|
-
"context": "HTML",
|
|
912
|
-
"children_context": "SCENE",
|
|
913
|
-
"inherits_context": false,
|
|
914
|
-
"accepts_children": true,
|
|
915
|
-
"catalog": "scene@1"
|
|
916
|
-
},
|
|
917
901
|
"Pagination": {
|
|
918
902
|
"text_prop": null,
|
|
919
903
|
"context": "HTML",
|
|
@@ -938,6 +922,14 @@
|
|
|
938
922
|
"accepts_children": false,
|
|
939
923
|
"catalog": "logo@1"
|
|
940
924
|
},
|
|
925
|
+
"Placed": {
|
|
926
|
+
"text_prop": null,
|
|
927
|
+
"context": "SCENE",
|
|
928
|
+
"children_context": null,
|
|
929
|
+
"inherits_context": false,
|
|
930
|
+
"accepts_children": true,
|
|
931
|
+
"catalog": "scene@1"
|
|
932
|
+
},
|
|
941
933
|
"Polygon": {
|
|
942
934
|
"text_prop": null,
|
|
943
935
|
"context": "LOGO",
|
|
@@ -1234,6 +1226,14 @@
|
|
|
1234
1226
|
"accepts_children": false,
|
|
1235
1227
|
"catalog": "ui@1"
|
|
1236
1228
|
},
|
|
1229
|
+
"Space": {
|
|
1230
|
+
"text_prop": null,
|
|
1231
|
+
"context": "HTML",
|
|
1232
|
+
"children_context": "SCENE",
|
|
1233
|
+
"inherits_context": false,
|
|
1234
|
+
"accepts_children": true,
|
|
1235
|
+
"catalog": "scene@1"
|
|
1236
|
+
},
|
|
1237
1237
|
"Spacer": {
|
|
1238
1238
|
"text_prop": null,
|
|
1239
1239
|
"context": "HTML",
|
|
@@ -3467,15 +3467,21 @@
|
|
|
3467
3467
|
"printed": "<Scene id=\"main\" camera=\"front\" persist>\n <Model src={self.assets.arm} />\n</Scene>"
|
|
3468
3468
|
},
|
|
3469
3469
|
{
|
|
3470
|
-
"name": "
|
|
3471
|
-
"source": "<
|
|
3470
|
+
"name": "a space",
|
|
3471
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\"><Glow on={task.running} /></Placed><Route through={[\"robot\", \"ot2\"]} /></Space>",
|
|
3472
3472
|
"tree": {
|
|
3473
|
-
"id": "
|
|
3474
|
-
"component": "
|
|
3473
|
+
"id": "Space[0]",
|
|
3474
|
+
"component": "Space",
|
|
3475
|
+
"props": [
|
|
3476
|
+
{
|
|
3477
|
+
"key": "room",
|
|
3478
|
+
"static_value": "room:lab"
|
|
3479
|
+
}
|
|
3480
|
+
],
|
|
3475
3481
|
"children": [
|
|
3476
3482
|
{
|
|
3477
|
-
"id": "
|
|
3478
|
-
"component": "
|
|
3483
|
+
"id": "Space[0]/Placed[0]",
|
|
3484
|
+
"component": "Placed",
|
|
3479
3485
|
"props": [
|
|
3480
3486
|
{
|
|
3481
3487
|
"key": "dep",
|
|
@@ -3484,7 +3490,7 @@
|
|
|
3484
3490
|
],
|
|
3485
3491
|
"children": [
|
|
3486
3492
|
{
|
|
3487
|
-
"id": "
|
|
3493
|
+
"id": "Space[0]/Placed[0]/Glow[0]",
|
|
3488
3494
|
"component": "Glow",
|
|
3489
3495
|
"props": [
|
|
3490
3496
|
{
|
|
@@ -3498,7 +3504,7 @@
|
|
|
3498
3504
|
]
|
|
3499
3505
|
},
|
|
3500
3506
|
{
|
|
3501
|
-
"id": "
|
|
3507
|
+
"id": "Space[0]/Route[0]",
|
|
3502
3508
|
"component": "Route",
|
|
3503
3509
|
"props": [
|
|
3504
3510
|
{
|
|
@@ -3512,7 +3518,7 @@
|
|
|
3512
3518
|
}
|
|
3513
3519
|
]
|
|
3514
3520
|
},
|
|
3515
|
-
"printed": "<
|
|
3521
|
+
"printed": "<Space room=\"room:lab\">\n <Placed dep=\"robot\">\n <Glow on={task.running} />\n </Placed>\n <Route through={[\"robot\", \"ot2\"]} />\n</Space>"
|
|
3516
3522
|
},
|
|
3517
3523
|
{
|
|
3518
3524
|
"name": "a logo",
|
|
@@ -8539,15 +8545,21 @@
|
|
|
8539
8545
|
]
|
|
8540
8546
|
},
|
|
8541
8547
|
{
|
|
8542
|
-
"name": "
|
|
8543
|
-
"source": "<
|
|
8548
|
+
"name": "a space is an action's",
|
|
8549
|
+
"source": "<Space room=\"room:lab\" />",
|
|
8544
8550
|
"tree": {
|
|
8545
|
-
"id": "
|
|
8546
|
-
"component": "
|
|
8551
|
+
"id": "Space[0]",
|
|
8552
|
+
"component": "Space",
|
|
8553
|
+
"props": [
|
|
8554
|
+
{
|
|
8555
|
+
"key": "room",
|
|
8556
|
+
"static_value": "room:lab"
|
|
8557
|
+
}
|
|
8558
|
+
]
|
|
8547
8559
|
},
|
|
8548
8560
|
"scope": {
|
|
8549
8561
|
"kind": "agent",
|
|
8550
|
-
"context": "
|
|
8562
|
+
"context": "SCENE",
|
|
8551
8563
|
"dependencies": [],
|
|
8552
8564
|
"locals": [],
|
|
8553
8565
|
"queries": [],
|
|
@@ -8561,7 +8573,90 @@
|
|
|
8561
8573
|
"locals": []
|
|
8562
8574
|
},
|
|
8563
8575
|
"codes": [
|
|
8564
|
-
"
|
|
8576
|
+
"space.kind"
|
|
8577
|
+
]
|
|
8578
|
+
},
|
|
8579
|
+
{
|
|
8580
|
+
"name": "a custom blok has no run to place",
|
|
8581
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\" /></Space>",
|
|
8582
|
+
"tree": {
|
|
8583
|
+
"id": "Space[0]",
|
|
8584
|
+
"component": "Space",
|
|
8585
|
+
"props": [
|
|
8586
|
+
{
|
|
8587
|
+
"key": "room",
|
|
8588
|
+
"static_value": "room:lab"
|
|
8589
|
+
}
|
|
8590
|
+
],
|
|
8591
|
+
"children": [
|
|
8592
|
+
{
|
|
8593
|
+
"id": "Space[0]/Placed[0]",
|
|
8594
|
+
"component": "Placed",
|
|
8595
|
+
"props": [
|
|
8596
|
+
{
|
|
8597
|
+
"key": "dep",
|
|
8598
|
+
"static_value": "robot"
|
|
8599
|
+
}
|
|
8600
|
+
]
|
|
8601
|
+
}
|
|
8602
|
+
]
|
|
8603
|
+
},
|
|
8604
|
+
"scope": {
|
|
8605
|
+
"kind": "custom",
|
|
8606
|
+
"context": "SCENE",
|
|
8607
|
+
"dependencies": [
|
|
8608
|
+
{
|
|
8609
|
+
"key": "robot",
|
|
8610
|
+
"action_dependencies": [
|
|
8611
|
+
{
|
|
8612
|
+
"key": "move_to",
|
|
8613
|
+
"demand": {
|
|
8614
|
+
"arg_matches": [
|
|
8615
|
+
{
|
|
8616
|
+
"key": "position"
|
|
8617
|
+
}
|
|
8618
|
+
],
|
|
8619
|
+
"return_matches": [
|
|
8620
|
+
{
|
|
8621
|
+
"key": "arrived"
|
|
8622
|
+
}
|
|
8623
|
+
]
|
|
8624
|
+
}
|
|
8625
|
+
}
|
|
8626
|
+
],
|
|
8627
|
+
"state_dependencies": [
|
|
8628
|
+
{
|
|
8629
|
+
"key": "arm",
|
|
8630
|
+
"demand": {
|
|
8631
|
+
"matches": [
|
|
8632
|
+
{
|
|
8633
|
+
"key": "joints",
|
|
8634
|
+
"kind": "LIST"
|
|
8635
|
+
},
|
|
8636
|
+
{
|
|
8637
|
+
"key": "mode",
|
|
8638
|
+
"kind": "STRING"
|
|
8639
|
+
}
|
|
8640
|
+
]
|
|
8641
|
+
}
|
|
8642
|
+
}
|
|
8643
|
+
]
|
|
8644
|
+
}
|
|
8645
|
+
],
|
|
8646
|
+
"locals": [],
|
|
8647
|
+
"queries": [],
|
|
8648
|
+
"subscriptions": [],
|
|
8649
|
+
"args": null,
|
|
8650
|
+
"catalogs": [],
|
|
8651
|
+
"catalog": true,
|
|
8652
|
+
"module": null
|
|
8653
|
+
},
|
|
8654
|
+
"resolved": {
|
|
8655
|
+
"locals": []
|
|
8656
|
+
},
|
|
8657
|
+
"codes": [
|
|
8658
|
+
"space.kind",
|
|
8659
|
+
"space.kind"
|
|
8565
8660
|
]
|
|
8566
8661
|
},
|
|
8567
8662
|
{
|
|
@@ -8745,14 +8840,20 @@
|
|
|
8745
8840
|
},
|
|
8746
8841
|
{
|
|
8747
8842
|
"name": "an action blok",
|
|
8748
|
-
"source": "<
|
|
8843
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\"><Glow on={task.running} /></Placed></Space>",
|
|
8749
8844
|
"tree": {
|
|
8750
|
-
"id": "
|
|
8751
|
-
"component": "
|
|
8845
|
+
"id": "Space[0]",
|
|
8846
|
+
"component": "Space",
|
|
8847
|
+
"props": [
|
|
8848
|
+
{
|
|
8849
|
+
"key": "room",
|
|
8850
|
+
"static_value": "room:lab"
|
|
8851
|
+
}
|
|
8852
|
+
],
|
|
8752
8853
|
"children": [
|
|
8753
8854
|
{
|
|
8754
|
-
"id": "
|
|
8755
|
-
"component": "
|
|
8855
|
+
"id": "Space[0]/Placed[0]",
|
|
8856
|
+
"component": "Placed",
|
|
8756
8857
|
"props": [
|
|
8757
8858
|
{
|
|
8758
8859
|
"key": "dep",
|
|
@@ -8761,7 +8862,7 @@
|
|
|
8761
8862
|
],
|
|
8762
8863
|
"children": [
|
|
8763
8864
|
{
|
|
8764
|
-
"id": "
|
|
8865
|
+
"id": "Space[0]/Placed[0]/Glow[0]",
|
|
8765
8866
|
"component": "Glow",
|
|
8766
8867
|
"props": [
|
|
8767
8868
|
{
|
|
@@ -8778,7 +8879,7 @@
|
|
|
8778
8879
|
},
|
|
8779
8880
|
"scope": {
|
|
8780
8881
|
"kind": "action",
|
|
8781
|
-
"context": "
|
|
8882
|
+
"context": "SCENE",
|
|
8782
8883
|
"dependencies": [
|
|
8783
8884
|
{
|
|
8784
8885
|
"key": "robot",
|
|
@@ -8831,6 +8932,102 @@
|
|
|
8831
8932
|
},
|
|
8832
8933
|
"codes": []
|
|
8833
8934
|
},
|
|
8935
|
+
{
|
|
8936
|
+
"name": "a placed key that is no dependency",
|
|
8937
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"arm\" /><Route through={[\"robot\", \"arm\"]} /></Space>",
|
|
8938
|
+
"tree": {
|
|
8939
|
+
"id": "Space[0]",
|
|
8940
|
+
"component": "Space",
|
|
8941
|
+
"props": [
|
|
8942
|
+
{
|
|
8943
|
+
"key": "room",
|
|
8944
|
+
"static_value": "room:lab"
|
|
8945
|
+
}
|
|
8946
|
+
],
|
|
8947
|
+
"children": [
|
|
8948
|
+
{
|
|
8949
|
+
"id": "Space[0]/Placed[0]",
|
|
8950
|
+
"component": "Placed",
|
|
8951
|
+
"props": [
|
|
8952
|
+
{
|
|
8953
|
+
"key": "dep",
|
|
8954
|
+
"static_value": "arm"
|
|
8955
|
+
}
|
|
8956
|
+
]
|
|
8957
|
+
},
|
|
8958
|
+
{
|
|
8959
|
+
"id": "Space[0]/Route[0]",
|
|
8960
|
+
"component": "Route",
|
|
8961
|
+
"props": [
|
|
8962
|
+
{
|
|
8963
|
+
"key": "through",
|
|
8964
|
+
"static_value": [
|
|
8965
|
+
"robot",
|
|
8966
|
+
"arm"
|
|
8967
|
+
]
|
|
8968
|
+
}
|
|
8969
|
+
]
|
|
8970
|
+
}
|
|
8971
|
+
]
|
|
8972
|
+
},
|
|
8973
|
+
"scope": {
|
|
8974
|
+
"kind": "action",
|
|
8975
|
+
"context": "SCENE",
|
|
8976
|
+
"dependencies": [
|
|
8977
|
+
{
|
|
8978
|
+
"key": "robot",
|
|
8979
|
+
"action_dependencies": [
|
|
8980
|
+
{
|
|
8981
|
+
"key": "move_to",
|
|
8982
|
+
"demand": {
|
|
8983
|
+
"arg_matches": [
|
|
8984
|
+
{
|
|
8985
|
+
"key": "position"
|
|
8986
|
+
}
|
|
8987
|
+
],
|
|
8988
|
+
"return_matches": [
|
|
8989
|
+
{
|
|
8990
|
+
"key": "arrived"
|
|
8991
|
+
}
|
|
8992
|
+
]
|
|
8993
|
+
}
|
|
8994
|
+
}
|
|
8995
|
+
],
|
|
8996
|
+
"state_dependencies": [
|
|
8997
|
+
{
|
|
8998
|
+
"key": "arm",
|
|
8999
|
+
"demand": {
|
|
9000
|
+
"matches": [
|
|
9001
|
+
{
|
|
9002
|
+
"key": "joints",
|
|
9003
|
+
"kind": "LIST"
|
|
9004
|
+
},
|
|
9005
|
+
{
|
|
9006
|
+
"key": "mode",
|
|
9007
|
+
"kind": "STRING"
|
|
9008
|
+
}
|
|
9009
|
+
]
|
|
9010
|
+
}
|
|
9011
|
+
}
|
|
9012
|
+
]
|
|
9013
|
+
}
|
|
9014
|
+
],
|
|
9015
|
+
"locals": [],
|
|
9016
|
+
"queries": [],
|
|
9017
|
+
"subscriptions": [],
|
|
9018
|
+
"args": null,
|
|
9019
|
+
"catalogs": [],
|
|
9020
|
+
"catalog": true,
|
|
9021
|
+
"module": null
|
|
9022
|
+
},
|
|
9023
|
+
"resolved": {
|
|
9024
|
+
"locals": []
|
|
9025
|
+
},
|
|
9026
|
+
"codes": [
|
|
9027
|
+
"deps.unknown",
|
|
9028
|
+
"deps.unknown"
|
|
9029
|
+
]
|
|
9030
|
+
},
|
|
8834
9031
|
{
|
|
8835
9032
|
"name": "task.answer in an agent blok",
|
|
8836
9033
|
"source": "<Html><Button onClick={task.answer(values: {})} /></Html>",
|
|
@@ -9104,14 +9301,20 @@
|
|
|
9104
9301
|
},
|
|
9105
9302
|
{
|
|
9106
9303
|
"name": "a scene colour that is no role",
|
|
9107
|
-
"source": "<
|
|
9304
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\"><Glow on={task.running} color=\"#ff3b30\" /></Placed><Route through={[\"robot\"]} color=\"hotpink\" /></Space>",
|
|
9108
9305
|
"tree": {
|
|
9109
|
-
"id": "
|
|
9110
|
-
"component": "
|
|
9306
|
+
"id": "Space[0]",
|
|
9307
|
+
"component": "Space",
|
|
9308
|
+
"props": [
|
|
9309
|
+
{
|
|
9310
|
+
"key": "room",
|
|
9311
|
+
"static_value": "room:lab"
|
|
9312
|
+
}
|
|
9313
|
+
],
|
|
9111
9314
|
"children": [
|
|
9112
9315
|
{
|
|
9113
|
-
"id": "
|
|
9114
|
-
"component": "
|
|
9316
|
+
"id": "Space[0]/Placed[0]",
|
|
9317
|
+
"component": "Placed",
|
|
9115
9318
|
"props": [
|
|
9116
9319
|
{
|
|
9117
9320
|
"key": "dep",
|
|
@@ -9120,7 +9323,7 @@
|
|
|
9120
9323
|
],
|
|
9121
9324
|
"children": [
|
|
9122
9325
|
{
|
|
9123
|
-
"id": "
|
|
9326
|
+
"id": "Space[0]/Placed[0]/Glow[0]",
|
|
9124
9327
|
"component": "Glow",
|
|
9125
9328
|
"props": [
|
|
9126
9329
|
{
|
|
@@ -9138,7 +9341,7 @@
|
|
|
9138
9341
|
]
|
|
9139
9342
|
},
|
|
9140
9343
|
{
|
|
9141
|
-
"id": "
|
|
9344
|
+
"id": "Space[0]/Route[0]",
|
|
9142
9345
|
"component": "Route",
|
|
9143
9346
|
"props": [
|
|
9144
9347
|
{
|
|
@@ -9157,7 +9360,7 @@
|
|
|
9157
9360
|
},
|
|
9158
9361
|
"scope": {
|
|
9159
9362
|
"kind": "action",
|
|
9160
|
-
"context": "
|
|
9363
|
+
"context": "SCENE",
|
|
9161
9364
|
"dependencies": [
|
|
9162
9365
|
{
|
|
9163
9366
|
"key": "robot",
|
|
@@ -11043,14 +11246,20 @@
|
|
|
11043
11246
|
},
|
|
11044
11247
|
{
|
|
11045
11248
|
"name": "spectral roles are scene colours",
|
|
11046
|
-
"source": "<
|
|
11249
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\"><Glow on={task.running} color=\"spectrum-green\" /></Placed><Route through={[\"robot\"]} color=\"spectrum-violet-soft\" /></Space>",
|
|
11047
11250
|
"tree": {
|
|
11048
|
-
"id": "
|
|
11049
|
-
"component": "
|
|
11251
|
+
"id": "Space[0]",
|
|
11252
|
+
"component": "Space",
|
|
11253
|
+
"props": [
|
|
11254
|
+
{
|
|
11255
|
+
"key": "room",
|
|
11256
|
+
"static_value": "room:lab"
|
|
11257
|
+
}
|
|
11258
|
+
],
|
|
11050
11259
|
"children": [
|
|
11051
11260
|
{
|
|
11052
|
-
"id": "
|
|
11053
|
-
"component": "
|
|
11261
|
+
"id": "Space[0]/Placed[0]",
|
|
11262
|
+
"component": "Placed",
|
|
11054
11263
|
"props": [
|
|
11055
11264
|
{
|
|
11056
11265
|
"key": "dep",
|
|
@@ -11059,7 +11268,7 @@
|
|
|
11059
11268
|
],
|
|
11060
11269
|
"children": [
|
|
11061
11270
|
{
|
|
11062
|
-
"id": "
|
|
11271
|
+
"id": "Space[0]/Placed[0]/Glow[0]",
|
|
11063
11272
|
"component": "Glow",
|
|
11064
11273
|
"props": [
|
|
11065
11274
|
{
|
|
@@ -11077,7 +11286,7 @@
|
|
|
11077
11286
|
]
|
|
11078
11287
|
},
|
|
11079
11288
|
{
|
|
11080
|
-
"id": "
|
|
11289
|
+
"id": "Space[0]/Route[0]",
|
|
11081
11290
|
"component": "Route",
|
|
11082
11291
|
"props": [
|
|
11083
11292
|
{
|
|
@@ -11096,7 +11305,7 @@
|
|
|
11096
11305
|
},
|
|
11097
11306
|
"scope": {
|
|
11098
11307
|
"kind": "action",
|
|
11099
|
-
"context": "
|
|
11308
|
+
"context": "SCENE",
|
|
11100
11309
|
"dependencies": [
|
|
11101
11310
|
{
|
|
11102
11311
|
"key": "robot",
|
|
@@ -11231,14 +11440,20 @@
|
|
|
11231
11440
|
},
|
|
11232
11441
|
{
|
|
11233
11442
|
"name": "scene colours are roles",
|
|
11234
|
-
"source": "<
|
|
11443
|
+
"source": "<Space room=\"room:lab\"><Placed dep=\"robot\"><Glow on={task.running} color=\"info\" /></Placed><Route through={[\"robot\"]} color=\"chart-2\" /></Space>",
|
|
11235
11444
|
"tree": {
|
|
11236
|
-
"id": "
|
|
11237
|
-
"component": "
|
|
11445
|
+
"id": "Space[0]",
|
|
11446
|
+
"component": "Space",
|
|
11447
|
+
"props": [
|
|
11448
|
+
{
|
|
11449
|
+
"key": "room",
|
|
11450
|
+
"static_value": "room:lab"
|
|
11451
|
+
}
|
|
11452
|
+
],
|
|
11238
11453
|
"children": [
|
|
11239
11454
|
{
|
|
11240
|
-
"id": "
|
|
11241
|
-
"component": "
|
|
11455
|
+
"id": "Space[0]/Placed[0]",
|
|
11456
|
+
"component": "Placed",
|
|
11242
11457
|
"props": [
|
|
11243
11458
|
{
|
|
11244
11459
|
"key": "dep",
|
|
@@ -11247,7 +11462,7 @@
|
|
|
11247
11462
|
],
|
|
11248
11463
|
"children": [
|
|
11249
11464
|
{
|
|
11250
|
-
"id": "
|
|
11465
|
+
"id": "Space[0]/Placed[0]/Glow[0]",
|
|
11251
11466
|
"component": "Glow",
|
|
11252
11467
|
"props": [
|
|
11253
11468
|
{
|
|
@@ -11265,7 +11480,7 @@
|
|
|
11265
11480
|
]
|
|
11266
11481
|
},
|
|
11267
11482
|
{
|
|
11268
|
-
"id": "
|
|
11483
|
+
"id": "Space[0]/Route[0]",
|
|
11269
11484
|
"component": "Route",
|
|
11270
11485
|
"props": [
|
|
11271
11486
|
{
|
|
@@ -11284,7 +11499,7 @@
|
|
|
11284
11499
|
},
|
|
11285
11500
|
"scope": {
|
|
11286
11501
|
"kind": "action",
|
|
11287
|
-
"context": "
|
|
11502
|
+
"context": "SCENE",
|
|
11288
11503
|
"dependencies": [
|
|
11289
11504
|
{
|
|
11290
11505
|
"key": "robot",
|