@balkangraph/orgchart.js 8.21.30 → 9.0.3
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 +59 -8
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -2222,6 +2222,18 @@ declare class OrgChart {
|
|
|
2222
2222
|
*/
|
|
2223
2223
|
static ORGSCRIBE_OFFSET: Array<string>;
|
|
2224
2224
|
|
|
2225
|
+
/**
|
|
2226
|
+
* The scroll step in TreeGrid layout OrgChart.layout.treeGrid
|
|
2227
|
+
*/
|
|
2228
|
+
static TREEGRID_WHEEL_STEP: string;
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* The width on pixels of the scroll bar in TreeGrid layout OrgChart.layout.treeGrid
|
|
2233
|
+
*/
|
|
2234
|
+
static TREEGRID_SCROLLBAR_WIDTH: number;
|
|
2235
|
+
|
|
2236
|
+
|
|
2225
2237
|
|
|
2226
2238
|
/**
|
|
2227
2239
|
* Hides the Edit Form when the chart is moved with pan
|
|
@@ -2611,7 +2623,28 @@ declare namespace OrgChart {
|
|
|
2611
2623
|
/**
|
|
2612
2624
|
* move the the node on y axis
|
|
2613
2625
|
*/
|
|
2614
|
-
movey?: number | undefined
|
|
2626
|
+
movey?: number | undefined,
|
|
2627
|
+
/**
|
|
2628
|
+
* Pinned nodes at the top in TreeGrid layout, works with OrgChart.layout.
|
|
2629
|
+
* By default is undefined it is initialized only with OrgChart.layout.treeGrid lyouts.
|
|
2630
|
+
*/
|
|
2631
|
+
treeGridPinnedIds?: Array<string | number> | undefined,
|
|
2632
|
+
/**
|
|
2633
|
+
* Gets the number of pixels by which the TreeGrid content is scrolled from its top edge.
|
|
2634
|
+
* By default is undefined it is initialized only with OrgChart.layout.treeGrid lyouts.
|
|
2635
|
+
*/
|
|
2636
|
+
treeGridScrollTop?: number | undefined,
|
|
2637
|
+
/**
|
|
2638
|
+
* Gets the max number of pixels by which the TreeGrid content can be scrolled from its top edge.
|
|
2639
|
+
* By default is undefined it is initialized only with OrgChart.layout.treeGrid lyouts.
|
|
2640
|
+
*/
|
|
2641
|
+
treeGridScrollTopMax?: number | undefined,
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* Gets the type of the tree grid, foxed or auto.
|
|
2645
|
+
* By default is undefined it is initialized only with OrgChart.layout.treeGrid lyouts
|
|
2646
|
+
*/
|
|
2647
|
+
isTreeGrid?: boolean | undefined
|
|
2615
2648
|
}
|
|
2616
2649
|
|
|
2617
2650
|
/**
|
|
@@ -4351,7 +4384,25 @@ declare namespace OrgChart {
|
|
|
4351
4384
|
* ```
|
|
4352
4385
|
* [See grid doc page for more details][https://balkan.app/OrgChartJS/Docs/Layout#grid]
|
|
4353
4386
|
*/
|
|
4354
|
-
grid
|
|
4387
|
+
grid,
|
|
4388
|
+
/**
|
|
4389
|
+
* Tree grid layout with fixed height of the group node
|
|
4390
|
+
* ```typescript
|
|
4391
|
+
* let chart = new OrgChart('#tree', {
|
|
4392
|
+
* tags: {
|
|
4393
|
+
* treeGridGroupTag: {
|
|
4394
|
+
* template: 'treeGrid',
|
|
4395
|
+
* subTreeConfig: {
|
|
4396
|
+
* template: 'treeGrid',
|
|
4397
|
+
* layout: OrgChart.layout.treeGrid
|
|
4398
|
+
* }
|
|
4399
|
+
* }
|
|
4400
|
+
* }
|
|
4401
|
+
* });
|
|
4402
|
+
* ```
|
|
4403
|
+
* [See grid doc page for more details][https://balkan.app/OrgChartJS/Docs/Layout#treeGrid]
|
|
4404
|
+
*/
|
|
4405
|
+
treeGrid
|
|
4355
4406
|
}
|
|
4356
4407
|
|
|
4357
4408
|
/**
|
|
@@ -5039,7 +5090,7 @@ declare namespace OrgChart {
|
|
|
5039
5090
|
* ```
|
|
5040
5091
|
* {@link https://balkan.app/OrgChartJS/Docs/PredefinedTemplates | See doc...}
|
|
5041
5092
|
*/
|
|
5042
|
-
template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | string,
|
|
5093
|
+
template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | "treeGrid" | "treeGridGroup" | string,
|
|
5043
5094
|
/**
|
|
5044
5095
|
* With tags option you can:
|
|
5045
5096
|
* - Set a specific template for tagged node/s {@link https://balkan.app/OrgChartJS/Docs/MultipleTemplates | See doc...}
|
|
@@ -5061,7 +5112,7 @@ declare namespace OrgChart {
|
|
|
5061
5112
|
*/
|
|
5062
5113
|
tags?: {
|
|
5063
5114
|
[key: string]: {
|
|
5064
|
-
template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | string,
|
|
5115
|
+
template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | "treeGrid" | "treeGridGroup" | string,
|
|
5065
5116
|
subLevels?: number,
|
|
5066
5117
|
nodeMenu?: OrgChart.menu,
|
|
5067
5118
|
nodeCircleMenu?: OrgChart.circleMenu,
|
|
@@ -5078,7 +5129,8 @@ declare namespace OrgChart {
|
|
|
5078
5129
|
collapse?: {
|
|
5079
5130
|
level?: number,
|
|
5080
5131
|
allChildren?: boolean
|
|
5081
|
-
}
|
|
5132
|
+
},
|
|
5133
|
+
template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | "treeGrid" | "treeGridGroup" | string
|
|
5082
5134
|
}
|
|
5083
5135
|
};
|
|
5084
5136
|
},
|
|
@@ -5745,12 +5797,11 @@ declare namespace OrgChart {
|
|
|
5745
5797
|
lonely(config: Object): string;
|
|
5746
5798
|
pointer(config: Object, action: OrgChart.action, scale: number): string;
|
|
5747
5799
|
node(node: OrgChart.node, data: Object, animations: OrgChart.anim, config: Object, x: number | undefined, y: number | undefined, nodeBinding: Object | undefined, action: OrgChart.action, scale: number, sender: Object): string;
|
|
5748
|
-
nodeBtns(config: Object, node: OrgChart.node, action: OrgChart.action, t: Object, sender: Object): string;
|
|
5749
|
-
expandCollapseBtn(chart: OrgChart, node: OrgChart.node, layoutConfigs: any, action: OrgChart.action, scale: number): string;
|
|
5800
|
+
nodeBtns(config: Object, node: OrgChart.node, data: Object, action: OrgChart.action, t: Object, sender: Object): string;
|
|
5801
|
+
expandCollapseBtn(chart: OrgChart, node: OrgChart.node, data: Object, config: Object, layoutConfigs: any, action: OrgChart.action, scale: number): string;
|
|
5750
5802
|
link(node: OrgChart.node, obj: Object, scale: number, bordersByRootIdAndLevel: Object, nodes: Object, action: OrgChart.action): Array<string>;
|
|
5751
5803
|
svg(width: number, height: number, viewBox: Array<number>, config: Object, content: string, scale: number): string;
|
|
5752
5804
|
menuButton(config: Object): string;
|
|
5753
|
-
|
|
5754
5805
|
};
|
|
5755
5806
|
|
|
5756
5807
|
/**
|
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":"
|
|
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.03"}
|