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