@genesislcap/grid-tabulator 14.478.1-alpha-14e77dd.0 → 14.479.0

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 +881 -881
  2. package/package.json +13 -13
@@ -1657,515 +1657,383 @@
1657
1657
  },
1658
1658
  {
1659
1659
  "kind": "javascript-module",
1660
- "path": "src/cell-formatters/action.formatter.ts",
1660
+ "path": "src/cell-editors/date.editor.ts",
1661
1661
  "declarations": [
1662
1662
  {
1663
- "kind": "function",
1664
- "name": "actionFormatter",
1665
- "return": {
1666
- "type": {
1667
- "text": ""
1668
- }
1669
- },
1670
- "parameters": [
1663
+ "kind": "class",
1664
+ "description": "The date editor class for grid-tabulator",
1665
+ "name": "DateEditor",
1666
+ "members": [
1671
1667
  {
1672
- "name": "cell",
1668
+ "kind": "field",
1669
+ "name": "params",
1670
+ "type": {
1671
+ "text": "DateEditorParams"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "dateField",
1673
1677
  "type": {
1674
1678
  "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"
1675
1727
  },
1676
- "description": "The cell component provided by Tabulator"
1728
+ "privacy": "private",
1729
+ "default": "void 0",
1730
+ "inheritedFrom": {
1731
+ "name": "FoundationElement",
1732
+ "module": "src/foundation-element/foundation-element.ts"
1733
+ }
1677
1734
  },
1678
1735
  {
1679
- "name": "formatterParams",
1680
- "default": "{}",
1736
+ "kind": "field",
1737
+ "name": "$presentation",
1681
1738
  "type": {
1682
- "text": "ActionFormatterParams<T>"
1739
+ "text": "ComponentPresentation | null"
1683
1740
  },
1684
- "description": "Action formatter parameters"
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
+ },
1770
+ "inheritedFrom": {
1771
+ "name": "FoundationElement",
1772
+ "module": "src/foundation-element/foundation-element.ts"
1773
+ }
1774
+ },
1775
+ {
1776
+ "kind": "field",
1777
+ "name": "styles",
1778
+ "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
+ }
1811
+ },
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
+ }
1685
1832
  }
1686
1833
  ],
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": [
1692
- {
1693
- "kind": "js",
1694
- "name": "actionFormatter",
1695
- "declaration": {
1696
- "name": "actionFormatter",
1697
- "module": "src/cell-formatters/action.formatter.ts"
1834
+ "superclass": {
1835
+ "name": "FoundationElement",
1836
+ "package": "@microsoft/fast-foundation"
1698
1837
  }
1699
- }
1700
- ]
1701
- },
1702
- {
1703
- "kind": "javascript-module",
1704
- "path": "src/cell-formatters/actions-menu.formatter.ts",
1705
- "declarations": [
1838
+ },
1839
+ {
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
+ },
1706
1845
  {
1707
1846
  "kind": "function",
1708
- "name": "actionsMenuFormatter",
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.",
1709
1856
  "return": {
1710
1857
  "type": {
1711
1858
  "text": ""
1712
1859
  }
1713
1860
  },
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.",
1732
1861
  "privacy": "public"
1862
+ },
1863
+ {
1864
+ "kind": "variable",
1865
+ "name": "foundationDateEditor",
1866
+ "description": "Definition for the date editor component"
1733
1867
  }
1734
1868
  ],
1735
1869
  "exports": [
1736
1870
  {
1737
1871
  "kind": "js",
1738
- "name": "actionsMenuFormatter",
1872
+ "name": "DateEditor",
1739
1873
  "declaration": {
1740
- "name": "actionsMenuFormatter",
1741
- "module": "src/cell-formatters/actions-menu.formatter.ts"
1874
+ "name": "DateEditor",
1875
+ "module": "src/cell-editors/date.editor.ts"
1742
1876
  }
1743
- }
1744
- ]
1745
- },
1746
- {
1747
- "kind": "javascript-module",
1748
- "path": "src/cell-formatters/boolean.formatter.ts",
1749
- "declarations": [
1750
- {
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": [
1877
+ },
1780
1878
  {
1781
1879
  "kind": "js",
1782
- "name": "booleanFormatter",
1880
+ "name": "dateEditorStyles",
1783
1881
  "declaration": {
1784
- "name": "booleanFormatter",
1785
- "module": "src/cell-formatters/boolean.formatter.ts"
1882
+ "name": "dateEditorStyles",
1883
+ "module": "src/cell-editors/date.editor.ts"
1786
1884
  }
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": [
1885
+ },
1800
1886
  {
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": [
1887
+ "kind": "js",
1888
+ "name": "getDateEditorTemplate",
1889
+ "declaration": {
1890
+ "name": "getDateEditorTemplate",
1891
+ "module": "src/cell-editors/date.editor.ts"
1892
+ }
1893
+ },
1830
1894
  {
1831
1895
  "kind": "js",
1832
- "name": "editableFormatter",
1896
+ "name": "foundationDateEditor",
1833
1897
  "declaration": {
1834
- "name": "editableFormatter",
1835
- "module": "src/cell-formatters/editable.formatter.ts"
1898
+ "name": "foundationDateEditor",
1899
+ "module": "src/cell-editors/date.editor.ts"
1836
1900
  }
1837
1901
  }
1838
1902
  ]
1839
1903
  },
1840
1904
  {
1841
1905
  "kind": "javascript-module",
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
- ],
1906
+ "path": "src/cell-editors/index.ts",
1907
+ "declarations": [],
1854
1908
  "exports": [
1855
1909
  {
1856
1910
  "kind": "js",
1857
1911
  "name": "*",
1858
1912
  "declaration": {
1859
1913
  "name": "*",
1860
- "package": "./constants"
1861
- }
1862
- },
1863
- {
1864
- "kind": "js",
1865
- "name": "ActionFormatterParams",
1866
- "declaration": {
1867
- "name": "ActionFormatterParams",
1868
- "module": "src/cell-formatters/index.ts"
1869
- }
1870
- },
1871
- {
1872
- "kind": "js",
1873
- "name": "actionFormatter",
1874
- "declaration": {
1875
- "name": "actionFormatter",
1876
- "module": "src/cell-formatters/index.ts"
1877
- }
1878
- },
1879
- {
1880
- "kind": "js",
1881
- "name": "ActionsMenuFormatterParams",
1882
- "declaration": {
1883
- "name": "ActionsMenuFormatterParams",
1884
- "module": "src/cell-formatters/index.ts"
1885
- }
1886
- },
1887
- {
1888
- "kind": "js",
1889
- "name": "actionsMenuFormatter",
1890
- "declaration": {
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"
1914
+ "package": "./date.editor"
1933
1915
  }
1934
1916
  },
1935
1917
  {
1936
1918
  "kind": "js",
1937
- "name": "selectFormatter",
1919
+ "name": "*",
1938
1920
  "declaration": {
1939
- "name": "selectFormatter",
1940
- "module": "src/cell-formatters/index.ts"
1921
+ "name": "*",
1922
+ "package": "./number.editor"
1941
1923
  }
1942
1924
  },
1943
1925
  {
1944
1926
  "kind": "js",
1945
- "name": "TextFormatterParams",
1927
+ "name": "*",
1946
1928
  "declaration": {
1947
- "name": "TextFormatterParams",
1948
- "module": "src/cell-formatters/index.ts"
1929
+ "name": "*",
1930
+ "package": "./select.editor"
1949
1931
  }
1950
1932
  },
1951
1933
  {
1952
1934
  "kind": "js",
1953
- "name": "textFormatter",
1935
+ "name": "*",
1954
1936
  "declaration": {
1955
- "name": "textFormatter",
1956
- "module": "src/cell-formatters/index.ts"
1937
+ "name": "*",
1938
+ "package": "./string.editor"
1957
1939
  }
1958
1940
  },
1959
1941
  {
1960
1942
  "kind": "js",
1961
- "name": "formatters",
1943
+ "name": "*",
1962
1944
  "declaration": {
1963
- "name": "formatters",
1964
- "module": "src/cell-formatters/index.ts"
1945
+ "name": "*",
1946
+ "package": "./multiselect.editor"
1965
1947
  }
1966
1948
  }
1967
1949
  ]
1968
1950
  },
1969
1951
  {
1970
1952
  "kind": "javascript-module",
1971
- "path": "src/cell-formatters/select.formatter.ts",
1953
+ "path": "src/cell-editors/multiselect.editor.ts",
1972
1954
  "declarations": [
1973
1955
  {
1974
- "kind": "function",
1975
- "name": "selectFormatter",
1976
- "return": {
1977
- "type": {
1978
- "text": ""
1979
- }
1980
- },
1981
- "parameters": [
1956
+ "kind": "class",
1957
+ "description": "The multiselect editor class for grid-tabulator",
1958
+ "name": "MultiselectEditor",
1959
+ "members": [
1982
1960
  {
1983
- "name": "cell",
1961
+ "kind": "field",
1962
+ "name": "params",
1984
1963
  "type": {
1985
- "text": "any"
1986
- },
1987
- "description": "The cell component provided by Tabulator"
1964
+ "text": "MultiselectEditorParams"
1965
+ }
1988
1966
  },
1989
1967
  {
1990
- "name": "formatterParams",
1968
+ "kind": "field",
1969
+ "name": "select",
1991
1970
  "type": {
1992
- "text": "SelectFormatterParams<T>"
1971
+ "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
+ }
1993
1994
  },
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"
1995
+ "description": "Get current values"
2085
1996
  },
2086
1997
  {
2087
1998
  "kind": "method",
2088
- "name": "deepClone",
2089
- "return": {
2090
- "type": {
2091
- "text": "Node"
2092
- }
2093
- },
2094
- "inheritedFrom": {
2095
- "name": "LifecycleMixin",
2096
- "module": "src/mixins/lifecycle/lifecycle.ts"
2097
- }
1999
+ "name": "focus",
2000
+ "description": "Set focus to the select"
2098
2001
  },
2099
2002
  {
2100
2003
  "kind": "method",
2101
- "name": "cloneNode",
2004
+ "name": "isSelected",
2102
2005
  "return": {
2103
2006
  "type": {
2104
- "text": "Node"
2007
+ "text": "boolean"
2105
2008
  }
2106
2009
  },
2107
2010
  "parameters": [
2108
2011
  {
2109
- "name": "deep",
2110
- "optional": true,
2012
+ "name": "value",
2111
2013
  "type": {
2112
- "text": "boolean"
2014
+ "text": "string | number"
2113
2015
  }
2114
2016
  }
2115
2017
  ],
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
- }
2018
+ "description": "Check if a value is selected"
2148
2019
  },
2149
2020
  {
2150
2021
  "kind": "method",
2151
- "name": "#_blockLifecycleDueToTokenChange",
2152
- "return": {
2153
- "type": {
2154
- "text": "boolean"
2155
- }
2156
- },
2022
+ "name": "handleKeyDown",
2157
2023
  "parameters": [
2158
2024
  {
2159
- "name": "lifecycleType",
2025
+ "name": "event",
2160
2026
  "type": {
2161
- "text": "Lifecycletype"
2027
+ "text": "KeyboardEvent"
2162
2028
  }
2163
2029
  }
2164
2030
  ],
2165
- "inheritedFrom": {
2166
- "name": "LifecycleMixin",
2167
- "module": "src/mixins/lifecycle/lifecycle.ts"
2168
- }
2031
+ "description": "Process key down events"
2032
+ },
2033
+ {
2034
+ "kind": "method",
2035
+ "name": "handleChange",
2036
+ "description": "Handle change event to save when selection changes"
2169
2037
  },
2170
2038
  {
2171
2039
  "kind": "field",
@@ -2279,73 +2147,94 @@
2279
2147
  }
2280
2148
  }
2281
2149
  ],
2282
- "mixins": [
2283
- {
2284
- "name": "LifecycleMixin",
2285
- "package": "@genesislcap/foundation-utils"
2286
- }
2287
- ],
2288
2150
  "superclass": {
2289
2151
  "name": "FoundationElement",
2290
2152
  "package": "@microsoft/fast-foundation"
2291
- },
2292
- "tagName": "grid-tabulator-column",
2293
- "customElement": true
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": [
2165
+ {
2166
+ "name": "prefix",
2167
+ "default": "'foundation'",
2168
+ "description": "The design system prefix to use. Defaults to 'foundation'."
2169
+ }
2170
+ ],
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"
2294
2182
  }
2295
2183
  ],
2296
2184
  "exports": [
2297
2185
  {
2298
2186
  "kind": "js",
2299
- "name": "GridTabulatorColumn",
2187
+ "name": "MultiselectEditor",
2300
2188
  "declaration": {
2301
- "name": "GridTabulatorColumn",
2302
- "module": "src/column/column.ts"
2189
+ "name": "MultiselectEditor",
2190
+ "module": "src/cell-editors/multiselect.editor.ts"
2303
2191
  }
2304
2192
  },
2305
2193
  {
2306
- "kind": "custom-element-definition",
2307
- "name": "grid-tabulator-column",
2194
+ "kind": "js",
2195
+ "name": "multiselectEditorStyles",
2308
2196
  "declaration": {
2309
- "name": "GridTabulatorColumn",
2310
- "module": "src/column/column.ts"
2197
+ "name": "multiselectEditorStyles",
2198
+ "module": "src/cell-editors/multiselect.editor.ts"
2311
2199
  }
2312
- }
2313
- ]
2314
- },
2315
- {
2316
- "kind": "javascript-module",
2317
- "path": "src/column/index.ts",
2318
- "declarations": [],
2319
- "exports": [
2200
+ },
2320
2201
  {
2321
2202
  "kind": "js",
2322
- "name": "*",
2203
+ "name": "getMultiselectEditorTemplate",
2323
2204
  "declaration": {
2324
- "name": "*",
2325
- "package": "./column"
2205
+ "name": "getMultiselectEditorTemplate",
2206
+ "module": "src/cell-editors/multiselect.editor.ts"
2207
+ }
2208
+ },
2209
+ {
2210
+ "kind": "js",
2211
+ "name": "foundationMultiselectEditor",
2212
+ "declaration": {
2213
+ "name": "foundationMultiselectEditor",
2214
+ "module": "src/cell-editors/multiselect.editor.ts"
2326
2215
  }
2327
2216
  }
2328
2217
  ]
2329
2218
  },
2330
2219
  {
2331
2220
  "kind": "javascript-module",
2332
- "path": "src/cell-editors/date.editor.ts",
2221
+ "path": "src/cell-editors/number.editor.ts",
2333
2222
  "declarations": [
2334
2223
  {
2335
2224
  "kind": "class",
2336
- "description": "The date editor class for grid-tabulator",
2337
- "name": "DateEditor",
2225
+ "description": "The number editor class for grid-tabulator",
2226
+ "name": "NumberEditor",
2338
2227
  "members": [
2339
2228
  {
2340
2229
  "kind": "field",
2341
2230
  "name": "params",
2342
2231
  "type": {
2343
- "text": "DateEditorParams"
2232
+ "text": "NumberEditorParams"
2344
2233
  }
2345
2234
  },
2346
2235
  {
2347
2236
  "kind": "field",
2348
- "name": "dateField",
2237
+ "name": "numberField",
2349
2238
  "type": {
2350
2239
  "text": "any"
2351
2240
  }
@@ -2357,7 +2246,7 @@
2357
2246
  {
2358
2247
  "name": "params",
2359
2248
  "type": {
2360
- "text": "DateEditorParams"
2249
+ "text": "NumberEditorParams"
2361
2250
  }
2362
2251
  }
2363
2252
  ],
@@ -2368,11 +2257,6 @@
2368
2257
  "name": "getValue",
2369
2258
  "description": "Get current value"
2370
2259
  },
2371
- {
2372
- "kind": "method",
2373
- "name": "getFormattedValue",
2374
- "description": "Format value for display"
2375
- },
2376
2260
  {
2377
2261
  "kind": "method",
2378
2262
  "name": "focus",
@@ -2510,13 +2394,13 @@
2510
2394
  },
2511
2395
  {
2512
2396
  "kind": "variable",
2513
- "name": "dateEditorStyles",
2397
+ "name": "numberEditorStyles",
2514
2398
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2515
- "description": "Styles for the date editor"
2399
+ "description": "Styles for the number editor"
2516
2400
  },
2517
2401
  {
2518
2402
  "kind": "function",
2519
- "name": "getDateEditorTemplate",
2403
+ "name": "getNumberEditorTemplate",
2520
2404
  "parameters": [
2521
2405
  {
2522
2406
  "name": "prefix",
@@ -2524,116 +2408,68 @@
2524
2408
  "description": "The design system prefix to use. Defaults to 'foundation'."
2525
2409
  }
2526
2410
  ],
2527
- "description": "Get a Design System prefixed date field template.",
2411
+ "description": "Get a Design System prefixed number field template.",
2528
2412
  "return": {
2529
2413
  "type": {
2530
2414
  "text": ""
2531
2415
  }
2532
- },
2533
- "privacy": "public"
2416
+ }
2534
2417
  },
2535
2418
  {
2536
2419
  "kind": "variable",
2537
- "name": "foundationDateEditor",
2538
- "description": "Definition for the date editor component"
2420
+ "name": "foundationNumberEditor",
2421
+ "description": "Definition for the number editor component"
2539
2422
  }
2540
2423
  ],
2541
2424
  "exports": [
2542
2425
  {
2543
2426
  "kind": "js",
2544
- "name": "DateEditor",
2545
- "declaration": {
2546
- "name": "DateEditor",
2547
- "module": "src/cell-editors/date.editor.ts"
2548
- }
2549
- },
2550
- {
2551
- "kind": "js",
2552
- "name": "dateEditorStyles",
2553
- "declaration": {
2554
- "name": "dateEditorStyles",
2555
- "module": "src/cell-editors/date.editor.ts"
2556
- }
2557
- },
2558
- {
2559
- "kind": "js",
2560
- "name": "getDateEditorTemplate",
2561
- "declaration": {
2562
- "name": "getDateEditorTemplate",
2563
- "module": "src/cell-editors/date.editor.ts"
2564
- }
2565
- },
2566
- {
2567
- "kind": "js",
2568
- "name": "foundationDateEditor",
2569
- "declaration": {
2570
- "name": "foundationDateEditor",
2571
- "module": "src/cell-editors/date.editor.ts"
2572
- }
2573
- }
2574
- ]
2575
- },
2576
- {
2577
- "kind": "javascript-module",
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": "*",
2427
+ "name": "NumberEditor",
2592
2428
  "declaration": {
2593
- "name": "*",
2594
- "package": "./number.editor"
2429
+ "name": "NumberEditor",
2430
+ "module": "src/cell-editors/number.editor.ts"
2595
2431
  }
2596
2432
  },
2597
2433
  {
2598
2434
  "kind": "js",
2599
- "name": "*",
2435
+ "name": "numberEditorStyles",
2600
2436
  "declaration": {
2601
- "name": "*",
2602
- "package": "./select.editor"
2437
+ "name": "numberEditorStyles",
2438
+ "module": "src/cell-editors/number.editor.ts"
2603
2439
  }
2604
2440
  },
2605
2441
  {
2606
2442
  "kind": "js",
2607
- "name": "*",
2443
+ "name": "getNumberEditorTemplate",
2608
2444
  "declaration": {
2609
- "name": "*",
2610
- "package": "./string.editor"
2445
+ "name": "getNumberEditorTemplate",
2446
+ "module": "src/cell-editors/number.editor.ts"
2611
2447
  }
2612
2448
  },
2613
2449
  {
2614
2450
  "kind": "js",
2615
- "name": "*",
2451
+ "name": "foundationNumberEditor",
2616
2452
  "declaration": {
2617
- "name": "*",
2618
- "package": "./multiselect.editor"
2453
+ "name": "foundationNumberEditor",
2454
+ "module": "src/cell-editors/number.editor.ts"
2619
2455
  }
2620
2456
  }
2621
2457
  ]
2622
2458
  },
2623
2459
  {
2624
2460
  "kind": "javascript-module",
2625
- "path": "src/cell-editors/multiselect.editor.ts",
2461
+ "path": "src/cell-editors/select.editor.ts",
2626
2462
  "declarations": [
2627
2463
  {
2628
2464
  "kind": "class",
2629
- "description": "The multiselect editor class for grid-tabulator",
2630
- "name": "MultiselectEditor",
2465
+ "description": "The select editor class for grid-tabulator",
2466
+ "name": "SelectEditor",
2631
2467
  "members": [
2632
2468
  {
2633
2469
  "kind": "field",
2634
2470
  "name": "params",
2635
2471
  "type": {
2636
- "text": "MultiselectEditorParams"
2472
+ "text": "SelectEditorParams"
2637
2473
  }
2638
2474
  },
2639
2475
  {
@@ -2650,7 +2486,7 @@
2650
2486
  {
2651
2487
  "name": "params",
2652
2488
  "type": {
2653
- "text": "MultiselectEditorParams"
2489
+ "text": "SelectEditorParams"
2654
2490
  }
2655
2491
  }
2656
2492
  ],
@@ -2658,37 +2494,14 @@
2658
2494
  },
2659
2495
  {
2660
2496
  "kind": "method",
2661
- "name": "getValues",
2662
- "return": {
2663
- "type": {
2664
- "text": "(string | number)[]"
2665
- }
2666
- },
2667
- "description": "Get current values"
2497
+ "name": "getValue",
2498
+ "description": "Get current value"
2668
2499
  },
2669
2500
  {
2670
2501
  "kind": "method",
2671
2502
  "name": "focus",
2672
2503
  "description": "Set focus to the select"
2673
2504
  },
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
- },
2692
2505
  {
2693
2506
  "kind": "method",
2694
2507
  "name": "handleKeyDown",
@@ -2705,7 +2518,7 @@
2705
2518
  {
2706
2519
  "kind": "method",
2707
2520
  "name": "handleChange",
2708
- "description": "Handle change event to save when selection changes"
2521
+ "description": "Handle change event"
2709
2522
  },
2710
2523
  {
2711
2524
  "kind": "field",
@@ -2826,13 +2639,13 @@
2826
2639
  },
2827
2640
  {
2828
2641
  "kind": "variable",
2829
- "name": "multiselectEditorStyles",
2642
+ "name": "selectEditorStyles",
2830
2643
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2831
- "description": "Styles for the multiselect editor"
2644
+ "description": "Styles for the select editor"
2832
2645
  },
2833
2646
  {
2834
2647
  "kind": "function",
2835
- "name": "getMultiselectEditorTemplate",
2648
+ "name": "getSelectEditorTemplate",
2836
2649
  "parameters": [
2837
2650
  {
2838
2651
  "name": "prefix",
@@ -2845,68 +2658,69 @@
2845
2658
  "type": {
2846
2659
  "text": ""
2847
2660
  }
2848
- }
2661
+ },
2662
+ "privacy": "public"
2849
2663
  },
2850
2664
  {
2851
2665
  "kind": "variable",
2852
- "name": "foundationMultiselectEditor",
2853
- "description": "Definition for the multiselect editor component"
2666
+ "name": "foundationSelectEditor",
2667
+ "description": "Definition for the select editor component"
2854
2668
  }
2855
2669
  ],
2856
2670
  "exports": [
2857
2671
  {
2858
2672
  "kind": "js",
2859
- "name": "MultiselectEditor",
2673
+ "name": "SelectEditor",
2860
2674
  "declaration": {
2861
- "name": "MultiselectEditor",
2862
- "module": "src/cell-editors/multiselect.editor.ts"
2675
+ "name": "SelectEditor",
2676
+ "module": "src/cell-editors/select.editor.ts"
2863
2677
  }
2864
2678
  },
2865
2679
  {
2866
2680
  "kind": "js",
2867
- "name": "multiselectEditorStyles",
2681
+ "name": "selectEditorStyles",
2868
2682
  "declaration": {
2869
- "name": "multiselectEditorStyles",
2870
- "module": "src/cell-editors/multiselect.editor.ts"
2683
+ "name": "selectEditorStyles",
2684
+ "module": "src/cell-editors/select.editor.ts"
2871
2685
  }
2872
2686
  },
2873
2687
  {
2874
2688
  "kind": "js",
2875
- "name": "getMultiselectEditorTemplate",
2689
+ "name": "getSelectEditorTemplate",
2876
2690
  "declaration": {
2877
- "name": "getMultiselectEditorTemplate",
2878
- "module": "src/cell-editors/multiselect.editor.ts"
2691
+ "name": "getSelectEditorTemplate",
2692
+ "module": "src/cell-editors/select.editor.ts"
2879
2693
  }
2880
2694
  },
2881
2695
  {
2882
2696
  "kind": "js",
2883
- "name": "foundationMultiselectEditor",
2697
+ "name": "foundationSelectEditor",
2884
2698
  "declaration": {
2885
- "name": "foundationMultiselectEditor",
2886
- "module": "src/cell-editors/multiselect.editor.ts"
2699
+ "name": "foundationSelectEditor",
2700
+ "module": "src/cell-editors/select.editor.ts"
2887
2701
  }
2888
2702
  }
2889
2703
  ]
2890
2704
  },
2891
2705
  {
2892
2706
  "kind": "javascript-module",
2893
- "path": "src/cell-editors/number.editor.ts",
2707
+ "path": "src/cell-editors/string.editor.ts",
2894
2708
  "declarations": [
2895
2709
  {
2896
2710
  "kind": "class",
2897
- "description": "The number editor class for grid-tabulator",
2898
- "name": "NumberEditor",
2711
+ "description": "The string editor class for grid-tabulator",
2712
+ "name": "StringEditor",
2899
2713
  "members": [
2900
2714
  {
2901
2715
  "kind": "field",
2902
2716
  "name": "params",
2903
2717
  "type": {
2904
- "text": "NumberEditorParams"
2718
+ "text": "StringEditorParams"
2905
2719
  }
2906
2720
  },
2907
2721
  {
2908
2722
  "kind": "field",
2909
- "name": "numberField",
2723
+ "name": "textField",
2910
2724
  "type": {
2911
2725
  "text": "any"
2912
2726
  }
@@ -2918,7 +2732,7 @@
2918
2732
  {
2919
2733
  "name": "params",
2920
2734
  "type": {
2921
- "text": "NumberEditorParams"
2735
+ "text": "StringEditorParams"
2922
2736
  }
2923
2737
  }
2924
2738
  ],
@@ -3065,373 +2879,580 @@
3065
2879
  }
3066
2880
  },
3067
2881
  {
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"
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"
3196
+ }
3197
+ },
3198
+ {
3199
+ "kind": "js",
3200
+ "name": "EditableFormatterParams",
3201
+ "declaration": {
3202
+ "name": "EditableFormatterParams",
3203
+ "module": "src/cell-formatters/index.ts"
3204
+ }
3072
3205
  },
3073
3206
  {
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
- }
3207
+ "kind": "js",
3208
+ "name": "editableFormatter",
3209
+ "declaration": {
3210
+ "name": "editableFormatter",
3211
+ "module": "src/cell-formatters/index.ts"
3088
3212
  }
3089
3213
  },
3090
3214
  {
3091
- "kind": "variable",
3092
- "name": "foundationNumberEditor",
3093
- "description": "Definition for the number editor component"
3094
- }
3095
- ],
3096
- "exports": [
3215
+ "kind": "js",
3216
+ "name": "SelectFormatterParams",
3217
+ "declaration": {
3218
+ "name": "SelectFormatterParams",
3219
+ "module": "src/cell-formatters/index.ts"
3220
+ }
3221
+ },
3097
3222
  {
3098
3223
  "kind": "js",
3099
- "name": "NumberEditor",
3224
+ "name": "selectFormatter",
3100
3225
  "declaration": {
3101
- "name": "NumberEditor",
3102
- "module": "src/cell-editors/number.editor.ts"
3226
+ "name": "selectFormatter",
3227
+ "module": "src/cell-formatters/index.ts"
3103
3228
  }
3104
3229
  },
3105
3230
  {
3106
3231
  "kind": "js",
3107
- "name": "numberEditorStyles",
3232
+ "name": "TextFormatterParams",
3108
3233
  "declaration": {
3109
- "name": "numberEditorStyles",
3110
- "module": "src/cell-editors/number.editor.ts"
3234
+ "name": "TextFormatterParams",
3235
+ "module": "src/cell-formatters/index.ts"
3111
3236
  }
3112
3237
  },
3113
3238
  {
3114
3239
  "kind": "js",
3115
- "name": "getNumberEditorTemplate",
3240
+ "name": "textFormatter",
3116
3241
  "declaration": {
3117
- "name": "getNumberEditorTemplate",
3118
- "module": "src/cell-editors/number.editor.ts"
3242
+ "name": "textFormatter",
3243
+ "module": "src/cell-formatters/index.ts"
3119
3244
  }
3120
3245
  },
3121
3246
  {
3122
3247
  "kind": "js",
3123
- "name": "foundationNumberEditor",
3248
+ "name": "formatters",
3124
3249
  "declaration": {
3125
- "name": "foundationNumberEditor",
3126
- "module": "src/cell-editors/number.editor.ts"
3250
+ "name": "formatters",
3251
+ "module": "src/cell-formatters/index.ts"
3127
3252
  }
3128
3253
  }
3129
3254
  ]
3130
3255
  },
3131
3256
  {
3132
3257
  "kind": "javascript-module",
3133
- "path": "src/cell-editors/select.editor.ts",
3258
+ "path": "src/cell-formatters/select.formatter.ts",
3134
3259
  "declarations": [
3135
3260
  {
3136
- "kind": "class",
3137
- "description": "The select editor class for grid-tabulator",
3138
- "name": "SelectEditor",
3139
- "members": [
3140
- {
3141
- "kind": "field",
3142
- "name": "params",
3143
- "type": {
3144
- "text": "SelectEditorParams"
3145
- }
3146
- },
3261
+ "kind": "function",
3262
+ "name": "selectFormatter",
3263
+ "return": {
3264
+ "type": {
3265
+ "text": ""
3266
+ }
3267
+ },
3268
+ "parameters": [
3147
3269
  {
3148
- "kind": "field",
3149
- "name": "select",
3270
+ "name": "cell",
3150
3271
  "type": {
3151
3272
  "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"
3200
- },
3201
- "privacy": "private",
3202
- "default": "void 0",
3203
- "inheritedFrom": {
3204
- "name": "FoundationElement",
3205
- "module": "src/foundation-element/foundation-element.ts"
3206
- }
3207
- },
3208
- {
3209
- "kind": "field",
3210
- "name": "$presentation",
3211
- "type": {
3212
- "text": "ComponentPresentation | null"
3213
- },
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
3273
  },
3243
- "inheritedFrom": {
3244
- "name": "FoundationElement",
3245
- "module": "src/foundation-element/foundation-element.ts"
3246
- }
3274
+ "description": "The cell component provided by Tabulator"
3247
3275
  },
3248
3276
  {
3249
- "kind": "field",
3250
- "name": "styles",
3277
+ "name": "formatterParams",
3251
3278
  "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
- }
3279
+ "text": "SelectFormatterParams<T>"
3284
3280
  },
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
- }
3281
+ "description": "Select formatter parameters"
3305
3282
  }
3306
3283
  ],
3307
- "superclass": {
3308
- "name": "FoundationElement",
3309
- "package": "@microsoft/fast-foundation"
3310
- }
3311
- },
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": [
3312
3289
  {
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
- },
3290
+ "kind": "js",
3291
+ "name": "selectFormatter",
3292
+ "declaration": {
3293
+ "name": "selectFormatter",
3294
+ "module": "src/cell-formatters/select.formatter.ts"
3295
+ }
3296
+ }
3297
+ ]
3298
+ },
3299
+ {
3300
+ "kind": "javascript-module",
3301
+ "path": "src/cell-formatters/text.formatter.ts",
3302
+ "declarations": [
3318
3303
  {
3319
3304
  "kind": "function",
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.",
3305
+ "name": "textFormatter",
3329
3306
  "return": {
3330
3307
  "type": {
3331
3308
  "text": ""
3332
3309
  }
3333
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.",
3334
3329
  "privacy": "public"
3335
- },
3336
- {
3337
- "kind": "variable",
3338
- "name": "foundationSelectEditor",
3339
- "description": "Definition for the select editor component"
3340
3330
  }
3341
3331
  ],
3342
3332
  "exports": [
3343
3333
  {
3344
3334
  "kind": "js",
3345
- "name": "SelectEditor",
3346
- "declaration": {
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",
3335
+ "name": "textFormatter",
3370
3336
  "declaration": {
3371
- "name": "foundationSelectEditor",
3372
- "module": "src/cell-editors/select.editor.ts"
3337
+ "name": "textFormatter",
3338
+ "module": "src/cell-formatters/text.formatter.ts"
3373
3339
  }
3374
3340
  }
3375
3341
  ]
3376
3342
  },
3377
3343
  {
3378
3344
  "kind": "javascript-module",
3379
- "path": "src/cell-editors/string.editor.ts",
3345
+ "path": "src/column/column.ts",
3380
3346
  "declarations": [
3381
3347
  {
3382
3348
  "kind": "class",
3383
- "description": "The string editor class for grid-tabulator",
3384
- "name": "StringEditor",
3349
+ "description": "The GridTabulator Column element.",
3350
+ "name": "GridTabulatorColumn",
3385
3351
  "members": [
3386
3352
  {
3387
3353
  "kind": "field",
3388
- "name": "params",
3354
+ "name": "slottedCell",
3389
3355
  "type": {
3390
- "text": "StringEditorParams"
3391
- }
3356
+ "text": "HTMLElement[]"
3357
+ },
3358
+ "privacy": "public"
3392
3359
  },
3393
3360
  {
3394
3361
  "kind": "field",
3395
- "name": "textField",
3362
+ "name": "definition",
3396
3363
  "type": {
3397
- "text": "any"
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"
3398
3384
  }
3399
3385
  },
3400
3386
  {
3401
3387
  "kind": "method",
3402
- "name": "init",
3388
+ "name": "cloneNode",
3389
+ "return": {
3390
+ "type": {
3391
+ "text": "Node"
3392
+ }
3393
+ },
3403
3394
  "parameters": [
3404
3395
  {
3405
- "name": "params",
3396
+ "name": "deep",
3397
+ "optional": true,
3406
3398
  "type": {
3407
- "text": "StringEditorParams"
3399
+ "text": "boolean"
3408
3400
  }
3409
3401
  }
3410
3402
  ],
3411
- "description": "Initialize the editor with parameters"
3403
+ "inheritedFrom": {
3404
+ "name": "LifecycleMixin",
3405
+ "module": "src/mixins/lifecycle/lifecycle.ts"
3406
+ }
3412
3407
  },
3413
3408
  {
3414
- "kind": "method",
3415
- "name": "getValue",
3416
- "description": "Get current value"
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
+ }
3417
3421
  },
3418
3422
  {
3419
- "kind": "method",
3420
- "name": "focus",
3421
- "description": "Set focus to the input"
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
+ }
3422
3435
  },
3423
3436
  {
3424
3437
  "kind": "method",
3425
- "name": "handleKeyDown",
3438
+ "name": "#_blockLifecycleDueToTokenChange",
3439
+ "return": {
3440
+ "type": {
3441
+ "text": "boolean"
3442
+ }
3443
+ },
3426
3444
  "parameters": [
3427
3445
  {
3428
- "name": "event",
3446
+ "name": "lifecycleType",
3429
3447
  "type": {
3430
- "text": "KeyboardEvent"
3448
+ "text": "Lifecycletype"
3431
3449
  }
3432
3450
  }
3433
3451
  ],
3434
- "description": "Process key down events"
3452
+ "inheritedFrom": {
3453
+ "name": "LifecycleMixin",
3454
+ "module": "src/mixins/lifecycle/lifecycle.ts"
3455
+ }
3435
3456
  },
3436
3457
  {
3437
3458
  "kind": "field",
@@ -3545,71 +3566,50 @@
3545
3566
  }
3546
3567
  }
3547
3568
  ],
3548
- "superclass": {
3549
- "name": "FoundationElement",
3550
- "package": "@microsoft/fast-foundation"
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": [
3569
+ "mixins": [
3563
3570
  {
3564
- "name": "prefix",
3565
- "default": "'foundation'",
3566
- "description": "The design system prefix to use. Defaults to 'foundation'."
3571
+ "name": "LifecycleMixin",
3572
+ "package": "@genesislcap/foundation-utils"
3567
3573
  }
3568
3574
  ],
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"
3575
+ "superclass": {
3576
+ "name": "FoundationElement",
3577
+ "package": "@microsoft/fast-foundation"
3578
+ },
3579
+ "tagName": "grid-tabulator-column",
3580
+ "customElement": true
3580
3581
  }
3581
3582
  ],
3582
3583
  "exports": [
3583
3584
  {
3584
3585
  "kind": "js",
3585
- "name": "StringEditor",
3586
- "declaration": {
3587
- "name": "StringEditor",
3588
- "module": "src/cell-editors/string.editor.ts"
3589
- }
3590
- },
3591
- {
3592
- "kind": "js",
3593
- "name": "stringEditorStyles",
3586
+ "name": "GridTabulatorColumn",
3594
3587
  "declaration": {
3595
- "name": "stringEditorStyles",
3596
- "module": "src/cell-editors/string.editor.ts"
3588
+ "name": "GridTabulatorColumn",
3589
+ "module": "src/column/column.ts"
3597
3590
  }
3598
3591
  },
3599
3592
  {
3600
- "kind": "js",
3601
- "name": "getStringEditorTemplate",
3593
+ "kind": "custom-element-definition",
3594
+ "name": "grid-tabulator-column",
3602
3595
  "declaration": {
3603
- "name": "getStringEditorTemplate",
3604
- "module": "src/cell-editors/string.editor.ts"
3596
+ "name": "GridTabulatorColumn",
3597
+ "module": "src/column/column.ts"
3605
3598
  }
3606
- },
3599
+ }
3600
+ ]
3601
+ },
3602
+ {
3603
+ "kind": "javascript-module",
3604
+ "path": "src/column/index.ts",
3605
+ "declarations": [],
3606
+ "exports": [
3607
3607
  {
3608
3608
  "kind": "js",
3609
- "name": "foundationStringEditor",
3609
+ "name": "*",
3610
3610
  "declaration": {
3611
- "name": "foundationStringEditor",
3612
- "module": "src/cell-editors/string.editor.ts"
3611
+ "name": "*",
3612
+ "package": "./column"
3613
3613
  }
3614
3614
  }
3615
3615
  ]