@genesislcap/grid-tabulator 14.467.2 → 14.468.0-FUI-2555.2

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 +891 -891
  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,94 +2279,73 @@
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/cell-editors/date.editor.ts",
2222
2333
  "declarations": [
2223
2334
  {
2224
2335
  "kind": "class",
2225
- "description": "The number editor class for grid-tabulator",
2226
- "name": "NumberEditor",
2336
+ "description": "The date editor class for grid-tabulator",
2337
+ "name": "DateEditor",
2227
2338
  "members": [
2228
2339
  {
2229
2340
  "kind": "field",
2230
2341
  "name": "params",
2231
2342
  "type": {
2232
- "text": "NumberEditorParams"
2343
+ "text": "DateEditorParams"
2233
2344
  }
2234
2345
  },
2235
2346
  {
2236
2347
  "kind": "field",
2237
- "name": "numberField",
2348
+ "name": "dateField",
2238
2349
  "type": {
2239
2350
  "text": "any"
2240
2351
  }
@@ -2246,7 +2357,7 @@
2246
2357
  {
2247
2358
  "name": "params",
2248
2359
  "type": {
2249
- "text": "NumberEditorParams"
2360
+ "text": "DateEditorParams"
2250
2361
  }
2251
2362
  }
2252
2363
  ],
@@ -2257,6 +2368,11 @@
2257
2368
  "name": "getValue",
2258
2369
  "description": "Get current value"
2259
2370
  },
2371
+ {
2372
+ "kind": "method",
2373
+ "name": "getFormattedValue",
2374
+ "description": "Format value for display"
2375
+ },
2260
2376
  {
2261
2377
  "kind": "method",
2262
2378
  "name": "focus",
@@ -2394,13 +2510,13 @@
2394
2510
  },
2395
2511
  {
2396
2512
  "kind": "variable",
2397
- "name": "numberEditorStyles",
2513
+ "name": "dateEditorStyles",
2398
2514
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2399
- "description": "Styles for the number editor"
2515
+ "description": "Styles for the date editor"
2400
2516
  },
2401
2517
  {
2402
2518
  "kind": "function",
2403
- "name": "getNumberEditorTemplate",
2519
+ "name": "getDateEditorTemplate",
2404
2520
  "parameters": [
2405
2521
  {
2406
2522
  "name": "prefix",
@@ -2408,68 +2524,116 @@
2408
2524
  "description": "The design system prefix to use. Defaults to 'foundation'."
2409
2525
  }
2410
2526
  ],
2411
- "description": "Get a Design System prefixed number field template.",
2527
+ "description": "Get a Design System prefixed date field template.",
2412
2528
  "return": {
2413
2529
  "type": {
2414
2530
  "text": ""
2415
2531
  }
2416
- }
2532
+ },
2533
+ "privacy": "public"
2417
2534
  },
2418
2535
  {
2419
2536
  "kind": "variable",
2420
- "name": "foundationNumberEditor",
2421
- "description": "Definition for the number editor component"
2537
+ "name": "foundationDateEditor",
2538
+ "description": "Definition for the date editor component"
2422
2539
  }
2423
2540
  ],
2424
2541
  "exports": [
2425
2542
  {
2426
2543
  "kind": "js",
2427
- "name": "NumberEditor",
2544
+ "name": "DateEditor",
2428
2545
  "declaration": {
2429
- "name": "NumberEditor",
2430
- "module": "src/cell-editors/number.editor.ts"
2546
+ "name": "DateEditor",
2547
+ "module": "src/cell-editors/date.editor.ts"
2431
2548
  }
2432
2549
  },
2433
2550
  {
2434
2551
  "kind": "js",
2435
- "name": "numberEditorStyles",
2552
+ "name": "dateEditorStyles",
2436
2553
  "declaration": {
2437
- "name": "numberEditorStyles",
2438
- "module": "src/cell-editors/number.editor.ts"
2554
+ "name": "dateEditorStyles",
2555
+ "module": "src/cell-editors/date.editor.ts"
2439
2556
  }
2440
2557
  },
2441
2558
  {
2442
2559
  "kind": "js",
2443
- "name": "getNumberEditorTemplate",
2560
+ "name": "getDateEditorTemplate",
2444
2561
  "declaration": {
2445
- "name": "getNumberEditorTemplate",
2446
- "module": "src/cell-editors/number.editor.ts"
2562
+ "name": "getDateEditorTemplate",
2563
+ "module": "src/cell-editors/date.editor.ts"
2447
2564
  }
2448
2565
  },
2449
2566
  {
2450
2567
  "kind": "js",
2451
- "name": "foundationNumberEditor",
2568
+ "name": "foundationDateEditor",
2452
2569
  "declaration": {
2453
- "name": "foundationNumberEditor",
2454
- "module": "src/cell-editors/number.editor.ts"
2570
+ "name": "foundationDateEditor",
2571
+ "module": "src/cell-editors/date.editor.ts"
2455
2572
  }
2456
2573
  }
2457
2574
  ]
2458
2575
  },
2459
2576
  {
2460
2577
  "kind": "javascript-module",
2461
- "path": "src/cell-editors/select.editor.ts",
2578
+ "path": "src/cell-editors/index.ts",
2579
+ "declarations": [],
2580
+ "exports": [
2581
+ {
2582
+ "kind": "js",
2583
+ "name": "*",
2584
+ "declaration": {
2585
+ "name": "*",
2586
+ "package": "./date.editor"
2587
+ }
2588
+ },
2589
+ {
2590
+ "kind": "js",
2591
+ "name": "*",
2592
+ "declaration": {
2593
+ "name": "*",
2594
+ "package": "./number.editor"
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "js",
2599
+ "name": "*",
2600
+ "declaration": {
2601
+ "name": "*",
2602
+ "package": "./select.editor"
2603
+ }
2604
+ },
2605
+ {
2606
+ "kind": "js",
2607
+ "name": "*",
2608
+ "declaration": {
2609
+ "name": "*",
2610
+ "package": "./string.editor"
2611
+ }
2612
+ },
2613
+ {
2614
+ "kind": "js",
2615
+ "name": "*",
2616
+ "declaration": {
2617
+ "name": "*",
2618
+ "package": "./multiselect.editor"
2619
+ }
2620
+ }
2621
+ ]
2622
+ },
2623
+ {
2624
+ "kind": "javascript-module",
2625
+ "path": "src/cell-editors/multiselect.editor.ts",
2462
2626
  "declarations": [
2463
2627
  {
2464
2628
  "kind": "class",
2465
- "description": "The select editor class for grid-tabulator",
2466
- "name": "SelectEditor",
2629
+ "description": "The multiselect editor class for grid-tabulator",
2630
+ "name": "MultiselectEditor",
2467
2631
  "members": [
2468
2632
  {
2469
2633
  "kind": "field",
2470
2634
  "name": "params",
2471
2635
  "type": {
2472
- "text": "SelectEditorParams"
2636
+ "text": "MultiselectEditorParams"
2473
2637
  }
2474
2638
  },
2475
2639
  {
@@ -2486,7 +2650,7 @@
2486
2650
  {
2487
2651
  "name": "params",
2488
2652
  "type": {
2489
- "text": "SelectEditorParams"
2653
+ "text": "MultiselectEditorParams"
2490
2654
  }
2491
2655
  }
2492
2656
  ],
@@ -2494,14 +2658,37 @@
2494
2658
  },
2495
2659
  {
2496
2660
  "kind": "method",
2497
- "name": "getValue",
2498
- "description": "Get current value"
2661
+ "name": "getValues",
2662
+ "return": {
2663
+ "type": {
2664
+ "text": "(string | number)[]"
2665
+ }
2666
+ },
2667
+ "description": "Get current values"
2499
2668
  },
2500
2669
  {
2501
2670
  "kind": "method",
2502
2671
  "name": "focus",
2503
2672
  "description": "Set focus to the select"
2504
2673
  },
2674
+ {
2675
+ "kind": "method",
2676
+ "name": "isSelected",
2677
+ "return": {
2678
+ "type": {
2679
+ "text": "boolean"
2680
+ }
2681
+ },
2682
+ "parameters": [
2683
+ {
2684
+ "name": "value",
2685
+ "type": {
2686
+ "text": "string | number"
2687
+ }
2688
+ }
2689
+ ],
2690
+ "description": "Check if a value is selected"
2691
+ },
2505
2692
  {
2506
2693
  "kind": "method",
2507
2694
  "name": "handleKeyDown",
@@ -2518,7 +2705,7 @@
2518
2705
  {
2519
2706
  "kind": "method",
2520
2707
  "name": "handleChange",
2521
- "description": "Handle change event"
2708
+ "description": "Handle change event to save when selection changes"
2522
2709
  },
2523
2710
  {
2524
2711
  "kind": "field",
@@ -2639,13 +2826,13 @@
2639
2826
  },
2640
2827
  {
2641
2828
  "kind": "variable",
2642
- "name": "selectEditorStyles",
2829
+ "name": "multiselectEditorStyles",
2643
2830
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2644
- "description": "Styles for the select editor"
2831
+ "description": "Styles for the multiselect editor"
2645
2832
  },
2646
2833
  {
2647
2834
  "kind": "function",
2648
- "name": "getSelectEditorTemplate",
2835
+ "name": "getMultiselectEditorTemplate",
2649
2836
  "parameters": [
2650
2837
  {
2651
2838
  "name": "prefix",
@@ -2658,69 +2845,68 @@
2658
2845
  "type": {
2659
2846
  "text": ""
2660
2847
  }
2661
- },
2662
- "privacy": "public"
2848
+ }
2663
2849
  },
2664
2850
  {
2665
2851
  "kind": "variable",
2666
- "name": "foundationSelectEditor",
2667
- "description": "Definition for the select editor component"
2852
+ "name": "foundationMultiselectEditor",
2853
+ "description": "Definition for the multiselect editor component"
2668
2854
  }
2669
2855
  ],
2670
2856
  "exports": [
2671
2857
  {
2672
2858
  "kind": "js",
2673
- "name": "SelectEditor",
2859
+ "name": "MultiselectEditor",
2674
2860
  "declaration": {
2675
- "name": "SelectEditor",
2676
- "module": "src/cell-editors/select.editor.ts"
2861
+ "name": "MultiselectEditor",
2862
+ "module": "src/cell-editors/multiselect.editor.ts"
2677
2863
  }
2678
2864
  },
2679
2865
  {
2680
2866
  "kind": "js",
2681
- "name": "selectEditorStyles",
2867
+ "name": "multiselectEditorStyles",
2682
2868
  "declaration": {
2683
- "name": "selectEditorStyles",
2684
- "module": "src/cell-editors/select.editor.ts"
2869
+ "name": "multiselectEditorStyles",
2870
+ "module": "src/cell-editors/multiselect.editor.ts"
2685
2871
  }
2686
2872
  },
2687
2873
  {
2688
2874
  "kind": "js",
2689
- "name": "getSelectEditorTemplate",
2875
+ "name": "getMultiselectEditorTemplate",
2690
2876
  "declaration": {
2691
- "name": "getSelectEditorTemplate",
2692
- "module": "src/cell-editors/select.editor.ts"
2877
+ "name": "getMultiselectEditorTemplate",
2878
+ "module": "src/cell-editors/multiselect.editor.ts"
2693
2879
  }
2694
2880
  },
2695
2881
  {
2696
2882
  "kind": "js",
2697
- "name": "foundationSelectEditor",
2883
+ "name": "foundationMultiselectEditor",
2698
2884
  "declaration": {
2699
- "name": "foundationSelectEditor",
2700
- "module": "src/cell-editors/select.editor.ts"
2885
+ "name": "foundationMultiselectEditor",
2886
+ "module": "src/cell-editors/multiselect.editor.ts"
2701
2887
  }
2702
2888
  }
2703
2889
  ]
2704
2890
  },
2705
2891
  {
2706
2892
  "kind": "javascript-module",
2707
- "path": "src/cell-editors/string.editor.ts",
2893
+ "path": "src/cell-editors/number.editor.ts",
2708
2894
  "declarations": [
2709
2895
  {
2710
2896
  "kind": "class",
2711
- "description": "The string editor class for grid-tabulator",
2712
- "name": "StringEditor",
2897
+ "description": "The number editor class for grid-tabulator",
2898
+ "name": "NumberEditor",
2713
2899
  "members": [
2714
2900
  {
2715
2901
  "kind": "field",
2716
2902
  "name": "params",
2717
2903
  "type": {
2718
- "text": "StringEditorParams"
2904
+ "text": "NumberEditorParams"
2719
2905
  }
2720
2906
  },
2721
2907
  {
2722
2908
  "kind": "field",
2723
- "name": "textField",
2909
+ "name": "numberField",
2724
2910
  "type": {
2725
2911
  "text": "any"
2726
2912
  }
@@ -2732,7 +2918,7 @@
2732
2918
  {
2733
2919
  "name": "params",
2734
2920
  "type": {
2735
- "text": "StringEditorParams"
2921
+ "text": "NumberEditorParams"
2736
2922
  }
2737
2923
  }
2738
2924
  ],
@@ -2875,584 +3061,377 @@
2875
3061
  ],
2876
3062
  "superclass": {
2877
3063
  "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": [
2891
- {
2892
- "name": "prefix",
2893
- "default": "'foundation'",
2894
- "description": "The design system prefix to use. Defaults to 'foundation'."
2895
- }
2896
- ],
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": [
2958
- {
2959
- "name": "cell",
2960
- "type": {
2961
- "text": "any"
2962
- },
2963
- "description": "The cell component provided by Tabulator"
2964
- },
2965
- {
2966
- "name": "formatterParams",
2967
- "default": "{}",
2968
- "type": {
2969
- "text": "ActionFormatterParams<T>"
2970
- },
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": [
3002
- {
3003
- "name": "cell",
3004
- "type": {
3005
- "text": "any"
3006
- },
3007
- "description": "The cell component provided by Tabulator"
3008
- },
3009
- {
3010
- "name": "formatterParams",
3011
- "default": "{}",
3012
- "type": {
3013
- "text": "ActionsMenuFormatterParams<T>"
3014
- },
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": [
3046
- {
3047
- "name": "cell",
3048
- "type": {
3049
- "text": "any"
3050
- },
3051
- "description": "The cell component provided by Tabulator"
3052
- },
3053
- {
3054
- "name": "formatterParams",
3055
- "default": "{}",
3056
- "type": {
3057
- "text": "BooleanFormatterParams<T>"
3058
- },
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": [
3096
- {
3097
- "name": "cell",
3098
- "type": {
3099
- "text": "any"
3100
- },
3101
- "description": "The cell component provided by Tabulator"
3102
- },
3103
- {
3104
- "name": "formatterParams",
3105
- "default": "{}",
3106
- "type": {
3107
- "text": "EditableFormatterParams<T>"
3108
- },
3109
- "description": "Editable formatter parameters"
3110
- }
3111
- ],
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"
3136
- },
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"
3139
- }
3140
- ],
3141
- "exports": [
3142
- {
3143
- "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"
3064
+ "package": "@microsoft/fast-foundation"
3196
3065
  }
3197
3066
  },
3198
3067
  {
3199
- "kind": "js",
3200
- "name": "EditableFormatterParams",
3201
- "declaration": {
3202
- "name": "EditableFormatterParams",
3203
- "module": "src/cell-formatters/index.ts"
3204
- }
3068
+ "kind": "variable",
3069
+ "name": "numberEditorStyles",
3070
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3071
+ "description": "Styles for the number editor"
3205
3072
  },
3206
3073
  {
3207
- "kind": "js",
3208
- "name": "editableFormatter",
3209
- "declaration": {
3210
- "name": "editableFormatter",
3211
- "module": "src/cell-formatters/index.ts"
3074
+ "kind": "function",
3075
+ "name": "getNumberEditorTemplate",
3076
+ "parameters": [
3077
+ {
3078
+ "name": "prefix",
3079
+ "default": "'foundation'",
3080
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3081
+ }
3082
+ ],
3083
+ "description": "Get a Design System prefixed number field template.",
3084
+ "return": {
3085
+ "type": {
3086
+ "text": ""
3087
+ }
3212
3088
  }
3213
3089
  },
3214
3090
  {
3215
- "kind": "js",
3216
- "name": "SelectFormatterParams",
3217
- "declaration": {
3218
- "name": "SelectFormatterParams",
3219
- "module": "src/cell-formatters/index.ts"
3220
- }
3221
- },
3091
+ "kind": "variable",
3092
+ "name": "foundationNumberEditor",
3093
+ "description": "Definition for the number editor component"
3094
+ }
3095
+ ],
3096
+ "exports": [
3222
3097
  {
3223
3098
  "kind": "js",
3224
- "name": "selectFormatter",
3099
+ "name": "NumberEditor",
3225
3100
  "declaration": {
3226
- "name": "selectFormatter",
3227
- "module": "src/cell-formatters/index.ts"
3101
+ "name": "NumberEditor",
3102
+ "module": "src/cell-editors/number.editor.ts"
3228
3103
  }
3229
3104
  },
3230
3105
  {
3231
3106
  "kind": "js",
3232
- "name": "TextFormatterParams",
3107
+ "name": "numberEditorStyles",
3233
3108
  "declaration": {
3234
- "name": "TextFormatterParams",
3235
- "module": "src/cell-formatters/index.ts"
3109
+ "name": "numberEditorStyles",
3110
+ "module": "src/cell-editors/number.editor.ts"
3236
3111
  }
3237
3112
  },
3238
3113
  {
3239
3114
  "kind": "js",
3240
- "name": "textFormatter",
3115
+ "name": "getNumberEditorTemplate",
3241
3116
  "declaration": {
3242
- "name": "textFormatter",
3243
- "module": "src/cell-formatters/index.ts"
3117
+ "name": "getNumberEditorTemplate",
3118
+ "module": "src/cell-editors/number.editor.ts"
3244
3119
  }
3245
3120
  },
3246
3121
  {
3247
3122
  "kind": "js",
3248
- "name": "formatters",
3123
+ "name": "foundationNumberEditor",
3249
3124
  "declaration": {
3250
- "name": "formatters",
3251
- "module": "src/cell-formatters/index.ts"
3125
+ "name": "foundationNumberEditor",
3126
+ "module": "src/cell-editors/number.editor.ts"
3252
3127
  }
3253
3128
  }
3254
3129
  ]
3255
3130
  },
3256
3131
  {
3257
3132
  "kind": "javascript-module",
3258
- "path": "src/cell-formatters/select.formatter.ts",
3133
+ "path": "src/cell-editors/select.editor.ts",
3259
3134
  "declarations": [
3260
3135
  {
3261
- "kind": "function",
3262
- "name": "selectFormatter",
3263
- "return": {
3264
- "type": {
3265
- "text": ""
3266
- }
3267
- },
3268
- "parameters": [
3136
+ "kind": "class",
3137
+ "description": "The select editor class for grid-tabulator",
3138
+ "name": "SelectEditor",
3139
+ "members": [
3269
3140
  {
3270
- "name": "cell",
3141
+ "kind": "field",
3142
+ "name": "params",
3143
+ "type": {
3144
+ "text": "SelectEditorParams"
3145
+ }
3146
+ },
3147
+ {
3148
+ "kind": "field",
3149
+ "name": "select",
3271
3150
  "type": {
3272
3151
  "text": "any"
3152
+ }
3153
+ },
3154
+ {
3155
+ "kind": "method",
3156
+ "name": "init",
3157
+ "parameters": [
3158
+ {
3159
+ "name": "params",
3160
+ "type": {
3161
+ "text": "SelectEditorParams"
3162
+ }
3163
+ }
3164
+ ],
3165
+ "description": "Initialize the editor with parameters"
3166
+ },
3167
+ {
3168
+ "kind": "method",
3169
+ "name": "getValue",
3170
+ "description": "Get current value"
3171
+ },
3172
+ {
3173
+ "kind": "method",
3174
+ "name": "focus",
3175
+ "description": "Set focus to the select"
3176
+ },
3177
+ {
3178
+ "kind": "method",
3179
+ "name": "handleKeyDown",
3180
+ "parameters": [
3181
+ {
3182
+ "name": "event",
3183
+ "type": {
3184
+ "text": "KeyboardEvent"
3185
+ }
3186
+ }
3187
+ ],
3188
+ "description": "Process key down events"
3189
+ },
3190
+ {
3191
+ "kind": "method",
3192
+ "name": "handleChange",
3193
+ "description": "Handle change event"
3194
+ },
3195
+ {
3196
+ "kind": "field",
3197
+ "name": "_presentation",
3198
+ "type": {
3199
+ "text": "ComponentPresentation | null | undefined"
3273
3200
  },
3274
- "description": "The cell component provided by Tabulator"
3201
+ "privacy": "private",
3202
+ "default": "void 0",
3203
+ "inheritedFrom": {
3204
+ "name": "FoundationElement",
3205
+ "module": "src/foundation-element/foundation-element.ts"
3206
+ }
3275
3207
  },
3276
3208
  {
3277
- "name": "formatterParams",
3209
+ "kind": "field",
3210
+ "name": "$presentation",
3278
3211
  "type": {
3279
- "text": "SelectFormatterParams<T>"
3212
+ "text": "ComponentPresentation | null"
3280
3213
  },
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": [
3289
- {
3290
- "kind": "js",
3291
- "name": "selectFormatter",
3292
- "declaration": {
3293
- "name": "selectFormatter",
3294
- "module": "src/cell-formatters/select.formatter.ts"
3214
+ "privacy": "public",
3215
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3216
+ "inheritedFrom": {
3217
+ "name": "FoundationElement",
3218
+ "module": "src/foundation-element/foundation-element.ts"
3219
+ }
3220
+ },
3221
+ {
3222
+ "kind": "field",
3223
+ "name": "template",
3224
+ "type": {
3225
+ "text": "ElementViewTemplate | void | null"
3226
+ },
3227
+ "privacy": "public",
3228
+ "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.",
3229
+ "inheritedFrom": {
3230
+ "name": "FoundationElement",
3231
+ "module": "src/foundation-element/foundation-element.ts"
3232
+ }
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "templateChanged",
3237
+ "privacy": "protected",
3238
+ "return": {
3239
+ "type": {
3240
+ "text": "void"
3241
+ }
3242
+ },
3243
+ "inheritedFrom": {
3244
+ "name": "FoundationElement",
3245
+ "module": "src/foundation-element/foundation-element.ts"
3246
+ }
3247
+ },
3248
+ {
3249
+ "kind": "field",
3250
+ "name": "styles",
3251
+ "type": {
3252
+ "text": "ElementStyles | void | null"
3253
+ },
3254
+ "privacy": "public",
3255
+ "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.",
3256
+ "inheritedFrom": {
3257
+ "name": "FoundationElement",
3258
+ "module": "src/foundation-element/foundation-element.ts"
3259
+ }
3260
+ },
3261
+ {
3262
+ "kind": "method",
3263
+ "name": "stylesChanged",
3264
+ "privacy": "protected",
3265
+ "return": {
3266
+ "type": {
3267
+ "text": "void"
3268
+ }
3269
+ },
3270
+ "inheritedFrom": {
3271
+ "name": "FoundationElement",
3272
+ "module": "src/foundation-element/foundation-element.ts"
3273
+ }
3274
+ },
3275
+ {
3276
+ "kind": "method",
3277
+ "name": "compose",
3278
+ "privacy": "public",
3279
+ "static": true,
3280
+ "return": {
3281
+ "type": {
3282
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3283
+ }
3284
+ },
3285
+ "parameters": [
3286
+ {
3287
+ "name": "this",
3288
+ "type": {
3289
+ "text": "K"
3290
+ }
3291
+ },
3292
+ {
3293
+ "name": "elementDefinition",
3294
+ "type": {
3295
+ "text": "T"
3296
+ },
3297
+ "description": "The definition of the element to create the registry\nfunction for."
3298
+ }
3299
+ ],
3300
+ "description": "Defines an element registry function with a set of element definition defaults.",
3301
+ "inheritedFrom": {
3302
+ "name": "FoundationElement",
3303
+ "module": "src/foundation-element/foundation-element.ts"
3304
+ }
3305
+ }
3306
+ ],
3307
+ "superclass": {
3308
+ "name": "FoundationElement",
3309
+ "package": "@microsoft/fast-foundation"
3295
3310
  }
3296
- }
3297
- ]
3298
- },
3299
- {
3300
- "kind": "javascript-module",
3301
- "path": "src/cell-formatters/text.formatter.ts",
3302
- "declarations": [
3311
+ },
3312
+ {
3313
+ "kind": "variable",
3314
+ "name": "selectEditorStyles",
3315
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3316
+ "description": "Styles for the select editor"
3317
+ },
3303
3318
  {
3304
3319
  "kind": "function",
3305
- "name": "textFormatter",
3320
+ "name": "getSelectEditorTemplate",
3321
+ "parameters": [
3322
+ {
3323
+ "name": "prefix",
3324
+ "default": "'foundation'",
3325
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3326
+ }
3327
+ ],
3328
+ "description": "Get a Design System prefixed Select template.",
3306
3329
  "return": {
3307
3330
  "type": {
3308
3331
  "text": ""
3309
3332
  }
3310
3333
  },
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
3334
  "privacy": "public"
3335
+ },
3336
+ {
3337
+ "kind": "variable",
3338
+ "name": "foundationSelectEditor",
3339
+ "description": "Definition for the select editor component"
3330
3340
  }
3331
3341
  ],
3332
3342
  "exports": [
3333
3343
  {
3334
3344
  "kind": "js",
3335
- "name": "textFormatter",
3345
+ "name": "SelectEditor",
3336
3346
  "declaration": {
3337
- "name": "textFormatter",
3338
- "module": "src/cell-formatters/text.formatter.ts"
3347
+ "name": "SelectEditor",
3348
+ "module": "src/cell-editors/select.editor.ts"
3349
+ }
3350
+ },
3351
+ {
3352
+ "kind": "js",
3353
+ "name": "selectEditorStyles",
3354
+ "declaration": {
3355
+ "name": "selectEditorStyles",
3356
+ "module": "src/cell-editors/select.editor.ts"
3357
+ }
3358
+ },
3359
+ {
3360
+ "kind": "js",
3361
+ "name": "getSelectEditorTemplate",
3362
+ "declaration": {
3363
+ "name": "getSelectEditorTemplate",
3364
+ "module": "src/cell-editors/select.editor.ts"
3365
+ }
3366
+ },
3367
+ {
3368
+ "kind": "js",
3369
+ "name": "foundationSelectEditor",
3370
+ "declaration": {
3371
+ "name": "foundationSelectEditor",
3372
+ "module": "src/cell-editors/select.editor.ts"
3339
3373
  }
3340
3374
  }
3341
3375
  ]
3342
3376
  },
3343
3377
  {
3344
3378
  "kind": "javascript-module",
3345
- "path": "src/column/column.ts",
3379
+ "path": "src/cell-editors/string.editor.ts",
3346
3380
  "declarations": [
3347
3381
  {
3348
3382
  "kind": "class",
3349
- "description": "The GridTabulator Column element.",
3350
- "name": "GridTabulatorColumn",
3383
+ "description": "The string editor class for grid-tabulator",
3384
+ "name": "StringEditor",
3351
3385
  "members": [
3352
3386
  {
3353
3387
  "kind": "field",
3354
- "name": "slottedCell",
3388
+ "name": "params",
3355
3389
  "type": {
3356
- "text": "HTMLElement[]"
3357
- },
3358
- "privacy": "public"
3390
+ "text": "StringEditorParams"
3391
+ }
3359
3392
  },
3360
3393
  {
3361
3394
  "kind": "field",
3362
- "name": "definition",
3395
+ "name": "textField",
3363
3396
  "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"
3397
+ "text": "any"
3384
3398
  }
3385
3399
  },
3386
3400
  {
3387
3401
  "kind": "method",
3388
- "name": "cloneNode",
3389
- "return": {
3390
- "type": {
3391
- "text": "Node"
3392
- }
3393
- },
3402
+ "name": "init",
3394
3403
  "parameters": [
3395
3404
  {
3396
- "name": "deep",
3397
- "optional": true,
3405
+ "name": "params",
3398
3406
  "type": {
3399
- "text": "boolean"
3407
+ "text": "StringEditorParams"
3400
3408
  }
3401
3409
  }
3402
3410
  ],
3403
- "inheritedFrom": {
3404
- "name": "LifecycleMixin",
3405
- "module": "src/mixins/lifecycle/lifecycle.ts"
3406
- }
3411
+ "description": "Initialize the editor with parameters"
3407
3412
  },
3408
3413
  {
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
- }
3414
+ "kind": "method",
3415
+ "name": "getValue",
3416
+ "description": "Get current value"
3421
3417
  },
3422
3418
  {
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
- }
3419
+ "kind": "method",
3420
+ "name": "focus",
3421
+ "description": "Set focus to the input"
3435
3422
  },
3436
3423
  {
3437
3424
  "kind": "method",
3438
- "name": "#_blockLifecycleDueToTokenChange",
3439
- "return": {
3440
- "type": {
3441
- "text": "boolean"
3442
- }
3443
- },
3425
+ "name": "handleKeyDown",
3444
3426
  "parameters": [
3445
3427
  {
3446
- "name": "lifecycleType",
3428
+ "name": "event",
3447
3429
  "type": {
3448
- "text": "Lifecycletype"
3430
+ "text": "KeyboardEvent"
3449
3431
  }
3450
3432
  }
3451
3433
  ],
3452
- "inheritedFrom": {
3453
- "name": "LifecycleMixin",
3454
- "module": "src/mixins/lifecycle/lifecycle.ts"
3455
- }
3434
+ "description": "Process key down events"
3456
3435
  },
3457
3436
  {
3458
3437
  "kind": "field",
@@ -3566,50 +3545,71 @@
3566
3545
  }
3567
3546
  }
3568
3547
  ],
3569
- "mixins": [
3570
- {
3571
- "name": "LifecycleMixin",
3572
- "package": "@genesislcap/foundation-utils"
3573
- }
3574
- ],
3575
3548
  "superclass": {
3576
3549
  "name": "FoundationElement",
3577
3550
  "package": "@microsoft/fast-foundation"
3578
- },
3579
- "tagName": "grid-tabulator-column",
3580
- "customElement": true
3551
+ }
3552
+ },
3553
+ {
3554
+ "kind": "variable",
3555
+ "name": "stringEditorStyles",
3556
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3557
+ "description": "Styles for the string editor"
3558
+ },
3559
+ {
3560
+ "kind": "function",
3561
+ "name": "getStringEditorTemplate",
3562
+ "parameters": [
3563
+ {
3564
+ "name": "prefix",
3565
+ "default": "'foundation'",
3566
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3567
+ }
3568
+ ],
3569
+ "description": "Get a Design System prefixed text field template.",
3570
+ "return": {
3571
+ "type": {
3572
+ "text": ""
3573
+ }
3574
+ }
3575
+ },
3576
+ {
3577
+ "kind": "variable",
3578
+ "name": "foundationStringEditor",
3579
+ "description": "Definition for the string editor component"
3581
3580
  }
3582
3581
  ],
3583
3582
  "exports": [
3584
3583
  {
3585
3584
  "kind": "js",
3586
- "name": "GridTabulatorColumn",
3585
+ "name": "StringEditor",
3587
3586
  "declaration": {
3588
- "name": "GridTabulatorColumn",
3589
- "module": "src/column/column.ts"
3587
+ "name": "StringEditor",
3588
+ "module": "src/cell-editors/string.editor.ts"
3590
3589
  }
3591
3590
  },
3592
3591
  {
3593
- "kind": "custom-element-definition",
3594
- "name": "grid-tabulator-column",
3592
+ "kind": "js",
3593
+ "name": "stringEditorStyles",
3595
3594
  "declaration": {
3596
- "name": "GridTabulatorColumn",
3597
- "module": "src/column/column.ts"
3595
+ "name": "stringEditorStyles",
3596
+ "module": "src/cell-editors/string.editor.ts"
3598
3597
  }
3599
- }
3600
- ]
3601
- },
3602
- {
3603
- "kind": "javascript-module",
3604
- "path": "src/column/index.ts",
3605
- "declarations": [],
3606
- "exports": [
3598
+ },
3607
3599
  {
3608
3600
  "kind": "js",
3609
- "name": "*",
3601
+ "name": "getStringEditorTemplate",
3610
3602
  "declaration": {
3611
- "name": "*",
3612
- "package": "./column"
3603
+ "name": "getStringEditorTemplate",
3604
+ "module": "src/cell-editors/string.editor.ts"
3605
+ }
3606
+ },
3607
+ {
3608
+ "kind": "js",
3609
+ "name": "foundationStringEditor",
3610
+ "declaration": {
3611
+ "name": "foundationStringEditor",
3612
+ "module": "src/cell-editors/string.editor.ts"
3613
3613
  }
3614
3614
  }
3615
3615
  ]