@genesislcap/foundation-ui 15.23.1 → 15.23.2
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 +978 -978
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +18 -18
|
@@ -1493,6 +1493,37 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "javascript-module",
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1496
1527
|
{
|
|
1497
1528
|
"kind": "javascript-module",
|
|
1498
1529
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1889,146 +1920,203 @@
|
|
|
1889
1920
|
},
|
|
1890
1921
|
{
|
|
1891
1922
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
1893
|
-
"declarations": [
|
|
1894
|
-
"exports": [
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1924
|
+
"declarations": [
|
|
1895
1925
|
{
|
|
1896
|
-
"kind": "
|
|
1897
|
-
"name": "
|
|
1898
|
-
"
|
|
1899
|
-
"
|
|
1900
|
-
|
|
1901
|
-
|
|
1926
|
+
"kind": "function",
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1934
|
+
{
|
|
1935
|
+
"name": "context",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "definition",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1902
1947
|
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "function",
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
1951
|
+
"return": {
|
|
1952
|
+
"type": {
|
|
1953
|
+
"text": "ElementStyles"
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"parameters": [
|
|
1957
|
+
{
|
|
1958
|
+
"name": "context",
|
|
1959
|
+
"type": {
|
|
1960
|
+
"text": "ElementDefinitionContext"
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "definition",
|
|
1965
|
+
"type": {
|
|
1966
|
+
"text": "FoundationElementDefinition"
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
]
|
|
1970
|
+
}
|
|
1971
|
+
],
|
|
1972
|
+
"exports": [
|
|
1903
1973
|
{
|
|
1904
1974
|
"kind": "js",
|
|
1905
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
1906
1976
|
"declaration": {
|
|
1907
|
-
"name": "
|
|
1908
|
-
"
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1909
1979
|
}
|
|
1910
1980
|
},
|
|
1911
1981
|
{
|
|
1912
1982
|
"kind": "js",
|
|
1913
|
-
"name": "
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1914
1984
|
"declaration": {
|
|
1915
|
-
"name": "
|
|
1916
|
-
"
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1917
1987
|
}
|
|
1918
1988
|
}
|
|
1919
1989
|
]
|
|
1920
1990
|
},
|
|
1921
1991
|
{
|
|
1922
1992
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1924
1994
|
"declarations": [
|
|
1995
|
+
{
|
|
1996
|
+
"kind": "function",
|
|
1997
|
+
"name": "menuTemplate",
|
|
1998
|
+
"parameters": [
|
|
1999
|
+
{
|
|
2000
|
+
"name": "prefix",
|
|
2001
|
+
"type": {
|
|
2002
|
+
"text": "string"
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2011
|
+
{
|
|
2012
|
+
"name": "prefix",
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "string"
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
1925
2019
|
{
|
|
1926
2020
|
"kind": "variable",
|
|
1927
|
-
"name": "
|
|
1928
|
-
"
|
|
2021
|
+
"name": "foundationActionsMenuTemplate",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
+
},
|
|
2025
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1929
2026
|
}
|
|
1930
2027
|
],
|
|
1931
2028
|
"exports": [
|
|
1932
2029
|
{
|
|
1933
2030
|
"kind": "js",
|
|
1934
|
-
"name": "
|
|
2031
|
+
"name": "menuTemplate",
|
|
1935
2032
|
"declaration": {
|
|
1936
|
-
"name": "
|
|
1937
|
-
"module": "src/
|
|
2033
|
+
"name": "menuTemplate",
|
|
2034
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1938
2035
|
}
|
|
1939
|
-
}
|
|
1940
|
-
]
|
|
1941
|
-
},
|
|
1942
|
-
{
|
|
1943
|
-
"kind": "javascript-module",
|
|
1944
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1945
|
-
"declarations": [
|
|
2036
|
+
},
|
|
1946
2037
|
{
|
|
1947
|
-
"kind": "
|
|
1948
|
-
"name": "
|
|
1949
|
-
"
|
|
1950
|
-
"
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
}
|
|
1954
|
-
],
|
|
1955
|
-
"exports": [
|
|
2038
|
+
"kind": "js",
|
|
2039
|
+
"name": "singleOptionTemplate",
|
|
2040
|
+
"declaration": {
|
|
2041
|
+
"name": "singleOptionTemplate",
|
|
2042
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
1956
2045
|
{
|
|
1957
2046
|
"kind": "js",
|
|
1958
|
-
"name": "
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
1959
2048
|
"declaration": {
|
|
1960
|
-
"name": "
|
|
1961
|
-
"module": "src/
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1962
2051
|
}
|
|
1963
2052
|
}
|
|
1964
2053
|
]
|
|
1965
2054
|
},
|
|
1966
2055
|
{
|
|
1967
2056
|
"kind": "javascript-module",
|
|
1968
|
-
"path": "src/
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1969
2058
|
"declarations": [
|
|
1970
2059
|
{
|
|
1971
2060
|
"kind": "class",
|
|
1972
|
-
"description": "
|
|
1973
|
-
"name": "
|
|
2061
|
+
"description": "",
|
|
2062
|
+
"name": "ActionsMenu",
|
|
1974
2063
|
"members": [
|
|
1975
2064
|
{
|
|
1976
2065
|
"kind": "field",
|
|
1977
|
-
"name": "
|
|
2066
|
+
"name": "actions",
|
|
1978
2067
|
"type": {
|
|
1979
|
-
"text": "
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
1980
2069
|
}
|
|
1981
2070
|
},
|
|
1982
2071
|
{
|
|
1983
2072
|
"kind": "field",
|
|
1984
|
-
"name": "
|
|
2073
|
+
"name": "isVertical",
|
|
1985
2074
|
"type": {
|
|
1986
|
-
"text": "
|
|
2075
|
+
"text": "boolean"
|
|
1987
2076
|
},
|
|
1988
|
-
"default": "
|
|
2077
|
+
"default": "false"
|
|
1989
2078
|
},
|
|
1990
2079
|
{
|
|
1991
2080
|
"kind": "field",
|
|
1992
|
-
"name": "
|
|
2081
|
+
"name": "addDefaultActions",
|
|
1993
2082
|
"type": {
|
|
1994
2083
|
"text": "boolean"
|
|
1995
|
-
}
|
|
2084
|
+
},
|
|
2085
|
+
"default": "true"
|
|
1996
2086
|
},
|
|
1997
2087
|
{
|
|
1998
2088
|
"kind": "field",
|
|
1999
|
-
"name": "
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2000
2090
|
"type": {
|
|
2001
|
-
"text": "
|
|
2091
|
+
"text": "boolean"
|
|
2002
2092
|
},
|
|
2003
|
-
"default": "
|
|
2093
|
+
"default": "true"
|
|
2004
2094
|
},
|
|
2005
2095
|
{
|
|
2006
2096
|
"kind": "field",
|
|
2007
|
-
"name": "
|
|
2097
|
+
"name": "classNames",
|
|
2008
2098
|
"type": {
|
|
2009
|
-
"text": "
|
|
2010
|
-
}
|
|
2011
|
-
"default": "false"
|
|
2099
|
+
"text": "string"
|
|
2100
|
+
}
|
|
2012
2101
|
},
|
|
2013
2102
|
{
|
|
2014
2103
|
"kind": "field",
|
|
2015
|
-
"name": "
|
|
2104
|
+
"name": "definition",
|
|
2016
2105
|
"type": {
|
|
2017
|
-
"text": "
|
|
2018
|
-
}
|
|
2019
|
-
"default": "null"
|
|
2106
|
+
"text": "any"
|
|
2107
|
+
}
|
|
2020
2108
|
},
|
|
2021
2109
|
{
|
|
2022
2110
|
"kind": "field",
|
|
2023
|
-
"name": "
|
|
2111
|
+
"name": "name",
|
|
2024
2112
|
"type": {
|
|
2025
|
-
"text": "
|
|
2113
|
+
"text": "string"
|
|
2026
2114
|
},
|
|
2027
|
-
"default": "
|
|
2115
|
+
"default": "'Actions'"
|
|
2028
2116
|
},
|
|
2029
2117
|
{
|
|
2030
2118
|
"kind": "field",
|
|
2031
|
-
"name": "
|
|
2119
|
+
"name": "open",
|
|
2032
2120
|
"type": {
|
|
2033
2121
|
"text": "boolean"
|
|
2034
2122
|
},
|
|
@@ -2036,15 +2124,14 @@
|
|
|
2036
2124
|
},
|
|
2037
2125
|
{
|
|
2038
2126
|
"kind": "field",
|
|
2039
|
-
"name": "
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2040
2128
|
"type": {
|
|
2041
|
-
"text": "
|
|
2042
|
-
}
|
|
2043
|
-
"default": "[]"
|
|
2129
|
+
"text": "string"
|
|
2130
|
+
}
|
|
2044
2131
|
},
|
|
2045
2132
|
{
|
|
2046
2133
|
"kind": "field",
|
|
2047
|
-
"name": "
|
|
2134
|
+
"name": "hideDisabled",
|
|
2048
2135
|
"type": {
|
|
2049
2136
|
"text": "boolean"
|
|
2050
2137
|
},
|
|
@@ -2052,125 +2139,114 @@
|
|
|
2052
2139
|
},
|
|
2053
2140
|
{
|
|
2054
2141
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2056
2143
|
"type": {
|
|
2057
|
-
"text": "
|
|
2144
|
+
"text": "boolean"
|
|
2058
2145
|
},
|
|
2059
|
-
"
|
|
2146
|
+
"default": "false"
|
|
2060
2147
|
},
|
|
2061
2148
|
{
|
|
2062
2149
|
"kind": "field",
|
|
2063
|
-
"name": "
|
|
2150
|
+
"name": "singleOption",
|
|
2064
2151
|
"type": {
|
|
2065
|
-
"text": "
|
|
2066
|
-
}
|
|
2067
|
-
"privacy": "private",
|
|
2068
|
-
"default": "null"
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2153
|
+
}
|
|
2069
2154
|
},
|
|
2070
2155
|
{
|
|
2071
2156
|
"kind": "field",
|
|
2072
|
-
"name": "
|
|
2157
|
+
"name": "actionsMenu",
|
|
2073
2158
|
"type": {
|
|
2074
|
-
"text": "
|
|
2075
|
-
}
|
|
2076
|
-
"privacy": "private",
|
|
2077
|
-
"default": "null"
|
|
2159
|
+
"text": "HTMLElement"
|
|
2160
|
+
}
|
|
2078
2161
|
},
|
|
2079
2162
|
{
|
|
2080
2163
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2164
|
+
"name": "actionsOpener",
|
|
2082
2165
|
"type": {
|
|
2083
|
-
"text": "
|
|
2084
|
-
}
|
|
2085
|
-
"readonly": true
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "criteriaChips",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "CriteriaChip[]"
|
|
2092
|
-
},
|
|
2093
|
-
"readonly": true
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "method",
|
|
2097
|
-
"name": "getFieldLabel",
|
|
2098
|
-
"privacy": "private",
|
|
2099
|
-
"return": {
|
|
2100
|
-
"type": {
|
|
2101
|
-
"text": "string"
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
"parameters": [
|
|
2105
|
-
{
|
|
2106
|
-
"name": "fieldName",
|
|
2107
|
-
"type": {
|
|
2108
|
-
"text": "string"
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
]
|
|
2166
|
+
"text": "HTMLElement"
|
|
2167
|
+
}
|
|
2112
2168
|
},
|
|
2113
2169
|
{
|
|
2114
2170
|
"kind": "method",
|
|
2115
|
-
"name": "
|
|
2116
|
-
"
|
|
2117
|
-
"type": {
|
|
2118
|
-
"text": "void"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2121
2173
|
},
|
|
2122
2174
|
{
|
|
2123
2175
|
"kind": "method",
|
|
2124
|
-
"name": "
|
|
2125
|
-
"
|
|
2126
|
-
"type": {
|
|
2127
|
-
"text": "void"
|
|
2128
|
-
}
|
|
2129
|
-
},
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2130
2178
|
"parameters": [
|
|
2131
2179
|
{
|
|
2132
|
-
"name": "
|
|
2180
|
+
"name": "oldValue",
|
|
2133
2181
|
"type": {
|
|
2134
|
-
"text": "
|
|
2182
|
+
"text": "any"
|
|
2135
2183
|
}
|
|
2136
2184
|
},
|
|
2137
2185
|
{
|
|
2138
|
-
"name": "
|
|
2186
|
+
"name": "newValue",
|
|
2139
2187
|
"type": {
|
|
2140
|
-
"text": "
|
|
2188
|
+
"text": "any"
|
|
2141
2189
|
}
|
|
2142
2190
|
}
|
|
2143
2191
|
]
|
|
2144
2192
|
},
|
|
2145
2193
|
{
|
|
2146
2194
|
"kind": "method",
|
|
2147
|
-
"name": "
|
|
2148
|
-
"
|
|
2149
|
-
"type": {
|
|
2150
|
-
"text": "void"
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2153
2197
|
},
|
|
2154
2198
|
{
|
|
2155
2199
|
"kind": "method",
|
|
2156
|
-
"name": "
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2157
2201
|
},
|
|
2158
2202
|
{
|
|
2159
2203
|
"kind": "method",
|
|
2160
|
-
"name": "
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2161
2213
|
},
|
|
2162
2214
|
{
|
|
2163
|
-
"kind": "
|
|
2164
|
-
"name": "
|
|
2215
|
+
"kind": "field",
|
|
2216
|
+
"name": "allActions",
|
|
2217
|
+
"type": {
|
|
2218
|
+
"text": "ActionMenuItem[]"
|
|
2219
|
+
},
|
|
2220
|
+
"readonly": true
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "field",
|
|
2224
|
+
"name": "rowData",
|
|
2225
|
+
"readonly": true
|
|
2165
2226
|
},
|
|
2166
2227
|
{
|
|
2167
2228
|
"kind": "method",
|
|
2168
|
-
"name": "
|
|
2229
|
+
"name": "getLabel",
|
|
2230
|
+
"parameters": [
|
|
2231
|
+
{
|
|
2232
|
+
"name": "name",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string | ((rowData: any) => string)"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
]
|
|
2169
2238
|
},
|
|
2170
2239
|
{
|
|
2171
2240
|
"kind": "method",
|
|
2172
|
-
"name": "
|
|
2173
|
-
"
|
|
2241
|
+
"name": "getTemplate",
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "prefix",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "string"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2174
2250
|
},
|
|
2175
2251
|
{
|
|
2176
2252
|
"kind": "field",
|
|
@@ -2284,448 +2360,246 @@
|
|
|
2284
2360
|
}
|
|
2285
2361
|
}
|
|
2286
2362
|
],
|
|
2287
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2288
2364
|
{
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2365
|
+
"name": "is-vertical",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"default": "false",
|
|
2370
|
+
"fieldName": "isVertical"
|
|
2291
2371
|
},
|
|
2292
2372
|
{
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2373
|
+
"name": "add-default-actions",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "boolean"
|
|
2376
|
+
},
|
|
2377
|
+
"default": "true",
|
|
2378
|
+
"fieldName": "addDefaultActions"
|
|
2379
|
+
},
|
|
2298
2380
|
{
|
|
2299
|
-
"name": "
|
|
2381
|
+
"name": "auto-close-on-action",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "true",
|
|
2386
|
+
"fieldName": "autoCloseOnAction"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2300
2390
|
"type": {
|
|
2301
2391
|
"text": "string"
|
|
2302
2392
|
},
|
|
2303
|
-
"default": "'
|
|
2304
|
-
"fieldName": "
|
|
2393
|
+
"default": "'Actions'",
|
|
2394
|
+
"fieldName": "name"
|
|
2305
2395
|
},
|
|
2306
2396
|
{
|
|
2397
|
+
"name": "open",
|
|
2307
2398
|
"type": {
|
|
2308
2399
|
"text": "boolean"
|
|
2309
2400
|
},
|
|
2310
|
-
"
|
|
2401
|
+
"default": "false",
|
|
2402
|
+
"fieldName": "open"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "buttonAppearance",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "buttonAppearance"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "hide-disabled",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "boolean"
|
|
2415
|
+
},
|
|
2416
|
+
"default": "false",
|
|
2417
|
+
"fieldName": "hideDisabled"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2311
2426
|
}
|
|
2312
2427
|
],
|
|
2313
2428
|
"superclass": {
|
|
2314
2429
|
"name": "FoundationElement",
|
|
2315
2430
|
"package": "@microsoft/fast-foundation"
|
|
2316
2431
|
},
|
|
2317
|
-
"tagName": "%%prefix%%-
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2318
2433
|
"customElement": true
|
|
2319
2434
|
},
|
|
2320
2435
|
{
|
|
2321
2436
|
"kind": "variable",
|
|
2322
|
-
"name": "
|
|
2323
|
-
"
|
|
2324
|
-
|
|
2325
|
-
},
|
|
2326
|
-
"default": "undefined"
|
|
2327
|
-
},
|
|
2328
|
-
{
|
|
2329
|
-
"kind": "variable",
|
|
2330
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2331
|
-
"type": {
|
|
2332
|
-
"text": "object"
|
|
2333
|
-
},
|
|
2334
|
-
"default": "{}"
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"kind": "variable",
|
|
2338
|
-
"name": "foundationAiCriteriaSearch"
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2439
|
+
"privacy": "public"
|
|
2339
2440
|
}
|
|
2340
2441
|
],
|
|
2341
2442
|
"exports": [
|
|
2342
2443
|
{
|
|
2343
2444
|
"kind": "js",
|
|
2344
|
-
"name": "
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "AiCriteriaSearch",
|
|
2347
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2348
|
-
}
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"kind": "js",
|
|
2352
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2353
|
-
"declaration": {
|
|
2354
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2355
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"kind": "js",
|
|
2360
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2361
2446
|
"declaration": {
|
|
2362
|
-
"name": "
|
|
2363
|
-
"module": "src/
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2364
2449
|
}
|
|
2365
2450
|
},
|
|
2366
2451
|
{
|
|
2367
2452
|
"kind": "js",
|
|
2368
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2369
2454
|
"declaration": {
|
|
2370
|
-
"name": "
|
|
2371
|
-
"module": "src/
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2372
2457
|
}
|
|
2373
2458
|
}
|
|
2374
2459
|
]
|
|
2375
2460
|
},
|
|
2376
2461
|
{
|
|
2377
2462
|
"kind": "javascript-module",
|
|
2378
|
-
"path": "src/
|
|
2463
|
+
"path": "src/actions-menu/index.ts",
|
|
2379
2464
|
"declarations": [],
|
|
2380
2465
|
"exports": [
|
|
2381
2466
|
{
|
|
2382
2467
|
"kind": "js",
|
|
2383
|
-
"name": "
|
|
2468
|
+
"name": "*",
|
|
2384
2469
|
"declaration": {
|
|
2385
|
-
"name": "
|
|
2386
|
-
"
|
|
2470
|
+
"name": "*",
|
|
2471
|
+
"package": "./actions-menu.styles"
|
|
2387
2472
|
}
|
|
2388
2473
|
},
|
|
2389
2474
|
{
|
|
2390
2475
|
"kind": "js",
|
|
2391
|
-
"name": "
|
|
2476
|
+
"name": "*",
|
|
2392
2477
|
"declaration": {
|
|
2393
|
-
"name": "
|
|
2394
|
-
"
|
|
2478
|
+
"name": "*",
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2395
2480
|
}
|
|
2396
2481
|
},
|
|
2397
2482
|
{
|
|
2398
2483
|
"kind": "js",
|
|
2399
|
-
"name": "
|
|
2484
|
+
"name": "*",
|
|
2400
2485
|
"declaration": {
|
|
2401
|
-
"name": "
|
|
2402
|
-
"
|
|
2486
|
+
"name": "*",
|
|
2487
|
+
"package": "./actions-menu"
|
|
2403
2488
|
}
|
|
2404
|
-
}
|
|
2489
|
+
}
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"kind": "javascript-module",
|
|
2494
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2495
|
+
"declarations": [
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "variable",
|
|
2498
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2499
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
2500
|
+
}
|
|
2501
|
+
],
|
|
2502
|
+
"exports": [
|
|
2405
2503
|
{
|
|
2406
2504
|
"kind": "js",
|
|
2407
|
-
"name": "
|
|
2408
|
-
"declaration": {
|
|
2409
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2410
|
-
"module": "./ai-criteria-search"
|
|
2411
|
-
}
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
"kind": "js",
|
|
2415
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2505
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2416
2506
|
"declaration": {
|
|
2417
2507
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2418
|
-
"module": "
|
|
2419
|
-
}
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
"kind": "js",
|
|
2423
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2424
|
-
"declaration": {
|
|
2425
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2426
|
-
"module": "./ai-criteria-search.template"
|
|
2427
|
-
}
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
"kind": "js",
|
|
2431
|
-
"name": "*",
|
|
2432
|
-
"declaration": {
|
|
2433
|
-
"name": "*",
|
|
2434
|
-
"package": "./validation/criteria-ir"
|
|
2435
|
-
}
|
|
2436
|
-
},
|
|
2437
|
-
{
|
|
2438
|
-
"kind": "js",
|
|
2439
|
-
"name": "*",
|
|
2440
|
-
"declaration": {
|
|
2441
|
-
"name": "*",
|
|
2442
|
-
"package": "./validation/operator-map"
|
|
2443
|
-
}
|
|
2444
|
-
},
|
|
2445
|
-
{
|
|
2446
|
-
"kind": "js",
|
|
2447
|
-
"name": "*",
|
|
2448
|
-
"declaration": {
|
|
2449
|
-
"name": "*",
|
|
2450
|
-
"package": "./validation/schema-validator"
|
|
2451
|
-
}
|
|
2452
|
-
}
|
|
2453
|
-
]
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"kind": "javascript-module",
|
|
2457
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2458
|
-
"declarations": [
|
|
2459
|
-
{
|
|
2460
|
-
"kind": "function",
|
|
2461
|
-
"name": "formatValidationErrors",
|
|
2462
|
-
"return": {
|
|
2463
|
-
"type": {
|
|
2464
|
-
"text": "string"
|
|
2465
|
-
}
|
|
2466
|
-
},
|
|
2467
|
-
"parameters": [
|
|
2468
|
-
{
|
|
2469
|
-
"name": "errors",
|
|
2470
|
-
"type": {
|
|
2471
|
-
"text": "ValidationError[]"
|
|
2472
|
-
}
|
|
2473
|
-
}
|
|
2474
|
-
],
|
|
2475
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"kind": "function",
|
|
2479
|
-
"name": "showCriteriaError",
|
|
2480
|
-
"return": {
|
|
2481
|
-
"type": {
|
|
2482
|
-
"text": "void"
|
|
2483
|
-
}
|
|
2484
|
-
},
|
|
2485
|
-
"parameters": [
|
|
2486
|
-
{
|
|
2487
|
-
"name": "title",
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "string"
|
|
2490
|
-
},
|
|
2491
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"name": "body",
|
|
2495
|
-
"type": {
|
|
2496
|
-
"text": "string"
|
|
2497
|
-
},
|
|
2498
|
-
"description": "Error message to display"
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"name": "tagName",
|
|
2502
|
-
"type": {
|
|
2503
|
-
"text": "string"
|
|
2504
|
-
},
|
|
2505
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2506
|
-
}
|
|
2507
|
-
],
|
|
2508
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2509
|
-
}
|
|
2510
|
-
],
|
|
2511
|
-
"exports": [
|
|
2512
|
-
{
|
|
2513
|
-
"kind": "js",
|
|
2514
|
-
"name": "formatValidationErrors",
|
|
2515
|
-
"declaration": {
|
|
2516
|
-
"name": "formatValidationErrors",
|
|
2517
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2518
|
-
}
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
"kind": "js",
|
|
2522
|
-
"name": "showCriteriaError",
|
|
2523
|
-
"declaration": {
|
|
2524
|
-
"name": "showCriteriaError",
|
|
2525
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
]
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"kind": "javascript-module",
|
|
2532
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2533
|
-
"declarations": [
|
|
2534
|
-
{
|
|
2535
|
-
"kind": "function",
|
|
2536
|
-
"name": "actionsMenuBaseStyles",
|
|
2537
|
-
"return": {
|
|
2538
|
-
"type": {
|
|
2539
|
-
"text": "ElementStyles"
|
|
2540
|
-
}
|
|
2541
|
-
},
|
|
2542
|
-
"parameters": [
|
|
2543
|
-
{
|
|
2544
|
-
"name": "context",
|
|
2545
|
-
"type": {
|
|
2546
|
-
"text": "ElementDefinitionContext"
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"name": "definition",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "FoundationElementDefinition"
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
]
|
|
2556
|
-
},
|
|
2557
|
-
{
|
|
2558
|
-
"kind": "function",
|
|
2559
|
-
"name": "foundationActionsMenuStyles",
|
|
2560
|
-
"return": {
|
|
2561
|
-
"type": {
|
|
2562
|
-
"text": "ElementStyles"
|
|
2563
|
-
}
|
|
2564
|
-
},
|
|
2565
|
-
"parameters": [
|
|
2566
|
-
{
|
|
2567
|
-
"name": "context",
|
|
2568
|
-
"type": {
|
|
2569
|
-
"text": "ElementDefinitionContext"
|
|
2570
|
-
}
|
|
2571
|
-
},
|
|
2572
|
-
{
|
|
2573
|
-
"name": "definition",
|
|
2574
|
-
"type": {
|
|
2575
|
-
"text": "FoundationElementDefinition"
|
|
2576
|
-
}
|
|
2577
|
-
}
|
|
2578
|
-
]
|
|
2579
|
-
}
|
|
2580
|
-
],
|
|
2581
|
-
"exports": [
|
|
2582
|
-
{
|
|
2583
|
-
"kind": "js",
|
|
2584
|
-
"name": "actionsMenuBaseStyles",
|
|
2585
|
-
"declaration": {
|
|
2586
|
-
"name": "actionsMenuBaseStyles",
|
|
2587
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"kind": "js",
|
|
2592
|
-
"name": "foundationActionsMenuStyles",
|
|
2593
|
-
"declaration": {
|
|
2594
|
-
"name": "foundationActionsMenuStyles",
|
|
2595
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2508
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2596
2509
|
}
|
|
2597
2510
|
}
|
|
2598
2511
|
]
|
|
2599
2512
|
},
|
|
2600
2513
|
{
|
|
2601
2514
|
"kind": "javascript-module",
|
|
2602
|
-
"path": "src/
|
|
2515
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2603
2516
|
"declarations": [
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "function",
|
|
2606
|
-
"name": "menuTemplate",
|
|
2607
|
-
"parameters": [
|
|
2608
|
-
{
|
|
2609
|
-
"name": "prefix",
|
|
2610
|
-
"type": {
|
|
2611
|
-
"text": "string"
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
]
|
|
2615
|
-
},
|
|
2616
|
-
{
|
|
2617
|
-
"kind": "function",
|
|
2618
|
-
"name": "singleOptionTemplate",
|
|
2619
|
-
"parameters": [
|
|
2620
|
-
{
|
|
2621
|
-
"name": "prefix",
|
|
2622
|
-
"type": {
|
|
2623
|
-
"text": "string"
|
|
2624
|
-
}
|
|
2625
|
-
}
|
|
2626
|
-
]
|
|
2627
|
-
},
|
|
2628
2517
|
{
|
|
2629
2518
|
"kind": "variable",
|
|
2630
|
-
"name": "
|
|
2519
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2631
2520
|
"type": {
|
|
2632
|
-
"text": "ViewTemplate<
|
|
2521
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2633
2522
|
},
|
|
2634
|
-
"default": "html`\n
|
|
2523
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2635
2524
|
}
|
|
2636
2525
|
],
|
|
2637
2526
|
"exports": [
|
|
2638
2527
|
{
|
|
2639
2528
|
"kind": "js",
|
|
2640
|
-
"name": "
|
|
2641
|
-
"declaration": {
|
|
2642
|
-
"name": "menuTemplate",
|
|
2643
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2644
|
-
}
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
"kind": "js",
|
|
2648
|
-
"name": "singleOptionTemplate",
|
|
2649
|
-
"declaration": {
|
|
2650
|
-
"name": "singleOptionTemplate",
|
|
2651
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2652
|
-
}
|
|
2653
|
-
},
|
|
2654
|
-
{
|
|
2655
|
-
"kind": "js",
|
|
2656
|
-
"name": "foundationActionsMenuTemplate",
|
|
2529
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2657
2530
|
"declaration": {
|
|
2658
|
-
"name": "
|
|
2659
|
-
"module": "src/
|
|
2531
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2532
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2660
2533
|
}
|
|
2661
2534
|
}
|
|
2662
2535
|
]
|
|
2663
2536
|
},
|
|
2664
2537
|
{
|
|
2665
2538
|
"kind": "javascript-module",
|
|
2666
|
-
"path": "src/
|
|
2539
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2667
2540
|
"declarations": [
|
|
2668
2541
|
{
|
|
2669
2542
|
"kind": "class",
|
|
2670
|
-
"description": "",
|
|
2671
|
-
"name": "
|
|
2543
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2544
|
+
"name": "AiCriteriaSearch",
|
|
2672
2545
|
"members": [
|
|
2673
2546
|
{
|
|
2674
2547
|
"kind": "field",
|
|
2675
|
-
"name": "
|
|
2548
|
+
"name": "providerRegistry",
|
|
2676
2549
|
"type": {
|
|
2677
|
-
"text": "
|
|
2550
|
+
"text": "AIProviderRegistry"
|
|
2678
2551
|
}
|
|
2679
2552
|
},
|
|
2680
2553
|
{
|
|
2681
2554
|
"kind": "field",
|
|
2682
|
-
"name": "
|
|
2555
|
+
"name": "placeholder",
|
|
2683
2556
|
"type": {
|
|
2684
|
-
"text": "
|
|
2557
|
+
"text": "string"
|
|
2685
2558
|
},
|
|
2686
|
-
"default": "
|
|
2559
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2687
2560
|
},
|
|
2688
2561
|
{
|
|
2689
2562
|
"kind": "field",
|
|
2690
|
-
"name": "
|
|
2563
|
+
"name": "disabled",
|
|
2691
2564
|
"type": {
|
|
2692
2565
|
"text": "boolean"
|
|
2693
|
-
}
|
|
2694
|
-
"default": "true"
|
|
2566
|
+
}
|
|
2695
2567
|
},
|
|
2696
2568
|
{
|
|
2697
2569
|
"kind": "field",
|
|
2698
|
-
"name": "
|
|
2570
|
+
"name": "inputValue",
|
|
2699
2571
|
"type": {
|
|
2700
|
-
"text": "
|
|
2572
|
+
"text": "string"
|
|
2701
2573
|
},
|
|
2702
|
-
"default": "
|
|
2574
|
+
"default": "''"
|
|
2703
2575
|
},
|
|
2704
2576
|
{
|
|
2705
2577
|
"kind": "field",
|
|
2706
|
-
"name": "
|
|
2578
|
+
"name": "isInterpreting",
|
|
2707
2579
|
"type": {
|
|
2708
|
-
"text": "
|
|
2709
|
-
}
|
|
2580
|
+
"text": "boolean"
|
|
2581
|
+
},
|
|
2582
|
+
"default": "false"
|
|
2710
2583
|
},
|
|
2711
2584
|
{
|
|
2712
2585
|
"kind": "field",
|
|
2713
|
-
"name": "
|
|
2586
|
+
"name": "lastValidCriteria",
|
|
2714
2587
|
"type": {
|
|
2715
|
-
"text": "
|
|
2716
|
-
}
|
|
2588
|
+
"text": "string | null"
|
|
2589
|
+
},
|
|
2590
|
+
"default": "null"
|
|
2717
2591
|
},
|
|
2718
2592
|
{
|
|
2719
2593
|
"kind": "field",
|
|
2720
|
-
"name": "
|
|
2594
|
+
"name": "activeGroups",
|
|
2721
2595
|
"type": {
|
|
2722
|
-
"text": "
|
|
2596
|
+
"text": "CriteriaGroup[]"
|
|
2723
2597
|
},
|
|
2724
|
-
"default": "
|
|
2598
|
+
"default": "[]"
|
|
2725
2599
|
},
|
|
2726
2600
|
{
|
|
2727
2601
|
"kind": "field",
|
|
2728
|
-
"name": "
|
|
2602
|
+
"name": "showingChips",
|
|
2729
2603
|
"type": {
|
|
2730
2604
|
"text": "boolean"
|
|
2731
2605
|
},
|
|
@@ -2733,14 +2607,15 @@
|
|
|
2733
2607
|
},
|
|
2734
2608
|
{
|
|
2735
2609
|
"kind": "field",
|
|
2736
|
-
"name": "
|
|
2610
|
+
"name": "fieldMetadata",
|
|
2737
2611
|
"type": {
|
|
2738
|
-
"text": "string"
|
|
2739
|
-
}
|
|
2612
|
+
"text": "MetadataDetail[] | string[]"
|
|
2613
|
+
},
|
|
2614
|
+
"default": "[]"
|
|
2740
2615
|
},
|
|
2741
2616
|
{
|
|
2742
2617
|
"kind": "field",
|
|
2743
|
-
"name": "
|
|
2618
|
+
"name": "isRecording",
|
|
2744
2619
|
"type": {
|
|
2745
2620
|
"text": "boolean"
|
|
2746
2621
|
},
|
|
@@ -2748,114 +2623,125 @@
|
|
|
2748
2623
|
},
|
|
2749
2624
|
{
|
|
2750
2625
|
"kind": "field",
|
|
2751
|
-
"name": "
|
|
2626
|
+
"name": "textAreaRef",
|
|
2752
2627
|
"type": {
|
|
2753
|
-
"text": "
|
|
2628
|
+
"text": "HTMLTextAreaElement"
|
|
2754
2629
|
},
|
|
2755
|
-
"
|
|
2630
|
+
"privacy": "public"
|
|
2756
2631
|
},
|
|
2757
2632
|
{
|
|
2758
2633
|
"kind": "field",
|
|
2759
|
-
"name": "
|
|
2634
|
+
"name": "stopRecording",
|
|
2760
2635
|
"type": {
|
|
2761
|
-
"text": "
|
|
2762
|
-
}
|
|
2636
|
+
"text": "(() => void) | null"
|
|
2637
|
+
},
|
|
2638
|
+
"privacy": "private",
|
|
2639
|
+
"default": "null"
|
|
2763
2640
|
},
|
|
2764
2641
|
{
|
|
2765
2642
|
"kind": "field",
|
|
2766
|
-
"name": "
|
|
2643
|
+
"name": "speechApplyDebounceTimer",
|
|
2767
2644
|
"type": {
|
|
2768
|
-
"text": "
|
|
2769
|
-
}
|
|
2645
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2646
|
+
},
|
|
2647
|
+
"privacy": "private",
|
|
2648
|
+
"default": "null"
|
|
2770
2649
|
},
|
|
2771
2650
|
{
|
|
2772
2651
|
"kind": "field",
|
|
2773
|
-
"name": "
|
|
2652
|
+
"name": "speechAvailable",
|
|
2774
2653
|
"type": {
|
|
2775
|
-
"text": "
|
|
2776
|
-
}
|
|
2654
|
+
"text": "boolean"
|
|
2655
|
+
},
|
|
2656
|
+
"readonly": true
|
|
2777
2657
|
},
|
|
2778
2658
|
{
|
|
2779
|
-
"kind": "
|
|
2780
|
-
"name": "
|
|
2781
|
-
"
|
|
2659
|
+
"kind": "field",
|
|
2660
|
+
"name": "criteriaChips",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "CriteriaChip[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2782
2665
|
},
|
|
2783
2666
|
{
|
|
2784
2667
|
"kind": "method",
|
|
2785
|
-
"name": "
|
|
2786
|
-
"privacy": "
|
|
2668
|
+
"name": "getFieldLabel",
|
|
2669
|
+
"privacy": "private",
|
|
2670
|
+
"return": {
|
|
2671
|
+
"type": {
|
|
2672
|
+
"text": "string"
|
|
2673
|
+
}
|
|
2674
|
+
},
|
|
2787
2675
|
"parameters": [
|
|
2788
2676
|
{
|
|
2789
|
-
"name": "
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "any"
|
|
2792
|
-
}
|
|
2793
|
-
},
|
|
2794
|
-
{
|
|
2795
|
-
"name": "newValue",
|
|
2677
|
+
"name": "fieldName",
|
|
2796
2678
|
"type": {
|
|
2797
|
-
"text": "
|
|
2679
|
+
"text": "string"
|
|
2798
2680
|
}
|
|
2799
2681
|
}
|
|
2800
2682
|
]
|
|
2801
2683
|
},
|
|
2802
2684
|
{
|
|
2803
2685
|
"kind": "method",
|
|
2804
|
-
"name": "
|
|
2805
|
-
"
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2686
|
+
"name": "toggleCriteriaView",
|
|
2687
|
+
"return": {
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "void"
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2810
2692
|
},
|
|
2811
2693
|
{
|
|
2812
2694
|
"kind": "method",
|
|
2813
|
-
"name": "
|
|
2695
|
+
"name": "removeChip",
|
|
2696
|
+
"return": {
|
|
2697
|
+
"type": {
|
|
2698
|
+
"text": "void"
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2814
2701
|
"parameters": [
|
|
2815
2702
|
{
|
|
2816
|
-
"name": "
|
|
2703
|
+
"name": "groupIndex",
|
|
2817
2704
|
"type": {
|
|
2818
|
-
"text": "
|
|
2705
|
+
"text": "number"
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "clauseIndex",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "number"
|
|
2819
2712
|
}
|
|
2820
2713
|
}
|
|
2821
2714
|
]
|
|
2822
2715
|
},
|
|
2823
2716
|
{
|
|
2824
|
-
"kind": "
|
|
2825
|
-
"name": "
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2828
|
-
|
|
2829
|
-
|
|
2717
|
+
"kind": "method",
|
|
2718
|
+
"name": "clearChips",
|
|
2719
|
+
"return": {
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "void"
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2830
2724
|
},
|
|
2831
2725
|
{
|
|
2832
|
-
"kind": "
|
|
2833
|
-
"name": "
|
|
2834
|
-
"readonly": true
|
|
2726
|
+
"kind": "method",
|
|
2727
|
+
"name": "handleSubmit"
|
|
2835
2728
|
},
|
|
2836
2729
|
{
|
|
2837
2730
|
"kind": "method",
|
|
2838
|
-
"name": "
|
|
2839
|
-
"parameters": [
|
|
2840
|
-
{
|
|
2841
|
-
"name": "name",
|
|
2842
|
-
"type": {
|
|
2843
|
-
"text": "string | ((rowData: any) => string)"
|
|
2844
|
-
}
|
|
2845
|
-
}
|
|
2846
|
-
]
|
|
2731
|
+
"name": "handleBlur"
|
|
2847
2732
|
},
|
|
2848
2733
|
{
|
|
2849
2734
|
"kind": "method",
|
|
2850
|
-
"name": "
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2735
|
+
"name": "clear"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "method",
|
|
2739
|
+
"name": "toggleSpeechInput"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "clearSpeechApplyDebounce",
|
|
2744
|
+
"privacy": "private"
|
|
2859
2745
|
},
|
|
2860
2746
|
{
|
|
2861
2747
|
"kind": "field",
|
|
@@ -2969,142 +2855,256 @@
|
|
|
2969
2855
|
}
|
|
2970
2856
|
}
|
|
2971
2857
|
],
|
|
2972
|
-
"
|
|
2973
|
-
{
|
|
2974
|
-
"name": "is-vertical",
|
|
2975
|
-
"type": {
|
|
2976
|
-
"text": "boolean"
|
|
2977
|
-
},
|
|
2978
|
-
"default": "false",
|
|
2979
|
-
"fieldName": "isVertical"
|
|
2980
|
-
},
|
|
2981
|
-
{
|
|
2982
|
-
"name": "add-default-actions",
|
|
2983
|
-
"type": {
|
|
2984
|
-
"text": "boolean"
|
|
2985
|
-
},
|
|
2986
|
-
"default": "true",
|
|
2987
|
-
"fieldName": "addDefaultActions"
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"name": "auto-close-on-action",
|
|
2991
|
-
"type": {
|
|
2992
|
-
"text": "boolean"
|
|
2993
|
-
},
|
|
2994
|
-
"default": "true",
|
|
2995
|
-
"fieldName": "autoCloseOnAction"
|
|
2996
|
-
},
|
|
2858
|
+
"events": [
|
|
2997
2859
|
{
|
|
2998
|
-
"
|
|
2999
|
-
"
|
|
3000
|
-
"text": "string"
|
|
3001
|
-
},
|
|
3002
|
-
"default": "'Actions'",
|
|
3003
|
-
"fieldName": "name"
|
|
2860
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2861
|
+
"name": "criteria-changed"
|
|
3004
2862
|
},
|
|
3005
2863
|
{
|
|
3006
|
-
"
|
|
3007
|
-
"
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
"fieldName": "open"
|
|
3012
|
-
},
|
|
2864
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2865
|
+
"name": "validation-errors"
|
|
2866
|
+
}
|
|
2867
|
+
],
|
|
2868
|
+
"attributes": [
|
|
3013
2869
|
{
|
|
3014
|
-
"name": "
|
|
2870
|
+
"name": "placeholder",
|
|
3015
2871
|
"type": {
|
|
3016
2872
|
"text": "string"
|
|
3017
2873
|
},
|
|
3018
|
-
"
|
|
3019
|
-
|
|
3020
|
-
{
|
|
3021
|
-
"name": "hide-disabled",
|
|
3022
|
-
"type": {
|
|
3023
|
-
"text": "boolean"
|
|
3024
|
-
},
|
|
3025
|
-
"default": "false",
|
|
3026
|
-
"fieldName": "hideDisabled"
|
|
2874
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2875
|
+
"fieldName": "placeholder"
|
|
3027
2876
|
},
|
|
3028
2877
|
{
|
|
3029
|
-
"name": "hide-menu-single-option",
|
|
3030
2878
|
"type": {
|
|
3031
2879
|
"text": "boolean"
|
|
3032
2880
|
},
|
|
3033
|
-
"
|
|
3034
|
-
"fieldName": "hideMenuSingleOption"
|
|
2881
|
+
"fieldName": "disabled"
|
|
3035
2882
|
}
|
|
3036
2883
|
],
|
|
3037
2884
|
"superclass": {
|
|
3038
2885
|
"name": "FoundationElement",
|
|
3039
2886
|
"package": "@microsoft/fast-foundation"
|
|
3040
2887
|
},
|
|
3041
|
-
"tagName": "%%prefix%%-
|
|
2888
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3042
2889
|
"customElement": true
|
|
3043
2890
|
},
|
|
3044
2891
|
{
|
|
3045
2892
|
"kind": "variable",
|
|
3046
|
-
"name": "
|
|
3047
|
-
"
|
|
3048
|
-
|
|
2893
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2894
|
+
"type": {
|
|
2895
|
+
"text": "ShadowRootInit"
|
|
2896
|
+
},
|
|
2897
|
+
"default": "undefined"
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"kind": "variable",
|
|
2901
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "object"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "{}"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "variable",
|
|
2909
|
+
"name": "foundationAiCriteriaSearch"
|
|
3049
2910
|
}
|
|
3050
2911
|
],
|
|
3051
2912
|
"exports": [
|
|
3052
2913
|
{
|
|
3053
2914
|
"kind": "js",
|
|
3054
|
-
"name": "
|
|
2915
|
+
"name": "AiCriteriaSearch",
|
|
3055
2916
|
"declaration": {
|
|
3056
|
-
"name": "
|
|
3057
|
-
"module": "src/
|
|
2917
|
+
"name": "AiCriteriaSearch",
|
|
2918
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3058
2919
|
}
|
|
3059
2920
|
},
|
|
3060
2921
|
{
|
|
3061
2922
|
"kind": "js",
|
|
3062
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3063
2924
|
"declaration": {
|
|
3064
|
-
"name": "
|
|
3065
|
-
"module": "src/
|
|
2925
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "js",
|
|
2931
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2932
|
+
"declaration": {
|
|
2933
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2934
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"kind": "js",
|
|
2939
|
+
"name": "foundationAiCriteriaSearch",
|
|
2940
|
+
"declaration": {
|
|
2941
|
+
"name": "foundationAiCriteriaSearch",
|
|
2942
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3066
2943
|
}
|
|
3067
2944
|
}
|
|
3068
2945
|
]
|
|
3069
2946
|
},
|
|
3070
2947
|
{
|
|
3071
2948
|
"kind": "javascript-module",
|
|
3072
|
-
"path": "src/
|
|
2949
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3073
2950
|
"declarations": [],
|
|
3074
2951
|
"exports": [
|
|
3075
2952
|
{
|
|
3076
2953
|
"kind": "js",
|
|
3077
|
-
"name": "
|
|
3078
|
-
"declaration": {
|
|
3079
|
-
"name": "
|
|
3080
|
-
"
|
|
3081
|
-
}
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "js",
|
|
3085
|
-
"name": "
|
|
2954
|
+
"name": "AiCriteriaSearch",
|
|
2955
|
+
"declaration": {
|
|
2956
|
+
"name": "AiCriteriaSearch",
|
|
2957
|
+
"module": "./ai-criteria-search"
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"kind": "js",
|
|
2962
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
+
"declaration": {
|
|
2964
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
+
"module": "./ai-criteria-search"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "js",
|
|
2970
|
+
"name": "foundationAiCriteriaSearch",
|
|
2971
|
+
"declaration": {
|
|
2972
|
+
"name": "foundationAiCriteriaSearch",
|
|
2973
|
+
"module": "./ai-criteria-search"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
"kind": "js",
|
|
2978
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
+
"module": "./ai-criteria-search"
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
+
"module": "./ai-criteria-search.styles"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "js",
|
|
2994
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
+
"declaration": {
|
|
2996
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2997
|
+
"module": "./ai-criteria-search.template"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "js",
|
|
3002
|
+
"name": "*",
|
|
3003
|
+
"declaration": {
|
|
3004
|
+
"name": "*",
|
|
3005
|
+
"package": "./validation/criteria-ir"
|
|
3006
|
+
}
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "js",
|
|
3010
|
+
"name": "*",
|
|
3011
|
+
"declaration": {
|
|
3012
|
+
"name": "*",
|
|
3013
|
+
"package": "./validation/operator-map"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "js",
|
|
3018
|
+
"name": "*",
|
|
3019
|
+
"declaration": {
|
|
3020
|
+
"name": "*",
|
|
3021
|
+
"package": "./validation/schema-validator"
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"kind": "javascript-module",
|
|
3028
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
+
"declarations": [
|
|
3030
|
+
{
|
|
3031
|
+
"kind": "function",
|
|
3032
|
+
"name": "formatValidationErrors",
|
|
3033
|
+
"return": {
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"parameters": [
|
|
3039
|
+
{
|
|
3040
|
+
"name": "errors",
|
|
3041
|
+
"type": {
|
|
3042
|
+
"text": "ValidationError[]"
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
],
|
|
3046
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"name": "showCriteriaError",
|
|
3051
|
+
"return": {
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "void"
|
|
3054
|
+
}
|
|
3055
|
+
},
|
|
3056
|
+
"parameters": [
|
|
3057
|
+
{
|
|
3058
|
+
"name": "title",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"name": "body",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"description": "Error message to display"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "tagName",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"exports": [
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "js",
|
|
3085
|
+
"name": "formatValidationErrors",
|
|
3086
3086
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"
|
|
3087
|
+
"name": "formatValidationErrors",
|
|
3088
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
3089
|
}
|
|
3090
3090
|
},
|
|
3091
3091
|
{
|
|
3092
3092
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
3093
|
+
"name": "showCriteriaError",
|
|
3094
3094
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"
|
|
3095
|
+
"name": "showCriteriaError",
|
|
3096
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3097
3097
|
}
|
|
3098
3098
|
}
|
|
3099
3099
|
]
|
|
3100
3100
|
},
|
|
3101
3101
|
{
|
|
3102
3102
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3103
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3104
3104
|
"declarations": [
|
|
3105
3105
|
{
|
|
3106
3106
|
"kind": "function",
|
|
3107
|
-
"name": "
|
|
3107
|
+
"name": "foundationAiIndicatorStyles",
|
|
3108
3108
|
"return": {
|
|
3109
3109
|
"type": {
|
|
3110
3110
|
"text": "ElementStyles"
|
|
@@ -3129,276 +3129,224 @@
|
|
|
3129
3129
|
"exports": [
|
|
3130
3130
|
{
|
|
3131
3131
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3132
|
+
"name": "foundationAiIndicatorStyles",
|
|
3133
3133
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3134
|
+
"name": "foundationAiIndicatorStyles",
|
|
3135
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
3138
|
]
|
|
3139
3139
|
},
|
|
3140
3140
|
{
|
|
3141
3141
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3142
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3143
3143
|
"declarations": [
|
|
3144
3144
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3145
|
+
"kind": "variable",
|
|
3146
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3147
|
+
"type": {
|
|
3148
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3151
3149
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3150
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3166
3151
|
}
|
|
3167
3152
|
],
|
|
3168
3153
|
"exports": [
|
|
3169
3154
|
{
|
|
3170
3155
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3156
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3172
3157
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3158
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3159
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3175
3160
|
}
|
|
3176
3161
|
}
|
|
3177
3162
|
]
|
|
3178
3163
|
},
|
|
3179
3164
|
{
|
|
3180
3165
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3166
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3182
3167
|
"declarations": [
|
|
3183
3168
|
{
|
|
3184
3169
|
"kind": "class",
|
|
3185
3170
|
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3171
|
+
"name": "AiIndicator",
|
|
3172
|
+
"members": [
|
|
3194
3173
|
{
|
|
3195
|
-
"
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "providerRegistry",
|
|
3196
3176
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3177
|
+
"text": "AIProviderRegistry"
|
|
3204
3178
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3179
|
+
},
|
|
3208
3180
|
{
|
|
3209
3181
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3182
|
+
"name": "aiProvider",
|
|
3211
3183
|
"type": {
|
|
3212
|
-
"text": "
|
|
3184
|
+
"text": "AIProvider | undefined"
|
|
3213
3185
|
},
|
|
3214
|
-
"privacy": "
|
|
3215
|
-
"description": "
|
|
3216
|
-
"
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3186
|
+
"privacy": "private",
|
|
3187
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3188
|
+
"readonly": true
|
|
3220
3189
|
},
|
|
3221
3190
|
{
|
|
3222
3191
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3192
|
+
"name": "status",
|
|
3224
3193
|
"type": {
|
|
3225
|
-
"text": "
|
|
3194
|
+
"text": "AIStatus | null"
|
|
3226
3195
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3196
|
+
"default": "null"
|
|
3232
3197
|
},
|
|
3233
3198
|
{
|
|
3234
3199
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3200
|
+
"name": "open",
|
|
3236
3201
|
"type": {
|
|
3237
|
-
"text": "
|
|
3202
|
+
"text": "boolean"
|
|
3238
3203
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3204
|
+
"default": "false"
|
|
3245
3205
|
},
|
|
3246
3206
|
{
|
|
3247
3207
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3208
|
+
"name": "state",
|
|
3249
3209
|
"type": {
|
|
3250
|
-
"text": "
|
|
3210
|
+
"text": "AIIndicatorState"
|
|
3251
3211
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3212
|
+
"default": "'none'"
|
|
3257
3213
|
},
|
|
3258
3214
|
{
|
|
3259
3215
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3216
|
+
"name": "isInstalling",
|
|
3217
|
+
"type": {
|
|
3218
|
+
"text": "boolean"
|
|
3219
|
+
},
|
|
3220
|
+
"default": "false"
|
|
3266
3221
|
},
|
|
3267
3222
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "pollTimer",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3227
|
+
},
|
|
3270
3228
|
"privacy": "private",
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3229
|
+
"default": "null"
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"kind": "field",
|
|
3233
|
+
"name": "clickOutside",
|
|
3234
|
+
"privacy": "private"
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"kind": "field",
|
|
3238
|
+
"name": "chromeStatusLabel",
|
|
3239
|
+
"type": {
|
|
3240
|
+
"text": "string | null"
|
|
3275
3241
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3242
|
+
"readonly": true
|
|
3280
3243
|
},
|
|
3281
3244
|
{
|
|
3282
3245
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3246
|
+
"name": "canInstall",
|
|
3247
|
+
"type": {
|
|
3248
|
+
"text": "boolean"
|
|
3249
|
+
},
|
|
3250
|
+
"readonly": true
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "field",
|
|
3254
|
+
"name": "isDownloading",
|
|
3255
|
+
"type": {
|
|
3256
|
+
"text": "boolean"
|
|
3257
|
+
},
|
|
3258
|
+
"readonly": true
|
|
3289
3259
|
},
|
|
3290
3260
|
{
|
|
3291
3261
|
"kind": "method",
|
|
3292
|
-
"name": "
|
|
3293
|
-
"privacy": "private",
|
|
3262
|
+
"name": "openChanged",
|
|
3294
3263
|
"return": {
|
|
3295
3264
|
"type": {
|
|
3296
3265
|
"text": "void"
|
|
3297
3266
|
}
|
|
3298
|
-
},
|
|
3299
|
-
"inheritedFrom": {
|
|
3300
|
-
"name": "Accordion",
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
3267
|
}
|
|
3303
3268
|
},
|
|
3304
3269
|
{
|
|
3305
|
-
"kind": "
|
|
3306
|
-
"name": "
|
|
3270
|
+
"kind": "method",
|
|
3271
|
+
"name": "handleClickOutside",
|
|
3307
3272
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3273
|
+
"parameters": [
|
|
3274
|
+
{
|
|
3275
|
+
"name": "event",
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "MouseEvent"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
3312
3281
|
},
|
|
3313
3282
|
{
|
|
3314
|
-
"kind": "
|
|
3315
|
-
"name": "
|
|
3316
|
-
"privacy": "private",
|
|
3317
|
-
"inheritedFrom": {
|
|
3318
|
-
"name": "Accordion",
|
|
3319
|
-
"module": "src/accordion/accordion.ts"
|
|
3320
|
-
}
|
|
3283
|
+
"kind": "method",
|
|
3284
|
+
"name": "toggleDropdown"
|
|
3321
3285
|
},
|
|
3322
3286
|
{
|
|
3323
3287
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3325
|
-
"privacy": "private",
|
|
3288
|
+
"name": "refreshStatus",
|
|
3326
3289
|
"return": {
|
|
3327
3290
|
"type": {
|
|
3328
|
-
"text": "
|
|
3291
|
+
"text": "Promise<void>"
|
|
3329
3292
|
}
|
|
3330
|
-
},
|
|
3331
|
-
"inheritedFrom": {
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
3293
|
}
|
|
3335
3294
|
},
|
|
3336
3295
|
{
|
|
3337
3296
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3297
|
+
"name": "deriveState",
|
|
3339
3298
|
"privacy": "private",
|
|
3340
3299
|
"return": {
|
|
3341
3300
|
"type": {
|
|
3342
|
-
"text": "
|
|
3301
|
+
"text": "AIIndicatorState"
|
|
3343
3302
|
}
|
|
3344
3303
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3304
|
+
"parameters": [
|
|
3305
|
+
{
|
|
3306
|
+
"name": "s",
|
|
3307
|
+
"type": {
|
|
3308
|
+
"text": "AIStatus | null"
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
]
|
|
3349
3312
|
},
|
|
3350
3313
|
{
|
|
3351
|
-
"kind": "
|
|
3352
|
-
"name": "
|
|
3314
|
+
"kind": "method",
|
|
3315
|
+
"name": "maybeStartPolling",
|
|
3353
3316
|
"privacy": "private",
|
|
3354
|
-
"
|
|
3355
|
-
"
|
|
3356
|
-
|
|
3317
|
+
"return": {
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "void"
|
|
3320
|
+
}
|
|
3357
3321
|
}
|
|
3358
3322
|
},
|
|
3359
3323
|
{
|
|
3360
|
-
"kind": "
|
|
3361
|
-
"name": "
|
|
3324
|
+
"kind": "method",
|
|
3325
|
+
"name": "startPolling",
|
|
3362
3326
|
"privacy": "private",
|
|
3363
|
-
"
|
|
3364
|
-
"
|
|
3365
|
-
|
|
3327
|
+
"return": {
|
|
3328
|
+
"type": {
|
|
3329
|
+
"text": "void"
|
|
3330
|
+
}
|
|
3366
3331
|
}
|
|
3367
3332
|
},
|
|
3368
3333
|
{
|
|
3369
3334
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3335
|
+
"name": "stopPolling",
|
|
3371
3336
|
"privacy": "private",
|
|
3372
3337
|
"return": {
|
|
3373
3338
|
"type": {
|
|
3374
3339
|
"text": "void"
|
|
3375
3340
|
}
|
|
3376
|
-
},
|
|
3377
|
-
"parameters": [
|
|
3378
|
-
{
|
|
3379
|
-
"name": "adjustment",
|
|
3380
|
-
"type": {
|
|
3381
|
-
"text": "number"
|
|
3382
|
-
}
|
|
3383
|
-
}
|
|
3384
|
-
],
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
3341
|
}
|
|
3389
3342
|
},
|
|
3390
3343
|
{
|
|
3391
3344
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3345
|
+
"name": "onInstall",
|
|
3394
3346
|
"return": {
|
|
3395
3347
|
"type": {
|
|
3396
|
-
"text": "void"
|
|
3348
|
+
"text": "Promise<void>"
|
|
3397
3349
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3350
|
}
|
|
3403
3351
|
},
|
|
3404
3352
|
{
|
|
@@ -3513,113 +3461,99 @@
|
|
|
3513
3461
|
}
|
|
3514
3462
|
}
|
|
3515
3463
|
],
|
|
3516
|
-
"
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
"name": "change",
|
|
3520
|
-
"inheritedFrom": {
|
|
3521
|
-
"name": "Accordion",
|
|
3522
|
-
"module": "src/accordion/accordion.ts"
|
|
3523
|
-
}
|
|
3524
|
-
}
|
|
3525
|
-
]
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"kind": "variable",
|
|
3529
|
-
"name": "foundationAccordionShadowOptions",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "ShadowRootInit"
|
|
3532
|
-
},
|
|
3533
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "variable",
|
|
3537
|
-
"name": "defaultAccordionConfig",
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "object"
|
|
3464
|
+
"superclass": {
|
|
3465
|
+
"name": "FoundationElement",
|
|
3466
|
+
"package": "@microsoft/fast-foundation"
|
|
3540
3467
|
},
|
|
3541
|
-
"
|
|
3468
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3469
|
+
"customElement": true
|
|
3542
3470
|
},
|
|
3543
3471
|
{
|
|
3544
3472
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3473
|
+
"name": "foundationAiIndicator"
|
|
3548
3474
|
}
|
|
3549
3475
|
],
|
|
3550
3476
|
"exports": [
|
|
3551
3477
|
{
|
|
3552
3478
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3479
|
+
"name": "AiIndicator",
|
|
3554
3480
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3481
|
+
"name": "AiIndicator",
|
|
3482
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3557
3483
|
}
|
|
3558
3484
|
},
|
|
3559
3485
|
{
|
|
3560
3486
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3487
|
+
"name": "foundationAiIndicator",
|
|
3562
3488
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3489
|
+
"name": "foundationAiIndicator",
|
|
3490
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
]
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"kind": "javascript-module",
|
|
3497
|
+
"path": "src/ai-indicator/index.ts",
|
|
3498
|
+
"declarations": [],
|
|
3499
|
+
"exports": [
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "js",
|
|
3502
|
+
"name": "AiIndicator",
|
|
3503
|
+
"declaration": {
|
|
3504
|
+
"name": "AiIndicator",
|
|
3505
|
+
"module": "./ai-indicator"
|
|
3565
3506
|
}
|
|
3566
3507
|
},
|
|
3567
3508
|
{
|
|
3568
3509
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3510
|
+
"name": "foundationAiIndicator",
|
|
3570
3511
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "
|
|
3512
|
+
"name": "foundationAiIndicator",
|
|
3513
|
+
"module": "./ai-indicator"
|
|
3573
3514
|
}
|
|
3574
3515
|
},
|
|
3575
3516
|
{
|
|
3576
3517
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3518
|
+
"name": "type",
|
|
3578
3519
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "
|
|
3520
|
+
"name": "type",
|
|
3521
|
+
"module": "./ai-indicator"
|
|
3581
3522
|
}
|
|
3582
|
-
}
|
|
3583
|
-
]
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/accordion/index.ts",
|
|
3588
|
-
"declarations": [],
|
|
3589
|
-
"exports": [
|
|
3523
|
+
},
|
|
3590
3524
|
{
|
|
3591
3525
|
"kind": "js",
|
|
3592
|
-
"name": "
|
|
3526
|
+
"name": "AIIndicatorState",
|
|
3593
3527
|
"declaration": {
|
|
3594
|
-
"name": "
|
|
3595
|
-
"
|
|
3528
|
+
"name": "AIIndicatorState",
|
|
3529
|
+
"module": "./ai-indicator"
|
|
3596
3530
|
}
|
|
3597
3531
|
},
|
|
3598
3532
|
{
|
|
3599
3533
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3534
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3601
3535
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3536
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3537
|
+
"module": "./ai-indicator.template"
|
|
3604
3538
|
}
|
|
3605
3539
|
},
|
|
3606
3540
|
{
|
|
3607
3541
|
"kind": "js",
|
|
3608
|
-
"name": "
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3609
3543
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"
|
|
3544
|
+
"name": "foundationAiIndicatorStyles",
|
|
3545
|
+
"module": "./ai-indicator.styles"
|
|
3612
3546
|
}
|
|
3613
3547
|
}
|
|
3614
3548
|
]
|
|
3615
3549
|
},
|
|
3616
3550
|
{
|
|
3617
3551
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3619
3553
|
"declarations": [
|
|
3620
3554
|
{
|
|
3621
3555
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3623
3557
|
"return": {
|
|
3624
3558
|
"type": {
|
|
3625
3559
|
"text": "ElementStyles"
|
|
@@ -3644,224 +3578,276 @@
|
|
|
3644
3578
|
"exports": [
|
|
3645
3579
|
{
|
|
3646
3580
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3648
3582
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3651
3585
|
}
|
|
3652
3586
|
}
|
|
3653
3587
|
]
|
|
3654
3588
|
},
|
|
3655
3589
|
{
|
|
3656
3590
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3658
3592
|
"declarations": [
|
|
3659
3593
|
{
|
|
3660
|
-
"kind": "
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3594
|
+
"kind": "function",
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3596
|
+
"return": {
|
|
3597
|
+
"type": {
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3599
|
+
}
|
|
3664
3600
|
},
|
|
3665
|
-
"
|
|
3601
|
+
"parameters": [
|
|
3602
|
+
{
|
|
3603
|
+
"name": "context",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "ElementDefinitionContext"
|
|
3606
|
+
}
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "definition",
|
|
3610
|
+
"type": {
|
|
3611
|
+
"text": "FoundationElementDefinition"
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
]
|
|
3666
3615
|
}
|
|
3667
3616
|
],
|
|
3668
3617
|
"exports": [
|
|
3669
3618
|
{
|
|
3670
3619
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
3620
|
+
"name": "foundationAccordionTemplate",
|
|
3672
3621
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/
|
|
3622
|
+
"name": "foundationAccordionTemplate",
|
|
3623
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3675
3624
|
}
|
|
3676
3625
|
}
|
|
3677
3626
|
]
|
|
3678
3627
|
},
|
|
3679
3628
|
{
|
|
3680
3629
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/
|
|
3630
|
+
"path": "src/accordion/accordion.ts",
|
|
3682
3631
|
"declarations": [
|
|
3683
3632
|
{
|
|
3684
3633
|
"kind": "class",
|
|
3685
3634
|
"description": "",
|
|
3686
|
-
"name": "
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
},
|
|
3695
|
-
{
|
|
3696
|
-
"kind": "field",
|
|
3697
|
-
"name": "aiProvider",
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "AIProvider | undefined"
|
|
3700
|
-
},
|
|
3701
|
-
"privacy": "private",
|
|
3702
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
-
"readonly": true
|
|
3704
|
-
},
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"superclass": {
|
|
3637
|
+
"name": "FASTAccordion",
|
|
3638
|
+
"package": "@microsoft/fast-foundation"
|
|
3639
|
+
},
|
|
3640
|
+
"tagName": "%%prefix%%-accordion",
|
|
3641
|
+
"customElement": true,
|
|
3642
|
+
"attributes": [
|
|
3705
3643
|
{
|
|
3706
|
-
"
|
|
3707
|
-
"name": "status",
|
|
3644
|
+
"name": "expand-mode",
|
|
3708
3645
|
"type": {
|
|
3709
|
-
"text": "
|
|
3646
|
+
"text": "AccordionExpandMode"
|
|
3710
3647
|
},
|
|
3711
|
-
"
|
|
3712
|
-
|
|
3648
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3649
|
+
"fieldName": "expandmode",
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"members": [
|
|
3713
3657
|
{
|
|
3714
3658
|
"kind": "field",
|
|
3715
|
-
"name": "
|
|
3659
|
+
"name": "expandmode",
|
|
3716
3660
|
"type": {
|
|
3717
|
-
"text": "
|
|
3661
|
+
"text": "AccordionExpandMode"
|
|
3718
3662
|
},
|
|
3719
|
-
"
|
|
3663
|
+
"privacy": "public",
|
|
3664
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "Accordion",
|
|
3667
|
+
"module": "src/accordion/accordion.ts"
|
|
3668
|
+
}
|
|
3720
3669
|
},
|
|
3721
3670
|
{
|
|
3722
3671
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3672
|
+
"name": "activeid",
|
|
3724
3673
|
"type": {
|
|
3725
|
-
"text": "
|
|
3674
|
+
"text": "string | null"
|
|
3726
3675
|
},
|
|
3727
|
-
"
|
|
3676
|
+
"privacy": "private",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3680
|
+
}
|
|
3728
3681
|
},
|
|
3729
3682
|
{
|
|
3730
3683
|
"kind": "field",
|
|
3731
|
-
"name": "
|
|
3684
|
+
"name": "activeItemIndex",
|
|
3732
3685
|
"type": {
|
|
3733
|
-
"text": "
|
|
3686
|
+
"text": "number"
|
|
3734
3687
|
},
|
|
3735
|
-
"
|
|
3688
|
+
"privacy": "private",
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"inheritedFrom": {
|
|
3691
|
+
"name": "Accordion",
|
|
3692
|
+
"module": "src/accordion/accordion.ts"
|
|
3693
|
+
}
|
|
3736
3694
|
},
|
|
3737
3695
|
{
|
|
3738
3696
|
"kind": "field",
|
|
3739
|
-
"name": "
|
|
3697
|
+
"name": "accordionIds",
|
|
3740
3698
|
"type": {
|
|
3741
|
-
"text": "
|
|
3699
|
+
"text": "Array<string | null>"
|
|
3742
3700
|
},
|
|
3743
3701
|
"privacy": "private",
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
"name": "clickOutside",
|
|
3749
|
-
"privacy": "private"
|
|
3702
|
+
"inheritedFrom": {
|
|
3703
|
+
"name": "Accordion",
|
|
3704
|
+
"module": "src/accordion/accordion.ts"
|
|
3705
|
+
}
|
|
3750
3706
|
},
|
|
3751
3707
|
{
|
|
3752
3708
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3754
|
-
"
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3709
|
+
"name": "change",
|
|
3710
|
+
"privacy": "private",
|
|
3711
|
+
"inheritedFrom": {
|
|
3712
|
+
"name": "Accordion",
|
|
3713
|
+
"module": "src/accordion/accordion.ts"
|
|
3714
|
+
}
|
|
3758
3715
|
},
|
|
3759
3716
|
{
|
|
3760
|
-
"kind": "
|
|
3761
|
-
"name": "
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "findExpandedItem",
|
|
3719
|
+
"privacy": "private",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "AccordionItem | null"
|
|
3723
|
+
}
|
|
3764
3724
|
},
|
|
3765
|
-
"
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Accordion",
|
|
3727
|
+
"module": "src/accordion/accordion.ts"
|
|
3728
|
+
}
|
|
3766
3729
|
},
|
|
3767
3730
|
{
|
|
3768
3731
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3770
|
-
"
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3732
|
+
"name": "setItems",
|
|
3733
|
+
"privacy": "private",
|
|
3734
|
+
"inheritedFrom": {
|
|
3735
|
+
"name": "Accordion",
|
|
3736
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
|
+
}
|
|
3774
3738
|
},
|
|
3775
3739
|
{
|
|
3776
3740
|
"kind": "method",
|
|
3777
|
-
"name": "
|
|
3741
|
+
"name": "resetItems",
|
|
3742
|
+
"privacy": "private",
|
|
3778
3743
|
"return": {
|
|
3779
3744
|
"type": {
|
|
3780
3745
|
"text": "void"
|
|
3781
3746
|
}
|
|
3747
|
+
},
|
|
3748
|
+
"inheritedFrom": {
|
|
3749
|
+
"name": "Accordion",
|
|
3750
|
+
"module": "src/accordion/accordion.ts"
|
|
3782
3751
|
}
|
|
3783
3752
|
},
|
|
3784
3753
|
{
|
|
3785
|
-
"kind": "
|
|
3786
|
-
"name": "
|
|
3754
|
+
"kind": "field",
|
|
3755
|
+
"name": "removeItemListeners",
|
|
3787
3756
|
"privacy": "private",
|
|
3788
|
-
"
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
"text": "MouseEvent"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3760
|
+
}
|
|
3796
3761
|
},
|
|
3797
3762
|
{
|
|
3798
|
-
"kind": "
|
|
3799
|
-
"name": "
|
|
3763
|
+
"kind": "field",
|
|
3764
|
+
"name": "activeItemChange",
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"inheritedFrom": {
|
|
3767
|
+
"name": "Accordion",
|
|
3768
|
+
"module": "src/accordion/accordion.ts"
|
|
3769
|
+
}
|
|
3800
3770
|
},
|
|
3801
3771
|
{
|
|
3802
3772
|
"kind": "method",
|
|
3803
|
-
"name": "
|
|
3773
|
+
"name": "getItemIds",
|
|
3774
|
+
"privacy": "private",
|
|
3804
3775
|
"return": {
|
|
3805
3776
|
"type": {
|
|
3806
|
-
"text": "
|
|
3777
|
+
"text": "Array<string | null>"
|
|
3807
3778
|
}
|
|
3779
|
+
},
|
|
3780
|
+
"inheritedFrom": {
|
|
3781
|
+
"name": "Accordion",
|
|
3782
|
+
"module": "src/accordion/accordion.ts"
|
|
3808
3783
|
}
|
|
3809
3784
|
},
|
|
3810
3785
|
{
|
|
3811
3786
|
"kind": "method",
|
|
3812
|
-
"name": "
|
|
3787
|
+
"name": "isSingleExpandMode",
|
|
3813
3788
|
"privacy": "private",
|
|
3814
3789
|
"return": {
|
|
3815
3790
|
"type": {
|
|
3816
|
-
"text": "
|
|
3791
|
+
"text": "boolean"
|
|
3817
3792
|
}
|
|
3818
3793
|
},
|
|
3819
|
-
"
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
"text": "AIStatus | null"
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3826
|
-
]
|
|
3794
|
+
"inheritedFrom": {
|
|
3795
|
+
"name": "Accordion",
|
|
3796
|
+
"module": "src/accordion/accordion.ts"
|
|
3797
|
+
}
|
|
3827
3798
|
},
|
|
3828
3799
|
{
|
|
3829
|
-
"kind": "
|
|
3830
|
-
"name": "
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "handleItemKeyDown",
|
|
3831
3802
|
"privacy": "private",
|
|
3832
|
-
"
|
|
3833
|
-
"
|
|
3834
|
-
|
|
3835
|
-
}
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Accordion",
|
|
3805
|
+
"module": "src/accordion/accordion.ts"
|
|
3836
3806
|
}
|
|
3837
3807
|
},
|
|
3838
3808
|
{
|
|
3839
|
-
"kind": "
|
|
3840
|
-
"name": "
|
|
3809
|
+
"kind": "field",
|
|
3810
|
+
"name": "handleItemFocus",
|
|
3841
3811
|
"privacy": "private",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
|
|
3845
|
-
}
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "Accordion",
|
|
3814
|
+
"module": "src/accordion/accordion.ts"
|
|
3846
3815
|
}
|
|
3847
3816
|
},
|
|
3848
3817
|
{
|
|
3849
3818
|
"kind": "method",
|
|
3850
|
-
"name": "
|
|
3819
|
+
"name": "adjust",
|
|
3851
3820
|
"privacy": "private",
|
|
3852
3821
|
"return": {
|
|
3853
3822
|
"type": {
|
|
3854
3823
|
"text": "void"
|
|
3855
3824
|
}
|
|
3825
|
+
},
|
|
3826
|
+
"parameters": [
|
|
3827
|
+
{
|
|
3828
|
+
"name": "adjustment",
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "number"
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
],
|
|
3834
|
+
"inheritedFrom": {
|
|
3835
|
+
"name": "Accordion",
|
|
3836
|
+
"module": "src/accordion/accordion.ts"
|
|
3856
3837
|
}
|
|
3857
3838
|
},
|
|
3858
3839
|
{
|
|
3859
3840
|
"kind": "method",
|
|
3860
|
-
"name": "
|
|
3841
|
+
"name": "focusItem",
|
|
3842
|
+
"privacy": "private",
|
|
3861
3843
|
"return": {
|
|
3862
3844
|
"type": {
|
|
3863
|
-
"text": "
|
|
3845
|
+
"text": "void"
|
|
3864
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "Accordion",
|
|
3850
|
+
"module": "src/accordion/accordion.ts"
|
|
3865
3851
|
}
|
|
3866
3852
|
},
|
|
3867
3853
|
{
|
|
@@ -3976,88 +3962,102 @@
|
|
|
3976
3962
|
}
|
|
3977
3963
|
}
|
|
3978
3964
|
],
|
|
3979
|
-
"
|
|
3980
|
-
|
|
3981
|
-
|
|
3965
|
+
"events": [
|
|
3966
|
+
{
|
|
3967
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3968
|
+
"name": "change",
|
|
3969
|
+
"inheritedFrom": {
|
|
3970
|
+
"name": "Accordion",
|
|
3971
|
+
"module": "src/accordion/accordion.ts"
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
]
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "variable",
|
|
3978
|
+
"name": "foundationAccordionShadowOptions",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "ShadowRootInit"
|
|
3982
3981
|
},
|
|
3983
|
-
"
|
|
3984
|
-
"customElement": true
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3985
3983
|
},
|
|
3986
3984
|
{
|
|
3987
3985
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionConfig",
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "object"
|
|
3989
|
+
},
|
|
3990
|
+
"default": "{}"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "variable",
|
|
3994
|
+
"name": "foundationAccordion",
|
|
3995
|
+
"description": "The Foundation Accordion",
|
|
3996
|
+
"privacy": "public"
|
|
3989
3997
|
}
|
|
3990
3998
|
],
|
|
3991
3999
|
"exports": [
|
|
3992
4000
|
{
|
|
3993
4001
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
4002
|
+
"name": "Accordion",
|
|
3995
4003
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/
|
|
4004
|
+
"name": "Accordion",
|
|
4005
|
+
"module": "src/accordion/accordion.ts"
|
|
3998
4006
|
}
|
|
3999
4007
|
},
|
|
4000
4008
|
{
|
|
4001
4009
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
4003
|
-
"declaration": {
|
|
4004
|
-
"name": "foundationAiIndicator",
|
|
4005
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
|
-
}
|
|
4007
|
-
}
|
|
4008
|
-
]
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/ai-indicator/index.ts",
|
|
4013
|
-
"declarations": [],
|
|
4014
|
-
"exports": [
|
|
4015
|
-
{
|
|
4016
|
-
"kind": "js",
|
|
4017
|
-
"name": "AiIndicator",
|
|
4010
|
+
"name": "foundationAccordionShadowOptions",
|
|
4018
4011
|
"declaration": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "
|
|
4012
|
+
"name": "foundationAccordionShadowOptions",
|
|
4013
|
+
"module": "src/accordion/accordion.ts"
|
|
4021
4014
|
}
|
|
4022
4015
|
},
|
|
4023
4016
|
{
|
|
4024
4017
|
"kind": "js",
|
|
4025
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionConfig",
|
|
4026
4019
|
"declaration": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "
|
|
4020
|
+
"name": "defaultAccordionConfig",
|
|
4021
|
+
"module": "src/accordion/accordion.ts"
|
|
4029
4022
|
}
|
|
4030
4023
|
},
|
|
4031
4024
|
{
|
|
4032
4025
|
"kind": "js",
|
|
4033
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordion",
|
|
4034
4027
|
"declaration": {
|
|
4035
|
-
"name": "
|
|
4036
|
-
"module": "
|
|
4028
|
+
"name": "foundationAccordion",
|
|
4029
|
+
"module": "src/accordion/accordion.ts"
|
|
4037
4030
|
}
|
|
4038
|
-
}
|
|
4031
|
+
}
|
|
4032
|
+
]
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "javascript-module",
|
|
4036
|
+
"path": "src/accordion/index.ts",
|
|
4037
|
+
"declarations": [],
|
|
4038
|
+
"exports": [
|
|
4039
4039
|
{
|
|
4040
4040
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
4041
|
+
"name": "*",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./accordion.template"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "*",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./accordion.styles"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "*",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./accordion"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|