@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-wizard",
3
3
  "version": "1.0.0",
4
- "description": "Multi-step wizard behavior parameterized for any domain. Generates a dynamic number of steps based on the `steps` parameter, with a review screen and completion view. Pure function: params in, OrbitalDefinition out.",
4
+ "description": "std-wizard as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "WizardEntryOrbital",
@@ -40,8 +40,48 @@
40
40
  "traits": [
41
41
  {
42
42
  "name": "WizardEntryWizard",
43
- "linkedEntity": "WizardEntry",
44
43
  "category": "interaction",
44
+ "linkedEntity": "WizardEntry",
45
+ "emits": [
46
+ {
47
+ "event": "WizardEntryLoaded",
48
+ "description": "Fired when WizardEntry 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": "WizardEntryLoadFailed",
75
+ "description": "Fired when WizardEntry 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
  {
@@ -68,7 +108,7 @@
68
108
  },
69
109
  {
70
110
  "key": "NEXT",
71
- "name": "Next Step",
111
+ "name": "Next",
72
112
  "payload": [
73
113
  {
74
114
  "name": "data",
@@ -79,11 +119,11 @@
79
119
  },
80
120
  {
81
121
  "key": "PREV",
82
- "name": "Previous Step"
122
+ "name": "Prev"
83
123
  },
84
124
  {
85
125
  "key": "COMPLETE",
86
- "name": "Complete Wizard",
126
+ "name": "Complete",
87
127
  "payload": [
88
128
  {
89
129
  "name": "data",
@@ -94,7 +134,21 @@
94
134
  },
95
135
  {
96
136
  "key": "RESTART",
97
- "name": "Restart Wizard"
137
+ "name": "Restart"
138
+ },
139
+ {
140
+ "key": "WizardEntryLoaded",
141
+ "name": "WizardEntry loaded"
142
+ },
143
+ {
144
+ "key": "WizardEntryLoadFailed",
145
+ "name": "WizardEntry load failed",
146
+ "payload": [
147
+ {
148
+ "name": "message",
149
+ "type": "string"
150
+ }
151
+ ]
98
152
  }
99
153
  ],
100
154
  "transitions": [
@@ -105,52 +159,53 @@
105
159
  "effects": [
106
160
  [
107
161
  "fetch",
108
- "WizardEntry"
162
+ "WizardEntry",
163
+ {
164
+ "emit": {
165
+ "success": "WizardEntryLoaded",
166
+ "failure": "WizardEntryLoadFailed"
167
+ }
168
+ }
109
169
  ],
110
170
  [
111
171
  "render-ui",
112
172
  "main",
113
173
  {
114
- "type": "container",
115
174
  "maxWidth": "lg",
116
- "padding": "lg",
117
175
  "children": [
118
176
  {
119
- "type": "stack",
120
- "direction": "vertical",
121
- "gap": "lg",
122
177
  "children": [
123
178
  {
124
- "type": "stack",
125
179
  "direction": "horizontal",
180
+ "type": "stack",
126
181
  "gap": "sm",
127
182
  "align": "center",
128
183
  "children": [
129
184
  {
130
- "type": "icon",
131
185
  "name": "clipboard",
186
+ "type": "icon",
132
187
  "size": "lg"
133
188
  },
134
189
  {
135
- "type": "typography",
136
190
  "content": "Setup Wizard",
137
- "variant": "h2"
191
+ "variant": "h2",
192
+ "type": "typography"
138
193
  }
139
194
  ]
140
195
  },
141
196
  {
142
- "type": "progress-dots",
143
- "count": 3,
144
- "currentIndex": 0
197
+ "currentIndex": 0.0,
198
+ "count": 3.0,
199
+ "type": "progress-dots"
145
200
  },
146
201
  {
202
+ "currentStep": 0.0,
147
203
  "type": "wizard-progress",
148
204
  "steps": [
149
205
  "Personal Info",
150
206
  "Settings",
151
207
  "Review"
152
- ],
153
- "currentStep": 0
208
+ ]
154
209
  },
155
210
  {
156
211
  "type": "divider"
@@ -161,7 +216,6 @@
161
216
  "variant": "h3"
162
217
  },
163
218
  {
164
- "type": "form-section",
165
219
  "entity": "WizardEntry",
166
220
  "mode": "create",
167
221
  "submitEvent": "NEXT",
@@ -169,26 +223,32 @@
169
223
  "fields": [
170
224
  "name",
171
225
  "description"
172
- ]
226
+ ],
227
+ "type": "form-section"
173
228
  },
174
229
  {
175
- "type": "stack",
176
- "direction": "horizontal",
177
230
  "gap": "sm",
178
231
  "justify": "end",
232
+ "direction": "horizontal",
233
+ "type": "stack",
179
234
  "children": [
180
235
  {
181
- "type": "button",
182
- "label": "Next",
183
236
  "event": "NEXT",
184
237
  "variant": "primary",
185
- "icon": "arrow-right"
238
+ "icon": "arrow-right",
239
+ "label": "Next",
240
+ "type": "button"
186
241
  }
187
242
  ]
188
243
  }
189
- ]
244
+ ],
245
+ "type": "stack",
246
+ "direction": "vertical",
247
+ "gap": "lg"
190
248
  }
191
- ]
249
+ ],
250
+ "padding": "lg",
251
+ "type": "container"
192
252
  }
193
253
  ]
194
254
  ]
@@ -200,20 +260,26 @@
200
260
  "effects": [
201
261
  [
202
262
  "fetch",
203
- "WizardEntry"
263
+ "WizardEntry",
264
+ {
265
+ "emit": {
266
+ "failure": "WizardEntryLoadFailed",
267
+ "success": "WizardEntryLoaded"
268
+ }
269
+ }
204
270
  ],
205
271
  [
206
272
  "render-ui",
207
273
  "main",
208
274
  {
209
- "type": "container",
210
275
  "maxWidth": "lg",
276
+ "type": "container",
211
277
  "padding": "lg",
212
278
  "children": [
213
279
  {
214
- "type": "stack",
215
280
  "direction": "vertical",
216
281
  "gap": "lg",
282
+ "type": "stack",
217
283
  "children": [
218
284
  {
219
285
  "type": "stack",
@@ -222,8 +288,8 @@
222
288
  "align": "center",
223
289
  "children": [
224
290
  {
225
- "type": "icon",
226
291
  "name": "clipboard",
292
+ "type": "icon",
227
293
  "size": "lg"
228
294
  },
229
295
  {
@@ -234,58 +300,58 @@
234
300
  ]
235
301
  },
236
302
  {
237
- "type": "progress-dots",
238
- "count": 3,
239
- "currentIndex": 1
303
+ "currentIndex": 1.0,
304
+ "count": 3.0,
305
+ "type": "progress-dots"
240
306
  },
241
307
  {
242
- "type": "wizard-progress",
243
308
  "steps": [
244
309
  "Personal Info",
245
310
  "Settings",
246
311
  "Review"
247
312
  ],
248
- "currentStep": 1
313
+ "currentStep": 1.0,
314
+ "type": "wizard-progress"
249
315
  },
250
316
  {
251
317
  "type": "divider"
252
318
  },
253
319
  {
254
- "type": "typography",
255
320
  "content": "Settings",
256
- "variant": "h3"
321
+ "variant": "h3",
322
+ "type": "typography"
257
323
  },
258
324
  {
259
- "type": "form-section",
260
- "entity": "WizardEntry",
261
- "mode": "create",
262
- "submitEvent": "NEXT",
263
325
  "cancelEvent": "PREV",
264
326
  "fields": [
265
327
  "status"
266
- ]
328
+ ],
329
+ "type": "form-section",
330
+ "entity": "WizardEntry",
331
+ "submitEvent": "NEXT",
332
+ "mode": "create"
267
333
  },
268
334
  {
269
- "type": "stack",
270
- "direction": "horizontal",
271
- "gap": "sm",
272
335
  "justify": "end",
336
+ "gap": "sm",
273
337
  "children": [
274
338
  {
275
- "type": "button",
276
- "label": "Back",
277
339
  "event": "PREV",
278
340
  "variant": "ghost",
279
- "icon": "arrow-left"
341
+ "label": "Back",
342
+ "icon": "arrow-left",
343
+ "type": "button"
280
344
  },
281
345
  {
282
346
  "type": "button",
283
347
  "label": "Next",
284
- "event": "NEXT",
285
348
  "variant": "primary",
286
- "icon": "arrow-right"
349
+ "icon": "arrow-right",
350
+ "event": "NEXT"
287
351
  }
288
- ]
352
+ ],
353
+ "type": "stack",
354
+ "direction": "horizontal"
289
355
  }
290
356
  ]
291
357
  }
@@ -301,96 +367,203 @@
301
367
  "effects": [
302
368
  [
303
369
  "fetch",
304
- "WizardEntry"
370
+ "WizardEntry",
371
+ {
372
+ "emit": {
373
+ "success": "WizardEntryLoaded",
374
+ "failure": "WizardEntryLoadFailed"
375
+ }
376
+ }
305
377
  ],
306
378
  [
307
379
  "render-ui",
308
380
  "main",
309
381
  {
310
- "type": "container",
311
- "maxWidth": "lg",
312
382
  "padding": "lg",
383
+ "maxWidth": "lg",
313
384
  "children": [
314
385
  {
315
- "type": "stack",
316
- "direction": "vertical",
317
- "gap": "lg",
318
386
  "children": [
319
387
  {
388
+ "direction": "horizontal",
320
389
  "type": "stack",
390
+ "children": [
391
+ {
392
+ "size": "lg",
393
+ "name": "clipboard",
394
+ "type": "icon"
395
+ },
396
+ {
397
+ "type": "typography",
398
+ "content": "Setup Wizard",
399
+ "variant": "h2"
400
+ }
401
+ ],
402
+ "gap": "sm",
403
+ "align": "center"
404
+ },
405
+ {
406
+ "count": 3.0,
407
+ "currentIndex": 2.0,
408
+ "type": "progress-dots"
409
+ },
410
+ {
411
+ "steps": [
412
+ "Personal Info",
413
+ "Settings",
414
+ "Review"
415
+ ],
416
+ "currentStep": 2.0,
417
+ "type": "wizard-progress"
418
+ },
419
+ {
420
+ "type": "divider"
421
+ },
422
+ {
423
+ "content": "Review",
424
+ "type": "typography",
425
+ "variant": "h3"
426
+ },
427
+ {
428
+ "submitEvent": "NEXT",
429
+ "entity": "WizardEntry",
430
+ "fields": [
431
+ "createdAt"
432
+ ],
433
+ "cancelEvent": "PREV",
434
+ "mode": "create",
435
+ "type": "form-section"
436
+ },
437
+ {
438
+ "children": [
439
+ {
440
+ "label": "Back",
441
+ "event": "PREV",
442
+ "icon": "arrow-left",
443
+ "variant": "ghost",
444
+ "type": "button"
445
+ },
446
+ {
447
+ "label": "Next",
448
+ "variant": "primary",
449
+ "icon": "arrow-right",
450
+ "event": "NEXT",
451
+ "type": "button"
452
+ }
453
+ ],
321
454
  "direction": "horizontal",
455
+ "type": "stack",
456
+ "justify": "end",
457
+ "gap": "sm"
458
+ }
459
+ ],
460
+ "direction": "vertical",
461
+ "gap": "lg",
462
+ "type": "stack"
463
+ }
464
+ ],
465
+ "type": "container"
466
+ }
467
+ ]
468
+ ]
469
+ },
470
+ {
471
+ "from": "step2",
472
+ "to": "step1",
473
+ "event": "PREV",
474
+ "effects": [
475
+ [
476
+ "fetch",
477
+ "WizardEntry",
478
+ {
479
+ "emit": {
480
+ "success": "WizardEntryLoaded",
481
+ "failure": "WizardEntryLoadFailed"
482
+ }
483
+ }
484
+ ],
485
+ [
486
+ "render-ui",
487
+ "main",
488
+ {
489
+ "padding": "lg",
490
+ "type": "container",
491
+ "children": [
492
+ {
493
+ "direction": "vertical",
494
+ "type": "stack",
495
+ "children": [
496
+ {
322
497
  "gap": "sm",
323
- "align": "center",
498
+ "type": "stack",
324
499
  "children": [
325
500
  {
326
- "type": "icon",
327
501
  "name": "clipboard",
328
- "size": "lg"
502
+ "size": "lg",
503
+ "type": "icon"
329
504
  },
330
505
  {
331
- "type": "typography",
332
506
  "content": "Setup Wizard",
507
+ "type": "typography",
333
508
  "variant": "h2"
334
509
  }
335
- ]
510
+ ],
511
+ "align": "center",
512
+ "direction": "horizontal"
336
513
  },
337
514
  {
338
515
  "type": "progress-dots",
339
- "count": 3,
340
- "currentIndex": 2
516
+ "count": 3.0,
517
+ "currentIndex": 0.0
341
518
  },
342
519
  {
343
520
  "type": "wizard-progress",
521
+ "currentStep": 0.0,
344
522
  "steps": [
345
523
  "Personal Info",
346
524
  "Settings",
347
525
  "Review"
348
- ],
349
- "currentStep": 2
526
+ ]
350
527
  },
351
528
  {
352
529
  "type": "divider"
353
530
  },
354
531
  {
532
+ "content": "Personal Info",
355
533
  "type": "typography",
356
- "content": "Review",
357
534
  "variant": "h3"
358
535
  },
359
536
  {
360
- "type": "form-section",
361
537
  "entity": "WizardEntry",
362
- "mode": "create",
363
538
  "submitEvent": "NEXT",
364
- "cancelEvent": "PREV",
539
+ "cancelEvent": "INIT",
540
+ "type": "form-section",
541
+ "mode": "create",
365
542
  "fields": [
366
- "createdAt"
543
+ "name",
544
+ "description"
367
545
  ]
368
546
  },
369
547
  {
370
548
  "type": "stack",
371
- "direction": "horizontal",
372
549
  "gap": "sm",
550
+ "direction": "horizontal",
373
551
  "justify": "end",
374
552
  "children": [
375
553
  {
376
554
  "type": "button",
377
- "label": "Back",
378
- "event": "PREV",
379
- "variant": "ghost",
380
- "icon": "arrow-left"
381
- },
382
- {
383
- "type": "button",
555
+ "variant": "primary",
384
556
  "label": "Next",
385
557
  "event": "NEXT",
386
- "variant": "primary",
387
558
  "icon": "arrow-right"
388
559
  }
389
560
  ]
390
561
  }
391
- ]
562
+ ],
563
+ "gap": "lg"
392
564
  }
393
- ]
565
+ ],
566
+ "maxWidth": "lg"
394
567
  }
395
568
  ]
396
569
  ]
@@ -402,31 +575,37 @@
402
575
  "effects": [
403
576
  [
404
577
  "fetch",
405
- "WizardEntry"
578
+ "WizardEntry",
579
+ {
580
+ "emit": {
581
+ "success": "WizardEntryLoaded",
582
+ "failure": "WizardEntryLoadFailed"
583
+ }
584
+ }
406
585
  ],
407
586
  [
408
587
  "render-ui",
409
588
  "main",
410
589
  {
411
590
  "type": "stack",
412
- "direction": "vertical",
413
591
  "gap": "lg",
592
+ "direction": "vertical",
414
593
  "children": [
415
594
  {
416
- "type": "stack",
417
595
  "direction": "horizontal",
418
596
  "gap": "sm",
597
+ "type": "stack",
419
598
  "align": "center",
420
599
  "children": [
421
600
  {
422
- "type": "icon",
423
601
  "name": "clipboard",
424
- "size": "lg"
602
+ "size": "lg",
603
+ "type": "icon"
425
604
  },
426
605
  {
606
+ "variant": "h2",
427
607
  "type": "typography",
428
- "content": "Setup Wizard",
429
- "variant": "h2"
608
+ "content": "Setup Wizard"
430
609
  }
431
610
  ]
432
611
  },
@@ -441,7 +620,7 @@
441
620
  "Settings",
442
621
  "Review"
443
622
  ],
444
- "currentStep": 3
623
+ "currentStep": 3.0
445
624
  },
446
625
  {
447
626
  "type": "divider"
@@ -454,180 +633,85 @@
454
633
  "children": [
455
634
  {
456
635
  "type": "stack",
636
+ "justify": "space-between",
457
637
  "direction": "horizontal",
458
638
  "gap": "md",
459
- "justify": "space-between",
460
639
  "children": [
461
640
  {
462
- "type": "typography",
641
+ "content": "Name",
463
642
  "variant": "caption",
464
- "content": "Name"
643
+ "type": "typography"
465
644
  },
466
645
  {
646
+ "content": "@entity.name",
467
647
  "type": "typography",
468
- "variant": "body",
469
- "content": "@entity.name"
648
+ "variant": "body"
470
649
  }
471
650
  ]
472
651
  },
473
652
  {
474
- "type": "stack",
475
653
  "direction": "horizontal",
476
654
  "gap": "md",
655
+ "type": "stack",
477
656
  "justify": "space-between",
478
657
  "children": [
479
658
  {
480
659
  "type": "typography",
481
- "variant": "caption",
482
- "content": "Description"
660
+ "content": "Description",
661
+ "variant": "caption"
483
662
  },
484
663
  {
485
- "type": "typography",
486
664
  "variant": "body",
487
- "content": "@entity.description"
665
+ "content": "@entity.description",
666
+ "type": "typography"
488
667
  }
489
668
  ]
490
669
  },
491
670
  {
492
671
  "type": "stack",
493
672
  "direction": "horizontal",
494
- "gap": "md",
495
673
  "justify": "space-between",
496
674
  "children": [
497
675
  {
498
- "type": "typography",
499
676
  "variant": "caption",
677
+ "type": "typography",
500
678
  "content": "Status"
501
679
  },
502
680
  {
503
- "type": "typography",
504
681
  "variant": "body",
505
- "content": "@entity.status"
682
+ "content": "@entity.status",
683
+ "type": "typography"
506
684
  }
507
- ]
685
+ ],
686
+ "gap": "md"
508
687
  },
509
688
  {
510
- "type": "stack",
511
- "direction": "horizontal",
512
- "gap": "md",
513
689
  "justify": "space-between",
514
690
  "children": [
515
691
  {
516
- "type": "typography",
517
692
  "variant": "caption",
518
- "content": "Created At"
693
+ "content": "Created At",
694
+ "type": "typography"
519
695
  },
520
696
  {
521
697
  "type": "typography",
522
698
  "variant": "body",
523
699
  "content": "@entity.createdAt"
524
700
  }
525
- ]
701
+ ],
702
+ "type": "stack",
703
+ "direction": "horizontal",
704
+ "gap": "md"
526
705
  }
527
706
  ]
528
707
  },
529
708
  {
709
+ "currentStep": 3.0,
710
+ "showNext": false,
530
711
  "type": "wizard-navigation",
531
- "currentStep": 3,
532
- "totalSteps": 4,
533
- "showBack": true,
534
712
  "showComplete": true,
535
- "showNext": false
536
- }
537
- ]
538
- }
539
- ]
540
- ]
541
- },
542
- {
543
- "from": "step2",
544
- "to": "step1",
545
- "event": "PREV",
546
- "effects": [
547
- [
548
- "fetch",
549
- "WizardEntry"
550
- ],
551
- [
552
- "render-ui",
553
- "main",
554
- {
555
- "type": "container",
556
- "maxWidth": "lg",
557
- "padding": "lg",
558
- "children": [
559
- {
560
- "type": "stack",
561
- "direction": "vertical",
562
- "gap": "lg",
563
- "children": [
564
- {
565
- "type": "stack",
566
- "direction": "horizontal",
567
- "gap": "sm",
568
- "align": "center",
569
- "children": [
570
- {
571
- "type": "icon",
572
- "name": "clipboard",
573
- "size": "lg"
574
- },
575
- {
576
- "type": "typography",
577
- "content": "Setup Wizard",
578
- "variant": "h2"
579
- }
580
- ]
581
- },
582
- {
583
- "type": "progress-dots",
584
- "count": 3,
585
- "currentIndex": 0
586
- },
587
- {
588
- "type": "wizard-progress",
589
- "steps": [
590
- "Personal Info",
591
- "Settings",
592
- "Review"
593
- ],
594
- "currentStep": 0
595
- },
596
- {
597
- "type": "divider"
598
- },
599
- {
600
- "type": "typography",
601
- "content": "Personal Info",
602
- "variant": "h3"
603
- },
604
- {
605
- "type": "form-section",
606
- "entity": "WizardEntry",
607
- "mode": "create",
608
- "submitEvent": "NEXT",
609
- "cancelEvent": "INIT",
610
- "fields": [
611
- "name",
612
- "description"
613
- ]
614
- },
615
- {
616
- "type": "stack",
617
- "direction": "horizontal",
618
- "gap": "sm",
619
- "justify": "end",
620
- "children": [
621
- {
622
- "type": "button",
623
- "label": "Next",
624
- "event": "NEXT",
625
- "variant": "primary",
626
- "icon": "arrow-right"
627
- }
628
- ]
629
- }
630
- ]
713
+ "totalSteps": 4.0,
714
+ "showBack": true
631
715
  }
632
716
  ]
633
717
  }
@@ -641,7 +725,13 @@
641
725
  "effects": [
642
726
  [
643
727
  "fetch",
644
- "WizardEntry"
728
+ "WizardEntry",
729
+ {
730
+ "emit": {
731
+ "success": "WizardEntryLoaded",
732
+ "failure": "WizardEntryLoadFailed"
733
+ }
734
+ }
645
735
  ],
646
736
  [
647
737
  "render-ui",
@@ -652,41 +742,39 @@
652
742
  "padding": "lg",
653
743
  "children": [
654
744
  {
655
- "type": "stack",
656
745
  "direction": "vertical",
657
- "gap": "lg",
658
746
  "children": [
659
747
  {
660
- "type": "stack",
661
- "direction": "horizontal",
662
748
  "gap": "sm",
663
- "align": "center",
749
+ "direction": "horizontal",
664
750
  "children": [
665
751
  {
666
752
  "type": "icon",
667
- "name": "clipboard",
668
- "size": "lg"
753
+ "size": "lg",
754
+ "name": "clipboard"
669
755
  },
670
756
  {
671
- "type": "typography",
757
+ "variant": "h2",
672
758
  "content": "Setup Wizard",
673
- "variant": "h2"
759
+ "type": "typography"
674
760
  }
675
- ]
761
+ ],
762
+ "align": "center",
763
+ "type": "stack"
676
764
  },
677
765
  {
678
- "type": "progress-dots",
679
- "count": 3,
680
- "currentIndex": 1
766
+ "count": 3.0,
767
+ "currentIndex": 1.0,
768
+ "type": "progress-dots"
681
769
  },
682
770
  {
683
771
  "type": "wizard-progress",
772
+ "currentStep": 1.0,
684
773
  "steps": [
685
774
  "Personal Info",
686
775
  "Settings",
687
776
  "Review"
688
- ],
689
- "currentStep": 1
777
+ ]
690
778
  },
691
779
  {
692
780
  "type": "divider"
@@ -698,37 +786,39 @@
698
786
  },
699
787
  {
700
788
  "type": "form-section",
701
- "entity": "WizardEntry",
702
789
  "mode": "create",
703
- "submitEvent": "NEXT",
790
+ "entity": "WizardEntry",
704
791
  "cancelEvent": "PREV",
792
+ "submitEvent": "NEXT",
705
793
  "fields": [
706
794
  "status"
707
795
  ]
708
796
  },
709
797
  {
710
- "type": "stack",
711
- "direction": "horizontal",
712
- "gap": "sm",
713
- "justify": "end",
714
798
  "children": [
715
799
  {
716
- "type": "button",
717
- "label": "Back",
718
800
  "event": "PREV",
719
801
  "variant": "ghost",
720
- "icon": "arrow-left"
802
+ "icon": "arrow-left",
803
+ "type": "button",
804
+ "label": "Back"
721
805
  },
722
806
  {
807
+ "icon": "arrow-right",
723
808
  "type": "button",
724
- "label": "Next",
725
809
  "event": "NEXT",
726
- "variant": "primary",
727
- "icon": "arrow-right"
810
+ "label": "Next",
811
+ "variant": "primary"
728
812
  }
729
- ]
813
+ ],
814
+ "gap": "sm",
815
+ "type": "stack",
816
+ "justify": "end",
817
+ "direction": "horizontal"
730
818
  }
731
- ]
819
+ ],
820
+ "gap": "lg",
821
+ "type": "stack"
732
822
  }
733
823
  ]
734
824
  }
@@ -742,94 +832,100 @@
742
832
  "effects": [
743
833
  [
744
834
  "fetch",
745
- "WizardEntry"
835
+ "WizardEntry",
836
+ {
837
+ "emit": {
838
+ "success": "WizardEntryLoaded",
839
+ "failure": "WizardEntryLoadFailed"
840
+ }
841
+ }
746
842
  ],
747
843
  [
748
844
  "render-ui",
749
845
  "main",
750
846
  {
847
+ "padding": "lg",
751
848
  "type": "container",
752
849
  "maxWidth": "lg",
753
- "padding": "lg",
754
850
  "children": [
755
851
  {
756
- "type": "stack",
757
- "direction": "vertical",
758
852
  "gap": "lg",
853
+ "type": "stack",
759
854
  "children": [
760
855
  {
761
856
  "type": "stack",
762
- "direction": "horizontal",
763
- "gap": "sm",
764
- "align": "center",
765
857
  "children": [
766
858
  {
767
- "type": "icon",
768
859
  "name": "clipboard",
769
- "size": "lg"
860
+ "size": "lg",
861
+ "type": "icon"
770
862
  },
771
863
  {
772
- "type": "typography",
773
864
  "content": "Setup Wizard",
865
+ "type": "typography",
774
866
  "variant": "h2"
775
867
  }
776
- ]
868
+ ],
869
+ "gap": "sm",
870
+ "direction": "horizontal",
871
+ "align": "center"
777
872
  },
778
873
  {
874
+ "count": 3.0,
779
875
  "type": "progress-dots",
780
- "count": 3,
781
- "currentIndex": 2
876
+ "currentIndex": 2.0
782
877
  },
783
878
  {
784
- "type": "wizard-progress",
785
879
  "steps": [
786
880
  "Personal Info",
787
881
  "Settings",
788
882
  "Review"
789
883
  ],
790
- "currentStep": 2
884
+ "type": "wizard-progress",
885
+ "currentStep": 2.0
791
886
  },
792
887
  {
793
888
  "type": "divider"
794
889
  },
795
890
  {
796
- "type": "typography",
797
891
  "content": "Review",
798
- "variant": "h3"
892
+ "variant": "h3",
893
+ "type": "typography"
799
894
  },
800
895
  {
801
896
  "type": "form-section",
802
- "entity": "WizardEntry",
803
- "mode": "create",
804
897
  "submitEvent": "NEXT",
805
- "cancelEvent": "PREV",
806
898
  "fields": [
807
899
  "createdAt"
808
- ]
900
+ ],
901
+ "mode": "create",
902
+ "entity": "WizardEntry",
903
+ "cancelEvent": "PREV"
809
904
  },
810
905
  {
811
- "type": "stack",
812
906
  "direction": "horizontal",
813
907
  "gap": "sm",
814
- "justify": "end",
815
908
  "children": [
816
909
  {
817
910
  "type": "button",
818
- "label": "Back",
819
911
  "event": "PREV",
820
- "variant": "ghost",
821
- "icon": "arrow-left"
912
+ "label": "Back",
913
+ "icon": "arrow-left",
914
+ "variant": "ghost"
822
915
  },
823
916
  {
824
917
  "type": "button",
825
918
  "label": "Next",
826
- "event": "NEXT",
827
919
  "variant": "primary",
828
- "icon": "arrow-right"
920
+ "icon": "arrow-right",
921
+ "event": "NEXT"
829
922
  }
830
- ]
923
+ ],
924
+ "justify": "end",
925
+ "type": "stack"
831
926
  }
832
- ]
927
+ ],
928
+ "direction": "vertical"
833
929
  }
834
930
  ]
835
931
  }
@@ -859,31 +955,31 @@
859
955
  "type": "stack",
860
956
  "direction": "vertical",
861
957
  "gap": "lg",
862
- "align": "center",
863
958
  "children": [
864
959
  {
865
- "type": "icon",
866
960
  "name": "check-circle",
961
+ "type": "icon",
867
962
  "size": "lg"
868
963
  },
869
964
  {
870
- "type": "typography",
965
+ "variant": "h2",
871
966
  "content": "Complete!",
872
- "variant": "h2"
967
+ "type": "typography"
873
968
  },
874
969
  {
875
970
  "type": "typography",
876
- "content": "Your wizardentry has been created successfully.",
877
- "variant": "body"
971
+ "variant": "body",
972
+ "content": "Your wizardentry has been created successfully."
878
973
  },
879
974
  {
975
+ "variant": "primary",
976
+ "event": "RESTART",
880
977
  "type": "button",
881
978
  "label": "Start New",
882
- "event": "RESTART",
883
- "variant": "primary",
884
979
  "icon": "refresh-cw"
885
980
  }
886
- ]
981
+ ],
982
+ "align": "center"
887
983
  }
888
984
  ]
889
985
  ]
@@ -895,90 +991,96 @@
895
991
  "effects": [
896
992
  [
897
993
  "fetch",
898
- "WizardEntry"
994
+ "WizardEntry",
995
+ {
996
+ "emit": {
997
+ "success": "WizardEntryLoaded",
998
+ "failure": "WizardEntryLoadFailed"
999
+ }
1000
+ }
899
1001
  ],
900
1002
  [
901
1003
  "render-ui",
902
1004
  "main",
903
1005
  {
904
- "type": "container",
905
- "maxWidth": "lg",
906
1006
  "padding": "lg",
1007
+ "maxWidth": "lg",
907
1008
  "children": [
908
1009
  {
909
1010
  "type": "stack",
910
- "direction": "vertical",
911
1011
  "gap": "lg",
912
1012
  "children": [
913
1013
  {
914
1014
  "type": "stack",
915
1015
  "direction": "horizontal",
916
- "gap": "sm",
917
- "align": "center",
918
1016
  "children": [
919
1017
  {
1018
+ "size": "lg",
920
1019
  "type": "icon",
921
- "name": "clipboard",
922
- "size": "lg"
1020
+ "name": "clipboard"
923
1021
  },
924
1022
  {
925
- "type": "typography",
926
1023
  "content": "Setup Wizard",
1024
+ "type": "typography",
927
1025
  "variant": "h2"
928
1026
  }
929
- ]
1027
+ ],
1028
+ "align": "center",
1029
+ "gap": "sm"
930
1030
  },
931
1031
  {
932
1032
  "type": "progress-dots",
933
- "count": 3,
934
- "currentIndex": 0
1033
+ "currentIndex": 0.0,
1034
+ "count": 3.0
935
1035
  },
936
1036
  {
1037
+ "currentStep": 0.0,
937
1038
  "type": "wizard-progress",
938
1039
  "steps": [
939
1040
  "Personal Info",
940
1041
  "Settings",
941
1042
  "Review"
942
- ],
943
- "currentStep": 0
1043
+ ]
944
1044
  },
945
1045
  {
946
1046
  "type": "divider"
947
1047
  },
948
1048
  {
1049
+ "variant": "h3",
949
1050
  "type": "typography",
950
- "content": "Personal Info",
951
- "variant": "h3"
1051
+ "content": "Personal Info"
952
1052
  },
953
1053
  {
954
- "type": "form-section",
1054
+ "cancelEvent": "INIT",
955
1055
  "entity": "WizardEntry",
956
1056
  "mode": "create",
1057
+ "type": "form-section",
957
1058
  "submitEvent": "NEXT",
958
- "cancelEvent": "INIT",
959
1059
  "fields": [
960
1060
  "name",
961
1061
  "description"
962
1062
  ]
963
1063
  },
964
1064
  {
965
- "type": "stack",
966
- "direction": "horizontal",
967
- "gap": "sm",
968
- "justify": "end",
969
1065
  "children": [
970
1066
  {
971
1067
  "type": "button",
972
1068
  "label": "Next",
973
- "event": "NEXT",
974
1069
  "variant": "primary",
975
- "icon": "arrow-right"
1070
+ "icon": "arrow-right",
1071
+ "event": "NEXT"
976
1072
  }
977
- ]
1073
+ ],
1074
+ "gap": "sm",
1075
+ "direction": "horizontal",
1076
+ "justify": "end",
1077
+ "type": "stack"
978
1078
  }
979
- ]
1079
+ ],
1080
+ "direction": "vertical"
980
1081
  }
981
- ]
1082
+ ],
1083
+ "type": "container"
982
1084
  }
983
1085
  ]
984
1086
  ]
@@ -990,7 +1092,13 @@
990
1092
  "effects": [
991
1093
  [
992
1094
  "fetch",
993
- "WizardEntry"
1095
+ "WizardEntry",
1096
+ {
1097
+ "emit": {
1098
+ "success": "WizardEntryLoaded",
1099
+ "failure": "WizardEntryLoadFailed"
1100
+ }
1101
+ }
994
1102
  ],
995
1103
  [
996
1104
  "render-ui",
@@ -1001,9 +1109,9 @@
1001
1109
  "padding": "lg",
1002
1110
  "children": [
1003
1111
  {
1004
- "type": "stack",
1005
- "direction": "vertical",
1006
1112
  "gap": "lg",
1113
+ "direction": "vertical",
1114
+ "type": "stack",
1007
1115
  "children": [
1008
1116
  {
1009
1117
  "type": "stack",
@@ -1012,64 +1120,64 @@
1012
1120
  "align": "center",
1013
1121
  "children": [
1014
1122
  {
1015
- "type": "icon",
1016
1123
  "name": "clipboard",
1124
+ "type": "icon",
1017
1125
  "size": "lg"
1018
1126
  },
1019
1127
  {
1020
1128
  "type": "typography",
1021
- "content": "Setup Wizard",
1022
- "variant": "h2"
1129
+ "variant": "h2",
1130
+ "content": "Setup Wizard"
1023
1131
  }
1024
1132
  ]
1025
1133
  },
1026
1134
  {
1135
+ "currentIndex": 0.0,
1027
1136
  "type": "progress-dots",
1028
- "count": 3,
1029
- "currentIndex": 0
1137
+ "count": 3.0
1030
1138
  },
1031
1139
  {
1032
- "type": "wizard-progress",
1033
1140
  "steps": [
1034
1141
  "Personal Info",
1035
1142
  "Settings",
1036
1143
  "Review"
1037
1144
  ],
1038
- "currentStep": 0
1145
+ "currentStep": 0.0,
1146
+ "type": "wizard-progress"
1039
1147
  },
1040
1148
  {
1041
1149
  "type": "divider"
1042
1150
  },
1043
1151
  {
1044
- "type": "typography",
1045
1152
  "content": "Personal Info",
1046
- "variant": "h3"
1153
+ "variant": "h3",
1154
+ "type": "typography"
1047
1155
  },
1048
1156
  {
1049
1157
  "type": "form-section",
1050
- "entity": "WizardEntry",
1051
- "mode": "create",
1052
- "submitEvent": "NEXT",
1053
- "cancelEvent": "INIT",
1054
1158
  "fields": [
1055
1159
  "name",
1056
1160
  "description"
1057
- ]
1161
+ ],
1162
+ "mode": "create",
1163
+ "entity": "WizardEntry",
1164
+ "submitEvent": "NEXT",
1165
+ "cancelEvent": "INIT"
1058
1166
  },
1059
1167
  {
1060
- "type": "stack",
1061
1168
  "direction": "horizontal",
1062
1169
  "gap": "sm",
1063
- "justify": "end",
1064
1170
  "children": [
1065
1171
  {
1066
- "type": "button",
1067
- "label": "Next",
1068
- "event": "NEXT",
1069
1172
  "variant": "primary",
1070
- "icon": "arrow-right"
1173
+ "event": "NEXT",
1174
+ "type": "button",
1175
+ "icon": "arrow-right",
1176
+ "label": "Next"
1071
1177
  }
1072
- ]
1178
+ ],
1179
+ "type": "stack",
1180
+ "justify": "end"
1073
1181
  }
1074
1182
  ]
1075
1183
  }
@@ -1079,7 +1187,8 @@
1079
1187
  ]
1080
1188
  }
1081
1189
  ]
1082
- }
1190
+ },
1191
+ "scope": "instance"
1083
1192
  }
1084
1193
  ],
1085
1194
  "pages": [
@@ -1095,4 +1204,4 @@
1095
1204
  ]
1096
1205
  }
1097
1206
  ]
1098
- }
1207
+ }