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