@genesislcap/grid-tabulator 14.437.6 → 14.437.7-alpha-32e8d53.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,515 +1419,621 @@
1419
1419
  },
1420
1420
  {
1421
1421
  "kind": "javascript-module",
1422
- "path": "src/cell-formatters/action.formatter.ts",
1422
+ "path": "src/cell/cell.ts",
1423
1423
  "declarations": [
1424
1424
  {
1425
- "kind": "function",
1426
- "name": "actionFormatter",
1427
- "return": {
1428
- "type": {
1429
- "text": ""
1430
- }
1431
- },
1432
- "parameters": [
1425
+ "kind": "class",
1426
+ "description": "The GridTabulator Cell element.",
1427
+ "name": "GridTabulatorCell",
1428
+ "members": [
1433
1429
  {
1434
- "name": "cell",
1430
+ "kind": "field",
1431
+ "name": "renderer",
1435
1432
  "type": {
1436
- "text": "any"
1433
+ "text": "CellRendererFunc"
1437
1434
  },
1438
- "description": "The cell component provided by Tabulator"
1435
+ "privacy": "public"
1439
1436
  },
1440
1437
  {
1441
- "name": "formatterParams",
1442
- "default": "{}",
1438
+ "kind": "field",
1439
+ "name": "rendererParams",
1443
1440
  "type": {
1444
- "text": "ActionFormatterParams<T>"
1441
+ "text": "CellRendererParams"
1445
1442
  },
1446
- "description": "Action formatter parameters"
1447
- }
1448
- ],
1449
- "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
1450
- "privacy": "public"
1451
- }
1452
- ],
1453
- "exports": [
1454
- {
1455
- "kind": "js",
1456
- "name": "actionFormatter",
1457
- "declaration": {
1458
- "name": "actionFormatter",
1459
- "module": "src/cell-formatters/action.formatter.ts"
1460
- }
1461
- }
1462
- ]
1463
- },
1464
- {
1465
- "kind": "javascript-module",
1466
- "path": "src/cell-formatters/actions-menu.formatter.ts",
1467
- "declarations": [
1468
- {
1469
- "kind": "function",
1470
- "name": "actionsMenuFormatter",
1471
- "return": {
1472
- "type": {
1473
- "text": ""
1474
- }
1475
- },
1476
- "parameters": [
1443
+ "privacy": "public"
1444
+ },
1477
1445
  {
1478
- "name": "cell",
1446
+ "kind": "field",
1447
+ "name": "slottedRenderer",
1479
1448
  "type": {
1480
- "text": "any"
1449
+ "text": "HTMLElement[]"
1481
1450
  },
1482
- "description": "The cell component provided by Tabulator"
1451
+ "privacy": "public"
1483
1452
  },
1484
1453
  {
1485
- "name": "formatterParams",
1486
- "default": "{}",
1454
+ "kind": "method",
1455
+ "name": "init",
1456
+ "privacy": "public",
1457
+ "parameters": [
1458
+ {
1459
+ "name": "params",
1460
+ "type": {
1461
+ "text": "CellRendererParams"
1462
+ }
1463
+ }
1464
+ ]
1465
+ },
1466
+ {
1467
+ "kind": "method",
1468
+ "name": "getElement",
1469
+ "privacy": "public",
1470
+ "return": {
1471
+ "type": {
1472
+ "text": "HTMLElement"
1473
+ }
1474
+ }
1475
+ },
1476
+ {
1477
+ "kind": "method",
1478
+ "name": "destroy",
1479
+ "privacy": "public"
1480
+ },
1481
+ {
1482
+ "kind": "method",
1483
+ "name": "refresh",
1484
+ "privacy": "public",
1485
+ "return": {
1486
+ "type": {
1487
+ "text": "boolean"
1488
+ }
1489
+ },
1490
+ "parameters": [
1491
+ {
1492
+ "name": "params",
1493
+ "type": {
1494
+ "text": "CellRendererParams"
1495
+ }
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "kind": "method",
1501
+ "name": "slottedRendererChanged",
1502
+ "privacy": "public"
1503
+ },
1504
+ {
1505
+ "kind": "field",
1506
+ "name": "_presentation",
1487
1507
  "type": {
1488
- "text": "ActionsMenuFormatterParams<T>"
1508
+ "text": "ComponentPresentation | null | undefined"
1489
1509
  },
1490
- "description": "Actions menu formatter parameters"
1510
+ "privacy": "private",
1511
+ "default": "void 0",
1512
+ "inheritedFrom": {
1513
+ "name": "FoundationElement",
1514
+ "module": "src/foundation-element/foundation-element.ts"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "field",
1519
+ "name": "$presentation",
1520
+ "type": {
1521
+ "text": "ComponentPresentation | null"
1522
+ },
1523
+ "privacy": "public",
1524
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1525
+ "inheritedFrom": {
1526
+ "name": "FoundationElement",
1527
+ "module": "src/foundation-element/foundation-element.ts"
1528
+ }
1529
+ },
1530
+ {
1531
+ "kind": "field",
1532
+ "name": "template",
1533
+ "type": {
1534
+ "text": "ElementViewTemplate | void | null"
1535
+ },
1536
+ "privacy": "public",
1537
+ "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.",
1538
+ "inheritedFrom": {
1539
+ "name": "FoundationElement",
1540
+ "module": "src/foundation-element/foundation-element.ts"
1541
+ }
1542
+ },
1543
+ {
1544
+ "kind": "method",
1545
+ "name": "templateChanged",
1546
+ "privacy": "protected",
1547
+ "return": {
1548
+ "type": {
1549
+ "text": "void"
1550
+ }
1551
+ },
1552
+ "inheritedFrom": {
1553
+ "name": "FoundationElement",
1554
+ "module": "src/foundation-element/foundation-element.ts"
1555
+ }
1556
+ },
1557
+ {
1558
+ "kind": "field",
1559
+ "name": "styles",
1560
+ "type": {
1561
+ "text": "ElementStyles | void | null"
1562
+ },
1563
+ "privacy": "public",
1564
+ "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.",
1565
+ "inheritedFrom": {
1566
+ "name": "FoundationElement",
1567
+ "module": "src/foundation-element/foundation-element.ts"
1568
+ }
1569
+ },
1570
+ {
1571
+ "kind": "method",
1572
+ "name": "stylesChanged",
1573
+ "privacy": "protected",
1574
+ "return": {
1575
+ "type": {
1576
+ "text": "void"
1577
+ }
1578
+ },
1579
+ "inheritedFrom": {
1580
+ "name": "FoundationElement",
1581
+ "module": "src/foundation-element/foundation-element.ts"
1582
+ }
1583
+ },
1584
+ {
1585
+ "kind": "method",
1586
+ "name": "compose",
1587
+ "privacy": "public",
1588
+ "static": true,
1589
+ "return": {
1590
+ "type": {
1591
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1592
+ }
1593
+ },
1594
+ "parameters": [
1595
+ {
1596
+ "name": "this",
1597
+ "type": {
1598
+ "text": "K"
1599
+ }
1600
+ },
1601
+ {
1602
+ "name": "elementDefinition",
1603
+ "type": {
1604
+ "text": "T"
1605
+ },
1606
+ "description": "The definition of the element to create the registry\nfunction for."
1607
+ }
1608
+ ],
1609
+ "description": "Defines an element registry function with a set of element definition defaults.",
1610
+ "inheritedFrom": {
1611
+ "name": "FoundationElement",
1612
+ "module": "src/foundation-element/foundation-element.ts"
1613
+ }
1491
1614
  }
1492
1615
  ],
1493
- "description": "Formatter that displays a dropdown menu of actions in the cell.\nStyled to match grid-pro actions-menu renderer.",
1494
- "privacy": "public"
1616
+ "superclass": {
1617
+ "name": "FoundationElement",
1618
+ "package": "@microsoft/fast-foundation"
1619
+ },
1620
+ "tagName": "grid-tabulator-cell",
1621
+ "customElement": true
1495
1622
  }
1496
1623
  ],
1497
1624
  "exports": [
1498
1625
  {
1499
1626
  "kind": "js",
1500
- "name": "actionsMenuFormatter",
1627
+ "name": "GridTabulatorCell",
1501
1628
  "declaration": {
1502
- "name": "actionsMenuFormatter",
1503
- "module": "src/cell-formatters/actions-menu.formatter.ts"
1629
+ "name": "GridTabulatorCell",
1630
+ "module": "src/cell/cell.ts"
1631
+ }
1632
+ },
1633
+ {
1634
+ "kind": "custom-element-definition",
1635
+ "name": "grid-tabulator-cell",
1636
+ "declaration": {
1637
+ "name": "GridTabulatorCell",
1638
+ "module": "src/cell/cell.ts"
1504
1639
  }
1505
1640
  }
1506
1641
  ]
1507
1642
  },
1508
1643
  {
1509
1644
  "kind": "javascript-module",
1510
- "path": "src/cell-formatters/boolean.formatter.ts",
1511
- "declarations": [
1512
- {
1513
- "kind": "function",
1514
- "name": "booleanFormatter",
1515
- "return": {
1516
- "type": {
1517
- "text": ""
1518
- }
1519
- },
1520
- "parameters": [
1521
- {
1522
- "name": "cell",
1523
- "type": {
1524
- "text": "any"
1525
- },
1526
- "description": "The cell component provided by Tabulator"
1527
- },
1528
- {
1529
- "name": "formatterParams",
1530
- "default": "{}",
1531
- "type": {
1532
- "text": "BooleanFormatterParams<T>"
1533
- },
1534
- "description": "Boolean formatter parameters"
1535
- }
1536
- ],
1537
- "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
1538
- "privacy": "public"
1539
- }
1540
- ],
1541
- "exports": [
1645
+ "path": "src/cell/index.ts",
1646
+ "declarations": [],
1647
+ "exports": [
1542
1648
  {
1543
1649
  "kind": "js",
1544
- "name": "booleanFormatter",
1650
+ "name": "*",
1545
1651
  "declaration": {
1546
- "name": "booleanFormatter",
1547
- "module": "src/cell-formatters/boolean.formatter.ts"
1652
+ "name": "*",
1653
+ "package": "./cell"
1548
1654
  }
1549
1655
  }
1550
1656
  ]
1551
1657
  },
1552
1658
  {
1553
1659
  "kind": "javascript-module",
1554
- "path": "src/cell-formatters/constants.ts",
1555
- "declarations": [],
1556
- "exports": []
1557
- },
1558
- {
1559
- "kind": "javascript-module",
1560
- "path": "src/cell-formatters/editable.formatter.ts",
1660
+ "path": "src/cell-editors/date.editor.ts",
1561
1661
  "declarations": [
1562
1662
  {
1563
- "kind": "function",
1564
- "name": "editableFormatter",
1565
- "return": {
1566
- "type": {
1567
- "text": ""
1568
- }
1569
- },
1570
- "parameters": [
1663
+ "kind": "class",
1664
+ "description": "The date editor class for grid-tabulator",
1665
+ "name": "DateEditor",
1666
+ "members": [
1571
1667
  {
1572
- "name": "cell",
1668
+ "kind": "field",
1669
+ "name": "params",
1670
+ "type": {
1671
+ "text": "DateEditorParams"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "dateField",
1573
1677
  "type": {
1574
1678
  "text": "any"
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "method",
1683
+ "name": "init",
1684
+ "parameters": [
1685
+ {
1686
+ "name": "params",
1687
+ "type": {
1688
+ "text": "DateEditorParams"
1689
+ }
1690
+ }
1691
+ ],
1692
+ "description": "Initialize the editor with parameters"
1693
+ },
1694
+ {
1695
+ "kind": "method",
1696
+ "name": "getValue",
1697
+ "description": "Get current value"
1698
+ },
1699
+ {
1700
+ "kind": "method",
1701
+ "name": "getFormattedValue",
1702
+ "description": "Format value for display"
1703
+ },
1704
+ {
1705
+ "kind": "method",
1706
+ "name": "focus",
1707
+ "description": "Set focus to the input"
1708
+ },
1709
+ {
1710
+ "kind": "method",
1711
+ "name": "handleKeyDown",
1712
+ "parameters": [
1713
+ {
1714
+ "name": "event",
1715
+ "type": {
1716
+ "text": "KeyboardEvent"
1717
+ }
1718
+ }
1719
+ ],
1720
+ "description": "Process key down events"
1721
+ },
1722
+ {
1723
+ "kind": "field",
1724
+ "name": "_presentation",
1725
+ "type": {
1726
+ "text": "ComponentPresentation | null | undefined"
1575
1727
  },
1576
- "description": "The cell component provided by Tabulator"
1728
+ "privacy": "private",
1729
+ "default": "void 0",
1730
+ "inheritedFrom": {
1731
+ "name": "FoundationElement",
1732
+ "module": "src/foundation-element/foundation-element.ts"
1733
+ }
1577
1734
  },
1578
1735
  {
1579
- "name": "formatterParams",
1580
- "default": "{}",
1736
+ "kind": "field",
1737
+ "name": "$presentation",
1581
1738
  "type": {
1582
- "text": "EditableFormatterParams<T>"
1739
+ "text": "ComponentPresentation | null"
1583
1740
  },
1584
- "description": "Editable formatter parameters"
1741
+ "privacy": "public",
1742
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1743
+ "inheritedFrom": {
1744
+ "name": "FoundationElement",
1745
+ "module": "src/foundation-element/foundation-element.ts"
1746
+ }
1747
+ },
1748
+ {
1749
+ "kind": "field",
1750
+ "name": "template",
1751
+ "type": {
1752
+ "text": "ElementViewTemplate | void | null"
1753
+ },
1754
+ "privacy": "public",
1755
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1756
+ "inheritedFrom": {
1757
+ "name": "FoundationElement",
1758
+ "module": "src/foundation-element/foundation-element.ts"
1759
+ }
1760
+ },
1761
+ {
1762
+ "kind": "method",
1763
+ "name": "templateChanged",
1764
+ "privacy": "protected",
1765
+ "return": {
1766
+ "type": {
1767
+ "text": "void"
1768
+ }
1769
+ },
1770
+ "inheritedFrom": {
1771
+ "name": "FoundationElement",
1772
+ "module": "src/foundation-element/foundation-element.ts"
1773
+ }
1774
+ },
1775
+ {
1776
+ "kind": "field",
1777
+ "name": "styles",
1778
+ "type": {
1779
+ "text": "ElementStyles | void | null"
1780
+ },
1781
+ "privacy": "public",
1782
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1783
+ "inheritedFrom": {
1784
+ "name": "FoundationElement",
1785
+ "module": "src/foundation-element/foundation-element.ts"
1786
+ }
1787
+ },
1788
+ {
1789
+ "kind": "method",
1790
+ "name": "stylesChanged",
1791
+ "privacy": "protected",
1792
+ "return": {
1793
+ "type": {
1794
+ "text": "void"
1795
+ }
1796
+ },
1797
+ "inheritedFrom": {
1798
+ "name": "FoundationElement",
1799
+ "module": "src/foundation-element/foundation-element.ts"
1800
+ }
1801
+ },
1802
+ {
1803
+ "kind": "method",
1804
+ "name": "compose",
1805
+ "privacy": "public",
1806
+ "static": true,
1807
+ "return": {
1808
+ "type": {
1809
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1810
+ }
1811
+ },
1812
+ "parameters": [
1813
+ {
1814
+ "name": "this",
1815
+ "type": {
1816
+ "text": "K"
1817
+ }
1818
+ },
1819
+ {
1820
+ "name": "elementDefinition",
1821
+ "type": {
1822
+ "text": "T"
1823
+ },
1824
+ "description": "The definition of the element to create the registry\nfunction for."
1825
+ }
1826
+ ],
1827
+ "description": "Defines an element registry function with a set of element definition defaults.",
1828
+ "inheritedFrom": {
1829
+ "name": "FoundationElement",
1830
+ "module": "src/foundation-element/foundation-element.ts"
1831
+ }
1585
1832
  }
1586
1833
  ],
1587
- "description": "Formatter that displays an editable cell with validation state",
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": [
1849
+ {
1850
+ "name": "prefix",
1851
+ "default": "'foundation'",
1852
+ "description": "The design system prefix to use. Defaults to 'foundation'."
1853
+ }
1854
+ ],
1855
+ "description": "Get a Design System prefixed date field template.",
1856
+ "return": {
1857
+ "type": {
1858
+ "text": ""
1859
+ }
1860
+ },
1588
1861
  "privacy": "public"
1862
+ },
1863
+ {
1864
+ "kind": "variable",
1865
+ "name": "foundationDateEditor",
1866
+ "description": "Definition for the date editor component"
1589
1867
  }
1590
1868
  ],
1591
1869
  "exports": [
1592
1870
  {
1593
1871
  "kind": "js",
1594
- "name": "editableFormatter",
1872
+ "name": "DateEditor",
1595
1873
  "declaration": {
1596
- "name": "editableFormatter",
1597
- "module": "src/cell-formatters/editable.formatter.ts"
1598
- }
1599
- }
1600
- ]
1601
- },
1602
- {
1603
- "kind": "javascript-module",
1604
- "path": "src/cell-formatters/index.ts",
1605
- "declarations": [
1606
- {
1607
- "kind": "variable",
1608
- "name": "formatters",
1609
- "type": {
1610
- "text": "object"
1611
- },
1612
- "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
1613
- "description": "Zero formatters for Tabulator grid"
1614
- }
1615
- ],
1616
- "exports": [
1617
- {
1618
- "kind": "js",
1619
- "name": "*",
1620
- "declaration": {
1621
- "name": "*",
1622
- "package": "./constants"
1623
- }
1624
- },
1625
- {
1626
- "kind": "js",
1627
- "name": "ActionFormatterParams",
1628
- "declaration": {
1629
- "name": "ActionFormatterParams",
1630
- "module": "src/cell-formatters/index.ts"
1631
- }
1632
- },
1633
- {
1634
- "kind": "js",
1635
- "name": "actionFormatter",
1636
- "declaration": {
1637
- "name": "actionFormatter",
1638
- "module": "src/cell-formatters/index.ts"
1639
- }
1640
- },
1641
- {
1642
- "kind": "js",
1643
- "name": "ActionsMenuFormatterParams",
1644
- "declaration": {
1645
- "name": "ActionsMenuFormatterParams",
1646
- "module": "src/cell-formatters/index.ts"
1647
- }
1648
- },
1649
- {
1650
- "kind": "js",
1651
- "name": "actionsMenuFormatter",
1652
- "declaration": {
1653
- "name": "actionsMenuFormatter",
1654
- "module": "src/cell-formatters/index.ts"
1655
- }
1656
- },
1657
- {
1658
- "kind": "js",
1659
- "name": "BooleanFormatterParams",
1660
- "declaration": {
1661
- "name": "BooleanFormatterParams",
1662
- "module": "src/cell-formatters/index.ts"
1874
+ "name": "DateEditor",
1875
+ "module": "src/cell-editors/date.editor.ts"
1663
1876
  }
1664
1877
  },
1665
1878
  {
1666
1879
  "kind": "js",
1667
- "name": "booleanFormatter",
1880
+ "name": "dateEditorStyles",
1668
1881
  "declaration": {
1669
- "name": "booleanFormatter",
1670
- "module": "src/cell-formatters/index.ts"
1882
+ "name": "dateEditorStyles",
1883
+ "module": "src/cell-editors/date.editor.ts"
1671
1884
  }
1672
1885
  },
1673
1886
  {
1674
1887
  "kind": "js",
1675
- "name": "EditableFormatterParams",
1888
+ "name": "getDateEditorTemplate",
1676
1889
  "declaration": {
1677
- "name": "EditableFormatterParams",
1678
- "module": "src/cell-formatters/index.ts"
1890
+ "name": "getDateEditorTemplate",
1891
+ "module": "src/cell-editors/date.editor.ts"
1679
1892
  }
1680
1893
  },
1681
1894
  {
1682
1895
  "kind": "js",
1683
- "name": "editableFormatter",
1896
+ "name": "foundationDateEditor",
1684
1897
  "declaration": {
1685
- "name": "editableFormatter",
1686
- "module": "src/cell-formatters/index.ts"
1898
+ "name": "foundationDateEditor",
1899
+ "module": "src/cell-editors/date.editor.ts"
1687
1900
  }
1688
- },
1901
+ }
1902
+ ]
1903
+ },
1904
+ {
1905
+ "kind": "javascript-module",
1906
+ "path": "src/cell-editors/index.ts",
1907
+ "declarations": [],
1908
+ "exports": [
1689
1909
  {
1690
1910
  "kind": "js",
1691
- "name": "SelectFormatterParams",
1911
+ "name": "*",
1692
1912
  "declaration": {
1693
- "name": "SelectFormatterParams",
1694
- "module": "src/cell-formatters/index.ts"
1913
+ "name": "*",
1914
+ "package": "./date.editor"
1695
1915
  }
1696
1916
  },
1697
1917
  {
1698
1918
  "kind": "js",
1699
- "name": "selectFormatter",
1919
+ "name": "*",
1700
1920
  "declaration": {
1701
- "name": "selectFormatter",
1702
- "module": "src/cell-formatters/index.ts"
1921
+ "name": "*",
1922
+ "package": "./number.editor"
1703
1923
  }
1704
1924
  },
1705
1925
  {
1706
1926
  "kind": "js",
1707
- "name": "TextFormatterParams",
1927
+ "name": "*",
1708
1928
  "declaration": {
1709
- "name": "TextFormatterParams",
1710
- "module": "src/cell-formatters/index.ts"
1929
+ "name": "*",
1930
+ "package": "./select.editor"
1711
1931
  }
1712
1932
  },
1713
1933
  {
1714
1934
  "kind": "js",
1715
- "name": "textFormatter",
1935
+ "name": "*",
1716
1936
  "declaration": {
1717
- "name": "textFormatter",
1718
- "module": "src/cell-formatters/index.ts"
1937
+ "name": "*",
1938
+ "package": "./string.editor"
1719
1939
  }
1720
1940
  },
1721
1941
  {
1722
1942
  "kind": "js",
1723
- "name": "formatters",
1724
- "declaration": {
1725
- "name": "formatters",
1726
- "module": "src/cell-formatters/index.ts"
1727
- }
1728
- }
1729
- ]
1730
- },
1731
- {
1732
- "kind": "javascript-module",
1733
- "path": "src/cell-formatters/select.formatter.ts",
1734
- "declarations": [
1735
- {
1736
- "kind": "function",
1737
- "name": "selectFormatter",
1738
- "return": {
1739
- "type": {
1740
- "text": ""
1741
- }
1742
- },
1743
- "parameters": [
1744
- {
1745
- "name": "cell",
1746
- "type": {
1747
- "text": "any"
1748
- },
1749
- "description": "The cell component provided by Tabulator"
1750
- },
1751
- {
1752
- "name": "formatterParams",
1753
- "type": {
1754
- "text": "SelectFormatterParams<T>"
1755
- },
1756
- "description": "Select formatter parameters"
1757
- }
1758
- ],
1759
- "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
1760
- "privacy": "public"
1761
- }
1762
- ],
1763
- "exports": [
1764
- {
1765
- "kind": "js",
1766
- "name": "selectFormatter",
1767
- "declaration": {
1768
- "name": "selectFormatter",
1769
- "module": "src/cell-formatters/select.formatter.ts"
1770
- }
1771
- }
1772
- ]
1773
- },
1774
- {
1775
- "kind": "javascript-module",
1776
- "path": "src/cell-formatters/text.formatter.ts",
1777
- "declarations": [
1778
- {
1779
- "kind": "function",
1780
- "name": "textFormatter",
1781
- "return": {
1782
- "type": {
1783
- "text": ""
1784
- }
1785
- },
1786
- "parameters": [
1787
- {
1788
- "name": "cell",
1789
- "type": {
1790
- "text": "any"
1791
- },
1792
- "description": "The cell component provided by Tabulator"
1793
- },
1794
- {
1795
- "name": "formatterParams",
1796
- "default": "{}",
1797
- "type": {
1798
- "text": "TextFormatterParams<T>"
1799
- },
1800
- "description": "Text formatter parameters"
1801
- }
1802
- ],
1803
- "description": "Text formatter for customized display of values.\nStyled to match grid-pro text renderer.",
1804
- "privacy": "public"
1805
- }
1806
- ],
1807
- "exports": [
1808
- {
1809
- "kind": "js",
1810
- "name": "textFormatter",
1943
+ "name": "*",
1811
1944
  "declaration": {
1812
- "name": "textFormatter",
1813
- "module": "src/cell-formatters/text.formatter.ts"
1945
+ "name": "*",
1946
+ "package": "./multiselect.editor"
1814
1947
  }
1815
1948
  }
1816
1949
  ]
1817
1950
  },
1818
1951
  {
1819
1952
  "kind": "javascript-module",
1820
- "path": "src/column/column.ts",
1953
+ "path": "src/cell-editors/multiselect.editor.ts",
1821
1954
  "declarations": [
1822
1955
  {
1823
1956
  "kind": "class",
1824
- "description": "The GridTabulator Column element.",
1825
- "name": "GridTabulatorColumn",
1957
+ "description": "The multiselect editor class for grid-tabulator",
1958
+ "name": "MultiselectEditor",
1826
1959
  "members": [
1827
1960
  {
1828
1961
  "kind": "field",
1829
- "name": "slottedCell",
1962
+ "name": "params",
1830
1963
  "type": {
1831
- "text": "HTMLElement[]"
1832
- },
1833
- "privacy": "public"
1964
+ "text": "MultiselectEditorParams"
1965
+ }
1834
1966
  },
1835
1967
  {
1836
1968
  "kind": "field",
1837
- "name": "definition",
1969
+ "name": "select",
1838
1970
  "type": {
1839
- "text": "Partial<ColumnDefinition>"
1840
- },
1841
- "default": "{}"
1971
+ "text": "any"
1972
+ }
1842
1973
  },
1843
1974
  {
1844
1975
  "kind": "method",
1845
- "name": "slottedCellChanged",
1846
- "privacy": "public"
1976
+ "name": "init",
1977
+ "parameters": [
1978
+ {
1979
+ "name": "params",
1980
+ "type": {
1981
+ "text": "MultiselectEditorParams"
1982
+ }
1983
+ }
1984
+ ],
1985
+ "description": "Initialize the editor with parameters"
1847
1986
  },
1848
1987
  {
1849
1988
  "kind": "method",
1850
- "name": "deepClone",
1989
+ "name": "getValues",
1851
1990
  "return": {
1852
1991
  "type": {
1853
- "text": "Node"
1992
+ "text": "(string | number)[]"
1854
1993
  }
1855
1994
  },
1856
- "inheritedFrom": {
1857
- "name": "LifecycleMixin",
1858
- "module": "src/mixins/lifecycle/lifecycle.ts"
1859
- }
1995
+ "description": "Get current values"
1860
1996
  },
1861
1997
  {
1862
1998
  "kind": "method",
1863
- "name": "cloneNode",
1864
- "return": {
1865
- "type": {
1866
- "text": "Node"
1999
+ "name": "focus",
2000
+ "description": "Set focus to the select"
2001
+ },
2002
+ {
2003
+ "kind": "method",
2004
+ "name": "isSelected",
2005
+ "return": {
2006
+ "type": {
2007
+ "text": "boolean"
1867
2008
  }
1868
2009
  },
1869
2010
  "parameters": [
1870
2011
  {
1871
- "name": "deep",
1872
- "optional": true,
2012
+ "name": "value",
1873
2013
  "type": {
1874
- "text": "boolean"
2014
+ "text": "string | number"
1875
2015
  }
1876
2016
  }
1877
2017
  ],
1878
- "inheritedFrom": {
1879
- "name": "LifecycleMixin",
1880
- "module": "src/mixins/lifecycle/lifecycle.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "field",
1885
- "name": "shouldRunDisconnect",
1886
- "return": {
1887
- "type": {
1888
- "text": ""
1889
- }
1890
- },
1891
- "readonly": true,
1892
- "inheritedFrom": {
1893
- "name": "LifecycleMixin",
1894
- "module": "src/mixins/lifecycle/lifecycle.ts"
1895
- }
1896
- },
1897
- {
1898
- "kind": "field",
1899
- "name": "shouldRunConnect",
1900
- "return": {
1901
- "type": {
1902
- "text": ""
1903
- }
1904
- },
1905
- "readonly": true,
1906
- "inheritedFrom": {
1907
- "name": "LifecycleMixin",
1908
- "module": "src/mixins/lifecycle/lifecycle.ts"
1909
- }
2018
+ "description": "Check if a value is selected"
1910
2019
  },
1911
2020
  {
1912
2021
  "kind": "method",
1913
- "name": "#_blockLifecycleDueToTokenChange",
1914
- "return": {
1915
- "type": {
1916
- "text": "boolean"
1917
- }
1918
- },
2022
+ "name": "handleKeyDown",
1919
2023
  "parameters": [
1920
2024
  {
1921
- "name": "lifecycleType",
2025
+ "name": "event",
1922
2026
  "type": {
1923
- "text": "Lifecycletype"
2027
+ "text": "KeyboardEvent"
1924
2028
  }
1925
2029
  }
1926
2030
  ],
1927
- "inheritedFrom": {
1928
- "name": "LifecycleMixin",
1929
- "module": "src/mixins/lifecycle/lifecycle.ts"
1930
- }
2031
+ "description": "Process key down events"
2032
+ },
2033
+ {
2034
+ "kind": "method",
2035
+ "name": "handleChange",
2036
+ "description": "Handle change event to save when selection changes"
1931
2037
  },
1932
2038
  {
1933
2039
  "kind": "field",
@@ -2041,73 +2147,94 @@
2041
2147
  }
2042
2148
  }
2043
2149
  ],
2044
- "mixins": [
2045
- {
2046
- "name": "LifecycleMixin",
2047
- "package": "@genesislcap/foundation-utils"
2048
- }
2049
- ],
2050
2150
  "superclass": {
2051
2151
  "name": "FoundationElement",
2052
2152
  "package": "@microsoft/fast-foundation"
2053
- },
2054
- "tagName": "grid-tabulator-column",
2055
- "customElement": true
2153
+ }
2154
+ },
2155
+ {
2156
+ "kind": "variable",
2157
+ "name": "multiselectEditorStyles",
2158
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2159
+ "description": "Styles for the multiselect editor"
2160
+ },
2161
+ {
2162
+ "kind": "function",
2163
+ "name": "getMultiselectEditorTemplate",
2164
+ "parameters": [
2165
+ {
2166
+ "name": "prefix",
2167
+ "default": "'foundation'",
2168
+ "description": "The design system prefix to use. Defaults to 'foundation'."
2169
+ }
2170
+ ],
2171
+ "description": "Get a Design System prefixed Select template.",
2172
+ "return": {
2173
+ "type": {
2174
+ "text": ""
2175
+ }
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "variable",
2180
+ "name": "foundationMultiselectEditor",
2181
+ "description": "Definition for the multiselect editor component"
2056
2182
  }
2057
2183
  ],
2058
2184
  "exports": [
2059
2185
  {
2060
2186
  "kind": "js",
2061
- "name": "GridTabulatorColumn",
2187
+ "name": "MultiselectEditor",
2062
2188
  "declaration": {
2063
- "name": "GridTabulatorColumn",
2064
- "module": "src/column/column.ts"
2189
+ "name": "MultiselectEditor",
2190
+ "module": "src/cell-editors/multiselect.editor.ts"
2065
2191
  }
2066
2192
  },
2067
2193
  {
2068
- "kind": "custom-element-definition",
2069
- "name": "grid-tabulator-column",
2194
+ "kind": "js",
2195
+ "name": "multiselectEditorStyles",
2070
2196
  "declaration": {
2071
- "name": "GridTabulatorColumn",
2072
- "module": "src/column/column.ts"
2197
+ "name": "multiselectEditorStyles",
2198
+ "module": "src/cell-editors/multiselect.editor.ts"
2073
2199
  }
2074
- }
2075
- ]
2076
- },
2077
- {
2078
- "kind": "javascript-module",
2079
- "path": "src/column/index.ts",
2080
- "declarations": [],
2081
- "exports": [
2200
+ },
2082
2201
  {
2083
2202
  "kind": "js",
2084
- "name": "*",
2203
+ "name": "getMultiselectEditorTemplate",
2085
2204
  "declaration": {
2086
- "name": "*",
2087
- "package": "./column"
2205
+ "name": "getMultiselectEditorTemplate",
2206
+ "module": "src/cell-editors/multiselect.editor.ts"
2207
+ }
2208
+ },
2209
+ {
2210
+ "kind": "js",
2211
+ "name": "foundationMultiselectEditor",
2212
+ "declaration": {
2213
+ "name": "foundationMultiselectEditor",
2214
+ "module": "src/cell-editors/multiselect.editor.ts"
2088
2215
  }
2089
2216
  }
2090
2217
  ]
2091
2218
  },
2092
2219
  {
2093
2220
  "kind": "javascript-module",
2094
- "path": "src/cell-editors/date.editor.ts",
2221
+ "path": "src/cell-editors/number.editor.ts",
2095
2222
  "declarations": [
2096
2223
  {
2097
2224
  "kind": "class",
2098
- "description": "The date editor class for grid-tabulator",
2099
- "name": "DateEditor",
2225
+ "description": "The number editor class for grid-tabulator",
2226
+ "name": "NumberEditor",
2100
2227
  "members": [
2101
2228
  {
2102
2229
  "kind": "field",
2103
2230
  "name": "params",
2104
2231
  "type": {
2105
- "text": "DateEditorParams"
2232
+ "text": "NumberEditorParams"
2106
2233
  }
2107
2234
  },
2108
2235
  {
2109
2236
  "kind": "field",
2110
- "name": "dateField",
2237
+ "name": "numberField",
2111
2238
  "type": {
2112
2239
  "text": "any"
2113
2240
  }
@@ -2119,7 +2246,7 @@
2119
2246
  {
2120
2247
  "name": "params",
2121
2248
  "type": {
2122
- "text": "DateEditorParams"
2249
+ "text": "NumberEditorParams"
2123
2250
  }
2124
2251
  }
2125
2252
  ],
@@ -2130,11 +2257,6 @@
2130
2257
  "name": "getValue",
2131
2258
  "description": "Get current value"
2132
2259
  },
2133
- {
2134
- "kind": "method",
2135
- "name": "getFormattedValue",
2136
- "description": "Format value for display"
2137
- },
2138
2260
  {
2139
2261
  "kind": "method",
2140
2262
  "name": "focus",
@@ -2272,13 +2394,13 @@
2272
2394
  },
2273
2395
  {
2274
2396
  "kind": "variable",
2275
- "name": "dateEditorStyles",
2397
+ "name": "numberEditorStyles",
2276
2398
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2277
- "description": "Styles for the date editor"
2399
+ "description": "Styles for the number editor"
2278
2400
  },
2279
2401
  {
2280
2402
  "kind": "function",
2281
- "name": "getDateEditorTemplate",
2403
+ "name": "getNumberEditorTemplate",
2282
2404
  "parameters": [
2283
2405
  {
2284
2406
  "name": "prefix",
@@ -2286,116 +2408,68 @@
2286
2408
  "description": "The design system prefix to use. Defaults to 'foundation'."
2287
2409
  }
2288
2410
  ],
2289
- "description": "Get a Design System prefixed date field template.",
2411
+ "description": "Get a Design System prefixed number field template.",
2290
2412
  "return": {
2291
2413
  "type": {
2292
2414
  "text": ""
2293
2415
  }
2294
- },
2295
- "privacy": "public"
2416
+ }
2296
2417
  },
2297
2418
  {
2298
2419
  "kind": "variable",
2299
- "name": "foundationDateEditor",
2300
- "description": "Definition for the date editor component"
2420
+ "name": "foundationNumberEditor",
2421
+ "description": "Definition for the number editor component"
2301
2422
  }
2302
2423
  ],
2303
2424
  "exports": [
2304
2425
  {
2305
2426
  "kind": "js",
2306
- "name": "DateEditor",
2307
- "declaration": {
2308
- "name": "DateEditor",
2309
- "module": "src/cell-editors/date.editor.ts"
2310
- }
2311
- },
2312
- {
2313
- "kind": "js",
2314
- "name": "dateEditorStyles",
2315
- "declaration": {
2316
- "name": "dateEditorStyles",
2317
- "module": "src/cell-editors/date.editor.ts"
2318
- }
2319
- },
2320
- {
2321
- "kind": "js",
2322
- "name": "getDateEditorTemplate",
2323
- "declaration": {
2324
- "name": "getDateEditorTemplate",
2325
- "module": "src/cell-editors/date.editor.ts"
2326
- }
2327
- },
2328
- {
2329
- "kind": "js",
2330
- "name": "foundationDateEditor",
2331
- "declaration": {
2332
- "name": "foundationDateEditor",
2333
- "module": "src/cell-editors/date.editor.ts"
2334
- }
2335
- }
2336
- ]
2337
- },
2338
- {
2339
- "kind": "javascript-module",
2340
- "path": "src/cell-editors/index.ts",
2341
- "declarations": [],
2342
- "exports": [
2343
- {
2344
- "kind": "js",
2345
- "name": "*",
2346
- "declaration": {
2347
- "name": "*",
2348
- "package": "./date.editor"
2349
- }
2350
- },
2351
- {
2352
- "kind": "js",
2353
- "name": "*",
2427
+ "name": "NumberEditor",
2354
2428
  "declaration": {
2355
- "name": "*",
2356
- "package": "./number.editor"
2429
+ "name": "NumberEditor",
2430
+ "module": "src/cell-editors/number.editor.ts"
2357
2431
  }
2358
2432
  },
2359
2433
  {
2360
2434
  "kind": "js",
2361
- "name": "*",
2435
+ "name": "numberEditorStyles",
2362
2436
  "declaration": {
2363
- "name": "*",
2364
- "package": "./select.editor"
2437
+ "name": "numberEditorStyles",
2438
+ "module": "src/cell-editors/number.editor.ts"
2365
2439
  }
2366
2440
  },
2367
2441
  {
2368
2442
  "kind": "js",
2369
- "name": "*",
2443
+ "name": "getNumberEditorTemplate",
2370
2444
  "declaration": {
2371
- "name": "*",
2372
- "package": "./string.editor"
2445
+ "name": "getNumberEditorTemplate",
2446
+ "module": "src/cell-editors/number.editor.ts"
2373
2447
  }
2374
2448
  },
2375
2449
  {
2376
2450
  "kind": "js",
2377
- "name": "*",
2451
+ "name": "foundationNumberEditor",
2378
2452
  "declaration": {
2379
- "name": "*",
2380
- "package": "./multiselect.editor"
2453
+ "name": "foundationNumberEditor",
2454
+ "module": "src/cell-editors/number.editor.ts"
2381
2455
  }
2382
2456
  }
2383
2457
  ]
2384
2458
  },
2385
2459
  {
2386
2460
  "kind": "javascript-module",
2387
- "path": "src/cell-editors/multiselect.editor.ts",
2461
+ "path": "src/cell-editors/select.editor.ts",
2388
2462
  "declarations": [
2389
2463
  {
2390
2464
  "kind": "class",
2391
- "description": "The multiselect editor class for grid-tabulator",
2392
- "name": "MultiselectEditor",
2465
+ "description": "The select editor class for grid-tabulator",
2466
+ "name": "SelectEditor",
2393
2467
  "members": [
2394
2468
  {
2395
2469
  "kind": "field",
2396
2470
  "name": "params",
2397
2471
  "type": {
2398
- "text": "MultiselectEditorParams"
2472
+ "text": "SelectEditorParams"
2399
2473
  }
2400
2474
  },
2401
2475
  {
@@ -2412,7 +2486,7 @@
2412
2486
  {
2413
2487
  "name": "params",
2414
2488
  "type": {
2415
- "text": "MultiselectEditorParams"
2489
+ "text": "SelectEditorParams"
2416
2490
  }
2417
2491
  }
2418
2492
  ],
@@ -2420,37 +2494,14 @@
2420
2494
  },
2421
2495
  {
2422
2496
  "kind": "method",
2423
- "name": "getValues",
2424
- "return": {
2425
- "type": {
2426
- "text": "(string | number)[]"
2427
- }
2428
- },
2429
- "description": "Get current values"
2497
+ "name": "getValue",
2498
+ "description": "Get current value"
2430
2499
  },
2431
2500
  {
2432
2501
  "kind": "method",
2433
2502
  "name": "focus",
2434
2503
  "description": "Set focus to the select"
2435
2504
  },
2436
- {
2437
- "kind": "method",
2438
- "name": "isSelected",
2439
- "return": {
2440
- "type": {
2441
- "text": "boolean"
2442
- }
2443
- },
2444
- "parameters": [
2445
- {
2446
- "name": "value",
2447
- "type": {
2448
- "text": "string | number"
2449
- }
2450
- }
2451
- ],
2452
- "description": "Check if a value is selected"
2453
- },
2454
2505
  {
2455
2506
  "kind": "method",
2456
2507
  "name": "handleKeyDown",
@@ -2467,7 +2518,7 @@
2467
2518
  {
2468
2519
  "kind": "method",
2469
2520
  "name": "handleChange",
2470
- "description": "Handle change event to save when selection changes"
2521
+ "description": "Handle change event"
2471
2522
  },
2472
2523
  {
2473
2524
  "kind": "field",
@@ -2588,13 +2639,13 @@
2588
2639
  },
2589
2640
  {
2590
2641
  "kind": "variable",
2591
- "name": "multiselectEditorStyles",
2642
+ "name": "selectEditorStyles",
2592
2643
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2593
- "description": "Styles for the multiselect editor"
2644
+ "description": "Styles for the select editor"
2594
2645
  },
2595
2646
  {
2596
2647
  "kind": "function",
2597
- "name": "getMultiselectEditorTemplate",
2648
+ "name": "getSelectEditorTemplate",
2598
2649
  "parameters": [
2599
2650
  {
2600
2651
  "name": "prefix",
@@ -2607,68 +2658,69 @@
2607
2658
  "type": {
2608
2659
  "text": ""
2609
2660
  }
2610
- }
2661
+ },
2662
+ "privacy": "public"
2611
2663
  },
2612
2664
  {
2613
2665
  "kind": "variable",
2614
- "name": "foundationMultiselectEditor",
2615
- "description": "Definition for the multiselect editor component"
2666
+ "name": "foundationSelectEditor",
2667
+ "description": "Definition for the select editor component"
2616
2668
  }
2617
2669
  ],
2618
2670
  "exports": [
2619
2671
  {
2620
2672
  "kind": "js",
2621
- "name": "MultiselectEditor",
2673
+ "name": "SelectEditor",
2622
2674
  "declaration": {
2623
- "name": "MultiselectEditor",
2624
- "module": "src/cell-editors/multiselect.editor.ts"
2675
+ "name": "SelectEditor",
2676
+ "module": "src/cell-editors/select.editor.ts"
2625
2677
  }
2626
2678
  },
2627
2679
  {
2628
2680
  "kind": "js",
2629
- "name": "multiselectEditorStyles",
2681
+ "name": "selectEditorStyles",
2630
2682
  "declaration": {
2631
- "name": "multiselectEditorStyles",
2632
- "module": "src/cell-editors/multiselect.editor.ts"
2683
+ "name": "selectEditorStyles",
2684
+ "module": "src/cell-editors/select.editor.ts"
2633
2685
  }
2634
2686
  },
2635
2687
  {
2636
2688
  "kind": "js",
2637
- "name": "getMultiselectEditorTemplate",
2689
+ "name": "getSelectEditorTemplate",
2638
2690
  "declaration": {
2639
- "name": "getMultiselectEditorTemplate",
2640
- "module": "src/cell-editors/multiselect.editor.ts"
2691
+ "name": "getSelectEditorTemplate",
2692
+ "module": "src/cell-editors/select.editor.ts"
2641
2693
  }
2642
2694
  },
2643
2695
  {
2644
2696
  "kind": "js",
2645
- "name": "foundationMultiselectEditor",
2697
+ "name": "foundationSelectEditor",
2646
2698
  "declaration": {
2647
- "name": "foundationMultiselectEditor",
2648
- "module": "src/cell-editors/multiselect.editor.ts"
2699
+ "name": "foundationSelectEditor",
2700
+ "module": "src/cell-editors/select.editor.ts"
2649
2701
  }
2650
2702
  }
2651
2703
  ]
2652
2704
  },
2653
2705
  {
2654
2706
  "kind": "javascript-module",
2655
- "path": "src/cell-editors/number.editor.ts",
2707
+ "path": "src/cell-editors/string.editor.ts",
2656
2708
  "declarations": [
2657
2709
  {
2658
2710
  "kind": "class",
2659
- "description": "The number editor class for grid-tabulator",
2660
- "name": "NumberEditor",
2711
+ "description": "The string editor class for grid-tabulator",
2712
+ "name": "StringEditor",
2661
2713
  "members": [
2662
2714
  {
2663
2715
  "kind": "field",
2664
2716
  "name": "params",
2665
2717
  "type": {
2666
- "text": "NumberEditorParams"
2718
+ "text": "StringEditorParams"
2667
2719
  }
2668
2720
  },
2669
2721
  {
2670
2722
  "kind": "field",
2671
- "name": "numberField",
2723
+ "name": "textField",
2672
2724
  "type": {
2673
2725
  "text": "any"
2674
2726
  }
@@ -2680,7 +2732,7 @@
2680
2732
  {
2681
2733
  "name": "params",
2682
2734
  "type": {
2683
- "text": "NumberEditorParams"
2735
+ "text": "StringEditorParams"
2684
2736
  }
2685
2737
  }
2686
2738
  ],
@@ -2828,13 +2880,13 @@
2828
2880
  },
2829
2881
  {
2830
2882
  "kind": "variable",
2831
- "name": "numberEditorStyles",
2883
+ "name": "stringEditorStyles",
2832
2884
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
2833
- "description": "Styles for the number editor"
2885
+ "description": "Styles for the string editor"
2834
2886
  },
2835
2887
  {
2836
2888
  "kind": "function",
2837
- "name": "getNumberEditorTemplate",
2889
+ "name": "getStringEditorTemplate",
2838
2890
  "parameters": [
2839
2891
  {
2840
2892
  "name": "prefix",
@@ -2842,7 +2894,7 @@
2842
2894
  "description": "The design system prefix to use. Defaults to 'foundation'."
2843
2895
  }
2844
2896
  ],
2845
- "description": "Get a Design System prefixed number field template.",
2897
+ "description": "Get a Design System prefixed text field template.",
2846
2898
  "return": {
2847
2899
  "type": {
2848
2900
  "text": ""
@@ -2851,765 +2903,439 @@
2851
2903
  },
2852
2904
  {
2853
2905
  "kind": "variable",
2854
- "name": "foundationNumberEditor",
2855
- "description": "Definition for the number editor component"
2906
+ "name": "foundationStringEditor",
2907
+ "description": "Definition for the string editor component"
2856
2908
  }
2857
2909
  ],
2858
2910
  "exports": [
2859
2911
  {
2860
2912
  "kind": "js",
2861
- "name": "NumberEditor",
2913
+ "name": "StringEditor",
2862
2914
  "declaration": {
2863
- "name": "NumberEditor",
2864
- "module": "src/cell-editors/number.editor.ts"
2915
+ "name": "StringEditor",
2916
+ "module": "src/cell-editors/string.editor.ts"
2865
2917
  }
2866
2918
  },
2867
2919
  {
2868
2920
  "kind": "js",
2869
- "name": "numberEditorStyles",
2921
+ "name": "stringEditorStyles",
2870
2922
  "declaration": {
2871
- "name": "numberEditorStyles",
2872
- "module": "src/cell-editors/number.editor.ts"
2923
+ "name": "stringEditorStyles",
2924
+ "module": "src/cell-editors/string.editor.ts"
2873
2925
  }
2874
2926
  },
2875
2927
  {
2876
2928
  "kind": "js",
2877
- "name": "getNumberEditorTemplate",
2929
+ "name": "getStringEditorTemplate",
2878
2930
  "declaration": {
2879
- "name": "getNumberEditorTemplate",
2880
- "module": "src/cell-editors/number.editor.ts"
2931
+ "name": "getStringEditorTemplate",
2932
+ "module": "src/cell-editors/string.editor.ts"
2881
2933
  }
2882
2934
  },
2883
2935
  {
2884
2936
  "kind": "js",
2885
- "name": "foundationNumberEditor",
2937
+ "name": "foundationStringEditor",
2886
2938
  "declaration": {
2887
- "name": "foundationNumberEditor",
2888
- "module": "src/cell-editors/number.editor.ts"
2939
+ "name": "foundationStringEditor",
2940
+ "module": "src/cell-editors/string.editor.ts"
2889
2941
  }
2890
2942
  }
2891
2943
  ]
2892
2944
  },
2893
2945
  {
2894
2946
  "kind": "javascript-module",
2895
- "path": "src/cell-editors/select.editor.ts",
2947
+ "path": "src/cell-formatters/action.formatter.ts",
2896
2948
  "declarations": [
2897
2949
  {
2898
- "kind": "class",
2899
- "description": "The select editor class for grid-tabulator",
2900
- "name": "SelectEditor",
2901
- "members": [
2902
- {
2903
- "kind": "field",
2904
- "name": "params",
2905
- "type": {
2906
- "text": "SelectEditorParams"
2907
- }
2908
- },
2950
+ "kind": "function",
2951
+ "name": "actionFormatter",
2952
+ "return": {
2953
+ "type": {
2954
+ "text": ""
2955
+ }
2956
+ },
2957
+ "parameters": [
2909
2958
  {
2910
- "kind": "field",
2911
- "name": "select",
2959
+ "name": "cell",
2912
2960
  "type": {
2913
2961
  "text": "any"
2914
- }
2915
- },
2916
- {
2917
- "kind": "method",
2918
- "name": "init",
2919
- "parameters": [
2920
- {
2921
- "name": "params",
2922
- "type": {
2923
- "text": "SelectEditorParams"
2924
- }
2925
- }
2926
- ],
2927
- "description": "Initialize the editor with parameters"
2928
- },
2929
- {
2930
- "kind": "method",
2931
- "name": "getValue",
2932
- "description": "Get current value"
2933
- },
2934
- {
2935
- "kind": "method",
2936
- "name": "focus",
2937
- "description": "Set focus to the select"
2938
- },
2939
- {
2940
- "kind": "method",
2941
- "name": "handleKeyDown",
2942
- "parameters": [
2943
- {
2944
- "name": "event",
2945
- "type": {
2946
- "text": "KeyboardEvent"
2947
- }
2948
- }
2949
- ],
2950
- "description": "Process key down events"
2951
- },
2952
- {
2953
- "kind": "method",
2954
- "name": "handleChange",
2955
- "description": "Handle change event"
2962
+ },
2963
+ "description": "The cell component provided by Tabulator"
2956
2964
  },
2957
2965
  {
2958
- "kind": "field",
2959
- "name": "_presentation",
2966
+ "name": "formatterParams",
2967
+ "default": "{}",
2960
2968
  "type": {
2961
- "text": "ComponentPresentation | null | undefined"
2969
+ "text": "ActionFormatterParams<T>"
2962
2970
  },
2963
- "privacy": "private",
2964
- "default": "void 0",
2965
- "inheritedFrom": {
2966
- "name": "FoundationElement",
2967
- "module": "src/foundation-element/foundation-element.ts"
2968
- }
2969
- },
2971
+ "description": "Action formatter parameters"
2972
+ }
2973
+ ],
2974
+ "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
2975
+ "privacy": "public"
2976
+ }
2977
+ ],
2978
+ "exports": [
2979
+ {
2980
+ "kind": "js",
2981
+ "name": "actionFormatter",
2982
+ "declaration": {
2983
+ "name": "actionFormatter",
2984
+ "module": "src/cell-formatters/action.formatter.ts"
2985
+ }
2986
+ }
2987
+ ]
2988
+ },
2989
+ {
2990
+ "kind": "javascript-module",
2991
+ "path": "src/cell-formatters/actions-menu.formatter.ts",
2992
+ "declarations": [
2993
+ {
2994
+ "kind": "function",
2995
+ "name": "actionsMenuFormatter",
2996
+ "return": {
2997
+ "type": {
2998
+ "text": ""
2999
+ }
3000
+ },
3001
+ "parameters": [
2970
3002
  {
2971
- "kind": "field",
2972
- "name": "$presentation",
3003
+ "name": "cell",
2973
3004
  "type": {
2974
- "text": "ComponentPresentation | null"
3005
+ "text": "any"
2975
3006
  },
2976
- "privacy": "public",
2977
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2978
- "inheritedFrom": {
2979
- "name": "FoundationElement",
2980
- "module": "src/foundation-element/foundation-element.ts"
2981
- }
3007
+ "description": "The cell component provided by Tabulator"
2982
3008
  },
2983
3009
  {
2984
- "kind": "field",
2985
- "name": "template",
3010
+ "name": "formatterParams",
3011
+ "default": "{}",
2986
3012
  "type": {
2987
- "text": "ElementViewTemplate | void | null"
3013
+ "text": "ActionsMenuFormatterParams<T>"
2988
3014
  },
2989
- "privacy": "public",
2990
- "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.",
2991
- "inheritedFrom": {
2992
- "name": "FoundationElement",
2993
- "module": "src/foundation-element/foundation-element.ts"
2994
- }
2995
- },
2996
- {
2997
- "kind": "method",
2998
- "name": "templateChanged",
2999
- "privacy": "protected",
3000
- "return": {
3001
- "type": {
3002
- "text": "void"
3003
- }
3004
- },
3005
- "inheritedFrom": {
3006
- "name": "FoundationElement",
3007
- "module": "src/foundation-element/foundation-element.ts"
3008
- }
3009
- },
3010
- {
3011
- "kind": "field",
3012
- "name": "styles",
3013
- "type": {
3014
- "text": "ElementStyles | void | null"
3015
- },
3016
- "privacy": "public",
3017
- "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.",
3018
- "inheritedFrom": {
3019
- "name": "FoundationElement",
3020
- "module": "src/foundation-element/foundation-element.ts"
3021
- }
3022
- },
3023
- {
3024
- "kind": "method",
3025
- "name": "stylesChanged",
3026
- "privacy": "protected",
3027
- "return": {
3028
- "type": {
3029
- "text": "void"
3030
- }
3031
- },
3032
- "inheritedFrom": {
3033
- "name": "FoundationElement",
3034
- "module": "src/foundation-element/foundation-element.ts"
3035
- }
3036
- },
3037
- {
3038
- "kind": "method",
3039
- "name": "compose",
3040
- "privacy": "public",
3041
- "static": true,
3042
- "return": {
3043
- "type": {
3044
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3045
- }
3046
- },
3047
- "parameters": [
3048
- {
3049
- "name": "this",
3050
- "type": {
3051
- "text": "K"
3052
- }
3053
- },
3054
- {
3055
- "name": "elementDefinition",
3056
- "type": {
3057
- "text": "T"
3058
- },
3059
- "description": "The definition of the element to create the registry\nfunction for."
3060
- }
3061
- ],
3062
- "description": "Defines an element registry function with a set of element definition defaults.",
3063
- "inheritedFrom": {
3064
- "name": "FoundationElement",
3065
- "module": "src/foundation-element/foundation-element.ts"
3066
- }
3015
+ "description": "Actions menu formatter parameters"
3067
3016
  }
3068
3017
  ],
3069
- "superclass": {
3070
- "name": "FoundationElement",
3071
- "package": "@microsoft/fast-foundation"
3072
- }
3073
- },
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": [
3074
3023
  {
3075
- "kind": "variable",
3076
- "name": "selectEditorStyles",
3077
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3078
- "description": "Styles for the select editor"
3079
- },
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": [
3080
3037
  {
3081
3038
  "kind": "function",
3082
- "name": "getSelectEditorTemplate",
3083
- "parameters": [
3084
- {
3085
- "name": "prefix",
3086
- "default": "'foundation'",
3087
- "description": "The design system prefix to use. Defaults to 'foundation'."
3088
- }
3089
- ],
3090
- "description": "Get a Design System prefixed Select template.",
3039
+ "name": "booleanFormatter",
3091
3040
  "return": {
3092
3041
  "type": {
3093
3042
  "text": ""
3094
3043
  }
3095
3044
  },
3045
+ "parameters": [
3046
+ {
3047
+ "name": "cell",
3048
+ "type": {
3049
+ "text": "any"
3050
+ },
3051
+ "description": "The cell component provided by Tabulator"
3052
+ },
3053
+ {
3054
+ "name": "formatterParams",
3055
+ "default": "{}",
3056
+ "type": {
3057
+ "text": "BooleanFormatterParams<T>"
3058
+ },
3059
+ "description": "Boolean formatter parameters"
3060
+ }
3061
+ ],
3062
+ "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
3096
3063
  "privacy": "public"
3097
- },
3098
- {
3099
- "kind": "variable",
3100
- "name": "foundationSelectEditor",
3101
- "description": "Definition for the select editor component"
3102
3064
  }
3103
3065
  ],
3104
3066
  "exports": [
3105
3067
  {
3106
3068
  "kind": "js",
3107
- "name": "SelectEditor",
3108
- "declaration": {
3109
- "name": "SelectEditor",
3110
- "module": "src/cell-editors/select.editor.ts"
3111
- }
3112
- },
3113
- {
3114
- "kind": "js",
3115
- "name": "selectEditorStyles",
3116
- "declaration": {
3117
- "name": "selectEditorStyles",
3118
- "module": "src/cell-editors/select.editor.ts"
3119
- }
3120
- },
3121
- {
3122
- "kind": "js",
3123
- "name": "getSelectEditorTemplate",
3124
- "declaration": {
3125
- "name": "getSelectEditorTemplate",
3126
- "module": "src/cell-editors/select.editor.ts"
3127
- }
3128
- },
3129
- {
3130
- "kind": "js",
3131
- "name": "foundationSelectEditor",
3069
+ "name": "booleanFormatter",
3132
3070
  "declaration": {
3133
- "name": "foundationSelectEditor",
3134
- "module": "src/cell-editors/select.editor.ts"
3071
+ "name": "booleanFormatter",
3072
+ "module": "src/cell-formatters/boolean.formatter.ts"
3135
3073
  }
3136
3074
  }
3137
3075
  ]
3138
3076
  },
3139
3077
  {
3140
3078
  "kind": "javascript-module",
3141
- "path": "src/cell-editors/string.editor.ts",
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",
3142
3086
  "declarations": [
3143
3087
  {
3144
- "kind": "class",
3145
- "description": "The string editor class for grid-tabulator",
3146
- "name": "StringEditor",
3147
- "members": [
3148
- {
3149
- "kind": "field",
3150
- "name": "params",
3151
- "type": {
3152
- "text": "StringEditorParams"
3153
- }
3154
- },
3088
+ "kind": "function",
3089
+ "name": "editableFormatter",
3090
+ "return": {
3091
+ "type": {
3092
+ "text": ""
3093
+ }
3094
+ },
3095
+ "parameters": [
3155
3096
  {
3156
- "kind": "field",
3157
- "name": "textField",
3097
+ "name": "cell",
3158
3098
  "type": {
3159
3099
  "text": "any"
3160
- }
3161
- },
3162
- {
3163
- "kind": "method",
3164
- "name": "init",
3165
- "parameters": [
3166
- {
3167
- "name": "params",
3168
- "type": {
3169
- "text": "StringEditorParams"
3170
- }
3171
- }
3172
- ],
3173
- "description": "Initialize the editor with parameters"
3174
- },
3175
- {
3176
- "kind": "method",
3177
- "name": "getValue",
3178
- "description": "Get current value"
3179
- },
3180
- {
3181
- "kind": "method",
3182
- "name": "focus",
3183
- "description": "Set focus to the input"
3184
- },
3185
- {
3186
- "kind": "method",
3187
- "name": "handleKeyDown",
3188
- "parameters": [
3189
- {
3190
- "name": "event",
3191
- "type": {
3192
- "text": "KeyboardEvent"
3193
- }
3194
- }
3195
- ],
3196
- "description": "Process key down events"
3197
- },
3198
- {
3199
- "kind": "field",
3200
- "name": "_presentation",
3201
- "type": {
3202
- "text": "ComponentPresentation | null | undefined"
3203
- },
3204
- "privacy": "private",
3205
- "default": "void 0",
3206
- "inheritedFrom": {
3207
- "name": "FoundationElement",
3208
- "module": "src/foundation-element/foundation-element.ts"
3209
- }
3210
- },
3211
- {
3212
- "kind": "field",
3213
- "name": "$presentation",
3214
- "type": {
3215
- "text": "ComponentPresentation | null"
3216
- },
3217
- "privacy": "public",
3218
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3219
- "inheritedFrom": {
3220
- "name": "FoundationElement",
3221
- "module": "src/foundation-element/foundation-element.ts"
3222
- }
3223
- },
3224
- {
3225
- "kind": "field",
3226
- "name": "template",
3227
- "type": {
3228
- "text": "ElementViewTemplate | void | null"
3229
- },
3230
- "privacy": "public",
3231
- "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.",
3232
- "inheritedFrom": {
3233
- "name": "FoundationElement",
3234
- "module": "src/foundation-element/foundation-element.ts"
3235
- }
3236
- },
3237
- {
3238
- "kind": "method",
3239
- "name": "templateChanged",
3240
- "privacy": "protected",
3241
- "return": {
3242
- "type": {
3243
- "text": "void"
3244
- }
3245
3100
  },
3246
- "inheritedFrom": {
3247
- "name": "FoundationElement",
3248
- "module": "src/foundation-element/foundation-element.ts"
3249
- }
3101
+ "description": "The cell component provided by Tabulator"
3250
3102
  },
3251
3103
  {
3252
- "kind": "field",
3253
- "name": "styles",
3104
+ "name": "formatterParams",
3105
+ "default": "{}",
3254
3106
  "type": {
3255
- "text": "ElementStyles | void | null"
3256
- },
3257
- "privacy": "public",
3258
- "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.",
3259
- "inheritedFrom": {
3260
- "name": "FoundationElement",
3261
- "module": "src/foundation-element/foundation-element.ts"
3262
- }
3263
- },
3264
- {
3265
- "kind": "method",
3266
- "name": "stylesChanged",
3267
- "privacy": "protected",
3268
- "return": {
3269
- "type": {
3270
- "text": "void"
3271
- }
3272
- },
3273
- "inheritedFrom": {
3274
- "name": "FoundationElement",
3275
- "module": "src/foundation-element/foundation-element.ts"
3276
- }
3277
- },
3278
- {
3279
- "kind": "method",
3280
- "name": "compose",
3281
- "privacy": "public",
3282
- "static": true,
3283
- "return": {
3284
- "type": {
3285
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3286
- }
3107
+ "text": "EditableFormatterParams<T>"
3287
3108
  },
3288
- "parameters": [
3289
- {
3290
- "name": "this",
3291
- "type": {
3292
- "text": "K"
3293
- }
3294
- },
3295
- {
3296
- "name": "elementDefinition",
3297
- "type": {
3298
- "text": "T"
3299
- },
3300
- "description": "The definition of the element to create the registry\nfunction for."
3301
- }
3302
- ],
3303
- "description": "Defines an element registry function with a set of element definition defaults.",
3304
- "inheritedFrom": {
3305
- "name": "FoundationElement",
3306
- "module": "src/foundation-element/foundation-element.ts"
3307
- }
3109
+ "description": "Editable formatter parameters"
3308
3110
  }
3309
3111
  ],
3310
- "superclass": {
3311
- "name": "FoundationElement",
3312
- "package": "@microsoft/fast-foundation"
3112
+ "description": "Formatter that displays an editable cell with validation state",
3113
+ "privacy": "public"
3114
+ }
3115
+ ],
3116
+ "exports": [
3117
+ {
3118
+ "kind": "js",
3119
+ "name": "editableFormatter",
3120
+ "declaration": {
3121
+ "name": "editableFormatter",
3122
+ "module": "src/cell-formatters/editable.formatter.ts"
3123
+ }
3124
+ }
3125
+ ]
3126
+ },
3127
+ {
3128
+ "kind": "javascript-module",
3129
+ "path": "src/cell-formatters/index.ts",
3130
+ "declarations": [
3131
+ {
3132
+ "kind": "variable",
3133
+ "name": "formatters",
3134
+ "type": {
3135
+ "text": "object"
3136
+ },
3137
+ "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
3138
+ "description": "Zero formatters for Tabulator grid"
3139
+ }
3140
+ ],
3141
+ "exports": [
3142
+ {
3143
+ "kind": "js",
3144
+ "name": "*",
3145
+ "declaration": {
3146
+ "name": "*",
3147
+ "package": "./constants"
3148
+ }
3149
+ },
3150
+ {
3151
+ "kind": "js",
3152
+ "name": "ActionFormatterParams",
3153
+ "declaration": {
3154
+ "name": "ActionFormatterParams",
3155
+ "module": "src/cell-formatters/index.ts"
3313
3156
  }
3314
3157
  },
3315
3158
  {
3316
- "kind": "variable",
3317
- "name": "stringEditorStyles",
3318
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3319
- "description": "Styles for the string editor"
3159
+ "kind": "js",
3160
+ "name": "actionFormatter",
3161
+ "declaration": {
3162
+ "name": "actionFormatter",
3163
+ "module": "src/cell-formatters/index.ts"
3164
+ }
3320
3165
  },
3321
3166
  {
3322
- "kind": "function",
3323
- "name": "getStringEditorTemplate",
3324
- "parameters": [
3325
- {
3326
- "name": "prefix",
3327
- "default": "'foundation'",
3328
- "description": "The design system prefix to use. Defaults to 'foundation'."
3329
- }
3330
- ],
3331
- "description": "Get a Design System prefixed text field template.",
3332
- "return": {
3333
- "type": {
3334
- "text": ""
3335
- }
3167
+ "kind": "js",
3168
+ "name": "ActionsMenuFormatterParams",
3169
+ "declaration": {
3170
+ "name": "ActionsMenuFormatterParams",
3171
+ "module": "src/cell-formatters/index.ts"
3336
3172
  }
3337
3173
  },
3338
3174
  {
3339
- "kind": "variable",
3340
- "name": "foundationStringEditor",
3341
- "description": "Definition for the string editor component"
3342
- }
3343
- ],
3344
- "exports": [
3175
+ "kind": "js",
3176
+ "name": "actionsMenuFormatter",
3177
+ "declaration": {
3178
+ "name": "actionsMenuFormatter",
3179
+ "module": "src/cell-formatters/index.ts"
3180
+ }
3181
+ },
3345
3182
  {
3346
3183
  "kind": "js",
3347
- "name": "StringEditor",
3184
+ "name": "BooleanFormatterParams",
3348
3185
  "declaration": {
3349
- "name": "StringEditor",
3350
- "module": "src/cell-editors/string.editor.ts"
3186
+ "name": "BooleanFormatterParams",
3187
+ "module": "src/cell-formatters/index.ts"
3351
3188
  }
3352
3189
  },
3353
3190
  {
3354
3191
  "kind": "js",
3355
- "name": "stringEditorStyles",
3192
+ "name": "booleanFormatter",
3356
3193
  "declaration": {
3357
- "name": "stringEditorStyles",
3358
- "module": "src/cell-editors/string.editor.ts"
3194
+ "name": "booleanFormatter",
3195
+ "module": "src/cell-formatters/index.ts"
3359
3196
  }
3360
3197
  },
3361
3198
  {
3362
3199
  "kind": "js",
3363
- "name": "getStringEditorTemplate",
3200
+ "name": "EditableFormatterParams",
3364
3201
  "declaration": {
3365
- "name": "getStringEditorTemplate",
3366
- "module": "src/cell-editors/string.editor.ts"
3202
+ "name": "EditableFormatterParams",
3203
+ "module": "src/cell-formatters/index.ts"
3367
3204
  }
3368
3205
  },
3369
3206
  {
3370
3207
  "kind": "js",
3371
- "name": "foundationStringEditor",
3208
+ "name": "editableFormatter",
3372
3209
  "declaration": {
3373
- "name": "foundationStringEditor",
3374
- "module": "src/cell-editors/string.editor.ts"
3210
+ "name": "editableFormatter",
3211
+ "module": "src/cell-formatters/index.ts"
3212
+ }
3213
+ },
3214
+ {
3215
+ "kind": "js",
3216
+ "name": "SelectFormatterParams",
3217
+ "declaration": {
3218
+ "name": "SelectFormatterParams",
3219
+ "module": "src/cell-formatters/index.ts"
3220
+ }
3221
+ },
3222
+ {
3223
+ "kind": "js",
3224
+ "name": "selectFormatter",
3225
+ "declaration": {
3226
+ "name": "selectFormatter",
3227
+ "module": "src/cell-formatters/index.ts"
3228
+ }
3229
+ },
3230
+ {
3231
+ "kind": "js",
3232
+ "name": "TextFormatterParams",
3233
+ "declaration": {
3234
+ "name": "TextFormatterParams",
3235
+ "module": "src/cell-formatters/index.ts"
3236
+ }
3237
+ },
3238
+ {
3239
+ "kind": "js",
3240
+ "name": "textFormatter",
3241
+ "declaration": {
3242
+ "name": "textFormatter",
3243
+ "module": "src/cell-formatters/index.ts"
3244
+ }
3245
+ },
3246
+ {
3247
+ "kind": "js",
3248
+ "name": "formatters",
3249
+ "declaration": {
3250
+ "name": "formatters",
3251
+ "module": "src/cell-formatters/index.ts"
3375
3252
  }
3376
3253
  }
3377
3254
  ]
3378
3255
  },
3379
3256
  {
3380
3257
  "kind": "javascript-module",
3381
- "path": "src/cell/cell.ts",
3258
+ "path": "src/cell-formatters/select.formatter.ts",
3382
3259
  "declarations": [
3383
3260
  {
3384
- "kind": "class",
3385
- "description": "The GridTabulator Cell element.",
3386
- "name": "GridTabulatorCell",
3387
- "members": [
3388
- {
3389
- "kind": "field",
3390
- "name": "renderer",
3391
- "type": {
3392
- "text": "CellRendererFunc"
3393
- },
3394
- "privacy": "public"
3395
- },
3396
- {
3397
- "kind": "field",
3398
- "name": "rendererParams",
3399
- "type": {
3400
- "text": "CellRendererParams"
3401
- },
3402
- "privacy": "public"
3403
- },
3404
- {
3405
- "kind": "field",
3406
- "name": "slottedRenderer",
3407
- "type": {
3408
- "text": "HTMLElement[]"
3409
- },
3410
- "privacy": "public"
3411
- },
3412
- {
3413
- "kind": "method",
3414
- "name": "init",
3415
- "privacy": "public",
3416
- "parameters": [
3417
- {
3418
- "name": "params",
3419
- "type": {
3420
- "text": "CellRendererParams"
3421
- }
3422
- }
3423
- ]
3424
- },
3425
- {
3426
- "kind": "method",
3427
- "name": "getElement",
3428
- "privacy": "public",
3429
- "return": {
3430
- "type": {
3431
- "text": "HTMLElement"
3432
- }
3433
- }
3434
- },
3435
- {
3436
- "kind": "method",
3437
- "name": "destroy",
3438
- "privacy": "public"
3439
- },
3440
- {
3441
- "kind": "method",
3442
- "name": "refresh",
3443
- "privacy": "public",
3444
- "return": {
3445
- "type": {
3446
- "text": "boolean"
3447
- }
3448
- },
3449
- "parameters": [
3450
- {
3451
- "name": "params",
3452
- "type": {
3453
- "text": "CellRendererParams"
3454
- }
3455
- }
3456
- ]
3457
- },
3458
- {
3459
- "kind": "method",
3460
- "name": "slottedRendererChanged",
3461
- "privacy": "public"
3462
- },
3463
- {
3464
- "kind": "field",
3465
- "name": "_presentation",
3466
- "type": {
3467
- "text": "ComponentPresentation | null | undefined"
3468
- },
3469
- "privacy": "private",
3470
- "default": "void 0",
3471
- "inheritedFrom": {
3472
- "name": "FoundationElement",
3473
- "module": "src/foundation-element/foundation-element.ts"
3474
- }
3475
- },
3476
- {
3477
- "kind": "field",
3478
- "name": "$presentation",
3479
- "type": {
3480
- "text": "ComponentPresentation | null"
3481
- },
3482
- "privacy": "public",
3483
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3484
- "inheritedFrom": {
3485
- "name": "FoundationElement",
3486
- "module": "src/foundation-element/foundation-element.ts"
3487
- }
3488
- },
3489
- {
3490
- "kind": "field",
3491
- "name": "template",
3492
- "type": {
3493
- "text": "ElementViewTemplate | void | null"
3494
- },
3495
- "privacy": "public",
3496
- "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.",
3497
- "inheritedFrom": {
3498
- "name": "FoundationElement",
3499
- "module": "src/foundation-element/foundation-element.ts"
3500
- }
3501
- },
3502
- {
3503
- "kind": "method",
3504
- "name": "templateChanged",
3505
- "privacy": "protected",
3506
- "return": {
3507
- "type": {
3508
- "text": "void"
3509
- }
3510
- },
3511
- "inheritedFrom": {
3512
- "name": "FoundationElement",
3513
- "module": "src/foundation-element/foundation-element.ts"
3514
- }
3515
- },
3516
- {
3517
- "kind": "field",
3518
- "name": "styles",
3519
- "type": {
3520
- "text": "ElementStyles | void | null"
3521
- },
3522
- "privacy": "public",
3523
- "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.",
3524
- "inheritedFrom": {
3525
- "name": "FoundationElement",
3526
- "module": "src/foundation-element/foundation-element.ts"
3527
- }
3528
- },
3261
+ "kind": "function",
3262
+ "name": "selectFormatter",
3263
+ "return": {
3264
+ "type": {
3265
+ "text": ""
3266
+ }
3267
+ },
3268
+ "parameters": [
3529
3269
  {
3530
- "kind": "method",
3531
- "name": "stylesChanged",
3532
- "privacy": "protected",
3533
- "return": {
3534
- "type": {
3535
- "text": "void"
3536
- }
3270
+ "name": "cell",
3271
+ "type": {
3272
+ "text": "any"
3537
3273
  },
3538
- "inheritedFrom": {
3539
- "name": "FoundationElement",
3540
- "module": "src/foundation-element/foundation-element.ts"
3541
- }
3274
+ "description": "The cell component provided by Tabulator"
3542
3275
  },
3543
3276
  {
3544
- "kind": "method",
3545
- "name": "compose",
3546
- "privacy": "public",
3547
- "static": true,
3548
- "return": {
3549
- "type": {
3550
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3551
- }
3277
+ "name": "formatterParams",
3278
+ "type": {
3279
+ "text": "SelectFormatterParams<T>"
3552
3280
  },
3553
- "parameters": [
3554
- {
3555
- "name": "this",
3556
- "type": {
3557
- "text": "K"
3558
- }
3559
- },
3560
- {
3561
- "name": "elementDefinition",
3562
- "type": {
3563
- "text": "T"
3564
- },
3565
- "description": "The definition of the element to create the registry\nfunction for."
3566
- }
3567
- ],
3568
- "description": "Defines an element registry function with a set of element definition defaults.",
3569
- "inheritedFrom": {
3570
- "name": "FoundationElement",
3571
- "module": "src/foundation-element/foundation-element.ts"
3572
- }
3281
+ "description": "Select formatter parameters"
3573
3282
  }
3574
3283
  ],
3575
- "superclass": {
3576
- "name": "FoundationElement",
3577
- "package": "@microsoft/fast-foundation"
3578
- },
3579
- "tagName": "grid-tabulator-cell",
3580
- "customElement": true
3284
+ "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
3285
+ "privacy": "public"
3581
3286
  }
3582
3287
  ],
3583
3288
  "exports": [
3584
3289
  {
3585
3290
  "kind": "js",
3586
- "name": "GridTabulatorCell",
3587
- "declaration": {
3588
- "name": "GridTabulatorCell",
3589
- "module": "src/cell/cell.ts"
3590
- }
3591
- },
3592
- {
3593
- "kind": "custom-element-definition",
3594
- "name": "grid-tabulator-cell",
3291
+ "name": "selectFormatter",
3595
3292
  "declaration": {
3596
- "name": "GridTabulatorCell",
3597
- "module": "src/cell/cell.ts"
3293
+ "name": "selectFormatter",
3294
+ "module": "src/cell-formatters/select.formatter.ts"
3598
3295
  }
3599
3296
  }
3600
3297
  ]
3601
3298
  },
3602
3299
  {
3603
3300
  "kind": "javascript-module",
3604
- "path": "src/cell/index.ts",
3605
- "declarations": [],
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
+ ],
3606
3332
  "exports": [
3607
3333
  {
3608
3334
  "kind": "js",
3609
- "name": "*",
3335
+ "name": "textFormatter",
3610
3336
  "declaration": {
3611
- "name": "*",
3612
- "package": "./cell"
3337
+ "name": "textFormatter",
3338
+ "module": "src/cell-formatters/text.formatter.ts"
3613
3339
  }
3614
3340
  }
3615
3341
  ]
@@ -4767,99 +4493,373 @@
4767
4493
  },
4768
4494
  "parameters": [
4769
4495
  {
4770
- "name": "str",
4496
+ "name": "str",
4497
+ "type": {
4498
+ "text": "string"
4499
+ },
4500
+ "description": "The string to convert"
4501
+ }
4502
+ ],
4503
+ "description": "Convert a string to kebab case\nExample: convertToKebabCase('helloWorld') // 'hello-world'"
4504
+ },
4505
+ {
4506
+ "kind": "function",
4507
+ "name": "mergeAndDedupColDefWithColumnState",
4508
+ "return": {
4509
+ "type": {
4510
+ "text": ""
4511
+ }
4512
+ },
4513
+ "parameters": [
4514
+ {
4515
+ "name": "colDefs",
4516
+ "type": {
4517
+ "text": "any[]"
4518
+ },
4519
+ "description": "The column definitions"
4520
+ },
4521
+ {
4522
+ "name": "columnState",
4523
+ "type": {
4524
+ "text": "any[]"
4525
+ },
4526
+ "description": "The column state"
4527
+ }
4528
+ ],
4529
+ "description": "Merges and dedupes column definitions with column state"
4530
+ }
4531
+ ],
4532
+ "exports": [
4533
+ {
4534
+ "kind": "js",
4535
+ "name": "convertToKebabCase",
4536
+ "declaration": {
4537
+ "name": "convertToKebabCase",
4538
+ "module": "src/utils/string-utils.ts"
4539
+ }
4540
+ },
4541
+ {
4542
+ "kind": "js",
4543
+ "name": "mergeAndDedupColDefWithColumnState",
4544
+ "declaration": {
4545
+ "name": "mergeAndDedupColDefWithColumnState",
4546
+ "module": "src/utils/string-utils.ts"
4547
+ }
4548
+ }
4549
+ ]
4550
+ },
4551
+ {
4552
+ "kind": "javascript-module",
4553
+ "path": "src/utils/test-id-utils.ts",
4554
+ "declarations": [
4555
+ {
4556
+ "kind": "function",
4557
+ "name": "getDataTestId",
4558
+ "return": {
4559
+ "type": {
4560
+ "text": ""
4561
+ }
4562
+ },
4563
+ "parameters": [
4564
+ {
4565
+ "name": "dataTestId",
4566
+ "type": {
4567
+ "text": "((rowData: T) => string) | string | undefined"
4568
+ },
4569
+ "description": "The dataTestId value (string or function)"
4570
+ },
4571
+ {
4572
+ "name": "rowData",
4573
+ "type": {
4574
+ "text": "T"
4575
+ },
4576
+ "description": "The row data to pass to the function if dataTestId is a function"
4577
+ }
4578
+ ],
4579
+ "description": "Resolves a dataTestId value that can be either a string or a function"
4580
+ }
4581
+ ],
4582
+ "exports": [
4583
+ {
4584
+ "kind": "js",
4585
+ "name": "getDataTestId",
4586
+ "declaration": {
4587
+ "name": "getDataTestId",
4588
+ "module": "src/utils/test-id-utils.ts"
4589
+ }
4590
+ }
4591
+ ]
4592
+ },
4593
+ {
4594
+ "kind": "javascript-module",
4595
+ "path": "src/column/column.ts",
4596
+ "declarations": [
4597
+ {
4598
+ "kind": "class",
4599
+ "description": "The GridTabulator Column element.",
4600
+ "name": "GridTabulatorColumn",
4601
+ "members": [
4602
+ {
4603
+ "kind": "field",
4604
+ "name": "slottedCell",
4605
+ "type": {
4606
+ "text": "HTMLElement[]"
4607
+ },
4608
+ "privacy": "public"
4609
+ },
4610
+ {
4611
+ "kind": "field",
4612
+ "name": "definition",
4613
+ "type": {
4614
+ "text": "Partial<ColumnDefinition>"
4615
+ },
4616
+ "default": "{}"
4617
+ },
4618
+ {
4619
+ "kind": "method",
4620
+ "name": "slottedCellChanged",
4621
+ "privacy": "public"
4622
+ },
4623
+ {
4624
+ "kind": "method",
4625
+ "name": "deepClone",
4626
+ "return": {
4627
+ "type": {
4628
+ "text": "Node"
4629
+ }
4630
+ },
4631
+ "inheritedFrom": {
4632
+ "name": "LifecycleMixin",
4633
+ "module": "src/mixins/lifecycle/lifecycle.ts"
4634
+ }
4635
+ },
4636
+ {
4637
+ "kind": "method",
4638
+ "name": "cloneNode",
4639
+ "return": {
4640
+ "type": {
4641
+ "text": "Node"
4642
+ }
4643
+ },
4644
+ "parameters": [
4645
+ {
4646
+ "name": "deep",
4647
+ "optional": true,
4648
+ "type": {
4649
+ "text": "boolean"
4650
+ }
4651
+ }
4652
+ ],
4653
+ "inheritedFrom": {
4654
+ "name": "LifecycleMixin",
4655
+ "module": "src/mixins/lifecycle/lifecycle.ts"
4656
+ }
4657
+ },
4658
+ {
4659
+ "kind": "field",
4660
+ "name": "shouldRunDisconnect",
4661
+ "return": {
4662
+ "type": {
4663
+ "text": ""
4664
+ }
4665
+ },
4666
+ "readonly": true,
4667
+ "inheritedFrom": {
4668
+ "name": "LifecycleMixin",
4669
+ "module": "src/mixins/lifecycle/lifecycle.ts"
4670
+ }
4671
+ },
4672
+ {
4673
+ "kind": "field",
4674
+ "name": "shouldRunConnect",
4675
+ "return": {
4676
+ "type": {
4677
+ "text": ""
4678
+ }
4679
+ },
4680
+ "readonly": true,
4681
+ "inheritedFrom": {
4682
+ "name": "LifecycleMixin",
4683
+ "module": "src/mixins/lifecycle/lifecycle.ts"
4684
+ }
4685
+ },
4686
+ {
4687
+ "kind": "method",
4688
+ "name": "#_blockLifecycleDueToTokenChange",
4689
+ "return": {
4690
+ "type": {
4691
+ "text": "boolean"
4692
+ }
4693
+ },
4694
+ "parameters": [
4695
+ {
4696
+ "name": "lifecycleType",
4697
+ "type": {
4698
+ "text": "Lifecycletype"
4699
+ }
4700
+ }
4701
+ ],
4702
+ "inheritedFrom": {
4703
+ "name": "LifecycleMixin",
4704
+ "module": "src/mixins/lifecycle/lifecycle.ts"
4705
+ }
4706
+ },
4707
+ {
4708
+ "kind": "field",
4709
+ "name": "_presentation",
4771
4710
  "type": {
4772
- "text": "string"
4711
+ "text": "ComponentPresentation | null | undefined"
4773
4712
  },
4774
- "description": "The string to convert"
4775
- }
4776
- ],
4777
- "description": "Convert a string to kebab case\nExample: convertToKebabCase('helloWorld') // 'hello-world'"
4778
- },
4779
- {
4780
- "kind": "function",
4781
- "name": "mergeAndDedupColDefWithColumnState",
4782
- "return": {
4783
- "type": {
4784
- "text": ""
4785
- }
4786
- },
4787
- "parameters": [
4713
+ "privacy": "private",
4714
+ "default": "void 0",
4715
+ "inheritedFrom": {
4716
+ "name": "FoundationElement",
4717
+ "module": "src/foundation-element/foundation-element.ts"
4718
+ }
4719
+ },
4788
4720
  {
4789
- "name": "colDefs",
4721
+ "kind": "field",
4722
+ "name": "$presentation",
4790
4723
  "type": {
4791
- "text": "any[]"
4724
+ "text": "ComponentPresentation | null"
4792
4725
  },
4793
- "description": "The column definitions"
4726
+ "privacy": "public",
4727
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4728
+ "inheritedFrom": {
4729
+ "name": "FoundationElement",
4730
+ "module": "src/foundation-element/foundation-element.ts"
4731
+ }
4794
4732
  },
4795
4733
  {
4796
- "name": "columnState",
4734
+ "kind": "field",
4735
+ "name": "template",
4797
4736
  "type": {
4798
- "text": "any[]"
4737
+ "text": "ElementViewTemplate | void | null"
4799
4738
  },
4800
- "description": "The column state"
4739
+ "privacy": "public",
4740
+ "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.",
4741
+ "inheritedFrom": {
4742
+ "name": "FoundationElement",
4743
+ "module": "src/foundation-element/foundation-element.ts"
4744
+ }
4745
+ },
4746
+ {
4747
+ "kind": "method",
4748
+ "name": "templateChanged",
4749
+ "privacy": "protected",
4750
+ "return": {
4751
+ "type": {
4752
+ "text": "void"
4753
+ }
4754
+ },
4755
+ "inheritedFrom": {
4756
+ "name": "FoundationElement",
4757
+ "module": "src/foundation-element/foundation-element.ts"
4758
+ }
4759
+ },
4760
+ {
4761
+ "kind": "field",
4762
+ "name": "styles",
4763
+ "type": {
4764
+ "text": "ElementStyles | void | null"
4765
+ },
4766
+ "privacy": "public",
4767
+ "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.",
4768
+ "inheritedFrom": {
4769
+ "name": "FoundationElement",
4770
+ "module": "src/foundation-element/foundation-element.ts"
4771
+ }
4772
+ },
4773
+ {
4774
+ "kind": "method",
4775
+ "name": "stylesChanged",
4776
+ "privacy": "protected",
4777
+ "return": {
4778
+ "type": {
4779
+ "text": "void"
4780
+ }
4781
+ },
4782
+ "inheritedFrom": {
4783
+ "name": "FoundationElement",
4784
+ "module": "src/foundation-element/foundation-element.ts"
4785
+ }
4786
+ },
4787
+ {
4788
+ "kind": "method",
4789
+ "name": "compose",
4790
+ "privacy": "public",
4791
+ "static": true,
4792
+ "return": {
4793
+ "type": {
4794
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4795
+ }
4796
+ },
4797
+ "parameters": [
4798
+ {
4799
+ "name": "this",
4800
+ "type": {
4801
+ "text": "K"
4802
+ }
4803
+ },
4804
+ {
4805
+ "name": "elementDefinition",
4806
+ "type": {
4807
+ "text": "T"
4808
+ },
4809
+ "description": "The definition of the element to create the registry\nfunction for."
4810
+ }
4811
+ ],
4812
+ "description": "Defines an element registry function with a set of element definition defaults.",
4813
+ "inheritedFrom": {
4814
+ "name": "FoundationElement",
4815
+ "module": "src/foundation-element/foundation-element.ts"
4816
+ }
4801
4817
  }
4802
4818
  ],
4803
- "description": "Merges and dedupes column definitions with column state"
4819
+ "mixins": [
4820
+ {
4821
+ "name": "LifecycleMixin",
4822
+ "package": "@genesislcap/foundation-utils"
4823
+ }
4824
+ ],
4825
+ "superclass": {
4826
+ "name": "FoundationElement",
4827
+ "package": "@microsoft/fast-foundation"
4828
+ },
4829
+ "tagName": "grid-tabulator-column",
4830
+ "customElement": true
4804
4831
  }
4805
4832
  ],
4806
4833
  "exports": [
4807
4834
  {
4808
4835
  "kind": "js",
4809
- "name": "convertToKebabCase",
4836
+ "name": "GridTabulatorColumn",
4810
4837
  "declaration": {
4811
- "name": "convertToKebabCase",
4812
- "module": "src/utils/string-utils.ts"
4838
+ "name": "GridTabulatorColumn",
4839
+ "module": "src/column/column.ts"
4813
4840
  }
4814
4841
  },
4815
4842
  {
4816
- "kind": "js",
4817
- "name": "mergeAndDedupColDefWithColumnState",
4843
+ "kind": "custom-element-definition",
4844
+ "name": "grid-tabulator-column",
4818
4845
  "declaration": {
4819
- "name": "mergeAndDedupColDefWithColumnState",
4820
- "module": "src/utils/string-utils.ts"
4846
+ "name": "GridTabulatorColumn",
4847
+ "module": "src/column/column.ts"
4821
4848
  }
4822
4849
  }
4823
4850
  ]
4824
4851
  },
4825
4852
  {
4826
4853
  "kind": "javascript-module",
4827
- "path": "src/utils/test-id-utils.ts",
4828
- "declarations": [
4829
- {
4830
- "kind": "function",
4831
- "name": "getDataTestId",
4832
- "return": {
4833
- "type": {
4834
- "text": ""
4835
- }
4836
- },
4837
- "parameters": [
4838
- {
4839
- "name": "dataTestId",
4840
- "type": {
4841
- "text": "((rowData: T) => string) | string | undefined"
4842
- },
4843
- "description": "The dataTestId value (string or function)"
4844
- },
4845
- {
4846
- "name": "rowData",
4847
- "type": {
4848
- "text": "T"
4849
- },
4850
- "description": "The row data to pass to the function if dataTestId is a function"
4851
- }
4852
- ],
4853
- "description": "Resolves a dataTestId value that can be either a string or a function"
4854
- }
4855
- ],
4854
+ "path": "src/column/index.ts",
4855
+ "declarations": [],
4856
4856
  "exports": [
4857
4857
  {
4858
4858
  "kind": "js",
4859
- "name": "getDataTestId",
4859
+ "name": "*",
4860
4860
  "declaration": {
4861
- "name": "getDataTestId",
4862
- "module": "src/utils/test-id-utils.ts"
4861
+ "name": "*",
4862
+ "package": "./column"
4863
4863
  }
4864
4864
  }
4865
4865
  ]