@genesislcap/foundation-ui 15.28.1-FUI-0.6 → 15.28.1-FUI-0.7
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.
- package/dist/custom-elements.json +884 -884
- package/dist/dts/react.d.ts +16 -16
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +18 -18
|
@@ -1495,11 +1495,42 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionStyles",
|
|
1503
1534
|
"return": {
|
|
1504
1535
|
"type": {
|
|
1505
1536
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1555,24 @@
|
|
|
1524
1555
|
"exports": [
|
|
1525
1556
|
{
|
|
1526
1557
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1558
|
+
"name": "foundationAccordionStyles",
|
|
1528
1559
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion
|
|
1560
|
+
"name": "foundationAccordionStyles",
|
|
1561
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1531
1562
|
}
|
|
1532
1563
|
}
|
|
1533
1564
|
]
|
|
1534
1565
|
},
|
|
1535
1566
|
{
|
|
1536
1567
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion
|
|
1568
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1538
1569
|
"declarations": [
|
|
1539
1570
|
{
|
|
1540
1571
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionTemplate",
|
|
1542
1573
|
"return": {
|
|
1543
1574
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<Accordion>"
|
|
1545
1576
|
}
|
|
1546
1577
|
},
|
|
1547
1578
|
"parameters": [
|
|
@@ -1563,244 +1594,365 @@
|
|
|
1563
1594
|
"exports": [
|
|
1564
1595
|
{
|
|
1565
1596
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionTemplate",
|
|
1567
1598
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion
|
|
1599
|
+
"name": "foundationAccordionTemplate",
|
|
1600
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1570
1601
|
}
|
|
1571
1602
|
}
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
1605
|
{
|
|
1575
1606
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion
|
|
1607
|
+
"path": "src/accordion/accordion.ts",
|
|
1577
1608
|
"declarations": [
|
|
1578
1609
|
{
|
|
1579
1610
|
"kind": "class",
|
|
1580
1611
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1612
|
+
"name": "Accordion",
|
|
1582
1613
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordion",
|
|
1615
|
+
"package": "@microsoft/fast-foundation"
|
|
1585
1616
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion
|
|
1617
|
+
"tagName": "%%prefix%%-accordion",
|
|
1587
1618
|
"customElement": true,
|
|
1588
1619
|
"attributes": [
|
|
1589
1620
|
{
|
|
1590
|
-
"name": "
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1593
|
-
},
|
|
1594
|
-
"default": "2",
|
|
1595
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1596
|
-
"fieldName": "headinglevel",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "AccordionItem",
|
|
1599
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"type": {
|
|
1604
|
-
"text": "boolean"
|
|
1605
|
-
},
|
|
1606
|
-
"default": "false",
|
|
1607
|
-
"description": "Expands or collapses the item.",
|
|
1608
|
-
"fieldName": "expanded",
|
|
1609
|
-
"inheritedFrom": {
|
|
1610
|
-
"name": "AccordionItem",
|
|
1611
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1612
|
-
}
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"name": "id",
|
|
1621
|
+
"name": "expand-mode",
|
|
1616
1622
|
"type": {
|
|
1617
|
-
"text": "
|
|
1623
|
+
"text": "AccordionExpandMode"
|
|
1618
1624
|
},
|
|
1619
|
-
"description": "
|
|
1620
|
-
"fieldName": "
|
|
1625
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1626
|
+
"fieldName": "expandmode",
|
|
1621
1627
|
"inheritedFrom": {
|
|
1622
|
-
"name": "
|
|
1623
|
-
"module": "src/accordion
|
|
1628
|
+
"name": "Accordion",
|
|
1629
|
+
"module": "src/accordion/accordion.ts"
|
|
1624
1630
|
}
|
|
1625
1631
|
}
|
|
1626
1632
|
],
|
|
1627
1633
|
"members": [
|
|
1628
1634
|
{
|
|
1629
1635
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1636
|
+
"name": "expandmode",
|
|
1631
1637
|
"type": {
|
|
1632
|
-
"text": "
|
|
1638
|
+
"text": "AccordionExpandMode"
|
|
1633
1639
|
},
|
|
1634
1640
|
"privacy": "public",
|
|
1635
|
-
"
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1641
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1637
1642
|
"inheritedFrom": {
|
|
1638
|
-
"name": "
|
|
1639
|
-
"module": "src/accordion
|
|
1643
|
+
"name": "Accordion",
|
|
1644
|
+
"module": "src/accordion/accordion.ts"
|
|
1640
1645
|
}
|
|
1641
1646
|
},
|
|
1642
1647
|
{
|
|
1643
1648
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1649
|
+
"name": "activeid",
|
|
1645
1650
|
"type": {
|
|
1646
|
-
"text": "
|
|
1651
|
+
"text": "string | null"
|
|
1647
1652
|
},
|
|
1648
|
-
"privacy": "
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1653
|
+
"privacy": "private",
|
|
1651
1654
|
"inheritedFrom": {
|
|
1652
|
-
"name": "
|
|
1653
|
-
"module": "src/accordion
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1654
1657
|
}
|
|
1655
1658
|
},
|
|
1656
1659
|
{
|
|
1657
1660
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1661
|
+
"name": "activeItemIndex",
|
|
1659
1662
|
"type": {
|
|
1660
|
-
"text": "
|
|
1663
|
+
"text": "number"
|
|
1661
1664
|
},
|
|
1662
|
-
"privacy": "
|
|
1663
|
-
"
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"default": "0",
|
|
1664
1667
|
"inheritedFrom": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "src/accordion
|
|
1668
|
+
"name": "Accordion",
|
|
1669
|
+
"module": "src/accordion/accordion.ts"
|
|
1667
1670
|
}
|
|
1668
1671
|
},
|
|
1669
1672
|
{
|
|
1670
1673
|
"kind": "field",
|
|
1671
|
-
"name": "
|
|
1674
|
+
"name": "accordionIds",
|
|
1675
|
+
"type": {
|
|
1676
|
+
"text": "Array<string | null>"
|
|
1677
|
+
},
|
|
1672
1678
|
"privacy": "private",
|
|
1673
1679
|
"inheritedFrom": {
|
|
1674
|
-
"name": "
|
|
1675
|
-
"module": "src/accordion
|
|
1680
|
+
"name": "Accordion",
|
|
1681
|
+
"module": "src/accordion/accordion.ts"
|
|
1676
1682
|
}
|
|
1677
1683
|
},
|
|
1678
1684
|
{
|
|
1679
1685
|
"kind": "field",
|
|
1680
|
-
"name": "
|
|
1681
|
-
"type": {
|
|
1682
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1683
|
-
},
|
|
1686
|
+
"name": "change",
|
|
1684
1687
|
"privacy": "private",
|
|
1685
|
-
"default": "void 0",
|
|
1686
1688
|
"inheritedFrom": {
|
|
1687
|
-
"name": "
|
|
1688
|
-
"module": "src/
|
|
1689
|
+
"name": "Accordion",
|
|
1690
|
+
"module": "src/accordion/accordion.ts"
|
|
1689
1691
|
}
|
|
1690
1692
|
},
|
|
1691
1693
|
{
|
|
1692
|
-
"kind": "
|
|
1693
|
-
"name": "
|
|
1694
|
-
"
|
|
1695
|
-
|
|
1694
|
+
"kind": "method",
|
|
1695
|
+
"name": "findExpandedItem",
|
|
1696
|
+
"privacy": "private",
|
|
1697
|
+
"return": {
|
|
1698
|
+
"type": {
|
|
1699
|
+
"text": "AccordionItem | null"
|
|
1700
|
+
}
|
|
1696
1701
|
},
|
|
1697
|
-
"privacy": "public",
|
|
1698
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1699
1702
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/
|
|
1703
|
+
"name": "Accordion",
|
|
1704
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
1705
|
}
|
|
1703
1706
|
},
|
|
1704
1707
|
{
|
|
1705
1708
|
"kind": "field",
|
|
1706
|
-
"name": "
|
|
1707
|
-
"
|
|
1708
|
-
"text": "ElementViewTemplate | void | null"
|
|
1709
|
-
},
|
|
1710
|
-
"privacy": "public",
|
|
1711
|
-
"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.",
|
|
1709
|
+
"name": "setItems",
|
|
1710
|
+
"privacy": "private",
|
|
1712
1711
|
"inheritedFrom": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "src/
|
|
1712
|
+
"name": "Accordion",
|
|
1713
|
+
"module": "src/accordion/accordion.ts"
|
|
1715
1714
|
}
|
|
1716
1715
|
},
|
|
1717
1716
|
{
|
|
1718
1717
|
"kind": "method",
|
|
1719
|
-
"name": "
|
|
1720
|
-
"privacy": "
|
|
1718
|
+
"name": "resetItems",
|
|
1719
|
+
"privacy": "private",
|
|
1721
1720
|
"return": {
|
|
1722
1721
|
"type": {
|
|
1723
1722
|
"text": "void"
|
|
1724
1723
|
}
|
|
1725
1724
|
},
|
|
1726
1725
|
"inheritedFrom": {
|
|
1727
|
-
"name": "
|
|
1728
|
-
"module": "src/
|
|
1726
|
+
"name": "Accordion",
|
|
1727
|
+
"module": "src/accordion/accordion.ts"
|
|
1729
1728
|
}
|
|
1730
1729
|
},
|
|
1731
1730
|
{
|
|
1732
1731
|
"kind": "field",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"
|
|
1735
|
-
"text": "ElementStyles | void | null"
|
|
1736
|
-
},
|
|
1737
|
-
"privacy": "public",
|
|
1738
|
-
"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.",
|
|
1732
|
+
"name": "removeItemListeners",
|
|
1733
|
+
"privacy": "private",
|
|
1739
1734
|
"inheritedFrom": {
|
|
1740
|
-
"name": "
|
|
1741
|
-
"module": "src/
|
|
1735
|
+
"name": "Accordion",
|
|
1736
|
+
"module": "src/accordion/accordion.ts"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "field",
|
|
1741
|
+
"name": "activeItemChange",
|
|
1742
|
+
"privacy": "private",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "Accordion",
|
|
1745
|
+
"module": "src/accordion/accordion.ts"
|
|
1742
1746
|
}
|
|
1743
1747
|
},
|
|
1744
1748
|
{
|
|
1745
1749
|
"kind": "method",
|
|
1746
|
-
"name": "
|
|
1747
|
-
"privacy": "
|
|
1750
|
+
"name": "getItemIds",
|
|
1751
|
+
"privacy": "private",
|
|
1748
1752
|
"return": {
|
|
1749
1753
|
"type": {
|
|
1750
|
-
"text": "
|
|
1754
|
+
"text": "Array<string | null>"
|
|
1751
1755
|
}
|
|
1752
1756
|
},
|
|
1753
1757
|
"inheritedFrom": {
|
|
1754
|
-
"name": "
|
|
1755
|
-
"module": "src/
|
|
1758
|
+
"name": "Accordion",
|
|
1759
|
+
"module": "src/accordion/accordion.ts"
|
|
1756
1760
|
}
|
|
1757
1761
|
},
|
|
1758
1762
|
{
|
|
1759
1763
|
"kind": "method",
|
|
1760
|
-
"name": "
|
|
1761
|
-
"privacy": "
|
|
1762
|
-
"static": true,
|
|
1764
|
+
"name": "isSingleExpandMode",
|
|
1765
|
+
"privacy": "private",
|
|
1763
1766
|
"return": {
|
|
1764
1767
|
"type": {
|
|
1765
|
-
"text": "
|
|
1768
|
+
"text": "boolean"
|
|
1766
1769
|
}
|
|
1767
1770
|
},
|
|
1768
|
-
"parameters": [
|
|
1769
|
-
{
|
|
1770
|
-
"name": "this",
|
|
1771
|
-
"type": {
|
|
1772
|
-
"text": "K"
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1775
|
-
{
|
|
1776
|
-
"name": "elementDefinition",
|
|
1777
|
-
"type": {
|
|
1778
|
-
"text": "T"
|
|
1779
|
-
},
|
|
1780
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1781
|
-
}
|
|
1782
|
-
],
|
|
1783
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1784
1771
|
"inheritedFrom": {
|
|
1785
|
-
"name": "
|
|
1786
|
-
"module": "src/
|
|
1772
|
+
"name": "Accordion",
|
|
1773
|
+
"module": "src/accordion/accordion.ts"
|
|
1787
1774
|
}
|
|
1788
|
-
}
|
|
1789
|
-
],
|
|
1790
|
-
"events": [
|
|
1775
|
+
},
|
|
1791
1776
|
{
|
|
1792
|
-
"
|
|
1793
|
-
"name": "
|
|
1794
|
-
"
|
|
1795
|
-
|
|
1796
|
-
"
|
|
1777
|
+
"kind": "field",
|
|
1778
|
+
"name": "handleItemKeyDown",
|
|
1779
|
+
"privacy": "private",
|
|
1780
|
+
"inheritedFrom": {
|
|
1781
|
+
"name": "Accordion",
|
|
1782
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "field",
|
|
1787
|
+
"name": "handleItemFocus",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"inheritedFrom": {
|
|
1790
|
+
"name": "Accordion",
|
|
1791
|
+
"module": "src/accordion/accordion.ts"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"kind": "method",
|
|
1796
|
+
"name": "adjust",
|
|
1797
|
+
"privacy": "private",
|
|
1798
|
+
"return": {
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "void"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"parameters": [
|
|
1804
|
+
{
|
|
1805
|
+
"name": "adjustment",
|
|
1806
|
+
"type": {
|
|
1807
|
+
"text": "number"
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
"inheritedFrom": {
|
|
1812
|
+
"name": "Accordion",
|
|
1813
|
+
"module": "src/accordion/accordion.ts"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "method",
|
|
1818
|
+
"name": "focusItem",
|
|
1819
|
+
"privacy": "private",
|
|
1820
|
+
"return": {
|
|
1821
|
+
"type": {
|
|
1822
|
+
"text": "void"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"inheritedFrom": {
|
|
1826
|
+
"name": "Accordion",
|
|
1827
|
+
"module": "src/accordion/accordion.ts"
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "field",
|
|
1832
|
+
"name": "_presentation",
|
|
1833
|
+
"type": {
|
|
1834
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1835
|
+
},
|
|
1836
|
+
"privacy": "private",
|
|
1837
|
+
"default": "void 0",
|
|
1838
|
+
"inheritedFrom": {
|
|
1839
|
+
"name": "FoundationElement",
|
|
1840
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "field",
|
|
1845
|
+
"name": "$presentation",
|
|
1846
|
+
"type": {
|
|
1847
|
+
"text": "ComponentPresentation | null"
|
|
1848
|
+
},
|
|
1849
|
+
"privacy": "public",
|
|
1850
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1851
|
+
"inheritedFrom": {
|
|
1852
|
+
"name": "FoundationElement",
|
|
1853
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"kind": "field",
|
|
1858
|
+
"name": "template",
|
|
1859
|
+
"type": {
|
|
1860
|
+
"text": "ElementViewTemplate | void | null"
|
|
1861
|
+
},
|
|
1862
|
+
"privacy": "public",
|
|
1863
|
+
"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.",
|
|
1864
|
+
"inheritedFrom": {
|
|
1865
|
+
"name": "FoundationElement",
|
|
1866
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "method",
|
|
1871
|
+
"name": "templateChanged",
|
|
1872
|
+
"privacy": "protected",
|
|
1873
|
+
"return": {
|
|
1874
|
+
"type": {
|
|
1875
|
+
"text": "void"
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
"inheritedFrom": {
|
|
1879
|
+
"name": "FoundationElement",
|
|
1880
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "field",
|
|
1885
|
+
"name": "styles",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "ElementStyles | void | null"
|
|
1888
|
+
},
|
|
1889
|
+
"privacy": "public",
|
|
1890
|
+
"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.",
|
|
1891
|
+
"inheritedFrom": {
|
|
1892
|
+
"name": "FoundationElement",
|
|
1893
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"kind": "method",
|
|
1898
|
+
"name": "stylesChanged",
|
|
1899
|
+
"privacy": "protected",
|
|
1900
|
+
"return": {
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "void"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
"inheritedFrom": {
|
|
1906
|
+
"name": "FoundationElement",
|
|
1907
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"kind": "method",
|
|
1912
|
+
"name": "compose",
|
|
1913
|
+
"privacy": "public",
|
|
1914
|
+
"static": true,
|
|
1915
|
+
"return": {
|
|
1916
|
+
"type": {
|
|
1917
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
"parameters": [
|
|
1921
|
+
{
|
|
1922
|
+
"name": "this",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"text": "K"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"name": "elementDefinition",
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "T"
|
|
1931
|
+
},
|
|
1932
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1933
|
+
}
|
|
1934
|
+
],
|
|
1935
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1936
|
+
"inheritedFrom": {
|
|
1937
|
+
"name": "FoundationElement",
|
|
1938
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
],
|
|
1942
|
+
"events": [
|
|
1943
|
+
{
|
|
1944
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1945
|
+
"name": "change",
|
|
1946
|
+
"inheritedFrom": {
|
|
1947
|
+
"name": "Accordion",
|
|
1948
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
1949
|
}
|
|
1798
1950
|
}
|
|
1799
1951
|
]
|
|
1800
1952
|
},
|
|
1801
1953
|
{
|
|
1802
1954
|
"kind": "variable",
|
|
1803
|
-
"name": "
|
|
1955
|
+
"name": "foundationAccordionShadowOptions",
|
|
1804
1956
|
"type": {
|
|
1805
1957
|
"text": "ShadowRootInit"
|
|
1806
1958
|
},
|
|
@@ -1808,88 +1960,57 @@
|
|
|
1808
1960
|
},
|
|
1809
1961
|
{
|
|
1810
1962
|
"kind": "variable",
|
|
1811
|
-
"name": "
|
|
1963
|
+
"name": "defaultAccordionConfig",
|
|
1812
1964
|
"type": {
|
|
1813
1965
|
"text": "object"
|
|
1814
1966
|
},
|
|
1815
|
-
"default": "{
|
|
1967
|
+
"default": "{}"
|
|
1816
1968
|
},
|
|
1817
1969
|
{
|
|
1818
1970
|
"kind": "variable",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The Foundation Accordion
|
|
1971
|
+
"name": "foundationAccordion",
|
|
1972
|
+
"description": "The Foundation Accordion",
|
|
1821
1973
|
"privacy": "public"
|
|
1822
1974
|
}
|
|
1823
1975
|
],
|
|
1824
1976
|
"exports": [
|
|
1825
1977
|
{
|
|
1826
1978
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1828
|
-
"declaration": {
|
|
1829
|
-
"name": "AccordionItem",
|
|
1830
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "js",
|
|
1835
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1836
|
-
"declaration": {
|
|
1837
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1839
|
-
}
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"kind": "js",
|
|
1843
|
-
"name": "defaultAccordionItemConfig",
|
|
1979
|
+
"name": "Accordion",
|
|
1844
1980
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion
|
|
1981
|
+
"name": "Accordion",
|
|
1982
|
+
"module": "src/accordion/accordion.ts"
|
|
1847
1983
|
}
|
|
1848
1984
|
},
|
|
1849
1985
|
{
|
|
1850
1986
|
"kind": "js",
|
|
1851
|
-
"name": "
|
|
1852
|
-
"declaration": {
|
|
1853
|
-
"name": "foundationAccordionItem",
|
|
1854
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
]
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/accordion-item/index.ts",
|
|
1862
|
-
"declarations": [],
|
|
1863
|
-
"exports": [
|
|
1864
|
-
{
|
|
1865
|
-
"kind": "js",
|
|
1866
|
-
"name": "*",
|
|
1987
|
+
"name": "foundationAccordionShadowOptions",
|
|
1867
1988
|
"declaration": {
|
|
1868
|
-
"name": "
|
|
1869
|
-
"
|
|
1989
|
+
"name": "foundationAccordionShadowOptions",
|
|
1990
|
+
"module": "src/accordion/accordion.ts"
|
|
1870
1991
|
}
|
|
1871
1992
|
},
|
|
1872
1993
|
{
|
|
1873
1994
|
"kind": "js",
|
|
1874
|
-
"name": "
|
|
1995
|
+
"name": "defaultAccordionConfig",
|
|
1875
1996
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"
|
|
1997
|
+
"name": "defaultAccordionConfig",
|
|
1998
|
+
"module": "src/accordion/accordion.ts"
|
|
1878
1999
|
}
|
|
1879
2000
|
},
|
|
1880
2001
|
{
|
|
1881
2002
|
"kind": "js",
|
|
1882
|
-
"name": "
|
|
2003
|
+
"name": "foundationAccordion",
|
|
1883
2004
|
"declaration": {
|
|
1884
|
-
"name": "
|
|
1885
|
-
"
|
|
2005
|
+
"name": "foundationAccordion",
|
|
2006
|
+
"module": "src/accordion/accordion.ts"
|
|
1886
2007
|
}
|
|
1887
2008
|
}
|
|
1888
2009
|
]
|
|
1889
2010
|
},
|
|
1890
2011
|
{
|
|
1891
2012
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
2013
|
+
"path": "src/accordion/index.ts",
|
|
1893
2014
|
"declarations": [],
|
|
1894
2015
|
"exports": [
|
|
1895
2016
|
{
|
|
@@ -1897,7 +2018,7 @@
|
|
|
1897
2018
|
"name": "*",
|
|
1898
2019
|
"declaration": {
|
|
1899
2020
|
"name": "*",
|
|
1900
|
-
"package": "./
|
|
2021
|
+
"package": "./accordion.template"
|
|
1901
2022
|
}
|
|
1902
2023
|
},
|
|
1903
2024
|
{
|
|
@@ -1905,7 +2026,7 @@
|
|
|
1905
2026
|
"name": "*",
|
|
1906
2027
|
"declaration": {
|
|
1907
2028
|
"name": "*",
|
|
1908
|
-
"package": "./
|
|
2029
|
+
"package": "./accordion.styles"
|
|
1909
2030
|
}
|
|
1910
2031
|
},
|
|
1911
2032
|
{
|
|
@@ -1913,41 +2034,18 @@
|
|
|
1913
2034
|
"name": "*",
|
|
1914
2035
|
"declaration": {
|
|
1915
2036
|
"name": "*",
|
|
1916
|
-
"package": "./
|
|
2037
|
+
"package": "./accordion"
|
|
1917
2038
|
}
|
|
1918
2039
|
}
|
|
1919
2040
|
]
|
|
1920
2041
|
},
|
|
1921
2042
|
{
|
|
1922
2043
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2044
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1924
2045
|
"declarations": [
|
|
1925
2046
|
{
|
|
1926
2047
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
1928
|
-
"return": {
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
2048
|
+
"name": "foundationAccordionItemStyles",
|
|
1951
2049
|
"return": {
|
|
1952
2050
|
"type": {
|
|
1953
2051
|
"text": "ElementStyles"
|
|
@@ -1972,281 +2070,156 @@
|
|
|
1972
2070
|
"exports": [
|
|
1973
2071
|
{
|
|
1974
2072
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
1984
2074
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationAccordionItemStyles",
|
|
2076
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1987
2077
|
}
|
|
1988
2078
|
}
|
|
1989
2079
|
]
|
|
1990
2080
|
},
|
|
1991
2081
|
{
|
|
1992
2082
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
2083
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1994
2084
|
"declarations": [
|
|
1995
2085
|
{
|
|
1996
2086
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
2087
|
+
"name": "foundationAccordionItemTemplate",
|
|
2088
|
+
"return": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
1998
2093
|
"parameters": [
|
|
1999
2094
|
{
|
|
2000
|
-
"name": "
|
|
2095
|
+
"name": "context",
|
|
2001
2096
|
"type": {
|
|
2002
|
-
"text": "
|
|
2097
|
+
"text": "ElementDefinitionContext"
|
|
2003
2098
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2099
|
+
},
|
|
2011
2100
|
{
|
|
2012
|
-
"name": "
|
|
2101
|
+
"name": "definition",
|
|
2013
2102
|
"type": {
|
|
2014
|
-
"text": "
|
|
2103
|
+
"text": "FoundationElementDefinition"
|
|
2015
2104
|
}
|
|
2016
2105
|
}
|
|
2017
2106
|
]
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "variable",
|
|
2021
|
-
"name": "foundationActionsMenuTemplate",
|
|
2022
|
-
"type": {
|
|
2023
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
-
},
|
|
2025
|
-
"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`"
|
|
2026
2107
|
}
|
|
2027
2108
|
],
|
|
2028
2109
|
"exports": [
|
|
2029
2110
|
{
|
|
2030
2111
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "menuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "js",
|
|
2039
|
-
"name": "singleOptionTemplate",
|
|
2040
|
-
"declaration": {
|
|
2041
|
-
"name": "singleOptionTemplate",
|
|
2042
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
-
}
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "js",
|
|
2047
|
-
"name": "foundationActionsMenuTemplate",
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2048
2113
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
2114
|
+
"name": "foundationAccordionItemTemplate",
|
|
2115
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2051
2116
|
}
|
|
2052
2117
|
}
|
|
2053
2118
|
]
|
|
2054
2119
|
},
|
|
2055
2120
|
{
|
|
2056
2121
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2122
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2058
2123
|
"declarations": [
|
|
2059
2124
|
{
|
|
2060
2125
|
"kind": "class",
|
|
2061
2126
|
"description": "",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "field",
|
|
2073
|
-
"name": "isVertical",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "boolean"
|
|
2076
|
-
},
|
|
2077
|
-
"default": "false"
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
"kind": "field",
|
|
2081
|
-
"name": "addDefaultActions",
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "boolean"
|
|
2084
|
-
},
|
|
2085
|
-
"default": "true"
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "autoCloseOnAction",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "boolean"
|
|
2092
|
-
},
|
|
2093
|
-
"default": "true"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "field",
|
|
2097
|
-
"name": "classNames",
|
|
2098
|
-
"type": {
|
|
2099
|
-
"text": "string"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "definition",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "any"
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
"kind": "field",
|
|
2111
|
-
"name": "name",
|
|
2112
|
-
"type": {
|
|
2113
|
-
"text": "string"
|
|
2114
|
-
},
|
|
2115
|
-
"default": "'Actions'"
|
|
2116
|
-
},
|
|
2117
|
-
{
|
|
2118
|
-
"kind": "field",
|
|
2119
|
-
"name": "open",
|
|
2120
|
-
"type": {
|
|
2121
|
-
"text": "boolean"
|
|
2122
|
-
},
|
|
2123
|
-
"default": "false"
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"kind": "field",
|
|
2127
|
-
"name": "buttonAppearance",
|
|
2128
|
-
"type": {
|
|
2129
|
-
"text": "string"
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
"kind": "field",
|
|
2134
|
-
"name": "hideDisabled",
|
|
2135
|
-
"type": {
|
|
2136
|
-
"text": "boolean"
|
|
2137
|
-
},
|
|
2138
|
-
"default": "false"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "field",
|
|
2142
|
-
"name": "hideMenuSingleOption",
|
|
2143
|
-
"type": {
|
|
2144
|
-
"text": "boolean"
|
|
2145
|
-
},
|
|
2146
|
-
"default": "false"
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
"kind": "field",
|
|
2150
|
-
"name": "singleOption",
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2153
|
-
}
|
|
2154
|
-
},
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "field",
|
|
2157
|
-
"name": "actionsMenu",
|
|
2158
|
-
"type": {
|
|
2159
|
-
"text": "HTMLElement"
|
|
2160
|
-
}
|
|
2161
|
-
},
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"superclass": {
|
|
2129
|
+
"name": "FASTAccordionItem",
|
|
2130
|
+
"package": "@microsoft/fast-components"
|
|
2131
|
+
},
|
|
2132
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
+
"customElement": true,
|
|
2134
|
+
"attributes": [
|
|
2162
2135
|
{
|
|
2163
|
-
"
|
|
2164
|
-
"name": "actionsOpener",
|
|
2136
|
+
"name": "heading-level",
|
|
2165
2137
|
"type": {
|
|
2166
|
-
"text": "
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
"kind": "method",
|
|
2176
|
-
"name": "definitionChanged",
|
|
2177
|
-
"privacy": "protected",
|
|
2178
|
-
"parameters": [
|
|
2179
|
-
{
|
|
2180
|
-
"name": "oldValue",
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "any"
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "newValue",
|
|
2187
|
-
"type": {
|
|
2188
|
-
"text": "any"
|
|
2189
|
-
}
|
|
2190
|
-
}
|
|
2191
|
-
]
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "method",
|
|
2195
|
-
"name": "openChanged",
|
|
2196
|
-
"privacy": "protected"
|
|
2138
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2139
|
+
},
|
|
2140
|
+
"default": "2",
|
|
2141
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
+
"fieldName": "headinglevel",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "AccordionItem",
|
|
2145
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2146
|
+
}
|
|
2197
2147
|
},
|
|
2198
2148
|
{
|
|
2199
|
-
"
|
|
2200
|
-
|
|
2149
|
+
"type": {
|
|
2150
|
+
"text": "boolean"
|
|
2151
|
+
},
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"description": "Expands or collapses the item.",
|
|
2154
|
+
"fieldName": "expanded",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "AccordionItem",
|
|
2157
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
+
}
|
|
2201
2159
|
},
|
|
2202
2160
|
{
|
|
2203
|
-
"
|
|
2204
|
-
"
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
}
|
|
2161
|
+
"name": "id",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string"
|
|
2164
|
+
},
|
|
2165
|
+
"description": "The item ID",
|
|
2166
|
+
"fieldName": "id",
|
|
2167
|
+
"inheritedFrom": {
|
|
2168
|
+
"name": "AccordionItem",
|
|
2169
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"members": [
|
|
2214
2174
|
{
|
|
2215
2175
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2176
|
+
"name": "headinglevel",
|
|
2217
2177
|
"type": {
|
|
2218
|
-
"text": "
|
|
2178
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2219
2179
|
},
|
|
2220
|
-
"
|
|
2180
|
+
"privacy": "public",
|
|
2181
|
+
"default": "2",
|
|
2182
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "AccordionItem",
|
|
2185
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2186
|
+
}
|
|
2221
2187
|
},
|
|
2222
2188
|
{
|
|
2223
2189
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2190
|
+
"name": "expanded",
|
|
2191
|
+
"type": {
|
|
2192
|
+
"text": "boolean"
|
|
2193
|
+
},
|
|
2194
|
+
"privacy": "public",
|
|
2195
|
+
"default": "false",
|
|
2196
|
+
"description": "Expands or collapses the item.",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
+
}
|
|
2226
2201
|
},
|
|
2227
2202
|
{
|
|
2228
|
-
"kind": "
|
|
2229
|
-
"name": "
|
|
2230
|
-
"
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2203
|
+
"kind": "field",
|
|
2204
|
+
"name": "id",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"privacy": "public",
|
|
2209
|
+
"description": "The item ID",
|
|
2210
|
+
"inheritedFrom": {
|
|
2211
|
+
"name": "AccordionItem",
|
|
2212
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2213
|
+
}
|
|
2238
2214
|
},
|
|
2239
2215
|
{
|
|
2240
|
-
"kind": "
|
|
2241
|
-
"name": "
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
]
|
|
2216
|
+
"kind": "field",
|
|
2217
|
+
"name": "change",
|
|
2218
|
+
"privacy": "private",
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "AccordionItem",
|
|
2221
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2222
|
+
}
|
|
2250
2223
|
},
|
|
2251
2224
|
{
|
|
2252
2225
|
"kind": "field",
|
|
@@ -2360,107 +2333,78 @@
|
|
|
2360
2333
|
}
|
|
2361
2334
|
}
|
|
2362
2335
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
2365
|
-
"name": "is-vertical",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"default": "false",
|
|
2370
|
-
"fieldName": "isVertical"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "add-default-actions",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "boolean"
|
|
2376
|
-
},
|
|
2377
|
-
"default": "true",
|
|
2378
|
-
"fieldName": "addDefaultActions"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "auto-close-on-action",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "true",
|
|
2386
|
-
"fieldName": "autoCloseOnAction"
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "name",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "'Actions'",
|
|
2394
|
-
"fieldName": "name"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "open",
|
|
2398
|
-
"type": {
|
|
2399
|
-
"text": "boolean"
|
|
2400
|
-
},
|
|
2401
|
-
"default": "false",
|
|
2402
|
-
"fieldName": "open"
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "buttonAppearance",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "string"
|
|
2408
|
-
},
|
|
2409
|
-
"fieldName": "buttonAppearance"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "hide-disabled",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "boolean"
|
|
2415
|
-
},
|
|
2416
|
-
"default": "false",
|
|
2417
|
-
"fieldName": "hideDisabled"
|
|
2418
|
-
},
|
|
2336
|
+
"events": [
|
|
2419
2337
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2338
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "AccordionItem",
|
|
2342
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
|
+
}
|
|
2426
2344
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2431
2352
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2354
|
},
|
|
2435
2355
|
{
|
|
2436
2356
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2357
|
+
"name": "defaultAccordionItemConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordionItem",
|
|
2366
|
+
"description": "The Foundation Accordion Item",
|
|
2439
2367
|
"privacy": "public"
|
|
2440
2368
|
}
|
|
2441
2369
|
],
|
|
2442
2370
|
"exports": [
|
|
2443
2371
|
{
|
|
2444
2372
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2373
|
+
"name": "AccordionItem",
|
|
2446
2374
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2375
|
+
"name": "AccordionItem",
|
|
2376
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
2377
|
}
|
|
2450
2378
|
},
|
|
2451
2379
|
{
|
|
2452
2380
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2454
2382
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionItemConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionItemConfig",
|
|
2392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "foundationAccordionItem",
|
|
2398
|
+
"declaration": {
|
|
2399
|
+
"name": "foundationAccordionItem",
|
|
2400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2457
2401
|
}
|
|
2458
2402
|
}
|
|
2459
2403
|
]
|
|
2460
2404
|
},
|
|
2461
2405
|
{
|
|
2462
2406
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion-item/index.ts",
|
|
2464
2408
|
"declarations": [],
|
|
2465
2409
|
"exports": [
|
|
2466
2410
|
{
|
|
@@ -2468,7 +2412,7 @@
|
|
|
2468
2412
|
"name": "*",
|
|
2469
2413
|
"declaration": {
|
|
2470
2414
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion-item.template"
|
|
2472
2416
|
}
|
|
2473
2417
|
},
|
|
2474
2418
|
{
|
|
@@ -2476,7 +2420,7 @@
|
|
|
2476
2420
|
"name": "*",
|
|
2477
2421
|
"declaration": {
|
|
2478
2422
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion-item.styles"
|
|
2480
2424
|
}
|
|
2481
2425
|
},
|
|
2482
2426
|
{
|
|
@@ -2484,7 +2428,7 @@
|
|
|
2484
2428
|
"name": "*",
|
|
2485
2429
|
"declaration": {
|
|
2486
2430
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion-item"
|
|
2488
2432
|
}
|
|
2489
2433
|
}
|
|
2490
2434
|
]
|
|
@@ -3100,11 +3044,11 @@
|
|
|
3100
3044
|
},
|
|
3101
3045
|
{
|
|
3102
3046
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3047
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3104
3048
|
"declarations": [
|
|
3105
3049
|
{
|
|
3106
3050
|
"kind": "function",
|
|
3107
|
-
"name": "
|
|
3051
|
+
"name": "foundationAiIndicatorStyles",
|
|
3108
3052
|
"return": {
|
|
3109
3053
|
"type": {
|
|
3110
3054
|
"text": "ElementStyles"
|
|
@@ -3129,276 +3073,224 @@
|
|
|
3129
3073
|
"exports": [
|
|
3130
3074
|
{
|
|
3131
3075
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3076
|
+
"name": "foundationAiIndicatorStyles",
|
|
3133
3077
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3078
|
+
"name": "foundationAiIndicatorStyles",
|
|
3079
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3136
3080
|
}
|
|
3137
3081
|
}
|
|
3138
3082
|
]
|
|
3139
3083
|
},
|
|
3140
3084
|
{
|
|
3141
3085
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3086
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3143
3087
|
"declarations": [
|
|
3144
3088
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3089
|
+
"kind": "variable",
|
|
3090
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3091
|
+
"type": {
|
|
3092
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3151
3093
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3094
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3166
3095
|
}
|
|
3167
3096
|
],
|
|
3168
3097
|
"exports": [
|
|
3169
3098
|
{
|
|
3170
3099
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3100
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3172
3101
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3102
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3103
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3175
3104
|
}
|
|
3176
3105
|
}
|
|
3177
3106
|
]
|
|
3178
3107
|
},
|
|
3179
3108
|
{
|
|
3180
3109
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3110
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3182
3111
|
"declarations": [
|
|
3183
3112
|
{
|
|
3184
3113
|
"kind": "class",
|
|
3185
3114
|
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3115
|
+
"name": "AiIndicator",
|
|
3116
|
+
"members": [
|
|
3194
3117
|
{
|
|
3195
|
-
"
|
|
3118
|
+
"kind": "field",
|
|
3119
|
+
"name": "providerRegistry",
|
|
3196
3120
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3121
|
+
"text": "AIProviderRegistry"
|
|
3204
3122
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3123
|
+
},
|
|
3208
3124
|
{
|
|
3209
3125
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3126
|
+
"name": "aiProvider",
|
|
3211
3127
|
"type": {
|
|
3212
|
-
"text": "
|
|
3128
|
+
"text": "AIProvider | undefined"
|
|
3213
3129
|
},
|
|
3214
|
-
"privacy": "
|
|
3215
|
-
"description": "
|
|
3216
|
-
"
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3130
|
+
"privacy": "private",
|
|
3131
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3132
|
+
"readonly": true
|
|
3220
3133
|
},
|
|
3221
3134
|
{
|
|
3222
3135
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3136
|
+
"name": "status",
|
|
3224
3137
|
"type": {
|
|
3225
|
-
"text": "
|
|
3138
|
+
"text": "AIStatus | null"
|
|
3226
3139
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3140
|
+
"default": "null"
|
|
3232
3141
|
},
|
|
3233
3142
|
{
|
|
3234
3143
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3144
|
+
"name": "open",
|
|
3236
3145
|
"type": {
|
|
3237
|
-
"text": "
|
|
3146
|
+
"text": "boolean"
|
|
3238
3147
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3148
|
+
"default": "false"
|
|
3245
3149
|
},
|
|
3246
3150
|
{
|
|
3247
3151
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3152
|
+
"name": "state",
|
|
3249
3153
|
"type": {
|
|
3250
|
-
"text": "
|
|
3154
|
+
"text": "AIIndicatorState"
|
|
3251
3155
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3156
|
+
"default": "'none'"
|
|
3257
3157
|
},
|
|
3258
3158
|
{
|
|
3259
3159
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3160
|
+
"name": "isInstalling",
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "boolean"
|
|
3163
|
+
},
|
|
3164
|
+
"default": "false"
|
|
3266
3165
|
},
|
|
3267
3166
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3167
|
+
"kind": "field",
|
|
3168
|
+
"name": "pollTimer",
|
|
3169
|
+
"type": {
|
|
3170
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3171
|
+
},
|
|
3270
3172
|
"privacy": "private",
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3173
|
+
"default": "null"
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"kind": "field",
|
|
3177
|
+
"name": "clickOutside",
|
|
3178
|
+
"privacy": "private"
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"kind": "field",
|
|
3182
|
+
"name": "chromeStatusLabel",
|
|
3183
|
+
"type": {
|
|
3184
|
+
"text": "string | null"
|
|
3275
3185
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3186
|
+
"readonly": true
|
|
3280
3187
|
},
|
|
3281
3188
|
{
|
|
3282
3189
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3190
|
+
"name": "canInstall",
|
|
3191
|
+
"type": {
|
|
3192
|
+
"text": "boolean"
|
|
3193
|
+
},
|
|
3194
|
+
"readonly": true
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"kind": "field",
|
|
3198
|
+
"name": "isDownloading",
|
|
3199
|
+
"type": {
|
|
3200
|
+
"text": "boolean"
|
|
3201
|
+
},
|
|
3202
|
+
"readonly": true
|
|
3289
3203
|
},
|
|
3290
3204
|
{
|
|
3291
3205
|
"kind": "method",
|
|
3292
|
-
"name": "
|
|
3293
|
-
"privacy": "private",
|
|
3206
|
+
"name": "openChanged",
|
|
3294
3207
|
"return": {
|
|
3295
3208
|
"type": {
|
|
3296
3209
|
"text": "void"
|
|
3297
3210
|
}
|
|
3298
|
-
},
|
|
3299
|
-
"inheritedFrom": {
|
|
3300
|
-
"name": "Accordion",
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
3211
|
}
|
|
3303
3212
|
},
|
|
3304
3213
|
{
|
|
3305
|
-
"kind": "
|
|
3306
|
-
"name": "
|
|
3214
|
+
"kind": "method",
|
|
3215
|
+
"name": "handleClickOutside",
|
|
3307
3216
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3217
|
+
"parameters": [
|
|
3218
|
+
{
|
|
3219
|
+
"name": "event",
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "MouseEvent"
|
|
3222
|
+
}
|
|
3223
|
+
}
|
|
3224
|
+
]
|
|
3312
3225
|
},
|
|
3313
3226
|
{
|
|
3314
|
-
"kind": "
|
|
3315
|
-
"name": "
|
|
3316
|
-
"privacy": "private",
|
|
3317
|
-
"inheritedFrom": {
|
|
3318
|
-
"name": "Accordion",
|
|
3319
|
-
"module": "src/accordion/accordion.ts"
|
|
3320
|
-
}
|
|
3227
|
+
"kind": "method",
|
|
3228
|
+
"name": "toggleDropdown"
|
|
3321
3229
|
},
|
|
3322
3230
|
{
|
|
3323
3231
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3325
|
-
"privacy": "private",
|
|
3232
|
+
"name": "refreshStatus",
|
|
3326
3233
|
"return": {
|
|
3327
3234
|
"type": {
|
|
3328
|
-
"text": "
|
|
3235
|
+
"text": "Promise<void>"
|
|
3329
3236
|
}
|
|
3330
|
-
},
|
|
3331
|
-
"inheritedFrom": {
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
3237
|
}
|
|
3335
3238
|
},
|
|
3336
3239
|
{
|
|
3337
3240
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3241
|
+
"name": "deriveState",
|
|
3339
3242
|
"privacy": "private",
|
|
3340
3243
|
"return": {
|
|
3341
3244
|
"type": {
|
|
3342
|
-
"text": "
|
|
3245
|
+
"text": "AIIndicatorState"
|
|
3343
3246
|
}
|
|
3344
3247
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3248
|
+
"parameters": [
|
|
3249
|
+
{
|
|
3250
|
+
"name": "s",
|
|
3251
|
+
"type": {
|
|
3252
|
+
"text": "AIStatus | null"
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
]
|
|
3349
3256
|
},
|
|
3350
3257
|
{
|
|
3351
|
-
"kind": "
|
|
3352
|
-
"name": "
|
|
3258
|
+
"kind": "method",
|
|
3259
|
+
"name": "maybeStartPolling",
|
|
3353
3260
|
"privacy": "private",
|
|
3354
|
-
"
|
|
3355
|
-
"
|
|
3356
|
-
|
|
3261
|
+
"return": {
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "void"
|
|
3264
|
+
}
|
|
3357
3265
|
}
|
|
3358
3266
|
},
|
|
3359
3267
|
{
|
|
3360
|
-
"kind": "
|
|
3361
|
-
"name": "
|
|
3268
|
+
"kind": "method",
|
|
3269
|
+
"name": "startPolling",
|
|
3362
3270
|
"privacy": "private",
|
|
3363
|
-
"
|
|
3364
|
-
"
|
|
3365
|
-
|
|
3271
|
+
"return": {
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "void"
|
|
3274
|
+
}
|
|
3366
3275
|
}
|
|
3367
3276
|
},
|
|
3368
3277
|
{
|
|
3369
3278
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3279
|
+
"name": "stopPolling",
|
|
3371
3280
|
"privacy": "private",
|
|
3372
3281
|
"return": {
|
|
3373
3282
|
"type": {
|
|
3374
3283
|
"text": "void"
|
|
3375
3284
|
}
|
|
3376
|
-
},
|
|
3377
|
-
"parameters": [
|
|
3378
|
-
{
|
|
3379
|
-
"name": "adjustment",
|
|
3380
|
-
"type": {
|
|
3381
|
-
"text": "number"
|
|
3382
|
-
}
|
|
3383
|
-
}
|
|
3384
|
-
],
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
3285
|
}
|
|
3389
3286
|
},
|
|
3390
3287
|
{
|
|
3391
3288
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3289
|
+
"name": "onInstall",
|
|
3394
3290
|
"return": {
|
|
3395
3291
|
"type": {
|
|
3396
|
-
"text": "void"
|
|
3292
|
+
"text": "Promise<void>"
|
|
3397
3293
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3294
|
}
|
|
3403
3295
|
},
|
|
3404
3296
|
{
|
|
@@ -3513,113 +3405,122 @@
|
|
|
3513
3405
|
}
|
|
3514
3406
|
}
|
|
3515
3407
|
],
|
|
3516
|
-
"
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
"name": "change",
|
|
3520
|
-
"inheritedFrom": {
|
|
3521
|
-
"name": "Accordion",
|
|
3522
|
-
"module": "src/accordion/accordion.ts"
|
|
3523
|
-
}
|
|
3524
|
-
}
|
|
3525
|
-
]
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"kind": "variable",
|
|
3529
|
-
"name": "foundationAccordionShadowOptions",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "ShadowRootInit"
|
|
3532
|
-
},
|
|
3533
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "variable",
|
|
3537
|
-
"name": "defaultAccordionConfig",
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "object"
|
|
3408
|
+
"superclass": {
|
|
3409
|
+
"name": "FoundationElement",
|
|
3410
|
+
"package": "@microsoft/fast-foundation"
|
|
3540
3411
|
},
|
|
3541
|
-
"
|
|
3412
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3413
|
+
"customElement": true
|
|
3542
3414
|
},
|
|
3543
3415
|
{
|
|
3544
3416
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3417
|
+
"name": "foundationAiIndicator"
|
|
3548
3418
|
}
|
|
3549
3419
|
],
|
|
3550
3420
|
"exports": [
|
|
3551
3421
|
{
|
|
3552
3422
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3423
|
+
"name": "AiIndicator",
|
|
3554
3424
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3425
|
+
"name": "AiIndicator",
|
|
3426
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3557
3427
|
}
|
|
3558
3428
|
},
|
|
3559
3429
|
{
|
|
3560
3430
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3431
|
+
"name": "foundationAiIndicator",
|
|
3562
3432
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3433
|
+
"name": "foundationAiIndicator",
|
|
3434
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
]
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"kind": "javascript-module",
|
|
3441
|
+
"path": "src/ai-indicator/index.ts",
|
|
3442
|
+
"declarations": [],
|
|
3443
|
+
"exports": [
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "js",
|
|
3446
|
+
"name": "AiIndicator",
|
|
3447
|
+
"declaration": {
|
|
3448
|
+
"name": "AiIndicator",
|
|
3449
|
+
"module": "./ai-indicator"
|
|
3565
3450
|
}
|
|
3566
3451
|
},
|
|
3567
3452
|
{
|
|
3568
3453
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3454
|
+
"name": "foundationAiIndicator",
|
|
3570
3455
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "
|
|
3456
|
+
"name": "foundationAiIndicator",
|
|
3457
|
+
"module": "./ai-indicator"
|
|
3573
3458
|
}
|
|
3574
3459
|
},
|
|
3575
3460
|
{
|
|
3576
3461
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3462
|
+
"name": "type",
|
|
3578
3463
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "
|
|
3464
|
+
"name": "type",
|
|
3465
|
+
"module": "./ai-indicator"
|
|
3581
3466
|
}
|
|
3582
|
-
}
|
|
3583
|
-
]
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/accordion/index.ts",
|
|
3588
|
-
"declarations": [],
|
|
3589
|
-
"exports": [
|
|
3467
|
+
},
|
|
3590
3468
|
{
|
|
3591
3469
|
"kind": "js",
|
|
3592
|
-
"name": "
|
|
3470
|
+
"name": "AIIndicatorState",
|
|
3593
3471
|
"declaration": {
|
|
3594
|
-
"name": "
|
|
3595
|
-
"
|
|
3472
|
+
"name": "AIIndicatorState",
|
|
3473
|
+
"module": "./ai-indicator"
|
|
3596
3474
|
}
|
|
3597
3475
|
},
|
|
3598
3476
|
{
|
|
3599
3477
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3478
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3601
3479
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3480
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3481
|
+
"module": "./ai-indicator.template"
|
|
3604
3482
|
}
|
|
3605
3483
|
},
|
|
3606
3484
|
{
|
|
3607
3485
|
"kind": "js",
|
|
3608
|
-
"name": "
|
|
3486
|
+
"name": "foundationAiIndicatorStyles",
|
|
3609
3487
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"
|
|
3488
|
+
"name": "foundationAiIndicatorStyles",
|
|
3489
|
+
"module": "./ai-indicator.styles"
|
|
3612
3490
|
}
|
|
3613
3491
|
}
|
|
3614
3492
|
]
|
|
3615
3493
|
},
|
|
3616
3494
|
{
|
|
3617
3495
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/
|
|
3496
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3619
3497
|
"declarations": [
|
|
3620
3498
|
{
|
|
3621
3499
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3500
|
+
"name": "actionsMenuBaseStyles",
|
|
3501
|
+
"return": {
|
|
3502
|
+
"type": {
|
|
3503
|
+
"text": "ElementStyles"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
"parameters": [
|
|
3507
|
+
{
|
|
3508
|
+
"name": "context",
|
|
3509
|
+
"type": {
|
|
3510
|
+
"text": "ElementDefinitionContext"
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"name": "definition",
|
|
3515
|
+
"type": {
|
|
3516
|
+
"text": "FoundationElementDefinition"
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
]
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"kind": "function",
|
|
3523
|
+
"name": "foundationActionsMenuStyles",
|
|
3623
3524
|
"return": {
|
|
3624
3525
|
"type": {
|
|
3625
3526
|
"text": "ElementStyles"
|
|
@@ -3644,71 +3545,147 @@
|
|
|
3644
3545
|
"exports": [
|
|
3645
3546
|
{
|
|
3646
3547
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3548
|
+
"name": "actionsMenuBaseStyles",
|
|
3648
3549
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/
|
|
3550
|
+
"name": "actionsMenuBaseStyles",
|
|
3551
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3552
|
+
}
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"kind": "js",
|
|
3556
|
+
"name": "foundationActionsMenuStyles",
|
|
3557
|
+
"declaration": {
|
|
3558
|
+
"name": "foundationActionsMenuStyles",
|
|
3559
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3651
3560
|
}
|
|
3652
3561
|
}
|
|
3653
3562
|
]
|
|
3654
3563
|
},
|
|
3655
3564
|
{
|
|
3656
3565
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/
|
|
3566
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3658
3567
|
"declarations": [
|
|
3568
|
+
{
|
|
3569
|
+
"kind": "function",
|
|
3570
|
+
"name": "menuTemplate",
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "prefix",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
]
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
"kind": "function",
|
|
3582
|
+
"name": "singleOptionTemplate",
|
|
3583
|
+
"parameters": [
|
|
3584
|
+
{
|
|
3585
|
+
"name": "prefix",
|
|
3586
|
+
"type": {
|
|
3587
|
+
"text": "string"
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
]
|
|
3591
|
+
},
|
|
3659
3592
|
{
|
|
3660
3593
|
"kind": "variable",
|
|
3661
|
-
"name": "
|
|
3594
|
+
"name": "foundationActionsMenuTemplate",
|
|
3662
3595
|
"type": {
|
|
3663
|
-
"text": "ViewTemplate<
|
|
3596
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3664
3597
|
},
|
|
3665
|
-
"default": "html`\n ${(x) =>
|
|
3598
|
+
"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`"
|
|
3666
3599
|
}
|
|
3667
3600
|
],
|
|
3668
3601
|
"exports": [
|
|
3669
3602
|
{
|
|
3670
3603
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
3604
|
+
"name": "menuTemplate",
|
|
3672
3605
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/
|
|
3606
|
+
"name": "menuTemplate",
|
|
3607
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3608
|
+
}
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"kind": "js",
|
|
3612
|
+
"name": "singleOptionTemplate",
|
|
3613
|
+
"declaration": {
|
|
3614
|
+
"name": "singleOptionTemplate",
|
|
3615
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3616
|
+
}
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"kind": "js",
|
|
3620
|
+
"name": "foundationActionsMenuTemplate",
|
|
3621
|
+
"declaration": {
|
|
3622
|
+
"name": "foundationActionsMenuTemplate",
|
|
3623
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3675
3624
|
}
|
|
3676
3625
|
}
|
|
3677
3626
|
]
|
|
3678
3627
|
},
|
|
3679
3628
|
{
|
|
3680
3629
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/
|
|
3630
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3682
3631
|
"declarations": [
|
|
3683
3632
|
{
|
|
3684
3633
|
"kind": "class",
|
|
3685
3634
|
"description": "",
|
|
3686
|
-
"name": "
|
|
3635
|
+
"name": "ActionsMenu",
|
|
3687
3636
|
"members": [
|
|
3688
3637
|
{
|
|
3689
3638
|
"kind": "field",
|
|
3690
|
-
"name": "
|
|
3639
|
+
"name": "actions",
|
|
3691
3640
|
"type": {
|
|
3692
|
-
"text": "
|
|
3641
|
+
"text": "ActionMenuItem[]"
|
|
3693
3642
|
}
|
|
3694
3643
|
},
|
|
3695
3644
|
{
|
|
3696
3645
|
"kind": "field",
|
|
3697
|
-
"name": "
|
|
3646
|
+
"name": "isVertical",
|
|
3698
3647
|
"type": {
|
|
3699
|
-
"text": "
|
|
3648
|
+
"text": "boolean"
|
|
3700
3649
|
},
|
|
3701
|
-
"
|
|
3702
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
-
"readonly": true
|
|
3650
|
+
"default": "false"
|
|
3704
3651
|
},
|
|
3705
3652
|
{
|
|
3706
3653
|
"kind": "field",
|
|
3707
|
-
"name": "
|
|
3654
|
+
"name": "addDefaultActions",
|
|
3708
3655
|
"type": {
|
|
3709
|
-
"text": "
|
|
3656
|
+
"text": "boolean"
|
|
3710
3657
|
},
|
|
3711
|
-
"default": "
|
|
3658
|
+
"default": "true"
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"kind": "field",
|
|
3662
|
+
"name": "autoCloseOnAction",
|
|
3663
|
+
"type": {
|
|
3664
|
+
"text": "boolean"
|
|
3665
|
+
},
|
|
3666
|
+
"default": "true"
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "field",
|
|
3670
|
+
"name": "classNames",
|
|
3671
|
+
"type": {
|
|
3672
|
+
"text": "string"
|
|
3673
|
+
}
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
"kind": "field",
|
|
3677
|
+
"name": "definition",
|
|
3678
|
+
"type": {
|
|
3679
|
+
"text": "any"
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
"kind": "field",
|
|
3684
|
+
"name": "name",
|
|
3685
|
+
"type": {
|
|
3686
|
+
"text": "string"
|
|
3687
|
+
},
|
|
3688
|
+
"default": "'Actions'"
|
|
3712
3689
|
},
|
|
3713
3690
|
{
|
|
3714
3691
|
"kind": "field",
|
|
@@ -3720,15 +3697,14 @@
|
|
|
3720
3697
|
},
|
|
3721
3698
|
{
|
|
3722
3699
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3700
|
+
"name": "buttonAppearance",
|
|
3724
3701
|
"type": {
|
|
3725
|
-
"text": "
|
|
3726
|
-
}
|
|
3727
|
-
"default": "'none'"
|
|
3702
|
+
"text": "string"
|
|
3703
|
+
}
|
|
3728
3704
|
},
|
|
3729
3705
|
{
|
|
3730
3706
|
"kind": "field",
|
|
3731
|
-
"name": "
|
|
3707
|
+
"name": "hideDisabled",
|
|
3732
3708
|
"type": {
|
|
3733
3709
|
"text": "boolean"
|
|
3734
3710
|
},
|
|
@@ -3736,133 +3712,114 @@
|
|
|
3736
3712
|
},
|
|
3737
3713
|
{
|
|
3738
3714
|
"kind": "field",
|
|
3739
|
-
"name": "
|
|
3715
|
+
"name": "hideMenuSingleOption",
|
|
3740
3716
|
"type": {
|
|
3741
|
-
"text": "
|
|
3717
|
+
"text": "boolean"
|
|
3742
3718
|
},
|
|
3743
|
-
"
|
|
3744
|
-
"default": "null"
|
|
3745
|
-
},
|
|
3746
|
-
{
|
|
3747
|
-
"kind": "field",
|
|
3748
|
-
"name": "clickOutside",
|
|
3749
|
-
"privacy": "private"
|
|
3719
|
+
"default": "false"
|
|
3750
3720
|
},
|
|
3751
3721
|
{
|
|
3752
3722
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3723
|
+
"name": "singleOption",
|
|
3754
3724
|
"type": {
|
|
3755
|
-
"text": "
|
|
3756
|
-
}
|
|
3757
|
-
"readonly": true
|
|
3725
|
+
"text": "ActionMenuItem"
|
|
3726
|
+
}
|
|
3758
3727
|
},
|
|
3759
3728
|
{
|
|
3760
3729
|
"kind": "field",
|
|
3761
|
-
"name": "
|
|
3730
|
+
"name": "actionsMenu",
|
|
3762
3731
|
"type": {
|
|
3763
|
-
"text": "
|
|
3764
|
-
}
|
|
3765
|
-
"readonly": true
|
|
3732
|
+
"text": "HTMLElement"
|
|
3733
|
+
}
|
|
3766
3734
|
},
|
|
3767
3735
|
{
|
|
3768
3736
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3737
|
+
"name": "actionsOpener",
|
|
3770
3738
|
"type": {
|
|
3771
|
-
"text": "
|
|
3772
|
-
}
|
|
3773
|
-
"readonly": true
|
|
3739
|
+
"text": "HTMLElement"
|
|
3740
|
+
}
|
|
3774
3741
|
},
|
|
3775
3742
|
{
|
|
3776
3743
|
"kind": "method",
|
|
3777
|
-
"name": "
|
|
3778
|
-
"
|
|
3779
|
-
"type": {
|
|
3780
|
-
"text": "void"
|
|
3781
|
-
}
|
|
3782
|
-
}
|
|
3744
|
+
"name": "updateMenuPosition",
|
|
3745
|
+
"privacy": "private"
|
|
3783
3746
|
},
|
|
3784
3747
|
{
|
|
3785
3748
|
"kind": "method",
|
|
3786
|
-
"name": "
|
|
3787
|
-
"privacy": "
|
|
3749
|
+
"name": "definitionChanged",
|
|
3750
|
+
"privacy": "protected",
|
|
3788
3751
|
"parameters": [
|
|
3789
3752
|
{
|
|
3790
|
-
"name": "
|
|
3753
|
+
"name": "oldValue",
|
|
3791
3754
|
"type": {
|
|
3792
|
-
"text": "
|
|
3755
|
+
"text": "any"
|
|
3756
|
+
}
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"name": "newValue",
|
|
3760
|
+
"type": {
|
|
3761
|
+
"text": "any"
|
|
3793
3762
|
}
|
|
3794
3763
|
}
|
|
3795
3764
|
]
|
|
3796
3765
|
},
|
|
3797
3766
|
{
|
|
3798
3767
|
"kind": "method",
|
|
3799
|
-
"name": "
|
|
3768
|
+
"name": "openChanged",
|
|
3769
|
+
"privacy": "protected"
|
|
3800
3770
|
},
|
|
3801
3771
|
{
|
|
3802
3772
|
"kind": "method",
|
|
3803
|
-
"name": "
|
|
3804
|
-
"return": {
|
|
3805
|
-
"type": {
|
|
3806
|
-
"text": "Promise<void>"
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3773
|
+
"name": "toggleActionsMenuVisibility"
|
|
3809
3774
|
},
|
|
3810
3775
|
{
|
|
3811
3776
|
"kind": "method",
|
|
3812
|
-
"name": "
|
|
3813
|
-
"privacy": "private",
|
|
3814
|
-
"return": {
|
|
3815
|
-
"type": {
|
|
3816
|
-
"text": "AIIndicatorState"
|
|
3817
|
-
}
|
|
3818
|
-
},
|
|
3777
|
+
"name": "onActionMenuItemClick",
|
|
3819
3778
|
"parameters": [
|
|
3820
3779
|
{
|
|
3821
|
-
"name": "
|
|
3780
|
+
"name": "callback",
|
|
3822
3781
|
"type": {
|
|
3823
|
-
"text": "
|
|
3782
|
+
"text": "(rowData) => void | any"
|
|
3824
3783
|
}
|
|
3825
3784
|
}
|
|
3826
3785
|
]
|
|
3827
3786
|
},
|
|
3828
3787
|
{
|
|
3829
|
-
"kind": "
|
|
3830
|
-
"name": "
|
|
3831
|
-
"
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3788
|
+
"kind": "field",
|
|
3789
|
+
"name": "allActions",
|
|
3790
|
+
"type": {
|
|
3791
|
+
"text": "ActionMenuItem[]"
|
|
3792
|
+
},
|
|
3793
|
+
"readonly": true
|
|
3837
3794
|
},
|
|
3838
3795
|
{
|
|
3839
|
-
"kind": "
|
|
3840
|
-
"name": "
|
|
3841
|
-
"
|
|
3842
|
-
"return": {
|
|
3843
|
-
"type": {
|
|
3844
|
-
"text": "void"
|
|
3845
|
-
}
|
|
3846
|
-
}
|
|
3796
|
+
"kind": "field",
|
|
3797
|
+
"name": "rowData",
|
|
3798
|
+
"readonly": true
|
|
3847
3799
|
},
|
|
3848
3800
|
{
|
|
3849
3801
|
"kind": "method",
|
|
3850
|
-
"name": "
|
|
3851
|
-
"
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
"
|
|
3802
|
+
"name": "getLabel",
|
|
3803
|
+
"parameters": [
|
|
3804
|
+
{
|
|
3805
|
+
"name": "name",
|
|
3806
|
+
"type": {
|
|
3807
|
+
"text": "string | ((rowData: any) => string)"
|
|
3808
|
+
}
|
|
3855
3809
|
}
|
|
3856
|
-
|
|
3810
|
+
]
|
|
3857
3811
|
},
|
|
3858
3812
|
{
|
|
3859
3813
|
"kind": "method",
|
|
3860
|
-
"name": "
|
|
3861
|
-
"
|
|
3862
|
-
|
|
3863
|
-
"
|
|
3814
|
+
"name": "getTemplate",
|
|
3815
|
+
"parameters": [
|
|
3816
|
+
{
|
|
3817
|
+
"name": "prefix",
|
|
3818
|
+
"type": {
|
|
3819
|
+
"text": "string"
|
|
3820
|
+
}
|
|
3864
3821
|
}
|
|
3865
|
-
|
|
3822
|
+
]
|
|
3866
3823
|
},
|
|
3867
3824
|
{
|
|
3868
3825
|
"kind": "field",
|
|
@@ -3976,88 +3933,131 @@
|
|
|
3976
3933
|
}
|
|
3977
3934
|
}
|
|
3978
3935
|
],
|
|
3936
|
+
"attributes": [
|
|
3937
|
+
{
|
|
3938
|
+
"name": "is-vertical",
|
|
3939
|
+
"type": {
|
|
3940
|
+
"text": "boolean"
|
|
3941
|
+
},
|
|
3942
|
+
"default": "false",
|
|
3943
|
+
"fieldName": "isVertical"
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"name": "add-default-actions",
|
|
3947
|
+
"type": {
|
|
3948
|
+
"text": "boolean"
|
|
3949
|
+
},
|
|
3950
|
+
"default": "true",
|
|
3951
|
+
"fieldName": "addDefaultActions"
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"name": "auto-close-on-action",
|
|
3955
|
+
"type": {
|
|
3956
|
+
"text": "boolean"
|
|
3957
|
+
},
|
|
3958
|
+
"default": "true",
|
|
3959
|
+
"fieldName": "autoCloseOnAction"
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"name": "name",
|
|
3963
|
+
"type": {
|
|
3964
|
+
"text": "string"
|
|
3965
|
+
},
|
|
3966
|
+
"default": "'Actions'",
|
|
3967
|
+
"fieldName": "name"
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"name": "open",
|
|
3971
|
+
"type": {
|
|
3972
|
+
"text": "boolean"
|
|
3973
|
+
},
|
|
3974
|
+
"default": "false",
|
|
3975
|
+
"fieldName": "open"
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
"name": "buttonAppearance",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "string"
|
|
3981
|
+
},
|
|
3982
|
+
"fieldName": "buttonAppearance"
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"name": "hide-disabled",
|
|
3986
|
+
"type": {
|
|
3987
|
+
"text": "boolean"
|
|
3988
|
+
},
|
|
3989
|
+
"default": "false",
|
|
3990
|
+
"fieldName": "hideDisabled"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"name": "hide-menu-single-option",
|
|
3994
|
+
"type": {
|
|
3995
|
+
"text": "boolean"
|
|
3996
|
+
},
|
|
3997
|
+
"default": "false",
|
|
3998
|
+
"fieldName": "hideMenuSingleOption"
|
|
3999
|
+
}
|
|
4000
|
+
],
|
|
3979
4001
|
"superclass": {
|
|
3980
4002
|
"name": "FoundationElement",
|
|
3981
4003
|
"package": "@microsoft/fast-foundation"
|
|
3982
4004
|
},
|
|
3983
|
-
"tagName": "%%prefix%%-
|
|
4005
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3984
4006
|
"customElement": true
|
|
3985
4007
|
},
|
|
3986
4008
|
{
|
|
3987
4009
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
4010
|
+
"name": "foundationActionsMenu",
|
|
4011
|
+
"description": "The Foundation Actions Menu",
|
|
4012
|
+
"privacy": "public"
|
|
3989
4013
|
}
|
|
3990
4014
|
],
|
|
3991
4015
|
"exports": [
|
|
3992
4016
|
{
|
|
3993
4017
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
4018
|
+
"name": "ActionsMenu",
|
|
3995
4019
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/
|
|
4020
|
+
"name": "ActionsMenu",
|
|
4021
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3998
4022
|
}
|
|
3999
4023
|
},
|
|
4000
4024
|
{
|
|
4001
4025
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
4026
|
+
"name": "foundationActionsMenu",
|
|
4003
4027
|
"declaration": {
|
|
4004
|
-
"name": "
|
|
4005
|
-
"module": "src/
|
|
4028
|
+
"name": "foundationActionsMenu",
|
|
4029
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
4006
4030
|
}
|
|
4007
4031
|
}
|
|
4008
4032
|
]
|
|
4009
4033
|
},
|
|
4010
4034
|
{
|
|
4011
4035
|
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/
|
|
4036
|
+
"path": "src/actions-menu/index.ts",
|
|
4013
4037
|
"declarations": [],
|
|
4014
4038
|
"exports": [
|
|
4015
4039
|
{
|
|
4016
4040
|
"kind": "js",
|
|
4017
|
-
"name": "
|
|
4018
|
-
"declaration": {
|
|
4019
|
-
"name": "AiIndicator",
|
|
4020
|
-
"module": "./ai-indicator"
|
|
4021
|
-
}
|
|
4022
|
-
},
|
|
4023
|
-
{
|
|
4024
|
-
"kind": "js",
|
|
4025
|
-
"name": "foundationAiIndicator",
|
|
4026
|
-
"declaration": {
|
|
4027
|
-
"name": "foundationAiIndicator",
|
|
4028
|
-
"module": "./ai-indicator"
|
|
4029
|
-
}
|
|
4030
|
-
},
|
|
4031
|
-
{
|
|
4032
|
-
"kind": "js",
|
|
4033
|
-
"name": "type",
|
|
4034
|
-
"declaration": {
|
|
4035
|
-
"name": "type",
|
|
4036
|
-
"module": "./ai-indicator"
|
|
4037
|
-
}
|
|
4038
|
-
},
|
|
4039
|
-
{
|
|
4040
|
-
"kind": "js",
|
|
4041
|
-
"name": "AIIndicatorState",
|
|
4041
|
+
"name": "*",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./actions-menu.styles"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "*",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./actions-menu.template"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "*",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./actions-menu"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|