@genesislcap/grid-tabulator 14.437.4 → 14.437.5-canary.gs-updates

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1908 -1908
  2. package/package.json +13 -13
@@ -1657,383 +1657,515 @@
1657
1657
  },
1658
1658
  {
1659
1659
  "kind": "javascript-module",
1660
- "path": "src/cell-editors/date.editor.ts",
1660
+ "path": "src/cell-formatters/action.formatter.ts",
1661
1661
  "declarations": [
1662
1662
  {
1663
- "kind": "class",
1664
- "description": "The date editor class for grid-tabulator",
1665
- "name": "DateEditor",
1666
- "members": [
1667
- {
1668
- "kind": "field",
1669
- "name": "params",
1670
- "type": {
1671
- "text": "DateEditorParams"
1672
- }
1673
- },
1663
+ "kind": "function",
1664
+ "name": "actionFormatter",
1665
+ "return": {
1666
+ "type": {
1667
+ "text": ""
1668
+ }
1669
+ },
1670
+ "parameters": [
1674
1671
  {
1675
- "kind": "field",
1676
- "name": "dateField",
1672
+ "name": "cell",
1677
1673
  "type": {
1678
1674
  "text": "any"
1679
- }
1680
- },
1681
- {
1682
- "kind": "method",
1683
- "name": "init",
1684
- "parameters": [
1685
- {
1686
- "name": "params",
1687
- "type": {
1688
- "text": "DateEditorParams"
1689
- }
1690
- }
1691
- ],
1692
- "description": "Initialize the editor with parameters"
1693
- },
1694
- {
1695
- "kind": "method",
1696
- "name": "getValue",
1697
- "description": "Get current value"
1698
- },
1699
- {
1700
- "kind": "method",
1701
- "name": "getFormattedValue",
1702
- "description": "Format value for display"
1703
- },
1704
- {
1705
- "kind": "method",
1706
- "name": "focus",
1707
- "description": "Set focus to the input"
1708
- },
1709
- {
1710
- "kind": "method",
1711
- "name": "handleKeyDown",
1712
- "parameters": [
1713
- {
1714
- "name": "event",
1715
- "type": {
1716
- "text": "KeyboardEvent"
1717
- }
1718
- }
1719
- ],
1720
- "description": "Process key down events"
1721
- },
1722
- {
1723
- "kind": "field",
1724
- "name": "_presentation",
1725
- "type": {
1726
- "text": "ComponentPresentation | null | undefined"
1727
- },
1728
- "privacy": "private",
1729
- "default": "void 0",
1730
- "inheritedFrom": {
1731
- "name": "FoundationElement",
1732
- "module": "src/foundation-element/foundation-element.ts"
1733
- }
1734
- },
1735
- {
1736
- "kind": "field",
1737
- "name": "$presentation",
1738
- "type": {
1739
- "text": "ComponentPresentation | null"
1740
- },
1741
- "privacy": "public",
1742
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1743
- "inheritedFrom": {
1744
- "name": "FoundationElement",
1745
- "module": "src/foundation-element/foundation-element.ts"
1746
- }
1747
- },
1748
- {
1749
- "kind": "field",
1750
- "name": "template",
1751
- "type": {
1752
- "text": "ElementViewTemplate | void | null"
1753
- },
1754
- "privacy": "public",
1755
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1756
- "inheritedFrom": {
1757
- "name": "FoundationElement",
1758
- "module": "src/foundation-element/foundation-element.ts"
1759
- }
1760
- },
1761
- {
1762
- "kind": "method",
1763
- "name": "templateChanged",
1764
- "privacy": "protected",
1765
- "return": {
1766
- "type": {
1767
- "text": "void"
1768
- }
1769
1675
  },
1770
- "inheritedFrom": {
1771
- "name": "FoundationElement",
1772
- "module": "src/foundation-element/foundation-element.ts"
1773
- }
1676
+ "description": "The cell component provided by Tabulator"
1774
1677
  },
1775
1678
  {
1776
- "kind": "field",
1777
- "name": "styles",
1679
+ "name": "formatterParams",
1680
+ "default": "{}",
1778
1681
  "type": {
1779
- "text": "ElementStyles | void | null"
1780
- },
1781
- "privacy": "public",
1782
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1783
- "inheritedFrom": {
1784
- "name": "FoundationElement",
1785
- "module": "src/foundation-element/foundation-element.ts"
1786
- }
1787
- },
1788
- {
1789
- "kind": "method",
1790
- "name": "stylesChanged",
1791
- "privacy": "protected",
1792
- "return": {
1793
- "type": {
1794
- "text": "void"
1795
- }
1796
- },
1797
- "inheritedFrom": {
1798
- "name": "FoundationElement",
1799
- "module": "src/foundation-element/foundation-element.ts"
1800
- }
1801
- },
1802
- {
1803
- "kind": "method",
1804
- "name": "compose",
1805
- "privacy": "public",
1806
- "static": true,
1807
- "return": {
1808
- "type": {
1809
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1810
- }
1682
+ "text": "ActionFormatterParams<T>"
1811
1683
  },
1812
- "parameters": [
1813
- {
1814
- "name": "this",
1815
- "type": {
1816
- "text": "K"
1817
- }
1818
- },
1819
- {
1820
- "name": "elementDefinition",
1821
- "type": {
1822
- "text": "T"
1823
- },
1824
- "description": "The definition of the element to create the registry\nfunction for."
1825
- }
1826
- ],
1827
- "description": "Defines an element registry function with a set of element definition defaults.",
1828
- "inheritedFrom": {
1829
- "name": "FoundationElement",
1830
- "module": "src/foundation-element/foundation-element.ts"
1831
- }
1684
+ "description": "Action formatter parameters"
1832
1685
  }
1833
1686
  ],
1834
- "superclass": {
1835
- "name": "FoundationElement",
1836
- "package": "@microsoft/fast-foundation"
1837
- }
1838
- },
1687
+ "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
1688
+ "privacy": "public"
1689
+ }
1690
+ ],
1691
+ "exports": [
1839
1692
  {
1840
- "kind": "variable",
1841
- "name": "dateEditorStyles",
1842
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
1843
- "description": "Styles for the date editor"
1844
- },
1693
+ "kind": "js",
1694
+ "name": "actionFormatter",
1695
+ "declaration": {
1696
+ "name": "actionFormatter",
1697
+ "module": "src/cell-formatters/action.formatter.ts"
1698
+ }
1699
+ }
1700
+ ]
1701
+ },
1702
+ {
1703
+ "kind": "javascript-module",
1704
+ "path": "src/cell-formatters/actions-menu.formatter.ts",
1705
+ "declarations": [
1845
1706
  {
1846
1707
  "kind": "function",
1847
- "name": "getDateEditorTemplate",
1848
- "parameters": [
1849
- {
1850
- "name": "prefix",
1851
- "default": "'foundation'",
1852
- "description": "The design system prefix to use. Defaults to 'foundation'."
1853
- }
1854
- ],
1855
- "description": "Get a Design System prefixed date field template.",
1708
+ "name": "actionsMenuFormatter",
1856
1709
  "return": {
1857
1710
  "type": {
1858
1711
  "text": ""
1859
1712
  }
1860
1713
  },
1714
+ "parameters": [
1715
+ {
1716
+ "name": "cell",
1717
+ "type": {
1718
+ "text": "any"
1719
+ },
1720
+ "description": "The cell component provided by Tabulator"
1721
+ },
1722
+ {
1723
+ "name": "formatterParams",
1724
+ "default": "{}",
1725
+ "type": {
1726
+ "text": "ActionsMenuFormatterParams<T>"
1727
+ },
1728
+ "description": "Actions menu formatter parameters"
1729
+ }
1730
+ ],
1731
+ "description": "Formatter that displays a dropdown menu of actions in the cell.\nStyled to match grid-pro actions-menu renderer.",
1861
1732
  "privacy": "public"
1862
- },
1863
- {
1864
- "kind": "variable",
1865
- "name": "foundationDateEditor",
1866
- "description": "Definition for the date editor component"
1867
1733
  }
1868
1734
  ],
1869
1735
  "exports": [
1870
1736
  {
1871
1737
  "kind": "js",
1872
- "name": "DateEditor",
1738
+ "name": "actionsMenuFormatter",
1873
1739
  "declaration": {
1874
- "name": "DateEditor",
1875
- "module": "src/cell-editors/date.editor.ts"
1740
+ "name": "actionsMenuFormatter",
1741
+ "module": "src/cell-formatters/actions-menu.formatter.ts"
1876
1742
  }
1877
- },
1743
+ }
1744
+ ]
1745
+ },
1746
+ {
1747
+ "kind": "javascript-module",
1748
+ "path": "src/cell-formatters/boolean.formatter.ts",
1749
+ "declarations": [
1878
1750
  {
1879
- "kind": "js",
1880
- "name": "dateEditorStyles",
1881
- "declaration": {
1882
- "name": "dateEditorStyles",
1883
- "module": "src/cell-editors/date.editor.ts"
1884
- }
1885
- },
1751
+ "kind": "function",
1752
+ "name": "booleanFormatter",
1753
+ "return": {
1754
+ "type": {
1755
+ "text": ""
1756
+ }
1757
+ },
1758
+ "parameters": [
1759
+ {
1760
+ "name": "cell",
1761
+ "type": {
1762
+ "text": "any"
1763
+ },
1764
+ "description": "The cell component provided by Tabulator"
1765
+ },
1766
+ {
1767
+ "name": "formatterParams",
1768
+ "default": "{}",
1769
+ "type": {
1770
+ "text": "BooleanFormatterParams<T>"
1771
+ },
1772
+ "description": "Boolean formatter parameters"
1773
+ }
1774
+ ],
1775
+ "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
1776
+ "privacy": "public"
1777
+ }
1778
+ ],
1779
+ "exports": [
1886
1780
  {
1887
1781
  "kind": "js",
1888
- "name": "getDateEditorTemplate",
1782
+ "name": "booleanFormatter",
1889
1783
  "declaration": {
1890
- "name": "getDateEditorTemplate",
1891
- "module": "src/cell-editors/date.editor.ts"
1784
+ "name": "booleanFormatter",
1785
+ "module": "src/cell-formatters/boolean.formatter.ts"
1892
1786
  }
1893
- },
1787
+ }
1788
+ ]
1789
+ },
1790
+ {
1791
+ "kind": "javascript-module",
1792
+ "path": "src/cell-formatters/constants.ts",
1793
+ "declarations": [],
1794
+ "exports": []
1795
+ },
1796
+ {
1797
+ "kind": "javascript-module",
1798
+ "path": "src/cell-formatters/editable.formatter.ts",
1799
+ "declarations": [
1800
+ {
1801
+ "kind": "function",
1802
+ "name": "editableFormatter",
1803
+ "return": {
1804
+ "type": {
1805
+ "text": ""
1806
+ }
1807
+ },
1808
+ "parameters": [
1809
+ {
1810
+ "name": "cell",
1811
+ "type": {
1812
+ "text": "any"
1813
+ },
1814
+ "description": "The cell component provided by Tabulator"
1815
+ },
1816
+ {
1817
+ "name": "formatterParams",
1818
+ "default": "{}",
1819
+ "type": {
1820
+ "text": "EditableFormatterParams<T>"
1821
+ },
1822
+ "description": "Editable formatter parameters"
1823
+ }
1824
+ ],
1825
+ "description": "Formatter that displays an editable cell with validation state",
1826
+ "privacy": "public"
1827
+ }
1828
+ ],
1829
+ "exports": [
1894
1830
  {
1895
1831
  "kind": "js",
1896
- "name": "foundationDateEditor",
1832
+ "name": "editableFormatter",
1897
1833
  "declaration": {
1898
- "name": "foundationDateEditor",
1899
- "module": "src/cell-editors/date.editor.ts"
1834
+ "name": "editableFormatter",
1835
+ "module": "src/cell-formatters/editable.formatter.ts"
1900
1836
  }
1901
1837
  }
1902
1838
  ]
1903
1839
  },
1904
1840
  {
1905
1841
  "kind": "javascript-module",
1906
- "path": "src/cell-editors/index.ts",
1907
- "declarations": [],
1842
+ "path": "src/cell-formatters/index.ts",
1843
+ "declarations": [
1844
+ {
1845
+ "kind": "variable",
1846
+ "name": "formatters",
1847
+ "type": {
1848
+ "text": "object"
1849
+ },
1850
+ "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
1851
+ "description": "Zero formatters for Tabulator grid"
1852
+ }
1853
+ ],
1908
1854
  "exports": [
1909
1855
  {
1910
1856
  "kind": "js",
1911
1857
  "name": "*",
1912
1858
  "declaration": {
1913
1859
  "name": "*",
1914
- "package": "./date.editor"
1860
+ "package": "./constants"
1915
1861
  }
1916
1862
  },
1917
1863
  {
1918
1864
  "kind": "js",
1919
- "name": "*",
1865
+ "name": "ActionFormatterParams",
1920
1866
  "declaration": {
1921
- "name": "*",
1922
- "package": "./number.editor"
1867
+ "name": "ActionFormatterParams",
1868
+ "module": "src/cell-formatters/index.ts"
1923
1869
  }
1924
1870
  },
1925
1871
  {
1926
1872
  "kind": "js",
1927
- "name": "*",
1873
+ "name": "actionFormatter",
1928
1874
  "declaration": {
1929
- "name": "*",
1930
- "package": "./select.editor"
1875
+ "name": "actionFormatter",
1876
+ "module": "src/cell-formatters/index.ts"
1931
1877
  }
1932
1878
  },
1933
1879
  {
1934
1880
  "kind": "js",
1935
- "name": "*",
1881
+ "name": "ActionsMenuFormatterParams",
1936
1882
  "declaration": {
1937
- "name": "*",
1938
- "package": "./string.editor"
1883
+ "name": "ActionsMenuFormatterParams",
1884
+ "module": "src/cell-formatters/index.ts"
1939
1885
  }
1940
1886
  },
1941
1887
  {
1942
1888
  "kind": "js",
1943
- "name": "*",
1889
+ "name": "actionsMenuFormatter",
1944
1890
  "declaration": {
1945
- "name": "*",
1946
- "package": "./multiselect.editor"
1891
+ "name": "actionsMenuFormatter",
1892
+ "module": "src/cell-formatters/index.ts"
1893
+ }
1894
+ },
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "BooleanFormatterParams",
1898
+ "declaration": {
1899
+ "name": "BooleanFormatterParams",
1900
+ "module": "src/cell-formatters/index.ts"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "booleanFormatter",
1906
+ "declaration": {
1907
+ "name": "booleanFormatter",
1908
+ "module": "src/cell-formatters/index.ts"
1909
+ }
1910
+ },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "EditableFormatterParams",
1914
+ "declaration": {
1915
+ "name": "EditableFormatterParams",
1916
+ "module": "src/cell-formatters/index.ts"
1917
+ }
1918
+ },
1919
+ {
1920
+ "kind": "js",
1921
+ "name": "editableFormatter",
1922
+ "declaration": {
1923
+ "name": "editableFormatter",
1924
+ "module": "src/cell-formatters/index.ts"
1925
+ }
1926
+ },
1927
+ {
1928
+ "kind": "js",
1929
+ "name": "SelectFormatterParams",
1930
+ "declaration": {
1931
+ "name": "SelectFormatterParams",
1932
+ "module": "src/cell-formatters/index.ts"
1933
+ }
1934
+ },
1935
+ {
1936
+ "kind": "js",
1937
+ "name": "selectFormatter",
1938
+ "declaration": {
1939
+ "name": "selectFormatter",
1940
+ "module": "src/cell-formatters/index.ts"
1941
+ }
1942
+ },
1943
+ {
1944
+ "kind": "js",
1945
+ "name": "TextFormatterParams",
1946
+ "declaration": {
1947
+ "name": "TextFormatterParams",
1948
+ "module": "src/cell-formatters/index.ts"
1949
+ }
1950
+ },
1951
+ {
1952
+ "kind": "js",
1953
+ "name": "textFormatter",
1954
+ "declaration": {
1955
+ "name": "textFormatter",
1956
+ "module": "src/cell-formatters/index.ts"
1957
+ }
1958
+ },
1959
+ {
1960
+ "kind": "js",
1961
+ "name": "formatters",
1962
+ "declaration": {
1963
+ "name": "formatters",
1964
+ "module": "src/cell-formatters/index.ts"
1947
1965
  }
1948
1966
  }
1949
1967
  ]
1950
1968
  },
1951
1969
  {
1952
1970
  "kind": "javascript-module",
1953
- "path": "src/cell-editors/multiselect.editor.ts",
1971
+ "path": "src/cell-formatters/select.formatter.ts",
1954
1972
  "declarations": [
1955
1973
  {
1956
- "kind": "class",
1957
- "description": "The multiselect editor class for grid-tabulator",
1958
- "name": "MultiselectEditor",
1959
- "members": [
1960
- {
1961
- "kind": "field",
1962
- "name": "params",
1963
- "type": {
1964
- "text": "MultiselectEditorParams"
1965
- }
1966
- },
1974
+ "kind": "function",
1975
+ "name": "selectFormatter",
1976
+ "return": {
1977
+ "type": {
1978
+ "text": ""
1979
+ }
1980
+ },
1981
+ "parameters": [
1967
1982
  {
1968
- "kind": "field",
1969
- "name": "select",
1983
+ "name": "cell",
1970
1984
  "type": {
1971
1985
  "text": "any"
1972
- }
1973
- },
1974
- {
1975
- "kind": "method",
1976
- "name": "init",
1977
- "parameters": [
1978
- {
1979
- "name": "params",
1980
- "type": {
1981
- "text": "MultiselectEditorParams"
1982
- }
1983
- }
1984
- ],
1985
- "description": "Initialize the editor with parameters"
1986
- },
1987
- {
1988
- "kind": "method",
1989
- "name": "getValues",
1990
- "return": {
1991
- "type": {
1992
- "text": "(string | number)[]"
1993
- }
1994
1986
  },
1995
- "description": "Get current values"
1996
- },
1997
- {
1998
- "kind": "method",
1999
- "name": "focus",
2000
- "description": "Set focus to the select"
1987
+ "description": "The cell component provided by Tabulator"
2001
1988
  },
2002
1989
  {
2003
- "kind": "method",
2004
- "name": "isSelected",
2005
- "return": {
1990
+ "name": "formatterParams",
1991
+ "type": {
1992
+ "text": "SelectFormatterParams<T>"
1993
+ },
1994
+ "description": "Select formatter parameters"
1995
+ }
1996
+ ],
1997
+ "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
1998
+ "privacy": "public"
1999
+ }
2000
+ ],
2001
+ "exports": [
2002
+ {
2003
+ "kind": "js",
2004
+ "name": "selectFormatter",
2005
+ "declaration": {
2006
+ "name": "selectFormatter",
2007
+ "module": "src/cell-formatters/select.formatter.ts"
2008
+ }
2009
+ }
2010
+ ]
2011
+ },
2012
+ {
2013
+ "kind": "javascript-module",
2014
+ "path": "src/cell-formatters/text.formatter.ts",
2015
+ "declarations": [
2016
+ {
2017
+ "kind": "function",
2018
+ "name": "textFormatter",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": ""
2022
+ }
2023
+ },
2024
+ "parameters": [
2025
+ {
2026
+ "name": "cell",
2027
+ "type": {
2028
+ "text": "any"
2029
+ },
2030
+ "description": "The cell component provided by Tabulator"
2031
+ },
2032
+ {
2033
+ "name": "formatterParams",
2034
+ "default": "{}",
2035
+ "type": {
2036
+ "text": "TextFormatterParams<T>"
2037
+ },
2038
+ "description": "Text formatter parameters"
2039
+ }
2040
+ ],
2041
+ "description": "Text formatter for customized display of values.\nStyled to match grid-pro text renderer.",
2042
+ "privacy": "public"
2043
+ }
2044
+ ],
2045
+ "exports": [
2046
+ {
2047
+ "kind": "js",
2048
+ "name": "textFormatter",
2049
+ "declaration": {
2050
+ "name": "textFormatter",
2051
+ "module": "src/cell-formatters/text.formatter.ts"
2052
+ }
2053
+ }
2054
+ ]
2055
+ },
2056
+ {
2057
+ "kind": "javascript-module",
2058
+ "path": "src/column/column.ts",
2059
+ "declarations": [
2060
+ {
2061
+ "kind": "class",
2062
+ "description": "The GridTabulator Column element.",
2063
+ "name": "GridTabulatorColumn",
2064
+ "members": [
2065
+ {
2066
+ "kind": "field",
2067
+ "name": "slottedCell",
2068
+ "type": {
2069
+ "text": "HTMLElement[]"
2070
+ },
2071
+ "privacy": "public"
2072
+ },
2073
+ {
2074
+ "kind": "field",
2075
+ "name": "definition",
2076
+ "type": {
2077
+ "text": "Partial<ColumnDefinition>"
2078
+ },
2079
+ "default": "{}"
2080
+ },
2081
+ {
2082
+ "kind": "method",
2083
+ "name": "slottedCellChanged",
2084
+ "privacy": "public"
2085
+ },
2086
+ {
2087
+ "kind": "method",
2088
+ "name": "deepClone",
2089
+ "return": {
2006
2090
  "type": {
2007
- "text": "boolean"
2091
+ "text": "Node"
2092
+ }
2093
+ },
2094
+ "inheritedFrom": {
2095
+ "name": "LifecycleMixin",
2096
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2097
+ }
2098
+ },
2099
+ {
2100
+ "kind": "method",
2101
+ "name": "cloneNode",
2102
+ "return": {
2103
+ "type": {
2104
+ "text": "Node"
2008
2105
  }
2009
2106
  },
2010
2107
  "parameters": [
2011
2108
  {
2012
- "name": "value",
2109
+ "name": "deep",
2110
+ "optional": true,
2013
2111
  "type": {
2014
- "text": "string | number"
2112
+ "text": "boolean"
2015
2113
  }
2016
2114
  }
2017
2115
  ],
2018
- "description": "Check if a value is selected"
2116
+ "inheritedFrom": {
2117
+ "name": "LifecycleMixin",
2118
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "shouldRunDisconnect",
2124
+ "return": {
2125
+ "type": {
2126
+ "text": ""
2127
+ }
2128
+ },
2129
+ "readonly": true,
2130
+ "inheritedFrom": {
2131
+ "name": "LifecycleMixin",
2132
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2133
+ }
2134
+ },
2135
+ {
2136
+ "kind": "field",
2137
+ "name": "shouldRunConnect",
2138
+ "return": {
2139
+ "type": {
2140
+ "text": ""
2141
+ }
2142
+ },
2143
+ "readonly": true,
2144
+ "inheritedFrom": {
2145
+ "name": "LifecycleMixin",
2146
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2147
+ }
2019
2148
  },
2020
2149
  {
2021
2150
  "kind": "method",
2022
- "name": "handleKeyDown",
2151
+ "name": "#_blockLifecycleDueToTokenChange",
2152
+ "return": {
2153
+ "type": {
2154
+ "text": "boolean"
2155
+ }
2156
+ },
2023
2157
  "parameters": [
2024
2158
  {
2025
- "name": "event",
2159
+ "name": "lifecycleType",
2026
2160
  "type": {
2027
- "text": "KeyboardEvent"
2161
+ "text": "Lifecycletype"
2028
2162
  }
2029
2163
  }
2030
2164
  ],
2031
- "description": "Process key down events"
2032
- },
2033
- {
2034
- "kind": "method",
2035
- "name": "handleChange",
2036
- "description": "Handle change event to save when selection changes"
2165
+ "inheritedFrom": {
2166
+ "name": "LifecycleMixin",
2167
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2168
+ }
2037
2169
  },
2038
2170
  {
2039
2171
  "kind": "field",
@@ -2147,720 +2279,798 @@
2147
2279
  }
2148
2280
  }
2149
2281
  ],
2150
- "superclass": {
2151
- "name": "FoundationElement",
2152
- "package": "@microsoft/fast-foundation"
2153
- }
2154
- },
2155
- {
2156
- "kind": "variable",
2157
- "name": "multiselectEditorStyles",
2158
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2159
- "description": "Styles for the multiselect editor"
2160
- },
2161
- {
2162
- "kind": "function",
2163
- "name": "getMultiselectEditorTemplate",
2164
- "parameters": [
2282
+ "mixins": [
2165
2283
  {
2166
- "name": "prefix",
2167
- "default": "'foundation'",
2168
- "description": "The design system prefix to use. Defaults to 'foundation'."
2284
+ "name": "LifecycleMixin",
2285
+ "package": "@genesislcap/foundation-utils"
2169
2286
  }
2170
2287
  ],
2171
- "description": "Get a Design System prefixed Select template.",
2172
- "return": {
2173
- "type": {
2174
- "text": ""
2175
- }
2176
- }
2177
- },
2178
- {
2179
- "kind": "variable",
2180
- "name": "foundationMultiselectEditor",
2181
- "description": "Definition for the multiselect editor component"
2288
+ "superclass": {
2289
+ "name": "FoundationElement",
2290
+ "package": "@microsoft/fast-foundation"
2291
+ },
2292
+ "tagName": "grid-tabulator-column",
2293
+ "customElement": true
2182
2294
  }
2183
2295
  ],
2184
2296
  "exports": [
2185
2297
  {
2186
2298
  "kind": "js",
2187
- "name": "MultiselectEditor",
2188
- "declaration": {
2189
- "name": "MultiselectEditor",
2190
- "module": "src/cell-editors/multiselect.editor.ts"
2191
- }
2192
- },
2193
- {
2194
- "kind": "js",
2195
- "name": "multiselectEditorStyles",
2299
+ "name": "GridTabulatorColumn",
2196
2300
  "declaration": {
2197
- "name": "multiselectEditorStyles",
2198
- "module": "src/cell-editors/multiselect.editor.ts"
2301
+ "name": "GridTabulatorColumn",
2302
+ "module": "src/column/column.ts"
2199
2303
  }
2200
2304
  },
2201
2305
  {
2202
- "kind": "js",
2203
- "name": "getMultiselectEditorTemplate",
2306
+ "kind": "custom-element-definition",
2307
+ "name": "grid-tabulator-column",
2204
2308
  "declaration": {
2205
- "name": "getMultiselectEditorTemplate",
2206
- "module": "src/cell-editors/multiselect.editor.ts"
2309
+ "name": "GridTabulatorColumn",
2310
+ "module": "src/column/column.ts"
2207
2311
  }
2208
- },
2312
+ }
2313
+ ]
2314
+ },
2315
+ {
2316
+ "kind": "javascript-module",
2317
+ "path": "src/column/index.ts",
2318
+ "declarations": [],
2319
+ "exports": [
2209
2320
  {
2210
2321
  "kind": "js",
2211
- "name": "foundationMultiselectEditor",
2322
+ "name": "*",
2212
2323
  "declaration": {
2213
- "name": "foundationMultiselectEditor",
2214
- "module": "src/cell-editors/multiselect.editor.ts"
2324
+ "name": "*",
2325
+ "package": "./column"
2215
2326
  }
2216
2327
  }
2217
2328
  ]
2218
2329
  },
2219
2330
  {
2220
2331
  "kind": "javascript-module",
2221
- "path": "src/cell-editors/number.editor.ts",
2332
+ "path": "src/datasource/client-side.datasource.ts",
2222
2333
  "declarations": [
2223
2334
  {
2224
- "kind": "class",
2225
- "description": "The number editor class for grid-tabulator",
2226
- "name": "NumberEditor",
2227
- "members": [
2228
- {
2335
+ "kind": "variable",
2336
+ "name": "criteriaDelimiter",
2337
+ "type": {
2338
+ "text": "string"
2339
+ },
2340
+ "default": "';'",
2341
+ "description": "Delimiter for criteria in the datasource"
2342
+ },
2343
+ {
2344
+ "kind": "variable",
2345
+ "name": "criteriaJoin",
2346
+ "type": {
2347
+ "text": "string"
2348
+ },
2349
+ "default": "' && '",
2350
+ "description": "Join operator for criteria in the datasource"
2351
+ },
2352
+ {
2353
+ "kind": "class",
2354
+ "description": "The Genesis Datasource element, for client-side data fetching and used exclusively by the GridTabulator element.",
2355
+ "name": "GridTabulatorClientSideDatasource",
2356
+ "members": [
2357
+ {
2229
2358
  "kind": "field",
2230
- "name": "params",
2359
+ "name": "auth",
2231
2360
  "type": {
2232
- "text": "NumberEditorParams"
2361
+ "text": "Auth"
2233
2362
  }
2234
2363
  },
2235
2364
  {
2236
2365
  "kind": "field",
2237
- "name": "numberField",
2366
+ "name": "connect",
2238
2367
  "type": {
2239
- "text": "any"
2368
+ "text": "Connect"
2240
2369
  }
2241
2370
  },
2242
2371
  {
2243
- "kind": "method",
2244
- "name": "init",
2245
- "parameters": [
2246
- {
2247
- "name": "params",
2248
- "type": {
2249
- "text": "NumberEditorParams"
2250
- }
2251
- }
2252
- ],
2253
- "description": "Initialize the editor with parameters"
2372
+ "kind": "field",
2373
+ "name": "datasource",
2374
+ "type": {
2375
+ "text": "Datasource"
2376
+ }
2254
2377
  },
2255
2378
  {
2256
- "kind": "method",
2257
- "name": "getValue",
2258
- "description": "Get current value"
2379
+ "kind": "field",
2380
+ "name": "deferredGridOptions",
2381
+ "type": {
2382
+ "text": "Options"
2383
+ }
2259
2384
  },
2260
2385
  {
2261
- "kind": "method",
2262
- "name": "focus",
2263
- "description": "Set focus to the input"
2386
+ "kind": "field",
2387
+ "name": "deferredColumnStates",
2388
+ "type": {
2389
+ "text": "any[]"
2390
+ },
2391
+ "default": "[]",
2392
+ "description": "Allows storing column layouts between datasource initializations"
2393
+ },
2394
+ {
2395
+ "kind": "field",
2396
+ "name": "criteria",
2397
+ "type": {
2398
+ "text": "string"
2399
+ }
2264
2400
  },
2265
2401
  {
2266
2402
  "kind": "method",
2267
- "name": "handleKeyDown",
2403
+ "name": "criteriaChanged",
2268
2404
  "parameters": [
2269
2405
  {
2270
- "name": "event",
2406
+ "name": "oldCriteria",
2271
2407
  "type": {
2272
- "text": "KeyboardEvent"
2408
+ "text": "string"
2409
+ }
2410
+ },
2411
+ {
2412
+ "name": "newCriteria",
2413
+ "type": {
2414
+ "text": "string"
2273
2415
  }
2274
2416
  }
2275
- ],
2276
- "description": "Process key down events"
2417
+ ]
2277
2418
  },
2278
2419
  {
2279
2420
  "kind": "field",
2280
- "name": "_presentation",
2421
+ "name": "fields",
2281
2422
  "type": {
2282
- "text": "ComponentPresentation | null | undefined"
2283
- },
2284
- "privacy": "private",
2285
- "default": "void 0",
2286
- "inheritedFrom": {
2287
- "name": "FoundationElement",
2288
- "module": "src/foundation-element/foundation-element.ts"
2423
+ "text": "string"
2289
2424
  }
2290
2425
  },
2291
2426
  {
2292
2427
  "kind": "field",
2293
- "name": "$presentation",
2428
+ "name": "isSnapshot",
2294
2429
  "type": {
2295
- "text": "ComponentPresentation | null"
2430
+ "text": "boolean"
2296
2431
  },
2297
- "privacy": "public",
2298
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2299
- "inheritedFrom": {
2300
- "name": "FoundationElement",
2301
- "module": "src/foundation-element/foundation-element.ts"
2432
+ "default": "false"
2433
+ },
2434
+ {
2435
+ "kind": "field",
2436
+ "name": "maxRows",
2437
+ "type": {
2438
+ "text": "number"
2302
2439
  }
2303
2440
  },
2304
2441
  {
2305
2442
  "kind": "field",
2306
- "name": "template",
2443
+ "name": "maxView",
2307
2444
  "type": {
2308
- "text": "ElementViewTemplate | void | null"
2309
- },
2310
- "privacy": "public",
2311
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2312
- "inheritedFrom": {
2313
- "name": "FoundationElement",
2314
- "module": "src/foundation-element/foundation-element.ts"
2445
+ "text": "number"
2315
2446
  }
2316
2447
  },
2317
2448
  {
2318
- "kind": "method",
2319
- "name": "templateChanged",
2320
- "privacy": "protected",
2321
- "return": {
2322
- "type": {
2323
- "text": "void"
2324
- }
2325
- },
2326
- "inheritedFrom": {
2327
- "name": "FoundationElement",
2328
- "module": "src/foundation-element/foundation-element.ts"
2449
+ "kind": "field",
2450
+ "name": "pollingInterval",
2451
+ "type": {
2452
+ "text": "number"
2329
2453
  }
2330
2454
  },
2331
2455
  {
2332
2456
  "kind": "field",
2333
- "name": "styles",
2457
+ "name": "movingView",
2334
2458
  "type": {
2335
- "text": "ElementStyles | void | null"
2459
+ "text": "boolean"
2336
2460
  },
2337
- "privacy": "public",
2338
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2339
- "inheritedFrom": {
2340
- "name": "FoundationElement",
2341
- "module": "src/foundation-element/foundation-element.ts"
2461
+ "default": "false"
2462
+ },
2463
+ {
2464
+ "kind": "field",
2465
+ "name": "orderBy",
2466
+ "type": {
2467
+ "text": "string"
2342
2468
  }
2343
2469
  },
2344
2470
  {
2345
- "kind": "method",
2346
- "name": "stylesChanged",
2347
- "privacy": "protected",
2348
- "return": {
2349
- "type": {
2350
- "text": "void"
2351
- }
2352
- },
2353
- "inheritedFrom": {
2354
- "name": "FoundationElement",
2355
- "module": "src/foundation-element/foundation-element.ts"
2471
+ "kind": "field",
2472
+ "name": "request",
2473
+ "type": {
2474
+ "text": "any"
2475
+ }
2476
+ },
2477
+ {
2478
+ "kind": "field",
2479
+ "name": "resourceName",
2480
+ "type": {
2481
+ "text": "string"
2356
2482
  }
2357
2483
  },
2358
2484
  {
2359
2485
  "kind": "method",
2360
- "name": "compose",
2361
- "privacy": "public",
2362
- "static": true,
2363
- "return": {
2364
- "type": {
2365
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2366
- }
2367
- },
2486
+ "name": "resourceNameChanged",
2368
2487
  "parameters": [
2369
2488
  {
2370
- "name": "this",
2489
+ "name": "oldValue",
2371
2490
  "type": {
2372
- "text": "K"
2491
+ "text": "string"
2373
2492
  }
2374
2493
  },
2375
2494
  {
2376
- "name": "elementDefinition",
2495
+ "name": "newValue",
2377
2496
  "type": {
2378
- "text": "T"
2379
- },
2380
- "description": "The definition of the element to create the registry\nfunction for."
2497
+ "text": "string"
2498
+ }
2381
2499
  }
2382
- ],
2383
- "description": "Defines an element registry function with a set of element definition defaults.",
2384
- "inheritedFrom": {
2385
- "name": "FoundationElement",
2386
- "module": "src/foundation-element/foundation-element.ts"
2387
- }
2388
- }
2389
- ],
2390
- "superclass": {
2391
- "name": "FoundationElement",
2392
- "package": "@microsoft/fast-foundation"
2393
- }
2394
- },
2395
- {
2396
- "kind": "variable",
2397
- "name": "numberEditorStyles",
2398
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2399
- "description": "Styles for the number editor"
2400
- },
2401
- {
2402
- "kind": "function",
2403
- "name": "getNumberEditorTemplate",
2404
- "parameters": [
2500
+ ]
2501
+ },
2405
2502
  {
2406
- "name": "prefix",
2407
- "default": "'foundation'",
2408
- "description": "The design system prefix to use. Defaults to 'foundation'."
2409
- }
2410
- ],
2411
- "description": "Get a Design System prefixed number field template.",
2412
- "return": {
2413
- "type": {
2414
- "text": ""
2415
- }
2416
- }
2417
- },
2418
- {
2419
- "kind": "variable",
2420
- "name": "foundationNumberEditor",
2421
- "description": "Definition for the number editor component"
2422
- }
2423
- ],
2424
- "exports": [
2425
- {
2426
- "kind": "js",
2427
- "name": "NumberEditor",
2428
- "declaration": {
2429
- "name": "NumberEditor",
2430
- "module": "src/cell-editors/number.editor.ts"
2431
- }
2432
- },
2433
- {
2434
- "kind": "js",
2435
- "name": "numberEditorStyles",
2436
- "declaration": {
2437
- "name": "numberEditorStyles",
2438
- "module": "src/cell-editors/number.editor.ts"
2439
- }
2440
- },
2441
- {
2442
- "kind": "js",
2443
- "name": "getNumberEditorTemplate",
2444
- "declaration": {
2445
- "name": "getNumberEditorTemplate",
2446
- "module": "src/cell-editors/number.editor.ts"
2447
- }
2448
- },
2449
- {
2450
- "kind": "js",
2451
- "name": "foundationNumberEditor",
2452
- "declaration": {
2453
- "name": "foundationNumberEditor",
2454
- "module": "src/cell-editors/number.editor.ts"
2455
- }
2456
- }
2457
- ]
2458
- },
2459
- {
2460
- "kind": "javascript-module",
2461
- "path": "src/cell-editors/select.editor.ts",
2462
- "declarations": [
2463
- {
2464
- "kind": "class",
2465
- "description": "The select editor class for grid-tabulator",
2466
- "name": "SelectEditor",
2467
- "members": [
2503
+ "kind": "field",
2504
+ "name": "reverse",
2505
+ "type": {
2506
+ "text": "boolean"
2507
+ },
2508
+ "default": "false"
2509
+ },
2468
2510
  {
2469
2511
  "kind": "field",
2470
- "name": "params",
2512
+ "name": "rowIdAttr",
2513
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
2514
+ },
2515
+ {
2516
+ "kind": "field",
2517
+ "name": "restartOnReconnection",
2471
2518
  "type": {
2472
- "text": "SelectEditorParams"
2473
- }
2519
+ "text": "boolean"
2520
+ },
2521
+ "default": "true"
2474
2522
  },
2475
2523
  {
2476
2524
  "kind": "field",
2477
- "name": "select",
2525
+ "name": "keepColDefsOnClearRowData",
2478
2526
  "type": {
2479
- "text": "any"
2480
- }
2527
+ "text": "boolean"
2528
+ },
2529
+ "default": "false",
2530
+ "description": "Whether to keep column definitions when clearing row data"
2481
2531
  },
2482
2532
  {
2483
- "kind": "method",
2484
- "name": "init",
2485
- "parameters": [
2486
- {
2487
- "name": "params",
2488
- "type": {
2489
- "text": "SelectEditorParams"
2490
- }
2491
- }
2492
- ],
2493
- "description": "Initialize the editor with parameters"
2533
+ "kind": "field",
2534
+ "name": "rowDataMapper",
2535
+ "type": {
2536
+ "text": "Function"
2537
+ },
2538
+ "description": "Allows grid data updates to be processed via and external function before applying in grid"
2494
2539
  },
2495
2540
  {
2496
- "kind": "method",
2497
- "name": "getValue",
2498
- "description": "Get current value"
2541
+ "kind": "field",
2542
+ "name": "dataSub",
2543
+ "type": {
2544
+ "text": "Subscription"
2545
+ },
2546
+ "privacy": "private"
2499
2547
  },
2500
2548
  {
2501
- "kind": "method",
2502
- "name": "focus",
2503
- "description": "Set focus to the select"
2549
+ "kind": "field",
2550
+ "name": "updateSub",
2551
+ "type": {
2552
+ "text": "Subscription"
2553
+ },
2554
+ "privacy": "private"
2504
2555
  },
2505
2556
  {
2506
- "kind": "method",
2507
- "name": "handleKeyDown",
2508
- "parameters": [
2509
- {
2510
- "name": "event",
2511
- "type": {
2512
- "text": "KeyboardEvent"
2513
- }
2514
- }
2515
- ],
2516
- "description": "Process key down events"
2557
+ "kind": "field",
2558
+ "name": "connectionSub",
2559
+ "type": {
2560
+ "text": "Subscription"
2561
+ },
2562
+ "privacy": "private"
2517
2563
  },
2518
2564
  {
2519
- "kind": "method",
2520
- "name": "handleChange",
2521
- "description": "Handle change event"
2565
+ "kind": "field",
2566
+ "name": "isRequestServer",
2567
+ "type": {
2568
+ "text": "boolean"
2569
+ },
2570
+ "privacy": "private",
2571
+ "default": "false"
2522
2572
  },
2523
2573
  {
2524
2574
  "kind": "field",
2525
- "name": "_presentation",
2575
+ "name": "requiresFullRowDataAndColDefs",
2526
2576
  "type": {
2527
- "text": "ComponentPresentation | null | undefined"
2577
+ "text": "boolean"
2528
2578
  },
2529
2579
  "privacy": "private",
2530
- "default": "void 0",
2531
- "inheritedFrom": {
2532
- "name": "FoundationElement",
2533
- "module": "src/foundation-element/foundation-element.ts"
2534
- }
2580
+ "default": "true"
2535
2581
  },
2536
2582
  {
2537
2583
  "kind": "field",
2538
- "name": "$presentation",
2584
+ "name": "dataSubWasLoggedOff",
2539
2585
  "type": {
2540
- "text": "ComponentPresentation | null"
2586
+ "text": "boolean"
2541
2587
  },
2542
- "privacy": "public",
2543
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2544
- "inheritedFrom": {
2545
- "name": "FoundationElement",
2546
- "module": "src/foundation-element/foundation-element.ts"
2547
- }
2588
+ "privacy": "private",
2589
+ "default": "false"
2548
2590
  },
2549
2591
  {
2550
2592
  "kind": "field",
2551
- "name": "template",
2593
+ "name": "rows",
2552
2594
  "type": {
2553
- "text": "ElementViewTemplate | void | null"
2595
+ "text": "Map<string, any>"
2554
2596
  },
2555
- "privacy": "public",
2556
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2557
- "inheritedFrom": {
2558
- "name": "FoundationElement",
2559
- "module": "src/foundation-element/foundation-element.ts"
2560
- }
2597
+ "privacy": "private",
2598
+ "default": "new Map()"
2561
2599
  },
2562
2600
  {
2563
- "kind": "method",
2564
- "name": "templateChanged",
2565
- "privacy": "protected",
2566
- "return": {
2567
- "type": {
2568
- "text": "void"
2569
- }
2601
+ "kind": "field",
2602
+ "name": "gridTransaction",
2603
+ "type": {
2604
+ "text": "RowDataTransaction"
2570
2605
  },
2571
- "inheritedFrom": {
2572
- "name": "FoundationElement",
2573
- "module": "src/foundation-element/foundation-element.ts"
2574
- }
2606
+ "privacy": "private"
2575
2607
  },
2576
2608
  {
2577
2609
  "kind": "field",
2578
- "name": "styles",
2610
+ "name": "sourceRef",
2579
2611
  "type": {
2580
- "text": "ElementStyles | void | null"
2612
+ "text": "string"
2581
2613
  },
2582
- "privacy": "public",
2583
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2584
- "inheritedFrom": {
2585
- "name": "FoundationElement",
2586
- "module": "src/foundation-element/foundation-element.ts"
2587
- }
2614
+ "privacy": "private"
2615
+ },
2616
+ {
2617
+ "kind": "field",
2618
+ "name": "criteriaFromFilters",
2619
+ "type": {
2620
+ "text": "Map<string, string>"
2621
+ },
2622
+ "privacy": "private",
2623
+ "default": "new Map()"
2624
+ },
2625
+ {
2626
+ "kind": "field",
2627
+ "name": "update",
2628
+ "type": {
2629
+ "text": "BehaviorSubject<Map<string, string>>"
2630
+ },
2631
+ "privacy": "private",
2632
+ "default": "new BehaviorSubject(new Map())"
2588
2633
  },
2589
2634
  {
2590
2635
  "kind": "method",
2591
- "name": "stylesChanged",
2592
- "privacy": "protected",
2636
+ "name": "deepClone",
2593
2637
  "return": {
2594
2638
  "type": {
2595
- "text": "void"
2639
+ "text": "Node"
2596
2640
  }
2597
2641
  },
2598
2642
  "inheritedFrom": {
2599
- "name": "FoundationElement",
2600
- "module": "src/foundation-element/foundation-element.ts"
2643
+ "name": "LifecycleMixin",
2644
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2601
2645
  }
2602
2646
  },
2603
2647
  {
2604
- "kind": "method",
2605
- "name": "compose",
2606
- "privacy": "public",
2607
- "static": true,
2608
- "return": {
2609
- "type": {
2610
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2611
- }
2648
+ "kind": "field",
2649
+ "name": "gridTabulator",
2650
+ "type": {
2651
+ "text": "GridTabulator | null"
2612
2652
  },
2653
+ "privacy": "private",
2654
+ "readonly": true
2655
+ },
2656
+ {
2657
+ "kind": "method",
2658
+ "name": "init",
2659
+ "description": "Initializes the datasource.",
2660
+ "privacy": "public"
2661
+ },
2662
+ {
2663
+ "kind": "method",
2664
+ "name": "destroy",
2665
+ "description": "Destroys the datasource, resetting it to its initial state.",
2666
+ "privacy": "public"
2667
+ },
2668
+ {
2669
+ "kind": "method",
2670
+ "name": "restart",
2671
+ "description": "Restarts the datasource, uses `deinit` and `init` in sequence.",
2672
+ "privacy": "public"
2673
+ },
2674
+ {
2675
+ "kind": "method",
2676
+ "name": "refreshRows",
2677
+ "description": "Force the grid to redispatch the current rows"
2678
+ },
2679
+ {
2680
+ "kind": "method",
2681
+ "name": "handleErrors",
2613
2682
  "parameters": [
2614
2683
  {
2615
- "name": "this",
2684
+ "name": "errors",
2616
2685
  "type": {
2617
- "text": "K"
2686
+ "text": "string | any[]"
2618
2687
  }
2619
- },
2620
- {
2621
- "name": "elementDefinition",
2622
- "type": {
2623
- "text": "T"
2624
- },
2625
- "description": "The definition of the element to create the registry\nfunction for."
2626
2688
  }
2627
2689
  ],
2628
- "description": "Defines an element registry function with a set of element definition defaults.",
2629
- "inheritedFrom": {
2630
- "name": "FoundationElement",
2631
- "module": "src/foundation-element/foundation-element.ts"
2632
- }
2633
- }
2634
- ],
2635
- "superclass": {
2636
- "name": "FoundationElement",
2637
- "package": "@microsoft/fast-foundation"
2638
- }
2639
- },
2640
- {
2641
- "kind": "variable",
2642
- "name": "selectEditorStyles",
2643
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2644
- "description": "Styles for the select editor"
2645
- },
2646
- {
2647
- "kind": "function",
2648
- "name": "getSelectEditorTemplate",
2649
- "parameters": [
2650
- {
2651
- "name": "prefix",
2652
- "default": "'foundation'",
2653
- "description": "The design system prefix to use. Defaults to 'foundation'."
2654
- }
2655
- ],
2656
- "description": "Get a Design System prefixed Select template.",
2657
- "return": {
2658
- "type": {
2659
- "text": ""
2660
- }
2661
- },
2662
- "privacy": "public"
2663
- },
2664
- {
2665
- "kind": "variable",
2666
- "name": "foundationSelectEditor",
2667
- "description": "Definition for the select editor component"
2668
- }
2669
- ],
2670
- "exports": [
2671
- {
2672
- "kind": "js",
2673
- "name": "SelectEditor",
2674
- "declaration": {
2675
- "name": "SelectEditor",
2676
- "module": "src/cell-editors/select.editor.ts"
2677
- }
2678
- },
2679
- {
2680
- "kind": "js",
2681
- "name": "selectEditorStyles",
2682
- "declaration": {
2683
- "name": "selectEditorStyles",
2684
- "module": "src/cell-editors/select.editor.ts"
2685
- }
2686
- },
2687
- {
2688
- "kind": "js",
2689
- "name": "getSelectEditorTemplate",
2690
- "declaration": {
2691
- "name": "getSelectEditorTemplate",
2692
- "module": "src/cell-editors/select.editor.ts"
2693
- }
2694
- },
2695
- {
2696
- "kind": "js",
2697
- "name": "foundationSelectEditor",
2698
- "declaration": {
2699
- "name": "foundationSelectEditor",
2700
- "module": "src/cell-editors/select.editor.ts"
2701
- }
2702
- }
2703
- ]
2704
- },
2705
- {
2706
- "kind": "javascript-module",
2707
- "path": "src/cell-editors/string.editor.ts",
2708
- "declarations": [
2709
- {
2710
- "kind": "class",
2711
- "description": "The string editor class for grid-tabulator",
2712
- "name": "StringEditor",
2713
- "members": [
2714
- {
2715
- "kind": "field",
2716
- "name": "params",
2717
- "type": {
2718
- "text": "StringEditorParams"
2719
- }
2720
- },
2721
- {
2722
- "kind": "field",
2723
- "name": "textField",
2724
- "type": {
2725
- "text": "any"
2726
- }
2690
+ "description": "Handles errors by emitting an error event"
2727
2691
  },
2728
2692
  {
2729
2693
  "kind": "method",
2730
- "name": "init",
2694
+ "name": "getColumnDefs",
2695
+ "privacy": "private",
2731
2696
  "parameters": [
2732
2697
  {
2733
- "name": "params",
2698
+ "name": "fieldsMetadata",
2734
2699
  "type": {
2735
- "text": "StringEditorParams"
2736
- }
2700
+ "text": "FieldMetadata[]"
2701
+ },
2702
+ "description": "The field metadata to generate column definitions from"
2737
2703
  }
2738
2704
  ],
2739
- "description": "Initialize the editor with parameters"
2705
+ "description": "Generate column definitions from the field metadata"
2740
2706
  },
2741
2707
  {
2742
2708
  "kind": "method",
2743
- "name": "getValue",
2744
- "description": "Get current value"
2709
+ "name": "handleSnapshot",
2710
+ "privacy": "private",
2711
+ "parameters": [
2712
+ {
2713
+ "name": "result"
2714
+ }
2715
+ ]
2745
2716
  },
2746
2717
  {
2747
2718
  "kind": "method",
2748
- "name": "focus",
2749
- "description": "Set focus to the input"
2719
+ "name": "datasourceOptions",
2720
+ "privacy": "private",
2721
+ "return": {
2722
+ "type": {
2723
+ "text": "DatasourceOptions"
2724
+ }
2725
+ }
2750
2726
  },
2751
2727
  {
2752
2728
  "kind": "method",
2753
- "name": "handleKeyDown",
2729
+ "name": "handleStreamResult",
2730
+ "privacy": "private",
2754
2731
  "parameters": [
2755
2732
  {
2756
- "name": "event",
2733
+ "name": "result",
2757
2734
  "type": {
2758
- "text": "KeyboardEvent"
2735
+ "text": "FilteredDataServerResult | RequestServerResult"
2759
2736
  }
2760
2737
  }
2761
- ],
2762
- "description": "Process key down events"
2738
+ ]
2763
2739
  },
2764
2740
  {
2765
- "kind": "field",
2766
- "name": "_presentation",
2767
- "type": {
2768
- "text": "ComponentPresentation | null | undefined"
2769
- },
2741
+ "kind": "method",
2742
+ "name": "applyRequestServerData",
2770
2743
  "privacy": "private",
2771
- "default": "void 0",
2772
- "inheritedFrom": {
2773
- "name": "FoundationElement",
2774
- "module": "src/foundation-element/foundation-element.ts"
2775
- }
2776
- },
2777
- {
2778
- "kind": "field",
2779
- "name": "$presentation",
2780
- "type": {
2781
- "text": "ComponentPresentation | null"
2782
- },
2783
- "privacy": "public",
2784
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2785
- "inheritedFrom": {
2786
- "name": "FoundationElement",
2787
- "module": "src/foundation-element/foundation-element.ts"
2788
- }
2789
- },
2790
- {
2791
- "kind": "field",
2792
- "name": "template",
2793
- "type": {
2794
- "text": "ElementViewTemplate | void | null"
2795
- },
2796
- "privacy": "public",
2797
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2798
- "inheritedFrom": {
2799
- "name": "FoundationElement",
2800
- "module": "src/foundation-element/foundation-element.ts"
2801
- }
2744
+ "parameters": [
2745
+ {
2746
+ "name": "requestServerResult",
2747
+ "type": {
2748
+ "text": "RequestServerResult"
2749
+ }
2750
+ }
2751
+ ]
2802
2752
  },
2803
2753
  {
2804
2754
  "kind": "method",
2805
- "name": "templateChanged",
2806
- "privacy": "protected",
2807
- "return": {
2808
- "type": {
2809
- "text": "void"
2755
+ "name": "applyDataserverData",
2756
+ "privacy": "private",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "dataServerResult",
2760
+ "type": {
2761
+ "text": "FilteredDataServerResult"
2762
+ }
2810
2763
  }
2811
- },
2812
- "inheritedFrom": {
2813
- "name": "FoundationElement",
2814
- "module": "src/foundation-element/foundation-element.ts"
2815
- }
2764
+ ]
2816
2765
  },
2817
2766
  {
2818
- "kind": "field",
2819
- "name": "styles",
2820
- "type": {
2821
- "text": "ElementStyles | void | null"
2822
- },
2823
- "privacy": "public",
2824
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2825
- "inheritedFrom": {
2826
- "name": "FoundationElement",
2827
- "module": "src/foundation-element/foundation-element.ts"
2828
- }
2767
+ "kind": "method",
2768
+ "name": "applyTransaction",
2769
+ "privacy": "private"
2829
2770
  },
2830
2771
  {
2831
2772
  "kind": "method",
2832
- "name": "stylesChanged",
2833
- "privacy": "protected",
2834
- "return": {
2835
- "type": {
2836
- "text": "void"
2773
+ "name": "mapTransaction",
2774
+ "privacy": "private",
2775
+ "parameters": [
2776
+ {
2777
+ "name": "transaction",
2778
+ "type": {
2779
+ "text": "RowDataTransaction"
2780
+ }
2837
2781
  }
2838
- },
2839
- "inheritedFrom": {
2840
- "name": "FoundationElement",
2841
- "module": "src/foundation-element/foundation-element.ts"
2842
- }
2782
+ ]
2843
2783
  },
2844
2784
  {
2845
2785
  "kind": "method",
2846
- "name": "compose",
2847
- "privacy": "public",
2848
- "static": true,
2849
- "return": {
2850
- "type": {
2851
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2852
- }
2853
- },
2786
+ "name": "handleStreamInserts",
2787
+ "privacy": "private",
2854
2788
  "parameters": [
2855
2789
  {
2856
- "name": "this",
2790
+ "name": "insertedRows",
2857
2791
  "type": {
2858
- "text": "K"
2792
+ "text": "any[]"
2859
2793
  }
2860
- },
2861
- {
2862
- "name": "elementDefinition",
2863
- "type": {
2794
+ }
2795
+ ]
2796
+ },
2797
+ {
2798
+ "kind": "method",
2799
+ "name": "handleStreamDeletes",
2800
+ "privacy": "private",
2801
+ "parameters": [
2802
+ {
2803
+ "name": "deletedRows",
2804
+ "type": {
2805
+ "text": "any[]"
2806
+ }
2807
+ }
2808
+ ]
2809
+ },
2810
+ {
2811
+ "kind": "method",
2812
+ "name": "handleStreamUpdates",
2813
+ "privacy": "private",
2814
+ "parameters": [
2815
+ {
2816
+ "name": "updatedRows",
2817
+ "type": {
2818
+ "text": "any[]"
2819
+ }
2820
+ }
2821
+ ]
2822
+ },
2823
+ {
2824
+ "kind": "method",
2825
+ "name": "handleSizeChanged",
2826
+ "privacy": "private",
2827
+ "parameters": [
2828
+ {
2829
+ "name": "oldSize",
2830
+ "type": {
2831
+ "text": "number"
2832
+ }
2833
+ },
2834
+ {
2835
+ "name": "newSize",
2836
+ "type": {
2837
+ "text": "number"
2838
+ }
2839
+ }
2840
+ ],
2841
+ "description": "Emit event when the number of rows changes"
2842
+ },
2843
+ {
2844
+ "kind": "method",
2845
+ "name": "buildCriteria",
2846
+ "privacy": "private",
2847
+ "return": {
2848
+ "type": {
2849
+ "text": "string"
2850
+ }
2851
+ }
2852
+ },
2853
+ {
2854
+ "kind": "method",
2855
+ "name": "setFilter",
2856
+ "privacy": "public",
2857
+ "parameters": [
2858
+ {
2859
+ "name": "fieldName",
2860
+ "type": {
2861
+ "text": "string"
2862
+ }
2863
+ },
2864
+ {
2865
+ "name": "newFilter",
2866
+ "type": {
2867
+ "text": "string"
2868
+ }
2869
+ }
2870
+ ]
2871
+ },
2872
+ {
2873
+ "kind": "method",
2874
+ "name": "removeFilter",
2875
+ "privacy": "public",
2876
+ "parameters": [
2877
+ {
2878
+ "name": "fieldName",
2879
+ "type": {
2880
+ "text": "string"
2881
+ }
2882
+ }
2883
+ ]
2884
+ },
2885
+ {
2886
+ "kind": "method",
2887
+ "name": "datasourceStatusChanged",
2888
+ "parameters": [
2889
+ {
2890
+ "name": "prev",
2891
+ "type": {
2892
+ "text": "DatasourceStatus"
2893
+ }
2894
+ },
2895
+ {
2896
+ "name": "next",
2897
+ "type": {
2898
+ "text": "DatasourceStatus"
2899
+ }
2900
+ }
2901
+ ]
2902
+ },
2903
+ {
2904
+ "kind": "method",
2905
+ "name": "cloneNode",
2906
+ "return": {
2907
+ "type": {
2908
+ "text": "Node"
2909
+ }
2910
+ },
2911
+ "parameters": [
2912
+ {
2913
+ "name": "deep",
2914
+ "optional": true,
2915
+ "type": {
2916
+ "text": "boolean"
2917
+ }
2918
+ }
2919
+ ],
2920
+ "inheritedFrom": {
2921
+ "name": "LifecycleMixin",
2922
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2923
+ }
2924
+ },
2925
+ {
2926
+ "kind": "field",
2927
+ "name": "shouldRunDisconnect",
2928
+ "return": {
2929
+ "type": {
2930
+ "text": ""
2931
+ }
2932
+ },
2933
+ "readonly": true,
2934
+ "inheritedFrom": {
2935
+ "name": "LifecycleMixin",
2936
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2937
+ }
2938
+ },
2939
+ {
2940
+ "kind": "field",
2941
+ "name": "shouldRunConnect",
2942
+ "return": {
2943
+ "type": {
2944
+ "text": ""
2945
+ }
2946
+ },
2947
+ "readonly": true,
2948
+ "inheritedFrom": {
2949
+ "name": "LifecycleMixin",
2950
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2951
+ }
2952
+ },
2953
+ {
2954
+ "kind": "method",
2955
+ "name": "#_blockLifecycleDueToTokenChange",
2956
+ "return": {
2957
+ "type": {
2958
+ "text": "boolean"
2959
+ }
2960
+ },
2961
+ "parameters": [
2962
+ {
2963
+ "name": "lifecycleType",
2964
+ "type": {
2965
+ "text": "Lifecycletype"
2966
+ }
2967
+ }
2968
+ ],
2969
+ "inheritedFrom": {
2970
+ "name": "LifecycleMixin",
2971
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2972
+ }
2973
+ },
2974
+ {
2975
+ "kind": "field",
2976
+ "name": "_presentation",
2977
+ "type": {
2978
+ "text": "ComponentPresentation | null | undefined"
2979
+ },
2980
+ "privacy": "private",
2981
+ "default": "void 0",
2982
+ "inheritedFrom": {
2983
+ "name": "FoundationElement",
2984
+ "module": "src/foundation-element/foundation-element.ts"
2985
+ }
2986
+ },
2987
+ {
2988
+ "kind": "field",
2989
+ "name": "$presentation",
2990
+ "type": {
2991
+ "text": "ComponentPresentation | null"
2992
+ },
2993
+ "privacy": "public",
2994
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2995
+ "inheritedFrom": {
2996
+ "name": "FoundationElement",
2997
+ "module": "src/foundation-element/foundation-element.ts"
2998
+ }
2999
+ },
3000
+ {
3001
+ "kind": "field",
3002
+ "name": "template",
3003
+ "type": {
3004
+ "text": "ElementViewTemplate | void | null"
3005
+ },
3006
+ "privacy": "public",
3007
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3008
+ "inheritedFrom": {
3009
+ "name": "FoundationElement",
3010
+ "module": "src/foundation-element/foundation-element.ts"
3011
+ }
3012
+ },
3013
+ {
3014
+ "kind": "method",
3015
+ "name": "templateChanged",
3016
+ "privacy": "protected",
3017
+ "return": {
3018
+ "type": {
3019
+ "text": "void"
3020
+ }
3021
+ },
3022
+ "inheritedFrom": {
3023
+ "name": "FoundationElement",
3024
+ "module": "src/foundation-element/foundation-element.ts"
3025
+ }
3026
+ },
3027
+ {
3028
+ "kind": "field",
3029
+ "name": "styles",
3030
+ "type": {
3031
+ "text": "ElementStyles | void | null"
3032
+ },
3033
+ "privacy": "public",
3034
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3035
+ "inheritedFrom": {
3036
+ "name": "FoundationElement",
3037
+ "module": "src/foundation-element/foundation-element.ts"
3038
+ }
3039
+ },
3040
+ {
3041
+ "kind": "method",
3042
+ "name": "stylesChanged",
3043
+ "privacy": "protected",
3044
+ "return": {
3045
+ "type": {
3046
+ "text": "void"
3047
+ }
3048
+ },
3049
+ "inheritedFrom": {
3050
+ "name": "FoundationElement",
3051
+ "module": "src/foundation-element/foundation-element.ts"
3052
+ }
3053
+ },
3054
+ {
3055
+ "kind": "method",
3056
+ "name": "compose",
3057
+ "privacy": "public",
3058
+ "static": true,
3059
+ "return": {
3060
+ "type": {
3061
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3062
+ }
3063
+ },
3064
+ "parameters": [
3065
+ {
3066
+ "name": "this",
3067
+ "type": {
3068
+ "text": "K"
3069
+ }
3070
+ },
3071
+ {
3072
+ "name": "elementDefinition",
3073
+ "type": {
2864
3074
  "text": "T"
2865
3075
  },
2866
3076
  "description": "The definition of the element to create the registry\nfunction for."
@@ -2873,586 +3083,247 @@
2873
3083
  }
2874
3084
  }
2875
3085
  ],
2876
- "superclass": {
2877
- "name": "FoundationElement",
2878
- "package": "@microsoft/fast-foundation"
2879
- }
2880
- },
2881
- {
2882
- "kind": "variable",
2883
- "name": "stringEditorStyles",
2884
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2885
- "description": "Styles for the string editor"
2886
- },
2887
- {
2888
- "kind": "function",
2889
- "name": "getStringEditorTemplate",
2890
- "parameters": [
3086
+ "events": [
2891
3087
  {
2892
- "name": "prefix",
2893
- "default": "'foundation'",
2894
- "description": "The design system prefix to use. Defaults to 'foundation'."
3088
+ "description": "Fired when a datasource error occurs",
3089
+ "name": "gridTabulator:error"
3090
+ },
3091
+ {
3092
+ "description": "Fired when tabulator data is initialized",
3093
+ "name": "dataInit"
3094
+ },
3095
+ {
3096
+ "description": "Fired when layout size changes",
3097
+ "name": "sizeChanged"
2895
3098
  }
2896
3099
  ],
2897
- "description": "Get a Design System prefixed text field template.",
2898
- "return": {
2899
- "type": {
2900
- "text": ""
2901
- }
2902
- }
2903
- },
2904
- {
2905
- "kind": "variable",
2906
- "name": "foundationStringEditor",
2907
- "description": "Definition for the string editor component"
2908
- }
2909
- ],
2910
- "exports": [
2911
- {
2912
- "kind": "js",
2913
- "name": "StringEditor",
2914
- "declaration": {
2915
- "name": "StringEditor",
2916
- "module": "src/cell-editors/string.editor.ts"
2917
- }
2918
- },
2919
- {
2920
- "kind": "js",
2921
- "name": "stringEditorStyles",
2922
- "declaration": {
2923
- "name": "stringEditorStyles",
2924
- "module": "src/cell-editors/string.editor.ts"
2925
- }
2926
- },
2927
- {
2928
- "kind": "js",
2929
- "name": "getStringEditorTemplate",
2930
- "declaration": {
2931
- "name": "getStringEditorTemplate",
2932
- "module": "src/cell-editors/string.editor.ts"
2933
- }
2934
- },
2935
- {
2936
- "kind": "js",
2937
- "name": "foundationStringEditor",
2938
- "declaration": {
2939
- "name": "foundationStringEditor",
2940
- "module": "src/cell-editors/string.editor.ts"
2941
- }
2942
- }
2943
- ]
2944
- },
2945
- {
2946
- "kind": "javascript-module",
2947
- "path": "src/cell-formatters/action.formatter.ts",
2948
- "declarations": [
2949
- {
2950
- "kind": "function",
2951
- "name": "actionFormatter",
2952
- "return": {
2953
- "type": {
2954
- "text": ""
2955
- }
2956
- },
2957
- "parameters": [
3100
+ "attributes": [
2958
3101
  {
2959
- "name": "cell",
3102
+ "name": "criteria",
2960
3103
  "type": {
2961
- "text": "any"
3104
+ "text": "string"
2962
3105
  },
2963
- "description": "The cell component provided by Tabulator"
3106
+ "fieldName": "criteria"
2964
3107
  },
2965
3108
  {
2966
- "name": "formatterParams",
2967
- "default": "{}",
3109
+ "name": "fields",
2968
3110
  "type": {
2969
- "text": "ActionFormatterParams<T>"
3111
+ "text": "string"
2970
3112
  },
2971
- "description": "Action formatter parameters"
2972
- }
2973
- ],
2974
- "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
2975
- "privacy": "public"
2976
- }
2977
- ],
2978
- "exports": [
2979
- {
2980
- "kind": "js",
2981
- "name": "actionFormatter",
2982
- "declaration": {
2983
- "name": "actionFormatter",
2984
- "module": "src/cell-formatters/action.formatter.ts"
2985
- }
2986
- }
2987
- ]
2988
- },
2989
- {
2990
- "kind": "javascript-module",
2991
- "path": "src/cell-formatters/actions-menu.formatter.ts",
2992
- "declarations": [
2993
- {
2994
- "kind": "function",
2995
- "name": "actionsMenuFormatter",
2996
- "return": {
2997
- "type": {
2998
- "text": ""
2999
- }
3000
- },
3001
- "parameters": [
3113
+ "fieldName": "fields"
3114
+ },
3002
3115
  {
3003
- "name": "cell",
3116
+ "name": "is-snapshot",
3004
3117
  "type": {
3005
- "text": "any"
3118
+ "text": "boolean"
3006
3119
  },
3007
- "description": "The cell component provided by Tabulator"
3120
+ "default": "false",
3121
+ "fieldName": "isSnapshot"
3008
3122
  },
3009
3123
  {
3010
- "name": "formatterParams",
3011
- "default": "{}",
3124
+ "name": "max-rows",
3012
3125
  "type": {
3013
- "text": "ActionsMenuFormatterParams<T>"
3126
+ "text": "number"
3014
3127
  },
3015
- "description": "Actions menu formatter parameters"
3016
- }
3017
- ],
3018
- "description": "Formatter that displays a dropdown menu of actions in the cell.\nStyled to match grid-pro actions-menu renderer.",
3019
- "privacy": "public"
3020
- }
3021
- ],
3022
- "exports": [
3023
- {
3024
- "kind": "js",
3025
- "name": "actionsMenuFormatter",
3026
- "declaration": {
3027
- "name": "actionsMenuFormatter",
3028
- "module": "src/cell-formatters/actions-menu.formatter.ts"
3029
- }
3030
- }
3031
- ]
3032
- },
3033
- {
3034
- "kind": "javascript-module",
3035
- "path": "src/cell-formatters/boolean.formatter.ts",
3036
- "declarations": [
3037
- {
3038
- "kind": "function",
3039
- "name": "booleanFormatter",
3040
- "return": {
3041
- "type": {
3042
- "text": ""
3043
- }
3044
- },
3045
- "parameters": [
3128
+ "fieldName": "maxRows"
3129
+ },
3130
+ {
3131
+ "name": "max-view",
3132
+ "type": {
3133
+ "text": "number"
3134
+ },
3135
+ "fieldName": "maxView"
3136
+ },
3137
+ {
3138
+ "name": "polling-interval",
3139
+ "type": {
3140
+ "text": "number"
3141
+ },
3142
+ "fieldName": "pollingInterval"
3143
+ },
3144
+ {
3145
+ "name": "moving-view",
3146
+ "type": {
3147
+ "text": "boolean"
3148
+ },
3149
+ "default": "false",
3150
+ "fieldName": "movingView"
3151
+ },
3152
+ {
3153
+ "name": "order-by",
3154
+ "type": {
3155
+ "text": "string"
3156
+ },
3157
+ "fieldName": "orderBy"
3158
+ },
3046
3159
  {
3047
- "name": "cell",
3160
+ "name": "resource-name",
3048
3161
  "type": {
3049
- "text": "any"
3162
+ "text": "string"
3050
3163
  },
3051
- "description": "The cell component provided by Tabulator"
3164
+ "fieldName": "resourceName"
3052
3165
  },
3053
3166
  {
3054
- "name": "formatterParams",
3055
- "default": "{}",
3056
3167
  "type": {
3057
- "text": "BooleanFormatterParams<T>"
3168
+ "text": "boolean"
3058
3169
  },
3059
- "description": "Boolean formatter parameters"
3060
- }
3061
- ],
3062
- "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
3063
- "privacy": "public"
3064
- }
3065
- ],
3066
- "exports": [
3067
- {
3068
- "kind": "js",
3069
- "name": "booleanFormatter",
3070
- "declaration": {
3071
- "name": "booleanFormatter",
3072
- "module": "src/cell-formatters/boolean.formatter.ts"
3073
- }
3074
- }
3075
- ]
3076
- },
3077
- {
3078
- "kind": "javascript-module",
3079
- "path": "src/cell-formatters/constants.ts",
3080
- "declarations": [],
3081
- "exports": []
3082
- },
3083
- {
3084
- "kind": "javascript-module",
3085
- "path": "src/cell-formatters/editable.formatter.ts",
3086
- "declarations": [
3087
- {
3088
- "kind": "function",
3089
- "name": "editableFormatter",
3090
- "return": {
3091
- "type": {
3092
- "text": ""
3093
- }
3094
- },
3095
- "parameters": [
3170
+ "default": "false",
3171
+ "fieldName": "reverse"
3172
+ },
3096
3173
  {
3097
- "name": "cell",
3174
+ "name": "row-id",
3175
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
3176
+ "fieldName": "rowIdAttr"
3177
+ },
3178
+ {
3179
+ "name": "restart-on-reconnection",
3098
3180
  "type": {
3099
- "text": "any"
3181
+ "text": "boolean"
3100
3182
  },
3101
- "description": "The cell component provided by Tabulator"
3183
+ "default": "true",
3184
+ "fieldName": "restartOnReconnection"
3102
3185
  },
3103
3186
  {
3104
- "name": "formatterParams",
3105
- "default": "{}",
3187
+ "name": "keep-col-defs-on-clear-row-data",
3106
3188
  "type": {
3107
- "text": "EditableFormatterParams<T>"
3189
+ "text": "boolean"
3108
3190
  },
3109
- "description": "Editable formatter parameters"
3191
+ "default": "false",
3192
+ "description": "Whether to keep column definitions when clearing row data",
3193
+ "fieldName": "keepColDefsOnClearRowData"
3110
3194
  }
3111
3195
  ],
3112
- "description": "Formatter that displays an editable cell with validation state",
3113
- "privacy": "public"
3114
- }
3115
- ],
3116
- "exports": [
3117
- {
3118
- "kind": "js",
3119
- "name": "editableFormatter",
3120
- "declaration": {
3121
- "name": "editableFormatter",
3122
- "module": "src/cell-formatters/editable.formatter.ts"
3123
- }
3124
- }
3125
- ]
3126
- },
3127
- {
3128
- "kind": "javascript-module",
3129
- "path": "src/cell-formatters/index.ts",
3130
- "declarations": [
3131
- {
3132
- "kind": "variable",
3133
- "name": "formatters",
3134
- "type": {
3135
- "text": "object"
3196
+ "mixins": [
3197
+ {
3198
+ "name": "LifecycleMixin",
3199
+ "package": "@genesislcap/foundation-utils"
3200
+ },
3201
+ {
3202
+ "name": "DatasourceEventHandler",
3203
+ "package": "@genesislcap/foundation-comms"
3204
+ }
3205
+ ],
3206
+ "superclass": {
3207
+ "name": "FoundationElement",
3208
+ "package": "@microsoft/fast-foundation"
3136
3209
  },
3137
- "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
3138
- "description": "Zero formatters for Tabulator grid"
3210
+ "tagName": "grid-tabulator-client-side-datasource",
3211
+ "customElement": true
3139
3212
  }
3140
3213
  ],
3141
3214
  "exports": [
3142
3215
  {
3143
3216
  "kind": "js",
3144
- "name": "*",
3145
- "declaration": {
3146
- "name": "*",
3147
- "package": "./constants"
3148
- }
3149
- },
3150
- {
3151
- "kind": "js",
3152
- "name": "ActionFormatterParams",
3153
- "declaration": {
3154
- "name": "ActionFormatterParams",
3155
- "module": "src/cell-formatters/index.ts"
3156
- }
3157
- },
3158
- {
3159
- "kind": "js",
3160
- "name": "actionFormatter",
3161
- "declaration": {
3162
- "name": "actionFormatter",
3163
- "module": "src/cell-formatters/index.ts"
3164
- }
3165
- },
3166
- {
3167
- "kind": "js",
3168
- "name": "ActionsMenuFormatterParams",
3169
- "declaration": {
3170
- "name": "ActionsMenuFormatterParams",
3171
- "module": "src/cell-formatters/index.ts"
3172
- }
3173
- },
3174
- {
3175
- "kind": "js",
3176
- "name": "actionsMenuFormatter",
3177
- "declaration": {
3178
- "name": "actionsMenuFormatter",
3179
- "module": "src/cell-formatters/index.ts"
3180
- }
3181
- },
3182
- {
3183
- "kind": "js",
3184
- "name": "BooleanFormatterParams",
3185
- "declaration": {
3186
- "name": "BooleanFormatterParams",
3187
- "module": "src/cell-formatters/index.ts"
3188
- }
3189
- },
3190
- {
3191
- "kind": "js",
3192
- "name": "booleanFormatter",
3193
- "declaration": {
3194
- "name": "booleanFormatter",
3195
- "module": "src/cell-formatters/index.ts"
3196
- }
3197
- },
3198
- {
3199
- "kind": "js",
3200
- "name": "EditableFormatterParams",
3201
- "declaration": {
3202
- "name": "EditableFormatterParams",
3203
- "module": "src/cell-formatters/index.ts"
3204
- }
3205
- },
3206
- {
3207
- "kind": "js",
3208
- "name": "editableFormatter",
3209
- "declaration": {
3210
- "name": "editableFormatter",
3211
- "module": "src/cell-formatters/index.ts"
3212
- }
3213
- },
3214
- {
3215
- "kind": "js",
3216
- "name": "SelectFormatterParams",
3217
- "declaration": {
3218
- "name": "SelectFormatterParams",
3219
- "module": "src/cell-formatters/index.ts"
3220
- }
3221
- },
3222
- {
3223
- "kind": "js",
3224
- "name": "selectFormatter",
3225
- "declaration": {
3226
- "name": "selectFormatter",
3227
- "module": "src/cell-formatters/index.ts"
3228
- }
3229
- },
3230
- {
3231
- "kind": "js",
3232
- "name": "TextFormatterParams",
3233
- "declaration": {
3234
- "name": "TextFormatterParams",
3235
- "module": "src/cell-formatters/index.ts"
3236
- }
3237
- },
3238
- {
3239
- "kind": "js",
3240
- "name": "textFormatter",
3217
+ "name": "criteriaDelimiter",
3241
3218
  "declaration": {
3242
- "name": "textFormatter",
3243
- "module": "src/cell-formatters/index.ts"
3219
+ "name": "criteriaDelimiter",
3220
+ "module": "src/datasource/client-side.datasource.ts"
3244
3221
  }
3245
3222
  },
3246
3223
  {
3247
3224
  "kind": "js",
3248
- "name": "formatters",
3225
+ "name": "criteriaJoin",
3249
3226
  "declaration": {
3250
- "name": "formatters",
3251
- "module": "src/cell-formatters/index.ts"
3252
- }
3253
- }
3254
- ]
3255
- },
3256
- {
3257
- "kind": "javascript-module",
3258
- "path": "src/cell-formatters/select.formatter.ts",
3259
- "declarations": [
3260
- {
3261
- "kind": "function",
3262
- "name": "selectFormatter",
3263
- "return": {
3264
- "type": {
3265
- "text": ""
3266
- }
3267
- },
3268
- "parameters": [
3269
- {
3270
- "name": "cell",
3271
- "type": {
3272
- "text": "any"
3273
- },
3274
- "description": "The cell component provided by Tabulator"
3275
- },
3276
- {
3277
- "name": "formatterParams",
3278
- "type": {
3279
- "text": "SelectFormatterParams<T>"
3280
- },
3281
- "description": "Select formatter parameters"
3282
- }
3283
- ],
3284
- "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
3285
- "privacy": "public"
3286
- }
3287
- ],
3288
- "exports": [
3227
+ "name": "criteriaJoin",
3228
+ "module": "src/datasource/client-side.datasource.ts"
3229
+ }
3230
+ },
3289
3231
  {
3290
3232
  "kind": "js",
3291
- "name": "selectFormatter",
3233
+ "name": "GridTabulatorClientSideDatasource",
3292
3234
  "declaration": {
3293
- "name": "selectFormatter",
3294
- "module": "src/cell-formatters/select.formatter.ts"
3235
+ "name": "GridTabulatorClientSideDatasource",
3236
+ "module": "src/datasource/client-side.datasource.ts"
3237
+ }
3238
+ },
3239
+ {
3240
+ "kind": "custom-element-definition",
3241
+ "name": "grid-tabulator-client-side-datasource",
3242
+ "declaration": {
3243
+ "name": "GridTabulatorClientSideDatasource",
3244
+ "module": "src/datasource/client-side.datasource.ts"
3295
3245
  }
3296
3246
  }
3297
3247
  ]
3298
3248
  },
3299
3249
  {
3300
3250
  "kind": "javascript-module",
3301
- "path": "src/cell-formatters/text.formatter.ts",
3302
- "declarations": [
3303
- {
3304
- "kind": "function",
3305
- "name": "textFormatter",
3306
- "return": {
3307
- "type": {
3308
- "text": ""
3309
- }
3310
- },
3311
- "parameters": [
3312
- {
3313
- "name": "cell",
3314
- "type": {
3315
- "text": "any"
3316
- },
3317
- "description": "The cell component provided by Tabulator"
3318
- },
3319
- {
3320
- "name": "formatterParams",
3321
- "default": "{}",
3322
- "type": {
3323
- "text": "TextFormatterParams<T>"
3324
- },
3325
- "description": "Text formatter parameters"
3326
- }
3327
- ],
3328
- "description": "Text formatter for customized display of values.\nStyled to match grid-pro text renderer.",
3329
- "privacy": "public"
3330
- }
3331
- ],
3251
+ "path": "src/datasource/index.ts",
3252
+ "declarations": [],
3332
3253
  "exports": [
3333
3254
  {
3334
3255
  "kind": "js",
3335
- "name": "textFormatter",
3256
+ "name": "*",
3336
3257
  "declaration": {
3337
- "name": "textFormatter",
3338
- "module": "src/cell-formatters/text.formatter.ts"
3258
+ "name": "*",
3259
+ "package": "./client-side.datasource"
3339
3260
  }
3340
3261
  }
3341
3262
  ]
3342
3263
  },
3343
3264
  {
3344
3265
  "kind": "javascript-module",
3345
- "path": "src/column/column.ts",
3266
+ "path": "src/cell-editors/date.editor.ts",
3346
3267
  "declarations": [
3347
3268
  {
3348
3269
  "kind": "class",
3349
- "description": "The GridTabulator Column element.",
3350
- "name": "GridTabulatorColumn",
3270
+ "description": "The date editor class for grid-tabulator",
3271
+ "name": "DateEditor",
3351
3272
  "members": [
3352
3273
  {
3353
3274
  "kind": "field",
3354
- "name": "slottedCell",
3275
+ "name": "params",
3355
3276
  "type": {
3356
- "text": "HTMLElement[]"
3357
- },
3358
- "privacy": "public"
3277
+ "text": "DateEditorParams"
3278
+ }
3359
3279
  },
3360
3280
  {
3361
3281
  "kind": "field",
3362
- "name": "definition",
3282
+ "name": "dateField",
3363
3283
  "type": {
3364
- "text": "Partial<ColumnDefinition>"
3365
- },
3366
- "default": "{}"
3367
- },
3368
- {
3369
- "kind": "method",
3370
- "name": "slottedCellChanged",
3371
- "privacy": "public"
3372
- },
3373
- {
3374
- "kind": "method",
3375
- "name": "deepClone",
3376
- "return": {
3377
- "type": {
3378
- "text": "Node"
3379
- }
3380
- },
3381
- "inheritedFrom": {
3382
- "name": "LifecycleMixin",
3383
- "module": "src/mixins/lifecycle/lifecycle.ts"
3284
+ "text": "any"
3384
3285
  }
3385
3286
  },
3386
3287
  {
3387
3288
  "kind": "method",
3388
- "name": "cloneNode",
3389
- "return": {
3390
- "type": {
3391
- "text": "Node"
3392
- }
3393
- },
3289
+ "name": "init",
3394
3290
  "parameters": [
3395
3291
  {
3396
- "name": "deep",
3397
- "optional": true,
3292
+ "name": "params",
3398
3293
  "type": {
3399
- "text": "boolean"
3294
+ "text": "DateEditorParams"
3400
3295
  }
3401
3296
  }
3402
3297
  ],
3403
- "inheritedFrom": {
3404
- "name": "LifecycleMixin",
3405
- "module": "src/mixins/lifecycle/lifecycle.ts"
3406
- }
3298
+ "description": "Initialize the editor with parameters"
3407
3299
  },
3408
3300
  {
3409
- "kind": "field",
3410
- "name": "shouldRunDisconnect",
3411
- "return": {
3412
- "type": {
3413
- "text": ""
3414
- }
3415
- },
3416
- "readonly": true,
3417
- "inheritedFrom": {
3418
- "name": "LifecycleMixin",
3419
- "module": "src/mixins/lifecycle/lifecycle.ts"
3420
- }
3301
+ "kind": "method",
3302
+ "name": "getValue",
3303
+ "description": "Get current value"
3421
3304
  },
3422
3305
  {
3423
- "kind": "field",
3424
- "name": "shouldRunConnect",
3425
- "return": {
3426
- "type": {
3427
- "text": ""
3428
- }
3429
- },
3430
- "readonly": true,
3431
- "inheritedFrom": {
3432
- "name": "LifecycleMixin",
3433
- "module": "src/mixins/lifecycle/lifecycle.ts"
3434
- }
3306
+ "kind": "method",
3307
+ "name": "getFormattedValue",
3308
+ "description": "Format value for display"
3435
3309
  },
3436
3310
  {
3437
3311
  "kind": "method",
3438
- "name": "#_blockLifecycleDueToTokenChange",
3439
- "return": {
3440
- "type": {
3441
- "text": "boolean"
3442
- }
3443
- },
3312
+ "name": "focus",
3313
+ "description": "Set focus to the input"
3314
+ },
3315
+ {
3316
+ "kind": "method",
3317
+ "name": "handleKeyDown",
3444
3318
  "parameters": [
3445
3319
  {
3446
- "name": "lifecycleType",
3320
+ "name": "event",
3447
3321
  "type": {
3448
- "text": "Lifecycletype"
3322
+ "text": "KeyboardEvent"
3449
3323
  }
3450
3324
  }
3451
3325
  ],
3452
- "inheritedFrom": {
3453
- "name": "LifecycleMixin",
3454
- "module": "src/mixins/lifecycle/lifecycle.ts"
3455
- }
3326
+ "description": "Process key down events"
3456
3327
  },
3457
3328
  {
3458
3329
  "kind": "field",
@@ -3566,42 +3437,79 @@
3566
3437
  }
3567
3438
  }
3568
3439
  ],
3569
- "mixins": [
3570
- {
3571
- "name": "LifecycleMixin",
3572
- "package": "@genesislcap/foundation-utils"
3573
- }
3574
- ],
3575
3440
  "superclass": {
3576
3441
  "name": "FoundationElement",
3577
3442
  "package": "@microsoft/fast-foundation"
3443
+ }
3444
+ },
3445
+ {
3446
+ "kind": "variable",
3447
+ "name": "dateEditorStyles",
3448
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3449
+ "description": "Styles for the date editor"
3450
+ },
3451
+ {
3452
+ "kind": "function",
3453
+ "name": "getDateEditorTemplate",
3454
+ "parameters": [
3455
+ {
3456
+ "name": "prefix",
3457
+ "default": "'foundation'",
3458
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3459
+ }
3460
+ ],
3461
+ "description": "Get a Design System prefixed date field template.",
3462
+ "return": {
3463
+ "type": {
3464
+ "text": ""
3465
+ }
3578
3466
  },
3579
- "tagName": "grid-tabulator-column",
3580
- "customElement": true
3467
+ "privacy": "public"
3468
+ },
3469
+ {
3470
+ "kind": "variable",
3471
+ "name": "foundationDateEditor",
3472
+ "description": "Definition for the date editor component"
3581
3473
  }
3582
3474
  ],
3583
3475
  "exports": [
3584
3476
  {
3585
3477
  "kind": "js",
3586
- "name": "GridTabulatorColumn",
3478
+ "name": "DateEditor",
3587
3479
  "declaration": {
3588
- "name": "GridTabulatorColumn",
3589
- "module": "src/column/column.ts"
3480
+ "name": "DateEditor",
3481
+ "module": "src/cell-editors/date.editor.ts"
3590
3482
  }
3591
3483
  },
3592
3484
  {
3593
- "kind": "custom-element-definition",
3594
- "name": "grid-tabulator-column",
3485
+ "kind": "js",
3486
+ "name": "dateEditorStyles",
3595
3487
  "declaration": {
3596
- "name": "GridTabulatorColumn",
3597
- "module": "src/column/column.ts"
3488
+ "name": "dateEditorStyles",
3489
+ "module": "src/cell-editors/date.editor.ts"
3490
+ }
3491
+ },
3492
+ {
3493
+ "kind": "js",
3494
+ "name": "getDateEditorTemplate",
3495
+ "declaration": {
3496
+ "name": "getDateEditorTemplate",
3497
+ "module": "src/cell-editors/date.editor.ts"
3498
+ }
3499
+ },
3500
+ {
3501
+ "kind": "js",
3502
+ "name": "foundationDateEditor",
3503
+ "declaration": {
3504
+ "name": "foundationDateEditor",
3505
+ "module": "src/cell-editors/date.editor.ts"
3598
3506
  }
3599
3507
  }
3600
3508
  ]
3601
3509
  },
3602
3510
  {
3603
3511
  "kind": "javascript-module",
3604
- "path": "src/column/index.ts",
3512
+ "path": "src/cell-editors/index.ts",
3605
3513
  "declarations": [],
3606
3514
  "exports": [
3607
3515
  {
@@ -3609,654 +3517,855 @@
3609
3517
  "name": "*",
3610
3518
  "declaration": {
3611
3519
  "name": "*",
3612
- "package": "./column"
3520
+ "package": "./date.editor"
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "*",
3526
+ "declaration": {
3527
+ "name": "*",
3528
+ "package": "./number.editor"
3529
+ }
3530
+ },
3531
+ {
3532
+ "kind": "js",
3533
+ "name": "*",
3534
+ "declaration": {
3535
+ "name": "*",
3536
+ "package": "./select.editor"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "js",
3541
+ "name": "*",
3542
+ "declaration": {
3543
+ "name": "*",
3544
+ "package": "./string.editor"
3545
+ }
3546
+ },
3547
+ {
3548
+ "kind": "js",
3549
+ "name": "*",
3550
+ "declaration": {
3551
+ "name": "*",
3552
+ "package": "./multiselect.editor"
3613
3553
  }
3614
3554
  }
3615
3555
  ]
3616
3556
  },
3617
3557
  {
3618
3558
  "kind": "javascript-module",
3619
- "path": "src/datasource/client-side.datasource.ts",
3559
+ "path": "src/cell-editors/multiselect.editor.ts",
3620
3560
  "declarations": [
3621
- {
3622
- "kind": "variable",
3623
- "name": "criteriaDelimiter",
3624
- "type": {
3625
- "text": "string"
3626
- },
3627
- "default": "';'",
3628
- "description": "Delimiter for criteria in the datasource"
3629
- },
3630
- {
3631
- "kind": "variable",
3632
- "name": "criteriaJoin",
3633
- "type": {
3634
- "text": "string"
3635
- },
3636
- "default": "' && '",
3637
- "description": "Join operator for criteria in the datasource"
3638
- },
3639
3561
  {
3640
3562
  "kind": "class",
3641
- "description": "The Genesis Datasource element, for client-side data fetching and used exclusively by the GridTabulator element.",
3642
- "name": "GridTabulatorClientSideDatasource",
3563
+ "description": "The multiselect editor class for grid-tabulator",
3564
+ "name": "MultiselectEditor",
3643
3565
  "members": [
3644
3566
  {
3645
3567
  "kind": "field",
3646
- "name": "auth",
3647
- "type": {
3648
- "text": "Auth"
3649
- }
3650
- },
3651
- {
3652
- "kind": "field",
3653
- "name": "connect",
3654
- "type": {
3655
- "text": "Connect"
3656
- }
3657
- },
3658
- {
3659
- "kind": "field",
3660
- "name": "datasource",
3661
- "type": {
3662
- "text": "Datasource"
3663
- }
3664
- },
3665
- {
3666
- "kind": "field",
3667
- "name": "deferredGridOptions",
3568
+ "name": "params",
3668
3569
  "type": {
3669
- "text": "Options"
3570
+ "text": "MultiselectEditorParams"
3670
3571
  }
3671
3572
  },
3672
3573
  {
3673
3574
  "kind": "field",
3674
- "name": "deferredColumnStates",
3675
- "type": {
3676
- "text": "any[]"
3677
- },
3678
- "default": "[]",
3679
- "description": "Allows storing column layouts between datasource initializations"
3680
- },
3681
- {
3682
- "kind": "field",
3683
- "name": "criteria",
3575
+ "name": "select",
3684
3576
  "type": {
3685
- "text": "string"
3577
+ "text": "any"
3686
3578
  }
3687
3579
  },
3688
3580
  {
3689
3581
  "kind": "method",
3690
- "name": "criteriaChanged",
3582
+ "name": "init",
3691
3583
  "parameters": [
3692
3584
  {
3693
- "name": "oldCriteria",
3694
- "type": {
3695
- "text": "string"
3696
- }
3697
- },
3698
- {
3699
- "name": "newCriteria",
3585
+ "name": "params",
3700
3586
  "type": {
3701
- "text": "string"
3587
+ "text": "MultiselectEditorParams"
3702
3588
  }
3703
3589
  }
3704
- ]
3705
- },
3706
- {
3707
- "kind": "field",
3708
- "name": "fields",
3709
- "type": {
3710
- "text": "string"
3711
- }
3712
- },
3713
- {
3714
- "kind": "field",
3715
- "name": "isSnapshot",
3716
- "type": {
3717
- "text": "boolean"
3718
- },
3719
- "default": "false"
3720
- },
3721
- {
3722
- "kind": "field",
3723
- "name": "maxRows",
3724
- "type": {
3725
- "text": "number"
3726
- }
3727
- },
3728
- {
3729
- "kind": "field",
3730
- "name": "maxView",
3731
- "type": {
3732
- "text": "number"
3733
- }
3734
- },
3735
- {
3736
- "kind": "field",
3737
- "name": "pollingInterval",
3738
- "type": {
3739
- "text": "number"
3740
- }
3741
- },
3742
- {
3743
- "kind": "field",
3744
- "name": "movingView",
3745
- "type": {
3746
- "text": "boolean"
3747
- },
3748
- "default": "false"
3749
- },
3750
- {
3751
- "kind": "field",
3752
- "name": "orderBy",
3753
- "type": {
3754
- "text": "string"
3755
- }
3756
- },
3757
- {
3758
- "kind": "field",
3759
- "name": "request",
3760
- "type": {
3761
- "text": "any"
3762
- }
3763
- },
3764
- {
3765
- "kind": "field",
3766
- "name": "resourceName",
3767
- "type": {
3768
- "text": "string"
3769
- }
3590
+ ],
3591
+ "description": "Initialize the editor with parameters"
3770
3592
  },
3771
3593
  {
3772
3594
  "kind": "method",
3773
- "name": "resourceNameChanged",
3774
- "parameters": [
3775
- {
3776
- "name": "oldValue",
3777
- "type": {
3778
- "text": "string"
3779
- }
3780
- },
3781
- {
3782
- "name": "newValue",
3783
- "type": {
3784
- "text": "string"
3785
- }
3595
+ "name": "getValues",
3596
+ "return": {
3597
+ "type": {
3598
+ "text": "(string | number)[]"
3786
3599
  }
3787
- ]
3788
- },
3789
- {
3790
- "kind": "field",
3791
- "name": "reverse",
3792
- "type": {
3793
- "text": "boolean"
3794
- },
3795
- "default": "false"
3796
- },
3797
- {
3798
- "kind": "field",
3799
- "name": "rowIdAttr",
3800
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
3801
- },
3802
- {
3803
- "kind": "field",
3804
- "name": "restartOnReconnection",
3805
- "type": {
3806
- "text": "boolean"
3807
- },
3808
- "default": "true"
3809
- },
3810
- {
3811
- "kind": "field",
3812
- "name": "keepColDefsOnClearRowData",
3813
- "type": {
3814
- "text": "boolean"
3815
- },
3816
- "default": "false",
3817
- "description": "Whether to keep column definitions when clearing row data"
3818
- },
3819
- {
3820
- "kind": "field",
3821
- "name": "rowDataMapper",
3822
- "type": {
3823
- "text": "Function"
3824
- },
3825
- "description": "Allows grid data updates to be processed via and external function before applying in grid"
3826
- },
3827
- {
3828
- "kind": "field",
3829
- "name": "dataSub",
3830
- "type": {
3831
- "text": "Subscription"
3832
- },
3833
- "privacy": "private"
3834
- },
3835
- {
3836
- "kind": "field",
3837
- "name": "updateSub",
3838
- "type": {
3839
- "text": "Subscription"
3840
- },
3841
- "privacy": "private"
3842
- },
3843
- {
3844
- "kind": "field",
3845
- "name": "connectionSub",
3846
- "type": {
3847
- "text": "Subscription"
3848
- },
3849
- "privacy": "private"
3850
- },
3851
- {
3852
- "kind": "field",
3853
- "name": "isRequestServer",
3854
- "type": {
3855
- "text": "boolean"
3856
- },
3857
- "privacy": "private",
3858
- "default": "false"
3859
- },
3860
- {
3861
- "kind": "field",
3862
- "name": "requiresFullRowDataAndColDefs",
3863
- "type": {
3864
- "text": "boolean"
3865
3600
  },
3866
- "privacy": "private",
3867
- "default": "true"
3601
+ "description": "Get current values"
3868
3602
  },
3869
- {
3870
- "kind": "field",
3871
- "name": "dataSubWasLoggedOff",
3872
- "type": {
3873
- "text": "boolean"
3874
- },
3875
- "privacy": "private",
3876
- "default": "false"
3603
+ {
3604
+ "kind": "method",
3605
+ "name": "focus",
3606
+ "description": "Set focus to the select"
3877
3607
  },
3878
3608
  {
3879
- "kind": "field",
3880
- "name": "rows",
3881
- "type": {
3882
- "text": "Map<string, any>"
3609
+ "kind": "method",
3610
+ "name": "isSelected",
3611
+ "return": {
3612
+ "type": {
3613
+ "text": "boolean"
3614
+ }
3883
3615
  },
3884
- "privacy": "private",
3885
- "default": "new Map()"
3616
+ "parameters": [
3617
+ {
3618
+ "name": "value",
3619
+ "type": {
3620
+ "text": "string | number"
3621
+ }
3622
+ }
3623
+ ],
3624
+ "description": "Check if a value is selected"
3886
3625
  },
3887
3626
  {
3888
- "kind": "field",
3889
- "name": "gridTransaction",
3890
- "type": {
3891
- "text": "RowDataTransaction"
3892
- },
3893
- "privacy": "private"
3627
+ "kind": "method",
3628
+ "name": "handleKeyDown",
3629
+ "parameters": [
3630
+ {
3631
+ "name": "event",
3632
+ "type": {
3633
+ "text": "KeyboardEvent"
3634
+ }
3635
+ }
3636
+ ],
3637
+ "description": "Process key down events"
3638
+ },
3639
+ {
3640
+ "kind": "method",
3641
+ "name": "handleChange",
3642
+ "description": "Handle change event to save when selection changes"
3894
3643
  },
3895
3644
  {
3896
3645
  "kind": "field",
3897
- "name": "sourceRef",
3646
+ "name": "_presentation",
3898
3647
  "type": {
3899
- "text": "string"
3648
+ "text": "ComponentPresentation | null | undefined"
3900
3649
  },
3901
- "privacy": "private"
3650
+ "privacy": "private",
3651
+ "default": "void 0",
3652
+ "inheritedFrom": {
3653
+ "name": "FoundationElement",
3654
+ "module": "src/foundation-element/foundation-element.ts"
3655
+ }
3902
3656
  },
3903
3657
  {
3904
3658
  "kind": "field",
3905
- "name": "criteriaFromFilters",
3659
+ "name": "$presentation",
3906
3660
  "type": {
3907
- "text": "Map<string, string>"
3661
+ "text": "ComponentPresentation | null"
3908
3662
  },
3909
- "privacy": "private",
3910
- "default": "new Map()"
3663
+ "privacy": "public",
3664
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3665
+ "inheritedFrom": {
3666
+ "name": "FoundationElement",
3667
+ "module": "src/foundation-element/foundation-element.ts"
3668
+ }
3911
3669
  },
3912
3670
  {
3913
3671
  "kind": "field",
3914
- "name": "update",
3672
+ "name": "template",
3915
3673
  "type": {
3916
- "text": "BehaviorSubject<Map<string, string>>"
3674
+ "text": "ElementViewTemplate | void | null"
3917
3675
  },
3918
- "privacy": "private",
3919
- "default": "new BehaviorSubject(new Map())"
3676
+ "privacy": "public",
3677
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3678
+ "inheritedFrom": {
3679
+ "name": "FoundationElement",
3680
+ "module": "src/foundation-element/foundation-element.ts"
3681
+ }
3920
3682
  },
3921
3683
  {
3922
3684
  "kind": "method",
3923
- "name": "deepClone",
3685
+ "name": "templateChanged",
3686
+ "privacy": "protected",
3924
3687
  "return": {
3925
3688
  "type": {
3926
- "text": "Node"
3689
+ "text": "void"
3927
3690
  }
3928
3691
  },
3929
3692
  "inheritedFrom": {
3930
- "name": "LifecycleMixin",
3931
- "module": "src/mixins/lifecycle/lifecycle.ts"
3693
+ "name": "FoundationElement",
3694
+ "module": "src/foundation-element/foundation-element.ts"
3932
3695
  }
3933
3696
  },
3934
3697
  {
3935
3698
  "kind": "field",
3936
- "name": "gridTabulator",
3699
+ "name": "styles",
3937
3700
  "type": {
3938
- "text": "GridTabulator | null"
3701
+ "text": "ElementStyles | void | null"
3939
3702
  },
3940
- "privacy": "private",
3941
- "readonly": true
3942
- },
3943
- {
3944
- "kind": "method",
3945
- "name": "init",
3946
- "description": "Initializes the datasource.",
3947
- "privacy": "public"
3948
- },
3949
- {
3950
- "kind": "method",
3951
- "name": "destroy",
3952
- "description": "Destroys the datasource, resetting it to its initial state.",
3953
- "privacy": "public"
3954
- },
3955
- {
3956
- "kind": "method",
3957
- "name": "restart",
3958
- "description": "Restarts the datasource, uses `deinit` and `init` in sequence.",
3959
- "privacy": "public"
3703
+ "privacy": "public",
3704
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3705
+ "inheritedFrom": {
3706
+ "name": "FoundationElement",
3707
+ "module": "src/foundation-element/foundation-element.ts"
3708
+ }
3960
3709
  },
3961
3710
  {
3962
3711
  "kind": "method",
3963
- "name": "refreshRows",
3964
- "description": "Force the grid to redispatch the current rows"
3712
+ "name": "stylesChanged",
3713
+ "privacy": "protected",
3714
+ "return": {
3715
+ "type": {
3716
+ "text": "void"
3717
+ }
3718
+ },
3719
+ "inheritedFrom": {
3720
+ "name": "FoundationElement",
3721
+ "module": "src/foundation-element/foundation-element.ts"
3722
+ }
3965
3723
  },
3966
3724
  {
3967
3725
  "kind": "method",
3968
- "name": "handleErrors",
3726
+ "name": "compose",
3727
+ "privacy": "public",
3728
+ "static": true,
3729
+ "return": {
3730
+ "type": {
3731
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3732
+ }
3733
+ },
3969
3734
  "parameters": [
3970
3735
  {
3971
- "name": "errors",
3736
+ "name": "this",
3972
3737
  "type": {
3973
- "text": "string | any[]"
3738
+ "text": "K"
3974
3739
  }
3740
+ },
3741
+ {
3742
+ "name": "elementDefinition",
3743
+ "type": {
3744
+ "text": "T"
3745
+ },
3746
+ "description": "The definition of the element to create the registry\nfunction for."
3975
3747
  }
3976
3748
  ],
3977
- "description": "Handles errors by emitting an error event"
3749
+ "description": "Defines an element registry function with a set of element definition defaults.",
3750
+ "inheritedFrom": {
3751
+ "name": "FoundationElement",
3752
+ "module": "src/foundation-element/foundation-element.ts"
3753
+ }
3754
+ }
3755
+ ],
3756
+ "superclass": {
3757
+ "name": "FoundationElement",
3758
+ "package": "@microsoft/fast-foundation"
3759
+ }
3760
+ },
3761
+ {
3762
+ "kind": "variable",
3763
+ "name": "multiselectEditorStyles",
3764
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3765
+ "description": "Styles for the multiselect editor"
3766
+ },
3767
+ {
3768
+ "kind": "function",
3769
+ "name": "getMultiselectEditorTemplate",
3770
+ "parameters": [
3771
+ {
3772
+ "name": "prefix",
3773
+ "default": "'foundation'",
3774
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3775
+ }
3776
+ ],
3777
+ "description": "Get a Design System prefixed Select template.",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": ""
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "variable",
3786
+ "name": "foundationMultiselectEditor",
3787
+ "description": "Definition for the multiselect editor component"
3788
+ }
3789
+ ],
3790
+ "exports": [
3791
+ {
3792
+ "kind": "js",
3793
+ "name": "MultiselectEditor",
3794
+ "declaration": {
3795
+ "name": "MultiselectEditor",
3796
+ "module": "src/cell-editors/multiselect.editor.ts"
3797
+ }
3798
+ },
3799
+ {
3800
+ "kind": "js",
3801
+ "name": "multiselectEditorStyles",
3802
+ "declaration": {
3803
+ "name": "multiselectEditorStyles",
3804
+ "module": "src/cell-editors/multiselect.editor.ts"
3805
+ }
3806
+ },
3807
+ {
3808
+ "kind": "js",
3809
+ "name": "getMultiselectEditorTemplate",
3810
+ "declaration": {
3811
+ "name": "getMultiselectEditorTemplate",
3812
+ "module": "src/cell-editors/multiselect.editor.ts"
3813
+ }
3814
+ },
3815
+ {
3816
+ "kind": "js",
3817
+ "name": "foundationMultiselectEditor",
3818
+ "declaration": {
3819
+ "name": "foundationMultiselectEditor",
3820
+ "module": "src/cell-editors/multiselect.editor.ts"
3821
+ }
3822
+ }
3823
+ ]
3824
+ },
3825
+ {
3826
+ "kind": "javascript-module",
3827
+ "path": "src/cell-editors/number.editor.ts",
3828
+ "declarations": [
3829
+ {
3830
+ "kind": "class",
3831
+ "description": "The number editor class for grid-tabulator",
3832
+ "name": "NumberEditor",
3833
+ "members": [
3834
+ {
3835
+ "kind": "field",
3836
+ "name": "params",
3837
+ "type": {
3838
+ "text": "NumberEditorParams"
3839
+ }
3840
+ },
3841
+ {
3842
+ "kind": "field",
3843
+ "name": "numberField",
3844
+ "type": {
3845
+ "text": "any"
3846
+ }
3978
3847
  },
3979
3848
  {
3980
3849
  "kind": "method",
3981
- "name": "getColumnDefs",
3982
- "privacy": "private",
3850
+ "name": "init",
3983
3851
  "parameters": [
3984
3852
  {
3985
- "name": "fieldsMetadata",
3853
+ "name": "params",
3986
3854
  "type": {
3987
- "text": "FieldMetadata[]"
3988
- },
3989
- "description": "The field metadata to generate column definitions from"
3855
+ "text": "NumberEditorParams"
3856
+ }
3990
3857
  }
3991
3858
  ],
3992
- "description": "Generate column definitions from the field metadata"
3859
+ "description": "Initialize the editor with parameters"
3993
3860
  },
3994
3861
  {
3995
3862
  "kind": "method",
3996
- "name": "handleSnapshot",
3997
- "privacy": "private",
3998
- "parameters": [
3999
- {
4000
- "name": "result"
4001
- }
4002
- ]
3863
+ "name": "getValue",
3864
+ "description": "Get current value"
4003
3865
  },
4004
3866
  {
4005
3867
  "kind": "method",
4006
- "name": "datasourceOptions",
4007
- "privacy": "private",
4008
- "return": {
4009
- "type": {
4010
- "text": "DatasourceOptions"
4011
- }
4012
- }
3868
+ "name": "focus",
3869
+ "description": "Set focus to the input"
4013
3870
  },
4014
3871
  {
4015
3872
  "kind": "method",
4016
- "name": "handleStreamResult",
4017
- "privacy": "private",
3873
+ "name": "handleKeyDown",
4018
3874
  "parameters": [
4019
3875
  {
4020
- "name": "result",
3876
+ "name": "event",
4021
3877
  "type": {
4022
- "text": "FilteredDataServerResult | RequestServerResult"
3878
+ "text": "KeyboardEvent"
4023
3879
  }
4024
3880
  }
4025
- ]
3881
+ ],
3882
+ "description": "Process key down events"
4026
3883
  },
4027
3884
  {
4028
- "kind": "method",
4029
- "name": "applyRequestServerData",
3885
+ "kind": "field",
3886
+ "name": "_presentation",
3887
+ "type": {
3888
+ "text": "ComponentPresentation | null | undefined"
3889
+ },
4030
3890
  "privacy": "private",
4031
- "parameters": [
4032
- {
4033
- "name": "requestServerResult",
4034
- "type": {
4035
- "text": "RequestServerResult"
4036
- }
4037
- }
4038
- ]
3891
+ "default": "void 0",
3892
+ "inheritedFrom": {
3893
+ "name": "FoundationElement",
3894
+ "module": "src/foundation-element/foundation-element.ts"
3895
+ }
3896
+ },
3897
+ {
3898
+ "kind": "field",
3899
+ "name": "$presentation",
3900
+ "type": {
3901
+ "text": "ComponentPresentation | null"
3902
+ },
3903
+ "privacy": "public",
3904
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3905
+ "inheritedFrom": {
3906
+ "name": "FoundationElement",
3907
+ "module": "src/foundation-element/foundation-element.ts"
3908
+ }
3909
+ },
3910
+ {
3911
+ "kind": "field",
3912
+ "name": "template",
3913
+ "type": {
3914
+ "text": "ElementViewTemplate | void | null"
3915
+ },
3916
+ "privacy": "public",
3917
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3918
+ "inheritedFrom": {
3919
+ "name": "FoundationElement",
3920
+ "module": "src/foundation-element/foundation-element.ts"
3921
+ }
4039
3922
  },
4040
3923
  {
4041
3924
  "kind": "method",
4042
- "name": "applyDataserverData",
4043
- "privacy": "private",
4044
- "parameters": [
4045
- {
4046
- "name": "dataServerResult",
4047
- "type": {
4048
- "text": "FilteredDataServerResult"
4049
- }
3925
+ "name": "templateChanged",
3926
+ "privacy": "protected",
3927
+ "return": {
3928
+ "type": {
3929
+ "text": "void"
4050
3930
  }
4051
- ]
3931
+ },
3932
+ "inheritedFrom": {
3933
+ "name": "FoundationElement",
3934
+ "module": "src/foundation-element/foundation-element.ts"
3935
+ }
4052
3936
  },
4053
3937
  {
4054
- "kind": "method",
4055
- "name": "applyTransaction",
4056
- "privacy": "private"
3938
+ "kind": "field",
3939
+ "name": "styles",
3940
+ "type": {
3941
+ "text": "ElementStyles | void | null"
3942
+ },
3943
+ "privacy": "public",
3944
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3945
+ "inheritedFrom": {
3946
+ "name": "FoundationElement",
3947
+ "module": "src/foundation-element/foundation-element.ts"
3948
+ }
4057
3949
  },
4058
3950
  {
4059
3951
  "kind": "method",
4060
- "name": "mapTransaction",
4061
- "privacy": "private",
4062
- "parameters": [
4063
- {
4064
- "name": "transaction",
4065
- "type": {
4066
- "text": "RowDataTransaction"
4067
- }
3952
+ "name": "stylesChanged",
3953
+ "privacy": "protected",
3954
+ "return": {
3955
+ "type": {
3956
+ "text": "void"
4068
3957
  }
4069
- ]
3958
+ },
3959
+ "inheritedFrom": {
3960
+ "name": "FoundationElement",
3961
+ "module": "src/foundation-element/foundation-element.ts"
3962
+ }
4070
3963
  },
4071
3964
  {
4072
3965
  "kind": "method",
4073
- "name": "handleStreamInserts",
4074
- "privacy": "private",
3966
+ "name": "compose",
3967
+ "privacy": "public",
3968
+ "static": true,
3969
+ "return": {
3970
+ "type": {
3971
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3972
+ }
3973
+ },
4075
3974
  "parameters": [
4076
3975
  {
4077
- "name": "insertedRows",
3976
+ "name": "this",
4078
3977
  "type": {
4079
- "text": "any[]"
3978
+ "text": "K"
4080
3979
  }
3980
+ },
3981
+ {
3982
+ "name": "elementDefinition",
3983
+ "type": {
3984
+ "text": "T"
3985
+ },
3986
+ "description": "The definition of the element to create the registry\nfunction for."
4081
3987
  }
4082
- ]
3988
+ ],
3989
+ "description": "Defines an element registry function with a set of element definition defaults.",
3990
+ "inheritedFrom": {
3991
+ "name": "FoundationElement",
3992
+ "module": "src/foundation-element/foundation-element.ts"
3993
+ }
3994
+ }
3995
+ ],
3996
+ "superclass": {
3997
+ "name": "FoundationElement",
3998
+ "package": "@microsoft/fast-foundation"
3999
+ }
4000
+ },
4001
+ {
4002
+ "kind": "variable",
4003
+ "name": "numberEditorStyles",
4004
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4005
+ "description": "Styles for the number editor"
4006
+ },
4007
+ {
4008
+ "kind": "function",
4009
+ "name": "getNumberEditorTemplate",
4010
+ "parameters": [
4011
+ {
4012
+ "name": "prefix",
4013
+ "default": "'foundation'",
4014
+ "description": "The design system prefix to use. Defaults to 'foundation'."
4015
+ }
4016
+ ],
4017
+ "description": "Get a Design System prefixed number field template.",
4018
+ "return": {
4019
+ "type": {
4020
+ "text": ""
4021
+ }
4022
+ }
4023
+ },
4024
+ {
4025
+ "kind": "variable",
4026
+ "name": "foundationNumberEditor",
4027
+ "description": "Definition for the number editor component"
4028
+ }
4029
+ ],
4030
+ "exports": [
4031
+ {
4032
+ "kind": "js",
4033
+ "name": "NumberEditor",
4034
+ "declaration": {
4035
+ "name": "NumberEditor",
4036
+ "module": "src/cell-editors/number.editor.ts"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "numberEditorStyles",
4042
+ "declaration": {
4043
+ "name": "numberEditorStyles",
4044
+ "module": "src/cell-editors/number.editor.ts"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "getNumberEditorTemplate",
4050
+ "declaration": {
4051
+ "name": "getNumberEditorTemplate",
4052
+ "module": "src/cell-editors/number.editor.ts"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationNumberEditor",
4058
+ "declaration": {
4059
+ "name": "foundationNumberEditor",
4060
+ "module": "src/cell-editors/number.editor.ts"
4061
+ }
4062
+ }
4063
+ ]
4064
+ },
4065
+ {
4066
+ "kind": "javascript-module",
4067
+ "path": "src/cell-editors/select.editor.ts",
4068
+ "declarations": [
4069
+ {
4070
+ "kind": "class",
4071
+ "description": "The select editor class for grid-tabulator",
4072
+ "name": "SelectEditor",
4073
+ "members": [
4074
+ {
4075
+ "kind": "field",
4076
+ "name": "params",
4077
+ "type": {
4078
+ "text": "SelectEditorParams"
4079
+ }
4080
+ },
4081
+ {
4082
+ "kind": "field",
4083
+ "name": "select",
4084
+ "type": {
4085
+ "text": "any"
4086
+ }
4083
4087
  },
4084
4088
  {
4085
4089
  "kind": "method",
4086
- "name": "handleStreamDeletes",
4087
- "privacy": "private",
4090
+ "name": "init",
4088
4091
  "parameters": [
4089
4092
  {
4090
- "name": "deletedRows",
4093
+ "name": "params",
4091
4094
  "type": {
4092
- "text": "any[]"
4095
+ "text": "SelectEditorParams"
4093
4096
  }
4094
4097
  }
4095
- ]
4098
+ ],
4099
+ "description": "Initialize the editor with parameters"
4096
4100
  },
4097
4101
  {
4098
4102
  "kind": "method",
4099
- "name": "handleStreamUpdates",
4100
- "privacy": "private",
4101
- "parameters": [
4102
- {
4103
- "name": "updatedRows",
4104
- "type": {
4105
- "text": "any[]"
4106
- }
4107
- }
4108
- ]
4103
+ "name": "getValue",
4104
+ "description": "Get current value"
4109
4105
  },
4110
4106
  {
4111
4107
  "kind": "method",
4112
- "name": "handleSizeChanged",
4113
- "privacy": "private",
4108
+ "name": "focus",
4109
+ "description": "Set focus to the select"
4110
+ },
4111
+ {
4112
+ "kind": "method",
4113
+ "name": "handleKeyDown",
4114
4114
  "parameters": [
4115
4115
  {
4116
- "name": "oldSize",
4117
- "type": {
4118
- "text": "number"
4119
- }
4120
- },
4121
- {
4122
- "name": "newSize",
4116
+ "name": "event",
4123
4117
  "type": {
4124
- "text": "number"
4118
+ "text": "KeyboardEvent"
4125
4119
  }
4126
4120
  }
4127
4121
  ],
4128
- "description": "Emit event when the number of rows changes"
4122
+ "description": "Process key down events"
4129
4123
  },
4130
4124
  {
4131
4125
  "kind": "method",
4132
- "name": "buildCriteria",
4126
+ "name": "handleChange",
4127
+ "description": "Handle change event"
4128
+ },
4129
+ {
4130
+ "kind": "field",
4131
+ "name": "_presentation",
4132
+ "type": {
4133
+ "text": "ComponentPresentation | null | undefined"
4134
+ },
4133
4135
  "privacy": "private",
4136
+ "default": "void 0",
4137
+ "inheritedFrom": {
4138
+ "name": "FoundationElement",
4139
+ "module": "src/foundation-element/foundation-element.ts"
4140
+ }
4141
+ },
4142
+ {
4143
+ "kind": "field",
4144
+ "name": "$presentation",
4145
+ "type": {
4146
+ "text": "ComponentPresentation | null"
4147
+ },
4148
+ "privacy": "public",
4149
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4150
+ "inheritedFrom": {
4151
+ "name": "FoundationElement",
4152
+ "module": "src/foundation-element/foundation-element.ts"
4153
+ }
4154
+ },
4155
+ {
4156
+ "kind": "field",
4157
+ "name": "template",
4158
+ "type": {
4159
+ "text": "ElementViewTemplate | void | null"
4160
+ },
4161
+ "privacy": "public",
4162
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
4163
+ "inheritedFrom": {
4164
+ "name": "FoundationElement",
4165
+ "module": "src/foundation-element/foundation-element.ts"
4166
+ }
4167
+ },
4168
+ {
4169
+ "kind": "method",
4170
+ "name": "templateChanged",
4171
+ "privacy": "protected",
4134
4172
  "return": {
4135
4173
  "type": {
4136
- "text": "string"
4174
+ "text": "void"
4137
4175
  }
4176
+ },
4177
+ "inheritedFrom": {
4178
+ "name": "FoundationElement",
4179
+ "module": "src/foundation-element/foundation-element.ts"
4138
4180
  }
4139
4181
  },
4140
4182
  {
4141
- "kind": "method",
4142
- "name": "setFilter",
4183
+ "kind": "field",
4184
+ "name": "styles",
4185
+ "type": {
4186
+ "text": "ElementStyles | void | null"
4187
+ },
4143
4188
  "privacy": "public",
4144
- "parameters": [
4145
- {
4146
- "name": "fieldName",
4147
- "type": {
4148
- "text": "string"
4149
- }
4150
- },
4151
- {
4152
- "name": "newFilter",
4153
- "type": {
4154
- "text": "string"
4155
- }
4156
- }
4157
- ]
4189
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
4190
+ "inheritedFrom": {
4191
+ "name": "FoundationElement",
4192
+ "module": "src/foundation-element/foundation-element.ts"
4193
+ }
4158
4194
  },
4159
4195
  {
4160
4196
  "kind": "method",
4161
- "name": "removeFilter",
4162
- "privacy": "public",
4163
- "parameters": [
4164
- {
4165
- "name": "fieldName",
4166
- "type": {
4167
- "text": "string"
4168
- }
4197
+ "name": "stylesChanged",
4198
+ "privacy": "protected",
4199
+ "return": {
4200
+ "type": {
4201
+ "text": "void"
4169
4202
  }
4170
- ]
4203
+ },
4204
+ "inheritedFrom": {
4205
+ "name": "FoundationElement",
4206
+ "module": "src/foundation-element/foundation-element.ts"
4207
+ }
4171
4208
  },
4172
4209
  {
4173
4210
  "kind": "method",
4174
- "name": "datasourceStatusChanged",
4211
+ "name": "compose",
4212
+ "privacy": "public",
4213
+ "static": true,
4214
+ "return": {
4215
+ "type": {
4216
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4217
+ }
4218
+ },
4175
4219
  "parameters": [
4176
4220
  {
4177
- "name": "prev",
4221
+ "name": "this",
4178
4222
  "type": {
4179
- "text": "DatasourceStatus"
4223
+ "text": "K"
4180
4224
  }
4181
4225
  },
4182
4226
  {
4183
- "name": "next",
4227
+ "name": "elementDefinition",
4184
4228
  "type": {
4185
- "text": "DatasourceStatus"
4186
- }
4229
+ "text": "T"
4230
+ },
4231
+ "description": "The definition of the element to create the registry\nfunction for."
4187
4232
  }
4188
- ]
4233
+ ],
4234
+ "description": "Defines an element registry function with a set of element definition defaults.",
4235
+ "inheritedFrom": {
4236
+ "name": "FoundationElement",
4237
+ "module": "src/foundation-element/foundation-element.ts"
4238
+ }
4239
+ }
4240
+ ],
4241
+ "superclass": {
4242
+ "name": "FoundationElement",
4243
+ "package": "@microsoft/fast-foundation"
4244
+ }
4245
+ },
4246
+ {
4247
+ "kind": "variable",
4248
+ "name": "selectEditorStyles",
4249
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4250
+ "description": "Styles for the select editor"
4251
+ },
4252
+ {
4253
+ "kind": "function",
4254
+ "name": "getSelectEditorTemplate",
4255
+ "parameters": [
4256
+ {
4257
+ "name": "prefix",
4258
+ "default": "'foundation'",
4259
+ "description": "The design system prefix to use. Defaults to 'foundation'."
4260
+ }
4261
+ ],
4262
+ "description": "Get a Design System prefixed Select template.",
4263
+ "return": {
4264
+ "type": {
4265
+ "text": ""
4266
+ }
4267
+ },
4268
+ "privacy": "public"
4269
+ },
4270
+ {
4271
+ "kind": "variable",
4272
+ "name": "foundationSelectEditor",
4273
+ "description": "Definition for the select editor component"
4274
+ }
4275
+ ],
4276
+ "exports": [
4277
+ {
4278
+ "kind": "js",
4279
+ "name": "SelectEditor",
4280
+ "declaration": {
4281
+ "name": "SelectEditor",
4282
+ "module": "src/cell-editors/select.editor.ts"
4283
+ }
4284
+ },
4285
+ {
4286
+ "kind": "js",
4287
+ "name": "selectEditorStyles",
4288
+ "declaration": {
4289
+ "name": "selectEditorStyles",
4290
+ "module": "src/cell-editors/select.editor.ts"
4291
+ }
4292
+ },
4293
+ {
4294
+ "kind": "js",
4295
+ "name": "getSelectEditorTemplate",
4296
+ "declaration": {
4297
+ "name": "getSelectEditorTemplate",
4298
+ "module": "src/cell-editors/select.editor.ts"
4299
+ }
4300
+ },
4301
+ {
4302
+ "kind": "js",
4303
+ "name": "foundationSelectEditor",
4304
+ "declaration": {
4305
+ "name": "foundationSelectEditor",
4306
+ "module": "src/cell-editors/select.editor.ts"
4307
+ }
4308
+ }
4309
+ ]
4310
+ },
4311
+ {
4312
+ "kind": "javascript-module",
4313
+ "path": "src/cell-editors/string.editor.ts",
4314
+ "declarations": [
4315
+ {
4316
+ "kind": "class",
4317
+ "description": "The string editor class for grid-tabulator",
4318
+ "name": "StringEditor",
4319
+ "members": [
4320
+ {
4321
+ "kind": "field",
4322
+ "name": "params",
4323
+ "type": {
4324
+ "text": "StringEditorParams"
4325
+ }
4326
+ },
4327
+ {
4328
+ "kind": "field",
4329
+ "name": "textField",
4330
+ "type": {
4331
+ "text": "any"
4332
+ }
4189
4333
  },
4190
4334
  {
4191
4335
  "kind": "method",
4192
- "name": "cloneNode",
4193
- "return": {
4194
- "type": {
4195
- "text": "Node"
4196
- }
4197
- },
4336
+ "name": "init",
4198
4337
  "parameters": [
4199
4338
  {
4200
- "name": "deep",
4201
- "optional": true,
4339
+ "name": "params",
4202
4340
  "type": {
4203
- "text": "boolean"
4341
+ "text": "StringEditorParams"
4204
4342
  }
4205
4343
  }
4206
4344
  ],
4207
- "inheritedFrom": {
4208
- "name": "LifecycleMixin",
4209
- "module": "src/mixins/lifecycle/lifecycle.ts"
4210
- }
4345
+ "description": "Initialize the editor with parameters"
4211
4346
  },
4212
4347
  {
4213
- "kind": "field",
4214
- "name": "shouldRunDisconnect",
4215
- "return": {
4216
- "type": {
4217
- "text": ""
4218
- }
4219
- },
4220
- "readonly": true,
4221
- "inheritedFrom": {
4222
- "name": "LifecycleMixin",
4223
- "module": "src/mixins/lifecycle/lifecycle.ts"
4224
- }
4348
+ "kind": "method",
4349
+ "name": "getValue",
4350
+ "description": "Get current value"
4225
4351
  },
4226
4352
  {
4227
- "kind": "field",
4228
- "name": "shouldRunConnect",
4229
- "return": {
4230
- "type": {
4231
- "text": ""
4232
- }
4233
- },
4234
- "readonly": true,
4235
- "inheritedFrom": {
4236
- "name": "LifecycleMixin",
4237
- "module": "src/mixins/lifecycle/lifecycle.ts"
4238
- }
4353
+ "kind": "method",
4354
+ "name": "focus",
4355
+ "description": "Set focus to the input"
4239
4356
  },
4240
4357
  {
4241
4358
  "kind": "method",
4242
- "name": "#_blockLifecycleDueToTokenChange",
4243
- "return": {
4244
- "type": {
4245
- "text": "boolean"
4246
- }
4247
- },
4359
+ "name": "handleKeyDown",
4248
4360
  "parameters": [
4249
4361
  {
4250
- "name": "lifecycleType",
4362
+ "name": "event",
4251
4363
  "type": {
4252
- "text": "Lifecycletype"
4364
+ "text": "KeyboardEvent"
4253
4365
  }
4254
4366
  }
4255
4367
  ],
4256
- "inheritedFrom": {
4257
- "name": "LifecycleMixin",
4258
- "module": "src/mixins/lifecycle/lifecycle.ts"
4259
- }
4368
+ "description": "Process key down events"
4260
4369
  },
4261
4370
  {
4262
4371
  "kind": "field",
@@ -4370,180 +4479,71 @@
4370
4479
  }
4371
4480
  }
4372
4481
  ],
4373
- "events": [
4374
- {
4375
- "description": "Fired when a datasource error occurs",
4376
- "name": "gridTabulator:error"
4377
- },
4378
- {
4379
- "description": "Fired when tabulator data is initialized",
4380
- "name": "dataInit"
4381
- },
4382
- {
4383
- "description": "Fired when layout size changes",
4384
- "name": "sizeChanged"
4385
- }
4386
- ],
4387
- "attributes": [
4388
- {
4389
- "name": "criteria",
4390
- "type": {
4391
- "text": "string"
4392
- },
4393
- "fieldName": "criteria"
4394
- },
4395
- {
4396
- "name": "fields",
4397
- "type": {
4398
- "text": "string"
4399
- },
4400
- "fieldName": "fields"
4401
- },
4402
- {
4403
- "name": "is-snapshot",
4404
- "type": {
4405
- "text": "boolean"
4406
- },
4407
- "default": "false",
4408
- "fieldName": "isSnapshot"
4409
- },
4410
- {
4411
- "name": "max-rows",
4412
- "type": {
4413
- "text": "number"
4414
- },
4415
- "fieldName": "maxRows"
4416
- },
4417
- {
4418
- "name": "max-view",
4419
- "type": {
4420
- "text": "number"
4421
- },
4422
- "fieldName": "maxView"
4423
- },
4424
- {
4425
- "name": "polling-interval",
4426
- "type": {
4427
- "text": "number"
4428
- },
4429
- "fieldName": "pollingInterval"
4430
- },
4431
- {
4432
- "name": "moving-view",
4433
- "type": {
4434
- "text": "boolean"
4435
- },
4436
- "default": "false",
4437
- "fieldName": "movingView"
4438
- },
4439
- {
4440
- "name": "order-by",
4441
- "type": {
4442
- "text": "string"
4443
- },
4444
- "fieldName": "orderBy"
4445
- },
4446
- {
4447
- "name": "resource-name",
4448
- "type": {
4449
- "text": "string"
4450
- },
4451
- "fieldName": "resourceName"
4452
- },
4453
- {
4454
- "type": {
4455
- "text": "boolean"
4456
- },
4457
- "default": "false",
4458
- "fieldName": "reverse"
4459
- },
4460
- {
4461
- "name": "row-id",
4462
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
4463
- "fieldName": "rowIdAttr"
4464
- },
4465
- {
4466
- "name": "restart-on-reconnection",
4467
- "type": {
4468
- "text": "boolean"
4469
- },
4470
- "default": "true",
4471
- "fieldName": "restartOnReconnection"
4472
- },
4482
+ "superclass": {
4483
+ "name": "FoundationElement",
4484
+ "package": "@microsoft/fast-foundation"
4485
+ }
4486
+ },
4487
+ {
4488
+ "kind": "variable",
4489
+ "name": "stringEditorStyles",
4490
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4491
+ "description": "Styles for the string editor"
4492
+ },
4493
+ {
4494
+ "kind": "function",
4495
+ "name": "getStringEditorTemplate",
4496
+ "parameters": [
4473
4497
  {
4474
- "name": "keep-col-defs-on-clear-row-data",
4475
- "type": {
4476
- "text": "boolean"
4477
- },
4478
- "default": "false",
4479
- "description": "Whether to keep column definitions when clearing row data",
4480
- "fieldName": "keepColDefsOnClearRowData"
4498
+ "name": "prefix",
4499
+ "default": "'foundation'",
4500
+ "description": "The design system prefix to use. Defaults to 'foundation'."
4481
4501
  }
4482
4502
  ],
4483
- "mixins": [
4484
- {
4485
- "name": "LifecycleMixin",
4486
- "package": "@genesislcap/foundation-utils"
4487
- },
4488
- {
4489
- "name": "DatasourceEventHandler",
4490
- "package": "@genesislcap/foundation-comms"
4503
+ "description": "Get a Design System prefixed text field template.",
4504
+ "return": {
4505
+ "type": {
4506
+ "text": ""
4491
4507
  }
4492
- ],
4493
- "superclass": {
4494
- "name": "FoundationElement",
4495
- "package": "@microsoft/fast-foundation"
4496
- },
4497
- "tagName": "grid-tabulator-client-side-datasource",
4498
- "customElement": true
4508
+ }
4509
+ },
4510
+ {
4511
+ "kind": "variable",
4512
+ "name": "foundationStringEditor",
4513
+ "description": "Definition for the string editor component"
4499
4514
  }
4500
4515
  ],
4501
4516
  "exports": [
4502
4517
  {
4503
4518
  "kind": "js",
4504
- "name": "criteriaDelimiter",
4519
+ "name": "StringEditor",
4505
4520
  "declaration": {
4506
- "name": "criteriaDelimiter",
4507
- "module": "src/datasource/client-side.datasource.ts"
4521
+ "name": "StringEditor",
4522
+ "module": "src/cell-editors/string.editor.ts"
4508
4523
  }
4509
4524
  },
4510
4525
  {
4511
4526
  "kind": "js",
4512
- "name": "criteriaJoin",
4527
+ "name": "stringEditorStyles",
4513
4528
  "declaration": {
4514
- "name": "criteriaJoin",
4515
- "module": "src/datasource/client-side.datasource.ts"
4529
+ "name": "stringEditorStyles",
4530
+ "module": "src/cell-editors/string.editor.ts"
4516
4531
  }
4517
4532
  },
4518
4533
  {
4519
4534
  "kind": "js",
4520
- "name": "GridTabulatorClientSideDatasource",
4535
+ "name": "getStringEditorTemplate",
4521
4536
  "declaration": {
4522
- "name": "GridTabulatorClientSideDatasource",
4523
- "module": "src/datasource/client-side.datasource.ts"
4537
+ "name": "getStringEditorTemplate",
4538
+ "module": "src/cell-editors/string.editor.ts"
4524
4539
  }
4525
4540
  },
4526
- {
4527
- "kind": "custom-element-definition",
4528
- "name": "grid-tabulator-client-side-datasource",
4529
- "declaration": {
4530
- "name": "GridTabulatorClientSideDatasource",
4531
- "module": "src/datasource/client-side.datasource.ts"
4532
- }
4533
- }
4534
- ]
4535
- },
4536
- {
4537
- "kind": "javascript-module",
4538
- "path": "src/datasource/index.ts",
4539
- "declarations": [],
4540
- "exports": [
4541
4541
  {
4542
4542
  "kind": "js",
4543
- "name": "*",
4543
+ "name": "foundationStringEditor",
4544
4544
  "declaration": {
4545
- "name": "*",
4546
- "package": "./client-side.datasource"
4545
+ "name": "foundationStringEditor",
4546
+ "module": "src/cell-editors/string.editor.ts"
4547
4547
  }
4548
4548
  }
4549
4549
  ]