@genesislcap/foundation-ui 15.14.0 → 15.14.2-FUI-2603.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1995,186 +1995,258 @@
1995
1995
  },
1996
1996
  {
1997
1997
  "kind": "javascript-module",
1998
- "path": "src/accordion-item/accordion-item.styles.ts",
1998
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1999
1999
  "declarations": [
2000
2000
  {
2001
- "kind": "function",
2002
- "name": "foundationAccordionItemStyles",
2003
- "return": {
2004
- "type": {
2005
- "text": "ElementStyles"
2006
- }
2007
- },
2008
- "parameters": [
2009
- {
2010
- "name": "context",
2011
- "type": {
2012
- "text": "ElementDefinitionContext"
2013
- }
2014
- },
2015
- {
2016
- "name": "definition",
2017
- "type": {
2018
- "text": "FoundationElementDefinition"
2019
- }
2020
- }
2021
- ]
2001
+ "kind": "variable",
2002
+ "name": "foundationAiCriteriaSearchStyles",
2003
+ "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`"
2022
2004
  }
2023
2005
  ],
2024
2006
  "exports": [
2025
2007
  {
2026
2008
  "kind": "js",
2027
- "name": "foundationAccordionItemStyles",
2009
+ "name": "foundationAiCriteriaSearchStyles",
2028
2010
  "declaration": {
2029
- "name": "foundationAccordionItemStyles",
2030
- "module": "src/accordion-item/accordion-item.styles.ts"
2011
+ "name": "foundationAiCriteriaSearchStyles",
2012
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2031
2013
  }
2032
2014
  }
2033
2015
  ]
2034
2016
  },
2035
2017
  {
2036
2018
  "kind": "javascript-module",
2037
- "path": "src/accordion-item/accordion-item.template.ts",
2019
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2038
2020
  "declarations": [
2039
2021
  {
2040
- "kind": "function",
2041
- "name": "foundationAccordionItemTemplate",
2042
- "return": {
2043
- "type": {
2044
- "text": "ViewTemplate<AccordionItem>"
2045
- }
2022
+ "kind": "variable",
2023
+ "name": "foundationAiCriteriaSearchTemplate",
2024
+ "type": {
2025
+ "text": "ViewTemplate<AiCriteriaSearch>"
2046
2026
  },
2047
- "parameters": [
2048
- {
2049
- "name": "context",
2050
- "type": {
2051
- "text": "ElementDefinitionContext"
2052
- }
2053
- },
2054
- {
2055
- "name": "definition",
2056
- "type": {
2057
- "text": "FoundationElementDefinition"
2058
- }
2059
- }
2060
- ]
2027
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2061
2028
  }
2062
2029
  ],
2063
2030
  "exports": [
2064
2031
  {
2065
2032
  "kind": "js",
2066
- "name": "foundationAccordionItemTemplate",
2033
+ "name": "foundationAiCriteriaSearchTemplate",
2067
2034
  "declaration": {
2068
- "name": "foundationAccordionItemTemplate",
2069
- "module": "src/accordion-item/accordion-item.template.ts"
2035
+ "name": "foundationAiCriteriaSearchTemplate",
2036
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2070
2037
  }
2071
2038
  }
2072
2039
  ]
2073
2040
  },
2074
2041
  {
2075
2042
  "kind": "javascript-module",
2076
- "path": "src/accordion-item/accordion-item.ts",
2043
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2077
2044
  "declarations": [
2078
2045
  {
2079
2046
  "kind": "class",
2080
- "description": "",
2081
- "name": "AccordionItem",
2082
- "superclass": {
2083
- "name": "FASTAccordionItem",
2084
- "package": "@microsoft/fast-components"
2085
- },
2086
- "tagName": "%%prefix%%-accordion-item",
2087
- "customElement": true,
2088
- "attributes": [
2047
+ "description": "Natural-language criteria search input with AI interpretation.",
2048
+ "name": "AiCriteriaSearch",
2049
+ "members": [
2089
2050
  {
2090
- "name": "heading-level",
2051
+ "kind": "field",
2052
+ "name": "providerRegistry",
2091
2053
  "type": {
2092
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2093
- },
2094
- "default": "2",
2095
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2096
- "fieldName": "headinglevel",
2097
- "inheritedFrom": {
2098
- "name": "AccordionItem",
2099
- "module": "src/accordion-item/accordion-item.ts"
2054
+ "text": "AIProviderRegistry"
2100
2055
  }
2101
2056
  },
2102
2057
  {
2058
+ "kind": "field",
2059
+ "name": "placeholder",
2103
2060
  "type": {
2104
- "text": "boolean"
2061
+ "text": "string"
2105
2062
  },
2106
- "default": "false",
2107
- "description": "Expands or collapses the item.",
2108
- "fieldName": "expanded",
2109
- "inheritedFrom": {
2110
- "name": "AccordionItem",
2111
- "module": "src/accordion-item/accordion-item.ts"
2063
+ "default": "'Describe your search criteria in natural language...'"
2064
+ },
2065
+ {
2066
+ "kind": "field",
2067
+ "name": "disabled",
2068
+ "type": {
2069
+ "text": "boolean"
2112
2070
  }
2113
2071
  },
2114
2072
  {
2115
- "name": "id",
2073
+ "kind": "field",
2074
+ "name": "inputValue",
2116
2075
  "type": {
2117
2076
  "text": "string"
2118
2077
  },
2119
- "description": "The item ID",
2120
- "fieldName": "id",
2121
- "inheritedFrom": {
2122
- "name": "AccordionItem",
2123
- "module": "src/accordion-item/accordion-item.ts"
2124
- }
2125
- }
2126
- ],
2127
- "members": [
2078
+ "default": "''"
2079
+ },
2128
2080
  {
2129
2081
  "kind": "field",
2130
- "name": "headinglevel",
2082
+ "name": "isInterpreting",
2131
2083
  "type": {
2132
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2084
+ "text": "boolean"
2133
2085
  },
2134
- "privacy": "public",
2135
- "default": "2",
2136
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2137
- "inheritedFrom": {
2138
- "name": "AccordionItem",
2139
- "module": "src/accordion-item/accordion-item.ts"
2140
- }
2086
+ "default": "false"
2141
2087
  },
2142
2088
  {
2143
2089
  "kind": "field",
2144
- "name": "expanded",
2090
+ "name": "lastValidCriteria",
2091
+ "type": {
2092
+ "text": "string | null"
2093
+ },
2094
+ "default": "null"
2095
+ },
2096
+ {
2097
+ "kind": "field",
2098
+ "name": "activeGroups",
2099
+ "type": {
2100
+ "text": "CriteriaGroup[]"
2101
+ },
2102
+ "default": "[]"
2103
+ },
2104
+ {
2105
+ "kind": "field",
2106
+ "name": "showingChips",
2145
2107
  "type": {
2146
2108
  "text": "boolean"
2147
2109
  },
2148
- "privacy": "public",
2149
- "default": "false",
2150
- "description": "Expands or collapses the item.",
2151
- "inheritedFrom": {
2152
- "name": "AccordionItem",
2153
- "module": "src/accordion-item/accordion-item.ts"
2154
- }
2110
+ "default": "false"
2155
2111
  },
2156
2112
  {
2157
2113
  "kind": "field",
2158
- "name": "id",
2114
+ "name": "fieldMetadata",
2159
2115
  "type": {
2160
- "text": "string"
2116
+ "text": "MetadataDetail[] | string[]"
2161
2117
  },
2162
- "privacy": "public",
2163
- "description": "The item ID",
2164
- "inheritedFrom": {
2165
- "name": "AccordionItem",
2166
- "module": "src/accordion-item/accordion-item.ts"
2167
- }
2118
+ "default": "[]"
2168
2119
  },
2169
2120
  {
2170
2121
  "kind": "field",
2171
- "name": "change",
2122
+ "name": "isRecording",
2123
+ "type": {
2124
+ "text": "boolean"
2125
+ },
2126
+ "default": "false"
2127
+ },
2128
+ {
2129
+ "kind": "field",
2130
+ "name": "textAreaRef",
2131
+ "type": {
2132
+ "text": "HTMLTextAreaElement"
2133
+ },
2134
+ "privacy": "public"
2135
+ },
2136
+ {
2137
+ "kind": "field",
2138
+ "name": "stopRecording",
2139
+ "type": {
2140
+ "text": "(() => void) | null"
2141
+ },
2172
2142
  "privacy": "private",
2173
- "inheritedFrom": {
2174
- "name": "AccordionItem",
2175
- "module": "src/accordion-item/accordion-item.ts"
2143
+ "default": "null"
2144
+ },
2145
+ {
2146
+ "kind": "field",
2147
+ "name": "speechApplyDebounceTimer",
2148
+ "type": {
2149
+ "text": "ReturnType<typeof setTimeout> | null"
2150
+ },
2151
+ "privacy": "private",
2152
+ "default": "null"
2153
+ },
2154
+ {
2155
+ "kind": "field",
2156
+ "name": "speechAvailable",
2157
+ "type": {
2158
+ "text": "boolean"
2159
+ },
2160
+ "readonly": true
2161
+ },
2162
+ {
2163
+ "kind": "field",
2164
+ "name": "criteriaChips",
2165
+ "type": {
2166
+ "text": "CriteriaChip[]"
2167
+ },
2168
+ "readonly": true
2169
+ },
2170
+ {
2171
+ "kind": "method",
2172
+ "name": "getFieldLabel",
2173
+ "privacy": "private",
2174
+ "return": {
2175
+ "type": {
2176
+ "text": "string"
2177
+ }
2178
+ },
2179
+ "parameters": [
2180
+ {
2181
+ "name": "fieldName",
2182
+ "type": {
2183
+ "text": "string"
2184
+ }
2185
+ }
2186
+ ]
2187
+ },
2188
+ {
2189
+ "kind": "method",
2190
+ "name": "toggleCriteriaView",
2191
+ "return": {
2192
+ "type": {
2193
+ "text": "void"
2194
+ }
2176
2195
  }
2177
2196
  },
2197
+ {
2198
+ "kind": "method",
2199
+ "name": "removeChip",
2200
+ "return": {
2201
+ "type": {
2202
+ "text": "void"
2203
+ }
2204
+ },
2205
+ "parameters": [
2206
+ {
2207
+ "name": "groupIndex",
2208
+ "type": {
2209
+ "text": "number"
2210
+ }
2211
+ },
2212
+ {
2213
+ "name": "clauseIndex",
2214
+ "type": {
2215
+ "text": "number"
2216
+ }
2217
+ }
2218
+ ]
2219
+ },
2220
+ {
2221
+ "kind": "method",
2222
+ "name": "clearChips",
2223
+ "return": {
2224
+ "type": {
2225
+ "text": "void"
2226
+ }
2227
+ }
2228
+ },
2229
+ {
2230
+ "kind": "method",
2231
+ "name": "handleSubmit"
2232
+ },
2233
+ {
2234
+ "kind": "method",
2235
+ "name": "handleBlur"
2236
+ },
2237
+ {
2238
+ "kind": "method",
2239
+ "name": "clear"
2240
+ },
2241
+ {
2242
+ "kind": "method",
2243
+ "name": "toggleSpeechInput"
2244
+ },
2245
+ {
2246
+ "kind": "method",
2247
+ "name": "clearSpeechApplyDebounce",
2248
+ "privacy": "private"
2249
+ },
2178
2250
  {
2179
2251
  "kind": "field",
2180
2252
  "name": "_presentation",
@@ -2289,84 +2361,152 @@
2289
2361
  ],
2290
2362
  "events": [
2291
2363
  {
2292
- "description": "Fires a custom 'change' event when the button is invoked",
2293
- "name": "change",
2294
- "inheritedFrom": {
2295
- "name": "AccordionItem",
2296
- "module": "src/accordion-item/accordion-item.ts"
2297
- }
2364
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2365
+ "name": "criteria-changed"
2366
+ },
2367
+ {
2368
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2369
+ "name": "validation-errors"
2298
2370
  }
2299
- ]
2371
+ ],
2372
+ "attributes": [
2373
+ {
2374
+ "name": "placeholder",
2375
+ "type": {
2376
+ "text": "string"
2377
+ },
2378
+ "default": "'Describe your search criteria in natural language...'",
2379
+ "fieldName": "placeholder"
2380
+ },
2381
+ {
2382
+ "type": {
2383
+ "text": "boolean"
2384
+ },
2385
+ "fieldName": "disabled"
2386
+ }
2387
+ ],
2388
+ "superclass": {
2389
+ "name": "FoundationElement",
2390
+ "package": "@microsoft/fast-foundation"
2391
+ },
2392
+ "tagName": "%%prefix%%-ai-criteria-search",
2393
+ "customElement": true
2300
2394
  },
2301
2395
  {
2302
2396
  "kind": "variable",
2303
- "name": "foundationAccordionItemShadowOptions",
2397
+ "name": "foundationAiCriteriaSearchShadowOptions",
2304
2398
  "type": {
2305
2399
  "text": "ShadowRootInit"
2306
2400
  },
2307
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2401
+ "default": "undefined"
2308
2402
  },
2309
2403
  {
2310
2404
  "kind": "variable",
2311
- "name": "defaultAccordionItemConfig",
2405
+ "name": "defaultAiCriteriaSearchConfig",
2312
2406
  "type": {
2313
2407
  "text": "object"
2314
2408
  },
2315
- "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}"
2409
+ "default": "{}"
2316
2410
  },
2317
2411
  {
2318
2412
  "kind": "variable",
2319
- "name": "foundationAccordionItem",
2320
- "description": "The Foundation Accordion Item",
2321
- "privacy": "public"
2413
+ "name": "foundationAiCriteriaSearch"
2322
2414
  }
2323
2415
  ],
2324
2416
  "exports": [
2325
2417
  {
2326
2418
  "kind": "js",
2327
- "name": "AccordionItem",
2419
+ "name": "AiCriteriaSearch",
2328
2420
  "declaration": {
2329
- "name": "AccordionItem",
2330
- "module": "src/accordion-item/accordion-item.ts"
2421
+ "name": "AiCriteriaSearch",
2422
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2331
2423
  }
2332
2424
  },
2333
2425
  {
2334
2426
  "kind": "js",
2335
- "name": "foundationAccordionItemShadowOptions",
2427
+ "name": "foundationAiCriteriaSearchShadowOptions",
2336
2428
  "declaration": {
2337
- "name": "foundationAccordionItemShadowOptions",
2338
- "module": "src/accordion-item/accordion-item.ts"
2429
+ "name": "foundationAiCriteriaSearchShadowOptions",
2430
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2339
2431
  }
2340
2432
  },
2341
2433
  {
2342
2434
  "kind": "js",
2343
- "name": "defaultAccordionItemConfig",
2435
+ "name": "defaultAiCriteriaSearchConfig",
2344
2436
  "declaration": {
2345
- "name": "defaultAccordionItemConfig",
2346
- "module": "src/accordion-item/accordion-item.ts"
2437
+ "name": "defaultAiCriteriaSearchConfig",
2438
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2347
2439
  }
2348
2440
  },
2349
2441
  {
2350
2442
  "kind": "js",
2351
- "name": "foundationAccordionItem",
2443
+ "name": "foundationAiCriteriaSearch",
2352
2444
  "declaration": {
2353
- "name": "foundationAccordionItem",
2354
- "module": "src/accordion-item/accordion-item.ts"
2445
+ "name": "foundationAiCriteriaSearch",
2446
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2355
2447
  }
2356
2448
  }
2357
2449
  ]
2358
2450
  },
2359
2451
  {
2360
2452
  "kind": "javascript-module",
2361
- "path": "src/accordion-item/index.ts",
2453
+ "path": "src/ai-criteria-search/index.ts",
2362
2454
  "declarations": [],
2363
2455
  "exports": [
2456
+ {
2457
+ "kind": "js",
2458
+ "name": "AiCriteriaSearch",
2459
+ "declaration": {
2460
+ "name": "AiCriteriaSearch",
2461
+ "module": "./ai-criteria-search"
2462
+ }
2463
+ },
2464
+ {
2465
+ "kind": "js",
2466
+ "name": "defaultAiCriteriaSearchConfig",
2467
+ "declaration": {
2468
+ "name": "defaultAiCriteriaSearchConfig",
2469
+ "module": "./ai-criteria-search"
2470
+ }
2471
+ },
2472
+ {
2473
+ "kind": "js",
2474
+ "name": "foundationAiCriteriaSearch",
2475
+ "declaration": {
2476
+ "name": "foundationAiCriteriaSearch",
2477
+ "module": "./ai-criteria-search"
2478
+ }
2479
+ },
2480
+ {
2481
+ "kind": "js",
2482
+ "name": "foundationAiCriteriaSearchShadowOptions",
2483
+ "declaration": {
2484
+ "name": "foundationAiCriteriaSearchShadowOptions",
2485
+ "module": "./ai-criteria-search"
2486
+ }
2487
+ },
2488
+ {
2489
+ "kind": "js",
2490
+ "name": "foundationAiCriteriaSearchStyles",
2491
+ "declaration": {
2492
+ "name": "foundationAiCriteriaSearchStyles",
2493
+ "module": "./ai-criteria-search.styles"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationAiCriteriaSearchTemplate",
2499
+ "declaration": {
2500
+ "name": "foundationAiCriteriaSearchTemplate",
2501
+ "module": "./ai-criteria-search.template"
2502
+ }
2503
+ },
2364
2504
  {
2365
2505
  "kind": "js",
2366
2506
  "name": "*",
2367
2507
  "declaration": {
2368
2508
  "name": "*",
2369
- "package": "./accordion-item.template"
2509
+ "package": "./validation/criteria-ir"
2370
2510
  }
2371
2511
  },
2372
2512
  {
@@ -2374,7 +2514,7 @@
2374
2514
  "name": "*",
2375
2515
  "declaration": {
2376
2516
  "name": "*",
2377
- "package": "./accordion-item.styles"
2517
+ "package": "./validation/operator-map"
2378
2518
  }
2379
2519
  },
2380
2520
  {
@@ -2382,18 +2522,93 @@
2382
2522
  "name": "*",
2383
2523
  "declaration": {
2384
2524
  "name": "*",
2385
- "package": "./accordion-item"
2525
+ "package": "./validation/schema-validator"
2386
2526
  }
2387
2527
  }
2388
2528
  ]
2389
2529
  },
2390
2530
  {
2391
2531
  "kind": "javascript-module",
2392
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2532
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2393
2533
  "declarations": [
2394
2534
  {
2395
2535
  "kind": "function",
2396
- "name": "foundationAiIndicatorStyles",
2536
+ "name": "formatValidationErrors",
2537
+ "return": {
2538
+ "type": {
2539
+ "text": "string"
2540
+ }
2541
+ },
2542
+ "parameters": [
2543
+ {
2544
+ "name": "errors",
2545
+ "type": {
2546
+ "text": "ValidationError[]"
2547
+ }
2548
+ }
2549
+ ],
2550
+ "description": "Formats validation errors into a user-friendly message."
2551
+ },
2552
+ {
2553
+ "kind": "function",
2554
+ "name": "showCriteriaError",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "void"
2558
+ }
2559
+ },
2560
+ "parameters": [
2561
+ {
2562
+ "name": "title",
2563
+ "type": {
2564
+ "text": "string"
2565
+ },
2566
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2567
+ },
2568
+ {
2569
+ "name": "body",
2570
+ "type": {
2571
+ "text": "string"
2572
+ },
2573
+ "description": "Error message to display"
2574
+ },
2575
+ {
2576
+ "name": "tagName",
2577
+ "type": {
2578
+ "text": "string"
2579
+ },
2580
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2581
+ }
2582
+ ],
2583
+ "description": "Shows a criteria error as a toast notification."
2584
+ }
2585
+ ],
2586
+ "exports": [
2587
+ {
2588
+ "kind": "js",
2589
+ "name": "formatValidationErrors",
2590
+ "declaration": {
2591
+ "name": "formatValidationErrors",
2592
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2593
+ }
2594
+ },
2595
+ {
2596
+ "kind": "js",
2597
+ "name": "showCriteriaError",
2598
+ "declaration": {
2599
+ "name": "showCriteriaError",
2600
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2601
+ }
2602
+ }
2603
+ ]
2604
+ },
2605
+ {
2606
+ "kind": "javascript-module",
2607
+ "path": "src/accordion-item/accordion-item.styles.ts",
2608
+ "declarations": [
2609
+ {
2610
+ "kind": "function",
2611
+ "name": "foundationAccordionItemStyles",
2397
2612
  "return": {
2398
2613
  "type": {
2399
2614
  "text": "ElementStyles"
@@ -2418,224 +2633,155 @@
2418
2633
  "exports": [
2419
2634
  {
2420
2635
  "kind": "js",
2421
- "name": "foundationAiIndicatorStyles",
2636
+ "name": "foundationAccordionItemStyles",
2422
2637
  "declaration": {
2423
- "name": "foundationAiIndicatorStyles",
2424
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2638
+ "name": "foundationAccordionItemStyles",
2639
+ "module": "src/accordion-item/accordion-item.styles.ts"
2425
2640
  }
2426
2641
  }
2427
2642
  ]
2428
2643
  },
2429
2644
  {
2430
2645
  "kind": "javascript-module",
2431
- "path": "src/ai-indicator/ai-indicator.template.ts",
2646
+ "path": "src/accordion-item/accordion-item.template.ts",
2432
2647
  "declarations": [
2433
2648
  {
2434
- "kind": "variable",
2435
- "name": "foundationAiIndicatorTemplate",
2436
- "type": {
2437
- "text": "ViewTemplate<AiIndicator>"
2649
+ "kind": "function",
2650
+ "name": "foundationAccordionItemTemplate",
2651
+ "return": {
2652
+ "type": {
2653
+ "text": "ViewTemplate<AccordionItem>"
2654
+ }
2438
2655
  },
2439
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2656
+ "parameters": [
2657
+ {
2658
+ "name": "context",
2659
+ "type": {
2660
+ "text": "ElementDefinitionContext"
2661
+ }
2662
+ },
2663
+ {
2664
+ "name": "definition",
2665
+ "type": {
2666
+ "text": "FoundationElementDefinition"
2667
+ }
2668
+ }
2669
+ ]
2440
2670
  }
2441
2671
  ],
2442
2672
  "exports": [
2443
2673
  {
2444
2674
  "kind": "js",
2445
- "name": "foundationAiIndicatorTemplate",
2675
+ "name": "foundationAccordionItemTemplate",
2446
2676
  "declaration": {
2447
- "name": "foundationAiIndicatorTemplate",
2448
- "module": "src/ai-indicator/ai-indicator.template.ts"
2677
+ "name": "foundationAccordionItemTemplate",
2678
+ "module": "src/accordion-item/accordion-item.template.ts"
2449
2679
  }
2450
2680
  }
2451
2681
  ]
2452
2682
  },
2453
2683
  {
2454
2684
  "kind": "javascript-module",
2455
- "path": "src/ai-indicator/ai-indicator.ts",
2685
+ "path": "src/accordion-item/accordion-item.ts",
2456
2686
  "declarations": [
2457
2687
  {
2458
2688
  "kind": "class",
2459
2689
  "description": "",
2460
- "name": "AiIndicator",
2461
- "members": [
2462
- {
2463
- "kind": "field",
2464
- "name": "providerRegistry",
2465
- "type": {
2466
- "text": "AIProviderRegistry"
2467
- }
2468
- },
2469
- {
2470
- "kind": "field",
2471
- "name": "aiProvider",
2472
- "type": {
2473
- "text": "AIProvider | undefined"
2474
- },
2475
- "privacy": "private",
2476
- "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.",
2477
- "readonly": true
2478
- },
2479
- {
2480
- "kind": "field",
2481
- "name": "status",
2482
- "type": {
2483
- "text": "AIStatus | null"
2484
- },
2485
- "default": "null"
2486
- },
2487
- {
2488
- "kind": "field",
2489
- "name": "open",
2490
- "type": {
2491
- "text": "boolean"
2492
- },
2493
- "default": "false"
2494
- },
2690
+ "name": "AccordionItem",
2691
+ "superclass": {
2692
+ "name": "FASTAccordionItem",
2693
+ "package": "@microsoft/fast-components"
2694
+ },
2695
+ "tagName": "%%prefix%%-accordion-item",
2696
+ "customElement": true,
2697
+ "attributes": [
2495
2698
  {
2496
- "kind": "field",
2497
- "name": "state",
2699
+ "name": "heading-level",
2498
2700
  "type": {
2499
- "text": "AIIndicatorState"
2701
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2500
2702
  },
2501
- "default": "'none'"
2703
+ "default": "2",
2704
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2705
+ "fieldName": "headinglevel",
2706
+ "inheritedFrom": {
2707
+ "name": "AccordionItem",
2708
+ "module": "src/accordion-item/accordion-item.ts"
2709
+ }
2502
2710
  },
2503
2711
  {
2504
- "kind": "field",
2505
- "name": "isInstalling",
2506
2712
  "type": {
2507
2713
  "text": "boolean"
2508
2714
  },
2509
- "default": "false"
2715
+ "default": "false",
2716
+ "description": "Expands or collapses the item.",
2717
+ "fieldName": "expanded",
2718
+ "inheritedFrom": {
2719
+ "name": "AccordionItem",
2720
+ "module": "src/accordion-item/accordion-item.ts"
2721
+ }
2510
2722
  },
2511
2723
  {
2512
- "kind": "field",
2513
- "name": "pollTimer",
2724
+ "name": "id",
2514
2725
  "type": {
2515
- "text": "ReturnType<typeof setInterval> | null"
2726
+ "text": "string"
2516
2727
  },
2517
- "privacy": "private",
2518
- "default": "null"
2519
- },
2520
- {
2521
- "kind": "field",
2522
- "name": "clickOutside",
2523
- "privacy": "private"
2524
- },
2728
+ "description": "The item ID",
2729
+ "fieldName": "id",
2730
+ "inheritedFrom": {
2731
+ "name": "AccordionItem",
2732
+ "module": "src/accordion-item/accordion-item.ts"
2733
+ }
2734
+ }
2735
+ ],
2736
+ "members": [
2525
2737
  {
2526
2738
  "kind": "field",
2527
- "name": "chromeStatusLabel",
2739
+ "name": "headinglevel",
2528
2740
  "type": {
2529
- "text": "string | null"
2741
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2530
2742
  },
2531
- "readonly": true
2743
+ "privacy": "public",
2744
+ "default": "2",
2745
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2746
+ "inheritedFrom": {
2747
+ "name": "AccordionItem",
2748
+ "module": "src/accordion-item/accordion-item.ts"
2749
+ }
2532
2750
  },
2533
2751
  {
2534
2752
  "kind": "field",
2535
- "name": "canInstall",
2753
+ "name": "expanded",
2536
2754
  "type": {
2537
2755
  "text": "boolean"
2538
2756
  },
2539
- "readonly": true
2757
+ "privacy": "public",
2758
+ "default": "false",
2759
+ "description": "Expands or collapses the item.",
2760
+ "inheritedFrom": {
2761
+ "name": "AccordionItem",
2762
+ "module": "src/accordion-item/accordion-item.ts"
2763
+ }
2540
2764
  },
2541
2765
  {
2542
2766
  "kind": "field",
2543
- "name": "isDownloading",
2767
+ "name": "id",
2544
2768
  "type": {
2545
- "text": "boolean"
2546
- },
2547
- "readonly": true
2548
- },
2549
- {
2550
- "kind": "method",
2551
- "name": "openChanged",
2552
- "return": {
2553
- "type": {
2554
- "text": "void"
2555
- }
2556
- }
2557
- },
2558
- {
2559
- "kind": "method",
2560
- "name": "handleClickOutside",
2561
- "privacy": "private",
2562
- "parameters": [
2563
- {
2564
- "name": "event",
2565
- "type": {
2566
- "text": "MouseEvent"
2567
- }
2568
- }
2569
- ]
2570
- },
2571
- {
2572
- "kind": "method",
2573
- "name": "toggleDropdown"
2574
- },
2575
- {
2576
- "kind": "method",
2577
- "name": "refreshStatus",
2578
- "return": {
2579
- "type": {
2580
- "text": "Promise<void>"
2581
- }
2582
- }
2583
- },
2584
- {
2585
- "kind": "method",
2586
- "name": "deriveState",
2587
- "privacy": "private",
2588
- "return": {
2589
- "type": {
2590
- "text": "AIIndicatorState"
2591
- }
2769
+ "text": "string"
2592
2770
  },
2593
- "parameters": [
2594
- {
2595
- "name": "s",
2596
- "type": {
2597
- "text": "AIStatus | null"
2598
- }
2599
- }
2600
- ]
2601
- },
2602
- {
2603
- "kind": "method",
2604
- "name": "maybeStartPolling",
2605
- "privacy": "private",
2606
- "return": {
2607
- "type": {
2608
- "text": "void"
2609
- }
2610
- }
2611
- },
2612
- {
2613
- "kind": "method",
2614
- "name": "startPolling",
2615
- "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "void"
2619
- }
2771
+ "privacy": "public",
2772
+ "description": "The item ID",
2773
+ "inheritedFrom": {
2774
+ "name": "AccordionItem",
2775
+ "module": "src/accordion-item/accordion-item.ts"
2620
2776
  }
2621
2777
  },
2622
2778
  {
2623
- "kind": "method",
2624
- "name": "stopPolling",
2779
+ "kind": "field",
2780
+ "name": "change",
2625
2781
  "privacy": "private",
2626
- "return": {
2627
- "type": {
2628
- "text": "void"
2629
- }
2630
- }
2631
- },
2632
- {
2633
- "kind": "method",
2634
- "name": "onInstall",
2635
- "return": {
2636
- "type": {
2637
- "text": "Promise<void>"
2638
- }
2782
+ "inheritedFrom": {
2783
+ "name": "AccordionItem",
2784
+ "module": "src/accordion-item/accordion-item.ts"
2639
2785
  }
2640
2786
  },
2641
2787
  {
@@ -2750,95 +2896,78 @@
2750
2896
  }
2751
2897
  }
2752
2898
  ],
2753
- "superclass": {
2754
- "name": "FoundationElement",
2755
- "package": "@microsoft/fast-foundation"
2756
- },
2757
- "tagName": "%%prefix%%-ai-indicator",
2758
- "customElement": true
2899
+ "events": [
2900
+ {
2901
+ "description": "Fires a custom 'change' event when the button is invoked",
2902
+ "name": "change",
2903
+ "inheritedFrom": {
2904
+ "name": "AccordionItem",
2905
+ "module": "src/accordion-item/accordion-item.ts"
2906
+ }
2907
+ }
2908
+ ]
2759
2909
  },
2760
2910
  {
2761
2911
  "kind": "variable",
2762
- "name": "foundationAiIndicator"
2763
- }
2764
- ],
2765
- "exports": [
2912
+ "name": "foundationAccordionItemShadowOptions",
2913
+ "type": {
2914
+ "text": "ShadowRootInit"
2915
+ },
2916
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2917
+ },
2766
2918
  {
2767
- "kind": "js",
2768
- "name": "AiIndicator",
2769
- "declaration": {
2770
- "name": "AiIndicator",
2771
- "module": "src/ai-indicator/ai-indicator.ts"
2772
- }
2919
+ "kind": "variable",
2920
+ "name": "defaultAccordionItemConfig",
2921
+ "type": {
2922
+ "text": "object"
2923
+ },
2924
+ "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}"
2773
2925
  },
2774
2926
  {
2775
- "kind": "js",
2776
- "name": "foundationAiIndicator",
2777
- "declaration": {
2778
- "name": "foundationAiIndicator",
2779
- "module": "src/ai-indicator/ai-indicator.ts"
2780
- }
2927
+ "kind": "variable",
2928
+ "name": "foundationAccordionItem",
2929
+ "description": "The Foundation Accordion Item",
2930
+ "privacy": "public"
2781
2931
  }
2782
- ]
2783
- },
2784
- {
2785
- "kind": "javascript-module",
2786
- "path": "src/ai-indicator/index.ts",
2787
- "declarations": [],
2932
+ ],
2788
2933
  "exports": [
2789
2934
  {
2790
2935
  "kind": "js",
2791
- "name": "AiIndicator",
2792
- "declaration": {
2793
- "name": "AiIndicator",
2794
- "module": "./ai-indicator"
2795
- }
2796
- },
2797
- {
2798
- "kind": "js",
2799
- "name": "foundationAiIndicator",
2800
- "declaration": {
2801
- "name": "foundationAiIndicator",
2802
- "module": "./ai-indicator"
2803
- }
2804
- },
2805
- {
2806
- "kind": "js",
2807
- "name": "type",
2936
+ "name": "AccordionItem",
2808
2937
  "declaration": {
2809
- "name": "type",
2810
- "module": "./ai-indicator"
2938
+ "name": "AccordionItem",
2939
+ "module": "src/accordion-item/accordion-item.ts"
2811
2940
  }
2812
2941
  },
2813
2942
  {
2814
2943
  "kind": "js",
2815
- "name": "AIIndicatorState",
2944
+ "name": "foundationAccordionItemShadowOptions",
2816
2945
  "declaration": {
2817
- "name": "AIIndicatorState",
2818
- "module": "./ai-indicator"
2946
+ "name": "foundationAccordionItemShadowOptions",
2947
+ "module": "src/accordion-item/accordion-item.ts"
2819
2948
  }
2820
2949
  },
2821
2950
  {
2822
2951
  "kind": "js",
2823
- "name": "foundationAiIndicatorTemplate",
2952
+ "name": "defaultAccordionItemConfig",
2824
2953
  "declaration": {
2825
- "name": "foundationAiIndicatorTemplate",
2826
- "module": "./ai-indicator.template"
2954
+ "name": "defaultAccordionItemConfig",
2955
+ "module": "src/accordion-item/accordion-item.ts"
2827
2956
  }
2828
2957
  },
2829
2958
  {
2830
2959
  "kind": "js",
2831
- "name": "foundationAiIndicatorStyles",
2960
+ "name": "foundationAccordionItem",
2832
2961
  "declaration": {
2833
- "name": "foundationAiIndicatorStyles",
2834
- "module": "./ai-indicator.styles"
2962
+ "name": "foundationAccordionItem",
2963
+ "module": "src/accordion-item/accordion-item.ts"
2835
2964
  }
2836
2965
  }
2837
2966
  ]
2838
2967
  },
2839
2968
  {
2840
2969
  "kind": "javascript-module",
2841
- "path": "src/_config/index.ts",
2970
+ "path": "src/accordion-item/index.ts",
2842
2971
  "declarations": [],
2843
2972
  "exports": [
2844
2973
  {
@@ -2846,7 +2975,7 @@
2846
2975
  "name": "*",
2847
2976
  "declaration": {
2848
2977
  "name": "*",
2849
- "package": "./styles"
2978
+ "package": "./accordion-item.template"
2850
2979
  }
2851
2980
  },
2852
2981
  {
@@ -2854,7 +2983,7 @@
2854
2983
  "name": "*",
2855
2984
  "declaration": {
2856
2985
  "name": "*",
2857
- "package": "./tokens"
2986
+ "package": "./accordion-item.styles"
2858
2987
  }
2859
2988
  },
2860
2989
  {
@@ -2862,64 +2991,82 @@
2862
2991
  "name": "*",
2863
2992
  "declaration": {
2864
2993
  "name": "*",
2865
- "package": "./values"
2994
+ "package": "./accordion-item"
2866
2995
  }
2867
2996
  }
2868
2997
  ]
2869
2998
  },
2870
2999
  {
2871
3000
  "kind": "javascript-module",
2872
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3001
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2873
3002
  "declarations": [
2874
3003
  {
2875
- "kind": "variable",
2876
- "name": "foundationAiCriteriaSearchStyles",
2877
- "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`"
3004
+ "kind": "function",
3005
+ "name": "foundationAiIndicatorStyles",
3006
+ "return": {
3007
+ "type": {
3008
+ "text": "ElementStyles"
3009
+ }
3010
+ },
3011
+ "parameters": [
3012
+ {
3013
+ "name": "context",
3014
+ "type": {
3015
+ "text": "ElementDefinitionContext"
3016
+ }
3017
+ },
3018
+ {
3019
+ "name": "definition",
3020
+ "type": {
3021
+ "text": "FoundationElementDefinition"
3022
+ }
3023
+ }
3024
+ ]
2878
3025
  }
2879
3026
  ],
2880
3027
  "exports": [
2881
3028
  {
2882
3029
  "kind": "js",
2883
- "name": "foundationAiCriteriaSearchStyles",
3030
+ "name": "foundationAiIndicatorStyles",
2884
3031
  "declaration": {
2885
- "name": "foundationAiCriteriaSearchStyles",
2886
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3032
+ "name": "foundationAiIndicatorStyles",
3033
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2887
3034
  }
2888
3035
  }
2889
3036
  ]
2890
3037
  },
2891
3038
  {
2892
3039
  "kind": "javascript-module",
2893
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3040
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2894
3041
  "declarations": [
2895
3042
  {
2896
3043
  "kind": "variable",
2897
- "name": "foundationAiCriteriaSearchTemplate",
3044
+ "name": "foundationAiIndicatorTemplate",
2898
3045
  "type": {
2899
- "text": "ViewTemplate<AiCriteriaSearch>"
3046
+ "text": "ViewTemplate<AiIndicator>"
2900
3047
  },
2901
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3048
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2902
3049
  }
2903
3050
  ],
2904
3051
  "exports": [
2905
3052
  {
2906
3053
  "kind": "js",
2907
- "name": "foundationAiCriteriaSearchTemplate",
3054
+ "name": "foundationAiIndicatorTemplate",
2908
3055
  "declaration": {
2909
- "name": "foundationAiCriteriaSearchTemplate",
2910
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3056
+ "name": "foundationAiIndicatorTemplate",
3057
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2911
3058
  }
2912
3059
  }
2913
3060
  ]
2914
3061
  },
2915
3062
  {
2916
3063
  "kind": "javascript-module",
2917
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3064
+ "path": "src/ai-indicator/ai-indicator.ts",
2918
3065
  "declarations": [
2919
3066
  {
2920
3067
  "kind": "class",
2921
- "description": "Natural-language criteria search input with AI interpretation.",
2922
- "name": "AiCriteriaSearch",
3068
+ "description": "",
3069
+ "name": "AiIndicator",
2923
3070
  "members": [
2924
3071
  {
2925
3072
  "kind": "field",
@@ -2930,54 +3077,25 @@
2930
3077
  },
2931
3078
  {
2932
3079
  "kind": "field",
2933
- "name": "placeholder",
2934
- "type": {
2935
- "text": "string"
2936
- },
2937
- "default": "'Describe your search criteria in natural language...'"
2938
- },
2939
- {
2940
- "kind": "field",
2941
- "name": "disabled",
2942
- "type": {
2943
- "text": "boolean"
2944
- }
2945
- },
2946
- {
2947
- "kind": "field",
2948
- "name": "inputValue",
2949
- "type": {
2950
- "text": "string"
2951
- },
2952
- "default": "''"
2953
- },
2954
- {
2955
- "kind": "field",
2956
- "name": "isInterpreting",
3080
+ "name": "aiProvider",
2957
3081
  "type": {
2958
- "text": "boolean"
3082
+ "text": "AIProvider | undefined"
2959
3083
  },
2960
- "default": "false"
3084
+ "privacy": "private",
3085
+ "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.",
3086
+ "readonly": true
2961
3087
  },
2962
3088
  {
2963
3089
  "kind": "field",
2964
- "name": "lastValidCriteria",
3090
+ "name": "status",
2965
3091
  "type": {
2966
- "text": "string | null"
3092
+ "text": "AIStatus | null"
2967
3093
  },
2968
3094
  "default": "null"
2969
3095
  },
2970
3096
  {
2971
3097
  "kind": "field",
2972
- "name": "activeGroups",
2973
- "type": {
2974
- "text": "CriteriaGroup[]"
2975
- },
2976
- "default": "[]"
2977
- },
2978
- {
2979
- "kind": "field",
2980
- "name": "showingChips",
3098
+ "name": "open",
2981
3099
  "type": {
2982
3100
  "text": "boolean"
2983
3101
  },
@@ -2985,15 +3103,15 @@
2985
3103
  },
2986
3104
  {
2987
3105
  "kind": "field",
2988
- "name": "fieldMetadata",
3106
+ "name": "state",
2989
3107
  "type": {
2990
- "text": "MetadataDetail[] | string[]"
3108
+ "text": "AIIndicatorState"
2991
3109
  },
2992
- "default": "[]"
3110
+ "default": "'none'"
2993
3111
  },
2994
3112
  {
2995
3113
  "kind": "field",
2996
- "name": "isRecording",
3114
+ "name": "isInstalling",
2997
3115
  "type": {
2998
3116
  "text": "boolean"
2999
3117
  },
@@ -3001,33 +3119,29 @@
3001
3119
  },
3002
3120
  {
3003
3121
  "kind": "field",
3004
- "name": "textAreaRef",
3122
+ "name": "pollTimer",
3005
3123
  "type": {
3006
- "text": "HTMLTextAreaElement"
3124
+ "text": "ReturnType<typeof setInterval> | null"
3007
3125
  },
3008
- "privacy": "public"
3126
+ "privacy": "private",
3127
+ "default": "null"
3009
3128
  },
3010
3129
  {
3011
3130
  "kind": "field",
3012
- "name": "stopRecording",
3013
- "type": {
3014
- "text": "(() => void) | null"
3015
- },
3016
- "privacy": "private",
3017
- "default": "null"
3131
+ "name": "clickOutside",
3132
+ "privacy": "private"
3018
3133
  },
3019
3134
  {
3020
3135
  "kind": "field",
3021
- "name": "speechApplyDebounceTimer",
3136
+ "name": "chromeStatusLabel",
3022
3137
  "type": {
3023
- "text": "ReturnType<typeof setTimeout> | null"
3138
+ "text": "string | null"
3024
3139
  },
3025
- "privacy": "private",
3026
- "default": "null"
3140
+ "readonly": true
3027
3141
  },
3028
3142
  {
3029
3143
  "kind": "field",
3030
- "name": "speechAvailable",
3144
+ "name": "canInstall",
3031
3145
  "type": {
3032
3146
  "text": "boolean"
3033
3147
  },
@@ -3035,65 +3149,69 @@
3035
3149
  },
3036
3150
  {
3037
3151
  "kind": "field",
3038
- "name": "criteriaChips",
3152
+ "name": "isDownloading",
3039
3153
  "type": {
3040
- "text": "CriteriaChip[]"
3154
+ "text": "boolean"
3041
3155
  },
3042
3156
  "readonly": true
3043
3157
  },
3044
3158
  {
3045
3159
  "kind": "method",
3046
- "name": "getFieldLabel",
3047
- "privacy": "private",
3160
+ "name": "openChanged",
3048
3161
  "return": {
3049
3162
  "type": {
3050
- "text": "string"
3163
+ "text": "void"
3051
3164
  }
3052
- },
3165
+ }
3166
+ },
3167
+ {
3168
+ "kind": "method",
3169
+ "name": "handleClickOutside",
3170
+ "privacy": "private",
3053
3171
  "parameters": [
3054
3172
  {
3055
- "name": "fieldName",
3173
+ "name": "event",
3056
3174
  "type": {
3057
- "text": "string"
3175
+ "text": "MouseEvent"
3058
3176
  }
3059
3177
  }
3060
3178
  ]
3061
3179
  },
3062
3180
  {
3063
3181
  "kind": "method",
3064
- "name": "toggleCriteriaView",
3182
+ "name": "toggleDropdown"
3183
+ },
3184
+ {
3185
+ "kind": "method",
3186
+ "name": "refreshStatus",
3065
3187
  "return": {
3066
3188
  "type": {
3067
- "text": "void"
3189
+ "text": "Promise<void>"
3068
3190
  }
3069
3191
  }
3070
3192
  },
3071
3193
  {
3072
3194
  "kind": "method",
3073
- "name": "removeChip",
3195
+ "name": "deriveState",
3196
+ "privacy": "private",
3074
3197
  "return": {
3075
3198
  "type": {
3076
- "text": "void"
3199
+ "text": "AIIndicatorState"
3077
3200
  }
3078
3201
  },
3079
3202
  "parameters": [
3080
3203
  {
3081
- "name": "groupIndex",
3082
- "type": {
3083
- "text": "number"
3084
- }
3085
- },
3086
- {
3087
- "name": "clauseIndex",
3204
+ "name": "s",
3088
3205
  "type": {
3089
- "text": "number"
3206
+ "text": "AIStatus | null"
3090
3207
  }
3091
3208
  }
3092
3209
  ]
3093
3210
  },
3094
3211
  {
3095
3212
  "kind": "method",
3096
- "name": "clearChips",
3213
+ "name": "maybeStartPolling",
3214
+ "privacy": "private",
3097
3215
  "return": {
3098
3216
  "type": {
3099
3217
  "text": "void"
@@ -3102,24 +3220,32 @@
3102
3220
  },
3103
3221
  {
3104
3222
  "kind": "method",
3105
- "name": "handleSubmit"
3106
- },
3107
- {
3108
- "kind": "method",
3109
- "name": "handleBlur"
3110
- },
3111
- {
3112
- "kind": "method",
3113
- "name": "clear"
3223
+ "name": "startPolling",
3224
+ "privacy": "private",
3225
+ "return": {
3226
+ "type": {
3227
+ "text": "void"
3228
+ }
3229
+ }
3114
3230
  },
3115
3231
  {
3116
3232
  "kind": "method",
3117
- "name": "toggleSpeechInput"
3233
+ "name": "stopPolling",
3234
+ "privacy": "private",
3235
+ "return": {
3236
+ "type": {
3237
+ "text": "void"
3238
+ }
3239
+ }
3118
3240
  },
3119
3241
  {
3120
3242
  "kind": "method",
3121
- "name": "clearSpeechApplyDebounce",
3122
- "privacy": "private"
3243
+ "name": "onInstall",
3244
+ "return": {
3245
+ "type": {
3246
+ "text": "Promise<void>"
3247
+ }
3248
+ }
3123
3249
  },
3124
3250
  {
3125
3251
  "kind": "field",
@@ -3233,154 +3359,103 @@
3233
3359
  }
3234
3360
  }
3235
3361
  ],
3236
- "events": [
3237
- {
3238
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3239
- "name": "criteria-changed"
3240
- },
3241
- {
3242
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3243
- "name": "validation-errors"
3244
- }
3245
- ],
3246
- "attributes": [
3247
- {
3248
- "name": "placeholder",
3249
- "type": {
3250
- "text": "string"
3251
- },
3252
- "default": "'Describe your search criteria in natural language...'",
3253
- "fieldName": "placeholder"
3254
- },
3255
- {
3256
- "type": {
3257
- "text": "boolean"
3258
- },
3259
- "fieldName": "disabled"
3260
- }
3261
- ],
3262
3362
  "superclass": {
3263
3363
  "name": "FoundationElement",
3264
3364
  "package": "@microsoft/fast-foundation"
3265
3365
  },
3266
- "tagName": "%%prefix%%-ai-criteria-search",
3366
+ "tagName": "%%prefix%%-ai-indicator",
3267
3367
  "customElement": true
3268
3368
  },
3269
3369
  {
3270
3370
  "kind": "variable",
3271
- "name": "foundationAiCriteriaSearchShadowOptions",
3272
- "type": {
3273
- "text": "ShadowRootInit"
3274
- },
3275
- "default": "undefined"
3276
- },
3277
- {
3278
- "kind": "variable",
3279
- "name": "defaultAiCriteriaSearchConfig",
3280
- "type": {
3281
- "text": "object"
3282
- },
3283
- "default": "{}"
3284
- },
3285
- {
3286
- "kind": "variable",
3287
- "name": "foundationAiCriteriaSearch"
3371
+ "name": "foundationAiIndicator"
3288
3372
  }
3289
3373
  ],
3290
3374
  "exports": [
3291
3375
  {
3292
3376
  "kind": "js",
3293
- "name": "AiCriteriaSearch",
3294
- "declaration": {
3295
- "name": "AiCriteriaSearch",
3296
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3297
- }
3298
- },
3299
- {
3300
- "kind": "js",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "declaration": {
3303
- "name": "foundationAiCriteriaSearchShadowOptions",
3304
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3305
- }
3306
- },
3307
- {
3308
- "kind": "js",
3309
- "name": "defaultAiCriteriaSearchConfig",
3377
+ "name": "AiIndicator",
3310
3378
  "declaration": {
3311
- "name": "defaultAiCriteriaSearchConfig",
3312
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3379
+ "name": "AiIndicator",
3380
+ "module": "src/ai-indicator/ai-indicator.ts"
3313
3381
  }
3314
3382
  },
3315
3383
  {
3316
3384
  "kind": "js",
3317
- "name": "foundationAiCriteriaSearch",
3385
+ "name": "foundationAiIndicator",
3318
3386
  "declaration": {
3319
- "name": "foundationAiCriteriaSearch",
3320
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3387
+ "name": "foundationAiIndicator",
3388
+ "module": "src/ai-indicator/ai-indicator.ts"
3321
3389
  }
3322
3390
  }
3323
3391
  ]
3324
3392
  },
3325
3393
  {
3326
3394
  "kind": "javascript-module",
3327
- "path": "src/ai-criteria-search/index.ts",
3395
+ "path": "src/ai-indicator/index.ts",
3328
3396
  "declarations": [],
3329
3397
  "exports": [
3330
3398
  {
3331
3399
  "kind": "js",
3332
- "name": "AiCriteriaSearch",
3400
+ "name": "AiIndicator",
3333
3401
  "declaration": {
3334
- "name": "AiCriteriaSearch",
3335
- "module": "./ai-criteria-search"
3402
+ "name": "AiIndicator",
3403
+ "module": "./ai-indicator"
3336
3404
  }
3337
3405
  },
3338
3406
  {
3339
3407
  "kind": "js",
3340
- "name": "defaultAiCriteriaSearchConfig",
3408
+ "name": "foundationAiIndicator",
3341
3409
  "declaration": {
3342
- "name": "defaultAiCriteriaSearchConfig",
3343
- "module": "./ai-criteria-search"
3410
+ "name": "foundationAiIndicator",
3411
+ "module": "./ai-indicator"
3344
3412
  }
3345
3413
  },
3346
3414
  {
3347
3415
  "kind": "js",
3348
- "name": "foundationAiCriteriaSearch",
3416
+ "name": "type",
3349
3417
  "declaration": {
3350
- "name": "foundationAiCriteriaSearch",
3351
- "module": "./ai-criteria-search"
3418
+ "name": "type",
3419
+ "module": "./ai-indicator"
3352
3420
  }
3353
3421
  },
3354
3422
  {
3355
3423
  "kind": "js",
3356
- "name": "foundationAiCriteriaSearchShadowOptions",
3424
+ "name": "AIIndicatorState",
3357
3425
  "declaration": {
3358
- "name": "foundationAiCriteriaSearchShadowOptions",
3359
- "module": "./ai-criteria-search"
3426
+ "name": "AIIndicatorState",
3427
+ "module": "./ai-indicator"
3360
3428
  }
3361
3429
  },
3362
3430
  {
3363
3431
  "kind": "js",
3364
- "name": "foundationAiCriteriaSearchStyles",
3432
+ "name": "foundationAiIndicatorTemplate",
3365
3433
  "declaration": {
3366
- "name": "foundationAiCriteriaSearchStyles",
3367
- "module": "./ai-criteria-search.styles"
3434
+ "name": "foundationAiIndicatorTemplate",
3435
+ "module": "./ai-indicator.template"
3368
3436
  }
3369
3437
  },
3370
3438
  {
3371
3439
  "kind": "js",
3372
- "name": "foundationAiCriteriaSearchTemplate",
3440
+ "name": "foundationAiIndicatorStyles",
3373
3441
  "declaration": {
3374
- "name": "foundationAiCriteriaSearchTemplate",
3375
- "module": "./ai-criteria-search.template"
3442
+ "name": "foundationAiIndicatorStyles",
3443
+ "module": "./ai-indicator.styles"
3376
3444
  }
3377
- },
3445
+ }
3446
+ ]
3447
+ },
3448
+ {
3449
+ "kind": "javascript-module",
3450
+ "path": "src/_config/index.ts",
3451
+ "declarations": [],
3452
+ "exports": [
3378
3453
  {
3379
3454
  "kind": "js",
3380
3455
  "name": "*",
3381
3456
  "declaration": {
3382
3457
  "name": "*",
3383
- "package": "./validation/criteria-ir"
3458
+ "package": "./styles"
3384
3459
  }
3385
3460
  },
3386
3461
  {
@@ -3388,7 +3463,7 @@
3388
3463
  "name": "*",
3389
3464
  "declaration": {
3390
3465
  "name": "*",
3391
- "package": "./validation/operator-map"
3466
+ "package": "./tokens"
3392
3467
  }
3393
3468
  },
3394
3469
  {
@@ -3396,82 +3471,7 @@
3396
3471
  "name": "*",
3397
3472
  "declaration": {
3398
3473
  "name": "*",
3399
- "package": "./validation/schema-validator"
3400
- }
3401
- }
3402
- ]
3403
- },
3404
- {
3405
- "kind": "javascript-module",
3406
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3407
- "declarations": [
3408
- {
3409
- "kind": "function",
3410
- "name": "formatValidationErrors",
3411
- "return": {
3412
- "type": {
3413
- "text": "string"
3414
- }
3415
- },
3416
- "parameters": [
3417
- {
3418
- "name": "errors",
3419
- "type": {
3420
- "text": "ValidationError[]"
3421
- }
3422
- }
3423
- ],
3424
- "description": "Formats validation errors into a user-friendly message."
3425
- },
3426
- {
3427
- "kind": "function",
3428
- "name": "showCriteriaError",
3429
- "return": {
3430
- "type": {
3431
- "text": "void"
3432
- }
3433
- },
3434
- "parameters": [
3435
- {
3436
- "name": "title",
3437
- "type": {
3438
- "text": "string"
3439
- },
3440
- "description": "Notification title (e.g. \"Criteria validation error\")"
3441
- },
3442
- {
3443
- "name": "body",
3444
- "type": {
3445
- "text": "string"
3446
- },
3447
- "description": "Error message to display"
3448
- },
3449
- {
3450
- "name": "tagName",
3451
- "type": {
3452
- "text": "string"
3453
- },
3454
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3455
- }
3456
- ],
3457
- "description": "Shows a criteria error as a toast notification."
3458
- }
3459
- ],
3460
- "exports": [
3461
- {
3462
- "kind": "js",
3463
- "name": "formatValidationErrors",
3464
- "declaration": {
3465
- "name": "formatValidationErrors",
3466
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3467
- }
3468
- },
3469
- {
3470
- "kind": "js",
3471
- "name": "showCriteriaError",
3472
- "declaration": {
3473
- "name": "showCriteriaError",
3474
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3474
+ "package": "./values"
3475
3475
  }
3476
3476
  }
3477
3477
  ]
@@ -59984,6 +59984,197 @@
59984
59984
  }
59985
59985
  ]
59986
59986
  },
59987
+ {
59988
+ "kind": "javascript-module",
59989
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59990
+ "declarations": [],
59991
+ "exports": []
59992
+ },
59993
+ {
59994
+ "kind": "javascript-module",
59995
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59996
+ "declarations": [
59997
+ {
59998
+ "kind": "function",
59999
+ "name": "groupsToCriteria",
60000
+ "return": {
60001
+ "type": {
60002
+ "text": "string"
60003
+ }
60004
+ },
60005
+ "parameters": [
60006
+ {
60007
+ "name": "groups",
60008
+ "type": {
60009
+ "text": "CriteriaGroup[]"
60010
+ }
60011
+ }
60012
+ ],
60013
+ "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."
60014
+ },
60015
+ {
60016
+ "kind": "variable",
60017
+ "name": "STRING_OPERATORS",
60018
+ "type": {
60019
+ "text": "CriteriaOperator[]"
60020
+ },
60021
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60022
+ },
60023
+ {
60024
+ "kind": "variable",
60025
+ "name": "NUMERIC_OPERATORS",
60026
+ "type": {
60027
+ "text": "CriteriaOperator[]"
60028
+ },
60029
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60030
+ },
60031
+ {
60032
+ "kind": "variable",
60033
+ "name": "DATE_OPERATORS",
60034
+ "type": {
60035
+ "text": "CriteriaOperator[]"
60036
+ },
60037
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60038
+ },
60039
+ {
60040
+ "kind": "variable",
60041
+ "name": "DATETIME_OPERATORS",
60042
+ "type": {
60043
+ "text": "CriteriaOperator[]"
60044
+ },
60045
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60046
+ },
60047
+ {
60048
+ "kind": "variable",
60049
+ "name": "OPERATOR_DISPLAY_LABEL",
60050
+ "type": {
60051
+ "text": "Record<CriteriaOperator, string>"
60052
+ },
60053
+ "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}"
60054
+ }
60055
+ ],
60056
+ "exports": [
60057
+ {
60058
+ "kind": "js",
60059
+ "name": "groupsToCriteria",
60060
+ "declaration": {
60061
+ "name": "groupsToCriteria",
60062
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60063
+ }
60064
+ },
60065
+ {
60066
+ "kind": "js",
60067
+ "name": "STRING_OPERATORS",
60068
+ "declaration": {
60069
+ "name": "STRING_OPERATORS",
60070
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60071
+ }
60072
+ },
60073
+ {
60074
+ "kind": "js",
60075
+ "name": "NUMERIC_OPERATORS",
60076
+ "declaration": {
60077
+ "name": "NUMERIC_OPERATORS",
60078
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60079
+ }
60080
+ },
60081
+ {
60082
+ "kind": "js",
60083
+ "name": "DATE_OPERATORS",
60084
+ "declaration": {
60085
+ "name": "DATE_OPERATORS",
60086
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60087
+ }
60088
+ },
60089
+ {
60090
+ "kind": "js",
60091
+ "name": "DATETIME_OPERATORS",
60092
+ "declaration": {
60093
+ "name": "DATETIME_OPERATORS",
60094
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60095
+ }
60096
+ },
60097
+ {
60098
+ "kind": "js",
60099
+ "name": "OPERATOR_DISPLAY_LABEL",
60100
+ "declaration": {
60101
+ "name": "OPERATOR_DISPLAY_LABEL",
60102
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60103
+ }
60104
+ }
60105
+ ]
60106
+ },
60107
+ {
60108
+ "kind": "javascript-module",
60109
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60110
+ "declarations": [
60111
+ {
60112
+ "kind": "function",
60113
+ "name": "validateClauses",
60114
+ "return": {
60115
+ "type": {
60116
+ "text": "ValidationResult"
60117
+ }
60118
+ },
60119
+ "parameters": [
60120
+ {
60121
+ "name": "clauses",
60122
+ "type": {
60123
+ "text": "CriteriaClause[]"
60124
+ }
60125
+ },
60126
+ {
60127
+ "name": "fieldMetadata",
60128
+ "type": {
60129
+ "text": "MetadataDetail[] | string[]"
60130
+ }
60131
+ }
60132
+ ]
60133
+ },
60134
+ {
60135
+ "kind": "function",
60136
+ "name": "validateGroups",
60137
+ "return": {
60138
+ "type": {
60139
+ "text": "GroupsValidationResult"
60140
+ }
60141
+ },
60142
+ "parameters": [
60143
+ {
60144
+ "name": "groups",
60145
+ "type": {
60146
+ "text": "CriteriaGroup[]"
60147
+ }
60148
+ },
60149
+ {
60150
+ "name": "fieldMetadata",
60151
+ "type": {
60152
+ "text": "MetadataDetail[] | string[]"
60153
+ }
60154
+ }
60155
+ ],
60156
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60157
+ }
60158
+ ],
60159
+ "exports": [
60160
+ {
60161
+ "kind": "js",
60162
+ "name": "validateClauses",
60163
+ "declaration": {
60164
+ "name": "validateClauses",
60165
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60166
+ }
60167
+ },
60168
+ {
60169
+ "kind": "js",
60170
+ "name": "validateGroups",
60171
+ "declaration": {
60172
+ "name": "validateGroups",
60173
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60174
+ }
60175
+ }
60176
+ ]
60177
+ },
59987
60178
  {
59988
60179
  "kind": "javascript-module",
59989
60180
  "path": "src/_config/styles/colors.ts",
@@ -61356,197 +61547,6 @@
61356
61547
  "declarations": [],
61357
61548
  "exports": []
61358
61549
  },
61359
- {
61360
- "kind": "javascript-module",
61361
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61362
- "declarations": [],
61363
- "exports": []
61364
- },
61365
- {
61366
- "kind": "javascript-module",
61367
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61368
- "declarations": [
61369
- {
61370
- "kind": "function",
61371
- "name": "groupsToCriteria",
61372
- "return": {
61373
- "type": {
61374
- "text": "string"
61375
- }
61376
- },
61377
- "parameters": [
61378
- {
61379
- "name": "groups",
61380
- "type": {
61381
- "text": "CriteriaGroup[]"
61382
- }
61383
- }
61384
- ],
61385
- "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."
61386
- },
61387
- {
61388
- "kind": "variable",
61389
- "name": "STRING_OPERATORS",
61390
- "type": {
61391
- "text": "CriteriaOperator[]"
61392
- },
61393
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61394
- },
61395
- {
61396
- "kind": "variable",
61397
- "name": "NUMERIC_OPERATORS",
61398
- "type": {
61399
- "text": "CriteriaOperator[]"
61400
- },
61401
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61402
- },
61403
- {
61404
- "kind": "variable",
61405
- "name": "DATE_OPERATORS",
61406
- "type": {
61407
- "text": "CriteriaOperator[]"
61408
- },
61409
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61410
- },
61411
- {
61412
- "kind": "variable",
61413
- "name": "DATETIME_OPERATORS",
61414
- "type": {
61415
- "text": "CriteriaOperator[]"
61416
- },
61417
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61418
- },
61419
- {
61420
- "kind": "variable",
61421
- "name": "OPERATOR_DISPLAY_LABEL",
61422
- "type": {
61423
- "text": "Record<CriteriaOperator, string>"
61424
- },
61425
- "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}"
61426
- }
61427
- ],
61428
- "exports": [
61429
- {
61430
- "kind": "js",
61431
- "name": "groupsToCriteria",
61432
- "declaration": {
61433
- "name": "groupsToCriteria",
61434
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61435
- }
61436
- },
61437
- {
61438
- "kind": "js",
61439
- "name": "STRING_OPERATORS",
61440
- "declaration": {
61441
- "name": "STRING_OPERATORS",
61442
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61443
- }
61444
- },
61445
- {
61446
- "kind": "js",
61447
- "name": "NUMERIC_OPERATORS",
61448
- "declaration": {
61449
- "name": "NUMERIC_OPERATORS",
61450
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61451
- }
61452
- },
61453
- {
61454
- "kind": "js",
61455
- "name": "DATE_OPERATORS",
61456
- "declaration": {
61457
- "name": "DATE_OPERATORS",
61458
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61459
- }
61460
- },
61461
- {
61462
- "kind": "js",
61463
- "name": "DATETIME_OPERATORS",
61464
- "declaration": {
61465
- "name": "DATETIME_OPERATORS",
61466
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61467
- }
61468
- },
61469
- {
61470
- "kind": "js",
61471
- "name": "OPERATOR_DISPLAY_LABEL",
61472
- "declaration": {
61473
- "name": "OPERATOR_DISPLAY_LABEL",
61474
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61475
- }
61476
- }
61477
- ]
61478
- },
61479
- {
61480
- "kind": "javascript-module",
61481
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61482
- "declarations": [
61483
- {
61484
- "kind": "function",
61485
- "name": "validateClauses",
61486
- "return": {
61487
- "type": {
61488
- "text": "ValidationResult"
61489
- }
61490
- },
61491
- "parameters": [
61492
- {
61493
- "name": "clauses",
61494
- "type": {
61495
- "text": "CriteriaClause[]"
61496
- }
61497
- },
61498
- {
61499
- "name": "fieldMetadata",
61500
- "type": {
61501
- "text": "MetadataDetail[] | string[]"
61502
- }
61503
- }
61504
- ]
61505
- },
61506
- {
61507
- "kind": "function",
61508
- "name": "validateGroups",
61509
- "return": {
61510
- "type": {
61511
- "text": "GroupsValidationResult"
61512
- }
61513
- },
61514
- "parameters": [
61515
- {
61516
- "name": "groups",
61517
- "type": {
61518
- "text": "CriteriaGroup[]"
61519
- }
61520
- },
61521
- {
61522
- "name": "fieldMetadata",
61523
- "type": {
61524
- "text": "MetadataDetail[] | string[]"
61525
- }
61526
- }
61527
- ],
61528
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61529
- }
61530
- ],
61531
- "exports": [
61532
- {
61533
- "kind": "js",
61534
- "name": "validateClauses",
61535
- "declaration": {
61536
- "name": "validateClauses",
61537
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61538
- }
61539
- },
61540
- {
61541
- "kind": "js",
61542
- "name": "validateGroups",
61543
- "declaration": {
61544
- "name": "validateGroups",
61545
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61546
- }
61547
- }
61548
- ]
61549
- },
61550
61550
  {
61551
61551
  "kind": "javascript-module",
61552
61552
  "path": "src/environment-indicator/utils/configure.ts",