@genesislcap/foundation-ui 15.92.1 → 15.94.0-HT-305.4
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 +1304 -1304
- package/dist/dts/number-field/number-field.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/number-field/number-field.js +2 -2
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +17 -17
|
@@ -1495,11 +1495,42 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1499
1530
|
"declarations": [
|
|
1500
1531
|
{
|
|
1501
1532
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionStyles",
|
|
1503
1534
|
"return": {
|
|
1504
1535
|
"type": {
|
|
1505
1536
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1555,24 @@
|
|
|
1524
1555
|
"exports": [
|
|
1525
1556
|
{
|
|
1526
1557
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1558
|
+
"name": "foundationAccordionStyles",
|
|
1528
1559
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion
|
|
1560
|
+
"name": "foundationAccordionStyles",
|
|
1561
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1531
1562
|
}
|
|
1532
1563
|
}
|
|
1533
1564
|
]
|
|
1534
1565
|
},
|
|
1535
1566
|
{
|
|
1536
1567
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion
|
|
1568
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1538
1569
|
"declarations": [
|
|
1539
1570
|
{
|
|
1540
1571
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionTemplate",
|
|
1542
1573
|
"return": {
|
|
1543
1574
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<Accordion>"
|
|
1545
1576
|
}
|
|
1546
1577
|
},
|
|
1547
1578
|
"parameters": [
|
|
@@ -1563,244 +1594,365 @@
|
|
|
1563
1594
|
"exports": [
|
|
1564
1595
|
{
|
|
1565
1596
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionTemplate",
|
|
1567
1598
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion
|
|
1599
|
+
"name": "foundationAccordionTemplate",
|
|
1600
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1570
1601
|
}
|
|
1571
1602
|
}
|
|
1572
1603
|
]
|
|
1573
1604
|
},
|
|
1574
1605
|
{
|
|
1575
1606
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion
|
|
1607
|
+
"path": "src/accordion/accordion.ts",
|
|
1577
1608
|
"declarations": [
|
|
1578
1609
|
{
|
|
1579
1610
|
"kind": "class",
|
|
1580
1611
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1612
|
+
"name": "Accordion",
|
|
1582
1613
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordion",
|
|
1615
|
+
"package": "@microsoft/fast-foundation"
|
|
1585
1616
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion
|
|
1617
|
+
"tagName": "%%prefix%%-accordion",
|
|
1587
1618
|
"customElement": true,
|
|
1588
1619
|
"attributes": [
|
|
1589
1620
|
{
|
|
1590
|
-
"name": "
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1593
|
-
},
|
|
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",
|
|
1597
|
-
"inheritedFrom": {
|
|
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",
|
|
1621
|
+
"name": "expand-mode",
|
|
1616
1622
|
"type": {
|
|
1617
|
-
"text": "
|
|
1623
|
+
"text": "AccordionExpandMode"
|
|
1618
1624
|
},
|
|
1619
|
-
"description": "
|
|
1620
|
-
"fieldName": "
|
|
1625
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1626
|
+
"fieldName": "expandmode",
|
|
1621
1627
|
"inheritedFrom": {
|
|
1622
|
-
"name": "
|
|
1623
|
-
"module": "src/accordion
|
|
1628
|
+
"name": "Accordion",
|
|
1629
|
+
"module": "src/accordion/accordion.ts"
|
|
1624
1630
|
}
|
|
1625
1631
|
}
|
|
1626
1632
|
],
|
|
1627
1633
|
"members": [
|
|
1628
1634
|
{
|
|
1629
1635
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1636
|
+
"name": "expandmode",
|
|
1631
1637
|
"type": {
|
|
1632
|
-
"text": "
|
|
1638
|
+
"text": "AccordionExpandMode"
|
|
1633
1639
|
},
|
|
1634
1640
|
"privacy": "public",
|
|
1635
|
-
"
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1641
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1637
1642
|
"inheritedFrom": {
|
|
1638
|
-
"name": "
|
|
1639
|
-
"module": "src/accordion
|
|
1643
|
+
"name": "Accordion",
|
|
1644
|
+
"module": "src/accordion/accordion.ts"
|
|
1640
1645
|
}
|
|
1641
1646
|
},
|
|
1642
1647
|
{
|
|
1643
1648
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1649
|
+
"name": "activeid",
|
|
1645
1650
|
"type": {
|
|
1646
|
-
"text": "
|
|
1651
|
+
"text": "string | null"
|
|
1647
1652
|
},
|
|
1648
|
-
"privacy": "
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1653
|
+
"privacy": "private",
|
|
1651
1654
|
"inheritedFrom": {
|
|
1652
|
-
"name": "
|
|
1653
|
-
"module": "src/accordion
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1654
1657
|
}
|
|
1655
1658
|
},
|
|
1656
1659
|
{
|
|
1657
1660
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1661
|
+
"name": "activeItemIndex",
|
|
1659
1662
|
"type": {
|
|
1660
|
-
"text": "
|
|
1663
|
+
"text": "number"
|
|
1661
1664
|
},
|
|
1662
|
-
"privacy": "
|
|
1663
|
-
"
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"default": "0",
|
|
1664
1667
|
"inheritedFrom": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "src/accordion
|
|
1668
|
+
"name": "Accordion",
|
|
1669
|
+
"module": "src/accordion/accordion.ts"
|
|
1667
1670
|
}
|
|
1668
1671
|
},
|
|
1669
1672
|
{
|
|
1670
1673
|
"kind": "field",
|
|
1671
|
-
"name": "
|
|
1674
|
+
"name": "accordionIds",
|
|
1675
|
+
"type": {
|
|
1676
|
+
"text": "Array<string | null>"
|
|
1677
|
+
},
|
|
1672
1678
|
"privacy": "private",
|
|
1673
1679
|
"inheritedFrom": {
|
|
1674
|
-
"name": "
|
|
1675
|
-
"module": "src/accordion
|
|
1680
|
+
"name": "Accordion",
|
|
1681
|
+
"module": "src/accordion/accordion.ts"
|
|
1676
1682
|
}
|
|
1677
1683
|
},
|
|
1678
1684
|
{
|
|
1679
1685
|
"kind": "field",
|
|
1680
|
-
"name": "
|
|
1681
|
-
"type": {
|
|
1682
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1683
|
-
},
|
|
1686
|
+
"name": "change",
|
|
1684
1687
|
"privacy": "private",
|
|
1685
|
-
"default": "void 0",
|
|
1686
1688
|
"inheritedFrom": {
|
|
1687
|
-
"name": "
|
|
1688
|
-
"module": "src/
|
|
1689
|
+
"name": "Accordion",
|
|
1690
|
+
"module": "src/accordion/accordion.ts"
|
|
1689
1691
|
}
|
|
1690
1692
|
},
|
|
1691
1693
|
{
|
|
1692
|
-
"kind": "
|
|
1693
|
-
"name": "
|
|
1694
|
-
"
|
|
1695
|
-
|
|
1694
|
+
"kind": "method",
|
|
1695
|
+
"name": "findExpandedItem",
|
|
1696
|
+
"privacy": "private",
|
|
1697
|
+
"return": {
|
|
1698
|
+
"type": {
|
|
1699
|
+
"text": "AccordionItem | null"
|
|
1700
|
+
}
|
|
1696
1701
|
},
|
|
1697
|
-
"privacy": "public",
|
|
1698
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1699
1702
|
"inheritedFrom": {
|
|
1700
|
-
"name": "
|
|
1701
|
-
"module": "src/
|
|
1703
|
+
"name": "Accordion",
|
|
1704
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
1705
|
}
|
|
1703
1706
|
},
|
|
1704
1707
|
{
|
|
1705
1708
|
"kind": "field",
|
|
1706
|
-
"name": "
|
|
1707
|
-
"
|
|
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.",
|
|
1709
|
+
"name": "setItems",
|
|
1710
|
+
"privacy": "private",
|
|
1712
1711
|
"inheritedFrom": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "src/
|
|
1712
|
+
"name": "Accordion",
|
|
1713
|
+
"module": "src/accordion/accordion.ts"
|
|
1715
1714
|
}
|
|
1716
1715
|
},
|
|
1717
1716
|
{
|
|
1718
1717
|
"kind": "method",
|
|
1719
|
-
"name": "
|
|
1720
|
-
"privacy": "
|
|
1718
|
+
"name": "resetItems",
|
|
1719
|
+
"privacy": "private",
|
|
1721
1720
|
"return": {
|
|
1722
1721
|
"type": {
|
|
1723
1722
|
"text": "void"
|
|
1724
1723
|
}
|
|
1725
1724
|
},
|
|
1726
1725
|
"inheritedFrom": {
|
|
1727
|
-
"name": "
|
|
1728
|
-
"module": "src/
|
|
1726
|
+
"name": "Accordion",
|
|
1727
|
+
"module": "src/accordion/accordion.ts"
|
|
1729
1728
|
}
|
|
1730
1729
|
},
|
|
1731
1730
|
{
|
|
1732
1731
|
"kind": "field",
|
|
1733
|
-
"name": "
|
|
1734
|
-
"
|
|
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.",
|
|
1732
|
+
"name": "removeItemListeners",
|
|
1733
|
+
"privacy": "private",
|
|
1739
1734
|
"inheritedFrom": {
|
|
1740
|
-
"name": "
|
|
1741
|
-
"module": "src/
|
|
1735
|
+
"name": "Accordion",
|
|
1736
|
+
"module": "src/accordion/accordion.ts"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "field",
|
|
1741
|
+
"name": "activeItemChange",
|
|
1742
|
+
"privacy": "private",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "Accordion",
|
|
1745
|
+
"module": "src/accordion/accordion.ts"
|
|
1742
1746
|
}
|
|
1743
1747
|
},
|
|
1744
1748
|
{
|
|
1745
1749
|
"kind": "method",
|
|
1746
|
-
"name": "
|
|
1747
|
-
"privacy": "
|
|
1750
|
+
"name": "getItemIds",
|
|
1751
|
+
"privacy": "private",
|
|
1748
1752
|
"return": {
|
|
1749
1753
|
"type": {
|
|
1750
|
-
"text": "
|
|
1754
|
+
"text": "Array<string | null>"
|
|
1751
1755
|
}
|
|
1752
1756
|
},
|
|
1753
1757
|
"inheritedFrom": {
|
|
1754
|
-
"name": "
|
|
1755
|
-
"module": "src/
|
|
1758
|
+
"name": "Accordion",
|
|
1759
|
+
"module": "src/accordion/accordion.ts"
|
|
1756
1760
|
}
|
|
1757
1761
|
},
|
|
1758
1762
|
{
|
|
1759
1763
|
"kind": "method",
|
|
1760
|
-
"name": "
|
|
1761
|
-
"privacy": "
|
|
1762
|
-
"static": true,
|
|
1764
|
+
"name": "isSingleExpandMode",
|
|
1765
|
+
"privacy": "private",
|
|
1763
1766
|
"return": {
|
|
1764
1767
|
"type": {
|
|
1765
|
-
"text": "
|
|
1768
|
+
"text": "boolean"
|
|
1766
1769
|
}
|
|
1767
1770
|
},
|
|
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.",
|
|
1784
1771
|
"inheritedFrom": {
|
|
1785
|
-
"name": "
|
|
1786
|
-
"module": "src/
|
|
1772
|
+
"name": "Accordion",
|
|
1773
|
+
"module": "src/accordion/accordion.ts"
|
|
1787
1774
|
}
|
|
1788
|
-
}
|
|
1789
|
-
],
|
|
1790
|
-
"events": [
|
|
1775
|
+
},
|
|
1791
1776
|
{
|
|
1792
|
-
"
|
|
1793
|
-
"name": "
|
|
1794
|
-
"
|
|
1795
|
-
|
|
1796
|
-
"
|
|
1777
|
+
"kind": "field",
|
|
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",
|
|
1945
|
+
"name": "change",
|
|
1946
|
+
"inheritedFrom": {
|
|
1947
|
+
"name": "Accordion",
|
|
1948
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
1949
|
}
|
|
1798
1950
|
}
|
|
1799
1951
|
]
|
|
1800
1952
|
},
|
|
1801
1953
|
{
|
|
1802
1954
|
"kind": "variable",
|
|
1803
|
-
"name": "
|
|
1955
|
+
"name": "foundationAccordionShadowOptions",
|
|
1804
1956
|
"type": {
|
|
1805
1957
|
"text": "ShadowRootInit"
|
|
1806
1958
|
},
|
|
@@ -1808,88 +1960,57 @@
|
|
|
1808
1960
|
},
|
|
1809
1961
|
{
|
|
1810
1962
|
"kind": "variable",
|
|
1811
|
-
"name": "
|
|
1963
|
+
"name": "defaultAccordionConfig",
|
|
1812
1964
|
"type": {
|
|
1813
1965
|
"text": "object"
|
|
1814
1966
|
},
|
|
1815
|
-
"default": "{
|
|
1967
|
+
"default": "{}"
|
|
1816
1968
|
},
|
|
1817
1969
|
{
|
|
1818
1970
|
"kind": "variable",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The Foundation Accordion
|
|
1971
|
+
"name": "foundationAccordion",
|
|
1972
|
+
"description": "The Foundation Accordion",
|
|
1821
1973
|
"privacy": "public"
|
|
1822
1974
|
}
|
|
1823
1975
|
],
|
|
1824
1976
|
"exports": [
|
|
1825
1977
|
{
|
|
1826
1978
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1828
|
-
"declaration": {
|
|
1829
|
-
"name": "AccordionItem",
|
|
1830
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "js",
|
|
1835
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1836
|
-
"declaration": {
|
|
1837
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1839
|
-
}
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"kind": "js",
|
|
1843
|
-
"name": "defaultAccordionItemConfig",
|
|
1979
|
+
"name": "Accordion",
|
|
1844
1980
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion
|
|
1981
|
+
"name": "Accordion",
|
|
1982
|
+
"module": "src/accordion/accordion.ts"
|
|
1847
1983
|
}
|
|
1848
1984
|
},
|
|
1849
1985
|
{
|
|
1850
1986
|
"kind": "js",
|
|
1851
|
-
"name": "
|
|
1852
|
-
"declaration": {
|
|
1853
|
-
"name": "foundationAccordionItem",
|
|
1854
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1855
|
-
}
|
|
1856
|
-
}
|
|
1857
|
-
]
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/accordion-item/index.ts",
|
|
1862
|
-
"declarations": [],
|
|
1863
|
-
"exports": [
|
|
1864
|
-
{
|
|
1865
|
-
"kind": "js",
|
|
1866
|
-
"name": "*",
|
|
1987
|
+
"name": "foundationAccordionShadowOptions",
|
|
1867
1988
|
"declaration": {
|
|
1868
|
-
"name": "
|
|
1869
|
-
"
|
|
1989
|
+
"name": "foundationAccordionShadowOptions",
|
|
1990
|
+
"module": "src/accordion/accordion.ts"
|
|
1870
1991
|
}
|
|
1871
1992
|
},
|
|
1872
1993
|
{
|
|
1873
1994
|
"kind": "js",
|
|
1874
|
-
"name": "
|
|
1995
|
+
"name": "defaultAccordionConfig",
|
|
1875
1996
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"
|
|
1997
|
+
"name": "defaultAccordionConfig",
|
|
1998
|
+
"module": "src/accordion/accordion.ts"
|
|
1878
1999
|
}
|
|
1879
2000
|
},
|
|
1880
2001
|
{
|
|
1881
2002
|
"kind": "js",
|
|
1882
|
-
"name": "
|
|
2003
|
+
"name": "foundationAccordion",
|
|
1883
2004
|
"declaration": {
|
|
1884
|
-
"name": "
|
|
1885
|
-
"
|
|
2005
|
+
"name": "foundationAccordion",
|
|
2006
|
+
"module": "src/accordion/accordion.ts"
|
|
1886
2007
|
}
|
|
1887
2008
|
}
|
|
1888
2009
|
]
|
|
1889
2010
|
},
|
|
1890
2011
|
{
|
|
1891
2012
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
2013
|
+
"path": "src/accordion/index.ts",
|
|
1893
2014
|
"declarations": [],
|
|
1894
2015
|
"exports": [
|
|
1895
2016
|
{
|
|
@@ -1897,7 +2018,7 @@
|
|
|
1897
2018
|
"name": "*",
|
|
1898
2019
|
"declaration": {
|
|
1899
2020
|
"name": "*",
|
|
1900
|
-
"package": "./
|
|
2021
|
+
"package": "./accordion.template"
|
|
1901
2022
|
}
|
|
1902
2023
|
},
|
|
1903
2024
|
{
|
|
@@ -1905,7 +2026,7 @@
|
|
|
1905
2026
|
"name": "*",
|
|
1906
2027
|
"declaration": {
|
|
1907
2028
|
"name": "*",
|
|
1908
|
-
"package": "./
|
|
2029
|
+
"package": "./accordion.styles"
|
|
1909
2030
|
}
|
|
1910
2031
|
},
|
|
1911
2032
|
{
|
|
@@ -1913,18 +2034,18 @@
|
|
|
1913
2034
|
"name": "*",
|
|
1914
2035
|
"declaration": {
|
|
1915
2036
|
"name": "*",
|
|
1916
|
-
"package": "./
|
|
2037
|
+
"package": "./accordion"
|
|
1917
2038
|
}
|
|
1918
2039
|
}
|
|
1919
2040
|
]
|
|
1920
2041
|
},
|
|
1921
2042
|
{
|
|
1922
2043
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2044
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1924
2045
|
"declarations": [
|
|
1925
2046
|
{
|
|
1926
2047
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
2048
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
2049
|
"return": {
|
|
1929
2050
|
"type": {
|
|
1930
2051
|
"text": "ElementStyles"
|
|
@@ -1944,29 +2065,13 @@
|
|
|
1944
2065
|
}
|
|
1945
2066
|
}
|
|
1946
2067
|
]
|
|
1947
|
-
}
|
|
1948
|
-
],
|
|
1949
|
-
"exports": [
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "foundationAccordionStyles",
|
|
1953
|
-
"declaration": {
|
|
1954
|
-
"name": "foundationAccordionStyles",
|
|
1955
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
]
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1963
|
-
"declarations": [
|
|
2068
|
+
},
|
|
1964
2069
|
{
|
|
1965
2070
|
"kind": "function",
|
|
1966
|
-
"name": "
|
|
2071
|
+
"name": "foundationActionsMenuStyles",
|
|
1967
2072
|
"return": {
|
|
1968
2073
|
"type": {
|
|
1969
|
-
"text": "
|
|
2074
|
+
"text": "ElementStyles"
|
|
1970
2075
|
}
|
|
1971
2076
|
},
|
|
1972
2077
|
"parameters": [
|
|
@@ -1988,238 +2093,376 @@
|
|
|
1988
2093
|
"exports": [
|
|
1989
2094
|
{
|
|
1990
2095
|
"kind": "js",
|
|
1991
|
-
"name": "
|
|
2096
|
+
"name": "actionsMenuBaseStyles",
|
|
1992
2097
|
"declaration": {
|
|
1993
|
-
"name": "
|
|
1994
|
-
"module": "src/
|
|
2098
|
+
"name": "actionsMenuBaseStyles",
|
|
2099
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"kind": "js",
|
|
2104
|
+
"name": "foundationActionsMenuStyles",
|
|
2105
|
+
"declaration": {
|
|
2106
|
+
"name": "foundationActionsMenuStyles",
|
|
2107
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1995
2108
|
}
|
|
1996
2109
|
}
|
|
1997
2110
|
]
|
|
1998
2111
|
},
|
|
1999
2112
|
{
|
|
2000
2113
|
"kind": "javascript-module",
|
|
2001
|
-
"path": "src/
|
|
2114
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2115
|
+
"declarations": [
|
|
2116
|
+
{
|
|
2117
|
+
"kind": "variable",
|
|
2118
|
+
"name": "menuTemplate"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"kind": "variable",
|
|
2122
|
+
"name": "singleOptionTemplate"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"kind": "variable",
|
|
2126
|
+
"name": "foundationActionsMenuTemplate",
|
|
2127
|
+
"type": {
|
|
2128
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2129
|
+
},
|
|
2130
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2131
|
+
}
|
|
2132
|
+
],
|
|
2133
|
+
"exports": [
|
|
2134
|
+
{
|
|
2135
|
+
"kind": "js",
|
|
2136
|
+
"name": "menuTemplate",
|
|
2137
|
+
"declaration": {
|
|
2138
|
+
"name": "menuTemplate",
|
|
2139
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2140
|
+
}
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"kind": "js",
|
|
2144
|
+
"name": "singleOptionTemplate",
|
|
2145
|
+
"declaration": {
|
|
2146
|
+
"name": "singleOptionTemplate",
|
|
2147
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"kind": "js",
|
|
2152
|
+
"name": "foundationActionsMenuTemplate",
|
|
2153
|
+
"declaration": {
|
|
2154
|
+
"name": "foundationActionsMenuTemplate",
|
|
2155
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"kind": "javascript-module",
|
|
2162
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2002
2163
|
"declarations": [
|
|
2003
2164
|
{
|
|
2004
2165
|
"kind": "class",
|
|
2005
2166
|
"description": "",
|
|
2006
|
-
"name": "
|
|
2007
|
-
"
|
|
2008
|
-
"name": "FASTAccordion",
|
|
2009
|
-
"package": "@microsoft/fast-foundation"
|
|
2010
|
-
},
|
|
2011
|
-
"tagName": "%%prefix%%-accordion",
|
|
2012
|
-
"customElement": true,
|
|
2013
|
-
"attributes": [
|
|
2167
|
+
"name": "ActionsMenu",
|
|
2168
|
+
"members": [
|
|
2014
2169
|
{
|
|
2015
|
-
"
|
|
2170
|
+
"kind": "field",
|
|
2171
|
+
"name": "actions",
|
|
2016
2172
|
"type": {
|
|
2017
|
-
"text": "
|
|
2018
|
-
},
|
|
2019
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2020
|
-
"fieldName": "expandmode",
|
|
2021
|
-
"inheritedFrom": {
|
|
2022
|
-
"name": "Accordion",
|
|
2023
|
-
"module": "src/accordion/accordion.ts"
|
|
2173
|
+
"text": "ActionMenuItem[]"
|
|
2024
2174
|
}
|
|
2025
|
-
}
|
|
2026
|
-
],
|
|
2027
|
-
"members": [
|
|
2175
|
+
},
|
|
2028
2176
|
{
|
|
2029
2177
|
"kind": "field",
|
|
2030
|
-
"name": "
|
|
2178
|
+
"name": "actionsResolver",
|
|
2031
2179
|
"type": {
|
|
2032
|
-
"text": "
|
|
2180
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
2033
2181
|
},
|
|
2034
|
-
"
|
|
2035
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2036
|
-
"inheritedFrom": {
|
|
2037
|
-
"name": "Accordion",
|
|
2038
|
-
"module": "src/accordion/accordion.ts"
|
|
2039
|
-
}
|
|
2182
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2040
2183
|
},
|
|
2041
2184
|
{
|
|
2042
2185
|
"kind": "field",
|
|
2043
|
-
"name": "
|
|
2186
|
+
"name": "isVertical",
|
|
2044
2187
|
"type": {
|
|
2045
|
-
"text": "
|
|
2188
|
+
"text": "boolean"
|
|
2046
2189
|
},
|
|
2047
|
-
"
|
|
2048
|
-
"inheritedFrom": {
|
|
2049
|
-
"name": "Accordion",
|
|
2050
|
-
"module": "src/accordion/accordion.ts"
|
|
2051
|
-
}
|
|
2190
|
+
"default": "false"
|
|
2052
2191
|
},
|
|
2053
2192
|
{
|
|
2054
2193
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
2194
|
+
"name": "addDefaultActions",
|
|
2056
2195
|
"type": {
|
|
2057
|
-
"text": "
|
|
2196
|
+
"text": "boolean"
|
|
2058
2197
|
},
|
|
2059
|
-
"
|
|
2060
|
-
"default": "0",
|
|
2061
|
-
"inheritedFrom": {
|
|
2062
|
-
"name": "Accordion",
|
|
2063
|
-
"module": "src/accordion/accordion.ts"
|
|
2064
|
-
}
|
|
2198
|
+
"default": "true"
|
|
2065
2199
|
},
|
|
2066
2200
|
{
|
|
2067
2201
|
"kind": "field",
|
|
2068
|
-
"name": "
|
|
2202
|
+
"name": "autoCloseOnAction",
|
|
2069
2203
|
"type": {
|
|
2070
|
-
"text": "
|
|
2204
|
+
"text": "boolean"
|
|
2071
2205
|
},
|
|
2072
|
-
"
|
|
2073
|
-
"inheritedFrom": {
|
|
2074
|
-
"name": "Accordion",
|
|
2075
|
-
"module": "src/accordion/accordion.ts"
|
|
2076
|
-
}
|
|
2206
|
+
"default": "true"
|
|
2077
2207
|
},
|
|
2078
2208
|
{
|
|
2079
2209
|
"kind": "field",
|
|
2080
|
-
"name": "
|
|
2081
|
-
"
|
|
2082
|
-
|
|
2083
|
-
"name": "Accordion",
|
|
2084
|
-
"module": "src/accordion/accordion.ts"
|
|
2210
|
+
"name": "classNames",
|
|
2211
|
+
"type": {
|
|
2212
|
+
"text": "string"
|
|
2085
2213
|
}
|
|
2086
2214
|
},
|
|
2087
2215
|
{
|
|
2088
|
-
"kind": "
|
|
2089
|
-
"name": "
|
|
2090
|
-
"
|
|
2091
|
-
|
|
2092
|
-
"type": {
|
|
2093
|
-
"text": "AccordionItem | null"
|
|
2094
|
-
}
|
|
2095
|
-
},
|
|
2096
|
-
"inheritedFrom": {
|
|
2097
|
-
"name": "Accordion",
|
|
2098
|
-
"module": "src/accordion/accordion.ts"
|
|
2216
|
+
"kind": "field",
|
|
2217
|
+
"name": "definition",
|
|
2218
|
+
"type": {
|
|
2219
|
+
"text": "any"
|
|
2099
2220
|
}
|
|
2100
2221
|
},
|
|
2101
2222
|
{
|
|
2102
2223
|
"kind": "field",
|
|
2103
|
-
"name": "
|
|
2104
|
-
"
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
}
|
|
2224
|
+
"name": "name",
|
|
2225
|
+
"type": {
|
|
2226
|
+
"text": "string"
|
|
2227
|
+
},
|
|
2228
|
+
"default": "'Actions'"
|
|
2109
2229
|
},
|
|
2110
2230
|
{
|
|
2111
|
-
"kind": "
|
|
2112
|
-
"name": "
|
|
2113
|
-
"
|
|
2114
|
-
|
|
2115
|
-
"type": {
|
|
2116
|
-
"text": "void"
|
|
2117
|
-
}
|
|
2231
|
+
"kind": "field",
|
|
2232
|
+
"name": "iconName",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string"
|
|
2118
2235
|
},
|
|
2119
|
-
"
|
|
2120
|
-
"name": "Accordion",
|
|
2121
|
-
"module": "src/accordion/accordion.ts"
|
|
2122
|
-
}
|
|
2236
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
2123
2237
|
},
|
|
2124
2238
|
{
|
|
2125
2239
|
"kind": "field",
|
|
2126
|
-
"name": "
|
|
2127
|
-
"
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
}
|
|
2240
|
+
"name": "open",
|
|
2241
|
+
"type": {
|
|
2242
|
+
"text": "boolean"
|
|
2243
|
+
},
|
|
2244
|
+
"default": "false"
|
|
2132
2245
|
},
|
|
2133
2246
|
{
|
|
2134
2247
|
"kind": "field",
|
|
2135
|
-
"name": "
|
|
2136
|
-
"
|
|
2137
|
-
|
|
2138
|
-
"name": "Accordion",
|
|
2139
|
-
"module": "src/accordion/accordion.ts"
|
|
2248
|
+
"name": "buttonAppearance",
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": "string"
|
|
2140
2251
|
}
|
|
2141
2252
|
},
|
|
2142
2253
|
{
|
|
2143
|
-
"kind": "
|
|
2144
|
-
"name": "
|
|
2145
|
-
"
|
|
2146
|
-
|
|
2147
|
-
"type": {
|
|
2148
|
-
"text": "Array<string | null>"
|
|
2149
|
-
}
|
|
2254
|
+
"kind": "field",
|
|
2255
|
+
"name": "hideDisabled",
|
|
2256
|
+
"type": {
|
|
2257
|
+
"text": "boolean"
|
|
2150
2258
|
},
|
|
2151
|
-
"
|
|
2152
|
-
"name": "Accordion",
|
|
2153
|
-
"module": "src/accordion/accordion.ts"
|
|
2154
|
-
}
|
|
2259
|
+
"default": "false"
|
|
2155
2260
|
},
|
|
2156
2261
|
{
|
|
2157
|
-
"kind": "
|
|
2158
|
-
"name": "
|
|
2159
|
-
"
|
|
2160
|
-
|
|
2161
|
-
"type": {
|
|
2162
|
-
"text": "boolean"
|
|
2163
|
-
}
|
|
2262
|
+
"kind": "field",
|
|
2263
|
+
"name": "hideMenuSingleOption",
|
|
2264
|
+
"type": {
|
|
2265
|
+
"text": "boolean"
|
|
2164
2266
|
},
|
|
2165
|
-
"
|
|
2166
|
-
|
|
2167
|
-
|
|
2267
|
+
"default": "false"
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"kind": "field",
|
|
2271
|
+
"name": "singleOption",
|
|
2272
|
+
"type": {
|
|
2273
|
+
"text": "ActionMenuItem"
|
|
2168
2274
|
}
|
|
2169
2275
|
},
|
|
2170
2276
|
{
|
|
2171
2277
|
"kind": "field",
|
|
2172
|
-
"name": "
|
|
2173
|
-
"
|
|
2174
|
-
|
|
2175
|
-
"name": "Accordion",
|
|
2176
|
-
"module": "src/accordion/accordion.ts"
|
|
2278
|
+
"name": "actionsMenu",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "HTMLElement"
|
|
2177
2281
|
}
|
|
2178
2282
|
},
|
|
2179
2283
|
{
|
|
2180
2284
|
"kind": "field",
|
|
2181
|
-
"name": "
|
|
2182
|
-
"
|
|
2183
|
-
|
|
2184
|
-
"name": "Accordion",
|
|
2185
|
-
"module": "src/accordion/accordion.ts"
|
|
2285
|
+
"name": "actionsOpener",
|
|
2286
|
+
"type": {
|
|
2287
|
+
"text": "HTMLElement"
|
|
2186
2288
|
}
|
|
2187
2289
|
},
|
|
2188
2290
|
{
|
|
2189
|
-
"kind": "
|
|
2190
|
-
"name": "
|
|
2291
|
+
"kind": "field",
|
|
2292
|
+
"name": "positionTracker",
|
|
2293
|
+
"type": {
|
|
2294
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
2295
|
+
},
|
|
2296
|
+
"privacy": "private"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"kind": "field",
|
|
2300
|
+
"name": "focusMenuOnOpen",
|
|
2301
|
+
"type": {
|
|
2302
|
+
"text": "boolean"
|
|
2303
|
+
},
|
|
2191
2304
|
"privacy": "private",
|
|
2305
|
+
"default": "false",
|
|
2306
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"kind": "method",
|
|
2310
|
+
"name": "updateMenuPosition",
|
|
2311
|
+
"privacy": "private"
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"kind": "method",
|
|
2315
|
+
"name": "startTrackingPosition",
|
|
2316
|
+
"privacy": "private"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "method",
|
|
2320
|
+
"name": "stopTrackingPosition",
|
|
2321
|
+
"privacy": "private"
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"kind": "method",
|
|
2325
|
+
"name": "definitionChanged",
|
|
2326
|
+
"privacy": "protected",
|
|
2327
|
+
"parameters": [
|
|
2328
|
+
{
|
|
2329
|
+
"name": "oldValue",
|
|
2330
|
+
"type": {
|
|
2331
|
+
"text": "any"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "newValue",
|
|
2336
|
+
"type": {
|
|
2337
|
+
"text": "any"
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"kind": "method",
|
|
2344
|
+
"name": "openChanged",
|
|
2345
|
+
"privacy": "protected"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "method",
|
|
2349
|
+
"name": "toggleActionsMenuVisibility"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"kind": "method",
|
|
2353
|
+
"name": "onPopoverToggle",
|
|
2354
|
+
"parameters": [
|
|
2355
|
+
{
|
|
2356
|
+
"name": "event",
|
|
2357
|
+
"type": {
|
|
2358
|
+
"text": "Event"
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"kind": "method",
|
|
2366
|
+
"name": "onIconOpenerKeydown",
|
|
2192
2367
|
"return": {
|
|
2193
2368
|
"type": {
|
|
2194
|
-
"text": "
|
|
2369
|
+
"text": "boolean"
|
|
2195
2370
|
}
|
|
2196
2371
|
},
|
|
2197
2372
|
"parameters": [
|
|
2198
2373
|
{
|
|
2199
|
-
"name": "
|
|
2374
|
+
"name": "event",
|
|
2200
2375
|
"type": {
|
|
2201
|
-
"text": "
|
|
2376
|
+
"text": "KeyboardEvent"
|
|
2202
2377
|
}
|
|
2203
2378
|
}
|
|
2204
2379
|
],
|
|
2205
|
-
"
|
|
2206
|
-
"name": "Accordion",
|
|
2207
|
-
"module": "src/accordion/accordion.ts"
|
|
2208
|
-
}
|
|
2380
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2209
2381
|
},
|
|
2210
2382
|
{
|
|
2211
2383
|
"kind": "method",
|
|
2212
|
-
"name": "
|
|
2213
|
-
"
|
|
2384
|
+
"name": "onActionMenuItemClick",
|
|
2385
|
+
"parameters": [
|
|
2386
|
+
{
|
|
2387
|
+
"name": "callback",
|
|
2388
|
+
"type": {
|
|
2389
|
+
"text": "(rowData) => void | any"
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
]
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"kind": "method",
|
|
2396
|
+
"name": "isActionDisabled",
|
|
2214
2397
|
"return": {
|
|
2215
2398
|
"type": {
|
|
2216
|
-
"text": "
|
|
2399
|
+
"text": "boolean"
|
|
2217
2400
|
}
|
|
2218
2401
|
},
|
|
2219
|
-
"
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2402
|
+
"parameters": [
|
|
2403
|
+
{
|
|
2404
|
+
"name": "action",
|
|
2405
|
+
"type": {
|
|
2406
|
+
"text": "ActionMenuItem"
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
],
|
|
2410
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"kind": "field",
|
|
2414
|
+
"name": "resolvedActions",
|
|
2415
|
+
"type": {
|
|
2416
|
+
"text": "ActionMenuItem[]"
|
|
2417
|
+
},
|
|
2418
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2419
|
+
"readonly": true
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "field",
|
|
2423
|
+
"name": "hasVisibleActions",
|
|
2424
|
+
"type": {
|
|
2425
|
+
"text": "boolean"
|
|
2426
|
+
},
|
|
2427
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2428
|
+
"readonly": true
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "field",
|
|
2432
|
+
"name": "allActions",
|
|
2433
|
+
"type": {
|
|
2434
|
+
"text": "ActionMenuItem[]"
|
|
2435
|
+
},
|
|
2436
|
+
"readonly": true
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"kind": "field",
|
|
2440
|
+
"name": "rowData",
|
|
2441
|
+
"readonly": true
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "method",
|
|
2445
|
+
"name": "getLabel",
|
|
2446
|
+
"parameters": [
|
|
2447
|
+
{
|
|
2448
|
+
"name": "name",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "string | ((rowData: any) => string)"
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
]
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"kind": "method",
|
|
2457
|
+
"name": "getTemplate",
|
|
2458
|
+
"parameters": [
|
|
2459
|
+
{
|
|
2460
|
+
"name": "prefix",
|
|
2461
|
+
"type": {
|
|
2462
|
+
"text": "string"
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
]
|
|
2223
2466
|
},
|
|
2224
2467
|
{
|
|
2225
2468
|
"kind": "field",
|
|
@@ -2333,305 +2576,281 @@
|
|
|
2333
2576
|
}
|
|
2334
2577
|
}
|
|
2335
2578
|
],
|
|
2336
|
-
"
|
|
2579
|
+
"attributes": [
|
|
2337
2580
|
{
|
|
2338
|
-
"
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
}
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
"
|
|
2414
|
-
|
|
2415
|
-
"package": "./accordion.template"
|
|
2416
|
-
}
|
|
2581
|
+
"name": "is-vertical",
|
|
2582
|
+
"type": {
|
|
2583
|
+
"text": "boolean"
|
|
2584
|
+
},
|
|
2585
|
+
"default": "false",
|
|
2586
|
+
"fieldName": "isVertical"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"name": "add-default-actions",
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "boolean"
|
|
2592
|
+
},
|
|
2593
|
+
"default": "true",
|
|
2594
|
+
"fieldName": "addDefaultActions"
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
"name": "auto-close-on-action",
|
|
2598
|
+
"type": {
|
|
2599
|
+
"text": "boolean"
|
|
2600
|
+
},
|
|
2601
|
+
"default": "true",
|
|
2602
|
+
"fieldName": "autoCloseOnAction"
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"name": "name",
|
|
2606
|
+
"type": {
|
|
2607
|
+
"text": "string"
|
|
2608
|
+
},
|
|
2609
|
+
"default": "'Actions'",
|
|
2610
|
+
"fieldName": "name"
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"name": "icon-name",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "string"
|
|
2616
|
+
},
|
|
2617
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2618
|
+
"fieldName": "iconName"
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
"name": "open",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "boolean"
|
|
2624
|
+
},
|
|
2625
|
+
"default": "false",
|
|
2626
|
+
"fieldName": "open"
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"name": "buttonAppearance",
|
|
2630
|
+
"type": {
|
|
2631
|
+
"text": "string"
|
|
2632
|
+
},
|
|
2633
|
+
"fieldName": "buttonAppearance"
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"name": "hide-disabled",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "boolean"
|
|
2639
|
+
},
|
|
2640
|
+
"default": "false",
|
|
2641
|
+
"fieldName": "hideDisabled"
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"name": "hide-menu-single-option",
|
|
2645
|
+
"type": {
|
|
2646
|
+
"text": "boolean"
|
|
2647
|
+
},
|
|
2648
|
+
"default": "false",
|
|
2649
|
+
"fieldName": "hideMenuSingleOption"
|
|
2650
|
+
}
|
|
2651
|
+
],
|
|
2652
|
+
"superclass": {
|
|
2653
|
+
"name": "FoundationElement",
|
|
2654
|
+
"package": "@microsoft/fast-foundation"
|
|
2655
|
+
},
|
|
2656
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2657
|
+
"customElement": true
|
|
2417
2658
|
},
|
|
2659
|
+
{
|
|
2660
|
+
"kind": "variable",
|
|
2661
|
+
"name": "foundationActionsMenu",
|
|
2662
|
+
"description": "The Foundation Actions Menu",
|
|
2663
|
+
"privacy": "public"
|
|
2664
|
+
}
|
|
2665
|
+
],
|
|
2666
|
+
"exports": [
|
|
2418
2667
|
{
|
|
2419
2668
|
"kind": "js",
|
|
2420
|
-
"name": "
|
|
2669
|
+
"name": "ActionsMenu",
|
|
2421
2670
|
"declaration": {
|
|
2422
|
-
"name": "
|
|
2423
|
-
"
|
|
2671
|
+
"name": "ActionsMenu",
|
|
2672
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2424
2673
|
}
|
|
2425
2674
|
},
|
|
2426
2675
|
{
|
|
2427
2676
|
"kind": "js",
|
|
2428
|
-
"name": "
|
|
2677
|
+
"name": "foundationActionsMenu",
|
|
2429
2678
|
"declaration": {
|
|
2430
|
-
"name": "
|
|
2431
|
-
"
|
|
2679
|
+
"name": "foundationActionsMenu",
|
|
2680
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2432
2681
|
}
|
|
2433
2682
|
}
|
|
2434
2683
|
]
|
|
2435
2684
|
},
|
|
2436
2685
|
{
|
|
2437
2686
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/actions-menu/
|
|
2687
|
+
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
2439
2688
|
"declarations": [
|
|
2440
2689
|
{
|
|
2441
2690
|
"kind": "function",
|
|
2442
|
-
"name": "
|
|
2443
|
-
"return": {
|
|
2444
|
-
"type": {
|
|
2445
|
-
"text": "ElementStyles"
|
|
2446
|
-
}
|
|
2447
|
-
},
|
|
2448
|
-
"parameters": [
|
|
2449
|
-
{
|
|
2450
|
-
"name": "context",
|
|
2451
|
-
"type": {
|
|
2452
|
-
"text": "ElementDefinitionContext"
|
|
2453
|
-
}
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"name": "definition",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "FoundationElementDefinition"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"kind": "function",
|
|
2465
|
-
"name": "foundationActionsMenuStyles",
|
|
2691
|
+
"name": "agMenuStyles",
|
|
2466
2692
|
"return": {
|
|
2467
2693
|
"type": {
|
|
2468
|
-
"text": "
|
|
2694
|
+
"text": ""
|
|
2469
2695
|
}
|
|
2470
2696
|
},
|
|
2471
2697
|
"parameters": [
|
|
2472
2698
|
{
|
|
2473
|
-
"name": "
|
|
2699
|
+
"name": "menuSelector",
|
|
2474
2700
|
"type": {
|
|
2475
|
-
"text": "
|
|
2476
|
-
}
|
|
2701
|
+
"text": "string"
|
|
2702
|
+
},
|
|
2703
|
+
"description": "Selects the menu surface. May be a selector list."
|
|
2477
2704
|
},
|
|
2478
2705
|
{
|
|
2479
|
-
"name": "
|
|
2706
|
+
"name": "itemSelector",
|
|
2480
2707
|
"type": {
|
|
2481
|
-
"text": "
|
|
2482
|
-
}
|
|
2708
|
+
"text": "string"
|
|
2709
|
+
},
|
|
2710
|
+
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2483
2711
|
}
|
|
2484
|
-
]
|
|
2712
|
+
],
|
|
2713
|
+
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
2714
|
+
"privacy": "public"
|
|
2485
2715
|
}
|
|
2486
2716
|
],
|
|
2487
2717
|
"exports": [
|
|
2488
2718
|
{
|
|
2489
2719
|
"kind": "js",
|
|
2490
|
-
"name": "
|
|
2720
|
+
"name": "agMenuStyles",
|
|
2491
2721
|
"declaration": {
|
|
2492
|
-
"name": "
|
|
2493
|
-
"module": "src/actions-menu/
|
|
2722
|
+
"name": "agMenuStyles",
|
|
2723
|
+
"module": "src/actions-menu/ag-menu.styles.ts"
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
]
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"kind": "javascript-module",
|
|
2730
|
+
"path": "src/actions-menu/index.ts",
|
|
2731
|
+
"declarations": [],
|
|
2732
|
+
"exports": [
|
|
2733
|
+
{
|
|
2734
|
+
"kind": "js",
|
|
2735
|
+
"name": "*",
|
|
2736
|
+
"declaration": {
|
|
2737
|
+
"name": "*",
|
|
2738
|
+
"package": "./actions-menu.styles"
|
|
2494
2739
|
}
|
|
2495
2740
|
},
|
|
2496
2741
|
{
|
|
2497
2742
|
"kind": "js",
|
|
2498
|
-
"name": "
|
|
2743
|
+
"name": "*",
|
|
2499
2744
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"
|
|
2745
|
+
"name": "*",
|
|
2746
|
+
"package": "./actions-menu.template"
|
|
2747
|
+
}
|
|
2748
|
+
},
|
|
2749
|
+
{
|
|
2750
|
+
"kind": "js",
|
|
2751
|
+
"name": "*",
|
|
2752
|
+
"declaration": {
|
|
2753
|
+
"name": "*",
|
|
2754
|
+
"package": "./actions-menu"
|
|
2755
|
+
}
|
|
2756
|
+
},
|
|
2757
|
+
{
|
|
2758
|
+
"kind": "js",
|
|
2759
|
+
"name": "*",
|
|
2760
|
+
"declaration": {
|
|
2761
|
+
"name": "*",
|
|
2762
|
+
"package": "./ag-menu.styles"
|
|
2502
2763
|
}
|
|
2503
2764
|
}
|
|
2504
2765
|
]
|
|
2505
2766
|
},
|
|
2506
2767
|
{
|
|
2507
2768
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2769
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2509
2770
|
"declarations": [
|
|
2510
2771
|
{
|
|
2511
2772
|
"kind": "variable",
|
|
2512
|
-
"name": "
|
|
2513
|
-
|
|
2514
|
-
{
|
|
2515
|
-
"kind": "variable",
|
|
2516
|
-
"name": "singleOptionTemplate"
|
|
2517
|
-
},
|
|
2518
|
-
{
|
|
2519
|
-
"kind": "variable",
|
|
2520
|
-
"name": "foundationActionsMenuTemplate",
|
|
2521
|
-
"type": {
|
|
2522
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2523
|
-
},
|
|
2524
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
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`"
|
|
2525
2775
|
}
|
|
2526
2776
|
],
|
|
2527
2777
|
"exports": [
|
|
2528
2778
|
{
|
|
2529
2779
|
"kind": "js",
|
|
2530
|
-
"name": "
|
|
2780
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2531
2781
|
"declaration": {
|
|
2532
|
-
"name": "
|
|
2533
|
-
"module": "src/
|
|
2782
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2534
2784
|
}
|
|
2535
|
-
}
|
|
2785
|
+
}
|
|
2786
|
+
]
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"kind": "javascript-module",
|
|
2790
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2791
|
+
"declarations": [
|
|
2536
2792
|
{
|
|
2537
|
-
"kind": "
|
|
2538
|
-
"name": "
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2541
|
-
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2793
|
+
"kind": "variable",
|
|
2794
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2795
|
+
"type": {
|
|
2796
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2797
|
+
},
|
|
2798
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2799
|
+
}
|
|
2800
|
+
],
|
|
2801
|
+
"exports": [
|
|
2544
2802
|
{
|
|
2545
2803
|
"kind": "js",
|
|
2546
|
-
"name": "
|
|
2804
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2547
2805
|
"declaration": {
|
|
2548
|
-
"name": "
|
|
2549
|
-
"module": "src/
|
|
2806
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2807
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2550
2808
|
}
|
|
2551
2809
|
}
|
|
2552
2810
|
]
|
|
2553
2811
|
},
|
|
2554
2812
|
{
|
|
2555
2813
|
"kind": "javascript-module",
|
|
2556
|
-
"path": "src/
|
|
2814
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2557
2815
|
"declarations": [
|
|
2558
2816
|
{
|
|
2559
2817
|
"kind": "class",
|
|
2560
|
-
"description": "",
|
|
2561
|
-
"name": "
|
|
2818
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2819
|
+
"name": "AiCriteriaSearch",
|
|
2562
2820
|
"members": [
|
|
2563
2821
|
{
|
|
2564
2822
|
"kind": "field",
|
|
2565
|
-
"name": "
|
|
2823
|
+
"name": "providerRegistry",
|
|
2566
2824
|
"type": {
|
|
2567
|
-
"text": "
|
|
2825
|
+
"text": "AIProviderRegistry"
|
|
2568
2826
|
}
|
|
2569
2827
|
},
|
|
2570
2828
|
{
|
|
2571
2829
|
"kind": "field",
|
|
2572
|
-
"name": "
|
|
2573
|
-
"type": {
|
|
2574
|
-
"text": "ActionMenuItemsResolver | undefined"
|
|
2575
|
-
},
|
|
2576
|
-
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2577
|
-
},
|
|
2578
|
-
{
|
|
2579
|
-
"kind": "field",
|
|
2580
|
-
"name": "isVertical",
|
|
2581
|
-
"type": {
|
|
2582
|
-
"text": "boolean"
|
|
2583
|
-
},
|
|
2584
|
-
"default": "false"
|
|
2585
|
-
},
|
|
2586
|
-
{
|
|
2587
|
-
"kind": "field",
|
|
2588
|
-
"name": "addDefaultActions",
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "boolean"
|
|
2591
|
-
},
|
|
2592
|
-
"default": "true"
|
|
2593
|
-
},
|
|
2594
|
-
{
|
|
2595
|
-
"kind": "field",
|
|
2596
|
-
"name": "autoCloseOnAction",
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "boolean"
|
|
2599
|
-
},
|
|
2600
|
-
"default": "true"
|
|
2601
|
-
},
|
|
2602
|
-
{
|
|
2603
|
-
"kind": "field",
|
|
2604
|
-
"name": "classNames",
|
|
2830
|
+
"name": "placeholder",
|
|
2605
2831
|
"type": {
|
|
2606
2832
|
"text": "string"
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
{
|
|
2610
|
-
"kind": "field",
|
|
2611
|
-
"name": "definition",
|
|
2612
|
-
"type": {
|
|
2613
|
-
"text": "any"
|
|
2614
|
-
}
|
|
2833
|
+
},
|
|
2834
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2615
2835
|
},
|
|
2616
2836
|
{
|
|
2617
2837
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2838
|
+
"name": "disabled",
|
|
2619
2839
|
"type": {
|
|
2620
|
-
"text": "
|
|
2621
|
-
}
|
|
2622
|
-
"default": "'Actions'"
|
|
2840
|
+
"text": "boolean"
|
|
2841
|
+
}
|
|
2623
2842
|
},
|
|
2624
2843
|
{
|
|
2625
2844
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2845
|
+
"name": "inputValue",
|
|
2627
2846
|
"type": {
|
|
2628
2847
|
"text": "string"
|
|
2629
2848
|
},
|
|
2630
|
-
"
|
|
2849
|
+
"default": "''"
|
|
2631
2850
|
},
|
|
2632
2851
|
{
|
|
2633
2852
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2853
|
+
"name": "isInterpreting",
|
|
2635
2854
|
"type": {
|
|
2636
2855
|
"text": "boolean"
|
|
2637
2856
|
},
|
|
@@ -2639,22 +2858,23 @@
|
|
|
2639
2858
|
},
|
|
2640
2859
|
{
|
|
2641
2860
|
"kind": "field",
|
|
2642
|
-
"name": "
|
|
2861
|
+
"name": "lastValidCriteria",
|
|
2643
2862
|
"type": {
|
|
2644
|
-
"text": "string"
|
|
2645
|
-
}
|
|
2863
|
+
"text": "string | null"
|
|
2864
|
+
},
|
|
2865
|
+
"default": "null"
|
|
2646
2866
|
},
|
|
2647
2867
|
{
|
|
2648
2868
|
"kind": "field",
|
|
2649
|
-
"name": "
|
|
2869
|
+
"name": "activeGroups",
|
|
2650
2870
|
"type": {
|
|
2651
|
-
"text": "
|
|
2871
|
+
"text": "CriteriaGroup[]"
|
|
2652
2872
|
},
|
|
2653
|
-
"default": "
|
|
2873
|
+
"default": "[]"
|
|
2654
2874
|
},
|
|
2655
2875
|
{
|
|
2656
2876
|
"kind": "field",
|
|
2657
|
-
"name": "
|
|
2877
|
+
"name": "showingChips",
|
|
2658
2878
|
"type": {
|
|
2659
2879
|
"text": "boolean"
|
|
2660
2880
|
},
|
|
@@ -2662,201 +2882,141 @@
|
|
|
2662
2882
|
},
|
|
2663
2883
|
{
|
|
2664
2884
|
"kind": "field",
|
|
2665
|
-
"name": "
|
|
2885
|
+
"name": "fieldMetadata",
|
|
2666
2886
|
"type": {
|
|
2667
|
-
"text": "
|
|
2668
|
-
}
|
|
2887
|
+
"text": "MetadataDetail[] | string[]"
|
|
2888
|
+
},
|
|
2889
|
+
"default": "[]"
|
|
2669
2890
|
},
|
|
2670
2891
|
{
|
|
2671
2892
|
"kind": "field",
|
|
2672
|
-
"name": "
|
|
2893
|
+
"name": "isRecording",
|
|
2673
2894
|
"type": {
|
|
2674
|
-
"text": "
|
|
2675
|
-
}
|
|
2895
|
+
"text": "boolean"
|
|
2896
|
+
},
|
|
2897
|
+
"default": "false"
|
|
2676
2898
|
},
|
|
2677
2899
|
{
|
|
2678
2900
|
"kind": "field",
|
|
2679
|
-
"name": "
|
|
2901
|
+
"name": "textAreaRef",
|
|
2680
2902
|
"type": {
|
|
2681
|
-
"text": "
|
|
2682
|
-
}
|
|
2903
|
+
"text": "HTMLTextAreaElement"
|
|
2904
|
+
},
|
|
2905
|
+
"privacy": "public"
|
|
2683
2906
|
},
|
|
2684
2907
|
{
|
|
2685
2908
|
"kind": "field",
|
|
2686
|
-
"name": "
|
|
2909
|
+
"name": "stopRecording",
|
|
2687
2910
|
"type": {
|
|
2688
|
-
"text": "
|
|
2911
|
+
"text": "(() => void) | null"
|
|
2689
2912
|
},
|
|
2690
|
-
"privacy": "private"
|
|
2913
|
+
"privacy": "private",
|
|
2914
|
+
"default": "null"
|
|
2691
2915
|
},
|
|
2692
2916
|
{
|
|
2693
2917
|
"kind": "field",
|
|
2694
|
-
"name": "
|
|
2918
|
+
"name": "speechApplyDebounceTimer",
|
|
2695
2919
|
"type": {
|
|
2696
|
-
"text": "
|
|
2920
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2697
2921
|
},
|
|
2698
2922
|
"privacy": "private",
|
|
2699
|
-
"default": "
|
|
2700
|
-
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
2701
|
-
},
|
|
2702
|
-
{
|
|
2703
|
-
"kind": "method",
|
|
2704
|
-
"name": "updateMenuPosition",
|
|
2705
|
-
"privacy": "private"
|
|
2923
|
+
"default": "null"
|
|
2706
2924
|
},
|
|
2707
2925
|
{
|
|
2708
|
-
"kind": "
|
|
2709
|
-
"name": "
|
|
2710
|
-
"
|
|
2926
|
+
"kind": "field",
|
|
2927
|
+
"name": "speechAvailable",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"readonly": true
|
|
2711
2932
|
},
|
|
2712
2933
|
{
|
|
2713
|
-
"kind": "
|
|
2714
|
-
"name": "
|
|
2715
|
-
"
|
|
2934
|
+
"kind": "field",
|
|
2935
|
+
"name": "criteriaChips",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "CriteriaChip[]"
|
|
2938
|
+
},
|
|
2939
|
+
"readonly": true
|
|
2716
2940
|
},
|
|
2717
2941
|
{
|
|
2718
2942
|
"kind": "method",
|
|
2719
|
-
"name": "
|
|
2720
|
-
"privacy": "
|
|
2943
|
+
"name": "getFieldLabel",
|
|
2944
|
+
"privacy": "private",
|
|
2945
|
+
"return": {
|
|
2946
|
+
"type": {
|
|
2947
|
+
"text": "string"
|
|
2948
|
+
}
|
|
2949
|
+
},
|
|
2721
2950
|
"parameters": [
|
|
2722
2951
|
{
|
|
2723
|
-
"name": "
|
|
2724
|
-
"type": {
|
|
2725
|
-
"text": "any"
|
|
2726
|
-
}
|
|
2727
|
-
},
|
|
2728
|
-
{
|
|
2729
|
-
"name": "newValue",
|
|
2952
|
+
"name": "fieldName",
|
|
2730
2953
|
"type": {
|
|
2731
|
-
"text": "
|
|
2954
|
+
"text": "string"
|
|
2732
2955
|
}
|
|
2733
2956
|
}
|
|
2734
2957
|
]
|
|
2735
2958
|
},
|
|
2736
2959
|
{
|
|
2737
2960
|
"kind": "method",
|
|
2738
|
-
"name": "
|
|
2739
|
-
"
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
"kind": "method",
|
|
2743
|
-
"name": "toggleActionsMenuVisibility"
|
|
2744
|
-
},
|
|
2745
|
-
{
|
|
2746
|
-
"kind": "method",
|
|
2747
|
-
"name": "onPopoverToggle",
|
|
2748
|
-
"parameters": [
|
|
2749
|
-
{
|
|
2750
|
-
"name": "event",
|
|
2751
|
-
"type": {
|
|
2752
|
-
"text": "Event"
|
|
2753
|
-
}
|
|
2961
|
+
"name": "toggleCriteriaView",
|
|
2962
|
+
"return": {
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "void"
|
|
2754
2965
|
}
|
|
2755
|
-
|
|
2756
|
-
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2966
|
+
}
|
|
2757
2967
|
},
|
|
2758
2968
|
{
|
|
2759
2969
|
"kind": "method",
|
|
2760
|
-
"name": "
|
|
2970
|
+
"name": "removeChip",
|
|
2761
2971
|
"return": {
|
|
2762
2972
|
"type": {
|
|
2763
|
-
"text": "
|
|
2973
|
+
"text": "void"
|
|
2764
2974
|
}
|
|
2765
2975
|
},
|
|
2766
2976
|
"parameters": [
|
|
2767
2977
|
{
|
|
2768
|
-
"name": "
|
|
2978
|
+
"name": "groupIndex",
|
|
2769
2979
|
"type": {
|
|
2770
|
-
"text": "
|
|
2980
|
+
"text": "number"
|
|
2771
2981
|
}
|
|
2772
|
-
}
|
|
2773
|
-
],
|
|
2774
|
-
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2775
|
-
},
|
|
2776
|
-
{
|
|
2777
|
-
"kind": "method",
|
|
2778
|
-
"name": "onActionMenuItemClick",
|
|
2779
|
-
"parameters": [
|
|
2982
|
+
},
|
|
2780
2983
|
{
|
|
2781
|
-
"name": "
|
|
2984
|
+
"name": "clauseIndex",
|
|
2782
2985
|
"type": {
|
|
2783
|
-
"text": "
|
|
2986
|
+
"text": "number"
|
|
2784
2987
|
}
|
|
2785
2988
|
}
|
|
2786
2989
|
]
|
|
2787
2990
|
},
|
|
2788
2991
|
{
|
|
2789
2992
|
"kind": "method",
|
|
2790
|
-
"name": "
|
|
2993
|
+
"name": "clearChips",
|
|
2791
2994
|
"return": {
|
|
2792
2995
|
"type": {
|
|
2793
|
-
"text": "
|
|
2794
|
-
}
|
|
2795
|
-
},
|
|
2796
|
-
"parameters": [
|
|
2797
|
-
{
|
|
2798
|
-
"name": "action",
|
|
2799
|
-
"type": {
|
|
2800
|
-
"text": "ActionMenuItem"
|
|
2801
|
-
}
|
|
2996
|
+
"text": "void"
|
|
2802
2997
|
}
|
|
2803
|
-
|
|
2804
|
-
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2805
|
-
},
|
|
2806
|
-
{
|
|
2807
|
-
"kind": "field",
|
|
2808
|
-
"name": "resolvedActions",
|
|
2809
|
-
"type": {
|
|
2810
|
-
"text": "ActionMenuItem[]"
|
|
2811
|
-
},
|
|
2812
|
-
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2813
|
-
"readonly": true
|
|
2998
|
+
}
|
|
2814
2999
|
},
|
|
2815
3000
|
{
|
|
2816
|
-
"kind": "
|
|
2817
|
-
"name": "
|
|
2818
|
-
"type": {
|
|
2819
|
-
"text": "boolean"
|
|
2820
|
-
},
|
|
2821
|
-
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2822
|
-
"readonly": true
|
|
3001
|
+
"kind": "method",
|
|
3002
|
+
"name": "handleSubmit"
|
|
2823
3003
|
},
|
|
2824
3004
|
{
|
|
2825
|
-
"kind": "
|
|
2826
|
-
"name": "
|
|
2827
|
-
"type": {
|
|
2828
|
-
"text": "ActionMenuItem[]"
|
|
2829
|
-
},
|
|
2830
|
-
"readonly": true
|
|
3005
|
+
"kind": "method",
|
|
3006
|
+
"name": "handleBlur"
|
|
2831
3007
|
},
|
|
2832
3008
|
{
|
|
2833
|
-
"kind": "
|
|
2834
|
-
"name": "
|
|
2835
|
-
"readonly": true
|
|
3009
|
+
"kind": "method",
|
|
3010
|
+
"name": "clear"
|
|
2836
3011
|
},
|
|
2837
3012
|
{
|
|
2838
3013
|
"kind": "method",
|
|
2839
|
-
"name": "
|
|
2840
|
-
"parameters": [
|
|
2841
|
-
{
|
|
2842
|
-
"name": "name",
|
|
2843
|
-
"type": {
|
|
2844
|
-
"text": "string | ((rowData: any) => string)"
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
]
|
|
3014
|
+
"name": "toggleSpeechInput"
|
|
2848
3015
|
},
|
|
2849
3016
|
{
|
|
2850
3017
|
"kind": "method",
|
|
2851
|
-
"name": "
|
|
2852
|
-
"
|
|
2853
|
-
{
|
|
2854
|
-
"name": "prefix",
|
|
2855
|
-
"type": {
|
|
2856
|
-
"text": "string"
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
]
|
|
3018
|
+
"name": "clearSpeechApplyDebounce",
|
|
3019
|
+
"privacy": "private"
|
|
2860
3020
|
},
|
|
2861
3021
|
{
|
|
2862
3022
|
"kind": "field",
|
|
@@ -2965,171 +3125,151 @@
|
|
|
2965
3125
|
],
|
|
2966
3126
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2967
3127
|
"inheritedFrom": {
|
|
2968
|
-
"name": "FoundationElement",
|
|
2969
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2970
|
-
}
|
|
2971
|
-
}
|
|
2972
|
-
],
|
|
2973
|
-
"
|
|
2974
|
-
{
|
|
2975
|
-
"name": "is-vertical",
|
|
2976
|
-
"type": {
|
|
2977
|
-
"text": "boolean"
|
|
2978
|
-
},
|
|
2979
|
-
"default": "false",
|
|
2980
|
-
"fieldName": "isVertical"
|
|
2981
|
-
},
|
|
2982
|
-
{
|
|
2983
|
-
"name": "add-default-actions",
|
|
2984
|
-
"type": {
|
|
2985
|
-
"text": "boolean"
|
|
2986
|
-
},
|
|
2987
|
-
"default": "true",
|
|
2988
|
-
"fieldName": "addDefaultActions"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"name": "auto-close-on-action",
|
|
2992
|
-
"type": {
|
|
2993
|
-
"text": "boolean"
|
|
2994
|
-
},
|
|
2995
|
-
"default": "true",
|
|
2996
|
-
"fieldName": "autoCloseOnAction"
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
"name": "name",
|
|
3000
|
-
"type": {
|
|
3001
|
-
"text": "string"
|
|
3002
|
-
},
|
|
3003
|
-
"default": "'Actions'",
|
|
3004
|
-
"fieldName": "name"
|
|
3005
|
-
},
|
|
3128
|
+
"name": "FoundationElement",
|
|
3129
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
],
|
|
3133
|
+
"events": [
|
|
3006
3134
|
{
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3009
|
-
"text": "string"
|
|
3010
|
-
},
|
|
3011
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
3012
|
-
"fieldName": "iconName"
|
|
3135
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3136
|
+
"name": "criteria-changed"
|
|
3013
3137
|
},
|
|
3014
3138
|
{
|
|
3015
|
-
"
|
|
3016
|
-
"
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
"fieldName": "open"
|
|
3021
|
-
},
|
|
3139
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3140
|
+
"name": "validation-errors"
|
|
3141
|
+
}
|
|
3142
|
+
],
|
|
3143
|
+
"attributes": [
|
|
3022
3144
|
{
|
|
3023
|
-
"name": "
|
|
3145
|
+
"name": "placeholder",
|
|
3024
3146
|
"type": {
|
|
3025
3147
|
"text": "string"
|
|
3026
3148
|
},
|
|
3027
|
-
"
|
|
3028
|
-
|
|
3029
|
-
{
|
|
3030
|
-
"name": "hide-disabled",
|
|
3031
|
-
"type": {
|
|
3032
|
-
"text": "boolean"
|
|
3033
|
-
},
|
|
3034
|
-
"default": "false",
|
|
3035
|
-
"fieldName": "hideDisabled"
|
|
3149
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3150
|
+
"fieldName": "placeholder"
|
|
3036
3151
|
},
|
|
3037
3152
|
{
|
|
3038
|
-
"name": "hide-menu-single-option",
|
|
3039
3153
|
"type": {
|
|
3040
3154
|
"text": "boolean"
|
|
3041
3155
|
},
|
|
3042
|
-
"
|
|
3043
|
-
"fieldName": "hideMenuSingleOption"
|
|
3156
|
+
"fieldName": "disabled"
|
|
3044
3157
|
}
|
|
3045
3158
|
],
|
|
3046
3159
|
"superclass": {
|
|
3047
3160
|
"name": "FoundationElement",
|
|
3048
3161
|
"package": "@microsoft/fast-foundation"
|
|
3049
3162
|
},
|
|
3050
|
-
"tagName": "%%prefix%%-
|
|
3163
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3051
3164
|
"customElement": true
|
|
3052
3165
|
},
|
|
3053
3166
|
{
|
|
3054
3167
|
"kind": "variable",
|
|
3055
|
-
"name": "
|
|
3056
|
-
"
|
|
3057
|
-
|
|
3168
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3169
|
+
"type": {
|
|
3170
|
+
"text": "ShadowRootInit"
|
|
3171
|
+
},
|
|
3172
|
+
"default": "undefined"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"kind": "variable",
|
|
3176
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3177
|
+
"type": {
|
|
3178
|
+
"text": "object"
|
|
3179
|
+
},
|
|
3180
|
+
"default": "{}"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"kind": "variable",
|
|
3184
|
+
"name": "foundationAiCriteriaSearch"
|
|
3058
3185
|
}
|
|
3059
3186
|
],
|
|
3060
3187
|
"exports": [
|
|
3061
3188
|
{
|
|
3062
3189
|
"kind": "js",
|
|
3063
|
-
"name": "
|
|
3190
|
+
"name": "AiCriteriaSearch",
|
|
3064
3191
|
"declaration": {
|
|
3065
|
-
"name": "
|
|
3066
|
-
"module": "src/
|
|
3192
|
+
"name": "AiCriteriaSearch",
|
|
3193
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3067
3194
|
}
|
|
3068
3195
|
},
|
|
3069
3196
|
{
|
|
3070
3197
|
"kind": "js",
|
|
3071
|
-
"name": "
|
|
3198
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3072
3199
|
"declaration": {
|
|
3073
|
-
"name": "
|
|
3074
|
-
"module": "src/
|
|
3200
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3201
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3075
3202
|
}
|
|
3076
|
-
}
|
|
3077
|
-
]
|
|
3078
|
-
},
|
|
3079
|
-
{
|
|
3080
|
-
"kind": "javascript-module",
|
|
3081
|
-
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
3082
|
-
"declarations": [
|
|
3203
|
+
},
|
|
3083
3204
|
{
|
|
3084
|
-
"kind": "
|
|
3085
|
-
"name": "
|
|
3086
|
-
"
|
|
3087
|
-
"
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
"parameters": [
|
|
3092
|
-
{
|
|
3093
|
-
"name": "menuSelector",
|
|
3094
|
-
"type": {
|
|
3095
|
-
"text": "string"
|
|
3096
|
-
},
|
|
3097
|
-
"description": "Selects the menu surface. May be a selector list."
|
|
3098
|
-
},
|
|
3099
|
-
{
|
|
3100
|
-
"name": "itemSelector",
|
|
3101
|
-
"type": {
|
|
3102
|
-
"text": "string"
|
|
3103
|
-
},
|
|
3104
|
-
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
3105
|
-
}
|
|
3106
|
-
],
|
|
3107
|
-
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
3108
|
-
"privacy": "public"
|
|
3109
|
-
}
|
|
3110
|
-
],
|
|
3111
|
-
"exports": [
|
|
3205
|
+
"kind": "js",
|
|
3206
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3207
|
+
"declaration": {
|
|
3208
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3209
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3112
3212
|
{
|
|
3113
3213
|
"kind": "js",
|
|
3114
|
-
"name": "
|
|
3214
|
+
"name": "foundationAiCriteriaSearch",
|
|
3115
3215
|
"declaration": {
|
|
3116
|
-
"name": "
|
|
3117
|
-
"module": "src/
|
|
3216
|
+
"name": "foundationAiCriteriaSearch",
|
|
3217
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3118
3218
|
}
|
|
3119
3219
|
}
|
|
3120
3220
|
]
|
|
3121
3221
|
},
|
|
3122
3222
|
{
|
|
3123
3223
|
"kind": "javascript-module",
|
|
3124
|
-
"path": "src/
|
|
3224
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3125
3225
|
"declarations": [],
|
|
3126
3226
|
"exports": [
|
|
3127
3227
|
{
|
|
3128
3228
|
"kind": "js",
|
|
3129
|
-
"name": "
|
|
3229
|
+
"name": "AiCriteriaSearch",
|
|
3130
3230
|
"declaration": {
|
|
3131
|
-
"name": "
|
|
3132
|
-
"
|
|
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"
|
|
3133
3273
|
}
|
|
3134
3274
|
},
|
|
3135
3275
|
{
|
|
@@ -3137,7 +3277,7 @@
|
|
|
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
|
]
|