@genesislcap/foundation-ui 14.492.1 → 14.493.0-GENC-1461.1
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 +951 -951
- package/dist/dts/react.d.ts +18 -18
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +19 -19
|
@@ -1954,11 +1954,34 @@
|
|
|
1954
1954
|
},
|
|
1955
1955
|
{
|
|
1956
1956
|
"kind": "javascript-module",
|
|
1957
|
-
"path": "src/
|
|
1957
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1958
1958
|
"declarations": [
|
|
1959
1959
|
{
|
|
1960
1960
|
"kind": "function",
|
|
1961
|
-
"name": "
|
|
1961
|
+
"name": "actionsMenuBaseStyles",
|
|
1962
|
+
"return": {
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "ElementStyles"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"parameters": [
|
|
1968
|
+
{
|
|
1969
|
+
"name": "context",
|
|
1970
|
+
"type": {
|
|
1971
|
+
"text": "ElementDefinitionContext"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "definition",
|
|
1976
|
+
"type": {
|
|
1977
|
+
"text": "FoundationElementDefinition"
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
]
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"kind": "function",
|
|
1984
|
+
"name": "foundationActionsMenuStyles",
|
|
1962
1985
|
"return": {
|
|
1963
1986
|
"type": {
|
|
1964
1987
|
"text": "ElementStyles"
|
|
@@ -1983,230 +2006,343 @@
|
|
|
1983
2006
|
"exports": [
|
|
1984
2007
|
{
|
|
1985
2008
|
"kind": "js",
|
|
1986
|
-
"name": "
|
|
2009
|
+
"name": "actionsMenuBaseStyles",
|
|
1987
2010
|
"declaration": {
|
|
1988
|
-
"name": "
|
|
1989
|
-
"module": "src/
|
|
2011
|
+
"name": "actionsMenuBaseStyles",
|
|
2012
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"kind": "js",
|
|
2017
|
+
"name": "foundationActionsMenuStyles",
|
|
2018
|
+
"declaration": {
|
|
2019
|
+
"name": "foundationActionsMenuStyles",
|
|
2020
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1990
2021
|
}
|
|
1991
2022
|
}
|
|
1992
2023
|
]
|
|
1993
2024
|
},
|
|
1994
2025
|
{
|
|
1995
2026
|
"kind": "javascript-module",
|
|
1996
|
-
"path": "src/
|
|
2027
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1997
2028
|
"declarations": [
|
|
1998
2029
|
{
|
|
1999
2030
|
"kind": "function",
|
|
2000
|
-
"name": "
|
|
2001
|
-
"return": {
|
|
2002
|
-
"type": {
|
|
2003
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2004
|
-
}
|
|
2005
|
-
},
|
|
2031
|
+
"name": "menuTemplate",
|
|
2006
2032
|
"parameters": [
|
|
2007
2033
|
{
|
|
2008
|
-
"name": "
|
|
2034
|
+
"name": "prefix",
|
|
2009
2035
|
"type": {
|
|
2010
|
-
"text": "
|
|
2036
|
+
"text": "string"
|
|
2011
2037
|
}
|
|
2012
|
-
}
|
|
2038
|
+
}
|
|
2039
|
+
]
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"kind": "function",
|
|
2043
|
+
"name": "singleOptionTemplate",
|
|
2044
|
+
"parameters": [
|
|
2013
2045
|
{
|
|
2014
|
-
"name": "
|
|
2046
|
+
"name": "prefix",
|
|
2015
2047
|
"type": {
|
|
2016
|
-
"text": "
|
|
2048
|
+
"text": "string"
|
|
2017
2049
|
}
|
|
2018
2050
|
}
|
|
2019
2051
|
]
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "variable",
|
|
2055
|
+
"name": "foundationActionsMenuTemplate",
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2058
|
+
},
|
|
2059
|
+
"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`"
|
|
2020
2060
|
}
|
|
2021
2061
|
],
|
|
2022
2062
|
"exports": [
|
|
2023
2063
|
{
|
|
2024
2064
|
"kind": "js",
|
|
2025
|
-
"name": "
|
|
2065
|
+
"name": "menuTemplate",
|
|
2026
2066
|
"declaration": {
|
|
2027
|
-
"name": "
|
|
2028
|
-
"module": "src/
|
|
2067
|
+
"name": "menuTemplate",
|
|
2068
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "js",
|
|
2073
|
+
"name": "singleOptionTemplate",
|
|
2074
|
+
"declaration": {
|
|
2075
|
+
"name": "singleOptionTemplate",
|
|
2076
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"kind": "js",
|
|
2081
|
+
"name": "foundationActionsMenuTemplate",
|
|
2082
|
+
"declaration": {
|
|
2083
|
+
"name": "foundationActionsMenuTemplate",
|
|
2084
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2029
2085
|
}
|
|
2030
2086
|
}
|
|
2031
2087
|
]
|
|
2032
2088
|
},
|
|
2033
2089
|
{
|
|
2034
2090
|
"kind": "javascript-module",
|
|
2035
|
-
"path": "src/
|
|
2091
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2036
2092
|
"declarations": [
|
|
2037
2093
|
{
|
|
2038
2094
|
"kind": "class",
|
|
2039
2095
|
"description": "",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
"name": "FASTAccordionItem",
|
|
2043
|
-
"package": "@microsoft/fast-components"
|
|
2044
|
-
},
|
|
2045
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2046
|
-
"customElement": true,
|
|
2047
|
-
"attributes": [
|
|
2096
|
+
"name": "ActionsMenu",
|
|
2097
|
+
"members": [
|
|
2048
2098
|
{
|
|
2049
|
-
"
|
|
2099
|
+
"kind": "field",
|
|
2100
|
+
"name": "actions",
|
|
2050
2101
|
"type": {
|
|
2051
|
-
"text": "
|
|
2052
|
-
},
|
|
2053
|
-
"default": "2",
|
|
2054
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2055
|
-
"fieldName": "headinglevel",
|
|
2056
|
-
"inheritedFrom": {
|
|
2057
|
-
"name": "AccordionItem",
|
|
2058
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2102
|
+
"text": "ActionMenuItem[]"
|
|
2059
2103
|
}
|
|
2060
2104
|
},
|
|
2061
2105
|
{
|
|
2106
|
+
"kind": "field",
|
|
2107
|
+
"name": "isVertical",
|
|
2062
2108
|
"type": {
|
|
2063
2109
|
"text": "boolean"
|
|
2064
2110
|
},
|
|
2065
|
-
"default": "false"
|
|
2066
|
-
"description": "Expands or collapses the item.",
|
|
2067
|
-
"fieldName": "expanded",
|
|
2068
|
-
"inheritedFrom": {
|
|
2069
|
-
"name": "AccordionItem",
|
|
2070
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2071
|
-
}
|
|
2111
|
+
"default": "false"
|
|
2072
2112
|
},
|
|
2073
|
-
{
|
|
2074
|
-
"name": "id",
|
|
2075
|
-
"type": {
|
|
2076
|
-
"text": "string"
|
|
2077
|
-
},
|
|
2078
|
-
"description": "The item ID",
|
|
2079
|
-
"fieldName": "id",
|
|
2080
|
-
"inheritedFrom": {
|
|
2081
|
-
"name": "AccordionItem",
|
|
2082
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
],
|
|
2086
|
-
"members": [
|
|
2087
2113
|
{
|
|
2088
2114
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2115
|
+
"name": "addDefaultActions",
|
|
2090
2116
|
"type": {
|
|
2091
|
-
"text": "
|
|
2117
|
+
"text": "boolean"
|
|
2092
2118
|
},
|
|
2093
|
-
"
|
|
2094
|
-
"default": "2",
|
|
2095
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2096
|
-
"inheritedFrom": {
|
|
2097
|
-
"name": "AccordionItem",
|
|
2098
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
|
-
}
|
|
2119
|
+
"default": "true"
|
|
2100
2120
|
},
|
|
2101
2121
|
{
|
|
2102
2122
|
"kind": "field",
|
|
2103
|
-
"name": "
|
|
2123
|
+
"name": "autoCloseOnAction",
|
|
2104
2124
|
"type": {
|
|
2105
2125
|
"text": "boolean"
|
|
2106
2126
|
},
|
|
2107
|
-
"
|
|
2108
|
-
"default": "false",
|
|
2109
|
-
"description": "Expands or collapses the item.",
|
|
2110
|
-
"inheritedFrom": {
|
|
2111
|
-
"name": "AccordionItem",
|
|
2112
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2113
|
-
}
|
|
2127
|
+
"default": "true"
|
|
2114
2128
|
},
|
|
2115
2129
|
{
|
|
2116
2130
|
"kind": "field",
|
|
2117
|
-
"name": "
|
|
2131
|
+
"name": "classNames",
|
|
2118
2132
|
"type": {
|
|
2119
2133
|
"text": "string"
|
|
2120
|
-
},
|
|
2121
|
-
"privacy": "public",
|
|
2122
|
-
"description": "The item ID",
|
|
2123
|
-
"inheritedFrom": {
|
|
2124
|
-
"name": "AccordionItem",
|
|
2125
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2126
2134
|
}
|
|
2127
2135
|
},
|
|
2128
2136
|
{
|
|
2129
2137
|
"kind": "field",
|
|
2130
|
-
"name": "
|
|
2131
|
-
"
|
|
2132
|
-
|
|
2133
|
-
"name": "AccordionItem",
|
|
2134
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2138
|
+
"name": "definition",
|
|
2139
|
+
"type": {
|
|
2140
|
+
"text": "any"
|
|
2135
2141
|
}
|
|
2136
2142
|
},
|
|
2137
2143
|
{
|
|
2138
2144
|
"kind": "field",
|
|
2139
|
-
"name": "
|
|
2145
|
+
"name": "name",
|
|
2140
2146
|
"type": {
|
|
2141
|
-
"text": "
|
|
2147
|
+
"text": "string"
|
|
2142
2148
|
},
|
|
2143
|
-
"
|
|
2144
|
-
"default": "void 0",
|
|
2145
|
-
"inheritedFrom": {
|
|
2146
|
-
"name": "FoundationElement",
|
|
2147
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2148
|
-
}
|
|
2149
|
+
"default": "'Actions'"
|
|
2149
2150
|
},
|
|
2150
2151
|
{
|
|
2151
2152
|
"kind": "field",
|
|
2152
|
-
"name": "
|
|
2153
|
+
"name": "open",
|
|
2153
2154
|
"type": {
|
|
2154
|
-
"text": "
|
|
2155
|
+
"text": "boolean"
|
|
2155
2156
|
},
|
|
2156
|
-
"
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2157
|
+
"default": "false"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"kind": "field",
|
|
2161
|
+
"name": "buttonAppearance",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string"
|
|
2161
2164
|
}
|
|
2162
2165
|
},
|
|
2163
2166
|
{
|
|
2164
2167
|
"kind": "field",
|
|
2165
|
-
"name": "
|
|
2168
|
+
"name": "hideDisabled",
|
|
2166
2169
|
"type": {
|
|
2167
|
-
"text": "
|
|
2170
|
+
"text": "boolean"
|
|
2168
2171
|
},
|
|
2169
|
-
"
|
|
2170
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2171
|
-
"inheritedFrom": {
|
|
2172
|
-
"name": "FoundationElement",
|
|
2173
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2174
|
-
}
|
|
2172
|
+
"default": "false"
|
|
2175
2173
|
},
|
|
2176
2174
|
{
|
|
2177
|
-
"kind": "
|
|
2178
|
-
"name": "
|
|
2179
|
-
"
|
|
2180
|
-
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "void"
|
|
2183
|
-
}
|
|
2175
|
+
"kind": "field",
|
|
2176
|
+
"name": "hideMenuSingleOption",
|
|
2177
|
+
"type": {
|
|
2178
|
+
"text": "boolean"
|
|
2184
2179
|
},
|
|
2185
|
-
"
|
|
2186
|
-
|
|
2187
|
-
|
|
2180
|
+
"default": "false"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"kind": "field",
|
|
2184
|
+
"name": "singleOption",
|
|
2185
|
+
"type": {
|
|
2186
|
+
"text": "ActionMenuItem"
|
|
2188
2187
|
}
|
|
2189
2188
|
},
|
|
2190
2189
|
{
|
|
2191
2190
|
"kind": "field",
|
|
2192
|
-
"name": "
|
|
2191
|
+
"name": "actionsMenu",
|
|
2193
2192
|
"type": {
|
|
2194
|
-
"text": "
|
|
2195
|
-
},
|
|
2196
|
-
"privacy": "public",
|
|
2197
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2198
|
-
"inheritedFrom": {
|
|
2199
|
-
"name": "FoundationElement",
|
|
2200
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2193
|
+
"text": "HTMLElement"
|
|
2201
2194
|
}
|
|
2202
2195
|
},
|
|
2203
2196
|
{
|
|
2204
2197
|
"kind": "method",
|
|
2205
|
-
"name": "
|
|
2198
|
+
"name": "definitionChanged",
|
|
2206
2199
|
"privacy": "protected",
|
|
2207
|
-
"
|
|
2208
|
-
|
|
2209
|
-
"
|
|
2200
|
+
"parameters": [
|
|
2201
|
+
{
|
|
2202
|
+
"name": "oldValue",
|
|
2203
|
+
"type": {
|
|
2204
|
+
"text": "any"
|
|
2205
|
+
}
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"name": "newValue",
|
|
2209
|
+
"type": {
|
|
2210
|
+
"text": "any"
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
]
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"kind": "method",
|
|
2217
|
+
"name": "openChanged",
|
|
2218
|
+
"privacy": "protected"
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"kind": "method",
|
|
2222
|
+
"name": "toggleActionsMenuVisibility"
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"kind": "method",
|
|
2226
|
+
"name": "onActionMenuItemClick",
|
|
2227
|
+
"parameters": [
|
|
2228
|
+
{
|
|
2229
|
+
"name": "callback",
|
|
2230
|
+
"type": {
|
|
2231
|
+
"text": "(rowData) => void | any"
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
]
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"kind": "field",
|
|
2238
|
+
"name": "allActions",
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "ActionMenuItem[]"
|
|
2241
|
+
},
|
|
2242
|
+
"readonly": true
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "field",
|
|
2246
|
+
"name": "rowData",
|
|
2247
|
+
"readonly": true
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "method",
|
|
2251
|
+
"name": "getLabel",
|
|
2252
|
+
"parameters": [
|
|
2253
|
+
{
|
|
2254
|
+
"name": "name",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "string | ((rowData: any) => string)"
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
]
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"kind": "method",
|
|
2263
|
+
"name": "getTemplate",
|
|
2264
|
+
"parameters": [
|
|
2265
|
+
{
|
|
2266
|
+
"name": "prefix",
|
|
2267
|
+
"type": {
|
|
2268
|
+
"text": "string"
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"kind": "field",
|
|
2275
|
+
"name": "_presentation",
|
|
2276
|
+
"type": {
|
|
2277
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2278
|
+
},
|
|
2279
|
+
"privacy": "private",
|
|
2280
|
+
"default": "void 0",
|
|
2281
|
+
"inheritedFrom": {
|
|
2282
|
+
"name": "FoundationElement",
|
|
2283
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"kind": "field",
|
|
2288
|
+
"name": "$presentation",
|
|
2289
|
+
"type": {
|
|
2290
|
+
"text": "ComponentPresentation | null"
|
|
2291
|
+
},
|
|
2292
|
+
"privacy": "public",
|
|
2293
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2294
|
+
"inheritedFrom": {
|
|
2295
|
+
"name": "FoundationElement",
|
|
2296
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"kind": "field",
|
|
2301
|
+
"name": "template",
|
|
2302
|
+
"type": {
|
|
2303
|
+
"text": "ElementViewTemplate | void | null"
|
|
2304
|
+
},
|
|
2305
|
+
"privacy": "public",
|
|
2306
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2307
|
+
"inheritedFrom": {
|
|
2308
|
+
"name": "FoundationElement",
|
|
2309
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2310
|
+
}
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"kind": "method",
|
|
2314
|
+
"name": "templateChanged",
|
|
2315
|
+
"privacy": "protected",
|
|
2316
|
+
"return": {
|
|
2317
|
+
"type": {
|
|
2318
|
+
"text": "void"
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
"inheritedFrom": {
|
|
2322
|
+
"name": "FoundationElement",
|
|
2323
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "field",
|
|
2328
|
+
"name": "styles",
|
|
2329
|
+
"type": {
|
|
2330
|
+
"text": "ElementStyles | void | null"
|
|
2331
|
+
},
|
|
2332
|
+
"privacy": "public",
|
|
2333
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2334
|
+
"inheritedFrom": {
|
|
2335
|
+
"name": "FoundationElement",
|
|
2336
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"kind": "method",
|
|
2341
|
+
"name": "stylesChanged",
|
|
2342
|
+
"privacy": "protected",
|
|
2343
|
+
"return": {
|
|
2344
|
+
"type": {
|
|
2345
|
+
"text": "void"
|
|
2210
2346
|
}
|
|
2211
2347
|
},
|
|
2212
2348
|
"inheritedFrom": {
|
|
@@ -2246,78 +2382,107 @@
|
|
|
2246
2382
|
}
|
|
2247
2383
|
}
|
|
2248
2384
|
],
|
|
2249
|
-
"
|
|
2385
|
+
"attributes": [
|
|
2250
2386
|
{
|
|
2251
|
-
"
|
|
2252
|
-
"
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2387
|
+
"name": "is-vertical",
|
|
2388
|
+
"type": {
|
|
2389
|
+
"text": "boolean"
|
|
2390
|
+
},
|
|
2391
|
+
"default": "false",
|
|
2392
|
+
"fieldName": "isVertical"
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"name": "add-default-actions",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "boolean"
|
|
2398
|
+
},
|
|
2399
|
+
"default": "true",
|
|
2400
|
+
"fieldName": "addDefaultActions"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"name": "auto-close-on-action",
|
|
2404
|
+
"type": {
|
|
2405
|
+
"text": "boolean"
|
|
2406
|
+
},
|
|
2407
|
+
"default": "true",
|
|
2408
|
+
"fieldName": "autoCloseOnAction"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "name",
|
|
2412
|
+
"type": {
|
|
2413
|
+
"text": "string"
|
|
2414
|
+
},
|
|
2415
|
+
"default": "'Actions'",
|
|
2416
|
+
"fieldName": "name"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "open",
|
|
2420
|
+
"type": {
|
|
2421
|
+
"text": "boolean"
|
|
2422
|
+
},
|
|
2423
|
+
"default": "false",
|
|
2424
|
+
"fieldName": "open"
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"name": "buttonAppearance",
|
|
2428
|
+
"type": {
|
|
2429
|
+
"text": "string"
|
|
2430
|
+
},
|
|
2431
|
+
"fieldName": "buttonAppearance"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"name": "hide-disabled",
|
|
2435
|
+
"type": {
|
|
2436
|
+
"text": "boolean"
|
|
2437
|
+
},
|
|
2438
|
+
"default": "false",
|
|
2439
|
+
"fieldName": "hideDisabled"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "hide-menu-single-option",
|
|
2443
|
+
"type": {
|
|
2444
|
+
"text": "boolean"
|
|
2445
|
+
},
|
|
2446
|
+
"default": "false",
|
|
2447
|
+
"fieldName": "hideMenuSingleOption"
|
|
2257
2448
|
}
|
|
2258
|
-
]
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "ShadowRootInit"
|
|
2265
|
-
},
|
|
2266
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"kind": "variable",
|
|
2270
|
-
"name": "defaultAccordionItemConfig",
|
|
2271
|
-
"type": {
|
|
2272
|
-
"text": "object"
|
|
2449
|
+
],
|
|
2450
|
+
"superclass": {
|
|
2451
|
+
"name": "FoundationElement",
|
|
2452
|
+
"package": "@microsoft/fast-foundation"
|
|
2273
2453
|
},
|
|
2274
|
-
"
|
|
2454
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2455
|
+
"customElement": true
|
|
2275
2456
|
},
|
|
2276
2457
|
{
|
|
2277
2458
|
"kind": "variable",
|
|
2278
|
-
"name": "
|
|
2279
|
-
"description": "The Foundation
|
|
2459
|
+
"name": "foundationActionsMenu",
|
|
2460
|
+
"description": "The Foundation Actions Menu",
|
|
2280
2461
|
"privacy": "public"
|
|
2281
2462
|
}
|
|
2282
2463
|
],
|
|
2283
2464
|
"exports": [
|
|
2284
2465
|
{
|
|
2285
2466
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2287
|
-
"declaration": {
|
|
2288
|
-
"name": "AccordionItem",
|
|
2289
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2290
|
-
}
|
|
2291
|
-
},
|
|
2292
|
-
{
|
|
2293
|
-
"kind": "js",
|
|
2294
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2295
|
-
"declaration": {
|
|
2296
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2297
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
|
-
}
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "js",
|
|
2302
|
-
"name": "defaultAccordionItemConfig",
|
|
2467
|
+
"name": "ActionsMenu",
|
|
2303
2468
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/
|
|
2469
|
+
"name": "ActionsMenu",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2306
2471
|
}
|
|
2307
2472
|
},
|
|
2308
2473
|
{
|
|
2309
2474
|
"kind": "js",
|
|
2310
|
-
"name": "
|
|
2475
|
+
"name": "foundationActionsMenu",
|
|
2311
2476
|
"declaration": {
|
|
2312
|
-
"name": "
|
|
2313
|
-
"module": "src/
|
|
2477
|
+
"name": "foundationActionsMenu",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2314
2479
|
}
|
|
2315
2480
|
}
|
|
2316
2481
|
]
|
|
2317
2482
|
},
|
|
2318
2483
|
{
|
|
2319
2484
|
"kind": "javascript-module",
|
|
2320
|
-
"path": "src/
|
|
2485
|
+
"path": "src/actions-menu/index.ts",
|
|
2321
2486
|
"declarations": [],
|
|
2322
2487
|
"exports": [
|
|
2323
2488
|
{
|
|
@@ -2325,7 +2490,7 @@
|
|
|
2325
2490
|
"name": "*",
|
|
2326
2491
|
"declaration": {
|
|
2327
2492
|
"name": "*",
|
|
2328
|
-
"package": "./
|
|
2493
|
+
"package": "./actions-menu.styles"
|
|
2329
2494
|
}
|
|
2330
2495
|
},
|
|
2331
2496
|
{
|
|
@@ -2333,7 +2498,7 @@
|
|
|
2333
2498
|
"name": "*",
|
|
2334
2499
|
"declaration": {
|
|
2335
2500
|
"name": "*",
|
|
2336
|
-
"package": "./
|
|
2501
|
+
"package": "./actions-menu.template"
|
|
2337
2502
|
}
|
|
2338
2503
|
},
|
|
2339
2504
|
{
|
|
@@ -2341,210 +2506,122 @@
|
|
|
2341
2506
|
"name": "*",
|
|
2342
2507
|
"declaration": {
|
|
2343
2508
|
"name": "*",
|
|
2344
|
-
"package": "./
|
|
2509
|
+
"package": "./actions-menu"
|
|
2345
2510
|
}
|
|
2346
2511
|
}
|
|
2347
2512
|
]
|
|
2348
2513
|
},
|
|
2349
2514
|
{
|
|
2350
2515
|
"kind": "javascript-module",
|
|
2351
|
-
"path": "src/
|
|
2516
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2352
2517
|
"declarations": [
|
|
2353
2518
|
{
|
|
2354
|
-
"kind": "
|
|
2355
|
-
"name": "
|
|
2356
|
-
"
|
|
2357
|
-
"type": {
|
|
2358
|
-
"text": "ElementStyles"
|
|
2359
|
-
}
|
|
2360
|
-
},
|
|
2361
|
-
"parameters": [
|
|
2362
|
-
{
|
|
2363
|
-
"name": "context",
|
|
2364
|
-
"type": {
|
|
2365
|
-
"text": "ElementDefinitionContext"
|
|
2366
|
-
}
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"name": "definition",
|
|
2370
|
-
"type": {
|
|
2371
|
-
"text": "FoundationElementDefinition"
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
]
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
"kind": "function",
|
|
2378
|
-
"name": "foundationActionsMenuStyles",
|
|
2379
|
-
"return": {
|
|
2380
|
-
"type": {
|
|
2381
|
-
"text": "ElementStyles"
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
"parameters": [
|
|
2385
|
-
{
|
|
2386
|
-
"name": "context",
|
|
2387
|
-
"type": {
|
|
2388
|
-
"text": "ElementDefinitionContext"
|
|
2389
|
-
}
|
|
2390
|
-
},
|
|
2391
|
-
{
|
|
2392
|
-
"name": "definition",
|
|
2393
|
-
"type": {
|
|
2394
|
-
"text": "FoundationElementDefinition"
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
]
|
|
2519
|
+
"kind": "variable",
|
|
2520
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2521
|
+
"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`"
|
|
2398
2522
|
}
|
|
2399
2523
|
],
|
|
2400
2524
|
"exports": [
|
|
2401
2525
|
{
|
|
2402
2526
|
"kind": "js",
|
|
2403
|
-
"name": "
|
|
2404
|
-
"declaration": {
|
|
2405
|
-
"name": "actionsMenuBaseStyles",
|
|
2406
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2407
|
-
}
|
|
2408
|
-
},
|
|
2409
|
-
{
|
|
2410
|
-
"kind": "js",
|
|
2411
|
-
"name": "foundationActionsMenuStyles",
|
|
2527
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2412
2528
|
"declaration": {
|
|
2413
|
-
"name": "
|
|
2414
|
-
"module": "src/
|
|
2529
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2530
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2415
2531
|
}
|
|
2416
2532
|
}
|
|
2417
2533
|
]
|
|
2418
2534
|
},
|
|
2419
2535
|
{
|
|
2420
2536
|
"kind": "javascript-module",
|
|
2421
|
-
"path": "src/
|
|
2422
|
-
"declarations": [
|
|
2423
|
-
{
|
|
2424
|
-
"kind": "function",
|
|
2425
|
-
"name": "menuTemplate",
|
|
2426
|
-
"parameters": [
|
|
2427
|
-
{
|
|
2428
|
-
"name": "prefix",
|
|
2429
|
-
"type": {
|
|
2430
|
-
"text": "string"
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
]
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "function",
|
|
2437
|
-
"name": "singleOptionTemplate",
|
|
2438
|
-
"parameters": [
|
|
2439
|
-
{
|
|
2440
|
-
"name": "prefix",
|
|
2441
|
-
"type": {
|
|
2442
|
-
"text": "string"
|
|
2443
|
-
}
|
|
2444
|
-
}
|
|
2445
|
-
]
|
|
2446
|
-
},
|
|
2537
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2538
|
+
"declarations": [
|
|
2447
2539
|
{
|
|
2448
2540
|
"kind": "variable",
|
|
2449
|
-
"name": "
|
|
2541
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2450
2542
|
"type": {
|
|
2451
|
-
"text": "ViewTemplate<
|
|
2543
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2452
2544
|
},
|
|
2453
|
-
"default": "html`\n
|
|
2545
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2454
2546
|
}
|
|
2455
2547
|
],
|
|
2456
2548
|
"exports": [
|
|
2457
2549
|
{
|
|
2458
2550
|
"kind": "js",
|
|
2459
|
-
"name": "
|
|
2460
|
-
"declaration": {
|
|
2461
|
-
"name": "menuTemplate",
|
|
2462
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"kind": "js",
|
|
2467
|
-
"name": "singleOptionTemplate",
|
|
2468
|
-
"declaration": {
|
|
2469
|
-
"name": "singleOptionTemplate",
|
|
2470
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2471
|
-
}
|
|
2472
|
-
},
|
|
2473
|
-
{
|
|
2474
|
-
"kind": "js",
|
|
2475
|
-
"name": "foundationActionsMenuTemplate",
|
|
2551
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2476
2552
|
"declaration": {
|
|
2477
|
-
"name": "
|
|
2478
|
-
"module": "src/
|
|
2553
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2554
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2479
2555
|
}
|
|
2480
2556
|
}
|
|
2481
2557
|
]
|
|
2482
2558
|
},
|
|
2483
2559
|
{
|
|
2484
2560
|
"kind": "javascript-module",
|
|
2485
|
-
"path": "src/
|
|
2561
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2486
2562
|
"declarations": [
|
|
2487
2563
|
{
|
|
2488
2564
|
"kind": "class",
|
|
2489
|
-
"description": "",
|
|
2490
|
-
"name": "
|
|
2565
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2566
|
+
"name": "AiCriteriaSearch",
|
|
2491
2567
|
"members": [
|
|
2492
2568
|
{
|
|
2493
2569
|
"kind": "field",
|
|
2494
|
-
"name": "
|
|
2570
|
+
"name": "providerRegistry",
|
|
2495
2571
|
"type": {
|
|
2496
|
-
"text": "
|
|
2572
|
+
"text": "AIProviderRegistry"
|
|
2497
2573
|
}
|
|
2498
2574
|
},
|
|
2499
2575
|
{
|
|
2500
2576
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2577
|
+
"name": "placeholder",
|
|
2502
2578
|
"type": {
|
|
2503
|
-
"text": "
|
|
2579
|
+
"text": "string"
|
|
2504
2580
|
},
|
|
2505
|
-
"default": "
|
|
2581
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2506
2582
|
},
|
|
2507
2583
|
{
|
|
2508
2584
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2585
|
+
"name": "disabled",
|
|
2510
2586
|
"type": {
|
|
2511
2587
|
"text": "boolean"
|
|
2512
|
-
}
|
|
2513
|
-
"default": "true"
|
|
2588
|
+
}
|
|
2514
2589
|
},
|
|
2515
2590
|
{
|
|
2516
2591
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2592
|
+
"name": "inputValue",
|
|
2518
2593
|
"type": {
|
|
2519
|
-
"text": "
|
|
2594
|
+
"text": "string"
|
|
2520
2595
|
},
|
|
2521
|
-
"default": "
|
|
2596
|
+
"default": "''"
|
|
2522
2597
|
},
|
|
2523
2598
|
{
|
|
2524
2599
|
"kind": "field",
|
|
2525
|
-
"name": "
|
|
2600
|
+
"name": "isInterpreting",
|
|
2526
2601
|
"type": {
|
|
2527
|
-
"text": "
|
|
2528
|
-
}
|
|
2602
|
+
"text": "boolean"
|
|
2603
|
+
},
|
|
2604
|
+
"default": "false"
|
|
2529
2605
|
},
|
|
2530
2606
|
{
|
|
2531
2607
|
"kind": "field",
|
|
2532
|
-
"name": "
|
|
2608
|
+
"name": "lastValidCriteria",
|
|
2533
2609
|
"type": {
|
|
2534
|
-
"text": "
|
|
2535
|
-
}
|
|
2610
|
+
"text": "string | null"
|
|
2611
|
+
},
|
|
2612
|
+
"default": "null"
|
|
2536
2613
|
},
|
|
2537
2614
|
{
|
|
2538
2615
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2616
|
+
"name": "activeGroups",
|
|
2540
2617
|
"type": {
|
|
2541
|
-
"text": "
|
|
2618
|
+
"text": "CriteriaGroup[]"
|
|
2542
2619
|
},
|
|
2543
|
-
"default": "
|
|
2620
|
+
"default": "[]"
|
|
2544
2621
|
},
|
|
2545
2622
|
{
|
|
2546
2623
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2624
|
+
"name": "showingChips",
|
|
2548
2625
|
"type": {
|
|
2549
2626
|
"text": "boolean"
|
|
2550
2627
|
},
|
|
@@ -2552,14 +2629,15 @@
|
|
|
2552
2629
|
},
|
|
2553
2630
|
{
|
|
2554
2631
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2632
|
+
"name": "fieldMetadata",
|
|
2556
2633
|
"type": {
|
|
2557
|
-
"text": "string"
|
|
2558
|
-
}
|
|
2634
|
+
"text": "MetadataDetail[] | string[]"
|
|
2635
|
+
},
|
|
2636
|
+
"default": "[]"
|
|
2559
2637
|
},
|
|
2560
2638
|
{
|
|
2561
2639
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2640
|
+
"name": "isRecording",
|
|
2563
2641
|
"type": {
|
|
2564
2642
|
"text": "boolean"
|
|
2565
2643
|
},
|
|
@@ -2567,102 +2645,125 @@
|
|
|
2567
2645
|
},
|
|
2568
2646
|
{
|
|
2569
2647
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2648
|
+
"name": "textAreaRef",
|
|
2571
2649
|
"type": {
|
|
2572
|
-
"text": "
|
|
2650
|
+
"text": "HTMLTextAreaElement"
|
|
2573
2651
|
},
|
|
2574
|
-
"
|
|
2652
|
+
"privacy": "public"
|
|
2575
2653
|
},
|
|
2576
2654
|
{
|
|
2577
2655
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2656
|
+
"name": "stopRecording",
|
|
2579
2657
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2658
|
+
"text": "(() => void) | null"
|
|
2659
|
+
},
|
|
2660
|
+
"privacy": "private",
|
|
2661
|
+
"default": "null"
|
|
2582
2662
|
},
|
|
2583
2663
|
{
|
|
2584
2664
|
"kind": "field",
|
|
2585
|
-
"name": "
|
|
2665
|
+
"name": "speechApplyDebounceTimer",
|
|
2586
2666
|
"type": {
|
|
2587
|
-
"text": "
|
|
2588
|
-
}
|
|
2667
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2668
|
+
},
|
|
2669
|
+
"privacy": "private",
|
|
2670
|
+
"default": "null"
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "field",
|
|
2674
|
+
"name": "speechAvailable",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "boolean"
|
|
2677
|
+
},
|
|
2678
|
+
"readonly": true
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"kind": "field",
|
|
2682
|
+
"name": "criteriaChips",
|
|
2683
|
+
"type": {
|
|
2684
|
+
"text": "CriteriaChip[]"
|
|
2685
|
+
},
|
|
2686
|
+
"readonly": true
|
|
2589
2687
|
},
|
|
2590
2688
|
{
|
|
2591
2689
|
"kind": "method",
|
|
2592
|
-
"name": "
|
|
2593
|
-
"privacy": "
|
|
2690
|
+
"name": "getFieldLabel",
|
|
2691
|
+
"privacy": "private",
|
|
2692
|
+
"return": {
|
|
2693
|
+
"type": {
|
|
2694
|
+
"text": "string"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2594
2697
|
"parameters": [
|
|
2595
2698
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "any"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "newValue",
|
|
2699
|
+
"name": "fieldName",
|
|
2603
2700
|
"type": {
|
|
2604
|
-
"text": "
|
|
2701
|
+
"text": "string"
|
|
2605
2702
|
}
|
|
2606
2703
|
}
|
|
2607
2704
|
]
|
|
2608
2705
|
},
|
|
2609
2706
|
{
|
|
2610
2707
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2612
|
-
"
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2708
|
+
"name": "toggleCriteriaView",
|
|
2709
|
+
"return": {
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "void"
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2617
2714
|
},
|
|
2618
2715
|
{
|
|
2619
2716
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2717
|
+
"name": "removeChip",
|
|
2718
|
+
"return": {
|
|
2719
|
+
"type": {
|
|
2720
|
+
"text": "void"
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2621
2723
|
"parameters": [
|
|
2622
2724
|
{
|
|
2623
|
-
"name": "
|
|
2725
|
+
"name": "groupIndex",
|
|
2624
2726
|
"type": {
|
|
2625
|
-
"text": "
|
|
2727
|
+
"text": "number"
|
|
2728
|
+
}
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"name": "clauseIndex",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "number"
|
|
2626
2734
|
}
|
|
2627
2735
|
}
|
|
2628
2736
|
]
|
|
2629
2737
|
},
|
|
2630
2738
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"
|
|
2634
|
-
"
|
|
2635
|
-
|
|
2636
|
-
|
|
2739
|
+
"kind": "method",
|
|
2740
|
+
"name": "clearChips",
|
|
2741
|
+
"return": {
|
|
2742
|
+
"type": {
|
|
2743
|
+
"text": "void"
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2637
2746
|
},
|
|
2638
2747
|
{
|
|
2639
|
-
"kind": "
|
|
2640
|
-
"name": "
|
|
2641
|
-
"readonly": true
|
|
2748
|
+
"kind": "method",
|
|
2749
|
+
"name": "handleSubmit"
|
|
2642
2750
|
},
|
|
2643
2751
|
{
|
|
2644
2752
|
"kind": "method",
|
|
2645
|
-
"name": "
|
|
2646
|
-
"parameters": [
|
|
2647
|
-
{
|
|
2648
|
-
"name": "name",
|
|
2649
|
-
"type": {
|
|
2650
|
-
"text": "string | ((rowData: any) => string)"
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2653
|
-
]
|
|
2753
|
+
"name": "handleBlur"
|
|
2654
2754
|
},
|
|
2655
2755
|
{
|
|
2656
2756
|
"kind": "method",
|
|
2657
|
-
"name": "
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2757
|
+
"name": "clear"
|
|
2758
|
+
},
|
|
2759
|
+
{
|
|
2760
|
+
"kind": "method",
|
|
2761
|
+
"name": "toggleSpeechInput"
|
|
2762
|
+
},
|
|
2763
|
+
{
|
|
2764
|
+
"kind": "method",
|
|
2765
|
+
"name": "clearSpeechApplyDebounce",
|
|
2766
|
+
"privacy": "private"
|
|
2666
2767
|
},
|
|
2667
2768
|
{
|
|
2668
2769
|
"kind": "field",
|
|
@@ -2774,117 +2875,156 @@
|
|
|
2774
2875
|
"name": "FoundationElement",
|
|
2775
2876
|
"module": "src/foundation-element/foundation-element.ts"
|
|
2776
2877
|
}
|
|
2777
|
-
}
|
|
2778
|
-
],
|
|
2779
|
-
"
|
|
2780
|
-
{
|
|
2781
|
-
"name": "is-vertical",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "false",
|
|
2786
|
-
"fieldName": "isVertical"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "add-default-actions",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "addDefaultActions"
|
|
2795
|
-
},
|
|
2796
|
-
{
|
|
2797
|
-
"name": "auto-close-on-action",
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "boolean"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "true",
|
|
2802
|
-
"fieldName": "autoCloseOnAction"
|
|
2803
|
-
},
|
|
2804
|
-
{
|
|
2805
|
-
"name": "name",
|
|
2806
|
-
"type": {
|
|
2807
|
-
"text": "string"
|
|
2808
|
-
},
|
|
2809
|
-
"default": "'Actions'",
|
|
2810
|
-
"fieldName": "name"
|
|
2811
|
-
},
|
|
2878
|
+
}
|
|
2879
|
+
],
|
|
2880
|
+
"events": [
|
|
2812
2881
|
{
|
|
2813
|
-
"
|
|
2814
|
-
"
|
|
2815
|
-
"text": "boolean"
|
|
2816
|
-
},
|
|
2817
|
-
"default": "false",
|
|
2818
|
-
"fieldName": "open"
|
|
2882
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2883
|
+
"name": "criteria-changed"
|
|
2819
2884
|
},
|
|
2820
2885
|
{
|
|
2821
|
-
"
|
|
2822
|
-
"
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
},
|
|
2886
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2887
|
+
"name": "validation-errors"
|
|
2888
|
+
}
|
|
2889
|
+
],
|
|
2890
|
+
"attributes": [
|
|
2827
2891
|
{
|
|
2828
|
-
"name": "
|
|
2892
|
+
"name": "placeholder",
|
|
2829
2893
|
"type": {
|
|
2830
|
-
"text": "
|
|
2894
|
+
"text": "string"
|
|
2831
2895
|
},
|
|
2832
|
-
"default": "
|
|
2833
|
-
"fieldName": "
|
|
2896
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2897
|
+
"fieldName": "placeholder"
|
|
2834
2898
|
},
|
|
2835
2899
|
{
|
|
2836
|
-
"name": "hide-menu-single-option",
|
|
2837
2900
|
"type": {
|
|
2838
2901
|
"text": "boolean"
|
|
2839
2902
|
},
|
|
2840
|
-
"
|
|
2841
|
-
"fieldName": "hideMenuSingleOption"
|
|
2903
|
+
"fieldName": "disabled"
|
|
2842
2904
|
}
|
|
2843
2905
|
],
|
|
2844
2906
|
"superclass": {
|
|
2845
2907
|
"name": "FoundationElement",
|
|
2846
2908
|
"package": "@microsoft/fast-foundation"
|
|
2847
2909
|
},
|
|
2848
|
-
"tagName": "%%prefix%%-
|
|
2910
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2849
2911
|
"customElement": true
|
|
2850
2912
|
},
|
|
2851
2913
|
{
|
|
2852
2914
|
"kind": "variable",
|
|
2853
|
-
"name": "
|
|
2854
|
-
"
|
|
2855
|
-
|
|
2915
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "ShadowRootInit"
|
|
2918
|
+
},
|
|
2919
|
+
"default": "undefined"
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "variable",
|
|
2923
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2924
|
+
"type": {
|
|
2925
|
+
"text": "object"
|
|
2926
|
+
},
|
|
2927
|
+
"default": "{}"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"kind": "variable",
|
|
2931
|
+
"name": "foundationAiCriteriaSearch"
|
|
2856
2932
|
}
|
|
2857
2933
|
],
|
|
2858
2934
|
"exports": [
|
|
2859
2935
|
{
|
|
2860
2936
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2937
|
+
"name": "AiCriteriaSearch",
|
|
2862
2938
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2939
|
+
"name": "AiCriteriaSearch",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2941
|
}
|
|
2866
2942
|
},
|
|
2867
2943
|
{
|
|
2868
2944
|
"kind": "js",
|
|
2869
|
-
"name": "
|
|
2945
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2870
2946
|
"declaration": {
|
|
2871
|
-
"name": "
|
|
2872
|
-
"module": "src/
|
|
2947
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2948
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
"kind": "js",
|
|
2953
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2954
|
+
"declaration": {
|
|
2955
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2956
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"kind": "js",
|
|
2961
|
+
"name": "foundationAiCriteriaSearch",
|
|
2962
|
+
"declaration": {
|
|
2963
|
+
"name": "foundationAiCriteriaSearch",
|
|
2964
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2873
2965
|
}
|
|
2874
2966
|
}
|
|
2875
2967
|
]
|
|
2876
2968
|
},
|
|
2877
2969
|
{
|
|
2878
2970
|
"kind": "javascript-module",
|
|
2879
|
-
"path": "src/
|
|
2971
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2880
2972
|
"declarations": [],
|
|
2881
2973
|
"exports": [
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "js",
|
|
2976
|
+
"name": "AiCriteriaSearch",
|
|
2977
|
+
"declaration": {
|
|
2978
|
+
"name": "AiCriteriaSearch",
|
|
2979
|
+
"module": "./ai-criteria-search"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "js",
|
|
2984
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2985
|
+
"declaration": {
|
|
2986
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2987
|
+
"module": "./ai-criteria-search"
|
|
2988
|
+
}
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"kind": "js",
|
|
2992
|
+
"name": "foundationAiCriteriaSearch",
|
|
2993
|
+
"declaration": {
|
|
2994
|
+
"name": "foundationAiCriteriaSearch",
|
|
2995
|
+
"module": "./ai-criteria-search"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"kind": "js",
|
|
3000
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3001
|
+
"declaration": {
|
|
3002
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3003
|
+
"module": "./ai-criteria-search"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "js",
|
|
3008
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3009
|
+
"declaration": {
|
|
3010
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3011
|
+
"module": "./ai-criteria-search.styles"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"kind": "js",
|
|
3016
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3017
|
+
"declaration": {
|
|
3018
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3019
|
+
"module": "./ai-criteria-search.template"
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
2882
3022
|
{
|
|
2883
3023
|
"kind": "js",
|
|
2884
3024
|
"name": "*",
|
|
2885
3025
|
"declaration": {
|
|
2886
3026
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
3027
|
+
"package": "./validation/criteria-ir"
|
|
2888
3028
|
}
|
|
2889
3029
|
},
|
|
2890
3030
|
{
|
|
@@ -2892,7 +3032,7 @@
|
|
|
2892
3032
|
"name": "*",
|
|
2893
3033
|
"declaration": {
|
|
2894
3034
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
3035
|
+
"package": "./validation/operator-map"
|
|
2896
3036
|
}
|
|
2897
3037
|
},
|
|
2898
3038
|
{
|
|
@@ -2900,21 +3040,135 @@
|
|
|
2900
3040
|
"name": "*",
|
|
2901
3041
|
"declaration": {
|
|
2902
3042
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
3043
|
+
"package": "./validation/schema-validator"
|
|
2904
3044
|
}
|
|
2905
3045
|
}
|
|
2906
3046
|
]
|
|
2907
3047
|
},
|
|
2908
3048
|
{
|
|
2909
3049
|
"kind": "javascript-module",
|
|
2910
|
-
"path": "src/ai-
|
|
3050
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3051
|
+
"declarations": [
|
|
3052
|
+
{
|
|
3053
|
+
"kind": "function",
|
|
3054
|
+
"name": "formatValidationErrors",
|
|
3055
|
+
"return": {
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "string"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"parameters": [
|
|
3061
|
+
{
|
|
3062
|
+
"name": "errors",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "ValidationError[]"
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
],
|
|
3068
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"kind": "function",
|
|
3072
|
+
"name": "showCriteriaError",
|
|
3073
|
+
"return": {
|
|
3074
|
+
"type": {
|
|
3075
|
+
"text": "void"
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
"parameters": [
|
|
3079
|
+
{
|
|
3080
|
+
"name": "title",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"text": "string"
|
|
3083
|
+
},
|
|
3084
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"name": "body",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "string"
|
|
3090
|
+
},
|
|
3091
|
+
"description": "Error message to display"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"name": "tagName",
|
|
3095
|
+
"type": {
|
|
3096
|
+
"text": "string"
|
|
3097
|
+
},
|
|
3098
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3099
|
+
}
|
|
3100
|
+
],
|
|
3101
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3102
|
+
}
|
|
3103
|
+
],
|
|
3104
|
+
"exports": [
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "js",
|
|
3107
|
+
"name": "formatValidationErrors",
|
|
3108
|
+
"declaration": {
|
|
3109
|
+
"name": "formatValidationErrors",
|
|
3110
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"kind": "js",
|
|
3115
|
+
"name": "showCriteriaError",
|
|
3116
|
+
"declaration": {
|
|
3117
|
+
"name": "showCriteriaError",
|
|
3118
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3121
|
+
]
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"kind": "javascript-module",
|
|
3125
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3126
|
+
"declarations": [
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "function",
|
|
3129
|
+
"name": "foundationAccordionItemStyles",
|
|
3130
|
+
"return": {
|
|
3131
|
+
"type": {
|
|
3132
|
+
"text": "ElementStyles"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
"parameters": [
|
|
3136
|
+
{
|
|
3137
|
+
"name": "context",
|
|
3138
|
+
"type": {
|
|
3139
|
+
"text": "ElementDefinitionContext"
|
|
3140
|
+
}
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
"name": "definition",
|
|
3144
|
+
"type": {
|
|
3145
|
+
"text": "FoundationElementDefinition"
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
]
|
|
3149
|
+
}
|
|
3150
|
+
],
|
|
3151
|
+
"exports": [
|
|
3152
|
+
{
|
|
3153
|
+
"kind": "js",
|
|
3154
|
+
"name": "foundationAccordionItemStyles",
|
|
3155
|
+
"declaration": {
|
|
3156
|
+
"name": "foundationAccordionItemStyles",
|
|
3157
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3158
|
+
}
|
|
3159
|
+
}
|
|
3160
|
+
]
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"kind": "javascript-module",
|
|
3164
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2911
3165
|
"declarations": [
|
|
2912
3166
|
{
|
|
2913
3167
|
"kind": "function",
|
|
2914
|
-
"name": "
|
|
3168
|
+
"name": "foundationAccordionItemTemplate",
|
|
2915
3169
|
"return": {
|
|
2916
3170
|
"type": {
|
|
2917
|
-
"text": "
|
|
3171
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2918
3172
|
}
|
|
2919
3173
|
},
|
|
2920
3174
|
"parameters": [
|
|
@@ -2936,224 +3190,116 @@
|
|
|
2936
3190
|
"exports": [
|
|
2937
3191
|
{
|
|
2938
3192
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2940
|
-
"declaration": {
|
|
2941
|
-
"name": "foundationAiIndicatorStyles",
|
|
2942
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2943
|
-
}
|
|
2944
|
-
}
|
|
2945
|
-
]
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2950
|
-
"declarations": [
|
|
2951
|
-
{
|
|
2952
|
-
"kind": "variable",
|
|
2953
|
-
"name": "foundationAiIndicatorTemplate",
|
|
2954
|
-
"type": {
|
|
2955
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
2956
|
-
},
|
|
2957
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2958
|
-
}
|
|
2959
|
-
],
|
|
2960
|
-
"exports": [
|
|
2961
|
-
{
|
|
2962
|
-
"kind": "js",
|
|
2963
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3193
|
+
"name": "foundationAccordionItemTemplate",
|
|
2964
3194
|
"declaration": {
|
|
2965
|
-
"name": "
|
|
2966
|
-
"module": "src/
|
|
3195
|
+
"name": "foundationAccordionItemTemplate",
|
|
3196
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2967
3197
|
}
|
|
2968
3198
|
}
|
|
2969
3199
|
]
|
|
2970
3200
|
},
|
|
2971
3201
|
{
|
|
2972
3202
|
"kind": "javascript-module",
|
|
2973
|
-
"path": "src/
|
|
3203
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2974
3204
|
"declarations": [
|
|
2975
3205
|
{
|
|
2976
3206
|
"kind": "class",
|
|
2977
3207
|
"description": "",
|
|
2978
|
-
"name": "
|
|
2979
|
-
"
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
},
|
|
2987
|
-
{
|
|
2988
|
-
"kind": "field",
|
|
2989
|
-
"name": "aiProvider",
|
|
2990
|
-
"type": {
|
|
2991
|
-
"text": "AIProvider | undefined"
|
|
2992
|
-
},
|
|
2993
|
-
"privacy": "private",
|
|
2994
|
-
"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.",
|
|
2995
|
-
"readonly": true
|
|
2996
|
-
},
|
|
2997
|
-
{
|
|
2998
|
-
"kind": "field",
|
|
2999
|
-
"name": "status",
|
|
3000
|
-
"type": {
|
|
3001
|
-
"text": "AIStatus | null"
|
|
3002
|
-
},
|
|
3003
|
-
"default": "null"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"kind": "field",
|
|
3007
|
-
"name": "open",
|
|
3008
|
-
"type": {
|
|
3009
|
-
"text": "boolean"
|
|
3010
|
-
},
|
|
3011
|
-
"default": "false"
|
|
3012
|
-
},
|
|
3208
|
+
"name": "AccordionItem",
|
|
3209
|
+
"superclass": {
|
|
3210
|
+
"name": "FASTAccordionItem",
|
|
3211
|
+
"package": "@microsoft/fast-components"
|
|
3212
|
+
},
|
|
3213
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3214
|
+
"customElement": true,
|
|
3215
|
+
"attributes": [
|
|
3013
3216
|
{
|
|
3014
|
-
"
|
|
3015
|
-
"name": "state",
|
|
3217
|
+
"name": "heading-level",
|
|
3016
3218
|
"type": {
|
|
3017
|
-
"text": "
|
|
3219
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3018
3220
|
},
|
|
3019
|
-
"default": "
|
|
3221
|
+
"default": "2",
|
|
3222
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3223
|
+
"fieldName": "headinglevel",
|
|
3224
|
+
"inheritedFrom": {
|
|
3225
|
+
"name": "AccordionItem",
|
|
3226
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3227
|
+
}
|
|
3020
3228
|
},
|
|
3021
3229
|
{
|
|
3022
|
-
"kind": "field",
|
|
3023
|
-
"name": "isInstalling",
|
|
3024
3230
|
"type": {
|
|
3025
3231
|
"text": "boolean"
|
|
3026
3232
|
},
|
|
3027
|
-
"default": "false"
|
|
3233
|
+
"default": "false",
|
|
3234
|
+
"description": "Expands or collapses the item.",
|
|
3235
|
+
"fieldName": "expanded",
|
|
3236
|
+
"inheritedFrom": {
|
|
3237
|
+
"name": "AccordionItem",
|
|
3238
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3239
|
+
}
|
|
3028
3240
|
},
|
|
3029
3241
|
{
|
|
3030
|
-
"
|
|
3031
|
-
"name": "pollTimer",
|
|
3242
|
+
"name": "id",
|
|
3032
3243
|
"type": {
|
|
3033
|
-
"text": "
|
|
3244
|
+
"text": "string"
|
|
3034
3245
|
},
|
|
3035
|
-
"
|
|
3036
|
-
"
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3246
|
+
"description": "The item ID",
|
|
3247
|
+
"fieldName": "id",
|
|
3248
|
+
"inheritedFrom": {
|
|
3249
|
+
"name": "AccordionItem",
|
|
3250
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
],
|
|
3254
|
+
"members": [
|
|
3043
3255
|
{
|
|
3044
3256
|
"kind": "field",
|
|
3045
|
-
"name": "
|
|
3257
|
+
"name": "headinglevel",
|
|
3046
3258
|
"type": {
|
|
3047
|
-
"text": "
|
|
3259
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3048
3260
|
},
|
|
3049
|
-
"
|
|
3261
|
+
"privacy": "public",
|
|
3262
|
+
"default": "2",
|
|
3263
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3264
|
+
"inheritedFrom": {
|
|
3265
|
+
"name": "AccordionItem",
|
|
3266
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3267
|
+
}
|
|
3050
3268
|
},
|
|
3051
3269
|
{
|
|
3052
3270
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3271
|
+
"name": "expanded",
|
|
3054
3272
|
"type": {
|
|
3055
3273
|
"text": "boolean"
|
|
3056
3274
|
},
|
|
3057
|
-
"
|
|
3275
|
+
"privacy": "public",
|
|
3276
|
+
"default": "false",
|
|
3277
|
+
"description": "Expands or collapses the item.",
|
|
3278
|
+
"inheritedFrom": {
|
|
3279
|
+
"name": "AccordionItem",
|
|
3280
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3281
|
+
}
|
|
3058
3282
|
},
|
|
3059
3283
|
{
|
|
3060
3284
|
"kind": "field",
|
|
3061
|
-
"name": "
|
|
3285
|
+
"name": "id",
|
|
3062
3286
|
"type": {
|
|
3063
|
-
"text": "
|
|
3064
|
-
},
|
|
3065
|
-
"readonly": true
|
|
3066
|
-
},
|
|
3067
|
-
{
|
|
3068
|
-
"kind": "method",
|
|
3069
|
-
"name": "openChanged",
|
|
3070
|
-
"return": {
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "void"
|
|
3073
|
-
}
|
|
3074
|
-
}
|
|
3075
|
-
},
|
|
3076
|
-
{
|
|
3077
|
-
"kind": "method",
|
|
3078
|
-
"name": "handleClickOutside",
|
|
3079
|
-
"privacy": "private",
|
|
3080
|
-
"parameters": [
|
|
3081
|
-
{
|
|
3082
|
-
"name": "event",
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "MouseEvent"
|
|
3085
|
-
}
|
|
3086
|
-
}
|
|
3087
|
-
]
|
|
3088
|
-
},
|
|
3089
|
-
{
|
|
3090
|
-
"kind": "method",
|
|
3091
|
-
"name": "toggleDropdown"
|
|
3092
|
-
},
|
|
3093
|
-
{
|
|
3094
|
-
"kind": "method",
|
|
3095
|
-
"name": "refreshStatus",
|
|
3096
|
-
"return": {
|
|
3097
|
-
"type": {
|
|
3098
|
-
"text": "Promise<void>"
|
|
3099
|
-
}
|
|
3100
|
-
}
|
|
3101
|
-
},
|
|
3102
|
-
{
|
|
3103
|
-
"kind": "method",
|
|
3104
|
-
"name": "deriveState",
|
|
3105
|
-
"privacy": "private",
|
|
3106
|
-
"return": {
|
|
3107
|
-
"type": {
|
|
3108
|
-
"text": "AIIndicatorState"
|
|
3109
|
-
}
|
|
3287
|
+
"text": "string"
|
|
3110
3288
|
},
|
|
3111
|
-
"
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
}
|
|
3117
|
-
}
|
|
3118
|
-
]
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"kind": "method",
|
|
3122
|
-
"name": "maybeStartPolling",
|
|
3123
|
-
"privacy": "private",
|
|
3124
|
-
"return": {
|
|
3125
|
-
"type": {
|
|
3126
|
-
"text": "void"
|
|
3127
|
-
}
|
|
3128
|
-
}
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "method",
|
|
3132
|
-
"name": "startPolling",
|
|
3133
|
-
"privacy": "private",
|
|
3134
|
-
"return": {
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": "void"
|
|
3137
|
-
}
|
|
3289
|
+
"privacy": "public",
|
|
3290
|
+
"description": "The item ID",
|
|
3291
|
+
"inheritedFrom": {
|
|
3292
|
+
"name": "AccordionItem",
|
|
3293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3138
3294
|
}
|
|
3139
3295
|
},
|
|
3140
3296
|
{
|
|
3141
|
-
"kind": "
|
|
3142
|
-
"name": "
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "change",
|
|
3143
3299
|
"privacy": "private",
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3146
|
-
|
|
3147
|
-
}
|
|
3148
|
-
}
|
|
3149
|
-
},
|
|
3150
|
-
{
|
|
3151
|
-
"kind": "method",
|
|
3152
|
-
"name": "onInstall",
|
|
3153
|
-
"return": {
|
|
3154
|
-
"type": {
|
|
3155
|
-
"text": "Promise<void>"
|
|
3156
|
-
}
|
|
3300
|
+
"inheritedFrom": {
|
|
3301
|
+
"name": "AccordionItem",
|
|
3302
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3157
3303
|
}
|
|
3158
3304
|
},
|
|
3159
3305
|
{
|
|
@@ -3267,146 +3413,178 @@
|
|
|
3267
3413
|
"module": "src/foundation-element/foundation-element.ts"
|
|
3268
3414
|
}
|
|
3269
3415
|
}
|
|
3270
|
-
],
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
|
|
3416
|
+
],
|
|
3417
|
+
"events": [
|
|
3418
|
+
{
|
|
3419
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3420
|
+
"name": "change",
|
|
3421
|
+
"inheritedFrom": {
|
|
3422
|
+
"name": "AccordionItem",
|
|
3423
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
]
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "variable",
|
|
3430
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3431
|
+
"type": {
|
|
3432
|
+
"text": "ShadowRootInit"
|
|
3274
3433
|
},
|
|
3275
|
-
"
|
|
3276
|
-
"customElement": true
|
|
3434
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3277
3435
|
},
|
|
3278
3436
|
{
|
|
3279
3437
|
"kind": "variable",
|
|
3280
|
-
"name": "
|
|
3438
|
+
"name": "defaultAccordionItemConfig",
|
|
3439
|
+
"type": {
|
|
3440
|
+
"text": "object"
|
|
3441
|
+
},
|
|
3442
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "variable",
|
|
3446
|
+
"name": "foundationAccordionItem",
|
|
3447
|
+
"description": "The Foundation Accordion Item",
|
|
3448
|
+
"privacy": "public"
|
|
3281
3449
|
}
|
|
3282
3450
|
],
|
|
3283
3451
|
"exports": [
|
|
3284
3452
|
{
|
|
3285
3453
|
"kind": "js",
|
|
3286
|
-
"name": "
|
|
3454
|
+
"name": "AccordionItem",
|
|
3287
3455
|
"declaration": {
|
|
3288
|
-
"name": "
|
|
3289
|
-
"module": "src/
|
|
3456
|
+
"name": "AccordionItem",
|
|
3457
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3290
3458
|
}
|
|
3291
3459
|
},
|
|
3292
3460
|
{
|
|
3293
3461
|
"kind": "js",
|
|
3294
|
-
"name": "
|
|
3295
|
-
"declaration": {
|
|
3296
|
-
"name": "foundationAiIndicator",
|
|
3297
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3298
|
-
}
|
|
3299
|
-
}
|
|
3300
|
-
]
|
|
3301
|
-
},
|
|
3302
|
-
{
|
|
3303
|
-
"kind": "javascript-module",
|
|
3304
|
-
"path": "src/ai-indicator/index.ts",
|
|
3305
|
-
"declarations": [],
|
|
3306
|
-
"exports": [
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "js",
|
|
3309
|
-
"name": "AiIndicator",
|
|
3462
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3310
3463
|
"declaration": {
|
|
3311
|
-
"name": "
|
|
3312
|
-
"module": "
|
|
3464
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3465
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3313
3466
|
}
|
|
3314
3467
|
},
|
|
3315
3468
|
{
|
|
3316
3469
|
"kind": "js",
|
|
3317
|
-
"name": "
|
|
3470
|
+
"name": "defaultAccordionItemConfig",
|
|
3318
3471
|
"declaration": {
|
|
3319
|
-
"name": "
|
|
3320
|
-
"module": "
|
|
3472
|
+
"name": "defaultAccordionItemConfig",
|
|
3473
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3321
3474
|
}
|
|
3322
3475
|
},
|
|
3323
3476
|
{
|
|
3324
3477
|
"kind": "js",
|
|
3325
|
-
"name": "
|
|
3478
|
+
"name": "foundationAccordionItem",
|
|
3326
3479
|
"declaration": {
|
|
3327
|
-
"name": "
|
|
3328
|
-
"module": "
|
|
3480
|
+
"name": "foundationAccordionItem",
|
|
3481
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3329
3482
|
}
|
|
3330
|
-
}
|
|
3483
|
+
}
|
|
3484
|
+
]
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "javascript-module",
|
|
3488
|
+
"path": "src/accordion-item/index.ts",
|
|
3489
|
+
"declarations": [],
|
|
3490
|
+
"exports": [
|
|
3331
3491
|
{
|
|
3332
3492
|
"kind": "js",
|
|
3333
|
-
"name": "
|
|
3493
|
+
"name": "*",
|
|
3334
3494
|
"declaration": {
|
|
3335
|
-
"name": "
|
|
3336
|
-
"
|
|
3495
|
+
"name": "*",
|
|
3496
|
+
"package": "./accordion-item.template"
|
|
3337
3497
|
}
|
|
3338
3498
|
},
|
|
3339
3499
|
{
|
|
3340
3500
|
"kind": "js",
|
|
3341
|
-
"name": "
|
|
3501
|
+
"name": "*",
|
|
3342
3502
|
"declaration": {
|
|
3343
|
-
"name": "
|
|
3344
|
-
"
|
|
3503
|
+
"name": "*",
|
|
3504
|
+
"package": "./accordion-item.styles"
|
|
3345
3505
|
}
|
|
3346
3506
|
},
|
|
3347
3507
|
{
|
|
3348
3508
|
"kind": "js",
|
|
3349
|
-
"name": "
|
|
3509
|
+
"name": "*",
|
|
3350
3510
|
"declaration": {
|
|
3351
|
-
"name": "
|
|
3352
|
-
"
|
|
3511
|
+
"name": "*",
|
|
3512
|
+
"package": "./accordion-item"
|
|
3353
3513
|
}
|
|
3354
3514
|
}
|
|
3355
3515
|
]
|
|
3356
3516
|
},
|
|
3357
3517
|
{
|
|
3358
3518
|
"kind": "javascript-module",
|
|
3359
|
-
"path": "src/ai-
|
|
3519
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3360
3520
|
"declarations": [
|
|
3361
3521
|
{
|
|
3362
|
-
"kind": "
|
|
3363
|
-
"name": "
|
|
3364
|
-
"
|
|
3522
|
+
"kind": "function",
|
|
3523
|
+
"name": "foundationAiIndicatorStyles",
|
|
3524
|
+
"return": {
|
|
3525
|
+
"type": {
|
|
3526
|
+
"text": "ElementStyles"
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
"parameters": [
|
|
3530
|
+
{
|
|
3531
|
+
"name": "context",
|
|
3532
|
+
"type": {
|
|
3533
|
+
"text": "ElementDefinitionContext"
|
|
3534
|
+
}
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"name": "definition",
|
|
3538
|
+
"type": {
|
|
3539
|
+
"text": "FoundationElementDefinition"
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
]
|
|
3365
3543
|
}
|
|
3366
3544
|
],
|
|
3367
3545
|
"exports": [
|
|
3368
3546
|
{
|
|
3369
3547
|
"kind": "js",
|
|
3370
|
-
"name": "
|
|
3548
|
+
"name": "foundationAiIndicatorStyles",
|
|
3371
3549
|
"declaration": {
|
|
3372
|
-
"name": "
|
|
3373
|
-
"module": "src/ai-
|
|
3550
|
+
"name": "foundationAiIndicatorStyles",
|
|
3551
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3374
3552
|
}
|
|
3375
3553
|
}
|
|
3376
3554
|
]
|
|
3377
3555
|
},
|
|
3378
3556
|
{
|
|
3379
3557
|
"kind": "javascript-module",
|
|
3380
|
-
"path": "src/ai-
|
|
3558
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3381
3559
|
"declarations": [
|
|
3382
3560
|
{
|
|
3383
3561
|
"kind": "variable",
|
|
3384
|
-
"name": "
|
|
3562
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3385
3563
|
"type": {
|
|
3386
|
-
"text": "ViewTemplate<
|
|
3564
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3387
3565
|
},
|
|
3388
|
-
"default": "html`\n ${(x) =>
|
|
3566
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3389
3567
|
}
|
|
3390
3568
|
],
|
|
3391
3569
|
"exports": [
|
|
3392
3570
|
{
|
|
3393
3571
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3572
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3395
3573
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "src/ai-
|
|
3574
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3575
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3398
3576
|
}
|
|
3399
3577
|
}
|
|
3400
3578
|
]
|
|
3401
3579
|
},
|
|
3402
3580
|
{
|
|
3403
3581
|
"kind": "javascript-module",
|
|
3404
|
-
"path": "src/ai-
|
|
3582
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3405
3583
|
"declarations": [
|
|
3406
3584
|
{
|
|
3407
3585
|
"kind": "class",
|
|
3408
|
-
"description": "
|
|
3409
|
-
"name": "
|
|
3586
|
+
"description": "",
|
|
3587
|
+
"name": "AiIndicator",
|
|
3410
3588
|
"members": [
|
|
3411
3589
|
{
|
|
3412
3590
|
"kind": "field",
|
|
@@ -3417,54 +3595,25 @@
|
|
|
3417
3595
|
},
|
|
3418
3596
|
{
|
|
3419
3597
|
"kind": "field",
|
|
3420
|
-
"name": "
|
|
3421
|
-
"type": {
|
|
3422
|
-
"text": "string"
|
|
3423
|
-
},
|
|
3424
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3425
|
-
},
|
|
3426
|
-
{
|
|
3427
|
-
"kind": "field",
|
|
3428
|
-
"name": "disabled",
|
|
3429
|
-
"type": {
|
|
3430
|
-
"text": "boolean"
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "field",
|
|
3435
|
-
"name": "inputValue",
|
|
3436
|
-
"type": {
|
|
3437
|
-
"text": "string"
|
|
3438
|
-
},
|
|
3439
|
-
"default": "''"
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "field",
|
|
3443
|
-
"name": "isInterpreting",
|
|
3598
|
+
"name": "aiProvider",
|
|
3444
3599
|
"type": {
|
|
3445
|
-
"text": "
|
|
3600
|
+
"text": "AIProvider | undefined"
|
|
3446
3601
|
},
|
|
3447
|
-
"
|
|
3602
|
+
"privacy": "private",
|
|
3603
|
+
"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.",
|
|
3604
|
+
"readonly": true
|
|
3448
3605
|
},
|
|
3449
3606
|
{
|
|
3450
3607
|
"kind": "field",
|
|
3451
|
-
"name": "
|
|
3608
|
+
"name": "status",
|
|
3452
3609
|
"type": {
|
|
3453
|
-
"text": "
|
|
3610
|
+
"text": "AIStatus | null"
|
|
3454
3611
|
},
|
|
3455
3612
|
"default": "null"
|
|
3456
3613
|
},
|
|
3457
3614
|
{
|
|
3458
3615
|
"kind": "field",
|
|
3459
|
-
"name": "
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "CriteriaGroup[]"
|
|
3462
|
-
},
|
|
3463
|
-
"default": "[]"
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"kind": "field",
|
|
3467
|
-
"name": "showingChips",
|
|
3616
|
+
"name": "open",
|
|
3468
3617
|
"type": {
|
|
3469
3618
|
"text": "boolean"
|
|
3470
3619
|
},
|
|
@@ -3472,15 +3621,15 @@
|
|
|
3472
3621
|
},
|
|
3473
3622
|
{
|
|
3474
3623
|
"kind": "field",
|
|
3475
|
-
"name": "
|
|
3624
|
+
"name": "state",
|
|
3476
3625
|
"type": {
|
|
3477
|
-
"text": "
|
|
3626
|
+
"text": "AIIndicatorState"
|
|
3478
3627
|
},
|
|
3479
|
-
"default": "
|
|
3628
|
+
"default": "'none'"
|
|
3480
3629
|
},
|
|
3481
3630
|
{
|
|
3482
3631
|
"kind": "field",
|
|
3483
|
-
"name": "
|
|
3632
|
+
"name": "isInstalling",
|
|
3484
3633
|
"type": {
|
|
3485
3634
|
"text": "boolean"
|
|
3486
3635
|
},
|
|
@@ -3488,33 +3637,29 @@
|
|
|
3488
3637
|
},
|
|
3489
3638
|
{
|
|
3490
3639
|
"kind": "field",
|
|
3491
|
-
"name": "
|
|
3640
|
+
"name": "pollTimer",
|
|
3492
3641
|
"type": {
|
|
3493
|
-
"text": "
|
|
3642
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3494
3643
|
},
|
|
3495
|
-
"privacy": "
|
|
3644
|
+
"privacy": "private",
|
|
3645
|
+
"default": "null"
|
|
3496
3646
|
},
|
|
3497
3647
|
{
|
|
3498
3648
|
"kind": "field",
|
|
3499
|
-
"name": "
|
|
3500
|
-
"
|
|
3501
|
-
"text": "(() => void) | null"
|
|
3502
|
-
},
|
|
3503
|
-
"privacy": "private",
|
|
3504
|
-
"default": "null"
|
|
3649
|
+
"name": "clickOutside",
|
|
3650
|
+
"privacy": "private"
|
|
3505
3651
|
},
|
|
3506
3652
|
{
|
|
3507
3653
|
"kind": "field",
|
|
3508
|
-
"name": "
|
|
3654
|
+
"name": "chromeStatusLabel",
|
|
3509
3655
|
"type": {
|
|
3510
|
-
"text": "
|
|
3656
|
+
"text": "string | null"
|
|
3511
3657
|
},
|
|
3512
|
-
"
|
|
3513
|
-
"default": "null"
|
|
3658
|
+
"readonly": true
|
|
3514
3659
|
},
|
|
3515
3660
|
{
|
|
3516
3661
|
"kind": "field",
|
|
3517
|
-
"name": "
|
|
3662
|
+
"name": "canInstall",
|
|
3518
3663
|
"type": {
|
|
3519
3664
|
"text": "boolean"
|
|
3520
3665
|
},
|
|
@@ -3522,65 +3667,69 @@
|
|
|
3522
3667
|
},
|
|
3523
3668
|
{
|
|
3524
3669
|
"kind": "field",
|
|
3525
|
-
"name": "
|
|
3670
|
+
"name": "isDownloading",
|
|
3526
3671
|
"type": {
|
|
3527
|
-
"text": "
|
|
3672
|
+
"text": "boolean"
|
|
3528
3673
|
},
|
|
3529
3674
|
"readonly": true
|
|
3530
3675
|
},
|
|
3531
3676
|
{
|
|
3532
3677
|
"kind": "method",
|
|
3533
|
-
"name": "
|
|
3534
|
-
"privacy": "private",
|
|
3678
|
+
"name": "openChanged",
|
|
3535
3679
|
"return": {
|
|
3536
3680
|
"type": {
|
|
3537
|
-
"text": "
|
|
3681
|
+
"text": "void"
|
|
3538
3682
|
}
|
|
3539
|
-
}
|
|
3683
|
+
}
|
|
3684
|
+
},
|
|
3685
|
+
{
|
|
3686
|
+
"kind": "method",
|
|
3687
|
+
"name": "handleClickOutside",
|
|
3688
|
+
"privacy": "private",
|
|
3540
3689
|
"parameters": [
|
|
3541
3690
|
{
|
|
3542
|
-
"name": "
|
|
3691
|
+
"name": "event",
|
|
3543
3692
|
"type": {
|
|
3544
|
-
"text": "
|
|
3693
|
+
"text": "MouseEvent"
|
|
3545
3694
|
}
|
|
3546
3695
|
}
|
|
3547
3696
|
]
|
|
3548
3697
|
},
|
|
3549
3698
|
{
|
|
3550
3699
|
"kind": "method",
|
|
3551
|
-
"name": "
|
|
3700
|
+
"name": "toggleDropdown"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"kind": "method",
|
|
3704
|
+
"name": "refreshStatus",
|
|
3552
3705
|
"return": {
|
|
3553
3706
|
"type": {
|
|
3554
|
-
"text": "void"
|
|
3707
|
+
"text": "Promise<void>"
|
|
3555
3708
|
}
|
|
3556
3709
|
}
|
|
3557
3710
|
},
|
|
3558
3711
|
{
|
|
3559
3712
|
"kind": "method",
|
|
3560
|
-
"name": "
|
|
3713
|
+
"name": "deriveState",
|
|
3714
|
+
"privacy": "private",
|
|
3561
3715
|
"return": {
|
|
3562
3716
|
"type": {
|
|
3563
|
-
"text": "
|
|
3717
|
+
"text": "AIIndicatorState"
|
|
3564
3718
|
}
|
|
3565
3719
|
},
|
|
3566
3720
|
"parameters": [
|
|
3567
3721
|
{
|
|
3568
|
-
"name": "
|
|
3569
|
-
"type": {
|
|
3570
|
-
"text": "number"
|
|
3571
|
-
}
|
|
3572
|
-
},
|
|
3573
|
-
{
|
|
3574
|
-
"name": "clauseIndex",
|
|
3722
|
+
"name": "s",
|
|
3575
3723
|
"type": {
|
|
3576
|
-
"text": "
|
|
3724
|
+
"text": "AIStatus | null"
|
|
3577
3725
|
}
|
|
3578
3726
|
}
|
|
3579
3727
|
]
|
|
3580
3728
|
},
|
|
3581
3729
|
{
|
|
3582
3730
|
"kind": "method",
|
|
3583
|
-
"name": "
|
|
3731
|
+
"name": "maybeStartPolling",
|
|
3732
|
+
"privacy": "private",
|
|
3584
3733
|
"return": {
|
|
3585
3734
|
"type": {
|
|
3586
3735
|
"text": "void"
|
|
@@ -3589,24 +3738,32 @@
|
|
|
3589
3738
|
},
|
|
3590
3739
|
{
|
|
3591
3740
|
"kind": "method",
|
|
3592
|
-
"name": "
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
"kind": "method",
|
|
3600
|
-
"name": "clear"
|
|
3741
|
+
"name": "startPolling",
|
|
3742
|
+
"privacy": "private",
|
|
3743
|
+
"return": {
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "void"
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3601
3748
|
},
|
|
3602
3749
|
{
|
|
3603
3750
|
"kind": "method",
|
|
3604
|
-
"name": "
|
|
3751
|
+
"name": "stopPolling",
|
|
3752
|
+
"privacy": "private",
|
|
3753
|
+
"return": {
|
|
3754
|
+
"type": {
|
|
3755
|
+
"text": "void"
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3605
3758
|
},
|
|
3606
3759
|
{
|
|
3607
3760
|
"kind": "method",
|
|
3608
|
-
"name": "
|
|
3609
|
-
"
|
|
3761
|
+
"name": "onInstall",
|
|
3762
|
+
"return": {
|
|
3763
|
+
"type": {
|
|
3764
|
+
"text": "Promise<void>"
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3610
3767
|
},
|
|
3611
3768
|
{
|
|
3612
3769
|
"kind": "field",
|
|
@@ -3720,245 +3877,88 @@
|
|
|
3720
3877
|
}
|
|
3721
3878
|
}
|
|
3722
3879
|
],
|
|
3723
|
-
"events": [
|
|
3724
|
-
{
|
|
3725
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3726
|
-
"name": "criteria-changed"
|
|
3727
|
-
},
|
|
3728
|
-
{
|
|
3729
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3730
|
-
"name": "validation-errors"
|
|
3731
|
-
}
|
|
3732
|
-
],
|
|
3733
|
-
"attributes": [
|
|
3734
|
-
{
|
|
3735
|
-
"name": "placeholder",
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "string"
|
|
3738
|
-
},
|
|
3739
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3740
|
-
"fieldName": "placeholder"
|
|
3741
|
-
},
|
|
3742
|
-
{
|
|
3743
|
-
"type": {
|
|
3744
|
-
"text": "boolean"
|
|
3745
|
-
},
|
|
3746
|
-
"fieldName": "disabled"
|
|
3747
|
-
}
|
|
3748
|
-
],
|
|
3749
3880
|
"superclass": {
|
|
3750
3881
|
"name": "FoundationElement",
|
|
3751
3882
|
"package": "@microsoft/fast-foundation"
|
|
3752
3883
|
},
|
|
3753
|
-
"tagName": "%%prefix%%-ai-
|
|
3884
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3754
3885
|
"customElement": true
|
|
3755
3886
|
},
|
|
3756
3887
|
{
|
|
3757
3888
|
"kind": "variable",
|
|
3758
|
-
"name": "
|
|
3759
|
-
"type": {
|
|
3760
|
-
"text": "ShadowRootInit"
|
|
3761
|
-
},
|
|
3762
|
-
"default": "undefined"
|
|
3763
|
-
},
|
|
3764
|
-
{
|
|
3765
|
-
"kind": "variable",
|
|
3766
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3767
|
-
"type": {
|
|
3768
|
-
"text": "object"
|
|
3769
|
-
},
|
|
3770
|
-
"default": "{}"
|
|
3771
|
-
},
|
|
3772
|
-
{
|
|
3773
|
-
"kind": "variable",
|
|
3774
|
-
"name": "foundationAiCriteriaSearch"
|
|
3889
|
+
"name": "foundationAiIndicator"
|
|
3775
3890
|
}
|
|
3776
3891
|
],
|
|
3777
3892
|
"exports": [
|
|
3778
3893
|
{
|
|
3779
3894
|
"kind": "js",
|
|
3780
|
-
"name": "
|
|
3781
|
-
"declaration": {
|
|
3782
|
-
"name": "AiCriteriaSearch",
|
|
3783
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3784
|
-
}
|
|
3785
|
-
},
|
|
3786
|
-
{
|
|
3787
|
-
"kind": "js",
|
|
3788
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3789
|
-
"declaration": {
|
|
3790
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3791
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3792
|
-
}
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
"kind": "js",
|
|
3796
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3895
|
+
"name": "AiIndicator",
|
|
3797
3896
|
"declaration": {
|
|
3798
|
-
"name": "
|
|
3799
|
-
"module": "src/ai-
|
|
3897
|
+
"name": "AiIndicator",
|
|
3898
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3800
3899
|
}
|
|
3801
3900
|
},
|
|
3802
3901
|
{
|
|
3803
3902
|
"kind": "js",
|
|
3804
|
-
"name": "
|
|
3903
|
+
"name": "foundationAiIndicator",
|
|
3805
3904
|
"declaration": {
|
|
3806
|
-
"name": "
|
|
3807
|
-
"module": "src/ai-
|
|
3905
|
+
"name": "foundationAiIndicator",
|
|
3906
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3808
3907
|
}
|
|
3809
3908
|
}
|
|
3810
3909
|
]
|
|
3811
3910
|
},
|
|
3812
3911
|
{
|
|
3813
3912
|
"kind": "javascript-module",
|
|
3814
|
-
"path": "src/ai-
|
|
3913
|
+
"path": "src/ai-indicator/index.ts",
|
|
3815
3914
|
"declarations": [],
|
|
3816
3915
|
"exports": [
|
|
3817
3916
|
{
|
|
3818
3917
|
"kind": "js",
|
|
3819
|
-
"name": "
|
|
3820
|
-
"declaration": {
|
|
3821
|
-
"name": "AiCriteriaSearch",
|
|
3822
|
-
"module": "./ai-criteria-search"
|
|
3823
|
-
}
|
|
3824
|
-
},
|
|
3825
|
-
{
|
|
3826
|
-
"kind": "js",
|
|
3827
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3828
|
-
"declaration": {
|
|
3829
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3830
|
-
"module": "./ai-criteria-search"
|
|
3831
|
-
}
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "js",
|
|
3835
|
-
"name": "foundationAiCriteriaSearch",
|
|
3836
|
-
"declaration": {
|
|
3837
|
-
"name": "foundationAiCriteriaSearch",
|
|
3838
|
-
"module": "./ai-criteria-search"
|
|
3839
|
-
}
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"kind": "js",
|
|
3843
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3844
|
-
"declaration": {
|
|
3845
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3846
|
-
"module": "./ai-criteria-search"
|
|
3847
|
-
}
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"kind": "js",
|
|
3851
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3852
|
-
"declaration": {
|
|
3853
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3854
|
-
"module": "./ai-criteria-search.styles"
|
|
3855
|
-
}
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"kind": "js",
|
|
3859
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3918
|
+
"name": "AiIndicator",
|
|
3860
3919
|
"declaration": {
|
|
3861
|
-
"name": "
|
|
3862
|
-
"module": "./ai-
|
|
3920
|
+
"name": "AiIndicator",
|
|
3921
|
+
"module": "./ai-indicator"
|
|
3863
3922
|
}
|
|
3864
3923
|
},
|
|
3865
3924
|
{
|
|
3866
3925
|
"kind": "js",
|
|
3867
|
-
"name": "
|
|
3926
|
+
"name": "foundationAiIndicator",
|
|
3868
3927
|
"declaration": {
|
|
3869
|
-
"name": "
|
|
3870
|
-
"
|
|
3928
|
+
"name": "foundationAiIndicator",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3871
3930
|
}
|
|
3872
3931
|
},
|
|
3873
3932
|
{
|
|
3874
3933
|
"kind": "js",
|
|
3875
|
-
"name": "
|
|
3934
|
+
"name": "type",
|
|
3876
3935
|
"declaration": {
|
|
3877
|
-
"name": "
|
|
3878
|
-
"
|
|
3936
|
+
"name": "type",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3879
3938
|
}
|
|
3880
3939
|
},
|
|
3881
3940
|
{
|
|
3882
3941
|
"kind": "js",
|
|
3883
|
-
"name": "
|
|
3942
|
+
"name": "AIIndicatorState",
|
|
3884
3943
|
"declaration": {
|
|
3885
|
-
"name": "
|
|
3886
|
-
"
|
|
3944
|
+
"name": "AIIndicatorState",
|
|
3945
|
+
"module": "./ai-indicator"
|
|
3887
3946
|
}
|
|
3888
|
-
}
|
|
3889
|
-
]
|
|
3890
|
-
},
|
|
3891
|
-
{
|
|
3892
|
-
"kind": "javascript-module",
|
|
3893
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3894
|
-
"declarations": [
|
|
3895
|
-
{
|
|
3896
|
-
"kind": "function",
|
|
3897
|
-
"name": "formatValidationErrors",
|
|
3898
|
-
"return": {
|
|
3899
|
-
"type": {
|
|
3900
|
-
"text": "string"
|
|
3901
|
-
}
|
|
3902
|
-
},
|
|
3903
|
-
"parameters": [
|
|
3904
|
-
{
|
|
3905
|
-
"name": "errors",
|
|
3906
|
-
"type": {
|
|
3907
|
-
"text": "ValidationError[]"
|
|
3908
|
-
}
|
|
3909
|
-
}
|
|
3910
|
-
],
|
|
3911
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3912
3947
|
},
|
|
3913
|
-
{
|
|
3914
|
-
"kind": "function",
|
|
3915
|
-
"name": "showCriteriaError",
|
|
3916
|
-
"return": {
|
|
3917
|
-
"type": {
|
|
3918
|
-
"text": "void"
|
|
3919
|
-
}
|
|
3920
|
-
},
|
|
3921
|
-
"parameters": [
|
|
3922
|
-
{
|
|
3923
|
-
"name": "title",
|
|
3924
|
-
"type": {
|
|
3925
|
-
"text": "string"
|
|
3926
|
-
},
|
|
3927
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3928
|
-
},
|
|
3929
|
-
{
|
|
3930
|
-
"name": "body",
|
|
3931
|
-
"type": {
|
|
3932
|
-
"text": "string"
|
|
3933
|
-
},
|
|
3934
|
-
"description": "Error message to display"
|
|
3935
|
-
},
|
|
3936
|
-
{
|
|
3937
|
-
"name": "tagName",
|
|
3938
|
-
"type": {
|
|
3939
|
-
"text": "string"
|
|
3940
|
-
},
|
|
3941
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3942
|
-
}
|
|
3943
|
-
],
|
|
3944
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3945
|
-
}
|
|
3946
|
-
],
|
|
3947
|
-
"exports": [
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"module": "
|
|
3952
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3953
|
+
"module": "./ai-indicator.template"
|
|
3954
3954
|
}
|
|
3955
3955
|
},
|
|
3956
3956
|
{
|
|
3957
3957
|
"kind": "js",
|
|
3958
|
-
"name": "
|
|
3958
|
+
"name": "foundationAiIndicatorStyles",
|
|
3959
3959
|
"declaration": {
|
|
3960
|
-
"name": "
|
|
3961
|
-
"module": "
|
|
3960
|
+
"name": "foundationAiIndicatorStyles",
|
|
3961
|
+
"module": "./ai-indicator.styles"
|
|
3962
3962
|
}
|
|
3963
3963
|
}
|
|
3964
3964
|
]
|