@genesislcap/foundation-ui 15.22.2 → 15.23.1-alpha-b23a0275e.0
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 +943 -943
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -1526,11 +1526,11 @@
|
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
1528
|
"kind": "javascript-module",
|
|
1529
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1530
1530
|
"declarations": [
|
|
1531
1531
|
{
|
|
1532
1532
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1534
1534
|
"return": {
|
|
1535
1535
|
"type": {
|
|
1536
1536
|
"text": "ElementStyles"
|
|
@@ -1555,24 +1555,24 @@
|
|
|
1555
1555
|
"exports": [
|
|
1556
1556
|
{
|
|
1557
1557
|
"kind": "js",
|
|
1558
|
-
"name": "
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1559
1559
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
]
|
|
1565
1565
|
},
|
|
1566
1566
|
{
|
|
1567
1567
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
1569
|
"declarations": [
|
|
1570
1570
|
{
|
|
1571
1571
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1573
1573
|
"return": {
|
|
1574
1574
|
"type": {
|
|
1575
|
-
"text": "ViewTemplate<
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1576
1576
|
}
|
|
1577
1577
|
},
|
|
1578
1578
|
"parameters": [
|
|
@@ -1594,237 +1594,116 @@
|
|
|
1594
1594
|
"exports": [
|
|
1595
1595
|
{
|
|
1596
1596
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1598
1598
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
]
|
|
1604
1604
|
},
|
|
1605
1605
|
{
|
|
1606
1606
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/accordion/accordion.ts",
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1608
1608
|
"declarations": [
|
|
1609
1609
|
{
|
|
1610
1610
|
"kind": "class",
|
|
1611
1611
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
1613
|
"superclass": {
|
|
1614
|
-
"name": "
|
|
1615
|
-
"package": "@microsoft/fast-
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1616
1616
|
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion",
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1618
1618
|
"customElement": true,
|
|
1619
1619
|
"attributes": [
|
|
1620
1620
|
{
|
|
1621
|
-
"name": "
|
|
1622
|
-
"type": {
|
|
1623
|
-
"text": "AccordionExpandMode"
|
|
1624
|
-
},
|
|
1625
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1626
|
-
"fieldName": "expandmode",
|
|
1627
|
-
"inheritedFrom": {
|
|
1628
|
-
"name": "Accordion",
|
|
1629
|
-
"module": "src/accordion/accordion.ts"
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
],
|
|
1633
|
-
"members": [
|
|
1634
|
-
{
|
|
1635
|
-
"kind": "field",
|
|
1636
|
-
"name": "expandmode",
|
|
1621
|
+
"name": "heading-level",
|
|
1637
1622
|
"type": {
|
|
1638
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1639
1624
|
},
|
|
1640
|
-
"
|
|
1641
|
-
"description": "
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1642
1628
|
"inheritedFrom": {
|
|
1643
|
-
"name": "
|
|
1644
|
-
"module": "src/accordion/accordion.ts"
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1645
1631
|
}
|
|
1646
1632
|
},
|
|
1647
1633
|
{
|
|
1648
|
-
"kind": "field",
|
|
1649
|
-
"name": "activeid",
|
|
1650
1634
|
"type": {
|
|
1651
|
-
"text": "
|
|
1635
|
+
"text": "boolean"
|
|
1652
1636
|
},
|
|
1653
|
-
"
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1654
1640
|
"inheritedFrom": {
|
|
1655
|
-
"name": "
|
|
1656
|
-
"module": "src/accordion/accordion.ts"
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1657
1643
|
}
|
|
1658
1644
|
},
|
|
1659
1645
|
{
|
|
1660
|
-
"
|
|
1661
|
-
"name": "activeItemIndex",
|
|
1646
|
+
"name": "id",
|
|
1662
1647
|
"type": {
|
|
1663
|
-
"text": "
|
|
1648
|
+
"text": "string"
|
|
1664
1649
|
},
|
|
1665
|
-
"
|
|
1666
|
-
"
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1667
1652
|
"inheritedFrom": {
|
|
1668
|
-
"name": "
|
|
1669
|
-
"module": "src/accordion/accordion.ts"
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1670
1655
|
}
|
|
1671
|
-
}
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1658
|
+
"members": [
|
|
1672
1659
|
{
|
|
1673
1660
|
"kind": "field",
|
|
1674
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1675
1662
|
"type": {
|
|
1676
|
-
"text": "
|
|
1677
|
-
},
|
|
1678
|
-
"privacy": "private",
|
|
1679
|
-
"inheritedFrom": {
|
|
1680
|
-
"name": "Accordion",
|
|
1681
|
-
"module": "src/accordion/accordion.ts"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"kind": "field",
|
|
1686
|
-
"name": "change",
|
|
1687
|
-
"privacy": "private",
|
|
1688
|
-
"inheritedFrom": {
|
|
1689
|
-
"name": "Accordion",
|
|
1690
|
-
"module": "src/accordion/accordion.ts"
|
|
1691
|
-
}
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"kind": "method",
|
|
1695
|
-
"name": "findExpandedItem",
|
|
1696
|
-
"privacy": "private",
|
|
1697
|
-
"return": {
|
|
1698
|
-
"type": {
|
|
1699
|
-
"text": "AccordionItem | null"
|
|
1700
|
-
}
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1701
1664
|
},
|
|
1665
|
+
"privacy": "public",
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1702
1668
|
"inheritedFrom": {
|
|
1703
|
-
"name": "
|
|
1704
|
-
"module": "src/accordion/accordion.ts"
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1705
1671
|
}
|
|
1706
1672
|
},
|
|
1707
1673
|
{
|
|
1708
1674
|
"kind": "field",
|
|
1709
|
-
"name": "
|
|
1710
|
-
"
|
|
1711
|
-
|
|
1712
|
-
"name": "Accordion",
|
|
1713
|
-
"module": "src/accordion/accordion.ts"
|
|
1714
|
-
}
|
|
1715
|
-
},
|
|
1716
|
-
{
|
|
1717
|
-
"kind": "method",
|
|
1718
|
-
"name": "resetItems",
|
|
1719
|
-
"privacy": "private",
|
|
1720
|
-
"return": {
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "void"
|
|
1723
|
-
}
|
|
1675
|
+
"name": "expanded",
|
|
1676
|
+
"type": {
|
|
1677
|
+
"text": "boolean"
|
|
1724
1678
|
},
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1725
1682
|
"inheritedFrom": {
|
|
1726
|
-
"name": "
|
|
1727
|
-
"module": "src/accordion/accordion.ts"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "removeItemListeners",
|
|
1733
|
-
"privacy": "private",
|
|
1734
|
-
"inheritedFrom": {
|
|
1735
|
-
"name": "Accordion",
|
|
1736
|
-
"module": "src/accordion/accordion.ts"
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1737
1685
|
}
|
|
1738
1686
|
},
|
|
1739
1687
|
{
|
|
1740
1688
|
"kind": "field",
|
|
1741
|
-
"name": "
|
|
1742
|
-
"
|
|
1743
|
-
|
|
1744
|
-
"name": "Accordion",
|
|
1745
|
-
"module": "src/accordion/accordion.ts"
|
|
1746
|
-
}
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
"kind": "method",
|
|
1750
|
-
"name": "getItemIds",
|
|
1751
|
-
"privacy": "private",
|
|
1752
|
-
"return": {
|
|
1753
|
-
"type": {
|
|
1754
|
-
"text": "Array<string | null>"
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
"inheritedFrom": {
|
|
1758
|
-
"name": "Accordion",
|
|
1759
|
-
"module": "src/accordion/accordion.ts"
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"kind": "method",
|
|
1764
|
-
"name": "isSingleExpandMode",
|
|
1765
|
-
"privacy": "private",
|
|
1766
|
-
"return": {
|
|
1767
|
-
"type": {
|
|
1768
|
-
"text": "boolean"
|
|
1769
|
-
}
|
|
1689
|
+
"name": "id",
|
|
1690
|
+
"type": {
|
|
1691
|
+
"text": "string"
|
|
1770
1692
|
},
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1771
1695
|
"inheritedFrom": {
|
|
1772
|
-
"name": "
|
|
1773
|
-
"module": "src/accordion/accordion.ts"
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"kind": "field",
|
|
1778
|
-
"name": "handleItemKeyDown",
|
|
1779
|
-
"privacy": "private",
|
|
1780
|
-
"inheritedFrom": {
|
|
1781
|
-
"name": "Accordion",
|
|
1782
|
-
"module": "src/accordion/accordion.ts"
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1783
1698
|
}
|
|
1784
1699
|
},
|
|
1785
1700
|
{
|
|
1786
1701
|
"kind": "field",
|
|
1787
|
-
"name": "
|
|
1788
|
-
"privacy": "private",
|
|
1789
|
-
"inheritedFrom": {
|
|
1790
|
-
"name": "Accordion",
|
|
1791
|
-
"module": "src/accordion/accordion.ts"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"kind": "method",
|
|
1796
|
-
"name": "adjust",
|
|
1797
|
-
"privacy": "private",
|
|
1798
|
-
"return": {
|
|
1799
|
-
"type": {
|
|
1800
|
-
"text": "void"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
"parameters": [
|
|
1804
|
-
{
|
|
1805
|
-
"name": "adjustment",
|
|
1806
|
-
"type": {
|
|
1807
|
-
"text": "number"
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
],
|
|
1811
|
-
"inheritedFrom": {
|
|
1812
|
-
"name": "Accordion",
|
|
1813
|
-
"module": "src/accordion/accordion.ts"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "method",
|
|
1818
|
-
"name": "focusItem",
|
|
1702
|
+
"name": "change",
|
|
1819
1703
|
"privacy": "private",
|
|
1820
|
-
"return": {
|
|
1821
|
-
"type": {
|
|
1822
|
-
"text": "void"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
1704
|
"inheritedFrom": {
|
|
1826
|
-
"name": "
|
|
1827
|
-
"module": "src/accordion/accordion.ts"
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1828
1707
|
}
|
|
1829
1708
|
},
|
|
1830
1709
|
{
|
|
@@ -1941,18 +1820,18 @@
|
|
|
1941
1820
|
],
|
|
1942
1821
|
"events": [
|
|
1943
1822
|
{
|
|
1944
|
-
"description": "Fires a custom 'change' event when the
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1945
1824
|
"name": "change",
|
|
1946
1825
|
"inheritedFrom": {
|
|
1947
|
-
"name": "
|
|
1948
|
-
"module": "src/accordion/accordion.ts"
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1949
1828
|
}
|
|
1950
1829
|
}
|
|
1951
1830
|
]
|
|
1952
1831
|
},
|
|
1953
1832
|
{
|
|
1954
1833
|
"kind": "variable",
|
|
1955
|
-
"name": "
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1956
1835
|
"type": {
|
|
1957
1836
|
"text": "ShadowRootInit"
|
|
1958
1837
|
},
|
|
@@ -1960,57 +1839,57 @@
|
|
|
1960
1839
|
},
|
|
1961
1840
|
{
|
|
1962
1841
|
"kind": "variable",
|
|
1963
|
-
"name": "
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1964
1843
|
"type": {
|
|
1965
1844
|
"text": "object"
|
|
1966
1845
|
},
|
|
1967
|
-
"default": "{}"
|
|
1846
|
+
"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}"
|
|
1968
1847
|
},
|
|
1969
1848
|
{
|
|
1970
1849
|
"kind": "variable",
|
|
1971
|
-
"name": "
|
|
1972
|
-
"description": "The Foundation Accordion",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
1973
1852
|
"privacy": "public"
|
|
1974
1853
|
}
|
|
1975
1854
|
],
|
|
1976
1855
|
"exports": [
|
|
1977
1856
|
{
|
|
1978
1857
|
"kind": "js",
|
|
1979
|
-
"name": "
|
|
1858
|
+
"name": "AccordionItem",
|
|
1980
1859
|
"declaration": {
|
|
1981
|
-
"name": "
|
|
1982
|
-
"module": "src/accordion/accordion.ts"
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1983
1862
|
}
|
|
1984
1863
|
},
|
|
1985
1864
|
{
|
|
1986
1865
|
"kind": "js",
|
|
1987
|
-
"name": "
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1988
1867
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"module": "src/accordion/accordion.ts"
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1870
|
}
|
|
1992
1871
|
},
|
|
1993
1872
|
{
|
|
1994
1873
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1996
1875
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"module": "src/accordion/accordion.ts"
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1878
|
}
|
|
2000
1879
|
},
|
|
2001
1880
|
{
|
|
2002
1881
|
"kind": "js",
|
|
2003
|
-
"name": "
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
2004
1883
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"module": "src/accordion/accordion.ts"
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2007
1886
|
}
|
|
2008
1887
|
}
|
|
2009
1888
|
]
|
|
2010
1889
|
},
|
|
2011
1890
|
{
|
|
2012
1891
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/accordion/index.ts",
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2014
1893
|
"declarations": [],
|
|
2015
1894
|
"exports": [
|
|
2016
1895
|
{
|
|
@@ -2018,7 +1897,7 @@
|
|
|
2018
1897
|
"name": "*",
|
|
2019
1898
|
"declaration": {
|
|
2020
1899
|
"name": "*",
|
|
2021
|
-
"package": "./accordion.template"
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2022
1901
|
}
|
|
2023
1902
|
},
|
|
2024
1903
|
{
|
|
@@ -2026,7 +1905,7 @@
|
|
|
2026
1905
|
"name": "*",
|
|
2027
1906
|
"declaration": {
|
|
2028
1907
|
"name": "*",
|
|
2029
|
-
"package": "./accordion.styles"
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2030
1909
|
}
|
|
2031
1910
|
},
|
|
2032
1911
|
{
|
|
@@ -2034,18 +1913,41 @@
|
|
|
2034
1913
|
"name": "*",
|
|
2035
1914
|
"declaration": {
|
|
2036
1915
|
"name": "*",
|
|
2037
|
-
"package": "./accordion"
|
|
1916
|
+
"package": "./accordion-item"
|
|
2038
1917
|
}
|
|
2039
1918
|
}
|
|
2040
1919
|
]
|
|
2041
1920
|
},
|
|
2042
1921
|
{
|
|
2043
1922
|
"kind": "javascript-module",
|
|
2044
|
-
"path": "src/
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2045
1924
|
"declarations": [
|
|
2046
1925
|
{
|
|
2047
1926
|
"kind": "function",
|
|
2048
|
-
"name": "
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1934
|
+
{
|
|
1935
|
+
"name": "context",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "definition",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "function",
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2049
1951
|
"return": {
|
|
2050
1952
|
"type": {
|
|
2051
1953
|
"text": "ElementStyles"
|
|
@@ -2070,200 +1972,325 @@
|
|
|
2070
1972
|
"exports": [
|
|
2071
1973
|
{
|
|
2072
1974
|
"kind": "js",
|
|
2073
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2074
1976
|
"declaration": {
|
|
2075
|
-
"name": "
|
|
2076
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2077
1987
|
}
|
|
2078
1988
|
}
|
|
2079
1989
|
]
|
|
2080
1990
|
},
|
|
2081
1991
|
{
|
|
2082
1992
|
"kind": "javascript-module",
|
|
2083
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2084
1994
|
"declarations": [
|
|
2085
1995
|
{
|
|
2086
1996
|
"kind": "function",
|
|
2087
|
-
"name": "
|
|
2088
|
-
"return": {
|
|
2089
|
-
"type": {
|
|
2090
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
1997
|
+
"name": "menuTemplate",
|
|
2093
1998
|
"parameters": [
|
|
2094
1999
|
{
|
|
2095
|
-
"name": "
|
|
2000
|
+
"name": "prefix",
|
|
2096
2001
|
"type": {
|
|
2097
|
-
"text": "
|
|
2002
|
+
"text": "string"
|
|
2098
2003
|
}
|
|
2099
|
-
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2100
2011
|
{
|
|
2101
|
-
"name": "
|
|
2012
|
+
"name": "prefix",
|
|
2102
2013
|
"type": {
|
|
2103
|
-
"text": "
|
|
2014
|
+
"text": "string"
|
|
2104
2015
|
}
|
|
2105
2016
|
}
|
|
2106
2017
|
]
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"kind": "variable",
|
|
2021
|
+
"name": "foundationActionsMenuTemplate",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
+
},
|
|
2025
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2107
2026
|
}
|
|
2108
2027
|
],
|
|
2109
2028
|
"exports": [
|
|
2110
2029
|
{
|
|
2111
2030
|
"kind": "js",
|
|
2112
|
-
"name": "
|
|
2031
|
+
"name": "menuTemplate",
|
|
2113
2032
|
"declaration": {
|
|
2114
|
-
"name": "
|
|
2115
|
-
"module": "src/
|
|
2033
|
+
"name": "menuTemplate",
|
|
2034
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "js",
|
|
2039
|
+
"name": "singleOptionTemplate",
|
|
2040
|
+
"declaration": {
|
|
2041
|
+
"name": "singleOptionTemplate",
|
|
2042
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "js",
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
2048
|
+
"declaration": {
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2116
2051
|
}
|
|
2117
2052
|
}
|
|
2118
2053
|
]
|
|
2119
2054
|
},
|
|
2120
2055
|
{
|
|
2121
2056
|
"kind": "javascript-module",
|
|
2122
|
-
"path": "src/
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2123
2058
|
"declarations": [
|
|
2124
2059
|
{
|
|
2125
2060
|
"kind": "class",
|
|
2126
2061
|
"description": "",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"
|
|
2129
|
-
"name": "FASTAccordionItem",
|
|
2130
|
-
"package": "@microsoft/fast-components"
|
|
2131
|
-
},
|
|
2132
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
-
"customElement": true,
|
|
2134
|
-
"attributes": [
|
|
2062
|
+
"name": "ActionsMenu",
|
|
2063
|
+
"members": [
|
|
2135
2064
|
{
|
|
2136
|
-
"
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "actions",
|
|
2137
2067
|
"type": {
|
|
2138
|
-
"text": "
|
|
2139
|
-
},
|
|
2140
|
-
"default": "2",
|
|
2141
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
-
"fieldName": "headinglevel",
|
|
2143
|
-
"inheritedFrom": {
|
|
2144
|
-
"name": "AccordionItem",
|
|
2145
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
2146
2069
|
}
|
|
2147
2070
|
},
|
|
2148
2071
|
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "isVertical",
|
|
2149
2074
|
"type": {
|
|
2150
2075
|
"text": "boolean"
|
|
2151
2076
|
},
|
|
2152
|
-
"default": "false"
|
|
2153
|
-
"description": "Expands or collapses the item.",
|
|
2154
|
-
"fieldName": "expanded",
|
|
2155
|
-
"inheritedFrom": {
|
|
2156
|
-
"name": "AccordionItem",
|
|
2157
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
-
}
|
|
2077
|
+
"default": "false"
|
|
2159
2078
|
},
|
|
2160
|
-
{
|
|
2161
|
-
"name": "id",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string"
|
|
2164
|
-
},
|
|
2165
|
-
"description": "The item ID",
|
|
2166
|
-
"fieldName": "id",
|
|
2167
|
-
"inheritedFrom": {
|
|
2168
|
-
"name": "AccordionItem",
|
|
2169
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2170
|
-
}
|
|
2171
|
-
}
|
|
2172
|
-
],
|
|
2173
|
-
"members": [
|
|
2174
2079
|
{
|
|
2175
2080
|
"kind": "field",
|
|
2176
|
-
"name": "
|
|
2081
|
+
"name": "addDefaultActions",
|
|
2177
2082
|
"type": {
|
|
2178
|
-
"text": "
|
|
2083
|
+
"text": "boolean"
|
|
2179
2084
|
},
|
|
2180
|
-
"
|
|
2181
|
-
"default": "2",
|
|
2182
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
-
"inheritedFrom": {
|
|
2184
|
-
"name": "AccordionItem",
|
|
2185
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2186
|
-
}
|
|
2085
|
+
"default": "true"
|
|
2187
2086
|
},
|
|
2188
2087
|
{
|
|
2189
2088
|
"kind": "field",
|
|
2190
|
-
"name": "
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2191
2090
|
"type": {
|
|
2192
2091
|
"text": "boolean"
|
|
2193
2092
|
},
|
|
2194
|
-
"
|
|
2195
|
-
"default": "false",
|
|
2196
|
-
"description": "Expands or collapses the item.",
|
|
2197
|
-
"inheritedFrom": {
|
|
2198
|
-
"name": "AccordionItem",
|
|
2199
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
-
}
|
|
2093
|
+
"default": "true"
|
|
2201
2094
|
},
|
|
2202
2095
|
{
|
|
2203
2096
|
"kind": "field",
|
|
2204
|
-
"name": "
|
|
2097
|
+
"name": "classNames",
|
|
2205
2098
|
"type": {
|
|
2206
2099
|
"text": "string"
|
|
2207
|
-
},
|
|
2208
|
-
"privacy": "public",
|
|
2209
|
-
"description": "The item ID",
|
|
2210
|
-
"inheritedFrom": {
|
|
2211
|
-
"name": "AccordionItem",
|
|
2212
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2213
2100
|
}
|
|
2214
2101
|
},
|
|
2215
2102
|
{
|
|
2216
2103
|
"kind": "field",
|
|
2217
|
-
"name": "
|
|
2218
|
-
"
|
|
2219
|
-
|
|
2220
|
-
"name": "AccordionItem",
|
|
2221
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2104
|
+
"name": "definition",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "any"
|
|
2222
2107
|
}
|
|
2223
2108
|
},
|
|
2224
2109
|
{
|
|
2225
2110
|
"kind": "field",
|
|
2226
|
-
"name": "
|
|
2111
|
+
"name": "name",
|
|
2227
2112
|
"type": {
|
|
2228
|
-
"text": "
|
|
2113
|
+
"text": "string"
|
|
2229
2114
|
},
|
|
2230
|
-
"
|
|
2231
|
-
"default": "void 0",
|
|
2232
|
-
"inheritedFrom": {
|
|
2233
|
-
"name": "FoundationElement",
|
|
2234
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2235
|
-
}
|
|
2115
|
+
"default": "'Actions'"
|
|
2236
2116
|
},
|
|
2237
2117
|
{
|
|
2238
2118
|
"kind": "field",
|
|
2239
|
-
"name": "
|
|
2119
|
+
"name": "open",
|
|
2240
2120
|
"type": {
|
|
2241
|
-
"text": "
|
|
2121
|
+
"text": "boolean"
|
|
2242
2122
|
},
|
|
2243
|
-
"
|
|
2244
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2245
|
-
"inheritedFrom": {
|
|
2246
|
-
"name": "FoundationElement",
|
|
2247
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2248
|
-
}
|
|
2123
|
+
"default": "false"
|
|
2249
2124
|
},
|
|
2250
2125
|
{
|
|
2251
2126
|
"kind": "field",
|
|
2252
|
-
"name": "
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2253
2128
|
"type": {
|
|
2254
|
-
"text": "
|
|
2255
|
-
},
|
|
2256
|
-
"privacy": "public",
|
|
2257
|
-
"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.",
|
|
2258
|
-
"inheritedFrom": {
|
|
2259
|
-
"name": "FoundationElement",
|
|
2260
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2129
|
+
"text": "string"
|
|
2261
2130
|
}
|
|
2262
2131
|
},
|
|
2263
2132
|
{
|
|
2264
|
-
"kind": "
|
|
2265
|
-
"name": "
|
|
2266
|
-
"
|
|
2133
|
+
"kind": "field",
|
|
2134
|
+
"name": "hideDisabled",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "boolean"
|
|
2137
|
+
},
|
|
2138
|
+
"default": "false"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "field",
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "actionsMenu",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "HTMLElement"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"kind": "field",
|
|
2164
|
+
"name": "actionsOpener",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "HTMLElement"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "method",
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "method",
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "oldValue",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "any"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "newValue",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "any"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "method",
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "method",
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"kind": "field",
|
|
2216
|
+
"name": "allActions",
|
|
2217
|
+
"type": {
|
|
2218
|
+
"text": "ActionMenuItem[]"
|
|
2219
|
+
},
|
|
2220
|
+
"readonly": true
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "field",
|
|
2224
|
+
"name": "rowData",
|
|
2225
|
+
"readonly": true
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "method",
|
|
2229
|
+
"name": "getLabel",
|
|
2230
|
+
"parameters": [
|
|
2231
|
+
{
|
|
2232
|
+
"name": "name",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string | ((rowData: any) => string)"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
]
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"kind": "method",
|
|
2241
|
+
"name": "getTemplate",
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "prefix",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "string"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"kind": "field",
|
|
2253
|
+
"name": "_presentation",
|
|
2254
|
+
"type": {
|
|
2255
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2256
|
+
},
|
|
2257
|
+
"privacy": "private",
|
|
2258
|
+
"default": "void 0",
|
|
2259
|
+
"inheritedFrom": {
|
|
2260
|
+
"name": "FoundationElement",
|
|
2261
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"kind": "field",
|
|
2266
|
+
"name": "$presentation",
|
|
2267
|
+
"type": {
|
|
2268
|
+
"text": "ComponentPresentation | null"
|
|
2269
|
+
},
|
|
2270
|
+
"privacy": "public",
|
|
2271
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2272
|
+
"inheritedFrom": {
|
|
2273
|
+
"name": "FoundationElement",
|
|
2274
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "field",
|
|
2279
|
+
"name": "template",
|
|
2280
|
+
"type": {
|
|
2281
|
+
"text": "ElementViewTemplate | void | null"
|
|
2282
|
+
},
|
|
2283
|
+
"privacy": "public",
|
|
2284
|
+
"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.",
|
|
2285
|
+
"inheritedFrom": {
|
|
2286
|
+
"name": "FoundationElement",
|
|
2287
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"kind": "method",
|
|
2292
|
+
"name": "templateChanged",
|
|
2293
|
+
"privacy": "protected",
|
|
2267
2294
|
"return": {
|
|
2268
2295
|
"type": {
|
|
2269
2296
|
"text": "void"
|
|
@@ -2333,78 +2360,107 @@
|
|
|
2333
2360
|
}
|
|
2334
2361
|
}
|
|
2335
2362
|
],
|
|
2336
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2337
2364
|
{
|
|
2338
|
-
"
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2365
|
+
"name": "is-vertical",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"default": "false",
|
|
2370
|
+
"fieldName": "isVertical"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "add-default-actions",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "boolean"
|
|
2376
|
+
},
|
|
2377
|
+
"default": "true",
|
|
2378
|
+
"fieldName": "addDefaultActions"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "auto-close-on-action",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "true",
|
|
2386
|
+
"fieldName": "autoCloseOnAction"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "string"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "'Actions'",
|
|
2394
|
+
"fieldName": "name"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "open",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "false",
|
|
2402
|
+
"fieldName": "open"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "buttonAppearance",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "buttonAppearance"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "hide-disabled",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "boolean"
|
|
2415
|
+
},
|
|
2416
|
+
"default": "false",
|
|
2417
|
+
"fieldName": "hideDisabled"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2344
2426
|
}
|
|
2345
|
-
]
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
-
"type": {
|
|
2351
|
-
"text": "ShadowRootInit"
|
|
2352
|
-
},
|
|
2353
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"kind": "variable",
|
|
2357
|
-
"name": "defaultAccordionItemConfig",
|
|
2358
|
-
"type": {
|
|
2359
|
-
"text": "object"
|
|
2427
|
+
],
|
|
2428
|
+
"superclass": {
|
|
2429
|
+
"name": "FoundationElement",
|
|
2430
|
+
"package": "@microsoft/fast-foundation"
|
|
2360
2431
|
},
|
|
2361
|
-
"
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2433
|
+
"customElement": true
|
|
2362
2434
|
},
|
|
2363
2435
|
{
|
|
2364
2436
|
"kind": "variable",
|
|
2365
|
-
"name": "
|
|
2366
|
-
"description": "The Foundation
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2367
2439
|
"privacy": "public"
|
|
2368
2440
|
}
|
|
2369
2441
|
],
|
|
2370
2442
|
"exports": [
|
|
2371
2443
|
{
|
|
2372
2444
|
"kind": "js",
|
|
2373
|
-
"name": "
|
|
2374
|
-
"declaration": {
|
|
2375
|
-
"name": "AccordionItem",
|
|
2376
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2377
|
-
}
|
|
2378
|
-
},
|
|
2379
|
-
{
|
|
2380
|
-
"kind": "js",
|
|
2381
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2382
|
-
"declaration": {
|
|
2383
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
|
-
}
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"kind": "js",
|
|
2389
|
-
"name": "defaultAccordionItemConfig",
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2390
2446
|
"declaration": {
|
|
2391
|
-
"name": "
|
|
2392
|
-
"module": "src/
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2393
2449
|
}
|
|
2394
2450
|
},
|
|
2395
2451
|
{
|
|
2396
2452
|
"kind": "js",
|
|
2397
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2398
2454
|
"declaration": {
|
|
2399
|
-
"name": "
|
|
2400
|
-
"module": "src/
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2401
2457
|
}
|
|
2402
2458
|
}
|
|
2403
2459
|
]
|
|
2404
2460
|
},
|
|
2405
2461
|
{
|
|
2406
2462
|
"kind": "javascript-module",
|
|
2407
|
-
"path": "src/
|
|
2463
|
+
"path": "src/actions-menu/index.ts",
|
|
2408
2464
|
"declarations": [],
|
|
2409
2465
|
"exports": [
|
|
2410
2466
|
{
|
|
@@ -2412,7 +2468,7 @@
|
|
|
2412
2468
|
"name": "*",
|
|
2413
2469
|
"declaration": {
|
|
2414
2470
|
"name": "*",
|
|
2415
|
-
"package": "./
|
|
2471
|
+
"package": "./actions-menu.styles"
|
|
2416
2472
|
}
|
|
2417
2473
|
},
|
|
2418
2474
|
{
|
|
@@ -2420,7 +2476,7 @@
|
|
|
2420
2476
|
"name": "*",
|
|
2421
2477
|
"declaration": {
|
|
2422
2478
|
"name": "*",
|
|
2423
|
-
"package": "./
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2424
2480
|
}
|
|
2425
2481
|
},
|
|
2426
2482
|
{
|
|
@@ -2428,210 +2484,122 @@
|
|
|
2428
2484
|
"name": "*",
|
|
2429
2485
|
"declaration": {
|
|
2430
2486
|
"name": "*",
|
|
2431
|
-
"package": "./
|
|
2487
|
+
"package": "./actions-menu"
|
|
2432
2488
|
}
|
|
2433
2489
|
}
|
|
2434
2490
|
]
|
|
2435
2491
|
},
|
|
2436
2492
|
{
|
|
2437
2493
|
"kind": "javascript-module",
|
|
2438
|
-
"path": "src/
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2439
2495
|
"declarations": [
|
|
2440
2496
|
{
|
|
2441
|
-
"kind": "
|
|
2442
|
-
"name": "
|
|
2443
|
-
"
|
|
2444
|
-
"type": {
|
|
2445
|
-
"text": "ElementStyles"
|
|
2446
|
-
}
|
|
2447
|
-
},
|
|
2448
|
-
"parameters": [
|
|
2449
|
-
{
|
|
2450
|
-
"name": "context",
|
|
2451
|
-
"type": {
|
|
2452
|
-
"text": "ElementDefinitionContext"
|
|
2453
|
-
}
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"name": "definition",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "FoundationElementDefinition"
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
]
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"kind": "function",
|
|
2465
|
-
"name": "foundationActionsMenuStyles",
|
|
2466
|
-
"return": {
|
|
2467
|
-
"type": {
|
|
2468
|
-
"text": "ElementStyles"
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
"parameters": [
|
|
2472
|
-
{
|
|
2473
|
-
"name": "context",
|
|
2474
|
-
"type": {
|
|
2475
|
-
"text": "ElementDefinitionContext"
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
{
|
|
2479
|
-
"name": "definition",
|
|
2480
|
-
"type": {
|
|
2481
|
-
"text": "FoundationElementDefinition"
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
]
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"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`"
|
|
2485
2500
|
}
|
|
2486
2501
|
],
|
|
2487
2502
|
"exports": [
|
|
2488
2503
|
{
|
|
2489
2504
|
"kind": "js",
|
|
2490
|
-
"name": "
|
|
2491
|
-
"declaration": {
|
|
2492
|
-
"name": "actionsMenuBaseStyles",
|
|
2493
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
-
}
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"kind": "js",
|
|
2498
|
-
"name": "foundationActionsMenuStyles",
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
2506
|
"declaration": {
|
|
2500
|
-
"name": "
|
|
2501
|
-
"module": "src/
|
|
2507
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2502
2509
|
}
|
|
2503
2510
|
}
|
|
2504
2511
|
]
|
|
2505
2512
|
},
|
|
2506
2513
|
{
|
|
2507
2514
|
"kind": "javascript-module",
|
|
2508
|
-
"path": "src/
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2509
2516
|
"declarations": [
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "function",
|
|
2512
|
-
"name": "menuTemplate",
|
|
2513
|
-
"parameters": [
|
|
2514
|
-
{
|
|
2515
|
-
"name": "prefix",
|
|
2516
|
-
"type": {
|
|
2517
|
-
"text": "string"
|
|
2518
|
-
}
|
|
2519
|
-
}
|
|
2520
|
-
]
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"kind": "function",
|
|
2524
|
-
"name": "singleOptionTemplate",
|
|
2525
|
-
"parameters": [
|
|
2526
|
-
{
|
|
2527
|
-
"name": "prefix",
|
|
2528
|
-
"type": {
|
|
2529
|
-
"text": "string"
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2532
|
-
]
|
|
2533
|
-
},
|
|
2534
2517
|
{
|
|
2535
2518
|
"kind": "variable",
|
|
2536
|
-
"name": "
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2537
2520
|
"type": {
|
|
2538
|
-
"text": "ViewTemplate<
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2539
2522
|
},
|
|
2540
|
-
"default": "html`\n
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2541
2524
|
}
|
|
2542
2525
|
],
|
|
2543
2526
|
"exports": [
|
|
2544
2527
|
{
|
|
2545
2528
|
"kind": "js",
|
|
2546
|
-
"name": "
|
|
2547
|
-
"declaration": {
|
|
2548
|
-
"name": "menuTemplate",
|
|
2549
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
-
}
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"kind": "js",
|
|
2554
|
-
"name": "singleOptionTemplate",
|
|
2555
|
-
"declaration": {
|
|
2556
|
-
"name": "singleOptionTemplate",
|
|
2557
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
"kind": "js",
|
|
2562
|
-
"name": "foundationActionsMenuTemplate",
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2563
2530
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"module": "src/
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2566
2533
|
}
|
|
2567
2534
|
}
|
|
2568
2535
|
]
|
|
2569
2536
|
},
|
|
2570
2537
|
{
|
|
2571
2538
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2573
2540
|
"declarations": [
|
|
2574
2541
|
{
|
|
2575
2542
|
"kind": "class",
|
|
2576
|
-
"description": "",
|
|
2577
|
-
"name": "
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2578
2545
|
"members": [
|
|
2579
2546
|
{
|
|
2580
2547
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2548
|
+
"name": "providerRegistry",
|
|
2582
2549
|
"type": {
|
|
2583
|
-
"text": "
|
|
2550
|
+
"text": "AIProviderRegistry"
|
|
2584
2551
|
}
|
|
2585
2552
|
},
|
|
2586
2553
|
{
|
|
2587
2554
|
"kind": "field",
|
|
2588
|
-
"name": "
|
|
2555
|
+
"name": "placeholder",
|
|
2589
2556
|
"type": {
|
|
2590
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2591
2558
|
},
|
|
2592
|
-
"default": "
|
|
2559
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2593
2560
|
},
|
|
2594
2561
|
{
|
|
2595
2562
|
"kind": "field",
|
|
2596
|
-
"name": "
|
|
2563
|
+
"name": "disabled",
|
|
2597
2564
|
"type": {
|
|
2598
2565
|
"text": "boolean"
|
|
2599
|
-
}
|
|
2600
|
-
"default": "true"
|
|
2566
|
+
}
|
|
2601
2567
|
},
|
|
2602
2568
|
{
|
|
2603
2569
|
"kind": "field",
|
|
2604
|
-
"name": "
|
|
2570
|
+
"name": "inputValue",
|
|
2605
2571
|
"type": {
|
|
2606
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2607
2573
|
},
|
|
2608
|
-
"default": "
|
|
2574
|
+
"default": "''"
|
|
2609
2575
|
},
|
|
2610
2576
|
{
|
|
2611
2577
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2613
2579
|
"type": {
|
|
2614
|
-
"text": "
|
|
2615
|
-
}
|
|
2580
|
+
"text": "boolean"
|
|
2581
|
+
},
|
|
2582
|
+
"default": "false"
|
|
2616
2583
|
},
|
|
2617
2584
|
{
|
|
2618
2585
|
"kind": "field",
|
|
2619
|
-
"name": "
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2620
2587
|
"type": {
|
|
2621
|
-
"text": "
|
|
2622
|
-
}
|
|
2588
|
+
"text": "string | null"
|
|
2589
|
+
},
|
|
2590
|
+
"default": "null"
|
|
2623
2591
|
},
|
|
2624
2592
|
{
|
|
2625
2593
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2594
|
+
"name": "activeGroups",
|
|
2627
2595
|
"type": {
|
|
2628
|
-
"text": "
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2629
2597
|
},
|
|
2630
|
-
"default": "
|
|
2598
|
+
"default": "[]"
|
|
2631
2599
|
},
|
|
2632
2600
|
{
|
|
2633
2601
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2602
|
+
"name": "showingChips",
|
|
2635
2603
|
"type": {
|
|
2636
2604
|
"text": "boolean"
|
|
2637
2605
|
},
|
|
@@ -2639,14 +2607,15 @@
|
|
|
2639
2607
|
},
|
|
2640
2608
|
{
|
|
2641
2609
|
"kind": "field",
|
|
2642
|
-
"name": "
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2643
2611
|
"type": {
|
|
2644
|
-
"text": "string"
|
|
2645
|
-
}
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2613
|
+
},
|
|
2614
|
+
"default": "[]"
|
|
2646
2615
|
},
|
|
2647
2616
|
{
|
|
2648
2617
|
"kind": "field",
|
|
2649
|
-
"name": "
|
|
2618
|
+
"name": "isRecording",
|
|
2650
2619
|
"type": {
|
|
2651
2620
|
"text": "boolean"
|
|
2652
2621
|
},
|
|
@@ -2654,114 +2623,125 @@
|
|
|
2654
2623
|
},
|
|
2655
2624
|
{
|
|
2656
2625
|
"kind": "field",
|
|
2657
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2658
2627
|
"type": {
|
|
2659
|
-
"text": "
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2660
2629
|
},
|
|
2661
|
-
"
|
|
2630
|
+
"privacy": "public"
|
|
2662
2631
|
},
|
|
2663
2632
|
{
|
|
2664
2633
|
"kind": "field",
|
|
2665
|
-
"name": "
|
|
2634
|
+
"name": "stopRecording",
|
|
2666
2635
|
"type": {
|
|
2667
|
-
"text": "
|
|
2668
|
-
}
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2637
|
+
},
|
|
2638
|
+
"privacy": "private",
|
|
2639
|
+
"default": "null"
|
|
2669
2640
|
},
|
|
2670
2641
|
{
|
|
2671
2642
|
"kind": "field",
|
|
2672
|
-
"name": "
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2673
2644
|
"type": {
|
|
2674
|
-
"text": "
|
|
2675
|
-
}
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2646
|
+
},
|
|
2647
|
+
"privacy": "private",
|
|
2648
|
+
"default": "null"
|
|
2676
2649
|
},
|
|
2677
2650
|
{
|
|
2678
2651
|
"kind": "field",
|
|
2679
|
-
"name": "
|
|
2652
|
+
"name": "speechAvailable",
|
|
2680
2653
|
"type": {
|
|
2681
|
-
"text": "
|
|
2682
|
-
}
|
|
2654
|
+
"text": "boolean"
|
|
2655
|
+
},
|
|
2656
|
+
"readonly": true
|
|
2683
2657
|
},
|
|
2684
2658
|
{
|
|
2685
|
-
"kind": "
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "criteriaChips",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2688
2665
|
},
|
|
2689
2666
|
{
|
|
2690
2667
|
"kind": "method",
|
|
2691
|
-
"name": "
|
|
2692
|
-
"privacy": "
|
|
2693
|
-
"
|
|
2694
|
-
{
|
|
2695
|
-
"
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
},
|
|
2668
|
+
"name": "getFieldLabel",
|
|
2669
|
+
"privacy": "private",
|
|
2670
|
+
"return": {
|
|
2671
|
+
"type": {
|
|
2672
|
+
"text": "string"
|
|
2673
|
+
}
|
|
2674
|
+
},
|
|
2675
|
+
"parameters": [
|
|
2700
2676
|
{
|
|
2701
|
-
"name": "
|
|
2677
|
+
"name": "fieldName",
|
|
2702
2678
|
"type": {
|
|
2703
|
-
"text": "
|
|
2679
|
+
"text": "string"
|
|
2704
2680
|
}
|
|
2705
2681
|
}
|
|
2706
2682
|
]
|
|
2707
2683
|
},
|
|
2708
2684
|
{
|
|
2709
2685
|
"kind": "method",
|
|
2710
|
-
"name": "
|
|
2711
|
-
"
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2687
|
+
"return": {
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "void"
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2716
2692
|
},
|
|
2717
2693
|
{
|
|
2718
2694
|
"kind": "method",
|
|
2719
|
-
"name": "
|
|
2695
|
+
"name": "removeChip",
|
|
2696
|
+
"return": {
|
|
2697
|
+
"type": {
|
|
2698
|
+
"text": "void"
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2720
2701
|
"parameters": [
|
|
2721
2702
|
{
|
|
2722
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2723
2704
|
"type": {
|
|
2724
|
-
"text": "
|
|
2705
|
+
"text": "number"
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "clauseIndex",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "number"
|
|
2725
2712
|
}
|
|
2726
2713
|
}
|
|
2727
2714
|
]
|
|
2728
2715
|
},
|
|
2729
2716
|
{
|
|
2730
|
-
"kind": "
|
|
2731
|
-
"name": "
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
|
|
2735
|
-
|
|
2717
|
+
"kind": "method",
|
|
2718
|
+
"name": "clearChips",
|
|
2719
|
+
"return": {
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "void"
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2736
2724
|
},
|
|
2737
2725
|
{
|
|
2738
|
-
"kind": "
|
|
2739
|
-
"name": "
|
|
2740
|
-
"readonly": true
|
|
2726
|
+
"kind": "method",
|
|
2727
|
+
"name": "handleSubmit"
|
|
2741
2728
|
},
|
|
2742
2729
|
{
|
|
2743
2730
|
"kind": "method",
|
|
2744
|
-
"name": "
|
|
2745
|
-
"parameters": [
|
|
2746
|
-
{
|
|
2747
|
-
"name": "name",
|
|
2748
|
-
"type": {
|
|
2749
|
-
"text": "string | ((rowData: any) => string)"
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
]
|
|
2731
|
+
"name": "handleBlur"
|
|
2753
2732
|
},
|
|
2754
2733
|
{
|
|
2755
2734
|
"kind": "method",
|
|
2756
|
-
"name": "
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2735
|
+
"name": "clear"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "method",
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2765
2745
|
},
|
|
2766
2746
|
{
|
|
2767
2747
|
"kind": "field",
|
|
@@ -2875,115 +2855,154 @@
|
|
|
2875
2855
|
}
|
|
2876
2856
|
}
|
|
2877
2857
|
],
|
|
2878
|
-
"
|
|
2879
|
-
{
|
|
2880
|
-
"name": "is-vertical",
|
|
2881
|
-
"type": {
|
|
2882
|
-
"text": "boolean"
|
|
2883
|
-
},
|
|
2884
|
-
"default": "false",
|
|
2885
|
-
"fieldName": "isVertical"
|
|
2886
|
-
},
|
|
2887
|
-
{
|
|
2888
|
-
"name": "add-default-actions",
|
|
2889
|
-
"type": {
|
|
2890
|
-
"text": "boolean"
|
|
2891
|
-
},
|
|
2892
|
-
"default": "true",
|
|
2893
|
-
"fieldName": "addDefaultActions"
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"name": "auto-close-on-action",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "boolean"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "true",
|
|
2901
|
-
"fieldName": "autoCloseOnAction"
|
|
2902
|
-
},
|
|
2858
|
+
"events": [
|
|
2903
2859
|
{
|
|
2904
|
-
"
|
|
2905
|
-
"
|
|
2906
|
-
"text": "string"
|
|
2907
|
-
},
|
|
2908
|
-
"default": "'Actions'",
|
|
2909
|
-
"fieldName": "name"
|
|
2860
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
+
"name": "criteria-changed"
|
|
2910
2862
|
},
|
|
2911
2863
|
{
|
|
2912
|
-
"
|
|
2913
|
-
"
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
"fieldName": "open"
|
|
2918
|
-
},
|
|
2864
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
+
"name": "validation-errors"
|
|
2866
|
+
}
|
|
2867
|
+
],
|
|
2868
|
+
"attributes": [
|
|
2919
2869
|
{
|
|
2920
|
-
"name": "
|
|
2870
|
+
"name": "placeholder",
|
|
2921
2871
|
"type": {
|
|
2922
2872
|
"text": "string"
|
|
2923
2873
|
},
|
|
2924
|
-
"
|
|
2925
|
-
|
|
2926
|
-
{
|
|
2927
|
-
"name": "hide-disabled",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "boolean"
|
|
2930
|
-
},
|
|
2931
|
-
"default": "false",
|
|
2932
|
-
"fieldName": "hideDisabled"
|
|
2874
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
+
"fieldName": "placeholder"
|
|
2933
2876
|
},
|
|
2934
2877
|
{
|
|
2935
|
-
"name": "hide-menu-single-option",
|
|
2936
2878
|
"type": {
|
|
2937
2879
|
"text": "boolean"
|
|
2938
2880
|
},
|
|
2939
|
-
"
|
|
2940
|
-
"fieldName": "hideMenuSingleOption"
|
|
2881
|
+
"fieldName": "disabled"
|
|
2941
2882
|
}
|
|
2942
2883
|
],
|
|
2943
2884
|
"superclass": {
|
|
2944
2885
|
"name": "FoundationElement",
|
|
2945
2886
|
"package": "@microsoft/fast-foundation"
|
|
2946
2887
|
},
|
|
2947
|
-
"tagName": "%%prefix%%-
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2948
2889
|
"customElement": true
|
|
2949
2890
|
},
|
|
2950
2891
|
{
|
|
2951
2892
|
"kind": "variable",
|
|
2952
|
-
"name": "
|
|
2953
|
-
"
|
|
2954
|
-
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2894
|
+
"type": {
|
|
2895
|
+
"text": "ShadowRootInit"
|
|
2896
|
+
},
|
|
2897
|
+
"default": "undefined"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"kind": "variable",
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "object"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "{}"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "variable",
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
2955
2910
|
}
|
|
2956
2911
|
],
|
|
2957
2912
|
"exports": [
|
|
2958
2913
|
{
|
|
2959
2914
|
"kind": "js",
|
|
2960
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
2961
2916
|
"declaration": {
|
|
2962
|
-
"name": "
|
|
2963
|
-
"module": "src/
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2964
2919
|
}
|
|
2965
2920
|
},
|
|
2966
2921
|
{
|
|
2967
2922
|
"kind": "js",
|
|
2968
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2969
2924
|
"declaration": {
|
|
2970
|
-
"name": "
|
|
2971
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "js",
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
+
"declaration": {
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"kind": "js",
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2940
|
+
"declaration": {
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2972
2943
|
}
|
|
2973
2944
|
}
|
|
2974
2945
|
]
|
|
2975
2946
|
},
|
|
2976
2947
|
{
|
|
2977
2948
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2979
2950
|
"declarations": [],
|
|
2980
2951
|
"exports": [
|
|
2952
|
+
{
|
|
2953
|
+
"kind": "js",
|
|
2954
|
+
"name": "AiCriteriaSearch",
|
|
2955
|
+
"declaration": {
|
|
2956
|
+
"name": "AiCriteriaSearch",
|
|
2957
|
+
"module": "./ai-criteria-search"
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"kind": "js",
|
|
2962
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
+
"declaration": {
|
|
2964
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
+
"module": "./ai-criteria-search"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "js",
|
|
2970
|
+
"name": "foundationAiCriteriaSearch",
|
|
2971
|
+
"declaration": {
|
|
2972
|
+
"name": "foundationAiCriteriaSearch",
|
|
2973
|
+
"module": "./ai-criteria-search"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "js",
|
|
2978
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
+
"module": "./ai-criteria-search"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
+
"module": "./ai-criteria-search.styles"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "js",
|
|
2994
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
+
"declaration": {
|
|
2996
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2997
|
+
"module": "./ai-criteria-search.template"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
2981
3000
|
{
|
|
2982
3001
|
"kind": "js",
|
|
2983
3002
|
"name": "*",
|
|
2984
3003
|
"declaration": {
|
|
2985
3004
|
"name": "*",
|
|
2986
|
-
"package": "./
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
2987
3006
|
}
|
|
2988
3007
|
},
|
|
2989
3008
|
{
|
|
@@ -2991,7 +3010,7 @@
|
|
|
2991
3010
|
"name": "*",
|
|
2992
3011
|
"declaration": {
|
|
2993
3012
|
"name": "*",
|
|
2994
|
-
"package": "./
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
2995
3014
|
}
|
|
2996
3015
|
},
|
|
2997
3016
|
{
|
|
@@ -2999,215 +3018,357 @@
|
|
|
2999
3018
|
"name": "*",
|
|
3000
3019
|
"declaration": {
|
|
3001
3020
|
"name": "*",
|
|
3002
|
-
"package": "./
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
3003
3022
|
}
|
|
3004
3023
|
}
|
|
3005
3024
|
]
|
|
3006
3025
|
},
|
|
3007
3026
|
{
|
|
3008
3027
|
"kind": "javascript-module",
|
|
3009
|
-
"path": "src/ai-criteria-search/
|
|
3028
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3010
3029
|
"declarations": [
|
|
3011
3030
|
{
|
|
3012
|
-
"kind": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
3031
|
+
"kind": "function",
|
|
3032
|
+
"name": "formatValidationErrors",
|
|
3033
|
+
"return": {
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"parameters": [
|
|
3039
|
+
{
|
|
3040
|
+
"name": "errors",
|
|
3041
|
+
"type": {
|
|
3042
|
+
"text": "ValidationError[]"
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"name": "showCriteriaError",
|
|
3051
|
+
"return": {
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "void"
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"parameters": [
|
|
3057
|
+
{
|
|
3058
|
+
"name": "title",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"name": "body",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"description": "Error message to display"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "tagName",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"exports": [
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "js",
|
|
3085
|
+
"name": "formatValidationErrors",
|
|
3086
|
+
"declaration": {
|
|
3087
|
+
"name": "formatValidationErrors",
|
|
3088
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "js",
|
|
3093
|
+
"name": "showCriteriaError",
|
|
3094
|
+
"declaration": {
|
|
3095
|
+
"name": "showCriteriaError",
|
|
3096
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"kind": "javascript-module",
|
|
3103
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3104
|
+
"declarations": [
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "function",
|
|
3107
|
+
"name": "foundationAccordionStyles",
|
|
3108
|
+
"return": {
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "ElementStyles"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "context",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "ElementDefinitionContext"
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"name": "definition",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "FoundationElementDefinition"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3015
3127
|
}
|
|
3016
3128
|
],
|
|
3017
3129
|
"exports": [
|
|
3018
3130
|
{
|
|
3019
3131
|
"kind": "js",
|
|
3020
|
-
"name": "
|
|
3132
|
+
"name": "foundationAccordionStyles",
|
|
3021
3133
|
"declaration": {
|
|
3022
|
-
"name": "
|
|
3023
|
-
"module": "src/
|
|
3134
|
+
"name": "foundationAccordionStyles",
|
|
3135
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3024
3136
|
}
|
|
3025
3137
|
}
|
|
3026
3138
|
]
|
|
3027
3139
|
},
|
|
3028
3140
|
{
|
|
3029
3141
|
"kind": "javascript-module",
|
|
3030
|
-
"path": "src/
|
|
3142
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3031
3143
|
"declarations": [
|
|
3032
3144
|
{
|
|
3033
|
-
"kind": "
|
|
3034
|
-
"name": "
|
|
3035
|
-
"
|
|
3036
|
-
"
|
|
3145
|
+
"kind": "function",
|
|
3146
|
+
"name": "foundationAccordionTemplate",
|
|
3147
|
+
"return": {
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "ViewTemplate<Accordion>"
|
|
3150
|
+
}
|
|
3037
3151
|
},
|
|
3038
|
-
"
|
|
3152
|
+
"parameters": [
|
|
3153
|
+
{
|
|
3154
|
+
"name": "context",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "ElementDefinitionContext"
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"name": "definition",
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "FoundationElementDefinition"
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
]
|
|
3039
3166
|
}
|
|
3040
3167
|
],
|
|
3041
3168
|
"exports": [
|
|
3042
3169
|
{
|
|
3043
3170
|
"kind": "js",
|
|
3044
|
-
"name": "
|
|
3171
|
+
"name": "foundationAccordionTemplate",
|
|
3045
3172
|
"declaration": {
|
|
3046
|
-
"name": "
|
|
3047
|
-
"module": "src/
|
|
3173
|
+
"name": "foundationAccordionTemplate",
|
|
3174
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3048
3175
|
}
|
|
3049
3176
|
}
|
|
3050
3177
|
]
|
|
3051
3178
|
},
|
|
3052
3179
|
{
|
|
3053
3180
|
"kind": "javascript-module",
|
|
3054
|
-
"path": "src/
|
|
3181
|
+
"path": "src/accordion/accordion.ts",
|
|
3055
3182
|
"declarations": [
|
|
3056
3183
|
{
|
|
3057
3184
|
"kind": "class",
|
|
3058
|
-
"description": "
|
|
3059
|
-
"name": "
|
|
3060
|
-
"
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
},
|
|
3185
|
+
"description": "",
|
|
3186
|
+
"name": "Accordion",
|
|
3187
|
+
"superclass": {
|
|
3188
|
+
"name": "FASTAccordion",
|
|
3189
|
+
"package": "@microsoft/fast-foundation"
|
|
3190
|
+
},
|
|
3191
|
+
"tagName": "%%prefix%%-accordion",
|
|
3192
|
+
"customElement": true,
|
|
3193
|
+
"attributes": [
|
|
3068
3194
|
{
|
|
3069
|
-
"
|
|
3070
|
-
"name": "placeholder",
|
|
3195
|
+
"name": "expand-mode",
|
|
3071
3196
|
"type": {
|
|
3072
|
-
"text": "
|
|
3197
|
+
"text": "AccordionExpandMode"
|
|
3073
3198
|
},
|
|
3074
|
-
"
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
"type": {
|
|
3080
|
-
"text": "boolean"
|
|
3199
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
+
"fieldName": "expandmode",
|
|
3201
|
+
"inheritedFrom": {
|
|
3202
|
+
"name": "Accordion",
|
|
3203
|
+
"module": "src/accordion/accordion.ts"
|
|
3081
3204
|
}
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
"name": "inputValue",
|
|
3086
|
-
"type": {
|
|
3087
|
-
"text": "string"
|
|
3088
|
-
},
|
|
3089
|
-
"default": "''"
|
|
3090
|
-
},
|
|
3205
|
+
}
|
|
3206
|
+
],
|
|
3207
|
+
"members": [
|
|
3091
3208
|
{
|
|
3092
3209
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
3210
|
+
"name": "expandmode",
|
|
3094
3211
|
"type": {
|
|
3095
|
-
"text": "
|
|
3212
|
+
"text": "AccordionExpandMode"
|
|
3096
3213
|
},
|
|
3097
|
-
"
|
|
3214
|
+
"privacy": "public",
|
|
3215
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
+
"inheritedFrom": {
|
|
3217
|
+
"name": "Accordion",
|
|
3218
|
+
"module": "src/accordion/accordion.ts"
|
|
3219
|
+
}
|
|
3098
3220
|
},
|
|
3099
3221
|
{
|
|
3100
3222
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
3223
|
+
"name": "activeid",
|
|
3102
3224
|
"type": {
|
|
3103
3225
|
"text": "string | null"
|
|
3104
3226
|
},
|
|
3105
|
-
"
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
"type": {
|
|
3111
|
-
"text": "CriteriaGroup[]"
|
|
3112
|
-
},
|
|
3113
|
-
"default": "[]"
|
|
3227
|
+
"privacy": "private",
|
|
3228
|
+
"inheritedFrom": {
|
|
3229
|
+
"name": "Accordion",
|
|
3230
|
+
"module": "src/accordion/accordion.ts"
|
|
3231
|
+
}
|
|
3114
3232
|
},
|
|
3115
3233
|
{
|
|
3116
3234
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
3235
|
+
"name": "activeItemIndex",
|
|
3118
3236
|
"type": {
|
|
3119
|
-
"text": "
|
|
3237
|
+
"text": "number"
|
|
3120
3238
|
},
|
|
3121
|
-
"
|
|
3239
|
+
"privacy": "private",
|
|
3240
|
+
"default": "0",
|
|
3241
|
+
"inheritedFrom": {
|
|
3242
|
+
"name": "Accordion",
|
|
3243
|
+
"module": "src/accordion/accordion.ts"
|
|
3244
|
+
}
|
|
3122
3245
|
},
|
|
3123
3246
|
{
|
|
3124
3247
|
"kind": "field",
|
|
3125
|
-
"name": "
|
|
3248
|
+
"name": "accordionIds",
|
|
3126
3249
|
"type": {
|
|
3127
|
-
"text": "
|
|
3250
|
+
"text": "Array<string | null>"
|
|
3128
3251
|
},
|
|
3129
|
-
"
|
|
3252
|
+
"privacy": "private",
|
|
3253
|
+
"inheritedFrom": {
|
|
3254
|
+
"name": "Accordion",
|
|
3255
|
+
"module": "src/accordion/accordion.ts"
|
|
3256
|
+
}
|
|
3130
3257
|
},
|
|
3131
3258
|
{
|
|
3132
3259
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3134
|
-
"
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3260
|
+
"name": "change",
|
|
3261
|
+
"privacy": "private",
|
|
3262
|
+
"inheritedFrom": {
|
|
3263
|
+
"name": "Accordion",
|
|
3264
|
+
"module": "src/accordion/accordion.ts"
|
|
3265
|
+
}
|
|
3138
3266
|
},
|
|
3139
3267
|
{
|
|
3140
|
-
"kind": "
|
|
3141
|
-
"name": "
|
|
3142
|
-
"
|
|
3143
|
-
|
|
3268
|
+
"kind": "method",
|
|
3269
|
+
"name": "findExpandedItem",
|
|
3270
|
+
"privacy": "private",
|
|
3271
|
+
"return": {
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "AccordionItem | null"
|
|
3274
|
+
}
|
|
3144
3275
|
},
|
|
3145
|
-
"
|
|
3276
|
+
"inheritedFrom": {
|
|
3277
|
+
"name": "Accordion",
|
|
3278
|
+
"module": "src/accordion/accordion.ts"
|
|
3279
|
+
}
|
|
3146
3280
|
},
|
|
3147
3281
|
{
|
|
3148
3282
|
"kind": "field",
|
|
3149
|
-
"name": "
|
|
3150
|
-
"type": {
|
|
3151
|
-
"text": "(() => void) | null"
|
|
3152
|
-
},
|
|
3283
|
+
"name": "setItems",
|
|
3153
3284
|
"privacy": "private",
|
|
3154
|
-
"
|
|
3285
|
+
"inheritedFrom": {
|
|
3286
|
+
"name": "Accordion",
|
|
3287
|
+
"module": "src/accordion/accordion.ts"
|
|
3288
|
+
}
|
|
3155
3289
|
},
|
|
3156
3290
|
{
|
|
3157
|
-
"kind": "
|
|
3158
|
-
"name": "
|
|
3159
|
-
"type": {
|
|
3160
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
-
},
|
|
3291
|
+
"kind": "method",
|
|
3292
|
+
"name": "resetItems",
|
|
3162
3293
|
"privacy": "private",
|
|
3163
|
-
"
|
|
3294
|
+
"return": {
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "void"
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3299
|
+
"inheritedFrom": {
|
|
3300
|
+
"name": "Accordion",
|
|
3301
|
+
"module": "src/accordion/accordion.ts"
|
|
3302
|
+
}
|
|
3164
3303
|
},
|
|
3165
3304
|
{
|
|
3166
3305
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3168
|
-
"
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3306
|
+
"name": "removeItemListeners",
|
|
3307
|
+
"privacy": "private",
|
|
3308
|
+
"inheritedFrom": {
|
|
3309
|
+
"name": "Accordion",
|
|
3310
|
+
"module": "src/accordion/accordion.ts"
|
|
3311
|
+
}
|
|
3172
3312
|
},
|
|
3173
3313
|
{
|
|
3174
3314
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3176
|
-
"
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3315
|
+
"name": "activeItemChange",
|
|
3316
|
+
"privacy": "private",
|
|
3317
|
+
"inheritedFrom": {
|
|
3318
|
+
"name": "Accordion",
|
|
3319
|
+
"module": "src/accordion/accordion.ts"
|
|
3320
|
+
}
|
|
3180
3321
|
},
|
|
3181
3322
|
{
|
|
3182
3323
|
"kind": "method",
|
|
3183
|
-
"name": "
|
|
3324
|
+
"name": "getItemIds",
|
|
3184
3325
|
"privacy": "private",
|
|
3185
3326
|
"return": {
|
|
3186
3327
|
"type": {
|
|
3187
|
-
"text": "string"
|
|
3328
|
+
"text": "Array<string | null>"
|
|
3188
3329
|
}
|
|
3189
3330
|
},
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
"text": "string"
|
|
3195
|
-
}
|
|
3196
|
-
}
|
|
3197
|
-
]
|
|
3331
|
+
"inheritedFrom": {
|
|
3332
|
+
"name": "Accordion",
|
|
3333
|
+
"module": "src/accordion/accordion.ts"
|
|
3334
|
+
}
|
|
3198
3335
|
},
|
|
3199
3336
|
{
|
|
3200
3337
|
"kind": "method",
|
|
3201
|
-
"name": "
|
|
3338
|
+
"name": "isSingleExpandMode",
|
|
3339
|
+
"privacy": "private",
|
|
3202
3340
|
"return": {
|
|
3203
3341
|
"type": {
|
|
3204
|
-
"text": "
|
|
3342
|
+
"text": "boolean"
|
|
3205
3343
|
}
|
|
3344
|
+
},
|
|
3345
|
+
"inheritedFrom": {
|
|
3346
|
+
"name": "Accordion",
|
|
3347
|
+
"module": "src/accordion/accordion.ts"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "field",
|
|
3352
|
+
"name": "handleItemKeyDown",
|
|
3353
|
+
"privacy": "private",
|
|
3354
|
+
"inheritedFrom": {
|
|
3355
|
+
"name": "Accordion",
|
|
3356
|
+
"module": "src/accordion/accordion.ts"
|
|
3357
|
+
}
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"kind": "field",
|
|
3361
|
+
"name": "handleItemFocus",
|
|
3362
|
+
"privacy": "private",
|
|
3363
|
+
"inheritedFrom": {
|
|
3364
|
+
"name": "Accordion",
|
|
3365
|
+
"module": "src/accordion/accordion.ts"
|
|
3206
3366
|
}
|
|
3207
3367
|
},
|
|
3208
3368
|
{
|
|
3209
3369
|
"kind": "method",
|
|
3210
|
-
"name": "
|
|
3370
|
+
"name": "adjust",
|
|
3371
|
+
"privacy": "private",
|
|
3211
3372
|
"return": {
|
|
3212
3373
|
"type": {
|
|
3213
3374
|
"text": "void"
|
|
@@ -3215,49 +3376,31 @@
|
|
|
3215
3376
|
},
|
|
3216
3377
|
"parameters": [
|
|
3217
3378
|
{
|
|
3218
|
-
"name": "
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "number"
|
|
3221
|
-
}
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
"name": "clauseIndex",
|
|
3379
|
+
"name": "adjustment",
|
|
3225
3380
|
"type": {
|
|
3226
3381
|
"text": "number"
|
|
3227
3382
|
}
|
|
3228
3383
|
}
|
|
3229
|
-
]
|
|
3384
|
+
],
|
|
3385
|
+
"inheritedFrom": {
|
|
3386
|
+
"name": "Accordion",
|
|
3387
|
+
"module": "src/accordion/accordion.ts"
|
|
3388
|
+
}
|
|
3230
3389
|
},
|
|
3231
3390
|
{
|
|
3232
3391
|
"kind": "method",
|
|
3233
|
-
"name": "
|
|
3392
|
+
"name": "focusItem",
|
|
3393
|
+
"privacy": "private",
|
|
3234
3394
|
"return": {
|
|
3235
3395
|
"type": {
|
|
3236
3396
|
"text": "void"
|
|
3237
3397
|
}
|
|
3398
|
+
},
|
|
3399
|
+
"inheritedFrom": {
|
|
3400
|
+
"name": "Accordion",
|
|
3401
|
+
"module": "src/accordion/accordion.ts"
|
|
3238
3402
|
}
|
|
3239
3403
|
},
|
|
3240
|
-
{
|
|
3241
|
-
"kind": "method",
|
|
3242
|
-
"name": "handleSubmit"
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"kind": "method",
|
|
3246
|
-
"name": "handleBlur"
|
|
3247
|
-
},
|
|
3248
|
-
{
|
|
3249
|
-
"kind": "method",
|
|
3250
|
-
"name": "clear"
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
"kind": "method",
|
|
3254
|
-
"name": "toggleSpeechInput"
|
|
3255
|
-
},
|
|
3256
|
-
{
|
|
3257
|
-
"kind": "method",
|
|
3258
|
-
"name": "clearSpeechApplyDebounce",
|
|
3259
|
-
"privacy": "private"
|
|
3260
|
-
},
|
|
3261
3404
|
{
|
|
3262
3405
|
"kind": "field",
|
|
3263
3406
|
"name": "_presentation",
|
|
@@ -3372,48 +3515,26 @@
|
|
|
3372
3515
|
],
|
|
3373
3516
|
"events": [
|
|
3374
3517
|
{
|
|
3375
|
-
"description": "
|
|
3376
|
-
"name": "
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
}
|
|
3382
|
-
],
|
|
3383
|
-
"attributes": [
|
|
3384
|
-
{
|
|
3385
|
-
"name": "placeholder",
|
|
3386
|
-
"type": {
|
|
3387
|
-
"text": "string"
|
|
3388
|
-
},
|
|
3389
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
-
"fieldName": "placeholder"
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
},
|
|
3396
|
-
"fieldName": "disabled"
|
|
3518
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3519
|
+
"name": "change",
|
|
3520
|
+
"inheritedFrom": {
|
|
3521
|
+
"name": "Accordion",
|
|
3522
|
+
"module": "src/accordion/accordion.ts"
|
|
3523
|
+
}
|
|
3397
3524
|
}
|
|
3398
|
-
]
|
|
3399
|
-
"superclass": {
|
|
3400
|
-
"name": "FoundationElement",
|
|
3401
|
-
"package": "@microsoft/fast-foundation"
|
|
3402
|
-
},
|
|
3403
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
-
"customElement": true
|
|
3525
|
+
]
|
|
3405
3526
|
},
|
|
3406
3527
|
{
|
|
3407
3528
|
"kind": "variable",
|
|
3408
|
-
"name": "
|
|
3529
|
+
"name": "foundationAccordionShadowOptions",
|
|
3409
3530
|
"type": {
|
|
3410
3531
|
"text": "ShadowRootInit"
|
|
3411
3532
|
},
|
|
3412
|
-
"default": "
|
|
3533
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3413
3534
|
},
|
|
3414
3535
|
{
|
|
3415
3536
|
"kind": "variable",
|
|
3416
|
-
"name": "
|
|
3537
|
+
"name": "defaultAccordionConfig",
|
|
3417
3538
|
"type": {
|
|
3418
3539
|
"text": "object"
|
|
3419
3540
|
},
|
|
@@ -3421,103 +3542,57 @@
|
|
|
3421
3542
|
},
|
|
3422
3543
|
{
|
|
3423
3544
|
"kind": "variable",
|
|
3424
|
-
"name": "
|
|
3545
|
+
"name": "foundationAccordion",
|
|
3546
|
+
"description": "The Foundation Accordion",
|
|
3547
|
+
"privacy": "public"
|
|
3425
3548
|
}
|
|
3426
3549
|
],
|
|
3427
3550
|
"exports": [
|
|
3428
3551
|
{
|
|
3429
3552
|
"kind": "js",
|
|
3430
|
-
"name": "
|
|
3553
|
+
"name": "Accordion",
|
|
3431
3554
|
"declaration": {
|
|
3432
|
-
"name": "
|
|
3433
|
-
"module": "src/
|
|
3555
|
+
"name": "Accordion",
|
|
3556
|
+
"module": "src/accordion/accordion.ts"
|
|
3434
3557
|
}
|
|
3435
3558
|
},
|
|
3436
3559
|
{
|
|
3437
3560
|
"kind": "js",
|
|
3438
|
-
"name": "
|
|
3561
|
+
"name": "foundationAccordionShadowOptions",
|
|
3439
3562
|
"declaration": {
|
|
3440
|
-
"name": "
|
|
3441
|
-
"module": "src/
|
|
3563
|
+
"name": "foundationAccordionShadowOptions",
|
|
3564
|
+
"module": "src/accordion/accordion.ts"
|
|
3442
3565
|
}
|
|
3443
3566
|
},
|
|
3444
3567
|
{
|
|
3445
3568
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3569
|
+
"name": "defaultAccordionConfig",
|
|
3447
3570
|
"declaration": {
|
|
3448
|
-
"name": "
|
|
3449
|
-
"module": "src/
|
|
3571
|
+
"name": "defaultAccordionConfig",
|
|
3572
|
+
"module": "src/accordion/accordion.ts"
|
|
3450
3573
|
}
|
|
3451
3574
|
},
|
|
3452
3575
|
{
|
|
3453
3576
|
"kind": "js",
|
|
3454
|
-
"name": "
|
|
3577
|
+
"name": "foundationAccordion",
|
|
3455
3578
|
"declaration": {
|
|
3456
|
-
"name": "
|
|
3457
|
-
"module": "src/
|
|
3579
|
+
"name": "foundationAccordion",
|
|
3580
|
+
"module": "src/accordion/accordion.ts"
|
|
3458
3581
|
}
|
|
3459
3582
|
}
|
|
3460
3583
|
]
|
|
3461
3584
|
},
|
|
3462
3585
|
{
|
|
3463
3586
|
"kind": "javascript-module",
|
|
3464
|
-
"path": "src/
|
|
3587
|
+
"path": "src/accordion/index.ts",
|
|
3465
3588
|
"declarations": [],
|
|
3466
3589
|
"exports": [
|
|
3467
|
-
{
|
|
3468
|
-
"kind": "js",
|
|
3469
|
-
"name": "AiCriteriaSearch",
|
|
3470
|
-
"declaration": {
|
|
3471
|
-
"name": "AiCriteriaSearch",
|
|
3472
|
-
"module": "./ai-criteria-search"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"kind": "js",
|
|
3477
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
-
"declaration": {
|
|
3479
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
-
"module": "./ai-criteria-search"
|
|
3481
|
-
}
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"kind": "js",
|
|
3485
|
-
"name": "foundationAiCriteriaSearch",
|
|
3486
|
-
"declaration": {
|
|
3487
|
-
"name": "foundationAiCriteriaSearch",
|
|
3488
|
-
"module": "./ai-criteria-search"
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
-
"module": "./ai-criteria-search"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
-
"module": "./ai-criteria-search.styles"
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "js",
|
|
3509
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
-
"declaration": {
|
|
3511
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
-
"module": "./ai-criteria-search.template"
|
|
3513
|
-
}
|
|
3514
|
-
},
|
|
3515
3590
|
{
|
|
3516
3591
|
"kind": "js",
|
|
3517
3592
|
"name": "*",
|
|
3518
3593
|
"declaration": {
|
|
3519
3594
|
"name": "*",
|
|
3520
|
-
"package": "./
|
|
3595
|
+
"package": "./accordion.template"
|
|
3521
3596
|
}
|
|
3522
3597
|
},
|
|
3523
3598
|
{
|
|
@@ -3525,7 +3600,7 @@
|
|
|
3525
3600
|
"name": "*",
|
|
3526
3601
|
"declaration": {
|
|
3527
3602
|
"name": "*",
|
|
3528
|
-
"package": "./
|
|
3603
|
+
"package": "./accordion.styles"
|
|
3529
3604
|
}
|
|
3530
3605
|
},
|
|
3531
3606
|
{
|
|
@@ -3533,82 +3608,7 @@
|
|
|
3533
3608
|
"name": "*",
|
|
3534
3609
|
"declaration": {
|
|
3535
3610
|
"name": "*",
|
|
3536
|
-
"package": "./
|
|
3537
|
-
}
|
|
3538
|
-
}
|
|
3539
|
-
]
|
|
3540
|
-
},
|
|
3541
|
-
{
|
|
3542
|
-
"kind": "javascript-module",
|
|
3543
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
-
"declarations": [
|
|
3545
|
-
{
|
|
3546
|
-
"kind": "function",
|
|
3547
|
-
"name": "formatValidationErrors",
|
|
3548
|
-
"return": {
|
|
3549
|
-
"type": {
|
|
3550
|
-
"text": "string"
|
|
3551
|
-
}
|
|
3552
|
-
},
|
|
3553
|
-
"parameters": [
|
|
3554
|
-
{
|
|
3555
|
-
"name": "errors",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "ValidationError[]"
|
|
3558
|
-
}
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"kind": "function",
|
|
3565
|
-
"name": "showCriteriaError",
|
|
3566
|
-
"return": {
|
|
3567
|
-
"type": {
|
|
3568
|
-
"text": "void"
|
|
3569
|
-
}
|
|
3570
|
-
},
|
|
3571
|
-
"parameters": [
|
|
3572
|
-
{
|
|
3573
|
-
"name": "title",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "string"
|
|
3576
|
-
},
|
|
3577
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"name": "body",
|
|
3581
|
-
"type": {
|
|
3582
|
-
"text": "string"
|
|
3583
|
-
},
|
|
3584
|
-
"description": "Error message to display"
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"name": "tagName",
|
|
3588
|
-
"type": {
|
|
3589
|
-
"text": "string"
|
|
3590
|
-
},
|
|
3591
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
-
}
|
|
3593
|
-
],
|
|
3594
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
-
}
|
|
3596
|
-
],
|
|
3597
|
-
"exports": [
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "js",
|
|
3600
|
-
"name": "formatValidationErrors",
|
|
3601
|
-
"declaration": {
|
|
3602
|
-
"name": "formatValidationErrors",
|
|
3603
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
-
}
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "js",
|
|
3608
|
-
"name": "showCriteriaError",
|
|
3609
|
-
"declaration": {
|
|
3610
|
-
"name": "showCriteriaError",
|
|
3611
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3611
|
+
"package": "./accordion"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|