@balkangraph/orgchart.js 8.14.96 → 8.14.98

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
@@ -1770,6 +1770,12 @@ declare class OrgChart {
1770
1770
  * @ignore
1771
1771
  */
1772
1772
  static IT_IS_LONELY_HERE: string;
1773
+ /**
1774
+ * The text that we have if the chart is empty.
1775
+ * ```TypeScript
1776
+ * OrgChart.IT_IS_LONELY_HERE_LINK = "Click here to add your first node"
1777
+ * ```
1778
+ */
1773
1779
  static IT_IS_LONELY_HERE_LINK: string;
1774
1780
  /**
1775
1781
  * @ignore
@@ -1792,15 +1798,24 @@ declare class OrgChart {
1792
1798
  static STRING_TAGS: boolean;
1793
1799
  /**
1794
1800
  * Search placeholder
1801
+ * ```TypeScript
1802
+ * OrgChart.SEARCH_PLACEHOLDER = "Chercher"; // the default value is "Search"
1803
+ * ```
1795
1804
  */
1796
1805
  static SEARCH_PLACEHOLDER: string;
1797
1806
  /**
1798
1807
  * Search help symbol.
1808
+ * ```TypeScript
1809
+ * OrgChart.SEARCH_HELP_SYMBOL = "help";
1810
+ * ```
1799
1811
  */
1800
1812
  static SEARCH_HELP_SYMBOL: string;
1801
1813
 
1802
1814
  /**
1803
1815
  * Close search result list by click outside list and clean search input
1816
+ * ```TypeScript
1817
+ * OrgChart.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE = true; // default value is false
1818
+ * ```
1804
1819
  */
1805
1820
  static SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE: boolean;
1806
1821
  /**
@@ -1872,6 +1887,9 @@ declare class OrgChart {
1872
1887
 
1873
1888
  /**
1874
1889
  * Hides the Edit Form when the chart is moved with pan
1890
+ * ```typescript
1891
+ * OrgChart.HIDE_EDIT_FORM_ON_PAN = false; // the default value is true
1892
+ * ```
1875
1893
  */
1876
1894
  static HIDE_EDIT_FORM_ON_PAN: boolean;
1877
1895
 
@@ -1897,6 +1915,9 @@ declare class OrgChart {
1897
1915
  static EDITFORM_CLOSE_BTN: string;
1898
1916
  /**
1899
1917
  * Escape HTML to prevent Cross-site scripting (also known as XSS) attacks
1918
+ * ```typescript
1919
+ * OrgChart.ESCAPE_HTML = true; // the default value is false
1920
+ * ```
1900
1921
  */
1901
1922
  static ESCAPE_HTML: boolean;
1902
1923
 
@@ -1918,6 +1939,10 @@ declare class OrgChart {
1918
1939
 
1919
1940
  /**
1920
1941
  * Reset movable nodes to its original position when expand or collapse
1942
+ * Works with *movable nodes* functionality
1943
+ * ```typescript
1944
+ * OrgChart.RESET_MOVABLE_ONEXPANDCOLLAPSE = true;
1945
+ * ```
1921
1946
  */
1922
1947
  static RESET_MOVABLE_ONEXPANDCOLLAPSE: boolean;
1923
1948