@genesislcap/foundation-ui 14.474.0 → 14.474.2-alpha-9a473cd.0

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/actions-menu/actions-menu.styles.ts",
@@ -1959,186 +1990,258 @@
1959
1990
  },
1960
1991
  {
1961
1992
  "kind": "javascript-module",
1962
- "path": "src/accordion-item/accordion-item.styles.ts",
1993
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1963
1994
  "declarations": [
1964
1995
  {
1965
- "kind": "function",
1966
- "name": "foundationAccordionItemStyles",
1967
- "return": {
1968
- "type": {
1969
- "text": "ElementStyles"
1970
- }
1971
- },
1972
- "parameters": [
1973
- {
1974
- "name": "context",
1975
- "type": {
1976
- "text": "ElementDefinitionContext"
1977
- }
1978
- },
1979
- {
1980
- "name": "definition",
1981
- "type": {
1982
- "text": "FoundationElementDefinition"
1983
- }
1984
- }
1985
- ]
1996
+ "kind": "variable",
1997
+ "name": "foundationAiCriteriaSearchStyles",
1998
+ "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`"
1986
1999
  }
1987
2000
  ],
1988
2001
  "exports": [
1989
2002
  {
1990
2003
  "kind": "js",
1991
- "name": "foundationAccordionItemStyles",
2004
+ "name": "foundationAiCriteriaSearchStyles",
1992
2005
  "declaration": {
1993
- "name": "foundationAccordionItemStyles",
1994
- "module": "src/accordion-item/accordion-item.styles.ts"
2006
+ "name": "foundationAiCriteriaSearchStyles",
2007
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1995
2008
  }
1996
2009
  }
1997
2010
  ]
1998
2011
  },
1999
2012
  {
2000
2013
  "kind": "javascript-module",
2001
- "path": "src/accordion-item/accordion-item.template.ts",
2014
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2002
2015
  "declarations": [
2003
2016
  {
2004
- "kind": "function",
2005
- "name": "foundationAccordionItemTemplate",
2006
- "return": {
2007
- "type": {
2008
- "text": "ViewTemplate<AccordionItem>"
2009
- }
2017
+ "kind": "variable",
2018
+ "name": "foundationAiCriteriaSearchTemplate",
2019
+ "type": {
2020
+ "text": "ViewTemplate<AiCriteriaSearch>"
2010
2021
  },
2011
- "parameters": [
2012
- {
2013
- "name": "context",
2014
- "type": {
2015
- "text": "ElementDefinitionContext"
2016
- }
2017
- },
2018
- {
2019
- "name": "definition",
2020
- "type": {
2021
- "text": "FoundationElementDefinition"
2022
- }
2023
- }
2024
- ]
2022
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2025
2023
  }
2026
2024
  ],
2027
2025
  "exports": [
2028
2026
  {
2029
2027
  "kind": "js",
2030
- "name": "foundationAccordionItemTemplate",
2028
+ "name": "foundationAiCriteriaSearchTemplate",
2031
2029
  "declaration": {
2032
- "name": "foundationAccordionItemTemplate",
2033
- "module": "src/accordion-item/accordion-item.template.ts"
2030
+ "name": "foundationAiCriteriaSearchTemplate",
2031
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2034
2032
  }
2035
2033
  }
2036
2034
  ]
2037
2035
  },
2038
2036
  {
2039
2037
  "kind": "javascript-module",
2040
- "path": "src/accordion-item/accordion-item.ts",
2038
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2041
2039
  "declarations": [
2042
2040
  {
2043
2041
  "kind": "class",
2044
- "description": "",
2045
- "name": "AccordionItem",
2046
- "superclass": {
2047
- "name": "FASTAccordionItem",
2048
- "package": "@microsoft/fast-components"
2049
- },
2050
- "tagName": "%%prefix%%-accordion-item",
2051
- "customElement": true,
2052
- "attributes": [
2042
+ "description": "Natural-language criteria search input with AI interpretation.",
2043
+ "name": "AiCriteriaSearch",
2044
+ "members": [
2053
2045
  {
2054
- "name": "heading-level",
2046
+ "kind": "field",
2047
+ "name": "providerRegistry",
2055
2048
  "type": {
2056
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2057
- },
2058
- "default": "2",
2059
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2060
- "fieldName": "headinglevel",
2061
- "inheritedFrom": {
2062
- "name": "AccordionItem",
2063
- "module": "src/accordion-item/accordion-item.ts"
2049
+ "text": "AIProviderRegistry"
2064
2050
  }
2065
2051
  },
2066
2052
  {
2053
+ "kind": "field",
2054
+ "name": "placeholder",
2067
2055
  "type": {
2068
- "text": "boolean"
2056
+ "text": "string"
2069
2057
  },
2070
- "default": "false",
2071
- "description": "Expands or collapses the item.",
2072
- "fieldName": "expanded",
2073
- "inheritedFrom": {
2074
- "name": "AccordionItem",
2075
- "module": "src/accordion-item/accordion-item.ts"
2058
+ "default": "'Describe your search criteria in natural language...'"
2059
+ },
2060
+ {
2061
+ "kind": "field",
2062
+ "name": "disabled",
2063
+ "type": {
2064
+ "text": "boolean"
2076
2065
  }
2077
2066
  },
2078
2067
  {
2079
- "name": "id",
2068
+ "kind": "field",
2069
+ "name": "inputValue",
2080
2070
  "type": {
2081
2071
  "text": "string"
2082
2072
  },
2083
- "description": "The item ID",
2084
- "fieldName": "id",
2085
- "inheritedFrom": {
2086
- "name": "AccordionItem",
2087
- "module": "src/accordion-item/accordion-item.ts"
2088
- }
2089
- }
2090
- ],
2091
- "members": [
2073
+ "default": "''"
2074
+ },
2092
2075
  {
2093
2076
  "kind": "field",
2094
- "name": "headinglevel",
2077
+ "name": "isInterpreting",
2095
2078
  "type": {
2096
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2079
+ "text": "boolean"
2097
2080
  },
2098
- "privacy": "public",
2099
- "default": "2",
2100
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2101
- "inheritedFrom": {
2102
- "name": "AccordionItem",
2103
- "module": "src/accordion-item/accordion-item.ts"
2104
- }
2081
+ "default": "false"
2105
2082
  },
2106
2083
  {
2107
2084
  "kind": "field",
2108
- "name": "expanded",
2085
+ "name": "lastValidCriteria",
2086
+ "type": {
2087
+ "text": "string | null"
2088
+ },
2089
+ "default": "null"
2090
+ },
2091
+ {
2092
+ "kind": "field",
2093
+ "name": "activeGroups",
2094
+ "type": {
2095
+ "text": "CriteriaGroup[]"
2096
+ },
2097
+ "default": "[]"
2098
+ },
2099
+ {
2100
+ "kind": "field",
2101
+ "name": "showingChips",
2109
2102
  "type": {
2110
2103
  "text": "boolean"
2111
2104
  },
2112
- "privacy": "public",
2113
- "default": "false",
2114
- "description": "Expands or collapses the item.",
2115
- "inheritedFrom": {
2116
- "name": "AccordionItem",
2117
- "module": "src/accordion-item/accordion-item.ts"
2118
- }
2105
+ "default": "false"
2119
2106
  },
2120
2107
  {
2121
2108
  "kind": "field",
2122
- "name": "id",
2109
+ "name": "fieldMetadata",
2123
2110
  "type": {
2124
- "text": "string"
2111
+ "text": "MetadataDetail[] | string[]"
2125
2112
  },
2126
- "privacy": "public",
2127
- "description": "The item ID",
2128
- "inheritedFrom": {
2129
- "name": "AccordionItem",
2130
- "module": "src/accordion-item/accordion-item.ts"
2131
- }
2113
+ "default": "[]"
2132
2114
  },
2133
2115
  {
2134
2116
  "kind": "field",
2135
- "name": "change",
2117
+ "name": "isRecording",
2118
+ "type": {
2119
+ "text": "boolean"
2120
+ },
2121
+ "default": "false"
2122
+ },
2123
+ {
2124
+ "kind": "field",
2125
+ "name": "textAreaRef",
2126
+ "type": {
2127
+ "text": "HTMLTextAreaElement"
2128
+ },
2129
+ "privacy": "public"
2130
+ },
2131
+ {
2132
+ "kind": "field",
2133
+ "name": "stopRecording",
2134
+ "type": {
2135
+ "text": "(() => void) | null"
2136
+ },
2136
2137
  "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "AccordionItem",
2139
- "module": "src/accordion-item/accordion-item.ts"
2138
+ "default": "null"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "speechApplyDebounceTimer",
2143
+ "type": {
2144
+ "text": "ReturnType<typeof setTimeout> | null"
2145
+ },
2146
+ "privacy": "private",
2147
+ "default": "null"
2148
+ },
2149
+ {
2150
+ "kind": "field",
2151
+ "name": "speechAvailable",
2152
+ "type": {
2153
+ "text": "boolean"
2154
+ },
2155
+ "readonly": true
2156
+ },
2157
+ {
2158
+ "kind": "field",
2159
+ "name": "criteriaChips",
2160
+ "type": {
2161
+ "text": "CriteriaChip[]"
2162
+ },
2163
+ "readonly": true
2164
+ },
2165
+ {
2166
+ "kind": "method",
2167
+ "name": "getFieldLabel",
2168
+ "privacy": "private",
2169
+ "return": {
2170
+ "type": {
2171
+ "text": "string"
2172
+ }
2173
+ },
2174
+ "parameters": [
2175
+ {
2176
+ "name": "fieldName",
2177
+ "type": {
2178
+ "text": "string"
2179
+ }
2180
+ }
2181
+ ]
2182
+ },
2183
+ {
2184
+ "kind": "method",
2185
+ "name": "toggleCriteriaView",
2186
+ "return": {
2187
+ "type": {
2188
+ "text": "void"
2189
+ }
2190
+ }
2191
+ },
2192
+ {
2193
+ "kind": "method",
2194
+ "name": "removeChip",
2195
+ "return": {
2196
+ "type": {
2197
+ "text": "void"
2198
+ }
2199
+ },
2200
+ "parameters": [
2201
+ {
2202
+ "name": "groupIndex",
2203
+ "type": {
2204
+ "text": "number"
2205
+ }
2206
+ },
2207
+ {
2208
+ "name": "clauseIndex",
2209
+ "type": {
2210
+ "text": "number"
2211
+ }
2212
+ }
2213
+ ]
2214
+ },
2215
+ {
2216
+ "kind": "method",
2217
+ "name": "clearChips",
2218
+ "return": {
2219
+ "type": {
2220
+ "text": "void"
2221
+ }
2140
2222
  }
2141
2223
  },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "handleSubmit"
2227
+ },
2228
+ {
2229
+ "kind": "method",
2230
+ "name": "handleBlur"
2231
+ },
2232
+ {
2233
+ "kind": "method",
2234
+ "name": "clear"
2235
+ },
2236
+ {
2237
+ "kind": "method",
2238
+ "name": "toggleSpeechInput"
2239
+ },
2240
+ {
2241
+ "kind": "method",
2242
+ "name": "clearSpeechApplyDebounce",
2243
+ "privacy": "private"
2244
+ },
2142
2245
  {
2143
2246
  "kind": "field",
2144
2247
  "name": "_presentation",
@@ -2253,84 +2356,152 @@
2253
2356
  ],
2254
2357
  "events": [
2255
2358
  {
2256
- "description": "Fires a custom 'change' event when the button is invoked",
2257
- "name": "change",
2258
- "inheritedFrom": {
2259
- "name": "AccordionItem",
2260
- "module": "src/accordion-item/accordion-item.ts"
2261
- }
2359
+ "description": "Fired when interpreted criteria is applied or cleared",
2360
+ "name": "criteria-changed"
2361
+ },
2362
+ {
2363
+ "description": "Fired when interpreted criteria contains invalid clauses",
2364
+ "name": "validation-errors"
2262
2365
  }
2263
- ]
2366
+ ],
2367
+ "attributes": [
2368
+ {
2369
+ "name": "placeholder",
2370
+ "type": {
2371
+ "text": "string"
2372
+ },
2373
+ "default": "'Describe your search criteria in natural language...'",
2374
+ "fieldName": "placeholder"
2375
+ },
2376
+ {
2377
+ "type": {
2378
+ "text": "boolean"
2379
+ },
2380
+ "fieldName": "disabled"
2381
+ }
2382
+ ],
2383
+ "superclass": {
2384
+ "name": "FoundationElement",
2385
+ "package": "@microsoft/fast-foundation"
2386
+ },
2387
+ "tagName": "%%prefix%%-ai-criteria-search",
2388
+ "customElement": true
2264
2389
  },
2265
2390
  {
2266
2391
  "kind": "variable",
2267
- "name": "foundationAccordionItemShadowOptions",
2392
+ "name": "foundationAiCriteriaSearchShadowOptions",
2268
2393
  "type": {
2269
2394
  "text": "ShadowRootInit"
2270
2395
  },
2271
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2396
+ "default": "undefined"
2272
2397
  },
2273
2398
  {
2274
2399
  "kind": "variable",
2275
- "name": "defaultAccordionItemConfig",
2400
+ "name": "defaultAiCriteriaSearchConfig",
2276
2401
  "type": {
2277
2402
  "text": "object"
2278
2403
  },
2279
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2404
+ "default": "{}"
2280
2405
  },
2281
2406
  {
2282
2407
  "kind": "variable",
2283
- "name": "foundationAccordionItem",
2284
- "description": "The Foundation Accordion Item",
2285
- "privacy": "public"
2408
+ "name": "foundationAiCriteriaSearch"
2286
2409
  }
2287
2410
  ],
2288
2411
  "exports": [
2289
2412
  {
2290
2413
  "kind": "js",
2291
- "name": "AccordionItem",
2414
+ "name": "AiCriteriaSearch",
2292
2415
  "declaration": {
2293
- "name": "AccordionItem",
2294
- "module": "src/accordion-item/accordion-item.ts"
2416
+ "name": "AiCriteriaSearch",
2417
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2295
2418
  }
2296
2419
  },
2297
2420
  {
2298
2421
  "kind": "js",
2299
- "name": "foundationAccordionItemShadowOptions",
2422
+ "name": "foundationAiCriteriaSearchShadowOptions",
2300
2423
  "declaration": {
2301
- "name": "foundationAccordionItemShadowOptions",
2302
- "module": "src/accordion-item/accordion-item.ts"
2424
+ "name": "foundationAiCriteriaSearchShadowOptions",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2303
2426
  }
2304
2427
  },
2305
2428
  {
2306
2429
  "kind": "js",
2307
- "name": "defaultAccordionItemConfig",
2430
+ "name": "defaultAiCriteriaSearchConfig",
2308
2431
  "declaration": {
2309
- "name": "defaultAccordionItemConfig",
2310
- "module": "src/accordion-item/accordion-item.ts"
2432
+ "name": "defaultAiCriteriaSearchConfig",
2433
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2311
2434
  }
2312
2435
  },
2313
2436
  {
2314
2437
  "kind": "js",
2315
- "name": "foundationAccordionItem",
2438
+ "name": "foundationAiCriteriaSearch",
2316
2439
  "declaration": {
2317
- "name": "foundationAccordionItem",
2318
- "module": "src/accordion-item/accordion-item.ts"
2440
+ "name": "foundationAiCriteriaSearch",
2441
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2319
2442
  }
2320
2443
  }
2321
2444
  ]
2322
2445
  },
2323
2446
  {
2324
2447
  "kind": "javascript-module",
2325
- "path": "src/accordion-item/index.ts",
2448
+ "path": "src/ai-criteria-search/index.ts",
2326
2449
  "declarations": [],
2327
2450
  "exports": [
2451
+ {
2452
+ "kind": "js",
2453
+ "name": "AiCriteriaSearch",
2454
+ "declaration": {
2455
+ "name": "AiCriteriaSearch",
2456
+ "module": "./ai-criteria-search"
2457
+ }
2458
+ },
2459
+ {
2460
+ "kind": "js",
2461
+ "name": "defaultAiCriteriaSearchConfig",
2462
+ "declaration": {
2463
+ "name": "defaultAiCriteriaSearchConfig",
2464
+ "module": "./ai-criteria-search"
2465
+ }
2466
+ },
2467
+ {
2468
+ "kind": "js",
2469
+ "name": "foundationAiCriteriaSearch",
2470
+ "declaration": {
2471
+ "name": "foundationAiCriteriaSearch",
2472
+ "module": "./ai-criteria-search"
2473
+ }
2474
+ },
2475
+ {
2476
+ "kind": "js",
2477
+ "name": "foundationAiCriteriaSearchShadowOptions",
2478
+ "declaration": {
2479
+ "name": "foundationAiCriteriaSearchShadowOptions",
2480
+ "module": "./ai-criteria-search"
2481
+ }
2482
+ },
2483
+ {
2484
+ "kind": "js",
2485
+ "name": "foundationAiCriteriaSearchStyles",
2486
+ "declaration": {
2487
+ "name": "foundationAiCriteriaSearchStyles",
2488
+ "module": "./ai-criteria-search.styles"
2489
+ }
2490
+ },
2491
+ {
2492
+ "kind": "js",
2493
+ "name": "foundationAiCriteriaSearchTemplate",
2494
+ "declaration": {
2495
+ "name": "foundationAiCriteriaSearchTemplate",
2496
+ "module": "./ai-criteria-search.template"
2497
+ }
2498
+ },
2328
2499
  {
2329
2500
  "kind": "js",
2330
2501
  "name": "*",
2331
2502
  "declaration": {
2332
2503
  "name": "*",
2333
- "package": "./accordion-item.template"
2504
+ "package": "./validation/criteria-ir"
2334
2505
  }
2335
2506
  },
2336
2507
  {
@@ -2338,7 +2509,7 @@
2338
2509
  "name": "*",
2339
2510
  "declaration": {
2340
2511
  "name": "*",
2341
- "package": "./accordion-item.styles"
2512
+ "package": "./validation/operator-map"
2342
2513
  }
2343
2514
  },
2344
2515
  {
@@ -2346,18 +2517,93 @@
2346
2517
  "name": "*",
2347
2518
  "declaration": {
2348
2519
  "name": "*",
2349
- "package": "./accordion-item"
2520
+ "package": "./validation/schema-validator"
2350
2521
  }
2351
2522
  }
2352
2523
  ]
2353
2524
  },
2354
2525
  {
2355
2526
  "kind": "javascript-module",
2356
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2527
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2357
2528
  "declarations": [
2358
2529
  {
2359
2530
  "kind": "function",
2360
- "name": "foundationAiIndicatorStyles",
2531
+ "name": "formatValidationErrors",
2532
+ "return": {
2533
+ "type": {
2534
+ "text": "string"
2535
+ }
2536
+ },
2537
+ "parameters": [
2538
+ {
2539
+ "name": "errors",
2540
+ "type": {
2541
+ "text": "ValidationError[]"
2542
+ }
2543
+ }
2544
+ ],
2545
+ "description": "Formats validation errors into a user-friendly message."
2546
+ },
2547
+ {
2548
+ "kind": "function",
2549
+ "name": "showCriteriaError",
2550
+ "return": {
2551
+ "type": {
2552
+ "text": "void"
2553
+ }
2554
+ },
2555
+ "parameters": [
2556
+ {
2557
+ "name": "title",
2558
+ "type": {
2559
+ "text": "string"
2560
+ },
2561
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2562
+ },
2563
+ {
2564
+ "name": "body",
2565
+ "type": {
2566
+ "text": "string"
2567
+ },
2568
+ "description": "Error message to display"
2569
+ },
2570
+ {
2571
+ "name": "tagName",
2572
+ "type": {
2573
+ "text": "string"
2574
+ },
2575
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2576
+ }
2577
+ ],
2578
+ "description": "Shows a criteria error as a toast notification."
2579
+ }
2580
+ ],
2581
+ "exports": [
2582
+ {
2583
+ "kind": "js",
2584
+ "name": "formatValidationErrors",
2585
+ "declaration": {
2586
+ "name": "formatValidationErrors",
2587
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2588
+ }
2589
+ },
2590
+ {
2591
+ "kind": "js",
2592
+ "name": "showCriteriaError",
2593
+ "declaration": {
2594
+ "name": "showCriteriaError",
2595
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2596
+ }
2597
+ }
2598
+ ]
2599
+ },
2600
+ {
2601
+ "kind": "javascript-module",
2602
+ "path": "src/accordion-item/accordion-item.styles.ts",
2603
+ "declarations": [
2604
+ {
2605
+ "kind": "function",
2606
+ "name": "foundationAccordionItemStyles",
2361
2607
  "return": {
2362
2608
  "type": {
2363
2609
  "text": "ElementStyles"
@@ -2382,224 +2628,155 @@
2382
2628
  "exports": [
2383
2629
  {
2384
2630
  "kind": "js",
2385
- "name": "foundationAiIndicatorStyles",
2631
+ "name": "foundationAccordionItemStyles",
2386
2632
  "declaration": {
2387
- "name": "foundationAiIndicatorStyles",
2388
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2633
+ "name": "foundationAccordionItemStyles",
2634
+ "module": "src/accordion-item/accordion-item.styles.ts"
2389
2635
  }
2390
2636
  }
2391
2637
  ]
2392
2638
  },
2393
2639
  {
2394
2640
  "kind": "javascript-module",
2395
- "path": "src/ai-indicator/ai-indicator.template.ts",
2641
+ "path": "src/accordion-item/accordion-item.template.ts",
2396
2642
  "declarations": [
2397
2643
  {
2398
- "kind": "variable",
2399
- "name": "foundationAiIndicatorTemplate",
2400
- "type": {
2401
- "text": "ViewTemplate<AiIndicator>"
2644
+ "kind": "function",
2645
+ "name": "foundationAccordionItemTemplate",
2646
+ "return": {
2647
+ "type": {
2648
+ "text": "ViewTemplate<AccordionItem>"
2649
+ }
2402
2650
  },
2403
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2651
+ "parameters": [
2652
+ {
2653
+ "name": "context",
2654
+ "type": {
2655
+ "text": "ElementDefinitionContext"
2656
+ }
2657
+ },
2658
+ {
2659
+ "name": "definition",
2660
+ "type": {
2661
+ "text": "FoundationElementDefinition"
2662
+ }
2663
+ }
2664
+ ]
2404
2665
  }
2405
2666
  ],
2406
2667
  "exports": [
2407
2668
  {
2408
2669
  "kind": "js",
2409
- "name": "foundationAiIndicatorTemplate",
2670
+ "name": "foundationAccordionItemTemplate",
2410
2671
  "declaration": {
2411
- "name": "foundationAiIndicatorTemplate",
2412
- "module": "src/ai-indicator/ai-indicator.template.ts"
2672
+ "name": "foundationAccordionItemTemplate",
2673
+ "module": "src/accordion-item/accordion-item.template.ts"
2413
2674
  }
2414
2675
  }
2415
2676
  ]
2416
2677
  },
2417
2678
  {
2418
2679
  "kind": "javascript-module",
2419
- "path": "src/ai-indicator/ai-indicator.ts",
2680
+ "path": "src/accordion-item/accordion-item.ts",
2420
2681
  "declarations": [
2421
2682
  {
2422
2683
  "kind": "class",
2423
2684
  "description": "",
2424
- "name": "AiIndicator",
2425
- "members": [
2426
- {
2427
- "kind": "field",
2428
- "name": "providerRegistry",
2429
- "type": {
2430
- "text": "AIProviderRegistry"
2431
- }
2432
- },
2433
- {
2434
- "kind": "field",
2435
- "name": "aiProvider",
2436
- "type": {
2437
- "text": "AIProvider | undefined"
2438
- },
2439
- "privacy": "private",
2440
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2441
- "readonly": true
2442
- },
2443
- {
2444
- "kind": "field",
2445
- "name": "status",
2446
- "type": {
2447
- "text": "AIStatus | null"
2448
- },
2449
- "default": "null"
2450
- },
2451
- {
2452
- "kind": "field",
2453
- "name": "open",
2454
- "type": {
2455
- "text": "boolean"
2456
- },
2457
- "default": "false"
2458
- },
2685
+ "name": "AccordionItem",
2686
+ "superclass": {
2687
+ "name": "FASTAccordionItem",
2688
+ "package": "@microsoft/fast-components"
2689
+ },
2690
+ "tagName": "%%prefix%%-accordion-item",
2691
+ "customElement": true,
2692
+ "attributes": [
2459
2693
  {
2460
- "kind": "field",
2461
- "name": "state",
2694
+ "name": "heading-level",
2462
2695
  "type": {
2463
- "text": "AIIndicatorState"
2696
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2464
2697
  },
2465
- "default": "'none'"
2698
+ "default": "2",
2699
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2700
+ "fieldName": "headinglevel",
2701
+ "inheritedFrom": {
2702
+ "name": "AccordionItem",
2703
+ "module": "src/accordion-item/accordion-item.ts"
2704
+ }
2466
2705
  },
2467
2706
  {
2468
- "kind": "field",
2469
- "name": "isInstalling",
2470
2707
  "type": {
2471
2708
  "text": "boolean"
2472
2709
  },
2473
- "default": "false"
2710
+ "default": "false",
2711
+ "description": "Expands or collapses the item.",
2712
+ "fieldName": "expanded",
2713
+ "inheritedFrom": {
2714
+ "name": "AccordionItem",
2715
+ "module": "src/accordion-item/accordion-item.ts"
2716
+ }
2474
2717
  },
2475
2718
  {
2476
- "kind": "field",
2477
- "name": "pollTimer",
2719
+ "name": "id",
2478
2720
  "type": {
2479
- "text": "ReturnType<typeof setInterval> | null"
2721
+ "text": "string"
2480
2722
  },
2481
- "privacy": "private",
2482
- "default": "null"
2483
- },
2484
- {
2485
- "kind": "field",
2486
- "name": "clickOutside",
2487
- "privacy": "private"
2488
- },
2723
+ "description": "The item ID",
2724
+ "fieldName": "id",
2725
+ "inheritedFrom": {
2726
+ "name": "AccordionItem",
2727
+ "module": "src/accordion-item/accordion-item.ts"
2728
+ }
2729
+ }
2730
+ ],
2731
+ "members": [
2489
2732
  {
2490
2733
  "kind": "field",
2491
- "name": "chromeStatusLabel",
2734
+ "name": "headinglevel",
2492
2735
  "type": {
2493
- "text": "string | null"
2736
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2494
2737
  },
2495
- "readonly": true
2738
+ "privacy": "public",
2739
+ "default": "2",
2740
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2741
+ "inheritedFrom": {
2742
+ "name": "AccordionItem",
2743
+ "module": "src/accordion-item/accordion-item.ts"
2744
+ }
2496
2745
  },
2497
2746
  {
2498
2747
  "kind": "field",
2499
- "name": "canInstall",
2748
+ "name": "expanded",
2500
2749
  "type": {
2501
2750
  "text": "boolean"
2502
2751
  },
2503
- "readonly": true
2752
+ "privacy": "public",
2753
+ "default": "false",
2754
+ "description": "Expands or collapses the item.",
2755
+ "inheritedFrom": {
2756
+ "name": "AccordionItem",
2757
+ "module": "src/accordion-item/accordion-item.ts"
2758
+ }
2504
2759
  },
2505
2760
  {
2506
2761
  "kind": "field",
2507
- "name": "isDownloading",
2762
+ "name": "id",
2508
2763
  "type": {
2509
- "text": "boolean"
2510
- },
2511
- "readonly": true
2512
- },
2513
- {
2514
- "kind": "method",
2515
- "name": "openChanged",
2516
- "return": {
2517
- "type": {
2518
- "text": "void"
2519
- }
2520
- }
2521
- },
2522
- {
2523
- "kind": "method",
2524
- "name": "handleClickOutside",
2525
- "privacy": "private",
2526
- "parameters": [
2527
- {
2528
- "name": "event",
2529
- "type": {
2530
- "text": "MouseEvent"
2531
- }
2532
- }
2533
- ]
2534
- },
2535
- {
2536
- "kind": "method",
2537
- "name": "toggleDropdown"
2538
- },
2539
- {
2540
- "kind": "method",
2541
- "name": "refreshStatus",
2542
- "return": {
2543
- "type": {
2544
- "text": "Promise<void>"
2545
- }
2546
- }
2547
- },
2548
- {
2549
- "kind": "method",
2550
- "name": "deriveState",
2551
- "privacy": "private",
2552
- "return": {
2553
- "type": {
2554
- "text": "AIIndicatorState"
2555
- }
2764
+ "text": "string"
2556
2765
  },
2557
- "parameters": [
2558
- {
2559
- "name": "s",
2560
- "type": {
2561
- "text": "AIStatus | null"
2562
- }
2563
- }
2564
- ]
2565
- },
2566
- {
2567
- "kind": "method",
2568
- "name": "maybeStartPolling",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2574
- }
2575
- },
2576
- {
2577
- "kind": "method",
2578
- "name": "startPolling",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2583
- }
2766
+ "privacy": "public",
2767
+ "description": "The item ID",
2768
+ "inheritedFrom": {
2769
+ "name": "AccordionItem",
2770
+ "module": "src/accordion-item/accordion-item.ts"
2584
2771
  }
2585
2772
  },
2586
2773
  {
2587
- "kind": "method",
2588
- "name": "stopPolling",
2774
+ "kind": "field",
2775
+ "name": "change",
2589
2776
  "privacy": "private",
2590
- "return": {
2591
- "type": {
2592
- "text": "void"
2593
- }
2594
- }
2595
- },
2596
- {
2597
- "kind": "method",
2598
- "name": "onInstall",
2599
- "return": {
2600
- "type": {
2601
- "text": "Promise<void>"
2602
- }
2777
+ "inheritedFrom": {
2778
+ "name": "AccordionItem",
2779
+ "module": "src/accordion-item/accordion-item.ts"
2603
2780
  }
2604
2781
  },
2605
2782
  {
@@ -2714,704 +2891,78 @@
2714
2891
  }
2715
2892
  }
2716
2893
  ],
2717
- "superclass": {
2718
- "name": "FoundationElement",
2719
- "package": "@microsoft/fast-foundation"
2720
- },
2721
- "tagName": "%%prefix%%-ai-indicator",
2722
- "customElement": true
2723
- },
2724
- {
2725
- "kind": "variable",
2726
- "name": "foundationAiIndicator"
2727
- }
2728
- ],
2729
- "exports": [
2730
- {
2731
- "kind": "js",
2732
- "name": "AiIndicator",
2733
- "declaration": {
2734
- "name": "AiIndicator",
2735
- "module": "src/ai-indicator/ai-indicator.ts"
2736
- }
2737
- },
2738
- {
2739
- "kind": "js",
2740
- "name": "foundationAiIndicator",
2741
- "declaration": {
2742
- "name": "foundationAiIndicator",
2743
- "module": "src/ai-indicator/ai-indicator.ts"
2744
- }
2745
- }
2746
- ]
2747
- },
2748
- {
2749
- "kind": "javascript-module",
2750
- "path": "src/ai-indicator/index.ts",
2751
- "declarations": [],
2752
- "exports": [
2753
- {
2754
- "kind": "js",
2755
- "name": "AiIndicator",
2756
- "declaration": {
2757
- "name": "AiIndicator",
2758
- "module": "./ai-indicator"
2759
- }
2760
- },
2761
- {
2762
- "kind": "js",
2763
- "name": "foundationAiIndicator",
2764
- "declaration": {
2765
- "name": "foundationAiIndicator",
2766
- "module": "./ai-indicator"
2767
- }
2768
- },
2769
- {
2770
- "kind": "js",
2771
- "name": "type",
2772
- "declaration": {
2773
- "name": "type",
2774
- "module": "./ai-indicator"
2775
- }
2776
- },
2777
- {
2778
- "kind": "js",
2779
- "name": "AIIndicatorState",
2780
- "declaration": {
2781
- "name": "AIIndicatorState",
2782
- "module": "./ai-indicator"
2783
- }
2784
- },
2785
- {
2786
- "kind": "js",
2787
- "name": "foundationAiIndicatorTemplate",
2788
- "declaration": {
2789
- "name": "foundationAiIndicatorTemplate",
2790
- "module": "./ai-indicator.template"
2791
- }
2792
- },
2793
- {
2794
- "kind": "js",
2795
- "name": "foundationAiIndicatorStyles",
2796
- "declaration": {
2797
- "name": "foundationAiIndicatorStyles",
2798
- "module": "./ai-indicator.styles"
2799
- }
2800
- }
2801
- ]
2802
- },
2803
- {
2804
- "kind": "javascript-module",
2805
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2806
- "declarations": [
2807
- {
2808
- "kind": "variable",
2809
- "name": "foundationAiCriteriaSearchStyles",
2810
- "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`"
2811
- }
2812
- ],
2813
- "exports": [
2814
- {
2815
- "kind": "js",
2816
- "name": "foundationAiCriteriaSearchStyles",
2817
- "declaration": {
2818
- "name": "foundationAiCriteriaSearchStyles",
2819
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2820
- }
2821
- }
2822
- ]
2823
- },
2824
- {
2825
- "kind": "javascript-module",
2826
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2827
- "declarations": [
2828
- {
2829
- "kind": "variable",
2830
- "name": "foundationAiCriteriaSearchTemplate",
2831
- "type": {
2832
- "text": "ViewTemplate<AiCriteriaSearch>"
2833
- },
2834
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2835
- }
2836
- ],
2837
- "exports": [
2838
- {
2839
- "kind": "js",
2840
- "name": "foundationAiCriteriaSearchTemplate",
2841
- "declaration": {
2842
- "name": "foundationAiCriteriaSearchTemplate",
2843
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2844
- }
2845
- }
2846
- ]
2847
- },
2848
- {
2849
- "kind": "javascript-module",
2850
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2851
- "declarations": [
2852
- {
2853
- "kind": "class",
2854
- "description": "Natural-language criteria search input with AI interpretation.",
2855
- "name": "AiCriteriaSearch",
2856
- "members": [
2857
- {
2858
- "kind": "field",
2859
- "name": "providerRegistry",
2860
- "type": {
2861
- "text": "AIProviderRegistry"
2862
- }
2863
- },
2864
- {
2865
- "kind": "field",
2866
- "name": "placeholder",
2867
- "type": {
2868
- "text": "string"
2869
- },
2870
- "default": "'Describe your search criteria in natural language...'"
2871
- },
2872
- {
2873
- "kind": "field",
2874
- "name": "disabled",
2875
- "type": {
2876
- "text": "boolean"
2877
- }
2878
- },
2879
- {
2880
- "kind": "field",
2881
- "name": "inputValue",
2882
- "type": {
2883
- "text": "string"
2884
- },
2885
- "default": "''"
2886
- },
2887
- {
2888
- "kind": "field",
2889
- "name": "isInterpreting",
2890
- "type": {
2891
- "text": "boolean"
2892
- },
2893
- "default": "false"
2894
- },
2895
- {
2896
- "kind": "field",
2897
- "name": "lastValidCriteria",
2898
- "type": {
2899
- "text": "string | null"
2900
- },
2901
- "default": "null"
2902
- },
2903
- {
2904
- "kind": "field",
2905
- "name": "activeGroups",
2906
- "type": {
2907
- "text": "CriteriaGroup[]"
2908
- },
2909
- "default": "[]"
2910
- },
2911
- {
2912
- "kind": "field",
2913
- "name": "showingChips",
2914
- "type": {
2915
- "text": "boolean"
2916
- },
2917
- "default": "false"
2918
- },
2919
- {
2920
- "kind": "field",
2921
- "name": "fieldMetadata",
2922
- "type": {
2923
- "text": "MetadataDetail[] | string[]"
2924
- },
2925
- "default": "[]"
2926
- },
2927
- {
2928
- "kind": "field",
2929
- "name": "isRecording",
2930
- "type": {
2931
- "text": "boolean"
2932
- },
2933
- "default": "false"
2934
- },
2935
- {
2936
- "kind": "field",
2937
- "name": "textAreaRef",
2938
- "type": {
2939
- "text": "HTMLTextAreaElement"
2940
- },
2941
- "privacy": "public"
2942
- },
2943
- {
2944
- "kind": "field",
2945
- "name": "stopRecording",
2946
- "type": {
2947
- "text": "(() => void) | null"
2948
- },
2949
- "privacy": "private",
2950
- "default": "null"
2951
- },
2952
- {
2953
- "kind": "field",
2954
- "name": "speechApplyDebounceTimer",
2955
- "type": {
2956
- "text": "ReturnType<typeof setTimeout> | null"
2957
- },
2958
- "privacy": "private",
2959
- "default": "null"
2960
- },
2961
- {
2962
- "kind": "field",
2963
- "name": "speechAvailable",
2964
- "type": {
2965
- "text": "boolean"
2966
- },
2967
- "readonly": true
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "criteriaChips",
2972
- "type": {
2973
- "text": "CriteriaChip[]"
2974
- },
2975
- "readonly": true
2976
- },
2977
- {
2978
- "kind": "method",
2979
- "name": "getFieldLabel",
2980
- "privacy": "private",
2981
- "return": {
2982
- "type": {
2983
- "text": "string"
2984
- }
2985
- },
2986
- "parameters": [
2987
- {
2988
- "name": "fieldName",
2989
- "type": {
2990
- "text": "string"
2991
- }
2992
- }
2993
- ]
2994
- },
2995
- {
2996
- "kind": "method",
2997
- "name": "toggleCriteriaView",
2998
- "return": {
2999
- "type": {
3000
- "text": "void"
3001
- }
3002
- }
3003
- },
3004
- {
3005
- "kind": "method",
3006
- "name": "removeChip",
3007
- "return": {
3008
- "type": {
3009
- "text": "void"
3010
- }
3011
- },
3012
- "parameters": [
3013
- {
3014
- "name": "groupIndex",
3015
- "type": {
3016
- "text": "number"
3017
- }
3018
- },
3019
- {
3020
- "name": "clauseIndex",
3021
- "type": {
3022
- "text": "number"
3023
- }
3024
- }
3025
- ]
3026
- },
3027
- {
3028
- "kind": "method",
3029
- "name": "clearChips",
3030
- "return": {
3031
- "type": {
3032
- "text": "void"
3033
- }
3034
- }
3035
- },
3036
- {
3037
- "kind": "method",
3038
- "name": "handleSubmit"
3039
- },
3040
- {
3041
- "kind": "method",
3042
- "name": "handleBlur"
3043
- },
3044
- {
3045
- "kind": "method",
3046
- "name": "clear"
3047
- },
3048
- {
3049
- "kind": "method",
3050
- "name": "toggleSpeechInput"
3051
- },
3052
- {
3053
- "kind": "method",
3054
- "name": "clearSpeechApplyDebounce",
3055
- "privacy": "private"
3056
- },
3057
- {
3058
- "kind": "field",
3059
- "name": "_presentation",
3060
- "type": {
3061
- "text": "ComponentPresentation | null | undefined"
3062
- },
3063
- "privacy": "private",
3064
- "default": "void 0",
3065
- "inheritedFrom": {
3066
- "name": "FoundationElement",
3067
- "module": "src/foundation-element/foundation-element.ts"
3068
- }
3069
- },
3070
- {
3071
- "kind": "field",
3072
- "name": "$presentation",
3073
- "type": {
3074
- "text": "ComponentPresentation | null"
3075
- },
3076
- "privacy": "public",
3077
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3078
- "inheritedFrom": {
3079
- "name": "FoundationElement",
3080
- "module": "src/foundation-element/foundation-element.ts"
3081
- }
3082
- },
3083
- {
3084
- "kind": "field",
3085
- "name": "template",
3086
- "type": {
3087
- "text": "ElementViewTemplate | void | null"
3088
- },
3089
- "privacy": "public",
3090
- "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.",
3091
- "inheritedFrom": {
3092
- "name": "FoundationElement",
3093
- "module": "src/foundation-element/foundation-element.ts"
3094
- }
3095
- },
3096
- {
3097
- "kind": "method",
3098
- "name": "templateChanged",
3099
- "privacy": "protected",
3100
- "return": {
3101
- "type": {
3102
- "text": "void"
3103
- }
3104
- },
3105
- "inheritedFrom": {
3106
- "name": "FoundationElement",
3107
- "module": "src/foundation-element/foundation-element.ts"
3108
- }
3109
- },
3110
- {
3111
- "kind": "field",
3112
- "name": "styles",
3113
- "type": {
3114
- "text": "ElementStyles | void | null"
3115
- },
3116
- "privacy": "public",
3117
- "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.",
3118
- "inheritedFrom": {
3119
- "name": "FoundationElement",
3120
- "module": "src/foundation-element/foundation-element.ts"
3121
- }
3122
- },
3123
- {
3124
- "kind": "method",
3125
- "name": "stylesChanged",
3126
- "privacy": "protected",
3127
- "return": {
3128
- "type": {
3129
- "text": "void"
3130
- }
3131
- },
3132
- "inheritedFrom": {
3133
- "name": "FoundationElement",
3134
- "module": "src/foundation-element/foundation-element.ts"
3135
- }
3136
- },
3137
- {
3138
- "kind": "method",
3139
- "name": "compose",
3140
- "privacy": "public",
3141
- "static": true,
3142
- "return": {
3143
- "type": {
3144
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3145
- }
3146
- },
3147
- "parameters": [
3148
- {
3149
- "name": "this",
3150
- "type": {
3151
- "text": "K"
3152
- }
3153
- },
3154
- {
3155
- "name": "elementDefinition",
3156
- "type": {
3157
- "text": "T"
3158
- },
3159
- "description": "The definition of the element to create the registry\nfunction for."
3160
- }
3161
- ],
3162
- "description": "Defines an element registry function with a set of element definition defaults.",
3163
- "inheritedFrom": {
3164
- "name": "FoundationElement",
3165
- "module": "src/foundation-element/foundation-element.ts"
3166
- }
3167
- }
3168
- ],
3169
2894
  "events": [
3170
2895
  {
3171
- "description": "Fired when interpreted criteria is applied or cleared",
3172
- "name": "criteria-changed"
3173
- },
3174
- {
3175
- "description": "Fired when interpreted criteria contains invalid clauses",
3176
- "name": "validation-errors"
3177
- }
3178
- ],
3179
- "attributes": [
3180
- {
3181
- "name": "placeholder",
3182
- "type": {
3183
- "text": "string"
3184
- },
3185
- "default": "'Describe your search criteria in natural language...'",
3186
- "fieldName": "placeholder"
3187
- },
3188
- {
3189
- "type": {
3190
- "text": "boolean"
3191
- },
3192
- "fieldName": "disabled"
3193
- }
3194
- ],
3195
- "superclass": {
3196
- "name": "FoundationElement",
3197
- "package": "@microsoft/fast-foundation"
3198
- },
3199
- "tagName": "%%prefix%%-ai-criteria-search",
3200
- "customElement": true
3201
- },
3202
- {
3203
- "kind": "variable",
3204
- "name": "foundationAiCriteriaSearchShadowOptions",
3205
- "type": {
3206
- "text": "ShadowRootInit"
3207
- },
3208
- "default": "undefined"
3209
- },
3210
- {
3211
- "kind": "variable",
3212
- "name": "defaultAiCriteriaSearchConfig",
3213
- "type": {
3214
- "text": "object"
3215
- },
3216
- "default": "{}"
3217
- },
3218
- {
3219
- "kind": "variable",
3220
- "name": "foundationAiCriteriaSearch"
3221
- }
3222
- ],
3223
- "exports": [
3224
- {
3225
- "kind": "js",
3226
- "name": "AiCriteriaSearch",
3227
- "declaration": {
3228
- "name": "AiCriteriaSearch",
3229
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3230
- }
3231
- },
3232
- {
3233
- "kind": "js",
3234
- "name": "foundationAiCriteriaSearchShadowOptions",
3235
- "declaration": {
3236
- "name": "foundationAiCriteriaSearchShadowOptions",
3237
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3238
- }
3239
- },
3240
- {
3241
- "kind": "js",
3242
- "name": "defaultAiCriteriaSearchConfig",
3243
- "declaration": {
3244
- "name": "defaultAiCriteriaSearchConfig",
3245
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3246
- }
3247
- },
3248
- {
3249
- "kind": "js",
3250
- "name": "foundationAiCriteriaSearch",
3251
- "declaration": {
3252
- "name": "foundationAiCriteriaSearch",
3253
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3254
- }
3255
- }
3256
- ]
3257
- },
3258
- {
3259
- "kind": "javascript-module",
3260
- "path": "src/ai-criteria-search/index.ts",
3261
- "declarations": [],
3262
- "exports": [
3263
- {
3264
- "kind": "js",
3265
- "name": "AiCriteriaSearch",
3266
- "declaration": {
3267
- "name": "AiCriteriaSearch",
3268
- "module": "./ai-criteria-search"
3269
- }
3270
- },
3271
- {
3272
- "kind": "js",
3273
- "name": "defaultAiCriteriaSearchConfig",
3274
- "declaration": {
3275
- "name": "defaultAiCriteriaSearchConfig",
3276
- "module": "./ai-criteria-search"
3277
- }
3278
- },
3279
- {
3280
- "kind": "js",
3281
- "name": "foundationAiCriteriaSearch",
3282
- "declaration": {
3283
- "name": "foundationAiCriteriaSearch",
3284
- "module": "./ai-criteria-search"
3285
- }
3286
- },
3287
- {
3288
- "kind": "js",
3289
- "name": "foundationAiCriteriaSearchShadowOptions",
3290
- "declaration": {
3291
- "name": "foundationAiCriteriaSearchShadowOptions",
3292
- "module": "./ai-criteria-search"
3293
- }
3294
- },
3295
- {
3296
- "kind": "js",
3297
- "name": "foundationAiCriteriaSearchStyles",
3298
- "declaration": {
3299
- "name": "foundationAiCriteriaSearchStyles",
3300
- "module": "./ai-criteria-search.styles"
3301
- }
3302
- },
3303
- {
3304
- "kind": "js",
3305
- "name": "foundationAiCriteriaSearchTemplate",
3306
- "declaration": {
3307
- "name": "foundationAiCriteriaSearchTemplate",
3308
- "module": "./ai-criteria-search.template"
3309
- }
3310
- },
3311
- {
3312
- "kind": "js",
3313
- "name": "*",
3314
- "declaration": {
3315
- "name": "*",
3316
- "package": "./validation/criteria-ir"
3317
- }
3318
- },
3319
- {
3320
- "kind": "js",
3321
- "name": "*",
3322
- "declaration": {
3323
- "name": "*",
3324
- "package": "./validation/operator-map"
3325
- }
3326
- },
3327
- {
3328
- "kind": "js",
3329
- "name": "*",
3330
- "declaration": {
3331
- "name": "*",
3332
- "package": "./validation/schema-validator"
3333
- }
3334
- }
3335
- ]
3336
- },
3337
- {
3338
- "kind": "javascript-module",
3339
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3340
- "declarations": [
3341
- {
3342
- "kind": "function",
3343
- "name": "formatValidationErrors",
3344
- "return": {
3345
- "type": {
3346
- "text": "string"
3347
- }
3348
- },
3349
- "parameters": [
3350
- {
3351
- "name": "errors",
3352
- "type": {
3353
- "text": "ValidationError[]"
3354
- }
3355
- }
3356
- ],
3357
- "description": "Formats validation errors into a user-friendly message."
3358
- },
3359
- {
3360
- "kind": "function",
3361
- "name": "showCriteriaError",
3362
- "return": {
3363
- "type": {
3364
- "text": "void"
3365
- }
3366
- },
3367
- "parameters": [
3368
- {
3369
- "name": "title",
3370
- "type": {
3371
- "text": "string"
3372
- },
3373
- "description": "Notification title (e.g. \"Criteria validation error\")"
3374
- },
3375
- {
3376
- "name": "body",
3377
- "type": {
3378
- "text": "string"
3379
- },
3380
- "description": "Error message to display"
3381
- },
3382
- {
3383
- "name": "tagName",
3384
- "type": {
3385
- "text": "string"
3386
- },
3387
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2896
+ "description": "Fires a custom 'change' event when the button is invoked",
2897
+ "name": "change",
2898
+ "inheritedFrom": {
2899
+ "name": "AccordionItem",
2900
+ "module": "src/accordion-item/accordion-item.ts"
2901
+ }
3388
2902
  }
3389
- ],
3390
- "description": "Shows a criteria error as a toast notification."
2903
+ ]
2904
+ },
2905
+ {
2906
+ "kind": "variable",
2907
+ "name": "foundationAccordionItemShadowOptions",
2908
+ "type": {
2909
+ "text": "ShadowRootInit"
2910
+ },
2911
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2912
+ },
2913
+ {
2914
+ "kind": "variable",
2915
+ "name": "defaultAccordionItemConfig",
2916
+ "type": {
2917
+ "text": "object"
2918
+ },
2919
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2920
+ },
2921
+ {
2922
+ "kind": "variable",
2923
+ "name": "foundationAccordionItem",
2924
+ "description": "The Foundation Accordion Item",
2925
+ "privacy": "public"
3391
2926
  }
3392
2927
  ],
3393
2928
  "exports": [
3394
2929
  {
3395
2930
  "kind": "js",
3396
- "name": "formatValidationErrors",
2931
+ "name": "AccordionItem",
3397
2932
  "declaration": {
3398
- "name": "formatValidationErrors",
3399
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2933
+ "name": "AccordionItem",
2934
+ "module": "src/accordion-item/accordion-item.ts"
3400
2935
  }
3401
2936
  },
3402
2937
  {
3403
2938
  "kind": "js",
3404
- "name": "showCriteriaError",
2939
+ "name": "foundationAccordionItemShadowOptions",
3405
2940
  "declaration": {
3406
- "name": "showCriteriaError",
3407
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2941
+ "name": "foundationAccordionItemShadowOptions",
2942
+ "module": "src/accordion-item/accordion-item.ts"
2943
+ }
2944
+ },
2945
+ {
2946
+ "kind": "js",
2947
+ "name": "defaultAccordionItemConfig",
2948
+ "declaration": {
2949
+ "name": "defaultAccordionItemConfig",
2950
+ "module": "src/accordion-item/accordion-item.ts"
2951
+ }
2952
+ },
2953
+ {
2954
+ "kind": "js",
2955
+ "name": "foundationAccordionItem",
2956
+ "declaration": {
2957
+ "name": "foundationAccordionItem",
2958
+ "module": "src/accordion-item/accordion-item.ts"
3408
2959
  }
3409
2960
  }
3410
2961
  ]
3411
2962
  },
3412
2963
  {
3413
2964
  "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
2965
+ "path": "src/accordion-item/index.ts",
3415
2966
  "declarations": [],
3416
2967
  "exports": [
3417
2968
  {
@@ -3419,7 +2970,7 @@
3419
2970
  "name": "*",
3420
2971
  "declaration": {
3421
2972
  "name": "*",
3422
- "package": "./styles"
2973
+ "package": "./accordion-item.template"
3423
2974
  }
3424
2975
  },
3425
2976
  {
@@ -3427,7 +2978,7 @@
3427
2978
  "name": "*",
3428
2979
  "declaration": {
3429
2980
  "name": "*",
3430
- "package": "./tokens"
2981
+ "package": "./accordion-item.styles"
3431
2982
  }
3432
2983
  },
3433
2984
  {
@@ -3435,7 +2986,7 @@
3435
2986
  "name": "*",
3436
2987
  "declaration": {
3437
2988
  "name": "*",
3438
- "package": "./values"
2989
+ "package": "./accordion-item"
3439
2990
  }
3440
2991
  }
3441
2992
  ]
@@ -3955,6 +3506,455 @@
3955
3506
  }
3956
3507
  ]
3957
3508
  },
3509
+ {
3510
+ "kind": "javascript-module",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3512
+ "declarations": [
3513
+ {
3514
+ "kind": "function",
3515
+ "name": "foundationAiIndicatorStyles",
3516
+ "return": {
3517
+ "type": {
3518
+ "text": "ElementStyles"
3519
+ }
3520
+ },
3521
+ "parameters": [
3522
+ {
3523
+ "name": "context",
3524
+ "type": {
3525
+ "text": "ElementDefinitionContext"
3526
+ }
3527
+ },
3528
+ {
3529
+ "name": "definition",
3530
+ "type": {
3531
+ "text": "FoundationElementDefinition"
3532
+ }
3533
+ }
3534
+ ]
3535
+ }
3536
+ ],
3537
+ "exports": [
3538
+ {
3539
+ "kind": "js",
3540
+ "name": "foundationAiIndicatorStyles",
3541
+ "declaration": {
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3544
+ }
3545
+ }
3546
+ ]
3547
+ },
3548
+ {
3549
+ "kind": "javascript-module",
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",
3575
+ "declarations": [
3576
+ {
3577
+ "kind": "class",
3578
+ "description": "",
3579
+ "name": "AiIndicator",
3580
+ "members": [
3581
+ {
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3584
+ "type": {
3585
+ "text": "AIProviderRegistry"
3586
+ }
3587
+ },
3588
+ {
3589
+ "kind": "field",
3590
+ "name": "aiProvider",
3591
+ "type": {
3592
+ "text": "AIProvider | undefined"
3593
+ },
3594
+ "privacy": "private",
3595
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
+ "readonly": true
3597
+ },
3598
+ {
3599
+ "kind": "field",
3600
+ "name": "status",
3601
+ "type": {
3602
+ "text": "AIStatus | null"
3603
+ },
3604
+ "default": "null"
3605
+ },
3606
+ {
3607
+ "kind": "field",
3608
+ "name": "open",
3609
+ "type": {
3610
+ "text": "boolean"
3611
+ },
3612
+ "default": "false"
3613
+ },
3614
+ {
3615
+ "kind": "field",
3616
+ "name": "state",
3617
+ "type": {
3618
+ "text": "AIIndicatorState"
3619
+ },
3620
+ "default": "'none'"
3621
+ },
3622
+ {
3623
+ "kind": "field",
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3629
+ },
3630
+ {
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3636
+ "privacy": "private",
3637
+ "default": "null"
3638
+ },
3639
+ {
3640
+ "kind": "field",
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3649
+ },
3650
+ "readonly": true
3651
+ },
3652
+ {
3653
+ "kind": "field",
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3667
+ },
3668
+ {
3669
+ "kind": "method",
3670
+ "name": "openChanged",
3671
+ "return": {
3672
+ "type": {
3673
+ "text": "void"
3674
+ }
3675
+ }
3676
+ },
3677
+ {
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3680
+ "privacy": "private",
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3689
+ },
3690
+ {
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3693
+ },
3694
+ {
3695
+ "kind": "method",
3696
+ "name": "refreshStatus",
3697
+ "return": {
3698
+ "type": {
3699
+ "text": "Promise<void>"
3700
+ }
3701
+ }
3702
+ },
3703
+ {
3704
+ "kind": "method",
3705
+ "name": "deriveState",
3706
+ "privacy": "private",
3707
+ "return": {
3708
+ "type": {
3709
+ "text": "AIIndicatorState"
3710
+ }
3711
+ },
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3720
+ },
3721
+ {
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3724
+ "privacy": "private",
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3729
+ }
3730
+ },
3731
+ {
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3734
+ "privacy": "private",
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3739
+ }
3740
+ },
3741
+ {
3742
+ "kind": "method",
3743
+ "name": "stopPolling",
3744
+ "privacy": "private",
3745
+ "return": {
3746
+ "type": {
3747
+ "text": "void"
3748
+ }
3749
+ }
3750
+ },
3751
+ {
3752
+ "kind": "method",
3753
+ "name": "onInstall",
3754
+ "return": {
3755
+ "type": {
3756
+ "text": "Promise<void>"
3757
+ }
3758
+ }
3759
+ },
3760
+ {
3761
+ "kind": "field",
3762
+ "name": "_presentation",
3763
+ "type": {
3764
+ "text": "ComponentPresentation | null | undefined"
3765
+ },
3766
+ "privacy": "private",
3767
+ "default": "void 0",
3768
+ "inheritedFrom": {
3769
+ "name": "FoundationElement",
3770
+ "module": "src/foundation-element/foundation-element.ts"
3771
+ }
3772
+ },
3773
+ {
3774
+ "kind": "field",
3775
+ "name": "$presentation",
3776
+ "type": {
3777
+ "text": "ComponentPresentation | null"
3778
+ },
3779
+ "privacy": "public",
3780
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3781
+ "inheritedFrom": {
3782
+ "name": "FoundationElement",
3783
+ "module": "src/foundation-element/foundation-element.ts"
3784
+ }
3785
+ },
3786
+ {
3787
+ "kind": "field",
3788
+ "name": "template",
3789
+ "type": {
3790
+ "text": "ElementViewTemplate | void | null"
3791
+ },
3792
+ "privacy": "public",
3793
+ "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.",
3794
+ "inheritedFrom": {
3795
+ "name": "FoundationElement",
3796
+ "module": "src/foundation-element/foundation-element.ts"
3797
+ }
3798
+ },
3799
+ {
3800
+ "kind": "method",
3801
+ "name": "templateChanged",
3802
+ "privacy": "protected",
3803
+ "return": {
3804
+ "type": {
3805
+ "text": "void"
3806
+ }
3807
+ },
3808
+ "inheritedFrom": {
3809
+ "name": "FoundationElement",
3810
+ "module": "src/foundation-element/foundation-element.ts"
3811
+ }
3812
+ },
3813
+ {
3814
+ "kind": "field",
3815
+ "name": "styles",
3816
+ "type": {
3817
+ "text": "ElementStyles | void | null"
3818
+ },
3819
+ "privacy": "public",
3820
+ "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.",
3821
+ "inheritedFrom": {
3822
+ "name": "FoundationElement",
3823
+ "module": "src/foundation-element/foundation-element.ts"
3824
+ }
3825
+ },
3826
+ {
3827
+ "kind": "method",
3828
+ "name": "stylesChanged",
3829
+ "privacy": "protected",
3830
+ "return": {
3831
+ "type": {
3832
+ "text": "void"
3833
+ }
3834
+ },
3835
+ "inheritedFrom": {
3836
+ "name": "FoundationElement",
3837
+ "module": "src/foundation-element/foundation-element.ts"
3838
+ }
3839
+ },
3840
+ {
3841
+ "kind": "method",
3842
+ "name": "compose",
3843
+ "privacy": "public",
3844
+ "static": true,
3845
+ "return": {
3846
+ "type": {
3847
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3848
+ }
3849
+ },
3850
+ "parameters": [
3851
+ {
3852
+ "name": "this",
3853
+ "type": {
3854
+ "text": "K"
3855
+ }
3856
+ },
3857
+ {
3858
+ "name": "elementDefinition",
3859
+ "type": {
3860
+ "text": "T"
3861
+ },
3862
+ "description": "The definition of the element to create the registry\nfunction for."
3863
+ }
3864
+ ],
3865
+ "description": "Defines an element registry function with a set of element definition defaults.",
3866
+ "inheritedFrom": {
3867
+ "name": "FoundationElement",
3868
+ "module": "src/foundation-element/foundation-element.ts"
3869
+ }
3870
+ }
3871
+ ],
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3875
+ },
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3878
+ },
3879
+ {
3880
+ "kind": "variable",
3881
+ "name": "foundationAiIndicator"
3882
+ }
3883
+ ],
3884
+ "exports": [
3885
+ {
3886
+ "kind": "js",
3887
+ "name": "AiIndicator",
3888
+ "declaration": {
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "js",
3895
+ "name": "foundationAiIndicator",
3896
+ "declaration": {
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3914
+ }
3915
+ },
3916
+ {
3917
+ "kind": "js",
3918
+ "name": "foundationAiIndicator",
3919
+ "declaration": {
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3922
+ }
3923
+ },
3924
+ {
3925
+ "kind": "js",
3926
+ "name": "type",
3927
+ "declaration": {
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3930
+ }
3931
+ },
3932
+ {
3933
+ "kind": "js",
3934
+ "name": "AIIndicatorState",
3935
+ "declaration": {
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
+ }
3939
+ },
3940
+ {
3941
+ "kind": "js",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
+ "declaration": {
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
+ }
3947
+ },
3948
+ {
3949
+ "kind": "js",
3950
+ "name": "foundationAiIndicatorStyles",
3951
+ "declaration": {
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
+ }
3955
+ }
3956
+ ]
3957
+ },
3958
3958
  {
3959
3959
  "kind": "javascript-module",
3960
3960
  "path": "src/anchor/anchor.styles.ts",
@@ -57711,197 +57711,6 @@
57711
57711
  }
57712
57712
  ]
57713
57713
  },
57714
- {
57715
- "kind": "javascript-module",
57716
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
- "declarations": [],
57718
- "exports": []
57719
- },
57720
- {
57721
- "kind": "javascript-module",
57722
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
- "declarations": [
57724
- {
57725
- "kind": "function",
57726
- "name": "groupsToCriteria",
57727
- "return": {
57728
- "type": {
57729
- "text": "string"
57730
- }
57731
- },
57732
- "parameters": [
57733
- {
57734
- "name": "groups",
57735
- "type": {
57736
- "text": "CriteriaGroup[]"
57737
- }
57738
- }
57739
- ],
57740
- "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."
57741
- },
57742
- {
57743
- "kind": "variable",
57744
- "name": "STRING_OPERATORS",
57745
- "type": {
57746
- "text": "CriteriaOperator[]"
57747
- },
57748
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
- },
57750
- {
57751
- "kind": "variable",
57752
- "name": "NUMERIC_OPERATORS",
57753
- "type": {
57754
- "text": "CriteriaOperator[]"
57755
- },
57756
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
- },
57758
- {
57759
- "kind": "variable",
57760
- "name": "DATE_OPERATORS",
57761
- "type": {
57762
- "text": "CriteriaOperator[]"
57763
- },
57764
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
- },
57766
- {
57767
- "kind": "variable",
57768
- "name": "DATETIME_OPERATORS",
57769
- "type": {
57770
- "text": "CriteriaOperator[]"
57771
- },
57772
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
- },
57774
- {
57775
- "kind": "variable",
57776
- "name": "OPERATOR_DISPLAY_LABEL",
57777
- "type": {
57778
- "text": "Record<CriteriaOperator, string>"
57779
- },
57780
- "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}"
57781
- }
57782
- ],
57783
- "exports": [
57784
- {
57785
- "kind": "js",
57786
- "name": "groupsToCriteria",
57787
- "declaration": {
57788
- "name": "groupsToCriteria",
57789
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
- }
57791
- },
57792
- {
57793
- "kind": "js",
57794
- "name": "STRING_OPERATORS",
57795
- "declaration": {
57796
- "name": "STRING_OPERATORS",
57797
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
- }
57799
- },
57800
- {
57801
- "kind": "js",
57802
- "name": "NUMERIC_OPERATORS",
57803
- "declaration": {
57804
- "name": "NUMERIC_OPERATORS",
57805
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
- }
57807
- },
57808
- {
57809
- "kind": "js",
57810
- "name": "DATE_OPERATORS",
57811
- "declaration": {
57812
- "name": "DATE_OPERATORS",
57813
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
- }
57815
- },
57816
- {
57817
- "kind": "js",
57818
- "name": "DATETIME_OPERATORS",
57819
- "declaration": {
57820
- "name": "DATETIME_OPERATORS",
57821
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
- }
57823
- },
57824
- {
57825
- "kind": "js",
57826
- "name": "OPERATOR_DISPLAY_LABEL",
57827
- "declaration": {
57828
- "name": "OPERATOR_DISPLAY_LABEL",
57829
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
- }
57831
- }
57832
- ]
57833
- },
57834
- {
57835
- "kind": "javascript-module",
57836
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
- "declarations": [
57838
- {
57839
- "kind": "function",
57840
- "name": "validateClauses",
57841
- "return": {
57842
- "type": {
57843
- "text": "ValidationResult"
57844
- }
57845
- },
57846
- "parameters": [
57847
- {
57848
- "name": "clauses",
57849
- "type": {
57850
- "text": "CriteriaClause[]"
57851
- }
57852
- },
57853
- {
57854
- "name": "fieldMetadata",
57855
- "type": {
57856
- "text": "MetadataDetail[] | string[]"
57857
- }
57858
- }
57859
- ]
57860
- },
57861
- {
57862
- "kind": "function",
57863
- "name": "validateGroups",
57864
- "return": {
57865
- "type": {
57866
- "text": "GroupsValidationResult"
57867
- }
57868
- },
57869
- "parameters": [
57870
- {
57871
- "name": "groups",
57872
- "type": {
57873
- "text": "CriteriaGroup[]"
57874
- }
57875
- },
57876
- {
57877
- "name": "fieldMetadata",
57878
- "type": {
57879
- "text": "MetadataDetail[] | string[]"
57880
- }
57881
- }
57882
- ],
57883
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
- }
57885
- ],
57886
- "exports": [
57887
- {
57888
- "kind": "js",
57889
- "name": "validateClauses",
57890
- "declaration": {
57891
- "name": "validateClauses",
57892
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
- }
57894
- },
57895
- {
57896
- "kind": "js",
57897
- "name": "validateGroups",
57898
- "declaration": {
57899
- "name": "validateGroups",
57900
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
- }
57902
- }
57903
- ]
57904
- },
57905
57714
  {
57906
57715
  "kind": "javascript-module",
57907
57716
  "path": "src/_config/styles/colors.ts",
@@ -59274,6 +59083,197 @@
59274
59083
  "declarations": [],
59275
59084
  "exports": []
59276
59085
  },
59086
+ {
59087
+ "kind": "javascript-module",
59088
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
+ "declarations": [],
59090
+ "exports": []
59091
+ },
59092
+ {
59093
+ "kind": "javascript-module",
59094
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
+ "declarations": [
59096
+ {
59097
+ "kind": "function",
59098
+ "name": "groupsToCriteria",
59099
+ "return": {
59100
+ "type": {
59101
+ "text": "string"
59102
+ }
59103
+ },
59104
+ "parameters": [
59105
+ {
59106
+ "name": "groups",
59107
+ "type": {
59108
+ "text": "CriteriaGroup[]"
59109
+ }
59110
+ }
59111
+ ],
59112
+ "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."
59113
+ },
59114
+ {
59115
+ "kind": "variable",
59116
+ "name": "STRING_OPERATORS",
59117
+ "type": {
59118
+ "text": "CriteriaOperator[]"
59119
+ },
59120
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
+ },
59122
+ {
59123
+ "kind": "variable",
59124
+ "name": "NUMERIC_OPERATORS",
59125
+ "type": {
59126
+ "text": "CriteriaOperator[]"
59127
+ },
59128
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
+ },
59130
+ {
59131
+ "kind": "variable",
59132
+ "name": "DATE_OPERATORS",
59133
+ "type": {
59134
+ "text": "CriteriaOperator[]"
59135
+ },
59136
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
+ },
59138
+ {
59139
+ "kind": "variable",
59140
+ "name": "DATETIME_OPERATORS",
59141
+ "type": {
59142
+ "text": "CriteriaOperator[]"
59143
+ },
59144
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
+ },
59146
+ {
59147
+ "kind": "variable",
59148
+ "name": "OPERATOR_DISPLAY_LABEL",
59149
+ "type": {
59150
+ "text": "Record<CriteriaOperator, string>"
59151
+ },
59152
+ "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}"
59153
+ }
59154
+ ],
59155
+ "exports": [
59156
+ {
59157
+ "kind": "js",
59158
+ "name": "groupsToCriteria",
59159
+ "declaration": {
59160
+ "name": "groupsToCriteria",
59161
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
+ }
59163
+ },
59164
+ {
59165
+ "kind": "js",
59166
+ "name": "STRING_OPERATORS",
59167
+ "declaration": {
59168
+ "name": "STRING_OPERATORS",
59169
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
+ }
59171
+ },
59172
+ {
59173
+ "kind": "js",
59174
+ "name": "NUMERIC_OPERATORS",
59175
+ "declaration": {
59176
+ "name": "NUMERIC_OPERATORS",
59177
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
+ }
59179
+ },
59180
+ {
59181
+ "kind": "js",
59182
+ "name": "DATE_OPERATORS",
59183
+ "declaration": {
59184
+ "name": "DATE_OPERATORS",
59185
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
+ }
59187
+ },
59188
+ {
59189
+ "kind": "js",
59190
+ "name": "DATETIME_OPERATORS",
59191
+ "declaration": {
59192
+ "name": "DATETIME_OPERATORS",
59193
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
+ }
59195
+ },
59196
+ {
59197
+ "kind": "js",
59198
+ "name": "OPERATOR_DISPLAY_LABEL",
59199
+ "declaration": {
59200
+ "name": "OPERATOR_DISPLAY_LABEL",
59201
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
+ }
59203
+ }
59204
+ ]
59205
+ },
59206
+ {
59207
+ "kind": "javascript-module",
59208
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
+ "declarations": [
59210
+ {
59211
+ "kind": "function",
59212
+ "name": "validateClauses",
59213
+ "return": {
59214
+ "type": {
59215
+ "text": "ValidationResult"
59216
+ }
59217
+ },
59218
+ "parameters": [
59219
+ {
59220
+ "name": "clauses",
59221
+ "type": {
59222
+ "text": "CriteriaClause[]"
59223
+ }
59224
+ },
59225
+ {
59226
+ "name": "fieldMetadata",
59227
+ "type": {
59228
+ "text": "MetadataDetail[] | string[]"
59229
+ }
59230
+ }
59231
+ ]
59232
+ },
59233
+ {
59234
+ "kind": "function",
59235
+ "name": "validateGroups",
59236
+ "return": {
59237
+ "type": {
59238
+ "text": "GroupsValidationResult"
59239
+ }
59240
+ },
59241
+ "parameters": [
59242
+ {
59243
+ "name": "groups",
59244
+ "type": {
59245
+ "text": "CriteriaGroup[]"
59246
+ }
59247
+ },
59248
+ {
59249
+ "name": "fieldMetadata",
59250
+ "type": {
59251
+ "text": "MetadataDetail[] | string[]"
59252
+ }
59253
+ }
59254
+ ],
59255
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
+ }
59257
+ ],
59258
+ "exports": [
59259
+ {
59260
+ "kind": "js",
59261
+ "name": "validateClauses",
59262
+ "declaration": {
59263
+ "name": "validateClauses",
59264
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
+ }
59266
+ },
59267
+ {
59268
+ "kind": "js",
59269
+ "name": "validateGroups",
59270
+ "declaration": {
59271
+ "name": "validateGroups",
59272
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
+ }
59274
+ }
59275
+ ]
59276
+ },
59277
59277
  {
59278
59278
  "kind": "javascript-module",
59279
59279
  "path": "src/environment-indicator/utils/configure.ts",