@balkangraph/orgchart.js 8.21.17 → 8.21.18

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
@@ -791,6 +791,18 @@ declare class OrgChart {
791
791
  * @param callback called when the animation completes
792
792
  */
793
793
  fit(callback?: () => void): void;
794
+
795
+ /**
796
+ * Fits the content to the visible area if it is ouside of the visible area.
797
+ * ```typescript
798
+ * let chart = new OrgChart('#tree', {});
799
+ * ...
800
+ * chart.fitOfOutside();
801
+ * ```
802
+ * @param callback called when the animation completes
803
+ */
804
+ fitIfOutside(callback?: () => void): void;
805
+
794
806
  /**
795
807
  * Toggles full screen mode.
796
808
  * ```typescript
@@ -4430,7 +4442,17 @@ declare namespace OrgChart {
4430
4442
  * });
4431
4443
  * ```
4432
4444
  */
4433
- boundary
4445
+ boundary,
4446
+
4447
+ /**
4448
+ * Match boundary if outside of the visible area
4449
+ * ```typescript
4450
+ * let chart = new OrgChart('#tree', {
4451
+ * scaleInitial: OrgChart.match.boundaryIfOutside
4452
+ * });
4453
+ * ```
4454
+ */
4455
+ boundaryIfOutside
4434
4456
  }
4435
4457
 
4436
4458
 
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.21.17"}
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.21.18"}