@genesislcap/foundation-ui 15.23.0 → 15.23.1-agent-rules.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -958,27 +958,44 @@
958
958
  },
959
959
  {
960
960
  "kind": "javascript-module",
961
- "path": "src/accordion-item/accordion-item.styles.ts",
961
+ "path": "src/_common/affix-mixin.ts",
962
962
  "declarations": [
963
963
  {
964
- "kind": "function",
965
- "name": "foundationAccordionItemStyles",
966
- "return": {
967
- "type": {
968
- "text": "ElementStyles"
969
- }
970
- },
971
- "parameters": [
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": [
972
968
  {
973
- "name": "context",
969
+ "kind": "field",
970
+ "name": "prefix",
974
971
  "type": {
975
- "text": "ElementDefinitionContext"
976
- }
972
+ "text": "string"
973
+ },
974
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
977
975
  },
978
976
  {
979
- "name": "definition",
977
+ "kind": "field",
978
+ "name": "suffix",
980
979
  "type": {
981
- "text": "FoundationElementDefinition"
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"
982
999
  }
983
1000
  }
984
1001
  ]
@@ -987,157 +1004,233 @@
987
1004
  "exports": [
988
1005
  {
989
1006
  "kind": "js",
990
- "name": "foundationAccordionItemStyles",
1007
+ "name": "AffixMixin",
991
1008
  "declaration": {
992
- "name": "foundationAccordionItemStyles",
993
- "module": "src/accordion-item/accordion-item.styles.ts"
1009
+ "name": "AffixMixin",
1010
+ "module": "src/_common/affix-mixin.ts"
994
1011
  }
995
1012
  }
996
1013
  ]
997
1014
  },
998
1015
  {
999
1016
  "kind": "javascript-module",
1000
- "path": "src/accordion-item/accordion-item.template.ts",
1017
+ "path": "src/_common/alert-flash-clock.ts",
1001
1018
  "declarations": [
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "alertFlashPhaseProperty",
1022
+ "type": {
1023
+ "text": "string"
1024
+ },
1025
+ "default": "'--alert-flash-t'",
1026
+ "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "alertFlashDurationProperty",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'--alert-flash-duration'",
1036
+ "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
1037
+ "privacy": "public"
1038
+ },
1002
1039
  {
1003
1040
  "kind": "function",
1004
- "name": "foundationAccordionItemTemplate",
1041
+ "name": "installAlertFlashClock",
1005
1042
  "return": {
1006
1043
  "type": {
1007
- "text": "ViewTemplate<AccordionItem>"
1044
+ "text": "void"
1008
1045
  }
1009
1046
  },
1010
- "parameters": [
1011
- {
1012
- "name": "context",
1013
- "type": {
1014
- "text": "ElementDefinitionContext"
1015
- }
1016
- },
1017
- {
1018
- "name": "definition",
1019
- "type": {
1020
- "text": "FoundationElementDefinition"
1021
- }
1022
- }
1023
- ]
1047
+ "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
1048
+ "privacy": "public"
1024
1049
  }
1025
1050
  ],
1026
1051
  "exports": [
1027
1052
  {
1028
1053
  "kind": "js",
1029
- "name": "foundationAccordionItemTemplate",
1054
+ "name": "alertFlashPhaseProperty",
1030
1055
  "declaration": {
1031
- "name": "foundationAccordionItemTemplate",
1032
- "module": "src/accordion-item/accordion-item.template.ts"
1056
+ "name": "alertFlashPhaseProperty",
1057
+ "module": "src/_common/alert-flash-clock.ts"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "alertFlashDurationProperty",
1063
+ "declaration": {
1064
+ "name": "alertFlashDurationProperty",
1065
+ "module": "src/_common/alert-flash-clock.ts"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "installAlertFlashClock",
1071
+ "declaration": {
1072
+ "name": "installAlertFlashClock",
1073
+ "module": "src/_common/alert-flash-clock.ts"
1033
1074
  }
1034
1075
  }
1035
1076
  ]
1036
1077
  },
1037
1078
  {
1038
1079
  "kind": "javascript-module",
1039
- "path": "src/accordion-item/accordion-item.ts",
1080
+ "path": "src/_common/base-file-component.ts",
1040
1081
  "declarations": [
1041
1082
  {
1042
1083
  "kind": "class",
1043
- "description": "",
1044
- "name": "AccordionItem",
1045
- "superclass": {
1046
- "name": "FASTAccordionItem",
1047
- "package": "@microsoft/fast-components"
1048
- },
1049
- "tagName": "%%prefix%%-accordion-item",
1050
- "customElement": true,
1051
- "attributes": [
1084
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1085
+ "name": "BaseFileComponent",
1086
+ "members": [
1052
1087
  {
1053
- "name": "heading-level",
1088
+ "kind": "field",
1089
+ "name": "fileInput",
1054
1090
  "type": {
1055
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1091
+ "text": "HTMLInputElement"
1056
1092
  },
1057
- "default": "2",
1058
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1059
- "fieldName": "headinglevel",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
- }
1093
+ "privacy": "public"
1064
1094
  },
1065
1095
  {
1096
+ "kind": "field",
1097
+ "name": "selectedFile",
1066
1098
  "type": {
1067
- "text": "boolean"
1099
+ "text": "File | null"
1068
1100
  },
1069
- "default": "false",
1070
- "description": "Expands or collapses the item.",
1071
- "fieldName": "expanded",
1072
- "inheritedFrom": {
1073
- "name": "AccordionItem",
1074
- "module": "src/accordion-item/accordion-item.ts"
1075
- }
1101
+ "privacy": "protected",
1102
+ "default": "null"
1076
1103
  },
1077
1104
  {
1078
- "name": "id",
1105
+ "kind": "field",
1106
+ "name": "label",
1079
1107
  "type": {
1080
1108
  "text": "string"
1081
- },
1082
- "description": "The item ID",
1083
- "fieldName": "id",
1084
- "inheritedFrom": {
1085
- "name": "AccordionItem",
1086
- "module": "src/accordion-item/accordion-item.ts"
1087
1109
  }
1088
- }
1089
- ],
1090
- "members": [
1110
+ },
1091
1111
  {
1092
1112
  "kind": "field",
1093
- "name": "headinglevel",
1113
+ "name": "accept",
1094
1114
  "type": {
1095
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1115
+ "text": "string"
1096
1116
  },
1097
- "privacy": "public",
1098
- "default": "2",
1099
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1100
- "inheritedFrom": {
1101
- "name": "AccordionItem",
1102
- "module": "src/accordion-item/accordion-item.ts"
1103
- }
1117
+ "default": "''"
1104
1118
  },
1105
1119
  {
1106
1120
  "kind": "field",
1107
- "name": "expanded",
1121
+ "name": "fileSizeLimitBytes",
1122
+ "default": "10_485_760",
1108
1123
  "type": {
1109
- "text": "boolean"
1110
- },
1111
- "privacy": "public",
1112
- "default": "false",
1113
- "description": "Expands or collapses the item.",
1114
- "inheritedFrom": {
1115
- "name": "AccordionItem",
1116
- "module": "src/accordion-item/accordion-item.ts"
1124
+ "text": "number"
1117
1125
  }
1118
1126
  },
1119
1127
  {
1120
1128
  "kind": "field",
1121
- "name": "id",
1129
+ "name": "fileName",
1122
1130
  "type": {
1123
1131
  "text": "string"
1124
1132
  },
1125
- "privacy": "public",
1126
- "description": "The item ID",
1127
- "inheritedFrom": {
1128
- "name": "AccordionItem",
1129
- "module": "src/accordion-item/accordion-item.ts"
1130
- }
1133
+ "default": "''"
1131
1134
  },
1132
1135
  {
1133
1136
  "kind": "field",
1134
- "name": "change",
1135
- "privacy": "private",
1136
- "inheritedFrom": {
1137
- "name": "AccordionItem",
1138
- "module": "src/accordion-item/accordion-item.ts"
1137
+ "name": "isProcessing",
1138
+ "type": {
1139
+ "text": "boolean"
1140
+ },
1141
+ "default": "false"
1142
+ },
1143
+ {
1144
+ "kind": "method",
1145
+ "name": "handleClick",
1146
+ "privacy": "public",
1147
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1148
+ },
1149
+ {
1150
+ "kind": "method",
1151
+ "name": "onInputChange",
1152
+ "privacy": "public",
1153
+ "parameters": [
1154
+ {
1155
+ "name": "e",
1156
+ "type": {
1157
+ "text": "Event"
1158
+ },
1159
+ "description": "The change event from the file input"
1160
+ }
1161
+ ],
1162
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1163
+ },
1164
+ {
1165
+ "kind": "method",
1166
+ "name": "clearSelection",
1167
+ "privacy": "public",
1168
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1169
+ },
1170
+ {
1171
+ "kind": "method",
1172
+ "name": "getSelectedFile",
1173
+ "privacy": "public",
1174
+ "description": "Gets the currently selected file object",
1175
+ "return": {
1176
+ "type": {
1177
+ "text": ""
1178
+ }
1139
1179
  }
1140
1180
  },
1181
+ {
1182
+ "kind": "method",
1183
+ "name": "showError",
1184
+ "privacy": "protected",
1185
+ "parameters": [
1186
+ {
1187
+ "name": "title",
1188
+ "type": {
1189
+ "text": "string"
1190
+ },
1191
+ "description": "The error title"
1192
+ },
1193
+ {
1194
+ "name": "message",
1195
+ "type": {
1196
+ "text": "string"
1197
+ },
1198
+ "description": "The error message"
1199
+ }
1200
+ ],
1201
+ "description": "Shows an error notification using the unified error handling system"
1202
+ },
1203
+ {
1204
+ "kind": "method",
1205
+ "name": "onFileSelected",
1206
+ "privacy": "protected",
1207
+ "return": {
1208
+ "type": {
1209
+ "text": "void"
1210
+ }
1211
+ },
1212
+ "parameters": [
1213
+ {
1214
+ "name": "files",
1215
+ "type": {
1216
+ "text": "File[]"
1217
+ },
1218
+ "description": "The selected file"
1219
+ }
1220
+ ],
1221
+ "description": "Abstract method called when a file is selected"
1222
+ },
1223
+ {
1224
+ "kind": "method",
1225
+ "name": "onFileCleared",
1226
+ "privacy": "protected",
1227
+ "return": {
1228
+ "type": {
1229
+ "text": "void"
1230
+ }
1231
+ },
1232
+ "description": "Abstract method called when file selection is cleared"
1233
+ },
1141
1234
  {
1142
1235
  "kind": "field",
1143
1236
  "name": "_presentation",
@@ -1252,76 +1345,157 @@
1252
1345
  ],
1253
1346
  "events": [
1254
1347
  {
1255
- "description": "Fires a custom 'change' event when the button is invoked",
1256
- "name": "change",
1257
- "inheritedFrom": {
1258
- "name": "AccordionItem",
1259
- "module": "src/accordion-item/accordion-item.ts"
1260
- }
1348
+ "description": "Fired when file size validation fails. detail: `Error`",
1349
+ "name": "error"
1350
+ },
1351
+ {
1352
+ "description": "Fired when selection is cleared",
1353
+ "name": "clear"
1261
1354
  }
1262
- ]
1263
- },
1355
+ ],
1356
+ "attributes": [
1357
+ {
1358
+ "name": "label",
1359
+ "type": {
1360
+ "text": "string"
1361
+ },
1362
+ "fieldName": "label"
1363
+ },
1364
+ {
1365
+ "name": "accept",
1366
+ "type": {
1367
+ "text": "string"
1368
+ },
1369
+ "default": "''",
1370
+ "fieldName": "accept"
1371
+ },
1372
+ {
1373
+ "name": "file-size-limit-bytes",
1374
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1375
+ "resolveInitializer": {
1376
+ "module": "src/_common/base-file-component.ts"
1377
+ },
1378
+ "fieldName": "fileSizeLimitBytes"
1379
+ }
1380
+ ],
1381
+ "superclass": {
1382
+ "name": "FoundationElement",
1383
+ "package": "@microsoft/fast-foundation"
1384
+ }
1385
+ }
1386
+ ],
1387
+ "exports": [
1264
1388
  {
1265
- "kind": "variable",
1266
- "name": "foundationAccordionItemShadowOptions",
1267
- "type": {
1268
- "text": "ShadowRootInit"
1269
- },
1270
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1271
- },
1389
+ "kind": "js",
1390
+ "name": "BaseFileComponent",
1391
+ "declaration": {
1392
+ "name": "BaseFileComponent",
1393
+ "module": "src/_common/base-file-component.ts"
1394
+ }
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "kind": "javascript-module",
1400
+ "path": "src/_common/field-styles.ts",
1401
+ "declarations": [
1272
1402
  {
1273
1403
  "kind": "variable",
1274
- "name": "defaultAccordionItemConfig",
1275
- "type": {
1276
- "text": "object"
1277
- },
1278
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1279
- },
1404
+ "name": "sharedFieldStyles",
1405
+ "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`"
1406
+ }
1407
+ ],
1408
+ "exports": [
1280
1409
  {
1281
- "kind": "variable",
1282
- "name": "foundationAccordionItem",
1283
- "description": "The Foundation Accordion Item",
1284
- "privacy": "public"
1410
+ "kind": "js",
1411
+ "name": "sharedFieldStyles",
1412
+ "declaration": {
1413
+ "name": "sharedFieldStyles",
1414
+ "module": "src/_common/field-styles.ts"
1415
+ }
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "src/_common/icons.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "function",
1425
+ "name": "closeIcon",
1426
+ "parameters": [
1427
+ {
1428
+ "name": "slot",
1429
+ "default": "'start'"
1430
+ },
1431
+ {
1432
+ "name": "fill",
1433
+ "default": "'#879ba6'"
1434
+ }
1435
+ ]
1285
1436
  }
1286
1437
  ],
1287
1438
  "exports": [
1288
1439
  {
1289
1440
  "kind": "js",
1290
- "name": "AccordionItem",
1441
+ "name": "closeIcon",
1291
1442
  "declaration": {
1292
- "name": "AccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1443
+ "name": "closeIcon",
1444
+ "module": "src/_common/icons.ts"
1445
+ }
1446
+ }
1447
+ ]
1448
+ },
1449
+ {
1450
+ "kind": "javascript-module",
1451
+ "path": "src/_common/index.ts",
1452
+ "declarations": [],
1453
+ "exports": [
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "*",
1457
+ "declaration": {
1458
+ "name": "*",
1459
+ "package": "./affix-mixin"
1294
1460
  }
1295
1461
  },
1296
1462
  {
1297
1463
  "kind": "js",
1298
- "name": "foundationAccordionItemShadowOptions",
1464
+ "name": "*",
1299
1465
  "declaration": {
1300
- "name": "foundationAccordionItemShadowOptions",
1301
- "module": "src/accordion-item/accordion-item.ts"
1466
+ "name": "*",
1467
+ "package": "./alert-flash-clock"
1302
1468
  }
1303
1469
  },
1304
1470
  {
1305
1471
  "kind": "js",
1306
- "name": "defaultAccordionItemConfig",
1472
+ "name": "*",
1307
1473
  "declaration": {
1308
- "name": "defaultAccordionItemConfig",
1309
- "module": "src/accordion-item/accordion-item.ts"
1474
+ "name": "*",
1475
+ "package": "./base-file-component"
1310
1476
  }
1311
1477
  },
1312
1478
  {
1313
1479
  "kind": "js",
1314
- "name": "foundationAccordionItem",
1480
+ "name": "*",
1315
1481
  "declaration": {
1316
- "name": "foundationAccordionItem",
1317
- "module": "src/accordion-item/accordion-item.ts"
1482
+ "name": "*",
1483
+ "package": "./field-styles"
1484
+ }
1485
+ },
1486
+ {
1487
+ "kind": "js",
1488
+ "name": "*",
1489
+ "declaration": {
1490
+ "name": "*",
1491
+ "package": "./icons"
1318
1492
  }
1319
1493
  }
1320
1494
  ]
1321
1495
  },
1322
1496
  {
1323
1497
  "kind": "javascript-module",
1324
- "path": "src/accordion-item/index.ts",
1498
+ "path": "src/_config/index.ts",
1325
1499
  "declarations": [],
1326
1500
  "exports": [
1327
1501
  {
@@ -1329,7 +1503,7 @@
1329
1503
  "name": "*",
1330
1504
  "declaration": {
1331
1505
  "name": "*",
1332
- "package": "./accordion-item.template"
1506
+ "package": "./styles"
1333
1507
  }
1334
1508
  },
1335
1509
  {
@@ -1337,7 +1511,7 @@
1337
1511
  "name": "*",
1338
1512
  "declaration": {
1339
1513
  "name": "*",
1340
- "package": "./accordion-item.styles"
1514
+ "package": "./tokens"
1341
1515
  }
1342
1516
  },
1343
1517
  {
@@ -1345,18 +1519,18 @@
1345
1519
  "name": "*",
1346
1520
  "declaration": {
1347
1521
  "name": "*",
1348
- "package": "./accordion-item"
1522
+ "package": "./values"
1349
1523
  }
1350
1524
  }
1351
1525
  ]
1352
1526
  },
1353
1527
  {
1354
1528
  "kind": "javascript-module",
1355
- "path": "src/actions-menu/actions-menu.styles.ts",
1529
+ "path": "src/accordion-item/accordion-item.styles.ts",
1356
1530
  "declarations": [
1357
1531
  {
1358
1532
  "kind": "function",
1359
- "name": "actionsMenuBaseStyles",
1533
+ "name": "foundationAccordionItemStyles",
1360
1534
  "return": {
1361
1535
  "type": {
1362
1536
  "text": "ElementStyles"
@@ -1376,13 +1550,29 @@
1376
1550
  }
1377
1551
  }
1378
1552
  ]
1379
- },
1553
+ }
1554
+ ],
1555
+ "exports": [
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationAccordionItemStyles",
1559
+ "declaration": {
1560
+ "name": "foundationAccordionItemStyles",
1561
+ "module": "src/accordion-item/accordion-item.styles.ts"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/accordion-item/accordion-item.template.ts",
1569
+ "declarations": [
1380
1570
  {
1381
1571
  "kind": "function",
1382
- "name": "foundationActionsMenuStyles",
1572
+ "name": "foundationAccordionItemTemplate",
1383
1573
  "return": {
1384
1574
  "type": {
1385
- "text": "ElementStyles"
1575
+ "text": "ViewTemplate<AccordionItem>"
1386
1576
  }
1387
1577
  },
1388
1578
  "parameters": [
@@ -1404,282 +1594,118 @@
1404
1594
  "exports": [
1405
1595
  {
1406
1596
  "kind": "js",
1407
- "name": "actionsMenuBaseStyles",
1408
- "declaration": {
1409
- "name": "actionsMenuBaseStyles",
1410
- "module": "src/actions-menu/actions-menu.styles.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "js",
1415
- "name": "foundationActionsMenuStyles",
1597
+ "name": "foundationAccordionItemTemplate",
1416
1598
  "declaration": {
1417
- "name": "foundationActionsMenuStyles",
1418
- "module": "src/actions-menu/actions-menu.styles.ts"
1599
+ "name": "foundationAccordionItemTemplate",
1600
+ "module": "src/accordion-item/accordion-item.template.ts"
1419
1601
  }
1420
1602
  }
1421
1603
  ]
1422
1604
  },
1423
1605
  {
1424
1606
  "kind": "javascript-module",
1425
- "path": "src/actions-menu/actions-menu.template.ts",
1426
- "declarations": [
1427
- {
1428
- "kind": "function",
1429
- "name": "menuTemplate",
1430
- "parameters": [
1431
- {
1432
- "name": "prefix",
1433
- "type": {
1434
- "text": "string"
1435
- }
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "kind": "function",
1441
- "name": "singleOptionTemplate",
1442
- "parameters": [
1443
- {
1444
- "name": "prefix",
1445
- "type": {
1446
- "text": "string"
1447
- }
1448
- }
1449
- ]
1450
- },
1451
- {
1452
- "kind": "variable",
1453
- "name": "foundationActionsMenuTemplate",
1454
- "type": {
1455
- "text": "ViewTemplate<ActionsMenu>"
1456
- },
1457
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1458
- }
1459
- ],
1460
- "exports": [
1461
- {
1462
- "kind": "js",
1463
- "name": "menuTemplate",
1464
- "declaration": {
1465
- "name": "menuTemplate",
1466
- "module": "src/actions-menu/actions-menu.template.ts"
1467
- }
1468
- },
1469
- {
1470
- "kind": "js",
1471
- "name": "singleOptionTemplate",
1472
- "declaration": {
1473
- "name": "singleOptionTemplate",
1474
- "module": "src/actions-menu/actions-menu.template.ts"
1475
- }
1476
- },
1477
- {
1478
- "kind": "js",
1479
- "name": "foundationActionsMenuTemplate",
1480
- "declaration": {
1481
- "name": "foundationActionsMenuTemplate",
1482
- "module": "src/actions-menu/actions-menu.template.ts"
1483
- }
1484
- }
1485
- ]
1486
- },
1487
- {
1488
- "kind": "javascript-module",
1489
- "path": "src/actions-menu/actions-menu.ts",
1607
+ "path": "src/accordion-item/accordion-item.ts",
1490
1608
  "declarations": [
1491
1609
  {
1492
1610
  "kind": "class",
1493
1611
  "description": "",
1494
- "name": "ActionsMenu",
1495
- "members": [
1496
- {
1497
- "kind": "field",
1498
- "name": "actions",
1499
- "type": {
1500
- "text": "ActionMenuItem[]"
1501
- }
1502
- },
1503
- {
1504
- "kind": "field",
1505
- "name": "isVertical",
1506
- "type": {
1507
- "text": "boolean"
1508
- },
1509
- "default": "false"
1510
- },
1612
+ "name": "AccordionItem",
1613
+ "superclass": {
1614
+ "name": "FASTAccordionItem",
1615
+ "package": "@microsoft/fast-components"
1616
+ },
1617
+ "tagName": "%%prefix%%-accordion-item",
1618
+ "customElement": true,
1619
+ "attributes": [
1511
1620
  {
1512
- "kind": "field",
1513
- "name": "addDefaultActions",
1621
+ "name": "heading-level",
1514
1622
  "type": {
1515
- "text": "boolean"
1623
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1516
1624
  },
1517
- "default": "true"
1625
+ "default": "2",
1626
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
+ "fieldName": "headinglevel",
1628
+ "inheritedFrom": {
1629
+ "name": "AccordionItem",
1630
+ "module": "src/accordion-item/accordion-item.ts"
1631
+ }
1518
1632
  },
1519
1633
  {
1520
- "kind": "field",
1521
- "name": "autoCloseOnAction",
1522
1634
  "type": {
1523
1635
  "text": "boolean"
1524
1636
  },
1525
- "default": "true"
1526
- },
1527
- {
1528
- "kind": "field",
1529
- "name": "classNames",
1530
- "type": {
1531
- "text": "string"
1532
- }
1533
- },
1534
- {
1535
- "kind": "field",
1536
- "name": "definition",
1537
- "type": {
1538
- "text": "any"
1637
+ "default": "false",
1638
+ "description": "Expands or collapses the item.",
1639
+ "fieldName": "expanded",
1640
+ "inheritedFrom": {
1641
+ "name": "AccordionItem",
1642
+ "module": "src/accordion-item/accordion-item.ts"
1539
1643
  }
1540
1644
  },
1541
1645
  {
1542
- "kind": "field",
1543
- "name": "name",
1646
+ "name": "id",
1544
1647
  "type": {
1545
1648
  "text": "string"
1546
1649
  },
1547
- "default": "'Actions'"
1548
- },
1549
- {
1550
- "kind": "field",
1551
- "name": "open",
1552
- "type": {
1553
- "text": "boolean"
1554
- },
1555
- "default": "false"
1556
- },
1557
- {
1558
- "kind": "field",
1559
- "name": "buttonAppearance",
1560
- "type": {
1561
- "text": "string"
1650
+ "description": "The item ID",
1651
+ "fieldName": "id",
1652
+ "inheritedFrom": {
1653
+ "name": "AccordionItem",
1654
+ "module": "src/accordion-item/accordion-item.ts"
1562
1655
  }
1563
- },
1656
+ }
1657
+ ],
1658
+ "members": [
1564
1659
  {
1565
1660
  "kind": "field",
1566
- "name": "hideDisabled",
1661
+ "name": "headinglevel",
1567
1662
  "type": {
1568
- "text": "boolean"
1663
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1569
1664
  },
1570
- "default": "false"
1665
+ "privacy": "public",
1666
+ "default": "2",
1667
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1668
+ "inheritedFrom": {
1669
+ "name": "AccordionItem",
1670
+ "module": "src/accordion-item/accordion-item.ts"
1671
+ }
1571
1672
  },
1572
1673
  {
1573
1674
  "kind": "field",
1574
- "name": "hideMenuSingleOption",
1675
+ "name": "expanded",
1575
1676
  "type": {
1576
1677
  "text": "boolean"
1577
1678
  },
1578
- "default": "false"
1579
- },
1580
- {
1581
- "kind": "field",
1582
- "name": "singleOption",
1583
- "type": {
1584
- "text": "ActionMenuItem"
1679
+ "privacy": "public",
1680
+ "default": "false",
1681
+ "description": "Expands or collapses the item.",
1682
+ "inheritedFrom": {
1683
+ "name": "AccordionItem",
1684
+ "module": "src/accordion-item/accordion-item.ts"
1585
1685
  }
1586
1686
  },
1587
1687
  {
1588
1688
  "kind": "field",
1589
- "name": "actionsMenu",
1689
+ "name": "id",
1590
1690
  "type": {
1591
- "text": "HTMLElement"
1691
+ "text": "string"
1692
+ },
1693
+ "privacy": "public",
1694
+ "description": "The item ID",
1695
+ "inheritedFrom": {
1696
+ "name": "AccordionItem",
1697
+ "module": "src/accordion-item/accordion-item.ts"
1592
1698
  }
1593
1699
  },
1594
1700
  {
1595
1701
  "kind": "field",
1596
- "name": "actionsOpener",
1597
- "type": {
1598
- "text": "HTMLElement"
1702
+ "name": "change",
1703
+ "privacy": "private",
1704
+ "inheritedFrom": {
1705
+ "name": "AccordionItem",
1706
+ "module": "src/accordion-item/accordion-item.ts"
1599
1707
  }
1600
1708
  },
1601
- {
1602
- "kind": "method",
1603
- "name": "updateMenuPosition",
1604
- "privacy": "private"
1605
- },
1606
- {
1607
- "kind": "method",
1608
- "name": "definitionChanged",
1609
- "privacy": "protected",
1610
- "parameters": [
1611
- {
1612
- "name": "oldValue",
1613
- "type": {
1614
- "text": "any"
1615
- }
1616
- },
1617
- {
1618
- "name": "newValue",
1619
- "type": {
1620
- "text": "any"
1621
- }
1622
- }
1623
- ]
1624
- },
1625
- {
1626
- "kind": "method",
1627
- "name": "openChanged",
1628
- "privacy": "protected"
1629
- },
1630
- {
1631
- "kind": "method",
1632
- "name": "toggleActionsMenuVisibility"
1633
- },
1634
- {
1635
- "kind": "method",
1636
- "name": "onActionMenuItemClick",
1637
- "parameters": [
1638
- {
1639
- "name": "callback",
1640
- "type": {
1641
- "text": "(rowData) => void | any"
1642
- }
1643
- }
1644
- ]
1645
- },
1646
- {
1647
- "kind": "field",
1648
- "name": "allActions",
1649
- "type": {
1650
- "text": "ActionMenuItem[]"
1651
- },
1652
- "readonly": true
1653
- },
1654
- {
1655
- "kind": "field",
1656
- "name": "rowData",
1657
- "readonly": true
1658
- },
1659
- {
1660
- "kind": "method",
1661
- "name": "getLabel",
1662
- "parameters": [
1663
- {
1664
- "name": "name",
1665
- "type": {
1666
- "text": "string | ((rowData: any) => string)"
1667
- }
1668
- }
1669
- ]
1670
- },
1671
- {
1672
- "kind": "method",
1673
- "name": "getTemplate",
1674
- "parameters": [
1675
- {
1676
- "name": "prefix",
1677
- "type": {
1678
- "text": "string"
1679
- }
1680
- }
1681
- ]
1682
- },
1683
1709
  {
1684
1710
  "kind": "field",
1685
1711
  "name": "_presentation",
@@ -1792,107 +1818,78 @@
1792
1818
  }
1793
1819
  }
1794
1820
  ],
1795
- "attributes": [
1796
- {
1797
- "name": "is-vertical",
1798
- "type": {
1799
- "text": "boolean"
1800
- },
1801
- "default": "false",
1802
- "fieldName": "isVertical"
1803
- },
1804
- {
1805
- "name": "add-default-actions",
1806
- "type": {
1807
- "text": "boolean"
1808
- },
1809
- "default": "true",
1810
- "fieldName": "addDefaultActions"
1811
- },
1812
- {
1813
- "name": "auto-close-on-action",
1814
- "type": {
1815
- "text": "boolean"
1816
- },
1817
- "default": "true",
1818
- "fieldName": "autoCloseOnAction"
1819
- },
1820
- {
1821
- "name": "name",
1822
- "type": {
1823
- "text": "string"
1824
- },
1825
- "default": "'Actions'",
1826
- "fieldName": "name"
1827
- },
1828
- {
1829
- "name": "open",
1830
- "type": {
1831
- "text": "boolean"
1832
- },
1833
- "default": "false",
1834
- "fieldName": "open"
1835
- },
1836
- {
1837
- "name": "buttonAppearance",
1838
- "type": {
1839
- "text": "string"
1840
- },
1841
- "fieldName": "buttonAppearance"
1842
- },
1843
- {
1844
- "name": "hide-disabled",
1845
- "type": {
1846
- "text": "boolean"
1847
- },
1848
- "default": "false",
1849
- "fieldName": "hideDisabled"
1850
- },
1821
+ "events": [
1851
1822
  {
1852
- "name": "hide-menu-single-option",
1853
- "type": {
1854
- "text": "boolean"
1855
- },
1856
- "default": "false",
1857
- "fieldName": "hideMenuSingleOption"
1823
+ "description": "Fires a custom 'change' event when the button is invoked",
1824
+ "name": "change",
1825
+ "inheritedFrom": {
1826
+ "name": "AccordionItem",
1827
+ "module": "src/accordion-item/accordion-item.ts"
1828
+ }
1858
1829
  }
1859
- ],
1860
- "superclass": {
1861
- "name": "FoundationElement",
1862
- "package": "@microsoft/fast-foundation"
1830
+ ]
1831
+ },
1832
+ {
1833
+ "kind": "variable",
1834
+ "name": "foundationAccordionItemShadowOptions",
1835
+ "type": {
1836
+ "text": "ShadowRootInit"
1863
1837
  },
1864
- "tagName": "%%prefix%%-actions-menu",
1865
- "customElement": true
1838
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1866
1839
  },
1867
1840
  {
1868
1841
  "kind": "variable",
1869
- "name": "foundationActionsMenu",
1870
- "description": "The Foundation Actions Menu",
1842
+ "name": "defaultAccordionItemConfig",
1843
+ "type": {
1844
+ "text": "object"
1845
+ },
1846
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1847
+ },
1848
+ {
1849
+ "kind": "variable",
1850
+ "name": "foundationAccordionItem",
1851
+ "description": "The Foundation Accordion Item",
1871
1852
  "privacy": "public"
1872
1853
  }
1873
1854
  ],
1874
1855
  "exports": [
1875
1856
  {
1876
1857
  "kind": "js",
1877
- "name": "ActionsMenu",
1858
+ "name": "AccordionItem",
1878
1859
  "declaration": {
1879
- "name": "ActionsMenu",
1880
- "module": "src/actions-menu/actions-menu.ts"
1860
+ "name": "AccordionItem",
1861
+ "module": "src/accordion-item/accordion-item.ts"
1881
1862
  }
1882
1863
  },
1883
1864
  {
1884
1865
  "kind": "js",
1885
- "name": "foundationActionsMenu",
1866
+ "name": "foundationAccordionItemShadowOptions",
1886
1867
  "declaration": {
1887
- "name": "foundationActionsMenu",
1888
- "module": "src/actions-menu/actions-menu.ts"
1868
+ "name": "foundationAccordionItemShadowOptions",
1869
+ "module": "src/accordion-item/accordion-item.ts"
1870
+ }
1871
+ },
1872
+ {
1873
+ "kind": "js",
1874
+ "name": "defaultAccordionItemConfig",
1875
+ "declaration": {
1876
+ "name": "defaultAccordionItemConfig",
1877
+ "module": "src/accordion-item/accordion-item.ts"
1878
+ }
1879
+ },
1880
+ {
1881
+ "kind": "js",
1882
+ "name": "foundationAccordionItem",
1883
+ "declaration": {
1884
+ "name": "foundationAccordionItem",
1885
+ "module": "src/accordion-item/accordion-item.ts"
1889
1886
  }
1890
1887
  }
1891
1888
  ]
1892
1889
  },
1893
1890
  {
1894
1891
  "kind": "javascript-module",
1895
- "path": "src/actions-menu/index.ts",
1892
+ "path": "src/accordion-item/index.ts",
1896
1893
  "declarations": [],
1897
1894
  "exports": [
1898
1895
  {
@@ -1900,7 +1897,7 @@
1900
1897
  "name": "*",
1901
1898
  "declaration": {
1902
1899
  "name": "*",
1903
- "package": "./actions-menu.styles"
1900
+ "package": "./accordion-item.template"
1904
1901
  }
1905
1902
  },
1906
1903
  {
@@ -1908,7 +1905,7 @@
1908
1905
  "name": "*",
1909
1906
  "declaration": {
1910
1907
  "name": "*",
1911
- "package": "./actions-menu.template"
1908
+ "package": "./accordion-item.styles"
1912
1909
  }
1913
1910
  },
1914
1911
  {
@@ -1916,51 +1913,34 @@
1916
1913
  "name": "*",
1917
1914
  "declaration": {
1918
1915
  "name": "*",
1919
- "package": "./actions-menu"
1916
+ "package": "./accordion-item"
1920
1917
  }
1921
1918
  }
1922
1919
  ]
1923
1920
  },
1924
1921
  {
1925
1922
  "kind": "javascript-module",
1926
- "path": "src/_common/affix-mixin.ts",
1923
+ "path": "src/accordion/accordion.styles.ts",
1927
1924
  "declarations": [
1928
1925
  {
1929
- "kind": "mixin",
1930
- "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.",
1931
- "name": "AffixMixin",
1932
- "members": [
1933
- {
1934
- "kind": "field",
1935
- "name": "prefix",
1936
- "type": {
1937
- "text": "string"
1938
- },
1939
- "description": "Optional non-editable label shown on the left inside the field, before the input."
1940
- },
1926
+ "kind": "function",
1927
+ "name": "foundationAccordionStyles",
1928
+ "return": {
1929
+ "type": {
1930
+ "text": "ElementStyles"
1931
+ }
1932
+ },
1933
+ "parameters": [
1941
1934
  {
1942
- "kind": "field",
1943
- "name": "suffix",
1935
+ "name": "context",
1944
1936
  "type": {
1945
- "text": "string"
1946
- },
1947
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1937
+ "text": "ElementDefinitionContext"
1938
+ }
1948
1939
  },
1949
1940
  {
1950
- "kind": "field",
1951
- "name": "hideAffixFromScreenReader",
1952
- "type": {
1953
- "text": "boolean"
1954
- },
1955
- "default": "false",
1956
- "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."
1957
- }
1958
- ],
1959
- "parameters": [
1960
- {
1961
- "name": "Base",
1941
+ "name": "definition",
1962
1942
  "type": {
1963
- "text": "TBase"
1943
+ "text": "FoundationElementDefinition"
1964
1944
  }
1965
1945
  }
1966
1946
  ]
@@ -1969,206 +1949,246 @@
1969
1949
  "exports": [
1970
1950
  {
1971
1951
  "kind": "js",
1972
- "name": "AffixMixin",
1952
+ "name": "foundationAccordionStyles",
1973
1953
  "declaration": {
1974
- "name": "AffixMixin",
1975
- "module": "src/_common/affix-mixin.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
1976
1956
  }
1977
1957
  }
1978
1958
  ]
1979
1959
  },
1980
1960
  {
1981
1961
  "kind": "javascript-module",
1982
- "path": "src/_common/alert-flash-clock.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
1983
1963
  "declarations": [
1984
- {
1985
- "kind": "variable",
1986
- "name": "alertFlashPhaseProperty",
1987
- "type": {
1988
- "text": "string"
1989
- },
1990
- "default": "'--alert-flash-t'",
1991
- "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1992
- "privacy": "public"
1993
- },
1994
- {
1995
- "kind": "variable",
1996
- "name": "alertFlashDurationProperty",
1997
- "type": {
1998
- "text": "string"
1999
- },
2000
- "default": "'--alert-flash-duration'",
2001
- "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
2002
- "privacy": "public"
2003
- },
2004
1964
  {
2005
1965
  "kind": "function",
2006
- "name": "installAlertFlashClock",
1966
+ "name": "foundationAccordionTemplate",
2007
1967
  "return": {
2008
1968
  "type": {
2009
- "text": "void"
1969
+ "text": "ViewTemplate<Accordion>"
2010
1970
  }
2011
1971
  },
2012
- "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
2013
- "privacy": "public"
1972
+ "parameters": [
1973
+ {
1974
+ "name": "context",
1975
+ "type": {
1976
+ "text": "ElementDefinitionContext"
1977
+ }
1978
+ },
1979
+ {
1980
+ "name": "definition",
1981
+ "type": {
1982
+ "text": "FoundationElementDefinition"
1983
+ }
1984
+ }
1985
+ ]
2014
1986
  }
2015
1987
  ],
2016
1988
  "exports": [
2017
1989
  {
2018
1990
  "kind": "js",
2019
- "name": "alertFlashPhaseProperty",
2020
- "declaration": {
2021
- "name": "alertFlashPhaseProperty",
2022
- "module": "src/_common/alert-flash-clock.ts"
2023
- }
2024
- },
2025
- {
2026
- "kind": "js",
2027
- "name": "alertFlashDurationProperty",
2028
- "declaration": {
2029
- "name": "alertFlashDurationProperty",
2030
- "module": "src/_common/alert-flash-clock.ts"
2031
- }
2032
- },
2033
- {
2034
- "kind": "js",
2035
- "name": "installAlertFlashClock",
1991
+ "name": "foundationAccordionTemplate",
2036
1992
  "declaration": {
2037
- "name": "installAlertFlashClock",
2038
- "module": "src/_common/alert-flash-clock.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2039
1995
  }
2040
1996
  }
2041
1997
  ]
2042
1998
  },
2043
1999
  {
2044
2000
  "kind": "javascript-module",
2045
- "path": "src/_common/base-file-component.ts",
2001
+ "path": "src/accordion/accordion.ts",
2046
2002
  "declarations": [
2047
2003
  {
2048
2004
  "kind": "class",
2049
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
2050
- "name": "BaseFileComponent",
2005
+ "description": "",
2006
+ "name": "Accordion",
2007
+ "superclass": {
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2010
+ },
2011
+ "tagName": "%%prefix%%-accordion",
2012
+ "customElement": true,
2013
+ "attributes": [
2014
+ {
2015
+ "name": "expand-mode",
2016
+ "type": {
2017
+ "text": "AccordionExpandMode"
2018
+ },
2019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
+ "fieldName": "expandmode",
2021
+ "inheritedFrom": {
2022
+ "name": "Accordion",
2023
+ "module": "src/accordion/accordion.ts"
2024
+ }
2025
+ }
2026
+ ],
2051
2027
  "members": [
2052
2028
  {
2053
2029
  "kind": "field",
2054
- "name": "fileInput",
2030
+ "name": "expandmode",
2055
2031
  "type": {
2056
- "text": "HTMLInputElement"
2032
+ "text": "AccordionExpandMode"
2057
2033
  },
2058
- "privacy": "public"
2034
+ "privacy": "public",
2035
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
+ "inheritedFrom": {
2037
+ "name": "Accordion",
2038
+ "module": "src/accordion/accordion.ts"
2039
+ }
2059
2040
  },
2060
2041
  {
2061
2042
  "kind": "field",
2062
- "name": "selectedFile",
2043
+ "name": "activeid",
2063
2044
  "type": {
2064
- "text": "File | null"
2045
+ "text": "string | null"
2065
2046
  },
2066
- "privacy": "protected",
2067
- "default": "null"
2047
+ "privacy": "private",
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2068
2052
  },
2069
2053
  {
2070
2054
  "kind": "field",
2071
- "name": "label",
2055
+ "name": "activeItemIndex",
2072
2056
  "type": {
2073
- "text": "string"
2057
+ "text": "number"
2058
+ },
2059
+ "privacy": "private",
2060
+ "default": "0",
2061
+ "inheritedFrom": {
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2074
2064
  }
2075
2065
  },
2076
2066
  {
2077
2067
  "kind": "field",
2078
- "name": "accept",
2068
+ "name": "accordionIds",
2079
2069
  "type": {
2080
- "text": "string"
2070
+ "text": "Array<string | null>"
2081
2071
  },
2082
- "default": "''"
2072
+ "privacy": "private",
2073
+ "inheritedFrom": {
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2076
+ }
2083
2077
  },
2084
2078
  {
2085
2079
  "kind": "field",
2086
- "name": "fileSizeLimitBytes",
2087
- "default": "10_485_760",
2088
- "type": {
2089
- "text": "number"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2090
2085
  }
2091
2086
  },
2092
2087
  {
2093
- "kind": "field",
2094
- "name": "fileName",
2095
- "type": {
2096
- "text": "string"
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2097
2095
  },
2098
- "default": "''"
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2099
+ }
2099
2100
  },
2100
2101
  {
2101
2102
  "kind": "field",
2102
- "name": "isProcessing",
2103
- "type": {
2104
- "text": "boolean"
2105
- },
2106
- "default": "false"
2103
+ "name": "setItems",
2104
+ "privacy": "private",
2105
+ "inheritedFrom": {
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2107
2109
  },
2108
2110
  {
2109
2111
  "kind": "method",
2110
- "name": "handleClick",
2111
- "privacy": "public",
2112
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2118
+ },
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2122
+ }
2113
2123
  },
2114
2124
  {
2115
- "kind": "method",
2116
- "name": "onInputChange",
2117
- "privacy": "public",
2118
- "parameters": [
2119
- {
2120
- "name": "e",
2121
- "type": {
2122
- "text": "Event"
2123
- },
2124
- "description": "The change event from the file input"
2125
- }
2126
- ],
2127
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2125
+ "kind": "field",
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2131
+ }
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2140
+ }
2128
2141
  },
2129
2142
  {
2130
2143
  "kind": "method",
2131
- "name": "clearSelection",
2132
- "privacy": "public",
2133
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2149
+ }
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2134
2155
  },
2135
2156
  {
2136
2157
  "kind": "method",
2137
- "name": "getSelectedFile",
2138
- "privacy": "public",
2139
- "description": "Gets the currently selected file object",
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2140
2160
  "return": {
2141
2161
  "type": {
2142
- "text": ""
2162
+ "text": "boolean"
2143
2163
  }
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "field",
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2144
2177
  }
2145
2178
  },
2146
2179
  {
2147
- "kind": "method",
2148
- "name": "showError",
2149
- "privacy": "protected",
2150
- "parameters": [
2151
- {
2152
- "name": "title",
2153
- "type": {
2154
- "text": "string"
2155
- },
2156
- "description": "The error title"
2157
- },
2158
- {
2159
- "name": "message",
2160
- "type": {
2161
- "text": "string"
2162
- },
2163
- "description": "The error message"
2164
- }
2165
- ],
2166
- "description": "Shows an error notification using the unified error handling system"
2180
+ "kind": "field",
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2167
2187
  },
2168
2188
  {
2169
2189
  "kind": "method",
2170
- "name": "onFileSelected",
2171
- "privacy": "protected",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2172
2192
  "return": {
2173
2193
  "type": {
2174
2194
  "text": "void"
@@ -2176,25 +2196,30 @@
2176
2196
  },
2177
2197
  "parameters": [
2178
2198
  {
2179
- "name": "files",
2199
+ "name": "adjustment",
2180
2200
  "type": {
2181
- "text": "File[]"
2182
- },
2183
- "description": "The selected file"
2201
+ "text": "number"
2202
+ }
2184
2203
  }
2185
2204
  ],
2186
- "description": "Abstract method called when a file is selected"
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2187
2209
  },
2188
2210
  {
2189
2211
  "kind": "method",
2190
- "name": "onFileCleared",
2191
- "privacy": "protected",
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2192
2214
  "return": {
2193
2215
  "type": {
2194
2216
  "text": "void"
2195
2217
  }
2196
2218
  },
2197
- "description": "Abstract method called when file selection is cleared"
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2222
+ }
2198
2223
  },
2199
2224
  {
2200
2225
  "kind": "field",
@@ -2310,134 +2335,84 @@
2310
2335
  ],
2311
2336
  "events": [
2312
2337
  {
2313
- "description": "Fired when file size validation fails. detail: `Error`",
2314
- "name": "error"
2315
- },
2316
- {
2317
- "description": "Fired when selection is cleared",
2318
- "name": "clear"
2319
- }
2320
- ],
2321
- "attributes": [
2322
- {
2323
- "name": "label",
2324
- "type": {
2325
- "text": "string"
2326
- },
2327
- "fieldName": "label"
2328
- },
2329
- {
2330
- "name": "accept",
2331
- "type": {
2332
- "text": "string"
2333
- },
2334
- "default": "''",
2335
- "fieldName": "accept"
2336
- },
2337
- {
2338
- "name": "file-size-limit-bytes",
2339
- "default": "DEFAULT_FILE_SIZE_LIMIT",
2340
- "resolveInitializer": {
2341
- "module": "src/_common/base-file-component.ts"
2342
- },
2343
- "fieldName": "fileSizeLimitBytes"
2338
+ "description": "Fires a custom 'change' event when the active item changes",
2339
+ "name": "change",
2340
+ "inheritedFrom": {
2341
+ "name": "Accordion",
2342
+ "module": "src/accordion/accordion.ts"
2343
+ }
2344
2344
  }
2345
- ],
2346
- "superclass": {
2347
- "name": "FoundationElement",
2348
- "package": "@microsoft/fast-foundation"
2349
- }
2350
- }
2351
- ],
2352
- "exports": [
2345
+ ]
2346
+ },
2353
2347
  {
2354
- "kind": "js",
2355
- "name": "BaseFileComponent",
2356
- "declaration": {
2357
- "name": "BaseFileComponent",
2358
- "module": "src/_common/base-file-component.ts"
2359
- }
2360
- }
2361
- ]
2362
- },
2363
- {
2364
- "kind": "javascript-module",
2365
- "path": "src/_common/field-styles.ts",
2366
- "declarations": [
2348
+ "kind": "variable",
2349
+ "name": "foundationAccordionShadowOptions",
2350
+ "type": {
2351
+ "text": "ShadowRootInit"
2352
+ },
2353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
+ },
2367
2355
  {
2368
2356
  "kind": "variable",
2369
- "name": "sharedFieldStyles",
2370
- "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`"
2357
+ "name": "defaultAccordionConfig",
2358
+ "type": {
2359
+ "text": "object"
2360
+ },
2361
+ "default": "{}"
2362
+ },
2363
+ {
2364
+ "kind": "variable",
2365
+ "name": "foundationAccordion",
2366
+ "description": "The Foundation Accordion",
2367
+ "privacy": "public"
2371
2368
  }
2372
2369
  ],
2373
2370
  "exports": [
2374
2371
  {
2375
2372
  "kind": "js",
2376
- "name": "sharedFieldStyles",
2373
+ "name": "Accordion",
2377
2374
  "declaration": {
2378
- "name": "sharedFieldStyles",
2379
- "module": "src/_common/field-styles.ts"
2375
+ "name": "Accordion",
2376
+ "module": "src/accordion/accordion.ts"
2380
2377
  }
2381
- }
2382
- ]
2383
- },
2384
- {
2385
- "kind": "javascript-module",
2386
- "path": "src/_common/icons.ts",
2387
- "declarations": [
2388
- {
2389
- "kind": "function",
2390
- "name": "closeIcon",
2391
- "parameters": [
2392
- {
2393
- "name": "slot",
2394
- "default": "'start'"
2395
- },
2396
- {
2397
- "name": "fill",
2398
- "default": "'#879ba6'"
2399
- }
2400
- ]
2401
- }
2402
- ],
2403
- "exports": [
2378
+ },
2404
2379
  {
2405
2380
  "kind": "js",
2406
- "name": "closeIcon",
2381
+ "name": "foundationAccordionShadowOptions",
2407
2382
  "declaration": {
2408
- "name": "closeIcon",
2409
- "module": "src/_common/icons.ts"
2383
+ "name": "foundationAccordionShadowOptions",
2384
+ "module": "src/accordion/accordion.ts"
2410
2385
  }
2411
- }
2412
- ]
2413
- },
2414
- {
2415
- "kind": "javascript-module",
2416
- "path": "src/_common/index.ts",
2417
- "declarations": [],
2418
- "exports": [
2386
+ },
2419
2387
  {
2420
2388
  "kind": "js",
2421
- "name": "*",
2389
+ "name": "defaultAccordionConfig",
2422
2390
  "declaration": {
2423
- "name": "*",
2424
- "package": "./affix-mixin"
2391
+ "name": "defaultAccordionConfig",
2392
+ "module": "src/accordion/accordion.ts"
2425
2393
  }
2426
2394
  },
2427
2395
  {
2428
2396
  "kind": "js",
2429
- "name": "*",
2397
+ "name": "foundationAccordion",
2430
2398
  "declaration": {
2431
- "name": "*",
2432
- "package": "./alert-flash-clock"
2399
+ "name": "foundationAccordion",
2400
+ "module": "src/accordion/accordion.ts"
2433
2401
  }
2434
- },
2402
+ }
2403
+ ]
2404
+ },
2405
+ {
2406
+ "kind": "javascript-module",
2407
+ "path": "src/accordion/index.ts",
2408
+ "declarations": [],
2409
+ "exports": [
2435
2410
  {
2436
2411
  "kind": "js",
2437
2412
  "name": "*",
2438
2413
  "declaration": {
2439
2414
  "name": "*",
2440
- "package": "./base-file-component"
2415
+ "package": "./accordion.template"
2441
2416
  }
2442
2417
  },
2443
2418
  {
@@ -2445,7 +2420,7 @@
2445
2420
  "name": "*",
2446
2421
  "declaration": {
2447
2422
  "name": "*",
2448
- "package": "./field-styles"
2423
+ "package": "./accordion.styles"
2449
2424
  }
2450
2425
  },
2451
2426
  {
@@ -2453,122 +2428,210 @@
2453
2428
  "name": "*",
2454
2429
  "declaration": {
2455
2430
  "name": "*",
2456
- "package": "./icons"
2431
+ "package": "./accordion"
2457
2432
  }
2458
2433
  }
2459
2434
  ]
2460
2435
  },
2461
2436
  {
2462
2437
  "kind": "javascript-module",
2463
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2438
+ "path": "src/actions-menu/actions-menu.styles.ts",
2464
2439
  "declarations": [
2465
2440
  {
2466
- "kind": "variable",
2467
- "name": "foundationAiCriteriaSearchStyles",
2468
- "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`"
2441
+ "kind": "function",
2442
+ "name": "actionsMenuBaseStyles",
2443
+ "return": {
2444
+ "type": {
2445
+ "text": "ElementStyles"
2446
+ }
2447
+ },
2448
+ "parameters": [
2449
+ {
2450
+ "name": "context",
2451
+ "type": {
2452
+ "text": "ElementDefinitionContext"
2453
+ }
2454
+ },
2455
+ {
2456
+ "name": "definition",
2457
+ "type": {
2458
+ "text": "FoundationElementDefinition"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "foundationActionsMenuStyles",
2466
+ "return": {
2467
+ "type": {
2468
+ "text": "ElementStyles"
2469
+ }
2470
+ },
2471
+ "parameters": [
2472
+ {
2473
+ "name": "context",
2474
+ "type": {
2475
+ "text": "ElementDefinitionContext"
2476
+ }
2477
+ },
2478
+ {
2479
+ "name": "definition",
2480
+ "type": {
2481
+ "text": "FoundationElementDefinition"
2482
+ }
2483
+ }
2484
+ ]
2469
2485
  }
2470
2486
  ],
2471
2487
  "exports": [
2472
2488
  {
2473
2489
  "kind": "js",
2474
- "name": "foundationAiCriteriaSearchStyles",
2490
+ "name": "actionsMenuBaseStyles",
2475
2491
  "declaration": {
2476
- "name": "foundationAiCriteriaSearchStyles",
2477
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2492
+ "name": "actionsMenuBaseStyles",
2493
+ "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "foundationActionsMenuStyles",
2499
+ "declaration": {
2500
+ "name": "foundationActionsMenuStyles",
2501
+ "module": "src/actions-menu/actions-menu.styles.ts"
2478
2502
  }
2479
2503
  }
2480
2504
  ]
2481
2505
  },
2482
2506
  {
2483
2507
  "kind": "javascript-module",
2484
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2508
+ "path": "src/actions-menu/actions-menu.template.ts",
2485
2509
  "declarations": [
2510
+ {
2511
+ "kind": "function",
2512
+ "name": "menuTemplate",
2513
+ "parameters": [
2514
+ {
2515
+ "name": "prefix",
2516
+ "type": {
2517
+ "text": "string"
2518
+ }
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "function",
2524
+ "name": "singleOptionTemplate",
2525
+ "parameters": [
2526
+ {
2527
+ "name": "prefix",
2528
+ "type": {
2529
+ "text": "string"
2530
+ }
2531
+ }
2532
+ ]
2533
+ },
2486
2534
  {
2487
2535
  "kind": "variable",
2488
- "name": "foundationAiCriteriaSearchTemplate",
2536
+ "name": "foundationActionsMenuTemplate",
2489
2537
  "type": {
2490
- "text": "ViewTemplate<AiCriteriaSearch>"
2538
+ "text": "ViewTemplate<ActionsMenu>"
2491
2539
  },
2492
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2540
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2493
2541
  }
2494
2542
  ],
2495
2543
  "exports": [
2496
2544
  {
2497
2545
  "kind": "js",
2498
- "name": "foundationAiCriteriaSearchTemplate",
2546
+ "name": "menuTemplate",
2499
2547
  "declaration": {
2500
- "name": "foundationAiCriteriaSearchTemplate",
2501
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2548
+ "name": "menuTemplate",
2549
+ "module": "src/actions-menu/actions-menu.template.ts"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "js",
2554
+ "name": "singleOptionTemplate",
2555
+ "declaration": {
2556
+ "name": "singleOptionTemplate",
2557
+ "module": "src/actions-menu/actions-menu.template.ts"
2558
+ }
2559
+ },
2560
+ {
2561
+ "kind": "js",
2562
+ "name": "foundationActionsMenuTemplate",
2563
+ "declaration": {
2564
+ "name": "foundationActionsMenuTemplate",
2565
+ "module": "src/actions-menu/actions-menu.template.ts"
2502
2566
  }
2503
2567
  }
2504
2568
  ]
2505
2569
  },
2506
2570
  {
2507
2571
  "kind": "javascript-module",
2508
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2572
+ "path": "src/actions-menu/actions-menu.ts",
2509
2573
  "declarations": [
2510
2574
  {
2511
2575
  "kind": "class",
2512
- "description": "Natural-language criteria search input with AI interpretation.",
2513
- "name": "AiCriteriaSearch",
2576
+ "description": "",
2577
+ "name": "ActionsMenu",
2514
2578
  "members": [
2515
2579
  {
2516
2580
  "kind": "field",
2517
- "name": "providerRegistry",
2581
+ "name": "actions",
2518
2582
  "type": {
2519
- "text": "AIProviderRegistry"
2583
+ "text": "ActionMenuItem[]"
2520
2584
  }
2521
2585
  },
2522
2586
  {
2523
2587
  "kind": "field",
2524
- "name": "placeholder",
2588
+ "name": "isVertical",
2525
2589
  "type": {
2526
- "text": "string"
2590
+ "text": "boolean"
2527
2591
  },
2528
- "default": "'Describe your search criteria in natural language...'"
2592
+ "default": "false"
2529
2593
  },
2530
2594
  {
2531
2595
  "kind": "field",
2532
- "name": "disabled",
2596
+ "name": "addDefaultActions",
2533
2597
  "type": {
2534
2598
  "text": "boolean"
2535
- }
2599
+ },
2600
+ "default": "true"
2536
2601
  },
2537
2602
  {
2538
2603
  "kind": "field",
2539
- "name": "inputValue",
2604
+ "name": "autoCloseOnAction",
2540
2605
  "type": {
2541
- "text": "string"
2606
+ "text": "boolean"
2542
2607
  },
2543
- "default": "''"
2608
+ "default": "true"
2544
2609
  },
2545
2610
  {
2546
2611
  "kind": "field",
2547
- "name": "isInterpreting",
2612
+ "name": "classNames",
2548
2613
  "type": {
2549
- "text": "boolean"
2550
- },
2551
- "default": "false"
2614
+ "text": "string"
2615
+ }
2552
2616
  },
2553
2617
  {
2554
2618
  "kind": "field",
2555
- "name": "lastValidCriteria",
2619
+ "name": "definition",
2556
2620
  "type": {
2557
- "text": "string | null"
2558
- },
2559
- "default": "null"
2621
+ "text": "any"
2622
+ }
2560
2623
  },
2561
2624
  {
2562
2625
  "kind": "field",
2563
- "name": "activeGroups",
2626
+ "name": "name",
2564
2627
  "type": {
2565
- "text": "CriteriaGroup[]"
2628
+ "text": "string"
2566
2629
  },
2567
- "default": "[]"
2630
+ "default": "'Actions'"
2568
2631
  },
2569
2632
  {
2570
2633
  "kind": "field",
2571
- "name": "showingChips",
2634
+ "name": "open",
2572
2635
  "type": {
2573
2636
  "text": "boolean"
2574
2637
  },
@@ -2576,15 +2639,14 @@
2576
2639
  },
2577
2640
  {
2578
2641
  "kind": "field",
2579
- "name": "fieldMetadata",
2642
+ "name": "buttonAppearance",
2580
2643
  "type": {
2581
- "text": "MetadataDetail[] | string[]"
2582
- },
2583
- "default": "[]"
2644
+ "text": "string"
2645
+ }
2584
2646
  },
2585
2647
  {
2586
2648
  "kind": "field",
2587
- "name": "isRecording",
2649
+ "name": "hideDisabled",
2588
2650
  "type": {
2589
2651
  "text": "boolean"
2590
2652
  },
@@ -2592,125 +2654,114 @@
2592
2654
  },
2593
2655
  {
2594
2656
  "kind": "field",
2595
- "name": "textAreaRef",
2596
- "type": {
2597
- "text": "HTMLTextAreaElement"
2598
- },
2599
- "privacy": "public"
2600
- },
2601
- {
2602
- "kind": "field",
2603
- "name": "stopRecording",
2657
+ "name": "hideMenuSingleOption",
2604
2658
  "type": {
2605
- "text": "(() => void) | null"
2659
+ "text": "boolean"
2606
2660
  },
2607
- "privacy": "private",
2608
- "default": "null"
2661
+ "default": "false"
2609
2662
  },
2610
2663
  {
2611
2664
  "kind": "field",
2612
- "name": "speechApplyDebounceTimer",
2665
+ "name": "singleOption",
2613
2666
  "type": {
2614
- "text": "ReturnType<typeof setTimeout> | null"
2615
- },
2616
- "privacy": "private",
2617
- "default": "null"
2667
+ "text": "ActionMenuItem"
2668
+ }
2618
2669
  },
2619
2670
  {
2620
2671
  "kind": "field",
2621
- "name": "speechAvailable",
2672
+ "name": "actionsMenu",
2622
2673
  "type": {
2623
- "text": "boolean"
2624
- },
2625
- "readonly": true
2674
+ "text": "HTMLElement"
2675
+ }
2626
2676
  },
2627
2677
  {
2628
2678
  "kind": "field",
2629
- "name": "criteriaChips",
2679
+ "name": "actionsOpener",
2630
2680
  "type": {
2631
- "text": "CriteriaChip[]"
2632
- },
2633
- "readonly": true
2634
- },
2635
- {
2636
- "kind": "method",
2637
- "name": "getFieldLabel",
2638
- "privacy": "private",
2639
- "return": {
2640
- "type": {
2641
- "text": "string"
2642
- }
2643
- },
2644
- "parameters": [
2645
- {
2646
- "name": "fieldName",
2647
- "type": {
2648
- "text": "string"
2649
- }
2650
- }
2651
- ]
2681
+ "text": "HTMLElement"
2682
+ }
2652
2683
  },
2653
2684
  {
2654
2685
  "kind": "method",
2655
- "name": "toggleCriteriaView",
2656
- "return": {
2657
- "type": {
2658
- "text": "void"
2659
- }
2660
- }
2686
+ "name": "updateMenuPosition",
2687
+ "privacy": "private"
2661
2688
  },
2662
2689
  {
2663
2690
  "kind": "method",
2664
- "name": "removeChip",
2665
- "return": {
2666
- "type": {
2667
- "text": "void"
2668
- }
2669
- },
2691
+ "name": "definitionChanged",
2692
+ "privacy": "protected",
2670
2693
  "parameters": [
2671
2694
  {
2672
- "name": "groupIndex",
2695
+ "name": "oldValue",
2673
2696
  "type": {
2674
- "text": "number"
2697
+ "text": "any"
2675
2698
  }
2676
2699
  },
2677
2700
  {
2678
- "name": "clauseIndex",
2701
+ "name": "newValue",
2679
2702
  "type": {
2680
- "text": "number"
2703
+ "text": "any"
2681
2704
  }
2682
2705
  }
2683
2706
  ]
2684
2707
  },
2685
2708
  {
2686
2709
  "kind": "method",
2687
- "name": "clearChips",
2688
- "return": {
2689
- "type": {
2690
- "text": "void"
2691
- }
2692
- }
2710
+ "name": "openChanged",
2711
+ "privacy": "protected"
2693
2712
  },
2694
2713
  {
2695
2714
  "kind": "method",
2696
- "name": "handleSubmit"
2715
+ "name": "toggleActionsMenuVisibility"
2697
2716
  },
2698
2717
  {
2699
2718
  "kind": "method",
2700
- "name": "handleBlur"
2719
+ "name": "onActionMenuItemClick",
2720
+ "parameters": [
2721
+ {
2722
+ "name": "callback",
2723
+ "type": {
2724
+ "text": "(rowData) => void | any"
2725
+ }
2726
+ }
2727
+ ]
2701
2728
  },
2702
2729
  {
2703
- "kind": "method",
2704
- "name": "clear"
2730
+ "kind": "field",
2731
+ "name": "allActions",
2732
+ "type": {
2733
+ "text": "ActionMenuItem[]"
2734
+ },
2735
+ "readonly": true
2736
+ },
2737
+ {
2738
+ "kind": "field",
2739
+ "name": "rowData",
2740
+ "readonly": true
2705
2741
  },
2706
2742
  {
2707
2743
  "kind": "method",
2708
- "name": "toggleSpeechInput"
2744
+ "name": "getLabel",
2745
+ "parameters": [
2746
+ {
2747
+ "name": "name",
2748
+ "type": {
2749
+ "text": "string | ((rowData: any) => string)"
2750
+ }
2751
+ }
2752
+ ]
2709
2753
  },
2710
2754
  {
2711
2755
  "kind": "method",
2712
- "name": "clearSpeechApplyDebounce",
2713
- "privacy": "private"
2756
+ "name": "getTemplate",
2757
+ "parameters": [
2758
+ {
2759
+ "name": "prefix",
2760
+ "type": {
2761
+ "text": "string"
2762
+ }
2763
+ }
2764
+ ]
2714
2765
  },
2715
2766
  {
2716
2767
  "kind": "field",
@@ -2824,154 +2875,115 @@
2824
2875
  }
2825
2876
  }
2826
2877
  ],
2827
- "events": [
2878
+ "attributes": [
2828
2879
  {
2829
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2830
- "name": "criteria-changed"
2880
+ "name": "is-vertical",
2881
+ "type": {
2882
+ "text": "boolean"
2883
+ },
2884
+ "default": "false",
2885
+ "fieldName": "isVertical"
2831
2886
  },
2832
2887
  {
2833
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2834
- "name": "validation-errors"
2835
- }
2836
- ],
2837
- "attributes": [
2888
+ "name": "add-default-actions",
2889
+ "type": {
2890
+ "text": "boolean"
2891
+ },
2892
+ "default": "true",
2893
+ "fieldName": "addDefaultActions"
2894
+ },
2838
2895
  {
2839
- "name": "placeholder",
2896
+ "name": "auto-close-on-action",
2897
+ "type": {
2898
+ "text": "boolean"
2899
+ },
2900
+ "default": "true",
2901
+ "fieldName": "autoCloseOnAction"
2902
+ },
2903
+ {
2904
+ "name": "name",
2840
2905
  "type": {
2841
2906
  "text": "string"
2842
2907
  },
2843
- "default": "'Describe your search criteria in natural language...'",
2844
- "fieldName": "placeholder"
2908
+ "default": "'Actions'",
2909
+ "fieldName": "name"
2845
2910
  },
2846
2911
  {
2912
+ "name": "open",
2847
2913
  "type": {
2848
2914
  "text": "boolean"
2849
2915
  },
2850
- "fieldName": "disabled"
2916
+ "default": "false",
2917
+ "fieldName": "open"
2918
+ },
2919
+ {
2920
+ "name": "buttonAppearance",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "fieldName": "buttonAppearance"
2925
+ },
2926
+ {
2927
+ "name": "hide-disabled",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "default": "false",
2932
+ "fieldName": "hideDisabled"
2933
+ },
2934
+ {
2935
+ "name": "hide-menu-single-option",
2936
+ "type": {
2937
+ "text": "boolean"
2938
+ },
2939
+ "default": "false",
2940
+ "fieldName": "hideMenuSingleOption"
2851
2941
  }
2852
2942
  ],
2853
2943
  "superclass": {
2854
2944
  "name": "FoundationElement",
2855
2945
  "package": "@microsoft/fast-foundation"
2856
2946
  },
2857
- "tagName": "%%prefix%%-ai-criteria-search",
2947
+ "tagName": "%%prefix%%-actions-menu",
2858
2948
  "customElement": true
2859
2949
  },
2860
2950
  {
2861
2951
  "kind": "variable",
2862
- "name": "foundationAiCriteriaSearchShadowOptions",
2863
- "type": {
2864
- "text": "ShadowRootInit"
2865
- },
2866
- "default": "undefined"
2867
- },
2868
- {
2869
- "kind": "variable",
2870
- "name": "defaultAiCriteriaSearchConfig",
2871
- "type": {
2872
- "text": "object"
2873
- },
2874
- "default": "{}"
2875
- },
2876
- {
2877
- "kind": "variable",
2878
- "name": "foundationAiCriteriaSearch"
2952
+ "name": "foundationActionsMenu",
2953
+ "description": "The Foundation Actions Menu",
2954
+ "privacy": "public"
2879
2955
  }
2880
2956
  ],
2881
2957
  "exports": [
2882
2958
  {
2883
2959
  "kind": "js",
2884
- "name": "AiCriteriaSearch",
2885
- "declaration": {
2886
- "name": "AiCriteriaSearch",
2887
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2888
- }
2889
- },
2890
- {
2891
- "kind": "js",
2892
- "name": "foundationAiCriteriaSearchShadowOptions",
2893
- "declaration": {
2894
- "name": "foundationAiCriteriaSearchShadowOptions",
2895
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2896
- }
2897
- },
2898
- {
2899
- "kind": "js",
2900
- "name": "defaultAiCriteriaSearchConfig",
2960
+ "name": "ActionsMenu",
2901
2961
  "declaration": {
2902
- "name": "defaultAiCriteriaSearchConfig",
2903
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2962
+ "name": "ActionsMenu",
2963
+ "module": "src/actions-menu/actions-menu.ts"
2904
2964
  }
2905
2965
  },
2906
2966
  {
2907
2967
  "kind": "js",
2908
- "name": "foundationAiCriteriaSearch",
2968
+ "name": "foundationActionsMenu",
2909
2969
  "declaration": {
2910
- "name": "foundationAiCriteriaSearch",
2911
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2970
+ "name": "foundationActionsMenu",
2971
+ "module": "src/actions-menu/actions-menu.ts"
2912
2972
  }
2913
2973
  }
2914
2974
  ]
2915
2975
  },
2916
2976
  {
2917
2977
  "kind": "javascript-module",
2918
- "path": "src/ai-criteria-search/index.ts",
2978
+ "path": "src/actions-menu/index.ts",
2919
2979
  "declarations": [],
2920
2980
  "exports": [
2921
- {
2922
- "kind": "js",
2923
- "name": "AiCriteriaSearch",
2924
- "declaration": {
2925
- "name": "AiCriteriaSearch",
2926
- "module": "./ai-criteria-search"
2927
- }
2928
- },
2929
- {
2930
- "kind": "js",
2931
- "name": "defaultAiCriteriaSearchConfig",
2932
- "declaration": {
2933
- "name": "defaultAiCriteriaSearchConfig",
2934
- "module": "./ai-criteria-search"
2935
- }
2936
- },
2937
- {
2938
- "kind": "js",
2939
- "name": "foundationAiCriteriaSearch",
2940
- "declaration": {
2941
- "name": "foundationAiCriteriaSearch",
2942
- "module": "./ai-criteria-search"
2943
- }
2944
- },
2945
- {
2946
- "kind": "js",
2947
- "name": "foundationAiCriteriaSearchShadowOptions",
2948
- "declaration": {
2949
- "name": "foundationAiCriteriaSearchShadowOptions",
2950
- "module": "./ai-criteria-search"
2951
- }
2952
- },
2953
- {
2954
- "kind": "js",
2955
- "name": "foundationAiCriteriaSearchStyles",
2956
- "declaration": {
2957
- "name": "foundationAiCriteriaSearchStyles",
2958
- "module": "./ai-criteria-search.styles"
2959
- }
2960
- },
2961
- {
2962
- "kind": "js",
2963
- "name": "foundationAiCriteriaSearchTemplate",
2964
- "declaration": {
2965
- "name": "foundationAiCriteriaSearchTemplate",
2966
- "module": "./ai-criteria-search.template"
2967
- }
2968
- },
2969
2981
  {
2970
2982
  "kind": "js",
2971
2983
  "name": "*",
2972
2984
  "declaration": {
2973
2985
  "name": "*",
2974
- "package": "./validation/criteria-ir"
2986
+ "package": "./actions-menu.styles"
2975
2987
  }
2976
2988
  },
2977
2989
  {
@@ -2979,7 +2991,7 @@
2979
2991
  "name": "*",
2980
2992
  "declaration": {
2981
2993
  "name": "*",
2982
- "package": "./validation/operator-map"
2994
+ "package": "./actions-menu.template"
2983
2995
  }
2984
2996
  },
2985
2997
  {
@@ -2987,157 +2999,64 @@
2987
2999
  "name": "*",
2988
3000
  "declaration": {
2989
3001
  "name": "*",
2990
- "package": "./validation/schema-validator"
2991
- }
2992
- }
2993
- ]
2994
- },
2995
- {
2996
- "kind": "javascript-module",
2997
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2998
- "declarations": [
2999
- {
3000
- "kind": "function",
3001
- "name": "formatValidationErrors",
3002
- "return": {
3003
- "type": {
3004
- "text": "string"
3005
- }
3006
- },
3007
- "parameters": [
3008
- {
3009
- "name": "errors",
3010
- "type": {
3011
- "text": "ValidationError[]"
3012
- }
3013
- }
3014
- ],
3015
- "description": "Formats validation errors into a user-friendly message."
3016
- },
3017
- {
3018
- "kind": "function",
3019
- "name": "showCriteriaError",
3020
- "return": {
3021
- "type": {
3022
- "text": "void"
3023
- }
3024
- },
3025
- "parameters": [
3026
- {
3027
- "name": "title",
3028
- "type": {
3029
- "text": "string"
3030
- },
3031
- "description": "Notification title (e.g. \"Criteria validation error\")"
3032
- },
3033
- {
3034
- "name": "body",
3035
- "type": {
3036
- "text": "string"
3037
- },
3038
- "description": "Error message to display"
3039
- },
3040
- {
3041
- "name": "tagName",
3042
- "type": {
3043
- "text": "string"
3044
- },
3045
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3046
- }
3047
- ],
3048
- "description": "Shows a criteria error as a toast notification."
3049
- }
3050
- ],
3051
- "exports": [
3052
- {
3053
- "kind": "js",
3054
- "name": "formatValidationErrors",
3055
- "declaration": {
3056
- "name": "formatValidationErrors",
3057
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3058
- }
3059
- },
3060
- {
3061
- "kind": "js",
3062
- "name": "showCriteriaError",
3063
- "declaration": {
3064
- "name": "showCriteriaError",
3065
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3002
+ "package": "./actions-menu"
3066
3003
  }
3067
3004
  }
3068
3005
  ]
3069
3006
  },
3070
3007
  {
3071
3008
  "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3009
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3073
3010
  "declarations": [
3074
3011
  {
3075
- "kind": "function",
3076
- "name": "foundationAiIndicatorStyles",
3077
- "return": {
3078
- "type": {
3079
- "text": "ElementStyles"
3080
- }
3081
- },
3082
- "parameters": [
3083
- {
3084
- "name": "context",
3085
- "type": {
3086
- "text": "ElementDefinitionContext"
3087
- }
3088
- },
3089
- {
3090
- "name": "definition",
3091
- "type": {
3092
- "text": "FoundationElementDefinition"
3093
- }
3094
- }
3095
- ]
3012
+ "kind": "variable",
3013
+ "name": "foundationAiCriteriaSearchStyles",
3014
+ "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`"
3096
3015
  }
3097
3016
  ],
3098
3017
  "exports": [
3099
3018
  {
3100
3019
  "kind": "js",
3101
- "name": "foundationAiIndicatorStyles",
3020
+ "name": "foundationAiCriteriaSearchStyles",
3102
3021
  "declaration": {
3103
- "name": "foundationAiIndicatorStyles",
3104
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3022
+ "name": "foundationAiCriteriaSearchStyles",
3023
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3105
3024
  }
3106
3025
  }
3107
3026
  ]
3108
3027
  },
3109
3028
  {
3110
3029
  "kind": "javascript-module",
3111
- "path": "src/ai-indicator/ai-indicator.template.ts",
3030
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3112
3031
  "declarations": [
3113
3032
  {
3114
3033
  "kind": "variable",
3115
- "name": "foundationAiIndicatorTemplate",
3034
+ "name": "foundationAiCriteriaSearchTemplate",
3116
3035
  "type": {
3117
- "text": "ViewTemplate<AiIndicator>"
3036
+ "text": "ViewTemplate<AiCriteriaSearch>"
3118
3037
  },
3119
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3038
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3120
3039
  }
3121
3040
  ],
3122
3041
  "exports": [
3123
3042
  {
3124
3043
  "kind": "js",
3125
- "name": "foundationAiIndicatorTemplate",
3044
+ "name": "foundationAiCriteriaSearchTemplate",
3126
3045
  "declaration": {
3127
- "name": "foundationAiIndicatorTemplate",
3128
- "module": "src/ai-indicator/ai-indicator.template.ts"
3046
+ "name": "foundationAiCriteriaSearchTemplate",
3047
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3129
3048
  }
3130
3049
  }
3131
3050
  ]
3132
3051
  },
3133
3052
  {
3134
3053
  "kind": "javascript-module",
3135
- "path": "src/ai-indicator/ai-indicator.ts",
3054
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3136
3055
  "declarations": [
3137
3056
  {
3138
3057
  "kind": "class",
3139
- "description": "",
3140
- "name": "AiIndicator",
3058
+ "description": "Natural-language criteria search input with AI interpretation.",
3059
+ "name": "AiCriteriaSearch",
3141
3060
  "members": [
3142
3061
  {
3143
3062
  "kind": "field",
@@ -3148,25 +3067,54 @@
3148
3067
  },
3149
3068
  {
3150
3069
  "kind": "field",
3151
- "name": "aiProvider",
3070
+ "name": "placeholder",
3152
3071
  "type": {
3153
- "text": "AIProvider | undefined"
3072
+ "text": "string"
3154
3073
  },
3155
- "privacy": "private",
3156
- "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.",
3157
- "readonly": true
3074
+ "default": "'Describe your search criteria in natural language...'"
3158
3075
  },
3159
3076
  {
3160
3077
  "kind": "field",
3161
- "name": "status",
3078
+ "name": "disabled",
3162
3079
  "type": {
3163
- "text": "AIStatus | null"
3080
+ "text": "boolean"
3081
+ }
3082
+ },
3083
+ {
3084
+ "kind": "field",
3085
+ "name": "inputValue",
3086
+ "type": {
3087
+ "text": "string"
3088
+ },
3089
+ "default": "''"
3090
+ },
3091
+ {
3092
+ "kind": "field",
3093
+ "name": "isInterpreting",
3094
+ "type": {
3095
+ "text": "boolean"
3096
+ },
3097
+ "default": "false"
3098
+ },
3099
+ {
3100
+ "kind": "field",
3101
+ "name": "lastValidCriteria",
3102
+ "type": {
3103
+ "text": "string | null"
3164
3104
  },
3165
3105
  "default": "null"
3166
3106
  },
3167
3107
  {
3168
3108
  "kind": "field",
3169
- "name": "open",
3109
+ "name": "activeGroups",
3110
+ "type": {
3111
+ "text": "CriteriaGroup[]"
3112
+ },
3113
+ "default": "[]"
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "showingChips",
3170
3118
  "type": {
3171
3119
  "text": "boolean"
3172
3120
  },
@@ -3174,15 +3122,15 @@
3174
3122
  },
3175
3123
  {
3176
3124
  "kind": "field",
3177
- "name": "state",
3125
+ "name": "fieldMetadata",
3178
3126
  "type": {
3179
- "text": "AIIndicatorState"
3127
+ "text": "MetadataDetail[] | string[]"
3180
3128
  },
3181
- "default": "'none'"
3129
+ "default": "[]"
3182
3130
  },
3183
3131
  {
3184
3132
  "kind": "field",
3185
- "name": "isInstalling",
3133
+ "name": "isRecording",
3186
3134
  "type": {
3187
3135
  "text": "boolean"
3188
3136
  },
@@ -3190,29 +3138,33 @@
3190
3138
  },
3191
3139
  {
3192
3140
  "kind": "field",
3193
- "name": "pollTimer",
3141
+ "name": "textAreaRef",
3194
3142
  "type": {
3195
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "HTMLTextAreaElement"
3196
3144
  },
3197
- "privacy": "private",
3198
- "default": "null"
3145
+ "privacy": "public"
3199
3146
  },
3200
3147
  {
3201
3148
  "kind": "field",
3202
- "name": "clickOutside",
3203
- "privacy": "private"
3149
+ "name": "stopRecording",
3150
+ "type": {
3151
+ "text": "(() => void) | null"
3152
+ },
3153
+ "privacy": "private",
3154
+ "default": "null"
3204
3155
  },
3205
3156
  {
3206
3157
  "kind": "field",
3207
- "name": "chromeStatusLabel",
3158
+ "name": "speechApplyDebounceTimer",
3208
3159
  "type": {
3209
- "text": "string | null"
3160
+ "text": "ReturnType<typeof setTimeout> | null"
3210
3161
  },
3211
- "readonly": true
3162
+ "privacy": "private",
3163
+ "default": "null"
3212
3164
  },
3213
3165
  {
3214
3166
  "kind": "field",
3215
- "name": "canInstall",
3167
+ "name": "speechAvailable",
3216
3168
  "type": {
3217
3169
  "text": "boolean"
3218
3170
  },
@@ -3220,69 +3172,65 @@
3220
3172
  },
3221
3173
  {
3222
3174
  "kind": "field",
3223
- "name": "isDownloading",
3175
+ "name": "criteriaChips",
3224
3176
  "type": {
3225
- "text": "boolean"
3177
+ "text": "CriteriaChip[]"
3226
3178
  },
3227
3179
  "readonly": true
3228
3180
  },
3229
3181
  {
3230
3182
  "kind": "method",
3231
- "name": "openChanged",
3183
+ "name": "getFieldLabel",
3184
+ "privacy": "private",
3232
3185
  "return": {
3233
3186
  "type": {
3234
- "text": "void"
3187
+ "text": "string"
3235
3188
  }
3236
- }
3237
- },
3238
- {
3239
- "kind": "method",
3240
- "name": "handleClickOutside",
3241
- "privacy": "private",
3189
+ },
3242
3190
  "parameters": [
3243
3191
  {
3244
- "name": "event",
3192
+ "name": "fieldName",
3245
3193
  "type": {
3246
- "text": "MouseEvent"
3194
+ "text": "string"
3247
3195
  }
3248
3196
  }
3249
3197
  ]
3250
3198
  },
3251
3199
  {
3252
3200
  "kind": "method",
3253
- "name": "toggleDropdown"
3254
- },
3255
- {
3256
- "kind": "method",
3257
- "name": "refreshStatus",
3201
+ "name": "toggleCriteriaView",
3258
3202
  "return": {
3259
3203
  "type": {
3260
- "text": "Promise<void>"
3204
+ "text": "void"
3261
3205
  }
3262
3206
  }
3263
3207
  },
3264
3208
  {
3265
3209
  "kind": "method",
3266
- "name": "deriveState",
3267
- "privacy": "private",
3210
+ "name": "removeChip",
3268
3211
  "return": {
3269
3212
  "type": {
3270
- "text": "AIIndicatorState"
3213
+ "text": "void"
3271
3214
  }
3272
3215
  },
3273
3216
  "parameters": [
3274
3217
  {
3275
- "name": "s",
3218
+ "name": "groupIndex",
3276
3219
  "type": {
3277
- "text": "AIStatus | null"
3220
+ "text": "number"
3221
+ }
3222
+ },
3223
+ {
3224
+ "name": "clauseIndex",
3225
+ "type": {
3226
+ "text": "number"
3278
3227
  }
3279
3228
  }
3280
3229
  ]
3281
3230
  },
3282
3231
  {
3283
3232
  "kind": "method",
3284
- "name": "maybeStartPolling",
3285
- "privacy": "private",
3233
+ "name": "clearChips",
3286
3234
  "return": {
3287
3235
  "type": {
3288
3236
  "text": "void"
@@ -3291,32 +3239,24 @@
3291
3239
  },
3292
3240
  {
3293
3241
  "kind": "method",
3294
- "name": "startPolling",
3295
- "privacy": "private",
3296
- "return": {
3297
- "type": {
3298
- "text": "void"
3299
- }
3300
- }
3242
+ "name": "handleSubmit"
3301
3243
  },
3302
3244
  {
3303
3245
  "kind": "method",
3304
- "name": "stopPolling",
3305
- "privacy": "private",
3306
- "return": {
3307
- "type": {
3308
- "text": "void"
3309
- }
3310
- }
3246
+ "name": "handleBlur"
3311
3247
  },
3312
3248
  {
3313
3249
  "kind": "method",
3314
- "name": "onInstall",
3315
- "return": {
3316
- "type": {
3317
- "text": "Promise<void>"
3318
- }
3319
- }
3250
+ "name": "clear"
3251
+ },
3252
+ {
3253
+ "kind": "method",
3254
+ "name": "toggleSpeechInput"
3255
+ },
3256
+ {
3257
+ "kind": "method",
3258
+ "name": "clearSpeechApplyDebounce",
3259
+ "privacy": "private"
3320
3260
  },
3321
3261
  {
3322
3262
  "kind": "field",
@@ -3430,141 +3370,259 @@
3430
3370
  }
3431
3371
  }
3432
3372
  ],
3373
+ "events": [
3374
+ {
3375
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3376
+ "name": "criteria-changed"
3377
+ },
3378
+ {
3379
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3380
+ "name": "validation-errors"
3381
+ }
3382
+ ],
3383
+ "attributes": [
3384
+ {
3385
+ "name": "placeholder",
3386
+ "type": {
3387
+ "text": "string"
3388
+ },
3389
+ "default": "'Describe your search criteria in natural language...'",
3390
+ "fieldName": "placeholder"
3391
+ },
3392
+ {
3393
+ "type": {
3394
+ "text": "boolean"
3395
+ },
3396
+ "fieldName": "disabled"
3397
+ }
3398
+ ],
3433
3399
  "superclass": {
3434
3400
  "name": "FoundationElement",
3435
3401
  "package": "@microsoft/fast-foundation"
3436
3402
  },
3437
- "tagName": "%%prefix%%-ai-indicator",
3403
+ "tagName": "%%prefix%%-ai-criteria-search",
3438
3404
  "customElement": true
3439
3405
  },
3440
3406
  {
3441
3407
  "kind": "variable",
3442
- "name": "foundationAiIndicator"
3408
+ "name": "foundationAiCriteriaSearchShadowOptions",
3409
+ "type": {
3410
+ "text": "ShadowRootInit"
3411
+ },
3412
+ "default": "undefined"
3413
+ },
3414
+ {
3415
+ "kind": "variable",
3416
+ "name": "defaultAiCriteriaSearchConfig",
3417
+ "type": {
3418
+ "text": "object"
3419
+ },
3420
+ "default": "{}"
3421
+ },
3422
+ {
3423
+ "kind": "variable",
3424
+ "name": "foundationAiCriteriaSearch"
3443
3425
  }
3444
3426
  ],
3445
3427
  "exports": [
3446
3428
  {
3447
3429
  "kind": "js",
3448
- "name": "AiIndicator",
3430
+ "name": "AiCriteriaSearch",
3431
+ "declaration": {
3432
+ "name": "AiCriteriaSearch",
3433
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3434
+ }
3435
+ },
3436
+ {
3437
+ "kind": "js",
3438
+ "name": "foundationAiCriteriaSearchShadowOptions",
3439
+ "declaration": {
3440
+ "name": "foundationAiCriteriaSearchShadowOptions",
3441
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
+ }
3443
+ },
3444
+ {
3445
+ "kind": "js",
3446
+ "name": "defaultAiCriteriaSearchConfig",
3449
3447
  "declaration": {
3450
- "name": "AiIndicator",
3451
- "module": "src/ai-indicator/ai-indicator.ts"
3448
+ "name": "defaultAiCriteriaSearchConfig",
3449
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3452
3450
  }
3453
3451
  },
3454
3452
  {
3455
3453
  "kind": "js",
3456
- "name": "foundationAiIndicator",
3454
+ "name": "foundationAiCriteriaSearch",
3457
3455
  "declaration": {
3458
- "name": "foundationAiIndicator",
3459
- "module": "src/ai-indicator/ai-indicator.ts"
3456
+ "name": "foundationAiCriteriaSearch",
3457
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3460
3458
  }
3461
3459
  }
3462
3460
  ]
3463
3461
  },
3464
3462
  {
3465
3463
  "kind": "javascript-module",
3466
- "path": "src/ai-indicator/index.ts",
3464
+ "path": "src/ai-criteria-search/index.ts",
3467
3465
  "declarations": [],
3468
3466
  "exports": [
3469
3467
  {
3470
3468
  "kind": "js",
3471
- "name": "AiIndicator",
3469
+ "name": "AiCriteriaSearch",
3472
3470
  "declaration": {
3473
- "name": "AiIndicator",
3474
- "module": "./ai-indicator"
3471
+ "name": "AiCriteriaSearch",
3472
+ "module": "./ai-criteria-search"
3475
3473
  }
3476
3474
  },
3477
3475
  {
3478
3476
  "kind": "js",
3479
- "name": "foundationAiIndicator",
3477
+ "name": "defaultAiCriteriaSearchConfig",
3480
3478
  "declaration": {
3481
- "name": "foundationAiIndicator",
3482
- "module": "./ai-indicator"
3479
+ "name": "defaultAiCriteriaSearchConfig",
3480
+ "module": "./ai-criteria-search"
3483
3481
  }
3484
3482
  },
3485
3483
  {
3486
3484
  "kind": "js",
3487
- "name": "type",
3485
+ "name": "foundationAiCriteriaSearch",
3488
3486
  "declaration": {
3489
- "name": "type",
3490
- "module": "./ai-indicator"
3487
+ "name": "foundationAiCriteriaSearch",
3488
+ "module": "./ai-criteria-search"
3491
3489
  }
3492
3490
  },
3493
3491
  {
3494
3492
  "kind": "js",
3495
- "name": "AIIndicatorState",
3493
+ "name": "foundationAiCriteriaSearchShadowOptions",
3496
3494
  "declaration": {
3497
- "name": "AIIndicatorState",
3498
- "module": "./ai-indicator"
3495
+ "name": "foundationAiCriteriaSearchShadowOptions",
3496
+ "module": "./ai-criteria-search"
3499
3497
  }
3500
3498
  },
3501
3499
  {
3502
3500
  "kind": "js",
3503
- "name": "foundationAiIndicatorTemplate",
3501
+ "name": "foundationAiCriteriaSearchStyles",
3504
3502
  "declaration": {
3505
- "name": "foundationAiIndicatorTemplate",
3506
- "module": "./ai-indicator.template"
3503
+ "name": "foundationAiCriteriaSearchStyles",
3504
+ "module": "./ai-criteria-search.styles"
3507
3505
  }
3508
3506
  },
3509
3507
  {
3510
3508
  "kind": "js",
3511
- "name": "foundationAiIndicatorStyles",
3509
+ "name": "foundationAiCriteriaSearchTemplate",
3512
3510
  "declaration": {
3513
- "name": "foundationAiIndicatorStyles",
3514
- "module": "./ai-indicator.styles"
3511
+ "name": "foundationAiCriteriaSearchTemplate",
3512
+ "module": "./ai-criteria-search.template"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "*",
3518
+ "declaration": {
3519
+ "name": "*",
3520
+ "package": "./validation/criteria-ir"
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "*",
3526
+ "declaration": {
3527
+ "name": "*",
3528
+ "package": "./validation/operator-map"
3529
+ }
3530
+ },
3531
+ {
3532
+ "kind": "js",
3533
+ "name": "*",
3534
+ "declaration": {
3535
+ "name": "*",
3536
+ "package": "./validation/schema-validator"
3515
3537
  }
3516
3538
  }
3517
3539
  ]
3518
3540
  },
3519
3541
  {
3520
3542
  "kind": "javascript-module",
3521
- "path": "src/accordion/accordion.styles.ts",
3543
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3522
3544
  "declarations": [
3523
3545
  {
3524
3546
  "kind": "function",
3525
- "name": "foundationAccordionStyles",
3547
+ "name": "formatValidationErrors",
3526
3548
  "return": {
3527
3549
  "type": {
3528
- "text": "ElementStyles"
3550
+ "text": "string"
3529
3551
  }
3530
3552
  },
3531
3553
  "parameters": [
3532
3554
  {
3533
- "name": "context",
3555
+ "name": "errors",
3534
3556
  "type": {
3535
- "text": "ElementDefinitionContext"
3557
+ "text": "ValidationError[]"
3536
3558
  }
3559
+ }
3560
+ ],
3561
+ "description": "Formats validation errors into a user-friendly message."
3562
+ },
3563
+ {
3564
+ "kind": "function",
3565
+ "name": "showCriteriaError",
3566
+ "return": {
3567
+ "type": {
3568
+ "text": "void"
3569
+ }
3570
+ },
3571
+ "parameters": [
3572
+ {
3573
+ "name": "title",
3574
+ "type": {
3575
+ "text": "string"
3576
+ },
3577
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3537
3578
  },
3538
3579
  {
3539
- "name": "definition",
3580
+ "name": "body",
3540
3581
  "type": {
3541
- "text": "FoundationElementDefinition"
3542
- }
3582
+ "text": "string"
3583
+ },
3584
+ "description": "Error message to display"
3585
+ },
3586
+ {
3587
+ "name": "tagName",
3588
+ "type": {
3589
+ "text": "string"
3590
+ },
3591
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3543
3592
  }
3544
- ]
3593
+ ],
3594
+ "description": "Shows a criteria error as a toast notification."
3545
3595
  }
3546
3596
  ],
3547
3597
  "exports": [
3548
3598
  {
3549
3599
  "kind": "js",
3550
- "name": "foundationAccordionStyles",
3600
+ "name": "formatValidationErrors",
3551
3601
  "declaration": {
3552
- "name": "foundationAccordionStyles",
3553
- "module": "src/accordion/accordion.styles.ts"
3602
+ "name": "formatValidationErrors",
3603
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "js",
3608
+ "name": "showCriteriaError",
3609
+ "declaration": {
3610
+ "name": "showCriteriaError",
3611
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3554
3612
  }
3555
3613
  }
3556
3614
  ]
3557
3615
  },
3558
3616
  {
3559
3617
  "kind": "javascript-module",
3560
- "path": "src/accordion/accordion.template.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3561
3619
  "declarations": [
3562
3620
  {
3563
3621
  "kind": "function",
3564
- "name": "foundationAccordionTemplate",
3622
+ "name": "foundationAiIndicatorStyles",
3565
3623
  "return": {
3566
3624
  "type": {
3567
- "text": "ViewTemplate<Accordion>"
3625
+ "text": "ElementStyles"
3568
3626
  }
3569
3627
  },
3570
3628
  "parameters": [
@@ -3586,237 +3644,224 @@
3586
3644
  "exports": [
3587
3645
  {
3588
3646
  "kind": "js",
3589
- "name": "foundationAccordionTemplate",
3647
+ "name": "foundationAiIndicatorStyles",
3590
3648
  "declaration": {
3591
- "name": "foundationAccordionTemplate",
3592
- "module": "src/accordion/accordion.template.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3593
3651
  }
3594
3652
  }
3595
3653
  ]
3596
3654
  },
3597
3655
  {
3598
3656
  "kind": "javascript-module",
3599
- "path": "src/accordion/accordion.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3600
3682
  "declarations": [
3601
3683
  {
3602
3684
  "kind": "class",
3603
3685
  "description": "",
3604
- "name": "Accordion",
3605
- "superclass": {
3606
- "name": "FASTAccordion",
3607
- "package": "@microsoft/fast-foundation"
3608
- },
3609
- "tagName": "%%prefix%%-accordion",
3610
- "customElement": true,
3611
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3612
3688
  {
3613
- "name": "expand-mode",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3614
3691
  "type": {
3615
- "text": "AccordionExpandMode"
3616
- },
3617
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3618
- "fieldName": "expandmode",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3692
+ "text": "AIProviderRegistry"
3622
3693
  }
3623
- }
3624
- ],
3625
- "members": [
3694
+ },
3626
3695
  {
3627
3696
  "kind": "field",
3628
- "name": "expandmode",
3697
+ "name": "aiProvider",
3629
3698
  "type": {
3630
- "text": "AccordionExpandMode"
3699
+ "text": "AIProvider | undefined"
3631
3700
  },
3632
- "privacy": "public",
3633
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3634
- "inheritedFrom": {
3635
- "name": "Accordion",
3636
- "module": "src/accordion/accordion.ts"
3637
- }
3701
+ "privacy": "private",
3702
+ "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.",
3703
+ "readonly": true
3638
3704
  },
3639
3705
  {
3640
3706
  "kind": "field",
3641
- "name": "activeid",
3707
+ "name": "status",
3642
3708
  "type": {
3643
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3644
3710
  },
3645
- "privacy": "private",
3646
- "inheritedFrom": {
3647
- "name": "Accordion",
3648
- "module": "src/accordion/accordion.ts"
3649
- }
3711
+ "default": "null"
3650
3712
  },
3651
3713
  {
3652
3714
  "kind": "field",
3653
- "name": "activeItemIndex",
3715
+ "name": "open",
3654
3716
  "type": {
3655
- "text": "number"
3717
+ "text": "boolean"
3656
3718
  },
3657
- "privacy": "private",
3658
- "default": "0",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3719
+ "default": "false"
3663
3720
  },
3664
3721
  {
3665
3722
  "kind": "field",
3666
- "name": "accordionIds",
3723
+ "name": "state",
3667
3724
  "type": {
3668
- "text": "Array<string | null>"
3725
+ "text": "AIIndicatorState"
3669
3726
  },
3670
- "privacy": "private",
3671
- "inheritedFrom": {
3672
- "name": "Accordion",
3673
- "module": "src/accordion/accordion.ts"
3674
- }
3727
+ "default": "'none'"
3675
3728
  },
3676
3729
  {
3677
3730
  "kind": "field",
3678
- "name": "change",
3679
- "privacy": "private",
3680
- "inheritedFrom": {
3681
- "name": "Accordion",
3682
- "module": "src/accordion/accordion.ts"
3683
- }
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3684
3736
  },
3685
3737
  {
3686
- "kind": "method",
3687
- "name": "findExpandedItem",
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3688
3743
  "privacy": "private",
3689
- "return": {
3690
- "type": {
3691
- "text": "AccordionItem | null"
3692
- }
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3693
3756
  },
3694
- "inheritedFrom": {
3695
- "name": "Accordion",
3696
- "module": "src/accordion/accordion.ts"
3697
- }
3757
+ "readonly": true
3698
3758
  },
3699
3759
  {
3700
3760
  "kind": "field",
3701
- "name": "setItems",
3702
- "privacy": "private",
3703
- "inheritedFrom": {
3704
- "name": "Accordion",
3705
- "module": "src/accordion/accordion.ts"
3706
- }
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3707
3774
  },
3708
3775
  {
3709
3776
  "kind": "method",
3710
- "name": "resetItems",
3711
- "privacy": "private",
3777
+ "name": "openChanged",
3712
3778
  "return": {
3713
3779
  "type": {
3714
3780
  "text": "void"
3715
3781
  }
3716
- },
3717
- "inheritedFrom": {
3718
- "name": "Accordion",
3719
- "module": "src/accordion/accordion.ts"
3720
3782
  }
3721
3783
  },
3722
3784
  {
3723
- "kind": "field",
3724
- "name": "removeItemListeners",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3725
3787
  "privacy": "private",
3726
- "inheritedFrom": {
3727
- "name": "Accordion",
3728
- "module": "src/accordion/accordion.ts"
3729
- }
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3730
3796
  },
3731
3797
  {
3732
- "kind": "field",
3733
- "name": "activeItemChange",
3734
- "privacy": "private",
3735
- "inheritedFrom": {
3736
- "name": "Accordion",
3737
- "module": "src/accordion/accordion.ts"
3738
- }
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3739
3800
  },
3740
3801
  {
3741
3802
  "kind": "method",
3742
- "name": "getItemIds",
3743
- "privacy": "private",
3803
+ "name": "refreshStatus",
3744
3804
  "return": {
3745
3805
  "type": {
3746
- "text": "Array<string | null>"
3806
+ "text": "Promise<void>"
3747
3807
  }
3748
- },
3749
- "inheritedFrom": {
3750
- "name": "Accordion",
3751
- "module": "src/accordion/accordion.ts"
3752
3808
  }
3753
3809
  },
3754
3810
  {
3755
3811
  "kind": "method",
3756
- "name": "isSingleExpandMode",
3812
+ "name": "deriveState",
3757
3813
  "privacy": "private",
3758
3814
  "return": {
3759
3815
  "type": {
3760
- "text": "boolean"
3816
+ "text": "AIIndicatorState"
3761
3817
  }
3762
3818
  },
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
- }
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3767
3827
  },
3768
3828
  {
3769
- "kind": "field",
3770
- "name": "handleItemKeyDown",
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3771
3831
  "privacy": "private",
3772
- "inheritedFrom": {
3773
- "name": "Accordion",
3774
- "module": "src/accordion/accordion.ts"
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3775
3836
  }
3776
3837
  },
3777
3838
  {
3778
- "kind": "field",
3779
- "name": "handleItemFocus",
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3780
3841
  "privacy": "private",
3781
- "inheritedFrom": {
3782
- "name": "Accordion",
3783
- "module": "src/accordion/accordion.ts"
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3784
3846
  }
3785
3847
  },
3786
3848
  {
3787
3849
  "kind": "method",
3788
- "name": "adjust",
3850
+ "name": "stopPolling",
3789
3851
  "privacy": "private",
3790
3852
  "return": {
3791
3853
  "type": {
3792
3854
  "text": "void"
3793
3855
  }
3794
- },
3795
- "parameters": [
3796
- {
3797
- "name": "adjustment",
3798
- "type": {
3799
- "text": "number"
3800
- }
3801
- }
3802
- ],
3803
- "inheritedFrom": {
3804
- "name": "Accordion",
3805
- "module": "src/accordion/accordion.ts"
3806
3856
  }
3807
3857
  },
3808
3858
  {
3809
3859
  "kind": "method",
3810
- "name": "focusItem",
3811
- "privacy": "private",
3860
+ "name": "onInstall",
3812
3861
  "return": {
3813
3862
  "type": {
3814
- "text": "void"
3863
+ "text": "Promise<void>"
3815
3864
  }
3816
- },
3817
- "inheritedFrom": {
3818
- "name": "Accordion",
3819
- "module": "src/accordion/accordion.ts"
3820
3865
  }
3821
3866
  },
3822
3867
  {
@@ -3931,133 +3976,88 @@
3931
3976
  }
3932
3977
  }
3933
3978
  ],
3934
- "events": [
3935
- {
3936
- "description": "Fires a custom 'change' event when the active item changes",
3937
- "name": "change",
3938
- "inheritedFrom": {
3939
- "name": "Accordion",
3940
- "module": "src/accordion/accordion.ts"
3941
- }
3942
- }
3943
- ]
3944
- },
3945
- {
3946
- "kind": "variable",
3947
- "name": "foundationAccordionShadowOptions",
3948
- "type": {
3949
- "text": "ShadowRootInit"
3950
- },
3951
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3952
- },
3953
- {
3954
- "kind": "variable",
3955
- "name": "defaultAccordionConfig",
3956
- "type": {
3957
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3958
3982
  },
3959
- "default": "{}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3960
3985
  },
3961
3986
  {
3962
3987
  "kind": "variable",
3963
- "name": "foundationAccordion",
3964
- "description": "The Foundation Accordion",
3965
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3966
3989
  }
3967
3990
  ],
3968
3991
  "exports": [
3969
3992
  {
3970
3993
  "kind": "js",
3971
- "name": "Accordion",
3972
- "declaration": {
3973
- "name": "Accordion",
3974
- "module": "src/accordion/accordion.ts"
3975
- }
3976
- },
3977
- {
3978
- "kind": "js",
3979
- "name": "foundationAccordionShadowOptions",
3980
- "declaration": {
3981
- "name": "foundationAccordionShadowOptions",
3982
- "module": "src/accordion/accordion.ts"
3983
- }
3984
- },
3985
- {
3986
- "kind": "js",
3987
- "name": "defaultAccordionConfig",
3994
+ "name": "AiIndicator",
3988
3995
  "declaration": {
3989
- "name": "defaultAccordionConfig",
3990
- "module": "src/accordion/accordion.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3991
3998
  }
3992
3999
  },
3993
4000
  {
3994
4001
  "kind": "js",
3995
- "name": "foundationAccordion",
4002
+ "name": "foundationAiIndicator",
3996
4003
  "declaration": {
3997
- "name": "foundationAccordion",
3998
- "module": "src/accordion/accordion.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
3999
4006
  }
4000
4007
  }
4001
4008
  ]
4002
4009
  },
4003
4010
  {
4004
4011
  "kind": "javascript-module",
4005
- "path": "src/accordion/index.ts",
4012
+ "path": "src/ai-indicator/index.ts",
4006
4013
  "declarations": [],
4007
4014
  "exports": [
4008
4015
  {
4009
4016
  "kind": "js",
4010
- "name": "*",
4017
+ "name": "AiIndicator",
4011
4018
  "declaration": {
4012
- "name": "*",
4013
- "package": "./accordion.template"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "*",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "*",
4021
- "package": "./accordion.styles"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "*",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "*",
4029
- "package": "./accordion"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "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."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "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}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "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."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "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}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",