@genesislcap/foundation-ui 15.10.6 → 15.11.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.
@@ -956,6 +956,472 @@
956
956
  }
957
957
  ]
958
958
  },
959
+ {
960
+ "kind": "javascript-module",
961
+ "path": "src/_common/affix-mixin.ts",
962
+ "declarations": [
963
+ {
964
+ "kind": "mixin",
965
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
966
+ "name": "AffixMixin",
967
+ "members": [
968
+ {
969
+ "kind": "field",
970
+ "name": "prefix",
971
+ "type": {
972
+ "text": "string"
973
+ },
974
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
975
+ },
976
+ {
977
+ "kind": "field",
978
+ "name": "suffix",
979
+ "type": {
980
+ "text": "string"
981
+ },
982
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "hideAffixFromScreenReader",
987
+ "type": {
988
+ "text": "boolean"
989
+ },
990
+ "default": "false",
991
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
992
+ }
993
+ ],
994
+ "parameters": [
995
+ {
996
+ "name": "Base",
997
+ "type": {
998
+ "text": "TBase"
999
+ }
1000
+ }
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "exports": [
1005
+ {
1006
+ "kind": "js",
1007
+ "name": "AffixMixin",
1008
+ "declaration": {
1009
+ "name": "AffixMixin",
1010
+ "module": "src/_common/affix-mixin.ts"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/_common/base-file-component.ts",
1018
+ "declarations": [
1019
+ {
1020
+ "kind": "class",
1021
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1022
+ "name": "BaseFileComponent",
1023
+ "members": [
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "fileInput",
1027
+ "type": {
1028
+ "text": "HTMLInputElement"
1029
+ },
1030
+ "privacy": "public"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "selectedFile",
1035
+ "type": {
1036
+ "text": "File | null"
1037
+ },
1038
+ "privacy": "protected",
1039
+ "default": "null"
1040
+ },
1041
+ {
1042
+ "kind": "field",
1043
+ "name": "label",
1044
+ "type": {
1045
+ "text": "string"
1046
+ }
1047
+ },
1048
+ {
1049
+ "kind": "field",
1050
+ "name": "accept",
1051
+ "type": {
1052
+ "text": "string"
1053
+ },
1054
+ "default": "''"
1055
+ },
1056
+ {
1057
+ "kind": "field",
1058
+ "name": "fileSizeLimitBytes",
1059
+ "default": "10_485_760",
1060
+ "type": {
1061
+ "text": "number"
1062
+ }
1063
+ },
1064
+ {
1065
+ "kind": "field",
1066
+ "name": "fileName",
1067
+ "type": {
1068
+ "text": "string"
1069
+ },
1070
+ "default": "''"
1071
+ },
1072
+ {
1073
+ "kind": "field",
1074
+ "name": "isProcessing",
1075
+ "type": {
1076
+ "text": "boolean"
1077
+ },
1078
+ "default": "false"
1079
+ },
1080
+ {
1081
+ "kind": "method",
1082
+ "name": "handleClick",
1083
+ "privacy": "public",
1084
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1085
+ },
1086
+ {
1087
+ "kind": "method",
1088
+ "name": "onInputChange",
1089
+ "privacy": "public",
1090
+ "parameters": [
1091
+ {
1092
+ "name": "e",
1093
+ "type": {
1094
+ "text": "Event"
1095
+ },
1096
+ "description": "The change event from the file input"
1097
+ }
1098
+ ],
1099
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1100
+ },
1101
+ {
1102
+ "kind": "method",
1103
+ "name": "clearSelection",
1104
+ "privacy": "public",
1105
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1106
+ },
1107
+ {
1108
+ "kind": "method",
1109
+ "name": "getSelectedFile",
1110
+ "privacy": "public",
1111
+ "description": "Gets the currently selected file object",
1112
+ "return": {
1113
+ "type": {
1114
+ "text": ""
1115
+ }
1116
+ }
1117
+ },
1118
+ {
1119
+ "kind": "method",
1120
+ "name": "showError",
1121
+ "privacy": "protected",
1122
+ "parameters": [
1123
+ {
1124
+ "name": "title",
1125
+ "type": {
1126
+ "text": "string"
1127
+ },
1128
+ "description": "The error title"
1129
+ },
1130
+ {
1131
+ "name": "message",
1132
+ "type": {
1133
+ "text": "string"
1134
+ },
1135
+ "description": "The error message"
1136
+ }
1137
+ ],
1138
+ "description": "Shows an error notification using the unified error handling system"
1139
+ },
1140
+ {
1141
+ "kind": "method",
1142
+ "name": "onFileSelected",
1143
+ "privacy": "protected",
1144
+ "return": {
1145
+ "type": {
1146
+ "text": "void"
1147
+ }
1148
+ },
1149
+ "parameters": [
1150
+ {
1151
+ "name": "files",
1152
+ "type": {
1153
+ "text": "File[]"
1154
+ },
1155
+ "description": "The selected file"
1156
+ }
1157
+ ],
1158
+ "description": "Abstract method called when a file is selected"
1159
+ },
1160
+ {
1161
+ "kind": "method",
1162
+ "name": "onFileCleared",
1163
+ "privacy": "protected",
1164
+ "return": {
1165
+ "type": {
1166
+ "text": "void"
1167
+ }
1168
+ },
1169
+ "description": "Abstract method called when file selection is cleared"
1170
+ },
1171
+ {
1172
+ "kind": "field",
1173
+ "name": "_presentation",
1174
+ "type": {
1175
+ "text": "ComponentPresentation | null | undefined"
1176
+ },
1177
+ "privacy": "private",
1178
+ "default": "void 0",
1179
+ "inheritedFrom": {
1180
+ "name": "FoundationElement",
1181
+ "module": "src/foundation-element/foundation-element.ts"
1182
+ }
1183
+ },
1184
+ {
1185
+ "kind": "field",
1186
+ "name": "$presentation",
1187
+ "type": {
1188
+ "text": "ComponentPresentation | null"
1189
+ },
1190
+ "privacy": "public",
1191
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1192
+ "inheritedFrom": {
1193
+ "name": "FoundationElement",
1194
+ "module": "src/foundation-element/foundation-element.ts"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "field",
1199
+ "name": "template",
1200
+ "type": {
1201
+ "text": "ElementViewTemplate | void | null"
1202
+ },
1203
+ "privacy": "public",
1204
+ "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.",
1205
+ "inheritedFrom": {
1206
+ "name": "FoundationElement",
1207
+ "module": "src/foundation-element/foundation-element.ts"
1208
+ }
1209
+ },
1210
+ {
1211
+ "kind": "method",
1212
+ "name": "templateChanged",
1213
+ "privacy": "protected",
1214
+ "return": {
1215
+ "type": {
1216
+ "text": "void"
1217
+ }
1218
+ },
1219
+ "inheritedFrom": {
1220
+ "name": "FoundationElement",
1221
+ "module": "src/foundation-element/foundation-element.ts"
1222
+ }
1223
+ },
1224
+ {
1225
+ "kind": "field",
1226
+ "name": "styles",
1227
+ "type": {
1228
+ "text": "ElementStyles | void | null"
1229
+ },
1230
+ "privacy": "public",
1231
+ "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.",
1232
+ "inheritedFrom": {
1233
+ "name": "FoundationElement",
1234
+ "module": "src/foundation-element/foundation-element.ts"
1235
+ }
1236
+ },
1237
+ {
1238
+ "kind": "method",
1239
+ "name": "stylesChanged",
1240
+ "privacy": "protected",
1241
+ "return": {
1242
+ "type": {
1243
+ "text": "void"
1244
+ }
1245
+ },
1246
+ "inheritedFrom": {
1247
+ "name": "FoundationElement",
1248
+ "module": "src/foundation-element/foundation-element.ts"
1249
+ }
1250
+ },
1251
+ {
1252
+ "kind": "method",
1253
+ "name": "compose",
1254
+ "privacy": "public",
1255
+ "static": true,
1256
+ "return": {
1257
+ "type": {
1258
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1259
+ }
1260
+ },
1261
+ "parameters": [
1262
+ {
1263
+ "name": "this",
1264
+ "type": {
1265
+ "text": "K"
1266
+ }
1267
+ },
1268
+ {
1269
+ "name": "elementDefinition",
1270
+ "type": {
1271
+ "text": "T"
1272
+ },
1273
+ "description": "The definition of the element to create the registry\nfunction for."
1274
+ }
1275
+ ],
1276
+ "description": "Defines an element registry function with a set of element definition defaults.",
1277
+ "inheritedFrom": {
1278
+ "name": "FoundationElement",
1279
+ "module": "src/foundation-element/foundation-element.ts"
1280
+ }
1281
+ }
1282
+ ],
1283
+ "events": [
1284
+ {
1285
+ "description": "Fired when file size validation fails. detail: `Error`",
1286
+ "name": "error"
1287
+ },
1288
+ {
1289
+ "description": "Fired when selection is cleared",
1290
+ "name": "clear"
1291
+ }
1292
+ ],
1293
+ "attributes": [
1294
+ {
1295
+ "name": "label",
1296
+ "type": {
1297
+ "text": "string"
1298
+ },
1299
+ "fieldName": "label"
1300
+ },
1301
+ {
1302
+ "name": "accept",
1303
+ "type": {
1304
+ "text": "string"
1305
+ },
1306
+ "default": "''",
1307
+ "fieldName": "accept"
1308
+ },
1309
+ {
1310
+ "name": "file-size-limit-bytes",
1311
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1312
+ "resolveInitializer": {
1313
+ "module": "src/_common/base-file-component.ts"
1314
+ },
1315
+ "fieldName": "fileSizeLimitBytes"
1316
+ }
1317
+ ],
1318
+ "superclass": {
1319
+ "name": "FoundationElement",
1320
+ "package": "@microsoft/fast-foundation"
1321
+ }
1322
+ }
1323
+ ],
1324
+ "exports": [
1325
+ {
1326
+ "kind": "js",
1327
+ "name": "BaseFileComponent",
1328
+ "declaration": {
1329
+ "name": "BaseFileComponent",
1330
+ "module": "src/_common/base-file-component.ts"
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "kind": "javascript-module",
1337
+ "path": "src/_common/field-styles.ts",
1338
+ "declarations": [
1339
+ {
1340
+ "kind": "variable",
1341
+ "name": "sharedFieldStyles",
1342
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1343
+ }
1344
+ ],
1345
+ "exports": [
1346
+ {
1347
+ "kind": "js",
1348
+ "name": "sharedFieldStyles",
1349
+ "declaration": {
1350
+ "name": "sharedFieldStyles",
1351
+ "module": "src/_common/field-styles.ts"
1352
+ }
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "kind": "javascript-module",
1358
+ "path": "src/_common/icons.ts",
1359
+ "declarations": [
1360
+ {
1361
+ "kind": "function",
1362
+ "name": "closeIcon",
1363
+ "parameters": [
1364
+ {
1365
+ "name": "slot",
1366
+ "default": "'start'"
1367
+ },
1368
+ {
1369
+ "name": "fill",
1370
+ "default": "'#879ba6'"
1371
+ }
1372
+ ]
1373
+ }
1374
+ ],
1375
+ "exports": [
1376
+ {
1377
+ "kind": "js",
1378
+ "name": "closeIcon",
1379
+ "declaration": {
1380
+ "name": "closeIcon",
1381
+ "module": "src/_common/icons.ts"
1382
+ }
1383
+ }
1384
+ ]
1385
+ },
1386
+ {
1387
+ "kind": "javascript-module",
1388
+ "path": "src/_common/index.ts",
1389
+ "declarations": [],
1390
+ "exports": [
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./affix-mixin"
1397
+ }
1398
+ },
1399
+ {
1400
+ "kind": "js",
1401
+ "name": "*",
1402
+ "declaration": {
1403
+ "name": "*",
1404
+ "package": "./base-file-component"
1405
+ }
1406
+ },
1407
+ {
1408
+ "kind": "js",
1409
+ "name": "*",
1410
+ "declaration": {
1411
+ "name": "*",
1412
+ "package": "./field-styles"
1413
+ }
1414
+ },
1415
+ {
1416
+ "kind": "js",
1417
+ "name": "*",
1418
+ "declaration": {
1419
+ "name": "*",
1420
+ "package": "./icons"
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
959
1425
  {
960
1426
  "kind": "javascript-module",
961
1427
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1350,6 +1816,37 @@
1350
1816
  }
1351
1817
  ]
1352
1818
  },
1819
+ {
1820
+ "kind": "javascript-module",
1821
+ "path": "src/_config/index.ts",
1822
+ "declarations": [],
1823
+ "exports": [
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./styles"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "*",
1835
+ "declaration": {
1836
+ "name": "*",
1837
+ "package": "./tokens"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "js",
1842
+ "name": "*",
1843
+ "declaration": {
1844
+ "name": "*",
1845
+ "package": "./values"
1846
+ }
1847
+ }
1848
+ ]
1849
+ },
1353
1850
  {
1354
1851
  "kind": "javascript-module",
1355
1852
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1923,623 +2420,53 @@
1923
2420
  },
1924
2421
  {
1925
2422
  "kind": "javascript-module",
1926
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1927
- "declarations": [
1928
- {
1929
- "kind": "variable",
1930
- "name": "foundationAiCriteriaSearchStyles",
1931
- "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`"
1932
- }
1933
- ],
1934
- "exports": [
1935
- {
1936
- "kind": "js",
1937
- "name": "foundationAiCriteriaSearchStyles",
1938
- "declaration": {
1939
- "name": "foundationAiCriteriaSearchStyles",
1940
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1941
- }
1942
- }
1943
- ]
1944
- },
1945
- {
1946
- "kind": "javascript-module",
1947
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1948
- "declarations": [
1949
- {
1950
- "kind": "variable",
1951
- "name": "foundationAiCriteriaSearchTemplate",
1952
- "type": {
1953
- "text": "ViewTemplate<AiCriteriaSearch>"
1954
- },
1955
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1956
- }
1957
- ],
1958
- "exports": [
1959
- {
1960
- "kind": "js",
1961
- "name": "foundationAiCriteriaSearchTemplate",
1962
- "declaration": {
1963
- "name": "foundationAiCriteriaSearchTemplate",
1964
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1965
- }
1966
- }
1967
- ]
1968
- },
1969
- {
1970
- "kind": "javascript-module",
1971
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1972
- "declarations": [
1973
- {
1974
- "kind": "class",
1975
- "description": "Natural-language criteria search input with AI interpretation.",
1976
- "name": "AiCriteriaSearch",
1977
- "members": [
1978
- {
1979
- "kind": "field",
1980
- "name": "providerRegistry",
1981
- "type": {
1982
- "text": "AIProviderRegistry"
1983
- }
1984
- },
1985
- {
1986
- "kind": "field",
1987
- "name": "placeholder",
1988
- "type": {
1989
- "text": "string"
1990
- },
1991
- "default": "'Describe your search criteria in natural language...'"
1992
- },
1993
- {
1994
- "kind": "field",
1995
- "name": "disabled",
1996
- "type": {
1997
- "text": "boolean"
1998
- }
1999
- },
2000
- {
2001
- "kind": "field",
2002
- "name": "inputValue",
2003
- "type": {
2004
- "text": "string"
2005
- },
2006
- "default": "''"
2007
- },
2008
- {
2009
- "kind": "field",
2010
- "name": "isInterpreting",
2011
- "type": {
2012
- "text": "boolean"
2013
- },
2014
- "default": "false"
2015
- },
2016
- {
2017
- "kind": "field",
2018
- "name": "lastValidCriteria",
2019
- "type": {
2020
- "text": "string | null"
2021
- },
2022
- "default": "null"
2023
- },
2024
- {
2025
- "kind": "field",
2026
- "name": "activeGroups",
2027
- "type": {
2028
- "text": "CriteriaGroup[]"
2029
- },
2030
- "default": "[]"
2031
- },
2032
- {
2033
- "kind": "field",
2034
- "name": "showingChips",
2035
- "type": {
2036
- "text": "boolean"
2037
- },
2038
- "default": "false"
2039
- },
2040
- {
2041
- "kind": "field",
2042
- "name": "fieldMetadata",
2043
- "type": {
2044
- "text": "MetadataDetail[] | string[]"
2045
- },
2046
- "default": "[]"
2047
- },
2048
- {
2049
- "kind": "field",
2050
- "name": "isRecording",
2051
- "type": {
2052
- "text": "boolean"
2053
- },
2054
- "default": "false"
2055
- },
2056
- {
2057
- "kind": "field",
2058
- "name": "textAreaRef",
2059
- "type": {
2060
- "text": "HTMLTextAreaElement"
2061
- },
2062
- "privacy": "public"
2063
- },
2064
- {
2065
- "kind": "field",
2066
- "name": "stopRecording",
2067
- "type": {
2068
- "text": "(() => void) | null"
2069
- },
2070
- "privacy": "private",
2071
- "default": "null"
2072
- },
2073
- {
2074
- "kind": "field",
2075
- "name": "speechApplyDebounceTimer",
2076
- "type": {
2077
- "text": "ReturnType<typeof setTimeout> | null"
2078
- },
2079
- "privacy": "private",
2080
- "default": "null"
2081
- },
2082
- {
2083
- "kind": "field",
2084
- "name": "speechAvailable",
2085
- "type": {
2086
- "text": "boolean"
2087
- },
2088
- "readonly": true
2089
- },
2090
- {
2091
- "kind": "field",
2092
- "name": "criteriaChips",
2093
- "type": {
2094
- "text": "CriteriaChip[]"
2095
- },
2096
- "readonly": true
2097
- },
2098
- {
2099
- "kind": "method",
2100
- "name": "getFieldLabel",
2101
- "privacy": "private",
2102
- "return": {
2103
- "type": {
2104
- "text": "string"
2105
- }
2106
- },
2107
- "parameters": [
2108
- {
2109
- "name": "fieldName",
2110
- "type": {
2111
- "text": "string"
2112
- }
2113
- }
2114
- ]
2115
- },
2116
- {
2117
- "kind": "method",
2118
- "name": "toggleCriteriaView",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- }
2124
- },
2125
- {
2126
- "kind": "method",
2127
- "name": "removeChip",
2128
- "return": {
2129
- "type": {
2130
- "text": "void"
2131
- }
2132
- },
2133
- "parameters": [
2134
- {
2135
- "name": "groupIndex",
2136
- "type": {
2137
- "text": "number"
2138
- }
2139
- },
2140
- {
2141
- "name": "clauseIndex",
2142
- "type": {
2143
- "text": "number"
2144
- }
2145
- }
2146
- ]
2147
- },
2148
- {
2149
- "kind": "method",
2150
- "name": "clearChips",
2151
- "return": {
2152
- "type": {
2153
- "text": "void"
2154
- }
2155
- }
2156
- },
2157
- {
2158
- "kind": "method",
2159
- "name": "handleSubmit"
2160
- },
2161
- {
2162
- "kind": "method",
2163
- "name": "handleBlur"
2164
- },
2165
- {
2166
- "kind": "method",
2167
- "name": "clear"
2168
- },
2169
- {
2170
- "kind": "method",
2171
- "name": "toggleSpeechInput"
2172
- },
2173
- {
2174
- "kind": "method",
2175
- "name": "clearSpeechApplyDebounce",
2176
- "privacy": "private"
2177
- },
2178
- {
2179
- "kind": "field",
2180
- "name": "_presentation",
2181
- "type": {
2182
- "text": "ComponentPresentation | null | undefined"
2183
- },
2184
- "privacy": "private",
2185
- "default": "void 0",
2186
- "inheritedFrom": {
2187
- "name": "FoundationElement",
2188
- "module": "src/foundation-element/foundation-element.ts"
2189
- }
2190
- },
2191
- {
2192
- "kind": "field",
2193
- "name": "$presentation",
2194
- "type": {
2195
- "text": "ComponentPresentation | null"
2196
- },
2197
- "privacy": "public",
2198
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2199
- "inheritedFrom": {
2200
- "name": "FoundationElement",
2201
- "module": "src/foundation-element/foundation-element.ts"
2202
- }
2203
- },
2204
- {
2205
- "kind": "field",
2206
- "name": "template",
2207
- "type": {
2208
- "text": "ElementViewTemplate | void | null"
2209
- },
2210
- "privacy": "public",
2211
- "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.",
2212
- "inheritedFrom": {
2213
- "name": "FoundationElement",
2214
- "module": "src/foundation-element/foundation-element.ts"
2215
- }
2216
- },
2217
- {
2218
- "kind": "method",
2219
- "name": "templateChanged",
2220
- "privacy": "protected",
2221
- "return": {
2222
- "type": {
2223
- "text": "void"
2224
- }
2225
- },
2226
- "inheritedFrom": {
2227
- "name": "FoundationElement",
2228
- "module": "src/foundation-element/foundation-element.ts"
2229
- }
2230
- },
2231
- {
2232
- "kind": "field",
2233
- "name": "styles",
2234
- "type": {
2235
- "text": "ElementStyles | void | null"
2236
- },
2237
- "privacy": "public",
2238
- "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.",
2239
- "inheritedFrom": {
2240
- "name": "FoundationElement",
2241
- "module": "src/foundation-element/foundation-element.ts"
2242
- }
2243
- },
2244
- {
2245
- "kind": "method",
2246
- "name": "stylesChanged",
2247
- "privacy": "protected",
2248
- "return": {
2249
- "type": {
2250
- "text": "void"
2251
- }
2252
- },
2253
- "inheritedFrom": {
2254
- "name": "FoundationElement",
2255
- "module": "src/foundation-element/foundation-element.ts"
2256
- }
2257
- },
2258
- {
2259
- "kind": "method",
2260
- "name": "compose",
2261
- "privacy": "public",
2262
- "static": true,
2263
- "return": {
2264
- "type": {
2265
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2266
- }
2267
- },
2268
- "parameters": [
2269
- {
2270
- "name": "this",
2271
- "type": {
2272
- "text": "K"
2273
- }
2274
- },
2275
- {
2276
- "name": "elementDefinition",
2277
- "type": {
2278
- "text": "T"
2279
- },
2280
- "description": "The definition of the element to create the registry\nfunction for."
2281
- }
2282
- ],
2283
- "description": "Defines an element registry function with a set of element definition defaults.",
2284
- "inheritedFrom": {
2285
- "name": "FoundationElement",
2286
- "module": "src/foundation-element/foundation-element.ts"
2287
- }
2288
- }
2289
- ],
2290
- "events": [
2291
- {
2292
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2293
- "name": "criteria-changed"
2294
- },
2295
- {
2296
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2297
- "name": "validation-errors"
2298
- }
2299
- ],
2300
- "attributes": [
2301
- {
2302
- "name": "placeholder",
2303
- "type": {
2304
- "text": "string"
2305
- },
2306
- "default": "'Describe your search criteria in natural language...'",
2307
- "fieldName": "placeholder"
2308
- },
2309
- {
2310
- "type": {
2311
- "text": "boolean"
2312
- },
2313
- "fieldName": "disabled"
2314
- }
2315
- ],
2316
- "superclass": {
2317
- "name": "FoundationElement",
2318
- "package": "@microsoft/fast-foundation"
2319
- },
2320
- "tagName": "%%prefix%%-ai-criteria-search",
2321
- "customElement": true
2322
- },
2323
- {
2324
- "kind": "variable",
2325
- "name": "foundationAiCriteriaSearchShadowOptions",
2326
- "type": {
2327
- "text": "ShadowRootInit"
2328
- },
2329
- "default": "undefined"
2330
- },
2331
- {
2332
- "kind": "variable",
2333
- "name": "defaultAiCriteriaSearchConfig",
2334
- "type": {
2335
- "text": "object"
2336
- },
2337
- "default": "{}"
2338
- },
2339
- {
2340
- "kind": "variable",
2341
- "name": "foundationAiCriteriaSearch"
2342
- }
2343
- ],
2344
- "exports": [
2345
- {
2346
- "kind": "js",
2347
- "name": "AiCriteriaSearch",
2348
- "declaration": {
2349
- "name": "AiCriteriaSearch",
2350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2351
- }
2352
- },
2353
- {
2354
- "kind": "js",
2355
- "name": "foundationAiCriteriaSearchShadowOptions",
2356
- "declaration": {
2357
- "name": "foundationAiCriteriaSearchShadowOptions",
2358
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2359
- }
2360
- },
2361
- {
2362
- "kind": "js",
2363
- "name": "defaultAiCriteriaSearchConfig",
2364
- "declaration": {
2365
- "name": "defaultAiCriteriaSearchConfig",
2366
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2367
- }
2368
- },
2369
- {
2370
- "kind": "js",
2371
- "name": "foundationAiCriteriaSearch",
2372
- "declaration": {
2373
- "name": "foundationAiCriteriaSearch",
2374
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2375
- }
2376
- }
2377
- ]
2378
- },
2379
- {
2380
- "kind": "javascript-module",
2381
- "path": "src/ai-criteria-search/index.ts",
2382
- "declarations": [],
2383
- "exports": [
2384
- {
2385
- "kind": "js",
2386
- "name": "AiCriteriaSearch",
2387
- "declaration": {
2388
- "name": "AiCriteriaSearch",
2389
- "module": "./ai-criteria-search"
2390
- }
2391
- },
2392
- {
2393
- "kind": "js",
2394
- "name": "defaultAiCriteriaSearchConfig",
2395
- "declaration": {
2396
- "name": "defaultAiCriteriaSearchConfig",
2397
- "module": "./ai-criteria-search"
2398
- }
2399
- },
2400
- {
2401
- "kind": "js",
2402
- "name": "foundationAiCriteriaSearch",
2403
- "declaration": {
2404
- "name": "foundationAiCriteriaSearch",
2405
- "module": "./ai-criteria-search"
2406
- }
2407
- },
2408
- {
2409
- "kind": "js",
2410
- "name": "foundationAiCriteriaSearchShadowOptions",
2411
- "declaration": {
2412
- "name": "foundationAiCriteriaSearchShadowOptions",
2413
- "module": "./ai-criteria-search"
2414
- }
2415
- },
2416
- {
2417
- "kind": "js",
2418
- "name": "foundationAiCriteriaSearchStyles",
2419
- "declaration": {
2420
- "name": "foundationAiCriteriaSearchStyles",
2421
- "module": "./ai-criteria-search.styles"
2422
- }
2423
- },
2424
- {
2425
- "kind": "js",
2426
- "name": "foundationAiCriteriaSearchTemplate",
2427
- "declaration": {
2428
- "name": "foundationAiCriteriaSearchTemplate",
2429
- "module": "./ai-criteria-search.template"
2430
- }
2431
- },
2432
- {
2433
- "kind": "js",
2434
- "name": "*",
2435
- "declaration": {
2436
- "name": "*",
2437
- "package": "./validation/criteria-ir"
2438
- }
2439
- },
2440
- {
2441
- "kind": "js",
2442
- "name": "*",
2443
- "declaration": {
2444
- "name": "*",
2445
- "package": "./validation/operator-map"
2446
- }
2447
- },
2448
- {
2449
- "kind": "js",
2450
- "name": "*",
2451
- "declaration": {
2452
- "name": "*",
2453
- "package": "./validation/schema-validator"
2454
- }
2455
- }
2456
- ]
2457
- },
2458
- {
2459
- "kind": "javascript-module",
2460
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2423
+ "path": "src/accordion/accordion.styles.ts",
2461
2424
  "declarations": [
2462
2425
  {
2463
2426
  "kind": "function",
2464
- "name": "formatValidationErrors",
2427
+ "name": "foundationAccordionStyles",
2465
2428
  "return": {
2466
2429
  "type": {
2467
- "text": "string"
2430
+ "text": "ElementStyles"
2468
2431
  }
2469
2432
  },
2470
2433
  "parameters": [
2471
2434
  {
2472
- "name": "errors",
2435
+ "name": "context",
2473
2436
  "type": {
2474
- "text": "ValidationError[]"
2437
+ "text": "ElementDefinitionContext"
2475
2438
  }
2476
- }
2477
- ],
2478
- "description": "Formats validation errors into a user-friendly message."
2479
- },
2480
- {
2481
- "kind": "function",
2482
- "name": "showCriteriaError",
2483
- "return": {
2484
- "type": {
2485
- "text": "void"
2486
- }
2487
- },
2488
- "parameters": [
2489
- {
2490
- "name": "title",
2491
- "type": {
2492
- "text": "string"
2493
- },
2494
- "description": "Notification title (e.g. \"Criteria validation error\")"
2495
2439
  },
2496
2440
  {
2497
- "name": "body",
2498
- "type": {
2499
- "text": "string"
2500
- },
2501
- "description": "Error message to display"
2502
- },
2503
- {
2504
- "name": "tagName",
2441
+ "name": "definition",
2505
2442
  "type": {
2506
- "text": "string"
2507
- },
2508
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2443
+ "text": "FoundationElementDefinition"
2444
+ }
2509
2445
  }
2510
- ],
2511
- "description": "Shows a criteria error as a toast notification."
2446
+ ]
2512
2447
  }
2513
2448
  ],
2514
2449
  "exports": [
2515
2450
  {
2516
2451
  "kind": "js",
2517
- "name": "formatValidationErrors",
2518
- "declaration": {
2519
- "name": "formatValidationErrors",
2520
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2521
- }
2522
- },
2523
- {
2524
- "kind": "js",
2525
- "name": "showCriteriaError",
2452
+ "name": "foundationAccordionStyles",
2526
2453
  "declaration": {
2527
- "name": "showCriteriaError",
2528
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2454
+ "name": "foundationAccordionStyles",
2455
+ "module": "src/accordion/accordion.styles.ts"
2529
2456
  }
2530
2457
  }
2531
2458
  ]
2532
2459
  },
2533
2460
  {
2534
2461
  "kind": "javascript-module",
2535
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2462
+ "path": "src/accordion/accordion.template.ts",
2536
2463
  "declarations": [
2537
2464
  {
2538
2465
  "kind": "function",
2539
- "name": "foundationAiIndicatorStyles",
2466
+ "name": "foundationAccordionTemplate",
2540
2467
  "return": {
2541
2468
  "type": {
2542
- "text": "ElementStyles"
2469
+ "text": "ViewTemplate<Accordion>"
2543
2470
  }
2544
2471
  },
2545
2472
  "parameters": [
@@ -2561,224 +2488,237 @@
2561
2488
  "exports": [
2562
2489
  {
2563
2490
  "kind": "js",
2564
- "name": "foundationAiIndicatorStyles",
2565
- "declaration": {
2566
- "name": "foundationAiIndicatorStyles",
2567
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2568
- }
2569
- }
2570
- ]
2571
- },
2572
- {
2573
- "kind": "javascript-module",
2574
- "path": "src/ai-indicator/ai-indicator.template.ts",
2575
- "declarations": [
2576
- {
2577
- "kind": "variable",
2578
- "name": "foundationAiIndicatorTemplate",
2579
- "type": {
2580
- "text": "ViewTemplate<AiIndicator>"
2581
- },
2582
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2583
- }
2584
- ],
2585
- "exports": [
2586
- {
2587
- "kind": "js",
2588
- "name": "foundationAiIndicatorTemplate",
2491
+ "name": "foundationAccordionTemplate",
2589
2492
  "declaration": {
2590
- "name": "foundationAiIndicatorTemplate",
2591
- "module": "src/ai-indicator/ai-indicator.template.ts"
2493
+ "name": "foundationAccordionTemplate",
2494
+ "module": "src/accordion/accordion.template.ts"
2592
2495
  }
2593
2496
  }
2594
2497
  ]
2595
2498
  },
2596
2499
  {
2597
2500
  "kind": "javascript-module",
2598
- "path": "src/ai-indicator/ai-indicator.ts",
2501
+ "path": "src/accordion/accordion.ts",
2599
2502
  "declarations": [
2600
2503
  {
2601
2504
  "kind": "class",
2602
2505
  "description": "",
2603
- "name": "AiIndicator",
2604
- "members": [
2605
- {
2606
- "kind": "field",
2607
- "name": "providerRegistry",
2608
- "type": {
2609
- "text": "AIProviderRegistry"
2610
- }
2611
- },
2612
- {
2613
- "kind": "field",
2614
- "name": "aiProvider",
2615
- "type": {
2616
- "text": "AIProvider | undefined"
2617
- },
2618
- "privacy": "private",
2619
- "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.",
2620
- "readonly": true
2621
- },
2506
+ "name": "Accordion",
2507
+ "superclass": {
2508
+ "name": "FASTAccordion",
2509
+ "package": "@microsoft/fast-foundation"
2510
+ },
2511
+ "tagName": "%%prefix%%-accordion",
2512
+ "customElement": true,
2513
+ "attributes": [
2622
2514
  {
2623
- "kind": "field",
2624
- "name": "status",
2515
+ "name": "expand-mode",
2625
2516
  "type": {
2626
- "text": "AIStatus | null"
2517
+ "text": "AccordionExpandMode"
2627
2518
  },
2628
- "default": "null"
2629
- },
2519
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2520
+ "fieldName": "expandmode",
2521
+ "inheritedFrom": {
2522
+ "name": "Accordion",
2523
+ "module": "src/accordion/accordion.ts"
2524
+ }
2525
+ }
2526
+ ],
2527
+ "members": [
2630
2528
  {
2631
2529
  "kind": "field",
2632
- "name": "open",
2530
+ "name": "expandmode",
2633
2531
  "type": {
2634
- "text": "boolean"
2532
+ "text": "AccordionExpandMode"
2635
2533
  },
2636
- "default": "false"
2534
+ "privacy": "public",
2535
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2536
+ "inheritedFrom": {
2537
+ "name": "Accordion",
2538
+ "module": "src/accordion/accordion.ts"
2539
+ }
2637
2540
  },
2638
2541
  {
2639
2542
  "kind": "field",
2640
- "name": "state",
2543
+ "name": "activeid",
2641
2544
  "type": {
2642
- "text": "AIIndicatorState"
2545
+ "text": "string | null"
2643
2546
  },
2644
- "default": "'none'"
2547
+ "privacy": "private",
2548
+ "inheritedFrom": {
2549
+ "name": "Accordion",
2550
+ "module": "src/accordion/accordion.ts"
2551
+ }
2645
2552
  },
2646
2553
  {
2647
2554
  "kind": "field",
2648
- "name": "isInstalling",
2555
+ "name": "activeItemIndex",
2649
2556
  "type": {
2650
- "text": "boolean"
2557
+ "text": "number"
2651
2558
  },
2652
- "default": "false"
2559
+ "privacy": "private",
2560
+ "default": "0",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2564
+ }
2653
2565
  },
2654
2566
  {
2655
2567
  "kind": "field",
2656
- "name": "pollTimer",
2568
+ "name": "accordionIds",
2657
2569
  "type": {
2658
- "text": "ReturnType<typeof setInterval> | null"
2570
+ "text": "Array<string | null>"
2659
2571
  },
2660
2572
  "privacy": "private",
2661
- "default": "null"
2662
- },
2663
- {
2664
- "kind": "field",
2665
- "name": "clickOutside",
2666
- "privacy": "private"
2573
+ "inheritedFrom": {
2574
+ "name": "Accordion",
2575
+ "module": "src/accordion/accordion.ts"
2576
+ }
2667
2577
  },
2668
2578
  {
2669
2579
  "kind": "field",
2670
- "name": "chromeStatusLabel",
2671
- "type": {
2672
- "text": "string | null"
2673
- },
2674
- "readonly": true
2580
+ "name": "change",
2581
+ "privacy": "private",
2582
+ "inheritedFrom": {
2583
+ "name": "Accordion",
2584
+ "module": "src/accordion/accordion.ts"
2585
+ }
2675
2586
  },
2676
2587
  {
2677
- "kind": "field",
2678
- "name": "canInstall",
2679
- "type": {
2680
- "text": "boolean"
2588
+ "kind": "method",
2589
+ "name": "findExpandedItem",
2590
+ "privacy": "private",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "AccordionItem | null"
2594
+ }
2681
2595
  },
2682
- "readonly": true
2596
+ "inheritedFrom": {
2597
+ "name": "Accordion",
2598
+ "module": "src/accordion/accordion.ts"
2599
+ }
2683
2600
  },
2684
2601
  {
2685
2602
  "kind": "field",
2686
- "name": "isDownloading",
2687
- "type": {
2688
- "text": "boolean"
2689
- },
2690
- "readonly": true
2603
+ "name": "setItems",
2604
+ "privacy": "private",
2605
+ "inheritedFrom": {
2606
+ "name": "Accordion",
2607
+ "module": "src/accordion/accordion.ts"
2608
+ }
2691
2609
  },
2692
2610
  {
2693
2611
  "kind": "method",
2694
- "name": "openChanged",
2612
+ "name": "resetItems",
2613
+ "privacy": "private",
2695
2614
  "return": {
2696
2615
  "type": {
2697
2616
  "text": "void"
2698
2617
  }
2618
+ },
2619
+ "inheritedFrom": {
2620
+ "name": "Accordion",
2621
+ "module": "src/accordion/accordion.ts"
2699
2622
  }
2700
2623
  },
2701
2624
  {
2702
- "kind": "method",
2703
- "name": "handleClickOutside",
2625
+ "kind": "field",
2626
+ "name": "removeItemListeners",
2704
2627
  "privacy": "private",
2705
- "parameters": [
2706
- {
2707
- "name": "event",
2708
- "type": {
2709
- "text": "MouseEvent"
2710
- }
2711
- }
2712
- ]
2713
- },
2714
- {
2715
- "kind": "method",
2716
- "name": "toggleDropdown"
2717
- },
2718
- {
2719
- "kind": "method",
2720
- "name": "refreshStatus",
2721
- "return": {
2722
- "type": {
2723
- "text": "Promise<void>"
2724
- }
2628
+ "inheritedFrom": {
2629
+ "name": "Accordion",
2630
+ "module": "src/accordion/accordion.ts"
2725
2631
  }
2726
2632
  },
2727
2633
  {
2728
- "kind": "method",
2729
- "name": "deriveState",
2634
+ "kind": "field",
2635
+ "name": "activeItemChange",
2730
2636
  "privacy": "private",
2731
- "return": {
2732
- "type": {
2733
- "text": "AIIndicatorState"
2734
- }
2735
- },
2736
- "parameters": [
2737
- {
2738
- "name": "s",
2739
- "type": {
2740
- "text": "AIStatus | null"
2741
- }
2742
- }
2743
- ]
2637
+ "inheritedFrom": {
2638
+ "name": "Accordion",
2639
+ "module": "src/accordion/accordion.ts"
2640
+ }
2744
2641
  },
2745
2642
  {
2746
2643
  "kind": "method",
2747
- "name": "maybeStartPolling",
2644
+ "name": "getItemIds",
2748
2645
  "privacy": "private",
2749
2646
  "return": {
2750
2647
  "type": {
2751
- "text": "void"
2648
+ "text": "Array<string | null>"
2752
2649
  }
2650
+ },
2651
+ "inheritedFrom": {
2652
+ "name": "Accordion",
2653
+ "module": "src/accordion/accordion.ts"
2753
2654
  }
2754
2655
  },
2755
2656
  {
2756
2657
  "kind": "method",
2757
- "name": "startPolling",
2658
+ "name": "isSingleExpandMode",
2758
2659
  "privacy": "private",
2759
2660
  "return": {
2760
2661
  "type": {
2761
- "text": "void"
2662
+ "text": "boolean"
2762
2663
  }
2664
+ },
2665
+ "inheritedFrom": {
2666
+ "name": "Accordion",
2667
+ "module": "src/accordion/accordion.ts"
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "field",
2672
+ "name": "handleItemKeyDown",
2673
+ "privacy": "private",
2674
+ "inheritedFrom": {
2675
+ "name": "Accordion",
2676
+ "module": "src/accordion/accordion.ts"
2677
+ }
2678
+ },
2679
+ {
2680
+ "kind": "field",
2681
+ "name": "handleItemFocus",
2682
+ "privacy": "private",
2683
+ "inheritedFrom": {
2684
+ "name": "Accordion",
2685
+ "module": "src/accordion/accordion.ts"
2763
2686
  }
2764
2687
  },
2765
2688
  {
2766
2689
  "kind": "method",
2767
- "name": "stopPolling",
2690
+ "name": "adjust",
2768
2691
  "privacy": "private",
2769
2692
  "return": {
2770
2693
  "type": {
2771
2694
  "text": "void"
2772
2695
  }
2696
+ },
2697
+ "parameters": [
2698
+ {
2699
+ "name": "adjustment",
2700
+ "type": {
2701
+ "text": "number"
2702
+ }
2703
+ }
2704
+ ],
2705
+ "inheritedFrom": {
2706
+ "name": "Accordion",
2707
+ "module": "src/accordion/accordion.ts"
2773
2708
  }
2774
2709
  },
2775
2710
  {
2776
2711
  "kind": "method",
2777
- "name": "onInstall",
2712
+ "name": "focusItem",
2713
+ "privacy": "private",
2778
2714
  "return": {
2779
2715
  "type": {
2780
- "text": "Promise<void>"
2716
+ "text": "void"
2781
2717
  }
2718
+ },
2719
+ "inheritedFrom": {
2720
+ "name": "Accordion",
2721
+ "module": "src/accordion/accordion.ts"
2782
2722
  }
2783
2723
  },
2784
2724
  {
@@ -2893,303 +2833,359 @@
2893
2833
  }
2894
2834
  }
2895
2835
  ],
2896
- "superclass": {
2897
- "name": "FoundationElement",
2898
- "package": "@microsoft/fast-foundation"
2836
+ "events": [
2837
+ {
2838
+ "description": "Fires a custom 'change' event when the active item changes",
2839
+ "name": "change",
2840
+ "inheritedFrom": {
2841
+ "name": "Accordion",
2842
+ "module": "src/accordion/accordion.ts"
2843
+ }
2844
+ }
2845
+ ]
2846
+ },
2847
+ {
2848
+ "kind": "variable",
2849
+ "name": "foundationAccordionShadowOptions",
2850
+ "type": {
2851
+ "text": "ShadowRootInit"
2899
2852
  },
2900
- "tagName": "%%prefix%%-ai-indicator",
2901
- "customElement": true
2853
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2902
2854
  },
2903
2855
  {
2904
2856
  "kind": "variable",
2905
- "name": "foundationAiIndicator"
2857
+ "name": "defaultAccordionConfig",
2858
+ "type": {
2859
+ "text": "object"
2860
+ },
2861
+ "default": "{}"
2862
+ },
2863
+ {
2864
+ "kind": "variable",
2865
+ "name": "foundationAccordion",
2866
+ "description": "The Foundation Accordion",
2867
+ "privacy": "public"
2906
2868
  }
2907
2869
  ],
2908
2870
  "exports": [
2909
2871
  {
2910
2872
  "kind": "js",
2911
- "name": "AiIndicator",
2873
+ "name": "Accordion",
2912
2874
  "declaration": {
2913
- "name": "AiIndicator",
2914
- "module": "src/ai-indicator/ai-indicator.ts"
2875
+ "name": "Accordion",
2876
+ "module": "src/accordion/accordion.ts"
2915
2877
  }
2916
2878
  },
2917
2879
  {
2918
2880
  "kind": "js",
2919
- "name": "foundationAiIndicator",
2881
+ "name": "foundationAccordionShadowOptions",
2920
2882
  "declaration": {
2921
- "name": "foundationAiIndicator",
2922
- "module": "src/ai-indicator/ai-indicator.ts"
2883
+ "name": "foundationAccordionShadowOptions",
2884
+ "module": "src/accordion/accordion.ts"
2885
+ }
2886
+ },
2887
+ {
2888
+ "kind": "js",
2889
+ "name": "defaultAccordionConfig",
2890
+ "declaration": {
2891
+ "name": "defaultAccordionConfig",
2892
+ "module": "src/accordion/accordion.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "js",
2897
+ "name": "foundationAccordion",
2898
+ "declaration": {
2899
+ "name": "foundationAccordion",
2900
+ "module": "src/accordion/accordion.ts"
2923
2901
  }
2924
2902
  }
2925
2903
  ]
2926
2904
  },
2927
2905
  {
2928
2906
  "kind": "javascript-module",
2929
- "path": "src/ai-indicator/index.ts",
2907
+ "path": "src/accordion/index.ts",
2930
2908
  "declarations": [],
2931
2909
  "exports": [
2932
2910
  {
2933
2911
  "kind": "js",
2934
- "name": "AiIndicator",
2912
+ "name": "*",
2935
2913
  "declaration": {
2936
- "name": "AiIndicator",
2937
- "module": "./ai-indicator"
2914
+ "name": "*",
2915
+ "package": "./accordion.template"
2938
2916
  }
2939
2917
  },
2940
2918
  {
2941
2919
  "kind": "js",
2942
- "name": "foundationAiIndicator",
2920
+ "name": "*",
2943
2921
  "declaration": {
2944
- "name": "foundationAiIndicator",
2945
- "module": "./ai-indicator"
2922
+ "name": "*",
2923
+ "package": "./accordion.styles"
2946
2924
  }
2947
2925
  },
2948
2926
  {
2949
2927
  "kind": "js",
2950
- "name": "type",
2928
+ "name": "*",
2951
2929
  "declaration": {
2952
- "name": "type",
2953
- "module": "./ai-indicator"
2930
+ "name": "*",
2931
+ "package": "./accordion"
2954
2932
  }
2955
- },
2933
+ }
2934
+ ]
2935
+ },
2936
+ {
2937
+ "kind": "javascript-module",
2938
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2939
+ "declarations": [
2956
2940
  {
2957
- "kind": "js",
2958
- "name": "AIIndicatorState",
2959
- "declaration": {
2960
- "name": "AIIndicatorState",
2961
- "module": "./ai-indicator"
2962
- }
2963
- },
2941
+ "kind": "variable",
2942
+ "name": "foundationAiCriteriaSearchStyles",
2943
+ "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`"
2944
+ }
2945
+ ],
2946
+ "exports": [
2964
2947
  {
2965
2948
  "kind": "js",
2966
- "name": "foundationAiIndicatorTemplate",
2949
+ "name": "foundationAiCriteriaSearchStyles",
2967
2950
  "declaration": {
2968
- "name": "foundationAiIndicatorTemplate",
2969
- "module": "./ai-indicator.template"
2951
+ "name": "foundationAiCriteriaSearchStyles",
2952
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2970
2953
  }
2971
- },
2954
+ }
2955
+ ]
2956
+ },
2957
+ {
2958
+ "kind": "javascript-module",
2959
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2960
+ "declarations": [
2961
+ {
2962
+ "kind": "variable",
2963
+ "name": "foundationAiCriteriaSearchTemplate",
2964
+ "type": {
2965
+ "text": "ViewTemplate<AiCriteriaSearch>"
2966
+ },
2967
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2968
+ }
2969
+ ],
2970
+ "exports": [
2972
2971
  {
2973
2972
  "kind": "js",
2974
- "name": "foundationAiIndicatorStyles",
2973
+ "name": "foundationAiCriteriaSearchTemplate",
2975
2974
  "declaration": {
2976
- "name": "foundationAiIndicatorStyles",
2977
- "module": "./ai-indicator.styles"
2975
+ "name": "foundationAiCriteriaSearchTemplate",
2976
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2978
2977
  }
2979
2978
  }
2980
2979
  ]
2981
2980
  },
2982
2981
  {
2983
2982
  "kind": "javascript-module",
2984
- "path": "src/_common/affix-mixin.ts",
2983
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2985
2984
  "declarations": [
2986
2985
  {
2987
- "kind": "mixin",
2988
- "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
2989
- "name": "AffixMixin",
2986
+ "kind": "class",
2987
+ "description": "Natural-language criteria search input with AI interpretation.",
2988
+ "name": "AiCriteriaSearch",
2990
2989
  "members": [
2991
2990
  {
2992
2991
  "kind": "field",
2993
- "name": "prefix",
2992
+ "name": "providerRegistry",
2993
+ "type": {
2994
+ "text": "AIProviderRegistry"
2995
+ }
2996
+ },
2997
+ {
2998
+ "kind": "field",
2999
+ "name": "placeholder",
2994
3000
  "type": {
2995
3001
  "text": "string"
2996
3002
  },
2997
- "description": "Optional non-editable label shown on the left inside the field, before the input."
3003
+ "default": "'Describe your search criteria in natural language...'"
2998
3004
  },
2999
3005
  {
3000
3006
  "kind": "field",
3001
- "name": "suffix",
3007
+ "name": "disabled",
3008
+ "type": {
3009
+ "text": "boolean"
3010
+ }
3011
+ },
3012
+ {
3013
+ "kind": "field",
3014
+ "name": "inputValue",
3002
3015
  "type": {
3003
3016
  "text": "string"
3004
3017
  },
3005
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
3018
+ "default": "''"
3006
3019
  },
3007
3020
  {
3008
3021
  "kind": "field",
3009
- "name": "hideAffixFromScreenReader",
3022
+ "name": "isInterpreting",
3010
3023
  "type": {
3011
3024
  "text": "boolean"
3012
3025
  },
3013
- "default": "false",
3014
- "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
3015
- }
3016
- ],
3017
- "parameters": [
3026
+ "default": "false"
3027
+ },
3018
3028
  {
3019
- "name": "Base",
3029
+ "kind": "field",
3030
+ "name": "lastValidCriteria",
3020
3031
  "type": {
3021
- "text": "TBase"
3022
- }
3023
- }
3024
- ]
3025
- }
3026
- ],
3027
- "exports": [
3028
- {
3029
- "kind": "js",
3030
- "name": "AffixMixin",
3031
- "declaration": {
3032
- "name": "AffixMixin",
3033
- "module": "src/_common/affix-mixin.ts"
3034
- }
3035
- }
3036
- ]
3037
- },
3038
- {
3039
- "kind": "javascript-module",
3040
- "path": "src/_common/base-file-component.ts",
3041
- "declarations": [
3042
- {
3043
- "kind": "class",
3044
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3045
- "name": "BaseFileComponent",
3046
- "members": [
3032
+ "text": "string | null"
3033
+ },
3034
+ "default": "null"
3035
+ },
3047
3036
  {
3048
3037
  "kind": "field",
3049
- "name": "fileInput",
3038
+ "name": "activeGroups",
3050
3039
  "type": {
3051
- "text": "HTMLInputElement"
3040
+ "text": "CriteriaGroup[]"
3052
3041
  },
3053
- "privacy": "public"
3042
+ "default": "[]"
3054
3043
  },
3055
3044
  {
3056
3045
  "kind": "field",
3057
- "name": "selectedFile",
3046
+ "name": "showingChips",
3058
3047
  "type": {
3059
- "text": "File | null"
3048
+ "text": "boolean"
3060
3049
  },
3061
- "privacy": "protected",
3062
- "default": "null"
3050
+ "default": "false"
3063
3051
  },
3064
3052
  {
3065
3053
  "kind": "field",
3066
- "name": "label",
3054
+ "name": "fieldMetadata",
3067
3055
  "type": {
3068
- "text": "string"
3069
- }
3056
+ "text": "MetadataDetail[] | string[]"
3057
+ },
3058
+ "default": "[]"
3070
3059
  },
3071
3060
  {
3072
3061
  "kind": "field",
3073
- "name": "accept",
3062
+ "name": "isRecording",
3074
3063
  "type": {
3075
- "text": "string"
3064
+ "text": "boolean"
3076
3065
  },
3077
- "default": "''"
3066
+ "default": "false"
3078
3067
  },
3079
3068
  {
3080
3069
  "kind": "field",
3081
- "name": "fileSizeLimitBytes",
3082
- "default": "10_485_760",
3070
+ "name": "textAreaRef",
3083
3071
  "type": {
3084
- "text": "number"
3085
- }
3072
+ "text": "HTMLTextAreaElement"
3073
+ },
3074
+ "privacy": "public"
3086
3075
  },
3087
3076
  {
3088
3077
  "kind": "field",
3089
- "name": "fileName",
3078
+ "name": "stopRecording",
3090
3079
  "type": {
3091
- "text": "string"
3080
+ "text": "(() => void) | null"
3092
3081
  },
3093
- "default": "''"
3082
+ "privacy": "private",
3083
+ "default": "null"
3094
3084
  },
3095
3085
  {
3096
3086
  "kind": "field",
3097
- "name": "isProcessing",
3087
+ "name": "speechApplyDebounceTimer",
3088
+ "type": {
3089
+ "text": "ReturnType<typeof setTimeout> | null"
3090
+ },
3091
+ "privacy": "private",
3092
+ "default": "null"
3093
+ },
3094
+ {
3095
+ "kind": "field",
3096
+ "name": "speechAvailable",
3098
3097
  "type": {
3099
3098
  "text": "boolean"
3100
3099
  },
3101
- "default": "false"
3100
+ "readonly": true
3102
3101
  },
3103
3102
  {
3104
- "kind": "method",
3105
- "name": "handleClick",
3106
- "privacy": "public",
3107
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3103
+ "kind": "field",
3104
+ "name": "criteriaChips",
3105
+ "type": {
3106
+ "text": "CriteriaChip[]"
3107
+ },
3108
+ "readonly": true
3108
3109
  },
3109
3110
  {
3110
3111
  "kind": "method",
3111
- "name": "onInputChange",
3112
- "privacy": "public",
3112
+ "name": "getFieldLabel",
3113
+ "privacy": "private",
3114
+ "return": {
3115
+ "type": {
3116
+ "text": "string"
3117
+ }
3118
+ },
3113
3119
  "parameters": [
3114
3120
  {
3115
- "name": "e",
3121
+ "name": "fieldName",
3116
3122
  "type": {
3117
- "text": "Event"
3118
- },
3119
- "description": "The change event from the file input"
3123
+ "text": "string"
3124
+ }
3120
3125
  }
3121
- ],
3122
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3123
- },
3124
- {
3125
- "kind": "method",
3126
- "name": "clearSelection",
3127
- "privacy": "public",
3128
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3126
+ ]
3129
3127
  },
3130
3128
  {
3131
3129
  "kind": "method",
3132
- "name": "getSelectedFile",
3133
- "privacy": "public",
3134
- "description": "Gets the currently selected file object",
3130
+ "name": "toggleCriteriaView",
3135
3131
  "return": {
3136
3132
  "type": {
3137
- "text": ""
3133
+ "text": "void"
3138
3134
  }
3139
3135
  }
3140
3136
  },
3141
3137
  {
3142
3138
  "kind": "method",
3143
- "name": "showError",
3144
- "privacy": "protected",
3139
+ "name": "removeChip",
3140
+ "return": {
3141
+ "type": {
3142
+ "text": "void"
3143
+ }
3144
+ },
3145
3145
  "parameters": [
3146
3146
  {
3147
- "name": "title",
3147
+ "name": "groupIndex",
3148
3148
  "type": {
3149
- "text": "string"
3150
- },
3151
- "description": "The error title"
3149
+ "text": "number"
3150
+ }
3152
3151
  },
3153
3152
  {
3154
- "name": "message",
3153
+ "name": "clauseIndex",
3155
3154
  "type": {
3156
- "text": "string"
3157
- },
3158
- "description": "The error message"
3155
+ "text": "number"
3156
+ }
3159
3157
  }
3160
- ],
3161
- "description": "Shows an error notification using the unified error handling system"
3158
+ ]
3162
3159
  },
3163
3160
  {
3164
3161
  "kind": "method",
3165
- "name": "onFileSelected",
3166
- "privacy": "protected",
3162
+ "name": "clearChips",
3167
3163
  "return": {
3168
3164
  "type": {
3169
3165
  "text": "void"
3170
3166
  }
3171
- },
3172
- "parameters": [
3173
- {
3174
- "name": "files",
3175
- "type": {
3176
- "text": "File[]"
3177
- },
3178
- "description": "The selected file"
3179
- }
3180
- ],
3181
- "description": "Abstract method called when a file is selected"
3167
+ }
3182
3168
  },
3183
3169
  {
3184
3170
  "kind": "method",
3185
- "name": "onFileCleared",
3186
- "privacy": "protected",
3187
- "return": {
3188
- "type": {
3189
- "text": "void"
3190
- }
3191
- },
3192
- "description": "Abstract method called when file selection is cleared"
3171
+ "name": "handleSubmit"
3172
+ },
3173
+ {
3174
+ "kind": "method",
3175
+ "name": "handleBlur"
3176
+ },
3177
+ {
3178
+ "kind": "method",
3179
+ "name": "clear"
3180
+ },
3181
+ {
3182
+ "kind": "method",
3183
+ "name": "toggleSpeechInput"
3184
+ },
3185
+ {
3186
+ "kind": "method",
3187
+ "name": "clearSpeechApplyDebounce",
3188
+ "privacy": "private"
3193
3189
  },
3194
3190
  {
3195
3191
  "kind": "field",
@@ -3305,157 +3301,152 @@
3305
3301
  ],
3306
3302
  "events": [
3307
3303
  {
3308
- "description": "Fired when file size validation fails. detail: `Error`",
3309
- "name": "error"
3304
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3305
+ "name": "criteria-changed"
3310
3306
  },
3311
3307
  {
3312
- "description": "Fired when selection is cleared",
3313
- "name": "clear"
3308
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3309
+ "name": "validation-errors"
3314
3310
  }
3315
3311
  ],
3316
3312
  "attributes": [
3317
3313
  {
3318
- "name": "label",
3314
+ "name": "placeholder",
3319
3315
  "type": {
3320
3316
  "text": "string"
3321
3317
  },
3322
- "fieldName": "label"
3318
+ "default": "'Describe your search criteria in natural language...'",
3319
+ "fieldName": "placeholder"
3323
3320
  },
3324
3321
  {
3325
- "name": "accept",
3326
3322
  "type": {
3327
- "text": "string"
3328
- },
3329
- "default": "''",
3330
- "fieldName": "accept"
3331
- },
3332
- {
3333
- "name": "file-size-limit-bytes",
3334
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3335
- "resolveInitializer": {
3336
- "module": "src/_common/base-file-component.ts"
3323
+ "text": "boolean"
3337
3324
  },
3338
- "fieldName": "fileSizeLimitBytes"
3325
+ "fieldName": "disabled"
3339
3326
  }
3340
3327
  ],
3341
3328
  "superclass": {
3342
3329
  "name": "FoundationElement",
3343
3330
  "package": "@microsoft/fast-foundation"
3344
- }
3331
+ },
3332
+ "tagName": "%%prefix%%-ai-criteria-search",
3333
+ "customElement": true
3334
+ },
3335
+ {
3336
+ "kind": "variable",
3337
+ "name": "foundationAiCriteriaSearchShadowOptions",
3338
+ "type": {
3339
+ "text": "ShadowRootInit"
3340
+ },
3341
+ "default": "undefined"
3342
+ },
3343
+ {
3344
+ "kind": "variable",
3345
+ "name": "defaultAiCriteriaSearchConfig",
3346
+ "type": {
3347
+ "text": "object"
3348
+ },
3349
+ "default": "{}"
3350
+ },
3351
+ {
3352
+ "kind": "variable",
3353
+ "name": "foundationAiCriteriaSearch"
3345
3354
  }
3346
3355
  ],
3347
3356
  "exports": [
3348
3357
  {
3349
3358
  "kind": "js",
3350
- "name": "BaseFileComponent",
3359
+ "name": "AiCriteriaSearch",
3351
3360
  "declaration": {
3352
- "name": "BaseFileComponent",
3353
- "module": "src/_common/base-file-component.ts"
3361
+ "name": "AiCriteriaSearch",
3362
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3354
3363
  }
3355
- }
3356
- ]
3357
- },
3358
- {
3359
- "kind": "javascript-module",
3360
- "path": "src/_common/field-styles.ts",
3361
- "declarations": [
3362
- {
3363
- "kind": "variable",
3364
- "name": "sharedFieldStyles",
3365
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
3366
- }
3367
- ],
3368
- "exports": [
3364
+ },
3369
3365
  {
3370
3366
  "kind": "js",
3371
- "name": "sharedFieldStyles",
3367
+ "name": "foundationAiCriteriaSearchShadowOptions",
3372
3368
  "declaration": {
3373
- "name": "sharedFieldStyles",
3374
- "module": "src/_common/field-styles.ts"
3369
+ "name": "foundationAiCriteriaSearchShadowOptions",
3370
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3375
3371
  }
3376
- }
3377
- ]
3378
- },
3379
- {
3380
- "kind": "javascript-module",
3381
- "path": "src/_common/icons.ts",
3382
- "declarations": [
3372
+ },
3383
3373
  {
3384
- "kind": "function",
3385
- "name": "closeIcon",
3386
- "parameters": [
3387
- {
3388
- "name": "slot",
3389
- "default": "'start'"
3390
- },
3391
- {
3392
- "name": "fill",
3393
- "default": "'#879ba6'"
3394
- }
3395
- ]
3396
- }
3397
- ],
3398
- "exports": [
3374
+ "kind": "js",
3375
+ "name": "defaultAiCriteriaSearchConfig",
3376
+ "declaration": {
3377
+ "name": "defaultAiCriteriaSearchConfig",
3378
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3379
+ }
3380
+ },
3399
3381
  {
3400
3382
  "kind": "js",
3401
- "name": "closeIcon",
3383
+ "name": "foundationAiCriteriaSearch",
3402
3384
  "declaration": {
3403
- "name": "closeIcon",
3404
- "module": "src/_common/icons.ts"
3385
+ "name": "foundationAiCriteriaSearch",
3386
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3405
3387
  }
3406
3388
  }
3407
3389
  ]
3408
3390
  },
3409
3391
  {
3410
3392
  "kind": "javascript-module",
3411
- "path": "src/_common/index.ts",
3393
+ "path": "src/ai-criteria-search/index.ts",
3412
3394
  "declarations": [],
3413
3395
  "exports": [
3414
3396
  {
3415
3397
  "kind": "js",
3416
- "name": "*",
3398
+ "name": "AiCriteriaSearch",
3417
3399
  "declaration": {
3418
- "name": "*",
3419
- "package": "./affix-mixin"
3400
+ "name": "AiCriteriaSearch",
3401
+ "module": "./ai-criteria-search"
3420
3402
  }
3421
3403
  },
3422
3404
  {
3423
3405
  "kind": "js",
3424
- "name": "*",
3406
+ "name": "defaultAiCriteriaSearchConfig",
3425
3407
  "declaration": {
3426
- "name": "*",
3427
- "package": "./base-file-component"
3408
+ "name": "defaultAiCriteriaSearchConfig",
3409
+ "module": "./ai-criteria-search"
3428
3410
  }
3429
3411
  },
3430
3412
  {
3431
3413
  "kind": "js",
3432
- "name": "*",
3414
+ "name": "foundationAiCriteriaSearch",
3433
3415
  "declaration": {
3434
- "name": "*",
3435
- "package": "./field-styles"
3416
+ "name": "foundationAiCriteriaSearch",
3417
+ "module": "./ai-criteria-search"
3436
3418
  }
3437
3419
  },
3438
3420
  {
3439
3421
  "kind": "js",
3440
- "name": "*",
3422
+ "name": "foundationAiCriteriaSearchShadowOptions",
3441
3423
  "declaration": {
3442
- "name": "*",
3443
- "package": "./icons"
3424
+ "name": "foundationAiCriteriaSearchShadowOptions",
3425
+ "module": "./ai-criteria-search"
3444
3426
  }
3445
- }
3446
- ]
3447
- },
3448
- {
3449
- "kind": "javascript-module",
3450
- "path": "src/_config/index.ts",
3451
- "declarations": [],
3452
- "exports": [
3427
+ },
3428
+ {
3429
+ "kind": "js",
3430
+ "name": "foundationAiCriteriaSearchStyles",
3431
+ "declaration": {
3432
+ "name": "foundationAiCriteriaSearchStyles",
3433
+ "module": "./ai-criteria-search.styles"
3434
+ }
3435
+ },
3436
+ {
3437
+ "kind": "js",
3438
+ "name": "foundationAiCriteriaSearchTemplate",
3439
+ "declaration": {
3440
+ "name": "foundationAiCriteriaSearchTemplate",
3441
+ "module": "./ai-criteria-search.template"
3442
+ }
3443
+ },
3453
3444
  {
3454
3445
  "kind": "js",
3455
3446
  "name": "*",
3456
3447
  "declaration": {
3457
3448
  "name": "*",
3458
- "package": "./styles"
3449
+ "package": "./validation/criteria-ir"
3459
3450
  }
3460
3451
  },
3461
3452
  {
@@ -3463,7 +3454,7 @@
3463
3454
  "name": "*",
3464
3455
  "declaration": {
3465
3456
  "name": "*",
3466
- "package": "./tokens"
3457
+ "package": "./validation/operator-map"
3467
3458
  }
3468
3459
  },
3469
3460
  {
@@ -3471,60 +3462,96 @@
3471
3462
  "name": "*",
3472
3463
  "declaration": {
3473
3464
  "name": "*",
3474
- "package": "./values"
3465
+ "package": "./validation/schema-validator"
3475
3466
  }
3476
3467
  }
3477
3468
  ]
3478
3469
  },
3479
3470
  {
3480
3471
  "kind": "javascript-module",
3481
- "path": "src/accordion/accordion.styles.ts",
3472
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3482
3473
  "declarations": [
3483
3474
  {
3484
3475
  "kind": "function",
3485
- "name": "foundationAccordionStyles",
3476
+ "name": "formatValidationErrors",
3486
3477
  "return": {
3487
3478
  "type": {
3488
- "text": "ElementStyles"
3479
+ "text": "string"
3489
3480
  }
3490
3481
  },
3491
3482
  "parameters": [
3492
3483
  {
3493
- "name": "context",
3484
+ "name": "errors",
3494
3485
  "type": {
3495
- "text": "ElementDefinitionContext"
3486
+ "text": "ValidationError[]"
3496
3487
  }
3488
+ }
3489
+ ],
3490
+ "description": "Formats validation errors into a user-friendly message."
3491
+ },
3492
+ {
3493
+ "kind": "function",
3494
+ "name": "showCriteriaError",
3495
+ "return": {
3496
+ "type": {
3497
+ "text": "void"
3498
+ }
3499
+ },
3500
+ "parameters": [
3501
+ {
3502
+ "name": "title",
3503
+ "type": {
3504
+ "text": "string"
3505
+ },
3506
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3497
3507
  },
3498
3508
  {
3499
- "name": "definition",
3509
+ "name": "body",
3500
3510
  "type": {
3501
- "text": "FoundationElementDefinition"
3502
- }
3511
+ "text": "string"
3512
+ },
3513
+ "description": "Error message to display"
3514
+ },
3515
+ {
3516
+ "name": "tagName",
3517
+ "type": {
3518
+ "text": "string"
3519
+ },
3520
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3503
3521
  }
3504
- ]
3522
+ ],
3523
+ "description": "Shows a criteria error as a toast notification."
3505
3524
  }
3506
3525
  ],
3507
3526
  "exports": [
3508
3527
  {
3509
3528
  "kind": "js",
3510
- "name": "foundationAccordionStyles",
3529
+ "name": "formatValidationErrors",
3511
3530
  "declaration": {
3512
- "name": "foundationAccordionStyles",
3513
- "module": "src/accordion/accordion.styles.ts"
3531
+ "name": "formatValidationErrors",
3532
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3533
+ }
3534
+ },
3535
+ {
3536
+ "kind": "js",
3537
+ "name": "showCriteriaError",
3538
+ "declaration": {
3539
+ "name": "showCriteriaError",
3540
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3514
3541
  }
3515
3542
  }
3516
3543
  ]
3517
3544
  },
3518
3545
  {
3519
3546
  "kind": "javascript-module",
3520
- "path": "src/accordion/accordion.template.ts",
3547
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3521
3548
  "declarations": [
3522
3549
  {
3523
3550
  "kind": "function",
3524
- "name": "foundationAccordionTemplate",
3551
+ "name": "foundationAiIndicatorStyles",
3525
3552
  "return": {
3526
3553
  "type": {
3527
- "text": "ViewTemplate<Accordion>"
3554
+ "text": "ElementStyles"
3528
3555
  }
3529
3556
  },
3530
3557
  "parameters": [
@@ -3546,237 +3573,224 @@
3546
3573
  "exports": [
3547
3574
  {
3548
3575
  "kind": "js",
3549
- "name": "foundationAccordionTemplate",
3576
+ "name": "foundationAiIndicatorStyles",
3550
3577
  "declaration": {
3551
- "name": "foundationAccordionTemplate",
3552
- "module": "src/accordion/accordion.template.ts"
3578
+ "name": "foundationAiIndicatorStyles",
3579
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3553
3580
  }
3554
3581
  }
3555
3582
  ]
3556
3583
  },
3557
3584
  {
3558
3585
  "kind": "javascript-module",
3559
- "path": "src/accordion/accordion.ts",
3586
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3587
+ "declarations": [
3588
+ {
3589
+ "kind": "variable",
3590
+ "name": "foundationAiIndicatorTemplate",
3591
+ "type": {
3592
+ "text": "ViewTemplate<AiIndicator>"
3593
+ },
3594
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3595
+ }
3596
+ ],
3597
+ "exports": [
3598
+ {
3599
+ "kind": "js",
3600
+ "name": "foundationAiIndicatorTemplate",
3601
+ "declaration": {
3602
+ "name": "foundationAiIndicatorTemplate",
3603
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3604
+ }
3605
+ }
3606
+ ]
3607
+ },
3608
+ {
3609
+ "kind": "javascript-module",
3610
+ "path": "src/ai-indicator/ai-indicator.ts",
3560
3611
  "declarations": [
3561
3612
  {
3562
3613
  "kind": "class",
3563
3614
  "description": "",
3564
- "name": "Accordion",
3565
- "superclass": {
3566
- "name": "FASTAccordion",
3567
- "package": "@microsoft/fast-foundation"
3568
- },
3569
- "tagName": "%%prefix%%-accordion",
3570
- "customElement": true,
3571
- "attributes": [
3615
+ "name": "AiIndicator",
3616
+ "members": [
3572
3617
  {
3573
- "name": "expand-mode",
3618
+ "kind": "field",
3619
+ "name": "providerRegistry",
3574
3620
  "type": {
3575
- "text": "AccordionExpandMode"
3576
- },
3577
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
- "fieldName": "expandmode",
3579
- "inheritedFrom": {
3580
- "name": "Accordion",
3581
- "module": "src/accordion/accordion.ts"
3621
+ "text": "AIProviderRegistry"
3582
3622
  }
3583
- }
3584
- ],
3585
- "members": [
3623
+ },
3586
3624
  {
3587
3625
  "kind": "field",
3588
- "name": "expandmode",
3626
+ "name": "aiProvider",
3589
3627
  "type": {
3590
- "text": "AccordionExpandMode"
3628
+ "text": "AIProvider | undefined"
3591
3629
  },
3592
- "privacy": "public",
3593
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3630
+ "privacy": "private",
3631
+ "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.",
3632
+ "readonly": true
3598
3633
  },
3599
3634
  {
3600
3635
  "kind": "field",
3601
- "name": "activeid",
3636
+ "name": "status",
3602
3637
  "type": {
3603
- "text": "string | null"
3638
+ "text": "AIStatus | null"
3604
3639
  },
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
3640
+ "default": "null"
3610
3641
  },
3611
3642
  {
3612
3643
  "kind": "field",
3613
- "name": "activeItemIndex",
3644
+ "name": "open",
3614
3645
  "type": {
3615
- "text": "number"
3646
+ "text": "boolean"
3616
3647
  },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3648
+ "default": "false"
3623
3649
  },
3624
3650
  {
3625
3651
  "kind": "field",
3626
- "name": "accordionIds",
3652
+ "name": "state",
3627
3653
  "type": {
3628
- "text": "Array<string | null>"
3654
+ "text": "AIIndicatorState"
3629
3655
  },
3630
- "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
- }
3656
+ "default": "'none'"
3635
3657
  },
3636
3658
  {
3637
3659
  "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3660
+ "name": "isInstalling",
3661
+ "type": {
3662
+ "text": "boolean"
3663
+ },
3664
+ "default": "false"
3644
3665
  },
3645
3666
  {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3667
+ "kind": "field",
3668
+ "name": "pollTimer",
3669
+ "type": {
3670
+ "text": "ReturnType<typeof setInterval> | null"
3671
+ },
3648
3672
  "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3673
+ "default": "null"
3674
+ },
3675
+ {
3676
+ "kind": "field",
3677
+ "name": "clickOutside",
3678
+ "privacy": "private"
3679
+ },
3680
+ {
3681
+ "kind": "field",
3682
+ "name": "chromeStatusLabel",
3683
+ "type": {
3684
+ "text": "string | null"
3653
3685
  },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3657
- }
3686
+ "readonly": true
3658
3687
  },
3659
3688
  {
3660
3689
  "kind": "field",
3661
- "name": "setItems",
3662
- "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3666
- }
3690
+ "name": "canInstall",
3691
+ "type": {
3692
+ "text": "boolean"
3693
+ },
3694
+ "readonly": true
3695
+ },
3696
+ {
3697
+ "kind": "field",
3698
+ "name": "isDownloading",
3699
+ "type": {
3700
+ "text": "boolean"
3701
+ },
3702
+ "readonly": true
3667
3703
  },
3668
3704
  {
3669
3705
  "kind": "method",
3670
- "name": "resetItems",
3671
- "privacy": "private",
3706
+ "name": "openChanged",
3672
3707
  "return": {
3673
3708
  "type": {
3674
3709
  "text": "void"
3675
3710
  }
3676
- },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
3711
  }
3681
3712
  },
3682
3713
  {
3683
- "kind": "field",
3684
- "name": "removeItemListeners",
3714
+ "kind": "method",
3715
+ "name": "handleClickOutside",
3685
3716
  "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3689
- }
3717
+ "parameters": [
3718
+ {
3719
+ "name": "event",
3720
+ "type": {
3721
+ "text": "MouseEvent"
3722
+ }
3723
+ }
3724
+ ]
3690
3725
  },
3691
3726
  {
3692
- "kind": "field",
3693
- "name": "activeItemChange",
3694
- "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3698
- }
3727
+ "kind": "method",
3728
+ "name": "toggleDropdown"
3699
3729
  },
3700
3730
  {
3701
3731
  "kind": "method",
3702
- "name": "getItemIds",
3703
- "privacy": "private",
3732
+ "name": "refreshStatus",
3704
3733
  "return": {
3705
3734
  "type": {
3706
- "text": "Array<string | null>"
3735
+ "text": "Promise<void>"
3707
3736
  }
3708
- },
3709
- "inheritedFrom": {
3710
- "name": "Accordion",
3711
- "module": "src/accordion/accordion.ts"
3712
3737
  }
3713
3738
  },
3714
3739
  {
3715
3740
  "kind": "method",
3716
- "name": "isSingleExpandMode",
3741
+ "name": "deriveState",
3717
3742
  "privacy": "private",
3718
3743
  "return": {
3719
3744
  "type": {
3720
- "text": "boolean"
3745
+ "text": "AIIndicatorState"
3721
3746
  }
3722
3747
  },
3723
- "inheritedFrom": {
3724
- "name": "Accordion",
3725
- "module": "src/accordion/accordion.ts"
3726
- }
3748
+ "parameters": [
3749
+ {
3750
+ "name": "s",
3751
+ "type": {
3752
+ "text": "AIStatus | null"
3753
+ }
3754
+ }
3755
+ ]
3727
3756
  },
3728
3757
  {
3729
- "kind": "field",
3730
- "name": "handleItemKeyDown",
3758
+ "kind": "method",
3759
+ "name": "maybeStartPolling",
3731
3760
  "privacy": "private",
3732
- "inheritedFrom": {
3733
- "name": "Accordion",
3734
- "module": "src/accordion/accordion.ts"
3761
+ "return": {
3762
+ "type": {
3763
+ "text": "void"
3764
+ }
3735
3765
  }
3736
3766
  },
3737
3767
  {
3738
- "kind": "field",
3739
- "name": "handleItemFocus",
3768
+ "kind": "method",
3769
+ "name": "startPolling",
3740
3770
  "privacy": "private",
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3771
+ "return": {
3772
+ "type": {
3773
+ "text": "void"
3774
+ }
3744
3775
  }
3745
3776
  },
3746
3777
  {
3747
3778
  "kind": "method",
3748
- "name": "adjust",
3779
+ "name": "stopPolling",
3749
3780
  "privacy": "private",
3750
3781
  "return": {
3751
3782
  "type": {
3752
3783
  "text": "void"
3753
3784
  }
3754
- },
3755
- "parameters": [
3756
- {
3757
- "name": "adjustment",
3758
- "type": {
3759
- "text": "number"
3760
- }
3761
- }
3762
- ],
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
3785
  }
3767
3786
  },
3768
3787
  {
3769
3788
  "kind": "method",
3770
- "name": "focusItem",
3771
- "privacy": "private",
3789
+ "name": "onInstall",
3772
3790
  "return": {
3773
3791
  "type": {
3774
- "text": "void"
3792
+ "text": "Promise<void>"
3775
3793
  }
3776
- },
3777
- "inheritedFrom": {
3778
- "name": "Accordion",
3779
- "module": "src/accordion/accordion.ts"
3780
3794
  }
3781
3795
  },
3782
3796
  {
@@ -3891,102 +3905,88 @@
3891
3905
  }
3892
3906
  }
3893
3907
  ],
3894
- "events": [
3895
- {
3896
- "description": "Fires a custom 'change' event when the active item changes",
3897
- "name": "change",
3898
- "inheritedFrom": {
3899
- "name": "Accordion",
3900
- "module": "src/accordion/accordion.ts"
3901
- }
3902
- }
3903
- ]
3904
- },
3905
- {
3906
- "kind": "variable",
3907
- "name": "foundationAccordionShadowOptions",
3908
- "type": {
3909
- "text": "ShadowRootInit"
3910
- },
3911
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3912
- },
3913
- {
3914
- "kind": "variable",
3915
- "name": "defaultAccordionConfig",
3916
- "type": {
3917
- "text": "object"
3908
+ "superclass": {
3909
+ "name": "FoundationElement",
3910
+ "package": "@microsoft/fast-foundation"
3918
3911
  },
3919
- "default": "{}"
3912
+ "tagName": "%%prefix%%-ai-indicator",
3913
+ "customElement": true
3920
3914
  },
3921
3915
  {
3922
3916
  "kind": "variable",
3923
- "name": "foundationAccordion",
3924
- "description": "The Foundation Accordion",
3925
- "privacy": "public"
3917
+ "name": "foundationAiIndicator"
3926
3918
  }
3927
3919
  ],
3928
3920
  "exports": [
3929
3921
  {
3930
3922
  "kind": "js",
3931
- "name": "Accordion",
3923
+ "name": "AiIndicator",
3932
3924
  "declaration": {
3933
- "name": "Accordion",
3934
- "module": "src/accordion/accordion.ts"
3925
+ "name": "AiIndicator",
3926
+ "module": "src/ai-indicator/ai-indicator.ts"
3935
3927
  }
3936
3928
  },
3937
3929
  {
3938
3930
  "kind": "js",
3939
- "name": "foundationAccordionShadowOptions",
3931
+ "name": "foundationAiIndicator",
3940
3932
  "declaration": {
3941
- "name": "foundationAccordionShadowOptions",
3942
- "module": "src/accordion/accordion.ts"
3933
+ "name": "foundationAiIndicator",
3934
+ "module": "src/ai-indicator/ai-indicator.ts"
3935
+ }
3936
+ }
3937
+ ]
3938
+ },
3939
+ {
3940
+ "kind": "javascript-module",
3941
+ "path": "src/ai-indicator/index.ts",
3942
+ "declarations": [],
3943
+ "exports": [
3944
+ {
3945
+ "kind": "js",
3946
+ "name": "AiIndicator",
3947
+ "declaration": {
3948
+ "name": "AiIndicator",
3949
+ "module": "./ai-indicator"
3943
3950
  }
3944
3951
  },
3945
3952
  {
3946
3953
  "kind": "js",
3947
- "name": "defaultAccordionConfig",
3954
+ "name": "foundationAiIndicator",
3948
3955
  "declaration": {
3949
- "name": "defaultAccordionConfig",
3950
- "module": "src/accordion/accordion.ts"
3956
+ "name": "foundationAiIndicator",
3957
+ "module": "./ai-indicator"
3951
3958
  }
3952
3959
  },
3953
3960
  {
3954
3961
  "kind": "js",
3955
- "name": "foundationAccordion",
3962
+ "name": "type",
3956
3963
  "declaration": {
3957
- "name": "foundationAccordion",
3958
- "module": "src/accordion/accordion.ts"
3964
+ "name": "type",
3965
+ "module": "./ai-indicator"
3959
3966
  }
3960
- }
3961
- ]
3962
- },
3963
- {
3964
- "kind": "javascript-module",
3965
- "path": "src/accordion/index.ts",
3966
- "declarations": [],
3967
- "exports": [
3967
+ },
3968
3968
  {
3969
3969
  "kind": "js",
3970
- "name": "*",
3970
+ "name": "AIIndicatorState",
3971
3971
  "declaration": {
3972
- "name": "*",
3973
- "package": "./accordion.template"
3972
+ "name": "AIIndicatorState",
3973
+ "module": "./ai-indicator"
3974
3974
  }
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "js",
3978
- "name": "*",
3978
+ "name": "foundationAiIndicatorTemplate",
3979
3979
  "declaration": {
3980
- "name": "*",
3981
- "package": "./accordion.styles"
3980
+ "name": "foundationAiIndicatorTemplate",
3981
+ "module": "./ai-indicator.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "js",
3986
- "name": "*",
3986
+ "name": "foundationAiIndicatorStyles",
3987
3987
  "declaration": {
3988
- "name": "*",
3989
- "package": "./accordion"
3988
+ "name": "foundationAiIndicatorStyles",
3989
+ "module": "./ai-indicator.styles"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -59984,197 +59984,6 @@
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
- },
60178
59987
  {
60179
59988
  "kind": "javascript-module",
60180
59989
  "path": "src/_config/styles/colors.ts",
@@ -61547,6 +61356,197 @@
61547
61356
  "declarations": [],
61548
61357
  "exports": []
61549
61358
  },
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",