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