@balkangraph/orgchart.js 8.21.17 → 8.21.19

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
 
@@ -5374,12 +5396,13 @@ declare namespace OrgChart {
5374
5396
  * - OrgChart.match.height
5375
5397
  * - OrgChart.match.width
5376
5398
  * - OrgChart.match.boundary
5399
+ * - OrgChart.match.boundaryIfOutside
5377
5400
  * - [number]
5378
5401
  *
5379
5402
  * Default value - *1*
5380
5403
  * ```typescript
5381
5404
  * var chart = new OrgChart('#tree', {
5382
- * scaleInitial: OrgChart.match.boundary
5405
+ * scaleInitial: OrgChart.match.boundaryIfOutside
5383
5406
  * });
5384
5407
  * ```
5385
5408
  * {@link https://balkan.app/OrgChartJS/Docs/Layout | See doc...}
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.19"}