@balkangraph/orgchart.js 8.14.93 → 8.14.95

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
@@ -1672,12 +1672,14 @@ declare class OrgChart {
1672
1672
 
1673
1673
  /**
1674
1674
  * Replace a text in a field
1675
+ * ```typescript
1675
1676
  * let chart = new OrgChart('#tree', {});
1676
1677
  * chart.onField(function (args) {
1677
1678
  * var val = OrgChart.wrapText(args.value, OrgChart.templates.ana.field_1)
1678
1679
  * args.value = val;
1679
1680
  * });
1680
1681
  * chart.load(nodes);
1682
+ * ```
1681
1683
  */
1682
1684
  static wrapText(text: string, field: Object): string;
1683
1685
 
@@ -1872,15 +1874,25 @@ declare class OrgChart {
1872
1874
  * Hides the Edit Form when the chart is moved with pan
1873
1875
  */
1874
1876
  static HIDE_EDIT_FORM_ON_PAN: boolean;
1877
+
1878
+ /**
1879
+ * @ignore
1880
+ */
1875
1881
  static ARRAY_FIELDS: Array<string>;
1876
1882
 
1877
1883
  /**
1878
1884
  * Csv import and export delimiter/separator
1885
+ * ```typescript
1886
+ * OrgChart.CSV_DELIMITER = ',';
1887
+ * ```
1879
1888
  */
1880
1889
  static CSV_DELIMITER: string;
1881
1890
 
1882
1891
  /**
1883
- *
1892
+ * Edit Form close button
1893
+ * ```typescript
1894
+ * OrgChart.EDITFORM_CLOSE_BTN = '<div data-edit-from-close style="text-align:right; font-size: 34px; padding: 7px 7px 0 0; cursor: pointer;">X</div>';
1895
+ * ```
1884
1896
  */
1885
1897
  static EDITFORM_CLOSE_BTN: string;
1886
1898
  /**
@@ -1890,11 +1902,17 @@ declare class OrgChart {
1890
1902
 
1891
1903
  /**
1892
1904
  * Align children of assistant vertically
1905
+ * ```typescript
1906
+ * OrgChart.VERTICAL_CHILDREN_ASSISTANT = true;
1907
+ * ```
1893
1908
  */
1894
1909
  static VERTICAL_CHILDREN_ASSISTANT: boolean;
1895
1910
 
1896
1911
  /**
1897
1912
  * Cut nodes when export with pages, dafault is false
1913
+ * ```typescript
1914
+ * OrgChart.EXPORT_PAGES_CUT_NODES = true;
1915
+ * ```
1898
1916
  */
1899
1917
  static EXPORT_PAGES_CUT_NODES: boolean;
1900
1918
 
@@ -1904,7 +1922,10 @@ declare class OrgChart {
1904
1922
  static RESET_MOVABLE_ONEXPANDCOLLAPSE: boolean;
1905
1923
 
1906
1924
  /**
1907
- * Filter menu is ordered alphabetically
1925
+ * Filter menu is ordered alphabetically by default
1926
+ * ```typescript
1927
+ * OrgChart.FILTER_ALPHABETICALLY = false;
1928
+ * ```
1908
1929
  */
1909
1930
  static FILTER_ALPHABETICALLY: boolean;
1910
1931