@balkangraph/orgchart.js 9.0.23 → 9.0.24
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 +2 -47
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -1223,44 +1223,7 @@ declare class OrgChart {
|
|
|
1223
1223
|
redoStepsCount(): number;
|
|
1224
1224
|
|
|
1225
1225
|
|
|
1226
|
-
|
|
1227
|
-
* The onField() method of the OrgChart class sets up a function that will be called whenever the specified event is delivered to the target.
|
|
1228
|
-
* ```typescript
|
|
1229
|
-
* let chart = new OrgChart('#tree', {});
|
|
1230
|
-
* chart.onField((args) => {
|
|
1231
|
-
* //return false; to cancel
|
|
1232
|
-
* });
|
|
1233
|
-
* chart.load(nodes);
|
|
1234
|
-
* ```
|
|
1235
|
-
* @category Event Listeners
|
|
1236
|
-
* @param listener
|
|
1237
|
-
*/
|
|
1238
|
-
onField(listener: (this: OrgChart, args: {
|
|
1239
|
-
/**
|
|
1240
|
-
* the node
|
|
1241
|
-
*/
|
|
1242
|
-
node: OrgChart.node,
|
|
1243
|
-
/**
|
|
1244
|
-
* node data json object
|
|
1245
|
-
*/
|
|
1246
|
-
data: object,
|
|
1247
|
-
/**
|
|
1248
|
-
* value of the filed, can be changed in the event
|
|
1249
|
-
*/
|
|
1250
|
-
value: any,
|
|
1251
|
-
/**
|
|
1252
|
-
* svg or html element of the filed, can be changed in the event
|
|
1253
|
-
*/
|
|
1254
|
-
element: string,
|
|
1255
|
-
/**
|
|
1256
|
-
* name of the field
|
|
1257
|
-
*/
|
|
1258
|
-
name: string
|
|
1259
|
-
/**
|
|
1260
|
-
* field template name
|
|
1261
|
-
*/
|
|
1262
|
-
field: string
|
|
1263
|
-
}) => void | boolean): OrgChart;
|
|
1226
|
+
|
|
1264
1227
|
|
|
1265
1228
|
/**
|
|
1266
1229
|
* Occurs when the nodes in OrgChart has been created and loaded to the DOM.
|
|
@@ -4958,15 +4921,7 @@ declare namespace OrgChart {
|
|
|
4958
4921
|
* ```
|
|
4959
4922
|
*/
|
|
4960
4923
|
toolbar?: OrgChart.toolbar,
|
|
4961
|
-
|
|
4962
|
-
* Stops the chart locking to the top of the screen once you move it.
|
|
4963
|
-
* ```typescript
|
|
4964
|
-
* var chart = new OrgChart('#tree', {
|
|
4965
|
-
* sticky: false
|
|
4966
|
-
* });
|
|
4967
|
-
* ```
|
|
4968
|
-
*/
|
|
4969
|
-
sticky?: boolean,
|
|
4924
|
+
|
|
4970
4925
|
/**
|
|
4971
4926
|
* nodeMouseClick can accept the following values:
|
|
4972
4927
|
* - OrgChart.action.edit - will open the edit view for the clicked node on the right hand side
|
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.24"}
|