@balkangraph/orgchart.js 8.19.45 → 8.20.0
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 +68 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1451,6 +1451,15 @@ declare class OrgChart {
|
|
|
1451
1451
|
*/
|
|
1452
1452
|
aiUI: OrgChart.aiUI;
|
|
1453
1453
|
|
|
1454
|
+
/**
|
|
1455
|
+
* The chart orgscribeUI object.
|
|
1456
|
+
* ```typescript
|
|
1457
|
+
* let chart = new OrgChart('#tree', {});
|
|
1458
|
+
* let orgscribeUI = chart.orgscribeUI;
|
|
1459
|
+
* ```
|
|
1460
|
+
*/
|
|
1461
|
+
orgscribeUI: OrgChart.orgscribeUI;
|
|
1462
|
+
|
|
1454
1463
|
/**
|
|
1455
1464
|
* The chart searchUI object.
|
|
1456
1465
|
* ```typescript
|
|
@@ -1753,6 +1762,7 @@ declare class OrgChart {
|
|
|
1753
1762
|
title: string
|
|
1754
1763
|
};
|
|
1755
1764
|
|
|
1765
|
+
|
|
1756
1766
|
/**
|
|
1757
1767
|
* Shows/hides lloading image. Usefull when export large data to pdf. You can override and show your own loading image.
|
|
1758
1768
|
*/
|
|
@@ -2099,6 +2109,19 @@ declare class OrgChart {
|
|
|
2099
2109
|
*/
|
|
2100
2110
|
static AI_SYSTEM_MESSAGES: Array<string>;
|
|
2101
2111
|
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* A string used for indentation of child nodes.
|
|
2115
|
+
* Each tree level increases the indentation by one repetition of this string.
|
|
2116
|
+
* Example: if offset = " ", then level 1 children are indented by " ",
|
|
2117
|
+
* level 2 by " ", and so on.
|
|
2118
|
+
* ```typescript
|
|
2119
|
+
* OrgChart.ORGSCRIBE_OFFSET = '-';
|
|
2120
|
+
* ```
|
|
2121
|
+
*/
|
|
2122
|
+
static ORGSCRIBE_OFFSET: Array<string>;
|
|
2123
|
+
|
|
2124
|
+
|
|
2102
2125
|
/**
|
|
2103
2126
|
* Hides the Edit Form when the chart is moved with pan
|
|
2104
2127
|
* ```typescript
|
|
@@ -2809,6 +2832,47 @@ declare namespace OrgChart {
|
|
|
2809
2832
|
isVisible(): boolean;
|
|
2810
2833
|
}
|
|
2811
2834
|
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* Orgscribe User Interface - Orgscribe like Markdown for orgcharts
|
|
2838
|
+
* ```typescript
|
|
2839
|
+
* let chart = new OrgChart("#tree", {});
|
|
2840
|
+
* chart.onInit(function(){
|
|
2841
|
+
* chart.orgscribeUIUI.show();
|
|
2842
|
+
* });
|
|
2843
|
+
* chart.load(nodes)
|
|
2844
|
+
* ```
|
|
2845
|
+
*/
|
|
2846
|
+
interface orgscribeUI {
|
|
2847
|
+
/**
|
|
2848
|
+
* The width of the orgscribe UI
|
|
2849
|
+
*/
|
|
2850
|
+
get width(): number;
|
|
2851
|
+
/**
|
|
2852
|
+
* Text area
|
|
2853
|
+
*/
|
|
2854
|
+
textAreaElement: HTMLInputElement;
|
|
2855
|
+
/**
|
|
2856
|
+
* Inits orgscribe ui
|
|
2857
|
+
* @param obj
|
|
2858
|
+
*/
|
|
2859
|
+
init(obj: OrgChart): void;
|
|
2860
|
+
/**
|
|
2861
|
+
* Shows the orgscribe form
|
|
2862
|
+
* @param dontFocus if true the imput will not be focused
|
|
2863
|
+
* @param dontAnim If true hsoe withput animation
|
|
2864
|
+
*/
|
|
2865
|
+
show(dontFocus?: boolean, dontAnim?: boolean): void;
|
|
2866
|
+
/**
|
|
2867
|
+
* Hides the orgscribe form
|
|
2868
|
+
*/
|
|
2869
|
+
hide(): void;
|
|
2870
|
+
/**
|
|
2871
|
+
* Returns true if the orgscribe UI is visible
|
|
2872
|
+
*/
|
|
2873
|
+
isVisible(): boolean;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2812
2876
|
interface searchUI {
|
|
2813
2877
|
/**
|
|
2814
2878
|
* @ignore
|
|
@@ -5241,6 +5305,10 @@ declare namespace OrgChart {
|
|
|
5241
5305
|
* @ignore
|
|
5242
5306
|
*/
|
|
5243
5307
|
aiUI?: OrgChart.aiUI,
|
|
5308
|
+
/**
|
|
5309
|
+
* @ignore
|
|
5310
|
+
*/
|
|
5311
|
+
orgscribeUI?: OrgChart.orgscribeUI,
|
|
5244
5312
|
/**
|
|
5245
5313
|
* @ignore
|
|
5246
5314
|
*/
|
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":"8.
|
|
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":"8.20.00"}
|