@almadar/std 8.2.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 -42
  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 -32
  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 -42
  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 -32
  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
@@ -548,8 +548,8 @@
548
548
  "Employee",
549
549
  {
550
550
  "emit": {
551
- "success": "EmployeeLoaded",
552
- "failure": "EmployeeLoadFailed"
551
+ "failure": "EmployeeLoadFailed",
552
+ "success": "EmployeeLoaded"
553
553
  }
554
554
  }
555
555
  ],
@@ -557,22 +557,22 @@
557
557
  "render-ui",
558
558
  "main",
559
559
  {
560
+ "type": "stack",
560
561
  "align": "center",
561
562
  "gap": "md",
562
563
  "direction": "vertical",
564
+ "className": "py-12",
563
565
  "children": [
564
566
  {
565
567
  "type": "spinner"
566
568
  },
567
569
  {
568
570
  "type": "typography",
569
- "color": "muted",
570
571
  "content": "Loading…",
571
- "variant": "caption"
572
+ "variant": "caption",
573
+ "color": "muted"
572
574
  }
573
- ],
574
- "className": "py-12",
575
- "type": "stack"
575
+ ]
576
576
  }
577
577
  ]
578
578
  ]
@@ -586,44 +586,42 @@
586
586
  "render-ui",
587
587
  "main",
588
588
  {
589
- "type": "dashboard-layout",
590
- "appName": "HRPortal",
591
589
  "navItems": [
592
590
  {
593
- "icon": "users",
594
591
  "label": "Employees",
595
- "href": "/employees"
592
+ "href": "/employees",
593
+ "icon": "users"
596
594
  },
597
595
  {
596
+ "href": "/onboarding",
598
597
  "icon": "layout-list",
599
- "label": "Onboarding",
600
- "href": "/onboarding"
598
+ "label": "Onboarding"
601
599
  },
602
600
  {
603
601
  "href": "/timeoff",
604
- "label": "Time Off",
605
- "icon": "calendar"
602
+ "icon": "calendar",
603
+ "label": "Time Off"
606
604
  },
607
605
  {
608
- "label": "Org Chart",
606
+ "icon": "layout-list",
609
607
  "href": "/org-chart",
610
- "icon": "layout-list"
608
+ "label": "Org Chart"
611
609
  }
612
610
  ],
613
611
  "children": [
614
612
  {
615
- "direction": "vertical",
613
+ "className": "max-w-5xl mx-auto w-full",
616
614
  "children": [
617
615
  {
616
+ "justify": "between",
618
617
  "align": "center",
619
618
  "direction": "horizontal",
620
619
  "gap": "md",
621
- "justify": "between",
620
+ "type": "stack",
622
621
  "children": [
623
622
  {
624
- "align": "center",
625
- "type": "stack",
626
623
  "direction": "horizontal",
624
+ "align": "center",
627
625
  "gap": "sm",
628
626
  "children": [
629
627
  {
@@ -631,66 +629,47 @@
631
629
  "name": "users"
632
630
  },
633
631
  {
634
- "variant": "h2",
635
632
  "type": "typography",
633
+ "variant": "h2",
636
634
  "content": "Employees"
637
635
  }
638
- ]
636
+ ],
637
+ "type": "stack"
639
638
  },
640
639
  {
641
640
  "type": "stack",
642
- "gap": "sm",
643
641
  "direction": "horizontal",
642
+ "gap": "sm",
644
643
  "children": [
645
644
  {
645
+ "icon": "plus",
646
+ "variant": "primary",
646
647
  "type": "button",
647
648
  "label": "Add Employee",
648
- "action": "CREATE",
649
- "variant": "primary",
650
- "icon": "plus"
649
+ "action": "CREATE"
651
650
  }
652
651
  ]
653
652
  }
654
- ],
655
- "type": "stack"
653
+ ]
656
654
  },
657
655
  {
658
656
  "type": "divider"
659
657
  },
660
658
  {
661
- "gap": "sm",
662
- "itemActions": [
663
- {
664
- "variant": "ghost",
665
- "label": "View",
666
- "event": "VIEW"
667
- },
668
- {
669
- "event": "EDIT",
670
- "label": "Edit",
671
- "variant": "ghost"
672
- },
673
- {
674
- "event": "DELETE",
675
- "label": "Delete",
676
- "variant": "danger"
677
- }
678
- ],
679
659
  "fields": [],
680
- "type": "data-list",
681
660
  "columns": [
682
661
  {
683
662
  "name": "name",
684
- "icon": "user",
685
- "variant": "h3"
663
+ "variant": "h3",
664
+ "icon": "user"
686
665
  },
687
666
  {
688
- "variant": "badge",
689
- "name": "department"
667
+ "name": "department",
668
+ "variant": "badge"
690
669
  },
691
670
  {
692
- "name": "role",
693
- "variant": "body"
671
+ "variant": "body",
672
+ "name": "role"
694
673
  },
695
674
  {
696
675
  "variant": "caption",
@@ -698,20 +677,41 @@
698
677
  },
699
678
  {
700
679
  "variant": "caption",
701
- "name": "startDate",
680
+ "label": "Joined",
702
681
  "format": "date",
703
- "label": "Joined"
682
+ "name": "startDate"
704
683
  }
705
684
  ],
685
+ "entity": "@payload.data",
706
686
  "variant": "card",
707
- "entity": "@payload.data"
687
+ "gap": "sm",
688
+ "type": "data-list",
689
+ "itemActions": [
690
+ {
691
+ "label": "View",
692
+ "event": "VIEW",
693
+ "variant": "ghost"
694
+ },
695
+ {
696
+ "variant": "ghost",
697
+ "event": "EDIT",
698
+ "label": "Edit"
699
+ },
700
+ {
701
+ "variant": "danger",
702
+ "label": "Delete",
703
+ "event": "DELETE"
704
+ }
705
+ ]
708
706
  }
709
707
  ],
710
- "className": "max-w-5xl mx-auto w-full",
711
- "gap": "lg",
712
- "type": "stack"
708
+ "type": "stack",
709
+ "direction": "vertical",
710
+ "gap": "lg"
713
711
  }
714
- ]
712
+ ],
713
+ "appName": "HRPortal",
714
+ "type": "dashboard-layout"
715
715
  }
716
716
  ]
717
717
  ]
@@ -725,12 +725,11 @@
725
725
  "render-ui",
726
726
  "main",
727
727
  {
728
- "direction": "vertical",
729
728
  "children": [
730
729
  {
731
- "color": "destructive",
732
730
  "type": "icon",
733
- "name": "alert-triangle"
731
+ "name": "alert-triangle",
732
+ "color": "destructive"
734
733
  },
735
734
  {
736
735
  "type": "typography",
@@ -738,23 +737,24 @@
738
737
  "content": "Failed to load employee"
739
738
  },
740
739
  {
741
- "type": "typography",
742
740
  "variant": "body",
743
- "color": "muted",
744
- "content": "@payload.error"
741
+ "content": "@payload.error",
742
+ "type": "typography",
743
+ "color": "muted"
745
744
  },
746
745
  {
746
+ "label": "Retry",
747
+ "action": "INIT",
747
748
  "variant": "primary",
748
749
  "type": "button",
749
- "label": "Retry",
750
- "icon": "rotate-ccw",
751
- "action": "INIT"
750
+ "icon": "rotate-ccw"
752
751
  }
753
752
  ],
754
- "gap": "md",
753
+ "align": "center",
755
754
  "className": "py-12",
756
755
  "type": "stack",
757
- "align": "center"
756
+ "direction": "vertical",
757
+ "gap": "md"
758
758
  }
759
759
  ]
760
760
  ]
@@ -947,10 +947,9 @@
947
947
  "render-ui",
948
948
  "modal",
949
949
  {
950
- "type": "stack",
950
+ "gap": "md",
951
951
  "children": [
952
952
  {
953
- "type": "stack",
954
953
  "direction": "horizontal",
955
954
  "children": [
956
955
  {
@@ -958,11 +957,12 @@
958
957
  "name": "plus-circle"
959
958
  },
960
959
  {
960
+ "type": "typography",
961
961
  "content": "New Employee",
962
- "variant": "h3",
963
- "type": "typography"
962
+ "variant": "h3"
964
963
  }
965
964
  ],
965
+ "type": "stack",
966
966
  "gap": "sm"
967
967
  },
968
968
  {
@@ -970,6 +970,7 @@
970
970
  },
971
971
  {
972
972
  "mode": "create",
973
+ "type": "form-section",
973
974
  "fields": [
974
975
  "name",
975
976
  "email",
@@ -977,12 +978,11 @@
977
978
  "role",
978
979
  "startDate"
979
980
  ],
980
- "cancelEvent": "CLOSE",
981
- "type": "form-section",
982
- "submitEvent": "SAVE"
981
+ "submitEvent": "SAVE",
982
+ "cancelEvent": "CLOSE"
983
983
  }
984
984
  ],
985
- "gap": "md",
985
+ "type": "stack",
986
986
  "direction": "vertical"
987
987
  }
988
988
  ]
@@ -1024,8 +1024,8 @@
1024
1024
  "@payload.data",
1025
1025
  {
1026
1026
  "emit": {
1027
- "failure": "EmployeeSaveFailed",
1028
- "success": "EmployeeSaved"
1027
+ "success": "EmployeeSaved",
1028
+ "failure": "EmployeeSaveFailed"
1029
1029
  }
1030
1030
  }
1031
1031
  ],
@@ -1236,42 +1236,42 @@
1236
1236
  "fetch",
1237
1237
  "Employee",
1238
1238
  {
1239
+ "id": "@payload.id",
1239
1240
  "emit": {
1240
- "success": "EmployeeLoaded",
1241
- "failure": "EmployeeLoadFailed"
1242
- },
1243
- "id": "@payload.id"
1241
+ "failure": "EmployeeLoadFailed",
1242
+ "success": "EmployeeLoaded"
1243
+ }
1244
1244
  }
1245
1245
  ],
1246
1246
  [
1247
1247
  "render-ui",
1248
1248
  "modal",
1249
1249
  {
1250
+ "type": "stack",
1250
1251
  "gap": "md",
1252
+ "direction": "vertical",
1251
1253
  "children": [
1252
1254
  {
1253
- "type": "stack",
1254
1255
  "direction": "horizontal",
1256
+ "type": "stack",
1257
+ "gap": "sm",
1255
1258
  "children": [
1256
1259
  {
1257
1260
  "name": "edit",
1258
1261
  "type": "icon"
1259
1262
  },
1260
1263
  {
1261
- "content": "Edit Employee",
1262
1264
  "type": "typography",
1265
+ "content": "Edit Employee",
1263
1266
  "variant": "h3"
1264
1267
  }
1265
- ],
1266
- "gap": "sm"
1268
+ ]
1267
1269
  },
1268
1270
  {
1269
1271
  "type": "divider"
1270
1272
  },
1271
1273
  {
1272
- "type": "form-section",
1273
- "mode": "edit",
1274
- "submitEvent": "SAVE",
1274
+ "entity": "@payload.row",
1275
1275
  "cancelEvent": "CLOSE",
1276
1276
  "fields": [
1277
1277
  "name",
@@ -1280,11 +1280,11 @@
1280
1280
  "role",
1281
1281
  "startDate"
1282
1282
  ],
1283
- "entity": "@payload.row"
1283
+ "type": "form-section",
1284
+ "submitEvent": "SAVE",
1285
+ "mode": "edit"
1284
1286
  }
1285
- ],
1286
- "direction": "vertical",
1287
- "type": "stack"
1287
+ ]
1288
1288
  }
1289
1289
  ]
1290
1290
  ]
@@ -1325,8 +1325,8 @@
1325
1325
  "@payload.data",
1326
1326
  {
1327
1327
  "emit": {
1328
- "success": "EmployeeUpdated",
1329
- "failure": "EmployeeUpdateFailed"
1328
+ "failure": "EmployeeUpdateFailed",
1329
+ "success": "EmployeeUpdated"
1330
1330
  }
1331
1331
  }
1332
1332
  ],
@@ -1482,10 +1482,9 @@
1482
1482
  "render-ui",
1483
1483
  "modal",
1484
1484
  {
1485
- "gap": "md",
1486
- "type": "stack",
1487
1485
  "children": [
1488
1486
  {
1487
+ "align": "center",
1489
1488
  "gap": "sm",
1490
1489
  "children": [
1491
1490
  {
@@ -1493,13 +1492,12 @@
1493
1492
  "name": "eye"
1494
1493
  },
1495
1494
  {
1495
+ "content": "@entity.name",
1496
1496
  "type": "typography",
1497
- "variant": "h3",
1498
- "content": "@entity.name"
1497
+ "variant": "h3"
1499
1498
  }
1500
1499
  ],
1501
1500
  "direction": "horizontal",
1502
- "align": "center",
1503
1501
  "type": "stack"
1504
1502
  },
1505
1503
  {
@@ -1508,7 +1506,6 @@
1508
1506
  {
1509
1507
  "type": "stack",
1510
1508
  "direction": "horizontal",
1511
- "gap": "md",
1512
1509
  "children": [
1513
1510
  {
1514
1511
  "type": "typography",
@@ -1516,47 +1513,50 @@
1516
1513
  "content": "Name"
1517
1514
  },
1518
1515
  {
1519
- "content": "@entity.name",
1520
1516
  "variant": "body",
1521
- "type": "typography"
1517
+ "type": "typography",
1518
+ "content": "@entity.name"
1522
1519
  }
1523
- ]
1520
+ ],
1521
+ "gap": "md"
1524
1522
  },
1525
1523
  {
1526
1524
  "gap": "md",
1527
- "type": "stack",
1528
1525
  "children": [
1529
1526
  {
1527
+ "variant": "caption",
1530
1528
  "content": "Email",
1531
- "type": "typography",
1532
- "variant": "caption"
1529
+ "type": "typography"
1533
1530
  },
1534
1531
  {
1535
- "type": "typography",
1536
1532
  "variant": "body",
1533
+ "type": "typography",
1537
1534
  "content": "@entity.email"
1538
1535
  }
1539
1536
  ],
1537
+ "type": "stack",
1540
1538
  "direction": "horizontal"
1541
1539
  },
1542
1540
  {
1541
+ "direction": "horizontal",
1542
+ "type": "stack",
1543
+ "gap": "md",
1543
1544
  "children": [
1544
1545
  {
1545
- "content": "Department",
1546
1546
  "variant": "caption",
1547
+ "content": "Department",
1547
1548
  "type": "typography"
1548
1549
  },
1549
1550
  {
1550
1551
  "content": "@entity.department",
1551
- "variant": "body",
1552
- "type": "typography"
1552
+ "type": "typography",
1553
+ "variant": "body"
1553
1554
  }
1554
- ],
1555
- "type": "stack",
1556
- "gap": "md",
1557
- "direction": "horizontal"
1555
+ ]
1558
1556
  },
1559
1557
  {
1558
+ "type": "stack",
1559
+ "gap": "md",
1560
1560
  "children": [
1561
1561
  {
1562
1562
  "type": "typography",
@@ -1564,58 +1564,58 @@
1564
1564
  "content": "Role"
1565
1565
  },
1566
1566
  {
1567
- "variant": "body",
1568
1567
  "content": "@entity.role",
1569
- "type": "typography"
1568
+ "type": "typography",
1569
+ "variant": "body"
1570
1570
  }
1571
1571
  ],
1572
- "type": "stack",
1573
- "direction": "horizontal",
1574
- "gap": "md"
1572
+ "direction": "horizontal"
1575
1573
  },
1576
1574
  {
1575
+ "type": "stack",
1576
+ "gap": "md",
1577
+ "direction": "horizontal",
1577
1578
  "children": [
1578
1579
  {
1579
- "variant": "caption",
1580
1580
  "content": "Start Date",
1581
- "type": "typography"
1581
+ "type": "typography",
1582
+ "variant": "caption"
1582
1583
  },
1583
1584
  {
1584
1585
  "type": "typography",
1585
1586
  "content": "@entity.startDate",
1586
1587
  "variant": "body"
1587
1588
  }
1588
- ],
1589
- "direction": "horizontal",
1590
- "gap": "md",
1591
- "type": "stack"
1589
+ ]
1592
1590
  },
1593
1591
  {
1594
1592
  "type": "divider"
1595
1593
  },
1596
1594
  {
1597
- "gap": "sm",
1598
- "justify": "end",
1595
+ "direction": "horizontal",
1599
1596
  "children": [
1600
1597
  {
1601
- "variant": "primary",
1602
1598
  "icon": "edit",
1599
+ "variant": "primary",
1603
1600
  "type": "button",
1604
1601
  "action": "EDIT",
1605
1602
  "label": "Edit"
1606
1603
  },
1607
1604
  {
1608
- "type": "button",
1609
- "action": "CLOSE",
1605
+ "label": "Close",
1610
1606
  "variant": "ghost",
1611
- "label": "Close"
1607
+ "action": "CLOSE",
1608
+ "type": "button"
1612
1609
  }
1613
1610
  ],
1611
+ "gap": "sm",
1614
1612
  "type": "stack",
1615
- "direction": "horizontal"
1613
+ "justify": "end"
1616
1614
  }
1617
1615
  ],
1618
- "direction": "vertical"
1616
+ "type": "stack",
1617
+ "direction": "vertical",
1618
+ "gap": "md"
1619
1619
  }
1620
1620
  ]
1621
1621
  ]
@@ -1850,11 +1850,11 @@
1850
1850
  "fetch",
1851
1851
  "Employee",
1852
1852
  {
1853
+ "id": "@payload.id",
1853
1854
  "emit": {
1854
1855
  "failure": "EmployeeLoadFailed",
1855
1856
  "success": "EmployeeLoaded"
1856
- },
1857
- "id": "@payload.id"
1857
+ }
1858
1858
  }
1859
1859
  ],
1860
1860
  [
@@ -1864,8 +1864,9 @@
1864
1864
  "direction": "vertical",
1865
1865
  "children": [
1866
1866
  {
1867
- "gap": "sm",
1867
+ "type": "stack",
1868
1868
  "direction": "horizontal",
1869
+ "gap": "sm",
1869
1870
  "align": "center",
1870
1871
  "children": [
1871
1872
  {
@@ -1873,12 +1874,11 @@
1873
1874
  "name": "alert-triangle"
1874
1875
  },
1875
1876
  {
1876
- "content": "Delete Employee",
1877
1877
  "type": "typography",
1878
+ "content": "Delete Employee",
1878
1879
  "variant": "h3"
1879
1880
  }
1880
- ],
1881
- "type": "stack"
1881
+ ]
1882
1882
  },
1883
1883
  {
1884
1884
  "type": "divider"
@@ -1889,29 +1889,29 @@
1889
1889
  "type": "alert"
1890
1890
  },
1891
1891
  {
1892
- "direction": "horizontal",
1893
- "gap": "sm",
1894
- "justify": "end",
1895
- "type": "stack",
1896
1892
  "children": [
1897
1893
  {
1898
- "action": "CANCEL",
1899
1894
  "type": "button",
1900
- "variant": "ghost",
1901
- "label": "Cancel"
1895
+ "label": "Cancel",
1896
+ "action": "CANCEL",
1897
+ "variant": "ghost"
1902
1898
  },
1903
1899
  {
1904
- "label": "Delete",
1905
1900
  "variant": "danger",
1906
- "action": "CONFIRM_DELETE",
1907
1901
  "type": "button",
1908
- "icon": "check"
1909
- }
1910
- ]
1902
+ "icon": "check",
1903
+ "label": "Delete",
1904
+ "action": "CONFIRM_DELETE"
1905
+ }
1906
+ ],
1907
+ "direction": "horizontal",
1908
+ "type": "stack",
1909
+ "gap": "sm",
1910
+ "justify": "end"
1911
1911
  }
1912
1912
  ],
1913
- "type": "stack",
1914
- "gap": "md"
1913
+ "gap": "md",
1914
+ "type": "stack"
1915
1915
  }
1916
1916
  ]
1917
1917
  ]
@@ -2236,8 +2236,8 @@
2236
2236
  "Onboarding",
2237
2237
  {
2238
2238
  "emit": {
2239
- "failure": "OnboardingLoadFailed",
2240
- "success": "OnboardingLoaded"
2239
+ "success": "OnboardingLoaded",
2240
+ "failure": "OnboardingLoadFailed"
2241
2241
  }
2242
2242
  }
2243
2243
  ],
@@ -2245,108 +2245,108 @@
2245
2245
  "render-ui",
2246
2246
  "main",
2247
2247
  {
2248
+ "navItems": [
2249
+ {
2250
+ "href": "/employees",
2251
+ "icon": "users",
2252
+ "label": "Employees"
2253
+ },
2254
+ {
2255
+ "href": "/onboarding",
2256
+ "icon": "layout-list",
2257
+ "label": "Onboarding"
2258
+ },
2259
+ {
2260
+ "icon": "calendar",
2261
+ "href": "/timeoff",
2262
+ "label": "Time Off"
2263
+ },
2264
+ {
2265
+ "label": "Org Chart",
2266
+ "icon": "layout-list",
2267
+ "href": "/org-chart"
2268
+ }
2269
+ ],
2270
+ "type": "dashboard-layout",
2271
+ "appName": "HRPortal",
2248
2272
  "children": [
2249
2273
  {
2274
+ "maxWidth": "lg",
2250
2275
  "children": [
2251
2276
  {
2252
- "gap": "lg",
2253
2277
  "type": "stack",
2254
- "direction": "vertical",
2278
+ "gap": "lg",
2255
2279
  "children": [
2256
2280
  {
2257
2281
  "direction": "horizontal",
2258
- "gap": "sm",
2259
- "type": "stack",
2260
- "align": "center",
2261
2282
  "children": [
2262
2283
  {
2263
2284
  "type": "icon",
2264
2285
  "name": "clipboard-check"
2265
2286
  },
2266
2287
  {
2267
- "content": "Employee Onboarding",
2288
+ "type": "typography",
2268
2289
  "variant": "h2",
2269
- "type": "typography"
2290
+ "content": "Employee Onboarding"
2270
2291
  }
2271
- ]
2292
+ ],
2293
+ "type": "stack",
2294
+ "gap": "sm",
2295
+ "align": "center"
2272
2296
  },
2273
2297
  {
2274
- "count": 3.0,
2275
2298
  "type": "progress-dots",
2299
+ "count": 3.0,
2276
2300
  "currentIndex": 0.0
2277
2301
  },
2278
2302
  {
2303
+ "currentStep": 0.0,
2304
+ "type": "wizard-progress",
2279
2305
  "steps": [
2280
2306
  "Employee Details",
2281
2307
  "Manager Assignment",
2282
2308
  "Setup Checklist"
2283
- ],
2284
- "type": "wizard-progress",
2285
- "currentStep": 0.0
2309
+ ]
2286
2310
  },
2287
2311
  {
2288
2312
  "type": "divider"
2289
2313
  },
2290
2314
  {
2291
2315
  "content": "Employee Details",
2292
- "type": "typography",
2293
- "variant": "h3"
2316
+ "variant": "h3",
2317
+ "type": "typography"
2294
2318
  },
2295
2319
  {
2296
- "mode": "create",
2320
+ "cancelEvent": "INIT",
2297
2321
  "fields": [
2298
2322
  "employeeName",
2299
2323
  "department"
2300
2324
  ],
2301
- "type": "form-section",
2325
+ "mode": "create",
2302
2326
  "submitEvent": "NEXT",
2303
- "cancelEvent": "INIT"
2327
+ "type": "form-section"
2304
2328
  },
2305
2329
  {
2306
- "gap": "sm",
2307
- "justify": "end",
2308
- "type": "stack",
2330
+ "direction": "horizontal",
2309
2331
  "children": [
2310
2332
  {
2311
- "label": "Next",
2312
- "action": "NEXT",
2333
+ "variant": "primary",
2313
2334
  "icon": "arrow-right",
2314
2335
  "type": "button",
2315
- "variant": "primary"
2336
+ "action": "NEXT",
2337
+ "label": "Next"
2316
2338
  }
2317
2339
  ],
2318
- "direction": "horizontal"
2340
+ "gap": "sm",
2341
+ "type": "stack",
2342
+ "justify": "end"
2319
2343
  }
2320
- ]
2344
+ ],
2345
+ "direction": "vertical"
2321
2346
  }
2322
2347
  ],
2323
- "padding": "lg",
2324
2348
  "type": "container",
2325
- "maxWidth": "lg"
2326
- }
2327
- ],
2328
- "appName": "HRPortal",
2329
- "type": "dashboard-layout",
2330
- "navItems": [
2331
- {
2332
- "icon": "users",
2333
- "href": "/employees",
2334
- "label": "Employees"
2335
- },
2336
- {
2337
- "label": "Onboarding",
2338
- "icon": "layout-list",
2339
- "href": "/onboarding"
2340
- },
2341
- {
2342
- "label": "Time Off",
2343
- "href": "/timeoff",
2344
- "icon": "calendar"
2345
- },
2346
- {
2347
- "href": "/org-chart",
2348
- "icon": "layout-list",
2349
- "label": "Org Chart"
2349
+ "padding": "lg"
2350
2350
  }
2351
2351
  ]
2352
2352
  }
@@ -2363,8 +2363,8 @@
2363
2363
  "Onboarding",
2364
2364
  {
2365
2365
  "emit": {
2366
- "success": "OnboardingLoaded",
2367
- "failure": "OnboardingLoadFailed"
2366
+ "failure": "OnboardingLoadFailed",
2367
+ "success": "OnboardingLoaded"
2368
2368
  }
2369
2369
  }
2370
2370
  ],
@@ -2375,36 +2375,36 @@
2375
2375
  "navItems": [
2376
2376
  {
2377
2377
  "icon": "users",
2378
- "label": "Employees",
2379
- "href": "/employees"
2378
+ "href": "/employees",
2379
+ "label": "Employees"
2380
2380
  },
2381
2381
  {
2382
+ "href": "/onboarding",
2382
2383
  "icon": "layout-list",
2383
- "label": "Onboarding",
2384
- "href": "/onboarding"
2384
+ "label": "Onboarding"
2385
2385
  },
2386
2386
  {
2387
- "label": "Time Off",
2388
2387
  "href": "/timeoff",
2389
- "icon": "calendar"
2388
+ "icon": "calendar",
2389
+ "label": "Time Off"
2390
2390
  },
2391
2391
  {
2392
2392
  "label": "Org Chart",
2393
- "icon": "layout-list",
2394
- "href": "/org-chart"
2393
+ "href": "/org-chart",
2394
+ "icon": "layout-list"
2395
2395
  }
2396
2396
  ],
2397
- "type": "dashboard-layout",
2397
+ "appName": "HRPortal",
2398
2398
  "children": [
2399
2399
  {
2400
2400
  "children": [
2401
2401
  {
2402
- "gap": "lg",
2403
- "type": "stack",
2404
2402
  "direction": "vertical",
2405
2403
  "children": [
2406
2404
  {
2407
- "type": "stack",
2405
+ "gap": "sm",
2406
+ "align": "center",
2407
+ "direction": "horizontal",
2408
2408
  "children": [
2409
2409
  {
2410
2410
  "type": "icon",
@@ -2412,13 +2412,11 @@
2412
2412
  },
2413
2413
  {
2414
2414
  "content": "Employee Onboarding",
2415
- "type": "typography",
2416
- "variant": "h2"
2415
+ "variant": "h2",
2416
+ "type": "typography"
2417
2417
  }
2418
2418
  ],
2419
- "direction": "horizontal",
2420
- "gap": "sm",
2421
- "align": "center"
2419
+ "type": "stack"
2422
2420
  },
2423
2421
  {
2424
2422
  "type": "progress-dots",
@@ -2438,50 +2436,52 @@
2438
2436
  "type": "divider"
2439
2437
  },
2440
2438
  {
2441
- "type": "typography",
2442
2439
  "variant": "h3",
2440
+ "type": "typography",
2443
2441
  "content": "Manager Assignment"
2444
2442
  },
2445
2443
  {
2446
- "mode": "create",
2447
2444
  "cancelEvent": "PREV",
2448
2445
  "fields": [
2449
2446
  "manager"
2450
2447
  ],
2451
- "submitEvent": "NEXT",
2452
- "type": "form-section"
2448
+ "type": "form-section",
2449
+ "mode": "create",
2450
+ "submitEvent": "NEXT"
2453
2451
  },
2454
2452
  {
2455
- "gap": "sm",
2456
- "type": "stack",
2453
+ "direction": "horizontal",
2454
+ "justify": "end",
2457
2455
  "children": [
2458
2456
  {
2459
- "icon": "arrow-left",
2460
2457
  "label": "Back",
2461
2458
  "action": "PREV",
2462
2459
  "variant": "ghost",
2463
- "type": "button"
2460
+ "type": "button",
2461
+ "icon": "arrow-left"
2464
2462
  },
2465
2463
  {
2464
+ "type": "button",
2466
2465
  "variant": "primary",
2467
- "icon": "arrow-right",
2468
2466
  "action": "NEXT",
2469
- "type": "button",
2470
- "label": "Next"
2467
+ "label": "Next",
2468
+ "icon": "arrow-right"
2471
2469
  }
2472
2470
  ],
2473
- "direction": "horizontal",
2474
- "justify": "end"
2471
+ "type": "stack",
2472
+ "gap": "sm"
2475
2473
  }
2476
- ]
2474
+ ],
2475
+ "type": "stack",
2476
+ "gap": "lg"
2477
2477
  }
2478
2478
  ],
2479
2479
  "type": "container",
2480
- "padding": "lg",
2481
- "maxWidth": "lg"
2480
+ "maxWidth": "lg",
2481
+ "padding": "lg"
2482
2482
  }
2483
2483
  ],
2484
- "appName": "HRPortal"
2484
+ "type": "dashboard-layout"
2485
2485
  }
2486
2486
  ]
2487
2487
  ]
@@ -2496,8 +2496,8 @@
2496
2496
  "Onboarding",
2497
2497
  {
2498
2498
  "emit": {
2499
- "success": "OnboardingLoaded",
2500
- "failure": "OnboardingLoadFailed"
2499
+ "failure": "OnboardingLoadFailed",
2500
+ "success": "OnboardingLoaded"
2501
2501
  }
2502
2502
  }
2503
2503
  ],
@@ -2505,6 +2505,7 @@
2505
2505
  "render-ui",
2506
2506
  "main",
2507
2507
  {
2508
+ "appName": "HRPortal",
2508
2509
  "navItems": [
2509
2510
  {
2510
2511
  "icon": "users",
@@ -2512,60 +2513,60 @@
2512
2513
  "label": "Employees"
2513
2514
  },
2514
2515
  {
2515
- "href": "/onboarding",
2516
2516
  "icon": "layout-list",
2517
- "label": "Onboarding"
2517
+ "label": "Onboarding",
2518
+ "href": "/onboarding"
2518
2519
  },
2519
2520
  {
2520
- "icon": "calendar",
2521
2521
  "label": "Time Off",
2522
- "href": "/timeoff"
2522
+ "href": "/timeoff",
2523
+ "icon": "calendar"
2523
2524
  },
2524
2525
  {
2525
- "label": "Org Chart",
2526
2526
  "href": "/org-chart",
2527
- "icon": "layout-list"
2527
+ "icon": "layout-list",
2528
+ "label": "Org Chart"
2528
2529
  }
2529
2530
  ],
2530
2531
  "children": [
2531
2532
  {
2533
+ "type": "container",
2532
2534
  "maxWidth": "lg",
2533
2535
  "children": [
2534
2536
  {
2535
2537
  "direction": "vertical",
2536
2538
  "gap": "lg",
2537
- "type": "stack",
2538
2539
  "children": [
2539
2540
  {
2540
- "align": "center",
2541
+ "type": "stack",
2541
2542
  "children": [
2542
2543
  {
2543
- "type": "icon",
2544
- "name": "clipboard-check"
2544
+ "name": "clipboard-check",
2545
+ "type": "icon"
2545
2546
  },
2546
2547
  {
2547
2548
  "variant": "h2",
2548
- "content": "Employee Onboarding",
2549
- "type": "typography"
2549
+ "type": "typography",
2550
+ "content": "Employee Onboarding"
2550
2551
  }
2551
2552
  ],
2552
- "type": "stack",
2553
2553
  "direction": "horizontal",
2554
- "gap": "sm"
2554
+ "gap": "sm",
2555
+ "align": "center"
2555
2556
  },
2556
2557
  {
2557
- "type": "progress-dots",
2558
+ "currentIndex": 2.0,
2558
2559
  "count": 3.0,
2559
- "currentIndex": 2.0
2560
+ "type": "progress-dots"
2560
2561
  },
2561
2562
  {
2562
- "currentStep": 2.0,
2563
- "type": "wizard-progress",
2564
2563
  "steps": [
2565
2564
  "Employee Details",
2566
2565
  "Manager Assignment",
2567
2566
  "Setup Checklist"
2568
- ]
2567
+ ],
2568
+ "currentStep": 2.0,
2569
+ "type": "wizard-progress"
2569
2570
  },
2570
2571
  {
2571
2572
  "type": "divider"
@@ -2577,44 +2578,43 @@
2577
2578
  },
2578
2579
  {
2579
2580
  "submitEvent": "NEXT",
2580
- "cancelEvent": "PREV",
2581
- "mode": "create",
2582
- "type": "form-section",
2583
2581
  "fields": [
2584
2582
  "equipmentReady",
2585
2583
  "accessGranted"
2586
- ]
2584
+ ],
2585
+ "cancelEvent": "PREV",
2586
+ "type": "form-section",
2587
+ "mode": "create"
2587
2588
  },
2588
2589
  {
2590
+ "gap": "sm",
2589
2591
  "type": "stack",
2592
+ "justify": "end",
2590
2593
  "children": [
2591
2594
  {
2592
- "action": "PREV",
2593
2595
  "type": "button",
2594
- "variant": "ghost",
2595
2596
  "icon": "arrow-left",
2596
- "label": "Back"
2597
+ "action": "PREV",
2598
+ "label": "Back",
2599
+ "variant": "ghost"
2597
2600
  },
2598
2601
  {
2602
+ "type": "button",
2599
2603
  "icon": "arrow-right",
2604
+ "variant": "primary",
2600
2605
  "action": "NEXT",
2601
- "type": "button",
2602
- "label": "Next",
2603
- "variant": "primary"
2606
+ "label": "Next"
2604
2607
  }
2605
2608
  ],
2606
- "justify": "end",
2607
- "gap": "sm",
2608
2609
  "direction": "horizontal"
2609
2610
  }
2610
- ]
2611
+ ],
2612
+ "type": "stack"
2611
2613
  }
2612
2614
  ],
2613
- "padding": "lg",
2614
- "type": "container"
2615
+ "padding": "lg"
2615
2616
  }
2616
2617
  ],
2617
- "appName": "HRPortal",
2618
2618
  "type": "dashboard-layout"
2619
2619
  }
2620
2620
  ]
@@ -2630,8 +2630,8 @@
2630
2630
  "Onboarding",
2631
2631
  {
2632
2632
  "emit": {
2633
- "failure": "OnboardingLoadFailed",
2634
- "success": "OnboardingLoaded"
2633
+ "success": "OnboardingLoaded",
2634
+ "failure": "OnboardingLoadFailed"
2635
2635
  }
2636
2636
  }
2637
2637
  ],
@@ -2640,43 +2640,17 @@
2640
2640
  "main",
2641
2641
  {
2642
2642
  "type": "dashboard-layout",
2643
- "navItems": [
2644
- {
2645
- "href": "/employees",
2646
- "label": "Employees",
2647
- "icon": "users"
2648
- },
2649
- {
2650
- "icon": "layout-list",
2651
- "href": "/onboarding",
2652
- "label": "Onboarding"
2653
- },
2654
- {
2655
- "icon": "calendar",
2656
- "label": "Time Off",
2657
- "href": "/timeoff"
2658
- },
2659
- {
2660
- "href": "/org-chart",
2661
- "label": "Org Chart",
2662
- "icon": "layout-list"
2663
- }
2664
- ],
2665
- "appName": "HRPortal",
2666
2643
  "children": [
2667
2644
  {
2668
- "type": "container",
2669
- "padding": "lg",
2670
2645
  "children": [
2671
2646
  {
2672
- "type": "stack",
2673
- "gap": "lg",
2674
2647
  "children": [
2675
2648
  {
2649
+ "direction": "horizontal",
2676
2650
  "children": [
2677
2651
  {
2678
- "type": "icon",
2679
- "name": "clipboard-check"
2652
+ "name": "clipboard-check",
2653
+ "type": "icon"
2680
2654
  },
2681
2655
  {
2682
2656
  "content": "Employee Onboarding",
@@ -2684,64 +2658,90 @@
2684
2658
  "type": "typography"
2685
2659
  }
2686
2660
  ],
2687
- "direction": "horizontal",
2688
- "align": "center",
2689
2661
  "type": "stack",
2690
- "gap": "sm"
2662
+ "gap": "sm",
2663
+ "align": "center"
2691
2664
  },
2692
2665
  {
2666
+ "type": "progress-dots",
2693
2667
  "count": 3.0,
2694
- "currentIndex": 0.0,
2695
- "type": "progress-dots"
2668
+ "currentIndex": 0.0
2696
2669
  },
2697
2670
  {
2671
+ "type": "wizard-progress",
2672
+ "currentStep": 0.0,
2698
2673
  "steps": [
2699
2674
  "Employee Details",
2700
2675
  "Manager Assignment",
2701
2676
  "Setup Checklist"
2702
- ],
2703
- "currentStep": 0.0,
2704
- "type": "wizard-progress"
2677
+ ]
2705
2678
  },
2706
2679
  {
2707
2680
  "type": "divider"
2708
2681
  },
2709
2682
  {
2710
2683
  "type": "typography",
2711
- "variant": "h3",
2712
- "content": "Employee Details"
2684
+ "content": "Employee Details",
2685
+ "variant": "h3"
2713
2686
  },
2714
2687
  {
2715
- "cancelEvent": "INIT",
2688
+ "mode": "create",
2716
2689
  "type": "form-section",
2717
- "submitEvent": "NEXT",
2718
2690
  "fields": [
2719
2691
  "employeeName",
2720
2692
  "department"
2721
2693
  ],
2722
- "mode": "create"
2694
+ "submitEvent": "NEXT",
2695
+ "cancelEvent": "INIT"
2723
2696
  },
2724
2697
  {
2725
- "justify": "end",
2698
+ "direction": "horizontal",
2726
2699
  "type": "stack",
2727
2700
  "children": [
2728
2701
  {
2729
2702
  "label": "Next",
2730
- "type": "button",
2731
2703
  "variant": "primary",
2732
- "icon": "arrow-right",
2733
- "action": "NEXT"
2704
+ "action": "NEXT",
2705
+ "type": "button",
2706
+ "icon": "arrow-right"
2734
2707
  }
2735
2708
  ],
2736
2709
  "gap": "sm",
2737
- "direction": "horizontal"
2710
+ "justify": "end"
2738
2711
  }
2739
2712
  ],
2740
- "direction": "vertical"
2713
+ "direction": "vertical",
2714
+ "gap": "lg",
2715
+ "type": "stack"
2741
2716
  }
2742
2717
  ],
2718
+ "type": "container",
2719
+ "padding": "lg",
2743
2720
  "maxWidth": "lg"
2744
2721
  }
2722
+ ],
2723
+ "appName": "HRPortal",
2724
+ "navItems": [
2725
+ {
2726
+ "icon": "users",
2727
+ "label": "Employees",
2728
+ "href": "/employees"
2729
+ },
2730
+ {
2731
+ "icon": "layout-list",
2732
+ "label": "Onboarding",
2733
+ "href": "/onboarding"
2734
+ },
2735
+ {
2736
+ "icon": "calendar",
2737
+ "href": "/timeoff",
2738
+ "label": "Time Off"
2739
+ },
2740
+ {
2741
+ "href": "/org-chart",
2742
+ "icon": "layout-list",
2743
+ "label": "Org Chart"
2744
+ }
2745
2745
  ]
2746
2746
  }
2747
2747
  ]
@@ -2766,27 +2766,25 @@
2766
2766
  "render-ui",
2767
2767
  "main",
2768
2768
  {
2769
- "type": "dashboard-layout",
2769
+ "appName": "HRPortal",
2770
2770
  "children": [
2771
2771
  {
2772
- "type": "stack",
2773
- "direction": "vertical",
2774
2772
  "children": [
2775
2773
  {
2776
- "type": "stack",
2777
- "direction": "horizontal",
2778
2774
  "gap": "sm",
2779
2775
  "children": [
2780
2776
  {
2781
- "type": "icon",
2782
- "name": "clipboard-check"
2777
+ "name": "clipboard-check",
2778
+ "type": "icon"
2783
2779
  },
2784
2780
  {
2785
- "type": "typography",
2786
2781
  "variant": "h2",
2782
+ "type": "typography",
2787
2783
  "content": "Employee Onboarding"
2788
2784
  }
2789
2785
  ],
2786
+ "direction": "horizontal",
2787
+ "type": "stack",
2790
2788
  "align": "center"
2791
2789
  },
2792
2790
  {
@@ -2794,8 +2792,8 @@
2794
2792
  "type": "badge"
2795
2793
  },
2796
2794
  {
2797
- "type": "wizard-progress",
2798
2795
  "currentStep": 3.0,
2796
+ "type": "wizard-progress",
2799
2797
  "steps": [
2800
2798
  "Employee Details",
2801
2799
  "Manager Assignment",
@@ -2806,26 +2804,30 @@
2806
2804
  "type": "divider"
2807
2805
  },
2808
2806
  {
2807
+ "gap": "sm",
2809
2808
  "children": [
2810
2809
  {
2811
- "direction": "horizontal",
2810
+ "justify": "between",
2812
2811
  "gap": "md",
2812
+ "direction": "horizontal",
2813
2813
  "children": [
2814
2814
  {
2815
- "type": "typography",
2816
2815
  "content": "Employee Name",
2817
- "variant": "caption"
2816
+ "variant": "caption",
2817
+ "type": "typography"
2818
2818
  },
2819
2819
  {
2820
2820
  "type": "typography",
2821
- "content": "@entity.employeeName",
2822
- "variant": "body"
2821
+ "variant": "body",
2822
+ "content": "@entity.employeeName"
2823
2823
  }
2824
2824
  ],
2825
- "justify": "between",
2826
2825
  "type": "stack"
2827
2826
  },
2828
2827
  {
2828
+ "gap": "md",
2829
+ "justify": "between",
2830
+ "type": "stack",
2829
2831
  "direction": "horizontal",
2830
2832
  "children": [
2831
2833
  {
@@ -2835,33 +2837,34 @@
2835
2837
  },
2836
2838
  {
2837
2839
  "content": "@entity.department",
2838
- "type": "typography",
2839
- "variant": "body"
2840
+ "variant": "body",
2841
+ "type": "typography"
2840
2842
  }
2841
- ],
2842
- "type": "stack",
2843
- "justify": "between",
2844
- "gap": "md"
2843
+ ]
2845
2844
  },
2846
2845
  {
2847
2846
  "direction": "horizontal",
2848
- "gap": "md",
2847
+ "justify": "between",
2849
2848
  "children": [
2850
2849
  {
2851
- "type": "typography",
2850
+ "content": "Manager",
2852
2851
  "variant": "caption",
2853
- "content": "Manager"
2852
+ "type": "typography"
2854
2853
  },
2855
2854
  {
2856
- "content": "@entity.manager",
2857
2855
  "type": "typography",
2858
- "variant": "body"
2856
+ "variant": "body",
2857
+ "content": "@entity.manager"
2859
2858
  }
2860
2859
  ],
2861
- "justify": "between",
2860
+ "gap": "md",
2862
2861
  "type": "stack"
2863
2862
  },
2864
2863
  {
2864
+ "gap": "md",
2865
+ "direction": "horizontal",
2866
+ "justify": "between",
2867
+ "type": "stack",
2865
2868
  "children": [
2866
2869
  {
2867
2870
  "variant": "caption",
@@ -2869,74 +2872,71 @@
2869
2872
  "type": "typography"
2870
2873
  },
2871
2874
  {
2872
- "content": "@entity.equipmentReady",
2875
+ "type": "typography",
2873
2876
  "variant": "body",
2874
- "type": "typography"
2877
+ "content": "@entity.equipmentReady"
2875
2878
  }
2876
- ],
2877
- "gap": "md",
2878
- "type": "stack",
2879
- "justify": "between",
2880
- "direction": "horizontal"
2879
+ ]
2881
2880
  },
2882
2881
  {
2882
+ "type": "stack",
2883
+ "justify": "between",
2884
+ "gap": "md",
2883
2885
  "children": [
2884
2886
  {
2885
- "content": "Access Granted",
2887
+ "variant": "caption",
2886
2888
  "type": "typography",
2887
- "variant": "caption"
2889
+ "content": "Access Granted"
2888
2890
  },
2889
2891
  {
2890
- "variant": "body",
2892
+ "type": "typography",
2891
2893
  "content": "@entity.accessGranted",
2892
- "type": "typography"
2894
+ "variant": "body"
2893
2895
  }
2894
2896
  ],
2895
- "type": "stack",
2896
- "gap": "md",
2897
- "direction": "horizontal",
2898
- "justify": "between"
2897
+ "direction": "horizontal"
2899
2898
  }
2900
2899
  ],
2901
- "type": "stack",
2902
- "gap": "sm",
2903
- "direction": "vertical"
2900
+ "direction": "vertical",
2901
+ "type": "stack"
2904
2902
  },
2905
2903
  {
2906
- "totalSteps": 4.0,
2907
- "showBack": true,
2908
- "currentStep": 3.0,
2909
2904
  "showNext": false,
2910
2905
  "showComplete": true,
2911
- "type": "wizard-navigation"
2906
+ "type": "wizard-navigation",
2907
+ "totalSteps": 4.0,
2908
+ "currentStep": 3.0,
2909
+ "showBack": true
2912
2910
  }
2913
2911
  ],
2914
- "gap": "lg"
2912
+ "gap": "lg",
2913
+ "type": "stack",
2914
+ "direction": "vertical"
2915
2915
  }
2916
2916
  ],
2917
+ "type": "dashboard-layout",
2917
2918
  "navItems": [
2918
2919
  {
2919
- "href": "/employees",
2920
2920
  "icon": "users",
2921
- "label": "Employees"
2921
+ "label": "Employees",
2922
+ "href": "/employees"
2922
2923
  },
2923
2924
  {
2924
- "href": "/onboarding",
2925
2925
  "label": "Onboarding",
2926
+ "href": "/onboarding",
2926
2927
  "icon": "layout-list"
2927
2928
  },
2928
2929
  {
2929
- "icon": "calendar",
2930
2930
  "href": "/timeoff",
2931
- "label": "Time Off"
2931
+ "label": "Time Off",
2932
+ "icon": "calendar"
2932
2933
  },
2933
2934
  {
2934
- "icon": "layout-list",
2935
+ "label": "Org Chart",
2935
2936
  "href": "/org-chart",
2936
- "label": "Org Chart"
2937
+ "icon": "layout-list"
2937
2938
  }
2938
- ],
2939
- "appName": "HRPortal"
2939
+ ]
2940
2940
  }
2941
2941
  ]
2942
2942
  ]
@@ -2960,61 +2960,35 @@
2960
2960
  "render-ui",
2961
2961
  "main",
2962
2962
  {
2963
- "appName": "HRPortal",
2964
- "type": "dashboard-layout",
2965
- "navItems": [
2966
- {
2967
- "href": "/employees",
2968
- "icon": "users",
2969
- "label": "Employees"
2970
- },
2971
- {
2972
- "href": "/onboarding",
2973
- "icon": "layout-list",
2974
- "label": "Onboarding"
2975
- },
2976
- {
2977
- "label": "Time Off",
2978
- "href": "/timeoff",
2979
- "icon": "calendar"
2980
- },
2981
- {
2982
- "href": "/org-chart",
2983
- "icon": "layout-list",
2984
- "label": "Org Chart"
2985
- }
2986
- ],
2987
2963
  "children": [
2988
2964
  {
2989
- "type": "container",
2990
2965
  "maxWidth": "lg",
2991
2966
  "padding": "lg",
2992
2967
  "children": [
2993
2968
  {
2994
2969
  "type": "stack",
2995
- "direction": "vertical",
2996
2970
  "children": [
2997
2971
  {
2998
2972
  "gap": "sm",
2999
- "direction": "horizontal",
3000
2973
  "align": "center",
3001
2974
  "type": "stack",
2975
+ "direction": "horizontal",
3002
2976
  "children": [
3003
2977
  {
3004
2978
  "type": "icon",
3005
2979
  "name": "clipboard-check"
3006
2980
  },
3007
2981
  {
3008
- "type": "typography",
3009
2982
  "variant": "h2",
2983
+ "type": "typography",
3010
2984
  "content": "Employee Onboarding"
3011
2985
  }
3012
2986
  ]
3013
2987
  },
3014
2988
  {
2989
+ "count": 3.0,
3015
2990
  "currentIndex": 1.0,
3016
- "type": "progress-dots",
3017
- "count": 3.0
2991
+ "type": "progress-dots"
3018
2992
  },
3019
2993
  {
3020
2994
  "type": "wizard-progress",
@@ -3029,47 +3003,73 @@
3029
3003
  "type": "divider"
3030
3004
  },
3031
3005
  {
3006
+ "variant": "h3",
3032
3007
  "type": "typography",
3033
- "content": "Manager Assignment",
3034
- "variant": "h3"
3008
+ "content": "Manager Assignment"
3035
3009
  },
3036
3010
  {
3037
- "type": "form-section",
3038
- "mode": "create",
3039
- "submitEvent": "NEXT",
3040
- "cancelEvent": "PREV",
3041
3011
  "fields": [
3042
3012
  "manager"
3043
- ]
3013
+ ],
3014
+ "mode": "create",
3015
+ "type": "form-section",
3016
+ "submitEvent": "NEXT",
3017
+ "cancelEvent": "PREV"
3044
3018
  },
3045
3019
  {
3046
- "direction": "horizontal",
3047
- "justify": "end",
3048
3020
  "type": "stack",
3021
+ "justify": "end",
3049
3022
  "children": [
3050
3023
  {
3051
- "variant": "ghost",
3052
3024
  "icon": "arrow-left",
3053
3025
  "action": "PREV",
3026
+ "type": "button",
3054
3027
  "label": "Back",
3055
- "type": "button"
3028
+ "variant": "ghost"
3056
3029
  },
3057
3030
  {
3058
- "icon": "arrow-right",
3059
- "variant": "primary",
3060
- "action": "NEXT",
3031
+ "label": "Next",
3061
3032
  "type": "button",
3062
- "label": "Next"
3033
+ "action": "NEXT",
3034
+ "variant": "primary",
3035
+ "icon": "arrow-right"
3063
3036
  }
3064
3037
  ],
3038
+ "direction": "horizontal",
3065
3039
  "gap": "sm"
3066
3040
  }
3067
3041
  ],
3042
+ "direction": "vertical",
3068
3043
  "gap": "lg"
3069
3044
  }
3070
- ]
3045
+ ],
3046
+ "type": "container"
3071
3047
  }
3072
- ]
3048
+ ],
3049
+ "appName": "HRPortal",
3050
+ "navItems": [
3051
+ {
3052
+ "href": "/employees",
3053
+ "icon": "users",
3054
+ "label": "Employees"
3055
+ },
3056
+ {
3057
+ "icon": "layout-list",
3058
+ "label": "Onboarding",
3059
+ "href": "/onboarding"
3060
+ },
3061
+ {
3062
+ "href": "/timeoff",
3063
+ "icon": "calendar",
3064
+ "label": "Time Off"
3065
+ },
3066
+ {
3067
+ "label": "Org Chart",
3068
+ "href": "/org-chart",
3069
+ "icon": "layout-list"
3070
+ }
3071
+ ],
3072
+ "type": "dashboard-layout"
3073
3073
  }
3074
3074
  ]
3075
3075
  ]
@@ -3093,21 +3093,15 @@
3093
3093
  "render-ui",
3094
3094
  "main",
3095
3095
  {
3096
- "type": "dashboard-layout",
3097
3096
  "children": [
3098
3097
  {
3099
- "type": "container",
3098
+ "padding": "lg",
3100
3099
  "children": [
3101
3100
  {
3102
- "gap": "lg",
3103
3101
  "direction": "vertical",
3104
3102
  "type": "stack",
3105
3103
  "children": [
3106
3104
  {
3107
- "gap": "sm",
3108
- "align": "center",
3109
- "type": "stack",
3110
- "direction": "horizontal",
3111
3105
  "children": [
3112
3106
  {
3113
3107
  "type": "icon",
@@ -3115,15 +3109,19 @@
3115
3109
  },
3116
3110
  {
3117
3111
  "variant": "h2",
3118
- "type": "typography",
3119
- "content": "Employee Onboarding"
3112
+ "content": "Employee Onboarding",
3113
+ "type": "typography"
3120
3114
  }
3121
- ]
3115
+ ],
3116
+ "gap": "sm",
3117
+ "direction": "horizontal",
3118
+ "align": "center",
3119
+ "type": "stack"
3122
3120
  },
3123
3121
  {
3122
+ "count": 3.0,
3124
3123
  "currentIndex": 2.0,
3125
- "type": "progress-dots",
3126
- "count": 3.0
3124
+ "type": "progress-dots"
3127
3125
  },
3128
3126
  {
3129
3127
  "type": "wizard-progress",
@@ -3138,72 +3136,74 @@
3138
3136
  "type": "divider"
3139
3137
  },
3140
3138
  {
3139
+ "type": "typography",
3141
3140
  "content": "Setup Checklist",
3142
- "variant": "h3",
3143
- "type": "typography"
3141
+ "variant": "h3"
3144
3142
  },
3145
3143
  {
3144
+ "cancelEvent": "PREV",
3145
+ "type": "form-section",
3146
+ "submitEvent": "NEXT",
3146
3147
  "fields": [
3147
3148
  "equipmentReady",
3148
3149
  "accessGranted"
3149
3150
  ],
3150
- "mode": "create",
3151
- "type": "form-section",
3152
- "cancelEvent": "PREV",
3153
- "submitEvent": "NEXT"
3151
+ "mode": "create"
3154
3152
  },
3155
3153
  {
3154
+ "gap": "sm",
3156
3155
  "justify": "end",
3157
- "direction": "horizontal",
3158
- "type": "stack",
3159
3156
  "children": [
3160
3157
  {
3158
+ "action": "PREV",
3159
+ "variant": "ghost",
3161
3160
  "label": "Back",
3162
3161
  "type": "button",
3163
- "variant": "ghost",
3164
- "icon": "arrow-left",
3165
- "action": "PREV"
3162
+ "icon": "arrow-left"
3166
3163
  },
3167
3164
  {
3168
- "icon": "arrow-right",
3169
- "variant": "primary",
3170
- "type": "button",
3171
3165
  "label": "Next",
3172
- "action": "NEXT"
3166
+ "action": "NEXT",
3167
+ "type": "button",
3168
+ "variant": "primary",
3169
+ "icon": "arrow-right"
3173
3170
  }
3174
3171
  ],
3175
- "gap": "sm"
3172
+ "direction": "horizontal",
3173
+ "type": "stack"
3176
3174
  }
3177
- ]
3175
+ ],
3176
+ "gap": "lg"
3178
3177
  }
3179
3178
  ],
3180
3179
  "maxWidth": "lg",
3181
- "padding": "lg"
3180
+ "type": "container"
3182
3181
  }
3183
3182
  ],
3184
- "appName": "HRPortal",
3185
3183
  "navItems": [
3186
3184
  {
3187
- "label": "Employees",
3188
3185
  "href": "/employees",
3189
- "icon": "users"
3186
+ "icon": "users",
3187
+ "label": "Employees"
3190
3188
  },
3191
3189
  {
3192
- "href": "/onboarding",
3193
3190
  "icon": "layout-list",
3194
- "label": "Onboarding"
3191
+ "label": "Onboarding",
3192
+ "href": "/onboarding"
3195
3193
  },
3196
3194
  {
3197
- "href": "/timeoff",
3198
3195
  "label": "Time Off",
3199
- "icon": "calendar"
3196
+ "icon": "calendar",
3197
+ "href": "/timeoff"
3200
3198
  },
3201
3199
  {
3202
3200
  "label": "Org Chart",
3203
- "href": "/org-chart",
3204
- "icon": "layout-list"
3201
+ "icon": "layout-list",
3202
+ "href": "/org-chart"
3205
3203
  }
3206
- ]
3204
+ ],
3205
+ "type": "dashboard-layout",
3206
+ "appName": "HRPortal"
3207
3207
  }
3208
3208
  ]
3209
3209
  ]
@@ -3220,8 +3220,8 @@
3220
3220
  "@payload.data",
3221
3221
  {
3222
3222
  "emit": {
3223
- "failure": "OnboardingSaveFailed",
3224
- "success": "OnboardingSaved"
3223
+ "success": "OnboardingSaved",
3224
+ "failure": "OnboardingSaveFailed"
3225
3225
  }
3226
3226
  }
3227
3227
  ],
@@ -3234,60 +3234,60 @@
3234
3234
  "render-ui",
3235
3235
  "main",
3236
3236
  {
3237
- "appName": "HRPortal",
3238
- "navItems": [
3239
- {
3240
- "href": "/employees",
3241
- "icon": "users",
3242
- "label": "Employees"
3243
- },
3244
- {
3245
- "href": "/onboarding",
3246
- "icon": "layout-list",
3247
- "label": "Onboarding"
3248
- },
3249
- {
3250
- "label": "Time Off",
3251
- "href": "/timeoff",
3252
- "icon": "calendar"
3253
- },
3254
- {
3255
- "icon": "layout-list",
3256
- "label": "Org Chart",
3257
- "href": "/org-chart"
3258
- }
3259
- ],
3260
3237
  "children": [
3261
3238
  {
3239
+ "align": "center",
3262
3240
  "type": "stack",
3263
3241
  "direction": "vertical",
3264
- "align": "center",
3265
3242
  "children": [
3266
3243
  {
3267
- "name": "check-circle",
3268
- "type": "icon"
3244
+ "type": "icon",
3245
+ "name": "check-circle"
3269
3246
  },
3270
3247
  {
3271
3248
  "variant": "h2",
3272
- "content": "Onboarding Complete!",
3273
- "type": "typography"
3249
+ "type": "typography",
3250
+ "content": "Onboarding Complete!"
3274
3251
  },
3275
3252
  {
3276
3253
  "type": "typography",
3277
- "variant": "body",
3278
- "content": "The new employee has been fully onboarded."
3254
+ "content": "The new employee has been fully onboarded.",
3255
+ "variant": "body"
3279
3256
  },
3280
3257
  {
3281
- "icon": "refresh-cw",
3282
- "variant": "primary",
3283
3258
  "action": "RESTART",
3259
+ "icon": "refresh-cw",
3284
3260
  "type": "button",
3261
+ "variant": "primary",
3285
3262
  "label": "Start New"
3286
3263
  }
3287
3264
  ],
3288
3265
  "gap": "lg"
3289
3266
  }
3290
3267
  ],
3268
+ "appName": "HRPortal",
3269
+ "navItems": [
3270
+ {
3271
+ "icon": "users",
3272
+ "label": "Employees",
3273
+ "href": "/employees"
3274
+ },
3275
+ {
3276
+ "href": "/onboarding",
3277
+ "label": "Onboarding",
3278
+ "icon": "layout-list"
3279
+ },
3280
+ {
3281
+ "label": "Time Off",
3282
+ "href": "/timeoff",
3283
+ "icon": "calendar"
3284
+ },
3285
+ {
3286
+ "href": "/org-chart",
3287
+ "icon": "layout-list",
3288
+ "label": "Org Chart"
3289
+ }
3290
+ ],
3291
3291
  "type": "dashboard-layout"
3292
3292
  }
3293
3293
  ]
@@ -3303,8 +3303,8 @@
3303
3303
  "Onboarding",
3304
3304
  {
3305
3305
  "emit": {
3306
- "success": "OnboardingLoaded",
3307
- "failure": "OnboardingLoadFailed"
3306
+ "failure": "OnboardingLoadFailed",
3307
+ "success": "OnboardingLoaded"
3308
3308
  }
3309
3309
  }
3310
3310
  ],
@@ -3312,26 +3312,27 @@
3312
3312
  "render-ui",
3313
3313
  "main",
3314
3314
  {
3315
+ "appName": "HRPortal",
3315
3316
  "navItems": [
3316
3317
  {
3317
- "href": "/employees",
3318
3318
  "label": "Employees",
3319
- "icon": "users"
3319
+ "icon": "users",
3320
+ "href": "/employees"
3320
3321
  },
3321
3322
  {
3322
- "href": "/onboarding",
3323
+ "icon": "layout-list",
3323
3324
  "label": "Onboarding",
3324
- "icon": "layout-list"
3325
+ "href": "/onboarding"
3325
3326
  },
3326
3327
  {
3327
- "icon": "calendar",
3328
+ "href": "/timeoff",
3328
3329
  "label": "Time Off",
3329
- "href": "/timeoff"
3330
+ "icon": "calendar"
3330
3331
  },
3331
3332
  {
3332
3333
  "href": "/org-chart",
3333
- "label": "Org Chart",
3334
- "icon": "layout-list"
3334
+ "icon": "layout-list",
3335
+ "label": "Org Chart"
3335
3336
  }
3336
3337
  ],
3337
3338
  "children": [
@@ -3339,22 +3340,23 @@
3339
3340
  "type": "container",
3340
3341
  "children": [
3341
3342
  {
3343
+ "direction": "vertical",
3342
3344
  "children": [
3343
3345
  {
3346
+ "type": "stack",
3347
+ "direction": "horizontal",
3348
+ "align": "center",
3344
3349
  "children": [
3345
3350
  {
3346
- "type": "icon",
3347
- "name": "clipboard-check"
3351
+ "name": "clipboard-check",
3352
+ "type": "icon"
3348
3353
  },
3349
3354
  {
3350
3355
  "variant": "h2",
3351
- "content": "Employee Onboarding",
3352
- "type": "typography"
3356
+ "type": "typography",
3357
+ "content": "Employee Onboarding"
3353
3358
  }
3354
3359
  ],
3355
- "type": "stack",
3356
- "align": "center",
3357
- "direction": "horizontal",
3358
3360
  "gap": "sm"
3359
3361
  },
3360
3362
  {
@@ -3375,47 +3377,45 @@
3375
3377
  "type": "divider"
3376
3378
  },
3377
3379
  {
3380
+ "content": "Employee Details",
3378
3381
  "variant": "h3",
3379
- "type": "typography",
3380
- "content": "Employee Details"
3382
+ "type": "typography"
3381
3383
  },
3382
3384
  {
3383
- "mode": "create",
3384
- "cancelEvent": "INIT",
3385
- "submitEvent": "NEXT",
3386
3385
  "type": "form-section",
3387
3386
  "fields": [
3388
3387
  "employeeName",
3389
3388
  "department"
3390
- ]
3389
+ ],
3390
+ "mode": "create",
3391
+ "submitEvent": "NEXT",
3392
+ "cancelEvent": "INIT"
3391
3393
  },
3392
3394
  {
3393
3395
  "gap": "sm",
3396
+ "justify": "end",
3394
3397
  "children": [
3395
3398
  {
3396
- "variant": "primary",
3397
- "action": "NEXT",
3399
+ "type": "button",
3398
3400
  "label": "Next",
3401
+ "variant": "primary",
3399
3402
  "icon": "arrow-right",
3400
- "type": "button"
3403
+ "action": "NEXT"
3401
3404
  }
3402
3405
  ],
3403
3406
  "type": "stack",
3404
- "justify": "end",
3405
3407
  "direction": "horizontal"
3406
3408
  }
3407
3409
  ],
3408
- "gap": "lg",
3409
3410
  "type": "stack",
3410
- "direction": "vertical"
3411
+ "gap": "lg"
3411
3412
  }
3412
3413
  ],
3413
- "padding": "lg",
3414
- "maxWidth": "lg"
3414
+ "maxWidth": "lg",
3415
+ "padding": "lg"
3415
3416
  }
3416
3417
  ],
3417
- "type": "dashboard-layout",
3418
- "appName": "HRPortal"
3418
+ "type": "dashboard-layout"
3419
3419
  }
3420
3420
  ]
3421
3421
  ]
@@ -3430,8 +3430,8 @@
3430
3430
  "Onboarding",
3431
3431
  {
3432
3432
  "emit": {
3433
- "failure": "OnboardingLoadFailed",
3434
- "success": "OnboardingLoaded"
3433
+ "success": "OnboardingLoaded",
3434
+ "failure": "OnboardingLoadFailed"
3435
3435
  }
3436
3436
  }
3437
3437
  ],
@@ -3439,34 +3439,61 @@
3439
3439
  "render-ui",
3440
3440
  "main",
3441
3441
  {
3442
- "children": [
3442
+ "navItems": [
3443
3443
  {
3444
- "padding": "lg",
3445
- "type": "container",
3446
- "children": [
3447
- {
3448
- "children": [
3449
- {
3450
- "children": [
3451
- {
3452
- "name": "clipboard-check",
3453
- "type": "icon"
3454
- },
3455
- {
3456
- "type": "typography",
3457
- "content": "Employee Onboarding",
3458
- "variant": "h2"
3459
- }
3460
- ],
3461
- "direction": "horizontal",
3462
- "type": "stack",
3463
- "align": "center",
3464
- "gap": "sm"
3444
+ "label": "Employees",
3445
+ "icon": "users",
3446
+ "href": "/employees"
3447
+ },
3448
+ {
3449
+ "icon": "layout-list",
3450
+ "label": "Onboarding",
3451
+ "href": "/onboarding"
3452
+ },
3453
+ {
3454
+ "href": "/timeoff",
3455
+ "icon": "calendar",
3456
+ "label": "Time Off"
3457
+ },
3458
+ {
3459
+ "href": "/org-chart",
3460
+ "icon": "layout-list",
3461
+ "label": "Org Chart"
3462
+ }
3463
+ ],
3464
+ "type": "dashboard-layout",
3465
+ "children": [
3466
+ {
3467
+ "padding": "lg",
3468
+ "type": "container",
3469
+ "maxWidth": "lg",
3470
+ "children": [
3471
+ {
3472
+ "direction": "vertical",
3473
+ "type": "stack",
3474
+ "gap": "lg",
3475
+ "children": [
3476
+ {
3477
+ "children": [
3478
+ {
3479
+ "type": "icon",
3480
+ "name": "clipboard-check"
3481
+ },
3482
+ {
3483
+ "content": "Employee Onboarding",
3484
+ "variant": "h2",
3485
+ "type": "typography"
3486
+ }
3487
+ ],
3488
+ "gap": "sm",
3489
+ "align": "center",
3490
+ "type": "stack",
3491
+ "direction": "horizontal"
3465
3492
  },
3466
3493
  {
3467
- "type": "progress-dots",
3468
3494
  "count": 3.0,
3469
- "currentIndex": 0.0
3495
+ "currentIndex": 0.0,
3496
+ "type": "progress-dots"
3470
3497
  },
3471
3498
  {
3472
3499
  "steps": [
@@ -3474,21 +3501,21 @@
3474
3501
  "Manager Assignment",
3475
3502
  "Setup Checklist"
3476
3503
  ],
3477
- "type": "wizard-progress",
3478
- "currentStep": 0.0
3504
+ "currentStep": 0.0,
3505
+ "type": "wizard-progress"
3479
3506
  },
3480
3507
  {
3481
3508
  "type": "divider"
3482
3509
  },
3483
3510
  {
3484
3511
  "variant": "h3",
3485
- "content": "Employee Details",
3486
- "type": "typography"
3512
+ "type": "typography",
3513
+ "content": "Employee Details"
3487
3514
  },
3488
3515
  {
3516
+ "submitEvent": "NEXT",
3489
3517
  "type": "form-section",
3490
3518
  "mode": "create",
3491
- "submitEvent": "NEXT",
3492
3519
  "cancelEvent": "INIT",
3493
3520
  "fields": [
3494
3521
  "employeeName",
@@ -3496,53 +3523,26 @@
3496
3523
  ]
3497
3524
  },
3498
3525
  {
3499
- "gap": "sm",
3500
- "type": "stack",
3501
3526
  "justify": "end",
3527
+ "direction": "horizontal",
3528
+ "type": "stack",
3529
+ "gap": "sm",
3502
3530
  "children": [
3503
3531
  {
3504
- "icon": "arrow-right",
3505
- "label": "Next",
3506
3532
  "type": "button",
3533
+ "action": "NEXT",
3534
+ "label": "Next",
3507
3535
  "variant": "primary",
3508
- "action": "NEXT"
3536
+ "icon": "arrow-right"
3509
3537
  }
3510
- ],
3511
- "direction": "horizontal"
3538
+ ]
3512
3539
  }
3513
- ],
3514
- "direction": "vertical",
3515
- "gap": "lg",
3516
- "type": "stack"
3540
+ ]
3517
3541
  }
3518
- ],
3519
- "maxWidth": "lg"
3542
+ ]
3520
3543
  }
3521
3544
  ],
3522
- "appName": "HRPortal",
3523
- "type": "dashboard-layout",
3524
- "navItems": [
3525
- {
3526
- "icon": "users",
3527
- "href": "/employees",
3528
- "label": "Employees"
3529
- },
3530
- {
3531
- "href": "/onboarding",
3532
- "icon": "layout-list",
3533
- "label": "Onboarding"
3534
- },
3535
- {
3536
- "href": "/timeoff",
3537
- "label": "Time Off",
3538
- "icon": "calendar"
3539
- },
3540
- {
3541
- "icon": "layout-list",
3542
- "href": "/org-chart",
3543
- "label": "Org Chart"
3544
- }
3545
- ]
3545
+ "appName": "HRPortal"
3546
3546
  }
3547
3547
  ]
3548
3548
  ]
@@ -3733,22 +3733,22 @@
3733
3733
  "render-ui",
3734
3734
  "main",
3735
3735
  {
3736
+ "type": "stack",
3737
+ "align": "center",
3736
3738
  "children": [
3737
3739
  {
3738
3740
  "type": "spinner"
3739
3741
  },
3740
3742
  {
3741
- "content": "Loading…",
3742
- "variant": "caption",
3743
+ "type": "typography",
3743
3744
  "color": "muted",
3744
- "type": "typography"
3745
+ "variant": "caption",
3746
+ "content": "Loading…"
3745
3747
  }
3746
3748
  ],
3747
3749
  "className": "py-12",
3748
3750
  "gap": "md",
3749
- "direction": "vertical",
3750
- "align": "center",
3751
- "type": "stack"
3751
+ "direction": "vertical"
3752
3752
  }
3753
3753
  ]
3754
3754
  ]
@@ -3763,65 +3763,65 @@
3763
3763
  "main",
3764
3764
  {
3765
3765
  "type": "dashboard-layout",
3766
- "appName": "HRPortal",
3767
3766
  "children": [
3768
3767
  {
3768
+ "type": "stack",
3769
+ "direction": "vertical",
3769
3770
  "children": [
3770
3771
  {
3771
- "direction": "horizontal",
3772
- "justify": "between",
3773
- "align": "center",
3774
- "gap": "md",
3775
3772
  "children": [
3776
3773
  {
3777
3774
  "gap": "sm",
3775
+ "type": "stack",
3776
+ "align": "center",
3778
3777
  "children": [
3779
3778
  {
3780
- "type": "icon",
3781
- "name": "calendar"
3779
+ "name": "calendar",
3780
+ "type": "icon"
3782
3781
  },
3783
3782
  {
3784
- "type": "typography",
3785
3783
  "content": "Time Off Requests",
3786
- "variant": "h2"
3784
+ "variant": "h2",
3785
+ "type": "typography"
3787
3786
  }
3788
3787
  ],
3789
- "align": "center",
3790
- "direction": "horizontal",
3791
- "type": "stack"
3788
+ "direction": "horizontal"
3792
3789
  },
3793
3790
  {
3791
+ "type": "stack",
3792
+ "gap": "sm",
3793
+ "direction": "horizontal",
3794
3794
  "children": [
3795
3795
  {
3796
- "label": "Request Time Off",
3796
+ "type": "button",
3797
3797
  "variant": "primary",
3798
3798
  "icon": "plus",
3799
- "action": "CREATE",
3800
- "type": "button"
3799
+ "label": "Request Time Off",
3800
+ "action": "CREATE"
3801
3801
  }
3802
- ],
3803
- "gap": "sm",
3804
- "type": "stack",
3805
- "direction": "horizontal"
3802
+ ]
3806
3803
  }
3807
3804
  ],
3808
- "type": "stack"
3805
+ "direction": "horizontal",
3806
+ "type": "stack",
3807
+ "gap": "md",
3808
+ "justify": "between",
3809
+ "align": "center"
3809
3810
  },
3810
3811
  {
3811
3812
  "type": "divider"
3812
3813
  },
3813
3814
  {
3814
3815
  "type": "data-list",
3815
- "entity": "@payload.data",
3816
3816
  "itemActions": [
3817
3817
  {
3818
+ "event": "VIEW",
3818
3819
  "variant": "ghost",
3819
- "label": "View",
3820
- "event": "VIEW"
3820
+ "label": "View"
3821
3821
  },
3822
3822
  {
3823
- "variant": "ghost",
3824
3823
  "label": "Edit",
3824
+ "variant": "ghost",
3825
3825
  "event": "EDIT"
3826
3826
  },
3827
3827
  {
@@ -3830,44 +3830,43 @@
3830
3830
  "event": "DELETE"
3831
3831
  }
3832
3832
  ],
3833
+ "variant": "card",
3834
+ "gap": "sm",
3833
3835
  "fields": [],
3834
3836
  "columns": [
3835
3837
  {
3836
- "label": "Employee",
3837
3838
  "name": "employeeName",
3839
+ "label": "Employee",
3838
3840
  "variant": "h3",
3839
3841
  "icon": "calendar"
3840
3842
  },
3841
3843
  {
3844
+ "label": "Type",
3842
3845
  "variant": "badge",
3843
- "name": "leaveType",
3844
- "label": "Type"
3846
+ "name": "leaveType"
3845
3847
  },
3846
3848
  {
3847
3849
  "name": "status",
3848
3850
  "variant": "badge"
3849
3851
  },
3850
3852
  {
3851
- "variant": "body",
3852
3853
  "format": "date",
3854
+ "variant": "body",
3853
3855
  "label": "From",
3854
3856
  "name": "startDate"
3855
3857
  },
3856
3858
  {
3859
+ "label": "To",
3857
3860
  "name": "endDate",
3858
3861
  "variant": "body",
3859
- "format": "date",
3860
- "label": "To"
3862
+ "format": "date"
3861
3863
  }
3862
3864
  ],
3863
- "gap": "sm",
3864
- "variant": "card"
3865
+ "entity": "@payload.data"
3865
3866
  }
3866
3867
  ],
3867
3868
  "gap": "lg",
3868
- "direction": "vertical",
3869
- "className": "max-w-5xl mx-auto w-full",
3870
- "type": "stack"
3869
+ "className": "max-w-5xl mx-auto w-full"
3871
3870
  }
3872
3871
  ],
3873
3872
  "navItems": [
@@ -3891,7 +3890,8 @@
3891
3890
  "label": "Org Chart",
3892
3891
  "icon": "layout-list"
3893
3892
  }
3894
- ]
3893
+ ],
3894
+ "appName": "HRPortal"
3895
3895
  }
3896
3896
  ]
3897
3897
  ]
@@ -3905,6 +3905,8 @@
3905
3905
  "render-ui",
3906
3906
  "main",
3907
3907
  {
3908
+ "gap": "md",
3909
+ "type": "stack",
3908
3910
  "className": "py-12",
3909
3911
  "children": [
3910
3912
  {
@@ -3918,23 +3920,21 @@
3918
3920
  "type": "typography"
3919
3921
  },
3920
3922
  {
3921
- "type": "typography",
3923
+ "color": "muted",
3922
3924
  "variant": "body",
3923
3925
  "content": "@payload.error",
3924
- "color": "muted"
3926
+ "type": "typography"
3925
3927
  },
3926
3928
  {
3927
3929
  "type": "button",
3928
- "label": "Retry",
3929
- "action": "INIT",
3930
3930
  "variant": "primary",
3931
- "icon": "rotate-ccw"
3931
+ "label": "Retry",
3932
+ "icon": "rotate-ccw",
3933
+ "action": "INIT"
3932
3934
  }
3933
3935
  ],
3934
- "gap": "md",
3935
- "type": "stack",
3936
- "direction": "vertical",
3937
- "align": "center"
3936
+ "align": "center",
3937
+ "direction": "vertical"
3938
3938
  }
3939
3939
  ]
3940
3940
  ]
@@ -4110,8 +4110,8 @@
4110
4110
  "TimeOff",
4111
4111
  {
4112
4112
  "emit": {
4113
- "success": "TimeOffLoaded",
4114
- "failure": "TimeOffLoadFailed"
4113
+ "failure": "TimeOffLoadFailed",
4114
+ "success": "TimeOffLoaded"
4115
4115
  }
4116
4116
  }
4117
4117
  ],
@@ -4119,22 +4119,19 @@
4119
4119
  "render-ui",
4120
4120
  "modal",
4121
4121
  {
4122
- "direction": "vertical",
4123
- "type": "stack",
4124
- "gap": "md",
4125
4122
  "children": [
4126
4123
  {
4127
- "direction": "horizontal",
4128
4124
  "type": "stack",
4125
+ "direction": "horizontal",
4129
4126
  "children": [
4130
4127
  {
4131
- "type": "icon",
4132
- "name": "plus-circle"
4128
+ "name": "plus-circle",
4129
+ "type": "icon"
4133
4130
  },
4134
4131
  {
4132
+ "type": "typography",
4135
4133
  "content": "New Time Off Request",
4136
- "variant": "h3",
4137
- "type": "typography"
4134
+ "variant": "h3"
4138
4135
  }
4139
4136
  ],
4140
4137
  "gap": "sm"
@@ -4143,6 +4140,8 @@
4143
4140
  "type": "divider"
4144
4141
  },
4145
4142
  {
4143
+ "mode": "create",
4144
+ "submitEvent": "SAVE",
4146
4145
  "type": "form-section",
4147
4146
  "cancelEvent": "CLOSE",
4148
4147
  "fields": [
@@ -4151,11 +4150,12 @@
4151
4150
  "startDate",
4152
4151
  "endDate",
4153
4152
  "status"
4154
- ],
4155
- "submitEvent": "SAVE",
4156
- "mode": "create"
4153
+ ]
4157
4154
  }
4158
- ]
4155
+ ],
4156
+ "type": "stack",
4157
+ "direction": "vertical",
4158
+ "gap": "md"
4159
4159
  }
4160
4160
  ]
4161
4161
  ]
@@ -4196,8 +4196,8 @@
4196
4196
  "@payload.data",
4197
4197
  {
4198
4198
  "emit": {
4199
- "success": "TimeOffSaved",
4200
- "failure": "TimeOffSaveFailed"
4199
+ "failure": "TimeOffSaveFailed",
4200
+ "success": "TimeOffSaved"
4201
4201
  }
4202
4202
  }
4203
4203
  ],
@@ -4412,10 +4412,10 @@
4412
4412
  {
4413
4413
  "gap": "md",
4414
4414
  "direction": "vertical",
4415
+ "type": "stack",
4415
4416
  "children": [
4416
4417
  {
4417
- "type": "stack",
4418
- "direction": "horizontal",
4418
+ "gap": "sm",
4419
4419
  "children": [
4420
4420
  {
4421
4421
  "name": "edit",
@@ -4423,17 +4423,21 @@
4423
4423
  },
4424
4424
  {
4425
4425
  "type": "typography",
4426
- "content": "Edit TimeOff",
4427
- "variant": "h3"
4426
+ "variant": "h3",
4427
+ "content": "Edit TimeOff"
4428
4428
  }
4429
4429
  ],
4430
- "gap": "sm"
4430
+ "type": "stack",
4431
+ "direction": "horizontal"
4431
4432
  },
4432
4433
  {
4433
4434
  "type": "divider"
4434
4435
  },
4435
4436
  {
4437
+ "entity": "@payload.row",
4438
+ "submitEvent": "SAVE",
4436
4439
  "cancelEvent": "CLOSE",
4440
+ "type": "form-section",
4437
4441
  "fields": [
4438
4442
  "employeeName",
4439
4443
  "leaveType",
@@ -4441,13 +4445,9 @@
4441
4445
  "endDate",
4442
4446
  "status"
4443
4447
  ],
4444
- "type": "form-section",
4445
- "mode": "edit",
4446
- "entity": "@payload.row",
4447
- "submitEvent": "SAVE"
4448
+ "mode": "edit"
4448
4449
  }
4449
- ],
4450
- "type": "stack"
4450
+ ]
4451
4451
  }
4452
4452
  ]
4453
4453
  ]
@@ -4488,8 +4488,8 @@
4488
4488
  "@payload.data",
4489
4489
  {
4490
4490
  "emit": {
4491
- "success": "TimeOffUpdated",
4492
- "failure": "TimeOffUpdateFailed"
4491
+ "failure": "TimeOffUpdateFailed",
4492
+ "success": "TimeOffUpdated"
4493
4493
  }
4494
4494
  }
4495
4495
  ],
@@ -4627,8 +4627,8 @@
4627
4627
  "TimeOff",
4628
4628
  {
4629
4629
  "emit": {
4630
- "success": "TimeOffLoaded",
4631
- "failure": "TimeOffLoadFailed"
4630
+ "failure": "TimeOffLoadFailed",
4631
+ "success": "TimeOffLoaded"
4632
4632
  },
4633
4633
  "id": "@payload.id"
4634
4634
  }
@@ -4641,27 +4641,25 @@
4641
4641
  "children": [
4642
4642
  {
4643
4643
  "align": "center",
4644
- "direction": "horizontal",
4645
- "gap": "sm",
4644
+ "type": "stack",
4646
4645
  "children": [
4647
4646
  {
4648
- "name": "eye",
4649
- "type": "icon"
4647
+ "type": "icon",
4648
+ "name": "eye"
4650
4649
  },
4651
4650
  {
4652
- "variant": "h3",
4653
4651
  "content": "@entity.employeeName",
4654
- "type": "typography"
4652
+ "type": "typography",
4653
+ "variant": "h3"
4655
4654
  }
4656
4655
  ],
4657
- "type": "stack"
4656
+ "gap": "sm",
4657
+ "direction": "horizontal"
4658
4658
  },
4659
4659
  {
4660
4660
  "type": "divider"
4661
4661
  },
4662
4662
  {
4663
- "type": "stack",
4664
- "gap": "md",
4665
4663
  "children": [
4666
4664
  {
4667
4665
  "variant": "caption",
@@ -4669,29 +4667,31 @@
4669
4667
  "type": "typography"
4670
4668
  },
4671
4669
  {
4672
- "content": "@entity.employeeName",
4670
+ "type": "typography",
4673
4671
  "variant": "body",
4674
- "type": "typography"
4672
+ "content": "@entity.employeeName"
4675
4673
  }
4676
4674
  ],
4675
+ "type": "stack",
4676
+ "gap": "md",
4677
4677
  "direction": "horizontal"
4678
4678
  },
4679
4679
  {
4680
4680
  "gap": "md",
4681
4681
  "type": "stack",
4682
- "direction": "horizontal",
4683
4682
  "children": [
4684
4683
  {
4684
+ "variant": "caption",
4685
4685
  "content": "Leave Type",
4686
- "type": "typography",
4687
- "variant": "caption"
4686
+ "type": "typography"
4688
4687
  },
4689
4688
  {
4690
- "content": "@entity.leaveType",
4691
4689
  "type": "typography",
4692
- "variant": "body"
4690
+ "variant": "body",
4691
+ "content": "@entity.leaveType"
4693
4692
  }
4694
- ]
4693
+ ],
4694
+ "direction": "horizontal"
4695
4695
  },
4696
4696
  {
4697
4697
  "gap": "md",
@@ -4699,78 +4699,78 @@
4699
4699
  "direction": "horizontal",
4700
4700
  "children": [
4701
4701
  {
4702
- "variant": "caption",
4703
4702
  "type": "typography",
4703
+ "variant": "caption",
4704
4704
  "content": "Start Date"
4705
4705
  },
4706
4706
  {
4707
- "variant": "body",
4708
4707
  "content": "@entity.startDate",
4709
- "type": "typography"
4708
+ "type": "typography",
4709
+ "variant": "body"
4710
4710
  }
4711
4711
  ]
4712
4712
  },
4713
4713
  {
4714
+ "direction": "horizontal",
4715
+ "type": "stack",
4716
+ "gap": "md",
4714
4717
  "children": [
4715
4718
  {
4716
- "content": "End Date",
4717
4719
  "type": "typography",
4718
- "variant": "caption"
4720
+ "variant": "caption",
4721
+ "content": "End Date"
4719
4722
  },
4720
4723
  {
4721
4724
  "type": "typography",
4722
4725
  "variant": "body",
4723
4726
  "content": "@entity.endDate"
4724
4727
  }
4725
- ],
4726
- "gap": "md",
4727
- "direction": "horizontal",
4728
- "type": "stack"
4728
+ ]
4729
4729
  },
4730
4730
  {
4731
+ "gap": "md",
4732
+ "direction": "horizontal",
4731
4733
  "type": "stack",
4732
4734
  "children": [
4733
4735
  {
4734
- "content": "Status",
4735
4736
  "variant": "caption",
4737
+ "content": "Status",
4736
4738
  "type": "typography"
4737
4739
  },
4738
4740
  {
4739
4741
  "type": "typography",
4740
- "content": "@entity.status",
4741
- "variant": "body"
4742
+ "variant": "body",
4743
+ "content": "@entity.status"
4742
4744
  }
4743
- ],
4744
- "direction": "horizontal",
4745
- "gap": "md"
4745
+ ]
4746
4746
  },
4747
4747
  {
4748
4748
  "type": "divider"
4749
4749
  },
4750
4750
  {
4751
- "justify": "end",
4752
- "gap": "sm",
4753
- "type": "stack",
4754
4751
  "direction": "horizontal",
4752
+ "type": "stack",
4753
+ "justify": "end",
4755
4754
  "children": [
4756
4755
  {
4756
+ "icon": "edit",
4757
4757
  "action": "EDIT",
4758
4758
  "type": "button",
4759
4759
  "label": "Edit",
4760
- "variant": "primary",
4761
- "icon": "edit"
4760
+ "variant": "primary"
4762
4761
  },
4763
4762
  {
4764
- "variant": "ghost",
4765
4763
  "type": "button",
4766
- "action": "CLOSE",
4767
- "label": "Close"
4764
+ "label": "Close",
4765
+ "variant": "ghost",
4766
+ "action": "CLOSE"
4768
4767
  }
4769
- ]
4768
+ ],
4769
+ "gap": "sm"
4770
4770
  }
4771
4771
  ],
4772
- "direction": "vertical",
4773
- "gap": "md"
4772
+ "gap": "md",
4773
+ "direction": "vertical"
4774
4774
  }
4775
4775
  ]
4776
4776
  ]
@@ -4997,11 +4997,11 @@
4997
4997
  "fetch",
4998
4998
  "TimeOff",
4999
4999
  {
5000
+ "id": "@payload.id",
5000
5001
  "emit": {
5001
5002
  "success": "TimeOffLoaded",
5002
5003
  "failure": "TimeOffLoadFailed"
5003
- },
5004
- "id": "@payload.id"
5004
+ }
5005
5005
  }
5006
5006
  ],
5007
5007
  [
@@ -5009,56 +5009,56 @@
5009
5009
  "modal",
5010
5010
  {
5011
5011
  "type": "stack",
5012
- "direction": "vertical",
5013
5012
  "gap": "md",
5014
5013
  "children": [
5015
5014
  {
5016
- "direction": "horizontal",
5017
5015
  "gap": "sm",
5018
5016
  "align": "center",
5019
- "type": "stack",
5017
+ "direction": "horizontal",
5020
5018
  "children": [
5021
5019
  {
5022
- "name": "alert-triangle",
5023
- "type": "icon"
5020
+ "type": "icon",
5021
+ "name": "alert-triangle"
5024
5022
  },
5025
5023
  {
5024
+ "type": "typography",
5026
5025
  "content": "Delete TimeOff",
5027
- "variant": "h3",
5028
- "type": "typography"
5026
+ "variant": "h3"
5029
5027
  }
5030
- ]
5028
+ ],
5029
+ "type": "stack"
5031
5030
  },
5032
5031
  {
5033
5032
  "type": "divider"
5034
5033
  },
5035
5034
  {
5036
5035
  "type": "alert",
5037
- "message": "This action cannot be undone.",
5038
- "variant": "error"
5036
+ "variant": "error",
5037
+ "message": "This action cannot be undone."
5039
5038
  },
5040
5039
  {
5041
- "justify": "end",
5042
5040
  "children": [
5043
5041
  {
5044
5042
  "type": "button",
5045
- "action": "CANCEL",
5043
+ "label": "Cancel",
5046
5044
  "variant": "ghost",
5047
- "label": "Cancel"
5045
+ "action": "CANCEL"
5048
5046
  },
5049
5047
  {
5048
+ "type": "button",
5049
+ "variant": "danger",
5050
5050
  "action": "CONFIRM_DELETE",
5051
5051
  "icon": "check",
5052
- "type": "button",
5053
- "label": "Delete",
5054
- "variant": "danger"
5052
+ "label": "Delete"
5055
5053
  }
5056
5054
  ],
5057
5055
  "direction": "horizontal",
5058
- "type": "stack",
5059
- "gap": "sm"
5056
+ "gap": "sm",
5057
+ "justify": "end",
5058
+ "type": "stack"
5060
5059
  }
5061
- ]
5060
+ ],
5061
+ "direction": "vertical"
5062
5062
  }
5063
5063
  ]
5064
5064
  ]
@@ -5075,8 +5075,8 @@
5075
5075
  "@entity.pendingId",
5076
5076
  {
5077
5077
  "emit": {
5078
- "failure": "TimeOffDeleteFailed",
5079
- "success": "TimeOffDeleted"
5078
+ "success": "TimeOffDeleted",
5079
+ "failure": "TimeOffDeleteFailed"
5080
5080
  }
5081
5081
  }
5082
5082
  ],
@@ -5327,10 +5327,34 @@
5327
5327
  "render-ui",
5328
5328
  "main",
5329
5329
  {
5330
+ "navItems": [
5331
+ {
5332
+ "href": "/employees",
5333
+ "icon": "users",
5334
+ "label": "Employees"
5335
+ },
5336
+ {
5337
+ "href": "/onboarding",
5338
+ "label": "Onboarding",
5339
+ "icon": "layout-list"
5340
+ },
5341
+ {
5342
+ "href": "/timeoff",
5343
+ "icon": "calendar",
5344
+ "label": "Time Off"
5345
+ },
5346
+ {
5347
+ "label": "Org Chart",
5348
+ "href": "/org-chart",
5349
+ "icon": "layout-list"
5350
+ }
5351
+ ],
5352
+ "appName": "HRPortal",
5330
5353
  "children": [
5331
5354
  {
5332
5355
  "children": [
5333
5356
  {
5357
+ "type": "stack",
5334
5358
  "gap": "lg",
5335
5359
  "children": [
5336
5360
  {
@@ -5346,35 +5370,35 @@
5346
5370
  ]
5347
5371
  },
5348
5372
  {
5373
+ "direction": "horizontal",
5374
+ "type": "stack",
5349
5375
  "gap": "md",
5376
+ "justify": "between",
5350
5377
  "children": [
5351
5378
  {
5352
- "type": "stack",
5353
- "direction": "horizontal",
5379
+ "gap": "md",
5354
5380
  "children": [
5355
5381
  {
5356
- "type": "icon",
5357
- "name": "git-branch"
5382
+ "name": "git-branch",
5383
+ "type": "icon"
5358
5384
  },
5359
5385
  {
5360
5386
  "type": "typography",
5361
- "content": "Org Chart",
5362
- "variant": "h2"
5387
+ "variant": "h2",
5388
+ "content": "Org Chart"
5363
5389
  }
5364
5390
  ],
5365
- "gap": "md"
5391
+ "type": "stack",
5392
+ "direction": "horizontal"
5366
5393
  },
5367
5394
  {
5368
- "icon": "refresh-cw",
5369
5395
  "type": "button",
5370
- "action": "REFRESH",
5371
5396
  "label": "Refresh",
5372
- "variant": "secondary"
5397
+ "variant": "secondary",
5398
+ "icon": "refresh-cw",
5399
+ "action": "REFRESH"
5373
5400
  }
5374
- ],
5375
- "direction": "horizontal",
5376
- "type": "stack",
5377
- "justify": "between"
5401
+ ]
5378
5402
  },
5379
5403
  {
5380
5404
  "type": "divider"
@@ -5382,21 +5406,23 @@
5382
5406
  {
5383
5407
  "children": [
5384
5408
  {
5409
+ "type": "simple-grid",
5410
+ "cols": 3.0,
5385
5411
  "children": [
5386
5412
  {
5387
- "label": "TotalEmployees",
5388
5413
  "value": "@entity.totalEmployees",
5389
- "type": "stat-display"
5414
+ "type": "stat-display",
5415
+ "label": "TotalEmployees"
5390
5416
  },
5391
5417
  {
5392
- "label": "Departments",
5393
5418
  "type": "stat-display",
5419
+ "label": "Departments",
5394
5420
  "value": "@entity.departments"
5395
5421
  },
5396
5422
  {
5397
5423
  "type": "stat-display",
5398
- "value": "@entity.openPositions",
5399
- "label": "OpenPositions"
5424
+ "label": "OpenPositions",
5425
+ "value": "@entity.openPositions"
5400
5426
  },
5401
5427
  {
5402
5428
  "type": "card",
@@ -5404,8 +5430,8 @@
5404
5430
  {
5405
5431
  "children": [
5406
5432
  {
5407
- "type": "typography",
5408
5433
  "content": "AvgTenure",
5434
+ "type": "typography",
5409
5435
  "variant": "caption"
5410
5436
  },
5411
5437
  {
@@ -5414,20 +5440,18 @@
5414
5440
  "type": "typography"
5415
5441
  }
5416
5442
  ],
5443
+ "gap": "sm",
5417
5444
  "direction": "vertical",
5418
- "type": "stack",
5419
- "gap": "sm"
5445
+ "type": "stack"
5420
5446
  }
5421
5447
  ]
5422
5448
  },
5423
5449
  {
5424
5450
  "type": "stat-display",
5425
- "label": "Headcount",
5426
- "value": "@entity.headcount"
5451
+ "value": "@entity.headcount",
5452
+ "label": "Headcount"
5427
5453
  }
5428
- ],
5429
- "type": "simple-grid",
5430
- "cols": 3.0
5454
+ ]
5431
5455
  }
5432
5456
  ],
5433
5457
  "padding": "md",
@@ -5438,8 +5462,6 @@
5438
5462
  },
5439
5463
  {
5440
5464
  "cols": 2.0,
5441
- "type": "grid",
5442
- "gap": "md",
5443
5465
  "children": [
5444
5466
  {
5445
5467
  "children": [
@@ -5455,55 +5477,57 @@
5455
5477
  "children": [
5456
5478
  {
5457
5479
  "variant": "caption",
5458
- "type": "typography",
5459
- "content": "Graph View"
5480
+ "content": "Graph View",
5481
+ "type": "typography"
5460
5482
  }
5461
5483
  ],
5462
5484
  "type": "card"
5463
5485
  }
5464
- ]
5486
+ ],
5487
+ "type": "grid",
5488
+ "gap": "md"
5465
5489
  },
5466
5490
  {
5467
- "type": "line-chart",
5468
5491
  "data": [
5469
5492
  {
5470
- "date": "Jan",
5471
- "value": 12.0
5493
+ "value": 12.0,
5494
+ "date": "Jan"
5472
5495
  },
5473
5496
  {
5474
5497
  "value": 19.0,
5475
5498
  "date": "Feb"
5476
5499
  },
5477
5500
  {
5478
- "date": "Mar",
5479
- "value": 15.0
5501
+ "value": 15.0,
5502
+ "date": "Mar"
5480
5503
  },
5481
5504
  {
5482
5505
  "date": "Apr",
5483
5506
  "value": 25.0
5484
5507
  },
5485
5508
  {
5486
- "date": "May",
5487
- "value": 22.0
5509
+ "value": 22.0,
5510
+ "date": "May"
5488
5511
  },
5489
5512
  {
5490
5513
  "date": "Jun",
5491
5514
  "value": 30.0
5492
5515
  }
5493
- ]
5516
+ ],
5517
+ "type": "line-chart"
5494
5518
  },
5495
5519
  {
5520
+ "type": "chart-legend",
5496
5521
  "items": [
5497
5522
  {
5498
5523
  "label": "Current",
5499
5524
  "color": "primary"
5500
5525
  },
5501
5526
  {
5502
- "label": "Previous",
5503
- "color": "muted"
5527
+ "color": "muted",
5528
+ "label": "Previous"
5504
5529
  }
5505
- ],
5506
- "type": "chart-legend"
5530
+ ]
5507
5531
  },
5508
5532
  {
5509
5533
  "nodes": [
@@ -5521,6 +5545,8 @@
5521
5545
  }
5522
5546
  ],
5523
5547
  "height": 200.0,
5548
+ "width": 400.0,
5549
+ "type": "graph-view",
5524
5550
  "edges": [
5525
5551
  {
5526
5552
  "source": "a",
@@ -5530,41 +5556,15 @@
5530
5556
  "target": "c",
5531
5557
  "source": "b"
5532
5558
  }
5533
- ],
5534
- "type": "graph-view",
5535
- "width": 400.0
5559
+ ]
5536
5560
  }
5537
5561
  ],
5538
- "direction": "vertical",
5539
- "type": "stack"
5562
+ "direction": "vertical"
5540
5563
  }
5541
5564
  ],
5542
5565
  "type": "scaled-diagram"
5543
5566
  }
5544
5567
  ],
5545
- "appName": "HRPortal",
5546
- "navItems": [
5547
- {
5548
- "href": "/employees",
5549
- "icon": "users",
5550
- "label": "Employees"
5551
- },
5552
- {
5553
- "label": "Onboarding",
5554
- "href": "/onboarding",
5555
- "icon": "layout-list"
5556
- },
5557
- {
5558
- "icon": "calendar",
5559
- "label": "Time Off",
5560
- "href": "/timeoff"
5561
- },
5562
- {
5563
- "label": "Org Chart",
5564
- "href": "/org-chart",
5565
- "icon": "layout-list"
5566
- }
5567
- ],
5568
5568
  "type": "dashboard-layout"
5569
5569
  }
5570
5570
  ]
@@ -5591,40 +5591,39 @@
5591
5591
  {
5592
5592
  "navItems": [
5593
5593
  {
5594
- "label": "Employees",
5595
5594
  "href": "/employees",
5595
+ "label": "Employees",
5596
5596
  "icon": "users"
5597
5597
  },
5598
5598
  {
5599
+ "label": "Onboarding",
5599
5600
  "href": "/onboarding",
5600
- "icon": "layout-list",
5601
- "label": "Onboarding"
5601
+ "icon": "layout-list"
5602
5602
  },
5603
5603
  {
5604
- "icon": "calendar",
5605
5604
  "label": "Time Off",
5605
+ "icon": "calendar",
5606
5606
  "href": "/timeoff"
5607
5607
  },
5608
5608
  {
5609
- "label": "Org Chart",
5609
+ "href": "/org-chart",
5610
5610
  "icon": "layout-list",
5611
- "href": "/org-chart"
5611
+ "label": "Org Chart"
5612
5612
  }
5613
5613
  ],
5614
+ "appName": "HRPortal",
5614
5615
  "type": "dashboard-layout",
5615
5616
  "children": [
5616
5617
  {
5617
5618
  "children": [
5618
5619
  {
5619
- "gap": "lg",
5620
- "direction": "vertical",
5621
5620
  "children": [
5622
5621
  {
5623
5622
  "type": "breadcrumb",
5624
5623
  "items": [
5625
5624
  {
5626
- "href": "/",
5627
- "label": "Home"
5625
+ "label": "Home",
5626
+ "href": "/"
5628
5627
  },
5629
5628
  {
5630
5629
  "label": "Org Chart"
@@ -5632,12 +5631,11 @@
5632
5631
  ]
5633
5632
  },
5634
5633
  {
5634
+ "direction": "horizontal",
5635
5635
  "type": "stack",
5636
+ "gap": "md",
5636
5637
  "children": [
5637
5638
  {
5638
- "gap": "md",
5639
- "type": "stack",
5640
- "direction": "horizontal",
5641
5639
  "children": [
5642
5640
  {
5643
5641
  "name": "git-branch",
@@ -5648,91 +5646,90 @@
5648
5646
  "variant": "h2",
5649
5647
  "type": "typography"
5650
5648
  }
5651
- ]
5652
- },
5653
- {
5654
- "label": "Refresh",
5649
+ ],
5650
+ "type": "stack",
5651
+ "direction": "horizontal",
5652
+ "gap": "md"
5653
+ },
5654
+ {
5655
5655
  "type": "button",
5656
- "action": "REFRESH",
5657
5656
  "icon": "refresh-cw",
5658
- "variant": "secondary"
5657
+ "label": "Refresh",
5658
+ "variant": "secondary",
5659
+ "action": "REFRESH"
5659
5660
  }
5660
5661
  ],
5661
- "justify": "between",
5662
- "direction": "horizontal",
5663
- "gap": "md"
5662
+ "justify": "between"
5664
5663
  },
5665
5664
  {
5666
5665
  "type": "divider"
5667
5666
  },
5668
5667
  {
5669
5668
  "padding": "md",
5669
+ "type": "box",
5670
5670
  "children": [
5671
5671
  {
5672
- "type": "simple-grid",
5673
5672
  "cols": 3.0,
5674
5673
  "children": [
5675
5674
  {
5676
- "value": "@entity.totalEmployees",
5675
+ "label": "TotalEmployees",
5677
5676
  "type": "stat-display",
5678
- "label": "TotalEmployees"
5677
+ "value": "@entity.totalEmployees"
5679
5678
  },
5680
5679
  {
5680
+ "label": "Departments",
5681
5681
  "value": "@entity.departments",
5682
- "type": "stat-display",
5683
- "label": "Departments"
5682
+ "type": "stat-display"
5684
5683
  },
5685
5684
  {
5686
- "type": "stat-display",
5687
5685
  "label": "OpenPositions",
5688
- "value": "@entity.openPositions"
5686
+ "value": "@entity.openPositions",
5687
+ "type": "stat-display"
5689
5688
  },
5690
5689
  {
5691
5690
  "children": [
5692
5691
  {
5693
- "gap": "sm",
5694
5692
  "type": "stack",
5695
5693
  "direction": "vertical",
5696
5694
  "children": [
5697
5695
  {
5696
+ "type": "typography",
5698
5697
  "variant": "caption",
5699
- "content": "AvgTenure",
5700
- "type": "typography"
5698
+ "content": "AvgTenure"
5701
5699
  },
5702
5700
  {
5703
5701
  "type": "typography",
5704
5702
  "variant": "h3",
5705
5703
  "content": "@entity.avgTenure"
5706
5704
  }
5707
- ]
5705
+ ],
5706
+ "gap": "sm"
5708
5707
  }
5709
5708
  ],
5710
5709
  "type": "card"
5711
5710
  },
5712
5711
  {
5713
- "value": "@entity.headcount",
5714
5712
  "type": "stat-display",
5715
- "label": "Headcount"
5713
+ "label": "Headcount",
5714
+ "value": "@entity.headcount"
5716
5715
  }
5717
- ]
5716
+ ],
5717
+ "type": "simple-grid"
5718
5718
  }
5719
- ],
5720
- "type": "box"
5719
+ ]
5721
5720
  },
5722
5721
  {
5723
5722
  "type": "divider"
5724
5723
  },
5725
5724
  {
5726
- "gap": "md",
5727
- "type": "grid",
5728
5725
  "cols": 2.0,
5729
5726
  "children": [
5730
5727
  {
5731
5728
  "type": "card",
5732
5729
  "children": [
5733
5730
  {
5734
- "content": "Chart View",
5735
5731
  "variant": "caption",
5732
+ "content": "Chart View",
5736
5733
  "type": "typography"
5737
5734
  }
5738
5735
  ]
@@ -5740,46 +5737,47 @@
5740
5737
  {
5741
5738
  "children": [
5742
5739
  {
5743
- "content": "Graph View",
5744
5740
  "type": "typography",
5745
- "variant": "caption"
5741
+ "variant": "caption",
5742
+ "content": "Graph View"
5746
5743
  }
5747
5744
  ],
5748
5745
  "type": "card"
5749
5746
  }
5750
- ]
5747
+ ],
5748
+ "type": "grid",
5749
+ "gap": "md"
5751
5750
  },
5752
5751
  {
5752
+ "type": "line-chart",
5753
5753
  "data": [
5754
5754
  {
5755
5755
  "value": 12.0,
5756
5756
  "date": "Jan"
5757
5757
  },
5758
5758
  {
5759
- "value": 19.0,
5760
- "date": "Feb"
5759
+ "date": "Feb",
5760
+ "value": 19.0
5761
5761
  },
5762
5762
  {
5763
- "value": 15.0,
5764
- "date": "Mar"
5763
+ "date": "Mar",
5764
+ "value": 15.0
5765
5765
  },
5766
5766
  {
5767
- "date": "Apr",
5768
- "value": 25.0
5767
+ "value": 25.0,
5768
+ "date": "Apr"
5769
5769
  },
5770
5770
  {
5771
5771
  "date": "May",
5772
5772
  "value": 22.0
5773
5773
  },
5774
5774
  {
5775
- "value": 30.0,
5776
- "date": "Jun"
5775
+ "date": "Jun",
5776
+ "value": 30.0
5777
5777
  }
5778
- ],
5779
- "type": "line-chart"
5778
+ ]
5780
5779
  },
5781
5780
  {
5782
- "type": "chart-legend",
5783
5781
  "items": [
5784
5782
  {
5785
5783
  "color": "primary",
@@ -5789,45 +5787,47 @@
5789
5787
  "label": "Previous",
5790
5788
  "color": "muted"
5791
5789
  }
5792
- ]
5790
+ ],
5791
+ "type": "chart-legend"
5793
5792
  },
5794
5793
  {
5795
- "edges": [
5796
- {
5797
- "target": "b",
5798
- "source": "a"
5799
- },
5800
- {
5801
- "source": "b",
5802
- "target": "c"
5803
- }
5804
- ],
5805
5794
  "type": "graph-view",
5806
- "width": 400.0,
5807
5795
  "nodes": [
5808
5796
  {
5809
5797
  "label": "Start",
5810
5798
  "id": "a"
5811
5799
  },
5812
5800
  {
5813
- "label": "Process",
5814
- "id": "b"
5801
+ "id": "b",
5802
+ "label": "Process"
5815
5803
  },
5816
5804
  {
5817
- "id": "c",
5818
- "label": "End"
5805
+ "label": "End",
5806
+ "id": "c"
5807
+ }
5808
+ ],
5809
+ "width": 400.0,
5810
+ "edges": [
5811
+ {
5812
+ "target": "b",
5813
+ "source": "a"
5814
+ },
5815
+ {
5816
+ "source": "b",
5817
+ "target": "c"
5819
5818
  }
5820
5819
  ],
5821
5820
  "height": 200.0
5822
5821
  }
5823
5822
  ],
5823
+ "gap": "lg",
5824
+ "direction": "vertical",
5824
5825
  "type": "stack"
5825
5826
  }
5826
5827
  ],
5827
5828
  "type": "scaled-diagram"
5828
5829
  }
5829
- ],
5830
- "appName": "HRPortal"
5830
+ ]
5831
5831
  }
5832
5832
  ]
5833
5833
  ]
@@ -5842,8 +5842,8 @@
5842
5842
  "OrgChart",
5843
5843
  {
5844
5844
  "emit": {
5845
- "failure": "OrgChartLoadFailed",
5846
- "success": "OrgChartLoaded"
5845
+ "success": "OrgChartLoaded",
5846
+ "failure": "OrgChartLoadFailed"
5847
5847
  }
5848
5848
  }
5849
5849
  ],
@@ -5851,8 +5851,6 @@
5851
5851
  "render-ui",
5852
5852
  "main",
5853
5853
  {
5854
- "appName": "HRPortal",
5855
- "type": "dashboard-layout",
5856
5854
  "navItems": [
5857
5855
  {
5858
5856
  "icon": "users",
@@ -5860,14 +5858,14 @@
5860
5858
  "href": "/employees"
5861
5859
  },
5862
5860
  {
5863
- "label": "Onboarding",
5864
5861
  "href": "/onboarding",
5865
- "icon": "layout-list"
5862
+ "icon": "layout-list",
5863
+ "label": "Onboarding"
5866
5864
  },
5867
5865
  {
5868
5866
  "label": "Time Off",
5869
- "href": "/timeoff",
5870
- "icon": "calendar"
5867
+ "icon": "calendar",
5868
+ "href": "/timeoff"
5871
5869
  },
5872
5870
  {
5873
5871
  "label": "Org Chart",
@@ -5877,12 +5875,13 @@
5877
5875
  ],
5878
5876
  "children": [
5879
5877
  {
5880
- "type": "scaled-diagram",
5881
5878
  "children": [
5882
5879
  {
5880
+ "direction": "vertical",
5881
+ "gap": "lg",
5882
+ "type": "stack",
5883
5883
  "children": [
5884
5884
  {
5885
- "type": "breadcrumb",
5886
5885
  "items": [
5887
5886
  {
5888
5887
  "href": "/",
@@ -5891,17 +5890,15 @@
5891
5890
  {
5892
5891
  "label": "Org Chart"
5893
5892
  }
5894
- ]
5893
+ ],
5894
+ "type": "breadcrumb"
5895
5895
  },
5896
5896
  {
5897
5897
  "direction": "horizontal",
5898
5898
  "type": "stack",
5899
- "gap": "md",
5900
- "justify": "between",
5901
5899
  "children": [
5902
5900
  {
5903
5901
  "gap": "md",
5904
- "direction": "horizontal",
5905
5902
  "children": [
5906
5903
  {
5907
5904
  "type": "icon",
@@ -5909,20 +5906,23 @@
5909
5906
  },
5910
5907
  {
5911
5908
  "type": "typography",
5912
- "variant": "h2",
5913
- "content": "Org Chart"
5909
+ "content": "Org Chart",
5910
+ "variant": "h2"
5914
5911
  }
5915
5912
  ],
5916
- "type": "stack"
5913
+ "type": "stack",
5914
+ "direction": "horizontal"
5917
5915
  },
5918
5916
  {
5919
- "variant": "secondary",
5920
5917
  "type": "button",
5921
- "icon": "refresh-cw",
5918
+ "variant": "secondary",
5922
5919
  "label": "Refresh",
5920
+ "icon": "refresh-cw",
5923
5921
  "action": "REFRESH"
5924
5922
  }
5925
- ]
5923
+ ],
5924
+ "justify": "between",
5925
+ "gap": "md"
5926
5926
  },
5927
5927
  {
5928
5928
  "type": "divider"
@@ -5932,32 +5932,32 @@
5932
5932
  "children": [
5933
5933
  {
5934
5934
  "cols": 3.0,
5935
- "type": "simple-grid",
5936
5935
  "children": [
5937
5936
  {
5937
+ "label": "TotalEmployees",
5938
5938
  "value": "@entity.totalEmployees",
5939
- "type": "stat-display",
5940
- "label": "TotalEmployees"
5939
+ "type": "stat-display"
5941
5940
  },
5942
5941
  {
5943
- "label": "Departments",
5944
5942
  "value": "@entity.departments",
5943
+ "label": "Departments",
5945
5944
  "type": "stat-display"
5946
5945
  },
5947
5946
  {
5948
5947
  "type": "stat-display",
5949
- "value": "@entity.openPositions",
5950
- "label": "OpenPositions"
5948
+ "label": "OpenPositions",
5949
+ "value": "@entity.openPositions"
5951
5950
  },
5952
5951
  {
5952
+ "type": "card",
5953
5953
  "children": [
5954
5954
  {
5955
5955
  "type": "stack",
5956
5956
  "children": [
5957
5957
  {
5958
- "variant": "caption",
5958
+ "content": "AvgTenure",
5959
5959
  "type": "typography",
5960
- "content": "AvgTenure"
5960
+ "variant": "caption"
5961
5961
  },
5962
5962
  {
5963
5963
  "type": "typography",
@@ -5968,15 +5968,15 @@
5968
5968
  "gap": "sm",
5969
5969
  "direction": "vertical"
5970
5970
  }
5971
- ],
5972
- "type": "card"
5971
+ ]
5973
5972
  },
5974
5973
  {
5975
- "label": "Headcount",
5974
+ "type": "stat-display",
5976
5975
  "value": "@entity.headcount",
5977
- "type": "stat-display"
5976
+ "label": "Headcount"
5978
5977
  }
5979
- ]
5978
+ ],
5979
+ "type": "simple-grid"
5980
5980
  }
5981
5981
  ],
5982
5982
  "type": "box"
@@ -5985,60 +5985,60 @@
5985
5985
  "type": "divider"
5986
5986
  },
5987
5987
  {
5988
- "gap": "md",
5988
+ "type": "grid",
5989
5989
  "cols": 2.0,
5990
5990
  "children": [
5991
5991
  {
5992
+ "type": "card",
5992
5993
  "children": [
5993
5994
  {
5994
5995
  "variant": "caption",
5995
- "content": "Chart View",
5996
- "type": "typography"
5996
+ "type": "typography",
5997
+ "content": "Chart View"
5997
5998
  }
5998
- ],
5999
- "type": "card"
5999
+ ]
6000
6000
  },
6001
6001
  {
6002
+ "type": "card",
6002
6003
  "children": [
6003
6004
  {
6004
- "content": "Graph View",
6005
+ "type": "typography",
6005
6006
  "variant": "caption",
6006
- "type": "typography"
6007
+ "content": "Graph View"
6007
6008
  }
6008
- ],
6009
- "type": "card"
6009
+ ]
6010
6010
  }
6011
6011
  ],
6012
- "type": "grid"
6012
+ "gap": "md"
6013
6013
  },
6014
6014
  {
6015
- "type": "line-chart",
6016
6015
  "data": [
6017
6016
  {
6018
- "date": "Jan",
6019
- "value": 12.0
6017
+ "value": 12.0,
6018
+ "date": "Jan"
6020
6019
  },
6021
6020
  {
6022
- "value": 19.0,
6023
- "date": "Feb"
6021
+ "date": "Feb",
6022
+ "value": 19.0
6024
6023
  },
6025
6024
  {
6026
- "value": 15.0,
6027
- "date": "Mar"
6025
+ "date": "Mar",
6026
+ "value": 15.0
6028
6027
  },
6029
6028
  {
6030
- "date": "Apr",
6031
- "value": 25.0
6029
+ "value": 25.0,
6030
+ "date": "Apr"
6032
6031
  },
6033
6032
  {
6034
- "date": "May",
6035
- "value": 22.0
6033
+ "value": 22.0,
6034
+ "date": "May"
6036
6035
  },
6037
6036
  {
6038
- "date": "Jun",
6039
- "value": 30.0
6037
+ "value": 30.0,
6038
+ "date": "Jun"
6040
6039
  }
6041
- ]
6040
+ ],
6041
+ "type": "line-chart"
6042
6042
  },
6043
6043
  {
6044
6044
  "type": "chart-legend",
@@ -6048,48 +6048,48 @@
6048
6048
  "label": "Current"
6049
6049
  },
6050
6050
  {
6051
- "color": "muted",
6052
- "label": "Previous"
6051
+ "label": "Previous",
6052
+ "color": "muted"
6053
6053
  }
6054
6054
  ]
6055
6055
  },
6056
6056
  {
6057
- "type": "graph-view",
6057
+ "height": 200.0,
6058
6058
  "nodes": [
6059
6059
  {
6060
6060
  "id": "a",
6061
6061
  "label": "Start"
6062
6062
  },
6063
6063
  {
6064
- "id": "b",
6065
- "label": "Process"
6064
+ "label": "Process",
6065
+ "id": "b"
6066
6066
  },
6067
6067
  {
6068
6068
  "id": "c",
6069
6069
  "label": "End"
6070
6070
  }
6071
6071
  ],
6072
- "width": 400.0,
6073
- "height": 200.0,
6072
+ "type": "graph-view",
6074
6073
  "edges": [
6075
6074
  {
6076
6075
  "target": "b",
6077
6076
  "source": "a"
6078
6077
  },
6079
6078
  {
6080
- "target": "c",
6081
- "source": "b"
6079
+ "source": "b",
6080
+ "target": "c"
6082
6081
  }
6083
- ]
6082
+ ],
6083
+ "width": 400.0
6084
6084
  }
6085
- ],
6086
- "gap": "lg",
6087
- "direction": "vertical",
6088
- "type": "stack"
6085
+ ]
6089
6086
  }
6090
- ]
6087
+ ],
6088
+ "type": "scaled-diagram"
6091
6089
  }
6092
- ]
6090
+ ],
6091
+ "type": "dashboard-layout",
6092
+ "appName": "HRPortal"
6093
6093
  }
6094
6094
  ]
6095
6095
  ]
@@ -6113,12 +6113,38 @@
6113
6113
  "render-ui",
6114
6114
  "main",
6115
6115
  {
6116
- "children": [
6116
+ "appName": "HRPortal",
6117
+ "type": "dashboard-layout",
6118
+ "navItems": [
6117
6119
  {
6120
+ "label": "Employees",
6121
+ "icon": "users",
6122
+ "href": "/employees"
6123
+ },
6124
+ {
6125
+ "href": "/onboarding",
6126
+ "icon": "layout-list",
6127
+ "label": "Onboarding"
6128
+ },
6129
+ {
6130
+ "icon": "calendar",
6131
+ "label": "Time Off",
6132
+ "href": "/timeoff"
6133
+ },
6134
+ {
6135
+ "label": "Org Chart",
6136
+ "href": "/org-chart",
6137
+ "icon": "layout-list"
6138
+ }
6139
+ ],
6140
+ "children": [
6141
+ {
6142
+ "type": "scaled-diagram",
6118
6143
  "children": [
6119
6144
  {
6120
- "type": "stack",
6121
6145
  "direction": "vertical",
6146
+ "gap": "lg",
6147
+ "type": "stack",
6122
6148
  "children": [
6123
6149
  {
6124
6150
  "type": "breadcrumb",
@@ -6133,90 +6159,90 @@
6133
6159
  ]
6134
6160
  },
6135
6161
  {
6136
- "gap": "md",
6137
- "justify": "between",
6138
6162
  "type": "stack",
6163
+ "justify": "between",
6139
6164
  "children": [
6140
6165
  {
6141
6166
  "gap": "md",
6142
- "type": "stack",
6143
6167
  "direction": "horizontal",
6144
6168
  "children": [
6145
6169
  {
6146
- "name": "git-branch",
6147
- "type": "icon"
6170
+ "type": "icon",
6171
+ "name": "git-branch"
6148
6172
  },
6149
6173
  {
6150
6174
  "variant": "h2",
6151
6175
  "content": "Org Chart",
6152
6176
  "type": "typography"
6153
6177
  }
6154
- ]
6178
+ ],
6179
+ "type": "stack"
6155
6180
  },
6156
6181
  {
6157
6182
  "variant": "secondary",
6158
6183
  "icon": "refresh-cw",
6184
+ "action": "REFRESH",
6159
6185
  "label": "Refresh",
6160
- "type": "button",
6161
- "action": "REFRESH"
6186
+ "type": "button"
6162
6187
  }
6163
6188
  ],
6189
+ "gap": "md",
6164
6190
  "direction": "horizontal"
6165
6191
  },
6166
6192
  {
6167
6193
  "type": "divider"
6168
6194
  },
6169
6195
  {
6170
- "type": "box",
6171
6196
  "padding": "md",
6197
+ "type": "box",
6172
6198
  "children": [
6173
6199
  {
6174
- "type": "simple-grid",
6175
- "cols": 3.0,
6176
6200
  "children": [
6177
6201
  {
6202
+ "value": "@entity.totalEmployees",
6178
6203
  "type": "stat-display",
6179
- "label": "TotalEmployees",
6180
- "value": "@entity.totalEmployees"
6204
+ "label": "TotalEmployees"
6181
6205
  },
6182
6206
  {
6183
- "label": "Departments",
6184
6207
  "value": "@entity.departments",
6185
- "type": "stat-display"
6208
+ "type": "stat-display",
6209
+ "label": "Departments"
6186
6210
  },
6187
6211
  {
6188
- "label": "OpenPositions",
6189
6212
  "value": "@entity.openPositions",
6190
- "type": "stat-display"
6213
+ "type": "stat-display",
6214
+ "label": "OpenPositions"
6191
6215
  },
6192
6216
  {
6193
- "type": "card",
6194
6217
  "children": [
6195
6218
  {
6196
- "direction": "vertical",
6197
6219
  "children": [
6198
6220
  {
6199
6221
  "type": "typography",
6200
- "variant": "caption",
6201
- "content": "AvgTenure"
6222
+ "content": "AvgTenure",
6223
+ "variant": "caption"
6202
6224
  },
6203
6225
  {
6204
- "type": "typography",
6205
6226
  "variant": "h3",
6206
- "content": "@entity.avgTenure"
6227
+ "content": "@entity.avgTenure",
6228
+ "type": "typography"
6207
6229
  }
6208
6230
  ],
6231
+ "gap": "sm",
6209
6232
  "type": "stack",
6210
- "gap": "sm"
6233
+ "direction": "vertical"
6211
6234
  }
6212
- ]
6235
+ ],
6236
+ "type": "card"
6213
6237
  },
6214
6238
  {
6215
- "type": "stat-display",
6216
6239
  "value": "@entity.headcount",
6240
+ "type": "stat-display",
6217
6241
  "label": "Headcount"
6218
6242
  }
6219
- ]
6243
+ ],
6244
+ "type": "simple-grid",
6245
+ "cols": 3.0
6220
6246
  }
6221
6247
  ]
6222
6248
  },
@@ -6224,62 +6250,63 @@
6224
6250
  "type": "divider"
6225
6251
  },
6226
6252
  {
6253
+ "cols": 2.0,
6254
+ "type": "grid",
6227
6255
  "children": [
6228
6256
  {
6229
- "type": "card",
6230
6257
  "children": [
6231
6258
  {
6232
- "type": "typography",
6233
6259
  "variant": "caption",
6260
+ "type": "typography",
6234
6261
  "content": "Chart View"
6235
6262
  }
6236
- ]
6263
+ ],
6264
+ "type": "card"
6237
6265
  },
6238
6266
  {
6239
6267
  "children": [
6240
6268
  {
6269
+ "content": "Graph View",
6241
6270
  "variant": "caption",
6242
- "type": "typography",
6243
- "content": "Graph View"
6271
+ "type": "typography"
6244
6272
  }
6245
6273
  ],
6246
6274
  "type": "card"
6247
6275
  }
6248
6276
  ],
6249
- "cols": 2.0,
6250
- "type": "grid",
6251
6277
  "gap": "md"
6252
6278
  },
6253
6279
  {
6254
6280
  "data": [
6255
6281
  {
6256
- "value": 12.0,
6257
- "date": "Jan"
6282
+ "date": "Jan",
6283
+ "value": 12.0
6258
6284
  },
6259
6285
  {
6260
6286
  "value": 19.0,
6261
6287
  "date": "Feb"
6262
6288
  },
6263
6289
  {
6264
- "date": "Mar",
6265
- "value": 15.0
6290
+ "value": 15.0,
6291
+ "date": "Mar"
6266
6292
  },
6267
6293
  {
6268
6294
  "date": "Apr",
6269
6295
  "value": 25.0
6270
6296
  },
6271
6297
  {
6272
- "value": 22.0,
6273
- "date": "May"
6298
+ "date": "May",
6299
+ "value": 22.0
6274
6300
  },
6275
6301
  {
6276
- "value": 30.0,
6277
- "date": "Jun"
6302
+ "date": "Jun",
6303
+ "value": 30.0
6278
6304
  }
6279
6305
  ],
6280
6306
  "type": "line-chart"
6281
6307
  },
6282
6308
  {
6309
+ "type": "chart-legend",
6283
6310
  "items": [
6284
6311
  {
6285
6312
  "label": "Current",
@@ -6289,31 +6316,30 @@
6289
6316
  "label": "Previous",
6290
6317
  "color": "muted"
6291
6318
  }
6292
- ],
6293
- "type": "chart-legend"
6319
+ ]
6294
6320
  },
6295
6321
  {
6322
+ "width": 400.0,
6296
6323
  "edges": [
6297
6324
  {
6298
- "target": "b",
6299
- "source": "a"
6325
+ "source": "a",
6326
+ "target": "b"
6300
6327
  },
6301
6328
  {
6302
- "target": "c",
6303
- "source": "b"
6329
+ "source": "b",
6330
+ "target": "c"
6304
6331
  }
6305
6332
  ],
6306
- "type": "graph-view",
6307
- "width": 400.0,
6308
6333
  "height": 200.0,
6334
+ "type": "graph-view",
6309
6335
  "nodes": [
6310
6336
  {
6311
6337
  "label": "Start",
6312
6338
  "id": "a"
6313
6339
  },
6314
6340
  {
6315
- "label": "Process",
6316
- "id": "b"
6341
+ "id": "b",
6342
+ "label": "Process"
6317
6343
  },
6318
6344
  {
6319
6345
  "label": "End",
@@ -6321,37 +6347,11 @@
6321
6347
  }
6322
6348
  ]
6323
6349
  }
6324
- ],
6325
- "gap": "lg"
6350
+ ]
6326
6351
  }
6327
- ],
6328
- "type": "scaled-diagram"
6329
- }
6330
- ],
6331
- "type": "dashboard-layout",
6332
- "navItems": [
6333
- {
6334
- "href": "/employees",
6335
- "label": "Employees",
6336
- "icon": "users"
6337
- },
6338
- {
6339
- "href": "/onboarding",
6340
- "icon": "layout-list",
6341
- "label": "Onboarding"
6342
- },
6343
- {
6344
- "label": "Time Off",
6345
- "href": "/timeoff",
6346
- "icon": "calendar"
6347
- },
6348
- {
6349
- "label": "Org Chart",
6350
- "href": "/org-chart",
6351
- "icon": "layout-list"
6352
+ ]
6352
6353
  }
6353
- ],
6354
- "appName": "HRPortal"
6354
+ ]
6355
6355
  }
6356
6356
  ]
6357
6357
  ]
@@ -6375,17 +6375,40 @@
6375
6375
  "render-ui",
6376
6376
  "main",
6377
6377
  {
6378
- "appName": "HRPortal",
6379
6378
  "type": "dashboard-layout",
6379
+ "navItems": [
6380
+ {
6381
+ "icon": "users",
6382
+ "label": "Employees",
6383
+ "href": "/employees"
6384
+ },
6385
+ {
6386
+ "icon": "layout-list",
6387
+ "label": "Onboarding",
6388
+ "href": "/onboarding"
6389
+ },
6390
+ {
6391
+ "label": "Time Off",
6392
+ "href": "/timeoff",
6393
+ "icon": "calendar"
6394
+ },
6395
+ {
6396
+ "label": "Org Chart",
6397
+ "icon": "layout-list",
6398
+ "href": "/org-chart"
6399
+ }
6400
+ ],
6401
+ "appName": "HRPortal",
6380
6402
  "children": [
6381
6403
  {
6404
+ "type": "scaled-diagram",
6382
6405
  "children": [
6383
6406
  {
6384
- "gap": "lg",
6385
6407
  "direction": "vertical",
6386
- "type": "stack",
6408
+ "gap": "lg",
6387
6409
  "children": [
6388
6410
  {
6411
+ "type": "breadcrumb",
6389
6412
  "items": [
6390
6413
  {
6391
6414
  "href": "/",
@@ -6394,37 +6417,36 @@
6394
6417
  {
6395
6418
  "label": "Org Chart"
6396
6419
  }
6397
- ],
6398
- "type": "breadcrumb"
6420
+ ]
6399
6421
  },
6400
6422
  {
6423
+ "type": "stack",
6424
+ "justify": "between",
6401
6425
  "children": [
6402
6426
  {
6427
+ "direction": "horizontal",
6428
+ "gap": "md",
6403
6429
  "children": [
6404
6430
  {
6405
- "type": "icon",
6406
- "name": "git-branch"
6431
+ "name": "git-branch",
6432
+ "type": "icon"
6407
6433
  },
6408
6434
  {
6435
+ "type": "typography",
6409
6436
  "content": "Org Chart",
6410
- "variant": "h2",
6411
- "type": "typography"
6437
+ "variant": "h2"
6412
6438
  }
6413
6439
  ],
6414
- "gap": "md",
6415
- "type": "stack",
6416
- "direction": "horizontal"
6440
+ "type": "stack"
6417
6441
  },
6418
6442
  {
6443
+ "label": "Refresh",
6419
6444
  "action": "REFRESH",
6420
- "icon": "refresh-cw",
6421
6445
  "type": "button",
6422
- "variant": "secondary",
6423
- "label": "Refresh"
6446
+ "icon": "refresh-cw",
6447
+ "variant": "secondary"
6424
6448
  }
6425
6449
  ],
6426
- "justify": "between",
6427
- "type": "stack",
6428
6450
  "direction": "horizontal",
6429
6451
  "gap": "md"
6430
6452
  },
@@ -6432,10 +6454,11 @@
6432
6454
  "type": "divider"
6433
6455
  },
6434
6456
  {
6457
+ "padding": "md",
6435
6458
  "children": [
6436
6459
  {
6437
- "cols": 3.0,
6438
6460
  "type": "simple-grid",
6461
+ "cols": 3.0,
6439
6462
  "children": [
6440
6463
  {
6441
6464
  "type": "stat-display",
@@ -6443,104 +6466,103 @@
6443
6466
  "label": "TotalEmployees"
6444
6467
  },
6445
6468
  {
6469
+ "type": "stat-display",
6446
6470
  "label": "Departments",
6447
- "value": "@entity.departments",
6448
- "type": "stat-display"
6471
+ "value": "@entity.departments"
6449
6472
  },
6450
6473
  {
6451
- "label": "OpenPositions",
6452
6474
  "value": "@entity.openPositions",
6453
- "type": "stat-display"
6475
+ "type": "stat-display",
6476
+ "label": "OpenPositions"
6454
6477
  },
6455
6478
  {
6456
6479
  "children": [
6457
6480
  {
6458
- "direction": "vertical",
6459
6481
  "gap": "sm",
6460
6482
  "type": "stack",
6461
6483
  "children": [
6462
6484
  {
6463
- "type": "typography",
6485
+ "content": "AvgTenure",
6464
6486
  "variant": "caption",
6465
- "content": "AvgTenure"
6487
+ "type": "typography"
6466
6488
  },
6467
6489
  {
6468
- "content": "@entity.avgTenure",
6469
6490
  "type": "typography",
6470
- "variant": "h3"
6491
+ "variant": "h3",
6492
+ "content": "@entity.avgTenure"
6471
6493
  }
6472
- ]
6494
+ ],
6495
+ "direction": "vertical"
6473
6496
  }
6474
6497
  ],
6475
6498
  "type": "card"
6476
6499
  },
6477
6500
  {
6478
- "label": "Headcount",
6501
+ "value": "@entity.headcount",
6479
6502
  "type": "stat-display",
6480
- "value": "@entity.headcount"
6503
+ "label": "Headcount"
6481
6504
  }
6482
6505
  ]
6483
6506
  }
6484
6507
  ],
6485
- "type": "box",
6486
- "padding": "md"
6508
+ "type": "box"
6487
6509
  },
6488
6510
  {
6489
6511
  "type": "divider"
6490
6512
  },
6491
6513
  {
6492
- "cols": 2.0,
6493
- "gap": "md",
6494
- "type": "grid",
6495
6514
  "children": [
6496
6515
  {
6497
- "type": "card",
6498
6516
  "children": [
6499
6517
  {
6500
- "content": "Chart View",
6501
6518
  "variant": "caption",
6519
+ "content": "Chart View",
6502
6520
  "type": "typography"
6503
6521
  }
6504
- ]
6522
+ ],
6523
+ "type": "card"
6505
6524
  },
6506
6525
  {
6507
6526
  "type": "card",
6508
6527
  "children": [
6509
6528
  {
6529
+ "variant": "caption",
6510
6530
  "content": "Graph View",
6511
- "type": "typography",
6512
- "variant": "caption"
6531
+ "type": "typography"
6513
6532
  }
6514
6533
  ]
6515
6534
  }
6516
- ]
6535
+ ],
6536
+ "cols": 2.0,
6537
+ "type": "grid",
6538
+ "gap": "md"
6517
6539
  },
6518
6540
  {
6519
6541
  "type": "line-chart",
6520
6542
  "data": [
6521
6543
  {
6522
- "date": "Jan",
6523
- "value": 12.0
6544
+ "value": 12.0,
6545
+ "date": "Jan"
6524
6546
  },
6525
6547
  {
6526
6548
  "value": 19.0,
6527
6549
  "date": "Feb"
6528
6550
  },
6529
6551
  {
6530
- "value": 15.0,
6531
- "date": "Mar"
6552
+ "date": "Mar",
6553
+ "value": 15.0
6532
6554
  },
6533
6555
  {
6534
- "date": "Apr",
6535
- "value": 25.0
6556
+ "value": 25.0,
6557
+ "date": "Apr"
6536
6558
  },
6537
6559
  {
6538
- "value": 22.0,
6539
- "date": "May"
6560
+ "date": "May",
6561
+ "value": 22.0
6540
6562
  },
6541
6563
  {
6542
- "date": "Jun",
6543
- "value": 30.0
6564
+ "value": 30.0,
6565
+ "date": "Jun"
6544
6566
  }
6545
6567
  ]
6546
6568
  },
@@ -6548,70 +6570,48 @@
6548
6570
  "type": "chart-legend",
6549
6571
  "items": [
6550
6572
  {
6551
- "color": "primary",
6552
- "label": "Current"
6573
+ "label": "Current",
6574
+ "color": "primary"
6553
6575
  },
6554
6576
  {
6555
- "label": "Previous",
6556
- "color": "muted"
6577
+ "color": "muted",
6578
+ "label": "Previous"
6557
6579
  }
6558
6580
  ]
6559
6581
  },
6560
6582
  {
6561
- "edges": [
6562
- {
6563
- "source": "a",
6564
- "target": "b"
6565
- },
6566
- {
6567
- "target": "c",
6568
- "source": "b"
6569
- }
6570
- ],
6571
6583
  "type": "graph-view",
6584
+ "height": 200.0,
6572
6585
  "width": 400.0,
6573
6586
  "nodes": [
6574
6587
  {
6575
- "id": "a",
6576
- "label": "Start"
6588
+ "label": "Start",
6589
+ "id": "a"
6577
6590
  },
6578
6591
  {
6579
- "id": "b",
6580
- "label": "Process"
6592
+ "label": "Process",
6593
+ "id": "b"
6581
6594
  },
6582
6595
  {
6583
6596
  "label": "End",
6584
6597
  "id": "c"
6585
6598
  }
6586
6599
  ],
6587
- "height": 200.0
6600
+ "edges": [
6601
+ {
6602
+ "source": "a",
6603
+ "target": "b"
6604
+ },
6605
+ {
6606
+ "source": "b",
6607
+ "target": "c"
6608
+ }
6609
+ ]
6588
6610
  }
6589
- ]
6611
+ ],
6612
+ "type": "stack"
6590
6613
  }
6591
- ],
6592
- "type": "scaled-diagram"
6593
- }
6594
- ],
6595
- "navItems": [
6596
- {
6597
- "href": "/employees",
6598
- "icon": "users",
6599
- "label": "Employees"
6600
- },
6601
- {
6602
- "href": "/onboarding",
6603
- "icon": "layout-list",
6604
- "label": "Onboarding"
6605
- },
6606
- {
6607
- "href": "/timeoff",
6608
- "icon": "calendar",
6609
- "label": "Time Off"
6610
- },
6611
- {
6612
- "href": "/org-chart",
6613
- "label": "Org Chart",
6614
- "icon": "layout-list"
6614
+ ]
6615
6615
  }
6616
6616
  ]
6617
6617
  }
@@ -6636,4 +6636,4 @@
6636
6636
  ]
6637
6637
  }
6638
6638
  ]
6639
- }
6639
+ }