@almadar/std 6.1.0 → 6.1.7

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 (446) hide show
  1. package/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  2. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  3. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  4. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  5. package/behaviors/{exports → registry}/atoms/std-agent-context-window.orb +4 -8
  6. package/behaviors/{exports → registry}/atoms/std-agent-conversation.orb +4 -79
  7. package/{dist/exports → behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  8. package/behaviors/{exports → registry}/atoms/std-agent-provider.orb +9 -14
  9. package/{dist/exports → behaviors/registry}/atoms/std-agent-search.orb +5 -8
  10. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  11. package/behaviors/{exports → registry}/atoms/std-agent-step-progress.orb +4 -8
  12. package/{dist/exports → behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  13. package/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  14. package/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  15. package/{dist/exports → behaviors/registry}/atoms/std-autoregressive.orb +13 -2
  16. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  17. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  18. package/{dist/exports → behaviors/registry}/atoms/std-calendar.orb +4 -8
  19. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  20. package/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  21. package/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  22. package/{dist/exports → behaviors/registry}/atoms/std-combat-log.orb +4 -8
  23. package/behaviors/{exports → registry}/atoms/std-combat.orb +4 -8
  24. package/{dist/exports → behaviors/registry}/atoms/std-confirmation.orb +6 -5
  25. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  26. package/behaviors/{exports → registry}/atoms/std-display.orb +4 -153
  27. package/{dist/exports → behaviors/registry}/atoms/std-drawer.orb +4 -58
  28. package/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  29. package/{dist/exports → behaviors/registry}/atoms/std-flip-card.orb +4 -8
  30. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-gallery.orb +4 -8
  31. package/{dist/exports → behaviors/registry}/atoms/std-game-audio.orb +4 -8
  32. package/{dist/exports → behaviors/registry}/atoms/std-game-canvas2d.orb +3 -6
  33. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  34. package/{dist/exports → behaviors/registry}/atoms/std-game-hud.orb +4 -16
  35. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-menu.orb +4 -8
  36. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  37. package/{dist/exports → behaviors/registry}/atoms/std-gameflow.orb +4 -8
  38. package/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  39. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-input.orb +4 -8
  40. package/{dist/exports → behaviors/registry}/atoms/std-inventory-panel.orb +4 -12
  41. package/{dist/exports → behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  42. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-loading.orb +4 -8
  43. package/behaviors/{exports → registry}/atoms/std-modal.orb +12 -9
  44. package/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  45. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  46. package/{dist/exports → behaviors/registry}/atoms/std-overworld.orb +4 -8
  47. package/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  48. package/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  49. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  50. package/{dist/exports → behaviors/registry}/atoms/std-quest.orb +5 -14
  51. package/{dist/exports → behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  52. package/{dist/exports → behaviors/registry}/atoms/std-rating.orb +4 -8
  53. package/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  54. package/{dist/exports → behaviors/registry}/atoms/std-score-board.orb +4 -8
  55. package/{dist/exports → behaviors/registry}/atoms/std-score.orb +4 -8
  56. package/{dist/exports → behaviors/registry}/atoms/std-search.orb +4 -8
  57. package/{dist/exports → behaviors/registry}/atoms/std-selection.orb +4 -8
  58. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-bearer.orb +4 -19
  59. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-header.orb +4 -21
  60. package/behaviors/{exports → registry}/atoms/std-service-custom-noauth.orb +4 -15
  61. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  62. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  63. package/{dist/exports → behaviors/registry}/atoms/std-service-github.orb +4 -8
  64. package/behaviors/{exports → registry}/atoms/std-service-llm.orb +4 -8
  65. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  66. package/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  67. package/{dist/exports → behaviors/registry}/atoms/std-service-storage.orb +4 -8
  68. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  69. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  70. package/{dist/exports → behaviors/registry}/atoms/std-service-youtube.orb +4 -8
  71. package/{dist/exports → behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  72. package/{dist/exports → behaviors/registry}/atoms/std-sort.orb +4 -52
  73. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-sprite.orb +4 -8
  74. package/behaviors/{exports → registry}/atoms/std-tabs.orb +4 -16
  75. package/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  76. package/{dist/exports → behaviors/registry}/atoms/std-text-effects.orb +4 -8
  77. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  78. package/behaviors/{exports → registry}/atoms/std-timer.orb +4 -8
  79. package/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  80. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  81. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  82. package/{dist/exports → behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  83. package/{dist/exports → behaviors/registry}/atoms/std-wizard.orb +4 -26
  84. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  85. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  86. package/behaviors/{exports → registry}/molecules/std-agent-planner.orb +613 -869
  87. package/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  88. package/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  89. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  90. package/{dist/exports → behaviors/registry}/molecules/std-cart.orb +197 -318
  91. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  92. package/{dist/exports → behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  93. package/behaviors/registry/molecules/std-detail.orb +439 -0
  94. package/behaviors/{exports → registry}/molecules/std-event-handler-game.orb +4 -8
  95. package/{dist/exports → behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  96. package/behaviors/registry/molecules/std-geospatial.orb +502 -0
  97. package/behaviors/registry/molecules/std-inventory.orb +564 -0
  98. package/behaviors/registry/molecules/std-list.orb +707 -0
  99. package/behaviors/registry/molecules/std-messaging.orb +424 -0
  100. package/behaviors/{exports → registry}/molecules/std-negotiator-game.orb +4 -8
  101. package/behaviors/{exports → registry}/molecules/std-platformer-game.orb +4 -8
  102. package/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  103. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-quiz.orb +4 -8
  104. package/{dist/exports → behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  105. package/behaviors/{exports → registry}/molecules/std-service-content-pipeline.orb +4 -8
  106. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  107. package/{dist/exports → behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  108. package/{dist/exports → behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  109. package/{dist/exports → behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  110. package/behaviors/{exports → registry}/molecules/std-simulator-game.orb +4 -8
  111. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  112. package/{dist/exports → behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  113. package/behaviors/{exports → registry}/organisms/std-agent-builder.orb +816 -1320
  114. package/{dist/exports → behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  115. package/{dist/exports → behaviors/registry}/organisms/std-agent-reviewer.orb +308 -372
  116. package/{dist/exports → behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  117. package/{dist/exports → behaviors/registry}/organisms/std-api-gateway.orb +24 -26
  118. package/{dist/exports → behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  119. package/{dist/exports → behaviors/registry}/organisms/std-booking-system.orb +44 -48
  120. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  121. package/behaviors/{exports → registry}/organisms/std-cms.orb +50 -55
  122. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  123. package/{dist/exports → behaviors/registry}/organisms/std-crm.orb +50 -55
  124. package/{dist/exports → behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  125. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  126. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  127. package/{dist/exports → behaviors/registry}/organisms/std-healthcare.orb +50 -55
  128. package/{dist/exports → behaviors/registry}/organisms/std-helpdesk.orb +30 -33
  129. package/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  130. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  131. package/{dist/exports → behaviors/registry}/organisms/std-lms.orb +24 -26
  132. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-logic-training.orb +4 -4
  133. package/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  134. package/behaviors/{exports → registry}/organisms/std-project-manager.orb +44 -48
  135. package/{dist/exports → behaviors/registry}/organisms/std-puzzle-app.orb +4 -4
  136. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  137. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  138. package/{dist/exports → behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  139. package/{dist/exports → behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  140. package/behaviors/{exports → registry}/organisms/std-social-feed.orb +16 -18
  141. package/behaviors/{exports → registry}/organisms/std-stem-lab.orb +4 -4
  142. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  143. package/{dist/exports → behaviors/registry}/organisms/std-trading-dashboard.orb +24 -30
  144. package/dist/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  145. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  146. package/dist/{exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  147. package/dist/{exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  148. package/dist/{exports → behaviors/registry}/atoms/std-agent-context-window.orb +4 -8
  149. package/dist/{exports → behaviors/registry}/atoms/std-agent-conversation.orb +4 -79
  150. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  151. package/dist/{exports → behaviors/registry}/atoms/std-agent-provider.orb +9 -14
  152. package/dist/behaviors/{exports → registry}/atoms/std-agent-search.orb +5 -8
  153. package/dist/{exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  154. package/dist/{exports → behaviors/registry}/atoms/std-agent-step-progress.orb +4 -8
  155. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  156. package/dist/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  157. package/dist/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  158. package/dist/behaviors/{exports → registry}/atoms/std-autoregressive.orb +13 -2
  159. package/dist/{exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  160. package/dist/{exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  161. package/dist/behaviors/{exports → registry}/atoms/std-calendar.orb +4 -8
  162. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  163. package/dist/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  164. package/dist/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  165. package/dist/behaviors/{exports → registry}/atoms/std-combat-log.orb +4 -8
  166. package/dist/{exports → behaviors/registry}/atoms/std-combat.orb +4 -8
  167. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-confirmation.orb +6 -5
  168. package/dist/{exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  169. package/dist/{exports → behaviors/registry}/atoms/std-display.orb +4 -153
  170. package/dist/behaviors/{exports → registry}/atoms/std-drawer.orb +4 -58
  171. package/dist/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  172. package/dist/behaviors/{exports → registry}/atoms/std-flip-card.orb +4 -8
  173. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-gallery.orb +4 -8
  174. package/dist/behaviors/{exports → registry}/atoms/std-game-audio.orb +4 -8
  175. package/dist/behaviors/{exports → registry}/atoms/std-game-canvas2d.orb +3 -6
  176. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  177. package/dist/behaviors/{exports → registry}/atoms/std-game-hud.orb +4 -16
  178. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-menu.orb +4 -8
  179. package/dist/{exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  180. package/dist/behaviors/{exports → registry}/atoms/std-gameflow.orb +4 -8
  181. package/dist/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  182. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-input.orb +4 -8
  183. package/dist/behaviors/{exports → registry}/atoms/std-inventory-panel.orb +4 -12
  184. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  185. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-loading.orb +4 -8
  186. package/dist/{exports → behaviors/registry}/atoms/std-modal.orb +12 -9
  187. package/dist/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  188. package/dist/{exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  189. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-overworld.orb +4 -8
  190. package/dist/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  191. package/dist/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  192. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  193. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-quest.orb +5 -14
  194. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  195. package/dist/behaviors/{exports → registry}/atoms/std-rating.orb +4 -8
  196. package/dist/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  197. package/dist/behaviors/{exports → registry}/atoms/std-score-board.orb +4 -8
  198. package/dist/behaviors/{exports → registry}/atoms/std-score.orb +4 -8
  199. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-search.orb +4 -8
  200. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-selection.orb +4 -8
  201. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-bearer.orb +4 -19
  202. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-header.orb +4 -21
  203. package/dist/{exports → behaviors/registry}/atoms/std-service-custom-noauth.orb +4 -15
  204. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  205. package/dist/{exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  206. package/dist/behaviors/{exports → registry}/atoms/std-service-github.orb +4 -8
  207. package/dist/{exports → behaviors/registry}/atoms/std-service-llm.orb +4 -8
  208. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  209. package/dist/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  210. package/dist/behaviors/{exports → registry}/atoms/std-service-storage.orb +4 -8
  211. package/dist/{exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  212. package/dist/{exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  213. package/dist/behaviors/{exports → registry}/atoms/std-service-youtube.orb +4 -8
  214. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  215. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sort.orb +4 -52
  216. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sprite.orb +4 -8
  217. package/dist/{exports → behaviors/registry}/atoms/std-tabs.orb +4 -16
  218. package/dist/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  219. package/dist/behaviors/{exports → registry}/atoms/std-text-effects.orb +4 -8
  220. package/dist/{exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  221. package/dist/{exports → behaviors/registry}/atoms/std-timer.orb +4 -8
  222. package/dist/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  223. package/dist/{exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  224. package/dist/{exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  225. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  226. package/dist/behaviors/{exports → registry}/atoms/std-wizard.orb +4 -26
  227. package/dist/{exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  228. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  229. package/dist/{exports → behaviors/registry}/molecules/std-agent-planner.orb +613 -869
  230. package/dist/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  231. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  232. package/dist/{exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  233. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-cart.orb +197 -318
  234. package/dist/{exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  235. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  236. package/dist/behaviors/registry/molecules/std-detail.orb +439 -0
  237. package/dist/{exports → behaviors/registry}/molecules/std-event-handler-game.orb +4 -8
  238. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  239. package/dist/behaviors/registry/molecules/std-geospatial.orb +502 -0
  240. package/dist/behaviors/registry/molecules/std-inventory.orb +564 -0
  241. package/dist/behaviors/registry/molecules/std-list.orb +707 -0
  242. package/dist/behaviors/registry/molecules/std-messaging.orb +424 -0
  243. package/dist/{exports → behaviors/registry}/molecules/std-negotiator-game.orb +4 -8
  244. package/dist/{exports → behaviors/registry}/molecules/std-platformer-game.orb +4 -8
  245. package/dist/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  246. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-quiz.orb +4 -8
  247. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  248. package/dist/{exports → behaviors/registry}/molecules/std-service-content-pipeline.orb +4 -8
  249. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  250. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  251. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  252. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  253. package/dist/{exports → behaviors/registry}/molecules/std-simulator-game.orb +4 -8
  254. package/dist/{exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  255. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  256. package/dist/{exports → behaviors/registry}/organisms/std-agent-builder.orb +816 -1320
  257. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  258. package/dist/behaviors/{exports → registry}/organisms/std-agent-reviewer.orb +308 -372
  259. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  260. package/dist/behaviors/{exports → registry}/organisms/std-api-gateway.orb +24 -26
  261. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  262. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-booking-system.orb +44 -48
  263. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  264. package/dist/{exports → behaviors/registry}/organisms/std-cms.orb +50 -55
  265. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  266. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-crm.orb +50 -55
  267. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  268. package/dist/{exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  269. package/dist/{exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  270. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-healthcare.orb +50 -55
  271. package/dist/behaviors/{exports → registry}/organisms/std-helpdesk.orb +30 -33
  272. package/dist/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  273. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  274. package/dist/behaviors/{exports → registry}/organisms/std-lms.orb +24 -26
  275. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-logic-training.orb +4 -4
  276. package/dist/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  277. package/dist/{exports → behaviors/registry}/organisms/std-project-manager.orb +44 -48
  278. package/dist/behaviors/{exports → registry}/organisms/std-puzzle-app.orb +4 -4
  279. package/dist/{exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  280. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  281. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  282. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  283. package/dist/{exports → behaviors/registry}/organisms/std-social-feed.orb +16 -18
  284. package/dist/{exports → behaviors/registry}/organisms/std-stem-lab.orb +4 -4
  285. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  286. package/dist/behaviors/{exports → registry}/organisms/std-trading-dashboard.orb +24 -30
  287. package/package.json +2 -2
  288. package/behaviors/exports/atoms/std-agent-classifier.orb +0 -879
  289. package/behaviors/exports/atoms/std-agent-completion.orb +0 -941
  290. package/behaviors/exports/atoms/std-agent-search.orb +0 -431
  291. package/behaviors/exports/atoms/std-agent-session.orb +0 -777
  292. package/behaviors/exports/atoms/std-autoregressive.orb +0 -420
  293. package/behaviors/exports/atoms/std-browse.orb +0 -251
  294. package/behaviors/exports/atoms/std-cache-aside.orb +0 -1101
  295. package/behaviors/exports/atoms/std-calendar.orb +0 -775
  296. package/behaviors/exports/atoms/std-combat-log.orb +0 -268
  297. package/behaviors/exports/atoms/std-dialogue-box.orb +0 -249
  298. package/behaviors/exports/atoms/std-drawer.orb +0 -578
  299. package/behaviors/exports/atoms/std-flip-card.orb +0 -601
  300. package/behaviors/exports/atoms/std-game-audio.orb +0 -350
  301. package/behaviors/exports/atoms/std-game-canvas2d.orb +0 -263
  302. package/behaviors/exports/atoms/std-game-hud.orb +0 -170
  303. package/behaviors/exports/atoms/std-game-over-screen.orb +0 -206
  304. package/behaviors/exports/atoms/std-gameflow.orb +0 -419
  305. package/behaviors/exports/atoms/std-inventory-panel.orb +0 -266
  306. package/behaviors/exports/atoms/std-notification.orb +0 -446
  307. package/behaviors/exports/atoms/std-rating.orb +0 -333
  308. package/behaviors/exports/atoms/std-score-board.orb +0 -249
  309. package/behaviors/exports/atoms/std-score.orb +0 -713
  310. package/behaviors/exports/atoms/std-service-custom-bearer.orb +0 -562
  311. package/behaviors/exports/atoms/std-service-custom-header.orb +0 -564
  312. package/behaviors/exports/atoms/std-service-email.orb +0 -545
  313. package/behaviors/exports/atoms/std-service-github.orb +0 -591
  314. package/behaviors/exports/atoms/std-service-storage.orb +0 -669
  315. package/behaviors/exports/atoms/std-service-stripe.orb +0 -644
  316. package/behaviors/exports/atoms/std-service-twilio.orb +0 -616
  317. package/behaviors/exports/atoms/std-service-youtube.orb +0 -701
  318. package/behaviors/exports/atoms/std-text-effects.orb +0 -663
  319. package/behaviors/exports/atoms/std-theme.orb +0 -578
  320. package/behaviors/exports/atoms/std-undo.orb +0 -830
  321. package/behaviors/exports/atoms/std-upload.orb +0 -540
  322. package/behaviors/exports/atoms/std-wizard.orb +0 -1120
  323. package/behaviors/exports/molecules/std-agent-fix-loop.orb +0 -3327
  324. package/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  325. package/behaviors/exports/molecules/std-builder-game.orb +0 -234
  326. package/behaviors/exports/molecules/std-classifier-game.orb +0 -234
  327. package/behaviors/exports/molecules/std-detail.orb +0 -621
  328. package/behaviors/exports/molecules/std-geospatial.orb +0 -657
  329. package/behaviors/exports/molecules/std-inventory.orb +0 -823
  330. package/behaviors/exports/molecules/std-list.orb +0 -1066
  331. package/behaviors/exports/molecules/std-messaging.orb +0 -605
  332. package/behaviors/exports/molecules/std-turn-based-battle.orb +0 -514
  333. package/behaviors/exports/organisms/std-agent-reviewer.orb +0 -5277
  334. package/behaviors/exports/organisms/std-api-gateway.orb +0 -3745
  335. package/behaviors/exports/organisms/std-ecommerce.orb +0 -4553
  336. package/behaviors/exports/organisms/std-finance-tracker.orb +0 -3091
  337. package/behaviors/exports/organisms/std-helpdesk.orb +0 -3328
  338. package/behaviors/exports/organisms/std-lms.orb +0 -3885
  339. package/behaviors/exports/organisms/std-puzzle-app.orb +0 -889
  340. package/behaviors/exports/organisms/std-realtime-chat.orb +0 -3428
  341. package/behaviors/exports/organisms/std-trading-dashboard.orb +0 -3080
  342. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  343. package/behaviors/exports/validation-report.json +0 -1672
  344. package/behaviors/exports/verify-results.json +0 -126
  345. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +0 -2299
  346. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +0 -1029
  347. package/dist/behaviors/exports/atoms/std-agent-memory.orb +0 -777
  348. package/dist/behaviors/exports/atoms/std-agent-provider.orb +0 -906
  349. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +0 -994
  350. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +0 -1621
  351. package/dist/behaviors/exports/atoms/std-combat.orb +0 -421
  352. package/dist/behaviors/exports/atoms/std-confirmation.orb +0 -496
  353. package/dist/behaviors/exports/atoms/std-display.orb +0 -1803
  354. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +0 -642
  355. package/dist/behaviors/exports/atoms/std-modal.orb +0 -425
  356. package/dist/behaviors/exports/atoms/std-overworld.orb +0 -517
  357. package/dist/behaviors/exports/atoms/std-quest.orb +0 -1262
  358. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +0 -897
  359. package/dist/behaviors/exports/atoms/std-search.orb +0 -394
  360. package/dist/behaviors/exports/atoms/std-selection.orb +0 -810
  361. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +0 -558
  362. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +0 -564
  363. package/dist/behaviors/exports/atoms/std-service-llm.orb +0 -676
  364. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +0 -194
  365. package/dist/behaviors/exports/atoms/std-sort.orb +0 -760
  366. package/dist/behaviors/exports/atoms/std-tabs.orb +0 -298
  367. package/dist/behaviors/exports/atoms/std-timer.orb +0 -1428
  368. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +0 -624
  369. package/dist/behaviors/exports/molecules/std-agent-planner.orb +0 -2037
  370. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  371. package/dist/behaviors/exports/molecules/std-cart.orb +0 -754
  372. package/dist/behaviors/exports/molecules/std-debugger-game.orb +0 -234
  373. package/dist/behaviors/exports/molecules/std-detail.orb +0 -621
  374. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +0 -234
  375. package/dist/behaviors/exports/molecules/std-form-advanced.orb +0 -659
  376. package/dist/behaviors/exports/molecules/std-geospatial.orb +0 -657
  377. package/dist/behaviors/exports/molecules/std-inventory.orb +0 -823
  378. package/dist/behaviors/exports/molecules/std-list.orb +0 -1066
  379. package/dist/behaviors/exports/molecules/std-messaging.orb +0 -605
  380. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +0 -234
  381. package/dist/behaviors/exports/molecules/std-platformer-game.orb +0 -557
  382. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +0 -234
  383. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +0 -920
  384. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +0 -1531
  385. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +0 -701
  386. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +0 -878
  387. package/dist/behaviors/exports/molecules/std-simulator-game.orb +0 -234
  388. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +0 -6336
  389. package/dist/behaviors/exports/organisms/std-agent-builder.orb +0 -14139
  390. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +0 -10974
  391. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +0 -5003
  392. package/dist/behaviors/exports/organisms/std-arcade-game.orb +0 -1144
  393. package/dist/behaviors/exports/organisms/std-booking-system.orb +0 -5142
  394. package/dist/behaviors/exports/organisms/std-cms.orb +0 -2887
  395. package/dist/behaviors/exports/organisms/std-crm.orb +0 -4366
  396. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +0 -5772
  397. package/dist/behaviors/exports/organisms/std-healthcare.orb +0 -6001
  398. package/dist/behaviors/exports/organisms/std-project-manager.orb +0 -3819
  399. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +0 -4479
  400. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +0 -3568
  401. package/dist/behaviors/exports/organisms/std-social-feed.orb +0 -1246
  402. package/dist/behaviors/exports/organisms/std-stem-lab.orb +0 -1922
  403. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  404. package/dist/behaviors/exports/validation-report.json +0 -1672
  405. package/dist/behaviors/exports/verify-results.json +0 -126
  406. package/dist/exports/atoms/std-agent-activity-log.orb +0 -575
  407. package/dist/exports/atoms/std-agent-chat-thread.orb +0 -783
  408. package/dist/exports/atoms/std-agent-tool-call.orb +0 -746
  409. package/dist/exports/atoms/std-async.orb +0 -443
  410. package/dist/exports/atoms/std-circuit-breaker.orb +0 -999
  411. package/dist/exports/atoms/std-collision.orb +0 -694
  412. package/dist/exports/atoms/std-filter.orb +0 -641
  413. package/dist/exports/atoms/std-gallery.orb +0 -387
  414. package/dist/exports/atoms/std-game-canvas3d.orb +0 -401
  415. package/dist/exports/atoms/std-game-menu.orb +0 -222
  416. package/dist/exports/atoms/std-input.orb +0 -640
  417. package/dist/exports/atoms/std-loading.orb +0 -496
  418. package/dist/exports/atoms/std-movement.orb +0 -1413
  419. package/dist/exports/atoms/std-pagination.orb +0 -266
  420. package/dist/exports/atoms/std-physics2d.orb +0 -430
  421. package/dist/exports/atoms/std-platformer-canvas.orb +0 -268
  422. package/dist/exports/atoms/std-service-oauth.orb +0 -769
  423. package/dist/exports/atoms/std-service-redis.orb +0 -585
  424. package/dist/exports/atoms/std-sprite.orb +0 -315
  425. package/dist/exports/molecules/std-agent-learner.orb +0 -2315
  426. package/dist/exports/molecules/std-agent-rag.orb +0 -1745
  427. package/dist/exports/molecules/std-agent-tool-loop.orb +0 -4451
  428. package/dist/exports/molecules/std-detail.orb +0 -621
  429. package/dist/exports/molecules/std-geospatial.orb +0 -657
  430. package/dist/exports/molecules/std-inventory.orb +0 -823
  431. package/dist/exports/molecules/std-list.orb +0 -1066
  432. package/dist/exports/molecules/std-messaging.orb +0 -605
  433. package/dist/exports/molecules/std-puzzle-game.orb +0 -584
  434. package/dist/exports/molecules/std-quiz.orb +0 -1074
  435. package/dist/exports/molecules/std-service-custom-api-tester.orb +0 -865
  436. package/dist/exports/organisms/std-cicd-pipeline.orb +0 -3425
  437. package/dist/exports/organisms/std-coding-academy.orb +0 -2084
  438. package/dist/exports/organisms/std-hr-portal.orb +0 -5236
  439. package/dist/exports/organisms/std-iot-dashboard.orb +0 -3914
  440. package/dist/exports/organisms/std-logic-training.orb +0 -753
  441. package/dist/exports/organisms/std-platformer-app.orb +0 -1679
  442. package/dist/exports/organisms/std-rpg-game.orb +0 -3298
  443. package/dist/exports/organisms/std-strategy-game.orb +0 -2443
  444. package/dist/exports/test-schemas/os-trigger-simulation.orb +0 -202
  445. package/dist/exports/validation-report.json +0 -1672
  446. package/dist/exports/verify-results.json +0 -126
@@ -1,3091 +0,0 @@
1
- {
2
- "name": "Finance Tracker",
3
- "version": "1.0.0",
4
- "orbitals": [
5
- {
6
- "name": "TransactionOrbital",
7
- "entity": {
8
- "name": "Transaction",
9
- "persistence": "persistent",
10
- "collection": "transactions",
11
- "fields": [
12
- {
13
- "name": "id",
14
- "type": "string",
15
- "required": true
16
- },
17
- {
18
- "name": "description",
19
- "type": "string",
20
- "required": true
21
- },
22
- {
23
- "name": "amount",
24
- "type": "number",
25
- "required": true
26
- },
27
- {
28
- "name": "category",
29
- "type": "string"
30
- },
31
- {
32
- "name": "date",
33
- "type": "date"
34
- },
35
- {
36
- "name": "pendingId",
37
- "type": "string",
38
- "default": ""
39
- }
40
- ]
41
- },
42
- "traits": [
43
- {
44
- "name": "TransactionBrowse",
45
- "linkedEntity": "Transaction",
46
- "category": "interaction",
47
- "listens": [
48
- {
49
- "event": "TRANSACTION_CREATED",
50
- "triggers": "INIT"
51
- },
52
- {
53
- "event": "TRANSACTION_UPDATED",
54
- "triggers": "INIT"
55
- },
56
- {
57
- "event": "TRANSACTION_DELETED",
58
- "triggers": "INIT"
59
- }
60
- ],
61
- "stateMachine": {
62
- "states": [
63
- {
64
- "name": "browsing",
65
- "isInitial": true
66
- }
67
- ],
68
- "events": [
69
- {
70
- "key": "INIT",
71
- "name": "Initialize"
72
- },
73
- {
74
- "key": "CREATE",
75
- "name": "CREATE"
76
- },
77
- {
78
- "key": "VIEW",
79
- "name": "VIEW",
80
- "payload": [
81
- {
82
- "name": "id",
83
- "type": "string",
84
- "required": true
85
- },
86
- {
87
- "name": "row",
88
- "type": "object"
89
- }
90
- ]
91
- },
92
- {
93
- "key": "EDIT",
94
- "name": "EDIT",
95
- "payload": [
96
- {
97
- "name": "id",
98
- "type": "string",
99
- "required": true
100
- },
101
- {
102
- "name": "row",
103
- "type": "object"
104
- }
105
- ]
106
- },
107
- {
108
- "key": "DELETE",
109
- "name": "DELETE",
110
- "payload": [
111
- {
112
- "name": "id",
113
- "type": "string",
114
- "required": true
115
- },
116
- {
117
- "name": "row",
118
- "type": "object"
119
- }
120
- ]
121
- }
122
- ],
123
- "transitions": [
124
- {
125
- "from": "browsing",
126
- "to": "browsing",
127
- "event": "INIT",
128
- "effects": [
129
- [
130
- "ref",
131
- "Transaction"
132
- ],
133
- [
134
- "render-ui",
135
- "main",
136
- {
137
- "type": "dashboard-layout",
138
- "appName": "Finance Tracker",
139
- "navItems": [
140
- {
141
- "label": "Transactions",
142
- "href": "/transactions",
143
- "icon": "dollar-sign"
144
- },
145
- {
146
- "label": "Summary",
147
- "href": "/summary",
148
- "icon": "layout-list"
149
- },
150
- {
151
- "label": "Reports",
152
- "href": "/reports",
153
- "icon": "bar-chart"
154
- }
155
- ],
156
- "children": [
157
- {
158
- "type": "stack",
159
- "direction": "vertical",
160
- "gap": "lg",
161
- "className": "max-w-5xl mx-auto w-full",
162
- "children": [
163
- {
164
- "type": "stack",
165
- "direction": "horizontal",
166
- "gap": "md",
167
- "justify": "space-between",
168
- "align": "center",
169
- "children": [
170
- {
171
- "type": "stack",
172
- "direction": "horizontal",
173
- "gap": "sm",
174
- "align": "center",
175
- "children": [
176
- {
177
- "type": "icon",
178
- "name": "credit-card",
179
- "size": "lg"
180
- },
181
- {
182
- "type": "typography",
183
- "content": "Transactions",
184
- "variant": "h2"
185
- }
186
- ]
187
- },
188
- {
189
- "type": "stack",
190
- "direction": "horizontal",
191
- "gap": "sm",
192
- "children": [
193
- {
194
- "type": "button",
195
- "label": "Create Transaction",
196
- "event": "CREATE",
197
- "variant": "primary",
198
- "icon": "plus"
199
- }
200
- ]
201
- }
202
- ]
203
- },
204
- {
205
- "type": "divider"
206
- },
207
- {
208
- "type": "data-list",
209
- "entity": "Transaction",
210
- "emptyIcon": "inbox",
211
- "emptyTitle": "No transactions yet",
212
- "emptyDescription": "Record your first transaction.",
213
- "itemActions": [
214
- {
215
- "label": "View",
216
- "event": "VIEW",
217
- "variant": "ghost",
218
- "size": "sm"
219
- },
220
- {
221
- "label": "Edit",
222
- "event": "EDIT",
223
- "variant": "ghost",
224
- "size": "sm"
225
- },
226
- {
227
- "label": "Delete",
228
- "event": "DELETE",
229
- "variant": "danger",
230
- "size": "sm"
231
- }
232
- ],
233
- "columns": [
234
- {
235
- "name": "description",
236
- "variant": "h3",
237
- "icon": "credit-card"
238
- },
239
- {
240
- "name": "category",
241
- "variant": "badge"
242
- },
243
- {
244
- "name": "amount",
245
- "variant": "h4",
246
- "format": "currency"
247
- },
248
- {
249
- "name": "date",
250
- "variant": "caption",
251
- "format": "date"
252
- }
253
- ],
254
- "variant": "card",
255
- "gap": "sm"
256
- }
257
- ]
258
- }
259
- ]
260
- }
261
- ]
262
- ]
263
- }
264
- ]
265
- }
266
- },
267
- {
268
- "name": "TransactionCreate",
269
- "linkedEntity": "Transaction",
270
- "category": "interaction",
271
- "emits": [
272
- {
273
- "event": "SAVE"
274
- },
275
- {
276
- "event": "TRANSACTION_CREATED"
277
- }
278
- ],
279
- "stateMachine": {
280
- "states": [
281
- {
282
- "name": "closed",
283
- "isInitial": true
284
- },
285
- {
286
- "name": "open"
287
- }
288
- ],
289
- "events": [
290
- {
291
- "key": "INIT",
292
- "name": "Initialize"
293
- },
294
- {
295
- "key": "CREATE",
296
- "name": "Open"
297
- },
298
- {
299
- "key": "CLOSE",
300
- "name": "Close"
301
- },
302
- {
303
- "key": "SAVE",
304
- "name": "Save",
305
- "payload": [
306
- {
307
- "name": "data",
308
- "type": "object",
309
- "required": true
310
- }
311
- ]
312
- }
313
- ],
314
- "transitions": [
315
- {
316
- "from": "closed",
317
- "to": "closed",
318
- "event": "INIT",
319
- "effects": [
320
- [
321
- "ref",
322
- "Transaction"
323
- ]
324
- ]
325
- },
326
- {
327
- "from": "closed",
328
- "to": "open",
329
- "event": "CREATE",
330
- "effects": [
331
- [
332
- "fetch",
333
- "Transaction"
334
- ],
335
- [
336
- "render-ui",
337
- "modal",
338
- {
339
- "type": "stack",
340
- "direction": "vertical",
341
- "gap": "md",
342
- "children": [
343
- {
344
- "type": "stack",
345
- "direction": "horizontal",
346
- "gap": "sm",
347
- "children": [
348
- {
349
- "type": "icon",
350
- "name": "plus-circle",
351
- "size": "md"
352
- },
353
- {
354
- "type": "typography",
355
- "content": "Create Transaction",
356
- "variant": "h3"
357
- }
358
- ]
359
- },
360
- {
361
- "type": "divider"
362
- },
363
- {
364
- "type": "form-section",
365
- "entity": "Transaction",
366
- "mode": "create",
367
- "submitEvent": "SAVE",
368
- "cancelEvent": "CLOSE",
369
- "fields": [
370
- "description",
371
- "amount",
372
- "category",
373
- "date"
374
- ]
375
- }
376
- ]
377
- }
378
- ]
379
- ]
380
- },
381
- {
382
- "from": "open",
383
- "to": "closed",
384
- "event": "CLOSE",
385
- "effects": [
386
- [
387
- "render-ui",
388
- "modal",
389
- null
390
- ],
391
- [
392
- "notify",
393
- "Cancelled",
394
- "info"
395
- ]
396
- ]
397
- },
398
- {
399
- "from": "open",
400
- "to": "closed",
401
- "event": "SAVE",
402
- "effects": [
403
- [
404
- "persist",
405
- "create",
406
- "Transaction",
407
- "@payload.data"
408
- ],
409
- [
410
- "render-ui",
411
- "modal",
412
- null
413
- ],
414
- [
415
- "emit",
416
- "TRANSACTION_CREATED"
417
- ],
418
- [
419
- "notify",
420
- "Transaction created successfully"
421
- ]
422
- ]
423
- }
424
- ]
425
- }
426
- },
427
- {
428
- "name": "TransactionEdit",
429
- "linkedEntity": "Transaction",
430
- "category": "interaction",
431
- "emits": [
432
- {
433
- "event": "SAVE"
434
- },
435
- {
436
- "event": "TRANSACTION_UPDATED"
437
- }
438
- ],
439
- "stateMachine": {
440
- "states": [
441
- {
442
- "name": "closed",
443
- "isInitial": true
444
- },
445
- {
446
- "name": "open"
447
- }
448
- ],
449
- "events": [
450
- {
451
- "key": "INIT",
452
- "name": "Initialize"
453
- },
454
- {
455
- "key": "EDIT",
456
- "name": "Open",
457
- "payload": [
458
- {
459
- "name": "id",
460
- "type": "string",
461
- "required": true
462
- }
463
- ]
464
- },
465
- {
466
- "key": "CLOSE",
467
- "name": "Close"
468
- },
469
- {
470
- "key": "SAVE",
471
- "name": "Save",
472
- "payload": [
473
- {
474
- "name": "data",
475
- "type": "object",
476
- "required": true
477
- }
478
- ]
479
- }
480
- ],
481
- "transitions": [
482
- {
483
- "from": "closed",
484
- "to": "closed",
485
- "event": "INIT",
486
- "effects": [
487
- [
488
- "ref",
489
- "Transaction"
490
- ]
491
- ]
492
- },
493
- {
494
- "from": "closed",
495
- "to": "open",
496
- "event": "EDIT",
497
- "effects": [
498
- [
499
- "fetch",
500
- "Transaction",
501
- {
502
- "id": "@payload.id"
503
- }
504
- ],
505
- [
506
- "render-ui",
507
- "modal",
508
- {
509
- "type": "stack",
510
- "direction": "vertical",
511
- "gap": "md",
512
- "children": [
513
- {
514
- "type": "stack",
515
- "direction": "horizontal",
516
- "gap": "sm",
517
- "children": [
518
- {
519
- "type": "icon",
520
- "name": "edit",
521
- "size": "md"
522
- },
523
- {
524
- "type": "typography",
525
- "content": "Edit Transaction",
526
- "variant": "h3"
527
- }
528
- ]
529
- },
530
- {
531
- "type": "divider"
532
- },
533
- {
534
- "type": "form-section",
535
- "entity": "Transaction",
536
- "mode": "edit",
537
- "submitEvent": "SAVE",
538
- "cancelEvent": "CLOSE",
539
- "fields": [
540
- "description",
541
- "amount",
542
- "category",
543
- "date"
544
- ],
545
- "entityId": "@entity.id"
546
- }
547
- ]
548
- }
549
- ]
550
- ]
551
- },
552
- {
553
- "from": "open",
554
- "to": "closed",
555
- "event": "CLOSE",
556
- "effects": [
557
- [
558
- "render-ui",
559
- "modal",
560
- null
561
- ],
562
- [
563
- "notify",
564
- "Cancelled",
565
- "info"
566
- ]
567
- ]
568
- },
569
- {
570
- "from": "open",
571
- "to": "closed",
572
- "event": "SAVE",
573
- "effects": [
574
- [
575
- "persist",
576
- "update",
577
- "Transaction",
578
- "@payload.data"
579
- ],
580
- [
581
- "render-ui",
582
- "modal",
583
- null
584
- ],
585
- [
586
- "emit",
587
- "TRANSACTION_UPDATED"
588
- ],
589
- [
590
- "notify",
591
- "Transaction updated successfully"
592
- ]
593
- ]
594
- }
595
- ]
596
- }
597
- },
598
- {
599
- "name": "TransactionView",
600
- "linkedEntity": "Transaction",
601
- "category": "interaction",
602
- "emits": [
603
- {
604
- "event": "SAVE"
605
- }
606
- ],
607
- "stateMachine": {
608
- "states": [
609
- {
610
- "name": "closed",
611
- "isInitial": true
612
- },
613
- {
614
- "name": "open"
615
- }
616
- ],
617
- "events": [
618
- {
619
- "key": "INIT",
620
- "name": "Initialize"
621
- },
622
- {
623
- "key": "VIEW",
624
- "name": "Open",
625
- "payload": [
626
- {
627
- "name": "id",
628
- "type": "string",
629
- "required": true
630
- }
631
- ]
632
- },
633
- {
634
- "key": "CLOSE",
635
- "name": "Close"
636
- },
637
- {
638
- "key": "SAVE",
639
- "name": "Save",
640
- "payload": [
641
- {
642
- "name": "data",
643
- "type": "object",
644
- "required": true
645
- }
646
- ]
647
- }
648
- ],
649
- "transitions": [
650
- {
651
- "from": "closed",
652
- "to": "closed",
653
- "event": "INIT",
654
- "effects": [
655
- [
656
- "ref",
657
- "Transaction"
658
- ]
659
- ]
660
- },
661
- {
662
- "from": "closed",
663
- "to": "open",
664
- "event": "VIEW",
665
- "effects": [
666
- [
667
- "fetch",
668
- "Transaction",
669
- {
670
- "id": "@payload.id"
671
- }
672
- ],
673
- [
674
- "render-ui",
675
- "modal",
676
- {
677
- "type": "stack",
678
- "direction": "vertical",
679
- "gap": "md",
680
- "children": [
681
- {
682
- "type": "stack",
683
- "direction": "horizontal",
684
- "gap": "sm",
685
- "align": "center",
686
- "children": [
687
- {
688
- "type": "icon",
689
- "name": "eye",
690
- "size": "md"
691
- },
692
- {
693
- "type": "typography",
694
- "variant": "h3",
695
- "content": "@entity.description"
696
- }
697
- ]
698
- },
699
- {
700
- "type": "divider"
701
- },
702
- {
703
- "type": "stack",
704
- "direction": "horizontal",
705
- "gap": "md",
706
- "children": [
707
- {
708
- "type": "typography",
709
- "variant": "caption",
710
- "content": "Description"
711
- },
712
- {
713
- "type": "typography",
714
- "variant": "body",
715
- "content": "@entity.description"
716
- }
717
- ]
718
- },
719
- {
720
- "type": "stack",
721
- "direction": "horizontal",
722
- "gap": "md",
723
- "children": [
724
- {
725
- "type": "typography",
726
- "variant": "caption",
727
- "content": "Amount"
728
- },
729
- {
730
- "type": "typography",
731
- "variant": "body",
732
- "content": "@entity.amount"
733
- }
734
- ]
735
- },
736
- {
737
- "type": "stack",
738
- "direction": "horizontal",
739
- "gap": "md",
740
- "children": [
741
- {
742
- "type": "typography",
743
- "variant": "caption",
744
- "content": "Category"
745
- },
746
- {
747
- "type": "typography",
748
- "variant": "body",
749
- "content": "@entity.category"
750
- }
751
- ]
752
- },
753
- {
754
- "type": "stack",
755
- "direction": "horizontal",
756
- "gap": "md",
757
- "children": [
758
- {
759
- "type": "typography",
760
- "variant": "caption",
761
- "content": "Date"
762
- },
763
- {
764
- "type": "typography",
765
- "variant": "body",
766
- "content": "@entity.date"
767
- }
768
- ]
769
- },
770
- {
771
- "type": "divider"
772
- },
773
- {
774
- "type": "stack",
775
- "direction": "horizontal",
776
- "gap": "sm",
777
- "justify": "end",
778
- "children": [
779
- {
780
- "type": "button",
781
- "label": "Edit",
782
- "event": "EDIT",
783
- "variant": "primary",
784
- "icon": "edit"
785
- },
786
- {
787
- "type": "button",
788
- "label": "Close",
789
- "event": "CLOSE",
790
- "variant": "ghost"
791
- }
792
- ]
793
- }
794
- ]
795
- }
796
- ]
797
- ]
798
- },
799
- {
800
- "from": "open",
801
- "to": "closed",
802
- "event": "CLOSE",
803
- "effects": [
804
- [
805
- "render-ui",
806
- "modal",
807
- null
808
- ],
809
- [
810
- "notify",
811
- "Cancelled",
812
- "info"
813
- ]
814
- ]
815
- },
816
- {
817
- "from": "open",
818
- "to": "closed",
819
- "event": "SAVE",
820
- "effects": [
821
- [
822
- "render-ui",
823
- "modal",
824
- null
825
- ]
826
- ]
827
- }
828
- ]
829
- }
830
- },
831
- {
832
- "name": "TransactionDelete",
833
- "linkedEntity": "Transaction",
834
- "category": "interaction",
835
- "emits": [
836
- {
837
- "event": "CONFIRM_DELETE"
838
- },
839
- {
840
- "event": "TRANSACTION_DELETED"
841
- }
842
- ],
843
- "stateMachine": {
844
- "states": [
845
- {
846
- "name": "idle",
847
- "isInitial": true
848
- },
849
- {
850
- "name": "confirming"
851
- }
852
- ],
853
- "events": [
854
- {
855
- "key": "INIT",
856
- "name": "Initialize"
857
- },
858
- {
859
- "key": "DELETE",
860
- "name": "Request Confirmation",
861
- "payload": [
862
- {
863
- "name": "id",
864
- "type": "string",
865
- "required": true
866
- }
867
- ]
868
- },
869
- {
870
- "key": "CONFIRM_DELETE",
871
- "name": "Confirm"
872
- },
873
- {
874
- "key": "CANCEL",
875
- "name": "Cancel"
876
- },
877
- {
878
- "key": "CLOSE",
879
- "name": "Close"
880
- }
881
- ],
882
- "transitions": [
883
- {
884
- "from": "idle",
885
- "to": "idle",
886
- "event": "INIT",
887
- "effects": [
888
- [
889
- "ref",
890
- "Transaction"
891
- ]
892
- ]
893
- },
894
- {
895
- "from": "idle",
896
- "to": "confirming",
897
- "event": "DELETE",
898
- "effects": [
899
- [
900
- "set",
901
- "@entity.pendingId",
902
- "@payload.id"
903
- ],
904
- [
905
- "fetch",
906
- "Transaction",
907
- {
908
- "id": "@payload.id"
909
- }
910
- ],
911
- [
912
- "render-ui",
913
- "modal",
914
- {
915
- "type": "stack",
916
- "direction": "vertical",
917
- "gap": "md",
918
- "children": [
919
- {
920
- "type": "stack",
921
- "direction": "horizontal",
922
- "gap": "sm",
923
- "align": "center",
924
- "children": [
925
- {
926
- "type": "icon",
927
- "name": "alert-triangle",
928
- "size": "md"
929
- },
930
- {
931
- "type": "typography",
932
- "content": "Delete Transaction",
933
- "variant": "h3"
934
- }
935
- ]
936
- },
937
- {
938
- "type": "divider"
939
- },
940
- {
941
- "type": "alert",
942
- "variant": "danger",
943
- "message": "This action cannot be undone."
944
- },
945
- {
946
- "type": "stack",
947
- "direction": "horizontal",
948
- "gap": "sm",
949
- "justify": "end",
950
- "children": [
951
- {
952
- "type": "button",
953
- "label": "Cancel",
954
- "event": "CANCEL",
955
- "variant": "ghost"
956
- },
957
- {
958
- "type": "button",
959
- "label": "Delete",
960
- "event": "CONFIRM_DELETE",
961
- "variant": "danger",
962
- "icon": "check"
963
- }
964
- ]
965
- }
966
- ]
967
- }
968
- ]
969
- ]
970
- },
971
- {
972
- "from": "confirming",
973
- "to": "idle",
974
- "event": "CONFIRM_DELETE",
975
- "effects": [
976
- [
977
- "persist",
978
- "delete",
979
- "Transaction",
980
- "@entity.pendingId"
981
- ],
982
- [
983
- "render-ui",
984
- "modal",
985
- null
986
- ],
987
- [
988
- "ref",
989
- "Transaction"
990
- ],
991
- [
992
- "emit",
993
- "TRANSACTION_DELETED"
994
- ],
995
- [
996
- "notify",
997
- "Transaction deleted successfully"
998
- ]
999
- ]
1000
- },
1001
- {
1002
- "from": "confirming",
1003
- "to": "idle",
1004
- "event": "CANCEL",
1005
- "effects": [
1006
- [
1007
- "render-ui",
1008
- "modal",
1009
- null
1010
- ],
1011
- [
1012
- "ref",
1013
- "Transaction"
1014
- ]
1015
- ]
1016
- },
1017
- {
1018
- "from": "confirming",
1019
- "to": "idle",
1020
- "event": "CLOSE",
1021
- "effects": [
1022
- [
1023
- "render-ui",
1024
- "modal",
1025
- null
1026
- ],
1027
- [
1028
- "ref",
1029
- "Transaction"
1030
- ]
1031
- ]
1032
- }
1033
- ]
1034
- }
1035
- }
1036
- ],
1037
- "pages": [
1038
- {
1039
- "name": "TransactionsPage",
1040
- "path": "/transactions",
1041
- "isInitial": true,
1042
- "traits": [
1043
- {
1044
- "ref": "TransactionBrowse"
1045
- },
1046
- {
1047
- "ref": "TransactionCreate"
1048
- },
1049
- {
1050
- "ref": "TransactionEdit"
1051
- },
1052
- {
1053
- "ref": "TransactionView"
1054
- },
1055
- {
1056
- "ref": "TransactionDelete"
1057
- }
1058
- ]
1059
- }
1060
- ]
1061
- },
1062
- {
1063
- "name": "FinanceSummaryOrbital",
1064
- "entity": {
1065
- "name": "FinanceSummary",
1066
- "persistence": "runtime",
1067
- "fields": [
1068
- {
1069
- "name": "id",
1070
- "type": "string",
1071
- "required": true
1072
- },
1073
- {
1074
- "name": "totalIncome",
1075
- "type": "number",
1076
- "default": 0
1077
- },
1078
- {
1079
- "name": "totalExpenses",
1080
- "type": "number",
1081
- "default": 0
1082
- },
1083
- {
1084
- "name": "balance",
1085
- "type": "number",
1086
- "default": 0
1087
- },
1088
- {
1089
- "name": "savingsRate",
1090
- "type": "number",
1091
- "default": 0
1092
- }
1093
- ]
1094
- },
1095
- "traits": [
1096
- {
1097
- "name": "FinanceSummaryDisplay",
1098
- "linkedEntity": "FinanceSummary",
1099
- "category": "interaction",
1100
- "stateMachine": {
1101
- "states": [
1102
- {
1103
- "name": "loading",
1104
- "isInitial": true
1105
- },
1106
- {
1107
- "name": "displaying"
1108
- },
1109
- {
1110
- "name": "refreshing"
1111
- }
1112
- ],
1113
- "events": [
1114
- {
1115
- "key": "INIT",
1116
- "name": "Initialize"
1117
- },
1118
- {
1119
- "key": "LOADED",
1120
- "name": "Loaded"
1121
- },
1122
- {
1123
- "key": "REFRESH",
1124
- "name": "Refresh"
1125
- },
1126
- {
1127
- "key": "REFRESHED",
1128
- "name": "Refreshed"
1129
- }
1130
- ],
1131
- "transitions": [
1132
- {
1133
- "from": "loading",
1134
- "to": "displaying",
1135
- "event": "INIT",
1136
- "effects": [
1137
- [
1138
- "fetch",
1139
- "FinanceSummary"
1140
- ],
1141
- [
1142
- "render-ui",
1143
- "main",
1144
- {
1145
- "type": "dashboard-layout",
1146
- "appName": "Finance Tracker",
1147
- "navItems": [
1148
- {
1149
- "label": "Transactions",
1150
- "href": "/transactions",
1151
- "icon": "dollar-sign"
1152
- },
1153
- {
1154
- "label": "Summary",
1155
- "href": "/summary",
1156
- "icon": "layout-list"
1157
- },
1158
- {
1159
- "label": "Reports",
1160
- "href": "/reports",
1161
- "icon": "bar-chart"
1162
- }
1163
- ],
1164
- "children": [
1165
- {
1166
- "type": "scaled-diagram",
1167
- "children": [
1168
- {
1169
- "type": "stack",
1170
- "direction": "vertical",
1171
- "gap": "lg",
1172
- "children": [
1173
- {
1174
- "type": "breadcrumb",
1175
- "items": [
1176
- {
1177
- "label": "Home",
1178
- "href": "/"
1179
- },
1180
- {
1181
- "label": "Financial Summary"
1182
- }
1183
- ]
1184
- },
1185
- {
1186
- "type": "stack",
1187
- "direction": "horizontal",
1188
- "gap": "md",
1189
- "justify": "space-between",
1190
- "children": [
1191
- {
1192
- "type": "stack",
1193
- "direction": "horizontal",
1194
- "gap": "md",
1195
- "children": [
1196
- {
1197
- "type": "icon",
1198
- "name": "pie-chart",
1199
- "size": "lg"
1200
- },
1201
- {
1202
- "type": "typography",
1203
- "content": "Financial Summary",
1204
- "variant": "h2"
1205
- }
1206
- ]
1207
- },
1208
- {
1209
- "type": "button",
1210
- "label": "Refresh",
1211
- "event": "REFRESH",
1212
- "variant": "secondary",
1213
- "icon": "refresh-cw"
1214
- }
1215
- ]
1216
- },
1217
- {
1218
- "type": "divider"
1219
- },
1220
- {
1221
- "type": "box",
1222
- "padding": "md",
1223
- "children": [
1224
- {
1225
- "type": "simple-grid",
1226
- "columns": 3,
1227
- "children": [
1228
- {
1229
- "type": "stat-display",
1230
- "label": "TotalIncome",
1231
- "value": [
1232
- "object/get",
1233
- [
1234
- "array/first",
1235
- "@entity"
1236
- ],
1237
- "totalIncome"
1238
- ]
1239
- },
1240
- {
1241
- "type": "stat-display",
1242
- "label": "TotalExpenses",
1243
- "value": [
1244
- "object/get",
1245
- [
1246
- "array/first",
1247
- "@entity"
1248
- ],
1249
- "totalExpenses"
1250
- ]
1251
- },
1252
- {
1253
- "type": "stat-display",
1254
- "label": "Balance",
1255
- "value": [
1256
- "object/get",
1257
- [
1258
- "array/first",
1259
- "@entity"
1260
- ],
1261
- "balance"
1262
- ]
1263
- },
1264
- {
1265
- "type": "stat-display",
1266
- "label": "SavingsRate",
1267
- "value": [
1268
- "object/get",
1269
- [
1270
- "array/first",
1271
- "@entity"
1272
- ],
1273
- "savingsRate"
1274
- ]
1275
- }
1276
- ]
1277
- }
1278
- ]
1279
- },
1280
- {
1281
- "type": "divider"
1282
- },
1283
- {
1284
- "type": "grid",
1285
- "columns": 2,
1286
- "gap": "md",
1287
- "children": [
1288
- {
1289
- "type": "card",
1290
- "children": [
1291
- {
1292
- "type": "typography",
1293
- "variant": "caption",
1294
- "content": "Chart View"
1295
- }
1296
- ]
1297
- },
1298
- {
1299
- "type": "card",
1300
- "children": [
1301
- {
1302
- "type": "typography",
1303
- "variant": "caption",
1304
- "content": "Graph View"
1305
- }
1306
- ]
1307
- }
1308
- ]
1309
- },
1310
- {
1311
- "type": "line-chart",
1312
- "data": [
1313
- {
1314
- "date": "Jan",
1315
- "value": 12
1316
- },
1317
- {
1318
- "date": "Feb",
1319
- "value": 19
1320
- },
1321
- {
1322
- "date": "Mar",
1323
- "value": 15
1324
- },
1325
- {
1326
- "date": "Apr",
1327
- "value": 25
1328
- },
1329
- {
1330
- "date": "May",
1331
- "value": 22
1332
- },
1333
- {
1334
- "date": "Jun",
1335
- "value": 30
1336
- }
1337
- ],
1338
- "xKey": "date",
1339
- "yKey": "value",
1340
- "title": "Trend"
1341
- },
1342
- {
1343
- "type": "chart-legend",
1344
- "items": [
1345
- {
1346
- "label": "Current",
1347
- "color": "primary"
1348
- },
1349
- {
1350
- "label": "Previous",
1351
- "color": "muted"
1352
- }
1353
- ]
1354
- },
1355
- {
1356
- "type": "graph-view",
1357
- "nodes": [
1358
- {
1359
- "id": "a",
1360
- "label": "Start",
1361
- "x": 50,
1362
- "y": 100
1363
- },
1364
- {
1365
- "id": "b",
1366
- "label": "Process",
1367
- "x": 200,
1368
- "y": 50
1369
- },
1370
- {
1371
- "id": "c",
1372
- "label": "End",
1373
- "x": 350,
1374
- "y": 100
1375
- }
1376
- ],
1377
- "edges": [
1378
- {
1379
- "from": "a",
1380
- "to": "b"
1381
- },
1382
- {
1383
- "from": "b",
1384
- "to": "c"
1385
- }
1386
- ],
1387
- "width": 400,
1388
- "height": 200
1389
- }
1390
- ]
1391
- }
1392
- ]
1393
- }
1394
- ]
1395
- }
1396
- ]
1397
- ]
1398
- },
1399
- {
1400
- "from": "loading",
1401
- "to": "displaying",
1402
- "event": "LOADED",
1403
- "effects": [
1404
- [
1405
- "fetch",
1406
- "FinanceSummary"
1407
- ],
1408
- [
1409
- "render-ui",
1410
- "main",
1411
- {
1412
- "type": "dashboard-layout",
1413
- "appName": "Finance Tracker",
1414
- "navItems": [
1415
- {
1416
- "label": "Transactions",
1417
- "href": "/transactions",
1418
- "icon": "dollar-sign"
1419
- },
1420
- {
1421
- "label": "Summary",
1422
- "href": "/summary",
1423
- "icon": "layout-list"
1424
- },
1425
- {
1426
- "label": "Reports",
1427
- "href": "/reports",
1428
- "icon": "bar-chart"
1429
- }
1430
- ],
1431
- "children": [
1432
- {
1433
- "type": "scaled-diagram",
1434
- "children": [
1435
- {
1436
- "type": "stack",
1437
- "direction": "vertical",
1438
- "gap": "lg",
1439
- "children": [
1440
- {
1441
- "type": "breadcrumb",
1442
- "items": [
1443
- {
1444
- "label": "Home",
1445
- "href": "/"
1446
- },
1447
- {
1448
- "label": "Financial Summary"
1449
- }
1450
- ]
1451
- },
1452
- {
1453
- "type": "stack",
1454
- "direction": "horizontal",
1455
- "gap": "md",
1456
- "justify": "space-between",
1457
- "children": [
1458
- {
1459
- "type": "stack",
1460
- "direction": "horizontal",
1461
- "gap": "md",
1462
- "children": [
1463
- {
1464
- "type": "icon",
1465
- "name": "pie-chart",
1466
- "size": "lg"
1467
- },
1468
- {
1469
- "type": "typography",
1470
- "content": "Financial Summary",
1471
- "variant": "h2"
1472
- }
1473
- ]
1474
- },
1475
- {
1476
- "type": "button",
1477
- "label": "Refresh",
1478
- "event": "REFRESH",
1479
- "variant": "secondary",
1480
- "icon": "refresh-cw"
1481
- }
1482
- ]
1483
- },
1484
- {
1485
- "type": "divider"
1486
- },
1487
- {
1488
- "type": "box",
1489
- "padding": "md",
1490
- "children": [
1491
- {
1492
- "type": "simple-grid",
1493
- "columns": 3,
1494
- "children": [
1495
- {
1496
- "type": "stat-display",
1497
- "label": "TotalIncome",
1498
- "value": [
1499
- "object/get",
1500
- [
1501
- "array/first",
1502
- "@entity"
1503
- ],
1504
- "totalIncome"
1505
- ]
1506
- },
1507
- {
1508
- "type": "stat-display",
1509
- "label": "TotalExpenses",
1510
- "value": [
1511
- "object/get",
1512
- [
1513
- "array/first",
1514
- "@entity"
1515
- ],
1516
- "totalExpenses"
1517
- ]
1518
- },
1519
- {
1520
- "type": "stat-display",
1521
- "label": "Balance",
1522
- "value": [
1523
- "object/get",
1524
- [
1525
- "array/first",
1526
- "@entity"
1527
- ],
1528
- "balance"
1529
- ]
1530
- },
1531
- {
1532
- "type": "stat-display",
1533
- "label": "SavingsRate",
1534
- "value": [
1535
- "object/get",
1536
- [
1537
- "array/first",
1538
- "@entity"
1539
- ],
1540
- "savingsRate"
1541
- ]
1542
- }
1543
- ]
1544
- }
1545
- ]
1546
- },
1547
- {
1548
- "type": "divider"
1549
- },
1550
- {
1551
- "type": "grid",
1552
- "columns": 2,
1553
- "gap": "md",
1554
- "children": [
1555
- {
1556
- "type": "card",
1557
- "children": [
1558
- {
1559
- "type": "typography",
1560
- "variant": "caption",
1561
- "content": "Chart View"
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- "type": "card",
1567
- "children": [
1568
- {
1569
- "type": "typography",
1570
- "variant": "caption",
1571
- "content": "Graph View"
1572
- }
1573
- ]
1574
- }
1575
- ]
1576
- },
1577
- {
1578
- "type": "line-chart",
1579
- "data": [
1580
- {
1581
- "date": "Jan",
1582
- "value": 12
1583
- },
1584
- {
1585
- "date": "Feb",
1586
- "value": 19
1587
- },
1588
- {
1589
- "date": "Mar",
1590
- "value": 15
1591
- },
1592
- {
1593
- "date": "Apr",
1594
- "value": 25
1595
- },
1596
- {
1597
- "date": "May",
1598
- "value": 22
1599
- },
1600
- {
1601
- "date": "Jun",
1602
- "value": 30
1603
- }
1604
- ],
1605
- "xKey": "date",
1606
- "yKey": "value",
1607
- "title": "Trend"
1608
- },
1609
- {
1610
- "type": "chart-legend",
1611
- "items": [
1612
- {
1613
- "label": "Current",
1614
- "color": "primary"
1615
- },
1616
- {
1617
- "label": "Previous",
1618
- "color": "muted"
1619
- }
1620
- ]
1621
- },
1622
- {
1623
- "type": "graph-view",
1624
- "nodes": [
1625
- {
1626
- "id": "a",
1627
- "label": "Start",
1628
- "x": 50,
1629
- "y": 100
1630
- },
1631
- {
1632
- "id": "b",
1633
- "label": "Process",
1634
- "x": 200,
1635
- "y": 50
1636
- },
1637
- {
1638
- "id": "c",
1639
- "label": "End",
1640
- "x": 350,
1641
- "y": 100
1642
- }
1643
- ],
1644
- "edges": [
1645
- {
1646
- "from": "a",
1647
- "to": "b"
1648
- },
1649
- {
1650
- "from": "b",
1651
- "to": "c"
1652
- }
1653
- ],
1654
- "width": 400,
1655
- "height": 200
1656
- }
1657
- ]
1658
- }
1659
- ]
1660
- }
1661
- ]
1662
- }
1663
- ]
1664
- ]
1665
- },
1666
- {
1667
- "from": "displaying",
1668
- "to": "displaying",
1669
- "event": "INIT",
1670
- "effects": [
1671
- [
1672
- "fetch",
1673
- "FinanceSummary"
1674
- ],
1675
- [
1676
- "render-ui",
1677
- "main",
1678
- {
1679
- "type": "dashboard-layout",
1680
- "appName": "Finance Tracker",
1681
- "navItems": [
1682
- {
1683
- "label": "Transactions",
1684
- "href": "/transactions",
1685
- "icon": "dollar-sign"
1686
- },
1687
- {
1688
- "label": "Summary",
1689
- "href": "/summary",
1690
- "icon": "layout-list"
1691
- },
1692
- {
1693
- "label": "Reports",
1694
- "href": "/reports",
1695
- "icon": "bar-chart"
1696
- }
1697
- ],
1698
- "children": [
1699
- {
1700
- "type": "scaled-diagram",
1701
- "children": [
1702
- {
1703
- "type": "stack",
1704
- "direction": "vertical",
1705
- "gap": "lg",
1706
- "children": [
1707
- {
1708
- "type": "breadcrumb",
1709
- "items": [
1710
- {
1711
- "label": "Home",
1712
- "href": "/"
1713
- },
1714
- {
1715
- "label": "Financial Summary"
1716
- }
1717
- ]
1718
- },
1719
- {
1720
- "type": "stack",
1721
- "direction": "horizontal",
1722
- "gap": "md",
1723
- "justify": "space-between",
1724
- "children": [
1725
- {
1726
- "type": "stack",
1727
- "direction": "horizontal",
1728
- "gap": "md",
1729
- "children": [
1730
- {
1731
- "type": "icon",
1732
- "name": "pie-chart",
1733
- "size": "lg"
1734
- },
1735
- {
1736
- "type": "typography",
1737
- "content": "Financial Summary",
1738
- "variant": "h2"
1739
- }
1740
- ]
1741
- },
1742
- {
1743
- "type": "button",
1744
- "label": "Refresh",
1745
- "event": "REFRESH",
1746
- "variant": "secondary",
1747
- "icon": "refresh-cw"
1748
- }
1749
- ]
1750
- },
1751
- {
1752
- "type": "divider"
1753
- },
1754
- {
1755
- "type": "box",
1756
- "padding": "md",
1757
- "children": [
1758
- {
1759
- "type": "simple-grid",
1760
- "columns": 3,
1761
- "children": [
1762
- {
1763
- "type": "stat-display",
1764
- "label": "TotalIncome",
1765
- "value": [
1766
- "object/get",
1767
- [
1768
- "array/first",
1769
- "@entity"
1770
- ],
1771
- "totalIncome"
1772
- ]
1773
- },
1774
- {
1775
- "type": "stat-display",
1776
- "label": "TotalExpenses",
1777
- "value": [
1778
- "object/get",
1779
- [
1780
- "array/first",
1781
- "@entity"
1782
- ],
1783
- "totalExpenses"
1784
- ]
1785
- },
1786
- {
1787
- "type": "stat-display",
1788
- "label": "Balance",
1789
- "value": [
1790
- "object/get",
1791
- [
1792
- "array/first",
1793
- "@entity"
1794
- ],
1795
- "balance"
1796
- ]
1797
- },
1798
- {
1799
- "type": "stat-display",
1800
- "label": "SavingsRate",
1801
- "value": [
1802
- "object/get",
1803
- [
1804
- "array/first",
1805
- "@entity"
1806
- ],
1807
- "savingsRate"
1808
- ]
1809
- }
1810
- ]
1811
- }
1812
- ]
1813
- },
1814
- {
1815
- "type": "divider"
1816
- },
1817
- {
1818
- "type": "grid",
1819
- "columns": 2,
1820
- "gap": "md",
1821
- "children": [
1822
- {
1823
- "type": "card",
1824
- "children": [
1825
- {
1826
- "type": "typography",
1827
- "variant": "caption",
1828
- "content": "Chart View"
1829
- }
1830
- ]
1831
- },
1832
- {
1833
- "type": "card",
1834
- "children": [
1835
- {
1836
- "type": "typography",
1837
- "variant": "caption",
1838
- "content": "Graph View"
1839
- }
1840
- ]
1841
- }
1842
- ]
1843
- },
1844
- {
1845
- "type": "line-chart",
1846
- "data": [
1847
- {
1848
- "date": "Jan",
1849
- "value": 12
1850
- },
1851
- {
1852
- "date": "Feb",
1853
- "value": 19
1854
- },
1855
- {
1856
- "date": "Mar",
1857
- "value": 15
1858
- },
1859
- {
1860
- "date": "Apr",
1861
- "value": 25
1862
- },
1863
- {
1864
- "date": "May",
1865
- "value": 22
1866
- },
1867
- {
1868
- "date": "Jun",
1869
- "value": 30
1870
- }
1871
- ],
1872
- "xKey": "date",
1873
- "yKey": "value",
1874
- "title": "Trend"
1875
- },
1876
- {
1877
- "type": "chart-legend",
1878
- "items": [
1879
- {
1880
- "label": "Current",
1881
- "color": "primary"
1882
- },
1883
- {
1884
- "label": "Previous",
1885
- "color": "muted"
1886
- }
1887
- ]
1888
- },
1889
- {
1890
- "type": "graph-view",
1891
- "nodes": [
1892
- {
1893
- "id": "a",
1894
- "label": "Start",
1895
- "x": 50,
1896
- "y": 100
1897
- },
1898
- {
1899
- "id": "b",
1900
- "label": "Process",
1901
- "x": 200,
1902
- "y": 50
1903
- },
1904
- {
1905
- "id": "c",
1906
- "label": "End",
1907
- "x": 350,
1908
- "y": 100
1909
- }
1910
- ],
1911
- "edges": [
1912
- {
1913
- "from": "a",
1914
- "to": "b"
1915
- },
1916
- {
1917
- "from": "b",
1918
- "to": "c"
1919
- }
1920
- ],
1921
- "width": 400,
1922
- "height": 200
1923
- }
1924
- ]
1925
- }
1926
- ]
1927
- }
1928
- ]
1929
- }
1930
- ]
1931
- ]
1932
- },
1933
- {
1934
- "from": "displaying",
1935
- "to": "refreshing",
1936
- "event": "REFRESH",
1937
- "effects": [
1938
- [
1939
- "fetch",
1940
- "FinanceSummary"
1941
- ],
1942
- [
1943
- "render-ui",
1944
- "main",
1945
- {
1946
- "type": "dashboard-layout",
1947
- "appName": "Finance Tracker",
1948
- "navItems": [
1949
- {
1950
- "label": "Transactions",
1951
- "href": "/transactions",
1952
- "icon": "dollar-sign"
1953
- },
1954
- {
1955
- "label": "Summary",
1956
- "href": "/summary",
1957
- "icon": "layout-list"
1958
- },
1959
- {
1960
- "label": "Reports",
1961
- "href": "/reports",
1962
- "icon": "bar-chart"
1963
- }
1964
- ],
1965
- "children": [
1966
- {
1967
- "type": "scaled-diagram",
1968
- "children": [
1969
- {
1970
- "type": "stack",
1971
- "direction": "vertical",
1972
- "gap": "lg",
1973
- "children": [
1974
- {
1975
- "type": "breadcrumb",
1976
- "items": [
1977
- {
1978
- "label": "Home",
1979
- "href": "/"
1980
- },
1981
- {
1982
- "label": "Financial Summary"
1983
- }
1984
- ]
1985
- },
1986
- {
1987
- "type": "stack",
1988
- "direction": "horizontal",
1989
- "gap": "md",
1990
- "justify": "space-between",
1991
- "children": [
1992
- {
1993
- "type": "stack",
1994
- "direction": "horizontal",
1995
- "gap": "md",
1996
- "children": [
1997
- {
1998
- "type": "icon",
1999
- "name": "pie-chart",
2000
- "size": "lg"
2001
- },
2002
- {
2003
- "type": "typography",
2004
- "content": "Financial Summary",
2005
- "variant": "h2"
2006
- }
2007
- ]
2008
- },
2009
- {
2010
- "type": "button",
2011
- "label": "Refresh",
2012
- "event": "REFRESH",
2013
- "variant": "secondary",
2014
- "icon": "refresh-cw"
2015
- }
2016
- ]
2017
- },
2018
- {
2019
- "type": "divider"
2020
- },
2021
- {
2022
- "type": "box",
2023
- "padding": "md",
2024
- "children": [
2025
- {
2026
- "type": "simple-grid",
2027
- "columns": 3,
2028
- "children": [
2029
- {
2030
- "type": "stat-display",
2031
- "label": "TotalIncome",
2032
- "value": [
2033
- "object/get",
2034
- [
2035
- "array/first",
2036
- "@entity"
2037
- ],
2038
- "totalIncome"
2039
- ]
2040
- },
2041
- {
2042
- "type": "stat-display",
2043
- "label": "TotalExpenses",
2044
- "value": [
2045
- "object/get",
2046
- [
2047
- "array/first",
2048
- "@entity"
2049
- ],
2050
- "totalExpenses"
2051
- ]
2052
- },
2053
- {
2054
- "type": "stat-display",
2055
- "label": "Balance",
2056
- "value": [
2057
- "object/get",
2058
- [
2059
- "array/first",
2060
- "@entity"
2061
- ],
2062
- "balance"
2063
- ]
2064
- },
2065
- {
2066
- "type": "stat-display",
2067
- "label": "SavingsRate",
2068
- "value": [
2069
- "object/get",
2070
- [
2071
- "array/first",
2072
- "@entity"
2073
- ],
2074
- "savingsRate"
2075
- ]
2076
- }
2077
- ]
2078
- }
2079
- ]
2080
- },
2081
- {
2082
- "type": "divider"
2083
- },
2084
- {
2085
- "type": "grid",
2086
- "columns": 2,
2087
- "gap": "md",
2088
- "children": [
2089
- {
2090
- "type": "card",
2091
- "children": [
2092
- {
2093
- "type": "typography",
2094
- "variant": "caption",
2095
- "content": "Chart View"
2096
- }
2097
- ]
2098
- },
2099
- {
2100
- "type": "card",
2101
- "children": [
2102
- {
2103
- "type": "typography",
2104
- "variant": "caption",
2105
- "content": "Graph View"
2106
- }
2107
- ]
2108
- }
2109
- ]
2110
- },
2111
- {
2112
- "type": "line-chart",
2113
- "data": [
2114
- {
2115
- "date": "Jan",
2116
- "value": 12
2117
- },
2118
- {
2119
- "date": "Feb",
2120
- "value": 19
2121
- },
2122
- {
2123
- "date": "Mar",
2124
- "value": 15
2125
- },
2126
- {
2127
- "date": "Apr",
2128
- "value": 25
2129
- },
2130
- {
2131
- "date": "May",
2132
- "value": 22
2133
- },
2134
- {
2135
- "date": "Jun",
2136
- "value": 30
2137
- }
2138
- ],
2139
- "xKey": "date",
2140
- "yKey": "value",
2141
- "title": "Trend"
2142
- },
2143
- {
2144
- "type": "chart-legend",
2145
- "items": [
2146
- {
2147
- "label": "Current",
2148
- "color": "primary"
2149
- },
2150
- {
2151
- "label": "Previous",
2152
- "color": "muted"
2153
- }
2154
- ]
2155
- },
2156
- {
2157
- "type": "graph-view",
2158
- "nodes": [
2159
- {
2160
- "id": "a",
2161
- "label": "Start",
2162
- "x": 50,
2163
- "y": 100
2164
- },
2165
- {
2166
- "id": "b",
2167
- "label": "Process",
2168
- "x": 200,
2169
- "y": 50
2170
- },
2171
- {
2172
- "id": "c",
2173
- "label": "End",
2174
- "x": 350,
2175
- "y": 100
2176
- }
2177
- ],
2178
- "edges": [
2179
- {
2180
- "from": "a",
2181
- "to": "b"
2182
- },
2183
- {
2184
- "from": "b",
2185
- "to": "c"
2186
- }
2187
- ],
2188
- "width": 400,
2189
- "height": 200
2190
- }
2191
- ]
2192
- }
2193
- ]
2194
- }
2195
- ]
2196
- }
2197
- ]
2198
- ]
2199
- },
2200
- {
2201
- "from": "refreshing",
2202
- "to": "displaying",
2203
- "event": "REFRESHED",
2204
- "effects": [
2205
- [
2206
- "fetch",
2207
- "FinanceSummary"
2208
- ],
2209
- [
2210
- "render-ui",
2211
- "main",
2212
- {
2213
- "type": "dashboard-layout",
2214
- "appName": "Finance Tracker",
2215
- "navItems": [
2216
- {
2217
- "label": "Transactions",
2218
- "href": "/transactions",
2219
- "icon": "dollar-sign"
2220
- },
2221
- {
2222
- "label": "Summary",
2223
- "href": "/summary",
2224
- "icon": "layout-list"
2225
- },
2226
- {
2227
- "label": "Reports",
2228
- "href": "/reports",
2229
- "icon": "bar-chart"
2230
- }
2231
- ],
2232
- "children": [
2233
- {
2234
- "type": "scaled-diagram",
2235
- "children": [
2236
- {
2237
- "type": "stack",
2238
- "direction": "vertical",
2239
- "gap": "lg",
2240
- "children": [
2241
- {
2242
- "type": "breadcrumb",
2243
- "items": [
2244
- {
2245
- "label": "Home",
2246
- "href": "/"
2247
- },
2248
- {
2249
- "label": "Financial Summary"
2250
- }
2251
- ]
2252
- },
2253
- {
2254
- "type": "stack",
2255
- "direction": "horizontal",
2256
- "gap": "md",
2257
- "justify": "space-between",
2258
- "children": [
2259
- {
2260
- "type": "stack",
2261
- "direction": "horizontal",
2262
- "gap": "md",
2263
- "children": [
2264
- {
2265
- "type": "icon",
2266
- "name": "pie-chart",
2267
- "size": "lg"
2268
- },
2269
- {
2270
- "type": "typography",
2271
- "content": "Financial Summary",
2272
- "variant": "h2"
2273
- }
2274
- ]
2275
- },
2276
- {
2277
- "type": "button",
2278
- "label": "Refresh",
2279
- "event": "REFRESH",
2280
- "variant": "secondary",
2281
- "icon": "refresh-cw"
2282
- }
2283
- ]
2284
- },
2285
- {
2286
- "type": "divider"
2287
- },
2288
- {
2289
- "type": "box",
2290
- "padding": "md",
2291
- "children": [
2292
- {
2293
- "type": "simple-grid",
2294
- "columns": 3,
2295
- "children": [
2296
- {
2297
- "type": "stat-display",
2298
- "label": "TotalIncome",
2299
- "value": [
2300
- "object/get",
2301
- [
2302
- "array/first",
2303
- "@entity"
2304
- ],
2305
- "totalIncome"
2306
- ]
2307
- },
2308
- {
2309
- "type": "stat-display",
2310
- "label": "TotalExpenses",
2311
- "value": [
2312
- "object/get",
2313
- [
2314
- "array/first",
2315
- "@entity"
2316
- ],
2317
- "totalExpenses"
2318
- ]
2319
- },
2320
- {
2321
- "type": "stat-display",
2322
- "label": "Balance",
2323
- "value": [
2324
- "object/get",
2325
- [
2326
- "array/first",
2327
- "@entity"
2328
- ],
2329
- "balance"
2330
- ]
2331
- },
2332
- {
2333
- "type": "stat-display",
2334
- "label": "SavingsRate",
2335
- "value": [
2336
- "object/get",
2337
- [
2338
- "array/first",
2339
- "@entity"
2340
- ],
2341
- "savingsRate"
2342
- ]
2343
- }
2344
- ]
2345
- }
2346
- ]
2347
- },
2348
- {
2349
- "type": "divider"
2350
- },
2351
- {
2352
- "type": "grid",
2353
- "columns": 2,
2354
- "gap": "md",
2355
- "children": [
2356
- {
2357
- "type": "card",
2358
- "children": [
2359
- {
2360
- "type": "typography",
2361
- "variant": "caption",
2362
- "content": "Chart View"
2363
- }
2364
- ]
2365
- },
2366
- {
2367
- "type": "card",
2368
- "children": [
2369
- {
2370
- "type": "typography",
2371
- "variant": "caption",
2372
- "content": "Graph View"
2373
- }
2374
- ]
2375
- }
2376
- ]
2377
- },
2378
- {
2379
- "type": "line-chart",
2380
- "data": [
2381
- {
2382
- "date": "Jan",
2383
- "value": 12
2384
- },
2385
- {
2386
- "date": "Feb",
2387
- "value": 19
2388
- },
2389
- {
2390
- "date": "Mar",
2391
- "value": 15
2392
- },
2393
- {
2394
- "date": "Apr",
2395
- "value": 25
2396
- },
2397
- {
2398
- "date": "May",
2399
- "value": 22
2400
- },
2401
- {
2402
- "date": "Jun",
2403
- "value": 30
2404
- }
2405
- ],
2406
- "xKey": "date",
2407
- "yKey": "value",
2408
- "title": "Trend"
2409
- },
2410
- {
2411
- "type": "chart-legend",
2412
- "items": [
2413
- {
2414
- "label": "Current",
2415
- "color": "primary"
2416
- },
2417
- {
2418
- "label": "Previous",
2419
- "color": "muted"
2420
- }
2421
- ]
2422
- },
2423
- {
2424
- "type": "graph-view",
2425
- "nodes": [
2426
- {
2427
- "id": "a",
2428
- "label": "Start",
2429
- "x": 50,
2430
- "y": 100
2431
- },
2432
- {
2433
- "id": "b",
2434
- "label": "Process",
2435
- "x": 200,
2436
- "y": 50
2437
- },
2438
- {
2439
- "id": "c",
2440
- "label": "End",
2441
- "x": 350,
2442
- "y": 100
2443
- }
2444
- ],
2445
- "edges": [
2446
- {
2447
- "from": "a",
2448
- "to": "b"
2449
- },
2450
- {
2451
- "from": "b",
2452
- "to": "c"
2453
- }
2454
- ],
2455
- "width": 400,
2456
- "height": 200
2457
- }
2458
- ]
2459
- }
2460
- ]
2461
- }
2462
- ]
2463
- }
2464
- ]
2465
- ]
2466
- }
2467
- ]
2468
- }
2469
- }
2470
- ],
2471
- "pages": [
2472
- {
2473
- "name": "SummaryPage",
2474
- "path": "/summary",
2475
- "traits": [
2476
- {
2477
- "ref": "FinanceSummaryDisplay"
2478
- }
2479
- ]
2480
- }
2481
- ]
2482
- },
2483
- {
2484
- "name": "FinanceReportOrbital",
2485
- "entity": {
2486
- "name": "FinanceReport",
2487
- "persistence": "persistent",
2488
- "collection": "financereports",
2489
- "fields": [
2490
- {
2491
- "name": "id",
2492
- "type": "string",
2493
- "required": true
2494
- },
2495
- {
2496
- "name": "title",
2497
- "type": "string",
2498
- "required": true
2499
- },
2500
- {
2501
- "name": "period",
2502
- "type": "string",
2503
- "required": true
2504
- },
2505
- {
2506
- "name": "total",
2507
- "type": "number"
2508
- },
2509
- {
2510
- "name": "generatedAt",
2511
- "type": "date"
2512
- }
2513
- ]
2514
- },
2515
- "traits": [
2516
- {
2517
- "name": "FinanceReportBrowse",
2518
- "linkedEntity": "FinanceReport",
2519
- "category": "interaction",
2520
- "listens": [
2521
- {
2522
- "event": "SAVE",
2523
- "triggers": "INIT"
2524
- }
2525
- ],
2526
- "stateMachine": {
2527
- "states": [
2528
- {
2529
- "name": "browsing",
2530
- "isInitial": true
2531
- }
2532
- ],
2533
- "events": [
2534
- {
2535
- "key": "INIT",
2536
- "name": "Initialize"
2537
- },
2538
- {
2539
- "key": "CREATE",
2540
- "name": "CREATE"
2541
- },
2542
- {
2543
- "key": "VIEW",
2544
- "name": "VIEW",
2545
- "payload": [
2546
- {
2547
- "name": "id",
2548
- "type": "string",
2549
- "required": true
2550
- },
2551
- {
2552
- "name": "row",
2553
- "type": "object"
2554
- }
2555
- ]
2556
- }
2557
- ],
2558
- "transitions": [
2559
- {
2560
- "from": "browsing",
2561
- "to": "browsing",
2562
- "event": "INIT",
2563
- "effects": [
2564
- [
2565
- "ref",
2566
- "FinanceReport"
2567
- ],
2568
- [
2569
- "render-ui",
2570
- "main",
2571
- {
2572
- "type": "dashboard-layout",
2573
- "appName": "Finance Tracker",
2574
- "navItems": [
2575
- {
2576
- "label": "Transactions",
2577
- "href": "/transactions",
2578
- "icon": "dollar-sign"
2579
- },
2580
- {
2581
- "label": "Summary",
2582
- "href": "/summary",
2583
- "icon": "layout-list"
2584
- },
2585
- {
2586
- "label": "Reports",
2587
- "href": "/reports",
2588
- "icon": "bar-chart"
2589
- }
2590
- ],
2591
- "children": [
2592
- {
2593
- "type": "stack",
2594
- "direction": "vertical",
2595
- "gap": "lg",
2596
- "className": "max-w-5xl mx-auto w-full",
2597
- "children": [
2598
- {
2599
- "type": "stack",
2600
- "direction": "horizontal",
2601
- "gap": "md",
2602
- "justify": "space-between",
2603
- "align": "center",
2604
- "children": [
2605
- {
2606
- "type": "stack",
2607
- "direction": "horizontal",
2608
- "gap": "sm",
2609
- "align": "center",
2610
- "children": [
2611
- {
2612
- "type": "icon",
2613
- "name": "file-text",
2614
- "size": "lg"
2615
- },
2616
- {
2617
- "type": "typography",
2618
- "content": "Reports",
2619
- "variant": "h2"
2620
- }
2621
- ]
2622
- },
2623
- {
2624
- "type": "stack",
2625
- "direction": "horizontal",
2626
- "gap": "sm",
2627
- "children": [
2628
- {
2629
- "type": "button",
2630
- "label": "Create FinanceReport",
2631
- "event": "CREATE",
2632
- "variant": "primary",
2633
- "icon": "plus"
2634
- }
2635
- ]
2636
- }
2637
- ]
2638
- },
2639
- {
2640
- "type": "divider"
2641
- },
2642
- {
2643
- "type": "data-list",
2644
- "entity": "FinanceReport",
2645
- "emptyIcon": "inbox",
2646
- "emptyTitle": "No reports yet",
2647
- "emptyDescription": "Generate a report to analyze your finances.",
2648
- "itemActions": [
2649
- {
2650
- "label": "View",
2651
- "event": "VIEW",
2652
- "variant": "ghost",
2653
- "size": "sm"
2654
- }
2655
- ],
2656
- "columns": [
2657
- {
2658
- "name": "title",
2659
- "variant": "h3",
2660
- "icon": "file-text"
2661
- },
2662
- {
2663
- "name": "period",
2664
- "variant": "badge"
2665
- },
2666
- {
2667
- "name": "total",
2668
- "variant": "h4",
2669
- "format": "currency"
2670
- },
2671
- {
2672
- "name": "generatedAt",
2673
- "label": "Generated",
2674
- "variant": "caption",
2675
- "format": "date"
2676
- }
2677
- ],
2678
- "variant": "card",
2679
- "gap": "sm"
2680
- }
2681
- ]
2682
- }
2683
- ]
2684
- }
2685
- ]
2686
- ]
2687
- }
2688
- ]
2689
- }
2690
- },
2691
- {
2692
- "name": "FinanceReportCreate",
2693
- "linkedEntity": "FinanceReport",
2694
- "category": "interaction",
2695
- "emits": [
2696
- {
2697
- "event": "SAVE"
2698
- }
2699
- ],
2700
- "stateMachine": {
2701
- "states": [
2702
- {
2703
- "name": "closed",
2704
- "isInitial": true
2705
- },
2706
- {
2707
- "name": "open"
2708
- }
2709
- ],
2710
- "events": [
2711
- {
2712
- "key": "INIT",
2713
- "name": "Initialize"
2714
- },
2715
- {
2716
- "key": "CREATE",
2717
- "name": "Open"
2718
- },
2719
- {
2720
- "key": "CLOSE",
2721
- "name": "Close"
2722
- },
2723
- {
2724
- "key": "SAVE",
2725
- "name": "Save",
2726
- "payload": [
2727
- {
2728
- "name": "data",
2729
- "type": "object",
2730
- "required": true
2731
- }
2732
- ]
2733
- }
2734
- ],
2735
- "transitions": [
2736
- {
2737
- "from": "closed",
2738
- "to": "closed",
2739
- "event": "INIT",
2740
- "effects": [
2741
- [
2742
- "ref",
2743
- "FinanceReport"
2744
- ]
2745
- ]
2746
- },
2747
- {
2748
- "from": "closed",
2749
- "to": "open",
2750
- "event": "CREATE",
2751
- "effects": [
2752
- [
2753
- "fetch",
2754
- "FinanceReport"
2755
- ],
2756
- [
2757
- "render-ui",
2758
- "modal",
2759
- {
2760
- "type": "stack",
2761
- "direction": "vertical",
2762
- "gap": "md",
2763
- "children": [
2764
- {
2765
- "type": "stack",
2766
- "direction": "horizontal",
2767
- "gap": "sm",
2768
- "children": [
2769
- {
2770
- "type": "icon",
2771
- "name": "plus-circle",
2772
- "size": "md"
2773
- },
2774
- {
2775
- "type": "typography",
2776
- "content": "New FinanceReport",
2777
- "variant": "h3"
2778
- }
2779
- ]
2780
- },
2781
- {
2782
- "type": "divider"
2783
- },
2784
- {
2785
- "type": "form-section",
2786
- "entity": "FinanceReport",
2787
- "mode": "create",
2788
- "submitEvent": "SAVE",
2789
- "cancelEvent": "CLOSE",
2790
- "fields": [
2791
- "title",
2792
- "period",
2793
- "total",
2794
- "generatedAt"
2795
- ]
2796
- }
2797
- ]
2798
- }
2799
- ]
2800
- ]
2801
- },
2802
- {
2803
- "from": "open",
2804
- "to": "closed",
2805
- "event": "CLOSE",
2806
- "effects": [
2807
- [
2808
- "render-ui",
2809
- "modal",
2810
- null
2811
- ],
2812
- [
2813
- "notify",
2814
- "Cancelled",
2815
- "info"
2816
- ]
2817
- ]
2818
- },
2819
- {
2820
- "from": "open",
2821
- "to": "closed",
2822
- "event": "SAVE",
2823
- "effects": [
2824
- [
2825
- "persist",
2826
- "create",
2827
- "FinanceReport",
2828
- "@payload.data"
2829
- ],
2830
- [
2831
- "render-ui",
2832
- "modal",
2833
- null
2834
- ],
2835
- [
2836
- "notify",
2837
- "FinanceReport created successfully"
2838
- ]
2839
- ]
2840
- }
2841
- ]
2842
- }
2843
- },
2844
- {
2845
- "name": "FinanceReportView",
2846
- "linkedEntity": "FinanceReport",
2847
- "category": "interaction",
2848
- "emits": [
2849
- {
2850
- "event": "SAVE"
2851
- }
2852
- ],
2853
- "stateMachine": {
2854
- "states": [
2855
- {
2856
- "name": "closed",
2857
- "isInitial": true
2858
- },
2859
- {
2860
- "name": "open"
2861
- }
2862
- ],
2863
- "events": [
2864
- {
2865
- "key": "INIT",
2866
- "name": "Initialize"
2867
- },
2868
- {
2869
- "key": "VIEW",
2870
- "name": "Open",
2871
- "payload": [
2872
- {
2873
- "name": "id",
2874
- "type": "string",
2875
- "required": true
2876
- }
2877
- ]
2878
- },
2879
- {
2880
- "key": "CLOSE",
2881
- "name": "Close"
2882
- },
2883
- {
2884
- "key": "SAVE",
2885
- "name": "Save",
2886
- "payload": [
2887
- {
2888
- "name": "data",
2889
- "type": "object",
2890
- "required": true
2891
- }
2892
- ]
2893
- }
2894
- ],
2895
- "transitions": [
2896
- {
2897
- "from": "closed",
2898
- "to": "closed",
2899
- "event": "INIT",
2900
- "effects": [
2901
- [
2902
- "ref",
2903
- "FinanceReport"
2904
- ]
2905
- ]
2906
- },
2907
- {
2908
- "from": "closed",
2909
- "to": "open",
2910
- "event": "VIEW",
2911
- "effects": [
2912
- [
2913
- "fetch",
2914
- "FinanceReport",
2915
- {
2916
- "id": "@payload.id"
2917
- }
2918
- ],
2919
- [
2920
- "render-ui",
2921
- "modal",
2922
- {
2923
- "type": "stack",
2924
- "direction": "vertical",
2925
- "gap": "md",
2926
- "children": [
2927
- {
2928
- "type": "stack",
2929
- "direction": "horizontal",
2930
- "gap": "sm",
2931
- "align": "center",
2932
- "children": [
2933
- {
2934
- "type": "icon",
2935
- "name": "eye",
2936
- "size": "md"
2937
- },
2938
- {
2939
- "type": "typography",
2940
- "variant": "h3",
2941
- "content": "@entity.title"
2942
- }
2943
- ]
2944
- },
2945
- {
2946
- "type": "divider"
2947
- },
2948
- {
2949
- "type": "stack",
2950
- "direction": "horizontal",
2951
- "gap": "md",
2952
- "children": [
2953
- {
2954
- "type": "typography",
2955
- "variant": "caption",
2956
- "content": "Title"
2957
- },
2958
- {
2959
- "type": "typography",
2960
- "variant": "body",
2961
- "content": "@entity.title"
2962
- }
2963
- ]
2964
- },
2965
- {
2966
- "type": "stack",
2967
- "direction": "horizontal",
2968
- "gap": "md",
2969
- "children": [
2970
- {
2971
- "type": "typography",
2972
- "variant": "caption",
2973
- "content": "Period"
2974
- },
2975
- {
2976
- "type": "typography",
2977
- "variant": "body",
2978
- "content": "@entity.period"
2979
- }
2980
- ]
2981
- },
2982
- {
2983
- "type": "stack",
2984
- "direction": "horizontal",
2985
- "gap": "md",
2986
- "children": [
2987
- {
2988
- "type": "typography",
2989
- "variant": "caption",
2990
- "content": "Total"
2991
- },
2992
- {
2993
- "type": "typography",
2994
- "variant": "body",
2995
- "content": "@entity.total"
2996
- }
2997
- ]
2998
- },
2999
- {
3000
- "type": "stack",
3001
- "direction": "horizontal",
3002
- "gap": "md",
3003
- "children": [
3004
- {
3005
- "type": "typography",
3006
- "variant": "caption",
3007
- "content": "Generated At"
3008
- },
3009
- {
3010
- "type": "typography",
3011
- "variant": "body",
3012
- "content": "@entity.generatedAt"
3013
- }
3014
- ]
3015
- },
3016
- {
3017
- "type": "divider"
3018
- },
3019
- {
3020
- "type": "stack",
3021
- "direction": "horizontal",
3022
- "gap": "sm",
3023
- "justify": "end",
3024
- "children": [
3025
- {
3026
- "type": "button",
3027
- "label": "Close",
3028
- "event": "CLOSE",
3029
- "variant": "ghost"
3030
- }
3031
- ]
3032
- }
3033
- ]
3034
- }
3035
- ]
3036
- ]
3037
- },
3038
- {
3039
- "from": "open",
3040
- "to": "closed",
3041
- "event": "CLOSE",
3042
- "effects": [
3043
- [
3044
- "render-ui",
3045
- "modal",
3046
- null
3047
- ],
3048
- [
3049
- "notify",
3050
- "Cancelled",
3051
- "info"
3052
- ]
3053
- ]
3054
- },
3055
- {
3056
- "from": "open",
3057
- "to": "closed",
3058
- "event": "SAVE",
3059
- "effects": [
3060
- [
3061
- "render-ui",
3062
- "modal",
3063
- null
3064
- ]
3065
- ]
3066
- }
3067
- ]
3068
- }
3069
- }
3070
- ],
3071
- "pages": [
3072
- {
3073
- "name": "ReportsPage",
3074
- "path": "/reports",
3075
- "traits": [
3076
- {
3077
- "ref": "FinanceReportBrowse"
3078
- },
3079
- {
3080
- "ref": "FinanceReportCreate"
3081
- },
3082
- {
3083
- "ref": "FinanceReportView"
3084
- }
3085
- ]
3086
- }
3087
- ]
3088
- }
3089
- ],
3090
- "description": "Finance tracker organism. Composes: stdList(Transaction) + stdDisplay(FinanceSummary) + stdDetail(FinanceReport) Pages: /transactions (initial), /summary, /reports (2026-04-08). The canonical source for std behaviors is now the registry `.orb` file at `packages/almadar-std/behaviors/registry/<level>/<name>.orb`, which is generated from this TS source by `tools/almadar-behavior-ts-to-orb/` and consumed by the compiler's embedded loader. Consumers should import behaviors via `.lolo`/`.orb` `uses` declarations and reference them as `Alias.entity` / `Alias.traits.X` / `Alias.pages.X`, applying overrides at the call site (`linkedEntity`, `name`, `events`, `effects`, `listens`, `emitsScope`). The TS `*Params` interface and the exported factory functions remain ONLY as the authoring path for the converter; they are NOT a stable public API and may change without notice. See `docs/Almadar_Orb_Behaviors.md` for the orbital-as-function model and `docs/LOLO_Gaps.md` for the migration plan."
3091
- }