@genesislcap/foundation-ui 15.90.1-GENC-1829.2 → 15.90.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +707 -707
- 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
|
@@ -1495,11 +1495,11 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/accordion
|
|
1498
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1499
1499
|
"declarations": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "function",
|
|
1502
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionStyles",
|
|
1503
1503
|
"return": {
|
|
1504
1504
|
"type": {
|
|
1505
1505
|
"text": "ElementStyles"
|
|
@@ -1524,24 +1524,24 @@
|
|
|
1524
1524
|
"exports": [
|
|
1525
1525
|
{
|
|
1526
1526
|
"kind": "js",
|
|
1527
|
-
"name": "
|
|
1527
|
+
"name": "foundationAccordionStyles",
|
|
1528
1528
|
"declaration": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"module": "src/accordion
|
|
1529
|
+
"name": "foundationAccordionStyles",
|
|
1530
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
]
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
1536
|
"kind": "javascript-module",
|
|
1537
|
-
"path": "src/accordion
|
|
1537
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1538
1538
|
"declarations": [
|
|
1539
1539
|
{
|
|
1540
1540
|
"kind": "function",
|
|
1541
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionTemplate",
|
|
1542
1542
|
"return": {
|
|
1543
1543
|
"type": {
|
|
1544
|
-
"text": "ViewTemplate<
|
|
1544
|
+
"text": "ViewTemplate<Accordion>"
|
|
1545
1545
|
}
|
|
1546
1546
|
},
|
|
1547
1547
|
"parameters": [
|
|
@@ -1563,116 +1563,237 @@
|
|
|
1563
1563
|
"exports": [
|
|
1564
1564
|
{
|
|
1565
1565
|
"kind": "js",
|
|
1566
|
-
"name": "
|
|
1566
|
+
"name": "foundationAccordionTemplate",
|
|
1567
1567
|
"declaration": {
|
|
1568
|
-
"name": "
|
|
1569
|
-
"module": "src/accordion
|
|
1568
|
+
"name": "foundationAccordionTemplate",
|
|
1569
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
]
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
1575
|
"kind": "javascript-module",
|
|
1576
|
-
"path": "src/accordion
|
|
1576
|
+
"path": "src/accordion/accordion.ts",
|
|
1577
1577
|
"declarations": [
|
|
1578
1578
|
{
|
|
1579
1579
|
"kind": "class",
|
|
1580
1580
|
"description": "",
|
|
1581
|
-
"name": "
|
|
1581
|
+
"name": "Accordion",
|
|
1582
1582
|
"superclass": {
|
|
1583
|
-
"name": "
|
|
1584
|
-
"package": "@microsoft/fast-
|
|
1583
|
+
"name": "FASTAccordion",
|
|
1584
|
+
"package": "@microsoft/fast-foundation"
|
|
1585
1585
|
},
|
|
1586
|
-
"tagName": "%%prefix%%-accordion
|
|
1586
|
+
"tagName": "%%prefix%%-accordion",
|
|
1587
1587
|
"customElement": true,
|
|
1588
1588
|
"attributes": [
|
|
1589
1589
|
{
|
|
1590
|
-
"name": "
|
|
1590
|
+
"name": "expand-mode",
|
|
1591
1591
|
"type": {
|
|
1592
|
-
"text": "
|
|
1592
|
+
"text": "AccordionExpandMode"
|
|
1593
1593
|
},
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1596
|
-
"fieldName": "headinglevel",
|
|
1594
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1595
|
+
"fieldName": "expandmode",
|
|
1597
1596
|
"inheritedFrom": {
|
|
1598
|
-
"name": "
|
|
1599
|
-
"module": "src/accordion
|
|
1597
|
+
"name": "Accordion",
|
|
1598
|
+
"module": "src/accordion/accordion.ts"
|
|
1600
1599
|
}
|
|
1601
|
-
}
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"members": [
|
|
1602
1603
|
{
|
|
1604
|
+
"kind": "field",
|
|
1605
|
+
"name": "expandmode",
|
|
1603
1606
|
"type": {
|
|
1604
|
-
"text": "
|
|
1607
|
+
"text": "AccordionExpandMode"
|
|
1605
1608
|
},
|
|
1606
|
-
"
|
|
1607
|
-
"description": "
|
|
1608
|
-
"fieldName": "expanded",
|
|
1609
|
+
"privacy": "public",
|
|
1610
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1609
1611
|
"inheritedFrom": {
|
|
1610
|
-
"name": "
|
|
1611
|
-
"module": "src/accordion
|
|
1612
|
+
"name": "Accordion",
|
|
1613
|
+
"module": "src/accordion/accordion.ts"
|
|
1612
1614
|
}
|
|
1613
1615
|
},
|
|
1614
1616
|
{
|
|
1615
|
-
"
|
|
1617
|
+
"kind": "field",
|
|
1618
|
+
"name": "activeid",
|
|
1616
1619
|
"type": {
|
|
1617
|
-
"text": "string"
|
|
1620
|
+
"text": "string | null"
|
|
1618
1621
|
},
|
|
1619
|
-
"
|
|
1620
|
-
"fieldName": "id",
|
|
1622
|
+
"privacy": "private",
|
|
1621
1623
|
"inheritedFrom": {
|
|
1622
|
-
"name": "
|
|
1623
|
-
"module": "src/accordion
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
1624
1626
|
}
|
|
1625
|
-
}
|
|
1626
|
-
],
|
|
1627
|
-
"members": [
|
|
1627
|
+
},
|
|
1628
1628
|
{
|
|
1629
1629
|
"kind": "field",
|
|
1630
|
-
"name": "
|
|
1630
|
+
"name": "activeItemIndex",
|
|
1631
1631
|
"type": {
|
|
1632
|
-
"text": "
|
|
1632
|
+
"text": "number"
|
|
1633
1633
|
},
|
|
1634
|
-
"privacy": "
|
|
1635
|
-
"default": "
|
|
1636
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1634
|
+
"privacy": "private",
|
|
1635
|
+
"default": "0",
|
|
1637
1636
|
"inheritedFrom": {
|
|
1638
|
-
"name": "
|
|
1639
|
-
"module": "src/accordion
|
|
1637
|
+
"name": "Accordion",
|
|
1638
|
+
"module": "src/accordion/accordion.ts"
|
|
1640
1639
|
}
|
|
1641
1640
|
},
|
|
1642
1641
|
{
|
|
1643
1642
|
"kind": "field",
|
|
1644
|
-
"name": "
|
|
1643
|
+
"name": "accordionIds",
|
|
1645
1644
|
"type": {
|
|
1646
|
-
"text": "
|
|
1645
|
+
"text": "Array<string | null>"
|
|
1647
1646
|
},
|
|
1648
|
-
"privacy": "
|
|
1649
|
-
"default": "false",
|
|
1650
|
-
"description": "Expands or collapses the item.",
|
|
1647
|
+
"privacy": "private",
|
|
1651
1648
|
"inheritedFrom": {
|
|
1652
|
-
"name": "
|
|
1653
|
-
"module": "src/accordion
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1654
1651
|
}
|
|
1655
1652
|
},
|
|
1656
1653
|
{
|
|
1657
1654
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1659
|
-
"
|
|
1660
|
-
|
|
1655
|
+
"name": "change",
|
|
1656
|
+
"privacy": "private",
|
|
1657
|
+
"inheritedFrom": {
|
|
1658
|
+
"name": "Accordion",
|
|
1659
|
+
"module": "src/accordion/accordion.ts"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"kind": "method",
|
|
1664
|
+
"name": "findExpandedItem",
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"return": {
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "AccordionItem | null"
|
|
1669
|
+
}
|
|
1661
1670
|
},
|
|
1662
|
-
"privacy": "public",
|
|
1663
|
-
"description": "The item ID",
|
|
1664
1671
|
"inheritedFrom": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "src/accordion
|
|
1672
|
+
"name": "Accordion",
|
|
1673
|
+
"module": "src/accordion/accordion.ts"
|
|
1667
1674
|
}
|
|
1668
1675
|
},
|
|
1669
1676
|
{
|
|
1670
1677
|
"kind": "field",
|
|
1671
|
-
"name": "
|
|
1678
|
+
"name": "setItems",
|
|
1672
1679
|
"privacy": "private",
|
|
1673
1680
|
"inheritedFrom": {
|
|
1674
|
-
"name": "
|
|
1675
|
-
"module": "src/accordion
|
|
1681
|
+
"name": "Accordion",
|
|
1682
|
+
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"kind": "method",
|
|
1687
|
+
"name": "resetItems",
|
|
1688
|
+
"privacy": "private",
|
|
1689
|
+
"return": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "void"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"inheritedFrom": {
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "field",
|
|
1701
|
+
"name": "removeItemListeners",
|
|
1702
|
+
"privacy": "private",
|
|
1703
|
+
"inheritedFrom": {
|
|
1704
|
+
"name": "Accordion",
|
|
1705
|
+
"module": "src/accordion/accordion.ts"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "activeItemChange",
|
|
1711
|
+
"privacy": "private",
|
|
1712
|
+
"inheritedFrom": {
|
|
1713
|
+
"name": "Accordion",
|
|
1714
|
+
"module": "src/accordion/accordion.ts"
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "method",
|
|
1719
|
+
"name": "getItemIds",
|
|
1720
|
+
"privacy": "private",
|
|
1721
|
+
"return": {
|
|
1722
|
+
"type": {
|
|
1723
|
+
"text": "Array<string | null>"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
"inheritedFrom": {
|
|
1727
|
+
"name": "Accordion",
|
|
1728
|
+
"module": "src/accordion/accordion.ts"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "method",
|
|
1733
|
+
"name": "isSingleExpandMode",
|
|
1734
|
+
"privacy": "private",
|
|
1735
|
+
"return": {
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "boolean"
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "Accordion",
|
|
1742
|
+
"module": "src/accordion/accordion.ts"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "handleItemKeyDown",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"inheritedFrom": {
|
|
1750
|
+
"name": "Accordion",
|
|
1751
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "handleItemFocus",
|
|
1757
|
+
"privacy": "private",
|
|
1758
|
+
"inheritedFrom": {
|
|
1759
|
+
"name": "Accordion",
|
|
1760
|
+
"module": "src/accordion/accordion.ts"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "method",
|
|
1765
|
+
"name": "adjust",
|
|
1766
|
+
"privacy": "private",
|
|
1767
|
+
"return": {
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "void"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"parameters": [
|
|
1773
|
+
{
|
|
1774
|
+
"name": "adjustment",
|
|
1775
|
+
"type": {
|
|
1776
|
+
"text": "number"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"inheritedFrom": {
|
|
1781
|
+
"name": "Accordion",
|
|
1782
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "method",
|
|
1787
|
+
"name": "focusItem",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"return": {
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "void"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"inheritedFrom": {
|
|
1795
|
+
"name": "Accordion",
|
|
1796
|
+
"module": "src/accordion/accordion.ts"
|
|
1676
1797
|
}
|
|
1677
1798
|
},
|
|
1678
1799
|
{
|
|
@@ -1789,18 +1910,18 @@
|
|
|
1789
1910
|
],
|
|
1790
1911
|
"events": [
|
|
1791
1912
|
{
|
|
1792
|
-
"description": "Fires a custom 'change' event when the
|
|
1913
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1793
1914
|
"name": "change",
|
|
1794
1915
|
"inheritedFrom": {
|
|
1795
|
-
"name": "
|
|
1796
|
-
"module": "src/accordion
|
|
1916
|
+
"name": "Accordion",
|
|
1917
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
1918
|
}
|
|
1798
1919
|
}
|
|
1799
1920
|
]
|
|
1800
1921
|
},
|
|
1801
1922
|
{
|
|
1802
1923
|
"kind": "variable",
|
|
1803
|
-
"name": "
|
|
1924
|
+
"name": "foundationAccordionShadowOptions",
|
|
1804
1925
|
"type": {
|
|
1805
1926
|
"text": "ShadowRootInit"
|
|
1806
1927
|
},
|
|
@@ -1808,57 +1929,57 @@
|
|
|
1808
1929
|
},
|
|
1809
1930
|
{
|
|
1810
1931
|
"kind": "variable",
|
|
1811
|
-
"name": "
|
|
1932
|
+
"name": "defaultAccordionConfig",
|
|
1812
1933
|
"type": {
|
|
1813
1934
|
"text": "object"
|
|
1814
1935
|
},
|
|
1815
|
-
"default": "{
|
|
1936
|
+
"default": "{}"
|
|
1816
1937
|
},
|
|
1817
1938
|
{
|
|
1818
1939
|
"kind": "variable",
|
|
1819
|
-
"name": "
|
|
1820
|
-
"description": "The Foundation Accordion
|
|
1940
|
+
"name": "foundationAccordion",
|
|
1941
|
+
"description": "The Foundation Accordion",
|
|
1821
1942
|
"privacy": "public"
|
|
1822
1943
|
}
|
|
1823
1944
|
],
|
|
1824
1945
|
"exports": [
|
|
1825
1946
|
{
|
|
1826
1947
|
"kind": "js",
|
|
1827
|
-
"name": "
|
|
1948
|
+
"name": "Accordion",
|
|
1828
1949
|
"declaration": {
|
|
1829
|
-
"name": "
|
|
1830
|
-
"module": "src/accordion
|
|
1950
|
+
"name": "Accordion",
|
|
1951
|
+
"module": "src/accordion/accordion.ts"
|
|
1831
1952
|
}
|
|
1832
1953
|
},
|
|
1833
1954
|
{
|
|
1834
1955
|
"kind": "js",
|
|
1835
|
-
"name": "
|
|
1956
|
+
"name": "foundationAccordionShadowOptions",
|
|
1836
1957
|
"declaration": {
|
|
1837
|
-
"name": "
|
|
1838
|
-
"module": "src/accordion
|
|
1958
|
+
"name": "foundationAccordionShadowOptions",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
1839
1960
|
}
|
|
1840
1961
|
},
|
|
1841
1962
|
{
|
|
1842
1963
|
"kind": "js",
|
|
1843
|
-
"name": "
|
|
1964
|
+
"name": "defaultAccordionConfig",
|
|
1844
1965
|
"declaration": {
|
|
1845
|
-
"name": "
|
|
1846
|
-
"module": "src/accordion
|
|
1966
|
+
"name": "defaultAccordionConfig",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
1847
1968
|
}
|
|
1848
1969
|
},
|
|
1849
1970
|
{
|
|
1850
1971
|
"kind": "js",
|
|
1851
|
-
"name": "
|
|
1972
|
+
"name": "foundationAccordion",
|
|
1852
1973
|
"declaration": {
|
|
1853
|
-
"name": "
|
|
1854
|
-
"module": "src/accordion
|
|
1974
|
+
"name": "foundationAccordion",
|
|
1975
|
+
"module": "src/accordion/accordion.ts"
|
|
1855
1976
|
}
|
|
1856
1977
|
}
|
|
1857
1978
|
]
|
|
1858
1979
|
},
|
|
1859
1980
|
{
|
|
1860
1981
|
"kind": "javascript-module",
|
|
1861
|
-
"path": "src/accordion
|
|
1982
|
+
"path": "src/accordion/index.ts",
|
|
1862
1983
|
"declarations": [],
|
|
1863
1984
|
"exports": [
|
|
1864
1985
|
{
|
|
@@ -1866,7 +1987,7 @@
|
|
|
1866
1987
|
"name": "*",
|
|
1867
1988
|
"declaration": {
|
|
1868
1989
|
"name": "*",
|
|
1869
|
-
"package": "./accordion
|
|
1990
|
+
"package": "./accordion.template"
|
|
1870
1991
|
}
|
|
1871
1992
|
},
|
|
1872
1993
|
{
|
|
@@ -1874,7 +1995,7 @@
|
|
|
1874
1995
|
"name": "*",
|
|
1875
1996
|
"declaration": {
|
|
1876
1997
|
"name": "*",
|
|
1877
|
-
"package": "./accordion
|
|
1998
|
+
"package": "./accordion.styles"
|
|
1878
1999
|
}
|
|
1879
2000
|
},
|
|
1880
2001
|
{
|
|
@@ -1882,7 +2003,7 @@
|
|
|
1882
2003
|
"name": "*",
|
|
1883
2004
|
"declaration": {
|
|
1884
2005
|
"name": "*",
|
|
1885
|
-
"package": "./accordion
|
|
2006
|
+
"package": "./accordion"
|
|
1886
2007
|
}
|
|
1887
2008
|
}
|
|
1888
2009
|
]
|
|
@@ -2645,316 +2766,244 @@
|
|
|
2645
2766
|
},
|
|
2646
2767
|
{
|
|
2647
2768
|
"kind": "javascript-module",
|
|
2648
|
-
"path": "src/
|
|
2769
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2649
2770
|
"declarations": [
|
|
2650
2771
|
{
|
|
2651
|
-
"kind": "
|
|
2652
|
-
"name": "
|
|
2653
|
-
"
|
|
2772
|
+
"kind": "function",
|
|
2773
|
+
"name": "foundationAccordionItemStyles",
|
|
2774
|
+
"return": {
|
|
2775
|
+
"type": {
|
|
2776
|
+
"text": "ElementStyles"
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
"parameters": [
|
|
2780
|
+
{
|
|
2781
|
+
"name": "context",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "ElementDefinitionContext"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "definition",
|
|
2788
|
+
"type": {
|
|
2789
|
+
"text": "FoundationElementDefinition"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
]
|
|
2654
2793
|
}
|
|
2655
2794
|
],
|
|
2656
2795
|
"exports": [
|
|
2657
2796
|
{
|
|
2658
2797
|
"kind": "js",
|
|
2659
|
-
"name": "
|
|
2798
|
+
"name": "foundationAccordionItemStyles",
|
|
2660
2799
|
"declaration": {
|
|
2661
|
-
"name": "
|
|
2662
|
-
"module": "src/
|
|
2800
|
+
"name": "foundationAccordionItemStyles",
|
|
2801
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2663
2802
|
}
|
|
2664
2803
|
}
|
|
2665
2804
|
]
|
|
2666
2805
|
},
|
|
2667
2806
|
{
|
|
2668
2807
|
"kind": "javascript-module",
|
|
2669
|
-
"path": "src/
|
|
2808
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2670
2809
|
"declarations": [
|
|
2671
2810
|
{
|
|
2672
|
-
"kind": "
|
|
2673
|
-
"name": "
|
|
2674
|
-
"
|
|
2675
|
-
"
|
|
2811
|
+
"kind": "function",
|
|
2812
|
+
"name": "foundationAccordionItemTemplate",
|
|
2813
|
+
"return": {
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2816
|
+
}
|
|
2676
2817
|
},
|
|
2677
|
-
"
|
|
2818
|
+
"parameters": [
|
|
2819
|
+
{
|
|
2820
|
+
"name": "context",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "ElementDefinitionContext"
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"name": "definition",
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "FoundationElementDefinition"
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
]
|
|
2678
2832
|
}
|
|
2679
2833
|
],
|
|
2680
2834
|
"exports": [
|
|
2681
2835
|
{
|
|
2682
2836
|
"kind": "js",
|
|
2683
|
-
"name": "
|
|
2837
|
+
"name": "foundationAccordionItemTemplate",
|
|
2684
2838
|
"declaration": {
|
|
2685
|
-
"name": "
|
|
2686
|
-
"module": "src/
|
|
2839
|
+
"name": "foundationAccordionItemTemplate",
|
|
2840
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2687
2841
|
}
|
|
2688
2842
|
}
|
|
2689
2843
|
]
|
|
2690
2844
|
},
|
|
2691
2845
|
{
|
|
2692
2846
|
"kind": "javascript-module",
|
|
2693
|
-
"path": "src/
|
|
2847
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2694
2848
|
"declarations": [
|
|
2695
2849
|
{
|
|
2696
2850
|
"kind": "class",
|
|
2697
|
-
"description": "
|
|
2698
|
-
"name": "
|
|
2699
|
-
"
|
|
2851
|
+
"description": "",
|
|
2852
|
+
"name": "AccordionItem",
|
|
2853
|
+
"superclass": {
|
|
2854
|
+
"name": "FASTAccordionItem",
|
|
2855
|
+
"package": "@microsoft/fast-components"
|
|
2856
|
+
},
|
|
2857
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2858
|
+
"customElement": true,
|
|
2859
|
+
"attributes": [
|
|
2700
2860
|
{
|
|
2701
|
-
"
|
|
2702
|
-
"name": "providerRegistry",
|
|
2861
|
+
"name": "heading-level",
|
|
2703
2862
|
"type": {
|
|
2704
|
-
"text": "
|
|
2863
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2864
|
+
},
|
|
2865
|
+
"default": "2",
|
|
2866
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2867
|
+
"fieldName": "headinglevel",
|
|
2868
|
+
"inheritedFrom": {
|
|
2869
|
+
"name": "AccordionItem",
|
|
2870
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2705
2871
|
}
|
|
2706
2872
|
},
|
|
2707
2873
|
{
|
|
2708
|
-
"kind": "field",
|
|
2709
|
-
"name": "placeholder",
|
|
2710
2874
|
"type": {
|
|
2711
|
-
"text": "
|
|
2875
|
+
"text": "boolean"
|
|
2712
2876
|
},
|
|
2713
|
-
"default": "
|
|
2877
|
+
"default": "false",
|
|
2878
|
+
"description": "Expands or collapses the item.",
|
|
2879
|
+
"fieldName": "expanded",
|
|
2880
|
+
"inheritedFrom": {
|
|
2881
|
+
"name": "AccordionItem",
|
|
2882
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2883
|
+
}
|
|
2714
2884
|
},
|
|
2715
2885
|
{
|
|
2716
|
-
"
|
|
2717
|
-
"name": "disabled",
|
|
2886
|
+
"name": "id",
|
|
2718
2887
|
"type": {
|
|
2719
|
-
"text": "
|
|
2888
|
+
"text": "string"
|
|
2889
|
+
},
|
|
2890
|
+
"description": "The item ID",
|
|
2891
|
+
"fieldName": "id",
|
|
2892
|
+
"inheritedFrom": {
|
|
2893
|
+
"name": "AccordionItem",
|
|
2894
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2720
2895
|
}
|
|
2721
|
-
}
|
|
2896
|
+
}
|
|
2897
|
+
],
|
|
2898
|
+
"members": [
|
|
2722
2899
|
{
|
|
2723
2900
|
"kind": "field",
|
|
2724
|
-
"name": "
|
|
2901
|
+
"name": "headinglevel",
|
|
2725
2902
|
"type": {
|
|
2726
|
-
"text": "
|
|
2903
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2727
2904
|
},
|
|
2728
|
-
"
|
|
2905
|
+
"privacy": "public",
|
|
2906
|
+
"default": "2",
|
|
2907
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2908
|
+
"inheritedFrom": {
|
|
2909
|
+
"name": "AccordionItem",
|
|
2910
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2911
|
+
}
|
|
2729
2912
|
},
|
|
2730
2913
|
{
|
|
2731
2914
|
"kind": "field",
|
|
2732
|
-
"name": "
|
|
2915
|
+
"name": "expanded",
|
|
2733
2916
|
"type": {
|
|
2734
2917
|
"text": "boolean"
|
|
2735
2918
|
},
|
|
2736
|
-
"
|
|
2919
|
+
"privacy": "public",
|
|
2920
|
+
"default": "false",
|
|
2921
|
+
"description": "Expands or collapses the item.",
|
|
2922
|
+
"inheritedFrom": {
|
|
2923
|
+
"name": "AccordionItem",
|
|
2924
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2925
|
+
}
|
|
2737
2926
|
},
|
|
2738
2927
|
{
|
|
2739
2928
|
"kind": "field",
|
|
2740
|
-
"name": "
|
|
2929
|
+
"name": "id",
|
|
2741
2930
|
"type": {
|
|
2742
|
-
"text": "string
|
|
2931
|
+
"text": "string"
|
|
2743
2932
|
},
|
|
2744
|
-
"
|
|
2933
|
+
"privacy": "public",
|
|
2934
|
+
"description": "The item ID",
|
|
2935
|
+
"inheritedFrom": {
|
|
2936
|
+
"name": "AccordionItem",
|
|
2937
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2938
|
+
}
|
|
2745
2939
|
},
|
|
2746
2940
|
{
|
|
2747
2941
|
"kind": "field",
|
|
2748
|
-
"name": "
|
|
2749
|
-
"
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2942
|
+
"name": "change",
|
|
2943
|
+
"privacy": "private",
|
|
2944
|
+
"inheritedFrom": {
|
|
2945
|
+
"name": "AccordionItem",
|
|
2946
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2947
|
+
}
|
|
2753
2948
|
},
|
|
2754
2949
|
{
|
|
2755
2950
|
"kind": "field",
|
|
2756
|
-
"name": "
|
|
2951
|
+
"name": "_presentation",
|
|
2757
2952
|
"type": {
|
|
2758
|
-
"text": "
|
|
2953
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2759
2954
|
},
|
|
2760
|
-
"
|
|
2955
|
+
"privacy": "private",
|
|
2956
|
+
"default": "void 0",
|
|
2957
|
+
"inheritedFrom": {
|
|
2958
|
+
"name": "FoundationElement",
|
|
2959
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2960
|
+
}
|
|
2761
2961
|
},
|
|
2762
2962
|
{
|
|
2763
2963
|
"kind": "field",
|
|
2764
|
-
"name": "
|
|
2964
|
+
"name": "$presentation",
|
|
2765
2965
|
"type": {
|
|
2766
|
-
"text": "
|
|
2966
|
+
"text": "ComponentPresentation | null"
|
|
2767
2967
|
},
|
|
2768
|
-
"
|
|
2968
|
+
"privacy": "public",
|
|
2969
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2970
|
+
"inheritedFrom": {
|
|
2971
|
+
"name": "FoundationElement",
|
|
2972
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2973
|
+
}
|
|
2769
2974
|
},
|
|
2770
2975
|
{
|
|
2771
2976
|
"kind": "field",
|
|
2772
|
-
"name": "
|
|
2977
|
+
"name": "template",
|
|
2773
2978
|
"type": {
|
|
2774
|
-
"text": "
|
|
2979
|
+
"text": "ElementViewTemplate | void | null"
|
|
2775
2980
|
},
|
|
2776
|
-
"
|
|
2981
|
+
"privacy": "public",
|
|
2982
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2983
|
+
"inheritedFrom": {
|
|
2984
|
+
"name": "FoundationElement",
|
|
2985
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2986
|
+
}
|
|
2777
2987
|
},
|
|
2778
2988
|
{
|
|
2779
|
-
"kind": "
|
|
2780
|
-
"name": "
|
|
2781
|
-
"
|
|
2782
|
-
|
|
2989
|
+
"kind": "method",
|
|
2990
|
+
"name": "templateChanged",
|
|
2991
|
+
"privacy": "protected",
|
|
2992
|
+
"return": {
|
|
2993
|
+
"type": {
|
|
2994
|
+
"text": "void"
|
|
2995
|
+
}
|
|
2783
2996
|
},
|
|
2784
|
-
"
|
|
2997
|
+
"inheritedFrom": {
|
|
2998
|
+
"name": "FoundationElement",
|
|
2999
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3000
|
+
}
|
|
2785
3001
|
},
|
|
2786
3002
|
{
|
|
2787
3003
|
"kind": "field",
|
|
2788
|
-
"name": "
|
|
3004
|
+
"name": "styles",
|
|
2789
3005
|
"type": {
|
|
2790
|
-
"text": "
|
|
2791
|
-
},
|
|
2792
|
-
"privacy": "private",
|
|
2793
|
-
"default": "null"
|
|
2794
|
-
},
|
|
2795
|
-
{
|
|
2796
|
-
"kind": "field",
|
|
2797
|
-
"name": "speechApplyDebounceTimer",
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2800
|
-
},
|
|
2801
|
-
"privacy": "private",
|
|
2802
|
-
"default": "null"
|
|
2803
|
-
},
|
|
2804
|
-
{
|
|
2805
|
-
"kind": "field",
|
|
2806
|
-
"name": "speechAvailable",
|
|
2807
|
-
"type": {
|
|
2808
|
-
"text": "boolean"
|
|
2809
|
-
},
|
|
2810
|
-
"readonly": true
|
|
2811
|
-
},
|
|
2812
|
-
{
|
|
2813
|
-
"kind": "field",
|
|
2814
|
-
"name": "criteriaChips",
|
|
2815
|
-
"type": {
|
|
2816
|
-
"text": "CriteriaChip[]"
|
|
2817
|
-
},
|
|
2818
|
-
"readonly": true
|
|
2819
|
-
},
|
|
2820
|
-
{
|
|
2821
|
-
"kind": "method",
|
|
2822
|
-
"name": "getFieldLabel",
|
|
2823
|
-
"privacy": "private",
|
|
2824
|
-
"return": {
|
|
2825
|
-
"type": {
|
|
2826
|
-
"text": "string"
|
|
2827
|
-
}
|
|
2828
|
-
},
|
|
2829
|
-
"parameters": [
|
|
2830
|
-
{
|
|
2831
|
-
"name": "fieldName",
|
|
2832
|
-
"type": {
|
|
2833
|
-
"text": "string"
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
]
|
|
2837
|
-
},
|
|
2838
|
-
{
|
|
2839
|
-
"kind": "method",
|
|
2840
|
-
"name": "toggleCriteriaView",
|
|
2841
|
-
"return": {
|
|
2842
|
-
"type": {
|
|
2843
|
-
"text": "void"
|
|
2844
|
-
}
|
|
2845
|
-
}
|
|
2846
|
-
},
|
|
2847
|
-
{
|
|
2848
|
-
"kind": "method",
|
|
2849
|
-
"name": "removeChip",
|
|
2850
|
-
"return": {
|
|
2851
|
-
"type": {
|
|
2852
|
-
"text": "void"
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
"parameters": [
|
|
2856
|
-
{
|
|
2857
|
-
"name": "groupIndex",
|
|
2858
|
-
"type": {
|
|
2859
|
-
"text": "number"
|
|
2860
|
-
}
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"name": "clauseIndex",
|
|
2864
|
-
"type": {
|
|
2865
|
-
"text": "number"
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2868
|
-
]
|
|
2869
|
-
},
|
|
2870
|
-
{
|
|
2871
|
-
"kind": "method",
|
|
2872
|
-
"name": "clearChips",
|
|
2873
|
-
"return": {
|
|
2874
|
-
"type": {
|
|
2875
|
-
"text": "void"
|
|
2876
|
-
}
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "method",
|
|
2881
|
-
"name": "handleSubmit"
|
|
2882
|
-
},
|
|
2883
|
-
{
|
|
2884
|
-
"kind": "method",
|
|
2885
|
-
"name": "handleBlur"
|
|
2886
|
-
},
|
|
2887
|
-
{
|
|
2888
|
-
"kind": "method",
|
|
2889
|
-
"name": "clear"
|
|
2890
|
-
},
|
|
2891
|
-
{
|
|
2892
|
-
"kind": "method",
|
|
2893
|
-
"name": "toggleSpeechInput"
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"kind": "method",
|
|
2897
|
-
"name": "clearSpeechApplyDebounce",
|
|
2898
|
-
"privacy": "private"
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"kind": "field",
|
|
2902
|
-
"name": "_presentation",
|
|
2903
|
-
"type": {
|
|
2904
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2905
|
-
},
|
|
2906
|
-
"privacy": "private",
|
|
2907
|
-
"default": "void 0",
|
|
2908
|
-
"inheritedFrom": {
|
|
2909
|
-
"name": "FoundationElement",
|
|
2910
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2911
|
-
}
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"kind": "field",
|
|
2915
|
-
"name": "$presentation",
|
|
2916
|
-
"type": {
|
|
2917
|
-
"text": "ComponentPresentation | null"
|
|
2918
|
-
},
|
|
2919
|
-
"privacy": "public",
|
|
2920
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2921
|
-
"inheritedFrom": {
|
|
2922
|
-
"name": "FoundationElement",
|
|
2923
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2924
|
-
}
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "field",
|
|
2928
|
-
"name": "template",
|
|
2929
|
-
"type": {
|
|
2930
|
-
"text": "ElementViewTemplate | void | null"
|
|
2931
|
-
},
|
|
2932
|
-
"privacy": "public",
|
|
2933
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2934
|
-
"inheritedFrom": {
|
|
2935
|
-
"name": "FoundationElement",
|
|
2936
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2937
|
-
}
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
"kind": "method",
|
|
2941
|
-
"name": "templateChanged",
|
|
2942
|
-
"privacy": "protected",
|
|
2943
|
-
"return": {
|
|
2944
|
-
"type": {
|
|
2945
|
-
"text": "void"
|
|
2946
|
-
}
|
|
2947
|
-
},
|
|
2948
|
-
"inheritedFrom": {
|
|
2949
|
-
"name": "FoundationElement",
|
|
2950
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2951
|
-
}
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"kind": "field",
|
|
2955
|
-
"name": "styles",
|
|
2956
|
-
"type": {
|
|
2957
|
-
"text": "ElementStyles | void | null"
|
|
3006
|
+
"text": "ElementStyles | void | null"
|
|
2958
3007
|
},
|
|
2959
3008
|
"privacy": "public",
|
|
2960
3009
|
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
@@ -3011,518 +3060,308 @@
|
|
|
3011
3060
|
],
|
|
3012
3061
|
"events": [
|
|
3013
3062
|
{
|
|
3014
|
-
"description": "
|
|
3015
|
-
"name": "
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
}
|
|
3021
|
-
],
|
|
3022
|
-
"attributes": [
|
|
3023
|
-
{
|
|
3024
|
-
"name": "placeholder",
|
|
3025
|
-
"type": {
|
|
3026
|
-
"text": "string"
|
|
3027
|
-
},
|
|
3028
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3029
|
-
"fieldName": "placeholder"
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
"type": {
|
|
3033
|
-
"text": "boolean"
|
|
3034
|
-
},
|
|
3035
|
-
"fieldName": "disabled"
|
|
3063
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3064
|
+
"name": "change",
|
|
3065
|
+
"inheritedFrom": {
|
|
3066
|
+
"name": "AccordionItem",
|
|
3067
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3068
|
+
}
|
|
3036
3069
|
}
|
|
3037
|
-
]
|
|
3038
|
-
"superclass": {
|
|
3039
|
-
"name": "FoundationElement",
|
|
3040
|
-
"package": "@microsoft/fast-foundation"
|
|
3041
|
-
},
|
|
3042
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3043
|
-
"customElement": true
|
|
3070
|
+
]
|
|
3044
3071
|
},
|
|
3045
3072
|
{
|
|
3046
3073
|
"kind": "variable",
|
|
3047
|
-
"name": "
|
|
3074
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3048
3075
|
"type": {
|
|
3049
3076
|
"text": "ShadowRootInit"
|
|
3050
3077
|
},
|
|
3051
|
-
"default": "
|
|
3078
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3052
3079
|
},
|
|
3053
3080
|
{
|
|
3054
3081
|
"kind": "variable",
|
|
3055
|
-
"name": "
|
|
3082
|
+
"name": "defaultAccordionItemConfig",
|
|
3056
3083
|
"type": {
|
|
3057
3084
|
"text": "object"
|
|
3058
3085
|
},
|
|
3059
|
-
"default": "{}"
|
|
3086
|
+
"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}"
|
|
3060
3087
|
},
|
|
3061
3088
|
{
|
|
3062
3089
|
"kind": "variable",
|
|
3063
|
-
"name": "
|
|
3090
|
+
"name": "foundationAccordionItem",
|
|
3091
|
+
"description": "The Foundation Accordion Item",
|
|
3092
|
+
"privacy": "public"
|
|
3064
3093
|
}
|
|
3065
3094
|
],
|
|
3066
3095
|
"exports": [
|
|
3067
3096
|
{
|
|
3068
3097
|
"kind": "js",
|
|
3069
|
-
"name": "
|
|
3098
|
+
"name": "AccordionItem",
|
|
3070
3099
|
"declaration": {
|
|
3071
|
-
"name": "
|
|
3072
|
-
"module": "src/
|
|
3100
|
+
"name": "AccordionItem",
|
|
3101
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3073
3102
|
}
|
|
3074
3103
|
},
|
|
3075
3104
|
{
|
|
3076
3105
|
"kind": "js",
|
|
3077
|
-
"name": "
|
|
3106
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3078
3107
|
"declaration": {
|
|
3079
|
-
"name": "
|
|
3080
|
-
"module": "src/
|
|
3108
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3109
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3081
3110
|
}
|
|
3082
3111
|
},
|
|
3083
3112
|
{
|
|
3084
3113
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
3114
|
+
"name": "defaultAccordionItemConfig",
|
|
3086
3115
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"module": "src/
|
|
3116
|
+
"name": "defaultAccordionItemConfig",
|
|
3117
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3089
3118
|
}
|
|
3090
3119
|
},
|
|
3091
3120
|
{
|
|
3092
3121
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
3122
|
+
"name": "foundationAccordionItem",
|
|
3094
3123
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"module": "src/
|
|
3124
|
+
"name": "foundationAccordionItem",
|
|
3125
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3097
3126
|
}
|
|
3098
3127
|
}
|
|
3099
3128
|
]
|
|
3100
3129
|
},
|
|
3101
3130
|
{
|
|
3102
3131
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3132
|
+
"path": "src/accordion-item/index.ts",
|
|
3104
3133
|
"declarations": [],
|
|
3105
3134
|
"exports": [
|
|
3106
3135
|
{
|
|
3107
3136
|
"kind": "js",
|
|
3108
|
-
"name": "
|
|
3137
|
+
"name": "*",
|
|
3109
3138
|
"declaration": {
|
|
3110
|
-
"name": "
|
|
3111
|
-
"
|
|
3139
|
+
"name": "*",
|
|
3140
|
+
"package": "./accordion-item.template"
|
|
3112
3141
|
}
|
|
3113
3142
|
},
|
|
3114
3143
|
{
|
|
3115
3144
|
"kind": "js",
|
|
3116
|
-
"name": "
|
|
3145
|
+
"name": "*",
|
|
3117
3146
|
"declaration": {
|
|
3118
|
-
"name": "
|
|
3119
|
-
"
|
|
3147
|
+
"name": "*",
|
|
3148
|
+
"package": "./accordion-item.styles"
|
|
3120
3149
|
}
|
|
3121
3150
|
},
|
|
3122
3151
|
{
|
|
3123
3152
|
"kind": "js",
|
|
3124
|
-
"name": "
|
|
3125
|
-
"declaration": {
|
|
3126
|
-
"name": "foundationAiCriteriaSearch",
|
|
3127
|
-
"module": "./ai-criteria-search"
|
|
3128
|
-
}
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "js",
|
|
3132
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3133
|
-
"declaration": {
|
|
3134
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3135
|
-
"module": "./ai-criteria-search"
|
|
3136
|
-
}
|
|
3137
|
-
},
|
|
3138
|
-
{
|
|
3139
|
-
"kind": "js",
|
|
3140
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3141
|
-
"declaration": {
|
|
3142
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3143
|
-
"module": "./ai-criteria-search.styles"
|
|
3144
|
-
}
|
|
3145
|
-
},
|
|
3146
|
-
{
|
|
3147
|
-
"kind": "js",
|
|
3148
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3149
|
-
"declaration": {
|
|
3150
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3151
|
-
"module": "./ai-criteria-search.template"
|
|
3152
|
-
}
|
|
3153
|
-
},
|
|
3154
|
-
{
|
|
3155
|
-
"kind": "js",
|
|
3156
|
-
"name": "*",
|
|
3157
|
-
"declaration": {
|
|
3158
|
-
"name": "*",
|
|
3159
|
-
"package": "./validation/criteria-ir"
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"kind": "js",
|
|
3164
|
-
"name": "*",
|
|
3153
|
+
"name": "*",
|
|
3165
3154
|
"declaration": {
|
|
3166
3155
|
"name": "*",
|
|
3167
|
-
"package": "./
|
|
3168
|
-
}
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
"kind": "js",
|
|
3172
|
-
"name": "*",
|
|
3173
|
-
"declaration": {
|
|
3174
|
-
"name": "*",
|
|
3175
|
-
"package": "./validation/schema-validator"
|
|
3156
|
+
"package": "./accordion-item"
|
|
3176
3157
|
}
|
|
3177
3158
|
}
|
|
3178
3159
|
]
|
|
3179
3160
|
},
|
|
3180
3161
|
{
|
|
3181
3162
|
"kind": "javascript-module",
|
|
3182
|
-
"path": "src/ai-criteria-search/
|
|
3163
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3183
3164
|
"declarations": [
|
|
3184
3165
|
{
|
|
3185
|
-
"kind": "
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "string"
|
|
3190
|
-
}
|
|
3191
|
-
},
|
|
3192
|
-
"parameters": [
|
|
3193
|
-
{
|
|
3194
|
-
"name": "errors",
|
|
3195
|
-
"type": {
|
|
3196
|
-
"text": "ValidationError[]"
|
|
3197
|
-
}
|
|
3198
|
-
}
|
|
3199
|
-
],
|
|
3200
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
"kind": "function",
|
|
3204
|
-
"name": "showCriteriaError",
|
|
3205
|
-
"return": {
|
|
3206
|
-
"type": {
|
|
3207
|
-
"text": "void"
|
|
3208
|
-
}
|
|
3209
|
-
},
|
|
3210
|
-
"parameters": [
|
|
3211
|
-
{
|
|
3212
|
-
"name": "title",
|
|
3213
|
-
"type": {
|
|
3214
|
-
"text": "string"
|
|
3215
|
-
},
|
|
3216
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3217
|
-
},
|
|
3218
|
-
{
|
|
3219
|
-
"name": "body",
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "string"
|
|
3222
|
-
},
|
|
3223
|
-
"description": "Error message to display"
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"name": "tagName",
|
|
3227
|
-
"type": {
|
|
3228
|
-
"text": "string"
|
|
3229
|
-
},
|
|
3230
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3231
|
-
}
|
|
3232
|
-
],
|
|
3233
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3166
|
+
"kind": "variable",
|
|
3167
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3168
|
+
"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`"
|
|
3234
3169
|
}
|
|
3235
3170
|
],
|
|
3236
3171
|
"exports": [
|
|
3237
3172
|
{
|
|
3238
3173
|
"kind": "js",
|
|
3239
|
-
"name": "
|
|
3240
|
-
"declaration": {
|
|
3241
|
-
"name": "formatValidationErrors",
|
|
3242
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3243
|
-
}
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
"kind": "js",
|
|
3247
|
-
"name": "showCriteriaError",
|
|
3174
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3248
3175
|
"declaration": {
|
|
3249
|
-
"name": "
|
|
3250
|
-
"module": "src/ai-criteria-search/
|
|
3176
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3177
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3251
3178
|
}
|
|
3252
3179
|
}
|
|
3253
3180
|
]
|
|
3254
3181
|
},
|
|
3255
3182
|
{
|
|
3256
3183
|
"kind": "javascript-module",
|
|
3257
|
-
"path": "src/
|
|
3184
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3258
3185
|
"declarations": [
|
|
3259
3186
|
{
|
|
3260
|
-
"kind": "
|
|
3261
|
-
"name": "
|
|
3262
|
-
"
|
|
3263
|
-
"
|
|
3264
|
-
"text": "ElementStyles"
|
|
3265
|
-
}
|
|
3187
|
+
"kind": "variable",
|
|
3188
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3189
|
+
"type": {
|
|
3190
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3266
3191
|
},
|
|
3267
|
-
"
|
|
3268
|
-
{
|
|
3269
|
-
"name": "context",
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "ElementDefinitionContext"
|
|
3272
|
-
}
|
|
3273
|
-
},
|
|
3274
|
-
{
|
|
3275
|
-
"name": "definition",
|
|
3276
|
-
"type": {
|
|
3277
|
-
"text": "FoundationElementDefinition"
|
|
3278
|
-
}
|
|
3279
|
-
}
|
|
3280
|
-
]
|
|
3192
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3281
3193
|
}
|
|
3282
3194
|
],
|
|
3283
3195
|
"exports": [
|
|
3284
3196
|
{
|
|
3285
3197
|
"kind": "js",
|
|
3286
|
-
"name": "
|
|
3198
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3287
3199
|
"declaration": {
|
|
3288
|
-
"name": "
|
|
3289
|
-
"module": "src/
|
|
3200
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3201
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3290
3202
|
}
|
|
3291
3203
|
}
|
|
3292
3204
|
]
|
|
3293
3205
|
},
|
|
3294
3206
|
{
|
|
3295
3207
|
"kind": "javascript-module",
|
|
3296
|
-
"path": "src/
|
|
3208
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3297
3209
|
"declarations": [
|
|
3298
3210
|
{
|
|
3299
|
-
"kind": "
|
|
3300
|
-
"
|
|
3301
|
-
"
|
|
3302
|
-
|
|
3303
|
-
"text": "ViewTemplate<Accordion>"
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
"parameters": [
|
|
3211
|
+
"kind": "class",
|
|
3212
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3213
|
+
"name": "AiCriteriaSearch",
|
|
3214
|
+
"members": [
|
|
3307
3215
|
{
|
|
3308
|
-
"
|
|
3216
|
+
"kind": "field",
|
|
3217
|
+
"name": "providerRegistry",
|
|
3309
3218
|
"type": {
|
|
3310
|
-
"text": "
|
|
3219
|
+
"text": "AIProviderRegistry"
|
|
3311
3220
|
}
|
|
3312
3221
|
},
|
|
3313
3222
|
{
|
|
3314
|
-
"
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "placeholder",
|
|
3315
3225
|
"type": {
|
|
3316
|
-
"text": "
|
|
3226
|
+
"text": "string"
|
|
3227
|
+
},
|
|
3228
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "disabled",
|
|
3233
|
+
"type": {
|
|
3234
|
+
"text": "boolean"
|
|
3317
3235
|
}
|
|
3318
|
-
}
|
|
3319
|
-
]
|
|
3320
|
-
}
|
|
3321
|
-
],
|
|
3322
|
-
"exports": [
|
|
3323
|
-
{
|
|
3324
|
-
"kind": "js",
|
|
3325
|
-
"name": "foundationAccordionTemplate",
|
|
3326
|
-
"declaration": {
|
|
3327
|
-
"name": "foundationAccordionTemplate",
|
|
3328
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
]
|
|
3332
|
-
},
|
|
3333
|
-
{
|
|
3334
|
-
"kind": "javascript-module",
|
|
3335
|
-
"path": "src/accordion/accordion.ts",
|
|
3336
|
-
"declarations": [
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "class",
|
|
3339
|
-
"description": "",
|
|
3340
|
-
"name": "Accordion",
|
|
3341
|
-
"superclass": {
|
|
3342
|
-
"name": "FASTAccordion",
|
|
3343
|
-
"package": "@microsoft/fast-foundation"
|
|
3344
|
-
},
|
|
3345
|
-
"tagName": "%%prefix%%-accordion",
|
|
3346
|
-
"customElement": true,
|
|
3347
|
-
"attributes": [
|
|
3236
|
+
},
|
|
3348
3237
|
{
|
|
3349
|
-
"
|
|
3238
|
+
"kind": "field",
|
|
3239
|
+
"name": "inputValue",
|
|
3350
3240
|
"type": {
|
|
3351
|
-
"text": "
|
|
3241
|
+
"text": "string"
|
|
3352
3242
|
},
|
|
3353
|
-
"
|
|
3354
|
-
|
|
3355
|
-
"inheritedFrom": {
|
|
3356
|
-
"name": "Accordion",
|
|
3357
|
-
"module": "src/accordion/accordion.ts"
|
|
3358
|
-
}
|
|
3359
|
-
}
|
|
3360
|
-
],
|
|
3361
|
-
"members": [
|
|
3243
|
+
"default": "''"
|
|
3244
|
+
},
|
|
3362
3245
|
{
|
|
3363
3246
|
"kind": "field",
|
|
3364
|
-
"name": "
|
|
3247
|
+
"name": "isInterpreting",
|
|
3365
3248
|
"type": {
|
|
3366
|
-
"text": "
|
|
3249
|
+
"text": "boolean"
|
|
3367
3250
|
},
|
|
3368
|
-
"
|
|
3369
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3370
|
-
"inheritedFrom": {
|
|
3371
|
-
"name": "Accordion",
|
|
3372
|
-
"module": "src/accordion/accordion.ts"
|
|
3373
|
-
}
|
|
3251
|
+
"default": "false"
|
|
3374
3252
|
},
|
|
3375
3253
|
{
|
|
3376
3254
|
"kind": "field",
|
|
3377
|
-
"name": "
|
|
3255
|
+
"name": "lastValidCriteria",
|
|
3378
3256
|
"type": {
|
|
3379
3257
|
"text": "string | null"
|
|
3380
3258
|
},
|
|
3381
|
-
"
|
|
3382
|
-
"inheritedFrom": {
|
|
3383
|
-
"name": "Accordion",
|
|
3384
|
-
"module": "src/accordion/accordion.ts"
|
|
3385
|
-
}
|
|
3259
|
+
"default": "null"
|
|
3386
3260
|
},
|
|
3387
3261
|
{
|
|
3388
3262
|
"kind": "field",
|
|
3389
|
-
"name": "
|
|
3263
|
+
"name": "activeGroups",
|
|
3390
3264
|
"type": {
|
|
3391
|
-
"text": "
|
|
3265
|
+
"text": "CriteriaGroup[]"
|
|
3392
3266
|
},
|
|
3393
|
-
"
|
|
3394
|
-
"default": "0",
|
|
3395
|
-
"inheritedFrom": {
|
|
3396
|
-
"name": "Accordion",
|
|
3397
|
-
"module": "src/accordion/accordion.ts"
|
|
3398
|
-
}
|
|
3267
|
+
"default": "[]"
|
|
3399
3268
|
},
|
|
3400
3269
|
{
|
|
3401
3270
|
"kind": "field",
|
|
3402
|
-
"name": "
|
|
3271
|
+
"name": "showingChips",
|
|
3403
3272
|
"type": {
|
|
3404
|
-
"text": "
|
|
3273
|
+
"text": "boolean"
|
|
3405
3274
|
},
|
|
3406
|
-
"
|
|
3407
|
-
"inheritedFrom": {
|
|
3408
|
-
"name": "Accordion",
|
|
3409
|
-
"module": "src/accordion/accordion.ts"
|
|
3410
|
-
}
|
|
3275
|
+
"default": "false"
|
|
3411
3276
|
},
|
|
3412
3277
|
{
|
|
3413
3278
|
"kind": "field",
|
|
3414
|
-
"name": "
|
|
3415
|
-
"
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
}
|
|
3279
|
+
"name": "fieldMetadata",
|
|
3280
|
+
"type": {
|
|
3281
|
+
"text": "MetadataDetail[] | string[]"
|
|
3282
|
+
},
|
|
3283
|
+
"default": "[]"
|
|
3420
3284
|
},
|
|
3421
3285
|
{
|
|
3422
|
-
"kind": "
|
|
3423
|
-
"name": "
|
|
3424
|
-
"
|
|
3425
|
-
|
|
3426
|
-
"type": {
|
|
3427
|
-
"text": "AccordionItem | null"
|
|
3428
|
-
}
|
|
3286
|
+
"kind": "field",
|
|
3287
|
+
"name": "isRecording",
|
|
3288
|
+
"type": {
|
|
3289
|
+
"text": "boolean"
|
|
3429
3290
|
},
|
|
3430
|
-
"
|
|
3431
|
-
"name": "Accordion",
|
|
3432
|
-
"module": "src/accordion/accordion.ts"
|
|
3433
|
-
}
|
|
3291
|
+
"default": "false"
|
|
3434
3292
|
},
|
|
3435
3293
|
{
|
|
3436
3294
|
"kind": "field",
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
}
|
|
3295
|
+
"name": "textAreaRef",
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "HTMLTextAreaElement"
|
|
3298
|
+
},
|
|
3299
|
+
"privacy": "public"
|
|
3443
3300
|
},
|
|
3444
3301
|
{
|
|
3445
|
-
"kind": "
|
|
3446
|
-
"name": "
|
|
3447
|
-
"
|
|
3448
|
-
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "void"
|
|
3451
|
-
}
|
|
3302
|
+
"kind": "field",
|
|
3303
|
+
"name": "stopRecording",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "(() => void) | null"
|
|
3452
3306
|
},
|
|
3453
|
-
"
|
|
3454
|
-
|
|
3455
|
-
"module": "src/accordion/accordion.ts"
|
|
3456
|
-
}
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"default": "null"
|
|
3457
3309
|
},
|
|
3458
3310
|
{
|
|
3459
3311
|
"kind": "field",
|
|
3460
|
-
"name": "
|
|
3312
|
+
"name": "speechApplyDebounceTimer",
|
|
3313
|
+
"type": {
|
|
3314
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3315
|
+
},
|
|
3461
3316
|
"privacy": "private",
|
|
3462
|
-
"
|
|
3463
|
-
"name": "Accordion",
|
|
3464
|
-
"module": "src/accordion/accordion.ts"
|
|
3465
|
-
}
|
|
3317
|
+
"default": "null"
|
|
3466
3318
|
},
|
|
3467
3319
|
{
|
|
3468
3320
|
"kind": "field",
|
|
3469
|
-
"name": "
|
|
3470
|
-
"
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
}
|
|
3321
|
+
"name": "speechAvailable",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"readonly": true
|
|
3475
3326
|
},
|
|
3476
3327
|
{
|
|
3477
|
-
"kind": "
|
|
3478
|
-
"name": "
|
|
3479
|
-
"
|
|
3480
|
-
|
|
3481
|
-
"type": {
|
|
3482
|
-
"text": "Array<string | null>"
|
|
3483
|
-
}
|
|
3328
|
+
"kind": "field",
|
|
3329
|
+
"name": "criteriaChips",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "CriteriaChip[]"
|
|
3484
3332
|
},
|
|
3485
|
-
"
|
|
3486
|
-
"name": "Accordion",
|
|
3487
|
-
"module": "src/accordion/accordion.ts"
|
|
3488
|
-
}
|
|
3333
|
+
"readonly": true
|
|
3489
3334
|
},
|
|
3490
3335
|
{
|
|
3491
3336
|
"kind": "method",
|
|
3492
|
-
"name": "
|
|
3337
|
+
"name": "getFieldLabel",
|
|
3493
3338
|
"privacy": "private",
|
|
3494
3339
|
"return": {
|
|
3495
3340
|
"type": {
|
|
3496
|
-
"text": "
|
|
3341
|
+
"text": "string"
|
|
3497
3342
|
}
|
|
3498
3343
|
},
|
|
3499
|
-
"
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
"name": "handleItemFocus",
|
|
3516
|
-
"privacy": "private",
|
|
3517
|
-
"inheritedFrom": {
|
|
3518
|
-
"name": "Accordion",
|
|
3519
|
-
"module": "src/accordion/accordion.ts"
|
|
3344
|
+
"parameters": [
|
|
3345
|
+
{
|
|
3346
|
+
"name": "fieldName",
|
|
3347
|
+
"type": {
|
|
3348
|
+
"text": "string"
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
]
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"kind": "method",
|
|
3355
|
+
"name": "toggleCriteriaView",
|
|
3356
|
+
"return": {
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "void"
|
|
3359
|
+
}
|
|
3520
3360
|
}
|
|
3521
3361
|
},
|
|
3522
3362
|
{
|
|
3523
3363
|
"kind": "method",
|
|
3524
|
-
"name": "
|
|
3525
|
-
"privacy": "private",
|
|
3364
|
+
"name": "removeChip",
|
|
3526
3365
|
"return": {
|
|
3527
3366
|
"type": {
|
|
3528
3367
|
"text": "void"
|
|
@@ -3530,31 +3369,49 @@
|
|
|
3530
3369
|
},
|
|
3531
3370
|
"parameters": [
|
|
3532
3371
|
{
|
|
3533
|
-
"name": "
|
|
3372
|
+
"name": "groupIndex",
|
|
3373
|
+
"type": {
|
|
3374
|
+
"text": "number"
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
"name": "clauseIndex",
|
|
3534
3379
|
"type": {
|
|
3535
3380
|
"text": "number"
|
|
3536
3381
|
}
|
|
3537
3382
|
}
|
|
3538
|
-
]
|
|
3539
|
-
"inheritedFrom": {
|
|
3540
|
-
"name": "Accordion",
|
|
3541
|
-
"module": "src/accordion/accordion.ts"
|
|
3542
|
-
}
|
|
3383
|
+
]
|
|
3543
3384
|
},
|
|
3544
3385
|
{
|
|
3545
3386
|
"kind": "method",
|
|
3546
|
-
"name": "
|
|
3547
|
-
"privacy": "private",
|
|
3387
|
+
"name": "clearChips",
|
|
3548
3388
|
"return": {
|
|
3549
3389
|
"type": {
|
|
3550
3390
|
"text": "void"
|
|
3551
3391
|
}
|
|
3552
|
-
},
|
|
3553
|
-
"inheritedFrom": {
|
|
3554
|
-
"name": "Accordion",
|
|
3555
|
-
"module": "src/accordion/accordion.ts"
|
|
3556
3392
|
}
|
|
3557
3393
|
},
|
|
3394
|
+
{
|
|
3395
|
+
"kind": "method",
|
|
3396
|
+
"name": "handleSubmit"
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "method",
|
|
3400
|
+
"name": "handleBlur"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "method",
|
|
3404
|
+
"name": "clear"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"kind": "method",
|
|
3408
|
+
"name": "toggleSpeechInput"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"kind": "method",
|
|
3412
|
+
"name": "clearSpeechApplyDebounce",
|
|
3413
|
+
"privacy": "private"
|
|
3414
|
+
},
|
|
3558
3415
|
{
|
|
3559
3416
|
"kind": "field",
|
|
3560
3417
|
"name": "_presentation",
|
|
@@ -3669,26 +3526,48 @@
|
|
|
3669
3526
|
],
|
|
3670
3527
|
"events": [
|
|
3671
3528
|
{
|
|
3672
|
-
"description": "
|
|
3673
|
-
"name": "
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3529
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3530
|
+
"name": "criteria-changed"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3534
|
+
"name": "validation-errors"
|
|
3678
3535
|
}
|
|
3679
|
-
]
|
|
3536
|
+
],
|
|
3537
|
+
"attributes": [
|
|
3538
|
+
{
|
|
3539
|
+
"name": "placeholder",
|
|
3540
|
+
"type": {
|
|
3541
|
+
"text": "string"
|
|
3542
|
+
},
|
|
3543
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3544
|
+
"fieldName": "placeholder"
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
"type": {
|
|
3548
|
+
"text": "boolean"
|
|
3549
|
+
},
|
|
3550
|
+
"fieldName": "disabled"
|
|
3551
|
+
}
|
|
3552
|
+
],
|
|
3553
|
+
"superclass": {
|
|
3554
|
+
"name": "FoundationElement",
|
|
3555
|
+
"package": "@microsoft/fast-foundation"
|
|
3556
|
+
},
|
|
3557
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3558
|
+
"customElement": true
|
|
3680
3559
|
},
|
|
3681
3560
|
{
|
|
3682
3561
|
"kind": "variable",
|
|
3683
|
-
"name": "
|
|
3562
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3684
3563
|
"type": {
|
|
3685
3564
|
"text": "ShadowRootInit"
|
|
3686
3565
|
},
|
|
3687
|
-
"default": "
|
|
3566
|
+
"default": "undefined"
|
|
3688
3567
|
},
|
|
3689
3568
|
{
|
|
3690
3569
|
"kind": "variable",
|
|
3691
|
-
"name": "
|
|
3570
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3692
3571
|
"type": {
|
|
3693
3572
|
"text": "object"
|
|
3694
3573
|
},
|
|
@@ -3696,57 +3575,103 @@
|
|
|
3696
3575
|
},
|
|
3697
3576
|
{
|
|
3698
3577
|
"kind": "variable",
|
|
3699
|
-
"name": "
|
|
3700
|
-
"description": "The Foundation Accordion",
|
|
3701
|
-
"privacy": "public"
|
|
3578
|
+
"name": "foundationAiCriteriaSearch"
|
|
3702
3579
|
}
|
|
3703
3580
|
],
|
|
3704
3581
|
"exports": [
|
|
3705
3582
|
{
|
|
3706
3583
|
"kind": "js",
|
|
3707
|
-
"name": "
|
|
3584
|
+
"name": "AiCriteriaSearch",
|
|
3708
3585
|
"declaration": {
|
|
3709
|
-
"name": "
|
|
3710
|
-
"module": "src/
|
|
3586
|
+
"name": "AiCriteriaSearch",
|
|
3587
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3711
3588
|
}
|
|
3712
3589
|
},
|
|
3713
3590
|
{
|
|
3714
3591
|
"kind": "js",
|
|
3715
|
-
"name": "
|
|
3592
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3716
3593
|
"declaration": {
|
|
3717
|
-
"name": "
|
|
3718
|
-
"module": "src/
|
|
3594
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3595
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3719
3596
|
}
|
|
3720
3597
|
},
|
|
3721
3598
|
{
|
|
3722
3599
|
"kind": "js",
|
|
3723
|
-
"name": "
|
|
3600
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3724
3601
|
"declaration": {
|
|
3725
|
-
"name": "
|
|
3726
|
-
"module": "src/
|
|
3602
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3603
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3727
3604
|
}
|
|
3728
3605
|
},
|
|
3729
3606
|
{
|
|
3730
3607
|
"kind": "js",
|
|
3731
|
-
"name": "
|
|
3608
|
+
"name": "foundationAiCriteriaSearch",
|
|
3732
3609
|
"declaration": {
|
|
3733
|
-
"name": "
|
|
3734
|
-
"module": "src/
|
|
3610
|
+
"name": "foundationAiCriteriaSearch",
|
|
3611
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3735
3612
|
}
|
|
3736
3613
|
}
|
|
3737
3614
|
]
|
|
3738
3615
|
},
|
|
3739
3616
|
{
|
|
3740
3617
|
"kind": "javascript-module",
|
|
3741
|
-
"path": "src/
|
|
3618
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3742
3619
|
"declarations": [],
|
|
3743
3620
|
"exports": [
|
|
3621
|
+
{
|
|
3622
|
+
"kind": "js",
|
|
3623
|
+
"name": "AiCriteriaSearch",
|
|
3624
|
+
"declaration": {
|
|
3625
|
+
"name": "AiCriteriaSearch",
|
|
3626
|
+
"module": "./ai-criteria-search"
|
|
3627
|
+
}
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"kind": "js",
|
|
3631
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3632
|
+
"declaration": {
|
|
3633
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3634
|
+
"module": "./ai-criteria-search"
|
|
3635
|
+
}
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"kind": "js",
|
|
3639
|
+
"name": "foundationAiCriteriaSearch",
|
|
3640
|
+
"declaration": {
|
|
3641
|
+
"name": "foundationAiCriteriaSearch",
|
|
3642
|
+
"module": "./ai-criteria-search"
|
|
3643
|
+
}
|
|
3644
|
+
},
|
|
3645
|
+
{
|
|
3646
|
+
"kind": "js",
|
|
3647
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3648
|
+
"declaration": {
|
|
3649
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3650
|
+
"module": "./ai-criteria-search"
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"kind": "js",
|
|
3655
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3656
|
+
"declaration": {
|
|
3657
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3658
|
+
"module": "./ai-criteria-search.styles"
|
|
3659
|
+
}
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"kind": "js",
|
|
3663
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3664
|
+
"declaration": {
|
|
3665
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3666
|
+
"module": "./ai-criteria-search.template"
|
|
3667
|
+
}
|
|
3668
|
+
},
|
|
3744
3669
|
{
|
|
3745
3670
|
"kind": "js",
|
|
3746
3671
|
"name": "*",
|
|
3747
3672
|
"declaration": {
|
|
3748
3673
|
"name": "*",
|
|
3749
|
-
"package": "./
|
|
3674
|
+
"package": "./validation/criteria-ir"
|
|
3750
3675
|
}
|
|
3751
3676
|
},
|
|
3752
3677
|
{
|
|
@@ -3754,7 +3679,7 @@
|
|
|
3754
3679
|
"name": "*",
|
|
3755
3680
|
"declaration": {
|
|
3756
3681
|
"name": "*",
|
|
3757
|
-
"package": "./
|
|
3682
|
+
"package": "./validation/operator-map"
|
|
3758
3683
|
}
|
|
3759
3684
|
},
|
|
3760
3685
|
{
|
|
@@ -3762,7 +3687,82 @@
|
|
|
3762
3687
|
"name": "*",
|
|
3763
3688
|
"declaration": {
|
|
3764
3689
|
"name": "*",
|
|
3765
|
-
"package": "./
|
|
3690
|
+
"package": "./validation/schema-validator"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
]
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
"kind": "javascript-module",
|
|
3697
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3698
|
+
"declarations": [
|
|
3699
|
+
{
|
|
3700
|
+
"kind": "function",
|
|
3701
|
+
"name": "formatValidationErrors",
|
|
3702
|
+
"return": {
|
|
3703
|
+
"type": {
|
|
3704
|
+
"text": "string"
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
"parameters": [
|
|
3708
|
+
{
|
|
3709
|
+
"name": "errors",
|
|
3710
|
+
"type": {
|
|
3711
|
+
"text": "ValidationError[]"
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
],
|
|
3715
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"kind": "function",
|
|
3719
|
+
"name": "showCriteriaError",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "void"
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
"parameters": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "title",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"name": "body",
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"description": "Error message to display"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"name": "tagName",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "string"
|
|
3744
|
+
},
|
|
3745
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3746
|
+
}
|
|
3747
|
+
],
|
|
3748
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3749
|
+
}
|
|
3750
|
+
],
|
|
3751
|
+
"exports": [
|
|
3752
|
+
{
|
|
3753
|
+
"kind": "js",
|
|
3754
|
+
"name": "formatValidationErrors",
|
|
3755
|
+
"declaration": {
|
|
3756
|
+
"name": "formatValidationErrors",
|
|
3757
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3758
|
+
}
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"kind": "js",
|
|
3762
|
+
"name": "showCriteriaError",
|
|
3763
|
+
"declaration": {
|
|
3764
|
+
"name": "showCriteriaError",
|
|
3765
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3766
3766
|
}
|
|
3767
3767
|
}
|
|
3768
3768
|
]
|