@almadar/std 8.3.0 → 8.4.1

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