@genesislcap/foundation-ui 15.84.0 → 15.84.2-GENC-1737.1
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 +1362 -1362
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +9 -9
- package/package.json +17 -17
|
@@ -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-item/accordion-item.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
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": "foundationAccordionItemStyles",
|
|
1528
1559
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1531
1562
|
}
|
|
1532
1563
|
}
|
|
1533
1564
|
]
|
|
1534
1565
|
},
|
|
1535
1566
|
{
|
|
1536
1567
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1538
1569
|
"declarations": [
|
|
1539
1570
|
{
|
|
1540
1571
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1542
1573
|
"return": {
|
|
1543
1574
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1545
1576
|
}
|
|
1546
1577
|
},
|
|
1547
1578
|
"parameters": [
|
|
@@ -1563,365 +1594,244 @@
|
|
|
1563
1594
|
"exports": [
|
|
1564
1595
|
{
|
|
1565
1596
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1567
1598
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1570
1601
|
}
|
|
1571
1602
|
}
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
1605
|
{
|
|
1575
1606
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion/accordion.ts",
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1577
1608
|
"declarations": [
|
|
1578
1609
|
{
|
|
1579
1610
|
"kind": "class",
|
|
1580
1611
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1612
|
+
"name": "AccordionItem",
|
|
1582
1613
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1585
1616
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion",
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1587
1618
|
"customElement": true,
|
|
1588
1619
|
"attributes": [
|
|
1589
1620
|
{
|
|
1590
|
-
"name": "
|
|
1621
|
+
"name": "heading-level",
|
|
1591
1622
|
"type": {
|
|
1592
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1593
1624
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1596
1628
|
"inheritedFrom": {
|
|
1597
|
-
"name": "
|
|
1598
|
-
"module": "src/accordion/accordion.ts"
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": "boolean"
|
|
1636
|
+
},
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "id",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1599
1655
|
}
|
|
1600
1656
|
}
|
|
1601
1657
|
],
|
|
1602
1658
|
"members": [
|
|
1603
1659
|
{
|
|
1604
1660
|
"kind": "field",
|
|
1605
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1606
1662
|
"type": {
|
|
1607
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1608
1664
|
},
|
|
1609
1665
|
"privacy": "public",
|
|
1610
|
-
"
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1611
1668
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion/accordion.ts"
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1614
1671
|
}
|
|
1615
1672
|
},
|
|
1616
1673
|
{
|
|
1617
1674
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1619
1676
|
"type": {
|
|
1620
|
-
"text": "
|
|
1677
|
+
"text": "boolean"
|
|
1621
1678
|
},
|
|
1622
|
-
"privacy": "
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1623
1682
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1626
1685
|
}
|
|
1627
1686
|
},
|
|
1628
1687
|
{
|
|
1629
1688
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1631
1690
|
"type": {
|
|
1632
|
-
"text": "
|
|
1691
|
+
"text": "string"
|
|
1633
1692
|
},
|
|
1634
|
-
"privacy": "
|
|
1635
|
-
"
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1636
1695
|
"inheritedFrom": {
|
|
1637
|
-
"name": "
|
|
1638
|
-
"module": "src/accordion/accordion.ts"
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1639
1698
|
}
|
|
1640
1699
|
},
|
|
1641
1700
|
{
|
|
1642
1701
|
"kind": "field",
|
|
1643
|
-
"name": "
|
|
1644
|
-
"type": {
|
|
1645
|
-
"text": "Array<string | null>"
|
|
1646
|
-
},
|
|
1702
|
+
"name": "change",
|
|
1647
1703
|
"privacy": "private",
|
|
1648
1704
|
"inheritedFrom": {
|
|
1649
|
-
"name": "
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1651
1707
|
}
|
|
1652
1708
|
},
|
|
1653
1709
|
{
|
|
1654
1710
|
"kind": "field",
|
|
1655
|
-
"name": "
|
|
1711
|
+
"name": "_presentation",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1714
|
+
},
|
|
1656
1715
|
"privacy": "private",
|
|
1716
|
+
"default": "void 0",
|
|
1657
1717
|
"inheritedFrom": {
|
|
1658
|
-
"name": "
|
|
1659
|
-
"module": "src/
|
|
1718
|
+
"name": "FoundationElement",
|
|
1719
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1660
1720
|
}
|
|
1661
1721
|
},
|
|
1662
1722
|
{
|
|
1663
|
-
"kind": "
|
|
1664
|
-
"name": "
|
|
1665
|
-
"
|
|
1666
|
-
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "AccordionItem | null"
|
|
1669
|
-
}
|
|
1723
|
+
"kind": "field",
|
|
1724
|
+
"name": "$presentation",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "ComponentPresentation | null"
|
|
1670
1727
|
},
|
|
1728
|
+
"privacy": "public",
|
|
1729
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1671
1730
|
"inheritedFrom": {
|
|
1672
|
-
"name": "
|
|
1673
|
-
"module": "src/
|
|
1731
|
+
"name": "FoundationElement",
|
|
1732
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1674
1733
|
}
|
|
1675
1734
|
},
|
|
1676
1735
|
{
|
|
1677
1736
|
"kind": "field",
|
|
1678
|
-
"name": "
|
|
1679
|
-
"
|
|
1737
|
+
"name": "template",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "ElementViewTemplate | void | null"
|
|
1740
|
+
},
|
|
1741
|
+
"privacy": "public",
|
|
1742
|
+
"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.",
|
|
1680
1743
|
"inheritedFrom": {
|
|
1681
|
-
"name": "
|
|
1682
|
-
"module": "src/
|
|
1744
|
+
"name": "FoundationElement",
|
|
1745
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1683
1746
|
}
|
|
1684
1747
|
},
|
|
1685
1748
|
{
|
|
1686
1749
|
"kind": "method",
|
|
1687
|
-
"name": "
|
|
1688
|
-
"privacy": "
|
|
1750
|
+
"name": "templateChanged",
|
|
1751
|
+
"privacy": "protected",
|
|
1689
1752
|
"return": {
|
|
1690
1753
|
"type": {
|
|
1691
1754
|
"text": "void"
|
|
1692
1755
|
}
|
|
1693
1756
|
},
|
|
1694
1757
|
"inheritedFrom": {
|
|
1695
|
-
"name": "
|
|
1696
|
-
"module": "src/
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"kind": "field",
|
|
1701
|
-
"name": "removeItemListeners",
|
|
1702
|
-
"privacy": "private",
|
|
1703
|
-
"inheritedFrom": {
|
|
1704
|
-
"name": "Accordion",
|
|
1705
|
-
"module": "src/accordion/accordion.ts"
|
|
1758
|
+
"name": "FoundationElement",
|
|
1759
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1706
1760
|
}
|
|
1707
1761
|
},
|
|
1708
1762
|
{
|
|
1709
1763
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1711
|
-
"
|
|
1764
|
+
"name": "styles",
|
|
1765
|
+
"type": {
|
|
1766
|
+
"text": "ElementStyles | void | null"
|
|
1767
|
+
},
|
|
1768
|
+
"privacy": "public",
|
|
1769
|
+
"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.",
|
|
1712
1770
|
"inheritedFrom": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "src/
|
|
1771
|
+
"name": "FoundationElement",
|
|
1772
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
1773
|
}
|
|
1716
1774
|
},
|
|
1717
1775
|
{
|
|
1718
1776
|
"kind": "method",
|
|
1719
|
-
"name": "
|
|
1720
|
-
"privacy": "
|
|
1777
|
+
"name": "stylesChanged",
|
|
1778
|
+
"privacy": "protected",
|
|
1721
1779
|
"return": {
|
|
1722
1780
|
"type": {
|
|
1723
|
-
"text": "
|
|
1781
|
+
"text": "void"
|
|
1724
1782
|
}
|
|
1725
1783
|
},
|
|
1726
1784
|
"inheritedFrom": {
|
|
1727
|
-
"name": "
|
|
1728
|
-
"module": "src/
|
|
1785
|
+
"name": "FoundationElement",
|
|
1786
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1729
1787
|
}
|
|
1730
1788
|
},
|
|
1731
1789
|
{
|
|
1732
1790
|
"kind": "method",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"privacy": "
|
|
1791
|
+
"name": "compose",
|
|
1792
|
+
"privacy": "public",
|
|
1793
|
+
"static": true,
|
|
1735
1794
|
"return": {
|
|
1736
1795
|
"type": {
|
|
1737
|
-
"text": "
|
|
1796
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1738
1797
|
}
|
|
1739
1798
|
},
|
|
1799
|
+
"parameters": [
|
|
1800
|
+
{
|
|
1801
|
+
"name": "this",
|
|
1802
|
+
"type": {
|
|
1803
|
+
"text": "K"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "elementDefinition",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "T"
|
|
1810
|
+
},
|
|
1811
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1814
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1740
1815
|
"inheritedFrom": {
|
|
1741
|
-
"name": "
|
|
1742
|
-
"module": "src/
|
|
1816
|
+
"name": "FoundationElement",
|
|
1817
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1743
1818
|
}
|
|
1744
|
-
}
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"events": [
|
|
1745
1822
|
{
|
|
1746
|
-
"
|
|
1747
|
-
"name": "handleItemKeyDown",
|
|
1748
|
-
"privacy": "private",
|
|
1749
|
-
"inheritedFrom": {
|
|
1750
|
-
"name": "Accordion",
|
|
1751
|
-
"module": "src/accordion/accordion.ts"
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "handleItemFocus",
|
|
1757
|
-
"privacy": "private",
|
|
1758
|
-
"inheritedFrom": {
|
|
1759
|
-
"name": "Accordion",
|
|
1760
|
-
"module": "src/accordion/accordion.ts"
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"kind": "method",
|
|
1765
|
-
"name": "adjust",
|
|
1766
|
-
"privacy": "private",
|
|
1767
|
-
"return": {
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "void"
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
"parameters": [
|
|
1773
|
-
{
|
|
1774
|
-
"name": "adjustment",
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "number"
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
],
|
|
1780
|
-
"inheritedFrom": {
|
|
1781
|
-
"name": "Accordion",
|
|
1782
|
-
"module": "src/accordion/accordion.ts"
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "method",
|
|
1787
|
-
"name": "focusItem",
|
|
1788
|
-
"privacy": "private",
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "void"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
"inheritedFrom": {
|
|
1795
|
-
"name": "Accordion",
|
|
1796
|
-
"module": "src/accordion/accordion.ts"
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "field",
|
|
1801
|
-
"name": "_presentation",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1804
|
-
},
|
|
1805
|
-
"privacy": "private",
|
|
1806
|
-
"default": "void 0",
|
|
1807
|
-
"inheritedFrom": {
|
|
1808
|
-
"name": "FoundationElement",
|
|
1809
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"kind": "field",
|
|
1814
|
-
"name": "$presentation",
|
|
1815
|
-
"type": {
|
|
1816
|
-
"text": "ComponentPresentation | null"
|
|
1817
|
-
},
|
|
1818
|
-
"privacy": "public",
|
|
1819
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1820
|
-
"inheritedFrom": {
|
|
1821
|
-
"name": "FoundationElement",
|
|
1822
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"kind": "field",
|
|
1827
|
-
"name": "template",
|
|
1828
|
-
"type": {
|
|
1829
|
-
"text": "ElementViewTemplate | void | null"
|
|
1830
|
-
},
|
|
1831
|
-
"privacy": "public",
|
|
1832
|
-
"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.",
|
|
1833
|
-
"inheritedFrom": {
|
|
1834
|
-
"name": "FoundationElement",
|
|
1835
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "method",
|
|
1840
|
-
"name": "templateChanged",
|
|
1841
|
-
"privacy": "protected",
|
|
1842
|
-
"return": {
|
|
1843
|
-
"type": {
|
|
1844
|
-
"text": "void"
|
|
1845
|
-
}
|
|
1846
|
-
},
|
|
1847
|
-
"inheritedFrom": {
|
|
1848
|
-
"name": "FoundationElement",
|
|
1849
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"kind": "field",
|
|
1854
|
-
"name": "styles",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "ElementStyles | void | null"
|
|
1857
|
-
},
|
|
1858
|
-
"privacy": "public",
|
|
1859
|
-
"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.",
|
|
1860
|
-
"inheritedFrom": {
|
|
1861
|
-
"name": "FoundationElement",
|
|
1862
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"kind": "method",
|
|
1867
|
-
"name": "stylesChanged",
|
|
1868
|
-
"privacy": "protected",
|
|
1869
|
-
"return": {
|
|
1870
|
-
"type": {
|
|
1871
|
-
"text": "void"
|
|
1872
|
-
}
|
|
1873
|
-
},
|
|
1874
|
-
"inheritedFrom": {
|
|
1875
|
-
"name": "FoundationElement",
|
|
1876
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"kind": "method",
|
|
1881
|
-
"name": "compose",
|
|
1882
|
-
"privacy": "public",
|
|
1883
|
-
"static": true,
|
|
1884
|
-
"return": {
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1887
|
-
}
|
|
1888
|
-
},
|
|
1889
|
-
"parameters": [
|
|
1890
|
-
{
|
|
1891
|
-
"name": "this",
|
|
1892
|
-
"type": {
|
|
1893
|
-
"text": "K"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"name": "elementDefinition",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "T"
|
|
1900
|
-
},
|
|
1901
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1902
|
-
}
|
|
1903
|
-
],
|
|
1904
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1905
|
-
"inheritedFrom": {
|
|
1906
|
-
"name": "FoundationElement",
|
|
1907
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
],
|
|
1911
|
-
"events": [
|
|
1912
|
-
{
|
|
1913
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1914
1824
|
"name": "change",
|
|
1915
1825
|
"inheritedFrom": {
|
|
1916
|
-
"name": "
|
|
1917
|
-
"module": "src/accordion/accordion.ts"
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1918
1828
|
}
|
|
1919
1829
|
}
|
|
1920
1830
|
]
|
|
1921
1831
|
},
|
|
1922
1832
|
{
|
|
1923
1833
|
"kind": "variable",
|
|
1924
|
-
"name": "
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1925
1835
|
"type": {
|
|
1926
1836
|
"text": "ShadowRootInit"
|
|
1927
1837
|
},
|
|
@@ -1929,88 +1839,57 @@
|
|
|
1929
1839
|
},
|
|
1930
1840
|
{
|
|
1931
1841
|
"kind": "variable",
|
|
1932
|
-
"name": "
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1933
1843
|
"type": {
|
|
1934
1844
|
"text": "object"
|
|
1935
1845
|
},
|
|
1936
|
-
"default": "{}"
|
|
1846
|
+
"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}"
|
|
1937
1847
|
},
|
|
1938
1848
|
{
|
|
1939
1849
|
"kind": "variable",
|
|
1940
|
-
"name": "
|
|
1941
|
-
"description": "The Foundation Accordion",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
1942
1852
|
"privacy": "public"
|
|
1943
1853
|
}
|
|
1944
1854
|
],
|
|
1945
1855
|
"exports": [
|
|
1946
1856
|
{
|
|
1947
1857
|
"kind": "js",
|
|
1948
|
-
"name": "
|
|
1949
|
-
"declaration": {
|
|
1950
|
-
"name": "Accordion",
|
|
1951
|
-
"module": "src/accordion/accordion.ts"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"kind": "js",
|
|
1956
|
-
"name": "foundationAccordionShadowOptions",
|
|
1957
|
-
"declaration": {
|
|
1958
|
-
"name": "foundationAccordionShadowOptions",
|
|
1959
|
-
"module": "src/accordion/accordion.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"kind": "js",
|
|
1964
|
-
"name": "defaultAccordionConfig",
|
|
1858
|
+
"name": "AccordionItem",
|
|
1965
1859
|
"declaration": {
|
|
1966
|
-
"name": "
|
|
1967
|
-
"module": "src/accordion/accordion.ts"
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1968
1862
|
}
|
|
1969
1863
|
},
|
|
1970
1864
|
{
|
|
1971
1865
|
"kind": "js",
|
|
1972
|
-
"name": "
|
|
1973
|
-
"declaration": {
|
|
1974
|
-
"name": "foundationAccordion",
|
|
1975
|
-
"module": "src/accordion/accordion.ts"
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
]
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/accordion/index.ts",
|
|
1983
|
-
"declarations": [],
|
|
1984
|
-
"exports": [
|
|
1985
|
-
{
|
|
1986
|
-
"kind": "js",
|
|
1987
|
-
"name": "*",
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1988
1867
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1870
|
}
|
|
1992
1871
|
},
|
|
1993
1872
|
{
|
|
1994
1873
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1996
1875
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1878
|
}
|
|
2000
1879
|
},
|
|
2001
1880
|
{
|
|
2002
1881
|
"kind": "js",
|
|
2003
|
-
"name": "
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
2004
1883
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2007
1886
|
}
|
|
2008
1887
|
}
|
|
2009
1888
|
]
|
|
2010
1889
|
},
|
|
2011
1890
|
{
|
|
2012
1891
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2014
1893
|
"declarations": [],
|
|
2015
1894
|
"exports": [
|
|
2016
1895
|
{
|
|
@@ -2018,7 +1897,7 @@
|
|
|
2018
1897
|
"name": "*",
|
|
2019
1898
|
"declaration": {
|
|
2020
1899
|
"name": "*",
|
|
2021
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2022
1901
|
}
|
|
2023
1902
|
},
|
|
2024
1903
|
{
|
|
@@ -2026,7 +1905,7 @@
|
|
|
2026
1905
|
"name": "*",
|
|
2027
1906
|
"declaration": {
|
|
2028
1907
|
"name": "*",
|
|
2029
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2030
1909
|
}
|
|
2031
1910
|
},
|
|
2032
1911
|
{
|
|
@@ -2034,18 +1913,18 @@
|
|
|
2034
1913
|
"name": "*",
|
|
2035
1914
|
"declaration": {
|
|
2036
1915
|
"name": "*",
|
|
2037
|
-
"package": "./
|
|
1916
|
+
"package": "./accordion-item"
|
|
2038
1917
|
}
|
|
2039
1918
|
}
|
|
2040
1919
|
]
|
|
2041
1920
|
},
|
|
2042
1921
|
{
|
|
2043
1922
|
"kind": "javascript-module",
|
|
2044
|
-
"path": "src/
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2045
1924
|
"declarations": [
|
|
2046
1925
|
{
|
|
2047
1926
|
"kind": "function",
|
|
2048
|
-
"name": "
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
2049
1928
|
"return": {
|
|
2050
1929
|
"type": {
|
|
2051
1930
|
"text": "ElementStyles"
|
|
@@ -2065,29 +1944,13 @@
|
|
|
2065
1944
|
}
|
|
2066
1945
|
}
|
|
2067
1946
|
]
|
|
2068
|
-
}
|
|
2069
|
-
],
|
|
2070
|
-
"exports": [
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "js",
|
|
2073
|
-
"name": "foundationAccordionItemStyles",
|
|
2074
|
-
"declaration": {
|
|
2075
|
-
"name": "foundationAccordionItemStyles",
|
|
2076
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
]
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"kind": "javascript-module",
|
|
2083
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2084
|
-
"declarations": [
|
|
1947
|
+
},
|
|
2085
1948
|
{
|
|
2086
1949
|
"kind": "function",
|
|
2087
|
-
"name": "
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2088
1951
|
"return": {
|
|
2089
1952
|
"type": {
|
|
2090
|
-
"text": "
|
|
1953
|
+
"text": "ElementStyles"
|
|
2091
1954
|
}
|
|
2092
1955
|
},
|
|
2093
1956
|
"parameters": [
|
|
@@ -2109,205 +1972,464 @@
|
|
|
2109
1972
|
"exports": [
|
|
2110
1973
|
{
|
|
2111
1974
|
"kind": "js",
|
|
2112
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2113
1976
|
"declaration": {
|
|
2114
|
-
"name": "
|
|
2115
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2116
1987
|
}
|
|
2117
1988
|
}
|
|
2118
1989
|
]
|
|
2119
1990
|
},
|
|
2120
1991
|
{
|
|
2121
1992
|
"kind": "javascript-module",
|
|
2122
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1994
|
+
"declarations": [
|
|
1995
|
+
{
|
|
1996
|
+
"kind": "variable",
|
|
1997
|
+
"name": "menuTemplate"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "variable",
|
|
2001
|
+
"name": "singleOptionTemplate"
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"kind": "variable",
|
|
2005
|
+
"name": "foundationActionsMenuTemplate",
|
|
2006
|
+
"type": {
|
|
2007
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2008
|
+
},
|
|
2009
|
+
"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`"
|
|
2010
|
+
}
|
|
2011
|
+
],
|
|
2012
|
+
"exports": [
|
|
2013
|
+
{
|
|
2014
|
+
"kind": "js",
|
|
2015
|
+
"name": "menuTemplate",
|
|
2016
|
+
"declaration": {
|
|
2017
|
+
"name": "menuTemplate",
|
|
2018
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "js",
|
|
2023
|
+
"name": "singleOptionTemplate",
|
|
2024
|
+
"declaration": {
|
|
2025
|
+
"name": "singleOptionTemplate",
|
|
2026
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "js",
|
|
2031
|
+
"name": "foundationActionsMenuTemplate",
|
|
2032
|
+
"declaration": {
|
|
2033
|
+
"name": "foundationActionsMenuTemplate",
|
|
2034
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
]
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "javascript-module",
|
|
2041
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2123
2042
|
"declarations": [
|
|
2124
2043
|
{
|
|
2125
2044
|
"kind": "class",
|
|
2126
2045
|
"description": "",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"
|
|
2129
|
-
"name": "FASTAccordionItem",
|
|
2130
|
-
"package": "@microsoft/fast-components"
|
|
2131
|
-
},
|
|
2132
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
-
"customElement": true,
|
|
2134
|
-
"attributes": [
|
|
2046
|
+
"name": "ActionsMenu",
|
|
2047
|
+
"members": [
|
|
2135
2048
|
{
|
|
2136
|
-
"
|
|
2049
|
+
"kind": "field",
|
|
2050
|
+
"name": "actions",
|
|
2137
2051
|
"type": {
|
|
2138
|
-
"text": "
|
|
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"
|
|
2052
|
+
"text": "ActionMenuItem[]"
|
|
2146
2053
|
}
|
|
2147
2054
|
},
|
|
2148
2055
|
{
|
|
2056
|
+
"kind": "field",
|
|
2057
|
+
"name": "actionsResolver",
|
|
2149
2058
|
"type": {
|
|
2150
|
-
"text": "
|
|
2059
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
2151
2060
|
},
|
|
2152
|
-
"
|
|
2153
|
-
"description": "Expands or collapses the item.",
|
|
2154
|
-
"fieldName": "expanded",
|
|
2155
|
-
"inheritedFrom": {
|
|
2156
|
-
"name": "AccordionItem",
|
|
2157
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
-
}
|
|
2061
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2159
2062
|
},
|
|
2160
2063
|
{
|
|
2161
|
-
"
|
|
2064
|
+
"kind": "field",
|
|
2065
|
+
"name": "isVertical",
|
|
2162
2066
|
"type": {
|
|
2163
|
-
"text": "
|
|
2067
|
+
"text": "boolean"
|
|
2164
2068
|
},
|
|
2165
|
-
"
|
|
2166
|
-
|
|
2167
|
-
"inheritedFrom": {
|
|
2168
|
-
"name": "AccordionItem",
|
|
2169
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2170
|
-
}
|
|
2171
|
-
}
|
|
2172
|
-
],
|
|
2173
|
-
"members": [
|
|
2069
|
+
"default": "false"
|
|
2070
|
+
},
|
|
2174
2071
|
{
|
|
2175
2072
|
"kind": "field",
|
|
2176
|
-
"name": "
|
|
2073
|
+
"name": "addDefaultActions",
|
|
2177
2074
|
"type": {
|
|
2178
|
-
"text": "
|
|
2075
|
+
"text": "boolean"
|
|
2179
2076
|
},
|
|
2180
|
-
"
|
|
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
|
-
}
|
|
2077
|
+
"default": "true"
|
|
2187
2078
|
},
|
|
2188
2079
|
{
|
|
2189
2080
|
"kind": "field",
|
|
2190
|
-
"name": "
|
|
2081
|
+
"name": "autoCloseOnAction",
|
|
2191
2082
|
"type": {
|
|
2192
2083
|
"text": "boolean"
|
|
2193
2084
|
},
|
|
2194
|
-
"
|
|
2195
|
-
"default": "false",
|
|
2196
|
-
"description": "Expands or collapses the item.",
|
|
2197
|
-
"inheritedFrom": {
|
|
2198
|
-
"name": "AccordionItem",
|
|
2199
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
-
}
|
|
2085
|
+
"default": "true"
|
|
2201
2086
|
},
|
|
2202
2087
|
{
|
|
2203
2088
|
"kind": "field",
|
|
2204
|
-
"name": "
|
|
2089
|
+
"name": "classNames",
|
|
2205
2090
|
"type": {
|
|
2206
2091
|
"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
2092
|
}
|
|
2214
2093
|
},
|
|
2215
2094
|
{
|
|
2216
2095
|
"kind": "field",
|
|
2217
|
-
"name": "
|
|
2218
|
-
"
|
|
2219
|
-
|
|
2220
|
-
"name": "AccordionItem",
|
|
2221
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2096
|
+
"name": "definition",
|
|
2097
|
+
"type": {
|
|
2098
|
+
"text": "any"
|
|
2222
2099
|
}
|
|
2223
2100
|
},
|
|
2224
2101
|
{
|
|
2225
2102
|
"kind": "field",
|
|
2226
|
-
"name": "
|
|
2103
|
+
"name": "name",
|
|
2227
2104
|
"type": {
|
|
2228
|
-
"text": "
|
|
2105
|
+
"text": "string"
|
|
2229
2106
|
},
|
|
2230
|
-
"
|
|
2231
|
-
"default": "void 0",
|
|
2232
|
-
"inheritedFrom": {
|
|
2233
|
-
"name": "FoundationElement",
|
|
2234
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2235
|
-
}
|
|
2107
|
+
"default": "'Actions'"
|
|
2236
2108
|
},
|
|
2237
2109
|
{
|
|
2238
2110
|
"kind": "field",
|
|
2239
|
-
"name": "
|
|
2111
|
+
"name": "iconName",
|
|
2240
2112
|
"type": {
|
|
2241
|
-
"text": "
|
|
2113
|
+
"text": "string"
|
|
2242
2114
|
},
|
|
2243
|
-
"
|
|
2244
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2245
|
-
"inheritedFrom": {
|
|
2246
|
-
"name": "FoundationElement",
|
|
2247
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2248
|
-
}
|
|
2115
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
2249
2116
|
},
|
|
2250
2117
|
{
|
|
2251
2118
|
"kind": "field",
|
|
2252
|
-
"name": "
|
|
2119
|
+
"name": "open",
|
|
2253
2120
|
"type": {
|
|
2254
|
-
"text": "
|
|
2121
|
+
"text": "boolean"
|
|
2255
2122
|
},
|
|
2256
|
-
"
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2123
|
+
"default": "false"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "field",
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "string"
|
|
2261
2130
|
}
|
|
2262
2131
|
},
|
|
2263
2132
|
{
|
|
2264
|
-
"kind": "
|
|
2265
|
-
"name": "
|
|
2266
|
-
"
|
|
2267
|
-
|
|
2268
|
-
"type": {
|
|
2269
|
-
"text": "void"
|
|
2270
|
-
}
|
|
2133
|
+
"kind": "field",
|
|
2134
|
+
"name": "hideDisabled",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "boolean"
|
|
2271
2137
|
},
|
|
2272
|
-
"
|
|
2273
|
-
"name": "FoundationElement",
|
|
2274
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2275
|
-
}
|
|
2138
|
+
"default": "false"
|
|
2276
2139
|
},
|
|
2277
2140
|
{
|
|
2278
2141
|
"kind": "field",
|
|
2279
|
-
"name": "
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2280
2143
|
"type": {
|
|
2281
|
-
"text": "
|
|
2144
|
+
"text": "boolean"
|
|
2282
2145
|
},
|
|
2283
|
-
"
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2288
2153
|
}
|
|
2289
2154
|
},
|
|
2290
2155
|
{
|
|
2291
|
-
"kind": "
|
|
2292
|
-
"name": "
|
|
2293
|
-
"
|
|
2294
|
-
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "void"
|
|
2297
|
-
}
|
|
2298
|
-
},
|
|
2299
|
-
"inheritedFrom": {
|
|
2300
|
-
"name": "FoundationElement",
|
|
2301
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "actionsMenu",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "HTMLElement"
|
|
2302
2160
|
}
|
|
2303
2161
|
},
|
|
2304
2162
|
{
|
|
2305
|
-
"kind": "
|
|
2306
|
-
"name": "
|
|
2307
|
-
"
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2163
|
+
"kind": "field",
|
|
2164
|
+
"name": "actionsOpener",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "HTMLElement"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "field",
|
|
2171
|
+
"name": "positionTracker",
|
|
2172
|
+
"type": {
|
|
2173
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
2174
|
+
},
|
|
2175
|
+
"privacy": "private"
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"kind": "field",
|
|
2179
|
+
"name": "focusMenuOnOpen",
|
|
2180
|
+
"type": {
|
|
2181
|
+
"text": "boolean"
|
|
2182
|
+
},
|
|
2183
|
+
"privacy": "private",
|
|
2184
|
+
"default": "false",
|
|
2185
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "method",
|
|
2189
|
+
"name": "updateMenuPosition",
|
|
2190
|
+
"privacy": "private"
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"kind": "method",
|
|
2194
|
+
"name": "startTrackingPosition",
|
|
2195
|
+
"privacy": "private"
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"kind": "method",
|
|
2199
|
+
"name": "stopTrackingPosition",
|
|
2200
|
+
"privacy": "private"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "definitionChanged",
|
|
2205
|
+
"privacy": "protected",
|
|
2206
|
+
"parameters": [
|
|
2207
|
+
{
|
|
2208
|
+
"name": "oldValue",
|
|
2209
|
+
"type": {
|
|
2210
|
+
"text": "any"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
"name": "newValue",
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "any"
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
]
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"kind": "method",
|
|
2223
|
+
"name": "openChanged",
|
|
2224
|
+
"privacy": "protected"
|
|
2225
|
+
},
|
|
2226
|
+
{
|
|
2227
|
+
"kind": "method",
|
|
2228
|
+
"name": "toggleActionsMenuVisibility"
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "method",
|
|
2232
|
+
"name": "onPopoverToggle",
|
|
2233
|
+
"parameters": [
|
|
2234
|
+
{
|
|
2235
|
+
"name": "event",
|
|
2236
|
+
"type": {
|
|
2237
|
+
"text": "Event"
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
],
|
|
2241
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
"kind": "method",
|
|
2245
|
+
"name": "onIconOpenerKeydown",
|
|
2246
|
+
"return": {
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "boolean"
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
"parameters": [
|
|
2252
|
+
{
|
|
2253
|
+
"name": "event",
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "KeyboardEvent"
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
],
|
|
2259
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"kind": "method",
|
|
2263
|
+
"name": "onActionMenuItemClick",
|
|
2264
|
+
"parameters": [
|
|
2265
|
+
{
|
|
2266
|
+
"name": "callback",
|
|
2267
|
+
"type": {
|
|
2268
|
+
"text": "(rowData) => void | any"
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "method",
|
|
2275
|
+
"name": "isActionDisabled",
|
|
2276
|
+
"return": {
|
|
2277
|
+
"type": {
|
|
2278
|
+
"text": "boolean"
|
|
2279
|
+
}
|
|
2280
|
+
},
|
|
2281
|
+
"parameters": [
|
|
2282
|
+
{
|
|
2283
|
+
"name": "action",
|
|
2284
|
+
"type": {
|
|
2285
|
+
"text": "ActionMenuItem"
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
],
|
|
2289
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"kind": "field",
|
|
2293
|
+
"name": "resolvedActions",
|
|
2294
|
+
"type": {
|
|
2295
|
+
"text": "ActionMenuItem[]"
|
|
2296
|
+
},
|
|
2297
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2298
|
+
"readonly": true
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "field",
|
|
2302
|
+
"name": "hasVisibleActions",
|
|
2303
|
+
"type": {
|
|
2304
|
+
"text": "boolean"
|
|
2305
|
+
},
|
|
2306
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2307
|
+
"readonly": true
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"kind": "field",
|
|
2311
|
+
"name": "allActions",
|
|
2312
|
+
"type": {
|
|
2313
|
+
"text": "ActionMenuItem[]"
|
|
2314
|
+
},
|
|
2315
|
+
"readonly": true
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"kind": "field",
|
|
2319
|
+
"name": "rowData",
|
|
2320
|
+
"readonly": true
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"kind": "method",
|
|
2324
|
+
"name": "getLabel",
|
|
2325
|
+
"parameters": [
|
|
2326
|
+
{
|
|
2327
|
+
"name": "name",
|
|
2328
|
+
"type": {
|
|
2329
|
+
"text": "string | ((rowData: any) => string)"
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
]
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "method",
|
|
2336
|
+
"name": "getTemplate",
|
|
2337
|
+
"parameters": [
|
|
2338
|
+
{
|
|
2339
|
+
"name": "prefix",
|
|
2340
|
+
"type": {
|
|
2341
|
+
"text": "string"
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"kind": "field",
|
|
2348
|
+
"name": "_presentation",
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2351
|
+
},
|
|
2352
|
+
"privacy": "private",
|
|
2353
|
+
"default": "void 0",
|
|
2354
|
+
"inheritedFrom": {
|
|
2355
|
+
"name": "FoundationElement",
|
|
2356
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2357
|
+
}
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "field",
|
|
2361
|
+
"name": "$presentation",
|
|
2362
|
+
"type": {
|
|
2363
|
+
"text": "ComponentPresentation | null"
|
|
2364
|
+
},
|
|
2365
|
+
"privacy": "public",
|
|
2366
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2367
|
+
"inheritedFrom": {
|
|
2368
|
+
"name": "FoundationElement",
|
|
2369
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"kind": "field",
|
|
2374
|
+
"name": "template",
|
|
2375
|
+
"type": {
|
|
2376
|
+
"text": "ElementViewTemplate | void | null"
|
|
2377
|
+
},
|
|
2378
|
+
"privacy": "public",
|
|
2379
|
+
"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.",
|
|
2380
|
+
"inheritedFrom": {
|
|
2381
|
+
"name": "FoundationElement",
|
|
2382
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "method",
|
|
2387
|
+
"name": "templateChanged",
|
|
2388
|
+
"privacy": "protected",
|
|
2389
|
+
"return": {
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "void"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"inheritedFrom": {
|
|
2395
|
+
"name": "FoundationElement",
|
|
2396
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"kind": "field",
|
|
2401
|
+
"name": "styles",
|
|
2402
|
+
"type": {
|
|
2403
|
+
"text": "ElementStyles | void | null"
|
|
2404
|
+
},
|
|
2405
|
+
"privacy": "public",
|
|
2406
|
+
"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.",
|
|
2407
|
+
"inheritedFrom": {
|
|
2408
|
+
"name": "FoundationElement",
|
|
2409
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"kind": "method",
|
|
2414
|
+
"name": "stylesChanged",
|
|
2415
|
+
"privacy": "protected",
|
|
2416
|
+
"return": {
|
|
2417
|
+
"type": {
|
|
2418
|
+
"text": "void"
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
"inheritedFrom": {
|
|
2422
|
+
"name": "FoundationElement",
|
|
2423
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"kind": "method",
|
|
2428
|
+
"name": "compose",
|
|
2429
|
+
"privacy": "public",
|
|
2430
|
+
"static": true,
|
|
2431
|
+
"return": {
|
|
2432
|
+
"type": {
|
|
2311
2433
|
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2312
2434
|
}
|
|
2313
2435
|
},
|
|
@@ -2333,78 +2455,158 @@
|
|
|
2333
2455
|
}
|
|
2334
2456
|
}
|
|
2335
2457
|
],
|
|
2336
|
-
"
|
|
2458
|
+
"attributes": [
|
|
2337
2459
|
{
|
|
2338
|
-
"
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2460
|
+
"name": "is-vertical",
|
|
2461
|
+
"type": {
|
|
2462
|
+
"text": "boolean"
|
|
2463
|
+
},
|
|
2464
|
+
"default": "false",
|
|
2465
|
+
"fieldName": "isVertical"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"name": "add-default-actions",
|
|
2469
|
+
"type": {
|
|
2470
|
+
"text": "boolean"
|
|
2471
|
+
},
|
|
2472
|
+
"default": "true",
|
|
2473
|
+
"fieldName": "addDefaultActions"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"name": "auto-close-on-action",
|
|
2477
|
+
"type": {
|
|
2478
|
+
"text": "boolean"
|
|
2479
|
+
},
|
|
2480
|
+
"default": "true",
|
|
2481
|
+
"fieldName": "autoCloseOnAction"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "name",
|
|
2485
|
+
"type": {
|
|
2486
|
+
"text": "string"
|
|
2487
|
+
},
|
|
2488
|
+
"default": "'Actions'",
|
|
2489
|
+
"fieldName": "name"
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"name": "icon-name",
|
|
2493
|
+
"type": {
|
|
2494
|
+
"text": "string"
|
|
2495
|
+
},
|
|
2496
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2497
|
+
"fieldName": "iconName"
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"name": "open",
|
|
2501
|
+
"type": {
|
|
2502
|
+
"text": "boolean"
|
|
2503
|
+
},
|
|
2504
|
+
"default": "false",
|
|
2505
|
+
"fieldName": "open"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"name": "buttonAppearance",
|
|
2509
|
+
"type": {
|
|
2510
|
+
"text": "string"
|
|
2511
|
+
},
|
|
2512
|
+
"fieldName": "buttonAppearance"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"name": "hide-disabled",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "boolean"
|
|
2518
|
+
},
|
|
2519
|
+
"default": "false",
|
|
2520
|
+
"fieldName": "hideDisabled"
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"name": "hide-menu-single-option",
|
|
2524
|
+
"type": {
|
|
2525
|
+
"text": "boolean"
|
|
2526
|
+
},
|
|
2527
|
+
"default": "false",
|
|
2528
|
+
"fieldName": "hideMenuSingleOption"
|
|
2344
2529
|
}
|
|
2345
|
-
]
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
-
"type": {
|
|
2351
|
-
"text": "ShadowRootInit"
|
|
2352
|
-
},
|
|
2353
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"kind": "variable",
|
|
2357
|
-
"name": "defaultAccordionItemConfig",
|
|
2358
|
-
"type": {
|
|
2359
|
-
"text": "object"
|
|
2530
|
+
],
|
|
2531
|
+
"superclass": {
|
|
2532
|
+
"name": "FoundationElement",
|
|
2533
|
+
"package": "@microsoft/fast-foundation"
|
|
2360
2534
|
},
|
|
2361
|
-
"
|
|
2535
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2536
|
+
"customElement": true
|
|
2362
2537
|
},
|
|
2363
2538
|
{
|
|
2364
2539
|
"kind": "variable",
|
|
2365
|
-
"name": "
|
|
2366
|
-
"description": "The Foundation
|
|
2540
|
+
"name": "foundationActionsMenu",
|
|
2541
|
+
"description": "The Foundation Actions Menu",
|
|
2367
2542
|
"privacy": "public"
|
|
2368
2543
|
}
|
|
2369
2544
|
],
|
|
2370
2545
|
"exports": [
|
|
2371
2546
|
{
|
|
2372
2547
|
"kind": "js",
|
|
2373
|
-
"name": "
|
|
2548
|
+
"name": "ActionsMenu",
|
|
2374
2549
|
"declaration": {
|
|
2375
|
-
"name": "
|
|
2376
|
-
"module": "src/
|
|
2550
|
+
"name": "ActionsMenu",
|
|
2551
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2377
2552
|
}
|
|
2378
2553
|
},
|
|
2379
2554
|
{
|
|
2380
2555
|
"kind": "js",
|
|
2381
|
-
"name": "
|
|
2556
|
+
"name": "foundationActionsMenu",
|
|
2382
2557
|
"declaration": {
|
|
2383
|
-
"name": "
|
|
2384
|
-
"module": "src/
|
|
2558
|
+
"name": "foundationActionsMenu",
|
|
2559
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2385
2560
|
}
|
|
2386
|
-
}
|
|
2561
|
+
}
|
|
2562
|
+
]
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"kind": "javascript-module",
|
|
2566
|
+
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
2567
|
+
"declarations": [
|
|
2387
2568
|
{
|
|
2388
|
-
"kind": "
|
|
2389
|
-
"name": "
|
|
2390
|
-
"
|
|
2391
|
-
"
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2569
|
+
"kind": "function",
|
|
2570
|
+
"name": "agMenuStyles",
|
|
2571
|
+
"return": {
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": ""
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
"parameters": [
|
|
2577
|
+
{
|
|
2578
|
+
"name": "menuSelector",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "string"
|
|
2581
|
+
},
|
|
2582
|
+
"description": "Selects the menu surface. May be a selector list."
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"name": "itemSelector",
|
|
2586
|
+
"type": {
|
|
2587
|
+
"text": "string"
|
|
2588
|
+
},
|
|
2589
|
+
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2590
|
+
}
|
|
2591
|
+
],
|
|
2592
|
+
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
2593
|
+
"privacy": "public"
|
|
2594
|
+
}
|
|
2595
|
+
],
|
|
2596
|
+
"exports": [
|
|
2395
2597
|
{
|
|
2396
2598
|
"kind": "js",
|
|
2397
|
-
"name": "
|
|
2599
|
+
"name": "agMenuStyles",
|
|
2398
2600
|
"declaration": {
|
|
2399
|
-
"name": "
|
|
2400
|
-
"module": "src/
|
|
2601
|
+
"name": "agMenuStyles",
|
|
2602
|
+
"module": "src/actions-menu/ag-menu.styles.ts"
|
|
2401
2603
|
}
|
|
2402
2604
|
}
|
|
2403
2605
|
]
|
|
2404
2606
|
},
|
|
2405
2607
|
{
|
|
2406
2608
|
"kind": "javascript-module",
|
|
2407
|
-
"path": "src/
|
|
2609
|
+
"path": "src/actions-menu/index.ts",
|
|
2408
2610
|
"declarations": [],
|
|
2409
2611
|
"exports": [
|
|
2410
2612
|
{
|
|
@@ -2412,7 +2614,7 @@
|
|
|
2412
2614
|
"name": "*",
|
|
2413
2615
|
"declaration": {
|
|
2414
2616
|
"name": "*",
|
|
2415
|
-
"package": "./
|
|
2617
|
+
"package": "./actions-menu.styles"
|
|
2416
2618
|
}
|
|
2417
2619
|
},
|
|
2418
2620
|
{
|
|
@@ -2420,7 +2622,7 @@
|
|
|
2420
2622
|
"name": "*",
|
|
2421
2623
|
"declaration": {
|
|
2422
2624
|
"name": "*",
|
|
2423
|
-
"package": "./
|
|
2625
|
+
"package": "./actions-menu.template"
|
|
2424
2626
|
}
|
|
2425
2627
|
},
|
|
2426
2628
|
{
|
|
@@ -2428,82 +2630,72 @@
|
|
|
2428
2630
|
"name": "*",
|
|
2429
2631
|
"declaration": {
|
|
2430
2632
|
"name": "*",
|
|
2431
|
-
"package": "./
|
|
2633
|
+
"package": "./actions-menu"
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
"kind": "js",
|
|
2638
|
+
"name": "*",
|
|
2639
|
+
"declaration": {
|
|
2640
|
+
"name": "*",
|
|
2641
|
+
"package": "./ag-menu.styles"
|
|
2432
2642
|
}
|
|
2433
2643
|
}
|
|
2434
2644
|
]
|
|
2435
2645
|
},
|
|
2436
2646
|
{
|
|
2437
2647
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/ai-
|
|
2648
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2439
2649
|
"declarations": [
|
|
2440
2650
|
{
|
|
2441
|
-
"kind": "
|
|
2442
|
-
"name": "
|
|
2443
|
-
"
|
|
2444
|
-
"type": {
|
|
2445
|
-
"text": "ElementStyles"
|
|
2446
|
-
}
|
|
2447
|
-
},
|
|
2448
|
-
"parameters": [
|
|
2449
|
-
{
|
|
2450
|
-
"name": "context",
|
|
2451
|
-
"type": {
|
|
2452
|
-
"text": "ElementDefinitionContext"
|
|
2453
|
-
}
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"name": "definition",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "FoundationElementDefinition"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2651
|
+
"kind": "variable",
|
|
2652
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2653
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2462
2654
|
}
|
|
2463
2655
|
],
|
|
2464
2656
|
"exports": [
|
|
2465
2657
|
{
|
|
2466
2658
|
"kind": "js",
|
|
2467
|
-
"name": "
|
|
2659
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2468
2660
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/ai-
|
|
2661
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2662
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2471
2663
|
}
|
|
2472
2664
|
}
|
|
2473
2665
|
]
|
|
2474
2666
|
},
|
|
2475
2667
|
{
|
|
2476
2668
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/ai-
|
|
2669
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2478
2670
|
"declarations": [
|
|
2479
2671
|
{
|
|
2480
2672
|
"kind": "variable",
|
|
2481
|
-
"name": "
|
|
2673
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2482
2674
|
"type": {
|
|
2483
|
-
"text": "ViewTemplate<
|
|
2675
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2484
2676
|
},
|
|
2485
|
-
"default": "html`\n ${(x) =>
|
|
2677
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2486
2678
|
}
|
|
2487
2679
|
],
|
|
2488
2680
|
"exports": [
|
|
2489
2681
|
{
|
|
2490
2682
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2683
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2492
2684
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/ai-
|
|
2685
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2686
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2495
2687
|
}
|
|
2496
2688
|
}
|
|
2497
2689
|
]
|
|
2498
2690
|
},
|
|
2499
2691
|
{
|
|
2500
2692
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/ai-
|
|
2693
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2502
2694
|
"declarations": [
|
|
2503
2695
|
{
|
|
2504
2696
|
"kind": "class",
|
|
2505
|
-
"description": "",
|
|
2506
|
-
"name": "
|
|
2697
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2698
|
+
"name": "AiCriteriaSearch",
|
|
2507
2699
|
"members": [
|
|
2508
2700
|
{
|
|
2509
2701
|
"kind": "field",
|
|
@@ -2514,25 +2706,54 @@
|
|
|
2514
2706
|
},
|
|
2515
2707
|
{
|
|
2516
2708
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2709
|
+
"name": "placeholder",
|
|
2518
2710
|
"type": {
|
|
2519
|
-
"text": "
|
|
2711
|
+
"text": "string"
|
|
2520
2712
|
},
|
|
2521
|
-
"
|
|
2522
|
-
"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.",
|
|
2523
|
-
"readonly": true
|
|
2713
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2524
2714
|
},
|
|
2525
2715
|
{
|
|
2526
2716
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2717
|
+
"name": "disabled",
|
|
2528
2718
|
"type": {
|
|
2529
|
-
"text": "
|
|
2719
|
+
"text": "boolean"
|
|
2720
|
+
}
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"kind": "field",
|
|
2724
|
+
"name": "inputValue",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "string"
|
|
2727
|
+
},
|
|
2728
|
+
"default": "''"
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"kind": "field",
|
|
2732
|
+
"name": "isInterpreting",
|
|
2733
|
+
"type": {
|
|
2734
|
+
"text": "boolean"
|
|
2735
|
+
},
|
|
2736
|
+
"default": "false"
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"kind": "field",
|
|
2740
|
+
"name": "lastValidCriteria",
|
|
2741
|
+
"type": {
|
|
2742
|
+
"text": "string | null"
|
|
2530
2743
|
},
|
|
2531
2744
|
"default": "null"
|
|
2532
2745
|
},
|
|
2533
2746
|
{
|
|
2534
2747
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2748
|
+
"name": "activeGroups",
|
|
2749
|
+
"type": {
|
|
2750
|
+
"text": "CriteriaGroup[]"
|
|
2751
|
+
},
|
|
2752
|
+
"default": "[]"
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"kind": "field",
|
|
2756
|
+
"name": "showingChips",
|
|
2536
2757
|
"type": {
|
|
2537
2758
|
"text": "boolean"
|
|
2538
2759
|
},
|
|
@@ -2540,15 +2761,15 @@
|
|
|
2540
2761
|
},
|
|
2541
2762
|
{
|
|
2542
2763
|
"kind": "field",
|
|
2543
|
-
"name": "
|
|
2764
|
+
"name": "fieldMetadata",
|
|
2544
2765
|
"type": {
|
|
2545
|
-
"text": "
|
|
2766
|
+
"text": "MetadataDetail[] | string[]"
|
|
2546
2767
|
},
|
|
2547
|
-
"default": "
|
|
2768
|
+
"default": "[]"
|
|
2548
2769
|
},
|
|
2549
2770
|
{
|
|
2550
2771
|
"kind": "field",
|
|
2551
|
-
"name": "
|
|
2772
|
+
"name": "isRecording",
|
|
2552
2773
|
"type": {
|
|
2553
2774
|
"text": "boolean"
|
|
2554
2775
|
},
|
|
@@ -2556,29 +2777,33 @@
|
|
|
2556
2777
|
},
|
|
2557
2778
|
{
|
|
2558
2779
|
"kind": "field",
|
|
2559
|
-
"name": "
|
|
2780
|
+
"name": "textAreaRef",
|
|
2560
2781
|
"type": {
|
|
2561
|
-
"text": "
|
|
2782
|
+
"text": "HTMLTextAreaElement"
|
|
2562
2783
|
},
|
|
2563
|
-
"privacy": "
|
|
2564
|
-
"default": "null"
|
|
2784
|
+
"privacy": "public"
|
|
2565
2785
|
},
|
|
2566
2786
|
{
|
|
2567
2787
|
"kind": "field",
|
|
2568
|
-
"name": "
|
|
2569
|
-
"
|
|
2788
|
+
"name": "stopRecording",
|
|
2789
|
+
"type": {
|
|
2790
|
+
"text": "(() => void) | null"
|
|
2791
|
+
},
|
|
2792
|
+
"privacy": "private",
|
|
2793
|
+
"default": "null"
|
|
2570
2794
|
},
|
|
2571
2795
|
{
|
|
2572
2796
|
"kind": "field",
|
|
2573
|
-
"name": "
|
|
2797
|
+
"name": "speechApplyDebounceTimer",
|
|
2574
2798
|
"type": {
|
|
2575
|
-
"text": "
|
|
2799
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2576
2800
|
},
|
|
2577
|
-
"
|
|
2801
|
+
"privacy": "private",
|
|
2802
|
+
"default": "null"
|
|
2578
2803
|
},
|
|
2579
2804
|
{
|
|
2580
2805
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2806
|
+
"name": "speechAvailable",
|
|
2582
2807
|
"type": {
|
|
2583
2808
|
"text": "boolean"
|
|
2584
2809
|
},
|
|
@@ -2586,69 +2811,65 @@
|
|
|
2586
2811
|
},
|
|
2587
2812
|
{
|
|
2588
2813
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2814
|
+
"name": "criteriaChips",
|
|
2590
2815
|
"type": {
|
|
2591
|
-
"text": "
|
|
2816
|
+
"text": "CriteriaChip[]"
|
|
2592
2817
|
},
|
|
2593
2818
|
"readonly": true
|
|
2594
2819
|
},
|
|
2595
2820
|
{
|
|
2596
2821
|
"kind": "method",
|
|
2597
|
-
"name": "
|
|
2822
|
+
"name": "getFieldLabel",
|
|
2823
|
+
"privacy": "private",
|
|
2598
2824
|
"return": {
|
|
2599
2825
|
"type": {
|
|
2600
|
-
"text": "
|
|
2826
|
+
"text": "string"
|
|
2601
2827
|
}
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "method",
|
|
2606
|
-
"name": "handleClickOutside",
|
|
2607
|
-
"privacy": "private",
|
|
2828
|
+
},
|
|
2608
2829
|
"parameters": [
|
|
2609
2830
|
{
|
|
2610
|
-
"name": "
|
|
2831
|
+
"name": "fieldName",
|
|
2611
2832
|
"type": {
|
|
2612
|
-
"text": "
|
|
2833
|
+
"text": "string"
|
|
2613
2834
|
}
|
|
2614
2835
|
}
|
|
2615
2836
|
]
|
|
2616
2837
|
},
|
|
2617
2838
|
{
|
|
2618
2839
|
"kind": "method",
|
|
2619
|
-
"name": "
|
|
2620
|
-
},
|
|
2621
|
-
{
|
|
2622
|
-
"kind": "method",
|
|
2623
|
-
"name": "refreshStatus",
|
|
2840
|
+
"name": "toggleCriteriaView",
|
|
2624
2841
|
"return": {
|
|
2625
2842
|
"type": {
|
|
2626
|
-
"text": "
|
|
2843
|
+
"text": "void"
|
|
2627
2844
|
}
|
|
2628
2845
|
}
|
|
2629
2846
|
},
|
|
2630
2847
|
{
|
|
2631
2848
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2633
|
-
"privacy": "private",
|
|
2849
|
+
"name": "removeChip",
|
|
2634
2850
|
"return": {
|
|
2635
2851
|
"type": {
|
|
2636
|
-
"text": "
|
|
2852
|
+
"text": "void"
|
|
2637
2853
|
}
|
|
2638
2854
|
},
|
|
2639
2855
|
"parameters": [
|
|
2640
2856
|
{
|
|
2641
|
-
"name": "
|
|
2857
|
+
"name": "groupIndex",
|
|
2642
2858
|
"type": {
|
|
2643
|
-
"text": "
|
|
2859
|
+
"text": "number"
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"name": "clauseIndex",
|
|
2864
|
+
"type": {
|
|
2865
|
+
"text": "number"
|
|
2644
2866
|
}
|
|
2645
2867
|
}
|
|
2646
2868
|
]
|
|
2647
2869
|
},
|
|
2648
2870
|
{
|
|
2649
2871
|
"kind": "method",
|
|
2650
|
-
"name": "
|
|
2651
|
-
"privacy": "private",
|
|
2872
|
+
"name": "clearChips",
|
|
2652
2873
|
"return": {
|
|
2653
2874
|
"type": {
|
|
2654
2875
|
"text": "void"
|
|
@@ -2657,32 +2878,24 @@
|
|
|
2657
2878
|
},
|
|
2658
2879
|
{
|
|
2659
2880
|
"kind": "method",
|
|
2660
|
-
"name": "
|
|
2661
|
-
"privacy": "private",
|
|
2662
|
-
"return": {
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "void"
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2881
|
+
"name": "handleSubmit"
|
|
2667
2882
|
},
|
|
2668
2883
|
{
|
|
2669
2884
|
"kind": "method",
|
|
2670
|
-
"name": "
|
|
2671
|
-
"privacy": "private",
|
|
2672
|
-
"return": {
|
|
2673
|
-
"type": {
|
|
2674
|
-
"text": "void"
|
|
2675
|
-
}
|
|
2676
|
-
}
|
|
2885
|
+
"name": "handleBlur"
|
|
2677
2886
|
},
|
|
2678
2887
|
{
|
|
2679
2888
|
"kind": "method",
|
|
2680
|
-
"name": "
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2889
|
+
"name": "clear"
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
"kind": "method",
|
|
2893
|
+
"name": "toggleSpeechInput"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "method",
|
|
2897
|
+
"name": "clearSpeechApplyDebounce",
|
|
2898
|
+
"privacy": "private"
|
|
2686
2899
|
},
|
|
2687
2900
|
{
|
|
2688
2901
|
"kind": "field",
|
|
@@ -2796,296 +3009,520 @@
|
|
|
2796
3009
|
}
|
|
2797
3010
|
}
|
|
2798
3011
|
],
|
|
3012
|
+
"events": [
|
|
3013
|
+
{
|
|
3014
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3015
|
+
"name": "criteria-changed"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3019
|
+
"name": "validation-errors"
|
|
3020
|
+
}
|
|
3021
|
+
],
|
|
3022
|
+
"attributes": [
|
|
3023
|
+
{
|
|
3024
|
+
"name": "placeholder",
|
|
3025
|
+
"type": {
|
|
3026
|
+
"text": "string"
|
|
3027
|
+
},
|
|
3028
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3029
|
+
"fieldName": "placeholder"
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"type": {
|
|
3033
|
+
"text": "boolean"
|
|
3034
|
+
},
|
|
3035
|
+
"fieldName": "disabled"
|
|
3036
|
+
}
|
|
3037
|
+
],
|
|
2799
3038
|
"superclass": {
|
|
2800
3039
|
"name": "FoundationElement",
|
|
2801
3040
|
"package": "@microsoft/fast-foundation"
|
|
2802
3041
|
},
|
|
2803
|
-
"tagName": "%%prefix%%-ai-
|
|
3042
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2804
3043
|
"customElement": true
|
|
2805
3044
|
},
|
|
2806
3045
|
{
|
|
2807
3046
|
"kind": "variable",
|
|
2808
|
-
"name": "
|
|
3047
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "ShadowRootInit"
|
|
3050
|
+
},
|
|
3051
|
+
"default": "undefined"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"kind": "variable",
|
|
3055
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "object"
|
|
3058
|
+
},
|
|
3059
|
+
"default": "{}"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "variable",
|
|
3063
|
+
"name": "foundationAiCriteriaSearch"
|
|
2809
3064
|
}
|
|
2810
3065
|
],
|
|
2811
3066
|
"exports": [
|
|
2812
3067
|
{
|
|
2813
3068
|
"kind": "js",
|
|
2814
|
-
"name": "
|
|
3069
|
+
"name": "AiCriteriaSearch",
|
|
2815
3070
|
"declaration": {
|
|
2816
|
-
"name": "
|
|
2817
|
-
"module": "src/ai-
|
|
3071
|
+
"name": "AiCriteriaSearch",
|
|
3072
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2818
3073
|
}
|
|
2819
3074
|
},
|
|
2820
3075
|
{
|
|
2821
3076
|
"kind": "js",
|
|
2822
|
-
"name": "
|
|
3077
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2823
3078
|
"declaration": {
|
|
2824
|
-
"name": "
|
|
2825
|
-
"module": "src/ai-
|
|
3079
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3080
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3081
|
+
}
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "js",
|
|
3085
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3086
|
+
"declaration": {
|
|
3087
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3088
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "js",
|
|
3093
|
+
"name": "foundationAiCriteriaSearch",
|
|
3094
|
+
"declaration": {
|
|
3095
|
+
"name": "foundationAiCriteriaSearch",
|
|
3096
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2826
3097
|
}
|
|
2827
3098
|
}
|
|
2828
3099
|
]
|
|
2829
3100
|
},
|
|
2830
3101
|
{
|
|
2831
3102
|
"kind": "javascript-module",
|
|
2832
|
-
"path": "src/ai-
|
|
3103
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2833
3104
|
"declarations": [],
|
|
2834
3105
|
"exports": [
|
|
2835
3106
|
{
|
|
2836
3107
|
"kind": "js",
|
|
2837
|
-
"name": "
|
|
3108
|
+
"name": "AiCriteriaSearch",
|
|
2838
3109
|
"declaration": {
|
|
2839
|
-
"name": "
|
|
2840
|
-
"module": "./ai-
|
|
3110
|
+
"name": "AiCriteriaSearch",
|
|
3111
|
+
"module": "./ai-criteria-search"
|
|
2841
3112
|
}
|
|
2842
3113
|
},
|
|
2843
3114
|
{
|
|
2844
3115
|
"kind": "js",
|
|
2845
|
-
"name": "
|
|
3116
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2846
3117
|
"declaration": {
|
|
2847
|
-
"name": "
|
|
2848
|
-
"module": "./ai-
|
|
3118
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3119
|
+
"module": "./ai-criteria-search"
|
|
2849
3120
|
}
|
|
2850
3121
|
},
|
|
2851
3122
|
{
|
|
2852
3123
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
3124
|
+
"name": "foundationAiCriteriaSearch",
|
|
2854
3125
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "./ai-
|
|
3126
|
+
"name": "foundationAiCriteriaSearch",
|
|
3127
|
+
"module": "./ai-criteria-search"
|
|
2857
3128
|
}
|
|
2858
3129
|
},
|
|
2859
3130
|
{
|
|
2860
3131
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
3132
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
3133
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "./ai-
|
|
3134
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3135
|
+
"module": "./ai-criteria-search"
|
|
2865
3136
|
}
|
|
2866
3137
|
},
|
|
2867
3138
|
{
|
|
2868
3139
|
"kind": "js",
|
|
2869
|
-
"name": "
|
|
3140
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2870
3141
|
"declaration": {
|
|
2871
|
-
"name": "
|
|
2872
|
-
"module": "./ai-
|
|
3142
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3143
|
+
"module": "./ai-criteria-search.styles"
|
|
2873
3144
|
}
|
|
2874
3145
|
},
|
|
2875
3146
|
{
|
|
2876
3147
|
"kind": "js",
|
|
2877
|
-
"name": "
|
|
3148
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2878
3149
|
"declaration": {
|
|
2879
|
-
"name": "
|
|
2880
|
-
"module": "./ai-
|
|
3150
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3151
|
+
"module": "./ai-criteria-search.template"
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"kind": "js",
|
|
3156
|
+
"name": "*",
|
|
3157
|
+
"declaration": {
|
|
3158
|
+
"name": "*",
|
|
3159
|
+
"package": "./validation/criteria-ir"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"kind": "js",
|
|
3164
|
+
"name": "*",
|
|
3165
|
+
"declaration": {
|
|
3166
|
+
"name": "*",
|
|
3167
|
+
"package": "./validation/operator-map"
|
|
3168
|
+
}
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
"kind": "js",
|
|
3172
|
+
"name": "*",
|
|
3173
|
+
"declaration": {
|
|
3174
|
+
"name": "*",
|
|
3175
|
+
"package": "./validation/schema-validator"
|
|
2881
3176
|
}
|
|
2882
3177
|
}
|
|
2883
3178
|
]
|
|
2884
3179
|
},
|
|
2885
3180
|
{
|
|
2886
3181
|
"kind": "javascript-module",
|
|
2887
|
-
"path": "src/ai-criteria-search/
|
|
3182
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2888
3183
|
"declarations": [
|
|
2889
3184
|
{
|
|
2890
|
-
"kind": "
|
|
2891
|
-
"name": "
|
|
2892
|
-
"
|
|
3185
|
+
"kind": "function",
|
|
3186
|
+
"name": "formatValidationErrors",
|
|
3187
|
+
"return": {
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "string"
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"parameters": [
|
|
3193
|
+
{
|
|
3194
|
+
"name": "errors",
|
|
3195
|
+
"type": {
|
|
3196
|
+
"text": "ValidationError[]"
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
],
|
|
3200
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"kind": "function",
|
|
3204
|
+
"name": "showCriteriaError",
|
|
3205
|
+
"return": {
|
|
3206
|
+
"type": {
|
|
3207
|
+
"text": "void"
|
|
3208
|
+
}
|
|
3209
|
+
},
|
|
3210
|
+
"parameters": [
|
|
3211
|
+
{
|
|
3212
|
+
"name": "title",
|
|
3213
|
+
"type": {
|
|
3214
|
+
"text": "string"
|
|
3215
|
+
},
|
|
3216
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3217
|
+
},
|
|
3218
|
+
{
|
|
3219
|
+
"name": "body",
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "string"
|
|
3222
|
+
},
|
|
3223
|
+
"description": "Error message to display"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"name": "tagName",
|
|
3227
|
+
"type": {
|
|
3228
|
+
"text": "string"
|
|
3229
|
+
},
|
|
3230
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3231
|
+
}
|
|
3232
|
+
],
|
|
3233
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2893
3234
|
}
|
|
2894
3235
|
],
|
|
2895
3236
|
"exports": [
|
|
2896
3237
|
{
|
|
2897
3238
|
"kind": "js",
|
|
2898
|
-
"name": "
|
|
3239
|
+
"name": "formatValidationErrors",
|
|
2899
3240
|
"declaration": {
|
|
2900
|
-
"name": "
|
|
2901
|
-
"module": "src/ai-criteria-search/
|
|
3241
|
+
"name": "formatValidationErrors",
|
|
3242
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3243
|
+
}
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"kind": "js",
|
|
3247
|
+
"name": "showCriteriaError",
|
|
3248
|
+
"declaration": {
|
|
3249
|
+
"name": "showCriteriaError",
|
|
3250
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2902
3251
|
}
|
|
2903
3252
|
}
|
|
2904
3253
|
]
|
|
2905
3254
|
},
|
|
2906
3255
|
{
|
|
2907
3256
|
"kind": "javascript-module",
|
|
2908
|
-
"path": "src/
|
|
3257
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2909
3258
|
"declarations": [
|
|
2910
3259
|
{
|
|
2911
|
-
"kind": "
|
|
2912
|
-
"name": "
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
3260
|
+
"kind": "function",
|
|
3261
|
+
"name": "foundationAccordionStyles",
|
|
3262
|
+
"return": {
|
|
3263
|
+
"type": {
|
|
3264
|
+
"text": "ElementStyles"
|
|
3265
|
+
}
|
|
2915
3266
|
},
|
|
2916
|
-
"
|
|
3267
|
+
"parameters": [
|
|
3268
|
+
{
|
|
3269
|
+
"name": "context",
|
|
3270
|
+
"type": {
|
|
3271
|
+
"text": "ElementDefinitionContext"
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"name": "definition",
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "FoundationElementDefinition"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
2917
3281
|
}
|
|
2918
3282
|
],
|
|
2919
3283
|
"exports": [
|
|
2920
3284
|
{
|
|
2921
3285
|
"kind": "js",
|
|
2922
|
-
"name": "
|
|
3286
|
+
"name": "foundationAccordionStyles",
|
|
2923
3287
|
"declaration": {
|
|
2924
|
-
"name": "
|
|
2925
|
-
"module": "src/
|
|
3288
|
+
"name": "foundationAccordionStyles",
|
|
3289
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2926
3290
|
}
|
|
2927
3291
|
}
|
|
2928
3292
|
]
|
|
2929
3293
|
},
|
|
2930
3294
|
{
|
|
2931
3295
|
"kind": "javascript-module",
|
|
2932
|
-
"path": "src/
|
|
3296
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2933
3297
|
"declarations": [
|
|
2934
3298
|
{
|
|
2935
|
-
"kind": "
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
2938
|
-
|
|
3299
|
+
"kind": "function",
|
|
3300
|
+
"name": "foundationAccordionTemplate",
|
|
3301
|
+
"return": {
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "ViewTemplate<Accordion>"
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
"parameters": [
|
|
2939
3307
|
{
|
|
2940
|
-
"
|
|
2941
|
-
"name": "providerRegistry",
|
|
3308
|
+
"name": "context",
|
|
2942
3309
|
"type": {
|
|
2943
|
-
"text": "
|
|
3310
|
+
"text": "ElementDefinitionContext"
|
|
2944
3311
|
}
|
|
2945
3312
|
},
|
|
2946
3313
|
{
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
3314
|
+
"name": "definition",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "FoundationElementDefinition"
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
]
|
|
3320
|
+
}
|
|
3321
|
+
],
|
|
3322
|
+
"exports": [
|
|
3323
|
+
{
|
|
3324
|
+
"kind": "js",
|
|
3325
|
+
"name": "foundationAccordionTemplate",
|
|
3326
|
+
"declaration": {
|
|
3327
|
+
"name": "foundationAccordionTemplate",
|
|
3328
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
]
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"kind": "javascript-module",
|
|
3335
|
+
"path": "src/accordion/accordion.ts",
|
|
3336
|
+
"declarations": [
|
|
3337
|
+
{
|
|
3338
|
+
"kind": "class",
|
|
3339
|
+
"description": "",
|
|
3340
|
+
"name": "Accordion",
|
|
3341
|
+
"superclass": {
|
|
3342
|
+
"name": "FASTAccordion",
|
|
3343
|
+
"package": "@microsoft/fast-foundation"
|
|
3344
|
+
},
|
|
3345
|
+
"tagName": "%%prefix%%-accordion",
|
|
3346
|
+
"customElement": true,
|
|
3347
|
+
"attributes": [
|
|
3348
|
+
{
|
|
3349
|
+
"name": "expand-mode",
|
|
2949
3350
|
"type": {
|
|
2950
|
-
"text": "
|
|
3351
|
+
"text": "AccordionExpandMode"
|
|
2951
3352
|
},
|
|
2952
|
-
"
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
"type": {
|
|
2958
|
-
"text": "boolean"
|
|
3353
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3354
|
+
"fieldName": "expandmode",
|
|
3355
|
+
"inheritedFrom": {
|
|
3356
|
+
"name": "Accordion",
|
|
3357
|
+
"module": "src/accordion/accordion.ts"
|
|
2959
3358
|
}
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
"name": "inputValue",
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "''"
|
|
2968
|
-
},
|
|
3359
|
+
}
|
|
3360
|
+
],
|
|
3361
|
+
"members": [
|
|
2969
3362
|
{
|
|
2970
3363
|
"kind": "field",
|
|
2971
|
-
"name": "
|
|
3364
|
+
"name": "expandmode",
|
|
2972
3365
|
"type": {
|
|
2973
|
-
"text": "
|
|
3366
|
+
"text": "AccordionExpandMode"
|
|
2974
3367
|
},
|
|
2975
|
-
"
|
|
3368
|
+
"privacy": "public",
|
|
3369
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3370
|
+
"inheritedFrom": {
|
|
3371
|
+
"name": "Accordion",
|
|
3372
|
+
"module": "src/accordion/accordion.ts"
|
|
3373
|
+
}
|
|
2976
3374
|
},
|
|
2977
3375
|
{
|
|
2978
3376
|
"kind": "field",
|
|
2979
|
-
"name": "
|
|
3377
|
+
"name": "activeid",
|
|
2980
3378
|
"type": {
|
|
2981
3379
|
"text": "string | null"
|
|
2982
3380
|
},
|
|
2983
|
-
"
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
"type": {
|
|
2989
|
-
"text": "CriteriaGroup[]"
|
|
2990
|
-
},
|
|
2991
|
-
"default": "[]"
|
|
3381
|
+
"privacy": "private",
|
|
3382
|
+
"inheritedFrom": {
|
|
3383
|
+
"name": "Accordion",
|
|
3384
|
+
"module": "src/accordion/accordion.ts"
|
|
3385
|
+
}
|
|
2992
3386
|
},
|
|
2993
3387
|
{
|
|
2994
3388
|
"kind": "field",
|
|
2995
|
-
"name": "
|
|
3389
|
+
"name": "activeItemIndex",
|
|
2996
3390
|
"type": {
|
|
2997
|
-
"text": "
|
|
3391
|
+
"text": "number"
|
|
2998
3392
|
},
|
|
2999
|
-
"
|
|
3393
|
+
"privacy": "private",
|
|
3394
|
+
"default": "0",
|
|
3395
|
+
"inheritedFrom": {
|
|
3396
|
+
"name": "Accordion",
|
|
3397
|
+
"module": "src/accordion/accordion.ts"
|
|
3398
|
+
}
|
|
3000
3399
|
},
|
|
3001
3400
|
{
|
|
3002
3401
|
"kind": "field",
|
|
3003
|
-
"name": "
|
|
3402
|
+
"name": "accordionIds",
|
|
3004
3403
|
"type": {
|
|
3005
|
-
"text": "
|
|
3404
|
+
"text": "Array<string | null>"
|
|
3006
3405
|
},
|
|
3007
|
-
"
|
|
3406
|
+
"privacy": "private",
|
|
3407
|
+
"inheritedFrom": {
|
|
3408
|
+
"name": "Accordion",
|
|
3409
|
+
"module": "src/accordion/accordion.ts"
|
|
3410
|
+
}
|
|
3008
3411
|
},
|
|
3009
3412
|
{
|
|
3010
3413
|
"kind": "field",
|
|
3011
|
-
"name": "
|
|
3012
|
-
"
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3414
|
+
"name": "change",
|
|
3415
|
+
"privacy": "private",
|
|
3416
|
+
"inheritedFrom": {
|
|
3417
|
+
"name": "Accordion",
|
|
3418
|
+
"module": "src/accordion/accordion.ts"
|
|
3419
|
+
}
|
|
3016
3420
|
},
|
|
3017
3421
|
{
|
|
3018
|
-
"kind": "
|
|
3019
|
-
"name": "
|
|
3020
|
-
"
|
|
3021
|
-
|
|
3422
|
+
"kind": "method",
|
|
3423
|
+
"name": "findExpandedItem",
|
|
3424
|
+
"privacy": "private",
|
|
3425
|
+
"return": {
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "AccordionItem | null"
|
|
3428
|
+
}
|
|
3022
3429
|
},
|
|
3023
|
-
"
|
|
3430
|
+
"inheritedFrom": {
|
|
3431
|
+
"name": "Accordion",
|
|
3432
|
+
"module": "src/accordion/accordion.ts"
|
|
3433
|
+
}
|
|
3024
3434
|
},
|
|
3025
3435
|
{
|
|
3026
3436
|
"kind": "field",
|
|
3027
|
-
"name": "
|
|
3028
|
-
"type": {
|
|
3029
|
-
"text": "(() => void) | null"
|
|
3030
|
-
},
|
|
3437
|
+
"name": "setItems",
|
|
3031
3438
|
"privacy": "private",
|
|
3032
|
-
"
|
|
3439
|
+
"inheritedFrom": {
|
|
3440
|
+
"name": "Accordion",
|
|
3441
|
+
"module": "src/accordion/accordion.ts"
|
|
3442
|
+
}
|
|
3033
3443
|
},
|
|
3034
3444
|
{
|
|
3035
|
-
"kind": "
|
|
3036
|
-
"name": "
|
|
3037
|
-
"type": {
|
|
3038
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3039
|
-
},
|
|
3445
|
+
"kind": "method",
|
|
3446
|
+
"name": "resetItems",
|
|
3040
3447
|
"privacy": "private",
|
|
3041
|
-
"
|
|
3448
|
+
"return": {
|
|
3449
|
+
"type": {
|
|
3450
|
+
"text": "void"
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
"inheritedFrom": {
|
|
3454
|
+
"name": "Accordion",
|
|
3455
|
+
"module": "src/accordion/accordion.ts"
|
|
3456
|
+
}
|
|
3042
3457
|
},
|
|
3043
3458
|
{
|
|
3044
3459
|
"kind": "field",
|
|
3045
|
-
"name": "
|
|
3046
|
-
"
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3460
|
+
"name": "removeItemListeners",
|
|
3461
|
+
"privacy": "private",
|
|
3462
|
+
"inheritedFrom": {
|
|
3463
|
+
"name": "Accordion",
|
|
3464
|
+
"module": "src/accordion/accordion.ts"
|
|
3465
|
+
}
|
|
3050
3466
|
},
|
|
3051
3467
|
{
|
|
3052
3468
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3054
|
-
"
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3469
|
+
"name": "activeItemChange",
|
|
3470
|
+
"privacy": "private",
|
|
3471
|
+
"inheritedFrom": {
|
|
3472
|
+
"name": "Accordion",
|
|
3473
|
+
"module": "src/accordion/accordion.ts"
|
|
3474
|
+
}
|
|
3058
3475
|
},
|
|
3059
3476
|
{
|
|
3060
3477
|
"kind": "method",
|
|
3061
|
-
"name": "
|
|
3478
|
+
"name": "getItemIds",
|
|
3062
3479
|
"privacy": "private",
|
|
3063
3480
|
"return": {
|
|
3064
3481
|
"type": {
|
|
3065
|
-
"text": "string"
|
|
3482
|
+
"text": "Array<string | null>"
|
|
3066
3483
|
}
|
|
3067
3484
|
},
|
|
3068
|
-
"
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
"text": "string"
|
|
3073
|
-
}
|
|
3074
|
-
}
|
|
3075
|
-
]
|
|
3485
|
+
"inheritedFrom": {
|
|
3486
|
+
"name": "Accordion",
|
|
3487
|
+
"module": "src/accordion/accordion.ts"
|
|
3488
|
+
}
|
|
3076
3489
|
},
|
|
3077
3490
|
{
|
|
3078
3491
|
"kind": "method",
|
|
3079
|
-
"name": "
|
|
3492
|
+
"name": "isSingleExpandMode",
|
|
3493
|
+
"privacy": "private",
|
|
3080
3494
|
"return": {
|
|
3081
3495
|
"type": {
|
|
3082
|
-
"text": "
|
|
3496
|
+
"text": "boolean"
|
|
3083
3497
|
}
|
|
3498
|
+
},
|
|
3499
|
+
"inheritedFrom": {
|
|
3500
|
+
"name": "Accordion",
|
|
3501
|
+
"module": "src/accordion/accordion.ts"
|
|
3502
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"kind": "field",
|
|
3506
|
+
"name": "handleItemKeyDown",
|
|
3507
|
+
"privacy": "private",
|
|
3508
|
+
"inheritedFrom": {
|
|
3509
|
+
"name": "Accordion",
|
|
3510
|
+
"module": "src/accordion/accordion.ts"
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"kind": "field",
|
|
3515
|
+
"name": "handleItemFocus",
|
|
3516
|
+
"privacy": "private",
|
|
3517
|
+
"inheritedFrom": {
|
|
3518
|
+
"name": "Accordion",
|
|
3519
|
+
"module": "src/accordion/accordion.ts"
|
|
3084
3520
|
}
|
|
3085
3521
|
},
|
|
3086
3522
|
{
|
|
3087
3523
|
"kind": "method",
|
|
3088
|
-
"name": "
|
|
3524
|
+
"name": "adjust",
|
|
3525
|
+
"privacy": "private",
|
|
3089
3526
|
"return": {
|
|
3090
3527
|
"type": {
|
|
3091
3528
|
"text": "void"
|
|
@@ -3093,48 +3530,30 @@
|
|
|
3093
3530
|
},
|
|
3094
3531
|
"parameters": [
|
|
3095
3532
|
{
|
|
3096
|
-
"name": "
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "number"
|
|
3099
|
-
}
|
|
3100
|
-
},
|
|
3101
|
-
{
|
|
3102
|
-
"name": "clauseIndex",
|
|
3533
|
+
"name": "adjustment",
|
|
3103
3534
|
"type": {
|
|
3104
3535
|
"text": "number"
|
|
3105
3536
|
}
|
|
3106
3537
|
}
|
|
3107
|
-
]
|
|
3538
|
+
],
|
|
3539
|
+
"inheritedFrom": {
|
|
3540
|
+
"name": "Accordion",
|
|
3541
|
+
"module": "src/accordion/accordion.ts"
|
|
3542
|
+
}
|
|
3108
3543
|
},
|
|
3109
3544
|
{
|
|
3110
3545
|
"kind": "method",
|
|
3111
|
-
"name": "
|
|
3546
|
+
"name": "focusItem",
|
|
3547
|
+
"privacy": "private",
|
|
3112
3548
|
"return": {
|
|
3113
3549
|
"type": {
|
|
3114
3550
|
"text": "void"
|
|
3115
3551
|
}
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"kind": "method",
|
|
3124
|
-
"name": "handleBlur"
|
|
3125
|
-
},
|
|
3126
|
-
{
|
|
3127
|
-
"kind": "method",
|
|
3128
|
-
"name": "clear"
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "method",
|
|
3132
|
-
"name": "toggleSpeechInput"
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
"kind": "method",
|
|
3136
|
-
"name": "clearSpeechApplyDebounce",
|
|
3137
|
-
"privacy": "private"
|
|
3552
|
+
},
|
|
3553
|
+
"inheritedFrom": {
|
|
3554
|
+
"name": "Accordion",
|
|
3555
|
+
"module": "src/accordion/accordion.ts"
|
|
3556
|
+
}
|
|
3138
3557
|
},
|
|
3139
3558
|
{
|
|
3140
3559
|
"kind": "field",
|
|
@@ -3250,48 +3669,26 @@
|
|
|
3250
3669
|
],
|
|
3251
3670
|
"events": [
|
|
3252
3671
|
{
|
|
3253
|
-
"description": "
|
|
3254
|
-
"name": "
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
}
|
|
3260
|
-
],
|
|
3261
|
-
"attributes": [
|
|
3262
|
-
{
|
|
3263
|
-
"name": "placeholder",
|
|
3264
|
-
"type": {
|
|
3265
|
-
"text": "string"
|
|
3266
|
-
},
|
|
3267
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3268
|
-
"fieldName": "placeholder"
|
|
3269
|
-
},
|
|
3270
|
-
{
|
|
3271
|
-
"type": {
|
|
3272
|
-
"text": "boolean"
|
|
3273
|
-
},
|
|
3274
|
-
"fieldName": "disabled"
|
|
3672
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3673
|
+
"name": "change",
|
|
3674
|
+
"inheritedFrom": {
|
|
3675
|
+
"name": "Accordion",
|
|
3676
|
+
"module": "src/accordion/accordion.ts"
|
|
3677
|
+
}
|
|
3275
3678
|
}
|
|
3276
|
-
]
|
|
3277
|
-
"superclass": {
|
|
3278
|
-
"name": "FoundationElement",
|
|
3279
|
-
"package": "@microsoft/fast-foundation"
|
|
3280
|
-
},
|
|
3281
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3282
|
-
"customElement": true
|
|
3679
|
+
]
|
|
3283
3680
|
},
|
|
3284
3681
|
{
|
|
3285
3682
|
"kind": "variable",
|
|
3286
|
-
"name": "
|
|
3683
|
+
"name": "foundationAccordionShadowOptions",
|
|
3287
3684
|
"type": {
|
|
3288
3685
|
"text": "ShadowRootInit"
|
|
3289
3686
|
},
|
|
3290
|
-
"default": "
|
|
3687
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3291
3688
|
},
|
|
3292
3689
|
{
|
|
3293
3690
|
"kind": "variable",
|
|
3294
|
-
"name": "
|
|
3691
|
+
"name": "defaultAccordionConfig",
|
|
3295
3692
|
"type": {
|
|
3296
3693
|
"text": "object"
|
|
3297
3694
|
},
|
|
@@ -3299,103 +3696,57 @@
|
|
|
3299
3696
|
},
|
|
3300
3697
|
{
|
|
3301
3698
|
"kind": "variable",
|
|
3302
|
-
"name": "
|
|
3699
|
+
"name": "foundationAccordion",
|
|
3700
|
+
"description": "The Foundation Accordion",
|
|
3701
|
+
"privacy": "public"
|
|
3303
3702
|
}
|
|
3304
3703
|
],
|
|
3305
3704
|
"exports": [
|
|
3306
3705
|
{
|
|
3307
3706
|
"kind": "js",
|
|
3308
|
-
"name": "
|
|
3707
|
+
"name": "Accordion",
|
|
3309
3708
|
"declaration": {
|
|
3310
|
-
"name": "
|
|
3311
|
-
"module": "src/
|
|
3709
|
+
"name": "Accordion",
|
|
3710
|
+
"module": "src/accordion/accordion.ts"
|
|
3312
3711
|
}
|
|
3313
3712
|
},
|
|
3314
3713
|
{
|
|
3315
3714
|
"kind": "js",
|
|
3316
|
-
"name": "
|
|
3715
|
+
"name": "foundationAccordionShadowOptions",
|
|
3317
3716
|
"declaration": {
|
|
3318
|
-
"name": "
|
|
3319
|
-
"module": "src/
|
|
3717
|
+
"name": "foundationAccordionShadowOptions",
|
|
3718
|
+
"module": "src/accordion/accordion.ts"
|
|
3320
3719
|
}
|
|
3321
3720
|
},
|
|
3322
3721
|
{
|
|
3323
3722
|
"kind": "js",
|
|
3324
|
-
"name": "
|
|
3723
|
+
"name": "defaultAccordionConfig",
|
|
3325
3724
|
"declaration": {
|
|
3326
|
-
"name": "
|
|
3327
|
-
"module": "src/
|
|
3725
|
+
"name": "defaultAccordionConfig",
|
|
3726
|
+
"module": "src/accordion/accordion.ts"
|
|
3328
3727
|
}
|
|
3329
3728
|
},
|
|
3330
3729
|
{
|
|
3331
3730
|
"kind": "js",
|
|
3332
|
-
"name": "
|
|
3731
|
+
"name": "foundationAccordion",
|
|
3333
3732
|
"declaration": {
|
|
3334
|
-
"name": "
|
|
3335
|
-
"module": "src/
|
|
3733
|
+
"name": "foundationAccordion",
|
|
3734
|
+
"module": "src/accordion/accordion.ts"
|
|
3336
3735
|
}
|
|
3337
3736
|
}
|
|
3338
3737
|
]
|
|
3339
3738
|
},
|
|
3340
3739
|
{
|
|
3341
3740
|
"kind": "javascript-module",
|
|
3342
|
-
"path": "src/
|
|
3741
|
+
"path": "src/accordion/index.ts",
|
|
3343
3742
|
"declarations": [],
|
|
3344
3743
|
"exports": [
|
|
3345
|
-
{
|
|
3346
|
-
"kind": "js",
|
|
3347
|
-
"name": "AiCriteriaSearch",
|
|
3348
|
-
"declaration": {
|
|
3349
|
-
"name": "AiCriteriaSearch",
|
|
3350
|
-
"module": "./ai-criteria-search"
|
|
3351
|
-
}
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"kind": "js",
|
|
3355
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3356
|
-
"declaration": {
|
|
3357
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3358
|
-
"module": "./ai-criteria-search"
|
|
3359
|
-
}
|
|
3360
|
-
},
|
|
3361
|
-
{
|
|
3362
|
-
"kind": "js",
|
|
3363
|
-
"name": "foundationAiCriteriaSearch",
|
|
3364
|
-
"declaration": {
|
|
3365
|
-
"name": "foundationAiCriteriaSearch",
|
|
3366
|
-
"module": "./ai-criteria-search"
|
|
3367
|
-
}
|
|
3368
|
-
},
|
|
3369
|
-
{
|
|
3370
|
-
"kind": "js",
|
|
3371
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3372
|
-
"declaration": {
|
|
3373
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3374
|
-
"module": "./ai-criteria-search"
|
|
3375
|
-
}
|
|
3376
|
-
},
|
|
3377
|
-
{
|
|
3378
|
-
"kind": "js",
|
|
3379
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3380
|
-
"declaration": {
|
|
3381
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3382
|
-
"module": "./ai-criteria-search.styles"
|
|
3383
|
-
}
|
|
3384
|
-
},
|
|
3385
|
-
{
|
|
3386
|
-
"kind": "js",
|
|
3387
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3388
|
-
"declaration": {
|
|
3389
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3390
|
-
"module": "./ai-criteria-search.template"
|
|
3391
|
-
}
|
|
3392
|
-
},
|
|
3393
3744
|
{
|
|
3394
3745
|
"kind": "js",
|
|
3395
3746
|
"name": "*",
|
|
3396
3747
|
"declaration": {
|
|
3397
3748
|
"name": "*",
|
|
3398
|
-
"package": "./
|
|
3749
|
+
"package": "./accordion.template"
|
|
3399
3750
|
}
|
|
3400
3751
|
},
|
|
3401
3752
|
{
|
|
@@ -3403,7 +3754,7 @@
|
|
|
3403
3754
|
"name": "*",
|
|
3404
3755
|
"declaration": {
|
|
3405
3756
|
"name": "*",
|
|
3406
|
-
"package": "./
|
|
3757
|
+
"package": "./accordion.styles"
|
|
3407
3758
|
}
|
|
3408
3759
|
},
|
|
3409
3760
|
{
|
|
@@ -3411,116 +3762,18 @@
|
|
|
3411
3762
|
"name": "*",
|
|
3412
3763
|
"declaration": {
|
|
3413
3764
|
"name": "*",
|
|
3414
|
-
"package": "./
|
|
3415
|
-
}
|
|
3416
|
-
}
|
|
3417
|
-
]
|
|
3418
|
-
},
|
|
3419
|
-
{
|
|
3420
|
-
"kind": "javascript-module",
|
|
3421
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3422
|
-
"declarations": [
|
|
3423
|
-
{
|
|
3424
|
-
"kind": "function",
|
|
3425
|
-
"name": "formatValidationErrors",
|
|
3426
|
-
"return": {
|
|
3427
|
-
"type": {
|
|
3428
|
-
"text": "string"
|
|
3429
|
-
}
|
|
3430
|
-
},
|
|
3431
|
-
"parameters": [
|
|
3432
|
-
{
|
|
3433
|
-
"name": "errors",
|
|
3434
|
-
"type": {
|
|
3435
|
-
"text": "ValidationError[]"
|
|
3436
|
-
}
|
|
3437
|
-
}
|
|
3438
|
-
],
|
|
3439
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "function",
|
|
3443
|
-
"name": "showCriteriaError",
|
|
3444
|
-
"return": {
|
|
3445
|
-
"type": {
|
|
3446
|
-
"text": "void"
|
|
3447
|
-
}
|
|
3448
|
-
},
|
|
3449
|
-
"parameters": [
|
|
3450
|
-
{
|
|
3451
|
-
"name": "title",
|
|
3452
|
-
"type": {
|
|
3453
|
-
"text": "string"
|
|
3454
|
-
},
|
|
3455
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3456
|
-
},
|
|
3457
|
-
{
|
|
3458
|
-
"name": "body",
|
|
3459
|
-
"type": {
|
|
3460
|
-
"text": "string"
|
|
3461
|
-
},
|
|
3462
|
-
"description": "Error message to display"
|
|
3463
|
-
},
|
|
3464
|
-
{
|
|
3465
|
-
"name": "tagName",
|
|
3466
|
-
"type": {
|
|
3467
|
-
"text": "string"
|
|
3468
|
-
},
|
|
3469
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3470
|
-
}
|
|
3471
|
-
],
|
|
3472
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3473
|
-
}
|
|
3474
|
-
],
|
|
3475
|
-
"exports": [
|
|
3476
|
-
{
|
|
3477
|
-
"kind": "js",
|
|
3478
|
-
"name": "formatValidationErrors",
|
|
3479
|
-
"declaration": {
|
|
3480
|
-
"name": "formatValidationErrors",
|
|
3481
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3482
|
-
}
|
|
3483
|
-
},
|
|
3484
|
-
{
|
|
3485
|
-
"kind": "js",
|
|
3486
|
-
"name": "showCriteriaError",
|
|
3487
|
-
"declaration": {
|
|
3488
|
-
"name": "showCriteriaError",
|
|
3489
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3765
|
+
"package": "./accordion"
|
|
3490
3766
|
}
|
|
3491
3767
|
}
|
|
3492
3768
|
]
|
|
3493
3769
|
},
|
|
3494
3770
|
{
|
|
3495
3771
|
"kind": "javascript-module",
|
|
3496
|
-
"path": "src/
|
|
3772
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3497
3773
|
"declarations": [
|
|
3498
3774
|
{
|
|
3499
3775
|
"kind": "function",
|
|
3500
|
-
"name": "
|
|
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",
|
|
3776
|
+
"name": "foundationAiIndicatorStyles",
|
|
3524
3777
|
"return": {
|
|
3525
3778
|
"type": {
|
|
3526
3779
|
"text": "ElementStyles"
|
|
@@ -3545,147 +3798,71 @@
|
|
|
3545
3798
|
"exports": [
|
|
3546
3799
|
{
|
|
3547
3800
|
"kind": "js",
|
|
3548
|
-
"name": "
|
|
3549
|
-
"declaration": {
|
|
3550
|
-
"name": "actionsMenuBaseStyles",
|
|
3551
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3552
|
-
}
|
|
3553
|
-
},
|
|
3554
|
-
{
|
|
3555
|
-
"kind": "js",
|
|
3556
|
-
"name": "foundationActionsMenuStyles",
|
|
3801
|
+
"name": "foundationAiIndicatorStyles",
|
|
3557
3802
|
"declaration": {
|
|
3558
|
-
"name": "
|
|
3559
|
-
"module": "src/
|
|
3803
|
+
"name": "foundationAiIndicatorStyles",
|
|
3804
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3560
3805
|
}
|
|
3561
3806
|
}
|
|
3562
3807
|
]
|
|
3563
3808
|
},
|
|
3564
3809
|
{
|
|
3565
3810
|
"kind": "javascript-module",
|
|
3566
|
-
"path": "src/
|
|
3811
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3567
3812
|
"declarations": [
|
|
3568
3813
|
{
|
|
3569
3814
|
"kind": "variable",
|
|
3570
|
-
"name": "
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"kind": "variable",
|
|
3574
|
-
"name": "singleOptionTemplate"
|
|
3575
|
-
},
|
|
3576
|
-
{
|
|
3577
|
-
"kind": "variable",
|
|
3578
|
-
"name": "foundationActionsMenuTemplate",
|
|
3815
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3579
3816
|
"type": {
|
|
3580
|
-
"text": "ViewTemplate<
|
|
3817
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3581
3818
|
},
|
|
3582
|
-
"default": "html`\n
|
|
3819
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3583
3820
|
}
|
|
3584
3821
|
],
|
|
3585
3822
|
"exports": [
|
|
3586
3823
|
{
|
|
3587
3824
|
"kind": "js",
|
|
3588
|
-
"name": "
|
|
3589
|
-
"declaration": {
|
|
3590
|
-
"name": "menuTemplate",
|
|
3591
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3592
|
-
}
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
"kind": "js",
|
|
3596
|
-
"name": "singleOptionTemplate",
|
|
3597
|
-
"declaration": {
|
|
3598
|
-
"name": "singleOptionTemplate",
|
|
3599
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3600
|
-
}
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
"kind": "js",
|
|
3604
|
-
"name": "foundationActionsMenuTemplate",
|
|
3825
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3605
3826
|
"declaration": {
|
|
3606
|
-
"name": "
|
|
3607
|
-
"module": "src/
|
|
3827
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3828
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3608
3829
|
}
|
|
3609
3830
|
}
|
|
3610
3831
|
]
|
|
3611
3832
|
},
|
|
3612
3833
|
{
|
|
3613
3834
|
"kind": "javascript-module",
|
|
3614
|
-
"path": "src/
|
|
3835
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3615
3836
|
"declarations": [
|
|
3616
3837
|
{
|
|
3617
3838
|
"kind": "class",
|
|
3618
3839
|
"description": "",
|
|
3619
|
-
"name": "
|
|
3840
|
+
"name": "AiIndicator",
|
|
3620
3841
|
"members": [
|
|
3621
3842
|
{
|
|
3622
3843
|
"kind": "field",
|
|
3623
|
-
"name": "
|
|
3624
|
-
"type": {
|
|
3625
|
-
"text": "ActionMenuItem[]"
|
|
3626
|
-
}
|
|
3627
|
-
},
|
|
3628
|
-
{
|
|
3629
|
-
"kind": "field",
|
|
3630
|
-
"name": "actionsResolver",
|
|
3631
|
-
"type": {
|
|
3632
|
-
"text": "ActionMenuItemsResolver | undefined"
|
|
3633
|
-
},
|
|
3634
|
-
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "field",
|
|
3638
|
-
"name": "isVertical",
|
|
3639
|
-
"type": {
|
|
3640
|
-
"text": "boolean"
|
|
3641
|
-
},
|
|
3642
|
-
"default": "false"
|
|
3643
|
-
},
|
|
3644
|
-
{
|
|
3645
|
-
"kind": "field",
|
|
3646
|
-
"name": "addDefaultActions",
|
|
3647
|
-
"type": {
|
|
3648
|
-
"text": "boolean"
|
|
3649
|
-
},
|
|
3650
|
-
"default": "true"
|
|
3651
|
-
},
|
|
3652
|
-
{
|
|
3653
|
-
"kind": "field",
|
|
3654
|
-
"name": "autoCloseOnAction",
|
|
3655
|
-
"type": {
|
|
3656
|
-
"text": "boolean"
|
|
3657
|
-
},
|
|
3658
|
-
"default": "true"
|
|
3659
|
-
},
|
|
3660
|
-
{
|
|
3661
|
-
"kind": "field",
|
|
3662
|
-
"name": "classNames",
|
|
3663
|
-
"type": {
|
|
3664
|
-
"text": "string"
|
|
3665
|
-
}
|
|
3666
|
-
},
|
|
3667
|
-
{
|
|
3668
|
-
"kind": "field",
|
|
3669
|
-
"name": "definition",
|
|
3844
|
+
"name": "providerRegistry",
|
|
3670
3845
|
"type": {
|
|
3671
|
-
"text": "
|
|
3846
|
+
"text": "AIProviderRegistry"
|
|
3672
3847
|
}
|
|
3673
3848
|
},
|
|
3674
3849
|
{
|
|
3675
3850
|
"kind": "field",
|
|
3676
|
-
"name": "
|
|
3851
|
+
"name": "aiProvider",
|
|
3677
3852
|
"type": {
|
|
3678
|
-
"text": "
|
|
3853
|
+
"text": "AIProvider | undefined"
|
|
3679
3854
|
},
|
|
3680
|
-
"
|
|
3855
|
+
"privacy": "private",
|
|
3856
|
+
"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.",
|
|
3857
|
+
"readonly": true
|
|
3681
3858
|
},
|
|
3682
3859
|
{
|
|
3683
3860
|
"kind": "field",
|
|
3684
|
-
"name": "
|
|
3861
|
+
"name": "status",
|
|
3685
3862
|
"type": {
|
|
3686
|
-
"text": "
|
|
3863
|
+
"text": "AIStatus | null"
|
|
3687
3864
|
},
|
|
3688
|
-
"
|
|
3865
|
+
"default": "null"
|
|
3689
3866
|
},
|
|
3690
3867
|
{
|
|
3691
3868
|
"kind": "field",
|
|
@@ -3697,22 +3874,15 @@
|
|
|
3697
3874
|
},
|
|
3698
3875
|
{
|
|
3699
3876
|
"kind": "field",
|
|
3700
|
-
"name": "
|
|
3701
|
-
"type": {
|
|
3702
|
-
"text": "string"
|
|
3703
|
-
}
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "field",
|
|
3707
|
-
"name": "hideDisabled",
|
|
3877
|
+
"name": "state",
|
|
3708
3878
|
"type": {
|
|
3709
|
-
"text": "
|
|
3879
|
+
"text": "AIIndicatorState"
|
|
3710
3880
|
},
|
|
3711
|
-
"default": "
|
|
3881
|
+
"default": "'none'"
|
|
3712
3882
|
},
|
|
3713
3883
|
{
|
|
3714
3884
|
"kind": "field",
|
|
3715
|
-
"name": "
|
|
3885
|
+
"name": "isInstalling",
|
|
3716
3886
|
"type": {
|
|
3717
3887
|
"text": "boolean"
|
|
3718
3888
|
},
|
|
@@ -3720,202 +3890,134 @@
|
|
|
3720
3890
|
},
|
|
3721
3891
|
{
|
|
3722
3892
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3724
|
-
"type": {
|
|
3725
|
-
"text": "ActionMenuItem"
|
|
3726
|
-
}
|
|
3727
|
-
},
|
|
3728
|
-
{
|
|
3729
|
-
"kind": "field",
|
|
3730
|
-
"name": "actionsMenu",
|
|
3731
|
-
"type": {
|
|
3732
|
-
"text": "HTMLElement"
|
|
3733
|
-
}
|
|
3734
|
-
},
|
|
3735
|
-
{
|
|
3736
|
-
"kind": "field",
|
|
3737
|
-
"name": "actionsOpener",
|
|
3738
|
-
"type": {
|
|
3739
|
-
"text": "HTMLElement"
|
|
3740
|
-
}
|
|
3741
|
-
},
|
|
3742
|
-
{
|
|
3743
|
-
"kind": "field",
|
|
3744
|
-
"name": "positionTracker",
|
|
3745
|
-
"type": {
|
|
3746
|
-
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
3747
|
-
},
|
|
3748
|
-
"privacy": "private"
|
|
3749
|
-
},
|
|
3750
|
-
{
|
|
3751
|
-
"kind": "field",
|
|
3752
|
-
"name": "focusMenuOnOpen",
|
|
3893
|
+
"name": "pollTimer",
|
|
3753
3894
|
"type": {
|
|
3754
|
-
"text": "
|
|
3895
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3755
3896
|
},
|
|
3756
3897
|
"privacy": "private",
|
|
3757
|
-
"default": "
|
|
3758
|
-
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
3759
|
-
},
|
|
3760
|
-
{
|
|
3761
|
-
"kind": "method",
|
|
3762
|
-
"name": "updateMenuPosition",
|
|
3763
|
-
"privacy": "private"
|
|
3764
|
-
},
|
|
3765
|
-
{
|
|
3766
|
-
"kind": "method",
|
|
3767
|
-
"name": "startTrackingPosition",
|
|
3768
|
-
"privacy": "private"
|
|
3898
|
+
"default": "null"
|
|
3769
3899
|
},
|
|
3770
3900
|
{
|
|
3771
|
-
"kind": "
|
|
3772
|
-
"name": "
|
|
3901
|
+
"kind": "field",
|
|
3902
|
+
"name": "clickOutside",
|
|
3773
3903
|
"privacy": "private"
|
|
3774
3904
|
},
|
|
3775
|
-
{
|
|
3776
|
-
"kind": "method",
|
|
3777
|
-
"name": "definitionChanged",
|
|
3778
|
-
"privacy": "protected",
|
|
3779
|
-
"parameters": [
|
|
3780
|
-
{
|
|
3781
|
-
"name": "oldValue",
|
|
3782
|
-
"type": {
|
|
3783
|
-
"text": "any"
|
|
3784
|
-
}
|
|
3785
|
-
},
|
|
3786
|
-
{
|
|
3787
|
-
"name": "newValue",
|
|
3788
|
-
"type": {
|
|
3789
|
-
"text": "any"
|
|
3790
|
-
}
|
|
3791
|
-
}
|
|
3792
|
-
]
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
"kind": "method",
|
|
3796
|
-
"name": "openChanged",
|
|
3797
|
-
"privacy": "protected"
|
|
3798
|
-
},
|
|
3799
|
-
{
|
|
3800
|
-
"kind": "method",
|
|
3801
|
-
"name": "toggleActionsMenuVisibility"
|
|
3802
|
-
},
|
|
3803
|
-
{
|
|
3804
|
-
"kind": "method",
|
|
3805
|
-
"name": "onPopoverToggle",
|
|
3806
|
-
"parameters": [
|
|
3807
|
-
{
|
|
3808
|
-
"name": "event",
|
|
3809
|
-
"type": {
|
|
3810
|
-
"text": "Event"
|
|
3811
|
-
}
|
|
3812
|
-
}
|
|
3813
|
-
],
|
|
3814
|
-
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
3815
|
-
},
|
|
3816
|
-
{
|
|
3817
|
-
"kind": "method",
|
|
3818
|
-
"name": "onIconOpenerKeydown",
|
|
3819
|
-
"return": {
|
|
3820
|
-
"type": {
|
|
3821
|
-
"text": "boolean"
|
|
3822
|
-
}
|
|
3823
|
-
},
|
|
3824
|
-
"parameters": [
|
|
3825
|
-
{
|
|
3826
|
-
"name": "event",
|
|
3827
|
-
"type": {
|
|
3828
|
-
"text": "KeyboardEvent"
|
|
3829
|
-
}
|
|
3830
|
-
}
|
|
3831
|
-
],
|
|
3832
|
-
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
3833
|
-
},
|
|
3834
|
-
{
|
|
3835
|
-
"kind": "method",
|
|
3836
|
-
"name": "onActionMenuItemClick",
|
|
3837
|
-
"parameters": [
|
|
3838
|
-
{
|
|
3839
|
-
"name": "callback",
|
|
3840
|
-
"type": {
|
|
3841
|
-
"text": "(rowData) => void | any"
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
]
|
|
3845
|
-
},
|
|
3846
|
-
{
|
|
3847
|
-
"kind": "method",
|
|
3848
|
-
"name": "isActionDisabled",
|
|
3849
|
-
"return": {
|
|
3850
|
-
"type": {
|
|
3851
|
-
"text": "boolean"
|
|
3852
|
-
}
|
|
3853
|
-
},
|
|
3854
|
-
"parameters": [
|
|
3855
|
-
{
|
|
3856
|
-
"name": "action",
|
|
3857
|
-
"type": {
|
|
3858
|
-
"text": "ActionMenuItem"
|
|
3859
|
-
}
|
|
3860
|
-
}
|
|
3861
|
-
],
|
|
3862
|
-
"description": "Resolves an action's `isDisabled` for the current row."
|
|
3863
|
-
},
|
|
3864
3905
|
{
|
|
3865
3906
|
"kind": "field",
|
|
3866
|
-
"name": "
|
|
3907
|
+
"name": "chromeStatusLabel",
|
|
3867
3908
|
"type": {
|
|
3868
|
-
"text": "
|
|
3909
|
+
"text": "string | null"
|
|
3869
3910
|
},
|
|
3870
|
-
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
3871
3911
|
"readonly": true
|
|
3872
3912
|
},
|
|
3873
3913
|
{
|
|
3874
3914
|
"kind": "field",
|
|
3875
|
-
"name": "
|
|
3915
|
+
"name": "canInstall",
|
|
3876
3916
|
"type": {
|
|
3877
3917
|
"text": "boolean"
|
|
3878
3918
|
},
|
|
3879
|
-
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
3880
3919
|
"readonly": true
|
|
3881
3920
|
},
|
|
3882
3921
|
{
|
|
3883
3922
|
"kind": "field",
|
|
3884
|
-
"name": "
|
|
3923
|
+
"name": "isDownloading",
|
|
3885
3924
|
"type": {
|
|
3886
|
-
"text": "
|
|
3925
|
+
"text": "boolean"
|
|
3887
3926
|
},
|
|
3888
3927
|
"readonly": true
|
|
3889
3928
|
},
|
|
3890
3929
|
{
|
|
3891
|
-
"kind": "
|
|
3892
|
-
"name": "
|
|
3893
|
-
"
|
|
3930
|
+
"kind": "method",
|
|
3931
|
+
"name": "openChanged",
|
|
3932
|
+
"return": {
|
|
3933
|
+
"type": {
|
|
3934
|
+
"text": "void"
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3894
3937
|
},
|
|
3895
3938
|
{
|
|
3896
3939
|
"kind": "method",
|
|
3897
|
-
"name": "
|
|
3940
|
+
"name": "handleClickOutside",
|
|
3941
|
+
"privacy": "private",
|
|
3898
3942
|
"parameters": [
|
|
3899
3943
|
{
|
|
3900
|
-
"name": "
|
|
3944
|
+
"name": "event",
|
|
3901
3945
|
"type": {
|
|
3902
|
-
"text": "
|
|
3946
|
+
"text": "MouseEvent"
|
|
3903
3947
|
}
|
|
3904
3948
|
}
|
|
3905
3949
|
]
|
|
3906
3950
|
},
|
|
3907
3951
|
{
|
|
3908
3952
|
"kind": "method",
|
|
3909
|
-
"name": "
|
|
3953
|
+
"name": "toggleDropdown"
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
"kind": "method",
|
|
3957
|
+
"name": "refreshStatus",
|
|
3958
|
+
"return": {
|
|
3959
|
+
"type": {
|
|
3960
|
+
"text": "Promise<void>"
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "method",
|
|
3966
|
+
"name": "deriveState",
|
|
3967
|
+
"privacy": "private",
|
|
3968
|
+
"return": {
|
|
3969
|
+
"type": {
|
|
3970
|
+
"text": "AIIndicatorState"
|
|
3971
|
+
}
|
|
3972
|
+
},
|
|
3910
3973
|
"parameters": [
|
|
3911
3974
|
{
|
|
3912
|
-
"name": "
|
|
3975
|
+
"name": "s",
|
|
3913
3976
|
"type": {
|
|
3914
|
-
"text": "
|
|
3977
|
+
"text": "AIStatus | null"
|
|
3915
3978
|
}
|
|
3916
3979
|
}
|
|
3917
3980
|
]
|
|
3918
3981
|
},
|
|
3982
|
+
{
|
|
3983
|
+
"kind": "method",
|
|
3984
|
+
"name": "maybeStartPolling",
|
|
3985
|
+
"privacy": "private",
|
|
3986
|
+
"return": {
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "void"
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "method",
|
|
3994
|
+
"name": "startPolling",
|
|
3995
|
+
"privacy": "private",
|
|
3996
|
+
"return": {
|
|
3997
|
+
"type": {
|
|
3998
|
+
"text": "void"
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
"kind": "method",
|
|
4004
|
+
"name": "stopPolling",
|
|
4005
|
+
"privacy": "private",
|
|
4006
|
+
"return": {
|
|
4007
|
+
"type": {
|
|
4008
|
+
"text": "void"
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "method",
|
|
4014
|
+
"name": "onInstall",
|
|
4015
|
+
"return": {
|
|
4016
|
+
"type": {
|
|
4017
|
+
"text": "Promise<void>"
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
},
|
|
3919
4021
|
{
|
|
3920
4022
|
"kind": "field",
|
|
3921
4023
|
"name": "_presentation",
|
|
@@ -4028,190 +4130,88 @@
|
|
|
4028
4130
|
}
|
|
4029
4131
|
}
|
|
4030
4132
|
],
|
|
4031
|
-
"attributes": [
|
|
4032
|
-
{
|
|
4033
|
-
"name": "is-vertical",
|
|
4034
|
-
"type": {
|
|
4035
|
-
"text": "boolean"
|
|
4036
|
-
},
|
|
4037
|
-
"default": "false",
|
|
4038
|
-
"fieldName": "isVertical"
|
|
4039
|
-
},
|
|
4040
|
-
{
|
|
4041
|
-
"name": "add-default-actions",
|
|
4042
|
-
"type": {
|
|
4043
|
-
"text": "boolean"
|
|
4044
|
-
},
|
|
4045
|
-
"default": "true",
|
|
4046
|
-
"fieldName": "addDefaultActions"
|
|
4047
|
-
},
|
|
4048
|
-
{
|
|
4049
|
-
"name": "auto-close-on-action",
|
|
4050
|
-
"type": {
|
|
4051
|
-
"text": "boolean"
|
|
4052
|
-
},
|
|
4053
|
-
"default": "true",
|
|
4054
|
-
"fieldName": "autoCloseOnAction"
|
|
4055
|
-
},
|
|
4056
|
-
{
|
|
4057
|
-
"name": "name",
|
|
4058
|
-
"type": {
|
|
4059
|
-
"text": "string"
|
|
4060
|
-
},
|
|
4061
|
-
"default": "'Actions'",
|
|
4062
|
-
"fieldName": "name"
|
|
4063
|
-
},
|
|
4064
|
-
{
|
|
4065
|
-
"name": "icon-name",
|
|
4066
|
-
"type": {
|
|
4067
|
-
"text": "string"
|
|
4068
|
-
},
|
|
4069
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
4070
|
-
"fieldName": "iconName"
|
|
4071
|
-
},
|
|
4072
|
-
{
|
|
4073
|
-
"name": "open",
|
|
4074
|
-
"type": {
|
|
4075
|
-
"text": "boolean"
|
|
4076
|
-
},
|
|
4077
|
-
"default": "false",
|
|
4078
|
-
"fieldName": "open"
|
|
4079
|
-
},
|
|
4080
|
-
{
|
|
4081
|
-
"name": "buttonAppearance",
|
|
4082
|
-
"type": {
|
|
4083
|
-
"text": "string"
|
|
4084
|
-
},
|
|
4085
|
-
"fieldName": "buttonAppearance"
|
|
4086
|
-
},
|
|
4087
|
-
{
|
|
4088
|
-
"name": "hide-disabled",
|
|
4089
|
-
"type": {
|
|
4090
|
-
"text": "boolean"
|
|
4091
|
-
},
|
|
4092
|
-
"default": "false",
|
|
4093
|
-
"fieldName": "hideDisabled"
|
|
4094
|
-
},
|
|
4095
|
-
{
|
|
4096
|
-
"name": "hide-menu-single-option",
|
|
4097
|
-
"type": {
|
|
4098
|
-
"text": "boolean"
|
|
4099
|
-
},
|
|
4100
|
-
"default": "false",
|
|
4101
|
-
"fieldName": "hideMenuSingleOption"
|
|
4102
|
-
}
|
|
4103
|
-
],
|
|
4104
4133
|
"superclass": {
|
|
4105
4134
|
"name": "FoundationElement",
|
|
4106
4135
|
"package": "@microsoft/fast-foundation"
|
|
4107
4136
|
},
|
|
4108
|
-
"tagName": "%%prefix%%-
|
|
4137
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
4109
4138
|
"customElement": true
|
|
4110
4139
|
},
|
|
4111
4140
|
{
|
|
4112
4141
|
"kind": "variable",
|
|
4113
|
-
"name": "
|
|
4114
|
-
"description": "The Foundation Actions Menu",
|
|
4115
|
-
"privacy": "public"
|
|
4142
|
+
"name": "foundationAiIndicator"
|
|
4116
4143
|
}
|
|
4117
4144
|
],
|
|
4118
4145
|
"exports": [
|
|
4119
4146
|
{
|
|
4120
4147
|
"kind": "js",
|
|
4121
|
-
"name": "
|
|
4148
|
+
"name": "AiIndicator",
|
|
4122
4149
|
"declaration": {
|
|
4123
|
-
"name": "
|
|
4124
|
-
"module": "src/
|
|
4150
|
+
"name": "AiIndicator",
|
|
4151
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4125
4152
|
}
|
|
4126
4153
|
},
|
|
4127
4154
|
{
|
|
4128
4155
|
"kind": "js",
|
|
4129
|
-
"name": "
|
|
4156
|
+
"name": "foundationAiIndicator",
|
|
4130
4157
|
"declaration": {
|
|
4131
|
-
"name": "
|
|
4132
|
-
"module": "src/
|
|
4158
|
+
"name": "foundationAiIndicator",
|
|
4159
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4133
4160
|
}
|
|
4134
4161
|
}
|
|
4135
4162
|
]
|
|
4136
4163
|
},
|
|
4137
4164
|
{
|
|
4138
4165
|
"kind": "javascript-module",
|
|
4139
|
-
"path": "src/
|
|
4140
|
-
"declarations": [
|
|
4141
|
-
{
|
|
4142
|
-
"kind": "function",
|
|
4143
|
-
"name": "agMenuStyles",
|
|
4144
|
-
"return": {
|
|
4145
|
-
"type": {
|
|
4146
|
-
"text": ""
|
|
4147
|
-
}
|
|
4148
|
-
},
|
|
4149
|
-
"parameters": [
|
|
4150
|
-
{
|
|
4151
|
-
"name": "menuSelector",
|
|
4152
|
-
"type": {
|
|
4153
|
-
"text": "string"
|
|
4154
|
-
},
|
|
4155
|
-
"description": "Selects the menu surface. May be a selector list."
|
|
4156
|
-
},
|
|
4157
|
-
{
|
|
4158
|
-
"name": "itemSelector",
|
|
4159
|
-
"type": {
|
|
4160
|
-
"text": "string"
|
|
4161
|
-
},
|
|
4162
|
-
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
4163
|
-
}
|
|
4164
|
-
],
|
|
4165
|
-
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
4166
|
-
"privacy": "public"
|
|
4167
|
-
}
|
|
4168
|
-
],
|
|
4166
|
+
"path": "src/ai-indicator/index.ts",
|
|
4167
|
+
"declarations": [],
|
|
4169
4168
|
"exports": [
|
|
4170
4169
|
{
|
|
4171
4170
|
"kind": "js",
|
|
4172
|
-
"name": "
|
|
4171
|
+
"name": "AiIndicator",
|
|
4173
4172
|
"declaration": {
|
|
4174
|
-
"name": "
|
|
4175
|
-
"module": "
|
|
4173
|
+
"name": "AiIndicator",
|
|
4174
|
+
"module": "./ai-indicator"
|
|
4176
4175
|
}
|
|
4177
|
-
}
|
|
4178
|
-
]
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
"kind": "javascript-module",
|
|
4182
|
-
"path": "src/actions-menu/index.ts",
|
|
4183
|
-
"declarations": [],
|
|
4184
|
-
"exports": [
|
|
4176
|
+
},
|
|
4185
4177
|
{
|
|
4186
4178
|
"kind": "js",
|
|
4187
|
-
"name": "
|
|
4179
|
+
"name": "foundationAiIndicator",
|
|
4188
4180
|
"declaration": {
|
|
4189
|
-
"name": "
|
|
4190
|
-
"
|
|
4181
|
+
"name": "foundationAiIndicator",
|
|
4182
|
+
"module": "./ai-indicator"
|
|
4191
4183
|
}
|
|
4192
4184
|
},
|
|
4193
4185
|
{
|
|
4194
4186
|
"kind": "js",
|
|
4195
|
-
"name": "
|
|
4187
|
+
"name": "type",
|
|
4196
4188
|
"declaration": {
|
|
4197
|
-
"name": "
|
|
4198
|
-
"
|
|
4189
|
+
"name": "type",
|
|
4190
|
+
"module": "./ai-indicator"
|
|
4199
4191
|
}
|
|
4200
4192
|
},
|
|
4201
4193
|
{
|
|
4202
4194
|
"kind": "js",
|
|
4203
|
-
"name": "
|
|
4195
|
+
"name": "AIIndicatorState",
|
|
4204
4196
|
"declaration": {
|
|
4205
|
-
"name": "
|
|
4206
|
-
"
|
|
4197
|
+
"name": "AIIndicatorState",
|
|
4198
|
+
"module": "./ai-indicator"
|
|
4207
4199
|
}
|
|
4208
4200
|
},
|
|
4209
4201
|
{
|
|
4210
4202
|
"kind": "js",
|
|
4211
|
-
"name": "
|
|
4203
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4212
4204
|
"declaration": {
|
|
4213
|
-
"name": "
|
|
4214
|
-
"
|
|
4205
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4206
|
+
"module": "./ai-indicator.template"
|
|
4207
|
+
}
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
"kind": "js",
|
|
4211
|
+
"name": "foundationAiIndicatorStyles",
|
|
4212
|
+
"declaration": {
|
|
4213
|
+
"name": "foundationAiIndicatorStyles",
|
|
4214
|
+
"module": "./ai-indicator.styles"
|
|
4215
4215
|
}
|
|
4216
4216
|
}
|
|
4217
4217
|
]
|