@balkangraph/orgchart.js 8.13.36 → 8.14.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.
package/orgchart.d.ts CHANGED
@@ -1481,7 +1481,8 @@ declare namespace OrgChart {
1481
1481
  treeLeftOffset,
1482
1482
  treeRightOffset,
1483
1483
  treeLeft,
1484
- treeRight
1484
+ treeRight,
1485
+ grid
1485
1486
  }
1486
1487
 
1487
1488
  enum align {
@@ -1516,7 +1517,8 @@ declare namespace OrgChart {
1516
1517
 
1517
1518
  enum movable {
1518
1519
  node,
1519
- tree
1520
+ tree,
1521
+ detachTree
1520
1522
  }
1521
1523
 
1522
1524
 
@@ -2128,6 +2130,7 @@ declare namespace OrgChart {
2128
2130
  * - OrgChart.layout.treeRightOffset
2129
2131
  * - OrgChart.layout.treeLeft
2130
2132
  * - OrgChart.layout.treeRight
2133
+ * - OrgChart.layout.grid
2131
2134
  *
2132
2135
  * Default value - *OrgChart.layout.normal*
2133
2136
  * ```typescript
@@ -2137,6 +2140,11 @@ declare namespace OrgChart {
2137
2140
  * ```
2138
2141
  */
2139
2142
  layout?: OrgChart.layout | number,
2143
+ /**
2144
+ * Sets the maximum number of columns in grid layout, it has to be even nymber or 'dynamic' string
2145
+ * The default id 'dynamic', that means that the maximum colomn numbers are dinamicly calculated
2146
+ */
2147
+ layoutGridColumns?: string | number,
2140
2148
  /**
2141
2149
  * The scale factor determines what fraction of the entire scale is visible at one time.
2142
2150
  * - OrgChart.match.height