@genesislcap/foundation-ui 14.155.0-axes.2 → 14.155.0-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1747 -1747
  2. package/package.json +15 -15
@@ -1443,34 +1443,11 @@
1443
1443
  },
1444
1444
  {
1445
1445
  "kind": "javascript-module",
1446
- "path": "src/actions-menu/actions-menu.styles.ts",
1446
+ "path": "src/anchor/anchor.styles.ts",
1447
1447
  "declarations": [
1448
1448
  {
1449
1449
  "kind": "function",
1450
- "name": "actionsMenuBaseStyles",
1451
- "return": {
1452
- "type": {
1453
- "text": "ElementStyles"
1454
- }
1455
- },
1456
- "parameters": [
1457
- {
1458
- "name": "context",
1459
- "type": {
1460
- "text": "ElementDefinitionContext"
1461
- }
1462
- },
1463
- {
1464
- "name": "definition",
1465
- "type": {
1466
- "text": "FoundationElementDefinition"
1467
- }
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- "kind": "function",
1473
- "name": "foundationActionsMenuStyles",
1450
+ "name": "foundationAnchorStyles",
1474
1451
  "return": {
1475
1452
  "type": {
1476
1453
  "text": "ElementStyles"
@@ -1495,269 +1472,292 @@
1495
1472
  "exports": [
1496
1473
  {
1497
1474
  "kind": "js",
1498
- "name": "actionsMenuBaseStyles",
1499
- "declaration": {
1500
- "name": "actionsMenuBaseStyles",
1501
- "module": "src/actions-menu/actions-menu.styles.ts"
1502
- }
1503
- },
1504
- {
1505
- "kind": "js",
1506
- "name": "foundationActionsMenuStyles",
1475
+ "name": "foundationAnchorStyles",
1507
1476
  "declaration": {
1508
- "name": "foundationActionsMenuStyles",
1509
- "module": "src/actions-menu/actions-menu.styles.ts"
1477
+ "name": "foundationAnchorStyles",
1478
+ "module": "src/anchor/anchor.styles.ts"
1510
1479
  }
1511
1480
  }
1512
1481
  ]
1513
1482
  },
1514
1483
  {
1515
1484
  "kind": "javascript-module",
1516
- "path": "src/actions-menu/actions-menu.template.ts",
1485
+ "path": "src/anchor/anchor.template.ts",
1517
1486
  "declarations": [
1518
1487
  {
1519
1488
  "kind": "function",
1520
- "name": "menuTemplate",
1489
+ "name": "foundationAnchorTemplate",
1490
+ "return": {
1491
+ "type": {
1492
+ "text": "ViewTemplate<Anchor>"
1493
+ }
1494
+ },
1521
1495
  "parameters": [
1522
1496
  {
1523
- "name": "prefix",
1497
+ "name": "context",
1524
1498
  "type": {
1525
- "text": "string"
1499
+ "text": "ElementDefinitionContext"
1526
1500
  }
1527
- }
1528
- ]
1529
- },
1530
- {
1531
- "kind": "function",
1532
- "name": "singleOptionTemplate",
1533
- "parameters": [
1501
+ },
1534
1502
  {
1535
- "name": "prefix",
1503
+ "name": "definition",
1536
1504
  "type": {
1537
- "text": "string"
1505
+ "text": "FoundationElementDefinition"
1538
1506
  }
1539
1507
  }
1540
1508
  ]
1541
- },
1542
- {
1543
- "kind": "variable",
1544
- "name": "foundationActionsMenuTemplate",
1545
- "type": {
1546
- "text": "ViewTemplate<ActionsMenu>"
1547
- },
1548
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1549
1509
  }
1550
1510
  ],
1551
1511
  "exports": [
1552
1512
  {
1553
1513
  "kind": "js",
1554
- "name": "menuTemplate",
1555
- "declaration": {
1556
- "name": "menuTemplate",
1557
- "module": "src/actions-menu/actions-menu.template.ts"
1558
- }
1559
- },
1560
- {
1561
- "kind": "js",
1562
- "name": "singleOptionTemplate",
1563
- "declaration": {
1564
- "name": "singleOptionTemplate",
1565
- "module": "src/actions-menu/actions-menu.template.ts"
1566
- }
1567
- },
1568
- {
1569
- "kind": "js",
1570
- "name": "foundationActionsMenuTemplate",
1514
+ "name": "foundationAnchorTemplate",
1571
1515
  "declaration": {
1572
- "name": "foundationActionsMenuTemplate",
1573
- "module": "src/actions-menu/actions-menu.template.ts"
1516
+ "name": "foundationAnchorTemplate",
1517
+ "module": "src/anchor/anchor.template.ts"
1574
1518
  }
1575
1519
  }
1576
1520
  ]
1577
1521
  },
1578
1522
  {
1579
1523
  "kind": "javascript-module",
1580
- "path": "src/actions-menu/actions-menu.ts",
1524
+ "path": "src/anchor/anchor.ts",
1581
1525
  "declarations": [
1582
1526
  {
1583
1527
  "kind": "class",
1584
1528
  "description": "",
1585
- "name": "ActionsMenu",
1586
- "members": [
1529
+ "name": "Anchor",
1530
+ "superclass": {
1531
+ "name": "FASTAnchor",
1532
+ "package": "@microsoft/fast-components"
1533
+ },
1534
+ "tagName": "%%prefix%%-anchor",
1535
+ "customElement": true,
1536
+ "attributes": [
1587
1537
  {
1588
- "kind": "field",
1589
- "name": "actions",
1538
+ "name": "download",
1590
1539
  "type": {
1591
- "text": "ActionMenuItem[]"
1540
+ "text": "string"
1541
+ },
1542
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1543
+ "fieldName": "download",
1544
+ "inheritedFrom": {
1545
+ "name": "Anchor",
1546
+ "module": "src/anchor/anchor.ts"
1592
1547
  }
1593
1548
  },
1594
1549
  {
1595
- "kind": "field",
1596
- "name": "isVertical",
1550
+ "name": "href",
1597
1551
  "type": {
1598
- "text": "boolean"
1552
+ "text": "string"
1599
1553
  },
1600
- "default": "false"
1554
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1555
+ "fieldName": "href",
1556
+ "inheritedFrom": {
1557
+ "name": "Anchor",
1558
+ "module": "src/anchor/anchor.ts"
1559
+ }
1601
1560
  },
1602
1561
  {
1603
- "kind": "field",
1604
- "name": "addDefaultActions",
1562
+ "name": "hreflang",
1605
1563
  "type": {
1606
- "text": "boolean"
1564
+ "text": "string"
1607
1565
  },
1608
- "default": "true"
1566
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1567
+ "fieldName": "hreflang",
1568
+ "inheritedFrom": {
1569
+ "name": "Anchor",
1570
+ "module": "src/anchor/anchor.ts"
1571
+ }
1609
1572
  },
1610
1573
  {
1611
- "kind": "field",
1612
- "name": "autoCloseOnAction",
1574
+ "name": "ping",
1613
1575
  "type": {
1614
- "text": "boolean"
1576
+ "text": "string"
1615
1577
  },
1616
- "default": "true"
1578
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1579
+ "fieldName": "ping",
1580
+ "inheritedFrom": {
1581
+ "name": "Anchor",
1582
+ "module": "src/anchor/anchor.ts"
1583
+ }
1617
1584
  },
1618
1585
  {
1619
- "kind": "field",
1620
- "name": "classNames",
1586
+ "name": "referrerpolicy",
1621
1587
  "type": {
1622
1588
  "text": "string"
1589
+ },
1590
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1591
+ "fieldName": "referrerpolicy",
1592
+ "inheritedFrom": {
1593
+ "name": "Anchor",
1594
+ "module": "src/anchor/anchor.ts"
1623
1595
  }
1624
1596
  },
1625
1597
  {
1626
- "kind": "field",
1627
- "name": "definition",
1598
+ "name": "rel",
1628
1599
  "type": {
1629
- "text": "any"
1600
+ "text": "string"
1601
+ },
1602
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1603
+ "fieldName": "rel",
1604
+ "inheritedFrom": {
1605
+ "name": "Anchor",
1606
+ "module": "src/anchor/anchor.ts"
1630
1607
  }
1631
1608
  },
1632
1609
  {
1633
- "kind": "field",
1634
- "name": "name",
1610
+ "name": "target",
1635
1611
  "type": {
1636
- "text": "string"
1612
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1637
1613
  },
1638
- "default": "'Actions'"
1614
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1615
+ "fieldName": "target",
1616
+ "inheritedFrom": {
1617
+ "name": "Anchor",
1618
+ "module": "src/anchor/anchor.ts"
1619
+ }
1639
1620
  },
1640
1621
  {
1641
- "kind": "field",
1642
- "name": "open",
1622
+ "name": "type",
1643
1623
  "type": {
1644
- "text": "boolean"
1624
+ "text": "string"
1645
1625
  },
1646
- "default": "false"
1647
- },
1626
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1627
+ "fieldName": "type",
1628
+ "inheritedFrom": {
1629
+ "name": "Anchor",
1630
+ "module": "src/anchor/anchor.ts"
1631
+ }
1632
+ }
1633
+ ],
1634
+ "members": [
1648
1635
  {
1649
1636
  "kind": "field",
1650
- "name": "buttonAppearance",
1637
+ "name": "download",
1651
1638
  "type": {
1652
1639
  "text": "string"
1640
+ },
1641
+ "privacy": "public",
1642
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1643
+ "inheritedFrom": {
1644
+ "name": "Anchor",
1645
+ "module": "src/anchor/anchor.ts"
1653
1646
  }
1654
1647
  },
1655
1648
  {
1656
1649
  "kind": "field",
1657
- "name": "hideDisabled",
1650
+ "name": "href",
1658
1651
  "type": {
1659
- "text": "boolean"
1652
+ "text": "string"
1660
1653
  },
1661
- "default": "false"
1654
+ "privacy": "public",
1655
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1656
+ "inheritedFrom": {
1657
+ "name": "Anchor",
1658
+ "module": "src/anchor/anchor.ts"
1659
+ }
1662
1660
  },
1663
1661
  {
1664
1662
  "kind": "field",
1665
- "name": "hideMenuSingleOption",
1663
+ "name": "hreflang",
1666
1664
  "type": {
1667
- "text": "boolean"
1665
+ "text": "string"
1668
1666
  },
1669
- "default": "false"
1667
+ "privacy": "public",
1668
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1669
+ "inheritedFrom": {
1670
+ "name": "Anchor",
1671
+ "module": "src/anchor/anchor.ts"
1672
+ }
1670
1673
  },
1671
1674
  {
1672
1675
  "kind": "field",
1673
- "name": "singleOption",
1676
+ "name": "ping",
1674
1677
  "type": {
1675
- "text": "ActionMenuItem"
1678
+ "text": "string"
1679
+ },
1680
+ "privacy": "public",
1681
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1682
+ "inheritedFrom": {
1683
+ "name": "Anchor",
1684
+ "module": "src/anchor/anchor.ts"
1676
1685
  }
1677
1686
  },
1678
1687
  {
1679
1688
  "kind": "field",
1680
- "name": "actionsMenu",
1689
+ "name": "referrerpolicy",
1681
1690
  "type": {
1682
- "text": "HTMLElement"
1691
+ "text": "string"
1692
+ },
1693
+ "privacy": "public",
1694
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1695
+ "inheritedFrom": {
1696
+ "name": "Anchor",
1697
+ "module": "src/anchor/anchor.ts"
1683
1698
  }
1684
1699
  },
1685
1700
  {
1686
- "kind": "method",
1687
- "name": "definitionChanged",
1688
- "privacy": "protected",
1689
- "parameters": [
1690
- {
1691
- "name": "oldValue",
1692
- "type": {
1693
- "text": "any"
1694
- }
1695
- },
1696
- {
1697
- "name": "newValue",
1698
- "type": {
1699
- "text": "any"
1700
- }
1701
- }
1702
- ]
1703
- },
1704
- {
1705
- "kind": "method",
1706
- "name": "openChanged",
1707
- "privacy": "protected"
1708
- },
1709
- {
1710
- "kind": "method",
1711
- "name": "toggleActionsMenuVisibility"
1712
- },
1713
- {
1714
- "kind": "method",
1715
- "name": "onActionMenuItemClick",
1716
- "parameters": [
1717
- {
1718
- "name": "callback",
1719
- "type": {
1720
- "text": "(rowData) => void | any"
1721
- }
1722
- }
1723
- ]
1701
+ "kind": "field",
1702
+ "name": "rel",
1703
+ "type": {
1704
+ "text": "string"
1705
+ },
1706
+ "privacy": "public",
1707
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1708
+ "inheritedFrom": {
1709
+ "name": "Anchor",
1710
+ "module": "src/anchor/anchor.ts"
1711
+ }
1724
1712
  },
1725
1713
  {
1726
1714
  "kind": "field",
1727
- "name": "allActions",
1715
+ "name": "target",
1728
1716
  "type": {
1729
- "text": "ActionMenuItem[]"
1717
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1730
1718
  },
1731
- "readonly": true
1719
+ "privacy": "public",
1720
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1721
+ "inheritedFrom": {
1722
+ "name": "Anchor",
1723
+ "module": "src/anchor/anchor.ts"
1724
+ }
1732
1725
  },
1733
1726
  {
1734
1727
  "kind": "field",
1735
- "name": "rowData",
1736
- "readonly": true
1728
+ "name": "type",
1729
+ "type": {
1730
+ "text": "string"
1731
+ },
1732
+ "privacy": "public",
1733
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1734
+ "inheritedFrom": {
1735
+ "name": "Anchor",
1736
+ "module": "src/anchor/anchor.ts"
1737
+ }
1737
1738
  },
1738
1739
  {
1739
- "kind": "method",
1740
- "name": "getLabel",
1741
- "parameters": [
1742
- {
1743
- "name": "name",
1744
- "type": {
1745
- "text": "string | ((rowData: any) => string)"
1746
- }
1747
- }
1748
- ]
1740
+ "kind": "field",
1741
+ "name": "control",
1742
+ "type": {
1743
+ "text": "HTMLAnchorElement | undefined"
1744
+ },
1745
+ "privacy": "public",
1746
+ "description": "References the root element",
1747
+ "inheritedFrom": {
1748
+ "name": "Anchor",
1749
+ "module": "src/anchor/anchor.ts"
1750
+ }
1749
1751
  },
1750
1752
  {
1751
- "kind": "method",
1752
- "name": "getTemplate",
1753
- "parameters": [
1754
- {
1755
- "name": "prefix",
1756
- "type": {
1757
- "text": "string"
1758
- }
1759
- }
1760
- ]
1753
+ "kind": "field",
1754
+ "name": "handleUnsupportedDelegatesFocus",
1755
+ "privacy": "private",
1756
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1757
+ "inheritedFrom": {
1758
+ "name": "Anchor",
1759
+ "module": "src/anchor/anchor.ts"
1760
+ }
1761
1761
  },
1762
1762
  {
1763
1763
  "kind": "field",
@@ -1870,108 +1870,69 @@
1870
1870
  "module": "src/foundation-element/foundation-element.ts"
1871
1871
  }
1872
1872
  }
1873
- ],
1874
- "attributes": [
1875
- {
1876
- "name": "is-vertical",
1877
- "type": {
1878
- "text": "boolean"
1879
- },
1880
- "default": "false",
1881
- "fieldName": "isVertical"
1882
- },
1883
- {
1884
- "name": "add-default-actions",
1885
- "type": {
1886
- "text": "boolean"
1887
- },
1888
- "default": "true",
1889
- "fieldName": "addDefaultActions"
1890
- },
1891
- {
1892
- "name": "auto-close-on-action",
1893
- "type": {
1894
- "text": "boolean"
1895
- },
1896
- "default": "true",
1897
- "fieldName": "autoCloseOnAction"
1898
- },
1899
- {
1900
- "name": "name",
1901
- "type": {
1902
- "text": "string"
1903
- },
1904
- "default": "'Actions'",
1905
- "fieldName": "name"
1906
- },
1907
- {
1908
- "name": "open",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "false",
1913
- "fieldName": "open"
1914
- },
1915
- {
1916
- "name": "buttonAppearance",
1917
- "type": {
1918
- "text": "string"
1919
- },
1920
- "fieldName": "buttonAppearance"
1921
- },
1922
- {
1923
- "name": "hide-disabled",
1924
- "type": {
1925
- "text": "boolean"
1926
- },
1927
- "default": "false",
1928
- "fieldName": "hideDisabled"
1929
- },
1930
- {
1931
- "name": "hide-menu-single-option",
1932
- "type": {
1933
- "text": "boolean"
1934
- },
1935
- "default": "false",
1936
- "fieldName": "hideMenuSingleOption"
1937
- }
1938
- ],
1939
- "superclass": {
1940
- "name": "FoundationElement",
1941
- "package": "@microsoft/fast-foundation"
1873
+ ]
1874
+ },
1875
+ {
1876
+ "kind": "variable",
1877
+ "name": "foundationAnchorShadowOptions",
1878
+ "type": {
1879
+ "text": "ShadowRootInit"
1942
1880
  },
1943
- "tagName": "%%prefix%%-actions-menu",
1944
- "customElement": true
1881
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1945
1882
  },
1946
1883
  {
1947
1884
  "kind": "variable",
1948
- "name": "foundationActionsMenu",
1949
- "description": "The Foundation Actions Menu",
1885
+ "name": "defaultAnchorConfig",
1886
+ "type": {
1887
+ "text": "object"
1888
+ },
1889
+ "default": "{}"
1890
+ },
1891
+ {
1892
+ "kind": "variable",
1893
+ "name": "foundationAnchor",
1894
+ "description": "The Foundation Anchor",
1950
1895
  "privacy": "public"
1951
1896
  }
1952
1897
  ],
1953
1898
  "exports": [
1954
1899
  {
1955
1900
  "kind": "js",
1956
- "name": "ActionsMenu",
1901
+ "name": "Anchor",
1957
1902
  "declaration": {
1958
- "name": "ActionsMenu",
1959
- "module": "src/actions-menu/actions-menu.ts"
1903
+ "name": "Anchor",
1904
+ "module": "src/anchor/anchor.ts"
1960
1905
  }
1961
1906
  },
1962
1907
  {
1963
1908
  "kind": "js",
1964
- "name": "foundationActionsMenu",
1909
+ "name": "foundationAnchorShadowOptions",
1965
1910
  "declaration": {
1966
- "name": "foundationActionsMenu",
1967
- "module": "src/actions-menu/actions-menu.ts"
1911
+ "name": "foundationAnchorShadowOptions",
1912
+ "module": "src/anchor/anchor.ts"
1913
+ }
1914
+ },
1915
+ {
1916
+ "kind": "js",
1917
+ "name": "defaultAnchorConfig",
1918
+ "declaration": {
1919
+ "name": "defaultAnchorConfig",
1920
+ "module": "src/anchor/anchor.ts"
1921
+ }
1922
+ },
1923
+ {
1924
+ "kind": "js",
1925
+ "name": "foundationAnchor",
1926
+ "declaration": {
1927
+ "name": "foundationAnchor",
1928
+ "module": "src/anchor/anchor.ts"
1968
1929
  }
1969
1930
  }
1970
1931
  ]
1971
1932
  },
1972
1933
  {
1973
1934
  "kind": "javascript-module",
1974
- "path": "src/actions-menu/index.ts",
1935
+ "path": "src/anchor/index.ts",
1975
1936
  "declarations": [],
1976
1937
  "exports": [
1977
1938
  {
@@ -1979,7 +1940,7 @@
1979
1940
  "name": "*",
1980
1941
  "declaration": {
1981
1942
  "name": "*",
1982
- "package": "./actions-menu.styles"
1943
+ "package": "./anchor.template"
1983
1944
  }
1984
1945
  },
1985
1946
  {
@@ -1987,7 +1948,7 @@
1987
1948
  "name": "*",
1988
1949
  "declaration": {
1989
1950
  "name": "*",
1990
- "package": "./actions-menu.template"
1951
+ "package": "./anchor.styles"
1991
1952
  }
1992
1953
  },
1993
1954
  {
@@ -1995,18 +1956,18 @@
1995
1956
  "name": "*",
1996
1957
  "declaration": {
1997
1958
  "name": "*",
1998
- "package": "./actions-menu"
1959
+ "package": "./anchor"
1999
1960
  }
2000
1961
  }
2001
1962
  ]
2002
1963
  },
2003
1964
  {
2004
1965
  "kind": "javascript-module",
2005
- "path": "src/anchor/anchor.styles.ts",
1966
+ "path": "src/actions-menu/actions-menu.styles.ts",
2006
1967
  "declarations": [
2007
1968
  {
2008
1969
  "kind": "function",
2009
- "name": "foundationAnchorStyles",
1970
+ "name": "actionsMenuBaseStyles",
2010
1971
  "return": {
2011
1972
  "type": {
2012
1973
  "text": "ElementStyles"
@@ -2026,29 +1987,13 @@
2026
1987
  }
2027
1988
  }
2028
1989
  ]
2029
- }
2030
- ],
2031
- "exports": [
2032
- {
2033
- "kind": "js",
2034
- "name": "foundationAnchorStyles",
2035
- "declaration": {
2036
- "name": "foundationAnchorStyles",
2037
- "module": "src/anchor/anchor.styles.ts"
2038
- }
2039
- }
2040
- ]
2041
- },
2042
- {
2043
- "kind": "javascript-module",
2044
- "path": "src/anchor/anchor.template.ts",
2045
- "declarations": [
1990
+ },
2046
1991
  {
2047
1992
  "kind": "function",
2048
- "name": "foundationAnchorTemplate",
1993
+ "name": "foundationActionsMenuStyles",
2049
1994
  "return": {
2050
1995
  "type": {
2051
- "text": "ViewTemplate<Anchor>"
1996
+ "text": "ElementStyles"
2052
1997
  }
2053
1998
  },
2054
1999
  "parameters": [
@@ -2070,253 +2015,269 @@
2070
2015
  "exports": [
2071
2016
  {
2072
2017
  "kind": "js",
2073
- "name": "foundationAnchorTemplate",
2018
+ "name": "actionsMenuBaseStyles",
2074
2019
  "declaration": {
2075
- "name": "foundationAnchorTemplate",
2076
- "module": "src/anchor/anchor.template.ts"
2020
+ "name": "actionsMenuBaseStyles",
2021
+ "module": "src/actions-menu/actions-menu.styles.ts"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "foundationActionsMenuStyles",
2027
+ "declaration": {
2028
+ "name": "foundationActionsMenuStyles",
2029
+ "module": "src/actions-menu/actions-menu.styles.ts"
2077
2030
  }
2078
2031
  }
2079
2032
  ]
2080
2033
  },
2081
2034
  {
2082
2035
  "kind": "javascript-module",
2083
- "path": "src/anchor/anchor.ts",
2036
+ "path": "src/actions-menu/actions-menu.template.ts",
2084
2037
  "declarations": [
2085
2038
  {
2086
- "kind": "class",
2087
- "description": "",
2088
- "name": "Anchor",
2089
- "superclass": {
2090
- "name": "FASTAnchor",
2091
- "package": "@microsoft/fast-components"
2092
- },
2093
- "tagName": "%%prefix%%-anchor",
2094
- "customElement": true,
2095
- "attributes": [
2039
+ "kind": "function",
2040
+ "name": "menuTemplate",
2041
+ "parameters": [
2096
2042
  {
2097
- "name": "download",
2043
+ "name": "prefix",
2098
2044
  "type": {
2099
2045
  "text": "string"
2100
- },
2101
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2102
- "fieldName": "download",
2103
- "inheritedFrom": {
2104
- "name": "Anchor",
2105
- "module": "src/anchor/anchor.ts"
2106
2046
  }
2107
- },
2047
+ }
2048
+ ]
2049
+ },
2050
+ {
2051
+ "kind": "function",
2052
+ "name": "singleOptionTemplate",
2053
+ "parameters": [
2108
2054
  {
2109
- "name": "href",
2055
+ "name": "prefix",
2110
2056
  "type": {
2111
2057
  "text": "string"
2112
- },
2113
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2114
- "fieldName": "href",
2115
- "inheritedFrom": {
2116
- "name": "Anchor",
2117
- "module": "src/anchor/anchor.ts"
2118
2058
  }
2119
- },
2059
+ }
2060
+ ]
2061
+ },
2062
+ {
2063
+ "kind": "variable",
2064
+ "name": "foundationActionsMenuTemplate",
2065
+ "type": {
2066
+ "text": "ViewTemplate<ActionsMenu>"
2067
+ },
2068
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2069
+ }
2070
+ ],
2071
+ "exports": [
2072
+ {
2073
+ "kind": "js",
2074
+ "name": "menuTemplate",
2075
+ "declaration": {
2076
+ "name": "menuTemplate",
2077
+ "module": "src/actions-menu/actions-menu.template.ts"
2078
+ }
2079
+ },
2080
+ {
2081
+ "kind": "js",
2082
+ "name": "singleOptionTemplate",
2083
+ "declaration": {
2084
+ "name": "singleOptionTemplate",
2085
+ "module": "src/actions-menu/actions-menu.template.ts"
2086
+ }
2087
+ },
2088
+ {
2089
+ "kind": "js",
2090
+ "name": "foundationActionsMenuTemplate",
2091
+ "declaration": {
2092
+ "name": "foundationActionsMenuTemplate",
2093
+ "module": "src/actions-menu/actions-menu.template.ts"
2094
+ }
2095
+ }
2096
+ ]
2097
+ },
2098
+ {
2099
+ "kind": "javascript-module",
2100
+ "path": "src/actions-menu/actions-menu.ts",
2101
+ "declarations": [
2102
+ {
2103
+ "kind": "class",
2104
+ "description": "",
2105
+ "name": "ActionsMenu",
2106
+ "members": [
2120
2107
  {
2121
- "name": "hreflang",
2108
+ "kind": "field",
2109
+ "name": "actions",
2122
2110
  "type": {
2123
- "text": "string"
2124
- },
2125
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2126
- "fieldName": "hreflang",
2127
- "inheritedFrom": {
2128
- "name": "Anchor",
2129
- "module": "src/anchor/anchor.ts"
2111
+ "text": "ActionMenuItem[]"
2130
2112
  }
2131
2113
  },
2132
2114
  {
2133
- "name": "ping",
2115
+ "kind": "field",
2116
+ "name": "isVertical",
2134
2117
  "type": {
2135
- "text": "string"
2118
+ "text": "boolean"
2136
2119
  },
2137
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2138
- "fieldName": "ping",
2139
- "inheritedFrom": {
2140
- "name": "Anchor",
2141
- "module": "src/anchor/anchor.ts"
2142
- }
2120
+ "default": "false"
2143
2121
  },
2144
2122
  {
2145
- "name": "referrerpolicy",
2123
+ "kind": "field",
2124
+ "name": "addDefaultActions",
2146
2125
  "type": {
2147
- "text": "string"
2126
+ "text": "boolean"
2148
2127
  },
2149
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2150
- "fieldName": "referrerpolicy",
2151
- "inheritedFrom": {
2152
- "name": "Anchor",
2153
- "module": "src/anchor/anchor.ts"
2154
- }
2128
+ "default": "true"
2155
2129
  },
2156
2130
  {
2157
- "name": "rel",
2131
+ "kind": "field",
2132
+ "name": "autoCloseOnAction",
2158
2133
  "type": {
2159
- "text": "string"
2134
+ "text": "boolean"
2160
2135
  },
2161
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2162
- "fieldName": "rel",
2163
- "inheritedFrom": {
2164
- "name": "Anchor",
2165
- "module": "src/anchor/anchor.ts"
2166
- }
2136
+ "default": "true"
2167
2137
  },
2168
2138
  {
2169
- "name": "target",
2139
+ "kind": "field",
2140
+ "name": "classNames",
2170
2141
  "type": {
2171
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2172
- },
2173
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2174
- "fieldName": "target",
2175
- "inheritedFrom": {
2176
- "name": "Anchor",
2177
- "module": "src/anchor/anchor.ts"
2142
+ "text": "string"
2178
2143
  }
2179
2144
  },
2180
2145
  {
2181
- "name": "type",
2146
+ "kind": "field",
2147
+ "name": "definition",
2182
2148
  "type": {
2183
- "text": "string"
2184
- },
2185
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2186
- "fieldName": "type",
2187
- "inheritedFrom": {
2188
- "name": "Anchor",
2189
- "module": "src/anchor/anchor.ts"
2149
+ "text": "any"
2190
2150
  }
2191
- }
2192
- ],
2193
- "members": [
2151
+ },
2194
2152
  {
2195
2153
  "kind": "field",
2196
- "name": "download",
2154
+ "name": "name",
2197
2155
  "type": {
2198
2156
  "text": "string"
2199
2157
  },
2200
- "privacy": "public",
2201
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2202
- "inheritedFrom": {
2203
- "name": "Anchor",
2204
- "module": "src/anchor/anchor.ts"
2205
- }
2158
+ "default": "'Actions'"
2206
2159
  },
2207
2160
  {
2208
2161
  "kind": "field",
2209
- "name": "href",
2162
+ "name": "open",
2210
2163
  "type": {
2211
- "text": "string"
2164
+ "text": "boolean"
2212
2165
  },
2213
- "privacy": "public",
2214
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2215
- "inheritedFrom": {
2216
- "name": "Anchor",
2217
- "module": "src/anchor/anchor.ts"
2218
- }
2166
+ "default": "false"
2219
2167
  },
2220
2168
  {
2221
2169
  "kind": "field",
2222
- "name": "hreflang",
2170
+ "name": "buttonAppearance",
2223
2171
  "type": {
2224
2172
  "text": "string"
2225
- },
2226
- "privacy": "public",
2227
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2228
- "inheritedFrom": {
2229
- "name": "Anchor",
2230
- "module": "src/anchor/anchor.ts"
2231
2173
  }
2232
2174
  },
2233
2175
  {
2234
2176
  "kind": "field",
2235
- "name": "ping",
2177
+ "name": "hideDisabled",
2236
2178
  "type": {
2237
- "text": "string"
2179
+ "text": "boolean"
2238
2180
  },
2239
- "privacy": "public",
2240
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2241
- "inheritedFrom": {
2242
- "name": "Anchor",
2243
- "module": "src/anchor/anchor.ts"
2244
- }
2181
+ "default": "false"
2245
2182
  },
2246
2183
  {
2247
2184
  "kind": "field",
2248
- "name": "referrerpolicy",
2185
+ "name": "hideMenuSingleOption",
2249
2186
  "type": {
2250
- "text": "string"
2187
+ "text": "boolean"
2251
2188
  },
2252
- "privacy": "public",
2253
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2254
- "inheritedFrom": {
2255
- "name": "Anchor",
2256
- "module": "src/anchor/anchor.ts"
2257
- }
2189
+ "default": "false"
2258
2190
  },
2259
2191
  {
2260
2192
  "kind": "field",
2261
- "name": "rel",
2193
+ "name": "singleOption",
2262
2194
  "type": {
2263
- "text": "string"
2264
- },
2265
- "privacy": "public",
2266
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2267
- "inheritedFrom": {
2268
- "name": "Anchor",
2269
- "module": "src/anchor/anchor.ts"
2195
+ "text": "ActionMenuItem"
2270
2196
  }
2271
2197
  },
2272
2198
  {
2273
2199
  "kind": "field",
2274
- "name": "target",
2200
+ "name": "actionsMenu",
2275
2201
  "type": {
2276
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2277
- },
2278
- "privacy": "public",
2279
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2280
- "inheritedFrom": {
2281
- "name": "Anchor",
2282
- "module": "src/anchor/anchor.ts"
2202
+ "text": "HTMLElement"
2283
2203
  }
2284
2204
  },
2285
2205
  {
2286
- "kind": "field",
2287
- "name": "type",
2288
- "type": {
2289
- "text": "string"
2290
- },
2291
- "privacy": "public",
2292
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2293
- "inheritedFrom": {
2294
- "name": "Anchor",
2295
- "module": "src/anchor/anchor.ts"
2296
- }
2206
+ "kind": "method",
2207
+ "name": "definitionChanged",
2208
+ "privacy": "protected",
2209
+ "parameters": [
2210
+ {
2211
+ "name": "oldValue",
2212
+ "type": {
2213
+ "text": "any"
2214
+ }
2215
+ },
2216
+ {
2217
+ "name": "newValue",
2218
+ "type": {
2219
+ "text": "any"
2220
+ }
2221
+ }
2222
+ ]
2223
+ },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "openChanged",
2227
+ "privacy": "protected"
2228
+ },
2229
+ {
2230
+ "kind": "method",
2231
+ "name": "toggleActionsMenuVisibility"
2232
+ },
2233
+ {
2234
+ "kind": "method",
2235
+ "name": "onActionMenuItemClick",
2236
+ "parameters": [
2237
+ {
2238
+ "name": "callback",
2239
+ "type": {
2240
+ "text": "(rowData) => void | any"
2241
+ }
2242
+ }
2243
+ ]
2297
2244
  },
2298
2245
  {
2299
2246
  "kind": "field",
2300
- "name": "control",
2247
+ "name": "allActions",
2301
2248
  "type": {
2302
- "text": "HTMLAnchorElement | undefined"
2249
+ "text": "ActionMenuItem[]"
2303
2250
  },
2304
- "privacy": "public",
2305
- "description": "References the root element",
2306
- "inheritedFrom": {
2307
- "name": "Anchor",
2308
- "module": "src/anchor/anchor.ts"
2309
- }
2251
+ "readonly": true
2310
2252
  },
2311
2253
  {
2312
2254
  "kind": "field",
2313
- "name": "handleUnsupportedDelegatesFocus",
2314
- "privacy": "private",
2315
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2316
- "inheritedFrom": {
2317
- "name": "Anchor",
2318
- "module": "src/anchor/anchor.ts"
2319
- }
2255
+ "name": "rowData",
2256
+ "readonly": true
2257
+ },
2258
+ {
2259
+ "kind": "method",
2260
+ "name": "getLabel",
2261
+ "parameters": [
2262
+ {
2263
+ "name": "name",
2264
+ "type": {
2265
+ "text": "string | ((rowData: any) => string)"
2266
+ }
2267
+ }
2268
+ ]
2269
+ },
2270
+ {
2271
+ "kind": "method",
2272
+ "name": "getTemplate",
2273
+ "parameters": [
2274
+ {
2275
+ "name": "prefix",
2276
+ "type": {
2277
+ "text": "string"
2278
+ }
2279
+ }
2280
+ ]
2320
2281
  },
2321
2282
  {
2322
2283
  "kind": "field",
@@ -2429,69 +2390,108 @@
2429
2390
  "module": "src/foundation-element/foundation-element.ts"
2430
2391
  }
2431
2392
  }
2432
- ]
2433
- },
2434
- {
2435
- "kind": "variable",
2436
- "name": "foundationAnchorShadowOptions",
2437
- "type": {
2438
- "text": "ShadowRootInit"
2439
- },
2440
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2441
- },
2442
- {
2443
- "kind": "variable",
2444
- "name": "defaultAnchorConfig",
2445
- "type": {
2446
- "text": "object"
2393
+ ],
2394
+ "attributes": [
2395
+ {
2396
+ "name": "is-vertical",
2397
+ "type": {
2398
+ "text": "boolean"
2399
+ },
2400
+ "default": "false",
2401
+ "fieldName": "isVertical"
2402
+ },
2403
+ {
2404
+ "name": "add-default-actions",
2405
+ "type": {
2406
+ "text": "boolean"
2407
+ },
2408
+ "default": "true",
2409
+ "fieldName": "addDefaultActions"
2410
+ },
2411
+ {
2412
+ "name": "auto-close-on-action",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "true",
2417
+ "fieldName": "autoCloseOnAction"
2418
+ },
2419
+ {
2420
+ "name": "name",
2421
+ "type": {
2422
+ "text": "string"
2423
+ },
2424
+ "default": "'Actions'",
2425
+ "fieldName": "name"
2426
+ },
2427
+ {
2428
+ "name": "open",
2429
+ "type": {
2430
+ "text": "boolean"
2431
+ },
2432
+ "default": "false",
2433
+ "fieldName": "open"
2434
+ },
2435
+ {
2436
+ "name": "buttonAppearance",
2437
+ "type": {
2438
+ "text": "string"
2439
+ },
2440
+ "fieldName": "buttonAppearance"
2441
+ },
2442
+ {
2443
+ "name": "hide-disabled",
2444
+ "type": {
2445
+ "text": "boolean"
2446
+ },
2447
+ "default": "false",
2448
+ "fieldName": "hideDisabled"
2449
+ },
2450
+ {
2451
+ "name": "hide-menu-single-option",
2452
+ "type": {
2453
+ "text": "boolean"
2454
+ },
2455
+ "default": "false",
2456
+ "fieldName": "hideMenuSingleOption"
2457
+ }
2458
+ ],
2459
+ "superclass": {
2460
+ "name": "FoundationElement",
2461
+ "package": "@microsoft/fast-foundation"
2447
2462
  },
2448
- "default": "{}"
2463
+ "tagName": "%%prefix%%-actions-menu",
2464
+ "customElement": true
2449
2465
  },
2450
2466
  {
2451
2467
  "kind": "variable",
2452
- "name": "foundationAnchor",
2453
- "description": "The Foundation Anchor",
2468
+ "name": "foundationActionsMenu",
2469
+ "description": "The Foundation Actions Menu",
2454
2470
  "privacy": "public"
2455
2471
  }
2456
2472
  ],
2457
2473
  "exports": [
2458
2474
  {
2459
2475
  "kind": "js",
2460
- "name": "Anchor",
2461
- "declaration": {
2462
- "name": "Anchor",
2463
- "module": "src/anchor/anchor.ts"
2464
- }
2465
- },
2466
- {
2467
- "kind": "js",
2468
- "name": "foundationAnchorShadowOptions",
2469
- "declaration": {
2470
- "name": "foundationAnchorShadowOptions",
2471
- "module": "src/anchor/anchor.ts"
2472
- }
2473
- },
2474
- {
2475
- "kind": "js",
2476
- "name": "defaultAnchorConfig",
2476
+ "name": "ActionsMenu",
2477
2477
  "declaration": {
2478
- "name": "defaultAnchorConfig",
2479
- "module": "src/anchor/anchor.ts"
2478
+ "name": "ActionsMenu",
2479
+ "module": "src/actions-menu/actions-menu.ts"
2480
2480
  }
2481
2481
  },
2482
2482
  {
2483
2483
  "kind": "js",
2484
- "name": "foundationAnchor",
2484
+ "name": "foundationActionsMenu",
2485
2485
  "declaration": {
2486
- "name": "foundationAnchor",
2487
- "module": "src/anchor/anchor.ts"
2486
+ "name": "foundationActionsMenu",
2487
+ "module": "src/actions-menu/actions-menu.ts"
2488
2488
  }
2489
2489
  }
2490
2490
  ]
2491
2491
  },
2492
2492
  {
2493
2493
  "kind": "javascript-module",
2494
- "path": "src/anchor/index.ts",
2494
+ "path": "src/actions-menu/index.ts",
2495
2495
  "declarations": [],
2496
2496
  "exports": [
2497
2497
  {
@@ -2499,7 +2499,7 @@
2499
2499
  "name": "*",
2500
2500
  "declaration": {
2501
2501
  "name": "*",
2502
- "package": "./anchor.template"
2502
+ "package": "./actions-menu.styles"
2503
2503
  }
2504
2504
  },
2505
2505
  {
@@ -2507,7 +2507,7 @@
2507
2507
  "name": "*",
2508
2508
  "declaration": {
2509
2509
  "name": "*",
2510
- "package": "./anchor.styles"
2510
+ "package": "./actions-menu.template"
2511
2511
  }
2512
2512
  },
2513
2513
  {
@@ -2515,7 +2515,7 @@
2515
2515
  "name": "*",
2516
2516
  "declaration": {
2517
2517
  "name": "*",
2518
- "package": "./anchor"
2518
+ "package": "./actions-menu"
2519
2519
  }
2520
2520
  }
2521
2521
  ]
@@ -8490,11 +8490,11 @@
8490
8490
  },
8491
8491
  {
8492
8492
  "kind": "javascript-module",
8493
- "path": "src/checkbox/checkbox.styles.ts",
8493
+ "path": "src/combobox/combobox.styles.ts",
8494
8494
  "declarations": [
8495
8495
  {
8496
8496
  "kind": "function",
8497
- "name": "foundationCheckboxStyles",
8497
+ "name": "foundationComboboxStyles",
8498
8498
  "return": {
8499
8499
  "type": {
8500
8500
  "text": "ElementStyles"
@@ -8510,7 +8510,7 @@
8510
8510
  {
8511
8511
  "name": "definition",
8512
8512
  "type": {
8513
- "text": "CheckboxOptions"
8513
+ "text": "FoundationElementDefinition"
8514
8514
  }
8515
8515
  }
8516
8516
  ]
@@ -8519,24 +8519,24 @@
8519
8519
  "exports": [
8520
8520
  {
8521
8521
  "kind": "js",
8522
- "name": "foundationCheckboxStyles",
8522
+ "name": "foundationComboboxStyles",
8523
8523
  "declaration": {
8524
- "name": "foundationCheckboxStyles",
8525
- "module": "src/checkbox/checkbox.styles.ts"
8524
+ "name": "foundationComboboxStyles",
8525
+ "module": "src/combobox/combobox.styles.ts"
8526
8526
  }
8527
8527
  }
8528
8528
  ]
8529
8529
  },
8530
8530
  {
8531
8531
  "kind": "javascript-module",
8532
- "path": "src/checkbox/checkbox.template.ts",
8532
+ "path": "src/combobox/combobox.template.ts",
8533
8533
  "declarations": [
8534
8534
  {
8535
8535
  "kind": "function",
8536
- "name": "foundationCheckboxTemplate",
8536
+ "name": "foundationComboboxTemplate",
8537
8537
  "return": {
8538
8538
  "type": {
8539
- "text": "ViewTemplate<Checkbox>"
8539
+ "text": "ViewTemplate<Combobox>"
8540
8540
  }
8541
8541
  },
8542
8542
  "parameters": [
@@ -8549,7 +8549,7 @@
8549
8549
  {
8550
8550
  "name": "definition",
8551
8551
  "type": {
8552
- "text": "CheckboxOptions"
8552
+ "text": "ComboboxOptions"
8553
8553
  }
8554
8554
  }
8555
8555
  ]
@@ -8558,276 +8558,356 @@
8558
8558
  "exports": [
8559
8559
  {
8560
8560
  "kind": "js",
8561
- "name": "foundationCheckboxTemplate",
8561
+ "name": "foundationComboboxTemplate",
8562
8562
  "declaration": {
8563
- "name": "foundationCheckboxTemplate",
8564
- "module": "src/checkbox/checkbox.template.ts"
8563
+ "name": "foundationComboboxTemplate",
8564
+ "module": "src/combobox/combobox.template.ts"
8565
8565
  }
8566
8566
  }
8567
8567
  ]
8568
8568
  },
8569
8569
  {
8570
8570
  "kind": "javascript-module",
8571
- "path": "src/checkbox/checkbox.ts",
8571
+ "path": "src/combobox/combobox.ts",
8572
8572
  "declarations": [
8573
8573
  {
8574
8574
  "kind": "class",
8575
8575
  "description": "",
8576
- "name": "Checkbox",
8577
- "superclass": {
8578
- "name": "FASTCheckbox",
8579
- "package": "@microsoft/fast-components"
8580
- },
8581
- "tagName": "%%prefix%%-checkbox",
8582
- "customElement": true,
8583
- "attributes": [
8576
+ "name": "Combobox",
8577
+ "members": [
8584
8578
  {
8585
- "name": "readonly",
8579
+ "kind": "field",
8580
+ "name": "_ourValue",
8586
8581
  "type": {
8587
- "text": "boolean"
8582
+ "text": "string"
8588
8583
  },
8589
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
8590
- "fieldName": "readOnly",
8591
- "inheritedFrom": {
8592
- "name": "Checkbox",
8593
- "module": "src/checkbox/checkbox.ts"
8594
- }
8595
- }
8596
- ],
8597
- "members": [
8584
+ "privacy": "private"
8585
+ },
8598
8586
  {
8599
8587
  "kind": "field",
8600
- "name": "readOnly",
8588
+ "name": "#indicator",
8589
+ "privacy": "private",
8601
8590
  "type": {
8602
- "text": "boolean"
8603
- },
8604
- "privacy": "public",
8605
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
8606
- "inheritedFrom": {
8607
- "name": "Checkbox",
8608
- "module": "src/checkbox/checkbox.ts"
8591
+ "text": "Element"
8609
8592
  }
8610
8593
  },
8611
8594
  {
8612
- "kind": "method",
8613
- "name": "readOnlyChanged",
8595
+ "kind": "field",
8596
+ "name": "#wasOpenOnEnterDown",
8614
8597
  "privacy": "private",
8615
- "return": {
8616
- "type": {
8617
- "text": "void"
8618
- }
8598
+ "type": {
8599
+ "text": "boolean"
8619
8600
  },
8620
- "inheritedFrom": {
8621
- "name": "Checkbox",
8622
- "module": "src/checkbox/checkbox.ts"
8623
- }
8601
+ "default": "false"
8624
8602
  },
8625
8603
  {
8626
8604
  "kind": "field",
8627
- "name": "indeterminate",
8605
+ "name": "slottedDatasource",
8628
8606
  "type": {
8629
- "text": "boolean"
8630
- },
8631
- "privacy": "public",
8632
- "default": "false",
8633
- "description": "The indeterminate state of the control",
8634
- "inheritedFrom": {
8635
- "name": "Checkbox",
8636
- "module": "src/checkbox/checkbox.ts"
8607
+ "text": "HTMLSlotElement"
8637
8608
  }
8638
8609
  },
8639
8610
  {
8640
8611
  "kind": "field",
8641
- "name": "proxy",
8642
- "inheritedFrom": {
8643
- "name": "Checkbox",
8644
- "module": "src/checkbox/checkbox.ts"
8645
- }
8612
+ "name": "async",
8613
+ "type": {
8614
+ "text": "boolean"
8615
+ },
8616
+ "default": "false"
8646
8617
  },
8647
8618
  {
8648
8619
  "kind": "field",
8649
- "name": "_presentation",
8620
+ "name": "debounce",
8650
8621
  "type": {
8651
- "text": "ComponentPresentation | null | undefined"
8622
+ "text": "number"
8652
8623
  },
8653
- "privacy": "private",
8654
- "default": "void 0",
8655
- "inheritedFrom": {
8656
- "name": "Checkbox",
8657
- "module": "src/checkbox/checkbox.ts"
8658
- }
8624
+ "default": "500"
8625
+ },
8626
+ {
8627
+ "kind": "method",
8628
+ "name": "debounceChanged",
8629
+ "parameters": [
8630
+ {
8631
+ "name": "oldValue"
8632
+ },
8633
+ {
8634
+ "name": "newValue",
8635
+ "type": {
8636
+ "text": "number"
8637
+ }
8638
+ }
8639
+ ]
8659
8640
  },
8660
8641
  {
8661
8642
  "kind": "field",
8662
- "name": "$presentation",
8643
+ "name": "debouncedInputHandler"
8644
+ },
8645
+ {
8646
+ "kind": "field",
8647
+ "name": "caseSensitive",
8663
8648
  "type": {
8664
- "text": "ComponentPresentation | null"
8649
+ "text": "boolean"
8665
8650
  },
8666
8651
  "privacy": "public",
8667
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8668
- "inheritedFrom": {
8669
- "name": "Checkbox",
8670
- "module": "src/checkbox/checkbox.ts"
8671
- }
8652
+ "default": "false",
8653
+ "description": "Controls whether to perform a case-sensitive search in the list of options"
8672
8654
  },
8673
8655
  {
8674
8656
  "kind": "field",
8675
- "name": "template",
8657
+ "name": "ignoreInputClick",
8676
8658
  "type": {
8677
- "text": "ElementViewTemplate | void | null"
8659
+ "text": "boolean"
8678
8660
  },
8679
8661
  "privacy": "public",
8680
- "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.",
8681
- "inheritedFrom": {
8682
- "name": "Checkbox",
8683
- "module": "src/checkbox/checkbox.ts"
8684
- }
8662
+ "default": "false",
8663
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked"
8664
+ },
8665
+ {
8666
+ "kind": "field",
8667
+ "name": "value",
8668
+ "privacy": "public"
8685
8669
  },
8686
8670
  {
8687
8671
  "kind": "method",
8688
- "name": "templateChanged",
8689
- "privacy": "protected",
8672
+ "name": "slottedOptionsChanged",
8673
+ "privacy": "public",
8690
8674
  "return": {
8691
8675
  "type": {
8692
8676
  "text": "void"
8693
8677
  }
8694
8678
  },
8695
- "inheritedFrom": {
8696
- "name": "Checkbox",
8697
- "module": "src/checkbox/checkbox.ts"
8698
- }
8679
+ "parameters": [
8680
+ {
8681
+ "name": "prev",
8682
+ "type": {
8683
+ "text": "Element[] | undefined"
8684
+ }
8685
+ },
8686
+ {
8687
+ "name": "next",
8688
+ "type": {
8689
+ "text": "Element[]"
8690
+ }
8691
+ }
8692
+ ]
8699
8693
  },
8700
8694
  {
8701
- "kind": "field",
8702
- "name": "styles",
8703
- "type": {
8704
- "text": "ElementStyles | void | null"
8705
- },
8695
+ "kind": "method",
8696
+ "name": "filterOptions",
8706
8697
  "privacy": "public",
8707
- "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.",
8708
- "inheritedFrom": {
8709
- "name": "Checkbox",
8710
- "module": "src/checkbox/checkbox.ts"
8698
+ "return": {
8699
+ "type": {
8700
+ "text": "void"
8701
+ }
8711
8702
  }
8712
8703
  },
8713
8704
  {
8714
8705
  "kind": "method",
8715
- "name": "stylesChanged",
8716
- "privacy": "protected",
8706
+ "name": "clickHandler",
8707
+ "privacy": "public",
8717
8708
  "return": {
8718
8709
  "type": {
8719
- "text": "void"
8710
+ "text": "boolean | void"
8720
8711
  }
8721
8712
  },
8722
- "inheritedFrom": {
8723
- "name": "Checkbox",
8724
- "module": "src/checkbox/checkbox.ts"
8725
- }
8713
+ "parameters": [
8714
+ {
8715
+ "name": "e",
8716
+ "type": {
8717
+ "text": "MouseEvent"
8718
+ }
8719
+ }
8720
+ ]
8726
8721
  },
8727
8722
  {
8728
8723
  "kind": "method",
8729
- "name": "compose",
8724
+ "name": "keydownHandler",
8730
8725
  "privacy": "public",
8731
- "static": true,
8732
8726
  "return": {
8733
8727
  "type": {
8734
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8728
+ "text": "boolean | void"
8735
8729
  }
8736
8730
  },
8737
8731
  "parameters": [
8738
8732
  {
8739
- "name": "this",
8733
+ "name": "e",
8740
8734
  "type": {
8741
- "text": "K"
8735
+ "text": "KeyboardEvent"
8742
8736
  }
8743
- },
8737
+ }
8738
+ ]
8739
+ },
8740
+ {
8741
+ "kind": "method",
8742
+ "name": "keyupHandler",
8743
+ "privacy": "public",
8744
+ "return": {
8745
+ "type": {
8746
+ "text": "boolean | void"
8747
+ }
8748
+ },
8749
+ "parameters": [
8744
8750
  {
8745
- "name": "elementDefinition",
8751
+ "name": "e",
8746
8752
  "type": {
8747
- "text": "T"
8753
+ "text": "KeyboardEvent"
8754
+ }
8755
+ }
8756
+ ]
8757
+ },
8758
+ {
8759
+ "kind": "field",
8760
+ "name": "indicator",
8761
+ "type": {
8762
+ "text": "Element"
8763
+ },
8764
+ "privacy": "protected",
8765
+ "description": "Gets the HTML element for the indicator button",
8766
+ "readonly": true
8767
+ },
8768
+ {
8769
+ "kind": "method",
8770
+ "name": "selectItemByValue",
8771
+ "privacy": "protected",
8772
+ "parameters": [
8773
+ {
8774
+ "name": "value",
8775
+ "type": {
8776
+ "text": "string"
8748
8777
  },
8749
- "description": "The definition of the element to create the registry\nfunction for."
8778
+ "description": "The text value of the item to be selected"
8750
8779
  }
8751
8780
  ],
8752
- "description": "Defines an element registry function with a set of element definition defaults.",
8753
- "inheritedFrom": {
8754
- "name": "Checkbox",
8755
- "module": "src/checkbox/checkbox.ts"
8756
- }
8781
+ "description": "Selects an item in the dropdown based on its text value"
8782
+ },
8783
+ {
8784
+ "kind": "method",
8785
+ "name": "inputHandler",
8786
+ "return": {
8787
+ "type": {
8788
+ "text": "boolean | void"
8789
+ }
8790
+ },
8791
+ "parameters": [
8792
+ {
8793
+ "name": "e",
8794
+ "type": {
8795
+ "text": "InputEvent"
8796
+ }
8797
+ }
8798
+ ]
8799
+ },
8800
+ {
8801
+ "kind": "method",
8802
+ "name": "asyncSetFilter"
8757
8803
  }
8758
8804
  ],
8759
- "events": [
8805
+ "attributes": [
8760
8806
  {
8761
- "description": "Emits a custom change event when the checked state changes",
8762
- "name": "change",
8763
- "inheritedFrom": {
8764
- "name": "Checkbox",
8765
- "module": "src/checkbox/checkbox.ts"
8766
- }
8807
+ "type": {
8808
+ "text": "boolean"
8809
+ },
8810
+ "default": "false",
8811
+ "fieldName": "async"
8812
+ },
8813
+ {
8814
+ "name": "debounce",
8815
+ "type": {
8816
+ "text": "number"
8817
+ },
8818
+ "default": "DEBOUNCE_TIME",
8819
+ "resolveInitializer": {
8820
+ "module": "src/combobox/combobox.ts"
8821
+ },
8822
+ "fieldName": "debounce"
8823
+ },
8824
+ {
8825
+ "name": "case-sensitive",
8826
+ "type": {
8827
+ "text": "boolean"
8828
+ },
8829
+ "default": "false",
8830
+ "description": "Controls whether to perform a case-sensitive search in the list of options",
8831
+ "fieldName": "caseSensitive"
8832
+ },
8833
+ {
8834
+ "name": "ignore-input-click",
8835
+ "type": {
8836
+ "text": "boolean"
8837
+ },
8838
+ "default": "false",
8839
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
8840
+ "fieldName": "ignoreInputClick"
8767
8841
  }
8768
- ]
8842
+ ],
8843
+ "superclass": {
8844
+ "name": "FASTComboBox",
8845
+ "package": "@microsoft/fast-components"
8846
+ },
8847
+ "tagName": "%%prefix%%-combobox",
8848
+ "customElement": true
8769
8849
  },
8770
8850
  {
8771
8851
  "kind": "variable",
8772
- "name": "foundationCheckboxShadowOptions",
8852
+ "name": "foundationComboboxShadowOptions",
8773
8853
  "type": {
8774
8854
  "text": "ShadowRootInit"
8775
8855
  },
8776
- "default": "undefined"
8856
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
8777
8857
  },
8778
8858
  {
8779
8859
  "kind": "variable",
8780
- "name": "defaultCheckboxConfig",
8860
+ "name": "defaultComboboxConfig",
8781
8861
  "type": {
8782
8862
  "text": "object"
8783
8863
  },
8784
- "default": "{\n checkedIndicator: `\n <svg\n aria-hidden=\"true\"\n part=\"checked-indicator\"\n class=\"checked-indicator\"\n viewBox=\"0 0 20 20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z\"\n />\n </svg>\n `,\n indeterminateIndicator: `\n <div part=\"indeterminate-indicator\" class=\"indeterminate-indicator\"></div>\n `,\n}"
8864
+ "default": "{\n indicator: `\n <svg\n class=\"combo-box-indicator\"\n part=\"combo-box-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
8785
8865
  },
8786
8866
  {
8787
8867
  "kind": "variable",
8788
- "name": "foundationCheckbox",
8789
- "description": "The Foundation Checkbox",
8868
+ "name": "foundationCombobox",
8869
+ "description": "The Foundation Combo-box",
8790
8870
  "privacy": "public"
8791
8871
  }
8792
8872
  ],
8793
8873
  "exports": [
8794
8874
  {
8795
8875
  "kind": "js",
8796
- "name": "Checkbox",
8876
+ "name": "Combobox",
8797
8877
  "declaration": {
8798
- "name": "Checkbox",
8799
- "module": "src/checkbox/checkbox.ts"
8878
+ "name": "Combobox",
8879
+ "module": "src/combobox/combobox.ts"
8800
8880
  }
8801
8881
  },
8802
8882
  {
8803
8883
  "kind": "js",
8804
- "name": "foundationCheckboxShadowOptions",
8884
+ "name": "foundationComboboxShadowOptions",
8805
8885
  "declaration": {
8806
- "name": "foundationCheckboxShadowOptions",
8807
- "module": "src/checkbox/checkbox.ts"
8886
+ "name": "foundationComboboxShadowOptions",
8887
+ "module": "src/combobox/combobox.ts"
8808
8888
  }
8809
8889
  },
8810
8890
  {
8811
8891
  "kind": "js",
8812
- "name": "defaultCheckboxConfig",
8892
+ "name": "defaultComboboxConfig",
8813
8893
  "declaration": {
8814
- "name": "defaultCheckboxConfig",
8815
- "module": "src/checkbox/checkbox.ts"
8894
+ "name": "defaultComboboxConfig",
8895
+ "module": "src/combobox/combobox.ts"
8816
8896
  }
8817
8897
  },
8818
8898
  {
8819
8899
  "kind": "js",
8820
- "name": "foundationCheckbox",
8900
+ "name": "foundationCombobox",
8821
8901
  "declaration": {
8822
- "name": "foundationCheckbox",
8823
- "module": "src/checkbox/checkbox.ts"
8902
+ "name": "foundationCombobox",
8903
+ "module": "src/combobox/combobox.ts"
8824
8904
  }
8825
8905
  }
8826
8906
  ]
8827
8907
  },
8828
8908
  {
8829
8909
  "kind": "javascript-module",
8830
- "path": "src/checkbox/index.ts",
8910
+ "path": "src/combobox/index.ts",
8831
8911
  "declarations": [],
8832
8912
  "exports": [
8833
8913
  {
@@ -8835,7 +8915,7 @@
8835
8915
  "name": "*",
8836
8916
  "declaration": {
8837
8917
  "name": "*",
8838
- "package": "./checkbox.template"
8918
+ "package": "./combobox.template"
8839
8919
  }
8840
8920
  },
8841
8921
  {
@@ -8843,7 +8923,7 @@
8843
8923
  "name": "*",
8844
8924
  "declaration": {
8845
8925
  "name": "*",
8846
- "package": "./checkbox.styles"
8926
+ "package": "./combobox.styles"
8847
8927
  }
8848
8928
  },
8849
8929
  {
@@ -8851,18 +8931,18 @@
8851
8931
  "name": "*",
8852
8932
  "declaration": {
8853
8933
  "name": "*",
8854
- "package": "./checkbox"
8934
+ "package": "./combobox"
8855
8935
  }
8856
8936
  }
8857
8937
  ]
8858
8938
  },
8859
8939
  {
8860
8940
  "kind": "javascript-module",
8861
- "path": "src/combobox/combobox.styles.ts",
8941
+ "path": "src/connection-indicator/connection-indicator.styles.ts",
8862
8942
  "declarations": [
8863
8943
  {
8864
8944
  "kind": "function",
8865
- "name": "foundationComboboxStyles",
8945
+ "name": "foundationConnectionIndicatorStyles",
8866
8946
  "return": {
8867
8947
  "type": {
8868
8948
  "text": "ElementStyles"
@@ -8887,82 +8967,64 @@
8887
8967
  "exports": [
8888
8968
  {
8889
8969
  "kind": "js",
8890
- "name": "foundationComboboxStyles",
8970
+ "name": "foundationConnectionIndicatorStyles",
8891
8971
  "declaration": {
8892
- "name": "foundationComboboxStyles",
8893
- "module": "src/combobox/combobox.styles.ts"
8972
+ "name": "foundationConnectionIndicatorStyles",
8973
+ "module": "src/connection-indicator/connection-indicator.styles.ts"
8894
8974
  }
8895
8975
  }
8896
8976
  ]
8897
8977
  },
8898
8978
  {
8899
8979
  "kind": "javascript-module",
8900
- "path": "src/combobox/combobox.template.ts",
8980
+ "path": "src/connection-indicator/connection-indicator.template.ts",
8901
8981
  "declarations": [
8902
8982
  {
8903
- "kind": "function",
8904
- "name": "foundationComboboxTemplate",
8905
- "return": {
8906
- "type": {
8907
- "text": "ViewTemplate<Combobox>"
8908
- }
8983
+ "kind": "variable",
8984
+ "name": "foundationConnectionIndicatorTemplate",
8985
+ "type": {
8986
+ "text": "ViewTemplate"
8909
8987
  },
8910
- "parameters": [
8911
- {
8912
- "name": "context",
8913
- "type": {
8914
- "text": "ElementDefinitionContext"
8915
- }
8916
- },
8917
- {
8918
- "name": "definition",
8919
- "type": {
8920
- "text": "ComboboxOptions"
8921
- }
8922
- }
8923
- ]
8988
+ "default": "html<ConnectionIndicator>`\n <div class=${(x) => classNames(['light', true], [x.colour, true])}></div>\n ${when(\n (x) => x.showLabel,\n html<ConnectionIndicator>`\n <div class=\"label\">${(x) => x.label}</div>\n `,\n )}\n`"
8924
8989
  }
8925
8990
  ],
8926
8991
  "exports": [
8927
8992
  {
8928
8993
  "kind": "js",
8929
- "name": "foundationComboboxTemplate",
8994
+ "name": "foundationConnectionIndicatorTemplate",
8930
8995
  "declaration": {
8931
- "name": "foundationComboboxTemplate",
8932
- "module": "src/combobox/combobox.template.ts"
8996
+ "name": "foundationConnectionIndicatorTemplate",
8997
+ "module": "src/connection-indicator/connection-indicator.template.ts"
8933
8998
  }
8934
8999
  }
8935
9000
  ]
8936
9001
  },
8937
9002
  {
8938
9003
  "kind": "javascript-module",
8939
- "path": "src/combobox/combobox.ts",
9004
+ "path": "src/connection-indicator/connection-indicator.ts",
8940
9005
  "declarations": [
8941
9006
  {
8942
9007
  "kind": "class",
8943
9008
  "description": "",
8944
- "name": "Combobox",
9009
+ "name": "ConnectionIndicator",
8945
9010
  "members": [
8946
9011
  {
8947
9012
  "kind": "field",
8948
- "name": "_ourValue",
9013
+ "name": "connect",
8949
9014
  "type": {
8950
- "text": "string"
8951
- },
8952
- "privacy": "private"
9015
+ "text": "Connect"
9016
+ }
8953
9017
  },
8954
9018
  {
8955
9019
  "kind": "field",
8956
- "name": "#indicator",
8957
- "privacy": "private",
9020
+ "name": "session",
8958
9021
  "type": {
8959
- "text": "Element"
9022
+ "text": "Session"
8960
9023
  }
8961
9024
  },
8962
9025
  {
8963
9026
  "kind": "field",
8964
- "name": "#wasOpenOnEnterDown",
8965
- "privacy": "private",
9027
+ "name": "showLabel",
8966
9028
  "type": {
8967
9029
  "text": "boolean"
8968
9030
  },
@@ -8970,312 +9032,203 @@
8970
9032
  },
8971
9033
  {
8972
9034
  "kind": "field",
8973
- "name": "slottedDatasource",
9035
+ "name": "label",
8974
9036
  "type": {
8975
- "text": "HTMLSlotElement"
8976
- }
9037
+ "text": "string"
9038
+ },
9039
+ "default": "'disconnected'"
8977
9040
  },
8978
9041
  {
8979
9042
  "kind": "field",
8980
- "name": "async",
9043
+ "name": "colour",
8981
9044
  "type": {
8982
- "text": "boolean"
9045
+ "text": "'red' | 'green'"
8983
9046
  },
8984
- "default": "false"
9047
+ "default": "'red'"
8985
9048
  },
8986
9049
  {
8987
9050
  "kind": "field",
8988
- "name": "debounce",
9051
+ "name": "subscription",
8989
9052
  "type": {
8990
- "text": "number"
9053
+ "text": "Subscription"
8991
9054
  },
8992
- "default": "500"
9055
+ "privacy": "private"
8993
9056
  },
8994
9057
  {
8995
9058
  "kind": "method",
8996
- "name": "debounceChanged",
9059
+ "name": "getLabel",
9060
+ "return": {
9061
+ "type": {
9062
+ "text": "string"
9063
+ }
9064
+ },
8997
9065
  "parameters": [
8998
9066
  {
8999
- "name": "oldValue"
9000
- },
9001
- {
9002
- "name": "newValue",
9067
+ "name": "connected",
9003
9068
  "type": {
9004
- "text": "number"
9069
+ "text": "boolean"
9005
9070
  }
9006
9071
  }
9007
9072
  ]
9008
9073
  },
9009
9074
  {
9010
9075
  "kind": "field",
9011
- "name": "debouncedInputHandler"
9076
+ "name": "_presentation",
9077
+ "type": {
9078
+ "text": "ComponentPresentation | null | undefined"
9079
+ },
9080
+ "privacy": "private",
9081
+ "default": "void 0",
9082
+ "inheritedFrom": {
9083
+ "name": "FoundationElement",
9084
+ "module": "src/foundation-element/foundation-element.ts"
9085
+ }
9012
9086
  },
9013
9087
  {
9014
9088
  "kind": "field",
9015
- "name": "caseSensitive",
9089
+ "name": "$presentation",
9016
9090
  "type": {
9017
- "text": "boolean"
9091
+ "text": "ComponentPresentation | null"
9018
9092
  },
9019
9093
  "privacy": "public",
9020
- "default": "false",
9021
- "description": "Controls whether to perform a case-sensitive search in the list of options"
9094
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9095
+ "inheritedFrom": {
9096
+ "name": "FoundationElement",
9097
+ "module": "src/foundation-element/foundation-element.ts"
9098
+ }
9022
9099
  },
9023
9100
  {
9024
9101
  "kind": "field",
9025
- "name": "ignoreInputClick",
9102
+ "name": "template",
9026
9103
  "type": {
9027
- "text": "boolean"
9104
+ "text": "ElementViewTemplate | void | null"
9028
9105
  },
9029
9106
  "privacy": "public",
9030
- "default": "false",
9031
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked"
9032
- },
9033
- {
9034
- "kind": "field",
9035
- "name": "value",
9036
- "privacy": "public"
9107
+ "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.",
9108
+ "inheritedFrom": {
9109
+ "name": "FoundationElement",
9110
+ "module": "src/foundation-element/foundation-element.ts"
9111
+ }
9037
9112
  },
9038
9113
  {
9039
9114
  "kind": "method",
9040
- "name": "slottedOptionsChanged",
9041
- "privacy": "public",
9115
+ "name": "templateChanged",
9116
+ "privacy": "protected",
9042
9117
  "return": {
9043
9118
  "type": {
9044
9119
  "text": "void"
9045
9120
  }
9046
9121
  },
9047
- "parameters": [
9048
- {
9049
- "name": "prev",
9050
- "type": {
9051
- "text": "Element[] | undefined"
9052
- }
9053
- },
9054
- {
9055
- "name": "next",
9056
- "type": {
9057
- "text": "Element[]"
9058
- }
9059
- }
9060
- ]
9061
- },
9062
- {
9063
- "kind": "method",
9064
- "name": "filterOptions",
9065
- "privacy": "public",
9066
- "return": {
9067
- "type": {
9068
- "text": "void"
9069
- }
9122
+ "inheritedFrom": {
9123
+ "name": "FoundationElement",
9124
+ "module": "src/foundation-element/foundation-element.ts"
9070
9125
  }
9071
9126
  },
9072
9127
  {
9073
- "kind": "method",
9074
- "name": "clickHandler",
9075
- "privacy": "public",
9076
- "return": {
9077
- "type": {
9078
- "text": "boolean | void"
9079
- }
9128
+ "kind": "field",
9129
+ "name": "styles",
9130
+ "type": {
9131
+ "text": "ElementStyles | void | null"
9080
9132
  },
9081
- "parameters": [
9082
- {
9083
- "name": "e",
9084
- "type": {
9085
- "text": "MouseEvent"
9086
- }
9087
- }
9088
- ]
9133
+ "privacy": "public",
9134
+ "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.",
9135
+ "inheritedFrom": {
9136
+ "name": "FoundationElement",
9137
+ "module": "src/foundation-element/foundation-element.ts"
9138
+ }
9089
9139
  },
9090
9140
  {
9091
9141
  "kind": "method",
9092
- "name": "keydownHandler",
9093
- "privacy": "public",
9142
+ "name": "stylesChanged",
9143
+ "privacy": "protected",
9094
9144
  "return": {
9095
9145
  "type": {
9096
- "text": "boolean | void"
9146
+ "text": "void"
9097
9147
  }
9098
9148
  },
9099
- "parameters": [
9100
- {
9101
- "name": "e",
9102
- "type": {
9103
- "text": "KeyboardEvent"
9104
- }
9105
- }
9106
- ]
9149
+ "inheritedFrom": {
9150
+ "name": "FoundationElement",
9151
+ "module": "src/foundation-element/foundation-element.ts"
9152
+ }
9107
9153
  },
9108
9154
  {
9109
9155
  "kind": "method",
9110
- "name": "keyupHandler",
9156
+ "name": "compose",
9111
9157
  "privacy": "public",
9158
+ "static": true,
9112
9159
  "return": {
9113
9160
  "type": {
9114
- "text": "boolean | void"
9161
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9115
9162
  }
9116
9163
  },
9117
9164
  "parameters": [
9118
9165
  {
9119
- "name": "e",
9166
+ "name": "this",
9120
9167
  "type": {
9121
- "text": "KeyboardEvent"
9168
+ "text": "K"
9122
9169
  }
9123
- }
9124
- ]
9125
- },
9126
- {
9127
- "kind": "field",
9128
- "name": "indicator",
9129
- "type": {
9130
- "text": "Element"
9131
- },
9132
- "privacy": "protected",
9133
- "description": "Gets the HTML element for the indicator button",
9134
- "readonly": true
9135
- },
9136
- {
9137
- "kind": "method",
9138
- "name": "selectItemByValue",
9139
- "privacy": "protected",
9140
- "parameters": [
9170
+ },
9141
9171
  {
9142
- "name": "value",
9172
+ "name": "elementDefinition",
9143
9173
  "type": {
9144
- "text": "string"
9174
+ "text": "T"
9145
9175
  },
9146
- "description": "The text value of the item to be selected"
9176
+ "description": "The definition of the element to create the registry\nfunction for."
9147
9177
  }
9148
9178
  ],
9149
- "description": "Selects an item in the dropdown based on its text value"
9150
- },
9151
- {
9152
- "kind": "method",
9153
- "name": "inputHandler",
9154
- "return": {
9155
- "type": {
9156
- "text": "boolean | void"
9157
- }
9158
- },
9159
- "parameters": [
9160
- {
9161
- "name": "e",
9162
- "type": {
9163
- "text": "InputEvent"
9164
- }
9165
- }
9166
- ]
9167
- },
9168
- {
9169
- "kind": "method",
9170
- "name": "asyncSetFilter"
9179
+ "description": "Defines an element registry function with a set of element definition defaults.",
9180
+ "inheritedFrom": {
9181
+ "name": "FoundationElement",
9182
+ "module": "src/foundation-element/foundation-element.ts"
9183
+ }
9171
9184
  }
9172
9185
  ],
9173
9186
  "attributes": [
9174
9187
  {
9188
+ "name": "show-label",
9175
9189
  "type": {
9176
9190
  "text": "boolean"
9177
9191
  },
9178
9192
  "default": "false",
9179
- "fieldName": "async"
9180
- },
9181
- {
9182
- "name": "debounce",
9183
- "type": {
9184
- "text": "number"
9185
- },
9186
- "default": "DEBOUNCE_TIME",
9187
- "resolveInitializer": {
9188
- "module": "src/combobox/combobox.ts"
9189
- },
9190
- "fieldName": "debounce"
9191
- },
9192
- {
9193
- "name": "case-sensitive",
9194
- "type": {
9195
- "text": "boolean"
9196
- },
9197
- "default": "false",
9198
- "description": "Controls whether to perform a case-sensitive search in the list of options",
9199
- "fieldName": "caseSensitive"
9200
- },
9201
- {
9202
- "name": "ignore-input-click",
9203
- "type": {
9204
- "text": "boolean"
9205
- },
9206
- "default": "false",
9207
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
9208
- "fieldName": "ignoreInputClick"
9193
+ "fieldName": "showLabel"
9209
9194
  }
9210
9195
  ],
9211
9196
  "superclass": {
9212
- "name": "FASTComboBox",
9213
- "package": "@microsoft/fast-components"
9197
+ "name": "FoundationElement",
9198
+ "package": "@microsoft/fast-foundation"
9214
9199
  },
9215
- "tagName": "%%prefix%%-combobox",
9200
+ "tagName": "%%prefix%%-connection-indicator",
9216
9201
  "customElement": true
9217
9202
  },
9218
9203
  {
9219
9204
  "kind": "variable",
9220
- "name": "foundationComboboxShadowOptions",
9221
- "type": {
9222
- "text": "ShadowRootInit"
9223
- },
9224
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
9225
- },
9226
- {
9227
- "kind": "variable",
9228
- "name": "defaultComboboxConfig",
9229
- "type": {
9230
- "text": "object"
9231
- },
9232
- "default": "{\n indicator: `\n <svg\n class=\"combo-box-indicator\"\n part=\"combo-box-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
9233
- },
9234
- {
9235
- "kind": "variable",
9236
- "name": "foundationCombobox",
9237
- "description": "The Foundation Combo-box",
9205
+ "name": "foundationConnectionIndicator",
9206
+ "description": "The Connection Indicator",
9238
9207
  "privacy": "public"
9239
9208
  }
9240
9209
  ],
9241
9210
  "exports": [
9242
9211
  {
9243
9212
  "kind": "js",
9244
- "name": "Combobox",
9245
- "declaration": {
9246
- "name": "Combobox",
9247
- "module": "src/combobox/combobox.ts"
9248
- }
9249
- },
9250
- {
9251
- "kind": "js",
9252
- "name": "foundationComboboxShadowOptions",
9253
- "declaration": {
9254
- "name": "foundationComboboxShadowOptions",
9255
- "module": "src/combobox/combobox.ts"
9256
- }
9257
- },
9258
- {
9259
- "kind": "js",
9260
- "name": "defaultComboboxConfig",
9213
+ "name": "ConnectionIndicator",
9261
9214
  "declaration": {
9262
- "name": "defaultComboboxConfig",
9263
- "module": "src/combobox/combobox.ts"
9215
+ "name": "ConnectionIndicator",
9216
+ "module": "src/connection-indicator/connection-indicator.ts"
9264
9217
  }
9265
9218
  },
9266
9219
  {
9267
9220
  "kind": "js",
9268
- "name": "foundationCombobox",
9221
+ "name": "foundationConnectionIndicator",
9269
9222
  "declaration": {
9270
- "name": "foundationCombobox",
9271
- "module": "src/combobox/combobox.ts"
9223
+ "name": "foundationConnectionIndicator",
9224
+ "module": "src/connection-indicator/connection-indicator.ts"
9272
9225
  }
9273
9226
  }
9274
9227
  ]
9275
9228
  },
9276
9229
  {
9277
9230
  "kind": "javascript-module",
9278
- "path": "src/combobox/index.ts",
9231
+ "path": "src/connection-indicator/index.ts",
9279
9232
  "declarations": [],
9280
9233
  "exports": [
9281
9234
  {
@@ -9283,7 +9236,7 @@
9283
9236
  "name": "*",
9284
9237
  "declaration": {
9285
9238
  "name": "*",
9286
- "package": "./combobox.template"
9239
+ "package": "./connection-indicator"
9287
9240
  }
9288
9241
  },
9289
9242
  {
@@ -9291,7 +9244,7 @@
9291
9244
  "name": "*",
9292
9245
  "declaration": {
9293
9246
  "name": "*",
9294
- "package": "./combobox.styles"
9247
+ "package": "./connection-indicator.styles"
9295
9248
  }
9296
9249
  },
9297
9250
  {
@@ -9299,18 +9252,18 @@
9299
9252
  "name": "*",
9300
9253
  "declaration": {
9301
9254
  "name": "*",
9302
- "package": "./combobox"
9255
+ "package": "./connection-indicator.template"
9303
9256
  }
9304
9257
  }
9305
9258
  ]
9306
9259
  },
9307
9260
  {
9308
9261
  "kind": "javascript-module",
9309
- "path": "src/connection-indicator/connection-indicator.styles.ts",
9262
+ "path": "src/checkbox/checkbox.styles.ts",
9310
9263
  "declarations": [
9311
9264
  {
9312
9265
  "kind": "function",
9313
- "name": "foundationConnectionIndicatorStyles",
9266
+ "name": "foundationCheckboxStyles",
9314
9267
  "return": {
9315
9268
  "type": {
9316
9269
  "text": "ElementStyles"
@@ -9326,7 +9279,7 @@
9326
9279
  {
9327
9280
  "name": "definition",
9328
9281
  "type": {
9329
- "text": "FoundationElementDefinition"
9282
+ "text": "CheckboxOptions"
9330
9283
  }
9331
9284
  }
9332
9285
  ]
@@ -9335,109 +9288,130 @@
9335
9288
  "exports": [
9336
9289
  {
9337
9290
  "kind": "js",
9338
- "name": "foundationConnectionIndicatorStyles",
9291
+ "name": "foundationCheckboxStyles",
9339
9292
  "declaration": {
9340
- "name": "foundationConnectionIndicatorStyles",
9341
- "module": "src/connection-indicator/connection-indicator.styles.ts"
9293
+ "name": "foundationCheckboxStyles",
9294
+ "module": "src/checkbox/checkbox.styles.ts"
9342
9295
  }
9343
9296
  }
9344
9297
  ]
9345
9298
  },
9346
9299
  {
9347
9300
  "kind": "javascript-module",
9348
- "path": "src/connection-indicator/connection-indicator.template.ts",
9301
+ "path": "src/checkbox/checkbox.template.ts",
9349
9302
  "declarations": [
9350
9303
  {
9351
- "kind": "variable",
9352
- "name": "foundationConnectionIndicatorTemplate",
9353
- "type": {
9354
- "text": "ViewTemplate"
9304
+ "kind": "function",
9305
+ "name": "foundationCheckboxTemplate",
9306
+ "return": {
9307
+ "type": {
9308
+ "text": "ViewTemplate<Checkbox>"
9309
+ }
9355
9310
  },
9356
- "default": "html<ConnectionIndicator>`\n <div class=${(x) => classNames(['light', true], [x.colour, true])}></div>\n ${when(\n (x) => x.showLabel,\n html<ConnectionIndicator>`\n <div class=\"label\">${(x) => x.label}</div>\n `,\n )}\n`"
9311
+ "parameters": [
9312
+ {
9313
+ "name": "context",
9314
+ "type": {
9315
+ "text": "ElementDefinitionContext"
9316
+ }
9317
+ },
9318
+ {
9319
+ "name": "definition",
9320
+ "type": {
9321
+ "text": "CheckboxOptions"
9322
+ }
9323
+ }
9324
+ ]
9357
9325
  }
9358
9326
  ],
9359
9327
  "exports": [
9360
9328
  {
9361
9329
  "kind": "js",
9362
- "name": "foundationConnectionIndicatorTemplate",
9330
+ "name": "foundationCheckboxTemplate",
9363
9331
  "declaration": {
9364
- "name": "foundationConnectionIndicatorTemplate",
9365
- "module": "src/connection-indicator/connection-indicator.template.ts"
9332
+ "name": "foundationCheckboxTemplate",
9333
+ "module": "src/checkbox/checkbox.template.ts"
9366
9334
  }
9367
9335
  }
9368
9336
  ]
9369
9337
  },
9370
9338
  {
9371
9339
  "kind": "javascript-module",
9372
- "path": "src/connection-indicator/connection-indicator.ts",
9340
+ "path": "src/checkbox/checkbox.ts",
9373
9341
  "declarations": [
9374
9342
  {
9375
9343
  "kind": "class",
9376
9344
  "description": "",
9377
- "name": "ConnectionIndicator",
9378
- "members": [
9345
+ "name": "Checkbox",
9346
+ "superclass": {
9347
+ "name": "FASTCheckbox",
9348
+ "package": "@microsoft/fast-components"
9349
+ },
9350
+ "tagName": "%%prefix%%-checkbox",
9351
+ "customElement": true,
9352
+ "attributes": [
9379
9353
  {
9380
- "kind": "field",
9381
- "name": "connect",
9354
+ "name": "readonly",
9382
9355
  "type": {
9383
- "text": "Connect"
9384
- }
9385
- },
9386
- {
9387
- "kind": "field",
9388
- "name": "session",
9389
- "type": {
9390
- "text": "Session"
9356
+ "text": "boolean"
9357
+ },
9358
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
9359
+ "fieldName": "readOnly",
9360
+ "inheritedFrom": {
9361
+ "name": "Checkbox",
9362
+ "module": "src/checkbox/checkbox.ts"
9391
9363
  }
9392
- },
9364
+ }
9365
+ ],
9366
+ "members": [
9393
9367
  {
9394
9368
  "kind": "field",
9395
- "name": "showLabel",
9369
+ "name": "readOnly",
9396
9370
  "type": {
9397
9371
  "text": "boolean"
9398
9372
  },
9399
- "default": "false"
9373
+ "privacy": "public",
9374
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
9375
+ "inheritedFrom": {
9376
+ "name": "Checkbox",
9377
+ "module": "src/checkbox/checkbox.ts"
9378
+ }
9400
9379
  },
9401
9380
  {
9402
- "kind": "field",
9403
- "name": "label",
9404
- "type": {
9405
- "text": "string"
9381
+ "kind": "method",
9382
+ "name": "readOnlyChanged",
9383
+ "privacy": "private",
9384
+ "return": {
9385
+ "type": {
9386
+ "text": "void"
9387
+ }
9406
9388
  },
9407
- "default": "'disconnected'"
9389
+ "inheritedFrom": {
9390
+ "name": "Checkbox",
9391
+ "module": "src/checkbox/checkbox.ts"
9392
+ }
9408
9393
  },
9409
9394
  {
9410
9395
  "kind": "field",
9411
- "name": "colour",
9396
+ "name": "indeterminate",
9412
9397
  "type": {
9413
- "text": "'red' | 'green'"
9398
+ "text": "boolean"
9414
9399
  },
9415
- "default": "'red'"
9400
+ "privacy": "public",
9401
+ "default": "false",
9402
+ "description": "The indeterminate state of the control",
9403
+ "inheritedFrom": {
9404
+ "name": "Checkbox",
9405
+ "module": "src/checkbox/checkbox.ts"
9406
+ }
9416
9407
  },
9417
9408
  {
9418
9409
  "kind": "field",
9419
- "name": "subscription",
9420
- "type": {
9421
- "text": "Subscription"
9422
- },
9423
- "privacy": "private"
9424
- },
9425
- {
9426
- "kind": "method",
9427
- "name": "getLabel",
9428
- "return": {
9429
- "type": {
9430
- "text": "string"
9431
- }
9432
- },
9433
- "parameters": [
9434
- {
9435
- "name": "connected",
9436
- "type": {
9437
- "text": "boolean"
9438
- }
9439
- }
9440
- ]
9410
+ "name": "proxy",
9411
+ "inheritedFrom": {
9412
+ "name": "Checkbox",
9413
+ "module": "src/checkbox/checkbox.ts"
9414
+ }
9441
9415
  },
9442
9416
  {
9443
9417
  "kind": "field",
@@ -9448,8 +9422,8 @@
9448
9422
  "privacy": "private",
9449
9423
  "default": "void 0",
9450
9424
  "inheritedFrom": {
9451
- "name": "FoundationElement",
9452
- "module": "src/foundation-element/foundation-element.ts"
9425
+ "name": "Checkbox",
9426
+ "module": "src/checkbox/checkbox.ts"
9453
9427
  }
9454
9428
  },
9455
9429
  {
@@ -9461,8 +9435,8 @@
9461
9435
  "privacy": "public",
9462
9436
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9463
9437
  "inheritedFrom": {
9464
- "name": "FoundationElement",
9465
- "module": "src/foundation-element/foundation-element.ts"
9438
+ "name": "Checkbox",
9439
+ "module": "src/checkbox/checkbox.ts"
9466
9440
  }
9467
9441
  },
9468
9442
  {
@@ -9474,8 +9448,8 @@
9474
9448
  "privacy": "public",
9475
9449
  "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.",
9476
9450
  "inheritedFrom": {
9477
- "name": "FoundationElement",
9478
- "module": "src/foundation-element/foundation-element.ts"
9451
+ "name": "Checkbox",
9452
+ "module": "src/checkbox/checkbox.ts"
9479
9453
  }
9480
9454
  },
9481
9455
  {
@@ -9488,8 +9462,8 @@
9488
9462
  }
9489
9463
  },
9490
9464
  "inheritedFrom": {
9491
- "name": "FoundationElement",
9492
- "module": "src/foundation-element/foundation-element.ts"
9465
+ "name": "Checkbox",
9466
+ "module": "src/checkbox/checkbox.ts"
9493
9467
  }
9494
9468
  },
9495
9469
  {
@@ -9501,8 +9475,8 @@
9501
9475
  "privacy": "public",
9502
9476
  "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.",
9503
9477
  "inheritedFrom": {
9504
- "name": "FoundationElement",
9505
- "module": "src/foundation-element/foundation-element.ts"
9478
+ "name": "Checkbox",
9479
+ "module": "src/checkbox/checkbox.ts"
9506
9480
  }
9507
9481
  },
9508
9482
  {
@@ -9515,8 +9489,8 @@
9515
9489
  }
9516
9490
  },
9517
9491
  "inheritedFrom": {
9518
- "name": "FoundationElement",
9519
- "module": "src/foundation-element/foundation-element.ts"
9492
+ "name": "Checkbox",
9493
+ "module": "src/checkbox/checkbox.ts"
9520
9494
  }
9521
9495
  },
9522
9496
  {
@@ -9546,57 +9520,83 @@
9546
9520
  ],
9547
9521
  "description": "Defines an element registry function with a set of element definition defaults.",
9548
9522
  "inheritedFrom": {
9549
- "name": "FoundationElement",
9550
- "module": "src/foundation-element/foundation-element.ts"
9523
+ "name": "Checkbox",
9524
+ "module": "src/checkbox/checkbox.ts"
9551
9525
  }
9552
9526
  }
9553
9527
  ],
9554
- "attributes": [
9528
+ "events": [
9555
9529
  {
9556
- "name": "show-label",
9557
- "type": {
9558
- "text": "boolean"
9559
- },
9560
- "default": "false",
9561
- "fieldName": "showLabel"
9530
+ "description": "Emits a custom change event when the checked state changes",
9531
+ "name": "change",
9532
+ "inheritedFrom": {
9533
+ "name": "Checkbox",
9534
+ "module": "src/checkbox/checkbox.ts"
9535
+ }
9562
9536
  }
9563
- ],
9564
- "superclass": {
9565
- "name": "FoundationElement",
9566
- "package": "@microsoft/fast-foundation"
9537
+ ]
9538
+ },
9539
+ {
9540
+ "kind": "variable",
9541
+ "name": "foundationCheckboxShadowOptions",
9542
+ "type": {
9543
+ "text": "ShadowRootInit"
9567
9544
  },
9568
- "tagName": "%%prefix%%-connection-indicator",
9569
- "customElement": true
9545
+ "default": "undefined"
9570
9546
  },
9571
9547
  {
9572
9548
  "kind": "variable",
9573
- "name": "foundationConnectionIndicator",
9574
- "description": "The Connection Indicator",
9549
+ "name": "defaultCheckboxConfig",
9550
+ "type": {
9551
+ "text": "object"
9552
+ },
9553
+ "default": "{\n checkedIndicator: `\n <svg\n aria-hidden=\"true\"\n part=\"checked-indicator\"\n class=\"checked-indicator\"\n viewBox=\"0 0 20 20\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z\"\n />\n </svg>\n `,\n indeterminateIndicator: `\n <div part=\"indeterminate-indicator\" class=\"indeterminate-indicator\"></div>\n `,\n}"
9554
+ },
9555
+ {
9556
+ "kind": "variable",
9557
+ "name": "foundationCheckbox",
9558
+ "description": "The Foundation Checkbox",
9575
9559
  "privacy": "public"
9576
9560
  }
9577
9561
  ],
9578
9562
  "exports": [
9579
9563
  {
9580
9564
  "kind": "js",
9581
- "name": "ConnectionIndicator",
9565
+ "name": "Checkbox",
9582
9566
  "declaration": {
9583
- "name": "ConnectionIndicator",
9584
- "module": "src/connection-indicator/connection-indicator.ts"
9567
+ "name": "Checkbox",
9568
+ "module": "src/checkbox/checkbox.ts"
9585
9569
  }
9586
9570
  },
9587
9571
  {
9588
9572
  "kind": "js",
9589
- "name": "foundationConnectionIndicator",
9573
+ "name": "foundationCheckboxShadowOptions",
9590
9574
  "declaration": {
9591
- "name": "foundationConnectionIndicator",
9592
- "module": "src/connection-indicator/connection-indicator.ts"
9575
+ "name": "foundationCheckboxShadowOptions",
9576
+ "module": "src/checkbox/checkbox.ts"
9577
+ }
9578
+ },
9579
+ {
9580
+ "kind": "js",
9581
+ "name": "defaultCheckboxConfig",
9582
+ "declaration": {
9583
+ "name": "defaultCheckboxConfig",
9584
+ "module": "src/checkbox/checkbox.ts"
9585
+ }
9586
+ },
9587
+ {
9588
+ "kind": "js",
9589
+ "name": "foundationCheckbox",
9590
+ "declaration": {
9591
+ "name": "foundationCheckbox",
9592
+ "module": "src/checkbox/checkbox.ts"
9593
9593
  }
9594
9594
  }
9595
9595
  ]
9596
9596
  },
9597
9597
  {
9598
9598
  "kind": "javascript-module",
9599
- "path": "src/connection-indicator/index.ts",
9599
+ "path": "src/checkbox/index.ts",
9600
9600
  "declarations": [],
9601
9601
  "exports": [
9602
9602
  {
@@ -9604,7 +9604,7 @@
9604
9604
  "name": "*",
9605
9605
  "declaration": {
9606
9606
  "name": "*",
9607
- "package": "./connection-indicator"
9607
+ "package": "./checkbox.template"
9608
9608
  }
9609
9609
  },
9610
9610
  {
@@ -9612,7 +9612,7 @@
9612
9612
  "name": "*",
9613
9613
  "declaration": {
9614
9614
  "name": "*",
9615
- "package": "./connection-indicator.styles"
9615
+ "package": "./checkbox.styles"
9616
9616
  }
9617
9617
  },
9618
9618
  {
@@ -9620,7 +9620,7 @@
9620
9620
  "name": "*",
9621
9621
  "declaration": {
9622
9622
  "name": "*",
9623
- "package": "./connection-indicator.template"
9623
+ "package": "./checkbox"
9624
9624
  }
9625
9625
  }
9626
9626
  ]
@@ -25343,7 +25343,49 @@
25343
25343
  },
25344
25344
  {
25345
25345
  "kind": "javascript-module",
25346
- "path": "src/options-datasource/index.ts",
25346
+ "path": "src/patterns/define.ts",
25347
+ "declarations": [
25348
+ {
25349
+ "kind": "function",
25350
+ "name": "defineFactory",
25351
+ "return": {
25352
+ "type": {
25353
+ "text": ""
25354
+ }
25355
+ },
25356
+ "parameters": [
25357
+ {
25358
+ "name": "Type",
25359
+ "type": {
25360
+ "text": "TType"
25361
+ },
25362
+ "description": "The custom element Type / Class to define."
25363
+ },
25364
+ {
25365
+ "name": "overriderOrBase",
25366
+ "type": {
25367
+ "text": "DefinitionOverrider | PartialFASTElementDefinition"
25368
+ },
25369
+ "description": "A function that merges definitions, or the base definition if custom merging is not needed."
25370
+ }
25371
+ ],
25372
+ "description": "Defines a platform custom element based on the provided type and definition."
25373
+ }
25374
+ ],
25375
+ "exports": [
25376
+ {
25377
+ "kind": "js",
25378
+ "name": "defineFactory",
25379
+ "declaration": {
25380
+ "name": "defineFactory",
25381
+ "module": "src/patterns/define.ts"
25382
+ }
25383
+ }
25384
+ ]
25385
+ },
25386
+ {
25387
+ "kind": "javascript-module",
25388
+ "path": "src/patterns/index.ts",
25347
25389
  "declarations": [],
25348
25390
  "exports": [
25349
25391
  {
@@ -25351,7 +25393,7 @@
25351
25393
  "name": "*",
25352
25394
  "declaration": {
25353
25395
  "name": "*",
25354
- "package": "./options-datasource"
25396
+ "package": "./define"
25355
25397
  }
25356
25398
  },
25357
25399
  {
@@ -25359,71 +25401,104 @@
25359
25401
  "name": "*",
25360
25402
  "declaration": {
25361
25403
  "name": "*",
25362
- "package": "./multiselect-datasource"
25404
+ "package": "./tag-for"
25363
25405
  }
25364
25406
  }
25365
25407
  ]
25366
25408
  },
25367
25409
  {
25368
25410
  "kind": "javascript-module",
25369
- "path": "src/options-datasource/multiselect-datasource.ts",
25411
+ "path": "src/patterns/tag-for.ts",
25370
25412
  "declarations": [
25371
25413
  {
25372
- "kind": "class",
25373
- "description": "",
25374
- "name": "MultiselectDatasource",
25375
- "members": [
25376
- {
25377
- "kind": "field",
25378
- "name": "valueField",
25379
- "type": {
25380
- "text": "string"
25381
- }
25382
- },
25414
+ "kind": "function",
25415
+ "name": "tagFor",
25416
+ "return": {
25417
+ "type": {
25418
+ "text": ""
25419
+ }
25420
+ },
25421
+ "parameters": [
25383
25422
  {
25384
- "kind": "field",
25385
- "name": "labelField",
25423
+ "name": "dependency",
25386
25424
  "type": {
25387
- "text": "string"
25388
- }
25389
- },
25425
+ "text": "TemplateElementDependency"
25426
+ },
25427
+ "description": "The dependency the template is dependent on."
25428
+ }
25429
+ ],
25430
+ "description": "Determines what HTML tag name to use for the dependency."
25431
+ }
25432
+ ],
25433
+ "exports": [
25434
+ {
25435
+ "kind": "js",
25436
+ "name": "tagFor",
25437
+ "declaration": {
25438
+ "name": "tagFor",
25439
+ "module": "src/patterns/tag-for.ts"
25440
+ }
25441
+ }
25442
+ ]
25443
+ },
25444
+ {
25445
+ "kind": "javascript-module",
25446
+ "path": "src/popper/index.ts",
25447
+ "declarations": [],
25448
+ "exports": [
25449
+ {
25450
+ "kind": "js",
25451
+ "name": "*",
25452
+ "declaration": {
25453
+ "name": "*",
25454
+ "package": "./popper"
25455
+ }
25456
+ }
25457
+ ]
25458
+ },
25459
+ {
25460
+ "kind": "javascript-module",
25461
+ "path": "src/popper/popper.ts",
25462
+ "declarations": [
25463
+ {
25464
+ "kind": "variable",
25465
+ "name": "jsonConverter",
25466
+ "type": {
25467
+ "text": "ValueConverter"
25468
+ },
25469
+ "default": "{\n toView(value: any): string {\n return JSON.stringify(value);\n },\n\n fromView(value: string): any {\n if (value === null || value === undefined) return value;\n\n return JSON.parse(value);\n },\n}"
25470
+ },
25471
+ {
25472
+ "kind": "class",
25473
+ "description": "",
25474
+ "name": "Popper",
25475
+ "members": [
25390
25476
  {
25391
25477
  "kind": "field",
25392
- "name": "select",
25478
+ "name": "popper",
25393
25479
  "type": {
25394
- "text": "Multiselect"
25480
+ "text": "Instance"
25395
25481
  },
25396
25482
  "privacy": "protected"
25397
25483
  },
25398
25484
  {
25399
25485
  "kind": "field",
25400
- "name": "isSnapshot",
25486
+ "name": "target",
25401
25487
  "type": {
25402
- "text": "boolean"
25488
+ "text": "HTMLElement"
25403
25489
  },
25404
- "default": "true",
25405
- "privacy": "public",
25406
- "inheritedFrom": {
25407
- "name": "<local>_BaseDatasource",
25408
- "module": "src/utils/base-datasource.ts"
25409
- }
25490
+ "privacy": "protected"
25410
25491
  },
25411
25492
  {
25412
- "kind": "method",
25413
- "name": "clearData",
25414
- "return": {
25415
- "type": {
25416
- "text": "void"
25417
- }
25418
- },
25419
- "inheritedFrom": {
25420
- "name": "<local>_BaseDatasource",
25421
- "module": "src/utils/base-datasource.ts"
25493
+ "kind": "field",
25494
+ "name": "selector",
25495
+ "type": {
25496
+ "text": "string"
25422
25497
  }
25423
25498
  },
25424
25499
  {
25425
25500
  "kind": "method",
25426
- "name": "syncComponentData",
25501
+ "name": "selectorChanged",
25427
25502
  "return": {
25428
25503
  "type": {
25429
25504
  "text": "void"
@@ -25431,286 +25506,667 @@
25431
25506
  },
25432
25507
  "parameters": [
25433
25508
  {
25434
- "name": "snapshotData",
25435
- "optional": true,
25509
+ "name": "oldValue",
25436
25510
  "type": {
25437
- "text": "any[]"
25511
+ "text": "string"
25512
+ }
25513
+ },
25514
+ {
25515
+ "name": "newValue",
25516
+ "type": {
25517
+ "text": "string"
25438
25518
  }
25439
25519
  }
25440
- ],
25441
- "inheritedFrom": {
25442
- "name": "<local>_BaseDatasource",
25443
- "module": "src/utils/base-datasource.ts"
25444
- }
25520
+ ]
25521
+ },
25522
+ {
25523
+ "kind": "field",
25524
+ "name": "show",
25525
+ "type": {
25526
+ "text": "boolean"
25527
+ },
25528
+ "default": "false"
25529
+ },
25530
+ {
25531
+ "kind": "field",
25532
+ "name": "event",
25533
+ "type": {
25534
+ "text": "string"
25535
+ },
25536
+ "default": "'click'"
25537
+ },
25538
+ {
25539
+ "kind": "field",
25540
+ "name": "placement",
25541
+ "type": {
25542
+ "text": "Placement"
25543
+ },
25544
+ "default": "'bottom'"
25445
25545
  },
25446
25546
  {
25447
25547
  "kind": "method",
25448
- "name": "handleStreamInserts",
25548
+ "name": "placementChanged",
25449
25549
  "return": {
25450
25550
  "type": {
25451
25551
  "text": "void"
25452
25552
  }
25453
- },
25454
- "parameters": [
25455
- {
25456
- "name": "insertedRows",
25457
- "type": {
25458
- "text": "any[]"
25459
- }
25460
- }
25461
- ],
25462
- "inheritedFrom": {
25463
- "name": "<local>_BaseDatasource",
25464
- "module": "src/utils/base-datasource.ts"
25553
+ }
25554
+ },
25555
+ {
25556
+ "kind": "field",
25557
+ "name": "offset",
25558
+ "type": {
25559
+ "text": "[number, number]"
25465
25560
  }
25466
25561
  },
25467
25562
  {
25468
25563
  "kind": "method",
25469
- "name": "handleStreamDeletes",
25564
+ "name": "offsetChanged",
25470
25565
  "return": {
25471
25566
  "type": {
25472
25567
  "text": "void"
25473
25568
  }
25474
- },
25475
- "parameters": [
25476
- {
25477
- "name": "deletedRows",
25478
- "type": {
25479
- "text": "any[]"
25480
- }
25481
- }
25482
- ],
25483
- "inheritedFrom": {
25484
- "name": "<local>_BaseDatasource",
25485
- "module": "src/utils/base-datasource.ts"
25486
25569
  }
25487
25570
  },
25571
+ {
25572
+ "kind": "field",
25573
+ "name": "flip",
25574
+ "type": {
25575
+ "text": "boolean"
25576
+ },
25577
+ "default": "false"
25578
+ },
25488
25579
  {
25489
25580
  "kind": "method",
25490
- "name": "handleStreamUpdates",
25581
+ "name": "flipChanged",
25491
25582
  "return": {
25492
25583
  "type": {
25493
25584
  "text": "void"
25494
25585
  }
25495
- },
25496
- "parameters": [
25497
- {
25498
- "name": "updatedRows",
25499
- "type": {
25500
- "text": "any[]"
25501
- }
25586
+ }
25587
+ },
25588
+ {
25589
+ "kind": "method",
25590
+ "name": "buildOptions",
25591
+ "privacy": "protected",
25592
+ "return": {
25593
+ "type": {
25594
+ "text": "Partial<OptionsGeneric<any>>"
25502
25595
  }
25503
- ],
25504
- "inheritedFrom": {
25505
- "name": "<local>_BaseDatasource",
25506
- "module": "src/utils/base-datasource.ts"
25507
25596
  }
25508
25597
  },
25598
+ {
25599
+ "kind": "method",
25600
+ "name": "toggle"
25601
+ },
25509
25602
  {
25510
25603
  "kind": "field",
25511
- "name": "connect",
25604
+ "name": "_presentation",
25512
25605
  "type": {
25513
- "text": "Connect"
25606
+ "text": "ComponentPresentation | null | undefined"
25514
25607
  },
25608
+ "privacy": "private",
25609
+ "default": "void 0",
25515
25610
  "inheritedFrom": {
25516
- "name": "<local>_BaseDatasource",
25517
- "module": "src/utils/base-datasource.ts"
25611
+ "name": "FoundationElement",
25612
+ "module": "src/foundation-element/foundation-element.ts"
25518
25613
  }
25519
25614
  },
25520
25615
  {
25521
25616
  "kind": "field",
25522
- "name": "datasource",
25617
+ "name": "$presentation",
25523
25618
  "type": {
25524
- "text": "Datasource"
25619
+ "text": "ComponentPresentation | null"
25525
25620
  },
25621
+ "privacy": "public",
25622
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
25526
25623
  "inheritedFrom": {
25527
- "name": "<local>_BaseDatasource",
25528
- "module": "src/utils/base-datasource.ts"
25624
+ "name": "FoundationElement",
25625
+ "module": "src/foundation-element/foundation-element.ts"
25529
25626
  }
25530
25627
  },
25531
25628
  {
25532
25629
  "kind": "field",
25533
- "name": "withGridInit",
25630
+ "name": "template",
25534
25631
  "type": {
25535
- "text": "boolean"
25632
+ "text": "ElementViewTemplate | void | null"
25536
25633
  },
25537
- "default": "true",
25634
+ "privacy": "public",
25635
+ "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.",
25538
25636
  "inheritedFrom": {
25539
- "name": "<local>_BaseDatasource",
25540
- "module": "src/utils/base-datasource.ts"
25637
+ "name": "FoundationElement",
25638
+ "module": "src/foundation-element/foundation-element.ts"
25639
+ }
25640
+ },
25641
+ {
25642
+ "kind": "method",
25643
+ "name": "templateChanged",
25644
+ "privacy": "protected",
25645
+ "return": {
25646
+ "type": {
25647
+ "text": "void"
25648
+ }
25649
+ },
25650
+ "inheritedFrom": {
25651
+ "name": "FoundationElement",
25652
+ "module": "src/foundation-element/foundation-element.ts"
25541
25653
  }
25542
25654
  },
25543
25655
  {
25544
25656
  "kind": "field",
25545
- "name": "criteria",
25657
+ "name": "styles",
25546
25658
  "type": {
25547
- "text": "string"
25659
+ "text": "ElementStyles | void | null"
25548
25660
  },
25661
+ "privacy": "public",
25662
+ "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.",
25549
25663
  "inheritedFrom": {
25550
- "name": "<local>_BaseDatasource",
25551
- "module": "src/utils/base-datasource.ts"
25664
+ "name": "FoundationElement",
25665
+ "module": "src/foundation-element/foundation-element.ts"
25552
25666
  }
25553
25667
  },
25554
25668
  {
25555
25669
  "kind": "method",
25556
- "name": "criteriaChanged",
25557
- "parameters": [
25558
- {
25559
- "name": "oldCriteria",
25560
- "type": {
25561
- "text": "string"
25670
+ "name": "stylesChanged",
25671
+ "privacy": "protected",
25672
+ "return": {
25673
+ "type": {
25674
+ "text": "void"
25675
+ }
25676
+ },
25677
+ "inheritedFrom": {
25678
+ "name": "FoundationElement",
25679
+ "module": "src/foundation-element/foundation-element.ts"
25680
+ }
25681
+ },
25682
+ {
25683
+ "kind": "method",
25684
+ "name": "compose",
25685
+ "privacy": "public",
25686
+ "static": true,
25687
+ "return": {
25688
+ "type": {
25689
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
25690
+ }
25691
+ },
25692
+ "parameters": [
25693
+ {
25694
+ "name": "this",
25695
+ "type": {
25696
+ "text": "K"
25562
25697
  }
25563
25698
  },
25564
25699
  {
25565
- "name": "newCriteria",
25700
+ "name": "elementDefinition",
25566
25701
  "type": {
25567
- "text": "string"
25568
- }
25702
+ "text": "T"
25703
+ },
25704
+ "description": "The definition of the element to create the registry\nfunction for."
25569
25705
  }
25570
25706
  ],
25707
+ "description": "Defines an element registry function with a set of element definition defaults.",
25571
25708
  "inheritedFrom": {
25572
- "name": "<local>_BaseDatasource",
25573
- "module": "src/utils/base-datasource.ts"
25709
+ "name": "FoundationElement",
25710
+ "module": "src/foundation-element/foundation-element.ts"
25574
25711
  }
25712
+ }
25713
+ ],
25714
+ "attributes": [
25715
+ {
25716
+ "name": "selector",
25717
+ "type": {
25718
+ "text": "string"
25719
+ },
25720
+ "fieldName": "selector"
25575
25721
  },
25576
25722
  {
25577
- "kind": "field",
25578
- "name": "data",
25579
25723
  "type": {
25580
- "text": "any[]"
25724
+ "text": "boolean"
25581
25725
  },
25582
- "inheritedFrom": {
25583
- "name": "<local>_BaseDatasource",
25584
- "module": "src/utils/base-datasource.ts"
25585
- }
25726
+ "default": "false",
25727
+ "fieldName": "show"
25586
25728
  },
25587
25729
  {
25588
- "kind": "field",
25589
- "name": "fields",
25730
+ "name": "event",
25590
25731
  "type": {
25591
25732
  "text": "string"
25592
25733
  },
25593
- "inheritedFrom": {
25594
- "name": "<local>_BaseDatasource",
25595
- "module": "src/utils/base-datasource.ts"
25596
- }
25734
+ "default": "'click'",
25735
+ "fieldName": "event"
25597
25736
  },
25598
25737
  {
25599
- "kind": "field",
25600
- "name": "maxRows",
25738
+ "name": "placement",
25601
25739
  "type": {
25602
- "text": "number"
25740
+ "text": "Placement"
25603
25741
  },
25604
- "inheritedFrom": {
25605
- "name": "<local>_BaseDatasource",
25606
- "module": "src/utils/base-datasource.ts"
25607
- }
25742
+ "default": "'bottom'",
25743
+ "fieldName": "placement"
25608
25744
  },
25609
25745
  {
25610
- "kind": "field",
25611
- "name": "maxView",
25612
25746
  "type": {
25613
- "text": "number"
25747
+ "text": "[number, number]"
25614
25748
  },
25615
- "inheritedFrom": {
25616
- "name": "<local>_BaseDatasource",
25617
- "module": "src/utils/base-datasource.ts"
25618
- }
25749
+ "fieldName": "offset"
25619
25750
  },
25620
25751
  {
25621
- "kind": "field",
25622
- "name": "orderBy",
25623
25752
  "type": {
25624
- "text": "string"
25753
+ "text": "boolean"
25625
25754
  },
25626
- "inheritedFrom": {
25627
- "name": "<local>_BaseDatasource",
25628
- "module": "src/utils/base-datasource.ts"
25629
- }
25630
- },
25755
+ "default": "false",
25756
+ "fieldName": "flip"
25757
+ }
25758
+ ],
25759
+ "superclass": {
25760
+ "name": "FoundationElement",
25761
+ "package": "@microsoft/fast-foundation"
25762
+ },
25763
+ "tagName": "%%prefix%%-popper",
25764
+ "customElement": true
25765
+ },
25766
+ {
25767
+ "kind": "variable",
25768
+ "name": "foundationPopper",
25769
+ "description": "The Foundation Popper",
25770
+ "privacy": "public"
25771
+ }
25772
+ ],
25773
+ "exports": [
25774
+ {
25775
+ "kind": "js",
25776
+ "name": "jsonConverter",
25777
+ "declaration": {
25778
+ "name": "jsonConverter",
25779
+ "module": "src/popper/popper.ts"
25780
+ }
25781
+ },
25782
+ {
25783
+ "kind": "js",
25784
+ "name": "Popper",
25785
+ "declaration": {
25786
+ "name": "Popper",
25787
+ "module": "src/popper/popper.ts"
25788
+ }
25789
+ },
25790
+ {
25791
+ "kind": "js",
25792
+ "name": "foundationPopper",
25793
+ "declaration": {
25794
+ "name": "foundationPopper",
25795
+ "module": "src/popper/popper.ts"
25796
+ }
25797
+ }
25798
+ ]
25799
+ },
25800
+ {
25801
+ "kind": "javascript-module",
25802
+ "path": "src/options-datasource/index.ts",
25803
+ "declarations": [],
25804
+ "exports": [
25805
+ {
25806
+ "kind": "js",
25807
+ "name": "*",
25808
+ "declaration": {
25809
+ "name": "*",
25810
+ "package": "./options-datasource"
25811
+ }
25812
+ },
25813
+ {
25814
+ "kind": "js",
25815
+ "name": "*",
25816
+ "declaration": {
25817
+ "name": "*",
25818
+ "package": "./multiselect-datasource"
25819
+ }
25820
+ }
25821
+ ]
25822
+ },
25823
+ {
25824
+ "kind": "javascript-module",
25825
+ "path": "src/options-datasource/multiselect-datasource.ts",
25826
+ "declarations": [
25827
+ {
25828
+ "kind": "class",
25829
+ "description": "",
25830
+ "name": "MultiselectDatasource",
25831
+ "members": [
25631
25832
  {
25632
25833
  "kind": "field",
25633
- "name": "request",
25834
+ "name": "valueField",
25634
25835
  "type": {
25635
- "text": "any"
25636
- },
25637
- "inheritedFrom": {
25638
- "name": "<local>_BaseDatasource",
25639
- "module": "src/utils/base-datasource.ts"
25836
+ "text": "string"
25640
25837
  }
25641
25838
  },
25642
25839
  {
25643
25840
  "kind": "field",
25644
- "name": "resourceName",
25841
+ "name": "labelField",
25645
25842
  "type": {
25646
25843
  "text": "string"
25647
- },
25648
- "inheritedFrom": {
25649
- "name": "<local>_BaseDatasource",
25650
- "module": "src/utils/base-datasource.ts"
25651
25844
  }
25652
25845
  },
25653
25846
  {
25654
25847
  "kind": "field",
25655
- "name": "reverse",
25848
+ "name": "select",
25656
25849
  "type": {
25657
- "text": "boolean"
25850
+ "text": "Multiselect"
25658
25851
  },
25659
- "default": "false",
25660
- "inheritedFrom": {
25661
- "name": "<local>_BaseDatasource",
25662
- "module": "src/utils/base-datasource.ts"
25663
- }
25852
+ "privacy": "protected"
25664
25853
  },
25665
25854
  {
25666
25855
  "kind": "field",
25667
- "name": "rowId",
25856
+ "name": "isSnapshot",
25668
25857
  "type": {
25669
- "text": "string"
25858
+ "text": "boolean"
25670
25859
  },
25671
- "default": "'ROW_REF'",
25860
+ "default": "true",
25861
+ "privacy": "public",
25672
25862
  "inheritedFrom": {
25673
25863
  "name": "<local>_BaseDatasource",
25674
25864
  "module": "src/utils/base-datasource.ts"
25675
25865
  }
25676
25866
  },
25677
25867
  {
25678
- "kind": "field",
25679
- "name": "withTimestampFormatting",
25680
- "type": {
25681
- "text": "boolean"
25868
+ "kind": "method",
25869
+ "name": "clearData",
25870
+ "return": {
25871
+ "type": {
25872
+ "text": "void"
25873
+ }
25682
25874
  },
25683
- "default": "true",
25684
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
25685
- "privacy": "public",
25686
25875
  "inheritedFrom": {
25687
25876
  "name": "<local>_BaseDatasource",
25688
25877
  "module": "src/utils/base-datasource.ts"
25689
25878
  }
25690
25879
  },
25691
25880
  {
25692
- "kind": "field",
25693
- "name": "datasourceConfig",
25881
+ "kind": "method",
25882
+ "name": "syncComponentData",
25883
+ "return": {
25884
+ "type": {
25885
+ "text": "void"
25886
+ }
25887
+ },
25888
+ "parameters": [
25889
+ {
25890
+ "name": "snapshotData",
25891
+ "optional": true,
25892
+ "type": {
25893
+ "text": "any[]"
25894
+ }
25895
+ }
25896
+ ],
25694
25897
  "inheritedFrom": {
25695
25898
  "name": "<local>_BaseDatasource",
25696
25899
  "module": "src/utils/base-datasource.ts"
25697
25900
  }
25698
25901
  },
25699
25902
  {
25700
- "kind": "field",
25701
- "name": "requiresFullDataRefresh",
25702
- "type": {
25703
- "text": "boolean"
25903
+ "kind": "method",
25904
+ "name": "handleStreamInserts",
25905
+ "return": {
25906
+ "type": {
25907
+ "text": "void"
25908
+ }
25704
25909
  },
25705
- "privacy": "public",
25706
- "default": "true",
25910
+ "parameters": [
25911
+ {
25912
+ "name": "insertedRows",
25913
+ "type": {
25914
+ "text": "any[]"
25915
+ }
25916
+ }
25917
+ ],
25707
25918
  "inheritedFrom": {
25708
25919
  "name": "<local>_BaseDatasource",
25709
25920
  "module": "src/utils/base-datasource.ts"
25710
25921
  }
25711
25922
  },
25712
25923
  {
25713
- "kind": "field",
25924
+ "kind": "method",
25925
+ "name": "handleStreamDeletes",
25926
+ "return": {
25927
+ "type": {
25928
+ "text": "void"
25929
+ }
25930
+ },
25931
+ "parameters": [
25932
+ {
25933
+ "name": "deletedRows",
25934
+ "type": {
25935
+ "text": "any[]"
25936
+ }
25937
+ }
25938
+ ],
25939
+ "inheritedFrom": {
25940
+ "name": "<local>_BaseDatasource",
25941
+ "module": "src/utils/base-datasource.ts"
25942
+ }
25943
+ },
25944
+ {
25945
+ "kind": "method",
25946
+ "name": "handleStreamUpdates",
25947
+ "return": {
25948
+ "type": {
25949
+ "text": "void"
25950
+ }
25951
+ },
25952
+ "parameters": [
25953
+ {
25954
+ "name": "updatedRows",
25955
+ "type": {
25956
+ "text": "any[]"
25957
+ }
25958
+ }
25959
+ ],
25960
+ "inheritedFrom": {
25961
+ "name": "<local>_BaseDatasource",
25962
+ "module": "src/utils/base-datasource.ts"
25963
+ }
25964
+ },
25965
+ {
25966
+ "kind": "field",
25967
+ "name": "connect",
25968
+ "type": {
25969
+ "text": "Connect"
25970
+ },
25971
+ "inheritedFrom": {
25972
+ "name": "<local>_BaseDatasource",
25973
+ "module": "src/utils/base-datasource.ts"
25974
+ }
25975
+ },
25976
+ {
25977
+ "kind": "field",
25978
+ "name": "datasource",
25979
+ "type": {
25980
+ "text": "Datasource"
25981
+ },
25982
+ "inheritedFrom": {
25983
+ "name": "<local>_BaseDatasource",
25984
+ "module": "src/utils/base-datasource.ts"
25985
+ }
25986
+ },
25987
+ {
25988
+ "kind": "field",
25989
+ "name": "withGridInit",
25990
+ "type": {
25991
+ "text": "boolean"
25992
+ },
25993
+ "default": "true",
25994
+ "inheritedFrom": {
25995
+ "name": "<local>_BaseDatasource",
25996
+ "module": "src/utils/base-datasource.ts"
25997
+ }
25998
+ },
25999
+ {
26000
+ "kind": "field",
26001
+ "name": "criteria",
26002
+ "type": {
26003
+ "text": "string"
26004
+ },
26005
+ "inheritedFrom": {
26006
+ "name": "<local>_BaseDatasource",
26007
+ "module": "src/utils/base-datasource.ts"
26008
+ }
26009
+ },
26010
+ {
26011
+ "kind": "method",
26012
+ "name": "criteriaChanged",
26013
+ "parameters": [
26014
+ {
26015
+ "name": "oldCriteria",
26016
+ "type": {
26017
+ "text": "string"
26018
+ }
26019
+ },
26020
+ {
26021
+ "name": "newCriteria",
26022
+ "type": {
26023
+ "text": "string"
26024
+ }
26025
+ }
26026
+ ],
26027
+ "inheritedFrom": {
26028
+ "name": "<local>_BaseDatasource",
26029
+ "module": "src/utils/base-datasource.ts"
26030
+ }
26031
+ },
26032
+ {
26033
+ "kind": "field",
26034
+ "name": "data",
26035
+ "type": {
26036
+ "text": "any[]"
26037
+ },
26038
+ "inheritedFrom": {
26039
+ "name": "<local>_BaseDatasource",
26040
+ "module": "src/utils/base-datasource.ts"
26041
+ }
26042
+ },
26043
+ {
26044
+ "kind": "field",
26045
+ "name": "fields",
26046
+ "type": {
26047
+ "text": "string"
26048
+ },
26049
+ "inheritedFrom": {
26050
+ "name": "<local>_BaseDatasource",
26051
+ "module": "src/utils/base-datasource.ts"
26052
+ }
26053
+ },
26054
+ {
26055
+ "kind": "field",
26056
+ "name": "maxRows",
26057
+ "type": {
26058
+ "text": "number"
26059
+ },
26060
+ "inheritedFrom": {
26061
+ "name": "<local>_BaseDatasource",
26062
+ "module": "src/utils/base-datasource.ts"
26063
+ }
26064
+ },
26065
+ {
26066
+ "kind": "field",
26067
+ "name": "maxView",
26068
+ "type": {
26069
+ "text": "number"
26070
+ },
26071
+ "inheritedFrom": {
26072
+ "name": "<local>_BaseDatasource",
26073
+ "module": "src/utils/base-datasource.ts"
26074
+ }
26075
+ },
26076
+ {
26077
+ "kind": "field",
26078
+ "name": "orderBy",
26079
+ "type": {
26080
+ "text": "string"
26081
+ },
26082
+ "inheritedFrom": {
26083
+ "name": "<local>_BaseDatasource",
26084
+ "module": "src/utils/base-datasource.ts"
26085
+ }
26086
+ },
26087
+ {
26088
+ "kind": "field",
26089
+ "name": "request",
26090
+ "type": {
26091
+ "text": "any"
26092
+ },
26093
+ "inheritedFrom": {
26094
+ "name": "<local>_BaseDatasource",
26095
+ "module": "src/utils/base-datasource.ts"
26096
+ }
26097
+ },
26098
+ {
26099
+ "kind": "field",
26100
+ "name": "resourceName",
26101
+ "type": {
26102
+ "text": "string"
26103
+ },
26104
+ "inheritedFrom": {
26105
+ "name": "<local>_BaseDatasource",
26106
+ "module": "src/utils/base-datasource.ts"
26107
+ }
26108
+ },
26109
+ {
26110
+ "kind": "field",
26111
+ "name": "reverse",
26112
+ "type": {
26113
+ "text": "boolean"
26114
+ },
26115
+ "default": "false",
26116
+ "inheritedFrom": {
26117
+ "name": "<local>_BaseDatasource",
26118
+ "module": "src/utils/base-datasource.ts"
26119
+ }
26120
+ },
26121
+ {
26122
+ "kind": "field",
26123
+ "name": "rowId",
26124
+ "type": {
26125
+ "text": "string"
26126
+ },
26127
+ "default": "'ROW_REF'",
26128
+ "inheritedFrom": {
26129
+ "name": "<local>_BaseDatasource",
26130
+ "module": "src/utils/base-datasource.ts"
26131
+ }
26132
+ },
26133
+ {
26134
+ "kind": "field",
26135
+ "name": "withTimestampFormatting",
26136
+ "type": {
26137
+ "text": "boolean"
26138
+ },
26139
+ "default": "true",
26140
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
26141
+ "privacy": "public",
26142
+ "inheritedFrom": {
26143
+ "name": "<local>_BaseDatasource",
26144
+ "module": "src/utils/base-datasource.ts"
26145
+ }
26146
+ },
26147
+ {
26148
+ "kind": "field",
26149
+ "name": "datasourceConfig",
26150
+ "inheritedFrom": {
26151
+ "name": "<local>_BaseDatasource",
26152
+ "module": "src/utils/base-datasource.ts"
26153
+ }
26154
+ },
26155
+ {
26156
+ "kind": "field",
26157
+ "name": "requiresFullDataRefresh",
26158
+ "type": {
26159
+ "text": "boolean"
26160
+ },
26161
+ "privacy": "public",
26162
+ "default": "true",
26163
+ "inheritedFrom": {
26164
+ "name": "<local>_BaseDatasource",
26165
+ "module": "src/utils/base-datasource.ts"
26166
+ }
26167
+ },
26168
+ {
26169
+ "kind": "field",
25714
26170
  "name": "dataSub",
25715
26171
  "type": {
25716
26172
  "text": "Subscription"
@@ -26810,445 +27266,17 @@
26810
27266
  "privacy": "public",
26811
27267
  "parameters": [
26812
27268
  {
26813
- "name": "fieldName",
26814
- "type": {
26815
- "text": "string"
26816
- }
26817
- }
26818
- ],
26819
- "inheritedFrom": {
26820
- "name": "<local>_BaseDatasource",
26821
- "module": "src/utils/base-datasource.ts"
26822
- }
26823
- },
26824
- {
26825
- "kind": "field",
26826
- "name": "_presentation",
26827
- "type": {
26828
- "text": "ComponentPresentation | null | undefined"
26829
- },
26830
- "privacy": "private",
26831
- "default": "void 0",
26832
- "inheritedFrom": {
26833
- "name": "FoundationElement",
26834
- "module": "src/foundation-element/foundation-element.ts"
26835
- }
26836
- },
26837
- {
26838
- "kind": "field",
26839
- "name": "$presentation",
26840
- "type": {
26841
- "text": "ComponentPresentation | null"
26842
- },
26843
- "privacy": "public",
26844
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
26845
- "inheritedFrom": {
26846
- "name": "FoundationElement",
26847
- "module": "src/foundation-element/foundation-element.ts"
26848
- }
26849
- },
26850
- {
26851
- "kind": "field",
26852
- "name": "template",
26853
- "type": {
26854
- "text": "ElementViewTemplate | void | null"
26855
- },
26856
- "privacy": "public",
26857
- "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.",
26858
- "inheritedFrom": {
26859
- "name": "FoundationElement",
26860
- "module": "src/foundation-element/foundation-element.ts"
26861
- }
26862
- },
26863
- {
26864
- "kind": "method",
26865
- "name": "templateChanged",
26866
- "privacy": "protected",
26867
- "return": {
26868
- "type": {
26869
- "text": "void"
26870
- }
26871
- },
26872
- "inheritedFrom": {
26873
- "name": "FoundationElement",
26874
- "module": "src/foundation-element/foundation-element.ts"
26875
- }
26876
- },
26877
- {
26878
- "kind": "field",
26879
- "name": "styles",
26880
- "type": {
26881
- "text": "ElementStyles | void | null"
26882
- },
26883
- "privacy": "public",
26884
- "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.",
26885
- "inheritedFrom": {
26886
- "name": "FoundationElement",
26887
- "module": "src/foundation-element/foundation-element.ts"
26888
- }
26889
- },
26890
- {
26891
- "kind": "method",
26892
- "name": "stylesChanged",
26893
- "privacy": "protected",
26894
- "return": {
26895
- "type": {
26896
- "text": "void"
26897
- }
26898
- },
26899
- "inheritedFrom": {
26900
- "name": "FoundationElement",
26901
- "module": "src/foundation-element/foundation-element.ts"
26902
- }
26903
- },
26904
- {
26905
- "kind": "method",
26906
- "name": "compose",
26907
- "privacy": "public",
26908
- "static": true,
26909
- "return": {
26910
- "type": {
26911
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
26912
- }
26913
- },
26914
- "parameters": [
26915
- {
26916
- "name": "this",
26917
- "type": {
26918
- "text": "K"
26919
- }
26920
- },
26921
- {
26922
- "name": "elementDefinition",
26923
- "type": {
26924
- "text": "T"
26925
- },
26926
- "description": "The definition of the element to create the registry\nfunction for."
26927
- }
26928
- ],
26929
- "description": "Defines an element registry function with a set of element definition defaults.",
26930
- "inheritedFrom": {
26931
- "name": "FoundationElement",
26932
- "module": "src/foundation-element/foundation-element.ts"
26933
- }
26934
- }
26935
- ],
26936
- "attributes": [
26937
- {
26938
- "name": "label-field",
26939
- "type": {
26940
- "text": "string"
26941
- },
26942
- "fieldName": "labelField"
26943
- },
26944
- {
26945
- "name": "option-element",
26946
- "type": {
26947
- "text": "string"
26948
- },
26949
- "fieldName": "optionElement"
26950
- },
26951
- {
26952
- "name": "value-field",
26953
- "type": {
26954
- "text": "string"
26955
- },
26956
- "fieldName": "valueField"
26957
- },
26958
- {
26959
- "name": "empty-data-label",
26960
- "type": {
26961
- "text": "string"
26962
- },
26963
- "default": "'No matching records'",
26964
- "fieldName": "emptyDataLabel"
26965
- },
26966
- {
26967
- "type": {
26968
- "text": "boolean"
26969
- },
26970
- "default": "true",
26971
- "fieldName": "withGridInit",
26972
- "inheritedFrom": {
26973
- "name": "<local>_BaseDatasource",
26974
- "module": "src/utils/base-datasource.ts"
26975
- }
26976
- },
26977
- {
26978
- "name": "criteria",
26979
- "type": {
26980
- "text": "string"
26981
- },
26982
- "fieldName": "criteria",
26983
- "inheritedFrom": {
26984
- "name": "<local>_BaseDatasource",
26985
- "module": "src/utils/base-datasource.ts"
26986
- }
26987
- },
26988
- {
26989
- "name": "fields",
26990
- "type": {
26991
- "text": "string"
26992
- },
26993
- "fieldName": "fields",
26994
- "inheritedFrom": {
26995
- "name": "<local>_BaseDatasource",
26996
- "module": "src/utils/base-datasource.ts"
26997
- }
26998
- },
26999
- {
27000
- "name": "maxRows",
27001
- "type": {
27002
- "text": "number"
27003
- },
27004
- "fieldName": "maxRows",
27005
- "inheritedFrom": {
27006
- "name": "<local>_BaseDatasource",
27007
- "module": "src/utils/base-datasource.ts"
27008
- }
27009
- },
27010
- {
27011
- "name": "maxView",
27012
- "type": {
27013
- "text": "number"
27014
- },
27015
- "fieldName": "maxView",
27016
- "inheritedFrom": {
27017
- "name": "<local>_BaseDatasource",
27018
- "module": "src/utils/base-datasource.ts"
27019
- }
27020
- },
27021
- {
27022
- "name": "orderBy",
27023
- "type": {
27024
- "text": "string"
27025
- },
27026
- "fieldName": "orderBy",
27027
- "inheritedFrom": {
27028
- "name": "<local>_BaseDatasource",
27029
- "module": "src/utils/base-datasource.ts"
27030
- }
27031
- },
27032
- {
27033
- "name": "resourceName",
27034
- "type": {
27035
- "text": "string"
27036
- },
27037
- "fieldName": "resourceName",
27038
- "inheritedFrom": {
27039
- "name": "<local>_BaseDatasource",
27040
- "module": "src/utils/base-datasource.ts"
27041
- }
27042
- },
27043
- {
27044
- "name": "rowId",
27045
- "type": {
27046
- "text": "string"
27047
- },
27048
- "default": "'ROW_REF'",
27049
- "fieldName": "rowId",
27050
- "inheritedFrom": {
27051
- "name": "<local>_BaseDatasource",
27052
- "module": "src/utils/base-datasource.ts"
27053
- }
27054
- },
27055
- {
27056
- "name": "with-timestamp-formatting",
27057
- "type": {
27058
- "text": "boolean"
27059
- },
27060
- "default": "true",
27061
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
27062
- "fieldName": "withTimestampFormatting",
27063
- "inheritedFrom": {
27064
- "name": "<local>_BaseDatasource",
27065
- "module": "src/utils/base-datasource.ts"
27066
- }
27067
- }
27068
- ],
27069
- "superclass": {
27070
- "name": "BaseDatasource",
27071
- "module": "/src/utils"
27072
- }
27073
- }
27074
- ],
27075
- "exports": [
27076
- {
27077
- "kind": "js",
27078
- "name": "OptionsDatasource",
27079
- "declaration": {
27080
- "name": "OptionsDatasource",
27081
- "module": "src/options-datasource/options-datasource.ts"
27082
- }
27083
- },
27084
- {
27085
- "kind": "custom-element-definition",
27086
- "name": "options-datasource",
27087
- "declaration": {
27088
- "name": "OptionsDatasource",
27089
- "module": "src/options-datasource/options-datasource.ts"
27090
- }
27091
- }
27092
- ]
27093
- },
27094
- {
27095
- "kind": "javascript-module",
27096
- "path": "src/popper/index.ts",
27097
- "declarations": [],
27098
- "exports": [
27099
- {
27100
- "kind": "js",
27101
- "name": "*",
27102
- "declaration": {
27103
- "name": "*",
27104
- "package": "./popper"
27105
- }
27106
- }
27107
- ]
27108
- },
27109
- {
27110
- "kind": "javascript-module",
27111
- "path": "src/popper/popper.ts",
27112
- "declarations": [
27113
- {
27114
- "kind": "variable",
27115
- "name": "jsonConverter",
27116
- "type": {
27117
- "text": "ValueConverter"
27118
- },
27119
- "default": "{\n toView(value: any): string {\n return JSON.stringify(value);\n },\n\n fromView(value: string): any {\n if (value === null || value === undefined) return value;\n\n return JSON.parse(value);\n },\n}"
27120
- },
27121
- {
27122
- "kind": "class",
27123
- "description": "",
27124
- "name": "Popper",
27125
- "members": [
27126
- {
27127
- "kind": "field",
27128
- "name": "popper",
27129
- "type": {
27130
- "text": "Instance"
27131
- },
27132
- "privacy": "protected"
27133
- },
27134
- {
27135
- "kind": "field",
27136
- "name": "target",
27137
- "type": {
27138
- "text": "HTMLElement"
27139
- },
27140
- "privacy": "protected"
27141
- },
27142
- {
27143
- "kind": "field",
27144
- "name": "selector",
27145
- "type": {
27146
- "text": "string"
27147
- }
27148
- },
27149
- {
27150
- "kind": "method",
27151
- "name": "selectorChanged",
27152
- "return": {
27153
- "type": {
27154
- "text": "void"
27155
- }
27156
- },
27157
- "parameters": [
27158
- {
27159
- "name": "oldValue",
27160
- "type": {
27161
- "text": "string"
27162
- }
27163
- },
27164
- {
27165
- "name": "newValue",
27166
- "type": {
27167
- "text": "string"
27168
- }
27169
- }
27170
- ]
27171
- },
27172
- {
27173
- "kind": "field",
27174
- "name": "show",
27175
- "type": {
27176
- "text": "boolean"
27177
- },
27178
- "default": "false"
27179
- },
27180
- {
27181
- "kind": "field",
27182
- "name": "event",
27183
- "type": {
27184
- "text": "string"
27185
- },
27186
- "default": "'click'"
27187
- },
27188
- {
27189
- "kind": "field",
27190
- "name": "placement",
27191
- "type": {
27192
- "text": "Placement"
27193
- },
27194
- "default": "'bottom'"
27195
- },
27196
- {
27197
- "kind": "method",
27198
- "name": "placementChanged",
27199
- "return": {
27200
- "type": {
27201
- "text": "void"
27202
- }
27203
- }
27204
- },
27205
- {
27206
- "kind": "field",
27207
- "name": "offset",
27208
- "type": {
27209
- "text": "[number, number]"
27210
- }
27211
- },
27212
- {
27213
- "kind": "method",
27214
- "name": "offsetChanged",
27215
- "return": {
27216
- "type": {
27217
- "text": "void"
27218
- }
27219
- }
27220
- },
27221
- {
27222
- "kind": "field",
27223
- "name": "flip",
27224
- "type": {
27225
- "text": "boolean"
27226
- },
27227
- "default": "false"
27228
- },
27229
- {
27230
- "kind": "method",
27231
- "name": "flipChanged",
27232
- "return": {
27233
- "type": {
27234
- "text": "void"
27235
- }
27236
- }
27237
- },
27238
- {
27239
- "kind": "method",
27240
- "name": "buildOptions",
27241
- "privacy": "protected",
27242
- "return": {
27243
- "type": {
27244
- "text": "Partial<OptionsGeneric<any>>"
27269
+ "name": "fieldName",
27270
+ "type": {
27271
+ "text": "string"
27272
+ }
27245
27273
  }
27274
+ ],
27275
+ "inheritedFrom": {
27276
+ "name": "<local>_BaseDatasource",
27277
+ "module": "src/utils/base-datasource.ts"
27246
27278
  }
27247
27279
  },
27248
- {
27249
- "kind": "method",
27250
- "name": "toggle"
27251
- },
27252
27280
  {
27253
27281
  "kind": "field",
27254
27282
  "name": "_presentation",
@@ -27363,186 +27391,158 @@
27363
27391
  ],
27364
27392
  "attributes": [
27365
27393
  {
27366
- "name": "selector",
27394
+ "name": "label-field",
27367
27395
  "type": {
27368
27396
  "text": "string"
27369
27397
  },
27370
- "fieldName": "selector"
27398
+ "fieldName": "labelField"
27399
+ },
27400
+ {
27401
+ "name": "option-element",
27402
+ "type": {
27403
+ "text": "string"
27404
+ },
27405
+ "fieldName": "optionElement"
27406
+ },
27407
+ {
27408
+ "name": "value-field",
27409
+ "type": {
27410
+ "text": "string"
27411
+ },
27412
+ "fieldName": "valueField"
27413
+ },
27414
+ {
27415
+ "name": "empty-data-label",
27416
+ "type": {
27417
+ "text": "string"
27418
+ },
27419
+ "default": "'No matching records'",
27420
+ "fieldName": "emptyDataLabel"
27371
27421
  },
27372
27422
  {
27373
27423
  "type": {
27374
27424
  "text": "boolean"
27375
27425
  },
27376
- "default": "false",
27377
- "fieldName": "show"
27426
+ "default": "true",
27427
+ "fieldName": "withGridInit",
27428
+ "inheritedFrom": {
27429
+ "name": "<local>_BaseDatasource",
27430
+ "module": "src/utils/base-datasource.ts"
27431
+ }
27378
27432
  },
27379
27433
  {
27380
- "name": "event",
27434
+ "name": "criteria",
27381
27435
  "type": {
27382
27436
  "text": "string"
27383
27437
  },
27384
- "default": "'click'",
27385
- "fieldName": "event"
27438
+ "fieldName": "criteria",
27439
+ "inheritedFrom": {
27440
+ "name": "<local>_BaseDatasource",
27441
+ "module": "src/utils/base-datasource.ts"
27442
+ }
27386
27443
  },
27387
27444
  {
27388
- "name": "placement",
27445
+ "name": "fields",
27389
27446
  "type": {
27390
- "text": "Placement"
27447
+ "text": "string"
27391
27448
  },
27392
- "default": "'bottom'",
27393
- "fieldName": "placement"
27449
+ "fieldName": "fields",
27450
+ "inheritedFrom": {
27451
+ "name": "<local>_BaseDatasource",
27452
+ "module": "src/utils/base-datasource.ts"
27453
+ }
27394
27454
  },
27395
27455
  {
27456
+ "name": "maxRows",
27396
27457
  "type": {
27397
- "text": "[number, number]"
27458
+ "text": "number"
27398
27459
  },
27399
- "fieldName": "offset"
27460
+ "fieldName": "maxRows",
27461
+ "inheritedFrom": {
27462
+ "name": "<local>_BaseDatasource",
27463
+ "module": "src/utils/base-datasource.ts"
27464
+ }
27400
27465
  },
27401
27466
  {
27467
+ "name": "maxView",
27402
27468
  "type": {
27403
- "text": "boolean"
27469
+ "text": "number"
27404
27470
  },
27405
- "default": "false",
27406
- "fieldName": "flip"
27407
- }
27408
- ],
27409
- "superclass": {
27410
- "name": "FoundationElement",
27411
- "package": "@microsoft/fast-foundation"
27412
- },
27413
- "tagName": "%%prefix%%-popper",
27414
- "customElement": true
27415
- },
27416
- {
27417
- "kind": "variable",
27418
- "name": "foundationPopper",
27419
- "description": "The Foundation Popper",
27420
- "privacy": "public"
27421
- }
27422
- ],
27423
- "exports": [
27424
- {
27425
- "kind": "js",
27426
- "name": "jsonConverter",
27427
- "declaration": {
27428
- "name": "jsonConverter",
27429
- "module": "src/popper/popper.ts"
27430
- }
27431
- },
27432
- {
27433
- "kind": "js",
27434
- "name": "Popper",
27435
- "declaration": {
27436
- "name": "Popper",
27437
- "module": "src/popper/popper.ts"
27438
- }
27439
- },
27440
- {
27441
- "kind": "js",
27442
- "name": "foundationPopper",
27443
- "declaration": {
27444
- "name": "foundationPopper",
27445
- "module": "src/popper/popper.ts"
27446
- }
27447
- }
27448
- ]
27449
- },
27450
- {
27451
- "kind": "javascript-module",
27452
- "path": "src/patterns/define.ts",
27453
- "declarations": [
27454
- {
27455
- "kind": "function",
27456
- "name": "defineFactory",
27457
- "return": {
27458
- "type": {
27459
- "text": ""
27460
- }
27461
- },
27462
- "parameters": [
27471
+ "fieldName": "maxView",
27472
+ "inheritedFrom": {
27473
+ "name": "<local>_BaseDatasource",
27474
+ "module": "src/utils/base-datasource.ts"
27475
+ }
27476
+ },
27463
27477
  {
27464
- "name": "Type",
27478
+ "name": "orderBy",
27465
27479
  "type": {
27466
- "text": "TType"
27480
+ "text": "string"
27467
27481
  },
27468
- "description": "The custom element Type / Class to define."
27482
+ "fieldName": "orderBy",
27483
+ "inheritedFrom": {
27484
+ "name": "<local>_BaseDatasource",
27485
+ "module": "src/utils/base-datasource.ts"
27486
+ }
27469
27487
  },
27470
27488
  {
27471
- "name": "overriderOrBase",
27489
+ "name": "resourceName",
27472
27490
  "type": {
27473
- "text": "DefinitionOverrider | PartialFASTElementDefinition"
27491
+ "text": "string"
27474
27492
  },
27475
- "description": "A function that merges definitions, or the base definition if custom merging is not needed."
27493
+ "fieldName": "resourceName",
27494
+ "inheritedFrom": {
27495
+ "name": "<local>_BaseDatasource",
27496
+ "module": "src/utils/base-datasource.ts"
27497
+ }
27498
+ },
27499
+ {
27500
+ "name": "rowId",
27501
+ "type": {
27502
+ "text": "string"
27503
+ },
27504
+ "default": "'ROW_REF'",
27505
+ "fieldName": "rowId",
27506
+ "inheritedFrom": {
27507
+ "name": "<local>_BaseDatasource",
27508
+ "module": "src/utils/base-datasource.ts"
27509
+ }
27510
+ },
27511
+ {
27512
+ "name": "with-timestamp-formatting",
27513
+ "type": {
27514
+ "text": "boolean"
27515
+ },
27516
+ "default": "true",
27517
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
27518
+ "fieldName": "withTimestampFormatting",
27519
+ "inheritedFrom": {
27520
+ "name": "<local>_BaseDatasource",
27521
+ "module": "src/utils/base-datasource.ts"
27522
+ }
27476
27523
  }
27477
27524
  ],
27478
- "description": "Defines a platform custom element based on the provided type and definition."
27479
- }
27480
- ],
27481
- "exports": [
27482
- {
27483
- "kind": "js",
27484
- "name": "defineFactory",
27485
- "declaration": {
27486
- "name": "defineFactory",
27487
- "module": "src/patterns/define.ts"
27525
+ "superclass": {
27526
+ "name": "BaseDatasource",
27527
+ "module": "/src/utils"
27488
27528
  }
27489
27529
  }
27490
- ]
27491
- },
27492
- {
27493
- "kind": "javascript-module",
27494
- "path": "src/patterns/index.ts",
27495
- "declarations": [],
27530
+ ],
27496
27531
  "exports": [
27497
27532
  {
27498
27533
  "kind": "js",
27499
- "name": "*",
27534
+ "name": "OptionsDatasource",
27500
27535
  "declaration": {
27501
- "name": "*",
27502
- "package": "./define"
27536
+ "name": "OptionsDatasource",
27537
+ "module": "src/options-datasource/options-datasource.ts"
27503
27538
  }
27504
27539
  },
27505
27540
  {
27506
- "kind": "js",
27507
- "name": "*",
27508
- "declaration": {
27509
- "name": "*",
27510
- "package": "./tag-for"
27511
- }
27512
- }
27513
- ]
27514
- },
27515
- {
27516
- "kind": "javascript-module",
27517
- "path": "src/patterns/tag-for.ts",
27518
- "declarations": [
27519
- {
27520
- "kind": "function",
27521
- "name": "tagFor",
27522
- "return": {
27523
- "type": {
27524
- "text": ""
27525
- }
27526
- },
27527
- "parameters": [
27528
- {
27529
- "name": "dependency",
27530
- "type": {
27531
- "text": "TemplateElementDependency"
27532
- },
27533
- "description": "The dependency the template is dependent on."
27534
- }
27535
- ],
27536
- "description": "Determines what HTML tag name to use for the dependency."
27537
- }
27538
- ],
27539
- "exports": [
27540
- {
27541
- "kind": "js",
27542
- "name": "tagFor",
27541
+ "kind": "custom-element-definition",
27542
+ "name": "options-datasource",
27543
27543
  "declaration": {
27544
- "name": "tagFor",
27545
- "module": "src/patterns/tag-for.ts"
27544
+ "name": "OptionsDatasource",
27545
+ "module": "src/options-datasource/options-datasource.ts"
27546
27546
  }
27547
27547
  }
27548
27548
  ]