@genesislcap/foundation-ui 15.46.2-FUI-2628.2 → 15.46.2-FUI-2628.3
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 +680 -680
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +17 -17
|
@@ -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,275 +2612,208 @@
|
|
|
2491
2612
|
},
|
|
2492
2613
|
{
|
|
2493
2614
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2615
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
2616
|
"declarations": [
|
|
2496
2617
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2500
|
-
"type": {
|
|
2501
|
-
"text": "ElementStyles"
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"parameters": [
|
|
2505
|
-
{
|
|
2506
|
-
"name": "context",
|
|
2507
|
-
"type": {
|
|
2508
|
-
"text": "ElementDefinitionContext"
|
|
2509
|
-
}
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
"name": "definition",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "FoundationElementDefinition"
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2618
|
+
"kind": "variable",
|
|
2619
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2620
|
+
"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`"
|
|
2518
2621
|
}
|
|
2519
2622
|
],
|
|
2520
2623
|
"exports": [
|
|
2521
2624
|
{
|
|
2522
2625
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2626
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2524
2627
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/
|
|
2628
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2629
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2527
2630
|
}
|
|
2528
2631
|
}
|
|
2529
2632
|
]
|
|
2530
2633
|
},
|
|
2531
2634
|
{
|
|
2532
2635
|
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/
|
|
2636
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2534
2637
|
"declarations": [
|
|
2535
2638
|
{
|
|
2536
|
-
"kind": "
|
|
2537
|
-
"name": "
|
|
2538
|
-
"
|
|
2539
|
-
"
|
|
2540
|
-
"text": "ViewTemplate<Accordion>"
|
|
2541
|
-
}
|
|
2639
|
+
"kind": "variable",
|
|
2640
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2542
2643
|
},
|
|
2543
|
-
"
|
|
2544
|
-
{
|
|
2545
|
-
"name": "context",
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "ElementDefinitionContext"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
"name": "definition",
|
|
2552
|
-
"type": {
|
|
2553
|
-
"text": "FoundationElementDefinition"
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
|
-
]
|
|
2644
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2557
2645
|
}
|
|
2558
2646
|
],
|
|
2559
2647
|
"exports": [
|
|
2560
2648
|
{
|
|
2561
2649
|
"kind": "js",
|
|
2562
|
-
"name": "
|
|
2650
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2563
2651
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2652
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2653
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2566
2654
|
}
|
|
2567
2655
|
}
|
|
2568
2656
|
]
|
|
2569
2657
|
},
|
|
2570
2658
|
{
|
|
2571
2659
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2660
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2573
2661
|
"declarations": [
|
|
2574
2662
|
{
|
|
2575
2663
|
"kind": "class",
|
|
2576
|
-
"description": "",
|
|
2577
|
-
"name": "
|
|
2578
|
-
"
|
|
2579
|
-
"name": "FASTAccordion",
|
|
2580
|
-
"package": "@microsoft/fast-foundation"
|
|
2581
|
-
},
|
|
2582
|
-
"tagName": "%%prefix%%-accordion",
|
|
2583
|
-
"customElement": true,
|
|
2584
|
-
"attributes": [
|
|
2664
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2665
|
+
"name": "AiCriteriaSearch",
|
|
2666
|
+
"members": [
|
|
2585
2667
|
{
|
|
2586
|
-
"
|
|
2668
|
+
"kind": "field",
|
|
2669
|
+
"name": "providerRegistry",
|
|
2587
2670
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
},
|
|
2590
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
-
"fieldName": "expandmode",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "Accordion",
|
|
2594
|
-
"module": "src/accordion/accordion.ts"
|
|
2671
|
+
"text": "AIProviderRegistry"
|
|
2595
2672
|
}
|
|
2596
|
-
}
|
|
2597
|
-
],
|
|
2598
|
-
"members": [
|
|
2673
|
+
},
|
|
2599
2674
|
{
|
|
2600
2675
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2676
|
+
"name": "placeholder",
|
|
2602
2677
|
"type": {
|
|
2603
|
-
"text": "
|
|
2678
|
+
"text": "string"
|
|
2604
2679
|
},
|
|
2605
|
-
"
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2680
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "field",
|
|
2684
|
+
"name": "disabled",
|
|
2685
|
+
"type": {
|
|
2686
|
+
"text": "boolean"
|
|
2610
2687
|
}
|
|
2611
2688
|
},
|
|
2612
2689
|
{
|
|
2613
2690
|
"kind": "field",
|
|
2614
|
-
"name": "
|
|
2691
|
+
"name": "inputValue",
|
|
2615
2692
|
"type": {
|
|
2616
|
-
"text": "string
|
|
2693
|
+
"text": "string"
|
|
2617
2694
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"inheritedFrom": {
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2622
|
-
}
|
|
2695
|
+
"default": "''"
|
|
2623
2696
|
},
|
|
2624
2697
|
{
|
|
2625
2698
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2699
|
+
"name": "isInterpreting",
|
|
2627
2700
|
"type": {
|
|
2628
|
-
"text": "
|
|
2701
|
+
"text": "boolean"
|
|
2629
2702
|
},
|
|
2630
|
-
"
|
|
2631
|
-
"default": "0",
|
|
2632
|
-
"inheritedFrom": {
|
|
2633
|
-
"name": "Accordion",
|
|
2634
|
-
"module": "src/accordion/accordion.ts"
|
|
2635
|
-
}
|
|
2703
|
+
"default": "false"
|
|
2636
2704
|
},
|
|
2637
2705
|
{
|
|
2638
2706
|
"kind": "field",
|
|
2639
|
-
"name": "
|
|
2707
|
+
"name": "lastValidCriteria",
|
|
2640
2708
|
"type": {
|
|
2641
|
-
"text": "
|
|
2709
|
+
"text": "string | null"
|
|
2642
2710
|
},
|
|
2643
|
-
"
|
|
2644
|
-
"inheritedFrom": {
|
|
2645
|
-
"name": "Accordion",
|
|
2646
|
-
"module": "src/accordion/accordion.ts"
|
|
2647
|
-
}
|
|
2711
|
+
"default": "null"
|
|
2648
2712
|
},
|
|
2649
2713
|
{
|
|
2650
2714
|
"kind": "field",
|
|
2651
|
-
"name": "
|
|
2652
|
-
"
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
}
|
|
2715
|
+
"name": "activeGroups",
|
|
2716
|
+
"type": {
|
|
2717
|
+
"text": "CriteriaGroup[]"
|
|
2718
|
+
},
|
|
2719
|
+
"default": "[]"
|
|
2657
2720
|
},
|
|
2658
2721
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "AccordionItem | null"
|
|
2665
|
-
}
|
|
2722
|
+
"kind": "field",
|
|
2723
|
+
"name": "showingChips",
|
|
2724
|
+
"type": {
|
|
2725
|
+
"text": "boolean"
|
|
2666
2726
|
},
|
|
2667
|
-
"
|
|
2668
|
-
"name": "Accordion",
|
|
2669
|
-
"module": "src/accordion/accordion.ts"
|
|
2670
|
-
}
|
|
2727
|
+
"default": "false"
|
|
2671
2728
|
},
|
|
2672
2729
|
{
|
|
2673
2730
|
"kind": "field",
|
|
2674
|
-
"name": "
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
}
|
|
2731
|
+
"name": "fieldMetadata",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "MetadataDetail[] | string[]"
|
|
2734
|
+
},
|
|
2735
|
+
"default": "[]"
|
|
2680
2736
|
},
|
|
2681
2737
|
{
|
|
2682
|
-
"kind": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
"type": {
|
|
2687
|
-
"text": "void"
|
|
2688
|
-
}
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "isRecording",
|
|
2740
|
+
"type": {
|
|
2741
|
+
"text": "boolean"
|
|
2689
2742
|
},
|
|
2690
|
-
"
|
|
2691
|
-
"name": "Accordion",
|
|
2692
|
-
"module": "src/accordion/accordion.ts"
|
|
2693
|
-
}
|
|
2743
|
+
"default": "false"
|
|
2694
2744
|
},
|
|
2695
2745
|
{
|
|
2696
2746
|
"kind": "field",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
}
|
|
2747
|
+
"name": "textAreaRef",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "HTMLTextAreaElement"
|
|
2750
|
+
},
|
|
2751
|
+
"privacy": "public"
|
|
2703
2752
|
},
|
|
2704
2753
|
{
|
|
2705
2754
|
"kind": "field",
|
|
2706
|
-
"name": "
|
|
2755
|
+
"name": "stopRecording",
|
|
2756
|
+
"type": {
|
|
2757
|
+
"text": "(() => void) | null"
|
|
2758
|
+
},
|
|
2707
2759
|
"privacy": "private",
|
|
2708
|
-
"
|
|
2709
|
-
"name": "Accordion",
|
|
2710
|
-
"module": "src/accordion/accordion.ts"
|
|
2711
|
-
}
|
|
2760
|
+
"default": "null"
|
|
2712
2761
|
},
|
|
2713
2762
|
{
|
|
2714
|
-
"kind": "
|
|
2715
|
-
"name": "
|
|
2763
|
+
"kind": "field",
|
|
2764
|
+
"name": "speechApplyDebounceTimer",
|
|
2765
|
+
"type": {
|
|
2766
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2767
|
+
},
|
|
2716
2768
|
"privacy": "private",
|
|
2717
|
-
"
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2769
|
+
"default": "null"
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"kind": "field",
|
|
2773
|
+
"name": "speechAvailable",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2721
2776
|
},
|
|
2722
|
-
"
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2777
|
+
"readonly": true
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"kind": "field",
|
|
2781
|
+
"name": "criteriaChips",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "CriteriaChip[]"
|
|
2784
|
+
},
|
|
2785
|
+
"readonly": true
|
|
2726
2786
|
},
|
|
2727
2787
|
{
|
|
2728
2788
|
"kind": "method",
|
|
2729
|
-
"name": "
|
|
2789
|
+
"name": "getFieldLabel",
|
|
2730
2790
|
"privacy": "private",
|
|
2731
2791
|
"return": {
|
|
2732
2792
|
"type": {
|
|
2733
|
-
"text": "
|
|
2793
|
+
"text": "string"
|
|
2734
2794
|
}
|
|
2735
2795
|
},
|
|
2736
|
-
"
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
"privacy": "private",
|
|
2745
|
-
"inheritedFrom": {
|
|
2746
|
-
"name": "Accordion",
|
|
2747
|
-
"module": "src/accordion/accordion.ts"
|
|
2748
|
-
}
|
|
2796
|
+
"parameters": [
|
|
2797
|
+
{
|
|
2798
|
+
"name": "fieldName",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "string"
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
]
|
|
2749
2804
|
},
|
|
2750
2805
|
{
|
|
2751
|
-
"kind": "
|
|
2752
|
-
"name": "
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2806
|
+
"kind": "method",
|
|
2807
|
+
"name": "toggleCriteriaView",
|
|
2808
|
+
"return": {
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "void"
|
|
2811
|
+
}
|
|
2757
2812
|
}
|
|
2758
2813
|
},
|
|
2759
2814
|
{
|
|
2760
2815
|
"kind": "method",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"privacy": "private",
|
|
2816
|
+
"name": "removeChip",
|
|
2763
2817
|
"return": {
|
|
2764
2818
|
"type": {
|
|
2765
2819
|
"text": "void"
|
|
@@ -2767,31 +2821,49 @@
|
|
|
2767
2821
|
},
|
|
2768
2822
|
"parameters": [
|
|
2769
2823
|
{
|
|
2770
|
-
"name": "
|
|
2824
|
+
"name": "groupIndex",
|
|
2825
|
+
"type": {
|
|
2826
|
+
"text": "number"
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"name": "clauseIndex",
|
|
2771
2831
|
"type": {
|
|
2772
2832
|
"text": "number"
|
|
2773
2833
|
}
|
|
2774
2834
|
}
|
|
2775
|
-
]
|
|
2776
|
-
"inheritedFrom": {
|
|
2777
|
-
"name": "Accordion",
|
|
2778
|
-
"module": "src/accordion/accordion.ts"
|
|
2779
|
-
}
|
|
2835
|
+
]
|
|
2780
2836
|
},
|
|
2781
2837
|
{
|
|
2782
2838
|
"kind": "method",
|
|
2783
|
-
"name": "
|
|
2784
|
-
"privacy": "private",
|
|
2839
|
+
"name": "clearChips",
|
|
2785
2840
|
"return": {
|
|
2786
2841
|
"type": {
|
|
2787
2842
|
"text": "void"
|
|
2788
2843
|
}
|
|
2789
|
-
},
|
|
2790
|
-
"inheritedFrom": {
|
|
2791
|
-
"name": "Accordion",
|
|
2792
|
-
"module": "src/accordion/accordion.ts"
|
|
2793
2844
|
}
|
|
2794
2845
|
},
|
|
2846
|
+
{
|
|
2847
|
+
"kind": "method",
|
|
2848
|
+
"name": "handleSubmit"
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"kind": "method",
|
|
2852
|
+
"name": "handleBlur"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"kind": "method",
|
|
2856
|
+
"name": "clear"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"kind": "method",
|
|
2860
|
+
"name": "toggleSpeechInput"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"kind": "method",
|
|
2864
|
+
"name": "clearSpeechApplyDebounce",
|
|
2865
|
+
"privacy": "private"
|
|
2866
|
+
},
|
|
2795
2867
|
{
|
|
2796
2868
|
"kind": "field",
|
|
2797
2869
|
"name": "_presentation",
|
|
@@ -2906,26 +2978,48 @@
|
|
|
2906
2978
|
],
|
|
2907
2979
|
"events": [
|
|
2908
2980
|
{
|
|
2909
|
-
"description": "
|
|
2910
|
-
"name": "
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2981
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2982
|
+
"name": "criteria-changed"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2986
|
+
"name": "validation-errors"
|
|
2915
2987
|
}
|
|
2916
|
-
]
|
|
2988
|
+
],
|
|
2989
|
+
"attributes": [
|
|
2990
|
+
{
|
|
2991
|
+
"name": "placeholder",
|
|
2992
|
+
"type": {
|
|
2993
|
+
"text": "string"
|
|
2994
|
+
},
|
|
2995
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2996
|
+
"fieldName": "placeholder"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "boolean"
|
|
3001
|
+
},
|
|
3002
|
+
"fieldName": "disabled"
|
|
3003
|
+
}
|
|
3004
|
+
],
|
|
3005
|
+
"superclass": {
|
|
3006
|
+
"name": "FoundationElement",
|
|
3007
|
+
"package": "@microsoft/fast-foundation"
|
|
3008
|
+
},
|
|
3009
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3010
|
+
"customElement": true
|
|
2917
3011
|
},
|
|
2918
3012
|
{
|
|
2919
3013
|
"kind": "variable",
|
|
2920
|
-
"name": "
|
|
3014
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2921
3015
|
"type": {
|
|
2922
3016
|
"text": "ShadowRootInit"
|
|
2923
3017
|
},
|
|
2924
|
-
"default": "
|
|
3018
|
+
"default": "undefined"
|
|
2925
3019
|
},
|
|
2926
3020
|
{
|
|
2927
3021
|
"kind": "variable",
|
|
2928
|
-
"name": "
|
|
3022
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2929
3023
|
"type": {
|
|
2930
3024
|
"text": "object"
|
|
2931
3025
|
},
|
|
@@ -2933,330 +3027,379 @@
|
|
|
2933
3027
|
},
|
|
2934
3028
|
{
|
|
2935
3029
|
"kind": "variable",
|
|
2936
|
-
"name": "
|
|
2937
|
-
"description": "The Foundation Accordion",
|
|
2938
|
-
"privacy": "public"
|
|
3030
|
+
"name": "foundationAiCriteriaSearch"
|
|
2939
3031
|
}
|
|
2940
3032
|
],
|
|
2941
3033
|
"exports": [
|
|
2942
3034
|
{
|
|
2943
3035
|
"kind": "js",
|
|
2944
|
-
"name": "
|
|
3036
|
+
"name": "AiCriteriaSearch",
|
|
2945
3037
|
"declaration": {
|
|
2946
|
-
"name": "
|
|
2947
|
-
"module": "src/
|
|
3038
|
+
"name": "AiCriteriaSearch",
|
|
3039
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2948
3040
|
}
|
|
2949
3041
|
},
|
|
2950
3042
|
{
|
|
2951
3043
|
"kind": "js",
|
|
2952
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2953
3045
|
"declaration": {
|
|
2954
|
-
"name": "
|
|
2955
|
-
"module": "src/
|
|
3046
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2956
3048
|
}
|
|
2957
3049
|
},
|
|
2958
3050
|
{
|
|
2959
3051
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
3052
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2961
3053
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
3054
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3055
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2964
3056
|
}
|
|
2965
3057
|
},
|
|
2966
3058
|
{
|
|
2967
3059
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
3060
|
+
"name": "foundationAiCriteriaSearch",
|
|
2969
3061
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
3062
|
+
"name": "foundationAiCriteriaSearch",
|
|
3063
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2972
3064
|
}
|
|
2973
3065
|
}
|
|
2974
3066
|
]
|
|
2975
3067
|
},
|
|
2976
3068
|
{
|
|
2977
3069
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
3070
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2979
3071
|
"declarations": [],
|
|
2980
3072
|
"exports": [
|
|
2981
3073
|
{
|
|
2982
3074
|
"kind": "js",
|
|
2983
|
-
"name": "
|
|
3075
|
+
"name": "AiCriteriaSearch",
|
|
2984
3076
|
"declaration": {
|
|
2985
|
-
"name": "
|
|
2986
|
-
"
|
|
3077
|
+
"name": "AiCriteriaSearch",
|
|
3078
|
+
"module": "./ai-criteria-search"
|
|
2987
3079
|
}
|
|
2988
3080
|
},
|
|
2989
3081
|
{
|
|
2990
3082
|
"kind": "js",
|
|
2991
|
-
"name": "
|
|
3083
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2992
3084
|
"declaration": {
|
|
2993
|
-
"name": "
|
|
2994
|
-
"
|
|
3085
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3086
|
+
"module": "./ai-criteria-search"
|
|
2995
3087
|
}
|
|
2996
3088
|
},
|
|
2997
3089
|
{
|
|
2998
3090
|
"kind": "js",
|
|
2999
|
-
"name": "
|
|
3091
|
+
"name": "foundationAiCriteriaSearch",
|
|
3000
3092
|
"declaration": {
|
|
3001
|
-
"name": "
|
|
3002
|
-
"
|
|
3093
|
+
"name": "foundationAiCriteriaSearch",
|
|
3094
|
+
"module": "./ai-criteria-search"
|
|
3003
3095
|
}
|
|
3004
|
-
}
|
|
3005
|
-
]
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
"kind": "javascript-module",
|
|
3009
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3010
|
-
"declarations": [
|
|
3096
|
+
},
|
|
3011
3097
|
{
|
|
3012
|
-
"kind": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3098
|
+
"kind": "js",
|
|
3099
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3100
|
+
"declaration": {
|
|
3101
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3102
|
+
"module": "./ai-criteria-search"
|
|
3103
|
+
}
|
|
3104
|
+
},
|
|
3018
3105
|
{
|
|
3019
3106
|
"kind": "js",
|
|
3020
3107
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3021
3108
|
"declaration": {
|
|
3022
3109
|
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
-
"module": "
|
|
3110
|
+
"module": "./ai-criteria-search.styles"
|
|
3024
3111
|
}
|
|
3025
|
-
}
|
|
3026
|
-
]
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "javascript-module",
|
|
3030
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3031
|
-
"declarations": [
|
|
3032
|
-
{
|
|
3033
|
-
"kind": "variable",
|
|
3034
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
-
"type": {
|
|
3036
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3037
|
-
},
|
|
3038
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3039
|
-
}
|
|
3040
|
-
],
|
|
3041
|
-
"exports": [
|
|
3112
|
+
},
|
|
3042
3113
|
{
|
|
3043
3114
|
"kind": "js",
|
|
3044
3115
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3045
3116
|
"declaration": {
|
|
3046
3117
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
-
"module": "
|
|
3118
|
+
"module": "./ai-criteria-search.template"
|
|
3048
3119
|
}
|
|
3049
|
-
}
|
|
3050
|
-
]
|
|
3051
|
-
},
|
|
3052
|
-
{
|
|
3053
|
-
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3055
|
-
"declarations": [
|
|
3120
|
+
},
|
|
3056
3121
|
{
|
|
3057
|
-
"kind": "
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3060
|
-
|
|
3122
|
+
"kind": "js",
|
|
3123
|
+
"name": "*",
|
|
3124
|
+
"declaration": {
|
|
3125
|
+
"name": "*",
|
|
3126
|
+
"package": "./validation/criteria-ir"
|
|
3127
|
+
}
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"kind": "js",
|
|
3131
|
+
"name": "*",
|
|
3132
|
+
"declaration": {
|
|
3133
|
+
"name": "*",
|
|
3134
|
+
"package": "./validation/operator-map"
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"kind": "js",
|
|
3139
|
+
"name": "*",
|
|
3140
|
+
"declaration": {
|
|
3141
|
+
"name": "*",
|
|
3142
|
+
"package": "./validation/schema-validator"
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
]
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"kind": "javascript-module",
|
|
3149
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3150
|
+
"declarations": [
|
|
3151
|
+
{
|
|
3152
|
+
"kind": "function",
|
|
3153
|
+
"name": "formatValidationErrors",
|
|
3154
|
+
"return": {
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "string"
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"parameters": [
|
|
3061
3160
|
{
|
|
3062
|
-
"
|
|
3063
|
-
"name": "providerRegistry",
|
|
3161
|
+
"name": "errors",
|
|
3064
3162
|
"type": {
|
|
3065
|
-
"text": "
|
|
3163
|
+
"text": "ValidationError[]"
|
|
3066
3164
|
}
|
|
3067
|
-
}
|
|
3165
|
+
}
|
|
3166
|
+
],
|
|
3167
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "function",
|
|
3171
|
+
"name": "showCriteriaError",
|
|
3172
|
+
"return": {
|
|
3173
|
+
"type": {
|
|
3174
|
+
"text": "void"
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3177
|
+
"parameters": [
|
|
3068
3178
|
{
|
|
3069
|
-
"
|
|
3070
|
-
"name": "placeholder",
|
|
3179
|
+
"name": "title",
|
|
3071
3180
|
"type": {
|
|
3072
3181
|
"text": "string"
|
|
3073
3182
|
},
|
|
3074
|
-
"
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "field",
|
|
3078
|
-
"name": "disabled",
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "boolean"
|
|
3081
|
-
}
|
|
3183
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3082
3184
|
},
|
|
3083
3185
|
{
|
|
3084
|
-
"
|
|
3085
|
-
"name": "inputValue",
|
|
3186
|
+
"name": "body",
|
|
3086
3187
|
"type": {
|
|
3087
3188
|
"text": "string"
|
|
3088
3189
|
},
|
|
3089
|
-
"
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "field",
|
|
3093
|
-
"name": "isInterpreting",
|
|
3094
|
-
"type": {
|
|
3095
|
-
"text": "boolean"
|
|
3096
|
-
},
|
|
3097
|
-
"default": "false"
|
|
3098
|
-
},
|
|
3099
|
-
{
|
|
3100
|
-
"kind": "field",
|
|
3101
|
-
"name": "lastValidCriteria",
|
|
3102
|
-
"type": {
|
|
3103
|
-
"text": "string | null"
|
|
3104
|
-
},
|
|
3105
|
-
"default": "null"
|
|
3106
|
-
},
|
|
3107
|
-
{
|
|
3108
|
-
"kind": "field",
|
|
3109
|
-
"name": "activeGroups",
|
|
3110
|
-
"type": {
|
|
3111
|
-
"text": "CriteriaGroup[]"
|
|
3112
|
-
},
|
|
3113
|
-
"default": "[]"
|
|
3190
|
+
"description": "Error message to display"
|
|
3114
3191
|
},
|
|
3115
3192
|
{
|
|
3116
|
-
"
|
|
3117
|
-
"name": "showingChips",
|
|
3193
|
+
"name": "tagName",
|
|
3118
3194
|
"type": {
|
|
3119
|
-
"text": "
|
|
3195
|
+
"text": "string"
|
|
3120
3196
|
},
|
|
3121
|
-
"
|
|
3122
|
-
}
|
|
3197
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3198
|
+
}
|
|
3199
|
+
],
|
|
3200
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3201
|
+
}
|
|
3202
|
+
],
|
|
3203
|
+
"exports": [
|
|
3204
|
+
{
|
|
3205
|
+
"kind": "js",
|
|
3206
|
+
"name": "formatValidationErrors",
|
|
3207
|
+
"declaration": {
|
|
3208
|
+
"name": "formatValidationErrors",
|
|
3209
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"kind": "js",
|
|
3214
|
+
"name": "showCriteriaError",
|
|
3215
|
+
"declaration": {
|
|
3216
|
+
"name": "showCriteriaError",
|
|
3217
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
]
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"kind": "javascript-module",
|
|
3224
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3225
|
+
"declarations": [
|
|
3226
|
+
{
|
|
3227
|
+
"kind": "function",
|
|
3228
|
+
"name": "foundationAccordionItemStyles",
|
|
3229
|
+
"return": {
|
|
3230
|
+
"type": {
|
|
3231
|
+
"text": "ElementStyles"
|
|
3232
|
+
}
|
|
3233
|
+
},
|
|
3234
|
+
"parameters": [
|
|
3123
3235
|
{
|
|
3124
|
-
"
|
|
3125
|
-
"name": "fieldMetadata",
|
|
3236
|
+
"name": "context",
|
|
3126
3237
|
"type": {
|
|
3127
|
-
"text": "
|
|
3128
|
-
}
|
|
3129
|
-
"default": "[]"
|
|
3238
|
+
"text": "ElementDefinitionContext"
|
|
3239
|
+
}
|
|
3130
3240
|
},
|
|
3131
3241
|
{
|
|
3132
|
-
"
|
|
3133
|
-
"name": "isRecording",
|
|
3242
|
+
"name": "definition",
|
|
3134
3243
|
"type": {
|
|
3135
|
-
"text": "
|
|
3136
|
-
}
|
|
3137
|
-
|
|
3138
|
-
|
|
3244
|
+
"text": "FoundationElementDefinition"
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3247
|
+
]
|
|
3248
|
+
}
|
|
3249
|
+
],
|
|
3250
|
+
"exports": [
|
|
3251
|
+
{
|
|
3252
|
+
"kind": "js",
|
|
3253
|
+
"name": "foundationAccordionItemStyles",
|
|
3254
|
+
"declaration": {
|
|
3255
|
+
"name": "foundationAccordionItemStyles",
|
|
3256
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
]
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"kind": "javascript-module",
|
|
3263
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3264
|
+
"declarations": [
|
|
3265
|
+
{
|
|
3266
|
+
"kind": "function",
|
|
3267
|
+
"name": "foundationAccordionItemTemplate",
|
|
3268
|
+
"return": {
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
"parameters": [
|
|
3139
3274
|
{
|
|
3140
|
-
"
|
|
3141
|
-
"name": "textAreaRef",
|
|
3275
|
+
"name": "context",
|
|
3142
3276
|
"type": {
|
|
3143
|
-
"text": "
|
|
3144
|
-
}
|
|
3145
|
-
"privacy": "public"
|
|
3277
|
+
"text": "ElementDefinitionContext"
|
|
3278
|
+
}
|
|
3146
3279
|
},
|
|
3147
3280
|
{
|
|
3148
|
-
"
|
|
3149
|
-
"name": "stopRecording",
|
|
3281
|
+
"name": "definition",
|
|
3150
3282
|
"type": {
|
|
3151
|
-
"text": "
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3283
|
+
"text": "FoundationElementDefinition"
|
|
3284
|
+
}
|
|
3285
|
+
}
|
|
3286
|
+
]
|
|
3287
|
+
}
|
|
3288
|
+
],
|
|
3289
|
+
"exports": [
|
|
3290
|
+
{
|
|
3291
|
+
"kind": "js",
|
|
3292
|
+
"name": "foundationAccordionItemTemplate",
|
|
3293
|
+
"declaration": {
|
|
3294
|
+
"name": "foundationAccordionItemTemplate",
|
|
3295
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
]
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"kind": "javascript-module",
|
|
3302
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3303
|
+
"declarations": [
|
|
3304
|
+
{
|
|
3305
|
+
"kind": "class",
|
|
3306
|
+
"description": "",
|
|
3307
|
+
"name": "AccordionItem",
|
|
3308
|
+
"superclass": {
|
|
3309
|
+
"name": "FASTAccordionItem",
|
|
3310
|
+
"package": "@microsoft/fast-components"
|
|
3311
|
+
},
|
|
3312
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3313
|
+
"customElement": true,
|
|
3314
|
+
"attributes": [
|
|
3156
3315
|
{
|
|
3157
|
-
"
|
|
3158
|
-
"name": "speechApplyDebounceTimer",
|
|
3316
|
+
"name": "heading-level",
|
|
3159
3317
|
"type": {
|
|
3160
|
-
"text": "
|
|
3318
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3161
3319
|
},
|
|
3162
|
-
"
|
|
3163
|
-
"
|
|
3320
|
+
"default": "2",
|
|
3321
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3322
|
+
"fieldName": "headinglevel",
|
|
3323
|
+
"inheritedFrom": {
|
|
3324
|
+
"name": "AccordionItem",
|
|
3325
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3326
|
+
}
|
|
3164
3327
|
},
|
|
3165
3328
|
{
|
|
3166
|
-
"kind": "field",
|
|
3167
|
-
"name": "speechAvailable",
|
|
3168
3329
|
"type": {
|
|
3169
3330
|
"text": "boolean"
|
|
3170
3331
|
},
|
|
3171
|
-
"
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
"
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
"text": "CriteriaChip[]"
|
|
3178
|
-
},
|
|
3179
|
-
"readonly": true
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
"kind": "method",
|
|
3183
|
-
"name": "getFieldLabel",
|
|
3184
|
-
"privacy": "private",
|
|
3185
|
-
"return": {
|
|
3186
|
-
"type": {
|
|
3187
|
-
"text": "string"
|
|
3188
|
-
}
|
|
3189
|
-
},
|
|
3190
|
-
"parameters": [
|
|
3191
|
-
{
|
|
3192
|
-
"name": "fieldName",
|
|
3193
|
-
"type": {
|
|
3194
|
-
"text": "string"
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
]
|
|
3198
|
-
},
|
|
3199
|
-
{
|
|
3200
|
-
"kind": "method",
|
|
3201
|
-
"name": "toggleCriteriaView",
|
|
3202
|
-
"return": {
|
|
3203
|
-
"type": {
|
|
3204
|
-
"text": "void"
|
|
3205
|
-
}
|
|
3332
|
+
"default": "false",
|
|
3333
|
+
"description": "Expands or collapses the item.",
|
|
3334
|
+
"fieldName": "expanded",
|
|
3335
|
+
"inheritedFrom": {
|
|
3336
|
+
"name": "AccordionItem",
|
|
3337
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3206
3338
|
}
|
|
3207
3339
|
},
|
|
3208
3340
|
{
|
|
3209
|
-
"
|
|
3210
|
-
"
|
|
3211
|
-
|
|
3212
|
-
"type": {
|
|
3213
|
-
"text": "void"
|
|
3214
|
-
}
|
|
3341
|
+
"name": "id",
|
|
3342
|
+
"type": {
|
|
3343
|
+
"text": "string"
|
|
3215
3344
|
},
|
|
3216
|
-
"
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"name": "clauseIndex",
|
|
3225
|
-
"type": {
|
|
3226
|
-
"text": "number"
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
]
|
|
3230
|
-
},
|
|
3231
|
-
{
|
|
3232
|
-
"kind": "method",
|
|
3233
|
-
"name": "clearChips",
|
|
3234
|
-
"return": {
|
|
3235
|
-
"type": {
|
|
3236
|
-
"text": "void"
|
|
3237
|
-
}
|
|
3345
|
+
"description": "The item ID",
|
|
3346
|
+
"fieldName": "id",
|
|
3347
|
+
"inheritedFrom": {
|
|
3348
|
+
"name": "AccordionItem",
|
|
3349
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3238
3350
|
}
|
|
3239
|
-
}
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
"name": "handleSubmit"
|
|
3243
|
-
},
|
|
3351
|
+
}
|
|
3352
|
+
],
|
|
3353
|
+
"members": [
|
|
3244
3354
|
{
|
|
3245
|
-
"kind": "
|
|
3246
|
-
"name": "
|
|
3355
|
+
"kind": "field",
|
|
3356
|
+
"name": "headinglevel",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3359
|
+
},
|
|
3360
|
+
"privacy": "public",
|
|
3361
|
+
"default": "2",
|
|
3362
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3363
|
+
"inheritedFrom": {
|
|
3364
|
+
"name": "AccordionItem",
|
|
3365
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3366
|
+
}
|
|
3247
3367
|
},
|
|
3248
3368
|
{
|
|
3249
|
-
"kind": "
|
|
3250
|
-
"name": "
|
|
3369
|
+
"kind": "field",
|
|
3370
|
+
"name": "expanded",
|
|
3371
|
+
"type": {
|
|
3372
|
+
"text": "boolean"
|
|
3373
|
+
},
|
|
3374
|
+
"privacy": "public",
|
|
3375
|
+
"default": "false",
|
|
3376
|
+
"description": "Expands or collapses the item.",
|
|
3377
|
+
"inheritedFrom": {
|
|
3378
|
+
"name": "AccordionItem",
|
|
3379
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3380
|
+
}
|
|
3251
3381
|
},
|
|
3252
3382
|
{
|
|
3253
|
-
"kind": "
|
|
3254
|
-
"name": "
|
|
3383
|
+
"kind": "field",
|
|
3384
|
+
"name": "id",
|
|
3385
|
+
"type": {
|
|
3386
|
+
"text": "string"
|
|
3387
|
+
},
|
|
3388
|
+
"privacy": "public",
|
|
3389
|
+
"description": "The item ID",
|
|
3390
|
+
"inheritedFrom": {
|
|
3391
|
+
"name": "AccordionItem",
|
|
3392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3393
|
+
}
|
|
3255
3394
|
},
|
|
3256
3395
|
{
|
|
3257
|
-
"kind": "
|
|
3258
|
-
"name": "
|
|
3259
|
-
"privacy": "private"
|
|
3396
|
+
"kind": "field",
|
|
3397
|
+
"name": "change",
|
|
3398
|
+
"privacy": "private",
|
|
3399
|
+
"inheritedFrom": {
|
|
3400
|
+
"name": "AccordionItem",
|
|
3401
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3402
|
+
}
|
|
3260
3403
|
},
|
|
3261
3404
|
{
|
|
3262
3405
|
"kind": "field",
|
|
@@ -3372,152 +3515,84 @@
|
|
|
3372
3515
|
],
|
|
3373
3516
|
"events": [
|
|
3374
3517
|
{
|
|
3375
|
-
"description": "
|
|
3376
|
-
"name": "
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"attributes": [
|
|
3384
|
-
{
|
|
3385
|
-
"name": "placeholder",
|
|
3386
|
-
"type": {
|
|
3387
|
-
"text": "string"
|
|
3388
|
-
},
|
|
3389
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
-
"fieldName": "placeholder"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
},
|
|
3396
|
-
"fieldName": "disabled"
|
|
3518
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3519
|
+
"name": "change",
|
|
3520
|
+
"inheritedFrom": {
|
|
3521
|
+
"name": "AccordionItem",
|
|
3522
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3523
|
+
}
|
|
3397
3524
|
}
|
|
3398
|
-
]
|
|
3399
|
-
"superclass": {
|
|
3400
|
-
"name": "FoundationElement",
|
|
3401
|
-
"package": "@microsoft/fast-foundation"
|
|
3402
|
-
},
|
|
3403
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
-
"customElement": true
|
|
3525
|
+
]
|
|
3405
3526
|
},
|
|
3406
3527
|
{
|
|
3407
3528
|
"kind": "variable",
|
|
3408
|
-
"name": "
|
|
3529
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3409
3530
|
"type": {
|
|
3410
3531
|
"text": "ShadowRootInit"
|
|
3411
3532
|
},
|
|
3412
|
-
"default": "
|
|
3533
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3413
3534
|
},
|
|
3414
3535
|
{
|
|
3415
3536
|
"kind": "variable",
|
|
3416
|
-
"name": "
|
|
3537
|
+
"name": "defaultAccordionItemConfig",
|
|
3417
3538
|
"type": {
|
|
3418
3539
|
"text": "object"
|
|
3419
3540
|
},
|
|
3420
|
-
"default": "{}"
|
|
3541
|
+
"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}"
|
|
3421
3542
|
},
|
|
3422
3543
|
{
|
|
3423
3544
|
"kind": "variable",
|
|
3424
|
-
"name": "
|
|
3545
|
+
"name": "foundationAccordionItem",
|
|
3546
|
+
"description": "The Foundation Accordion Item",
|
|
3547
|
+
"privacy": "public"
|
|
3425
3548
|
}
|
|
3426
3549
|
],
|
|
3427
3550
|
"exports": [
|
|
3428
3551
|
{
|
|
3429
3552
|
"kind": "js",
|
|
3430
|
-
"name": "
|
|
3553
|
+
"name": "AccordionItem",
|
|
3431
3554
|
"declaration": {
|
|
3432
|
-
"name": "
|
|
3433
|
-
"module": "src/
|
|
3555
|
+
"name": "AccordionItem",
|
|
3556
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3434
3557
|
}
|
|
3435
3558
|
},
|
|
3436
3559
|
{
|
|
3437
3560
|
"kind": "js",
|
|
3438
|
-
"name": "
|
|
3561
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3439
3562
|
"declaration": {
|
|
3440
|
-
"name": "
|
|
3441
|
-
"module": "src/
|
|
3563
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3564
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3442
3565
|
}
|
|
3443
3566
|
},
|
|
3444
3567
|
{
|
|
3445
3568
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3569
|
+
"name": "defaultAccordionItemConfig",
|
|
3447
3570
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/
|
|
3571
|
+
"name": "defaultAccordionItemConfig",
|
|
3572
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3450
3573
|
}
|
|
3451
3574
|
},
|
|
3452
3575
|
{
|
|
3453
3576
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3577
|
+
"name": "foundationAccordionItem",
|
|
3455
3578
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/
|
|
3579
|
+
"name": "foundationAccordionItem",
|
|
3580
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3458
3581
|
}
|
|
3459
3582
|
}
|
|
3460
3583
|
]
|
|
3461
3584
|
},
|
|
3462
3585
|
{
|
|
3463
3586
|
"kind": "javascript-module",
|
|
3464
|
-
"path": "src/
|
|
3587
|
+
"path": "src/accordion-item/index.ts",
|
|
3465
3588
|
"declarations": [],
|
|
3466
3589
|
"exports": [
|
|
3467
|
-
{
|
|
3468
|
-
"kind": "js",
|
|
3469
|
-
"name": "AiCriteriaSearch",
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "AiCriteriaSearch",
|
|
3472
|
-
"module": "./ai-criteria-search"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "js",
|
|
3477
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
-
"declaration": {
|
|
3479
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
-
"module": "./ai-criteria-search"
|
|
3481
|
-
}
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"kind": "js",
|
|
3485
|
-
"name": "foundationAiCriteriaSearch",
|
|
3486
|
-
"declaration": {
|
|
3487
|
-
"name": "foundationAiCriteriaSearch",
|
|
3488
|
-
"module": "./ai-criteria-search"
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
-
"module": "./ai-criteria-search"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
-
"module": "./ai-criteria-search.styles"
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "js",
|
|
3509
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
-
"declaration": {
|
|
3511
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
-
"module": "./ai-criteria-search.template"
|
|
3513
|
-
}
|
|
3514
|
-
},
|
|
3515
3590
|
{
|
|
3516
3591
|
"kind": "js",
|
|
3517
3592
|
"name": "*",
|
|
3518
3593
|
"declaration": {
|
|
3519
3594
|
"name": "*",
|
|
3520
|
-
"package": "./
|
|
3595
|
+
"package": "./accordion-item.template"
|
|
3521
3596
|
}
|
|
3522
3597
|
},
|
|
3523
3598
|
{
|
|
@@ -3525,7 +3600,7 @@
|
|
|
3525
3600
|
"name": "*",
|
|
3526
3601
|
"declaration": {
|
|
3527
3602
|
"name": "*",
|
|
3528
|
-
"package": "./
|
|
3603
|
+
"package": "./accordion-item.styles"
|
|
3529
3604
|
}
|
|
3530
3605
|
},
|
|
3531
3606
|
{
|
|
@@ -3533,82 +3608,7 @@
|
|
|
3533
3608
|
"name": "*",
|
|
3534
3609
|
"declaration": {
|
|
3535
3610
|
"name": "*",
|
|
3536
|
-
"package": "./
|
|
3537
|
-
}
|
|
3538
|
-
}
|
|
3539
|
-
]
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
"kind": "javascript-module",
|
|
3543
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
-
"declarations": [
|
|
3545
|
-
{
|
|
3546
|
-
"kind": "function",
|
|
3547
|
-
"name": "formatValidationErrors",
|
|
3548
|
-
"return": {
|
|
3549
|
-
"type": {
|
|
3550
|
-
"text": "string"
|
|
3551
|
-
}
|
|
3552
|
-
},
|
|
3553
|
-
"parameters": [
|
|
3554
|
-
{
|
|
3555
|
-
"name": "errors",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "ValidationError[]"
|
|
3558
|
-
}
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "function",
|
|
3565
|
-
"name": "showCriteriaError",
|
|
3566
|
-
"return": {
|
|
3567
|
-
"type": {
|
|
3568
|
-
"text": "void"
|
|
3569
|
-
}
|
|
3570
|
-
},
|
|
3571
|
-
"parameters": [
|
|
3572
|
-
{
|
|
3573
|
-
"name": "title",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "string"
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"name": "body",
|
|
3581
|
-
"type": {
|
|
3582
|
-
"text": "string"
|
|
3583
|
-
},
|
|
3584
|
-
"description": "Error message to display"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"name": "tagName",
|
|
3588
|
-
"type": {
|
|
3589
|
-
"text": "string"
|
|
3590
|
-
},
|
|
3591
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
-
}
|
|
3593
|
-
],
|
|
3594
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "js",
|
|
3600
|
-
"name": "formatValidationErrors",
|
|
3601
|
-
"declaration": {
|
|
3602
|
-
"name": "formatValidationErrors",
|
|
3603
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
-
}
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "js",
|
|
3608
|
-
"name": "showCriteriaError",
|
|
3609
|
-
"declaration": {
|
|
3610
|
-
"name": "showCriteriaError",
|
|
3611
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3611
|
+
"package": "./accordion-item"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|