@genesislcap/foundation-ui 14.409.0-FUI-2495.10 → 14.409.0-FUI-2495.11

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1281 -1281
  2. package/package.json +19 -19
@@ -926,552 +926,748 @@
926
926
  },
927
927
  {
928
928
  "kind": "javascript-module",
929
- "path": "src/_common/base-file-component.ts",
929
+ "path": "src/_config/index.ts",
930
+ "declarations": [],
931
+ "exports": [
932
+ {
933
+ "kind": "js",
934
+ "name": "*",
935
+ "declaration": {
936
+ "name": "*",
937
+ "package": "./styles"
938
+ }
939
+ },
940
+ {
941
+ "kind": "js",
942
+ "name": "*",
943
+ "declaration": {
944
+ "name": "*",
945
+ "package": "./tokens"
946
+ }
947
+ },
948
+ {
949
+ "kind": "js",
950
+ "name": "*",
951
+ "declaration": {
952
+ "name": "*",
953
+ "package": "./values"
954
+ }
955
+ }
956
+ ]
957
+ },
958
+ {
959
+ "kind": "javascript-module",
960
+ "path": "src/accordion/accordion.styles.ts",
961
+ "declarations": [
962
+ {
963
+ "kind": "function",
964
+ "name": "foundationAccordionStyles",
965
+ "return": {
966
+ "type": {
967
+ "text": "ElementStyles"
968
+ }
969
+ },
970
+ "parameters": [
971
+ {
972
+ "name": "context",
973
+ "type": {
974
+ "text": "ElementDefinitionContext"
975
+ }
976
+ },
977
+ {
978
+ "name": "definition",
979
+ "type": {
980
+ "text": "FoundationElementDefinition"
981
+ }
982
+ }
983
+ ]
984
+ }
985
+ ],
986
+ "exports": [
987
+ {
988
+ "kind": "js",
989
+ "name": "foundationAccordionStyles",
990
+ "declaration": {
991
+ "name": "foundationAccordionStyles",
992
+ "module": "src/accordion/accordion.styles.ts"
993
+ }
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "kind": "javascript-module",
999
+ "path": "src/accordion/accordion.template.ts",
1000
+ "declarations": [
1001
+ {
1002
+ "kind": "function",
1003
+ "name": "foundationAccordionTemplate",
1004
+ "return": {
1005
+ "type": {
1006
+ "text": "ViewTemplate<Accordion>"
1007
+ }
1008
+ },
1009
+ "parameters": [
1010
+ {
1011
+ "name": "context",
1012
+ "type": {
1013
+ "text": "ElementDefinitionContext"
1014
+ }
1015
+ },
1016
+ {
1017
+ "name": "definition",
1018
+ "type": {
1019
+ "text": "FoundationElementDefinition"
1020
+ }
1021
+ }
1022
+ ]
1023
+ }
1024
+ ],
1025
+ "exports": [
1026
+ {
1027
+ "kind": "js",
1028
+ "name": "foundationAccordionTemplate",
1029
+ "declaration": {
1030
+ "name": "foundationAccordionTemplate",
1031
+ "module": "src/accordion/accordion.template.ts"
1032
+ }
1033
+ }
1034
+ ]
1035
+ },
1036
+ {
1037
+ "kind": "javascript-module",
1038
+ "path": "src/accordion/accordion.ts",
1039
+ "declarations": [
1040
+ {
1041
+ "kind": "class",
1042
+ "description": "",
1043
+ "name": "Accordion",
1044
+ "superclass": {
1045
+ "name": "FASTAccordion",
1046
+ "package": "@microsoft/fast-foundation"
1047
+ },
1048
+ "tagName": "%%prefix%%-accordion",
1049
+ "customElement": true
1050
+ },
1051
+ {
1052
+ "kind": "variable",
1053
+ "name": "foundationAccordionShadowOptions",
1054
+ "type": {
1055
+ "text": "ShadowRootInit"
1056
+ },
1057
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1058
+ },
1059
+ {
1060
+ "kind": "variable",
1061
+ "name": "defaultAccordionConfig",
1062
+ "type": {
1063
+ "text": "object"
1064
+ },
1065
+ "default": "{}"
1066
+ },
1067
+ {
1068
+ "kind": "variable",
1069
+ "name": "foundationAccordion",
1070
+ "description": "The Foundation Accordion",
1071
+ "privacy": "public"
1072
+ }
1073
+ ],
1074
+ "exports": [
1075
+ {
1076
+ "kind": "js",
1077
+ "name": "Accordion",
1078
+ "declaration": {
1079
+ "name": "Accordion",
1080
+ "module": "src/accordion/accordion.ts"
1081
+ }
1082
+ },
1083
+ {
1084
+ "kind": "js",
1085
+ "name": "foundationAccordionShadowOptions",
1086
+ "declaration": {
1087
+ "name": "foundationAccordionShadowOptions",
1088
+ "module": "src/accordion/accordion.ts"
1089
+ }
1090
+ },
1091
+ {
1092
+ "kind": "js",
1093
+ "name": "defaultAccordionConfig",
1094
+ "declaration": {
1095
+ "name": "defaultAccordionConfig",
1096
+ "module": "src/accordion/accordion.ts"
1097
+ }
1098
+ },
1099
+ {
1100
+ "kind": "js",
1101
+ "name": "foundationAccordion",
1102
+ "declaration": {
1103
+ "name": "foundationAccordion",
1104
+ "module": "src/accordion/accordion.ts"
1105
+ }
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "kind": "javascript-module",
1111
+ "path": "src/accordion/index.ts",
1112
+ "declarations": [],
1113
+ "exports": [
1114
+ {
1115
+ "kind": "js",
1116
+ "name": "*",
1117
+ "declaration": {
1118
+ "name": "*",
1119
+ "package": "./accordion.template"
1120
+ }
1121
+ },
1122
+ {
1123
+ "kind": "js",
1124
+ "name": "*",
1125
+ "declaration": {
1126
+ "name": "*",
1127
+ "package": "./accordion.styles"
1128
+ }
1129
+ },
1130
+ {
1131
+ "kind": "js",
1132
+ "name": "*",
1133
+ "declaration": {
1134
+ "name": "*",
1135
+ "package": "./accordion"
1136
+ }
1137
+ }
1138
+ ]
1139
+ },
1140
+ {
1141
+ "kind": "javascript-module",
1142
+ "path": "src/actions-menu/actions-menu.styles.ts",
1143
+ "declarations": [
1144
+ {
1145
+ "kind": "function",
1146
+ "name": "actionsMenuBaseStyles",
1147
+ "return": {
1148
+ "type": {
1149
+ "text": "ElementStyles"
1150
+ }
1151
+ },
1152
+ "parameters": [
1153
+ {
1154
+ "name": "context",
1155
+ "type": {
1156
+ "text": "ElementDefinitionContext"
1157
+ }
1158
+ },
1159
+ {
1160
+ "name": "definition",
1161
+ "type": {
1162
+ "text": "FoundationElementDefinition"
1163
+ }
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "kind": "function",
1169
+ "name": "foundationActionsMenuStyles",
1170
+ "return": {
1171
+ "type": {
1172
+ "text": "ElementStyles"
1173
+ }
1174
+ },
1175
+ "parameters": [
1176
+ {
1177
+ "name": "context",
1178
+ "type": {
1179
+ "text": "ElementDefinitionContext"
1180
+ }
1181
+ },
1182
+ {
1183
+ "name": "definition",
1184
+ "type": {
1185
+ "text": "FoundationElementDefinition"
1186
+ }
1187
+ }
1188
+ ]
1189
+ }
1190
+ ],
1191
+ "exports": [
1192
+ {
1193
+ "kind": "js",
1194
+ "name": "actionsMenuBaseStyles",
1195
+ "declaration": {
1196
+ "name": "actionsMenuBaseStyles",
1197
+ "module": "src/actions-menu/actions-menu.styles.ts"
1198
+ }
1199
+ },
1200
+ {
1201
+ "kind": "js",
1202
+ "name": "foundationActionsMenuStyles",
1203
+ "declaration": {
1204
+ "name": "foundationActionsMenuStyles",
1205
+ "module": "src/actions-menu/actions-menu.styles.ts"
1206
+ }
1207
+ }
1208
+ ]
1209
+ },
1210
+ {
1211
+ "kind": "javascript-module",
1212
+ "path": "src/actions-menu/actions-menu.template.ts",
1213
+ "declarations": [
1214
+ {
1215
+ "kind": "function",
1216
+ "name": "menuTemplate",
1217
+ "parameters": [
1218
+ {
1219
+ "name": "prefix",
1220
+ "type": {
1221
+ "text": "string"
1222
+ }
1223
+ }
1224
+ ]
1225
+ },
1226
+ {
1227
+ "kind": "function",
1228
+ "name": "singleOptionTemplate",
1229
+ "parameters": [
1230
+ {
1231
+ "name": "prefix",
1232
+ "type": {
1233
+ "text": "string"
1234
+ }
1235
+ }
1236
+ ]
1237
+ },
1238
+ {
1239
+ "kind": "variable",
1240
+ "name": "foundationActionsMenuTemplate",
1241
+ "type": {
1242
+ "text": "ViewTemplate<ActionsMenu>"
1243
+ },
1244
+ "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`"
1245
+ }
1246
+ ],
1247
+ "exports": [
1248
+ {
1249
+ "kind": "js",
1250
+ "name": "menuTemplate",
1251
+ "declaration": {
1252
+ "name": "menuTemplate",
1253
+ "module": "src/actions-menu/actions-menu.template.ts"
1254
+ }
1255
+ },
1256
+ {
1257
+ "kind": "js",
1258
+ "name": "singleOptionTemplate",
1259
+ "declaration": {
1260
+ "name": "singleOptionTemplate",
1261
+ "module": "src/actions-menu/actions-menu.template.ts"
1262
+ }
1263
+ },
1264
+ {
1265
+ "kind": "js",
1266
+ "name": "foundationActionsMenuTemplate",
1267
+ "declaration": {
1268
+ "name": "foundationActionsMenuTemplate",
1269
+ "module": "src/actions-menu/actions-menu.template.ts"
1270
+ }
1271
+ }
1272
+ ]
1273
+ },
1274
+ {
1275
+ "kind": "javascript-module",
1276
+ "path": "src/actions-menu/actions-menu.ts",
930
1277
  "declarations": [
931
1278
  {
932
1279
  "kind": "class",
933
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
934
- "name": "BaseFileComponent",
1280
+ "description": "",
1281
+ "name": "ActionsMenu",
935
1282
  "members": [
936
1283
  {
937
1284
  "kind": "field",
938
- "name": "fileInput",
1285
+ "name": "actions",
939
1286
  "type": {
940
- "text": "HTMLInputElement"
1287
+ "text": "ActionMenuItem[]"
1288
+ }
1289
+ },
1290
+ {
1291
+ "kind": "field",
1292
+ "name": "isVertical",
1293
+ "type": {
1294
+ "text": "boolean"
941
1295
  },
942
- "privacy": "public"
1296
+ "default": "false"
943
1297
  },
944
1298
  {
945
1299
  "kind": "field",
946
- "name": "selectedFile",
1300
+ "name": "addDefaultActions",
947
1301
  "type": {
948
- "text": "File | null"
1302
+ "text": "boolean"
949
1303
  },
950
- "privacy": "protected",
951
- "default": "null"
1304
+ "default": "true"
952
1305
  },
953
1306
  {
954
1307
  "kind": "field",
955
- "name": "label",
1308
+ "name": "autoCloseOnAction",
956
1309
  "type": {
957
- "text": "string"
958
- }
1310
+ "text": "boolean"
1311
+ },
1312
+ "default": "true"
959
1313
  },
960
1314
  {
961
1315
  "kind": "field",
962
- "name": "accept",
1316
+ "name": "classNames",
963
1317
  "type": {
964
1318
  "text": "string"
965
- },
966
- "default": "''"
1319
+ }
967
1320
  },
968
1321
  {
969
1322
  "kind": "field",
970
- "name": "fileSizeLimitBytes",
971
- "default": "10_485_760",
1323
+ "name": "definition",
972
1324
  "type": {
973
- "text": "number"
1325
+ "text": "any"
974
1326
  }
975
1327
  },
976
1328
  {
977
1329
  "kind": "field",
978
- "name": "fileName",
1330
+ "name": "name",
979
1331
  "type": {
980
1332
  "text": "string"
981
1333
  },
982
- "default": "''"
1334
+ "default": "'Actions'"
983
1335
  },
984
1336
  {
985
1337
  "kind": "field",
986
- "name": "isProcessing",
1338
+ "name": "open",
987
1339
  "type": {
988
1340
  "text": "boolean"
989
1341
  },
990
1342
  "default": "false"
991
1343
  },
992
1344
  {
993
- "kind": "method",
994
- "name": "handleClick",
995
- "privacy": "public",
996
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1345
+ "kind": "field",
1346
+ "name": "buttonAppearance",
1347
+ "type": {
1348
+ "text": "string"
1349
+ }
997
1350
  },
998
1351
  {
999
- "kind": "method",
1000
- "name": "onInputChange",
1001
- "privacy": "public",
1002
- "parameters": [
1003
- {
1004
- "name": "e",
1005
- "type": {
1006
- "text": "Event"
1007
- },
1008
- "description": "The change event from the file input"
1009
- }
1010
- ],
1011
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1352
+ "kind": "field",
1353
+ "name": "hideDisabled",
1354
+ "type": {
1355
+ "text": "boolean"
1356
+ },
1357
+ "default": "false"
1012
1358
  },
1013
1359
  {
1014
- "kind": "method",
1015
- "name": "clearSelection",
1016
- "privacy": "public",
1017
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1360
+ "kind": "field",
1361
+ "name": "hideMenuSingleOption",
1362
+ "type": {
1363
+ "text": "boolean"
1364
+ },
1365
+ "default": "false"
1018
1366
  },
1019
1367
  {
1020
- "kind": "method",
1021
- "name": "getSelectedFile",
1022
- "privacy": "public",
1023
- "description": "Gets the currently selected file object",
1024
- "return": {
1025
- "type": {
1026
- "text": ""
1027
- }
1368
+ "kind": "field",
1369
+ "name": "singleOption",
1370
+ "type": {
1371
+ "text": "ActionMenuItem"
1372
+ }
1373
+ },
1374
+ {
1375
+ "kind": "field",
1376
+ "name": "actionsMenu",
1377
+ "type": {
1378
+ "text": "HTMLElement"
1028
1379
  }
1029
1380
  },
1030
1381
  {
1031
1382
  "kind": "method",
1032
- "name": "showError",
1383
+ "name": "definitionChanged",
1033
1384
  "privacy": "protected",
1034
1385
  "parameters": [
1035
1386
  {
1036
- "name": "title",
1387
+ "name": "oldValue",
1037
1388
  "type": {
1038
- "text": "string"
1039
- },
1040
- "description": "The error title"
1389
+ "text": "any"
1390
+ }
1041
1391
  },
1042
1392
  {
1043
- "name": "message",
1044
- "type": {
1045
- "text": "string"
1046
- },
1047
- "description": "The error message"
1048
- }
1049
- ],
1050
- "description": "Shows an error notification using the unified error handling system"
1051
- },
1052
- {
1053
- "kind": "method",
1054
- "name": "onFileSelected",
1055
- "privacy": "protected",
1056
- "return": {
1057
- "type": {
1058
- "text": "void"
1059
- }
1060
- },
1061
- "parameters": [
1062
- {
1063
- "name": "files",
1393
+ "name": "newValue",
1064
1394
  "type": {
1065
- "text": "File[]"
1066
- },
1067
- "description": "The selected file"
1068
- }
1069
- ],
1070
- "description": "Abstract method called when a file is selected"
1071
- },
1072
- {
1073
- "kind": "method",
1074
- "name": "onFileCleared",
1075
- "privacy": "protected",
1076
- "return": {
1077
- "type": {
1078
- "text": "void"
1079
- }
1080
- },
1081
- "description": "Abstract method called when file selection is cleared"
1082
- },
1083
- {
1084
- "kind": "field",
1085
- "name": "_presentation",
1086
- "type": {
1087
- "text": "ComponentPresentation | null | undefined"
1088
- },
1089
- "privacy": "private",
1090
- "default": "void 0",
1091
- "inheritedFrom": {
1092
- "name": "FoundationElement",
1093
- "module": "src/foundation-element/foundation-element.ts"
1094
- }
1395
+ "text": "any"
1396
+ }
1397
+ }
1398
+ ]
1095
1399
  },
1096
1400
  {
1097
- "kind": "field",
1098
- "name": "$presentation",
1099
- "type": {
1100
- "text": "ComponentPresentation | null"
1101
- },
1102
- "privacy": "public",
1103
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1104
- "inheritedFrom": {
1105
- "name": "FoundationElement",
1106
- "module": "src/foundation-element/foundation-element.ts"
1107
- }
1401
+ "kind": "method",
1402
+ "name": "openChanged",
1403
+ "privacy": "protected"
1108
1404
  },
1109
1405
  {
1110
- "kind": "field",
1111
- "name": "template",
1112
- "type": {
1113
- "text": "ElementViewTemplate | void | null"
1114
- },
1115
- "privacy": "public",
1116
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1117
- "inheritedFrom": {
1118
- "name": "FoundationElement",
1119
- "module": "src/foundation-element/foundation-element.ts"
1120
- }
1406
+ "kind": "method",
1407
+ "name": "toggleActionsMenuVisibility"
1121
1408
  },
1122
1409
  {
1123
1410
  "kind": "method",
1124
- "name": "templateChanged",
1125
- "privacy": "protected",
1126
- "return": {
1127
- "type": {
1128
- "text": "void"
1411
+ "name": "onActionMenuItemClick",
1412
+ "parameters": [
1413
+ {
1414
+ "name": "callback",
1415
+ "type": {
1416
+ "text": "(rowData) => void | any"
1417
+ }
1129
1418
  }
1130
- },
1131
- "inheritedFrom": {
1132
- "name": "FoundationElement",
1133
- "module": "src/foundation-element/foundation-element.ts"
1134
- }
1419
+ ]
1135
1420
  },
1136
1421
  {
1137
1422
  "kind": "field",
1138
- "name": "styles",
1423
+ "name": "allActions",
1139
1424
  "type": {
1140
- "text": "ElementStyles | void | null"
1425
+ "text": "ActionMenuItem[]"
1141
1426
  },
1142
- "privacy": "public",
1143
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1144
- "inheritedFrom": {
1145
- "name": "FoundationElement",
1146
- "module": "src/foundation-element/foundation-element.ts"
1147
- }
1427
+ "readonly": true
1148
1428
  },
1149
1429
  {
1150
- "kind": "method",
1151
- "name": "stylesChanged",
1152
- "privacy": "protected",
1153
- "return": {
1154
- "type": {
1155
- "text": "void"
1156
- }
1157
- },
1158
- "inheritedFrom": {
1159
- "name": "FoundationElement",
1160
- "module": "src/foundation-element/foundation-element.ts"
1161
- }
1430
+ "kind": "field",
1431
+ "name": "rowData",
1432
+ "readonly": true
1162
1433
  },
1163
1434
  {
1164
1435
  "kind": "method",
1165
- "name": "compose",
1166
- "privacy": "public",
1167
- "static": true,
1168
- "return": {
1169
- "type": {
1170
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1171
- }
1172
- },
1436
+ "name": "getLabel",
1173
1437
  "parameters": [
1174
1438
  {
1175
- "name": "this",
1439
+ "name": "name",
1176
1440
  "type": {
1177
- "text": "K"
1441
+ "text": "string | ((rowData: any) => string)"
1178
1442
  }
1179
- },
1443
+ }
1444
+ ]
1445
+ },
1446
+ {
1447
+ "kind": "method",
1448
+ "name": "getTemplate",
1449
+ "parameters": [
1180
1450
  {
1181
- "name": "elementDefinition",
1451
+ "name": "prefix",
1182
1452
  "type": {
1183
- "text": "T"
1184
- },
1185
- "description": "The definition of the element to create the registry\nfunction for."
1453
+ "text": "string"
1454
+ }
1186
1455
  }
1187
- ],
1188
- "description": "Defines an element registry function with a set of element definition defaults.",
1456
+ ]
1457
+ },
1458
+ {
1459
+ "kind": "field",
1460
+ "name": "_presentation",
1461
+ "type": {
1462
+ "text": "ComponentPresentation | null | undefined"
1463
+ },
1464
+ "privacy": "private",
1465
+ "default": "void 0",
1189
1466
  "inheritedFrom": {
1190
1467
  "name": "FoundationElement",
1191
1468
  "module": "src/foundation-element/foundation-element.ts"
1192
1469
  }
1193
- }
1194
- ],
1195
- "attributes": [
1196
- {
1197
- "name": "label",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "fieldName": "label"
1202
1470
  },
1203
1471
  {
1204
- "name": "accept",
1472
+ "kind": "field",
1473
+ "name": "$presentation",
1205
1474
  "type": {
1206
- "text": "string"
1207
- },
1208
- "default": "''",
1209
- "fieldName": "accept"
1210
- },
1211
- {
1212
- "name": "file-size-limit-bytes",
1213
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1214
- "resolveInitializer": {
1215
- "module": "src/_common/base-file-component.ts"
1475
+ "text": "ComponentPresentation | null"
1216
1476
  },
1217
- "fieldName": "fileSizeLimitBytes"
1218
- }
1219
- ],
1220
- "superclass": {
1221
- "name": "FoundationElement",
1222
- "package": "@microsoft/fast-foundation"
1223
- }
1224
- }
1225
- ],
1226
- "exports": [
1227
- {
1228
- "kind": "js",
1229
- "name": "BaseFileComponent",
1230
- "declaration": {
1231
- "name": "BaseFileComponent",
1232
- "module": "src/_common/base-file-component.ts"
1233
- }
1234
- }
1235
- ]
1236
- },
1237
- {
1238
- "kind": "javascript-module",
1239
- "path": "src/_common/icons.ts",
1240
- "declarations": [
1241
- {
1242
- "kind": "function",
1243
- "name": "closeIcon",
1244
- "parameters": [
1245
- {
1246
- "name": "slot",
1247
- "default": "'start'"
1248
- },
1249
- {
1250
- "name": "fill",
1251
- "default": "'#879ba6'"
1252
- }
1253
- ]
1254
- }
1255
- ],
1256
- "exports": [
1257
- {
1258
- "kind": "js",
1259
- "name": "closeIcon",
1260
- "declaration": {
1261
- "name": "closeIcon",
1262
- "module": "src/_common/icons.ts"
1263
- }
1264
- }
1265
- ]
1266
- },
1267
- {
1268
- "kind": "javascript-module",
1269
- "path": "src/_common/index.ts",
1270
- "declarations": [],
1271
- "exports": [
1272
- {
1273
- "kind": "js",
1274
- "name": "*",
1275
- "declaration": {
1276
- "name": "*",
1277
- "package": "./base-file-component"
1278
- }
1279
- },
1280
- {
1281
- "kind": "js",
1282
- "name": "*",
1283
- "declaration": {
1284
- "name": "*",
1285
- "package": "./icons"
1286
- }
1287
- }
1288
- ]
1289
- },
1290
- {
1291
- "kind": "javascript-module",
1292
- "path": "src/_config/index.ts",
1293
- "declarations": [],
1294
- "exports": [
1295
- {
1296
- "kind": "js",
1297
- "name": "*",
1298
- "declaration": {
1299
- "name": "*",
1300
- "package": "./styles"
1301
- }
1302
- },
1303
- {
1304
- "kind": "js",
1305
- "name": "*",
1306
- "declaration": {
1307
- "name": "*",
1308
- "package": "./tokens"
1309
- }
1310
- },
1311
- {
1312
- "kind": "js",
1313
- "name": "*",
1314
- "declaration": {
1315
- "name": "*",
1316
- "package": "./values"
1317
- }
1318
- }
1319
- ]
1320
- },
1321
- {
1322
- "kind": "javascript-module",
1323
- "path": "src/accordion/accordion.styles.ts",
1324
- "declarations": [
1325
- {
1326
- "kind": "function",
1327
- "name": "foundationAccordionStyles",
1328
- "return": {
1329
- "type": {
1330
- "text": "ElementStyles"
1331
- }
1332
- },
1333
- "parameters": [
1477
+ "privacy": "public",
1478
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1479
+ "inheritedFrom": {
1480
+ "name": "FoundationElement",
1481
+ "module": "src/foundation-element/foundation-element.ts"
1482
+ }
1483
+ },
1334
1484
  {
1335
- "name": "context",
1485
+ "kind": "field",
1486
+ "name": "template",
1336
1487
  "type": {
1337
- "text": "ElementDefinitionContext"
1488
+ "text": "ElementViewTemplate | void | null"
1489
+ },
1490
+ "privacy": "public",
1491
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1492
+ "inheritedFrom": {
1493
+ "name": "FoundationElement",
1494
+ "module": "src/foundation-element/foundation-element.ts"
1338
1495
  }
1339
1496
  },
1340
1497
  {
1341
- "name": "definition",
1498
+ "kind": "method",
1499
+ "name": "templateChanged",
1500
+ "privacy": "protected",
1501
+ "return": {
1502
+ "type": {
1503
+ "text": "void"
1504
+ }
1505
+ },
1506
+ "inheritedFrom": {
1507
+ "name": "FoundationElement",
1508
+ "module": "src/foundation-element/foundation-element.ts"
1509
+ }
1510
+ },
1511
+ {
1512
+ "kind": "field",
1513
+ "name": "styles",
1342
1514
  "type": {
1343
- "text": "FoundationElementDefinition"
1515
+ "text": "ElementStyles | void | null"
1516
+ },
1517
+ "privacy": "public",
1518
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1519
+ "inheritedFrom": {
1520
+ "name": "FoundationElement",
1521
+ "module": "src/foundation-element/foundation-element.ts"
1522
+ }
1523
+ },
1524
+ {
1525
+ "kind": "method",
1526
+ "name": "stylesChanged",
1527
+ "privacy": "protected",
1528
+ "return": {
1529
+ "type": {
1530
+ "text": "void"
1531
+ }
1532
+ },
1533
+ "inheritedFrom": {
1534
+ "name": "FoundationElement",
1535
+ "module": "src/foundation-element/foundation-element.ts"
1536
+ }
1537
+ },
1538
+ {
1539
+ "kind": "method",
1540
+ "name": "compose",
1541
+ "privacy": "public",
1542
+ "static": true,
1543
+ "return": {
1544
+ "type": {
1545
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1546
+ }
1547
+ },
1548
+ "parameters": [
1549
+ {
1550
+ "name": "this",
1551
+ "type": {
1552
+ "text": "K"
1553
+ }
1554
+ },
1555
+ {
1556
+ "name": "elementDefinition",
1557
+ "type": {
1558
+ "text": "T"
1559
+ },
1560
+ "description": "The definition of the element to create the registry\nfunction for."
1561
+ }
1562
+ ],
1563
+ "description": "Defines an element registry function with a set of element definition defaults.",
1564
+ "inheritedFrom": {
1565
+ "name": "FoundationElement",
1566
+ "module": "src/foundation-element/foundation-element.ts"
1344
1567
  }
1345
1568
  }
1346
- ]
1347
- }
1348
- ],
1349
- "exports": [
1350
- {
1351
- "kind": "js",
1352
- "name": "foundationAccordionStyles",
1353
- "declaration": {
1354
- "name": "foundationAccordionStyles",
1355
- "module": "src/accordion/accordion.styles.ts"
1356
- }
1357
- }
1358
- ]
1359
- },
1360
- {
1361
- "kind": "javascript-module",
1362
- "path": "src/accordion/accordion.template.ts",
1363
- "declarations": [
1364
- {
1365
- "kind": "function",
1366
- "name": "foundationAccordionTemplate",
1367
- "return": {
1368
- "type": {
1369
- "text": "ViewTemplate<Accordion>"
1370
- }
1371
- },
1372
- "parameters": [
1569
+ ],
1570
+ "attributes": [
1373
1571
  {
1374
- "name": "context",
1572
+ "name": "is-vertical",
1375
1573
  "type": {
1376
- "text": "ElementDefinitionContext"
1377
- }
1574
+ "text": "boolean"
1575
+ },
1576
+ "default": "false",
1577
+ "fieldName": "isVertical"
1378
1578
  },
1379
1579
  {
1380
- "name": "definition",
1580
+ "name": "add-default-actions",
1381
1581
  "type": {
1382
- "text": "FoundationElementDefinition"
1383
- }
1582
+ "text": "boolean"
1583
+ },
1584
+ "default": "true",
1585
+ "fieldName": "addDefaultActions"
1586
+ },
1587
+ {
1588
+ "name": "auto-close-on-action",
1589
+ "type": {
1590
+ "text": "boolean"
1591
+ },
1592
+ "default": "true",
1593
+ "fieldName": "autoCloseOnAction"
1594
+ },
1595
+ {
1596
+ "name": "name",
1597
+ "type": {
1598
+ "text": "string"
1599
+ },
1600
+ "default": "'Actions'",
1601
+ "fieldName": "name"
1602
+ },
1603
+ {
1604
+ "name": "open",
1605
+ "type": {
1606
+ "text": "boolean"
1607
+ },
1608
+ "default": "false",
1609
+ "fieldName": "open"
1610
+ },
1611
+ {
1612
+ "name": "buttonAppearance",
1613
+ "type": {
1614
+ "text": "string"
1615
+ },
1616
+ "fieldName": "buttonAppearance"
1617
+ },
1618
+ {
1619
+ "name": "hide-disabled",
1620
+ "type": {
1621
+ "text": "boolean"
1622
+ },
1623
+ "default": "false",
1624
+ "fieldName": "hideDisabled"
1625
+ },
1626
+ {
1627
+ "name": "hide-menu-single-option",
1628
+ "type": {
1629
+ "text": "boolean"
1630
+ },
1631
+ "default": "false",
1632
+ "fieldName": "hideMenuSingleOption"
1384
1633
  }
1385
- ]
1386
- }
1387
- ],
1388
- "exports": [
1389
- {
1390
- "kind": "js",
1391
- "name": "foundationAccordionTemplate",
1392
- "declaration": {
1393
- "name": "foundationAccordionTemplate",
1394
- "module": "src/accordion/accordion.template.ts"
1395
- }
1396
- }
1397
- ]
1398
- },
1399
- {
1400
- "kind": "javascript-module",
1401
- "path": "src/accordion/accordion.ts",
1402
- "declarations": [
1403
- {
1404
- "kind": "class",
1405
- "description": "",
1406
- "name": "Accordion",
1634
+ ],
1407
1635
  "superclass": {
1408
- "name": "FASTAccordion",
1636
+ "name": "FoundationElement",
1409
1637
  "package": "@microsoft/fast-foundation"
1410
1638
  },
1411
- "tagName": "%%prefix%%-accordion",
1639
+ "tagName": "%%prefix%%-actions-menu",
1412
1640
  "customElement": true
1413
1641
  },
1414
1642
  {
1415
1643
  "kind": "variable",
1416
- "name": "foundationAccordionShadowOptions",
1417
- "type": {
1418
- "text": "ShadowRootInit"
1419
- },
1420
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1421
- },
1422
- {
1423
- "kind": "variable",
1424
- "name": "defaultAccordionConfig",
1425
- "type": {
1426
- "text": "object"
1427
- },
1428
- "default": "{}"
1429
- },
1430
- {
1431
- "kind": "variable",
1432
- "name": "foundationAccordion",
1433
- "description": "The Foundation Accordion",
1644
+ "name": "foundationActionsMenu",
1645
+ "description": "The Foundation Actions Menu",
1434
1646
  "privacy": "public"
1435
1647
  }
1436
1648
  ],
1437
1649
  "exports": [
1438
1650
  {
1439
1651
  "kind": "js",
1440
- "name": "Accordion",
1441
- "declaration": {
1442
- "name": "Accordion",
1443
- "module": "src/accordion/accordion.ts"
1444
- }
1445
- },
1446
- {
1447
- "kind": "js",
1448
- "name": "foundationAccordionShadowOptions",
1449
- "declaration": {
1450
- "name": "foundationAccordionShadowOptions",
1451
- "module": "src/accordion/accordion.ts"
1452
- }
1453
- },
1454
- {
1455
- "kind": "js",
1456
- "name": "defaultAccordionConfig",
1652
+ "name": "ActionsMenu",
1457
1653
  "declaration": {
1458
- "name": "defaultAccordionConfig",
1459
- "module": "src/accordion/accordion.ts"
1654
+ "name": "ActionsMenu",
1655
+ "module": "src/actions-menu/actions-menu.ts"
1460
1656
  }
1461
1657
  },
1462
1658
  {
1463
1659
  "kind": "js",
1464
- "name": "foundationAccordion",
1660
+ "name": "foundationActionsMenu",
1465
1661
  "declaration": {
1466
- "name": "foundationAccordion",
1467
- "module": "src/accordion/accordion.ts"
1662
+ "name": "foundationActionsMenu",
1663
+ "module": "src/actions-menu/actions-menu.ts"
1468
1664
  }
1469
1665
  }
1470
1666
  ]
1471
1667
  },
1472
1668
  {
1473
1669
  "kind": "javascript-module",
1474
- "path": "src/accordion/index.ts",
1670
+ "path": "src/actions-menu/index.ts",
1475
1671
  "declarations": [],
1476
1672
  "exports": [
1477
1673
  {
@@ -1479,7 +1675,7 @@
1479
1675
  "name": "*",
1480
1676
  "declaration": {
1481
1677
  "name": "*",
1482
- "package": "./accordion.template"
1678
+ "package": "./actions-menu.styles"
1483
1679
  }
1484
1680
  },
1485
1681
  {
@@ -1487,7 +1683,7 @@
1487
1683
  "name": "*",
1488
1684
  "declaration": {
1489
1685
  "name": "*",
1490
- "package": "./accordion.styles"
1686
+ "package": "./actions-menu.template"
1491
1687
  }
1492
1688
  },
1493
1689
  {
@@ -1495,192 +1691,198 @@
1495
1691
  "name": "*",
1496
1692
  "declaration": {
1497
1693
  "name": "*",
1498
- "package": "./accordion"
1694
+ "package": "./actions-menu"
1499
1695
  }
1500
1696
  }
1501
1697
  ]
1502
1698
  },
1503
1699
  {
1504
1700
  "kind": "javascript-module",
1505
- "path": "src/accordion-item/accordion-item.styles.ts",
1701
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1506
1702
  "declarations": [
1507
1703
  {
1508
- "kind": "function",
1509
- "name": "foundationAccordionItemStyles",
1510
- "return": {
1511
- "type": {
1512
- "text": "ElementStyles"
1513
- }
1514
- },
1515
- "parameters": [
1516
- {
1517
- "name": "context",
1518
- "type": {
1519
- "text": "ElementDefinitionContext"
1520
- }
1521
- },
1522
- {
1523
- "name": "definition",
1524
- "type": {
1525
- "text": "FoundationElementDefinition"
1526
- }
1527
- }
1528
- ]
1704
+ "kind": "variable",
1705
+ "name": "foundationAiCriteriaSearchStyles",
1706
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1529
1707
  }
1530
1708
  ],
1531
1709
  "exports": [
1532
1710
  {
1533
1711
  "kind": "js",
1534
- "name": "foundationAccordionItemStyles",
1712
+ "name": "foundationAiCriteriaSearchStyles",
1535
1713
  "declaration": {
1536
- "name": "foundationAccordionItemStyles",
1537
- "module": "src/accordion-item/accordion-item.styles.ts"
1714
+ "name": "foundationAiCriteriaSearchStyles",
1715
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1538
1716
  }
1539
1717
  }
1540
1718
  ]
1541
1719
  },
1542
1720
  {
1543
1721
  "kind": "javascript-module",
1544
- "path": "src/accordion-item/accordion-item.template.ts",
1722
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1545
1723
  "declarations": [
1546
1724
  {
1547
- "kind": "function",
1548
- "name": "foundationAccordionItemTemplate",
1549
- "return": {
1550
- "type": {
1551
- "text": "ViewTemplate<AccordionItem>"
1552
- }
1725
+ "kind": "variable",
1726
+ "name": "foundationAiCriteriaSearchTemplate",
1727
+ "type": {
1728
+ "text": "ViewTemplate<AiCriteriaSearch>"
1553
1729
  },
1554
- "parameters": [
1555
- {
1556
- "name": "context",
1557
- "type": {
1558
- "text": "ElementDefinitionContext"
1559
- }
1560
- },
1561
- {
1562
- "name": "definition",
1563
- "type": {
1564
- "text": "FoundationElementDefinition"
1565
- }
1566
- }
1567
- ]
1730
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1568
1731
  }
1569
1732
  ],
1570
1733
  "exports": [
1571
1734
  {
1572
1735
  "kind": "js",
1573
- "name": "foundationAccordionItemTemplate",
1736
+ "name": "foundationAiCriteriaSearchTemplate",
1574
1737
  "declaration": {
1575
- "name": "foundationAccordionItemTemplate",
1576
- "module": "src/accordion-item/accordion-item.template.ts"
1738
+ "name": "foundationAiCriteriaSearchTemplate",
1739
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1577
1740
  }
1578
1741
  }
1579
1742
  ]
1580
1743
  },
1581
1744
  {
1582
1745
  "kind": "javascript-module",
1583
- "path": "src/accordion-item/accordion-item.ts",
1746
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1584
1747
  "declarations": [
1585
1748
  {
1586
1749
  "kind": "class",
1587
1750
  "description": "",
1588
- "name": "AccordionItem",
1589
- "superclass": {
1590
- "name": "FASTAccordionItem",
1591
- "package": "@microsoft/fast-components"
1592
- },
1593
- "tagName": "%%prefix%%-accordion-item",
1594
- "customElement": true,
1595
- "attributes": [
1751
+ "name": "AiCriteriaSearch",
1752
+ "members": [
1596
1753
  {
1597
- "name": "heading-level",
1754
+ "kind": "field",
1755
+ "name": "aiProvider",
1598
1756
  "type": {
1599
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1600
- },
1601
- "default": "2",
1602
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1603
- "fieldName": "headinglevel",
1604
- "inheritedFrom": {
1605
- "name": "AccordionItem",
1606
- "module": "src/accordion-item/accordion-item.ts"
1757
+ "text": "AIProvider"
1607
1758
  }
1608
1759
  },
1609
1760
  {
1761
+ "kind": "field",
1762
+ "name": "placeholder",
1763
+ "type": {
1764
+ "text": "string"
1765
+ },
1766
+ "default": "'Describe your search criteria in natural language...'"
1767
+ },
1768
+ {
1769
+ "kind": "field",
1770
+ "name": "disabled",
1610
1771
  "type": {
1611
1772
  "text": "boolean"
1612
- },
1613
- "default": "false",
1614
- "description": "Expands or collapses the item.",
1615
- "fieldName": "expanded",
1616
- "inheritedFrom": {
1617
- "name": "AccordionItem",
1618
- "module": "src/accordion-item/accordion-item.ts"
1619
1773
  }
1620
1774
  },
1621
1775
  {
1622
- "name": "id",
1776
+ "kind": "field",
1777
+ "name": "mode",
1778
+ "type": {
1779
+ "text": "'append' | 'replace'"
1780
+ },
1781
+ "default": "'replace'"
1782
+ },
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "inputValue",
1623
1786
  "type": {
1624
1787
  "text": "string"
1625
1788
  },
1626
- "description": "The item ID",
1627
- "fieldName": "id",
1628
- "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1631
- }
1632
- }
1633
- ],
1634
- "members": [
1789
+ "default": "''"
1790
+ },
1635
1791
  {
1636
1792
  "kind": "field",
1637
- "name": "headinglevel",
1793
+ "name": "isInterpreting",
1638
1794
  "type": {
1639
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1795
+ "text": "boolean"
1640
1796
  },
1641
- "privacy": "public",
1642
- "default": "2",
1643
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1644
- "inheritedFrom": {
1645
- "name": "AccordionItem",
1646
- "module": "src/accordion-item/accordion-item.ts"
1647
- }
1797
+ "default": "false"
1648
1798
  },
1649
1799
  {
1650
1800
  "kind": "field",
1651
- "name": "expanded",
1801
+ "name": "lastValidCriteria",
1802
+ "type": {
1803
+ "text": "string | null"
1804
+ },
1805
+ "default": "null"
1806
+ },
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "fieldMetadata",
1810
+ "type": {
1811
+ "text": "MetadataDetail[] | string[]"
1812
+ },
1813
+ "default": "[]"
1814
+ },
1815
+ {
1816
+ "kind": "field",
1817
+ "name": "isRecording",
1652
1818
  "type": {
1653
1819
  "text": "boolean"
1654
1820
  },
1655
- "privacy": "public",
1656
- "default": "false",
1657
- "description": "Expands or collapses the item.",
1658
- "inheritedFrom": {
1659
- "name": "AccordionItem",
1660
- "module": "src/accordion-item/accordion-item.ts"
1661
- }
1821
+ "default": "false"
1662
1822
  },
1663
1823
  {
1664
1824
  "kind": "field",
1665
- "name": "id",
1825
+ "name": "textAreaRef",
1666
1826
  "type": {
1667
- "text": "string"
1827
+ "text": "HTMLTextAreaElement"
1668
1828
  },
1669
- "privacy": "public",
1670
- "description": "The item ID",
1671
- "inheritedFrom": {
1672
- "name": "AccordionItem",
1673
- "module": "src/accordion-item/accordion-item.ts"
1674
- }
1829
+ "privacy": "public"
1675
1830
  },
1676
1831
  {
1677
1832
  "kind": "field",
1678
- "name": "change",
1833
+ "name": "stopRecording",
1834
+ "type": {
1835
+ "text": "(() => void) | null"
1836
+ },
1679
1837
  "privacy": "private",
1680
- "inheritedFrom": {
1681
- "name": "AccordionItem",
1682
- "module": "src/accordion-item/accordion-item.ts"
1683
- }
1838
+ "default": "null"
1839
+ },
1840
+ {
1841
+ "kind": "field",
1842
+ "name": "speechApplyDebounceTimer",
1843
+ "type": {
1844
+ "text": "ReturnType<typeof setTimeout> | null"
1845
+ },
1846
+ "privacy": "private",
1847
+ "default": "null"
1848
+ },
1849
+ {
1850
+ "kind": "field",
1851
+ "name": "baseInputForAppend",
1852
+ "type": {
1853
+ "text": "string"
1854
+ },
1855
+ "privacy": "private",
1856
+ "default": "''"
1857
+ },
1858
+ {
1859
+ "kind": "field",
1860
+ "name": "speechAvailable",
1861
+ "type": {
1862
+ "text": "boolean"
1863
+ },
1864
+ "readonly": true
1865
+ },
1866
+ {
1867
+ "kind": "method",
1868
+ "name": "handleSubmit"
1869
+ },
1870
+ {
1871
+ "kind": "method",
1872
+ "name": "handleBlur"
1873
+ },
1874
+ {
1875
+ "kind": "method",
1876
+ "name": "clear"
1877
+ },
1878
+ {
1879
+ "kind": "method",
1880
+ "name": "toggleSpeechInput"
1881
+ },
1882
+ {
1883
+ "kind": "method",
1884
+ "name": "clearSpeechApplyDebounce",
1885
+ "privacy": "private"
1684
1886
  },
1685
1887
  {
1686
1888
  "kind": "field",
@@ -1794,86 +1996,152 @@
1794
1996
  }
1795
1997
  }
1796
1998
  ],
1797
- "events": [
1999
+ "attributes": [
2000
+ {
2001
+ "name": "placeholder",
2002
+ "type": {
2003
+ "text": "string"
2004
+ },
2005
+ "default": "'Describe your search criteria in natural language...'",
2006
+ "fieldName": "placeholder"
2007
+ },
2008
+ {
2009
+ "type": {
2010
+ "text": "boolean"
2011
+ },
2012
+ "fieldName": "disabled"
2013
+ },
1798
2014
  {
1799
- "description": "Fires a custom 'change' event when the button is invoked",
1800
- "name": "change",
1801
- "inheritedFrom": {
1802
- "name": "AccordionItem",
1803
- "module": "src/accordion-item/accordion-item.ts"
1804
- }
2015
+ "name": "mode",
2016
+ "type": {
2017
+ "text": "'append' | 'replace'"
2018
+ },
2019
+ "default": "'replace'",
2020
+ "fieldName": "mode"
1805
2021
  }
1806
- ]
2022
+ ],
2023
+ "superclass": {
2024
+ "name": "FoundationElement",
2025
+ "package": "@microsoft/fast-foundation"
2026
+ },
2027
+ "tagName": "%%prefix%%-ai-criteria-search",
2028
+ "customElement": true
1807
2029
  },
1808
2030
  {
1809
2031
  "kind": "variable",
1810
- "name": "foundationAccordionItemShadowOptions",
2032
+ "name": "foundationAiCriteriaSearchShadowOptions",
1811
2033
  "type": {
1812
2034
  "text": "ShadowRootInit"
1813
2035
  },
1814
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2036
+ "default": "undefined"
1815
2037
  },
1816
2038
  {
1817
2039
  "kind": "variable",
1818
- "name": "defaultAccordionItemConfig",
2040
+ "name": "defaultAiCriteriaSearchConfig",
1819
2041
  "type": {
1820
2042
  "text": "object"
1821
2043
  },
1822
- "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}"
2044
+ "default": "{}"
1823
2045
  },
1824
2046
  {
1825
2047
  "kind": "variable",
1826
- "name": "foundationAccordionItem",
1827
- "description": "The Foundation Accordion Item",
1828
- "privacy": "public"
2048
+ "name": "foundationAiCriteriaSearch"
1829
2049
  }
1830
2050
  ],
1831
2051
  "exports": [
1832
2052
  {
1833
2053
  "kind": "js",
1834
- "name": "AccordionItem",
2054
+ "name": "AiCriteriaSearch",
1835
2055
  "declaration": {
1836
- "name": "AccordionItem",
1837
- "module": "src/accordion-item/accordion-item.ts"
2056
+ "name": "AiCriteriaSearch",
2057
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1838
2058
  }
1839
2059
  },
1840
2060
  {
1841
2061
  "kind": "js",
1842
- "name": "foundationAccordionItemShadowOptions",
2062
+ "name": "foundationAiCriteriaSearchShadowOptions",
1843
2063
  "declaration": {
1844
- "name": "foundationAccordionItemShadowOptions",
1845
- "module": "src/accordion-item/accordion-item.ts"
2064
+ "name": "foundationAiCriteriaSearchShadowOptions",
2065
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1846
2066
  }
1847
2067
  },
1848
2068
  {
1849
2069
  "kind": "js",
1850
- "name": "defaultAccordionItemConfig",
2070
+ "name": "defaultAiCriteriaSearchConfig",
1851
2071
  "declaration": {
1852
- "name": "defaultAccordionItemConfig",
1853
- "module": "src/accordion-item/accordion-item.ts"
2072
+ "name": "defaultAiCriteriaSearchConfig",
2073
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1854
2074
  }
1855
2075
  },
1856
2076
  {
1857
2077
  "kind": "js",
1858
- "name": "foundationAccordionItem",
2078
+ "name": "foundationAiCriteriaSearch",
1859
2079
  "declaration": {
1860
- "name": "foundationAccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
2080
+ "name": "foundationAiCriteriaSearch",
2081
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1862
2082
  }
1863
2083
  }
1864
2084
  ]
1865
2085
  },
1866
2086
  {
1867
2087
  "kind": "javascript-module",
1868
- "path": "src/accordion-item/index.ts",
2088
+ "path": "src/ai-criteria-search/index.ts",
1869
2089
  "declarations": [],
1870
2090
  "exports": [
2091
+ {
2092
+ "kind": "js",
2093
+ "name": "AiCriteriaSearch",
2094
+ "declaration": {
2095
+ "name": "AiCriteriaSearch",
2096
+ "module": "./ai-criteria-search"
2097
+ }
2098
+ },
2099
+ {
2100
+ "kind": "js",
2101
+ "name": "defaultAiCriteriaSearchConfig",
2102
+ "declaration": {
2103
+ "name": "defaultAiCriteriaSearchConfig",
2104
+ "module": "./ai-criteria-search"
2105
+ }
2106
+ },
2107
+ {
2108
+ "kind": "js",
2109
+ "name": "foundationAiCriteriaSearch",
2110
+ "declaration": {
2111
+ "name": "foundationAiCriteriaSearch",
2112
+ "module": "./ai-criteria-search"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "js",
2117
+ "name": "foundationAiCriteriaSearchShadowOptions",
2118
+ "declaration": {
2119
+ "name": "foundationAiCriteriaSearchShadowOptions",
2120
+ "module": "./ai-criteria-search"
2121
+ }
2122
+ },
2123
+ {
2124
+ "kind": "js",
2125
+ "name": "foundationAiCriteriaSearchStyles",
2126
+ "declaration": {
2127
+ "name": "foundationAiCriteriaSearchStyles",
2128
+ "module": "./ai-criteria-search.styles"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "js",
2133
+ "name": "foundationAiCriteriaSearchTemplate",
2134
+ "declaration": {
2135
+ "name": "foundationAiCriteriaSearchTemplate",
2136
+ "module": "./ai-criteria-search.template"
2137
+ }
2138
+ },
1871
2139
  {
1872
2140
  "kind": "js",
1873
2141
  "name": "*",
1874
2142
  "declaration": {
1875
2143
  "name": "*",
1876
- "package": "./accordion-item.template"
2144
+ "package": "./validation/criteria-ir"
1877
2145
  }
1878
2146
  },
1879
2147
  {
@@ -1881,7 +2149,7 @@
1881
2149
  "name": "*",
1882
2150
  "declaration": {
1883
2151
  "name": "*",
1884
- "package": "./accordion-item.styles"
2152
+ "package": "./validation/operator-map"
1885
2153
  }
1886
2154
  },
1887
2155
  {
@@ -1889,328 +2157,241 @@
1889
2157
  "name": "*",
1890
2158
  "declaration": {
1891
2159
  "name": "*",
1892
- "package": "./accordion-item"
2160
+ "package": "./validation/schema-validator"
1893
2161
  }
1894
2162
  }
1895
2163
  ]
1896
2164
  },
1897
2165
  {
1898
2166
  "kind": "javascript-module",
1899
- "path": "src/actions-menu/actions-menu.styles.ts",
2167
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
1900
2168
  "declarations": [
1901
2169
  {
1902
2170
  "kind": "function",
1903
- "name": "actionsMenuBaseStyles",
2171
+ "name": "formatValidationErrors",
1904
2172
  "return": {
1905
2173
  "type": {
1906
- "text": "ElementStyles"
2174
+ "text": "string"
1907
2175
  }
1908
2176
  },
1909
2177
  "parameters": [
1910
2178
  {
1911
- "name": "context",
1912
- "type": {
1913
- "text": "ElementDefinitionContext"
1914
- }
1915
- },
1916
- {
1917
- "name": "definition",
2179
+ "name": "errors",
1918
2180
  "type": {
1919
- "text": "FoundationElementDefinition"
2181
+ "text": "ValidationError[]"
1920
2182
  }
1921
2183
  }
1922
- ]
2184
+ ],
2185
+ "description": "Formats validation errors into a user-friendly message."
1923
2186
  },
1924
2187
  {
1925
2188
  "kind": "function",
1926
- "name": "foundationActionsMenuStyles",
2189
+ "name": "showCriteriaError",
1927
2190
  "return": {
1928
2191
  "type": {
1929
- "text": "ElementStyles"
2192
+ "text": "void"
1930
2193
  }
1931
2194
  },
1932
2195
  "parameters": [
1933
2196
  {
1934
- "name": "context",
2197
+ "name": "title",
1935
2198
  "type": {
1936
- "text": "ElementDefinitionContext"
1937
- }
2199
+ "text": "string"
2200
+ },
2201
+ "description": "Notification title (e.g. \"Criteria validation error\")"
1938
2202
  },
1939
2203
  {
1940
- "name": "definition",
1941
- "type": {
1942
- "text": "FoundationElementDefinition"
1943
- }
1944
- }
1945
- ]
1946
- }
1947
- ],
1948
- "exports": [
1949
- {
1950
- "kind": "js",
1951
- "name": "actionsMenuBaseStyles",
1952
- "declaration": {
1953
- "name": "actionsMenuBaseStyles",
1954
- "module": "src/actions-menu/actions-menu.styles.ts"
1955
- }
1956
- },
1957
- {
1958
- "kind": "js",
1959
- "name": "foundationActionsMenuStyles",
1960
- "declaration": {
1961
- "name": "foundationActionsMenuStyles",
1962
- "module": "src/actions-menu/actions-menu.styles.ts"
1963
- }
1964
- }
1965
- ]
1966
- },
1967
- {
1968
- "kind": "javascript-module",
1969
- "path": "src/actions-menu/actions-menu.template.ts",
1970
- "declarations": [
1971
- {
1972
- "kind": "function",
1973
- "name": "menuTemplate",
1974
- "parameters": [
1975
- {
1976
- "name": "prefix",
2204
+ "name": "body",
1977
2205
  "type": {
1978
2206
  "text": "string"
1979
- }
1980
- }
1981
- ]
1982
- },
1983
- {
1984
- "kind": "function",
1985
- "name": "singleOptionTemplate",
1986
- "parameters": [
2207
+ },
2208
+ "description": "Error message to display"
2209
+ },
1987
2210
  {
1988
- "name": "prefix",
2211
+ "name": "tagName",
1989
2212
  "type": {
1990
2213
  "text": "string"
1991
- }
2214
+ },
2215
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
1992
2216
  }
1993
- ]
1994
- },
1995
- {
1996
- "kind": "variable",
1997
- "name": "foundationActionsMenuTemplate",
1998
- "type": {
1999
- "text": "ViewTemplate<ActionsMenu>"
2000
- },
2001
- "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`"
2217
+ ],
2218
+ "description": "Shows a criteria error as a toast notification."
2002
2219
  }
2003
2220
  ],
2004
2221
  "exports": [
2005
2222
  {
2006
2223
  "kind": "js",
2007
- "name": "menuTemplate",
2008
- "declaration": {
2009
- "name": "menuTemplate",
2010
- "module": "src/actions-menu/actions-menu.template.ts"
2011
- }
2012
- },
2013
- {
2014
- "kind": "js",
2015
- "name": "singleOptionTemplate",
2224
+ "name": "formatValidationErrors",
2016
2225
  "declaration": {
2017
- "name": "singleOptionTemplate",
2018
- "module": "src/actions-menu/actions-menu.template.ts"
2226
+ "name": "formatValidationErrors",
2227
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2019
2228
  }
2020
2229
  },
2021
2230
  {
2022
2231
  "kind": "js",
2023
- "name": "foundationActionsMenuTemplate",
2232
+ "name": "showCriteriaError",
2024
2233
  "declaration": {
2025
- "name": "foundationActionsMenuTemplate",
2026
- "module": "src/actions-menu/actions-menu.template.ts"
2234
+ "name": "showCriteriaError",
2235
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2027
2236
  }
2028
2237
  }
2029
2238
  ]
2030
2239
  },
2031
2240
  {
2032
2241
  "kind": "javascript-module",
2033
- "path": "src/actions-menu/actions-menu.ts",
2242
+ "path": "src/_common/base-file-component.ts",
2034
2243
  "declarations": [
2035
2244
  {
2036
2245
  "kind": "class",
2037
- "description": "",
2038
- "name": "ActionsMenu",
2246
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
2247
+ "name": "BaseFileComponent",
2039
2248
  "members": [
2040
2249
  {
2041
2250
  "kind": "field",
2042
- "name": "actions",
2043
- "type": {
2044
- "text": "ActionMenuItem[]"
2045
- }
2046
- },
2047
- {
2048
- "kind": "field",
2049
- "name": "isVertical",
2050
- "type": {
2051
- "text": "boolean"
2052
- },
2053
- "default": "false"
2054
- },
2055
- {
2056
- "kind": "field",
2057
- "name": "addDefaultActions",
2058
- "type": {
2059
- "text": "boolean"
2060
- },
2061
- "default": "true"
2062
- },
2063
- {
2064
- "kind": "field",
2065
- "name": "autoCloseOnAction",
2251
+ "name": "fileInput",
2066
2252
  "type": {
2067
- "text": "boolean"
2253
+ "text": "HTMLInputElement"
2068
2254
  },
2069
- "default": "true"
2255
+ "privacy": "public"
2070
2256
  },
2071
2257
  {
2072
2258
  "kind": "field",
2073
- "name": "classNames",
2259
+ "name": "selectedFile",
2074
2260
  "type": {
2075
- "text": "string"
2076
- }
2261
+ "text": "File | null"
2262
+ },
2263
+ "privacy": "protected",
2264
+ "default": "null"
2077
2265
  },
2078
2266
  {
2079
2267
  "kind": "field",
2080
- "name": "definition",
2268
+ "name": "label",
2081
2269
  "type": {
2082
- "text": "any"
2270
+ "text": "string"
2083
2271
  }
2084
2272
  },
2085
2273
  {
2086
2274
  "kind": "field",
2087
- "name": "name",
2275
+ "name": "accept",
2088
2276
  "type": {
2089
2277
  "text": "string"
2090
2278
  },
2091
- "default": "'Actions'"
2092
- },
2093
- {
2094
- "kind": "field",
2095
- "name": "open",
2096
- "type": {
2097
- "text": "boolean"
2098
- },
2099
- "default": "false"
2279
+ "default": "''"
2100
2280
  },
2101
2281
  {
2102
2282
  "kind": "field",
2103
- "name": "buttonAppearance",
2283
+ "name": "fileSizeLimitBytes",
2284
+ "default": "10_485_760",
2104
2285
  "type": {
2105
- "text": "string"
2286
+ "text": "number"
2106
2287
  }
2107
2288
  },
2108
2289
  {
2109
2290
  "kind": "field",
2110
- "name": "hideDisabled",
2291
+ "name": "fileName",
2111
2292
  "type": {
2112
- "text": "boolean"
2293
+ "text": "string"
2113
2294
  },
2114
- "default": "false"
2295
+ "default": "''"
2115
2296
  },
2116
2297
  {
2117
2298
  "kind": "field",
2118
- "name": "hideMenuSingleOption",
2299
+ "name": "isProcessing",
2119
2300
  "type": {
2120
2301
  "text": "boolean"
2121
2302
  },
2122
2303
  "default": "false"
2123
2304
  },
2124
2305
  {
2125
- "kind": "field",
2126
- "name": "singleOption",
2127
- "type": {
2128
- "text": "ActionMenuItem"
2129
- }
2130
- },
2131
- {
2132
- "kind": "field",
2133
- "name": "actionsMenu",
2134
- "type": {
2135
- "text": "HTMLElement"
2136
- }
2306
+ "kind": "method",
2307
+ "name": "handleClick",
2308
+ "privacy": "public",
2309
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2137
2310
  },
2138
2311
  {
2139
2312
  "kind": "method",
2140
- "name": "definitionChanged",
2141
- "privacy": "protected",
2313
+ "name": "onInputChange",
2314
+ "privacy": "public",
2142
2315
  "parameters": [
2143
2316
  {
2144
- "name": "oldValue",
2145
- "type": {
2146
- "text": "any"
2147
- }
2148
- },
2149
- {
2150
- "name": "newValue",
2317
+ "name": "e",
2151
2318
  "type": {
2152
- "text": "any"
2153
- }
2319
+ "text": "Event"
2320
+ },
2321
+ "description": "The change event from the file input"
2154
2322
  }
2155
- ]
2323
+ ],
2324
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2156
2325
  },
2157
2326
  {
2158
2327
  "kind": "method",
2159
- "name": "openChanged",
2160
- "privacy": "protected"
2328
+ "name": "clearSelection",
2329
+ "privacy": "public",
2330
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
2161
2331
  },
2162
2332
  {
2163
2333
  "kind": "method",
2164
- "name": "toggleActionsMenuVisibility"
2334
+ "name": "getSelectedFile",
2335
+ "privacy": "public",
2336
+ "description": "Gets the currently selected file object",
2337
+ "return": {
2338
+ "type": {
2339
+ "text": ""
2340
+ }
2341
+ }
2165
2342
  },
2166
2343
  {
2167
2344
  "kind": "method",
2168
- "name": "onActionMenuItemClick",
2345
+ "name": "showError",
2346
+ "privacy": "protected",
2169
2347
  "parameters": [
2170
2348
  {
2171
- "name": "callback",
2349
+ "name": "title",
2172
2350
  "type": {
2173
- "text": "(rowData) => void | any"
2174
- }
2351
+ "text": "string"
2352
+ },
2353
+ "description": "The error title"
2354
+ },
2355
+ {
2356
+ "name": "message",
2357
+ "type": {
2358
+ "text": "string"
2359
+ },
2360
+ "description": "The error message"
2175
2361
  }
2176
- ]
2177
- },
2178
- {
2179
- "kind": "field",
2180
- "name": "allActions",
2181
- "type": {
2182
- "text": "ActionMenuItem[]"
2183
- },
2184
- "readonly": true
2185
- },
2186
- {
2187
- "kind": "field",
2188
- "name": "rowData",
2189
- "readonly": true
2362
+ ],
2363
+ "description": "Shows an error notification using the unified error handling system"
2190
2364
  },
2191
2365
  {
2192
2366
  "kind": "method",
2193
- "name": "getLabel",
2367
+ "name": "onFileSelected",
2368
+ "privacy": "protected",
2369
+ "return": {
2370
+ "type": {
2371
+ "text": "void"
2372
+ }
2373
+ },
2194
2374
  "parameters": [
2195
2375
  {
2196
- "name": "name",
2376
+ "name": "files",
2197
2377
  "type": {
2198
- "text": "string | ((rowData: any) => string)"
2199
- }
2378
+ "text": "File[]"
2379
+ },
2380
+ "description": "The selected file"
2200
2381
  }
2201
- ]
2382
+ ],
2383
+ "description": "Abstract method called when a file is selected"
2202
2384
  },
2203
2385
  {
2204
2386
  "kind": "method",
2205
- "name": "getTemplate",
2206
- "parameters": [
2207
- {
2208
- "name": "prefix",
2209
- "type": {
2210
- "text": "string"
2211
- }
2387
+ "name": "onFileCleared",
2388
+ "privacy": "protected",
2389
+ "return": {
2390
+ "type": {
2391
+ "text": "void"
2212
2392
  }
2213
- ]
2393
+ },
2394
+ "description": "Abstract method called when file selection is cleared"
2214
2395
  },
2215
2396
  {
2216
2397
  "kind": "field",
@@ -2326,105 +2507,79 @@
2326
2507
  ],
2327
2508
  "attributes": [
2328
2509
  {
2329
- "name": "is-vertical",
2330
- "type": {
2331
- "text": "boolean"
2332
- },
2333
- "default": "false",
2334
- "fieldName": "isVertical"
2335
- },
2336
- {
2337
- "name": "add-default-actions",
2338
- "type": {
2339
- "text": "boolean"
2340
- },
2341
- "default": "true",
2342
- "fieldName": "addDefaultActions"
2343
- },
2344
- {
2345
- "name": "auto-close-on-action",
2346
- "type": {
2347
- "text": "boolean"
2348
- },
2349
- "default": "true",
2350
- "fieldName": "autoCloseOnAction"
2351
- },
2352
- {
2353
- "name": "name",
2510
+ "name": "label",
2354
2511
  "type": {
2355
2512
  "text": "string"
2356
2513
  },
2357
- "default": "'Actions'",
2358
- "fieldName": "name"
2359
- },
2360
- {
2361
- "name": "open",
2362
- "type": {
2363
- "text": "boolean"
2364
- },
2365
- "default": "false",
2366
- "fieldName": "open"
2514
+ "fieldName": "label"
2367
2515
  },
2368
2516
  {
2369
- "name": "buttonAppearance",
2517
+ "name": "accept",
2370
2518
  "type": {
2371
2519
  "text": "string"
2372
2520
  },
2373
- "fieldName": "buttonAppearance"
2374
- },
2375
- {
2376
- "name": "hide-disabled",
2377
- "type": {
2378
- "text": "boolean"
2379
- },
2380
- "default": "false",
2381
- "fieldName": "hideDisabled"
2521
+ "default": "''",
2522
+ "fieldName": "accept"
2382
2523
  },
2383
2524
  {
2384
- "name": "hide-menu-single-option",
2385
- "type": {
2386
- "text": "boolean"
2525
+ "name": "file-size-limit-bytes",
2526
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
2527
+ "resolveInitializer": {
2528
+ "module": "src/_common/base-file-component.ts"
2387
2529
  },
2388
- "default": "false",
2389
- "fieldName": "hideMenuSingleOption"
2530
+ "fieldName": "fileSizeLimitBytes"
2390
2531
  }
2391
2532
  ],
2392
2533
  "superclass": {
2393
2534
  "name": "FoundationElement",
2394
2535
  "package": "@microsoft/fast-foundation"
2395
- },
2396
- "tagName": "%%prefix%%-actions-menu",
2397
- "customElement": true
2398
- },
2536
+ }
2537
+ }
2538
+ ],
2539
+ "exports": [
2399
2540
  {
2400
- "kind": "variable",
2401
- "name": "foundationActionsMenu",
2402
- "description": "The Foundation Actions Menu",
2403
- "privacy": "public"
2541
+ "kind": "js",
2542
+ "name": "BaseFileComponent",
2543
+ "declaration": {
2544
+ "name": "BaseFileComponent",
2545
+ "module": "src/_common/base-file-component.ts"
2546
+ }
2547
+ }
2548
+ ]
2549
+ },
2550
+ {
2551
+ "kind": "javascript-module",
2552
+ "path": "src/_common/icons.ts",
2553
+ "declarations": [
2554
+ {
2555
+ "kind": "function",
2556
+ "name": "closeIcon",
2557
+ "parameters": [
2558
+ {
2559
+ "name": "slot",
2560
+ "default": "'start'"
2561
+ },
2562
+ {
2563
+ "name": "fill",
2564
+ "default": "'#879ba6'"
2565
+ }
2566
+ ]
2404
2567
  }
2405
2568
  ],
2406
2569
  "exports": [
2407
2570
  {
2408
2571
  "kind": "js",
2409
- "name": "ActionsMenu",
2410
- "declaration": {
2411
- "name": "ActionsMenu",
2412
- "module": "src/actions-menu/actions-menu.ts"
2413
- }
2414
- },
2415
- {
2416
- "kind": "js",
2417
- "name": "foundationActionsMenu",
2572
+ "name": "closeIcon",
2418
2573
  "declaration": {
2419
- "name": "foundationActionsMenu",
2420
- "module": "src/actions-menu/actions-menu.ts"
2574
+ "name": "closeIcon",
2575
+ "module": "src/_common/icons.ts"
2421
2576
  }
2422
2577
  }
2423
2578
  ]
2424
2579
  },
2425
2580
  {
2426
2581
  "kind": "javascript-module",
2427
- "path": "src/actions-menu/index.ts",
2582
+ "path": "src/_common/index.ts",
2428
2583
  "declarations": [],
2429
2584
  "exports": [
2430
2585
  {
@@ -2432,15 +2587,7 @@
2432
2587
  "name": "*",
2433
2588
  "declaration": {
2434
2589
  "name": "*",
2435
- "package": "./actions-menu.styles"
2436
- }
2437
- },
2438
- {
2439
- "kind": "js",
2440
- "name": "*",
2441
- "declaration": {
2442
- "name": "*",
2443
- "package": "./actions-menu.template"
2590
+ "package": "./base-file-component"
2444
2591
  }
2445
2592
  },
2446
2593
  {
@@ -2448,64 +2595,82 @@
2448
2595
  "name": "*",
2449
2596
  "declaration": {
2450
2597
  "name": "*",
2451
- "package": "./actions-menu"
2598
+ "package": "./icons"
2452
2599
  }
2453
2600
  }
2454
2601
  ]
2455
2602
  },
2456
2603
  {
2457
2604
  "kind": "javascript-module",
2458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2605
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2459
2606
  "declarations": [
2460
2607
  {
2461
- "kind": "variable",
2462
- "name": "foundationAiCriteriaSearchStyles",
2463
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2608
+ "kind": "function",
2609
+ "name": "foundationAiIndicatorStyles",
2610
+ "return": {
2611
+ "type": {
2612
+ "text": "ElementStyles"
2613
+ }
2614
+ },
2615
+ "parameters": [
2616
+ {
2617
+ "name": "context",
2618
+ "type": {
2619
+ "text": "ElementDefinitionContext"
2620
+ }
2621
+ },
2622
+ {
2623
+ "name": "definition",
2624
+ "type": {
2625
+ "text": "FoundationElementDefinition"
2626
+ }
2627
+ }
2628
+ ]
2464
2629
  }
2465
2630
  ],
2466
2631
  "exports": [
2467
2632
  {
2468
2633
  "kind": "js",
2469
- "name": "foundationAiCriteriaSearchStyles",
2634
+ "name": "foundationAiIndicatorStyles",
2470
2635
  "declaration": {
2471
- "name": "foundationAiCriteriaSearchStyles",
2472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2636
+ "name": "foundationAiIndicatorStyles",
2637
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2473
2638
  }
2474
2639
  }
2475
2640
  ]
2476
2641
  },
2477
2642
  {
2478
2643
  "kind": "javascript-module",
2479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2644
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2480
2645
  "declarations": [
2481
2646
  {
2482
2647
  "kind": "variable",
2483
- "name": "foundationAiCriteriaSearchTemplate",
2648
+ "name": "foundationAiIndicatorTemplate",
2484
2649
  "type": {
2485
- "text": "ViewTemplate<AiCriteriaSearch>"
2650
+ "text": "ViewTemplate<AiIndicator>"
2486
2651
  },
2487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2652
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2488
2653
  }
2489
2654
  ],
2490
2655
  "exports": [
2491
2656
  {
2492
2657
  "kind": "js",
2493
- "name": "foundationAiCriteriaSearchTemplate",
2658
+ "name": "foundationAiIndicatorTemplate",
2494
2659
  "declaration": {
2495
- "name": "foundationAiCriteriaSearchTemplate",
2496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2660
+ "name": "foundationAiIndicatorTemplate",
2661
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2497
2662
  }
2498
2663
  }
2499
2664
  ]
2500
2665
  },
2501
2666
  {
2502
2667
  "kind": "javascript-module",
2503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2668
+ "path": "src/ai-indicator/ai-indicator.ts",
2504
2669
  "declarations": [
2505
2670
  {
2506
2671
  "kind": "class",
2507
2672
  "description": "",
2508
- "name": "AiCriteriaSearch",
2673
+ "name": "AiIndicator",
2509
2674
  "members": [
2510
2675
  {
2511
2676
  "kind": "field",
@@ -2516,38 +2681,31 @@
2516
2681
  },
2517
2682
  {
2518
2683
  "kind": "field",
2519
- "name": "placeholder",
2684
+ "name": "status",
2520
2685
  "type": {
2521
- "text": "string"
2686
+ "text": "AIStatus | null"
2522
2687
  },
2523
- "default": "'Describe your search criteria in natural language...'"
2688
+ "default": "null"
2524
2689
  },
2525
2690
  {
2526
2691
  "kind": "field",
2527
- "name": "disabled",
2692
+ "name": "open",
2528
2693
  "type": {
2529
2694
  "text": "boolean"
2530
- }
2531
- },
2532
- {
2533
- "kind": "field",
2534
- "name": "mode",
2535
- "type": {
2536
- "text": "'append' | 'replace'"
2537
2695
  },
2538
- "default": "'replace'"
2696
+ "default": "false"
2539
2697
  },
2540
2698
  {
2541
2699
  "kind": "field",
2542
- "name": "inputValue",
2700
+ "name": "state",
2543
2701
  "type": {
2544
- "text": "string"
2702
+ "text": "AIIndicatorState"
2545
2703
  },
2546
- "default": "''"
2704
+ "default": "'none'"
2547
2705
  },
2548
2706
  {
2549
2707
  "kind": "field",
2550
- "name": "isInterpreting",
2708
+ "name": "isInstalling",
2551
2709
  "type": {
2552
2710
  "text": "boolean"
2553
2711
  },
@@ -2555,91 +2713,133 @@
2555
2713
  },
2556
2714
  {
2557
2715
  "kind": "field",
2558
- "name": "lastValidCriteria",
2716
+ "name": "pollTimer",
2559
2717
  "type": {
2560
- "text": "string | null"
2718
+ "text": "ReturnType<typeof setInterval> | null"
2561
2719
  },
2720
+ "privacy": "private",
2562
2721
  "default": "null"
2563
2722
  },
2564
2723
  {
2565
2724
  "kind": "field",
2566
- "name": "fieldMetadata",
2567
- "type": {
2568
- "text": "MetadataDetail[] | string[]"
2569
- },
2570
- "default": "[]"
2725
+ "name": "clickOutside",
2726
+ "privacy": "private"
2571
2727
  },
2572
2728
  {
2573
2729
  "kind": "field",
2574
- "name": "isRecording",
2730
+ "name": "chromeStatusLabel",
2575
2731
  "type": {
2576
- "text": "boolean"
2732
+ "text": "string | null"
2577
2733
  },
2578
- "default": "false"
2734
+ "readonly": true
2579
2735
  },
2580
2736
  {
2581
2737
  "kind": "field",
2582
- "name": "textAreaRef",
2738
+ "name": "canInstall",
2583
2739
  "type": {
2584
- "text": "HTMLTextAreaElement"
2740
+ "text": "boolean"
2585
2741
  },
2586
- "privacy": "public"
2742
+ "readonly": true
2587
2743
  },
2588
2744
  {
2589
2745
  "kind": "field",
2590
- "name": "stopRecording",
2746
+ "name": "isDownloading",
2591
2747
  "type": {
2592
- "text": "(() => void) | null"
2748
+ "text": "boolean"
2593
2749
  },
2594
- "privacy": "private",
2595
- "default": "null"
2750
+ "readonly": true
2596
2751
  },
2597
2752
  {
2598
- "kind": "field",
2599
- "name": "speechApplyDebounceTimer",
2600
- "type": {
2601
- "text": "ReturnType<typeof setTimeout> | null"
2602
- },
2603
- "privacy": "private",
2604
- "default": "null"
2753
+ "kind": "method",
2754
+ "name": "openChanged",
2755
+ "return": {
2756
+ "type": {
2757
+ "text": "void"
2758
+ }
2759
+ }
2605
2760
  },
2606
2761
  {
2607
- "kind": "field",
2608
- "name": "baseInputForAppend",
2609
- "type": {
2610
- "text": "string"
2611
- },
2762
+ "kind": "method",
2763
+ "name": "handleClickOutside",
2612
2764
  "privacy": "private",
2613
- "default": "''"
2765
+ "parameters": [
2766
+ {
2767
+ "name": "event",
2768
+ "type": {
2769
+ "text": "MouseEvent"
2770
+ }
2771
+ }
2772
+ ]
2614
2773
  },
2615
2774
  {
2616
- "kind": "field",
2617
- "name": "speechAvailable",
2618
- "type": {
2619
- "text": "boolean"
2620
- },
2621
- "readonly": true
2775
+ "kind": "method",
2776
+ "name": "toggleDropdown"
2622
2777
  },
2623
2778
  {
2624
2779
  "kind": "method",
2625
- "name": "handleSubmit"
2780
+ "name": "refreshStatus",
2781
+ "return": {
2782
+ "type": {
2783
+ "text": "Promise<void>"
2784
+ }
2785
+ }
2626
2786
  },
2627
2787
  {
2628
2788
  "kind": "method",
2629
- "name": "handleBlur"
2789
+ "name": "deriveState",
2790
+ "privacy": "private",
2791
+ "return": {
2792
+ "type": {
2793
+ "text": "AIIndicatorState"
2794
+ }
2795
+ },
2796
+ "parameters": [
2797
+ {
2798
+ "name": "s",
2799
+ "type": {
2800
+ "text": "AIStatus | null"
2801
+ }
2802
+ }
2803
+ ]
2630
2804
  },
2631
2805
  {
2632
2806
  "kind": "method",
2633
- "name": "clear"
2807
+ "name": "maybeStartPolling",
2808
+ "privacy": "private",
2809
+ "return": {
2810
+ "type": {
2811
+ "text": "void"
2812
+ }
2813
+ }
2634
2814
  },
2635
2815
  {
2636
2816
  "kind": "method",
2637
- "name": "toggleSpeechInput"
2817
+ "name": "startPolling",
2818
+ "privacy": "private",
2819
+ "return": {
2820
+ "type": {
2821
+ "text": "void"
2822
+ }
2823
+ }
2638
2824
  },
2639
2825
  {
2640
2826
  "kind": "method",
2641
- "name": "clearSpeechApplyDebounce",
2642
- "privacy": "private"
2827
+ "name": "stopPolling",
2828
+ "privacy": "private",
2829
+ "return": {
2830
+ "type": {
2831
+ "text": "void"
2832
+ }
2833
+ }
2834
+ },
2835
+ {
2836
+ "kind": "method",
2837
+ "name": "onInstall",
2838
+ "return": {
2839
+ "type": {
2840
+ "text": "Promise<void>"
2841
+ }
2842
+ }
2643
2843
  },
2644
2844
  {
2645
2845
  "kind": "field",
@@ -2749,261 +2949,145 @@
2749
2949
  "description": "Defines an element registry function with a set of element definition defaults.",
2750
2950
  "inheritedFrom": {
2751
2951
  "name": "FoundationElement",
2752
- "module": "src/foundation-element/foundation-element.ts"
2753
- }
2754
- }
2755
- ],
2756
- "attributes": [
2757
- {
2758
- "name": "placeholder",
2759
- "type": {
2760
- "text": "string"
2761
- },
2762
- "default": "'Describe your search criteria in natural language...'",
2763
- "fieldName": "placeholder"
2764
- },
2765
- {
2766
- "type": {
2767
- "text": "boolean"
2768
- },
2769
- "fieldName": "disabled"
2770
- },
2771
- {
2772
- "name": "mode",
2773
- "type": {
2774
- "text": "'append' | 'replace'"
2775
- },
2776
- "default": "'replace'",
2777
- "fieldName": "mode"
2952
+ "module": "src/foundation-element/foundation-element.ts"
2953
+ }
2778
2954
  }
2779
2955
  ],
2780
2956
  "superclass": {
2781
2957
  "name": "FoundationElement",
2782
2958
  "package": "@microsoft/fast-foundation"
2783
2959
  },
2784
- "tagName": "%%prefix%%-ai-criteria-search",
2960
+ "tagName": "%%prefix%%-ai-indicator",
2785
2961
  "customElement": true
2786
2962
  },
2787
2963
  {
2788
2964
  "kind": "variable",
2789
- "name": "foundationAiCriteriaSearchShadowOptions",
2790
- "type": {
2791
- "text": "ShadowRootInit"
2792
- },
2793
- "default": "undefined"
2794
- },
2795
- {
2796
- "kind": "variable",
2797
- "name": "defaultAiCriteriaSearchConfig",
2798
- "type": {
2799
- "text": "object"
2800
- },
2801
- "default": "{}"
2802
- },
2803
- {
2804
- "kind": "variable",
2805
- "name": "foundationAiCriteriaSearch"
2965
+ "name": "foundationAiIndicator"
2806
2966
  }
2807
2967
  ],
2808
2968
  "exports": [
2809
2969
  {
2810
2970
  "kind": "js",
2811
- "name": "AiCriteriaSearch",
2812
- "declaration": {
2813
- "name": "AiCriteriaSearch",
2814
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2815
- }
2816
- },
2817
- {
2818
- "kind": "js",
2819
- "name": "foundationAiCriteriaSearchShadowOptions",
2820
- "declaration": {
2821
- "name": "foundationAiCriteriaSearchShadowOptions",
2822
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2823
- }
2824
- },
2825
- {
2826
- "kind": "js",
2827
- "name": "defaultAiCriteriaSearchConfig",
2971
+ "name": "AiIndicator",
2828
2972
  "declaration": {
2829
- "name": "defaultAiCriteriaSearchConfig",
2830
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2973
+ "name": "AiIndicator",
2974
+ "module": "src/ai-indicator/ai-indicator.ts"
2831
2975
  }
2832
2976
  },
2833
2977
  {
2834
2978
  "kind": "js",
2835
- "name": "foundationAiCriteriaSearch",
2979
+ "name": "foundationAiIndicator",
2836
2980
  "declaration": {
2837
- "name": "foundationAiCriteriaSearch",
2838
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2981
+ "name": "foundationAiIndicator",
2982
+ "module": "src/ai-indicator/ai-indicator.ts"
2839
2983
  }
2840
2984
  }
2841
2985
  ]
2842
2986
  },
2843
2987
  {
2844
2988
  "kind": "javascript-module",
2845
- "path": "src/ai-criteria-search/index.ts",
2989
+ "path": "src/ai-indicator/index.ts",
2846
2990
  "declarations": [],
2847
2991
  "exports": [
2848
2992
  {
2849
2993
  "kind": "js",
2850
- "name": "AiCriteriaSearch",
2851
- "declaration": {
2852
- "name": "AiCriteriaSearch",
2853
- "module": "./ai-criteria-search"
2854
- }
2855
- },
2856
- {
2857
- "kind": "js",
2858
- "name": "defaultAiCriteriaSearchConfig",
2859
- "declaration": {
2860
- "name": "defaultAiCriteriaSearchConfig",
2861
- "module": "./ai-criteria-search"
2862
- }
2863
- },
2864
- {
2865
- "kind": "js",
2866
- "name": "foundationAiCriteriaSearch",
2867
- "declaration": {
2868
- "name": "foundationAiCriteriaSearch",
2869
- "module": "./ai-criteria-search"
2870
- }
2871
- },
2872
- {
2873
- "kind": "js",
2874
- "name": "foundationAiCriteriaSearchShadowOptions",
2994
+ "name": "AiIndicator",
2875
2995
  "declaration": {
2876
- "name": "foundationAiCriteriaSearchShadowOptions",
2877
- "module": "./ai-criteria-search"
2996
+ "name": "AiIndicator",
2997
+ "module": "./ai-indicator"
2878
2998
  }
2879
2999
  },
2880
3000
  {
2881
3001
  "kind": "js",
2882
- "name": "foundationAiCriteriaSearchStyles",
3002
+ "name": "foundationAiIndicator",
2883
3003
  "declaration": {
2884
- "name": "foundationAiCriteriaSearchStyles",
2885
- "module": "./ai-criteria-search.styles"
3004
+ "name": "foundationAiIndicator",
3005
+ "module": "./ai-indicator"
2886
3006
  }
2887
3007
  },
2888
3008
  {
2889
3009
  "kind": "js",
2890
- "name": "foundationAiCriteriaSearchTemplate",
3010
+ "name": "type",
2891
3011
  "declaration": {
2892
- "name": "foundationAiCriteriaSearchTemplate",
2893
- "module": "./ai-criteria-search.template"
3012
+ "name": "type",
3013
+ "module": "./ai-indicator"
2894
3014
  }
2895
3015
  },
2896
3016
  {
2897
3017
  "kind": "js",
2898
- "name": "*",
3018
+ "name": "AIIndicatorState",
2899
3019
  "declaration": {
2900
- "name": "*",
2901
- "package": "./validation/criteria-ir"
3020
+ "name": "AIIndicatorState",
3021
+ "module": "./ai-indicator"
2902
3022
  }
2903
3023
  },
2904
3024
  {
2905
3025
  "kind": "js",
2906
- "name": "*",
3026
+ "name": "foundationAiIndicatorTemplate",
2907
3027
  "declaration": {
2908
- "name": "*",
2909
- "package": "./validation/operator-map"
3028
+ "name": "foundationAiIndicatorTemplate",
3029
+ "module": "./ai-indicator.template"
2910
3030
  }
2911
3031
  },
2912
3032
  {
2913
3033
  "kind": "js",
2914
- "name": "*",
3034
+ "name": "foundationAiIndicatorStyles",
2915
3035
  "declaration": {
2916
- "name": "*",
2917
- "package": "./validation/schema-validator"
3036
+ "name": "foundationAiIndicatorStyles",
3037
+ "module": "./ai-indicator.styles"
2918
3038
  }
2919
3039
  }
2920
3040
  ]
2921
3041
  },
2922
3042
  {
2923
3043
  "kind": "javascript-module",
2924
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3044
+ "path": "src/accordion-item/accordion-item.styles.ts",
2925
3045
  "declarations": [
2926
3046
  {
2927
3047
  "kind": "function",
2928
- "name": "formatValidationErrors",
3048
+ "name": "foundationAccordionItemStyles",
2929
3049
  "return": {
2930
3050
  "type": {
2931
- "text": "string"
3051
+ "text": "ElementStyles"
2932
3052
  }
2933
3053
  },
2934
3054
  "parameters": [
2935
3055
  {
2936
- "name": "errors",
3056
+ "name": "context",
2937
3057
  "type": {
2938
- "text": "ValidationError[]"
3058
+ "text": "ElementDefinitionContext"
2939
3059
  }
2940
- }
2941
- ],
2942
- "description": "Formats validation errors into a user-friendly message."
2943
- },
2944
- {
2945
- "kind": "function",
2946
- "name": "showCriteriaError",
2947
- "return": {
2948
- "type": {
2949
- "text": "void"
2950
- }
2951
- },
2952
- "parameters": [
2953
- {
2954
- "name": "title",
2955
- "type": {
2956
- "text": "string"
2957
- },
2958
- "description": "Notification title (e.g. \"Criteria validation error\")"
2959
- },
2960
- {
2961
- "name": "body",
2962
- "type": {
2963
- "text": "string"
2964
- },
2965
- "description": "Error message to display"
2966
3060
  },
2967
3061
  {
2968
- "name": "tagName",
3062
+ "name": "definition",
2969
3063
  "type": {
2970
- "text": "string"
2971
- },
2972
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3064
+ "text": "FoundationElementDefinition"
3065
+ }
2973
3066
  }
2974
- ],
2975
- "description": "Shows a criteria error as a toast notification."
3067
+ ]
2976
3068
  }
2977
3069
  ],
2978
3070
  "exports": [
2979
3071
  {
2980
3072
  "kind": "js",
2981
- "name": "formatValidationErrors",
2982
- "declaration": {
2983
- "name": "formatValidationErrors",
2984
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2985
- }
2986
- },
2987
- {
2988
- "kind": "js",
2989
- "name": "showCriteriaError",
3073
+ "name": "foundationAccordionItemStyles",
2990
3074
  "declaration": {
2991
- "name": "showCriteriaError",
2992
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3075
+ "name": "foundationAccordionItemStyles",
3076
+ "module": "src/accordion-item/accordion-item.styles.ts"
2993
3077
  }
2994
3078
  }
2995
3079
  ]
2996
3080
  },
2997
3081
  {
2998
3082
  "kind": "javascript-module",
2999
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3083
+ "path": "src/accordion-item/accordion-item.template.ts",
3000
3084
  "declarations": [
3001
3085
  {
3002
3086
  "kind": "function",
3003
- "name": "foundationAiIndicatorStyles",
3087
+ "name": "foundationAccordionItemTemplate",
3004
3088
  "return": {
3005
3089
  "type": {
3006
- "text": "ElementStyles"
3090
+ "text": "ViewTemplate<AccordionItem>"
3007
3091
  }
3008
3092
  },
3009
3093
  "parameters": [
@@ -3025,214 +3109,116 @@
3025
3109
  "exports": [
3026
3110
  {
3027
3111
  "kind": "js",
3028
- "name": "foundationAiIndicatorStyles",
3029
- "declaration": {
3030
- "name": "foundationAiIndicatorStyles",
3031
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3032
- }
3033
- }
3034
- ]
3035
- },
3036
- {
3037
- "kind": "javascript-module",
3038
- "path": "src/ai-indicator/ai-indicator.template.ts",
3039
- "declarations": [
3040
- {
3041
- "kind": "variable",
3042
- "name": "foundationAiIndicatorTemplate",
3043
- "type": {
3044
- "text": "ViewTemplate<AiIndicator>"
3045
- },
3046
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3047
- }
3048
- ],
3049
- "exports": [
3050
- {
3051
- "kind": "js",
3052
- "name": "foundationAiIndicatorTemplate",
3112
+ "name": "foundationAccordionItemTemplate",
3053
3113
  "declaration": {
3054
- "name": "foundationAiIndicatorTemplate",
3055
- "module": "src/ai-indicator/ai-indicator.template.ts"
3114
+ "name": "foundationAccordionItemTemplate",
3115
+ "module": "src/accordion-item/accordion-item.template.ts"
3056
3116
  }
3057
3117
  }
3058
3118
  ]
3059
3119
  },
3060
3120
  {
3061
3121
  "kind": "javascript-module",
3062
- "path": "src/ai-indicator/ai-indicator.ts",
3122
+ "path": "src/accordion-item/accordion-item.ts",
3063
3123
  "declarations": [
3064
3124
  {
3065
3125
  "kind": "class",
3066
3126
  "description": "",
3067
- "name": "AiIndicator",
3068
- "members": [
3069
- {
3070
- "kind": "field",
3071
- "name": "aiProvider",
3072
- "type": {
3073
- "text": "AIProvider"
3074
- }
3075
- },
3076
- {
3077
- "kind": "field",
3078
- "name": "status",
3079
- "type": {
3080
- "text": "AIStatus | null"
3081
- },
3082
- "default": "null"
3083
- },
3084
- {
3085
- "kind": "field",
3086
- "name": "open",
3087
- "type": {
3088
- "text": "boolean"
3089
- },
3090
- "default": "false"
3091
- },
3127
+ "name": "AccordionItem",
3128
+ "superclass": {
3129
+ "name": "FASTAccordionItem",
3130
+ "package": "@microsoft/fast-components"
3131
+ },
3132
+ "tagName": "%%prefix%%-accordion-item",
3133
+ "customElement": true,
3134
+ "attributes": [
3092
3135
  {
3093
- "kind": "field",
3094
- "name": "state",
3136
+ "name": "heading-level",
3095
3137
  "type": {
3096
- "text": "AIIndicatorState"
3138
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3097
3139
  },
3098
- "default": "'none'"
3140
+ "default": "2",
3141
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3142
+ "fieldName": "headinglevel",
3143
+ "inheritedFrom": {
3144
+ "name": "AccordionItem",
3145
+ "module": "src/accordion-item/accordion-item.ts"
3146
+ }
3099
3147
  },
3100
3148
  {
3101
- "kind": "field",
3102
- "name": "isInstalling",
3103
3149
  "type": {
3104
3150
  "text": "boolean"
3105
3151
  },
3106
- "default": "false"
3152
+ "default": "false",
3153
+ "description": "Expands or collapses the item.",
3154
+ "fieldName": "expanded",
3155
+ "inheritedFrom": {
3156
+ "name": "AccordionItem",
3157
+ "module": "src/accordion-item/accordion-item.ts"
3158
+ }
3107
3159
  },
3108
3160
  {
3109
- "kind": "field",
3110
- "name": "pollTimer",
3161
+ "name": "id",
3111
3162
  "type": {
3112
- "text": "ReturnType<typeof setInterval> | null"
3163
+ "text": "string"
3113
3164
  },
3114
- "privacy": "private",
3115
- "default": "null"
3116
- },
3117
- {
3118
- "kind": "field",
3119
- "name": "clickOutside",
3120
- "privacy": "private"
3121
- },
3165
+ "description": "The item ID",
3166
+ "fieldName": "id",
3167
+ "inheritedFrom": {
3168
+ "name": "AccordionItem",
3169
+ "module": "src/accordion-item/accordion-item.ts"
3170
+ }
3171
+ }
3172
+ ],
3173
+ "members": [
3122
3174
  {
3123
3175
  "kind": "field",
3124
- "name": "chromeStatusLabel",
3176
+ "name": "headinglevel",
3125
3177
  "type": {
3126
- "text": "string | null"
3178
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3127
3179
  },
3128
- "readonly": true
3180
+ "privacy": "public",
3181
+ "default": "2",
3182
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3183
+ "inheritedFrom": {
3184
+ "name": "AccordionItem",
3185
+ "module": "src/accordion-item/accordion-item.ts"
3186
+ }
3129
3187
  },
3130
3188
  {
3131
3189
  "kind": "field",
3132
- "name": "canInstall",
3190
+ "name": "expanded",
3133
3191
  "type": {
3134
3192
  "text": "boolean"
3135
3193
  },
3136
- "readonly": true
3194
+ "privacy": "public",
3195
+ "default": "false",
3196
+ "description": "Expands or collapses the item.",
3197
+ "inheritedFrom": {
3198
+ "name": "AccordionItem",
3199
+ "module": "src/accordion-item/accordion-item.ts"
3200
+ }
3137
3201
  },
3138
3202
  {
3139
3203
  "kind": "field",
3140
- "name": "isDownloading",
3204
+ "name": "id",
3141
3205
  "type": {
3142
- "text": "boolean"
3143
- },
3144
- "readonly": true
3145
- },
3146
- {
3147
- "kind": "method",
3148
- "name": "openChanged",
3149
- "return": {
3150
- "type": {
3151
- "text": "void"
3152
- }
3153
- }
3154
- },
3155
- {
3156
- "kind": "method",
3157
- "name": "handleClickOutside",
3158
- "privacy": "private",
3159
- "parameters": [
3160
- {
3161
- "name": "event",
3162
- "type": {
3163
- "text": "MouseEvent"
3164
- }
3165
- }
3166
- ]
3167
- },
3168
- {
3169
- "kind": "method",
3170
- "name": "toggleDropdown"
3171
- },
3172
- {
3173
- "kind": "method",
3174
- "name": "refreshStatus",
3175
- "return": {
3176
- "type": {
3177
- "text": "Promise<void>"
3178
- }
3179
- }
3180
- },
3181
- {
3182
- "kind": "method",
3183
- "name": "deriveState",
3184
- "privacy": "private",
3185
- "return": {
3186
- "type": {
3187
- "text": "AIIndicatorState"
3188
- }
3206
+ "text": "string"
3189
3207
  },
3190
- "parameters": [
3191
- {
3192
- "name": "s",
3193
- "type": {
3194
- "text": "AIStatus | null"
3195
- }
3196
- }
3197
- ]
3198
- },
3199
- {
3200
- "kind": "method",
3201
- "name": "maybeStartPolling",
3202
- "privacy": "private",
3203
- "return": {
3204
- "type": {
3205
- "text": "void"
3206
- }
3207
- }
3208
- },
3209
- {
3210
- "kind": "method",
3211
- "name": "startPolling",
3212
- "privacy": "private",
3213
- "return": {
3214
- "type": {
3215
- "text": "void"
3216
- }
3208
+ "privacy": "public",
3209
+ "description": "The item ID",
3210
+ "inheritedFrom": {
3211
+ "name": "AccordionItem",
3212
+ "module": "src/accordion-item/accordion-item.ts"
3217
3213
  }
3218
3214
  },
3219
3215
  {
3220
- "kind": "method",
3221
- "name": "stopPolling",
3216
+ "kind": "field",
3217
+ "name": "change",
3222
3218
  "privacy": "private",
3223
- "return": {
3224
- "type": {
3225
- "text": "void"
3226
- }
3227
- }
3228
- },
3229
- {
3230
- "kind": "method",
3231
- "name": "onInstall",
3232
- "return": {
3233
- "type": {
3234
- "text": "Promise<void>"
3235
- }
3219
+ "inheritedFrom": {
3220
+ "name": "AccordionItem",
3221
+ "module": "src/accordion-item/accordion-item.ts"
3236
3222
  }
3237
3223
  },
3238
3224
  {
@@ -3347,88 +3333,102 @@
3347
3333
  }
3348
3334
  }
3349
3335
  ],
3350
- "superclass": {
3351
- "name": "FoundationElement",
3352
- "package": "@microsoft/fast-foundation"
3336
+ "events": [
3337
+ {
3338
+ "description": "Fires a custom 'change' event when the button is invoked",
3339
+ "name": "change",
3340
+ "inheritedFrom": {
3341
+ "name": "AccordionItem",
3342
+ "module": "src/accordion-item/accordion-item.ts"
3343
+ }
3344
+ }
3345
+ ]
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionItemShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3353
3352
  },
3354
- "tagName": "%%prefix%%-ai-indicator",
3355
- "customElement": true
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3356
3354
  },
3357
3355
  {
3358
3356
  "kind": "variable",
3359
- "name": "foundationAiIndicator"
3357
+ "name": "defaultAccordionItemConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "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}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordionItem",
3366
+ "description": "The Foundation Accordion Item",
3367
+ "privacy": "public"
3360
3368
  }
3361
3369
  ],
3362
3370
  "exports": [
3363
3371
  {
3364
3372
  "kind": "js",
3365
- "name": "AiIndicator",
3373
+ "name": "AccordionItem",
3366
3374
  "declaration": {
3367
- "name": "AiIndicator",
3368
- "module": "src/ai-indicator/ai-indicator.ts"
3375
+ "name": "AccordionItem",
3376
+ "module": "src/accordion-item/accordion-item.ts"
3369
3377
  }
3370
3378
  },
3371
3379
  {
3372
3380
  "kind": "js",
3373
- "name": "foundationAiIndicator",
3374
- "declaration": {
3375
- "name": "foundationAiIndicator",
3376
- "module": "src/ai-indicator/ai-indicator.ts"
3377
- }
3378
- }
3379
- ]
3380
- },
3381
- {
3382
- "kind": "javascript-module",
3383
- "path": "src/ai-indicator/index.ts",
3384
- "declarations": [],
3385
- "exports": [
3386
- {
3387
- "kind": "js",
3388
- "name": "AiIndicator",
3381
+ "name": "foundationAccordionItemShadowOptions",
3389
3382
  "declaration": {
3390
- "name": "AiIndicator",
3391
- "module": "./ai-indicator"
3383
+ "name": "foundationAccordionItemShadowOptions",
3384
+ "module": "src/accordion-item/accordion-item.ts"
3392
3385
  }
3393
3386
  },
3394
3387
  {
3395
3388
  "kind": "js",
3396
- "name": "foundationAiIndicator",
3389
+ "name": "defaultAccordionItemConfig",
3397
3390
  "declaration": {
3398
- "name": "foundationAiIndicator",
3399
- "module": "./ai-indicator"
3391
+ "name": "defaultAccordionItemConfig",
3392
+ "module": "src/accordion-item/accordion-item.ts"
3400
3393
  }
3401
3394
  },
3402
3395
  {
3403
3396
  "kind": "js",
3404
- "name": "type",
3397
+ "name": "foundationAccordionItem",
3405
3398
  "declaration": {
3406
- "name": "type",
3407
- "module": "./ai-indicator"
3399
+ "name": "foundationAccordionItem",
3400
+ "module": "src/accordion-item/accordion-item.ts"
3408
3401
  }
3409
- },
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion-item/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
3410
  {
3411
3411
  "kind": "js",
3412
- "name": "AIIndicatorState",
3412
+ "name": "*",
3413
3413
  "declaration": {
3414
- "name": "AIIndicatorState",
3415
- "module": "./ai-indicator"
3414
+ "name": "*",
3415
+ "package": "./accordion-item.template"
3416
3416
  }
3417
3417
  },
3418
3418
  {
3419
3419
  "kind": "js",
3420
- "name": "foundationAiIndicatorTemplate",
3420
+ "name": "*",
3421
3421
  "declaration": {
3422
- "name": "foundationAiIndicatorTemplate",
3423
- "module": "./ai-indicator.template"
3422
+ "name": "*",
3423
+ "package": "./accordion-item.styles"
3424
3424
  }
3425
3425
  },
3426
3426
  {
3427
3427
  "kind": "js",
3428
- "name": "foundationAiIndicatorStyles",
3428
+ "name": "*",
3429
3429
  "declaration": {
3430
- "name": "foundationAiIndicatorStyles",
3431
- "module": "./ai-indicator.styles"
3430
+ "name": "*",
3431
+ "package": "./accordion-item"
3432
3432
  }
3433
3433
  }
3434
3434
  ]