@genesislcap/foundation-ui 14.455.1 → 14.456.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 +796 -796
- 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
|
@@ -1825,11 +1825,34 @@
|
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
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
|
-
|
|
2024
|
+
"name": "open",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "boolean"
|
|
2027
|
+
},
|
|
2028
|
+
"default": "false"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"kind": "field",
|
|
2032
|
+
"name": "buttonAppearance",
|
|
2033
|
+
"type": {
|
|
2034
|
+
"text": "string"
|
|
2013
2035
|
}
|
|
2014
2036
|
},
|
|
2015
2037
|
{
|
|
2016
|
-
"kind": "
|
|
2017
|
-
"name": "
|
|
2018
|
-
"
|
|
2019
|
-
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "void"
|
|
2022
|
-
}
|
|
2038
|
+
"kind": "field",
|
|
2039
|
+
"name": "hideDisabled",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "boolean"
|
|
2023
2042
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"name": "Accordion",
|
|
2026
|
-
"module": "src/accordion/accordion.ts"
|
|
2027
|
-
}
|
|
2043
|
+
"default": "false"
|
|
2028
2044
|
},
|
|
2029
2045
|
{
|
|
2030
2046
|
"kind": "field",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
}
|
|
2047
|
+
"name": "hideMenuSingleOption",
|
|
2048
|
+
"type": {
|
|
2049
|
+
"text": "boolean"
|
|
2050
|
+
},
|
|
2051
|
+
"default": "false"
|
|
2037
2052
|
},
|
|
2038
2053
|
{
|
|
2039
2054
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
"name": "Accordion",
|
|
2044
|
-
"module": "src/accordion/accordion.ts"
|
|
2055
|
+
"name": "singleOption",
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "ActionMenuItem"
|
|
2045
2058
|
}
|
|
2046
2059
|
},
|
|
2047
2060
|
{
|
|
2048
|
-
"kind": "
|
|
2049
|
-
"name": "
|
|
2050
|
-
"
|
|
2051
|
-
|
|
2052
|
-
"type": {
|
|
2053
|
-
"text": "Array<string | null>"
|
|
2054
|
-
}
|
|
2055
|
-
},
|
|
2056
|
-
"inheritedFrom": {
|
|
2057
|
-
"name": "Accordion",
|
|
2058
|
-
"module": "src/accordion/accordion.ts"
|
|
2061
|
+
"kind": "field",
|
|
2062
|
+
"name": "actionsMenu",
|
|
2063
|
+
"type": {
|
|
2064
|
+
"text": "HTMLElement"
|
|
2059
2065
|
}
|
|
2060
2066
|
},
|
|
2061
2067
|
{
|
|
2062
2068
|
"kind": "method",
|
|
2063
|
-
"name": "
|
|
2064
|
-
"privacy": "
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2067
|
-
"
|
|
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
|
+
}
|
|
2068
2083
|
}
|
|
2069
|
-
|
|
2070
|
-
"inheritedFrom": {
|
|
2071
|
-
"name": "Accordion",
|
|
2072
|
-
"module": "src/accordion/accordion.ts"
|
|
2073
|
-
}
|
|
2084
|
+
]
|
|
2074
2085
|
},
|
|
2075
2086
|
{
|
|
2076
|
-
"kind": "
|
|
2077
|
-
"name": "
|
|
2078
|
-
"privacy": "
|
|
2079
|
-
"inheritedFrom": {
|
|
2080
|
-
"name": "Accordion",
|
|
2081
|
-
"module": "src/accordion/accordion.ts"
|
|
2082
|
-
}
|
|
2087
|
+
"kind": "method",
|
|
2088
|
+
"name": "openChanged",
|
|
2089
|
+
"privacy": "protected"
|
|
2083
2090
|
},
|
|
2084
2091
|
{
|
|
2085
|
-
"kind": "
|
|
2086
|
-
"name": "
|
|
2087
|
-
"privacy": "private",
|
|
2088
|
-
"inheritedFrom": {
|
|
2089
|
-
"name": "Accordion",
|
|
2090
|
-
"module": "src/accordion/accordion.ts"
|
|
2091
|
-
}
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "toggleActionsMenuVisibility"
|
|
2092
2094
|
},
|
|
2093
2095
|
{
|
|
2094
2096
|
"kind": "method",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"
|
|
2097
|
+
"name": "onActionMenuItemClick",
|
|
2098
|
+
"parameters": [
|
|
2099
|
+
{
|
|
2100
|
+
"name": "callback",
|
|
2101
|
+
"type": {
|
|
2102
|
+
"text": "(rowData) => void | any"
|
|
2103
|
+
}
|
|
2100
2104
|
}
|
|
2105
|
+
]
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
"kind": "field",
|
|
2109
|
+
"name": "allActions",
|
|
2110
|
+
"type": {
|
|
2111
|
+
"text": "ActionMenuItem[]"
|
|
2101
2112
|
},
|
|
2113
|
+
"readonly": true
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"kind": "field",
|
|
2117
|
+
"name": "rowData",
|
|
2118
|
+
"readonly": true
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"kind": "method",
|
|
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": "
|
|
2279
|
-
"declaration": {
|
|
2280
|
-
"name": "Accordion",
|
|
2281
|
-
"module": "src/accordion/accordion.ts"
|
|
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",
|
|
2338
|
+
"name": "ActionsMenu",
|
|
2295
2339
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/
|
|
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,210 +2377,122 @@
|
|
|
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-criteria-search/ai-criteria-search.styles.ts",
|
|
2344
2388
|
"declarations": [
|
|
2345
2389
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
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",
|
|
2371
|
-
"return": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "ElementStyles"
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "context",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "ElementDefinitionContext"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "definition",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "FoundationElementDefinition"
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
]
|
|
2390
|
+
"kind": "variable",
|
|
2391
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2392
|
+
"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`"
|
|
2390
2393
|
}
|
|
2391
2394
|
],
|
|
2392
2395
|
"exports": [
|
|
2393
2396
|
{
|
|
2394
2397
|
"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",
|
|
2398
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2404
2399
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2400
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2401
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2407
2402
|
}
|
|
2408
2403
|
}
|
|
2409
2404
|
]
|
|
2410
2405
|
},
|
|
2411
2406
|
{
|
|
2412
2407
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2408
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2414
2409
|
"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
2410
|
{
|
|
2440
2411
|
"kind": "variable",
|
|
2441
|
-
"name": "
|
|
2412
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2442
2413
|
"type": {
|
|
2443
|
-
"text": "ViewTemplate<
|
|
2414
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2444
2415
|
},
|
|
2445
|
-
"default": "html`\n
|
|
2416
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2446
2417
|
}
|
|
2447
2418
|
],
|
|
2448
2419
|
"exports": [
|
|
2449
2420
|
{
|
|
2450
2421
|
"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",
|
|
2422
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2468
2423
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2424
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2425
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2471
2426
|
}
|
|
2472
2427
|
}
|
|
2473
2428
|
]
|
|
2474
2429
|
},
|
|
2475
2430
|
{
|
|
2476
2431
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2432
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2478
2433
|
"declarations": [
|
|
2479
2434
|
{
|
|
2480
2435
|
"kind": "class",
|
|
2481
|
-
"description": "",
|
|
2482
|
-
"name": "
|
|
2436
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2437
|
+
"name": "AiCriteriaSearch",
|
|
2483
2438
|
"members": [
|
|
2484
2439
|
{
|
|
2485
2440
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2441
|
+
"name": "providerRegistry",
|
|
2487
2442
|
"type": {
|
|
2488
|
-
"text": "
|
|
2443
|
+
"text": "AIProviderRegistry"
|
|
2489
2444
|
}
|
|
2490
2445
|
},
|
|
2491
2446
|
{
|
|
2492
2447
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2448
|
+
"name": "placeholder",
|
|
2494
2449
|
"type": {
|
|
2495
|
-
"text": "
|
|
2450
|
+
"text": "string"
|
|
2496
2451
|
},
|
|
2497
|
-
"default": "
|
|
2452
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2498
2453
|
},
|
|
2499
2454
|
{
|
|
2500
2455
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2456
|
+
"name": "disabled",
|
|
2502
2457
|
"type": {
|
|
2503
2458
|
"text": "boolean"
|
|
2504
|
-
}
|
|
2505
|
-
"default": "true"
|
|
2459
|
+
}
|
|
2506
2460
|
},
|
|
2507
2461
|
{
|
|
2508
2462
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2463
|
+
"name": "inputValue",
|
|
2510
2464
|
"type": {
|
|
2511
|
-
"text": "
|
|
2465
|
+
"text": "string"
|
|
2512
2466
|
},
|
|
2513
|
-
"default": "
|
|
2467
|
+
"default": "''"
|
|
2514
2468
|
},
|
|
2515
2469
|
{
|
|
2516
2470
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2471
|
+
"name": "isInterpreting",
|
|
2518
2472
|
"type": {
|
|
2519
|
-
"text": "
|
|
2520
|
-
}
|
|
2473
|
+
"text": "boolean"
|
|
2474
|
+
},
|
|
2475
|
+
"default": "false"
|
|
2521
2476
|
},
|
|
2522
2477
|
{
|
|
2523
2478
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2479
|
+
"name": "lastValidCriteria",
|
|
2525
2480
|
"type": {
|
|
2526
|
-
"text": "
|
|
2527
|
-
}
|
|
2481
|
+
"text": "string | null"
|
|
2482
|
+
},
|
|
2483
|
+
"default": "null"
|
|
2528
2484
|
},
|
|
2529
2485
|
{
|
|
2530
2486
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2487
|
+
"name": "activeGroups",
|
|
2532
2488
|
"type": {
|
|
2533
|
-
"text": "
|
|
2489
|
+
"text": "CriteriaGroup[]"
|
|
2534
2490
|
},
|
|
2535
|
-
"default": "
|
|
2491
|
+
"default": "[]"
|
|
2536
2492
|
},
|
|
2537
2493
|
{
|
|
2538
2494
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2495
|
+
"name": "showingChips",
|
|
2540
2496
|
"type": {
|
|
2541
2497
|
"text": "boolean"
|
|
2542
2498
|
},
|
|
@@ -2544,14 +2500,15 @@
|
|
|
2544
2500
|
},
|
|
2545
2501
|
{
|
|
2546
2502
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2503
|
+
"name": "fieldMetadata",
|
|
2548
2504
|
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2505
|
+
"text": "MetadataDetail[] | string[]"
|
|
2506
|
+
},
|
|
2507
|
+
"default": "[]"
|
|
2551
2508
|
},
|
|
2552
2509
|
{
|
|
2553
2510
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2511
|
+
"name": "isRecording",
|
|
2555
2512
|
"type": {
|
|
2556
2513
|
"text": "boolean"
|
|
2557
2514
|
},
|
|
@@ -2559,102 +2516,125 @@
|
|
|
2559
2516
|
},
|
|
2560
2517
|
{
|
|
2561
2518
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2519
|
+
"name": "textAreaRef",
|
|
2563
2520
|
"type": {
|
|
2564
|
-
"text": "
|
|
2521
|
+
"text": "HTMLTextAreaElement"
|
|
2565
2522
|
},
|
|
2566
|
-
"
|
|
2523
|
+
"privacy": "public"
|
|
2567
2524
|
},
|
|
2568
2525
|
{
|
|
2569
2526
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2527
|
+
"name": "stopRecording",
|
|
2571
2528
|
"type": {
|
|
2572
|
-
"text": "
|
|
2573
|
-
}
|
|
2529
|
+
"text": "(() => void) | null"
|
|
2530
|
+
},
|
|
2531
|
+
"privacy": "private",
|
|
2532
|
+
"default": "null"
|
|
2574
2533
|
},
|
|
2575
2534
|
{
|
|
2576
2535
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2536
|
+
"name": "speechApplyDebounceTimer",
|
|
2578
2537
|
"type": {
|
|
2579
|
-
"text": "
|
|
2580
|
-
}
|
|
2538
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2539
|
+
},
|
|
2540
|
+
"privacy": "private",
|
|
2541
|
+
"default": "null"
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"kind": "field",
|
|
2545
|
+
"name": "speechAvailable",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "boolean"
|
|
2548
|
+
},
|
|
2549
|
+
"readonly": true
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"kind": "field",
|
|
2553
|
+
"name": "criteriaChips",
|
|
2554
|
+
"type": {
|
|
2555
|
+
"text": "CriteriaChip[]"
|
|
2556
|
+
},
|
|
2557
|
+
"readonly": true
|
|
2581
2558
|
},
|
|
2582
2559
|
{
|
|
2583
2560
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2561
|
+
"name": "getFieldLabel",
|
|
2562
|
+
"privacy": "private",
|
|
2563
|
+
"return": {
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "string"
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2586
2568
|
"parameters": [
|
|
2587
2569
|
{
|
|
2588
|
-
"name": "
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2570
|
+
"name": "fieldName",
|
|
2595
2571
|
"type": {
|
|
2596
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2597
2573
|
}
|
|
2598
2574
|
}
|
|
2599
2575
|
]
|
|
2600
2576
|
},
|
|
2601
2577
|
{
|
|
2602
2578
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2579
|
+
"name": "toggleCriteriaView",
|
|
2580
|
+
"return": {
|
|
2581
|
+
"type": {
|
|
2582
|
+
"text": "void"
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2609
2585
|
},
|
|
2610
2586
|
{
|
|
2611
2587
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2588
|
+
"name": "removeChip",
|
|
2589
|
+
"return": {
|
|
2590
|
+
"type": {
|
|
2591
|
+
"text": "void"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2613
2594
|
"parameters": [
|
|
2614
2595
|
{
|
|
2615
|
-
"name": "
|
|
2596
|
+
"name": "groupIndex",
|
|
2616
2597
|
"type": {
|
|
2617
|
-
"text": "
|
|
2598
|
+
"text": "number"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"name": "clauseIndex",
|
|
2603
|
+
"type": {
|
|
2604
|
+
"text": "number"
|
|
2618
2605
|
}
|
|
2619
2606
|
}
|
|
2620
2607
|
]
|
|
2621
2608
|
},
|
|
2622
2609
|
{
|
|
2623
|
-
"kind": "
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
|
|
2610
|
+
"kind": "method",
|
|
2611
|
+
"name": "clearChips",
|
|
2612
|
+
"return": {
|
|
2613
|
+
"type": {
|
|
2614
|
+
"text": "void"
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2629
2617
|
},
|
|
2630
2618
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"readonly": true
|
|
2619
|
+
"kind": "method",
|
|
2620
|
+
"name": "handleSubmit"
|
|
2634
2621
|
},
|
|
2635
2622
|
{
|
|
2636
2623
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2638
|
-
"parameters": [
|
|
2639
|
-
{
|
|
2640
|
-
"name": "name",
|
|
2641
|
-
"type": {
|
|
2642
|
-
"text": "string | ((rowData: any) => string)"
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
]
|
|
2624
|
+
"name": "handleBlur"
|
|
2646
2625
|
},
|
|
2647
2626
|
{
|
|
2648
2627
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2628
|
+
"name": "clear"
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"kind": "method",
|
|
2632
|
+
"name": "toggleSpeechInput"
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "method",
|
|
2636
|
+
"name": "clearSpeechApplyDebounce",
|
|
2637
|
+
"privacy": "private"
|
|
2658
2638
|
},
|
|
2659
2639
|
{
|
|
2660
2640
|
"kind": "field",
|
|
@@ -2768,339 +2748,520 @@
|
|
|
2768
2748
|
}
|
|
2769
2749
|
}
|
|
2770
2750
|
],
|
|
2771
|
-
"
|
|
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
|
-
},
|
|
2751
|
+
"events": [
|
|
2796
2752
|
{
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2753
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2754
|
+
"name": "criteria-changed"
|
|
2803
2755
|
},
|
|
2804
2756
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2757
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2758
|
+
"name": "validation-errors"
|
|
2759
|
+
}
|
|
2760
|
+
],
|
|
2761
|
+
"attributes": [
|
|
2812
2762
|
{
|
|
2813
|
-
"name": "
|
|
2763
|
+
"name": "placeholder",
|
|
2814
2764
|
"type": {
|
|
2815
2765
|
"text": "string"
|
|
2816
2766
|
},
|
|
2817
|
-
"
|
|
2818
|
-
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2767
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
+
"fieldName": "placeholder"
|
|
2826
2769
|
},
|
|
2827
2770
|
{
|
|
2828
|
-
"name": "hide-menu-single-option",
|
|
2829
2771
|
"type": {
|
|
2830
2772
|
"text": "boolean"
|
|
2831
2773
|
},
|
|
2832
|
-
"
|
|
2833
|
-
"fieldName": "hideMenuSingleOption"
|
|
2774
|
+
"fieldName": "disabled"
|
|
2834
2775
|
}
|
|
2835
2776
|
],
|
|
2836
2777
|
"superclass": {
|
|
2837
2778
|
"name": "FoundationElement",
|
|
2838
2779
|
"package": "@microsoft/fast-foundation"
|
|
2839
2780
|
},
|
|
2840
|
-
"tagName": "%%prefix%%-
|
|
2781
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2841
2782
|
"customElement": true
|
|
2842
2783
|
},
|
|
2843
2784
|
{
|
|
2844
2785
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2847
|
-
|
|
2786
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "ShadowRootInit"
|
|
2789
|
+
},
|
|
2790
|
+
"default": "undefined"
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"kind": "variable",
|
|
2794
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
+
"type": {
|
|
2796
|
+
"text": "object"
|
|
2797
|
+
},
|
|
2798
|
+
"default": "{}"
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"kind": "variable",
|
|
2802
|
+
"name": "foundationAiCriteriaSearch"
|
|
2848
2803
|
}
|
|
2849
2804
|
],
|
|
2850
2805
|
"exports": [
|
|
2851
2806
|
{
|
|
2852
2807
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2808
|
+
"name": "AiCriteriaSearch",
|
|
2854
2809
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2810
|
+
"name": "AiCriteriaSearch",
|
|
2811
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2857
2812
|
}
|
|
2858
2813
|
},
|
|
2859
2814
|
{
|
|
2860
2815
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2816
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
2817
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2818
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "js",
|
|
2824
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
+
"declaration": {
|
|
2826
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "js",
|
|
2832
|
+
"name": "foundationAiCriteriaSearch",
|
|
2833
|
+
"declaration": {
|
|
2834
|
+
"name": "foundationAiCriteriaSearch",
|
|
2835
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2836
|
}
|
|
2866
2837
|
}
|
|
2867
2838
|
]
|
|
2868
2839
|
},
|
|
2869
2840
|
{
|
|
2870
2841
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2842
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2872
2843
|
"declarations": [],
|
|
2873
2844
|
"exports": [
|
|
2874
2845
|
{
|
|
2875
2846
|
"kind": "js",
|
|
2876
|
-
"name": "
|
|
2847
|
+
"name": "AiCriteriaSearch",
|
|
2877
2848
|
"declaration": {
|
|
2878
|
-
"name": "
|
|
2879
|
-
"
|
|
2849
|
+
"name": "AiCriteriaSearch",
|
|
2850
|
+
"module": "./ai-criteria-search"
|
|
2880
2851
|
}
|
|
2881
2852
|
},
|
|
2882
2853
|
{
|
|
2883
2854
|
"kind": "js",
|
|
2884
|
-
"name": "
|
|
2855
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2885
2856
|
"declaration": {
|
|
2886
|
-
"name": "
|
|
2887
|
-
"
|
|
2857
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
+
"module": "./ai-criteria-search"
|
|
2888
2859
|
}
|
|
2889
2860
|
},
|
|
2890
2861
|
{
|
|
2891
2862
|
"kind": "js",
|
|
2892
|
-
"name": "
|
|
2863
|
+
"name": "foundationAiCriteriaSearch",
|
|
2893
2864
|
"declaration": {
|
|
2894
|
-
"name": "
|
|
2895
|
-
"
|
|
2865
|
+
"name": "foundationAiCriteriaSearch",
|
|
2866
|
+
"module": "./ai-criteria-search"
|
|
2896
2867
|
}
|
|
2897
|
-
}
|
|
2898
|
-
]
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2903
|
-
"declarations": [
|
|
2868
|
+
},
|
|
2904
2869
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2870
|
+
"kind": "js",
|
|
2871
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
+
"declaration": {
|
|
2873
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
+
"module": "./ai-criteria-search"
|
|
2875
|
+
}
|
|
2876
|
+
},
|
|
2911
2877
|
{
|
|
2912
2878
|
"kind": "js",
|
|
2913
2879
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2914
2880
|
"declaration": {
|
|
2915
2881
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
-
"module": "
|
|
2882
|
+
"module": "./ai-criteria-search.styles"
|
|
2917
2883
|
}
|
|
2918
|
-
}
|
|
2919
|
-
]
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2924
|
-
"declarations": [
|
|
2925
|
-
{
|
|
2926
|
-
"kind": "variable",
|
|
2927
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2930
|
-
},
|
|
2931
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2932
|
-
}
|
|
2933
|
-
],
|
|
2934
|
-
"exports": [
|
|
2884
|
+
},
|
|
2935
2885
|
{
|
|
2936
2886
|
"kind": "js",
|
|
2937
2887
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2938
2888
|
"declaration": {
|
|
2939
2889
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2940
|
-
"module": "
|
|
2890
|
+
"module": "./ai-criteria-search.template"
|
|
2891
|
+
}
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"kind": "js",
|
|
2895
|
+
"name": "*",
|
|
2896
|
+
"declaration": {
|
|
2897
|
+
"name": "*",
|
|
2898
|
+
"package": "./validation/criteria-ir"
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "js",
|
|
2903
|
+
"name": "*",
|
|
2904
|
+
"declaration": {
|
|
2905
|
+
"name": "*",
|
|
2906
|
+
"package": "./validation/operator-map"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"kind": "js",
|
|
2911
|
+
"name": "*",
|
|
2912
|
+
"declaration": {
|
|
2913
|
+
"name": "*",
|
|
2914
|
+
"package": "./validation/schema-validator"
|
|
2941
2915
|
}
|
|
2942
2916
|
}
|
|
2943
2917
|
]
|
|
2944
2918
|
},
|
|
2945
2919
|
{
|
|
2946
2920
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-criteria-search/
|
|
2921
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2948
2922
|
"declarations": [
|
|
2949
2923
|
{
|
|
2950
|
-
"kind": "
|
|
2951
|
-
"
|
|
2952
|
-
"
|
|
2953
|
-
|
|
2924
|
+
"kind": "function",
|
|
2925
|
+
"name": "formatValidationErrors",
|
|
2926
|
+
"return": {
|
|
2927
|
+
"type": {
|
|
2928
|
+
"text": "string"
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
"parameters": [
|
|
2954
2932
|
{
|
|
2955
|
-
"
|
|
2956
|
-
"name": "providerRegistry",
|
|
2933
|
+
"name": "errors",
|
|
2957
2934
|
"type": {
|
|
2958
|
-
"text": "
|
|
2935
|
+
"text": "ValidationError[]"
|
|
2959
2936
|
}
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2937
|
+
}
|
|
2938
|
+
],
|
|
2939
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "function",
|
|
2943
|
+
"name": "showCriteriaError",
|
|
2944
|
+
"return": {
|
|
2945
|
+
"type": {
|
|
2946
|
+
"text": "void"
|
|
2947
|
+
}
|
|
2948
|
+
},
|
|
2949
|
+
"parameters": [
|
|
2976
2950
|
{
|
|
2977
|
-
"
|
|
2978
|
-
"name": "inputValue",
|
|
2951
|
+
"name": "title",
|
|
2979
2952
|
"type": {
|
|
2980
2953
|
"text": "string"
|
|
2981
2954
|
},
|
|
2982
|
-
"
|
|
2955
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2983
2956
|
},
|
|
2984
2957
|
{
|
|
2985
|
-
"
|
|
2986
|
-
"name": "isInterpreting",
|
|
2958
|
+
"name": "body",
|
|
2987
2959
|
"type": {
|
|
2988
|
-
"text": "
|
|
2960
|
+
"text": "string"
|
|
2989
2961
|
},
|
|
2990
|
-
"
|
|
2962
|
+
"description": "Error message to display"
|
|
2991
2963
|
},
|
|
2992
2964
|
{
|
|
2993
|
-
"
|
|
2994
|
-
"name": "lastValidCriteria",
|
|
2965
|
+
"name": "tagName",
|
|
2995
2966
|
"type": {
|
|
2996
|
-
"text": "string
|
|
2967
|
+
"text": "string"
|
|
2997
2968
|
},
|
|
2998
|
-
"
|
|
2999
|
-
}
|
|
2969
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
+
}
|
|
2971
|
+
],
|
|
2972
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
+
}
|
|
2974
|
+
],
|
|
2975
|
+
"exports": [
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "js",
|
|
2978
|
+
"name": "formatValidationErrors",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "formatValidationErrors",
|
|
2981
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "showCriteriaError",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "showCriteriaError",
|
|
2989
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"kind": "javascript-module",
|
|
2996
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2997
|
+
"declarations": [
|
|
2998
|
+
{
|
|
2999
|
+
"kind": "function",
|
|
3000
|
+
"name": "foundationAccordionStyles",
|
|
3001
|
+
"return": {
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "ElementStyles"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
"parameters": [
|
|
3000
3007
|
{
|
|
3001
|
-
"
|
|
3002
|
-
"name": "activeGroups",
|
|
3008
|
+
"name": "context",
|
|
3003
3009
|
"type": {
|
|
3004
|
-
"text": "
|
|
3005
|
-
}
|
|
3006
|
-
"default": "[]"
|
|
3010
|
+
"text": "ElementDefinitionContext"
|
|
3011
|
+
}
|
|
3007
3012
|
},
|
|
3008
3013
|
{
|
|
3009
|
-
"
|
|
3010
|
-
"name": "showingChips",
|
|
3014
|
+
"name": "definition",
|
|
3011
3015
|
"type": {
|
|
3012
|
-
"text": "
|
|
3013
|
-
}
|
|
3014
|
-
|
|
3016
|
+
"text": "FoundationElementDefinition"
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
]
|
|
3020
|
+
}
|
|
3021
|
+
],
|
|
3022
|
+
"exports": [
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "js",
|
|
3025
|
+
"name": "foundationAccordionStyles",
|
|
3026
|
+
"declaration": {
|
|
3027
|
+
"name": "foundationAccordionStyles",
|
|
3028
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
]
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"kind": "javascript-module",
|
|
3035
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3036
|
+
"declarations": [
|
|
3037
|
+
{
|
|
3038
|
+
"kind": "function",
|
|
3039
|
+
"name": "foundationAccordionTemplate",
|
|
3040
|
+
"return": {
|
|
3041
|
+
"type": {
|
|
3042
|
+
"text": "ViewTemplate<Accordion>"
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
3045
|
+
"parameters": [
|
|
3046
|
+
{
|
|
3047
|
+
"name": "context",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "ElementDefinitionContext"
|
|
3050
|
+
}
|
|
3015
3051
|
},
|
|
3016
3052
|
{
|
|
3017
|
-
"
|
|
3018
|
-
"name": "fieldMetadata",
|
|
3053
|
+
"name": "definition",
|
|
3019
3054
|
"type": {
|
|
3020
|
-
"text": "
|
|
3055
|
+
"text": "FoundationElementDefinition"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
]
|
|
3059
|
+
}
|
|
3060
|
+
],
|
|
3061
|
+
"exports": [
|
|
3062
|
+
{
|
|
3063
|
+
"kind": "js",
|
|
3064
|
+
"name": "foundationAccordionTemplate",
|
|
3065
|
+
"declaration": {
|
|
3066
|
+
"name": "foundationAccordionTemplate",
|
|
3067
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "javascript-module",
|
|
3074
|
+
"path": "src/accordion/accordion.ts",
|
|
3075
|
+
"declarations": [
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "class",
|
|
3078
|
+
"description": "",
|
|
3079
|
+
"name": "Accordion",
|
|
3080
|
+
"superclass": {
|
|
3081
|
+
"name": "FASTAccordion",
|
|
3082
|
+
"package": "@microsoft/fast-foundation"
|
|
3083
|
+
},
|
|
3084
|
+
"tagName": "%%prefix%%-accordion",
|
|
3085
|
+
"customElement": true,
|
|
3086
|
+
"attributes": [
|
|
3087
|
+
{
|
|
3088
|
+
"name": "expand-mode",
|
|
3089
|
+
"type": {
|
|
3090
|
+
"text": "AccordionExpandMode"
|
|
3021
3091
|
},
|
|
3022
|
-
"
|
|
3023
|
-
|
|
3092
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3093
|
+
"fieldName": "expandmode",
|
|
3094
|
+
"inheritedFrom": {
|
|
3095
|
+
"name": "Accordion",
|
|
3096
|
+
"module": "src/accordion/accordion.ts"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
],
|
|
3100
|
+
"members": [
|
|
3024
3101
|
{
|
|
3025
3102
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3103
|
+
"name": "expandmode",
|
|
3027
3104
|
"type": {
|
|
3028
|
-
"text": "
|
|
3105
|
+
"text": "AccordionExpandMode"
|
|
3029
3106
|
},
|
|
3030
|
-
"
|
|
3107
|
+
"privacy": "public",
|
|
3108
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3109
|
+
"inheritedFrom": {
|
|
3110
|
+
"name": "Accordion",
|
|
3111
|
+
"module": "src/accordion/accordion.ts"
|
|
3112
|
+
}
|
|
3031
3113
|
},
|
|
3032
3114
|
{
|
|
3033
3115
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3116
|
+
"name": "activeid",
|
|
3035
3117
|
"type": {
|
|
3036
|
-
"text": "
|
|
3118
|
+
"text": "string | null"
|
|
3037
3119
|
},
|
|
3038
|
-
"privacy": "
|
|
3120
|
+
"privacy": "private",
|
|
3121
|
+
"inheritedFrom": {
|
|
3122
|
+
"name": "Accordion",
|
|
3123
|
+
"module": "src/accordion/accordion.ts"
|
|
3124
|
+
}
|
|
3039
3125
|
},
|
|
3040
3126
|
{
|
|
3041
3127
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3128
|
+
"name": "activeItemIndex",
|
|
3043
3129
|
"type": {
|
|
3044
|
-
"text": "
|
|
3130
|
+
"text": "number"
|
|
3045
3131
|
},
|
|
3046
3132
|
"privacy": "private",
|
|
3047
|
-
"default": "
|
|
3133
|
+
"default": "0",
|
|
3134
|
+
"inheritedFrom": {
|
|
3135
|
+
"name": "Accordion",
|
|
3136
|
+
"module": "src/accordion/accordion.ts"
|
|
3137
|
+
}
|
|
3048
3138
|
},
|
|
3049
3139
|
{
|
|
3050
3140
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3141
|
+
"name": "accordionIds",
|
|
3052
3142
|
"type": {
|
|
3053
|
-
"text": "
|
|
3143
|
+
"text": "Array<string | null>"
|
|
3054
3144
|
},
|
|
3055
3145
|
"privacy": "private",
|
|
3056
|
-
"
|
|
3146
|
+
"inheritedFrom": {
|
|
3147
|
+
"name": "Accordion",
|
|
3148
|
+
"module": "src/accordion/accordion.ts"
|
|
3149
|
+
}
|
|
3057
3150
|
},
|
|
3058
3151
|
{
|
|
3059
3152
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3061
|
-
"
|
|
3062
|
-
|
|
3153
|
+
"name": "change",
|
|
3154
|
+
"privacy": "private",
|
|
3155
|
+
"inheritedFrom": {
|
|
3156
|
+
"name": "Accordion",
|
|
3157
|
+
"module": "src/accordion/accordion.ts"
|
|
3158
|
+
}
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"kind": "method",
|
|
3162
|
+
"name": "findExpandedItem",
|
|
3163
|
+
"privacy": "private",
|
|
3164
|
+
"return": {
|
|
3165
|
+
"type": {
|
|
3166
|
+
"text": "AccordionItem | null"
|
|
3167
|
+
}
|
|
3063
3168
|
},
|
|
3064
|
-
"
|
|
3169
|
+
"inheritedFrom": {
|
|
3170
|
+
"name": "Accordion",
|
|
3171
|
+
"module": "src/accordion/accordion.ts"
|
|
3172
|
+
}
|
|
3065
3173
|
},
|
|
3066
3174
|
{
|
|
3067
3175
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3069
|
-
"
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3176
|
+
"name": "setItems",
|
|
3177
|
+
"privacy": "private",
|
|
3178
|
+
"inheritedFrom": {
|
|
3179
|
+
"name": "Accordion",
|
|
3180
|
+
"module": "src/accordion/accordion.ts"
|
|
3181
|
+
}
|
|
3073
3182
|
},
|
|
3074
3183
|
{
|
|
3075
3184
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3185
|
+
"name": "resetItems",
|
|
3077
3186
|
"privacy": "private",
|
|
3078
3187
|
"return": {
|
|
3079
3188
|
"type": {
|
|
3080
|
-
"text": "
|
|
3189
|
+
"text": "void"
|
|
3081
3190
|
}
|
|
3082
3191
|
},
|
|
3083
|
-
"
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3192
|
+
"inheritedFrom": {
|
|
3193
|
+
"name": "Accordion",
|
|
3194
|
+
"module": "src/accordion/accordion.ts"
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"kind": "field",
|
|
3199
|
+
"name": "removeItemListeners",
|
|
3200
|
+
"privacy": "private",
|
|
3201
|
+
"inheritedFrom": {
|
|
3202
|
+
"name": "Accordion",
|
|
3203
|
+
"module": "src/accordion/accordion.ts"
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"kind": "field",
|
|
3208
|
+
"name": "activeItemChange",
|
|
3209
|
+
"privacy": "private",
|
|
3210
|
+
"inheritedFrom": {
|
|
3211
|
+
"name": "Accordion",
|
|
3212
|
+
"module": "src/accordion/accordion.ts"
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "method",
|
|
3217
|
+
"name": "getItemIds",
|
|
3218
|
+
"privacy": "private",
|
|
3219
|
+
"return": {
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "Array<string | null>"
|
|
3089
3222
|
}
|
|
3090
|
-
|
|
3223
|
+
},
|
|
3224
|
+
"inheritedFrom": {
|
|
3225
|
+
"name": "Accordion",
|
|
3226
|
+
"module": "src/accordion/accordion.ts"
|
|
3227
|
+
}
|
|
3091
3228
|
},
|
|
3092
3229
|
{
|
|
3093
3230
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3231
|
+
"name": "isSingleExpandMode",
|
|
3232
|
+
"privacy": "private",
|
|
3095
3233
|
"return": {
|
|
3096
3234
|
"type": {
|
|
3097
|
-
"text": "
|
|
3235
|
+
"text": "boolean"
|
|
3098
3236
|
}
|
|
3237
|
+
},
|
|
3238
|
+
"inheritedFrom": {
|
|
3239
|
+
"name": "Accordion",
|
|
3240
|
+
"module": "src/accordion/accordion.ts"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"kind": "field",
|
|
3245
|
+
"name": "handleItemKeyDown",
|
|
3246
|
+
"privacy": "private",
|
|
3247
|
+
"inheritedFrom": {
|
|
3248
|
+
"name": "Accordion",
|
|
3249
|
+
"module": "src/accordion/accordion.ts"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "field",
|
|
3254
|
+
"name": "handleItemFocus",
|
|
3255
|
+
"privacy": "private",
|
|
3256
|
+
"inheritedFrom": {
|
|
3257
|
+
"name": "Accordion",
|
|
3258
|
+
"module": "src/accordion/accordion.ts"
|
|
3099
3259
|
}
|
|
3100
3260
|
},
|
|
3101
3261
|
{
|
|
3102
3262
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3263
|
+
"name": "adjust",
|
|
3264
|
+
"privacy": "private",
|
|
3104
3265
|
"return": {
|
|
3105
3266
|
"type": {
|
|
3106
3267
|
"text": "void"
|
|
@@ -3108,49 +3269,31 @@
|
|
|
3108
3269
|
},
|
|
3109
3270
|
"parameters": [
|
|
3110
3271
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3272
|
+
"name": "adjustment",
|
|
3118
3273
|
"type": {
|
|
3119
3274
|
"text": "number"
|
|
3120
3275
|
}
|
|
3121
3276
|
}
|
|
3122
|
-
]
|
|
3277
|
+
],
|
|
3278
|
+
"inheritedFrom": {
|
|
3279
|
+
"name": "Accordion",
|
|
3280
|
+
"module": "src/accordion/accordion.ts"
|
|
3281
|
+
}
|
|
3123
3282
|
},
|
|
3124
3283
|
{
|
|
3125
3284
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3285
|
+
"name": "focusItem",
|
|
3286
|
+
"privacy": "private",
|
|
3127
3287
|
"return": {
|
|
3128
3288
|
"type": {
|
|
3129
3289
|
"text": "void"
|
|
3130
3290
|
}
|
|
3291
|
+
},
|
|
3292
|
+
"inheritedFrom": {
|
|
3293
|
+
"name": "Accordion",
|
|
3294
|
+
"module": "src/accordion/accordion.ts"
|
|
3131
3295
|
}
|
|
3132
3296
|
},
|
|
3133
|
-
{
|
|
3134
|
-
"kind": "method",
|
|
3135
|
-
"name": "handleSubmit"
|
|
3136
|
-
},
|
|
3137
|
-
{
|
|
3138
|
-
"kind": "method",
|
|
3139
|
-
"name": "handleBlur"
|
|
3140
|
-
},
|
|
3141
|
-
{
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3144
|
-
},
|
|
3145
|
-
{
|
|
3146
|
-
"kind": "method",
|
|
3147
|
-
"name": "toggleSpeechInput"
|
|
3148
|
-
},
|
|
3149
|
-
{
|
|
3150
|
-
"kind": "method",
|
|
3151
|
-
"name": "clearSpeechApplyDebounce",
|
|
3152
|
-
"privacy": "private"
|
|
3153
|
-
},
|
|
3154
3297
|
{
|
|
3155
3298
|
"kind": "field",
|
|
3156
3299
|
"name": "_presentation",
|
|
@@ -3265,48 +3408,26 @@
|
|
|
3265
3408
|
],
|
|
3266
3409
|
"events": [
|
|
3267
3410
|
{
|
|
3268
|
-
"description": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3411
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3412
|
+
"name": "change",
|
|
3413
|
+
"inheritedFrom": {
|
|
3414
|
+
"name": "Accordion",
|
|
3415
|
+
"module": "src/accordion/accordion.ts"
|
|
3416
|
+
}
|
|
3290
3417
|
}
|
|
3291
|
-
]
|
|
3292
|
-
"superclass": {
|
|
3293
|
-
"name": "FoundationElement",
|
|
3294
|
-
"package": "@microsoft/fast-foundation"
|
|
3295
|
-
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3297
|
-
"customElement": true
|
|
3418
|
+
]
|
|
3298
3419
|
},
|
|
3299
3420
|
{
|
|
3300
3421
|
"kind": "variable",
|
|
3301
|
-
"name": "
|
|
3422
|
+
"name": "foundationAccordionShadowOptions",
|
|
3302
3423
|
"type": {
|
|
3303
3424
|
"text": "ShadowRootInit"
|
|
3304
3425
|
},
|
|
3305
|
-
"default": "
|
|
3426
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3306
3427
|
},
|
|
3307
3428
|
{
|
|
3308
3429
|
"kind": "variable",
|
|
3309
|
-
"name": "
|
|
3430
|
+
"name": "defaultAccordionConfig",
|
|
3310
3431
|
"type": {
|
|
3311
3432
|
"text": "object"
|
|
3312
3433
|
},
|
|
@@ -3314,103 +3435,57 @@
|
|
|
3314
3435
|
},
|
|
3315
3436
|
{
|
|
3316
3437
|
"kind": "variable",
|
|
3317
|
-
"name": "
|
|
3438
|
+
"name": "foundationAccordion",
|
|
3439
|
+
"description": "The Foundation Accordion",
|
|
3440
|
+
"privacy": "public"
|
|
3318
3441
|
}
|
|
3319
3442
|
],
|
|
3320
3443
|
"exports": [
|
|
3321
3444
|
{
|
|
3322
3445
|
"kind": "js",
|
|
3323
|
-
"name": "
|
|
3446
|
+
"name": "Accordion",
|
|
3324
3447
|
"declaration": {
|
|
3325
|
-
"name": "
|
|
3326
|
-
"module": "src/
|
|
3448
|
+
"name": "Accordion",
|
|
3449
|
+
"module": "src/accordion/accordion.ts"
|
|
3327
3450
|
}
|
|
3328
3451
|
},
|
|
3329
3452
|
{
|
|
3330
3453
|
"kind": "js",
|
|
3331
|
-
"name": "
|
|
3454
|
+
"name": "foundationAccordionShadowOptions",
|
|
3332
3455
|
"declaration": {
|
|
3333
|
-
"name": "
|
|
3334
|
-
"module": "src/
|
|
3456
|
+
"name": "foundationAccordionShadowOptions",
|
|
3457
|
+
"module": "src/accordion/accordion.ts"
|
|
3335
3458
|
}
|
|
3336
3459
|
},
|
|
3337
3460
|
{
|
|
3338
3461
|
"kind": "js",
|
|
3339
|
-
"name": "
|
|
3462
|
+
"name": "defaultAccordionConfig",
|
|
3340
3463
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/
|
|
3464
|
+
"name": "defaultAccordionConfig",
|
|
3465
|
+
"module": "src/accordion/accordion.ts"
|
|
3343
3466
|
}
|
|
3344
3467
|
},
|
|
3345
3468
|
{
|
|
3346
3469
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3470
|
+
"name": "foundationAccordion",
|
|
3348
3471
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/
|
|
3472
|
+
"name": "foundationAccordion",
|
|
3473
|
+
"module": "src/accordion/accordion.ts"
|
|
3351
3474
|
}
|
|
3352
3475
|
}
|
|
3353
3476
|
]
|
|
3354
3477
|
},
|
|
3355
3478
|
{
|
|
3356
3479
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/
|
|
3480
|
+
"path": "src/accordion/index.ts",
|
|
3358
3481
|
"declarations": [],
|
|
3359
3482
|
"exports": [
|
|
3360
|
-
{
|
|
3361
|
-
"kind": "js",
|
|
3362
|
-
"name": "AiCriteriaSearch",
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3387
|
-
"declaration": {
|
|
3388
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3389
|
-
"module": "./ai-criteria-search"
|
|
3390
|
-
}
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"kind": "js",
|
|
3394
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3395
|
-
"declaration": {
|
|
3396
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3397
|
-
"module": "./ai-criteria-search.styles"
|
|
3398
|
-
}
|
|
3399
|
-
},
|
|
3400
|
-
{
|
|
3401
|
-
"kind": "js",
|
|
3402
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3403
|
-
"declaration": {
|
|
3404
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3405
|
-
"module": "./ai-criteria-search.template"
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
3483
|
{
|
|
3409
3484
|
"kind": "js",
|
|
3410
3485
|
"name": "*",
|
|
3411
3486
|
"declaration": {
|
|
3412
3487
|
"name": "*",
|
|
3413
|
-
"package": "./
|
|
3488
|
+
"package": "./accordion.template"
|
|
3414
3489
|
}
|
|
3415
3490
|
},
|
|
3416
3491
|
{
|
|
@@ -3418,7 +3493,7 @@
|
|
|
3418
3493
|
"name": "*",
|
|
3419
3494
|
"declaration": {
|
|
3420
3495
|
"name": "*",
|
|
3421
|
-
"package": "./
|
|
3496
|
+
"package": "./accordion.styles"
|
|
3422
3497
|
}
|
|
3423
3498
|
},
|
|
3424
3499
|
{
|
|
@@ -3426,82 +3501,7 @@
|
|
|
3426
3501
|
"name": "*",
|
|
3427
3502
|
"declaration": {
|
|
3428
3503
|
"name": "*",
|
|
3429
|
-
"package": "./
|
|
3430
|
-
}
|
|
3431
|
-
}
|
|
3432
|
-
]
|
|
3433
|
-
},
|
|
3434
|
-
{
|
|
3435
|
-
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3437
|
-
"declarations": [
|
|
3438
|
-
{
|
|
3439
|
-
"kind": "function",
|
|
3440
|
-
"name": "formatValidationErrors",
|
|
3441
|
-
"return": {
|
|
3442
|
-
"type": {
|
|
3443
|
-
"text": "string"
|
|
3444
|
-
}
|
|
3445
|
-
},
|
|
3446
|
-
"parameters": [
|
|
3447
|
-
{
|
|
3448
|
-
"name": "errors",
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "ValidationError[]"
|
|
3451
|
-
}
|
|
3452
|
-
}
|
|
3453
|
-
],
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "function",
|
|
3458
|
-
"name": "showCriteriaError",
|
|
3459
|
-
"return": {
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "void"
|
|
3462
|
-
}
|
|
3463
|
-
},
|
|
3464
|
-
"parameters": [
|
|
3465
|
-
{
|
|
3466
|
-
"name": "title",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3474
|
-
"type": {
|
|
3475
|
-
"text": "string"
|
|
3476
|
-
},
|
|
3477
|
-
"description": "Error message to display"
|
|
3478
|
-
},
|
|
3479
|
-
{
|
|
3480
|
-
"name": "tagName",
|
|
3481
|
-
"type": {
|
|
3482
|
-
"text": "string"
|
|
3483
|
-
},
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3485
|
-
}
|
|
3486
|
-
],
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3488
|
-
}
|
|
3489
|
-
],
|
|
3490
|
-
"exports": [
|
|
3491
|
-
{
|
|
3492
|
-
"kind": "js",
|
|
3493
|
-
"name": "formatValidationErrors",
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "formatValidationErrors",
|
|
3496
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "showCriteriaError",
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "showCriteriaError",
|
|
3504
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3504
|
+
"package": "./accordion"
|
|
3505
3505
|
}
|
|
3506
3506
|
}
|
|
3507
3507
|
]
|