@balkangraph/orgchart.js 9.0.44 → 9.0.47
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 +3 -13
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1732,19 +1732,9 @@ declare class OrgChart {
|
|
|
1732
1732
|
*
|
|
1733
1733
|
* The method measures the provided value and inserts line breaks so the text
|
|
1734
1734
|
* fits inside the specified width. If the text exceeds the allowed number of
|
|
1735
|
-
* lines, it will be truncated according to the internal wrapping rules.
|
|
1736
|
-
*
|
|
1737
|
-
* See [Text Overflow](https://balkan.app/OrgChartJS/Docs/TextOverflow) doc page for more details
|
|
1738
|
-
* ```typescript
|
|
1739
|
-
* let chart = new OrgChart('#tree', {});
|
|
1740
|
-
* chart.onField(function (args) {
|
|
1741
|
-
* var val = OrgChart.wrapText(args.value, OrgChart.templates.ana.field_1)
|
|
1742
|
-
* args.value = val;
|
|
1743
|
-
* });
|
|
1744
|
-
* chart.load(nodes);
|
|
1745
|
-
* ```
|
|
1735
|
+
* lines, it will be truncated according to the internal wrapping rules.
|
|
1746
1736
|
*/
|
|
1747
|
-
static wrapText(value: Object, svgElementAsSring: string, width?: number, lines
|
|
1737
|
+
static wrapText(value: Object, svgElementAsSring: string, width?: number, lines?: number): string;
|
|
1748
1738
|
|
|
1749
1739
|
static filterUI: {
|
|
1750
1740
|
/**
|
|
@@ -2294,7 +2284,7 @@ interface nodeData {
|
|
|
2294
2284
|
/**
|
|
2295
2285
|
* the subtree parent id
|
|
2296
2286
|
*/
|
|
2297
|
-
|
|
2287
|
+
stpid?: number | string,
|
|
2298
2288
|
|
|
2299
2289
|
/**
|
|
2300
2290
|
* Set custom configuration for the tagged node
|
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.
|
|
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.47"}
|