@genesislcap/foundation-ui 15.27.1 → 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 +795 -795
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +9 -9
- 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,7 +2034,7 @@
|
|
|
1913
2034
|
"name": "*",
|
|
1914
2035
|
"declaration": {
|
|
1915
2036
|
"name": "*",
|
|
1916
|
-
"package": "./accordion
|
|
2037
|
+
"package": "./accordion"
|
|
1917
2038
|
}
|
|
1918
2039
|
}
|
|
1919
2040
|
]
|
|
@@ -2491,57 +2612,75 @@
|
|
|
2491
2612
|
},
|
|
2492
2613
|
{
|
|
2493
2614
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/ai-
|
|
2615
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2495
2616
|
"declarations": [
|
|
2496
2617
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2618
|
+
"kind": "function",
|
|
2619
|
+
"name": "foundationAiIndicatorStyles",
|
|
2620
|
+
"return": {
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "ElementStyles"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
"parameters": [
|
|
2626
|
+
{
|
|
2627
|
+
"name": "context",
|
|
2628
|
+
"type": {
|
|
2629
|
+
"text": "ElementDefinitionContext"
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"name": "definition",
|
|
2634
|
+
"type": {
|
|
2635
|
+
"text": "FoundationElementDefinition"
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
]
|
|
2500
2639
|
}
|
|
2501
2640
|
],
|
|
2502
2641
|
"exports": [
|
|
2503
2642
|
{
|
|
2504
2643
|
"kind": "js",
|
|
2505
|
-
"name": "
|
|
2644
|
+
"name": "foundationAiIndicatorStyles",
|
|
2506
2645
|
"declaration": {
|
|
2507
|
-
"name": "
|
|
2508
|
-
"module": "src/ai-
|
|
2646
|
+
"name": "foundationAiIndicatorStyles",
|
|
2647
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2509
2648
|
}
|
|
2510
2649
|
}
|
|
2511
2650
|
]
|
|
2512
2651
|
},
|
|
2513
2652
|
{
|
|
2514
2653
|
"kind": "javascript-module",
|
|
2515
|
-
"path": "src/ai-
|
|
2654
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2516
2655
|
"declarations": [
|
|
2517
2656
|
{
|
|
2518
2657
|
"kind": "variable",
|
|
2519
|
-
"name": "
|
|
2658
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2520
2659
|
"type": {
|
|
2521
|
-
"text": "ViewTemplate<
|
|
2660
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2522
2661
|
},
|
|
2523
|
-
"default": "html`\n ${(x) =>
|
|
2662
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2524
2663
|
}
|
|
2525
2664
|
],
|
|
2526
2665
|
"exports": [
|
|
2527
2666
|
{
|
|
2528
2667
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2668
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2530
2669
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/ai-
|
|
2670
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2671
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2533
2672
|
}
|
|
2534
2673
|
}
|
|
2535
2674
|
]
|
|
2536
2675
|
},
|
|
2537
2676
|
{
|
|
2538
2677
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/ai-
|
|
2678
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2540
2679
|
"declarations": [
|
|
2541
2680
|
{
|
|
2542
2681
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2682
|
+
"description": "",
|
|
2683
|
+
"name": "AiIndicator",
|
|
2545
2684
|
"members": [
|
|
2546
2685
|
{
|
|
2547
2686
|
"kind": "field",
|
|
@@ -2552,54 +2691,25 @@
|
|
|
2552
2691
|
},
|
|
2553
2692
|
{
|
|
2554
2693
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "string"
|
|
2558
|
-
},
|
|
2559
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"kind": "field",
|
|
2563
|
-
"name": "disabled",
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "boolean"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
{
|
|
2569
|
-
"kind": "field",
|
|
2570
|
-
"name": "inputValue",
|
|
2571
|
-
"type": {
|
|
2572
|
-
"text": "string"
|
|
2573
|
-
},
|
|
2574
|
-
"default": "''"
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
"kind": "field",
|
|
2578
|
-
"name": "isInterpreting",
|
|
2694
|
+
"name": "aiProvider",
|
|
2579
2695
|
"type": {
|
|
2580
|
-
"text": "
|
|
2696
|
+
"text": "AIProvider | undefined"
|
|
2581
2697
|
},
|
|
2582
|
-
"
|
|
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
|
|
2583
2701
|
},
|
|
2584
2702
|
{
|
|
2585
2703
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2704
|
+
"name": "status",
|
|
2587
2705
|
"type": {
|
|
2588
|
-
"text": "
|
|
2706
|
+
"text": "AIStatus | null"
|
|
2589
2707
|
},
|
|
2590
2708
|
"default": "null"
|
|
2591
2709
|
},
|
|
2592
2710
|
{
|
|
2593
2711
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "CriteriaGroup[]"
|
|
2597
|
-
},
|
|
2598
|
-
"default": "[]"
|
|
2599
|
-
},
|
|
2600
|
-
{
|
|
2601
|
-
"kind": "field",
|
|
2602
|
-
"name": "showingChips",
|
|
2712
|
+
"name": "open",
|
|
2603
2713
|
"type": {
|
|
2604
2714
|
"text": "boolean"
|
|
2605
2715
|
},
|
|
@@ -2607,15 +2717,15 @@
|
|
|
2607
2717
|
},
|
|
2608
2718
|
{
|
|
2609
2719
|
"kind": "field",
|
|
2610
|
-
"name": "
|
|
2720
|
+
"name": "state",
|
|
2611
2721
|
"type": {
|
|
2612
|
-
"text": "
|
|
2722
|
+
"text": "AIIndicatorState"
|
|
2613
2723
|
},
|
|
2614
|
-
"default": "
|
|
2724
|
+
"default": "'none'"
|
|
2615
2725
|
},
|
|
2616
2726
|
{
|
|
2617
2727
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2728
|
+
"name": "isInstalling",
|
|
2619
2729
|
"type": {
|
|
2620
2730
|
"text": "boolean"
|
|
2621
2731
|
},
|
|
@@ -2623,33 +2733,29 @@
|
|
|
2623
2733
|
},
|
|
2624
2734
|
{
|
|
2625
2735
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2736
|
+
"name": "pollTimer",
|
|
2627
2737
|
"type": {
|
|
2628
|
-
"text": "
|
|
2738
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2629
2739
|
},
|
|
2630
|
-
"privacy": "
|
|
2740
|
+
"privacy": "private",
|
|
2741
|
+
"default": "null"
|
|
2631
2742
|
},
|
|
2632
2743
|
{
|
|
2633
2744
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2635
|
-
"
|
|
2636
|
-
"text": "(() => void) | null"
|
|
2637
|
-
},
|
|
2638
|
-
"privacy": "private",
|
|
2639
|
-
"default": "null"
|
|
2745
|
+
"name": "clickOutside",
|
|
2746
|
+
"privacy": "private"
|
|
2640
2747
|
},
|
|
2641
2748
|
{
|
|
2642
2749
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2750
|
+
"name": "chromeStatusLabel",
|
|
2644
2751
|
"type": {
|
|
2645
|
-
"text": "
|
|
2752
|
+
"text": "string | null"
|
|
2646
2753
|
},
|
|
2647
|
-
"
|
|
2648
|
-
"default": "null"
|
|
2754
|
+
"readonly": true
|
|
2649
2755
|
},
|
|
2650
2756
|
{
|
|
2651
2757
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2758
|
+
"name": "canInstall",
|
|
2653
2759
|
"type": {
|
|
2654
2760
|
"text": "boolean"
|
|
2655
2761
|
},
|
|
@@ -2657,65 +2763,69 @@
|
|
|
2657
2763
|
},
|
|
2658
2764
|
{
|
|
2659
2765
|
"kind": "field",
|
|
2660
|
-
"name": "
|
|
2766
|
+
"name": "isDownloading",
|
|
2661
2767
|
"type": {
|
|
2662
|
-
"text": "
|
|
2768
|
+
"text": "boolean"
|
|
2663
2769
|
},
|
|
2664
2770
|
"readonly": true
|
|
2665
2771
|
},
|
|
2666
2772
|
{
|
|
2667
2773
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2669
|
-
"privacy": "private",
|
|
2774
|
+
"name": "openChanged",
|
|
2670
2775
|
"return": {
|
|
2671
2776
|
"type": {
|
|
2672
|
-
"text": "
|
|
2777
|
+
"text": "void"
|
|
2673
2778
|
}
|
|
2674
|
-
}
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
{
|
|
2782
|
+
"kind": "method",
|
|
2783
|
+
"name": "handleClickOutside",
|
|
2784
|
+
"privacy": "private",
|
|
2675
2785
|
"parameters": [
|
|
2676
2786
|
{
|
|
2677
|
-
"name": "
|
|
2787
|
+
"name": "event",
|
|
2678
2788
|
"type": {
|
|
2679
|
-
"text": "
|
|
2789
|
+
"text": "MouseEvent"
|
|
2680
2790
|
}
|
|
2681
2791
|
}
|
|
2682
2792
|
]
|
|
2683
2793
|
},
|
|
2684
2794
|
{
|
|
2685
2795
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2796
|
+
"name": "toggleDropdown"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"kind": "method",
|
|
2800
|
+
"name": "refreshStatus",
|
|
2687
2801
|
"return": {
|
|
2688
2802
|
"type": {
|
|
2689
|
-
"text": "void"
|
|
2803
|
+
"text": "Promise<void>"
|
|
2690
2804
|
}
|
|
2691
2805
|
}
|
|
2692
2806
|
},
|
|
2693
2807
|
{
|
|
2694
2808
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2809
|
+
"name": "deriveState",
|
|
2810
|
+
"privacy": "private",
|
|
2696
2811
|
"return": {
|
|
2697
2812
|
"type": {
|
|
2698
|
-
"text": "
|
|
2813
|
+
"text": "AIIndicatorState"
|
|
2699
2814
|
}
|
|
2700
2815
|
},
|
|
2701
2816
|
"parameters": [
|
|
2702
2817
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "number"
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "clauseIndex",
|
|
2818
|
+
"name": "s",
|
|
2710
2819
|
"type": {
|
|
2711
|
-
"text": "
|
|
2820
|
+
"text": "AIStatus | null"
|
|
2712
2821
|
}
|
|
2713
2822
|
}
|
|
2714
2823
|
]
|
|
2715
2824
|
},
|
|
2716
2825
|
{
|
|
2717
2826
|
"kind": "method",
|
|
2718
|
-
"name": "
|
|
2827
|
+
"name": "maybeStartPolling",
|
|
2828
|
+
"privacy": "private",
|
|
2719
2829
|
"return": {
|
|
2720
2830
|
"type": {
|
|
2721
2831
|
"text": "void"
|
|
@@ -2724,24 +2834,32 @@
|
|
|
2724
2834
|
},
|
|
2725
2835
|
{
|
|
2726
2836
|
"kind": "method",
|
|
2727
|
-
"name": "
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
"kind": "method",
|
|
2735
|
-
"name": "clear"
|
|
2837
|
+
"name": "startPolling",
|
|
2838
|
+
"privacy": "private",
|
|
2839
|
+
"return": {
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "void"
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2736
2844
|
},
|
|
2737
2845
|
{
|
|
2738
2846
|
"kind": "method",
|
|
2739
|
-
"name": "
|
|
2847
|
+
"name": "stopPolling",
|
|
2848
|
+
"privacy": "private",
|
|
2849
|
+
"return": {
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "void"
|
|
2852
|
+
}
|
|
2853
|
+
}
|
|
2740
2854
|
},
|
|
2741
2855
|
{
|
|
2742
2856
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2857
|
+
"name": "onInstall",
|
|
2858
|
+
"return": {
|
|
2859
|
+
"type": {
|
|
2860
|
+
"text": "Promise<void>"
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2745
2863
|
},
|
|
2746
2864
|
{
|
|
2747
2865
|
"kind": "field",
|
|
@@ -2855,520 +2973,296 @@
|
|
|
2855
2973
|
}
|
|
2856
2974
|
}
|
|
2857
2975
|
],
|
|
2858
|
-
"events": [
|
|
2859
|
-
{
|
|
2860
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
-
"name": "criteria-changed"
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
-
"name": "validation-errors"
|
|
2866
|
-
}
|
|
2867
|
-
],
|
|
2868
|
-
"attributes": [
|
|
2869
|
-
{
|
|
2870
|
-
"name": "placeholder",
|
|
2871
|
-
"type": {
|
|
2872
|
-
"text": "string"
|
|
2873
|
-
},
|
|
2874
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
-
"fieldName": "placeholder"
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"type": {
|
|
2879
|
-
"text": "boolean"
|
|
2880
|
-
},
|
|
2881
|
-
"fieldName": "disabled"
|
|
2882
|
-
}
|
|
2883
|
-
],
|
|
2884
2976
|
"superclass": {
|
|
2885
2977
|
"name": "FoundationElement",
|
|
2886
2978
|
"package": "@microsoft/fast-foundation"
|
|
2887
2979
|
},
|
|
2888
|
-
"tagName": "%%prefix%%-ai-
|
|
2980
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2889
2981
|
"customElement": true
|
|
2890
2982
|
},
|
|
2891
2983
|
{
|
|
2892
2984
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2894
|
-
"type": {
|
|
2895
|
-
"text": "ShadowRootInit"
|
|
2896
|
-
},
|
|
2897
|
-
"default": "undefined"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"kind": "variable",
|
|
2901
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
-
"type": {
|
|
2903
|
-
"text": "object"
|
|
2904
|
-
},
|
|
2905
|
-
"default": "{}"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "variable",
|
|
2909
|
-
"name": "foundationAiCriteriaSearch"
|
|
2985
|
+
"name": "foundationAiIndicator"
|
|
2910
2986
|
}
|
|
2911
2987
|
],
|
|
2912
2988
|
"exports": [
|
|
2913
2989
|
{
|
|
2914
2990
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "AiCriteriaSearch",
|
|
2918
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2991
|
+
"name": "AiIndicator",
|
|
2932
2992
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/ai-
|
|
2993
|
+
"name": "AiIndicator",
|
|
2994
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2935
2995
|
}
|
|
2936
2996
|
},
|
|
2937
2997
|
{
|
|
2938
2998
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2999
|
+
"name": "foundationAiIndicator",
|
|
2940
3000
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/ai-
|
|
3001
|
+
"name": "foundationAiIndicator",
|
|
3002
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2943
3003
|
}
|
|
2944
3004
|
}
|
|
2945
3005
|
]
|
|
2946
3006
|
},
|
|
2947
3007
|
{
|
|
2948
3008
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/ai-
|
|
3009
|
+
"path": "src/ai-indicator/index.ts",
|
|
2950
3010
|
"declarations": [],
|
|
2951
3011
|
"exports": [
|
|
2952
3012
|
{
|
|
2953
3013
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
2955
|
-
"declaration": {
|
|
2956
|
-
"name": "AiCriteriaSearch",
|
|
2957
|
-
"module": "./ai-criteria-search"
|
|
2958
|
-
}
|
|
2959
|
-
},
|
|
2960
|
-
{
|
|
2961
|
-
"kind": "js",
|
|
2962
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
-
"declaration": {
|
|
2964
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
-
"module": "./ai-criteria-search"
|
|
2966
|
-
}
|
|
2967
|
-
},
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "js",
|
|
2970
|
-
"name": "foundationAiCriteriaSearch",
|
|
2971
|
-
"declaration": {
|
|
2972
|
-
"name": "foundationAiCriteriaSearch",
|
|
2973
|
-
"module": "./ai-criteria-search"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3014
|
+
"name": "AiIndicator",
|
|
2979
3015
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "./ai-
|
|
3016
|
+
"name": "AiIndicator",
|
|
3017
|
+
"module": "./ai-indicator"
|
|
2982
3018
|
}
|
|
2983
3019
|
},
|
|
2984
3020
|
{
|
|
2985
3021
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
3022
|
+
"name": "foundationAiIndicator",
|
|
2987
3023
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "./ai-
|
|
3024
|
+
"name": "foundationAiIndicator",
|
|
3025
|
+
"module": "./ai-indicator"
|
|
2990
3026
|
}
|
|
2991
3027
|
},
|
|
2992
3028
|
{
|
|
2993
3029
|
"kind": "js",
|
|
2994
|
-
"name": "
|
|
3030
|
+
"name": "type",
|
|
2995
3031
|
"declaration": {
|
|
2996
|
-
"name": "
|
|
2997
|
-
"module": "./ai-
|
|
3032
|
+
"name": "type",
|
|
3033
|
+
"module": "./ai-indicator"
|
|
2998
3034
|
}
|
|
2999
3035
|
},
|
|
3000
3036
|
{
|
|
3001
3037
|
"kind": "js",
|
|
3002
|
-
"name": "
|
|
3038
|
+
"name": "AIIndicatorState",
|
|
3003
3039
|
"declaration": {
|
|
3004
|
-
"name": "
|
|
3005
|
-
"
|
|
3040
|
+
"name": "AIIndicatorState",
|
|
3041
|
+
"module": "./ai-indicator"
|
|
3006
3042
|
}
|
|
3007
3043
|
},
|
|
3008
3044
|
{
|
|
3009
3045
|
"kind": "js",
|
|
3010
|
-
"name": "
|
|
3046
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3011
3047
|
"declaration": {
|
|
3012
|
-
"name": "
|
|
3013
|
-
"
|
|
3048
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3049
|
+
"module": "./ai-indicator.template"
|
|
3014
3050
|
}
|
|
3015
3051
|
},
|
|
3016
3052
|
{
|
|
3017
3053
|
"kind": "js",
|
|
3018
|
-
"name": "
|
|
3054
|
+
"name": "foundationAiIndicatorStyles",
|
|
3019
3055
|
"declaration": {
|
|
3020
|
-
"name": "
|
|
3021
|
-
"
|
|
3056
|
+
"name": "foundationAiIndicatorStyles",
|
|
3057
|
+
"module": "./ai-indicator.styles"
|
|
3022
3058
|
}
|
|
3023
3059
|
}
|
|
3024
3060
|
]
|
|
3025
3061
|
},
|
|
3026
3062
|
{
|
|
3027
3063
|
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/
|
|
3064
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3029
3065
|
"declarations": [
|
|
3030
3066
|
{
|
|
3031
|
-
"kind": "
|
|
3032
|
-
"name": "
|
|
3033
|
-
"
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "errors",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ValidationError[]"
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"kind": "function",
|
|
3050
|
-
"name": "showCriteriaError",
|
|
3051
|
-
"return": {
|
|
3052
|
-
"type": {
|
|
3053
|
-
"text": "void"
|
|
3054
|
-
}
|
|
3055
|
-
},
|
|
3056
|
-
"parameters": [
|
|
3057
|
-
{
|
|
3058
|
-
"name": "title",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "string"
|
|
3061
|
-
},
|
|
3062
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"name": "body",
|
|
3066
|
-
"type": {
|
|
3067
|
-
"text": "string"
|
|
3068
|
-
},
|
|
3069
|
-
"description": "Error message to display"
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
"name": "tagName",
|
|
3073
|
-
"type": {
|
|
3074
|
-
"text": "string"
|
|
3075
|
-
},
|
|
3076
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"description": "Shows a criteria error as a toast notification."
|
|
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`"
|
|
3080
3070
|
}
|
|
3081
3071
|
],
|
|
3082
3072
|
"exports": [
|
|
3083
3073
|
{
|
|
3084
3074
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
3086
|
-
"declaration": {
|
|
3087
|
-
"name": "formatValidationErrors",
|
|
3088
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
-
}
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "js",
|
|
3093
|
-
"name": "showCriteriaError",
|
|
3075
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3094
3076
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"module": "src/ai-criteria-search/
|
|
3077
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3078
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3097
3079
|
}
|
|
3098
3080
|
}
|
|
3099
3081
|
]
|
|
3100
3082
|
},
|
|
3101
3083
|
{
|
|
3102
3084
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3085
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3104
3086
|
"declarations": [
|
|
3105
3087
|
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
3109
|
-
"
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3088
|
+
"kind": "variable",
|
|
3089
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3112
3092
|
},
|
|
3113
|
-
"
|
|
3114
|
-
{
|
|
3115
|
-
"name": "context",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "ElementDefinitionContext"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"name": "definition",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3093
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3127
3094
|
}
|
|
3128
3095
|
],
|
|
3129
3096
|
"exports": [
|
|
3130
3097
|
{
|
|
3131
3098
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3099
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3133
3100
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3101
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3102
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3136
3103
|
}
|
|
3137
3104
|
}
|
|
3138
3105
|
]
|
|
3139
3106
|
},
|
|
3140
3107
|
{
|
|
3141
3108
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3109
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3143
3110
|
"declarations": [
|
|
3144
3111
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"
|
|
3147
|
-
"
|
|
3148
|
-
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
"parameters": [
|
|
3112
|
+
"kind": "class",
|
|
3113
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3114
|
+
"name": "AiCriteriaSearch",
|
|
3115
|
+
"members": [
|
|
3153
3116
|
{
|
|
3154
|
-
"
|
|
3117
|
+
"kind": "field",
|
|
3118
|
+
"name": "providerRegistry",
|
|
3155
3119
|
"type": {
|
|
3156
|
-
"text": "
|
|
3120
|
+
"text": "AIProviderRegistry"
|
|
3157
3121
|
}
|
|
3158
3122
|
},
|
|
3159
3123
|
{
|
|
3160
|
-
"
|
|
3124
|
+
"kind": "field",
|
|
3125
|
+
"name": "placeholder",
|
|
3161
3126
|
"type": {
|
|
3162
|
-
"text": "
|
|
3127
|
+
"text": "string"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "disabled",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "boolean"
|
|
3163
3136
|
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3166
|
-
}
|
|
3167
|
-
],
|
|
3168
|
-
"exports": [
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "js",
|
|
3171
|
-
"name": "foundationAccordionTemplate",
|
|
3172
|
-
"declaration": {
|
|
3173
|
-
"name": "foundationAccordionTemplate",
|
|
3174
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3175
|
-
}
|
|
3176
|
-
}
|
|
3177
|
-
]
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/accordion/accordion.ts",
|
|
3182
|
-
"declarations": [
|
|
3183
|
-
{
|
|
3184
|
-
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "Accordion",
|
|
3187
|
-
"superclass": {
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3137
|
+
},
|
|
3194
3138
|
{
|
|
3195
|
-
"
|
|
3139
|
+
"kind": "field",
|
|
3140
|
+
"name": "inputValue",
|
|
3196
3141
|
"type": {
|
|
3197
|
-
"text": "
|
|
3142
|
+
"text": "string"
|
|
3198
3143
|
},
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3144
|
+
"default": "''"
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "field",
|
|
3148
|
+
"name": "isInterpreting",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
"default": "false"
|
|
3153
|
+
},
|
|
3208
3154
|
{
|
|
3209
3155
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3156
|
+
"name": "lastValidCriteria",
|
|
3211
3157
|
"type": {
|
|
3212
|
-
"text": "
|
|
3158
|
+
"text": "string | null"
|
|
3213
3159
|
},
|
|
3214
|
-
"
|
|
3215
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
-
"inheritedFrom": {
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3160
|
+
"default": "null"
|
|
3220
3161
|
},
|
|
3221
3162
|
{
|
|
3222
3163
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3164
|
+
"name": "activeGroups",
|
|
3224
3165
|
"type": {
|
|
3225
|
-
"text": "
|
|
3166
|
+
"text": "CriteriaGroup[]"
|
|
3226
3167
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3168
|
+
"default": "[]"
|
|
3232
3169
|
},
|
|
3233
3170
|
{
|
|
3234
3171
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3172
|
+
"name": "showingChips",
|
|
3236
3173
|
"type": {
|
|
3237
|
-
"text": "
|
|
3174
|
+
"text": "boolean"
|
|
3238
3175
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3176
|
+
"default": "false"
|
|
3245
3177
|
},
|
|
3246
3178
|
{
|
|
3247
3179
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3180
|
+
"name": "fieldMetadata",
|
|
3249
3181
|
"type": {
|
|
3250
|
-
"text": "
|
|
3182
|
+
"text": "MetadataDetail[] | string[]"
|
|
3251
3183
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3184
|
+
"default": "[]"
|
|
3257
3185
|
},
|
|
3258
3186
|
{
|
|
3259
3187
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3188
|
+
"name": "isRecording",
|
|
3189
|
+
"type": {
|
|
3190
|
+
"text": "boolean"
|
|
3191
|
+
},
|
|
3192
|
+
"default": "false"
|
|
3266
3193
|
},
|
|
3267
3194
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3195
|
+
"kind": "field",
|
|
3196
|
+
"name": "textAreaRef",
|
|
3197
|
+
"type": {
|
|
3198
|
+
"text": "HTMLTextAreaElement"
|
|
3275
3199
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3200
|
+
"privacy": "public"
|
|
3280
3201
|
},
|
|
3281
3202
|
{
|
|
3282
3203
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3204
|
+
"name": "stopRecording",
|
|
3205
|
+
"type": {
|
|
3206
|
+
"text": "(() => void) | null"
|
|
3207
|
+
},
|
|
3284
3208
|
"privacy": "private",
|
|
3285
|
-
"
|
|
3286
|
-
"name": "Accordion",
|
|
3287
|
-
"module": "src/accordion/accordion.ts"
|
|
3288
|
-
}
|
|
3209
|
+
"default": "null"
|
|
3289
3210
|
},
|
|
3290
3211
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3212
|
+
"kind": "field",
|
|
3213
|
+
"name": "speechApplyDebounceTimer",
|
|
3214
|
+
"type": {
|
|
3215
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3298
3216
|
},
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3217
|
+
"privacy": "private",
|
|
3218
|
+
"default": "null"
|
|
3303
3219
|
},
|
|
3304
3220
|
{
|
|
3305
3221
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3307
|
-
"
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
}
|
|
3222
|
+
"name": "speechAvailable",
|
|
3223
|
+
"type": {
|
|
3224
|
+
"text": "boolean"
|
|
3225
|
+
},
|
|
3226
|
+
"readonly": true
|
|
3312
3227
|
},
|
|
3313
3228
|
{
|
|
3314
3229
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3316
|
-
"
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
}
|
|
3230
|
+
"name": "criteriaChips",
|
|
3231
|
+
"type": {
|
|
3232
|
+
"text": "CriteriaChip[]"
|
|
3233
|
+
},
|
|
3234
|
+
"readonly": true
|
|
3321
3235
|
},
|
|
3322
3236
|
{
|
|
3323
3237
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3238
|
+
"name": "getFieldLabel",
|
|
3325
3239
|
"privacy": "private",
|
|
3326
3240
|
"return": {
|
|
3327
3241
|
"type": {
|
|
3328
|
-
"text": "
|
|
3242
|
+
"text": "string"
|
|
3329
3243
|
}
|
|
3330
3244
|
},
|
|
3331
|
-
"
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3245
|
+
"parameters": [
|
|
3246
|
+
{
|
|
3247
|
+
"name": "fieldName",
|
|
3248
|
+
"type": {
|
|
3249
|
+
"text": "string"
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
]
|
|
3335
3253
|
},
|
|
3336
3254
|
{
|
|
3337
3255
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3339
|
-
"privacy": "private",
|
|
3256
|
+
"name": "toggleCriteriaView",
|
|
3340
3257
|
"return": {
|
|
3341
3258
|
"type": {
|
|
3342
|
-
"text": "
|
|
3259
|
+
"text": "void"
|
|
3343
3260
|
}
|
|
3344
|
-
},
|
|
3345
|
-
"inheritedFrom": {
|
|
3346
|
-
"name": "Accordion",
|
|
3347
|
-
"module": "src/accordion/accordion.ts"
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
"kind": "field",
|
|
3352
|
-
"name": "handleItemKeyDown",
|
|
3353
|
-
"privacy": "private",
|
|
3354
|
-
"inheritedFrom": {
|
|
3355
|
-
"name": "Accordion",
|
|
3356
|
-
"module": "src/accordion/accordion.ts"
|
|
3357
|
-
}
|
|
3358
|
-
},
|
|
3359
|
-
{
|
|
3360
|
-
"kind": "field",
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3366
3261
|
}
|
|
3367
3262
|
},
|
|
3368
3263
|
{
|
|
3369
3264
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3265
|
+
"name": "removeChip",
|
|
3372
3266
|
"return": {
|
|
3373
3267
|
"type": {
|
|
3374
3268
|
"text": "void"
|
|
@@ -3376,31 +3270,49 @@
|
|
|
3376
3270
|
},
|
|
3377
3271
|
"parameters": [
|
|
3378
3272
|
{
|
|
3379
|
-
"name": "
|
|
3273
|
+
"name": "groupIndex",
|
|
3274
|
+
"type": {
|
|
3275
|
+
"text": "number"
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"name": "clauseIndex",
|
|
3380
3280
|
"type": {
|
|
3381
3281
|
"text": "number"
|
|
3382
3282
|
}
|
|
3383
3283
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3284
|
+
]
|
|
3389
3285
|
},
|
|
3390
3286
|
{
|
|
3391
3287
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3288
|
+
"name": "clearChips",
|
|
3394
3289
|
"return": {
|
|
3395
3290
|
"type": {
|
|
3396
3291
|
"text": "void"
|
|
3397
3292
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3293
|
}
|
|
3403
3294
|
},
|
|
3295
|
+
{
|
|
3296
|
+
"kind": "method",
|
|
3297
|
+
"name": "handleSubmit"
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "method",
|
|
3301
|
+
"name": "handleBlur"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"kind": "method",
|
|
3305
|
+
"name": "clear"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "method",
|
|
3309
|
+
"name": "toggleSpeechInput"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "method",
|
|
3313
|
+
"name": "clearSpeechApplyDebounce",
|
|
3314
|
+
"privacy": "private"
|
|
3315
|
+
},
|
|
3404
3316
|
{
|
|
3405
3317
|
"kind": "field",
|
|
3406
3318
|
"name": "_presentation",
|
|
@@ -3515,26 +3427,48 @@
|
|
|
3515
3427
|
],
|
|
3516
3428
|
"events": [
|
|
3517
3429
|
{
|
|
3518
|
-
"description": "
|
|
3519
|
-
"name": "
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
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"
|
|
3524
3436
|
}
|
|
3525
|
-
]
|
|
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
|
+
],
|
|
3454
|
+
"superclass": {
|
|
3455
|
+
"name": "FoundationElement",
|
|
3456
|
+
"package": "@microsoft/fast-foundation"
|
|
3457
|
+
},
|
|
3458
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3459
|
+
"customElement": true
|
|
3526
3460
|
},
|
|
3527
3461
|
{
|
|
3528
3462
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3463
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3464
|
"type": {
|
|
3531
3465
|
"text": "ShadowRootInit"
|
|
3532
3466
|
},
|
|
3533
|
-
"default": "
|
|
3467
|
+
"default": "undefined"
|
|
3534
3468
|
},
|
|
3535
3469
|
{
|
|
3536
3470
|
"kind": "variable",
|
|
3537
|
-
"name": "
|
|
3471
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3538
3472
|
"type": {
|
|
3539
3473
|
"text": "object"
|
|
3540
3474
|
},
|
|
@@ -3542,57 +3476,103 @@
|
|
|
3542
3476
|
},
|
|
3543
3477
|
{
|
|
3544
3478
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3479
|
+
"name": "foundationAiCriteriaSearch"
|
|
3548
3480
|
}
|
|
3549
3481
|
],
|
|
3550
3482
|
"exports": [
|
|
3551
3483
|
{
|
|
3552
3484
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3485
|
+
"name": "AiCriteriaSearch",
|
|
3554
3486
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3487
|
+
"name": "AiCriteriaSearch",
|
|
3488
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3557
3489
|
}
|
|
3558
3490
|
},
|
|
3559
3491
|
{
|
|
3560
3492
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3494
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3565
3497
|
}
|
|
3566
3498
|
},
|
|
3567
3499
|
{
|
|
3568
3500
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3501
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3570
3502
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3503
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3504
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3505
|
}
|
|
3574
3506
|
},
|
|
3575
3507
|
{
|
|
3576
3508
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3509
|
+
"name": "foundationAiCriteriaSearch",
|
|
3578
3510
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3511
|
+
"name": "foundationAiCriteriaSearch",
|
|
3512
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3581
3513
|
}
|
|
3582
3514
|
}
|
|
3583
3515
|
]
|
|
3584
3516
|
},
|
|
3585
3517
|
{
|
|
3586
3518
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3519
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3588
3520
|
"declarations": [],
|
|
3589
3521
|
"exports": [
|
|
3522
|
+
{
|
|
3523
|
+
"kind": "js",
|
|
3524
|
+
"name": "AiCriteriaSearch",
|
|
3525
|
+
"declaration": {
|
|
3526
|
+
"name": "AiCriteriaSearch",
|
|
3527
|
+
"module": "./ai-criteria-search"
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"kind": "js",
|
|
3532
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3533
|
+
"declaration": {
|
|
3534
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3535
|
+
"module": "./ai-criteria-search"
|
|
3536
|
+
}
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"kind": "js",
|
|
3540
|
+
"name": "foundationAiCriteriaSearch",
|
|
3541
|
+
"declaration": {
|
|
3542
|
+
"name": "foundationAiCriteriaSearch",
|
|
3543
|
+
"module": "./ai-criteria-search"
|
|
3544
|
+
}
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
"kind": "js",
|
|
3548
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3549
|
+
"declaration": {
|
|
3550
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3551
|
+
"module": "./ai-criteria-search"
|
|
3552
|
+
}
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"kind": "js",
|
|
3556
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3557
|
+
"declaration": {
|
|
3558
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3559
|
+
"module": "./ai-criteria-search.styles"
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"kind": "js",
|
|
3564
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3565
|
+
"declaration": {
|
|
3566
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3567
|
+
"module": "./ai-criteria-search.template"
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3590
3570
|
{
|
|
3591
3571
|
"kind": "js",
|
|
3592
3572
|
"name": "*",
|
|
3593
3573
|
"declaration": {
|
|
3594
3574
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3575
|
+
"package": "./validation/criteria-ir"
|
|
3596
3576
|
}
|
|
3597
3577
|
},
|
|
3598
3578
|
{
|
|
@@ -3600,7 +3580,7 @@
|
|
|
3600
3580
|
"name": "*",
|
|
3601
3581
|
"declaration": {
|
|
3602
3582
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3583
|
+
"package": "./validation/operator-map"
|
|
3604
3584
|
}
|
|
3605
3585
|
},
|
|
3606
3586
|
{
|
|
@@ -3608,18 +3588,93 @@
|
|
|
3608
3588
|
"name": "*",
|
|
3609
3589
|
"declaration": {
|
|
3610
3590
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3591
|
+
"package": "./validation/schema-validator"
|
|
3612
3592
|
}
|
|
3613
3593
|
}
|
|
3614
3594
|
]
|
|
3615
3595
|
},
|
|
3616
3596
|
{
|
|
3617
3597
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/ai-
|
|
3598
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3619
3599
|
"declarations": [
|
|
3620
3600
|
{
|
|
3621
3601
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"return": {
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "string"
|
|
3606
|
+
}
|
|
3607
|
+
},
|
|
3608
|
+
"parameters": [
|
|
3609
|
+
{
|
|
3610
|
+
"name": "errors",
|
|
3611
|
+
"type": {
|
|
3612
|
+
"text": "ValidationError[]"
|
|
3613
|
+
}
|
|
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": [
|
|
3627
|
+
{
|
|
3628
|
+
"name": "title",
|
|
3629
|
+
"type": {
|
|
3630
|
+
"text": "string"
|
|
3631
|
+
},
|
|
3632
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
"name": "body",
|
|
3636
|
+
"type": {
|
|
3637
|
+
"text": "string"
|
|
3638
|
+
},
|
|
3639
|
+
"description": "Error message to display"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"name": "tagName",
|
|
3643
|
+
"type": {
|
|
3644
|
+
"text": "string"
|
|
3645
|
+
},
|
|
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",
|
|
3623
3678
|
"return": {
|
|
3624
3679
|
"type": {
|
|
3625
3680
|
"text": "ElementStyles"
|
|
@@ -3644,224 +3699,155 @@
|
|
|
3644
3699
|
"exports": [
|
|
3645
3700
|
{
|
|
3646
3701
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3702
|
+
"name": "foundationAccordionItemStyles",
|
|
3648
3703
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/
|
|
3704
|
+
"name": "foundationAccordionItemStyles",
|
|
3705
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3651
3706
|
}
|
|
3652
3707
|
}
|
|
3653
3708
|
]
|
|
3654
3709
|
},
|
|
3655
3710
|
{
|
|
3656
3711
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/
|
|
3712
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3658
3713
|
"declarations": [
|
|
3659
3714
|
{
|
|
3660
|
-
"kind": "
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3715
|
+
"kind": "function",
|
|
3716
|
+
"name": "foundationAccordionItemTemplate",
|
|
3717
|
+
"return": {
|
|
3718
|
+
"type": {
|
|
3719
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3720
|
+
}
|
|
3664
3721
|
},
|
|
3665
|
-
"
|
|
3722
|
+
"parameters": [
|
|
3723
|
+
{
|
|
3724
|
+
"name": "context",
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "ElementDefinitionContext"
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"name": "definition",
|
|
3731
|
+
"type": {
|
|
3732
|
+
"text": "FoundationElementDefinition"
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
]
|
|
3666
3736
|
}
|
|
3667
3737
|
],
|
|
3668
3738
|
"exports": [
|
|
3669
3739
|
{
|
|
3670
3740
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
3741
|
+
"name": "foundationAccordionItemTemplate",
|
|
3672
3742
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/
|
|
3743
|
+
"name": "foundationAccordionItemTemplate",
|
|
3744
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3675
3745
|
}
|
|
3676
3746
|
}
|
|
3677
3747
|
]
|
|
3678
3748
|
},
|
|
3679
3749
|
{
|
|
3680
3750
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/
|
|
3751
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3682
3752
|
"declarations": [
|
|
3683
3753
|
{
|
|
3684
3754
|
"kind": "class",
|
|
3685
3755
|
"description": "",
|
|
3686
|
-
"name": "
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
},
|
|
3695
|
-
{
|
|
3696
|
-
"kind": "field",
|
|
3697
|
-
"name": "aiProvider",
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "AIProvider | undefined"
|
|
3700
|
-
},
|
|
3701
|
-
"privacy": "private",
|
|
3702
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
-
"readonly": true
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "field",
|
|
3707
|
-
"name": "status",
|
|
3708
|
-
"type": {
|
|
3709
|
-
"text": "AIStatus | null"
|
|
3710
|
-
},
|
|
3711
|
-
"default": "null"
|
|
3712
|
-
},
|
|
3713
|
-
{
|
|
3714
|
-
"kind": "field",
|
|
3715
|
-
"name": "open",
|
|
3716
|
-
"type": {
|
|
3717
|
-
"text": "boolean"
|
|
3718
|
-
},
|
|
3719
|
-
"default": "false"
|
|
3720
|
-
},
|
|
3756
|
+
"name": "AccordionItem",
|
|
3757
|
+
"superclass": {
|
|
3758
|
+
"name": "FASTAccordionItem",
|
|
3759
|
+
"package": "@microsoft/fast-components"
|
|
3760
|
+
},
|
|
3761
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3762
|
+
"customElement": true,
|
|
3763
|
+
"attributes": [
|
|
3721
3764
|
{
|
|
3722
|
-
"
|
|
3723
|
-
"name": "state",
|
|
3765
|
+
"name": "heading-level",
|
|
3724
3766
|
"type": {
|
|
3725
|
-
"text": "
|
|
3767
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3726
3768
|
},
|
|
3727
|
-
"default": "
|
|
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
|
+
}
|
|
3728
3776
|
},
|
|
3729
3777
|
{
|
|
3730
|
-
"kind": "field",
|
|
3731
|
-
"name": "isInstalling",
|
|
3732
3778
|
"type": {
|
|
3733
3779
|
"text": "boolean"
|
|
3734
3780
|
},
|
|
3735
|
-
"default": "false"
|
|
3781
|
+
"default": "false",
|
|
3782
|
+
"description": "Expands or collapses the item.",
|
|
3783
|
+
"fieldName": "expanded",
|
|
3784
|
+
"inheritedFrom": {
|
|
3785
|
+
"name": "AccordionItem",
|
|
3786
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3787
|
+
}
|
|
3736
3788
|
},
|
|
3737
3789
|
{
|
|
3738
|
-
"
|
|
3739
|
-
"name": "pollTimer",
|
|
3790
|
+
"name": "id",
|
|
3740
3791
|
"type": {
|
|
3741
|
-
"text": "
|
|
3792
|
+
"text": "string"
|
|
3742
3793
|
},
|
|
3743
|
-
"
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3794
|
+
"description": "The item ID",
|
|
3795
|
+
"fieldName": "id",
|
|
3796
|
+
"inheritedFrom": {
|
|
3797
|
+
"name": "AccordionItem",
|
|
3798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
],
|
|
3802
|
+
"members": [
|
|
3751
3803
|
{
|
|
3752
3804
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3805
|
+
"name": "headinglevel",
|
|
3754
3806
|
"type": {
|
|
3755
|
-
"text": "
|
|
3807
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3756
3808
|
},
|
|
3757
|
-
"
|
|
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
|
+
}
|
|
3758
3816
|
},
|
|
3759
3817
|
{
|
|
3760
3818
|
"kind": "field",
|
|
3761
|
-
"name": "
|
|
3819
|
+
"name": "expanded",
|
|
3762
3820
|
"type": {
|
|
3763
3821
|
"text": "boolean"
|
|
3764
3822
|
},
|
|
3765
|
-
"
|
|
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
|
+
}
|
|
3766
3830
|
},
|
|
3767
3831
|
{
|
|
3768
3832
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3833
|
+
"name": "id",
|
|
3770
3834
|
"type": {
|
|
3771
|
-
"text": "
|
|
3772
|
-
},
|
|
3773
|
-
"readonly": true
|
|
3774
|
-
},
|
|
3775
|
-
{
|
|
3776
|
-
"kind": "method",
|
|
3777
|
-
"name": "openChanged",
|
|
3778
|
-
"return": {
|
|
3779
|
-
"type": {
|
|
3780
|
-
"text": "void"
|
|
3781
|
-
}
|
|
3782
|
-
}
|
|
3783
|
-
},
|
|
3784
|
-
{
|
|
3785
|
-
"kind": "method",
|
|
3786
|
-
"name": "handleClickOutside",
|
|
3787
|
-
"privacy": "private",
|
|
3788
|
-
"parameters": [
|
|
3789
|
-
{
|
|
3790
|
-
"name": "event",
|
|
3791
|
-
"type": {
|
|
3792
|
-
"text": "MouseEvent"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3796
|
-
},
|
|
3797
|
-
{
|
|
3798
|
-
"kind": "method",
|
|
3799
|
-
"name": "toggleDropdown"
|
|
3800
|
-
},
|
|
3801
|
-
{
|
|
3802
|
-
"kind": "method",
|
|
3803
|
-
"name": "refreshStatus",
|
|
3804
|
-
"return": {
|
|
3805
|
-
"type": {
|
|
3806
|
-
"text": "Promise<void>"
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
},
|
|
3810
|
-
{
|
|
3811
|
-
"kind": "method",
|
|
3812
|
-
"name": "deriveState",
|
|
3813
|
-
"privacy": "private",
|
|
3814
|
-
"return": {
|
|
3815
|
-
"type": {
|
|
3816
|
-
"text": "AIIndicatorState"
|
|
3817
|
-
}
|
|
3835
|
+
"text": "string"
|
|
3818
3836
|
},
|
|
3819
|
-
"
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3826
|
-
]
|
|
3827
|
-
},
|
|
3828
|
-
{
|
|
3829
|
-
"kind": "method",
|
|
3830
|
-
"name": "maybeStartPolling",
|
|
3831
|
-
"privacy": "private",
|
|
3832
|
-
"return": {
|
|
3833
|
-
"type": {
|
|
3834
|
-
"text": "void"
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"kind": "method",
|
|
3840
|
-
"name": "startPolling",
|
|
3841
|
-
"privacy": "private",
|
|
3842
|
-
"return": {
|
|
3843
|
-
"type": {
|
|
3844
|
-
"text": "void"
|
|
3845
|
-
}
|
|
3837
|
+
"privacy": "public",
|
|
3838
|
+
"description": "The item ID",
|
|
3839
|
+
"inheritedFrom": {
|
|
3840
|
+
"name": "AccordionItem",
|
|
3841
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3846
3842
|
}
|
|
3847
3843
|
},
|
|
3848
3844
|
{
|
|
3849
|
-
"kind": "
|
|
3850
|
-
"name": "
|
|
3845
|
+
"kind": "field",
|
|
3846
|
+
"name": "change",
|
|
3851
3847
|
"privacy": "private",
|
|
3852
|
-
"
|
|
3853
|
-
"
|
|
3854
|
-
|
|
3855
|
-
}
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
|
-
{
|
|
3859
|
-
"kind": "method",
|
|
3860
|
-
"name": "onInstall",
|
|
3861
|
-
"return": {
|
|
3862
|
-
"type": {
|
|
3863
|
-
"text": "Promise<void>"
|
|
3864
|
-
}
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "AccordionItem",
|
|
3850
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3865
3851
|
}
|
|
3866
3852
|
},
|
|
3867
3853
|
{
|
|
@@ -3976,88 +3962,102 @@
|
|
|
3976
3962
|
}
|
|
3977
3963
|
}
|
|
3978
3964
|
],
|
|
3979
|
-
"
|
|
3980
|
-
|
|
3981
|
-
|
|
3965
|
+
"events": [
|
|
3966
|
+
{
|
|
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
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
]
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "variable",
|
|
3978
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "ShadowRootInit"
|
|
3982
3981
|
},
|
|
3983
|
-
"
|
|
3984
|
-
"customElement": true
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3985
3983
|
},
|
|
3986
3984
|
{
|
|
3987
3985
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionItemConfig",
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "object"
|
|
3989
|
+
},
|
|
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}"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "variable",
|
|
3994
|
+
"name": "foundationAccordionItem",
|
|
3995
|
+
"description": "The Foundation Accordion Item",
|
|
3996
|
+
"privacy": "public"
|
|
3989
3997
|
}
|
|
3990
3998
|
],
|
|
3991
3999
|
"exports": [
|
|
3992
4000
|
{
|
|
3993
4001
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
4002
|
+
"name": "AccordionItem",
|
|
3995
4003
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/
|
|
4004
|
+
"name": "AccordionItem",
|
|
4005
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3998
4006
|
}
|
|
3999
4007
|
},
|
|
4000
4008
|
{
|
|
4001
4009
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
4003
|
-
"declaration": {
|
|
4004
|
-
"name": "foundationAiIndicator",
|
|
4005
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
|
-
}
|
|
4007
|
-
}
|
|
4008
|
-
]
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/ai-indicator/index.ts",
|
|
4013
|
-
"declarations": [],
|
|
4014
|
-
"exports": [
|
|
4015
|
-
{
|
|
4016
|
-
"kind": "js",
|
|
4017
|
-
"name": "AiIndicator",
|
|
4010
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
4018
4011
|
"declaration": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "
|
|
4012
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
4013
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
4021
4014
|
}
|
|
4022
4015
|
},
|
|
4023
4016
|
{
|
|
4024
4017
|
"kind": "js",
|
|
4025
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionItemConfig",
|
|
4026
4019
|
"declaration": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "
|
|
4020
|
+
"name": "defaultAccordionItemConfig",
|
|
4021
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
4029
4022
|
}
|
|
4030
4023
|
},
|
|
4031
4024
|
{
|
|
4032
4025
|
"kind": "js",
|
|
4033
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordionItem",
|
|
4034
4027
|
"declaration": {
|
|
4035
|
-
"name": "
|
|
4036
|
-
"module": "
|
|
4028
|
+
"name": "foundationAccordionItem",
|
|
4029
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
4037
4030
|
}
|
|
4038
|
-
}
|
|
4031
|
+
}
|
|
4032
|
+
]
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "javascript-module",
|
|
4036
|
+
"path": "src/accordion-item/index.ts",
|
|
4037
|
+
"declarations": [],
|
|
4038
|
+
"exports": [
|
|
4039
4039
|
{
|
|
4040
4040
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
4041
|
+
"name": "*",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./accordion-item.template"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "*",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./accordion-item.styles"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "*",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./accordion-item"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|