@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
@@ -194,22 +194,22 @@
194
194
  "main",
195
195
  {
196
196
  "showTopBar": true,
197
+ "type": "game-shell",
197
198
  "appName": "Strategy Game",
198
199
  "children": [
199
200
  {
200
201
  "subtitle": "Turn-Based Strategy",
201
- "title": "Army Battle",
202
202
  "type": "game-menu",
203
203
  "menuItems": [
204
204
  {
205
- "variant": "primary",
205
+ "event": "START",
206
206
  "label": "Start Battle",
207
- "event": "START"
207
+ "variant": "primary"
208
208
  }
209
- ]
209
+ ],
210
+ "title": "Army Battle"
210
211
  }
211
- ],
212
- "type": "game-shell"
212
+ ]
213
213
  }
214
214
  ]
215
215
  ]
@@ -223,7 +223,7 @@
223
223
  "render-ui",
224
224
  "main",
225
225
  {
226
- "type": "game-shell",
226
+ "showTopBar": true,
227
227
  "appName": "Strategy Game",
228
228
  "children": [
229
229
  {
@@ -240,7 +240,7 @@
240
240
  ]
241
241
  }
242
242
  ],
243
- "showTopBar": true
243
+ "type": "game-shell"
244
244
  }
245
245
  ]
246
246
  ]
@@ -268,10 +268,10 @@
268
268
  "render-ui",
269
269
  "main",
270
270
  {
271
- "appName": "Strategy Game",
271
+ "showTopBar": true,
272
+ "type": "game-shell",
272
273
  "children": [
273
274
  {
274
- "type": "game-hud",
275
275
  "stats": [
276
276
  {
277
277
  "label": "Turn",
@@ -281,11 +281,11 @@
281
281
  "label": "Score",
282
282
  "value": "@entity.score"
283
283
  }
284
- ]
284
+ ],
285
+ "type": "game-hud"
285
286
  }
286
287
  ],
287
- "type": "game-shell",
288
- "showTopBar": true
288
+ "appName": "Strategy Game"
289
289
  }
290
290
  ]
291
291
  ]
@@ -299,7 +299,6 @@
299
299
  "render-ui",
300
300
  "modal",
301
301
  {
302
- "type": "game-menu",
303
302
  "title": "Paused",
304
303
  "menuItems": [
305
304
  {
@@ -308,11 +307,12 @@
308
307
  "label": "Resume"
309
308
  },
310
309
  {
311
- "variant": "ghost",
310
+ "event": "RESTART",
312
311
  "label": "Quit",
313
- "event": "RESTART"
312
+ "variant": "ghost"
314
313
  }
315
- ]
314
+ ],
315
+ "type": "game-menu"
316
316
  }
317
317
  ]
318
318
  ]
@@ -326,32 +326,32 @@
326
326
  "render-ui",
327
327
  "main",
328
328
  {
329
+ "showTopBar": true,
329
330
  "type": "game-shell",
330
331
  "appName": "Strategy Game",
331
- "showTopBar": true,
332
332
  "children": [
333
333
  {
334
- "title": "Battle Over",
334
+ "type": "game-over-screen",
335
335
  "stats": [
336
336
  {
337
- "label": "Turns",
338
- "value": "@entity.turn"
337
+ "value": "@entity.turn",
338
+ "label": "Turns"
339
339
  },
340
340
  {
341
- "value": "@entity.score",
342
- "label": "Score"
341
+ "label": "Score",
342
+ "value": "@entity.score"
343
343
  }
344
344
  ],
345
- "type": "game-over-screen",
345
+ "title": "Battle Over",
346
346
  "menuItems": [
347
347
  {
348
- "event": "RESTART",
348
+ "label": "Play Again",
349
349
  "variant": "primary",
350
- "label": "Play Again"
350
+ "event": "RESTART"
351
351
  },
352
352
  {
353
- "label": "Main Menu",
354
353
  "event": "RESTART",
354
+ "label": "Main Menu",
355
355
  "variant": "secondary"
356
356
  }
357
357
  ]
@@ -380,6 +380,7 @@
380
380
  "render-ui",
381
381
  "main",
382
382
  {
383
+ "type": "game-shell",
383
384
  "appName": "Strategy Game",
384
385
  "children": [
385
386
  {
@@ -389,15 +390,14 @@
389
390
  "value": "@entity.turn"
390
391
  },
391
392
  {
392
- "value": "@entity.score",
393
- "label": "Score"
393
+ "label": "Score",
394
+ "value": "@entity.score"
394
395
  }
395
396
  ],
396
397
  "type": "game-hud"
397
398
  }
398
399
  ],
399
- "showTopBar": true,
400
- "type": "game-shell"
400
+ "showTopBar": true
401
401
  }
402
402
  ]
403
403
  ]
@@ -417,9 +417,11 @@
417
417
  "main",
418
418
  {
419
419
  "appName": "Strategy Game",
420
+ "type": "game-shell",
420
421
  "showTopBar": true,
421
422
  "children": [
422
423
  {
424
+ "type": "game-hud",
423
425
  "stats": [
424
426
  {
425
427
  "value": "@entity.turn",
@@ -429,11 +431,9 @@
429
431
  "label": "Score",
430
432
  "value": "@entity.score"
431
433
  }
432
- ],
433
- "type": "game-hud"
434
+ ]
434
435
  }
435
- ],
436
- "type": "game-shell"
436
+ ]
437
437
  }
438
438
  ]
439
439
  ]
@@ -452,22 +452,22 @@
452
452
  "render-ui",
453
453
  "main",
454
454
  {
455
- "appName": "Strategy Game",
456
455
  "children": [
457
456
  {
458
- "title": "Army Battle",
459
- "type": "game-menu",
460
457
  "menuItems": [
461
458
  {
462
- "event": "START",
459
+ "label": "Start Battle",
463
460
  "variant": "primary",
464
- "label": "Start Battle"
461
+ "event": "START"
465
462
  }
466
463
  ],
464
+ "type": "game-menu",
465
+ "title": "Army Battle",
467
466
  "subtitle": "Turn-Based Strategy"
468
467
  }
469
468
  ],
470
469
  "showTopBar": true,
470
+ "appName": "Strategy Game",
471
471
  "type": "game-shell"
472
472
  }
473
473
  ]
@@ -482,23 +482,23 @@
482
482
  "render-ui",
483
483
  "main",
484
484
  {
485
- "appName": "Strategy Game",
486
485
  "type": "game-shell",
487
486
  "showTopBar": true,
488
487
  "children": [
489
488
  {
489
+ "title": "Army Battle",
490
+ "type": "game-menu",
491
+ "subtitle": "Turn-Based Strategy",
490
492
  "menuItems": [
491
493
  {
494
+ "label": "Start Battle",
492
495
  "variant": "primary",
493
- "event": "START",
494
- "label": "Start Battle"
496
+ "event": "START"
495
497
  }
496
- ],
497
- "title": "Army Battle",
498
- "type": "game-menu",
499
- "subtitle": "Turn-Based Strategy"
498
+ ]
500
499
  }
501
- ]
500
+ ],
501
+ "appName": "Strategy Game"
502
502
  }
503
503
  ]
504
504
  ]
@@ -628,8 +628,8 @@
628
628
  "ArmyBattle",
629
629
  {
630
630
  "emit": {
631
- "success": "ArmyBattleLoaded",
632
- "failure": "ArmyBattleLoadFailed"
631
+ "failure": "ArmyBattleLoadFailed",
632
+ "success": "ArmyBattleLoaded"
633
633
  }
634
634
  }
635
635
  ]
@@ -644,19 +644,19 @@
644
644
  "render-ui",
645
645
  "main",
646
646
  {
647
+ "showTopBar": true,
648
+ "type": "game-shell",
647
649
  "appName": "Strategy Game",
648
650
  "children": [
649
651
  {
650
652
  "title": "Combat Log",
651
- "type": "combat-log",
652
653
  "showTimestamps": true,
654
+ "maxVisible": 10.0,
655
+ "type": "combat-log",
653
656
  "events": "@ArmyBattle",
654
- "autoScroll": true,
655
- "maxVisible": 10.0
657
+ "autoScroll": true
656
658
  }
657
- ],
658
- "type": "game-shell",
659
- "showTopBar": true
659
+ ]
660
660
  }
661
661
  ]
662
662
  ]
@@ -672,17 +672,17 @@
672
672
  {
673
673
  "type": "game-shell",
674
674
  "appName": "Strategy Game",
675
+ "showTopBar": true,
675
676
  "children": [
676
677
  {
677
678
  "events": "@ArmyBattle",
678
- "autoScroll": true,
679
- "maxVisible": 10.0,
680
- "type": "combat-log",
681
679
  "showTimestamps": true,
680
+ "type": "combat-log",
681
+ "maxVisible": 10.0,
682
+ "autoScroll": true,
682
683
  "title": "Combat Log"
683
684
  }
684
- ],
685
- "showTopBar": true
685
+ ]
686
686
  }
687
687
  ]
688
688
  ]
@@ -864,8 +864,8 @@
864
864
  "Territory",
865
865
  {
866
866
  "emit": {
867
- "success": "TerritoryLoaded",
868
- "failure": "TerritoryLoadFailed"
867
+ "failure": "TerritoryLoadFailed",
868
+ "success": "TerritoryLoaded"
869
869
  }
870
870
  }
871
871
  ],
@@ -873,50 +873,50 @@
873
873
  "render-ui",
874
874
  "main",
875
875
  {
876
- "type": "game-shell",
877
876
  "showTopBar": true,
878
- "appName": "Strategy Game",
879
877
  "children": [
880
878
  {
881
879
  "direction": "vertical",
880
+ "type": "stack",
881
+ "gap": "lg",
882
882
  "children": [
883
883
  {
884
- "justify": "between",
885
- "type": "stack",
886
884
  "gap": "md",
887
- "direction": "horizontal",
885
+ "type": "stack",
886
+ "justify": "between",
888
887
  "children": [
889
888
  {
890
- "gap": "md",
891
889
  "type": "stack",
892
890
  "children": [
893
891
  {
894
- "name": "map",
895
- "type": "icon"
892
+ "type": "icon",
893
+ "name": "map"
896
894
  },
897
895
  {
898
- "variant": "h2",
899
896
  "content": "Territory Map",
900
- "type": "typography"
897
+ "type": "typography",
898
+ "variant": "h2"
901
899
  }
902
900
  ],
901
+ "gap": "md",
903
902
  "direction": "horizontal"
904
903
  },
905
904
  {
906
- "pulse": false,
907
905
  "status": "online",
906
+ "type": "status-dot",
908
907
  "label": "Exploring",
909
- "type": "status-dot"
908
+ "pulse": false
910
909
  }
911
- ]
910
+ ],
911
+ "direction": "horizontal"
912
912
  },
913
913
  {
914
914
  "type": "divider"
915
915
  },
916
916
  {
917
- "type": "map-view",
918
917
  "height": "200px",
919
918
  "markers": [],
919
+ "type": "map-view",
920
920
  "zoom": 10.0
921
921
  },
922
922
  {
@@ -926,60 +926,60 @@
926
926
  "event": "TRAVEL"
927
927
  }
928
928
  ],
929
+ "entity": "Territory",
930
+ "type": "data-grid",
929
931
  "renderItem": [
930
932
  "fn",
931
933
  "item",
932
934
  {
933
- "type": "stack",
934
935
  "direction": "vertical",
935
936
  "children": [
936
937
  {
937
- "type": "stack",
938
938
  "direction": "horizontal",
939
- "align": "center",
940
939
  "children": [
941
940
  {
942
- "type": "stack",
943
- "direction": "horizontal",
944
941
  "gap": "sm",
945
- "align": "center",
942
+ "type": "stack",
946
943
  "children": [
947
944
  {
948
- "name": "map-pin",
949
- "type": "icon"
945
+ "type": "icon",
946
+ "name": "map-pin"
950
947
  },
951
948
  {
952
- "variant": "h4",
953
949
  "type": "typography",
950
+ "variant": "h4",
954
951
  "content": "@item.name"
955
952
  }
956
- ]
953
+ ],
954
+ "align": "center",
955
+ "direction": "horizontal"
957
956
  },
958
957
  {
959
- "label": "@item.owner",
960
- "type": "badge"
958
+ "type": "badge",
959
+ "label": "@item.owner"
961
960
  }
962
961
  ],
963
- "justify": "between"
962
+ "justify": "between",
963
+ "type": "stack",
964
+ "align": "center"
964
965
  },
965
966
  {
967
+ "content": "@item.defense",
966
968
  "variant": "caption",
967
- "type": "typography",
968
- "content": "@item.defense"
969
+ "type": "typography"
969
970
  }
970
971
  ],
971
- "gap": "sm"
972
+ "gap": "sm",
973
+ "type": "stack"
972
974
  }
973
975
  ],
974
- "type": "data-grid",
975
- "entity": "Territory",
976
976
  "fields": []
977
977
  }
978
- ],
979
- "type": "stack",
980
- "gap": "lg"
978
+ ]
981
979
  }
982
- ]
980
+ ],
981
+ "appName": "Strategy Game",
982
+ "type": "game-shell"
983
983
  }
984
984
  ]
985
985
  ]
@@ -993,13 +993,14 @@
993
993
  "render-ui",
994
994
  "main",
995
995
  {
996
- "appName": "Strategy Game",
997
996
  "showTopBar": true,
998
997
  "children": [
999
998
  {
1000
- "gap": "lg",
999
+ "align": "center",
1001
1000
  "children": [
1002
1001
  {
1002
+ "gap": "md",
1003
+ "direction": "horizontal",
1003
1004
  "children": [
1004
1005
  {
1005
1006
  "type": "icon",
@@ -1011,8 +1012,6 @@
1011
1012
  "content": "Traveling..."
1012
1013
  }
1013
1014
  ],
1014
- "direction": "horizontal",
1015
- "gap": "md",
1016
1015
  "type": "stack"
1017
1016
  },
1018
1017
  {
@@ -1024,11 +1023,12 @@
1024
1023
  "variant": "body"
1025
1024
  }
1026
1025
  ],
1027
- "direction": "vertical",
1028
- "align": "center",
1029
- "type": "stack"
1026
+ "gap": "lg",
1027
+ "type": "stack",
1028
+ "direction": "vertical"
1030
1029
  }
1031
1030
  ],
1031
+ "appName": "Strategy Game",
1032
1032
  "type": "game-shell"
1033
1033
  }
1034
1034
  ]
@@ -1044,8 +1044,8 @@
1044
1044
  "Territory",
1045
1045
  {
1046
1046
  "emit": {
1047
- "failure": "TerritoryLoadFailed",
1048
- "success": "TerritoryLoaded"
1047
+ "success": "TerritoryLoaded",
1048
+ "failure": "TerritoryLoadFailed"
1049
1049
  }
1050
1050
  }
1051
1051
  ],
@@ -1053,21 +1053,14 @@
1053
1053
  "render-ui",
1054
1054
  "main",
1055
1055
  {
1056
- "appName": "Strategy Game",
1057
- "showTopBar": true,
1058
1056
  "children": [
1059
1057
  {
1060
1058
  "direction": "vertical",
1061
- "type": "stack",
1062
1059
  "children": [
1063
1060
  {
1064
- "gap": "md",
1065
- "direction": "horizontal",
1066
- "type": "stack",
1067
- "justify": "between",
1068
1061
  "children": [
1069
1062
  {
1070
- "direction": "horizontal",
1063
+ "type": "stack",
1071
1064
  "gap": "md",
1072
1065
  "children": [
1073
1066
  {
@@ -1075,43 +1068,47 @@
1075
1068
  "name": "map"
1076
1069
  },
1077
1070
  {
1078
- "variant": "h2",
1071
+ "type": "typography",
1079
1072
  "content": "Territorys Map",
1080
- "type": "typography"
1073
+ "variant": "h2"
1081
1074
  }
1082
1075
  ],
1083
- "type": "stack"
1076
+ "direction": "horizontal"
1084
1077
  },
1085
1078
  {
1086
1079
  "type": "status-dot",
1087
1080
  "status": "online",
1088
1081
  "label": "Entered"
1089
1082
  }
1090
- ]
1083
+ ],
1084
+ "gap": "md",
1085
+ "type": "stack",
1086
+ "direction": "horizontal",
1087
+ "justify": "between"
1091
1088
  },
1092
1089
  {
1093
1090
  "type": "divider"
1094
1091
  },
1095
1092
  {
1093
+ "fields": [],
1096
1094
  "entity": "Territory",
1097
1095
  "type": "data-grid",
1098
- "fields": [],
1099
1096
  "renderItem": [
1100
1097
  "fn",
1101
1098
  "item",
1102
1099
  {
1103
- "direction": "vertical",
1104
- "gap": "sm",
1105
1100
  "children": [
1106
1101
  {
1102
+ "align": "center",
1103
+ "justify": "between",
1104
+ "type": "stack",
1107
1105
  "children": [
1108
1106
  {
1109
- "gap": "sm",
1110
1107
  "align": "center",
1111
1108
  "children": [
1112
1109
  {
1113
- "name": "map-pin",
1114
- "type": "icon"
1110
+ "type": "icon",
1111
+ "name": "map-pin"
1115
1112
  },
1116
1113
  {
1117
1114
  "variant": "h4",
@@ -1119,26 +1116,26 @@
1119
1116
  "type": "typography"
1120
1117
  }
1121
1118
  ],
1122
- "type": "stack",
1123
- "direction": "horizontal"
1119
+ "direction": "horizontal",
1120
+ "gap": "sm",
1121
+ "type": "stack"
1124
1122
  },
1125
1123
  {
1126
1124
  "label": "@item.owner",
1127
1125
  "type": "badge"
1128
1126
  }
1129
1127
  ],
1130
- "type": "stack",
1131
- "direction": "horizontal",
1132
- "justify": "between",
1133
- "align": "center"
1128
+ "direction": "horizontal"
1134
1129
  },
1135
1130
  {
1136
- "type": "typography",
1137
1131
  "variant": "caption",
1138
- "content": "@item.defense"
1132
+ "content": "@item.defense",
1133
+ "type": "typography"
1139
1134
  }
1140
1135
  ],
1141
- "type": "stack"
1136
+ "type": "stack",
1137
+ "gap": "sm",
1138
+ "direction": "vertical"
1142
1139
  }
1143
1140
  ]
1144
1141
  },
@@ -1146,25 +1143,28 @@
1146
1143
  "type": "divider"
1147
1144
  },
1148
1145
  {
1149
- "justify": "end",
1146
+ "gap": "sm",
1147
+ "type": "stack",
1148
+ "direction": "horizontal",
1150
1149
  "children": [
1151
1150
  {
1152
1151
  "type": "button",
1153
- "variant": "ghost",
1154
- "action": "BACK",
1155
1152
  "label": "Back to Map",
1156
- "icon": "arrow-left"
1153
+ "variant": "ghost",
1154
+ "icon": "arrow-left",
1155
+ "action": "BACK"
1157
1156
  }
1158
1157
  ],
1159
- "direction": "horizontal",
1160
- "type": "stack",
1161
- "gap": "sm"
1158
+ "justify": "end"
1162
1159
  }
1163
1160
  ],
1161
+ "type": "stack",
1164
1162
  "gap": "lg"
1165
1163
  }
1166
1164
  ],
1167
- "type": "game-shell"
1165
+ "showTopBar": true,
1166
+ "type": "game-shell",
1167
+ "appName": "Strategy Game"
1168
1168
  }
1169
1169
  ]
1170
1170
  ]
@@ -1189,19 +1189,16 @@
1189
1189
  "main",
1190
1190
  {
1191
1191
  "showTopBar": true,
1192
+ "appName": "Strategy Game",
1193
+ "type": "game-shell",
1192
1194
  "children": [
1193
1195
  {
1194
- "gap": "lg",
1195
- "direction": "vertical",
1196
+ "type": "stack",
1196
1197
  "children": [
1197
1198
  {
1198
- "direction": "horizontal",
1199
- "gap": "md",
1200
1199
  "justify": "between",
1201
- "type": "stack",
1202
1200
  "children": [
1203
1201
  {
1204
- "direction": "horizontal",
1205
1202
  "children": [
1206
1203
  {
1207
1204
  "name": "map",
@@ -1209,48 +1206,53 @@
1209
1206
  },
1210
1207
  {
1211
1208
  "variant": "h2",
1212
- "content": "Territory Map",
1213
- "type": "typography"
1209
+ "type": "typography",
1210
+ "content": "Territory Map"
1214
1211
  }
1215
1212
  ],
1216
- "type": "stack",
1217
- "gap": "md"
1213
+ "gap": "md",
1214
+ "direction": "horizontal",
1215
+ "type": "stack"
1218
1216
  },
1219
1217
  {
1220
- "pulse": false,
1221
- "type": "status-dot",
1222
1218
  "status": "online",
1219
+ "type": "status-dot",
1220
+ "pulse": false,
1223
1221
  "label": "Exploring"
1224
1222
  }
1225
- ]
1223
+ ],
1224
+ "gap": "md",
1225
+ "direction": "horizontal",
1226
+ "type": "stack"
1226
1227
  },
1227
1228
  {
1228
1229
  "type": "divider"
1229
1230
  },
1230
1231
  {
1231
- "type": "map-view",
1232
1232
  "zoom": 10.0,
1233
1233
  "height": "200px",
1234
+ "type": "map-view",
1234
1235
  "markers": []
1235
1236
  },
1236
1237
  {
1237
- "type": "data-grid",
1238
+ "entity": "Territory",
1238
1239
  "fields": [],
1240
+ "type": "data-grid",
1239
1241
  "renderItem": [
1240
1242
  "fn",
1241
1243
  "item",
1242
1244
  {
1245
+ "direction": "vertical",
1246
+ "gap": "sm",
1247
+ "type": "stack",
1243
1248
  "children": [
1244
1249
  {
1245
- "direction": "horizontal",
1246
- "type": "stack",
1247
1250
  "justify": "between",
1251
+ "type": "stack",
1252
+ "direction": "horizontal",
1253
+ "align": "center",
1248
1254
  "children": [
1249
1255
  {
1250
- "align": "center",
1251
- "direction": "horizontal",
1252
- "gap": "sm",
1253
- "type": "stack",
1254
1256
  "children": [
1255
1257
  {
1256
1258
  "type": "icon",
@@ -1261,27 +1263,26 @@
1261
1263
  "content": "@item.name",
1262
1264
  "variant": "h4"
1263
1265
  }
1264
- ]
1266
+ ],
1267
+ "gap": "sm",
1268
+ "type": "stack",
1269
+ "direction": "horizontal",
1270
+ "align": "center"
1265
1271
  },
1266
1272
  {
1267
- "type": "badge",
1268
- "label": "@item.owner"
1273
+ "label": "@item.owner",
1274
+ "type": "badge"
1269
1275
  }
1270
- ],
1271
- "align": "center"
1276
+ ]
1272
1277
  },
1273
1278
  {
1274
- "type": "typography",
1275
1279
  "variant": "caption",
1276
- "content": "@item.defense"
1280
+ "content": "@item.defense",
1281
+ "type": "typography"
1277
1282
  }
1278
- ],
1279
- "type": "stack",
1280
- "gap": "sm",
1281
- "direction": "vertical"
1283
+ ]
1282
1284
  }
1283
1285
  ],
1284
- "entity": "Territory",
1285
1286
  "itemActions": [
1286
1287
  {
1287
1288
  "event": "TRAVEL",
@@ -1290,11 +1291,10 @@
1290
1291
  ]
1291
1292
  }
1292
1293
  ],
1293
- "type": "stack"
1294
+ "gap": "lg",
1295
+ "direction": "vertical"
1294
1296
  }
1295
- ],
1296
- "type": "game-shell",
1297
- "appName": "Strategy Game"
1297
+ ]
1298
1298
  }
1299
1299
  ]
1300
1300
  ]
@@ -1479,16 +1479,14 @@
1479
1479
  "render-ui",
1480
1480
  "main",
1481
1481
  {
1482
+ "showTopBar": true,
1482
1483
  "children": [
1483
1484
  {
1484
1485
  "type": "scaled-diagram",
1485
1486
  "children": [
1486
1487
  {
1487
- "direction": "vertical",
1488
- "gap": "lg",
1489
1488
  "children": [
1490
1489
  {
1491
- "type": "breadcrumb",
1492
1490
  "items": [
1493
1491
  {
1494
1492
  "label": "Home",
@@ -1497,52 +1495,51 @@
1497
1495
  {
1498
1496
  "label": "Resources"
1499
1497
  }
1500
- ]
1498
+ ],
1499
+ "type": "breadcrumb"
1501
1500
  },
1502
1501
  {
1502
+ "type": "stack",
1503
+ "gap": "md",
1504
+ "direction": "horizontal",
1505
+ "justify": "between",
1503
1506
  "children": [
1504
1507
  {
1505
1508
  "direction": "horizontal",
1506
- "type": "stack",
1507
1509
  "children": [
1508
1510
  {
1509
1511
  "name": "database",
1510
1512
  "type": "icon"
1511
1513
  },
1512
1514
  {
1515
+ "type": "typography",
1513
1516
  "content": "Resources",
1514
- "variant": "h2",
1515
- "type": "typography"
1517
+ "variant": "h2"
1516
1518
  }
1517
1519
  ],
1518
- "gap": "md"
1520
+ "gap": "md",
1521
+ "type": "stack"
1519
1522
  },
1520
1523
  {
1524
+ "type": "button",
1521
1525
  "variant": "secondary",
1522
1526
  "label": "Refresh",
1523
- "icon": "refresh-cw",
1524
- "type": "button",
1525
- "action": "REFRESH"
1527
+ "action": "REFRESH",
1528
+ "icon": "refresh-cw"
1526
1529
  }
1527
- ],
1528
- "type": "stack",
1529
- "gap": "md",
1530
- "justify": "between",
1531
- "direction": "horizontal"
1530
+ ]
1532
1531
  },
1533
1532
  {
1534
1533
  "type": "divider"
1535
1534
  },
1536
1535
  {
1537
1536
  "padding": "md",
1537
+ "type": "box",
1538
1538
  "children": [
1539
1539
  {
1540
- "type": "simple-grid",
1541
- "cols": 3.0,
1542
1540
  "children": [
1543
1541
  {
1544
1542
  "type": "stat-display",
1545
- "label": "Gold",
1546
1543
  "value": [
1547
1544
  "object/get",
1548
1545
  [
@@ -1550,9 +1547,11 @@
1550
1547
  "@entity"
1551
1548
  ],
1552
1549
  "gold"
1553
- ]
1550
+ ],
1551
+ "label": "Gold"
1554
1552
  },
1555
1553
  {
1554
+ "type": "stat-display",
1556
1555
  "value": [
1557
1556
  "object/get",
1558
1557
  [
@@ -1561,11 +1560,9 @@
1561
1560
  ],
1562
1561
  "food"
1563
1562
  ],
1564
- "label": "Food",
1565
- "type": "stat-display"
1563
+ "label": "Food"
1566
1564
  },
1567
1565
  {
1568
- "type": "stat-display",
1569
1566
  "label": "Wood",
1570
1567
  "value": [
1571
1568
  "object/get",
@@ -1574,10 +1571,10 @@
1574
1571
  "@entity"
1575
1572
  ],
1576
1573
  "wood"
1577
- ]
1574
+ ],
1575
+ "type": "stat-display"
1578
1576
  },
1579
1577
  {
1580
- "label": "Iron",
1581
1578
  "value": [
1582
1579
  "object/get",
1583
1580
  [
@@ -1586,60 +1583,63 @@
1586
1583
  ],
1587
1584
  "iron"
1588
1585
  ],
1589
- "type": "stat-display"
1586
+ "type": "stat-display",
1587
+ "label": "Iron"
1590
1588
  }
1591
- ]
1589
+ ],
1590
+ "type": "simple-grid",
1591
+ "cols": 3.0
1592
1592
  }
1593
- ],
1594
- "type": "box"
1593
+ ]
1595
1594
  },
1596
1595
  {
1597
1596
  "type": "divider"
1598
1597
  },
1599
1598
  {
1600
- "gap": "md",
1599
+ "cols": 2.0,
1601
1600
  "children": [
1602
1601
  {
1603
1602
  "type": "card",
1604
1603
  "children": [
1605
1604
  {
1606
1605
  "type": "typography",
1607
- "content": "Chart View",
1608
- "variant": "caption"
1606
+ "variant": "caption",
1607
+ "content": "Chart View"
1609
1608
  }
1610
1609
  ]
1611
1610
  },
1612
1611
  {
1612
+ "type": "card",
1613
1613
  "children": [
1614
1614
  {
1615
- "content": "Graph View",
1615
+ "variant": "caption",
1616
1616
  "type": "typography",
1617
- "variant": "caption"
1617
+ "content": "Graph View"
1618
1618
  }
1619
- ],
1620
- "type": "card"
1619
+ ]
1621
1620
  }
1622
1621
  ],
1623
- "cols": 2.0,
1624
- "type": "grid"
1622
+ "type": "grid",
1623
+ "gap": "md"
1625
1624
  },
1626
1625
  {
1626
+ "type": "line-chart",
1627
1627
  "data": [
1628
1628
  {
1629
1629
  "value": 12.0,
1630
1630
  "date": "Jan"
1631
1631
  },
1632
1632
  {
1633
- "date": "Feb",
1634
- "value": 19.0
1633
+ "value": 19.0,
1634
+ "date": "Feb"
1635
1635
  },
1636
1636
  {
1637
- "value": 15.0,
1638
- "date": "Mar"
1637
+ "date": "Mar",
1638
+ "value": 15.0
1639
1639
  },
1640
1640
  {
1641
- "value": 25.0,
1642
- "date": "Apr"
1641
+ "date": "Apr",
1642
+ "value": 25.0
1643
1643
  },
1644
1644
  {
1645
1645
  "value": 22.0,
@@ -1649,15 +1649,14 @@
1649
1649
  "date": "Jun",
1650
1650
  "value": 30.0
1651
1651
  }
1652
- ],
1653
- "type": "line-chart"
1652
+ ]
1654
1653
  },
1655
1654
  {
1656
1655
  "type": "chart-legend",
1657
1656
  "items": [
1658
1657
  {
1659
- "label": "Current",
1660
- "color": "primary"
1658
+ "color": "primary",
1659
+ "label": "Current"
1661
1660
  },
1662
1661
  {
1663
1662
  "label": "Previous",
@@ -1668,46 +1667,47 @@
1668
1667
  {
1669
1668
  "edges": [
1670
1669
  {
1671
- "from": "a",
1672
- "to": "b"
1670
+ "to": "b",
1671
+ "from": "a"
1673
1672
  },
1674
1673
  {
1675
- "from": "b",
1676
- "to": "c"
1674
+ "to": "c",
1675
+ "from": "b"
1677
1676
  }
1678
1677
  ],
1679
- "width": 400.0,
1680
- "type": "graph-view",
1681
1678
  "height": 200.0,
1679
+ "type": "graph-view",
1680
+ "width": 400.0,
1682
1681
  "nodes": [
1683
1682
  {
1684
- "x": 50.0,
1685
- "y": 100.0,
1686
1683
  "label": "Start",
1687
- "id": "a"
1684
+ "x": 50.0,
1685
+ "id": "a",
1686
+ "y": 100.0
1688
1687
  },
1689
1688
  {
1690
- "label": "Process",
1691
- "y": 50.0,
1692
1689
  "id": "b",
1693
- "x": 200.0
1690
+ "x": 200.0,
1691
+ "y": 50.0,
1692
+ "label": "Process"
1694
1693
  },
1695
1694
  {
1695
+ "x": 350.0,
1696
1696
  "label": "End",
1697
1697
  "id": "c",
1698
- "x": 350.0,
1699
1698
  "y": 100.0
1700
1699
  }
1701
1700
  ]
1702
1701
  }
1703
1702
  ],
1704
- "type": "stack"
1703
+ "type": "stack",
1704
+ "direction": "vertical",
1705
+ "gap": "lg"
1705
1706
  }
1706
1707
  ]
1707
1708
  }
1708
1709
  ],
1709
1710
  "type": "game-shell",
1710
- "showTopBar": true,
1711
1711
  "appName": "Strategy Game"
1712
1712
  }
1713
1713
  ]
@@ -1723,8 +1723,8 @@
1723
1723
  "Resource",
1724
1724
  {
1725
1725
  "emit": {
1726
- "failure": "ResourceLoadFailed",
1727
- "success": "ResourceLoaded"
1726
+ "success": "ResourceLoaded",
1727
+ "failure": "ResourceLoadFailed"
1728
1728
  }
1729
1729
  }
1730
1730
  ],
@@ -1732,17 +1732,17 @@
1732
1732
  "render-ui",
1733
1733
  "main",
1734
1734
  {
1735
- "type": "game-shell",
1736
- "appName": "Strategy Game",
1737
1735
  "children": [
1738
1736
  {
1737
+ "type": "scaled-diagram",
1739
1738
  "children": [
1740
1739
  {
1741
- "gap": "lg",
1742
1740
  "direction": "vertical",
1743
1741
  "type": "stack",
1742
+ "gap": "lg",
1744
1743
  "children": [
1745
1744
  {
1745
+ "type": "breadcrumb",
1746
1746
  "items": [
1747
1747
  {
1748
1748
  "href": "/",
@@ -1751,13 +1751,16 @@
1751
1751
  {
1752
1752
  "label": "Resources"
1753
1753
  }
1754
- ],
1755
- "type": "breadcrumb"
1754
+ ]
1756
1755
  },
1757
1756
  {
1757
+ "gap": "md",
1758
+ "direction": "horizontal",
1758
1759
  "justify": "between",
1759
1760
  "children": [
1760
1761
  {
1762
+ "gap": "md",
1763
+ "type": "stack",
1761
1764
  "direction": "horizontal",
1762
1765
  "children": [
1763
1766
  {
@@ -1765,37 +1768,34 @@
1765
1768
  "type": "icon"
1766
1769
  },
1767
1770
  {
1768
- "content": "Resources",
1769
1771
  "type": "typography",
1770
- "variant": "h2"
1772
+ "variant": "h2",
1773
+ "content": "Resources"
1771
1774
  }
1772
- ],
1773
- "type": "stack",
1774
- "gap": "md"
1775
+ ]
1775
1776
  },
1776
1777
  {
1777
- "icon": "refresh-cw",
1778
+ "action": "REFRESH",
1778
1779
  "type": "button",
1780
+ "label": "Refresh",
1779
1781
  "variant": "secondary",
1780
- "action": "REFRESH",
1781
- "label": "Refresh"
1782
+ "icon": "refresh-cw"
1782
1783
  }
1783
1784
  ],
1784
- "direction": "horizontal",
1785
- "gap": "md",
1786
1785
  "type": "stack"
1787
1786
  },
1788
1787
  {
1789
1788
  "type": "divider"
1790
1789
  },
1791
1790
  {
1792
- "type": "box",
1793
1791
  "padding": "md",
1794
1792
  "children": [
1795
1793
  {
1794
+ "cols": 3.0,
1796
1795
  "type": "simple-grid",
1797
1796
  "children": [
1798
1797
  {
1798
+ "type": "stat-display",
1799
1799
  "label": "Gold",
1800
1800
  "value": [
1801
1801
  "object/get",
@@ -1804,8 +1804,7 @@
1804
1804
  "@entity"
1805
1805
  ],
1806
1806
  "gold"
1807
- ],
1808
- "type": "stat-display"
1807
+ ]
1809
1808
  },
1810
1809
  {
1811
1810
  "value": [
@@ -1816,8 +1815,8 @@
1816
1815
  ],
1817
1816
  "food"
1818
1817
  ],
1819
- "label": "Food",
1820
- "type": "stat-display"
1818
+ "type": "stat-display",
1819
+ "label": "Food"
1821
1820
  },
1822
1821
  {
1823
1822
  "type": "stat-display",
@@ -1840,106 +1839,93 @@
1840
1839
  ],
1841
1840
  "iron"
1842
1841
  ],
1843
- "type": "stat-display",
1844
- "label": "Iron"
1842
+ "label": "Iron",
1843
+ "type": "stat-display"
1845
1844
  }
1846
- ],
1847
- "cols": 3.0
1845
+ ]
1848
1846
  }
1849
- ]
1847
+ ],
1848
+ "type": "box"
1850
1849
  },
1851
1850
  {
1852
1851
  "type": "divider"
1853
1852
  },
1854
1853
  {
1854
+ "type": "grid",
1855
+ "cols": 2.0,
1855
1856
  "children": [
1856
1857
  {
1858
+ "type": "card",
1857
1859
  "children": [
1858
1860
  {
1859
1861
  "content": "Chart View",
1860
- "variant": "caption",
1861
- "type": "typography"
1862
+ "type": "typography",
1863
+ "variant": "caption"
1862
1864
  }
1863
- ],
1864
- "type": "card"
1865
+ ]
1865
1866
  },
1866
1867
  {
1868
+ "type": "card",
1867
1869
  "children": [
1868
1870
  {
1869
1871
  "content": "Graph View",
1870
1872
  "type": "typography",
1871
1873
  "variant": "caption"
1872
1874
  }
1873
- ],
1874
- "type": "card"
1875
+ ]
1875
1876
  }
1876
1877
  ],
1877
- "type": "grid",
1878
- "cols": 2.0,
1879
1878
  "gap": "md"
1880
1879
  },
1881
1880
  {
1882
- "type": "line-chart",
1883
1881
  "data": [
1884
1882
  {
1885
1883
  "date": "Jan",
1886
1884
  "value": 12.0
1887
1885
  },
1888
1886
  {
1889
- "date": "Feb",
1890
- "value": 19.0
1887
+ "value": 19.0,
1888
+ "date": "Feb"
1891
1889
  },
1892
1890
  {
1893
- "value": 15.0,
1894
- "date": "Mar"
1891
+ "date": "Mar",
1892
+ "value": 15.0
1895
1893
  },
1896
1894
  {
1897
- "date": "Apr",
1898
- "value": 25.0
1895
+ "value": 25.0,
1896
+ "date": "Apr"
1899
1897
  },
1900
1898
  {
1901
- "date": "May",
1902
- "value": 22.0
1899
+ "value": 22.0,
1900
+ "date": "May"
1903
1901
  },
1904
1902
  {
1905
- "date": "Jun",
1906
- "value": 30.0
1903
+ "value": 30.0,
1904
+ "date": "Jun"
1907
1905
  }
1908
- ]
1906
+ ],
1907
+ "type": "line-chart"
1909
1908
  },
1910
1909
  {
1911
- "type": "chart-legend",
1912
1910
  "items": [
1913
1911
  {
1914
- "label": "Current",
1915
- "color": "primary"
1912
+ "color": "primary",
1913
+ "label": "Current"
1916
1914
  },
1917
1915
  {
1918
- "label": "Previous",
1919
- "color": "muted"
1916
+ "color": "muted",
1917
+ "label": "Previous"
1920
1918
  }
1921
- ]
1919
+ ],
1920
+ "type": "chart-legend"
1922
1921
  },
1923
1922
  {
1924
- "type": "graph-view",
1925
- "edges": [
1926
- {
1927
- "from": "a",
1928
- "to": "b"
1929
- },
1930
- {
1931
- "to": "c",
1932
- "from": "b"
1933
- }
1934
- ],
1935
- "height": 200.0,
1936
- "width": 400.0,
1937
1923
  "nodes": [
1938
1924
  {
1939
- "y": 100.0,
1925
+ "label": "Start",
1940
1926
  "x": 50.0,
1941
- "id": "a",
1942
- "label": "Start"
1927
+ "y": 100.0,
1928
+ "id": "a"
1943
1929
  },
1944
1930
  {
1945
1931
  "label": "Process",
@@ -1948,20 +1934,34 @@
1948
1934
  "y": 50.0
1949
1935
  },
1950
1936
  {
1951
- "id": "c",
1952
1937
  "y": 100.0,
1953
1938
  "x": 350.0,
1939
+ "id": "c",
1954
1940
  "label": "End"
1955
1941
  }
1956
- ]
1942
+ ],
1943
+ "type": "graph-view",
1944
+ "height": 200.0,
1945
+ "edges": [
1946
+ {
1947
+ "to": "b",
1948
+ "from": "a"
1949
+ },
1950
+ {
1951
+ "from": "b",
1952
+ "to": "c"
1953
+ }
1954
+ ],
1955
+ "width": 400.0
1957
1956
  }
1958
1957
  ]
1959
1958
  }
1960
- ],
1961
- "type": "scaled-diagram"
1959
+ ]
1962
1960
  }
1963
1961
  ],
1964
- "showTopBar": true
1962
+ "type": "game-shell",
1963
+ "showTopBar": true,
1964
+ "appName": "Strategy Game"
1965
1965
  }
1966
1966
  ]
1967
1967
  ]
@@ -1976,8 +1976,8 @@
1976
1976
  "Resource",
1977
1977
  {
1978
1978
  "emit": {
1979
- "failure": "ResourceLoadFailed",
1980
- "success": "ResourceLoaded"
1979
+ "success": "ResourceLoaded",
1980
+ "failure": "ResourceLoadFailed"
1981
1981
  }
1982
1982
  }
1983
1983
  ],
@@ -1989,15 +1989,17 @@
1989
1989
  "showTopBar": true,
1990
1990
  "children": [
1991
1991
  {
1992
+ "type": "scaled-diagram",
1992
1993
  "children": [
1993
1994
  {
1994
- "type": "stack",
1995
+ "direction": "vertical",
1996
+ "gap": "lg",
1995
1997
  "children": [
1996
1998
  {
1997
1999
  "items": [
1998
2000
  {
1999
- "href": "/",
2000
- "label": "Home"
2001
+ "label": "Home",
2002
+ "href": "/"
2001
2003
  },
2002
2004
  {
2003
2005
  "label": "Resources"
@@ -2007,42 +2009,42 @@
2007
2009
  },
2008
2010
  {
2009
2011
  "direction": "horizontal",
2010
- "type": "stack",
2011
2012
  "gap": "md",
2012
- "justify": "between",
2013
2013
  "children": [
2014
2014
  {
2015
- "type": "stack",
2016
2015
  "direction": "horizontal",
2017
- "gap": "md",
2018
2016
  "children": [
2019
2017
  {
2020
- "name": "database",
2021
- "type": "icon"
2018
+ "type": "icon",
2019
+ "name": "database"
2022
2020
  },
2023
2021
  {
2024
- "type": "typography",
2025
2022
  "content": "Resources",
2023
+ "type": "typography",
2026
2024
  "variant": "h2"
2027
2025
  }
2028
- ]
2026
+ ],
2027
+ "type": "stack",
2028
+ "gap": "md"
2029
2029
  },
2030
2030
  {
2031
2031
  "icon": "refresh-cw",
2032
2032
  "type": "button",
2033
- "action": "REFRESH",
2034
2033
  "variant": "secondary",
2035
- "label": "Refresh"
2034
+ "label": "Refresh",
2035
+ "action": "REFRESH"
2036
2036
  }
2037
- ]
2037
+ ],
2038
+ "justify": "between",
2039
+ "type": "stack"
2038
2040
  },
2039
2041
  {
2040
2042
  "type": "divider"
2041
2043
  },
2042
2044
  {
2045
+ "padding": "md",
2043
2046
  "children": [
2044
2047
  {
2045
- "cols": 3.0,
2046
2048
  "children": [
2047
2049
  {
2048
2050
  "label": "Gold",
@@ -2082,6 +2084,7 @@
2082
2084
  },
2083
2085
  {
2084
2086
  "label": "Iron",
2087
+ "type": "stat-display",
2085
2088
  "value": [
2086
2089
  "object/get",
2087
2090
  [
@@ -2089,55 +2092,55 @@
2089
2092
  "@entity"
2090
2093
  ],
2091
2094
  "iron"
2092
- ],
2093
- "type": "stat-display"
2095
+ ]
2094
2096
  }
2095
2097
  ],
2098
+ "cols": 3.0,
2096
2099
  "type": "simple-grid"
2097
2100
  }
2098
2101
  ],
2099
- "type": "box",
2100
- "padding": "md"
2102
+ "type": "box"
2101
2103
  },
2102
2104
  {
2103
2105
  "type": "divider"
2104
2106
  },
2105
2107
  {
2108
+ "type": "grid",
2106
2109
  "gap": "md",
2107
2110
  "children": [
2108
2111
  {
2112
+ "type": "card",
2109
2113
  "children": [
2110
2114
  {
2111
2115
  "content": "Chart View",
2112
- "type": "typography",
2113
- "variant": "caption"
2116
+ "variant": "caption",
2117
+ "type": "typography"
2114
2118
  }
2115
- ],
2116
- "type": "card"
2119
+ ]
2117
2120
  },
2118
2121
  {
2122
+ "type": "card",
2119
2123
  "children": [
2120
2124
  {
2121
- "variant": "caption",
2122
2125
  "content": "Graph View",
2123
- "type": "typography"
2126
+ "type": "typography",
2127
+ "variant": "caption"
2124
2128
  }
2125
- ],
2126
- "type": "card"
2129
+ ]
2127
2130
  }
2128
2131
  ],
2129
- "type": "grid",
2130
2132
  "cols": 2.0
2131
2133
  },
2132
2134
  {
2135
+ "type": "line-chart",
2133
2136
  "data": [
2134
2137
  {
2135
2138
  "value": 12.0,
2136
2139
  "date": "Jan"
2137
2140
  },
2138
2141
  {
2139
- "date": "Feb",
2140
- "value": 19.0
2142
+ "value": 19.0,
2143
+ "date": "Feb"
2141
2144
  },
2142
2145
  {
2143
2146
  "date": "Mar",
@@ -2155,8 +2158,7 @@
2155
2158
  "value": 30.0,
2156
2159
  "date": "Jun"
2157
2160
  }
2158
- ],
2159
- "type": "line-chart"
2161
+ ]
2160
2162
  },
2161
2163
  {
2162
2164
  "type": "chart-legend",
@@ -2172,46 +2174,44 @@
2172
2174
  ]
2173
2175
  },
2174
2176
  {
2175
- "edges": [
2176
- {
2177
- "from": "a",
2178
- "to": "b"
2179
- },
2180
- {
2181
- "from": "b",
2182
- "to": "c"
2183
- }
2184
- ],
2185
- "width": 400.0,
2186
- "type": "graph-view",
2187
- "height": 200.0,
2188
2177
  "nodes": [
2189
2178
  {
2179
+ "label": "Start",
2190
2180
  "y": 100.0,
2191
- "x": 50.0,
2192
2181
  "id": "a",
2193
- "label": "Start"
2182
+ "x": 50.0
2194
2183
  },
2195
2184
  {
2196
2185
  "id": "b",
2186
+ "label": "Process",
2197
2187
  "y": 50.0,
2198
- "x": 200.0,
2199
- "label": "Process"
2188
+ "x": 200.0
2200
2189
  },
2201
2190
  {
2202
- "label": "End",
2203
- "id": "c",
2204
2191
  "x": 350.0,
2205
- "y": 100.0
2192
+ "y": 100.0,
2193
+ "label": "End",
2194
+ "id": "c"
2206
2195
  }
2207
- ]
2196
+ ],
2197
+ "edges": [
2198
+ {
2199
+ "from": "a",
2200
+ "to": "b"
2201
+ },
2202
+ {
2203
+ "from": "b",
2204
+ "to": "c"
2205
+ }
2206
+ ],
2207
+ "type": "graph-view",
2208
+ "height": 200.0,
2209
+ "width": 400.0
2208
2210
  }
2209
2211
  ],
2210
- "gap": "lg",
2211
- "direction": "vertical"
2212
+ "type": "stack"
2212
2213
  }
2213
- ],
2214
- "type": "scaled-diagram"
2214
+ ]
2215
2215
  }
2216
2216
  ],
2217
2217
  "type": "game-shell"
@@ -2229,8 +2229,8 @@
2229
2229
  "Resource",
2230
2230
  {
2231
2231
  "emit": {
2232
- "success": "ResourceLoaded",
2233
- "failure": "ResourceLoadFailed"
2232
+ "failure": "ResourceLoadFailed",
2233
+ "success": "ResourceLoaded"
2234
2234
  }
2235
2235
  }
2236
2236
  ],
@@ -2238,22 +2238,20 @@
2238
2238
  "render-ui",
2239
2239
  "main",
2240
2240
  {
2241
- "type": "game-shell",
2242
2241
  "children": [
2243
2242
  {
2244
- "type": "scaled-diagram",
2245
2243
  "children": [
2246
2244
  {
2247
- "type": "stack",
2248
- "gap": "lg",
2249
2245
  "direction": "vertical",
2246
+ "gap": "lg",
2247
+ "type": "stack",
2250
2248
  "children": [
2251
2249
  {
2252
2250
  "type": "breadcrumb",
2253
2251
  "items": [
2254
2252
  {
2255
- "label": "Home",
2256
- "href": "/"
2253
+ "href": "/",
2254
+ "label": "Home"
2257
2255
  },
2258
2256
  {
2259
2257
  "label": "Resources"
@@ -2262,34 +2260,34 @@
2262
2260
  },
2263
2261
  {
2264
2262
  "type": "stack",
2263
+ "direction": "horizontal",
2264
+ "gap": "md",
2265
2265
  "justify": "between",
2266
2266
  "children": [
2267
2267
  {
2268
+ "type": "stack",
2268
2269
  "children": [
2269
2270
  {
2270
2271
  "name": "database",
2271
2272
  "type": "icon"
2272
2273
  },
2273
2274
  {
2274
- "content": "Resources",
2275
+ "variant": "h2",
2275
2276
  "type": "typography",
2276
- "variant": "h2"
2277
+ "content": "Resources"
2277
2278
  }
2278
2279
  ],
2279
- "direction": "horizontal",
2280
2280
  "gap": "md",
2281
- "type": "stack"
2281
+ "direction": "horizontal"
2282
2282
  },
2283
2283
  {
2284
+ "icon": "refresh-cw",
2285
+ "label": "Refresh",
2284
2286
  "type": "button",
2285
2287
  "action": "REFRESH",
2286
- "variant": "secondary",
2287
- "label": "Refresh",
2288
- "icon": "refresh-cw"
2288
+ "variant": "secondary"
2289
2289
  }
2290
- ],
2291
- "gap": "md",
2292
- "direction": "horizontal"
2290
+ ]
2293
2291
  },
2294
2292
  {
2295
2293
  "type": "divider"
@@ -2319,11 +2317,11 @@
2319
2317
  ],
2320
2318
  "food"
2321
2319
  ],
2322
- "label": "Food",
2323
- "type": "stat-display"
2320
+ "type": "stat-display",
2321
+ "label": "Food"
2324
2322
  },
2325
2323
  {
2326
- "label": "Wood",
2324
+ "type": "stat-display",
2327
2325
  "value": [
2328
2326
  "object/get",
2329
2327
  [
@@ -2332,10 +2330,9 @@
2332
2330
  ],
2333
2331
  "wood"
2334
2332
  ],
2335
- "type": "stat-display"
2333
+ "label": "Wood"
2336
2334
  },
2337
2335
  {
2338
- "type": "stat-display",
2339
2336
  "value": [
2340
2337
  "object/get",
2341
2338
  [
@@ -2344,7 +2341,8 @@
2344
2341
  ],
2345
2342
  "iron"
2346
2343
  ],
2347
- "label": "Iron"
2344
+ "label": "Iron",
2345
+ "type": "stat-display"
2348
2346
  }
2349
2347
  ],
2350
2348
  "type": "simple-grid",
@@ -2361,35 +2359,35 @@
2361
2359
  "gap": "md",
2362
2360
  "children": [
2363
2361
  {
2362
+ "type": "card",
2364
2363
  "children": [
2365
2364
  {
2366
- "variant": "caption",
2367
2365
  "type": "typography",
2366
+ "variant": "caption",
2368
2367
  "content": "Chart View"
2369
2368
  }
2370
- ],
2371
- "type": "card"
2369
+ ]
2372
2370
  },
2373
2371
  {
2374
2372
  "type": "card",
2375
2373
  "children": [
2376
2374
  {
2377
- "content": "Graph View",
2378
2375
  "variant": "caption",
2376
+ "content": "Graph View",
2379
2377
  "type": "typography"
2380
2378
  }
2381
2379
  ]
2382
2380
  }
2383
2381
  ],
2384
- "type": "grid",
2385
- "cols": 2.0
2382
+ "cols": 2.0,
2383
+ "type": "grid"
2386
2384
  },
2387
2385
  {
2388
2386
  "type": "line-chart",
2389
2387
  "data": [
2390
2388
  {
2391
- "date": "Jan",
2392
- "value": 12.0
2389
+ "value": 12.0,
2390
+ "date": "Jan"
2393
2391
  },
2394
2392
  {
2395
2393
  "value": 19.0,
@@ -2400,16 +2398,16 @@
2400
2398
  "value": 15.0
2401
2399
  },
2402
2400
  {
2403
- "value": 25.0,
2404
- "date": "Apr"
2401
+ "date": "Apr",
2402
+ "value": 25.0
2405
2403
  },
2406
2404
  {
2407
2405
  "date": "May",
2408
2406
  "value": 22.0
2409
2407
  },
2410
2408
  {
2411
- "value": 30.0,
2412
- "date": "Jun"
2409
+ "date": "Jun",
2410
+ "value": 30.0
2413
2411
  }
2414
2412
  ]
2415
2413
  },
@@ -2421,39 +2419,39 @@
2421
2419
  "color": "primary"
2422
2420
  },
2423
2421
  {
2424
- "label": "Previous",
2425
- "color": "muted"
2422
+ "color": "muted",
2423
+ "label": "Previous"
2426
2424
  }
2427
2425
  ]
2428
2426
  },
2429
2427
  {
2430
2428
  "height": 200.0,
2431
- "type": "graph-view",
2432
- "width": 400.0,
2433
2429
  "nodes": [
2434
2430
  {
2435
- "x": 50.0,
2436
- "id": "a",
2437
2431
  "label": "Start",
2438
- "y": 100.0
2432
+ "y": 100.0,
2433
+ "x": 50.0,
2434
+ "id": "a"
2439
2435
  },
2440
2436
  {
2441
- "label": "Process",
2437
+ "id": "b",
2442
2438
  "y": 50.0,
2443
- "x": 200.0,
2444
- "id": "b"
2439
+ "label": "Process",
2440
+ "x": 200.0
2445
2441
  },
2446
2442
  {
2447
2443
  "y": 100.0,
2448
- "x": 350.0,
2449
2444
  "label": "End",
2450
- "id": "c"
2445
+ "id": "c",
2446
+ "x": 350.0
2451
2447
  }
2452
2448
  ],
2449
+ "width": 400.0,
2450
+ "type": "graph-view",
2453
2451
  "edges": [
2454
2452
  {
2455
- "from": "a",
2456
- "to": "b"
2453
+ "to": "b",
2454
+ "from": "a"
2457
2455
  },
2458
2456
  {
2459
2457
  "from": "b",
@@ -2463,10 +2461,12 @@
2463
2461
  }
2464
2462
  ]
2465
2463
  }
2466
- ]
2464
+ ],
2465
+ "type": "scaled-diagram"
2467
2466
  }
2468
2467
  ],
2469
2468
  "showTopBar": true,
2469
+ "type": "game-shell",
2470
2470
  "appName": "Strategy Game"
2471
2471
  }
2472
2472
  ]
@@ -2492,12 +2492,12 @@
2492
2492
  "main",
2493
2493
  {
2494
2494
  "type": "game-shell",
2495
- "showTopBar": true,
2496
2495
  "children": [
2497
2496
  {
2497
+ "type": "scaled-diagram",
2498
2498
  "children": [
2499
2499
  {
2500
- "gap": "lg",
2500
+ "direction": "vertical",
2501
2501
  "type": "stack",
2502
2502
  "children": [
2503
2503
  {
@@ -2513,11 +2513,9 @@
2513
2513
  ]
2514
2514
  },
2515
2515
  {
2516
- "justify": "between",
2517
- "type": "stack",
2518
- "direction": "horizontal",
2519
2516
  "children": [
2520
2517
  {
2518
+ "type": "stack",
2521
2519
  "gap": "md",
2522
2520
  "direction": "horizontal",
2523
2521
  "children": [
@@ -2526,21 +2524,23 @@
2526
2524
  "type": "icon"
2527
2525
  },
2528
2526
  {
2527
+ "type": "typography",
2529
2528
  "variant": "h2",
2530
- "content": "Resources",
2531
- "type": "typography"
2529
+ "content": "Resources"
2532
2530
  }
2533
- ],
2534
- "type": "stack"
2531
+ ]
2535
2532
  },
2536
2533
  {
2537
- "type": "button",
2538
- "icon": "refresh-cw",
2539
2534
  "variant": "secondary",
2540
2535
  "action": "REFRESH",
2536
+ "type": "button",
2537
+ "icon": "refresh-cw",
2541
2538
  "label": "Refresh"
2542
2539
  }
2543
2540
  ],
2541
+ "type": "stack",
2542
+ "direction": "horizontal",
2543
+ "justify": "between",
2544
2544
  "gap": "md"
2545
2545
  },
2546
2546
  {
@@ -2551,10 +2551,10 @@
2551
2551
  "type": "box",
2552
2552
  "children": [
2553
2553
  {
2554
- "cols": 3.0,
2555
- "type": "simple-grid",
2556
2554
  "children": [
2557
2555
  {
2556
+ "type": "stat-display",
2557
+ "label": "Gold",
2558
2558
  "value": [
2559
2559
  "object/get",
2560
2560
  [
@@ -2562,12 +2562,9 @@
2562
2562
  "@entity"
2563
2563
  ],
2564
2564
  "gold"
2565
- ],
2566
- "type": "stat-display",
2567
- "label": "Gold"
2565
+ ]
2568
2566
  },
2569
2567
  {
2570
- "type": "stat-display",
2571
2568
  "value": [
2572
2569
  "object/get",
2573
2570
  [
@@ -2576,11 +2573,10 @@
2576
2573
  ],
2577
2574
  "food"
2578
2575
  ],
2576
+ "type": "stat-display",
2579
2577
  "label": "Food"
2580
2578
  },
2581
2579
  {
2582
- "type": "stat-display",
2583
- "label": "Wood",
2584
2580
  "value": [
2585
2581
  "object/get",
2586
2582
  [
@@ -2588,7 +2584,9 @@
2588
2584
  "@entity"
2589
2585
  ],
2590
2586
  "wood"
2591
- ]
2587
+ ],
2588
+ "label": "Wood",
2589
+ "type": "stat-display"
2592
2590
  },
2593
2591
  {
2594
2592
  "label": "Iron",
@@ -2602,7 +2600,9 @@
2602
2600
  "iron"
2603
2601
  ]
2604
2602
  }
2605
- ]
2603
+ ],
2604
+ "type": "simple-grid",
2605
+ "cols": 3.0
2606
2606
  }
2607
2607
  ]
2608
2608
  },
@@ -2610,31 +2610,31 @@
2610
2610
  "type": "divider"
2611
2611
  },
2612
2612
  {
2613
+ "cols": 2.0,
2613
2614
  "children": [
2614
2615
  {
2615
2616
  "type": "card",
2616
2617
  "children": [
2617
2618
  {
2619
+ "type": "typography",
2618
2620
  "variant": "caption",
2619
- "content": "Chart View",
2620
- "type": "typography"
2621
+ "content": "Chart View"
2621
2622
  }
2622
2623
  ]
2623
2624
  },
2624
2625
  {
2626
+ "type": "card",
2625
2627
  "children": [
2626
2628
  {
2627
- "type": "typography",
2629
+ "content": "Graph View",
2628
2630
  "variant": "caption",
2629
- "content": "Graph View"
2631
+ "type": "typography"
2630
2632
  }
2631
- ],
2632
- "type": "card"
2633
+ ]
2633
2634
  }
2634
2635
  ],
2635
- "type": "grid",
2636
2636
  "gap": "md",
2637
- "cols": 2.0
2637
+ "type": "grid"
2638
2638
  },
2639
2639
  {
2640
2640
  "type": "line-chart",
@@ -2652,12 +2652,12 @@
2652
2652
  "date": "Mar"
2653
2653
  },
2654
2654
  {
2655
- "date": "Apr",
2656
- "value": 25.0
2655
+ "value": 25.0,
2656
+ "date": "Apr"
2657
2657
  },
2658
2658
  {
2659
- "date": "May",
2660
- "value": 22.0
2659
+ "value": 22.0,
2660
+ "date": "May"
2661
2661
  },
2662
2662
  {
2663
2663
  "value": 30.0,
@@ -2668,8 +2668,8 @@
2668
2668
  {
2669
2669
  "items": [
2670
2670
  {
2671
- "color": "primary",
2672
- "label": "Current"
2671
+ "label": "Current",
2672
+ "color": "primary"
2673
2673
  },
2674
2674
  {
2675
2675
  "label": "Previous",
@@ -2686,18 +2686,18 @@
2686
2686
  "from": "a"
2687
2687
  },
2688
2688
  {
2689
- "from": "b",
2690
- "to": "c"
2689
+ "to": "c",
2690
+ "from": "b"
2691
2691
  }
2692
2692
  ],
2693
2693
  "height": 200.0,
2694
2694
  "width": 400.0,
2695
2695
  "nodes": [
2696
2696
  {
2697
- "y": 100.0,
2698
- "id": "a",
2699
2697
  "label": "Start",
2700
- "x": 50.0
2698
+ "x": 50.0,
2699
+ "id": "a",
2700
+ "y": 100.0
2701
2701
  },
2702
2702
  {
2703
2703
  "id": "b",
@@ -2706,20 +2706,20 @@
2706
2706
  "x": 200.0
2707
2707
  },
2708
2708
  {
2709
- "label": "End",
2710
2709
  "x": 350.0,
2711
2710
  "y": 100.0,
2712
- "id": "c"
2711
+ "id": "c",
2712
+ "label": "End"
2713
2713
  }
2714
2714
  ]
2715
2715
  }
2716
2716
  ],
2717
- "direction": "vertical"
2717
+ "gap": "lg"
2718
2718
  }
2719
- ],
2720
- "type": "scaled-diagram"
2719
+ ]
2721
2720
  }
2722
2721
  ],
2722
+ "showTopBar": true,
2723
2723
  "appName": "Strategy Game"
2724
2724
  }
2725
2725
  ]