@genesislcap/foundation-ui 14.432.1 → 14.432.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1794,518 +1794,15 @@
1794
1794
  },
1795
1795
  {
1796
1796
  "kind": "javascript-module",
1797
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1798
- "declarations": [
1799
- {
1800
- "kind": "variable",
1801
- "name": "foundationAiCriteriaSearchStyles",
1802
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
1803
- }
1804
- ],
1805
- "exports": [
1806
- {
1807
- "kind": "js",
1808
- "name": "foundationAiCriteriaSearchStyles",
1809
- "declaration": {
1810
- "name": "foundationAiCriteriaSearchStyles",
1811
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1812
- }
1813
- }
1814
- ]
1815
- },
1816
- {
1817
- "kind": "javascript-module",
1818
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1819
- "declarations": [
1820
- {
1821
- "kind": "variable",
1822
- "name": "foundationAiCriteriaSearchTemplate",
1823
- "type": {
1824
- "text": "ViewTemplate<AiCriteriaSearch>"
1825
- },
1826
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1827
- }
1828
- ],
1829
- "exports": [
1830
- {
1831
- "kind": "js",
1832
- "name": "foundationAiCriteriaSearchTemplate",
1833
- "declaration": {
1834
- "name": "foundationAiCriteriaSearchTemplate",
1835
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1836
- }
1837
- }
1838
- ]
1839
- },
1840
- {
1841
- "kind": "javascript-module",
1842
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1843
- "declarations": [
1844
- {
1845
- "kind": "class",
1846
- "description": "Natural-language criteria search input with AI interpretation.",
1847
- "name": "AiCriteriaSearch",
1848
- "members": [
1849
- {
1850
- "kind": "field",
1851
- "name": "aiProvider",
1852
- "type": {
1853
- "text": "AIProvider"
1854
- }
1855
- },
1856
- {
1857
- "kind": "field",
1858
- "name": "placeholder",
1859
- "type": {
1860
- "text": "string"
1861
- },
1862
- "default": "'Describe your search criteria in natural language...'"
1863
- },
1864
- {
1865
- "kind": "field",
1866
- "name": "disabled",
1867
- "type": {
1868
- "text": "boolean"
1869
- }
1870
- },
1871
- {
1872
- "kind": "field",
1873
- "name": "inputValue",
1874
- "type": {
1875
- "text": "string"
1876
- },
1877
- "default": "''"
1878
- },
1879
- {
1880
- "kind": "field",
1881
- "name": "isInterpreting",
1882
- "type": {
1883
- "text": "boolean"
1884
- },
1885
- "default": "false"
1886
- },
1887
- {
1888
- "kind": "field",
1889
- "name": "lastValidCriteria",
1890
- "type": {
1891
- "text": "string | null"
1892
- },
1893
- "default": "null"
1894
- },
1895
- {
1896
- "kind": "field",
1897
- "name": "activeGroups",
1898
- "type": {
1899
- "text": "CriteriaGroup[]"
1900
- },
1901
- "default": "[]"
1902
- },
1903
- {
1904
- "kind": "field",
1905
- "name": "showingChips",
1906
- "type": {
1907
- "text": "boolean"
1908
- },
1909
- "default": "false"
1910
- },
1911
- {
1912
- "kind": "field",
1913
- "name": "fieldMetadata",
1914
- "type": {
1915
- "text": "MetadataDetail[] | string[]"
1916
- },
1917
- "default": "[]"
1918
- },
1919
- {
1920
- "kind": "field",
1921
- "name": "isRecording",
1922
- "type": {
1923
- "text": "boolean"
1924
- },
1925
- "default": "false"
1926
- },
1927
- {
1928
- "kind": "field",
1929
- "name": "textAreaRef",
1930
- "type": {
1931
- "text": "HTMLTextAreaElement"
1932
- },
1933
- "privacy": "public"
1934
- },
1935
- {
1936
- "kind": "field",
1937
- "name": "stopRecording",
1938
- "type": {
1939
- "text": "(() => void) | null"
1940
- },
1941
- "privacy": "private",
1942
- "default": "null"
1943
- },
1944
- {
1945
- "kind": "field",
1946
- "name": "speechApplyDebounceTimer",
1947
- "type": {
1948
- "text": "ReturnType<typeof setTimeout> | null"
1949
- },
1950
- "privacy": "private",
1951
- "default": "null"
1952
- },
1953
- {
1954
- "kind": "field",
1955
- "name": "speechAvailable",
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "readonly": true
1960
- },
1961
- {
1962
- "kind": "field",
1963
- "name": "criteriaChips",
1964
- "type": {
1965
- "text": "CriteriaChip[]"
1966
- },
1967
- "readonly": true
1968
- },
1969
- {
1970
- "kind": "method",
1971
- "name": "getFieldLabel",
1972
- "privacy": "private",
1973
- "return": {
1974
- "type": {
1975
- "text": "string"
1976
- }
1977
- },
1978
- "parameters": [
1979
- {
1980
- "name": "fieldName",
1981
- "type": {
1982
- "text": "string"
1983
- }
1984
- }
1985
- ]
1986
- },
1987
- {
1988
- "kind": "method",
1989
- "name": "toggleCriteriaView",
1990
- "return": {
1991
- "type": {
1992
- "text": "void"
1993
- }
1994
- }
1995
- },
1996
- {
1997
- "kind": "method",
1998
- "name": "removeChip",
1999
- "return": {
2000
- "type": {
2001
- "text": "void"
2002
- }
2003
- },
2004
- "parameters": [
2005
- {
2006
- "name": "groupIndex",
2007
- "type": {
2008
- "text": "number"
2009
- }
2010
- },
2011
- {
2012
- "name": "clauseIndex",
2013
- "type": {
2014
- "text": "number"
2015
- }
2016
- }
2017
- ]
2018
- },
2019
- {
2020
- "kind": "method",
2021
- "name": "clearChips",
2022
- "return": {
2023
- "type": {
2024
- "text": "void"
2025
- }
2026
- }
2027
- },
2028
- {
2029
- "kind": "method",
2030
- "name": "handleSubmit"
2031
- },
2032
- {
2033
- "kind": "method",
2034
- "name": "handleBlur"
2035
- },
2036
- {
2037
- "kind": "method",
2038
- "name": "clear"
2039
- },
2040
- {
2041
- "kind": "method",
2042
- "name": "toggleSpeechInput"
2043
- },
2044
- {
2045
- "kind": "method",
2046
- "name": "clearSpeechApplyDebounce",
2047
- "privacy": "private"
2048
- },
2049
- {
2050
- "kind": "field",
2051
- "name": "_presentation",
2052
- "type": {
2053
- "text": "ComponentPresentation | null | undefined"
2054
- },
2055
- "privacy": "private",
2056
- "default": "void 0",
2057
- "inheritedFrom": {
2058
- "name": "FoundationElement",
2059
- "module": "src/foundation-element/foundation-element.ts"
2060
- }
2061
- },
2062
- {
2063
- "kind": "field",
2064
- "name": "$presentation",
2065
- "type": {
2066
- "text": "ComponentPresentation | null"
2067
- },
2068
- "privacy": "public",
2069
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2070
- "inheritedFrom": {
2071
- "name": "FoundationElement",
2072
- "module": "src/foundation-element/foundation-element.ts"
2073
- }
2074
- },
2075
- {
2076
- "kind": "field",
2077
- "name": "template",
2078
- "type": {
2079
- "text": "ElementViewTemplate | void | null"
2080
- },
2081
- "privacy": "public",
2082
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2083
- "inheritedFrom": {
2084
- "name": "FoundationElement",
2085
- "module": "src/foundation-element/foundation-element.ts"
2086
- }
2087
- },
2088
- {
2089
- "kind": "method",
2090
- "name": "templateChanged",
2091
- "privacy": "protected",
2092
- "return": {
2093
- "type": {
2094
- "text": "void"
2095
- }
2096
- },
2097
- "inheritedFrom": {
2098
- "name": "FoundationElement",
2099
- "module": "src/foundation-element/foundation-element.ts"
2100
- }
2101
- },
2102
- {
2103
- "kind": "field",
2104
- "name": "styles",
2105
- "type": {
2106
- "text": "ElementStyles | void | null"
2107
- },
2108
- "privacy": "public",
2109
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2110
- "inheritedFrom": {
2111
- "name": "FoundationElement",
2112
- "module": "src/foundation-element/foundation-element.ts"
2113
- }
2114
- },
2115
- {
2116
- "kind": "method",
2117
- "name": "stylesChanged",
2118
- "privacy": "protected",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "FoundationElement",
2126
- "module": "src/foundation-element/foundation-element.ts"
2127
- }
2128
- },
2129
- {
2130
- "kind": "method",
2131
- "name": "compose",
2132
- "privacy": "public",
2133
- "static": true,
2134
- "return": {
2135
- "type": {
2136
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2137
- }
2138
- },
2139
- "parameters": [
2140
- {
2141
- "name": "this",
2142
- "type": {
2143
- "text": "K"
2144
- }
2145
- },
2146
- {
2147
- "name": "elementDefinition",
2148
- "type": {
2149
- "text": "T"
2150
- },
2151
- "description": "The definition of the element to create the registry\nfunction for."
2152
- }
2153
- ],
2154
- "description": "Defines an element registry function with a set of element definition defaults.",
2155
- "inheritedFrom": {
2156
- "name": "FoundationElement",
2157
- "module": "src/foundation-element/foundation-element.ts"
2158
- }
2159
- }
2160
- ],
2161
- "events": [
2162
- {
2163
- "description": "Fired when interpreted criteria is applied or cleared",
2164
- "name": "criteria-changed"
2165
- },
2166
- {
2167
- "description": "Fired when interpreted criteria contains invalid clauses",
2168
- "name": "validation-errors"
2169
- }
2170
- ],
2171
- "attributes": [
2172
- {
2173
- "name": "placeholder",
2174
- "type": {
2175
- "text": "string"
2176
- },
2177
- "default": "'Describe your search criteria in natural language...'",
2178
- "fieldName": "placeholder"
2179
- },
2180
- {
2181
- "type": {
2182
- "text": "boolean"
2183
- },
2184
- "fieldName": "disabled"
2185
- }
2186
- ],
2187
- "superclass": {
2188
- "name": "FoundationElement",
2189
- "package": "@microsoft/fast-foundation"
2190
- },
2191
- "tagName": "%%prefix%%-ai-criteria-search",
2192
- "customElement": true
2193
- },
2194
- {
2195
- "kind": "variable",
2196
- "name": "foundationAiCriteriaSearchShadowOptions",
2197
- "type": {
2198
- "text": "ShadowRootInit"
2199
- },
2200
- "default": "undefined"
2201
- },
2202
- {
2203
- "kind": "variable",
2204
- "name": "defaultAiCriteriaSearchConfig",
2205
- "type": {
2206
- "text": "object"
2207
- },
2208
- "default": "{}"
2209
- },
2210
- {
2211
- "kind": "variable",
2212
- "name": "foundationAiCriteriaSearch"
2213
- }
2214
- ],
2215
- "exports": [
2216
- {
2217
- "kind": "js",
2218
- "name": "AiCriteriaSearch",
2219
- "declaration": {
2220
- "name": "AiCriteriaSearch",
2221
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2222
- }
2223
- },
2224
- {
2225
- "kind": "js",
2226
- "name": "foundationAiCriteriaSearchShadowOptions",
2227
- "declaration": {
2228
- "name": "foundationAiCriteriaSearchShadowOptions",
2229
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2230
- }
2231
- },
2232
- {
2233
- "kind": "js",
2234
- "name": "defaultAiCriteriaSearchConfig",
2235
- "declaration": {
2236
- "name": "defaultAiCriteriaSearchConfig",
2237
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2238
- }
2239
- },
2240
- {
2241
- "kind": "js",
2242
- "name": "foundationAiCriteriaSearch",
2243
- "declaration": {
2244
- "name": "foundationAiCriteriaSearch",
2245
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2246
- }
2247
- }
2248
- ]
2249
- },
2250
- {
2251
- "kind": "javascript-module",
2252
- "path": "src/ai-criteria-search/index.ts",
1797
+ "path": "src/_config/index.ts",
2253
1798
  "declarations": [],
2254
1799
  "exports": [
2255
- {
2256
- "kind": "js",
2257
- "name": "AiCriteriaSearch",
2258
- "declaration": {
2259
- "name": "AiCriteriaSearch",
2260
- "module": "./ai-criteria-search"
2261
- }
2262
- },
2263
- {
2264
- "kind": "js",
2265
- "name": "defaultAiCriteriaSearchConfig",
2266
- "declaration": {
2267
- "name": "defaultAiCriteriaSearchConfig",
2268
- "module": "./ai-criteria-search"
2269
- }
2270
- },
2271
- {
2272
- "kind": "js",
2273
- "name": "foundationAiCriteriaSearch",
2274
- "declaration": {
2275
- "name": "foundationAiCriteriaSearch",
2276
- "module": "./ai-criteria-search"
2277
- }
2278
- },
2279
- {
2280
- "kind": "js",
2281
- "name": "foundationAiCriteriaSearchShadowOptions",
2282
- "declaration": {
2283
- "name": "foundationAiCriteriaSearchShadowOptions",
2284
- "module": "./ai-criteria-search"
2285
- }
2286
- },
2287
- {
2288
- "kind": "js",
2289
- "name": "foundationAiCriteriaSearchStyles",
2290
- "declaration": {
2291
- "name": "foundationAiCriteriaSearchStyles",
2292
- "module": "./ai-criteria-search.styles"
2293
- }
2294
- },
2295
- {
2296
- "kind": "js",
2297
- "name": "foundationAiCriteriaSearchTemplate",
2298
- "declaration": {
2299
- "name": "foundationAiCriteriaSearchTemplate",
2300
- "module": "./ai-criteria-search.template"
2301
- }
2302
- },
2303
1800
  {
2304
1801
  "kind": "js",
2305
1802
  "name": "*",
2306
1803
  "declaration": {
2307
1804
  "name": "*",
2308
- "package": "./validation/criteria-ir"
1805
+ "package": "./styles"
2309
1806
  }
2310
1807
  },
2311
1808
  {
@@ -2313,7 +1810,7 @@
2313
1810
  "name": "*",
2314
1811
  "declaration": {
2315
1812
  "name": "*",
2316
- "package": "./validation/operator-map"
1813
+ "package": "./tokens"
2317
1814
  }
2318
1815
  },
2319
1816
  {
@@ -2321,96 +1818,60 @@
2321
1818
  "name": "*",
2322
1819
  "declaration": {
2323
1820
  "name": "*",
2324
- "package": "./validation/schema-validator"
1821
+ "package": "./values"
2325
1822
  }
2326
1823
  }
2327
1824
  ]
2328
1825
  },
2329
1826
  {
2330
1827
  "kind": "javascript-module",
2331
- "path": "src/ai-criteria-search/validation-error-notification.ts",
1828
+ "path": "src/accordion/accordion.styles.ts",
2332
1829
  "declarations": [
2333
1830
  {
2334
1831
  "kind": "function",
2335
- "name": "formatValidationErrors",
1832
+ "name": "foundationAccordionStyles",
2336
1833
  "return": {
2337
1834
  "type": {
2338
- "text": "string"
1835
+ "text": "ElementStyles"
2339
1836
  }
2340
1837
  },
2341
1838
  "parameters": [
2342
1839
  {
2343
- "name": "errors",
1840
+ "name": "context",
2344
1841
  "type": {
2345
- "text": "ValidationError[]"
1842
+ "text": "ElementDefinitionContext"
2346
1843
  }
2347
- }
2348
- ],
2349
- "description": "Formats validation errors into a user-friendly message."
2350
- },
2351
- {
2352
- "kind": "function",
2353
- "name": "showCriteriaError",
2354
- "return": {
2355
- "type": {
2356
- "text": "void"
2357
- }
2358
- },
2359
- "parameters": [
2360
- {
2361
- "name": "title",
2362
- "type": {
2363
- "text": "string"
2364
- },
2365
- "description": "Notification title (e.g. \"Criteria validation error\")"
2366
1844
  },
2367
1845
  {
2368
- "name": "body",
2369
- "type": {
2370
- "text": "string"
2371
- },
2372
- "description": "Error message to display"
2373
- },
2374
- {
2375
- "name": "tagName",
1846
+ "name": "definition",
2376
1847
  "type": {
2377
- "text": "string"
2378
- },
2379
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
1848
+ "text": "FoundationElementDefinition"
1849
+ }
2380
1850
  }
2381
- ],
2382
- "description": "Shows a criteria error as a toast notification."
1851
+ ]
2383
1852
  }
2384
1853
  ],
2385
1854
  "exports": [
2386
1855
  {
2387
1856
  "kind": "js",
2388
- "name": "formatValidationErrors",
2389
- "declaration": {
2390
- "name": "formatValidationErrors",
2391
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2392
- }
2393
- },
2394
- {
2395
- "kind": "js",
2396
- "name": "showCriteriaError",
1857
+ "name": "foundationAccordionStyles",
2397
1858
  "declaration": {
2398
- "name": "showCriteriaError",
2399
- "module": "src/ai-criteria-search/validation-error-notification.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
2400
1861
  }
2401
1862
  }
2402
1863
  ]
2403
1864
  },
2404
1865
  {
2405
1866
  "kind": "javascript-module",
2406
- "path": "src/ai-indicator/ai-indicator.styles.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
2407
1868
  "declarations": [
2408
1869
  {
2409
1870
  "kind": "function",
2410
- "name": "foundationAiIndicatorStyles",
1871
+ "name": "foundationAccordionTemplate",
2411
1872
  "return": {
2412
1873
  "type": {
2413
- "text": "ElementStyles"
1874
+ "text": "ViewTemplate<Accordion>"
2414
1875
  }
2415
1876
  },
2416
1877
  "parameters": [
@@ -2432,214 +1893,237 @@
2432
1893
  "exports": [
2433
1894
  {
2434
1895
  "kind": "js",
2435
- "name": "foundationAiIndicatorStyles",
2436
- "declaration": {
2437
- "name": "foundationAiIndicatorStyles",
2438
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2439
- }
2440
- }
2441
- ]
2442
- },
2443
- {
2444
- "kind": "javascript-module",
2445
- "path": "src/ai-indicator/ai-indicator.template.ts",
2446
- "declarations": [
2447
- {
2448
- "kind": "variable",
2449
- "name": "foundationAiIndicatorTemplate",
2450
- "type": {
2451
- "text": "ViewTemplate<AiIndicator>"
2452
- },
2453
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2454
- }
2455
- ],
2456
- "exports": [
2457
- {
2458
- "kind": "js",
2459
- "name": "foundationAiIndicatorTemplate",
1896
+ "name": "foundationAccordionTemplate",
2460
1897
  "declaration": {
2461
- "name": "foundationAiIndicatorTemplate",
2462
- "module": "src/ai-indicator/ai-indicator.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
2463
1900
  }
2464
1901
  }
2465
1902
  ]
2466
1903
  },
2467
1904
  {
2468
1905
  "kind": "javascript-module",
2469
- "path": "src/ai-indicator/ai-indicator.ts",
1906
+ "path": "src/accordion/accordion.ts",
2470
1907
  "declarations": [
2471
1908
  {
2472
1909
  "kind": "class",
2473
1910
  "description": "",
2474
- "name": "AiIndicator",
2475
- "members": [
2476
- {
2477
- "kind": "field",
2478
- "name": "aiProvider",
2479
- "type": {
2480
- "text": "AIProvider"
2481
- }
2482
- },
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
2483
1919
  {
2484
- "kind": "field",
2485
- "name": "status",
1920
+ "name": "expand-mode",
2486
1921
  "type": {
2487
- "text": "AIStatus | null"
1922
+ "text": "AccordionExpandMode"
2488
1923
  },
2489
- "default": "null"
2490
- },
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"
1929
+ }
1930
+ }
1931
+ ],
1932
+ "members": [
2491
1933
  {
2492
1934
  "kind": "field",
2493
- "name": "open",
1935
+ "name": "expandmode",
2494
1936
  "type": {
2495
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
2496
1938
  },
2497
- "default": "false"
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
+ }
2498
1945
  },
2499
1946
  {
2500
1947
  "kind": "field",
2501
- "name": "state",
1948
+ "name": "activeid",
2502
1949
  "type": {
2503
- "text": "AIIndicatorState"
1950
+ "text": "string | null"
2504
1951
  },
2505
- "default": "'none'"
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1956
+ }
2506
1957
  },
2507
1958
  {
2508
1959
  "kind": "field",
2509
- "name": "isInstalling",
1960
+ "name": "activeItemIndex",
2510
1961
  "type": {
2511
- "text": "boolean"
1962
+ "text": "number"
2512
1963
  },
2513
- "default": "false"
1964
+ "privacy": "private",
1965
+ "default": "0",
1966
+ "inheritedFrom": {
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
1969
+ }
2514
1970
  },
2515
1971
  {
2516
1972
  "kind": "field",
2517
- "name": "pollTimer",
1973
+ "name": "accordionIds",
2518
1974
  "type": {
2519
- "text": "ReturnType<typeof setInterval> | null"
1975
+ "text": "Array<string | null>"
2520
1976
  },
2521
1977
  "privacy": "private",
2522
- "default": "null"
2523
- },
2524
- {
2525
- "kind": "field",
2526
- "name": "clickOutside",
2527
- "privacy": "private"
1978
+ "inheritedFrom": {
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
1981
+ }
2528
1982
  },
2529
1983
  {
2530
1984
  "kind": "field",
2531
- "name": "chromeStatusLabel",
2532
- "type": {
2533
- "text": "string | null"
2534
- },
2535
- "readonly": true
1985
+ "name": "change",
1986
+ "privacy": "private",
1987
+ "inheritedFrom": {
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1990
+ }
2536
1991
  },
2537
1992
  {
2538
- "kind": "field",
2539
- "name": "canInstall",
2540
- "type": {
2541
- "text": "boolean"
1993
+ "kind": "method",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1996
+ "return": {
1997
+ "type": {
1998
+ "text": "AccordionItem | null"
1999
+ }
2542
2000
  },
2543
- "readonly": true
2001
+ "inheritedFrom": {
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
2004
+ }
2544
2005
  },
2545
2006
  {
2546
2007
  "kind": "field",
2547
- "name": "isDownloading",
2548
- "type": {
2549
- "text": "boolean"
2550
- },
2551
- "readonly": true
2008
+ "name": "setItems",
2009
+ "privacy": "private",
2010
+ "inheritedFrom": {
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
2013
+ }
2552
2014
  },
2553
2015
  {
2554
2016
  "kind": "method",
2555
- "name": "openChanged",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
2556
2019
  "return": {
2557
2020
  "type": {
2558
2021
  "text": "void"
2559
2022
  }
2023
+ },
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2560
2027
  }
2561
2028
  },
2562
2029
  {
2563
- "kind": "method",
2564
- "name": "handleClickOutside",
2030
+ "kind": "field",
2031
+ "name": "removeItemListeners",
2565
2032
  "privacy": "private",
2566
- "parameters": [
2567
- {
2568
- "name": "event",
2569
- "type": {
2570
- "text": "MouseEvent"
2571
- }
2572
- }
2573
- ]
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2036
+ }
2574
2037
  },
2575
2038
  {
2576
- "kind": "method",
2577
- "name": "toggleDropdown"
2039
+ "kind": "field",
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2045
+ }
2578
2046
  },
2579
2047
  {
2580
2048
  "kind": "method",
2581
- "name": "refreshStatus",
2049
+ "name": "getItemIds",
2050
+ "privacy": "private",
2582
2051
  "return": {
2583
2052
  "type": {
2584
- "text": "Promise<void>"
2053
+ "text": "Array<string | null>"
2585
2054
  }
2055
+ },
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2586
2059
  }
2587
2060
  },
2588
2061
  {
2589
2062
  "kind": "method",
2590
- "name": "deriveState",
2063
+ "name": "isSingleExpandMode",
2591
2064
  "privacy": "private",
2592
2065
  "return": {
2593
2066
  "type": {
2594
- "text": "AIIndicatorState"
2067
+ "text": "boolean"
2595
2068
  }
2596
2069
  },
2597
- "parameters": [
2598
- {
2599
- "name": "s",
2600
- "type": {
2601
- "text": "AIStatus | null"
2602
- }
2603
- }
2604
- ]
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2605
2074
  },
2606
2075
  {
2607
- "kind": "method",
2608
- "name": "maybeStartPolling",
2076
+ "kind": "field",
2077
+ "name": "handleItemKeyDown",
2609
2078
  "privacy": "private",
2610
- "return": {
2611
- "type": {
2612
- "text": "void"
2613
- }
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2614
2082
  }
2615
2083
  },
2616
2084
  {
2617
- "kind": "method",
2618
- "name": "startPolling",
2085
+ "kind": "field",
2086
+ "name": "handleItemFocus",
2619
2087
  "privacy": "private",
2620
- "return": {
2621
- "type": {
2622
- "text": "void"
2623
- }
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2624
2091
  }
2625
2092
  },
2626
2093
  {
2627
2094
  "kind": "method",
2628
- "name": "stopPolling",
2095
+ "name": "adjust",
2629
2096
  "privacy": "private",
2630
2097
  "return": {
2631
2098
  "type": {
2632
2099
  "text": "void"
2633
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"
2634
2113
  }
2635
2114
  },
2636
2115
  {
2637
2116
  "kind": "method",
2638
- "name": "onInstall",
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2639
2119
  "return": {
2640
2120
  "type": {
2641
- "text": "Promise<void>"
2121
+ "text": "void"
2642
2122
  }
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2643
2127
  }
2644
2128
  },
2645
2129
  {
@@ -2754,88 +2238,102 @@
2754
2238
  }
2755
2239
  }
2756
2240
  ],
2757
- "superclass": {
2758
- "name": "FoundationElement",
2759
- "package": "@microsoft/fast-foundation"
2241
+ "events": [
2242
+ {
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
+ }
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "kind": "variable",
2254
+ "name": "foundationAccordionShadowOptions",
2255
+ "type": {
2256
+ "text": "ShadowRootInit"
2760
2257
  },
2761
- "tagName": "%%prefix%%-ai-indicator",
2762
- "customElement": true
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2763
2259
  },
2764
2260
  {
2765
2261
  "kind": "variable",
2766
- "name": "foundationAiIndicator"
2262
+ "name": "defaultAccordionConfig",
2263
+ "type": {
2264
+ "text": "object"
2265
+ },
2266
+ "default": "{}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2272
+ "privacy": "public"
2767
2273
  }
2768
2274
  ],
2769
2275
  "exports": [
2770
2276
  {
2771
2277
  "kind": "js",
2772
- "name": "AiIndicator",
2278
+ "name": "Accordion",
2773
2279
  "declaration": {
2774
- "name": "AiIndicator",
2775
- "module": "src/ai-indicator/ai-indicator.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2776
2282
  }
2777
2283
  },
2778
2284
  {
2779
2285
  "kind": "js",
2780
- "name": "foundationAiIndicator",
2781
- "declaration": {
2782
- "name": "foundationAiIndicator",
2783
- "module": "src/ai-indicator/ai-indicator.ts"
2784
- }
2785
- }
2786
- ]
2787
- },
2788
- {
2789
- "kind": "javascript-module",
2790
- "path": "src/ai-indicator/index.ts",
2791
- "declarations": [],
2792
- "exports": [
2793
- {
2794
- "kind": "js",
2795
- "name": "AiIndicator",
2286
+ "name": "foundationAccordionShadowOptions",
2796
2287
  "declaration": {
2797
- "name": "AiIndicator",
2798
- "module": "./ai-indicator"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2799
2290
  }
2800
2291
  },
2801
2292
  {
2802
2293
  "kind": "js",
2803
- "name": "foundationAiIndicator",
2294
+ "name": "defaultAccordionConfig",
2804
2295
  "declaration": {
2805
- "name": "foundationAiIndicator",
2806
- "module": "./ai-indicator"
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2807
2298
  }
2808
2299
  },
2809
2300
  {
2810
2301
  "kind": "js",
2811
- "name": "type",
2302
+ "name": "foundationAccordion",
2812
2303
  "declaration": {
2813
- "name": "type",
2814
- "module": "./ai-indicator"
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2815
2306
  }
2816
- },
2307
+ }
2308
+ ]
2309
+ },
2310
+ {
2311
+ "kind": "javascript-module",
2312
+ "path": "src/accordion/index.ts",
2313
+ "declarations": [],
2314
+ "exports": [
2817
2315
  {
2818
2316
  "kind": "js",
2819
- "name": "AIIndicatorState",
2317
+ "name": "*",
2820
2318
  "declaration": {
2821
- "name": "AIIndicatorState",
2822
- "module": "./ai-indicator"
2319
+ "name": "*",
2320
+ "package": "./accordion.template"
2823
2321
  }
2824
2322
  },
2825
2323
  {
2826
2324
  "kind": "js",
2827
- "name": "foundationAiIndicatorTemplate",
2325
+ "name": "*",
2828
2326
  "declaration": {
2829
- "name": "foundationAiIndicatorTemplate",
2830
- "module": "./ai-indicator.template"
2327
+ "name": "*",
2328
+ "package": "./accordion.styles"
2831
2329
  }
2832
2330
  },
2833
2331
  {
2834
2332
  "kind": "js",
2835
- "name": "foundationAiIndicatorStyles",
2333
+ "name": "*",
2836
2334
  "declaration": {
2837
- "name": "foundationAiIndicatorStyles",
2838
- "module": "./ai-indicator.styles"
2335
+ "name": "*",
2336
+ "package": "./accordion"
2839
2337
  }
2840
2338
  }
2841
2339
  ]
@@ -3352,33 +2850,567 @@
3352
2850
  "exports": [
3353
2851
  {
3354
2852
  "kind": "js",
3355
- "name": "ActionsMenu",
2853
+ "name": "ActionsMenu",
2854
+ "declaration": {
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "foundationActionsMenu",
2862
+ "declaration": {
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2865
+ }
2866
+ }
2867
+ ]
2868
+ },
2869
+ {
2870
+ "kind": "javascript-module",
2871
+ "path": "src/actions-menu/index.ts",
2872
+ "declarations": [],
2873
+ "exports": [
2874
+ {
2875
+ "kind": "js",
2876
+ "name": "*",
2877
+ "declaration": {
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2880
+ }
2881
+ },
2882
+ {
2883
+ "kind": "js",
2884
+ "name": "*",
2885
+ "declaration": {
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2888
+ }
2889
+ },
2890
+ {
2891
+ "kind": "js",
2892
+ "name": "*",
2893
+ "declaration": {
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2896
+ }
2897
+ }
2898
+ ]
2899
+ },
2900
+ {
2901
+ "kind": "javascript-module",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2903
+ "declarations": [
2904
+ {
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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2908
+ }
2909
+ ],
2910
+ "exports": [
2911
+ {
2912
+ "kind": "js",
2913
+ "name": "foundationAiCriteriaSearchStyles",
2914
+ "declaration": {
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2917
+ }
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "javascript-module",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2924
+ "declarations": [
2925
+ {
2926
+ "kind": "variable",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
2928
+ "type": {
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
2930
+ },
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2932
+ }
2933
+ ],
2934
+ "exports": [
2935
+ {
2936
+ "kind": "js",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
2938
+ "declaration": {
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2941
+ }
2942
+ }
2943
+ ]
2944
+ },
2945
+ {
2946
+ "kind": "javascript-module",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2948
+ "declarations": [
2949
+ {
2950
+ "kind": "class",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
2953
+ "members": [
2954
+ {
2955
+ "kind": "field",
2956
+ "name": "aiProvider",
2957
+ "type": {
2958
+ "text": "AIProvider"
2959
+ }
2960
+ },
2961
+ {
2962
+ "kind": "field",
2963
+ "name": "placeholder",
2964
+ "type": {
2965
+ "text": "string"
2966
+ },
2967
+ "default": "'Describe your search criteria in natural language...'"
2968
+ },
2969
+ {
2970
+ "kind": "field",
2971
+ "name": "disabled",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2979
+ "type": {
2980
+ "text": "string"
2981
+ },
2982
+ "default": "''"
2983
+ },
2984
+ {
2985
+ "kind": "field",
2986
+ "name": "isInterpreting",
2987
+ "type": {
2988
+ "text": "boolean"
2989
+ },
2990
+ "default": "false"
2991
+ },
2992
+ {
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2995
+ "type": {
2996
+ "text": "string | null"
2997
+ },
2998
+ "default": "null"
2999
+ },
3000
+ {
3001
+ "kind": "field",
3002
+ "name": "activeGroups",
3003
+ "type": {
3004
+ "text": "CriteriaGroup[]"
3005
+ },
3006
+ "default": "[]"
3007
+ },
3008
+ {
3009
+ "kind": "field",
3010
+ "name": "showingChips",
3011
+ "type": {
3012
+ "text": "boolean"
3013
+ },
3014
+ "default": "false"
3015
+ },
3016
+ {
3017
+ "kind": "field",
3018
+ "name": "fieldMetadata",
3019
+ "type": {
3020
+ "text": "MetadataDetail[] | string[]"
3021
+ },
3022
+ "default": "[]"
3023
+ },
3024
+ {
3025
+ "kind": "field",
3026
+ "name": "isRecording",
3027
+ "type": {
3028
+ "text": "boolean"
3029
+ },
3030
+ "default": "false"
3031
+ },
3032
+ {
3033
+ "kind": "field",
3034
+ "name": "textAreaRef",
3035
+ "type": {
3036
+ "text": "HTMLTextAreaElement"
3037
+ },
3038
+ "privacy": "public"
3039
+ },
3040
+ {
3041
+ "kind": "field",
3042
+ "name": "stopRecording",
3043
+ "type": {
3044
+ "text": "(() => void) | null"
3045
+ },
3046
+ "privacy": "private",
3047
+ "default": "null"
3048
+ },
3049
+ {
3050
+ "kind": "field",
3051
+ "name": "speechApplyDebounceTimer",
3052
+ "type": {
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3054
+ },
3055
+ "privacy": "private",
3056
+ "default": "null"
3057
+ },
3058
+ {
3059
+ "kind": "field",
3060
+ "name": "speechAvailable",
3061
+ "type": {
3062
+ "text": "boolean"
3063
+ },
3064
+ "readonly": true
3065
+ },
3066
+ {
3067
+ "kind": "field",
3068
+ "name": "criteriaChips",
3069
+ "type": {
3070
+ "text": "CriteriaChip[]"
3071
+ },
3072
+ "readonly": true
3073
+ },
3074
+ {
3075
+ "kind": "method",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3078
+ "return": {
3079
+ "type": {
3080
+ "text": "string"
3081
+ }
3082
+ },
3083
+ "parameters": [
3084
+ {
3085
+ "name": "fieldName",
3086
+ "type": {
3087
+ "text": "string"
3088
+ }
3089
+ }
3090
+ ]
3091
+ },
3092
+ {
3093
+ "kind": "method",
3094
+ "name": "toggleCriteriaView",
3095
+ "return": {
3096
+ "type": {
3097
+ "text": "void"
3098
+ }
3099
+ }
3100
+ },
3101
+ {
3102
+ "kind": "method",
3103
+ "name": "removeChip",
3104
+ "return": {
3105
+ "type": {
3106
+ "text": "void"
3107
+ }
3108
+ },
3109
+ "parameters": [
3110
+ {
3111
+ "name": "groupIndex",
3112
+ "type": {
3113
+ "text": "number"
3114
+ }
3115
+ },
3116
+ {
3117
+ "name": "clauseIndex",
3118
+ "type": {
3119
+ "text": "number"
3120
+ }
3121
+ }
3122
+ ]
3123
+ },
3124
+ {
3125
+ "kind": "method",
3126
+ "name": "clearChips",
3127
+ "return": {
3128
+ "type": {
3129
+ "text": "void"
3130
+ }
3131
+ }
3132
+ },
3133
+ {
3134
+ "kind": "method",
3135
+ "name": "handleSubmit"
3136
+ },
3137
+ {
3138
+ "kind": "method",
3139
+ "name": "handleBlur"
3140
+ },
3141
+ {
3142
+ "kind": "method",
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3153
+ },
3154
+ {
3155
+ "kind": "field",
3156
+ "name": "_presentation",
3157
+ "type": {
3158
+ "text": "ComponentPresentation | null | undefined"
3159
+ },
3160
+ "privacy": "private",
3161
+ "default": "void 0",
3162
+ "inheritedFrom": {
3163
+ "name": "FoundationElement",
3164
+ "module": "src/foundation-element/foundation-element.ts"
3165
+ }
3166
+ },
3167
+ {
3168
+ "kind": "field",
3169
+ "name": "$presentation",
3170
+ "type": {
3171
+ "text": "ComponentPresentation | null"
3172
+ },
3173
+ "privacy": "public",
3174
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3175
+ "inheritedFrom": {
3176
+ "name": "FoundationElement",
3177
+ "module": "src/foundation-element/foundation-element.ts"
3178
+ }
3179
+ },
3180
+ {
3181
+ "kind": "field",
3182
+ "name": "template",
3183
+ "type": {
3184
+ "text": "ElementViewTemplate | void | null"
3185
+ },
3186
+ "privacy": "public",
3187
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3188
+ "inheritedFrom": {
3189
+ "name": "FoundationElement",
3190
+ "module": "src/foundation-element/foundation-element.ts"
3191
+ }
3192
+ },
3193
+ {
3194
+ "kind": "method",
3195
+ "name": "templateChanged",
3196
+ "privacy": "protected",
3197
+ "return": {
3198
+ "type": {
3199
+ "text": "void"
3200
+ }
3201
+ },
3202
+ "inheritedFrom": {
3203
+ "name": "FoundationElement",
3204
+ "module": "src/foundation-element/foundation-element.ts"
3205
+ }
3206
+ },
3207
+ {
3208
+ "kind": "field",
3209
+ "name": "styles",
3210
+ "type": {
3211
+ "text": "ElementStyles | void | null"
3212
+ },
3213
+ "privacy": "public",
3214
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3215
+ "inheritedFrom": {
3216
+ "name": "FoundationElement",
3217
+ "module": "src/foundation-element/foundation-element.ts"
3218
+ }
3219
+ },
3220
+ {
3221
+ "kind": "method",
3222
+ "name": "stylesChanged",
3223
+ "privacy": "protected",
3224
+ "return": {
3225
+ "type": {
3226
+ "text": "void"
3227
+ }
3228
+ },
3229
+ "inheritedFrom": {
3230
+ "name": "FoundationElement",
3231
+ "module": "src/foundation-element/foundation-element.ts"
3232
+ }
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "compose",
3237
+ "privacy": "public",
3238
+ "static": true,
3239
+ "return": {
3240
+ "type": {
3241
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3242
+ }
3243
+ },
3244
+ "parameters": [
3245
+ {
3246
+ "name": "this",
3247
+ "type": {
3248
+ "text": "K"
3249
+ }
3250
+ },
3251
+ {
3252
+ "name": "elementDefinition",
3253
+ "type": {
3254
+ "text": "T"
3255
+ },
3256
+ "description": "The definition of the element to create the registry\nfunction for."
3257
+ }
3258
+ ],
3259
+ "description": "Defines an element registry function with a set of element definition defaults.",
3260
+ "inheritedFrom": {
3261
+ "name": "FoundationElement",
3262
+ "module": "src/foundation-element/foundation-element.ts"
3263
+ }
3264
+ }
3265
+ ],
3266
+ "events": [
3267
+ {
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3270
+ },
3271
+ {
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3274
+ }
3275
+ ],
3276
+ "attributes": [
3277
+ {
3278
+ "name": "placeholder",
3279
+ "type": {
3280
+ "text": "string"
3281
+ },
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3284
+ },
3285
+ {
3286
+ "type": {
3287
+ "text": "boolean"
3288
+ },
3289
+ "fieldName": "disabled"
3290
+ }
3291
+ ],
3292
+ "superclass": {
3293
+ "name": "FoundationElement",
3294
+ "package": "@microsoft/fast-foundation"
3295
+ },
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3297
+ "customElement": true
3298
+ },
3299
+ {
3300
+ "kind": "variable",
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3318
+ }
3319
+ ],
3320
+ "exports": [
3321
+ {
3322
+ "kind": "js",
3323
+ "name": "AiCriteriaSearch",
3356
3324
  "declaration": {
3357
- "name": "ActionsMenu",
3358
- "module": "src/actions-menu/actions-menu.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3359
3327
  }
3360
3328
  },
3361
3329
  {
3362
3330
  "kind": "js",
3363
- "name": "foundationActionsMenu",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3364
3332
  "declaration": {
3365
- "name": "foundationActionsMenu",
3366
- "module": "src/actions-menu/actions-menu.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
+ }
3336
+ },
3337
+ {
3338
+ "kind": "js",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3340
+ "declaration": {
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ }
3344
+ },
3345
+ {
3346
+ "kind": "js",
3347
+ "name": "foundationAiCriteriaSearch",
3348
+ "declaration": {
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3367
3351
  }
3368
3352
  }
3369
3353
  ]
3370
3354
  },
3371
3355
  {
3372
3356
  "kind": "javascript-module",
3373
- "path": "src/actions-menu/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3374
3358
  "declarations": [],
3375
3359
  "exports": [
3360
+ {
3361
+ "kind": "js",
3362
+ "name": "AiCriteriaSearch",
3363
+ "declaration": {
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3366
+ }
3367
+ },
3368
+ {
3369
+ "kind": "js",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3371
+ "declaration": {
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3374
+ }
3375
+ },
3376
+ {
3377
+ "kind": "js",
3378
+ "name": "foundationAiCriteriaSearch",
3379
+ "declaration": {
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3382
+ }
3383
+ },
3384
+ {
3385
+ "kind": "js",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3387
+ "declaration": {
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3390
+ }
3391
+ },
3392
+ {
3393
+ "kind": "js",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3395
+ "declaration": {
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "js",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3403
+ "declaration": {
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3376
3408
  {
3377
3409
  "kind": "js",
3378
3410
  "name": "*",
3379
3411
  "declaration": {
3380
3412
  "name": "*",
3381
- "package": "./actions-menu.styles"
3413
+ "package": "./validation/criteria-ir"
3382
3414
  }
3383
3415
  },
3384
3416
  {
@@ -3386,7 +3418,7 @@
3386
3418
  "name": "*",
3387
3419
  "declaration": {
3388
3420
  "name": "*",
3389
- "package": "./actions-menu.template"
3421
+ "package": "./validation/operator-map"
3390
3422
  }
3391
3423
  },
3392
3424
  {
@@ -3394,60 +3426,96 @@
3394
3426
  "name": "*",
3395
3427
  "declaration": {
3396
3428
  "name": "*",
3397
- "package": "./actions-menu"
3429
+ "package": "./validation/schema-validator"
3398
3430
  }
3399
3431
  }
3400
3432
  ]
3401
3433
  },
3402
3434
  {
3403
3435
  "kind": "javascript-module",
3404
- "path": "src/accordion/accordion.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3405
3437
  "declarations": [
3406
3438
  {
3407
3439
  "kind": "function",
3408
- "name": "foundationAccordionStyles",
3440
+ "name": "formatValidationErrors",
3409
3441
  "return": {
3410
3442
  "type": {
3411
- "text": "ElementStyles"
3443
+ "text": "string"
3412
3444
  }
3413
3445
  },
3414
3446
  "parameters": [
3415
3447
  {
3416
- "name": "context",
3448
+ "name": "errors",
3417
3449
  "type": {
3418
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3419
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3420
3471
  },
3421
3472
  {
3422
- "name": "definition",
3473
+ "name": "body",
3423
3474
  "type": {
3424
- "text": "FoundationElementDefinition"
3425
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3426
3485
  }
3427
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3428
3488
  }
3429
3489
  ],
3430
3490
  "exports": [
3431
3491
  {
3432
3492
  "kind": "js",
3433
- "name": "foundationAccordionStyles",
3493
+ "name": "formatValidationErrors",
3434
3494
  "declaration": {
3435
- "name": "foundationAccordionStyles",
3436
- "module": "src/accordion/accordion.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3437
3505
  }
3438
3506
  }
3439
3507
  ]
3440
3508
  },
3441
3509
  {
3442
3510
  "kind": "javascript-module",
3443
- "path": "src/accordion/accordion.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3444
3512
  "declarations": [
3445
3513
  {
3446
3514
  "kind": "function",
3447
- "name": "foundationAccordionTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3448
3516
  "return": {
3449
3517
  "type": {
3450
- "text": "ViewTemplate<Accordion>"
3518
+ "text": "ElementStyles"
3451
3519
  }
3452
3520
  },
3453
3521
  "parameters": [
@@ -3469,237 +3537,214 @@
3469
3537
  "exports": [
3470
3538
  {
3471
3539
  "kind": "js",
3472
- "name": "foundationAccordionTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3473
3541
  "declaration": {
3474
- "name": "foundationAccordionTemplate",
3475
- "module": "src/accordion/accordion.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3476
3544
  }
3477
3545
  }
3478
3546
  ]
3479
3547
  },
3480
3548
  {
3481
3549
  "kind": "javascript-module",
3482
- "path": "src/accordion/accordion.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3483
3575
  "declarations": [
3484
3576
  {
3485
3577
  "kind": "class",
3486
3578
  "description": "",
3487
- "name": "Accordion",
3488
- "superclass": {
3489
- "name": "FASTAccordion",
3490
- "package": "@microsoft/fast-foundation"
3491
- },
3492
- "tagName": "%%prefix%%-accordion",
3493
- "customElement": true,
3494
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3495
3581
  {
3496
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "aiProvider",
3497
3584
  "type": {
3498
- "text": "AccordionExpandMode"
3499
- },
3500
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3501
- "fieldName": "expandmode",
3502
- "inheritedFrom": {
3503
- "name": "Accordion",
3504
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProvider"
3505
3586
  }
3506
- }
3507
- ],
3508
- "members": [
3587
+ },
3509
3588
  {
3510
3589
  "kind": "field",
3511
- "name": "expandmode",
3590
+ "name": "status",
3512
3591
  "type": {
3513
- "text": "AccordionExpandMode"
3592
+ "text": "AIStatus | null"
3514
3593
  },
3515
- "privacy": "public",
3516
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3517
- "inheritedFrom": {
3518
- "name": "Accordion",
3519
- "module": "src/accordion/accordion.ts"
3520
- }
3594
+ "default": "null"
3521
3595
  },
3522
3596
  {
3523
3597
  "kind": "field",
3524
- "name": "activeid",
3598
+ "name": "open",
3525
3599
  "type": {
3526
- "text": "string | null"
3600
+ "text": "boolean"
3527
3601
  },
3528
- "privacy": "private",
3529
- "inheritedFrom": {
3530
- "name": "Accordion",
3531
- "module": "src/accordion/accordion.ts"
3532
- }
3602
+ "default": "false"
3533
3603
  },
3534
3604
  {
3535
3605
  "kind": "field",
3536
- "name": "activeItemIndex",
3606
+ "name": "state",
3537
3607
  "type": {
3538
- "text": "number"
3608
+ "text": "AIIndicatorState"
3539
3609
  },
3540
- "privacy": "private",
3541
- "default": "0",
3542
- "inheritedFrom": {
3543
- "name": "Accordion",
3544
- "module": "src/accordion/accordion.ts"
3545
- }
3610
+ "default": "'none'"
3546
3611
  },
3547
3612
  {
3548
3613
  "kind": "field",
3549
- "name": "accordionIds",
3614
+ "name": "isInstalling",
3550
3615
  "type": {
3551
- "text": "Array<string | null>"
3616
+ "text": "boolean"
3552
3617
  },
3553
- "privacy": "private",
3554
- "inheritedFrom": {
3555
- "name": "Accordion",
3556
- "module": "src/accordion/accordion.ts"
3557
- }
3618
+ "default": "false"
3558
3619
  },
3559
3620
  {
3560
3621
  "kind": "field",
3561
- "name": "change",
3622
+ "name": "pollTimer",
3623
+ "type": {
3624
+ "text": "ReturnType<typeof setInterval> | null"
3625
+ },
3562
3626
  "privacy": "private",
3563
- "inheritedFrom": {
3564
- "name": "Accordion",
3565
- "module": "src/accordion/accordion.ts"
3566
- }
3627
+ "default": "null"
3567
3628
  },
3568
3629
  {
3569
- "kind": "method",
3570
- "name": "findExpandedItem",
3571
- "privacy": "private",
3572
- "return": {
3573
- "type": {
3574
- "text": "AccordionItem | null"
3575
- }
3630
+ "kind": "field",
3631
+ "name": "clickOutside",
3632
+ "privacy": "private"
3633
+ },
3634
+ {
3635
+ "kind": "field",
3636
+ "name": "chromeStatusLabel",
3637
+ "type": {
3638
+ "text": "string | null"
3576
3639
  },
3577
- "inheritedFrom": {
3578
- "name": "Accordion",
3579
- "module": "src/accordion/accordion.ts"
3580
- }
3640
+ "readonly": true
3581
3641
  },
3582
3642
  {
3583
3643
  "kind": "field",
3584
- "name": "setItems",
3585
- "privacy": "private",
3586
- "inheritedFrom": {
3587
- "name": "Accordion",
3588
- "module": "src/accordion/accordion.ts"
3589
- }
3644
+ "name": "canInstall",
3645
+ "type": {
3646
+ "text": "boolean"
3647
+ },
3648
+ "readonly": true
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "isDownloading",
3653
+ "type": {
3654
+ "text": "boolean"
3655
+ },
3656
+ "readonly": true
3590
3657
  },
3591
3658
  {
3592
3659
  "kind": "method",
3593
- "name": "resetItems",
3594
- "privacy": "private",
3660
+ "name": "openChanged",
3595
3661
  "return": {
3596
3662
  "type": {
3597
3663
  "text": "void"
3598
3664
  }
3599
- },
3600
- "inheritedFrom": {
3601
- "name": "Accordion",
3602
- "module": "src/accordion/accordion.ts"
3603
3665
  }
3604
3666
  },
3605
3667
  {
3606
- "kind": "field",
3607
- "name": "removeItemListeners",
3668
+ "kind": "method",
3669
+ "name": "handleClickOutside",
3608
3670
  "privacy": "private",
3609
- "inheritedFrom": {
3610
- "name": "Accordion",
3611
- "module": "src/accordion/accordion.ts"
3612
- }
3671
+ "parameters": [
3672
+ {
3673
+ "name": "event",
3674
+ "type": {
3675
+ "text": "MouseEvent"
3676
+ }
3677
+ }
3678
+ ]
3613
3679
  },
3614
3680
  {
3615
- "kind": "field",
3616
- "name": "activeItemChange",
3617
- "privacy": "private",
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3681
+ "kind": "method",
3682
+ "name": "toggleDropdown"
3622
3683
  },
3623
3684
  {
3624
3685
  "kind": "method",
3625
- "name": "getItemIds",
3626
- "privacy": "private",
3686
+ "name": "refreshStatus",
3627
3687
  "return": {
3628
3688
  "type": {
3629
- "text": "Array<string | null>"
3689
+ "text": "Promise<void>"
3630
3690
  }
3631
- },
3632
- "inheritedFrom": {
3633
- "name": "Accordion",
3634
- "module": "src/accordion/accordion.ts"
3635
3691
  }
3636
3692
  },
3637
3693
  {
3638
3694
  "kind": "method",
3639
- "name": "isSingleExpandMode",
3695
+ "name": "deriveState",
3640
3696
  "privacy": "private",
3641
3697
  "return": {
3642
3698
  "type": {
3643
- "text": "boolean"
3699
+ "text": "AIIndicatorState"
3644
3700
  }
3645
3701
  },
3646
- "inheritedFrom": {
3647
- "name": "Accordion",
3648
- "module": "src/accordion/accordion.ts"
3649
- }
3702
+ "parameters": [
3703
+ {
3704
+ "name": "s",
3705
+ "type": {
3706
+ "text": "AIStatus | null"
3707
+ }
3708
+ }
3709
+ ]
3650
3710
  },
3651
3711
  {
3652
- "kind": "field",
3653
- "name": "handleItemKeyDown",
3712
+ "kind": "method",
3713
+ "name": "maybeStartPolling",
3654
3714
  "privacy": "private",
3655
- "inheritedFrom": {
3656
- "name": "Accordion",
3657
- "module": "src/accordion/accordion.ts"
3715
+ "return": {
3716
+ "type": {
3717
+ "text": "void"
3718
+ }
3658
3719
  }
3659
3720
  },
3660
3721
  {
3661
- "kind": "field",
3662
- "name": "handleItemFocus",
3722
+ "kind": "method",
3723
+ "name": "startPolling",
3663
3724
  "privacy": "private",
3664
- "inheritedFrom": {
3665
- "name": "Accordion",
3666
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3667
3729
  }
3668
3730
  },
3669
3731
  {
3670
3732
  "kind": "method",
3671
- "name": "adjust",
3733
+ "name": "stopPolling",
3672
3734
  "privacy": "private",
3673
3735
  "return": {
3674
3736
  "type": {
3675
3737
  "text": "void"
3676
3738
  }
3677
- },
3678
- "parameters": [
3679
- {
3680
- "name": "adjustment",
3681
- "type": {
3682
- "text": "number"
3683
- }
3684
- }
3685
- ],
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3689
3739
  }
3690
3740
  },
3691
3741
  {
3692
3742
  "kind": "method",
3693
- "name": "focusItem",
3694
- "privacy": "private",
3743
+ "name": "onInstall",
3695
3744
  "return": {
3696
3745
  "type": {
3697
- "text": "void"
3746
+ "text": "Promise<void>"
3698
3747
  }
3699
- },
3700
- "inheritedFrom": {
3701
- "name": "Accordion",
3702
- "module": "src/accordion/accordion.ts"
3703
3748
  }
3704
3749
  },
3705
3750
  {
@@ -3814,133 +3859,88 @@
3814
3859
  }
3815
3860
  }
3816
3861
  ],
3817
- "events": [
3818
- {
3819
- "description": "Fires a custom 'change' event when the active item changes",
3820
- "name": "change",
3821
- "inheritedFrom": {
3822
- "name": "Accordion",
3823
- "module": "src/accordion/accordion.ts"
3824
- }
3825
- }
3826
- ]
3827
- },
3828
- {
3829
- "kind": "variable",
3830
- "name": "foundationAccordionShadowOptions",
3831
- "type": {
3832
- "text": "ShadowRootInit"
3833
- },
3834
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3835
- },
3836
- {
3837
- "kind": "variable",
3838
- "name": "defaultAccordionConfig",
3839
- "type": {
3840
- "text": "object"
3862
+ "superclass": {
3863
+ "name": "FoundationElement",
3864
+ "package": "@microsoft/fast-foundation"
3841
3865
  },
3842
- "default": "{}"
3866
+ "tagName": "%%prefix%%-ai-indicator",
3867
+ "customElement": true
3843
3868
  },
3844
3869
  {
3845
3870
  "kind": "variable",
3846
- "name": "foundationAccordion",
3847
- "description": "The Foundation Accordion",
3848
- "privacy": "public"
3871
+ "name": "foundationAiIndicator"
3849
3872
  }
3850
3873
  ],
3851
3874
  "exports": [
3852
3875
  {
3853
3876
  "kind": "js",
3854
- "name": "Accordion",
3855
- "declaration": {
3856
- "name": "Accordion",
3857
- "module": "src/accordion/accordion.ts"
3858
- }
3859
- },
3860
- {
3861
- "kind": "js",
3862
- "name": "foundationAccordionShadowOptions",
3863
- "declaration": {
3864
- "name": "foundationAccordionShadowOptions",
3865
- "module": "src/accordion/accordion.ts"
3866
- }
3867
- },
3868
- {
3869
- "kind": "js",
3870
- "name": "defaultAccordionConfig",
3877
+ "name": "AiIndicator",
3871
3878
  "declaration": {
3872
- "name": "defaultAccordionConfig",
3873
- "module": "src/accordion/accordion.ts"
3879
+ "name": "AiIndicator",
3880
+ "module": "src/ai-indicator/ai-indicator.ts"
3874
3881
  }
3875
3882
  },
3876
3883
  {
3877
3884
  "kind": "js",
3878
- "name": "foundationAccordion",
3885
+ "name": "foundationAiIndicator",
3879
3886
  "declaration": {
3880
- "name": "foundationAccordion",
3881
- "module": "src/accordion/accordion.ts"
3887
+ "name": "foundationAiIndicator",
3888
+ "module": "src/ai-indicator/ai-indicator.ts"
3882
3889
  }
3883
3890
  }
3884
3891
  ]
3885
3892
  },
3886
3893
  {
3887
3894
  "kind": "javascript-module",
3888
- "path": "src/accordion/index.ts",
3895
+ "path": "src/ai-indicator/index.ts",
3889
3896
  "declarations": [],
3890
3897
  "exports": [
3891
3898
  {
3892
3899
  "kind": "js",
3893
- "name": "*",
3900
+ "name": "AiIndicator",
3894
3901
  "declaration": {
3895
- "name": "*",
3896
- "package": "./accordion.template"
3902
+ "name": "AiIndicator",
3903
+ "module": "./ai-indicator"
3897
3904
  }
3898
3905
  },
3899
3906
  {
3900
3907
  "kind": "js",
3901
- "name": "*",
3908
+ "name": "foundationAiIndicator",
3902
3909
  "declaration": {
3903
- "name": "*",
3904
- "package": "./accordion.styles"
3910
+ "name": "foundationAiIndicator",
3911
+ "module": "./ai-indicator"
3905
3912
  }
3906
3913
  },
3907
3914
  {
3908
3915
  "kind": "js",
3909
- "name": "*",
3916
+ "name": "type",
3910
3917
  "declaration": {
3911
- "name": "*",
3912
- "package": "./accordion"
3918
+ "name": "type",
3919
+ "module": "./ai-indicator"
3913
3920
  }
3914
- }
3915
- ]
3916
- },
3917
- {
3918
- "kind": "javascript-module",
3919
- "path": "src/_config/index.ts",
3920
- "declarations": [],
3921
- "exports": [
3921
+ },
3922
3922
  {
3923
3923
  "kind": "js",
3924
- "name": "*",
3924
+ "name": "AIIndicatorState",
3925
3925
  "declaration": {
3926
- "name": "*",
3927
- "package": "./styles"
3926
+ "name": "AIIndicatorState",
3927
+ "module": "./ai-indicator"
3928
3928
  }
3929
3929
  },
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "*",
3932
+ "name": "foundationAiIndicatorTemplate",
3933
3933
  "declaration": {
3934
- "name": "*",
3935
- "package": "./tokens"
3934
+ "name": "foundationAiIndicatorTemplate",
3935
+ "module": "./ai-indicator.template"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "*",
3940
+ "name": "foundationAiIndicatorStyles",
3941
3941
  "declaration": {
3942
- "name": "*",
3943
- "package": "./values"
3942
+ "name": "foundationAiIndicatorStyles",
3943
+ "module": "./ai-indicator.styles"
3944
3944
  }
3945
3945
  }
3946
3946
  ]
@@ -56527,197 +56527,6 @@
56527
56527
  }
56528
56528
  ]
56529
56529
  },
56530
- {
56531
- "kind": "javascript-module",
56532
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
56533
- "declarations": [],
56534
- "exports": []
56535
- },
56536
- {
56537
- "kind": "javascript-module",
56538
- "path": "src/ai-criteria-search/validation/operator-map.ts",
56539
- "declarations": [
56540
- {
56541
- "kind": "function",
56542
- "name": "groupsToCriteria",
56543
- "return": {
56544
- "type": {
56545
- "text": "string"
56546
- }
56547
- },
56548
- "parameters": [
56549
- {
56550
- "name": "groups",
56551
- "type": {
56552
- "text": "CriteriaGroup[]"
56553
- }
56554
- }
56555
- ],
56556
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
56557
- },
56558
- {
56559
- "kind": "variable",
56560
- "name": "STRING_OPERATORS",
56561
- "type": {
56562
- "text": "CriteriaOperator[]"
56563
- },
56564
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
56565
- },
56566
- {
56567
- "kind": "variable",
56568
- "name": "NUMERIC_OPERATORS",
56569
- "type": {
56570
- "text": "CriteriaOperator[]"
56571
- },
56572
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
56573
- },
56574
- {
56575
- "kind": "variable",
56576
- "name": "DATE_OPERATORS",
56577
- "type": {
56578
- "text": "CriteriaOperator[]"
56579
- },
56580
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
56581
- },
56582
- {
56583
- "kind": "variable",
56584
- "name": "DATETIME_OPERATORS",
56585
- "type": {
56586
- "text": "CriteriaOperator[]"
56587
- },
56588
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
56589
- },
56590
- {
56591
- "kind": "variable",
56592
- "name": "OPERATOR_DISPLAY_LABEL",
56593
- "type": {
56594
- "text": "Record<CriteriaOperator, string>"
56595
- },
56596
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
56597
- }
56598
- ],
56599
- "exports": [
56600
- {
56601
- "kind": "js",
56602
- "name": "groupsToCriteria",
56603
- "declaration": {
56604
- "name": "groupsToCriteria",
56605
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56606
- }
56607
- },
56608
- {
56609
- "kind": "js",
56610
- "name": "STRING_OPERATORS",
56611
- "declaration": {
56612
- "name": "STRING_OPERATORS",
56613
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56614
- }
56615
- },
56616
- {
56617
- "kind": "js",
56618
- "name": "NUMERIC_OPERATORS",
56619
- "declaration": {
56620
- "name": "NUMERIC_OPERATORS",
56621
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56622
- }
56623
- },
56624
- {
56625
- "kind": "js",
56626
- "name": "DATE_OPERATORS",
56627
- "declaration": {
56628
- "name": "DATE_OPERATORS",
56629
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56630
- }
56631
- },
56632
- {
56633
- "kind": "js",
56634
- "name": "DATETIME_OPERATORS",
56635
- "declaration": {
56636
- "name": "DATETIME_OPERATORS",
56637
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56638
- }
56639
- },
56640
- {
56641
- "kind": "js",
56642
- "name": "OPERATOR_DISPLAY_LABEL",
56643
- "declaration": {
56644
- "name": "OPERATOR_DISPLAY_LABEL",
56645
- "module": "src/ai-criteria-search/validation/operator-map.ts"
56646
- }
56647
- }
56648
- ]
56649
- },
56650
- {
56651
- "kind": "javascript-module",
56652
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
56653
- "declarations": [
56654
- {
56655
- "kind": "function",
56656
- "name": "validateClauses",
56657
- "return": {
56658
- "type": {
56659
- "text": "ValidationResult"
56660
- }
56661
- },
56662
- "parameters": [
56663
- {
56664
- "name": "clauses",
56665
- "type": {
56666
- "text": "CriteriaClause[]"
56667
- }
56668
- },
56669
- {
56670
- "name": "fieldMetadata",
56671
- "type": {
56672
- "text": "MetadataDetail[] | string[]"
56673
- }
56674
- }
56675
- ]
56676
- },
56677
- {
56678
- "kind": "function",
56679
- "name": "validateGroups",
56680
- "return": {
56681
- "type": {
56682
- "text": "GroupsValidationResult"
56683
- }
56684
- },
56685
- "parameters": [
56686
- {
56687
- "name": "groups",
56688
- "type": {
56689
- "text": "CriteriaGroup[]"
56690
- }
56691
- },
56692
- {
56693
- "name": "fieldMetadata",
56694
- "type": {
56695
- "text": "MetadataDetail[] | string[]"
56696
- }
56697
- }
56698
- ],
56699
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56700
- }
56701
- ],
56702
- "exports": [
56703
- {
56704
- "kind": "js",
56705
- "name": "validateClauses",
56706
- "declaration": {
56707
- "name": "validateClauses",
56708
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56709
- }
56710
- },
56711
- {
56712
- "kind": "js",
56713
- "name": "validateGroups",
56714
- "declaration": {
56715
- "name": "validateGroups",
56716
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
56717
- }
56718
- }
56719
- ]
56720
- },
56721
56530
  {
56722
56531
  "kind": "javascript-module",
56723
56532
  "path": "src/_config/styles/colors.ts",
@@ -58090,6 +57899,197 @@
58090
57899
  "declarations": [],
58091
57900
  "exports": []
58092
57901
  },
57902
+ {
57903
+ "kind": "javascript-module",
57904
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57905
+ "declarations": [],
57906
+ "exports": []
57907
+ },
57908
+ {
57909
+ "kind": "javascript-module",
57910
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57911
+ "declarations": [
57912
+ {
57913
+ "kind": "function",
57914
+ "name": "groupsToCriteria",
57915
+ "return": {
57916
+ "type": {
57917
+ "text": "string"
57918
+ }
57919
+ },
57920
+ "parameters": [
57921
+ {
57922
+ "name": "groups",
57923
+ "type": {
57924
+ "text": "CriteriaGroup[]"
57925
+ }
57926
+ }
57927
+ ],
57928
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57929
+ },
57930
+ {
57931
+ "kind": "variable",
57932
+ "name": "STRING_OPERATORS",
57933
+ "type": {
57934
+ "text": "CriteriaOperator[]"
57935
+ },
57936
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57937
+ },
57938
+ {
57939
+ "kind": "variable",
57940
+ "name": "NUMERIC_OPERATORS",
57941
+ "type": {
57942
+ "text": "CriteriaOperator[]"
57943
+ },
57944
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57945
+ },
57946
+ {
57947
+ "kind": "variable",
57948
+ "name": "DATE_OPERATORS",
57949
+ "type": {
57950
+ "text": "CriteriaOperator[]"
57951
+ },
57952
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57953
+ },
57954
+ {
57955
+ "kind": "variable",
57956
+ "name": "DATETIME_OPERATORS",
57957
+ "type": {
57958
+ "text": "CriteriaOperator[]"
57959
+ },
57960
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57961
+ },
57962
+ {
57963
+ "kind": "variable",
57964
+ "name": "OPERATOR_DISPLAY_LABEL",
57965
+ "type": {
57966
+ "text": "Record<CriteriaOperator, string>"
57967
+ },
57968
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57969
+ }
57970
+ ],
57971
+ "exports": [
57972
+ {
57973
+ "kind": "js",
57974
+ "name": "groupsToCriteria",
57975
+ "declaration": {
57976
+ "name": "groupsToCriteria",
57977
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57978
+ }
57979
+ },
57980
+ {
57981
+ "kind": "js",
57982
+ "name": "STRING_OPERATORS",
57983
+ "declaration": {
57984
+ "name": "STRING_OPERATORS",
57985
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57986
+ }
57987
+ },
57988
+ {
57989
+ "kind": "js",
57990
+ "name": "NUMERIC_OPERATORS",
57991
+ "declaration": {
57992
+ "name": "NUMERIC_OPERATORS",
57993
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57994
+ }
57995
+ },
57996
+ {
57997
+ "kind": "js",
57998
+ "name": "DATE_OPERATORS",
57999
+ "declaration": {
58000
+ "name": "DATE_OPERATORS",
58001
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58002
+ }
58003
+ },
58004
+ {
58005
+ "kind": "js",
58006
+ "name": "DATETIME_OPERATORS",
58007
+ "declaration": {
58008
+ "name": "DATETIME_OPERATORS",
58009
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58010
+ }
58011
+ },
58012
+ {
58013
+ "kind": "js",
58014
+ "name": "OPERATOR_DISPLAY_LABEL",
58015
+ "declaration": {
58016
+ "name": "OPERATOR_DISPLAY_LABEL",
58017
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58018
+ }
58019
+ }
58020
+ ]
58021
+ },
58022
+ {
58023
+ "kind": "javascript-module",
58024
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
58025
+ "declarations": [
58026
+ {
58027
+ "kind": "function",
58028
+ "name": "validateClauses",
58029
+ "return": {
58030
+ "type": {
58031
+ "text": "ValidationResult"
58032
+ }
58033
+ },
58034
+ "parameters": [
58035
+ {
58036
+ "name": "clauses",
58037
+ "type": {
58038
+ "text": "CriteriaClause[]"
58039
+ }
58040
+ },
58041
+ {
58042
+ "name": "fieldMetadata",
58043
+ "type": {
58044
+ "text": "MetadataDetail[] | string[]"
58045
+ }
58046
+ }
58047
+ ]
58048
+ },
58049
+ {
58050
+ "kind": "function",
58051
+ "name": "validateGroups",
58052
+ "return": {
58053
+ "type": {
58054
+ "text": "GroupsValidationResult"
58055
+ }
58056
+ },
58057
+ "parameters": [
58058
+ {
58059
+ "name": "groups",
58060
+ "type": {
58061
+ "text": "CriteriaGroup[]"
58062
+ }
58063
+ },
58064
+ {
58065
+ "name": "fieldMetadata",
58066
+ "type": {
58067
+ "text": "MetadataDetail[] | string[]"
58068
+ }
58069
+ }
58070
+ ],
58071
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58072
+ }
58073
+ ],
58074
+ "exports": [
58075
+ {
58076
+ "kind": "js",
58077
+ "name": "validateClauses",
58078
+ "declaration": {
58079
+ "name": "validateClauses",
58080
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58081
+ }
58082
+ },
58083
+ {
58084
+ "kind": "js",
58085
+ "name": "validateGroups",
58086
+ "declaration": {
58087
+ "name": "validateGroups",
58088
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58089
+ }
58090
+ }
58091
+ ]
58092
+ },
58093
58093
  {
58094
58094
  "kind": "javascript-module",
58095
58095
  "path": "src/environment-indicator/utils/configure.ts",