@balkangraph/orgchart.js 8.2.39 → 8.2.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 CHANGED
@@ -970,7 +970,13 @@ declare namespace OrgChart {
970
970
  [key: string]: {
971
971
  text: string,
972
972
  icon?: string,
973
- onClick?: Function,
973
+ onClick?: Function
974
+ }
975
+ }
976
+ interface circleMenu {
977
+ [key: string]: {
978
+ text: string,
979
+ icon?: string,
974
980
  color?: string,
975
981
  draggable?: boolean
976
982
  }
@@ -1288,7 +1294,7 @@ declare namespace OrgChart {
1288
1294
  * ```
1289
1295
  * {@link https://balkan.app/OrgChartJS/Docs/Menus | See doc...}
1290
1296
  */
1291
- nodeCircleMenu?: OrgChart.menu,
1297
+ nodeCircleMenu?: OrgChart.circleMenu,
1292
1298
  /**
1293
1299
  * Customizable context menu. Also you can define your own node operation.
1294
1300
  * ```typescript
@@ -1453,7 +1459,7 @@ declare namespace OrgChart {
1453
1459
  template?: "ana" | "ula" | "olivia" | "belinda" | "rony" | "mery" | "polina" | "mila" | "diva" | "luba" | "isla" | "deborah" | "base" | "group" | "invisibleGroup" | string,
1454
1460
  subLevels?: number,
1455
1461
  nodeMenu?: OrgChart.menu,
1456
- nodeCircleMenu?: OrgChart.menu,
1462
+ nodeCircleMenu?: OrgChart.circleMenu,
1457
1463
  nodeContextMenu?: OrgChart.menu,
1458
1464
  subTreeConfig?: {
1459
1465
  orientation?: OrgChart.orientation,