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