@almadar/std 8.2.0 → 8.4.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  27. package/behaviors/registry/app/organisms/std-cms.orb +432 -432
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  29. package/behaviors/registry/app/organisms/std-crm.orb +813 -813
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  37. package/behaviors/registry/app/organisms/std-lms.orb +858 -858
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  42. package/behaviors/registry/core/atoms/std-browse.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  44. package/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +413 -413
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +50 -50
  50. package/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  51. package/behaviors/registry/core/atoms/std-modal.orb +13 -31
  52. package/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  53. package/behaviors/registry/core/atoms/std-push.orb +47 -47
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  55. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  56. package/behaviors/registry/core/atoms/std-search.orb +75 -75
  57. package/behaviors/registry/core/atoms/std-selection.orb +91 -91
  58. package/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  59. package/behaviors/registry/core/molecules/std-cart.orb +49 -49
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  62. package/behaviors/registry/core/molecules/std-list.orb +58 -58
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  64. package/behaviors/registry/game/atoms/std-collision.orb +132 -132
  65. package/behaviors/registry/game/atoms/std-combat.orb +59 -59
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  69. package/behaviors/registry/game/atoms/std-movement.orb +287 -287
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +266 -275
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  83. package/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  84. package/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +432 -432
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +813 -813
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +858 -858
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +64 -64
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +413 -413
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +50 -50
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +13 -31
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +47 -47
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +75 -75
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +91 -91
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +49 -49
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +58 -58
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +132 -132
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +59 -59
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +287 -287
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -275
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  187. package/package.json +1 -1
@@ -394,21 +394,21 @@
394
394
  "main",
395
395
  {
396
396
  "type": "stack",
397
- "className": "py-12",
398
- "align": "center",
399
397
  "direction": "vertical",
400
398
  "gap": "md",
399
+ "className": "py-12",
401
400
  "children": [
402
401
  {
403
402
  "type": "spinner"
404
403
  },
405
404
  {
406
- "color": "muted",
407
405
  "type": "typography",
408
- "content": "Loading…",
409
- "variant": "caption"
406
+ "variant": "caption",
407
+ "color": "muted",
408
+ "content": "Loading…"
410
409
  }
411
- ]
410
+ ],
411
+ "align": "center"
412
412
  }
413
413
  ]
414
414
  ]
@@ -422,73 +422,58 @@
422
422
  "render-ui",
423
423
  "main",
424
424
  {
425
- "navItems": [
426
- {
427
- "href": "/transactions",
428
- "label": "Transactions",
429
- "icon": "dollar-sign"
430
- },
431
- {
432
- "label": "Summary",
433
- "href": "/summary",
434
- "icon": "layout-list"
435
- },
436
- {
437
- "icon": "bar-chart",
438
- "label": "Reports",
439
- "href": "/reports"
440
- }
441
- ],
442
- "type": "dashboard-layout",
443
425
  "appName": "Finance Tracker",
444
426
  "children": [
445
427
  {
428
+ "direction": "vertical",
429
+ "type": "stack",
430
+ "className": "max-w-5xl mx-auto w-full",
431
+ "gap": "lg",
446
432
  "children": [
447
433
  {
448
- "type": "stack",
449
434
  "align": "center",
435
+ "justify": "between",
436
+ "gap": "md",
450
437
  "children": [
451
438
  {
452
- "align": "center",
453
439
  "gap": "sm",
454
- "direction": "horizontal",
455
440
  "children": [
456
441
  {
457
442
  "name": "credit-card",
458
443
  "type": "icon"
459
444
  },
460
445
  {
461
- "variant": "h2",
446
+ "type": "typography",
462
447
  "content": "Transactions",
463
- "type": "typography"
448
+ "variant": "h2"
464
449
  }
465
450
  ],
451
+ "align": "center",
452
+ "direction": "horizontal",
466
453
  "type": "stack"
467
454
  },
468
455
  {
469
- "direction": "horizontal",
470
456
  "type": "stack",
471
- "gap": "sm",
472
457
  "children": [
473
458
  {
474
- "type": "button",
475
459
  "action": "CREATE",
476
- "variant": "primary",
460
+ "label": "Create Transaction",
477
461
  "icon": "plus",
478
- "label": "Create Transaction"
462
+ "variant": "primary",
463
+ "type": "button"
479
464
  }
480
- ]
465
+ ],
466
+ "direction": "horizontal",
467
+ "gap": "sm"
481
468
  }
482
469
  ],
483
- "gap": "md",
484
- "direction": "horizontal",
485
- "justify": "between"
470
+ "type": "stack",
471
+ "direction": "horizontal"
486
472
  },
487
473
  {
488
474
  "type": "divider"
489
475
  },
490
476
  {
491
- "entity": "@payload.data",
492
477
  "itemActions": [
493
478
  {
494
479
  "variant": "ghost",
@@ -501,42 +486,57 @@
501
486
  "variant": "ghost"
502
487
  },
503
488
  {
504
- "event": "DELETE",
489
+ "variant": "danger",
505
490
  "label": "Delete",
506
- "variant": "danger"
491
+ "event": "DELETE"
507
492
  }
508
493
  ],
494
+ "type": "data-list",
495
+ "variant": "card",
496
+ "entity": "@payload.data",
497
+ "fields": [],
509
498
  "columns": [
510
499
  {
511
- "icon": "credit-card",
512
500
  "variant": "h3",
501
+ "icon": "credit-card",
513
502
  "name": "description"
514
503
  },
515
504
  {
516
- "variant": "badge",
517
- "name": "category"
505
+ "name": "category",
506
+ "variant": "badge"
518
507
  },
519
508
  {
520
- "variant": "h4",
521
509
  "name": "amount",
510
+ "variant": "h4",
522
511
  "format": "currency"
523
512
  },
524
513
  {
525
- "variant": "caption",
514
+ "format": "date",
526
515
  "name": "date",
527
- "format": "date"
516
+ "variant": "caption"
528
517
  }
529
518
  ],
530
- "gap": "sm",
531
- "type": "data-list",
532
- "variant": "card",
533
- "fields": []
519
+ "gap": "sm"
534
520
  }
535
- ],
536
- "type": "stack",
537
- "gap": "lg",
538
- "className": "max-w-5xl mx-auto w-full",
539
- "direction": "vertical"
521
+ ]
522
+ }
523
+ ],
524
+ "type": "dashboard-layout",
525
+ "navItems": [
526
+ {
527
+ "href": "/transactions",
528
+ "icon": "dollar-sign",
529
+ "label": "Transactions"
530
+ },
531
+ {
532
+ "label": "Summary",
533
+ "href": "/summary",
534
+ "icon": "layout-list"
535
+ },
536
+ {
537
+ "icon": "bar-chart",
538
+ "label": "Reports",
539
+ "href": "/reports"
540
540
  }
541
541
  ]
542
542
  }
@@ -552,36 +552,36 @@
552
552
  "render-ui",
553
553
  "main",
554
554
  {
555
- "direction": "vertical",
556
- "type": "stack",
555
+ "align": "center",
557
556
  "className": "py-12",
558
557
  "gap": "md",
559
- "align": "center",
558
+ "direction": "vertical",
560
559
  "children": [
561
560
  {
561
+ "name": "alert-triangle",
562
562
  "color": "destructive",
563
- "type": "icon",
564
- "name": "alert-triangle"
563
+ "type": "icon"
565
564
  },
566
565
  {
567
- "content": "Failed to load transaction",
568
566
  "type": "typography",
567
+ "content": "Failed to load transaction",
569
568
  "variant": "h3"
570
569
  },
571
570
  {
571
+ "type": "typography",
572
572
  "content": "@payload.error",
573
573
  "color": "muted",
574
- "type": "typography",
575
574
  "variant": "body"
576
575
  },
577
576
  {
578
- "variant": "primary",
579
- "label": "Retry",
580
577
  "action": "INIT",
578
+ "variant": "primary",
581
579
  "type": "button",
582
- "icon": "rotate-ccw"
580
+ "icon": "rotate-ccw",
581
+ "label": "Retry"
583
582
  }
584
- ]
583
+ ],
584
+ "type": "stack"
585
585
  }
586
586
  ]
587
587
  ]
@@ -774,29 +774,30 @@
774
774
  "render-ui",
775
775
  "modal",
776
776
  {
777
+ "type": "stack",
777
778
  "direction": "vertical",
778
779
  "children": [
779
780
  {
781
+ "type": "stack",
782
+ "gap": "sm",
780
783
  "children": [
781
784
  {
782
785
  "type": "icon",
783
786
  "name": "plus-circle"
784
787
  },
785
788
  {
789
+ "variant": "h3",
786
790
  "type": "typography",
787
- "content": "Create Transaction",
788
- "variant": "h3"
791
+ "content": "Create Transaction"
789
792
  }
790
793
  ],
791
- "direction": "horizontal",
792
- "type": "stack",
793
- "gap": "sm"
794
+ "direction": "horizontal"
794
795
  },
795
796
  {
796
797
  "type": "divider"
797
798
  },
798
799
  {
799
- "mode": "create",
800
+ "cancelEvent": "CLOSE",
800
801
  "submitEvent": "SAVE",
801
802
  "fields": [
802
803
  "description",
@@ -804,11 +805,10 @@
804
805
  "category",
805
806
  "date"
806
807
  ],
807
- "cancelEvent": "CLOSE",
808
- "type": "form-section"
808
+ "type": "form-section",
809
+ "mode": "create"
809
810
  }
810
811
  ],
811
- "type": "stack",
812
812
  "gap": "md"
813
813
  }
814
814
  ]
@@ -1064,8 +1064,8 @@
1064
1064
  {
1065
1065
  "id": "@payload.id",
1066
1066
  "emit": {
1067
- "success": "TransactionLoaded",
1068
- "failure": "TransactionLoadFailed"
1067
+ "failure": "TransactionLoadFailed",
1068
+ "success": "TransactionLoaded"
1069
1069
  }
1070
1070
  }
1071
1071
  ],
@@ -1076,39 +1076,39 @@
1076
1076
  "children": [
1077
1077
  {
1078
1078
  "direction": "horizontal",
1079
- "type": "stack",
1080
1079
  "gap": "sm",
1081
1080
  "children": [
1082
1081
  {
1083
- "type": "icon",
1084
- "name": "edit"
1082
+ "name": "edit",
1083
+ "type": "icon"
1085
1084
  },
1086
1085
  {
1087
- "variant": "h3",
1086
+ "content": "Edit Transaction",
1088
1087
  "type": "typography",
1089
- "content": "Edit Transaction"
1088
+ "variant": "h3"
1090
1089
  }
1091
- ]
1090
+ ],
1091
+ "type": "stack"
1092
1092
  },
1093
1093
  {
1094
1094
  "type": "divider"
1095
1095
  },
1096
1096
  {
1097
- "cancelEvent": "CLOSE",
1098
1097
  "entity": "@payload.row",
1099
- "type": "form-section",
1100
- "submitEvent": "SAVE",
1098
+ "mode": "edit",
1099
+ "cancelEvent": "CLOSE",
1101
1100
  "fields": [
1102
1101
  "description",
1103
1102
  "amount",
1104
1103
  "category",
1105
1104
  "date"
1106
1105
  ],
1107
- "mode": "edit"
1106
+ "submitEvent": "SAVE",
1107
+ "type": "form-section"
1108
1108
  }
1109
1109
  ],
1110
- "type": "stack",
1111
1110
  "gap": "md",
1111
+ "type": "stack",
1112
1112
  "direction": "vertical"
1113
1113
  }
1114
1114
  ]
@@ -1296,20 +1296,17 @@
1296
1296
  "fetch",
1297
1297
  "Transaction",
1298
1298
  {
1299
+ "id": "@payload.id",
1299
1300
  "emit": {
1300
- "success": "TransactionLoaded",
1301
- "failure": "TransactionLoadFailed"
1302
- },
1303
- "id": "@payload.id"
1301
+ "failure": "TransactionLoadFailed",
1302
+ "success": "TransactionLoaded"
1303
+ }
1304
1304
  }
1305
1305
  ],
1306
1306
  [
1307
1307
  "render-ui",
1308
1308
  "modal",
1309
1309
  {
1310
- "type": "stack",
1311
- "gap": "md",
1312
- "direction": "vertical",
1313
1310
  "children": [
1314
1311
  {
1315
1312
  "type": "stack",
@@ -1321,8 +1318,8 @@
1321
1318
  },
1322
1319
  {
1323
1320
  "variant": "h3",
1324
- "content": "@entity.description",
1325
- "type": "typography"
1321
+ "type": "typography",
1322
+ "content": "@entity.description"
1326
1323
  }
1327
1324
  ],
1328
1325
  "gap": "sm",
@@ -1332,26 +1329,25 @@
1332
1329
  "type": "divider"
1333
1330
  },
1334
1331
  {
1332
+ "direction": "horizontal",
1335
1333
  "type": "stack",
1336
1334
  "gap": "md",
1337
1335
  "children": [
1338
1336
  {
1339
1337
  "variant": "caption",
1340
- "type": "typography",
1341
- "content": "Description"
1338
+ "content": "Description",
1339
+ "type": "typography"
1342
1340
  },
1343
1341
  {
1344
1342
  "variant": "body",
1345
- "content": "@entity.description",
1346
- "type": "typography"
1343
+ "type": "typography",
1344
+ "content": "@entity.description"
1347
1345
  }
1348
- ],
1349
- "direction": "horizontal"
1346
+ ]
1350
1347
  },
1351
1348
  {
1352
- "type": "stack",
1353
- "gap": "md",
1354
1349
  "direction": "horizontal",
1350
+ "type": "stack",
1355
1351
  "children": [
1356
1352
  {
1357
1353
  "type": "typography",
@@ -1359,71 +1355,75 @@
1359
1355
  "content": "Amount"
1360
1356
  },
1361
1357
  {
1362
- "variant": "body",
1363
1358
  "type": "typography",
1359
+ "variant": "body",
1364
1360
  "content": "@entity.amount"
1365
1361
  }
1366
- ]
1362
+ ],
1363
+ "gap": "md"
1367
1364
  },
1368
1365
  {
1366
+ "type": "stack",
1369
1367
  "children": [
1370
1368
  {
1371
- "variant": "caption",
1372
1369
  "type": "typography",
1370
+ "variant": "caption",
1373
1371
  "content": "Category"
1374
1372
  },
1375
1373
  {
1376
- "content": "@entity.category",
1374
+ "variant": "body",
1377
1375
  "type": "typography",
1378
- "variant": "body"
1376
+ "content": "@entity.category"
1379
1377
  }
1380
1378
  ],
1381
- "gap": "md",
1382
- "type": "stack",
1383
- "direction": "horizontal"
1379
+ "direction": "horizontal",
1380
+ "gap": "md"
1384
1381
  },
1385
1382
  {
1386
1383
  "children": [
1387
1384
  {
1385
+ "type": "typography",
1388
1386
  "content": "Date",
1389
- "variant": "caption",
1390
- "type": "typography"
1387
+ "variant": "caption"
1391
1388
  },
1392
1389
  {
1393
- "content": "@entity.date",
1390
+ "variant": "body",
1394
1391
  "type": "typography",
1395
- "variant": "body"
1392
+ "content": "@entity.date"
1396
1393
  }
1397
1394
  ],
1398
- "direction": "horizontal",
1399
1395
  "type": "stack",
1396
+ "direction": "horizontal",
1400
1397
  "gap": "md"
1401
1398
  },
1402
1399
  {
1403
1400
  "type": "divider"
1404
1401
  },
1405
1402
  {
1403
+ "direction": "horizontal",
1404
+ "gap": "sm",
1406
1405
  "type": "stack",
1407
1406
  "children": [
1408
1407
  {
1409
- "action": "EDIT",
1410
- "variant": "primary",
1411
1408
  "type": "button",
1409
+ "variant": "primary",
1410
+ "icon": "edit",
1412
1411
  "label": "Edit",
1413
- "icon": "edit"
1412
+ "action": "EDIT"
1414
1413
  },
1415
1414
  {
1416
- "action": "CLOSE",
1417
1415
  "type": "button",
1418
- "variant": "ghost",
1419
- "label": "Close"
1416
+ "action": "CLOSE",
1417
+ "label": "Close",
1418
+ "variant": "ghost"
1420
1419
  }
1421
1420
  ],
1422
- "gap": "sm",
1423
- "direction": "horizontal",
1424
1421
  "justify": "end"
1425
1422
  }
1426
- ]
1423
+ ],
1424
+ "type": "stack",
1425
+ "direction": "vertical",
1426
+ "gap": "md"
1427
1427
  }
1428
1428
  ]
1429
1429
  ]
@@ -1658,32 +1658,33 @@
1658
1658
  "fetch",
1659
1659
  "Transaction",
1660
1660
  {
1661
- "id": "@payload.id",
1662
1661
  "emit": {
1663
- "failure": "TransactionLoadFailed",
1664
- "success": "TransactionLoaded"
1665
- }
1662
+ "success": "TransactionLoaded",
1663
+ "failure": "TransactionLoadFailed"
1664
+ },
1665
+ "id": "@payload.id"
1666
1666
  }
1667
1667
  ],
1668
1668
  [
1669
1669
  "render-ui",
1670
1670
  "modal",
1671
1671
  {
1672
- "direction": "vertical",
1672
+ "type": "stack",
1673
+ "gap": "md",
1673
1674
  "children": [
1674
1675
  {
1675
- "direction": "horizontal",
1676
- "gap": "sm",
1677
1676
  "type": "stack",
1677
+ "direction": "horizontal",
1678
1678
  "align": "center",
1679
+ "gap": "sm",
1679
1680
  "children": [
1680
1681
  {
1681
- "name": "alert-triangle",
1682
- "type": "icon"
1682
+ "type": "icon",
1683
+ "name": "alert-triangle"
1683
1684
  },
1684
1685
  {
1685
- "content": "Delete Transaction",
1686
1686
  "type": "typography",
1687
+ "content": "Delete Transaction",
1687
1688
  "variant": "h3"
1688
1689
  }
1689
1690
  ]
@@ -1692,34 +1693,33 @@
1692
1693
  "type": "divider"
1693
1694
  },
1694
1695
  {
1695
- "variant": "error",
1696
1696
  "type": "alert",
1697
+ "variant": "error",
1697
1698
  "message": "This action cannot be undone."
1698
1699
  },
1699
1700
  {
1700
- "gap": "sm",
1701
- "type": "stack",
1702
- "direction": "horizontal",
1703
- "justify": "end",
1704
1701
  "children": [
1705
1702
  {
1706
- "action": "CANCEL",
1703
+ "variant": "ghost",
1707
1704
  "label": "Cancel",
1708
1705
  "type": "button",
1709
- "variant": "ghost"
1706
+ "action": "CANCEL"
1710
1707
  },
1711
1708
  {
1712
- "label": "Delete",
1713
- "icon": "check",
1714
1709
  "variant": "danger",
1710
+ "label": "Delete",
1715
1711
  "type": "button",
1716
- "action": "CONFIRM_DELETE"
1712
+ "action": "CONFIRM_DELETE",
1713
+ "icon": "check"
1717
1714
  }
1718
- ]
1715
+ ],
1716
+ "gap": "sm",
1717
+ "direction": "horizontal",
1718
+ "justify": "end",
1719
+ "type": "stack"
1719
1720
  }
1720
1721
  ],
1721
- "gap": "md",
1722
- "type": "stack"
1722
+ "direction": "vertical"
1723
1723
  }
1724
1724
  ]
1725
1725
  ]
@@ -1978,51 +1978,52 @@
1978
1978
  "type": "dashboard-layout",
1979
1979
  "navItems": [
1980
1980
  {
1981
- "href": "/transactions",
1982
1981
  "label": "Transactions",
1982
+ "href": "/transactions",
1983
1983
  "icon": "dollar-sign"
1984
1984
  },
1985
1985
  {
1986
1986
  "href": "/summary",
1987
- "label": "Summary",
1988
- "icon": "layout-list"
1987
+ "icon": "layout-list",
1988
+ "label": "Summary"
1989
1989
  },
1990
1990
  {
1991
- "icon": "bar-chart",
1992
1991
  "href": "/reports",
1992
+ "icon": "bar-chart",
1993
1993
  "label": "Reports"
1994
1994
  }
1995
1995
  ],
1996
1996
  "children": [
1997
1997
  {
1998
+ "type": "scaled-diagram",
1998
1999
  "children": [
1999
2000
  {
2000
2001
  "gap": "lg",
2001
- "type": "stack",
2002
- "direction": "vertical",
2003
2002
  "children": [
2004
2003
  {
2005
- "type": "breadcrumb",
2006
2004
  "items": [
2007
2005
  {
2008
- "href": "/",
2009
- "label": "Home"
2006
+ "label": "Home",
2007
+ "href": "/"
2010
2008
  },
2011
2009
  {
2012
2010
  "label": "Financial Summary"
2013
2011
  }
2014
- ]
2012
+ ],
2013
+ "type": "breadcrumb"
2015
2014
  },
2016
2015
  {
2016
+ "gap": "md",
2017
2017
  "type": "stack",
2018
+ "justify": "between",
2018
2019
  "children": [
2019
2020
  {
2021
+ "direction": "horizontal",
2020
2022
  "type": "stack",
2021
- "gap": "md",
2022
2023
  "children": [
2023
2024
  {
2024
- "type": "icon",
2025
- "name": "pie-chart"
2025
+ "name": "pie-chart",
2026
+ "type": "icon"
2026
2027
  },
2027
2028
  {
2028
2029
  "type": "typography",
@@ -2030,52 +2031,50 @@
2030
2031
  "content": "Financial Summary"
2031
2032
  }
2032
2033
  ],
2033
- "direction": "horizontal"
2034
+ "gap": "md"
2034
2035
  },
2035
2036
  {
2036
- "type": "button",
2037
- "icon": "refresh-cw",
2038
2037
  "action": "REFRESH",
2038
+ "label": "Refresh",
2039
+ "type": "button",
2039
2040
  "variant": "secondary",
2040
- "label": "Refresh"
2041
+ "icon": "refresh-cw"
2041
2042
  }
2042
2043
  ],
2043
- "direction": "horizontal",
2044
- "gap": "md",
2045
- "justify": "between"
2044
+ "direction": "horizontal"
2046
2045
  },
2047
2046
  {
2048
2047
  "type": "divider"
2049
2048
  },
2050
2049
  {
2051
- "type": "box",
2052
2050
  "padding": "md",
2051
+ "type": "box",
2053
2052
  "children": [
2054
2053
  {
2054
+ "cols": 3.0,
2055
+ "type": "simple-grid",
2055
2056
  "children": [
2056
2057
  {
2058
+ "type": "stat-display",
2057
2059
  "label": "TotalIncome",
2058
- "value": "@entity.totalIncome",
2059
- "type": "stat-display"
2060
+ "value": "@entity.totalIncome"
2060
2061
  },
2061
2062
  {
2063
+ "value": "@entity.totalExpenses",
2062
2064
  "type": "stat-display",
2063
- "label": "TotalExpenses",
2064
- "value": "@entity.totalExpenses"
2065
+ "label": "TotalExpenses"
2065
2066
  },
2066
2067
  {
2067
- "label": "Balance",
2068
2068
  "value": "@entity.balance",
2069
- "type": "stat-display"
2069
+ "type": "stat-display",
2070
+ "label": "Balance"
2070
2071
  },
2071
2072
  {
2072
- "type": "stat-display",
2073
2073
  "label": "SavingsRate",
2074
- "value": "@entity.savingsRate"
2074
+ "value": "@entity.savingsRate",
2075
+ "type": "stat-display"
2075
2076
  }
2076
- ],
2077
- "cols": 3.0,
2078
- "type": "simple-grid"
2077
+ ]
2079
2078
  }
2080
2079
  ]
2081
2080
  },
@@ -2083,50 +2082,49 @@
2083
2082
  "type": "divider"
2084
2083
  },
2085
2084
  {
2085
+ "gap": "md",
2086
2086
  "children": [
2087
2087
  {
2088
2088
  "children": [
2089
2089
  {
2090
- "content": "Chart View",
2090
+ "variant": "caption",
2091
2091
  "type": "typography",
2092
- "variant": "caption"
2092
+ "content": "Chart View"
2093
2093
  }
2094
2094
  ],
2095
2095
  "type": "card"
2096
2096
  },
2097
2097
  {
2098
+ "type": "card",
2098
2099
  "children": [
2099
2100
  {
2100
- "variant": "caption",
2101
2101
  "content": "Graph View",
2102
+ "variant": "caption",
2102
2103
  "type": "typography"
2103
2104
  }
2104
- ],
2105
- "type": "card"
2105
+ ]
2106
2106
  }
2107
2107
  ],
2108
- "cols": 2.0,
2109
- "gap": "md",
2110
- "type": "grid"
2108
+ "type": "grid",
2109
+ "cols": 2.0
2111
2110
  },
2112
2111
  {
2113
- "type": "line-chart",
2114
2112
  "data": [
2115
2113
  {
2116
- "date": "Jan",
2117
- "value": 12.0
2114
+ "value": 12.0,
2115
+ "date": "Jan"
2118
2116
  },
2119
2117
  {
2120
- "date": "Feb",
2121
- "value": 19.0
2118
+ "value": 19.0,
2119
+ "date": "Feb"
2122
2120
  },
2123
2121
  {
2124
2122
  "date": "Mar",
2125
2123
  "value": 15.0
2126
2124
  },
2127
2125
  {
2128
- "date": "Apr",
2129
- "value": 25.0
2126
+ "value": 25.0,
2127
+ "date": "Apr"
2130
2128
  },
2131
2129
  {
2132
2130
  "value": 22.0,
@@ -2136,7 +2134,8 @@
2136
2134
  "value": 30.0,
2137
2135
  "date": "Jun"
2138
2136
  }
2139
- ]
2137
+ ],
2138
+ "type": "line-chart"
2140
2139
  },
2141
2140
  {
2142
2141
  "items": [
@@ -2145,45 +2144,46 @@
2145
2144
  "color": "primary"
2146
2145
  },
2147
2146
  {
2148
- "color": "muted",
2149
- "label": "Previous"
2147
+ "label": "Previous",
2148
+ "color": "muted"
2150
2149
  }
2151
2150
  ],
2152
2151
  "type": "chart-legend"
2153
2152
  },
2154
2153
  {
2155
- "nodes": [
2156
- {
2157
- "label": "Start",
2158
- "id": "a"
2159
- },
2154
+ "edges": [
2160
2155
  {
2161
- "id": "b",
2162
- "label": "Process"
2156
+ "target": "b",
2157
+ "source": "a"
2163
2158
  },
2164
2159
  {
2165
- "id": "c",
2166
- "label": "End"
2160
+ "target": "c",
2161
+ "source": "b"
2167
2162
  }
2168
2163
  ],
2169
2164
  "width": 400.0,
2170
2165
  "height": 200.0,
2171
- "edges": [
2166
+ "nodes": [
2172
2167
  {
2173
- "target": "b",
2174
- "source": "a"
2168
+ "id": "a",
2169
+ "label": "Start"
2175
2170
  },
2176
2171
  {
2177
- "source": "b",
2178
- "target": "c"
2172
+ "label": "Process",
2173
+ "id": "b"
2174
+ },
2175
+ {
2176
+ "label": "End",
2177
+ "id": "c"
2179
2178
  }
2180
2179
  ],
2181
2180
  "type": "graph-view"
2182
2181
  }
2183
- ]
2182
+ ],
2183
+ "direction": "vertical",
2184
+ "type": "stack"
2184
2185
  }
2185
- ],
2186
- "type": "scaled-diagram"
2186
+ ]
2187
2187
  }
2188
2188
  ],
2189
2189
  "appName": "Finance Tracker"
@@ -2201,8 +2201,8 @@
2201
2201
  "FinanceSummary",
2202
2202
  {
2203
2203
  "emit": {
2204
- "success": "FinanceSummaryLoaded",
2205
- "failure": "FinanceSummaryLoadFailed"
2204
+ "failure": "FinanceSummaryLoadFailed",
2205
+ "success": "FinanceSummaryLoaded"
2206
2206
  }
2207
2207
  }
2208
2208
  ],
@@ -2214,11 +2214,9 @@
2214
2214
  {
2215
2215
  "children": [
2216
2216
  {
2217
- "type": "stack",
2218
- "gap": "lg",
2219
- "direction": "vertical",
2220
2217
  "children": [
2221
2218
  {
2219
+ "type": "breadcrumb",
2222
2220
  "items": [
2223
2221
  {
2224
2222
  "label": "Home",
@@ -2227,39 +2225,38 @@
2227
2225
  {
2228
2226
  "label": "Financial Summary"
2229
2227
  }
2230
- ],
2231
- "type": "breadcrumb"
2228
+ ]
2232
2229
  },
2233
2230
  {
2234
- "gap": "md",
2235
- "justify": "between",
2236
- "direction": "horizontal",
2237
2231
  "type": "stack",
2232
+ "direction": "horizontal",
2233
+ "gap": "md",
2238
2234
  "children": [
2239
2235
  {
2240
2236
  "direction": "horizontal",
2241
- "type": "stack",
2242
2237
  "children": [
2243
2238
  {
2244
2239
  "type": "icon",
2245
2240
  "name": "pie-chart"
2246
2241
  },
2247
2242
  {
2248
- "content": "Financial Summary",
2249
2243
  "type": "typography",
2244
+ "content": "Financial Summary",
2250
2245
  "variant": "h2"
2251
2246
  }
2252
2247
  ],
2253
- "gap": "md"
2248
+ "gap": "md",
2249
+ "type": "stack"
2254
2250
  },
2255
2251
  {
2252
+ "type": "button",
2256
2253
  "variant": "secondary",
2257
2254
  "action": "REFRESH",
2258
- "icon": "refresh-cw",
2259
- "type": "button",
2260
- "label": "Refresh"
2255
+ "label": "Refresh",
2256
+ "icon": "refresh-cw"
2261
2257
  }
2262
- ]
2258
+ ],
2259
+ "justify": "between"
2263
2260
  },
2264
2261
  {
2265
2262
  "type": "divider"
@@ -2269,16 +2266,18 @@
2269
2266
  "padding": "md",
2270
2267
  "children": [
2271
2268
  {
2269
+ "type": "simple-grid",
2270
+ "cols": 3.0,
2272
2271
  "children": [
2273
2272
  {
2274
- "value": "@entity.totalIncome",
2275
2273
  "label": "TotalIncome",
2276
- "type": "stat-display"
2274
+ "type": "stat-display",
2275
+ "value": "@entity.totalIncome"
2277
2276
  },
2278
2277
  {
2279
- "value": "@entity.totalExpenses",
2278
+ "label": "TotalExpenses",
2280
2279
  "type": "stat-display",
2281
- "label": "TotalExpenses"
2280
+ "value": "@entity.totalExpenses"
2282
2281
  },
2283
2282
  {
2284
2283
  "type": "stat-display",
@@ -2286,13 +2285,11 @@
2286
2285
  "value": "@entity.balance"
2287
2286
  },
2288
2287
  {
2288
+ "value": "@entity.savingsRate",
2289
2289
  "type": "stat-display",
2290
- "label": "SavingsRate",
2291
- "value": "@entity.savingsRate"
2290
+ "label": "SavingsRate"
2292
2291
  }
2293
- ],
2294
- "type": "simple-grid",
2295
- "cols": 3.0
2292
+ ]
2296
2293
  }
2297
2294
  ]
2298
2295
  },
@@ -2300,34 +2297,33 @@
2300
2297
  "type": "divider"
2301
2298
  },
2302
2299
  {
2300
+ "gap": "md",
2301
+ "type": "grid",
2303
2302
  "children": [
2304
2303
  {
2305
2304
  "children": [
2306
2305
  {
2306
+ "type": "typography",
2307
2307
  "variant": "caption",
2308
- "content": "Chart View",
2309
- "type": "typography"
2308
+ "content": "Chart View"
2310
2309
  }
2311
2310
  ],
2312
2311
  "type": "card"
2313
2312
  },
2314
2313
  {
2315
- "type": "card",
2316
2314
  "children": [
2317
2315
  {
2318
- "content": "Graph View",
2319
2316
  "type": "typography",
2320
- "variant": "caption"
2317
+ "variant": "caption",
2318
+ "content": "Graph View"
2321
2319
  }
2322
- ]
2320
+ ],
2321
+ "type": "card"
2323
2322
  }
2324
2323
  ],
2325
- "type": "grid",
2326
- "cols": 2.0,
2327
- "gap": "md"
2324
+ "cols": 2.0
2328
2325
  },
2329
2326
  {
2330
- "type": "line-chart",
2331
2327
  "data": [
2332
2328
  {
2333
2329
  "date": "Jan",
@@ -2338,8 +2334,8 @@
2338
2334
  "value": 19.0
2339
2335
  },
2340
2336
  {
2341
- "value": 15.0,
2342
- "date": "Mar"
2337
+ "date": "Mar",
2338
+ "value": 15.0
2343
2339
  },
2344
2340
  {
2345
2341
  "date": "Apr",
@@ -2350,54 +2346,58 @@
2350
2346
  "date": "May"
2351
2347
  },
2352
2348
  {
2353
- "value": 30.0,
2354
- "date": "Jun"
2349
+ "date": "Jun",
2350
+ "value": 30.0
2355
2351
  }
2356
- ]
2352
+ ],
2353
+ "type": "line-chart"
2357
2354
  },
2358
2355
  {
2359
- "type": "chart-legend",
2360
2356
  "items": [
2361
2357
  {
2362
- "color": "primary",
2363
- "label": "Current"
2358
+ "label": "Current",
2359
+ "color": "primary"
2364
2360
  },
2365
2361
  {
2366
- "label": "Previous",
2367
- "color": "muted"
2362
+ "color": "muted",
2363
+ "label": "Previous"
2368
2364
  }
2369
- ]
2365
+ ],
2366
+ "type": "chart-legend"
2370
2367
  },
2371
2368
  {
2372
2369
  "height": 200.0,
2373
- "type": "graph-view",
2374
2370
  "width": 400.0,
2375
- "nodes": [
2376
- {
2377
- "id": "a",
2378
- "label": "Start"
2379
- },
2371
+ "edges": [
2380
2372
  {
2381
- "label": "Process",
2382
- "id": "b"
2373
+ "target": "b",
2374
+ "source": "a"
2383
2375
  },
2384
2376
  {
2385
- "id": "c",
2386
- "label": "End"
2377
+ "source": "b",
2378
+ "target": "c"
2387
2379
  }
2388
2380
  ],
2389
- "edges": [
2381
+ "type": "graph-view",
2382
+ "nodes": [
2390
2383
  {
2391
- "source": "a",
2392
- "target": "b"
2384
+ "label": "Start",
2385
+ "id": "a"
2393
2386
  },
2394
2387
  {
2395
- "target": "c",
2396
- "source": "b"
2388
+ "label": "Process",
2389
+ "id": "b"
2390
+ },
2391
+ {
2392
+ "label": "End",
2393
+ "id": "c"
2397
2394
  }
2398
2395
  ]
2399
2396
  }
2400
- ]
2397
+ ],
2398
+ "gap": "lg",
2399
+ "direction": "vertical",
2400
+ "type": "stack"
2401
2401
  }
2402
2402
  ],
2403
2403
  "type": "scaled-diagram"
@@ -2406,19 +2406,19 @@
2406
2406
  "appName": "Finance Tracker",
2407
2407
  "navItems": [
2408
2408
  {
2409
+ "label": "Transactions",
2409
2410
  "href": "/transactions",
2410
- "icon": "dollar-sign",
2411
- "label": "Transactions"
2411
+ "icon": "dollar-sign"
2412
2412
  },
2413
2413
  {
2414
+ "icon": "layout-list",
2414
2415
  "label": "Summary",
2415
- "href": "/summary",
2416
- "icon": "layout-list"
2416
+ "href": "/summary"
2417
2417
  },
2418
2418
  {
2419
+ "label": "Reports",
2419
2420
  "href": "/reports",
2420
- "icon": "bar-chart",
2421
- "label": "Reports"
2421
+ "icon": "bar-chart"
2422
2422
  }
2423
2423
  ],
2424
2424
  "type": "dashboard-layout"
@@ -2436,8 +2436,8 @@
2436
2436
  "FinanceSummary",
2437
2437
  {
2438
2438
  "emit": {
2439
- "failure": "FinanceSummaryLoadFailed",
2440
- "success": "FinanceSummaryLoaded"
2439
+ "success": "FinanceSummaryLoaded",
2440
+ "failure": "FinanceSummaryLoadFailed"
2441
2441
  }
2442
2442
  }
2443
2443
  ],
@@ -2445,11 +2445,12 @@
2445
2445
  "render-ui",
2446
2446
  "main",
2447
2447
  {
2448
+ "appName": "Finance Tracker",
2448
2449
  "navItems": [
2449
2450
  {
2450
- "icon": "dollar-sign",
2451
2451
  "label": "Transactions",
2452
- "href": "/transactions"
2452
+ "href": "/transactions",
2453
+ "icon": "dollar-sign"
2453
2454
  },
2454
2455
  {
2455
2456
  "icon": "layout-list",
@@ -2461,21 +2462,19 @@
2461
2462
  "href": "/reports",
2462
2463
  "label": "Reports"
2463
2464
  }
2464
- ],
2465
- "type": "dashboard-layout",
2466
- "appName": "Finance Tracker",
2465
+ ],
2467
2466
  "children": [
2468
2467
  {
2469
2468
  "type": "scaled-diagram",
2470
2469
  "children": [
2471
2470
  {
2472
- "direction": "vertical",
2471
+ "gap": "lg",
2473
2472
  "children": [
2474
2473
  {
2475
2474
  "items": [
2476
2475
  {
2477
- "label": "Home",
2478
- "href": "/"
2476
+ "href": "/",
2477
+ "label": "Home"
2479
2478
  },
2480
2479
  {
2481
2480
  "label": "Financial Summary"
@@ -2484,8 +2483,12 @@
2484
2483
  "type": "breadcrumb"
2485
2484
  },
2486
2485
  {
2486
+ "direction": "horizontal",
2487
+ "gap": "md",
2487
2488
  "children": [
2488
2489
  {
2490
+ "type": "stack",
2491
+ "gap": "md",
2489
2492
  "direction": "horizontal",
2490
2493
  "children": [
2491
2494
  {
@@ -2493,26 +2496,22 @@
2493
2496
  "name": "pie-chart"
2494
2497
  },
2495
2498
  {
2496
- "variant": "h2",
2499
+ "type": "typography",
2497
2500
  "content": "Financial Summary",
2498
- "type": "typography"
2501
+ "variant": "h2"
2499
2502
  }
2500
- ],
2501
- "type": "stack",
2502
- "gap": "md"
2503
+ ]
2503
2504
  },
2504
2505
  {
2506
+ "variant": "secondary",
2507
+ "action": "REFRESH",
2505
2508
  "icon": "refresh-cw",
2506
2509
  "label": "Refresh",
2507
- "type": "button",
2508
- "action": "REFRESH",
2509
- "variant": "secondary"
2510
+ "type": "button"
2510
2511
  }
2511
2512
  ],
2512
2513
  "justify": "between",
2513
- "type": "stack",
2514
- "gap": "md",
2515
- "direction": "horizontal"
2514
+ "type": "stack"
2516
2515
  },
2517
2516
  {
2518
2517
  "type": "divider"
@@ -2524,28 +2523,28 @@
2524
2523
  {
2525
2524
  "children": [
2526
2525
  {
2526
+ "value": "@entity.totalIncome",
2527
2527
  "type": "stat-display",
2528
- "label": "TotalIncome",
2529
- "value": "@entity.totalIncome"
2528
+ "label": "TotalIncome"
2530
2529
  },
2531
2530
  {
2532
2531
  "type": "stat-display",
2533
- "label": "TotalExpenses",
2534
- "value": "@entity.totalExpenses"
2532
+ "value": "@entity.totalExpenses",
2533
+ "label": "TotalExpenses"
2535
2534
  },
2536
2535
  {
2537
- "type": "stat-display",
2538
2536
  "label": "Balance",
2539
- "value": "@entity.balance"
2537
+ "value": "@entity.balance",
2538
+ "type": "stat-display"
2540
2539
  },
2541
2540
  {
2542
- "type": "stat-display",
2541
+ "label": "SavingsRate",
2543
2542
  "value": "@entity.savingsRate",
2544
- "label": "SavingsRate"
2543
+ "type": "stat-display"
2545
2544
  }
2546
2545
  ],
2547
- "type": "simple-grid",
2548
- "cols": 3.0
2546
+ "cols": 3.0,
2547
+ "type": "simple-grid"
2549
2548
  }
2550
2549
  ]
2551
2550
  },
@@ -2553,16 +2552,16 @@
2553
2552
  "type": "divider"
2554
2553
  },
2555
2554
  {
2555
+ "gap": "md",
2556
2556
  "type": "grid",
2557
- "cols": 2.0,
2558
2557
  "children": [
2559
2558
  {
2560
2559
  "type": "card",
2561
2560
  "children": [
2562
2561
  {
2562
+ "variant": "caption",
2563
2563
  "content": "Chart View",
2564
- "type": "typography",
2565
- "variant": "caption"
2564
+ "type": "typography"
2566
2565
  }
2567
2566
  ]
2568
2567
  },
@@ -2570,14 +2569,14 @@
2570
2569
  "type": "card",
2571
2570
  "children": [
2572
2571
  {
2573
- "type": "typography",
2572
+ "content": "Graph View",
2574
2573
  "variant": "caption",
2575
- "content": "Graph View"
2574
+ "type": "typography"
2576
2575
  }
2577
2576
  ]
2578
2577
  }
2579
2578
  ],
2580
- "gap": "md"
2579
+ "cols": 2.0
2581
2580
  },
2582
2581
  {
2583
2582
  "type": "line-chart",
@@ -2595,16 +2594,16 @@
2595
2594
  "date": "Mar"
2596
2595
  },
2597
2596
  {
2598
- "date": "Apr",
2599
- "value": 25.0
2597
+ "value": 25.0,
2598
+ "date": "Apr"
2600
2599
  },
2601
2600
  {
2602
2601
  "date": "May",
2603
2602
  "value": 22.0
2604
2603
  },
2605
2604
  {
2606
- "date": "Jun",
2607
- "value": 30.0
2605
+ "value": 30.0,
2606
+ "date": "Jun"
2608
2607
  }
2609
2608
  ]
2610
2609
  },
@@ -2622,41 +2621,42 @@
2622
2621
  ]
2623
2622
  },
2624
2623
  {
2625
- "edges": [
2626
- {
2627
- "target": "b",
2628
- "source": "a"
2629
- },
2630
- {
2631
- "source": "b",
2632
- "target": "c"
2633
- }
2634
- ],
2624
+ "type": "graph-view",
2625
+ "height": 200.0,
2626
+ "width": 400.0,
2635
2627
  "nodes": [
2636
2628
  {
2637
- "id": "a",
2638
- "label": "Start"
2629
+ "label": "Start",
2630
+ "id": "a"
2639
2631
  },
2640
2632
  {
2641
2633
  "id": "b",
2642
2634
  "label": "Process"
2643
2635
  },
2644
2636
  {
2645
- "id": "c",
2646
- "label": "End"
2637
+ "label": "End",
2638
+ "id": "c"
2647
2639
  }
2648
2640
  ],
2649
- "width": 400.0,
2650
- "type": "graph-view",
2651
- "height": 200.0
2641
+ "edges": [
2642
+ {
2643
+ "source": "a",
2644
+ "target": "b"
2645
+ },
2646
+ {
2647
+ "source": "b",
2648
+ "target": "c"
2649
+ }
2650
+ ]
2652
2651
  }
2653
2652
  ],
2654
- "gap": "lg",
2655
- "type": "stack"
2653
+ "type": "stack",
2654
+ "direction": "vertical"
2656
2655
  }
2657
2656
  ]
2658
2657
  }
2659
- ]
2658
+ ],
2659
+ "type": "dashboard-layout"
2660
2660
  }
2661
2661
  ]
2662
2662
  ]
@@ -2671,8 +2671,8 @@
2671
2671
  "FinanceSummary",
2672
2672
  {
2673
2673
  "emit": {
2674
- "success": "FinanceSummaryLoaded",
2675
- "failure": "FinanceSummaryLoadFailed"
2674
+ "failure": "FinanceSummaryLoadFailed",
2675
+ "success": "FinanceSummaryLoaded"
2676
2676
  }
2677
2677
  }
2678
2678
  ],
@@ -2680,130 +2680,133 @@
2680
2680
  "render-ui",
2681
2681
  "main",
2682
2682
  {
2683
+ "type": "dashboard-layout",
2683
2684
  "children": [
2684
2685
  {
2686
+ "type": "scaled-diagram",
2685
2687
  "children": [
2686
2688
  {
2687
2689
  "direction": "vertical",
2688
2690
  "type": "stack",
2691
+ "gap": "lg",
2689
2692
  "children": [
2690
2693
  {
2691
- "type": "breadcrumb",
2692
2694
  "items": [
2693
2695
  {
2694
- "href": "/",
2695
- "label": "Home"
2696
+ "label": "Home",
2697
+ "href": "/"
2696
2698
  },
2697
2699
  {
2698
2700
  "label": "Financial Summary"
2699
2701
  }
2700
- ]
2702
+ ],
2703
+ "type": "breadcrumb"
2701
2704
  },
2702
2705
  {
2706
+ "type": "stack",
2707
+ "gap": "md",
2703
2708
  "children": [
2704
2709
  {
2710
+ "gap": "md",
2705
2711
  "type": "stack",
2706
- "direction": "horizontal",
2707
2712
  "children": [
2708
2713
  {
2709
- "name": "pie-chart",
2710
- "type": "icon"
2714
+ "type": "icon",
2715
+ "name": "pie-chart"
2711
2716
  },
2712
2717
  {
2713
2718
  "content": "Financial Summary",
2714
- "variant": "h2",
2715
- "type": "typography"
2719
+ "type": "typography",
2720
+ "variant": "h2"
2716
2721
  }
2717
2722
  ],
2718
- "gap": "md"
2723
+ "direction": "horizontal"
2719
2724
  },
2720
2725
  {
2721
- "icon": "refresh-cw",
2722
2726
  "type": "button",
2727
+ "icon": "refresh-cw",
2728
+ "variant": "secondary",
2723
2729
  "label": "Refresh",
2724
- "action": "REFRESH",
2725
- "variant": "secondary"
2730
+ "action": "REFRESH"
2726
2731
  }
2727
2732
  ],
2728
2733
  "direction": "horizontal",
2729
- "type": "stack",
2730
- "gap": "md",
2731
2734
  "justify": "between"
2732
2735
  },
2733
2736
  {
2734
2737
  "type": "divider"
2735
2738
  },
2736
2739
  {
2740
+ "type": "box",
2737
2741
  "children": [
2738
2742
  {
2739
- "cols": 3.0,
2740
2743
  "type": "simple-grid",
2744
+ "cols": 3.0,
2741
2745
  "children": [
2742
2746
  {
2743
- "type": "stat-display",
2744
2747
  "value": "@entity.totalIncome",
2748
+ "type": "stat-display",
2745
2749
  "label": "TotalIncome"
2746
2750
  },
2747
2751
  {
2748
- "label": "TotalExpenses",
2749
2752
  "value": "@entity.totalExpenses",
2753
+ "label": "TotalExpenses",
2750
2754
  "type": "stat-display"
2751
2755
  },
2752
2756
  {
2753
- "value": "@entity.balance",
2754
2757
  "type": "stat-display",
2758
+ "value": "@entity.balance",
2755
2759
  "label": "Balance"
2756
2760
  },
2757
2761
  {
2758
- "label": "SavingsRate",
2762
+ "value": "@entity.savingsRate",
2759
2763
  "type": "stat-display",
2760
- "value": "@entity.savingsRate"
2764
+ "label": "SavingsRate"
2761
2765
  }
2762
2766
  ]
2763
2767
  }
2764
2768
  ],
2765
- "type": "box",
2766
2769
  "padding": "md"
2767
2770
  },
2768
2771
  {
2769
2772
  "type": "divider"
2770
2773
  },
2771
2774
  {
2775
+ "type": "grid",
2772
2776
  "children": [
2773
2777
  {
2778
+ "type": "card",
2774
2779
  "children": [
2775
2780
  {
2776
- "type": "typography",
2777
2781
  "variant": "caption",
2778
- "content": "Chart View"
2782
+ "content": "Chart View",
2783
+ "type": "typography"
2779
2784
  }
2780
- ],
2781
- "type": "card"
2785
+ ]
2782
2786
  },
2783
2787
  {
2784
2788
  "type": "card",
2785
2789
  "children": [
2786
2790
  {
2787
- "content": "Graph View",
2788
2791
  "type": "typography",
2792
+ "content": "Graph View",
2789
2793
  "variant": "caption"
2790
2794
  }
2791
2795
  ]
2792
2796
  }
2793
2797
  ],
2794
- "type": "grid",
2795
- "cols": 2.0,
2796
- "gap": "md"
2798
+ "gap": "md",
2799
+ "cols": 2.0
2797
2800
  },
2798
2801
  {
2799
2802
  "data": [
2800
2803
  {
2801
- "value": 12.0,
2802
- "date": "Jan"
2804
+ "date": "Jan",
2805
+ "value": 12.0
2803
2806
  },
2804
2807
  {
2805
- "value": 19.0,
2806
- "date": "Feb"
2808
+ "date": "Feb",
2809
+ "value": 19.0
2807
2810
  },
2808
2811
  {
2809
2812
  "value": 15.0,
@@ -2814,8 +2817,8 @@
2814
2817
  "date": "Apr"
2815
2818
  },
2816
2819
  {
2817
- "value": 22.0,
2818
- "date": "May"
2820
+ "date": "May",
2821
+ "value": 22.0
2819
2822
  },
2820
2823
  {
2821
2824
  "value": 30.0,
@@ -2825,6 +2828,7 @@
2825
2828
  "type": "line-chart"
2826
2829
  },
2827
2830
  {
2831
+ "type": "chart-legend",
2828
2832
  "items": [
2829
2833
  {
2830
2834
  "label": "Current",
@@ -2834,21 +2838,20 @@
2834
2838
  "label": "Previous",
2835
2839
  "color": "muted"
2836
2840
  }
2837
- ],
2838
- "type": "chart-legend"
2841
+ ]
2839
2842
  },
2840
2843
  {
2844
+ "type": "graph-view",
2841
2845
  "edges": [
2842
2846
  {
2843
- "target": "b",
2844
- "source": "a"
2847
+ "source": "a",
2848
+ "target": "b"
2845
2849
  },
2846
2850
  {
2847
2851
  "target": "c",
2848
2852
  "source": "b"
2849
2853
  }
2850
2854
  ],
2851
- "type": "graph-view",
2852
2855
  "nodes": [
2853
2856
  {
2854
2857
  "id": "a",
@@ -2859,39 +2862,36 @@
2859
2862
  "id": "b"
2860
2863
  },
2861
2864
  {
2862
- "label": "End",
2863
- "id": "c"
2865
+ "id": "c",
2866
+ "label": "End"
2864
2867
  }
2865
2868
  ],
2866
2869
  "height": 200.0,
2867
2870
  "width": 400.0
2868
2871
  }
2869
- ],
2870
- "gap": "lg"
2872
+ ]
2871
2873
  }
2872
- ],
2873
- "type": "scaled-diagram"
2874
+ ]
2874
2875
  }
2875
2876
  ],
2876
- "type": "dashboard-layout",
2877
+ "appName": "Finance Tracker",
2877
2878
  "navItems": [
2878
2879
  {
2879
- "href": "/transactions",
2880
2880
  "label": "Transactions",
2881
+ "href": "/transactions",
2881
2882
  "icon": "dollar-sign"
2882
2883
  },
2883
2884
  {
2885
+ "icon": "layout-list",
2884
2886
  "label": "Summary",
2885
- "href": "/summary",
2886
- "icon": "layout-list"
2887
+ "href": "/summary"
2887
2888
  },
2888
2889
  {
2889
- "href": "/reports",
2890
+ "label": "Reports",
2890
2891
  "icon": "bar-chart",
2891
- "label": "Reports"
2892
+ "href": "/reports"
2892
2893
  }
2893
- ],
2894
- "appName": "Finance Tracker"
2894
+ ]
2895
2895
  }
2896
2896
  ]
2897
2897
  ]
@@ -2915,37 +2915,20 @@
2915
2915
  "render-ui",
2916
2916
  "main",
2917
2917
  {
2918
- "appName": "Finance Tracker",
2919
- "navItems": [
2920
- {
2921
- "icon": "dollar-sign",
2922
- "label": "Transactions",
2923
- "href": "/transactions"
2924
- },
2925
- {
2926
- "icon": "layout-list",
2927
- "label": "Summary",
2928
- "href": "/summary"
2929
- },
2930
- {
2931
- "href": "/reports",
2932
- "icon": "bar-chart",
2933
- "label": "Reports"
2934
- }
2935
- ],
2936
2918
  "type": "dashboard-layout",
2937
2919
  "children": [
2938
2920
  {
2939
- "type": "scaled-diagram",
2940
2921
  "children": [
2941
2922
  {
2923
+ "type": "stack",
2924
+ "direction": "vertical",
2942
2925
  "gap": "lg",
2943
2926
  "children": [
2944
2927
  {
2945
2928
  "items": [
2946
2929
  {
2947
- "href": "/",
2948
- "label": "Home"
2930
+ "label": "Home",
2931
+ "href": "/"
2949
2932
  },
2950
2933
  {
2951
2934
  "label": "Financial Summary"
@@ -2954,16 +2937,14 @@
2954
2937
  "type": "breadcrumb"
2955
2938
  },
2956
2939
  {
2957
- "direction": "horizontal",
2958
2940
  "type": "stack",
2959
- "gap": "md",
2960
- "justify": "between",
2941
+ "direction": "horizontal",
2961
2942
  "children": [
2962
2943
  {
2963
2944
  "children": [
2964
2945
  {
2965
- "name": "pie-chart",
2966
- "type": "icon"
2946
+ "type": "icon",
2947
+ "name": "pie-chart"
2967
2948
  },
2968
2949
  {
2969
2950
  "type": "typography",
@@ -2971,18 +2952,20 @@
2971
2952
  "variant": "h2"
2972
2953
  }
2973
2954
  ],
2974
- "direction": "horizontal",
2975
2955
  "type": "stack",
2956
+ "direction": "horizontal",
2976
2957
  "gap": "md"
2977
2958
  },
2978
2959
  {
2979
- "label": "Refresh",
2980
- "action": "REFRESH",
2981
- "type": "button",
2960
+ "icon": "refresh-cw",
2982
2961
  "variant": "secondary",
2983
- "icon": "refresh-cw"
2962
+ "action": "REFRESH",
2963
+ "label": "Refresh",
2964
+ "type": "button"
2984
2965
  }
2985
- ]
2966
+ ],
2967
+ "gap": "md",
2968
+ "justify": "between"
2986
2969
  },
2987
2970
  {
2988
2971
  "type": "divider"
@@ -2995,9 +2978,9 @@
2995
2978
  "type": "simple-grid",
2996
2979
  "children": [
2997
2980
  {
2981
+ "label": "TotalIncome",
2998
2982
  "value": "@entity.totalIncome",
2999
- "type": "stat-display",
3000
- "label": "TotalIncome"
2983
+ "type": "stat-display"
3001
2984
  },
3002
2985
  {
3003
2986
  "type": "stat-display",
@@ -3005,14 +2988,14 @@
3005
2988
  "label": "TotalExpenses"
3006
2989
  },
3007
2990
  {
2991
+ "type": "stat-display",
3008
2992
  "label": "Balance",
3009
- "value": "@entity.balance",
3010
- "type": "stat-display"
2993
+ "value": "@entity.balance"
3011
2994
  },
3012
2995
  {
3013
- "value": "@entity.savingsRate",
3014
2996
  "type": "stat-display",
3015
- "label": "SavingsRate"
2997
+ "label": "SavingsRate",
2998
+ "value": "@entity.savingsRate"
3016
2999
  }
3017
3000
  ]
3018
3001
  }
@@ -3024,30 +3007,30 @@
3024
3007
  },
3025
3008
  {
3026
3009
  "type": "grid",
3027
- "gap": "md",
3028
3010
  "children": [
3029
3011
  {
3030
3012
  "children": [
3031
3013
  {
3032
3014
  "variant": "caption",
3033
- "type": "typography",
3034
- "content": "Chart View"
3015
+ "content": "Chart View",
3016
+ "type": "typography"
3035
3017
  }
3036
3018
  ],
3037
3019
  "type": "card"
3038
3020
  },
3039
3021
  {
3040
- "type": "card",
3041
3022
  "children": [
3042
3023
  {
3043
- "variant": "caption",
3044
3024
  "content": "Graph View",
3045
- "type": "typography"
3025
+ "type": "typography",
3026
+ "variant": "caption"
3046
3027
  }
3047
- ]
3028
+ ],
3029
+ "type": "card"
3048
3030
  }
3049
3031
  ],
3050
- "cols": 2.0
3032
+ "cols": 2.0,
3033
+ "gap": "md"
3051
3034
  },
3052
3035
  {
3053
3036
  "type": "line-chart",
@@ -3057,12 +3040,12 @@
3057
3040
  "date": "Jan"
3058
3041
  },
3059
3042
  {
3060
- "date": "Feb",
3061
- "value": 19.0
3043
+ "value": 19.0,
3044
+ "date": "Feb"
3062
3045
  },
3063
3046
  {
3064
- "value": 15.0,
3065
- "date": "Mar"
3047
+ "date": "Mar",
3048
+ "value": 15.0
3066
3049
  },
3067
3050
  {
3068
3051
  "value": 25.0,
@@ -3073,8 +3056,8 @@
3073
3056
  "date": "May"
3074
3057
  },
3075
3058
  {
3076
- "value": 30.0,
3077
- "date": "Jun"
3059
+ "date": "Jun",
3060
+ "value": 30.0
3078
3061
  }
3079
3062
  ]
3080
3063
  },
@@ -3082,8 +3065,8 @@
3082
3065
  "type": "chart-legend",
3083
3066
  "items": [
3084
3067
  {
3085
- "label": "Current",
3086
- "color": "primary"
3068
+ "color": "primary",
3069
+ "label": "Current"
3087
3070
  },
3088
3071
  {
3089
3072
  "label": "Previous",
@@ -3092,18 +3075,7 @@
3092
3075
  ]
3093
3076
  },
3094
3077
  {
3095
- "edges": [
3096
- {
3097
- "target": "b",
3098
- "source": "a"
3099
- },
3100
- {
3101
- "source": "b",
3102
- "target": "c"
3103
- }
3104
- ],
3105
3078
  "type": "graph-view",
3106
- "height": 200.0,
3107
3079
  "nodes": [
3108
3080
  {
3109
3081
  "id": "a",
@@ -3118,13 +3090,41 @@
3118
3090
  "label": "End"
3119
3091
  }
3120
3092
  ],
3121
- "width": 400.0
3093
+ "height": 200.0,
3094
+ "width": 400.0,
3095
+ "edges": [
3096
+ {
3097
+ "source": "a",
3098
+ "target": "b"
3099
+ },
3100
+ {
3101
+ "source": "b",
3102
+ "target": "c"
3103
+ }
3104
+ ]
3122
3105
  }
3123
- ],
3124
- "type": "stack",
3125
- "direction": "vertical"
3106
+ ]
3126
3107
  }
3127
- ]
3108
+ ],
3109
+ "type": "scaled-diagram"
3110
+ }
3111
+ ],
3112
+ "appName": "Finance Tracker",
3113
+ "navItems": [
3114
+ {
3115
+ "label": "Transactions",
3116
+ "href": "/transactions",
3117
+ "icon": "dollar-sign"
3118
+ },
3119
+ {
3120
+ "href": "/summary",
3121
+ "label": "Summary",
3122
+ "icon": "layout-list"
3123
+ },
3124
+ {
3125
+ "href": "/reports",
3126
+ "icon": "bar-chart",
3127
+ "label": "Reports"
3128
3128
  }
3129
3129
  ]
3130
3130
  }
@@ -3261,8 +3261,8 @@
3261
3261
  "FinanceReport",
3262
3262
  {
3263
3263
  "emit": {
3264
- "success": "FinanceReportLoaded",
3265
- "failure": "FinanceReportLoadFailed"
3264
+ "failure": "FinanceReportLoadFailed",
3265
+ "success": "FinanceReportLoaded"
3266
3266
  }
3267
3267
  }
3268
3268
  ],
@@ -3270,22 +3270,22 @@
3270
3270
  "render-ui",
3271
3271
  "main",
3272
3272
  {
3273
- "type": "stack",
3274
3273
  "gap": "md",
3274
+ "direction": "vertical",
3275
3275
  "align": "center",
3276
+ "className": "py-12",
3277
+ "type": "stack",
3276
3278
  "children": [
3277
3279
  {
3278
3280
  "type": "spinner"
3279
3281
  },
3280
3282
  {
3281
- "type": "typography",
3282
- "color": "muted",
3283
3283
  "content": "Loading…",
3284
- "variant": "caption"
3284
+ "variant": "caption",
3285
+ "color": "muted",
3286
+ "type": "typography"
3285
3287
  }
3286
- ],
3287
- "direction": "vertical",
3288
- "className": "py-12"
3288
+ ]
3289
3289
  }
3290
3290
  ]
3291
3291
  ]
@@ -3299,92 +3299,89 @@
3299
3299
  "render-ui",
3300
3300
  "main",
3301
3301
  {
3302
- "type": "dashboard-layout",
3303
3302
  "appName": "Finance Tracker",
3303
+ "type": "dashboard-layout",
3304
3304
  "navItems": [
3305
3305
  {
3306
3306
  "icon": "dollar-sign",
3307
- "label": "Transactions",
3308
- "href": "/transactions"
3307
+ "href": "/transactions",
3308
+ "label": "Transactions"
3309
3309
  },
3310
3310
  {
3311
- "label": "Summary",
3312
3311
  "href": "/summary",
3313
- "icon": "layout-list"
3312
+ "icon": "layout-list",
3313
+ "label": "Summary"
3314
3314
  },
3315
3315
  {
3316
+ "label": "Reports",
3316
3317
  "icon": "bar-chart",
3317
- "href": "/reports",
3318
- "label": "Reports"
3318
+ "href": "/reports"
3319
3319
  }
3320
3320
  ],
3321
3321
  "children": [
3322
3322
  {
3323
3323
  "gap": "lg",
3324
- "direction": "vertical",
3325
- "type": "stack",
3324
+ "className": "max-w-5xl mx-auto w-full",
3326
3325
  "children": [
3327
3326
  {
3328
- "align": "center",
3329
- "justify": "between",
3330
- "type": "stack",
3331
- "direction": "horizontal",
3332
- "gap": "md",
3333
3327
  "children": [
3334
3328
  {
3329
+ "direction": "horizontal",
3335
3330
  "gap": "sm",
3336
- "type": "stack",
3331
+ "align": "center",
3337
3332
  "children": [
3338
3333
  {
3339
- "type": "icon",
3340
- "name": "file-text"
3334
+ "name": "file-text",
3335
+ "type": "icon"
3341
3336
  },
3342
3337
  {
3343
- "type": "typography",
3344
3338
  "variant": "h2",
3339
+ "type": "typography",
3345
3340
  "content": "Reports"
3346
3341
  }
3347
3342
  ],
3348
- "align": "center",
3349
- "direction": "horizontal"
3343
+ "type": "stack"
3350
3344
  },
3351
3345
  {
3352
- "type": "stack",
3346
+ "gap": "sm",
3353
3347
  "children": [
3354
3348
  {
3355
3349
  "type": "button",
3356
- "variant": "primary",
3357
3350
  "icon": "plus",
3358
3351
  "label": "Create FinanceReport",
3359
- "action": "CREATE"
3352
+ "action": "CREATE",
3353
+ "variant": "primary"
3360
3354
  }
3361
3355
  ],
3362
- "direction": "horizontal",
3363
- "gap": "sm"
3356
+ "type": "stack",
3357
+ "direction": "horizontal"
3364
3358
  }
3365
- ]
3359
+ ],
3360
+ "gap": "md",
3361
+ "align": "center",
3362
+ "justify": "between",
3363
+ "type": "stack",
3364
+ "direction": "horizontal"
3366
3365
  },
3367
3366
  {
3368
3367
  "type": "divider"
3369
3368
  },
3370
3369
  {
3371
- "entity": "@payload.data",
3372
- "variant": "card",
3373
- "type": "data-list",
3374
3370
  "itemActions": [
3375
3371
  {
3376
- "event": "VIEW",
3377
3372
  "variant": "ghost",
3378
- "label": "View"
3373
+ "label": "View",
3374
+ "event": "VIEW"
3379
3375
  }
3380
3376
  ],
3381
3377
  "fields": [],
3382
- "gap": "sm",
3378
+ "variant": "card",
3379
+ "entity": "@payload.data",
3383
3380
  "columns": [
3384
3381
  {
3385
- "name": "title",
3386
3382
  "variant": "h3",
3387
- "icon": "file-text"
3383
+ "icon": "file-text",
3384
+ "name": "title"
3388
3385
  },
3389
3386
  {
3390
3387
  "name": "period",
@@ -3396,15 +3393,18 @@
3396
3393
  "variant": "h4"
3397
3394
  },
3398
3395
  {
3399
- "label": "Generated",
3400
3396
  "variant": "caption",
3397
+ "name": "generatedAt",
3401
3398
  "format": "date",
3402
- "name": "generatedAt"
3399
+ "label": "Generated"
3403
3400
  }
3404
- ]
3401
+ ],
3402
+ "gap": "sm",
3403
+ "type": "data-list"
3405
3404
  }
3406
3405
  ],
3407
- "className": "max-w-5xl mx-auto w-full"
3406
+ "type": "stack",
3407
+ "direction": "vertical"
3408
3408
  }
3409
3409
  ]
3410
3410
  }
@@ -3420,36 +3420,36 @@
3420
3420
  "render-ui",
3421
3421
  "main",
3422
3422
  {
3423
- "align": "center",
3424
- "className": "py-12",
3425
- "direction": "vertical",
3423
+ "gap": "md",
3426
3424
  "children": [
3427
3425
  {
3428
- "color": "destructive",
3426
+ "type": "icon",
3429
3427
  "name": "alert-triangle",
3430
- "type": "icon"
3428
+ "color": "destructive"
3431
3429
  },
3432
3430
  {
3431
+ "variant": "h3",
3433
3432
  "content": "Failed to load financereport",
3434
- "type": "typography",
3435
- "variant": "h3"
3433
+ "type": "typography"
3436
3434
  },
3437
3435
  {
3438
- "type": "typography",
3439
3436
  "color": "muted",
3440
- "content": "@payload.error",
3441
- "variant": "body"
3437
+ "variant": "body",
3438
+ "type": "typography",
3439
+ "content": "@payload.error"
3442
3440
  },
3443
3441
  {
3444
3442
  "variant": "primary",
3445
- "type": "button",
3446
- "icon": "rotate-ccw",
3447
3443
  "label": "Retry",
3444
+ "icon": "rotate-ccw",
3445
+ "type": "button",
3448
3446
  "action": "INIT"
3449
3447
  }
3450
3448
  ],
3451
- "gap": "md",
3452
- "type": "stack"
3449
+ "direction": "vertical",
3450
+ "type": "stack",
3451
+ "align": "center",
3452
+ "className": "py-12"
3453
3453
  }
3454
3454
  ]
3455
3455
  ]
@@ -3627,41 +3627,41 @@
3627
3627
  "render-ui",
3628
3628
  "modal",
3629
3629
  {
3630
+ "gap": "md",
3630
3631
  "children": [
3631
3632
  {
3632
- "direction": "horizontal",
3633
- "gap": "sm",
3634
3633
  "children": [
3635
3634
  {
3636
3635
  "type": "icon",
3637
3636
  "name": "plus-circle"
3638
3637
  },
3639
3638
  {
3640
- "variant": "h3",
3639
+ "type": "typography",
3641
3640
  "content": "New FinanceReport",
3642
- "type": "typography"
3641
+ "variant": "h3"
3643
3642
  }
3644
3643
  ],
3644
+ "direction": "horizontal",
3645
+ "gap": "sm",
3645
3646
  "type": "stack"
3646
3647
  },
3647
3648
  {
3648
3649
  "type": "divider"
3649
3650
  },
3650
3651
  {
3651
- "type": "form-section",
3652
3652
  "cancelEvent": "CLOSE",
3653
- "mode": "create",
3654
3653
  "fields": [
3655
3654
  "title",
3656
3655
  "period",
3657
3656
  "total",
3658
3657
  "generatedAt"
3659
3658
  ],
3660
- "submitEvent": "SAVE"
3659
+ "type": "form-section",
3660
+ "submitEvent": "SAVE",
3661
+ "mode": "create"
3661
3662
  }
3662
3663
  ],
3663
3664
  "direction": "vertical",
3664
- "gap": "md",
3665
3665
  "type": "stack"
3666
3666
  }
3667
3667
  ]
@@ -3703,8 +3703,8 @@
3703
3703
  "@payload.data",
3704
3704
  {
3705
3705
  "emit": {
3706
- "failure": "FinanceReportSaveFailed",
3707
- "success": "FinanceReportSaved"
3706
+ "success": "FinanceReportSaved",
3707
+ "failure": "FinanceReportSaveFailed"
3708
3708
  }
3709
3709
  }
3710
3710
  ],
@@ -3849,12 +3849,12 @@
3849
3849
  "modal",
3850
3850
  {
3851
3851
  "type": "stack",
3852
- "direction": "vertical",
3852
+ "gap": "md",
3853
3853
  "children": [
3854
3854
  {
3855
3855
  "type": "stack",
3856
- "gap": "sm",
3857
3856
  "direction": "horizontal",
3857
+ "gap": "sm",
3858
3858
  "align": "center",
3859
3859
  "children": [
3860
3860
  {
@@ -3862,9 +3862,9 @@
3862
3862
  "name": "eye"
3863
3863
  },
3864
3864
  {
3865
- "type": "typography",
3865
+ "variant": "h3",
3866
3866
  "content": "@entity.title",
3867
- "variant": "h3"
3867
+ "type": "typography"
3868
3868
  }
3869
3869
  ]
3870
3870
  },
@@ -3874,8 +3874,8 @@
3874
3874
  {
3875
3875
  "children": [
3876
3876
  {
3877
- "content": "Title",
3878
3877
  "variant": "caption",
3878
+ "content": "Title",
3879
3879
  "type": "typography"
3880
3880
  },
3881
3881
  {
@@ -3884,35 +3884,33 @@
3884
3884
  "variant": "body"
3885
3885
  }
3886
3886
  ],
3887
- "type": "stack",
3887
+ "gap": "md",
3888
3888
  "direction": "horizontal",
3889
- "gap": "md"
3889
+ "type": "stack"
3890
3890
  },
3891
3891
  {
3892
3892
  "direction": "horizontal",
3893
3893
  "type": "stack",
3894
- "gap": "md",
3895
3894
  "children": [
3896
3895
  {
3897
- "variant": "caption",
3898
3896
  "type": "typography",
3897
+ "variant": "caption",
3899
3898
  "content": "Period"
3900
3899
  },
3901
3900
  {
3902
- "variant": "body",
3903
3901
  "content": "@entity.period",
3904
- "type": "typography"
3902
+ "type": "typography",
3903
+ "variant": "body"
3905
3904
  }
3906
- ]
3905
+ ],
3906
+ "gap": "md"
3907
3907
  },
3908
3908
  {
3909
- "direction": "horizontal",
3910
3909
  "type": "stack",
3911
- "gap": "md",
3912
3910
  "children": [
3913
3911
  {
3914
- "type": "typography",
3915
3912
  "variant": "caption",
3913
+ "type": "typography",
3916
3914
  "content": "Total"
3917
3915
  },
3918
3916
  {
@@ -3920,22 +3918,24 @@
3920
3918
  "type": "typography",
3921
3919
  "content": "@entity.total"
3922
3920
  }
3923
- ]
3921
+ ],
3922
+ "direction": "horizontal",
3923
+ "gap": "md"
3924
3924
  },
3925
3925
  {
3926
- "gap": "md",
3927
3926
  "type": "stack",
3928
3927
  "direction": "horizontal",
3928
+ "gap": "md",
3929
3929
  "children": [
3930
3930
  {
3931
+ "content": "Generated At",
3931
3932
  "type": "typography",
3932
- "variant": "caption",
3933
- "content": "Generated At"
3933
+ "variant": "caption"
3934
3934
  },
3935
3935
  {
3936
3936
  "variant": "body",
3937
- "type": "typography",
3938
- "content": "@entity.generatedAt"
3937
+ "content": "@entity.generatedAt",
3938
+ "type": "typography"
3939
3939
  }
3940
3940
  ]
3941
3941
  },
@@ -3943,21 +3943,21 @@
3943
3943
  "type": "divider"
3944
3944
  },
3945
3945
  {
3946
+ "justify": "end",
3947
+ "gap": "sm",
3948
+ "direction": "horizontal",
3946
3949
  "children": [
3947
3950
  {
3948
- "action": "CLOSE",
3949
- "type": "button",
3950
3951
  "label": "Close",
3952
+ "type": "button",
3953
+ "action": "CLOSE",
3951
3954
  "variant": "ghost"
3952
3955
  }
3953
3956
  ],
3954
- "type": "stack",
3955
- "direction": "horizontal",
3956
- "gap": "sm",
3957
- "justify": "end"
3957
+ "type": "stack"
3958
3958
  }
3959
3959
  ],
3960
- "gap": "md"
3960
+ "direction": "vertical"
3961
3961
  }
3962
3962
  ]
3963
3963
  ]
@@ -4029,4 +4029,4 @@
4029
4029
  ]
4030
4030
  }
4031
4031
  ]
4032
- }
4032
+ }