@almadar/std 3.1.0 → 3.1.1

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 (176) hide show
  1. package/dist/behaviors/exports/atoms/std-async.orb +420 -0
  2. package/dist/behaviors/exports/atoms/std-browse.orb +173 -0
  3. package/dist/behaviors/exports/atoms/std-cache-aside.orb +881 -0
  4. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +501 -0
  5. package/dist/behaviors/exports/atoms/std-collision.orb +616 -0
  6. package/dist/behaviors/exports/atoms/std-combat-log.orb +145 -0
  7. package/dist/behaviors/exports/atoms/std-combat.orb +410 -0
  8. package/dist/behaviors/exports/atoms/std-confirmation.orb +282 -0
  9. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +238 -0
  10. package/dist/behaviors/exports/atoms/std-display.orb +842 -0
  11. package/dist/behaviors/exports/atoms/std-drawer.orb +316 -0
  12. package/dist/behaviors/exports/atoms/std-filter.orb +442 -0
  13. package/dist/behaviors/exports/atoms/std-game-audio.orb +113 -0
  14. package/dist/behaviors/exports/atoms/std-game-canvas-2d.orb +135 -0
  15. package/dist/behaviors/exports/atoms/std-game-canvas-3d.orb +224 -0
  16. package/dist/behaviors/exports/atoms/std-game-hud.orb +151 -0
  17. package/dist/behaviors/exports/atoms/std-game-menu.orb +211 -0
  18. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +195 -0
  19. package/dist/behaviors/exports/atoms/std-gameflow.orb +318 -0
  20. package/dist/behaviors/exports/atoms/std-input.orb +629 -0
  21. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +255 -0
  22. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +631 -0
  23. package/dist/behaviors/exports/atoms/std-loading.orb +511 -0
  24. package/dist/behaviors/exports/atoms/std-modal.orb +270 -0
  25. package/dist/behaviors/exports/atoms/std-movement.orb +1037 -0
  26. package/dist/behaviors/exports/atoms/std-notification.orb +418 -0
  27. package/dist/behaviors/exports/atoms/std-overworld.orb +483 -0
  28. package/dist/behaviors/exports/atoms/std-pagination.orb +331 -0
  29. package/dist/behaviors/exports/atoms/std-physics2d.orb +419 -0
  30. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +257 -0
  31. package/dist/behaviors/exports/atoms/std-quest.orb +980 -0
  32. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +638 -0
  33. package/dist/behaviors/exports/atoms/std-score-board.orb +238 -0
  34. package/dist/behaviors/exports/atoms/std-score.orb +466 -0
  35. package/dist/behaviors/exports/atoms/std-search.orb +373 -0
  36. package/dist/behaviors/exports/atoms/std-selection.orb +759 -0
  37. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +183 -0
  38. package/dist/behaviors/exports/atoms/std-sort.orb +578 -0
  39. package/dist/behaviors/exports/atoms/std-sprite.orb +156 -0
  40. package/dist/behaviors/exports/atoms/std-tabs.orb +274 -0
  41. package/dist/behaviors/exports/atoms/std-timer.orb +1030 -0
  42. package/dist/behaviors/exports/atoms/std-undo.orb +694 -0
  43. package/dist/behaviors/exports/atoms/std-wizard.orb +666 -0
  44. package/dist/behaviors/exports/molecules/std-builder-game.orb +183 -0
  45. package/dist/behaviors/exports/molecules/std-cart.orb +591 -0
  46. package/dist/behaviors/exports/molecules/std-classifier-game.orb +183 -0
  47. package/dist/behaviors/exports/molecules/std-debugger-game.orb +183 -0
  48. package/dist/behaviors/exports/molecules/std-detail.orb +589 -0
  49. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +183 -0
  50. package/dist/behaviors/exports/molecules/std-geospatial.orb +649 -0
  51. package/dist/behaviors/exports/molecules/std-inventory.orb +853 -0
  52. package/dist/behaviors/exports/molecules/std-list.orb +954 -0
  53. package/dist/behaviors/exports/molecules/std-messaging.orb +585 -0
  54. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +183 -0
  55. package/dist/behaviors/exports/molecules/std-platformer-game.orb +496 -0
  56. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +527 -0
  57. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +183 -0
  58. package/dist/behaviors/exports/molecules/std-simulator-game.orb +183 -0
  59. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +443 -0
  60. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2296 -0
  61. package/dist/behaviors/exports/organisms/std-arcade-game.orb +833 -0
  62. package/dist/behaviors/exports/organisms/std-booking-system.orb +3977 -0
  63. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2214 -0
  64. package/dist/behaviors/exports/organisms/std-cms.orb +2644 -0
  65. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1394 -0
  66. package/dist/behaviors/exports/organisms/std-crm.orb +3541 -0
  67. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3134 -0
  68. package/dist/behaviors/exports/organisms/std-ecommerce.orb +3743 -0
  69. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +2385 -0
  70. package/dist/behaviors/exports/organisms/std-healthcare.orb +4679 -0
  71. package/dist/behaviors/exports/organisms/std-helpdesk.orb +2564 -0
  72. package/dist/behaviors/exports/organisms/std-hr-portal.orb +4029 -0
  73. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2297 -0
  74. package/dist/behaviors/exports/organisms/std-lms.orb +2854 -0
  75. package/dist/behaviors/exports/organisms/std-logic-training.orb +598 -0
  76. package/dist/behaviors/exports/organisms/std-platformer-app.orb +1569 -0
  77. package/dist/behaviors/exports/organisms/std-project-manager.orb +3021 -0
  78. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +743 -0
  79. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +2380 -0
  80. package/dist/behaviors/exports/organisms/std-rpg-game.orb +2804 -0
  81. package/dist/behaviors/exports/organisms/std-social-feed.orb +1221 -0
  82. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1210 -0
  83. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1761 -0
  84. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +2217 -0
  85. package/dist/behaviors/exports-reader.d.ts +2 -0
  86. package/dist/behaviors/exports-reader.js +5 -3
  87. package/dist/behaviors/exports-reader.js.map +1 -1
  88. package/dist/behaviors/index.js +5 -3
  89. package/dist/behaviors/index.js.map +1 -1
  90. package/dist/exports/atoms/std-async.orb +420 -0
  91. package/dist/exports/atoms/std-browse.orb +173 -0
  92. package/dist/exports/atoms/std-cache-aside.orb +881 -0
  93. package/dist/exports/atoms/std-circuit-breaker.orb +501 -0
  94. package/dist/exports/atoms/std-collision.orb +616 -0
  95. package/dist/exports/atoms/std-combat-log.orb +145 -0
  96. package/dist/exports/atoms/std-combat.orb +410 -0
  97. package/dist/exports/atoms/std-confirmation.orb +282 -0
  98. package/dist/exports/atoms/std-dialogue-box.orb +238 -0
  99. package/dist/exports/atoms/std-display.orb +842 -0
  100. package/dist/exports/atoms/std-drawer.orb +316 -0
  101. package/dist/exports/atoms/std-filter.orb +442 -0
  102. package/dist/exports/atoms/std-game-audio.orb +113 -0
  103. package/dist/exports/atoms/std-game-canvas-2d.orb +135 -0
  104. package/dist/exports/atoms/std-game-canvas-3d.orb +224 -0
  105. package/dist/exports/atoms/std-game-hud.orb +151 -0
  106. package/dist/exports/atoms/std-game-menu.orb +211 -0
  107. package/dist/exports/atoms/std-game-over-screen.orb +195 -0
  108. package/dist/exports/atoms/std-gameflow.orb +318 -0
  109. package/dist/exports/atoms/std-input.orb +629 -0
  110. package/dist/exports/atoms/std-inventory-panel.orb +255 -0
  111. package/dist/exports/atoms/std-isometric-canvas.orb +631 -0
  112. package/dist/exports/atoms/std-loading.orb +511 -0
  113. package/dist/exports/atoms/std-modal.orb +270 -0
  114. package/dist/exports/atoms/std-movement.orb +1037 -0
  115. package/dist/exports/atoms/std-notification.orb +418 -0
  116. package/dist/exports/atoms/std-overworld.orb +483 -0
  117. package/dist/exports/atoms/std-pagination.orb +331 -0
  118. package/dist/exports/atoms/std-physics2d.orb +419 -0
  119. package/dist/exports/atoms/std-platformer-canvas.orb +257 -0
  120. package/dist/exports/atoms/std-quest.orb +980 -0
  121. package/dist/exports/atoms/std-rate-limiter.orb +638 -0
  122. package/dist/exports/atoms/std-score-board.orb +238 -0
  123. package/dist/exports/atoms/std-score.orb +466 -0
  124. package/dist/exports/atoms/std-search.orb +373 -0
  125. package/dist/exports/atoms/std-selection.orb +759 -0
  126. package/dist/exports/atoms/std-simulation-canvas.orb +183 -0
  127. package/dist/exports/atoms/std-sort.orb +578 -0
  128. package/dist/exports/atoms/std-sprite.orb +156 -0
  129. package/dist/exports/atoms/std-tabs.orb +274 -0
  130. package/dist/exports/atoms/std-timer.orb +1030 -0
  131. package/dist/exports/atoms/std-undo.orb +694 -0
  132. package/dist/exports/atoms/std-wizard.orb +666 -0
  133. package/dist/exports/molecules/std-builder-game.orb +183 -0
  134. package/dist/exports/molecules/std-cart.orb +591 -0
  135. package/dist/exports/molecules/std-classifier-game.orb +183 -0
  136. package/dist/exports/molecules/std-debugger-game.orb +183 -0
  137. package/dist/exports/molecules/std-detail.orb +589 -0
  138. package/dist/exports/molecules/std-event-handler-game.orb +183 -0
  139. package/dist/exports/molecules/std-geospatial.orb +649 -0
  140. package/dist/exports/molecules/std-inventory.orb +853 -0
  141. package/dist/exports/molecules/std-list.orb +954 -0
  142. package/dist/exports/molecules/std-messaging.orb +585 -0
  143. package/dist/exports/molecules/std-negotiator-game.orb +183 -0
  144. package/dist/exports/molecules/std-platformer-game.orb +496 -0
  145. package/dist/exports/molecules/std-puzzle-game.orb +527 -0
  146. package/dist/exports/molecules/std-sequencer-game.orb +183 -0
  147. package/dist/exports/molecules/std-simulator-game.orb +183 -0
  148. package/dist/exports/molecules/std-turn-based-battle.orb +443 -0
  149. package/dist/exports/organisms/std-api-gateway.orb +2296 -0
  150. package/dist/exports/organisms/std-arcade-game.orb +833 -0
  151. package/dist/exports/organisms/std-booking-system.orb +3977 -0
  152. package/dist/exports/organisms/std-cicd-pipeline.orb +2214 -0
  153. package/dist/exports/organisms/std-cms.orb +2644 -0
  154. package/dist/exports/organisms/std-coding-academy.orb +1394 -0
  155. package/dist/exports/organisms/std-crm.orb +3541 -0
  156. package/dist/exports/organisms/std-devops-dashboard.orb +3134 -0
  157. package/dist/exports/organisms/std-ecommerce.orb +3743 -0
  158. package/dist/exports/organisms/std-finance-tracker.orb +2385 -0
  159. package/dist/exports/organisms/std-healthcare.orb +4679 -0
  160. package/dist/exports/organisms/std-helpdesk.orb +2564 -0
  161. package/dist/exports/organisms/std-hr-portal.orb +4029 -0
  162. package/dist/exports/organisms/std-iot-dashboard.orb +2297 -0
  163. package/dist/exports/organisms/std-lms.orb +2854 -0
  164. package/dist/exports/organisms/std-logic-training.orb +598 -0
  165. package/dist/exports/organisms/std-platformer-app.orb +1569 -0
  166. package/dist/exports/organisms/std-project-manager.orb +3021 -0
  167. package/dist/exports/organisms/std-puzzle-app.orb +743 -0
  168. package/dist/exports/organisms/std-realtime-chat.orb +2380 -0
  169. package/dist/exports/organisms/std-rpg-game.orb +2804 -0
  170. package/dist/exports/organisms/std-social-feed.orb +1221 -0
  171. package/dist/exports/organisms/std-stem-lab.orb +1210 -0
  172. package/dist/exports/organisms/std-strategy-game.orb +1761 -0
  173. package/dist/exports/organisms/std-trading-dashboard.orb +2217 -0
  174. package/dist/index.js +5 -3
  175. package/dist/index.js.map +1 -1
  176. package/package.json +1 -1
@@ -0,0 +1,1210 @@
1
+ {
2
+ "name": "STEM Lab",
3
+ "version": "1.0.0",
4
+ "orbitals": [
5
+ {
6
+ "name": "ExperimentOrbital",
7
+ "entity": {
8
+ "name": "Experiment",
9
+ "persistence": "runtime",
10
+ "fields": [
11
+ {
12
+ "name": "id",
13
+ "type": "string",
14
+ "required": true
15
+ },
16
+ {
17
+ "name": "title",
18
+ "type": "string",
19
+ "required": true
20
+ },
21
+ {
22
+ "name": "hypothesis",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "name": "score",
27
+ "type": "number",
28
+ "default": 0
29
+ },
30
+ {
31
+ "name": "completed",
32
+ "type": "boolean",
33
+ "default": false
34
+ }
35
+ ]
36
+ },
37
+ "traits": [
38
+ {
39
+ "name": "ExperimentSimulatorGame",
40
+ "linkedEntity": "Experiment",
41
+ "category": "interaction",
42
+ "stateMachine": {
43
+ "states": [
44
+ {
45
+ "name": "menu",
46
+ "isInitial": true
47
+ },
48
+ {
49
+ "name": "playing"
50
+ },
51
+ {
52
+ "name": "complete"
53
+ }
54
+ ],
55
+ "events": [
56
+ {
57
+ "key": "INIT",
58
+ "name": "Initialize"
59
+ },
60
+ {
61
+ "key": "START",
62
+ "name": "Start"
63
+ },
64
+ {
65
+ "key": "COMPLETE",
66
+ "name": "Complete"
67
+ },
68
+ {
69
+ "key": "RESTART",
70
+ "name": "Restart"
71
+ },
72
+ {
73
+ "key": "NAVIGATE",
74
+ "name": "Navigate"
75
+ }
76
+ ],
77
+ "transitions": [
78
+ {
79
+ "from": "menu",
80
+ "to": "menu",
81
+ "event": "INIT",
82
+ "effects": [
83
+ [
84
+ "fetch",
85
+ "Experiment"
86
+ ],
87
+ [
88
+ "render-ui",
89
+ "main",
90
+ {
91
+ "type": "game-menu",
92
+ "title": "Experiment Simulator",
93
+ "menuItems": [
94
+ {
95
+ "label": "Start",
96
+ "event": "START",
97
+ "variant": "primary"
98
+ }
99
+ ]
100
+ }
101
+ ]
102
+ ]
103
+ },
104
+ {
105
+ "from": "menu",
106
+ "to": "playing",
107
+ "event": "START",
108
+ "effects": [
109
+ [
110
+ "render-ui",
111
+ "main",
112
+ {
113
+ "type": "simulator-board",
114
+ "entity": "Experiment",
115
+ "completeEvent": "COMPLETE"
116
+ }
117
+ ]
118
+ ]
119
+ },
120
+ {
121
+ "from": "menu",
122
+ "to": "menu",
123
+ "event": "NAVIGATE",
124
+ "effects": []
125
+ },
126
+ {
127
+ "from": "playing",
128
+ "to": "complete",
129
+ "event": "COMPLETE",
130
+ "effects": [
131
+ [
132
+ "render-ui",
133
+ "main",
134
+ {
135
+ "type": "game-over-screen",
136
+ "title": "Well Done!",
137
+ "menuItems": [
138
+ {
139
+ "label": "Play Again",
140
+ "event": "RESTART",
141
+ "variant": "primary"
142
+ }
143
+ ]
144
+ }
145
+ ]
146
+ ]
147
+ },
148
+ {
149
+ "from": "complete",
150
+ "to": "menu",
151
+ "event": "RESTART",
152
+ "effects": [
153
+ [
154
+ "render-ui",
155
+ "main",
156
+ {
157
+ "type": "game-menu",
158
+ "title": "Experiment Simulator",
159
+ "menuItems": [
160
+ {
161
+ "label": "Start",
162
+ "event": "START",
163
+ "variant": "primary"
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ ]
169
+ }
170
+ ]
171
+ }
172
+ }
173
+ ],
174
+ "pages": [
175
+ {
176
+ "name": "SimulatorPage",
177
+ "path": "/simulator",
178
+ "isInitial": true,
179
+ "traits": [
180
+ {
181
+ "ref": "ExperimentSimulatorGame"
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "ClassificationOrbital",
189
+ "entity": {
190
+ "name": "Classification",
191
+ "persistence": "runtime",
192
+ "fields": [
193
+ {
194
+ "name": "id",
195
+ "type": "string",
196
+ "required": true
197
+ },
198
+ {
199
+ "name": "title",
200
+ "type": "string",
201
+ "required": true
202
+ },
203
+ {
204
+ "name": "category",
205
+ "type": "string"
206
+ },
207
+ {
208
+ "name": "score",
209
+ "type": "number",
210
+ "default": 0
211
+ },
212
+ {
213
+ "name": "accuracy",
214
+ "type": "number",
215
+ "default": 0
216
+ }
217
+ ]
218
+ },
219
+ "traits": [
220
+ {
221
+ "name": "ClassificationClassifierGame",
222
+ "linkedEntity": "Classification",
223
+ "category": "interaction",
224
+ "stateMachine": {
225
+ "states": [
226
+ {
227
+ "name": "menu",
228
+ "isInitial": true
229
+ },
230
+ {
231
+ "name": "playing"
232
+ },
233
+ {
234
+ "name": "complete"
235
+ }
236
+ ],
237
+ "events": [
238
+ {
239
+ "key": "INIT",
240
+ "name": "Initialize"
241
+ },
242
+ {
243
+ "key": "START",
244
+ "name": "Start"
245
+ },
246
+ {
247
+ "key": "COMPLETE",
248
+ "name": "Complete"
249
+ },
250
+ {
251
+ "key": "RESTART",
252
+ "name": "Restart"
253
+ },
254
+ {
255
+ "key": "NAVIGATE",
256
+ "name": "Navigate"
257
+ }
258
+ ],
259
+ "transitions": [
260
+ {
261
+ "from": "menu",
262
+ "to": "menu",
263
+ "event": "INIT",
264
+ "effects": [
265
+ [
266
+ "fetch",
267
+ "Classification"
268
+ ],
269
+ [
270
+ "render-ui",
271
+ "main",
272
+ {
273
+ "type": "game-menu",
274
+ "title": "Classification Lab",
275
+ "menuItems": [
276
+ {
277
+ "label": "Start",
278
+ "event": "START",
279
+ "variant": "primary"
280
+ }
281
+ ]
282
+ }
283
+ ]
284
+ ]
285
+ },
286
+ {
287
+ "from": "menu",
288
+ "to": "playing",
289
+ "event": "START",
290
+ "effects": [
291
+ [
292
+ "render-ui",
293
+ "main",
294
+ {
295
+ "type": "classifier-board",
296
+ "entity": "Classification",
297
+ "completeEvent": "COMPLETE"
298
+ }
299
+ ]
300
+ ]
301
+ },
302
+ {
303
+ "from": "menu",
304
+ "to": "menu",
305
+ "event": "NAVIGATE",
306
+ "effects": []
307
+ },
308
+ {
309
+ "from": "playing",
310
+ "to": "complete",
311
+ "event": "COMPLETE",
312
+ "effects": [
313
+ [
314
+ "render-ui",
315
+ "main",
316
+ {
317
+ "type": "game-over-screen",
318
+ "title": "Well Done!",
319
+ "menuItems": [
320
+ {
321
+ "label": "Play Again",
322
+ "event": "RESTART",
323
+ "variant": "primary"
324
+ }
325
+ ]
326
+ }
327
+ ]
328
+ ]
329
+ },
330
+ {
331
+ "from": "complete",
332
+ "to": "menu",
333
+ "event": "RESTART",
334
+ "effects": [
335
+ [
336
+ "render-ui",
337
+ "main",
338
+ {
339
+ "type": "game-menu",
340
+ "title": "Classification Lab",
341
+ "menuItems": [
342
+ {
343
+ "label": "Start",
344
+ "event": "START",
345
+ "variant": "primary"
346
+ }
347
+ ]
348
+ }
349
+ ]
350
+ ]
351
+ }
352
+ ]
353
+ }
354
+ }
355
+ ],
356
+ "pages": [
357
+ {
358
+ "name": "ClassifierPage",
359
+ "path": "/classifier",
360
+ "traits": [
361
+ {
362
+ "ref": "ClassificationClassifierGame"
363
+ }
364
+ ]
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "name": "LabResultOrbital",
370
+ "entity": {
371
+ "name": "LabResult",
372
+ "persistence": "runtime",
373
+ "fields": [
374
+ {
375
+ "name": "id",
376
+ "type": "string",
377
+ "required": true
378
+ },
379
+ {
380
+ "name": "experimentCount",
381
+ "type": "number",
382
+ "default": 0
383
+ },
384
+ {
385
+ "name": "avgAccuracy",
386
+ "type": "number",
387
+ "default": 0
388
+ },
389
+ {
390
+ "name": "totalScore",
391
+ "type": "number",
392
+ "default": 0
393
+ },
394
+ {
395
+ "name": "grade",
396
+ "type": "string",
397
+ "default": "N/A"
398
+ }
399
+ ]
400
+ },
401
+ "traits": [
402
+ {
403
+ "name": "LabResultDisplay",
404
+ "linkedEntity": "LabResult",
405
+ "category": "interaction",
406
+ "stateMachine": {
407
+ "states": [
408
+ {
409
+ "name": "loading",
410
+ "isInitial": true
411
+ },
412
+ {
413
+ "name": "displaying"
414
+ },
415
+ {
416
+ "name": "refreshing"
417
+ }
418
+ ],
419
+ "events": [
420
+ {
421
+ "key": "INIT",
422
+ "name": "Initialize"
423
+ },
424
+ {
425
+ "key": "LOADED",
426
+ "name": "Loaded"
427
+ },
428
+ {
429
+ "key": "REFRESH",
430
+ "name": "Refresh"
431
+ },
432
+ {
433
+ "key": "REFRESHED",
434
+ "name": "Refreshed"
435
+ }
436
+ ],
437
+ "transitions": [
438
+ {
439
+ "from": "loading",
440
+ "to": "displaying",
441
+ "event": "INIT",
442
+ "effects": [
443
+ [
444
+ "fetch",
445
+ "LabResult"
446
+ ],
447
+ [
448
+ "render-ui",
449
+ "main",
450
+ {
451
+ "type": "stack",
452
+ "direction": "vertical",
453
+ "gap": "lg",
454
+ "children": [
455
+ {
456
+ "type": "stack",
457
+ "direction": "horizontal",
458
+ "gap": "md",
459
+ "justify": "space-between",
460
+ "children": [
461
+ {
462
+ "type": "stack",
463
+ "direction": "horizontal",
464
+ "gap": "md",
465
+ "children": [
466
+ {
467
+ "type": "icon",
468
+ "name": "clipboard",
469
+ "size": "lg"
470
+ },
471
+ {
472
+ "type": "typography",
473
+ "content": "Lab Results",
474
+ "variant": "h2"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "type": "button",
480
+ "label": "Refresh",
481
+ "event": "REFRESH",
482
+ "variant": "secondary",
483
+ "icon": "refresh-cw"
484
+ }
485
+ ]
486
+ },
487
+ {
488
+ "type": "divider"
489
+ },
490
+ {
491
+ "type": "simple-grid",
492
+ "columns": 3,
493
+ "children": [
494
+ {
495
+ "type": "card",
496
+ "children": [
497
+ {
498
+ "type": "stack",
499
+ "direction": "vertical",
500
+ "gap": "sm",
501
+ "children": [
502
+ {
503
+ "type": "typography",
504
+ "variant": "caption",
505
+ "content": "ExperimentCount"
506
+ },
507
+ {
508
+ "type": "typography",
509
+ "variant": "h3",
510
+ "content": "@entity.experimentCount"
511
+ }
512
+ ]
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "type": "card",
518
+ "children": [
519
+ {
520
+ "type": "stack",
521
+ "direction": "vertical",
522
+ "gap": "sm",
523
+ "children": [
524
+ {
525
+ "type": "typography",
526
+ "variant": "caption",
527
+ "content": "AvgAccuracy"
528
+ },
529
+ {
530
+ "type": "typography",
531
+ "variant": "h3",
532
+ "content": "@entity.avgAccuracy"
533
+ }
534
+ ]
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "type": "card",
540
+ "children": [
541
+ {
542
+ "type": "stack",
543
+ "direction": "vertical",
544
+ "gap": "sm",
545
+ "children": [
546
+ {
547
+ "type": "typography",
548
+ "variant": "caption",
549
+ "content": "TotalScore"
550
+ },
551
+ {
552
+ "type": "typography",
553
+ "variant": "h3",
554
+ "content": "@entity.totalScore"
555
+ }
556
+ ]
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "type": "card",
562
+ "children": [
563
+ {
564
+ "type": "stack",
565
+ "direction": "vertical",
566
+ "gap": "sm",
567
+ "children": [
568
+ {
569
+ "type": "typography",
570
+ "variant": "caption",
571
+ "content": "Grade"
572
+ },
573
+ {
574
+ "type": "typography",
575
+ "variant": "h3",
576
+ "content": "@entity.grade"
577
+ }
578
+ ]
579
+ }
580
+ ]
581
+ }
582
+ ]
583
+ }
584
+ ]
585
+ }
586
+ ]
587
+ ]
588
+ },
589
+ {
590
+ "from": "loading",
591
+ "to": "displaying",
592
+ "event": "LOADED",
593
+ "effects": [
594
+ [
595
+ "fetch",
596
+ "LabResult"
597
+ ],
598
+ [
599
+ "render-ui",
600
+ "main",
601
+ {
602
+ "type": "stack",
603
+ "direction": "vertical",
604
+ "gap": "lg",
605
+ "children": [
606
+ {
607
+ "type": "stack",
608
+ "direction": "horizontal",
609
+ "gap": "md",
610
+ "justify": "space-between",
611
+ "children": [
612
+ {
613
+ "type": "stack",
614
+ "direction": "horizontal",
615
+ "gap": "md",
616
+ "children": [
617
+ {
618
+ "type": "icon",
619
+ "name": "clipboard",
620
+ "size": "lg"
621
+ },
622
+ {
623
+ "type": "typography",
624
+ "content": "Lab Results",
625
+ "variant": "h2"
626
+ }
627
+ ]
628
+ },
629
+ {
630
+ "type": "button",
631
+ "label": "Refresh",
632
+ "event": "REFRESH",
633
+ "variant": "secondary",
634
+ "icon": "refresh-cw"
635
+ }
636
+ ]
637
+ },
638
+ {
639
+ "type": "divider"
640
+ },
641
+ {
642
+ "type": "simple-grid",
643
+ "columns": 3,
644
+ "children": [
645
+ {
646
+ "type": "card",
647
+ "children": [
648
+ {
649
+ "type": "stack",
650
+ "direction": "vertical",
651
+ "gap": "sm",
652
+ "children": [
653
+ {
654
+ "type": "typography",
655
+ "variant": "caption",
656
+ "content": "ExperimentCount"
657
+ },
658
+ {
659
+ "type": "typography",
660
+ "variant": "h3",
661
+ "content": "@entity.experimentCount"
662
+ }
663
+ ]
664
+ }
665
+ ]
666
+ },
667
+ {
668
+ "type": "card",
669
+ "children": [
670
+ {
671
+ "type": "stack",
672
+ "direction": "vertical",
673
+ "gap": "sm",
674
+ "children": [
675
+ {
676
+ "type": "typography",
677
+ "variant": "caption",
678
+ "content": "AvgAccuracy"
679
+ },
680
+ {
681
+ "type": "typography",
682
+ "variant": "h3",
683
+ "content": "@entity.avgAccuracy"
684
+ }
685
+ ]
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "type": "card",
691
+ "children": [
692
+ {
693
+ "type": "stack",
694
+ "direction": "vertical",
695
+ "gap": "sm",
696
+ "children": [
697
+ {
698
+ "type": "typography",
699
+ "variant": "caption",
700
+ "content": "TotalScore"
701
+ },
702
+ {
703
+ "type": "typography",
704
+ "variant": "h3",
705
+ "content": "@entity.totalScore"
706
+ }
707
+ ]
708
+ }
709
+ ]
710
+ },
711
+ {
712
+ "type": "card",
713
+ "children": [
714
+ {
715
+ "type": "stack",
716
+ "direction": "vertical",
717
+ "gap": "sm",
718
+ "children": [
719
+ {
720
+ "type": "typography",
721
+ "variant": "caption",
722
+ "content": "Grade"
723
+ },
724
+ {
725
+ "type": "typography",
726
+ "variant": "h3",
727
+ "content": "@entity.grade"
728
+ }
729
+ ]
730
+ }
731
+ ]
732
+ }
733
+ ]
734
+ }
735
+ ]
736
+ }
737
+ ]
738
+ ]
739
+ },
740
+ {
741
+ "from": "displaying",
742
+ "to": "displaying",
743
+ "event": "INIT",
744
+ "effects": [
745
+ [
746
+ "fetch",
747
+ "LabResult"
748
+ ],
749
+ [
750
+ "render-ui",
751
+ "main",
752
+ {
753
+ "type": "stack",
754
+ "direction": "vertical",
755
+ "gap": "lg",
756
+ "children": [
757
+ {
758
+ "type": "stack",
759
+ "direction": "horizontal",
760
+ "gap": "md",
761
+ "justify": "space-between",
762
+ "children": [
763
+ {
764
+ "type": "stack",
765
+ "direction": "horizontal",
766
+ "gap": "md",
767
+ "children": [
768
+ {
769
+ "type": "icon",
770
+ "name": "clipboard",
771
+ "size": "lg"
772
+ },
773
+ {
774
+ "type": "typography",
775
+ "content": "Lab Results",
776
+ "variant": "h2"
777
+ }
778
+ ]
779
+ },
780
+ {
781
+ "type": "button",
782
+ "label": "Refresh",
783
+ "event": "REFRESH",
784
+ "variant": "secondary",
785
+ "icon": "refresh-cw"
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ "type": "divider"
791
+ },
792
+ {
793
+ "type": "simple-grid",
794
+ "columns": 3,
795
+ "children": [
796
+ {
797
+ "type": "card",
798
+ "children": [
799
+ {
800
+ "type": "stack",
801
+ "direction": "vertical",
802
+ "gap": "sm",
803
+ "children": [
804
+ {
805
+ "type": "typography",
806
+ "variant": "caption",
807
+ "content": "ExperimentCount"
808
+ },
809
+ {
810
+ "type": "typography",
811
+ "variant": "h3",
812
+ "content": "@entity.experimentCount"
813
+ }
814
+ ]
815
+ }
816
+ ]
817
+ },
818
+ {
819
+ "type": "card",
820
+ "children": [
821
+ {
822
+ "type": "stack",
823
+ "direction": "vertical",
824
+ "gap": "sm",
825
+ "children": [
826
+ {
827
+ "type": "typography",
828
+ "variant": "caption",
829
+ "content": "AvgAccuracy"
830
+ },
831
+ {
832
+ "type": "typography",
833
+ "variant": "h3",
834
+ "content": "@entity.avgAccuracy"
835
+ }
836
+ ]
837
+ }
838
+ ]
839
+ },
840
+ {
841
+ "type": "card",
842
+ "children": [
843
+ {
844
+ "type": "stack",
845
+ "direction": "vertical",
846
+ "gap": "sm",
847
+ "children": [
848
+ {
849
+ "type": "typography",
850
+ "variant": "caption",
851
+ "content": "TotalScore"
852
+ },
853
+ {
854
+ "type": "typography",
855
+ "variant": "h3",
856
+ "content": "@entity.totalScore"
857
+ }
858
+ ]
859
+ }
860
+ ]
861
+ },
862
+ {
863
+ "type": "card",
864
+ "children": [
865
+ {
866
+ "type": "stack",
867
+ "direction": "vertical",
868
+ "gap": "sm",
869
+ "children": [
870
+ {
871
+ "type": "typography",
872
+ "variant": "caption",
873
+ "content": "Grade"
874
+ },
875
+ {
876
+ "type": "typography",
877
+ "variant": "h3",
878
+ "content": "@entity.grade"
879
+ }
880
+ ]
881
+ }
882
+ ]
883
+ }
884
+ ]
885
+ }
886
+ ]
887
+ }
888
+ ]
889
+ ]
890
+ },
891
+ {
892
+ "from": "displaying",
893
+ "to": "refreshing",
894
+ "event": "REFRESH",
895
+ "effects": [
896
+ [
897
+ "fetch",
898
+ "LabResult"
899
+ ],
900
+ [
901
+ "render-ui",
902
+ "main",
903
+ {
904
+ "type": "stack",
905
+ "direction": "vertical",
906
+ "gap": "lg",
907
+ "children": [
908
+ {
909
+ "type": "stack",
910
+ "direction": "horizontal",
911
+ "gap": "md",
912
+ "justify": "space-between",
913
+ "children": [
914
+ {
915
+ "type": "stack",
916
+ "direction": "horizontal",
917
+ "gap": "md",
918
+ "children": [
919
+ {
920
+ "type": "icon",
921
+ "name": "clipboard",
922
+ "size": "lg"
923
+ },
924
+ {
925
+ "type": "typography",
926
+ "content": "Lab Results",
927
+ "variant": "h2"
928
+ }
929
+ ]
930
+ },
931
+ {
932
+ "type": "button",
933
+ "label": "Refresh",
934
+ "event": "REFRESH",
935
+ "variant": "secondary",
936
+ "icon": "refresh-cw"
937
+ }
938
+ ]
939
+ },
940
+ {
941
+ "type": "divider"
942
+ },
943
+ {
944
+ "type": "simple-grid",
945
+ "columns": 3,
946
+ "children": [
947
+ {
948
+ "type": "card",
949
+ "children": [
950
+ {
951
+ "type": "stack",
952
+ "direction": "vertical",
953
+ "gap": "sm",
954
+ "children": [
955
+ {
956
+ "type": "typography",
957
+ "variant": "caption",
958
+ "content": "ExperimentCount"
959
+ },
960
+ {
961
+ "type": "typography",
962
+ "variant": "h3",
963
+ "content": "@entity.experimentCount"
964
+ }
965
+ ]
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "type": "card",
971
+ "children": [
972
+ {
973
+ "type": "stack",
974
+ "direction": "vertical",
975
+ "gap": "sm",
976
+ "children": [
977
+ {
978
+ "type": "typography",
979
+ "variant": "caption",
980
+ "content": "AvgAccuracy"
981
+ },
982
+ {
983
+ "type": "typography",
984
+ "variant": "h3",
985
+ "content": "@entity.avgAccuracy"
986
+ }
987
+ ]
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "type": "card",
993
+ "children": [
994
+ {
995
+ "type": "stack",
996
+ "direction": "vertical",
997
+ "gap": "sm",
998
+ "children": [
999
+ {
1000
+ "type": "typography",
1001
+ "variant": "caption",
1002
+ "content": "TotalScore"
1003
+ },
1004
+ {
1005
+ "type": "typography",
1006
+ "variant": "h3",
1007
+ "content": "@entity.totalScore"
1008
+ }
1009
+ ]
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ "type": "card",
1015
+ "children": [
1016
+ {
1017
+ "type": "stack",
1018
+ "direction": "vertical",
1019
+ "gap": "sm",
1020
+ "children": [
1021
+ {
1022
+ "type": "typography",
1023
+ "variant": "caption",
1024
+ "content": "Grade"
1025
+ },
1026
+ {
1027
+ "type": "typography",
1028
+ "variant": "h3",
1029
+ "content": "@entity.grade"
1030
+ }
1031
+ ]
1032
+ }
1033
+ ]
1034
+ }
1035
+ ]
1036
+ }
1037
+ ]
1038
+ }
1039
+ ]
1040
+ ]
1041
+ },
1042
+ {
1043
+ "from": "refreshing",
1044
+ "to": "displaying",
1045
+ "event": "REFRESHED",
1046
+ "effects": [
1047
+ [
1048
+ "fetch",
1049
+ "LabResult"
1050
+ ],
1051
+ [
1052
+ "render-ui",
1053
+ "main",
1054
+ {
1055
+ "type": "stack",
1056
+ "direction": "vertical",
1057
+ "gap": "lg",
1058
+ "children": [
1059
+ {
1060
+ "type": "stack",
1061
+ "direction": "horizontal",
1062
+ "gap": "md",
1063
+ "justify": "space-between",
1064
+ "children": [
1065
+ {
1066
+ "type": "stack",
1067
+ "direction": "horizontal",
1068
+ "gap": "md",
1069
+ "children": [
1070
+ {
1071
+ "type": "icon",
1072
+ "name": "clipboard",
1073
+ "size": "lg"
1074
+ },
1075
+ {
1076
+ "type": "typography",
1077
+ "content": "Lab Results",
1078
+ "variant": "h2"
1079
+ }
1080
+ ]
1081
+ },
1082
+ {
1083
+ "type": "button",
1084
+ "label": "Refresh",
1085
+ "event": "REFRESH",
1086
+ "variant": "secondary",
1087
+ "icon": "refresh-cw"
1088
+ }
1089
+ ]
1090
+ },
1091
+ {
1092
+ "type": "divider"
1093
+ },
1094
+ {
1095
+ "type": "simple-grid",
1096
+ "columns": 3,
1097
+ "children": [
1098
+ {
1099
+ "type": "card",
1100
+ "children": [
1101
+ {
1102
+ "type": "stack",
1103
+ "direction": "vertical",
1104
+ "gap": "sm",
1105
+ "children": [
1106
+ {
1107
+ "type": "typography",
1108
+ "variant": "caption",
1109
+ "content": "ExperimentCount"
1110
+ },
1111
+ {
1112
+ "type": "typography",
1113
+ "variant": "h3",
1114
+ "content": "@entity.experimentCount"
1115
+ }
1116
+ ]
1117
+ }
1118
+ ]
1119
+ },
1120
+ {
1121
+ "type": "card",
1122
+ "children": [
1123
+ {
1124
+ "type": "stack",
1125
+ "direction": "vertical",
1126
+ "gap": "sm",
1127
+ "children": [
1128
+ {
1129
+ "type": "typography",
1130
+ "variant": "caption",
1131
+ "content": "AvgAccuracy"
1132
+ },
1133
+ {
1134
+ "type": "typography",
1135
+ "variant": "h3",
1136
+ "content": "@entity.avgAccuracy"
1137
+ }
1138
+ ]
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "type": "card",
1144
+ "children": [
1145
+ {
1146
+ "type": "stack",
1147
+ "direction": "vertical",
1148
+ "gap": "sm",
1149
+ "children": [
1150
+ {
1151
+ "type": "typography",
1152
+ "variant": "caption",
1153
+ "content": "TotalScore"
1154
+ },
1155
+ {
1156
+ "type": "typography",
1157
+ "variant": "h3",
1158
+ "content": "@entity.totalScore"
1159
+ }
1160
+ ]
1161
+ }
1162
+ ]
1163
+ },
1164
+ {
1165
+ "type": "card",
1166
+ "children": [
1167
+ {
1168
+ "type": "stack",
1169
+ "direction": "vertical",
1170
+ "gap": "sm",
1171
+ "children": [
1172
+ {
1173
+ "type": "typography",
1174
+ "variant": "caption",
1175
+ "content": "Grade"
1176
+ },
1177
+ {
1178
+ "type": "typography",
1179
+ "variant": "h3",
1180
+ "content": "@entity.grade"
1181
+ }
1182
+ ]
1183
+ }
1184
+ ]
1185
+ }
1186
+ ]
1187
+ }
1188
+ ]
1189
+ }
1190
+ ]
1191
+ ]
1192
+ }
1193
+ ]
1194
+ }
1195
+ }
1196
+ ],
1197
+ "pages": [
1198
+ {
1199
+ "name": "ResultsPage",
1200
+ "path": "/results",
1201
+ "traits": [
1202
+ {
1203
+ "ref": "LabResultDisplay"
1204
+ }
1205
+ ]
1206
+ }
1207
+ ]
1208
+ }
1209
+ ]
1210
+ }