balkan-orgchart-js-community 9.2.34 → 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 +47 -0
- package/orgchart.d.ts +47 -0
- package/orgchart.js +9 -9
- package/orgchart.mjs +28 -44
- package/package.json +1 -1
package/orgchart.d.mts
CHANGED
|
@@ -5746,6 +5746,53 @@ declare namespace OrgChart {
|
|
|
5746
5746
|
* ```
|
|
5747
5747
|
*/
|
|
5748
5748
|
scaleMax?: number,
|
|
5749
|
+
|
|
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
|
+
|
|
5792
|
+
highlightOnHover?: 'parents' | 'children' | 'none' | 'sameLevel' | 'childrenAndParents',
|
|
5793
|
+
|
|
5794
|
+
|
|
5795
|
+
|
|
5749
5796
|
/**
|
|
5750
5797
|
* The orderBy option is used to sort the nodes in ascending order by specified field. The default order is by nodes order in the nodes array. Default value - *null*
|
|
5751
5798
|
* ```typescript
|
package/orgchart.d.ts
CHANGED
|
@@ -5746,6 +5746,53 @@ declare namespace OrgChart {
|
|
|
5746
5746
|
* ```
|
|
5747
5747
|
*/
|
|
5748
5748
|
scaleMax?: number,
|
|
5749
|
+
|
|
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
|
+
|
|
5792
|
+
highlightOnHover?: 'parents' | 'children' | 'none' | 'sameLevel' | 'childrenAndParents',
|
|
5793
|
+
|
|
5794
|
+
|
|
5795
|
+
|
|
5749
5796
|
/**
|
|
5750
5797
|
* The orderBy option is used to sort the nodes in ascending order by specified field. The default order is by nodes order in the nodes array. Default value - *null*
|
|
5751
5798
|
* ```typescript
|