@genesislcap/foundation-ui 15.85.1 → 15.86.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +903 -903
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -1495,11 +1495,42 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1503
1534
|
"return": {
|
|
1504
1535
|
"type": {
|
|
1505
1536
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1555,24 @@
|
|
|
1524
1555
|
"exports": [
|
|
1525
1556
|
{
|
|
1526
1557
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1528
1559
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1531
1562
|
}
|
|
1532
1563
|
}
|
|
1533
1564
|
]
|
|
1534
1565
|
},
|
|
1535
1566
|
{
|
|
1536
1567
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1538
1569
|
"declarations": [
|
|
1539
1570
|
{
|
|
1540
1571
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1542
1573
|
"return": {
|
|
1543
1574
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1545
1576
|
}
|
|
1546
1577
|
},
|
|
1547
1578
|
"parameters": [
|
|
@@ -1563,365 +1594,244 @@
|
|
|
1563
1594
|
"exports": [
|
|
1564
1595
|
{
|
|
1565
1596
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1567
1598
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1570
1601
|
}
|
|
1571
1602
|
}
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
1605
|
{
|
|
1575
1606
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion/accordion.ts",
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1577
1608
|
"declarations": [
|
|
1578
1609
|
{
|
|
1579
1610
|
"kind": "class",
|
|
1580
1611
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1612
|
+
"name": "AccordionItem",
|
|
1582
1613
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1585
1616
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion",
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1587
1618
|
"customElement": true,
|
|
1588
1619
|
"attributes": [
|
|
1589
1620
|
{
|
|
1590
|
-
"name": "
|
|
1621
|
+
"name": "heading-level",
|
|
1591
1622
|
"type": {
|
|
1592
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1593
1624
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1596
1628
|
"inheritedFrom": {
|
|
1597
|
-
"name": "
|
|
1598
|
-
"module": "src/accordion/accordion.ts"
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": "boolean"
|
|
1636
|
+
},
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "id",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1599
1655
|
}
|
|
1600
1656
|
}
|
|
1601
1657
|
],
|
|
1602
1658
|
"members": [
|
|
1603
1659
|
{
|
|
1604
1660
|
"kind": "field",
|
|
1605
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1606
1662
|
"type": {
|
|
1607
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1608
1664
|
},
|
|
1609
1665
|
"privacy": "public",
|
|
1610
|
-
"
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1611
1668
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion/accordion.ts"
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1614
1671
|
}
|
|
1615
1672
|
},
|
|
1616
1673
|
{
|
|
1617
1674
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1619
1676
|
"type": {
|
|
1620
|
-
"text": "
|
|
1677
|
+
"text": "boolean"
|
|
1621
1678
|
},
|
|
1622
|
-
"privacy": "
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1623
1682
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1626
1685
|
}
|
|
1627
1686
|
},
|
|
1628
1687
|
{
|
|
1629
1688
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1631
1690
|
"type": {
|
|
1632
|
-
"text": "
|
|
1691
|
+
"text": "string"
|
|
1633
1692
|
},
|
|
1634
|
-
"privacy": "
|
|
1635
|
-
"
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1636
1695
|
"inheritedFrom": {
|
|
1637
|
-
"name": "
|
|
1638
|
-
"module": "src/accordion/accordion.ts"
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1639
1698
|
}
|
|
1640
1699
|
},
|
|
1641
1700
|
{
|
|
1642
1701
|
"kind": "field",
|
|
1643
|
-
"name": "
|
|
1644
|
-
"type": {
|
|
1645
|
-
"text": "Array<string | null>"
|
|
1646
|
-
},
|
|
1702
|
+
"name": "change",
|
|
1647
1703
|
"privacy": "private",
|
|
1648
1704
|
"inheritedFrom": {
|
|
1649
|
-
"name": "
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1651
1707
|
}
|
|
1652
1708
|
},
|
|
1653
1709
|
{
|
|
1654
1710
|
"kind": "field",
|
|
1655
|
-
"name": "
|
|
1711
|
+
"name": "_presentation",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1714
|
+
},
|
|
1656
1715
|
"privacy": "private",
|
|
1716
|
+
"default": "void 0",
|
|
1657
1717
|
"inheritedFrom": {
|
|
1658
|
-
"name": "
|
|
1659
|
-
"module": "src/
|
|
1718
|
+
"name": "FoundationElement",
|
|
1719
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1660
1720
|
}
|
|
1661
1721
|
},
|
|
1662
1722
|
{
|
|
1663
|
-
"kind": "
|
|
1664
|
-
"name": "
|
|
1665
|
-
"
|
|
1666
|
-
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "AccordionItem | null"
|
|
1669
|
-
}
|
|
1723
|
+
"kind": "field",
|
|
1724
|
+
"name": "$presentation",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "ComponentPresentation | null"
|
|
1670
1727
|
},
|
|
1728
|
+
"privacy": "public",
|
|
1729
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1671
1730
|
"inheritedFrom": {
|
|
1672
|
-
"name": "
|
|
1673
|
-
"module": "src/
|
|
1731
|
+
"name": "FoundationElement",
|
|
1732
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1674
1733
|
}
|
|
1675
1734
|
},
|
|
1676
1735
|
{
|
|
1677
1736
|
"kind": "field",
|
|
1678
|
-
"name": "
|
|
1679
|
-
"
|
|
1737
|
+
"name": "template",
|
|
1738
|
+
"type": {
|
|
1739
|
+
"text": "ElementViewTemplate | void | null"
|
|
1740
|
+
},
|
|
1741
|
+
"privacy": "public",
|
|
1742
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1680
1743
|
"inheritedFrom": {
|
|
1681
|
-
"name": "
|
|
1682
|
-
"module": "src/
|
|
1744
|
+
"name": "FoundationElement",
|
|
1745
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1683
1746
|
}
|
|
1684
1747
|
},
|
|
1685
1748
|
{
|
|
1686
1749
|
"kind": "method",
|
|
1687
|
-
"name": "
|
|
1688
|
-
"privacy": "
|
|
1750
|
+
"name": "templateChanged",
|
|
1751
|
+
"privacy": "protected",
|
|
1689
1752
|
"return": {
|
|
1690
1753
|
"type": {
|
|
1691
1754
|
"text": "void"
|
|
1692
1755
|
}
|
|
1693
1756
|
},
|
|
1694
1757
|
"inheritedFrom": {
|
|
1695
|
-
"name": "
|
|
1696
|
-
"module": "src/
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"kind": "field",
|
|
1701
|
-
"name": "removeItemListeners",
|
|
1702
|
-
"privacy": "private",
|
|
1703
|
-
"inheritedFrom": {
|
|
1704
|
-
"name": "Accordion",
|
|
1705
|
-
"module": "src/accordion/accordion.ts"
|
|
1758
|
+
"name": "FoundationElement",
|
|
1759
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1706
1760
|
}
|
|
1707
1761
|
},
|
|
1708
1762
|
{
|
|
1709
1763
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1711
|
-
"
|
|
1764
|
+
"name": "styles",
|
|
1765
|
+
"type": {
|
|
1766
|
+
"text": "ElementStyles | void | null"
|
|
1767
|
+
},
|
|
1768
|
+
"privacy": "public",
|
|
1769
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1712
1770
|
"inheritedFrom": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "src/
|
|
1771
|
+
"name": "FoundationElement",
|
|
1772
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1715
1773
|
}
|
|
1716
1774
|
},
|
|
1717
1775
|
{
|
|
1718
1776
|
"kind": "method",
|
|
1719
|
-
"name": "
|
|
1720
|
-
"privacy": "
|
|
1777
|
+
"name": "stylesChanged",
|
|
1778
|
+
"privacy": "protected",
|
|
1721
1779
|
"return": {
|
|
1722
1780
|
"type": {
|
|
1723
|
-
"text": "
|
|
1781
|
+
"text": "void"
|
|
1724
1782
|
}
|
|
1725
1783
|
},
|
|
1726
1784
|
"inheritedFrom": {
|
|
1727
|
-
"name": "
|
|
1728
|
-
"module": "src/
|
|
1785
|
+
"name": "FoundationElement",
|
|
1786
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1729
1787
|
}
|
|
1730
1788
|
},
|
|
1731
1789
|
{
|
|
1732
1790
|
"kind": "method",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"privacy": "
|
|
1791
|
+
"name": "compose",
|
|
1792
|
+
"privacy": "public",
|
|
1793
|
+
"static": true,
|
|
1735
1794
|
"return": {
|
|
1736
1795
|
"type": {
|
|
1737
|
-
"text": "
|
|
1796
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1738
1797
|
}
|
|
1739
1798
|
},
|
|
1799
|
+
"parameters": [
|
|
1800
|
+
{
|
|
1801
|
+
"name": "this",
|
|
1802
|
+
"type": {
|
|
1803
|
+
"text": "K"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "elementDefinition",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "T"
|
|
1810
|
+
},
|
|
1811
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1814
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1740
1815
|
"inheritedFrom": {
|
|
1741
|
-
"name": "
|
|
1742
|
-
"module": "src/
|
|
1816
|
+
"name": "FoundationElement",
|
|
1817
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1743
1818
|
}
|
|
1744
|
-
}
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"events": [
|
|
1745
1822
|
{
|
|
1746
|
-
"
|
|
1747
|
-
"name": "handleItemKeyDown",
|
|
1748
|
-
"privacy": "private",
|
|
1749
|
-
"inheritedFrom": {
|
|
1750
|
-
"name": "Accordion",
|
|
1751
|
-
"module": "src/accordion/accordion.ts"
|
|
1752
|
-
}
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "handleItemFocus",
|
|
1757
|
-
"privacy": "private",
|
|
1758
|
-
"inheritedFrom": {
|
|
1759
|
-
"name": "Accordion",
|
|
1760
|
-
"module": "src/accordion/accordion.ts"
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"kind": "method",
|
|
1765
|
-
"name": "adjust",
|
|
1766
|
-
"privacy": "private",
|
|
1767
|
-
"return": {
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "void"
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
"parameters": [
|
|
1773
|
-
{
|
|
1774
|
-
"name": "adjustment",
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "number"
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
],
|
|
1780
|
-
"inheritedFrom": {
|
|
1781
|
-
"name": "Accordion",
|
|
1782
|
-
"module": "src/accordion/accordion.ts"
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "method",
|
|
1787
|
-
"name": "focusItem",
|
|
1788
|
-
"privacy": "private",
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "void"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
"inheritedFrom": {
|
|
1795
|
-
"name": "Accordion",
|
|
1796
|
-
"module": "src/accordion/accordion.ts"
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "field",
|
|
1801
|
-
"name": "_presentation",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1804
|
-
},
|
|
1805
|
-
"privacy": "private",
|
|
1806
|
-
"default": "void 0",
|
|
1807
|
-
"inheritedFrom": {
|
|
1808
|
-
"name": "FoundationElement",
|
|
1809
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"kind": "field",
|
|
1814
|
-
"name": "$presentation",
|
|
1815
|
-
"type": {
|
|
1816
|
-
"text": "ComponentPresentation | null"
|
|
1817
|
-
},
|
|
1818
|
-
"privacy": "public",
|
|
1819
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1820
|
-
"inheritedFrom": {
|
|
1821
|
-
"name": "FoundationElement",
|
|
1822
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"kind": "field",
|
|
1827
|
-
"name": "template",
|
|
1828
|
-
"type": {
|
|
1829
|
-
"text": "ElementViewTemplate | void | null"
|
|
1830
|
-
},
|
|
1831
|
-
"privacy": "public",
|
|
1832
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1833
|
-
"inheritedFrom": {
|
|
1834
|
-
"name": "FoundationElement",
|
|
1835
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "method",
|
|
1840
|
-
"name": "templateChanged",
|
|
1841
|
-
"privacy": "protected",
|
|
1842
|
-
"return": {
|
|
1843
|
-
"type": {
|
|
1844
|
-
"text": "void"
|
|
1845
|
-
}
|
|
1846
|
-
},
|
|
1847
|
-
"inheritedFrom": {
|
|
1848
|
-
"name": "FoundationElement",
|
|
1849
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"kind": "field",
|
|
1854
|
-
"name": "styles",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "ElementStyles | void | null"
|
|
1857
|
-
},
|
|
1858
|
-
"privacy": "public",
|
|
1859
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1860
|
-
"inheritedFrom": {
|
|
1861
|
-
"name": "FoundationElement",
|
|
1862
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"kind": "method",
|
|
1867
|
-
"name": "stylesChanged",
|
|
1868
|
-
"privacy": "protected",
|
|
1869
|
-
"return": {
|
|
1870
|
-
"type": {
|
|
1871
|
-
"text": "void"
|
|
1872
|
-
}
|
|
1873
|
-
},
|
|
1874
|
-
"inheritedFrom": {
|
|
1875
|
-
"name": "FoundationElement",
|
|
1876
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"kind": "method",
|
|
1881
|
-
"name": "compose",
|
|
1882
|
-
"privacy": "public",
|
|
1883
|
-
"static": true,
|
|
1884
|
-
"return": {
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1887
|
-
}
|
|
1888
|
-
},
|
|
1889
|
-
"parameters": [
|
|
1890
|
-
{
|
|
1891
|
-
"name": "this",
|
|
1892
|
-
"type": {
|
|
1893
|
-
"text": "K"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"name": "elementDefinition",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "T"
|
|
1900
|
-
},
|
|
1901
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1902
|
-
}
|
|
1903
|
-
],
|
|
1904
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1905
|
-
"inheritedFrom": {
|
|
1906
|
-
"name": "FoundationElement",
|
|
1907
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
],
|
|
1911
|
-
"events": [
|
|
1912
|
-
{
|
|
1913
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1914
1824
|
"name": "change",
|
|
1915
1825
|
"inheritedFrom": {
|
|
1916
|
-
"name": "
|
|
1917
|
-
"module": "src/accordion/accordion.ts"
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1918
1828
|
}
|
|
1919
1829
|
}
|
|
1920
1830
|
]
|
|
1921
1831
|
},
|
|
1922
1832
|
{
|
|
1923
1833
|
"kind": "variable",
|
|
1924
|
-
"name": "
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1925
1835
|
"type": {
|
|
1926
1836
|
"text": "ShadowRootInit"
|
|
1927
1837
|
},
|
|
@@ -1929,88 +1839,57 @@
|
|
|
1929
1839
|
},
|
|
1930
1840
|
{
|
|
1931
1841
|
"kind": "variable",
|
|
1932
|
-
"name": "
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1933
1843
|
"type": {
|
|
1934
1844
|
"text": "object"
|
|
1935
1845
|
},
|
|
1936
|
-
"default": "{}"
|
|
1846
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1937
1847
|
},
|
|
1938
1848
|
{
|
|
1939
1849
|
"kind": "variable",
|
|
1940
|
-
"name": "
|
|
1941
|
-
"description": "The Foundation Accordion",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
1942
1852
|
"privacy": "public"
|
|
1943
1853
|
}
|
|
1944
1854
|
],
|
|
1945
1855
|
"exports": [
|
|
1946
1856
|
{
|
|
1947
1857
|
"kind": "js",
|
|
1948
|
-
"name": "
|
|
1949
|
-
"declaration": {
|
|
1950
|
-
"name": "Accordion",
|
|
1951
|
-
"module": "src/accordion/accordion.ts"
|
|
1952
|
-
}
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"kind": "js",
|
|
1956
|
-
"name": "foundationAccordionShadowOptions",
|
|
1957
|
-
"declaration": {
|
|
1958
|
-
"name": "foundationAccordionShadowOptions",
|
|
1959
|
-
"module": "src/accordion/accordion.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"kind": "js",
|
|
1964
|
-
"name": "defaultAccordionConfig",
|
|
1858
|
+
"name": "AccordionItem",
|
|
1965
1859
|
"declaration": {
|
|
1966
|
-
"name": "
|
|
1967
|
-
"module": "src/accordion/accordion.ts"
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1968
1862
|
}
|
|
1969
1863
|
},
|
|
1970
1864
|
{
|
|
1971
1865
|
"kind": "js",
|
|
1972
|
-
"name": "
|
|
1973
|
-
"declaration": {
|
|
1974
|
-
"name": "foundationAccordion",
|
|
1975
|
-
"module": "src/accordion/accordion.ts"
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
]
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/accordion/index.ts",
|
|
1983
|
-
"declarations": [],
|
|
1984
|
-
"exports": [
|
|
1985
|
-
{
|
|
1986
|
-
"kind": "js",
|
|
1987
|
-
"name": "*",
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1988
1867
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1870
|
}
|
|
1992
1871
|
},
|
|
1993
1872
|
{
|
|
1994
1873
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1996
1875
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1878
|
}
|
|
2000
1879
|
},
|
|
2001
1880
|
{
|
|
2002
1881
|
"kind": "js",
|
|
2003
|
-
"name": "
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
2004
1883
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2007
1886
|
}
|
|
2008
1887
|
}
|
|
2009
1888
|
]
|
|
2010
1889
|
},
|
|
2011
1890
|
{
|
|
2012
1891
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2014
1893
|
"declarations": [],
|
|
2015
1894
|
"exports": [
|
|
2016
1895
|
{
|
|
@@ -2018,7 +1897,7 @@
|
|
|
2018
1897
|
"name": "*",
|
|
2019
1898
|
"declaration": {
|
|
2020
1899
|
"name": "*",
|
|
2021
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2022
1901
|
}
|
|
2023
1902
|
},
|
|
2024
1903
|
{
|
|
@@ -2026,7 +1905,7 @@
|
|
|
2026
1905
|
"name": "*",
|
|
2027
1906
|
"declaration": {
|
|
2028
1907
|
"name": "*",
|
|
2029
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2030
1909
|
}
|
|
2031
1910
|
},
|
|
2032
1911
|
{
|
|
@@ -2034,7 +1913,7 @@
|
|
|
2034
1913
|
"name": "*",
|
|
2035
1914
|
"declaration": {
|
|
2036
1915
|
"name": "*",
|
|
2037
|
-
"package": "./
|
|
1916
|
+
"package": "./accordion-item"
|
|
2038
1917
|
}
|
|
2039
1918
|
}
|
|
2040
1919
|
]
|
|
@@ -2766,208 +2645,275 @@
|
|
|
2766
2645
|
},
|
|
2767
2646
|
{
|
|
2768
2647
|
"kind": "javascript-module",
|
|
2769
|
-
"path": "src/
|
|
2648
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2770
2649
|
"declarations": [
|
|
2771
2650
|
{
|
|
2772
|
-
"kind": "
|
|
2773
|
-
"name": "
|
|
2774
|
-
"
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
"
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2651
|
+
"kind": "function",
|
|
2652
|
+
"name": "foundationAccordionStyles",
|
|
2653
|
+
"return": {
|
|
2654
|
+
"type": {
|
|
2655
|
+
"text": "ElementStyles"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2658
|
+
"parameters": [
|
|
2659
|
+
{
|
|
2660
|
+
"name": "context",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ElementDefinitionContext"
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"name": "definition",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "FoundationElementDefinition"
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
]
|
|
2672
|
+
}
|
|
2673
|
+
],
|
|
2674
|
+
"exports": [
|
|
2675
|
+
{
|
|
2676
|
+
"kind": "js",
|
|
2677
|
+
"name": "foundationAccordionStyles",
|
|
2678
|
+
"declaration": {
|
|
2679
|
+
"name": "foundationAccordionStyles",
|
|
2680
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2784
2681
|
}
|
|
2785
2682
|
}
|
|
2786
2683
|
]
|
|
2787
2684
|
},
|
|
2788
2685
|
{
|
|
2789
2686
|
"kind": "javascript-module",
|
|
2790
|
-
"path": "src/
|
|
2687
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2791
2688
|
"declarations": [
|
|
2792
2689
|
{
|
|
2793
|
-
"kind": "
|
|
2794
|
-
"name": "
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2690
|
+
"kind": "function",
|
|
2691
|
+
"name": "foundationAccordionTemplate",
|
|
2692
|
+
"return": {
|
|
2693
|
+
"type": {
|
|
2694
|
+
"text": "ViewTemplate<Accordion>"
|
|
2695
|
+
}
|
|
2797
2696
|
},
|
|
2798
|
-
"
|
|
2697
|
+
"parameters": [
|
|
2698
|
+
{
|
|
2699
|
+
"name": "context",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"text": "ElementDefinitionContext"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"name": "definition",
|
|
2706
|
+
"type": {
|
|
2707
|
+
"text": "FoundationElementDefinition"
|
|
2708
|
+
}
|
|
2709
|
+
}
|
|
2710
|
+
]
|
|
2799
2711
|
}
|
|
2800
2712
|
],
|
|
2801
2713
|
"exports": [
|
|
2802
2714
|
{
|
|
2803
2715
|
"kind": "js",
|
|
2804
|
-
"name": "
|
|
2716
|
+
"name": "foundationAccordionTemplate",
|
|
2805
2717
|
"declaration": {
|
|
2806
|
-
"name": "
|
|
2807
|
-
"module": "src/
|
|
2718
|
+
"name": "foundationAccordionTemplate",
|
|
2719
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2808
2720
|
}
|
|
2809
2721
|
}
|
|
2810
2722
|
]
|
|
2811
2723
|
},
|
|
2812
2724
|
{
|
|
2813
2725
|
"kind": "javascript-module",
|
|
2814
|
-
"path": "src/
|
|
2726
|
+
"path": "src/accordion/accordion.ts",
|
|
2815
2727
|
"declarations": [
|
|
2816
2728
|
{
|
|
2817
2729
|
"kind": "class",
|
|
2818
|
-
"description": "
|
|
2819
|
-
"name": "
|
|
2820
|
-
"
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
},
|
|
2730
|
+
"description": "",
|
|
2731
|
+
"name": "Accordion",
|
|
2732
|
+
"superclass": {
|
|
2733
|
+
"name": "FASTAccordion",
|
|
2734
|
+
"package": "@microsoft/fast-foundation"
|
|
2735
|
+
},
|
|
2736
|
+
"tagName": "%%prefix%%-accordion",
|
|
2737
|
+
"customElement": true,
|
|
2738
|
+
"attributes": [
|
|
2828
2739
|
{
|
|
2829
|
-
"
|
|
2830
|
-
"name": "placeholder",
|
|
2740
|
+
"name": "expand-mode",
|
|
2831
2741
|
"type": {
|
|
2832
|
-
"text": "
|
|
2742
|
+
"text": "AccordionExpandMode"
|
|
2833
2743
|
},
|
|
2834
|
-
"
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
"type": {
|
|
2840
|
-
"text": "boolean"
|
|
2744
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2745
|
+
"fieldName": "expandmode",
|
|
2746
|
+
"inheritedFrom": {
|
|
2747
|
+
"name": "Accordion",
|
|
2748
|
+
"module": "src/accordion/accordion.ts"
|
|
2841
2749
|
}
|
|
2842
|
-
}
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
"name": "inputValue",
|
|
2846
|
-
"type": {
|
|
2847
|
-
"text": "string"
|
|
2848
|
-
},
|
|
2849
|
-
"default": "''"
|
|
2850
|
-
},
|
|
2750
|
+
}
|
|
2751
|
+
],
|
|
2752
|
+
"members": [
|
|
2851
2753
|
{
|
|
2852
2754
|
"kind": "field",
|
|
2853
|
-
"name": "
|
|
2755
|
+
"name": "expandmode",
|
|
2854
2756
|
"type": {
|
|
2855
|
-
"text": "
|
|
2757
|
+
"text": "AccordionExpandMode"
|
|
2856
2758
|
},
|
|
2857
|
-
"
|
|
2759
|
+
"privacy": "public",
|
|
2760
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2761
|
+
"inheritedFrom": {
|
|
2762
|
+
"name": "Accordion",
|
|
2763
|
+
"module": "src/accordion/accordion.ts"
|
|
2764
|
+
}
|
|
2858
2765
|
},
|
|
2859
2766
|
{
|
|
2860
2767
|
"kind": "field",
|
|
2861
|
-
"name": "
|
|
2768
|
+
"name": "activeid",
|
|
2862
2769
|
"type": {
|
|
2863
2770
|
"text": "string | null"
|
|
2864
2771
|
},
|
|
2865
|
-
"
|
|
2772
|
+
"privacy": "private",
|
|
2773
|
+
"inheritedFrom": {
|
|
2774
|
+
"name": "Accordion",
|
|
2775
|
+
"module": "src/accordion/accordion.ts"
|
|
2776
|
+
}
|
|
2866
2777
|
},
|
|
2867
2778
|
{
|
|
2868
2779
|
"kind": "field",
|
|
2869
|
-
"name": "
|
|
2780
|
+
"name": "activeItemIndex",
|
|
2870
2781
|
"type": {
|
|
2871
|
-
"text": "
|
|
2782
|
+
"text": "number"
|
|
2872
2783
|
},
|
|
2873
|
-
"
|
|
2784
|
+
"privacy": "private",
|
|
2785
|
+
"default": "0",
|
|
2786
|
+
"inheritedFrom": {
|
|
2787
|
+
"name": "Accordion",
|
|
2788
|
+
"module": "src/accordion/accordion.ts"
|
|
2789
|
+
}
|
|
2874
2790
|
},
|
|
2875
2791
|
{
|
|
2876
2792
|
"kind": "field",
|
|
2877
|
-
"name": "
|
|
2793
|
+
"name": "accordionIds",
|
|
2878
2794
|
"type": {
|
|
2879
|
-
"text": "
|
|
2795
|
+
"text": "Array<string | null>"
|
|
2880
2796
|
},
|
|
2881
|
-
"
|
|
2797
|
+
"privacy": "private",
|
|
2798
|
+
"inheritedFrom": {
|
|
2799
|
+
"name": "Accordion",
|
|
2800
|
+
"module": "src/accordion/accordion.ts"
|
|
2801
|
+
}
|
|
2882
2802
|
},
|
|
2883
2803
|
{
|
|
2884
2804
|
"kind": "field",
|
|
2885
|
-
"name": "
|
|
2886
|
-
"
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2805
|
+
"name": "change",
|
|
2806
|
+
"privacy": "private",
|
|
2807
|
+
"inheritedFrom": {
|
|
2808
|
+
"name": "Accordion",
|
|
2809
|
+
"module": "src/accordion/accordion.ts"
|
|
2810
|
+
}
|
|
2890
2811
|
},
|
|
2891
2812
|
{
|
|
2892
|
-
"kind": "
|
|
2893
|
-
"name": "
|
|
2894
|
-
"
|
|
2895
|
-
|
|
2813
|
+
"kind": "method",
|
|
2814
|
+
"name": "findExpandedItem",
|
|
2815
|
+
"privacy": "private",
|
|
2816
|
+
"return": {
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "AccordionItem | null"
|
|
2819
|
+
}
|
|
2896
2820
|
},
|
|
2897
|
-
"
|
|
2821
|
+
"inheritedFrom": {
|
|
2822
|
+
"name": "Accordion",
|
|
2823
|
+
"module": "src/accordion/accordion.ts"
|
|
2824
|
+
}
|
|
2898
2825
|
},
|
|
2899
2826
|
{
|
|
2900
2827
|
"kind": "field",
|
|
2901
|
-
"name": "
|
|
2902
|
-
"
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2828
|
+
"name": "setItems",
|
|
2829
|
+
"privacy": "private",
|
|
2830
|
+
"inheritedFrom": {
|
|
2831
|
+
"name": "Accordion",
|
|
2832
|
+
"module": "src/accordion/accordion.ts"
|
|
2833
|
+
}
|
|
2906
2834
|
},
|
|
2907
2835
|
{
|
|
2908
|
-
"kind": "
|
|
2909
|
-
"name": "
|
|
2910
|
-
"type": {
|
|
2911
|
-
"text": "(() => void) | null"
|
|
2912
|
-
},
|
|
2836
|
+
"kind": "method",
|
|
2837
|
+
"name": "resetItems",
|
|
2913
2838
|
"privacy": "private",
|
|
2914
|
-
"
|
|
2839
|
+
"return": {
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "void"
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
"inheritedFrom": {
|
|
2845
|
+
"name": "Accordion",
|
|
2846
|
+
"module": "src/accordion/accordion.ts"
|
|
2847
|
+
}
|
|
2915
2848
|
},
|
|
2916
2849
|
{
|
|
2917
2850
|
"kind": "field",
|
|
2918
|
-
"name": "
|
|
2919
|
-
"type": {
|
|
2920
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2921
|
-
},
|
|
2851
|
+
"name": "removeItemListeners",
|
|
2922
2852
|
"privacy": "private",
|
|
2923
|
-
"
|
|
2853
|
+
"inheritedFrom": {
|
|
2854
|
+
"name": "Accordion",
|
|
2855
|
+
"module": "src/accordion/accordion.ts"
|
|
2856
|
+
}
|
|
2924
2857
|
},
|
|
2925
2858
|
{
|
|
2926
2859
|
"kind": "field",
|
|
2927
|
-
"name": "
|
|
2928
|
-
"
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2860
|
+
"name": "activeItemChange",
|
|
2861
|
+
"privacy": "private",
|
|
2862
|
+
"inheritedFrom": {
|
|
2863
|
+
"name": "Accordion",
|
|
2864
|
+
"module": "src/accordion/accordion.ts"
|
|
2865
|
+
}
|
|
2932
2866
|
},
|
|
2933
2867
|
{
|
|
2934
|
-
"kind": "
|
|
2935
|
-
"name": "
|
|
2936
|
-
"
|
|
2937
|
-
|
|
2868
|
+
"kind": "method",
|
|
2869
|
+
"name": "getItemIds",
|
|
2870
|
+
"privacy": "private",
|
|
2871
|
+
"return": {
|
|
2872
|
+
"type": {
|
|
2873
|
+
"text": "Array<string | null>"
|
|
2874
|
+
}
|
|
2938
2875
|
},
|
|
2939
|
-
"
|
|
2876
|
+
"inheritedFrom": {
|
|
2877
|
+
"name": "Accordion",
|
|
2878
|
+
"module": "src/accordion/accordion.ts"
|
|
2879
|
+
}
|
|
2940
2880
|
},
|
|
2941
2881
|
{
|
|
2942
2882
|
"kind": "method",
|
|
2943
|
-
"name": "
|
|
2883
|
+
"name": "isSingleExpandMode",
|
|
2944
2884
|
"privacy": "private",
|
|
2945
2885
|
"return": {
|
|
2946
2886
|
"type": {
|
|
2947
|
-
"text": "
|
|
2887
|
+
"text": "boolean"
|
|
2948
2888
|
}
|
|
2949
2889
|
},
|
|
2950
|
-
"
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2890
|
+
"inheritedFrom": {
|
|
2891
|
+
"name": "Accordion",
|
|
2892
|
+
"module": "src/accordion/accordion.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "field",
|
|
2897
|
+
"name": "handleItemKeyDown",
|
|
2898
|
+
"privacy": "private",
|
|
2899
|
+
"inheritedFrom": {
|
|
2900
|
+
"name": "Accordion",
|
|
2901
|
+
"module": "src/accordion/accordion.ts"
|
|
2902
|
+
}
|
|
2958
2903
|
},
|
|
2959
2904
|
{
|
|
2960
|
-
"kind": "
|
|
2961
|
-
"name": "
|
|
2962
|
-
"
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2905
|
+
"kind": "field",
|
|
2906
|
+
"name": "handleItemFocus",
|
|
2907
|
+
"privacy": "private",
|
|
2908
|
+
"inheritedFrom": {
|
|
2909
|
+
"name": "Accordion",
|
|
2910
|
+
"module": "src/accordion/accordion.ts"
|
|
2966
2911
|
}
|
|
2967
2912
|
},
|
|
2968
2913
|
{
|
|
2969
2914
|
"kind": "method",
|
|
2970
|
-
"name": "
|
|
2915
|
+
"name": "adjust",
|
|
2916
|
+
"privacy": "private",
|
|
2971
2917
|
"return": {
|
|
2972
2918
|
"type": {
|
|
2973
2919
|
"text": "void"
|
|
@@ -2975,49 +2921,31 @@
|
|
|
2975
2921
|
},
|
|
2976
2922
|
"parameters": [
|
|
2977
2923
|
{
|
|
2978
|
-
"name": "
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "number"
|
|
2981
|
-
}
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
"name": "clauseIndex",
|
|
2924
|
+
"name": "adjustment",
|
|
2985
2925
|
"type": {
|
|
2986
2926
|
"text": "number"
|
|
2987
2927
|
}
|
|
2988
2928
|
}
|
|
2989
|
-
]
|
|
2929
|
+
],
|
|
2930
|
+
"inheritedFrom": {
|
|
2931
|
+
"name": "Accordion",
|
|
2932
|
+
"module": "src/accordion/accordion.ts"
|
|
2933
|
+
}
|
|
2990
2934
|
},
|
|
2991
2935
|
{
|
|
2992
2936
|
"kind": "method",
|
|
2993
|
-
"name": "
|
|
2937
|
+
"name": "focusItem",
|
|
2938
|
+
"privacy": "private",
|
|
2994
2939
|
"return": {
|
|
2995
2940
|
"type": {
|
|
2996
2941
|
"text": "void"
|
|
2997
2942
|
}
|
|
2943
|
+
},
|
|
2944
|
+
"inheritedFrom": {
|
|
2945
|
+
"name": "Accordion",
|
|
2946
|
+
"module": "src/accordion/accordion.ts"
|
|
2998
2947
|
}
|
|
2999
2948
|
},
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "method",
|
|
3002
|
-
"name": "handleSubmit"
|
|
3003
|
-
},
|
|
3004
|
-
{
|
|
3005
|
-
"kind": "method",
|
|
3006
|
-
"name": "handleBlur"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "method",
|
|
3010
|
-
"name": "clear"
|
|
3011
|
-
},
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "method",
|
|
3014
|
-
"name": "toggleSpeechInput"
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "method",
|
|
3018
|
-
"name": "clearSpeechApplyDebounce",
|
|
3019
|
-
"privacy": "private"
|
|
3020
|
-
},
|
|
3021
2949
|
{
|
|
3022
2950
|
"kind": "field",
|
|
3023
2951
|
"name": "_presentation",
|
|
@@ -3132,48 +3060,26 @@
|
|
|
3132
3060
|
],
|
|
3133
3061
|
"events": [
|
|
3134
3062
|
{
|
|
3135
|
-
"description": "
|
|
3136
|
-
"name": "
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
}
|
|
3142
|
-
],
|
|
3143
|
-
"attributes": [
|
|
3144
|
-
{
|
|
3145
|
-
"name": "placeholder",
|
|
3146
|
-
"type": {
|
|
3147
|
-
"text": "string"
|
|
3148
|
-
},
|
|
3149
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3150
|
-
"fieldName": "placeholder"
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "boolean"
|
|
3155
|
-
},
|
|
3156
|
-
"fieldName": "disabled"
|
|
3063
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3064
|
+
"name": "change",
|
|
3065
|
+
"inheritedFrom": {
|
|
3066
|
+
"name": "Accordion",
|
|
3067
|
+
"module": "src/accordion/accordion.ts"
|
|
3068
|
+
}
|
|
3157
3069
|
}
|
|
3158
|
-
]
|
|
3159
|
-
"superclass": {
|
|
3160
|
-
"name": "FoundationElement",
|
|
3161
|
-
"package": "@microsoft/fast-foundation"
|
|
3162
|
-
},
|
|
3163
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3164
|
-
"customElement": true
|
|
3070
|
+
]
|
|
3165
3071
|
},
|
|
3166
3072
|
{
|
|
3167
3073
|
"kind": "variable",
|
|
3168
|
-
"name": "
|
|
3074
|
+
"name": "foundationAccordionShadowOptions",
|
|
3169
3075
|
"type": {
|
|
3170
3076
|
"text": "ShadowRootInit"
|
|
3171
3077
|
},
|
|
3172
|
-
"default": "
|
|
3078
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3173
3079
|
},
|
|
3174
3080
|
{
|
|
3175
3081
|
"kind": "variable",
|
|
3176
|
-
"name": "
|
|
3082
|
+
"name": "defaultAccordionConfig",
|
|
3177
3083
|
"type": {
|
|
3178
3084
|
"text": "object"
|
|
3179
3085
|
},
|
|
@@ -3181,269 +3087,130 @@
|
|
|
3181
3087
|
},
|
|
3182
3088
|
{
|
|
3183
3089
|
"kind": "variable",
|
|
3184
|
-
"name": "
|
|
3090
|
+
"name": "foundationAccordion",
|
|
3091
|
+
"description": "The Foundation Accordion",
|
|
3092
|
+
"privacy": "public"
|
|
3185
3093
|
}
|
|
3186
3094
|
],
|
|
3187
3095
|
"exports": [
|
|
3188
3096
|
{
|
|
3189
3097
|
"kind": "js",
|
|
3190
|
-
"name": "
|
|
3098
|
+
"name": "Accordion",
|
|
3191
3099
|
"declaration": {
|
|
3192
|
-
"name": "
|
|
3193
|
-
"module": "src/
|
|
3100
|
+
"name": "Accordion",
|
|
3101
|
+
"module": "src/accordion/accordion.ts"
|
|
3194
3102
|
}
|
|
3195
3103
|
},
|
|
3196
3104
|
{
|
|
3197
3105
|
"kind": "js",
|
|
3198
|
-
"name": "
|
|
3106
|
+
"name": "foundationAccordionShadowOptions",
|
|
3199
3107
|
"declaration": {
|
|
3200
|
-
"name": "
|
|
3201
|
-
"module": "src/
|
|
3108
|
+
"name": "foundationAccordionShadowOptions",
|
|
3109
|
+
"module": "src/accordion/accordion.ts"
|
|
3202
3110
|
}
|
|
3203
3111
|
},
|
|
3204
3112
|
{
|
|
3205
3113
|
"kind": "js",
|
|
3206
|
-
"name": "
|
|
3114
|
+
"name": "defaultAccordionConfig",
|
|
3207
3115
|
"declaration": {
|
|
3208
|
-
"name": "
|
|
3209
|
-
"module": "src/
|
|
3116
|
+
"name": "defaultAccordionConfig",
|
|
3117
|
+
"module": "src/accordion/accordion.ts"
|
|
3210
3118
|
}
|
|
3211
3119
|
},
|
|
3212
3120
|
{
|
|
3213
3121
|
"kind": "js",
|
|
3214
|
-
"name": "
|
|
3122
|
+
"name": "foundationAccordion",
|
|
3215
3123
|
"declaration": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"module": "src/
|
|
3124
|
+
"name": "foundationAccordion",
|
|
3125
|
+
"module": "src/accordion/accordion.ts"
|
|
3218
3126
|
}
|
|
3219
3127
|
}
|
|
3220
3128
|
]
|
|
3221
3129
|
},
|
|
3222
3130
|
{
|
|
3223
3131
|
"kind": "javascript-module",
|
|
3224
|
-
"path": "src/
|
|
3132
|
+
"path": "src/accordion/index.ts",
|
|
3225
3133
|
"declarations": [],
|
|
3226
3134
|
"exports": [
|
|
3227
|
-
{
|
|
3228
|
-
"kind": "js",
|
|
3229
|
-
"name": "AiCriteriaSearch",
|
|
3230
|
-
"declaration": {
|
|
3231
|
-
"name": "AiCriteriaSearch",
|
|
3232
|
-
"module": "./ai-criteria-search"
|
|
3233
|
-
}
|
|
3234
|
-
},
|
|
3235
|
-
{
|
|
3236
|
-
"kind": "js",
|
|
3237
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3238
|
-
"declaration": {
|
|
3239
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3240
|
-
"module": "./ai-criteria-search"
|
|
3241
|
-
}
|
|
3242
|
-
},
|
|
3243
|
-
{
|
|
3244
|
-
"kind": "js",
|
|
3245
|
-
"name": "foundationAiCriteriaSearch",
|
|
3246
|
-
"declaration": {
|
|
3247
|
-
"name": "foundationAiCriteriaSearch",
|
|
3248
|
-
"module": "./ai-criteria-search"
|
|
3249
|
-
}
|
|
3250
|
-
},
|
|
3251
|
-
{
|
|
3252
|
-
"kind": "js",
|
|
3253
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3254
|
-
"declaration": {
|
|
3255
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3256
|
-
"module": "./ai-criteria-search"
|
|
3257
|
-
}
|
|
3258
|
-
},
|
|
3259
|
-
{
|
|
3260
|
-
"kind": "js",
|
|
3261
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3262
|
-
"declaration": {
|
|
3263
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3264
|
-
"module": "./ai-criteria-search.styles"
|
|
3265
|
-
}
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"kind": "js",
|
|
3269
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3270
|
-
"declaration": {
|
|
3271
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3272
|
-
"module": "./ai-criteria-search.template"
|
|
3273
|
-
}
|
|
3274
|
-
},
|
|
3275
|
-
{
|
|
3276
|
-
"kind": "js",
|
|
3277
|
-
"name": "*",
|
|
3278
|
-
"declaration": {
|
|
3279
|
-
"name": "*",
|
|
3280
|
-
"package": "./validation/criteria-ir"
|
|
3281
|
-
}
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"kind": "js",
|
|
3285
|
-
"name": "*",
|
|
3286
|
-
"declaration": {
|
|
3287
|
-
"name": "*",
|
|
3288
|
-
"package": "./validation/operator-map"
|
|
3289
|
-
}
|
|
3290
|
-
},
|
|
3291
3135
|
{
|
|
3292
3136
|
"kind": "js",
|
|
3293
3137
|
"name": "*",
|
|
3294
3138
|
"declaration": {
|
|
3295
3139
|
"name": "*",
|
|
3296
|
-
"package": "./
|
|
3140
|
+
"package": "./accordion.template"
|
|
3297
3141
|
}
|
|
3298
|
-
}
|
|
3299
|
-
]
|
|
3300
|
-
},
|
|
3301
|
-
{
|
|
3302
|
-
"kind": "javascript-module",
|
|
3303
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3304
|
-
"declarations": [
|
|
3305
|
-
{
|
|
3306
|
-
"kind": "function",
|
|
3307
|
-
"name": "formatValidationErrors",
|
|
3308
|
-
"return": {
|
|
3309
|
-
"type": {
|
|
3310
|
-
"text": "string"
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
|
-
"parameters": [
|
|
3314
|
-
{
|
|
3315
|
-
"name": "errors",
|
|
3316
|
-
"type": {
|
|
3317
|
-
"text": "ValidationError[]"
|
|
3318
|
-
}
|
|
3319
|
-
}
|
|
3320
|
-
],
|
|
3321
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3322
|
-
},
|
|
3323
|
-
{
|
|
3324
|
-
"kind": "function",
|
|
3325
|
-
"name": "showCriteriaError",
|
|
3326
|
-
"return": {
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "void"
|
|
3329
|
-
}
|
|
3330
|
-
},
|
|
3331
|
-
"parameters": [
|
|
3332
|
-
{
|
|
3333
|
-
"name": "title",
|
|
3334
|
-
"type": {
|
|
3335
|
-
"text": "string"
|
|
3336
|
-
},
|
|
3337
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3338
|
-
},
|
|
3339
|
-
{
|
|
3340
|
-
"name": "body",
|
|
3341
|
-
"type": {
|
|
3342
|
-
"text": "string"
|
|
3343
|
-
},
|
|
3344
|
-
"description": "Error message to display"
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
"name": "tagName",
|
|
3348
|
-
"type": {
|
|
3349
|
-
"text": "string"
|
|
3350
|
-
},
|
|
3351
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3352
|
-
}
|
|
3353
|
-
],
|
|
3354
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3355
|
-
}
|
|
3356
|
-
],
|
|
3357
|
-
"exports": [
|
|
3142
|
+
},
|
|
3358
3143
|
{
|
|
3359
3144
|
"kind": "js",
|
|
3360
|
-
"name": "
|
|
3145
|
+
"name": "*",
|
|
3361
3146
|
"declaration": {
|
|
3362
|
-
"name": "
|
|
3363
|
-
"
|
|
3147
|
+
"name": "*",
|
|
3148
|
+
"package": "./accordion.styles"
|
|
3364
3149
|
}
|
|
3365
3150
|
},
|
|
3366
3151
|
{
|
|
3367
3152
|
"kind": "js",
|
|
3368
|
-
"name": "
|
|
3153
|
+
"name": "*",
|
|
3369
3154
|
"declaration": {
|
|
3370
|
-
"name": "
|
|
3371
|
-
"
|
|
3155
|
+
"name": "*",
|
|
3156
|
+
"package": "./accordion"
|
|
3372
3157
|
}
|
|
3373
3158
|
}
|
|
3374
3159
|
]
|
|
3375
3160
|
},
|
|
3376
3161
|
{
|
|
3377
3162
|
"kind": "javascript-module",
|
|
3378
|
-
"path": "src/ai-
|
|
3163
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3379
3164
|
"declarations": [
|
|
3380
3165
|
{
|
|
3381
|
-
"kind": "
|
|
3382
|
-
"name": "
|
|
3383
|
-
"
|
|
3384
|
-
"type": {
|
|
3385
|
-
"text": "ElementStyles"
|
|
3386
|
-
}
|
|
3387
|
-
},
|
|
3388
|
-
"parameters": [
|
|
3389
|
-
{
|
|
3390
|
-
"name": "context",
|
|
3391
|
-
"type": {
|
|
3392
|
-
"text": "ElementDefinitionContext"
|
|
3393
|
-
}
|
|
3394
|
-
},
|
|
3395
|
-
{
|
|
3396
|
-
"name": "definition",
|
|
3397
|
-
"type": {
|
|
3398
|
-
"text": "FoundationElementDefinition"
|
|
3399
|
-
}
|
|
3400
|
-
}
|
|
3401
|
-
]
|
|
3166
|
+
"kind": "variable",
|
|
3167
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3168
|
+
"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`"
|
|
3402
3169
|
}
|
|
3403
3170
|
],
|
|
3404
3171
|
"exports": [
|
|
3405
3172
|
{
|
|
3406
3173
|
"kind": "js",
|
|
3407
|
-
"name": "
|
|
3174
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3408
3175
|
"declaration": {
|
|
3409
|
-
"name": "
|
|
3410
|
-
"module": "src/ai-
|
|
3176
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3177
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3411
3178
|
}
|
|
3412
3179
|
}
|
|
3413
3180
|
]
|
|
3414
3181
|
},
|
|
3415
3182
|
{
|
|
3416
3183
|
"kind": "javascript-module",
|
|
3417
|
-
"path": "src/ai-
|
|
3184
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3418
3185
|
"declarations": [
|
|
3419
3186
|
{
|
|
3420
3187
|
"kind": "variable",
|
|
3421
|
-
"name": "
|
|
3188
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3422
3189
|
"type": {
|
|
3423
|
-
"text": "ViewTemplate<
|
|
3190
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3424
3191
|
},
|
|
3425
|
-
"default": "html`\n ${(x) =>
|
|
3192
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3426
3193
|
}
|
|
3427
3194
|
],
|
|
3428
3195
|
"exports": [
|
|
3429
3196
|
{
|
|
3430
3197
|
"kind": "js",
|
|
3431
|
-
"name": "
|
|
3198
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3432
3199
|
"declaration": {
|
|
3433
|
-
"name": "
|
|
3434
|
-
"module": "src/ai-
|
|
3200
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3201
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3435
3202
|
}
|
|
3436
3203
|
}
|
|
3437
3204
|
]
|
|
3438
3205
|
},
|
|
3439
3206
|
{
|
|
3440
3207
|
"kind": "javascript-module",
|
|
3441
|
-
"path": "src/ai-
|
|
3208
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3442
3209
|
"declarations": [
|
|
3443
3210
|
{
|
|
3444
3211
|
"kind": "class",
|
|
3445
|
-
"description": "",
|
|
3446
|
-
"name": "
|
|
3212
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3213
|
+
"name": "AiCriteriaSearch",
|
|
3447
3214
|
"members": [
|
|
3448
3215
|
{
|
|
3449
3216
|
"kind": "field",
|
|
@@ -3454,25 +3221,54 @@
|
|
|
3454
3221
|
},
|
|
3455
3222
|
{
|
|
3456
3223
|
"kind": "field",
|
|
3457
|
-
"name": "
|
|
3224
|
+
"name": "placeholder",
|
|
3458
3225
|
"type": {
|
|
3459
|
-
"text": "
|
|
3226
|
+
"text": "string"
|
|
3460
3227
|
},
|
|
3461
|
-
"
|
|
3462
|
-
"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.",
|
|
3463
|
-
"readonly": true
|
|
3228
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3464
3229
|
},
|
|
3465
3230
|
{
|
|
3466
3231
|
"kind": "field",
|
|
3467
|
-
"name": "
|
|
3232
|
+
"name": "disabled",
|
|
3468
3233
|
"type": {
|
|
3469
|
-
"text": "
|
|
3234
|
+
"text": "boolean"
|
|
3235
|
+
}
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"kind": "field",
|
|
3239
|
+
"name": "inputValue",
|
|
3240
|
+
"type": {
|
|
3241
|
+
"text": "string"
|
|
3242
|
+
},
|
|
3243
|
+
"default": "''"
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"kind": "field",
|
|
3247
|
+
"name": "isInterpreting",
|
|
3248
|
+
"type": {
|
|
3249
|
+
"text": "boolean"
|
|
3250
|
+
},
|
|
3251
|
+
"default": "false"
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"kind": "field",
|
|
3255
|
+
"name": "lastValidCriteria",
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "string | null"
|
|
3470
3258
|
},
|
|
3471
3259
|
"default": "null"
|
|
3472
3260
|
},
|
|
3473
3261
|
{
|
|
3474
3262
|
"kind": "field",
|
|
3475
|
-
"name": "
|
|
3263
|
+
"name": "activeGroups",
|
|
3264
|
+
"type": {
|
|
3265
|
+
"text": "CriteriaGroup[]"
|
|
3266
|
+
},
|
|
3267
|
+
"default": "[]"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "field",
|
|
3271
|
+
"name": "showingChips",
|
|
3476
3272
|
"type": {
|
|
3477
3273
|
"text": "boolean"
|
|
3478
3274
|
},
|
|
@@ -3480,15 +3276,15 @@
|
|
|
3480
3276
|
},
|
|
3481
3277
|
{
|
|
3482
3278
|
"kind": "field",
|
|
3483
|
-
"name": "
|
|
3279
|
+
"name": "fieldMetadata",
|
|
3484
3280
|
"type": {
|
|
3485
|
-
"text": "
|
|
3281
|
+
"text": "MetadataDetail[] | string[]"
|
|
3486
3282
|
},
|
|
3487
|
-
"default": "
|
|
3283
|
+
"default": "[]"
|
|
3488
3284
|
},
|
|
3489
3285
|
{
|
|
3490
3286
|
"kind": "field",
|
|
3491
|
-
"name": "
|
|
3287
|
+
"name": "isRecording",
|
|
3492
3288
|
"type": {
|
|
3493
3289
|
"text": "boolean"
|
|
3494
3290
|
},
|
|
@@ -3496,29 +3292,33 @@
|
|
|
3496
3292
|
},
|
|
3497
3293
|
{
|
|
3498
3294
|
"kind": "field",
|
|
3499
|
-
"name": "
|
|
3295
|
+
"name": "textAreaRef",
|
|
3500
3296
|
"type": {
|
|
3501
|
-
"text": "
|
|
3297
|
+
"text": "HTMLTextAreaElement"
|
|
3502
3298
|
},
|
|
3503
|
-
"privacy": "
|
|
3504
|
-
"default": "null"
|
|
3299
|
+
"privacy": "public"
|
|
3505
3300
|
},
|
|
3506
3301
|
{
|
|
3507
3302
|
"kind": "field",
|
|
3508
|
-
"name": "
|
|
3509
|
-
"
|
|
3303
|
+
"name": "stopRecording",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "(() => void) | null"
|
|
3306
|
+
},
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"default": "null"
|
|
3510
3309
|
},
|
|
3511
3310
|
{
|
|
3512
3311
|
"kind": "field",
|
|
3513
|
-
"name": "
|
|
3312
|
+
"name": "speechApplyDebounceTimer",
|
|
3514
3313
|
"type": {
|
|
3515
|
-
"text": "
|
|
3314
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3516
3315
|
},
|
|
3517
|
-
"
|
|
3316
|
+
"privacy": "private",
|
|
3317
|
+
"default": "null"
|
|
3518
3318
|
},
|
|
3519
3319
|
{
|
|
3520
3320
|
"kind": "field",
|
|
3521
|
-
"name": "
|
|
3321
|
+
"name": "speechAvailable",
|
|
3522
3322
|
"type": {
|
|
3523
3323
|
"text": "boolean"
|
|
3524
3324
|
},
|
|
@@ -3526,69 +3326,65 @@
|
|
|
3526
3326
|
},
|
|
3527
3327
|
{
|
|
3528
3328
|
"kind": "field",
|
|
3529
|
-
"name": "
|
|
3329
|
+
"name": "criteriaChips",
|
|
3530
3330
|
"type": {
|
|
3531
|
-
"text": "
|
|
3331
|
+
"text": "CriteriaChip[]"
|
|
3532
3332
|
},
|
|
3533
3333
|
"readonly": true
|
|
3534
3334
|
},
|
|
3535
3335
|
{
|
|
3536
3336
|
"kind": "method",
|
|
3537
|
-
"name": "
|
|
3337
|
+
"name": "getFieldLabel",
|
|
3338
|
+
"privacy": "private",
|
|
3538
3339
|
"return": {
|
|
3539
3340
|
"type": {
|
|
3540
|
-
"text": "
|
|
3341
|
+
"text": "string"
|
|
3541
3342
|
}
|
|
3542
|
-
}
|
|
3543
|
-
},
|
|
3544
|
-
{
|
|
3545
|
-
"kind": "method",
|
|
3546
|
-
"name": "handleClickOutside",
|
|
3547
|
-
"privacy": "private",
|
|
3343
|
+
},
|
|
3548
3344
|
"parameters": [
|
|
3549
3345
|
{
|
|
3550
|
-
"name": "
|
|
3346
|
+
"name": "fieldName",
|
|
3551
3347
|
"type": {
|
|
3552
|
-
"text": "
|
|
3348
|
+
"text": "string"
|
|
3553
3349
|
}
|
|
3554
3350
|
}
|
|
3555
3351
|
]
|
|
3556
3352
|
},
|
|
3557
3353
|
{
|
|
3558
3354
|
"kind": "method",
|
|
3559
|
-
"name": "
|
|
3560
|
-
},
|
|
3561
|
-
{
|
|
3562
|
-
"kind": "method",
|
|
3563
|
-
"name": "refreshStatus",
|
|
3355
|
+
"name": "toggleCriteriaView",
|
|
3564
3356
|
"return": {
|
|
3565
3357
|
"type": {
|
|
3566
|
-
"text": "
|
|
3358
|
+
"text": "void"
|
|
3567
3359
|
}
|
|
3568
3360
|
}
|
|
3569
3361
|
},
|
|
3570
3362
|
{
|
|
3571
3363
|
"kind": "method",
|
|
3572
|
-
"name": "
|
|
3573
|
-
"privacy": "private",
|
|
3364
|
+
"name": "removeChip",
|
|
3574
3365
|
"return": {
|
|
3575
3366
|
"type": {
|
|
3576
|
-
"text": "
|
|
3367
|
+
"text": "void"
|
|
3577
3368
|
}
|
|
3578
3369
|
},
|
|
3579
3370
|
"parameters": [
|
|
3580
3371
|
{
|
|
3581
|
-
"name": "
|
|
3372
|
+
"name": "groupIndex",
|
|
3582
3373
|
"type": {
|
|
3583
|
-
"text": "
|
|
3374
|
+
"text": "number"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "clauseIndex",
|
|
3379
|
+
"type": {
|
|
3380
|
+
"text": "number"
|
|
3584
3381
|
}
|
|
3585
3382
|
}
|
|
3586
3383
|
]
|
|
3587
3384
|
},
|
|
3588
3385
|
{
|
|
3589
3386
|
"kind": "method",
|
|
3590
|
-
"name": "
|
|
3591
|
-
"privacy": "private",
|
|
3387
|
+
"name": "clearChips",
|
|
3592
3388
|
"return": {
|
|
3593
3389
|
"type": {
|
|
3594
3390
|
"text": "void"
|
|
@@ -3597,32 +3393,24 @@
|
|
|
3597
3393
|
},
|
|
3598
3394
|
{
|
|
3599
3395
|
"kind": "method",
|
|
3600
|
-
"name": "
|
|
3601
|
-
"privacy": "private",
|
|
3602
|
-
"return": {
|
|
3603
|
-
"type": {
|
|
3604
|
-
"text": "void"
|
|
3605
|
-
}
|
|
3606
|
-
}
|
|
3396
|
+
"name": "handleSubmit"
|
|
3607
3397
|
},
|
|
3608
3398
|
{
|
|
3609
3399
|
"kind": "method",
|
|
3610
|
-
"name": "
|
|
3611
|
-
"privacy": "private",
|
|
3612
|
-
"return": {
|
|
3613
|
-
"type": {
|
|
3614
|
-
"text": "void"
|
|
3615
|
-
}
|
|
3616
|
-
}
|
|
3400
|
+
"name": "handleBlur"
|
|
3617
3401
|
},
|
|
3618
3402
|
{
|
|
3619
3403
|
"kind": "method",
|
|
3620
|
-
"name": "
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3404
|
+
"name": "clear"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "method",
|
|
3408
|
+
"name": "toggleSpeechInput"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"kind": "method",
|
|
3412
|
+
"name": "clearSpeechApplyDebounce",
|
|
3413
|
+
"privacy": "private"
|
|
3626
3414
|
},
|
|
3627
3415
|
{
|
|
3628
3416
|
"kind": "field",
|
|
@@ -3736,141 +3524,259 @@
|
|
|
3736
3524
|
}
|
|
3737
3525
|
}
|
|
3738
3526
|
],
|
|
3527
|
+
"events": [
|
|
3528
|
+
{
|
|
3529
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3530
|
+
"name": "criteria-changed"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3534
|
+
"name": "validation-errors"
|
|
3535
|
+
}
|
|
3536
|
+
],
|
|
3537
|
+
"attributes": [
|
|
3538
|
+
{
|
|
3539
|
+
"name": "placeholder",
|
|
3540
|
+
"type": {
|
|
3541
|
+
"text": "string"
|
|
3542
|
+
},
|
|
3543
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3544
|
+
"fieldName": "placeholder"
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
"type": {
|
|
3548
|
+
"text": "boolean"
|
|
3549
|
+
},
|
|
3550
|
+
"fieldName": "disabled"
|
|
3551
|
+
}
|
|
3552
|
+
],
|
|
3739
3553
|
"superclass": {
|
|
3740
3554
|
"name": "FoundationElement",
|
|
3741
3555
|
"package": "@microsoft/fast-foundation"
|
|
3742
3556
|
},
|
|
3743
|
-
"tagName": "%%prefix%%-ai-
|
|
3744
|
-
"customElement": true
|
|
3557
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3558
|
+
"customElement": true
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "variable",
|
|
3562
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3563
|
+
"type": {
|
|
3564
|
+
"text": "ShadowRootInit"
|
|
3565
|
+
},
|
|
3566
|
+
"default": "undefined"
|
|
3567
|
+
},
|
|
3568
|
+
{
|
|
3569
|
+
"kind": "variable",
|
|
3570
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3571
|
+
"type": {
|
|
3572
|
+
"text": "object"
|
|
3573
|
+
},
|
|
3574
|
+
"default": "{}"
|
|
3745
3575
|
},
|
|
3746
3576
|
{
|
|
3747
3577
|
"kind": "variable",
|
|
3748
|
-
"name": "
|
|
3578
|
+
"name": "foundationAiCriteriaSearch"
|
|
3749
3579
|
}
|
|
3750
3580
|
],
|
|
3751
3581
|
"exports": [
|
|
3752
3582
|
{
|
|
3753
3583
|
"kind": "js",
|
|
3754
|
-
"name": "
|
|
3584
|
+
"name": "AiCriteriaSearch",
|
|
3755
3585
|
"declaration": {
|
|
3756
|
-
"name": "
|
|
3757
|
-
"module": "src/ai-
|
|
3586
|
+
"name": "AiCriteriaSearch",
|
|
3587
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3758
3588
|
}
|
|
3759
3589
|
},
|
|
3760
3590
|
{
|
|
3761
3591
|
"kind": "js",
|
|
3762
|
-
"name": "
|
|
3592
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3763
3593
|
"declaration": {
|
|
3764
|
-
"name": "
|
|
3765
|
-
"module": "src/ai-
|
|
3594
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3595
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3596
|
+
}
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3603
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "foundationAiCriteriaSearch",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "foundationAiCriteriaSearch",
|
|
3611
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3766
3612
|
}
|
|
3767
3613
|
}
|
|
3768
3614
|
]
|
|
3769
3615
|
},
|
|
3770
3616
|
{
|
|
3771
3617
|
"kind": "javascript-module",
|
|
3772
|
-
"path": "src/ai-
|
|
3618
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3773
3619
|
"declarations": [],
|
|
3774
3620
|
"exports": [
|
|
3775
3621
|
{
|
|
3776
3622
|
"kind": "js",
|
|
3777
|
-
"name": "
|
|
3623
|
+
"name": "AiCriteriaSearch",
|
|
3778
3624
|
"declaration": {
|
|
3779
|
-
"name": "
|
|
3780
|
-
"module": "./ai-
|
|
3625
|
+
"name": "AiCriteriaSearch",
|
|
3626
|
+
"module": "./ai-criteria-search"
|
|
3781
3627
|
}
|
|
3782
3628
|
},
|
|
3783
3629
|
{
|
|
3784
3630
|
"kind": "js",
|
|
3785
|
-
"name": "
|
|
3631
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3786
3632
|
"declaration": {
|
|
3787
|
-
"name": "
|
|
3788
|
-
"module": "./ai-
|
|
3633
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3634
|
+
"module": "./ai-criteria-search"
|
|
3789
3635
|
}
|
|
3790
3636
|
},
|
|
3791
3637
|
{
|
|
3792
3638
|
"kind": "js",
|
|
3793
|
-
"name": "
|
|
3639
|
+
"name": "foundationAiCriteriaSearch",
|
|
3794
3640
|
"declaration": {
|
|
3795
|
-
"name": "
|
|
3796
|
-
"module": "./ai-
|
|
3641
|
+
"name": "foundationAiCriteriaSearch",
|
|
3642
|
+
"module": "./ai-criteria-search"
|
|
3797
3643
|
}
|
|
3798
3644
|
},
|
|
3799
3645
|
{
|
|
3800
3646
|
"kind": "js",
|
|
3801
|
-
"name": "
|
|
3647
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3802
3648
|
"declaration": {
|
|
3803
|
-
"name": "
|
|
3804
|
-
"module": "./ai-
|
|
3649
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3650
|
+
"module": "./ai-criteria-search"
|
|
3805
3651
|
}
|
|
3806
3652
|
},
|
|
3807
3653
|
{
|
|
3808
3654
|
"kind": "js",
|
|
3809
|
-
"name": "
|
|
3655
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3810
3656
|
"declaration": {
|
|
3811
|
-
"name": "
|
|
3812
|
-
"module": "./ai-
|
|
3657
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3658
|
+
"module": "./ai-criteria-search.styles"
|
|
3813
3659
|
}
|
|
3814
3660
|
},
|
|
3815
3661
|
{
|
|
3816
3662
|
"kind": "js",
|
|
3817
|
-
"name": "
|
|
3663
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3818
3664
|
"declaration": {
|
|
3819
|
-
"name": "
|
|
3820
|
-
"module": "./ai-
|
|
3665
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3666
|
+
"module": "./ai-criteria-search.template"
|
|
3667
|
+
}
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
"kind": "js",
|
|
3671
|
+
"name": "*",
|
|
3672
|
+
"declaration": {
|
|
3673
|
+
"name": "*",
|
|
3674
|
+
"package": "./validation/criteria-ir"
|
|
3675
|
+
}
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "js",
|
|
3679
|
+
"name": "*",
|
|
3680
|
+
"declaration": {
|
|
3681
|
+
"name": "*",
|
|
3682
|
+
"package": "./validation/operator-map"
|
|
3683
|
+
}
|
|
3684
|
+
},
|
|
3685
|
+
{
|
|
3686
|
+
"kind": "js",
|
|
3687
|
+
"name": "*",
|
|
3688
|
+
"declaration": {
|
|
3689
|
+
"name": "*",
|
|
3690
|
+
"package": "./validation/schema-validator"
|
|
3821
3691
|
}
|
|
3822
3692
|
}
|
|
3823
3693
|
]
|
|
3824
3694
|
},
|
|
3825
3695
|
{
|
|
3826
3696
|
"kind": "javascript-module",
|
|
3827
|
-
"path": "src/
|
|
3697
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3828
3698
|
"declarations": [
|
|
3829
3699
|
{
|
|
3830
3700
|
"kind": "function",
|
|
3831
|
-
"name": "
|
|
3701
|
+
"name": "formatValidationErrors",
|
|
3832
3702
|
"return": {
|
|
3833
3703
|
"type": {
|
|
3834
|
-
"text": "
|
|
3704
|
+
"text": "string"
|
|
3835
3705
|
}
|
|
3836
3706
|
},
|
|
3837
3707
|
"parameters": [
|
|
3838
3708
|
{
|
|
3839
|
-
"name": "
|
|
3709
|
+
"name": "errors",
|
|
3840
3710
|
"type": {
|
|
3841
|
-
"text": "
|
|
3711
|
+
"text": "ValidationError[]"
|
|
3842
3712
|
}
|
|
3713
|
+
}
|
|
3714
|
+
],
|
|
3715
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"kind": "function",
|
|
3719
|
+
"name": "showCriteriaError",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "void"
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
"parameters": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "title",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3843
3732
|
},
|
|
3844
3733
|
{
|
|
3845
|
-
"name": "
|
|
3734
|
+
"name": "body",
|
|
3846
3735
|
"type": {
|
|
3847
|
-
"text": "
|
|
3848
|
-
}
|
|
3736
|
+
"text": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"description": "Error message to display"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"name": "tagName",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "string"
|
|
3744
|
+
},
|
|
3745
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3849
3746
|
}
|
|
3850
|
-
]
|
|
3747
|
+
],
|
|
3748
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3851
3749
|
}
|
|
3852
3750
|
],
|
|
3853
3751
|
"exports": [
|
|
3854
3752
|
{
|
|
3855
3753
|
"kind": "js",
|
|
3856
|
-
"name": "
|
|
3754
|
+
"name": "formatValidationErrors",
|
|
3857
3755
|
"declaration": {
|
|
3858
|
-
"name": "
|
|
3859
|
-
"module": "src/
|
|
3756
|
+
"name": "formatValidationErrors",
|
|
3757
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3758
|
+
}
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"kind": "js",
|
|
3762
|
+
"name": "showCriteriaError",
|
|
3763
|
+
"declaration": {
|
|
3764
|
+
"name": "showCriteriaError",
|
|
3765
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3860
3766
|
}
|
|
3861
3767
|
}
|
|
3862
3768
|
]
|
|
3863
3769
|
},
|
|
3864
3770
|
{
|
|
3865
3771
|
"kind": "javascript-module",
|
|
3866
|
-
"path": "src/
|
|
3772
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3867
3773
|
"declarations": [
|
|
3868
3774
|
{
|
|
3869
3775
|
"kind": "function",
|
|
3870
|
-
"name": "
|
|
3776
|
+
"name": "foundationAiIndicatorStyles",
|
|
3871
3777
|
"return": {
|
|
3872
3778
|
"type": {
|
|
3873
|
-
"text": "
|
|
3779
|
+
"text": "ElementStyles"
|
|
3874
3780
|
}
|
|
3875
3781
|
},
|
|
3876
3782
|
"parameters": [
|
|
@@ -3892,116 +3798,224 @@
|
|
|
3892
3798
|
"exports": [
|
|
3893
3799
|
{
|
|
3894
3800
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3801
|
+
"name": "foundationAiIndicatorStyles",
|
|
3896
3802
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3803
|
+
"name": "foundationAiIndicatorStyles",
|
|
3804
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3899
3805
|
}
|
|
3900
3806
|
}
|
|
3901
3807
|
]
|
|
3902
3808
|
},
|
|
3903
3809
|
{
|
|
3904
3810
|
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/
|
|
3811
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3812
|
+
"declarations": [
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "variable",
|
|
3815
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3816
|
+
"type": {
|
|
3817
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3818
|
+
},
|
|
3819
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3822
|
+
"exports": [
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "js",
|
|
3825
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3826
|
+
"declaration": {
|
|
3827
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3828
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3829
|
+
}
|
|
3830
|
+
}
|
|
3831
|
+
]
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"kind": "javascript-module",
|
|
3835
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3906
3836
|
"declarations": [
|
|
3907
3837
|
{
|
|
3908
3838
|
"kind": "class",
|
|
3909
3839
|
"description": "",
|
|
3910
|
-
"name": "
|
|
3911
|
-
"
|
|
3912
|
-
"name": "FASTAccordionItem",
|
|
3913
|
-
"package": "@microsoft/fast-components"
|
|
3914
|
-
},
|
|
3915
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
3916
|
-
"customElement": true,
|
|
3917
|
-
"attributes": [
|
|
3840
|
+
"name": "AiIndicator",
|
|
3841
|
+
"members": [
|
|
3918
3842
|
{
|
|
3919
|
-
"
|
|
3843
|
+
"kind": "field",
|
|
3844
|
+
"name": "providerRegistry",
|
|
3920
3845
|
"type": {
|
|
3921
|
-
"text": "
|
|
3922
|
-
},
|
|
3923
|
-
"default": "2",
|
|
3924
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3925
|
-
"fieldName": "headinglevel",
|
|
3926
|
-
"inheritedFrom": {
|
|
3927
|
-
"name": "AccordionItem",
|
|
3928
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3846
|
+
"text": "AIProviderRegistry"
|
|
3929
3847
|
}
|
|
3930
3848
|
},
|
|
3931
3849
|
{
|
|
3850
|
+
"kind": "field",
|
|
3851
|
+
"name": "aiProvider",
|
|
3852
|
+
"type": {
|
|
3853
|
+
"text": "AIProvider | undefined"
|
|
3854
|
+
},
|
|
3855
|
+
"privacy": "private",
|
|
3856
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3857
|
+
"readonly": true
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "field",
|
|
3861
|
+
"name": "status",
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "AIStatus | null"
|
|
3864
|
+
},
|
|
3865
|
+
"default": "null"
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"kind": "field",
|
|
3869
|
+
"name": "open",
|
|
3870
|
+
"type": {
|
|
3871
|
+
"text": "boolean"
|
|
3872
|
+
},
|
|
3873
|
+
"default": "false"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"kind": "field",
|
|
3877
|
+
"name": "state",
|
|
3878
|
+
"type": {
|
|
3879
|
+
"text": "AIIndicatorState"
|
|
3880
|
+
},
|
|
3881
|
+
"default": "'none'"
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
"kind": "field",
|
|
3885
|
+
"name": "isInstalling",
|
|
3932
3886
|
"type": {
|
|
3933
3887
|
"text": "boolean"
|
|
3934
3888
|
},
|
|
3935
|
-
"default": "false"
|
|
3936
|
-
"description": "Expands or collapses the item.",
|
|
3937
|
-
"fieldName": "expanded",
|
|
3938
|
-
"inheritedFrom": {
|
|
3939
|
-
"name": "AccordionItem",
|
|
3940
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3941
|
-
}
|
|
3889
|
+
"default": "false"
|
|
3942
3890
|
},
|
|
3943
3891
|
{
|
|
3944
|
-
"
|
|
3892
|
+
"kind": "field",
|
|
3893
|
+
"name": "pollTimer",
|
|
3945
3894
|
"type": {
|
|
3946
|
-
"text": "
|
|
3895
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3947
3896
|
},
|
|
3948
|
-
"
|
|
3949
|
-
"
|
|
3950
|
-
|
|
3951
|
-
"name": "AccordionItem",
|
|
3952
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3953
|
-
}
|
|
3954
|
-
}
|
|
3955
|
-
],
|
|
3956
|
-
"members": [
|
|
3897
|
+
"privacy": "private",
|
|
3898
|
+
"default": "null"
|
|
3899
|
+
},
|
|
3957
3900
|
{
|
|
3958
3901
|
"kind": "field",
|
|
3959
|
-
"name": "
|
|
3902
|
+
"name": "clickOutside",
|
|
3903
|
+
"privacy": "private"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "field",
|
|
3907
|
+
"name": "chromeStatusLabel",
|
|
3960
3908
|
"type": {
|
|
3961
|
-
"text": "
|
|
3909
|
+
"text": "string | null"
|
|
3962
3910
|
},
|
|
3963
|
-
"
|
|
3964
|
-
"default": "2",
|
|
3965
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3966
|
-
"inheritedFrom": {
|
|
3967
|
-
"name": "AccordionItem",
|
|
3968
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3969
|
-
}
|
|
3911
|
+
"readonly": true
|
|
3970
3912
|
},
|
|
3971
3913
|
{
|
|
3972
3914
|
"kind": "field",
|
|
3973
|
-
"name": "
|
|
3915
|
+
"name": "canInstall",
|
|
3974
3916
|
"type": {
|
|
3975
3917
|
"text": "boolean"
|
|
3976
3918
|
},
|
|
3977
|
-
"
|
|
3978
|
-
"default": "false",
|
|
3979
|
-
"description": "Expands or collapses the item.",
|
|
3980
|
-
"inheritedFrom": {
|
|
3981
|
-
"name": "AccordionItem",
|
|
3982
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3983
|
-
}
|
|
3919
|
+
"readonly": true
|
|
3984
3920
|
},
|
|
3985
3921
|
{
|
|
3986
3922
|
"kind": "field",
|
|
3987
|
-
"name": "
|
|
3923
|
+
"name": "isDownloading",
|
|
3988
3924
|
"type": {
|
|
3989
|
-
"text": "
|
|
3925
|
+
"text": "boolean"
|
|
3990
3926
|
},
|
|
3991
|
-
"
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3927
|
+
"readonly": true
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"kind": "method",
|
|
3931
|
+
"name": "openChanged",
|
|
3932
|
+
"return": {
|
|
3933
|
+
"type": {
|
|
3934
|
+
"text": "void"
|
|
3935
|
+
}
|
|
3996
3936
|
}
|
|
3997
3937
|
},
|
|
3998
3938
|
{
|
|
3999
|
-
"kind": "
|
|
4000
|
-
"name": "
|
|
3939
|
+
"kind": "method",
|
|
3940
|
+
"name": "handleClickOutside",
|
|
4001
3941
|
"privacy": "private",
|
|
4002
|
-
"
|
|
4003
|
-
|
|
4004
|
-
|
|
3942
|
+
"parameters": [
|
|
3943
|
+
{
|
|
3944
|
+
"name": "event",
|
|
3945
|
+
"type": {
|
|
3946
|
+
"text": "MouseEvent"
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
]
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
"kind": "method",
|
|
3953
|
+
"name": "toggleDropdown"
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
"kind": "method",
|
|
3957
|
+
"name": "refreshStatus",
|
|
3958
|
+
"return": {
|
|
3959
|
+
"type": {
|
|
3960
|
+
"text": "Promise<void>"
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "method",
|
|
3966
|
+
"name": "deriveState",
|
|
3967
|
+
"privacy": "private",
|
|
3968
|
+
"return": {
|
|
3969
|
+
"type": {
|
|
3970
|
+
"text": "AIIndicatorState"
|
|
3971
|
+
}
|
|
3972
|
+
},
|
|
3973
|
+
"parameters": [
|
|
3974
|
+
{
|
|
3975
|
+
"name": "s",
|
|
3976
|
+
"type": {
|
|
3977
|
+
"text": "AIStatus | null"
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3980
|
+
]
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
"kind": "method",
|
|
3984
|
+
"name": "maybeStartPolling",
|
|
3985
|
+
"privacy": "private",
|
|
3986
|
+
"return": {
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "void"
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "method",
|
|
3994
|
+
"name": "startPolling",
|
|
3995
|
+
"privacy": "private",
|
|
3996
|
+
"return": {
|
|
3997
|
+
"type": {
|
|
3998
|
+
"text": "void"
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
"kind": "method",
|
|
4004
|
+
"name": "stopPolling",
|
|
4005
|
+
"privacy": "private",
|
|
4006
|
+
"return": {
|
|
4007
|
+
"type": {
|
|
4008
|
+
"text": "void"
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "method",
|
|
4014
|
+
"name": "onInstall",
|
|
4015
|
+
"return": {
|
|
4016
|
+
"type": {
|
|
4017
|
+
"text": "Promise<void>"
|
|
4018
|
+
}
|
|
4005
4019
|
}
|
|
4006
4020
|
},
|
|
4007
4021
|
{
|
|
@@ -4116,102 +4130,88 @@
|
|
|
4116
4130
|
}
|
|
4117
4131
|
}
|
|
4118
4132
|
],
|
|
4119
|
-
"
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
"name": "change",
|
|
4123
|
-
"inheritedFrom": {
|
|
4124
|
-
"name": "AccordionItem",
|
|
4125
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
4126
|
-
}
|
|
4127
|
-
}
|
|
4128
|
-
]
|
|
4129
|
-
},
|
|
4130
|
-
{
|
|
4131
|
-
"kind": "variable",
|
|
4132
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
4133
|
-
"type": {
|
|
4134
|
-
"text": "ShadowRootInit"
|
|
4135
|
-
},
|
|
4136
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
4137
|
-
},
|
|
4138
|
-
{
|
|
4139
|
-
"kind": "variable",
|
|
4140
|
-
"name": "defaultAccordionItemConfig",
|
|
4141
|
-
"type": {
|
|
4142
|
-
"text": "object"
|
|
4133
|
+
"superclass": {
|
|
4134
|
+
"name": "FoundationElement",
|
|
4135
|
+
"package": "@microsoft/fast-foundation"
|
|
4143
4136
|
},
|
|
4144
|
-
"
|
|
4137
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
4138
|
+
"customElement": true
|
|
4145
4139
|
},
|
|
4146
4140
|
{
|
|
4147
4141
|
"kind": "variable",
|
|
4148
|
-
"name": "
|
|
4149
|
-
"description": "The Foundation Accordion Item",
|
|
4150
|
-
"privacy": "public"
|
|
4142
|
+
"name": "foundationAiIndicator"
|
|
4151
4143
|
}
|
|
4152
4144
|
],
|
|
4153
4145
|
"exports": [
|
|
4154
4146
|
{
|
|
4155
4147
|
"kind": "js",
|
|
4156
|
-
"name": "
|
|
4148
|
+
"name": "AiIndicator",
|
|
4157
4149
|
"declaration": {
|
|
4158
|
-
"name": "
|
|
4159
|
-
"module": "src/
|
|
4150
|
+
"name": "AiIndicator",
|
|
4151
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4160
4152
|
}
|
|
4161
4153
|
},
|
|
4162
4154
|
{
|
|
4163
4155
|
"kind": "js",
|
|
4164
|
-
"name": "
|
|
4156
|
+
"name": "foundationAiIndicator",
|
|
4165
4157
|
"declaration": {
|
|
4166
|
-
"name": "
|
|
4167
|
-
"module": "src/
|
|
4158
|
+
"name": "foundationAiIndicator",
|
|
4159
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
4162
|
+
]
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "javascript-module",
|
|
4166
|
+
"path": "src/ai-indicator/index.ts",
|
|
4167
|
+
"declarations": [],
|
|
4168
|
+
"exports": [
|
|
4169
|
+
{
|
|
4170
|
+
"kind": "js",
|
|
4171
|
+
"name": "AiIndicator",
|
|
4172
|
+
"declaration": {
|
|
4173
|
+
"name": "AiIndicator",
|
|
4174
|
+
"module": "./ai-indicator"
|
|
4168
4175
|
}
|
|
4169
4176
|
},
|
|
4170
4177
|
{
|
|
4171
4178
|
"kind": "js",
|
|
4172
|
-
"name": "
|
|
4179
|
+
"name": "foundationAiIndicator",
|
|
4173
4180
|
"declaration": {
|
|
4174
|
-
"name": "
|
|
4175
|
-
"module": "
|
|
4181
|
+
"name": "foundationAiIndicator",
|
|
4182
|
+
"module": "./ai-indicator"
|
|
4176
4183
|
}
|
|
4177
4184
|
},
|
|
4178
4185
|
{
|
|
4179
4186
|
"kind": "js",
|
|
4180
|
-
"name": "
|
|
4187
|
+
"name": "type",
|
|
4181
4188
|
"declaration": {
|
|
4182
|
-
"name": "
|
|
4183
|
-
"module": "
|
|
4189
|
+
"name": "type",
|
|
4190
|
+
"module": "./ai-indicator"
|
|
4184
4191
|
}
|
|
4185
|
-
}
|
|
4186
|
-
]
|
|
4187
|
-
},
|
|
4188
|
-
{
|
|
4189
|
-
"kind": "javascript-module",
|
|
4190
|
-
"path": "src/accordion-item/index.ts",
|
|
4191
|
-
"declarations": [],
|
|
4192
|
-
"exports": [
|
|
4192
|
+
},
|
|
4193
4193
|
{
|
|
4194
4194
|
"kind": "js",
|
|
4195
|
-
"name": "
|
|
4195
|
+
"name": "AIIndicatorState",
|
|
4196
4196
|
"declaration": {
|
|
4197
|
-
"name": "
|
|
4198
|
-
"
|
|
4197
|
+
"name": "AIIndicatorState",
|
|
4198
|
+
"module": "./ai-indicator"
|
|
4199
4199
|
}
|
|
4200
4200
|
},
|
|
4201
4201
|
{
|
|
4202
4202
|
"kind": "js",
|
|
4203
|
-
"name": "
|
|
4203
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4204
4204
|
"declaration": {
|
|
4205
|
-
"name": "
|
|
4206
|
-
"
|
|
4205
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4206
|
+
"module": "./ai-indicator.template"
|
|
4207
4207
|
}
|
|
4208
4208
|
},
|
|
4209
4209
|
{
|
|
4210
4210
|
"kind": "js",
|
|
4211
|
-
"name": "
|
|
4211
|
+
"name": "foundationAiIndicatorStyles",
|
|
4212
4212
|
"declaration": {
|
|
4213
|
-
"name": "
|
|
4214
|
-
"
|
|
4213
|
+
"name": "foundationAiIndicatorStyles",
|
|
4214
|
+
"module": "./ai-indicator.styles"
|
|
4215
4215
|
}
|
|
4216
4216
|
}
|
|
4217
4217
|
]
|