@genesislcap/foundation-ui 14.420.0 → 14.421.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 +936 -936
- package/dist/dts/react.d.ts +14 -14
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +4 -4
- package/package.json +19 -19
|
@@ -1390,37 +1390,6 @@
|
|
|
1390
1390
|
}
|
|
1391
1391
|
]
|
|
1392
1392
|
},
|
|
1393
|
-
{
|
|
1394
|
-
"kind": "javascript-module",
|
|
1395
|
-
"path": "src/_config/index.ts",
|
|
1396
|
-
"declarations": [],
|
|
1397
|
-
"exports": [
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "js",
|
|
1400
|
-
"name": "*",
|
|
1401
|
-
"declaration": {
|
|
1402
|
-
"name": "*",
|
|
1403
|
-
"package": "./styles"
|
|
1404
|
-
}
|
|
1405
|
-
},
|
|
1406
|
-
{
|
|
1407
|
-
"kind": "js",
|
|
1408
|
-
"name": "*",
|
|
1409
|
-
"declaration": {
|
|
1410
|
-
"name": "*",
|
|
1411
|
-
"package": "./tokens"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./values"
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
]
|
|
1423
|
-
},
|
|
1424
1393
|
{
|
|
1425
1394
|
"kind": "javascript-module",
|
|
1426
1395
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1817,34 +1786,42 @@
|
|
|
1817
1786
|
},
|
|
1818
1787
|
{
|
|
1819
1788
|
"kind": "javascript-module",
|
|
1820
|
-
"path": "src/
|
|
1821
|
-
"declarations": [
|
|
1789
|
+
"path": "src/_config/index.ts",
|
|
1790
|
+
"declarations": [],
|
|
1791
|
+
"exports": [
|
|
1822
1792
|
{
|
|
1823
|
-
"kind": "
|
|
1824
|
-
"name": "
|
|
1825
|
-
"
|
|
1826
|
-
"
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
{
|
|
1838
|
-
"name": "definition",
|
|
1839
|
-
"type": {
|
|
1840
|
-
"text": "FoundationElementDefinition"
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
]
|
|
1793
|
+
"kind": "js",
|
|
1794
|
+
"name": "*",
|
|
1795
|
+
"declaration": {
|
|
1796
|
+
"name": "*",
|
|
1797
|
+
"package": "./styles"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"kind": "js",
|
|
1802
|
+
"name": "*",
|
|
1803
|
+
"declaration": {
|
|
1804
|
+
"name": "*",
|
|
1805
|
+
"package": "./tokens"
|
|
1806
|
+
}
|
|
1844
1807
|
},
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "js",
|
|
1810
|
+
"name": "*",
|
|
1811
|
+
"declaration": {
|
|
1812
|
+
"name": "*",
|
|
1813
|
+
"package": "./values"
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
]
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"kind": "javascript-module",
|
|
1820
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1821
|
+
"declarations": [
|
|
1845
1822
|
{
|
|
1846
1823
|
"kind": "function",
|
|
1847
|
-
"name": "
|
|
1824
|
+
"name": "foundationAccordionStyles",
|
|
1848
1825
|
"return": {
|
|
1849
1826
|
"type": {
|
|
1850
1827
|
"text": "ElementStyles"
|
|
@@ -1869,269 +1846,277 @@
|
|
|
1869
1846
|
"exports": [
|
|
1870
1847
|
{
|
|
1871
1848
|
"kind": "js",
|
|
1872
|
-
"name": "
|
|
1873
|
-
"declaration": {
|
|
1874
|
-
"name": "actionsMenuBaseStyles",
|
|
1875
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"kind": "js",
|
|
1880
|
-
"name": "foundationActionsMenuStyles",
|
|
1849
|
+
"name": "foundationAccordionStyles",
|
|
1881
1850
|
"declaration": {
|
|
1882
|
-
"name": "
|
|
1883
|
-
"module": "src/
|
|
1851
|
+
"name": "foundationAccordionStyles",
|
|
1852
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1884
1853
|
}
|
|
1885
1854
|
}
|
|
1886
1855
|
]
|
|
1887
1856
|
},
|
|
1888
1857
|
{
|
|
1889
1858
|
"kind": "javascript-module",
|
|
1890
|
-
"path": "src/
|
|
1859
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1891
1860
|
"declarations": [
|
|
1892
1861
|
{
|
|
1893
1862
|
"kind": "function",
|
|
1894
|
-
"name": "
|
|
1863
|
+
"name": "foundationAccordionTemplate",
|
|
1864
|
+
"return": {
|
|
1865
|
+
"type": {
|
|
1866
|
+
"text": "ViewTemplate<Accordion>"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1895
1869
|
"parameters": [
|
|
1896
1870
|
{
|
|
1897
|
-
"name": "
|
|
1871
|
+
"name": "context",
|
|
1898
1872
|
"type": {
|
|
1899
|
-
"text": "
|
|
1873
|
+
"text": "ElementDefinitionContext"
|
|
1900
1874
|
}
|
|
1901
|
-
}
|
|
1902
|
-
]
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"kind": "function",
|
|
1906
|
-
"name": "singleOptionTemplate",
|
|
1907
|
-
"parameters": [
|
|
1875
|
+
},
|
|
1908
1876
|
{
|
|
1909
|
-
"name": "
|
|
1877
|
+
"name": "definition",
|
|
1910
1878
|
"type": {
|
|
1911
|
-
"text": "
|
|
1879
|
+
"text": "FoundationElementDefinition"
|
|
1912
1880
|
}
|
|
1913
1881
|
}
|
|
1914
1882
|
]
|
|
1915
|
-
},
|
|
1916
|
-
{
|
|
1917
|
-
"kind": "variable",
|
|
1918
|
-
"name": "foundationActionsMenuTemplate",
|
|
1919
|
-
"type": {
|
|
1920
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1921
|
-
},
|
|
1922
|
-
"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`"
|
|
1923
1883
|
}
|
|
1924
1884
|
],
|
|
1925
1885
|
"exports": [
|
|
1926
1886
|
{
|
|
1927
1887
|
"kind": "js",
|
|
1928
|
-
"name": "
|
|
1929
|
-
"declaration": {
|
|
1930
|
-
"name": "menuTemplate",
|
|
1931
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1932
|
-
}
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"kind": "js",
|
|
1936
|
-
"name": "singleOptionTemplate",
|
|
1937
|
-
"declaration": {
|
|
1938
|
-
"name": "singleOptionTemplate",
|
|
1939
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "js",
|
|
1944
|
-
"name": "foundationActionsMenuTemplate",
|
|
1888
|
+
"name": "foundationAccordionTemplate",
|
|
1945
1889
|
"declaration": {
|
|
1946
|
-
"name": "
|
|
1947
|
-
"module": "src/
|
|
1890
|
+
"name": "foundationAccordionTemplate",
|
|
1891
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1948
1892
|
}
|
|
1949
1893
|
}
|
|
1950
1894
|
]
|
|
1951
1895
|
},
|
|
1952
1896
|
{
|
|
1953
1897
|
"kind": "javascript-module",
|
|
1954
|
-
"path": "src/
|
|
1898
|
+
"path": "src/accordion/accordion.ts",
|
|
1955
1899
|
"declarations": [
|
|
1956
1900
|
{
|
|
1957
1901
|
"kind": "class",
|
|
1958
1902
|
"description": "",
|
|
1959
|
-
"name": "
|
|
1960
|
-
"
|
|
1903
|
+
"name": "Accordion",
|
|
1904
|
+
"superclass": {
|
|
1905
|
+
"name": "FASTAccordion",
|
|
1906
|
+
"package": "@microsoft/fast-foundation"
|
|
1907
|
+
},
|
|
1908
|
+
"tagName": "%%prefix%%-accordion",
|
|
1909
|
+
"customElement": true,
|
|
1910
|
+
"attributes": [
|
|
1961
1911
|
{
|
|
1962
|
-
"
|
|
1963
|
-
"name": "actions",
|
|
1912
|
+
"name": "expand-mode",
|
|
1964
1913
|
"type": {
|
|
1965
|
-
"text": "
|
|
1914
|
+
"text": "AccordionExpandMode"
|
|
1915
|
+
},
|
|
1916
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1917
|
+
"fieldName": "expandmode",
|
|
1918
|
+
"inheritedFrom": {
|
|
1919
|
+
"name": "Accordion",
|
|
1920
|
+
"module": "src/accordion/accordion.ts"
|
|
1966
1921
|
}
|
|
1967
|
-
}
|
|
1922
|
+
}
|
|
1923
|
+
],
|
|
1924
|
+
"members": [
|
|
1968
1925
|
{
|
|
1969
1926
|
"kind": "field",
|
|
1970
|
-
"name": "
|
|
1927
|
+
"name": "expandmode",
|
|
1971
1928
|
"type": {
|
|
1972
|
-
"text": "
|
|
1929
|
+
"text": "AccordionExpandMode"
|
|
1973
1930
|
},
|
|
1974
|
-
"
|
|
1931
|
+
"privacy": "public",
|
|
1932
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1933
|
+
"inheritedFrom": {
|
|
1934
|
+
"name": "Accordion",
|
|
1935
|
+
"module": "src/accordion/accordion.ts"
|
|
1936
|
+
}
|
|
1975
1937
|
},
|
|
1976
1938
|
{
|
|
1977
1939
|
"kind": "field",
|
|
1978
|
-
"name": "
|
|
1940
|
+
"name": "activeid",
|
|
1979
1941
|
"type": {
|
|
1980
|
-
"text": "
|
|
1942
|
+
"text": "string | null"
|
|
1981
1943
|
},
|
|
1982
|
-
"
|
|
1944
|
+
"privacy": "private",
|
|
1945
|
+
"inheritedFrom": {
|
|
1946
|
+
"name": "Accordion",
|
|
1947
|
+
"module": "src/accordion/accordion.ts"
|
|
1948
|
+
}
|
|
1983
1949
|
},
|
|
1984
1950
|
{
|
|
1985
1951
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
1952
|
+
"name": "activeItemIndex",
|
|
1987
1953
|
"type": {
|
|
1988
|
-
"text": "
|
|
1954
|
+
"text": "number"
|
|
1989
1955
|
},
|
|
1990
|
-
"
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
"type": {
|
|
1996
|
-
"text": "string"
|
|
1956
|
+
"privacy": "private",
|
|
1957
|
+
"default": "0",
|
|
1958
|
+
"inheritedFrom": {
|
|
1959
|
+
"name": "Accordion",
|
|
1960
|
+
"module": "src/accordion/accordion.ts"
|
|
1997
1961
|
}
|
|
1998
1962
|
},
|
|
1999
1963
|
{
|
|
2000
1964
|
"kind": "field",
|
|
2001
|
-
"name": "
|
|
1965
|
+
"name": "accordionIds",
|
|
2002
1966
|
"type": {
|
|
2003
|
-
"text": "
|
|
1967
|
+
"text": "Array<string | null>"
|
|
1968
|
+
},
|
|
1969
|
+
"privacy": "private",
|
|
1970
|
+
"inheritedFrom": {
|
|
1971
|
+
"name": "Accordion",
|
|
1972
|
+
"module": "src/accordion/accordion.ts"
|
|
2004
1973
|
}
|
|
2005
1974
|
},
|
|
2006
1975
|
{
|
|
2007
1976
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
1977
|
+
"name": "change",
|
|
1978
|
+
"privacy": "private",
|
|
1979
|
+
"inheritedFrom": {
|
|
1980
|
+
"name": "Accordion",
|
|
1981
|
+
"module": "src/accordion/accordion.ts"
|
|
1982
|
+
}
|
|
2013
1983
|
},
|
|
2014
1984
|
{
|
|
2015
|
-
"kind": "
|
|
2016
|
-
"name": "
|
|
2017
|
-
"
|
|
2018
|
-
|
|
1985
|
+
"kind": "method",
|
|
1986
|
+
"name": "findExpandedItem",
|
|
1987
|
+
"privacy": "private",
|
|
1988
|
+
"return": {
|
|
1989
|
+
"type": {
|
|
1990
|
+
"text": "AccordionItem | null"
|
|
1991
|
+
}
|
|
2019
1992
|
},
|
|
2020
|
-
"
|
|
1993
|
+
"inheritedFrom": {
|
|
1994
|
+
"name": "Accordion",
|
|
1995
|
+
"module": "src/accordion/accordion.ts"
|
|
1996
|
+
}
|
|
2021
1997
|
},
|
|
2022
1998
|
{
|
|
2023
1999
|
"kind": "field",
|
|
2024
|
-
"name": "
|
|
2025
|
-
"
|
|
2026
|
-
|
|
2000
|
+
"name": "setItems",
|
|
2001
|
+
"privacy": "private",
|
|
2002
|
+
"inheritedFrom": {
|
|
2003
|
+
"name": "Accordion",
|
|
2004
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
2005
|
}
|
|
2028
2006
|
},
|
|
2029
2007
|
{
|
|
2030
|
-
"kind": "
|
|
2031
|
-
"name": "
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "field",
|
|
2039
|
-
"name": "hideMenuSingleOption",
|
|
2040
|
-
"type": {
|
|
2041
|
-
"text": "boolean"
|
|
2008
|
+
"kind": "method",
|
|
2009
|
+
"name": "resetItems",
|
|
2010
|
+
"privacy": "private",
|
|
2011
|
+
"return": {
|
|
2012
|
+
"type": {
|
|
2013
|
+
"text": "void"
|
|
2014
|
+
}
|
|
2042
2015
|
},
|
|
2043
|
-
"
|
|
2016
|
+
"inheritedFrom": {
|
|
2017
|
+
"name": "Accordion",
|
|
2018
|
+
"module": "src/accordion/accordion.ts"
|
|
2019
|
+
}
|
|
2044
2020
|
},
|
|
2045
2021
|
{
|
|
2046
2022
|
"kind": "field",
|
|
2047
|
-
"name": "
|
|
2048
|
-
"
|
|
2049
|
-
|
|
2023
|
+
"name": "removeItemListeners",
|
|
2024
|
+
"privacy": "private",
|
|
2025
|
+
"inheritedFrom": {
|
|
2026
|
+
"name": "Accordion",
|
|
2027
|
+
"module": "src/accordion/accordion.ts"
|
|
2050
2028
|
}
|
|
2051
2029
|
},
|
|
2052
2030
|
{
|
|
2053
2031
|
"kind": "field",
|
|
2054
|
-
"name": "
|
|
2055
|
-
"
|
|
2056
|
-
|
|
2032
|
+
"name": "activeItemChange",
|
|
2033
|
+
"privacy": "private",
|
|
2034
|
+
"inheritedFrom": {
|
|
2035
|
+
"name": "Accordion",
|
|
2036
|
+
"module": "src/accordion/accordion.ts"
|
|
2057
2037
|
}
|
|
2058
2038
|
},
|
|
2059
2039
|
{
|
|
2060
2040
|
"kind": "method",
|
|
2061
|
-
"name": "
|
|
2062
|
-
"privacy": "
|
|
2063
|
-
"
|
|
2064
|
-
{
|
|
2065
|
-
"
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "any"
|
|
2068
|
-
}
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
"name": "newValue",
|
|
2072
|
-
"type": {
|
|
2073
|
-
"text": "any"
|
|
2074
|
-
}
|
|
2041
|
+
"name": "getItemIds",
|
|
2042
|
+
"privacy": "private",
|
|
2043
|
+
"return": {
|
|
2044
|
+
"type": {
|
|
2045
|
+
"text": "Array<string | null>"
|
|
2075
2046
|
}
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
"privacy": "protected"
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"kind": "method",
|
|
2085
|
-
"name": "toggleActionsMenuVisibility"
|
|
2047
|
+
},
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
|
+
}
|
|
2086
2052
|
},
|
|
2087
2053
|
{
|
|
2088
2054
|
"kind": "method",
|
|
2089
|
-
"name": "
|
|
2090
|
-
"
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
"
|
|
2094
|
-
"text": "(rowData) => void | any"
|
|
2095
|
-
}
|
|
2055
|
+
"name": "isSingleExpandMode",
|
|
2056
|
+
"privacy": "private",
|
|
2057
|
+
"return": {
|
|
2058
|
+
"type": {
|
|
2059
|
+
"text": "boolean"
|
|
2096
2060
|
}
|
|
2097
|
-
|
|
2061
|
+
},
|
|
2062
|
+
"inheritedFrom": {
|
|
2063
|
+
"name": "Accordion",
|
|
2064
|
+
"module": "src/accordion/accordion.ts"
|
|
2065
|
+
}
|
|
2098
2066
|
},
|
|
2099
2067
|
{
|
|
2100
2068
|
"kind": "field",
|
|
2101
|
-
"name": "
|
|
2102
|
-
"
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2069
|
+
"name": "handleItemKeyDown",
|
|
2070
|
+
"privacy": "private",
|
|
2071
|
+
"inheritedFrom": {
|
|
2072
|
+
"name": "Accordion",
|
|
2073
|
+
"module": "src/accordion/accordion.ts"
|
|
2074
|
+
}
|
|
2106
2075
|
},
|
|
2107
2076
|
{
|
|
2108
2077
|
"kind": "field",
|
|
2109
|
-
"name": "
|
|
2110
|
-
"
|
|
2078
|
+
"name": "handleItemFocus",
|
|
2079
|
+
"privacy": "private",
|
|
2080
|
+
"inheritedFrom": {
|
|
2081
|
+
"name": "Accordion",
|
|
2082
|
+
"module": "src/accordion/accordion.ts"
|
|
2083
|
+
}
|
|
2111
2084
|
},
|
|
2112
2085
|
{
|
|
2113
2086
|
"kind": "method",
|
|
2114
|
-
"name": "
|
|
2087
|
+
"name": "adjust",
|
|
2088
|
+
"privacy": "private",
|
|
2089
|
+
"return": {
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "void"
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2115
2094
|
"parameters": [
|
|
2116
2095
|
{
|
|
2117
|
-
"name": "
|
|
2096
|
+
"name": "adjustment",
|
|
2118
2097
|
"type": {
|
|
2119
|
-
"text": "
|
|
2098
|
+
"text": "number"
|
|
2120
2099
|
}
|
|
2121
2100
|
}
|
|
2122
|
-
]
|
|
2101
|
+
],
|
|
2102
|
+
"inheritedFrom": {
|
|
2103
|
+
"name": "Accordion",
|
|
2104
|
+
"module": "src/accordion/accordion.ts"
|
|
2105
|
+
}
|
|
2123
2106
|
},
|
|
2124
2107
|
{
|
|
2125
2108
|
"kind": "method",
|
|
2126
|
-
"name": "
|
|
2127
|
-
"
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
"
|
|
2131
|
-
"text": "string"
|
|
2132
|
-
}
|
|
2109
|
+
"name": "focusItem",
|
|
2110
|
+
"privacy": "private",
|
|
2111
|
+
"return": {
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": "void"
|
|
2133
2114
|
}
|
|
2134
|
-
|
|
2115
|
+
},
|
|
2116
|
+
"inheritedFrom": {
|
|
2117
|
+
"name": "Accordion",
|
|
2118
|
+
"module": "src/accordion/accordion.ts"
|
|
2119
|
+
}
|
|
2135
2120
|
},
|
|
2136
2121
|
{
|
|
2137
2122
|
"kind": "field",
|
|
@@ -2245,107 +2230,78 @@
|
|
|
2245
2230
|
}
|
|
2246
2231
|
}
|
|
2247
2232
|
],
|
|
2248
|
-
"
|
|
2249
|
-
{
|
|
2250
|
-
"name": "is-vertical",
|
|
2251
|
-
"type": {
|
|
2252
|
-
"text": "boolean"
|
|
2253
|
-
},
|
|
2254
|
-
"default": "false",
|
|
2255
|
-
"fieldName": "isVertical"
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"name": "add-default-actions",
|
|
2259
|
-
"type": {
|
|
2260
|
-
"text": "boolean"
|
|
2261
|
-
},
|
|
2262
|
-
"default": "true",
|
|
2263
|
-
"fieldName": "addDefaultActions"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"name": "auto-close-on-action",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "true",
|
|
2271
|
-
"fieldName": "autoCloseOnAction"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "name",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "string"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "'Actions'",
|
|
2279
|
-
"fieldName": "name"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "open",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "boolean"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "false",
|
|
2287
|
-
"fieldName": "open"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "buttonAppearance",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "string"
|
|
2293
|
-
},
|
|
2294
|
-
"fieldName": "buttonAppearance"
|
|
2295
|
-
},
|
|
2296
|
-
{
|
|
2297
|
-
"name": "hide-disabled",
|
|
2298
|
-
"type": {
|
|
2299
|
-
"text": "boolean"
|
|
2300
|
-
},
|
|
2301
|
-
"default": "false",
|
|
2302
|
-
"fieldName": "hideDisabled"
|
|
2303
|
-
},
|
|
2233
|
+
"events": [
|
|
2304
2234
|
{
|
|
2305
|
-
"
|
|
2306
|
-
"
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2235
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2236
|
+
"name": "change",
|
|
2237
|
+
"inheritedFrom": {
|
|
2238
|
+
"name": "Accordion",
|
|
2239
|
+
"module": "src/accordion/accordion.ts"
|
|
2240
|
+
}
|
|
2311
2241
|
}
|
|
2312
|
-
]
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2242
|
+
]
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "variable",
|
|
2246
|
+
"name": "foundationAccordionShadowOptions",
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "ShadowRootInit"
|
|
2316
2249
|
},
|
|
2317
|
-
"
|
|
2318
|
-
"customElement": true
|
|
2250
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2319
2251
|
},
|
|
2320
2252
|
{
|
|
2321
2253
|
"kind": "variable",
|
|
2322
|
-
"name": "
|
|
2323
|
-
"
|
|
2254
|
+
"name": "defaultAccordionConfig",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "object"
|
|
2257
|
+
},
|
|
2258
|
+
"default": "{}"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "variable",
|
|
2262
|
+
"name": "foundationAccordion",
|
|
2263
|
+
"description": "The Foundation Accordion",
|
|
2324
2264
|
"privacy": "public"
|
|
2325
2265
|
}
|
|
2326
2266
|
],
|
|
2327
2267
|
"exports": [
|
|
2328
2268
|
{
|
|
2329
2269
|
"kind": "js",
|
|
2330
|
-
"name": "
|
|
2270
|
+
"name": "Accordion",
|
|
2331
2271
|
"declaration": {
|
|
2332
|
-
"name": "
|
|
2333
|
-
"module": "src/
|
|
2272
|
+
"name": "Accordion",
|
|
2273
|
+
"module": "src/accordion/accordion.ts"
|
|
2334
2274
|
}
|
|
2335
2275
|
},
|
|
2336
2276
|
{
|
|
2337
2277
|
"kind": "js",
|
|
2338
|
-
"name": "
|
|
2278
|
+
"name": "foundationAccordionShadowOptions",
|
|
2339
2279
|
"declaration": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"module": "src/
|
|
2280
|
+
"name": "foundationAccordionShadowOptions",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2282
|
+
}
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "js",
|
|
2286
|
+
"name": "defaultAccordionConfig",
|
|
2287
|
+
"declaration": {
|
|
2288
|
+
"name": "defaultAccordionConfig",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "js",
|
|
2294
|
+
"name": "foundationAccordion",
|
|
2295
|
+
"declaration": {
|
|
2296
|
+
"name": "foundationAccordion",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2342
2298
|
}
|
|
2343
2299
|
}
|
|
2344
2300
|
]
|
|
2345
2301
|
},
|
|
2346
2302
|
{
|
|
2347
2303
|
"kind": "javascript-module",
|
|
2348
|
-
"path": "src/
|
|
2304
|
+
"path": "src/accordion/index.ts",
|
|
2349
2305
|
"declarations": [],
|
|
2350
2306
|
"exports": [
|
|
2351
2307
|
{
|
|
@@ -2353,7 +2309,7 @@
|
|
|
2353
2309
|
"name": "*",
|
|
2354
2310
|
"declaration": {
|
|
2355
2311
|
"name": "*",
|
|
2356
|
-
"package": "./
|
|
2312
|
+
"package": "./accordion.template"
|
|
2357
2313
|
}
|
|
2358
2314
|
},
|
|
2359
2315
|
{
|
|
@@ -2361,7 +2317,7 @@
|
|
|
2361
2317
|
"name": "*",
|
|
2362
2318
|
"declaration": {
|
|
2363
2319
|
"name": "*",
|
|
2364
|
-
"package": "./
|
|
2320
|
+
"package": "./accordion.styles"
|
|
2365
2321
|
}
|
|
2366
2322
|
},
|
|
2367
2323
|
{
|
|
@@ -2369,130 +2325,210 @@
|
|
|
2369
2325
|
"name": "*",
|
|
2370
2326
|
"declaration": {
|
|
2371
2327
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2328
|
+
"package": "./accordion"
|
|
2373
2329
|
}
|
|
2374
2330
|
}
|
|
2375
2331
|
]
|
|
2376
2332
|
},
|
|
2377
2333
|
{
|
|
2378
2334
|
"kind": "javascript-module",
|
|
2379
|
-
"path": "src/
|
|
2335
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2380
2336
|
"declarations": [
|
|
2381
2337
|
{
|
|
2382
|
-
"kind": "
|
|
2383
|
-
"name": "
|
|
2384
|
-
"
|
|
2338
|
+
"kind": "function",
|
|
2339
|
+
"name": "actionsMenuBaseStyles",
|
|
2340
|
+
"return": {
|
|
2341
|
+
"type": {
|
|
2342
|
+
"text": "ElementStyles"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"parameters": [
|
|
2346
|
+
{
|
|
2347
|
+
"name": "context",
|
|
2348
|
+
"type": {
|
|
2349
|
+
"text": "ElementDefinitionContext"
|
|
2350
|
+
}
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"name": "definition",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "FoundationElementDefinition"
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
]
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"kind": "function",
|
|
2362
|
+
"name": "foundationActionsMenuStyles",
|
|
2363
|
+
"return": {
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "ElementStyles"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
"parameters": [
|
|
2369
|
+
{
|
|
2370
|
+
"name": "context",
|
|
2371
|
+
"type": {
|
|
2372
|
+
"text": "ElementDefinitionContext"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"name": "definition",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "FoundationElementDefinition"
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2385
2382
|
}
|
|
2386
2383
|
],
|
|
2387
2384
|
"exports": [
|
|
2388
2385
|
{
|
|
2389
2386
|
"kind": "js",
|
|
2390
|
-
"name": "
|
|
2387
|
+
"name": "actionsMenuBaseStyles",
|
|
2391
2388
|
"declaration": {
|
|
2392
|
-
"name": "
|
|
2393
|
-
"module": "src/
|
|
2389
|
+
"name": "actionsMenuBaseStyles",
|
|
2390
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2391
|
+
}
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "js",
|
|
2395
|
+
"name": "foundationActionsMenuStyles",
|
|
2396
|
+
"declaration": {
|
|
2397
|
+
"name": "foundationActionsMenuStyles",
|
|
2398
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2394
2399
|
}
|
|
2395
2400
|
}
|
|
2396
2401
|
]
|
|
2397
2402
|
},
|
|
2398
2403
|
{
|
|
2399
2404
|
"kind": "javascript-module",
|
|
2400
|
-
"path": "src/
|
|
2405
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2401
2406
|
"declarations": [
|
|
2407
|
+
{
|
|
2408
|
+
"kind": "function",
|
|
2409
|
+
"name": "menuTemplate",
|
|
2410
|
+
"parameters": [
|
|
2411
|
+
{
|
|
2412
|
+
"name": "prefix",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "string"
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"kind": "function",
|
|
2421
|
+
"name": "singleOptionTemplate",
|
|
2422
|
+
"parameters": [
|
|
2423
|
+
{
|
|
2424
|
+
"name": "prefix",
|
|
2425
|
+
"type": {
|
|
2426
|
+
"text": "string"
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
]
|
|
2430
|
+
},
|
|
2402
2431
|
{
|
|
2403
2432
|
"kind": "variable",
|
|
2404
|
-
"name": "
|
|
2433
|
+
"name": "foundationActionsMenuTemplate",
|
|
2405
2434
|
"type": {
|
|
2406
|
-
"text": "ViewTemplate<
|
|
2435
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2407
2436
|
},
|
|
2408
|
-
"default": "html`\n ${(x) =>
|
|
2437
|
+
"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`"
|
|
2409
2438
|
}
|
|
2410
2439
|
],
|
|
2411
2440
|
"exports": [
|
|
2412
2441
|
{
|
|
2413
2442
|
"kind": "js",
|
|
2414
|
-
"name": "
|
|
2443
|
+
"name": "menuTemplate",
|
|
2415
2444
|
"declaration": {
|
|
2416
|
-
"name": "
|
|
2417
|
-
"module": "src/
|
|
2445
|
+
"name": "menuTemplate",
|
|
2446
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"kind": "js",
|
|
2451
|
+
"name": "singleOptionTemplate",
|
|
2452
|
+
"declaration": {
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "js",
|
|
2459
|
+
"name": "foundationActionsMenuTemplate",
|
|
2460
|
+
"declaration": {
|
|
2461
|
+
"name": "foundationActionsMenuTemplate",
|
|
2462
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2418
2463
|
}
|
|
2419
2464
|
}
|
|
2420
2465
|
]
|
|
2421
2466
|
},
|
|
2422
2467
|
{
|
|
2423
2468
|
"kind": "javascript-module",
|
|
2424
|
-
"path": "src/
|
|
2469
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2425
2470
|
"declarations": [
|
|
2426
2471
|
{
|
|
2427
2472
|
"kind": "class",
|
|
2428
|
-
"description": "
|
|
2429
|
-
"name": "
|
|
2473
|
+
"description": "",
|
|
2474
|
+
"name": "ActionsMenu",
|
|
2430
2475
|
"members": [
|
|
2431
2476
|
{
|
|
2432
2477
|
"kind": "field",
|
|
2433
|
-
"name": "
|
|
2478
|
+
"name": "actions",
|
|
2434
2479
|
"type": {
|
|
2435
|
-
"text": "
|
|
2480
|
+
"text": "ActionMenuItem[]"
|
|
2436
2481
|
}
|
|
2437
2482
|
},
|
|
2438
2483
|
{
|
|
2439
2484
|
"kind": "field",
|
|
2440
|
-
"name": "
|
|
2485
|
+
"name": "isVertical",
|
|
2441
2486
|
"type": {
|
|
2442
|
-
"text": "
|
|
2487
|
+
"text": "boolean"
|
|
2443
2488
|
},
|
|
2444
|
-
"default": "
|
|
2489
|
+
"default": "false"
|
|
2445
2490
|
},
|
|
2446
2491
|
{
|
|
2447
2492
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2493
|
+
"name": "addDefaultActions",
|
|
2449
2494
|
"type": {
|
|
2450
2495
|
"text": "boolean"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
{
|
|
2454
|
-
"kind": "field",
|
|
2455
|
-
"name": "mode",
|
|
2456
|
-
"type": {
|
|
2457
|
-
"text": "'append' | 'replace'"
|
|
2458
2496
|
},
|
|
2459
|
-
"default": "
|
|
2497
|
+
"default": "true"
|
|
2460
2498
|
},
|
|
2461
2499
|
{
|
|
2462
2500
|
"kind": "field",
|
|
2463
|
-
"name": "
|
|
2501
|
+
"name": "autoCloseOnAction",
|
|
2464
2502
|
"type": {
|
|
2465
|
-
"text": "
|
|
2503
|
+
"text": "boolean"
|
|
2466
2504
|
},
|
|
2467
|
-
"default": "
|
|
2505
|
+
"default": "true"
|
|
2468
2506
|
},
|
|
2469
2507
|
{
|
|
2470
2508
|
"kind": "field",
|
|
2471
|
-
"name": "
|
|
2509
|
+
"name": "classNames",
|
|
2472
2510
|
"type": {
|
|
2473
|
-
"text": "
|
|
2474
|
-
}
|
|
2475
|
-
"default": "false"
|
|
2511
|
+
"text": "string"
|
|
2512
|
+
}
|
|
2476
2513
|
},
|
|
2477
2514
|
{
|
|
2478
2515
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2516
|
+
"name": "definition",
|
|
2480
2517
|
"type": {
|
|
2481
|
-
"text": "
|
|
2482
|
-
}
|
|
2483
|
-
"default": "null"
|
|
2518
|
+
"text": "any"
|
|
2519
|
+
}
|
|
2484
2520
|
},
|
|
2485
2521
|
{
|
|
2486
2522
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2523
|
+
"name": "name",
|
|
2488
2524
|
"type": {
|
|
2489
|
-
"text": "
|
|
2525
|
+
"text": "string"
|
|
2490
2526
|
},
|
|
2491
|
-
"default": "
|
|
2527
|
+
"default": "'Actions'"
|
|
2492
2528
|
},
|
|
2493
2529
|
{
|
|
2494
2530
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2531
|
+
"name": "open",
|
|
2496
2532
|
"type": {
|
|
2497
2533
|
"text": "boolean"
|
|
2498
2534
|
},
|
|
@@ -2500,67 +2536,117 @@
|
|
|
2500
2536
|
},
|
|
2501
2537
|
{
|
|
2502
2538
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2539
|
+
"name": "buttonAppearance",
|
|
2504
2540
|
"type": {
|
|
2505
|
-
"text": "
|
|
2506
|
-
}
|
|
2507
|
-
"privacy": "public"
|
|
2541
|
+
"text": "string"
|
|
2542
|
+
}
|
|
2508
2543
|
},
|
|
2509
2544
|
{
|
|
2510
2545
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2546
|
+
"name": "hideDisabled",
|
|
2512
2547
|
"type": {
|
|
2513
|
-
"text": "
|
|
2548
|
+
"text": "boolean"
|
|
2514
2549
|
},
|
|
2515
|
-
"
|
|
2516
|
-
"default": "null"
|
|
2550
|
+
"default": "false"
|
|
2517
2551
|
},
|
|
2518
2552
|
{
|
|
2519
2553
|
"kind": "field",
|
|
2520
|
-
"name": "
|
|
2554
|
+
"name": "hideMenuSingleOption",
|
|
2521
2555
|
"type": {
|
|
2522
|
-
"text": "
|
|
2556
|
+
"text": "boolean"
|
|
2523
2557
|
},
|
|
2524
|
-
"
|
|
2525
|
-
"default": "null"
|
|
2558
|
+
"default": "false"
|
|
2526
2559
|
},
|
|
2527
2560
|
{
|
|
2528
2561
|
"kind": "field",
|
|
2529
|
-
"name": "
|
|
2562
|
+
"name": "singleOption",
|
|
2530
2563
|
"type": {
|
|
2531
|
-
"text": "
|
|
2532
|
-
}
|
|
2533
|
-
"privacy": "private",
|
|
2534
|
-
"default": "''"
|
|
2564
|
+
"text": "ActionMenuItem"
|
|
2565
|
+
}
|
|
2535
2566
|
},
|
|
2536
2567
|
{
|
|
2537
2568
|
"kind": "field",
|
|
2538
|
-
"name": "
|
|
2569
|
+
"name": "actionsMenu",
|
|
2539
2570
|
"type": {
|
|
2540
|
-
"text": "
|
|
2541
|
-
}
|
|
2542
|
-
"readonly": true
|
|
2571
|
+
"text": "HTMLElement"
|
|
2572
|
+
}
|
|
2543
2573
|
},
|
|
2544
2574
|
{
|
|
2545
2575
|
"kind": "method",
|
|
2546
|
-
"name": "
|
|
2576
|
+
"name": "definitionChanged",
|
|
2577
|
+
"privacy": "protected",
|
|
2578
|
+
"parameters": [
|
|
2579
|
+
{
|
|
2580
|
+
"name": "oldValue",
|
|
2581
|
+
"type": {
|
|
2582
|
+
"text": "any"
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"name": "newValue",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "any"
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
]
|
|
2547
2592
|
},
|
|
2548
2593
|
{
|
|
2549
2594
|
"kind": "method",
|
|
2550
|
-
"name": "
|
|
2595
|
+
"name": "openChanged",
|
|
2596
|
+
"privacy": "protected"
|
|
2551
2597
|
},
|
|
2552
2598
|
{
|
|
2553
2599
|
"kind": "method",
|
|
2554
|
-
"name": "
|
|
2600
|
+
"name": "toggleActionsMenuVisibility"
|
|
2555
2601
|
},
|
|
2556
2602
|
{
|
|
2557
2603
|
"kind": "method",
|
|
2558
|
-
"name": "
|
|
2604
|
+
"name": "onActionMenuItemClick",
|
|
2605
|
+
"parameters": [
|
|
2606
|
+
{
|
|
2607
|
+
"name": "callback",
|
|
2608
|
+
"type": {
|
|
2609
|
+
"text": "(rowData) => void | any"
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
]
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "field",
|
|
2616
|
+
"name": "allActions",
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "ActionMenuItem[]"
|
|
2619
|
+
},
|
|
2620
|
+
"readonly": true
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"kind": "field",
|
|
2624
|
+
"name": "rowData",
|
|
2625
|
+
"readonly": true
|
|
2559
2626
|
},
|
|
2560
2627
|
{
|
|
2561
2628
|
"kind": "method",
|
|
2562
|
-
"name": "
|
|
2563
|
-
"
|
|
2629
|
+
"name": "getLabel",
|
|
2630
|
+
"parameters": [
|
|
2631
|
+
{
|
|
2632
|
+
"name": "name",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "string | ((rowData: any) => string)"
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
]
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"kind": "method",
|
|
2641
|
+
"name": "getTemplate",
|
|
2642
|
+
"parameters": [
|
|
2643
|
+
{
|
|
2644
|
+
"name": "prefix",
|
|
2645
|
+
"type": {
|
|
2646
|
+
"text": "string"
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
]
|
|
2564
2650
|
},
|
|
2565
2651
|
{
|
|
2566
2652
|
"kind": "field",
|
|
@@ -2674,162 +2760,115 @@
|
|
|
2674
2760
|
}
|
|
2675
2761
|
}
|
|
2676
2762
|
],
|
|
2677
|
-
"
|
|
2763
|
+
"attributes": [
|
|
2678
2764
|
{
|
|
2679
|
-
"
|
|
2680
|
-
"
|
|
2765
|
+
"name": "is-vertical",
|
|
2766
|
+
"type": {
|
|
2767
|
+
"text": "boolean"
|
|
2768
|
+
},
|
|
2769
|
+
"default": "false",
|
|
2770
|
+
"fieldName": "isVertical"
|
|
2681
2771
|
},
|
|
2682
2772
|
{
|
|
2683
|
-
"
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2773
|
+
"name": "add-default-actions",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "true",
|
|
2778
|
+
"fieldName": "addDefaultActions"
|
|
2779
|
+
},
|
|
2688
2780
|
{
|
|
2689
|
-
"name": "
|
|
2781
|
+
"name": "auto-close-on-action",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "boolean"
|
|
2784
|
+
},
|
|
2785
|
+
"default": "true",
|
|
2786
|
+
"fieldName": "autoCloseOnAction"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"name": "name",
|
|
2690
2790
|
"type": {
|
|
2691
2791
|
"text": "string"
|
|
2692
2792
|
},
|
|
2693
|
-
"default": "'
|
|
2694
|
-
"fieldName": "
|
|
2793
|
+
"default": "'Actions'",
|
|
2794
|
+
"fieldName": "name"
|
|
2695
2795
|
},
|
|
2696
2796
|
{
|
|
2797
|
+
"name": "open",
|
|
2697
2798
|
"type": {
|
|
2698
2799
|
"text": "boolean"
|
|
2699
2800
|
},
|
|
2700
|
-
"
|
|
2801
|
+
"default": "false",
|
|
2802
|
+
"fieldName": "open"
|
|
2701
2803
|
},
|
|
2702
2804
|
{
|
|
2703
|
-
"name": "
|
|
2805
|
+
"name": "buttonAppearance",
|
|
2704
2806
|
"type": {
|
|
2705
|
-
"text": "
|
|
2807
|
+
"text": "string"
|
|
2706
2808
|
},
|
|
2707
|
-
"
|
|
2708
|
-
|
|
2809
|
+
"fieldName": "buttonAppearance"
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"name": "hide-disabled",
|
|
2813
|
+
"type": {
|
|
2814
|
+
"text": "boolean"
|
|
2815
|
+
},
|
|
2816
|
+
"default": "false",
|
|
2817
|
+
"fieldName": "hideDisabled"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "hide-menu-single-option",
|
|
2821
|
+
"type": {
|
|
2822
|
+
"text": "boolean"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "false",
|
|
2825
|
+
"fieldName": "hideMenuSingleOption"
|
|
2709
2826
|
}
|
|
2710
2827
|
],
|
|
2711
2828
|
"superclass": {
|
|
2712
2829
|
"name": "FoundationElement",
|
|
2713
2830
|
"package": "@microsoft/fast-foundation"
|
|
2714
2831
|
},
|
|
2715
|
-
"tagName": "%%prefix%%-
|
|
2832
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2716
2833
|
"customElement": true
|
|
2717
2834
|
},
|
|
2718
2835
|
{
|
|
2719
2836
|
"kind": "variable",
|
|
2720
|
-
"name": "
|
|
2721
|
-
"
|
|
2722
|
-
|
|
2723
|
-
},
|
|
2724
|
-
"default": "undefined"
|
|
2725
|
-
},
|
|
2726
|
-
{
|
|
2727
|
-
"kind": "variable",
|
|
2728
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2729
|
-
"type": {
|
|
2730
|
-
"text": "object"
|
|
2731
|
-
},
|
|
2732
|
-
"default": "{}"
|
|
2733
|
-
},
|
|
2734
|
-
{
|
|
2735
|
-
"kind": "variable",
|
|
2736
|
-
"name": "foundationAiCriteriaSearch"
|
|
2837
|
+
"name": "foundationActionsMenu",
|
|
2838
|
+
"description": "The Foundation Actions Menu",
|
|
2839
|
+
"privacy": "public"
|
|
2737
2840
|
}
|
|
2738
2841
|
],
|
|
2739
2842
|
"exports": [
|
|
2740
2843
|
{
|
|
2741
2844
|
"kind": "js",
|
|
2742
|
-
"name": "
|
|
2743
|
-
"declaration": {
|
|
2744
|
-
"name": "AiCriteriaSearch",
|
|
2745
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2746
|
-
}
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"kind": "js",
|
|
2750
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2751
|
-
"declaration": {
|
|
2752
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2753
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2754
|
-
}
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "js",
|
|
2758
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2845
|
+
"name": "ActionsMenu",
|
|
2759
2846
|
"declaration": {
|
|
2760
|
-
"name": "
|
|
2761
|
-
"module": "src/
|
|
2847
|
+
"name": "ActionsMenu",
|
|
2848
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2762
2849
|
}
|
|
2763
2850
|
},
|
|
2764
2851
|
{
|
|
2765
2852
|
"kind": "js",
|
|
2766
|
-
"name": "
|
|
2853
|
+
"name": "foundationActionsMenu",
|
|
2767
2854
|
"declaration": {
|
|
2768
|
-
"name": "
|
|
2769
|
-
"module": "src/
|
|
2855
|
+
"name": "foundationActionsMenu",
|
|
2856
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2770
2857
|
}
|
|
2771
2858
|
}
|
|
2772
2859
|
]
|
|
2773
2860
|
},
|
|
2774
2861
|
{
|
|
2775
2862
|
"kind": "javascript-module",
|
|
2776
|
-
"path": "src/
|
|
2863
|
+
"path": "src/actions-menu/index.ts",
|
|
2777
2864
|
"declarations": [],
|
|
2778
2865
|
"exports": [
|
|
2779
|
-
{
|
|
2780
|
-
"kind": "js",
|
|
2781
|
-
"name": "AiCriteriaSearch",
|
|
2782
|
-
"declaration": {
|
|
2783
|
-
"name": "AiCriteriaSearch",
|
|
2784
|
-
"module": "./ai-criteria-search"
|
|
2785
|
-
}
|
|
2786
|
-
},
|
|
2787
|
-
{
|
|
2788
|
-
"kind": "js",
|
|
2789
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2790
|
-
"declaration": {
|
|
2791
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2792
|
-
"module": "./ai-criteria-search"
|
|
2793
|
-
}
|
|
2794
|
-
},
|
|
2795
|
-
{
|
|
2796
|
-
"kind": "js",
|
|
2797
|
-
"name": "foundationAiCriteriaSearch",
|
|
2798
|
-
"declaration": {
|
|
2799
|
-
"name": "foundationAiCriteriaSearch",
|
|
2800
|
-
"module": "./ai-criteria-search"
|
|
2801
|
-
}
|
|
2802
|
-
},
|
|
2803
|
-
{
|
|
2804
|
-
"kind": "js",
|
|
2805
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2806
|
-
"declaration": {
|
|
2807
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2808
|
-
"module": "./ai-criteria-search"
|
|
2809
|
-
}
|
|
2810
|
-
},
|
|
2811
|
-
{
|
|
2812
|
-
"kind": "js",
|
|
2813
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2814
|
-
"declaration": {
|
|
2815
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2816
|
-
"module": "./ai-criteria-search.styles"
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
"kind": "js",
|
|
2821
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2822
|
-
"declaration": {
|
|
2823
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2824
|
-
"module": "./ai-criteria-search.template"
|
|
2825
|
-
}
|
|
2826
|
-
},
|
|
2827
2866
|
{
|
|
2828
2867
|
"kind": "js",
|
|
2829
2868
|
"name": "*",
|
|
2830
2869
|
"declaration": {
|
|
2831
2870
|
"name": "*",
|
|
2832
|
-
"package": "./
|
|
2871
|
+
"package": "./actions-menu.styles"
|
|
2833
2872
|
}
|
|
2834
2873
|
},
|
|
2835
2874
|
{
|
|
@@ -2837,7 +2876,7 @@
|
|
|
2837
2876
|
"name": "*",
|
|
2838
2877
|
"declaration": {
|
|
2839
2878
|
"name": "*",
|
|
2840
|
-
"package": "./
|
|
2879
|
+
"package": "./actions-menu.template"
|
|
2841
2880
|
}
|
|
2842
2881
|
},
|
|
2843
2882
|
{
|
|
@@ -2845,93 +2884,18 @@
|
|
|
2845
2884
|
"name": "*",
|
|
2846
2885
|
"declaration": {
|
|
2847
2886
|
"name": "*",
|
|
2848
|
-
"package": "./
|
|
2849
|
-
}
|
|
2850
|
-
}
|
|
2851
|
-
]
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "javascript-module",
|
|
2855
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2856
|
-
"declarations": [
|
|
2857
|
-
{
|
|
2858
|
-
"kind": "function",
|
|
2859
|
-
"name": "formatValidationErrors",
|
|
2860
|
-
"return": {
|
|
2861
|
-
"type": {
|
|
2862
|
-
"text": "string"
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
"parameters": [
|
|
2866
|
-
{
|
|
2867
|
-
"name": "errors",
|
|
2868
|
-
"type": {
|
|
2869
|
-
"text": "ValidationError[]"
|
|
2870
|
-
}
|
|
2871
|
-
}
|
|
2872
|
-
],
|
|
2873
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2874
|
-
},
|
|
2875
|
-
{
|
|
2876
|
-
"kind": "function",
|
|
2877
|
-
"name": "showCriteriaError",
|
|
2878
|
-
"return": {
|
|
2879
|
-
"type": {
|
|
2880
|
-
"text": "void"
|
|
2881
|
-
}
|
|
2882
|
-
},
|
|
2883
|
-
"parameters": [
|
|
2884
|
-
{
|
|
2885
|
-
"name": "title",
|
|
2886
|
-
"type": {
|
|
2887
|
-
"text": "string"
|
|
2888
|
-
},
|
|
2889
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2890
|
-
},
|
|
2891
|
-
{
|
|
2892
|
-
"name": "body",
|
|
2893
|
-
"type": {
|
|
2894
|
-
"text": "string"
|
|
2895
|
-
},
|
|
2896
|
-
"description": "Error message to display"
|
|
2897
|
-
},
|
|
2898
|
-
{
|
|
2899
|
-
"name": "tagName",
|
|
2900
|
-
"type": {
|
|
2901
|
-
"text": "string"
|
|
2902
|
-
},
|
|
2903
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2904
|
-
}
|
|
2905
|
-
],
|
|
2906
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2907
|
-
}
|
|
2908
|
-
],
|
|
2909
|
-
"exports": [
|
|
2910
|
-
{
|
|
2911
|
-
"kind": "js",
|
|
2912
|
-
"name": "formatValidationErrors",
|
|
2913
|
-
"declaration": {
|
|
2914
|
-
"name": "formatValidationErrors",
|
|
2915
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2916
|
-
}
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"kind": "js",
|
|
2920
|
-
"name": "showCriteriaError",
|
|
2921
|
-
"declaration": {
|
|
2922
|
-
"name": "showCriteriaError",
|
|
2923
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2887
|
+
"package": "./actions-menu"
|
|
2924
2888
|
}
|
|
2925
2889
|
}
|
|
2926
2890
|
]
|
|
2927
2891
|
},
|
|
2928
2892
|
{
|
|
2929
2893
|
"kind": "javascript-module",
|
|
2930
|
-
"path": "src/
|
|
2894
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2931
2895
|
"declarations": [
|
|
2932
2896
|
{
|
|
2933
2897
|
"kind": "function",
|
|
2934
|
-
"name": "
|
|
2898
|
+
"name": "foundationAiIndicatorStyles",
|
|
2935
2899
|
"return": {
|
|
2936
2900
|
"type": {
|
|
2937
2901
|
"text": "ElementStyles"
|
|
@@ -2956,276 +2920,214 @@
|
|
|
2956
2920
|
"exports": [
|
|
2957
2921
|
{
|
|
2958
2922
|
"kind": "js",
|
|
2959
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiIndicatorStyles",
|
|
2960
2924
|
"declaration": {
|
|
2961
|
-
"name": "
|
|
2962
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiIndicatorStyles",
|
|
2926
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2963
2927
|
}
|
|
2964
2928
|
}
|
|
2965
2929
|
]
|
|
2966
2930
|
},
|
|
2967
2931
|
{
|
|
2968
2932
|
"kind": "javascript-module",
|
|
2969
|
-
"path": "src/
|
|
2933
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2970
2934
|
"declarations": [
|
|
2971
2935
|
{
|
|
2972
|
-
"kind": "
|
|
2973
|
-
"name": "
|
|
2974
|
-
"
|
|
2975
|
-
"
|
|
2976
|
-
"text": "ViewTemplate<Accordion>"
|
|
2977
|
-
}
|
|
2936
|
+
"kind": "variable",
|
|
2937
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
|
+
"type": {
|
|
2939
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2978
2940
|
},
|
|
2979
|
-
"
|
|
2980
|
-
{
|
|
2981
|
-
"name": "context",
|
|
2982
|
-
"type": {
|
|
2983
|
-
"text": "ElementDefinitionContext"
|
|
2984
|
-
}
|
|
2985
|
-
},
|
|
2986
|
-
{
|
|
2987
|
-
"name": "definition",
|
|
2988
|
-
"type": {
|
|
2989
|
-
"text": "FoundationElementDefinition"
|
|
2990
|
-
}
|
|
2991
|
-
}
|
|
2992
|
-
]
|
|
2941
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2993
2942
|
}
|
|
2994
2943
|
],
|
|
2995
2944
|
"exports": [
|
|
2996
2945
|
{
|
|
2997
2946
|
"kind": "js",
|
|
2998
|
-
"name": "
|
|
2947
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2999
2948
|
"declaration": {
|
|
3000
|
-
"name": "
|
|
3001
|
-
"module": "src/
|
|
2949
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2950
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3002
2951
|
}
|
|
3003
2952
|
}
|
|
3004
2953
|
]
|
|
3005
2954
|
},
|
|
3006
2955
|
{
|
|
3007
2956
|
"kind": "javascript-module",
|
|
3008
|
-
"path": "src/
|
|
2957
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3009
2958
|
"declarations": [
|
|
3010
2959
|
{
|
|
3011
2960
|
"kind": "class",
|
|
3012
2961
|
"description": "",
|
|
3013
|
-
"name": "
|
|
3014
|
-
"
|
|
3015
|
-
"name": "FASTAccordion",
|
|
3016
|
-
"package": "@microsoft/fast-foundation"
|
|
3017
|
-
},
|
|
3018
|
-
"tagName": "%%prefix%%-accordion",
|
|
3019
|
-
"customElement": true,
|
|
3020
|
-
"attributes": [
|
|
2962
|
+
"name": "AiIndicator",
|
|
2963
|
+
"members": [
|
|
3021
2964
|
{
|
|
3022
|
-
"
|
|
2965
|
+
"kind": "field",
|
|
2966
|
+
"name": "aiProvider",
|
|
3023
2967
|
"type": {
|
|
3024
|
-
"text": "
|
|
3025
|
-
},
|
|
3026
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3027
|
-
"fieldName": "expandmode",
|
|
3028
|
-
"inheritedFrom": {
|
|
3029
|
-
"name": "Accordion",
|
|
3030
|
-
"module": "src/accordion/accordion.ts"
|
|
2968
|
+
"text": "AIProvider"
|
|
3031
2969
|
}
|
|
3032
|
-
}
|
|
3033
|
-
],
|
|
3034
|
-
"members": [
|
|
2970
|
+
},
|
|
3035
2971
|
{
|
|
3036
2972
|
"kind": "field",
|
|
3037
|
-
"name": "
|
|
2973
|
+
"name": "status",
|
|
3038
2974
|
"type": {
|
|
3039
|
-
"text": "
|
|
2975
|
+
"text": "AIStatus | null"
|
|
3040
2976
|
},
|
|
3041
|
-
"
|
|
3042
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3043
|
-
"inheritedFrom": {
|
|
3044
|
-
"name": "Accordion",
|
|
3045
|
-
"module": "src/accordion/accordion.ts"
|
|
3046
|
-
}
|
|
2977
|
+
"default": "null"
|
|
3047
2978
|
},
|
|
3048
2979
|
{
|
|
3049
2980
|
"kind": "field",
|
|
3050
|
-
"name": "
|
|
2981
|
+
"name": "open",
|
|
3051
2982
|
"type": {
|
|
3052
|
-
"text": "
|
|
2983
|
+
"text": "boolean"
|
|
3053
2984
|
},
|
|
3054
|
-
"
|
|
3055
|
-
"inheritedFrom": {
|
|
3056
|
-
"name": "Accordion",
|
|
3057
|
-
"module": "src/accordion/accordion.ts"
|
|
3058
|
-
}
|
|
2985
|
+
"default": "false"
|
|
3059
2986
|
},
|
|
3060
2987
|
{
|
|
3061
2988
|
"kind": "field",
|
|
3062
|
-
"name": "
|
|
2989
|
+
"name": "state",
|
|
3063
2990
|
"type": {
|
|
3064
|
-
"text": "
|
|
2991
|
+
"text": "AIIndicatorState"
|
|
3065
2992
|
},
|
|
3066
|
-
"
|
|
3067
|
-
"default": "0",
|
|
3068
|
-
"inheritedFrom": {
|
|
3069
|
-
"name": "Accordion",
|
|
3070
|
-
"module": "src/accordion/accordion.ts"
|
|
3071
|
-
}
|
|
2993
|
+
"default": "'none'"
|
|
3072
2994
|
},
|
|
3073
2995
|
{
|
|
3074
2996
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2997
|
+
"name": "isInstalling",
|
|
3076
2998
|
"type": {
|
|
3077
|
-
"text": "
|
|
2999
|
+
"text": "boolean"
|
|
3078
3000
|
},
|
|
3079
|
-
"
|
|
3080
|
-
"inheritedFrom": {
|
|
3081
|
-
"name": "Accordion",
|
|
3082
|
-
"module": "src/accordion/accordion.ts"
|
|
3083
|
-
}
|
|
3001
|
+
"default": "false"
|
|
3084
3002
|
},
|
|
3085
3003
|
{
|
|
3086
3004
|
"kind": "field",
|
|
3087
|
-
"name": "
|
|
3005
|
+
"name": "pollTimer",
|
|
3006
|
+
"type": {
|
|
3007
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3008
|
+
},
|
|
3088
3009
|
"privacy": "private",
|
|
3089
|
-
"
|
|
3090
|
-
"name": "Accordion",
|
|
3091
|
-
"module": "src/accordion/accordion.ts"
|
|
3092
|
-
}
|
|
3010
|
+
"default": "null"
|
|
3093
3011
|
},
|
|
3094
3012
|
{
|
|
3095
|
-
"kind": "
|
|
3096
|
-
"name": "
|
|
3097
|
-
"privacy": "private"
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3013
|
+
"kind": "field",
|
|
3014
|
+
"name": "clickOutside",
|
|
3015
|
+
"privacy": "private"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
"kind": "field",
|
|
3019
|
+
"name": "chromeStatusLabel",
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "string | null"
|
|
3102
3022
|
},
|
|
3103
|
-
"
|
|
3104
|
-
"name": "Accordion",
|
|
3105
|
-
"module": "src/accordion/accordion.ts"
|
|
3106
|
-
}
|
|
3023
|
+
"readonly": true
|
|
3107
3024
|
},
|
|
3108
3025
|
{
|
|
3109
3026
|
"kind": "field",
|
|
3110
|
-
"name": "
|
|
3111
|
-
"
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3027
|
+
"name": "canInstall",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "boolean"
|
|
3030
|
+
},
|
|
3031
|
+
"readonly": true
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"kind": "field",
|
|
3035
|
+
"name": "isDownloading",
|
|
3036
|
+
"type": {
|
|
3037
|
+
"text": "boolean"
|
|
3038
|
+
},
|
|
3039
|
+
"readonly": true
|
|
3116
3040
|
},
|
|
3117
3041
|
{
|
|
3118
3042
|
"kind": "method",
|
|
3119
|
-
"name": "
|
|
3120
|
-
"privacy": "private",
|
|
3043
|
+
"name": "openChanged",
|
|
3121
3044
|
"return": {
|
|
3122
3045
|
"type": {
|
|
3123
3046
|
"text": "void"
|
|
3124
3047
|
}
|
|
3125
|
-
},
|
|
3126
|
-
"inheritedFrom": {
|
|
3127
|
-
"name": "Accordion",
|
|
3128
|
-
"module": "src/accordion/accordion.ts"
|
|
3129
3048
|
}
|
|
3130
3049
|
},
|
|
3131
3050
|
{
|
|
3132
|
-
"kind": "
|
|
3133
|
-
"name": "
|
|
3051
|
+
"kind": "method",
|
|
3052
|
+
"name": "handleClickOutside",
|
|
3134
3053
|
"privacy": "private",
|
|
3135
|
-
"
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3054
|
+
"parameters": [
|
|
3055
|
+
{
|
|
3056
|
+
"name": "event",
|
|
3057
|
+
"type": {
|
|
3058
|
+
"text": "MouseEvent"
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
]
|
|
3139
3062
|
},
|
|
3140
3063
|
{
|
|
3141
|
-
"kind": "
|
|
3142
|
-
"name": "
|
|
3143
|
-
"privacy": "private",
|
|
3144
|
-
"inheritedFrom": {
|
|
3145
|
-
"name": "Accordion",
|
|
3146
|
-
"module": "src/accordion/accordion.ts"
|
|
3147
|
-
}
|
|
3064
|
+
"kind": "method",
|
|
3065
|
+
"name": "toggleDropdown"
|
|
3148
3066
|
},
|
|
3149
3067
|
{
|
|
3150
3068
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"privacy": "private",
|
|
3069
|
+
"name": "refreshStatus",
|
|
3153
3070
|
"return": {
|
|
3154
3071
|
"type": {
|
|
3155
|
-
"text": "
|
|
3072
|
+
"text": "Promise<void>"
|
|
3156
3073
|
}
|
|
3157
|
-
},
|
|
3158
|
-
"inheritedFrom": {
|
|
3159
|
-
"name": "Accordion",
|
|
3160
|
-
"module": "src/accordion/accordion.ts"
|
|
3161
3074
|
}
|
|
3162
3075
|
},
|
|
3163
3076
|
{
|
|
3164
3077
|
"kind": "method",
|
|
3165
|
-
"name": "
|
|
3078
|
+
"name": "deriveState",
|
|
3166
3079
|
"privacy": "private",
|
|
3167
3080
|
"return": {
|
|
3168
3081
|
"type": {
|
|
3169
|
-
"text": "
|
|
3082
|
+
"text": "AIIndicatorState"
|
|
3170
3083
|
}
|
|
3171
3084
|
},
|
|
3172
|
-
"
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3085
|
+
"parameters": [
|
|
3086
|
+
{
|
|
3087
|
+
"name": "s",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "AIStatus | null"
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
]
|
|
3176
3093
|
},
|
|
3177
3094
|
{
|
|
3178
|
-
"kind": "
|
|
3179
|
-
"name": "
|
|
3095
|
+
"kind": "method",
|
|
3096
|
+
"name": "maybeStartPolling",
|
|
3180
3097
|
"privacy": "private",
|
|
3181
|
-
"
|
|
3182
|
-
"
|
|
3183
|
-
|
|
3098
|
+
"return": {
|
|
3099
|
+
"type": {
|
|
3100
|
+
"text": "void"
|
|
3101
|
+
}
|
|
3184
3102
|
}
|
|
3185
3103
|
},
|
|
3186
3104
|
{
|
|
3187
|
-
"kind": "
|
|
3188
|
-
"name": "
|
|
3105
|
+
"kind": "method",
|
|
3106
|
+
"name": "startPolling",
|
|
3189
3107
|
"privacy": "private",
|
|
3190
|
-
"
|
|
3191
|
-
"
|
|
3192
|
-
|
|
3108
|
+
"return": {
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "void"
|
|
3111
|
+
}
|
|
3193
3112
|
}
|
|
3194
3113
|
},
|
|
3195
3114
|
{
|
|
3196
3115
|
"kind": "method",
|
|
3197
|
-
"name": "
|
|
3116
|
+
"name": "stopPolling",
|
|
3198
3117
|
"privacy": "private",
|
|
3199
3118
|
"return": {
|
|
3200
3119
|
"type": {
|
|
3201
3120
|
"text": "void"
|
|
3202
3121
|
}
|
|
3203
|
-
},
|
|
3204
|
-
"parameters": [
|
|
3205
|
-
{
|
|
3206
|
-
"name": "adjustment",
|
|
3207
|
-
"type": {
|
|
3208
|
-
"text": "number"
|
|
3209
|
-
}
|
|
3210
|
-
}
|
|
3211
|
-
],
|
|
3212
|
-
"inheritedFrom": {
|
|
3213
|
-
"name": "Accordion",
|
|
3214
|
-
"module": "src/accordion/accordion.ts"
|
|
3215
3122
|
}
|
|
3216
3123
|
},
|
|
3217
3124
|
{
|
|
3218
3125
|
"kind": "method",
|
|
3219
|
-
"name": "
|
|
3220
|
-
"privacy": "private",
|
|
3126
|
+
"name": "onInstall",
|
|
3221
3127
|
"return": {
|
|
3222
3128
|
"type": {
|
|
3223
|
-
"text": "void"
|
|
3129
|
+
"text": "Promise<void>"
|
|
3224
3130
|
}
|
|
3225
|
-
},
|
|
3226
|
-
"inheritedFrom": {
|
|
3227
|
-
"name": "Accordion",
|
|
3228
|
-
"module": "src/accordion/accordion.ts"
|
|
3229
3131
|
}
|
|
3230
3132
|
},
|
|
3231
3133
|
{
|
|
@@ -3330,187 +3232,155 @@
|
|
|
3330
3232
|
"type": {
|
|
3331
3233
|
"text": "T"
|
|
3332
3234
|
},
|
|
3333
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
3334
|
-
}
|
|
3335
|
-
],
|
|
3336
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3337
|
-
"inheritedFrom": {
|
|
3338
|
-
"name": "FoundationElement",
|
|
3339
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3340
|
-
}
|
|
3341
|
-
}
|
|
3342
|
-
],
|
|
3343
|
-
"
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
"name": "change",
|
|
3347
|
-
"inheritedFrom": {
|
|
3348
|
-
"name": "Accordion",
|
|
3349
|
-
"module": "src/accordion/accordion.ts"
|
|
3350
|
-
}
|
|
3351
|
-
}
|
|
3352
|
-
]
|
|
3353
|
-
},
|
|
3354
|
-
{
|
|
3355
|
-
"kind": "variable",
|
|
3356
|
-
"name": "foundationAccordionShadowOptions",
|
|
3357
|
-
"type": {
|
|
3358
|
-
"text": "ShadowRootInit"
|
|
3359
|
-
},
|
|
3360
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"kind": "variable",
|
|
3364
|
-
"name": "defaultAccordionConfig",
|
|
3365
|
-
"type": {
|
|
3366
|
-
"text": "object"
|
|
3235
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3236
|
+
}
|
|
3237
|
+
],
|
|
3238
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3239
|
+
"inheritedFrom": {
|
|
3240
|
+
"name": "FoundationElement",
|
|
3241
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
],
|
|
3245
|
+
"superclass": {
|
|
3246
|
+
"name": "FoundationElement",
|
|
3247
|
+
"package": "@microsoft/fast-foundation"
|
|
3367
3248
|
},
|
|
3368
|
-
"
|
|
3249
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3250
|
+
"customElement": true
|
|
3369
3251
|
},
|
|
3370
3252
|
{
|
|
3371
3253
|
"kind": "variable",
|
|
3372
|
-
"name": "
|
|
3373
|
-
"description": "The Foundation Accordion",
|
|
3374
|
-
"privacy": "public"
|
|
3254
|
+
"name": "foundationAiIndicator"
|
|
3375
3255
|
}
|
|
3376
3256
|
],
|
|
3377
3257
|
"exports": [
|
|
3378
3258
|
{
|
|
3379
3259
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3260
|
+
"name": "AiIndicator",
|
|
3381
3261
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/
|
|
3262
|
+
"name": "AiIndicator",
|
|
3263
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3384
3264
|
}
|
|
3385
3265
|
},
|
|
3386
3266
|
{
|
|
3387
3267
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3268
|
+
"name": "foundationAiIndicator",
|
|
3389
3269
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"module": "src/
|
|
3270
|
+
"name": "foundationAiIndicator",
|
|
3271
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3274
|
+
]
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
"kind": "javascript-module",
|
|
3278
|
+
"path": "src/ai-indicator/index.ts",
|
|
3279
|
+
"declarations": [],
|
|
3280
|
+
"exports": [
|
|
3281
|
+
{
|
|
3282
|
+
"kind": "js",
|
|
3283
|
+
"name": "AiIndicator",
|
|
3284
|
+
"declaration": {
|
|
3285
|
+
"name": "AiIndicator",
|
|
3286
|
+
"module": "./ai-indicator"
|
|
3392
3287
|
}
|
|
3393
3288
|
},
|
|
3394
3289
|
{
|
|
3395
3290
|
"kind": "js",
|
|
3396
|
-
"name": "
|
|
3291
|
+
"name": "foundationAiIndicator",
|
|
3397
3292
|
"declaration": {
|
|
3398
|
-
"name": "
|
|
3399
|
-
"module": "
|
|
3293
|
+
"name": "foundationAiIndicator",
|
|
3294
|
+
"module": "./ai-indicator"
|
|
3400
3295
|
}
|
|
3401
3296
|
},
|
|
3402
3297
|
{
|
|
3403
3298
|
"kind": "js",
|
|
3404
|
-
"name": "
|
|
3299
|
+
"name": "type",
|
|
3405
3300
|
"declaration": {
|
|
3406
|
-
"name": "
|
|
3407
|
-
"module": "
|
|
3301
|
+
"name": "type",
|
|
3302
|
+
"module": "./ai-indicator"
|
|
3408
3303
|
}
|
|
3409
|
-
}
|
|
3410
|
-
]
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"kind": "javascript-module",
|
|
3414
|
-
"path": "src/accordion/index.ts",
|
|
3415
|
-
"declarations": [],
|
|
3416
|
-
"exports": [
|
|
3304
|
+
},
|
|
3417
3305
|
{
|
|
3418
3306
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3307
|
+
"name": "AIIndicatorState",
|
|
3420
3308
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"
|
|
3309
|
+
"name": "AIIndicatorState",
|
|
3310
|
+
"module": "./ai-indicator"
|
|
3423
3311
|
}
|
|
3424
3312
|
},
|
|
3425
3313
|
{
|
|
3426
3314
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3315
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3428
3316
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"
|
|
3317
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3318
|
+
"module": "./ai-indicator.template"
|
|
3431
3319
|
}
|
|
3432
3320
|
},
|
|
3433
3321
|
{
|
|
3434
3322
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3323
|
+
"name": "foundationAiIndicatorStyles",
|
|
3436
3324
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"
|
|
3325
|
+
"name": "foundationAiIndicatorStyles",
|
|
3326
|
+
"module": "./ai-indicator.styles"
|
|
3439
3327
|
}
|
|
3440
3328
|
}
|
|
3441
3329
|
]
|
|
3442
3330
|
},
|
|
3443
3331
|
{
|
|
3444
3332
|
"kind": "javascript-module",
|
|
3445
|
-
"path": "src/ai-
|
|
3333
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3446
3334
|
"declarations": [
|
|
3447
3335
|
{
|
|
3448
|
-
"kind": "
|
|
3449
|
-
"name": "
|
|
3450
|
-
"
|
|
3451
|
-
"type": {
|
|
3452
|
-
"text": "ElementStyles"
|
|
3453
|
-
}
|
|
3454
|
-
},
|
|
3455
|
-
"parameters": [
|
|
3456
|
-
{
|
|
3457
|
-
"name": "context",
|
|
3458
|
-
"type": {
|
|
3459
|
-
"text": "ElementDefinitionContext"
|
|
3460
|
-
}
|
|
3461
|
-
},
|
|
3462
|
-
{
|
|
3463
|
-
"name": "definition",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "FoundationElementDefinition"
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3336
|
+
"kind": "variable",
|
|
3337
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3338
|
+
"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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
|
|
3469
3339
|
}
|
|
3470
3340
|
],
|
|
3471
3341
|
"exports": [
|
|
3472
3342
|
{
|
|
3473
3343
|
"kind": "js",
|
|
3474
|
-
"name": "
|
|
3344
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3475
3345
|
"declaration": {
|
|
3476
|
-
"name": "
|
|
3477
|
-
"module": "src/ai-
|
|
3346
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3347
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3478
3348
|
}
|
|
3479
3349
|
}
|
|
3480
3350
|
]
|
|
3481
3351
|
},
|
|
3482
3352
|
{
|
|
3483
3353
|
"kind": "javascript-module",
|
|
3484
|
-
"path": "src/ai-
|
|
3354
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3485
3355
|
"declarations": [
|
|
3486
3356
|
{
|
|
3487
3357
|
"kind": "variable",
|
|
3488
|
-
"name": "
|
|
3358
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3489
3359
|
"type": {
|
|
3490
|
-
"text": "ViewTemplate<
|
|
3360
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3491
3361
|
},
|
|
3492
|
-
"default": "html`\n ${(x) =>
|
|
3362
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3493
3363
|
}
|
|
3494
3364
|
],
|
|
3495
3365
|
"exports": [
|
|
3496
3366
|
{
|
|
3497
3367
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3368
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3499
3369
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "src/ai-
|
|
3370
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3371
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3502
3372
|
}
|
|
3503
3373
|
}
|
|
3504
3374
|
]
|
|
3505
3375
|
},
|
|
3506
3376
|
{
|
|
3507
3377
|
"kind": "javascript-module",
|
|
3508
|
-
"path": "src/ai-
|
|
3378
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3509
3379
|
"declarations": [
|
|
3510
3380
|
{
|
|
3511
3381
|
"kind": "class",
|
|
3512
|
-
"description": "",
|
|
3513
|
-
"name": "
|
|
3382
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3383
|
+
"name": "AiCriteriaSearch",
|
|
3514
3384
|
"members": [
|
|
3515
3385
|
{
|
|
3516
3386
|
"kind": "field",
|
|
@@ -3521,31 +3391,38 @@
|
|
|
3521
3391
|
},
|
|
3522
3392
|
{
|
|
3523
3393
|
"kind": "field",
|
|
3524
|
-
"name": "
|
|
3394
|
+
"name": "placeholder",
|
|
3525
3395
|
"type": {
|
|
3526
|
-
"text": "
|
|
3396
|
+
"text": "string"
|
|
3527
3397
|
},
|
|
3528
|
-
"default": "
|
|
3398
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3529
3399
|
},
|
|
3530
3400
|
{
|
|
3531
3401
|
"kind": "field",
|
|
3532
|
-
"name": "
|
|
3402
|
+
"name": "disabled",
|
|
3533
3403
|
"type": {
|
|
3534
3404
|
"text": "boolean"
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
"kind": "field",
|
|
3409
|
+
"name": "mode",
|
|
3410
|
+
"type": {
|
|
3411
|
+
"text": "'append' | 'replace'"
|
|
3535
3412
|
},
|
|
3536
|
-
"default": "
|
|
3413
|
+
"default": "'replace'"
|
|
3537
3414
|
},
|
|
3538
3415
|
{
|
|
3539
3416
|
"kind": "field",
|
|
3540
|
-
"name": "
|
|
3417
|
+
"name": "inputValue",
|
|
3541
3418
|
"type": {
|
|
3542
|
-
"text": "
|
|
3419
|
+
"text": "string"
|
|
3543
3420
|
},
|
|
3544
|
-
"default": "'
|
|
3421
|
+
"default": "''"
|
|
3545
3422
|
},
|
|
3546
3423
|
{
|
|
3547
3424
|
"kind": "field",
|
|
3548
|
-
"name": "
|
|
3425
|
+
"name": "isInterpreting",
|
|
3549
3426
|
"type": {
|
|
3550
3427
|
"text": "boolean"
|
|
3551
3428
|
},
|
|
@@ -3553,133 +3430,91 @@
|
|
|
3553
3430
|
},
|
|
3554
3431
|
{
|
|
3555
3432
|
"kind": "field",
|
|
3556
|
-
"name": "
|
|
3433
|
+
"name": "lastValidCriteria",
|
|
3557
3434
|
"type": {
|
|
3558
|
-
"text": "
|
|
3435
|
+
"text": "string | null"
|
|
3559
3436
|
},
|
|
3560
|
-
"privacy": "private",
|
|
3561
3437
|
"default": "null"
|
|
3562
3438
|
},
|
|
3563
3439
|
{
|
|
3564
3440
|
"kind": "field",
|
|
3565
|
-
"name": "
|
|
3566
|
-
"privacy": "private"
|
|
3567
|
-
},
|
|
3568
|
-
{
|
|
3569
|
-
"kind": "field",
|
|
3570
|
-
"name": "chromeStatusLabel",
|
|
3441
|
+
"name": "fieldMetadata",
|
|
3571
3442
|
"type": {
|
|
3572
|
-
"text": "
|
|
3443
|
+
"text": "MetadataDetail[] | string[]"
|
|
3573
3444
|
},
|
|
3574
|
-
"
|
|
3445
|
+
"default": "[]"
|
|
3575
3446
|
},
|
|
3576
3447
|
{
|
|
3577
3448
|
"kind": "field",
|
|
3578
|
-
"name": "
|
|
3449
|
+
"name": "isRecording",
|
|
3579
3450
|
"type": {
|
|
3580
3451
|
"text": "boolean"
|
|
3581
3452
|
},
|
|
3582
|
-
"
|
|
3453
|
+
"default": "false"
|
|
3583
3454
|
},
|
|
3584
3455
|
{
|
|
3585
3456
|
"kind": "field",
|
|
3586
|
-
"name": "
|
|
3457
|
+
"name": "textAreaRef",
|
|
3587
3458
|
"type": {
|
|
3588
|
-
"text": "
|
|
3459
|
+
"text": "HTMLTextAreaElement"
|
|
3589
3460
|
},
|
|
3590
|
-
"
|
|
3591
|
-
},
|
|
3592
|
-
{
|
|
3593
|
-
"kind": "method",
|
|
3594
|
-
"name": "openChanged",
|
|
3595
|
-
"return": {
|
|
3596
|
-
"type": {
|
|
3597
|
-
"text": "void"
|
|
3598
|
-
}
|
|
3599
|
-
}
|
|
3461
|
+
"privacy": "public"
|
|
3600
3462
|
},
|
|
3601
3463
|
{
|
|
3602
|
-
"kind": "
|
|
3603
|
-
"name": "
|
|
3464
|
+
"kind": "field",
|
|
3465
|
+
"name": "stopRecording",
|
|
3466
|
+
"type": {
|
|
3467
|
+
"text": "(() => void) | null"
|
|
3468
|
+
},
|
|
3604
3469
|
"privacy": "private",
|
|
3605
|
-
"
|
|
3606
|
-
{
|
|
3607
|
-
"name": "event",
|
|
3608
|
-
"type": {
|
|
3609
|
-
"text": "MouseEvent"
|
|
3610
|
-
}
|
|
3611
|
-
}
|
|
3612
|
-
]
|
|
3470
|
+
"default": "null"
|
|
3613
3471
|
},
|
|
3614
3472
|
{
|
|
3615
|
-
"kind": "
|
|
3616
|
-
"name": "
|
|
3473
|
+
"kind": "field",
|
|
3474
|
+
"name": "speechApplyDebounceTimer",
|
|
3475
|
+
"type": {
|
|
3476
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3477
|
+
},
|
|
3478
|
+
"privacy": "private",
|
|
3479
|
+
"default": "null"
|
|
3617
3480
|
},
|
|
3618
3481
|
{
|
|
3619
|
-
"kind": "
|
|
3620
|
-
"name": "
|
|
3621
|
-
"
|
|
3622
|
-
"
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3482
|
+
"kind": "field",
|
|
3483
|
+
"name": "baseInputForAppend",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "string"
|
|
3486
|
+
},
|
|
3487
|
+
"privacy": "private",
|
|
3488
|
+
"default": "''"
|
|
3626
3489
|
},
|
|
3627
3490
|
{
|
|
3628
|
-
"kind": "
|
|
3629
|
-
"name": "
|
|
3630
|
-
"
|
|
3631
|
-
|
|
3632
|
-
"type": {
|
|
3633
|
-
"text": "AIIndicatorState"
|
|
3634
|
-
}
|
|
3491
|
+
"kind": "field",
|
|
3492
|
+
"name": "speechAvailable",
|
|
3493
|
+
"type": {
|
|
3494
|
+
"text": "boolean"
|
|
3635
3495
|
},
|
|
3636
|
-
"
|
|
3637
|
-
{
|
|
3638
|
-
"name": "s",
|
|
3639
|
-
"type": {
|
|
3640
|
-
"text": "AIStatus | null"
|
|
3641
|
-
}
|
|
3642
|
-
}
|
|
3643
|
-
]
|
|
3496
|
+
"readonly": true
|
|
3644
3497
|
},
|
|
3645
3498
|
{
|
|
3646
3499
|
"kind": "method",
|
|
3647
|
-
"name": "
|
|
3648
|
-
"privacy": "private",
|
|
3649
|
-
"return": {
|
|
3650
|
-
"type": {
|
|
3651
|
-
"text": "void"
|
|
3652
|
-
}
|
|
3653
|
-
}
|
|
3500
|
+
"name": "handleSubmit"
|
|
3654
3501
|
},
|
|
3655
3502
|
{
|
|
3656
3503
|
"kind": "method",
|
|
3657
|
-
"name": "
|
|
3658
|
-
"privacy": "private",
|
|
3659
|
-
"return": {
|
|
3660
|
-
"type": {
|
|
3661
|
-
"text": "void"
|
|
3662
|
-
}
|
|
3663
|
-
}
|
|
3504
|
+
"name": "handleBlur"
|
|
3664
3505
|
},
|
|
3665
3506
|
{
|
|
3666
3507
|
"kind": "method",
|
|
3667
|
-
"name": "
|
|
3668
|
-
"privacy": "private",
|
|
3669
|
-
"return": {
|
|
3670
|
-
"type": {
|
|
3671
|
-
"text": "void"
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3508
|
+
"name": "clear"
|
|
3674
3509
|
},
|
|
3675
3510
|
{
|
|
3676
3511
|
"kind": "method",
|
|
3677
|
-
"name": "
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3512
|
+
"name": "toggleSpeechInput"
|
|
3513
|
+
},
|
|
3514
|
+
{
|
|
3515
|
+
"kind": "method",
|
|
3516
|
+
"name": "clearSpeechApplyDebounce",
|
|
3517
|
+
"privacy": "private"
|
|
3683
3518
|
},
|
|
3684
3519
|
{
|
|
3685
3520
|
"kind": "field",
|
|
@@ -3793,88 +3628,253 @@
|
|
|
3793
3628
|
}
|
|
3794
3629
|
}
|
|
3795
3630
|
],
|
|
3631
|
+
"events": [
|
|
3632
|
+
{
|
|
3633
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3634
|
+
"name": "criteria-changed"
|
|
3635
|
+
},
|
|
3636
|
+
{
|
|
3637
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3638
|
+
"name": "validation-errors"
|
|
3639
|
+
}
|
|
3640
|
+
],
|
|
3641
|
+
"attributes": [
|
|
3642
|
+
{
|
|
3643
|
+
"name": "placeholder",
|
|
3644
|
+
"type": {
|
|
3645
|
+
"text": "string"
|
|
3646
|
+
},
|
|
3647
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3648
|
+
"fieldName": "placeholder"
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"type": {
|
|
3652
|
+
"text": "boolean"
|
|
3653
|
+
},
|
|
3654
|
+
"fieldName": "disabled"
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"name": "mode",
|
|
3658
|
+
"type": {
|
|
3659
|
+
"text": "'append' | 'replace'"
|
|
3660
|
+
},
|
|
3661
|
+
"default": "'replace'",
|
|
3662
|
+
"fieldName": "mode"
|
|
3663
|
+
}
|
|
3664
|
+
],
|
|
3796
3665
|
"superclass": {
|
|
3797
3666
|
"name": "FoundationElement",
|
|
3798
3667
|
"package": "@microsoft/fast-foundation"
|
|
3799
3668
|
},
|
|
3800
|
-
"tagName": "%%prefix%%-ai-
|
|
3669
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3801
3670
|
"customElement": true
|
|
3802
3671
|
},
|
|
3803
3672
|
{
|
|
3804
3673
|
"kind": "variable",
|
|
3805
|
-
"name": "
|
|
3674
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3675
|
+
"type": {
|
|
3676
|
+
"text": "ShadowRootInit"
|
|
3677
|
+
},
|
|
3678
|
+
"default": "undefined"
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"kind": "variable",
|
|
3682
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3683
|
+
"type": {
|
|
3684
|
+
"text": "object"
|
|
3685
|
+
},
|
|
3686
|
+
"default": "{}"
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
"kind": "variable",
|
|
3690
|
+
"name": "foundationAiCriteriaSearch"
|
|
3806
3691
|
}
|
|
3807
3692
|
],
|
|
3808
3693
|
"exports": [
|
|
3809
3694
|
{
|
|
3810
3695
|
"kind": "js",
|
|
3811
|
-
"name": "
|
|
3696
|
+
"name": "AiCriteriaSearch",
|
|
3812
3697
|
"declaration": {
|
|
3813
|
-
"name": "
|
|
3814
|
-
"module": "src/ai-
|
|
3698
|
+
"name": "AiCriteriaSearch",
|
|
3699
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3815
3700
|
}
|
|
3816
3701
|
},
|
|
3817
3702
|
{
|
|
3818
3703
|
"kind": "js",
|
|
3819
|
-
"name": "
|
|
3704
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3820
3705
|
"declaration": {
|
|
3821
|
-
"name": "
|
|
3822
|
-
"module": "src/ai-
|
|
3706
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3707
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3708
|
+
}
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"kind": "js",
|
|
3712
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3713
|
+
"declaration": {
|
|
3714
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3715
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
"kind": "js",
|
|
3720
|
+
"name": "foundationAiCriteriaSearch",
|
|
3721
|
+
"declaration": {
|
|
3722
|
+
"name": "foundationAiCriteriaSearch",
|
|
3723
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3823
3724
|
}
|
|
3824
3725
|
}
|
|
3825
3726
|
]
|
|
3826
3727
|
},
|
|
3827
3728
|
{
|
|
3828
3729
|
"kind": "javascript-module",
|
|
3829
|
-
"path": "src/ai-
|
|
3730
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3830
3731
|
"declarations": [],
|
|
3831
3732
|
"exports": [
|
|
3832
3733
|
{
|
|
3833
3734
|
"kind": "js",
|
|
3834
|
-
"name": "
|
|
3735
|
+
"name": "AiCriteriaSearch",
|
|
3835
3736
|
"declaration": {
|
|
3836
|
-
"name": "
|
|
3837
|
-
"module": "./ai-
|
|
3737
|
+
"name": "AiCriteriaSearch",
|
|
3738
|
+
"module": "./ai-criteria-search"
|
|
3838
3739
|
}
|
|
3839
3740
|
},
|
|
3840
3741
|
{
|
|
3841
3742
|
"kind": "js",
|
|
3842
|
-
"name": "
|
|
3743
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3843
3744
|
"declaration": {
|
|
3844
|
-
"name": "
|
|
3845
|
-
"module": "./ai-
|
|
3745
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3746
|
+
"module": "./ai-criteria-search"
|
|
3846
3747
|
}
|
|
3847
3748
|
},
|
|
3848
3749
|
{
|
|
3849
3750
|
"kind": "js",
|
|
3850
|
-
"name": "
|
|
3751
|
+
"name": "foundationAiCriteriaSearch",
|
|
3851
3752
|
"declaration": {
|
|
3852
|
-
"name": "
|
|
3853
|
-
"module": "./ai-
|
|
3753
|
+
"name": "foundationAiCriteriaSearch",
|
|
3754
|
+
"module": "./ai-criteria-search"
|
|
3854
3755
|
}
|
|
3855
3756
|
},
|
|
3856
3757
|
{
|
|
3857
3758
|
"kind": "js",
|
|
3858
|
-
"name": "
|
|
3759
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3859
3760
|
"declaration": {
|
|
3860
|
-
"name": "
|
|
3861
|
-
"module": "./ai-
|
|
3761
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3762
|
+
"module": "./ai-criteria-search"
|
|
3862
3763
|
}
|
|
3863
3764
|
},
|
|
3864
3765
|
{
|
|
3865
3766
|
"kind": "js",
|
|
3866
|
-
"name": "
|
|
3767
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3867
3768
|
"declaration": {
|
|
3868
|
-
"name": "
|
|
3869
|
-
"module": "./ai-
|
|
3769
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3770
|
+
"module": "./ai-criteria-search.styles"
|
|
3870
3771
|
}
|
|
3871
3772
|
},
|
|
3872
3773
|
{
|
|
3873
3774
|
"kind": "js",
|
|
3874
|
-
"name": "
|
|
3775
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3875
3776
|
"declaration": {
|
|
3876
|
-
"name": "
|
|
3877
|
-
"module": "./ai-
|
|
3777
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3778
|
+
"module": "./ai-criteria-search.template"
|
|
3779
|
+
}
|
|
3780
|
+
},
|
|
3781
|
+
{
|
|
3782
|
+
"kind": "js",
|
|
3783
|
+
"name": "*",
|
|
3784
|
+
"declaration": {
|
|
3785
|
+
"name": "*",
|
|
3786
|
+
"package": "./validation/criteria-ir"
|
|
3787
|
+
}
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"kind": "js",
|
|
3791
|
+
"name": "*",
|
|
3792
|
+
"declaration": {
|
|
3793
|
+
"name": "*",
|
|
3794
|
+
"package": "./validation/operator-map"
|
|
3795
|
+
}
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "js",
|
|
3799
|
+
"name": "*",
|
|
3800
|
+
"declaration": {
|
|
3801
|
+
"name": "*",
|
|
3802
|
+
"package": "./validation/schema-validator"
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
]
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"kind": "javascript-module",
|
|
3809
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3810
|
+
"declarations": [
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "function",
|
|
3813
|
+
"name": "formatValidationErrors",
|
|
3814
|
+
"return": {
|
|
3815
|
+
"type": {
|
|
3816
|
+
"text": "string"
|
|
3817
|
+
}
|
|
3818
|
+
},
|
|
3819
|
+
"parameters": [
|
|
3820
|
+
{
|
|
3821
|
+
"name": "errors",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "ValidationError[]"
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
],
|
|
3827
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"kind": "function",
|
|
3831
|
+
"name": "showCriteriaError",
|
|
3832
|
+
"return": {
|
|
3833
|
+
"type": {
|
|
3834
|
+
"text": "void"
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
"parameters": [
|
|
3838
|
+
{
|
|
3839
|
+
"name": "title",
|
|
3840
|
+
"type": {
|
|
3841
|
+
"text": "string"
|
|
3842
|
+
},
|
|
3843
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
"name": "body",
|
|
3847
|
+
"type": {
|
|
3848
|
+
"text": "string"
|
|
3849
|
+
},
|
|
3850
|
+
"description": "Error message to display"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
"name": "tagName",
|
|
3854
|
+
"type": {
|
|
3855
|
+
"text": "string"
|
|
3856
|
+
},
|
|
3857
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3858
|
+
}
|
|
3859
|
+
],
|
|
3860
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3861
|
+
}
|
|
3862
|
+
],
|
|
3863
|
+
"exports": [
|
|
3864
|
+
{
|
|
3865
|
+
"kind": "js",
|
|
3866
|
+
"name": "formatValidationErrors",
|
|
3867
|
+
"declaration": {
|
|
3868
|
+
"name": "formatValidationErrors",
|
|
3869
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3870
|
+
}
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"kind": "js",
|
|
3874
|
+
"name": "showCriteriaError",
|
|
3875
|
+
"declaration": {
|
|
3876
|
+
"name": "showCriteriaError",
|
|
3877
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3878
3878
|
}
|
|
3879
3879
|
}
|
|
3880
3880
|
]
|