@genesislcap/foundation-ui 15.46.1 → 15.46.2
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 +1076 -1076
- package/dist/dts/react.d.ts +15 -15
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +17 -17
|
@@ -1495,11 +1495,11 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1498
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1499
1499
|
"declarations": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionItemStyles",
|
|
1503
1503
|
"return": {
|
|
1504
1504
|
"type": {
|
|
1505
1505
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1524,24 @@
|
|
|
1524
1524
|
"exports": [
|
|
1525
1525
|
{
|
|
1526
1526
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1527
|
+
"name": "foundationAccordionItemStyles",
|
|
1528
1528
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1529
|
+
"name": "foundationAccordionItemStyles",
|
|
1530
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
]
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
1536
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1537
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1538
1538
|
"declarations": [
|
|
1539
1539
|
{
|
|
1540
1540
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionItemTemplate",
|
|
1542
1542
|
"return": {
|
|
1543
1543
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1544
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1545
1545
|
}
|
|
1546
1546
|
},
|
|
1547
1547
|
"parameters": [
|
|
@@ -1563,237 +1563,116 @@
|
|
|
1563
1563
|
"exports": [
|
|
1564
1564
|
{
|
|
1565
1565
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1566
|
+
"name": "foundationAccordionItemTemplate",
|
|
1567
1567
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1568
|
+
"name": "foundationAccordionItemTemplate",
|
|
1569
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
]
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
1575
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion/accordion.ts",
|
|
1576
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1577
1577
|
"declarations": [
|
|
1578
1578
|
{
|
|
1579
1579
|
"kind": "class",
|
|
1580
1580
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1581
|
+
"name": "AccordionItem",
|
|
1582
1582
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1583
|
+
"name": "FASTAccordionItem",
|
|
1584
|
+
"package": "@microsoft/fast-components"
|
|
1585
1585
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion",
|
|
1586
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1587
1587
|
"customElement": true,
|
|
1588
1588
|
"attributes": [
|
|
1589
1589
|
{
|
|
1590
|
-
"name": "
|
|
1591
|
-
"type": {
|
|
1592
|
-
"text": "AccordionExpandMode"
|
|
1593
|
-
},
|
|
1594
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1595
|
-
"fieldName": "expandmode",
|
|
1596
|
-
"inheritedFrom": {
|
|
1597
|
-
"name": "Accordion",
|
|
1598
|
-
"module": "src/accordion/accordion.ts"
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
],
|
|
1602
|
-
"members": [
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "field",
|
|
1605
|
-
"name": "expandmode",
|
|
1590
|
+
"name": "heading-level",
|
|
1606
1591
|
"type": {
|
|
1607
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1608
1593
|
},
|
|
1609
|
-
"
|
|
1610
|
-
"description": "
|
|
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",
|
|
1611
1597
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion/accordion.ts"
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1614
1600
|
}
|
|
1615
1601
|
},
|
|
1616
1602
|
{
|
|
1617
|
-
"kind": "field",
|
|
1618
|
-
"name": "activeid",
|
|
1619
1603
|
"type": {
|
|
1620
|
-
"text": "
|
|
1604
|
+
"text": "boolean"
|
|
1621
1605
|
},
|
|
1622
|
-
"
|
|
1606
|
+
"default": "false",
|
|
1607
|
+
"description": "Expands or collapses the item.",
|
|
1608
|
+
"fieldName": "expanded",
|
|
1623
1609
|
"inheritedFrom": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/accordion/accordion.ts"
|
|
1610
|
+
"name": "AccordionItem",
|
|
1611
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1626
1612
|
}
|
|
1627
1613
|
},
|
|
1628
1614
|
{
|
|
1629
|
-
"
|
|
1630
|
-
"name": "activeItemIndex",
|
|
1615
|
+
"name": "id",
|
|
1631
1616
|
"type": {
|
|
1632
|
-
"text": "
|
|
1617
|
+
"text": "string"
|
|
1633
1618
|
},
|
|
1634
|
-
"
|
|
1635
|
-
"
|
|
1619
|
+
"description": "The item ID",
|
|
1620
|
+
"fieldName": "id",
|
|
1636
1621
|
"inheritedFrom": {
|
|
1637
|
-
"name": "
|
|
1638
|
-
"module": "src/accordion/accordion.ts"
|
|
1622
|
+
"name": "AccordionItem",
|
|
1623
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1639
1624
|
}
|
|
1640
|
-
}
|
|
1625
|
+
}
|
|
1626
|
+
],
|
|
1627
|
+
"members": [
|
|
1641
1628
|
{
|
|
1642
1629
|
"kind": "field",
|
|
1643
|
-
"name": "
|
|
1630
|
+
"name": "headinglevel",
|
|
1644
1631
|
"type": {
|
|
1645
|
-
"text": "
|
|
1646
|
-
},
|
|
1647
|
-
"privacy": "private",
|
|
1648
|
-
"inheritedFrom": {
|
|
1649
|
-
"name": "Accordion",
|
|
1650
|
-
"module": "src/accordion/accordion.ts"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"kind": "field",
|
|
1655
|
-
"name": "change",
|
|
1656
|
-
"privacy": "private",
|
|
1657
|
-
"inheritedFrom": {
|
|
1658
|
-
"name": "Accordion",
|
|
1659
|
-
"module": "src/accordion/accordion.ts"
|
|
1660
|
-
}
|
|
1661
|
-
},
|
|
1662
|
-
{
|
|
1663
|
-
"kind": "method",
|
|
1664
|
-
"name": "findExpandedItem",
|
|
1665
|
-
"privacy": "private",
|
|
1666
|
-
"return": {
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "AccordionItem | null"
|
|
1669
|
-
}
|
|
1632
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1670
1633
|
},
|
|
1634
|
+
"privacy": "public",
|
|
1635
|
+
"default": "2",
|
|
1636
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1671
1637
|
"inheritedFrom": {
|
|
1672
|
-
"name": "
|
|
1673
|
-
"module": "src/accordion/accordion.ts"
|
|
1638
|
+
"name": "AccordionItem",
|
|
1639
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1674
1640
|
}
|
|
1675
1641
|
},
|
|
1676
1642
|
{
|
|
1677
1643
|
"kind": "field",
|
|
1678
|
-
"name": "
|
|
1679
|
-
"
|
|
1680
|
-
|
|
1681
|
-
"name": "Accordion",
|
|
1682
|
-
"module": "src/accordion/accordion.ts"
|
|
1683
|
-
}
|
|
1684
|
-
},
|
|
1685
|
-
{
|
|
1686
|
-
"kind": "method",
|
|
1687
|
-
"name": "resetItems",
|
|
1688
|
-
"privacy": "private",
|
|
1689
|
-
"return": {
|
|
1690
|
-
"type": {
|
|
1691
|
-
"text": "void"
|
|
1692
|
-
}
|
|
1644
|
+
"name": "expanded",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "boolean"
|
|
1693
1647
|
},
|
|
1648
|
+
"privacy": "public",
|
|
1649
|
+
"default": "false",
|
|
1650
|
+
"description": "Expands or collapses the item.",
|
|
1694
1651
|
"inheritedFrom": {
|
|
1695
|
-
"name": "
|
|
1696
|
-
"module": "src/accordion/accordion.ts"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"kind": "field",
|
|
1701
|
-
"name": "removeItemListeners",
|
|
1702
|
-
"privacy": "private",
|
|
1703
|
-
"inheritedFrom": {
|
|
1704
|
-
"name": "Accordion",
|
|
1705
|
-
"module": "src/accordion/accordion.ts"
|
|
1652
|
+
"name": "AccordionItem",
|
|
1653
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1706
1654
|
}
|
|
1707
1655
|
},
|
|
1708
1656
|
{
|
|
1709
1657
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1711
|
-
"
|
|
1712
|
-
|
|
1713
|
-
"name": "Accordion",
|
|
1714
|
-
"module": "src/accordion/accordion.ts"
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
"kind": "method",
|
|
1719
|
-
"name": "getItemIds",
|
|
1720
|
-
"privacy": "private",
|
|
1721
|
-
"return": {
|
|
1722
|
-
"type": {
|
|
1723
|
-
"text": "Array<string | null>"
|
|
1724
|
-
}
|
|
1725
|
-
},
|
|
1726
|
-
"inheritedFrom": {
|
|
1727
|
-
"name": "Accordion",
|
|
1728
|
-
"module": "src/accordion/accordion.ts"
|
|
1729
|
-
}
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
"kind": "method",
|
|
1733
|
-
"name": "isSingleExpandMode",
|
|
1734
|
-
"privacy": "private",
|
|
1735
|
-
"return": {
|
|
1736
|
-
"type": {
|
|
1737
|
-
"text": "boolean"
|
|
1738
|
-
}
|
|
1658
|
+
"name": "id",
|
|
1659
|
+
"type": {
|
|
1660
|
+
"text": "string"
|
|
1739
1661
|
},
|
|
1662
|
+
"privacy": "public",
|
|
1663
|
+
"description": "The item ID",
|
|
1740
1664
|
"inheritedFrom": {
|
|
1741
|
-
"name": "
|
|
1742
|
-
"module": "src/accordion/accordion.ts"
|
|
1743
|
-
}
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "field",
|
|
1747
|
-
"name": "handleItemKeyDown",
|
|
1748
|
-
"privacy": "private",
|
|
1749
|
-
"inheritedFrom": {
|
|
1750
|
-
"name": "Accordion",
|
|
1751
|
-
"module": "src/accordion/accordion.ts"
|
|
1665
|
+
"name": "AccordionItem",
|
|
1666
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1752
1667
|
}
|
|
1753
1668
|
},
|
|
1754
1669
|
{
|
|
1755
1670
|
"kind": "field",
|
|
1756
|
-
"name": "
|
|
1757
|
-
"privacy": "private",
|
|
1758
|
-
"inheritedFrom": {
|
|
1759
|
-
"name": "Accordion",
|
|
1760
|
-
"module": "src/accordion/accordion.ts"
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"kind": "method",
|
|
1765
|
-
"name": "adjust",
|
|
1766
|
-
"privacy": "private",
|
|
1767
|
-
"return": {
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "void"
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
"parameters": [
|
|
1773
|
-
{
|
|
1774
|
-
"name": "adjustment",
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "number"
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
],
|
|
1780
|
-
"inheritedFrom": {
|
|
1781
|
-
"name": "Accordion",
|
|
1782
|
-
"module": "src/accordion/accordion.ts"
|
|
1783
|
-
}
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "method",
|
|
1787
|
-
"name": "focusItem",
|
|
1671
|
+
"name": "change",
|
|
1788
1672
|
"privacy": "private",
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "void"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
1673
|
"inheritedFrom": {
|
|
1795
|
-
"name": "
|
|
1796
|
-
"module": "src/accordion/accordion.ts"
|
|
1674
|
+
"name": "AccordionItem",
|
|
1675
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1797
1676
|
}
|
|
1798
1677
|
},
|
|
1799
1678
|
{
|
|
@@ -1910,18 +1789,18 @@
|
|
|
1910
1789
|
],
|
|
1911
1790
|
"events": [
|
|
1912
1791
|
{
|
|
1913
|
-
"description": "Fires a custom 'change' event when the
|
|
1792
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1914
1793
|
"name": "change",
|
|
1915
1794
|
"inheritedFrom": {
|
|
1916
|
-
"name": "
|
|
1917
|
-
"module": "src/accordion/accordion.ts"
|
|
1795
|
+
"name": "AccordionItem",
|
|
1796
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1918
1797
|
}
|
|
1919
1798
|
}
|
|
1920
1799
|
]
|
|
1921
1800
|
},
|
|
1922
1801
|
{
|
|
1923
1802
|
"kind": "variable",
|
|
1924
|
-
"name": "
|
|
1803
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1925
1804
|
"type": {
|
|
1926
1805
|
"text": "ShadowRootInit"
|
|
1927
1806
|
},
|
|
@@ -1929,57 +1808,57 @@
|
|
|
1929
1808
|
},
|
|
1930
1809
|
{
|
|
1931
1810
|
"kind": "variable",
|
|
1932
|
-
"name": "
|
|
1811
|
+
"name": "defaultAccordionItemConfig",
|
|
1933
1812
|
"type": {
|
|
1934
1813
|
"text": "object"
|
|
1935
1814
|
},
|
|
1936
|
-
"default": "{}"
|
|
1815
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1937
1816
|
},
|
|
1938
1817
|
{
|
|
1939
1818
|
"kind": "variable",
|
|
1940
|
-
"name": "
|
|
1941
|
-
"description": "The Foundation Accordion",
|
|
1819
|
+
"name": "foundationAccordionItem",
|
|
1820
|
+
"description": "The Foundation Accordion Item",
|
|
1942
1821
|
"privacy": "public"
|
|
1943
1822
|
}
|
|
1944
1823
|
],
|
|
1945
1824
|
"exports": [
|
|
1946
1825
|
{
|
|
1947
1826
|
"kind": "js",
|
|
1948
|
-
"name": "
|
|
1827
|
+
"name": "AccordionItem",
|
|
1949
1828
|
"declaration": {
|
|
1950
|
-
"name": "
|
|
1951
|
-
"module": "src/accordion/accordion.ts"
|
|
1829
|
+
"name": "AccordionItem",
|
|
1830
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1952
1831
|
}
|
|
1953
1832
|
},
|
|
1954
1833
|
{
|
|
1955
1834
|
"kind": "js",
|
|
1956
|
-
"name": "
|
|
1835
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1957
1836
|
"declaration": {
|
|
1958
|
-
"name": "
|
|
1959
|
-
"module": "src/accordion/accordion.ts"
|
|
1837
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1838
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1960
1839
|
}
|
|
1961
1840
|
},
|
|
1962
1841
|
{
|
|
1963
1842
|
"kind": "js",
|
|
1964
|
-
"name": "
|
|
1843
|
+
"name": "defaultAccordionItemConfig",
|
|
1965
1844
|
"declaration": {
|
|
1966
|
-
"name": "
|
|
1967
|
-
"module": "src/accordion/accordion.ts"
|
|
1845
|
+
"name": "defaultAccordionItemConfig",
|
|
1846
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1968
1847
|
}
|
|
1969
1848
|
},
|
|
1970
1849
|
{
|
|
1971
1850
|
"kind": "js",
|
|
1972
|
-
"name": "
|
|
1851
|
+
"name": "foundationAccordionItem",
|
|
1973
1852
|
"declaration": {
|
|
1974
|
-
"name": "
|
|
1975
|
-
"module": "src/accordion/accordion.ts"
|
|
1853
|
+
"name": "foundationAccordionItem",
|
|
1854
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1976
1855
|
}
|
|
1977
1856
|
}
|
|
1978
1857
|
]
|
|
1979
1858
|
},
|
|
1980
1859
|
{
|
|
1981
1860
|
"kind": "javascript-module",
|
|
1982
|
-
"path": "src/accordion/index.ts",
|
|
1861
|
+
"path": "src/accordion-item/index.ts",
|
|
1983
1862
|
"declarations": [],
|
|
1984
1863
|
"exports": [
|
|
1985
1864
|
{
|
|
@@ -1987,7 +1866,7 @@
|
|
|
1987
1866
|
"name": "*",
|
|
1988
1867
|
"declaration": {
|
|
1989
1868
|
"name": "*",
|
|
1990
|
-
"package": "./accordion.template"
|
|
1869
|
+
"package": "./accordion-item.template"
|
|
1991
1870
|
}
|
|
1992
1871
|
},
|
|
1993
1872
|
{
|
|
@@ -1995,7 +1874,7 @@
|
|
|
1995
1874
|
"name": "*",
|
|
1996
1875
|
"declaration": {
|
|
1997
1876
|
"name": "*",
|
|
1998
|
-
"package": "./accordion.styles"
|
|
1877
|
+
"package": "./accordion-item.styles"
|
|
1999
1878
|
}
|
|
2000
1879
|
},
|
|
2001
1880
|
{
|
|
@@ -2003,18 +1882,72 @@
|
|
|
2003
1882
|
"name": "*",
|
|
2004
1883
|
"declaration": {
|
|
2005
1884
|
"name": "*",
|
|
2006
|
-
"package": "./accordion"
|
|
1885
|
+
"package": "./accordion-item"
|
|
2007
1886
|
}
|
|
2008
1887
|
}
|
|
2009
1888
|
]
|
|
2010
1889
|
},
|
|
2011
1890
|
{
|
|
2012
1891
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
1892
|
+
"path": "src/_config/index.ts",
|
|
1893
|
+
"declarations": [],
|
|
1894
|
+
"exports": [
|
|
1895
|
+
{
|
|
1896
|
+
"kind": "js",
|
|
1897
|
+
"name": "*",
|
|
1898
|
+
"declaration": {
|
|
1899
|
+
"name": "*",
|
|
1900
|
+
"package": "./styles"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "js",
|
|
1905
|
+
"name": "*",
|
|
1906
|
+
"declaration": {
|
|
1907
|
+
"name": "*",
|
|
1908
|
+
"package": "./tokens"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "*",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "*",
|
|
1916
|
+
"package": "./values"
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "javascript-module",
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2014
1924
|
"declarations": [
|
|
2015
1925
|
{
|
|
2016
1926
|
"kind": "function",
|
|
2017
|
-
"name": "
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1934
|
+
{
|
|
1935
|
+
"name": "context",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "definition",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "function",
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2018
1951
|
"return": {
|
|
2019
1952
|
"type": {
|
|
2020
1953
|
"text": "ElementStyles"
|
|
@@ -2039,162 +1972,287 @@
|
|
|
2039
1972
|
"exports": [
|
|
2040
1973
|
{
|
|
2041
1974
|
"kind": "js",
|
|
2042
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2043
1976
|
"declaration": {
|
|
2044
|
-
"name": "
|
|
2045
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2046
1987
|
}
|
|
2047
1988
|
}
|
|
2048
1989
|
]
|
|
2049
1990
|
},
|
|
2050
1991
|
{
|
|
2051
1992
|
"kind": "javascript-module",
|
|
2052
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2053
1994
|
"declarations": [
|
|
2054
1995
|
{
|
|
2055
1996
|
"kind": "function",
|
|
2056
|
-
"name": "
|
|
2057
|
-
"return": {
|
|
2058
|
-
"type": {
|
|
2059
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2060
|
-
}
|
|
2061
|
-
},
|
|
1997
|
+
"name": "menuTemplate",
|
|
2062
1998
|
"parameters": [
|
|
2063
1999
|
{
|
|
2064
|
-
"name": "
|
|
2000
|
+
"name": "prefix",
|
|
2065
2001
|
"type": {
|
|
2066
|
-
"text": "
|
|
2002
|
+
"text": "string"
|
|
2067
2003
|
}
|
|
2068
|
-
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2069
2011
|
{
|
|
2070
|
-
"name": "
|
|
2012
|
+
"name": "prefix",
|
|
2071
2013
|
"type": {
|
|
2072
|
-
"text": "
|
|
2014
|
+
"text": "string"
|
|
2073
2015
|
}
|
|
2074
2016
|
}
|
|
2075
2017
|
]
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"kind": "variable",
|
|
2021
|
+
"name": "foundationActionsMenuTemplate",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
+
},
|
|
2025
|
+
"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`"
|
|
2076
2026
|
}
|
|
2077
2027
|
],
|
|
2078
2028
|
"exports": [
|
|
2079
2029
|
{
|
|
2080
2030
|
"kind": "js",
|
|
2081
|
-
"name": "
|
|
2031
|
+
"name": "menuTemplate",
|
|
2082
2032
|
"declaration": {
|
|
2083
|
-
"name": "
|
|
2084
|
-
"module": "src/
|
|
2033
|
+
"name": "menuTemplate",
|
|
2034
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "js",
|
|
2039
|
+
"name": "singleOptionTemplate",
|
|
2040
|
+
"declaration": {
|
|
2041
|
+
"name": "singleOptionTemplate",
|
|
2042
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "js",
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
2048
|
+
"declaration": {
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2085
2051
|
}
|
|
2086
2052
|
}
|
|
2087
2053
|
]
|
|
2088
2054
|
},
|
|
2089
2055
|
{
|
|
2090
2056
|
"kind": "javascript-module",
|
|
2091
|
-
"path": "src/
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2092
2058
|
"declarations": [
|
|
2093
2059
|
{
|
|
2094
2060
|
"kind": "class",
|
|
2095
2061
|
"description": "",
|
|
2096
|
-
"name": "
|
|
2097
|
-
"
|
|
2098
|
-
"name": "FASTAccordionItem",
|
|
2099
|
-
"package": "@microsoft/fast-components"
|
|
2100
|
-
},
|
|
2101
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2102
|
-
"customElement": true,
|
|
2103
|
-
"attributes": [
|
|
2062
|
+
"name": "ActionsMenu",
|
|
2063
|
+
"members": [
|
|
2104
2064
|
{
|
|
2105
|
-
"
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "actions",
|
|
2106
2067
|
"type": {
|
|
2107
|
-
"text": "
|
|
2108
|
-
},
|
|
2109
|
-
"default": "2",
|
|
2110
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2111
|
-
"fieldName": "headinglevel",
|
|
2112
|
-
"inheritedFrom": {
|
|
2113
|
-
"name": "AccordionItem",
|
|
2114
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
2115
2069
|
}
|
|
2116
2070
|
},
|
|
2117
2071
|
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "isVertical",
|
|
2118
2074
|
"type": {
|
|
2119
2075
|
"text": "boolean"
|
|
2120
2076
|
},
|
|
2121
|
-
"default": "false"
|
|
2122
|
-
"description": "Expands or collapses the item.",
|
|
2123
|
-
"fieldName": "expanded",
|
|
2124
|
-
"inheritedFrom": {
|
|
2125
|
-
"name": "AccordionItem",
|
|
2126
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2127
|
-
}
|
|
2077
|
+
"default": "false"
|
|
2128
2078
|
},
|
|
2129
|
-
{
|
|
2130
|
-
"name": "id",
|
|
2131
|
-
"type": {
|
|
2132
|
-
"text": "string"
|
|
2133
|
-
},
|
|
2134
|
-
"description": "The item ID",
|
|
2135
|
-
"fieldName": "id",
|
|
2136
|
-
"inheritedFrom": {
|
|
2137
|
-
"name": "AccordionItem",
|
|
2138
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
],
|
|
2142
|
-
"members": [
|
|
2143
2079
|
{
|
|
2144
2080
|
"kind": "field",
|
|
2145
|
-
"name": "
|
|
2081
|
+
"name": "addDefaultActions",
|
|
2146
2082
|
"type": {
|
|
2147
|
-
"text": "
|
|
2083
|
+
"text": "boolean"
|
|
2148
2084
|
},
|
|
2149
|
-
"
|
|
2150
|
-
"default": "2",
|
|
2151
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2152
|
-
"inheritedFrom": {
|
|
2153
|
-
"name": "AccordionItem",
|
|
2154
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2155
|
-
}
|
|
2085
|
+
"default": "true"
|
|
2156
2086
|
},
|
|
2157
2087
|
{
|
|
2158
2088
|
"kind": "field",
|
|
2159
|
-
"name": "
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2160
2090
|
"type": {
|
|
2161
2091
|
"text": "boolean"
|
|
2162
2092
|
},
|
|
2163
|
-
"
|
|
2164
|
-
"default": "false",
|
|
2165
|
-
"description": "Expands or collapses the item.",
|
|
2166
|
-
"inheritedFrom": {
|
|
2167
|
-
"name": "AccordionItem",
|
|
2168
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2169
|
-
}
|
|
2093
|
+
"default": "true"
|
|
2170
2094
|
},
|
|
2171
2095
|
{
|
|
2172
2096
|
"kind": "field",
|
|
2173
|
-
"name": "
|
|
2097
|
+
"name": "classNames",
|
|
2174
2098
|
"type": {
|
|
2175
2099
|
"text": "string"
|
|
2176
|
-
},
|
|
2177
|
-
"privacy": "public",
|
|
2178
|
-
"description": "The item ID",
|
|
2179
|
-
"inheritedFrom": {
|
|
2180
|
-
"name": "AccordionItem",
|
|
2181
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2182
2100
|
}
|
|
2183
2101
|
},
|
|
2184
2102
|
{
|
|
2185
2103
|
"kind": "field",
|
|
2186
|
-
"name": "
|
|
2187
|
-
"
|
|
2188
|
-
|
|
2189
|
-
"name": "AccordionItem",
|
|
2190
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2104
|
+
"name": "definition",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "any"
|
|
2191
2107
|
}
|
|
2192
2108
|
},
|
|
2193
2109
|
{
|
|
2194
2110
|
"kind": "field",
|
|
2195
|
-
"name": "
|
|
2111
|
+
"name": "name",
|
|
2196
2112
|
"type": {
|
|
2197
|
-
"text": "
|
|
2113
|
+
"text": "string"
|
|
2114
|
+
},
|
|
2115
|
+
"default": "'Actions'"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"kind": "field",
|
|
2119
|
+
"name": "open",
|
|
2120
|
+
"type": {
|
|
2121
|
+
"text": "boolean"
|
|
2122
|
+
},
|
|
2123
|
+
"default": "false"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "field",
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "string"
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"kind": "field",
|
|
2134
|
+
"name": "hideDisabled",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "boolean"
|
|
2137
|
+
},
|
|
2138
|
+
"default": "false"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "field",
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "actionsMenu",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "HTMLElement"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"kind": "field",
|
|
2164
|
+
"name": "actionsOpener",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "HTMLElement"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "method",
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "method",
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "oldValue",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "any"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "newValue",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "any"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "method",
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "method",
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"kind": "field",
|
|
2216
|
+
"name": "allActions",
|
|
2217
|
+
"type": {
|
|
2218
|
+
"text": "ActionMenuItem[]"
|
|
2219
|
+
},
|
|
2220
|
+
"readonly": true
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "field",
|
|
2224
|
+
"name": "rowData",
|
|
2225
|
+
"readonly": true
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "method",
|
|
2229
|
+
"name": "getLabel",
|
|
2230
|
+
"parameters": [
|
|
2231
|
+
{
|
|
2232
|
+
"name": "name",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string | ((rowData: any) => string)"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
]
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"kind": "method",
|
|
2241
|
+
"name": "getTemplate",
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "prefix",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "string"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"kind": "field",
|
|
2253
|
+
"name": "_presentation",
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2198
2256
|
},
|
|
2199
2257
|
"privacy": "private",
|
|
2200
2258
|
"default": "void 0",
|
|
@@ -2302,109 +2360,107 @@
|
|
|
2302
2360
|
}
|
|
2303
2361
|
}
|
|
2304
2362
|
],
|
|
2305
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2306
2364
|
{
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2365
|
+
"name": "is-vertical",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"default": "false",
|
|
2370
|
+
"fieldName": "isVertical"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "add-default-actions",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "boolean"
|
|
2376
|
+
},
|
|
2377
|
+
"default": "true",
|
|
2378
|
+
"fieldName": "addDefaultActions"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "auto-close-on-action",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "true",
|
|
2386
|
+
"fieldName": "autoCloseOnAction"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "string"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "'Actions'",
|
|
2394
|
+
"fieldName": "name"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "open",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "false",
|
|
2402
|
+
"fieldName": "open"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "buttonAppearance",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "buttonAppearance"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "hide-disabled",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "boolean"
|
|
2415
|
+
},
|
|
2416
|
+
"default": "false",
|
|
2417
|
+
"fieldName": "hideDisabled"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2313
2426
|
}
|
|
2314
|
-
]
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "ShadowRootInit"
|
|
2321
|
-
},
|
|
2322
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2323
|
-
},
|
|
2324
|
-
{
|
|
2325
|
-
"kind": "variable",
|
|
2326
|
-
"name": "defaultAccordionItemConfig",
|
|
2327
|
-
"type": {
|
|
2328
|
-
"text": "object"
|
|
2427
|
+
],
|
|
2428
|
+
"superclass": {
|
|
2429
|
+
"name": "FoundationElement",
|
|
2430
|
+
"package": "@microsoft/fast-foundation"
|
|
2329
2431
|
},
|
|
2330
|
-
"
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2433
|
+
"customElement": true
|
|
2331
2434
|
},
|
|
2332
2435
|
{
|
|
2333
2436
|
"kind": "variable",
|
|
2334
|
-
"name": "
|
|
2335
|
-
"description": "The Foundation
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2336
2439
|
"privacy": "public"
|
|
2337
2440
|
}
|
|
2338
2441
|
],
|
|
2339
2442
|
"exports": [
|
|
2340
2443
|
{
|
|
2341
2444
|
"kind": "js",
|
|
2342
|
-
"name": "
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2343
2446
|
"declaration": {
|
|
2344
|
-
"name": "
|
|
2345
|
-
"module": "src/
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2346
2449
|
}
|
|
2347
2450
|
},
|
|
2348
2451
|
{
|
|
2349
2452
|
"kind": "js",
|
|
2350
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2351
2454
|
"declaration": {
|
|
2352
|
-
"name": "
|
|
2353
|
-
"module": "src/
|
|
2354
|
-
}
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
"kind": "js",
|
|
2358
|
-
"name": "defaultAccordionItemConfig",
|
|
2359
|
-
"declaration": {
|
|
2360
|
-
"name": "defaultAccordionItemConfig",
|
|
2361
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "js",
|
|
2366
|
-
"name": "foundationAccordionItem",
|
|
2367
|
-
"declaration": {
|
|
2368
|
-
"name": "foundationAccordionItem",
|
|
2369
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2370
2457
|
}
|
|
2371
2458
|
}
|
|
2372
2459
|
]
|
|
2373
2460
|
},
|
|
2374
2461
|
{
|
|
2375
2462
|
"kind": "javascript-module",
|
|
2376
|
-
"path": "src/
|
|
2377
|
-
"declarations": [],
|
|
2378
|
-
"exports": [
|
|
2379
|
-
{
|
|
2380
|
-
"kind": "js",
|
|
2381
|
-
"name": "*",
|
|
2382
|
-
"declaration": {
|
|
2383
|
-
"name": "*",
|
|
2384
|
-
"package": "./accordion-item.template"
|
|
2385
|
-
}
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "js",
|
|
2389
|
-
"name": "*",
|
|
2390
|
-
"declaration": {
|
|
2391
|
-
"name": "*",
|
|
2392
|
-
"package": "./accordion-item.styles"
|
|
2393
|
-
}
|
|
2394
|
-
},
|
|
2395
|
-
{
|
|
2396
|
-
"kind": "js",
|
|
2397
|
-
"name": "*",
|
|
2398
|
-
"declaration": {
|
|
2399
|
-
"name": "*",
|
|
2400
|
-
"package": "./accordion-item"
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
]
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"kind": "javascript-module",
|
|
2407
|
-
"path": "src/_config/index.ts",
|
|
2463
|
+
"path": "src/actions-menu/index.ts",
|
|
2408
2464
|
"declarations": [],
|
|
2409
2465
|
"exports": [
|
|
2410
2466
|
{
|
|
@@ -2412,7 +2468,7 @@
|
|
|
2412
2468
|
"name": "*",
|
|
2413
2469
|
"declaration": {
|
|
2414
2470
|
"name": "*",
|
|
2415
|
-
"package": "./styles"
|
|
2471
|
+
"package": "./actions-menu.styles"
|
|
2416
2472
|
}
|
|
2417
2473
|
},
|
|
2418
2474
|
{
|
|
@@ -2420,7 +2476,7 @@
|
|
|
2420
2476
|
"name": "*",
|
|
2421
2477
|
"declaration": {
|
|
2422
2478
|
"name": "*",
|
|
2423
|
-
"package": "./
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2424
2480
|
}
|
|
2425
2481
|
},
|
|
2426
2482
|
{
|
|
@@ -2428,41 +2484,18 @@
|
|
|
2428
2484
|
"name": "*",
|
|
2429
2485
|
"declaration": {
|
|
2430
2486
|
"name": "*",
|
|
2431
|
-
"package": "./
|
|
2487
|
+
"package": "./actions-menu"
|
|
2432
2488
|
}
|
|
2433
2489
|
}
|
|
2434
2490
|
]
|
|
2435
2491
|
},
|
|
2436
2492
|
{
|
|
2437
2493
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/
|
|
2494
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2439
2495
|
"declarations": [
|
|
2440
2496
|
{
|
|
2441
2497
|
"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",
|
|
2498
|
+
"name": "foundationAccordionStyles",
|
|
2466
2499
|
"return": {
|
|
2467
2500
|
"type": {
|
|
2468
2501
|
"text": "ElementStyles"
|
|
@@ -2487,281 +2520,277 @@
|
|
|
2487
2520
|
"exports": [
|
|
2488
2521
|
{
|
|
2489
2522
|
"kind": "js",
|
|
2490
|
-
"name": "
|
|
2491
|
-
"declaration": {
|
|
2492
|
-
"name": "actionsMenuBaseStyles",
|
|
2493
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
-
}
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"kind": "js",
|
|
2498
|
-
"name": "foundationActionsMenuStyles",
|
|
2523
|
+
"name": "foundationAccordionStyles",
|
|
2499
2524
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "src/
|
|
2525
|
+
"name": "foundationAccordionStyles",
|
|
2526
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2502
2527
|
}
|
|
2503
2528
|
}
|
|
2504
2529
|
]
|
|
2505
2530
|
},
|
|
2506
2531
|
{
|
|
2507
2532
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2533
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2509
2534
|
"declarations": [
|
|
2510
2535
|
{
|
|
2511
2536
|
"kind": "function",
|
|
2512
|
-
"name": "
|
|
2537
|
+
"name": "foundationAccordionTemplate",
|
|
2538
|
+
"return": {
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "ViewTemplate<Accordion>"
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2513
2543
|
"parameters": [
|
|
2514
2544
|
{
|
|
2515
|
-
"name": "
|
|
2545
|
+
"name": "context",
|
|
2516
2546
|
"type": {
|
|
2517
|
-
"text": "
|
|
2547
|
+
"text": "ElementDefinitionContext"
|
|
2518
2548
|
}
|
|
2519
|
-
}
|
|
2520
|
-
]
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"kind": "function",
|
|
2524
|
-
"name": "singleOptionTemplate",
|
|
2525
|
-
"parameters": [
|
|
2549
|
+
},
|
|
2526
2550
|
{
|
|
2527
|
-
"name": "
|
|
2551
|
+
"name": "definition",
|
|
2528
2552
|
"type": {
|
|
2529
|
-
"text": "
|
|
2553
|
+
"text": "FoundationElementDefinition"
|
|
2530
2554
|
}
|
|
2531
2555
|
}
|
|
2532
2556
|
]
|
|
2533
|
-
},
|
|
2534
|
-
{
|
|
2535
|
-
"kind": "variable",
|
|
2536
|
-
"name": "foundationActionsMenuTemplate",
|
|
2537
|
-
"type": {
|
|
2538
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2539
|
-
},
|
|
2540
|
-
"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`"
|
|
2541
2557
|
}
|
|
2542
2558
|
],
|
|
2543
2559
|
"exports": [
|
|
2544
2560
|
{
|
|
2545
2561
|
"kind": "js",
|
|
2546
|
-
"name": "
|
|
2547
|
-
"declaration": {
|
|
2548
|
-
"name": "menuTemplate",
|
|
2549
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
-
}
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"kind": "js",
|
|
2554
|
-
"name": "singleOptionTemplate",
|
|
2555
|
-
"declaration": {
|
|
2556
|
-
"name": "singleOptionTemplate",
|
|
2557
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
"kind": "js",
|
|
2562
|
-
"name": "foundationActionsMenuTemplate",
|
|
2562
|
+
"name": "foundationAccordionTemplate",
|
|
2563
2563
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2564
|
+
"name": "foundationAccordionTemplate",
|
|
2565
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2566
2566
|
}
|
|
2567
2567
|
}
|
|
2568
2568
|
]
|
|
2569
2569
|
},
|
|
2570
2570
|
{
|
|
2571
2571
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2572
|
+
"path": "src/accordion/accordion.ts",
|
|
2573
2573
|
"declarations": [
|
|
2574
2574
|
{
|
|
2575
2575
|
"kind": "class",
|
|
2576
2576
|
"description": "",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2577
|
+
"name": "Accordion",
|
|
2578
|
+
"superclass": {
|
|
2579
|
+
"name": "FASTAccordion",
|
|
2580
|
+
"package": "@microsoft/fast-foundation"
|
|
2581
|
+
},
|
|
2582
|
+
"tagName": "%%prefix%%-accordion",
|
|
2583
|
+
"customElement": true,
|
|
2584
|
+
"attributes": [
|
|
2579
2585
|
{
|
|
2580
|
-
"
|
|
2581
|
-
"name": "actions",
|
|
2586
|
+
"name": "expand-mode",
|
|
2582
2587
|
"type": {
|
|
2583
|
-
"text": "
|
|
2588
|
+
"text": "AccordionExpandMode"
|
|
2589
|
+
},
|
|
2590
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
+
"fieldName": "expandmode",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "Accordion",
|
|
2594
|
+
"module": "src/accordion/accordion.ts"
|
|
2584
2595
|
}
|
|
2585
|
-
}
|
|
2596
|
+
}
|
|
2597
|
+
],
|
|
2598
|
+
"members": [
|
|
2586
2599
|
{
|
|
2587
2600
|
"kind": "field",
|
|
2588
|
-
"name": "
|
|
2601
|
+
"name": "expandmode",
|
|
2589
2602
|
"type": {
|
|
2590
|
-
"text": "
|
|
2603
|
+
"text": "AccordionExpandMode"
|
|
2591
2604
|
},
|
|
2592
|
-
"
|
|
2605
|
+
"privacy": "public",
|
|
2606
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2607
|
+
"inheritedFrom": {
|
|
2608
|
+
"name": "Accordion",
|
|
2609
|
+
"module": "src/accordion/accordion.ts"
|
|
2610
|
+
}
|
|
2593
2611
|
},
|
|
2594
2612
|
{
|
|
2595
2613
|
"kind": "field",
|
|
2596
|
-
"name": "
|
|
2614
|
+
"name": "activeid",
|
|
2597
2615
|
"type": {
|
|
2598
|
-
"text": "
|
|
2616
|
+
"text": "string | null"
|
|
2599
2617
|
},
|
|
2600
|
-
"
|
|
2618
|
+
"privacy": "private",
|
|
2619
|
+
"inheritedFrom": {
|
|
2620
|
+
"name": "Accordion",
|
|
2621
|
+
"module": "src/accordion/accordion.ts"
|
|
2622
|
+
}
|
|
2601
2623
|
},
|
|
2602
2624
|
{
|
|
2603
2625
|
"kind": "field",
|
|
2604
|
-
"name": "
|
|
2626
|
+
"name": "activeItemIndex",
|
|
2605
2627
|
"type": {
|
|
2606
|
-
"text": "
|
|
2628
|
+
"text": "number"
|
|
2607
2629
|
},
|
|
2608
|
-
"
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
"type": {
|
|
2614
|
-
"text": "string"
|
|
2630
|
+
"privacy": "private",
|
|
2631
|
+
"default": "0",
|
|
2632
|
+
"inheritedFrom": {
|
|
2633
|
+
"name": "Accordion",
|
|
2634
|
+
"module": "src/accordion/accordion.ts"
|
|
2615
2635
|
}
|
|
2616
2636
|
},
|
|
2617
2637
|
{
|
|
2618
2638
|
"kind": "field",
|
|
2619
|
-
"name": "
|
|
2639
|
+
"name": "accordionIds",
|
|
2620
2640
|
"type": {
|
|
2621
|
-
"text": "
|
|
2641
|
+
"text": "Array<string | null>"
|
|
2642
|
+
},
|
|
2643
|
+
"privacy": "private",
|
|
2644
|
+
"inheritedFrom": {
|
|
2645
|
+
"name": "Accordion",
|
|
2646
|
+
"module": "src/accordion/accordion.ts"
|
|
2622
2647
|
}
|
|
2623
2648
|
},
|
|
2624
2649
|
{
|
|
2625
2650
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2627
|
-
"
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2651
|
+
"name": "change",
|
|
2652
|
+
"privacy": "private",
|
|
2653
|
+
"inheritedFrom": {
|
|
2654
|
+
"name": "Accordion",
|
|
2655
|
+
"module": "src/accordion/accordion.ts"
|
|
2656
|
+
}
|
|
2631
2657
|
},
|
|
2632
2658
|
{
|
|
2633
|
-
"kind": "
|
|
2634
|
-
"name": "
|
|
2635
|
-
"
|
|
2636
|
-
|
|
2659
|
+
"kind": "method",
|
|
2660
|
+
"name": "findExpandedItem",
|
|
2661
|
+
"privacy": "private",
|
|
2662
|
+
"return": {
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "AccordionItem | null"
|
|
2665
|
+
}
|
|
2637
2666
|
},
|
|
2638
|
-
"
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
"kind": "field",
|
|
2642
|
-
"name": "buttonAppearance",
|
|
2643
|
-
"type": {
|
|
2644
|
-
"text": "string"
|
|
2667
|
+
"inheritedFrom": {
|
|
2668
|
+
"name": "Accordion",
|
|
2669
|
+
"module": "src/accordion/accordion.ts"
|
|
2645
2670
|
}
|
|
2646
2671
|
},
|
|
2647
2672
|
{
|
|
2648
2673
|
"kind": "field",
|
|
2649
|
-
"name": "
|
|
2650
|
-
"
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2674
|
+
"name": "setItems",
|
|
2675
|
+
"privacy": "private",
|
|
2676
|
+
"inheritedFrom": {
|
|
2677
|
+
"name": "Accordion",
|
|
2678
|
+
"module": "src/accordion/accordion.ts"
|
|
2679
|
+
}
|
|
2654
2680
|
},
|
|
2655
2681
|
{
|
|
2656
|
-
"kind": "
|
|
2657
|
-
"name": "
|
|
2658
|
-
"
|
|
2659
|
-
|
|
2682
|
+
"kind": "method",
|
|
2683
|
+
"name": "resetItems",
|
|
2684
|
+
"privacy": "private",
|
|
2685
|
+
"return": {
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "void"
|
|
2688
|
+
}
|
|
2660
2689
|
},
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
"kind": "field",
|
|
2665
|
-
"name": "singleOption",
|
|
2666
|
-
"type": {
|
|
2667
|
-
"text": "ActionMenuItem"
|
|
2690
|
+
"inheritedFrom": {
|
|
2691
|
+
"name": "Accordion",
|
|
2692
|
+
"module": "src/accordion/accordion.ts"
|
|
2668
2693
|
}
|
|
2669
2694
|
},
|
|
2670
2695
|
{
|
|
2671
2696
|
"kind": "field",
|
|
2672
|
-
"name": "
|
|
2673
|
-
"
|
|
2674
|
-
|
|
2697
|
+
"name": "removeItemListeners",
|
|
2698
|
+
"privacy": "private",
|
|
2699
|
+
"inheritedFrom": {
|
|
2700
|
+
"name": "Accordion",
|
|
2701
|
+
"module": "src/accordion/accordion.ts"
|
|
2675
2702
|
}
|
|
2676
2703
|
},
|
|
2677
2704
|
{
|
|
2678
2705
|
"kind": "field",
|
|
2679
|
-
"name": "
|
|
2680
|
-
"
|
|
2681
|
-
|
|
2706
|
+
"name": "activeItemChange",
|
|
2707
|
+
"privacy": "private",
|
|
2708
|
+
"inheritedFrom": {
|
|
2709
|
+
"name": "Accordion",
|
|
2710
|
+
"module": "src/accordion/accordion.ts"
|
|
2682
2711
|
}
|
|
2683
2712
|
},
|
|
2684
2713
|
{
|
|
2685
2714
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"privacy": "private"
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
"name": "definitionChanged",
|
|
2692
|
-
"privacy": "protected",
|
|
2693
|
-
"parameters": [
|
|
2694
|
-
{
|
|
2695
|
-
"name": "oldValue",
|
|
2696
|
-
"type": {
|
|
2697
|
-
"text": "any"
|
|
2698
|
-
}
|
|
2699
|
-
},
|
|
2700
|
-
{
|
|
2701
|
-
"name": "newValue",
|
|
2702
|
-
"type": {
|
|
2703
|
-
"text": "any"
|
|
2704
|
-
}
|
|
2715
|
+
"name": "getItemIds",
|
|
2716
|
+
"privacy": "private",
|
|
2717
|
+
"return": {
|
|
2718
|
+
"type": {
|
|
2719
|
+
"text": "Array<string | null>"
|
|
2705
2720
|
}
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
"privacy": "protected"
|
|
2712
|
-
},
|
|
2713
|
-
{
|
|
2714
|
-
"kind": "method",
|
|
2715
|
-
"name": "toggleActionsMenuVisibility"
|
|
2721
|
+
},
|
|
2722
|
+
"inheritedFrom": {
|
|
2723
|
+
"name": "Accordion",
|
|
2724
|
+
"module": "src/accordion/accordion.ts"
|
|
2725
|
+
}
|
|
2716
2726
|
},
|
|
2717
2727
|
{
|
|
2718
2728
|
"kind": "method",
|
|
2719
|
-
"name": "
|
|
2720
|
-
"
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
"
|
|
2724
|
-
"text": "(rowData) => void | any"
|
|
2725
|
-
}
|
|
2729
|
+
"name": "isSingleExpandMode",
|
|
2730
|
+
"privacy": "private",
|
|
2731
|
+
"return": {
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "boolean"
|
|
2726
2734
|
}
|
|
2727
|
-
|
|
2735
|
+
},
|
|
2736
|
+
"inheritedFrom": {
|
|
2737
|
+
"name": "Accordion",
|
|
2738
|
+
"module": "src/accordion/accordion.ts"
|
|
2739
|
+
}
|
|
2728
2740
|
},
|
|
2729
2741
|
{
|
|
2730
|
-
"kind": "field",
|
|
2731
|
-
"name": "
|
|
2732
|
-
"
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2742
|
+
"kind": "field",
|
|
2743
|
+
"name": "handleItemKeyDown",
|
|
2744
|
+
"privacy": "private",
|
|
2745
|
+
"inheritedFrom": {
|
|
2746
|
+
"name": "Accordion",
|
|
2747
|
+
"module": "src/accordion/accordion.ts"
|
|
2748
|
+
}
|
|
2736
2749
|
},
|
|
2737
2750
|
{
|
|
2738
2751
|
"kind": "field",
|
|
2739
|
-
"name": "
|
|
2740
|
-
"
|
|
2752
|
+
"name": "handleItemFocus",
|
|
2753
|
+
"privacy": "private",
|
|
2754
|
+
"inheritedFrom": {
|
|
2755
|
+
"name": "Accordion",
|
|
2756
|
+
"module": "src/accordion/accordion.ts"
|
|
2757
|
+
}
|
|
2741
2758
|
},
|
|
2742
2759
|
{
|
|
2743
2760
|
"kind": "method",
|
|
2744
|
-
"name": "
|
|
2761
|
+
"name": "adjust",
|
|
2762
|
+
"privacy": "private",
|
|
2763
|
+
"return": {
|
|
2764
|
+
"type": {
|
|
2765
|
+
"text": "void"
|
|
2766
|
+
}
|
|
2767
|
+
},
|
|
2745
2768
|
"parameters": [
|
|
2746
2769
|
{
|
|
2747
|
-
"name": "
|
|
2770
|
+
"name": "adjustment",
|
|
2748
2771
|
"type": {
|
|
2749
|
-
"text": "
|
|
2772
|
+
"text": "number"
|
|
2750
2773
|
}
|
|
2751
2774
|
}
|
|
2752
|
-
]
|
|
2775
|
+
],
|
|
2776
|
+
"inheritedFrom": {
|
|
2777
|
+
"name": "Accordion",
|
|
2778
|
+
"module": "src/accordion/accordion.ts"
|
|
2779
|
+
}
|
|
2753
2780
|
},
|
|
2754
2781
|
{
|
|
2755
2782
|
"kind": "method",
|
|
2756
|
-
"name": "
|
|
2757
|
-
"
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
"
|
|
2761
|
-
"text": "string"
|
|
2762
|
-
}
|
|
2783
|
+
"name": "focusItem",
|
|
2784
|
+
"privacy": "private",
|
|
2785
|
+
"return": {
|
|
2786
|
+
"type": {
|
|
2787
|
+
"text": "void"
|
|
2763
2788
|
}
|
|
2764
|
-
|
|
2789
|
+
},
|
|
2790
|
+
"inheritedFrom": {
|
|
2791
|
+
"name": "Accordion",
|
|
2792
|
+
"module": "src/accordion/accordion.ts"
|
|
2793
|
+
}
|
|
2765
2794
|
},
|
|
2766
2795
|
{
|
|
2767
2796
|
"kind": "field",
|
|
@@ -2875,107 +2904,78 @@
|
|
|
2875
2904
|
}
|
|
2876
2905
|
}
|
|
2877
2906
|
],
|
|
2878
|
-
"
|
|
2879
|
-
{
|
|
2880
|
-
"name": "is-vertical",
|
|
2881
|
-
"type": {
|
|
2882
|
-
"text": "boolean"
|
|
2883
|
-
},
|
|
2884
|
-
"default": "false",
|
|
2885
|
-
"fieldName": "isVertical"
|
|
2886
|
-
},
|
|
2887
|
-
{
|
|
2888
|
-
"name": "add-default-actions",
|
|
2889
|
-
"type": {
|
|
2890
|
-
"text": "boolean"
|
|
2891
|
-
},
|
|
2892
|
-
"default": "true",
|
|
2893
|
-
"fieldName": "addDefaultActions"
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"name": "auto-close-on-action",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "boolean"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "true",
|
|
2901
|
-
"fieldName": "autoCloseOnAction"
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"name": "name",
|
|
2905
|
-
"type": {
|
|
2906
|
-
"text": "string"
|
|
2907
|
-
},
|
|
2908
|
-
"default": "'Actions'",
|
|
2909
|
-
"fieldName": "name"
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
"name": "open",
|
|
2913
|
-
"type": {
|
|
2914
|
-
"text": "boolean"
|
|
2915
|
-
},
|
|
2916
|
-
"default": "false",
|
|
2917
|
-
"fieldName": "open"
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"name": "buttonAppearance",
|
|
2921
|
-
"type": {
|
|
2922
|
-
"text": "string"
|
|
2923
|
-
},
|
|
2924
|
-
"fieldName": "buttonAppearance"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"name": "hide-disabled",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "boolean"
|
|
2930
|
-
},
|
|
2931
|
-
"default": "false",
|
|
2932
|
-
"fieldName": "hideDisabled"
|
|
2933
|
-
},
|
|
2907
|
+
"events": [
|
|
2934
2908
|
{
|
|
2935
|
-
"
|
|
2936
|
-
"
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2909
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2910
|
+
"name": "change",
|
|
2911
|
+
"inheritedFrom": {
|
|
2912
|
+
"name": "Accordion",
|
|
2913
|
+
"module": "src/accordion/accordion.ts"
|
|
2914
|
+
}
|
|
2941
2915
|
}
|
|
2942
|
-
]
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2916
|
+
]
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "variable",
|
|
2920
|
+
"name": "foundationAccordionShadowOptions",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "ShadowRootInit"
|
|
2946
2923
|
},
|
|
2947
|
-
"
|
|
2948
|
-
"customElement": true
|
|
2924
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2949
2925
|
},
|
|
2950
2926
|
{
|
|
2951
2927
|
"kind": "variable",
|
|
2952
|
-
"name": "
|
|
2953
|
-
"
|
|
2928
|
+
"name": "defaultAccordionConfig",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "object"
|
|
2931
|
+
},
|
|
2932
|
+
"default": "{}"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"kind": "variable",
|
|
2936
|
+
"name": "foundationAccordion",
|
|
2937
|
+
"description": "The Foundation Accordion",
|
|
2954
2938
|
"privacy": "public"
|
|
2955
2939
|
}
|
|
2956
2940
|
],
|
|
2957
2941
|
"exports": [
|
|
2958
2942
|
{
|
|
2959
2943
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2944
|
+
"name": "Accordion",
|
|
2961
2945
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
2946
|
+
"name": "Accordion",
|
|
2947
|
+
"module": "src/accordion/accordion.ts"
|
|
2964
2948
|
}
|
|
2965
2949
|
},
|
|
2966
2950
|
{
|
|
2967
2951
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
2952
|
+
"name": "foundationAccordionShadowOptions",
|
|
2969
2953
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2954
|
+
"name": "foundationAccordionShadowOptions",
|
|
2955
|
+
"module": "src/accordion/accordion.ts"
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"kind": "js",
|
|
2960
|
+
"name": "defaultAccordionConfig",
|
|
2961
|
+
"declaration": {
|
|
2962
|
+
"name": "defaultAccordionConfig",
|
|
2963
|
+
"module": "src/accordion/accordion.ts"
|
|
2964
|
+
}
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "js",
|
|
2968
|
+
"name": "foundationAccordion",
|
|
2969
|
+
"declaration": {
|
|
2970
|
+
"name": "foundationAccordion",
|
|
2971
|
+
"module": "src/accordion/accordion.ts"
|
|
2972
2972
|
}
|
|
2973
2973
|
}
|
|
2974
2974
|
]
|
|
2975
2975
|
},
|
|
2976
2976
|
{
|
|
2977
2977
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
2978
|
+
"path": "src/accordion/index.ts",
|
|
2979
2979
|
"declarations": [],
|
|
2980
2980
|
"exports": [
|
|
2981
2981
|
{
|
|
@@ -2983,7 +2983,7 @@
|
|
|
2983
2983
|
"name": "*",
|
|
2984
2984
|
"declaration": {
|
|
2985
2985
|
"name": "*",
|
|
2986
|
-
"package": "./
|
|
2986
|
+
"package": "./accordion.template"
|
|
2987
2987
|
}
|
|
2988
2988
|
},
|
|
2989
2989
|
{
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
"name": "*",
|
|
2992
2992
|
"declaration": {
|
|
2993
2993
|
"name": "*",
|
|
2994
|
-
"package": "./
|
|
2994
|
+
"package": "./accordion.styles"
|
|
2995
2995
|
}
|
|
2996
2996
|
},
|
|
2997
2997
|
{
|
|
@@ -2999,122 +2999,111 @@
|
|
|
2999
2999
|
"name": "*",
|
|
3000
3000
|
"declaration": {
|
|
3001
3001
|
"name": "*",
|
|
3002
|
-
"package": "./
|
|
3002
|
+
"package": "./accordion"
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
3005
|
]
|
|
3006
3006
|
},
|
|
3007
3007
|
{
|
|
3008
3008
|
"kind": "javascript-module",
|
|
3009
|
-
"path": "src/ai-
|
|
3009
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3010
3010
|
"declarations": [
|
|
3011
3011
|
{
|
|
3012
|
-
"kind": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
3012
|
+
"kind": "function",
|
|
3013
|
+
"name": "foundationAiIndicatorStyles",
|
|
3014
|
+
"return": {
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "ElementStyles"
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
3019
|
+
"parameters": [
|
|
3020
|
+
{
|
|
3021
|
+
"name": "context",
|
|
3022
|
+
"type": {
|
|
3023
|
+
"text": "ElementDefinitionContext"
|
|
3024
|
+
}
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "definition",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "FoundationElementDefinition"
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
]
|
|
3015
3033
|
}
|
|
3016
3034
|
],
|
|
3017
3035
|
"exports": [
|
|
3018
3036
|
{
|
|
3019
3037
|
"kind": "js",
|
|
3020
|
-
"name": "
|
|
3038
|
+
"name": "foundationAiIndicatorStyles",
|
|
3021
3039
|
"declaration": {
|
|
3022
|
-
"name": "
|
|
3023
|
-
"module": "src/ai-
|
|
3040
|
+
"name": "foundationAiIndicatorStyles",
|
|
3041
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3024
3042
|
}
|
|
3025
3043
|
}
|
|
3026
3044
|
]
|
|
3027
3045
|
},
|
|
3028
3046
|
{
|
|
3029
3047
|
"kind": "javascript-module",
|
|
3030
|
-
"path": "src/ai-
|
|
3048
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3031
3049
|
"declarations": [
|
|
3032
3050
|
{
|
|
3033
3051
|
"kind": "variable",
|
|
3034
|
-
"name": "
|
|
3052
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3035
3053
|
"type": {
|
|
3036
|
-
"text": "ViewTemplate<
|
|
3054
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3037
3055
|
},
|
|
3038
|
-
"default": "html`\n ${(x) =>
|
|
3056
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3039
3057
|
}
|
|
3040
3058
|
],
|
|
3041
3059
|
"exports": [
|
|
3042
3060
|
{
|
|
3043
3061
|
"kind": "js",
|
|
3044
|
-
"name": "
|
|
3062
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3045
3063
|
"declaration": {
|
|
3046
|
-
"name": "
|
|
3047
|
-
"module": "src/ai-
|
|
3064
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3065
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3048
3066
|
}
|
|
3049
3067
|
}
|
|
3050
3068
|
]
|
|
3051
3069
|
},
|
|
3052
3070
|
{
|
|
3053
3071
|
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/ai-
|
|
3072
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3055
3073
|
"declarations": [
|
|
3056
3074
|
{
|
|
3057
3075
|
"kind": "class",
|
|
3058
|
-
"description": "
|
|
3059
|
-
"name": "
|
|
3076
|
+
"description": "",
|
|
3077
|
+
"name": "AiIndicator",
|
|
3060
3078
|
"members": [
|
|
3061
3079
|
{
|
|
3062
3080
|
"kind": "field",
|
|
3063
|
-
"name": "providerRegistry",
|
|
3064
|
-
"type": {
|
|
3065
|
-
"text": "AIProviderRegistry"
|
|
3066
|
-
}
|
|
3067
|
-
},
|
|
3068
|
-
{
|
|
3069
|
-
"kind": "field",
|
|
3070
|
-
"name": "placeholder",
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "string"
|
|
3073
|
-
},
|
|
3074
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "field",
|
|
3078
|
-
"name": "disabled",
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "boolean"
|
|
3081
|
-
}
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "field",
|
|
3085
|
-
"name": "inputValue",
|
|
3081
|
+
"name": "providerRegistry",
|
|
3086
3082
|
"type": {
|
|
3087
|
-
"text": "
|
|
3088
|
-
}
|
|
3089
|
-
"default": "''"
|
|
3083
|
+
"text": "AIProviderRegistry"
|
|
3084
|
+
}
|
|
3090
3085
|
},
|
|
3091
3086
|
{
|
|
3092
3087
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
3088
|
+
"name": "aiProvider",
|
|
3094
3089
|
"type": {
|
|
3095
|
-
"text": "
|
|
3090
|
+
"text": "AIProvider | undefined"
|
|
3096
3091
|
},
|
|
3097
|
-
"
|
|
3092
|
+
"privacy": "private",
|
|
3093
|
+
"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.",
|
|
3094
|
+
"readonly": true
|
|
3098
3095
|
},
|
|
3099
3096
|
{
|
|
3100
3097
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3098
|
+
"name": "status",
|
|
3102
3099
|
"type": {
|
|
3103
|
-
"text": "
|
|
3100
|
+
"text": "AIStatus | null"
|
|
3104
3101
|
},
|
|
3105
3102
|
"default": "null"
|
|
3106
3103
|
},
|
|
3107
3104
|
{
|
|
3108
3105
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
3110
|
-
"type": {
|
|
3111
|
-
"text": "CriteriaGroup[]"
|
|
3112
|
-
},
|
|
3113
|
-
"default": "[]"
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
"kind": "field",
|
|
3117
|
-
"name": "showingChips",
|
|
3106
|
+
"name": "open",
|
|
3118
3107
|
"type": {
|
|
3119
3108
|
"text": "boolean"
|
|
3120
3109
|
},
|
|
@@ -3122,15 +3111,15 @@
|
|
|
3122
3111
|
},
|
|
3123
3112
|
{
|
|
3124
3113
|
"kind": "field",
|
|
3125
|
-
"name": "
|
|
3114
|
+
"name": "state",
|
|
3126
3115
|
"type": {
|
|
3127
|
-
"text": "
|
|
3116
|
+
"text": "AIIndicatorState"
|
|
3128
3117
|
},
|
|
3129
|
-
"default": "
|
|
3118
|
+
"default": "'none'"
|
|
3130
3119
|
},
|
|
3131
3120
|
{
|
|
3132
3121
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3122
|
+
"name": "isInstalling",
|
|
3134
3123
|
"type": {
|
|
3135
3124
|
"text": "boolean"
|
|
3136
3125
|
},
|
|
@@ -3138,33 +3127,29 @@
|
|
|
3138
3127
|
},
|
|
3139
3128
|
{
|
|
3140
3129
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
3130
|
+
"name": "pollTimer",
|
|
3142
3131
|
"type": {
|
|
3143
|
-
"text": "
|
|
3132
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3144
3133
|
},
|
|
3145
|
-
"privacy": "
|
|
3134
|
+
"privacy": "private",
|
|
3135
|
+
"default": "null"
|
|
3146
3136
|
},
|
|
3147
3137
|
{
|
|
3148
3138
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3150
|
-
"
|
|
3151
|
-
"text": "(() => void) | null"
|
|
3152
|
-
},
|
|
3153
|
-
"privacy": "private",
|
|
3154
|
-
"default": "null"
|
|
3139
|
+
"name": "clickOutside",
|
|
3140
|
+
"privacy": "private"
|
|
3155
3141
|
},
|
|
3156
3142
|
{
|
|
3157
3143
|
"kind": "field",
|
|
3158
|
-
"name": "
|
|
3144
|
+
"name": "chromeStatusLabel",
|
|
3159
3145
|
"type": {
|
|
3160
|
-
"text": "
|
|
3146
|
+
"text": "string | null"
|
|
3161
3147
|
},
|
|
3162
|
-
"
|
|
3163
|
-
"default": "null"
|
|
3148
|
+
"readonly": true
|
|
3164
3149
|
},
|
|
3165
3150
|
{
|
|
3166
3151
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3152
|
+
"name": "canInstall",
|
|
3168
3153
|
"type": {
|
|
3169
3154
|
"text": "boolean"
|
|
3170
3155
|
},
|
|
@@ -3172,65 +3157,69 @@
|
|
|
3172
3157
|
},
|
|
3173
3158
|
{
|
|
3174
3159
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3160
|
+
"name": "isDownloading",
|
|
3176
3161
|
"type": {
|
|
3177
|
-
"text": "
|
|
3162
|
+
"text": "boolean"
|
|
3178
3163
|
},
|
|
3179
3164
|
"readonly": true
|
|
3180
3165
|
},
|
|
3181
3166
|
{
|
|
3182
3167
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3184
|
-
"privacy": "private",
|
|
3168
|
+
"name": "openChanged",
|
|
3185
3169
|
"return": {
|
|
3186
3170
|
"type": {
|
|
3187
|
-
"text": "
|
|
3171
|
+
"text": "void"
|
|
3188
3172
|
}
|
|
3189
|
-
}
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"kind": "method",
|
|
3177
|
+
"name": "handleClickOutside",
|
|
3178
|
+
"privacy": "private",
|
|
3190
3179
|
"parameters": [
|
|
3191
3180
|
{
|
|
3192
|
-
"name": "
|
|
3181
|
+
"name": "event",
|
|
3193
3182
|
"type": {
|
|
3194
|
-
"text": "
|
|
3183
|
+
"text": "MouseEvent"
|
|
3195
3184
|
}
|
|
3196
3185
|
}
|
|
3197
3186
|
]
|
|
3198
3187
|
},
|
|
3199
3188
|
{
|
|
3200
3189
|
"kind": "method",
|
|
3201
|
-
"name": "
|
|
3190
|
+
"name": "toggleDropdown"
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "method",
|
|
3194
|
+
"name": "refreshStatus",
|
|
3202
3195
|
"return": {
|
|
3203
3196
|
"type": {
|
|
3204
|
-
"text": "void"
|
|
3197
|
+
"text": "Promise<void>"
|
|
3205
3198
|
}
|
|
3206
3199
|
}
|
|
3207
3200
|
},
|
|
3208
3201
|
{
|
|
3209
3202
|
"kind": "method",
|
|
3210
|
-
"name": "
|
|
3203
|
+
"name": "deriveState",
|
|
3204
|
+
"privacy": "private",
|
|
3211
3205
|
"return": {
|
|
3212
3206
|
"type": {
|
|
3213
|
-
"text": "
|
|
3207
|
+
"text": "AIIndicatorState"
|
|
3214
3208
|
}
|
|
3215
3209
|
},
|
|
3216
3210
|
"parameters": [
|
|
3217
3211
|
{
|
|
3218
|
-
"name": "
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "number"
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"name": "clauseIndex",
|
|
3212
|
+
"name": "s",
|
|
3225
3213
|
"type": {
|
|
3226
|
-
"text": "
|
|
3214
|
+
"text": "AIStatus | null"
|
|
3227
3215
|
}
|
|
3228
3216
|
}
|
|
3229
3217
|
]
|
|
3230
3218
|
},
|
|
3231
3219
|
{
|
|
3232
3220
|
"kind": "method",
|
|
3233
|
-
"name": "
|
|
3221
|
+
"name": "maybeStartPolling",
|
|
3222
|
+
"privacy": "private",
|
|
3234
3223
|
"return": {
|
|
3235
3224
|
"type": {
|
|
3236
3225
|
"text": "void"
|
|
@@ -3239,24 +3228,32 @@
|
|
|
3239
3228
|
},
|
|
3240
3229
|
{
|
|
3241
3230
|
"kind": "method",
|
|
3242
|
-
"name": "
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
"kind": "method",
|
|
3250
|
-
"name": "clear"
|
|
3231
|
+
"name": "startPolling",
|
|
3232
|
+
"privacy": "private",
|
|
3233
|
+
"return": {
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "void"
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3251
3238
|
},
|
|
3252
3239
|
{
|
|
3253
3240
|
"kind": "method",
|
|
3254
|
-
"name": "
|
|
3241
|
+
"name": "stopPolling",
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"return": {
|
|
3244
|
+
"type": {
|
|
3245
|
+
"text": "void"
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3255
3248
|
},
|
|
3256
3249
|
{
|
|
3257
3250
|
"kind": "method",
|
|
3258
|
-
"name": "
|
|
3259
|
-
"
|
|
3251
|
+
"name": "onInstall",
|
|
3252
|
+
"return": {
|
|
3253
|
+
"type": {
|
|
3254
|
+
"text": "Promise<void>"
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
3260
3257
|
},
|
|
3261
3258
|
{
|
|
3262
3259
|
"kind": "field",
|
|
@@ -3370,320 +3367,145 @@
|
|
|
3370
3367
|
}
|
|
3371
3368
|
}
|
|
3372
3369
|
],
|
|
3373
|
-
"events": [
|
|
3374
|
-
{
|
|
3375
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
-
"name": "criteria-changed"
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
-
"name": "validation-errors"
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"attributes": [
|
|
3384
|
-
{
|
|
3385
|
-
"name": "placeholder",
|
|
3386
|
-
"type": {
|
|
3387
|
-
"text": "string"
|
|
3388
|
-
},
|
|
3389
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
-
"fieldName": "placeholder"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
},
|
|
3396
|
-
"fieldName": "disabled"
|
|
3397
|
-
}
|
|
3398
|
-
],
|
|
3399
3370
|
"superclass": {
|
|
3400
3371
|
"name": "FoundationElement",
|
|
3401
3372
|
"package": "@microsoft/fast-foundation"
|
|
3402
3373
|
},
|
|
3403
|
-
"tagName": "%%prefix%%-ai-
|
|
3374
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3404
3375
|
"customElement": true
|
|
3405
3376
|
},
|
|
3406
3377
|
{
|
|
3407
3378
|
"kind": "variable",
|
|
3408
|
-
"name": "
|
|
3409
|
-
"type": {
|
|
3410
|
-
"text": "ShadowRootInit"
|
|
3411
|
-
},
|
|
3412
|
-
"default": "undefined"
|
|
3413
|
-
},
|
|
3414
|
-
{
|
|
3415
|
-
"kind": "variable",
|
|
3416
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3417
|
-
"type": {
|
|
3418
|
-
"text": "object"
|
|
3419
|
-
},
|
|
3420
|
-
"default": "{}"
|
|
3421
|
-
},
|
|
3422
|
-
{
|
|
3423
|
-
"kind": "variable",
|
|
3424
|
-
"name": "foundationAiCriteriaSearch"
|
|
3379
|
+
"name": "foundationAiIndicator"
|
|
3425
3380
|
}
|
|
3426
3381
|
],
|
|
3427
3382
|
"exports": [
|
|
3428
3383
|
{
|
|
3429
3384
|
"kind": "js",
|
|
3430
|
-
"name": "
|
|
3431
|
-
"declaration": {
|
|
3432
|
-
"name": "AiCriteriaSearch",
|
|
3433
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3434
|
-
}
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"kind": "js",
|
|
3438
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3439
|
-
"declaration": {
|
|
3440
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
|
-
{
|
|
3445
|
-
"kind": "js",
|
|
3446
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3385
|
+
"name": "AiIndicator",
|
|
3447
3386
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/ai-
|
|
3387
|
+
"name": "AiIndicator",
|
|
3388
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3450
3389
|
}
|
|
3451
3390
|
},
|
|
3452
3391
|
{
|
|
3453
3392
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3393
|
+
"name": "foundationAiIndicator",
|
|
3455
3394
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/ai-
|
|
3395
|
+
"name": "foundationAiIndicator",
|
|
3396
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3458
3397
|
}
|
|
3459
3398
|
}
|
|
3460
3399
|
]
|
|
3461
3400
|
},
|
|
3462
3401
|
{
|
|
3463
3402
|
"kind": "javascript-module",
|
|
3464
|
-
"path": "src/ai-
|
|
3403
|
+
"path": "src/ai-indicator/index.ts",
|
|
3465
3404
|
"declarations": [],
|
|
3466
3405
|
"exports": [
|
|
3467
3406
|
{
|
|
3468
3407
|
"kind": "js",
|
|
3469
|
-
"name": "
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "AiCriteriaSearch",
|
|
3472
|
-
"module": "./ai-criteria-search"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "js",
|
|
3477
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
-
"declaration": {
|
|
3479
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
-
"module": "./ai-criteria-search"
|
|
3481
|
-
}
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"kind": "js",
|
|
3485
|
-
"name": "foundationAiCriteriaSearch",
|
|
3486
|
-
"declaration": {
|
|
3487
|
-
"name": "foundationAiCriteriaSearch",
|
|
3488
|
-
"module": "./ai-criteria-search"
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
-
"module": "./ai-criteria-search"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
-
"module": "./ai-criteria-search.styles"
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "js",
|
|
3509
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3408
|
+
"name": "AiIndicator",
|
|
3510
3409
|
"declaration": {
|
|
3511
|
-
"name": "
|
|
3512
|
-
"module": "./ai-
|
|
3410
|
+
"name": "AiIndicator",
|
|
3411
|
+
"module": "./ai-indicator"
|
|
3513
3412
|
}
|
|
3514
3413
|
},
|
|
3515
3414
|
{
|
|
3516
3415
|
"kind": "js",
|
|
3517
|
-
"name": "
|
|
3416
|
+
"name": "foundationAiIndicator",
|
|
3518
3417
|
"declaration": {
|
|
3519
|
-
"name": "
|
|
3520
|
-
"
|
|
3418
|
+
"name": "foundationAiIndicator",
|
|
3419
|
+
"module": "./ai-indicator"
|
|
3521
3420
|
}
|
|
3522
3421
|
},
|
|
3523
3422
|
{
|
|
3524
3423
|
"kind": "js",
|
|
3525
|
-
"name": "
|
|
3424
|
+
"name": "type",
|
|
3526
3425
|
"declaration": {
|
|
3527
|
-
"name": "
|
|
3528
|
-
"
|
|
3426
|
+
"name": "type",
|
|
3427
|
+
"module": "./ai-indicator"
|
|
3529
3428
|
}
|
|
3530
3429
|
},
|
|
3531
3430
|
{
|
|
3532
3431
|
"kind": "js",
|
|
3533
|
-
"name": "
|
|
3432
|
+
"name": "AIIndicatorState",
|
|
3534
3433
|
"declaration": {
|
|
3535
|
-
"name": "
|
|
3536
|
-
"
|
|
3434
|
+
"name": "AIIndicatorState",
|
|
3435
|
+
"module": "./ai-indicator"
|
|
3537
3436
|
}
|
|
3538
|
-
}
|
|
3539
|
-
]
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
"kind": "javascript-module",
|
|
3543
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
-
"declarations": [
|
|
3545
|
-
{
|
|
3546
|
-
"kind": "function",
|
|
3547
|
-
"name": "formatValidationErrors",
|
|
3548
|
-
"return": {
|
|
3549
|
-
"type": {
|
|
3550
|
-
"text": "string"
|
|
3551
|
-
}
|
|
3552
|
-
},
|
|
3553
|
-
"parameters": [
|
|
3554
|
-
{
|
|
3555
|
-
"name": "errors",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "ValidationError[]"
|
|
3558
|
-
}
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3562
3437
|
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "function",
|
|
3565
|
-
"name": "showCriteriaError",
|
|
3566
|
-
"return": {
|
|
3567
|
-
"type": {
|
|
3568
|
-
"text": "void"
|
|
3569
|
-
}
|
|
3570
|
-
},
|
|
3571
|
-
"parameters": [
|
|
3572
|
-
{
|
|
3573
|
-
"name": "title",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "string"
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"name": "body",
|
|
3581
|
-
"type": {
|
|
3582
|
-
"text": "string"
|
|
3583
|
-
},
|
|
3584
|
-
"description": "Error message to display"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"name": "tagName",
|
|
3588
|
-
"type": {
|
|
3589
|
-
"text": "string"
|
|
3590
|
-
},
|
|
3591
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
-
}
|
|
3593
|
-
],
|
|
3594
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
3438
|
{
|
|
3599
3439
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3601
3441
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "
|
|
3442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3443
|
+
"module": "./ai-indicator.template"
|
|
3604
3444
|
}
|
|
3605
3445
|
},
|
|
3606
3446
|
{
|
|
3607
3447
|
"kind": "js",
|
|
3608
|
-
"name": "
|
|
3448
|
+
"name": "foundationAiIndicatorStyles",
|
|
3609
3449
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"module": "
|
|
3450
|
+
"name": "foundationAiIndicatorStyles",
|
|
3451
|
+
"module": "./ai-indicator.styles"
|
|
3612
3452
|
}
|
|
3613
3453
|
}
|
|
3614
3454
|
]
|
|
3615
3455
|
},
|
|
3616
3456
|
{
|
|
3617
3457
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/ai-
|
|
3458
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3619
3459
|
"declarations": [
|
|
3620
3460
|
{
|
|
3621
|
-
"kind": "
|
|
3622
|
-
"name": "
|
|
3623
|
-
"
|
|
3624
|
-
"type": {
|
|
3625
|
-
"text": "ElementStyles"
|
|
3626
|
-
}
|
|
3627
|
-
},
|
|
3628
|
-
"parameters": [
|
|
3629
|
-
{
|
|
3630
|
-
"name": "context",
|
|
3631
|
-
"type": {
|
|
3632
|
-
"text": "ElementDefinitionContext"
|
|
3633
|
-
}
|
|
3634
|
-
},
|
|
3635
|
-
{
|
|
3636
|
-
"name": "definition",
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "FoundationElementDefinition"
|
|
3639
|
-
}
|
|
3640
|
-
}
|
|
3641
|
-
]
|
|
3461
|
+
"kind": "variable",
|
|
3462
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3463
|
+
"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`"
|
|
3642
3464
|
}
|
|
3643
3465
|
],
|
|
3644
3466
|
"exports": [
|
|
3645
3467
|
{
|
|
3646
3468
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3469
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3648
3470
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/ai-
|
|
3471
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3472
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3651
3473
|
}
|
|
3652
3474
|
}
|
|
3653
3475
|
]
|
|
3654
3476
|
},
|
|
3655
3477
|
{
|
|
3656
3478
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/ai-
|
|
3479
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3658
3480
|
"declarations": [
|
|
3659
3481
|
{
|
|
3660
3482
|
"kind": "variable",
|
|
3661
|
-
"name": "
|
|
3483
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3662
3484
|
"type": {
|
|
3663
|
-
"text": "ViewTemplate<
|
|
3485
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3664
3486
|
},
|
|
3665
|
-
"default": "html`\n ${(x) =>
|
|
3487
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3666
3488
|
}
|
|
3667
3489
|
],
|
|
3668
3490
|
"exports": [
|
|
3669
3491
|
{
|
|
3670
3492
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
3493
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3672
3494
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/ai-
|
|
3495
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3496
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3675
3497
|
}
|
|
3676
3498
|
}
|
|
3677
3499
|
]
|
|
3678
3500
|
},
|
|
3679
3501
|
{
|
|
3680
3502
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/ai-
|
|
3503
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3682
3504
|
"declarations": [
|
|
3683
3505
|
{
|
|
3684
3506
|
"kind": "class",
|
|
3685
|
-
"description": "",
|
|
3686
|
-
"name": "
|
|
3507
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3508
|
+
"name": "AiCriteriaSearch",
|
|
3687
3509
|
"members": [
|
|
3688
3510
|
{
|
|
3689
3511
|
"kind": "field",
|
|
@@ -3694,25 +3516,54 @@
|
|
|
3694
3516
|
},
|
|
3695
3517
|
{
|
|
3696
3518
|
"kind": "field",
|
|
3697
|
-
"name": "
|
|
3519
|
+
"name": "placeholder",
|
|
3698
3520
|
"type": {
|
|
3699
|
-
"text": "
|
|
3521
|
+
"text": "string"
|
|
3700
3522
|
},
|
|
3701
|
-
"
|
|
3702
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
-
"readonly": true
|
|
3523
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3704
3524
|
},
|
|
3705
3525
|
{
|
|
3706
3526
|
"kind": "field",
|
|
3707
|
-
"name": "
|
|
3527
|
+
"name": "disabled",
|
|
3708
3528
|
"type": {
|
|
3709
|
-
"text": "
|
|
3529
|
+
"text": "boolean"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"kind": "field",
|
|
3534
|
+
"name": "inputValue",
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "string"
|
|
3537
|
+
},
|
|
3538
|
+
"default": "''"
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"kind": "field",
|
|
3542
|
+
"name": "isInterpreting",
|
|
3543
|
+
"type": {
|
|
3544
|
+
"text": "boolean"
|
|
3545
|
+
},
|
|
3546
|
+
"default": "false"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "field",
|
|
3550
|
+
"name": "lastValidCriteria",
|
|
3551
|
+
"type": {
|
|
3552
|
+
"text": "string | null"
|
|
3710
3553
|
},
|
|
3711
3554
|
"default": "null"
|
|
3712
3555
|
},
|
|
3713
3556
|
{
|
|
3714
3557
|
"kind": "field",
|
|
3715
|
-
"name": "
|
|
3558
|
+
"name": "activeGroups",
|
|
3559
|
+
"type": {
|
|
3560
|
+
"text": "CriteriaGroup[]"
|
|
3561
|
+
},
|
|
3562
|
+
"default": "[]"
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
"kind": "field",
|
|
3566
|
+
"name": "showingChips",
|
|
3716
3567
|
"type": {
|
|
3717
3568
|
"text": "boolean"
|
|
3718
3569
|
},
|
|
@@ -3720,15 +3571,15 @@
|
|
|
3720
3571
|
},
|
|
3721
3572
|
{
|
|
3722
3573
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3574
|
+
"name": "fieldMetadata",
|
|
3724
3575
|
"type": {
|
|
3725
|
-
"text": "
|
|
3576
|
+
"text": "MetadataDetail[] | string[]"
|
|
3726
3577
|
},
|
|
3727
|
-
"default": "
|
|
3578
|
+
"default": "[]"
|
|
3728
3579
|
},
|
|
3729
3580
|
{
|
|
3730
3581
|
"kind": "field",
|
|
3731
|
-
"name": "
|
|
3582
|
+
"name": "isRecording",
|
|
3732
3583
|
"type": {
|
|
3733
3584
|
"text": "boolean"
|
|
3734
3585
|
},
|
|
@@ -3736,29 +3587,33 @@
|
|
|
3736
3587
|
},
|
|
3737
3588
|
{
|
|
3738
3589
|
"kind": "field",
|
|
3739
|
-
"name": "
|
|
3590
|
+
"name": "textAreaRef",
|
|
3740
3591
|
"type": {
|
|
3741
|
-
"text": "
|
|
3592
|
+
"text": "HTMLTextAreaElement"
|
|
3742
3593
|
},
|
|
3743
|
-
"privacy": "
|
|
3744
|
-
"default": "null"
|
|
3594
|
+
"privacy": "public"
|
|
3745
3595
|
},
|
|
3746
3596
|
{
|
|
3747
3597
|
"kind": "field",
|
|
3748
|
-
"name": "
|
|
3749
|
-
"
|
|
3598
|
+
"name": "stopRecording",
|
|
3599
|
+
"type": {
|
|
3600
|
+
"text": "(() => void) | null"
|
|
3601
|
+
},
|
|
3602
|
+
"privacy": "private",
|
|
3603
|
+
"default": "null"
|
|
3750
3604
|
},
|
|
3751
3605
|
{
|
|
3752
3606
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3607
|
+
"name": "speechApplyDebounceTimer",
|
|
3754
3608
|
"type": {
|
|
3755
|
-
"text": "
|
|
3609
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3756
3610
|
},
|
|
3757
|
-
"
|
|
3611
|
+
"privacy": "private",
|
|
3612
|
+
"default": "null"
|
|
3758
3613
|
},
|
|
3759
3614
|
{
|
|
3760
3615
|
"kind": "field",
|
|
3761
|
-
"name": "
|
|
3616
|
+
"name": "speechAvailable",
|
|
3762
3617
|
"type": {
|
|
3763
3618
|
"text": "boolean"
|
|
3764
3619
|
},
|
|
@@ -3766,69 +3621,65 @@
|
|
|
3766
3621
|
},
|
|
3767
3622
|
{
|
|
3768
3623
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3624
|
+
"name": "criteriaChips",
|
|
3770
3625
|
"type": {
|
|
3771
|
-
"text": "
|
|
3626
|
+
"text": "CriteriaChip[]"
|
|
3772
3627
|
},
|
|
3773
3628
|
"readonly": true
|
|
3774
3629
|
},
|
|
3775
3630
|
{
|
|
3776
3631
|
"kind": "method",
|
|
3777
|
-
"name": "
|
|
3632
|
+
"name": "getFieldLabel",
|
|
3633
|
+
"privacy": "private",
|
|
3778
3634
|
"return": {
|
|
3779
3635
|
"type": {
|
|
3780
|
-
"text": "
|
|
3636
|
+
"text": "string"
|
|
3781
3637
|
}
|
|
3782
|
-
}
|
|
3783
|
-
},
|
|
3784
|
-
{
|
|
3785
|
-
"kind": "method",
|
|
3786
|
-
"name": "handleClickOutside",
|
|
3787
|
-
"privacy": "private",
|
|
3638
|
+
},
|
|
3788
3639
|
"parameters": [
|
|
3789
3640
|
{
|
|
3790
|
-
"name": "
|
|
3641
|
+
"name": "fieldName",
|
|
3791
3642
|
"type": {
|
|
3792
|
-
"text": "
|
|
3643
|
+
"text": "string"
|
|
3793
3644
|
}
|
|
3794
3645
|
}
|
|
3795
3646
|
]
|
|
3796
3647
|
},
|
|
3797
3648
|
{
|
|
3798
3649
|
"kind": "method",
|
|
3799
|
-
"name": "
|
|
3800
|
-
},
|
|
3801
|
-
{
|
|
3802
|
-
"kind": "method",
|
|
3803
|
-
"name": "refreshStatus",
|
|
3650
|
+
"name": "toggleCriteriaView",
|
|
3804
3651
|
"return": {
|
|
3805
3652
|
"type": {
|
|
3806
|
-
"text": "
|
|
3653
|
+
"text": "void"
|
|
3807
3654
|
}
|
|
3808
3655
|
}
|
|
3809
3656
|
},
|
|
3810
3657
|
{
|
|
3811
3658
|
"kind": "method",
|
|
3812
|
-
"name": "
|
|
3813
|
-
"privacy": "private",
|
|
3659
|
+
"name": "removeChip",
|
|
3814
3660
|
"return": {
|
|
3815
3661
|
"type": {
|
|
3816
|
-
"text": "
|
|
3662
|
+
"text": "void"
|
|
3817
3663
|
}
|
|
3818
3664
|
},
|
|
3819
3665
|
"parameters": [
|
|
3820
3666
|
{
|
|
3821
|
-
"name": "
|
|
3667
|
+
"name": "groupIndex",
|
|
3822
3668
|
"type": {
|
|
3823
|
-
"text": "
|
|
3669
|
+
"text": "number"
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"name": "clauseIndex",
|
|
3674
|
+
"type": {
|
|
3675
|
+
"text": "number"
|
|
3824
3676
|
}
|
|
3825
3677
|
}
|
|
3826
3678
|
]
|
|
3827
3679
|
},
|
|
3828
3680
|
{
|
|
3829
3681
|
"kind": "method",
|
|
3830
|
-
"name": "
|
|
3831
|
-
"privacy": "private",
|
|
3682
|
+
"name": "clearChips",
|
|
3832
3683
|
"return": {
|
|
3833
3684
|
"type": {
|
|
3834
3685
|
"text": "void"
|
|
@@ -3837,32 +3688,24 @@
|
|
|
3837
3688
|
},
|
|
3838
3689
|
{
|
|
3839
3690
|
"kind": "method",
|
|
3840
|
-
"name": "
|
|
3841
|
-
"privacy": "private",
|
|
3842
|
-
"return": {
|
|
3843
|
-
"type": {
|
|
3844
|
-
"text": "void"
|
|
3845
|
-
}
|
|
3846
|
-
}
|
|
3691
|
+
"name": "handleSubmit"
|
|
3847
3692
|
},
|
|
3848
3693
|
{
|
|
3849
3694
|
"kind": "method",
|
|
3850
|
-
"name": "
|
|
3851
|
-
"privacy": "private",
|
|
3852
|
-
"return": {
|
|
3853
|
-
"type": {
|
|
3854
|
-
"text": "void"
|
|
3855
|
-
}
|
|
3856
|
-
}
|
|
3695
|
+
"name": "handleBlur"
|
|
3857
3696
|
},
|
|
3858
3697
|
{
|
|
3859
3698
|
"kind": "method",
|
|
3860
|
-
"name": "
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3699
|
+
"name": "clear"
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
"kind": "method",
|
|
3703
|
+
"name": "toggleSpeechInput"
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"kind": "method",
|
|
3707
|
+
"name": "clearSpeechApplyDebounce",
|
|
3708
|
+
"privacy": "private"
|
|
3866
3709
|
},
|
|
3867
3710
|
{
|
|
3868
3711
|
"kind": "field",
|
|
@@ -3976,88 +3819,245 @@
|
|
|
3976
3819
|
}
|
|
3977
3820
|
}
|
|
3978
3821
|
],
|
|
3822
|
+
"events": [
|
|
3823
|
+
{
|
|
3824
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3825
|
+
"name": "criteria-changed"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3829
|
+
"name": "validation-errors"
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"attributes": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "placeholder",
|
|
3835
|
+
"type": {
|
|
3836
|
+
"text": "string"
|
|
3837
|
+
},
|
|
3838
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3839
|
+
"fieldName": "placeholder"
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "boolean"
|
|
3844
|
+
},
|
|
3845
|
+
"fieldName": "disabled"
|
|
3846
|
+
}
|
|
3847
|
+
],
|
|
3979
3848
|
"superclass": {
|
|
3980
3849
|
"name": "FoundationElement",
|
|
3981
3850
|
"package": "@microsoft/fast-foundation"
|
|
3982
3851
|
},
|
|
3983
|
-
"tagName": "%%prefix%%-ai-
|
|
3852
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3984
3853
|
"customElement": true
|
|
3985
3854
|
},
|
|
3986
3855
|
{
|
|
3987
3856
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
3857
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3858
|
+
"type": {
|
|
3859
|
+
"text": "ShadowRootInit"
|
|
3860
|
+
},
|
|
3861
|
+
"default": "undefined"
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "variable",
|
|
3865
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3866
|
+
"type": {
|
|
3867
|
+
"text": "object"
|
|
3868
|
+
},
|
|
3869
|
+
"default": "{}"
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
"kind": "variable",
|
|
3873
|
+
"name": "foundationAiCriteriaSearch"
|
|
3989
3874
|
}
|
|
3990
3875
|
],
|
|
3991
3876
|
"exports": [
|
|
3992
3877
|
{
|
|
3993
3878
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
3879
|
+
"name": "AiCriteriaSearch",
|
|
3995
3880
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/ai-
|
|
3881
|
+
"name": "AiCriteriaSearch",
|
|
3882
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3998
3883
|
}
|
|
3999
3884
|
},
|
|
4000
3885
|
{
|
|
4001
3886
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
3887
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4003
3888
|
"declaration": {
|
|
4004
|
-
"name": "
|
|
4005
|
-
"module": "src/ai-
|
|
3889
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3890
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3891
|
+
}
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "js",
|
|
3895
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3896
|
+
"declaration": {
|
|
3897
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3898
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"kind": "js",
|
|
3903
|
+
"name": "foundationAiCriteriaSearch",
|
|
3904
|
+
"declaration": {
|
|
3905
|
+
"name": "foundationAiCriteriaSearch",
|
|
3906
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
4006
3907
|
}
|
|
4007
3908
|
}
|
|
4008
3909
|
]
|
|
4009
3910
|
},
|
|
4010
3911
|
{
|
|
4011
3912
|
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/ai-
|
|
3913
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
4013
3914
|
"declarations": [],
|
|
4014
3915
|
"exports": [
|
|
4015
3916
|
{
|
|
4016
3917
|
"kind": "js",
|
|
4017
|
-
"name": "
|
|
3918
|
+
"name": "AiCriteriaSearch",
|
|
4018
3919
|
"declaration": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "./ai-
|
|
3920
|
+
"name": "AiCriteriaSearch",
|
|
3921
|
+
"module": "./ai-criteria-search"
|
|
4021
3922
|
}
|
|
4022
3923
|
},
|
|
4023
3924
|
{
|
|
4024
3925
|
"kind": "js",
|
|
4025
|
-
"name": "
|
|
3926
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
4026
3927
|
"declaration": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "./ai-
|
|
3928
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3929
|
+
"module": "./ai-criteria-search"
|
|
4029
3930
|
}
|
|
4030
3931
|
},
|
|
4031
3932
|
{
|
|
4032
3933
|
"kind": "js",
|
|
4033
|
-
"name": "
|
|
3934
|
+
"name": "foundationAiCriteriaSearch",
|
|
4034
3935
|
"declaration": {
|
|
4035
|
-
"name": "
|
|
4036
|
-
"module": "./ai-
|
|
3936
|
+
"name": "foundationAiCriteriaSearch",
|
|
3937
|
+
"module": "./ai-criteria-search"
|
|
4037
3938
|
}
|
|
4038
3939
|
},
|
|
4039
3940
|
{
|
|
4040
3941
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
3942
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
4042
3943
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"module": "./ai-
|
|
3944
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3945
|
+
"module": "./ai-criteria-search"
|
|
4045
3946
|
}
|
|
4046
3947
|
},
|
|
4047
3948
|
{
|
|
4048
3949
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
4050
3951
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"module": "./ai-
|
|
3952
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3953
|
+
"module": "./ai-criteria-search.styles"
|
|
4053
3954
|
}
|
|
4054
3955
|
},
|
|
4055
3956
|
{
|
|
4056
3957
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
3958
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
4058
3959
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"module": "./ai-
|
|
3960
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3961
|
+
"module": "./ai-criteria-search.template"
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "js",
|
|
3966
|
+
"name": "*",
|
|
3967
|
+
"declaration": {
|
|
3968
|
+
"name": "*",
|
|
3969
|
+
"package": "./validation/criteria-ir"
|
|
3970
|
+
}
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"kind": "js",
|
|
3974
|
+
"name": "*",
|
|
3975
|
+
"declaration": {
|
|
3976
|
+
"name": "*",
|
|
3977
|
+
"package": "./validation/operator-map"
|
|
3978
|
+
}
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
"kind": "js",
|
|
3982
|
+
"name": "*",
|
|
3983
|
+
"declaration": {
|
|
3984
|
+
"name": "*",
|
|
3985
|
+
"package": "./validation/schema-validator"
|
|
3986
|
+
}
|
|
3987
|
+
}
|
|
3988
|
+
]
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"kind": "javascript-module",
|
|
3992
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3993
|
+
"declarations": [
|
|
3994
|
+
{
|
|
3995
|
+
"kind": "function",
|
|
3996
|
+
"name": "formatValidationErrors",
|
|
3997
|
+
"return": {
|
|
3998
|
+
"type": {
|
|
3999
|
+
"text": "string"
|
|
4000
|
+
}
|
|
4001
|
+
},
|
|
4002
|
+
"parameters": [
|
|
4003
|
+
{
|
|
4004
|
+
"name": "errors",
|
|
4005
|
+
"type": {
|
|
4006
|
+
"text": "ValidationError[]"
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
],
|
|
4010
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "function",
|
|
4014
|
+
"name": "showCriteriaError",
|
|
4015
|
+
"return": {
|
|
4016
|
+
"type": {
|
|
4017
|
+
"text": "void"
|
|
4018
|
+
}
|
|
4019
|
+
},
|
|
4020
|
+
"parameters": [
|
|
4021
|
+
{
|
|
4022
|
+
"name": "title",
|
|
4023
|
+
"type": {
|
|
4024
|
+
"text": "string"
|
|
4025
|
+
},
|
|
4026
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "body",
|
|
4030
|
+
"type": {
|
|
4031
|
+
"text": "string"
|
|
4032
|
+
},
|
|
4033
|
+
"description": "Error message to display"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
"name": "tagName",
|
|
4037
|
+
"type": {
|
|
4038
|
+
"text": "string"
|
|
4039
|
+
},
|
|
4040
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
4041
|
+
}
|
|
4042
|
+
],
|
|
4043
|
+
"description": "Shows a criteria error as a toast notification."
|
|
4044
|
+
}
|
|
4045
|
+
],
|
|
4046
|
+
"exports": [
|
|
4047
|
+
{
|
|
4048
|
+
"kind": "js",
|
|
4049
|
+
"name": "formatValidationErrors",
|
|
4050
|
+
"declaration": {
|
|
4051
|
+
"name": "formatValidationErrors",
|
|
4052
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "js",
|
|
4057
|
+
"name": "showCriteriaError",
|
|
4058
|
+
"declaration": {
|
|
4059
|
+
"name": "showCriteriaError",
|
|
4060
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|