balkan-orgchart-js-community 9.2.36 → 9.2.37
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/orgchart.d.mts +41 -0
- package/orgchart.d.ts +41 -0
- package/orgchart.js +8 -8
- package/orgchart.mjs +28 -28
- package/package.json +1 -1
package/orgchart.d.mts
CHANGED
|
@@ -5748,6 +5748,47 @@ declare namespace OrgChart {
|
|
|
5748
5748
|
scaleMax?: number,
|
|
5749
5749
|
|
|
5750
5750
|
|
|
5751
|
+
/**
|
|
5752
|
+
* Controls which related nodes are visually emphasized when hovering a node.
|
|
5753
|
+
*
|
|
5754
|
+
* This option helps users understand relationships in the chart by
|
|
5755
|
+
* automatically highlighting connected nodes while dimming unrelated ones.
|
|
5756
|
+
*
|
|
5757
|
+
* Available values:
|
|
5758
|
+
*
|
|
5759
|
+
* - `'parents'`
|
|
5760
|
+
* Highlights all ancestor nodes of the hovered node
|
|
5761
|
+
* (parent, grandparent, etc.).
|
|
5762
|
+
*
|
|
5763
|
+
* - `'children'`
|
|
5764
|
+
* Highlights all descendant nodes of the hovered node
|
|
5765
|
+
* (children, grandchildren, etc.).
|
|
5766
|
+
*
|
|
5767
|
+
* - `'none'`
|
|
5768
|
+
* Disables hover-based relationship highlighting.
|
|
5769
|
+
*
|
|
5770
|
+
* - `'sameLevel'`
|
|
5771
|
+
* Highlights nodes on the same hierarchy level as the hovered node
|
|
5772
|
+
* (siblings and other nodes in the same row/depth).
|
|
5773
|
+
*
|
|
5774
|
+
* - `'childrenAndParents'`
|
|
5775
|
+
* Highlights both ancestor and descendant nodes of the hovered node.
|
|
5776
|
+
*
|
|
5777
|
+
* @default 'none'
|
|
5778
|
+
*
|
|
5779
|
+
* @example
|
|
5780
|
+
* // Highlight managers above the hovered employee
|
|
5781
|
+
* highlightOnHover: 'parents'
|
|
5782
|
+
*
|
|
5783
|
+
* @example
|
|
5784
|
+
* // Highlight the hovered node's team below it
|
|
5785
|
+
* highlightOnHover: 'children'
|
|
5786
|
+
*
|
|
5787
|
+
* @example
|
|
5788
|
+
* // Highlight reporting chain in both directions
|
|
5789
|
+
* highlightOnHover: 'childrenAndParents'
|
|
5790
|
+
*/
|
|
5791
|
+
|
|
5751
5792
|
highlightOnHover?: 'parents' | 'children' | 'none' | 'sameLevel' | 'childrenAndParents',
|
|
5752
5793
|
|
|
5753
5794
|
|
package/orgchart.d.ts
CHANGED
|
@@ -5748,6 +5748,47 @@ declare namespace OrgChart {
|
|
|
5748
5748
|
scaleMax?: number,
|
|
5749
5749
|
|
|
5750
5750
|
|
|
5751
|
+
/**
|
|
5752
|
+
* Controls which related nodes are visually emphasized when hovering a node.
|
|
5753
|
+
*
|
|
5754
|
+
* This option helps users understand relationships in the chart by
|
|
5755
|
+
* automatically highlighting connected nodes while dimming unrelated ones.
|
|
5756
|
+
*
|
|
5757
|
+
* Available values:
|
|
5758
|
+
*
|
|
5759
|
+
* - `'parents'`
|
|
5760
|
+
* Highlights all ancestor nodes of the hovered node
|
|
5761
|
+
* (parent, grandparent, etc.).
|
|
5762
|
+
*
|
|
5763
|
+
* - `'children'`
|
|
5764
|
+
* Highlights all descendant nodes of the hovered node
|
|
5765
|
+
* (children, grandchildren, etc.).
|
|
5766
|
+
*
|
|
5767
|
+
* - `'none'`
|
|
5768
|
+
* Disables hover-based relationship highlighting.
|
|
5769
|
+
*
|
|
5770
|
+
* - `'sameLevel'`
|
|
5771
|
+
* Highlights nodes on the same hierarchy level as the hovered node
|
|
5772
|
+
* (siblings and other nodes in the same row/depth).
|
|
5773
|
+
*
|
|
5774
|
+
* - `'childrenAndParents'`
|
|
5775
|
+
* Highlights both ancestor and descendant nodes of the hovered node.
|
|
5776
|
+
*
|
|
5777
|
+
* @default 'none'
|
|
5778
|
+
*
|
|
5779
|
+
* @example
|
|
5780
|
+
* // Highlight managers above the hovered employee
|
|
5781
|
+
* highlightOnHover: 'parents'
|
|
5782
|
+
*
|
|
5783
|
+
* @example
|
|
5784
|
+
* // Highlight the hovered node's team below it
|
|
5785
|
+
* highlightOnHover: 'children'
|
|
5786
|
+
*
|
|
5787
|
+
* @example
|
|
5788
|
+
* // Highlight reporting chain in both directions
|
|
5789
|
+
* highlightOnHover: 'childrenAndParents'
|
|
5790
|
+
*/
|
|
5791
|
+
|
|
5751
5792
|
highlightOnHover?: 'parents' | 'children' | 'none' | 'sameLevel' | 'childrenAndParents',
|
|
5752
5793
|
|
|
5753
5794
|
|