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