@genesislcap/foundation-ui 14.451.2 → 14.451.3-alpha-861508d.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 +810 -810
- 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,208 +1825,275 @@
|
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1828
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1829
1829
|
"declarations": [
|
|
1830
1830
|
{
|
|
1831
|
-
"kind": "
|
|
1832
|
-
"name": "
|
|
1833
|
-
"
|
|
1831
|
+
"kind": "function",
|
|
1832
|
+
"name": "foundationAccordionStyles",
|
|
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
|
+
]
|
|
1834
1852
|
}
|
|
1835
1853
|
],
|
|
1836
1854
|
"exports": [
|
|
1837
1855
|
{
|
|
1838
1856
|
"kind": "js",
|
|
1839
|
-
"name": "
|
|
1857
|
+
"name": "foundationAccordionStyles",
|
|
1840
1858
|
"declaration": {
|
|
1841
|
-
"name": "
|
|
1842
|
-
"module": "src/
|
|
1859
|
+
"name": "foundationAccordionStyles",
|
|
1860
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1843
1861
|
}
|
|
1844
1862
|
}
|
|
1845
1863
|
]
|
|
1846
1864
|
},
|
|
1847
1865
|
{
|
|
1848
1866
|
"kind": "javascript-module",
|
|
1849
|
-
"path": "src/
|
|
1867
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1850
1868
|
"declarations": [
|
|
1851
1869
|
{
|
|
1852
|
-
"kind": "
|
|
1853
|
-
"name": "
|
|
1854
|
-
"
|
|
1855
|
-
"
|
|
1870
|
+
"kind": "function",
|
|
1871
|
+
"name": "foundationAccordionTemplate",
|
|
1872
|
+
"return": {
|
|
1873
|
+
"type": {
|
|
1874
|
+
"text": "ViewTemplate<Accordion>"
|
|
1875
|
+
}
|
|
1856
1876
|
},
|
|
1857
|
-
"
|
|
1877
|
+
"parameters": [
|
|
1878
|
+
{
|
|
1879
|
+
"name": "context",
|
|
1880
|
+
"type": {
|
|
1881
|
+
"text": "ElementDefinitionContext"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"name": "definition",
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "FoundationElementDefinition"
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1858
1891
|
}
|
|
1859
1892
|
],
|
|
1860
1893
|
"exports": [
|
|
1861
1894
|
{
|
|
1862
1895
|
"kind": "js",
|
|
1863
|
-
"name": "
|
|
1896
|
+
"name": "foundationAccordionTemplate",
|
|
1864
1897
|
"declaration": {
|
|
1865
|
-
"name": "
|
|
1866
|
-
"module": "src/
|
|
1898
|
+
"name": "foundationAccordionTemplate",
|
|
1899
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1867
1900
|
}
|
|
1868
1901
|
}
|
|
1869
1902
|
]
|
|
1870
1903
|
},
|
|
1871
1904
|
{
|
|
1872
1905
|
"kind": "javascript-module",
|
|
1873
|
-
"path": "src/
|
|
1906
|
+
"path": "src/accordion/accordion.ts",
|
|
1874
1907
|
"declarations": [
|
|
1875
1908
|
{
|
|
1876
1909
|
"kind": "class",
|
|
1877
|
-
"description": "
|
|
1878
|
-
"name": "
|
|
1879
|
-
"
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
},
|
|
1910
|
+
"description": "",
|
|
1911
|
+
"name": "Accordion",
|
|
1912
|
+
"superclass": {
|
|
1913
|
+
"name": "FASTAccordion",
|
|
1914
|
+
"package": "@microsoft/fast-foundation"
|
|
1915
|
+
},
|
|
1916
|
+
"tagName": "%%prefix%%-accordion",
|
|
1917
|
+
"customElement": true,
|
|
1918
|
+
"attributes": [
|
|
1887
1919
|
{
|
|
1888
|
-
"
|
|
1889
|
-
"name": "placeholder",
|
|
1920
|
+
"name": "expand-mode",
|
|
1890
1921
|
"type": {
|
|
1891
|
-
"text": "
|
|
1922
|
+
"text": "AccordionExpandMode"
|
|
1892
1923
|
},
|
|
1893
|
-
"
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "boolean"
|
|
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"
|
|
1900
1929
|
}
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
"name": "inputValue",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "string"
|
|
1907
|
-
},
|
|
1908
|
-
"default": "''"
|
|
1909
|
-
},
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
"members": [
|
|
1910
1933
|
{
|
|
1911
1934
|
"kind": "field",
|
|
1912
|
-
"name": "
|
|
1935
|
+
"name": "expandmode",
|
|
1913
1936
|
"type": {
|
|
1914
|
-
"text": "
|
|
1937
|
+
"text": "AccordionExpandMode"
|
|
1915
1938
|
},
|
|
1916
|
-
"
|
|
1939
|
+
"privacy": "public",
|
|
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
|
+
}
|
|
1917
1945
|
},
|
|
1918
1946
|
{
|
|
1919
1947
|
"kind": "field",
|
|
1920
|
-
"name": "
|
|
1948
|
+
"name": "activeid",
|
|
1921
1949
|
"type": {
|
|
1922
1950
|
"text": "string | null"
|
|
1923
1951
|
},
|
|
1924
|
-
"
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "CriteriaGroup[]"
|
|
1931
|
-
},
|
|
1932
|
-
"default": "[]"
|
|
1952
|
+
"privacy": "private",
|
|
1953
|
+
"inheritedFrom": {
|
|
1954
|
+
"name": "Accordion",
|
|
1955
|
+
"module": "src/accordion/accordion.ts"
|
|
1956
|
+
}
|
|
1933
1957
|
},
|
|
1934
1958
|
{
|
|
1935
1959
|
"kind": "field",
|
|
1936
|
-
"name": "
|
|
1960
|
+
"name": "activeItemIndex",
|
|
1937
1961
|
"type": {
|
|
1938
|
-
"text": "
|
|
1962
|
+
"text": "number"
|
|
1939
1963
|
},
|
|
1940
|
-
"
|
|
1964
|
+
"privacy": "private",
|
|
1965
|
+
"default": "0",
|
|
1966
|
+
"inheritedFrom": {
|
|
1967
|
+
"name": "Accordion",
|
|
1968
|
+
"module": "src/accordion/accordion.ts"
|
|
1969
|
+
}
|
|
1941
1970
|
},
|
|
1942
1971
|
{
|
|
1943
1972
|
"kind": "field",
|
|
1944
|
-
"name": "
|
|
1973
|
+
"name": "accordionIds",
|
|
1945
1974
|
"type": {
|
|
1946
|
-
"text": "
|
|
1975
|
+
"text": "Array<string | null>"
|
|
1947
1976
|
},
|
|
1948
|
-
"
|
|
1977
|
+
"privacy": "private",
|
|
1978
|
+
"inheritedFrom": {
|
|
1979
|
+
"name": "Accordion",
|
|
1980
|
+
"module": "src/accordion/accordion.ts"
|
|
1981
|
+
}
|
|
1949
1982
|
},
|
|
1950
1983
|
{
|
|
1951
1984
|
"kind": "field",
|
|
1952
|
-
"name": "
|
|
1953
|
-
"
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1985
|
+
"name": "change",
|
|
1986
|
+
"privacy": "private",
|
|
1987
|
+
"inheritedFrom": {
|
|
1988
|
+
"name": "Accordion",
|
|
1989
|
+
"module": "src/accordion/accordion.ts"
|
|
1990
|
+
}
|
|
1957
1991
|
},
|
|
1958
1992
|
{
|
|
1959
|
-
"kind": "
|
|
1960
|
-
"name": "
|
|
1961
|
-
"
|
|
1962
|
-
|
|
1993
|
+
"kind": "method",
|
|
1994
|
+
"name": "findExpandedItem",
|
|
1995
|
+
"privacy": "private",
|
|
1996
|
+
"return": {
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "AccordionItem | null"
|
|
1999
|
+
}
|
|
1963
2000
|
},
|
|
1964
|
-
"
|
|
2001
|
+
"inheritedFrom": {
|
|
2002
|
+
"name": "Accordion",
|
|
2003
|
+
"module": "src/accordion/accordion.ts"
|
|
2004
|
+
}
|
|
1965
2005
|
},
|
|
1966
2006
|
{
|
|
1967
2007
|
"kind": "field",
|
|
1968
|
-
"name": "
|
|
1969
|
-
"type": {
|
|
1970
|
-
"text": "(() => void) | null"
|
|
1971
|
-
},
|
|
2008
|
+
"name": "setItems",
|
|
1972
2009
|
"privacy": "private",
|
|
1973
|
-
"
|
|
2010
|
+
"inheritedFrom": {
|
|
2011
|
+
"name": "Accordion",
|
|
2012
|
+
"module": "src/accordion/accordion.ts"
|
|
2013
|
+
}
|
|
1974
2014
|
},
|
|
1975
2015
|
{
|
|
1976
|
-
"kind": "
|
|
1977
|
-
"name": "
|
|
1978
|
-
"type": {
|
|
1979
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
1980
|
-
},
|
|
2016
|
+
"kind": "method",
|
|
2017
|
+
"name": "resetItems",
|
|
1981
2018
|
"privacy": "private",
|
|
1982
|
-
"
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": "void"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"inheritedFrom": {
|
|
2025
|
+
"name": "Accordion",
|
|
2026
|
+
"module": "src/accordion/accordion.ts"
|
|
2027
|
+
}
|
|
1983
2028
|
},
|
|
1984
2029
|
{
|
|
1985
2030
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
1987
|
-
"
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
2031
|
+
"name": "removeItemListeners",
|
|
2032
|
+
"privacy": "private",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "Accordion",
|
|
2035
|
+
"module": "src/accordion/accordion.ts"
|
|
2036
|
+
}
|
|
1991
2037
|
},
|
|
1992
2038
|
{
|
|
1993
2039
|
"kind": "field",
|
|
1994
|
-
"name": "
|
|
1995
|
-
"
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
2040
|
+
"name": "activeItemChange",
|
|
2041
|
+
"privacy": "private",
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "Accordion",
|
|
2044
|
+
"module": "src/accordion/accordion.ts"
|
|
2045
|
+
}
|
|
1999
2046
|
},
|
|
2000
2047
|
{
|
|
2001
2048
|
"kind": "method",
|
|
2002
|
-
"name": "
|
|
2049
|
+
"name": "getItemIds",
|
|
2003
2050
|
"privacy": "private",
|
|
2004
2051
|
"return": {
|
|
2005
2052
|
"type": {
|
|
2006
|
-
"text": "string"
|
|
2053
|
+
"text": "Array<string | null>"
|
|
2007
2054
|
}
|
|
2008
2055
|
},
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
"text": "string"
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
]
|
|
2056
|
+
"inheritedFrom": {
|
|
2057
|
+
"name": "Accordion",
|
|
2058
|
+
"module": "src/accordion/accordion.ts"
|
|
2059
|
+
}
|
|
2017
2060
|
},
|
|
2018
2061
|
{
|
|
2019
2062
|
"kind": "method",
|
|
2020
|
-
"name": "
|
|
2063
|
+
"name": "isSingleExpandMode",
|
|
2064
|
+
"privacy": "private",
|
|
2021
2065
|
"return": {
|
|
2022
2066
|
"type": {
|
|
2023
|
-
"text": "
|
|
2067
|
+
"text": "boolean"
|
|
2024
2068
|
}
|
|
2069
|
+
},
|
|
2070
|
+
"inheritedFrom": {
|
|
2071
|
+
"name": "Accordion",
|
|
2072
|
+
"module": "src/accordion/accordion.ts"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"kind": "field",
|
|
2077
|
+
"name": "handleItemKeyDown",
|
|
2078
|
+
"privacy": "private",
|
|
2079
|
+
"inheritedFrom": {
|
|
2080
|
+
"name": "Accordion",
|
|
2081
|
+
"module": "src/accordion/accordion.ts"
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "field",
|
|
2086
|
+
"name": "handleItemFocus",
|
|
2087
|
+
"privacy": "private",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "Accordion",
|
|
2090
|
+
"module": "src/accordion/accordion.ts"
|
|
2025
2091
|
}
|
|
2026
2092
|
},
|
|
2027
2093
|
{
|
|
2028
2094
|
"kind": "method",
|
|
2029
|
-
"name": "
|
|
2095
|
+
"name": "adjust",
|
|
2096
|
+
"privacy": "private",
|
|
2030
2097
|
"return": {
|
|
2031
2098
|
"type": {
|
|
2032
2099
|
"text": "void"
|
|
@@ -2034,49 +2101,31 @@
|
|
|
2034
2101
|
},
|
|
2035
2102
|
"parameters": [
|
|
2036
2103
|
{
|
|
2037
|
-
"name": "
|
|
2038
|
-
"type": {
|
|
2039
|
-
"text": "number"
|
|
2040
|
-
}
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
"name": "clauseIndex",
|
|
2104
|
+
"name": "adjustment",
|
|
2044
2105
|
"type": {
|
|
2045
2106
|
"text": "number"
|
|
2046
2107
|
}
|
|
2047
2108
|
}
|
|
2048
|
-
]
|
|
2109
|
+
],
|
|
2110
|
+
"inheritedFrom": {
|
|
2111
|
+
"name": "Accordion",
|
|
2112
|
+
"module": "src/accordion/accordion.ts"
|
|
2113
|
+
}
|
|
2049
2114
|
},
|
|
2050
2115
|
{
|
|
2051
2116
|
"kind": "method",
|
|
2052
|
-
"name": "
|
|
2117
|
+
"name": "focusItem",
|
|
2118
|
+
"privacy": "private",
|
|
2053
2119
|
"return": {
|
|
2054
2120
|
"type": {
|
|
2055
2121
|
"text": "void"
|
|
2056
2122
|
}
|
|
2123
|
+
},
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "Accordion",
|
|
2126
|
+
"module": "src/accordion/accordion.ts"
|
|
2057
2127
|
}
|
|
2058
2128
|
},
|
|
2059
|
-
{
|
|
2060
|
-
"kind": "method",
|
|
2061
|
-
"name": "handleSubmit"
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "method",
|
|
2065
|
-
"name": "handleBlur"
|
|
2066
|
-
},
|
|
2067
|
-
{
|
|
2068
|
-
"kind": "method",
|
|
2069
|
-
"name": "clear"
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "method",
|
|
2073
|
-
"name": "toggleSpeechInput"
|
|
2074
|
-
},
|
|
2075
|
-
{
|
|
2076
|
-
"kind": "method",
|
|
2077
|
-
"name": "clearSpeechApplyDebounce",
|
|
2078
|
-
"privacy": "private"
|
|
2079
|
-
},
|
|
2080
2129
|
{
|
|
2081
2130
|
"kind": "field",
|
|
2082
2131
|
"name": "_presentation",
|
|
@@ -2191,48 +2240,26 @@
|
|
|
2191
2240
|
],
|
|
2192
2241
|
"events": [
|
|
2193
2242
|
{
|
|
2194
|
-
"description": "
|
|
2195
|
-
"name": "
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
}
|
|
2201
|
-
],
|
|
2202
|
-
"attributes": [
|
|
2203
|
-
{
|
|
2204
|
-
"name": "placeholder",
|
|
2205
|
-
"type": {
|
|
2206
|
-
"text": "string"
|
|
2207
|
-
},
|
|
2208
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2209
|
-
"fieldName": "placeholder"
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
"type": {
|
|
2213
|
-
"text": "boolean"
|
|
2214
|
-
},
|
|
2215
|
-
"fieldName": "disabled"
|
|
2243
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2244
|
+
"name": "change",
|
|
2245
|
+
"inheritedFrom": {
|
|
2246
|
+
"name": "Accordion",
|
|
2247
|
+
"module": "src/accordion/accordion.ts"
|
|
2248
|
+
}
|
|
2216
2249
|
}
|
|
2217
|
-
]
|
|
2218
|
-
"superclass": {
|
|
2219
|
-
"name": "FoundationElement",
|
|
2220
|
-
"package": "@microsoft/fast-foundation"
|
|
2221
|
-
},
|
|
2222
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2223
|
-
"customElement": true
|
|
2250
|
+
]
|
|
2224
2251
|
},
|
|
2225
2252
|
{
|
|
2226
2253
|
"kind": "variable",
|
|
2227
|
-
"name": "
|
|
2254
|
+
"name": "foundationAccordionShadowOptions",
|
|
2228
2255
|
"type": {
|
|
2229
2256
|
"text": "ShadowRootInit"
|
|
2230
2257
|
},
|
|
2231
|
-
"default": "
|
|
2258
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2232
2259
|
},
|
|
2233
2260
|
{
|
|
2234
2261
|
"kind": "variable",
|
|
2235
|
-
"name": "
|
|
2262
|
+
"name": "defaultAccordionConfig",
|
|
2236
2263
|
"type": {
|
|
2237
2264
|
"text": "object"
|
|
2238
2265
|
},
|
|
@@ -2240,111 +2267,57 @@
|
|
|
2240
2267
|
},
|
|
2241
2268
|
{
|
|
2242
2269
|
"kind": "variable",
|
|
2243
|
-
"name": "
|
|
2270
|
+
"name": "foundationAccordion",
|
|
2271
|
+
"description": "The Foundation Accordion",
|
|
2272
|
+
"privacy": "public"
|
|
2244
2273
|
}
|
|
2245
2274
|
],
|
|
2246
2275
|
"exports": [
|
|
2247
2276
|
{
|
|
2248
2277
|
"kind": "js",
|
|
2249
|
-
"name": "
|
|
2278
|
+
"name": "Accordion",
|
|
2250
2279
|
"declaration": {
|
|
2251
|
-
"name": "
|
|
2252
|
-
"module": "src/
|
|
2280
|
+
"name": "Accordion",
|
|
2281
|
+
"module": "src/accordion/accordion.ts"
|
|
2253
2282
|
}
|
|
2254
2283
|
},
|
|
2255
2284
|
{
|
|
2256
2285
|
"kind": "js",
|
|
2257
|
-
"name": "
|
|
2286
|
+
"name": "foundationAccordionShadowOptions",
|
|
2258
2287
|
"declaration": {
|
|
2259
|
-
"name": "
|
|
2260
|
-
"module": "src/
|
|
2288
|
+
"name": "foundationAccordionShadowOptions",
|
|
2289
|
+
"module": "src/accordion/accordion.ts"
|
|
2261
2290
|
}
|
|
2262
2291
|
},
|
|
2263
2292
|
{
|
|
2264
2293
|
"kind": "js",
|
|
2265
|
-
"name": "
|
|
2294
|
+
"name": "defaultAccordionConfig",
|
|
2266
2295
|
"declaration": {
|
|
2267
|
-
"name": "
|
|
2268
|
-
"module": "src/
|
|
2296
|
+
"name": "defaultAccordionConfig",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2269
2298
|
}
|
|
2270
2299
|
},
|
|
2271
2300
|
{
|
|
2272
2301
|
"kind": "js",
|
|
2273
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordion",
|
|
2274
2303
|
"declaration": {
|
|
2275
|
-
"name": "
|
|
2276
|
-
"module": "src/
|
|
2304
|
+
"name": "foundationAccordion",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2277
2306
|
}
|
|
2278
2307
|
}
|
|
2279
2308
|
]
|
|
2280
2309
|
},
|
|
2281
2310
|
{
|
|
2282
2311
|
"kind": "javascript-module",
|
|
2283
|
-
"path": "src/
|
|
2312
|
+
"path": "src/accordion/index.ts",
|
|
2284
2313
|
"declarations": [],
|
|
2285
2314
|
"exports": [
|
|
2286
|
-
{
|
|
2287
|
-
"kind": "js",
|
|
2288
|
-
"name": "AiCriteriaSearch",
|
|
2289
|
-
"declaration": {
|
|
2290
|
-
"name": "AiCriteriaSearch",
|
|
2291
|
-
"module": "./ai-criteria-search"
|
|
2292
|
-
}
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"kind": "js",
|
|
2296
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2297
|
-
"declaration": {
|
|
2298
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2299
|
-
"module": "./ai-criteria-search"
|
|
2300
|
-
}
|
|
2301
|
-
},
|
|
2302
|
-
{
|
|
2303
|
-
"kind": "js",
|
|
2304
|
-
"name": "foundationAiCriteriaSearch",
|
|
2305
|
-
"declaration": {
|
|
2306
|
-
"name": "foundationAiCriteriaSearch",
|
|
2307
|
-
"module": "./ai-criteria-search"
|
|
2308
|
-
}
|
|
2309
|
-
},
|
|
2310
|
-
{
|
|
2311
|
-
"kind": "js",
|
|
2312
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2313
|
-
"declaration": {
|
|
2314
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2315
|
-
"module": "./ai-criteria-search"
|
|
2316
|
-
}
|
|
2317
|
-
},
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "js",
|
|
2320
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2321
|
-
"declaration": {
|
|
2322
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2323
|
-
"module": "./ai-criteria-search.styles"
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
{
|
|
2327
|
-
"kind": "js",
|
|
2328
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2329
|
-
"declaration": {
|
|
2330
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2331
|
-
"module": "./ai-criteria-search.template"
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
2315
|
{
|
|
2335
2316
|
"kind": "js",
|
|
2336
2317
|
"name": "*",
|
|
2337
2318
|
"declaration": {
|
|
2338
2319
|
"name": "*",
|
|
2339
|
-
"package": "./
|
|
2340
|
-
}
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "js",
|
|
2344
|
-
"name": "*",
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "*",
|
|
2347
|
-
"package": "./validation/operator-map"
|
|
2320
|
+
"package": "./accordion.template"
|
|
2348
2321
|
}
|
|
2349
2322
|
},
|
|
2350
2323
|
{
|
|
@@ -2352,285 +2325,130 @@
|
|
|
2352
2325
|
"name": "*",
|
|
2353
2326
|
"declaration": {
|
|
2354
2327
|
"name": "*",
|
|
2355
|
-
"package": "./
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
]
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"kind": "javascript-module",
|
|
2362
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2363
|
-
"declarations": [
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "function",
|
|
2366
|
-
"name": "formatValidationErrors",
|
|
2367
|
-
"return": {
|
|
2368
|
-
"type": {
|
|
2369
|
-
"text": "string"
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
"parameters": [
|
|
2373
|
-
{
|
|
2374
|
-
"name": "errors",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "ValidationError[]"
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
],
|
|
2380
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"kind": "function",
|
|
2384
|
-
"name": "showCriteriaError",
|
|
2385
|
-
"return": {
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "void"
|
|
2388
|
-
}
|
|
2389
|
-
},
|
|
2390
|
-
"parameters": [
|
|
2391
|
-
{
|
|
2392
|
-
"name": "title",
|
|
2393
|
-
"type": {
|
|
2394
|
-
"text": "string"
|
|
2395
|
-
},
|
|
2396
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
"name": "body",
|
|
2400
|
-
"type": {
|
|
2401
|
-
"text": "string"
|
|
2402
|
-
},
|
|
2403
|
-
"description": "Error message to display"
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"name": "tagName",
|
|
2407
|
-
"type": {
|
|
2408
|
-
"text": "string"
|
|
2409
|
-
},
|
|
2410
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2411
|
-
}
|
|
2412
|
-
],
|
|
2413
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2414
|
-
}
|
|
2415
|
-
],
|
|
2416
|
-
"exports": [
|
|
2417
|
-
{
|
|
2418
|
-
"kind": "js",
|
|
2419
|
-
"name": "formatValidationErrors",
|
|
2420
|
-
"declaration": {
|
|
2421
|
-
"name": "formatValidationErrors",
|
|
2422
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
{
|
|
2426
|
-
"kind": "js",
|
|
2427
|
-
"name": "showCriteriaError",
|
|
2428
|
-
"declaration": {
|
|
2429
|
-
"name": "showCriteriaError",
|
|
2430
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
]
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "javascript-module",
|
|
2437
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2438
|
-
"declarations": [
|
|
2439
|
-
{
|
|
2440
|
-
"kind": "function",
|
|
2441
|
-
"name": "actionsMenuBaseStyles",
|
|
2442
|
-
"return": {
|
|
2443
|
-
"type": {
|
|
2444
|
-
"text": "ElementStyles"
|
|
2445
|
-
}
|
|
2446
|
-
},
|
|
2447
|
-
"parameters": [
|
|
2448
|
-
{
|
|
2449
|
-
"name": "context",
|
|
2450
|
-
"type": {
|
|
2451
|
-
"text": "ElementDefinitionContext"
|
|
2452
|
-
}
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"name": "definition",
|
|
2456
|
-
"type": {
|
|
2457
|
-
"text": "FoundationElementDefinition"
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
2460
|
-
]
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"kind": "function",
|
|
2464
|
-
"name": "foundationActionsMenuStyles",
|
|
2465
|
-
"return": {
|
|
2466
|
-
"type": {
|
|
2467
|
-
"text": "ElementStyles"
|
|
2468
|
-
}
|
|
2469
|
-
},
|
|
2470
|
-
"parameters": [
|
|
2471
|
-
{
|
|
2472
|
-
"name": "context",
|
|
2473
|
-
"type": {
|
|
2474
|
-
"text": "ElementDefinitionContext"
|
|
2475
|
-
}
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"name": "definition",
|
|
2479
|
-
"type": {
|
|
2480
|
-
"text": "FoundationElementDefinition"
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
]
|
|
2484
|
-
}
|
|
2485
|
-
],
|
|
2486
|
-
"exports": [
|
|
2487
|
-
{
|
|
2488
|
-
"kind": "js",
|
|
2489
|
-
"name": "actionsMenuBaseStyles",
|
|
2490
|
-
"declaration": {
|
|
2491
|
-
"name": "actionsMenuBaseStyles",
|
|
2492
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2328
|
+
"package": "./accordion.styles"
|
|
2493
2329
|
}
|
|
2494
2330
|
},
|
|
2495
2331
|
{
|
|
2496
2332
|
"kind": "js",
|
|
2497
|
-
"name": "
|
|
2333
|
+
"name": "*",
|
|
2498
2334
|
"declaration": {
|
|
2499
|
-
"name": "
|
|
2500
|
-
"
|
|
2335
|
+
"name": "*",
|
|
2336
|
+
"package": "./accordion"
|
|
2501
2337
|
}
|
|
2502
2338
|
}
|
|
2503
2339
|
]
|
|
2504
2340
|
},
|
|
2505
2341
|
{
|
|
2506
2342
|
"kind": "javascript-module",
|
|
2507
|
-
"path": "src/
|
|
2343
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2508
2344
|
"declarations": [
|
|
2509
|
-
{
|
|
2510
|
-
"kind": "function",
|
|
2511
|
-
"name": "menuTemplate",
|
|
2512
|
-
"parameters": [
|
|
2513
|
-
{
|
|
2514
|
-
"name": "prefix",
|
|
2515
|
-
"type": {
|
|
2516
|
-
"text": "string"
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
"kind": "function",
|
|
2523
|
-
"name": "singleOptionTemplate",
|
|
2524
|
-
"parameters": [
|
|
2525
|
-
{
|
|
2526
|
-
"name": "prefix",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
}
|
|
2530
|
-
}
|
|
2531
|
-
]
|
|
2532
|
-
},
|
|
2533
2345
|
{
|
|
2534
2346
|
"kind": "variable",
|
|
2535
|
-
"name": "
|
|
2536
|
-
"
|
|
2537
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2538
|
-
},
|
|
2539
|
-
"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`"
|
|
2347
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2348
|
+
"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`"
|
|
2540
2349
|
}
|
|
2541
2350
|
],
|
|
2542
2351
|
"exports": [
|
|
2543
2352
|
{
|
|
2544
2353
|
"kind": "js",
|
|
2545
|
-
"name": "
|
|
2354
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2546
2355
|
"declaration": {
|
|
2547
|
-
"name": "
|
|
2548
|
-
"module": "src/
|
|
2356
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2357
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2549
2358
|
}
|
|
2550
|
-
}
|
|
2359
|
+
}
|
|
2360
|
+
]
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"kind": "javascript-module",
|
|
2364
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2365
|
+
"declarations": [
|
|
2551
2366
|
{
|
|
2552
|
-
"kind": "
|
|
2553
|
-
"name": "
|
|
2554
|
-
"
|
|
2555
|
-
"
|
|
2556
|
-
|
|
2557
|
-
}
|
|
2558
|
-
}
|
|
2367
|
+
"kind": "variable",
|
|
2368
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2371
|
+
},
|
|
2372
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2373
|
+
}
|
|
2374
|
+
],
|
|
2375
|
+
"exports": [
|
|
2559
2376
|
{
|
|
2560
2377
|
"kind": "js",
|
|
2561
|
-
"name": "
|
|
2378
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2562
2379
|
"declaration": {
|
|
2563
|
-
"name": "
|
|
2564
|
-
"module": "src/
|
|
2380
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2381
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2565
2382
|
}
|
|
2566
2383
|
}
|
|
2567
2384
|
]
|
|
2568
2385
|
},
|
|
2569
2386
|
{
|
|
2570
2387
|
"kind": "javascript-module",
|
|
2571
|
-
"path": "src/
|
|
2388
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2572
2389
|
"declarations": [
|
|
2573
2390
|
{
|
|
2574
2391
|
"kind": "class",
|
|
2575
|
-
"description": "",
|
|
2576
|
-
"name": "
|
|
2392
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2393
|
+
"name": "AiCriteriaSearch",
|
|
2577
2394
|
"members": [
|
|
2578
2395
|
{
|
|
2579
2396
|
"kind": "field",
|
|
2580
|
-
"name": "
|
|
2397
|
+
"name": "providerRegistry",
|
|
2581
2398
|
"type": {
|
|
2582
|
-
"text": "
|
|
2399
|
+
"text": "AIProviderRegistry"
|
|
2583
2400
|
}
|
|
2584
2401
|
},
|
|
2585
2402
|
{
|
|
2586
2403
|
"kind": "field",
|
|
2587
|
-
"name": "
|
|
2404
|
+
"name": "placeholder",
|
|
2588
2405
|
"type": {
|
|
2589
|
-
"text": "
|
|
2406
|
+
"text": "string"
|
|
2590
2407
|
},
|
|
2591
|
-
"default": "
|
|
2408
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2592
2409
|
},
|
|
2593
2410
|
{
|
|
2594
2411
|
"kind": "field",
|
|
2595
|
-
"name": "
|
|
2412
|
+
"name": "disabled",
|
|
2596
2413
|
"type": {
|
|
2597
2414
|
"text": "boolean"
|
|
2598
|
-
}
|
|
2599
|
-
"default": "true"
|
|
2415
|
+
}
|
|
2600
2416
|
},
|
|
2601
2417
|
{
|
|
2602
2418
|
"kind": "field",
|
|
2603
|
-
"name": "
|
|
2419
|
+
"name": "inputValue",
|
|
2604
2420
|
"type": {
|
|
2605
|
-
"text": "
|
|
2421
|
+
"text": "string"
|
|
2606
2422
|
},
|
|
2607
|
-
"default": "
|
|
2423
|
+
"default": "''"
|
|
2608
2424
|
},
|
|
2609
2425
|
{
|
|
2610
2426
|
"kind": "field",
|
|
2611
|
-
"name": "
|
|
2427
|
+
"name": "isInterpreting",
|
|
2612
2428
|
"type": {
|
|
2613
|
-
"text": "
|
|
2614
|
-
}
|
|
2429
|
+
"text": "boolean"
|
|
2430
|
+
},
|
|
2431
|
+
"default": "false"
|
|
2615
2432
|
},
|
|
2616
2433
|
{
|
|
2617
2434
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2435
|
+
"name": "lastValidCriteria",
|
|
2619
2436
|
"type": {
|
|
2620
|
-
"text": "
|
|
2621
|
-
}
|
|
2437
|
+
"text": "string | null"
|
|
2438
|
+
},
|
|
2439
|
+
"default": "null"
|
|
2622
2440
|
},
|
|
2623
2441
|
{
|
|
2624
2442
|
"kind": "field",
|
|
2625
|
-
"name": "
|
|
2443
|
+
"name": "activeGroups",
|
|
2626
2444
|
"type": {
|
|
2627
|
-
"text": "
|
|
2445
|
+
"text": "CriteriaGroup[]"
|
|
2628
2446
|
},
|
|
2629
|
-
"default": "
|
|
2447
|
+
"default": "[]"
|
|
2630
2448
|
},
|
|
2631
2449
|
{
|
|
2632
2450
|
"kind": "field",
|
|
2633
|
-
"name": "
|
|
2451
|
+
"name": "showingChips",
|
|
2634
2452
|
"type": {
|
|
2635
2453
|
"text": "boolean"
|
|
2636
2454
|
},
|
|
@@ -2638,14 +2456,15 @@
|
|
|
2638
2456
|
},
|
|
2639
2457
|
{
|
|
2640
2458
|
"kind": "field",
|
|
2641
|
-
"name": "
|
|
2459
|
+
"name": "fieldMetadata",
|
|
2642
2460
|
"type": {
|
|
2643
|
-
"text": "string"
|
|
2644
|
-
}
|
|
2461
|
+
"text": "MetadataDetail[] | string[]"
|
|
2462
|
+
},
|
|
2463
|
+
"default": "[]"
|
|
2645
2464
|
},
|
|
2646
2465
|
{
|
|
2647
2466
|
"kind": "field",
|
|
2648
|
-
"name": "
|
|
2467
|
+
"name": "isRecording",
|
|
2649
2468
|
"type": {
|
|
2650
2469
|
"text": "boolean"
|
|
2651
2470
|
},
|
|
@@ -2653,102 +2472,125 @@
|
|
|
2653
2472
|
},
|
|
2654
2473
|
{
|
|
2655
2474
|
"kind": "field",
|
|
2656
|
-
"name": "
|
|
2475
|
+
"name": "textAreaRef",
|
|
2657
2476
|
"type": {
|
|
2658
|
-
"text": "
|
|
2477
|
+
"text": "HTMLTextAreaElement"
|
|
2659
2478
|
},
|
|
2660
|
-
"
|
|
2479
|
+
"privacy": "public"
|
|
2661
2480
|
},
|
|
2662
2481
|
{
|
|
2663
2482
|
"kind": "field",
|
|
2664
|
-
"name": "
|
|
2483
|
+
"name": "stopRecording",
|
|
2665
2484
|
"type": {
|
|
2666
|
-
"text": "
|
|
2667
|
-
}
|
|
2485
|
+
"text": "(() => void) | null"
|
|
2486
|
+
},
|
|
2487
|
+
"privacy": "private",
|
|
2488
|
+
"default": "null"
|
|
2668
2489
|
},
|
|
2669
2490
|
{
|
|
2670
2491
|
"kind": "field",
|
|
2671
|
-
"name": "
|
|
2492
|
+
"name": "speechApplyDebounceTimer",
|
|
2672
2493
|
"type": {
|
|
2673
|
-
"text": "
|
|
2674
|
-
}
|
|
2494
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2495
|
+
},
|
|
2496
|
+
"privacy": "private",
|
|
2497
|
+
"default": "null"
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "field",
|
|
2501
|
+
"name": "speechAvailable",
|
|
2502
|
+
"type": {
|
|
2503
|
+
"text": "boolean"
|
|
2504
|
+
},
|
|
2505
|
+
"readonly": true
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "field",
|
|
2509
|
+
"name": "criteriaChips",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "CriteriaChip[]"
|
|
2512
|
+
},
|
|
2513
|
+
"readonly": true
|
|
2675
2514
|
},
|
|
2676
2515
|
{
|
|
2677
2516
|
"kind": "method",
|
|
2678
|
-
"name": "
|
|
2679
|
-
"privacy": "
|
|
2517
|
+
"name": "getFieldLabel",
|
|
2518
|
+
"privacy": "private",
|
|
2519
|
+
"return": {
|
|
2520
|
+
"type": {
|
|
2521
|
+
"text": "string"
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2680
2524
|
"parameters": [
|
|
2681
2525
|
{
|
|
2682
|
-
"name": "
|
|
2683
|
-
"type": {
|
|
2684
|
-
"text": "any"
|
|
2685
|
-
}
|
|
2686
|
-
},
|
|
2687
|
-
{
|
|
2688
|
-
"name": "newValue",
|
|
2526
|
+
"name": "fieldName",
|
|
2689
2527
|
"type": {
|
|
2690
|
-
"text": "
|
|
2528
|
+
"text": "string"
|
|
2691
2529
|
}
|
|
2692
2530
|
}
|
|
2693
2531
|
]
|
|
2694
2532
|
},
|
|
2695
2533
|
{
|
|
2696
2534
|
"kind": "method",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2535
|
+
"name": "toggleCriteriaView",
|
|
2536
|
+
"return": {
|
|
2537
|
+
"type": {
|
|
2538
|
+
"text": "void"
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2703
2541
|
},
|
|
2704
2542
|
{
|
|
2705
2543
|
"kind": "method",
|
|
2706
|
-
"name": "
|
|
2544
|
+
"name": "removeChip",
|
|
2545
|
+
"return": {
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "void"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2707
2550
|
"parameters": [
|
|
2708
2551
|
{
|
|
2709
|
-
"name": "
|
|
2552
|
+
"name": "groupIndex",
|
|
2710
2553
|
"type": {
|
|
2711
|
-
"text": "
|
|
2554
|
+
"text": "number"
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"name": "clauseIndex",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "number"
|
|
2712
2561
|
}
|
|
2713
2562
|
}
|
|
2714
2563
|
]
|
|
2715
2564
|
},
|
|
2716
2565
|
{
|
|
2717
|
-
"kind": "
|
|
2718
|
-
"name": "
|
|
2719
|
-
"
|
|
2720
|
-
"
|
|
2721
|
-
|
|
2722
|
-
|
|
2566
|
+
"kind": "method",
|
|
2567
|
+
"name": "clearChips",
|
|
2568
|
+
"return": {
|
|
2569
|
+
"type": {
|
|
2570
|
+
"text": "void"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2723
2573
|
},
|
|
2724
2574
|
{
|
|
2725
|
-
"kind": "
|
|
2726
|
-
"name": "
|
|
2727
|
-
"readonly": true
|
|
2575
|
+
"kind": "method",
|
|
2576
|
+
"name": "handleSubmit"
|
|
2728
2577
|
},
|
|
2729
2578
|
{
|
|
2730
2579
|
"kind": "method",
|
|
2731
|
-
"name": "
|
|
2732
|
-
"parameters": [
|
|
2733
|
-
{
|
|
2734
|
-
"name": "name",
|
|
2735
|
-
"type": {
|
|
2736
|
-
"text": "string | ((rowData: any) => string)"
|
|
2737
|
-
}
|
|
2738
|
-
}
|
|
2739
|
-
]
|
|
2580
|
+
"name": "handleBlur"
|
|
2740
2581
|
},
|
|
2741
2582
|
{
|
|
2742
2583
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2584
|
+
"name": "clear"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"kind": "method",
|
|
2588
|
+
"name": "toggleSpeechInput"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "clearSpeechApplyDebounce",
|
|
2593
|
+
"privacy": "private"
|
|
2752
2594
|
},
|
|
2753
2595
|
{
|
|
2754
2596
|
"kind": "field",
|
|
@@ -2862,142 +2704,279 @@
|
|
|
2862
2704
|
}
|
|
2863
2705
|
}
|
|
2864
2706
|
],
|
|
2865
|
-
"
|
|
2866
|
-
{
|
|
2867
|
-
"name": "is-vertical",
|
|
2868
|
-
"type": {
|
|
2869
|
-
"text": "boolean"
|
|
2870
|
-
},
|
|
2871
|
-
"default": "false",
|
|
2872
|
-
"fieldName": "isVertical"
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"name": "add-default-actions",
|
|
2876
|
-
"type": {
|
|
2877
|
-
"text": "boolean"
|
|
2878
|
-
},
|
|
2879
|
-
"default": "true",
|
|
2880
|
-
"fieldName": "addDefaultActions"
|
|
2881
|
-
},
|
|
2882
|
-
{
|
|
2883
|
-
"name": "auto-close-on-action",
|
|
2884
|
-
"type": {
|
|
2885
|
-
"text": "boolean"
|
|
2886
|
-
},
|
|
2887
|
-
"default": "true",
|
|
2888
|
-
"fieldName": "autoCloseOnAction"
|
|
2889
|
-
},
|
|
2707
|
+
"events": [
|
|
2890
2708
|
{
|
|
2891
|
-
"
|
|
2892
|
-
"
|
|
2893
|
-
"text": "string"
|
|
2894
|
-
},
|
|
2895
|
-
"default": "'Actions'",
|
|
2896
|
-
"fieldName": "name"
|
|
2709
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2710
|
+
"name": "criteria-changed"
|
|
2897
2711
|
},
|
|
2898
2712
|
{
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
"fieldName": "open"
|
|
2905
|
-
},
|
|
2713
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2714
|
+
"name": "validation-errors"
|
|
2715
|
+
}
|
|
2716
|
+
],
|
|
2717
|
+
"attributes": [
|
|
2906
2718
|
{
|
|
2907
|
-
"name": "
|
|
2719
|
+
"name": "placeholder",
|
|
2908
2720
|
"type": {
|
|
2909
2721
|
"text": "string"
|
|
2910
2722
|
},
|
|
2911
|
-
"
|
|
2912
|
-
|
|
2913
|
-
{
|
|
2914
|
-
"name": "hide-disabled",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "boolean"
|
|
2917
|
-
},
|
|
2918
|
-
"default": "false",
|
|
2919
|
-
"fieldName": "hideDisabled"
|
|
2723
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2724
|
+
"fieldName": "placeholder"
|
|
2920
2725
|
},
|
|
2921
2726
|
{
|
|
2922
|
-
"name": "hide-menu-single-option",
|
|
2923
2727
|
"type": {
|
|
2924
2728
|
"text": "boolean"
|
|
2925
2729
|
},
|
|
2926
|
-
"
|
|
2927
|
-
"fieldName": "hideMenuSingleOption"
|
|
2730
|
+
"fieldName": "disabled"
|
|
2928
2731
|
}
|
|
2929
2732
|
],
|
|
2930
2733
|
"superclass": {
|
|
2931
2734
|
"name": "FoundationElement",
|
|
2932
2735
|
"package": "@microsoft/fast-foundation"
|
|
2933
2736
|
},
|
|
2934
|
-
"tagName": "%%prefix%%-
|
|
2737
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2935
2738
|
"customElement": true
|
|
2936
2739
|
},
|
|
2937
2740
|
{
|
|
2938
2741
|
"kind": "variable",
|
|
2939
|
-
"name": "
|
|
2940
|
-
"
|
|
2941
|
-
|
|
2742
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "ShadowRootInit"
|
|
2745
|
+
},
|
|
2746
|
+
"default": "undefined"
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"kind": "variable",
|
|
2750
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "object"
|
|
2753
|
+
},
|
|
2754
|
+
"default": "{}"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "variable",
|
|
2758
|
+
"name": "foundationAiCriteriaSearch"
|
|
2942
2759
|
}
|
|
2943
2760
|
],
|
|
2944
2761
|
"exports": [
|
|
2945
2762
|
{
|
|
2946
2763
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2764
|
+
"name": "AiCriteriaSearch",
|
|
2948
2765
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"module": "src/
|
|
2766
|
+
"name": "AiCriteriaSearch",
|
|
2767
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2951
2768
|
}
|
|
2952
2769
|
},
|
|
2953
2770
|
{
|
|
2954
2771
|
"kind": "js",
|
|
2955
|
-
"name": "
|
|
2772
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2956
2773
|
"declaration": {
|
|
2957
|
-
"name": "
|
|
2958
|
-
"module": "src/
|
|
2774
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "js",
|
|
2780
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2781
|
+
"declaration": {
|
|
2782
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "js",
|
|
2788
|
+
"name": "foundationAiCriteriaSearch",
|
|
2789
|
+
"declaration": {
|
|
2790
|
+
"name": "foundationAiCriteriaSearch",
|
|
2791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
]
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "javascript-module",
|
|
2798
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2799
|
+
"declarations": [],
|
|
2800
|
+
"exports": [
|
|
2801
|
+
{
|
|
2802
|
+
"kind": "js",
|
|
2803
|
+
"name": "AiCriteriaSearch",
|
|
2804
|
+
"declaration": {
|
|
2805
|
+
"name": "AiCriteriaSearch",
|
|
2806
|
+
"module": "./ai-criteria-search"
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"kind": "js",
|
|
2811
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2812
|
+
"declaration": {
|
|
2813
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2814
|
+
"module": "./ai-criteria-search"
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"kind": "js",
|
|
2819
|
+
"name": "foundationAiCriteriaSearch",
|
|
2820
|
+
"declaration": {
|
|
2821
|
+
"name": "foundationAiCriteriaSearch",
|
|
2822
|
+
"module": "./ai-criteria-search"
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"kind": "js",
|
|
2827
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
+
"declaration": {
|
|
2829
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
+
"module": "./ai-criteria-search"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "js",
|
|
2835
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2836
|
+
"declaration": {
|
|
2837
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
+
"module": "./ai-criteria-search.styles"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"kind": "js",
|
|
2843
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
+
"declaration": {
|
|
2845
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
+
"module": "./ai-criteria-search.template"
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"kind": "js",
|
|
2851
|
+
"name": "*",
|
|
2852
|
+
"declaration": {
|
|
2853
|
+
"name": "*",
|
|
2854
|
+
"package": "./validation/criteria-ir"
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "js",
|
|
2859
|
+
"name": "*",
|
|
2860
|
+
"declaration": {
|
|
2861
|
+
"name": "*",
|
|
2862
|
+
"package": "./validation/operator-map"
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"kind": "js",
|
|
2867
|
+
"name": "*",
|
|
2868
|
+
"declaration": {
|
|
2869
|
+
"name": "*",
|
|
2870
|
+
"package": "./validation/schema-validator"
|
|
2959
2871
|
}
|
|
2960
2872
|
}
|
|
2961
|
-
]
|
|
2962
|
-
},
|
|
2963
|
-
{
|
|
2964
|
-
"kind": "javascript-module",
|
|
2965
|
-
"path": "src/
|
|
2966
|
-
"declarations": [
|
|
2873
|
+
]
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"kind": "javascript-module",
|
|
2877
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2878
|
+
"declarations": [
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "function",
|
|
2881
|
+
"name": "formatValidationErrors",
|
|
2882
|
+
"return": {
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "string"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"parameters": [
|
|
2888
|
+
{
|
|
2889
|
+
"name": "errors",
|
|
2890
|
+
"type": {
|
|
2891
|
+
"text": "ValidationError[]"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "function",
|
|
2899
|
+
"name": "showCriteriaError",
|
|
2900
|
+
"return": {
|
|
2901
|
+
"type": {
|
|
2902
|
+
"text": "void"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
"parameters": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "title",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "body",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "string"
|
|
2917
|
+
},
|
|
2918
|
+
"description": "Error message to display"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"name": "tagName",
|
|
2922
|
+
"type": {
|
|
2923
|
+
"text": "string"
|
|
2924
|
+
},
|
|
2925
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
+
}
|
|
2927
|
+
],
|
|
2928
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2929
|
+
}
|
|
2930
|
+
],
|
|
2967
2931
|
"exports": [
|
|
2968
2932
|
{
|
|
2969
2933
|
"kind": "js",
|
|
2970
|
-
"name": "
|
|
2971
|
-
"declaration": {
|
|
2972
|
-
"name": "*",
|
|
2973
|
-
"package": "./actions-menu.styles"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "*",
|
|
2934
|
+
"name": "formatValidationErrors",
|
|
2979
2935
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"
|
|
2936
|
+
"name": "formatValidationErrors",
|
|
2937
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2982
2938
|
}
|
|
2983
2939
|
},
|
|
2984
2940
|
{
|
|
2985
2941
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2942
|
+
"name": "showCriteriaError",
|
|
2987
2943
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"
|
|
2944
|
+
"name": "showCriteriaError",
|
|
2945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2990
2946
|
}
|
|
2991
2947
|
}
|
|
2992
2948
|
]
|
|
2993
2949
|
},
|
|
2994
2950
|
{
|
|
2995
2951
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/
|
|
2952
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2997
2953
|
"declarations": [
|
|
2998
2954
|
{
|
|
2999
2955
|
"kind": "function",
|
|
3000
|
-
"name": "
|
|
2956
|
+
"name": "actionsMenuBaseStyles",
|
|
2957
|
+
"return": {
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "ElementStyles"
|
|
2960
|
+
}
|
|
2961
|
+
},
|
|
2962
|
+
"parameters": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "context",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "ElementDefinitionContext"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"name": "definition",
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "FoundationElementDefinition"
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "function",
|
|
2979
|
+
"name": "foundationActionsMenuStyles",
|
|
3001
2980
|
"return": {
|
|
3002
2981
|
"type": {
|
|
3003
2982
|
"text": "ElementStyles"
|
|
@@ -3022,277 +3001,269 @@
|
|
|
3022
3001
|
"exports": [
|
|
3023
3002
|
{
|
|
3024
3003
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
3004
|
+
"name": "actionsMenuBaseStyles",
|
|
3026
3005
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/
|
|
3006
|
+
"name": "actionsMenuBaseStyles",
|
|
3007
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3008
|
+
}
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "js",
|
|
3012
|
+
"name": "foundationActionsMenuStyles",
|
|
3013
|
+
"declaration": {
|
|
3014
|
+
"name": "foundationActionsMenuStyles",
|
|
3015
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3029
3016
|
}
|
|
3030
3017
|
}
|
|
3031
3018
|
]
|
|
3032
3019
|
},
|
|
3033
3020
|
{
|
|
3034
3021
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/
|
|
3022
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3036
3023
|
"declarations": [
|
|
3037
3024
|
{
|
|
3038
3025
|
"kind": "function",
|
|
3039
|
-
"name": "
|
|
3040
|
-
"return": {
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ViewTemplate<Accordion>"
|
|
3043
|
-
}
|
|
3044
|
-
},
|
|
3026
|
+
"name": "menuTemplate",
|
|
3045
3027
|
"parameters": [
|
|
3046
3028
|
{
|
|
3047
|
-
"name": "
|
|
3029
|
+
"name": "prefix",
|
|
3048
3030
|
"type": {
|
|
3049
|
-
"text": "
|
|
3031
|
+
"text": "string"
|
|
3050
3032
|
}
|
|
3051
|
-
}
|
|
3033
|
+
}
|
|
3034
|
+
]
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "function",
|
|
3038
|
+
"name": "singleOptionTemplate",
|
|
3039
|
+
"parameters": [
|
|
3052
3040
|
{
|
|
3053
|
-
"name": "
|
|
3041
|
+
"name": "prefix",
|
|
3054
3042
|
"type": {
|
|
3055
|
-
"text": "
|
|
3043
|
+
"text": "string"
|
|
3056
3044
|
}
|
|
3057
3045
|
}
|
|
3058
3046
|
]
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "variable",
|
|
3050
|
+
"name": "foundationActionsMenuTemplate",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3053
|
+
},
|
|
3054
|
+
"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`"
|
|
3059
3055
|
}
|
|
3060
3056
|
],
|
|
3061
3057
|
"exports": [
|
|
3062
3058
|
{
|
|
3063
3059
|
"kind": "js",
|
|
3064
|
-
"name": "
|
|
3060
|
+
"name": "menuTemplate",
|
|
3065
3061
|
"declaration": {
|
|
3066
|
-
"name": "
|
|
3067
|
-
"module": "src/
|
|
3062
|
+
"name": "menuTemplate",
|
|
3063
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "js",
|
|
3068
|
+
"name": "singleOptionTemplate",
|
|
3069
|
+
"declaration": {
|
|
3070
|
+
"name": "singleOptionTemplate",
|
|
3071
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "js",
|
|
3076
|
+
"name": "foundationActionsMenuTemplate",
|
|
3077
|
+
"declaration": {
|
|
3078
|
+
"name": "foundationActionsMenuTemplate",
|
|
3079
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3068
3080
|
}
|
|
3069
3081
|
}
|
|
3070
3082
|
]
|
|
3071
3083
|
},
|
|
3072
3084
|
{
|
|
3073
3085
|
"kind": "javascript-module",
|
|
3074
|
-
"path": "src/
|
|
3086
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3075
3087
|
"declarations": [
|
|
3076
3088
|
{
|
|
3077
3089
|
"kind": "class",
|
|
3078
3090
|
"description": "",
|
|
3079
|
-
"name": "
|
|
3080
|
-
"
|
|
3081
|
-
"name": "FASTAccordion",
|
|
3082
|
-
"package": "@microsoft/fast-foundation"
|
|
3083
|
-
},
|
|
3084
|
-
"tagName": "%%prefix%%-accordion",
|
|
3085
|
-
"customElement": true,
|
|
3086
|
-
"attributes": [
|
|
3091
|
+
"name": "ActionsMenu",
|
|
3092
|
+
"members": [
|
|
3087
3093
|
{
|
|
3088
|
-
"
|
|
3094
|
+
"kind": "field",
|
|
3095
|
+
"name": "actions",
|
|
3089
3096
|
"type": {
|
|
3090
|
-
"text": "
|
|
3091
|
-
},
|
|
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
|
+
"text": "ActionMenuItem[]"
|
|
3097
3098
|
}
|
|
3098
|
-
}
|
|
3099
|
-
],
|
|
3100
|
-
"members": [
|
|
3099
|
+
},
|
|
3101
3100
|
{
|
|
3102
3101
|
"kind": "field",
|
|
3103
|
-
"name": "
|
|
3102
|
+
"name": "isVertical",
|
|
3104
3103
|
"type": {
|
|
3105
|
-
"text": "
|
|
3104
|
+
"text": "boolean"
|
|
3106
3105
|
},
|
|
3107
|
-
"
|
|
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
|
-
}
|
|
3106
|
+
"default": "false"
|
|
3113
3107
|
},
|
|
3114
3108
|
{
|
|
3115
3109
|
"kind": "field",
|
|
3116
|
-
"name": "
|
|
3110
|
+
"name": "addDefaultActions",
|
|
3117
3111
|
"type": {
|
|
3118
|
-
"text": "
|
|
3112
|
+
"text": "boolean"
|
|
3119
3113
|
},
|
|
3120
|
-
"
|
|
3121
|
-
"inheritedFrom": {
|
|
3122
|
-
"name": "Accordion",
|
|
3123
|
-
"module": "src/accordion/accordion.ts"
|
|
3124
|
-
}
|
|
3114
|
+
"default": "true"
|
|
3125
3115
|
},
|
|
3126
3116
|
{
|
|
3127
3117
|
"kind": "field",
|
|
3128
|
-
"name": "
|
|
3118
|
+
"name": "autoCloseOnAction",
|
|
3129
3119
|
"type": {
|
|
3130
|
-
"text": "
|
|
3120
|
+
"text": "boolean"
|
|
3131
3121
|
},
|
|
3132
|
-
"
|
|
3133
|
-
"default": "0",
|
|
3134
|
-
"inheritedFrom": {
|
|
3135
|
-
"name": "Accordion",
|
|
3136
|
-
"module": "src/accordion/accordion.ts"
|
|
3137
|
-
}
|
|
3122
|
+
"default": "true"
|
|
3138
3123
|
},
|
|
3139
3124
|
{
|
|
3140
3125
|
"kind": "field",
|
|
3141
|
-
"name": "
|
|
3126
|
+
"name": "classNames",
|
|
3142
3127
|
"type": {
|
|
3143
|
-
"text": "
|
|
3144
|
-
},
|
|
3145
|
-
"privacy": "private",
|
|
3146
|
-
"inheritedFrom": {
|
|
3147
|
-
"name": "Accordion",
|
|
3148
|
-
"module": "src/accordion/accordion.ts"
|
|
3128
|
+
"text": "string"
|
|
3149
3129
|
}
|
|
3150
3130
|
},
|
|
3151
3131
|
{
|
|
3152
3132
|
"kind": "field",
|
|
3153
|
-
"name": "
|
|
3154
|
-
"
|
|
3155
|
-
|
|
3156
|
-
"name": "Accordion",
|
|
3157
|
-
"module": "src/accordion/accordion.ts"
|
|
3133
|
+
"name": "definition",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "any"
|
|
3158
3136
|
}
|
|
3159
3137
|
},
|
|
3160
3138
|
{
|
|
3161
|
-
"kind": "
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
|
|
3165
|
-
"type": {
|
|
3166
|
-
"text": "AccordionItem | null"
|
|
3167
|
-
}
|
|
3139
|
+
"kind": "field",
|
|
3140
|
+
"name": "name",
|
|
3141
|
+
"type": {
|
|
3142
|
+
"text": "string"
|
|
3168
3143
|
},
|
|
3169
|
-
"
|
|
3170
|
-
"name": "Accordion",
|
|
3171
|
-
"module": "src/accordion/accordion.ts"
|
|
3172
|
-
}
|
|
3144
|
+
"default": "'Actions'"
|
|
3173
3145
|
},
|
|
3174
3146
|
{
|
|
3175
3147
|
"kind": "field",
|
|
3176
|
-
"name": "
|
|
3177
|
-
"
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3148
|
+
"name": "open",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
"default": "false"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"kind": "field",
|
|
3156
|
+
"name": "buttonAppearance",
|
|
3157
|
+
"type": {
|
|
3158
|
+
"text": "string"
|
|
3181
3159
|
}
|
|
3182
3160
|
},
|
|
3183
3161
|
{
|
|
3184
|
-
"kind": "
|
|
3185
|
-
"name": "
|
|
3186
|
-
"
|
|
3187
|
-
|
|
3188
|
-
"type": {
|
|
3189
|
-
"text": "void"
|
|
3190
|
-
}
|
|
3162
|
+
"kind": "field",
|
|
3163
|
+
"name": "hideDisabled",
|
|
3164
|
+
"type": {
|
|
3165
|
+
"text": "boolean"
|
|
3191
3166
|
},
|
|
3192
|
-
"
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3167
|
+
"default": "false"
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "field",
|
|
3171
|
+
"name": "hideMenuSingleOption",
|
|
3172
|
+
"type": {
|
|
3173
|
+
"text": "boolean"
|
|
3174
|
+
},
|
|
3175
|
+
"default": "false"
|
|
3196
3176
|
},
|
|
3197
3177
|
{
|
|
3198
3178
|
"kind": "field",
|
|
3199
|
-
"name": "
|
|
3200
|
-
"
|
|
3201
|
-
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3179
|
+
"name": "singleOption",
|
|
3180
|
+
"type": {
|
|
3181
|
+
"text": "ActionMenuItem"
|
|
3204
3182
|
}
|
|
3205
3183
|
},
|
|
3206
3184
|
{
|
|
3207
3185
|
"kind": "field",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"
|
|
3210
|
-
|
|
3211
|
-
"name": "Accordion",
|
|
3212
|
-
"module": "src/accordion/accordion.ts"
|
|
3186
|
+
"name": "actionsMenu",
|
|
3187
|
+
"type": {
|
|
3188
|
+
"text": "HTMLElement"
|
|
3213
3189
|
}
|
|
3214
3190
|
},
|
|
3215
3191
|
{
|
|
3216
3192
|
"kind": "method",
|
|
3217
|
-
"name": "
|
|
3218
|
-
"privacy": "
|
|
3219
|
-
"
|
|
3220
|
-
|
|
3221
|
-
"
|
|
3193
|
+
"name": "definitionChanged",
|
|
3194
|
+
"privacy": "protected",
|
|
3195
|
+
"parameters": [
|
|
3196
|
+
{
|
|
3197
|
+
"name": "oldValue",
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "any"
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"name": "newValue",
|
|
3204
|
+
"type": {
|
|
3205
|
+
"text": "any"
|
|
3206
|
+
}
|
|
3222
3207
|
}
|
|
3223
|
-
|
|
3224
|
-
"inheritedFrom": {
|
|
3225
|
-
"name": "Accordion",
|
|
3226
|
-
"module": "src/accordion/accordion.ts"
|
|
3227
|
-
}
|
|
3208
|
+
]
|
|
3228
3209
|
},
|
|
3229
3210
|
{
|
|
3230
3211
|
"kind": "method",
|
|
3231
|
-
"name": "
|
|
3232
|
-
"privacy": "
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3212
|
+
"name": "openChanged",
|
|
3213
|
+
"privacy": "protected"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "method",
|
|
3217
|
+
"name": "toggleActionsMenuVisibility"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"kind": "method",
|
|
3221
|
+
"name": "onActionMenuItemClick",
|
|
3222
|
+
"parameters": [
|
|
3223
|
+
{
|
|
3224
|
+
"name": "callback",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "(rowData) => void | any"
|
|
3227
|
+
}
|
|
3236
3228
|
}
|
|
3237
|
-
|
|
3238
|
-
"inheritedFrom": {
|
|
3239
|
-
"name": "Accordion",
|
|
3240
|
-
"module": "src/accordion/accordion.ts"
|
|
3241
|
-
}
|
|
3229
|
+
]
|
|
3242
3230
|
},
|
|
3243
3231
|
{
|
|
3244
3232
|
"kind": "field",
|
|
3245
|
-
"name": "
|
|
3246
|
-
"
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
}
|
|
3233
|
+
"name": "allActions",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "ActionMenuItem[]"
|
|
3236
|
+
},
|
|
3237
|
+
"readonly": true
|
|
3251
3238
|
},
|
|
3252
3239
|
{
|
|
3253
3240
|
"kind": "field",
|
|
3254
|
-
"name": "
|
|
3255
|
-
"
|
|
3256
|
-
"inheritedFrom": {
|
|
3257
|
-
"name": "Accordion",
|
|
3258
|
-
"module": "src/accordion/accordion.ts"
|
|
3259
|
-
}
|
|
3241
|
+
"name": "rowData",
|
|
3242
|
+
"readonly": true
|
|
3260
3243
|
},
|
|
3261
3244
|
{
|
|
3262
3245
|
"kind": "method",
|
|
3263
|
-
"name": "
|
|
3264
|
-
"privacy": "private",
|
|
3265
|
-
"return": {
|
|
3266
|
-
"type": {
|
|
3267
|
-
"text": "void"
|
|
3268
|
-
}
|
|
3269
|
-
},
|
|
3246
|
+
"name": "getLabel",
|
|
3270
3247
|
"parameters": [
|
|
3271
3248
|
{
|
|
3272
|
-
"name": "
|
|
3249
|
+
"name": "name",
|
|
3273
3250
|
"type": {
|
|
3274
|
-
"text": "
|
|
3251
|
+
"text": "string | ((rowData: any) => string)"
|
|
3275
3252
|
}
|
|
3276
3253
|
}
|
|
3277
|
-
]
|
|
3278
|
-
"inheritedFrom": {
|
|
3279
|
-
"name": "Accordion",
|
|
3280
|
-
"module": "src/accordion/accordion.ts"
|
|
3281
|
-
}
|
|
3254
|
+
]
|
|
3282
3255
|
},
|
|
3283
3256
|
{
|
|
3284
3257
|
"kind": "method",
|
|
3285
|
-
"name": "
|
|
3286
|
-
"
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
"
|
|
3258
|
+
"name": "getTemplate",
|
|
3259
|
+
"parameters": [
|
|
3260
|
+
{
|
|
3261
|
+
"name": "prefix",
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "string"
|
|
3264
|
+
}
|
|
3290
3265
|
}
|
|
3291
|
-
|
|
3292
|
-
"inheritedFrom": {
|
|
3293
|
-
"name": "Accordion",
|
|
3294
|
-
"module": "src/accordion/accordion.ts"
|
|
3295
|
-
}
|
|
3266
|
+
]
|
|
3296
3267
|
},
|
|
3297
3268
|
{
|
|
3298
3269
|
"kind": "field",
|
|
@@ -3406,78 +3377,107 @@
|
|
|
3406
3377
|
}
|
|
3407
3378
|
}
|
|
3408
3379
|
],
|
|
3409
|
-
"
|
|
3380
|
+
"attributes": [
|
|
3410
3381
|
{
|
|
3411
|
-
"
|
|
3412
|
-
"
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3382
|
+
"name": "is-vertical",
|
|
3383
|
+
"type": {
|
|
3384
|
+
"text": "boolean"
|
|
3385
|
+
},
|
|
3386
|
+
"default": "false",
|
|
3387
|
+
"fieldName": "isVertical"
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
"name": "add-default-actions",
|
|
3391
|
+
"type": {
|
|
3392
|
+
"text": "boolean"
|
|
3393
|
+
},
|
|
3394
|
+
"default": "true",
|
|
3395
|
+
"fieldName": "addDefaultActions"
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"name": "auto-close-on-action",
|
|
3399
|
+
"type": {
|
|
3400
|
+
"text": "boolean"
|
|
3401
|
+
},
|
|
3402
|
+
"default": "true",
|
|
3403
|
+
"fieldName": "autoCloseOnAction"
|
|
3404
|
+
},
|
|
3405
|
+
{
|
|
3406
|
+
"name": "name",
|
|
3407
|
+
"type": {
|
|
3408
|
+
"text": "string"
|
|
3409
|
+
},
|
|
3410
|
+
"default": "'Actions'",
|
|
3411
|
+
"fieldName": "name"
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"name": "open",
|
|
3415
|
+
"type": {
|
|
3416
|
+
"text": "boolean"
|
|
3417
|
+
},
|
|
3418
|
+
"default": "false",
|
|
3419
|
+
"fieldName": "open"
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"name": "buttonAppearance",
|
|
3423
|
+
"type": {
|
|
3424
|
+
"text": "string"
|
|
3425
|
+
},
|
|
3426
|
+
"fieldName": "buttonAppearance"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "hide-disabled",
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "boolean"
|
|
3432
|
+
},
|
|
3433
|
+
"default": "false",
|
|
3434
|
+
"fieldName": "hideDisabled"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "hide-menu-single-option",
|
|
3438
|
+
"type": {
|
|
3439
|
+
"text": "boolean"
|
|
3440
|
+
},
|
|
3441
|
+
"default": "false",
|
|
3442
|
+
"fieldName": "hideMenuSingleOption"
|
|
3417
3443
|
}
|
|
3418
|
-
]
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
"name": "foundationAccordionShadowOptions",
|
|
3423
|
-
"type": {
|
|
3424
|
-
"text": "ShadowRootInit"
|
|
3425
|
-
},
|
|
3426
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"kind": "variable",
|
|
3430
|
-
"name": "defaultAccordionConfig",
|
|
3431
|
-
"type": {
|
|
3432
|
-
"text": "object"
|
|
3444
|
+
],
|
|
3445
|
+
"superclass": {
|
|
3446
|
+
"name": "FoundationElement",
|
|
3447
|
+
"package": "@microsoft/fast-foundation"
|
|
3433
3448
|
},
|
|
3434
|
-
"
|
|
3449
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3450
|
+
"customElement": true
|
|
3435
3451
|
},
|
|
3436
3452
|
{
|
|
3437
3453
|
"kind": "variable",
|
|
3438
|
-
"name": "
|
|
3439
|
-
"description": "The Foundation
|
|
3454
|
+
"name": "foundationActionsMenu",
|
|
3455
|
+
"description": "The Foundation Actions Menu",
|
|
3440
3456
|
"privacy": "public"
|
|
3441
3457
|
}
|
|
3442
3458
|
],
|
|
3443
3459
|
"exports": [
|
|
3444
3460
|
{
|
|
3445
3461
|
"kind": "js",
|
|
3446
|
-
"name": "
|
|
3447
|
-
"declaration": {
|
|
3448
|
-
"name": "Accordion",
|
|
3449
|
-
"module": "src/accordion/accordion.ts"
|
|
3450
|
-
}
|
|
3451
|
-
},
|
|
3452
|
-
{
|
|
3453
|
-
"kind": "js",
|
|
3454
|
-
"name": "foundationAccordionShadowOptions",
|
|
3455
|
-
"declaration": {
|
|
3456
|
-
"name": "foundationAccordionShadowOptions",
|
|
3457
|
-
"module": "src/accordion/accordion.ts"
|
|
3458
|
-
}
|
|
3459
|
-
},
|
|
3460
|
-
{
|
|
3461
|
-
"kind": "js",
|
|
3462
|
-
"name": "defaultAccordionConfig",
|
|
3462
|
+
"name": "ActionsMenu",
|
|
3463
3463
|
"declaration": {
|
|
3464
|
-
"name": "
|
|
3465
|
-
"module": "src/
|
|
3464
|
+
"name": "ActionsMenu",
|
|
3465
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3466
3466
|
}
|
|
3467
3467
|
},
|
|
3468
3468
|
{
|
|
3469
3469
|
"kind": "js",
|
|
3470
|
-
"name": "
|
|
3470
|
+
"name": "foundationActionsMenu",
|
|
3471
3471
|
"declaration": {
|
|
3472
|
-
"name": "
|
|
3473
|
-
"module": "src/
|
|
3472
|
+
"name": "foundationActionsMenu",
|
|
3473
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3474
3474
|
}
|
|
3475
3475
|
}
|
|
3476
3476
|
]
|
|
3477
3477
|
},
|
|
3478
3478
|
{
|
|
3479
3479
|
"kind": "javascript-module",
|
|
3480
|
-
"path": "src/
|
|
3480
|
+
"path": "src/actions-menu/index.ts",
|
|
3481
3481
|
"declarations": [],
|
|
3482
3482
|
"exports": [
|
|
3483
3483
|
{
|
|
@@ -3485,7 +3485,7 @@
|
|
|
3485
3485
|
"name": "*",
|
|
3486
3486
|
"declaration": {
|
|
3487
3487
|
"name": "*",
|
|
3488
|
-
"package": "./
|
|
3488
|
+
"package": "./actions-menu.styles"
|
|
3489
3489
|
}
|
|
3490
3490
|
},
|
|
3491
3491
|
{
|
|
@@ -3493,7 +3493,7 @@
|
|
|
3493
3493
|
"name": "*",
|
|
3494
3494
|
"declaration": {
|
|
3495
3495
|
"name": "*",
|
|
3496
|
-
"package": "./
|
|
3496
|
+
"package": "./actions-menu.template"
|
|
3497
3497
|
}
|
|
3498
3498
|
},
|
|
3499
3499
|
{
|
|
@@ -3501,7 +3501,7 @@
|
|
|
3501
3501
|
"name": "*",
|
|
3502
3502
|
"declaration": {
|
|
3503
3503
|
"name": "*",
|
|
3504
|
-
"package": "./
|
|
3504
|
+
"package": "./actions-menu"
|
|
3505
3505
|
}
|
|
3506
3506
|
}
|
|
3507
3507
|
]
|