@almadar/std 6.5.2 → 7.2.0

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 (307) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  4. package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  7. package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  8. package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  9. package/behaviors/registry/atoms/std-agent-search.orb +217 -61
  10. package/behaviors/registry/atoms/std-agent-session.orb +406 -159
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  14. package/behaviors/registry/atoms/std-async.orb +147 -86
  15. package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  16. package/behaviors/registry/atoms/std-browse.orb +260 -126
  17. package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  18. package/behaviors/registry/atoms/std-calendar.orb +280 -215
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  20. package/behaviors/registry/atoms/std-collision.orb +136 -135
  21. package/behaviors/registry/atoms/std-combat-log.orb +108 -90
  22. package/behaviors/registry/atoms/std-combat.orb +171 -98
  23. package/behaviors/registry/atoms/std-confirmation.orb +28 -300
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  25. package/behaviors/registry/atoms/std-display.orb +491 -587
  26. package/behaviors/registry/atoms/std-drawer.orb +194 -121
  27. package/behaviors/registry/atoms/std-filter.orb +311 -326
  28. package/behaviors/registry/atoms/std-flip-card.orb +223 -177
  29. package/behaviors/registry/atoms/std-gallery.orb +130 -151
  30. package/behaviors/registry/atoms/std-game-audio.orb +133 -72
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  33. package/behaviors/registry/atoms/std-game-hud.orb +87 -20
  34. package/behaviors/registry/atoms/std-game-menu.orb +32 -32
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  36. package/behaviors/registry/atoms/std-gameflow.orb +147 -80
  37. package/behaviors/registry/atoms/std-input.orb +128 -393
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  40. package/behaviors/registry/atoms/std-loading.orb +127 -126
  41. package/behaviors/registry/atoms/std-modal.orb +30 -267
  42. package/behaviors/registry/atoms/std-movement.orb +391 -292
  43. package/behaviors/registry/atoms/std-notification.orb +133 -75
  44. package/behaviors/registry/atoms/std-overworld.orb +194 -121
  45. package/behaviors/registry/atoms/std-pagination.orb +120 -53
  46. package/behaviors/registry/atoms/std-physics2d.orb +94 -93
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  48. package/behaviors/registry/atoms/std-push.orb +172 -36
  49. package/behaviors/registry/atoms/std-quest.orb +552 -449
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  51. package/behaviors/registry/atoms/std-rating.orb +123 -65
  52. package/behaviors/registry/atoms/std-related.orb +202 -26
  53. package/behaviors/registry/atoms/std-score-board.orb +109 -28
  54. package/behaviors/registry/atoms/std-score.orb +210 -146
  55. package/behaviors/registry/atoms/std-search.orb +265 -138
  56. package/behaviors/registry/atoms/std-selection.orb +311 -220
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  61. package/behaviors/registry/atoms/std-service-email.orb +195 -107
  62. package/behaviors/registry/atoms/std-service-github.orb +216 -122
  63. package/behaviors/registry/atoms/std-service-llm.orb +204 -122
  64. package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  65. package/behaviors/registry/atoms/std-service-redis.orb +177 -92
  66. package/behaviors/registry/atoms/std-service-storage.orb +211 -122
  67. package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  68. package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  69. package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  71. package/behaviors/registry/atoms/std-sort.orb +284 -207
  72. package/behaviors/registry/atoms/std-sprite.orb +150 -74
  73. package/behaviors/registry/atoms/std-tabs.orb +129 -62
  74. package/behaviors/registry/atoms/std-text-effects.orb +251 -190
  75. package/behaviors/registry/atoms/std-theme.orb +193 -135
  76. package/behaviors/registry/atoms/std-timer.orb +320 -344
  77. package/behaviors/registry/atoms/std-undo.orb +278 -199
  78. package/behaviors/registry/atoms/std-upload.orb +112 -111
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  80. package/behaviors/registry/atoms/std-wizard.orb +445 -336
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  82. package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  83. package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  84. package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  87. package/behaviors/registry/molecules/std-builder-game.orb +86 -28
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  89. package/behaviors/registry/molecules/std-cart.orb +347 -406
  90. package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  92. package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  93. package/behaviors/registry/molecules/std-detail.orb +133 -138
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  97. package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  99. package/behaviors/registry/molecules/std-geospatial.orb +175 -122
  100. package/behaviors/registry/molecules/std-inventory.orb +216 -170
  101. package/behaviors/registry/molecules/std-list.orb +280 -205
  102. package/behaviors/registry/molecules/std-messaging.orb +146 -99
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  104. package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  107. package/behaviors/registry/molecules/std-quiz.orb +322 -263
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  115. package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  117. package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  118. package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  119. package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  120. package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  121. package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  122. package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  123. package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  124. package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  125. package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  126. package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  127. package/behaviors/registry/organisms/std-cms.orb +1549 -566
  128. package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  129. package/behaviors/registry/organisms/std-crm.orb +1997 -1014
  130. package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  131. package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  132. package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  133. package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  134. package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  135. package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  136. package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  137. package/behaviors/registry/organisms/std-lms.orb +1629 -1046
  138. package/behaviors/registry/organisms/std-logic-training.orb +321 -134
  139. package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  140. package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  141. package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  142. package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  143. package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  144. package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  145. package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  146. package/behaviors/registry/organisms/std-social-feed.orb +612 -252
  147. package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  148. package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  149. package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  150. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  151. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  152. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  153. package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  154. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  155. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  156. package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  157. package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  158. package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
  159. package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
  160. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  161. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  162. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  163. package/dist/behaviors/registry/atoms/std-async.orb +147 -86
  164. package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  165. package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
  166. package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  167. package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
  168. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  169. package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
  170. package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
  171. package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
  172. package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
  173. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  174. package/dist/behaviors/registry/atoms/std-display.orb +491 -587
  175. package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
  176. package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
  177. package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
  178. package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
  179. package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
  180. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  181. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  182. package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
  183. package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
  184. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  185. package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
  186. package/dist/behaviors/registry/atoms/std-input.orb +128 -393
  187. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  188. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  189. package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
  190. package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
  191. package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
  192. package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
  193. package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
  194. package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
  195. package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
  196. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  197. package/dist/behaviors/registry/atoms/std-push.orb +172 -36
  198. package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
  199. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  200. package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
  201. package/dist/behaviors/registry/atoms/std-related.orb +202 -26
  202. package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
  203. package/dist/behaviors/registry/atoms/std-score.orb +210 -146
  204. package/dist/behaviors/registry/atoms/std-search.orb +265 -138
  205. package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
  206. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  207. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  208. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  209. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  210. package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
  211. package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
  212. package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
  213. package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  214. package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
  215. package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
  216. package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  217. package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  218. package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  219. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  220. package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
  221. package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
  222. package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
  223. package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
  224. package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
  225. package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
  226. package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
  227. package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
  228. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  229. package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
  230. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  231. package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  232. package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  233. package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  234. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  235. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  236. package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
  237. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  238. package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
  239. package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  240. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  241. package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  242. package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  246. package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  247. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  248. package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
  249. package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
  250. package/dist/behaviors/registry/molecules/std-list.orb +280 -205
  251. package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
  252. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  253. package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  254. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  255. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  256. package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
  257. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  258. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  259. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  260. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  261. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  262. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  263. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  264. package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  265. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  266. package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  267. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  268. package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  269. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  270. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  271. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  272. package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  273. package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  274. package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  275. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  276. package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
  277. package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  278. package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
  279. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  280. package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  281. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  282. package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  283. package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  284. package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  285. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  286. package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
  287. package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
  288. package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  289. package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  290. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  291. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  292. package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  293. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  294. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  295. package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
  296. package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  297. package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  298. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  299. package/dist/index.js +16 -4
  300. package/dist/index.js.map +1 -1
  301. package/dist/modules/core.js +16 -4
  302. package/dist/modules/core.js.map +1 -1
  303. package/dist/modules/index.js +16 -4
  304. package/dist/modules/index.js.map +1 -1
  305. package/dist/registry.js +16 -4
  306. package/dist/registry.js.map +1 -1
  307. package/package.json +2 -2
@@ -40,8 +40,48 @@
40
40
  "traits": [
41
41
  {
42
42
  "name": "SelectableItemSelection",
43
- "linkedEntity": "SelectableItem",
44
43
  "category": "interaction",
44
+ "linkedEntity": "SelectableItem",
45
+ "emits": [
46
+ {
47
+ "event": "SelectableItemLoaded",
48
+ "description": "Fired when SelectableItem finishes loading",
49
+ "scope": "internal",
50
+ "payload": [
51
+ {
52
+ "name": "id",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "name": "name",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "description",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "status",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "createdAt",
69
+ "type": "string"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "event": "SelectableItemLoadFailed",
75
+ "description": "Fired when SelectableItem fails to load",
76
+ "scope": "internal",
77
+ "payload": [
78
+ {
79
+ "name": "message",
80
+ "type": "string"
81
+ }
82
+ ]
83
+ }
84
+ ],
45
85
  "stateMachine": {
46
86
  "states": [
47
87
  {
@@ -89,6 +129,20 @@
89
129
  "required": true
90
130
  }
91
131
  ]
132
+ },
133
+ {
134
+ "key": "SelectableItemLoaded",
135
+ "name": "SelectableItem loaded"
136
+ },
137
+ {
138
+ "key": "SelectableItemLoadFailed",
139
+ "name": "SelectableItem load failed",
140
+ "payload": [
141
+ {
142
+ "name": "message",
143
+ "type": "string"
144
+ }
145
+ ]
92
146
  }
93
147
  ],
94
148
  "transitions": [
@@ -99,7 +153,13 @@
99
153
  "effects": [
100
154
  [
101
155
  "fetch",
102
- "SelectableItem"
156
+ "SelectableItem",
157
+ {
158
+ "emit": {
159
+ "success": "SelectableItemLoaded",
160
+ "failure": "SelectableItemLoadFailed"
161
+ }
162
+ }
103
163
  ],
104
164
  [
105
165
  "render-ui",
@@ -110,22 +170,22 @@
110
170
  "gap": "lg",
111
171
  "children": [
112
172
  {
113
- "type": "stack",
114
- "direction": "horizontal",
115
173
  "gap": "sm",
174
+ "direction": "horizontal",
116
175
  "align": "center",
117
176
  "children": [
118
177
  {
119
- "type": "icon",
178
+ "size": "lg",
120
179
  "name": "check-square",
121
- "size": "lg"
180
+ "type": "icon"
122
181
  },
123
182
  {
183
+ "variant": "h2",
124
184
  "type": "typography",
125
- "content": "SelectableItems",
126
- "variant": "h2"
185
+ "content": "SelectableItems"
127
186
  }
128
- ]
187
+ ],
188
+ "type": "stack"
129
189
  },
130
190
  {
131
191
  "type": "divider"
@@ -137,35 +197,35 @@
137
197
  "content": "Choose a selectableitem to continue."
138
198
  },
139
199
  {
140
- "type": "data-grid",
200
+ "emptyDescription": "Add selectableitems to see them here.",
141
201
  "entity": "SelectableItem",
142
- "emptyIcon": "inbox",
202
+ "type": "data-grid",
143
203
  "emptyTitle": "No selectableitems yet",
144
- "emptyDescription": "Add selectableitems to see them here.",
145
204
  "className": "transition-shadow hover:shadow-md cursor-pointer",
146
205
  "itemActions": [
147
206
  {
148
- "label": "Select",
149
207
  "event": "SELECT",
150
- "icon": "check"
208
+ "icon": "check",
209
+ "label": "Select"
151
210
  }
152
211
  ],
153
212
  "renderItem": [
154
213
  "fn",
155
214
  "item",
156
215
  {
157
- "type": "stack",
158
216
  "direction": "horizontal",
159
217
  "gap": "sm",
160
218
  "align": "center",
219
+ "type": "stack",
161
220
  "children": [
162
221
  {
163
- "type": "checkbox",
164
- "label": "@item.name"
222
+ "label": "@item.name",
223
+ "type": "checkbox"
165
224
  }
166
225
  ]
167
226
  }
168
- ]
227
+ ],
228
+ "emptyIcon": "inbox"
169
229
  }
170
230
  ]
171
231
  }
@@ -179,28 +239,26 @@
179
239
  "effects": [
180
240
  [
181
241
  "fetch",
182
- "SelectableItem"
242
+ "SelectableItem",
243
+ {
244
+ "emit": {
245
+ "failure": "SelectableItemLoadFailed",
246
+ "success": "SelectableItemLoaded"
247
+ }
248
+ }
183
249
  ],
184
250
  [
185
251
  "render-ui",
186
252
  "main",
187
253
  {
188
- "type": "stack",
189
- "direction": "vertical",
190
- "gap": "lg",
191
254
  "children": [
192
255
  {
193
- "type": "stack",
194
256
  "direction": "horizontal",
195
- "gap": "md",
196
- "justify": "space-between",
257
+ "type": "stack",
197
258
  "align": "center",
259
+ "gap": "md",
198
260
  "children": [
199
261
  {
200
- "type": "stack",
201
- "direction": "horizontal",
202
- "gap": "md",
203
- "align": "center",
204
262
  "children": [
205
263
  {
206
264
  "type": "icon",
@@ -208,70 +266,72 @@
208
266
  "size": "lg"
209
267
  },
210
268
  {
211
- "type": "typography",
212
269
  "content": "SelectableItems",
270
+ "type": "typography",
213
271
  "variant": "h2"
214
272
  }
215
- ]
273
+ ],
274
+ "direction": "horizontal",
275
+ "align": "center",
276
+ "type": "stack",
277
+ "gap": "md"
216
278
  },
217
279
  {
218
- "type": "stack",
219
- "direction": "horizontal",
220
280
  "gap": "sm",
281
+ "direction": "horizontal",
282
+ "type": "stack",
221
283
  "align": "center",
222
284
  "children": [
223
285
  {
224
- "type": "badge",
225
- "label": "Selecting"
286
+ "label": "Selecting",
287
+ "type": "badge"
226
288
  },
227
289
  {
228
290
  "type": "button",
229
- "label": "Clear",
230
291
  "event": "CLEAR",
292
+ "label": "Clear",
231
293
  "variant": "ghost",
232
294
  "icon": "x"
233
295
  }
234
296
  ]
235
297
  }
236
- ]
298
+ ],
299
+ "justify": "space-between"
237
300
  },
238
301
  {
239
302
  "type": "divider"
240
303
  },
241
304
  {
242
- "type": "alert",
243
305
  "variant": "info",
244
306
  "message": [
245
- "str/concat",
307
+ "concat",
246
308
  "Selected: ",
247
309
  "@payload.id"
248
- ]
310
+ ],
311
+ "type": "alert"
249
312
  },
250
313
  {
251
- "type": "data-grid",
252
- "entity": "SelectableItem",
253
- "emptyIcon": "inbox",
254
- "emptyTitle": "No selectableitems yet",
255
314
  "emptyDescription": "Add selectableitems to see them here.",
256
315
  "itemActions": [
257
316
  {
258
- "label": "Select",
259
317
  "event": "SELECT",
260
- "icon": "check"
318
+ "icon": "check",
319
+ "label": "Select"
261
320
  }
262
321
  ],
322
+ "emptyTitle": "No selectableitems yet",
263
323
  "renderItem": [
264
324
  "fn",
265
325
  "item",
266
326
  {
267
327
  "type": "stack",
268
- "direction": "horizontal",
269
- "gap": "sm",
270
328
  "align": "center",
329
+ "gap": "sm",
330
+ "direction": "horizontal",
271
331
  "children": [
272
332
  {
273
- "type": "checkbox",
274
333
  "label": "@item.name",
334
+ "type": "checkbox",
275
335
  "checked": [
276
336
  "==",
277
337
  "@item.id",
@@ -280,40 +340,46 @@
280
340
  }
281
341
  ]
282
342
  }
283
- ]
343
+ ],
344
+ "type": "data-grid",
345
+ "entity": "SelectableItem",
346
+ "emptyIcon": "inbox"
284
347
  },
285
348
  {
286
349
  "type": "divider"
287
350
  },
288
351
  {
289
- "type": "stack",
290
- "direction": "horizontal",
291
352
  "gap": "sm",
353
+ "direction": "horizontal",
292
354
  "children": [
293
355
  {
294
356
  "type": "button",
295
- "label": "Select All",
296
357
  "action": "SELECT",
297
358
  "icon": "check-square",
359
+ "label": "Select All",
298
360
  "variant": "secondary"
299
361
  },
300
362
  {
363
+ "variant": "secondary",
364
+ "icon": "square",
301
365
  "type": "button",
302
- "label": "Deselect All",
303
366
  "action": "DESELECT",
304
- "icon": "square",
305
- "variant": "secondary"
367
+ "label": "Deselect All"
306
368
  },
307
369
  {
308
- "type": "button",
309
- "label": "Confirm",
310
- "action": "CONFIRM_SELECTION",
311
370
  "icon": "check",
312
- "variant": "primary"
371
+ "action": "CONFIRM_SELECTION",
372
+ "label": "Confirm",
373
+ "variant": "primary",
374
+ "type": "button"
313
375
  }
314
- ]
376
+ ],
377
+ "type": "stack"
315
378
  }
316
- ]
379
+ ],
380
+ "type": "stack",
381
+ "direction": "vertical",
382
+ "gap": "lg"
317
383
  }
318
384
  ]
319
385
  ]
@@ -325,45 +391,49 @@
325
391
  "effects": [
326
392
  [
327
393
  "fetch",
328
- "SelectableItem"
394
+ "SelectableItem",
395
+ {
396
+ "emit": {
397
+ "failure": "SelectableItemLoadFailed",
398
+ "success": "SelectableItemLoaded"
399
+ }
400
+ }
329
401
  ],
330
402
  [
331
403
  "render-ui",
332
404
  "main",
333
405
  {
334
- "type": "stack",
335
- "direction": "vertical",
336
406
  "gap": "lg",
407
+ "type": "stack",
337
408
  "children": [
338
409
  {
339
410
  "type": "stack",
340
411
  "direction": "horizontal",
341
- "gap": "md",
342
412
  "justify": "space-between",
343
413
  "align": "center",
344
414
  "children": [
345
415
  {
346
- "type": "stack",
347
416
  "direction": "horizontal",
348
417
  "gap": "md",
349
- "align": "center",
350
418
  "children": [
351
419
  {
352
- "type": "icon",
353
420
  "name": "check-square",
421
+ "type": "icon",
354
422
  "size": "lg"
355
423
  },
356
424
  {
357
425
  "type": "typography",
358
- "content": "SelectableItems",
359
- "variant": "h2"
426
+ "variant": "h2",
427
+ "content": "SelectableItems"
360
428
  }
361
- ]
429
+ ],
430
+ "align": "center",
431
+ "type": "stack"
362
432
  },
363
433
  {
434
+ "gap": "sm",
364
435
  "type": "stack",
365
436
  "direction": "horizontal",
366
- "gap": "sm",
367
437
  "align": "center",
368
438
  "children": [
369
439
  {
@@ -371,95 +441,97 @@
371
441
  "label": "Selecting"
372
442
  },
373
443
  {
374
- "type": "button",
375
444
  "label": "Clear",
376
445
  "event": "CLEAR",
377
446
  "variant": "ghost",
447
+ "type": "button",
378
448
  "icon": "x"
379
449
  }
380
450
  ]
381
451
  }
382
- ]
452
+ ],
453
+ "gap": "md"
383
454
  },
384
455
  {
385
456
  "type": "divider"
386
457
  },
387
458
  {
388
- "type": "alert",
389
459
  "variant": "info",
460
+ "type": "alert",
390
461
  "message": [
391
- "str/concat",
462
+ "concat",
392
463
  "Selected: ",
393
464
  "@payload.id"
394
465
  ]
395
466
  },
396
467
  {
397
- "type": "data-grid",
398
468
  "entity": "SelectableItem",
399
- "emptyIcon": "inbox",
400
- "emptyTitle": "No selectableitems yet",
401
469
  "emptyDescription": "Add selectableitems to see them here.",
402
470
  "itemActions": [
403
471
  {
404
- "label": "Select",
405
472
  "event": "SELECT",
406
- "icon": "check"
473
+ "icon": "check",
474
+ "label": "Select"
407
475
  }
408
476
  ],
409
477
  "renderItem": [
410
478
  "fn",
411
479
  "item",
412
480
  {
413
- "type": "stack",
414
- "direction": "horizontal",
415
481
  "gap": "sm",
416
482
  "align": "center",
417
483
  "children": [
418
484
  {
419
- "type": "checkbox",
420
- "label": "@item.name",
421
485
  "checked": [
422
486
  "==",
423
487
  "@item.id",
424
488
  "@payload.id"
425
- ]
489
+ ],
490
+ "label": "@item.name",
491
+ "type": "checkbox"
426
492
  }
427
- ]
493
+ ],
494
+ "direction": "horizontal",
495
+ "type": "stack"
428
496
  }
429
- ]
497
+ ],
498
+ "emptyTitle": "No selectableitems yet",
499
+ "type": "data-grid",
500
+ "emptyIcon": "inbox"
430
501
  },
431
502
  {
432
503
  "type": "divider"
433
504
  },
434
505
  {
435
506
  "type": "stack",
436
- "direction": "horizontal",
437
507
  "gap": "sm",
508
+ "direction": "horizontal",
438
509
  "children": [
439
510
  {
440
- "type": "button",
441
- "label": "Select All",
442
- "action": "SELECT",
443
511
  "icon": "check-square",
444
- "variant": "secondary"
512
+ "action": "SELECT",
513
+ "type": "button",
514
+ "variant": "secondary",
515
+ "label": "Select All"
445
516
  },
446
517
  {
518
+ "variant": "secondary",
447
519
  "type": "button",
448
- "label": "Deselect All",
449
- "action": "DESELECT",
450
520
  "icon": "square",
451
- "variant": "secondary"
521
+ "action": "DESELECT",
522
+ "label": "Deselect All"
452
523
  },
453
524
  {
454
- "type": "button",
455
525
  "label": "Confirm",
456
- "action": "CONFIRM_SELECTION",
457
526
  "icon": "check",
458
- "variant": "primary"
527
+ "variant": "primary",
528
+ "type": "button",
529
+ "action": "CONFIRM_SELECTION"
459
530
  }
460
531
  ]
461
532
  }
462
- ]
533
+ ],
534
+ "direction": "vertical"
463
535
  }
464
536
  ]
465
537
  ]
@@ -471,65 +543,56 @@
471
543
  "effects": [
472
544
  [
473
545
  "fetch",
474
- "SelectableItem"
546
+ "SelectableItem",
547
+ {
548
+ "emit": {
549
+ "failure": "SelectableItemLoadFailed",
550
+ "success": "SelectableItemLoaded"
551
+ }
552
+ }
475
553
  ],
476
554
  [
477
555
  "render-ui",
478
556
  "main",
479
557
  {
480
- "type": "stack",
481
558
  "direction": "vertical",
482
- "gap": "lg",
483
559
  "children": [
484
560
  {
561
+ "align": "center",
485
562
  "type": "stack",
486
563
  "direction": "horizontal",
487
- "gap": "sm",
488
- "align": "center",
489
564
  "children": [
490
565
  {
491
566
  "type": "icon",
492
- "name": "check-square",
493
- "size": "lg"
567
+ "size": "lg",
568
+ "name": "check-square"
494
569
  },
495
570
  {
496
571
  "type": "typography",
497
- "content": "SelectableItems",
498
- "variant": "h2"
572
+ "variant": "h2",
573
+ "content": "SelectableItems"
499
574
  }
500
- ]
575
+ ],
576
+ "gap": "sm"
501
577
  },
502
578
  {
503
579
  "type": "divider"
504
580
  },
505
581
  {
506
- "type": "typography",
582
+ "content": "Choose a selectableitem to continue.",
507
583
  "variant": "caption",
508
- "color": "muted",
509
- "content": "Choose a selectableitem to continue."
584
+ "type": "typography",
585
+ "color": "muted"
510
586
  },
511
587
  {
512
- "type": "data-grid",
513
- "entity": "SelectableItem",
514
- "emptyIcon": "inbox",
515
- "emptyTitle": "No selectableitems yet",
516
- "emptyDescription": "Add selectableitems to see them here.",
517
- "className": "transition-shadow hover:shadow-md cursor-pointer",
518
- "itemActions": [
519
- {
520
- "label": "Select",
521
- "event": "SELECT",
522
- "icon": "check"
523
- }
524
- ],
525
588
  "renderItem": [
526
589
  "fn",
527
590
  "item",
528
591
  {
592
+ "align": "center",
593
+ "gap": "sm",
529
594
  "type": "stack",
530
595
  "direction": "horizontal",
531
- "gap": "sm",
532
- "align": "center",
533
596
  "children": [
534
597
  {
535
598
  "type": "checkbox",
@@ -537,9 +600,24 @@
537
600
  }
538
601
  ]
539
602
  }
603
+ ],
604
+ "entity": "SelectableItem",
605
+ "type": "data-grid",
606
+ "emptyTitle": "No selectableitems yet",
607
+ "emptyDescription": "Add selectableitems to see them here.",
608
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
609
+ "emptyIcon": "inbox",
610
+ "itemActions": [
611
+ {
612
+ "event": "SELECT",
613
+ "icon": "check",
614
+ "label": "Select"
615
+ }
540
616
  ]
541
617
  }
542
- ]
618
+ ],
619
+ "type": "stack",
620
+ "gap": "lg"
543
621
  }
544
622
  ]
545
623
  ]
@@ -551,21 +629,25 @@
551
629
  "effects": [
552
630
  [
553
631
  "fetch",
554
- "SelectableItem"
632
+ "SelectableItem",
633
+ {
634
+ "emit": {
635
+ "failure": "SelectableItemLoadFailed",
636
+ "success": "SelectableItemLoaded"
637
+ }
638
+ }
555
639
  ],
556
640
  [
557
641
  "render-ui",
558
642
  "main",
559
643
  {
644
+ "gap": "lg",
560
645
  "type": "stack",
561
646
  "direction": "vertical",
562
- "gap": "lg",
563
647
  "children": [
564
648
  {
565
- "type": "stack",
566
- "direction": "horizontal",
567
- "gap": "sm",
568
649
  "align": "center",
650
+ "gap": "sm",
569
651
  "children": [
570
652
  {
571
653
  "type": "icon",
@@ -573,51 +655,53 @@
573
655
  "size": "lg"
574
656
  },
575
657
  {
658
+ "variant": "h2",
576
659
  "type": "typography",
577
- "content": "SelectableItems",
578
- "variant": "h2"
660
+ "content": "SelectableItems"
579
661
  }
580
- ]
662
+ ],
663
+ "direction": "horizontal",
664
+ "type": "stack"
581
665
  },
582
666
  {
583
667
  "type": "divider"
584
668
  },
585
669
  {
586
- "type": "typography",
587
- "variant": "caption",
588
670
  "color": "muted",
589
- "content": "Choose a selectableitem to continue."
671
+ "variant": "caption",
672
+ "content": "Choose a selectableitem to continue.",
673
+ "type": "typography"
590
674
  },
591
675
  {
592
- "type": "data-grid",
593
- "entity": "SelectableItem",
594
- "emptyIcon": "inbox",
595
- "emptyTitle": "No selectableitems yet",
596
- "emptyDescription": "Add selectableitems to see them here.",
597
- "className": "transition-shadow hover:shadow-md cursor-pointer",
598
- "itemActions": [
599
- {
600
- "label": "Select",
601
- "event": "SELECT",
602
- "icon": "check"
603
- }
604
- ],
605
676
  "renderItem": [
606
677
  "fn",
607
678
  "item",
608
679
  {
609
- "type": "stack",
610
- "direction": "horizontal",
611
- "gap": "sm",
612
- "align": "center",
613
680
  "children": [
614
681
  {
615
- "type": "checkbox",
616
- "label": "@item.name"
682
+ "label": "@item.name",
683
+ "type": "checkbox"
617
684
  }
618
- ]
685
+ ],
686
+ "align": "center",
687
+ "direction": "horizontal",
688
+ "gap": "sm",
689
+ "type": "stack"
619
690
  }
620
- ]
691
+ ],
692
+ "emptyIcon": "inbox",
693
+ "itemActions": [
694
+ {
695
+ "icon": "check",
696
+ "label": "Select",
697
+ "event": "SELECT"
698
+ }
699
+ ],
700
+ "entity": "SelectableItem",
701
+ "emptyTitle": "No selectableitems yet",
702
+ "type": "data-grid",
703
+ "emptyDescription": "Add selectableitems to see them here.",
704
+ "className": "transition-shadow hover:shadow-md cursor-pointer"
621
705
  }
622
706
  ]
623
707
  }
@@ -633,75 +717,75 @@
633
717
  "render-ui",
634
718
  "main",
635
719
  {
636
- "type": "stack",
637
- "direction": "vertical",
638
720
  "gap": "lg",
639
721
  "children": [
640
722
  {
641
- "type": "stack",
642
- "direction": "horizontal",
643
723
  "gap": "md",
644
- "justify": "space-between",
645
- "align": "center",
646
724
  "children": [
647
725
  {
648
- "type": "stack",
649
- "direction": "horizontal",
650
- "gap": "md",
651
- "align": "center",
652
726
  "children": [
653
727
  {
654
- "type": "icon",
655
728
  "name": "check-circle",
729
+ "type": "icon",
656
730
  "size": "lg"
657
731
  },
658
732
  {
659
- "type": "typography",
660
733
  "content": "Selection Confirmed",
661
- "variant": "h2"
734
+ "variant": "h2",
735
+ "type": "typography"
662
736
  }
663
- ]
737
+ ],
738
+ "direction": "horizontal",
739
+ "gap": "md",
740
+ "align": "center",
741
+ "type": "stack"
664
742
  },
665
743
  {
666
- "type": "badge",
667
- "label": "Confirmed"
744
+ "label": "Confirmed",
745
+ "type": "badge"
668
746
  }
669
- ]
747
+ ],
748
+ "justify": "space-between",
749
+ "direction": "horizontal",
750
+ "align": "center",
751
+ "type": "stack"
670
752
  },
671
753
  {
672
754
  "type": "divider"
673
755
  },
674
756
  {
675
- "type": "alert",
676
757
  "variant": "success",
677
- "message": "Selection confirmed successfully."
758
+ "message": "Selection confirmed successfully.",
759
+ "type": "alert"
678
760
  },
679
761
  {
680
762
  "type": "stack",
681
- "direction": "horizontal",
682
763
  "gap": "md",
764
+ "direction": "horizontal",
683
765
  "align": "center",
684
766
  "children": [
685
767
  {
686
- "type": "typography",
687
768
  "variant": "caption",
769
+ "type": "typography",
688
770
  "content": "Selected ID:"
689
771
  },
690
772
  {
691
- "type": "typography",
692
773
  "variant": "body",
693
- "content": "@payload.id"
774
+ "content": "@payload.id",
775
+ "type": "typography"
694
776
  }
695
777
  ]
696
778
  },
697
779
  {
698
- "type": "button",
699
780
  "label": "Clear Selection",
781
+ "type": "button",
700
782
  "event": "CLEAR",
701
783
  "variant": "ghost",
702
784
  "icon": "rotate-ccw"
703
785
  }
704
- ]
786
+ ],
787
+ "direction": "vertical",
788
+ "type": "stack"
705
789
  }
706
790
  ]
707
791
  ]
@@ -713,31 +797,36 @@
713
797
  "effects": [
714
798
  [
715
799
  "fetch",
716
- "SelectableItem"
800
+ "SelectableItem",
801
+ {
802
+ "emit": {
803
+ "failure": "SelectableItemLoadFailed",
804
+ "success": "SelectableItemLoaded"
805
+ }
806
+ }
717
807
  ],
718
808
  [
719
809
  "render-ui",
720
810
  "main",
721
811
  {
722
812
  "type": "stack",
723
- "direction": "vertical",
724
813
  "gap": "lg",
725
814
  "children": [
726
815
  {
727
- "type": "stack",
728
816
  "direction": "horizontal",
729
- "gap": "sm",
730
817
  "align": "center",
818
+ "type": "stack",
819
+ "gap": "sm",
731
820
  "children": [
732
821
  {
733
- "type": "icon",
734
822
  "name": "check-square",
735
- "size": "lg"
823
+ "size": "lg",
824
+ "type": "icon"
736
825
  },
737
826
  {
827
+ "variant": "h2",
738
828
  "type": "typography",
739
- "content": "SelectableItems",
740
- "variant": "h2"
829
+ "content": "SelectableItems"
741
830
  }
742
831
  ]
743
832
  },
@@ -745,49 +834,51 @@
745
834
  "type": "divider"
746
835
  },
747
836
  {
748
- "type": "typography",
749
- "variant": "caption",
750
837
  "color": "muted",
751
- "content": "Choose a selectableitem to continue."
838
+ "type": "typography",
839
+ "content": "Choose a selectableitem to continue.",
840
+ "variant": "caption"
752
841
  },
753
842
  {
754
- "type": "data-grid",
755
- "entity": "SelectableItem",
756
- "emptyIcon": "inbox",
757
- "emptyTitle": "No selectableitems yet",
758
- "emptyDescription": "Add selectableitems to see them here.",
759
- "className": "transition-shadow hover:shadow-md cursor-pointer",
760
- "itemActions": [
761
- {
762
- "label": "Select",
763
- "event": "SELECT",
764
- "icon": "check"
765
- }
766
- ],
767
843
  "renderItem": [
768
844
  "fn",
769
845
  "item",
770
846
  {
771
- "type": "stack",
772
847
  "direction": "horizontal",
773
- "gap": "sm",
774
- "align": "center",
775
848
  "children": [
776
849
  {
777
- "type": "checkbox",
778
- "label": "@item.name"
850
+ "label": "@item.name",
851
+ "type": "checkbox"
779
852
  }
780
- ]
853
+ ],
854
+ "type": "stack",
855
+ "align": "center",
856
+ "gap": "sm"
857
+ }
858
+ ],
859
+ "emptyDescription": "Add selectableitems to see them here.",
860
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
861
+ "entity": "SelectableItem",
862
+ "emptyIcon": "inbox",
863
+ "type": "data-grid",
864
+ "emptyTitle": "No selectableitems yet",
865
+ "itemActions": [
866
+ {
867
+ "event": "SELECT",
868
+ "icon": "check",
869
+ "label": "Select"
781
870
  }
782
871
  ]
783
872
  }
784
- ]
873
+ ],
874
+ "direction": "vertical"
785
875
  }
786
876
  ]
787
877
  ]
788
878
  }
789
879
  ]
790
- }
880
+ },
881
+ "scope": "collection"
791
882
  }
792
883
  ],
793
884
  "pages": [
@@ -803,4 +894,4 @@
803
894
  ]
804
895
  }
805
896
  ]
806
- }
897
+ }