@genesislcap/foundation-ui 14.423.0 → 14.424.0-react-dom-rendering.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.
@@ -1817,123 +1817,203 @@
1817
1817
  },
1818
1818
  {
1819
1819
  "kind": "javascript-module",
1820
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1820
+ "path": "src/actions-menu/actions-menu.styles.ts",
1821
1821
  "declarations": [
1822
1822
  {
1823
- "kind": "variable",
1824
- "name": "foundationAiCriteriaSearchStyles",
1825
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1823
+ "kind": "function",
1824
+ "name": "actionsMenuBaseStyles",
1825
+ "return": {
1826
+ "type": {
1827
+ "text": "ElementStyles"
1828
+ }
1829
+ },
1830
+ "parameters": [
1831
+ {
1832
+ "name": "context",
1833
+ "type": {
1834
+ "text": "ElementDefinitionContext"
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "definition",
1839
+ "type": {
1840
+ "text": "FoundationElementDefinition"
1841
+ }
1842
+ }
1843
+ ]
1844
+ },
1845
+ {
1846
+ "kind": "function",
1847
+ "name": "foundationActionsMenuStyles",
1848
+ "return": {
1849
+ "type": {
1850
+ "text": "ElementStyles"
1851
+ }
1852
+ },
1853
+ "parameters": [
1854
+ {
1855
+ "name": "context",
1856
+ "type": {
1857
+ "text": "ElementDefinitionContext"
1858
+ }
1859
+ },
1860
+ {
1861
+ "name": "definition",
1862
+ "type": {
1863
+ "text": "FoundationElementDefinition"
1864
+ }
1865
+ }
1866
+ ]
1826
1867
  }
1827
1868
  ],
1828
1869
  "exports": [
1829
1870
  {
1830
1871
  "kind": "js",
1831
- "name": "foundationAiCriteriaSearchStyles",
1872
+ "name": "actionsMenuBaseStyles",
1832
1873
  "declaration": {
1833
- "name": "foundationAiCriteriaSearchStyles",
1834
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1874
+ "name": "actionsMenuBaseStyles",
1875
+ "module": "src/actions-menu/actions-menu.styles.ts"
1876
+ }
1877
+ },
1878
+ {
1879
+ "kind": "js",
1880
+ "name": "foundationActionsMenuStyles",
1881
+ "declaration": {
1882
+ "name": "foundationActionsMenuStyles",
1883
+ "module": "src/actions-menu/actions-menu.styles.ts"
1835
1884
  }
1836
1885
  }
1837
1886
  ]
1838
1887
  },
1839
1888
  {
1840
1889
  "kind": "javascript-module",
1841
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1890
+ "path": "src/actions-menu/actions-menu.template.ts",
1842
1891
  "declarations": [
1892
+ {
1893
+ "kind": "function",
1894
+ "name": "menuTemplate",
1895
+ "parameters": [
1896
+ {
1897
+ "name": "prefix",
1898
+ "type": {
1899
+ "text": "string"
1900
+ }
1901
+ }
1902
+ ]
1903
+ },
1904
+ {
1905
+ "kind": "function",
1906
+ "name": "singleOptionTemplate",
1907
+ "parameters": [
1908
+ {
1909
+ "name": "prefix",
1910
+ "type": {
1911
+ "text": "string"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1843
1916
  {
1844
1917
  "kind": "variable",
1845
- "name": "foundationAiCriteriaSearchTemplate",
1918
+ "name": "foundationActionsMenuTemplate",
1846
1919
  "type": {
1847
- "text": "ViewTemplate<AiCriteriaSearch>"
1920
+ "text": "ViewTemplate<ActionsMenu>"
1848
1921
  },
1849
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1922
+ "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`"
1850
1923
  }
1851
1924
  ],
1852
1925
  "exports": [
1853
1926
  {
1854
1927
  "kind": "js",
1855
- "name": "foundationAiCriteriaSearchTemplate",
1928
+ "name": "menuTemplate",
1856
1929
  "declaration": {
1857
- "name": "foundationAiCriteriaSearchTemplate",
1858
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1930
+ "name": "menuTemplate",
1931
+ "module": "src/actions-menu/actions-menu.template.ts"
1932
+ }
1933
+ },
1934
+ {
1935
+ "kind": "js",
1936
+ "name": "singleOptionTemplate",
1937
+ "declaration": {
1938
+ "name": "singleOptionTemplate",
1939
+ "module": "src/actions-menu/actions-menu.template.ts"
1940
+ }
1941
+ },
1942
+ {
1943
+ "kind": "js",
1944
+ "name": "foundationActionsMenuTemplate",
1945
+ "declaration": {
1946
+ "name": "foundationActionsMenuTemplate",
1947
+ "module": "src/actions-menu/actions-menu.template.ts"
1859
1948
  }
1860
1949
  }
1861
1950
  ]
1862
1951
  },
1863
1952
  {
1864
1953
  "kind": "javascript-module",
1865
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1954
+ "path": "src/actions-menu/actions-menu.ts",
1866
1955
  "declarations": [
1867
1956
  {
1868
1957
  "kind": "class",
1869
- "description": "Natural-language criteria search input with AI interpretation.",
1870
- "name": "AiCriteriaSearch",
1958
+ "description": "",
1959
+ "name": "ActionsMenu",
1871
1960
  "members": [
1872
1961
  {
1873
1962
  "kind": "field",
1874
- "name": "aiProvider",
1963
+ "name": "actions",
1875
1964
  "type": {
1876
- "text": "AIProvider"
1965
+ "text": "ActionMenuItem[]"
1877
1966
  }
1878
1967
  },
1879
1968
  {
1880
1969
  "kind": "field",
1881
- "name": "placeholder",
1970
+ "name": "isVertical",
1882
1971
  "type": {
1883
- "text": "string"
1972
+ "text": "boolean"
1884
1973
  },
1885
- "default": "'Describe your search criteria in natural language...'"
1974
+ "default": "false"
1886
1975
  },
1887
1976
  {
1888
1977
  "kind": "field",
1889
- "name": "disabled",
1978
+ "name": "addDefaultActions",
1890
1979
  "type": {
1891
1980
  "text": "boolean"
1892
- }
1893
- },
1894
- {
1895
- "kind": "field",
1896
- "name": "mode",
1897
- "type": {
1898
- "text": "'append' | 'replace'"
1899
1981
  },
1900
- "default": "'replace'"
1982
+ "default": "true"
1901
1983
  },
1902
1984
  {
1903
1985
  "kind": "field",
1904
- "name": "inputValue",
1986
+ "name": "autoCloseOnAction",
1905
1987
  "type": {
1906
- "text": "string"
1988
+ "text": "boolean"
1907
1989
  },
1908
- "default": "''"
1990
+ "default": "true"
1909
1991
  },
1910
1992
  {
1911
1993
  "kind": "field",
1912
- "name": "isInterpreting",
1994
+ "name": "classNames",
1913
1995
  "type": {
1914
- "text": "boolean"
1915
- },
1916
- "default": "false"
1996
+ "text": "string"
1997
+ }
1917
1998
  },
1918
1999
  {
1919
2000
  "kind": "field",
1920
- "name": "lastValidCriteria",
2001
+ "name": "definition",
1921
2002
  "type": {
1922
- "text": "string | null"
1923
- },
1924
- "default": "null"
2003
+ "text": "any"
2004
+ }
1925
2005
  },
1926
2006
  {
1927
2007
  "kind": "field",
1928
- "name": "fieldMetadata",
2008
+ "name": "name",
1929
2009
  "type": {
1930
- "text": "MetadataDetail[] | string[]"
2010
+ "text": "string"
1931
2011
  },
1932
- "default": "[]"
2012
+ "default": "'Actions'"
1933
2013
  },
1934
2014
  {
1935
2015
  "kind": "field",
1936
- "name": "isRecording",
2016
+ "name": "open",
1937
2017
  "type": {
1938
2018
  "text": "boolean"
1939
2019
  },
@@ -1941,80 +2021,130 @@
1941
2021
  },
1942
2022
  {
1943
2023
  "kind": "field",
1944
- "name": "textAreaRef",
2024
+ "name": "buttonAppearance",
1945
2025
  "type": {
1946
- "text": "HTMLTextAreaElement"
1947
- },
1948
- "privacy": "public"
2026
+ "text": "string"
2027
+ }
1949
2028
  },
1950
2029
  {
1951
2030
  "kind": "field",
1952
- "name": "stopRecording",
2031
+ "name": "hideDisabled",
1953
2032
  "type": {
1954
- "text": "(() => void) | null"
2033
+ "text": "boolean"
1955
2034
  },
1956
- "privacy": "private",
1957
- "default": "null"
2035
+ "default": "false"
1958
2036
  },
1959
2037
  {
1960
2038
  "kind": "field",
1961
- "name": "speechApplyDebounceTimer",
2039
+ "name": "hideMenuSingleOption",
1962
2040
  "type": {
1963
- "text": "ReturnType<typeof setTimeout> | null"
2041
+ "text": "boolean"
1964
2042
  },
1965
- "privacy": "private",
1966
- "default": "null"
2043
+ "default": "false"
1967
2044
  },
1968
2045
  {
1969
2046
  "kind": "field",
1970
- "name": "baseInputForAppend",
2047
+ "name": "singleOption",
1971
2048
  "type": {
1972
- "text": "string"
1973
- },
1974
- "privacy": "private",
1975
- "default": "''"
2049
+ "text": "ActionMenuItem"
2050
+ }
1976
2051
  },
1977
2052
  {
1978
2053
  "kind": "field",
1979
- "name": "speechAvailable",
2054
+ "name": "actionsMenu",
1980
2055
  "type": {
1981
- "text": "boolean"
1982
- },
1983
- "readonly": true
1984
- },
1985
- {
1986
- "kind": "method",
1987
- "name": "handleSubmit"
2056
+ "text": "HTMLElement"
2057
+ }
1988
2058
  },
1989
2059
  {
1990
2060
  "kind": "method",
1991
- "name": "handleBlur"
2061
+ "name": "definitionChanged",
2062
+ "privacy": "protected",
2063
+ "parameters": [
2064
+ {
2065
+ "name": "oldValue",
2066
+ "type": {
2067
+ "text": "any"
2068
+ }
2069
+ },
2070
+ {
2071
+ "name": "newValue",
2072
+ "type": {
2073
+ "text": "any"
2074
+ }
2075
+ }
2076
+ ]
1992
2077
  },
1993
2078
  {
1994
2079
  "kind": "method",
1995
- "name": "clear"
2080
+ "name": "openChanged",
2081
+ "privacy": "protected"
1996
2082
  },
1997
2083
  {
1998
2084
  "kind": "method",
1999
- "name": "toggleSpeechInput"
2085
+ "name": "toggleActionsMenuVisibility"
2000
2086
  },
2001
2087
  {
2002
2088
  "kind": "method",
2003
- "name": "clearSpeechApplyDebounce",
2004
- "privacy": "private"
2089
+ "name": "onActionMenuItemClick",
2090
+ "parameters": [
2091
+ {
2092
+ "name": "callback",
2093
+ "type": {
2094
+ "text": "(rowData) => void | any"
2095
+ }
2096
+ }
2097
+ ]
2005
2098
  },
2006
2099
  {
2007
2100
  "kind": "field",
2008
- "name": "_presentation",
2101
+ "name": "allActions",
2009
2102
  "type": {
2010
- "text": "ComponentPresentation | null | undefined"
2103
+ "text": "ActionMenuItem[]"
2011
2104
  },
2012
- "privacy": "private",
2013
- "default": "void 0",
2014
- "inheritedFrom": {
2015
- "name": "FoundationElement",
2016
- "module": "src/foundation-element/foundation-element.ts"
2017
- }
2105
+ "readonly": true
2106
+ },
2107
+ {
2108
+ "kind": "field",
2109
+ "name": "rowData",
2110
+ "readonly": true
2111
+ },
2112
+ {
2113
+ "kind": "method",
2114
+ "name": "getLabel",
2115
+ "parameters": [
2116
+ {
2117
+ "name": "name",
2118
+ "type": {
2119
+ "text": "string | ((rowData: any) => string)"
2120
+ }
2121
+ }
2122
+ ]
2123
+ },
2124
+ {
2125
+ "kind": "method",
2126
+ "name": "getTemplate",
2127
+ "parameters": [
2128
+ {
2129
+ "name": "prefix",
2130
+ "type": {
2131
+ "text": "string"
2132
+ }
2133
+ }
2134
+ ]
2135
+ },
2136
+ {
2137
+ "kind": "field",
2138
+ "name": "_presentation",
2139
+ "type": {
2140
+ "text": "ComponentPresentation | null | undefined"
2141
+ },
2142
+ "privacy": "private",
2143
+ "default": "void 0",
2144
+ "inheritedFrom": {
2145
+ "name": "FoundationElement",
2146
+ "module": "src/foundation-element/foundation-element.ts"
2147
+ }
2018
2148
  },
2019
2149
  {
2020
2150
  "kind": "field",
@@ -2115,162 +2245,115 @@
2115
2245
  }
2116
2246
  }
2117
2247
  ],
2118
- "events": [
2248
+ "attributes": [
2119
2249
  {
2120
- "description": "Fired when interpreted criteria is applied or cleared",
2121
- "name": "criteria-changed"
2250
+ "name": "is-vertical",
2251
+ "type": {
2252
+ "text": "boolean"
2253
+ },
2254
+ "default": "false",
2255
+ "fieldName": "isVertical"
2122
2256
  },
2123
2257
  {
2124
- "description": "Fired when interpreted criteria contains invalid clauses",
2125
- "name": "validation-errors"
2126
- }
2127
- ],
2128
- "attributes": [
2258
+ "name": "add-default-actions",
2259
+ "type": {
2260
+ "text": "boolean"
2261
+ },
2262
+ "default": "true",
2263
+ "fieldName": "addDefaultActions"
2264
+ },
2129
2265
  {
2130
- "name": "placeholder",
2266
+ "name": "auto-close-on-action",
2267
+ "type": {
2268
+ "text": "boolean"
2269
+ },
2270
+ "default": "true",
2271
+ "fieldName": "autoCloseOnAction"
2272
+ },
2273
+ {
2274
+ "name": "name",
2131
2275
  "type": {
2132
2276
  "text": "string"
2133
2277
  },
2134
- "default": "'Describe your search criteria in natural language...'",
2135
- "fieldName": "placeholder"
2278
+ "default": "'Actions'",
2279
+ "fieldName": "name"
2136
2280
  },
2137
2281
  {
2282
+ "name": "open",
2138
2283
  "type": {
2139
2284
  "text": "boolean"
2140
2285
  },
2141
- "fieldName": "disabled"
2286
+ "default": "false",
2287
+ "fieldName": "open"
2142
2288
  },
2143
2289
  {
2144
- "name": "mode",
2290
+ "name": "buttonAppearance",
2145
2291
  "type": {
2146
- "text": "'append' | 'replace'"
2292
+ "text": "string"
2147
2293
  },
2148
- "default": "'replace'",
2149
- "fieldName": "mode"
2294
+ "fieldName": "buttonAppearance"
2295
+ },
2296
+ {
2297
+ "name": "hide-disabled",
2298
+ "type": {
2299
+ "text": "boolean"
2300
+ },
2301
+ "default": "false",
2302
+ "fieldName": "hideDisabled"
2303
+ },
2304
+ {
2305
+ "name": "hide-menu-single-option",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "hideMenuSingleOption"
2150
2311
  }
2151
2312
  ],
2152
2313
  "superclass": {
2153
2314
  "name": "FoundationElement",
2154
2315
  "package": "@microsoft/fast-foundation"
2155
2316
  },
2156
- "tagName": "%%prefix%%-ai-criteria-search",
2317
+ "tagName": "%%prefix%%-actions-menu",
2157
2318
  "customElement": true
2158
2319
  },
2159
2320
  {
2160
2321
  "kind": "variable",
2161
- "name": "foundationAiCriteriaSearchShadowOptions",
2162
- "type": {
2163
- "text": "ShadowRootInit"
2164
- },
2165
- "default": "undefined"
2166
- },
2167
- {
2168
- "kind": "variable",
2169
- "name": "defaultAiCriteriaSearchConfig",
2170
- "type": {
2171
- "text": "object"
2172
- },
2173
- "default": "{}"
2174
- },
2175
- {
2176
- "kind": "variable",
2177
- "name": "foundationAiCriteriaSearch"
2322
+ "name": "foundationActionsMenu",
2323
+ "description": "The Foundation Actions Menu",
2324
+ "privacy": "public"
2178
2325
  }
2179
2326
  ],
2180
2327
  "exports": [
2181
2328
  {
2182
2329
  "kind": "js",
2183
- "name": "AiCriteriaSearch",
2184
- "declaration": {
2185
- "name": "AiCriteriaSearch",
2186
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2187
- }
2188
- },
2189
- {
2190
- "kind": "js",
2191
- "name": "foundationAiCriteriaSearchShadowOptions",
2192
- "declaration": {
2193
- "name": "foundationAiCriteriaSearchShadowOptions",
2194
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2195
- }
2196
- },
2197
- {
2198
- "kind": "js",
2199
- "name": "defaultAiCriteriaSearchConfig",
2330
+ "name": "ActionsMenu",
2200
2331
  "declaration": {
2201
- "name": "defaultAiCriteriaSearchConfig",
2202
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2332
+ "name": "ActionsMenu",
2333
+ "module": "src/actions-menu/actions-menu.ts"
2203
2334
  }
2204
2335
  },
2205
2336
  {
2206
2337
  "kind": "js",
2207
- "name": "foundationAiCriteriaSearch",
2338
+ "name": "foundationActionsMenu",
2208
2339
  "declaration": {
2209
- "name": "foundationAiCriteriaSearch",
2210
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2340
+ "name": "foundationActionsMenu",
2341
+ "module": "src/actions-menu/actions-menu.ts"
2211
2342
  }
2212
2343
  }
2213
2344
  ]
2214
2345
  },
2215
2346
  {
2216
2347
  "kind": "javascript-module",
2217
- "path": "src/ai-criteria-search/index.ts",
2348
+ "path": "src/actions-menu/index.ts",
2218
2349
  "declarations": [],
2219
2350
  "exports": [
2220
- {
2221
- "kind": "js",
2222
- "name": "AiCriteriaSearch",
2223
- "declaration": {
2224
- "name": "AiCriteriaSearch",
2225
- "module": "./ai-criteria-search"
2226
- }
2227
- },
2228
- {
2229
- "kind": "js",
2230
- "name": "defaultAiCriteriaSearchConfig",
2231
- "declaration": {
2232
- "name": "defaultAiCriteriaSearchConfig",
2233
- "module": "./ai-criteria-search"
2234
- }
2235
- },
2236
- {
2237
- "kind": "js",
2238
- "name": "foundationAiCriteriaSearch",
2239
- "declaration": {
2240
- "name": "foundationAiCriteriaSearch",
2241
- "module": "./ai-criteria-search"
2242
- }
2243
- },
2244
- {
2245
- "kind": "js",
2246
- "name": "foundationAiCriteriaSearchShadowOptions",
2247
- "declaration": {
2248
- "name": "foundationAiCriteriaSearchShadowOptions",
2249
- "module": "./ai-criteria-search"
2250
- }
2251
- },
2252
- {
2253
- "kind": "js",
2254
- "name": "foundationAiCriteriaSearchStyles",
2255
- "declaration": {
2256
- "name": "foundationAiCriteriaSearchStyles",
2257
- "module": "./ai-criteria-search.styles"
2258
- }
2259
- },
2260
- {
2261
- "kind": "js",
2262
- "name": "foundationAiCriteriaSearchTemplate",
2263
- "declaration": {
2264
- "name": "foundationAiCriteriaSearchTemplate",
2265
- "module": "./ai-criteria-search.template"
2266
- }
2267
- },
2268
2351
  {
2269
2352
  "kind": "js",
2270
2353
  "name": "*",
2271
2354
  "declaration": {
2272
2355
  "name": "*",
2273
- "package": "./validation/criteria-ir"
2356
+ "package": "./actions-menu.styles"
2274
2357
  }
2275
2358
  },
2276
2359
  {
@@ -2278,7 +2361,7 @@
2278
2361
  "name": "*",
2279
2362
  "declaration": {
2280
2363
  "name": "*",
2281
- "package": "./validation/operator-map"
2364
+ "package": "./actions-menu.template"
2282
2365
  }
2283
2366
  },
2284
2367
  {
@@ -2286,119 +2369,60 @@
2286
2369
  "name": "*",
2287
2370
  "declaration": {
2288
2371
  "name": "*",
2289
- "package": "./validation/schema-validator"
2372
+ "package": "./actions-menu"
2290
2373
  }
2291
2374
  }
2292
2375
  ]
2293
2376
  },
2294
2377
  {
2295
2378
  "kind": "javascript-module",
2296
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2379
+ "path": "src/accordion/accordion.styles.ts",
2297
2380
  "declarations": [
2298
2381
  {
2299
2382
  "kind": "function",
2300
- "name": "formatValidationErrors",
2383
+ "name": "foundationAccordionStyles",
2301
2384
  "return": {
2302
2385
  "type": {
2303
- "text": "string"
2386
+ "text": "ElementStyles"
2304
2387
  }
2305
2388
  },
2306
2389
  "parameters": [
2307
2390
  {
2308
- "name": "errors",
2391
+ "name": "context",
2309
2392
  "type": {
2310
- "text": "ValidationError[]"
2393
+ "text": "ElementDefinitionContext"
2311
2394
  }
2312
- }
2313
- ],
2314
- "description": "Formats validation errors into a user-friendly message."
2315
- },
2316
- {
2317
- "kind": "function",
2318
- "name": "showCriteriaError",
2319
- "return": {
2320
- "type": {
2321
- "text": "void"
2322
- }
2323
- },
2324
- "parameters": [
2325
- {
2326
- "name": "title",
2327
- "type": {
2328
- "text": "string"
2329
- },
2330
- "description": "Notification title (e.g. \"Criteria validation error\")"
2331
2395
  },
2332
2396
  {
2333
- "name": "body",
2334
- "type": {
2335
- "text": "string"
2336
- },
2337
- "description": "Error message to display"
2338
- },
2339
- {
2340
- "name": "tagName",
2397
+ "name": "definition",
2341
2398
  "type": {
2342
- "text": "string"
2343
- },
2344
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2399
+ "text": "FoundationElementDefinition"
2400
+ }
2345
2401
  }
2346
- ],
2347
- "description": "Shows a criteria error as a toast notification."
2402
+ ]
2348
2403
  }
2349
2404
  ],
2350
2405
  "exports": [
2351
2406
  {
2352
2407
  "kind": "js",
2353
- "name": "formatValidationErrors",
2354
- "declaration": {
2355
- "name": "formatValidationErrors",
2356
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2357
- }
2358
- },
2359
- {
2360
- "kind": "js",
2361
- "name": "showCriteriaError",
2408
+ "name": "foundationAccordionStyles",
2362
2409
  "declaration": {
2363
- "name": "showCriteriaError",
2364
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2410
+ "name": "foundationAccordionStyles",
2411
+ "module": "src/accordion/accordion.styles.ts"
2365
2412
  }
2366
2413
  }
2367
2414
  ]
2368
2415
  },
2369
2416
  {
2370
2417
  "kind": "javascript-module",
2371
- "path": "src/actions-menu/actions-menu.styles.ts",
2418
+ "path": "src/accordion/accordion.template.ts",
2372
2419
  "declarations": [
2373
2420
  {
2374
2421
  "kind": "function",
2375
- "name": "actionsMenuBaseStyles",
2376
- "return": {
2377
- "type": {
2378
- "text": "ElementStyles"
2379
- }
2380
- },
2381
- "parameters": [
2382
- {
2383
- "name": "context",
2384
- "type": {
2385
- "text": "ElementDefinitionContext"
2386
- }
2387
- },
2388
- {
2389
- "name": "definition",
2390
- "type": {
2391
- "text": "FoundationElementDefinition"
2392
- }
2393
- }
2394
- ]
2395
- },
2396
- {
2397
- "kind": "function",
2398
- "name": "foundationActionsMenuStyles",
2422
+ "name": "foundationAccordionTemplate",
2399
2423
  "return": {
2400
2424
  "type": {
2401
- "text": "ElementStyles"
2425
+ "text": "ViewTemplate<Accordion>"
2402
2426
  }
2403
2427
  },
2404
2428
  "parameters": [
@@ -2420,269 +2444,238 @@
2420
2444
  "exports": [
2421
2445
  {
2422
2446
  "kind": "js",
2423
- "name": "actionsMenuBaseStyles",
2424
- "declaration": {
2425
- "name": "actionsMenuBaseStyles",
2426
- "module": "src/actions-menu/actions-menu.styles.ts"
2427
- }
2428
- },
2429
- {
2430
- "kind": "js",
2431
- "name": "foundationActionsMenuStyles",
2447
+ "name": "foundationAccordionTemplate",
2432
2448
  "declaration": {
2433
- "name": "foundationActionsMenuStyles",
2434
- "module": "src/actions-menu/actions-menu.styles.ts"
2449
+ "name": "foundationAccordionTemplate",
2450
+ "module": "src/accordion/accordion.template.ts"
2435
2451
  }
2436
2452
  }
2437
2453
  ]
2438
2454
  },
2439
2455
  {
2440
2456
  "kind": "javascript-module",
2441
- "path": "src/actions-menu/actions-menu.template.ts",
2457
+ "path": "src/accordion/accordion.ts",
2442
2458
  "declarations": [
2443
2459
  {
2444
- "kind": "function",
2445
- "name": "menuTemplate",
2446
- "parameters": [
2447
- {
2448
- "name": "prefix",
2449
- "type": {
2450
- "text": "string"
2451
- }
2452
- }
2453
- ]
2454
- },
2455
- {
2456
- "kind": "function",
2457
- "name": "singleOptionTemplate",
2458
- "parameters": [
2460
+ "kind": "class",
2461
+ "description": "",
2462
+ "name": "Accordion",
2463
+ "superclass": {
2464
+ "name": "FASTAccordion",
2465
+ "package": "@microsoft/fast-foundation"
2466
+ },
2467
+ "tagName": "%%prefix%%-accordion",
2468
+ "customElement": true,
2469
+ "attributes": [
2459
2470
  {
2460
- "name": "prefix",
2471
+ "name": "expand-mode",
2461
2472
  "type": {
2462
- "text": "string"
2473
+ "text": "AccordionExpandMode"
2474
+ },
2475
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2476
+ "fieldName": "expandmode",
2477
+ "inheritedFrom": {
2478
+ "name": "Accordion",
2479
+ "module": "src/accordion/accordion.ts"
2463
2480
  }
2464
2481
  }
2465
- ]
2466
- },
2467
- {
2468
- "kind": "variable",
2469
- "name": "foundationActionsMenuTemplate",
2470
- "type": {
2471
- "text": "ViewTemplate<ActionsMenu>"
2472
- },
2473
- "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`"
2474
- }
2475
- ],
2476
- "exports": [
2477
- {
2478
- "kind": "js",
2479
- "name": "menuTemplate",
2480
- "declaration": {
2481
- "name": "menuTemplate",
2482
- "module": "src/actions-menu/actions-menu.template.ts"
2483
- }
2484
- },
2485
- {
2486
- "kind": "js",
2487
- "name": "singleOptionTemplate",
2488
- "declaration": {
2489
- "name": "singleOptionTemplate",
2490
- "module": "src/actions-menu/actions-menu.template.ts"
2491
- }
2492
- },
2493
- {
2494
- "kind": "js",
2495
- "name": "foundationActionsMenuTemplate",
2496
- "declaration": {
2497
- "name": "foundationActionsMenuTemplate",
2498
- "module": "src/actions-menu/actions-menu.template.ts"
2499
- }
2500
- }
2501
- ]
2502
- },
2503
- {
2504
- "kind": "javascript-module",
2505
- "path": "src/actions-menu/actions-menu.ts",
2506
- "declarations": [
2507
- {
2508
- "kind": "class",
2509
- "description": "",
2510
- "name": "ActionsMenu",
2482
+ ],
2511
2483
  "members": [
2512
2484
  {
2513
2485
  "kind": "field",
2514
- "name": "actions",
2486
+ "name": "expandmode",
2515
2487
  "type": {
2516
- "text": "ActionMenuItem[]"
2488
+ "text": "AccordionExpandMode"
2489
+ },
2490
+ "privacy": "public",
2491
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2492
+ "inheritedFrom": {
2493
+ "name": "Accordion",
2494
+ "module": "src/accordion/accordion.ts"
2517
2495
  }
2518
2496
  },
2519
2497
  {
2520
2498
  "kind": "field",
2521
- "name": "isVertical",
2499
+ "name": "activeid",
2522
2500
  "type": {
2523
- "text": "boolean"
2501
+ "text": "string | null"
2524
2502
  },
2525
- "default": "false"
2503
+ "privacy": "private",
2504
+ "inheritedFrom": {
2505
+ "name": "Accordion",
2506
+ "module": "src/accordion/accordion.ts"
2507
+ }
2526
2508
  },
2527
2509
  {
2528
2510
  "kind": "field",
2529
- "name": "addDefaultActions",
2511
+ "name": "activeItemIndex",
2530
2512
  "type": {
2531
- "text": "boolean"
2513
+ "text": "number"
2532
2514
  },
2533
- "default": "true"
2515
+ "privacy": "private",
2516
+ "default": "0",
2517
+ "inheritedFrom": {
2518
+ "name": "Accordion",
2519
+ "module": "src/accordion/accordion.ts"
2520
+ }
2534
2521
  },
2535
2522
  {
2536
2523
  "kind": "field",
2537
- "name": "autoCloseOnAction",
2524
+ "name": "accordionIds",
2538
2525
  "type": {
2539
- "text": "boolean"
2526
+ "text": "Array<string | null>"
2540
2527
  },
2541
- "default": "true"
2542
- },
2543
- {
2544
- "kind": "field",
2545
- "name": "classNames",
2546
- "type": {
2547
- "text": "string"
2528
+ "privacy": "private",
2529
+ "inheritedFrom": {
2530
+ "name": "Accordion",
2531
+ "module": "src/accordion/accordion.ts"
2548
2532
  }
2549
2533
  },
2550
2534
  {
2551
2535
  "kind": "field",
2552
- "name": "definition",
2553
- "type": {
2554
- "text": "any"
2536
+ "name": "change",
2537
+ "privacy": "private",
2538
+ "inheritedFrom": {
2539
+ "name": "Accordion",
2540
+ "module": "src/accordion/accordion.ts"
2555
2541
  }
2556
2542
  },
2557
2543
  {
2558
- "kind": "field",
2559
- "name": "name",
2560
- "type": {
2561
- "text": "string"
2562
- },
2563
- "default": "'Actions'"
2564
- },
2565
- {
2566
- "kind": "field",
2567
- "name": "open",
2568
- "type": {
2569
- "text": "boolean"
2544
+ "kind": "method",
2545
+ "name": "findExpandedItem",
2546
+ "privacy": "private",
2547
+ "return": {
2548
+ "type": {
2549
+ "text": "AccordionItem | null"
2550
+ }
2570
2551
  },
2571
- "default": "false"
2572
- },
2573
- {
2574
- "kind": "field",
2575
- "name": "buttonAppearance",
2576
- "type": {
2577
- "text": "string"
2552
+ "inheritedFrom": {
2553
+ "name": "Accordion",
2554
+ "module": "src/accordion/accordion.ts"
2578
2555
  }
2579
2556
  },
2580
2557
  {
2581
2558
  "kind": "field",
2582
- "name": "hideDisabled",
2583
- "type": {
2584
- "text": "boolean"
2585
- },
2586
- "default": "false"
2559
+ "name": "setItems",
2560
+ "privacy": "private",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2564
+ }
2587
2565
  },
2588
2566
  {
2589
- "kind": "field",
2590
- "name": "hideMenuSingleOption",
2591
- "type": {
2592
- "text": "boolean"
2567
+ "kind": "method",
2568
+ "name": "resetItems",
2569
+ "privacy": "private",
2570
+ "return": {
2571
+ "type": {
2572
+ "text": "void"
2573
+ }
2593
2574
  },
2594
- "default": "false"
2575
+ "inheritedFrom": {
2576
+ "name": "Accordion",
2577
+ "module": "src/accordion/accordion.ts"
2578
+ }
2595
2579
  },
2596
2580
  {
2597
2581
  "kind": "field",
2598
- "name": "singleOption",
2599
- "type": {
2600
- "text": "ActionMenuItem"
2582
+ "name": "removeItemListeners",
2583
+ "privacy": "private",
2584
+ "inheritedFrom": {
2585
+ "name": "Accordion",
2586
+ "module": "src/accordion/accordion.ts"
2601
2587
  }
2602
2588
  },
2603
2589
  {
2604
2590
  "kind": "field",
2605
- "name": "actionsMenu",
2606
- "type": {
2607
- "text": "HTMLElement"
2591
+ "name": "activeItemChange",
2592
+ "privacy": "private",
2593
+ "inheritedFrom": {
2594
+ "name": "Accordion",
2595
+ "module": "src/accordion/accordion.ts"
2608
2596
  }
2609
2597
  },
2610
2598
  {
2611
2599
  "kind": "method",
2612
- "name": "definitionChanged",
2613
- "privacy": "protected",
2614
- "parameters": [
2615
- {
2616
- "name": "oldValue",
2617
- "type": {
2618
- "text": "any"
2619
- }
2620
- },
2621
- {
2622
- "name": "newValue",
2623
- "type": {
2624
- "text": "any"
2625
- }
2600
+ "name": "getItemIds",
2601
+ "privacy": "private",
2602
+ "return": {
2603
+ "type": {
2604
+ "text": "Array<string | null>"
2626
2605
  }
2627
- ]
2628
- },
2629
- {
2630
- "kind": "method",
2631
- "name": "openChanged",
2632
- "privacy": "protected"
2633
- },
2634
- {
2635
- "kind": "method",
2636
- "name": "toggleActionsMenuVisibility"
2606
+ },
2607
+ "inheritedFrom": {
2608
+ "name": "Accordion",
2609
+ "module": "src/accordion/accordion.ts"
2610
+ }
2637
2611
  },
2638
2612
  {
2639
2613
  "kind": "method",
2640
- "name": "onActionMenuItemClick",
2641
- "parameters": [
2642
- {
2643
- "name": "callback",
2644
- "type": {
2645
- "text": "(rowData) => void | any"
2646
- }
2614
+ "name": "isSingleExpandMode",
2615
+ "privacy": "private",
2616
+ "return": {
2617
+ "type": {
2618
+ "text": "boolean"
2647
2619
  }
2648
- ]
2620
+ },
2621
+ "inheritedFrom": {
2622
+ "name": "Accordion",
2623
+ "module": "src/accordion/accordion.ts"
2624
+ }
2649
2625
  },
2650
2626
  {
2651
2627
  "kind": "field",
2652
- "name": "allActions",
2653
- "type": {
2654
- "text": "ActionMenuItem[]"
2655
- },
2656
- "readonly": true
2628
+ "name": "handleItemKeyDown",
2629
+ "privacy": "private",
2630
+ "inheritedFrom": {
2631
+ "name": "Accordion",
2632
+ "module": "src/accordion/accordion.ts"
2633
+ }
2657
2634
  },
2658
2635
  {
2659
2636
  "kind": "field",
2660
- "name": "rowData",
2661
- "readonly": true
2637
+ "name": "handleItemFocus",
2638
+ "privacy": "private",
2639
+ "inheritedFrom": {
2640
+ "name": "Accordion",
2641
+ "module": "src/accordion/accordion.ts"
2642
+ }
2662
2643
  },
2663
2644
  {
2664
2645
  "kind": "method",
2665
- "name": "getLabel",
2646
+ "name": "adjust",
2647
+ "privacy": "private",
2648
+ "return": {
2649
+ "type": {
2650
+ "text": "void"
2651
+ }
2652
+ },
2666
2653
  "parameters": [
2667
2654
  {
2668
- "name": "name",
2655
+ "name": "adjustment",
2669
2656
  "type": {
2670
- "text": "string | ((rowData: any) => string)"
2657
+ "text": "number"
2671
2658
  }
2672
2659
  }
2673
- ]
2660
+ ],
2661
+ "inheritedFrom": {
2662
+ "name": "Accordion",
2663
+ "module": "src/accordion/accordion.ts"
2664
+ }
2674
2665
  },
2675
2666
  {
2676
2667
  "kind": "method",
2677
- "name": "getTemplate",
2678
- "parameters": [
2679
- {
2680
- "name": "prefix",
2681
- "type": {
2682
- "text": "string"
2683
- }
2668
+ "name": "focusItem",
2669
+ "privacy": "private",
2670
+ "return": {
2671
+ "type": {
2672
+ "text": "void"
2684
2673
  }
2685
- ]
2674
+ },
2675
+ "inheritedFrom": {
2676
+ "name": "Accordion",
2677
+ "module": "src/accordion/accordion.ts"
2678
+ }
2686
2679
  },
2687
2680
  {
2688
2681
  "kind": "field",
@@ -2796,107 +2789,78 @@
2796
2789
  }
2797
2790
  }
2798
2791
  ],
2799
- "attributes": [
2800
- {
2801
- "name": "is-vertical",
2802
- "type": {
2803
- "text": "boolean"
2804
- },
2805
- "default": "false",
2806
- "fieldName": "isVertical"
2807
- },
2808
- {
2809
- "name": "add-default-actions",
2810
- "type": {
2811
- "text": "boolean"
2812
- },
2813
- "default": "true",
2814
- "fieldName": "addDefaultActions"
2815
- },
2816
- {
2817
- "name": "auto-close-on-action",
2818
- "type": {
2819
- "text": "boolean"
2820
- },
2821
- "default": "true",
2822
- "fieldName": "autoCloseOnAction"
2823
- },
2824
- {
2825
- "name": "name",
2826
- "type": {
2827
- "text": "string"
2828
- },
2829
- "default": "'Actions'",
2830
- "fieldName": "name"
2831
- },
2832
- {
2833
- "name": "open",
2834
- "type": {
2835
- "text": "boolean"
2836
- },
2837
- "default": "false",
2838
- "fieldName": "open"
2839
- },
2840
- {
2841
- "name": "buttonAppearance",
2842
- "type": {
2843
- "text": "string"
2844
- },
2845
- "fieldName": "buttonAppearance"
2846
- },
2847
- {
2848
- "name": "hide-disabled",
2849
- "type": {
2850
- "text": "boolean"
2851
- },
2852
- "default": "false",
2853
- "fieldName": "hideDisabled"
2854
- },
2792
+ "events": [
2855
2793
  {
2856
- "name": "hide-menu-single-option",
2857
- "type": {
2858
- "text": "boolean"
2859
- },
2860
- "default": "false",
2861
- "fieldName": "hideMenuSingleOption"
2794
+ "description": "Fires a custom 'change' event when the active item changes",
2795
+ "name": "change",
2796
+ "inheritedFrom": {
2797
+ "name": "Accordion",
2798
+ "module": "src/accordion/accordion.ts"
2799
+ }
2862
2800
  }
2863
- ],
2864
- "superclass": {
2865
- "name": "FoundationElement",
2866
- "package": "@microsoft/fast-foundation"
2801
+ ]
2802
+ },
2803
+ {
2804
+ "kind": "variable",
2805
+ "name": "foundationAccordionShadowOptions",
2806
+ "type": {
2807
+ "text": "ShadowRootInit"
2867
2808
  },
2868
- "tagName": "%%prefix%%-actions-menu",
2869
- "customElement": true
2809
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2870
2810
  },
2871
2811
  {
2872
2812
  "kind": "variable",
2873
- "name": "foundationActionsMenu",
2874
- "description": "The Foundation Actions Menu",
2813
+ "name": "defaultAccordionConfig",
2814
+ "type": {
2815
+ "text": "object"
2816
+ },
2817
+ "default": "{}"
2818
+ },
2819
+ {
2820
+ "kind": "variable",
2821
+ "name": "foundationAccordion",
2822
+ "description": "The Foundation Accordion",
2875
2823
  "privacy": "public"
2876
2824
  }
2877
2825
  ],
2878
2826
  "exports": [
2879
2827
  {
2880
2828
  "kind": "js",
2881
- "name": "ActionsMenu",
2829
+ "name": "Accordion",
2882
2830
  "declaration": {
2883
- "name": "ActionsMenu",
2884
- "module": "src/actions-menu/actions-menu.ts"
2831
+ "name": "Accordion",
2832
+ "module": "src/accordion/accordion.ts"
2885
2833
  }
2886
2834
  },
2887
2835
  {
2888
2836
  "kind": "js",
2889
- "name": "foundationActionsMenu",
2837
+ "name": "foundationAccordionShadowOptions",
2890
2838
  "declaration": {
2891
- "name": "foundationActionsMenu",
2892
- "module": "src/actions-menu/actions-menu.ts"
2839
+ "name": "foundationAccordionShadowOptions",
2840
+ "module": "src/accordion/accordion.ts"
2841
+ }
2842
+ },
2843
+ {
2844
+ "kind": "js",
2845
+ "name": "defaultAccordionConfig",
2846
+ "declaration": {
2847
+ "name": "defaultAccordionConfig",
2848
+ "module": "src/accordion/accordion.ts"
2849
+ }
2850
+ },
2851
+ {
2852
+ "kind": "js",
2853
+ "name": "foundationAccordion",
2854
+ "declaration": {
2855
+ "name": "foundationAccordion",
2856
+ "module": "src/accordion/accordion.ts"
2893
2857
  }
2894
2858
  }
2895
2859
  ]
2896
2860
  },
2897
2861
  {
2898
2862
  "kind": "javascript-module",
2899
- "path": "src/actions-menu/index.ts",
2863
+ "path": "src/accordion/index.ts",
2900
2864
  "declarations": [],
2901
2865
  "exports": [
2902
2866
  {
@@ -2904,7 +2868,7 @@
2904
2868
  "name": "*",
2905
2869
  "declaration": {
2906
2870
  "name": "*",
2907
- "package": "./actions-menu.styles"
2871
+ "package": "./accordion.template"
2908
2872
  }
2909
2873
  },
2910
2874
  {
@@ -2912,7 +2876,7 @@
2912
2876
  "name": "*",
2913
2877
  "declaration": {
2914
2878
  "name": "*",
2915
- "package": "./actions-menu.template"
2879
+ "package": "./accordion.styles"
2916
2880
  }
2917
2881
  },
2918
2882
  {
@@ -2920,82 +2884,64 @@
2920
2884
  "name": "*",
2921
2885
  "declaration": {
2922
2886
  "name": "*",
2923
- "package": "./actions-menu"
2887
+ "package": "./accordion"
2924
2888
  }
2925
2889
  }
2926
2890
  ]
2927
2891
  },
2928
2892
  {
2929
2893
  "kind": "javascript-module",
2930
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2894
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2931
2895
  "declarations": [
2932
2896
  {
2933
- "kind": "function",
2934
- "name": "foundationAiIndicatorStyles",
2935
- "return": {
2936
- "type": {
2937
- "text": "ElementStyles"
2938
- }
2939
- },
2940
- "parameters": [
2941
- {
2942
- "name": "context",
2943
- "type": {
2944
- "text": "ElementDefinitionContext"
2945
- }
2946
- },
2947
- {
2948
- "name": "definition",
2949
- "type": {
2950
- "text": "FoundationElementDefinition"
2951
- }
2952
- }
2953
- ]
2897
+ "kind": "variable",
2898
+ "name": "foundationAiCriteriaSearchStyles",
2899
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2954
2900
  }
2955
2901
  ],
2956
2902
  "exports": [
2957
2903
  {
2958
2904
  "kind": "js",
2959
- "name": "foundationAiIndicatorStyles",
2905
+ "name": "foundationAiCriteriaSearchStyles",
2960
2906
  "declaration": {
2961
- "name": "foundationAiIndicatorStyles",
2962
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2907
+ "name": "foundationAiCriteriaSearchStyles",
2908
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2963
2909
  }
2964
2910
  }
2965
2911
  ]
2966
2912
  },
2967
2913
  {
2968
2914
  "kind": "javascript-module",
2969
- "path": "src/ai-indicator/ai-indicator.template.ts",
2915
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2970
2916
  "declarations": [
2971
2917
  {
2972
2918
  "kind": "variable",
2973
- "name": "foundationAiIndicatorTemplate",
2919
+ "name": "foundationAiCriteriaSearchTemplate",
2974
2920
  "type": {
2975
- "text": "ViewTemplate<AiIndicator>"
2921
+ "text": "ViewTemplate<AiCriteriaSearch>"
2976
2922
  },
2977
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2923
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2978
2924
  }
2979
2925
  ],
2980
2926
  "exports": [
2981
2927
  {
2982
2928
  "kind": "js",
2983
- "name": "foundationAiIndicatorTemplate",
2929
+ "name": "foundationAiCriteriaSearchTemplate",
2984
2930
  "declaration": {
2985
- "name": "foundationAiIndicatorTemplate",
2986
- "module": "src/ai-indicator/ai-indicator.template.ts"
2931
+ "name": "foundationAiCriteriaSearchTemplate",
2932
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2987
2933
  }
2988
2934
  }
2989
2935
  ]
2990
2936
  },
2991
2937
  {
2992
2938
  "kind": "javascript-module",
2993
- "path": "src/ai-indicator/ai-indicator.ts",
2939
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2994
2940
  "declarations": [
2995
2941
  {
2996
2942
  "kind": "class",
2997
- "description": "",
2998
- "name": "AiIndicator",
2943
+ "description": "Natural-language criteria search input with AI interpretation.",
2944
+ "name": "AiCriteriaSearch",
2999
2945
  "members": [
3000
2946
  {
3001
2947
  "kind": "field",
@@ -3006,31 +2952,38 @@
3006
2952
  },
3007
2953
  {
3008
2954
  "kind": "field",
3009
- "name": "status",
2955
+ "name": "placeholder",
3010
2956
  "type": {
3011
- "text": "AIStatus | null"
2957
+ "text": "string"
3012
2958
  },
3013
- "default": "null"
2959
+ "default": "'Describe your search criteria in natural language...'"
3014
2960
  },
3015
2961
  {
3016
2962
  "kind": "field",
3017
- "name": "open",
2963
+ "name": "disabled",
3018
2964
  "type": {
3019
2965
  "text": "boolean"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "field",
2970
+ "name": "mode",
2971
+ "type": {
2972
+ "text": "'append' | 'replace'"
3020
2973
  },
3021
- "default": "false"
2974
+ "default": "'replace'"
3022
2975
  },
3023
2976
  {
3024
2977
  "kind": "field",
3025
- "name": "state",
2978
+ "name": "inputValue",
3026
2979
  "type": {
3027
- "text": "AIIndicatorState"
2980
+ "text": "string"
3028
2981
  },
3029
- "default": "'none'"
2982
+ "default": "''"
3030
2983
  },
3031
2984
  {
3032
2985
  "kind": "field",
3033
- "name": "isInstalling",
2986
+ "name": "isInterpreting",
3034
2987
  "type": {
3035
2988
  "text": "boolean"
3036
2989
  },
@@ -3038,133 +2991,91 @@
3038
2991
  },
3039
2992
  {
3040
2993
  "kind": "field",
3041
- "name": "pollTimer",
2994
+ "name": "lastValidCriteria",
3042
2995
  "type": {
3043
- "text": "ReturnType<typeof setInterval> | null"
2996
+ "text": "string | null"
3044
2997
  },
3045
- "privacy": "private",
3046
2998
  "default": "null"
3047
2999
  },
3048
3000
  {
3049
3001
  "kind": "field",
3050
- "name": "clickOutside",
3051
- "privacy": "private"
3052
- },
3053
- {
3054
- "kind": "field",
3055
- "name": "chromeStatusLabel",
3002
+ "name": "fieldMetadata",
3056
3003
  "type": {
3057
- "text": "string | null"
3004
+ "text": "MetadataDetail[] | string[]"
3058
3005
  },
3059
- "readonly": true
3006
+ "default": "[]"
3060
3007
  },
3061
3008
  {
3062
3009
  "kind": "field",
3063
- "name": "canInstall",
3010
+ "name": "isRecording",
3064
3011
  "type": {
3065
3012
  "text": "boolean"
3066
3013
  },
3067
- "readonly": true
3014
+ "default": "false"
3068
3015
  },
3069
3016
  {
3070
3017
  "kind": "field",
3071
- "name": "isDownloading",
3018
+ "name": "textAreaRef",
3072
3019
  "type": {
3073
- "text": "boolean"
3020
+ "text": "HTMLTextAreaElement"
3074
3021
  },
3075
- "readonly": true
3022
+ "privacy": "public"
3076
3023
  },
3077
3024
  {
3078
- "kind": "method",
3079
- "name": "openChanged",
3080
- "return": {
3081
- "type": {
3082
- "text": "void"
3083
- }
3084
- }
3025
+ "kind": "field",
3026
+ "name": "stopRecording",
3027
+ "type": {
3028
+ "text": "(() => void) | null"
3029
+ },
3030
+ "privacy": "private",
3031
+ "default": "null"
3085
3032
  },
3086
3033
  {
3087
- "kind": "method",
3088
- "name": "handleClickOutside",
3034
+ "kind": "field",
3035
+ "name": "speechApplyDebounceTimer",
3036
+ "type": {
3037
+ "text": "ReturnType<typeof setTimeout> | null"
3038
+ },
3089
3039
  "privacy": "private",
3090
- "parameters": [
3091
- {
3092
- "name": "event",
3093
- "type": {
3094
- "text": "MouseEvent"
3095
- }
3096
- }
3097
- ]
3040
+ "default": "null"
3098
3041
  },
3099
3042
  {
3100
- "kind": "method",
3101
- "name": "toggleDropdown"
3043
+ "kind": "field",
3044
+ "name": "baseInputForAppend",
3045
+ "type": {
3046
+ "text": "string"
3047
+ },
3048
+ "privacy": "private",
3049
+ "default": "''"
3102
3050
  },
3103
3051
  {
3104
- "kind": "method",
3105
- "name": "refreshStatus",
3106
- "return": {
3107
- "type": {
3108
- "text": "Promise<void>"
3109
- }
3110
- }
3052
+ "kind": "field",
3053
+ "name": "speechAvailable",
3054
+ "type": {
3055
+ "text": "boolean"
3056
+ },
3057
+ "readonly": true
3111
3058
  },
3112
3059
  {
3113
3060
  "kind": "method",
3114
- "name": "deriveState",
3115
- "privacy": "private",
3116
- "return": {
3117
- "type": {
3118
- "text": "AIIndicatorState"
3119
- }
3120
- },
3121
- "parameters": [
3122
- {
3123
- "name": "s",
3124
- "type": {
3125
- "text": "AIStatus | null"
3126
- }
3127
- }
3128
- ]
3061
+ "name": "handleSubmit"
3129
3062
  },
3130
3063
  {
3131
3064
  "kind": "method",
3132
- "name": "maybeStartPolling",
3133
- "privacy": "private",
3134
- "return": {
3135
- "type": {
3136
- "text": "void"
3137
- }
3138
- }
3065
+ "name": "handleBlur"
3139
3066
  },
3140
3067
  {
3141
3068
  "kind": "method",
3142
- "name": "startPolling",
3143
- "privacy": "private",
3144
- "return": {
3145
- "type": {
3146
- "text": "void"
3147
- }
3148
- }
3069
+ "name": "clear"
3149
3070
  },
3150
3071
  {
3151
3072
  "kind": "method",
3152
- "name": "stopPolling",
3153
- "privacy": "private",
3154
- "return": {
3155
- "type": {
3156
- "text": "void"
3157
- }
3158
- }
3073
+ "name": "toggleSpeechInput"
3159
3074
  },
3160
3075
  {
3161
3076
  "kind": "method",
3162
- "name": "onInstall",
3163
- "return": {
3164
- "type": {
3165
- "text": "Promise<void>"
3166
- }
3167
- }
3077
+ "name": "clearSpeechApplyDebounce",
3078
+ "privacy": "private"
3168
3079
  },
3169
3080
  {
3170
3081
  "kind": "field",
@@ -3278,141 +3189,267 @@
3278
3189
  }
3279
3190
  }
3280
3191
  ],
3192
+ "events": [
3193
+ {
3194
+ "description": "Fired when interpreted criteria is applied or cleared",
3195
+ "name": "criteria-changed"
3196
+ },
3197
+ {
3198
+ "description": "Fired when interpreted criteria contains invalid clauses",
3199
+ "name": "validation-errors"
3200
+ }
3201
+ ],
3202
+ "attributes": [
3203
+ {
3204
+ "name": "placeholder",
3205
+ "type": {
3206
+ "text": "string"
3207
+ },
3208
+ "default": "'Describe your search criteria in natural language...'",
3209
+ "fieldName": "placeholder"
3210
+ },
3211
+ {
3212
+ "type": {
3213
+ "text": "boolean"
3214
+ },
3215
+ "fieldName": "disabled"
3216
+ },
3217
+ {
3218
+ "name": "mode",
3219
+ "type": {
3220
+ "text": "'append' | 'replace'"
3221
+ },
3222
+ "default": "'replace'",
3223
+ "fieldName": "mode"
3224
+ }
3225
+ ],
3281
3226
  "superclass": {
3282
3227
  "name": "FoundationElement",
3283
3228
  "package": "@microsoft/fast-foundation"
3284
3229
  },
3285
- "tagName": "%%prefix%%-ai-indicator",
3286
- "customElement": true
3230
+ "tagName": "%%prefix%%-ai-criteria-search",
3231
+ "customElement": true
3232
+ },
3233
+ {
3234
+ "kind": "variable",
3235
+ "name": "foundationAiCriteriaSearchShadowOptions",
3236
+ "type": {
3237
+ "text": "ShadowRootInit"
3238
+ },
3239
+ "default": "undefined"
3240
+ },
3241
+ {
3242
+ "kind": "variable",
3243
+ "name": "defaultAiCriteriaSearchConfig",
3244
+ "type": {
3245
+ "text": "object"
3246
+ },
3247
+ "default": "{}"
3287
3248
  },
3288
3249
  {
3289
3250
  "kind": "variable",
3290
- "name": "foundationAiIndicator"
3251
+ "name": "foundationAiCriteriaSearch"
3291
3252
  }
3292
3253
  ],
3293
3254
  "exports": [
3294
3255
  {
3295
3256
  "kind": "js",
3296
- "name": "AiIndicator",
3257
+ "name": "AiCriteriaSearch",
3297
3258
  "declaration": {
3298
- "name": "AiIndicator",
3299
- "module": "src/ai-indicator/ai-indicator.ts"
3259
+ "name": "AiCriteriaSearch",
3260
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3300
3261
  }
3301
3262
  },
3302
3263
  {
3303
3264
  "kind": "js",
3304
- "name": "foundationAiIndicator",
3265
+ "name": "foundationAiCriteriaSearchShadowOptions",
3305
3266
  "declaration": {
3306
- "name": "foundationAiIndicator",
3307
- "module": "src/ai-indicator/ai-indicator.ts"
3267
+ "name": "foundationAiCriteriaSearchShadowOptions",
3268
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
+ }
3270
+ },
3271
+ {
3272
+ "kind": "js",
3273
+ "name": "defaultAiCriteriaSearchConfig",
3274
+ "declaration": {
3275
+ "name": "defaultAiCriteriaSearchConfig",
3276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "js",
3281
+ "name": "foundationAiCriteriaSearch",
3282
+ "declaration": {
3283
+ "name": "foundationAiCriteriaSearch",
3284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3308
3285
  }
3309
3286
  }
3310
3287
  ]
3311
3288
  },
3312
3289
  {
3313
3290
  "kind": "javascript-module",
3314
- "path": "src/ai-indicator/index.ts",
3291
+ "path": "src/ai-criteria-search/index.ts",
3315
3292
  "declarations": [],
3316
3293
  "exports": [
3317
3294
  {
3318
3295
  "kind": "js",
3319
- "name": "AiIndicator",
3296
+ "name": "AiCriteriaSearch",
3320
3297
  "declaration": {
3321
- "name": "AiIndicator",
3322
- "module": "./ai-indicator"
3298
+ "name": "AiCriteriaSearch",
3299
+ "module": "./ai-criteria-search"
3323
3300
  }
3324
3301
  },
3325
3302
  {
3326
3303
  "kind": "js",
3327
- "name": "foundationAiIndicator",
3304
+ "name": "defaultAiCriteriaSearchConfig",
3328
3305
  "declaration": {
3329
- "name": "foundationAiIndicator",
3330
- "module": "./ai-indicator"
3306
+ "name": "defaultAiCriteriaSearchConfig",
3307
+ "module": "./ai-criteria-search"
3331
3308
  }
3332
3309
  },
3333
3310
  {
3334
3311
  "kind": "js",
3335
- "name": "type",
3312
+ "name": "foundationAiCriteriaSearch",
3336
3313
  "declaration": {
3337
- "name": "type",
3338
- "module": "./ai-indicator"
3314
+ "name": "foundationAiCriteriaSearch",
3315
+ "module": "./ai-criteria-search"
3339
3316
  }
3340
3317
  },
3341
3318
  {
3342
3319
  "kind": "js",
3343
- "name": "AIIndicatorState",
3320
+ "name": "foundationAiCriteriaSearchShadowOptions",
3344
3321
  "declaration": {
3345
- "name": "AIIndicatorState",
3346
- "module": "./ai-indicator"
3322
+ "name": "foundationAiCriteriaSearchShadowOptions",
3323
+ "module": "./ai-criteria-search"
3347
3324
  }
3348
3325
  },
3349
3326
  {
3350
3327
  "kind": "js",
3351
- "name": "foundationAiIndicatorTemplate",
3328
+ "name": "foundationAiCriteriaSearchStyles",
3352
3329
  "declaration": {
3353
- "name": "foundationAiIndicatorTemplate",
3354
- "module": "./ai-indicator.template"
3330
+ "name": "foundationAiCriteriaSearchStyles",
3331
+ "module": "./ai-criteria-search.styles"
3355
3332
  }
3356
3333
  },
3357
3334
  {
3358
3335
  "kind": "js",
3359
- "name": "foundationAiIndicatorStyles",
3336
+ "name": "foundationAiCriteriaSearchTemplate",
3360
3337
  "declaration": {
3361
- "name": "foundationAiIndicatorStyles",
3362
- "module": "./ai-indicator.styles"
3338
+ "name": "foundationAiCriteriaSearchTemplate",
3339
+ "module": "./ai-criteria-search.template"
3340
+ }
3341
+ },
3342
+ {
3343
+ "kind": "js",
3344
+ "name": "*",
3345
+ "declaration": {
3346
+ "name": "*",
3347
+ "package": "./validation/criteria-ir"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "js",
3352
+ "name": "*",
3353
+ "declaration": {
3354
+ "name": "*",
3355
+ "package": "./validation/operator-map"
3356
+ }
3357
+ },
3358
+ {
3359
+ "kind": "js",
3360
+ "name": "*",
3361
+ "declaration": {
3362
+ "name": "*",
3363
+ "package": "./validation/schema-validator"
3363
3364
  }
3364
3365
  }
3365
3366
  ]
3366
3367
  },
3367
3368
  {
3368
3369
  "kind": "javascript-module",
3369
- "path": "src/accordion/accordion.styles.ts",
3370
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3370
3371
  "declarations": [
3371
3372
  {
3372
3373
  "kind": "function",
3373
- "name": "foundationAccordionStyles",
3374
+ "name": "formatValidationErrors",
3374
3375
  "return": {
3375
3376
  "type": {
3376
- "text": "ElementStyles"
3377
+ "text": "string"
3377
3378
  }
3378
3379
  },
3379
3380
  "parameters": [
3380
3381
  {
3381
- "name": "context",
3382
+ "name": "errors",
3382
3383
  "type": {
3383
- "text": "ElementDefinitionContext"
3384
+ "text": "ValidationError[]"
3384
3385
  }
3386
+ }
3387
+ ],
3388
+ "description": "Formats validation errors into a user-friendly message."
3389
+ },
3390
+ {
3391
+ "kind": "function",
3392
+ "name": "showCriteriaError",
3393
+ "return": {
3394
+ "type": {
3395
+ "text": "void"
3396
+ }
3397
+ },
3398
+ "parameters": [
3399
+ {
3400
+ "name": "title",
3401
+ "type": {
3402
+ "text": "string"
3403
+ },
3404
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3385
3405
  },
3386
3406
  {
3387
- "name": "definition",
3407
+ "name": "body",
3388
3408
  "type": {
3389
- "text": "FoundationElementDefinition"
3390
- }
3409
+ "text": "string"
3410
+ },
3411
+ "description": "Error message to display"
3412
+ },
3413
+ {
3414
+ "name": "tagName",
3415
+ "type": {
3416
+ "text": "string"
3417
+ },
3418
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3391
3419
  }
3392
- ]
3420
+ ],
3421
+ "description": "Shows a criteria error as a toast notification."
3393
3422
  }
3394
3423
  ],
3395
3424
  "exports": [
3396
3425
  {
3397
3426
  "kind": "js",
3398
- "name": "foundationAccordionStyles",
3427
+ "name": "formatValidationErrors",
3399
3428
  "declaration": {
3400
- "name": "foundationAccordionStyles",
3401
- "module": "src/accordion/accordion.styles.ts"
3429
+ "name": "formatValidationErrors",
3430
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3431
+ }
3432
+ },
3433
+ {
3434
+ "kind": "js",
3435
+ "name": "showCriteriaError",
3436
+ "declaration": {
3437
+ "name": "showCriteriaError",
3438
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3402
3439
  }
3403
3440
  }
3404
3441
  ]
3405
3442
  },
3406
3443
  {
3407
3444
  "kind": "javascript-module",
3408
- "path": "src/accordion/accordion.template.ts",
3445
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3409
3446
  "declarations": [
3410
3447
  {
3411
3448
  "kind": "function",
3412
- "name": "foundationAccordionTemplate",
3449
+ "name": "foundationAiIndicatorStyles",
3413
3450
  "return": {
3414
3451
  "type": {
3415
- "text": "ViewTemplate<Accordion>"
3452
+ "text": "ElementStyles"
3416
3453
  }
3417
3454
  },
3418
3455
  "parameters": [
@@ -3434,237 +3471,214 @@
3434
3471
  "exports": [
3435
3472
  {
3436
3473
  "kind": "js",
3437
- "name": "foundationAccordionTemplate",
3474
+ "name": "foundationAiIndicatorStyles",
3438
3475
  "declaration": {
3439
- "name": "foundationAccordionTemplate",
3440
- "module": "src/accordion/accordion.template.ts"
3476
+ "name": "foundationAiIndicatorStyles",
3477
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3441
3478
  }
3442
3479
  }
3443
3480
  ]
3444
3481
  },
3445
3482
  {
3446
3483
  "kind": "javascript-module",
3447
- "path": "src/accordion/accordion.ts",
3484
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3485
+ "declarations": [
3486
+ {
3487
+ "kind": "variable",
3488
+ "name": "foundationAiIndicatorTemplate",
3489
+ "type": {
3490
+ "text": "ViewTemplate<AiIndicator>"
3491
+ },
3492
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3493
+ }
3494
+ ],
3495
+ "exports": [
3496
+ {
3497
+ "kind": "js",
3498
+ "name": "foundationAiIndicatorTemplate",
3499
+ "declaration": {
3500
+ "name": "foundationAiIndicatorTemplate",
3501
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3502
+ }
3503
+ }
3504
+ ]
3505
+ },
3506
+ {
3507
+ "kind": "javascript-module",
3508
+ "path": "src/ai-indicator/ai-indicator.ts",
3448
3509
  "declarations": [
3449
3510
  {
3450
3511
  "kind": "class",
3451
3512
  "description": "",
3452
- "name": "Accordion",
3453
- "superclass": {
3454
- "name": "FASTAccordion",
3455
- "package": "@microsoft/fast-foundation"
3456
- },
3457
- "tagName": "%%prefix%%-accordion",
3458
- "customElement": true,
3459
- "attributes": [
3513
+ "name": "AiIndicator",
3514
+ "members": [
3460
3515
  {
3461
- "name": "expand-mode",
3516
+ "kind": "field",
3517
+ "name": "aiProvider",
3462
3518
  "type": {
3463
- "text": "AccordionExpandMode"
3464
- },
3465
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3466
- "fieldName": "expandmode",
3467
- "inheritedFrom": {
3468
- "name": "Accordion",
3469
- "module": "src/accordion/accordion.ts"
3519
+ "text": "AIProvider"
3470
3520
  }
3471
- }
3472
- ],
3473
- "members": [
3521
+ },
3474
3522
  {
3475
3523
  "kind": "field",
3476
- "name": "expandmode",
3524
+ "name": "status",
3477
3525
  "type": {
3478
- "text": "AccordionExpandMode"
3526
+ "text": "AIStatus | null"
3479
3527
  },
3480
- "privacy": "public",
3481
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3482
- "inheritedFrom": {
3483
- "name": "Accordion",
3484
- "module": "src/accordion/accordion.ts"
3485
- }
3528
+ "default": "null"
3486
3529
  },
3487
3530
  {
3488
3531
  "kind": "field",
3489
- "name": "activeid",
3532
+ "name": "open",
3490
3533
  "type": {
3491
- "text": "string | null"
3534
+ "text": "boolean"
3492
3535
  },
3493
- "privacy": "private",
3494
- "inheritedFrom": {
3495
- "name": "Accordion",
3496
- "module": "src/accordion/accordion.ts"
3497
- }
3536
+ "default": "false"
3498
3537
  },
3499
3538
  {
3500
3539
  "kind": "field",
3501
- "name": "activeItemIndex",
3540
+ "name": "state",
3502
3541
  "type": {
3503
- "text": "number"
3542
+ "text": "AIIndicatorState"
3504
3543
  },
3505
- "privacy": "private",
3506
- "default": "0",
3507
- "inheritedFrom": {
3508
- "name": "Accordion",
3509
- "module": "src/accordion/accordion.ts"
3510
- }
3544
+ "default": "'none'"
3545
+ },
3546
+ {
3547
+ "kind": "field",
3548
+ "name": "isInstalling",
3549
+ "type": {
3550
+ "text": "boolean"
3551
+ },
3552
+ "default": "false"
3511
3553
  },
3512
3554
  {
3513
3555
  "kind": "field",
3514
- "name": "accordionIds",
3556
+ "name": "pollTimer",
3515
3557
  "type": {
3516
- "text": "Array<string | null>"
3558
+ "text": "ReturnType<typeof setInterval> | null"
3517
3559
  },
3518
3560
  "privacy": "private",
3519
- "inheritedFrom": {
3520
- "name": "Accordion",
3521
- "module": "src/accordion/accordion.ts"
3522
- }
3561
+ "default": "null"
3523
3562
  },
3524
3563
  {
3525
3564
  "kind": "field",
3526
- "name": "change",
3527
- "privacy": "private",
3528
- "inheritedFrom": {
3529
- "name": "Accordion",
3530
- "module": "src/accordion/accordion.ts"
3531
- }
3565
+ "name": "clickOutside",
3566
+ "privacy": "private"
3532
3567
  },
3533
3568
  {
3534
- "kind": "method",
3535
- "name": "findExpandedItem",
3536
- "privacy": "private",
3537
- "return": {
3538
- "type": {
3539
- "text": "AccordionItem | null"
3540
- }
3569
+ "kind": "field",
3570
+ "name": "chromeStatusLabel",
3571
+ "type": {
3572
+ "text": "string | null"
3541
3573
  },
3542
- "inheritedFrom": {
3543
- "name": "Accordion",
3544
- "module": "src/accordion/accordion.ts"
3545
- }
3574
+ "readonly": true
3546
3575
  },
3547
3576
  {
3548
3577
  "kind": "field",
3549
- "name": "setItems",
3550
- "privacy": "private",
3551
- "inheritedFrom": {
3552
- "name": "Accordion",
3553
- "module": "src/accordion/accordion.ts"
3554
- }
3578
+ "name": "canInstall",
3579
+ "type": {
3580
+ "text": "boolean"
3581
+ },
3582
+ "readonly": true
3583
+ },
3584
+ {
3585
+ "kind": "field",
3586
+ "name": "isDownloading",
3587
+ "type": {
3588
+ "text": "boolean"
3589
+ },
3590
+ "readonly": true
3555
3591
  },
3556
3592
  {
3557
3593
  "kind": "method",
3558
- "name": "resetItems",
3559
- "privacy": "private",
3594
+ "name": "openChanged",
3560
3595
  "return": {
3561
3596
  "type": {
3562
3597
  "text": "void"
3563
3598
  }
3564
- },
3565
- "inheritedFrom": {
3566
- "name": "Accordion",
3567
- "module": "src/accordion/accordion.ts"
3568
3599
  }
3569
3600
  },
3570
3601
  {
3571
- "kind": "field",
3572
- "name": "removeItemListeners",
3602
+ "kind": "method",
3603
+ "name": "handleClickOutside",
3573
3604
  "privacy": "private",
3574
- "inheritedFrom": {
3575
- "name": "Accordion",
3576
- "module": "src/accordion/accordion.ts"
3577
- }
3605
+ "parameters": [
3606
+ {
3607
+ "name": "event",
3608
+ "type": {
3609
+ "text": "MouseEvent"
3610
+ }
3611
+ }
3612
+ ]
3578
3613
  },
3579
3614
  {
3580
- "kind": "field",
3581
- "name": "activeItemChange",
3582
- "privacy": "private",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3615
+ "kind": "method",
3616
+ "name": "toggleDropdown"
3587
3617
  },
3588
3618
  {
3589
3619
  "kind": "method",
3590
- "name": "getItemIds",
3591
- "privacy": "private",
3620
+ "name": "refreshStatus",
3592
3621
  "return": {
3593
3622
  "type": {
3594
- "text": "Array<string | null>"
3623
+ "text": "Promise<void>"
3595
3624
  }
3596
- },
3597
- "inheritedFrom": {
3598
- "name": "Accordion",
3599
- "module": "src/accordion/accordion.ts"
3600
3625
  }
3601
3626
  },
3602
3627
  {
3603
3628
  "kind": "method",
3604
- "name": "isSingleExpandMode",
3629
+ "name": "deriveState",
3605
3630
  "privacy": "private",
3606
3631
  "return": {
3607
3632
  "type": {
3608
- "text": "boolean"
3633
+ "text": "AIIndicatorState"
3609
3634
  }
3610
3635
  },
3611
- "inheritedFrom": {
3612
- "name": "Accordion",
3613
- "module": "src/accordion/accordion.ts"
3614
- }
3636
+ "parameters": [
3637
+ {
3638
+ "name": "s",
3639
+ "type": {
3640
+ "text": "AIStatus | null"
3641
+ }
3642
+ }
3643
+ ]
3615
3644
  },
3616
3645
  {
3617
- "kind": "field",
3618
- "name": "handleItemKeyDown",
3646
+ "kind": "method",
3647
+ "name": "maybeStartPolling",
3619
3648
  "privacy": "private",
3620
- "inheritedFrom": {
3621
- "name": "Accordion",
3622
- "module": "src/accordion/accordion.ts"
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "void"
3652
+ }
3623
3653
  }
3624
3654
  },
3625
3655
  {
3626
- "kind": "field",
3627
- "name": "handleItemFocus",
3656
+ "kind": "method",
3657
+ "name": "startPolling",
3628
3658
  "privacy": "private",
3629
- "inheritedFrom": {
3630
- "name": "Accordion",
3631
- "module": "src/accordion/accordion.ts"
3659
+ "return": {
3660
+ "type": {
3661
+ "text": "void"
3662
+ }
3632
3663
  }
3633
3664
  },
3634
3665
  {
3635
3666
  "kind": "method",
3636
- "name": "adjust",
3667
+ "name": "stopPolling",
3637
3668
  "privacy": "private",
3638
3669
  "return": {
3639
3670
  "type": {
3640
3671
  "text": "void"
3641
3672
  }
3642
- },
3643
- "parameters": [
3644
- {
3645
- "name": "adjustment",
3646
- "type": {
3647
- "text": "number"
3648
- }
3649
- }
3650
- ],
3651
- "inheritedFrom": {
3652
- "name": "Accordion",
3653
- "module": "src/accordion/accordion.ts"
3654
3673
  }
3655
3674
  },
3656
3675
  {
3657
3676
  "kind": "method",
3658
- "name": "focusItem",
3659
- "privacy": "private",
3677
+ "name": "onInstall",
3660
3678
  "return": {
3661
3679
  "type": {
3662
- "text": "void"
3680
+ "text": "Promise<void>"
3663
3681
  }
3664
- },
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3668
3682
  }
3669
3683
  },
3670
3684
  {
@@ -3779,102 +3793,88 @@
3779
3793
  }
3780
3794
  }
3781
3795
  ],
3782
- "events": [
3783
- {
3784
- "description": "Fires a custom 'change' event when the active item changes",
3785
- "name": "change",
3786
- "inheritedFrom": {
3787
- "name": "Accordion",
3788
- "module": "src/accordion/accordion.ts"
3789
- }
3790
- }
3791
- ]
3792
- },
3793
- {
3794
- "kind": "variable",
3795
- "name": "foundationAccordionShadowOptions",
3796
- "type": {
3797
- "text": "ShadowRootInit"
3798
- },
3799
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3800
- },
3801
- {
3802
- "kind": "variable",
3803
- "name": "defaultAccordionConfig",
3804
- "type": {
3805
- "text": "object"
3796
+ "superclass": {
3797
+ "name": "FoundationElement",
3798
+ "package": "@microsoft/fast-foundation"
3806
3799
  },
3807
- "default": "{}"
3800
+ "tagName": "%%prefix%%-ai-indicator",
3801
+ "customElement": true
3808
3802
  },
3809
3803
  {
3810
3804
  "kind": "variable",
3811
- "name": "foundationAccordion",
3812
- "description": "The Foundation Accordion",
3813
- "privacy": "public"
3805
+ "name": "foundationAiIndicator"
3814
3806
  }
3815
3807
  ],
3816
3808
  "exports": [
3817
3809
  {
3818
3810
  "kind": "js",
3819
- "name": "Accordion",
3811
+ "name": "AiIndicator",
3820
3812
  "declaration": {
3821
- "name": "Accordion",
3822
- "module": "src/accordion/accordion.ts"
3813
+ "name": "AiIndicator",
3814
+ "module": "src/ai-indicator/ai-indicator.ts"
3823
3815
  }
3824
3816
  },
3825
3817
  {
3826
3818
  "kind": "js",
3827
- "name": "foundationAccordionShadowOptions",
3819
+ "name": "foundationAiIndicator",
3828
3820
  "declaration": {
3829
- "name": "foundationAccordionShadowOptions",
3830
- "module": "src/accordion/accordion.ts"
3821
+ "name": "foundationAiIndicator",
3822
+ "module": "src/ai-indicator/ai-indicator.ts"
3823
+ }
3824
+ }
3825
+ ]
3826
+ },
3827
+ {
3828
+ "kind": "javascript-module",
3829
+ "path": "src/ai-indicator/index.ts",
3830
+ "declarations": [],
3831
+ "exports": [
3832
+ {
3833
+ "kind": "js",
3834
+ "name": "AiIndicator",
3835
+ "declaration": {
3836
+ "name": "AiIndicator",
3837
+ "module": "./ai-indicator"
3831
3838
  }
3832
3839
  },
3833
3840
  {
3834
3841
  "kind": "js",
3835
- "name": "defaultAccordionConfig",
3842
+ "name": "foundationAiIndicator",
3836
3843
  "declaration": {
3837
- "name": "defaultAccordionConfig",
3838
- "module": "src/accordion/accordion.ts"
3844
+ "name": "foundationAiIndicator",
3845
+ "module": "./ai-indicator"
3839
3846
  }
3840
3847
  },
3841
3848
  {
3842
3849
  "kind": "js",
3843
- "name": "foundationAccordion",
3850
+ "name": "type",
3844
3851
  "declaration": {
3845
- "name": "foundationAccordion",
3846
- "module": "src/accordion/accordion.ts"
3852
+ "name": "type",
3853
+ "module": "./ai-indicator"
3847
3854
  }
3848
- }
3849
- ]
3850
- },
3851
- {
3852
- "kind": "javascript-module",
3853
- "path": "src/accordion/index.ts",
3854
- "declarations": [],
3855
- "exports": [
3855
+ },
3856
3856
  {
3857
3857
  "kind": "js",
3858
- "name": "*",
3858
+ "name": "AIIndicatorState",
3859
3859
  "declaration": {
3860
- "name": "*",
3861
- "package": "./accordion.template"
3860
+ "name": "AIIndicatorState",
3861
+ "module": "./ai-indicator"
3862
3862
  }
3863
3863
  },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "*",
3866
+ "name": "foundationAiIndicatorTemplate",
3867
3867
  "declaration": {
3868
- "name": "*",
3869
- "package": "./accordion.styles"
3868
+ "name": "foundationAiIndicatorTemplate",
3869
+ "module": "./ai-indicator.template"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "*",
3874
+ "name": "foundationAiIndicatorStyles",
3875
3875
  "declaration": {
3876
- "name": "*",
3877
- "package": "./accordion"
3876
+ "name": "foundationAiIndicatorStyles",
3877
+ "module": "./ai-indicator.styles"
3878
3878
  }
3879
3879
  }
3880
3880
  ]