@balkangraph/orgchart.js 9.0.8 → 9.0.10

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
@@ -2624,27 +2624,34 @@ declare namespace OrgChart {
2624
2624
  * move the the node on y axis
2625
2625
  */
2626
2626
  movey?: number | undefined,
2627
- /**
2628
- * Pinned nodes at the top in TreeList layout, works with OrgChart.layout.
2629
- * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2630
- */
2631
- treeListPinnedIds?: Array<string | number> | undefined,
2632
- /**
2633
- * Gets the number of pixels by which the TreeList content is scrolled from its top edge.
2634
- * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2635
- */
2636
- treeListScrollTop?: number | undefined,
2637
- /**
2638
- * Gets the max number of pixels by which the TreeList content can be scrolled from its top edge.
2639
- * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2640
- */
2641
- treeListScrollTopMax?: number | undefined,
2627
+
2628
+ treeList?: {
2629
+ /**
2630
+ * Pinned nodes at the top in TreeList layout, works with OrgChart.layout.
2631
+ * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2632
+ */
2633
+ pinnedIds?: [],
2634
+ /**
2635
+ * Gets the number of pixels by which the TreeList content is scrolled from its top edge.
2636
+ * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2637
+ */
2638
+ scrollTop?: number,
2639
+ /**
2640
+ * Gets the max number of pixels by which the TreeList content can be scrolled from its top edge.
2641
+ * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts.
2642
+ */
2643
+ scrollTopMax?: number,
2644
+ /**
2645
+ * Max height, comes from the template treeListMaxHeight
2646
+ */
2647
+ maxHeight?: number
2648
+ }
2642
2649
 
2643
2650
  /**
2644
2651
  * Gets the type of the tree grid, foxed or auto.
2645
2652
  * By default is undefined it is initialized only with OrgChart.layout.treeList lyouts
2646
2653
  */
2647
- isTreeList?: boolean | undefined
2654
+ isTreeListItem?: boolean | undefined
2648
2655
  }
2649
2656
 
2650
2657
  /**
@@ -2876,6 +2883,16 @@ declare namespace OrgChart {
2876
2883
  */
2877
2884
  min?: OrgChart.template,
2878
2885
 
2886
+
2887
+ /**
2888
+ * Max height if the layout is tree list
2889
+ * ```typescript
2890
+ * OrgChart.templates.myTemplate.treeListMaxHeight = 450;
2891
+ * ```
2892
+ */
2893
+ treeListMaxHeight?: number,
2894
+
2895
+
2879
2896
  /**
2880
2897
  * A custom field definition
2881
2898
  * ```typescript
@@ -4386,7 +4403,7 @@ declare namespace OrgChart {
4386
4403
  */
4387
4404
  grid,
4388
4405
  /**
4389
- * Tree grid layout with fixed height of the group node
4406
+ * Tree list layout with fixed height of the group node
4390
4407
  * ```typescript
4391
4408
  * let chart = new OrgChart('#tree', {
4392
4409
  * tags: {
@@ -4400,7 +4417,7 @@ declare namespace OrgChart {
4400
4417
  * }
4401
4418
  * });
4402
4419
  * ```
4403
- * [See grid doc page for more details][https://balkan.app/OrgChartJS/Docs/Layout#treeList]
4420
+ * [See tree list doc page for more details][https://balkan.app/OrgChartJS/Docs/Layout#treeList]
4404
4421
  */
4405
4422
  treeList
4406
4423
  }
@@ -5424,6 +5441,7 @@ declare namespace OrgChart {
5424
5441
  * - OrgChart.layout.treeLeft
5425
5442
  * - OrgChart.layout.treeRight
5426
5443
  * - OrgChart.layout.grid
5444
+ * - OrgChart.layout.gridList
5427
5445
  *
5428
5446
  * Default value - *OrgChart.layout.normal*
5429
5447
  * ```typescript
package/orgchart.js CHANGED
@@ -1 +1 @@
1
- /* eslint-disable */
1
+ /* eslint-disable */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.08"}
1
+ {"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.10"}