@almadar/std 3.2.2 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/LICENSE +72 -21
  2. package/README.md +1 -1
  3. package/behaviors/exports/atoms/std-browse.orb +38 -45
  4. package/behaviors/exports/atoms/std-calendar.orb +770 -0
  5. package/behaviors/exports/atoms/std-combat-log.orb +12 -12
  6. package/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  7. package/behaviors/exports/atoms/std-display.orb +1175 -510
  8. package/behaviors/exports/atoms/std-drawer.orb +235 -133
  9. package/behaviors/exports/atoms/std-flip-card.orb +596 -0
  10. package/behaviors/exports/atoms/std-gallery.orb +382 -0
  11. package/behaviors/exports/atoms/std-game-audio.orb +9 -9
  12. package/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  13. package/behaviors/exports/atoms/std-game-hud.orb +10 -10
  14. package/behaviors/exports/atoms/std-game-menu.orb +12 -12
  15. package/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  16. package/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  17. package/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  18. package/behaviors/exports/atoms/std-loading.orb +131 -103
  19. package/behaviors/exports/atoms/std-modal.orb +5 -24
  20. package/behaviors/exports/atoms/std-notification.orb +71 -0
  21. package/behaviors/exports/atoms/std-pagination.orb +32 -40
  22. package/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  23. package/behaviors/exports/atoms/std-rating.orb +328 -0
  24. package/behaviors/exports/atoms/std-score-board.orb +9 -9
  25. package/behaviors/exports/atoms/std-score.orb +41 -0
  26. package/behaviors/exports/atoms/std-search.orb +44 -30
  27. package/behaviors/exports/atoms/std-selection.orb +30 -24
  28. package/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  29. package/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  30. package/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  31. package/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  32. package/behaviors/exports/atoms/std-service-email.orb +540 -0
  33. package/behaviors/exports/atoms/std-service-github.orb +586 -0
  34. package/behaviors/exports/atoms/std-service-llm.orb +671 -0
  35. package/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  36. package/behaviors/exports/atoms/std-service-redis.orb +580 -0
  37. package/behaviors/exports/atoms/std-service-storage.orb +664 -0
  38. package/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  39. package/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  40. package/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  41. package/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  42. package/behaviors/exports/atoms/std-sort.orb +82 -60
  43. package/behaviors/exports/atoms/std-sprite.orb +17 -17
  44. package/behaviors/exports/atoms/std-text-effects.orb +658 -0
  45. package/behaviors/exports/atoms/std-theme.orb +573 -0
  46. package/behaviors/exports/atoms/std-upload.orb +535 -0
  47. package/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  48. package/behaviors/exports/atoms/std-wizard.orb +664 -224
  49. package/behaviors/exports/molecules/std-builder-game.orb +43 -3
  50. package/behaviors/exports/molecules/std-cart.orb +319 -101
  51. package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  52. package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  53. package/behaviors/exports/molecules/std-detail.orb +46 -49
  54. package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  55. package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  56. package/behaviors/exports/molecules/std-geospatial.orb +48 -48
  57. package/behaviors/exports/molecules/std-inventory.orb +70 -50
  58. package/behaviors/exports/molecules/std-list.orb +174 -197
  59. package/behaviors/exports/molecules/std-messaging.orb +35 -50
  60. package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  61. package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  62. package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  63. package/behaviors/exports/molecules/std-quiz.orb +1069 -0
  64. package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  65. package/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  66. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  67. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  68. package/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  69. package/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  70. package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  71. package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  72. package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  73. package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  74. package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  75. package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  76. package/behaviors/exports/organisms/std-cms.orb +929 -822
  77. package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  78. package/behaviors/exports/organisms/std-crm.orb +2302 -1282
  79. package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  80. package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  81. package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  82. package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  83. package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  84. package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  85. package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  86. package/behaviors/exports/organisms/std-lms.orb +2495 -1435
  87. package/behaviors/exports/organisms/std-logic-training.orb +220 -66
  88. package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  89. package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  90. package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  91. package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  92. package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  93. package/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  94. package/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  95. package/behaviors/exports/organisms/std-social-feed.orb +184 -172
  96. package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  97. package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  98. package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  99. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  100. package/behaviors/exports/validation-report.json +0 -747
  101. package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
  102. package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
  103. package/dist/behaviors/exports/atoms/std-combat-log.orb +12 -12
  104. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  105. package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
  106. package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
  107. package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
  108. package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
  109. package/dist/behaviors/exports/atoms/std-game-audio.orb +9 -9
  110. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  111. package/dist/behaviors/exports/atoms/std-game-hud.orb +10 -10
  112. package/dist/behaviors/exports/atoms/std-game-menu.orb +12 -12
  113. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  114. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  115. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  116. package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
  117. package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
  118. package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
  119. package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
  120. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  121. package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
  122. package/dist/behaviors/exports/atoms/std-score-board.orb +9 -9
  123. package/dist/behaviors/exports/atoms/std-score.orb +41 -0
  124. package/dist/behaviors/exports/atoms/std-search.orb +44 -30
  125. package/dist/behaviors/exports/atoms/std-selection.orb +30 -24
  126. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  127. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  128. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  129. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  130. package/dist/behaviors/exports/atoms/std-service-email.orb +540 -0
  131. package/dist/behaviors/exports/atoms/std-service-github.orb +586 -0
  132. package/dist/behaviors/exports/atoms/std-service-llm.orb +671 -0
  133. package/dist/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  134. package/dist/behaviors/exports/atoms/std-service-redis.orb +580 -0
  135. package/dist/behaviors/exports/atoms/std-service-storage.orb +664 -0
  136. package/dist/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  137. package/dist/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  138. package/dist/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  139. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  140. package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
  141. package/dist/behaviors/exports/atoms/std-sprite.orb +17 -17
  142. package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
  143. package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
  144. package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
  145. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  146. package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
  147. package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
  148. package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
  149. package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
  150. package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
  151. package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
  152. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
  153. package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
  154. package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
  155. package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
  156. package/dist/behaviors/exports/molecules/std-list.orb +174 -197
  157. package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
  158. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
  159. package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
  160. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
  161. package/dist/behaviors/exports/molecules/std-quiz.orb +1069 -0
  162. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
  163. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  164. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  165. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  166. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  167. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  168. package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
  169. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
  170. package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
  171. package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
  172. package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
  173. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  174. package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
  175. package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
  176. package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
  177. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
  178. package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
  179. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
  180. package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
  181. package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
  182. package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
  183. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
  184. package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
  185. package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
  186. package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
  187. package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
  188. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
  189. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
  190. package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
  191. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  192. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  193. package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
  194. package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
  195. package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
  196. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
  197. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  198. package/dist/behaviors/exports/validation-report.json +0 -747
  199. package/dist/behaviors/functions/index.d.ts +931 -1
  200. package/dist/behaviors/functions/index.js +12511 -4634
  201. package/dist/behaviors/functions/index.js.map +1 -1
  202. package/dist/behaviors/index.d.ts +1 -1
  203. package/dist/behaviors/index.js +12434 -4557
  204. package/dist/behaviors/index.js.map +1 -1
  205. package/dist/exports/atoms/std-browse.orb +38 -45
  206. package/dist/exports/atoms/std-calendar.orb +770 -0
  207. package/dist/exports/atoms/std-combat-log.orb +12 -12
  208. package/dist/exports/atoms/std-dialogue-box.orb +11 -11
  209. package/dist/exports/atoms/std-display.orb +1175 -510
  210. package/dist/exports/atoms/std-drawer.orb +235 -133
  211. package/dist/exports/atoms/std-flip-card.orb +596 -0
  212. package/dist/exports/atoms/std-gallery.orb +382 -0
  213. package/dist/exports/atoms/std-game-audio.orb +9 -9
  214. package/dist/exports/atoms/std-game-canvas3d.orb +24 -24
  215. package/dist/exports/atoms/std-game-hud.orb +10 -10
  216. package/dist/exports/atoms/std-game-menu.orb +12 -12
  217. package/dist/exports/atoms/std-game-over-screen.orb +9 -9
  218. package/dist/exports/atoms/std-inventory-panel.orb +13 -13
  219. package/dist/exports/atoms/std-isometric-canvas.orb +9 -9
  220. package/dist/exports/atoms/std-loading.orb +131 -103
  221. package/dist/exports/atoms/std-modal.orb +5 -24
  222. package/dist/exports/atoms/std-notification.orb +71 -0
  223. package/dist/exports/atoms/std-pagination.orb +32 -40
  224. package/dist/exports/atoms/std-platformer-canvas.orb +9 -9
  225. package/dist/exports/atoms/std-rating.orb +328 -0
  226. package/dist/exports/atoms/std-score-board.orb +9 -9
  227. package/dist/exports/atoms/std-score.orb +41 -0
  228. package/dist/exports/atoms/std-search.orb +44 -30
  229. package/dist/exports/atoms/std-selection.orb +30 -24
  230. package/dist/exports/atoms/std-service-custom-bearer.orb +557 -0
  231. package/dist/exports/atoms/std-service-custom-header.orb +559 -0
  232. package/dist/exports/atoms/std-service-custom-noauth.orb +553 -0
  233. package/dist/exports/atoms/std-service-custom-query.orb +559 -0
  234. package/dist/exports/atoms/std-service-email.orb +540 -0
  235. package/dist/exports/atoms/std-service-github.orb +586 -0
  236. package/dist/exports/atoms/std-service-llm.orb +671 -0
  237. package/dist/exports/atoms/std-service-oauth.orb +764 -0
  238. package/dist/exports/atoms/std-service-redis.orb +580 -0
  239. package/dist/exports/atoms/std-service-storage.orb +664 -0
  240. package/dist/exports/atoms/std-service-stripe.orb +639 -0
  241. package/dist/exports/atoms/std-service-twilio.orb +611 -0
  242. package/dist/exports/atoms/std-service-youtube.orb +696 -0
  243. package/dist/exports/atoms/std-simulation-canvas.orb +9 -9
  244. package/dist/exports/atoms/std-sort.orb +82 -60
  245. package/dist/exports/atoms/std-sprite.orb +17 -17
  246. package/dist/exports/atoms/std-text-effects.orb +658 -0
  247. package/dist/exports/atoms/std-theme.orb +573 -0
  248. package/dist/exports/atoms/std-upload.orb +535 -0
  249. package/dist/exports/atoms/std-validate-on-save.orb +623 -0
  250. package/dist/exports/atoms/std-wizard.orb +664 -224
  251. package/dist/exports/molecules/std-builder-game.orb +43 -3
  252. package/dist/exports/molecules/std-cart.orb +319 -101
  253. package/dist/exports/molecules/std-classifier-game.orb +43 -3
  254. package/dist/exports/molecules/std-debugger-game.orb +43 -3
  255. package/dist/exports/molecules/std-detail.orb +46 -49
  256. package/dist/exports/molecules/std-event-handler-game.orb +43 -3
  257. package/dist/exports/molecules/std-form-advanced.orb +654 -0
  258. package/dist/exports/molecules/std-geospatial.orb +48 -48
  259. package/dist/exports/molecules/std-inventory.orb +70 -50
  260. package/dist/exports/molecules/std-list.orb +174 -197
  261. package/dist/exports/molecules/std-messaging.orb +35 -50
  262. package/dist/exports/molecules/std-negotiator-game.orb +43 -3
  263. package/dist/exports/molecules/std-platformer-game.orb +18 -2
  264. package/dist/exports/molecules/std-puzzle-game.orb +32 -6
  265. package/dist/exports/molecules/std-quiz.orb +1069 -0
  266. package/dist/exports/molecules/std-sequencer-game.orb +43 -3
  267. package/dist/exports/molecules/std-service-content-pipeline.orb +915 -0
  268. package/dist/exports/molecules/std-service-custom-api-tester.orb +860 -0
  269. package/dist/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  270. package/dist/exports/molecules/std-service-notification-hub.orb +696 -0
  271. package/dist/exports/molecules/std-service-payment-flow.orb +873 -0
  272. package/dist/exports/molecules/std-simulator-game.orb +43 -3
  273. package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
  274. package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
  275. package/dist/exports/organisms/std-arcade-game.orb +377 -265
  276. package/dist/exports/organisms/std-booking-system.orb +3144 -1855
  277. package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
  278. package/dist/exports/organisms/std-cms.orb +929 -822
  279. package/dist/exports/organisms/std-coding-academy.orb +1347 -458
  280. package/dist/exports/organisms/std-crm.orb +2302 -1282
  281. package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
  282. package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
  283. package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
  284. package/dist/exports/organisms/std-healthcare.orb +3545 -1992
  285. package/dist/exports/organisms/std-helpdesk.orb +1853 -940
  286. package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
  287. package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
  288. package/dist/exports/organisms/std-lms.orb +2495 -1435
  289. package/dist/exports/organisms/std-logic-training.orb +220 -66
  290. package/dist/exports/organisms/std-platformer-app.orb +345 -214
  291. package/dist/exports/organisms/std-project-manager.orb +2217 -1190
  292. package/dist/exports/organisms/std-puzzle-app.orb +228 -103
  293. package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
  294. package/dist/exports/organisms/std-rpg-game.orb +1170 -948
  295. package/dist/exports/organisms/std-service-marketplace.orb +5191 -0
  296. package/dist/exports/organisms/std-service-research-assistant.orb +3568 -0
  297. package/dist/exports/organisms/std-social-feed.orb +184 -172
  298. package/dist/exports/organisms/std-stem-lab.orb +1308 -482
  299. package/dist/exports/organisms/std-strategy-game.orb +1520 -696
  300. package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
  301. package/dist/exports/test-schemas/os-trigger-simulation.orb +202 -0
  302. package/dist/exports/validation-report.json +0 -747
  303. package/dist/index.d.ts +3 -3
  304. package/dist/index.js +12826 -4799
  305. package/dist/index.js.map +1 -1
  306. package/dist/modules/array.d.ts +1 -1
  307. package/dist/modules/async.d.ts +1 -1
  308. package/dist/modules/contract.d.ts +22 -0
  309. package/dist/modules/contract.js +100 -0
  310. package/dist/modules/contract.js.map +1 -0
  311. package/dist/modules/data.d.ts +22 -0
  312. package/dist/modules/data.js +117 -0
  313. package/dist/modules/data.js.map +1 -0
  314. package/dist/modules/format.d.ts +1 -1
  315. package/dist/modules/graph.d.ts +23 -0
  316. package/dist/modules/graph.js +209 -0
  317. package/dist/modules/graph.js.map +1 -0
  318. package/dist/modules/index.d.ts +5 -1
  319. package/dist/modules/index.js +593 -63
  320. package/dist/modules/index.js.map +1 -1
  321. package/dist/modules/math.d.ts +1 -1
  322. package/dist/modules/nn.d.ts +1 -1
  323. package/dist/modules/nn.js +14 -14
  324. package/dist/modules/nn.js.map +1 -1
  325. package/dist/modules/object.d.ts +1 -1
  326. package/dist/modules/os.d.ts +19 -0
  327. package/dist/modules/os.js +116 -0
  328. package/dist/modules/os.js.map +1 -0
  329. package/dist/modules/prob.d.ts +1 -1
  330. package/dist/modules/str.d.ts +1 -1
  331. package/dist/modules/tensor.d.ts +1 -1
  332. package/dist/modules/tensor.js +29 -29
  333. package/dist/modules/tensor.js.map +1 -1
  334. package/dist/modules/time.d.ts +1 -1
  335. package/dist/modules/train.d.ts +1 -1
  336. package/dist/modules/train.js +19 -19
  337. package/dist/modules/train.js.map +1 -1
  338. package/dist/modules/validate.d.ts +1 -1
  339. package/dist/registry.d.ts +2 -2
  340. package/dist/registry.js +184 -65
  341. package/dist/registry.js.map +1 -1
  342. package/dist/{types-CmNM_IbV.d.ts → types-DOeGXRCm.d.ts} +3 -3
  343. package/package.json +2 -2
@@ -33,6 +33,32 @@
33
33
  "type": "number",
34
34
  "default": 100
35
35
  }
36
+ ],
37
+ "instances": [
38
+ {
39
+ "id": "unit-1",
40
+ "name": "Knight",
41
+ "description": "Armored warrior",
42
+ "status": "active",
43
+ "turn": 0,
44
+ "score": 0
45
+ },
46
+ {
47
+ "id": "unit-2",
48
+ "name": "Archer",
49
+ "description": "Ranged attacker",
50
+ "status": "active",
51
+ "turn": 0,
52
+ "score": 0
53
+ },
54
+ {
55
+ "id": "unit-3",
56
+ "name": "Mage",
57
+ "description": "Magic caster",
58
+ "status": "active",
59
+ "turn": 0,
60
+ "score": 0
61
+ }
36
62
  ]
37
63
  },
38
64
  "traits": [
@@ -108,14 +134,21 @@
108
134
  "render-ui",
109
135
  "main",
110
136
  {
111
- "type": "game-menu",
112
- "title": "Army Battle",
113
- "subtitle": "Turn-Based Strategy",
114
- "menuItems": [
137
+ "type": "game-shell",
138
+ "appName": "Strategy Game",
139
+ "showTopBar": true,
140
+ "children": [
115
141
  {
116
- "label": "Start Battle",
117
- "event": "START",
118
- "variant": "primary"
142
+ "type": "game-menu",
143
+ "title": "Army Battle",
144
+ "subtitle": "Turn-Based Strategy",
145
+ "menuItems": [
146
+ {
147
+ "label": "Start Battle",
148
+ "event": "START",
149
+ "variant": "primary"
150
+ }
151
+ ]
119
152
  }
120
153
  ]
121
154
  }
@@ -131,15 +164,22 @@
131
164
  "render-ui",
132
165
  "main",
133
166
  {
134
- "type": "game-hud",
135
- "stats": [
136
- {
137
- "label": "Turn",
138
- "value": "@entity.turn"
139
- },
167
+ "type": "game-shell",
168
+ "appName": "Strategy Game",
169
+ "showTopBar": true,
170
+ "children": [
140
171
  {
141
- "label": "Score",
142
- "value": "@entity.score"
172
+ "type": "game-hud",
173
+ "stats": [
174
+ {
175
+ "label": "Turn",
176
+ "value": "@entity.turn"
177
+ },
178
+ {
179
+ "label": "Score",
180
+ "value": "@entity.score"
181
+ }
182
+ ]
143
183
  }
144
184
  ]
145
185
  }
@@ -164,15 +204,22 @@
164
204
  "render-ui",
165
205
  "main",
166
206
  {
167
- "type": "game-hud",
168
- "stats": [
169
- {
170
- "label": "Turn",
171
- "value": "@entity.turn"
172
- },
207
+ "type": "game-shell",
208
+ "appName": "Strategy Game",
209
+ "showTopBar": true,
210
+ "children": [
173
211
  {
174
- "label": "Score",
175
- "value": "@entity.score"
212
+ "type": "game-hud",
213
+ "stats": [
214
+ {
215
+ "label": "Turn",
216
+ "value": "@entity.turn"
217
+ },
218
+ {
219
+ "label": "Score",
220
+ "value": "@entity.score"
221
+ }
222
+ ]
176
223
  }
177
224
  ]
178
225
  }
@@ -232,15 +279,22 @@
232
279
  "render-ui",
233
280
  "main",
234
281
  {
235
- "type": "game-hud",
236
- "stats": [
237
- {
238
- "label": "Turn",
239
- "value": "@entity.turn"
240
- },
282
+ "type": "game-shell",
283
+ "appName": "Strategy Game",
284
+ "showTopBar": true,
285
+ "children": [
241
286
  {
242
- "label": "Score",
243
- "value": "@entity.score"
287
+ "type": "game-hud",
288
+ "stats": [
289
+ {
290
+ "label": "Turn",
291
+ "value": "@entity.turn"
292
+ },
293
+ {
294
+ "label": "Score",
295
+ "value": "@entity.score"
296
+ }
297
+ ]
244
298
  }
245
299
  ]
246
300
  }
@@ -261,15 +315,22 @@
261
315
  "render-ui",
262
316
  "main",
263
317
  {
264
- "type": "game-hud",
265
- "stats": [
266
- {
267
- "label": "Turn",
268
- "value": "@entity.turn"
269
- },
318
+ "type": "game-shell",
319
+ "appName": "Strategy Game",
320
+ "showTopBar": true,
321
+ "children": [
270
322
  {
271
- "label": "Score",
272
- "value": "@entity.score"
323
+ "type": "game-hud",
324
+ "stats": [
325
+ {
326
+ "label": "Turn",
327
+ "value": "@entity.turn"
328
+ },
329
+ {
330
+ "label": "Score",
331
+ "value": "@entity.score"
332
+ }
333
+ ]
273
334
  }
274
335
  ]
275
336
  }
@@ -285,28 +346,35 @@
285
346
  "render-ui",
286
347
  "main",
287
348
  {
288
- "type": "game-over-screen",
289
- "title": "Battle Over",
290
- "stats": [
291
- {
292
- "label": "Turns",
293
- "value": "@entity.turn"
294
- },
295
- {
296
- "label": "Score",
297
- "value": "@entity.score"
298
- }
299
- ],
300
- "menuItems": [
301
- {
302
- "label": "Play Again",
303
- "event": "RESTART",
304
- "variant": "primary"
305
- },
349
+ "type": "game-shell",
350
+ "appName": "Strategy Game",
351
+ "showTopBar": true,
352
+ "children": [
306
353
  {
307
- "label": "Main Menu",
308
- "event": "RESTART",
309
- "variant": "secondary"
354
+ "type": "game-over-screen",
355
+ "title": "Battle Over",
356
+ "stats": [
357
+ {
358
+ "label": "Turns",
359
+ "value": "@entity.turn"
360
+ },
361
+ {
362
+ "label": "Score",
363
+ "value": "@entity.score"
364
+ }
365
+ ],
366
+ "menuItems": [
367
+ {
368
+ "label": "Play Again",
369
+ "event": "RESTART",
370
+ "variant": "primary"
371
+ },
372
+ {
373
+ "label": "Main Menu",
374
+ "event": "RESTART",
375
+ "variant": "secondary"
376
+ }
377
+ ]
310
378
  }
311
379
  ]
312
380
  }
@@ -322,14 +390,21 @@
322
390
  "render-ui",
323
391
  "main",
324
392
  {
325
- "type": "game-menu",
326
- "title": "Army Battle",
327
- "subtitle": "Turn-Based Strategy",
328
- "menuItems": [
393
+ "type": "game-shell",
394
+ "appName": "Strategy Game",
395
+ "showTopBar": true,
396
+ "children": [
329
397
  {
330
- "label": "Start Battle",
331
- "event": "START",
332
- "variant": "primary"
398
+ "type": "game-menu",
399
+ "title": "Army Battle",
400
+ "subtitle": "Turn-Based Strategy",
401
+ "menuItems": [
402
+ {
403
+ "label": "Start Battle",
404
+ "event": "START",
405
+ "variant": "primary"
406
+ }
407
+ ]
333
408
  }
334
409
  ]
335
410
  }
@@ -350,14 +425,21 @@
350
425
  "render-ui",
351
426
  "main",
352
427
  {
353
- "type": "game-menu",
354
- "title": "Army Battle",
355
- "subtitle": "Turn-Based Strategy",
356
- "menuItems": [
428
+ "type": "game-shell",
429
+ "appName": "Strategy Game",
430
+ "showTopBar": true,
431
+ "children": [
357
432
  {
358
- "label": "Start Battle",
359
- "event": "START",
360
- "variant": "primary"
433
+ "type": "game-menu",
434
+ "title": "Army Battle",
435
+ "subtitle": "Turn-Based Strategy",
436
+ "menuItems": [
437
+ {
438
+ "label": "Start Battle",
439
+ "event": "START",
440
+ "variant": "primary"
441
+ }
442
+ ]
361
443
  }
362
444
  ]
363
445
  }
@@ -420,12 +502,19 @@
420
502
  "render-ui",
421
503
  "main",
422
504
  {
423
- "type": "combat-log",
424
- "events": "@ArmyBattle",
425
- "maxVisible": 10,
426
- "autoScroll": true,
427
- "showTimestamps": true,
428
- "title": "Combat Log"
505
+ "type": "game-shell",
506
+ "appName": "Strategy Game",
507
+ "showTopBar": true,
508
+ "children": [
509
+ {
510
+ "type": "combat-log",
511
+ "events": "@ArmyBattle",
512
+ "maxVisible": 10,
513
+ "autoScroll": true,
514
+ "showTimestamps": true,
515
+ "title": "Combat Log"
516
+ }
517
+ ]
429
518
  }
430
519
  ]
431
520
  ]
@@ -439,12 +528,19 @@
439
528
  "render-ui",
440
529
  "main",
441
530
  {
442
- "type": "combat-log",
443
- "events": "@ArmyBattle",
444
- "maxVisible": 10,
445
- "autoScroll": true,
446
- "showTimestamps": true,
447
- "title": "Combat Log"
531
+ "type": "game-shell",
532
+ "appName": "Strategy Game",
533
+ "showTopBar": true,
534
+ "children": [
535
+ {
536
+ "type": "combat-log",
537
+ "events": "@ArmyBattle",
538
+ "maxVisible": 10,
539
+ "autoScroll": true,
540
+ "showTimestamps": true,
541
+ "title": "Combat Log"
542
+ }
543
+ ]
448
544
  }
449
545
  ]
450
546
  ]
@@ -557,104 +653,111 @@
557
653
  "render-ui",
558
654
  "main",
559
655
  {
560
- "type": "stack",
561
- "direction": "vertical",
562
- "gap": "lg",
656
+ "type": "game-shell",
657
+ "appName": "Strategy Game",
658
+ "showTopBar": true,
563
659
  "children": [
564
660
  {
565
661
  "type": "stack",
566
- "direction": "horizontal",
567
- "gap": "md",
568
- "justify": "space-between",
662
+ "direction": "vertical",
663
+ "gap": "lg",
569
664
  "children": [
570
665
  {
571
666
  "type": "stack",
572
667
  "direction": "horizontal",
573
668
  "gap": "md",
669
+ "justify": "space-between",
574
670
  "children": [
575
671
  {
576
- "type": "icon",
577
- "name": "map",
578
- "size": "lg"
672
+ "type": "stack",
673
+ "direction": "horizontal",
674
+ "gap": "md",
675
+ "children": [
676
+ {
677
+ "type": "icon",
678
+ "name": "map",
679
+ "size": "lg"
680
+ },
681
+ {
682
+ "type": "typography",
683
+ "content": "Territory Map",
684
+ "variant": "h2"
685
+ }
686
+ ]
579
687
  },
580
688
  {
581
- "type": "typography",
582
- "content": "Territory Map",
583
- "variant": "h2"
689
+ "type": "status-dot",
690
+ "status": "active",
691
+ "pulse": false,
692
+ "label": "Exploring"
584
693
  }
585
694
  ]
586
695
  },
587
696
  {
588
- "type": "status-dot",
589
- "status": "active",
590
- "pulse": false,
591
- "label": "Exploring"
592
- }
593
- ]
594
- },
595
- {
596
- "type": "divider"
597
- },
598
- {
599
- "type": "map-view",
600
- "markers": [],
601
- "height": "200px",
602
- "zoom": 10
603
- },
604
- {
605
- "type": "data-grid",
606
- "entity": "Territory",
607
- "emptyIcon": "compass",
608
- "emptyTitle": "No territorys discovered",
609
- "emptyDescription": "Explore to discover new territorys.",
610
- "itemActions": [
697
+ "type": "divider"
698
+ },
611
699
  {
612
- "label": "Travel",
613
- "event": "TRAVEL"
614
- }
615
- ],
616
- "renderItem": [
617
- "fn",
618
- "item",
700
+ "type": "map-view",
701
+ "markers": [],
702
+ "height": "200px",
703
+ "zoom": 10
704
+ },
619
705
  {
620
- "type": "stack",
621
- "direction": "vertical",
622
- "gap": "sm",
623
- "children": [
706
+ "type": "data-grid",
707
+ "entity": "Territory",
708
+ "emptyIcon": "compass",
709
+ "emptyTitle": "No territorys discovered",
710
+ "emptyDescription": "Explore to discover new territorys.",
711
+ "itemActions": [
712
+ {
713
+ "label": "Travel",
714
+ "event": "TRAVEL"
715
+ }
716
+ ],
717
+ "renderItem": [
718
+ "fn",
719
+ "item",
624
720
  {
625
721
  "type": "stack",
626
- "direction": "horizontal",
627
- "justify": "space-between",
628
- "align": "center",
722
+ "direction": "vertical",
723
+ "gap": "sm",
629
724
  "children": [
630
725
  {
631
726
  "type": "stack",
632
727
  "direction": "horizontal",
633
- "gap": "sm",
728
+ "justify": "space-between",
634
729
  "align": "center",
635
730
  "children": [
636
731
  {
637
- "type": "icon",
638
- "name": "map-pin",
639
- "size": "sm"
732
+ "type": "stack",
733
+ "direction": "horizontal",
734
+ "gap": "sm",
735
+ "align": "center",
736
+ "children": [
737
+ {
738
+ "type": "icon",
739
+ "name": "map-pin",
740
+ "size": "sm"
741
+ },
742
+ {
743
+ "type": "typography",
744
+ "variant": "h4",
745
+ "content": "@item.name"
746
+ }
747
+ ]
640
748
  },
641
749
  {
642
- "type": "typography",
643
- "variant": "h4",
644
- "content": "@item.name"
750
+ "type": "badge",
751
+ "label": "@item.owner"
645
752
  }
646
753
  ]
647
754
  },
648
755
  {
649
- "type": "badge",
650
- "label": "@item.owner"
756
+ "type": "typography",
757
+ "variant": "caption",
758
+ "content": "@item.defense"
651
759
  }
652
760
  ]
653
- },
654
- {
655
- "type": "typography",
656
- "variant": "caption",
657
- "content": "@item.defense"
658
761
  }
659
762
  ]
660
763
  }
@@ -674,35 +777,42 @@
674
777
  "render-ui",
675
778
  "main",
676
779
  {
677
- "type": "stack",
678
- "direction": "vertical",
679
- "gap": "lg",
680
- "align": "center",
780
+ "type": "game-shell",
781
+ "appName": "Strategy Game",
782
+ "showTopBar": true,
681
783
  "children": [
682
784
  {
683
785
  "type": "stack",
684
- "direction": "horizontal",
685
- "gap": "md",
786
+ "direction": "vertical",
787
+ "gap": "lg",
788
+ "align": "center",
686
789
  "children": [
687
790
  {
688
- "type": "icon",
689
- "name": "loader",
690
- "size": "lg"
791
+ "type": "stack",
792
+ "direction": "horizontal",
793
+ "gap": "md",
794
+ "children": [
795
+ {
796
+ "type": "icon",
797
+ "name": "loader",
798
+ "size": "lg"
799
+ },
800
+ {
801
+ "type": "typography",
802
+ "content": "Traveling...",
803
+ "variant": "h2"
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "type": "divider"
691
809
  },
692
810
  {
693
811
  "type": "typography",
694
- "content": "Traveling...",
695
- "variant": "h2"
812
+ "content": "Traveling to the destination territorys map.",
813
+ "variant": "body"
696
814
  }
697
815
  ]
698
- },
699
- {
700
- "type": "divider"
701
- },
702
- {
703
- "type": "typography",
704
- "content": "Traveling to the destination territorys map.",
705
- "variant": "body"
706
816
  }
707
817
  ]
708
818
  }
@@ -722,111 +832,118 @@
722
832
  "render-ui",
723
833
  "main",
724
834
  {
725
- "type": "stack",
726
- "direction": "vertical",
727
- "gap": "lg",
835
+ "type": "game-shell",
836
+ "appName": "Strategy Game",
837
+ "showTopBar": true,
728
838
  "children": [
729
839
  {
730
840
  "type": "stack",
731
- "direction": "horizontal",
732
- "gap": "md",
733
- "justify": "space-between",
841
+ "direction": "vertical",
842
+ "gap": "lg",
734
843
  "children": [
735
844
  {
736
845
  "type": "stack",
737
846
  "direction": "horizontal",
738
847
  "gap": "md",
848
+ "justify": "space-between",
739
849
  "children": [
740
850
  {
741
- "type": "icon",
742
- "name": "map",
743
- "size": "lg"
851
+ "type": "stack",
852
+ "direction": "horizontal",
853
+ "gap": "md",
854
+ "children": [
855
+ {
856
+ "type": "icon",
857
+ "name": "map",
858
+ "size": "lg"
859
+ },
860
+ {
861
+ "type": "typography",
862
+ "content": "Territorys Map",
863
+ "variant": "h2"
864
+ }
865
+ ]
744
866
  },
745
867
  {
746
- "type": "typography",
747
- "content": "Territorys Map",
748
- "variant": "h2"
868
+ "type": "status-dot",
869
+ "status": "success",
870
+ "label": "Entered"
749
871
  }
750
872
  ]
751
873
  },
752
874
  {
753
- "type": "status-dot",
754
- "status": "success",
755
- "label": "Entered"
756
- }
757
- ]
758
- },
759
- {
760
- "type": "divider"
761
- },
762
- {
763
- "type": "data-grid",
764
- "entity": "Territory",
765
- "emptyIcon": "inbox",
766
- "emptyTitle": "Nothing here",
767
- "emptyDescription": "This zone is empty.",
768
- "renderItem": [
769
- "fn",
770
- "item",
875
+ "type": "divider"
876
+ },
771
877
  {
772
- "type": "stack",
773
- "direction": "vertical",
774
- "gap": "sm",
775
- "children": [
878
+ "type": "data-grid",
879
+ "entity": "Territory",
880
+ "emptyIcon": "inbox",
881
+ "emptyTitle": "Nothing here",
882
+ "emptyDescription": "This zone is empty.",
883
+ "renderItem": [
884
+ "fn",
885
+ "item",
776
886
  {
777
887
  "type": "stack",
778
- "direction": "horizontal",
779
- "justify": "space-between",
780
- "align": "center",
888
+ "direction": "vertical",
889
+ "gap": "sm",
781
890
  "children": [
782
891
  {
783
892
  "type": "stack",
784
893
  "direction": "horizontal",
785
- "gap": "sm",
894
+ "justify": "space-between",
786
895
  "align": "center",
787
896
  "children": [
788
897
  {
789
- "type": "icon",
790
- "name": "map-pin",
791
- "size": "sm"
898
+ "type": "stack",
899
+ "direction": "horizontal",
900
+ "gap": "sm",
901
+ "align": "center",
902
+ "children": [
903
+ {
904
+ "type": "icon",
905
+ "name": "map-pin",
906
+ "size": "sm"
907
+ },
908
+ {
909
+ "type": "typography",
910
+ "variant": "h4",
911
+ "content": "@item.name"
912
+ }
913
+ ]
792
914
  },
793
915
  {
794
- "type": "typography",
795
- "variant": "h4",
796
- "content": "@item.name"
916
+ "type": "badge",
917
+ "label": "@item.owner"
797
918
  }
798
919
  ]
799
920
  },
800
921
  {
801
- "type": "badge",
802
- "label": "@item.owner"
922
+ "type": "typography",
923
+ "variant": "caption",
924
+ "content": "@item.defense"
803
925
  }
804
926
  ]
805
- },
806
- {
807
- "type": "typography",
808
- "variant": "caption",
809
- "content": "@item.defense"
810
927
  }
811
928
  ]
812
- }
813
- ]
814
- },
815
- {
816
- "type": "divider"
817
- },
818
- {
819
- "type": "stack",
820
- "direction": "horizontal",
821
- "gap": "sm",
822
- "justify": "end",
823
- "children": [
929
+ },
930
+ {
931
+ "type": "divider"
932
+ },
824
933
  {
825
- "type": "button",
826
- "label": "Back to Map",
827
- "event": "BACK",
828
- "variant": "ghost",
829
- "icon": "arrow-left"
934
+ "type": "stack",
935
+ "direction": "horizontal",
936
+ "gap": "sm",
937
+ "justify": "end",
938
+ "children": [
939
+ {
940
+ "type": "button",
941
+ "label": "Back to Map",
942
+ "event": "BACK",
943
+ "variant": "ghost",
944
+ "icon": "arrow-left"
945
+ }
946
+ ]
830
947
  }
831
948
  ]
832
949
  }
@@ -848,104 +965,111 @@
848
965
  "render-ui",
849
966
  "main",
850
967
  {
851
- "type": "stack",
852
- "direction": "vertical",
853
- "gap": "lg",
968
+ "type": "game-shell",
969
+ "appName": "Strategy Game",
970
+ "showTopBar": true,
854
971
  "children": [
855
972
  {
856
973
  "type": "stack",
857
- "direction": "horizontal",
858
- "gap": "md",
859
- "justify": "space-between",
974
+ "direction": "vertical",
975
+ "gap": "lg",
860
976
  "children": [
861
977
  {
862
978
  "type": "stack",
863
979
  "direction": "horizontal",
864
980
  "gap": "md",
981
+ "justify": "space-between",
865
982
  "children": [
866
983
  {
867
- "type": "icon",
868
- "name": "map",
869
- "size": "lg"
984
+ "type": "stack",
985
+ "direction": "horizontal",
986
+ "gap": "md",
987
+ "children": [
988
+ {
989
+ "type": "icon",
990
+ "name": "map",
991
+ "size": "lg"
992
+ },
993
+ {
994
+ "type": "typography",
995
+ "content": "Territory Map",
996
+ "variant": "h2"
997
+ }
998
+ ]
870
999
  },
871
1000
  {
872
- "type": "typography",
873
- "content": "Territory Map",
874
- "variant": "h2"
1001
+ "type": "status-dot",
1002
+ "status": "active",
1003
+ "pulse": false,
1004
+ "label": "Exploring"
875
1005
  }
876
1006
  ]
877
1007
  },
878
1008
  {
879
- "type": "status-dot",
880
- "status": "active",
881
- "pulse": false,
882
- "label": "Exploring"
883
- }
884
- ]
885
- },
886
- {
887
- "type": "divider"
888
- },
889
- {
890
- "type": "map-view",
891
- "markers": [],
892
- "height": "200px",
893
- "zoom": 10
894
- },
895
- {
896
- "type": "data-grid",
897
- "entity": "Territory",
898
- "emptyIcon": "compass",
899
- "emptyTitle": "No territorys discovered",
900
- "emptyDescription": "Explore to discover new territorys.",
901
- "itemActions": [
1009
+ "type": "divider"
1010
+ },
902
1011
  {
903
- "label": "Travel",
904
- "event": "TRAVEL"
905
- }
906
- ],
907
- "renderItem": [
908
- "fn",
909
- "item",
1012
+ "type": "map-view",
1013
+ "markers": [],
1014
+ "height": "200px",
1015
+ "zoom": 10
1016
+ },
910
1017
  {
911
- "type": "stack",
912
- "direction": "vertical",
913
- "gap": "sm",
914
- "children": [
1018
+ "type": "data-grid",
1019
+ "entity": "Territory",
1020
+ "emptyIcon": "compass",
1021
+ "emptyTitle": "No territorys discovered",
1022
+ "emptyDescription": "Explore to discover new territorys.",
1023
+ "itemActions": [
1024
+ {
1025
+ "label": "Travel",
1026
+ "event": "TRAVEL"
1027
+ }
1028
+ ],
1029
+ "renderItem": [
1030
+ "fn",
1031
+ "item",
915
1032
  {
916
1033
  "type": "stack",
917
- "direction": "horizontal",
918
- "justify": "space-between",
919
- "align": "center",
1034
+ "direction": "vertical",
1035
+ "gap": "sm",
920
1036
  "children": [
921
1037
  {
922
1038
  "type": "stack",
923
1039
  "direction": "horizontal",
924
- "gap": "sm",
1040
+ "justify": "space-between",
925
1041
  "align": "center",
926
1042
  "children": [
927
1043
  {
928
- "type": "icon",
929
- "name": "map-pin",
930
- "size": "sm"
1044
+ "type": "stack",
1045
+ "direction": "horizontal",
1046
+ "gap": "sm",
1047
+ "align": "center",
1048
+ "children": [
1049
+ {
1050
+ "type": "icon",
1051
+ "name": "map-pin",
1052
+ "size": "sm"
1053
+ },
1054
+ {
1055
+ "type": "typography",
1056
+ "variant": "h4",
1057
+ "content": "@item.name"
1058
+ }
1059
+ ]
931
1060
  },
932
1061
  {
933
- "type": "typography",
934
- "variant": "h4",
935
- "content": "@item.name"
1062
+ "type": "badge",
1063
+ "label": "@item.owner"
936
1064
  }
937
1065
  ]
938
1066
  },
939
1067
  {
940
- "type": "badge",
941
- "label": "@item.owner"
1068
+ "type": "typography",
1069
+ "variant": "caption",
1070
+ "content": "@item.defense"
942
1071
  }
943
1072
  ]
944
- },
945
- {
946
- "type": "typography",
947
- "variant": "caption",
948
- "content": "@item.defense"
949
1073
  }
950
1074
  ]
951
1075
  }
@@ -1056,95 +1180,235 @@
1056
1180
  "render-ui",
1057
1181
  "main",
1058
1182
  {
1059
- "type": "stack",
1060
- "direction": "vertical",
1061
- "gap": "lg",
1183
+ "type": "game-shell",
1184
+ "appName": "Strategy Game",
1185
+ "showTopBar": true,
1062
1186
  "children": [
1063
1187
  {
1064
- "type": "stack",
1065
- "direction": "horizontal",
1066
- "gap": "md",
1067
- "justify": "space-between",
1188
+ "type": "scaled-diagram",
1068
1189
  "children": [
1069
1190
  {
1070
1191
  "type": "stack",
1071
- "direction": "horizontal",
1072
- "gap": "md",
1192
+ "direction": "vertical",
1193
+ "gap": "lg",
1073
1194
  "children": [
1074
1195
  {
1075
- "type": "icon",
1076
- "name": "database",
1077
- "size": "lg"
1196
+ "type": "breadcrumb",
1197
+ "items": [
1198
+ {
1199
+ "label": "Home",
1200
+ "href": "/"
1201
+ },
1202
+ {
1203
+ "label": "Resources"
1204
+ }
1205
+ ]
1078
1206
  },
1079
1207
  {
1080
- "type": "typography",
1081
- "content": "Resources",
1082
- "variant": "h2"
1083
- }
1084
- ]
1085
- },
1086
- {
1087
- "type": "button",
1088
- "label": "Refresh",
1089
- "event": "REFRESH",
1090
- "variant": "secondary",
1091
- "icon": "refresh-cw"
1092
- }
1093
- ]
1094
- },
1095
- {
1096
- "type": "divider"
1097
- },
1098
- {
1099
- "type": "simple-grid",
1100
- "columns": 3,
1101
- "children": [
1102
- {
1103
- "type": "stat-display",
1104
- "label": "Gold",
1105
- "value": [
1106
- "object/get",
1107
- [
1108
- "array/first",
1109
- "@entity"
1110
- ],
1111
- "gold"
1112
- ]
1113
- },
1114
- {
1115
- "type": "stat-display",
1116
- "label": "Food",
1117
- "value": [
1118
- "object/get",
1119
- [
1120
- "array/first",
1121
- "@entity"
1122
- ],
1123
- "food"
1124
- ]
1125
- },
1126
- {
1127
- "type": "stat-display",
1128
- "label": "Wood",
1129
- "value": [
1130
- "object/get",
1131
- [
1132
- "array/first",
1133
- "@entity"
1134
- ],
1135
- "wood"
1136
- ]
1137
- },
1138
- {
1139
- "type": "stat-display",
1140
- "label": "Iron",
1141
- "value": [
1142
- "object/get",
1143
- [
1144
- "array/first",
1145
- "@entity"
1146
- ],
1147
- "iron"
1208
+ "type": "stack",
1209
+ "direction": "horizontal",
1210
+ "gap": "md",
1211
+ "justify": "space-between",
1212
+ "children": [
1213
+ {
1214
+ "type": "stack",
1215
+ "direction": "horizontal",
1216
+ "gap": "md",
1217
+ "children": [
1218
+ {
1219
+ "type": "icon",
1220
+ "name": "database",
1221
+ "size": "lg"
1222
+ },
1223
+ {
1224
+ "type": "typography",
1225
+ "content": "Resources",
1226
+ "variant": "h2"
1227
+ }
1228
+ ]
1229
+ },
1230
+ {
1231
+ "type": "button",
1232
+ "label": "Refresh",
1233
+ "event": "REFRESH",
1234
+ "variant": "secondary",
1235
+ "icon": "refresh-cw"
1236
+ }
1237
+ ]
1238
+ },
1239
+ {
1240
+ "type": "divider"
1241
+ },
1242
+ {
1243
+ "type": "box",
1244
+ "padding": "md",
1245
+ "children": [
1246
+ {
1247
+ "type": "simple-grid",
1248
+ "columns": 3,
1249
+ "children": [
1250
+ {
1251
+ "type": "stat-display",
1252
+ "label": "Gold",
1253
+ "value": [
1254
+ "object/get",
1255
+ [
1256
+ "array/first",
1257
+ "@entity"
1258
+ ],
1259
+ "gold"
1260
+ ]
1261
+ },
1262
+ {
1263
+ "type": "stat-display",
1264
+ "label": "Food",
1265
+ "value": [
1266
+ "object/get",
1267
+ [
1268
+ "array/first",
1269
+ "@entity"
1270
+ ],
1271
+ "food"
1272
+ ]
1273
+ },
1274
+ {
1275
+ "type": "stat-display",
1276
+ "label": "Wood",
1277
+ "value": [
1278
+ "object/get",
1279
+ [
1280
+ "array/first",
1281
+ "@entity"
1282
+ ],
1283
+ "wood"
1284
+ ]
1285
+ },
1286
+ {
1287
+ "type": "stat-display",
1288
+ "label": "Iron",
1289
+ "value": [
1290
+ "object/get",
1291
+ [
1292
+ "array/first",
1293
+ "@entity"
1294
+ ],
1295
+ "iron"
1296
+ ]
1297
+ }
1298
+ ]
1299
+ }
1300
+ ]
1301
+ },
1302
+ {
1303
+ "type": "divider"
1304
+ },
1305
+ {
1306
+ "type": "grid",
1307
+ "columns": 2,
1308
+ "gap": "md",
1309
+ "children": [
1310
+ {
1311
+ "type": "card",
1312
+ "children": [
1313
+ {
1314
+ "type": "typography",
1315
+ "variant": "caption",
1316
+ "content": "Chart View"
1317
+ }
1318
+ ]
1319
+ },
1320
+ {
1321
+ "type": "card",
1322
+ "children": [
1323
+ {
1324
+ "type": "typography",
1325
+ "variant": "caption",
1326
+ "content": "Graph View"
1327
+ }
1328
+ ]
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "type": "line-chart",
1334
+ "data": [
1335
+ {
1336
+ "date": "Jan",
1337
+ "value": 12
1338
+ },
1339
+ {
1340
+ "date": "Feb",
1341
+ "value": 19
1342
+ },
1343
+ {
1344
+ "date": "Mar",
1345
+ "value": 15
1346
+ },
1347
+ {
1348
+ "date": "Apr",
1349
+ "value": 25
1350
+ },
1351
+ {
1352
+ "date": "May",
1353
+ "value": 22
1354
+ },
1355
+ {
1356
+ "date": "Jun",
1357
+ "value": 30
1358
+ }
1359
+ ],
1360
+ "xKey": "date",
1361
+ "yKey": "value",
1362
+ "title": "Trend"
1363
+ },
1364
+ {
1365
+ "type": "chart-legend",
1366
+ "items": [
1367
+ {
1368
+ "label": "Current",
1369
+ "color": "primary"
1370
+ },
1371
+ {
1372
+ "label": "Previous",
1373
+ "color": "muted"
1374
+ }
1375
+ ]
1376
+ },
1377
+ {
1378
+ "type": "graph-view",
1379
+ "nodes": [
1380
+ {
1381
+ "id": "a",
1382
+ "label": "Start",
1383
+ "x": 50,
1384
+ "y": 100
1385
+ },
1386
+ {
1387
+ "id": "b",
1388
+ "label": "Process",
1389
+ "x": 200,
1390
+ "y": 50
1391
+ },
1392
+ {
1393
+ "id": "c",
1394
+ "label": "End",
1395
+ "x": 350,
1396
+ "y": 100
1397
+ }
1398
+ ],
1399
+ "edges": [
1400
+ {
1401
+ "from": "a",
1402
+ "to": "b"
1403
+ },
1404
+ {
1405
+ "from": "b",
1406
+ "to": "c"
1407
+ }
1408
+ ],
1409
+ "width": 400,
1410
+ "height": 200
1411
+ }
1148
1412
  ]
1149
1413
  }
1150
1414
  ]
@@ -1167,96 +1431,236 @@
1167
1431
  "render-ui",
1168
1432
  "main",
1169
1433
  {
1170
- "type": "stack",
1171
- "direction": "vertical",
1172
- "gap": "lg",
1434
+ "type": "game-shell",
1435
+ "appName": "Strategy Game",
1436
+ "showTopBar": true,
1173
1437
  "children": [
1174
1438
  {
1175
- "type": "stack",
1176
- "direction": "horizontal",
1177
- "gap": "md",
1178
- "justify": "space-between",
1439
+ "type": "scaled-diagram",
1179
1440
  "children": [
1180
1441
  {
1181
1442
  "type": "stack",
1182
- "direction": "horizontal",
1183
- "gap": "md",
1443
+ "direction": "vertical",
1444
+ "gap": "lg",
1184
1445
  "children": [
1185
1446
  {
1186
- "type": "icon",
1187
- "name": "database",
1188
- "size": "lg"
1447
+ "type": "breadcrumb",
1448
+ "items": [
1449
+ {
1450
+ "label": "Home",
1451
+ "href": "/"
1452
+ },
1453
+ {
1454
+ "label": "Resources"
1455
+ }
1456
+ ]
1189
1457
  },
1190
1458
  {
1191
- "type": "typography",
1192
- "content": "Resources",
1193
- "variant": "h2"
1459
+ "type": "stack",
1460
+ "direction": "horizontal",
1461
+ "gap": "md",
1462
+ "justify": "space-between",
1463
+ "children": [
1464
+ {
1465
+ "type": "stack",
1466
+ "direction": "horizontal",
1467
+ "gap": "md",
1468
+ "children": [
1469
+ {
1470
+ "type": "icon",
1471
+ "name": "database",
1472
+ "size": "lg"
1473
+ },
1474
+ {
1475
+ "type": "typography",
1476
+ "content": "Resources",
1477
+ "variant": "h2"
1478
+ }
1479
+ ]
1480
+ },
1481
+ {
1482
+ "type": "button",
1483
+ "label": "Refresh",
1484
+ "event": "REFRESH",
1485
+ "variant": "secondary",
1486
+ "icon": "refresh-cw"
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ "type": "divider"
1492
+ },
1493
+ {
1494
+ "type": "box",
1495
+ "padding": "md",
1496
+ "children": [
1497
+ {
1498
+ "type": "simple-grid",
1499
+ "columns": 3,
1500
+ "children": [
1501
+ {
1502
+ "type": "stat-display",
1503
+ "label": "Gold",
1504
+ "value": [
1505
+ "object/get",
1506
+ [
1507
+ "array/first",
1508
+ "@entity"
1509
+ ],
1510
+ "gold"
1511
+ ]
1512
+ },
1513
+ {
1514
+ "type": "stat-display",
1515
+ "label": "Food",
1516
+ "value": [
1517
+ "object/get",
1518
+ [
1519
+ "array/first",
1520
+ "@entity"
1521
+ ],
1522
+ "food"
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "stat-display",
1527
+ "label": "Wood",
1528
+ "value": [
1529
+ "object/get",
1530
+ [
1531
+ "array/first",
1532
+ "@entity"
1533
+ ],
1534
+ "wood"
1535
+ ]
1536
+ },
1537
+ {
1538
+ "type": "stat-display",
1539
+ "label": "Iron",
1540
+ "value": [
1541
+ "object/get",
1542
+ [
1543
+ "array/first",
1544
+ "@entity"
1545
+ ],
1546
+ "iron"
1547
+ ]
1548
+ }
1549
+ ]
1550
+ }
1551
+ ]
1552
+ },
1553
+ {
1554
+ "type": "divider"
1555
+ },
1556
+ {
1557
+ "type": "grid",
1558
+ "columns": 2,
1559
+ "gap": "md",
1560
+ "children": [
1561
+ {
1562
+ "type": "card",
1563
+ "children": [
1564
+ {
1565
+ "type": "typography",
1566
+ "variant": "caption",
1567
+ "content": "Chart View"
1568
+ }
1569
+ ]
1570
+ },
1571
+ {
1572
+ "type": "card",
1573
+ "children": [
1574
+ {
1575
+ "type": "typography",
1576
+ "variant": "caption",
1577
+ "content": "Graph View"
1578
+ }
1579
+ ]
1580
+ }
1581
+ ]
1582
+ },
1583
+ {
1584
+ "type": "line-chart",
1585
+ "data": [
1586
+ {
1587
+ "date": "Jan",
1588
+ "value": 12
1589
+ },
1590
+ {
1591
+ "date": "Feb",
1592
+ "value": 19
1593
+ },
1594
+ {
1595
+ "date": "Mar",
1596
+ "value": 15
1597
+ },
1598
+ {
1599
+ "date": "Apr",
1600
+ "value": 25
1601
+ },
1602
+ {
1603
+ "date": "May",
1604
+ "value": 22
1605
+ },
1606
+ {
1607
+ "date": "Jun",
1608
+ "value": 30
1609
+ }
1610
+ ],
1611
+ "xKey": "date",
1612
+ "yKey": "value",
1613
+ "title": "Trend"
1614
+ },
1615
+ {
1616
+ "type": "chart-legend",
1617
+ "items": [
1618
+ {
1619
+ "label": "Current",
1620
+ "color": "primary"
1621
+ },
1622
+ {
1623
+ "label": "Previous",
1624
+ "color": "muted"
1625
+ }
1626
+ ]
1627
+ },
1628
+ {
1629
+ "type": "graph-view",
1630
+ "nodes": [
1631
+ {
1632
+ "id": "a",
1633
+ "label": "Start",
1634
+ "x": 50,
1635
+ "y": 100
1636
+ },
1637
+ {
1638
+ "id": "b",
1639
+ "label": "Process",
1640
+ "x": 200,
1641
+ "y": 50
1642
+ },
1643
+ {
1644
+ "id": "c",
1645
+ "label": "End",
1646
+ "x": 350,
1647
+ "y": 100
1648
+ }
1649
+ ],
1650
+ "edges": [
1651
+ {
1652
+ "from": "a",
1653
+ "to": "b"
1654
+ },
1655
+ {
1656
+ "from": "b",
1657
+ "to": "c"
1658
+ }
1659
+ ],
1660
+ "width": 400,
1661
+ "height": 200
1194
1662
  }
1195
1663
  ]
1196
- },
1197
- {
1198
- "type": "button",
1199
- "label": "Refresh",
1200
- "event": "REFRESH",
1201
- "variant": "secondary",
1202
- "icon": "refresh-cw"
1203
- }
1204
- ]
1205
- },
1206
- {
1207
- "type": "divider"
1208
- },
1209
- {
1210
- "type": "simple-grid",
1211
- "columns": 3,
1212
- "children": [
1213
- {
1214
- "type": "stat-display",
1215
- "label": "Gold",
1216
- "value": [
1217
- "object/get",
1218
- [
1219
- "array/first",
1220
- "@entity"
1221
- ],
1222
- "gold"
1223
- ]
1224
- },
1225
- {
1226
- "type": "stat-display",
1227
- "label": "Food",
1228
- "value": [
1229
- "object/get",
1230
- [
1231
- "array/first",
1232
- "@entity"
1233
- ],
1234
- "food"
1235
- ]
1236
- },
1237
- {
1238
- "type": "stat-display",
1239
- "label": "Wood",
1240
- "value": [
1241
- "object/get",
1242
- [
1243
- "array/first",
1244
- "@entity"
1245
- ],
1246
- "wood"
1247
- ]
1248
- },
1249
- {
1250
- "type": "stat-display",
1251
- "label": "Iron",
1252
- "value": [
1253
- "object/get",
1254
- [
1255
- "array/first",
1256
- "@entity"
1257
- ],
1258
- "iron"
1259
- ]
1260
1664
  }
1261
1665
  ]
1262
1666
  }
@@ -1278,95 +1682,235 @@
1278
1682
  "render-ui",
1279
1683
  "main",
1280
1684
  {
1281
- "type": "stack",
1282
- "direction": "vertical",
1283
- "gap": "lg",
1685
+ "type": "game-shell",
1686
+ "appName": "Strategy Game",
1687
+ "showTopBar": true,
1284
1688
  "children": [
1285
1689
  {
1286
- "type": "stack",
1287
- "direction": "horizontal",
1288
- "gap": "md",
1289
- "justify": "space-between",
1690
+ "type": "scaled-diagram",
1290
1691
  "children": [
1291
1692
  {
1292
1693
  "type": "stack",
1293
- "direction": "horizontal",
1294
- "gap": "md",
1694
+ "direction": "vertical",
1695
+ "gap": "lg",
1295
1696
  "children": [
1296
1697
  {
1297
- "type": "icon",
1298
- "name": "database",
1299
- "size": "lg"
1698
+ "type": "breadcrumb",
1699
+ "items": [
1700
+ {
1701
+ "label": "Home",
1702
+ "href": "/"
1703
+ },
1704
+ {
1705
+ "label": "Resources"
1706
+ }
1707
+ ]
1300
1708
  },
1301
1709
  {
1302
- "type": "typography",
1303
- "content": "Resources",
1304
- "variant": "h2"
1305
- }
1306
- ]
1307
- },
1308
- {
1309
- "type": "button",
1310
- "label": "Refresh",
1311
- "event": "REFRESH",
1312
- "variant": "secondary",
1313
- "icon": "refresh-cw"
1314
- }
1315
- ]
1316
- },
1317
- {
1318
- "type": "divider"
1319
- },
1320
- {
1321
- "type": "simple-grid",
1322
- "columns": 3,
1323
- "children": [
1324
- {
1325
- "type": "stat-display",
1326
- "label": "Gold",
1327
- "value": [
1328
- "object/get",
1329
- [
1330
- "array/first",
1331
- "@entity"
1332
- ],
1333
- "gold"
1334
- ]
1335
- },
1336
- {
1337
- "type": "stat-display",
1338
- "label": "Food",
1339
- "value": [
1340
- "object/get",
1341
- [
1342
- "array/first",
1343
- "@entity"
1344
- ],
1345
- "food"
1346
- ]
1347
- },
1348
- {
1349
- "type": "stat-display",
1350
- "label": "Wood",
1351
- "value": [
1352
- "object/get",
1353
- [
1354
- "array/first",
1355
- "@entity"
1356
- ],
1357
- "wood"
1358
- ]
1359
- },
1360
- {
1361
- "type": "stat-display",
1362
- "label": "Iron",
1363
- "value": [
1364
- "object/get",
1365
- [
1366
- "array/first",
1367
- "@entity"
1368
- ],
1369
- "iron"
1710
+ "type": "stack",
1711
+ "direction": "horizontal",
1712
+ "gap": "md",
1713
+ "justify": "space-between",
1714
+ "children": [
1715
+ {
1716
+ "type": "stack",
1717
+ "direction": "horizontal",
1718
+ "gap": "md",
1719
+ "children": [
1720
+ {
1721
+ "type": "icon",
1722
+ "name": "database",
1723
+ "size": "lg"
1724
+ },
1725
+ {
1726
+ "type": "typography",
1727
+ "content": "Resources",
1728
+ "variant": "h2"
1729
+ }
1730
+ ]
1731
+ },
1732
+ {
1733
+ "type": "button",
1734
+ "label": "Refresh",
1735
+ "event": "REFRESH",
1736
+ "variant": "secondary",
1737
+ "icon": "refresh-cw"
1738
+ }
1739
+ ]
1740
+ },
1741
+ {
1742
+ "type": "divider"
1743
+ },
1744
+ {
1745
+ "type": "box",
1746
+ "padding": "md",
1747
+ "children": [
1748
+ {
1749
+ "type": "simple-grid",
1750
+ "columns": 3,
1751
+ "children": [
1752
+ {
1753
+ "type": "stat-display",
1754
+ "label": "Gold",
1755
+ "value": [
1756
+ "object/get",
1757
+ [
1758
+ "array/first",
1759
+ "@entity"
1760
+ ],
1761
+ "gold"
1762
+ ]
1763
+ },
1764
+ {
1765
+ "type": "stat-display",
1766
+ "label": "Food",
1767
+ "value": [
1768
+ "object/get",
1769
+ [
1770
+ "array/first",
1771
+ "@entity"
1772
+ ],
1773
+ "food"
1774
+ ]
1775
+ },
1776
+ {
1777
+ "type": "stat-display",
1778
+ "label": "Wood",
1779
+ "value": [
1780
+ "object/get",
1781
+ [
1782
+ "array/first",
1783
+ "@entity"
1784
+ ],
1785
+ "wood"
1786
+ ]
1787
+ },
1788
+ {
1789
+ "type": "stat-display",
1790
+ "label": "Iron",
1791
+ "value": [
1792
+ "object/get",
1793
+ [
1794
+ "array/first",
1795
+ "@entity"
1796
+ ],
1797
+ "iron"
1798
+ ]
1799
+ }
1800
+ ]
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ "type": "divider"
1806
+ },
1807
+ {
1808
+ "type": "grid",
1809
+ "columns": 2,
1810
+ "gap": "md",
1811
+ "children": [
1812
+ {
1813
+ "type": "card",
1814
+ "children": [
1815
+ {
1816
+ "type": "typography",
1817
+ "variant": "caption",
1818
+ "content": "Chart View"
1819
+ }
1820
+ ]
1821
+ },
1822
+ {
1823
+ "type": "card",
1824
+ "children": [
1825
+ {
1826
+ "type": "typography",
1827
+ "variant": "caption",
1828
+ "content": "Graph View"
1829
+ }
1830
+ ]
1831
+ }
1832
+ ]
1833
+ },
1834
+ {
1835
+ "type": "line-chart",
1836
+ "data": [
1837
+ {
1838
+ "date": "Jan",
1839
+ "value": 12
1840
+ },
1841
+ {
1842
+ "date": "Feb",
1843
+ "value": 19
1844
+ },
1845
+ {
1846
+ "date": "Mar",
1847
+ "value": 15
1848
+ },
1849
+ {
1850
+ "date": "Apr",
1851
+ "value": 25
1852
+ },
1853
+ {
1854
+ "date": "May",
1855
+ "value": 22
1856
+ },
1857
+ {
1858
+ "date": "Jun",
1859
+ "value": 30
1860
+ }
1861
+ ],
1862
+ "xKey": "date",
1863
+ "yKey": "value",
1864
+ "title": "Trend"
1865
+ },
1866
+ {
1867
+ "type": "chart-legend",
1868
+ "items": [
1869
+ {
1870
+ "label": "Current",
1871
+ "color": "primary"
1872
+ },
1873
+ {
1874
+ "label": "Previous",
1875
+ "color": "muted"
1876
+ }
1877
+ ]
1878
+ },
1879
+ {
1880
+ "type": "graph-view",
1881
+ "nodes": [
1882
+ {
1883
+ "id": "a",
1884
+ "label": "Start",
1885
+ "x": 50,
1886
+ "y": 100
1887
+ },
1888
+ {
1889
+ "id": "b",
1890
+ "label": "Process",
1891
+ "x": 200,
1892
+ "y": 50
1893
+ },
1894
+ {
1895
+ "id": "c",
1896
+ "label": "End",
1897
+ "x": 350,
1898
+ "y": 100
1899
+ }
1900
+ ],
1901
+ "edges": [
1902
+ {
1903
+ "from": "a",
1904
+ "to": "b"
1905
+ },
1906
+ {
1907
+ "from": "b",
1908
+ "to": "c"
1909
+ }
1910
+ ],
1911
+ "width": 400,
1912
+ "height": 200
1913
+ }
1370
1914
  ]
1371
1915
  }
1372
1916
  ]
@@ -1389,96 +1933,236 @@
1389
1933
  "render-ui",
1390
1934
  "main",
1391
1935
  {
1392
- "type": "stack",
1393
- "direction": "vertical",
1394
- "gap": "lg",
1936
+ "type": "game-shell",
1937
+ "appName": "Strategy Game",
1938
+ "showTopBar": true,
1395
1939
  "children": [
1396
1940
  {
1397
- "type": "stack",
1398
- "direction": "horizontal",
1399
- "gap": "md",
1400
- "justify": "space-between",
1941
+ "type": "scaled-diagram",
1401
1942
  "children": [
1402
1943
  {
1403
1944
  "type": "stack",
1404
- "direction": "horizontal",
1405
- "gap": "md",
1945
+ "direction": "vertical",
1946
+ "gap": "lg",
1406
1947
  "children": [
1407
1948
  {
1408
- "type": "icon",
1409
- "name": "database",
1410
- "size": "lg"
1949
+ "type": "breadcrumb",
1950
+ "items": [
1951
+ {
1952
+ "label": "Home",
1953
+ "href": "/"
1954
+ },
1955
+ {
1956
+ "label": "Resources"
1957
+ }
1958
+ ]
1411
1959
  },
1412
1960
  {
1413
- "type": "typography",
1414
- "content": "Resources",
1415
- "variant": "h2"
1961
+ "type": "stack",
1962
+ "direction": "horizontal",
1963
+ "gap": "md",
1964
+ "justify": "space-between",
1965
+ "children": [
1966
+ {
1967
+ "type": "stack",
1968
+ "direction": "horizontal",
1969
+ "gap": "md",
1970
+ "children": [
1971
+ {
1972
+ "type": "icon",
1973
+ "name": "database",
1974
+ "size": "lg"
1975
+ },
1976
+ {
1977
+ "type": "typography",
1978
+ "content": "Resources",
1979
+ "variant": "h2"
1980
+ }
1981
+ ]
1982
+ },
1983
+ {
1984
+ "type": "button",
1985
+ "label": "Refresh",
1986
+ "event": "REFRESH",
1987
+ "variant": "secondary",
1988
+ "icon": "refresh-cw"
1989
+ }
1990
+ ]
1991
+ },
1992
+ {
1993
+ "type": "divider"
1994
+ },
1995
+ {
1996
+ "type": "box",
1997
+ "padding": "md",
1998
+ "children": [
1999
+ {
2000
+ "type": "simple-grid",
2001
+ "columns": 3,
2002
+ "children": [
2003
+ {
2004
+ "type": "stat-display",
2005
+ "label": "Gold",
2006
+ "value": [
2007
+ "object/get",
2008
+ [
2009
+ "array/first",
2010
+ "@entity"
2011
+ ],
2012
+ "gold"
2013
+ ]
2014
+ },
2015
+ {
2016
+ "type": "stat-display",
2017
+ "label": "Food",
2018
+ "value": [
2019
+ "object/get",
2020
+ [
2021
+ "array/first",
2022
+ "@entity"
2023
+ ],
2024
+ "food"
2025
+ ]
2026
+ },
2027
+ {
2028
+ "type": "stat-display",
2029
+ "label": "Wood",
2030
+ "value": [
2031
+ "object/get",
2032
+ [
2033
+ "array/first",
2034
+ "@entity"
2035
+ ],
2036
+ "wood"
2037
+ ]
2038
+ },
2039
+ {
2040
+ "type": "stat-display",
2041
+ "label": "Iron",
2042
+ "value": [
2043
+ "object/get",
2044
+ [
2045
+ "array/first",
2046
+ "@entity"
2047
+ ],
2048
+ "iron"
2049
+ ]
2050
+ }
2051
+ ]
2052
+ }
2053
+ ]
2054
+ },
2055
+ {
2056
+ "type": "divider"
2057
+ },
2058
+ {
2059
+ "type": "grid",
2060
+ "columns": 2,
2061
+ "gap": "md",
2062
+ "children": [
2063
+ {
2064
+ "type": "card",
2065
+ "children": [
2066
+ {
2067
+ "type": "typography",
2068
+ "variant": "caption",
2069
+ "content": "Chart View"
2070
+ }
2071
+ ]
2072
+ },
2073
+ {
2074
+ "type": "card",
2075
+ "children": [
2076
+ {
2077
+ "type": "typography",
2078
+ "variant": "caption",
2079
+ "content": "Graph View"
2080
+ }
2081
+ ]
2082
+ }
2083
+ ]
2084
+ },
2085
+ {
2086
+ "type": "line-chart",
2087
+ "data": [
2088
+ {
2089
+ "date": "Jan",
2090
+ "value": 12
2091
+ },
2092
+ {
2093
+ "date": "Feb",
2094
+ "value": 19
2095
+ },
2096
+ {
2097
+ "date": "Mar",
2098
+ "value": 15
2099
+ },
2100
+ {
2101
+ "date": "Apr",
2102
+ "value": 25
2103
+ },
2104
+ {
2105
+ "date": "May",
2106
+ "value": 22
2107
+ },
2108
+ {
2109
+ "date": "Jun",
2110
+ "value": 30
2111
+ }
2112
+ ],
2113
+ "xKey": "date",
2114
+ "yKey": "value",
2115
+ "title": "Trend"
2116
+ },
2117
+ {
2118
+ "type": "chart-legend",
2119
+ "items": [
2120
+ {
2121
+ "label": "Current",
2122
+ "color": "primary"
2123
+ },
2124
+ {
2125
+ "label": "Previous",
2126
+ "color": "muted"
2127
+ }
2128
+ ]
2129
+ },
2130
+ {
2131
+ "type": "graph-view",
2132
+ "nodes": [
2133
+ {
2134
+ "id": "a",
2135
+ "label": "Start",
2136
+ "x": 50,
2137
+ "y": 100
2138
+ },
2139
+ {
2140
+ "id": "b",
2141
+ "label": "Process",
2142
+ "x": 200,
2143
+ "y": 50
2144
+ },
2145
+ {
2146
+ "id": "c",
2147
+ "label": "End",
2148
+ "x": 350,
2149
+ "y": 100
2150
+ }
2151
+ ],
2152
+ "edges": [
2153
+ {
2154
+ "from": "a",
2155
+ "to": "b"
2156
+ },
2157
+ {
2158
+ "from": "b",
2159
+ "to": "c"
2160
+ }
2161
+ ],
2162
+ "width": 400,
2163
+ "height": 200
1416
2164
  }
1417
2165
  ]
1418
- },
1419
- {
1420
- "type": "button",
1421
- "label": "Refresh",
1422
- "event": "REFRESH",
1423
- "variant": "secondary",
1424
- "icon": "refresh-cw"
1425
- }
1426
- ]
1427
- },
1428
- {
1429
- "type": "divider"
1430
- },
1431
- {
1432
- "type": "simple-grid",
1433
- "columns": 3,
1434
- "children": [
1435
- {
1436
- "type": "stat-display",
1437
- "label": "Gold",
1438
- "value": [
1439
- "object/get",
1440
- [
1441
- "array/first",
1442
- "@entity"
1443
- ],
1444
- "gold"
1445
- ]
1446
- },
1447
- {
1448
- "type": "stat-display",
1449
- "label": "Food",
1450
- "value": [
1451
- "object/get",
1452
- [
1453
- "array/first",
1454
- "@entity"
1455
- ],
1456
- "food"
1457
- ]
1458
- },
1459
- {
1460
- "type": "stat-display",
1461
- "label": "Wood",
1462
- "value": [
1463
- "object/get",
1464
- [
1465
- "array/first",
1466
- "@entity"
1467
- ],
1468
- "wood"
1469
- ]
1470
- },
1471
- {
1472
- "type": "stat-display",
1473
- "label": "Iron",
1474
- "value": [
1475
- "object/get",
1476
- [
1477
- "array/first",
1478
- "@entity"
1479
- ],
1480
- "iron"
1481
- ]
1482
2166
  }
1483
2167
  ]
1484
2168
  }
@@ -1500,96 +2184,236 @@
1500
2184
  "render-ui",
1501
2185
  "main",
1502
2186
  {
1503
- "type": "stack",
1504
- "direction": "vertical",
1505
- "gap": "lg",
2187
+ "type": "game-shell",
2188
+ "appName": "Strategy Game",
2189
+ "showTopBar": true,
1506
2190
  "children": [
1507
2191
  {
1508
- "type": "stack",
1509
- "direction": "horizontal",
1510
- "gap": "md",
1511
- "justify": "space-between",
2192
+ "type": "scaled-diagram",
1512
2193
  "children": [
1513
2194
  {
1514
2195
  "type": "stack",
1515
- "direction": "horizontal",
1516
- "gap": "md",
2196
+ "direction": "vertical",
2197
+ "gap": "lg",
1517
2198
  "children": [
1518
2199
  {
1519
- "type": "icon",
1520
- "name": "database",
1521
- "size": "lg"
2200
+ "type": "breadcrumb",
2201
+ "items": [
2202
+ {
2203
+ "label": "Home",
2204
+ "href": "/"
2205
+ },
2206
+ {
2207
+ "label": "Resources"
2208
+ }
2209
+ ]
1522
2210
  },
1523
2211
  {
1524
- "type": "typography",
1525
- "content": "Resources",
1526
- "variant": "h2"
2212
+ "type": "stack",
2213
+ "direction": "horizontal",
2214
+ "gap": "md",
2215
+ "justify": "space-between",
2216
+ "children": [
2217
+ {
2218
+ "type": "stack",
2219
+ "direction": "horizontal",
2220
+ "gap": "md",
2221
+ "children": [
2222
+ {
2223
+ "type": "icon",
2224
+ "name": "database",
2225
+ "size": "lg"
2226
+ },
2227
+ {
2228
+ "type": "typography",
2229
+ "content": "Resources",
2230
+ "variant": "h2"
2231
+ }
2232
+ ]
2233
+ },
2234
+ {
2235
+ "type": "button",
2236
+ "label": "Refresh",
2237
+ "event": "REFRESH",
2238
+ "variant": "secondary",
2239
+ "icon": "refresh-cw"
2240
+ }
2241
+ ]
2242
+ },
2243
+ {
2244
+ "type": "divider"
2245
+ },
2246
+ {
2247
+ "type": "box",
2248
+ "padding": "md",
2249
+ "children": [
2250
+ {
2251
+ "type": "simple-grid",
2252
+ "columns": 3,
2253
+ "children": [
2254
+ {
2255
+ "type": "stat-display",
2256
+ "label": "Gold",
2257
+ "value": [
2258
+ "object/get",
2259
+ [
2260
+ "array/first",
2261
+ "@entity"
2262
+ ],
2263
+ "gold"
2264
+ ]
2265
+ },
2266
+ {
2267
+ "type": "stat-display",
2268
+ "label": "Food",
2269
+ "value": [
2270
+ "object/get",
2271
+ [
2272
+ "array/first",
2273
+ "@entity"
2274
+ ],
2275
+ "food"
2276
+ ]
2277
+ },
2278
+ {
2279
+ "type": "stat-display",
2280
+ "label": "Wood",
2281
+ "value": [
2282
+ "object/get",
2283
+ [
2284
+ "array/first",
2285
+ "@entity"
2286
+ ],
2287
+ "wood"
2288
+ ]
2289
+ },
2290
+ {
2291
+ "type": "stat-display",
2292
+ "label": "Iron",
2293
+ "value": [
2294
+ "object/get",
2295
+ [
2296
+ "array/first",
2297
+ "@entity"
2298
+ ],
2299
+ "iron"
2300
+ ]
2301
+ }
2302
+ ]
2303
+ }
2304
+ ]
2305
+ },
2306
+ {
2307
+ "type": "divider"
2308
+ },
2309
+ {
2310
+ "type": "grid",
2311
+ "columns": 2,
2312
+ "gap": "md",
2313
+ "children": [
2314
+ {
2315
+ "type": "card",
2316
+ "children": [
2317
+ {
2318
+ "type": "typography",
2319
+ "variant": "caption",
2320
+ "content": "Chart View"
2321
+ }
2322
+ ]
2323
+ },
2324
+ {
2325
+ "type": "card",
2326
+ "children": [
2327
+ {
2328
+ "type": "typography",
2329
+ "variant": "caption",
2330
+ "content": "Graph View"
2331
+ }
2332
+ ]
2333
+ }
2334
+ ]
2335
+ },
2336
+ {
2337
+ "type": "line-chart",
2338
+ "data": [
2339
+ {
2340
+ "date": "Jan",
2341
+ "value": 12
2342
+ },
2343
+ {
2344
+ "date": "Feb",
2345
+ "value": 19
2346
+ },
2347
+ {
2348
+ "date": "Mar",
2349
+ "value": 15
2350
+ },
2351
+ {
2352
+ "date": "Apr",
2353
+ "value": 25
2354
+ },
2355
+ {
2356
+ "date": "May",
2357
+ "value": 22
2358
+ },
2359
+ {
2360
+ "date": "Jun",
2361
+ "value": 30
2362
+ }
2363
+ ],
2364
+ "xKey": "date",
2365
+ "yKey": "value",
2366
+ "title": "Trend"
2367
+ },
2368
+ {
2369
+ "type": "chart-legend",
2370
+ "items": [
2371
+ {
2372
+ "label": "Current",
2373
+ "color": "primary"
2374
+ },
2375
+ {
2376
+ "label": "Previous",
2377
+ "color": "muted"
2378
+ }
2379
+ ]
2380
+ },
2381
+ {
2382
+ "type": "graph-view",
2383
+ "nodes": [
2384
+ {
2385
+ "id": "a",
2386
+ "label": "Start",
2387
+ "x": 50,
2388
+ "y": 100
2389
+ },
2390
+ {
2391
+ "id": "b",
2392
+ "label": "Process",
2393
+ "x": 200,
2394
+ "y": 50
2395
+ },
2396
+ {
2397
+ "id": "c",
2398
+ "label": "End",
2399
+ "x": 350,
2400
+ "y": 100
2401
+ }
2402
+ ],
2403
+ "edges": [
2404
+ {
2405
+ "from": "a",
2406
+ "to": "b"
2407
+ },
2408
+ {
2409
+ "from": "b",
2410
+ "to": "c"
2411
+ }
2412
+ ],
2413
+ "width": 400,
2414
+ "height": 200
1527
2415
  }
1528
2416
  ]
1529
- },
1530
- {
1531
- "type": "button",
1532
- "label": "Refresh",
1533
- "event": "REFRESH",
1534
- "variant": "secondary",
1535
- "icon": "refresh-cw"
1536
- }
1537
- ]
1538
- },
1539
- {
1540
- "type": "divider"
1541
- },
1542
- {
1543
- "type": "simple-grid",
1544
- "columns": 3,
1545
- "children": [
1546
- {
1547
- "type": "stat-display",
1548
- "label": "Gold",
1549
- "value": [
1550
- "object/get",
1551
- [
1552
- "array/first",
1553
- "@entity"
1554
- ],
1555
- "gold"
1556
- ]
1557
- },
1558
- {
1559
- "type": "stat-display",
1560
- "label": "Food",
1561
- "value": [
1562
- "object/get",
1563
- [
1564
- "array/first",
1565
- "@entity"
1566
- ],
1567
- "food"
1568
- ]
1569
- },
1570
- {
1571
- "type": "stat-display",
1572
- "label": "Wood",
1573
- "value": [
1574
- "object/get",
1575
- [
1576
- "array/first",
1577
- "@entity"
1578
- ],
1579
- "wood"
1580
- ]
1581
- },
1582
- {
1583
- "type": "stat-display",
1584
- "label": "Iron",
1585
- "value": [
1586
- "object/get",
1587
- [
1588
- "array/first",
1589
- "@entity"
1590
- ],
1591
- "iron"
1592
- ]
1593
2417
  }
1594
2418
  ]
1595
2419
  }