@almadar/std 8.2.0 → 8.3.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -179,8 +179,8 @@
179
179
  "Experiment",
180
180
  {
181
181
  "emit": {
182
- "failure": "ExperimentLoadFailed",
183
- "success": "ExperimentLoaded"
182
+ "success": "ExperimentLoaded",
183
+ "failure": "ExperimentLoadFailed"
184
184
  }
185
185
  }
186
186
  ],
@@ -189,21 +189,21 @@
189
189
  "main",
190
190
  {
191
191
  "appName": "STEM Lab",
192
+ "showTopBar": true,
193
+ "type": "game-shell",
192
194
  "children": [
193
195
  {
196
+ "type": "game-menu",
197
+ "title": "Experiment Simulator",
194
198
  "menuItems": [
195
199
  {
196
- "label": "Start",
200
+ "variant": "primary",
197
201
  "event": "START",
198
- "variant": "primary"
202
+ "label": "Start"
199
203
  }
200
- ],
201
- "title": "Experiment Simulator",
202
- "type": "game-menu"
204
+ ]
203
205
  }
204
- ],
205
- "showTopBar": true,
206
- "type": "game-shell"
206
+ ]
207
207
  }
208
208
  ]
209
209
  ]
@@ -217,36 +217,36 @@
217
217
  "render-ui",
218
218
  "main",
219
219
  {
220
+ "type": "game-shell",
220
221
  "children": [
221
222
  {
223
+ "type": "stack",
224
+ "gap": "md",
222
225
  "direction": "vertical",
223
226
  "children": [
224
227
  {
225
- "type": "game-hud",
226
228
  "stats": [
227
229
  {
228
- "value": "@entity.score",
229
- "label": "Score"
230
+ "label": "Score",
231
+ "value": "@entity.score"
230
232
  },
231
233
  {
232
234
  "label": "Level",
233
235
  "value": "@entity.level"
234
236
  }
235
- ]
237
+ ],
238
+ "type": "game-hud"
236
239
  },
237
240
  {
238
241
  "type": "simulator-board",
239
- "completeEvent": "COMPLETE",
240
- "entity": "Experiment"
242
+ "entity": "Experiment",
243
+ "completeEvent": "COMPLETE"
241
244
  }
242
- ],
243
- "type": "stack",
244
- "gap": "md"
245
+ ]
245
246
  }
246
247
  ],
247
248
  "appName": "STEM Lab",
248
- "showTopBar": true,
249
- "type": "game-shell"
249
+ "showTopBar": true
250
250
  }
251
251
  ]
252
252
  ]
@@ -265,21 +265,21 @@
265
265
  "render-ui",
266
266
  "main",
267
267
  {
268
- "appName": "STEM Lab",
269
- "type": "game-shell",
270
268
  "children": [
271
269
  {
270
+ "type": "game-over-screen",
271
+ "title": "Well Done!",
272
272
  "menuItems": [
273
273
  {
274
- "variant": "primary",
275
274
  "event": "RESTART",
276
- "label": "Play Again"
275
+ "label": "Play Again",
276
+ "variant": "primary"
277
277
  }
278
- ],
279
- "title": "Well Done!",
280
- "type": "game-over-screen"
278
+ ]
281
279
  }
282
280
  ],
281
+ "type": "game-shell",
282
+ "appName": "STEM Lab",
283
283
  "showTopBar": true
284
284
  }
285
285
  ]
@@ -294,7 +294,6 @@
294
294
  "render-ui",
295
295
  "main",
296
296
  {
297
- "showTopBar": true,
298
297
  "children": [
299
298
  {
300
299
  "menuItems": [
@@ -304,12 +303,13 @@
304
303
  "event": "START"
305
304
  }
306
305
  ],
307
- "title": "Experiment Simulator",
308
- "type": "game-menu"
306
+ "type": "game-menu",
307
+ "title": "Experiment Simulator"
309
308
  }
310
309
  ],
310
+ "appName": "STEM Lab",
311
311
  "type": "game-shell",
312
- "appName": "STEM Lab"
312
+ "showTopBar": true
313
313
  }
314
314
  ]
315
315
  ]
@@ -506,8 +506,8 @@
506
506
  "Classification",
507
507
  {
508
508
  "emit": {
509
- "failure": "ClassificationLoadFailed",
510
- "success": "ClassificationLoaded"
509
+ "success": "ClassificationLoaded",
510
+ "failure": "ClassificationLoadFailed"
511
511
  }
512
512
  }
513
513
  ],
@@ -515,22 +515,22 @@
515
515
  "render-ui",
516
516
  "main",
517
517
  {
518
+ "type": "game-shell",
519
+ "showTopBar": true,
518
520
  "children": [
519
521
  {
520
- "type": "game-menu",
521
522
  "menuItems": [
522
523
  {
523
- "label": "Start",
524
+ "event": "START",
524
525
  "variant": "primary",
525
- "event": "START"
526
+ "label": "Start"
526
527
  }
527
528
  ],
529
+ "type": "game-menu",
528
530
  "title": "Classification Lab"
529
531
  }
530
532
  ],
531
- "type": "game-shell",
532
- "appName": "STEM Lab",
533
- "showTopBar": true
533
+ "appName": "STEM Lab"
534
534
  }
535
535
  ]
536
536
  ]
@@ -544,36 +544,36 @@
544
544
  "render-ui",
545
545
  "main",
546
546
  {
547
- "showTopBar": true,
547
+ "appName": "STEM Lab",
548
+ "type": "game-shell",
548
549
  "children": [
549
550
  {
551
+ "gap": "md",
552
+ "type": "stack",
553
+ "direction": "vertical",
550
554
  "children": [
551
555
  {
552
556
  "type": "game-hud",
553
557
  "stats": [
554
558
  {
555
- "label": "Score",
556
- "value": "@entity.score"
559
+ "value": "@entity.score",
560
+ "label": "Score"
557
561
  },
558
562
  {
559
- "label": "Level",
560
- "value": "@entity.level"
563
+ "value": "@entity.level",
564
+ "label": "Level"
561
565
  }
562
566
  ]
563
567
  },
564
568
  {
565
- "type": "classifier-board",
566
569
  "entity": "Classification",
567
- "completeEvent": "COMPLETE"
570
+ "completeEvent": "COMPLETE",
571
+ "type": "classifier-board"
568
572
  }
569
- ],
570
- "type": "stack",
571
- "direction": "vertical",
572
- "gap": "md"
573
+ ]
573
574
  }
574
575
  ],
575
- "appName": "STEM Lab",
576
- "type": "game-shell"
576
+ "showTopBar": true
577
577
  }
578
578
  ]
579
579
  ]
@@ -592,22 +592,22 @@
592
592
  "render-ui",
593
593
  "main",
594
594
  {
595
- "type": "game-shell",
595
+ "appName": "STEM Lab",
596
596
  "showTopBar": true,
597
+ "type": "game-shell",
597
598
  "children": [
598
599
  {
599
- "title": "Well Done!",
600
- "type": "game-over-screen",
601
600
  "menuItems": [
602
601
  {
603
602
  "label": "Play Again",
604
603
  "event": "RESTART",
605
604
  "variant": "primary"
606
605
  }
607
- ]
606
+ ],
607
+ "title": "Well Done!",
608
+ "type": "game-over-screen"
608
609
  }
609
- ],
610
- "appName": "STEM Lab"
610
+ ]
611
611
  }
612
612
  ]
613
613
  ]
@@ -621,20 +621,20 @@
621
621
  "render-ui",
622
622
  "main",
623
623
  {
624
+ "type": "game-shell",
624
625
  "appName": "STEM Lab",
625
626
  "showTopBar": true,
626
- "type": "game-shell",
627
627
  "children": [
628
628
  {
629
629
  "title": "Classification Lab",
630
- "type": "game-menu",
631
630
  "menuItems": [
632
631
  {
633
632
  "variant": "primary",
634
633
  "label": "Start",
635
634
  "event": "START"
636
635
  }
637
- ]
636
+ ],
637
+ "type": "game-menu"
638
638
  }
639
639
  ]
640
640
  }
@@ -825,17 +825,18 @@
825
825
  "appName": "STEM Lab",
826
826
  "children": [
827
827
  {
828
+ "type": "scaled-diagram",
828
829
  "children": [
829
830
  {
830
831
  "direction": "vertical",
831
- "gap": "lg",
832
+ "type": "stack",
832
833
  "children": [
833
834
  {
834
835
  "type": "breadcrumb",
835
836
  "items": [
836
837
  {
837
- "label": "Home",
838
- "href": "/"
838
+ "href": "/",
839
+ "label": "Home"
839
840
  },
840
841
  {
841
842
  "label": "Lab Results"
@@ -843,32 +844,32 @@
843
844
  ]
844
845
  },
845
846
  {
847
+ "gap": "md",
846
848
  "children": [
847
849
  {
848
850
  "type": "stack",
851
+ "direction": "horizontal",
849
852
  "gap": "md",
850
853
  "children": [
851
854
  {
852
- "name": "clipboard",
853
- "type": "icon"
855
+ "type": "icon",
856
+ "name": "clipboard"
854
857
  },
855
858
  {
856
- "variant": "h2",
857
859
  "type": "typography",
858
- "content": "Lab Results"
860
+ "content": "Lab Results",
861
+ "variant": "h2"
859
862
  }
860
- ],
861
- "direction": "horizontal"
863
+ ]
862
864
  },
863
865
  {
864
- "variant": "secondary",
865
866
  "label": "Refresh",
866
- "type": "button",
867
867
  "icon": "refresh-cw",
868
+ "type": "button",
869
+ "variant": "secondary",
868
870
  "action": "REFRESH"
869
871
  }
870
872
  ],
871
- "gap": "md",
872
873
  "justify": "between",
873
874
  "direction": "horizontal",
874
875
  "type": "stack"
@@ -877,20 +878,21 @@
877
878
  "type": "divider"
878
879
  },
879
880
  {
881
+ "type": "box",
882
+ "padding": "md",
880
883
  "children": [
881
884
  {
882
- "type": "simple-grid",
883
885
  "cols": 3.0,
884
886
  "children": [
885
887
  {
886
- "type": "stat-display",
887
888
  "value": "@entity.experimentCount",
889
+ "type": "stat-display",
888
890
  "label": "ExperimentCount"
889
891
  },
890
892
  {
891
- "label": "AvgAccuracy",
893
+ "value": "@entity.avgAccuracy",
892
894
  "type": "stat-display",
893
- "value": "@entity.avgAccuracy"
895
+ "label": "AvgAccuracy"
894
896
  },
895
897
  {
896
898
  "type": "stat-display",
@@ -898,62 +900,61 @@
898
900
  "value": "@entity.totalScore"
899
901
  },
900
902
  {
901
- "type": "card",
902
903
  "children": [
903
904
  {
904
- "type": "stack",
905
- "gap": "sm",
906
905
  "direction": "vertical",
906
+ "gap": "sm",
907
907
  "children": [
908
908
  {
909
- "content": "Grade",
910
909
  "type": "typography",
910
+ "content": "Grade",
911
911
  "variant": "caption"
912
912
  },
913
913
  {
914
914
  "type": "typography",
915
- "content": "@entity.grade",
916
- "variant": "h3"
915
+ "variant": "h3",
916
+ "content": "@entity.grade"
917
917
  }
918
- ]
918
+ ],
919
+ "type": "stack"
919
920
  }
920
- ]
921
+ ],
922
+ "type": "card"
921
923
  }
922
- ]
924
+ ],
925
+ "type": "simple-grid"
923
926
  }
924
- ],
925
- "padding": "md",
926
- "type": "box"
927
+ ]
927
928
  },
928
929
  {
929
930
  "type": "divider"
930
931
  },
931
932
  {
932
- "type": "grid",
933
- "gap": "md",
934
- "cols": 2.0,
935
933
  "children": [
936
934
  {
935
+ "type": "card",
937
936
  "children": [
938
937
  {
938
+ "type": "typography",
939
939
  "variant": "caption",
940
- "content": "Chart View",
941
- "type": "typography"
940
+ "content": "Chart View"
942
941
  }
943
- ],
944
- "type": "card"
942
+ ]
945
943
  },
946
944
  {
947
945
  "type": "card",
948
946
  "children": [
949
947
  {
950
- "content": "Graph View",
948
+ "variant": "caption",
951
949
  "type": "typography",
952
- "variant": "caption"
950
+ "content": "Graph View"
953
951
  }
954
952
  ]
955
953
  }
956
- ]
954
+ ],
955
+ "gap": "md",
956
+ "type": "grid",
957
+ "cols": 2.0
957
958
  },
958
959
  {
959
960
  "type": "line-chart",
@@ -963,24 +964,24 @@
963
964
  "value": 12.0
964
965
  },
965
966
  {
966
- "value": 19.0,
967
- "date": "Feb"
967
+ "date": "Feb",
968
+ "value": 19.0
968
969
  },
969
970
  {
970
- "value": 15.0,
971
- "date": "Mar"
971
+ "date": "Mar",
972
+ "value": 15.0
972
973
  },
973
974
  {
974
- "date": "Apr",
975
- "value": 25.0
975
+ "value": 25.0,
976
+ "date": "Apr"
976
977
  },
977
978
  {
978
- "date": "May",
979
- "value": 22.0
979
+ "value": 22.0,
980
+ "date": "May"
980
981
  },
981
982
  {
982
- "value": 30.0,
983
- "date": "Jun"
983
+ "date": "Jun",
984
+ "value": 30.0
984
985
  }
985
986
  ]
986
987
  },
@@ -992,28 +993,27 @@
992
993
  "label": "Current"
993
994
  },
994
995
  {
995
- "label": "Previous",
996
- "color": "muted"
996
+ "color": "muted",
997
+ "label": "Previous"
997
998
  }
998
999
  ]
999
1000
  },
1000
1001
  {
1001
- "type": "graph-view",
1002
1002
  "nodes": [
1003
1003
  {
1004
- "label": "Start",
1005
- "id": "a"
1004
+ "id": "a",
1005
+ "label": "Start"
1006
1006
  },
1007
1007
  {
1008
- "label": "Process",
1009
- "id": "b"
1008
+ "id": "b",
1009
+ "label": "Process"
1010
1010
  },
1011
1011
  {
1012
- "id": "c",
1013
- "label": "End"
1012
+ "label": "End",
1013
+ "id": "c"
1014
1014
  }
1015
1015
  ],
1016
- "width": 400.0,
1016
+ "height": 200.0,
1017
1017
  "edges": [
1018
1018
  {
1019
1019
  "target": "b",
@@ -1024,13 +1024,13 @@
1024
1024
  "target": "c"
1025
1025
  }
1026
1026
  ],
1027
- "height": 200.0
1027
+ "type": "graph-view",
1028
+ "width": 400.0
1028
1029
  }
1029
1030
  ],
1030
- "type": "stack"
1031
+ "gap": "lg"
1031
1032
  }
1032
- ],
1033
- "type": "scaled-diagram"
1033
+ ]
1034
1034
  }
1035
1035
  ],
1036
1036
  "showTopBar": true
@@ -1048,8 +1048,8 @@
1048
1048
  "LabResult",
1049
1049
  {
1050
1050
  "emit": {
1051
- "failure": "LabResultLoadFailed",
1052
- "success": "LabResultLoaded"
1051
+ "success": "LabResultLoaded",
1052
+ "failure": "LabResultLoadFailed"
1053
1053
  }
1054
1054
  }
1055
1055
  ],
@@ -1057,15 +1057,11 @@
1057
1057
  "render-ui",
1058
1058
  "main",
1059
1059
  {
1060
- "type": "game-shell",
1061
- "appName": "STEM Lab",
1062
1060
  "children": [
1063
1061
  {
1064
1062
  "type": "scaled-diagram",
1065
1063
  "children": [
1066
1064
  {
1067
- "direction": "vertical",
1068
- "gap": "lg",
1069
1065
  "children": [
1070
1066
  {
1071
1067
  "type": "breadcrumb",
@@ -1080,35 +1076,35 @@
1080
1076
  ]
1081
1077
  },
1082
1078
  {
1079
+ "direction": "horizontal",
1080
+ "justify": "between",
1081
+ "type": "stack",
1083
1082
  "children": [
1084
1083
  {
1085
1084
  "gap": "md",
1086
1085
  "direction": "horizontal",
1086
+ "type": "stack",
1087
1087
  "children": [
1088
1088
  {
1089
- "type": "icon",
1090
- "name": "clipboard"
1089
+ "name": "clipboard",
1090
+ "type": "icon"
1091
1091
  },
1092
1092
  {
1093
+ "variant": "h2",
1093
1094
  "type": "typography",
1094
- "content": "Lab Results",
1095
- "variant": "h2"
1095
+ "content": "Lab Results"
1096
1096
  }
1097
- ],
1098
- "type": "stack"
1097
+ ]
1099
1098
  },
1100
1099
  {
1101
- "variant": "secondary",
1102
1100
  "icon": "refresh-cw",
1103
- "label": "Refresh",
1104
1101
  "type": "button",
1102
+ "label": "Refresh",
1103
+ "variant": "secondary",
1105
1104
  "action": "REFRESH"
1106
1105
  }
1107
1106
  ],
1108
- "gap": "md",
1109
- "direction": "horizontal",
1110
- "justify": "between",
1111
- "type": "stack"
1107
+ "gap": "md"
1112
1108
  },
1113
1109
  {
1114
1110
  "type": "divider"
@@ -1118,46 +1114,46 @@
1118
1114
  "padding": "md",
1119
1115
  "children": [
1120
1116
  {
1117
+ "cols": 3.0,
1121
1118
  "children": [
1122
1119
  {
1123
- "label": "ExperimentCount",
1120
+ "type": "stat-display",
1124
1121
  "value": "@entity.experimentCount",
1125
- "type": "stat-display"
1122
+ "label": "ExperimentCount"
1126
1123
  },
1127
1124
  {
1128
- "label": "AvgAccuracy",
1129
1125
  "type": "stat-display",
1130
- "value": "@entity.avgAccuracy"
1126
+ "value": "@entity.avgAccuracy",
1127
+ "label": "AvgAccuracy"
1131
1128
  },
1132
1129
  {
1130
+ "type": "stat-display",
1133
1131
  "label": "TotalScore",
1134
- "value": "@entity.totalScore",
1135
- "type": "stat-display"
1132
+ "value": "@entity.totalScore"
1136
1133
  },
1137
1134
  {
1138
1135
  "type": "card",
1139
1136
  "children": [
1140
1137
  {
1141
1138
  "type": "stack",
1142
- "gap": "sm",
1143
- "direction": "vertical",
1144
1139
  "children": [
1145
1140
  {
1141
+ "type": "typography",
1146
1142
  "content": "Grade",
1147
- "variant": "caption",
1148
- "type": "typography"
1143
+ "variant": "caption"
1149
1144
  },
1150
1145
  {
1151
- "content": "@entity.grade",
1152
1146
  "type": "typography",
1147
+ "content": "@entity.grade",
1153
1148
  "variant": "h3"
1154
1149
  }
1155
- ]
1150
+ ],
1151
+ "gap": "sm",
1152
+ "direction": "vertical"
1156
1153
  }
1157
1154
  ]
1158
1155
  }
1159
1156
  ],
1160
- "cols": 3.0,
1161
1157
  "type": "simple-grid"
1162
1158
  }
1163
1159
  ]
@@ -1166,13 +1162,16 @@
1166
1162
  "type": "divider"
1167
1163
  },
1168
1164
  {
1165
+ "type": "grid",
1166
+ "cols": 2.0,
1167
+ "gap": "md",
1169
1168
  "children": [
1170
1169
  {
1171
1170
  "children": [
1172
1171
  {
1173
- "content": "Chart View",
1172
+ "type": "typography",
1174
1173
  "variant": "caption",
1175
- "type": "typography"
1174
+ "content": "Chart View"
1176
1175
  }
1177
1176
  ],
1178
1177
  "type": "card"
@@ -1181,16 +1180,13 @@
1181
1180
  "type": "card",
1182
1181
  "children": [
1183
1182
  {
1184
- "content": "Graph View",
1185
1183
  "type": "typography",
1186
- "variant": "caption"
1184
+ "variant": "caption",
1185
+ "content": "Graph View"
1187
1186
  }
1188
1187
  ]
1189
1188
  }
1190
- ],
1191
- "cols": 2.0,
1192
- "type": "grid",
1193
- "gap": "md"
1189
+ ]
1194
1190
  },
1195
1191
  {
1196
1192
  "type": "line-chart",
@@ -1200,8 +1196,8 @@
1200
1196
  "date": "Jan"
1201
1197
  },
1202
1198
  {
1203
- "date": "Feb",
1204
- "value": 19.0
1199
+ "value": 19.0,
1200
+ "date": "Feb"
1205
1201
  },
1206
1202
  {
1207
1203
  "value": 15.0,
@@ -1224,12 +1220,12 @@
1224
1220
  {
1225
1221
  "items": [
1226
1222
  {
1227
- "color": "primary",
1228
- "label": "Current"
1223
+ "label": "Current",
1224
+ "color": "primary"
1229
1225
  },
1230
1226
  {
1231
- "label": "Previous",
1232
- "color": "muted"
1227
+ "color": "muted",
1228
+ "label": "Previous"
1233
1229
  }
1234
1230
  ],
1235
1231
  "type": "chart-legend"
@@ -1245,30 +1241,34 @@
1245
1241
  "label": "Process"
1246
1242
  },
1247
1243
  {
1248
- "id": "c",
1249
- "label": "End"
1244
+ "label": "End",
1245
+ "id": "c"
1250
1246
  }
1251
1247
  ],
1252
- "type": "graph-view",
1253
1248
  "height": 200.0,
1254
- "width": 400.0,
1255
1249
  "edges": [
1256
1250
  {
1257
- "source": "a",
1258
- "target": "b"
1251
+ "target": "b",
1252
+ "source": "a"
1259
1253
  },
1260
1254
  {
1261
1255
  "source": "b",
1262
1256
  "target": "c"
1263
1257
  }
1264
- ]
1258
+ ],
1259
+ "type": "graph-view",
1260
+ "width": 400.0
1265
1261
  }
1266
1262
  ],
1263
+ "gap": "lg",
1264
+ "direction": "vertical",
1267
1265
  "type": "stack"
1268
1266
  }
1269
1267
  ]
1270
1268
  }
1271
1269
  ],
1270
+ "appName": "STEM Lab",
1271
+ "type": "game-shell",
1272
1272
  "showTopBar": true
1273
1273
  }
1274
1274
  ]
@@ -1284,8 +1284,8 @@
1284
1284
  "LabResult",
1285
1285
  {
1286
1286
  "emit": {
1287
- "failure": "LabResultLoadFailed",
1288
- "success": "LabResultLoaded"
1287
+ "success": "LabResultLoaded",
1288
+ "failure": "LabResultLoadFailed"
1289
1289
  }
1290
1290
  }
1291
1291
  ],
@@ -1293,19 +1293,15 @@
1293
1293
  "render-ui",
1294
1294
  "main",
1295
1295
  {
1296
+ "showTopBar": true,
1296
1297
  "appName": "STEM Lab",
1297
- "type": "game-shell",
1298
1298
  "children": [
1299
1299
  {
1300
- "type": "scaled-diagram",
1301
1300
  "children": [
1302
1301
  {
1303
- "type": "stack",
1304
1302
  "direction": "vertical",
1305
- "gap": "lg",
1306
1303
  "children": [
1307
1304
  {
1308
- "type": "breadcrumb",
1309
1305
  "items": [
1310
1306
  {
1311
1307
  "label": "Home",
@@ -1314,122 +1310,124 @@
1314
1310
  {
1315
1311
  "label": "Lab Results"
1316
1312
  }
1317
- ]
1313
+ ],
1314
+ "type": "breadcrumb"
1318
1315
  },
1319
1316
  {
1320
- "gap": "md",
1321
- "justify": "between",
1322
1317
  "children": [
1323
1318
  {
1324
- "type": "stack",
1325
1319
  "direction": "horizontal",
1326
- "gap": "md",
1320
+ "type": "stack",
1327
1321
  "children": [
1328
1322
  {
1329
1323
  "name": "clipboard",
1330
1324
  "type": "icon"
1331
1325
  },
1332
1326
  {
1327
+ "variant": "h2",
1333
1328
  "type": "typography",
1334
- "content": "Lab Results",
1335
- "variant": "h2"
1329
+ "content": "Lab Results"
1336
1330
  }
1337
- ]
1331
+ ],
1332
+ "gap": "md"
1338
1333
  },
1339
1334
  {
1335
+ "variant": "secondary",
1336
+ "label": "Refresh",
1340
1337
  "icon": "refresh-cw",
1341
1338
  "type": "button",
1342
- "action": "REFRESH",
1343
- "label": "Refresh",
1344
- "variant": "secondary"
1339
+ "action": "REFRESH"
1345
1340
  }
1346
1341
  ],
1347
- "direction": "horizontal",
1348
- "type": "stack"
1342
+ "justify": "between",
1343
+ "gap": "md",
1344
+ "type": "stack",
1345
+ "direction": "horizontal"
1349
1346
  },
1350
1347
  {
1351
1348
  "type": "divider"
1352
1349
  },
1353
1350
  {
1354
1351
  "type": "box",
1355
- "padding": "md",
1356
1352
  "children": [
1357
1353
  {
1354
+ "type": "simple-grid",
1358
1355
  "children": [
1359
1356
  {
1360
- "type": "stat-display",
1361
1357
  "label": "ExperimentCount",
1362
- "value": "@entity.experimentCount"
1358
+ "value": "@entity.experimentCount",
1359
+ "type": "stat-display"
1363
1360
  },
1364
1361
  {
1365
- "label": "AvgAccuracy",
1362
+ "value": "@entity.avgAccuracy",
1366
1363
  "type": "stat-display",
1367
- "value": "@entity.avgAccuracy"
1364
+ "label": "AvgAccuracy"
1368
1365
  },
1369
1366
  {
1370
- "label": "TotalScore",
1371
1367
  "type": "stat-display",
1368
+ "label": "TotalScore",
1372
1369
  "value": "@entity.totalScore"
1373
1370
  },
1374
1371
  {
1375
- "type": "card",
1376
1372
  "children": [
1377
1373
  {
1374
+ "gap": "sm",
1378
1375
  "children": [
1379
1376
  {
1377
+ "content": "Grade",
1380
1378
  "type": "typography",
1381
- "variant": "caption",
1382
- "content": "Grade"
1379
+ "variant": "caption"
1383
1380
  },
1384
1381
  {
1382
+ "content": "@entity.grade",
1385
1383
  "type": "typography",
1386
- "variant": "h3",
1387
- "content": "@entity.grade"
1384
+ "variant": "h3"
1388
1385
  }
1389
1386
  ],
1390
- "type": "stack",
1391
1387
  "direction": "vertical",
1392
- "gap": "sm"
1388
+ "type": "stack"
1393
1389
  }
1394
- ]
1390
+ ],
1391
+ "type": "card"
1395
1392
  }
1396
1393
  ],
1397
- "type": "simple-grid",
1398
1394
  "cols": 3.0
1399
1395
  }
1400
- ]
1396
+ ],
1397
+ "padding": "md"
1401
1398
  },
1402
1399
  {
1403
1400
  "type": "divider"
1404
1401
  },
1405
1402
  {
1406
- "cols": 2.0,
1403
+ "type": "grid",
1407
1404
  "children": [
1408
1405
  {
1406
+ "type": "card",
1409
1407
  "children": [
1410
1408
  {
1411
1409
  "type": "typography",
1412
1410
  "variant": "caption",
1413
1411
  "content": "Chart View"
1414
1412
  }
1415
- ],
1416
- "type": "card"
1413
+ ]
1417
1414
  },
1418
1415
  {
1416
+ "type": "card",
1419
1417
  "children": [
1420
1418
  {
1421
- "variant": "caption",
1422
1419
  "content": "Graph View",
1420
+ "variant": "caption",
1423
1421
  "type": "typography"
1424
1422
  }
1425
- ],
1426
- "type": "card"
1423
+ ]
1427
1424
  }
1428
1425
  ],
1429
- "type": "grid",
1430
- "gap": "md"
1426
+ "gap": "md",
1427
+ "cols": 2.0
1431
1428
  },
1432
1429
  {
1430
+ "type": "line-chart",
1433
1431
  "data": [
1434
1432
  {
1435
1433
  "date": "Jan",
@@ -1440,51 +1438,38 @@
1440
1438
  "value": 19.0
1441
1439
  },
1442
1440
  {
1443
- "date": "Mar",
1444
- "value": 15.0
1441
+ "value": 15.0,
1442
+ "date": "Mar"
1445
1443
  },
1446
1444
  {
1447
- "value": 25.0,
1448
- "date": "Apr"
1445
+ "date": "Apr",
1446
+ "value": 25.0
1449
1447
  },
1450
1448
  {
1451
- "value": 22.0,
1452
- "date": "May"
1449
+ "date": "May",
1450
+ "value": 22.0
1453
1451
  },
1454
1452
  {
1455
- "date": "Jun",
1456
- "value": 30.0
1453
+ "value": 30.0,
1454
+ "date": "Jun"
1457
1455
  }
1458
- ],
1459
- "type": "line-chart"
1456
+ ]
1460
1457
  },
1461
1458
  {
1462
1459
  "type": "chart-legend",
1463
1460
  "items": [
1464
1461
  {
1465
- "label": "Current",
1466
- "color": "primary"
1462
+ "color": "primary",
1463
+ "label": "Current"
1467
1464
  },
1468
1465
  {
1469
- "label": "Previous",
1470
- "color": "muted"
1466
+ "color": "muted",
1467
+ "label": "Previous"
1471
1468
  }
1472
1469
  ]
1473
1470
  },
1474
1471
  {
1475
- "height": 200.0,
1476
- "edges": [
1477
- {
1478
- "target": "b",
1479
- "source": "a"
1480
- },
1481
- {
1482
- "source": "b",
1483
- "target": "c"
1484
- }
1485
- ],
1486
1472
  "width": 400.0,
1487
- "type": "graph-view",
1488
1473
  "nodes": [
1489
1474
  {
1490
1475
  "id": "a",
@@ -1498,14 +1483,29 @@
1498
1483
  "label": "End",
1499
1484
  "id": "c"
1500
1485
  }
1501
- ]
1486
+ ],
1487
+ "edges": [
1488
+ {
1489
+ "source": "a",
1490
+ "target": "b"
1491
+ },
1492
+ {
1493
+ "source": "b",
1494
+ "target": "c"
1495
+ }
1496
+ ],
1497
+ "type": "graph-view",
1498
+ "height": 200.0
1502
1499
  }
1503
- ]
1500
+ ],
1501
+ "type": "stack",
1502
+ "gap": "lg"
1504
1503
  }
1505
- ]
1504
+ ],
1505
+ "type": "scaled-diagram"
1506
1506
  }
1507
1507
  ],
1508
- "showTopBar": true
1508
+ "type": "game-shell"
1509
1509
  }
1510
1510
  ]
1511
1511
  ]
@@ -1520,8 +1520,8 @@
1520
1520
  "LabResult",
1521
1521
  {
1522
1522
  "emit": {
1523
- "success": "LabResultLoaded",
1524
- "failure": "LabResultLoadFailed"
1523
+ "failure": "LabResultLoadFailed",
1524
+ "success": "LabResultLoaded"
1525
1525
  }
1526
1526
  }
1527
1527
  ],
@@ -1530,37 +1530,35 @@
1530
1530
  "main",
1531
1531
  {
1532
1532
  "appName": "STEM Lab",
1533
- "showTopBar": true,
1534
1533
  "children": [
1535
1534
  {
1536
- "type": "scaled-diagram",
1537
1535
  "children": [
1538
1536
  {
1539
1537
  "gap": "lg",
1540
1538
  "type": "stack",
1539
+ "direction": "vertical",
1541
1540
  "children": [
1542
1541
  {
1542
+ "type": "breadcrumb",
1543
1543
  "items": [
1544
1544
  {
1545
- "label": "Home",
1546
- "href": "/"
1545
+ "href": "/",
1546
+ "label": "Home"
1547
1547
  },
1548
1548
  {
1549
1549
  "label": "Lab Results"
1550
1550
  }
1551
- ],
1552
- "type": "breadcrumb"
1551
+ ]
1553
1552
  },
1554
1553
  {
1555
1554
  "justify": "between",
1556
- "gap": "md",
1557
- "direction": "horizontal",
1558
1555
  "type": "stack",
1556
+ "direction": "horizontal",
1559
1557
  "children": [
1560
1558
  {
1559
+ "type": "stack",
1561
1560
  "direction": "horizontal",
1562
1561
  "gap": "md",
1563
- "type": "stack",
1564
1562
  "children": [
1565
1563
  {
1566
1564
  "name": "clipboard",
@@ -1568,101 +1566,102 @@
1568
1566
  },
1569
1567
  {
1570
1568
  "content": "Lab Results",
1571
- "variant": "h2",
1572
- "type": "typography"
1569
+ "type": "typography",
1570
+ "variant": "h2"
1573
1571
  }
1574
1572
  ]
1575
1573
  },
1576
1574
  {
1577
1575
  "action": "REFRESH",
1578
- "label": "Refresh",
1576
+ "icon": "refresh-cw",
1579
1577
  "type": "button",
1580
1578
  "variant": "secondary",
1581
- "icon": "refresh-cw"
1579
+ "label": "Refresh"
1582
1580
  }
1583
- ]
1581
+ ],
1582
+ "gap": "md"
1584
1583
  },
1585
1584
  {
1586
1585
  "type": "divider"
1587
1586
  },
1588
1587
  {
1588
+ "padding": "md",
1589
1589
  "type": "box",
1590
1590
  "children": [
1591
1591
  {
1592
- "type": "simple-grid",
1593
- "cols": 3.0,
1594
1592
  "children": [
1595
1593
  {
1596
1594
  "type": "stat-display",
1597
- "value": "@entity.experimentCount",
1598
- "label": "ExperimentCount"
1595
+ "label": "ExperimentCount",
1596
+ "value": "@entity.experimentCount"
1599
1597
  },
1600
1598
  {
1601
- "value": "@entity.avgAccuracy",
1602
1599
  "label": "AvgAccuracy",
1600
+ "value": "@entity.avgAccuracy",
1603
1601
  "type": "stat-display"
1604
1602
  },
1605
1603
  {
1604
+ "type": "stat-display",
1606
1605
  "label": "TotalScore",
1607
- "value": "@entity.totalScore",
1608
- "type": "stat-display"
1606
+ "value": "@entity.totalScore"
1609
1607
  },
1610
1608
  {
1609
+ "type": "card",
1611
1610
  "children": [
1612
1611
  {
1612
+ "type": "stack",
1613
1613
  "direction": "vertical",
1614
+ "gap": "sm",
1614
1615
  "children": [
1615
1616
  {
1617
+ "content": "Grade",
1616
1618
  "type": "typography",
1617
- "variant": "caption",
1618
- "content": "Grade"
1619
+ "variant": "caption"
1619
1620
  },
1620
1621
  {
1622
+ "content": "@entity.grade",
1621
1623
  "variant": "h3",
1622
- "type": "typography",
1623
- "content": "@entity.grade"
1624
+ "type": "typography"
1624
1625
  }
1625
- ],
1626
- "gap": "sm",
1627
- "type": "stack"
1626
+ ]
1628
1627
  }
1629
- ],
1630
- "type": "card"
1628
+ ]
1631
1629
  }
1632
- ]
1630
+ ],
1631
+ "type": "simple-grid",
1632
+ "cols": 3.0
1633
1633
  }
1634
- ],
1635
- "padding": "md"
1634
+ ]
1636
1635
  },
1637
1636
  {
1638
1637
  "type": "divider"
1639
1638
  },
1640
1639
  {
1641
- "gap": "md",
1642
1640
  "cols": 2.0,
1643
1641
  "type": "grid",
1644
1642
  "children": [
1645
1643
  {
1646
- "type": "card",
1647
1644
  "children": [
1648
1645
  {
1646
+ "variant": "caption",
1649
1647
  "type": "typography",
1650
- "content": "Chart View",
1651
- "variant": "caption"
1648
+ "content": "Chart View"
1652
1649
  }
1653
- ]
1650
+ ],
1651
+ "type": "card"
1654
1652
  },
1655
1653
  {
1654
+ "type": "card",
1656
1655
  "children": [
1657
1656
  {
1658
- "variant": "caption",
1659
1657
  "type": "typography",
1658
+ "variant": "caption",
1660
1659
  "content": "Graph View"
1661
1660
  }
1662
- ],
1663
- "type": "card"
1661
+ ]
1664
1662
  }
1665
- ]
1663
+ ],
1664
+ "gap": "md"
1666
1665
  },
1667
1666
  {
1668
1667
  "type": "line-chart",
@@ -1672,8 +1671,8 @@
1672
1671
  "value": 12.0
1673
1672
  },
1674
1673
  {
1675
- "date": "Feb",
1676
- "value": 19.0
1674
+ "value": 19.0,
1675
+ "date": "Feb"
1677
1676
  },
1678
1677
  {
1679
1678
  "value": 15.0,
@@ -1684,12 +1683,12 @@
1684
1683
  "date": "Apr"
1685
1684
  },
1686
1685
  {
1687
- "value": 22.0,
1688
- "date": "May"
1686
+ "date": "May",
1687
+ "value": 22.0
1689
1688
  },
1690
1689
  {
1691
- "value": 30.0,
1692
- "date": "Jun"
1690
+ "date": "Jun",
1691
+ "value": 30.0
1693
1692
  }
1694
1693
  ]
1695
1694
  },
@@ -1697,32 +1696,32 @@
1697
1696
  "type": "chart-legend",
1698
1697
  "items": [
1699
1698
  {
1700
- "color": "primary",
1701
- "label": "Current"
1699
+ "label": "Current",
1700
+ "color": "primary"
1702
1701
  },
1703
1702
  {
1704
- "label": "Previous",
1705
- "color": "muted"
1703
+ "color": "muted",
1704
+ "label": "Previous"
1706
1705
  }
1707
1706
  ]
1708
1707
  },
1709
1708
  {
1709
+ "height": 200.0,
1710
+ "width": 400.0,
1710
1711
  "nodes": [
1711
1712
  {
1712
- "label": "Start",
1713
- "id": "a"
1713
+ "id": "a",
1714
+ "label": "Start"
1714
1715
  },
1715
1716
  {
1716
- "id": "b",
1717
- "label": "Process"
1717
+ "label": "Process",
1718
+ "id": "b"
1718
1719
  },
1719
1720
  {
1720
- "label": "End",
1721
- "id": "c"
1721
+ "id": "c",
1722
+ "label": "End"
1722
1723
  }
1723
1724
  ],
1724
- "type": "graph-view",
1725
- "width": 400.0,
1726
1725
  "edges": [
1727
1726
  {
1728
1727
  "target": "b",
@@ -1733,15 +1732,16 @@
1733
1732
  "source": "b"
1734
1733
  }
1735
1734
  ],
1736
- "height": 200.0
1735
+ "type": "graph-view"
1737
1736
  }
1738
- ],
1739
- "direction": "vertical"
1737
+ ]
1740
1738
  }
1741
- ]
1739
+ ],
1740
+ "type": "scaled-diagram"
1742
1741
  }
1743
1742
  ],
1744
- "type": "game-shell"
1743
+ "type": "game-shell",
1744
+ "showTopBar": true
1745
1745
  }
1746
1746
  ]
1747
1747
  ]
@@ -1765,57 +1765,56 @@
1765
1765
  "render-ui",
1766
1766
  "main",
1767
1767
  {
1768
- "appName": "STEM Lab",
1769
1768
  "type": "game-shell",
1770
- "showTopBar": true,
1769
+ "appName": "STEM Lab",
1771
1770
  "children": [
1772
1771
  {
1773
- "type": "scaled-diagram",
1774
1772
  "children": [
1775
1773
  {
1774
+ "type": "stack",
1776
1775
  "children": [
1777
1776
  {
1778
- "type": "breadcrumb",
1779
1777
  "items": [
1780
1778
  {
1781
- "label": "Home",
1782
- "href": "/"
1779
+ "href": "/",
1780
+ "label": "Home"
1783
1781
  },
1784
1782
  {
1785
1783
  "label": "Lab Results"
1786
1784
  }
1787
- ]
1785
+ ],
1786
+ "type": "breadcrumb"
1788
1787
  },
1789
1788
  {
1790
- "type": "stack",
1791
- "justify": "between",
1792
- "gap": "md",
1789
+ "direction": "horizontal",
1793
1790
  "children": [
1794
1791
  {
1792
+ "direction": "horizontal",
1793
+ "gap": "md",
1794
+ "type": "stack",
1795
1795
  "children": [
1796
1796
  {
1797
- "type": "icon",
1798
- "name": "clipboard"
1797
+ "name": "clipboard",
1798
+ "type": "icon"
1799
1799
  },
1800
1800
  {
1801
+ "variant": "h2",
1801
1802
  "type": "typography",
1802
- "content": "Lab Results",
1803
- "variant": "h2"
1803
+ "content": "Lab Results"
1804
1804
  }
1805
- ],
1806
- "gap": "md",
1807
- "type": "stack",
1808
- "direction": "horizontal"
1805
+ ]
1809
1806
  },
1810
1807
  {
1811
- "action": "REFRESH",
1812
1808
  "label": "Refresh",
1813
- "variant": "secondary",
1814
1809
  "type": "button",
1815
- "icon": "refresh-cw"
1810
+ "variant": "secondary",
1811
+ "icon": "refresh-cw",
1812
+ "action": "REFRESH"
1816
1813
  }
1817
1814
  ],
1818
- "direction": "horizontal"
1815
+ "justify": "between",
1816
+ "type": "stack",
1817
+ "gap": "md"
1819
1818
  },
1820
1819
  {
1821
1820
  "type": "divider"
@@ -1825,12 +1824,12 @@
1825
1824
  "padding": "md",
1826
1825
  "children": [
1827
1826
  {
1828
- "cols": 3.0,
1827
+ "type": "simple-grid",
1829
1828
  "children": [
1830
1829
  {
1831
1830
  "label": "ExperimentCount",
1832
- "value": "@entity.experimentCount",
1833
- "type": "stat-display"
1831
+ "type": "stat-display",
1832
+ "value": "@entity.experimentCount"
1834
1833
  },
1835
1834
  {
1836
1835
  "type": "stat-display",
@@ -1838,26 +1837,26 @@
1838
1837
  "value": "@entity.avgAccuracy"
1839
1838
  },
1840
1839
  {
1841
- "label": "TotalScore",
1842
1840
  "type": "stat-display",
1841
+ "label": "TotalScore",
1843
1842
  "value": "@entity.totalScore"
1844
1843
  },
1845
1844
  {
1846
1845
  "children": [
1847
1846
  {
1847
+ "type": "stack",
1848
1848
  "gap": "sm",
1849
1849
  "direction": "vertical",
1850
- "type": "stack",
1851
1850
  "children": [
1852
1851
  {
1852
+ "content": "Grade",
1853
1853
  "variant": "caption",
1854
- "type": "typography",
1855
- "content": "Grade"
1854
+ "type": "typography"
1856
1855
  },
1857
1856
  {
1858
- "type": "typography",
1859
1857
  "variant": "h3",
1860
- "content": "@entity.grade"
1858
+ "content": "@entity.grade",
1859
+ "type": "typography"
1861
1860
  }
1862
1861
  ]
1863
1862
  }
@@ -1865,7 +1864,7 @@
1865
1864
  "type": "card"
1866
1865
  }
1867
1866
  ],
1868
- "type": "simple-grid"
1867
+ "cols": 3.0
1869
1868
  }
1870
1869
  ]
1871
1870
  },
@@ -1874,57 +1873,57 @@
1874
1873
  },
1875
1874
  {
1876
1875
  "cols": 2.0,
1877
- "type": "grid",
1878
1876
  "gap": "md",
1879
1877
  "children": [
1880
1878
  {
1881
1879
  "type": "card",
1882
1880
  "children": [
1883
1881
  {
1884
- "variant": "caption",
1882
+ "type": "typography",
1885
1883
  "content": "Chart View",
1886
- "type": "typography"
1884
+ "variant": "caption"
1887
1885
  }
1888
1886
  ]
1889
1887
  },
1890
1888
  {
1891
- "type": "card",
1892
1889
  "children": [
1893
1890
  {
1894
- "type": "typography",
1895
1891
  "variant": "caption",
1892
+ "type": "typography",
1896
1893
  "content": "Graph View"
1897
1894
  }
1898
- ]
1895
+ ],
1896
+ "type": "card"
1899
1897
  }
1900
- ]
1898
+ ],
1899
+ "type": "grid"
1901
1900
  },
1902
1901
  {
1903
1902
  "type": "line-chart",
1904
1903
  "data": [
1905
1904
  {
1906
- "value": 12.0,
1907
- "date": "Jan"
1905
+ "date": "Jan",
1906
+ "value": 12.0
1908
1907
  },
1909
1908
  {
1910
- "value": 19.0,
1911
- "date": "Feb"
1909
+ "date": "Feb",
1910
+ "value": 19.0
1912
1911
  },
1913
1912
  {
1914
- "value": 15.0,
1915
- "date": "Mar"
1913
+ "date": "Mar",
1914
+ "value": 15.0
1916
1915
  },
1917
1916
  {
1918
- "date": "Apr",
1919
- "value": 25.0
1917
+ "value": 25.0,
1918
+ "date": "Apr"
1920
1919
  },
1921
1920
  {
1922
1921
  "date": "May",
1923
1922
  "value": 22.0
1924
1923
  },
1925
1924
  {
1926
- "date": "Jun",
1927
- "value": 30.0
1925
+ "value": 30.0,
1926
+ "date": "Jun"
1928
1927
  }
1929
1928
  ]
1930
1929
  },
@@ -1936,25 +1935,25 @@
1936
1935
  "label": "Current"
1937
1936
  },
1938
1937
  {
1939
- "label": "Previous",
1940
- "color": "muted"
1938
+ "color": "muted",
1939
+ "label": "Previous"
1941
1940
  }
1942
1941
  ]
1943
1942
  },
1944
1943
  {
1944
+ "type": "graph-view",
1945
1945
  "edges": [
1946
1946
  {
1947
1947
  "source": "a",
1948
1948
  "target": "b"
1949
1949
  },
1950
1950
  {
1951
- "target": "c",
1952
- "source": "b"
1951
+ "source": "b",
1952
+ "target": "c"
1953
1953
  }
1954
1954
  ],
1955
1955
  "width": 400.0,
1956
1956
  "height": 200.0,
1957
- "type": "graph-view",
1958
1957
  "nodes": [
1959
1958
  {
1960
1959
  "label": "Start",
@@ -1965,19 +1964,20 @@
1965
1964
  "label": "Process"
1966
1965
  },
1967
1966
  {
1968
- "id": "c",
1969
- "label": "End"
1967
+ "label": "End",
1968
+ "id": "c"
1970
1969
  }
1971
1970
  ]
1972
1971
  }
1973
1972
  ],
1974
- "type": "stack",
1975
1973
  "gap": "lg",
1976
1974
  "direction": "vertical"
1977
1975
  }
1978
- ]
1976
+ ],
1977
+ "type": "scaled-diagram"
1979
1978
  }
1980
- ]
1979
+ ],
1980
+ "showTopBar": true
1981
1981
  }
1982
1982
  ]
1983
1983
  ]
@@ -2000,4 +2000,4 @@
2000
2000
  ]
2001
2001
  }
2002
2002
  ]
2003
- }
2003
+ }