@balkangraph/orgchart.js 8.19.38 → 8.19.39
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 +20 -45
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1286,7 +1286,7 @@ declare class OrgChart {
|
|
|
1286
1286
|
* ```typescript
|
|
1287
1287
|
* let chart = new OrgChart('#tree', {});
|
|
1288
1288
|
* chart.onExportStart(() => {
|
|
1289
|
-
* args.styles += '<link href="
|
|
1289
|
+
* args.styles += '<link href="[link to my styles]" rel="stylesheet">';
|
|
1290
1290
|
* //return false; to cancel the operation
|
|
1291
1291
|
* });
|
|
1292
1292
|
* chart.load(nodes);
|
|
@@ -1294,50 +1294,25 @@ declare class OrgChart {
|
|
|
1294
1294
|
* @category Event Listeners
|
|
1295
1295
|
* @param listener
|
|
1296
1296
|
*/
|
|
1297
|
-
onExportStart(listener: (this: OrgChart, args:
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
styles: string,
|
|
1317
|
-
/**
|
|
1318
|
-
* an object that discribes pages to be exported
|
|
1319
|
-
*
|
|
1320
|
-
* this property is initialized only for PDF/PNG exports
|
|
1321
|
-
*/
|
|
1322
|
-
pages: any,
|
|
1323
|
-
/**
|
|
1324
|
-
* extension
|
|
1325
|
-
*
|
|
1326
|
-
* this property is initialized only for CSV/XML
|
|
1327
|
-
*/
|
|
1328
|
-
ext: string,
|
|
1329
|
-
/**
|
|
1330
|
-
* filename, you can change the filename here
|
|
1331
|
-
*
|
|
1332
|
-
* this property is initialized only for CSV/XML exports
|
|
1333
|
-
*/
|
|
1334
|
-
filename: string,
|
|
1335
|
-
/**
|
|
1336
|
-
* array of node objects
|
|
1337
|
-
*
|
|
1338
|
-
* this property is initialized only for CSV/XML exports
|
|
1339
|
-
*/
|
|
1340
|
-
nodes: Array<object>
|
|
1297
|
+
onExportStart(listener: (this: OrgChart, args: {
|
|
1298
|
+
options: {
|
|
1299
|
+
childLevels?: number,
|
|
1300
|
+
expandChildren?: boolean,
|
|
1301
|
+
fileName?: string,
|
|
1302
|
+
footer?: string,
|
|
1303
|
+
header?: string,
|
|
1304
|
+
height?: number,
|
|
1305
|
+
width?: number,
|
|
1306
|
+
landscape?: boolean,
|
|
1307
|
+
margin?: Array<number>,
|
|
1308
|
+
min?: boolean,
|
|
1309
|
+
openInNewTab?: boolean,
|
|
1310
|
+
padding?: number,
|
|
1311
|
+
parentLevels?: number,
|
|
1312
|
+
styles?: string,
|
|
1313
|
+
type?: string,
|
|
1314
|
+
pages?: Array<SVGElement>
|
|
1315
|
+
}
|
|
1341
1316
|
}) => void): OrgChart;
|
|
1342
1317
|
|
|
1343
1318
|
/**
|
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.19.
|
|
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.19.39"}
|