@almadar/std 5.0.0 → 5.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 (421) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  4. package/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  7. package/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  8. package/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  9. package/behaviors/exports/atoms/std-agent-search.orb +6 -27
  10. package/behaviors/exports/atoms/std-agent-session.orb +11 -85
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  14. package/behaviors/exports/atoms/std-async.orb +5 -8
  15. package/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  16. package/behaviors/exports/atoms/std-browse.orb +5 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  18. package/behaviors/exports/atoms/std-calendar.orb +5 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  20. package/behaviors/exports/atoms/std-collision.orb +5 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +5 -4
  22. package/behaviors/exports/atoms/std-combat.orb +5 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +10 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  25. package/behaviors/exports/atoms/std-display.orb +5 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +5 -4
  27. package/behaviors/exports/atoms/std-filter.orb +5 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +5 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +5 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +5 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  33. package/behaviors/exports/atoms/std-game-hud.orb +5 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +5 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +5 -4
  37. package/behaviors/exports/atoms/std-input.orb +5 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  40. package/behaviors/exports/atoms/std-loading.orb +5 -4
  41. package/behaviors/exports/atoms/std-modal.orb +89 -4
  42. package/behaviors/exports/atoms/std-movement.orb +5 -4
  43. package/behaviors/exports/atoms/std-notification.orb +5 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +5 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +5 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +5 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  48. package/behaviors/exports/atoms/std-quest.orb +5 -8
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  50. package/behaviors/exports/atoms/std-rating.orb +5 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +5 -4
  52. package/behaviors/exports/atoms/std-score.orb +5 -4
  53. package/behaviors/exports/atoms/std-search.orb +5 -4
  54. package/behaviors/exports/atoms/std-selection.orb +5 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  59. package/behaviors/exports/atoms/std-service-email.orb +5 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +5 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +5 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +5 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +5 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  69. package/behaviors/exports/atoms/std-sort.orb +5 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +5 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +5 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +5 -4
  73. package/behaviors/exports/atoms/std-theme.orb +5 -4
  74. package/behaviors/exports/atoms/std-timer.orb +5 -4
  75. package/behaviors/exports/atoms/std-undo.orb +5 -4
  76. package/behaviors/exports/atoms/std-upload.orb +5 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  78. package/behaviors/exports/atoms/std-wizard.orb +5 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  80. package/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  81. package/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  82. package/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  84. package/behaviors/exports/molecules/std-builder-game.orb +5 -4
  85. package/behaviors/exports/molecules/std-cart.orb +196 -307
  86. package/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  88. package/behaviors/exports/molecules/std-detail.orb +309 -467
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  91. package/behaviors/exports/molecules/std-geospatial.orb +363 -539
  92. package/behaviors/exports/molecules/std-inventory.orb +390 -720
  93. package/behaviors/exports/molecules/std-list.orb +526 -1156
  94. package/behaviors/exports/molecules/std-messaging.orb +295 -452
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +5 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  108. package/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  112. package/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  116. package/behaviors/exports/organisms/std-cms.orb +1274 -1972
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +999 -1775
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  120. package/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  122. package/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  123. package/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  124. package/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  126. package/behaviors/exports/organisms/std-lms.orb +284 -632
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  129. package/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  132. package/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  135. package/behaviors/exports/organisms/std-social-feed.orb +62 -66
  136. package/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  137. package/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  138. package/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  139. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  140. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  141. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  142. package/dist/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  143. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  144. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  145. package/dist/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  146. package/dist/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  147. package/dist/behaviors/exports/atoms/std-agent-search.orb +6 -27
  148. package/dist/behaviors/exports/atoms/std-agent-session.orb +11 -85
  149. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  150. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  151. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  152. package/dist/behaviors/exports/atoms/std-async.orb +5 -8
  153. package/dist/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  154. package/dist/behaviors/exports/atoms/std-browse.orb +5 -4
  155. package/dist/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  156. package/dist/behaviors/exports/atoms/std-calendar.orb +5 -4
  157. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  158. package/dist/behaviors/exports/atoms/std-collision.orb +5 -4
  159. package/dist/behaviors/exports/atoms/std-combat-log.orb +5 -4
  160. package/dist/behaviors/exports/atoms/std-combat.orb +5 -4
  161. package/dist/behaviors/exports/atoms/std-confirmation.orb +10 -4
  162. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  163. package/dist/behaviors/exports/atoms/std-display.orb +5 -4
  164. package/dist/behaviors/exports/atoms/std-drawer.orb +5 -4
  165. package/dist/behaviors/exports/atoms/std-filter.orb +5 -4
  166. package/dist/behaviors/exports/atoms/std-flip-card.orb +5 -4
  167. package/dist/behaviors/exports/atoms/std-gallery.orb +5 -4
  168. package/dist/behaviors/exports/atoms/std-game-audio.orb +5 -4
  169. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  170. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  171. package/dist/behaviors/exports/atoms/std-game-hud.orb +5 -4
  172. package/dist/behaviors/exports/atoms/std-game-menu.orb +5 -4
  173. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  174. package/dist/behaviors/exports/atoms/std-gameflow.orb +5 -4
  175. package/dist/behaviors/exports/atoms/std-input.orb +5 -4
  176. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  177. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  178. package/dist/behaviors/exports/atoms/std-loading.orb +5 -4
  179. package/dist/behaviors/exports/atoms/std-modal.orb +89 -4
  180. package/dist/behaviors/exports/atoms/std-movement.orb +5 -4
  181. package/dist/behaviors/exports/atoms/std-notification.orb +5 -4
  182. package/dist/behaviors/exports/atoms/std-overworld.orb +5 -4
  183. package/dist/behaviors/exports/atoms/std-pagination.orb +5 -4
  184. package/dist/behaviors/exports/atoms/std-physics2d.orb +5 -4
  185. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  186. package/dist/behaviors/exports/atoms/std-quest.orb +5 -8
  187. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  188. package/dist/behaviors/exports/atoms/std-rating.orb +5 -4
  189. package/dist/behaviors/exports/atoms/std-score-board.orb +5 -4
  190. package/dist/behaviors/exports/atoms/std-score.orb +5 -4
  191. package/dist/behaviors/exports/atoms/std-search.orb +5 -4
  192. package/dist/behaviors/exports/atoms/std-selection.orb +5 -4
  193. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  194. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  195. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  196. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  197. package/dist/behaviors/exports/atoms/std-service-email.orb +5 -4
  198. package/dist/behaviors/exports/atoms/std-service-github.orb +5 -4
  199. package/dist/behaviors/exports/atoms/std-service-llm.orb +5 -4
  200. package/dist/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  201. package/dist/behaviors/exports/atoms/std-service-redis.orb +5 -4
  202. package/dist/behaviors/exports/atoms/std-service-storage.orb +5 -4
  203. package/dist/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  204. package/dist/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  205. package/dist/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  206. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  207. package/dist/behaviors/exports/atoms/std-sort.orb +5 -4
  208. package/dist/behaviors/exports/atoms/std-sprite.orb +5 -4
  209. package/dist/behaviors/exports/atoms/std-tabs.orb +5 -4
  210. package/dist/behaviors/exports/atoms/std-text-effects.orb +5 -4
  211. package/dist/behaviors/exports/atoms/std-theme.orb +5 -4
  212. package/dist/behaviors/exports/atoms/std-timer.orb +5 -4
  213. package/dist/behaviors/exports/atoms/std-undo.orb +5 -4
  214. package/dist/behaviors/exports/atoms/std-upload.orb +5 -4
  215. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  216. package/dist/behaviors/exports/atoms/std-wizard.orb +5 -4
  217. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  218. package/dist/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  219. package/dist/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  220. package/dist/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  221. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  222. package/dist/behaviors/exports/molecules/std-builder-game.orb +5 -4
  223. package/dist/behaviors/exports/molecules/std-cart.orb +196 -307
  224. package/dist/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  225. package/dist/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  226. package/dist/behaviors/exports/molecules/std-detail.orb +309 -467
  227. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  228. package/dist/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  229. package/dist/behaviors/exports/molecules/std-geospatial.orb +363 -539
  230. package/dist/behaviors/exports/molecules/std-inventory.orb +390 -720
  231. package/dist/behaviors/exports/molecules/std-list.orb +526 -1156
  232. package/dist/behaviors/exports/molecules/std-messaging.orb +295 -452
  233. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  234. package/dist/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  235. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  236. package/dist/behaviors/exports/molecules/std-quiz.orb +5 -4
  237. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  238. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  239. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  240. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  241. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  242. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  243. package/dist/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  244. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  245. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  246. package/dist/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  247. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  248. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  249. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  250. package/dist/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  251. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  252. package/dist/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  253. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  254. package/dist/behaviors/exports/organisms/std-cms.orb +1274 -1972
  255. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  256. package/dist/behaviors/exports/organisms/std-crm.orb +999 -1775
  257. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  258. package/dist/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  259. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  260. package/dist/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  261. package/dist/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  262. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  263. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  264. package/dist/behaviors/exports/organisms/std-lms.orb +284 -632
  265. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  266. package/dist/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  267. package/dist/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  268. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  269. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  270. package/dist/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  271. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  272. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  273. package/dist/behaviors/exports/organisms/std-social-feed.orb +62 -66
  274. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  275. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  277. package/dist/behaviors/exports-reader.js.map +1 -1
  278. package/dist/behaviors/functions/index.d.ts +2192 -0
  279. package/dist/behaviors/functions/index.js.map +1 -1
  280. package/dist/behaviors/index.js.map +1 -1
  281. package/dist/behaviors/query.js.map +1 -1
  282. package/dist/exports/atoms/std-agent-activity-log.orb +5 -45
  283. package/dist/exports/atoms/std-agent-chat-thread.orb +5 -55
  284. package/dist/exports/atoms/std-agent-classifier.orb +8 -8
  285. package/dist/exports/atoms/std-agent-completion.orb +8 -8
  286. package/dist/exports/atoms/std-agent-context-window.orb +5 -4
  287. package/dist/exports/atoms/std-agent-conversation.orb +5 -71
  288. package/dist/exports/atoms/std-agent-memory.orb +13 -127
  289. package/dist/exports/atoms/std-agent-provider.orb +8 -8
  290. package/dist/exports/atoms/std-agent-search.orb +6 -27
  291. package/dist/exports/atoms/std-agent-session.orb +11 -85
  292. package/dist/exports/atoms/std-agent-step-progress.orb +5 -4
  293. package/dist/exports/atoms/std-agent-token-gauge.orb +5 -4
  294. package/dist/exports/atoms/std-agent-tool-call.orb +8 -8
  295. package/dist/exports/atoms/std-async.orb +5 -8
  296. package/dist/exports/atoms/std-autoregressive.orb +4 -2
  297. package/dist/exports/atoms/std-browse.orb +5 -4
  298. package/dist/exports/atoms/std-cache-aside.orb +5 -8
  299. package/dist/exports/atoms/std-calendar.orb +5 -4
  300. package/dist/exports/atoms/std-circuit-breaker.orb +5 -4
  301. package/dist/exports/atoms/std-collision.orb +5 -4
  302. package/dist/exports/atoms/std-combat-log.orb +5 -4
  303. package/dist/exports/atoms/std-combat.orb +5 -4
  304. package/dist/exports/atoms/std-confirmation.orb +10 -4
  305. package/dist/exports/atoms/std-dialogue-box.orb +5 -4
  306. package/dist/exports/atoms/std-display.orb +5 -4
  307. package/dist/exports/atoms/std-drawer.orb +5 -4
  308. package/dist/exports/atoms/std-filter.orb +5 -4
  309. package/dist/exports/atoms/std-flip-card.orb +5 -4
  310. package/dist/exports/atoms/std-gallery.orb +5 -4
  311. package/dist/exports/atoms/std-game-audio.orb +5 -4
  312. package/dist/exports/atoms/std-game-canvas2d.orb +4 -2
  313. package/dist/exports/atoms/std-game-canvas3d.orb +4 -2
  314. package/dist/exports/atoms/std-game-hud.orb +5 -4
  315. package/dist/exports/atoms/std-game-menu.orb +5 -4
  316. package/dist/exports/atoms/std-game-over-screen.orb +5 -4
  317. package/dist/exports/atoms/std-gameflow.orb +5 -4
  318. package/dist/exports/atoms/std-input.orb +5 -4
  319. package/dist/exports/atoms/std-inventory-panel.orb +5 -8
  320. package/dist/exports/atoms/std-isometric-canvas.orb +5 -4
  321. package/dist/exports/atoms/std-loading.orb +5 -4
  322. package/dist/exports/atoms/std-modal.orb +89 -4
  323. package/dist/exports/atoms/std-movement.orb +5 -4
  324. package/dist/exports/atoms/std-notification.orb +5 -4
  325. package/dist/exports/atoms/std-overworld.orb +5 -4
  326. package/dist/exports/atoms/std-pagination.orb +5 -4
  327. package/dist/exports/atoms/std-physics2d.orb +5 -4
  328. package/dist/exports/atoms/std-platformer-canvas.orb +5 -4
  329. package/dist/exports/atoms/std-quest.orb +5 -8
  330. package/dist/exports/atoms/std-rate-limiter.orb +5 -4
  331. package/dist/exports/atoms/std-rating.orb +5 -4
  332. package/dist/exports/atoms/std-score-board.orb +5 -4
  333. package/dist/exports/atoms/std-score.orb +5 -4
  334. package/dist/exports/atoms/std-search.orb +5 -4
  335. package/dist/exports/atoms/std-selection.orb +5 -4
  336. package/dist/exports/atoms/std-service-custom-bearer.orb +5 -15
  337. package/dist/exports/atoms/std-service-custom-header.orb +5 -17
  338. package/dist/exports/atoms/std-service-custom-noauth.orb +5 -11
  339. package/dist/exports/atoms/std-service-custom-query.orb +5 -17
  340. package/dist/exports/atoms/std-service-email.orb +5 -4
  341. package/dist/exports/atoms/std-service-github.orb +5 -4
  342. package/dist/exports/atoms/std-service-llm.orb +5 -4
  343. package/dist/exports/atoms/std-service-oauth.orb +5 -4
  344. package/dist/exports/atoms/std-service-redis.orb +5 -4
  345. package/dist/exports/atoms/std-service-storage.orb +5 -4
  346. package/dist/exports/atoms/std-service-stripe.orb +5 -4
  347. package/dist/exports/atoms/std-service-twilio.orb +5 -4
  348. package/dist/exports/atoms/std-service-youtube.orb +5 -4
  349. package/dist/exports/atoms/std-simulation-canvas.orb +5 -4
  350. package/dist/exports/atoms/std-sort.orb +5 -4
  351. package/dist/exports/atoms/std-sprite.orb +5 -4
  352. package/dist/exports/atoms/std-tabs.orb +5 -4
  353. package/dist/exports/atoms/std-text-effects.orb +5 -4
  354. package/dist/exports/atoms/std-theme.orb +5 -4
  355. package/dist/exports/atoms/std-timer.orb +5 -4
  356. package/dist/exports/atoms/std-undo.orb +5 -4
  357. package/dist/exports/atoms/std-upload.orb +5 -4
  358. package/dist/exports/atoms/std-validate-on-save.orb +5 -32
  359. package/dist/exports/atoms/std-wizard.orb +5 -4
  360. package/dist/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  361. package/dist/exports/molecules/std-agent-learner.orb +608 -938
  362. package/dist/exports/molecules/std-agent-planner.orb +613 -961
  363. package/dist/exports/molecules/std-agent-rag.orb +586 -915
  364. package/dist/exports/molecules/std-agent-tool-loop.orb +915 -2846
  365. package/dist/exports/molecules/std-builder-game.orb +5 -4
  366. package/dist/exports/molecules/std-cart.orb +196 -307
  367. package/dist/exports/molecules/std-classifier-game.orb +5 -4
  368. package/dist/exports/molecules/std-debugger-game.orb +5 -4
  369. package/dist/exports/molecules/std-detail.orb +309 -467
  370. package/dist/exports/molecules/std-event-handler-game.orb +5 -4
  371. package/dist/exports/molecules/std-form-advanced.orb +5 -8
  372. package/dist/exports/molecules/std-geospatial.orb +363 -539
  373. package/dist/exports/molecules/std-inventory.orb +390 -720
  374. package/dist/exports/molecules/std-list.orb +526 -1156
  375. package/dist/exports/molecules/std-messaging.orb +295 -452
  376. package/dist/exports/molecules/std-negotiator-game.orb +5 -4
  377. package/dist/exports/molecules/std-platformer-game.orb +5 -4
  378. package/dist/exports/molecules/std-puzzle-game.orb +5 -4
  379. package/dist/exports/molecules/std-quiz.orb +5 -4
  380. package/dist/exports/molecules/std-sequencer-game.orb +5 -4
  381. package/dist/exports/molecules/std-service-content-pipeline.orb +5 -4
  382. package/dist/exports/molecules/std-service-custom-api-tester.orb +5 -42
  383. package/dist/exports/molecules/std-service-devops-toolkit.orb +5 -4
  384. package/dist/exports/molecules/std-service-notification-hub.orb +5 -4
  385. package/dist/exports/molecules/std-service-payment-flow.orb +5 -4
  386. package/dist/exports/molecules/std-simulator-game.orb +5 -4
  387. package/dist/exports/molecules/std-turn-based-battle.orb +5 -4
  388. package/dist/exports/organisms/std-agent-assistant.orb +15 -143
  389. package/dist/exports/organisms/std-agent-builder.orb +814 -1476
  390. package/dist/exports/organisms/std-agent-pipeline.orb +785 -1567
  391. package/dist/exports/organisms/std-agent-reviewer.orb +299 -502
  392. package/dist/exports/organisms/std-agent-tutor.orb +306 -493
  393. package/dist/exports/organisms/std-api-gateway.orb +284 -626
  394. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  395. package/dist/exports/organisms/std-booking-system.orb +1422 -2160
  396. package/dist/exports/organisms/std-cicd-pipeline.orb +274 -617
  397. package/dist/exports/organisms/std-cms.orb +1274 -1972
  398. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  399. package/dist/exports/organisms/std-crm.orb +999 -1775
  400. package/dist/exports/organisms/std-devops-dashboard.orb +284 -638
  401. package/dist/exports/organisms/std-ecommerce.orb +1653 -2398
  402. package/dist/exports/organisms/std-finance-tracker.orb +340 -684
  403. package/dist/exports/organisms/std-healthcare.orb +984 -1838
  404. package/dist/exports/organisms/std-helpdesk.orb +340 -744
  405. package/dist/exports/organisms/std-hr-portal.orb +1401 -2151
  406. package/dist/exports/organisms/std-iot-dashboard.orb +284 -626
  407. package/dist/exports/organisms/std-lms.orb +284 -632
  408. package/dist/exports/organisms/std-logic-training.orb +4 -4
  409. package/dist/exports/organisms/std-platformer-app.orb +15 -98
  410. package/dist/exports/organisms/std-project-manager.orb +970 -1774
  411. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  412. package/dist/exports/organisms/std-realtime-chat.orb +364 -714
  413. package/dist/exports/organisms/std-rpg-game.orb +15 -102
  414. package/dist/exports/organisms/std-service-marketplace.orb +1589 -2361
  415. package/dist/exports/organisms/std-service-research-assistant.orb +4 -15
  416. package/dist/exports/organisms/std-social-feed.orb +62 -66
  417. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  418. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  419. package/dist/exports/organisms/std-trading-dashboard.orb +274 -620
  420. package/dist/index.js.map +1 -1
  421. package/package.json +2 -2
@@ -1,8 +1,24 @@
1
1
  {
2
- "name": "LocationOrbital",
2
+ "name": "std-geospatial",
3
+ "version": "1.0.0",
4
+ "description": "Location selection molecule. Composes atoms via shared event bus: - stdBrowse: location list with \"Select\" item action (fires SELECT) - stdModal: select/view location detail (responds to SELECT) - stdConfirmation: confirm location selection (responds to CONFIRM_SELECT)",
3
5
  "orbitals": [
4
6
  {
5
7
  "name": "LocationOrbital",
8
+ "uses": [
9
+ {
10
+ "from": "std/behaviors/std-browse",
11
+ "as": "Browse"
12
+ },
13
+ {
14
+ "from": "std/behaviors/std-confirmation",
15
+ "as": "Confirmation"
16
+ },
17
+ {
18
+ "from": "std/behaviors/std-modal",
19
+ "as": "Modal"
20
+ }
21
+ ],
6
22
  "entity": {
7
23
  "name": "Location",
8
24
  "persistence": "persistent",
@@ -43,614 +59,423 @@
43
59
  },
44
60
  "traits": [
45
61
  {
62
+ "ref": "Browse.traits.BrowseItemBrowse",
46
63
  "name": "LocationBrowse",
47
64
  "linkedEntity": "Location",
48
- "category": "interaction",
49
- "listens": [
50
- {
51
- "event": "CONFIRMED",
52
- "triggers": "CONFIRMED"
53
- }
54
- ],
55
- "stateMachine": {
56
- "states": [
57
- {
58
- "name": "browsing",
59
- "isInitial": true
60
- }
61
- ],
62
- "events": [
63
- {
64
- "key": "INIT",
65
- "name": "Initialize"
66
- },
67
- {
68
- "key": "SELECT",
69
- "name": "SELECT",
70
- "payload": [
71
- {
72
- "name": "id",
73
- "type": "string",
74
- "required": true
75
- },
76
- {
77
- "name": "row",
78
- "type": "object"
79
- }
80
- ]
81
- },
82
- {
83
- "key": "CONFIRMED",
84
- "name": "CONFIRMED",
85
- "payload": [
86
- {
87
- "name": "data",
88
- "type": "object",
89
- "required": true
90
- }
91
- ]
92
- }
93
- ],
94
- "transitions": [
95
- {
96
- "from": "browsing",
97
- "to": "browsing",
98
- "event": "INIT",
99
- "effects": [
100
- [
101
- "ref",
102
- "Location"
103
- ],
104
- [
105
- "render-ui",
106
- "main",
65
+ "effects": {
66
+ "INIT": [
67
+ [
68
+ "ref",
69
+ "Location"
70
+ ],
71
+ [
72
+ "render-ui",
73
+ "main",
74
+ {
75
+ "type": "stack",
76
+ "direction": "vertical",
77
+ "gap": "lg",
78
+ "className": "max-w-5xl mx-auto w-full",
79
+ "children": [
107
80
  {
108
81
  "type": "stack",
109
- "direction": "vertical",
110
- "gap": "lg",
111
- "className": "max-w-5xl mx-auto w-full",
82
+ "direction": "horizontal",
83
+ "gap": "md",
84
+ "justify": "space-between",
85
+ "align": "center",
112
86
  "children": [
113
87
  {
114
88
  "type": "stack",
115
89
  "direction": "horizontal",
116
- "gap": "md",
117
- "justify": "space-between",
90
+ "gap": "sm",
118
91
  "align": "center",
119
92
  "children": [
120
93
  {
121
- "type": "stack",
122
- "direction": "horizontal",
123
- "gap": "sm",
124
- "align": "center",
125
- "children": [
126
- {
127
- "type": "icon",
128
- "name": "map-pin",
129
- "size": "lg"
130
- },
131
- {
132
- "type": "typography",
133
- "content": "Locations Picker",
134
- "variant": "h2"
135
- }
136
- ]
94
+ "type": "icon",
95
+ "name": "map-pin",
96
+ "size": "lg"
97
+ },
98
+ {
99
+ "type": "typography",
100
+ "content": "Locations Picker",
101
+ "variant": "h2"
137
102
  }
138
103
  ]
139
- },
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "type": "divider"
109
+ },
110
+ {
111
+ "type": "data-grid",
112
+ "entity": "Location",
113
+ "emptyIcon": "inbox",
114
+ "emptyTitle": "No locations found",
115
+ "emptyDescription": "No locations are available to select.",
116
+ "itemActions": [
140
117
  {
141
- "type": "divider"
118
+ "label": "Select Location",
119
+ "event": "SELECT",
120
+ "variant": "ghost",
121
+ "size": "sm"
122
+ }
123
+ ],
124
+ "columns": [
125
+ {
126
+ "name": "name",
127
+ "label": "Name",
128
+ "variant": "h4",
129
+ "icon": "map-pin"
142
130
  },
143
131
  {
144
- "type": "data-grid",
145
- "entity": "Location",
146
- "emptyIcon": "inbox",
147
- "emptyTitle": "No locations found",
148
- "emptyDescription": "No locations are available to select.",
149
- "itemActions": [
150
- {
151
- "label": "Select Location",
152
- "event": "SELECT",
153
- "variant": "ghost",
154
- "size": "sm"
155
- }
156
- ],
157
- "columns": [
158
- {
159
- "name": "name",
160
- "label": "Name",
161
- "variant": "h4",
162
- "icon": "map-pin"
163
- },
164
- {
165
- "name": "description",
166
- "label": "Description",
167
- "variant": "badge",
168
- "colorMap": {
169
- "active": "success",
170
- "completed": "success",
171
- "done": "success",
172
- "pending": "warning",
173
- "draft": "warning",
174
- "scheduled": "warning",
175
- "inactive": "neutral",
176
- "archived": "neutral",
177
- "disabled": "neutral",
178
- "error": "destructive",
179
- "cancelled": "destructive",
180
- "failed": "destructive"
181
- }
182
- },
183
- {
184
- "name": "status",
185
- "label": "Status",
186
- "variant": "caption"
187
- }
188
- ]
132
+ "name": "description",
133
+ "label": "Description",
134
+ "variant": "badge",
135
+ "colorMap": {
136
+ "active": "success",
137
+ "completed": "success",
138
+ "done": "success",
139
+ "pending": "warning",
140
+ "draft": "warning",
141
+ "scheduled": "warning",
142
+ "inactive": "neutral",
143
+ "archived": "neutral",
144
+ "disabled": "neutral",
145
+ "error": "destructive",
146
+ "cancelled": "destructive",
147
+ "failed": "destructive"
148
+ }
189
149
  },
190
150
  {
191
- "type": "floating-action-button",
192
- "icon": "plus",
193
- "event": "INIT",
194
- "label": "Create",
195
- "tooltip": "Create"
151
+ "name": "status",
152
+ "label": "Status",
153
+ "variant": "caption"
196
154
  }
197
155
  ]
156
+ },
157
+ {
158
+ "type": "floating-action-button",
159
+ "icon": "plus",
160
+ "event": "INIT",
161
+ "label": "Create",
162
+ "tooltip": "Create"
198
163
  }
199
164
  ]
200
- ]
201
- },
202
- {
203
- "from": "browsing",
204
- "to": "browsing",
205
- "event": "CONFIRMED",
206
- "effects": [
207
- [
208
- "ref",
209
- "Location"
210
- ]
211
- ]
212
- }
165
+ }
166
+ ]
213
167
  ]
214
168
  }
215
169
  },
216
170
  {
171
+ "ref": "Modal.traits.ModalRecordModal",
217
172
  "name": "LocationSelect",
218
173
  "linkedEntity": "Location",
219
- "category": "interaction",
220
- "stateMachine": {
221
- "states": [
222
- {
223
- "name": "closed",
224
- "isInitial": true
225
- },
226
- {
227
- "name": "open"
228
- }
229
- ],
230
- "events": [
231
- {
232
- "key": "INIT",
233
- "name": "Initialize"
234
- },
235
- {
236
- "key": "SELECT",
237
- "name": "Open",
238
- "payload": [
239
- {
240
- "name": "id",
241
- "type": "string",
242
- "required": true
243
- }
244
- ]
245
- },
246
- {
247
- "key": "CLOSE",
248
- "name": "Close"
249
- },
250
- {
251
- "key": "CONFIRM_SELECT",
252
- "name": "Save",
253
- "payload": [
254
- {
255
- "name": "data",
256
- "type": "object",
257
- "required": true
258
- }
259
- ]
260
- }
174
+ "events": {
175
+ "OPEN": "SELECT",
176
+ "SAVE": "CONFIRM_SELECT"
177
+ },
178
+ "effects": {
179
+ "INIT": [
180
+ [
181
+ "ref",
182
+ "Location"
183
+ ]
261
184
  ],
262
- "transitions": [
263
- {
264
- "from": "closed",
265
- "to": "closed",
266
- "event": "INIT",
267
- "effects": [
268
- [
269
- "ref",
270
- "Location"
271
- ]
272
- ]
273
- },
274
- {
275
- "from": "closed",
276
- "to": "open",
277
- "event": "SELECT",
278
- "effects": [
279
- [
280
- "fetch",
281
- "Location",
185
+ "SELECT": [
186
+ [
187
+ "fetch",
188
+ "Location",
189
+ {
190
+ "id": "@payload.id"
191
+ }
192
+ ],
193
+ [
194
+ "render-ui",
195
+ "modal",
196
+ {
197
+ "type": "stack",
198
+ "direction": "vertical",
199
+ "gap": "md",
200
+ "children": [
282
201
  {
283
- "id": "@payload.id"
284
- }
285
- ],
286
- [
287
- "render-ui",
288
- "modal",
202
+ "type": "stack",
203
+ "direction": "horizontal",
204
+ "gap": "sm",
205
+ "align": "center",
206
+ "children": [
207
+ {
208
+ "type": "icon",
209
+ "name": "map-pin",
210
+ "size": "md"
211
+ },
212
+ {
213
+ "type": "typography",
214
+ "variant": "h3",
215
+ "content": "@entity.name"
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "type": "divider"
221
+ },
289
222
  {
290
223
  "type": "stack",
291
- "direction": "vertical",
224
+ "direction": "horizontal",
292
225
  "gap": "md",
293
226
  "children": [
294
227
  {
295
- "type": "stack",
296
- "direction": "horizontal",
297
- "gap": "sm",
298
- "align": "center",
299
- "children": [
300
- {
301
- "type": "icon",
302
- "name": "map-pin",
303
- "size": "md"
304
- },
305
- {
306
- "type": "typography",
307
- "variant": "h3",
308
- "content": "@entity.name"
309
- }
310
- ]
228
+ "type": "typography",
229
+ "variant": "caption",
230
+ "content": "Name"
311
231
  },
312
232
  {
313
- "type": "divider"
314
- },
233
+ "type": "typography",
234
+ "variant": "body",
235
+ "content": "@entity.name"
236
+ }
237
+ ]
238
+ },
239
+ {
240
+ "type": "stack",
241
+ "direction": "horizontal",
242
+ "gap": "md",
243
+ "children": [
315
244
  {
316
- "type": "stack",
317
- "direction": "horizontal",
318
- "gap": "md",
319
- "children": [
320
- {
321
- "type": "typography",
322
- "variant": "caption",
323
- "content": "Name"
324
- },
325
- {
326
- "type": "typography",
327
- "variant": "body",
328
- "content": "@entity.name"
329
- }
330
- ]
245
+ "type": "typography",
246
+ "variant": "caption",
247
+ "content": "Description"
331
248
  },
332
249
  {
333
- "type": "stack",
334
- "direction": "horizontal",
335
- "gap": "md",
336
- "children": [
337
- {
338
- "type": "typography",
339
- "variant": "caption",
340
- "content": "Description"
341
- },
342
- {
343
- "type": "typography",
344
- "variant": "body",
345
- "content": "@entity.description"
346
- }
347
- ]
348
- },
250
+ "type": "typography",
251
+ "variant": "body",
252
+ "content": "@entity.description"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ "type": "stack",
258
+ "direction": "horizontal",
259
+ "gap": "md",
260
+ "children": [
349
261
  {
350
- "type": "stack",
351
- "direction": "horizontal",
352
- "gap": "md",
353
- "children": [
354
- {
355
- "type": "typography",
356
- "variant": "caption",
357
- "content": "Status"
358
- },
359
- {
360
- "type": "typography",
361
- "variant": "body",
362
- "content": "@entity.status"
363
- }
364
- ]
262
+ "type": "typography",
263
+ "variant": "caption",
264
+ "content": "Status"
365
265
  },
366
266
  {
367
- "type": "stack",
368
- "direction": "horizontal",
369
- "gap": "md",
370
- "children": [
371
- {
372
- "type": "typography",
373
- "variant": "caption",
374
- "content": "Created At"
375
- },
376
- {
377
- "type": "typography",
378
- "variant": "body",
379
- "content": "@entity.createdAt"
380
- }
381
- ]
267
+ "type": "typography",
268
+ "variant": "body",
269
+ "content": "@entity.status"
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "type": "stack",
275
+ "direction": "horizontal",
276
+ "gap": "md",
277
+ "children": [
278
+ {
279
+ "type": "typography",
280
+ "variant": "caption",
281
+ "content": "Created At"
382
282
  },
383
283
  {
384
- "type": "stack",
385
- "direction": "horizontal",
386
- "gap": "md",
387
- "children": [
388
- {
389
- "type": "typography",
390
- "variant": "caption",
391
- "content": "Pending ID"
392
- },
393
- {
394
- "type": "typography",
395
- "variant": "body",
396
- "content": "@entity.pendingId"
397
- }
398
- ]
284
+ "type": "typography",
285
+ "variant": "body",
286
+ "content": "@entity.createdAt"
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "type": "stack",
292
+ "direction": "horizontal",
293
+ "gap": "md",
294
+ "children": [
295
+ {
296
+ "type": "typography",
297
+ "variant": "caption",
298
+ "content": "Pending ID"
399
299
  },
400
300
  {
401
- "type": "divider"
301
+ "type": "typography",
302
+ "variant": "body",
303
+ "content": "@entity.pendingId"
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "type": "divider"
309
+ },
310
+ {
311
+ "type": "stack",
312
+ "direction": "horizontal",
313
+ "gap": "sm",
314
+ "justify": "end",
315
+ "children": [
316
+ {
317
+ "type": "button",
318
+ "label": "Cancel",
319
+ "event": "CLOSE",
320
+ "variant": "ghost"
402
321
  },
403
322
  {
404
- "type": "stack",
405
- "direction": "horizontal",
406
- "gap": "sm",
407
- "justify": "end",
408
- "children": [
409
- {
410
- "type": "button",
411
- "label": "Cancel",
412
- "event": "CLOSE",
413
- "variant": "ghost"
414
- },
415
- {
416
- "type": "button",
417
- "label": "Confirm Selection",
418
- "event": "CONFIRM_SELECT",
419
- "variant": "primary",
420
- "icon": "check"
421
- }
422
- ]
323
+ "type": "button",
324
+ "label": "Confirm Selection",
325
+ "event": "CONFIRM_SELECT",
326
+ "variant": "primary",
327
+ "icon": "check"
423
328
  }
424
329
  ]
425
330
  }
426
331
  ]
427
- ]
428
- },
429
- {
430
- "from": "open",
431
- "to": "closed",
432
- "event": "CLOSE",
433
- "effects": [
434
- [
435
- "render-ui",
436
- "modal",
437
- null
438
- ],
439
- [
440
- "notify",
441
- "Cancelled",
442
- "info"
443
- ]
444
- ]
445
- },
446
- {
447
- "from": "open",
448
- "to": "closed",
449
- "event": "CONFIRM_SELECT",
450
- "effects": [
451
- [
452
- "render-ui",
453
- "modal",
454
- null
455
- ]
456
- ]
457
- }
332
+ }
333
+ ]
334
+ ],
335
+ "CLOSE": [
336
+ [
337
+ "render-ui",
338
+ "modal",
339
+ null
340
+ ],
341
+ [
342
+ "notify",
343
+ "Cancelled",
344
+ "info"
345
+ ]
346
+ ],
347
+ "CONFIRM_SELECT": [
348
+ [
349
+ "render-ui",
350
+ "modal",
351
+ null
352
+ ]
458
353
  ]
459
354
  }
460
355
  },
461
356
  {
357
+ "ref": "Confirmation.traits.ConfirmActionConfirmation",
462
358
  "name": "LocationConfirmSelect",
463
359
  "linkedEntity": "Location",
464
- "category": "interaction",
465
- "emits": [
466
- {
467
- "event": "CONFIRMED"
468
- }
469
- ],
470
- "stateMachine": {
471
- "states": [
472
- {
473
- "name": "idle",
474
- "isInitial": true
475
- },
476
- {
477
- "name": "confirming"
478
- }
479
- ],
480
- "events": [
481
- {
482
- "key": "INIT",
483
- "name": "Initialize"
484
- },
485
- {
486
- "key": "CONFIRM_SELECT",
487
- "name": "Request Confirmation",
488
- "payload": [
489
- {
490
- "name": "id",
491
- "type": "string",
492
- "required": true
493
- }
494
- ]
495
- },
496
- {
497
- "key": "CONFIRMED",
498
- "name": "Confirm"
499
- },
500
- {
501
- "key": "CANCEL",
502
- "name": "Cancel"
503
- },
504
- {
505
- "key": "CLOSE",
506
- "name": "Close"
507
- }
360
+ "events": {
361
+ "REQUEST": "CONFIRM_SELECT",
362
+ "CONFIRM": "CONFIRMED"
363
+ },
364
+ "effects": {
365
+ "INIT": [
366
+ [
367
+ "ref",
368
+ "Location"
369
+ ]
508
370
  ],
509
- "transitions": [
510
- {
511
- "from": "idle",
512
- "to": "idle",
513
- "event": "INIT",
514
- "effects": [
515
- [
516
- "ref",
517
- "Location"
518
- ]
519
- ]
520
- },
521
- {
522
- "from": "idle",
523
- "to": "confirming",
524
- "event": "CONFIRM_SELECT",
525
- "effects": [
526
- [
527
- "set",
528
- "@entity.pendingId",
529
- "@payload.id"
530
- ],
531
- [
532
- "fetch",
533
- "Location",
534
- {
535
- "id": "@payload.id"
536
- }
537
- ],
538
- [
539
- "render-ui",
540
- "modal",
371
+ "CONFIRM_SELECT": [
372
+ [
373
+ "set",
374
+ "@entity.pendingId",
375
+ "@payload.id"
376
+ ],
377
+ [
378
+ "fetch",
379
+ "Location",
380
+ {
381
+ "id": "@payload.id"
382
+ }
383
+ ],
384
+ [
385
+ "render-ui",
386
+ "modal",
387
+ {
388
+ "type": "stack",
389
+ "direction": "vertical",
390
+ "gap": "md",
391
+ "children": [
541
392
  {
542
393
  "type": "stack",
543
- "direction": "vertical",
544
- "gap": "md",
394
+ "direction": "horizontal",
395
+ "gap": "sm",
396
+ "align": "center",
545
397
  "children": [
546
398
  {
547
- "type": "stack",
548
- "direction": "horizontal",
549
- "gap": "sm",
550
- "align": "center",
551
- "children": [
552
- {
553
- "type": "icon",
554
- "name": "alert-triangle",
555
- "size": "md"
556
- },
557
- {
558
- "type": "typography",
559
- "content": "Confirm Location Selection",
560
- "variant": "h3"
561
- }
562
- ]
399
+ "type": "icon",
400
+ "name": "alert-triangle",
401
+ "size": "md"
563
402
  },
564
403
  {
565
- "type": "divider"
566
- },
404
+ "type": "typography",
405
+ "content": "Confirm Location Selection",
406
+ "variant": "h3"
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ "type": "divider"
412
+ },
413
+ {
414
+ "type": "alert",
415
+ "variant": "danger",
416
+ "message": "Are you sure you want to select this location?"
417
+ },
418
+ {
419
+ "type": "stack",
420
+ "direction": "horizontal",
421
+ "gap": "sm",
422
+ "justify": "end",
423
+ "children": [
567
424
  {
568
- "type": "alert",
569
- "variant": "danger",
570
- "message": "Are you sure you want to select this location?"
425
+ "type": "button",
426
+ "label": "Cancel",
427
+ "event": "CANCEL",
428
+ "variant": "ghost"
571
429
  },
572
430
  {
573
- "type": "stack",
574
- "direction": "horizontal",
575
- "gap": "sm",
576
- "justify": "end",
577
- "children": [
578
- {
579
- "type": "button",
580
- "label": "Cancel",
581
- "event": "CANCEL",
582
- "variant": "ghost"
583
- },
584
- {
585
- "type": "button",
586
- "label": "Confirm",
587
- "event": "CONFIRMED",
588
- "variant": "danger",
589
- "icon": "check"
590
- }
591
- ]
431
+ "type": "button",
432
+ "label": "Confirm",
433
+ "event": "CONFIRMED",
434
+ "variant": "danger",
435
+ "icon": "check"
592
436
  }
593
437
  ]
594
438
  }
595
439
  ]
596
- ]
597
- },
598
- {
599
- "from": "confirming",
600
- "to": "idle",
601
- "event": "CONFIRMED",
602
- "effects": [
603
- [
604
- "fetch",
605
- "Location"
606
- ],
607
- [
608
- "render-ui",
609
- "modal",
610
- null
611
- ],
612
- [
613
- "ref",
614
- "Location"
615
- ],
616
- [
617
- "emit",
618
- "CONFIRMED"
619
- ]
620
- ]
621
- },
622
- {
623
- "from": "confirming",
624
- "to": "idle",
625
- "event": "CANCEL",
626
- "effects": [
627
- [
628
- "render-ui",
629
- "modal",
630
- null
631
- ],
632
- [
633
- "ref",
634
- "Location"
635
- ]
636
- ]
637
- },
638
- {
639
- "from": "confirming",
640
- "to": "idle",
641
- "event": "CLOSE",
642
- "effects": [
643
- [
644
- "render-ui",
645
- "modal",
646
- null
647
- ],
648
- [
649
- "ref",
650
- "Location"
651
- ]
652
- ]
653
- }
440
+ }
441
+ ]
442
+ ],
443
+ "CONFIRMED": [
444
+ [
445
+ "fetch",
446
+ "Location"
447
+ ],
448
+ [
449
+ "render-ui",
450
+ "modal",
451
+ null
452
+ ],
453
+ [
454
+ "ref",
455
+ "Location"
456
+ ]
457
+ ],
458
+ "CANCEL": [
459
+ [
460
+ "render-ui",
461
+ "modal",
462
+ null
463
+ ],
464
+ [
465
+ "ref",
466
+ "Location"
467
+ ]
468
+ ],
469
+ "CLOSE": [
470
+ [
471
+ "render-ui",
472
+ "modal",
473
+ null
474
+ ],
475
+ [
476
+ "ref",
477
+ "Location"
478
+ ]
654
479
  ]
655
480
  }
656
481
  }
@@ -673,6 +498,5 @@
673
498
  }
674
499
  ]
675
500
  }
676
- ],
677
- "description": "Location selection molecule. Composes atoms via shared event bus: - stdBrowse: location list with \"Select\" item action (fires SELECT) - stdModal: select/view location detail (responds to SELECT) - stdConfirmation: confirm location selection (responds to CONFIRM_SELECT) No emits/listens wiring. Traits on the same page share the event bus. Only the trait with a matching transition from its current state responds."
678
- }
501
+ ]
502
+ }