@almadar/std 7.4.7 → 7.4.8

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 (297) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
  4. package/behaviors/registry/atoms/std-agent-completion.orb +92 -92
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
  7. package/behaviors/registry/atoms/std-agent-memory.orb +72 -72
  8. package/behaviors/registry/atoms/std-agent-provider.orb +106 -106
  9. package/behaviors/registry/atoms/std-agent-search.orb +38 -38
  10. package/behaviors/registry/atoms/std-agent-session.orb +70 -70
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
  14. package/behaviors/registry/atoms/std-async.orb +224 -132
  15. package/behaviors/registry/atoms/std-autoregressive.orb +60 -60
  16. package/behaviors/registry/atoms/std-browse.orb +59 -59
  17. package/behaviors/registry/atoms/std-cache-aside.orb +322 -306
  18. package/behaviors/registry/atoms/std-calendar.orb +166 -166
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
  20. package/behaviors/registry/atoms/std-collision.orb +133 -133
  21. package/behaviors/registry/atoms/std-combat-log.orb +9 -9
  22. package/behaviors/registry/atoms/std-combat.orb +63 -63
  23. package/behaviors/registry/atoms/std-confirmation.orb +21 -21
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
  25. package/behaviors/registry/atoms/std-display.orb +366 -366
  26. package/behaviors/registry/atoms/std-drawer.orb +119 -119
  27. package/behaviors/registry/atoms/std-filter.orb +94 -94
  28. package/behaviors/registry/atoms/std-flip-card.orb +145 -145
  29. package/behaviors/registry/atoms/std-gallery.orb +51 -51
  30. package/behaviors/registry/atoms/std-game-audio.orb +88 -88
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
  33. package/behaviors/registry/atoms/std-game-hud.orb +15 -15
  34. package/behaviors/registry/atoms/std-game-menu.orb +21 -21
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
  36. package/behaviors/registry/atoms/std-gameflow.orb +44 -44
  37. package/behaviors/registry/atoms/std-input.orb +107 -107
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
  40. package/behaviors/registry/atoms/std-loading.orb +82 -82
  41. package/behaviors/registry/atoms/std-modal.orb +11 -11
  42. package/behaviors/registry/atoms/std-movement.orb +285 -285
  43. package/behaviors/registry/atoms/std-notification.orb +60 -60
  44. package/behaviors/registry/atoms/std-overworld.orb +111 -111
  45. package/behaviors/registry/atoms/std-pagination.orb +45 -45
  46. package/behaviors/registry/atoms/std-physics2d.orb +77 -77
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
  48. package/behaviors/registry/atoms/std-push.orb +44 -44
  49. package/behaviors/registry/atoms/std-quest.orb +314 -314
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
  51. package/behaviors/registry/atoms/std-rating.orb +45 -45
  52. package/behaviors/registry/atoms/std-related.orb +38 -38
  53. package/behaviors/registry/atoms/std-score-board.orb +11 -11
  54. package/behaviors/registry/atoms/std-score.orb +125 -125
  55. package/behaviors/registry/atoms/std-search.orb +77 -77
  56. package/behaviors/registry/atoms/std-selection.orb +184 -184
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
  61. package/behaviors/registry/atoms/std-service-email.orb +88 -88
  62. package/behaviors/registry/atoms/std-service-github.orb +88 -88
  63. package/behaviors/registry/atoms/std-service-llm.orb +110 -110
  64. package/behaviors/registry/atoms/std-service-oauth.orb +125 -125
  65. package/behaviors/registry/atoms/std-service-redis.orb +87 -87
  66. package/behaviors/registry/atoms/std-service-storage.orb +101 -101
  67. package/behaviors/registry/atoms/std-service-stripe.orb +99 -99
  68. package/behaviors/registry/atoms/std-service-twilio.orb +103 -103
  69. package/behaviors/registry/atoms/std-service-youtube.orb +111 -111
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
  71. package/behaviors/registry/atoms/std-sort.orb +198 -198
  72. package/behaviors/registry/atoms/std-sprite.orb +54 -54
  73. package/behaviors/registry/atoms/std-tabs.orb +47 -47
  74. package/behaviors/registry/atoms/std-text-effects.orb +125 -125
  75. package/behaviors/registry/atoms/std-theme.orb +114 -114
  76. package/behaviors/registry/atoms/std-timer.orb +298 -298
  77. package/behaviors/registry/atoms/std-undo.orb +186 -186
  78. package/behaviors/registry/atoms/std-upload.orb +88 -88
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
  80. package/behaviors/registry/atoms/std-wizard.orb +261 -261
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
  82. package/behaviors/registry/molecules/std-agent-learner.orb +180 -180
  83. package/behaviors/registry/molecules/std-agent-planner.orb +136 -136
  84. package/behaviors/registry/molecules/std-agent-rag.orb +106 -106
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
  87. package/behaviors/registry/molecules/std-builder-game.orb +20 -20
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
  89. package/behaviors/registry/molecules/std-cart.orb +47 -47
  90. package/behaviors/registry/molecules/std-classifier-game.orb +16 -16
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
  92. package/behaviors/registry/molecules/std-debugger-game.orb +13 -13
  93. package/behaviors/registry/molecules/std-detail.orb +78 -78
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
  96. package/behaviors/registry/molecules/std-filtered-list.orb +4 -4
  97. package/behaviors/registry/molecules/std-form-advanced.orb +134 -134
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
  99. package/behaviors/registry/molecules/std-geospatial.orb +81 -81
  100. package/behaviors/registry/molecules/std-inventory.orb +53 -53
  101. package/behaviors/registry/molecules/std-list.orb +57 -57
  102. package/behaviors/registry/molecules/std-messaging.orb +67 -67
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
  104. package/behaviors/registry/molecules/std-platformer-game.orb +67 -67
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
  107. package/behaviors/registry/molecules/std-quiz.orb +204 -204
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
  115. package/behaviors/registry/molecules/std-simulator-game.orb +18 -18
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
  117. package/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
  118. package/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
  119. package/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
  120. package/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
  121. package/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
  122. package/behaviors/registry/organisms/std-api-gateway.orb +808 -808
  123. package/behaviors/registry/organisms/std-arcade-game.orb +131 -131
  124. package/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
  125. package/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
  126. package/behaviors/registry/organisms/std-cms.orb +393 -393
  127. package/behaviors/registry/organisms/std-coding-academy.orb +397 -397
  128. package/behaviors/registry/organisms/std-crm.orb +751 -751
  129. package/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
  130. package/behaviors/registry/organisms/std-ecommerce.orb +858 -858
  131. package/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
  132. package/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
  133. package/behaviors/registry/organisms/std-helpdesk.orb +635 -635
  134. package/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
  135. package/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
  136. package/behaviors/registry/organisms/std-lms.orb +834 -834
  137. package/behaviors/registry/organisms/std-logic-training.orb +73 -73
  138. package/behaviors/registry/organisms/std-platformer-app.orb +209 -209
  139. package/behaviors/registry/organisms/std-project-manager.orb +661 -661
  140. package/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
  141. package/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
  142. package/behaviors/registry/organisms/std-rpg-game.orb +630 -630
  143. package/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
  144. package/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
  145. package/behaviors/registry/organisms/std-social-feed.orb +188 -188
  146. package/behaviors/registry/organisms/std-stem-lab.orb +374 -374
  147. package/behaviors/registry/organisms/std-strategy-game.orb +472 -472
  148. package/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
  149. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +45 -45
  150. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +161 -161
  151. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +98 -98
  152. package/dist/behaviors/registry/atoms/std-agent-completion.orb +92 -92
  153. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +366 -366
  154. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +155 -155
  155. package/dist/behaviors/registry/atoms/std-agent-memory.orb +72 -72
  156. package/dist/behaviors/registry/atoms/std-agent-provider.orb +106 -106
  157. package/dist/behaviors/registry/atoms/std-agent-search.orb +38 -38
  158. package/dist/behaviors/registry/atoms/std-agent-session.orb +70 -70
  159. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +175 -175
  160. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +342 -342
  161. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +68 -68
  162. package/dist/behaviors/registry/atoms/std-async.orb +224 -132
  163. package/dist/behaviors/registry/atoms/std-autoregressive.orb +60 -60
  164. package/dist/behaviors/registry/atoms/std-browse.orb +59 -59
  165. package/dist/behaviors/registry/atoms/std-cache-aside.orb +322 -306
  166. package/dist/behaviors/registry/atoms/std-calendar.orb +166 -166
  167. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +196 -196
  168. package/dist/behaviors/registry/atoms/std-collision.orb +133 -133
  169. package/dist/behaviors/registry/atoms/std-combat-log.orb +9 -9
  170. package/dist/behaviors/registry/atoms/std-combat.orb +63 -63
  171. package/dist/behaviors/registry/atoms/std-confirmation.orb +21 -21
  172. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +22 -22
  173. package/dist/behaviors/registry/atoms/std-display.orb +366 -366
  174. package/dist/behaviors/registry/atoms/std-drawer.orb +119 -119
  175. package/dist/behaviors/registry/atoms/std-filter.orb +94 -94
  176. package/dist/behaviors/registry/atoms/std-flip-card.orb +145 -145
  177. package/dist/behaviors/registry/atoms/std-gallery.orb +51 -51
  178. package/dist/behaviors/registry/atoms/std-game-audio.orb +88 -88
  179. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +39 -39
  180. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +50 -50
  181. package/dist/behaviors/registry/atoms/std-game-hud.orb +15 -15
  182. package/dist/behaviors/registry/atoms/std-game-menu.orb +21 -21
  183. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +17 -17
  184. package/dist/behaviors/registry/atoms/std-gameflow.orb +44 -44
  185. package/dist/behaviors/registry/atoms/std-input.orb +107 -107
  186. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +26 -26
  187. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +54 -54
  188. package/dist/behaviors/registry/atoms/std-loading.orb +82 -82
  189. package/dist/behaviors/registry/atoms/std-modal.orb +11 -11
  190. package/dist/behaviors/registry/atoms/std-movement.orb +285 -285
  191. package/dist/behaviors/registry/atoms/std-notification.orb +60 -60
  192. package/dist/behaviors/registry/atoms/std-overworld.orb +111 -111
  193. package/dist/behaviors/registry/atoms/std-pagination.orb +45 -45
  194. package/dist/behaviors/registry/atoms/std-physics2d.orb +77 -77
  195. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +26 -26
  196. package/dist/behaviors/registry/atoms/std-push.orb +44 -44
  197. package/dist/behaviors/registry/atoms/std-quest.orb +314 -314
  198. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +199 -199
  199. package/dist/behaviors/registry/atoms/std-rating.orb +45 -45
  200. package/dist/behaviors/registry/atoms/std-related.orb +38 -38
  201. package/dist/behaviors/registry/atoms/std-score-board.orb +11 -11
  202. package/dist/behaviors/registry/atoms/std-score.orb +125 -125
  203. package/dist/behaviors/registry/atoms/std-search.orb +77 -77
  204. package/dist/behaviors/registry/atoms/std-selection.orb +184 -184
  205. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +80 -80
  206. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +80 -80
  207. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +72 -72
  208. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +66 -66
  209. package/dist/behaviors/registry/atoms/std-service-email.orb +88 -88
  210. package/dist/behaviors/registry/atoms/std-service-github.orb +88 -88
  211. package/dist/behaviors/registry/atoms/std-service-llm.orb +110 -110
  212. package/dist/behaviors/registry/atoms/std-service-oauth.orb +125 -125
  213. package/dist/behaviors/registry/atoms/std-service-redis.orb +87 -87
  214. package/dist/behaviors/registry/atoms/std-service-storage.orb +101 -101
  215. package/dist/behaviors/registry/atoms/std-service-stripe.orb +99 -99
  216. package/dist/behaviors/registry/atoms/std-service-twilio.orb +103 -103
  217. package/dist/behaviors/registry/atoms/std-service-youtube.orb +111 -111
  218. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +21 -21
  219. package/dist/behaviors/registry/atoms/std-sort.orb +198 -198
  220. package/dist/behaviors/registry/atoms/std-sprite.orb +54 -54
  221. package/dist/behaviors/registry/atoms/std-tabs.orb +47 -47
  222. package/dist/behaviors/registry/atoms/std-text-effects.orb +125 -125
  223. package/dist/behaviors/registry/atoms/std-theme.orb +114 -114
  224. package/dist/behaviors/registry/atoms/std-timer.orb +298 -298
  225. package/dist/behaviors/registry/atoms/std-undo.orb +186 -186
  226. package/dist/behaviors/registry/atoms/std-upload.orb +88 -88
  227. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +60 -60
  228. package/dist/behaviors/registry/atoms/std-wizard.orb +261 -261
  229. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +167 -167
  230. package/dist/behaviors/registry/molecules/std-agent-learner.orb +180 -180
  231. package/dist/behaviors/registry/molecules/std-agent-planner.orb +136 -136
  232. package/dist/behaviors/registry/molecules/std-agent-rag.orb +106 -106
  233. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +196 -196
  234. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +9 -9
  235. package/dist/behaviors/registry/molecules/std-builder-game.orb +20 -20
  236. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +1 -1
  237. package/dist/behaviors/registry/molecules/std-cart.orb +47 -47
  238. package/dist/behaviors/registry/molecules/std-classifier-game.orb +16 -16
  239. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +7 -7
  240. package/dist/behaviors/registry/molecules/std-debugger-game.orb +13 -13
  241. package/dist/behaviors/registry/molecules/std-detail.orb +78 -78
  242. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +6 -6
  243. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +18 -18
  244. package/dist/behaviors/registry/molecules/std-filtered-list.orb +4 -4
  245. package/dist/behaviors/registry/molecules/std-form-advanced.orb +134 -134
  246. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +4 -4
  247. package/dist/behaviors/registry/molecules/std-geospatial.orb +81 -81
  248. package/dist/behaviors/registry/molecules/std-inventory.orb +53 -53
  249. package/dist/behaviors/registry/molecules/std-list.orb +57 -57
  250. package/dist/behaviors/registry/molecules/std-messaging.orb +67 -67
  251. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +17 -17
  252. package/dist/behaviors/registry/molecules/std-platformer-game.orb +67 -67
  253. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +3 -3
  254. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +45 -45
  255. package/dist/behaviors/registry/molecules/std-quiz.orb +204 -204
  256. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +1 -1
  257. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +19 -19
  258. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +152 -152
  259. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +128 -128
  260. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +250 -250
  261. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +120 -120
  262. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +111 -111
  263. package/dist/behaviors/registry/molecules/std-simulator-game.orb +18 -18
  264. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +50 -50
  265. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +1233 -1233
  266. package/dist/behaviors/registry/organisms/std-agent-builder.orb +2951 -2951
  267. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +2046 -2046
  268. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +960 -960
  269. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +892 -892
  270. package/dist/behaviors/registry/organisms/std-api-gateway.orb +808 -808
  271. package/dist/behaviors/registry/organisms/std-arcade-game.orb +131 -131
  272. package/dist/behaviors/registry/organisms/std-booking-system.orb +1178 -1178
  273. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +744 -744
  274. package/dist/behaviors/registry/organisms/std-cms.orb +393 -393
  275. package/dist/behaviors/registry/organisms/std-coding-academy.orb +397 -397
  276. package/dist/behaviors/registry/organisms/std-crm.orb +751 -751
  277. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +1405 -1405
  278. package/dist/behaviors/registry/organisms/std-ecommerce.orb +858 -858
  279. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +597 -597
  280. package/dist/behaviors/registry/organisms/std-healthcare.orb +1329 -1329
  281. package/dist/behaviors/registry/organisms/std-helpdesk.orb +635 -635
  282. package/dist/behaviors/registry/organisms/std-hr-portal.orb +1149 -1149
  283. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +824 -824
  284. package/dist/behaviors/registry/organisms/std-lms.orb +834 -834
  285. package/dist/behaviors/registry/organisms/std-logic-training.orb +73 -73
  286. package/dist/behaviors/registry/organisms/std-platformer-app.orb +209 -209
  287. package/dist/behaviors/registry/organisms/std-project-manager.orb +661 -661
  288. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +97 -97
  289. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +670 -670
  290. package/dist/behaviors/registry/organisms/std-rpg-game.orb +630 -630
  291. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +871 -871
  292. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +916 -916
  293. package/dist/behaviors/registry/organisms/std-social-feed.orb +188 -188
  294. package/dist/behaviors/registry/organisms/std-stem-lab.orb +374 -374
  295. package/dist/behaviors/registry/organisms/std-strategy-game.orb +472 -472
  296. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +711 -711
  297. package/package.json +1 -1
@@ -265,52 +265,56 @@
265
265
  "children": [
266
266
  {
267
267
  "type": "stack",
268
+ "gap": "lg",
268
269
  "direction": "vertical",
270
+ "className": "max-w-5xl mx-auto w-full",
269
271
  "children": [
270
272
  {
271
- "justify": "between",
272
- "type": "stack",
273
273
  "gap": "md",
274
- "align": "center",
274
+ "justify": "between",
275
275
  "children": [
276
276
  {
277
- "align": "center",
278
- "type": "stack",
279
277
  "direction": "horizontal",
278
+ "gap": "sm",
279
+ "type": "stack",
280
+ "align": "center",
280
281
  "children": [
281
282
  {
282
- "name": "book-open",
283
- "type": "icon"
283
+ "type": "icon",
284
+ "name": "book-open"
284
285
  },
285
286
  {
287
+ "type": "typography",
286
288
  "content": "Courses",
287
- "variant": "h2",
288
- "type": "typography"
289
+ "variant": "h2"
289
290
  }
290
- ],
291
- "gap": "sm"
291
+ ]
292
292
  },
293
293
  {
294
- "gap": "sm",
295
294
  "children": [
296
295
  {
296
+ "label": "Add Course",
297
297
  "variant": "primary",
298
- "icon": "plus",
299
298
  "action": "CREATE",
300
299
  "type": "button",
301
- "label": "Add Course"
300
+ "icon": "plus"
302
301
  }
303
302
  ],
303
+ "direction": "horizontal",
304
304
  "type": "stack",
305
- "direction": "horizontal"
305
+ "gap": "sm"
306
306
  }
307
307
  ],
308
- "direction": "horizontal"
308
+ "type": "stack",
309
+ "direction": "horizontal",
310
+ "align": "center"
309
311
  },
310
312
  {
311
313
  "type": "divider"
312
314
  },
313
315
  {
316
+ "fields": [],
317
+ "type": "data-grid",
314
318
  "itemActions": [
315
319
  {
316
320
  "variant": "ghost",
@@ -318,9 +322,9 @@
318
322
  "label": "View"
319
323
  },
320
324
  {
321
- "event": "EDIT",
322
325
  "variant": "ghost",
323
- "label": "Edit"
326
+ "label": "Edit",
327
+ "event": "EDIT"
324
328
  },
325
329
  {
326
330
  "label": "Delete",
@@ -328,41 +332,36 @@
328
332
  "variant": "danger"
329
333
  }
330
334
  ],
331
- "fields": [],
332
- "entity": "Course",
333
335
  "columns": [
334
336
  {
335
- "icon": "book-open",
337
+ "name": "title",
336
338
  "variant": "h3",
337
- "name": "title"
339
+ "icon": "book-open"
338
340
  },
339
341
  {
340
342
  "name": "level",
341
343
  "variant": "badge"
342
344
  },
343
345
  {
344
- "name": "instructor",
345
- "variant": "body"
346
+ "variant": "body",
347
+ "name": "instructor"
346
348
  },
347
349
  {
348
- "variant": "body",
349
- "name": "duration"
350
+ "name": "duration",
351
+ "variant": "body"
350
352
  },
351
353
  {
352
- "name": "description",
353
- "variant": "caption"
354
+ "variant": "caption",
355
+ "name": "description"
354
356
  }
355
357
  ],
358
+ "entity": "Course",
356
359
  "cols": 2.0,
357
- "type": "data-grid",
358
360
  "gap": "md"
359
361
  }
360
- ],
361
- "className": "max-w-5xl mx-auto w-full",
362
- "gap": "lg"
362
+ ]
363
363
  }
364
364
  ],
365
- "appName": "LMS",
366
365
  "type": "dashboard-layout",
367
366
  "navItems": [
368
367
  {
@@ -371,16 +370,17 @@
371
370
  "label": "Courses"
372
371
  },
373
372
  {
373
+ "icon": "layout-list",
374
374
  "href": "/enroll",
375
- "label": "Enroll",
376
- "icon": "layout-list"
375
+ "label": "Enroll"
377
376
  },
378
377
  {
379
378
  "href": "/progress",
380
- "label": "Progress",
381
- "icon": "layout-list"
379
+ "icon": "layout-list",
380
+ "label": "Progress"
382
381
  }
383
- ]
382
+ ],
383
+ "appName": "LMS"
384
384
  }
385
385
  ]
386
386
  ]
@@ -567,28 +567,31 @@
567
567
  "render-ui",
568
568
  "modal",
569
569
  {
570
+ "type": "stack",
570
571
  "children": [
571
572
  {
572
573
  "gap": "sm",
573
574
  "direction": "horizontal",
574
- "type": "stack",
575
575
  "children": [
576
576
  {
577
- "type": "icon",
578
- "name": "plus-circle"
577
+ "name": "plus-circle",
578
+ "type": "icon"
579
579
  },
580
580
  {
581
- "content": "New Course",
581
+ "variant": "h3",
582
582
  "type": "typography",
583
- "variant": "h3"
583
+ "content": "New Course"
584
584
  }
585
- ]
585
+ ],
586
+ "type": "stack"
586
587
  },
587
588
  {
588
589
  "type": "divider"
589
590
  },
590
591
  {
591
- "type": "form-section",
592
+ "submitEvent": "SAVE",
593
+ "cancelEvent": "CLOSE",
594
+ "entity": "Course",
592
595
  "fields": [
593
596
  "title",
594
597
  "description",
@@ -596,15 +599,12 @@
596
599
  "duration",
597
600
  "level"
598
601
  ],
599
- "submitEvent": "SAVE",
600
- "cancelEvent": "CLOSE",
601
602
  "mode": "create",
602
- "entity": "Course"
603
+ "type": "form-section"
603
604
  }
604
605
  ],
605
- "gap": "md",
606
- "type": "stack",
607
- "direction": "vertical"
606
+ "direction": "vertical",
607
+ "gap": "md"
608
608
  }
609
609
  ]
610
610
  ]
@@ -843,8 +843,8 @@
843
843
  {
844
844
  "id": "@payload.id",
845
845
  "emit": {
846
- "success": "CourseLoaded",
847
- "failure": "CourseLoadFailed"
846
+ "failure": "CourseLoadFailed",
847
+ "success": "CourseLoaded"
848
848
  }
849
849
  }
850
850
  ],
@@ -852,34 +852,34 @@
852
852
  "render-ui",
853
853
  "modal",
854
854
  {
855
+ "gap": "md",
855
856
  "type": "stack",
856
857
  "direction": "vertical",
857
858
  "children": [
858
859
  {
859
- "direction": "horizontal",
860
+ "type": "stack",
861
+ "gap": "sm",
860
862
  "children": [
861
863
  {
862
- "name": "edit",
863
- "type": "icon"
864
+ "type": "icon",
865
+ "name": "edit"
864
866
  },
865
867
  {
866
868
  "type": "typography",
867
- "variant": "h3",
868
- "content": "Edit Course"
869
+ "content": "Edit Course",
870
+ "variant": "h3"
869
871
  }
870
872
  ],
871
- "type": "stack",
872
- "gap": "sm"
873
+ "direction": "horizontal"
873
874
  },
874
875
  {
875
876
  "type": "divider"
876
877
  },
877
878
  {
878
- "mode": "edit",
879
- "entityId": "@entity.id",
880
- "type": "form-section",
881
- "entity": "Course",
879
+ "cancelEvent": "CLOSE",
882
880
  "submitEvent": "SAVE",
881
+ "entity": "Course",
882
+ "type": "form-section",
883
883
  "fields": [
884
884
  "title",
885
885
  "description",
@@ -887,10 +887,10 @@
887
887
  "duration",
888
888
  "level"
889
889
  ],
890
- "cancelEvent": "CLOSE"
890
+ "mode": "edit",
891
+ "entityId": "@entity.id"
891
892
  }
892
- ],
893
- "gap": "md"
893
+ ]
894
894
  }
895
895
  ]
896
896
  ]
@@ -1115,8 +1115,8 @@
1115
1115
  {
1116
1116
  "id": "@payload.id",
1117
1117
  "emit": {
1118
- "failure": "CourseLoadFailed",
1119
- "success": "CourseLoaded"
1118
+ "success": "CourseLoaded",
1119
+ "failure": "CourseLoadFailed"
1120
1120
  }
1121
1121
  }
1122
1122
  ],
@@ -1124,13 +1124,11 @@
1124
1124
  "render-ui",
1125
1125
  "modal",
1126
1126
  {
1127
+ "direction": "vertical",
1127
1128
  "gap": "md",
1128
1129
  "type": "stack",
1129
- "direction": "vertical",
1130
1130
  "children": [
1131
1131
  {
1132
- "gap": "sm",
1133
- "direction": "horizontal",
1134
1132
  "align": "center",
1135
1133
  "children": [
1136
1134
  {
@@ -1143,47 +1141,48 @@
1143
1141
  "variant": "h3"
1144
1142
  }
1145
1143
  ],
1146
- "type": "stack"
1144
+ "type": "stack",
1145
+ "direction": "horizontal",
1146
+ "gap": "sm"
1147
1147
  },
1148
1148
  {
1149
1149
  "type": "divider"
1150
1150
  },
1151
1151
  {
1152
1152
  "type": "stack",
1153
+ "gap": "md",
1153
1154
  "children": [
1154
1155
  {
1155
1156
  "type": "typography",
1156
- "content": "Title",
1157
- "variant": "caption"
1157
+ "variant": "caption",
1158
+ "content": "Title"
1158
1159
  },
1159
1160
  {
1160
- "type": "typography",
1161
1161
  "variant": "body",
1162
- "content": "@entity.title"
1162
+ "content": "@entity.title",
1163
+ "type": "typography"
1163
1164
  }
1164
1165
  ],
1165
- "gap": "md",
1166
1166
  "direction": "horizontal"
1167
1167
  },
1168
1168
  {
1169
- "direction": "horizontal",
1170
- "type": "stack",
1171
- "gap": "md",
1172
1169
  "children": [
1173
1170
  {
1174
- "type": "typography",
1171
+ "variant": "caption",
1175
1172
  "content": "Description",
1176
- "variant": "caption"
1173
+ "type": "typography"
1177
1174
  },
1178
1175
  {
1179
1176
  "type": "typography",
1180
- "content": "@entity.description",
1181
- "variant": "body"
1177
+ "variant": "body",
1178
+ "content": "@entity.description"
1182
1179
  }
1183
- ]
1180
+ ],
1181
+ "direction": "horizontal",
1182
+ "gap": "md",
1183
+ "type": "stack"
1184
1184
  },
1185
1185
  {
1186
- "type": "stack",
1187
1186
  "children": [
1188
1187
  {
1189
1188
  "variant": "caption",
@@ -1191,25 +1190,26 @@
1191
1190
  "content": "Instructor"
1192
1191
  },
1193
1192
  {
1193
+ "content": "@entity.instructor",
1194
1194
  "type": "typography",
1195
- "variant": "body",
1196
- "content": "@entity.instructor"
1195
+ "variant": "body"
1197
1196
  }
1198
1197
  ],
1199
- "gap": "md",
1200
- "direction": "horizontal"
1198
+ "direction": "horizontal",
1199
+ "type": "stack",
1200
+ "gap": "md"
1201
1201
  },
1202
1202
  {
1203
1203
  "direction": "horizontal",
1204
1204
  "children": [
1205
1205
  {
1206
- "content": "Duration",
1206
+ "type": "typography",
1207
1207
  "variant": "caption",
1208
- "type": "typography"
1208
+ "content": "Duration"
1209
1209
  },
1210
1210
  {
1211
- "content": "@entity.duration",
1212
1211
  "variant": "body",
1212
+ "content": "@entity.duration",
1213
1213
  "type": "typography"
1214
1214
  }
1215
1215
  ],
@@ -1217,45 +1217,45 @@
1217
1217
  "gap": "md"
1218
1218
  },
1219
1219
  {
1220
- "type": "stack",
1221
- "direction": "horizontal",
1222
- "gap": "md",
1223
1220
  "children": [
1224
1221
  {
1225
- "content": "Level",
1226
1222
  "type": "typography",
1227
- "variant": "caption"
1223
+ "variant": "caption",
1224
+ "content": "Level"
1228
1225
  },
1229
1226
  {
1230
- "content": "@entity.level",
1231
1227
  "variant": "body",
1228
+ "content": "@entity.level",
1232
1229
  "type": "typography"
1233
1230
  }
1234
- ]
1231
+ ],
1232
+ "type": "stack",
1233
+ "direction": "horizontal",
1234
+ "gap": "md"
1235
1235
  },
1236
1236
  {
1237
1237
  "type": "divider"
1238
1238
  },
1239
1239
  {
1240
+ "gap": "sm",
1240
1241
  "children": [
1241
1242
  {
1243
+ "action": "EDIT",
1244
+ "variant": "primary",
1242
1245
  "type": "button",
1243
1246
  "icon": "edit",
1244
- "label": "Edit",
1245
- "action": "EDIT",
1246
- "variant": "primary"
1247
+ "label": "Edit"
1247
1248
  },
1248
1249
  {
1249
- "type": "button",
1250
+ "label": "Close",
1250
1251
  "variant": "ghost",
1251
- "action": "CLOSE",
1252
- "label": "Close"
1252
+ "type": "button",
1253
+ "action": "CLOSE"
1253
1254
  }
1254
1255
  ],
1255
- "gap": "sm",
1256
- "direction": "horizontal",
1257
1256
  "justify": "end",
1258
- "type": "stack"
1257
+ "type": "stack",
1258
+ "direction": "horizontal"
1259
1259
  }
1260
1260
  ]
1261
1261
  }
@@ -1486,11 +1486,11 @@
1486
1486
  "fetch",
1487
1487
  "Course",
1488
1488
  {
1489
+ "id": "@payload.id",
1489
1490
  "emit": {
1490
1491
  "success": "CourseLoaded",
1491
1492
  "failure": "CourseLoadFailed"
1492
- },
1493
- "id": "@payload.id"
1493
+ }
1494
1494
  }
1495
1495
  ],
1496
1496
  [
@@ -1498,55 +1498,55 @@
1498
1498
  "modal",
1499
1499
  {
1500
1500
  "direction": "vertical",
1501
+ "type": "stack",
1501
1502
  "children": [
1502
1503
  {
1504
+ "type": "stack",
1505
+ "direction": "horizontal",
1506
+ "align": "center",
1507
+ "gap": "sm",
1503
1508
  "children": [
1504
1509
  {
1505
- "name": "alert-triangle",
1506
- "type": "icon"
1510
+ "type": "icon",
1511
+ "name": "alert-triangle"
1507
1512
  },
1508
1513
  {
1509
1514
  "type": "typography",
1510
1515
  "content": "Delete Course",
1511
1516
  "variant": "h3"
1512
1517
  }
1513
- ],
1514
- "gap": "sm",
1515
- "align": "center",
1516
- "type": "stack",
1517
- "direction": "horizontal"
1518
+ ]
1518
1519
  },
1519
1520
  {
1520
1521
  "type": "divider"
1521
1522
  },
1522
1523
  {
1524
+ "type": "alert",
1523
1525
  "message": "This action cannot be undone.",
1524
- "variant": "error",
1525
- "type": "alert"
1526
+ "variant": "error"
1526
1527
  },
1527
1528
  {
1529
+ "type": "stack",
1530
+ "gap": "sm",
1531
+ "direction": "horizontal",
1532
+ "justify": "end",
1528
1533
  "children": [
1529
1534
  {
1530
1535
  "label": "Cancel",
1531
- "type": "button",
1532
1536
  "action": "CANCEL",
1533
- "variant": "ghost"
1537
+ "variant": "ghost",
1538
+ "type": "button"
1534
1539
  },
1535
1540
  {
1536
- "label": "Delete",
1537
1541
  "action": "CONFIRM_DELETE",
1538
1542
  "variant": "danger",
1539
- "icon": "check",
1540
- "type": "button"
1543
+ "type": "button",
1544
+ "label": "Delete",
1545
+ "icon": "check"
1541
1546
  }
1542
- ],
1543
- "type": "stack",
1544
- "gap": "sm",
1545
- "justify": "end",
1546
- "direction": "horizontal"
1547
+ ]
1547
1548
  }
1548
1549
  ],
1549
- "type": "stack",
1550
1550
  "gap": "md"
1551
1551
  }
1552
1552
  ]
@@ -1862,8 +1862,8 @@
1862
1862
  "Enrollment",
1863
1863
  {
1864
1864
  "emit": {
1865
- "failure": "EnrollmentLoadFailed",
1866
- "success": "EnrollmentLoaded"
1865
+ "success": "EnrollmentLoaded",
1866
+ "failure": "EnrollmentLoadFailed"
1867
1867
  }
1868
1868
  }
1869
1869
  ],
@@ -1871,18 +1871,16 @@
1871
1871
  "render-ui",
1872
1872
  "main",
1873
1873
  {
1874
- "appName": "LMS",
1875
- "type": "dashboard-layout",
1876
1874
  "navItems": [
1877
1875
  {
1878
- "icon": "book-open",
1876
+ "label": "Courses",
1879
1877
  "href": "/courses",
1880
- "label": "Courses"
1878
+ "icon": "book-open"
1881
1879
  },
1882
1880
  {
1883
- "icon": "layout-list",
1884
1881
  "href": "/enroll",
1885
- "label": "Enroll"
1882
+ "label": "Enroll",
1883
+ "icon": "layout-list"
1886
1884
  },
1887
1885
  {
1888
1886
  "href": "/progress",
@@ -1890,86 +1888,88 @@
1890
1888
  "icon": "layout-list"
1891
1889
  }
1892
1890
  ],
1891
+ "type": "dashboard-layout",
1893
1892
  "children": [
1894
1893
  {
1895
- "type": "container",
1896
- "maxWidth": "lg",
1894
+ "padding": "lg",
1897
1895
  "children": [
1898
1896
  {
1899
- "direction": "vertical",
1897
+ "gap": "lg",
1898
+ "type": "stack",
1900
1899
  "children": [
1901
1900
  {
1902
- "align": "center",
1903
- "type": "stack",
1904
- "gap": "sm",
1905
- "direction": "horizontal",
1906
1901
  "children": [
1907
1902
  {
1908
- "type": "icon",
1909
- "name": "user-plus"
1903
+ "name": "user-plus",
1904
+ "type": "icon"
1910
1905
  },
1911
1906
  {
1912
1907
  "type": "typography",
1913
1908
  "variant": "h2",
1914
1909
  "content": "Course Enrollment"
1915
1910
  }
1916
- ]
1911
+ ],
1912
+ "gap": "sm",
1913
+ "direction": "horizontal",
1914
+ "type": "stack",
1915
+ "align": "center"
1917
1916
  },
1918
1917
  {
1919
- "count": 2.0,
1920
1918
  "currentIndex": 0.0,
1921
- "type": "progress-dots"
1919
+ "type": "progress-dots",
1920
+ "count": 2.0
1922
1921
  },
1923
1922
  {
1924
1923
  "currentStep": 0.0,
1924
+ "type": "wizard-progress",
1925
1925
  "steps": [
1926
1926
  "Student Info",
1927
1927
  "Course Selection"
1928
- ],
1929
- "type": "wizard-progress"
1928
+ ]
1930
1929
  },
1931
1930
  {
1932
1931
  "type": "divider"
1933
1932
  },
1934
1933
  {
1934
+ "variant": "h3",
1935
1935
  "type": "typography",
1936
- "content": "Student Info",
1937
- "variant": "h3"
1936
+ "content": "Student Info"
1938
1937
  },
1939
1938
  {
1940
1939
  "entity": "Enrollment",
1941
- "submitEvent": "NEXT",
1942
1940
  "mode": "create",
1943
- "type": "form-section",
1944
- "cancelEvent": "INIT",
1945
1941
  "fields": [
1946
1942
  "studentName",
1947
1943
  "email"
1948
- ]
1944
+ ],
1945
+ "cancelEvent": "INIT",
1946
+ "type": "form-section",
1947
+ "submitEvent": "NEXT"
1949
1948
  },
1950
1949
  {
1951
- "type": "stack",
1952
- "direction": "horizontal",
1953
- "gap": "sm",
1954
1950
  "children": [
1955
1951
  {
1952
+ "icon": "arrow-right",
1956
1953
  "type": "button",
1957
- "label": "Next",
1958
1954
  "variant": "primary",
1959
1955
  "action": "NEXT",
1960
- "icon": "arrow-right"
1956
+ "label": "Next"
1961
1957
  }
1962
1958
  ],
1963
- "justify": "end"
1959
+ "gap": "sm",
1960
+ "direction": "horizontal",
1961
+ "justify": "end",
1962
+ "type": "stack"
1964
1963
  }
1965
1964
  ],
1966
- "gap": "lg",
1967
- "type": "stack"
1965
+ "direction": "vertical"
1968
1966
  }
1969
1967
  ],
1970
- "padding": "lg"
1968
+ "type": "container",
1969
+ "maxWidth": "lg"
1971
1970
  }
1972
- ]
1971
+ ],
1972
+ "appName": "LMS"
1973
1973
  }
1974
1974
  ]
1975
1975
  ]
@@ -1984,8 +1984,8 @@
1984
1984
  "Enrollment",
1985
1985
  {
1986
1986
  "emit": {
1987
- "success": "EnrollmentLoaded",
1988
- "failure": "EnrollmentLoadFailed"
1987
+ "failure": "EnrollmentLoadFailed",
1988
+ "success": "EnrollmentLoaded"
1989
1989
  }
1990
1990
  }
1991
1991
  ],
@@ -1993,30 +1993,32 @@
1993
1993
  "render-ui",
1994
1994
  "main",
1995
1995
  {
1996
+ "appName": "LMS",
1996
1997
  "children": [
1997
1998
  {
1998
1999
  "maxWidth": "lg",
1999
- "type": "container",
2000
2000
  "children": [
2001
2001
  {
2002
+ "gap": "lg",
2002
2003
  "type": "stack",
2004
+ "direction": "vertical",
2003
2005
  "children": [
2004
2006
  {
2005
- "direction": "horizontal",
2006
2007
  "type": "stack",
2007
- "gap": "sm",
2008
- "align": "center",
2008
+ "direction": "horizontal",
2009
2009
  "children": [
2010
2010
  {
2011
- "name": "user-plus",
2012
- "type": "icon"
2011
+ "type": "icon",
2012
+ "name": "user-plus"
2013
2013
  },
2014
2014
  {
2015
- "type": "typography",
2016
2015
  "variant": "h2",
2017
- "content": "Course Enrollment"
2016
+ "content": "Course Enrollment",
2017
+ "type": "typography"
2018
2018
  }
2019
- ]
2019
+ ],
2020
+ "gap": "sm",
2021
+ "align": "center"
2020
2022
  },
2021
2023
  {
2022
2024
  "count": 2.0,
@@ -2024,8 +2026,8 @@
2024
2026
  "currentIndex": 1.0
2025
2027
  },
2026
2028
  {
2027
- "currentStep": 1.0,
2028
2029
  "type": "wizard-progress",
2030
+ "currentStep": 1.0,
2029
2031
  "steps": [
2030
2032
  "Student Info",
2031
2033
  "Course Selection"
@@ -2035,50 +2037,50 @@
2035
2037
  "type": "divider"
2036
2038
  },
2037
2039
  {
2038
- "type": "typography",
2040
+ "variant": "h3",
2039
2041
  "content": "Course Selection",
2040
- "variant": "h3"
2042
+ "type": "typography"
2041
2043
  },
2042
2044
  {
2043
- "mode": "create",
2044
- "type": "form-section",
2045
2045
  "entity": "Enrollment",
2046
- "cancelEvent": "PREV",
2047
2046
  "submitEvent": "NEXT",
2048
2047
  "fields": [
2049
2048
  "courseId"
2050
- ]
2049
+ ],
2050
+ "mode": "create",
2051
+ "cancelEvent": "PREV",
2052
+ "type": "form-section"
2051
2053
  },
2052
2054
  {
2053
- "type": "stack",
2055
+ "justify": "end",
2054
2056
  "direction": "horizontal",
2055
- "gap": "sm",
2056
2057
  "children": [
2057
2058
  {
2058
- "action": "PREV",
2059
- "label": "Back",
2060
2059
  "type": "button",
2061
- "icon": "arrow-left",
2062
- "variant": "ghost"
2060
+ "label": "Back",
2061
+ "action": "PREV",
2062
+ "variant": "ghost",
2063
+ "icon": "arrow-left"
2063
2064
  },
2064
2065
  {
2065
2066
  "type": "button",
2066
- "icon": "arrow-right",
2067
2067
  "variant": "primary",
2068
- "action": "NEXT",
2069
- "label": "Next"
2068
+ "label": "Next",
2069
+ "icon": "arrow-right",
2070
+ "action": "NEXT"
2070
2071
  }
2071
2072
  ],
2072
- "justify": "end"
2073
+ "gap": "sm",
2074
+ "type": "stack"
2073
2075
  }
2074
- ],
2075
- "direction": "vertical",
2076
- "gap": "lg"
2076
+ ]
2077
2077
  }
2078
2078
  ],
2079
+ "type": "container",
2079
2080
  "padding": "lg"
2080
2081
  }
2081
2082
  ],
2083
+ "type": "dashboard-layout",
2082
2084
  "navItems": [
2083
2085
  {
2084
2086
  "icon": "book-open",
@@ -2086,18 +2088,16 @@
2086
2088
  "href": "/courses"
2087
2089
  },
2088
2090
  {
2089
- "label": "Enroll",
2090
2091
  "href": "/enroll",
2091
- "icon": "layout-list"
2092
+ "icon": "layout-list",
2093
+ "label": "Enroll"
2092
2094
  },
2093
2095
  {
2096
+ "href": "/progress",
2094
2097
  "icon": "layout-list",
2095
- "label": "Progress",
2096
- "href": "/progress"
2098
+ "label": "Progress"
2097
2099
  }
2098
- ],
2099
- "type": "dashboard-layout",
2100
- "appName": "LMS"
2100
+ ]
2101
2101
  }
2102
2102
  ]
2103
2103
  ]
@@ -2121,36 +2121,36 @@
2121
2121
  "render-ui",
2122
2122
  "main",
2123
2123
  {
2124
- "appName": "LMS",
2124
+ "type": "dashboard-layout",
2125
2125
  "navItems": [
2126
2126
  {
2127
- "href": "/courses",
2128
2127
  "label": "Courses",
2129
- "icon": "book-open"
2128
+ "icon": "book-open",
2129
+ "href": "/courses"
2130
2130
  },
2131
2131
  {
2132
- "icon": "layout-list",
2133
2132
  "label": "Enroll",
2134
- "href": "/enroll"
2133
+ "href": "/enroll",
2134
+ "icon": "layout-list"
2135
2135
  },
2136
2136
  {
2137
- "label": "Progress",
2138
2137
  "icon": "layout-list",
2138
+ "label": "Progress",
2139
2139
  "href": "/progress"
2140
2140
  }
2141
2141
  ],
2142
+ "appName": "LMS",
2142
2143
  "children": [
2143
2144
  {
2144
- "direction": "vertical",
2145
2145
  "type": "stack",
2146
+ "direction": "vertical",
2147
+ "gap": "lg",
2146
2148
  "children": [
2147
2149
  {
2148
- "type": "stack",
2149
- "gap": "sm",
2150
2150
  "children": [
2151
2151
  {
2152
- "name": "user-plus",
2153
- "type": "icon"
2152
+ "type": "icon",
2153
+ "name": "user-plus"
2154
2154
  },
2155
2155
  {
2156
2156
  "content": "Course Enrollment",
@@ -2159,6 +2159,8 @@
2159
2159
  }
2160
2160
  ],
2161
2161
  "align": "center",
2162
+ "gap": "sm",
2163
+ "type": "stack",
2162
2164
  "direction": "horizontal"
2163
2165
  },
2164
2166
  {
@@ -2166,32 +2168,29 @@
2166
2168
  "label": "Review"
2167
2169
  },
2168
2170
  {
2171
+ "currentStep": 2.0,
2169
2172
  "steps": [
2170
2173
  "Student Info",
2171
2174
  "Course Selection"
2172
2175
  ],
2173
- "currentStep": 2.0,
2174
2176
  "type": "wizard-progress"
2175
2177
  },
2176
2178
  {
2177
2179
  "type": "divider"
2178
2180
  },
2179
2181
  {
2180
- "type": "stack",
2181
- "direction": "vertical",
2182
- "gap": "sm",
2183
2182
  "children": [
2184
2183
  {
2185
2184
  "children": [
2186
2185
  {
2187
- "content": "Student Name",
2188
2186
  "type": "typography",
2189
- "variant": "caption"
2187
+ "variant": "caption",
2188
+ "content": "Student Name"
2190
2189
  },
2191
2190
  {
2191
+ "variant": "body",
2192
2192
  "content": "@entity.studentName",
2193
- "type": "typography",
2194
- "variant": "body"
2193
+ "type": "typography"
2195
2194
  }
2196
2195
  ],
2197
2196
  "direction": "horizontal",
@@ -2200,28 +2199,29 @@
2200
2199
  "justify": "between"
2201
2200
  },
2202
2201
  {
2203
- "justify": "between",
2204
2202
  "type": "stack",
2205
- "direction": "horizontal",
2203
+ "justify": "between",
2206
2204
  "children": [
2207
2205
  {
2206
+ "content": "Email",
2208
2207
  "type": "typography",
2209
- "variant": "caption",
2210
- "content": "Email"
2208
+ "variant": "caption"
2211
2209
  },
2212
2210
  {
2213
- "variant": "body",
2214
2211
  "content": "@entity.email",
2215
- "type": "typography"
2212
+ "type": "typography",
2213
+ "variant": "body"
2216
2214
  }
2217
2215
  ],
2218
- "gap": "md"
2216
+ "gap": "md",
2217
+ "direction": "horizontal"
2219
2218
  },
2220
2219
  {
2220
+ "gap": "md",
2221
2221
  "children": [
2222
2222
  {
2223
- "variant": "caption",
2224
2223
  "content": "Course Id",
2224
+ "variant": "caption",
2225
2225
  "type": "typography"
2226
2226
  },
2227
2227
  {
@@ -2230,12 +2230,14 @@
2230
2230
  "content": "@entity.courseId"
2231
2231
  }
2232
2232
  ],
2233
- "gap": "md",
2233
+ "justify": "between",
2234
2234
  "type": "stack",
2235
- "direction": "horizontal",
2236
- "justify": "between"
2235
+ "direction": "horizontal"
2237
2236
  },
2238
2237
  {
2238
+ "justify": "between",
2239
+ "gap": "md",
2240
+ "type": "stack",
2239
2241
  "children": [
2240
2242
  {
2241
2243
  "type": "typography",
@@ -2243,49 +2245,47 @@
2243
2245
  "content": "Enrolled At"
2244
2246
  },
2245
2247
  {
2246
- "variant": "body",
2248
+ "type": "typography",
2247
2249
  "content": "@entity.enrolledAt",
2248
- "type": "typography"
2250
+ "variant": "body"
2249
2251
  }
2250
2252
  ],
2251
- "gap": "md",
2252
- "type": "stack",
2253
- "justify": "between",
2254
2253
  "direction": "horizontal"
2255
2254
  },
2256
2255
  {
2257
- "gap": "md",
2258
- "type": "stack",
2259
- "justify": "between",
2260
- "direction": "horizontal",
2261
2256
  "children": [
2262
2257
  {
2263
2258
  "content": "Status",
2264
- "variant": "caption",
2265
- "type": "typography"
2259
+ "type": "typography",
2260
+ "variant": "caption"
2266
2261
  },
2267
2262
  {
2268
2263
  "type": "typography",
2269
- "content": "@entity.status",
2270
- "variant": "body"
2264
+ "variant": "body",
2265
+ "content": "@entity.status"
2271
2266
  }
2272
- ]
2267
+ ],
2268
+ "gap": "md",
2269
+ "justify": "between",
2270
+ "direction": "horizontal",
2271
+ "type": "stack"
2273
2272
  }
2274
- ]
2273
+ ],
2274
+ "direction": "vertical",
2275
+ "gap": "sm",
2276
+ "type": "stack"
2275
2277
  },
2276
2278
  {
2277
- "showNext": false,
2278
2279
  "showBack": true,
2280
+ "showNext": false,
2279
2281
  "showComplete": true,
2280
- "totalSteps": 3.0,
2282
+ "type": "wizard-navigation",
2281
2283
  "currentStep": 2.0,
2282
- "type": "wizard-navigation"
2284
+ "totalSteps": 3.0
2283
2285
  }
2284
- ],
2285
- "gap": "lg"
2286
+ ]
2286
2287
  }
2287
- ],
2288
- "type": "dashboard-layout"
2288
+ ]
2289
2289
  }
2290
2290
  ]
2291
2291
  ]
@@ -2300,8 +2300,8 @@
2300
2300
  "Enrollment",
2301
2301
  {
2302
2302
  "emit": {
2303
- "failure": "EnrollmentLoadFailed",
2304
- "success": "EnrollmentLoaded"
2303
+ "success": "EnrollmentLoaded",
2304
+ "failure": "EnrollmentLoadFailed"
2305
2305
  }
2306
2306
  }
2307
2307
  ],
@@ -2309,103 +2309,103 @@
2309
2309
  "render-ui",
2310
2310
  "main",
2311
2311
  {
2312
- "navItems": [
2313
- {
2314
- "icon": "book-open",
2315
- "label": "Courses",
2316
- "href": "/courses"
2317
- },
2318
- {
2319
- "icon": "layout-list",
2320
- "label": "Enroll",
2321
- "href": "/enroll"
2322
- },
2323
- {
2324
- "href": "/progress",
2325
- "icon": "layout-list",
2326
- "label": "Progress"
2327
- }
2328
- ],
2329
2312
  "appName": "LMS",
2330
- "type": "dashboard-layout",
2331
2313
  "children": [
2332
2314
  {
2333
- "type": "container",
2334
2315
  "padding": "lg",
2316
+ "maxWidth": "lg",
2317
+ "type": "container",
2335
2318
  "children": [
2336
2319
  {
2337
- "gap": "lg",
2338
- "direction": "vertical",
2339
2320
  "type": "stack",
2321
+ "direction": "vertical",
2322
+ "gap": "lg",
2340
2323
  "children": [
2341
2324
  {
2342
2325
  "children": [
2343
2326
  {
2344
- "type": "icon",
2345
- "name": "user-plus"
2327
+ "name": "user-plus",
2328
+ "type": "icon"
2346
2329
  },
2347
2330
  {
2331
+ "content": "Course Enrollment",
2348
2332
  "type": "typography",
2349
- "variant": "h2",
2350
- "content": "Course Enrollment"
2333
+ "variant": "h2"
2351
2334
  }
2352
2335
  ],
2353
2336
  "type": "stack",
2354
- "gap": "sm",
2337
+ "direction": "horizontal",
2355
2338
  "align": "center",
2356
- "direction": "horizontal"
2339
+ "gap": "sm"
2357
2340
  },
2358
2341
  {
2359
- "type": "progress-dots",
2360
2342
  "count": 2.0,
2343
+ "type": "progress-dots",
2361
2344
  "currentIndex": 0.0
2362
2345
  },
2363
2346
  {
2364
2347
  "currentStep": 0.0,
2348
+ "type": "wizard-progress",
2365
2349
  "steps": [
2366
2350
  "Student Info",
2367
2351
  "Course Selection"
2368
- ],
2369
- "type": "wizard-progress"
2352
+ ]
2370
2353
  },
2371
2354
  {
2372
2355
  "type": "divider"
2373
2356
  },
2374
2357
  {
2375
- "variant": "h3",
2358
+ "type": "typography",
2376
2359
  "content": "Student Info",
2377
- "type": "typography"
2360
+ "variant": "h3"
2378
2361
  },
2379
2362
  {
2380
- "cancelEvent": "INIT",
2381
- "mode": "create",
2382
- "entity": "Enrollment",
2383
2363
  "submitEvent": "NEXT",
2364
+ "mode": "create",
2384
2365
  "type": "form-section",
2366
+ "entity": "Enrollment",
2367
+ "cancelEvent": "INIT",
2385
2368
  "fields": [
2386
2369
  "studentName",
2387
2370
  "email"
2388
2371
  ]
2389
2372
  },
2390
2373
  {
2374
+ "direction": "horizontal",
2375
+ "gap": "sm",
2391
2376
  "children": [
2392
2377
  {
2393
- "icon": "arrow-right",
2394
2378
  "type": "button",
2379
+ "label": "Next",
2395
2380
  "action": "NEXT",
2396
2381
  "variant": "primary",
2397
- "label": "Next"
2382
+ "icon": "arrow-right"
2398
2383
  }
2399
2384
  ],
2400
- "direction": "horizontal",
2401
2385
  "type": "stack",
2402
- "justify": "end",
2403
- "gap": "sm"
2386
+ "justify": "end"
2404
2387
  }
2405
2388
  ]
2406
2389
  }
2407
- ],
2408
- "maxWidth": "lg"
2390
+ ]
2391
+ }
2392
+ ],
2393
+ "type": "dashboard-layout",
2394
+ "navItems": [
2395
+ {
2396
+ "label": "Courses",
2397
+ "icon": "book-open",
2398
+ "href": "/courses"
2399
+ },
2400
+ {
2401
+ "label": "Enroll",
2402
+ "href": "/enroll",
2403
+ "icon": "layout-list"
2404
+ },
2405
+ {
2406
+ "label": "Progress",
2407
+ "href": "/progress",
2408
+ "icon": "layout-list"
2409
2409
  }
2410
2410
  ]
2411
2411
  }
@@ -2422,8 +2422,8 @@
2422
2422
  "Enrollment",
2423
2423
  {
2424
2424
  "emit": {
2425
- "success": "EnrollmentLoaded",
2426
- "failure": "EnrollmentLoadFailed"
2425
+ "failure": "EnrollmentLoadFailed",
2426
+ "success": "EnrollmentLoaded"
2427
2427
  }
2428
2428
  }
2429
2429
  ],
@@ -2431,11 +2431,12 @@
2431
2431
  "render-ui",
2432
2432
  "main",
2433
2433
  {
2434
+ "type": "dashboard-layout",
2434
2435
  "navItems": [
2435
2436
  {
2437
+ "label": "Courses",
2436
2438
  "href": "/courses",
2437
- "icon": "book-open",
2438
- "label": "Courses"
2439
+ "icon": "book-open"
2439
2440
  },
2440
2441
  {
2441
2442
  "href": "/enroll",
@@ -2443,40 +2444,39 @@
2443
2444
  "label": "Enroll"
2444
2445
  },
2445
2446
  {
2446
- "icon": "layout-list",
2447
+ "href": "/progress",
2447
2448
  "label": "Progress",
2448
- "href": "/progress"
2449
+ "icon": "layout-list"
2449
2450
  }
2450
2451
  ],
2451
- "appName": "LMS",
2452
- "type": "dashboard-layout",
2453
2452
  "children": [
2454
2453
  {
2454
+ "maxWidth": "lg",
2455
2455
  "padding": "lg",
2456
2456
  "children": [
2457
2457
  {
2458
2458
  "children": [
2459
2459
  {
2460
- "direction": "horizontal",
2461
2460
  "type": "stack",
2462
- "gap": "sm",
2463
2461
  "align": "center",
2462
+ "direction": "horizontal",
2464
2463
  "children": [
2465
2464
  {
2466
2465
  "type": "icon",
2467
2466
  "name": "user-plus"
2468
2467
  },
2469
2468
  {
2469
+ "type": "typography",
2470
2470
  "content": "Course Enrollment",
2471
- "variant": "h2",
2472
- "type": "typography"
2471
+ "variant": "h2"
2473
2472
  }
2474
- ]
2473
+ ],
2474
+ "gap": "sm"
2475
2475
  },
2476
2476
  {
2477
- "type": "progress-dots",
2478
2477
  "count": 2.0,
2479
- "currentIndex": 1.0
2478
+ "currentIndex": 1.0,
2479
+ "type": "progress-dots"
2480
2480
  },
2481
2481
  {
2482
2482
  "type": "wizard-progress",
@@ -2491,51 +2491,51 @@
2491
2491
  },
2492
2492
  {
2493
2493
  "type": "typography",
2494
- "variant": "h3",
2495
- "content": "Course Selection"
2494
+ "content": "Course Selection",
2495
+ "variant": "h3"
2496
2496
  },
2497
2497
  {
2498
- "entity": "Enrollment",
2499
2498
  "type": "form-section",
2500
- "mode": "create",
2501
2499
  "submitEvent": "NEXT",
2500
+ "mode": "create",
2501
+ "entity": "Enrollment",
2502
2502
  "cancelEvent": "PREV",
2503
2503
  "fields": [
2504
2504
  "courseId"
2505
2505
  ]
2506
2506
  },
2507
2507
  {
2508
- "direction": "horizontal",
2509
2508
  "gap": "sm",
2509
+ "type": "stack",
2510
+ "justify": "end",
2510
2511
  "children": [
2511
2512
  {
2512
- "type": "button",
2513
- "variant": "ghost",
2514
2513
  "action": "PREV",
2515
- "icon": "arrow-left",
2516
- "label": "Back"
2514
+ "label": "Back",
2515
+ "variant": "ghost",
2516
+ "type": "button",
2517
+ "icon": "arrow-left"
2517
2518
  },
2518
2519
  {
2519
- "variant": "primary",
2520
- "action": "NEXT",
2521
2520
  "type": "button",
2522
2521
  "icon": "arrow-right",
2522
+ "action": "NEXT",
2523
+ "variant": "primary",
2523
2524
  "label": "Next"
2524
2525
  }
2525
2526
  ],
2526
- "justify": "end",
2527
- "type": "stack"
2527
+ "direction": "horizontal"
2528
2528
  }
2529
2529
  ],
2530
+ "direction": "vertical",
2530
2531
  "gap": "lg",
2531
- "type": "stack",
2532
- "direction": "vertical"
2532
+ "type": "stack"
2533
2533
  }
2534
2534
  ],
2535
- "type": "container",
2536
- "maxWidth": "lg"
2535
+ "type": "container"
2537
2536
  }
2538
- ]
2537
+ ],
2538
+ "appName": "LMS"
2539
2539
  }
2540
2540
  ]
2541
2541
  ]
@@ -2560,6 +2560,7 @@
2560
2560
  "render-ui",
2561
2561
  "main",
2562
2562
  {
2563
+ "appName": "LMS",
2563
2564
  "navItems": [
2564
2565
  {
2565
2566
  "href": "/courses",
@@ -2567,9 +2568,9 @@
2567
2568
  "label": "Courses"
2568
2569
  },
2569
2570
  {
2570
- "label": "Enroll",
2571
+ "href": "/enroll",
2571
2572
  "icon": "layout-list",
2572
- "href": "/enroll"
2573
+ "label": "Enroll"
2573
2574
  },
2574
2575
  {
2575
2576
  "label": "Progress",
@@ -2577,22 +2578,19 @@
2577
2578
  "icon": "layout-list"
2578
2579
  }
2579
2580
  ],
2580
- "appName": "LMS",
2581
2581
  "type": "dashboard-layout",
2582
2582
  "children": [
2583
2583
  {
2584
2584
  "align": "center",
2585
- "type": "stack",
2586
- "direction": "vertical",
2587
2585
  "children": [
2588
2586
  {
2589
2587
  "type": "icon",
2590
2588
  "name": "check-circle"
2591
2589
  },
2592
2590
  {
2593
- "variant": "h2",
2591
+ "type": "typography",
2594
2592
  "content": "Enrolled!",
2595
- "type": "typography"
2593
+ "variant": "h2"
2596
2594
  },
2597
2595
  {
2598
2596
  "type": "typography",
@@ -2600,13 +2598,15 @@
2600
2598
  "variant": "body"
2601
2599
  },
2602
2600
  {
2601
+ "label": "Start New",
2602
+ "icon": "refresh-cw",
2603
2603
  "variant": "primary",
2604
- "action": "RESTART",
2605
2604
  "type": "button",
2606
- "label": "Start New",
2607
- "icon": "refresh-cw"
2605
+ "action": "RESTART"
2608
2606
  }
2609
2607
  ],
2608
+ "type": "stack",
2609
+ "direction": "vertical",
2610
2610
  "gap": "lg"
2611
2611
  }
2612
2612
  ]
@@ -2633,61 +2633,62 @@
2633
2633
  "render-ui",
2634
2634
  "main",
2635
2635
  {
2636
+ "type": "dashboard-layout",
2637
+ "appName": "LMS",
2636
2638
  "navItems": [
2637
2639
  {
2638
- "icon": "book-open",
2639
2640
  "label": "Courses",
2640
- "href": "/courses"
2641
+ "href": "/courses",
2642
+ "icon": "book-open"
2641
2643
  },
2642
2644
  {
2643
- "href": "/enroll",
2645
+ "icon": "layout-list",
2644
2646
  "label": "Enroll",
2645
- "icon": "layout-list"
2647
+ "href": "/enroll"
2646
2648
  },
2647
2649
  {
2648
- "icon": "layout-list",
2649
2650
  "href": "/progress",
2650
- "label": "Progress"
2651
+ "label": "Progress",
2652
+ "icon": "layout-list"
2651
2653
  }
2652
2654
  ],
2653
- "appName": "LMS",
2654
2655
  "children": [
2655
2656
  {
2656
- "type": "container",
2657
- "maxWidth": "lg",
2658
2657
  "children": [
2659
2658
  {
2660
2659
  "type": "stack",
2660
+ "gap": "lg",
2661
+ "direction": "vertical",
2661
2662
  "children": [
2662
2663
  {
2663
2664
  "align": "center",
2664
2665
  "children": [
2665
2666
  {
2666
- "name": "user-plus",
2667
- "type": "icon"
2667
+ "type": "icon",
2668
+ "name": "user-plus"
2668
2669
  },
2669
2670
  {
2670
- "type": "typography",
2671
2671
  "variant": "h2",
2672
+ "type": "typography",
2672
2673
  "content": "Course Enrollment"
2673
2674
  }
2674
2675
  ],
2676
+ "type": "stack",
2675
2677
  "gap": "sm",
2676
- "direction": "horizontal",
2677
- "type": "stack"
2678
+ "direction": "horizontal"
2678
2679
  },
2679
2680
  {
2680
- "count": 2.0,
2681
2681
  "type": "progress-dots",
2682
- "currentIndex": 0.0
2682
+ "currentIndex": 0.0,
2683
+ "count": 2.0
2683
2684
  },
2684
2685
  {
2686
+ "type": "wizard-progress",
2685
2687
  "steps": [
2686
2688
  "Student Info",
2687
2689
  "Course Selection"
2688
2690
  ],
2689
- "currentStep": 0.0,
2690
- "type": "wizard-progress"
2691
+ "currentStep": 0.0
2691
2692
  },
2692
2693
  {
2693
2694
  "type": "divider"
@@ -2699,39 +2700,38 @@
2699
2700
  },
2700
2701
  {
2701
2702
  "mode": "create",
2703
+ "submitEvent": "NEXT",
2704
+ "entity": "Enrollment",
2705
+ "cancelEvent": "INIT",
2706
+ "type": "form-section",
2702
2707
  "fields": [
2703
2708
  "studentName",
2704
2709
  "email"
2705
- ],
2706
- "type": "form-section",
2707
- "entity": "Enrollment",
2708
- "submitEvent": "NEXT",
2709
- "cancelEvent": "INIT"
2710
+ ]
2710
2711
  },
2711
2712
  {
2712
2713
  "justify": "end",
2713
- "gap": "sm",
2714
- "direction": "horizontal",
2715
2714
  "children": [
2716
2715
  {
2717
- "icon": "arrow-right",
2718
- "action": "NEXT",
2716
+ "label": "Next",
2719
2717
  "variant": "primary",
2718
+ "action": "NEXT",
2720
2719
  "type": "button",
2721
- "label": "Next"
2720
+ "icon": "arrow-right"
2722
2721
  }
2723
2722
  ],
2724
- "type": "stack"
2723
+ "gap": "sm",
2724
+ "type": "stack",
2725
+ "direction": "horizontal"
2725
2726
  }
2726
- ],
2727
- "gap": "lg",
2728
- "direction": "vertical"
2727
+ ]
2729
2728
  }
2730
2729
  ],
2730
+ "maxWidth": "lg",
2731
+ "type": "container",
2731
2732
  "padding": "lg"
2732
2733
  }
2733
- ],
2734
- "type": "dashboard-layout"
2734
+ ]
2735
2735
  }
2736
2736
  ]
2737
2737
  ]
@@ -2755,103 +2755,103 @@
2755
2755
  "render-ui",
2756
2756
  "main",
2757
2757
  {
2758
+ "type": "dashboard-layout",
2759
+ "navItems": [
2760
+ {
2761
+ "icon": "book-open",
2762
+ "label": "Courses",
2763
+ "href": "/courses"
2764
+ },
2765
+ {
2766
+ "label": "Enroll",
2767
+ "icon": "layout-list",
2768
+ "href": "/enroll"
2769
+ },
2770
+ {
2771
+ "href": "/progress",
2772
+ "icon": "layout-list",
2773
+ "label": "Progress"
2774
+ }
2775
+ ],
2776
+ "appName": "LMS",
2758
2777
  "children": [
2759
2778
  {
2779
+ "maxWidth": "lg",
2780
+ "type": "container",
2781
+ "padding": "lg",
2760
2782
  "children": [
2761
2783
  {
2762
- "type": "stack",
2763
2784
  "direction": "vertical",
2764
- "gap": "lg",
2765
2785
  "children": [
2766
2786
  {
2767
- "align": "center",
2768
- "direction": "horizontal",
2769
- "gap": "sm",
2770
2787
  "children": [
2771
2788
  {
2772
- "name": "user-plus",
2773
- "type": "icon"
2789
+ "type": "icon",
2790
+ "name": "user-plus"
2774
2791
  },
2775
2792
  {
2776
2793
  "variant": "h2",
2777
- "content": "Course Enrollment",
2778
- "type": "typography"
2794
+ "type": "typography",
2795
+ "content": "Course Enrollment"
2779
2796
  }
2780
2797
  ],
2781
- "type": "stack"
2798
+ "direction": "horizontal",
2799
+ "align": "center",
2800
+ "type": "stack",
2801
+ "gap": "sm"
2782
2802
  },
2783
2803
  {
2784
- "type": "progress-dots",
2804
+ "count": 2.0,
2785
2805
  "currentIndex": 0.0,
2786
- "count": 2.0
2806
+ "type": "progress-dots"
2787
2807
  },
2788
2808
  {
2809
+ "type": "wizard-progress",
2810
+ "currentStep": 0.0,
2789
2811
  "steps": [
2790
2812
  "Student Info",
2791
2813
  "Course Selection"
2792
- ],
2793
- "currentStep": 0.0,
2794
- "type": "wizard-progress"
2814
+ ]
2795
2815
  },
2796
2816
  {
2797
2817
  "type": "divider"
2798
2818
  },
2799
2819
  {
2800
- "content": "Student Info",
2801
2820
  "variant": "h3",
2802
- "type": "typography"
2821
+ "type": "typography",
2822
+ "content": "Student Info"
2803
2823
  },
2804
2824
  {
2805
2825
  "mode": "create",
2806
- "submitEvent": "NEXT",
2807
2826
  "cancelEvent": "INIT",
2827
+ "entity": "Enrollment",
2808
2828
  "fields": [
2809
2829
  "studentName",
2810
2830
  "email"
2811
2831
  ],
2812
- "entity": "Enrollment",
2832
+ "submitEvent": "NEXT",
2813
2833
  "type": "form-section"
2814
2834
  },
2815
2835
  {
2816
- "justify": "end",
2817
- "direction": "horizontal",
2818
- "gap": "sm",
2819
2836
  "children": [
2820
2837
  {
2821
- "label": "Next",
2822
2838
  "type": "button",
2839
+ "action": "NEXT",
2840
+ "label": "Next",
2823
2841
  "variant": "primary",
2824
- "icon": "arrow-right",
2825
- "action": "NEXT"
2842
+ "icon": "arrow-right"
2826
2843
  }
2827
2844
  ],
2845
+ "direction": "horizontal",
2846
+ "justify": "end",
2847
+ "gap": "sm",
2828
2848
  "type": "stack"
2829
2849
  }
2830
- ]
2831
- }
2832
- ],
2833
- "maxWidth": "lg",
2834
- "type": "container",
2835
- "padding": "lg"
2836
- }
2837
- ],
2838
- "type": "dashboard-layout",
2839
- "appName": "LMS",
2840
- "navItems": [
2841
- {
2842
- "icon": "book-open",
2843
- "href": "/courses",
2844
- "label": "Courses"
2845
- },
2846
- {
2847
- "label": "Enroll",
2848
- "href": "/enroll",
2849
- "icon": "layout-list"
2850
- },
2851
- {
2852
- "icon": "layout-list",
2853
- "href": "/progress",
2854
- "label": "Progress"
2850
+ ],
2851
+ "gap": "lg",
2852
+ "type": "stack"
2853
+ }
2854
+ ]
2855
2855
  }
2856
2856
  ]
2857
2857
  }
@@ -3059,32 +3059,12 @@
3059
3059
  "render-ui",
3060
3060
  "main",
3061
3061
  {
3062
- "appName": "LMS",
3063
- "type": "dashboard-layout",
3064
- "navItems": [
3065
- {
3066
- "href": "/courses",
3067
- "icon": "book-open",
3068
- "label": "Courses"
3069
- },
3070
- {
3071
- "href": "/enroll",
3072
- "icon": "layout-list",
3073
- "label": "Enroll"
3074
- },
3075
- {
3076
- "href": "/progress",
3077
- "label": "Progress",
3078
- "icon": "layout-list"
3079
- }
3080
- ],
3081
3062
  "children": [
3082
3063
  {
3083
3064
  "type": "scaled-diagram",
3084
3065
  "children": [
3085
3066
  {
3086
3067
  "direction": "vertical",
3087
- "type": "stack",
3088
3068
  "gap": "lg",
3089
3069
  "children": [
3090
3070
  {
@@ -3100,49 +3080,49 @@
3100
3080
  ]
3101
3081
  },
3102
3082
  {
3083
+ "direction": "horizontal",
3103
3084
  "justify": "between",
3085
+ "type": "stack",
3086
+ "gap": "md",
3104
3087
  "children": [
3105
3088
  {
3106
3089
  "children": [
3107
3090
  {
3108
- "name": "trending-up",
3109
- "type": "icon"
3091
+ "type": "icon",
3092
+ "name": "trending-up"
3110
3093
  },
3111
3094
  {
3112
- "content": "Progress",
3095
+ "type": "typography",
3113
3096
  "variant": "h2",
3114
- "type": "typography"
3097
+ "content": "Progress"
3115
3098
  }
3116
3099
  ],
3100
+ "direction": "horizontal",
3117
3101
  "gap": "md",
3118
- "type": "stack",
3119
- "direction": "horizontal"
3102
+ "type": "stack"
3120
3103
  },
3121
3104
  {
3122
- "icon": "refresh-cw",
3123
- "variant": "secondary",
3124
- "type": "button",
3125
3105
  "action": "REFRESH",
3126
- "label": "Refresh"
3106
+ "label": "Refresh",
3107
+ "type": "button",
3108
+ "variant": "secondary",
3109
+ "icon": "refresh-cw"
3127
3110
  }
3128
- ],
3129
- "gap": "md",
3130
- "type": "stack",
3131
- "direction": "horizontal"
3111
+ ]
3132
3112
  },
3133
3113
  {
3134
3114
  "type": "divider"
3135
3115
  },
3136
3116
  {
3137
- "padding": "md",
3138
3117
  "children": [
3139
3118
  {
3119
+ "type": "simple-grid",
3140
3120
  "cols": 3.0,
3141
3121
  "children": [
3142
3122
  {
3123
+ "type": "card",
3143
3124
  "children": [
3144
3125
  {
3145
- "direction": "vertical",
3146
3126
  "children": [
3147
3127
  {
3148
3128
  "type": "typography",
@@ -3150,7 +3130,7 @@
3150
3130
  "content": "CourseName"
3151
3131
  },
3152
3132
  {
3153
- "type": "typography",
3133
+ "variant": "h3",
3154
3134
  "content": [
3155
3135
  "object/get",
3156
3136
  [
@@ -3159,17 +3139,18 @@
3159
3139
  ],
3160
3140
  "courseName"
3161
3141
  ],
3162
- "variant": "h3"
3142
+ "type": "typography"
3163
3143
  }
3164
3144
  ],
3165
- "type": "stack",
3166
- "gap": "sm"
3145
+ "direction": "vertical",
3146
+ "gap": "sm",
3147
+ "type": "stack"
3167
3148
  }
3168
- ],
3169
- "type": "card"
3149
+ ]
3170
3150
  },
3171
3151
  {
3172
3152
  "label": "LessonsCompleted",
3153
+ "type": "stat-display",
3173
3154
  "value": [
3174
3155
  "object/get",
3175
3156
  [
@@ -3177,11 +3158,11 @@
3177
3158
  "@entity"
3178
3159
  ],
3179
3160
  "lessonsCompleted"
3180
- ],
3181
- "type": "stat-display"
3161
+ ]
3182
3162
  },
3183
3163
  {
3184
3164
  "type": "stat-display",
3165
+ "label": "TotalLessons",
3185
3166
  "value": [
3186
3167
  "object/get",
3187
3168
  [
@@ -3189,8 +3170,7 @@
3189
3170
  "@entity"
3190
3171
  ],
3191
3172
  "totalLessons"
3192
- ],
3193
- "label": "TotalLessons"
3173
+ ]
3194
3174
  },
3195
3175
  {
3196
3176
  "value": [
@@ -3208,9 +3188,8 @@
3208
3188
  "type": "card",
3209
3189
  "children": [
3210
3190
  {
3211
- "direction": "vertical",
3212
- "type": "stack",
3213
3191
  "gap": "sm",
3192
+ "type": "stack",
3214
3193
  "children": [
3215
3194
  {
3216
3195
  "type": "typography",
@@ -3218,6 +3197,7 @@
3218
3197
  "content": "LastActivity"
3219
3198
  },
3220
3199
  {
3200
+ "type": "typography",
3221
3201
  "variant": "h3",
3222
3202
  "content": [
3223
3203
  "object/get",
@@ -3226,17 +3206,17 @@
3226
3206
  "@entity"
3227
3207
  ],
3228
3208
  "lastActivity"
3229
- ],
3230
- "type": "typography"
3209
+ ]
3231
3210
  }
3232
- ]
3211
+ ],
3212
+ "direction": "vertical"
3233
3213
  }
3234
3214
  ]
3235
3215
  }
3236
- ],
3237
- "type": "simple-grid"
3216
+ ]
3238
3217
  }
3239
3218
  ],
3219
+ "padding": "md",
3240
3220
  "type": "box"
3241
3221
  },
3242
3222
  {
@@ -3255,14 +3235,14 @@
3255
3235
  ]
3256
3236
  },
3257
3237
  {
3258
- "type": "card",
3259
3238
  "children": [
3260
3239
  {
3261
3240
  "content": "Graph View",
3262
3241
  "type": "typography",
3263
3242
  "variant": "caption"
3264
3243
  }
3265
- ]
3244
+ ],
3245
+ "type": "card"
3266
3246
  }
3267
3247
  ],
3268
3248
  "type": "grid",
@@ -3281,20 +3261,20 @@
3281
3261
  "value": 19.0
3282
3262
  },
3283
3263
  {
3284
- "date": "Mar",
3285
- "value": 15.0
3264
+ "value": 15.0,
3265
+ "date": "Mar"
3286
3266
  },
3287
3267
  {
3288
- "value": 25.0,
3289
- "date": "Apr"
3268
+ "date": "Apr",
3269
+ "value": 25.0
3290
3270
  },
3291
3271
  {
3292
- "value": 22.0,
3293
- "date": "May"
3272
+ "date": "May",
3273
+ "value": 22.0
3294
3274
  },
3295
3275
  {
3296
- "date": "Jun",
3297
- "value": 30.0
3276
+ "value": 30.0,
3277
+ "date": "Jun"
3298
3278
  }
3299
3279
  ]
3300
3280
  },
@@ -3302,55 +3282,75 @@
3302
3282
  "type": "chart-legend",
3303
3283
  "items": [
3304
3284
  {
3305
- "color": "primary",
3306
- "label": "Current"
3285
+ "label": "Current",
3286
+ "color": "primary"
3307
3287
  },
3308
3288
  {
3309
- "color": "muted",
3310
- "label": "Previous"
3289
+ "label": "Previous",
3290
+ "color": "muted"
3311
3291
  }
3312
3292
  ]
3313
3293
  },
3314
3294
  {
3315
- "edges": [
3316
- {
3317
- "from": "a",
3318
- "to": "b"
3319
- },
3320
- {
3321
- "to": "c",
3322
- "from": "b"
3323
- }
3324
- ],
3325
3295
  "width": 400.0,
3296
+ "type": "graph-view",
3297
+ "height": 200.0,
3326
3298
  "nodes": [
3327
3299
  {
3328
3300
  "label": "Start",
3329
- "y": 100.0,
3301
+ "id": "a",
3330
3302
  "x": 50.0,
3331
- "id": "a"
3303
+ "y": 100.0
3332
3304
  },
3333
3305
  {
3334
- "id": "b",
3335
- "y": 50.0,
3336
3306
  "x": 200.0,
3337
- "label": "Process"
3307
+ "label": "Process",
3308
+ "id": "b",
3309
+ "y": 50.0
3338
3310
  },
3339
3311
  {
3312
+ "y": 100.0,
3340
3313
  "x": 350.0,
3341
3314
  "label": "End",
3342
- "y": 100.0,
3343
3315
  "id": "c"
3344
3316
  }
3345
3317
  ],
3346
- "height": 200.0,
3347
- "type": "graph-view"
3318
+ "edges": [
3319
+ {
3320
+ "from": "a",
3321
+ "to": "b"
3322
+ },
3323
+ {
3324
+ "to": "c",
3325
+ "from": "b"
3326
+ }
3327
+ ]
3348
3328
  }
3349
- ]
3329
+ ],
3330
+ "type": "stack"
3350
3331
  }
3351
3332
  ]
3352
3333
  }
3353
- ]
3334
+ ],
3335
+ "type": "dashboard-layout",
3336
+ "navItems": [
3337
+ {
3338
+ "label": "Courses",
3339
+ "href": "/courses",
3340
+ "icon": "book-open"
3341
+ },
3342
+ {
3343
+ "label": "Enroll",
3344
+ "href": "/enroll",
3345
+ "icon": "layout-list"
3346
+ },
3347
+ {
3348
+ "icon": "layout-list",
3349
+ "label": "Progress",
3350
+ "href": "/progress"
3351
+ }
3352
+ ],
3353
+ "appName": "LMS"
3354
3354
  }
3355
3355
  ]
3356
3356
  ]
@@ -3376,13 +3376,10 @@
3376
3376
  {
3377
3377
  "children": [
3378
3378
  {
3379
- "type": "scaled-diagram",
3380
3379
  "children": [
3381
3380
  {
3382
- "direction": "vertical",
3383
3381
  "children": [
3384
3382
  {
3385
- "type": "breadcrumb",
3386
3383
  "items": [
3387
3384
  {
3388
3385
  "label": "Home",
@@ -3391,51 +3388,57 @@
3391
3388
  {
3392
3389
  "label": "Progress"
3393
3390
  }
3394
- ]
3391
+ ],
3392
+ "type": "breadcrumb"
3395
3393
  },
3396
3394
  {
3397
3395
  "justify": "between",
3398
3396
  "children": [
3399
3397
  {
3398
+ "type": "stack",
3399
+ "direction": "horizontal",
3400
3400
  "children": [
3401
3401
  {
3402
- "type": "icon",
3403
- "name": "trending-up"
3402
+ "name": "trending-up",
3403
+ "type": "icon"
3404
3404
  },
3405
3405
  {
3406
- "variant": "h2",
3406
+ "content": "Progress",
3407
3407
  "type": "typography",
3408
- "content": "Progress"
3408
+ "variant": "h2"
3409
3409
  }
3410
3410
  ],
3411
- "direction": "horizontal",
3412
- "gap": "md",
3413
- "type": "stack"
3411
+ "gap": "md"
3414
3412
  },
3415
3413
  {
3416
- "action": "REFRESH",
3417
- "label": "Refresh",
3418
3414
  "type": "button",
3415
+ "label": "Refresh",
3419
3416
  "variant": "secondary",
3420
- "icon": "refresh-cw"
3417
+ "icon": "refresh-cw",
3418
+ "action": "REFRESH"
3421
3419
  }
3422
3420
  ],
3423
- "direction": "horizontal",
3421
+ "gap": "md",
3424
3422
  "type": "stack",
3425
- "gap": "md"
3423
+ "direction": "horizontal"
3426
3424
  },
3427
3425
  {
3428
3426
  "type": "divider"
3429
3427
  },
3430
3428
  {
3429
+ "type": "box",
3430
+ "padding": "md",
3431
3431
  "children": [
3432
3432
  {
3433
- "cols": 3.0,
3433
+ "type": "simple-grid",
3434
3434
  "children": [
3435
3435
  {
3436
3436
  "type": "card",
3437
3437
  "children": [
3438
3438
  {
3439
+ "gap": "sm",
3440
+ "type": "stack",
3441
+ "direction": "vertical",
3439
3442
  "children": [
3440
3443
  {
3441
3444
  "type": "typography",
@@ -3443,7 +3446,6 @@
3443
3446
  "variant": "caption"
3444
3447
  },
3445
3448
  {
3446
- "type": "typography",
3447
3449
  "content": [
3448
3450
  "object/get",
3449
3451
  [
@@ -3452,17 +3454,14 @@
3452
3454
  ],
3453
3455
  "courseName"
3454
3456
  ],
3457
+ "type": "typography",
3455
3458
  "variant": "h3"
3456
3459
  }
3457
- ],
3458
- "type": "stack",
3459
- "gap": "sm",
3460
- "direction": "vertical"
3460
+ ]
3461
3461
  }
3462
3462
  ]
3463
3463
  },
3464
3464
  {
3465
- "type": "stat-display",
3466
3465
  "value": [
3467
3466
  "object/get",
3468
3467
  [
@@ -3471,6 +3470,7 @@
3471
3470
  ],
3472
3471
  "lessonsCompleted"
3473
3472
  ],
3473
+ "type": "stat-display",
3474
3474
  "label": "LessonsCompleted"
3475
3475
  },
3476
3476
  {
@@ -3486,7 +3486,7 @@
3486
3486
  ]
3487
3487
  },
3488
3488
  {
3489
- "type": "stat-display",
3489
+ "label": "PercentComplete",
3490
3490
  "value": [
3491
3491
  "object/get",
3492
3492
  [
@@ -3495,19 +3495,23 @@
3495
3495
  ],
3496
3496
  "percentComplete"
3497
3497
  ],
3498
- "label": "PercentComplete"
3498
+ "type": "stat-display"
3499
3499
  },
3500
3500
  {
3501
+ "type": "card",
3501
3502
  "children": [
3502
3503
  {
3504
+ "type": "stack",
3503
3505
  "gap": "sm",
3506
+ "direction": "vertical",
3504
3507
  "children": [
3505
3508
  {
3509
+ "variant": "caption",
3506
3510
  "content": "LastActivity",
3507
- "type": "typography",
3508
- "variant": "caption"
3511
+ "type": "typography"
3509
3512
  },
3510
3513
  {
3514
+ "variant": "h3",
3511
3515
  "content": [
3512
3516
  "object/get",
3513
3517
  [
@@ -3516,52 +3520,46 @@
3516
3520
  ],
3517
3521
  "lastActivity"
3518
3522
  ],
3519
- "variant": "h3",
3520
3523
  "type": "typography"
3521
3524
  }
3522
- ],
3523
- "type": "stack",
3524
- "direction": "vertical"
3525
+ ]
3525
3526
  }
3526
- ],
3527
- "type": "card"
3527
+ ]
3528
3528
  }
3529
3529
  ],
3530
- "type": "simple-grid"
3530
+ "cols": 3.0
3531
3531
  }
3532
- ],
3533
- "type": "box",
3534
- "padding": "md"
3532
+ ]
3535
3533
  },
3536
3534
  {
3537
3535
  "type": "divider"
3538
3536
  },
3539
3537
  {
3540
3538
  "type": "grid",
3539
+ "cols": 2.0,
3540
+ "gap": "md",
3541
3541
  "children": [
3542
3542
  {
3543
3543
  "type": "card",
3544
3544
  "children": [
3545
3545
  {
3546
+ "variant": "caption",
3546
3547
  "type": "typography",
3547
- "content": "Chart View",
3548
- "variant": "caption"
3548
+ "content": "Chart View"
3549
3549
  }
3550
3550
  ]
3551
3551
  },
3552
3552
  {
3553
3553
  "children": [
3554
3554
  {
3555
- "type": "typography",
3556
3555
  "content": "Graph View",
3557
- "variant": "caption"
3556
+ "variant": "caption",
3557
+ "type": "typography"
3558
3558
  }
3559
3559
  ],
3560
3560
  "type": "card"
3561
3561
  }
3562
- ],
3563
- "gap": "md",
3564
- "cols": 2.0
3562
+ ]
3565
3563
  },
3566
3564
  {
3567
3565
  "type": "line-chart",
@@ -3571,8 +3569,8 @@
3571
3569
  "date": "Jan"
3572
3570
  },
3573
3571
  {
3574
- "value": 19.0,
3575
- "date": "Feb"
3572
+ "date": "Feb",
3573
+ "value": 19.0
3576
3574
  },
3577
3575
  {
3578
3576
  "value": 15.0,
@@ -3583,8 +3581,8 @@
3583
3581
  "value": 25.0
3584
3582
  },
3585
3583
  {
3586
- "value": 22.0,
3587
- "date": "May"
3584
+ "date": "May",
3585
+ "value": 22.0
3588
3586
  },
3589
3587
  {
3590
3588
  "value": 30.0,
@@ -3593,19 +3591,32 @@
3593
3591
  ]
3594
3592
  },
3595
3593
  {
3596
- "type": "chart-legend",
3597
3594
  "items": [
3598
3595
  {
3599
- "color": "primary",
3600
- "label": "Current"
3596
+ "label": "Current",
3597
+ "color": "primary"
3601
3598
  },
3602
3599
  {
3603
3600
  "label": "Previous",
3604
3601
  "color": "muted"
3605
3602
  }
3606
- ]
3603
+ ],
3604
+ "type": "chart-legend"
3607
3605
  },
3608
3606
  {
3607
+ "height": 200.0,
3608
+ "type": "graph-view",
3609
+ "width": 400.0,
3610
+ "edges": [
3611
+ {
3612
+ "from": "a",
3613
+ "to": "b"
3614
+ },
3615
+ {
3616
+ "to": "c",
3617
+ "from": "b"
3618
+ }
3619
+ ],
3609
3620
  "nodes": [
3610
3621
  {
3611
3622
  "id": "a",
@@ -3614,46 +3625,35 @@
3614
3625
  "y": 100.0
3615
3626
  },
3616
3627
  {
3617
- "id": "b",
3618
3628
  "y": 50.0,
3629
+ "x": 200.0,
3619
3630
  "label": "Process",
3620
- "x": 200.0
3631
+ "id": "b"
3621
3632
  },
3622
3633
  {
3623
- "y": 100.0,
3624
- "label": "End",
3634
+ "x": 350.0,
3625
3635
  "id": "c",
3626
- "x": 350.0
3627
- }
3628
- ],
3629
- "type": "graph-view",
3630
- "width": 400.0,
3631
- "edges": [
3632
- {
3633
- "to": "b",
3634
- "from": "a"
3635
- },
3636
- {
3637
- "to": "c",
3638
- "from": "b"
3636
+ "label": "End",
3637
+ "y": 100.0
3639
3638
  }
3640
- ],
3641
- "height": 200.0
3639
+ ]
3642
3640
  }
3643
3641
  ],
3642
+ "direction": "vertical",
3644
3643
  "gap": "lg",
3645
3644
  "type": "stack"
3646
3645
  }
3647
- ]
3646
+ ],
3647
+ "type": "scaled-diagram"
3648
3648
  }
3649
3649
  ],
3650
- "appName": "LMS",
3651
3650
  "type": "dashboard-layout",
3651
+ "appName": "LMS",
3652
3652
  "navItems": [
3653
3653
  {
3654
- "icon": "book-open",
3654
+ "label": "Courses",
3655
3655
  "href": "/courses",
3656
- "label": "Courses"
3656
+ "icon": "book-open"
3657
3657
  },
3658
3658
  {
3659
3659
  "href": "/enroll",
@@ -3662,8 +3662,8 @@
3662
3662
  },
3663
3663
  {
3664
3664
  "icon": "layout-list",
3665
- "label": "Progress",
3666
- "href": "/progress"
3665
+ "href": "/progress",
3666
+ "label": "Progress"
3667
3667
  }
3668
3668
  ]
3669
3669
  }
@@ -3689,11 +3689,13 @@
3689
3689
  "render-ui",
3690
3690
  "main",
3691
3691
  {
3692
+ "type": "dashboard-layout",
3692
3693
  "children": [
3693
3694
  {
3695
+ "type": "scaled-diagram",
3694
3696
  "children": [
3695
3697
  {
3696
- "type": "stack",
3698
+ "gap": "lg",
3697
3699
  "children": [
3698
3700
  {
3699
3701
  "type": "breadcrumb",
@@ -3708,57 +3710,57 @@
3708
3710
  ]
3709
3711
  },
3710
3712
  {
3713
+ "direction": "horizontal",
3714
+ "gap": "md",
3715
+ "type": "stack",
3716
+ "justify": "between",
3711
3717
  "children": [
3712
3718
  {
3713
3719
  "type": "stack",
3720
+ "direction": "horizontal",
3714
3721
  "gap": "md",
3715
3722
  "children": [
3716
3723
  {
3717
- "name": "trending-up",
3718
- "type": "icon"
3724
+ "type": "icon",
3725
+ "name": "trending-up"
3719
3726
  },
3720
3727
  {
3721
- "type": "typography",
3728
+ "variant": "h2",
3722
3729
  "content": "Progress",
3723
- "variant": "h2"
3730
+ "type": "typography"
3724
3731
  }
3725
- ],
3726
- "direction": "horizontal"
3732
+ ]
3727
3733
  },
3728
3734
  {
3729
3735
  "label": "Refresh",
3730
- "action": "REFRESH",
3731
- "icon": "refresh-cw",
3732
3736
  "type": "button",
3733
- "variant": "secondary"
3737
+ "action": "REFRESH",
3738
+ "variant": "secondary",
3739
+ "icon": "refresh-cw"
3734
3740
  }
3735
- ],
3736
- "direction": "horizontal",
3737
- "gap": "md",
3738
- "type": "stack",
3739
- "justify": "between"
3741
+ ]
3740
3742
  },
3741
3743
  {
3742
3744
  "type": "divider"
3743
3745
  },
3744
3746
  {
3745
3747
  "padding": "md",
3746
- "type": "box",
3747
3748
  "children": [
3748
3749
  {
3749
3750
  "type": "simple-grid",
3751
+ "cols": 3.0,
3750
3752
  "children": [
3751
3753
  {
3752
3754
  "children": [
3753
3755
  {
3756
+ "direction": "vertical",
3754
3757
  "children": [
3755
3758
  {
3756
3759
  "variant": "caption",
3757
- "content": "CourseName",
3758
- "type": "typography"
3760
+ "type": "typography",
3761
+ "content": "CourseName"
3759
3762
  },
3760
3763
  {
3761
- "type": "typography",
3762
3764
  "variant": "h3",
3763
3765
  "content": [
3764
3766
  "object/get",
@@ -3767,12 +3769,12 @@
3767
3769
  "@entity"
3768
3770
  ],
3769
3771
  "courseName"
3770
- ]
3772
+ ],
3773
+ "type": "typography"
3771
3774
  }
3772
3775
  ],
3773
3776
  "type": "stack",
3774
- "gap": "sm",
3775
- "direction": "vertical"
3777
+ "gap": "sm"
3776
3778
  }
3777
3779
  ],
3778
3780
  "type": "card"
@@ -3790,6 +3792,8 @@
3790
3792
  ]
3791
3793
  },
3792
3794
  {
3795
+ "type": "stat-display",
3796
+ "label": "TotalLessons",
3793
3797
  "value": [
3794
3798
  "object/get",
3795
3799
  [
@@ -3797,11 +3801,10 @@
3797
3801
  "@entity"
3798
3802
  ],
3799
3803
  "totalLessons"
3800
- ],
3801
- "label": "TotalLessons",
3802
- "type": "stat-display"
3804
+ ]
3803
3805
  },
3804
3806
  {
3807
+ "type": "stat-display",
3805
3808
  "value": [
3806
3809
  "object/get",
3807
3810
  [
@@ -3810,7 +3813,6 @@
3810
3813
  ],
3811
3814
  "percentComplete"
3812
3815
  ],
3813
- "type": "stat-display",
3814
3816
  "label": "PercentComplete"
3815
3817
  },
3816
3818
  {
@@ -3822,11 +3824,10 @@
3822
3824
  "children": [
3823
3825
  {
3824
3826
  "variant": "caption",
3825
- "type": "typography",
3826
- "content": "LastActivity"
3827
+ "content": "LastActivity",
3828
+ "type": "typography"
3827
3829
  },
3828
3830
  {
3829
- "type": "typography",
3830
3831
  "content": [
3831
3832
  "object/get",
3832
3833
  [
@@ -3835,6 +3836,7 @@
3835
3836
  ],
3836
3837
  "lastActivity"
3837
3838
  ],
3839
+ "type": "typography",
3838
3840
  "variant": "h3"
3839
3841
  }
3840
3842
  ],
@@ -3842,85 +3844,84 @@
3842
3844
  }
3843
3845
  ]
3844
3846
  }
3845
- ],
3846
- "cols": 3.0
3847
+ ]
3847
3848
  }
3848
- ]
3849
+ ],
3850
+ "type": "box"
3849
3851
  },
3850
3852
  {
3851
3853
  "type": "divider"
3852
3854
  },
3853
3855
  {
3854
3856
  "cols": 2.0,
3857
+ "type": "grid",
3855
3858
  "children": [
3856
3859
  {
3857
3860
  "children": [
3858
3861
  {
3859
- "content": "Chart View",
3862
+ "variant": "caption",
3860
3863
  "type": "typography",
3861
- "variant": "caption"
3864
+ "content": "Chart View"
3862
3865
  }
3863
3866
  ],
3864
3867
  "type": "card"
3865
3868
  },
3866
3869
  {
3870
+ "type": "card",
3867
3871
  "children": [
3868
3872
  {
3869
- "content": "Graph View",
3870
3873
  "type": "typography",
3871
- "variant": "caption"
3874
+ "variant": "caption",
3875
+ "content": "Graph View"
3872
3876
  }
3873
- ],
3874
- "type": "card"
3877
+ ]
3875
3878
  }
3876
3879
  ],
3877
- "gap": "md",
3878
- "type": "grid"
3880
+ "gap": "md"
3879
3881
  },
3880
3882
  {
3881
3883
  "data": [
3882
3884
  {
3883
- "date": "Jan",
3884
- "value": 12.0
3885
+ "value": 12.0,
3886
+ "date": "Jan"
3885
3887
  },
3886
3888
  {
3887
- "value": 19.0,
3888
- "date": "Feb"
3889
+ "date": "Feb",
3890
+ "value": 19.0
3889
3891
  },
3890
3892
  {
3891
- "date": "Mar",
3892
- "value": 15.0
3893
+ "value": 15.0,
3894
+ "date": "Mar"
3893
3895
  },
3894
3896
  {
3895
3897
  "date": "Apr",
3896
3898
  "value": 25.0
3897
3899
  },
3898
3900
  {
3899
- "value": 22.0,
3900
- "date": "May"
3901
+ "date": "May",
3902
+ "value": 22.0
3901
3903
  },
3902
3904
  {
3903
- "value": 30.0,
3904
- "date": "Jun"
3905
+ "date": "Jun",
3906
+ "value": 30.0
3905
3907
  }
3906
3908
  ],
3907
3909
  "type": "line-chart"
3908
3910
  },
3909
3911
  {
3910
- "type": "chart-legend",
3911
3912
  "items": [
3912
3913
  {
3913
- "color": "primary",
3914
- "label": "Current"
3914
+ "label": "Current",
3915
+ "color": "primary"
3915
3916
  },
3916
3917
  {
3917
- "color": "muted",
3918
- "label": "Previous"
3918
+ "label": "Previous",
3919
+ "color": "muted"
3919
3920
  }
3920
- ]
3921
+ ],
3922
+ "type": "chart-legend"
3921
3923
  },
3922
3924
  {
3923
- "width": 400.0,
3924
3925
  "edges": [
3925
3926
  {
3926
3927
  "from": "a",
@@ -3931,56 +3932,55 @@
3931
3932
  "to": "c"
3932
3933
  }
3933
3934
  ],
3934
- "height": 200.0,
3935
3935
  "nodes": [
3936
3936
  {
3937
- "x": 50.0,
3938
- "label": "Start",
3939
3937
  "id": "a",
3938
+ "label": "Start",
3939
+ "x": 50.0,
3940
3940
  "y": 100.0
3941
3941
  },
3942
3942
  {
3943
- "id": "b",
3944
3943
  "x": 200.0,
3945
3944
  "label": "Process",
3945
+ "id": "b",
3946
3946
  "y": 50.0
3947
3947
  },
3948
3948
  {
3949
- "y": 100.0,
3950
3949
  "id": "c",
3950
+ "x": 350.0,
3951
3951
  "label": "End",
3952
- "x": 350.0
3952
+ "y": 100.0
3953
3953
  }
3954
3954
  ],
3955
- "type": "graph-view"
3955
+ "type": "graph-view",
3956
+ "width": 400.0,
3957
+ "height": 200.0
3956
3958
  }
3957
3959
  ],
3958
3960
  "direction": "vertical",
3959
- "gap": "lg"
3961
+ "type": "stack"
3960
3962
  }
3961
- ],
3962
- "type": "scaled-diagram"
3963
+ ]
3963
3964
  }
3964
3965
  ],
3965
- "appName": "LMS",
3966
- "type": "dashboard-layout",
3967
3966
  "navItems": [
3968
3967
  {
3969
3968
  "label": "Courses",
3970
- "href": "/courses",
3971
- "icon": "book-open"
3969
+ "icon": "book-open",
3970
+ "href": "/courses"
3972
3971
  },
3973
3972
  {
3974
- "label": "Enroll",
3975
3973
  "icon": "layout-list",
3974
+ "label": "Enroll",
3976
3975
  "href": "/enroll"
3977
3976
  },
3978
3977
  {
3979
3978
  "icon": "layout-list",
3980
- "href": "/progress",
3981
- "label": "Progress"
3979
+ "label": "Progress",
3980
+ "href": "/progress"
3982
3981
  }
3983
- ]
3982
+ ],
3983
+ "appName": "LMS"
3984
3984
  }
3985
3985
  ]
3986
3986
  ]
@@ -4004,9 +4004,9 @@
4004
4004
  "render-ui",
4005
4005
  "main",
4006
4006
  {
4007
- "type": "dashboard-layout",
4008
4007
  "children": [
4009
4008
  {
4009
+ "type": "scaled-diagram",
4010
4010
  "children": [
4011
4011
  {
4012
4012
  "children": [
@@ -4023,41 +4023,41 @@
4023
4023
  ]
4024
4024
  },
4025
4025
  {
4026
- "direction": "horizontal",
4027
4026
  "children": [
4028
4027
  {
4029
4028
  "type": "stack",
4029
+ "direction": "horizontal",
4030
+ "gap": "md",
4030
4031
  "children": [
4031
4032
  {
4032
4033
  "name": "trending-up",
4033
4034
  "type": "icon"
4034
4035
  },
4035
4036
  {
4036
- "type": "typography",
4037
4037
  "content": "Progress",
4038
- "variant": "h2"
4038
+ "variant": "h2",
4039
+ "type": "typography"
4039
4040
  }
4040
- ],
4041
- "direction": "horizontal",
4042
- "gap": "md"
4041
+ ]
4043
4042
  },
4044
4043
  {
4045
- "variant": "secondary",
4044
+ "type": "button",
4046
4045
  "action": "REFRESH",
4047
4046
  "icon": "refresh-cw",
4048
- "label": "Refresh",
4049
- "type": "button"
4047
+ "variant": "secondary",
4048
+ "label": "Refresh"
4050
4049
  }
4051
4050
  ],
4051
+ "direction": "horizontal",
4052
4052
  "gap": "md",
4053
- "justify": "between",
4054
- "type": "stack"
4053
+ "type": "stack",
4054
+ "justify": "between"
4055
4055
  },
4056
4056
  {
4057
4057
  "type": "divider"
4058
4058
  },
4059
4059
  {
4060
- "type": "box",
4060
+ "padding": "md",
4061
4061
  "children": [
4062
4062
  {
4063
4063
  "children": [
@@ -4065,9 +4065,6 @@
4065
4065
  "type": "card",
4066
4066
  "children": [
4067
4067
  {
4068
- "direction": "vertical",
4069
- "gap": "sm",
4070
- "type": "stack",
4071
4068
  "children": [
4072
4069
  {
4073
4070
  "type": "typography",
@@ -4075,8 +4072,6 @@
4075
4072
  "content": "CourseName"
4076
4073
  },
4077
4074
  {
4078
- "type": "typography",
4079
- "variant": "h3",
4080
4075
  "content": [
4081
4076
  "object/get",
4082
4077
  [
@@ -4084,15 +4079,18 @@
4084
4079
  "@entity"
4085
4080
  ],
4086
4081
  "courseName"
4087
- ]
4082
+ ],
4083
+ "type": "typography",
4084
+ "variant": "h3"
4088
4085
  }
4089
- ]
4086
+ ],
4087
+ "type": "stack",
4088
+ "gap": "sm",
4089
+ "direction": "vertical"
4090
4090
  }
4091
4091
  ]
4092
4092
  },
4093
4093
  {
4094
- "type": "stat-display",
4095
- "label": "LessonsCompleted",
4096
4094
  "value": [
4097
4095
  "object/get",
4098
4096
  [
@@ -4100,9 +4098,13 @@
4100
4098
  "@entity"
4101
4099
  ],
4102
4100
  "lessonsCompleted"
4103
- ]
4101
+ ],
4102
+ "label": "LessonsCompleted",
4103
+ "type": "stat-display"
4104
4104
  },
4105
4105
  {
4106
+ "type": "stat-display",
4107
+ "label": "TotalLessons",
4106
4108
  "value": [
4107
4109
  "object/get",
4108
4110
  [
@@ -4110,11 +4112,11 @@
4110
4112
  "@entity"
4111
4113
  ],
4112
4114
  "totalLessons"
4113
- ],
4114
- "label": "TotalLessons",
4115
- "type": "stat-display"
4115
+ ]
4116
4116
  },
4117
4117
  {
4118
+ "type": "stat-display",
4119
+ "label": "PercentComplete",
4118
4120
  "value": [
4119
4121
  "object/get",
4120
4122
  [
@@ -4122,23 +4124,23 @@
4122
4124
  "@entity"
4123
4125
  ],
4124
4126
  "percentComplete"
4125
- ],
4126
- "type": "stat-display",
4127
- "label": "PercentComplete"
4127
+ ]
4128
4128
  },
4129
4129
  {
4130
4130
  "type": "card",
4131
4131
  "children": [
4132
4132
  {
4133
- "type": "stack",
4134
4133
  "direction": "vertical",
4134
+ "gap": "sm",
4135
4135
  "children": [
4136
4136
  {
4137
- "type": "typography",
4137
+ "variant": "caption",
4138
4138
  "content": "LastActivity",
4139
- "variant": "caption"
4139
+ "type": "typography"
4140
4140
  },
4141
4141
  {
4142
+ "type": "typography",
4143
+ "variant": "h3",
4142
4144
  "content": [
4143
4145
  "object/get",
4144
4146
  [
@@ -4146,12 +4148,10 @@
4146
4148
  "@entity"
4147
4149
  ],
4148
4150
  "lastActivity"
4149
- ],
4150
- "type": "typography",
4151
- "variant": "h3"
4151
+ ]
4152
4152
  }
4153
4153
  ],
4154
- "gap": "sm"
4154
+ "type": "stack"
4155
4155
  }
4156
4156
  ]
4157
4157
  }
@@ -4160,34 +4160,34 @@
4160
4160
  "cols": 3.0
4161
4161
  }
4162
4162
  ],
4163
- "padding": "md"
4163
+ "type": "box"
4164
4164
  },
4165
4165
  {
4166
4166
  "type": "divider"
4167
4167
  },
4168
4168
  {
4169
- "type": "grid",
4170
4169
  "cols": 2.0,
4170
+ "type": "grid",
4171
4171
  "children": [
4172
4172
  {
4173
+ "type": "card",
4173
4174
  "children": [
4174
4175
  {
4176
+ "content": "Chart View",
4175
4177
  "type": "typography",
4176
- "variant": "caption",
4177
- "content": "Chart View"
4178
+ "variant": "caption"
4178
4179
  }
4179
- ],
4180
- "type": "card"
4180
+ ]
4181
4181
  },
4182
4182
  {
4183
- "type": "card",
4184
4183
  "children": [
4185
4184
  {
4186
4185
  "type": "typography",
4187
4186
  "content": "Graph View",
4188
4187
  "variant": "caption"
4189
4188
  }
4190
- ]
4189
+ ],
4190
+ "type": "card"
4191
4191
  }
4192
4192
  ],
4193
4193
  "gap": "md"
@@ -4196,20 +4196,20 @@
4196
4196
  "type": "line-chart",
4197
4197
  "data": [
4198
4198
  {
4199
- "date": "Jan",
4200
- "value": 12.0
4199
+ "value": 12.0,
4200
+ "date": "Jan"
4201
4201
  },
4202
4202
  {
4203
- "date": "Feb",
4204
- "value": 19.0
4203
+ "value": 19.0,
4204
+ "date": "Feb"
4205
4205
  },
4206
4206
  {
4207
4207
  "value": 15.0,
4208
4208
  "date": "Mar"
4209
4209
  },
4210
4210
  {
4211
- "value": 25.0,
4212
- "date": "Apr"
4211
+ "date": "Apr",
4212
+ "value": 25.0
4213
4213
  },
4214
4214
  {
4215
4215
  "value": 22.0,
@@ -4229,35 +4229,34 @@
4229
4229
  "label": "Current"
4230
4230
  },
4231
4231
  {
4232
- "label": "Previous",
4233
- "color": "muted"
4232
+ "color": "muted",
4233
+ "label": "Previous"
4234
4234
  }
4235
4235
  ]
4236
4236
  },
4237
4237
  {
4238
4238
  "width": 400.0,
4239
- "height": 200.0,
4239
+ "type": "graph-view",
4240
4240
  "nodes": [
4241
4241
  {
4242
- "id": "a",
4243
- "label": "Start",
4242
+ "x": 50.0,
4244
4243
  "y": 100.0,
4245
- "x": 50.0
4244
+ "label": "Start",
4245
+ "id": "a"
4246
4246
  },
4247
4247
  {
4248
- "label": "Process",
4249
- "y": 50.0,
4250
4248
  "id": "b",
4251
- "x": 200.0
4249
+ "label": "Process",
4250
+ "x": 200.0,
4251
+ "y": 50.0
4252
4252
  },
4253
4253
  {
4254
- "label": "End",
4255
- "y": 100.0,
4256
4254
  "id": "c",
4257
- "x": 350.0
4255
+ "x": 350.0,
4256
+ "y": 100.0,
4257
+ "label": "End"
4258
4258
  }
4259
4259
  ],
4260
- "type": "graph-view",
4261
4260
  "edges": [
4262
4261
  {
4263
4262
  "from": "a",
@@ -4267,35 +4266,36 @@
4267
4266
  "from": "b",
4268
4267
  "to": "c"
4269
4268
  }
4270
- ]
4269
+ ],
4270
+ "height": 200.0
4271
4271
  }
4272
4272
  ],
4273
+ "gap": "lg",
4273
4274
  "type": "stack",
4274
- "direction": "vertical",
4275
- "gap": "lg"
4275
+ "direction": "vertical"
4276
4276
  }
4277
- ],
4278
- "type": "scaled-diagram"
4277
+ ]
4279
4278
  }
4280
4279
  ],
4280
+ "type": "dashboard-layout",
4281
+ "appName": "LMS",
4281
4282
  "navItems": [
4282
4283
  {
4283
- "icon": "book-open",
4284
4284
  "label": "Courses",
4285
+ "icon": "book-open",
4285
4286
  "href": "/courses"
4286
4287
  },
4287
4288
  {
4288
- "href": "/enroll",
4289
+ "icon": "layout-list",
4289
4290
  "label": "Enroll",
4290
- "icon": "layout-list"
4291
+ "href": "/enroll"
4291
4292
  },
4292
4293
  {
4293
- "icon": "layout-list",
4294
+ "href": "/progress",
4294
4295
  "label": "Progress",
4295
- "href": "/progress"
4296
+ "icon": "layout-list"
4296
4297
  }
4297
- ],
4298
- "appName": "LMS"
4298
+ ]
4299
4299
  }
4300
4300
  ]
4301
4301
  ]
@@ -4310,8 +4310,8 @@
4310
4310
  "Progress",
4311
4311
  {
4312
4312
  "emit": {
4313
- "success": "ProgressLoaded",
4314
- "failure": "ProgressLoadFailed"
4313
+ "failure": "ProgressLoadFailed",
4314
+ "success": "ProgressLoaded"
4315
4315
  }
4316
4316
  }
4317
4317
  ],
@@ -4320,54 +4320,73 @@
4320
4320
  "main",
4321
4321
  {
4322
4322
  "appName": "LMS",
4323
+ "navItems": [
4324
+ {
4325
+ "href": "/courses",
4326
+ "label": "Courses",
4327
+ "icon": "book-open"
4328
+ },
4329
+ {
4330
+ "icon": "layout-list",
4331
+ "label": "Enroll",
4332
+ "href": "/enroll"
4333
+ },
4334
+ {
4335
+ "label": "Progress",
4336
+ "icon": "layout-list",
4337
+ "href": "/progress"
4338
+ }
4339
+ ],
4340
+ "type": "dashboard-layout",
4323
4341
  "children": [
4324
4342
  {
4325
4343
  "children": [
4326
4344
  {
4345
+ "gap": "lg",
4327
4346
  "direction": "vertical",
4328
4347
  "children": [
4329
4348
  {
4330
- "type": "breadcrumb",
4331
4349
  "items": [
4332
4350
  {
4333
- "label": "Home",
4334
- "href": "/"
4351
+ "href": "/",
4352
+ "label": "Home"
4335
4353
  },
4336
4354
  {
4337
4355
  "label": "Progress"
4338
4356
  }
4339
- ]
4357
+ ],
4358
+ "type": "breadcrumb"
4340
4359
  },
4341
4360
  {
4342
- "direction": "horizontal",
4343
- "type": "stack",
4361
+ "justify": "between",
4344
4362
  "children": [
4345
4363
  {
4364
+ "direction": "horizontal",
4346
4365
  "type": "stack",
4366
+ "gap": "md",
4347
4367
  "children": [
4348
4368
  {
4349
- "name": "trending-up",
4350
- "type": "icon"
4369
+ "type": "icon",
4370
+ "name": "trending-up"
4351
4371
  },
4352
4372
  {
4373
+ "variant": "h2",
4353
4374
  "type": "typography",
4354
- "content": "Progress",
4355
- "variant": "h2"
4375
+ "content": "Progress"
4356
4376
  }
4357
- ],
4358
- "direction": "horizontal",
4359
- "gap": "md"
4377
+ ]
4360
4378
  },
4361
4379
  {
4380
+ "type": "button",
4362
4381
  "variant": "secondary",
4363
- "label": "Refresh",
4364
- "action": "REFRESH",
4365
4382
  "icon": "refresh-cw",
4366
- "type": "button"
4383
+ "action": "REFRESH",
4384
+ "label": "Refresh"
4367
4385
  }
4368
4386
  ],
4369
- "gap": "md",
4370
- "justify": "between"
4387
+ "type": "stack",
4388
+ "direction": "horizontal",
4389
+ "gap": "md"
4371
4390
  },
4372
4391
  {
4373
4392
  "type": "divider"
@@ -4379,18 +4398,18 @@
4379
4398
  {
4380
4399
  "children": [
4381
4400
  {
4401
+ "type": "card",
4382
4402
  "children": [
4383
4403
  {
4384
- "direction": "vertical",
4385
4404
  "gap": "sm",
4405
+ "direction": "vertical",
4386
4406
  "children": [
4387
4407
  {
4388
- "type": "typography",
4389
4408
  "variant": "caption",
4390
- "content": "CourseName"
4409
+ "content": "CourseName",
4410
+ "type": "typography"
4391
4411
  },
4392
4412
  {
4393
- "variant": "h3",
4394
4413
  "content": [
4395
4414
  "object/get",
4396
4415
  [
@@ -4399,17 +4418,17 @@
4399
4418
  ],
4400
4419
  "courseName"
4401
4420
  ],
4402
- "type": "typography"
4421
+ "type": "typography",
4422
+ "variant": "h3"
4403
4423
  }
4404
4424
  ],
4405
4425
  "type": "stack"
4406
4426
  }
4407
- ],
4408
- "type": "card"
4427
+ ]
4409
4428
  },
4410
4429
  {
4411
- "type": "stat-display",
4412
4430
  "label": "LessonsCompleted",
4431
+ "type": "stat-display",
4413
4432
  "value": [
4414
4433
  "object/get",
4415
4434
  [
@@ -4420,6 +4439,8 @@
4420
4439
  ]
4421
4440
  },
4422
4441
  {
4442
+ "label": "TotalLessons",
4443
+ "type": "stat-display",
4423
4444
  "value": [
4424
4445
  "object/get",
4425
4446
  [
@@ -4427,12 +4448,9 @@
4427
4448
  "@entity"
4428
4449
  ],
4429
4450
  "totalLessons"
4430
- ],
4431
- "label": "TotalLessons",
4432
- "type": "stat-display"
4451
+ ]
4433
4452
  },
4434
4453
  {
4435
- "label": "PercentComplete",
4436
4454
  "type": "stat-display",
4437
4455
  "value": [
4438
4456
  "object/get",
@@ -4441,22 +4459,21 @@
4441
4459
  "@entity"
4442
4460
  ],
4443
4461
  "percentComplete"
4444
- ]
4462
+ ],
4463
+ "label": "PercentComplete"
4445
4464
  },
4446
4465
  {
4466
+ "type": "card",
4447
4467
  "children": [
4448
4468
  {
4449
- "direction": "vertical",
4450
- "type": "stack",
4451
4469
  "children": [
4452
4470
  {
4453
- "content": "LastActivity",
4454
4471
  "variant": "caption",
4472
+ "content": "LastActivity",
4455
4473
  "type": "typography"
4456
4474
  },
4457
4475
  {
4458
4476
  "variant": "h3",
4459
- "type": "typography",
4460
4477
  "content": [
4461
4478
  "object/get",
4462
4479
  [
@@ -4464,17 +4481,19 @@
4464
4481
  "@entity"
4465
4482
  ],
4466
4483
  "lastActivity"
4467
- ]
4484
+ ],
4485
+ "type": "typography"
4468
4486
  }
4469
4487
  ],
4488
+ "type": "stack",
4489
+ "direction": "vertical",
4470
4490
  "gap": "sm"
4471
4491
  }
4472
- ],
4473
- "type": "card"
4492
+ ]
4474
4493
  }
4475
4494
  ],
4476
- "type": "simple-grid",
4477
- "cols": 3.0
4495
+ "cols": 3.0,
4496
+ "type": "simple-grid"
4478
4497
  }
4479
4498
  ]
4480
4499
  },
@@ -4482,34 +4501,33 @@
4482
4501
  "type": "divider"
4483
4502
  },
4484
4503
  {
4485
- "cols": 2.0,
4486
- "type": "grid",
4487
- "gap": "md",
4488
4504
  "children": [
4489
4505
  {
4490
- "type": "card",
4491
4506
  "children": [
4492
4507
  {
4493
4508
  "type": "typography",
4494
4509
  "content": "Chart View",
4495
4510
  "variant": "caption"
4496
4511
  }
4497
- ]
4512
+ ],
4513
+ "type": "card"
4498
4514
  },
4499
4515
  {
4500
4516
  "children": [
4501
4517
  {
4518
+ "variant": "caption",
4502
4519
  "content": "Graph View",
4503
- "type": "typography",
4504
- "variant": "caption"
4520
+ "type": "typography"
4505
4521
  }
4506
4522
  ],
4507
4523
  "type": "card"
4508
4524
  }
4509
- ]
4525
+ ],
4526
+ "gap": "md",
4527
+ "cols": 2.0,
4528
+ "type": "grid"
4510
4529
  },
4511
4530
  {
4512
- "type": "line-chart",
4513
4531
  "data": [
4514
4532
  {
4515
4533
  "date": "Jan",
@@ -4520,22 +4538,23 @@
4520
4538
  "value": 19.0
4521
4539
  },
4522
4540
  {
4523
- "value": 15.0,
4524
- "date": "Mar"
4541
+ "date": "Mar",
4542
+ "value": 15.0
4525
4543
  },
4526
4544
  {
4527
4545
  "date": "Apr",
4528
4546
  "value": 25.0
4529
4547
  },
4530
4548
  {
4531
- "date": "May",
4532
- "value": 22.0
4549
+ "value": 22.0,
4550
+ "date": "May"
4533
4551
  },
4534
4552
  {
4535
- "date": "Jun",
4536
- "value": 30.0
4553
+ "value": 30.0,
4554
+ "date": "Jun"
4537
4555
  }
4538
- ]
4556
+ ],
4557
+ "type": "line-chart"
4539
4558
  },
4540
4559
  {
4541
4560
  "type": "chart-legend",
@@ -4553,63 +4572,44 @@
4553
4572
  {
4554
4573
  "nodes": [
4555
4574
  {
4556
- "y": 100.0,
4557
- "label": "Start",
4575
+ "x": 50.0,
4558
4576
  "id": "a",
4559
- "x": 50.0
4577
+ "label": "Start",
4578
+ "y": 100.0
4560
4579
  },
4561
4580
  {
4562
4581
  "y": 50.0,
4582
+ "id": "b",
4563
4583
  "label": "Process",
4564
- "x": 200.0,
4565
- "id": "b"
4584
+ "x": 200.0
4566
4585
  },
4567
4586
  {
4568
- "x": 350.0,
4569
- "label": "End",
4587
+ "y": 100.0,
4570
4588
  "id": "c",
4571
- "y": 100.0
4589
+ "x": 350.0,
4590
+ "label": "End"
4572
4591
  }
4573
4592
  ],
4574
- "height": 200.0,
4575
4593
  "edges": [
4576
4594
  {
4577
- "to": "b",
4578
- "from": "a"
4595
+ "from": "a",
4596
+ "to": "b"
4579
4597
  },
4580
4598
  {
4581
4599
  "from": "b",
4582
4600
  "to": "c"
4583
4601
  }
4584
4602
  ],
4603
+ "type": "graph-view",
4585
4604
  "width": 400.0,
4586
- "type": "graph-view"
4605
+ "height": 200.0
4587
4606
  }
4588
4607
  ],
4589
- "gap": "lg",
4590
4608
  "type": "stack"
4591
4609
  }
4592
4610
  ],
4593
4611
  "type": "scaled-diagram"
4594
4612
  }
4595
- ],
4596
- "type": "dashboard-layout",
4597
- "navItems": [
4598
- {
4599
- "label": "Courses",
4600
- "href": "/courses",
4601
- "icon": "book-open"
4602
- },
4603
- {
4604
- "label": "Enroll",
4605
- "href": "/enroll",
4606
- "icon": "layout-list"
4607
- },
4608
- {
4609
- "label": "Progress",
4610
- "icon": "layout-list",
4611
- "href": "/progress"
4612
- }
4613
4613
  ]
4614
4614
  }
4615
4615
  ]