@balkangraph/orgchart.js 8.19.38 → 8.19.40
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 +36 -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,41 @@ 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
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
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
|
+
type?: string,
|
|
1313
|
+
pages?: Array<{
|
|
1314
|
+
chartInstance?: OrgChart,
|
|
1315
|
+
childLevels?: number,
|
|
1316
|
+
expandChildren?: boolean,
|
|
1317
|
+
footer?: string,
|
|
1318
|
+
header?: string,
|
|
1319
|
+
margin?: Array<number>,
|
|
1320
|
+
min?: boolean,
|
|
1321
|
+
padding?: number,
|
|
1322
|
+
parentLevels?: number,
|
|
1323
|
+
isProfile?: boolean,
|
|
1324
|
+
nodeId?: number | string,
|
|
1325
|
+
content?: string,
|
|
1326
|
+
height?: number,
|
|
1327
|
+
width?: number,
|
|
1328
|
+
}>
|
|
1329
|
+
},
|
|
1330
|
+
pages?: Array<SVGElement>,
|
|
1331
|
+
styles?: string
|
|
1341
1332
|
}) => void): OrgChart;
|
|
1342
1333
|
|
|
1343
1334
|
/**
|
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.40"}
|