@genesislcap/foundation-ui 14.426.1-alpha-79840b9.0 → 14.427.1-TAM-8.26-patch.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.
@@ -1398,6 +1398,37 @@
1398
1398
  }
1399
1399
  ]
1400
1400
  },
1401
+ {
1402
+ "kind": "javascript-module",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1401
1432
  {
1402
1433
  "kind": "javascript-module",
1403
1434
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1794,222 +1825,306 @@
1794
1825
  },
1795
1826
  {
1796
1827
  "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1798
- "declarations": [],
1799
- "exports": [
1800
- {
1801
- "kind": "js",
1802
- "name": "*",
1803
- "declaration": {
1804
- "name": "*",
1805
- "package": "./styles"
1806
- }
1807
- },
1808
- {
1809
- "kind": "js",
1810
- "name": "*",
1811
- "declaration": {
1812
- "name": "*",
1813
- "package": "./tokens"
1814
- }
1815
- },
1816
- {
1817
- "kind": "js",
1818
- "name": "*",
1819
- "declaration": {
1820
- "name": "*",
1821
- "package": "./values"
1822
- }
1823
- }
1824
- ]
1825
- },
1826
- {
1827
- "kind": "javascript-module",
1828
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
1829
1829
  "declarations": [
1830
1830
  {
1831
- "kind": "variable",
1832
- "name": "foundationAiCriteriaSearchStyles",
1833
- "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`"
1831
+ "kind": "function",
1832
+ "name": "foundationAccordionStyles",
1833
+ "return": {
1834
+ "type": {
1835
+ "text": "ElementStyles"
1836
+ }
1837
+ },
1838
+ "parameters": [
1839
+ {
1840
+ "name": "context",
1841
+ "type": {
1842
+ "text": "ElementDefinitionContext"
1843
+ }
1844
+ },
1845
+ {
1846
+ "name": "definition",
1847
+ "type": {
1848
+ "text": "FoundationElementDefinition"
1849
+ }
1850
+ }
1851
+ ]
1834
1852
  }
1835
1853
  ],
1836
1854
  "exports": [
1837
1855
  {
1838
1856
  "kind": "js",
1839
- "name": "foundationAiCriteriaSearchStyles",
1857
+ "name": "foundationAccordionStyles",
1840
1858
  "declaration": {
1841
- "name": "foundationAiCriteriaSearchStyles",
1842
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
1843
1861
  }
1844
1862
  }
1845
1863
  ]
1846
1864
  },
1847
1865
  {
1848
1866
  "kind": "javascript-module",
1849
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
1850
1868
  "declarations": [
1851
1869
  {
1852
- "kind": "variable",
1853
- "name": "foundationAiCriteriaSearchTemplate",
1854
- "type": {
1855
- "text": "ViewTemplate<AiCriteriaSearch>"
1870
+ "kind": "function",
1871
+ "name": "foundationAccordionTemplate",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "ViewTemplate<Accordion>"
1875
+ }
1856
1876
  },
1857
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1877
+ "parameters": [
1878
+ {
1879
+ "name": "context",
1880
+ "type": {
1881
+ "text": "ElementDefinitionContext"
1882
+ }
1883
+ },
1884
+ {
1885
+ "name": "definition",
1886
+ "type": {
1887
+ "text": "FoundationElementDefinition"
1888
+ }
1889
+ }
1890
+ ]
1858
1891
  }
1859
1892
  ],
1860
1893
  "exports": [
1861
1894
  {
1862
1895
  "kind": "js",
1863
- "name": "foundationAiCriteriaSearchTemplate",
1896
+ "name": "foundationAccordionTemplate",
1864
1897
  "declaration": {
1865
- "name": "foundationAiCriteriaSearchTemplate",
1866
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
1867
1900
  }
1868
1901
  }
1869
1902
  ]
1870
1903
  },
1871
1904
  {
1872
1905
  "kind": "javascript-module",
1873
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1906
+ "path": "src/accordion/accordion.ts",
1874
1907
  "declarations": [
1875
1908
  {
1876
1909
  "kind": "class",
1877
- "description": "Natural-language criteria search input with AI interpretation.",
1878
- "name": "AiCriteriaSearch",
1879
- "members": [
1910
+ "description": "",
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
1880
1919
  {
1881
- "kind": "field",
1882
- "name": "aiProvider",
1920
+ "name": "expand-mode",
1883
1921
  "type": {
1884
- "text": "AIProvider"
1922
+ "text": "AccordionExpandMode"
1923
+ },
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
1926
+ "inheritedFrom": {
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
1885
1929
  }
1886
- },
1930
+ }
1931
+ ],
1932
+ "members": [
1887
1933
  {
1888
1934
  "kind": "field",
1889
- "name": "placeholder",
1935
+ "name": "expandmode",
1890
1936
  "type": {
1891
- "text": "string"
1937
+ "text": "AccordionExpandMode"
1892
1938
  },
1893
- "default": "'Describe your search criteria in natural language...'"
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
+ "inheritedFrom": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1944
+ }
1894
1945
  },
1895
1946
  {
1896
1947
  "kind": "field",
1897
- "name": "disabled",
1948
+ "name": "activeid",
1898
1949
  "type": {
1899
- "text": "boolean"
1950
+ "text": "string | null"
1951
+ },
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1900
1956
  }
1901
1957
  },
1902
1958
  {
1903
1959
  "kind": "field",
1904
- "name": "mode",
1960
+ "name": "activeItemIndex",
1905
1961
  "type": {
1906
- "text": "'append' | 'replace'"
1962
+ "text": "number"
1907
1963
  },
1908
- "default": "'replace'"
1964
+ "privacy": "private",
1965
+ "default": "0",
1966
+ "inheritedFrom": {
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
1969
+ }
1909
1970
  },
1910
1971
  {
1911
1972
  "kind": "field",
1912
- "name": "inputValue",
1973
+ "name": "accordionIds",
1913
1974
  "type": {
1914
- "text": "string"
1975
+ "text": "Array<string | null>"
1915
1976
  },
1916
- "default": "''"
1977
+ "privacy": "private",
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
1981
+ }
1917
1982
  },
1918
1983
  {
1919
1984
  "kind": "field",
1920
- "name": "isInterpreting",
1921
- "type": {
1922
- "text": "boolean"
1923
- },
1924
- "default": "false"
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
1925
1991
  },
1926
1992
  {
1927
- "kind": "field",
1928
- "name": "lastValidCriteria",
1929
- "type": {
1930
- "text": "string | null"
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
1931
2000
  },
1932
- "default": "null"
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2004
+ }
1933
2005
  },
1934
2006
  {
1935
2007
  "kind": "field",
1936
- "name": "fieldMetadata",
1937
- "type": {
1938
- "text": "MetadataDetail[] | string[]"
1939
- },
1940
- "default": "[]"
2008
+ "name": "setItems",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
1941
2014
  },
1942
2015
  {
1943
- "kind": "field",
1944
- "name": "isRecording",
1945
- "type": {
1946
- "text": "boolean"
2016
+ "kind": "method",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
2019
+ "return": {
2020
+ "type": {
2021
+ "text": "void"
2022
+ }
1947
2023
  },
1948
- "default": "false"
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2027
+ }
1949
2028
  },
1950
2029
  {
1951
2030
  "kind": "field",
1952
- "name": "textAreaRef",
1953
- "type": {
1954
- "text": "HTMLTextAreaElement"
1955
- },
1956
- "privacy": "public"
1957
- },
1958
- {
1959
- "kind": "field",
1960
- "name": "stopRecording",
1961
- "type": {
1962
- "text": "(() => void) | null"
1963
- },
2031
+ "name": "removeItemListeners",
1964
2032
  "privacy": "private",
1965
- "default": "null"
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2036
+ }
1966
2037
  },
1967
2038
  {
1968
2039
  "kind": "field",
1969
- "name": "speechApplyDebounceTimer",
1970
- "type": {
1971
- "text": "ReturnType<typeof setTimeout> | null"
1972
- },
2040
+ "name": "activeItemChange",
1973
2041
  "privacy": "private",
1974
- "default": "null"
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2045
+ }
1975
2046
  },
1976
2047
  {
1977
- "kind": "field",
1978
- "name": "baseInputForAppend",
1979
- "type": {
1980
- "text": "string"
1981
- },
2048
+ "kind": "method",
2049
+ "name": "getItemIds",
1982
2050
  "privacy": "private",
1983
- "default": "''"
1984
- },
1985
- {
1986
- "kind": "field",
1987
- "name": "speechAvailable",
1988
- "type": {
1989
- "text": "boolean"
2051
+ "return": {
2052
+ "type": {
2053
+ "text": "Array<string | null>"
2054
+ }
1990
2055
  },
1991
- "readonly": true
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
1992
2060
  },
1993
2061
  {
1994
2062
  "kind": "method",
1995
- "name": "handleSubmit"
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "boolean"
2068
+ }
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
1996
2074
  },
1997
2075
  {
1998
- "kind": "method",
1999
- "name": "handleBlur"
2076
+ "kind": "field",
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2000
2083
  },
2001
2084
  {
2002
- "kind": "method",
2003
- "name": "clear"
2085
+ "kind": "field",
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2091
+ }
2004
2092
  },
2005
2093
  {
2006
2094
  "kind": "method",
2007
- "name": "toggleSpeechInput"
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2097
+ "return": {
2098
+ "type": {
2099
+ "text": "void"
2100
+ }
2101
+ },
2102
+ "parameters": [
2103
+ {
2104
+ "name": "adjustment",
2105
+ "type": {
2106
+ "text": "number"
2107
+ }
2108
+ }
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2008
2114
  },
2009
2115
  {
2010
2116
  "kind": "method",
2011
- "name": "clearSpeechApplyDebounce",
2012
- "privacy": "private"
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2122
+ }
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2127
+ }
2013
2128
  },
2014
2129
  {
2015
2130
  "kind": "field",
@@ -2125,56 +2240,26 @@
2125
2240
  ],
2126
2241
  "events": [
2127
2242
  {
2128
- "description": "Fired when interpreted criteria is applied or cleared",
2129
- "name": "criteria-changed"
2130
- },
2131
- {
2132
- "description": "Fired when interpreted criteria contains invalid clauses",
2133
- "name": "validation-errors"
2134
- }
2135
- ],
2136
- "attributes": [
2137
- {
2138
- "name": "placeholder",
2139
- "type": {
2140
- "text": "string"
2141
- },
2142
- "default": "'Describe your search criteria in natural language...'",
2143
- "fieldName": "placeholder"
2144
- },
2145
- {
2146
- "type": {
2147
- "text": "boolean"
2148
- },
2149
- "fieldName": "disabled"
2150
- },
2151
- {
2152
- "name": "mode",
2153
- "type": {
2154
- "text": "'append' | 'replace'"
2155
- },
2156
- "default": "'replace'",
2157
- "fieldName": "mode"
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2248
+ }
2158
2249
  }
2159
- ],
2160
- "superclass": {
2161
- "name": "FoundationElement",
2162
- "package": "@microsoft/fast-foundation"
2163
- },
2164
- "tagName": "%%prefix%%-ai-criteria-search",
2165
- "customElement": true
2250
+ ]
2166
2251
  },
2167
2252
  {
2168
2253
  "kind": "variable",
2169
- "name": "foundationAiCriteriaSearchShadowOptions",
2254
+ "name": "foundationAccordionShadowOptions",
2170
2255
  "type": {
2171
2256
  "text": "ShadowRootInit"
2172
2257
  },
2173
- "default": "undefined"
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2174
2259
  },
2175
2260
  {
2176
2261
  "kind": "variable",
2177
- "name": "defaultAiCriteriaSearchConfig",
2262
+ "name": "defaultAccordionConfig",
2178
2263
  "type": {
2179
2264
  "text": "object"
2180
2265
  },
@@ -2182,103 +2267,57 @@
2182
2267
  },
2183
2268
  {
2184
2269
  "kind": "variable",
2185
- "name": "foundationAiCriteriaSearch"
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2272
+ "privacy": "public"
2186
2273
  }
2187
2274
  ],
2188
2275
  "exports": [
2189
2276
  {
2190
2277
  "kind": "js",
2191
- "name": "AiCriteriaSearch",
2278
+ "name": "Accordion",
2192
2279
  "declaration": {
2193
- "name": "AiCriteriaSearch",
2194
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2195
2282
  }
2196
2283
  },
2197
2284
  {
2198
2285
  "kind": "js",
2199
- "name": "foundationAiCriteriaSearchShadowOptions",
2286
+ "name": "foundationAccordionShadowOptions",
2200
2287
  "declaration": {
2201
- "name": "foundationAiCriteriaSearchShadowOptions",
2202
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2203
2290
  }
2204
2291
  },
2205
2292
  {
2206
2293
  "kind": "js",
2207
- "name": "defaultAiCriteriaSearchConfig",
2294
+ "name": "defaultAccordionConfig",
2208
2295
  "declaration": {
2209
- "name": "defaultAiCriteriaSearchConfig",
2210
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2211
2298
  }
2212
2299
  },
2213
2300
  {
2214
2301
  "kind": "js",
2215
- "name": "foundationAiCriteriaSearch",
2302
+ "name": "foundationAccordion",
2216
2303
  "declaration": {
2217
- "name": "foundationAiCriteriaSearch",
2218
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2219
2306
  }
2220
2307
  }
2221
2308
  ]
2222
2309
  },
2223
2310
  {
2224
2311
  "kind": "javascript-module",
2225
- "path": "src/ai-criteria-search/index.ts",
2312
+ "path": "src/accordion/index.ts",
2226
2313
  "declarations": [],
2227
2314
  "exports": [
2228
- {
2229
- "kind": "js",
2230
- "name": "AiCriteriaSearch",
2231
- "declaration": {
2232
- "name": "AiCriteriaSearch",
2233
- "module": "./ai-criteria-search"
2234
- }
2235
- },
2236
- {
2237
- "kind": "js",
2238
- "name": "defaultAiCriteriaSearchConfig",
2239
- "declaration": {
2240
- "name": "defaultAiCriteriaSearchConfig",
2241
- "module": "./ai-criteria-search"
2242
- }
2243
- },
2244
- {
2245
- "kind": "js",
2246
- "name": "foundationAiCriteriaSearch",
2247
- "declaration": {
2248
- "name": "foundationAiCriteriaSearch",
2249
- "module": "./ai-criteria-search"
2250
- }
2251
- },
2252
- {
2253
- "kind": "js",
2254
- "name": "foundationAiCriteriaSearchShadowOptions",
2255
- "declaration": {
2256
- "name": "foundationAiCriteriaSearchShadowOptions",
2257
- "module": "./ai-criteria-search"
2258
- }
2259
- },
2260
- {
2261
- "kind": "js",
2262
- "name": "foundationAiCriteriaSearchStyles",
2263
- "declaration": {
2264
- "name": "foundationAiCriteriaSearchStyles",
2265
- "module": "./ai-criteria-search.styles"
2266
- }
2267
- },
2268
- {
2269
- "kind": "js",
2270
- "name": "foundationAiCriteriaSearchTemplate",
2271
- "declaration": {
2272
- "name": "foundationAiCriteriaSearchTemplate",
2273
- "module": "./ai-criteria-search.template"
2274
- }
2275
- },
2276
2315
  {
2277
2316
  "kind": "js",
2278
2317
  "name": "*",
2279
2318
  "declaration": {
2280
2319
  "name": "*",
2281
- "package": "./validation/criteria-ir"
2320
+ "package": "./accordion.template"
2282
2321
  }
2283
2322
  },
2284
2323
  {
@@ -2286,7 +2325,7 @@
2286
2325
  "name": "*",
2287
2326
  "declaration": {
2288
2327
  "name": "*",
2289
- "package": "./validation/operator-map"
2328
+ "package": "./accordion.styles"
2290
2329
  }
2291
2330
  },
2292
2331
  {
@@ -2294,103 +2333,28 @@
2294
2333
  "name": "*",
2295
2334
  "declaration": {
2296
2335
  "name": "*",
2297
- "package": "./validation/schema-validator"
2336
+ "package": "./accordion"
2298
2337
  }
2299
2338
  }
2300
2339
  ]
2301
2340
  },
2302
2341
  {
2303
2342
  "kind": "javascript-module",
2304
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2305
2344
  "declarations": [
2306
2345
  {
2307
2346
  "kind": "function",
2308
- "name": "formatValidationErrors",
2347
+ "name": "actionsMenuBaseStyles",
2309
2348
  "return": {
2310
2349
  "type": {
2311
- "text": "string"
2350
+ "text": "ElementStyles"
2312
2351
  }
2313
2352
  },
2314
2353
  "parameters": [
2315
2354
  {
2316
- "name": "errors",
2355
+ "name": "context",
2317
2356
  "type": {
2318
- "text": "ValidationError[]"
2319
- }
2320
- }
2321
- ],
2322
- "description": "Formats validation errors into a user-friendly message."
2323
- },
2324
- {
2325
- "kind": "function",
2326
- "name": "showCriteriaError",
2327
- "return": {
2328
- "type": {
2329
- "text": "void"
2330
- }
2331
- },
2332
- "parameters": [
2333
- {
2334
- "name": "title",
2335
- "type": {
2336
- "text": "string"
2337
- },
2338
- "description": "Notification title (e.g. \"Criteria validation error\")"
2339
- },
2340
- {
2341
- "name": "body",
2342
- "type": {
2343
- "text": "string"
2344
- },
2345
- "description": "Error message to display"
2346
- },
2347
- {
2348
- "name": "tagName",
2349
- "type": {
2350
- "text": "string"
2351
- },
2352
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2353
- }
2354
- ],
2355
- "description": "Shows a criteria error as a toast notification."
2356
- }
2357
- ],
2358
- "exports": [
2359
- {
2360
- "kind": "js",
2361
- "name": "formatValidationErrors",
2362
- "declaration": {
2363
- "name": "formatValidationErrors",
2364
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2365
- }
2366
- },
2367
- {
2368
- "kind": "js",
2369
- "name": "showCriteriaError",
2370
- "declaration": {
2371
- "name": "showCriteriaError",
2372
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2373
- }
2374
- }
2375
- ]
2376
- },
2377
- {
2378
- "kind": "javascript-module",
2379
- "path": "src/actions-menu/actions-menu.styles.ts",
2380
- "declarations": [
2381
- {
2382
- "kind": "function",
2383
- "name": "actionsMenuBaseStyles",
2384
- "return": {
2385
- "type": {
2386
- "text": "ElementStyles"
2387
- }
2388
- },
2389
- "parameters": [
2390
- {
2391
- "name": "context",
2392
- "type": {
2393
- "text": "ElementDefinitionContext"
2357
+ "text": "ElementDefinitionContext"
2394
2358
  }
2395
2359
  },
2396
2360
  {
@@ -2935,75 +2899,57 @@
2935
2899
  },
2936
2900
  {
2937
2901
  "kind": "javascript-module",
2938
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2939
2903
  "declarations": [
2940
2904
  {
2941
- "kind": "function",
2942
- "name": "foundationAiIndicatorStyles",
2943
- "return": {
2944
- "type": {
2945
- "text": "ElementStyles"
2946
- }
2947
- },
2948
- "parameters": [
2949
- {
2950
- "name": "context",
2951
- "type": {
2952
- "text": "ElementDefinitionContext"
2953
- }
2954
- },
2955
- {
2956
- "name": "definition",
2957
- "type": {
2958
- "text": "FoundationElementDefinition"
2959
- }
2960
- }
2961
- ]
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "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`"
2962
2908
  }
2963
2909
  ],
2964
2910
  "exports": [
2965
2911
  {
2966
2912
  "kind": "js",
2967
- "name": "foundationAiIndicatorStyles",
2913
+ "name": "foundationAiCriteriaSearchStyles",
2968
2914
  "declaration": {
2969
- "name": "foundationAiIndicatorStyles",
2970
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2971
2917
  }
2972
2918
  }
2973
2919
  ]
2974
2920
  },
2975
2921
  {
2976
2922
  "kind": "javascript-module",
2977
- "path": "src/ai-indicator/ai-indicator.template.ts",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2978
2924
  "declarations": [
2979
2925
  {
2980
2926
  "kind": "variable",
2981
- "name": "foundationAiIndicatorTemplate",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
2982
2928
  "type": {
2983
- "text": "ViewTemplate<AiIndicator>"
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
2984
2930
  },
2985
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2986
2932
  }
2987
2933
  ],
2988
2934
  "exports": [
2989
2935
  {
2990
2936
  "kind": "js",
2991
- "name": "foundationAiIndicatorTemplate",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
2992
2938
  "declaration": {
2993
- "name": "foundationAiIndicatorTemplate",
2994
- "module": "src/ai-indicator/ai-indicator.template.ts"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2995
2941
  }
2996
2942
  }
2997
2943
  ]
2998
2944
  },
2999
2945
  {
3000
2946
  "kind": "javascript-module",
3001
- "path": "src/ai-indicator/ai-indicator.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3002
2948
  "declarations": [
3003
2949
  {
3004
2950
  "kind": "class",
3005
- "description": "",
3006
- "name": "AiIndicator",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
3007
2953
  "members": [
3008
2954
  {
3009
2955
  "kind": "field",
@@ -3014,31 +2960,38 @@
3014
2960
  },
3015
2961
  {
3016
2962
  "kind": "field",
3017
- "name": "status",
2963
+ "name": "placeholder",
3018
2964
  "type": {
3019
- "text": "AIStatus | null"
2965
+ "text": "string"
3020
2966
  },
3021
- "default": "null"
2967
+ "default": "'Describe your search criteria in natural language...'"
3022
2968
  },
3023
2969
  {
3024
2970
  "kind": "field",
3025
- "name": "open",
2971
+ "name": "disabled",
3026
2972
  "type": {
3027
2973
  "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "mode",
2979
+ "type": {
2980
+ "text": "'append' | 'replace'"
3028
2981
  },
3029
- "default": "false"
2982
+ "default": "'replace'"
3030
2983
  },
3031
2984
  {
3032
2985
  "kind": "field",
3033
- "name": "state",
2986
+ "name": "inputValue",
3034
2987
  "type": {
3035
- "text": "AIIndicatorState"
2988
+ "text": "string"
3036
2989
  },
3037
- "default": "'none'"
2990
+ "default": "''"
3038
2991
  },
3039
2992
  {
3040
2993
  "kind": "field",
3041
- "name": "isInstalling",
2994
+ "name": "isInterpreting",
3042
2995
  "type": {
3043
2996
  "text": "boolean"
3044
2997
  },
@@ -3046,133 +2999,91 @@
3046
2999
  },
3047
3000
  {
3048
3001
  "kind": "field",
3049
- "name": "pollTimer",
3002
+ "name": "lastValidCriteria",
3050
3003
  "type": {
3051
- "text": "ReturnType<typeof setInterval> | null"
3004
+ "text": "string | null"
3052
3005
  },
3053
- "privacy": "private",
3054
3006
  "default": "null"
3055
3007
  },
3056
3008
  {
3057
3009
  "kind": "field",
3058
- "name": "clickOutside",
3059
- "privacy": "private"
3010
+ "name": "fieldMetadata",
3011
+ "type": {
3012
+ "text": "MetadataDetail[] | string[]"
3013
+ },
3014
+ "default": "[]"
3060
3015
  },
3061
3016
  {
3062
3017
  "kind": "field",
3063
- "name": "chromeStatusLabel",
3018
+ "name": "isRecording",
3064
3019
  "type": {
3065
- "text": "string | null"
3020
+ "text": "boolean"
3066
3021
  },
3067
- "readonly": true
3022
+ "default": "false"
3068
3023
  },
3069
3024
  {
3070
3025
  "kind": "field",
3071
- "name": "canInstall",
3026
+ "name": "textAreaRef",
3072
3027
  "type": {
3073
- "text": "boolean"
3028
+ "text": "HTMLTextAreaElement"
3074
3029
  },
3075
- "readonly": true
3030
+ "privacy": "public"
3076
3031
  },
3077
3032
  {
3078
3033
  "kind": "field",
3079
- "name": "isDownloading",
3034
+ "name": "stopRecording",
3080
3035
  "type": {
3081
- "text": "boolean"
3036
+ "text": "(() => void) | null"
3082
3037
  },
3083
- "readonly": true
3038
+ "privacy": "private",
3039
+ "default": "null"
3084
3040
  },
3085
3041
  {
3086
- "kind": "method",
3087
- "name": "openChanged",
3088
- "return": {
3089
- "type": {
3090
- "text": "void"
3091
- }
3092
- }
3042
+ "kind": "field",
3043
+ "name": "speechApplyDebounceTimer",
3044
+ "type": {
3045
+ "text": "ReturnType<typeof setTimeout> | null"
3046
+ },
3047
+ "privacy": "private",
3048
+ "default": "null"
3093
3049
  },
3094
3050
  {
3095
- "kind": "method",
3096
- "name": "handleClickOutside",
3051
+ "kind": "field",
3052
+ "name": "baseInputForAppend",
3053
+ "type": {
3054
+ "text": "string"
3055
+ },
3097
3056
  "privacy": "private",
3098
- "parameters": [
3099
- {
3100
- "name": "event",
3101
- "type": {
3102
- "text": "MouseEvent"
3103
- }
3104
- }
3105
- ]
3057
+ "default": "''"
3058
+ },
3059
+ {
3060
+ "kind": "field",
3061
+ "name": "speechAvailable",
3062
+ "type": {
3063
+ "text": "boolean"
3064
+ },
3065
+ "readonly": true
3106
3066
  },
3107
3067
  {
3108
3068
  "kind": "method",
3109
- "name": "toggleDropdown"
3069
+ "name": "handleSubmit"
3110
3070
  },
3111
3071
  {
3112
3072
  "kind": "method",
3113
- "name": "refreshStatus",
3114
- "return": {
3115
- "type": {
3116
- "text": "Promise<void>"
3117
- }
3118
- }
3073
+ "name": "handleBlur"
3119
3074
  },
3120
3075
  {
3121
3076
  "kind": "method",
3122
- "name": "deriveState",
3123
- "privacy": "private",
3124
- "return": {
3125
- "type": {
3126
- "text": "AIIndicatorState"
3127
- }
3128
- },
3129
- "parameters": [
3130
- {
3131
- "name": "s",
3132
- "type": {
3133
- "text": "AIStatus | null"
3134
- }
3135
- }
3136
- ]
3077
+ "name": "clear"
3137
3078
  },
3138
3079
  {
3139
3080
  "kind": "method",
3140
- "name": "maybeStartPolling",
3141
- "privacy": "private",
3142
- "return": {
3143
- "type": {
3144
- "text": "void"
3145
- }
3146
- }
3081
+ "name": "toggleSpeechInput"
3147
3082
  },
3148
3083
  {
3149
3084
  "kind": "method",
3150
- "name": "startPolling",
3151
- "privacy": "private",
3152
- "return": {
3153
- "type": {
3154
- "text": "void"
3155
- }
3156
- }
3157
- },
3158
- {
3159
- "kind": "method",
3160
- "name": "stopPolling",
3161
- "privacy": "private",
3162
- "return": {
3163
- "type": {
3164
- "text": "void"
3165
- }
3166
- }
3167
- },
3168
- {
3169
- "kind": "method",
3170
- "name": "onInstall",
3171
- "return": {
3172
- "type": {
3173
- "text": "Promise<void>"
3174
- }
3175
- }
3085
+ "name": "clearSpeechApplyDebounce",
3086
+ "privacy": "private"
3176
3087
  },
3177
3088
  {
3178
3089
  "kind": "field",
@@ -3286,141 +3197,267 @@
3286
3197
  }
3287
3198
  }
3288
3199
  ],
3200
+ "events": [
3201
+ {
3202
+ "description": "Fired when interpreted criteria is applied or cleared",
3203
+ "name": "criteria-changed"
3204
+ },
3205
+ {
3206
+ "description": "Fired when interpreted criteria contains invalid clauses",
3207
+ "name": "validation-errors"
3208
+ }
3209
+ ],
3210
+ "attributes": [
3211
+ {
3212
+ "name": "placeholder",
3213
+ "type": {
3214
+ "text": "string"
3215
+ },
3216
+ "default": "'Describe your search criteria in natural language...'",
3217
+ "fieldName": "placeholder"
3218
+ },
3219
+ {
3220
+ "type": {
3221
+ "text": "boolean"
3222
+ },
3223
+ "fieldName": "disabled"
3224
+ },
3225
+ {
3226
+ "name": "mode",
3227
+ "type": {
3228
+ "text": "'append' | 'replace'"
3229
+ },
3230
+ "default": "'replace'",
3231
+ "fieldName": "mode"
3232
+ }
3233
+ ],
3289
3234
  "superclass": {
3290
3235
  "name": "FoundationElement",
3291
3236
  "package": "@microsoft/fast-foundation"
3292
3237
  },
3293
- "tagName": "%%prefix%%-ai-indicator",
3238
+ "tagName": "%%prefix%%-ai-criteria-search",
3294
3239
  "customElement": true
3295
3240
  },
3296
3241
  {
3297
3242
  "kind": "variable",
3298
- "name": "foundationAiIndicator"
3243
+ "name": "foundationAiCriteriaSearchShadowOptions",
3244
+ "type": {
3245
+ "text": "ShadowRootInit"
3246
+ },
3247
+ "default": "undefined"
3248
+ },
3249
+ {
3250
+ "kind": "variable",
3251
+ "name": "defaultAiCriteriaSearchConfig",
3252
+ "type": {
3253
+ "text": "object"
3254
+ },
3255
+ "default": "{}"
3256
+ },
3257
+ {
3258
+ "kind": "variable",
3259
+ "name": "foundationAiCriteriaSearch"
3299
3260
  }
3300
3261
  ],
3301
3262
  "exports": [
3302
3263
  {
3303
3264
  "kind": "js",
3304
- "name": "AiIndicator",
3265
+ "name": "AiCriteriaSearch",
3305
3266
  "declaration": {
3306
- "name": "AiIndicator",
3307
- "module": "src/ai-indicator/ai-indicator.ts"
3267
+ "name": "AiCriteriaSearch",
3268
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3308
3269
  }
3309
3270
  },
3310
3271
  {
3311
3272
  "kind": "js",
3312
- "name": "foundationAiIndicator",
3273
+ "name": "foundationAiCriteriaSearchShadowOptions",
3313
3274
  "declaration": {
3314
- "name": "foundationAiIndicator",
3315
- "module": "src/ai-indicator/ai-indicator.ts"
3275
+ "name": "foundationAiCriteriaSearchShadowOptions",
3276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "js",
3281
+ "name": "defaultAiCriteriaSearchConfig",
3282
+ "declaration": {
3283
+ "name": "defaultAiCriteriaSearchConfig",
3284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3285
+ }
3286
+ },
3287
+ {
3288
+ "kind": "js",
3289
+ "name": "foundationAiCriteriaSearch",
3290
+ "declaration": {
3291
+ "name": "foundationAiCriteriaSearch",
3292
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3316
3293
  }
3317
3294
  }
3318
3295
  ]
3319
3296
  },
3320
3297
  {
3321
3298
  "kind": "javascript-module",
3322
- "path": "src/ai-indicator/index.ts",
3299
+ "path": "src/ai-criteria-search/index.ts",
3323
3300
  "declarations": [],
3324
3301
  "exports": [
3325
3302
  {
3326
3303
  "kind": "js",
3327
- "name": "AiIndicator",
3304
+ "name": "AiCriteriaSearch",
3328
3305
  "declaration": {
3329
- "name": "AiIndicator",
3330
- "module": "./ai-indicator"
3306
+ "name": "AiCriteriaSearch",
3307
+ "module": "./ai-criteria-search"
3331
3308
  }
3332
3309
  },
3333
3310
  {
3334
3311
  "kind": "js",
3335
- "name": "foundationAiIndicator",
3312
+ "name": "defaultAiCriteriaSearchConfig",
3336
3313
  "declaration": {
3337
- "name": "foundationAiIndicator",
3338
- "module": "./ai-indicator"
3314
+ "name": "defaultAiCriteriaSearchConfig",
3315
+ "module": "./ai-criteria-search"
3339
3316
  }
3340
3317
  },
3341
3318
  {
3342
3319
  "kind": "js",
3343
- "name": "type",
3320
+ "name": "foundationAiCriteriaSearch",
3344
3321
  "declaration": {
3345
- "name": "type",
3346
- "module": "./ai-indicator"
3322
+ "name": "foundationAiCriteriaSearch",
3323
+ "module": "./ai-criteria-search"
3347
3324
  }
3348
3325
  },
3349
3326
  {
3350
3327
  "kind": "js",
3351
- "name": "AIIndicatorState",
3328
+ "name": "foundationAiCriteriaSearchShadowOptions",
3352
3329
  "declaration": {
3353
- "name": "AIIndicatorState",
3354
- "module": "./ai-indicator"
3330
+ "name": "foundationAiCriteriaSearchShadowOptions",
3331
+ "module": "./ai-criteria-search"
3355
3332
  }
3356
3333
  },
3357
3334
  {
3358
3335
  "kind": "js",
3359
- "name": "foundationAiIndicatorTemplate",
3336
+ "name": "foundationAiCriteriaSearchStyles",
3360
3337
  "declaration": {
3361
- "name": "foundationAiIndicatorTemplate",
3362
- "module": "./ai-indicator.template"
3338
+ "name": "foundationAiCriteriaSearchStyles",
3339
+ "module": "./ai-criteria-search.styles"
3363
3340
  }
3364
3341
  },
3365
3342
  {
3366
3343
  "kind": "js",
3367
- "name": "foundationAiIndicatorStyles",
3344
+ "name": "foundationAiCriteriaSearchTemplate",
3368
3345
  "declaration": {
3369
- "name": "foundationAiIndicatorStyles",
3370
- "module": "./ai-indicator.styles"
3346
+ "name": "foundationAiCriteriaSearchTemplate",
3347
+ "module": "./ai-criteria-search.template"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "js",
3352
+ "name": "*",
3353
+ "declaration": {
3354
+ "name": "*",
3355
+ "package": "./validation/criteria-ir"
3356
+ }
3357
+ },
3358
+ {
3359
+ "kind": "js",
3360
+ "name": "*",
3361
+ "declaration": {
3362
+ "name": "*",
3363
+ "package": "./validation/operator-map"
3364
+ }
3365
+ },
3366
+ {
3367
+ "kind": "js",
3368
+ "name": "*",
3369
+ "declaration": {
3370
+ "name": "*",
3371
+ "package": "./validation/schema-validator"
3371
3372
  }
3372
3373
  }
3373
3374
  ]
3374
3375
  },
3375
3376
  {
3376
3377
  "kind": "javascript-module",
3377
- "path": "src/accordion/accordion.styles.ts",
3378
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3378
3379
  "declarations": [
3379
3380
  {
3380
3381
  "kind": "function",
3381
- "name": "foundationAccordionStyles",
3382
+ "name": "formatValidationErrors",
3382
3383
  "return": {
3383
3384
  "type": {
3384
- "text": "ElementStyles"
3385
+ "text": "string"
3385
3386
  }
3386
3387
  },
3387
3388
  "parameters": [
3388
3389
  {
3389
- "name": "context",
3390
+ "name": "errors",
3390
3391
  "type": {
3391
- "text": "ElementDefinitionContext"
3392
+ "text": "ValidationError[]"
3392
3393
  }
3394
+ }
3395
+ ],
3396
+ "description": "Formats validation errors into a user-friendly message."
3397
+ },
3398
+ {
3399
+ "kind": "function",
3400
+ "name": "showCriteriaError",
3401
+ "return": {
3402
+ "type": {
3403
+ "text": "void"
3404
+ }
3405
+ },
3406
+ "parameters": [
3407
+ {
3408
+ "name": "title",
3409
+ "type": {
3410
+ "text": "string"
3411
+ },
3412
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3393
3413
  },
3394
3414
  {
3395
- "name": "definition",
3415
+ "name": "body",
3396
3416
  "type": {
3397
- "text": "FoundationElementDefinition"
3398
- }
3417
+ "text": "string"
3418
+ },
3419
+ "description": "Error message to display"
3420
+ },
3421
+ {
3422
+ "name": "tagName",
3423
+ "type": {
3424
+ "text": "string"
3425
+ },
3426
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3399
3427
  }
3400
- ]
3428
+ ],
3429
+ "description": "Shows a criteria error as a toast notification."
3401
3430
  }
3402
3431
  ],
3403
3432
  "exports": [
3404
3433
  {
3405
3434
  "kind": "js",
3406
- "name": "foundationAccordionStyles",
3435
+ "name": "formatValidationErrors",
3407
3436
  "declaration": {
3408
- "name": "foundationAccordionStyles",
3409
- "module": "src/accordion/accordion.styles.ts"
3437
+ "name": "formatValidationErrors",
3438
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3439
+ }
3440
+ },
3441
+ {
3442
+ "kind": "js",
3443
+ "name": "showCriteriaError",
3444
+ "declaration": {
3445
+ "name": "showCriteriaError",
3446
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3410
3447
  }
3411
3448
  }
3412
3449
  ]
3413
3450
  },
3414
3451
  {
3415
3452
  "kind": "javascript-module",
3416
- "path": "src/accordion/accordion.template.ts",
3453
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3417
3454
  "declarations": [
3418
3455
  {
3419
3456
  "kind": "function",
3420
- "name": "foundationAccordionTemplate",
3457
+ "name": "foundationAiIndicatorStyles",
3421
3458
  "return": {
3422
3459
  "type": {
3423
- "text": "ViewTemplate<Accordion>"
3460
+ "text": "ElementStyles"
3424
3461
  }
3425
3462
  },
3426
3463
  "parameters": [
@@ -3442,237 +3479,214 @@
3442
3479
  "exports": [
3443
3480
  {
3444
3481
  "kind": "js",
3445
- "name": "foundationAccordionTemplate",
3482
+ "name": "foundationAiIndicatorStyles",
3446
3483
  "declaration": {
3447
- "name": "foundationAccordionTemplate",
3448
- "module": "src/accordion/accordion.template.ts"
3484
+ "name": "foundationAiIndicatorStyles",
3485
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3449
3486
  }
3450
3487
  }
3451
3488
  ]
3452
3489
  },
3453
3490
  {
3454
3491
  "kind": "javascript-module",
3455
- "path": "src/accordion/accordion.ts",
3492
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3493
+ "declarations": [
3494
+ {
3495
+ "kind": "variable",
3496
+ "name": "foundationAiIndicatorTemplate",
3497
+ "type": {
3498
+ "text": "ViewTemplate<AiIndicator>"
3499
+ },
3500
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3501
+ }
3502
+ ],
3503
+ "exports": [
3504
+ {
3505
+ "kind": "js",
3506
+ "name": "foundationAiIndicatorTemplate",
3507
+ "declaration": {
3508
+ "name": "foundationAiIndicatorTemplate",
3509
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3510
+ }
3511
+ }
3512
+ ]
3513
+ },
3514
+ {
3515
+ "kind": "javascript-module",
3516
+ "path": "src/ai-indicator/ai-indicator.ts",
3456
3517
  "declarations": [
3457
3518
  {
3458
3519
  "kind": "class",
3459
3520
  "description": "",
3460
- "name": "Accordion",
3461
- "superclass": {
3462
- "name": "FASTAccordion",
3463
- "package": "@microsoft/fast-foundation"
3464
- },
3465
- "tagName": "%%prefix%%-accordion",
3466
- "customElement": true,
3467
- "attributes": [
3521
+ "name": "AiIndicator",
3522
+ "members": [
3468
3523
  {
3469
- "name": "expand-mode",
3524
+ "kind": "field",
3525
+ "name": "aiProvider",
3470
3526
  "type": {
3471
- "text": "AccordionExpandMode"
3472
- },
3473
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3474
- "fieldName": "expandmode",
3475
- "inheritedFrom": {
3476
- "name": "Accordion",
3477
- "module": "src/accordion/accordion.ts"
3527
+ "text": "AIProvider"
3478
3528
  }
3479
- }
3480
- ],
3481
- "members": [
3529
+ },
3482
3530
  {
3483
3531
  "kind": "field",
3484
- "name": "expandmode",
3532
+ "name": "status",
3485
3533
  "type": {
3486
- "text": "AccordionExpandMode"
3534
+ "text": "AIStatus | null"
3487
3535
  },
3488
- "privacy": "public",
3489
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3490
- "inheritedFrom": {
3491
- "name": "Accordion",
3492
- "module": "src/accordion/accordion.ts"
3493
- }
3536
+ "default": "null"
3494
3537
  },
3495
3538
  {
3496
3539
  "kind": "field",
3497
- "name": "activeid",
3540
+ "name": "open",
3498
3541
  "type": {
3499
- "text": "string | null"
3542
+ "text": "boolean"
3500
3543
  },
3501
- "privacy": "private",
3502
- "inheritedFrom": {
3503
- "name": "Accordion",
3504
- "module": "src/accordion/accordion.ts"
3505
- }
3544
+ "default": "false"
3506
3545
  },
3507
3546
  {
3508
3547
  "kind": "field",
3509
- "name": "activeItemIndex",
3548
+ "name": "state",
3510
3549
  "type": {
3511
- "text": "number"
3550
+ "text": "AIIndicatorState"
3512
3551
  },
3513
- "privacy": "private",
3514
- "default": "0",
3515
- "inheritedFrom": {
3516
- "name": "Accordion",
3517
- "module": "src/accordion/accordion.ts"
3518
- }
3552
+ "default": "'none'"
3553
+ },
3554
+ {
3555
+ "kind": "field",
3556
+ "name": "isInstalling",
3557
+ "type": {
3558
+ "text": "boolean"
3559
+ },
3560
+ "default": "false"
3519
3561
  },
3520
3562
  {
3521
3563
  "kind": "field",
3522
- "name": "accordionIds",
3564
+ "name": "pollTimer",
3523
3565
  "type": {
3524
- "text": "Array<string | null>"
3566
+ "text": "ReturnType<typeof setInterval> | null"
3525
3567
  },
3526
3568
  "privacy": "private",
3527
- "inheritedFrom": {
3528
- "name": "Accordion",
3529
- "module": "src/accordion/accordion.ts"
3530
- }
3569
+ "default": "null"
3531
3570
  },
3532
3571
  {
3533
3572
  "kind": "field",
3534
- "name": "change",
3535
- "privacy": "private",
3536
- "inheritedFrom": {
3537
- "name": "Accordion",
3538
- "module": "src/accordion/accordion.ts"
3539
- }
3573
+ "name": "clickOutside",
3574
+ "privacy": "private"
3540
3575
  },
3541
3576
  {
3542
- "kind": "method",
3543
- "name": "findExpandedItem",
3544
- "privacy": "private",
3545
- "return": {
3546
- "type": {
3547
- "text": "AccordionItem | null"
3548
- }
3577
+ "kind": "field",
3578
+ "name": "chromeStatusLabel",
3579
+ "type": {
3580
+ "text": "string | null"
3549
3581
  },
3550
- "inheritedFrom": {
3551
- "name": "Accordion",
3552
- "module": "src/accordion/accordion.ts"
3553
- }
3582
+ "readonly": true
3554
3583
  },
3555
3584
  {
3556
3585
  "kind": "field",
3557
- "name": "setItems",
3558
- "privacy": "private",
3559
- "inheritedFrom": {
3560
- "name": "Accordion",
3561
- "module": "src/accordion/accordion.ts"
3562
- }
3586
+ "name": "canInstall",
3587
+ "type": {
3588
+ "text": "boolean"
3589
+ },
3590
+ "readonly": true
3591
+ },
3592
+ {
3593
+ "kind": "field",
3594
+ "name": "isDownloading",
3595
+ "type": {
3596
+ "text": "boolean"
3597
+ },
3598
+ "readonly": true
3563
3599
  },
3564
3600
  {
3565
3601
  "kind": "method",
3566
- "name": "resetItems",
3567
- "privacy": "private",
3602
+ "name": "openChanged",
3568
3603
  "return": {
3569
3604
  "type": {
3570
3605
  "text": "void"
3571
3606
  }
3572
- },
3573
- "inheritedFrom": {
3574
- "name": "Accordion",
3575
- "module": "src/accordion/accordion.ts"
3576
3607
  }
3577
3608
  },
3578
3609
  {
3579
- "kind": "field",
3580
- "name": "removeItemListeners",
3610
+ "kind": "method",
3611
+ "name": "handleClickOutside",
3581
3612
  "privacy": "private",
3582
- "inheritedFrom": {
3583
- "name": "Accordion",
3584
- "module": "src/accordion/accordion.ts"
3585
- }
3613
+ "parameters": [
3614
+ {
3615
+ "name": "event",
3616
+ "type": {
3617
+ "text": "MouseEvent"
3618
+ }
3619
+ }
3620
+ ]
3586
3621
  },
3587
3622
  {
3588
- "kind": "field",
3589
- "name": "activeItemChange",
3590
- "privacy": "private",
3591
- "inheritedFrom": {
3592
- "name": "Accordion",
3593
- "module": "src/accordion/accordion.ts"
3594
- }
3623
+ "kind": "method",
3624
+ "name": "toggleDropdown"
3595
3625
  },
3596
3626
  {
3597
3627
  "kind": "method",
3598
- "name": "getItemIds",
3599
- "privacy": "private",
3628
+ "name": "refreshStatus",
3600
3629
  "return": {
3601
3630
  "type": {
3602
- "text": "Array<string | null>"
3631
+ "text": "Promise<void>"
3603
3632
  }
3604
- },
3605
- "inheritedFrom": {
3606
- "name": "Accordion",
3607
- "module": "src/accordion/accordion.ts"
3608
3633
  }
3609
3634
  },
3610
3635
  {
3611
3636
  "kind": "method",
3612
- "name": "isSingleExpandMode",
3637
+ "name": "deriveState",
3613
3638
  "privacy": "private",
3614
3639
  "return": {
3615
3640
  "type": {
3616
- "text": "boolean"
3641
+ "text": "AIIndicatorState"
3617
3642
  }
3618
3643
  },
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3644
+ "parameters": [
3645
+ {
3646
+ "name": "s",
3647
+ "type": {
3648
+ "text": "AIStatus | null"
3649
+ }
3650
+ }
3651
+ ]
3623
3652
  },
3624
3653
  {
3625
- "kind": "field",
3626
- "name": "handleItemKeyDown",
3654
+ "kind": "method",
3655
+ "name": "maybeStartPolling",
3627
3656
  "privacy": "private",
3628
- "inheritedFrom": {
3629
- "name": "Accordion",
3630
- "module": "src/accordion/accordion.ts"
3657
+ "return": {
3658
+ "type": {
3659
+ "text": "void"
3660
+ }
3631
3661
  }
3632
3662
  },
3633
3663
  {
3634
- "kind": "field",
3635
- "name": "handleItemFocus",
3664
+ "kind": "method",
3665
+ "name": "startPolling",
3636
3666
  "privacy": "private",
3637
- "inheritedFrom": {
3638
- "name": "Accordion",
3639
- "module": "src/accordion/accordion.ts"
3667
+ "return": {
3668
+ "type": {
3669
+ "text": "void"
3670
+ }
3640
3671
  }
3641
3672
  },
3642
3673
  {
3643
3674
  "kind": "method",
3644
- "name": "adjust",
3675
+ "name": "stopPolling",
3645
3676
  "privacy": "private",
3646
3677
  "return": {
3647
3678
  "type": {
3648
3679
  "text": "void"
3649
3680
  }
3650
- },
3651
- "parameters": [
3652
- {
3653
- "name": "adjustment",
3654
- "type": {
3655
- "text": "number"
3656
- }
3657
- }
3658
- ],
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
3681
  }
3663
3682
  },
3664
3683
  {
3665
3684
  "kind": "method",
3666
- "name": "focusItem",
3667
- "privacy": "private",
3685
+ "name": "onInstall",
3668
3686
  "return": {
3669
3687
  "type": {
3670
- "text": "void"
3688
+ "text": "Promise<void>"
3671
3689
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3690
  }
3677
3691
  },
3678
3692
  {
@@ -3787,102 +3801,88 @@
3787
3801
  }
3788
3802
  }
3789
3803
  ],
3790
- "events": [
3791
- {
3792
- "description": "Fires a custom 'change' event when the active item changes",
3793
- "name": "change",
3794
- "inheritedFrom": {
3795
- "name": "Accordion",
3796
- "module": "src/accordion/accordion.ts"
3797
- }
3798
- }
3799
- ]
3800
- },
3801
- {
3802
- "kind": "variable",
3803
- "name": "foundationAccordionShadowOptions",
3804
- "type": {
3805
- "text": "ShadowRootInit"
3806
- },
3807
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3808
- },
3809
- {
3810
- "kind": "variable",
3811
- "name": "defaultAccordionConfig",
3812
- "type": {
3813
- "text": "object"
3804
+ "superclass": {
3805
+ "name": "FoundationElement",
3806
+ "package": "@microsoft/fast-foundation"
3814
3807
  },
3815
- "default": "{}"
3808
+ "tagName": "%%prefix%%-ai-indicator",
3809
+ "customElement": true
3816
3810
  },
3817
3811
  {
3818
3812
  "kind": "variable",
3819
- "name": "foundationAccordion",
3820
- "description": "The Foundation Accordion",
3821
- "privacy": "public"
3813
+ "name": "foundationAiIndicator"
3822
3814
  }
3823
3815
  ],
3824
3816
  "exports": [
3825
3817
  {
3826
3818
  "kind": "js",
3827
- "name": "Accordion",
3819
+ "name": "AiIndicator",
3828
3820
  "declaration": {
3829
- "name": "Accordion",
3830
- "module": "src/accordion/accordion.ts"
3821
+ "name": "AiIndicator",
3822
+ "module": "src/ai-indicator/ai-indicator.ts"
3831
3823
  }
3832
3824
  },
3833
3825
  {
3834
3826
  "kind": "js",
3835
- "name": "foundationAccordionShadowOptions",
3827
+ "name": "foundationAiIndicator",
3836
3828
  "declaration": {
3837
- "name": "foundationAccordionShadowOptions",
3838
- "module": "src/accordion/accordion.ts"
3829
+ "name": "foundationAiIndicator",
3830
+ "module": "src/ai-indicator/ai-indicator.ts"
3831
+ }
3832
+ }
3833
+ ]
3834
+ },
3835
+ {
3836
+ "kind": "javascript-module",
3837
+ "path": "src/ai-indicator/index.ts",
3838
+ "declarations": [],
3839
+ "exports": [
3840
+ {
3841
+ "kind": "js",
3842
+ "name": "AiIndicator",
3843
+ "declaration": {
3844
+ "name": "AiIndicator",
3845
+ "module": "./ai-indicator"
3839
3846
  }
3840
3847
  },
3841
3848
  {
3842
3849
  "kind": "js",
3843
- "name": "defaultAccordionConfig",
3850
+ "name": "foundationAiIndicator",
3844
3851
  "declaration": {
3845
- "name": "defaultAccordionConfig",
3846
- "module": "src/accordion/accordion.ts"
3852
+ "name": "foundationAiIndicator",
3853
+ "module": "./ai-indicator"
3847
3854
  }
3848
3855
  },
3849
3856
  {
3850
3857
  "kind": "js",
3851
- "name": "foundationAccordion",
3858
+ "name": "type",
3852
3859
  "declaration": {
3853
- "name": "foundationAccordion",
3854
- "module": "src/accordion/accordion.ts"
3860
+ "name": "type",
3861
+ "module": "./ai-indicator"
3855
3862
  }
3856
- }
3857
- ]
3858
- },
3859
- {
3860
- "kind": "javascript-module",
3861
- "path": "src/accordion/index.ts",
3862
- "declarations": [],
3863
- "exports": [
3863
+ },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "*",
3866
+ "name": "AIIndicatorState",
3867
3867
  "declaration": {
3868
- "name": "*",
3869
- "package": "./accordion.template"
3868
+ "name": "AIIndicatorState",
3869
+ "module": "./ai-indicator"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "*",
3874
+ "name": "foundationAiIndicatorTemplate",
3875
3875
  "declaration": {
3876
- "name": "*",
3877
- "package": "./accordion.styles"
3876
+ "name": "foundationAiIndicatorTemplate",
3877
+ "module": "./ai-indicator.template"
3878
3878
  }
3879
3879
  },
3880
3880
  {
3881
3881
  "kind": "js",
3882
- "name": "*",
3882
+ "name": "foundationAiIndicatorStyles",
3883
3883
  "declaration": {
3884
- "name": "*",
3885
- "package": "./accordion"
3884
+ "name": "foundationAiIndicatorStyles",
3885
+ "module": "./ai-indicator.styles"
3886
3886
  }
3887
3887
  }
3888
3888
  ]