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