@almadar/std 3.2.2 → 3.3.4

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 (343) hide show
  1. package/LICENSE +72 -21
  2. package/README.md +1 -1
  3. package/behaviors/exports/atoms/std-browse.orb +38 -45
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-combat-log.orb +12 -12
  6. package/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  7. package/behaviors/exports/atoms/std-display.orb +1175 -510
  8. package/behaviors/exports/atoms/std-drawer.orb +235 -133
  9. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  10. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  11. package/behaviors/exports/atoms/std-game-audio.orb +9 -9
  12. package/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  13. package/behaviors/exports/atoms/std-game-hud.orb +10 -10
  14. package/behaviors/exports/atoms/std-game-menu.orb +12 -12
  15. package/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  16. package/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  17. package/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  18. package/behaviors/exports/atoms/std-loading.orb +131 -103
  19. package/behaviors/exports/atoms/std-modal.orb +5 -24
  20. package/behaviors/exports/atoms/std-notification.orb +71 -0
  21. package/behaviors/exports/atoms/std-pagination.orb +32 -40
  22. package/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  23. package/behaviors/exports/atoms/std-rating.orb +328 -0
  24. package/behaviors/exports/atoms/std-score-board.orb +9 -9
  25. package/behaviors/exports/atoms/std-score.orb +41 -0
  26. package/behaviors/exports/atoms/std-search.orb +44 -30
  27. package/behaviors/exports/atoms/std-selection.orb +30 -24
  28. package/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  29. package/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  30. package/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  31. package/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  32. package/behaviors/exports/atoms/std-service-email.orb +540 -0
  33. package/behaviors/exports/atoms/std-service-github.orb +586 -0
  34. package/behaviors/exports/atoms/std-service-llm.orb +671 -0
  35. package/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  36. package/behaviors/exports/atoms/std-service-redis.orb +580 -0
  37. package/behaviors/exports/atoms/std-service-storage.orb +664 -0
  38. package/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  39. package/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  40. package/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  42. package/behaviors/exports/atoms/std-sort.orb +82 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +17 -17
  44. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  45. package/behaviors/exports/atoms/std-theme.orb +573 -0
  46. package/behaviors/exports/atoms/std-upload.orb +535 -0
  47. package/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  48. package/behaviors/exports/atoms/std-wizard.orb +664 -224
  49. package/behaviors/exports/molecules/std-builder-game.orb +43 -3
  50. package/behaviors/exports/molecules/std-cart.orb +319 -101
  51. package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  52. package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  53. package/behaviors/exports/molecules/std-detail.orb +46 -49
  54. package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  55. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  56. package/behaviors/exports/molecules/std-geospatial.orb +48 -48
  57. package/behaviors/exports/molecules/std-inventory.orb +70 -50
  58. package/behaviors/exports/molecules/std-list.orb +174 -197
  59. package/behaviors/exports/molecules/std-messaging.orb +35 -50
  60. package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  61. package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  62. package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  63. package/behaviors/exports/molecules/std-quiz.orb +1069 -0
  64. package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  65. package/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  66. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  67. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  68. package/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  69. package/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  70. package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  71. package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  72. package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  73. package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  74. package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  75. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  76. package/behaviors/exports/organisms/std-cms.orb +929 -822
  77. package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  78. package/behaviors/exports/organisms/std-crm.orb +2302 -1282
  79. package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  80. package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  81. package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  82. package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  83. package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  84. package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  85. package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  86. package/behaviors/exports/organisms/std-lms.orb +2495 -1435
  87. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  88. package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  89. package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  90. package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  91. package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  92. package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  93. package/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  94. package/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  95. package/behaviors/exports/organisms/std-social-feed.orb +184 -172
  96. package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  97. package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  98. package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  99. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  100. package/behaviors/exports/validation-report.json +0 -747
  101. package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
  102. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  103. package/dist/behaviors/exports/atoms/std-combat-log.orb +12 -12
  104. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  105. package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
  106. package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
  107. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  108. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  109. package/dist/behaviors/exports/atoms/std-game-audio.orb +9 -9
  110. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  111. package/dist/behaviors/exports/atoms/std-game-hud.orb +10 -10
  112. package/dist/behaviors/exports/atoms/std-game-menu.orb +12 -12
  113. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  114. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  115. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  116. package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
  117. package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
  118. package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
  119. package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
  120. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  121. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  122. package/dist/behaviors/exports/atoms/std-score-board.orb +9 -9
  123. package/dist/behaviors/exports/atoms/std-score.orb +41 -0
  124. package/dist/behaviors/exports/atoms/std-search.orb +44 -30
  125. package/dist/behaviors/exports/atoms/std-selection.orb +30 -24
  126. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  127. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  128. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  129. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  130. package/dist/behaviors/exports/atoms/std-service-email.orb +540 -0
  131. package/dist/behaviors/exports/atoms/std-service-github.orb +586 -0
  132. package/dist/behaviors/exports/atoms/std-service-llm.orb +671 -0
  133. package/dist/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  134. package/dist/behaviors/exports/atoms/std-service-redis.orb +580 -0
  135. package/dist/behaviors/exports/atoms/std-service-storage.orb +664 -0
  136. package/dist/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  137. package/dist/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  138. package/dist/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  139. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  140. package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
  141. package/dist/behaviors/exports/atoms/std-sprite.orb +17 -17
  142. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  143. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  146. package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
  147. package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
  148. package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
  149. package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  150. package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  151. package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
  152. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  153. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  154. package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
  155. package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
  156. package/dist/behaviors/exports/molecules/std-list.orb +174 -197
  157. package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
  158. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  159. package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  160. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  161. package/dist/behaviors/exports/molecules/std-quiz.orb +1069 -0
  162. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  163. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  164. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  165. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  166. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  167. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  168. package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  169. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  170. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  171. package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  172. package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  173. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  174. package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
  175. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  176. package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
  177. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  178. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  179. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  180. package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  181. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  182. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  183. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  184. package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
  185. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  186. package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  187. package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  188. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  189. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  190. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  191. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  192. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  193. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
  194. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  195. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  196. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  197. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  198. package/dist/behaviors/exports/validation-report.json +0 -747
  199. package/dist/behaviors/functions/index.d.ts +931 -1
  200. package/dist/behaviors/functions/index.js +12511 -4634
  201. package/dist/behaviors/functions/index.js.map +1 -1
  202. package/dist/behaviors/index.d.ts +1 -1
  203. package/dist/behaviors/index.js +12434 -4557
  204. package/dist/behaviors/index.js.map +1 -1
  205. package/dist/exports/atoms/std-browse.orb +38 -45
  206. package/dist/exports/atoms/std-calendar.orb +770 -0
  207. package/dist/exports/atoms/std-combat-log.orb +12 -12
  208. package/dist/exports/atoms/std-dialogue-box.orb +11 -11
  209. package/dist/exports/atoms/std-display.orb +1175 -510
  210. package/dist/exports/atoms/std-drawer.orb +235 -133
  211. package/dist/exports/atoms/std-flip-card.orb +596 -0
  212. package/dist/exports/atoms/std-gallery.orb +382 -0
  213. package/dist/exports/atoms/std-game-audio.orb +9 -9
  214. package/dist/exports/atoms/std-game-canvas3d.orb +24 -24
  215. package/dist/exports/atoms/std-game-hud.orb +10 -10
  216. package/dist/exports/atoms/std-game-menu.orb +12 -12
  217. package/dist/exports/atoms/std-game-over-screen.orb +9 -9
  218. package/dist/exports/atoms/std-inventory-panel.orb +13 -13
  219. package/dist/exports/atoms/std-isometric-canvas.orb +9 -9
  220. package/dist/exports/atoms/std-loading.orb +131 -103
  221. package/dist/exports/atoms/std-modal.orb +5 -24
  222. package/dist/exports/atoms/std-notification.orb +71 -0
  223. package/dist/exports/atoms/std-pagination.orb +32 -40
  224. package/dist/exports/atoms/std-platformer-canvas.orb +9 -9
  225. package/dist/exports/atoms/std-rating.orb +328 -0
  226. package/dist/exports/atoms/std-score-board.orb +9 -9
  227. package/dist/exports/atoms/std-score.orb +41 -0
  228. package/dist/exports/atoms/std-search.orb +44 -30
  229. package/dist/exports/atoms/std-selection.orb +30 -24
  230. package/dist/exports/atoms/std-service-custom-bearer.orb +557 -0
  231. package/dist/exports/atoms/std-service-custom-header.orb +559 -0
  232. package/dist/exports/atoms/std-service-custom-noauth.orb +553 -0
  233. package/dist/exports/atoms/std-service-custom-query.orb +559 -0
  234. package/dist/exports/atoms/std-service-email.orb +540 -0
  235. package/dist/exports/atoms/std-service-github.orb +586 -0
  236. package/dist/exports/atoms/std-service-llm.orb +671 -0
  237. package/dist/exports/atoms/std-service-oauth.orb +764 -0
  238. package/dist/exports/atoms/std-service-redis.orb +580 -0
  239. package/dist/exports/atoms/std-service-storage.orb +664 -0
  240. package/dist/exports/atoms/std-service-stripe.orb +639 -0
  241. package/dist/exports/atoms/std-service-twilio.orb +611 -0
  242. package/dist/exports/atoms/std-service-youtube.orb +696 -0
  243. package/dist/exports/atoms/std-simulation-canvas.orb +9 -9
  244. package/dist/exports/atoms/std-sort.orb +82 -60
  245. package/dist/exports/atoms/std-sprite.orb +17 -17
  246. package/dist/exports/atoms/std-text-effects.orb +658 -0
  247. package/dist/exports/atoms/std-theme.orb +573 -0
  248. package/dist/exports/atoms/std-upload.orb +535 -0
  249. package/dist/exports/atoms/std-validate-on-save.orb +623 -0
  250. package/dist/exports/atoms/std-wizard.orb +664 -224
  251. package/dist/exports/molecules/std-builder-game.orb +43 -3
  252. package/dist/exports/molecules/std-cart.orb +319 -101
  253. package/dist/exports/molecules/std-classifier-game.orb +43 -3
  254. package/dist/exports/molecules/std-debugger-game.orb +43 -3
  255. package/dist/exports/molecules/std-detail.orb +46 -49
  256. package/dist/exports/molecules/std-event-handler-game.orb +43 -3
  257. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  258. package/dist/exports/molecules/std-geospatial.orb +48 -48
  259. package/dist/exports/molecules/std-inventory.orb +70 -50
  260. package/dist/exports/molecules/std-list.orb +174 -197
  261. package/dist/exports/molecules/std-messaging.orb +35 -50
  262. package/dist/exports/molecules/std-negotiator-game.orb +43 -3
  263. package/dist/exports/molecules/std-platformer-game.orb +18 -2
  264. package/dist/exports/molecules/std-puzzle-game.orb +32 -6
  265. package/dist/exports/molecules/std-quiz.orb +1069 -0
  266. package/dist/exports/molecules/std-sequencer-game.orb +43 -3
  267. package/dist/exports/molecules/std-service-content-pipeline.orb +915 -0
  268. package/dist/exports/molecules/std-service-custom-api-tester.orb +860 -0
  269. package/dist/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  270. package/dist/exports/molecules/std-service-notification-hub.orb +696 -0
  271. package/dist/exports/molecules/std-service-payment-flow.orb +873 -0
  272. package/dist/exports/molecules/std-simulator-game.orb +43 -3
  273. package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
  274. package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
  275. package/dist/exports/organisms/std-arcade-game.orb +377 -265
  276. package/dist/exports/organisms/std-booking-system.orb +3144 -1855
  277. package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  278. package/dist/exports/organisms/std-cms.orb +929 -822
  279. package/dist/exports/organisms/std-coding-academy.orb +1347 -458
  280. package/dist/exports/organisms/std-crm.orb +2302 -1282
  281. package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
  282. package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
  283. package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
  284. package/dist/exports/organisms/std-healthcare.orb +3545 -1992
  285. package/dist/exports/organisms/std-helpdesk.orb +1853 -940
  286. package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
  287. package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
  288. package/dist/exports/organisms/std-lms.orb +2495 -1435
  289. package/dist/exports/organisms/std-logic-training.orb +220 -66
  290. package/dist/exports/organisms/std-platformer-app.orb +345 -214
  291. package/dist/exports/organisms/std-project-manager.orb +2217 -1190
  292. package/dist/exports/organisms/std-puzzle-app.orb +228 -103
  293. package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
  294. package/dist/exports/organisms/std-rpg-game.orb +1170 -948
  295. package/dist/exports/organisms/std-service-marketplace.orb +5191 -0
  296. package/dist/exports/organisms/std-service-research-assistant.orb +3568 -0
  297. package/dist/exports/organisms/std-social-feed.orb +184 -172
  298. package/dist/exports/organisms/std-stem-lab.orb +1308 -482
  299. package/dist/exports/organisms/std-strategy-game.orb +1520 -696
  300. package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
  301. package/dist/exports/test-schemas/os-trigger-simulation.orb +202 -0
  302. package/dist/exports/validation-report.json +0 -747
  303. package/dist/index.d.ts +3 -3
  304. package/dist/index.js +12826 -4799
  305. package/dist/index.js.map +1 -1
  306. package/dist/modules/array.d.ts +1 -1
  307. package/dist/modules/async.d.ts +1 -1
  308. package/dist/modules/contract.d.ts +22 -0
  309. package/dist/modules/contract.js +100 -0
  310. package/dist/modules/contract.js.map +1 -0
  311. package/dist/modules/data.d.ts +22 -0
  312. package/dist/modules/data.js +117 -0
  313. package/dist/modules/data.js.map +1 -0
  314. package/dist/modules/format.d.ts +1 -1
  315. package/dist/modules/graph.d.ts +23 -0
  316. package/dist/modules/graph.js +209 -0
  317. package/dist/modules/graph.js.map +1 -0
  318. package/dist/modules/index.d.ts +5 -1
  319. package/dist/modules/index.js +593 -63
  320. package/dist/modules/index.js.map +1 -1
  321. package/dist/modules/math.d.ts +1 -1
  322. package/dist/modules/nn.d.ts +1 -1
  323. package/dist/modules/nn.js +14 -14
  324. package/dist/modules/nn.js.map +1 -1
  325. package/dist/modules/object.d.ts +1 -1
  326. package/dist/modules/os.d.ts +19 -0
  327. package/dist/modules/os.js +116 -0
  328. package/dist/modules/os.js.map +1 -0
  329. package/dist/modules/prob.d.ts +1 -1
  330. package/dist/modules/str.d.ts +1 -1
  331. package/dist/modules/tensor.d.ts +1 -1
  332. package/dist/modules/tensor.js +29 -29
  333. package/dist/modules/tensor.js.map +1 -1
  334. package/dist/modules/time.d.ts +1 -1
  335. package/dist/modules/train.d.ts +1 -1
  336. package/dist/modules/train.js +19 -19
  337. package/dist/modules/train.js.map +1 -1
  338. package/dist/modules/validate.d.ts +1 -1
  339. package/dist/registry.d.ts +2 -2
  340. package/dist/registry.js +184 -65
  341. package/dist/registry.js.map +1 -1
  342. package/dist/{types-CmNM_IbV.d.ts → types-DOeGXRCm.d.ts} +3 -3
  343. package/package.json +2 -2
@@ -32,6 +32,21 @@
32
32
  "name": "completed",
33
33
  "type": "boolean",
34
34
  "default": false
35
+ },
36
+ {
37
+ "name": "level",
38
+ "type": "number",
39
+ "default": 1
40
+ }
41
+ ],
42
+ "instances": [
43
+ {
44
+ "id": "game-1",
45
+ "name": "Sequencer Session",
46
+ "description": "Active game session",
47
+ "status": "active",
48
+ "score": 0,
49
+ "level": 1
35
50
  }
36
51
  ]
37
52
  },
@@ -89,13 +104,20 @@
89
104
  "render-ui",
90
105
  "main",
91
106
  {
92
- "type": "game-menu",
93
- "title": "Sequencer Challenge",
94
- "menuItems": [
107
+ "type": "game-shell",
108
+ "appName": "Coding Academy",
109
+ "showTopBar": true,
110
+ "children": [
95
111
  {
96
- "label": "Start",
97
- "event": "START",
98
- "variant": "primary"
112
+ "type": "game-menu",
113
+ "title": "Sequencer Challenge",
114
+ "menuItems": [
115
+ {
116
+ "label": "Start",
117
+ "event": "START",
118
+ "variant": "primary"
119
+ }
120
+ ]
99
121
  }
100
122
  ]
101
123
  }
@@ -111,9 +133,36 @@
111
133
  "render-ui",
112
134
  "main",
113
135
  {
114
- "type": "sequencer-board",
115
- "entity": "SeqChallenge",
116
- "completeEvent": "COMPLETE"
136
+ "type": "game-shell",
137
+ "appName": "Coding Academy",
138
+ "showTopBar": true,
139
+ "children": [
140
+ {
141
+ "type": "stack",
142
+ "direction": "vertical",
143
+ "gap": "md",
144
+ "children": [
145
+ {
146
+ "type": "game-hud",
147
+ "stats": [
148
+ {
149
+ "label": "Score",
150
+ "value": "@entity.score"
151
+ },
152
+ {
153
+ "label": "Level",
154
+ "value": "@entity.level"
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ "type": "sequencer-board",
160
+ "entity": "SeqChallenge",
161
+ "completeEvent": "COMPLETE"
162
+ }
163
+ ]
164
+ }
165
+ ]
117
166
  }
118
167
  ]
119
168
  ]
@@ -133,13 +182,20 @@
133
182
  "render-ui",
134
183
  "main",
135
184
  {
136
- "type": "game-over-screen",
137
- "title": "Well Done!",
138
- "menuItems": [
185
+ "type": "game-shell",
186
+ "appName": "Coding Academy",
187
+ "showTopBar": true,
188
+ "children": [
139
189
  {
140
- "label": "Play Again",
141
- "event": "RESTART",
142
- "variant": "primary"
190
+ "type": "game-over-screen",
191
+ "title": "Well Done!",
192
+ "menuItems": [
193
+ {
194
+ "label": "Play Again",
195
+ "event": "RESTART",
196
+ "variant": "primary"
197
+ }
198
+ ]
143
199
  }
144
200
  ]
145
201
  }
@@ -155,13 +211,20 @@
155
211
  "render-ui",
156
212
  "main",
157
213
  {
158
- "type": "game-menu",
159
- "title": "Sequencer Challenge",
160
- "menuItems": [
214
+ "type": "game-shell",
215
+ "appName": "Coding Academy",
216
+ "showTopBar": true,
217
+ "children": [
161
218
  {
162
- "label": "Start",
163
- "event": "START",
164
- "variant": "primary"
219
+ "type": "game-menu",
220
+ "title": "Sequencer Challenge",
221
+ "menuItems": [
222
+ {
223
+ "label": "Start",
224
+ "event": "START",
225
+ "variant": "primary"
226
+ }
227
+ ]
165
228
  }
166
229
  ]
167
230
  }
@@ -215,6 +278,21 @@
215
278
  "name": "completed",
216
279
  "type": "boolean",
217
280
  "default": false
281
+ },
282
+ {
283
+ "name": "level",
284
+ "type": "number",
285
+ "default": 1
286
+ }
287
+ ],
288
+ "instances": [
289
+ {
290
+ "id": "game-1",
291
+ "name": "Builder Session",
292
+ "description": "Active game session",
293
+ "status": "active",
294
+ "score": 0,
295
+ "level": 1
218
296
  }
219
297
  ]
220
298
  },
@@ -272,13 +350,20 @@
272
350
  "render-ui",
273
351
  "main",
274
352
  {
275
- "type": "game-menu",
276
- "title": "Builder Challenge",
277
- "menuItems": [
353
+ "type": "game-shell",
354
+ "appName": "Coding Academy",
355
+ "showTopBar": true,
356
+ "children": [
278
357
  {
279
- "label": "Start",
280
- "event": "START",
281
- "variant": "primary"
358
+ "type": "game-menu",
359
+ "title": "Builder Challenge",
360
+ "menuItems": [
361
+ {
362
+ "label": "Start",
363
+ "event": "START",
364
+ "variant": "primary"
365
+ }
366
+ ]
282
367
  }
283
368
  ]
284
369
  }
@@ -294,9 +379,36 @@
294
379
  "render-ui",
295
380
  "main",
296
381
  {
297
- "type": "builder-board",
298
- "entity": "BuildChallenge",
299
- "completeEvent": "COMPLETE"
382
+ "type": "game-shell",
383
+ "appName": "Coding Academy",
384
+ "showTopBar": true,
385
+ "children": [
386
+ {
387
+ "type": "stack",
388
+ "direction": "vertical",
389
+ "gap": "md",
390
+ "children": [
391
+ {
392
+ "type": "game-hud",
393
+ "stats": [
394
+ {
395
+ "label": "Score",
396
+ "value": "@entity.score"
397
+ },
398
+ {
399
+ "label": "Level",
400
+ "value": "@entity.level"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "type": "builder-board",
406
+ "entity": "BuildChallenge",
407
+ "completeEvent": "COMPLETE"
408
+ }
409
+ ]
410
+ }
411
+ ]
300
412
  }
301
413
  ]
302
414
  ]
@@ -316,13 +428,20 @@
316
428
  "render-ui",
317
429
  "main",
318
430
  {
319
- "type": "game-over-screen",
320
- "title": "Well Done!",
321
- "menuItems": [
431
+ "type": "game-shell",
432
+ "appName": "Coding Academy",
433
+ "showTopBar": true,
434
+ "children": [
322
435
  {
323
- "label": "Play Again",
324
- "event": "RESTART",
325
- "variant": "primary"
436
+ "type": "game-over-screen",
437
+ "title": "Well Done!",
438
+ "menuItems": [
439
+ {
440
+ "label": "Play Again",
441
+ "event": "RESTART",
442
+ "variant": "primary"
443
+ }
444
+ ]
326
445
  }
327
446
  ]
328
447
  }
@@ -338,13 +457,20 @@
338
457
  "render-ui",
339
458
  "main",
340
459
  {
341
- "type": "game-menu",
342
- "title": "Builder Challenge",
343
- "menuItems": [
460
+ "type": "game-shell",
461
+ "appName": "Coding Academy",
462
+ "showTopBar": true,
463
+ "children": [
344
464
  {
345
- "label": "Start",
346
- "event": "START",
347
- "variant": "primary"
465
+ "type": "game-menu",
466
+ "title": "Builder Challenge",
467
+ "menuItems": [
468
+ {
469
+ "label": "Start",
470
+ "event": "START",
471
+ "variant": "primary"
472
+ }
473
+ ]
348
474
  }
349
475
  ]
350
476
  }
@@ -397,6 +523,21 @@
397
523
  "name": "completed",
398
524
  "type": "boolean",
399
525
  "default": false
526
+ },
527
+ {
528
+ "name": "level",
529
+ "type": "number",
530
+ "default": 1
531
+ }
532
+ ],
533
+ "instances": [
534
+ {
535
+ "id": "game-1",
536
+ "name": "Event Handler Session",
537
+ "description": "Active game session",
538
+ "status": "active",
539
+ "score": 0,
540
+ "level": 1
400
541
  }
401
542
  ]
402
543
  },
@@ -454,13 +595,20 @@
454
595
  "render-ui",
455
596
  "main",
456
597
  {
457
- "type": "game-menu",
458
- "title": "Event Handler Challenge",
459
- "menuItems": [
598
+ "type": "game-shell",
599
+ "appName": "Coding Academy",
600
+ "showTopBar": true,
601
+ "children": [
460
602
  {
461
- "label": "Start",
462
- "event": "START",
463
- "variant": "primary"
603
+ "type": "game-menu",
604
+ "title": "Event Handler Challenge",
605
+ "menuItems": [
606
+ {
607
+ "label": "Start",
608
+ "event": "START",
609
+ "variant": "primary"
610
+ }
611
+ ]
464
612
  }
465
613
  ]
466
614
  }
@@ -476,9 +624,36 @@
476
624
  "render-ui",
477
625
  "main",
478
626
  {
479
- "type": "event-handler-board",
480
- "entity": "EventChallenge",
481
- "completeEvent": "COMPLETE"
627
+ "type": "game-shell",
628
+ "appName": "Coding Academy",
629
+ "showTopBar": true,
630
+ "children": [
631
+ {
632
+ "type": "stack",
633
+ "direction": "vertical",
634
+ "gap": "md",
635
+ "children": [
636
+ {
637
+ "type": "game-hud",
638
+ "stats": [
639
+ {
640
+ "label": "Score",
641
+ "value": "@entity.score"
642
+ },
643
+ {
644
+ "label": "Level",
645
+ "value": "@entity.level"
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "type": "event-handler-board",
651
+ "entity": "EventChallenge",
652
+ "completeEvent": "COMPLETE"
653
+ }
654
+ ]
655
+ }
656
+ ]
482
657
  }
483
658
  ]
484
659
  ]
@@ -498,13 +673,20 @@
498
673
  "render-ui",
499
674
  "main",
500
675
  {
501
- "type": "game-over-screen",
502
- "title": "Well Done!",
503
- "menuItems": [
676
+ "type": "game-shell",
677
+ "appName": "Coding Academy",
678
+ "showTopBar": true,
679
+ "children": [
504
680
  {
505
- "label": "Play Again",
506
- "event": "RESTART",
507
- "variant": "primary"
681
+ "type": "game-over-screen",
682
+ "title": "Well Done!",
683
+ "menuItems": [
684
+ {
685
+ "label": "Play Again",
686
+ "event": "RESTART",
687
+ "variant": "primary"
688
+ }
689
+ ]
508
690
  }
509
691
  ]
510
692
  }
@@ -520,13 +702,20 @@
520
702
  "render-ui",
521
703
  "main",
522
704
  {
523
- "type": "game-menu",
524
- "title": "Event Handler Challenge",
525
- "menuItems": [
705
+ "type": "game-shell",
706
+ "appName": "Coding Academy",
707
+ "showTopBar": true,
708
+ "children": [
526
709
  {
527
- "label": "Start",
528
- "event": "START",
529
- "variant": "primary"
710
+ "type": "game-menu",
711
+ "title": "Event Handler Challenge",
712
+ "menuItems": [
713
+ {
714
+ "label": "Start",
715
+ "event": "START",
716
+ "variant": "primary"
717
+ }
718
+ ]
530
719
  }
531
720
  ]
532
721
  }
@@ -632,96 +821,236 @@
632
821
  "render-ui",
633
822
  "main",
634
823
  {
635
- "type": "stack",
636
- "direction": "vertical",
637
- "gap": "lg",
824
+ "type": "game-shell",
825
+ "appName": "Coding Academy",
826
+ "showTopBar": true,
638
827
  "children": [
639
828
  {
640
- "type": "stack",
641
- "direction": "horizontal",
642
- "gap": "md",
643
- "justify": "space-between",
829
+ "type": "scaled-diagram",
644
830
  "children": [
645
831
  {
646
832
  "type": "stack",
647
- "direction": "horizontal",
648
- "gap": "md",
833
+ "direction": "vertical",
834
+ "gap": "lg",
649
835
  "children": [
650
836
  {
651
- "type": "icon",
652
- "name": "trending-up",
653
- "size": "lg"
837
+ "type": "breadcrumb",
838
+ "items": [
839
+ {
840
+ "label": "Home",
841
+ "href": "/"
842
+ },
843
+ {
844
+ "label": "Progress"
845
+ }
846
+ ]
654
847
  },
655
848
  {
656
- "type": "typography",
657
- "content": "Progress",
658
- "variant": "h2"
849
+ "type": "stack",
850
+ "direction": "horizontal",
851
+ "gap": "md",
852
+ "justify": "space-between",
853
+ "children": [
854
+ {
855
+ "type": "stack",
856
+ "direction": "horizontal",
857
+ "gap": "md",
858
+ "children": [
859
+ {
860
+ "type": "icon",
861
+ "name": "trending-up",
862
+ "size": "lg"
863
+ },
864
+ {
865
+ "type": "typography",
866
+ "content": "Progress",
867
+ "variant": "h2"
868
+ }
869
+ ]
870
+ },
871
+ {
872
+ "type": "button",
873
+ "label": "Refresh",
874
+ "event": "REFRESH",
875
+ "variant": "secondary",
876
+ "icon": "refresh-cw"
877
+ }
878
+ ]
879
+ },
880
+ {
881
+ "type": "divider"
882
+ },
883
+ {
884
+ "type": "box",
885
+ "padding": "md",
886
+ "children": [
887
+ {
888
+ "type": "simple-grid",
889
+ "columns": 3,
890
+ "children": [
891
+ {
892
+ "type": "stat-display",
893
+ "label": "TotalLessons",
894
+ "value": [
895
+ "object/get",
896
+ [
897
+ "array/first",
898
+ "@entity"
899
+ ],
900
+ "totalLessons"
901
+ ]
902
+ },
903
+ {
904
+ "type": "stat-display",
905
+ "label": "CompletedLessons",
906
+ "value": [
907
+ "object/get",
908
+ [
909
+ "array/first",
910
+ "@entity"
911
+ ],
912
+ "completedLessons"
913
+ ]
914
+ },
915
+ {
916
+ "type": "stat-display",
917
+ "label": "AverageScore",
918
+ "value": [
919
+ "object/get",
920
+ [
921
+ "array/first",
922
+ "@entity"
923
+ ],
924
+ "averageScore"
925
+ ]
926
+ },
927
+ {
928
+ "type": "stat-display",
929
+ "label": "Streak",
930
+ "value": [
931
+ "object/get",
932
+ [
933
+ "array/first",
934
+ "@entity"
935
+ ],
936
+ "streak"
937
+ ]
938
+ }
939
+ ]
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "type": "divider"
945
+ },
946
+ {
947
+ "type": "grid",
948
+ "columns": 2,
949
+ "gap": "md",
950
+ "children": [
951
+ {
952
+ "type": "card",
953
+ "children": [
954
+ {
955
+ "type": "typography",
956
+ "variant": "caption",
957
+ "content": "Chart View"
958
+ }
959
+ ]
960
+ },
961
+ {
962
+ "type": "card",
963
+ "children": [
964
+ {
965
+ "type": "typography",
966
+ "variant": "caption",
967
+ "content": "Graph View"
968
+ }
969
+ ]
970
+ }
971
+ ]
972
+ },
973
+ {
974
+ "type": "line-chart",
975
+ "data": [
976
+ {
977
+ "date": "Jan",
978
+ "value": 12
979
+ },
980
+ {
981
+ "date": "Feb",
982
+ "value": 19
983
+ },
984
+ {
985
+ "date": "Mar",
986
+ "value": 15
987
+ },
988
+ {
989
+ "date": "Apr",
990
+ "value": 25
991
+ },
992
+ {
993
+ "date": "May",
994
+ "value": 22
995
+ },
996
+ {
997
+ "date": "Jun",
998
+ "value": 30
999
+ }
1000
+ ],
1001
+ "xKey": "date",
1002
+ "yKey": "value",
1003
+ "title": "Trend"
1004
+ },
1005
+ {
1006
+ "type": "chart-legend",
1007
+ "items": [
1008
+ {
1009
+ "label": "Current",
1010
+ "color": "primary"
1011
+ },
1012
+ {
1013
+ "label": "Previous",
1014
+ "color": "muted"
1015
+ }
1016
+ ]
1017
+ },
1018
+ {
1019
+ "type": "graph-view",
1020
+ "nodes": [
1021
+ {
1022
+ "id": "a",
1023
+ "label": "Start",
1024
+ "x": 50,
1025
+ "y": 100
1026
+ },
1027
+ {
1028
+ "id": "b",
1029
+ "label": "Process",
1030
+ "x": 200,
1031
+ "y": 50
1032
+ },
1033
+ {
1034
+ "id": "c",
1035
+ "label": "End",
1036
+ "x": 350,
1037
+ "y": 100
1038
+ }
1039
+ ],
1040
+ "edges": [
1041
+ {
1042
+ "from": "a",
1043
+ "to": "b"
1044
+ },
1045
+ {
1046
+ "from": "b",
1047
+ "to": "c"
1048
+ }
1049
+ ],
1050
+ "width": 400,
1051
+ "height": 200
659
1052
  }
660
1053
  ]
661
- },
662
- {
663
- "type": "button",
664
- "label": "Refresh",
665
- "event": "REFRESH",
666
- "variant": "secondary",
667
- "icon": "refresh-cw"
668
- }
669
- ]
670
- },
671
- {
672
- "type": "divider"
673
- },
674
- {
675
- "type": "simple-grid",
676
- "columns": 3,
677
- "children": [
678
- {
679
- "type": "stat-display",
680
- "label": "TotalLessons",
681
- "value": [
682
- "object/get",
683
- [
684
- "array/first",
685
- "@entity"
686
- ],
687
- "totalLessons"
688
- ]
689
- },
690
- {
691
- "type": "stat-display",
692
- "label": "CompletedLessons",
693
- "value": [
694
- "object/get",
695
- [
696
- "array/first",
697
- "@entity"
698
- ],
699
- "completedLessons"
700
- ]
701
- },
702
- {
703
- "type": "stat-display",
704
- "label": "AverageScore",
705
- "value": [
706
- "object/get",
707
- [
708
- "array/first",
709
- "@entity"
710
- ],
711
- "averageScore"
712
- ]
713
- },
714
- {
715
- "type": "stat-display",
716
- "label": "Streak",
717
- "value": [
718
- "object/get",
719
- [
720
- "array/first",
721
- "@entity"
722
- ],
723
- "streak"
724
- ]
725
1054
  }
726
1055
  ]
727
1056
  }
@@ -743,96 +1072,236 @@
743
1072
  "render-ui",
744
1073
  "main",
745
1074
  {
746
- "type": "stack",
747
- "direction": "vertical",
748
- "gap": "lg",
1075
+ "type": "game-shell",
1076
+ "appName": "Coding Academy",
1077
+ "showTopBar": true,
749
1078
  "children": [
750
1079
  {
751
- "type": "stack",
752
- "direction": "horizontal",
753
- "gap": "md",
754
- "justify": "space-between",
1080
+ "type": "scaled-diagram",
755
1081
  "children": [
756
1082
  {
757
1083
  "type": "stack",
758
- "direction": "horizontal",
759
- "gap": "md",
1084
+ "direction": "vertical",
1085
+ "gap": "lg",
760
1086
  "children": [
761
1087
  {
762
- "type": "icon",
763
- "name": "trending-up",
764
- "size": "lg"
1088
+ "type": "breadcrumb",
1089
+ "items": [
1090
+ {
1091
+ "label": "Home",
1092
+ "href": "/"
1093
+ },
1094
+ {
1095
+ "label": "Progress"
1096
+ }
1097
+ ]
765
1098
  },
766
1099
  {
767
- "type": "typography",
768
- "content": "Progress",
769
- "variant": "h2"
1100
+ "type": "stack",
1101
+ "direction": "horizontal",
1102
+ "gap": "md",
1103
+ "justify": "space-between",
1104
+ "children": [
1105
+ {
1106
+ "type": "stack",
1107
+ "direction": "horizontal",
1108
+ "gap": "md",
1109
+ "children": [
1110
+ {
1111
+ "type": "icon",
1112
+ "name": "trending-up",
1113
+ "size": "lg"
1114
+ },
1115
+ {
1116
+ "type": "typography",
1117
+ "content": "Progress",
1118
+ "variant": "h2"
1119
+ }
1120
+ ]
1121
+ },
1122
+ {
1123
+ "type": "button",
1124
+ "label": "Refresh",
1125
+ "event": "REFRESH",
1126
+ "variant": "secondary",
1127
+ "icon": "refresh-cw"
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ "type": "divider"
1133
+ },
1134
+ {
1135
+ "type": "box",
1136
+ "padding": "md",
1137
+ "children": [
1138
+ {
1139
+ "type": "simple-grid",
1140
+ "columns": 3,
1141
+ "children": [
1142
+ {
1143
+ "type": "stat-display",
1144
+ "label": "TotalLessons",
1145
+ "value": [
1146
+ "object/get",
1147
+ [
1148
+ "array/first",
1149
+ "@entity"
1150
+ ],
1151
+ "totalLessons"
1152
+ ]
1153
+ },
1154
+ {
1155
+ "type": "stat-display",
1156
+ "label": "CompletedLessons",
1157
+ "value": [
1158
+ "object/get",
1159
+ [
1160
+ "array/first",
1161
+ "@entity"
1162
+ ],
1163
+ "completedLessons"
1164
+ ]
1165
+ },
1166
+ {
1167
+ "type": "stat-display",
1168
+ "label": "AverageScore",
1169
+ "value": [
1170
+ "object/get",
1171
+ [
1172
+ "array/first",
1173
+ "@entity"
1174
+ ],
1175
+ "averageScore"
1176
+ ]
1177
+ },
1178
+ {
1179
+ "type": "stat-display",
1180
+ "label": "Streak",
1181
+ "value": [
1182
+ "object/get",
1183
+ [
1184
+ "array/first",
1185
+ "@entity"
1186
+ ],
1187
+ "streak"
1188
+ ]
1189
+ }
1190
+ ]
1191
+ }
1192
+ ]
1193
+ },
1194
+ {
1195
+ "type": "divider"
1196
+ },
1197
+ {
1198
+ "type": "grid",
1199
+ "columns": 2,
1200
+ "gap": "md",
1201
+ "children": [
1202
+ {
1203
+ "type": "card",
1204
+ "children": [
1205
+ {
1206
+ "type": "typography",
1207
+ "variant": "caption",
1208
+ "content": "Chart View"
1209
+ }
1210
+ ]
1211
+ },
1212
+ {
1213
+ "type": "card",
1214
+ "children": [
1215
+ {
1216
+ "type": "typography",
1217
+ "variant": "caption",
1218
+ "content": "Graph View"
1219
+ }
1220
+ ]
1221
+ }
1222
+ ]
1223
+ },
1224
+ {
1225
+ "type": "line-chart",
1226
+ "data": [
1227
+ {
1228
+ "date": "Jan",
1229
+ "value": 12
1230
+ },
1231
+ {
1232
+ "date": "Feb",
1233
+ "value": 19
1234
+ },
1235
+ {
1236
+ "date": "Mar",
1237
+ "value": 15
1238
+ },
1239
+ {
1240
+ "date": "Apr",
1241
+ "value": 25
1242
+ },
1243
+ {
1244
+ "date": "May",
1245
+ "value": 22
1246
+ },
1247
+ {
1248
+ "date": "Jun",
1249
+ "value": 30
1250
+ }
1251
+ ],
1252
+ "xKey": "date",
1253
+ "yKey": "value",
1254
+ "title": "Trend"
1255
+ },
1256
+ {
1257
+ "type": "chart-legend",
1258
+ "items": [
1259
+ {
1260
+ "label": "Current",
1261
+ "color": "primary"
1262
+ },
1263
+ {
1264
+ "label": "Previous",
1265
+ "color": "muted"
1266
+ }
1267
+ ]
1268
+ },
1269
+ {
1270
+ "type": "graph-view",
1271
+ "nodes": [
1272
+ {
1273
+ "id": "a",
1274
+ "label": "Start",
1275
+ "x": 50,
1276
+ "y": 100
1277
+ },
1278
+ {
1279
+ "id": "b",
1280
+ "label": "Process",
1281
+ "x": 200,
1282
+ "y": 50
1283
+ },
1284
+ {
1285
+ "id": "c",
1286
+ "label": "End",
1287
+ "x": 350,
1288
+ "y": 100
1289
+ }
1290
+ ],
1291
+ "edges": [
1292
+ {
1293
+ "from": "a",
1294
+ "to": "b"
1295
+ },
1296
+ {
1297
+ "from": "b",
1298
+ "to": "c"
1299
+ }
1300
+ ],
1301
+ "width": 400,
1302
+ "height": 200
770
1303
  }
771
1304
  ]
772
- },
773
- {
774
- "type": "button",
775
- "label": "Refresh",
776
- "event": "REFRESH",
777
- "variant": "secondary",
778
- "icon": "refresh-cw"
779
- }
780
- ]
781
- },
782
- {
783
- "type": "divider"
784
- },
785
- {
786
- "type": "simple-grid",
787
- "columns": 3,
788
- "children": [
789
- {
790
- "type": "stat-display",
791
- "label": "TotalLessons",
792
- "value": [
793
- "object/get",
794
- [
795
- "array/first",
796
- "@entity"
797
- ],
798
- "totalLessons"
799
- ]
800
- },
801
- {
802
- "type": "stat-display",
803
- "label": "CompletedLessons",
804
- "value": [
805
- "object/get",
806
- [
807
- "array/first",
808
- "@entity"
809
- ],
810
- "completedLessons"
811
- ]
812
- },
813
- {
814
- "type": "stat-display",
815
- "label": "AverageScore",
816
- "value": [
817
- "object/get",
818
- [
819
- "array/first",
820
- "@entity"
821
- ],
822
- "averageScore"
823
- ]
824
- },
825
- {
826
- "type": "stat-display",
827
- "label": "Streak",
828
- "value": [
829
- "object/get",
830
- [
831
- "array/first",
832
- "@entity"
833
- ],
834
- "streak"
835
- ]
836
1305
  }
837
1306
  ]
838
1307
  }
@@ -854,96 +1323,236 @@
854
1323
  "render-ui",
855
1324
  "main",
856
1325
  {
857
- "type": "stack",
858
- "direction": "vertical",
859
- "gap": "lg",
1326
+ "type": "game-shell",
1327
+ "appName": "Coding Academy",
1328
+ "showTopBar": true,
860
1329
  "children": [
861
1330
  {
862
- "type": "stack",
863
- "direction": "horizontal",
864
- "gap": "md",
865
- "justify": "space-between",
1331
+ "type": "scaled-diagram",
866
1332
  "children": [
867
1333
  {
868
1334
  "type": "stack",
869
- "direction": "horizontal",
870
- "gap": "md",
1335
+ "direction": "vertical",
1336
+ "gap": "lg",
871
1337
  "children": [
872
1338
  {
873
- "type": "icon",
874
- "name": "trending-up",
875
- "size": "lg"
1339
+ "type": "breadcrumb",
1340
+ "items": [
1341
+ {
1342
+ "label": "Home",
1343
+ "href": "/"
1344
+ },
1345
+ {
1346
+ "label": "Progress"
1347
+ }
1348
+ ]
876
1349
  },
877
1350
  {
878
- "type": "typography",
879
- "content": "Progress",
880
- "variant": "h2"
1351
+ "type": "stack",
1352
+ "direction": "horizontal",
1353
+ "gap": "md",
1354
+ "justify": "space-between",
1355
+ "children": [
1356
+ {
1357
+ "type": "stack",
1358
+ "direction": "horizontal",
1359
+ "gap": "md",
1360
+ "children": [
1361
+ {
1362
+ "type": "icon",
1363
+ "name": "trending-up",
1364
+ "size": "lg"
1365
+ },
1366
+ {
1367
+ "type": "typography",
1368
+ "content": "Progress",
1369
+ "variant": "h2"
1370
+ }
1371
+ ]
1372
+ },
1373
+ {
1374
+ "type": "button",
1375
+ "label": "Refresh",
1376
+ "event": "REFRESH",
1377
+ "variant": "secondary",
1378
+ "icon": "refresh-cw"
1379
+ }
1380
+ ]
1381
+ },
1382
+ {
1383
+ "type": "divider"
1384
+ },
1385
+ {
1386
+ "type": "box",
1387
+ "padding": "md",
1388
+ "children": [
1389
+ {
1390
+ "type": "simple-grid",
1391
+ "columns": 3,
1392
+ "children": [
1393
+ {
1394
+ "type": "stat-display",
1395
+ "label": "TotalLessons",
1396
+ "value": [
1397
+ "object/get",
1398
+ [
1399
+ "array/first",
1400
+ "@entity"
1401
+ ],
1402
+ "totalLessons"
1403
+ ]
1404
+ },
1405
+ {
1406
+ "type": "stat-display",
1407
+ "label": "CompletedLessons",
1408
+ "value": [
1409
+ "object/get",
1410
+ [
1411
+ "array/first",
1412
+ "@entity"
1413
+ ],
1414
+ "completedLessons"
1415
+ ]
1416
+ },
1417
+ {
1418
+ "type": "stat-display",
1419
+ "label": "AverageScore",
1420
+ "value": [
1421
+ "object/get",
1422
+ [
1423
+ "array/first",
1424
+ "@entity"
1425
+ ],
1426
+ "averageScore"
1427
+ ]
1428
+ },
1429
+ {
1430
+ "type": "stat-display",
1431
+ "label": "Streak",
1432
+ "value": [
1433
+ "object/get",
1434
+ [
1435
+ "array/first",
1436
+ "@entity"
1437
+ ],
1438
+ "streak"
1439
+ ]
1440
+ }
1441
+ ]
1442
+ }
1443
+ ]
1444
+ },
1445
+ {
1446
+ "type": "divider"
1447
+ },
1448
+ {
1449
+ "type": "grid",
1450
+ "columns": 2,
1451
+ "gap": "md",
1452
+ "children": [
1453
+ {
1454
+ "type": "card",
1455
+ "children": [
1456
+ {
1457
+ "type": "typography",
1458
+ "variant": "caption",
1459
+ "content": "Chart View"
1460
+ }
1461
+ ]
1462
+ },
1463
+ {
1464
+ "type": "card",
1465
+ "children": [
1466
+ {
1467
+ "type": "typography",
1468
+ "variant": "caption",
1469
+ "content": "Graph View"
1470
+ }
1471
+ ]
1472
+ }
1473
+ ]
1474
+ },
1475
+ {
1476
+ "type": "line-chart",
1477
+ "data": [
1478
+ {
1479
+ "date": "Jan",
1480
+ "value": 12
1481
+ },
1482
+ {
1483
+ "date": "Feb",
1484
+ "value": 19
1485
+ },
1486
+ {
1487
+ "date": "Mar",
1488
+ "value": 15
1489
+ },
1490
+ {
1491
+ "date": "Apr",
1492
+ "value": 25
1493
+ },
1494
+ {
1495
+ "date": "May",
1496
+ "value": 22
1497
+ },
1498
+ {
1499
+ "date": "Jun",
1500
+ "value": 30
1501
+ }
1502
+ ],
1503
+ "xKey": "date",
1504
+ "yKey": "value",
1505
+ "title": "Trend"
1506
+ },
1507
+ {
1508
+ "type": "chart-legend",
1509
+ "items": [
1510
+ {
1511
+ "label": "Current",
1512
+ "color": "primary"
1513
+ },
1514
+ {
1515
+ "label": "Previous",
1516
+ "color": "muted"
1517
+ }
1518
+ ]
1519
+ },
1520
+ {
1521
+ "type": "graph-view",
1522
+ "nodes": [
1523
+ {
1524
+ "id": "a",
1525
+ "label": "Start",
1526
+ "x": 50,
1527
+ "y": 100
1528
+ },
1529
+ {
1530
+ "id": "b",
1531
+ "label": "Process",
1532
+ "x": 200,
1533
+ "y": 50
1534
+ },
1535
+ {
1536
+ "id": "c",
1537
+ "label": "End",
1538
+ "x": 350,
1539
+ "y": 100
1540
+ }
1541
+ ],
1542
+ "edges": [
1543
+ {
1544
+ "from": "a",
1545
+ "to": "b"
1546
+ },
1547
+ {
1548
+ "from": "b",
1549
+ "to": "c"
1550
+ }
1551
+ ],
1552
+ "width": 400,
1553
+ "height": 200
881
1554
  }
882
1555
  ]
883
- },
884
- {
885
- "type": "button",
886
- "label": "Refresh",
887
- "event": "REFRESH",
888
- "variant": "secondary",
889
- "icon": "refresh-cw"
890
- }
891
- ]
892
- },
893
- {
894
- "type": "divider"
895
- },
896
- {
897
- "type": "simple-grid",
898
- "columns": 3,
899
- "children": [
900
- {
901
- "type": "stat-display",
902
- "label": "TotalLessons",
903
- "value": [
904
- "object/get",
905
- [
906
- "array/first",
907
- "@entity"
908
- ],
909
- "totalLessons"
910
- ]
911
- },
912
- {
913
- "type": "stat-display",
914
- "label": "CompletedLessons",
915
- "value": [
916
- "object/get",
917
- [
918
- "array/first",
919
- "@entity"
920
- ],
921
- "completedLessons"
922
- ]
923
- },
924
- {
925
- "type": "stat-display",
926
- "label": "AverageScore",
927
- "value": [
928
- "object/get",
929
- [
930
- "array/first",
931
- "@entity"
932
- ],
933
- "averageScore"
934
- ]
935
- },
936
- {
937
- "type": "stat-display",
938
- "label": "Streak",
939
- "value": [
940
- "object/get",
941
- [
942
- "array/first",
943
- "@entity"
944
- ],
945
- "streak"
946
- ]
947
1556
  }
948
1557
  ]
949
1558
  }
@@ -965,96 +1574,236 @@
965
1574
  "render-ui",
966
1575
  "main",
967
1576
  {
968
- "type": "stack",
969
- "direction": "vertical",
970
- "gap": "lg",
1577
+ "type": "game-shell",
1578
+ "appName": "Coding Academy",
1579
+ "showTopBar": true,
971
1580
  "children": [
972
1581
  {
973
- "type": "stack",
974
- "direction": "horizontal",
975
- "gap": "md",
976
- "justify": "space-between",
1582
+ "type": "scaled-diagram",
977
1583
  "children": [
978
1584
  {
979
1585
  "type": "stack",
980
- "direction": "horizontal",
981
- "gap": "md",
1586
+ "direction": "vertical",
1587
+ "gap": "lg",
982
1588
  "children": [
983
1589
  {
984
- "type": "icon",
985
- "name": "trending-up",
986
- "size": "lg"
1590
+ "type": "breadcrumb",
1591
+ "items": [
1592
+ {
1593
+ "label": "Home",
1594
+ "href": "/"
1595
+ },
1596
+ {
1597
+ "label": "Progress"
1598
+ }
1599
+ ]
987
1600
  },
988
1601
  {
989
- "type": "typography",
990
- "content": "Progress",
991
- "variant": "h2"
1602
+ "type": "stack",
1603
+ "direction": "horizontal",
1604
+ "gap": "md",
1605
+ "justify": "space-between",
1606
+ "children": [
1607
+ {
1608
+ "type": "stack",
1609
+ "direction": "horizontal",
1610
+ "gap": "md",
1611
+ "children": [
1612
+ {
1613
+ "type": "icon",
1614
+ "name": "trending-up",
1615
+ "size": "lg"
1616
+ },
1617
+ {
1618
+ "type": "typography",
1619
+ "content": "Progress",
1620
+ "variant": "h2"
1621
+ }
1622
+ ]
1623
+ },
1624
+ {
1625
+ "type": "button",
1626
+ "label": "Refresh",
1627
+ "event": "REFRESH",
1628
+ "variant": "secondary",
1629
+ "icon": "refresh-cw"
1630
+ }
1631
+ ]
1632
+ },
1633
+ {
1634
+ "type": "divider"
1635
+ },
1636
+ {
1637
+ "type": "box",
1638
+ "padding": "md",
1639
+ "children": [
1640
+ {
1641
+ "type": "simple-grid",
1642
+ "columns": 3,
1643
+ "children": [
1644
+ {
1645
+ "type": "stat-display",
1646
+ "label": "TotalLessons",
1647
+ "value": [
1648
+ "object/get",
1649
+ [
1650
+ "array/first",
1651
+ "@entity"
1652
+ ],
1653
+ "totalLessons"
1654
+ ]
1655
+ },
1656
+ {
1657
+ "type": "stat-display",
1658
+ "label": "CompletedLessons",
1659
+ "value": [
1660
+ "object/get",
1661
+ [
1662
+ "array/first",
1663
+ "@entity"
1664
+ ],
1665
+ "completedLessons"
1666
+ ]
1667
+ },
1668
+ {
1669
+ "type": "stat-display",
1670
+ "label": "AverageScore",
1671
+ "value": [
1672
+ "object/get",
1673
+ [
1674
+ "array/first",
1675
+ "@entity"
1676
+ ],
1677
+ "averageScore"
1678
+ ]
1679
+ },
1680
+ {
1681
+ "type": "stat-display",
1682
+ "label": "Streak",
1683
+ "value": [
1684
+ "object/get",
1685
+ [
1686
+ "array/first",
1687
+ "@entity"
1688
+ ],
1689
+ "streak"
1690
+ ]
1691
+ }
1692
+ ]
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "type": "divider"
1698
+ },
1699
+ {
1700
+ "type": "grid",
1701
+ "columns": 2,
1702
+ "gap": "md",
1703
+ "children": [
1704
+ {
1705
+ "type": "card",
1706
+ "children": [
1707
+ {
1708
+ "type": "typography",
1709
+ "variant": "caption",
1710
+ "content": "Chart View"
1711
+ }
1712
+ ]
1713
+ },
1714
+ {
1715
+ "type": "card",
1716
+ "children": [
1717
+ {
1718
+ "type": "typography",
1719
+ "variant": "caption",
1720
+ "content": "Graph View"
1721
+ }
1722
+ ]
1723
+ }
1724
+ ]
1725
+ },
1726
+ {
1727
+ "type": "line-chart",
1728
+ "data": [
1729
+ {
1730
+ "date": "Jan",
1731
+ "value": 12
1732
+ },
1733
+ {
1734
+ "date": "Feb",
1735
+ "value": 19
1736
+ },
1737
+ {
1738
+ "date": "Mar",
1739
+ "value": 15
1740
+ },
1741
+ {
1742
+ "date": "Apr",
1743
+ "value": 25
1744
+ },
1745
+ {
1746
+ "date": "May",
1747
+ "value": 22
1748
+ },
1749
+ {
1750
+ "date": "Jun",
1751
+ "value": 30
1752
+ }
1753
+ ],
1754
+ "xKey": "date",
1755
+ "yKey": "value",
1756
+ "title": "Trend"
1757
+ },
1758
+ {
1759
+ "type": "chart-legend",
1760
+ "items": [
1761
+ {
1762
+ "label": "Current",
1763
+ "color": "primary"
1764
+ },
1765
+ {
1766
+ "label": "Previous",
1767
+ "color": "muted"
1768
+ }
1769
+ ]
1770
+ },
1771
+ {
1772
+ "type": "graph-view",
1773
+ "nodes": [
1774
+ {
1775
+ "id": "a",
1776
+ "label": "Start",
1777
+ "x": 50,
1778
+ "y": 100
1779
+ },
1780
+ {
1781
+ "id": "b",
1782
+ "label": "Process",
1783
+ "x": 200,
1784
+ "y": 50
1785
+ },
1786
+ {
1787
+ "id": "c",
1788
+ "label": "End",
1789
+ "x": 350,
1790
+ "y": 100
1791
+ }
1792
+ ],
1793
+ "edges": [
1794
+ {
1795
+ "from": "a",
1796
+ "to": "b"
1797
+ },
1798
+ {
1799
+ "from": "b",
1800
+ "to": "c"
1801
+ }
1802
+ ],
1803
+ "width": 400,
1804
+ "height": 200
992
1805
  }
993
1806
  ]
994
- },
995
- {
996
- "type": "button",
997
- "label": "Refresh",
998
- "event": "REFRESH",
999
- "variant": "secondary",
1000
- "icon": "refresh-cw"
1001
- }
1002
- ]
1003
- },
1004
- {
1005
- "type": "divider"
1006
- },
1007
- {
1008
- "type": "simple-grid",
1009
- "columns": 3,
1010
- "children": [
1011
- {
1012
- "type": "stat-display",
1013
- "label": "TotalLessons",
1014
- "value": [
1015
- "object/get",
1016
- [
1017
- "array/first",
1018
- "@entity"
1019
- ],
1020
- "totalLessons"
1021
- ]
1022
- },
1023
- {
1024
- "type": "stat-display",
1025
- "label": "CompletedLessons",
1026
- "value": [
1027
- "object/get",
1028
- [
1029
- "array/first",
1030
- "@entity"
1031
- ],
1032
- "completedLessons"
1033
- ]
1034
- },
1035
- {
1036
- "type": "stat-display",
1037
- "label": "AverageScore",
1038
- "value": [
1039
- "object/get",
1040
- [
1041
- "array/first",
1042
- "@entity"
1043
- ],
1044
- "averageScore"
1045
- ]
1046
- },
1047
- {
1048
- "type": "stat-display",
1049
- "label": "Streak",
1050
- "value": [
1051
- "object/get",
1052
- [
1053
- "array/first",
1054
- "@entity"
1055
- ],
1056
- "streak"
1057
- ]
1058
1807
  }
1059
1808
  ]
1060
1809
  }
@@ -1076,96 +1825,236 @@
1076
1825
  "render-ui",
1077
1826
  "main",
1078
1827
  {
1079
- "type": "stack",
1080
- "direction": "vertical",
1081
- "gap": "lg",
1828
+ "type": "game-shell",
1829
+ "appName": "Coding Academy",
1830
+ "showTopBar": true,
1082
1831
  "children": [
1083
1832
  {
1084
- "type": "stack",
1085
- "direction": "horizontal",
1086
- "gap": "md",
1087
- "justify": "space-between",
1833
+ "type": "scaled-diagram",
1088
1834
  "children": [
1089
1835
  {
1090
1836
  "type": "stack",
1091
- "direction": "horizontal",
1092
- "gap": "md",
1837
+ "direction": "vertical",
1838
+ "gap": "lg",
1093
1839
  "children": [
1094
1840
  {
1095
- "type": "icon",
1096
- "name": "trending-up",
1097
- "size": "lg"
1841
+ "type": "breadcrumb",
1842
+ "items": [
1843
+ {
1844
+ "label": "Home",
1845
+ "href": "/"
1846
+ },
1847
+ {
1848
+ "label": "Progress"
1849
+ }
1850
+ ]
1098
1851
  },
1099
1852
  {
1100
- "type": "typography",
1101
- "content": "Progress",
1102
- "variant": "h2"
1853
+ "type": "stack",
1854
+ "direction": "horizontal",
1855
+ "gap": "md",
1856
+ "justify": "space-between",
1857
+ "children": [
1858
+ {
1859
+ "type": "stack",
1860
+ "direction": "horizontal",
1861
+ "gap": "md",
1862
+ "children": [
1863
+ {
1864
+ "type": "icon",
1865
+ "name": "trending-up",
1866
+ "size": "lg"
1867
+ },
1868
+ {
1869
+ "type": "typography",
1870
+ "content": "Progress",
1871
+ "variant": "h2"
1872
+ }
1873
+ ]
1874
+ },
1875
+ {
1876
+ "type": "button",
1877
+ "label": "Refresh",
1878
+ "event": "REFRESH",
1879
+ "variant": "secondary",
1880
+ "icon": "refresh-cw"
1881
+ }
1882
+ ]
1883
+ },
1884
+ {
1885
+ "type": "divider"
1886
+ },
1887
+ {
1888
+ "type": "box",
1889
+ "padding": "md",
1890
+ "children": [
1891
+ {
1892
+ "type": "simple-grid",
1893
+ "columns": 3,
1894
+ "children": [
1895
+ {
1896
+ "type": "stat-display",
1897
+ "label": "TotalLessons",
1898
+ "value": [
1899
+ "object/get",
1900
+ [
1901
+ "array/first",
1902
+ "@entity"
1903
+ ],
1904
+ "totalLessons"
1905
+ ]
1906
+ },
1907
+ {
1908
+ "type": "stat-display",
1909
+ "label": "CompletedLessons",
1910
+ "value": [
1911
+ "object/get",
1912
+ [
1913
+ "array/first",
1914
+ "@entity"
1915
+ ],
1916
+ "completedLessons"
1917
+ ]
1918
+ },
1919
+ {
1920
+ "type": "stat-display",
1921
+ "label": "AverageScore",
1922
+ "value": [
1923
+ "object/get",
1924
+ [
1925
+ "array/first",
1926
+ "@entity"
1927
+ ],
1928
+ "averageScore"
1929
+ ]
1930
+ },
1931
+ {
1932
+ "type": "stat-display",
1933
+ "label": "Streak",
1934
+ "value": [
1935
+ "object/get",
1936
+ [
1937
+ "array/first",
1938
+ "@entity"
1939
+ ],
1940
+ "streak"
1941
+ ]
1942
+ }
1943
+ ]
1944
+ }
1945
+ ]
1946
+ },
1947
+ {
1948
+ "type": "divider"
1949
+ },
1950
+ {
1951
+ "type": "grid",
1952
+ "columns": 2,
1953
+ "gap": "md",
1954
+ "children": [
1955
+ {
1956
+ "type": "card",
1957
+ "children": [
1958
+ {
1959
+ "type": "typography",
1960
+ "variant": "caption",
1961
+ "content": "Chart View"
1962
+ }
1963
+ ]
1964
+ },
1965
+ {
1966
+ "type": "card",
1967
+ "children": [
1968
+ {
1969
+ "type": "typography",
1970
+ "variant": "caption",
1971
+ "content": "Graph View"
1972
+ }
1973
+ ]
1974
+ }
1975
+ ]
1976
+ },
1977
+ {
1978
+ "type": "line-chart",
1979
+ "data": [
1980
+ {
1981
+ "date": "Jan",
1982
+ "value": 12
1983
+ },
1984
+ {
1985
+ "date": "Feb",
1986
+ "value": 19
1987
+ },
1988
+ {
1989
+ "date": "Mar",
1990
+ "value": 15
1991
+ },
1992
+ {
1993
+ "date": "Apr",
1994
+ "value": 25
1995
+ },
1996
+ {
1997
+ "date": "May",
1998
+ "value": 22
1999
+ },
2000
+ {
2001
+ "date": "Jun",
2002
+ "value": 30
2003
+ }
2004
+ ],
2005
+ "xKey": "date",
2006
+ "yKey": "value",
2007
+ "title": "Trend"
2008
+ },
2009
+ {
2010
+ "type": "chart-legend",
2011
+ "items": [
2012
+ {
2013
+ "label": "Current",
2014
+ "color": "primary"
2015
+ },
2016
+ {
2017
+ "label": "Previous",
2018
+ "color": "muted"
2019
+ }
2020
+ ]
2021
+ },
2022
+ {
2023
+ "type": "graph-view",
2024
+ "nodes": [
2025
+ {
2026
+ "id": "a",
2027
+ "label": "Start",
2028
+ "x": 50,
2029
+ "y": 100
2030
+ },
2031
+ {
2032
+ "id": "b",
2033
+ "label": "Process",
2034
+ "x": 200,
2035
+ "y": 50
2036
+ },
2037
+ {
2038
+ "id": "c",
2039
+ "label": "End",
2040
+ "x": 350,
2041
+ "y": 100
2042
+ }
2043
+ ],
2044
+ "edges": [
2045
+ {
2046
+ "from": "a",
2047
+ "to": "b"
2048
+ },
2049
+ {
2050
+ "from": "b",
2051
+ "to": "c"
2052
+ }
2053
+ ],
2054
+ "width": 400,
2055
+ "height": 200
1103
2056
  }
1104
2057
  ]
1105
- },
1106
- {
1107
- "type": "button",
1108
- "label": "Refresh",
1109
- "event": "REFRESH",
1110
- "variant": "secondary",
1111
- "icon": "refresh-cw"
1112
- }
1113
- ]
1114
- },
1115
- {
1116
- "type": "divider"
1117
- },
1118
- {
1119
- "type": "simple-grid",
1120
- "columns": 3,
1121
- "children": [
1122
- {
1123
- "type": "stat-display",
1124
- "label": "TotalLessons",
1125
- "value": [
1126
- "object/get",
1127
- [
1128
- "array/first",
1129
- "@entity"
1130
- ],
1131
- "totalLessons"
1132
- ]
1133
- },
1134
- {
1135
- "type": "stat-display",
1136
- "label": "CompletedLessons",
1137
- "value": [
1138
- "object/get",
1139
- [
1140
- "array/first",
1141
- "@entity"
1142
- ],
1143
- "completedLessons"
1144
- ]
1145
- },
1146
- {
1147
- "type": "stat-display",
1148
- "label": "AverageScore",
1149
- "value": [
1150
- "object/get",
1151
- [
1152
- "array/first",
1153
- "@entity"
1154
- ],
1155
- "averageScore"
1156
- ]
1157
- },
1158
- {
1159
- "type": "stat-display",
1160
- "label": "Streak",
1161
- "value": [
1162
- "object/get",
1163
- [
1164
- "array/first",
1165
- "@entity"
1166
- ],
1167
- "streak"
1168
- ]
1169
2058
  }
1170
2059
  ]
1171
2060
  }