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