orgchart 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +32 -0
- package/README.md +172 -93
- package/README.zh-cn.md +163 -74
- package/README.zh-tw.md +163 -74
- package/bower.json +6 -9
- package/demo/10000-nodes.html +139 -0
- package/demo/ajax-datasource.html +46 -45
- package/demo/bottom2top.html +12 -9
- package/demo/center-on-selected-node.html +21 -17
- package/demo/color-coded.html +12 -9
- package/demo/css/style.css +28 -0
- package/demo/custom-icons.html +12 -9
- package/demo/custom-template.html +12 -9
- package/demo/data-prop-compact.html +11 -8
- package/demo/data-prop-hybrid.html +79 -50
- package/demo/default-collapsed.html +12 -9
- package/demo/drag-drop-hybrid-chart.html +17 -14
- package/demo/drag-drop.html +21 -16
- package/demo/edit-chart.html +148 -94
- package/demo/edit-hybrid-chart.html +178 -135
- package/demo/expand-to-given-depth.html +30 -22
- package/demo/export-chart-pdf.html +12 -9
- package/demo/export-chart-with-pictures.html +19 -12
- package/demo/export-chart.html +12 -9
- package/demo/family-tree.html +14 -11
- package/demo/familytree-custom-properties.html +108 -0
- package/demo/filter-node.html +104 -57
- package/demo/get-hierarchy.html +17 -12
- package/demo/get-related-nodes.html +27 -17
- package/demo/index.html +5 -2
- package/demo/integrate-map.html +32 -27
- package/demo/left2right.html +12 -9
- package/demo/level-offset.html +16 -15
- package/demo/link-node.html +12 -9
- package/demo/local-datasource.html +11 -8
- package/demo/minimap.html +224 -0
- package/demo/nodes-of-different-widths.html +11 -8
- package/demo/ondemand-loading-data.html +88 -91
- package/demo/option-createNode.html +28 -17
- package/demo/pan-zoom.html +20 -11
- package/demo/reload-data.html +17 -14
- package/demo/report-path.html +59 -29
- package/demo/responsive-design.html +14 -11
- package/demo/right2left.html +12 -9
- package/demo/toggle-sibs-resp.html +12 -9
- package/demo/ul-datasource.html +11 -8
- package/demo/vertical-level.html +12 -9
- package/dist/css/{jquery.orgchart.css → orgchart.css} +143 -80
- package/dist/css/orgchart.min.css +1 -0
- package/dist/js/orgchart.js +4101 -0
- package/dist/js/orgchart.min.js +2 -0
- package/dist/js/orgchart.min.js.map +1 -0
- package/gulpfile.js +37 -26
- package/package.json +32 -32
- package/src/css/{jquery.orgchart.css → orgchart.css} +143 -80
- package/src/js/orgchart.js +4101 -0
- package/test/cypress/e2e/demo-interactions.cy.js +91 -0
- package/test/cypress/e2e/demo-rendering.cy.js +100 -0
- package/test/cypress/e2e/drag-drop-hybrid-chart.cy.js +22 -0
- package/test/cypress/e2e/edit-chart.cy.js +20 -0
- package/test/cypress/e2e/level-offset.cy.js +21 -0
- package/test/cypress/e2e/minimap.cy.js +66 -0
- package/test/cypress/e2e/pan-zoom.cy.js +165 -0
- package/test/cypress/e2e/report-path.cy.js +20 -0
- package/test/cypress/e2e/vertical-vevel.cy.js +5 -3
- package/test/e2e/local-datasource/test.js +1 -1
- package/test/integration/init-tests.js +168 -62
- package/test/integration/tests.js +1034 -56
- package/test/unit/lifecycle-builders-export.tests.js +1426 -0
- package/test/unit/minimap.tests.js +210 -0
- package/test/unit/tests.js +2372 -252
- package/dist/css/jquery.orgchart.min.css +0 -1
- package/dist/js/jquery.orgchart.js +0 -1741
- package/dist/js/jquery.orgchart.min.js +0 -5
- package/dist/js/jquery.orgchart.min.js.map +0 -1
- package/src/js/jquery.orgchart.js +0 -1741
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
*
|
|
2
|
+
* JavaScript OrgChart Component
|
|
3
3
|
* https://github.com/dabeng/OrgChart
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2016, dabeng
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.orgchart ~ .mask {
|
|
54
|
-
position:
|
|
54
|
+
position: sticky;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
55
57
|
top: 0;
|
|
56
58
|
right: 0;
|
|
57
59
|
bottom: 0;
|
|
@@ -86,19 +88,89 @@
|
|
|
86
88
|
justify-content: center;
|
|
87
89
|
}
|
|
88
90
|
|
|
91
|
+
.orgchart-minimap {
|
|
92
|
+
position: absolute;
|
|
93
|
+
right: 12px;
|
|
94
|
+
bottom: 12px;
|
|
95
|
+
z-index: 25;
|
|
96
|
+
width: 180px;
|
|
97
|
+
height: 120px;
|
|
98
|
+
padding: 8px;
|
|
99
|
+
border: 1px solid rgba(68, 68, 68, 0.18);
|
|
100
|
+
border-radius: 8px;
|
|
101
|
+
background-color: rgba(255, 255, 255, 0.96);
|
|
102
|
+
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.orgchart-minimap-stage {
|
|
107
|
+
position: relative;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
border-radius: 5px;
|
|
112
|
+
background-image: linear-gradient(rgba(68, 68, 68, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(68, 68, 68, 0.05) 1px, transparent 1px);
|
|
113
|
+
background-size: 10px 10px;
|
|
114
|
+
background-color: #f9fbfc;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.orgchart-minimap-content {
|
|
118
|
+
position: absolute;
|
|
119
|
+
top: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.orgchart-minimap-node {
|
|
125
|
+
position: absolute;
|
|
126
|
+
min-width: 6px;
|
|
127
|
+
height: 18px;
|
|
128
|
+
border-radius: 0;
|
|
129
|
+
opacity: 1;
|
|
130
|
+
box-shadow: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.orgchart-minimap .orgchart,
|
|
134
|
+
.orgchart-minimap .orgchart ul,
|
|
135
|
+
.orgchart-minimap .orgchart li,
|
|
136
|
+
.orgchart-minimap .orgchart .node,
|
|
137
|
+
.orgchart-minimap .orgchart .edge,
|
|
138
|
+
.orgchart-minimap .orgchart .verticalNodes,
|
|
139
|
+
.orgchart-minimap .orgchart .verticalNode,
|
|
140
|
+
.orgchart-minimap .orgchart .nodes,
|
|
141
|
+
.orgchart-minimap-node {
|
|
142
|
+
pointer-events: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.orgchart-minimap-viewport {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
min-width: 12px;
|
|
150
|
+
min-height: 12px;
|
|
151
|
+
border: 2px solid rgba(28, 111, 197, 0.9);
|
|
152
|
+
border-radius: 4px;
|
|
153
|
+
background-color: rgba(28, 111, 197, 0.12);
|
|
154
|
+
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 0 999px rgba(255, 255, 255, 0.12);
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
cursor: move;
|
|
157
|
+
}
|
|
158
|
+
|
|
89
159
|
.orgchart .hierarchy {
|
|
90
160
|
position: relative;
|
|
91
161
|
}
|
|
92
162
|
|
|
93
163
|
/* styles of link lines */
|
|
94
164
|
.orgchart .hierarchy::before {
|
|
165
|
+
box-sizing: border-box;
|
|
95
166
|
content: "";
|
|
96
167
|
position: absolute;
|
|
97
168
|
top: -11px; /* -(background square size + half width of line) */
|
|
98
169
|
left: 0;
|
|
99
170
|
width: 100%;
|
|
100
|
-
border-
|
|
101
|
-
|
|
171
|
+
border-color: rgba(217, 83, 79, 0.8);
|
|
172
|
+
border-style: solid;
|
|
173
|
+
border-width: 2px 0 0 0;
|
|
102
174
|
}
|
|
103
175
|
|
|
104
176
|
/* 本姓人与上一层父母的连线,借助伪元素::before实现 */
|
|
@@ -111,7 +183,7 @@
|
|
|
111
183
|
/* 处理同一层中特殊的末节点 */
|
|
112
184
|
.orgchart .couple:last-child:not(:only-child)::before {
|
|
113
185
|
width: calc(50% + 71px);
|
|
114
|
-
left:
|
|
186
|
+
left: 0;
|
|
115
187
|
}
|
|
116
188
|
|
|
117
189
|
.orgchart .hierarchy.couple:only-child::before {
|
|
@@ -212,24 +284,24 @@
|
|
|
212
284
|
background-color: rgba(238, 217, 54, 0.5);
|
|
213
285
|
}
|
|
214
286
|
/* excluding root node */
|
|
215
|
-
.orgchart > ul > li > ul li > .node
|
|
287
|
+
.orgchart > ul > li > ul li > .node::before {
|
|
216
288
|
content: "";
|
|
217
289
|
position: absolute;
|
|
218
|
-
top: var(--top, -12px); /* -(fallback value = background square size + border width of node) */
|
|
219
290
|
left: calc(50% - 1px);
|
|
220
291
|
width: 2px;
|
|
221
|
-
height: var(--height, 10px); /* fallback value = background square size */
|
|
222
292
|
background-color: rgba(217, 83, 79, 0.8);
|
|
293
|
+
top: var(--top, -12px); /* -(fallback value = background square size + border width of node) */
|
|
294
|
+
height: var(--height, 10px); /* fallback value = background square size */
|
|
223
295
|
}
|
|
224
296
|
|
|
225
297
|
.orgchart > ul > li > ul li > .node.outsider::before {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
298
|
+
background-color: unset;
|
|
299
|
+
background-image: repeating-linear-gradient(
|
|
300
|
+
to bottom,
|
|
301
|
+
rgba(217, 83, 79, 0.8) 0 2px,
|
|
302
|
+
transparent 2px 4px
|
|
303
|
+
);
|
|
304
|
+
background-repeat: repeat-y;
|
|
233
305
|
}
|
|
234
306
|
|
|
235
307
|
.orgchart > ul > li > ul .isSiblingsCollapsed > .node::before {
|
|
@@ -471,19 +543,56 @@
|
|
|
471
543
|
bottom: -2px;
|
|
472
544
|
width: 16px;
|
|
473
545
|
height: 16px;
|
|
546
|
+
visibility: hidden;
|
|
547
|
+
background-color: rgba(68, 157, 68, 0.6);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.orgchart .node:hover .toggleBtn {
|
|
551
|
+
visibility: visible;
|
|
474
552
|
}
|
|
475
553
|
|
|
476
554
|
.orgchart .node .toggleBtn::before {
|
|
477
|
-
|
|
555
|
+
content: "";
|
|
478
556
|
position: absolute;
|
|
479
|
-
left:
|
|
480
|
-
|
|
557
|
+
left: 3px;
|
|
558
|
+
top: 7px;
|
|
559
|
+
box-sizing: border-box;
|
|
560
|
+
width: 10px;
|
|
561
|
+
height: 2px;
|
|
562
|
+
border-radius: 1px;
|
|
563
|
+
background-color: #fff;
|
|
564
|
+
display: none;
|
|
481
565
|
}
|
|
482
566
|
|
|
483
|
-
.orgchart .node .toggleBtn:hover
|
|
567
|
+
.orgchart .node .toggleBtn:hover {
|
|
484
568
|
background-color: #449d44;
|
|
485
569
|
}
|
|
486
570
|
|
|
571
|
+
.orgchart .node .toggleBtn::after {
|
|
572
|
+
content: "";
|
|
573
|
+
position: absolute;
|
|
574
|
+
left: 7px;
|
|
575
|
+
top: 3px;
|
|
576
|
+
width: 2px;
|
|
577
|
+
height: 10px;
|
|
578
|
+
border-radius: 1px;
|
|
579
|
+
background-color: #fff;
|
|
580
|
+
display: none;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.orgchart .node .toggleBtn.oci-plus-square::before,
|
|
584
|
+
.orgchart .node .toggleBtn.oci-plus-square::after {
|
|
585
|
+
display: block;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.orgchart .node .toggleBtn.oci-minus-square::before {
|
|
589
|
+
display: block;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.orgchart .node .toggleBtn.oci-minus-square::after {
|
|
593
|
+
display: none;
|
|
594
|
+
}
|
|
595
|
+
|
|
487
596
|
.oc-export-btn {
|
|
488
597
|
margin-left: 0.5rem;
|
|
489
598
|
padding: 0.5rem 1rem;
|
|
@@ -560,24 +669,21 @@
|
|
|
560
669
|
content: '';
|
|
561
670
|
position: absolute;
|
|
562
671
|
left: -6px; /* -(background square size + half width of line */
|
|
672
|
+
width: 11px; /* background square size + half width of line */
|
|
563
673
|
border-color: rgba(217, 83, 79, 0.8);
|
|
564
674
|
border-style: solid;
|
|
565
|
-
border-width: 0 0 2px 2px;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.orgchart .nodes.vertical .hierarchy:only-child::before {
|
|
569
|
-
width: 11px;
|
|
570
675
|
}
|
|
571
676
|
|
|
572
677
|
.orgchart .nodes.vertical .hierarchy::before {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
width:
|
|
678
|
+
height: 26px;
|
|
679
|
+
top: 0;
|
|
680
|
+
border-width: 0 0 2px 2px;
|
|
576
681
|
}
|
|
577
682
|
|
|
578
683
|
.orgchart .nodes.vertical .hierarchy::after {
|
|
684
|
+
height: calc(100% - 24px); /* node top half's height(25px) + half width of line */
|
|
579
685
|
bottom: 0;
|
|
580
|
-
|
|
686
|
+
border-width: 0 0 0 2px;
|
|
581
687
|
}
|
|
582
688
|
|
|
583
689
|
.orgchart .nodes.vertical .hierarchy:last-child::after {
|
|
@@ -585,7 +691,6 @@
|
|
|
585
691
|
}
|
|
586
692
|
|
|
587
693
|
.orgchart .nodes.vertical > .hierarchy:first-child::before {
|
|
588
|
-
box-sizing: border-box;
|
|
589
694
|
top: -11px; /* -(background square size + half width of line) */
|
|
590
695
|
height: 35px; /* node top half's height + node padding + node border width + background square size */
|
|
591
696
|
width: calc(50% + 2px);
|
|
@@ -593,19 +698,16 @@
|
|
|
593
698
|
}
|
|
594
699
|
|
|
595
700
|
.orgchart .nodes.vertical > .hierarchy:first-child::after {
|
|
596
|
-
box-sizing: border-box;
|
|
597
701
|
top: 24px; /* node bottom half's height(25px) - half border width of line */
|
|
598
|
-
width: 11px; /* backgroud square size + half border width of line */
|
|
599
702
|
border-width: 2px 0 0 2px;
|
|
600
703
|
}
|
|
601
704
|
|
|
602
|
-
.orgchart .nodes.vertical > .hierarchy:
|
|
705
|
+
.orgchart .nodes.vertical > .hierarchy:only-child::after {
|
|
603
706
|
border-width: 2px 0 0 0;
|
|
604
707
|
}
|
|
605
708
|
|
|
606
709
|
/* styles for compact nodes */
|
|
607
710
|
.orgchart .node.compact {
|
|
608
|
-
position: static;
|
|
609
711
|
display: grid;
|
|
610
712
|
width: 140px;
|
|
611
713
|
height: 50px;
|
|
@@ -613,7 +715,6 @@
|
|
|
613
715
|
}
|
|
614
716
|
|
|
615
717
|
.orgchart .node.compact.looseMode {
|
|
616
|
-
display: grid;
|
|
617
718
|
width: unset;
|
|
618
719
|
height: unset;
|
|
619
720
|
}
|
|
@@ -656,14 +757,14 @@
|
|
|
656
757
|
background-color: #eee;
|
|
657
758
|
}
|
|
658
759
|
|
|
659
|
-
.orgchart .node.compact::before {
|
|
760
|
+
/* .orgchart .node.compact::before {
|
|
660
761
|
top: var(--top-cross-point, -10px);
|
|
661
|
-
}
|
|
762
|
+
} */
|
|
662
763
|
|
|
663
764
|
.orgchart .node.compact > .content {
|
|
664
765
|
position: absolute;
|
|
665
|
-
top:
|
|
666
|
-
left:
|
|
766
|
+
top: 23px;
|
|
767
|
+
left: 3px;
|
|
667
768
|
}
|
|
668
769
|
|
|
669
770
|
.orgchart .node.compact.looseMode > .title {
|
|
@@ -672,8 +773,8 @@
|
|
|
672
773
|
}
|
|
673
774
|
|
|
674
775
|
.orgchart .node.compact.looseMode > .content {
|
|
675
|
-
top:
|
|
676
|
-
left:
|
|
776
|
+
top: 28px;
|
|
777
|
+
left: 8px;
|
|
677
778
|
}
|
|
678
779
|
|
|
679
780
|
.orgchart .node.compact > .node.compact.looseMode > .title {
|
|
@@ -706,33 +807,11 @@
|
|
|
706
807
|
|
|
707
808
|
.orgchart .node.compact > .backToCompactSymbol {
|
|
708
809
|
position: absolute;
|
|
709
|
-
top: 5px;
|
|
710
|
-
left: 5px;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.orgchart .node.compact.looseMode > .backToCompactSymbol {
|
|
714
|
-
top: 10px;
|
|
715
|
-
left: 10px;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.orgchart .node.compact > .node.compact.looseMode > .backToCompactSymbol {
|
|
719
810
|
top: 8px;
|
|
720
811
|
left: 8px;
|
|
721
812
|
}
|
|
722
813
|
|
|
723
|
-
.orgchart .node.compact > .node.compact > .backToCompactSymbol {
|
|
724
|
-
position: absolute;
|
|
725
|
-
top: 3px;
|
|
726
|
-
left: 3px;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
814
|
.orgchart .node.compact > .backToLooseSymbol {
|
|
730
|
-
position: absolute;
|
|
731
|
-
top: 25px;
|
|
732
|
-
right: 5px;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.orgchart .node.compact > .node.compact > .backToLooseSymbol {
|
|
736
815
|
position: absolute;
|
|
737
816
|
top: 23px;
|
|
738
817
|
right: 3px;
|
|
@@ -859,27 +938,11 @@
|
|
|
859
938
|
}
|
|
860
939
|
|
|
861
940
|
.oci-plus-square::before {
|
|
862
|
-
content: "
|
|
863
|
-
display: inline-block;
|
|
864
|
-
width: 16px;
|
|
865
|
-
height: 16px;
|
|
866
|
-
text-align: center;
|
|
867
|
-
line-height: 16px;
|
|
868
|
-
background-color: #000;
|
|
869
|
-
color: #fff;
|
|
870
|
-
font-weight: bold;
|
|
941
|
+
content: "";
|
|
871
942
|
}
|
|
872
943
|
|
|
873
944
|
.oci-minus-square::before {
|
|
874
|
-
content: "
|
|
875
|
-
display: inline-block;
|
|
876
|
-
width: 16px;
|
|
877
|
-
height: 16px;
|
|
878
|
-
text-align: center;
|
|
879
|
-
line-height: 16px;
|
|
880
|
-
background-color: #000;
|
|
881
|
-
color: #fff;
|
|
882
|
-
font-weight: bold;
|
|
945
|
+
content: "";
|
|
883
946
|
}
|
|
884
947
|
|
|
885
948
|
.oci-arrow-square-up::before {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.orgchart{box-sizing:border-box;display:inline-block;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:linear-gradient(to top,rgba(200,0,0,.15) 5%,rgba(0,0,0,0) 5%),linear-gradient(to right,rgba(200,0,0,.15) 5%,rgba(0,0,0,0) 5%),linear-gradient(to bottom,rgba(200,0,0,.15) 5%,rgba(0,0,0,0) 5%),linear-gradient(to left,rgba(200,0,0,.15) 5%,rgba(0,0,0,0) 5%);background-size:10px 10px;padding:20px 20px 0 20px}.orgchart .hidden,.orgchart~.hidden{display:none!important}.orgchart.b2t{transform:rotate(180deg)}.orgchart.l2r{position:absolute;transform:rotate(-90deg) rotateY(180deg);transform-origin:left top;text-align:center}.orgchart.r2l{position:absolute;transform:rotate(90deg);transform-origin:left top;text-align:center}.orgchart~.mask{position:sticky;width:100%;height:100%;top:0;right:0;bottom:0;left:0;z-index:999;text-align:center;background-color:rgba(0,0,0,.3)}.orgchart~.mask .spinner{position:absolute;top:calc(50% - 50px);left:calc(50% - 50px)}.orgchart>.spinner::before,.orgchart~.mask .spinner::before{width:100px;height:100px;border-width:10px;border-radius:50px;border-top-color:rgba(68,157,68,.8);border-bottom-color:rgba(68,157,68,.8);border-left-color:rgba(68,157,68,.8)}.orgchart .nodes{display:flex;list-style:none;padding-left:0;margin:0;justify-content:center}.orgchart-minimap{position:absolute;right:12px;bottom:12px;z-index:25;width:180px;height:120px;padding:8px;border:1px solid rgba(68,68,68,.18);border-radius:8px;background-color:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(0,0,0,.12);box-sizing:border-box}.orgchart-minimap-stage{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px;background-image:linear-gradient(rgba(68,68,68,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(68,68,68,.05) 1px,transparent 1px);background-size:10px 10px;background-color:#f9fbfc}.orgchart-minimap-content{position:absolute;top:0;left:0;pointer-events:none}.orgchart-minimap-node{position:absolute;min-width:6px;height:18px;border-radius:0;opacity:1;box-shadow:none}.orgchart-minimap .orgchart,.orgchart-minimap .orgchart .edge,.orgchart-minimap .orgchart .node,.orgchart-minimap .orgchart .nodes,.orgchart-minimap .orgchart .verticalNode,.orgchart-minimap .orgchart .verticalNodes,.orgchart-minimap .orgchart li,.orgchart-minimap .orgchart ul,.orgchart-minimap-node{pointer-events:none}.orgchart-minimap-viewport{position:absolute;top:0;left:0;min-width:12px;min-height:12px;border:2px solid rgba(28,111,197,.9);border-radius:4px;background-color:rgba(28,111,197,.12);box-shadow:0 0 0 1px rgba(255,255,255,.9),0 0 0 999px rgba(255,255,255,.12);box-sizing:border-box;cursor:move}.orgchart .hierarchy{position:relative}.orgchart .hierarchy::before{box-sizing:border-box;content:"";position:absolute;top:-11px;left:0;width:100%;border-color:rgba(217,83,79,.8);border-style:solid;border-width:2px 0 0 0}.orgchart .couple:first-child:not(:only-child)::before{width:calc(100% - 69px);left:69px}.orgchart .couple:last-child:not(:only-child)::before{width:calc(50% + 71px);left:0}.orgchart .hierarchy.couple:only-child::before{width:142px;left:calc(50% - 71px)}.orgchart .hierarchy.spouse:not(.couple)::after{content:"";position:absolute;border-top:2px solid rgba(217,83,79,.8);box-sizing:border-box;z-index:0;top:24px;width:var(--ft-width);left:var(--ft-left-offset)}.orgchart .couple{white-space:nowrap}.orgchart .couple:has(>.nodes)>.node:first-child::after{content:"";position:absolute;top:24px;left:calc(100% + 1px);width:2px;height:33px;background-color:rgba(217,83,79,.8)}.orgchart .couple::after{content:"";position:absolute;border-top:2px solid rgba(217,83,79,.8);box-sizing:border-box;z-index:0;top:24px;width:20px;left:calc(50% - 10px)}.orgchart .hierarchy.isSiblingsCollapsed.left-sibs::before,.orgchart .hierarchy:first-child::before{left:calc(50% - 1px);width:calc(50% + 1px)}.orgchart .hierarchy.isSiblingsCollapsed.right-sibs::before,.orgchart .hierarchy:last-child::before{width:calc(50% + 1px)}.orgchart .hierarchy:not(.hidden):not(.spouse):only-child::before{width:2px}.orgchart .hierarchy.isChildrenCollapsed:not(.couple)>.node:has(+.nodes)::after,.orgchart .isAncestorsCollapsed:only-child::before,.orgchart .isAncestorsCollapsed>.node:not(.outsider)::before,.orgchart .isCollapsedDescendant::before,.orgchart .isCollapsedDescendant>.node::after,.orgchart .isCollapsedDescendant>.node::before,.orgchart .isCollapsedSibling .hierarchy::before,.orgchart .isCollapsedSibling::before,.orgchart .isSiblingsCollapsed.left-sibs.right-sibs::before,.orgchart .isSiblingsCollapsed.left-sibs:last-child:before,.orgchart .isSiblingsCollapsed.right-sibs:first-child:before,.orgchart .isSiblingsCollapsed:not(.left-sibs):not(.right-sibs)::before,.orgchart>.nodes>.hierarchy::before{content:none}.orgchart .hierarchy:not(.couple)>.node:has(+.nodes)::after{content:"";position:absolute;bottom:-12px;left:calc(50% - 1px);width:2px;height:10px;background-color:rgba(217,83,79,.8)}.orgchart ul li .node.allowedDrop{border-color:rgba(68,157,68,.9)}.orgchart ul li .node.currentDropTarget{background-color:rgba(68,157,68,.9)}.orgchart ul li .node.selected{background-color:rgba(238,217,54,.5)}.orgchart ul li .node:hover{background-color:rgba(238,217,54,.5)}.orgchart>ul>li>ul li>.node::before{content:"";position:absolute;left:calc(50% - 1px);width:2px;background-color:rgba(217,83,79,.8);top:var(--top,-12px);height:var(--height,10px)}.orgchart>ul>li>ul li>.node.outsider::before{background-color:unset;background-image:repeating-linear-gradient(to bottom,rgba(217,83,79,.8) 0 2px,transparent 2px 4px);background-repeat:repeat-y}.orgchart>ul>li>ul .isSiblingsCollapsed>.node::before{top:var(--top-cross-point,-12px);height:var(--height-cross-point,10px)}.orgchart .node{box-sizing:border-box;display:inline-block;position:relative;margin:0 0 20px 0;padding:3px;border:2px dashed transparent;text-align:center;transition:transform .3s,opacity .3s;z-index:1}.orgchart.l2r .node,.orgchart.r2l .node{width:50px;height:140px}.orgchart .node:hover{background-color:rgba(238,217,54,.5);transition:.5s;cursor:default;z-index:2}.orgchart .node.focused{background-color:rgba(238,217,54,.5)}.orgchart .ghost-node{position:fixed;left:-10000px;top:-10000px}.orgchart .ghost-node rect{fill:#fff;stroke:#bf0000}.orgchart .node.allowedDrop{border-color:rgba(68,157,68,.9)}.orgchart .node>.spinner{position:absolute;top:calc(50% - 1rem);left:calc(50% - 1rem)}.orgchart .node>.spinner::before{width:2rem;height:2rem;border-width:.2rem;border-radius:1rem;border-top-color:rgba(68,157,68,.8);border-bottom-color:rgba(68,157,68,.8);border-left-color:rgba(68,157,68,.8)}.orgchart .node .title{box-sizing:border-box;width:130px;text-align:center;font-size:12px;font-weight:700;height:20px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:rgba(217,83,79,.8);color:#fff;border-radius:4px 4px 0 0}.orgchart.b2t .node .title{transform:rotate(-180deg);transform-origin:center bottom}.orgchart.l2r .node .title{transform:rotate(-90deg) translate(-45px,-45px) rotateY(180deg);transform-origin:bottom center}.orgchart.r2l .node .title{transform:rotate(-90deg) translate(-45px,-45px);transform-origin:bottom center}.orgchart .node .title .parentNodeSymbol{float:left}.orgchart .node .title .parentNodeSymbol::before{color:#fff}.orgchart .node .title .parentNodeSymbol::after{background-color:#fff}.orgchart .node .content{box-sizing:border-box;width:130px;height:20px;line-height:20px;font-size:10px;border:1px solid rgba(217,83,79,.8);border-width:0 1px 1px 1px;border-radius:0 0 .25rem .25rem;text-align:center;background-color:#fff;color:#333;text-overflow:ellipsis;white-space:nowrap}.orgchart.b2t .node .content{transform:rotate(180deg);transform-origin:center top}.orgchart.l2r .node .content{transform:rotate(-90deg) translate(-45px,-45px) rotateY(180deg);transform-origin:top center;width:130px}.orgchart.r2l .node .content{transform:rotate(-90deg) translate(-45px,-45px);transform-origin:top center;width:130px}.orgchart .node .edge{position:absolute;cursor:default;transition:.2s}.orgchart .node .edge::before{border-color:rgba(68,157,68,.5)}.orgchart.noncollapsable .node .edge{display:none}.orgchart .node .edge:hover{cursor:pointer}.orgchart .edge:hover::before{border-color:#449d44}.orgchart .node .verticalEdge{width:calc(100% - 6px);height:10px;left:3px}.orgchart .node .verticalEdge::before{position:absolute;left:calc(50% - 5px)}.orgchart .node .topEdge{top:-2px}.orgchart .node .topEdge.oci-chevron-up::before{top:2px}.orgchart .node .topEdge.oci-chevron-down::before{bottom:3px}.orgchart .node .bottomEdge{bottom:-2px}.orgchart .node .bottomEdge.oci-chevron-up::before{bottom:-3px}.orgchart .node .bottomEdge.oci-chevron-down::before{bottom:1px}.orgchart .node .horizontalEdge{width:10px;height:calc(100% - 6px);top:3px}.orgchart .node .rightEdge{right:-2px}.orgchart .node .leftEdge{left:-2px}.orgchart .node .horizontalEdge::before{position:absolute;top:calc(50% - 5px)}.orgchart .node .leftEdge.oci-chevron-right::before{left:-3px}.orgchart .node .leftEdge.oci-chevron-left::before{left:1px}.orgchart .node .rightEdge.oci-chevron-left::before{right:-3px}.orgchart .node .rightEdge.oci-chevron-right::before{right:1px}.orgchart .node .toggleBtn{position:absolute;left:-2px;bottom:-2px;width:16px;height:16px;visibility:hidden;background-color:rgba(68,157,68,.6)}.orgchart .node:hover .toggleBtn{visibility:visible}.orgchart .node .toggleBtn::before{content:"";position:absolute;left:3px;top:7px;box-sizing:border-box;width:10px;height:2px;border-radius:1px;background-color:#fff;display:none}.orgchart .node .toggleBtn:hover{background-color:#449d44}.orgchart .node .toggleBtn::after{content:"";position:absolute;left:7px;top:3px;width:2px;height:10px;border-radius:1px;background-color:#fff;display:none}.orgchart .node .toggleBtn.oci-plus-square::after,.orgchart .node .toggleBtn.oci-plus-square::before{display:block}.orgchart .node .toggleBtn.oci-minus-square::before{display:block}.orgchart .node .toggleBtn.oci-minus-square::after{display:none}.oc-export-btn{margin-left:.5rem;padding:.5rem 1rem}.orgchart .slide-down{opacity:0;transform:translateY(40px)}.orgchart.l2r .node.slide-down,.orgchart.r2l .node.slide-down{transform:translateY(130px)}.orgchart .slide-up{opacity:0;transform:translateY(-40px)}.orgchart.l2r .node.slide-up,.orgchart.r2l .node.slide-up{transform:translateY(-130px)}.orgchart .slide-right{opacity:0;transform:translateX(130px)}.orgchart.l2r .node.slide-right,.orgchart.r2l .node.slide-right{transform:translateX(40px)}.orgchart .slide-left{opacity:0;transform:translateX(-130px)}.orgchart.l2r .node.slide-left,.orgchart.r2l .node.slide-left{transform:translateX(-40px)}.orgchart .nodes.vertical{display:block;padding-left:10px}.orgchart .nodes.vertical .nodes{list-style:none;display:block;margin:0;padding-left:10px;text-align:left}.orgchart .nodes.vertical .node{margin-bottom:0}.orgchart .nodes.vertical .hierarchy .node::after,.orgchart .nodes.vertical .hierarchy .node::before{content:none}.orgchart .nodes.vertical .hierarchy{position:relative;text-align:left}.orgchart .nodes.vertical .hierarchy::after,.orgchart .nodes.vertical .hierarchy::before{box-sizing:border-box;content:'';position:absolute;left:-6px;width:11px;border-color:rgba(217,83,79,.8);border-style:solid}.orgchart .nodes.vertical .hierarchy::before{height:26px;top:0;border-width:0 0 2px 2px}.orgchart .nodes.vertical .hierarchy::after{height:calc(100% - 24px);bottom:0;border-width:0 0 0 2px}.orgchart .nodes.vertical .hierarchy:last-child::after{border-width:2px 0 0 0}.orgchart .nodes.vertical>.hierarchy:first-child::before{top:-11px;height:35px;width:calc(50% + 2px);border-width:2px 0 0 2px}.orgchart .nodes.vertical>.hierarchy:first-child::after{top:24px;border-width:2px 0 0 2px}.orgchart .nodes.vertical>.hierarchy:only-child::after{border-width:2px 0 0 0}.orgchart .node.compact{display:grid;width:140px;height:50px;background-color:#eee}.orgchart .node.compact.looseMode{width:unset;height:unset}.orgchart .node.compact>.node{display:none}.orgchart .node.compact.looseMode>.node{display:inline-block}.orgchart .node.compact>.node.compact{position:relative}.orgchart .node.compact>.node.compact.looseMode{display:grid}.orgchart .node.compact.even,.orgchart .node.compact.even:hover{background-color:#eee}.orgchart .node.compact.odd,.orgchart .node.compact.odd:hover{background-color:#fff}.orgchart .node.compact.even>.node.focused,.orgchart .node.compact.even>.node.selected,.orgchart .node.compact.even>.node:hover{background-color:#fff}.orgchart .node.compact.odd>.node.focused,.orgchart .node.compact.odd>.node.selected,.orgchart .node.compact.odd>.node:hover{background-color:#eee}.orgchart .node.compact>.content{position:absolute;top:23px;left:3px}.orgchart .node.compact.looseMode>.title{margin-top:5px;margin-left:5px}.orgchart .node.compact.looseMode>.content{top:28px;left:8px}.orgchart .node.compact>.node.compact.looseMode>.title{margin-top:5px;margin-left:5px}.orgchart .node.compact>.node.compact>.content{position:absolute;top:23px;left:3px}.orgchart .node.compact>.node.compact.looseMode>.content{top:28px;left:8px}.orgchart .node.compact .node{margin-bottom:0}.orgchart .node.compact .node:has(+.nodes)::after{content:unset}.orgchart .backToCompactSymbol,.orgchart .backToLooseSymbol{cursor:pointer}.orgchart .node.compact>.backToCompactSymbol{position:absolute;top:8px;left:8px}.orgchart .node.compact>.backToLooseSymbol{position:absolute;top:23px;right:3px}.orgchart .node.compact .backToCompactSymbol::before{border-top-color:rgba(68,157,68,.6)}.orgchart .node.compact .backToLooseSymbol::before{border-bottom-color:rgba(68,157,68,.6)}.orgchart .node.compact .backToCompactSymbol:hover::before{border-top-color:#449d44}.orgchart .node.compact .backToLooseSymbol:hover::before{border-bottom-color:#449d44}.oci{display:inline-block;position:relative;font-style:normal;font-family:Arial}.oci-menu::before{content:"≡";display:inline-block;width:1rem;height:1rem;text-align:center;line-height:1rem;color:#000;font-size:1rem}.oci-chevron-up::before{content:"";box-sizing:border-box;width:10px;height:10px;display:inline-block;border:3px solid #000;transform:rotate(45deg);border-right:unset;border-bottom:unset}.oci-chevron-down::before{content:"";box-sizing:border-box;width:10px;height:10px;display:inline-block;border:3px solid #000;transform:rotate(45deg);border-top:unset;border-left:unset}.oci-chevron-left::before{content:"";box-sizing:border-box;width:10px;height:10px;display:inline-block;border:3px solid #000;transform:rotate(45deg);border-top:unset;border-right:unset}.oci-chevron-right::before{content:"";box-sizing:border-box;width:10px;height:10px;display:inline-block;border:3px solid #000;transform:rotate(45deg);border-left:unset;border-bottom:unset}.oci-corner-top-left::before{content:"";display:inline-block;border-top:20px solid #000;border-right:20px solid transparent}.oci-corner-top-right::before{content:"";display:inline-block;box-sizing:border-box;width:0;height:0;border-top:20px solid #000;border-left:20px solid transparent}.oci-corner-bottom-right::before{content:"";display:inline-block;box-sizing:border-box;width:0;height:0;border-bottom:20px solid #000;border-left:20px solid transparent}.oci-corner-bottom-left::before{content:"";display:inline-block;box-sizing:border-box;width:0;height:0;border-bottom:20px solid #000;border-right:20px solid transparent}.oci-plus-square::before{content:""}.oci-minus-square::before{content:""}.oci-arrow-square-up::before{content:"⬆";display:inline-block;width:1rem;height:1rem;text-align:center;line-height:1rem;background-color:#000;color:#fff;font-weight:700}.oci-arrow-square-down::before{content:"⬇";display:inline-block;width:1rem;height:1rem;text-align:center;line-height:1rem;background-color:#000;color:#fff;font-weight:700}.oci-info-circle::before{content:"i";display:inline-block;width:1rem;height:1rem;border-radius:.5rem;background-color:#000;color:#fff;text-align:center;font-weight:700}.oci-spinner::before{content:"";vertical-align:text-bottom;display:inline-block;box-sizing:border-box;width:1rem;height:1rem;border:.1rem solid #000;border-right-color:transparent;border-radius:.625rem;animation:oci-infinite-spinning .75s linear infinite}@keyframes oci-infinite-spinning{from{transform:rotate(0)}to{transform:rotate(360deg)}}
|