@genesislcap/foundation-ui 14.481.2-alpha-829ad82.0 → 14.482.1-FUI-2575.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.
@@ -934,66 +934,44 @@
934
934
  },
935
935
  {
936
936
  "kind": "javascript-module",
937
- "path": "src/accordion-item/accordion-item.styles.ts",
937
+ "path": "src/_common/affix-mixin.ts",
938
938
  "declarations": [
939
939
  {
940
- "kind": "function",
941
- "name": "foundationAccordionItemStyles",
942
- "return": {
943
- "type": {
944
- "text": "ElementStyles"
945
- }
946
- },
947
- "parameters": [
940
+ "kind": "mixin",
941
+ "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.",
942
+ "name": "AffixMixin",
943
+ "members": [
948
944
  {
949
- "name": "context",
945
+ "kind": "field",
946
+ "name": "prefix",
950
947
  "type": {
951
- "text": "ElementDefinitionContext"
952
- }
948
+ "text": "string"
949
+ },
950
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
953
951
  },
954
952
  {
955
- "name": "definition",
953
+ "kind": "field",
954
+ "name": "suffix",
956
955
  "type": {
957
- "text": "FoundationElementDefinition"
958
- }
959
- }
960
- ]
961
- }
962
- ],
963
- "exports": [
964
- {
965
- "kind": "js",
966
- "name": "foundationAccordionItemStyles",
967
- "declaration": {
968
- "name": "foundationAccordionItemStyles",
969
- "module": "src/accordion-item/accordion-item.styles.ts"
970
- }
971
- }
972
- ]
973
- },
974
- {
975
- "kind": "javascript-module",
976
- "path": "src/accordion-item/accordion-item.template.ts",
977
- "declarations": [
978
- {
979
- "kind": "function",
980
- "name": "foundationAccordionItemTemplate",
981
- "return": {
982
- "type": {
983
- "text": "ViewTemplate<AccordionItem>"
984
- }
985
- },
986
- "parameters": [
956
+ "text": "string"
957
+ },
958
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
+ },
987
960
  {
988
- "name": "context",
961
+ "kind": "field",
962
+ "name": "hideAffixFromScreenReader",
989
963
  "type": {
990
- "text": "ElementDefinitionContext"
991
- }
992
- },
964
+ "text": "boolean"
965
+ },
966
+ "default": "false",
967
+ "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."
968
+ }
969
+ ],
970
+ "parameters": [
993
971
  {
994
- "name": "definition",
972
+ "name": "Base",
995
973
  "type": {
996
- "text": "FoundationElementDefinition"
974
+ "text": "TBase"
997
975
  }
998
976
  }
999
977
  ]
@@ -1002,118 +980,170 @@
1002
980
  "exports": [
1003
981
  {
1004
982
  "kind": "js",
1005
- "name": "foundationAccordionItemTemplate",
983
+ "name": "AffixMixin",
1006
984
  "declaration": {
1007
- "name": "foundationAccordionItemTemplate",
1008
- "module": "src/accordion-item/accordion-item.template.ts"
985
+ "name": "AffixMixin",
986
+ "module": "src/_common/affix-mixin.ts"
1009
987
  }
1010
988
  }
1011
989
  ]
1012
990
  },
1013
991
  {
1014
992
  "kind": "javascript-module",
1015
- "path": "src/accordion-item/accordion-item.ts",
993
+ "path": "src/_common/base-file-component.ts",
1016
994
  "declarations": [
1017
995
  {
1018
996
  "kind": "class",
1019
- "description": "",
1020
- "name": "AccordionItem",
1021
- "superclass": {
1022
- "name": "FASTAccordionItem",
1023
- "package": "@microsoft/fast-components"
1024
- },
1025
- "tagName": "%%prefix%%-accordion-item",
1026
- "customElement": true,
1027
- "attributes": [
997
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
+ "name": "BaseFileComponent",
999
+ "members": [
1028
1000
  {
1029
- "name": "heading-level",
1001
+ "kind": "field",
1002
+ "name": "fileInput",
1030
1003
  "type": {
1031
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1004
+ "text": "HTMLInputElement"
1032
1005
  },
1033
- "default": "2",
1034
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1035
- "fieldName": "headinglevel",
1036
- "inheritedFrom": {
1037
- "name": "AccordionItem",
1038
- "module": "src/accordion-item/accordion-item.ts"
1039
- }
1006
+ "privacy": "public"
1040
1007
  },
1041
1008
  {
1009
+ "kind": "field",
1010
+ "name": "selectedFile",
1042
1011
  "type": {
1043
- "text": "boolean"
1012
+ "text": "File | null"
1044
1013
  },
1045
- "default": "false",
1046
- "description": "Expands or collapses the item.",
1047
- "fieldName": "expanded",
1048
- "inheritedFrom": {
1049
- "name": "AccordionItem",
1050
- "module": "src/accordion-item/accordion-item.ts"
1051
- }
1014
+ "privacy": "protected",
1015
+ "default": "null"
1052
1016
  },
1053
1017
  {
1054
- "name": "id",
1018
+ "kind": "field",
1019
+ "name": "label",
1055
1020
  "type": {
1056
1021
  "text": "string"
1057
- },
1058
- "description": "The item ID",
1059
- "fieldName": "id",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
1022
  }
1064
- }
1065
- ],
1066
- "members": [
1023
+ },
1067
1024
  {
1068
1025
  "kind": "field",
1069
- "name": "headinglevel",
1026
+ "name": "accept",
1070
1027
  "type": {
1071
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1028
+ "text": "string"
1072
1029
  },
1073
- "privacy": "public",
1074
- "default": "2",
1075
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1076
- "inheritedFrom": {
1077
- "name": "AccordionItem",
1078
- "module": "src/accordion-item/accordion-item.ts"
1079
- }
1030
+ "default": "''"
1080
1031
  },
1081
1032
  {
1082
1033
  "kind": "field",
1083
- "name": "expanded",
1034
+ "name": "fileSizeLimitBytes",
1035
+ "default": "10_485_760",
1084
1036
  "type": {
1085
- "text": "boolean"
1086
- },
1087
- "privacy": "public",
1088
- "default": "false",
1089
- "description": "Expands or collapses the item.",
1090
- "inheritedFrom": {
1091
- "name": "AccordionItem",
1092
- "module": "src/accordion-item/accordion-item.ts"
1037
+ "text": "number"
1093
1038
  }
1094
1039
  },
1095
1040
  {
1096
1041
  "kind": "field",
1097
- "name": "id",
1042
+ "name": "fileName",
1098
1043
  "type": {
1099
1044
  "text": "string"
1100
1045
  },
1101
- "privacy": "public",
1102
- "description": "The item ID",
1103
- "inheritedFrom": {
1104
- "name": "AccordionItem",
1105
- "module": "src/accordion-item/accordion-item.ts"
1106
- }
1046
+ "default": "''"
1107
1047
  },
1108
1048
  {
1109
1049
  "kind": "field",
1110
- "name": "change",
1111
- "privacy": "private",
1112
- "inheritedFrom": {
1113
- "name": "AccordionItem",
1114
- "module": "src/accordion-item/accordion-item.ts"
1050
+ "name": "isProcessing",
1051
+ "type": {
1052
+ "text": "boolean"
1053
+ },
1054
+ "default": "false"
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "handleClick",
1059
+ "privacy": "public",
1060
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "onInputChange",
1065
+ "privacy": "public",
1066
+ "parameters": [
1067
+ {
1068
+ "name": "e",
1069
+ "type": {
1070
+ "text": "Event"
1071
+ },
1072
+ "description": "The change event from the file input"
1073
+ }
1074
+ ],
1075
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "name": "clearSelection",
1080
+ "privacy": "public",
1081
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
+ },
1083
+ {
1084
+ "kind": "method",
1085
+ "name": "getSelectedFile",
1086
+ "privacy": "public",
1087
+ "description": "Gets the currently selected file object",
1088
+ "return": {
1089
+ "type": {
1090
+ "text": ""
1091
+ }
1115
1092
  }
1116
1093
  },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "showError",
1097
+ "privacy": "protected",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "title",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "description": "The error title"
1105
+ },
1106
+ {
1107
+ "name": "message",
1108
+ "type": {
1109
+ "text": "string"
1110
+ },
1111
+ "description": "The error message"
1112
+ }
1113
+ ],
1114
+ "description": "Shows an error notification using the unified error handling system"
1115
+ },
1116
+ {
1117
+ "kind": "method",
1118
+ "name": "onFileSelected",
1119
+ "privacy": "protected",
1120
+ "return": {
1121
+ "type": {
1122
+ "text": "void"
1123
+ }
1124
+ },
1125
+ "parameters": [
1126
+ {
1127
+ "name": "files",
1128
+ "type": {
1129
+ "text": "File[]"
1130
+ },
1131
+ "description": "The selected file"
1132
+ }
1133
+ ],
1134
+ "description": "Abstract method called when a file is selected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "onFileCleared",
1139
+ "privacy": "protected",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "void"
1143
+ }
1144
+ },
1145
+ "description": "Abstract method called when file selection is cleared"
1146
+ },
1117
1147
  {
1118
1148
  "kind": "field",
1119
1149
  "name": "_presentation",
@@ -1228,76 +1258,149 @@
1228
1258
  ],
1229
1259
  "events": [
1230
1260
  {
1231
- "description": "Fires a custom 'change' event when the button is invoked",
1232
- "name": "change",
1233
- "inheritedFrom": {
1234
- "name": "AccordionItem",
1235
- "module": "src/accordion-item/accordion-item.ts"
1236
- }
1261
+ "description": "Fired when file size validation fails",
1262
+ "name": "error"
1263
+ },
1264
+ {
1265
+ "description": "Fired when selection is cleared",
1266
+ "name": "clear"
1237
1267
  }
1238
- ]
1239
- },
1268
+ ],
1269
+ "attributes": [
1270
+ {
1271
+ "name": "label",
1272
+ "type": {
1273
+ "text": "string"
1274
+ },
1275
+ "fieldName": "label"
1276
+ },
1277
+ {
1278
+ "name": "accept",
1279
+ "type": {
1280
+ "text": "string"
1281
+ },
1282
+ "default": "''",
1283
+ "fieldName": "accept"
1284
+ },
1285
+ {
1286
+ "name": "file-size-limit-bytes",
1287
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
+ "resolveInitializer": {
1289
+ "module": "src/_common/base-file-component.ts"
1290
+ },
1291
+ "fieldName": "fileSizeLimitBytes"
1292
+ }
1293
+ ],
1294
+ "superclass": {
1295
+ "name": "FoundationElement",
1296
+ "package": "@microsoft/fast-foundation"
1297
+ }
1298
+ }
1299
+ ],
1300
+ "exports": [
1240
1301
  {
1241
- "kind": "variable",
1242
- "name": "foundationAccordionItemShadowOptions",
1243
- "type": {
1244
- "text": "ShadowRootInit"
1245
- },
1246
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1247
- },
1302
+ "kind": "js",
1303
+ "name": "BaseFileComponent",
1304
+ "declaration": {
1305
+ "name": "BaseFileComponent",
1306
+ "module": "src/_common/base-file-component.ts"
1307
+ }
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "kind": "javascript-module",
1313
+ "path": "src/_common/field-styles.ts",
1314
+ "declarations": [
1248
1315
  {
1249
1316
  "kind": "variable",
1250
- "name": "defaultAccordionItemConfig",
1251
- "type": {
1252
- "text": "object"
1253
- },
1254
- "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}"
1255
- },
1317
+ "name": "sharedFieldStyles",
1318
+ "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`"
1319
+ }
1320
+ ],
1321
+ "exports": [
1256
1322
  {
1257
- "kind": "variable",
1258
- "name": "foundationAccordionItem",
1259
- "description": "The Foundation Accordion Item",
1260
- "privacy": "public"
1323
+ "kind": "js",
1324
+ "name": "sharedFieldStyles",
1325
+ "declaration": {
1326
+ "name": "sharedFieldStyles",
1327
+ "module": "src/_common/field-styles.ts"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/_common/icons.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "function",
1338
+ "name": "closeIcon",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "slot",
1342
+ "default": "'start'"
1343
+ },
1344
+ {
1345
+ "name": "fill",
1346
+ "default": "'#879ba6'"
1347
+ }
1348
+ ]
1261
1349
  }
1262
1350
  ],
1263
1351
  "exports": [
1264
1352
  {
1265
1353
  "kind": "js",
1266
- "name": "AccordionItem",
1354
+ "name": "closeIcon",
1267
1355
  "declaration": {
1268
- "name": "AccordionItem",
1269
- "module": "src/accordion-item/accordion-item.ts"
1356
+ "name": "closeIcon",
1357
+ "module": "src/_common/icons.ts"
1358
+ }
1359
+ }
1360
+ ]
1361
+ },
1362
+ {
1363
+ "kind": "javascript-module",
1364
+ "path": "src/_common/index.ts",
1365
+ "declarations": [],
1366
+ "exports": [
1367
+ {
1368
+ "kind": "js",
1369
+ "name": "*",
1370
+ "declaration": {
1371
+ "name": "*",
1372
+ "package": "./affix-mixin"
1270
1373
  }
1271
1374
  },
1272
1375
  {
1273
1376
  "kind": "js",
1274
- "name": "foundationAccordionItemShadowOptions",
1377
+ "name": "*",
1275
1378
  "declaration": {
1276
- "name": "foundationAccordionItemShadowOptions",
1277
- "module": "src/accordion-item/accordion-item.ts"
1379
+ "name": "*",
1380
+ "package": "./base-file-component"
1278
1381
  }
1279
1382
  },
1280
1383
  {
1281
1384
  "kind": "js",
1282
- "name": "defaultAccordionItemConfig",
1385
+ "name": "*",
1283
1386
  "declaration": {
1284
- "name": "defaultAccordionItemConfig",
1285
- "module": "src/accordion-item/accordion-item.ts"
1387
+ "name": "*",
1388
+ "package": "./field-styles"
1286
1389
  }
1287
1390
  },
1288
1391
  {
1289
1392
  "kind": "js",
1290
- "name": "foundationAccordionItem",
1393
+ "name": "*",
1291
1394
  "declaration": {
1292
- "name": "foundationAccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1395
+ "name": "*",
1396
+ "package": "./icons"
1294
1397
  }
1295
1398
  }
1296
1399
  ]
1297
1400
  },
1298
1401
  {
1299
1402
  "kind": "javascript-module",
1300
- "path": "src/accordion-item/index.ts",
1403
+ "path": "src/_config/index.ts",
1301
1404
  "declarations": [],
1302
1405
  "exports": [
1303
1406
  {
@@ -1305,7 +1408,7 @@
1305
1408
  "name": "*",
1306
1409
  "declaration": {
1307
1410
  "name": "*",
1308
- "package": "./accordion-item.template"
1411
+ "package": "./styles"
1309
1412
  }
1310
1413
  },
1311
1414
  {
@@ -1313,7 +1416,7 @@
1313
1416
  "name": "*",
1314
1417
  "declaration": {
1315
1418
  "name": "*",
1316
- "package": "./accordion-item.styles"
1419
+ "package": "./tokens"
1317
1420
  }
1318
1421
  },
1319
1422
  {
@@ -1321,41 +1424,18 @@
1321
1424
  "name": "*",
1322
1425
  "declaration": {
1323
1426
  "name": "*",
1324
- "package": "./accordion-item"
1427
+ "package": "./values"
1325
1428
  }
1326
1429
  }
1327
1430
  ]
1328
1431
  },
1329
1432
  {
1330
1433
  "kind": "javascript-module",
1331
- "path": "src/actions-menu/actions-menu.styles.ts",
1434
+ "path": "src/accordion/accordion.styles.ts",
1332
1435
  "declarations": [
1333
1436
  {
1334
1437
  "kind": "function",
1335
- "name": "actionsMenuBaseStyles",
1336
- "return": {
1337
- "type": {
1338
- "text": "ElementStyles"
1339
- }
1340
- },
1341
- "parameters": [
1342
- {
1343
- "name": "context",
1344
- "type": {
1345
- "text": "ElementDefinitionContext"
1346
- }
1347
- },
1348
- {
1349
- "name": "definition",
1350
- "type": {
1351
- "text": "FoundationElementDefinition"
1352
- }
1353
- }
1354
- ]
1355
- },
1356
- {
1357
- "kind": "function",
1358
- "name": "foundationActionsMenuStyles",
1438
+ "name": "foundationAccordionStyles",
1359
1439
  "return": {
1360
1440
  "type": {
1361
1441
  "text": "ElementStyles"
@@ -1380,269 +1460,277 @@
1380
1460
  "exports": [
1381
1461
  {
1382
1462
  "kind": "js",
1383
- "name": "actionsMenuBaseStyles",
1384
- "declaration": {
1385
- "name": "actionsMenuBaseStyles",
1386
- "module": "src/actions-menu/actions-menu.styles.ts"
1387
- }
1388
- },
1389
- {
1390
- "kind": "js",
1391
- "name": "foundationActionsMenuStyles",
1463
+ "name": "foundationAccordionStyles",
1392
1464
  "declaration": {
1393
- "name": "foundationActionsMenuStyles",
1394
- "module": "src/actions-menu/actions-menu.styles.ts"
1465
+ "name": "foundationAccordionStyles",
1466
+ "module": "src/accordion/accordion.styles.ts"
1395
1467
  }
1396
1468
  }
1397
1469
  ]
1398
1470
  },
1399
1471
  {
1400
1472
  "kind": "javascript-module",
1401
- "path": "src/actions-menu/actions-menu.template.ts",
1473
+ "path": "src/accordion/accordion.template.ts",
1402
1474
  "declarations": [
1403
1475
  {
1404
1476
  "kind": "function",
1405
- "name": "menuTemplate",
1477
+ "name": "foundationAccordionTemplate",
1478
+ "return": {
1479
+ "type": {
1480
+ "text": "ViewTemplate<Accordion>"
1481
+ }
1482
+ },
1406
1483
  "parameters": [
1407
1484
  {
1408
- "name": "prefix",
1485
+ "name": "context",
1409
1486
  "type": {
1410
- "text": "string"
1487
+ "text": "ElementDefinitionContext"
1411
1488
  }
1412
- }
1413
- ]
1414
- },
1415
- {
1416
- "kind": "function",
1417
- "name": "singleOptionTemplate",
1418
- "parameters": [
1489
+ },
1419
1490
  {
1420
- "name": "prefix",
1491
+ "name": "definition",
1421
1492
  "type": {
1422
- "text": "string"
1493
+ "text": "FoundationElementDefinition"
1423
1494
  }
1424
1495
  }
1425
1496
  ]
1426
- },
1427
- {
1428
- "kind": "variable",
1429
- "name": "foundationActionsMenuTemplate",
1430
- "type": {
1431
- "text": "ViewTemplate<ActionsMenu>"
1432
- },
1433
- "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`"
1434
1497
  }
1435
1498
  ],
1436
1499
  "exports": [
1437
1500
  {
1438
1501
  "kind": "js",
1439
- "name": "menuTemplate",
1440
- "declaration": {
1441
- "name": "menuTemplate",
1442
- "module": "src/actions-menu/actions-menu.template.ts"
1443
- }
1444
- },
1445
- {
1446
- "kind": "js",
1447
- "name": "singleOptionTemplate",
1448
- "declaration": {
1449
- "name": "singleOptionTemplate",
1450
- "module": "src/actions-menu/actions-menu.template.ts"
1451
- }
1452
- },
1453
- {
1454
- "kind": "js",
1455
- "name": "foundationActionsMenuTemplate",
1502
+ "name": "foundationAccordionTemplate",
1456
1503
  "declaration": {
1457
- "name": "foundationActionsMenuTemplate",
1458
- "module": "src/actions-menu/actions-menu.template.ts"
1504
+ "name": "foundationAccordionTemplate",
1505
+ "module": "src/accordion/accordion.template.ts"
1459
1506
  }
1460
1507
  }
1461
1508
  ]
1462
1509
  },
1463
1510
  {
1464
1511
  "kind": "javascript-module",
1465
- "path": "src/actions-menu/actions-menu.ts",
1512
+ "path": "src/accordion/accordion.ts",
1466
1513
  "declarations": [
1467
1514
  {
1468
1515
  "kind": "class",
1469
1516
  "description": "",
1470
- "name": "ActionsMenu",
1471
- "members": [
1517
+ "name": "Accordion",
1518
+ "superclass": {
1519
+ "name": "FASTAccordion",
1520
+ "package": "@microsoft/fast-foundation"
1521
+ },
1522
+ "tagName": "%%prefix%%-accordion",
1523
+ "customElement": true,
1524
+ "attributes": [
1472
1525
  {
1473
- "kind": "field",
1474
- "name": "actions",
1526
+ "name": "expand-mode",
1475
1527
  "type": {
1476
- "text": "ActionMenuItem[]"
1528
+ "text": "AccordionExpandMode"
1529
+ },
1530
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
+ "fieldName": "expandmode",
1532
+ "inheritedFrom": {
1533
+ "name": "Accordion",
1534
+ "module": "src/accordion/accordion.ts"
1477
1535
  }
1478
- },
1536
+ }
1537
+ ],
1538
+ "members": [
1479
1539
  {
1480
1540
  "kind": "field",
1481
- "name": "isVertical",
1541
+ "name": "expandmode",
1482
1542
  "type": {
1483
- "text": "boolean"
1543
+ "text": "AccordionExpandMode"
1484
1544
  },
1485
- "default": "false"
1545
+ "privacy": "public",
1546
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1547
+ "inheritedFrom": {
1548
+ "name": "Accordion",
1549
+ "module": "src/accordion/accordion.ts"
1550
+ }
1486
1551
  },
1487
1552
  {
1488
1553
  "kind": "field",
1489
- "name": "addDefaultActions",
1554
+ "name": "activeid",
1490
1555
  "type": {
1491
- "text": "boolean"
1556
+ "text": "string | null"
1492
1557
  },
1493
- "default": "true"
1558
+ "privacy": "private",
1559
+ "inheritedFrom": {
1560
+ "name": "Accordion",
1561
+ "module": "src/accordion/accordion.ts"
1562
+ }
1494
1563
  },
1495
1564
  {
1496
1565
  "kind": "field",
1497
- "name": "autoCloseOnAction",
1566
+ "name": "activeItemIndex",
1498
1567
  "type": {
1499
- "text": "boolean"
1568
+ "text": "number"
1500
1569
  },
1501
- "default": "true"
1502
- },
1503
- {
1504
- "kind": "field",
1505
- "name": "classNames",
1506
- "type": {
1507
- "text": "string"
1570
+ "privacy": "private",
1571
+ "default": "0",
1572
+ "inheritedFrom": {
1573
+ "name": "Accordion",
1574
+ "module": "src/accordion/accordion.ts"
1508
1575
  }
1509
1576
  },
1510
1577
  {
1511
1578
  "kind": "field",
1512
- "name": "definition",
1579
+ "name": "accordionIds",
1513
1580
  "type": {
1514
- "text": "any"
1581
+ "text": "Array<string | null>"
1582
+ },
1583
+ "privacy": "private",
1584
+ "inheritedFrom": {
1585
+ "name": "Accordion",
1586
+ "module": "src/accordion/accordion.ts"
1515
1587
  }
1516
1588
  },
1517
1589
  {
1518
1590
  "kind": "field",
1519
- "name": "name",
1520
- "type": {
1521
- "text": "string"
1522
- },
1523
- "default": "'Actions'"
1591
+ "name": "change",
1592
+ "privacy": "private",
1593
+ "inheritedFrom": {
1594
+ "name": "Accordion",
1595
+ "module": "src/accordion/accordion.ts"
1596
+ }
1524
1597
  },
1525
1598
  {
1526
- "kind": "field",
1527
- "name": "open",
1528
- "type": {
1529
- "text": "boolean"
1599
+ "kind": "method",
1600
+ "name": "findExpandedItem",
1601
+ "privacy": "private",
1602
+ "return": {
1603
+ "type": {
1604
+ "text": "AccordionItem | null"
1605
+ }
1530
1606
  },
1531
- "default": "false"
1532
- },
1533
- {
1534
- "kind": "field",
1535
- "name": "buttonAppearance",
1536
- "type": {
1537
- "text": "string"
1607
+ "inheritedFrom": {
1608
+ "name": "Accordion",
1609
+ "module": "src/accordion/accordion.ts"
1538
1610
  }
1539
1611
  },
1540
1612
  {
1541
1613
  "kind": "field",
1542
- "name": "hideDisabled",
1543
- "type": {
1544
- "text": "boolean"
1545
- },
1546
- "default": "false"
1614
+ "name": "setItems",
1615
+ "privacy": "private",
1616
+ "inheritedFrom": {
1617
+ "name": "Accordion",
1618
+ "module": "src/accordion/accordion.ts"
1619
+ }
1547
1620
  },
1548
1621
  {
1549
- "kind": "field",
1550
- "name": "hideMenuSingleOption",
1551
- "type": {
1552
- "text": "boolean"
1622
+ "kind": "method",
1623
+ "name": "resetItems",
1624
+ "privacy": "private",
1625
+ "return": {
1626
+ "type": {
1627
+ "text": "void"
1628
+ }
1553
1629
  },
1554
- "default": "false"
1630
+ "inheritedFrom": {
1631
+ "name": "Accordion",
1632
+ "module": "src/accordion/accordion.ts"
1633
+ }
1555
1634
  },
1556
1635
  {
1557
1636
  "kind": "field",
1558
- "name": "singleOption",
1559
- "type": {
1560
- "text": "ActionMenuItem"
1637
+ "name": "removeItemListeners",
1638
+ "privacy": "private",
1639
+ "inheritedFrom": {
1640
+ "name": "Accordion",
1641
+ "module": "src/accordion/accordion.ts"
1561
1642
  }
1562
1643
  },
1563
1644
  {
1564
1645
  "kind": "field",
1565
- "name": "actionsMenu",
1566
- "type": {
1567
- "text": "HTMLElement"
1646
+ "name": "activeItemChange",
1647
+ "privacy": "private",
1648
+ "inheritedFrom": {
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1568
1651
  }
1569
1652
  },
1570
1653
  {
1571
1654
  "kind": "method",
1572
- "name": "definitionChanged",
1573
- "privacy": "protected",
1574
- "parameters": [
1575
- {
1576
- "name": "oldValue",
1577
- "type": {
1578
- "text": "any"
1579
- }
1580
- },
1581
- {
1582
- "name": "newValue",
1583
- "type": {
1584
- "text": "any"
1585
- }
1655
+ "name": "getItemIds",
1656
+ "privacy": "private",
1657
+ "return": {
1658
+ "type": {
1659
+ "text": "Array<string | null>"
1586
1660
  }
1587
- ]
1588
- },
1589
- {
1590
- "kind": "method",
1591
- "name": "openChanged",
1592
- "privacy": "protected"
1593
- },
1594
- {
1595
- "kind": "method",
1596
- "name": "toggleActionsMenuVisibility"
1661
+ },
1662
+ "inheritedFrom": {
1663
+ "name": "Accordion",
1664
+ "module": "src/accordion/accordion.ts"
1665
+ }
1597
1666
  },
1598
1667
  {
1599
1668
  "kind": "method",
1600
- "name": "onActionMenuItemClick",
1601
- "parameters": [
1602
- {
1603
- "name": "callback",
1604
- "type": {
1605
- "text": "(rowData) => void | any"
1606
- }
1669
+ "name": "isSingleExpandMode",
1670
+ "privacy": "private",
1671
+ "return": {
1672
+ "type": {
1673
+ "text": "boolean"
1607
1674
  }
1608
- ]
1675
+ },
1676
+ "inheritedFrom": {
1677
+ "name": "Accordion",
1678
+ "module": "src/accordion/accordion.ts"
1679
+ }
1609
1680
  },
1610
1681
  {
1611
1682
  "kind": "field",
1612
- "name": "allActions",
1613
- "type": {
1614
- "text": "ActionMenuItem[]"
1615
- },
1616
- "readonly": true
1683
+ "name": "handleItemKeyDown",
1684
+ "privacy": "private",
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1617
1689
  },
1618
1690
  {
1619
1691
  "kind": "field",
1620
- "name": "rowData",
1621
- "readonly": true
1692
+ "name": "handleItemFocus",
1693
+ "privacy": "private",
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1697
+ }
1622
1698
  },
1623
1699
  {
1624
1700
  "kind": "method",
1625
- "name": "getLabel",
1701
+ "name": "adjust",
1702
+ "privacy": "private",
1703
+ "return": {
1704
+ "type": {
1705
+ "text": "void"
1706
+ }
1707
+ },
1626
1708
  "parameters": [
1627
1709
  {
1628
- "name": "name",
1710
+ "name": "adjustment",
1629
1711
  "type": {
1630
- "text": "string | ((rowData: any) => string)"
1712
+ "text": "number"
1631
1713
  }
1632
1714
  }
1633
- ]
1715
+ ],
1716
+ "inheritedFrom": {
1717
+ "name": "Accordion",
1718
+ "module": "src/accordion/accordion.ts"
1719
+ }
1634
1720
  },
1635
1721
  {
1636
1722
  "kind": "method",
1637
- "name": "getTemplate",
1638
- "parameters": [
1639
- {
1640
- "name": "prefix",
1641
- "type": {
1642
- "text": "string"
1643
- }
1723
+ "name": "focusItem",
1724
+ "privacy": "private",
1725
+ "return": {
1726
+ "type": {
1727
+ "text": "void"
1644
1728
  }
1645
- ]
1729
+ },
1730
+ "inheritedFrom": {
1731
+ "name": "Accordion",
1732
+ "module": "src/accordion/accordion.ts"
1733
+ }
1646
1734
  },
1647
1735
  {
1648
1736
  "kind": "field",
@@ -1756,107 +1844,78 @@
1756
1844
  }
1757
1845
  }
1758
1846
  ],
1759
- "attributes": [
1760
- {
1761
- "name": "is-vertical",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "default": "false",
1766
- "fieldName": "isVertical"
1767
- },
1768
- {
1769
- "name": "add-default-actions",
1770
- "type": {
1771
- "text": "boolean"
1772
- },
1773
- "default": "true",
1774
- "fieldName": "addDefaultActions"
1775
- },
1776
- {
1777
- "name": "auto-close-on-action",
1778
- "type": {
1779
- "text": "boolean"
1780
- },
1781
- "default": "true",
1782
- "fieldName": "autoCloseOnAction"
1783
- },
1784
- {
1785
- "name": "name",
1786
- "type": {
1787
- "text": "string"
1788
- },
1789
- "default": "'Actions'",
1790
- "fieldName": "name"
1791
- },
1792
- {
1793
- "name": "open",
1794
- "type": {
1795
- "text": "boolean"
1796
- },
1797
- "default": "false",
1798
- "fieldName": "open"
1799
- },
1800
- {
1801
- "name": "buttonAppearance",
1802
- "type": {
1803
- "text": "string"
1804
- },
1805
- "fieldName": "buttonAppearance"
1806
- },
1807
- {
1808
- "name": "hide-disabled",
1809
- "type": {
1810
- "text": "boolean"
1811
- },
1812
- "default": "false",
1813
- "fieldName": "hideDisabled"
1814
- },
1847
+ "events": [
1815
1848
  {
1816
- "name": "hide-menu-single-option",
1817
- "type": {
1818
- "text": "boolean"
1819
- },
1820
- "default": "false",
1821
- "fieldName": "hideMenuSingleOption"
1849
+ "description": "Fires a custom 'change' event when the active item changes",
1850
+ "name": "change",
1851
+ "inheritedFrom": {
1852
+ "name": "Accordion",
1853
+ "module": "src/accordion/accordion.ts"
1854
+ }
1822
1855
  }
1823
- ],
1824
- "superclass": {
1825
- "name": "FoundationElement",
1826
- "package": "@microsoft/fast-foundation"
1856
+ ]
1857
+ },
1858
+ {
1859
+ "kind": "variable",
1860
+ "name": "foundationAccordionShadowOptions",
1861
+ "type": {
1862
+ "text": "ShadowRootInit"
1827
1863
  },
1828
- "tagName": "%%prefix%%-actions-menu",
1829
- "customElement": true
1864
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1830
1865
  },
1831
1866
  {
1832
1867
  "kind": "variable",
1833
- "name": "foundationActionsMenu",
1834
- "description": "The Foundation Actions Menu",
1868
+ "name": "defaultAccordionConfig",
1869
+ "type": {
1870
+ "text": "object"
1871
+ },
1872
+ "default": "{}"
1873
+ },
1874
+ {
1875
+ "kind": "variable",
1876
+ "name": "foundationAccordion",
1877
+ "description": "The Foundation Accordion",
1835
1878
  "privacy": "public"
1836
1879
  }
1837
1880
  ],
1838
1881
  "exports": [
1839
1882
  {
1840
1883
  "kind": "js",
1841
- "name": "ActionsMenu",
1884
+ "name": "Accordion",
1842
1885
  "declaration": {
1843
- "name": "ActionsMenu",
1844
- "module": "src/actions-menu/actions-menu.ts"
1886
+ "name": "Accordion",
1887
+ "module": "src/accordion/accordion.ts"
1845
1888
  }
1846
1889
  },
1847
1890
  {
1848
1891
  "kind": "js",
1849
- "name": "foundationActionsMenu",
1892
+ "name": "foundationAccordionShadowOptions",
1850
1893
  "declaration": {
1851
- "name": "foundationActionsMenu",
1852
- "module": "src/actions-menu/actions-menu.ts"
1894
+ "name": "foundationAccordionShadowOptions",
1895
+ "module": "src/accordion/accordion.ts"
1896
+ }
1897
+ },
1898
+ {
1899
+ "kind": "js",
1900
+ "name": "defaultAccordionConfig",
1901
+ "declaration": {
1902
+ "name": "defaultAccordionConfig",
1903
+ "module": "src/accordion/accordion.ts"
1904
+ }
1905
+ },
1906
+ {
1907
+ "kind": "js",
1908
+ "name": "foundationAccordion",
1909
+ "declaration": {
1910
+ "name": "foundationAccordion",
1911
+ "module": "src/accordion/accordion.ts"
1853
1912
  }
1854
1913
  }
1855
1914
  ]
1856
1915
  },
1857
1916
  {
1858
1917
  "kind": "javascript-module",
1859
- "path": "src/actions-menu/index.ts",
1918
+ "path": "src/accordion/index.ts",
1860
1919
  "declarations": [],
1861
1920
  "exports": [
1862
1921
  {
@@ -1864,7 +1923,7 @@
1864
1923
  "name": "*",
1865
1924
  "declaration": {
1866
1925
  "name": "*",
1867
- "package": "./actions-menu.styles"
1926
+ "package": "./accordion.template"
1868
1927
  }
1869
1928
  },
1870
1929
  {
@@ -1872,7 +1931,7 @@
1872
1931
  "name": "*",
1873
1932
  "declaration": {
1874
1933
  "name": "*",
1875
- "package": "./actions-menu.template"
1934
+ "package": "./accordion.styles"
1876
1935
  }
1877
1936
  },
1878
1937
  {
@@ -1880,265 +1939,193 @@
1880
1939
  "name": "*",
1881
1940
  "declaration": {
1882
1941
  "name": "*",
1883
- "package": "./actions-menu"
1884
- }
1885
- }
1886
- ]
1887
- },
1888
- {
1889
- "kind": "javascript-module",
1890
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1891
- "declarations": [
1892
- {
1893
- "kind": "variable",
1894
- "name": "foundationAiCriteriaSearchStyles",
1895
- "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`"
1896
- }
1897
- ],
1898
- "exports": [
1899
- {
1900
- "kind": "js",
1901
- "name": "foundationAiCriteriaSearchStyles",
1902
- "declaration": {
1903
- "name": "foundationAiCriteriaSearchStyles",
1904
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1942
+ "package": "./accordion"
1905
1943
  }
1906
1944
  }
1907
1945
  ]
1908
1946
  },
1909
1947
  {
1910
1948
  "kind": "javascript-module",
1911
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1949
+ "path": "src/accordion-item/accordion-item.styles.ts",
1912
1950
  "declarations": [
1913
1951
  {
1914
- "kind": "variable",
1915
- "name": "foundationAiCriteriaSearchTemplate",
1916
- "type": {
1917
- "text": "ViewTemplate<AiCriteriaSearch>"
1952
+ "kind": "function",
1953
+ "name": "foundationAccordionItemStyles",
1954
+ "return": {
1955
+ "type": {
1956
+ "text": "ElementStyles"
1957
+ }
1918
1958
  },
1919
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1959
+ "parameters": [
1960
+ {
1961
+ "name": "context",
1962
+ "type": {
1963
+ "text": "ElementDefinitionContext"
1964
+ }
1965
+ },
1966
+ {
1967
+ "name": "definition",
1968
+ "type": {
1969
+ "text": "FoundationElementDefinition"
1970
+ }
1971
+ }
1972
+ ]
1920
1973
  }
1921
1974
  ],
1922
1975
  "exports": [
1923
1976
  {
1924
1977
  "kind": "js",
1925
- "name": "foundationAiCriteriaSearchTemplate",
1978
+ "name": "foundationAccordionItemStyles",
1926
1979
  "declaration": {
1927
- "name": "foundationAiCriteriaSearchTemplate",
1928
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1980
+ "name": "foundationAccordionItemStyles",
1981
+ "module": "src/accordion-item/accordion-item.styles.ts"
1929
1982
  }
1930
1983
  }
1931
1984
  ]
1932
1985
  },
1933
1986
  {
1934
1987
  "kind": "javascript-module",
1935
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1988
+ "path": "src/accordion-item/accordion-item.template.ts",
1936
1989
  "declarations": [
1937
- {
1938
- "kind": "class",
1939
- "description": "Natural-language criteria search input with AI interpretation.",
1940
- "name": "AiCriteriaSearch",
1941
- "members": [
1942
- {
1943
- "kind": "field",
1944
- "name": "providerRegistry",
1945
- "type": {
1946
- "text": "AIProviderRegistry"
1947
- }
1948
- },
1949
- {
1950
- "kind": "field",
1951
- "name": "placeholder",
1952
- "type": {
1953
- "text": "string"
1954
- },
1955
- "default": "'Describe your search criteria in natural language...'"
1956
- },
1957
- {
1958
- "kind": "field",
1959
- "name": "disabled",
1960
- "type": {
1961
- "text": "boolean"
1962
- }
1963
- },
1964
- {
1965
- "kind": "field",
1966
- "name": "inputValue",
1967
- "type": {
1968
- "text": "string"
1969
- },
1970
- "default": "''"
1971
- },
1972
- {
1973
- "kind": "field",
1974
- "name": "isInterpreting",
1975
- "type": {
1976
- "text": "boolean"
1977
- },
1978
- "default": "false"
1979
- },
1980
- {
1981
- "kind": "field",
1982
- "name": "lastValidCriteria",
1983
- "type": {
1984
- "text": "string | null"
1985
- },
1986
- "default": "null"
1987
- },
1990
+ {
1991
+ "kind": "function",
1992
+ "name": "foundationAccordionItemTemplate",
1993
+ "return": {
1994
+ "type": {
1995
+ "text": "ViewTemplate<AccordionItem>"
1996
+ }
1997
+ },
1998
+ "parameters": [
1988
1999
  {
1989
- "kind": "field",
1990
- "name": "activeGroups",
2000
+ "name": "context",
1991
2001
  "type": {
1992
- "text": "CriteriaGroup[]"
1993
- },
1994
- "default": "[]"
2002
+ "text": "ElementDefinitionContext"
2003
+ }
1995
2004
  },
1996
2005
  {
1997
- "kind": "field",
1998
- "name": "showingChips",
2006
+ "name": "definition",
1999
2007
  "type": {
2000
- "text": "boolean"
2001
- },
2002
- "default": "false"
2003
- },
2008
+ "text": "FoundationElementDefinition"
2009
+ }
2010
+ }
2011
+ ]
2012
+ }
2013
+ ],
2014
+ "exports": [
2015
+ {
2016
+ "kind": "js",
2017
+ "name": "foundationAccordionItemTemplate",
2018
+ "declaration": {
2019
+ "name": "foundationAccordionItemTemplate",
2020
+ "module": "src/accordion-item/accordion-item.template.ts"
2021
+ }
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "kind": "javascript-module",
2027
+ "path": "src/accordion-item/accordion-item.ts",
2028
+ "declarations": [
2029
+ {
2030
+ "kind": "class",
2031
+ "description": "",
2032
+ "name": "AccordionItem",
2033
+ "superclass": {
2034
+ "name": "FASTAccordionItem",
2035
+ "package": "@microsoft/fast-components"
2036
+ },
2037
+ "tagName": "%%prefix%%-accordion-item",
2038
+ "customElement": true,
2039
+ "attributes": [
2004
2040
  {
2005
- "kind": "field",
2006
- "name": "fieldMetadata",
2041
+ "name": "heading-level",
2007
2042
  "type": {
2008
- "text": "MetadataDetail[] | string[]"
2043
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2009
2044
  },
2010
- "default": "[]"
2045
+ "default": "2",
2046
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2047
+ "fieldName": "headinglevel",
2048
+ "inheritedFrom": {
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2051
+ }
2011
2052
  },
2012
2053
  {
2013
- "kind": "field",
2014
- "name": "isRecording",
2015
2054
  "type": {
2016
2055
  "text": "boolean"
2017
2056
  },
2018
- "default": "false"
2019
- },
2020
- {
2021
- "kind": "field",
2022
- "name": "textAreaRef",
2023
- "type": {
2024
- "text": "HTMLTextAreaElement"
2025
- },
2026
- "privacy": "public"
2057
+ "default": "false",
2058
+ "description": "Expands or collapses the item.",
2059
+ "fieldName": "expanded",
2060
+ "inheritedFrom": {
2061
+ "name": "AccordionItem",
2062
+ "module": "src/accordion-item/accordion-item.ts"
2063
+ }
2027
2064
  },
2028
2065
  {
2029
- "kind": "field",
2030
- "name": "stopRecording",
2066
+ "name": "id",
2031
2067
  "type": {
2032
- "text": "(() => void) | null"
2068
+ "text": "string"
2033
2069
  },
2034
- "privacy": "private",
2035
- "default": "null"
2036
- },
2070
+ "description": "The item ID",
2071
+ "fieldName": "id",
2072
+ "inheritedFrom": {
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2075
+ }
2076
+ }
2077
+ ],
2078
+ "members": [
2037
2079
  {
2038
2080
  "kind": "field",
2039
- "name": "speechApplyDebounceTimer",
2081
+ "name": "headinglevel",
2040
2082
  "type": {
2041
- "text": "ReturnType<typeof setTimeout> | null"
2083
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2042
2084
  },
2043
- "privacy": "private",
2044
- "default": "null"
2085
+ "privacy": "public",
2086
+ "default": "2",
2087
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2088
+ "inheritedFrom": {
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2091
+ }
2045
2092
  },
2046
2093
  {
2047
2094
  "kind": "field",
2048
- "name": "speechAvailable",
2095
+ "name": "expanded",
2049
2096
  "type": {
2050
2097
  "text": "boolean"
2051
2098
  },
2052
- "readonly": true
2099
+ "privacy": "public",
2100
+ "default": "false",
2101
+ "description": "Expands or collapses the item.",
2102
+ "inheritedFrom": {
2103
+ "name": "AccordionItem",
2104
+ "module": "src/accordion-item/accordion-item.ts"
2105
+ }
2053
2106
  },
2054
2107
  {
2055
2108
  "kind": "field",
2056
- "name": "criteriaChips",
2109
+ "name": "id",
2057
2110
  "type": {
2058
- "text": "CriteriaChip[]"
2059
- },
2060
- "readonly": true
2061
- },
2062
- {
2063
- "kind": "method",
2064
- "name": "getFieldLabel",
2065
- "privacy": "private",
2066
- "return": {
2067
- "type": {
2068
- "text": "string"
2069
- }
2111
+ "text": "string"
2070
2112
  },
2071
- "parameters": [
2072
- {
2073
- "name": "fieldName",
2074
- "type": {
2075
- "text": "string"
2076
- }
2077
- }
2078
- ]
2079
- },
2080
- {
2081
- "kind": "method",
2082
- "name": "toggleCriteriaView",
2083
- "return": {
2084
- "type": {
2085
- "text": "void"
2086
- }
2113
+ "privacy": "public",
2114
+ "description": "The item ID",
2115
+ "inheritedFrom": {
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2087
2118
  }
2088
2119
  },
2089
2120
  {
2090
- "kind": "method",
2091
- "name": "removeChip",
2092
- "return": {
2093
- "type": {
2094
- "text": "void"
2095
- }
2096
- },
2097
- "parameters": [
2098
- {
2099
- "name": "groupIndex",
2100
- "type": {
2101
- "text": "number"
2102
- }
2103
- },
2104
- {
2105
- "name": "clauseIndex",
2106
- "type": {
2107
- "text": "number"
2108
- }
2109
- }
2110
- ]
2111
- },
2112
- {
2113
- "kind": "method",
2114
- "name": "clearChips",
2115
- "return": {
2116
- "type": {
2117
- "text": "void"
2118
- }
2121
+ "kind": "field",
2122
+ "name": "change",
2123
+ "privacy": "private",
2124
+ "inheritedFrom": {
2125
+ "name": "AccordionItem",
2126
+ "module": "src/accordion-item/accordion-item.ts"
2119
2127
  }
2120
2128
  },
2121
- {
2122
- "kind": "method",
2123
- "name": "handleSubmit"
2124
- },
2125
- {
2126
- "kind": "method",
2127
- "name": "handleBlur"
2128
- },
2129
- {
2130
- "kind": "method",
2131
- "name": "clear"
2132
- },
2133
- {
2134
- "kind": "method",
2135
- "name": "toggleSpeechInput"
2136
- },
2137
- {
2138
- "kind": "method",
2139
- "name": "clearSpeechApplyDebounce",
2140
- "privacy": "private"
2141
- },
2142
2129
  {
2143
2130
  "kind": "field",
2144
2131
  "name": "_presentation",
@@ -2253,152 +2240,84 @@
2253
2240
  ],
2254
2241
  "events": [
2255
2242
  {
2256
- "description": "Fired when interpreted criteria is applied or cleared",
2257
- "name": "criteria-changed"
2258
- },
2259
- {
2260
- "description": "Fired when interpreted criteria contains invalid clauses",
2261
- "name": "validation-errors"
2262
- }
2263
- ],
2264
- "attributes": [
2265
- {
2266
- "name": "placeholder",
2267
- "type": {
2268
- "text": "string"
2269
- },
2270
- "default": "'Describe your search criteria in natural language...'",
2271
- "fieldName": "placeholder"
2272
- },
2273
- {
2274
- "type": {
2275
- "text": "boolean"
2276
- },
2277
- "fieldName": "disabled"
2243
+ "description": "Fires a custom 'change' event when the button is invoked",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "AccordionItem",
2247
+ "module": "src/accordion-item/accordion-item.ts"
2248
+ }
2278
2249
  }
2279
- ],
2280
- "superclass": {
2281
- "name": "FoundationElement",
2282
- "package": "@microsoft/fast-foundation"
2283
- },
2284
- "tagName": "%%prefix%%-ai-criteria-search",
2285
- "customElement": true
2250
+ ]
2286
2251
  },
2287
2252
  {
2288
2253
  "kind": "variable",
2289
- "name": "foundationAiCriteriaSearchShadowOptions",
2254
+ "name": "foundationAccordionItemShadowOptions",
2290
2255
  "type": {
2291
2256
  "text": "ShadowRootInit"
2292
2257
  },
2293
- "default": "undefined"
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2294
2259
  },
2295
2260
  {
2296
2261
  "kind": "variable",
2297
- "name": "defaultAiCriteriaSearchConfig",
2262
+ "name": "defaultAccordionItemConfig",
2298
2263
  "type": {
2299
2264
  "text": "object"
2300
2265
  },
2301
- "default": "{}"
2266
+ "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}"
2302
2267
  },
2303
2268
  {
2304
2269
  "kind": "variable",
2305
- "name": "foundationAiCriteriaSearch"
2270
+ "name": "foundationAccordionItem",
2271
+ "description": "The Foundation Accordion Item",
2272
+ "privacy": "public"
2306
2273
  }
2307
2274
  ],
2308
2275
  "exports": [
2309
2276
  {
2310
2277
  "kind": "js",
2311
- "name": "AiCriteriaSearch",
2278
+ "name": "AccordionItem",
2312
2279
  "declaration": {
2313
- "name": "AiCriteriaSearch",
2314
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2280
+ "name": "AccordionItem",
2281
+ "module": "src/accordion-item/accordion-item.ts"
2315
2282
  }
2316
2283
  },
2317
2284
  {
2318
2285
  "kind": "js",
2319
- "name": "foundationAiCriteriaSearchShadowOptions",
2286
+ "name": "foundationAccordionItemShadowOptions",
2320
2287
  "declaration": {
2321
- "name": "foundationAiCriteriaSearchShadowOptions",
2322
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2288
+ "name": "foundationAccordionItemShadowOptions",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2323
2290
  }
2324
2291
  },
2325
2292
  {
2326
2293
  "kind": "js",
2327
- "name": "defaultAiCriteriaSearchConfig",
2294
+ "name": "defaultAccordionItemConfig",
2328
2295
  "declaration": {
2329
- "name": "defaultAiCriteriaSearchConfig",
2330
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2296
+ "name": "defaultAccordionItemConfig",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2331
2298
  }
2332
2299
  },
2333
2300
  {
2334
2301
  "kind": "js",
2335
- "name": "foundationAiCriteriaSearch",
2302
+ "name": "foundationAccordionItem",
2336
2303
  "declaration": {
2337
- "name": "foundationAiCriteriaSearch",
2338
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2304
+ "name": "foundationAccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2339
2306
  }
2340
2307
  }
2341
2308
  ]
2342
2309
  },
2343
2310
  {
2344
2311
  "kind": "javascript-module",
2345
- "path": "src/ai-criteria-search/index.ts",
2312
+ "path": "src/accordion-item/index.ts",
2346
2313
  "declarations": [],
2347
2314
  "exports": [
2348
- {
2349
- "kind": "js",
2350
- "name": "AiCriteriaSearch",
2351
- "declaration": {
2352
- "name": "AiCriteriaSearch",
2353
- "module": "./ai-criteria-search"
2354
- }
2355
- },
2356
- {
2357
- "kind": "js",
2358
- "name": "defaultAiCriteriaSearchConfig",
2359
- "declaration": {
2360
- "name": "defaultAiCriteriaSearchConfig",
2361
- "module": "./ai-criteria-search"
2362
- }
2363
- },
2364
- {
2365
- "kind": "js",
2366
- "name": "foundationAiCriteriaSearch",
2367
- "declaration": {
2368
- "name": "foundationAiCriteriaSearch",
2369
- "module": "./ai-criteria-search"
2370
- }
2371
- },
2372
- {
2373
- "kind": "js",
2374
- "name": "foundationAiCriteriaSearchShadowOptions",
2375
- "declaration": {
2376
- "name": "foundationAiCriteriaSearchShadowOptions",
2377
- "module": "./ai-criteria-search"
2378
- }
2379
- },
2380
- {
2381
- "kind": "js",
2382
- "name": "foundationAiCriteriaSearchStyles",
2383
- "declaration": {
2384
- "name": "foundationAiCriteriaSearchStyles",
2385
- "module": "./ai-criteria-search.styles"
2386
- }
2387
- },
2388
- {
2389
- "kind": "js",
2390
- "name": "foundationAiCriteriaSearchTemplate",
2391
- "declaration": {
2392
- "name": "foundationAiCriteriaSearchTemplate",
2393
- "module": "./ai-criteria-search.template"
2394
- }
2395
- },
2396
2315
  {
2397
2316
  "kind": "js",
2398
2317
  "name": "*",
2399
2318
  "declaration": {
2400
2319
  "name": "*",
2401
- "package": "./validation/criteria-ir"
2320
+ "package": "./accordion-item.template"
2402
2321
  }
2403
2322
  },
2404
2323
  {
@@ -2406,7 +2325,7 @@
2406
2325
  "name": "*",
2407
2326
  "declaration": {
2408
2327
  "name": "*",
2409
- "package": "./validation/operator-map"
2328
+ "package": "./accordion-item.styles"
2410
2329
  }
2411
2330
  },
2412
2331
  {
@@ -2414,202 +2333,210 @@
2414
2333
  "name": "*",
2415
2334
  "declaration": {
2416
2335
  "name": "*",
2417
- "package": "./validation/schema-validator"
2336
+ "package": "./accordion-item"
2418
2337
  }
2419
2338
  }
2420
2339
  ]
2421
2340
  },
2422
2341
  {
2423
2342
  "kind": "javascript-module",
2424
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2425
2344
  "declarations": [
2426
2345
  {
2427
2346
  "kind": "function",
2428
- "name": "formatValidationErrors",
2347
+ "name": "actionsMenuBaseStyles",
2429
2348
  "return": {
2430
2349
  "type": {
2431
- "text": "string"
2350
+ "text": "ElementStyles"
2432
2351
  }
2433
2352
  },
2434
2353
  "parameters": [
2435
2354
  {
2436
- "name": "errors",
2355
+ "name": "context",
2437
2356
  "type": {
2438
- "text": "ValidationError[]"
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2439
2364
  }
2440
2365
  }
2441
- ],
2442
- "description": "Formats validation errors into a user-friendly message."
2366
+ ]
2443
2367
  },
2444
2368
  {
2445
2369
  "kind": "function",
2446
- "name": "showCriteriaError",
2370
+ "name": "foundationActionsMenuStyles",
2447
2371
  "return": {
2448
2372
  "type": {
2449
- "text": "void"
2373
+ "text": "ElementStyles"
2450
2374
  }
2451
2375
  },
2452
2376
  "parameters": [
2453
2377
  {
2454
- "name": "title",
2455
- "type": {
2456
- "text": "string"
2457
- },
2458
- "description": "Notification title (e.g. \"Criteria validation error\")"
2459
- },
2460
- {
2461
- "name": "body",
2378
+ "name": "context",
2462
2379
  "type": {
2463
- "text": "string"
2464
- },
2465
- "description": "Error message to display"
2380
+ "text": "ElementDefinitionContext"
2381
+ }
2466
2382
  },
2467
2383
  {
2468
- "name": "tagName",
2384
+ "name": "definition",
2469
2385
  "type": {
2470
- "text": "string"
2471
- },
2472
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2386
+ "text": "FoundationElementDefinition"
2387
+ }
2473
2388
  }
2474
- ],
2475
- "description": "Shows a criteria error as a toast notification."
2389
+ ]
2476
2390
  }
2477
2391
  ],
2478
2392
  "exports": [
2479
2393
  {
2480
2394
  "kind": "js",
2481
- "name": "formatValidationErrors",
2395
+ "name": "actionsMenuBaseStyles",
2482
2396
  "declaration": {
2483
- "name": "formatValidationErrors",
2484
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2485
2399
  }
2486
2400
  },
2487
2401
  {
2488
2402
  "kind": "js",
2489
- "name": "showCriteriaError",
2403
+ "name": "foundationActionsMenuStyles",
2490
2404
  "declaration": {
2491
- "name": "showCriteriaError",
2492
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2493
2407
  }
2494
2408
  }
2495
2409
  ]
2496
2410
  },
2497
2411
  {
2498
2412
  "kind": "javascript-module",
2499
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2500
2414
  "declarations": [
2501
2415
  {
2502
2416
  "kind": "function",
2503
- "name": "foundationAiIndicatorStyles",
2504
- "return": {
2505
- "type": {
2506
- "text": "ElementStyles"
2507
- }
2508
- },
2417
+ "name": "menuTemplate",
2509
2418
  "parameters": [
2510
2419
  {
2511
- "name": "context",
2420
+ "name": "prefix",
2512
2421
  "type": {
2513
- "text": "ElementDefinitionContext"
2422
+ "text": "string"
2514
2423
  }
2515
- },
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2516
2431
  {
2517
- "name": "definition",
2432
+ "name": "prefix",
2518
2433
  "type": {
2519
- "text": "FoundationElementDefinition"
2434
+ "text": "string"
2520
2435
  }
2521
2436
  }
2522
2437
  ]
2438
+ },
2439
+ {
2440
+ "kind": "variable",
2441
+ "name": "foundationActionsMenuTemplate",
2442
+ "type": {
2443
+ "text": "ViewTemplate<ActionsMenu>"
2444
+ },
2445
+ "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`"
2523
2446
  }
2524
2447
  ],
2525
2448
  "exports": [
2526
2449
  {
2527
2450
  "kind": "js",
2528
- "name": "foundationAiIndicatorStyles",
2451
+ "name": "menuTemplate",
2529
2452
  "declaration": {
2530
- "name": "foundationAiIndicatorStyles",
2531
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2532
2455
  }
2533
- }
2534
- ]
2535
- },
2536
- {
2537
- "kind": "javascript-module",
2538
- "path": "src/ai-indicator/ai-indicator.template.ts",
2539
- "declarations": [
2456
+ },
2540
2457
  {
2541
- "kind": "variable",
2542
- "name": "foundationAiIndicatorTemplate",
2543
- "type": {
2544
- "text": "ViewTemplate<AiIndicator>"
2545
- },
2546
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2547
- }
2548
- ],
2549
- "exports": [
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2550
2465
  {
2551
2466
  "kind": "js",
2552
- "name": "foundationAiIndicatorTemplate",
2467
+ "name": "foundationActionsMenuTemplate",
2553
2468
  "declaration": {
2554
- "name": "foundationAiIndicatorTemplate",
2555
- "module": "src/ai-indicator/ai-indicator.template.ts"
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2556
2471
  }
2557
2472
  }
2558
2473
  ]
2559
2474
  },
2560
2475
  {
2561
2476
  "kind": "javascript-module",
2562
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2563
2478
  "declarations": [
2564
2479
  {
2565
2480
  "kind": "class",
2566
2481
  "description": "",
2567
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2568
2483
  "members": [
2569
2484
  {
2570
2485
  "kind": "field",
2571
- "name": "providerRegistry",
2486
+ "name": "actions",
2572
2487
  "type": {
2573
- "text": "AIProviderRegistry"
2488
+ "text": "ActionMenuItem[]"
2574
2489
  }
2575
2490
  },
2576
2491
  {
2577
2492
  "kind": "field",
2578
- "name": "aiProvider",
2493
+ "name": "isVertical",
2579
2494
  "type": {
2580
- "text": "AIProvider | undefined"
2495
+ "text": "boolean"
2581
2496
  },
2582
- "privacy": "private",
2583
- "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.",
2584
- "readonly": true
2497
+ "default": "false"
2585
2498
  },
2586
2499
  {
2587
2500
  "kind": "field",
2588
- "name": "status",
2501
+ "name": "addDefaultActions",
2589
2502
  "type": {
2590
- "text": "AIStatus | null"
2503
+ "text": "boolean"
2591
2504
  },
2592
- "default": "null"
2505
+ "default": "true"
2593
2506
  },
2594
2507
  {
2595
2508
  "kind": "field",
2596
- "name": "open",
2509
+ "name": "autoCloseOnAction",
2597
2510
  "type": {
2598
2511
  "text": "boolean"
2599
2512
  },
2600
- "default": "false"
2513
+ "default": "true"
2514
+ },
2515
+ {
2516
+ "kind": "field",
2517
+ "name": "classNames",
2518
+ "type": {
2519
+ "text": "string"
2520
+ }
2521
+ },
2522
+ {
2523
+ "kind": "field",
2524
+ "name": "definition",
2525
+ "type": {
2526
+ "text": "any"
2527
+ }
2601
2528
  },
2602
2529
  {
2603
2530
  "kind": "field",
2604
- "name": "state",
2531
+ "name": "name",
2605
2532
  "type": {
2606
- "text": "AIIndicatorState"
2533
+ "text": "string"
2607
2534
  },
2608
- "default": "'none'"
2535
+ "default": "'Actions'"
2609
2536
  },
2610
2537
  {
2611
2538
  "kind": "field",
2612
- "name": "isInstalling",
2539
+ "name": "open",
2613
2540
  "type": {
2614
2541
  "text": "boolean"
2615
2542
  },
@@ -2617,133 +2544,117 @@
2617
2544
  },
2618
2545
  {
2619
2546
  "kind": "field",
2620
- "name": "pollTimer",
2547
+ "name": "buttonAppearance",
2621
2548
  "type": {
2622
- "text": "ReturnType<typeof setInterval> | null"
2623
- },
2624
- "privacy": "private",
2625
- "default": "null"
2626
- },
2627
- {
2628
- "kind": "field",
2629
- "name": "clickOutside",
2630
- "privacy": "private"
2549
+ "text": "string"
2550
+ }
2631
2551
  },
2632
2552
  {
2633
2553
  "kind": "field",
2634
- "name": "chromeStatusLabel",
2554
+ "name": "hideDisabled",
2635
2555
  "type": {
2636
- "text": "string | null"
2556
+ "text": "boolean"
2637
2557
  },
2638
- "readonly": true
2558
+ "default": "false"
2639
2559
  },
2640
2560
  {
2641
2561
  "kind": "field",
2642
- "name": "canInstall",
2562
+ "name": "hideMenuSingleOption",
2643
2563
  "type": {
2644
2564
  "text": "boolean"
2645
2565
  },
2646
- "readonly": true
2566
+ "default": "false"
2647
2567
  },
2648
2568
  {
2649
2569
  "kind": "field",
2650
- "name": "isDownloading",
2570
+ "name": "singleOption",
2651
2571
  "type": {
2652
- "text": "boolean"
2653
- },
2654
- "readonly": true
2572
+ "text": "ActionMenuItem"
2573
+ }
2655
2574
  },
2656
2575
  {
2657
- "kind": "method",
2658
- "name": "openChanged",
2659
- "return": {
2660
- "type": {
2661
- "text": "void"
2662
- }
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2663
2580
  }
2664
2581
  },
2665
2582
  {
2666
2583
  "kind": "method",
2667
- "name": "handleClickOutside",
2668
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2669
2586
  "parameters": [
2670
2587
  {
2671
- "name": "event",
2588
+ "name": "oldValue",
2672
2589
  "type": {
2673
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2674
2597
  }
2675
2598
  }
2676
2599
  ]
2677
2600
  },
2678
2601
  {
2679
2602
  "kind": "method",
2680
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2681
2605
  },
2682
2606
  {
2683
2607
  "kind": "method",
2684
- "name": "refreshStatus",
2685
- "return": {
2686
- "type": {
2687
- "text": "Promise<void>"
2688
- }
2689
- }
2608
+ "name": "toggleActionsMenuVisibility"
2690
2609
  },
2691
2610
  {
2692
2611
  "kind": "method",
2693
- "name": "deriveState",
2694
- "privacy": "private",
2695
- "return": {
2696
- "type": {
2697
- "text": "AIIndicatorState"
2698
- }
2699
- },
2612
+ "name": "onActionMenuItemClick",
2700
2613
  "parameters": [
2701
2614
  {
2702
- "name": "s",
2615
+ "name": "callback",
2703
2616
  "type": {
2704
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2705
2618
  }
2706
2619
  }
2707
2620
  ]
2708
2621
  },
2709
2622
  {
2710
- "kind": "method",
2711
- "name": "maybeStartPolling",
2712
- "privacy": "private",
2713
- "return": {
2714
- "type": {
2715
- "text": "void"
2716
- }
2717
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2718
2629
  },
2719
2630
  {
2720
- "kind": "method",
2721
- "name": "startPolling",
2722
- "privacy": "private",
2723
- "return": {
2724
- "type": {
2725
- "text": "void"
2726
- }
2727
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2728
2634
  },
2729
2635
  {
2730
2636
  "kind": "method",
2731
- "name": "stopPolling",
2732
- "privacy": "private",
2733
- "return": {
2734
- "type": {
2735
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2736
2644
  }
2737
- }
2645
+ ]
2738
2646
  },
2739
2647
  {
2740
2648
  "kind": "method",
2741
- "name": "onInstall",
2742
- "return": {
2743
- "type": {
2744
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2745
2656
  }
2746
- }
2657
+ ]
2747
2658
  },
2748
2659
  {
2749
2660
  "kind": "field",
@@ -2857,303 +2768,388 @@
2857
2768
  }
2858
2769
  }
2859
2770
  ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2834
+ }
2835
+ ],
2860
2836
  "superclass": {
2861
2837
  "name": "FoundationElement",
2862
2838
  "package": "@microsoft/fast-foundation"
2863
2839
  },
2864
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2865
2841
  "customElement": true
2866
2842
  },
2867
2843
  {
2868
2844
  "kind": "variable",
2869
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2870
2848
  }
2871
2849
  ],
2872
2850
  "exports": [
2873
2851
  {
2874
2852
  "kind": "js",
2875
- "name": "AiIndicator",
2853
+ "name": "ActionsMenu",
2876
2854
  "declaration": {
2877
- "name": "AiIndicator",
2878
- "module": "src/ai-indicator/ai-indicator.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2879
2857
  }
2880
2858
  },
2881
2859
  {
2882
2860
  "kind": "js",
2883
- "name": "foundationAiIndicator",
2861
+ "name": "foundationActionsMenu",
2884
2862
  "declaration": {
2885
- "name": "foundationAiIndicator",
2886
- "module": "src/ai-indicator/ai-indicator.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2887
2865
  }
2888
2866
  }
2889
2867
  ]
2890
2868
  },
2891
2869
  {
2892
2870
  "kind": "javascript-module",
2893
- "path": "src/ai-indicator/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2894
2872
  "declarations": [],
2895
2873
  "exports": [
2896
2874
  {
2897
2875
  "kind": "js",
2898
- "name": "AiIndicator",
2876
+ "name": "*",
2899
2877
  "declaration": {
2900
- "name": "AiIndicator",
2901
- "module": "./ai-indicator"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2902
2880
  }
2903
2881
  },
2904
2882
  {
2905
2883
  "kind": "js",
2906
- "name": "foundationAiIndicator",
2884
+ "name": "*",
2907
2885
  "declaration": {
2908
- "name": "foundationAiIndicator",
2909
- "module": "./ai-indicator"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2910
2888
  }
2911
2889
  },
2912
2890
  {
2913
2891
  "kind": "js",
2914
- "name": "type",
2892
+ "name": "*",
2915
2893
  "declaration": {
2916
- "name": "type",
2917
- "module": "./ai-indicator"
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2918
2896
  }
2919
- },
2897
+ }
2898
+ ]
2899
+ },
2900
+ {
2901
+ "kind": "javascript-module",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2903
+ "declarations": [
2920
2904
  {
2921
- "kind": "js",
2922
- "name": "AIIndicatorState",
2923
- "declaration": {
2924
- "name": "AIIndicatorState",
2925
- "module": "./ai-indicator"
2926
- }
2927
- },
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2908
+ }
2909
+ ],
2910
+ "exports": [
2928
2911
  {
2929
2912
  "kind": "js",
2930
- "name": "foundationAiIndicatorTemplate",
2913
+ "name": "foundationAiCriteriaSearchStyles",
2931
2914
  "declaration": {
2932
- "name": "foundationAiIndicatorTemplate",
2933
- "module": "./ai-indicator.template"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2934
2917
  }
2935
- },
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "javascript-module",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2924
+ "declarations": [
2925
+ {
2926
+ "kind": "variable",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
2928
+ "type": {
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
2930
+ },
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2932
+ }
2933
+ ],
2934
+ "exports": [
2936
2935
  {
2937
2936
  "kind": "js",
2938
- "name": "foundationAiIndicatorStyles",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
2939
2938
  "declaration": {
2940
- "name": "foundationAiIndicatorStyles",
2941
- "module": "./ai-indicator.styles"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2942
2941
  }
2943
2942
  }
2944
2943
  ]
2945
2944
  },
2946
2945
  {
2947
2946
  "kind": "javascript-module",
2948
- "path": "src/_common/affix-mixin.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2949
2948
  "declarations": [
2950
2949
  {
2951
- "kind": "mixin",
2952
- "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.",
2953
- "name": "AffixMixin",
2950
+ "kind": "class",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
2954
2953
  "members": [
2955
2954
  {
2956
2955
  "kind": "field",
2957
- "name": "prefix",
2956
+ "name": "providerRegistry",
2957
+ "type": {
2958
+ "text": "AIProviderRegistry"
2959
+ }
2960
+ },
2961
+ {
2962
+ "kind": "field",
2963
+ "name": "placeholder",
2958
2964
  "type": {
2959
2965
  "text": "string"
2960
2966
  },
2961
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2967
+ "default": "'Describe your search criteria in natural language...'"
2962
2968
  },
2963
2969
  {
2964
2970
  "kind": "field",
2965
- "name": "suffix",
2971
+ "name": "disabled",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2966
2979
  "type": {
2967
2980
  "text": "string"
2968
2981
  },
2969
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2982
+ "default": "''"
2970
2983
  },
2971
2984
  {
2972
2985
  "kind": "field",
2973
- "name": "hideAffixFromScreenReader",
2986
+ "name": "isInterpreting",
2974
2987
  "type": {
2975
2988
  "text": "boolean"
2976
2989
  },
2977
- "default": "false",
2978
- "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."
2979
- }
2980
- ],
2981
- "parameters": [
2990
+ "default": "false"
2991
+ },
2982
2992
  {
2983
- "name": "Base",
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2984
2995
  "type": {
2985
- "text": "TBase"
2986
- }
2987
- }
2988
- ]
2989
- }
2990
- ],
2991
- "exports": [
2992
- {
2993
- "kind": "js",
2994
- "name": "AffixMixin",
2995
- "declaration": {
2996
- "name": "AffixMixin",
2997
- "module": "src/_common/affix-mixin.ts"
2998
- }
2999
- }
3000
- ]
3001
- },
3002
- {
3003
- "kind": "javascript-module",
3004
- "path": "src/_common/base-file-component.ts",
3005
- "declarations": [
3006
- {
3007
- "kind": "class",
3008
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3009
- "name": "BaseFileComponent",
3010
- "members": [
2996
+ "text": "string | null"
2997
+ },
2998
+ "default": "null"
2999
+ },
3011
3000
  {
3012
3001
  "kind": "field",
3013
- "name": "fileInput",
3002
+ "name": "activeGroups",
3014
3003
  "type": {
3015
- "text": "HTMLInputElement"
3004
+ "text": "CriteriaGroup[]"
3016
3005
  },
3017
- "privacy": "public"
3006
+ "default": "[]"
3018
3007
  },
3019
3008
  {
3020
3009
  "kind": "field",
3021
- "name": "selectedFile",
3010
+ "name": "showingChips",
3022
3011
  "type": {
3023
- "text": "File | null"
3012
+ "text": "boolean"
3024
3013
  },
3025
- "privacy": "protected",
3026
- "default": "null"
3014
+ "default": "false"
3027
3015
  },
3028
3016
  {
3029
3017
  "kind": "field",
3030
- "name": "label",
3018
+ "name": "fieldMetadata",
3031
3019
  "type": {
3032
- "text": "string"
3033
- }
3020
+ "text": "MetadataDetail[] | string[]"
3021
+ },
3022
+ "default": "[]"
3034
3023
  },
3035
3024
  {
3036
3025
  "kind": "field",
3037
- "name": "accept",
3026
+ "name": "isRecording",
3038
3027
  "type": {
3039
- "text": "string"
3028
+ "text": "boolean"
3040
3029
  },
3041
- "default": "''"
3030
+ "default": "false"
3042
3031
  },
3043
3032
  {
3044
3033
  "kind": "field",
3045
- "name": "fileSizeLimitBytes",
3046
- "default": "10_485_760",
3034
+ "name": "textAreaRef",
3047
3035
  "type": {
3048
- "text": "number"
3049
- }
3036
+ "text": "HTMLTextAreaElement"
3037
+ },
3038
+ "privacy": "public"
3050
3039
  },
3051
3040
  {
3052
3041
  "kind": "field",
3053
- "name": "fileName",
3042
+ "name": "stopRecording",
3054
3043
  "type": {
3055
- "text": "string"
3044
+ "text": "(() => void) | null"
3056
3045
  },
3057
- "default": "''"
3046
+ "privacy": "private",
3047
+ "default": "null"
3058
3048
  },
3059
3049
  {
3060
3050
  "kind": "field",
3061
- "name": "isProcessing",
3051
+ "name": "speechApplyDebounceTimer",
3052
+ "type": {
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3054
+ },
3055
+ "privacy": "private",
3056
+ "default": "null"
3057
+ },
3058
+ {
3059
+ "kind": "field",
3060
+ "name": "speechAvailable",
3062
3061
  "type": {
3063
3062
  "text": "boolean"
3064
3063
  },
3065
- "default": "false"
3064
+ "readonly": true
3066
3065
  },
3067
3066
  {
3068
- "kind": "method",
3069
- "name": "handleClick",
3070
- "privacy": "public",
3071
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3067
+ "kind": "field",
3068
+ "name": "criteriaChips",
3069
+ "type": {
3070
+ "text": "CriteriaChip[]"
3071
+ },
3072
+ "readonly": true
3072
3073
  },
3073
3074
  {
3074
3075
  "kind": "method",
3075
- "name": "onInputChange",
3076
- "privacy": "public",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3078
+ "return": {
3079
+ "type": {
3080
+ "text": "string"
3081
+ }
3082
+ },
3077
3083
  "parameters": [
3078
3084
  {
3079
- "name": "e",
3085
+ "name": "fieldName",
3080
3086
  "type": {
3081
- "text": "Event"
3082
- },
3083
- "description": "The change event from the file input"
3087
+ "text": "string"
3088
+ }
3084
3089
  }
3085
- ],
3086
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3087
- },
3088
- {
3089
- "kind": "method",
3090
- "name": "clearSelection",
3091
- "privacy": "public",
3092
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3090
+ ]
3093
3091
  },
3094
3092
  {
3095
3093
  "kind": "method",
3096
- "name": "getSelectedFile",
3097
- "privacy": "public",
3098
- "description": "Gets the currently selected file object",
3094
+ "name": "toggleCriteriaView",
3099
3095
  "return": {
3100
3096
  "type": {
3101
- "text": ""
3097
+ "text": "void"
3102
3098
  }
3103
3099
  }
3104
3100
  },
3105
3101
  {
3106
3102
  "kind": "method",
3107
- "name": "showError",
3108
- "privacy": "protected",
3103
+ "name": "removeChip",
3104
+ "return": {
3105
+ "type": {
3106
+ "text": "void"
3107
+ }
3108
+ },
3109
3109
  "parameters": [
3110
3110
  {
3111
- "name": "title",
3111
+ "name": "groupIndex",
3112
3112
  "type": {
3113
- "text": "string"
3114
- },
3115
- "description": "The error title"
3113
+ "text": "number"
3114
+ }
3116
3115
  },
3117
3116
  {
3118
- "name": "message",
3117
+ "name": "clauseIndex",
3119
3118
  "type": {
3120
- "text": "string"
3121
- },
3122
- "description": "The error message"
3119
+ "text": "number"
3120
+ }
3123
3121
  }
3124
- ],
3125
- "description": "Shows an error notification using the unified error handling system"
3122
+ ]
3126
3123
  },
3127
3124
  {
3128
3125
  "kind": "method",
3129
- "name": "onFileSelected",
3130
- "privacy": "protected",
3126
+ "name": "clearChips",
3131
3127
  "return": {
3132
3128
  "type": {
3133
3129
  "text": "void"
3134
3130
  }
3135
- },
3136
- "parameters": [
3137
- {
3138
- "name": "files",
3139
- "type": {
3140
- "text": "File[]"
3141
- },
3142
- "description": "The selected file"
3143
- }
3144
- ],
3145
- "description": "Abstract method called when a file is selected"
3131
+ }
3132
+ },
3133
+ {
3134
+ "kind": "method",
3135
+ "name": "handleSubmit"
3136
+ },
3137
+ {
3138
+ "kind": "method",
3139
+ "name": "handleBlur"
3140
+ },
3141
+ {
3142
+ "kind": "method",
3143
+ "name": "clear"
3146
3144
  },
3147
3145
  {
3148
3146
  "kind": "method",
3149
- "name": "onFileCleared",
3150
- "privacy": "protected",
3151
- "return": {
3152
- "type": {
3153
- "text": "void"
3154
- }
3155
- },
3156
- "description": "Abstract method called when file selection is cleared"
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3157
3153
  },
3158
3154
  {
3159
3155
  "kind": "field",
@@ -3269,157 +3265,152 @@
3269
3265
  ],
3270
3266
  "events": [
3271
3267
  {
3272
- "description": "Fired when file size validation fails",
3273
- "name": "error"
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3274
3270
  },
3275
3271
  {
3276
- "description": "Fired when selection is cleared",
3277
- "name": "clear"
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3278
3274
  }
3279
3275
  ],
3280
3276
  "attributes": [
3281
3277
  {
3282
- "name": "label",
3278
+ "name": "placeholder",
3283
3279
  "type": {
3284
3280
  "text": "string"
3285
3281
  },
3286
- "fieldName": "label"
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3287
3284
  },
3288
3285
  {
3289
- "name": "accept",
3290
3286
  "type": {
3291
- "text": "string"
3292
- },
3293
- "default": "''",
3294
- "fieldName": "accept"
3295
- },
3296
- {
3297
- "name": "file-size-limit-bytes",
3298
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3299
- "resolveInitializer": {
3300
- "module": "src/_common/base-file-component.ts"
3287
+ "text": "boolean"
3301
3288
  },
3302
- "fieldName": "fileSizeLimitBytes"
3289
+ "fieldName": "disabled"
3303
3290
  }
3304
3291
  ],
3305
3292
  "superclass": {
3306
3293
  "name": "FoundationElement",
3307
3294
  "package": "@microsoft/fast-foundation"
3308
- }
3295
+ },
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3297
+ "customElement": true
3298
+ },
3299
+ {
3300
+ "kind": "variable",
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3309
3318
  }
3310
3319
  ],
3311
3320
  "exports": [
3312
3321
  {
3313
3322
  "kind": "js",
3314
- "name": "BaseFileComponent",
3323
+ "name": "AiCriteriaSearch",
3315
3324
  "declaration": {
3316
- "name": "BaseFileComponent",
3317
- "module": "src/_common/base-file-component.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3318
3327
  }
3319
- }
3320
- ]
3321
- },
3322
- {
3323
- "kind": "javascript-module",
3324
- "path": "src/_common/field-styles.ts",
3325
- "declarations": [
3326
- {
3327
- "kind": "variable",
3328
- "name": "sharedFieldStyles",
3329
- "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`"
3330
- }
3331
- ],
3332
- "exports": [
3328
+ },
3333
3329
  {
3334
3330
  "kind": "js",
3335
- "name": "sharedFieldStyles",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3336
3332
  "declaration": {
3337
- "name": "sharedFieldStyles",
3338
- "module": "src/_common/field-styles.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3339
3335
  }
3340
- }
3341
- ]
3342
- },
3343
- {
3344
- "kind": "javascript-module",
3345
- "path": "src/_common/icons.ts",
3346
- "declarations": [
3336
+ },
3347
3337
  {
3348
- "kind": "function",
3349
- "name": "closeIcon",
3350
- "parameters": [
3351
- {
3352
- "name": "slot",
3353
- "default": "'start'"
3354
- },
3355
- {
3356
- "name": "fill",
3357
- "default": "'#879ba6'"
3358
- }
3359
- ]
3360
- }
3361
- ],
3362
- "exports": [
3338
+ "kind": "js",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3340
+ "declaration": {
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ }
3344
+ },
3363
3345
  {
3364
3346
  "kind": "js",
3365
- "name": "closeIcon",
3347
+ "name": "foundationAiCriteriaSearch",
3366
3348
  "declaration": {
3367
- "name": "closeIcon",
3368
- "module": "src/_common/icons.ts"
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3369
3351
  }
3370
3352
  }
3371
3353
  ]
3372
3354
  },
3373
3355
  {
3374
3356
  "kind": "javascript-module",
3375
- "path": "src/_common/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3376
3358
  "declarations": [],
3377
3359
  "exports": [
3378
3360
  {
3379
3361
  "kind": "js",
3380
- "name": "*",
3362
+ "name": "AiCriteriaSearch",
3381
3363
  "declaration": {
3382
- "name": "*",
3383
- "package": "./affix-mixin"
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3384
3366
  }
3385
3367
  },
3386
3368
  {
3387
3369
  "kind": "js",
3388
- "name": "*",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3389
3371
  "declaration": {
3390
- "name": "*",
3391
- "package": "./base-file-component"
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3392
3374
  }
3393
3375
  },
3394
3376
  {
3395
3377
  "kind": "js",
3396
- "name": "*",
3378
+ "name": "foundationAiCriteriaSearch",
3397
3379
  "declaration": {
3398
- "name": "*",
3399
- "package": "./field-styles"
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3400
3382
  }
3401
3383
  },
3402
3384
  {
3403
3385
  "kind": "js",
3404
- "name": "*",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3405
3387
  "declaration": {
3406
- "name": "*",
3407
- "package": "./icons"
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3408
3390
  }
3409
- }
3410
- ]
3411
- },
3412
- {
3413
- "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
3415
- "declarations": [],
3416
- "exports": [
3391
+ },
3392
+ {
3393
+ "kind": "js",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3395
+ "declaration": {
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "js",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3403
+ "declaration": {
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3417
3408
  {
3418
3409
  "kind": "js",
3419
3410
  "name": "*",
3420
3411
  "declaration": {
3421
3412
  "name": "*",
3422
- "package": "./styles"
3413
+ "package": "./validation/criteria-ir"
3423
3414
  }
3424
3415
  },
3425
3416
  {
@@ -3427,7 +3418,7 @@
3427
3418
  "name": "*",
3428
3419
  "declaration": {
3429
3420
  "name": "*",
3430
- "package": "./tokens"
3421
+ "package": "./validation/operator-map"
3431
3422
  }
3432
3423
  },
3433
3424
  {
@@ -3435,60 +3426,96 @@
3435
3426
  "name": "*",
3436
3427
  "declaration": {
3437
3428
  "name": "*",
3438
- "package": "./values"
3429
+ "package": "./validation/schema-validator"
3439
3430
  }
3440
3431
  }
3441
3432
  ]
3442
3433
  },
3443
3434
  {
3444
3435
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3446
3437
  "declarations": [
3447
3438
  {
3448
3439
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3440
+ "name": "formatValidationErrors",
3450
3441
  "return": {
3451
3442
  "type": {
3452
- "text": "ElementStyles"
3443
+ "text": "string"
3453
3444
  }
3454
3445
  },
3455
3446
  "parameters": [
3456
3447
  {
3457
- "name": "context",
3448
+ "name": "errors",
3458
3449
  "type": {
3459
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3460
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3471
  },
3462
3472
  {
3463
- "name": "definition",
3473
+ "name": "body",
3464
3474
  "type": {
3465
- "text": "FoundationElementDefinition"
3466
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3467
3485
  }
3468
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3469
3488
  }
3470
3489
  ],
3471
3490
  "exports": [
3472
3491
  {
3473
3492
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3493
+ "name": "formatValidationErrors",
3475
3494
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3478
3505
  }
3479
3506
  }
3480
3507
  ]
3481
3508
  },
3482
3509
  {
3483
3510
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3485
3512
  "declarations": [
3486
3513
  {
3487
3514
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3489
3516
  "return": {
3490
3517
  "type": {
3491
- "text": "ViewTemplate<Accordion>"
3518
+ "text": "ElementStyles"
3492
3519
  }
3493
3520
  },
3494
3521
  "parameters": [
@@ -3510,237 +3537,224 @@
3510
3537
  "exports": [
3511
3538
  {
3512
3539
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3514
3541
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3517
3544
  }
3518
3545
  }
3519
3546
  ]
3520
3547
  },
3521
3548
  {
3522
3549
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3524
3575
  "declarations": [
3525
3576
  {
3526
3577
  "kind": "class",
3527
3578
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3536
3581
  {
3537
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3538
3584
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProviderRegistry"
3546
3586
  }
3547
- }
3548
- ],
3549
- "members": [
3587
+ },
3550
3588
  {
3551
3589
  "kind": "field",
3552
- "name": "expandmode",
3590
+ "name": "aiProvider",
3553
3591
  "type": {
3554
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3555
3593
  },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3561
- }
3594
+ "privacy": "private",
3595
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
+ "readonly": true
3562
3597
  },
3563
3598
  {
3564
3599
  "kind": "field",
3565
- "name": "activeid",
3600
+ "name": "status",
3566
3601
  "type": {
3567
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3568
3603
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3604
+ "default": "null"
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "field",
3577
- "name": "activeItemIndex",
3608
+ "name": "open",
3578
3609
  "type": {
3579
- "text": "number"
3610
+ "text": "boolean"
3580
3611
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3612
+ "default": "false"
3587
3613
  },
3588
3614
  {
3589
3615
  "kind": "field",
3590
- "name": "accordionIds",
3616
+ "name": "state",
3591
3617
  "type": {
3592
- "text": "Array<string | null>"
3618
+ "text": "AIIndicatorState"
3593
3619
  },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3598
- }
3620
+ "default": "'none'"
3599
3621
  },
3600
3622
  {
3601
3623
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3607
- }
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3608
3629
  },
3609
3630
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3612
3636
  "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3637
+ "default": "null"
3638
+ },
3639
+ {
3640
+ "kind": "field",
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3617
3649
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3650
+ "readonly": true
3622
3651
  },
3623
3652
  {
3624
3653
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3630
- }
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3631
3667
  },
3632
3668
  {
3633
3669
  "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3670
+ "name": "openChanged",
3636
3671
  "return": {
3637
3672
  "type": {
3638
3673
  "text": "void"
3639
3674
  }
3640
- },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
3675
  }
3645
3676
  },
3646
3677
  {
3647
- "kind": "field",
3648
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3649
3680
  "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3653
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3654
3689
  },
3655
3690
  {
3656
- "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3663
3693
  },
3664
3694
  {
3665
3695
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3696
+ "name": "refreshStatus",
3668
3697
  "return": {
3669
3698
  "type": {
3670
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3671
3700
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3701
  }
3677
3702
  },
3678
3703
  {
3679
3704
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3681
3706
  "privacy": "private",
3682
3707
  "return": {
3683
3708
  "type": {
3684
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3685
3710
  }
3686
3711
  },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3691
3720
  },
3692
3721
  {
3693
- "kind": "field",
3694
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3695
3724
  "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3699
3729
  }
3700
3730
  },
3701
3731
  {
3702
- "kind": "field",
3703
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3704
3734
  "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3708
3739
  }
3709
3740
  },
3710
3741
  {
3711
3742
  "kind": "method",
3712
- "name": "adjust",
3743
+ "name": "stopPolling",
3713
3744
  "privacy": "private",
3714
3745
  "return": {
3715
3746
  "type": {
3716
3747
  "text": "void"
3717
3748
  }
3718
- },
3719
- "parameters": [
3720
- {
3721
- "name": "adjustment",
3722
- "type": {
3723
- "text": "number"
3724
- }
3725
- }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
3749
  }
3731
3750
  },
3732
3751
  {
3733
3752
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3753
+ "name": "onInstall",
3736
3754
  "return": {
3737
3755
  "type": {
3738
- "text": "void"
3756
+ "text": "Promise<void>"
3739
3757
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
@@ -3855,102 +3869,88 @@
3855
3869
  }
3856
3870
  }
3857
3871
  ],
3858
- "events": [
3859
- {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3866
- }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3882
3875
  },
3883
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3884
3878
  },
3885
3879
  {
3886
3880
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3889
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3890
3882
  }
3891
3883
  ],
3892
3884
  "exports": [
3893
3885
  {
3894
3886
  "kind": "js",
3895
- "name": "Accordion",
3887
+ "name": "AiIndicator",
3896
3888
  "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3891
  }
3900
3892
  },
3901
3893
  {
3902
3894
  "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3895
+ "name": "foundationAiIndicator",
3904
3896
  "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "defaultAccordionConfig",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "foundationAccordion",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3930
- "declarations": [],
3931
- "exports": [
3931
+ },
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "*",
3934
+ "name": "AIIndicatorState",
3935
3935
  "declaration": {
3936
- "name": "*",
3937
- "package": "./accordion.template"
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "*",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
3943
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.styles"
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "*",
3950
+ "name": "foundationAiIndicatorStyles",
3951
3951
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -33889,6 +33889,16 @@
33889
33889
  "kind": "method",
33890
33890
  "name": "hasSeparatorWithoutDecimals"
33891
33891
  },
33892
+ {
33893
+ "kind": "method",
33894
+ "name": "restoreControlToCommittedValue",
33895
+ "privacy": "private",
33896
+ "return": {
33897
+ "type": {
33898
+ "text": "void"
33899
+ }
33900
+ }
33901
+ },
33892
33902
  {
33893
33903
  "kind": "method",
33894
33904
  "name": "handleTextInput",
@@ -34301,12 +34311,16 @@
34301
34311
  }
34302
34312
  },
34303
34313
  {
34304
- "name": "value",
34305
34314
  "type": {
34306
- "text": "string"
34315
+ "text": "number"
34307
34316
  },
34308
- "default": "''",
34309
- "fieldName": "value"
34317
+ "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
34318
+ "fieldName": "hideStep",
34319
+ "default": "false",
34320
+ "inheritedFrom": {
34321
+ "name": "NumberField",
34322
+ "module": "src/number-field/number-field.ts"
34323
+ }
34310
34324
  },
34311
34325
  {
34312
34326
  "type": {
@@ -34499,6 +34513,143 @@
34499
34513
  }
34500
34514
  ]
34501
34515
  },
34516
+ {
34517
+ "kind": "function",
34518
+ "name": "normalizeLocaleNumberString",
34519
+ "return": {
34520
+ "type": {
34521
+ "text": "string"
34522
+ }
34523
+ },
34524
+ "parameters": [
34525
+ {
34526
+ "name": "inputVal",
34527
+ "type": {
34528
+ "text": "string"
34529
+ }
34530
+ },
34531
+ {
34532
+ "name": "locale",
34533
+ "type": {
34534
+ "text": "string"
34535
+ }
34536
+ }
34537
+ ],
34538
+ "description": "Strips locale grouping and normalizes the decimal separator to `.` without using `Number`\n(so integers beyond `Number.MAX_SAFE_INTEGER` keep every digit)."
34539
+ },
34540
+ {
34541
+ "kind": "function",
34542
+ "name": "countLocaleDecimalSeparators",
34543
+ "return": {
34544
+ "type": {
34545
+ "text": "number"
34546
+ }
34547
+ },
34548
+ "parameters": [
34549
+ {
34550
+ "name": "input",
34551
+ "type": {
34552
+ "text": "string"
34553
+ }
34554
+ },
34555
+ {
34556
+ "name": "locale",
34557
+ "type": {
34558
+ "text": "string"
34559
+ }
34560
+ }
34561
+ ],
34562
+ "description": "Counts locale decimal separator characters in the raw control text (ignores grouping)."
34563
+ },
34564
+ {
34565
+ "kind": "function",
34566
+ "name": "hasMultipleDecimalSeparators",
34567
+ "return": {
34568
+ "type": {
34569
+ "text": "boolean"
34570
+ }
34571
+ },
34572
+ "parameters": [
34573
+ {
34574
+ "name": "input",
34575
+ "type": {
34576
+ "text": "string"
34577
+ }
34578
+ },
34579
+ {
34580
+ "name": "locale",
34581
+ "type": {
34582
+ "text": "string"
34583
+ }
34584
+ }
34585
+ ]
34586
+ },
34587
+ {
34588
+ "kind": "function",
34589
+ "name": "isIntegerAtMaximumInputPrecision",
34590
+ "return": {
34591
+ "type": {
34592
+ "text": "boolean"
34593
+ }
34594
+ },
34595
+ "parameters": [
34596
+ {
34597
+ "name": "value",
34598
+ "type": {
34599
+ "text": "string"
34600
+ }
34601
+ },
34602
+ {
34603
+ "name": "locale",
34604
+ "type": {
34605
+ "text": "string"
34606
+ }
34607
+ },
34608
+ {
34609
+ "name": "precision",
34610
+ "type": {
34611
+ "text": "number"
34612
+ }
34613
+ }
34614
+ ],
34615
+ "description": "True when the committed value is a whole number already using the full significant-digit budget."
34616
+ },
34617
+ {
34618
+ "kind": "function",
34619
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
34620
+ "return": {
34621
+ "type": {
34622
+ "text": "boolean"
34623
+ }
34624
+ },
34625
+ "parameters": [
34626
+ {
34627
+ "name": "committedValue",
34628
+ "type": {
34629
+ "text": "string"
34630
+ }
34631
+ },
34632
+ {
34633
+ "name": "controlText",
34634
+ "type": {
34635
+ "text": "string"
34636
+ }
34637
+ },
34638
+ {
34639
+ "name": "locale",
34640
+ "type": {
34641
+ "text": "string"
34642
+ }
34643
+ },
34644
+ {
34645
+ "name": "precision",
34646
+ "type": {
34647
+ "text": "number"
34648
+ }
34649
+ }
34650
+ ],
34651
+ "description": "User typed a decimal separator while the integer part is already at max precision."
34652
+ },
34502
34653
  {
34503
34654
  "kind": "function",
34504
34655
  "name": "formatControlValue",
@@ -34695,6 +34846,13 @@
34695
34846
  "type": {
34696
34847
  "text": "number"
34697
34848
  }
34849
+ },
34850
+ {
34851
+ "name": "committedValue",
34852
+ "optional": true,
34853
+ "type": {
34854
+ "text": "string"
34855
+ }
34698
34856
  }
34699
34857
  ]
34700
34858
  },
@@ -34877,6 +35035,46 @@
34877
35035
  "module": "src/number-field/utils.ts"
34878
35036
  }
34879
35037
  },
35038
+ {
35039
+ "kind": "js",
35040
+ "name": "normalizeLocaleNumberString",
35041
+ "declaration": {
35042
+ "name": "normalizeLocaleNumberString",
35043
+ "module": "src/number-field/utils.ts"
35044
+ }
35045
+ },
35046
+ {
35047
+ "kind": "js",
35048
+ "name": "countLocaleDecimalSeparators",
35049
+ "declaration": {
35050
+ "name": "countLocaleDecimalSeparators",
35051
+ "module": "src/number-field/utils.ts"
35052
+ }
35053
+ },
35054
+ {
35055
+ "kind": "js",
35056
+ "name": "hasMultipleDecimalSeparators",
35057
+ "declaration": {
35058
+ "name": "hasMultipleDecimalSeparators",
35059
+ "module": "src/number-field/utils.ts"
35060
+ }
35061
+ },
35062
+ {
35063
+ "kind": "js",
35064
+ "name": "isIntegerAtMaximumInputPrecision",
35065
+ "declaration": {
35066
+ "name": "isIntegerAtMaximumInputPrecision",
35067
+ "module": "src/number-field/utils.ts"
35068
+ }
35069
+ },
35070
+ {
35071
+ "kind": "js",
35072
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35073
+ "declaration": {
35074
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35075
+ "module": "src/number-field/utils.ts"
35076
+ }
35077
+ },
34880
35078
  {
34881
35079
  "kind": "js",
34882
35080
  "name": "formatControlValue",
@@ -48268,7 +48466,7 @@
48268
48466
  {
48269
48467
  "kind": "variable",
48270
48468
  "name": "statusPillStyles",
48271
- "default": "css`\n .status-pill {\n font-size: var(--ag-data-font-size);\n display: inline-flex;\n align-items: center;\n gap: 5px;\n border-radius: 4px;\n height: 20px;\n background: grey;\n color: var(--neutral-foreground-rest);\n padding: 2px 8px;\n line-height: 1;\n }\n\n .status-pill.lg {\n height: 32px;\n border-radius: 16px;\n padding: 2px 12px;\n }\n\n .status-pill-initial {\n height: 14px;\n width: 14px;\n border-radius: 7px;\n font-weight: bold;\n font-size: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .status-pill-image {\n height: 14px;\n }\n`"
48469
+ "default": "css`\n .status-pill {\n font-size: var(--ag-data-font-size);\n display: inline-flex;\n align-items: center;\n gap: 5px;\n border-radius: 30px;\n height: 16px;\n background: grey;\n color: var(--neutral-foreground-rest);\n padding: 2px 8px;\n line-height: 1;\n font-weight: 500;\n }\n\n .status-pill.lg {\n height: 32px;\n border-radius: 16px;\n padding: 2px 12px;\n }\n\n .status-pill-initial {\n height: 14px;\n width: 14px;\n border-radius: 7px;\n font-weight: bold;\n font-size: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .status-pill-image {\n height: 14px;\n }\n`"
48272
48470
  }
48273
48471
  ],
48274
48472
  "exports": [
@@ -57711,197 +57909,6 @@
57711
57909
  }
57712
57910
  ]
57713
57911
  },
57714
- {
57715
- "kind": "javascript-module",
57716
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
- "declarations": [],
57718
- "exports": []
57719
- },
57720
- {
57721
- "kind": "javascript-module",
57722
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
- "declarations": [
57724
- {
57725
- "kind": "function",
57726
- "name": "groupsToCriteria",
57727
- "return": {
57728
- "type": {
57729
- "text": "string"
57730
- }
57731
- },
57732
- "parameters": [
57733
- {
57734
- "name": "groups",
57735
- "type": {
57736
- "text": "CriteriaGroup[]"
57737
- }
57738
- }
57739
- ],
57740
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57741
- },
57742
- {
57743
- "kind": "variable",
57744
- "name": "STRING_OPERATORS",
57745
- "type": {
57746
- "text": "CriteriaOperator[]"
57747
- },
57748
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
- },
57750
- {
57751
- "kind": "variable",
57752
- "name": "NUMERIC_OPERATORS",
57753
- "type": {
57754
- "text": "CriteriaOperator[]"
57755
- },
57756
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
- },
57758
- {
57759
- "kind": "variable",
57760
- "name": "DATE_OPERATORS",
57761
- "type": {
57762
- "text": "CriteriaOperator[]"
57763
- },
57764
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
- },
57766
- {
57767
- "kind": "variable",
57768
- "name": "DATETIME_OPERATORS",
57769
- "type": {
57770
- "text": "CriteriaOperator[]"
57771
- },
57772
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
- },
57774
- {
57775
- "kind": "variable",
57776
- "name": "OPERATOR_DISPLAY_LABEL",
57777
- "type": {
57778
- "text": "Record<CriteriaOperator, string>"
57779
- },
57780
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57781
- }
57782
- ],
57783
- "exports": [
57784
- {
57785
- "kind": "js",
57786
- "name": "groupsToCriteria",
57787
- "declaration": {
57788
- "name": "groupsToCriteria",
57789
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
- }
57791
- },
57792
- {
57793
- "kind": "js",
57794
- "name": "STRING_OPERATORS",
57795
- "declaration": {
57796
- "name": "STRING_OPERATORS",
57797
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
- }
57799
- },
57800
- {
57801
- "kind": "js",
57802
- "name": "NUMERIC_OPERATORS",
57803
- "declaration": {
57804
- "name": "NUMERIC_OPERATORS",
57805
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
- }
57807
- },
57808
- {
57809
- "kind": "js",
57810
- "name": "DATE_OPERATORS",
57811
- "declaration": {
57812
- "name": "DATE_OPERATORS",
57813
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
- }
57815
- },
57816
- {
57817
- "kind": "js",
57818
- "name": "DATETIME_OPERATORS",
57819
- "declaration": {
57820
- "name": "DATETIME_OPERATORS",
57821
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
- }
57823
- },
57824
- {
57825
- "kind": "js",
57826
- "name": "OPERATOR_DISPLAY_LABEL",
57827
- "declaration": {
57828
- "name": "OPERATOR_DISPLAY_LABEL",
57829
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
- }
57831
- }
57832
- ]
57833
- },
57834
- {
57835
- "kind": "javascript-module",
57836
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
- "declarations": [
57838
- {
57839
- "kind": "function",
57840
- "name": "validateClauses",
57841
- "return": {
57842
- "type": {
57843
- "text": "ValidationResult"
57844
- }
57845
- },
57846
- "parameters": [
57847
- {
57848
- "name": "clauses",
57849
- "type": {
57850
- "text": "CriteriaClause[]"
57851
- }
57852
- },
57853
- {
57854
- "name": "fieldMetadata",
57855
- "type": {
57856
- "text": "MetadataDetail[] | string[]"
57857
- }
57858
- }
57859
- ]
57860
- },
57861
- {
57862
- "kind": "function",
57863
- "name": "validateGroups",
57864
- "return": {
57865
- "type": {
57866
- "text": "GroupsValidationResult"
57867
- }
57868
- },
57869
- "parameters": [
57870
- {
57871
- "name": "groups",
57872
- "type": {
57873
- "text": "CriteriaGroup[]"
57874
- }
57875
- },
57876
- {
57877
- "name": "fieldMetadata",
57878
- "type": {
57879
- "text": "MetadataDetail[] | string[]"
57880
- }
57881
- }
57882
- ],
57883
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
- }
57885
- ],
57886
- "exports": [
57887
- {
57888
- "kind": "js",
57889
- "name": "validateClauses",
57890
- "declaration": {
57891
- "name": "validateClauses",
57892
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
- }
57894
- },
57895
- {
57896
- "kind": "js",
57897
- "name": "validateGroups",
57898
- "declaration": {
57899
- "name": "validateGroups",
57900
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
- }
57902
- }
57903
- ]
57904
- },
57905
57912
  {
57906
57913
  "kind": "javascript-module",
57907
57914
  "path": "src/_config/styles/colors.ts",
@@ -59274,6 +59281,197 @@
59274
59281
  "declarations": [],
59275
59282
  "exports": []
59276
59283
  },
59284
+ {
59285
+ "kind": "javascript-module",
59286
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59287
+ "declarations": [],
59288
+ "exports": []
59289
+ },
59290
+ {
59291
+ "kind": "javascript-module",
59292
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59293
+ "declarations": [
59294
+ {
59295
+ "kind": "function",
59296
+ "name": "groupsToCriteria",
59297
+ "return": {
59298
+ "type": {
59299
+ "text": "string"
59300
+ }
59301
+ },
59302
+ "parameters": [
59303
+ {
59304
+ "name": "groups",
59305
+ "type": {
59306
+ "text": "CriteriaGroup[]"
59307
+ }
59308
+ }
59309
+ ],
59310
+ "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."
59311
+ },
59312
+ {
59313
+ "kind": "variable",
59314
+ "name": "STRING_OPERATORS",
59315
+ "type": {
59316
+ "text": "CriteriaOperator[]"
59317
+ },
59318
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59319
+ },
59320
+ {
59321
+ "kind": "variable",
59322
+ "name": "NUMERIC_OPERATORS",
59323
+ "type": {
59324
+ "text": "CriteriaOperator[]"
59325
+ },
59326
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59327
+ },
59328
+ {
59329
+ "kind": "variable",
59330
+ "name": "DATE_OPERATORS",
59331
+ "type": {
59332
+ "text": "CriteriaOperator[]"
59333
+ },
59334
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59335
+ },
59336
+ {
59337
+ "kind": "variable",
59338
+ "name": "DATETIME_OPERATORS",
59339
+ "type": {
59340
+ "text": "CriteriaOperator[]"
59341
+ },
59342
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59343
+ },
59344
+ {
59345
+ "kind": "variable",
59346
+ "name": "OPERATOR_DISPLAY_LABEL",
59347
+ "type": {
59348
+ "text": "Record<CriteriaOperator, string>"
59349
+ },
59350
+ "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}"
59351
+ }
59352
+ ],
59353
+ "exports": [
59354
+ {
59355
+ "kind": "js",
59356
+ "name": "groupsToCriteria",
59357
+ "declaration": {
59358
+ "name": "groupsToCriteria",
59359
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59360
+ }
59361
+ },
59362
+ {
59363
+ "kind": "js",
59364
+ "name": "STRING_OPERATORS",
59365
+ "declaration": {
59366
+ "name": "STRING_OPERATORS",
59367
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59368
+ }
59369
+ },
59370
+ {
59371
+ "kind": "js",
59372
+ "name": "NUMERIC_OPERATORS",
59373
+ "declaration": {
59374
+ "name": "NUMERIC_OPERATORS",
59375
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59376
+ }
59377
+ },
59378
+ {
59379
+ "kind": "js",
59380
+ "name": "DATE_OPERATORS",
59381
+ "declaration": {
59382
+ "name": "DATE_OPERATORS",
59383
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59384
+ }
59385
+ },
59386
+ {
59387
+ "kind": "js",
59388
+ "name": "DATETIME_OPERATORS",
59389
+ "declaration": {
59390
+ "name": "DATETIME_OPERATORS",
59391
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59392
+ }
59393
+ },
59394
+ {
59395
+ "kind": "js",
59396
+ "name": "OPERATOR_DISPLAY_LABEL",
59397
+ "declaration": {
59398
+ "name": "OPERATOR_DISPLAY_LABEL",
59399
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59400
+ }
59401
+ }
59402
+ ]
59403
+ },
59404
+ {
59405
+ "kind": "javascript-module",
59406
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59407
+ "declarations": [
59408
+ {
59409
+ "kind": "function",
59410
+ "name": "validateClauses",
59411
+ "return": {
59412
+ "type": {
59413
+ "text": "ValidationResult"
59414
+ }
59415
+ },
59416
+ "parameters": [
59417
+ {
59418
+ "name": "clauses",
59419
+ "type": {
59420
+ "text": "CriteriaClause[]"
59421
+ }
59422
+ },
59423
+ {
59424
+ "name": "fieldMetadata",
59425
+ "type": {
59426
+ "text": "MetadataDetail[] | string[]"
59427
+ }
59428
+ }
59429
+ ]
59430
+ },
59431
+ {
59432
+ "kind": "function",
59433
+ "name": "validateGroups",
59434
+ "return": {
59435
+ "type": {
59436
+ "text": "GroupsValidationResult"
59437
+ }
59438
+ },
59439
+ "parameters": [
59440
+ {
59441
+ "name": "groups",
59442
+ "type": {
59443
+ "text": "CriteriaGroup[]"
59444
+ }
59445
+ },
59446
+ {
59447
+ "name": "fieldMetadata",
59448
+ "type": {
59449
+ "text": "MetadataDetail[] | string[]"
59450
+ }
59451
+ }
59452
+ ],
59453
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59454
+ }
59455
+ ],
59456
+ "exports": [
59457
+ {
59458
+ "kind": "js",
59459
+ "name": "validateClauses",
59460
+ "declaration": {
59461
+ "name": "validateClauses",
59462
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59463
+ }
59464
+ },
59465
+ {
59466
+ "kind": "js",
59467
+ "name": "validateGroups",
59468
+ "declaration": {
59469
+ "name": "validateGroups",
59470
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59471
+ }
59472
+ }
59473
+ ]
59474
+ },
59277
59475
  {
59278
59476
  "kind": "javascript-module",
59279
59477
  "path": "src/environment-indicator/utils/configure.ts",