@genesislcap/foundation-ui 15.57.0 → 15.58.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 +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,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/accordion.styles.ts",
|
|
1498
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1530
1499
|
"declarations": [
|
|
1531
1500
|
{
|
|
1532
1501
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionItemStyles",
|
|
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": "foundationAccordionItemStyles",
|
|
1559
1528
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1529
|
+
"name": "foundationAccordionItemStyles",
|
|
1530
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
1531
|
}
|
|
1563
1532
|
}
|
|
1564
1533
|
]
|
|
1565
1534
|
},
|
|
1566
1535
|
{
|
|
1567
1536
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1537
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
1538
|
"declarations": [
|
|
1570
1539
|
{
|
|
1571
1540
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionItemTemplate",
|
|
1573
1542
|
"return": {
|
|
1574
1543
|
"type": {
|
|
1575
|
-
"text": "ViewTemplate<
|
|
1544
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1576
1545
|
}
|
|
1577
1546
|
},
|
|
1578
1547
|
"parameters": [
|
|
@@ -1594,365 +1563,244 @@
|
|
|
1594
1563
|
"exports": [
|
|
1595
1564
|
{
|
|
1596
1565
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1566
|
+
"name": "foundationAccordionItemTemplate",
|
|
1598
1567
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1568
|
+
"name": "foundationAccordionItemTemplate",
|
|
1569
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1601
1570
|
}
|
|
1602
1571
|
}
|
|
1603
1572
|
]
|
|
1604
1573
|
},
|
|
1605
1574
|
{
|
|
1606
1575
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/accordion/accordion.ts",
|
|
1576
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1608
1577
|
"declarations": [
|
|
1609
1578
|
{
|
|
1610
1579
|
"kind": "class",
|
|
1611
1580
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1581
|
+
"name": "AccordionItem",
|
|
1613
1582
|
"superclass": {
|
|
1614
|
-
"name": "
|
|
1615
|
-
"package": "@microsoft/fast-
|
|
1583
|
+
"name": "FASTAccordionItem",
|
|
1584
|
+
"package": "@microsoft/fast-components"
|
|
1616
1585
|
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion",
|
|
1586
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1618
1587
|
"customElement": true,
|
|
1619
1588
|
"attributes": [
|
|
1620
1589
|
{
|
|
1621
|
-
"name": "
|
|
1590
|
+
"name": "heading-level",
|
|
1622
1591
|
"type": {
|
|
1623
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1624
1593
|
},
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1594
|
+
"default": "2",
|
|
1595
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1596
|
+
"fieldName": "headinglevel",
|
|
1627
1597
|
"inheritedFrom": {
|
|
1628
|
-
"name": "
|
|
1629
|
-
"module": "src/accordion/accordion.ts"
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "boolean"
|
|
1605
|
+
},
|
|
1606
|
+
"default": "false",
|
|
1607
|
+
"description": "Expands or collapses the item.",
|
|
1608
|
+
"fieldName": "expanded",
|
|
1609
|
+
"inheritedFrom": {
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "id",
|
|
1616
|
+
"type": {
|
|
1617
|
+
"text": "string"
|
|
1618
|
+
},
|
|
1619
|
+
"description": "The item ID",
|
|
1620
|
+
"fieldName": "id",
|
|
1621
|
+
"inheritedFrom": {
|
|
1622
|
+
"name": "AccordionItem",
|
|
1623
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1630
1624
|
}
|
|
1631
1625
|
}
|
|
1632
1626
|
],
|
|
1633
1627
|
"members": [
|
|
1634
1628
|
{
|
|
1635
1629
|
"kind": "field",
|
|
1636
|
-
"name": "
|
|
1630
|
+
"name": "headinglevel",
|
|
1637
1631
|
"type": {
|
|
1638
|
-
"text": "
|
|
1632
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1639
1633
|
},
|
|
1640
1634
|
"privacy": "public",
|
|
1641
|
-
"
|
|
1635
|
+
"default": "2",
|
|
1636
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1642
1637
|
"inheritedFrom": {
|
|
1643
|
-
"name": "
|
|
1644
|
-
"module": "src/accordion/accordion.ts"
|
|
1638
|
+
"name": "AccordionItem",
|
|
1639
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1645
1640
|
}
|
|
1646
1641
|
},
|
|
1647
1642
|
{
|
|
1648
1643
|
"kind": "field",
|
|
1649
|
-
"name": "
|
|
1644
|
+
"name": "expanded",
|
|
1650
1645
|
"type": {
|
|
1651
|
-
"text": "
|
|
1646
|
+
"text": "boolean"
|
|
1652
1647
|
},
|
|
1653
|
-
"privacy": "
|
|
1648
|
+
"privacy": "public",
|
|
1649
|
+
"default": "false",
|
|
1650
|
+
"description": "Expands or collapses the item.",
|
|
1654
1651
|
"inheritedFrom": {
|
|
1655
|
-
"name": "
|
|
1656
|
-
"module": "src/accordion/accordion.ts"
|
|
1652
|
+
"name": "AccordionItem",
|
|
1653
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1657
1654
|
}
|
|
1658
1655
|
},
|
|
1659
1656
|
{
|
|
1660
1657
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1658
|
+
"name": "id",
|
|
1662
1659
|
"type": {
|
|
1663
|
-
"text": "
|
|
1660
|
+
"text": "string"
|
|
1664
1661
|
},
|
|
1665
|
-
"privacy": "
|
|
1666
|
-
"
|
|
1662
|
+
"privacy": "public",
|
|
1663
|
+
"description": "The item ID",
|
|
1667
1664
|
"inheritedFrom": {
|
|
1668
|
-
"name": "
|
|
1669
|
-
"module": "src/accordion/accordion.ts"
|
|
1665
|
+
"name": "AccordionItem",
|
|
1666
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1670
1667
|
}
|
|
1671
1668
|
},
|
|
1672
1669
|
{
|
|
1673
1670
|
"kind": "field",
|
|
1674
|
-
"name": "
|
|
1675
|
-
"type": {
|
|
1676
|
-
"text": "Array<string | null>"
|
|
1677
|
-
},
|
|
1671
|
+
"name": "change",
|
|
1678
1672
|
"privacy": "private",
|
|
1679
1673
|
"inheritedFrom": {
|
|
1680
|
-
"name": "
|
|
1681
|
-
"module": "src/accordion/accordion.ts"
|
|
1674
|
+
"name": "AccordionItem",
|
|
1675
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1682
1676
|
}
|
|
1683
1677
|
},
|
|
1684
1678
|
{
|
|
1685
1679
|
"kind": "field",
|
|
1686
|
-
"name": "
|
|
1680
|
+
"name": "_presentation",
|
|
1681
|
+
"type": {
|
|
1682
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1683
|
+
},
|
|
1687
1684
|
"privacy": "private",
|
|
1685
|
+
"default": "void 0",
|
|
1688
1686
|
"inheritedFrom": {
|
|
1689
|
-
"name": "
|
|
1690
|
-
"module": "src/
|
|
1687
|
+
"name": "FoundationElement",
|
|
1688
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1691
1689
|
}
|
|
1692
1690
|
},
|
|
1693
1691
|
{
|
|
1694
|
-
"kind": "
|
|
1695
|
-
"name": "
|
|
1696
|
-
"
|
|
1697
|
-
|
|
1698
|
-
"type": {
|
|
1699
|
-
"text": "AccordionItem | null"
|
|
1700
|
-
}
|
|
1692
|
+
"kind": "field",
|
|
1693
|
+
"name": "$presentation",
|
|
1694
|
+
"type": {
|
|
1695
|
+
"text": "ComponentPresentation | null"
|
|
1701
1696
|
},
|
|
1697
|
+
"privacy": "public",
|
|
1698
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1702
1699
|
"inheritedFrom": {
|
|
1703
|
-
"name": "
|
|
1704
|
-
"module": "src/
|
|
1700
|
+
"name": "FoundationElement",
|
|
1701
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1705
1702
|
}
|
|
1706
1703
|
},
|
|
1707
1704
|
{
|
|
1708
1705
|
"kind": "field",
|
|
1709
|
-
"name": "
|
|
1710
|
-
"
|
|
1706
|
+
"name": "template",
|
|
1707
|
+
"type": {
|
|
1708
|
+
"text": "ElementViewTemplate | void | null"
|
|
1709
|
+
},
|
|
1710
|
+
"privacy": "public",
|
|
1711
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1711
1712
|
"inheritedFrom": {
|
|
1712
|
-
"name": "
|
|
1713
|
-
"module": "src/
|
|
1713
|
+
"name": "FoundationElement",
|
|
1714
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1714
1715
|
}
|
|
1715
1716
|
},
|
|
1716
1717
|
{
|
|
1717
1718
|
"kind": "method",
|
|
1718
|
-
"name": "
|
|
1719
|
-
"privacy": "
|
|
1719
|
+
"name": "templateChanged",
|
|
1720
|
+
"privacy": "protected",
|
|
1720
1721
|
"return": {
|
|
1721
1722
|
"type": {
|
|
1722
1723
|
"text": "void"
|
|
1723
1724
|
}
|
|
1724
1725
|
},
|
|
1725
1726
|
"inheritedFrom": {
|
|
1726
|
-
"name": "
|
|
1727
|
-
"module": "src/
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "removeItemListeners",
|
|
1733
|
-
"privacy": "private",
|
|
1734
|
-
"inheritedFrom": {
|
|
1735
|
-
"name": "Accordion",
|
|
1736
|
-
"module": "src/accordion/accordion.ts"
|
|
1727
|
+
"name": "FoundationElement",
|
|
1728
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1737
1729
|
}
|
|
1738
1730
|
},
|
|
1739
1731
|
{
|
|
1740
1732
|
"kind": "field",
|
|
1741
|
-
"name": "
|
|
1742
|
-
"
|
|
1733
|
+
"name": "styles",
|
|
1734
|
+
"type": {
|
|
1735
|
+
"text": "ElementStyles | void | null"
|
|
1736
|
+
},
|
|
1737
|
+
"privacy": "public",
|
|
1738
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1743
1739
|
"inheritedFrom": {
|
|
1744
|
-
"name": "
|
|
1745
|
-
"module": "src/
|
|
1740
|
+
"name": "FoundationElement",
|
|
1741
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1746
1742
|
}
|
|
1747
1743
|
},
|
|
1748
1744
|
{
|
|
1749
1745
|
"kind": "method",
|
|
1750
|
-
"name": "
|
|
1751
|
-
"privacy": "
|
|
1746
|
+
"name": "stylesChanged",
|
|
1747
|
+
"privacy": "protected",
|
|
1752
1748
|
"return": {
|
|
1753
1749
|
"type": {
|
|
1754
|
-
"text": "
|
|
1750
|
+
"text": "void"
|
|
1755
1751
|
}
|
|
1756
1752
|
},
|
|
1757
1753
|
"inheritedFrom": {
|
|
1758
|
-
"name": "
|
|
1759
|
-
"module": "src/
|
|
1754
|
+
"name": "FoundationElement",
|
|
1755
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1760
1756
|
}
|
|
1761
1757
|
},
|
|
1762
1758
|
{
|
|
1763
1759
|
"kind": "method",
|
|
1764
|
-
"name": "
|
|
1765
|
-
"privacy": "
|
|
1760
|
+
"name": "compose",
|
|
1761
|
+
"privacy": "public",
|
|
1762
|
+
"static": true,
|
|
1766
1763
|
"return": {
|
|
1767
1764
|
"type": {
|
|
1768
|
-
"text": "
|
|
1765
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1769
1766
|
}
|
|
1770
1767
|
},
|
|
1768
|
+
"parameters": [
|
|
1769
|
+
{
|
|
1770
|
+
"name": "this",
|
|
1771
|
+
"type": {
|
|
1772
|
+
"text": "K"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"name": "elementDefinition",
|
|
1777
|
+
"type": {
|
|
1778
|
+
"text": "T"
|
|
1779
|
+
},
|
|
1780
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1781
|
+
}
|
|
1782
|
+
],
|
|
1783
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1771
1784
|
"inheritedFrom": {
|
|
1772
|
-
"name": "
|
|
1773
|
-
"module": "src/
|
|
1785
|
+
"name": "FoundationElement",
|
|
1786
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1774
1787
|
}
|
|
1775
|
-
}
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
"events": [
|
|
1776
1791
|
{
|
|
1777
|
-
"
|
|
1778
|
-
"name": "handleItemKeyDown",
|
|
1779
|
-
"privacy": "private",
|
|
1780
|
-
"inheritedFrom": {
|
|
1781
|
-
"name": "Accordion",
|
|
1782
|
-
"module": "src/accordion/accordion.ts"
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "field",
|
|
1787
|
-
"name": "handleItemFocus",
|
|
1788
|
-
"privacy": "private",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "Accordion",
|
|
1791
|
-
"module": "src/accordion/accordion.ts"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"kind": "method",
|
|
1796
|
-
"name": "adjust",
|
|
1797
|
-
"privacy": "private",
|
|
1798
|
-
"return": {
|
|
1799
|
-
"type": {
|
|
1800
|
-
"text": "void"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
"parameters": [
|
|
1804
|
-
{
|
|
1805
|
-
"name": "adjustment",
|
|
1806
|
-
"type": {
|
|
1807
|
-
"text": "number"
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
],
|
|
1811
|
-
"inheritedFrom": {
|
|
1812
|
-
"name": "Accordion",
|
|
1813
|
-
"module": "src/accordion/accordion.ts"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "method",
|
|
1818
|
-
"name": "focusItem",
|
|
1819
|
-
"privacy": "private",
|
|
1820
|
-
"return": {
|
|
1821
|
-
"type": {
|
|
1822
|
-
"text": "void"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
"inheritedFrom": {
|
|
1826
|
-
"name": "Accordion",
|
|
1827
|
-
"module": "src/accordion/accordion.ts"
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
|
-
{
|
|
1831
|
-
"kind": "field",
|
|
1832
|
-
"name": "_presentation",
|
|
1833
|
-
"type": {
|
|
1834
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1835
|
-
},
|
|
1836
|
-
"privacy": "private",
|
|
1837
|
-
"default": "void 0",
|
|
1838
|
-
"inheritedFrom": {
|
|
1839
|
-
"name": "FoundationElement",
|
|
1840
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1841
|
-
}
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"kind": "field",
|
|
1845
|
-
"name": "$presentation",
|
|
1846
|
-
"type": {
|
|
1847
|
-
"text": "ComponentPresentation | null"
|
|
1848
|
-
},
|
|
1849
|
-
"privacy": "public",
|
|
1850
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1851
|
-
"inheritedFrom": {
|
|
1852
|
-
"name": "FoundationElement",
|
|
1853
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
{
|
|
1857
|
-
"kind": "field",
|
|
1858
|
-
"name": "template",
|
|
1859
|
-
"type": {
|
|
1860
|
-
"text": "ElementViewTemplate | void | null"
|
|
1861
|
-
},
|
|
1862
|
-
"privacy": "public",
|
|
1863
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1864
|
-
"inheritedFrom": {
|
|
1865
|
-
"name": "FoundationElement",
|
|
1866
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"kind": "method",
|
|
1871
|
-
"name": "templateChanged",
|
|
1872
|
-
"privacy": "protected",
|
|
1873
|
-
"return": {
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "void"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
"inheritedFrom": {
|
|
1879
|
-
"name": "FoundationElement",
|
|
1880
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"kind": "field",
|
|
1885
|
-
"name": "styles",
|
|
1886
|
-
"type": {
|
|
1887
|
-
"text": "ElementStyles | void | null"
|
|
1888
|
-
},
|
|
1889
|
-
"privacy": "public",
|
|
1890
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1891
|
-
"inheritedFrom": {
|
|
1892
|
-
"name": "FoundationElement",
|
|
1893
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"kind": "method",
|
|
1898
|
-
"name": "stylesChanged",
|
|
1899
|
-
"privacy": "protected",
|
|
1900
|
-
"return": {
|
|
1901
|
-
"type": {
|
|
1902
|
-
"text": "void"
|
|
1903
|
-
}
|
|
1904
|
-
},
|
|
1905
|
-
"inheritedFrom": {
|
|
1906
|
-
"name": "FoundationElement",
|
|
1907
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "method",
|
|
1912
|
-
"name": "compose",
|
|
1913
|
-
"privacy": "public",
|
|
1914
|
-
"static": true,
|
|
1915
|
-
"return": {
|
|
1916
|
-
"type": {
|
|
1917
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1918
|
-
}
|
|
1919
|
-
},
|
|
1920
|
-
"parameters": [
|
|
1921
|
-
{
|
|
1922
|
-
"name": "this",
|
|
1923
|
-
"type": {
|
|
1924
|
-
"text": "K"
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
{
|
|
1928
|
-
"name": "elementDefinition",
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "T"
|
|
1931
|
-
},
|
|
1932
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1933
|
-
}
|
|
1934
|
-
],
|
|
1935
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1936
|
-
"inheritedFrom": {
|
|
1937
|
-
"name": "FoundationElement",
|
|
1938
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1941
|
-
],
|
|
1942
|
-
"events": [
|
|
1943
|
-
{
|
|
1944
|
-
"description": "Fires a custom 'change' event when the active item changes",
|
|
1792
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1945
1793
|
"name": "change",
|
|
1946
1794
|
"inheritedFrom": {
|
|
1947
|
-
"name": "
|
|
1948
|
-
"module": "src/accordion/accordion.ts"
|
|
1795
|
+
"name": "AccordionItem",
|
|
1796
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1949
1797
|
}
|
|
1950
1798
|
}
|
|
1951
1799
|
]
|
|
1952
1800
|
},
|
|
1953
1801
|
{
|
|
1954
1802
|
"kind": "variable",
|
|
1955
|
-
"name": "
|
|
1803
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1956
1804
|
"type": {
|
|
1957
1805
|
"text": "ShadowRootInit"
|
|
1958
1806
|
},
|
|
@@ -1960,57 +1808,57 @@
|
|
|
1960
1808
|
},
|
|
1961
1809
|
{
|
|
1962
1810
|
"kind": "variable",
|
|
1963
|
-
"name": "
|
|
1811
|
+
"name": "defaultAccordionItemConfig",
|
|
1964
1812
|
"type": {
|
|
1965
1813
|
"text": "object"
|
|
1966
1814
|
},
|
|
1967
|
-
"default": "{}"
|
|
1815
|
+
"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}"
|
|
1968
1816
|
},
|
|
1969
1817
|
{
|
|
1970
1818
|
"kind": "variable",
|
|
1971
|
-
"name": "
|
|
1972
|
-
"description": "The Foundation Accordion",
|
|
1819
|
+
"name": "foundationAccordionItem",
|
|
1820
|
+
"description": "The Foundation Accordion Item",
|
|
1973
1821
|
"privacy": "public"
|
|
1974
1822
|
}
|
|
1975
1823
|
],
|
|
1976
1824
|
"exports": [
|
|
1977
1825
|
{
|
|
1978
1826
|
"kind": "js",
|
|
1979
|
-
"name": "
|
|
1827
|
+
"name": "AccordionItem",
|
|
1980
1828
|
"declaration": {
|
|
1981
|
-
"name": "
|
|
1982
|
-
"module": "src/accordion/accordion.ts"
|
|
1829
|
+
"name": "AccordionItem",
|
|
1830
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1983
1831
|
}
|
|
1984
1832
|
},
|
|
1985
1833
|
{
|
|
1986
1834
|
"kind": "js",
|
|
1987
|
-
"name": "
|
|
1835
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1988
1836
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"module": "src/accordion/accordion.ts"
|
|
1837
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1839
|
}
|
|
1992
1840
|
},
|
|
1993
1841
|
{
|
|
1994
1842
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1843
|
+
"name": "defaultAccordionItemConfig",
|
|
1996
1844
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"module": "src/accordion/accordion.ts"
|
|
1845
|
+
"name": "defaultAccordionItemConfig",
|
|
1846
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1847
|
}
|
|
2000
1848
|
},
|
|
2001
1849
|
{
|
|
2002
1850
|
"kind": "js",
|
|
2003
|
-
"name": "
|
|
1851
|
+
"name": "foundationAccordionItem",
|
|
2004
1852
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"module": "src/accordion/accordion.ts"
|
|
1853
|
+
"name": "foundationAccordionItem",
|
|
1854
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2007
1855
|
}
|
|
2008
1856
|
}
|
|
2009
1857
|
]
|
|
2010
1858
|
},
|
|
2011
1859
|
{
|
|
2012
1860
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/accordion/index.ts",
|
|
1861
|
+
"path": "src/accordion-item/index.ts",
|
|
2014
1862
|
"declarations": [],
|
|
2015
1863
|
"exports": [
|
|
2016
1864
|
{
|
|
@@ -2018,7 +1866,7 @@
|
|
|
2018
1866
|
"name": "*",
|
|
2019
1867
|
"declaration": {
|
|
2020
1868
|
"name": "*",
|
|
2021
|
-
"package": "./accordion.template"
|
|
1869
|
+
"package": "./accordion-item.template"
|
|
2022
1870
|
}
|
|
2023
1871
|
},
|
|
2024
1872
|
{
|
|
@@ -2026,7 +1874,7 @@
|
|
|
2026
1874
|
"name": "*",
|
|
2027
1875
|
"declaration": {
|
|
2028
1876
|
"name": "*",
|
|
2029
|
-
"package": "./accordion.styles"
|
|
1877
|
+
"package": "./accordion-item.styles"
|
|
2030
1878
|
}
|
|
2031
1879
|
},
|
|
2032
1880
|
{
|
|
@@ -2034,7 +1882,38 @@
|
|
|
2034
1882
|
"name": "*",
|
|
2035
1883
|
"declaration": {
|
|
2036
1884
|
"name": "*",
|
|
2037
|
-
"package": "./accordion"
|
|
1885
|
+
"package": "./accordion-item"
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
]
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"kind": "javascript-module",
|
|
1892
|
+
"path": "src/_config/index.ts",
|
|
1893
|
+
"declarations": [],
|
|
1894
|
+
"exports": [
|
|
1895
|
+
{
|
|
1896
|
+
"kind": "js",
|
|
1897
|
+
"name": "*",
|
|
1898
|
+
"declaration": {
|
|
1899
|
+
"name": "*",
|
|
1900
|
+
"package": "./styles"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "js",
|
|
1905
|
+
"name": "*",
|
|
1906
|
+
"declaration": {
|
|
1907
|
+
"name": "*",
|
|
1908
|
+
"package": "./tokens"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "*",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "*",
|
|
1916
|
+
"package": "./values"
|
|
2038
1917
|
}
|
|
2039
1918
|
}
|
|
2040
1919
|
]
|
|
@@ -2612,208 +2491,275 @@
|
|
|
2612
2491
|
},
|
|
2613
2492
|
{
|
|
2614
2493
|
"kind": "javascript-module",
|
|
2615
|
-
"path": "src/
|
|
2494
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2616
2495
|
"declarations": [
|
|
2617
2496
|
{
|
|
2618
|
-
"kind": "
|
|
2619
|
-
"name": "
|
|
2620
|
-
"
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
"
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2497
|
+
"kind": "function",
|
|
2498
|
+
"name": "foundationAccordionStyles",
|
|
2499
|
+
"return": {
|
|
2500
|
+
"type": {
|
|
2501
|
+
"text": "ElementStyles"
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
"parameters": [
|
|
2505
|
+
{
|
|
2506
|
+
"name": "context",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"text": "ElementDefinitionContext"
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"name": "definition",
|
|
2513
|
+
"type": {
|
|
2514
|
+
"text": "FoundationElementDefinition"
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
]
|
|
2518
|
+
}
|
|
2519
|
+
],
|
|
2520
|
+
"exports": [
|
|
2521
|
+
{
|
|
2522
|
+
"kind": "js",
|
|
2523
|
+
"name": "foundationAccordionStyles",
|
|
2524
|
+
"declaration": {
|
|
2525
|
+
"name": "foundationAccordionStyles",
|
|
2526
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2630
2527
|
}
|
|
2631
2528
|
}
|
|
2632
2529
|
]
|
|
2633
2530
|
},
|
|
2634
2531
|
{
|
|
2635
2532
|
"kind": "javascript-module",
|
|
2636
|
-
"path": "src/
|
|
2533
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2637
2534
|
"declarations": [
|
|
2638
2535
|
{
|
|
2639
|
-
"kind": "
|
|
2640
|
-
"name": "
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2536
|
+
"kind": "function",
|
|
2537
|
+
"name": "foundationAccordionTemplate",
|
|
2538
|
+
"return": {
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "ViewTemplate<Accordion>"
|
|
2541
|
+
}
|
|
2643
2542
|
},
|
|
2644
|
-
"
|
|
2543
|
+
"parameters": [
|
|
2544
|
+
{
|
|
2545
|
+
"name": "context",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "ElementDefinitionContext"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "definition",
|
|
2552
|
+
"type": {
|
|
2553
|
+
"text": "FoundationElementDefinition"
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
]
|
|
2645
2557
|
}
|
|
2646
2558
|
],
|
|
2647
2559
|
"exports": [
|
|
2648
2560
|
{
|
|
2649
2561
|
"kind": "js",
|
|
2650
|
-
"name": "
|
|
2562
|
+
"name": "foundationAccordionTemplate",
|
|
2651
2563
|
"declaration": {
|
|
2652
|
-
"name": "
|
|
2653
|
-
"module": "src/
|
|
2564
|
+
"name": "foundationAccordionTemplate",
|
|
2565
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2654
2566
|
}
|
|
2655
2567
|
}
|
|
2656
2568
|
]
|
|
2657
2569
|
},
|
|
2658
2570
|
{
|
|
2659
2571
|
"kind": "javascript-module",
|
|
2660
|
-
"path": "src/
|
|
2572
|
+
"path": "src/accordion/accordion.ts",
|
|
2661
2573
|
"declarations": [
|
|
2662
2574
|
{
|
|
2663
2575
|
"kind": "class",
|
|
2664
|
-
"description": "
|
|
2665
|
-
"name": "
|
|
2666
|
-
"
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
},
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "Accordion",
|
|
2578
|
+
"superclass": {
|
|
2579
|
+
"name": "FASTAccordion",
|
|
2580
|
+
"package": "@microsoft/fast-foundation"
|
|
2581
|
+
},
|
|
2582
|
+
"tagName": "%%prefix%%-accordion",
|
|
2583
|
+
"customElement": true,
|
|
2584
|
+
"attributes": [
|
|
2674
2585
|
{
|
|
2675
|
-
"
|
|
2676
|
-
"name": "placeholder",
|
|
2586
|
+
"name": "expand-mode",
|
|
2677
2587
|
"type": {
|
|
2678
|
-
"text": "
|
|
2588
|
+
"text": "AccordionExpandMode"
|
|
2679
2589
|
},
|
|
2680
|
-
"
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
"type": {
|
|
2686
|
-
"text": "boolean"
|
|
2590
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
+
"fieldName": "expandmode",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2687
2595
|
}
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
"name": "inputValue",
|
|
2692
|
-
"type": {
|
|
2693
|
-
"text": "string"
|
|
2694
|
-
},
|
|
2695
|
-
"default": "''"
|
|
2696
|
-
},
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"members": [
|
|
2697
2599
|
{
|
|
2698
2600
|
"kind": "field",
|
|
2699
|
-
"name": "
|
|
2601
|
+
"name": "expandmode",
|
|
2700
2602
|
"type": {
|
|
2701
|
-
"text": "
|
|
2603
|
+
"text": "AccordionExpandMode"
|
|
2702
2604
|
},
|
|
2703
|
-
"
|
|
2605
|
+
"privacy": "public",
|
|
2606
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2607
|
+
"inheritedFrom": {
|
|
2608
|
+
"name": "Accordion",
|
|
2609
|
+
"module": "src/accordion/accordion.ts"
|
|
2610
|
+
}
|
|
2704
2611
|
},
|
|
2705
2612
|
{
|
|
2706
2613
|
"kind": "field",
|
|
2707
|
-
"name": "
|
|
2614
|
+
"name": "activeid",
|
|
2708
2615
|
"type": {
|
|
2709
2616
|
"text": "string | null"
|
|
2710
2617
|
},
|
|
2711
|
-
"
|
|
2618
|
+
"privacy": "private",
|
|
2619
|
+
"inheritedFrom": {
|
|
2620
|
+
"name": "Accordion",
|
|
2621
|
+
"module": "src/accordion/accordion.ts"
|
|
2622
|
+
}
|
|
2712
2623
|
},
|
|
2713
2624
|
{
|
|
2714
2625
|
"kind": "field",
|
|
2715
|
-
"name": "
|
|
2626
|
+
"name": "activeItemIndex",
|
|
2716
2627
|
"type": {
|
|
2717
|
-
"text": "
|
|
2628
|
+
"text": "number"
|
|
2718
2629
|
},
|
|
2719
|
-
"
|
|
2630
|
+
"privacy": "private",
|
|
2631
|
+
"default": "0",
|
|
2632
|
+
"inheritedFrom": {
|
|
2633
|
+
"name": "Accordion",
|
|
2634
|
+
"module": "src/accordion/accordion.ts"
|
|
2635
|
+
}
|
|
2720
2636
|
},
|
|
2721
2637
|
{
|
|
2722
2638
|
"kind": "field",
|
|
2723
|
-
"name": "
|
|
2639
|
+
"name": "accordionIds",
|
|
2724
2640
|
"type": {
|
|
2725
|
-
"text": "
|
|
2641
|
+
"text": "Array<string | null>"
|
|
2726
2642
|
},
|
|
2727
|
-
"
|
|
2643
|
+
"privacy": "private",
|
|
2644
|
+
"inheritedFrom": {
|
|
2645
|
+
"name": "Accordion",
|
|
2646
|
+
"module": "src/accordion/accordion.ts"
|
|
2647
|
+
}
|
|
2728
2648
|
},
|
|
2729
2649
|
{
|
|
2730
2650
|
"kind": "field",
|
|
2731
|
-
"name": "
|
|
2732
|
-
"
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2651
|
+
"name": "change",
|
|
2652
|
+
"privacy": "private",
|
|
2653
|
+
"inheritedFrom": {
|
|
2654
|
+
"name": "Accordion",
|
|
2655
|
+
"module": "src/accordion/accordion.ts"
|
|
2656
|
+
}
|
|
2736
2657
|
},
|
|
2737
2658
|
{
|
|
2738
|
-
"kind": "
|
|
2739
|
-
"name": "
|
|
2740
|
-
"
|
|
2741
|
-
|
|
2659
|
+
"kind": "method",
|
|
2660
|
+
"name": "findExpandedItem",
|
|
2661
|
+
"privacy": "private",
|
|
2662
|
+
"return": {
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "AccordionItem | null"
|
|
2665
|
+
}
|
|
2742
2666
|
},
|
|
2743
|
-
"
|
|
2667
|
+
"inheritedFrom": {
|
|
2668
|
+
"name": "Accordion",
|
|
2669
|
+
"module": "src/accordion/accordion.ts"
|
|
2670
|
+
}
|
|
2744
2671
|
},
|
|
2745
2672
|
{
|
|
2746
2673
|
"kind": "field",
|
|
2747
|
-
"name": "
|
|
2748
|
-
"
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2674
|
+
"name": "setItems",
|
|
2675
|
+
"privacy": "private",
|
|
2676
|
+
"inheritedFrom": {
|
|
2677
|
+
"name": "Accordion",
|
|
2678
|
+
"module": "src/accordion/accordion.ts"
|
|
2679
|
+
}
|
|
2752
2680
|
},
|
|
2753
2681
|
{
|
|
2754
|
-
"kind": "
|
|
2755
|
-
"name": "
|
|
2756
|
-
"type": {
|
|
2757
|
-
"text": "(() => void) | null"
|
|
2758
|
-
},
|
|
2682
|
+
"kind": "method",
|
|
2683
|
+
"name": "resetItems",
|
|
2759
2684
|
"privacy": "private",
|
|
2760
|
-
"
|
|
2685
|
+
"return": {
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "void"
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"inheritedFrom": {
|
|
2691
|
+
"name": "Accordion",
|
|
2692
|
+
"module": "src/accordion/accordion.ts"
|
|
2693
|
+
}
|
|
2761
2694
|
},
|
|
2762
2695
|
{
|
|
2763
2696
|
"kind": "field",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"type": {
|
|
2766
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2767
|
-
},
|
|
2697
|
+
"name": "removeItemListeners",
|
|
2768
2698
|
"privacy": "private",
|
|
2769
|
-
"
|
|
2699
|
+
"inheritedFrom": {
|
|
2700
|
+
"name": "Accordion",
|
|
2701
|
+
"module": "src/accordion/accordion.ts"
|
|
2702
|
+
}
|
|
2770
2703
|
},
|
|
2771
2704
|
{
|
|
2772
2705
|
"kind": "field",
|
|
2773
|
-
"name": "
|
|
2774
|
-
"
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2706
|
+
"name": "activeItemChange",
|
|
2707
|
+
"privacy": "private",
|
|
2708
|
+
"inheritedFrom": {
|
|
2709
|
+
"name": "Accordion",
|
|
2710
|
+
"module": "src/accordion/accordion.ts"
|
|
2711
|
+
}
|
|
2778
2712
|
},
|
|
2779
2713
|
{
|
|
2780
|
-
"kind": "
|
|
2781
|
-
"name": "
|
|
2782
|
-
"
|
|
2783
|
-
|
|
2714
|
+
"kind": "method",
|
|
2715
|
+
"name": "getItemIds",
|
|
2716
|
+
"privacy": "private",
|
|
2717
|
+
"return": {
|
|
2718
|
+
"type": {
|
|
2719
|
+
"text": "Array<string | null>"
|
|
2720
|
+
}
|
|
2784
2721
|
},
|
|
2785
|
-
"
|
|
2722
|
+
"inheritedFrom": {
|
|
2723
|
+
"name": "Accordion",
|
|
2724
|
+
"module": "src/accordion/accordion.ts"
|
|
2725
|
+
}
|
|
2786
2726
|
},
|
|
2787
2727
|
{
|
|
2788
2728
|
"kind": "method",
|
|
2789
|
-
"name": "
|
|
2729
|
+
"name": "isSingleExpandMode",
|
|
2790
2730
|
"privacy": "private",
|
|
2791
2731
|
"return": {
|
|
2792
2732
|
"type": {
|
|
2793
|
-
"text": "
|
|
2733
|
+
"text": "boolean"
|
|
2794
2734
|
}
|
|
2795
2735
|
},
|
|
2796
|
-
"
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2736
|
+
"inheritedFrom": {
|
|
2737
|
+
"name": "Accordion",
|
|
2738
|
+
"module": "src/accordion/accordion.ts"
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "field",
|
|
2743
|
+
"name": "handleItemKeyDown",
|
|
2744
|
+
"privacy": "private",
|
|
2745
|
+
"inheritedFrom": {
|
|
2746
|
+
"name": "Accordion",
|
|
2747
|
+
"module": "src/accordion/accordion.ts"
|
|
2748
|
+
}
|
|
2804
2749
|
},
|
|
2805
2750
|
{
|
|
2806
|
-
"kind": "
|
|
2807
|
-
"name": "
|
|
2808
|
-
"
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2751
|
+
"kind": "field",
|
|
2752
|
+
"name": "handleItemFocus",
|
|
2753
|
+
"privacy": "private",
|
|
2754
|
+
"inheritedFrom": {
|
|
2755
|
+
"name": "Accordion",
|
|
2756
|
+
"module": "src/accordion/accordion.ts"
|
|
2812
2757
|
}
|
|
2813
2758
|
},
|
|
2814
2759
|
{
|
|
2815
2760
|
"kind": "method",
|
|
2816
|
-
"name": "
|
|
2761
|
+
"name": "adjust",
|
|
2762
|
+
"privacy": "private",
|
|
2817
2763
|
"return": {
|
|
2818
2764
|
"type": {
|
|
2819
2765
|
"text": "void"
|
|
@@ -2821,49 +2767,31 @@
|
|
|
2821
2767
|
},
|
|
2822
2768
|
"parameters": [
|
|
2823
2769
|
{
|
|
2824
|
-
"name": "
|
|
2825
|
-
"type": {
|
|
2826
|
-
"text": "number"
|
|
2827
|
-
}
|
|
2828
|
-
},
|
|
2829
|
-
{
|
|
2830
|
-
"name": "clauseIndex",
|
|
2770
|
+
"name": "adjustment",
|
|
2831
2771
|
"type": {
|
|
2832
2772
|
"text": "number"
|
|
2833
2773
|
}
|
|
2834
2774
|
}
|
|
2835
|
-
]
|
|
2775
|
+
],
|
|
2776
|
+
"inheritedFrom": {
|
|
2777
|
+
"name": "Accordion",
|
|
2778
|
+
"module": "src/accordion/accordion.ts"
|
|
2779
|
+
}
|
|
2836
2780
|
},
|
|
2837
2781
|
{
|
|
2838
2782
|
"kind": "method",
|
|
2839
|
-
"name": "
|
|
2783
|
+
"name": "focusItem",
|
|
2784
|
+
"privacy": "private",
|
|
2840
2785
|
"return": {
|
|
2841
2786
|
"type": {
|
|
2842
2787
|
"text": "void"
|
|
2843
2788
|
}
|
|
2789
|
+
},
|
|
2790
|
+
"inheritedFrom": {
|
|
2791
|
+
"name": "Accordion",
|
|
2792
|
+
"module": "src/accordion/accordion.ts"
|
|
2844
2793
|
}
|
|
2845
2794
|
},
|
|
2846
|
-
{
|
|
2847
|
-
"kind": "method",
|
|
2848
|
-
"name": "handleSubmit"
|
|
2849
|
-
},
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "method",
|
|
2852
|
-
"name": "handleBlur"
|
|
2853
|
-
},
|
|
2854
|
-
{
|
|
2855
|
-
"kind": "method",
|
|
2856
|
-
"name": "clear"
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "method",
|
|
2860
|
-
"name": "toggleSpeechInput"
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"kind": "method",
|
|
2864
|
-
"name": "clearSpeechApplyDebounce",
|
|
2865
|
-
"privacy": "private"
|
|
2866
|
-
},
|
|
2867
2795
|
{
|
|
2868
2796
|
"kind": "field",
|
|
2869
2797
|
"name": "_presentation",
|
|
@@ -2978,48 +2906,26 @@
|
|
|
2978
2906
|
],
|
|
2979
2907
|
"events": [
|
|
2980
2908
|
{
|
|
2981
|
-
"description": "
|
|
2982
|
-
"name": "
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
}
|
|
2988
|
-
],
|
|
2989
|
-
"attributes": [
|
|
2990
|
-
{
|
|
2991
|
-
"name": "placeholder",
|
|
2992
|
-
"type": {
|
|
2993
|
-
"text": "string"
|
|
2994
|
-
},
|
|
2995
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2996
|
-
"fieldName": "placeholder"
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
"type": {
|
|
3000
|
-
"text": "boolean"
|
|
3001
|
-
},
|
|
3002
|
-
"fieldName": "disabled"
|
|
2909
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2910
|
+
"name": "change",
|
|
2911
|
+
"inheritedFrom": {
|
|
2912
|
+
"name": "Accordion",
|
|
2913
|
+
"module": "src/accordion/accordion.ts"
|
|
2914
|
+
}
|
|
3003
2915
|
}
|
|
3004
|
-
]
|
|
3005
|
-
"superclass": {
|
|
3006
|
-
"name": "FoundationElement",
|
|
3007
|
-
"package": "@microsoft/fast-foundation"
|
|
3008
|
-
},
|
|
3009
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3010
|
-
"customElement": true
|
|
2916
|
+
]
|
|
3011
2917
|
},
|
|
3012
2918
|
{
|
|
3013
2919
|
"kind": "variable",
|
|
3014
|
-
"name": "
|
|
2920
|
+
"name": "foundationAccordionShadowOptions",
|
|
3015
2921
|
"type": {
|
|
3016
2922
|
"text": "ShadowRootInit"
|
|
3017
2923
|
},
|
|
3018
|
-
"default": "
|
|
2924
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3019
2925
|
},
|
|
3020
2926
|
{
|
|
3021
2927
|
"kind": "variable",
|
|
3022
|
-
"name": "
|
|
2928
|
+
"name": "defaultAccordionConfig",
|
|
3023
2929
|
"type": {
|
|
3024
2930
|
"text": "object"
|
|
3025
2931
|
},
|
|
@@ -3027,269 +2933,130 @@
|
|
|
3027
2933
|
},
|
|
3028
2934
|
{
|
|
3029
2935
|
"kind": "variable",
|
|
3030
|
-
"name": "
|
|
2936
|
+
"name": "foundationAccordion",
|
|
2937
|
+
"description": "The Foundation Accordion",
|
|
2938
|
+
"privacy": "public"
|
|
3031
2939
|
}
|
|
3032
2940
|
],
|
|
3033
2941
|
"exports": [
|
|
3034
2942
|
{
|
|
3035
2943
|
"kind": "js",
|
|
3036
|
-
"name": "
|
|
2944
|
+
"name": "Accordion",
|
|
3037
2945
|
"declaration": {
|
|
3038
|
-
"name": "
|
|
3039
|
-
"module": "src/
|
|
2946
|
+
"name": "Accordion",
|
|
2947
|
+
"module": "src/accordion/accordion.ts"
|
|
3040
2948
|
}
|
|
3041
2949
|
},
|
|
3042
2950
|
{
|
|
3043
2951
|
"kind": "js",
|
|
3044
|
-
"name": "
|
|
2952
|
+
"name": "foundationAccordionShadowOptions",
|
|
3045
2953
|
"declaration": {
|
|
3046
|
-
"name": "
|
|
3047
|
-
"module": "src/
|
|
2954
|
+
"name": "foundationAccordionShadowOptions",
|
|
2955
|
+
"module": "src/accordion/accordion.ts"
|
|
3048
2956
|
}
|
|
3049
2957
|
},
|
|
3050
2958
|
{
|
|
3051
2959
|
"kind": "js",
|
|
3052
|
-
"name": "
|
|
2960
|
+
"name": "defaultAccordionConfig",
|
|
3053
2961
|
"declaration": {
|
|
3054
|
-
"name": "
|
|
3055
|
-
"module": "src/
|
|
2962
|
+
"name": "defaultAccordionConfig",
|
|
2963
|
+
"module": "src/accordion/accordion.ts"
|
|
3056
2964
|
}
|
|
3057
2965
|
},
|
|
3058
2966
|
{
|
|
3059
2967
|
"kind": "js",
|
|
3060
|
-
"name": "
|
|
2968
|
+
"name": "foundationAccordion",
|
|
3061
2969
|
"declaration": {
|
|
3062
|
-
"name": "
|
|
3063
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationAccordion",
|
|
2971
|
+
"module": "src/accordion/accordion.ts"
|
|
3064
2972
|
}
|
|
3065
2973
|
}
|
|
3066
2974
|
]
|
|
3067
2975
|
},
|
|
3068
2976
|
{
|
|
3069
2977
|
"kind": "javascript-module",
|
|
3070
|
-
"path": "src/
|
|
2978
|
+
"path": "src/accordion/index.ts",
|
|
3071
2979
|
"declarations": [],
|
|
3072
2980
|
"exports": [
|
|
3073
|
-
{
|
|
3074
|
-
"kind": "js",
|
|
3075
|
-
"name": "AiCriteriaSearch",
|
|
3076
|
-
"declaration": {
|
|
3077
|
-
"name": "AiCriteriaSearch",
|
|
3078
|
-
"module": "./ai-criteria-search"
|
|
3079
|
-
}
|
|
3080
|
-
},
|
|
3081
|
-
{
|
|
3082
|
-
"kind": "js",
|
|
3083
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3084
|
-
"declaration": {
|
|
3085
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3086
|
-
"module": "./ai-criteria-search"
|
|
3087
|
-
}
|
|
3088
|
-
},
|
|
3089
|
-
{
|
|
3090
|
-
"kind": "js",
|
|
3091
|
-
"name": "foundationAiCriteriaSearch",
|
|
3092
|
-
"declaration": {
|
|
3093
|
-
"name": "foundationAiCriteriaSearch",
|
|
3094
|
-
"module": "./ai-criteria-search"
|
|
3095
|
-
}
|
|
3096
|
-
},
|
|
3097
|
-
{
|
|
3098
|
-
"kind": "js",
|
|
3099
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3100
|
-
"declaration": {
|
|
3101
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3102
|
-
"module": "./ai-criteria-search"
|
|
3103
|
-
}
|
|
3104
|
-
},
|
|
3105
|
-
{
|
|
3106
|
-
"kind": "js",
|
|
3107
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3108
|
-
"declaration": {
|
|
3109
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3110
|
-
"module": "./ai-criteria-search.styles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
{
|
|
3114
|
-
"kind": "js",
|
|
3115
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3116
|
-
"declaration": {
|
|
3117
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3118
|
-
"module": "./ai-criteria-search.template"
|
|
3119
|
-
}
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "js",
|
|
3123
|
-
"name": "*",
|
|
3124
|
-
"declaration": {
|
|
3125
|
-
"name": "*",
|
|
3126
|
-
"package": "./validation/criteria-ir"
|
|
3127
|
-
}
|
|
3128
|
-
},
|
|
3129
|
-
{
|
|
3130
|
-
"kind": "js",
|
|
3131
|
-
"name": "*",
|
|
3132
|
-
"declaration": {
|
|
3133
|
-
"name": "*",
|
|
3134
|
-
"package": "./validation/operator-map"
|
|
3135
|
-
}
|
|
3136
|
-
},
|
|
3137
2981
|
{
|
|
3138
2982
|
"kind": "js",
|
|
3139
2983
|
"name": "*",
|
|
3140
2984
|
"declaration": {
|
|
3141
2985
|
"name": "*",
|
|
3142
|
-
"package": "./
|
|
2986
|
+
"package": "./accordion.template"
|
|
3143
2987
|
}
|
|
3144
|
-
}
|
|
3145
|
-
]
|
|
3146
|
-
},
|
|
3147
|
-
{
|
|
3148
|
-
"kind": "javascript-module",
|
|
3149
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3150
|
-
"declarations": [
|
|
3151
|
-
{
|
|
3152
|
-
"kind": "function",
|
|
3153
|
-
"name": "formatValidationErrors",
|
|
3154
|
-
"return": {
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "string"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
"parameters": [
|
|
3160
|
-
{
|
|
3161
|
-
"name": "errors",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "ValidationError[]"
|
|
3164
|
-
}
|
|
3165
|
-
}
|
|
3166
|
-
],
|
|
3167
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "function",
|
|
3171
|
-
"name": "showCriteriaError",
|
|
3172
|
-
"return": {
|
|
3173
|
-
"type": {
|
|
3174
|
-
"text": "void"
|
|
3175
|
-
}
|
|
3176
|
-
},
|
|
3177
|
-
"parameters": [
|
|
3178
|
-
{
|
|
3179
|
-
"name": "title",
|
|
3180
|
-
"type": {
|
|
3181
|
-
"text": "string"
|
|
3182
|
-
},
|
|
3183
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"name": "body",
|
|
3187
|
-
"type": {
|
|
3188
|
-
"text": "string"
|
|
3189
|
-
},
|
|
3190
|
-
"description": "Error message to display"
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
"name": "tagName",
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "string"
|
|
3196
|
-
},
|
|
3197
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3198
|
-
}
|
|
3199
|
-
],
|
|
3200
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3201
|
-
}
|
|
3202
|
-
],
|
|
3203
|
-
"exports": [
|
|
2988
|
+
},
|
|
3204
2989
|
{
|
|
3205
2990
|
"kind": "js",
|
|
3206
|
-
"name": "
|
|
2991
|
+
"name": "*",
|
|
3207
2992
|
"declaration": {
|
|
3208
|
-
"name": "
|
|
3209
|
-
"
|
|
2993
|
+
"name": "*",
|
|
2994
|
+
"package": "./accordion.styles"
|
|
3210
2995
|
}
|
|
3211
2996
|
},
|
|
3212
2997
|
{
|
|
3213
2998
|
"kind": "js",
|
|
3214
|
-
"name": "
|
|
2999
|
+
"name": "*",
|
|
3215
3000
|
"declaration": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"
|
|
3001
|
+
"name": "*",
|
|
3002
|
+
"package": "./accordion"
|
|
3218
3003
|
}
|
|
3219
3004
|
}
|
|
3220
3005
|
]
|
|
3221
3006
|
},
|
|
3222
3007
|
{
|
|
3223
3008
|
"kind": "javascript-module",
|
|
3224
|
-
"path": "src/ai-
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3225
3010
|
"declarations": [
|
|
3226
3011
|
{
|
|
3227
|
-
"kind": "
|
|
3228
|
-
"name": "
|
|
3229
|
-
"
|
|
3230
|
-
"type": {
|
|
3231
|
-
"text": "ElementStyles"
|
|
3232
|
-
}
|
|
3233
|
-
},
|
|
3234
|
-
"parameters": [
|
|
3235
|
-
{
|
|
3236
|
-
"name": "context",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "ElementDefinitionContext"
|
|
3239
|
-
}
|
|
3240
|
-
},
|
|
3241
|
-
{
|
|
3242
|
-
"name": "definition",
|
|
3243
|
-
"type": {
|
|
3244
|
-
"text": "FoundationElementDefinition"
|
|
3245
|
-
}
|
|
3246
|
-
}
|
|
3247
|
-
]
|
|
3012
|
+
"kind": "variable",
|
|
3013
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3014
|
+
"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`"
|
|
3248
3015
|
}
|
|
3249
3016
|
],
|
|
3250
3017
|
"exports": [
|
|
3251
3018
|
{
|
|
3252
3019
|
"kind": "js",
|
|
3253
|
-
"name": "
|
|
3020
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3254
3021
|
"declaration": {
|
|
3255
|
-
"name": "
|
|
3256
|
-
"module": "src/ai-
|
|
3022
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3257
3024
|
}
|
|
3258
3025
|
}
|
|
3259
3026
|
]
|
|
3260
3027
|
},
|
|
3261
3028
|
{
|
|
3262
3029
|
"kind": "javascript-module",
|
|
3263
|
-
"path": "src/ai-
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3264
3031
|
"declarations": [
|
|
3265
3032
|
{
|
|
3266
3033
|
"kind": "variable",
|
|
3267
|
-
"name": "
|
|
3034
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3268
3035
|
"type": {
|
|
3269
|
-
"text": "ViewTemplate<
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3270
3037
|
},
|
|
3271
|
-
"default": "html`\n ${(x) =>
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3272
3039
|
}
|
|
3273
3040
|
],
|
|
3274
3041
|
"exports": [
|
|
3275
3042
|
{
|
|
3276
3043
|
"kind": "js",
|
|
3277
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3278
3045
|
"declaration": {
|
|
3279
|
-
"name": "
|
|
3280
|
-
"module": "src/ai-
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3281
3048
|
}
|
|
3282
3049
|
}
|
|
3283
3050
|
]
|
|
3284
3051
|
},
|
|
3285
3052
|
{
|
|
3286
3053
|
"kind": "javascript-module",
|
|
3287
|
-
"path": "src/ai-
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3288
3055
|
"declarations": [
|
|
3289
3056
|
{
|
|
3290
3057
|
"kind": "class",
|
|
3291
|
-
"description": "",
|
|
3292
|
-
"name": "
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3293
3060
|
"members": [
|
|
3294
3061
|
{
|
|
3295
3062
|
"kind": "field",
|
|
@@ -3300,25 +3067,54 @@
|
|
|
3300
3067
|
},
|
|
3301
3068
|
{
|
|
3302
3069
|
"kind": "field",
|
|
3303
|
-
"name": "
|
|
3070
|
+
"name": "placeholder",
|
|
3304
3071
|
"type": {
|
|
3305
|
-
"text": "
|
|
3072
|
+
"text": "string"
|
|
3306
3073
|
},
|
|
3307
|
-
"
|
|
3308
|
-
"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.",
|
|
3309
|
-
"readonly": true
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3310
3075
|
},
|
|
3311
3076
|
{
|
|
3312
3077
|
"kind": "field",
|
|
3313
|
-
"name": "
|
|
3078
|
+
"name": "disabled",
|
|
3314
3079
|
"type": {
|
|
3315
|
-
"text": "
|
|
3080
|
+
"text": "boolean"
|
|
3081
|
+
}
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "inputValue",
|
|
3086
|
+
"type": {
|
|
3087
|
+
"text": "string"
|
|
3088
|
+
},
|
|
3089
|
+
"default": "''"
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "field",
|
|
3093
|
+
"name": "isInterpreting",
|
|
3094
|
+
"type": {
|
|
3095
|
+
"text": "boolean"
|
|
3096
|
+
},
|
|
3097
|
+
"default": "false"
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"kind": "field",
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "string | null"
|
|
3316
3104
|
},
|
|
3317
3105
|
"default": "null"
|
|
3318
3106
|
},
|
|
3319
3107
|
{
|
|
3320
3108
|
"kind": "field",
|
|
3321
|
-
"name": "
|
|
3109
|
+
"name": "activeGroups",
|
|
3110
|
+
"type": {
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3112
|
+
},
|
|
3113
|
+
"default": "[]"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "field",
|
|
3117
|
+
"name": "showingChips",
|
|
3322
3118
|
"type": {
|
|
3323
3119
|
"text": "boolean"
|
|
3324
3120
|
},
|
|
@@ -3326,15 +3122,15 @@
|
|
|
3326
3122
|
},
|
|
3327
3123
|
{
|
|
3328
3124
|
"kind": "field",
|
|
3329
|
-
"name": "
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3330
3126
|
"type": {
|
|
3331
|
-
"text": "
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3332
3128
|
},
|
|
3333
|
-
"default": "
|
|
3129
|
+
"default": "[]"
|
|
3334
3130
|
},
|
|
3335
3131
|
{
|
|
3336
3132
|
"kind": "field",
|
|
3337
|
-
"name": "
|
|
3133
|
+
"name": "isRecording",
|
|
3338
3134
|
"type": {
|
|
3339
3135
|
"text": "boolean"
|
|
3340
3136
|
},
|
|
@@ -3342,29 +3138,33 @@
|
|
|
3342
3138
|
},
|
|
3343
3139
|
{
|
|
3344
3140
|
"kind": "field",
|
|
3345
|
-
"name": "
|
|
3141
|
+
"name": "textAreaRef",
|
|
3346
3142
|
"type": {
|
|
3347
|
-
"text": "
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3348
3144
|
},
|
|
3349
|
-
"privacy": "
|
|
3350
|
-
"default": "null"
|
|
3145
|
+
"privacy": "public"
|
|
3351
3146
|
},
|
|
3352
3147
|
{
|
|
3353
3148
|
"kind": "field",
|
|
3354
|
-
"name": "
|
|
3355
|
-
"
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3152
|
+
},
|
|
3153
|
+
"privacy": "private",
|
|
3154
|
+
"default": "null"
|
|
3356
3155
|
},
|
|
3357
3156
|
{
|
|
3358
3157
|
"kind": "field",
|
|
3359
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3360
3159
|
"type": {
|
|
3361
|
-
"text": "
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3362
3161
|
},
|
|
3363
|
-
"
|
|
3162
|
+
"privacy": "private",
|
|
3163
|
+
"default": "null"
|
|
3364
3164
|
},
|
|
3365
3165
|
{
|
|
3366
3166
|
"kind": "field",
|
|
3367
|
-
"name": "
|
|
3167
|
+
"name": "speechAvailable",
|
|
3368
3168
|
"type": {
|
|
3369
3169
|
"text": "boolean"
|
|
3370
3170
|
},
|
|
@@ -3372,69 +3172,65 @@
|
|
|
3372
3172
|
},
|
|
3373
3173
|
{
|
|
3374
3174
|
"kind": "field",
|
|
3375
|
-
"name": "
|
|
3175
|
+
"name": "criteriaChips",
|
|
3376
3176
|
"type": {
|
|
3377
|
-
"text": "
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3378
3178
|
},
|
|
3379
3179
|
"readonly": true
|
|
3380
3180
|
},
|
|
3381
3181
|
{
|
|
3382
3182
|
"kind": "method",
|
|
3383
|
-
"name": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3184
|
+
"privacy": "private",
|
|
3384
3185
|
"return": {
|
|
3385
3186
|
"type": {
|
|
3386
|
-
"text": "
|
|
3187
|
+
"text": "string"
|
|
3387
3188
|
}
|
|
3388
|
-
}
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
"kind": "method",
|
|
3392
|
-
"name": "handleClickOutside",
|
|
3393
|
-
"privacy": "private",
|
|
3189
|
+
},
|
|
3394
3190
|
"parameters": [
|
|
3395
3191
|
{
|
|
3396
|
-
"name": "
|
|
3192
|
+
"name": "fieldName",
|
|
3397
3193
|
"type": {
|
|
3398
|
-
"text": "
|
|
3194
|
+
"text": "string"
|
|
3399
3195
|
}
|
|
3400
3196
|
}
|
|
3401
3197
|
]
|
|
3402
3198
|
},
|
|
3403
3199
|
{
|
|
3404
3200
|
"kind": "method",
|
|
3405
|
-
"name": "
|
|
3406
|
-
},
|
|
3407
|
-
{
|
|
3408
|
-
"kind": "method",
|
|
3409
|
-
"name": "refreshStatus",
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3410
3202
|
"return": {
|
|
3411
3203
|
"type": {
|
|
3412
|
-
"text": "
|
|
3204
|
+
"text": "void"
|
|
3413
3205
|
}
|
|
3414
3206
|
}
|
|
3415
3207
|
},
|
|
3416
3208
|
{
|
|
3417
3209
|
"kind": "method",
|
|
3418
|
-
"name": "
|
|
3419
|
-
"privacy": "private",
|
|
3210
|
+
"name": "removeChip",
|
|
3420
3211
|
"return": {
|
|
3421
3212
|
"type": {
|
|
3422
|
-
"text": "
|
|
3213
|
+
"text": "void"
|
|
3423
3214
|
}
|
|
3424
3215
|
},
|
|
3425
3216
|
"parameters": [
|
|
3426
3217
|
{
|
|
3427
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3428
3219
|
"type": {
|
|
3429
|
-
"text": "
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "number"
|
|
3430
3227
|
}
|
|
3431
3228
|
}
|
|
3432
3229
|
]
|
|
3433
3230
|
},
|
|
3434
3231
|
{
|
|
3435
3232
|
"kind": "method",
|
|
3436
|
-
"name": "
|
|
3437
|
-
"privacy": "private",
|
|
3233
|
+
"name": "clearChips",
|
|
3438
3234
|
"return": {
|
|
3439
3235
|
"type": {
|
|
3440
3236
|
"text": "void"
|
|
@@ -3443,32 +3239,24 @@
|
|
|
3443
3239
|
},
|
|
3444
3240
|
{
|
|
3445
3241
|
"kind": "method",
|
|
3446
|
-
"name": "
|
|
3447
|
-
"privacy": "private",
|
|
3448
|
-
"return": {
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "void"
|
|
3451
|
-
}
|
|
3452
|
-
}
|
|
3242
|
+
"name": "handleSubmit"
|
|
3453
3243
|
},
|
|
3454
3244
|
{
|
|
3455
3245
|
"kind": "method",
|
|
3456
|
-
"name": "
|
|
3457
|
-
"privacy": "private",
|
|
3458
|
-
"return": {
|
|
3459
|
-
"type": {
|
|
3460
|
-
"text": "void"
|
|
3461
|
-
}
|
|
3462
|
-
}
|
|
3246
|
+
"name": "handleBlur"
|
|
3463
3247
|
},
|
|
3464
3248
|
{
|
|
3465
3249
|
"kind": "method",
|
|
3466
|
-
"name": "
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"kind": "method",
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3472
3260
|
},
|
|
3473
3261
|
{
|
|
3474
3262
|
"kind": "field",
|
|
@@ -3582,141 +3370,259 @@
|
|
|
3582
3370
|
}
|
|
3583
3371
|
}
|
|
3584
3372
|
],
|
|
3373
|
+
"events": [
|
|
3374
|
+
{
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3381
|
+
}
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3384
|
+
{
|
|
3385
|
+
"name": "placeholder",
|
|
3386
|
+
"type": {
|
|
3387
|
+
"text": "string"
|
|
3388
|
+
},
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "disabled"
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3585
3399
|
"superclass": {
|
|
3586
3400
|
"name": "FoundationElement",
|
|
3587
3401
|
"package": "@microsoft/fast-foundation"
|
|
3588
3402
|
},
|
|
3589
|
-
"tagName": "%%prefix%%-ai-
|
|
3590
|
-
"customElement": true
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
+
"customElement": true
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "variable",
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3409
|
+
"type": {
|
|
3410
|
+
"text": "ShadowRootInit"
|
|
3411
|
+
},
|
|
3412
|
+
"default": "undefined"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "variable",
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3417
|
+
"type": {
|
|
3418
|
+
"text": "object"
|
|
3419
|
+
},
|
|
3420
|
+
"default": "{}"
|
|
3591
3421
|
},
|
|
3592
3422
|
{
|
|
3593
3423
|
"kind": "variable",
|
|
3594
|
-
"name": "
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3595
3425
|
}
|
|
3596
3426
|
],
|
|
3597
3427
|
"exports": [
|
|
3598
3428
|
{
|
|
3599
3429
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3601
3431
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "src/ai-
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3604
3434
|
}
|
|
3605
3435
|
},
|
|
3606
3436
|
{
|
|
3607
3437
|
"kind": "js",
|
|
3608
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3609
3439
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"module": "src/ai-
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "js",
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3447
|
+
"declaration": {
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "js",
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3455
|
+
"declaration": {
|
|
3456
|
+
"name": "foundationAiCriteriaSearch",
|
|
3457
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3612
3458
|
}
|
|
3613
3459
|
}
|
|
3614
3460
|
]
|
|
3615
3461
|
},
|
|
3616
3462
|
{
|
|
3617
3463
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/ai-
|
|
3464
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3619
3465
|
"declarations": [],
|
|
3620
3466
|
"exports": [
|
|
3621
3467
|
{
|
|
3622
3468
|
"kind": "js",
|
|
3623
|
-
"name": "
|
|
3469
|
+
"name": "AiCriteriaSearch",
|
|
3624
3470
|
"declaration": {
|
|
3625
|
-
"name": "
|
|
3626
|
-
"module": "./ai-
|
|
3471
|
+
"name": "AiCriteriaSearch",
|
|
3472
|
+
"module": "./ai-criteria-search"
|
|
3627
3473
|
}
|
|
3628
3474
|
},
|
|
3629
3475
|
{
|
|
3630
3476
|
"kind": "js",
|
|
3631
|
-
"name": "
|
|
3477
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3632
3478
|
"declaration": {
|
|
3633
|
-
"name": "
|
|
3634
|
-
"module": "./ai-
|
|
3479
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
+
"module": "./ai-criteria-search"
|
|
3635
3481
|
}
|
|
3636
3482
|
},
|
|
3637
3483
|
{
|
|
3638
3484
|
"kind": "js",
|
|
3639
|
-
"name": "
|
|
3485
|
+
"name": "foundationAiCriteriaSearch",
|
|
3640
3486
|
"declaration": {
|
|
3641
|
-
"name": "
|
|
3642
|
-
"module": "./ai-
|
|
3487
|
+
"name": "foundationAiCriteriaSearch",
|
|
3488
|
+
"module": "./ai-criteria-search"
|
|
3643
3489
|
}
|
|
3644
3490
|
},
|
|
3645
3491
|
{
|
|
3646
3492
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3648
3494
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "./ai-
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "./ai-criteria-search"
|
|
3651
3497
|
}
|
|
3652
3498
|
},
|
|
3653
3499
|
{
|
|
3654
3500
|
"kind": "js",
|
|
3655
|
-
"name": "
|
|
3501
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3656
3502
|
"declaration": {
|
|
3657
|
-
"name": "
|
|
3658
|
-
"module": "./ai-
|
|
3503
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
+
"module": "./ai-criteria-search.styles"
|
|
3659
3505
|
}
|
|
3660
3506
|
},
|
|
3661
3507
|
{
|
|
3662
3508
|
"kind": "js",
|
|
3663
|
-
"name": "
|
|
3509
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3664
3510
|
"declaration": {
|
|
3665
|
-
"name": "
|
|
3666
|
-
"module": "./ai-
|
|
3511
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
+
"module": "./ai-criteria-search.template"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "js",
|
|
3517
|
+
"name": "*",
|
|
3518
|
+
"declaration": {
|
|
3519
|
+
"name": "*",
|
|
3520
|
+
"package": "./validation/criteria-ir"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "js",
|
|
3525
|
+
"name": "*",
|
|
3526
|
+
"declaration": {
|
|
3527
|
+
"name": "*",
|
|
3528
|
+
"package": "./validation/operator-map"
|
|
3529
|
+
}
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"kind": "js",
|
|
3533
|
+
"name": "*",
|
|
3534
|
+
"declaration": {
|
|
3535
|
+
"name": "*",
|
|
3536
|
+
"package": "./validation/schema-validator"
|
|
3667
3537
|
}
|
|
3668
3538
|
}
|
|
3669
3539
|
]
|
|
3670
3540
|
},
|
|
3671
3541
|
{
|
|
3672
3542
|
"kind": "javascript-module",
|
|
3673
|
-
"path": "src/
|
|
3543
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3674
3544
|
"declarations": [
|
|
3675
3545
|
{
|
|
3676
3546
|
"kind": "function",
|
|
3677
|
-
"name": "
|
|
3547
|
+
"name": "formatValidationErrors",
|
|
3678
3548
|
"return": {
|
|
3679
3549
|
"type": {
|
|
3680
|
-
"text": "
|
|
3550
|
+
"text": "string"
|
|
3681
3551
|
}
|
|
3682
3552
|
},
|
|
3683
3553
|
"parameters": [
|
|
3684
3554
|
{
|
|
3685
|
-
"name": "
|
|
3555
|
+
"name": "errors",
|
|
3686
3556
|
"type": {
|
|
3687
|
-
"text": "
|
|
3557
|
+
"text": "ValidationError[]"
|
|
3688
3558
|
}
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"kind": "function",
|
|
3565
|
+
"name": "showCriteriaError",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "title",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3689
3578
|
},
|
|
3690
3579
|
{
|
|
3691
|
-
"name": "
|
|
3580
|
+
"name": "body",
|
|
3692
3581
|
"type": {
|
|
3693
|
-
"text": "
|
|
3694
|
-
}
|
|
3582
|
+
"text": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "Error message to display"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "tagName",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"text": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3695
3592
|
}
|
|
3696
|
-
]
|
|
3593
|
+
],
|
|
3594
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3697
3595
|
}
|
|
3698
3596
|
],
|
|
3699
3597
|
"exports": [
|
|
3700
3598
|
{
|
|
3701
3599
|
"kind": "js",
|
|
3702
|
-
"name": "
|
|
3600
|
+
"name": "formatValidationErrors",
|
|
3703
3601
|
"declaration": {
|
|
3704
|
-
"name": "
|
|
3705
|
-
"module": "src/
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "showCriteriaError",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "showCriteriaError",
|
|
3611
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3706
3612
|
}
|
|
3707
3613
|
}
|
|
3708
3614
|
]
|
|
3709
3615
|
},
|
|
3710
3616
|
{
|
|
3711
3617
|
"kind": "javascript-module",
|
|
3712
|
-
"path": "src/
|
|
3618
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3713
3619
|
"declarations": [
|
|
3714
3620
|
{
|
|
3715
3621
|
"kind": "function",
|
|
3716
|
-
"name": "
|
|
3622
|
+
"name": "foundationAiIndicatorStyles",
|
|
3717
3623
|
"return": {
|
|
3718
3624
|
"type": {
|
|
3719
|
-
"text": "
|
|
3625
|
+
"text": "ElementStyles"
|
|
3720
3626
|
}
|
|
3721
3627
|
},
|
|
3722
3628
|
"parameters": [
|
|
@@ -3738,116 +3644,224 @@
|
|
|
3738
3644
|
"exports": [
|
|
3739
3645
|
{
|
|
3740
3646
|
"kind": "js",
|
|
3741
|
-
"name": "
|
|
3647
|
+
"name": "foundationAiIndicatorStyles",
|
|
3742
3648
|
"declaration": {
|
|
3743
|
-
"name": "
|
|
3744
|
-
"module": "src/
|
|
3649
|
+
"name": "foundationAiIndicatorStyles",
|
|
3650
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3745
3651
|
}
|
|
3746
3652
|
}
|
|
3747
3653
|
]
|
|
3748
3654
|
},
|
|
3749
3655
|
{
|
|
3750
3656
|
"kind": "javascript-module",
|
|
3751
|
-
"path": "src/
|
|
3657
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3658
|
+
"declarations": [
|
|
3659
|
+
{
|
|
3660
|
+
"kind": "variable",
|
|
3661
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3662
|
+
"type": {
|
|
3663
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3664
|
+
},
|
|
3665
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3666
|
+
}
|
|
3667
|
+
],
|
|
3668
|
+
"exports": [
|
|
3669
|
+
{
|
|
3670
|
+
"kind": "js",
|
|
3671
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3672
|
+
"declaration": {
|
|
3673
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3674
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
]
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"kind": "javascript-module",
|
|
3681
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3752
3682
|
"declarations": [
|
|
3753
3683
|
{
|
|
3754
3684
|
"kind": "class",
|
|
3755
3685
|
"description": "",
|
|
3756
|
-
"name": "
|
|
3757
|
-
"
|
|
3758
|
-
"name": "FASTAccordionItem",
|
|
3759
|
-
"package": "@microsoft/fast-components"
|
|
3760
|
-
},
|
|
3761
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
3762
|
-
"customElement": true,
|
|
3763
|
-
"attributes": [
|
|
3686
|
+
"name": "AiIndicator",
|
|
3687
|
+
"members": [
|
|
3764
3688
|
{
|
|
3765
|
-
"
|
|
3689
|
+
"kind": "field",
|
|
3690
|
+
"name": "providerRegistry",
|
|
3766
3691
|
"type": {
|
|
3767
|
-
"text": "
|
|
3768
|
-
},
|
|
3769
|
-
"default": "2",
|
|
3770
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3771
|
-
"fieldName": "headinglevel",
|
|
3772
|
-
"inheritedFrom": {
|
|
3773
|
-
"name": "AccordionItem",
|
|
3774
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3692
|
+
"text": "AIProviderRegistry"
|
|
3775
3693
|
}
|
|
3776
3694
|
},
|
|
3777
3695
|
{
|
|
3696
|
+
"kind": "field",
|
|
3697
|
+
"name": "aiProvider",
|
|
3698
|
+
"type": {
|
|
3699
|
+
"text": "AIProvider | undefined"
|
|
3700
|
+
},
|
|
3701
|
+
"privacy": "private",
|
|
3702
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
+
"readonly": true
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"kind": "field",
|
|
3707
|
+
"name": "status",
|
|
3708
|
+
"type": {
|
|
3709
|
+
"text": "AIStatus | null"
|
|
3710
|
+
},
|
|
3711
|
+
"default": "null"
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
"kind": "field",
|
|
3715
|
+
"name": "open",
|
|
3716
|
+
"type": {
|
|
3717
|
+
"text": "boolean"
|
|
3718
|
+
},
|
|
3719
|
+
"default": "false"
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"kind": "field",
|
|
3723
|
+
"name": "state",
|
|
3724
|
+
"type": {
|
|
3725
|
+
"text": "AIIndicatorState"
|
|
3726
|
+
},
|
|
3727
|
+
"default": "'none'"
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"kind": "field",
|
|
3731
|
+
"name": "isInstalling",
|
|
3778
3732
|
"type": {
|
|
3779
3733
|
"text": "boolean"
|
|
3780
3734
|
},
|
|
3781
|
-
"default": "false"
|
|
3782
|
-
"description": "Expands or collapses the item.",
|
|
3783
|
-
"fieldName": "expanded",
|
|
3784
|
-
"inheritedFrom": {
|
|
3785
|
-
"name": "AccordionItem",
|
|
3786
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3787
|
-
}
|
|
3735
|
+
"default": "false"
|
|
3788
3736
|
},
|
|
3789
3737
|
{
|
|
3790
|
-
"
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "pollTimer",
|
|
3791
3740
|
"type": {
|
|
3792
|
-
"text": "
|
|
3741
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3793
3742
|
},
|
|
3794
|
-
"
|
|
3795
|
-
"
|
|
3796
|
-
|
|
3797
|
-
"name": "AccordionItem",
|
|
3798
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3799
|
-
}
|
|
3800
|
-
}
|
|
3801
|
-
],
|
|
3802
|
-
"members": [
|
|
3743
|
+
"privacy": "private",
|
|
3744
|
+
"default": "null"
|
|
3745
|
+
},
|
|
3803
3746
|
{
|
|
3804
3747
|
"kind": "field",
|
|
3805
|
-
"name": "
|
|
3748
|
+
"name": "clickOutside",
|
|
3749
|
+
"privacy": "private"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"kind": "field",
|
|
3753
|
+
"name": "chromeStatusLabel",
|
|
3806
3754
|
"type": {
|
|
3807
|
-
"text": "
|
|
3755
|
+
"text": "string | null"
|
|
3808
3756
|
},
|
|
3809
|
-
"
|
|
3810
|
-
"default": "2",
|
|
3811
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3812
|
-
"inheritedFrom": {
|
|
3813
|
-
"name": "AccordionItem",
|
|
3814
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3815
|
-
}
|
|
3757
|
+
"readonly": true
|
|
3816
3758
|
},
|
|
3817
3759
|
{
|
|
3818
3760
|
"kind": "field",
|
|
3819
|
-
"name": "
|
|
3761
|
+
"name": "canInstall",
|
|
3820
3762
|
"type": {
|
|
3821
3763
|
"text": "boolean"
|
|
3822
3764
|
},
|
|
3823
|
-
"
|
|
3824
|
-
"default": "false",
|
|
3825
|
-
"description": "Expands or collapses the item.",
|
|
3826
|
-
"inheritedFrom": {
|
|
3827
|
-
"name": "AccordionItem",
|
|
3828
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3829
|
-
}
|
|
3765
|
+
"readonly": true
|
|
3830
3766
|
},
|
|
3831
3767
|
{
|
|
3832
3768
|
"kind": "field",
|
|
3833
|
-
"name": "
|
|
3769
|
+
"name": "isDownloading",
|
|
3834
3770
|
"type": {
|
|
3835
|
-
"text": "
|
|
3771
|
+
"text": "boolean"
|
|
3836
3772
|
},
|
|
3837
|
-
"
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3773
|
+
"readonly": true
|
|
3774
|
+
},
|
|
3775
|
+
{
|
|
3776
|
+
"kind": "method",
|
|
3777
|
+
"name": "openChanged",
|
|
3778
|
+
"return": {
|
|
3779
|
+
"type": {
|
|
3780
|
+
"text": "void"
|
|
3781
|
+
}
|
|
3842
3782
|
}
|
|
3843
3783
|
},
|
|
3844
3784
|
{
|
|
3845
|
-
"kind": "
|
|
3846
|
-
"name": "
|
|
3785
|
+
"kind": "method",
|
|
3786
|
+
"name": "handleClickOutside",
|
|
3847
3787
|
"privacy": "private",
|
|
3848
|
-
"
|
|
3849
|
-
|
|
3850
|
-
|
|
3788
|
+
"parameters": [
|
|
3789
|
+
{
|
|
3790
|
+
"name": "event",
|
|
3791
|
+
"type": {
|
|
3792
|
+
"text": "MouseEvent"
|
|
3793
|
+
}
|
|
3794
|
+
}
|
|
3795
|
+
]
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "method",
|
|
3799
|
+
"name": "toggleDropdown"
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"kind": "method",
|
|
3803
|
+
"name": "refreshStatus",
|
|
3804
|
+
"return": {
|
|
3805
|
+
"type": {
|
|
3806
|
+
"text": "Promise<void>"
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"kind": "method",
|
|
3812
|
+
"name": "deriveState",
|
|
3813
|
+
"privacy": "private",
|
|
3814
|
+
"return": {
|
|
3815
|
+
"type": {
|
|
3816
|
+
"text": "AIIndicatorState"
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
"parameters": [
|
|
3820
|
+
{
|
|
3821
|
+
"name": "s",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "AIStatus | null"
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
]
|
|
3827
|
+
},
|
|
3828
|
+
{
|
|
3829
|
+
"kind": "method",
|
|
3830
|
+
"name": "maybeStartPolling",
|
|
3831
|
+
"privacy": "private",
|
|
3832
|
+
"return": {
|
|
3833
|
+
"type": {
|
|
3834
|
+
"text": "void"
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"kind": "method",
|
|
3840
|
+
"name": "startPolling",
|
|
3841
|
+
"privacy": "private",
|
|
3842
|
+
"return": {
|
|
3843
|
+
"type": {
|
|
3844
|
+
"text": "void"
|
|
3845
|
+
}
|
|
3846
|
+
}
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "method",
|
|
3850
|
+
"name": "stopPolling",
|
|
3851
|
+
"privacy": "private",
|
|
3852
|
+
"return": {
|
|
3853
|
+
"type": {
|
|
3854
|
+
"text": "void"
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3857
|
+
},
|
|
3858
|
+
{
|
|
3859
|
+
"kind": "method",
|
|
3860
|
+
"name": "onInstall",
|
|
3861
|
+
"return": {
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "Promise<void>"
|
|
3864
|
+
}
|
|
3851
3865
|
}
|
|
3852
3866
|
},
|
|
3853
3867
|
{
|
|
@@ -3962,102 +3976,88 @@
|
|
|
3962
3976
|
}
|
|
3963
3977
|
}
|
|
3964
3978
|
],
|
|
3965
|
-
"
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
"name": "change",
|
|
3969
|
-
"inheritedFrom": {
|
|
3970
|
-
"name": "AccordionItem",
|
|
3971
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3972
|
-
}
|
|
3973
|
-
}
|
|
3974
|
-
]
|
|
3975
|
-
},
|
|
3976
|
-
{
|
|
3977
|
-
"kind": "variable",
|
|
3978
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
3979
|
-
"type": {
|
|
3980
|
-
"text": "ShadowRootInit"
|
|
3981
|
-
},
|
|
3982
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3983
|
-
},
|
|
3984
|
-
{
|
|
3985
|
-
"kind": "variable",
|
|
3986
|
-
"name": "defaultAccordionItemConfig",
|
|
3987
|
-
"type": {
|
|
3988
|
-
"text": "object"
|
|
3979
|
+
"superclass": {
|
|
3980
|
+
"name": "FoundationElement",
|
|
3981
|
+
"package": "@microsoft/fast-foundation"
|
|
3989
3982
|
},
|
|
3990
|
-
"
|
|
3983
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3984
|
+
"customElement": true
|
|
3991
3985
|
},
|
|
3992
3986
|
{
|
|
3993
3987
|
"kind": "variable",
|
|
3994
|
-
"name": "
|
|
3995
|
-
"description": "The Foundation Accordion Item",
|
|
3996
|
-
"privacy": "public"
|
|
3988
|
+
"name": "foundationAiIndicator"
|
|
3997
3989
|
}
|
|
3998
3990
|
],
|
|
3999
3991
|
"exports": [
|
|
4000
3992
|
{
|
|
4001
3993
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
3994
|
+
"name": "AiIndicator",
|
|
4003
3995
|
"declaration": {
|
|
4004
|
-
"name": "
|
|
4005
|
-
"module": "src/
|
|
3996
|
+
"name": "AiIndicator",
|
|
3997
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
3998
|
}
|
|
4007
3999
|
},
|
|
4008
4000
|
{
|
|
4009
4001
|
"kind": "js",
|
|
4010
|
-
"name": "
|
|
4002
|
+
"name": "foundationAiIndicator",
|
|
4011
4003
|
"declaration": {
|
|
4012
|
-
"name": "
|
|
4013
|
-
"module": "src/
|
|
4004
|
+
"name": "foundationAiIndicator",
|
|
4005
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
4008
|
+
]
|
|
4009
|
+
},
|
|
4010
|
+
{
|
|
4011
|
+
"kind": "javascript-module",
|
|
4012
|
+
"path": "src/ai-indicator/index.ts",
|
|
4013
|
+
"declarations": [],
|
|
4014
|
+
"exports": [
|
|
4015
|
+
{
|
|
4016
|
+
"kind": "js",
|
|
4017
|
+
"name": "AiIndicator",
|
|
4018
|
+
"declaration": {
|
|
4019
|
+
"name": "AiIndicator",
|
|
4020
|
+
"module": "./ai-indicator"
|
|
4014
4021
|
}
|
|
4015
4022
|
},
|
|
4016
4023
|
{
|
|
4017
4024
|
"kind": "js",
|
|
4018
|
-
"name": "
|
|
4025
|
+
"name": "foundationAiIndicator",
|
|
4019
4026
|
"declaration": {
|
|
4020
|
-
"name": "
|
|
4021
|
-
"module": "
|
|
4027
|
+
"name": "foundationAiIndicator",
|
|
4028
|
+
"module": "./ai-indicator"
|
|
4022
4029
|
}
|
|
4023
4030
|
},
|
|
4024
4031
|
{
|
|
4025
4032
|
"kind": "js",
|
|
4026
|
-
"name": "
|
|
4033
|
+
"name": "type",
|
|
4027
4034
|
"declaration": {
|
|
4028
|
-
"name": "
|
|
4029
|
-
"module": "
|
|
4035
|
+
"name": "type",
|
|
4036
|
+
"module": "./ai-indicator"
|
|
4030
4037
|
}
|
|
4031
|
-
}
|
|
4032
|
-
]
|
|
4033
|
-
},
|
|
4034
|
-
{
|
|
4035
|
-
"kind": "javascript-module",
|
|
4036
|
-
"path": "src/accordion-item/index.ts",
|
|
4037
|
-
"declarations": [],
|
|
4038
|
-
"exports": [
|
|
4038
|
+
},
|
|
4039
4039
|
{
|
|
4040
4040
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
4041
|
+
"name": "AIIndicatorState",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "AIIndicatorState",
|
|
4044
|
+
"module": "./ai-indicator"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "foundationAiIndicatorTemplate",
|
|
4052
|
+
"module": "./ai-indicator.template"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "foundationAiIndicatorStyles",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "foundationAiIndicatorStyles",
|
|
4060
|
+
"module": "./ai-indicator.styles"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|