@genesislcap/foundation-ui 15.22.1 → 15.23.0

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