@balkangraph/orgchart.js 8.16.25 → 8.17.0

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
@@ -84,6 +84,12 @@ declare class OrgChart {
84
84
  * ```
85
85
  */
86
86
  excel: (w: string| number, h: string| number, c: string| number) => string,
87
+ /**
88
+ * ```typescript
89
+ * let powerpointIcon = OrgChart.icon.powerpoint(24, 24, "#7A7A7A");
90
+ * ```
91
+ */
92
+ powerpoint: (w: string| number, h: string| number, c: string| number) => string,
87
93
  /**
88
94
  * ```typescript
89
95
  * let editIcon = OrgChart.icon.edit(24, 24, "#7A7A7A");
@@ -1024,6 +1030,34 @@ declare class OrgChart {
1024
1030
  * {@link https://balkan.app/OrgChartJS/Docs/Exporting | See doc...}
1025
1031
  */
1026
1032
  exportVisio(options?: OrgChart.exportOptions, callback?: () => void): void;
1033
+ exportToPowerPoint(options?: {
1034
+ openInNewTab?: boolean,
1035
+ landscape?: boolean,
1036
+ filename?: string,
1037
+ // width?: number,
1038
+ // height?: number,
1039
+ padding?: number,
1040
+ margin?: Array<number>,
1041
+ nodeId?: number | string,
1042
+ expandChildren?: boolean,
1043
+ childLevels?: boolean,
1044
+ parentLevels?: boolean,
1045
+ min?: boolean,
1046
+ pages?: {
1047
+ chartInstance?: OrgChart,
1048
+ nodeId?: number | string,
1049
+ expandChildren?: boolean,
1050
+ childLevels?: boolean,
1051
+ parentLevels?: boolean,
1052
+ min?: boolean,
1053
+ header?: string,
1054
+ footer?: string
1055
+ },
1056
+ format?: "Screen" | "Widescreen" | "Standard" | "A1" | "A2" | "A3" | "A4" | "A5" | "A4" | "Letter" | "Legal",
1057
+ header?: string,
1058
+ footer?: string
1059
+ }, callback?: () => void): void;
1060
+
1027
1061
  /**
1028
1062
  * Imports CSV file.
1029
1063
  * ```typescript
@@ -2643,7 +2677,7 @@ declare namespace OrgChart {
2643
2677
  pointer?: string,
2644
2678
 
2645
2679
  /**
2646
- * Node definition - A string that should contain SVG markup.
2680
+ * Node definition - A string that should contains SVG markup.
2647
2681
  * ```typescript
2648
2682
  * OrgChart.templates.myTemplate.node =
2649
2683
  * `<rect x="0" y="0" height="{h}" width="{w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="7" ry="7"></rect>`;
@@ -3651,6 +3685,9 @@ declare namespace OrgChart {
3651
3685
  nodeId? : number | string
3652
3686
  }
3653
3687
 
3688
+
3689
+
3690
+
3654
3691
  /**
3655
3692
  * Exports to CSV, XML or JSON options
3656
3693
  * ```typescript
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.16.25"}
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.17.00"}