@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
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "name": "timestamp",
33
- "type": "string"
33
+ "type": "date"
34
34
  }
35
35
  ]
36
36
  },
@@ -98,111 +98,108 @@
98
98
  "render-ui",
99
99
  "main",
100
100
  {
101
- "type": "stack",
102
- "direction": "vertical",
103
- "gap": "lg",
101
+ "type": "dashboard-layout",
102
+ "appName": "Realtime Chat",
103
+ "navItems": [
104
+ {
105
+ "label": "Chat",
106
+ "href": "/chat",
107
+ "icon": "layout-list"
108
+ },
109
+ {
110
+ "label": "Channels",
111
+ "href": "/channels",
112
+ "icon": "hash"
113
+ },
114
+ {
115
+ "label": "Online",
116
+ "href": "/online",
117
+ "icon": "layout-list"
118
+ }
119
+ ],
104
120
  "children": [
105
121
  {
106
122
  "type": "stack",
107
- "direction": "horizontal",
108
- "gap": "md",
109
- "justify": "space-between",
123
+ "direction": "vertical",
124
+ "gap": "lg",
125
+ "className": "max-w-5xl mx-auto w-full",
110
126
  "children": [
111
127
  {
112
128
  "type": "stack",
113
129
  "direction": "horizontal",
114
- "gap": "sm",
130
+ "gap": "md",
131
+ "justify": "space-between",
115
132
  "align": "center",
116
- "children": [
117
- {
118
- "type": "icon",
119
- "name": "message-circle",
120
- "size": "lg"
121
- },
122
- {
123
- "type": "typography",
124
- "content": "Chat",
125
- "variant": "h2"
126
- }
127
- ]
128
- },
129
- {
130
- "type": "stack",
131
- "direction": "horizontal",
132
- "gap": "sm",
133
- "children": [
134
- {
135
- "type": "button",
136
- "label": "Compose",
137
- "event": "COMPOSE",
138
- "variant": "primary",
139
- "icon": "edit"
140
- }
141
- ]
142
- }
143
- ]
144
- },
145
- {
146
- "type": "divider"
147
- },
148
- {
149
- "type": "data-grid",
150
- "entity": "ChatMessage",
151
- "emptyIcon": "inbox",
152
- "emptyTitle": "No messages yet",
153
- "emptyDescription": "Start a new conversation.",
154
- "itemActions": [
155
- {
156
- "label": "View",
157
- "event": "VIEW"
158
- }
159
- ],
160
- "className": "transition-shadow hover:shadow-md cursor-pointer",
161
- "renderItem": [
162
- "fn",
163
- "item",
164
- {
165
- "type": "stack",
166
- "direction": "vertical",
167
- "gap": "sm",
168
133
  "children": [
169
134
  {
170
135
  "type": "stack",
171
136
  "direction": "horizontal",
172
- "justify": "space-between",
137
+ "gap": "sm",
173
138
  "align": "center",
174
139
  "children": [
175
140
  {
176
- "type": "stack",
177
- "direction": "horizontal",
178
- "gap": "sm",
179
- "align": "center",
180
- "children": [
181
- {
182
- "type": "icon",
183
- "name": "message-circle",
184
- "size": "sm"
185
- },
186
- {
187
- "type": "typography",
188
- "variant": "h4",
189
- "content": "@item.sender"
190
- }
191
- ]
141
+ "type": "icon",
142
+ "name": "message-circle",
143
+ "size": "lg"
192
144
  },
193
145
  {
194
- "type": "badge",
195
- "label": "@item.content"
146
+ "type": "typography",
147
+ "content": "Chat",
148
+ "variant": "h2"
196
149
  }
197
150
  ]
198
151
  },
199
152
  {
200
- "type": "typography",
201
- "variant": "caption",
202
- "color": "muted",
203
- "content": "@item.channel"
153
+ "type": "stack",
154
+ "direction": "horizontal",
155
+ "gap": "sm",
156
+ "children": [
157
+ {
158
+ "type": "button",
159
+ "label": "Compose",
160
+ "event": "COMPOSE",
161
+ "variant": "primary",
162
+ "icon": "edit"
163
+ }
164
+ ]
204
165
  }
205
166
  ]
167
+ },
168
+ {
169
+ "type": "divider"
170
+ },
171
+ {
172
+ "type": "data-list",
173
+ "entity": "ChatMessage",
174
+ "emptyIcon": "inbox",
175
+ "emptyTitle": "No messages yet",
176
+ "emptyDescription": "Start a new conversation.",
177
+ "itemActions": [
178
+ {
179
+ "label": "View",
180
+ "event": "VIEW",
181
+ "variant": "ghost",
182
+ "size": "sm"
183
+ }
184
+ ],
185
+ "columns": [
186
+ {
187
+ "name": "sender",
188
+ "variant": "h4"
189
+ },
190
+ {
191
+ "name": "content",
192
+ "variant": "body"
193
+ },
194
+ {
195
+ "name": "timestamp",
196
+ "variant": "caption",
197
+ "format": "date"
198
+ }
199
+ ],
200
+ "variant": "message",
201
+ "senderField": "sender",
202
+ "gap": "sm"
206
203
  }
207
204
  ]
208
205
  }
@@ -341,6 +338,11 @@
341
338
  "render-ui",
342
339
  "modal",
343
340
  null
341
+ ],
342
+ [
343
+ "notify",
344
+ "Cancelled",
345
+ "info"
344
346
  ]
345
347
  ]
346
348
  },
@@ -562,6 +564,11 @@
562
564
  "render-ui",
563
565
  "modal",
564
566
  null
567
+ ],
568
+ [
569
+ "notify",
570
+ "Cancelled",
571
+ "info"
565
572
  ]
566
573
  ]
567
574
  }
@@ -737,120 +744,127 @@
737
744
  "render-ui",
738
745
  "main",
739
746
  {
740
- "type": "stack",
741
- "direction": "vertical",
742
- "gap": "lg",
747
+ "type": "dashboard-layout",
748
+ "appName": "Realtime Chat",
749
+ "navItems": [
750
+ {
751
+ "label": "Chat",
752
+ "href": "/chat",
753
+ "icon": "layout-list"
754
+ },
755
+ {
756
+ "label": "Channels",
757
+ "href": "/channels",
758
+ "icon": "hash"
759
+ },
760
+ {
761
+ "label": "Online",
762
+ "href": "/online",
763
+ "icon": "layout-list"
764
+ }
765
+ ],
743
766
  "children": [
744
767
  {
745
768
  "type": "stack",
746
- "direction": "horizontal",
747
- "gap": "md",
748
- "justify": "space-between",
769
+ "direction": "vertical",
770
+ "gap": "lg",
771
+ "className": "max-w-5xl mx-auto w-full",
749
772
  "children": [
750
773
  {
751
774
  "type": "stack",
752
775
  "direction": "horizontal",
753
- "gap": "sm",
776
+ "gap": "md",
777
+ "justify": "space-between",
754
778
  "align": "center",
755
- "children": [
756
- {
757
- "type": "icon",
758
- "name": "hash",
759
- "size": "lg"
760
- },
761
- {
762
- "type": "typography",
763
- "content": "Channels",
764
- "variant": "h2"
765
- }
766
- ]
767
- },
768
- {
769
- "type": "stack",
770
- "direction": "horizontal",
771
- "gap": "sm",
772
- "children": [
773
- {
774
- "type": "button",
775
- "label": "Create Channel",
776
- "event": "CREATE",
777
- "variant": "primary",
778
- "icon": "plus"
779
- }
780
- ]
781
- }
782
- ]
783
- },
784
- {
785
- "type": "divider"
786
- },
787
- {
788
- "type": "data-grid",
789
- "entity": "Channel",
790
- "emptyIcon": "inbox",
791
- "emptyTitle": "No channels yet",
792
- "emptyDescription": "Create your first channel to get started.",
793
- "itemActions": [
794
- {
795
- "label": "View",
796
- "event": "VIEW"
797
- },
798
- {
799
- "label": "Edit",
800
- "event": "EDIT"
801
- },
802
- {
803
- "label": "Delete",
804
- "event": "DELETE",
805
- "variant": "danger"
806
- }
807
- ],
808
- "className": "transition-shadow hover:shadow-md cursor-pointer",
809
- "renderItem": [
810
- "fn",
811
- "item",
812
- {
813
- "type": "stack",
814
- "direction": "vertical",
815
- "gap": "sm",
816
779
  "children": [
817
780
  {
818
781
  "type": "stack",
819
782
  "direction": "horizontal",
820
- "justify": "space-between",
783
+ "gap": "sm",
821
784
  "align": "center",
822
785
  "children": [
823
786
  {
824
- "type": "stack",
825
- "direction": "horizontal",
826
- "gap": "sm",
827
- "align": "center",
828
- "children": [
829
- {
830
- "type": "icon",
831
- "name": "hash",
832
- "size": "sm"
833
- },
834
- {
835
- "type": "typography",
836
- "variant": "h4",
837
- "content": "@item.name"
838
- }
839
- ]
787
+ "type": "icon",
788
+ "name": "hash",
789
+ "size": "lg"
840
790
  },
841
791
  {
842
- "type": "badge",
843
- "label": "@item.description"
792
+ "type": "typography",
793
+ "content": "Channels",
794
+ "variant": "h2"
844
795
  }
845
796
  ]
846
797
  },
847
798
  {
848
- "type": "typography",
849
- "variant": "caption",
850
- "color": "muted",
851
- "content": "@item.memberCount"
799
+ "type": "stack",
800
+ "direction": "horizontal",
801
+ "gap": "sm",
802
+ "children": [
803
+ {
804
+ "type": "button",
805
+ "label": "Create Channel",
806
+ "event": "CREATE",
807
+ "variant": "primary",
808
+ "icon": "plus"
809
+ }
810
+ ]
852
811
  }
853
812
  ]
813
+ },
814
+ {
815
+ "type": "divider"
816
+ },
817
+ {
818
+ "type": "data-list",
819
+ "entity": "Channel",
820
+ "emptyIcon": "inbox",
821
+ "emptyTitle": "No channels yet",
822
+ "emptyDescription": "Create a channel to start conversations.",
823
+ "itemActions": [
824
+ {
825
+ "label": "View",
826
+ "event": "VIEW",
827
+ "variant": "ghost",
828
+ "size": "sm"
829
+ },
830
+ {
831
+ "label": "Edit",
832
+ "event": "EDIT",
833
+ "variant": "ghost",
834
+ "size": "sm"
835
+ },
836
+ {
837
+ "label": "Delete",
838
+ "event": "DELETE",
839
+ "variant": "danger",
840
+ "size": "sm"
841
+ }
842
+ ],
843
+ "columns": [
844
+ {
845
+ "name": "name",
846
+ "variant": "h3",
847
+ "icon": "hash"
848
+ },
849
+ {
850
+ "name": "memberCount",
851
+ "label": "Members",
852
+ "variant": "badge",
853
+ "format": "number"
854
+ },
855
+ {
856
+ "name": "description",
857
+ "variant": "body"
858
+ },
859
+ {
860
+ "name": "isPrivate",
861
+ "label": "Private",
862
+ "variant": "body",
863
+ "format": "boolean"
864
+ }
865
+ ],
866
+ "variant": "card",
867
+ "gap": "sm"
854
868
  }
855
869
  ]
856
870
  }
@@ -974,120 +988,127 @@
974
988
  "render-ui",
975
989
  "main",
976
990
  {
977
- "type": "stack",
978
- "direction": "vertical",
979
- "gap": "lg",
991
+ "type": "dashboard-layout",
992
+ "appName": "Realtime Chat",
993
+ "navItems": [
994
+ {
995
+ "label": "Chat",
996
+ "href": "/chat",
997
+ "icon": "layout-list"
998
+ },
999
+ {
1000
+ "label": "Channels",
1001
+ "href": "/channels",
1002
+ "icon": "hash"
1003
+ },
1004
+ {
1005
+ "label": "Online",
1006
+ "href": "/online",
1007
+ "icon": "layout-list"
1008
+ }
1009
+ ],
980
1010
  "children": [
981
1011
  {
982
1012
  "type": "stack",
983
- "direction": "horizontal",
984
- "gap": "md",
985
- "justify": "space-between",
1013
+ "direction": "vertical",
1014
+ "gap": "lg",
1015
+ "className": "max-w-5xl mx-auto w-full",
986
1016
  "children": [
987
1017
  {
988
1018
  "type": "stack",
989
1019
  "direction": "horizontal",
990
- "gap": "sm",
1020
+ "gap": "md",
1021
+ "justify": "space-between",
991
1022
  "align": "center",
992
- "children": [
993
- {
994
- "type": "icon",
995
- "name": "hash",
996
- "size": "lg"
997
- },
998
- {
999
- "type": "typography",
1000
- "content": "Channels",
1001
- "variant": "h2"
1002
- }
1003
- ]
1004
- },
1005
- {
1006
- "type": "stack",
1007
- "direction": "horizontal",
1008
- "gap": "sm",
1009
- "children": [
1010
- {
1011
- "type": "button",
1012
- "label": "Create Channel",
1013
- "event": "CREATE",
1014
- "variant": "primary",
1015
- "icon": "plus"
1016
- }
1017
- ]
1018
- }
1019
- ]
1020
- },
1021
- {
1022
- "type": "divider"
1023
- },
1024
- {
1025
- "type": "data-grid",
1026
- "entity": "Channel",
1027
- "emptyIcon": "inbox",
1028
- "emptyTitle": "No channels yet",
1029
- "emptyDescription": "Create your first channel to get started.",
1030
- "itemActions": [
1031
- {
1032
- "label": "View",
1033
- "event": "VIEW"
1034
- },
1035
- {
1036
- "label": "Edit",
1037
- "event": "EDIT"
1038
- },
1039
- {
1040
- "label": "Delete",
1041
- "event": "DELETE",
1042
- "variant": "danger"
1043
- }
1044
- ],
1045
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1046
- "renderItem": [
1047
- "fn",
1048
- "item",
1049
- {
1050
- "type": "stack",
1051
- "direction": "vertical",
1052
- "gap": "sm",
1053
1023
  "children": [
1054
1024
  {
1055
1025
  "type": "stack",
1056
1026
  "direction": "horizontal",
1057
- "justify": "space-between",
1027
+ "gap": "sm",
1058
1028
  "align": "center",
1059
1029
  "children": [
1060
1030
  {
1061
- "type": "stack",
1062
- "direction": "horizontal",
1063
- "gap": "sm",
1064
- "align": "center",
1065
- "children": [
1066
- {
1067
- "type": "icon",
1068
- "name": "hash",
1069
- "size": "sm"
1070
- },
1071
- {
1072
- "type": "typography",
1073
- "variant": "h4",
1074
- "content": "@item.name"
1075
- }
1076
- ]
1031
+ "type": "icon",
1032
+ "name": "hash",
1033
+ "size": "lg"
1077
1034
  },
1078
1035
  {
1079
- "type": "badge",
1080
- "label": "@item.description"
1036
+ "type": "typography",
1037
+ "content": "Channels",
1038
+ "variant": "h2"
1081
1039
  }
1082
1040
  ]
1083
1041
  },
1084
1042
  {
1085
- "type": "typography",
1086
- "variant": "caption",
1087
- "color": "muted",
1088
- "content": "@item.memberCount"
1043
+ "type": "stack",
1044
+ "direction": "horizontal",
1045
+ "gap": "sm",
1046
+ "children": [
1047
+ {
1048
+ "type": "button",
1049
+ "label": "Create Channel",
1050
+ "event": "CREATE",
1051
+ "variant": "primary",
1052
+ "icon": "plus"
1053
+ }
1054
+ ]
1089
1055
  }
1090
1056
  ]
1057
+ },
1058
+ {
1059
+ "type": "divider"
1060
+ },
1061
+ {
1062
+ "type": "data-list",
1063
+ "entity": "Channel",
1064
+ "emptyIcon": "inbox",
1065
+ "emptyTitle": "No channels yet",
1066
+ "emptyDescription": "Create a channel to start conversations.",
1067
+ "itemActions": [
1068
+ {
1069
+ "label": "View",
1070
+ "event": "VIEW",
1071
+ "variant": "ghost",
1072
+ "size": "sm"
1073
+ },
1074
+ {
1075
+ "label": "Edit",
1076
+ "event": "EDIT",
1077
+ "variant": "ghost",
1078
+ "size": "sm"
1079
+ },
1080
+ {
1081
+ "label": "Delete",
1082
+ "event": "DELETE",
1083
+ "variant": "danger",
1084
+ "size": "sm"
1085
+ }
1086
+ ],
1087
+ "columns": [
1088
+ {
1089
+ "name": "name",
1090
+ "variant": "h3",
1091
+ "icon": "hash"
1092
+ },
1093
+ {
1094
+ "name": "memberCount",
1095
+ "label": "Members",
1096
+ "variant": "badge",
1097
+ "format": "number"
1098
+ },
1099
+ {
1100
+ "name": "description",
1101
+ "variant": "body"
1102
+ },
1103
+ {
1104
+ "name": "isPrivate",
1105
+ "label": "Private",
1106
+ "variant": "body",
1107
+ "format": "boolean"
1108
+ }
1109
+ ],
1110
+ "variant": "card",
1111
+ "gap": "sm"
1091
1112
  }
1092
1113
  ]
1093
1114
  }
@@ -1118,120 +1139,127 @@
1118
1139
  "render-ui",
1119
1140
  "main",
1120
1141
  {
1121
- "type": "stack",
1122
- "direction": "vertical",
1123
- "gap": "lg",
1142
+ "type": "dashboard-layout",
1143
+ "appName": "Realtime Chat",
1144
+ "navItems": [
1145
+ {
1146
+ "label": "Chat",
1147
+ "href": "/chat",
1148
+ "icon": "layout-list"
1149
+ },
1150
+ {
1151
+ "label": "Channels",
1152
+ "href": "/channels",
1153
+ "icon": "hash"
1154
+ },
1155
+ {
1156
+ "label": "Online",
1157
+ "href": "/online",
1158
+ "icon": "layout-list"
1159
+ }
1160
+ ],
1124
1161
  "children": [
1125
1162
  {
1126
1163
  "type": "stack",
1127
- "direction": "horizontal",
1128
- "gap": "md",
1129
- "justify": "space-between",
1164
+ "direction": "vertical",
1165
+ "gap": "lg",
1166
+ "className": "max-w-5xl mx-auto w-full",
1130
1167
  "children": [
1131
1168
  {
1132
1169
  "type": "stack",
1133
1170
  "direction": "horizontal",
1134
- "gap": "sm",
1171
+ "gap": "md",
1172
+ "justify": "space-between",
1135
1173
  "align": "center",
1136
- "children": [
1137
- {
1138
- "type": "icon",
1139
- "name": "hash",
1140
- "size": "lg"
1141
- },
1142
- {
1143
- "type": "typography",
1144
- "content": "Channels",
1145
- "variant": "h2"
1146
- }
1147
- ]
1148
- },
1149
- {
1150
- "type": "stack",
1151
- "direction": "horizontal",
1152
- "gap": "sm",
1153
- "children": [
1154
- {
1155
- "type": "button",
1156
- "label": "Create Channel",
1157
- "event": "CREATE",
1158
- "variant": "primary",
1159
- "icon": "plus"
1160
- }
1161
- ]
1162
- }
1163
- ]
1164
- },
1165
- {
1166
- "type": "divider"
1167
- },
1168
- {
1169
- "type": "data-grid",
1170
- "entity": "Channel",
1171
- "emptyIcon": "inbox",
1172
- "emptyTitle": "No channels yet",
1173
- "emptyDescription": "Create your first channel to get started.",
1174
- "itemActions": [
1175
- {
1176
- "label": "View",
1177
- "event": "VIEW"
1178
- },
1179
- {
1180
- "label": "Edit",
1181
- "event": "EDIT"
1182
- },
1183
- {
1184
- "label": "Delete",
1185
- "event": "DELETE",
1186
- "variant": "danger"
1187
- }
1188
- ],
1189
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1190
- "renderItem": [
1191
- "fn",
1192
- "item",
1193
- {
1194
- "type": "stack",
1195
- "direction": "vertical",
1196
- "gap": "sm",
1197
1174
  "children": [
1198
1175
  {
1199
1176
  "type": "stack",
1200
1177
  "direction": "horizontal",
1201
- "justify": "space-between",
1178
+ "gap": "sm",
1202
1179
  "align": "center",
1203
1180
  "children": [
1204
1181
  {
1205
- "type": "stack",
1206
- "direction": "horizontal",
1207
- "gap": "sm",
1208
- "align": "center",
1209
- "children": [
1210
- {
1211
- "type": "icon",
1212
- "name": "hash",
1213
- "size": "sm"
1214
- },
1215
- {
1216
- "type": "typography",
1217
- "variant": "h4",
1218
- "content": "@item.name"
1219
- }
1220
- ]
1182
+ "type": "icon",
1183
+ "name": "hash",
1184
+ "size": "lg"
1221
1185
  },
1222
1186
  {
1223
- "type": "badge",
1224
- "label": "@item.description"
1187
+ "type": "typography",
1188
+ "content": "Channels",
1189
+ "variant": "h2"
1225
1190
  }
1226
1191
  ]
1227
1192
  },
1228
1193
  {
1229
- "type": "typography",
1230
- "variant": "caption",
1231
- "color": "muted",
1232
- "content": "@item.memberCount"
1194
+ "type": "stack",
1195
+ "direction": "horizontal",
1196
+ "gap": "sm",
1197
+ "children": [
1198
+ {
1199
+ "type": "button",
1200
+ "label": "Create Channel",
1201
+ "event": "CREATE",
1202
+ "variant": "primary",
1203
+ "icon": "plus"
1204
+ }
1205
+ ]
1233
1206
  }
1234
1207
  ]
1208
+ },
1209
+ {
1210
+ "type": "divider"
1211
+ },
1212
+ {
1213
+ "type": "data-list",
1214
+ "entity": "Channel",
1215
+ "emptyIcon": "inbox",
1216
+ "emptyTitle": "No channels yet",
1217
+ "emptyDescription": "Create a channel to start conversations.",
1218
+ "itemActions": [
1219
+ {
1220
+ "label": "View",
1221
+ "event": "VIEW",
1222
+ "variant": "ghost",
1223
+ "size": "sm"
1224
+ },
1225
+ {
1226
+ "label": "Edit",
1227
+ "event": "EDIT",
1228
+ "variant": "ghost",
1229
+ "size": "sm"
1230
+ },
1231
+ {
1232
+ "label": "Delete",
1233
+ "event": "DELETE",
1234
+ "variant": "danger",
1235
+ "size": "sm"
1236
+ }
1237
+ ],
1238
+ "columns": [
1239
+ {
1240
+ "name": "name",
1241
+ "variant": "h3",
1242
+ "icon": "hash"
1243
+ },
1244
+ {
1245
+ "name": "memberCount",
1246
+ "label": "Members",
1247
+ "variant": "badge",
1248
+ "format": "number"
1249
+ },
1250
+ {
1251
+ "name": "description",
1252
+ "variant": "body"
1253
+ },
1254
+ {
1255
+ "name": "isPrivate",
1256
+ "label": "Private",
1257
+ "variant": "body",
1258
+ "format": "boolean"
1259
+ }
1260
+ ],
1261
+ "variant": "card",
1262
+ "gap": "sm"
1235
1263
  }
1236
1264
  ]
1237
1265
  }
@@ -1258,120 +1286,127 @@
1258
1286
  "render-ui",
1259
1287
  "main",
1260
1288
  {
1261
- "type": "stack",
1262
- "direction": "vertical",
1263
- "gap": "lg",
1289
+ "type": "dashboard-layout",
1290
+ "appName": "Realtime Chat",
1291
+ "navItems": [
1292
+ {
1293
+ "label": "Chat",
1294
+ "href": "/chat",
1295
+ "icon": "layout-list"
1296
+ },
1297
+ {
1298
+ "label": "Channels",
1299
+ "href": "/channels",
1300
+ "icon": "hash"
1301
+ },
1302
+ {
1303
+ "label": "Online",
1304
+ "href": "/online",
1305
+ "icon": "layout-list"
1306
+ }
1307
+ ],
1264
1308
  "children": [
1265
1309
  {
1266
1310
  "type": "stack",
1267
- "direction": "horizontal",
1268
- "gap": "md",
1269
- "justify": "space-between",
1311
+ "direction": "vertical",
1312
+ "gap": "lg",
1313
+ "className": "max-w-5xl mx-auto w-full",
1270
1314
  "children": [
1271
1315
  {
1272
1316
  "type": "stack",
1273
1317
  "direction": "horizontal",
1274
- "gap": "sm",
1318
+ "gap": "md",
1319
+ "justify": "space-between",
1275
1320
  "align": "center",
1276
- "children": [
1277
- {
1278
- "type": "icon",
1279
- "name": "hash",
1280
- "size": "lg"
1281
- },
1282
- {
1283
- "type": "typography",
1284
- "content": "Channels",
1285
- "variant": "h2"
1286
- }
1287
- ]
1288
- },
1289
- {
1290
- "type": "stack",
1291
- "direction": "horizontal",
1292
- "gap": "sm",
1293
- "children": [
1294
- {
1295
- "type": "button",
1296
- "label": "Create Channel",
1297
- "event": "CREATE",
1298
- "variant": "primary",
1299
- "icon": "plus"
1300
- }
1301
- ]
1302
- }
1303
- ]
1304
- },
1305
- {
1306
- "type": "divider"
1307
- },
1308
- {
1309
- "type": "data-grid",
1310
- "entity": "Channel",
1311
- "emptyIcon": "inbox",
1312
- "emptyTitle": "No channels yet",
1313
- "emptyDescription": "Create your first channel to get started.",
1314
- "itemActions": [
1315
- {
1316
- "label": "View",
1317
- "event": "VIEW"
1318
- },
1319
- {
1320
- "label": "Edit",
1321
- "event": "EDIT"
1322
- },
1323
- {
1324
- "label": "Delete",
1325
- "event": "DELETE",
1326
- "variant": "danger"
1327
- }
1328
- ],
1329
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1330
- "renderItem": [
1331
- "fn",
1332
- "item",
1333
- {
1334
- "type": "stack",
1335
- "direction": "vertical",
1336
- "gap": "sm",
1337
1321
  "children": [
1338
1322
  {
1339
1323
  "type": "stack",
1340
1324
  "direction": "horizontal",
1341
- "justify": "space-between",
1325
+ "gap": "sm",
1342
1326
  "align": "center",
1343
1327
  "children": [
1344
1328
  {
1345
- "type": "stack",
1346
- "direction": "horizontal",
1347
- "gap": "sm",
1348
- "align": "center",
1349
- "children": [
1350
- {
1351
- "type": "icon",
1352
- "name": "hash",
1353
- "size": "sm"
1354
- },
1355
- {
1356
- "type": "typography",
1357
- "variant": "h4",
1358
- "content": "@item.name"
1359
- }
1360
- ]
1329
+ "type": "icon",
1330
+ "name": "hash",
1331
+ "size": "lg"
1361
1332
  },
1362
1333
  {
1363
- "type": "badge",
1364
- "label": "@item.description"
1334
+ "type": "typography",
1335
+ "content": "Channels",
1336
+ "variant": "h2"
1365
1337
  }
1366
1338
  ]
1367
1339
  },
1368
1340
  {
1369
- "type": "typography",
1370
- "variant": "caption",
1371
- "color": "muted",
1372
- "content": "@item.memberCount"
1341
+ "type": "stack",
1342
+ "direction": "horizontal",
1343
+ "gap": "sm",
1344
+ "children": [
1345
+ {
1346
+ "type": "button",
1347
+ "label": "Create Channel",
1348
+ "event": "CREATE",
1349
+ "variant": "primary",
1350
+ "icon": "plus"
1351
+ }
1352
+ ]
1373
1353
  }
1374
1354
  ]
1355
+ },
1356
+ {
1357
+ "type": "divider"
1358
+ },
1359
+ {
1360
+ "type": "data-list",
1361
+ "entity": "Channel",
1362
+ "emptyIcon": "inbox",
1363
+ "emptyTitle": "No channels yet",
1364
+ "emptyDescription": "Create a channel to start conversations.",
1365
+ "itemActions": [
1366
+ {
1367
+ "label": "View",
1368
+ "event": "VIEW",
1369
+ "variant": "ghost",
1370
+ "size": "sm"
1371
+ },
1372
+ {
1373
+ "label": "Edit",
1374
+ "event": "EDIT",
1375
+ "variant": "ghost",
1376
+ "size": "sm"
1377
+ },
1378
+ {
1379
+ "label": "Delete",
1380
+ "event": "DELETE",
1381
+ "variant": "danger",
1382
+ "size": "sm"
1383
+ }
1384
+ ],
1385
+ "columns": [
1386
+ {
1387
+ "name": "name",
1388
+ "variant": "h3",
1389
+ "icon": "hash"
1390
+ },
1391
+ {
1392
+ "name": "memberCount",
1393
+ "label": "Members",
1394
+ "variant": "badge",
1395
+ "format": "number"
1396
+ },
1397
+ {
1398
+ "name": "description",
1399
+ "variant": "body"
1400
+ },
1401
+ {
1402
+ "name": "isPrivate",
1403
+ "label": "Private",
1404
+ "variant": "body",
1405
+ "format": "boolean"
1406
+ }
1407
+ ],
1408
+ "variant": "card",
1409
+ "gap": "sm"
1375
1410
  }
1376
1411
  ]
1377
1412
  }
@@ -1503,6 +1538,11 @@
1503
1538
  "render-ui",
1504
1539
  "modal",
1505
1540
  null
1541
+ ],
1542
+ [
1543
+ "notify",
1544
+ "Cancelled",
1545
+ "info"
1506
1546
  ]
1507
1547
  ]
1508
1548
  },
@@ -1668,6 +1708,11 @@
1668
1708
  "render-ui",
1669
1709
  "modal",
1670
1710
  null
1711
+ ],
1712
+ [
1713
+ "notify",
1714
+ "Cancelled",
1715
+ "info"
1671
1716
  ]
1672
1717
  ]
1673
1718
  },
@@ -1832,7 +1877,7 @@
1832
1877
  {
1833
1878
  "type": "typography",
1834
1879
  "variant": "caption",
1835
- "content": "MemberCount"
1880
+ "content": "Member Count"
1836
1881
  },
1837
1882
  {
1838
1883
  "type": "typography",
@@ -1849,7 +1894,7 @@
1849
1894
  {
1850
1895
  "type": "typography",
1851
1896
  "variant": "caption",
1852
- "content": "IsPrivate"
1897
+ "content": "Is Private"
1853
1898
  },
1854
1899
  {
1855
1900
  "type": "typography",
@@ -1896,6 +1941,11 @@
1896
1941
  "render-ui",
1897
1942
  "modal",
1898
1943
  null
1944
+ ],
1945
+ [
1946
+ "notify",
1947
+ "Cancelled",
1948
+ "info"
1899
1949
  ]
1900
1950
  ]
1901
1951
  }
@@ -1943,11 +1993,17 @@
1943
1993
  {
1944
1994
  "name": "status",
1945
1995
  "type": "string",
1946
- "default": "online"
1996
+ "default": "online",
1997
+ "values": [
1998
+ "online",
1999
+ "away",
2000
+ "busy",
2001
+ "offline"
2002
+ ]
1947
2003
  },
1948
2004
  {
1949
2005
  "name": "lastActive",
1950
- "type": "string"
2006
+ "type": "date"
1951
2007
  },
1952
2008
  {
1953
2009
  "name": "avatar",
@@ -2005,162 +2061,318 @@
2005
2061
  "render-ui",
2006
2062
  "main",
2007
2063
  {
2008
- "type": "stack",
2009
- "direction": "vertical",
2010
- "gap": "lg",
2011
- "children": [
2064
+ "type": "dashboard-layout",
2065
+ "appName": "Realtime Chat",
2066
+ "navItems": [
2012
2067
  {
2013
- "type": "stack",
2014
- "direction": "horizontal",
2015
- "gap": "md",
2016
- "justify": "space-between",
2017
- "children": [
2018
- {
2019
- "type": "stack",
2020
- "direction": "horizontal",
2021
- "gap": "md",
2022
- "children": [
2023
- {
2024
- "type": "icon",
2025
- "name": "users",
2026
- "size": "lg"
2027
- },
2028
- {
2029
- "type": "typography",
2030
- "content": "Online Users",
2031
- "variant": "h2"
2032
- }
2033
- ]
2034
- },
2035
- {
2036
- "type": "button",
2037
- "label": "Refresh",
2038
- "event": "REFRESH",
2039
- "variant": "secondary",
2040
- "icon": "refresh-cw"
2041
- }
2042
- ]
2068
+ "label": "Chat",
2069
+ "href": "/chat",
2070
+ "icon": "layout-list"
2043
2071
  },
2044
2072
  {
2045
- "type": "divider"
2073
+ "label": "Channels",
2074
+ "href": "/channels",
2075
+ "icon": "hash"
2046
2076
  },
2047
2077
  {
2048
- "type": "simple-grid",
2049
- "columns": 3,
2078
+ "label": "Online",
2079
+ "href": "/online",
2080
+ "icon": "layout-list"
2081
+ }
2082
+ ],
2083
+ "children": [
2084
+ {
2085
+ "type": "scaled-diagram",
2050
2086
  "children": [
2051
2087
  {
2052
- "type": "card",
2088
+ "type": "stack",
2089
+ "direction": "vertical",
2090
+ "gap": "lg",
2053
2091
  "children": [
2054
2092
  {
2055
- "type": "stack",
2056
- "direction": "vertical",
2057
- "gap": "sm",
2058
- "children": [
2093
+ "type": "breadcrumb",
2094
+ "items": [
2059
2095
  {
2060
- "type": "typography",
2061
- "variant": "caption",
2062
- "content": "Username"
2096
+ "label": "Home",
2097
+ "href": "/"
2063
2098
  },
2064
2099
  {
2065
- "type": "typography",
2066
- "variant": "h3",
2067
- "content": [
2068
- "object/get",
2069
- [
2070
- "array/first",
2071
- "@entity"
2072
- ],
2073
- "username"
2074
- ]
2100
+ "label": "Online Users"
2075
2101
  }
2076
2102
  ]
2077
- }
2078
- ]
2079
- },
2080
- {
2081
- "type": "card",
2082
- "children": [
2103
+ },
2083
2104
  {
2084
2105
  "type": "stack",
2085
- "direction": "vertical",
2086
- "gap": "sm",
2106
+ "direction": "horizontal",
2107
+ "gap": "md",
2108
+ "justify": "space-between",
2087
2109
  "children": [
2088
2110
  {
2089
- "type": "typography",
2090
- "variant": "caption",
2091
- "content": "Status"
2111
+ "type": "stack",
2112
+ "direction": "horizontal",
2113
+ "gap": "md",
2114
+ "children": [
2115
+ {
2116
+ "type": "icon",
2117
+ "name": "users",
2118
+ "size": "lg"
2119
+ },
2120
+ {
2121
+ "type": "typography",
2122
+ "content": "Online Users",
2123
+ "variant": "h2"
2124
+ }
2125
+ ]
2092
2126
  },
2093
2127
  {
2094
- "type": "typography",
2095
- "variant": "h3",
2096
- "content": [
2097
- "object/get",
2098
- [
2099
- "array/first",
2100
- "@entity"
2101
- ],
2102
- "status"
2103
- ]
2128
+ "type": "button",
2129
+ "label": "Refresh",
2130
+ "event": "REFRESH",
2131
+ "variant": "secondary",
2132
+ "icon": "refresh-cw"
2104
2133
  }
2105
2134
  ]
2106
- }
2107
- ]
2108
- },
2109
- {
2110
- "type": "card",
2111
- "children": [
2135
+ },
2112
2136
  {
2113
- "type": "stack",
2114
- "direction": "vertical",
2115
- "gap": "sm",
2137
+ "type": "divider"
2138
+ },
2139
+ {
2140
+ "type": "box",
2141
+ "padding": "md",
2116
2142
  "children": [
2117
2143
  {
2118
- "type": "typography",
2119
- "variant": "caption",
2120
- "content": "LastActive"
2121
- },
2122
- {
2123
- "type": "typography",
2124
- "variant": "h3",
2125
- "content": [
2126
- "object/get",
2127
- [
2128
- "array/first",
2129
- "@entity"
2130
- ],
2131
- "lastActive"
2144
+ "type": "simple-grid",
2145
+ "columns": 3,
2146
+ "children": [
2147
+ {
2148
+ "type": "card",
2149
+ "children": [
2150
+ {
2151
+ "type": "stack",
2152
+ "direction": "vertical",
2153
+ "gap": "sm",
2154
+ "children": [
2155
+ {
2156
+ "type": "typography",
2157
+ "variant": "caption",
2158
+ "content": "Username"
2159
+ },
2160
+ {
2161
+ "type": "typography",
2162
+ "variant": "h3",
2163
+ "content": [
2164
+ "object/get",
2165
+ [
2166
+ "array/first",
2167
+ "@entity"
2168
+ ],
2169
+ "username"
2170
+ ]
2171
+ }
2172
+ ]
2173
+ }
2174
+ ]
2175
+ },
2176
+ {
2177
+ "type": "card",
2178
+ "children": [
2179
+ {
2180
+ "type": "stack",
2181
+ "direction": "vertical",
2182
+ "gap": "sm",
2183
+ "children": [
2184
+ {
2185
+ "type": "typography",
2186
+ "variant": "caption",
2187
+ "content": "Status"
2188
+ },
2189
+ {
2190
+ "type": "typography",
2191
+ "variant": "h3",
2192
+ "content": [
2193
+ "object/get",
2194
+ [
2195
+ "array/first",
2196
+ "@entity"
2197
+ ],
2198
+ "status"
2199
+ ]
2200
+ }
2201
+ ]
2202
+ }
2203
+ ]
2204
+ },
2205
+ {
2206
+ "type": "card",
2207
+ "children": [
2208
+ {
2209
+ "type": "stack",
2210
+ "direction": "vertical",
2211
+ "gap": "sm",
2212
+ "children": [
2213
+ {
2214
+ "type": "typography",
2215
+ "variant": "caption",
2216
+ "content": "LastActive"
2217
+ },
2218
+ {
2219
+ "type": "typography",
2220
+ "variant": "h3",
2221
+ "content": [
2222
+ "object/get",
2223
+ [
2224
+ "array/first",
2225
+ "@entity"
2226
+ ],
2227
+ "lastActive"
2228
+ ]
2229
+ }
2230
+ ]
2231
+ }
2232
+ ]
2233
+ },
2234
+ {
2235
+ "type": "card",
2236
+ "children": [
2237
+ {
2238
+ "type": "stack",
2239
+ "direction": "vertical",
2240
+ "gap": "sm",
2241
+ "children": [
2242
+ {
2243
+ "type": "typography",
2244
+ "variant": "caption",
2245
+ "content": "Avatar"
2246
+ },
2247
+ {
2248
+ "type": "typography",
2249
+ "variant": "h3",
2250
+ "content": [
2251
+ "object/get",
2252
+ [
2253
+ "array/first",
2254
+ "@entity"
2255
+ ],
2256
+ "avatar"
2257
+ ]
2258
+ }
2259
+ ]
2260
+ }
2261
+ ]
2262
+ }
2132
2263
  ]
2133
2264
  }
2134
2265
  ]
2135
- }
2136
- ]
2137
- },
2138
- {
2139
- "type": "card",
2140
- "children": [
2266
+ },
2141
2267
  {
2142
- "type": "stack",
2143
- "direction": "vertical",
2144
- "gap": "sm",
2268
+ "type": "divider"
2269
+ },
2270
+ {
2271
+ "type": "grid",
2272
+ "columns": 2,
2273
+ "gap": "md",
2145
2274
  "children": [
2146
2275
  {
2147
- "type": "typography",
2148
- "variant": "caption",
2149
- "content": "Avatar"
2276
+ "type": "card",
2277
+ "children": [
2278
+ {
2279
+ "type": "typography",
2280
+ "variant": "caption",
2281
+ "content": "Chart View"
2282
+ }
2283
+ ]
2150
2284
  },
2151
2285
  {
2152
- "type": "typography",
2153
- "variant": "h3",
2154
- "content": [
2155
- "object/get",
2156
- [
2157
- "array/first",
2158
- "@entity"
2159
- ],
2160
- "avatar"
2286
+ "type": "card",
2287
+ "children": [
2288
+ {
2289
+ "type": "typography",
2290
+ "variant": "caption",
2291
+ "content": "Graph View"
2292
+ }
2161
2293
  ]
2162
2294
  }
2163
2295
  ]
2296
+ },
2297
+ {
2298
+ "type": "line-chart",
2299
+ "data": [
2300
+ {
2301
+ "date": "Jan",
2302
+ "value": 12
2303
+ },
2304
+ {
2305
+ "date": "Feb",
2306
+ "value": 19
2307
+ },
2308
+ {
2309
+ "date": "Mar",
2310
+ "value": 15
2311
+ },
2312
+ {
2313
+ "date": "Apr",
2314
+ "value": 25
2315
+ },
2316
+ {
2317
+ "date": "May",
2318
+ "value": 22
2319
+ },
2320
+ {
2321
+ "date": "Jun",
2322
+ "value": 30
2323
+ }
2324
+ ],
2325
+ "xKey": "date",
2326
+ "yKey": "value",
2327
+ "title": "Trend"
2328
+ },
2329
+ {
2330
+ "type": "chart-legend",
2331
+ "items": [
2332
+ {
2333
+ "label": "Current",
2334
+ "color": "primary"
2335
+ },
2336
+ {
2337
+ "label": "Previous",
2338
+ "color": "muted"
2339
+ }
2340
+ ]
2341
+ },
2342
+ {
2343
+ "type": "graph-view",
2344
+ "nodes": [
2345
+ {
2346
+ "id": "a",
2347
+ "label": "Start",
2348
+ "x": 50,
2349
+ "y": 100
2350
+ },
2351
+ {
2352
+ "id": "b",
2353
+ "label": "Process",
2354
+ "x": 200,
2355
+ "y": 50
2356
+ },
2357
+ {
2358
+ "id": "c",
2359
+ "label": "End",
2360
+ "x": 350,
2361
+ "y": 100
2362
+ }
2363
+ ],
2364
+ "edges": [
2365
+ {
2366
+ "from": "a",
2367
+ "to": "b"
2368
+ },
2369
+ {
2370
+ "from": "b",
2371
+ "to": "c"
2372
+ }
2373
+ ],
2374
+ "width": 400,
2375
+ "height": 200
2164
2376
  }
2165
2377
  ]
2166
2378
  }
@@ -2184,162 +2396,318 @@
2184
2396
  "render-ui",
2185
2397
  "main",
2186
2398
  {
2187
- "type": "stack",
2188
- "direction": "vertical",
2189
- "gap": "lg",
2190
- "children": [
2399
+ "type": "dashboard-layout",
2400
+ "appName": "Realtime Chat",
2401
+ "navItems": [
2191
2402
  {
2192
- "type": "stack",
2193
- "direction": "horizontal",
2194
- "gap": "md",
2195
- "justify": "space-between",
2196
- "children": [
2197
- {
2198
- "type": "stack",
2199
- "direction": "horizontal",
2200
- "gap": "md",
2201
- "children": [
2202
- {
2203
- "type": "icon",
2204
- "name": "users",
2205
- "size": "lg"
2206
- },
2207
- {
2208
- "type": "typography",
2209
- "content": "Online Users",
2210
- "variant": "h2"
2211
- }
2212
- ]
2213
- },
2214
- {
2215
- "type": "button",
2216
- "label": "Refresh",
2217
- "event": "REFRESH",
2218
- "variant": "secondary",
2219
- "icon": "refresh-cw"
2220
- }
2221
- ]
2403
+ "label": "Chat",
2404
+ "href": "/chat",
2405
+ "icon": "layout-list"
2222
2406
  },
2223
2407
  {
2224
- "type": "divider"
2408
+ "label": "Channels",
2409
+ "href": "/channels",
2410
+ "icon": "hash"
2225
2411
  },
2226
2412
  {
2227
- "type": "simple-grid",
2228
- "columns": 3,
2413
+ "label": "Online",
2414
+ "href": "/online",
2415
+ "icon": "layout-list"
2416
+ }
2417
+ ],
2418
+ "children": [
2419
+ {
2420
+ "type": "scaled-diagram",
2229
2421
  "children": [
2230
2422
  {
2231
- "type": "card",
2423
+ "type": "stack",
2424
+ "direction": "vertical",
2425
+ "gap": "lg",
2232
2426
  "children": [
2233
2427
  {
2234
- "type": "stack",
2235
- "direction": "vertical",
2236
- "gap": "sm",
2237
- "children": [
2428
+ "type": "breadcrumb",
2429
+ "items": [
2238
2430
  {
2239
- "type": "typography",
2240
- "variant": "caption",
2241
- "content": "Username"
2431
+ "label": "Home",
2432
+ "href": "/"
2242
2433
  },
2243
2434
  {
2244
- "type": "typography",
2245
- "variant": "h3",
2246
- "content": [
2247
- "object/get",
2248
- [
2249
- "array/first",
2250
- "@entity"
2251
- ],
2252
- "username"
2253
- ]
2435
+ "label": "Online Users"
2254
2436
  }
2255
2437
  ]
2256
- }
2257
- ]
2258
- },
2259
- {
2260
- "type": "card",
2261
- "children": [
2438
+ },
2262
2439
  {
2263
2440
  "type": "stack",
2264
- "direction": "vertical",
2265
- "gap": "sm",
2441
+ "direction": "horizontal",
2442
+ "gap": "md",
2443
+ "justify": "space-between",
2266
2444
  "children": [
2267
2445
  {
2268
- "type": "typography",
2269
- "variant": "caption",
2270
- "content": "Status"
2446
+ "type": "stack",
2447
+ "direction": "horizontal",
2448
+ "gap": "md",
2449
+ "children": [
2450
+ {
2451
+ "type": "icon",
2452
+ "name": "users",
2453
+ "size": "lg"
2454
+ },
2455
+ {
2456
+ "type": "typography",
2457
+ "content": "Online Users",
2458
+ "variant": "h2"
2459
+ }
2460
+ ]
2271
2461
  },
2272
2462
  {
2273
- "type": "typography",
2274
- "variant": "h3",
2275
- "content": [
2276
- "object/get",
2277
- [
2278
- "array/first",
2279
- "@entity"
2280
- ],
2281
- "status"
2463
+ "type": "button",
2464
+ "label": "Refresh",
2465
+ "event": "REFRESH",
2466
+ "variant": "secondary",
2467
+ "icon": "refresh-cw"
2468
+ }
2469
+ ]
2470
+ },
2471
+ {
2472
+ "type": "divider"
2473
+ },
2474
+ {
2475
+ "type": "box",
2476
+ "padding": "md",
2477
+ "children": [
2478
+ {
2479
+ "type": "simple-grid",
2480
+ "columns": 3,
2481
+ "children": [
2482
+ {
2483
+ "type": "card",
2484
+ "children": [
2485
+ {
2486
+ "type": "stack",
2487
+ "direction": "vertical",
2488
+ "gap": "sm",
2489
+ "children": [
2490
+ {
2491
+ "type": "typography",
2492
+ "variant": "caption",
2493
+ "content": "Username"
2494
+ },
2495
+ {
2496
+ "type": "typography",
2497
+ "variant": "h3",
2498
+ "content": [
2499
+ "object/get",
2500
+ [
2501
+ "array/first",
2502
+ "@entity"
2503
+ ],
2504
+ "username"
2505
+ ]
2506
+ }
2507
+ ]
2508
+ }
2509
+ ]
2510
+ },
2511
+ {
2512
+ "type": "card",
2513
+ "children": [
2514
+ {
2515
+ "type": "stack",
2516
+ "direction": "vertical",
2517
+ "gap": "sm",
2518
+ "children": [
2519
+ {
2520
+ "type": "typography",
2521
+ "variant": "caption",
2522
+ "content": "Status"
2523
+ },
2524
+ {
2525
+ "type": "typography",
2526
+ "variant": "h3",
2527
+ "content": [
2528
+ "object/get",
2529
+ [
2530
+ "array/first",
2531
+ "@entity"
2532
+ ],
2533
+ "status"
2534
+ ]
2535
+ }
2536
+ ]
2537
+ }
2538
+ ]
2539
+ },
2540
+ {
2541
+ "type": "card",
2542
+ "children": [
2543
+ {
2544
+ "type": "stack",
2545
+ "direction": "vertical",
2546
+ "gap": "sm",
2547
+ "children": [
2548
+ {
2549
+ "type": "typography",
2550
+ "variant": "caption",
2551
+ "content": "LastActive"
2552
+ },
2553
+ {
2554
+ "type": "typography",
2555
+ "variant": "h3",
2556
+ "content": [
2557
+ "object/get",
2558
+ [
2559
+ "array/first",
2560
+ "@entity"
2561
+ ],
2562
+ "lastActive"
2563
+ ]
2564
+ }
2565
+ ]
2566
+ }
2567
+ ]
2568
+ },
2569
+ {
2570
+ "type": "card",
2571
+ "children": [
2572
+ {
2573
+ "type": "stack",
2574
+ "direction": "vertical",
2575
+ "gap": "sm",
2576
+ "children": [
2577
+ {
2578
+ "type": "typography",
2579
+ "variant": "caption",
2580
+ "content": "Avatar"
2581
+ },
2582
+ {
2583
+ "type": "typography",
2584
+ "variant": "h3",
2585
+ "content": [
2586
+ "object/get",
2587
+ [
2588
+ "array/first",
2589
+ "@entity"
2590
+ ],
2591
+ "avatar"
2592
+ ]
2593
+ }
2594
+ ]
2595
+ }
2596
+ ]
2597
+ }
2282
2598
  ]
2283
2599
  }
2284
2600
  ]
2285
- }
2286
- ]
2287
- },
2288
- {
2289
- "type": "card",
2290
- "children": [
2601
+ },
2291
2602
  {
2292
- "type": "stack",
2293
- "direction": "vertical",
2294
- "gap": "sm",
2603
+ "type": "divider"
2604
+ },
2605
+ {
2606
+ "type": "grid",
2607
+ "columns": 2,
2608
+ "gap": "md",
2295
2609
  "children": [
2296
2610
  {
2297
- "type": "typography",
2298
- "variant": "caption",
2299
- "content": "LastActive"
2611
+ "type": "card",
2612
+ "children": [
2613
+ {
2614
+ "type": "typography",
2615
+ "variant": "caption",
2616
+ "content": "Chart View"
2617
+ }
2618
+ ]
2300
2619
  },
2301
2620
  {
2302
- "type": "typography",
2303
- "variant": "h3",
2304
- "content": [
2305
- "object/get",
2306
- [
2307
- "array/first",
2308
- "@entity"
2309
- ],
2310
- "lastActive"
2621
+ "type": "card",
2622
+ "children": [
2623
+ {
2624
+ "type": "typography",
2625
+ "variant": "caption",
2626
+ "content": "Graph View"
2627
+ }
2311
2628
  ]
2312
2629
  }
2313
2630
  ]
2314
- }
2315
- ]
2316
- },
2317
- {
2318
- "type": "card",
2319
- "children": [
2631
+ },
2320
2632
  {
2321
- "type": "stack",
2322
- "direction": "vertical",
2323
- "gap": "sm",
2324
- "children": [
2633
+ "type": "line-chart",
2634
+ "data": [
2325
2635
  {
2326
- "type": "typography",
2327
- "variant": "caption",
2328
- "content": "Avatar"
2636
+ "date": "Jan",
2637
+ "value": 12
2329
2638
  },
2330
2639
  {
2331
- "type": "typography",
2332
- "variant": "h3",
2333
- "content": [
2334
- "object/get",
2335
- [
2336
- "array/first",
2337
- "@entity"
2338
- ],
2339
- "avatar"
2340
- ]
2640
+ "date": "Feb",
2641
+ "value": 19
2642
+ },
2643
+ {
2644
+ "date": "Mar",
2645
+ "value": 15
2646
+ },
2647
+ {
2648
+ "date": "Apr",
2649
+ "value": 25
2650
+ },
2651
+ {
2652
+ "date": "May",
2653
+ "value": 22
2654
+ },
2655
+ {
2656
+ "date": "Jun",
2657
+ "value": 30
2658
+ }
2659
+ ],
2660
+ "xKey": "date",
2661
+ "yKey": "value",
2662
+ "title": "Trend"
2663
+ },
2664
+ {
2665
+ "type": "chart-legend",
2666
+ "items": [
2667
+ {
2668
+ "label": "Current",
2669
+ "color": "primary"
2670
+ },
2671
+ {
2672
+ "label": "Previous",
2673
+ "color": "muted"
2341
2674
  }
2342
2675
  ]
2676
+ },
2677
+ {
2678
+ "type": "graph-view",
2679
+ "nodes": [
2680
+ {
2681
+ "id": "a",
2682
+ "label": "Start",
2683
+ "x": 50,
2684
+ "y": 100
2685
+ },
2686
+ {
2687
+ "id": "b",
2688
+ "label": "Process",
2689
+ "x": 200,
2690
+ "y": 50
2691
+ },
2692
+ {
2693
+ "id": "c",
2694
+ "label": "End",
2695
+ "x": 350,
2696
+ "y": 100
2697
+ }
2698
+ ],
2699
+ "edges": [
2700
+ {
2701
+ "from": "a",
2702
+ "to": "b"
2703
+ },
2704
+ {
2705
+ "from": "b",
2706
+ "to": "c"
2707
+ }
2708
+ ],
2709
+ "width": 400,
2710
+ "height": 200
2343
2711
  }
2344
2712
  ]
2345
2713
  }
@@ -2363,162 +2731,318 @@
2363
2731
  "render-ui",
2364
2732
  "main",
2365
2733
  {
2366
- "type": "stack",
2367
- "direction": "vertical",
2368
- "gap": "lg",
2369
- "children": [
2734
+ "type": "dashboard-layout",
2735
+ "appName": "Realtime Chat",
2736
+ "navItems": [
2370
2737
  {
2371
- "type": "stack",
2372
- "direction": "horizontal",
2373
- "gap": "md",
2374
- "justify": "space-between",
2375
- "children": [
2376
- {
2377
- "type": "stack",
2378
- "direction": "horizontal",
2379
- "gap": "md",
2380
- "children": [
2381
- {
2382
- "type": "icon",
2383
- "name": "users",
2384
- "size": "lg"
2385
- },
2386
- {
2387
- "type": "typography",
2388
- "content": "Online Users",
2389
- "variant": "h2"
2390
- }
2391
- ]
2392
- },
2393
- {
2394
- "type": "button",
2395
- "label": "Refresh",
2396
- "event": "REFRESH",
2397
- "variant": "secondary",
2398
- "icon": "refresh-cw"
2399
- }
2400
- ]
2738
+ "label": "Chat",
2739
+ "href": "/chat",
2740
+ "icon": "layout-list"
2401
2741
  },
2402
2742
  {
2403
- "type": "divider"
2743
+ "label": "Channels",
2744
+ "href": "/channels",
2745
+ "icon": "hash"
2404
2746
  },
2405
2747
  {
2406
- "type": "simple-grid",
2407
- "columns": 3,
2748
+ "label": "Online",
2749
+ "href": "/online",
2750
+ "icon": "layout-list"
2751
+ }
2752
+ ],
2753
+ "children": [
2754
+ {
2755
+ "type": "scaled-diagram",
2408
2756
  "children": [
2409
2757
  {
2410
- "type": "card",
2758
+ "type": "stack",
2759
+ "direction": "vertical",
2760
+ "gap": "lg",
2411
2761
  "children": [
2412
2762
  {
2413
- "type": "stack",
2414
- "direction": "vertical",
2415
- "gap": "sm",
2416
- "children": [
2763
+ "type": "breadcrumb",
2764
+ "items": [
2417
2765
  {
2418
- "type": "typography",
2419
- "variant": "caption",
2420
- "content": "Username"
2766
+ "label": "Home",
2767
+ "href": "/"
2421
2768
  },
2422
2769
  {
2423
- "type": "typography",
2424
- "variant": "h3",
2425
- "content": [
2426
- "object/get",
2427
- [
2428
- "array/first",
2429
- "@entity"
2430
- ],
2431
- "username"
2432
- ]
2770
+ "label": "Online Users"
2433
2771
  }
2434
2772
  ]
2435
- }
2436
- ]
2437
- },
2438
- {
2439
- "type": "card",
2440
- "children": [
2773
+ },
2441
2774
  {
2442
2775
  "type": "stack",
2443
- "direction": "vertical",
2444
- "gap": "sm",
2776
+ "direction": "horizontal",
2777
+ "gap": "md",
2778
+ "justify": "space-between",
2445
2779
  "children": [
2446
2780
  {
2447
- "type": "typography",
2448
- "variant": "caption",
2449
- "content": "Status"
2781
+ "type": "stack",
2782
+ "direction": "horizontal",
2783
+ "gap": "md",
2784
+ "children": [
2785
+ {
2786
+ "type": "icon",
2787
+ "name": "users",
2788
+ "size": "lg"
2789
+ },
2790
+ {
2791
+ "type": "typography",
2792
+ "content": "Online Users",
2793
+ "variant": "h2"
2794
+ }
2795
+ ]
2450
2796
  },
2451
2797
  {
2452
- "type": "typography",
2453
- "variant": "h3",
2454
- "content": [
2455
- "object/get",
2456
- [
2457
- "array/first",
2458
- "@entity"
2459
- ],
2460
- "status"
2461
- ]
2798
+ "type": "button",
2799
+ "label": "Refresh",
2800
+ "event": "REFRESH",
2801
+ "variant": "secondary",
2802
+ "icon": "refresh-cw"
2462
2803
  }
2463
2804
  ]
2464
- }
2465
- ]
2466
- },
2467
- {
2468
- "type": "card",
2469
- "children": [
2805
+ },
2470
2806
  {
2471
- "type": "stack",
2472
- "direction": "vertical",
2473
- "gap": "sm",
2807
+ "type": "divider"
2808
+ },
2809
+ {
2810
+ "type": "box",
2811
+ "padding": "md",
2474
2812
  "children": [
2475
2813
  {
2476
- "type": "typography",
2477
- "variant": "caption",
2478
- "content": "LastActive"
2479
- },
2480
- {
2481
- "type": "typography",
2482
- "variant": "h3",
2483
- "content": [
2484
- "object/get",
2485
- [
2486
- "array/first",
2487
- "@entity"
2488
- ],
2489
- "lastActive"
2490
- ]
2491
- }
2492
- ]
2493
- }
2494
- ]
2495
- },
2496
- {
2497
- "type": "card",
2498
- "children": [
2814
+ "type": "simple-grid",
2815
+ "columns": 3,
2816
+ "children": [
2817
+ {
2818
+ "type": "card",
2819
+ "children": [
2820
+ {
2821
+ "type": "stack",
2822
+ "direction": "vertical",
2823
+ "gap": "sm",
2824
+ "children": [
2825
+ {
2826
+ "type": "typography",
2827
+ "variant": "caption",
2828
+ "content": "Username"
2829
+ },
2830
+ {
2831
+ "type": "typography",
2832
+ "variant": "h3",
2833
+ "content": [
2834
+ "object/get",
2835
+ [
2836
+ "array/first",
2837
+ "@entity"
2838
+ ],
2839
+ "username"
2840
+ ]
2841
+ }
2842
+ ]
2843
+ }
2844
+ ]
2845
+ },
2846
+ {
2847
+ "type": "card",
2848
+ "children": [
2849
+ {
2850
+ "type": "stack",
2851
+ "direction": "vertical",
2852
+ "gap": "sm",
2853
+ "children": [
2854
+ {
2855
+ "type": "typography",
2856
+ "variant": "caption",
2857
+ "content": "Status"
2858
+ },
2859
+ {
2860
+ "type": "typography",
2861
+ "variant": "h3",
2862
+ "content": [
2863
+ "object/get",
2864
+ [
2865
+ "array/first",
2866
+ "@entity"
2867
+ ],
2868
+ "status"
2869
+ ]
2870
+ }
2871
+ ]
2872
+ }
2873
+ ]
2874
+ },
2875
+ {
2876
+ "type": "card",
2877
+ "children": [
2878
+ {
2879
+ "type": "stack",
2880
+ "direction": "vertical",
2881
+ "gap": "sm",
2882
+ "children": [
2883
+ {
2884
+ "type": "typography",
2885
+ "variant": "caption",
2886
+ "content": "LastActive"
2887
+ },
2888
+ {
2889
+ "type": "typography",
2890
+ "variant": "h3",
2891
+ "content": [
2892
+ "object/get",
2893
+ [
2894
+ "array/first",
2895
+ "@entity"
2896
+ ],
2897
+ "lastActive"
2898
+ ]
2899
+ }
2900
+ ]
2901
+ }
2902
+ ]
2903
+ },
2904
+ {
2905
+ "type": "card",
2906
+ "children": [
2907
+ {
2908
+ "type": "stack",
2909
+ "direction": "vertical",
2910
+ "gap": "sm",
2911
+ "children": [
2912
+ {
2913
+ "type": "typography",
2914
+ "variant": "caption",
2915
+ "content": "Avatar"
2916
+ },
2917
+ {
2918
+ "type": "typography",
2919
+ "variant": "h3",
2920
+ "content": [
2921
+ "object/get",
2922
+ [
2923
+ "array/first",
2924
+ "@entity"
2925
+ ],
2926
+ "avatar"
2927
+ ]
2928
+ }
2929
+ ]
2930
+ }
2931
+ ]
2932
+ }
2933
+ ]
2934
+ }
2935
+ ]
2936
+ },
2499
2937
  {
2500
- "type": "stack",
2501
- "direction": "vertical",
2502
- "gap": "sm",
2938
+ "type": "divider"
2939
+ },
2940
+ {
2941
+ "type": "grid",
2942
+ "columns": 2,
2943
+ "gap": "md",
2503
2944
  "children": [
2504
2945
  {
2505
- "type": "typography",
2506
- "variant": "caption",
2507
- "content": "Avatar"
2946
+ "type": "card",
2947
+ "children": [
2948
+ {
2949
+ "type": "typography",
2950
+ "variant": "caption",
2951
+ "content": "Chart View"
2952
+ }
2953
+ ]
2508
2954
  },
2509
2955
  {
2510
- "type": "typography",
2511
- "variant": "h3",
2512
- "content": [
2513
- "object/get",
2514
- [
2515
- "array/first",
2516
- "@entity"
2517
- ],
2518
- "avatar"
2956
+ "type": "card",
2957
+ "children": [
2958
+ {
2959
+ "type": "typography",
2960
+ "variant": "caption",
2961
+ "content": "Graph View"
2962
+ }
2519
2963
  ]
2520
2964
  }
2521
2965
  ]
2966
+ },
2967
+ {
2968
+ "type": "line-chart",
2969
+ "data": [
2970
+ {
2971
+ "date": "Jan",
2972
+ "value": 12
2973
+ },
2974
+ {
2975
+ "date": "Feb",
2976
+ "value": 19
2977
+ },
2978
+ {
2979
+ "date": "Mar",
2980
+ "value": 15
2981
+ },
2982
+ {
2983
+ "date": "Apr",
2984
+ "value": 25
2985
+ },
2986
+ {
2987
+ "date": "May",
2988
+ "value": 22
2989
+ },
2990
+ {
2991
+ "date": "Jun",
2992
+ "value": 30
2993
+ }
2994
+ ],
2995
+ "xKey": "date",
2996
+ "yKey": "value",
2997
+ "title": "Trend"
2998
+ },
2999
+ {
3000
+ "type": "chart-legend",
3001
+ "items": [
3002
+ {
3003
+ "label": "Current",
3004
+ "color": "primary"
3005
+ },
3006
+ {
3007
+ "label": "Previous",
3008
+ "color": "muted"
3009
+ }
3010
+ ]
3011
+ },
3012
+ {
3013
+ "type": "graph-view",
3014
+ "nodes": [
3015
+ {
3016
+ "id": "a",
3017
+ "label": "Start",
3018
+ "x": 50,
3019
+ "y": 100
3020
+ },
3021
+ {
3022
+ "id": "b",
3023
+ "label": "Process",
3024
+ "x": 200,
3025
+ "y": 50
3026
+ },
3027
+ {
3028
+ "id": "c",
3029
+ "label": "End",
3030
+ "x": 350,
3031
+ "y": 100
3032
+ }
3033
+ ],
3034
+ "edges": [
3035
+ {
3036
+ "from": "a",
3037
+ "to": "b"
3038
+ },
3039
+ {
3040
+ "from": "b",
3041
+ "to": "c"
3042
+ }
3043
+ ],
3044
+ "width": 400,
3045
+ "height": 200
2522
3046
  }
2523
3047
  ]
2524
3048
  }
@@ -2542,162 +3066,318 @@
2542
3066
  "render-ui",
2543
3067
  "main",
2544
3068
  {
2545
- "type": "stack",
2546
- "direction": "vertical",
2547
- "gap": "lg",
2548
- "children": [
3069
+ "type": "dashboard-layout",
3070
+ "appName": "Realtime Chat",
3071
+ "navItems": [
2549
3072
  {
2550
- "type": "stack",
2551
- "direction": "horizontal",
2552
- "gap": "md",
2553
- "justify": "space-between",
2554
- "children": [
2555
- {
2556
- "type": "stack",
2557
- "direction": "horizontal",
2558
- "gap": "md",
2559
- "children": [
2560
- {
2561
- "type": "icon",
2562
- "name": "users",
2563
- "size": "lg"
2564
- },
2565
- {
2566
- "type": "typography",
2567
- "content": "Online Users",
2568
- "variant": "h2"
2569
- }
2570
- ]
2571
- },
2572
- {
2573
- "type": "button",
2574
- "label": "Refresh",
2575
- "event": "REFRESH",
2576
- "variant": "secondary",
2577
- "icon": "refresh-cw"
2578
- }
2579
- ]
3073
+ "label": "Chat",
3074
+ "href": "/chat",
3075
+ "icon": "layout-list"
2580
3076
  },
2581
3077
  {
2582
- "type": "divider"
3078
+ "label": "Channels",
3079
+ "href": "/channels",
3080
+ "icon": "hash"
2583
3081
  },
2584
3082
  {
2585
- "type": "simple-grid",
2586
- "columns": 3,
3083
+ "label": "Online",
3084
+ "href": "/online",
3085
+ "icon": "layout-list"
3086
+ }
3087
+ ],
3088
+ "children": [
3089
+ {
3090
+ "type": "scaled-diagram",
2587
3091
  "children": [
2588
3092
  {
2589
- "type": "card",
3093
+ "type": "stack",
3094
+ "direction": "vertical",
3095
+ "gap": "lg",
2590
3096
  "children": [
2591
3097
  {
2592
- "type": "stack",
2593
- "direction": "vertical",
2594
- "gap": "sm",
2595
- "children": [
3098
+ "type": "breadcrumb",
3099
+ "items": [
2596
3100
  {
2597
- "type": "typography",
2598
- "variant": "caption",
2599
- "content": "Username"
3101
+ "label": "Home",
3102
+ "href": "/"
2600
3103
  },
2601
3104
  {
2602
- "type": "typography",
2603
- "variant": "h3",
2604
- "content": [
2605
- "object/get",
2606
- [
2607
- "array/first",
2608
- "@entity"
2609
- ],
2610
- "username"
2611
- ]
3105
+ "label": "Online Users"
2612
3106
  }
2613
3107
  ]
2614
- }
2615
- ]
2616
- },
2617
- {
2618
- "type": "card",
2619
- "children": [
3108
+ },
2620
3109
  {
2621
3110
  "type": "stack",
2622
- "direction": "vertical",
2623
- "gap": "sm",
3111
+ "direction": "horizontal",
3112
+ "gap": "md",
3113
+ "justify": "space-between",
2624
3114
  "children": [
2625
3115
  {
2626
- "type": "typography",
2627
- "variant": "caption",
2628
- "content": "Status"
3116
+ "type": "stack",
3117
+ "direction": "horizontal",
3118
+ "gap": "md",
3119
+ "children": [
3120
+ {
3121
+ "type": "icon",
3122
+ "name": "users",
3123
+ "size": "lg"
3124
+ },
3125
+ {
3126
+ "type": "typography",
3127
+ "content": "Online Users",
3128
+ "variant": "h2"
3129
+ }
3130
+ ]
2629
3131
  },
2630
3132
  {
2631
- "type": "typography",
2632
- "variant": "h3",
2633
- "content": [
2634
- "object/get",
2635
- [
2636
- "array/first",
2637
- "@entity"
2638
- ],
2639
- "status"
3133
+ "type": "button",
3134
+ "label": "Refresh",
3135
+ "event": "REFRESH",
3136
+ "variant": "secondary",
3137
+ "icon": "refresh-cw"
3138
+ }
3139
+ ]
3140
+ },
3141
+ {
3142
+ "type": "divider"
3143
+ },
3144
+ {
3145
+ "type": "box",
3146
+ "padding": "md",
3147
+ "children": [
3148
+ {
3149
+ "type": "simple-grid",
3150
+ "columns": 3,
3151
+ "children": [
3152
+ {
3153
+ "type": "card",
3154
+ "children": [
3155
+ {
3156
+ "type": "stack",
3157
+ "direction": "vertical",
3158
+ "gap": "sm",
3159
+ "children": [
3160
+ {
3161
+ "type": "typography",
3162
+ "variant": "caption",
3163
+ "content": "Username"
3164
+ },
3165
+ {
3166
+ "type": "typography",
3167
+ "variant": "h3",
3168
+ "content": [
3169
+ "object/get",
3170
+ [
3171
+ "array/first",
3172
+ "@entity"
3173
+ ],
3174
+ "username"
3175
+ ]
3176
+ }
3177
+ ]
3178
+ }
3179
+ ]
3180
+ },
3181
+ {
3182
+ "type": "card",
3183
+ "children": [
3184
+ {
3185
+ "type": "stack",
3186
+ "direction": "vertical",
3187
+ "gap": "sm",
3188
+ "children": [
3189
+ {
3190
+ "type": "typography",
3191
+ "variant": "caption",
3192
+ "content": "Status"
3193
+ },
3194
+ {
3195
+ "type": "typography",
3196
+ "variant": "h3",
3197
+ "content": [
3198
+ "object/get",
3199
+ [
3200
+ "array/first",
3201
+ "@entity"
3202
+ ],
3203
+ "status"
3204
+ ]
3205
+ }
3206
+ ]
3207
+ }
3208
+ ]
3209
+ },
3210
+ {
3211
+ "type": "card",
3212
+ "children": [
3213
+ {
3214
+ "type": "stack",
3215
+ "direction": "vertical",
3216
+ "gap": "sm",
3217
+ "children": [
3218
+ {
3219
+ "type": "typography",
3220
+ "variant": "caption",
3221
+ "content": "LastActive"
3222
+ },
3223
+ {
3224
+ "type": "typography",
3225
+ "variant": "h3",
3226
+ "content": [
3227
+ "object/get",
3228
+ [
3229
+ "array/first",
3230
+ "@entity"
3231
+ ],
3232
+ "lastActive"
3233
+ ]
3234
+ }
3235
+ ]
3236
+ }
3237
+ ]
3238
+ },
3239
+ {
3240
+ "type": "card",
3241
+ "children": [
3242
+ {
3243
+ "type": "stack",
3244
+ "direction": "vertical",
3245
+ "gap": "sm",
3246
+ "children": [
3247
+ {
3248
+ "type": "typography",
3249
+ "variant": "caption",
3250
+ "content": "Avatar"
3251
+ },
3252
+ {
3253
+ "type": "typography",
3254
+ "variant": "h3",
3255
+ "content": [
3256
+ "object/get",
3257
+ [
3258
+ "array/first",
3259
+ "@entity"
3260
+ ],
3261
+ "avatar"
3262
+ ]
3263
+ }
3264
+ ]
3265
+ }
3266
+ ]
3267
+ }
2640
3268
  ]
2641
3269
  }
2642
3270
  ]
2643
- }
2644
- ]
2645
- },
2646
- {
2647
- "type": "card",
2648
- "children": [
3271
+ },
2649
3272
  {
2650
- "type": "stack",
2651
- "direction": "vertical",
2652
- "gap": "sm",
3273
+ "type": "divider"
3274
+ },
3275
+ {
3276
+ "type": "grid",
3277
+ "columns": 2,
3278
+ "gap": "md",
2653
3279
  "children": [
2654
3280
  {
2655
- "type": "typography",
2656
- "variant": "caption",
2657
- "content": "LastActive"
3281
+ "type": "card",
3282
+ "children": [
3283
+ {
3284
+ "type": "typography",
3285
+ "variant": "caption",
3286
+ "content": "Chart View"
3287
+ }
3288
+ ]
2658
3289
  },
2659
3290
  {
2660
- "type": "typography",
2661
- "variant": "h3",
2662
- "content": [
2663
- "object/get",
2664
- [
2665
- "array/first",
2666
- "@entity"
2667
- ],
2668
- "lastActive"
3291
+ "type": "card",
3292
+ "children": [
3293
+ {
3294
+ "type": "typography",
3295
+ "variant": "caption",
3296
+ "content": "Graph View"
3297
+ }
2669
3298
  ]
2670
3299
  }
2671
3300
  ]
2672
- }
2673
- ]
2674
- },
2675
- {
2676
- "type": "card",
2677
- "children": [
3301
+ },
2678
3302
  {
2679
- "type": "stack",
2680
- "direction": "vertical",
2681
- "gap": "sm",
2682
- "children": [
3303
+ "type": "line-chart",
3304
+ "data": [
2683
3305
  {
2684
- "type": "typography",
2685
- "variant": "caption",
2686
- "content": "Avatar"
3306
+ "date": "Jan",
3307
+ "value": 12
2687
3308
  },
2688
3309
  {
2689
- "type": "typography",
2690
- "variant": "h3",
2691
- "content": [
2692
- "object/get",
2693
- [
2694
- "array/first",
2695
- "@entity"
2696
- ],
2697
- "avatar"
2698
- ]
3310
+ "date": "Feb",
3311
+ "value": 19
3312
+ },
3313
+ {
3314
+ "date": "Mar",
3315
+ "value": 15
3316
+ },
3317
+ {
3318
+ "date": "Apr",
3319
+ "value": 25
3320
+ },
3321
+ {
3322
+ "date": "May",
3323
+ "value": 22
3324
+ },
3325
+ {
3326
+ "date": "Jun",
3327
+ "value": 30
3328
+ }
3329
+ ],
3330
+ "xKey": "date",
3331
+ "yKey": "value",
3332
+ "title": "Trend"
3333
+ },
3334
+ {
3335
+ "type": "chart-legend",
3336
+ "items": [
3337
+ {
3338
+ "label": "Current",
3339
+ "color": "primary"
3340
+ },
3341
+ {
3342
+ "label": "Previous",
3343
+ "color": "muted"
2699
3344
  }
2700
3345
  ]
3346
+ },
3347
+ {
3348
+ "type": "graph-view",
3349
+ "nodes": [
3350
+ {
3351
+ "id": "a",
3352
+ "label": "Start",
3353
+ "x": 50,
3354
+ "y": 100
3355
+ },
3356
+ {
3357
+ "id": "b",
3358
+ "label": "Process",
3359
+ "x": 200,
3360
+ "y": 50
3361
+ },
3362
+ {
3363
+ "id": "c",
3364
+ "label": "End",
3365
+ "x": 350,
3366
+ "y": 100
3367
+ }
3368
+ ],
3369
+ "edges": [
3370
+ {
3371
+ "from": "a",
3372
+ "to": "b"
3373
+ },
3374
+ {
3375
+ "from": "b",
3376
+ "to": "c"
3377
+ }
3378
+ ],
3379
+ "width": 400,
3380
+ "height": 200
2701
3381
  }
2702
3382
  ]
2703
3383
  }
@@ -2721,162 +3401,318 @@
2721
3401
  "render-ui",
2722
3402
  "main",
2723
3403
  {
2724
- "type": "stack",
2725
- "direction": "vertical",
2726
- "gap": "lg",
2727
- "children": [
3404
+ "type": "dashboard-layout",
3405
+ "appName": "Realtime Chat",
3406
+ "navItems": [
2728
3407
  {
2729
- "type": "stack",
2730
- "direction": "horizontal",
2731
- "gap": "md",
2732
- "justify": "space-between",
2733
- "children": [
2734
- {
2735
- "type": "stack",
2736
- "direction": "horizontal",
2737
- "gap": "md",
2738
- "children": [
2739
- {
2740
- "type": "icon",
2741
- "name": "users",
2742
- "size": "lg"
2743
- },
2744
- {
2745
- "type": "typography",
2746
- "content": "Online Users",
2747
- "variant": "h2"
2748
- }
2749
- ]
2750
- },
2751
- {
2752
- "type": "button",
2753
- "label": "Refresh",
2754
- "event": "REFRESH",
2755
- "variant": "secondary",
2756
- "icon": "refresh-cw"
2757
- }
2758
- ]
3408
+ "label": "Chat",
3409
+ "href": "/chat",
3410
+ "icon": "layout-list"
2759
3411
  },
2760
3412
  {
2761
- "type": "divider"
3413
+ "label": "Channels",
3414
+ "href": "/channels",
3415
+ "icon": "hash"
2762
3416
  },
2763
3417
  {
2764
- "type": "simple-grid",
2765
- "columns": 3,
3418
+ "label": "Online",
3419
+ "href": "/online",
3420
+ "icon": "layout-list"
3421
+ }
3422
+ ],
3423
+ "children": [
3424
+ {
3425
+ "type": "scaled-diagram",
2766
3426
  "children": [
2767
3427
  {
2768
- "type": "card",
3428
+ "type": "stack",
3429
+ "direction": "vertical",
3430
+ "gap": "lg",
2769
3431
  "children": [
2770
3432
  {
2771
- "type": "stack",
2772
- "direction": "vertical",
2773
- "gap": "sm",
2774
- "children": [
3433
+ "type": "breadcrumb",
3434
+ "items": [
2775
3435
  {
2776
- "type": "typography",
2777
- "variant": "caption",
2778
- "content": "Username"
3436
+ "label": "Home",
3437
+ "href": "/"
2779
3438
  },
2780
3439
  {
2781
- "type": "typography",
2782
- "variant": "h3",
2783
- "content": [
2784
- "object/get",
2785
- [
2786
- "array/first",
2787
- "@entity"
2788
- ],
2789
- "username"
2790
- ]
3440
+ "label": "Online Users"
2791
3441
  }
2792
3442
  ]
2793
- }
2794
- ]
2795
- },
2796
- {
2797
- "type": "card",
2798
- "children": [
3443
+ },
2799
3444
  {
2800
3445
  "type": "stack",
2801
- "direction": "vertical",
2802
- "gap": "sm",
3446
+ "direction": "horizontal",
3447
+ "gap": "md",
3448
+ "justify": "space-between",
2803
3449
  "children": [
2804
3450
  {
2805
- "type": "typography",
2806
- "variant": "caption",
2807
- "content": "Status"
3451
+ "type": "stack",
3452
+ "direction": "horizontal",
3453
+ "gap": "md",
3454
+ "children": [
3455
+ {
3456
+ "type": "icon",
3457
+ "name": "users",
3458
+ "size": "lg"
3459
+ },
3460
+ {
3461
+ "type": "typography",
3462
+ "content": "Online Users",
3463
+ "variant": "h2"
3464
+ }
3465
+ ]
2808
3466
  },
2809
3467
  {
2810
- "type": "typography",
2811
- "variant": "h3",
2812
- "content": [
2813
- "object/get",
2814
- [
2815
- "array/first",
2816
- "@entity"
2817
- ],
2818
- "status"
3468
+ "type": "button",
3469
+ "label": "Refresh",
3470
+ "event": "REFRESH",
3471
+ "variant": "secondary",
3472
+ "icon": "refresh-cw"
3473
+ }
3474
+ ]
3475
+ },
3476
+ {
3477
+ "type": "divider"
3478
+ },
3479
+ {
3480
+ "type": "box",
3481
+ "padding": "md",
3482
+ "children": [
3483
+ {
3484
+ "type": "simple-grid",
3485
+ "columns": 3,
3486
+ "children": [
3487
+ {
3488
+ "type": "card",
3489
+ "children": [
3490
+ {
3491
+ "type": "stack",
3492
+ "direction": "vertical",
3493
+ "gap": "sm",
3494
+ "children": [
3495
+ {
3496
+ "type": "typography",
3497
+ "variant": "caption",
3498
+ "content": "Username"
3499
+ },
3500
+ {
3501
+ "type": "typography",
3502
+ "variant": "h3",
3503
+ "content": [
3504
+ "object/get",
3505
+ [
3506
+ "array/first",
3507
+ "@entity"
3508
+ ],
3509
+ "username"
3510
+ ]
3511
+ }
3512
+ ]
3513
+ }
3514
+ ]
3515
+ },
3516
+ {
3517
+ "type": "card",
3518
+ "children": [
3519
+ {
3520
+ "type": "stack",
3521
+ "direction": "vertical",
3522
+ "gap": "sm",
3523
+ "children": [
3524
+ {
3525
+ "type": "typography",
3526
+ "variant": "caption",
3527
+ "content": "Status"
3528
+ },
3529
+ {
3530
+ "type": "typography",
3531
+ "variant": "h3",
3532
+ "content": [
3533
+ "object/get",
3534
+ [
3535
+ "array/first",
3536
+ "@entity"
3537
+ ],
3538
+ "status"
3539
+ ]
3540
+ }
3541
+ ]
3542
+ }
3543
+ ]
3544
+ },
3545
+ {
3546
+ "type": "card",
3547
+ "children": [
3548
+ {
3549
+ "type": "stack",
3550
+ "direction": "vertical",
3551
+ "gap": "sm",
3552
+ "children": [
3553
+ {
3554
+ "type": "typography",
3555
+ "variant": "caption",
3556
+ "content": "LastActive"
3557
+ },
3558
+ {
3559
+ "type": "typography",
3560
+ "variant": "h3",
3561
+ "content": [
3562
+ "object/get",
3563
+ [
3564
+ "array/first",
3565
+ "@entity"
3566
+ ],
3567
+ "lastActive"
3568
+ ]
3569
+ }
3570
+ ]
3571
+ }
3572
+ ]
3573
+ },
3574
+ {
3575
+ "type": "card",
3576
+ "children": [
3577
+ {
3578
+ "type": "stack",
3579
+ "direction": "vertical",
3580
+ "gap": "sm",
3581
+ "children": [
3582
+ {
3583
+ "type": "typography",
3584
+ "variant": "caption",
3585
+ "content": "Avatar"
3586
+ },
3587
+ {
3588
+ "type": "typography",
3589
+ "variant": "h3",
3590
+ "content": [
3591
+ "object/get",
3592
+ [
3593
+ "array/first",
3594
+ "@entity"
3595
+ ],
3596
+ "avatar"
3597
+ ]
3598
+ }
3599
+ ]
3600
+ }
3601
+ ]
3602
+ }
2819
3603
  ]
2820
3604
  }
2821
3605
  ]
2822
- }
2823
- ]
2824
- },
2825
- {
2826
- "type": "card",
2827
- "children": [
3606
+ },
2828
3607
  {
2829
- "type": "stack",
2830
- "direction": "vertical",
2831
- "gap": "sm",
3608
+ "type": "divider"
3609
+ },
3610
+ {
3611
+ "type": "grid",
3612
+ "columns": 2,
3613
+ "gap": "md",
2832
3614
  "children": [
2833
3615
  {
2834
- "type": "typography",
2835
- "variant": "caption",
2836
- "content": "LastActive"
3616
+ "type": "card",
3617
+ "children": [
3618
+ {
3619
+ "type": "typography",
3620
+ "variant": "caption",
3621
+ "content": "Chart View"
3622
+ }
3623
+ ]
2837
3624
  },
2838
3625
  {
2839
- "type": "typography",
2840
- "variant": "h3",
2841
- "content": [
2842
- "object/get",
2843
- [
2844
- "array/first",
2845
- "@entity"
2846
- ],
2847
- "lastActive"
3626
+ "type": "card",
3627
+ "children": [
3628
+ {
3629
+ "type": "typography",
3630
+ "variant": "caption",
3631
+ "content": "Graph View"
3632
+ }
2848
3633
  ]
2849
3634
  }
2850
3635
  ]
2851
- }
2852
- ]
2853
- },
2854
- {
2855
- "type": "card",
2856
- "children": [
3636
+ },
2857
3637
  {
2858
- "type": "stack",
2859
- "direction": "vertical",
2860
- "gap": "sm",
2861
- "children": [
3638
+ "type": "line-chart",
3639
+ "data": [
2862
3640
  {
2863
- "type": "typography",
2864
- "variant": "caption",
2865
- "content": "Avatar"
3641
+ "date": "Jan",
3642
+ "value": 12
2866
3643
  },
2867
3644
  {
2868
- "type": "typography",
2869
- "variant": "h3",
2870
- "content": [
2871
- "object/get",
2872
- [
2873
- "array/first",
2874
- "@entity"
2875
- ],
2876
- "avatar"
2877
- ]
3645
+ "date": "Feb",
3646
+ "value": 19
3647
+ },
3648
+ {
3649
+ "date": "Mar",
3650
+ "value": 15
3651
+ },
3652
+ {
3653
+ "date": "Apr",
3654
+ "value": 25
3655
+ },
3656
+ {
3657
+ "date": "May",
3658
+ "value": 22
3659
+ },
3660
+ {
3661
+ "date": "Jun",
3662
+ "value": 30
3663
+ }
3664
+ ],
3665
+ "xKey": "date",
3666
+ "yKey": "value",
3667
+ "title": "Trend"
3668
+ },
3669
+ {
3670
+ "type": "chart-legend",
3671
+ "items": [
3672
+ {
3673
+ "label": "Current",
3674
+ "color": "primary"
3675
+ },
3676
+ {
3677
+ "label": "Previous",
3678
+ "color": "muted"
2878
3679
  }
2879
3680
  ]
3681
+ },
3682
+ {
3683
+ "type": "graph-view",
3684
+ "nodes": [
3685
+ {
3686
+ "id": "a",
3687
+ "label": "Start",
3688
+ "x": 50,
3689
+ "y": 100
3690
+ },
3691
+ {
3692
+ "id": "b",
3693
+ "label": "Process",
3694
+ "x": 200,
3695
+ "y": 50
3696
+ },
3697
+ {
3698
+ "id": "c",
3699
+ "label": "End",
3700
+ "x": 350,
3701
+ "y": 100
3702
+ }
3703
+ ],
3704
+ "edges": [
3705
+ {
3706
+ "from": "a",
3707
+ "to": "b"
3708
+ },
3709
+ {
3710
+ "from": "b",
3711
+ "to": "c"
3712
+ }
3713
+ ],
3714
+ "width": 400,
3715
+ "height": 200
2880
3716
  }
2881
3717
  ]
2882
3718
  }