@genesislcap/foundation-ui 15.86.1-FUI-2666.3 → 15.86.1-GENC-0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -958,27 +958,44 @@
958
958
  },
959
959
  {
960
960
  "kind": "javascript-module",
961
- "path": "src/accordion-item/accordion-item.styles.ts",
961
+ "path": "src/_common/affix-mixin.ts",
962
962
  "declarations": [
963
963
  {
964
- "kind": "function",
965
- "name": "foundationAccordionItemStyles",
966
- "return": {
967
- "type": {
968
- "text": "ElementStyles"
969
- }
970
- },
971
- "parameters": [
964
+ "kind": "mixin",
965
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
966
+ "name": "AffixMixin",
967
+ "members": [
972
968
  {
973
- "name": "context",
969
+ "kind": "field",
970
+ "name": "prefix",
974
971
  "type": {
975
- "text": "ElementDefinitionContext"
976
- }
972
+ "text": "string"
973
+ },
974
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
977
975
  },
978
976
  {
979
- "name": "definition",
977
+ "kind": "field",
978
+ "name": "suffix",
980
979
  "type": {
981
- "text": "FoundationElementDefinition"
980
+ "text": "string"
981
+ },
982
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "hideAffixFromScreenReader",
987
+ "type": {
988
+ "text": "boolean"
989
+ },
990
+ "default": "false",
991
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
992
+ }
993
+ ],
994
+ "parameters": [
995
+ {
996
+ "name": "Base",
997
+ "type": {
998
+ "text": "TBase"
982
999
  }
983
1000
  }
984
1001
  ]
@@ -987,157 +1004,233 @@
987
1004
  "exports": [
988
1005
  {
989
1006
  "kind": "js",
990
- "name": "foundationAccordionItemStyles",
1007
+ "name": "AffixMixin",
991
1008
  "declaration": {
992
- "name": "foundationAccordionItemStyles",
993
- "module": "src/accordion-item/accordion-item.styles.ts"
1009
+ "name": "AffixMixin",
1010
+ "module": "src/_common/affix-mixin.ts"
994
1011
  }
995
1012
  }
996
1013
  ]
997
1014
  },
998
1015
  {
999
1016
  "kind": "javascript-module",
1000
- "path": "src/accordion-item/accordion-item.template.ts",
1017
+ "path": "src/_common/alert-flash-clock.ts",
1001
1018
  "declarations": [
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "alertFlashPhaseProperty",
1022
+ "type": {
1023
+ "text": "string"
1024
+ },
1025
+ "default": "'--alert-flash-t'",
1026
+ "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "alertFlashDurationProperty",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'--alert-flash-duration'",
1036
+ "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
1037
+ "privacy": "public"
1038
+ },
1002
1039
  {
1003
1040
  "kind": "function",
1004
- "name": "foundationAccordionItemTemplate",
1041
+ "name": "installAlertFlashClock",
1005
1042
  "return": {
1006
1043
  "type": {
1007
- "text": "ViewTemplate<AccordionItem>"
1044
+ "text": "void"
1008
1045
  }
1009
1046
  },
1010
- "parameters": [
1011
- {
1012
- "name": "context",
1013
- "type": {
1014
- "text": "ElementDefinitionContext"
1015
- }
1016
- },
1017
- {
1018
- "name": "definition",
1019
- "type": {
1020
- "text": "FoundationElementDefinition"
1021
- }
1022
- }
1023
- ]
1047
+ "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
1048
+ "privacy": "public"
1024
1049
  }
1025
1050
  ],
1026
1051
  "exports": [
1027
1052
  {
1028
1053
  "kind": "js",
1029
- "name": "foundationAccordionItemTemplate",
1054
+ "name": "alertFlashPhaseProperty",
1030
1055
  "declaration": {
1031
- "name": "foundationAccordionItemTemplate",
1032
- "module": "src/accordion-item/accordion-item.template.ts"
1056
+ "name": "alertFlashPhaseProperty",
1057
+ "module": "src/_common/alert-flash-clock.ts"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "alertFlashDurationProperty",
1063
+ "declaration": {
1064
+ "name": "alertFlashDurationProperty",
1065
+ "module": "src/_common/alert-flash-clock.ts"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "installAlertFlashClock",
1071
+ "declaration": {
1072
+ "name": "installAlertFlashClock",
1073
+ "module": "src/_common/alert-flash-clock.ts"
1033
1074
  }
1034
1075
  }
1035
1076
  ]
1036
1077
  },
1037
1078
  {
1038
1079
  "kind": "javascript-module",
1039
- "path": "src/accordion-item/accordion-item.ts",
1080
+ "path": "src/_common/base-file-component.ts",
1040
1081
  "declarations": [
1041
1082
  {
1042
1083
  "kind": "class",
1043
- "description": "",
1044
- "name": "AccordionItem",
1045
- "superclass": {
1046
- "name": "FASTAccordionItem",
1047
- "package": "@microsoft/fast-components"
1048
- },
1049
- "tagName": "%%prefix%%-accordion-item",
1050
- "customElement": true,
1051
- "attributes": [
1084
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1085
+ "name": "BaseFileComponent",
1086
+ "members": [
1052
1087
  {
1053
- "name": "heading-level",
1088
+ "kind": "field",
1089
+ "name": "fileInput",
1054
1090
  "type": {
1055
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1091
+ "text": "HTMLInputElement"
1056
1092
  },
1057
- "default": "2",
1058
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1059
- "fieldName": "headinglevel",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
- }
1093
+ "privacy": "public"
1064
1094
  },
1065
1095
  {
1096
+ "kind": "field",
1097
+ "name": "selectedFile",
1066
1098
  "type": {
1067
- "text": "boolean"
1099
+ "text": "File | null"
1068
1100
  },
1069
- "default": "false",
1070
- "description": "Expands or collapses the item.",
1071
- "fieldName": "expanded",
1072
- "inheritedFrom": {
1073
- "name": "AccordionItem",
1074
- "module": "src/accordion-item/accordion-item.ts"
1075
- }
1101
+ "privacy": "protected",
1102
+ "default": "null"
1076
1103
  },
1077
1104
  {
1078
- "name": "id",
1105
+ "kind": "field",
1106
+ "name": "label",
1079
1107
  "type": {
1080
1108
  "text": "string"
1081
- },
1082
- "description": "The item ID",
1083
- "fieldName": "id",
1084
- "inheritedFrom": {
1085
- "name": "AccordionItem",
1086
- "module": "src/accordion-item/accordion-item.ts"
1087
1109
  }
1088
- }
1089
- ],
1090
- "members": [
1110
+ },
1091
1111
  {
1092
1112
  "kind": "field",
1093
- "name": "headinglevel",
1113
+ "name": "accept",
1094
1114
  "type": {
1095
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1115
+ "text": "string"
1096
1116
  },
1097
- "privacy": "public",
1098
- "default": "2",
1099
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1100
- "inheritedFrom": {
1101
- "name": "AccordionItem",
1102
- "module": "src/accordion-item/accordion-item.ts"
1103
- }
1117
+ "default": "''"
1104
1118
  },
1105
1119
  {
1106
1120
  "kind": "field",
1107
- "name": "expanded",
1121
+ "name": "fileSizeLimitBytes",
1122
+ "default": "10_485_760",
1108
1123
  "type": {
1109
- "text": "boolean"
1110
- },
1111
- "privacy": "public",
1112
- "default": "false",
1113
- "description": "Expands or collapses the item.",
1114
- "inheritedFrom": {
1115
- "name": "AccordionItem",
1116
- "module": "src/accordion-item/accordion-item.ts"
1124
+ "text": "number"
1117
1125
  }
1118
1126
  },
1119
1127
  {
1120
1128
  "kind": "field",
1121
- "name": "id",
1129
+ "name": "fileName",
1122
1130
  "type": {
1123
1131
  "text": "string"
1124
1132
  },
1125
- "privacy": "public",
1126
- "description": "The item ID",
1127
- "inheritedFrom": {
1128
- "name": "AccordionItem",
1129
- "module": "src/accordion-item/accordion-item.ts"
1130
- }
1133
+ "default": "''"
1131
1134
  },
1132
1135
  {
1133
1136
  "kind": "field",
1134
- "name": "change",
1135
- "privacy": "private",
1136
- "inheritedFrom": {
1137
- "name": "AccordionItem",
1138
- "module": "src/accordion-item/accordion-item.ts"
1137
+ "name": "isProcessing",
1138
+ "type": {
1139
+ "text": "boolean"
1140
+ },
1141
+ "default": "false"
1142
+ },
1143
+ {
1144
+ "kind": "method",
1145
+ "name": "handleClick",
1146
+ "privacy": "public",
1147
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1148
+ },
1149
+ {
1150
+ "kind": "method",
1151
+ "name": "onInputChange",
1152
+ "privacy": "public",
1153
+ "parameters": [
1154
+ {
1155
+ "name": "e",
1156
+ "type": {
1157
+ "text": "Event"
1158
+ },
1159
+ "description": "The change event from the file input"
1160
+ }
1161
+ ],
1162
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1163
+ },
1164
+ {
1165
+ "kind": "method",
1166
+ "name": "clearSelection",
1167
+ "privacy": "public",
1168
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1169
+ },
1170
+ {
1171
+ "kind": "method",
1172
+ "name": "getSelectedFile",
1173
+ "privacy": "public",
1174
+ "description": "Gets the currently selected file object",
1175
+ "return": {
1176
+ "type": {
1177
+ "text": ""
1178
+ }
1139
1179
  }
1140
1180
  },
1181
+ {
1182
+ "kind": "method",
1183
+ "name": "showError",
1184
+ "privacy": "protected",
1185
+ "parameters": [
1186
+ {
1187
+ "name": "title",
1188
+ "type": {
1189
+ "text": "string"
1190
+ },
1191
+ "description": "The error title"
1192
+ },
1193
+ {
1194
+ "name": "message",
1195
+ "type": {
1196
+ "text": "string"
1197
+ },
1198
+ "description": "The error message"
1199
+ }
1200
+ ],
1201
+ "description": "Shows an error notification using the unified error handling system"
1202
+ },
1203
+ {
1204
+ "kind": "method",
1205
+ "name": "onFileSelected",
1206
+ "privacy": "protected",
1207
+ "return": {
1208
+ "type": {
1209
+ "text": "void"
1210
+ }
1211
+ },
1212
+ "parameters": [
1213
+ {
1214
+ "name": "files",
1215
+ "type": {
1216
+ "text": "File[]"
1217
+ },
1218
+ "description": "The selected file"
1219
+ }
1220
+ ],
1221
+ "description": "Abstract method called when a file is selected"
1222
+ },
1223
+ {
1224
+ "kind": "method",
1225
+ "name": "onFileCleared",
1226
+ "privacy": "protected",
1227
+ "return": {
1228
+ "type": {
1229
+ "text": "void"
1230
+ }
1231
+ },
1232
+ "description": "Abstract method called when file selection is cleared"
1233
+ },
1141
1234
  {
1142
1235
  "kind": "field",
1143
1236
  "name": "_presentation",
@@ -1252,76 +1345,110 @@
1252
1345
  ],
1253
1346
  "events": [
1254
1347
  {
1255
- "description": "Fires a custom 'change' event when the button is invoked",
1256
- "name": "change",
1257
- "inheritedFrom": {
1258
- "name": "AccordionItem",
1259
- "module": "src/accordion-item/accordion-item.ts"
1260
- }
1348
+ "description": "Fired when file size validation fails. detail: `Error`",
1349
+ "name": "error"
1350
+ },
1351
+ {
1352
+ "description": "Fired when selection is cleared",
1353
+ "name": "clear"
1261
1354
  }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "variable",
1266
- "name": "foundationAccordionItemShadowOptions",
1267
- "type": {
1268
- "text": "ShadowRootInit"
1269
- },
1270
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1271
- },
1272
- {
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
- },
1280
- {
1281
- "kind": "variable",
1282
- "name": "foundationAccordionItem",
1283
- "description": "The Foundation Accordion Item",
1284
- "privacy": "public"
1355
+ ],
1356
+ "attributes": [
1357
+ {
1358
+ "name": "label",
1359
+ "type": {
1360
+ "text": "string"
1361
+ },
1362
+ "fieldName": "label"
1363
+ },
1364
+ {
1365
+ "name": "accept",
1366
+ "type": {
1367
+ "text": "string"
1368
+ },
1369
+ "default": "''",
1370
+ "fieldName": "accept"
1371
+ },
1372
+ {
1373
+ "name": "file-size-limit-bytes",
1374
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1375
+ "resolveInitializer": {
1376
+ "module": "src/_common/base-file-component.ts"
1377
+ },
1378
+ "fieldName": "fileSizeLimitBytes"
1379
+ }
1380
+ ],
1381
+ "superclass": {
1382
+ "name": "FoundationElement",
1383
+ "package": "@microsoft/fast-foundation"
1384
+ }
1285
1385
  }
1286
1386
  ],
1287
1387
  "exports": [
1288
1388
  {
1289
1389
  "kind": "js",
1290
- "name": "AccordionItem",
1390
+ "name": "BaseFileComponent",
1291
1391
  "declaration": {
1292
- "name": "AccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1392
+ "name": "BaseFileComponent",
1393
+ "module": "src/_common/base-file-component.ts"
1294
1394
  }
1295
- },
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "kind": "javascript-module",
1400
+ "path": "src/_common/field-styles.ts",
1401
+ "declarations": [
1296
1402
  {
1297
- "kind": "js",
1298
- "name": "foundationAccordionItemShadowOptions",
1299
- "declaration": {
1300
- "name": "foundationAccordionItemShadowOptions",
1301
- "module": "src/accordion-item/accordion-item.ts"
1302
- }
1303
- },
1403
+ "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": [
1304
1409
  {
1305
1410
  "kind": "js",
1306
- "name": "defaultAccordionItemConfig",
1411
+ "name": "sharedFieldStyles",
1307
1412
  "declaration": {
1308
- "name": "defaultAccordionItemConfig",
1309
- "module": "src/accordion-item/accordion-item.ts"
1413
+ "name": "sharedFieldStyles",
1414
+ "module": "src/_common/field-styles.ts"
1310
1415
  }
1311
- },
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "src/_common/icons.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "function",
1425
+ "name": "closeIcon",
1426
+ "parameters": [
1427
+ {
1428
+ "name": "slot",
1429
+ "default": "'start'"
1430
+ },
1431
+ {
1432
+ "name": "fill",
1433
+ "default": "'#879ba6'"
1434
+ }
1435
+ ]
1436
+ }
1437
+ ],
1438
+ "exports": [
1312
1439
  {
1313
1440
  "kind": "js",
1314
- "name": "foundationAccordionItem",
1441
+ "name": "closeIcon",
1315
1442
  "declaration": {
1316
- "name": "foundationAccordionItem",
1317
- "module": "src/accordion-item/accordion-item.ts"
1443
+ "name": "closeIcon",
1444
+ "module": "src/_common/icons.ts"
1318
1445
  }
1319
1446
  }
1320
1447
  ]
1321
1448
  },
1322
1449
  {
1323
1450
  "kind": "javascript-module",
1324
- "path": "src/accordion-item/index.ts",
1451
+ "path": "src/_common/index.ts",
1325
1452
  "declarations": [],
1326
1453
  "exports": [
1327
1454
  {
@@ -1329,7 +1456,7 @@
1329
1456
  "name": "*",
1330
1457
  "declaration": {
1331
1458
  "name": "*",
1332
- "package": "./accordion-item.template"
1459
+ "package": "./affix-mixin"
1333
1460
  }
1334
1461
  },
1335
1462
  {
@@ -1337,7 +1464,7 @@
1337
1464
  "name": "*",
1338
1465
  "declaration": {
1339
1466
  "name": "*",
1340
- "package": "./accordion-item.styles"
1467
+ "package": "./alert-flash-clock"
1341
1468
  }
1342
1469
  },
1343
1470
  {
@@ -1345,18 +1472,34 @@
1345
1472
  "name": "*",
1346
1473
  "declaration": {
1347
1474
  "name": "*",
1348
- "package": "./accordion-item"
1475
+ "package": "./base-file-component"
1476
+ }
1477
+ },
1478
+ {
1479
+ "kind": "js",
1480
+ "name": "*",
1481
+ "declaration": {
1482
+ "name": "*",
1483
+ "package": "./field-styles"
1484
+ }
1485
+ },
1486
+ {
1487
+ "kind": "js",
1488
+ "name": "*",
1489
+ "declaration": {
1490
+ "name": "*",
1491
+ "package": "./icons"
1349
1492
  }
1350
1493
  }
1351
1494
  ]
1352
1495
  },
1353
1496
  {
1354
1497
  "kind": "javascript-module",
1355
- "path": "src/actions-menu/actions-menu.styles.ts",
1498
+ "path": "src/accordion/accordion.styles.ts",
1356
1499
  "declarations": [
1357
1500
  {
1358
1501
  "kind": "function",
1359
- "name": "actionsMenuBaseStyles",
1502
+ "name": "foundationAccordionStyles",
1360
1503
  "return": {
1361
1504
  "type": {
1362
1505
  "text": "ElementStyles"
@@ -1376,13 +1519,29 @@
1376
1519
  }
1377
1520
  }
1378
1521
  ]
1379
- },
1522
+ }
1523
+ ],
1524
+ "exports": [
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationAccordionStyles",
1528
+ "declaration": {
1529
+ "name": "foundationAccordionStyles",
1530
+ "module": "src/accordion/accordion.styles.ts"
1531
+ }
1532
+ }
1533
+ ]
1534
+ },
1535
+ {
1536
+ "kind": "javascript-module",
1537
+ "path": "src/accordion/accordion.template.ts",
1538
+ "declarations": [
1380
1539
  {
1381
1540
  "kind": "function",
1382
- "name": "foundationActionsMenuStyles",
1541
+ "name": "foundationAccordionTemplate",
1383
1542
  "return": {
1384
1543
  "type": {
1385
- "text": "ElementStyles"
1544
+ "text": "ViewTemplate<Accordion>"
1386
1545
  }
1387
1546
  },
1388
1547
  "parameters": [
@@ -1404,376 +1563,238 @@
1404
1563
  "exports": [
1405
1564
  {
1406
1565
  "kind": "js",
1407
- "name": "actionsMenuBaseStyles",
1408
- "declaration": {
1409
- "name": "actionsMenuBaseStyles",
1410
- "module": "src/actions-menu/actions-menu.styles.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "js",
1415
- "name": "foundationActionsMenuStyles",
1566
+ "name": "foundationAccordionTemplate",
1416
1567
  "declaration": {
1417
- "name": "foundationActionsMenuStyles",
1418
- "module": "src/actions-menu/actions-menu.styles.ts"
1568
+ "name": "foundationAccordionTemplate",
1569
+ "module": "src/accordion/accordion.template.ts"
1419
1570
  }
1420
1571
  }
1421
1572
  ]
1422
1573
  },
1423
1574
  {
1424
1575
  "kind": "javascript-module",
1425
- "path": "src/actions-menu/actions-menu.template.ts",
1426
- "declarations": [
1427
- {
1428
- "kind": "variable",
1429
- "name": "menuTemplate"
1430
- },
1431
- {
1432
- "kind": "variable",
1433
- "name": "singleOptionTemplate"
1434
- },
1435
- {
1436
- "kind": "variable",
1437
- "name": "foundationActionsMenuTemplate",
1438
- "type": {
1439
- "text": "ViewTemplate<ActionsMenu>"
1440
- },
1441
- "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`"
1442
- }
1443
- ],
1444
- "exports": [
1445
- {
1446
- "kind": "js",
1447
- "name": "menuTemplate",
1448
- "declaration": {
1449
- "name": "menuTemplate",
1450
- "module": "src/actions-menu/actions-menu.template.ts"
1451
- }
1452
- },
1453
- {
1454
- "kind": "js",
1455
- "name": "singleOptionTemplate",
1456
- "declaration": {
1457
- "name": "singleOptionTemplate",
1458
- "module": "src/actions-menu/actions-menu.template.ts"
1459
- }
1460
- },
1461
- {
1462
- "kind": "js",
1463
- "name": "foundationActionsMenuTemplate",
1464
- "declaration": {
1465
- "name": "foundationActionsMenuTemplate",
1466
- "module": "src/actions-menu/actions-menu.template.ts"
1467
- }
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- "kind": "javascript-module",
1473
- "path": "src/actions-menu/actions-menu.ts",
1576
+ "path": "src/accordion/accordion.ts",
1474
1577
  "declarations": [
1475
1578
  {
1476
1579
  "kind": "class",
1477
1580
  "description": "",
1478
- "name": "ActionsMenu",
1479
- "members": [
1581
+ "name": "Accordion",
1582
+ "superclass": {
1583
+ "name": "FASTAccordion",
1584
+ "package": "@microsoft/fast-foundation"
1585
+ },
1586
+ "tagName": "%%prefix%%-accordion",
1587
+ "customElement": true,
1588
+ "attributes": [
1480
1589
  {
1481
- "kind": "field",
1482
- "name": "actions",
1590
+ "name": "expand-mode",
1483
1591
  "type": {
1484
- "text": "ActionMenuItem[]"
1592
+ "text": "AccordionExpandMode"
1593
+ },
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1596
+ "inheritedFrom": {
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1485
1599
  }
1486
- },
1600
+ }
1601
+ ],
1602
+ "members": [
1487
1603
  {
1488
1604
  "kind": "field",
1489
- "name": "actionsResolver",
1605
+ "name": "expandmode",
1490
1606
  "type": {
1491
- "text": "ActionMenuItemsResolver | undefined"
1607
+ "text": "AccordionExpandMode"
1492
1608
  },
1493
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
1609
+ "privacy": "public",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1611
+ "inheritedFrom": {
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1614
+ }
1494
1615
  },
1495
1616
  {
1496
1617
  "kind": "field",
1497
- "name": "isVertical",
1618
+ "name": "activeid",
1498
1619
  "type": {
1499
- "text": "boolean"
1620
+ "text": "string | null"
1500
1621
  },
1501
- "default": "false"
1622
+ "privacy": "private",
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1626
+ }
1502
1627
  },
1503
1628
  {
1504
1629
  "kind": "field",
1505
- "name": "addDefaultActions",
1630
+ "name": "activeItemIndex",
1506
1631
  "type": {
1507
- "text": "boolean"
1632
+ "text": "number"
1508
1633
  },
1509
- "default": "true"
1634
+ "privacy": "private",
1635
+ "default": "0",
1636
+ "inheritedFrom": {
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1639
+ }
1510
1640
  },
1511
1641
  {
1512
1642
  "kind": "field",
1513
- "name": "autoCloseOnAction",
1643
+ "name": "accordionIds",
1514
1644
  "type": {
1515
- "text": "boolean"
1645
+ "text": "Array<string | null>"
1516
1646
  },
1517
- "default": "true"
1518
- },
1519
- {
1520
- "kind": "field",
1521
- "name": "classNames",
1522
- "type": {
1523
- "text": "string"
1647
+ "privacy": "private",
1648
+ "inheritedFrom": {
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1524
1651
  }
1525
1652
  },
1526
1653
  {
1527
1654
  "kind": "field",
1528
- "name": "definition",
1529
- "type": {
1530
- "text": "any"
1655
+ "name": "change",
1656
+ "privacy": "private",
1657
+ "inheritedFrom": {
1658
+ "name": "Accordion",
1659
+ "module": "src/accordion/accordion.ts"
1531
1660
  }
1532
1661
  },
1533
1662
  {
1534
- "kind": "field",
1535
- "name": "name",
1536
- "type": {
1537
- "text": "string"
1538
- },
1539
- "default": "'Actions'"
1540
- },
1541
- {
1542
- "kind": "field",
1543
- "name": "iconName",
1544
- "type": {
1545
- "text": "string"
1546
- },
1547
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
1548
- },
1549
- {
1550
- "kind": "field",
1551
- "name": "open",
1552
- "type": {
1553
- "text": "boolean"
1663
+ "kind": "method",
1664
+ "name": "findExpandedItem",
1665
+ "privacy": "private",
1666
+ "return": {
1667
+ "type": {
1668
+ "text": "AccordionItem | null"
1669
+ }
1554
1670
  },
1555
- "default": "false"
1556
- },
1557
- {
1558
- "kind": "field",
1559
- "name": "buttonAppearance",
1560
- "type": {
1561
- "text": "string"
1671
+ "inheritedFrom": {
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1562
1674
  }
1563
1675
  },
1564
1676
  {
1565
1677
  "kind": "field",
1566
- "name": "hideDisabled",
1567
- "type": {
1568
- "text": "boolean"
1569
- },
1570
- "default": "false"
1571
- },
1572
- {
1573
- "kind": "field",
1574
- "name": "hideMenuSingleOption",
1575
- "type": {
1576
- "text": "boolean"
1577
- },
1578
- "default": "false"
1579
- },
1580
- {
1581
- "kind": "field",
1582
- "name": "singleOption",
1583
- "type": {
1584
- "text": "ActionMenuItem"
1678
+ "name": "setItems",
1679
+ "privacy": "private",
1680
+ "inheritedFrom": {
1681
+ "name": "Accordion",
1682
+ "module": "src/accordion/accordion.ts"
1585
1683
  }
1586
1684
  },
1587
1685
  {
1588
- "kind": "field",
1589
- "name": "actionsMenu",
1590
- "type": {
1591
- "text": "HTMLElement"
1686
+ "kind": "method",
1687
+ "name": "resetItems",
1688
+ "privacy": "private",
1689
+ "return": {
1690
+ "type": {
1691
+ "text": "void"
1692
+ }
1693
+ },
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1592
1697
  }
1593
1698
  },
1594
1699
  {
1595
1700
  "kind": "field",
1596
- "name": "actionsOpener",
1597
- "type": {
1598
- "text": "HTMLElement"
1701
+ "name": "removeItemListeners",
1702
+ "privacy": "private",
1703
+ "inheritedFrom": {
1704
+ "name": "Accordion",
1705
+ "module": "src/accordion/accordion.ts"
1599
1706
  }
1600
1707
  },
1601
1708
  {
1602
1709
  "kind": "field",
1603
- "name": "positionTracker",
1604
- "type": {
1605
- "text": "AnchoredPopoverPositionTracker | undefined"
1606
- },
1607
- "privacy": "private"
1608
- },
1609
- {
1610
- "kind": "field",
1611
- "name": "focusMenuOnOpen",
1612
- "type": {
1613
- "text": "boolean"
1614
- },
1710
+ "name": "activeItemChange",
1615
1711
  "privacy": "private",
1616
- "default": "false",
1617
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
1618
- },
1619
- {
1620
- "kind": "method",
1621
- "name": "updateMenuPosition",
1622
- "privacy": "private"
1623
- },
1624
- {
1625
- "kind": "method",
1626
- "name": "startTrackingPosition",
1627
- "privacy": "private"
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "stopTrackingPosition",
1632
- "privacy": "private"
1633
- },
1634
- {
1635
- "kind": "method",
1636
- "name": "definitionChanged",
1637
- "privacy": "protected",
1638
- "parameters": [
1639
- {
1640
- "name": "oldValue",
1641
- "type": {
1642
- "text": "any"
1643
- }
1644
- },
1645
- {
1646
- "name": "newValue",
1647
- "type": {
1648
- "text": "any"
1649
- }
1650
- }
1651
- ]
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "openChanged",
1656
- "privacy": "protected"
1657
- },
1658
- {
1659
- "kind": "method",
1660
- "name": "toggleActionsMenuVisibility"
1661
- },
1662
- {
1663
- "kind": "method",
1664
- "name": "onPopoverToggle",
1665
- "parameters": [
1666
- {
1667
- "name": "event",
1668
- "type": {
1669
- "text": "Event"
1670
- }
1671
- }
1672
- ],
1673
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
1712
+ "inheritedFrom": {
1713
+ "name": "Accordion",
1714
+ "module": "src/accordion/accordion.ts"
1715
+ }
1674
1716
  },
1675
1717
  {
1676
1718
  "kind": "method",
1677
- "name": "onIconOpenerKeydown",
1719
+ "name": "getItemIds",
1720
+ "privacy": "private",
1678
1721
  "return": {
1679
1722
  "type": {
1680
- "text": "boolean"
1723
+ "text": "Array<string | null>"
1681
1724
  }
1682
1725
  },
1683
- "parameters": [
1684
- {
1685
- "name": "event",
1686
- "type": {
1687
- "text": "KeyboardEvent"
1688
- }
1689
- }
1690
- ],
1691
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
1692
- },
1693
- {
1694
- "kind": "method",
1695
- "name": "onActionMenuItemClick",
1696
- "parameters": [
1697
- {
1698
- "name": "callback",
1699
- "type": {
1700
- "text": "(rowData) => void | any"
1701
- }
1702
- }
1703
- ]
1726
+ "inheritedFrom": {
1727
+ "name": "Accordion",
1728
+ "module": "src/accordion/accordion.ts"
1729
+ }
1704
1730
  },
1705
1731
  {
1706
1732
  "kind": "method",
1707
- "name": "isActionDisabled",
1733
+ "name": "isSingleExpandMode",
1734
+ "privacy": "private",
1708
1735
  "return": {
1709
1736
  "type": {
1710
1737
  "text": "boolean"
1711
1738
  }
1712
1739
  },
1713
- "parameters": [
1714
- {
1715
- "name": "action",
1716
- "type": {
1717
- "text": "ActionMenuItem"
1718
- }
1719
- }
1720
- ],
1721
- "description": "Resolves an action's `isDisabled` for the current row."
1722
- },
1723
- {
1724
- "kind": "field",
1725
- "name": "resolvedActions",
1726
- "type": {
1727
- "text": "ActionMenuItem[]"
1728
- },
1729
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1730
- "readonly": true
1731
- },
1732
- {
1733
- "kind": "field",
1734
- "name": "hasVisibleActions",
1735
- "type": {
1736
- "text": "boolean"
1737
- },
1738
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1739
- "readonly": true
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1740
1744
  },
1741
1745
  {
1742
1746
  "kind": "field",
1743
- "name": "allActions",
1744
- "type": {
1745
- "text": "ActionMenuItem[]"
1746
- },
1747
- "readonly": true
1747
+ "name": "handleItemKeyDown",
1748
+ "privacy": "private",
1749
+ "inheritedFrom": {
1750
+ "name": "Accordion",
1751
+ "module": "src/accordion/accordion.ts"
1752
+ }
1748
1753
  },
1749
1754
  {
1750
1755
  "kind": "field",
1751
- "name": "rowData",
1752
- "readonly": true
1756
+ "name": "handleItemFocus",
1757
+ "privacy": "private",
1758
+ "inheritedFrom": {
1759
+ "name": "Accordion",
1760
+ "module": "src/accordion/accordion.ts"
1761
+ }
1753
1762
  },
1754
1763
  {
1755
1764
  "kind": "method",
1756
- "name": "getLabel",
1765
+ "name": "adjust",
1766
+ "privacy": "private",
1767
+ "return": {
1768
+ "type": {
1769
+ "text": "void"
1770
+ }
1771
+ },
1757
1772
  "parameters": [
1758
1773
  {
1759
- "name": "name",
1774
+ "name": "adjustment",
1760
1775
  "type": {
1761
- "text": "string | ((rowData: any) => string)"
1776
+ "text": "number"
1762
1777
  }
1763
1778
  }
1764
- ]
1779
+ ],
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1765
1784
  },
1766
1785
  {
1767
1786
  "kind": "method",
1768
- "name": "getTemplate",
1769
- "parameters": [
1770
- {
1771
- "name": "prefix",
1772
- "type": {
1773
- "text": "string"
1774
- }
1787
+ "name": "focusItem",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1775
1792
  }
1776
- ]
1793
+ },
1794
+ "inheritedFrom": {
1795
+ "name": "Accordion",
1796
+ "module": "src/accordion/accordion.ts"
1797
+ }
1777
1798
  },
1778
1799
  {
1779
1800
  "kind": "field",
@@ -1887,158 +1908,78 @@
1887
1908
  }
1888
1909
  }
1889
1910
  ],
1890
- "attributes": [
1891
- {
1892
- "name": "is-vertical",
1893
- "type": {
1894
- "text": "boolean"
1895
- },
1896
- "default": "false",
1897
- "fieldName": "isVertical"
1898
- },
1899
- {
1900
- "name": "add-default-actions",
1901
- "type": {
1902
- "text": "boolean"
1903
- },
1904
- "default": "true",
1905
- "fieldName": "addDefaultActions"
1906
- },
1907
- {
1908
- "name": "auto-close-on-action",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "true",
1913
- "fieldName": "autoCloseOnAction"
1914
- },
1915
- {
1916
- "name": "name",
1917
- "type": {
1918
- "text": "string"
1919
- },
1920
- "default": "'Actions'",
1921
- "fieldName": "name"
1922
- },
1923
- {
1924
- "name": "icon-name",
1925
- "type": {
1926
- "text": "string"
1927
- },
1928
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1929
- "fieldName": "iconName"
1930
- },
1931
- {
1932
- "name": "open",
1933
- "type": {
1934
- "text": "boolean"
1935
- },
1936
- "default": "false",
1937
- "fieldName": "open"
1938
- },
1939
- {
1940
- "name": "buttonAppearance",
1941
- "type": {
1942
- "text": "string"
1943
- },
1944
- "fieldName": "buttonAppearance"
1945
- },
1946
- {
1947
- "name": "hide-disabled",
1948
- "type": {
1949
- "text": "boolean"
1950
- },
1951
- "default": "false",
1952
- "fieldName": "hideDisabled"
1953
- },
1911
+ "events": [
1954
1912
  {
1955
- "name": "hide-menu-single-option",
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "default": "false",
1960
- "fieldName": "hideMenuSingleOption"
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1914
+ "name": "change",
1915
+ "inheritedFrom": {
1916
+ "name": "Accordion",
1917
+ "module": "src/accordion/accordion.ts"
1918
+ }
1961
1919
  }
1962
- ],
1963
- "superclass": {
1964
- "name": "FoundationElement",
1965
- "package": "@microsoft/fast-foundation"
1920
+ ]
1921
+ },
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "foundationAccordionShadowOptions",
1925
+ "type": {
1926
+ "text": "ShadowRootInit"
1966
1927
  },
1967
- "tagName": "%%prefix%%-actions-menu",
1968
- "customElement": true
1928
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1969
1929
  },
1970
1930
  {
1971
1931
  "kind": "variable",
1972
- "name": "foundationActionsMenu",
1973
- "description": "The Foundation Actions Menu",
1932
+ "name": "defaultAccordionConfig",
1933
+ "type": {
1934
+ "text": "object"
1935
+ },
1936
+ "default": "{}"
1937
+ },
1938
+ {
1939
+ "kind": "variable",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
1974
1942
  "privacy": "public"
1975
1943
  }
1976
1944
  ],
1977
1945
  "exports": [
1978
1946
  {
1979
1947
  "kind": "js",
1980
- "name": "ActionsMenu",
1948
+ "name": "Accordion",
1981
1949
  "declaration": {
1982
- "name": "ActionsMenu",
1983
- "module": "src/actions-menu/actions-menu.ts"
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1984
1952
  }
1985
1953
  },
1986
1954
  {
1987
1955
  "kind": "js",
1988
- "name": "foundationActionsMenu",
1956
+ "name": "foundationAccordionShadowOptions",
1989
1957
  "declaration": {
1990
- "name": "foundationActionsMenu",
1991
- "module": "src/actions-menu/actions-menu.ts"
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1992
1960
  }
1993
- }
1994
- ]
1995
- },
1996
- {
1997
- "kind": "javascript-module",
1998
- "path": "src/actions-menu/ag-menu.styles.ts",
1999
- "declarations": [
1961
+ },
2000
1962
  {
2001
- "kind": "function",
2002
- "name": "agMenuStyles",
2003
- "return": {
2004
- "type": {
2005
- "text": ""
2006
- }
2007
- },
2008
- "parameters": [
2009
- {
2010
- "name": "menuSelector",
2011
- "type": {
2012
- "text": "string"
2013
- },
2014
- "description": "Selects the menu surface. May be a selector list."
2015
- },
2016
- {
2017
- "name": "itemSelector",
2018
- "type": {
2019
- "text": "string"
2020
- },
2021
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2022
- }
2023
- ],
2024
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2025
- "privacy": "public"
2026
- }
2027
- ],
2028
- "exports": [
1963
+ "kind": "js",
1964
+ "name": "defaultAccordionConfig",
1965
+ "declaration": {
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1968
+ }
1969
+ },
2029
1970
  {
2030
1971
  "kind": "js",
2031
- "name": "agMenuStyles",
1972
+ "name": "foundationAccordion",
2032
1973
  "declaration": {
2033
- "name": "agMenuStyles",
2034
- "module": "src/actions-menu/ag-menu.styles.ts"
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
2035
1976
  }
2036
1977
  }
2037
1978
  ]
2038
1979
  },
2039
1980
  {
2040
1981
  "kind": "javascript-module",
2041
- "path": "src/actions-menu/index.ts",
1982
+ "path": "src/accordion/index.ts",
2042
1983
  "declarations": [],
2043
1984
  "exports": [
2044
1985
  {
@@ -2046,7 +1987,7 @@
2046
1987
  "name": "*",
2047
1988
  "declaration": {
2048
1989
  "name": "*",
2049
- "package": "./actions-menu.styles"
1990
+ "package": "./accordion.template"
2050
1991
  }
2051
1992
  },
2052
1993
  {
@@ -2054,7 +1995,7 @@
2054
1995
  "name": "*",
2055
1996
  "declaration": {
2056
1997
  "name": "*",
2057
- "package": "./actions-menu.template"
1998
+ "package": "./accordion.styles"
2058
1999
  }
2059
2000
  },
2060
2001
  {
@@ -2062,7 +2003,22 @@
2062
2003
  "name": "*",
2063
2004
  "declaration": {
2064
2005
  "name": "*",
2065
- "package": "./actions-menu"
2006
+ "package": "./accordion"
2007
+ }
2008
+ }
2009
+ ]
2010
+ },
2011
+ {
2012
+ "kind": "javascript-module",
2013
+ "path": "src/_config/index.ts",
2014
+ "declarations": [],
2015
+ "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "*",
2019
+ "declaration": {
2020
+ "name": "*",
2021
+ "package": "./styles"
2066
2022
  }
2067
2023
  },
2068
2024
  {
@@ -2070,51 +2026,65 @@
2070
2026
  "name": "*",
2071
2027
  "declaration": {
2072
2028
  "name": "*",
2073
- "package": "./ag-menu.styles"
2029
+ "package": "./tokens"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./values"
2074
2038
  }
2075
2039
  }
2076
2040
  ]
2077
2041
  },
2078
2042
  {
2079
2043
  "kind": "javascript-module",
2080
- "path": "src/_common/affix-mixin.ts",
2044
+ "path": "src/actions-menu/actions-menu.styles.ts",
2081
2045
  "declarations": [
2082
2046
  {
2083
- "kind": "mixin",
2084
- "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.",
2085
- "name": "AffixMixin",
2086
- "members": [
2087
- {
2088
- "kind": "field",
2089
- "name": "prefix",
2090
- "type": {
2091
- "text": "string"
2092
- },
2093
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2094
- },
2047
+ "kind": "function",
2048
+ "name": "actionsMenuBaseStyles",
2049
+ "return": {
2050
+ "type": {
2051
+ "text": "ElementStyles"
2052
+ }
2053
+ },
2054
+ "parameters": [
2095
2055
  {
2096
- "kind": "field",
2097
- "name": "suffix",
2056
+ "name": "context",
2098
2057
  "type": {
2099
- "text": "string"
2100
- },
2101
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2058
+ "text": "ElementDefinitionContext"
2059
+ }
2102
2060
  },
2103
2061
  {
2104
- "kind": "field",
2105
- "name": "hideAffixFromScreenReader",
2062
+ "name": "definition",
2106
2063
  "type": {
2107
- "text": "boolean"
2108
- },
2109
- "default": "false",
2110
- "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."
2064
+ "text": "FoundationElementDefinition"
2065
+ }
2111
2066
  }
2112
- ],
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "function",
2071
+ "name": "foundationActionsMenuStyles",
2072
+ "return": {
2073
+ "type": {
2074
+ "text": "ElementStyles"
2075
+ }
2076
+ },
2113
2077
  "parameters": [
2114
2078
  {
2115
- "name": "Base",
2079
+ "name": "context",
2116
2080
  "type": {
2117
- "text": "TBase"
2081
+ "text": "ElementDefinitionContext"
2082
+ }
2083
+ },
2084
+ {
2085
+ "name": "definition",
2086
+ "type": {
2087
+ "text": "FoundationElementDefinition"
2118
2088
  }
2119
2089
  }
2120
2090
  ]
@@ -2123,232 +2093,376 @@
2123
2093
  "exports": [
2124
2094
  {
2125
2095
  "kind": "js",
2126
- "name": "AffixMixin",
2096
+ "name": "actionsMenuBaseStyles",
2127
2097
  "declaration": {
2128
- "name": "AffixMixin",
2129
- "module": "src/_common/affix-mixin.ts"
2098
+ "name": "actionsMenuBaseStyles",
2099
+ "module": "src/actions-menu/actions-menu.styles.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "js",
2104
+ "name": "foundationActionsMenuStyles",
2105
+ "declaration": {
2106
+ "name": "foundationActionsMenuStyles",
2107
+ "module": "src/actions-menu/actions-menu.styles.ts"
2130
2108
  }
2131
2109
  }
2132
2110
  ]
2133
2111
  },
2134
2112
  {
2135
2113
  "kind": "javascript-module",
2136
- "path": "src/_common/alert-flash-clock.ts",
2114
+ "path": "src/actions-menu/actions-menu.template.ts",
2137
2115
  "declarations": [
2138
2116
  {
2139
2117
  "kind": "variable",
2140
- "name": "alertFlashPhaseProperty",
2141
- "type": {
2142
- "text": "string"
2143
- },
2144
- "default": "'--alert-flash-t'",
2145
- "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.",
2146
- "privacy": "public"
2118
+ "name": "menuTemplate"
2147
2119
  },
2148
2120
  {
2149
2121
  "kind": "variable",
2150
- "name": "alertFlashDurationProperty",
2151
- "type": {
2152
- "text": "string"
2153
- },
2154
- "default": "'--alert-flash-duration'",
2155
- "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
2156
- "privacy": "public"
2122
+ "name": "singleOptionTemplate"
2157
2123
  },
2158
2124
  {
2159
- "kind": "function",
2160
- "name": "installAlertFlashClock",
2161
- "return": {
2162
- "type": {
2163
- "text": "void"
2164
- }
2125
+ "kind": "variable",
2126
+ "name": "foundationActionsMenuTemplate",
2127
+ "type": {
2128
+ "text": "ViewTemplate<ActionsMenu>"
2165
2129
  },
2166
- "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.",
2167
- "privacy": "public"
2130
+ "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`"
2168
2131
  }
2169
2132
  ],
2170
2133
  "exports": [
2171
2134
  {
2172
2135
  "kind": "js",
2173
- "name": "alertFlashPhaseProperty",
2136
+ "name": "menuTemplate",
2174
2137
  "declaration": {
2175
- "name": "alertFlashPhaseProperty",
2176
- "module": "src/_common/alert-flash-clock.ts"
2138
+ "name": "menuTemplate",
2139
+ "module": "src/actions-menu/actions-menu.template.ts"
2177
2140
  }
2178
2141
  },
2179
2142
  {
2180
2143
  "kind": "js",
2181
- "name": "alertFlashDurationProperty",
2144
+ "name": "singleOptionTemplate",
2182
2145
  "declaration": {
2183
- "name": "alertFlashDurationProperty",
2184
- "module": "src/_common/alert-flash-clock.ts"
2146
+ "name": "singleOptionTemplate",
2147
+ "module": "src/actions-menu/actions-menu.template.ts"
2185
2148
  }
2186
2149
  },
2187
2150
  {
2188
2151
  "kind": "js",
2189
- "name": "installAlertFlashClock",
2152
+ "name": "foundationActionsMenuTemplate",
2190
2153
  "declaration": {
2191
- "name": "installAlertFlashClock",
2192
- "module": "src/_common/alert-flash-clock.ts"
2154
+ "name": "foundationActionsMenuTemplate",
2155
+ "module": "src/actions-menu/actions-menu.template.ts"
2193
2156
  }
2194
2157
  }
2195
2158
  ]
2196
2159
  },
2197
2160
  {
2198
2161
  "kind": "javascript-module",
2199
- "path": "src/_common/base-file-component.ts",
2162
+ "path": "src/actions-menu/actions-menu.ts",
2200
2163
  "declarations": [
2201
2164
  {
2202
2165
  "kind": "class",
2203
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
2204
- "name": "BaseFileComponent",
2166
+ "description": "",
2167
+ "name": "ActionsMenu",
2205
2168
  "members": [
2206
2169
  {
2207
2170
  "kind": "field",
2208
- "name": "fileInput",
2171
+ "name": "actions",
2209
2172
  "type": {
2210
- "text": "HTMLInputElement"
2173
+ "text": "ActionMenuItem[]"
2174
+ }
2175
+ },
2176
+ {
2177
+ "kind": "field",
2178
+ "name": "actionsResolver",
2179
+ "type": {
2180
+ "text": "ActionMenuItemsResolver | undefined"
2211
2181
  },
2212
- "privacy": "public"
2182
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2213
2183
  },
2214
2184
  {
2215
2185
  "kind": "field",
2216
- "name": "selectedFile",
2186
+ "name": "isVertical",
2217
2187
  "type": {
2218
- "text": "File | null"
2188
+ "text": "boolean"
2219
2189
  },
2220
- "privacy": "protected",
2221
- "default": "null"
2190
+ "default": "false"
2222
2191
  },
2223
2192
  {
2224
2193
  "kind": "field",
2225
- "name": "label",
2194
+ "name": "addDefaultActions",
2195
+ "type": {
2196
+ "text": "boolean"
2197
+ },
2198
+ "default": "true"
2199
+ },
2200
+ {
2201
+ "kind": "field",
2202
+ "name": "autoCloseOnAction",
2203
+ "type": {
2204
+ "text": "boolean"
2205
+ },
2206
+ "default": "true"
2207
+ },
2208
+ {
2209
+ "kind": "field",
2210
+ "name": "classNames",
2226
2211
  "type": {
2227
2212
  "text": "string"
2228
2213
  }
2229
2214
  },
2230
2215
  {
2231
2216
  "kind": "field",
2232
- "name": "accept",
2217
+ "name": "definition",
2218
+ "type": {
2219
+ "text": "any"
2220
+ }
2221
+ },
2222
+ {
2223
+ "kind": "field",
2224
+ "name": "name",
2233
2225
  "type": {
2234
2226
  "text": "string"
2235
2227
  },
2236
- "default": "''"
2228
+ "default": "'Actions'"
2237
2229
  },
2238
2230
  {
2239
2231
  "kind": "field",
2240
- "name": "fileSizeLimitBytes",
2241
- "default": "10_485_760",
2232
+ "name": "iconName",
2242
2233
  "type": {
2243
- "text": "number"
2244
- }
2234
+ "text": "string"
2235
+ },
2236
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2245
2237
  },
2246
2238
  {
2247
2239
  "kind": "field",
2248
- "name": "fileName",
2240
+ "name": "open",
2241
+ "type": {
2242
+ "text": "boolean"
2243
+ },
2244
+ "default": "false"
2245
+ },
2246
+ {
2247
+ "kind": "field",
2248
+ "name": "buttonAppearance",
2249
2249
  "type": {
2250
2250
  "text": "string"
2251
+ }
2252
+ },
2253
+ {
2254
+ "kind": "field",
2255
+ "name": "hideDisabled",
2256
+ "type": {
2257
+ "text": "boolean"
2251
2258
  },
2252
- "default": "''"
2259
+ "default": "false"
2253
2260
  },
2254
2261
  {
2255
2262
  "kind": "field",
2256
- "name": "isProcessing",
2263
+ "name": "hideMenuSingleOption",
2257
2264
  "type": {
2258
2265
  "text": "boolean"
2259
2266
  },
2260
2267
  "default": "false"
2261
2268
  },
2269
+ {
2270
+ "kind": "field",
2271
+ "name": "singleOption",
2272
+ "type": {
2273
+ "text": "ActionMenuItem"
2274
+ }
2275
+ },
2276
+ {
2277
+ "kind": "field",
2278
+ "name": "actionsMenu",
2279
+ "type": {
2280
+ "text": "HTMLElement"
2281
+ }
2282
+ },
2283
+ {
2284
+ "kind": "field",
2285
+ "name": "actionsOpener",
2286
+ "type": {
2287
+ "text": "HTMLElement"
2288
+ }
2289
+ },
2290
+ {
2291
+ "kind": "field",
2292
+ "name": "positionTracker",
2293
+ "type": {
2294
+ "text": "AnchoredPopoverPositionTracker | undefined"
2295
+ },
2296
+ "privacy": "private"
2297
+ },
2298
+ {
2299
+ "kind": "field",
2300
+ "name": "focusMenuOnOpen",
2301
+ "type": {
2302
+ "text": "boolean"
2303
+ },
2304
+ "privacy": "private",
2305
+ "default": "false",
2306
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2307
+ },
2262
2308
  {
2263
2309
  "kind": "method",
2264
- "name": "handleClick",
2265
- "privacy": "public",
2266
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2310
+ "name": "updateMenuPosition",
2311
+ "privacy": "private"
2267
2312
  },
2268
2313
  {
2269
2314
  "kind": "method",
2270
- "name": "onInputChange",
2271
- "privacy": "public",
2315
+ "name": "startTrackingPosition",
2316
+ "privacy": "private"
2317
+ },
2318
+ {
2319
+ "kind": "method",
2320
+ "name": "stopTrackingPosition",
2321
+ "privacy": "private"
2322
+ },
2323
+ {
2324
+ "kind": "method",
2325
+ "name": "definitionChanged",
2326
+ "privacy": "protected",
2272
2327
  "parameters": [
2273
2328
  {
2274
- "name": "e",
2329
+ "name": "oldValue",
2275
2330
  "type": {
2276
- "text": "Event"
2277
- },
2278
- "description": "The change event from the file input"
2331
+ "text": "any"
2332
+ }
2333
+ },
2334
+ {
2335
+ "name": "newValue",
2336
+ "type": {
2337
+ "text": "any"
2338
+ }
2279
2339
  }
2280
- ],
2281
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2340
+ ]
2282
2341
  },
2283
2342
  {
2284
2343
  "kind": "method",
2285
- "name": "clearSelection",
2286
- "privacy": "public",
2287
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2344
+ "name": "openChanged",
2345
+ "privacy": "protected"
2288
2346
  },
2289
2347
  {
2290
2348
  "kind": "method",
2291
- "name": "getSelectedFile",
2292
- "privacy": "public",
2293
- "description": "Gets the currently selected file object",
2294
- "return": {
2295
- "type": {
2296
- "text": ""
2297
- }
2298
- }
2349
+ "name": "toggleActionsMenuVisibility"
2299
2350
  },
2300
2351
  {
2301
2352
  "kind": "method",
2302
- "name": "showError",
2303
- "privacy": "protected",
2353
+ "name": "onPopoverToggle",
2304
2354
  "parameters": [
2305
2355
  {
2306
- "name": "title",
2307
- "type": {
2308
- "text": "string"
2309
- },
2310
- "description": "The error title"
2311
- },
2312
- {
2313
- "name": "message",
2356
+ "name": "event",
2314
2357
  "type": {
2315
- "text": "string"
2316
- },
2317
- "description": "The error message"
2358
+ "text": "Event"
2359
+ }
2318
2360
  }
2319
2361
  ],
2320
- "description": "Shows an error notification using the unified error handling system"
2362
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2321
2363
  },
2322
2364
  {
2323
2365
  "kind": "method",
2324
- "name": "onFileSelected",
2325
- "privacy": "protected",
2366
+ "name": "onIconOpenerKeydown",
2326
2367
  "return": {
2327
2368
  "type": {
2328
- "text": "void"
2369
+ "text": "boolean"
2329
2370
  }
2330
2371
  },
2331
2372
  "parameters": [
2332
2373
  {
2333
- "name": "files",
2374
+ "name": "event",
2334
2375
  "type": {
2335
- "text": "File[]"
2336
- },
2337
- "description": "The selected file"
2376
+ "text": "KeyboardEvent"
2377
+ }
2338
2378
  }
2339
2379
  ],
2340
- "description": "Abstract method called when a file is selected"
2380
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2341
2381
  },
2342
2382
  {
2343
2383
  "kind": "method",
2344
- "name": "onFileCleared",
2345
- "privacy": "protected",
2384
+ "name": "onActionMenuItemClick",
2385
+ "parameters": [
2386
+ {
2387
+ "name": "callback",
2388
+ "type": {
2389
+ "text": "(rowData) => void | any"
2390
+ }
2391
+ }
2392
+ ]
2393
+ },
2394
+ {
2395
+ "kind": "method",
2396
+ "name": "isActionDisabled",
2346
2397
  "return": {
2347
2398
  "type": {
2348
- "text": "void"
2399
+ "text": "boolean"
2349
2400
  }
2350
2401
  },
2351
- "description": "Abstract method called when file selection is cleared"
2402
+ "parameters": [
2403
+ {
2404
+ "name": "action",
2405
+ "type": {
2406
+ "text": "ActionMenuItem"
2407
+ }
2408
+ }
2409
+ ],
2410
+ "description": "Resolves an action's `isDisabled` for the current row."
2411
+ },
2412
+ {
2413
+ "kind": "field",
2414
+ "name": "resolvedActions",
2415
+ "type": {
2416
+ "text": "ActionMenuItem[]"
2417
+ },
2418
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2419
+ "readonly": true
2420
+ },
2421
+ {
2422
+ "kind": "field",
2423
+ "name": "hasVisibleActions",
2424
+ "type": {
2425
+ "text": "boolean"
2426
+ },
2427
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2428
+ "readonly": true
2429
+ },
2430
+ {
2431
+ "kind": "field",
2432
+ "name": "allActions",
2433
+ "type": {
2434
+ "text": "ActionMenuItem[]"
2435
+ },
2436
+ "readonly": true
2437
+ },
2438
+ {
2439
+ "kind": "field",
2440
+ "name": "rowData",
2441
+ "readonly": true
2442
+ },
2443
+ {
2444
+ "kind": "method",
2445
+ "name": "getLabel",
2446
+ "parameters": [
2447
+ {
2448
+ "name": "name",
2449
+ "type": {
2450
+ "text": "string | ((rowData: any) => string)"
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "kind": "method",
2457
+ "name": "getTemplate",
2458
+ "parameters": [
2459
+ {
2460
+ "name": "prefix",
2461
+ "type": {
2462
+ "text": "string"
2463
+ }
2464
+ }
2465
+ ]
2352
2466
  },
2353
2467
  {
2354
2468
  "kind": "field",
@@ -2462,112 +2576,158 @@
2462
2576
  }
2463
2577
  }
2464
2578
  ],
2465
- "events": [
2579
+ "attributes": [
2466
2580
  {
2467
- "description": "Fired when file size validation fails. detail: `Error`",
2468
- "name": "error"
2581
+ "name": "is-vertical",
2582
+ "type": {
2583
+ "text": "boolean"
2584
+ },
2585
+ "default": "false",
2586
+ "fieldName": "isVertical"
2469
2587
  },
2470
2588
  {
2471
- "description": "Fired when selection is cleared",
2472
- "name": "clear"
2473
- }
2474
- ],
2475
- "attributes": [
2589
+ "name": "add-default-actions",
2590
+ "type": {
2591
+ "text": "boolean"
2592
+ },
2593
+ "default": "true",
2594
+ "fieldName": "addDefaultActions"
2595
+ },
2476
2596
  {
2477
- "name": "label",
2597
+ "name": "auto-close-on-action",
2598
+ "type": {
2599
+ "text": "boolean"
2600
+ },
2601
+ "default": "true",
2602
+ "fieldName": "autoCloseOnAction"
2603
+ },
2604
+ {
2605
+ "name": "name",
2478
2606
  "type": {
2479
2607
  "text": "string"
2480
2608
  },
2481
- "fieldName": "label"
2609
+ "default": "'Actions'",
2610
+ "fieldName": "name"
2482
2611
  },
2483
2612
  {
2484
- "name": "accept",
2613
+ "name": "icon-name",
2485
2614
  "type": {
2486
2615
  "text": "string"
2487
2616
  },
2488
- "default": "''",
2489
- "fieldName": "accept"
2617
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2618
+ "fieldName": "iconName"
2490
2619
  },
2491
2620
  {
2492
- "name": "file-size-limit-bytes",
2493
- "default": "DEFAULT_FILE_SIZE_LIMIT",
2494
- "resolveInitializer": {
2495
- "module": "src/_common/base-file-component.ts"
2621
+ "name": "open",
2622
+ "type": {
2623
+ "text": "boolean"
2496
2624
  },
2497
- "fieldName": "fileSizeLimitBytes"
2625
+ "default": "false",
2626
+ "fieldName": "open"
2627
+ },
2628
+ {
2629
+ "name": "buttonAppearance",
2630
+ "type": {
2631
+ "text": "string"
2632
+ },
2633
+ "fieldName": "buttonAppearance"
2634
+ },
2635
+ {
2636
+ "name": "hide-disabled",
2637
+ "type": {
2638
+ "text": "boolean"
2639
+ },
2640
+ "default": "false",
2641
+ "fieldName": "hideDisabled"
2642
+ },
2643
+ {
2644
+ "name": "hide-menu-single-option",
2645
+ "type": {
2646
+ "text": "boolean"
2647
+ },
2648
+ "default": "false",
2649
+ "fieldName": "hideMenuSingleOption"
2498
2650
  }
2499
2651
  ],
2500
2652
  "superclass": {
2501
2653
  "name": "FoundationElement",
2502
2654
  "package": "@microsoft/fast-foundation"
2503
- }
2655
+ },
2656
+ "tagName": "%%prefix%%-actions-menu",
2657
+ "customElement": true
2658
+ },
2659
+ {
2660
+ "kind": "variable",
2661
+ "name": "foundationActionsMenu",
2662
+ "description": "The Foundation Actions Menu",
2663
+ "privacy": "public"
2504
2664
  }
2505
2665
  ],
2506
2666
  "exports": [
2507
2667
  {
2508
2668
  "kind": "js",
2509
- "name": "BaseFileComponent",
2669
+ "name": "ActionsMenu",
2510
2670
  "declaration": {
2511
- "name": "BaseFileComponent",
2512
- "module": "src/_common/base-file-component.ts"
2671
+ "name": "ActionsMenu",
2672
+ "module": "src/actions-menu/actions-menu.ts"
2513
2673
  }
2514
- }
2515
- ]
2516
- },
2517
- {
2518
- "kind": "javascript-module",
2519
- "path": "src/_common/field-styles.ts",
2520
- "declarations": [
2521
- {
2522
- "kind": "variable",
2523
- "name": "sharedFieldStyles",
2524
- "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`"
2525
- }
2526
- ],
2527
- "exports": [
2674
+ },
2528
2675
  {
2529
2676
  "kind": "js",
2530
- "name": "sharedFieldStyles",
2677
+ "name": "foundationActionsMenu",
2531
2678
  "declaration": {
2532
- "name": "sharedFieldStyles",
2533
- "module": "src/_common/field-styles.ts"
2679
+ "name": "foundationActionsMenu",
2680
+ "module": "src/actions-menu/actions-menu.ts"
2534
2681
  }
2535
2682
  }
2536
2683
  ]
2537
2684
  },
2538
2685
  {
2539
2686
  "kind": "javascript-module",
2540
- "path": "src/_common/icons.ts",
2687
+ "path": "src/actions-menu/ag-menu.styles.ts",
2541
2688
  "declarations": [
2542
2689
  {
2543
2690
  "kind": "function",
2544
- "name": "closeIcon",
2691
+ "name": "agMenuStyles",
2692
+ "return": {
2693
+ "type": {
2694
+ "text": ""
2695
+ }
2696
+ },
2545
2697
  "parameters": [
2546
2698
  {
2547
- "name": "slot",
2548
- "default": "'start'"
2699
+ "name": "menuSelector",
2700
+ "type": {
2701
+ "text": "string"
2702
+ },
2703
+ "description": "Selects the menu surface. May be a selector list."
2549
2704
  },
2550
2705
  {
2551
- "name": "fill",
2552
- "default": "'#879ba6'"
2706
+ "name": "itemSelector",
2707
+ "type": {
2708
+ "text": "string"
2709
+ },
2710
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2553
2711
  }
2554
- ]
2712
+ ],
2713
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2714
+ "privacy": "public"
2555
2715
  }
2556
2716
  ],
2557
2717
  "exports": [
2558
2718
  {
2559
2719
  "kind": "js",
2560
- "name": "closeIcon",
2720
+ "name": "agMenuStyles",
2561
2721
  "declaration": {
2562
- "name": "closeIcon",
2563
- "module": "src/_common/icons.ts"
2722
+ "name": "agMenuStyles",
2723
+ "module": "src/actions-menu/ag-menu.styles.ts"
2564
2724
  }
2565
2725
  }
2566
2726
  ]
2567
2727
  },
2568
2728
  {
2569
2729
  "kind": "javascript-module",
2570
- "path": "src/_common/index.ts",
2730
+ "path": "src/actions-menu/index.ts",
2571
2731
  "declarations": [],
2572
2732
  "exports": [
2573
2733
  {
@@ -2575,15 +2735,7 @@
2575
2735
  "name": "*",
2576
2736
  "declaration": {
2577
2737
  "name": "*",
2578
- "package": "./affix-mixin"
2579
- }
2580
- },
2581
- {
2582
- "kind": "js",
2583
- "name": "*",
2584
- "declaration": {
2585
- "name": "*",
2586
- "package": "./alert-flash-clock"
2738
+ "package": "./actions-menu.styles"
2587
2739
  }
2588
2740
  },
2589
2741
  {
@@ -2591,7 +2743,7 @@
2591
2743
  "name": "*",
2592
2744
  "declaration": {
2593
2745
  "name": "*",
2594
- "package": "./base-file-component"
2746
+ "package": "./actions-menu.template"
2595
2747
  }
2596
2748
  },
2597
2749
  {
@@ -2599,7 +2751,7 @@
2599
2751
  "name": "*",
2600
2752
  "declaration": {
2601
2753
  "name": "*",
2602
- "package": "./field-styles"
2754
+ "package": "./actions-menu"
2603
2755
  }
2604
2756
  },
2605
2757
  {
@@ -2607,7 +2759,7 @@
2607
2759
  "name": "*",
2608
2760
  "declaration": {
2609
2761
  "name": "*",
2610
- "package": "./icons"
2762
+ "package": "./ag-menu.styles"
2611
2763
  }
2612
2764
  }
2613
2765
  ]
@@ -3672,42 +3824,11 @@
3672
3824
  },
3673
3825
  {
3674
3826
  "kind": "javascript-module",
3675
- "path": "src/_config/index.ts",
3676
- "declarations": [],
3677
- "exports": [
3678
- {
3679
- "kind": "js",
3680
- "name": "*",
3681
- "declaration": {
3682
- "name": "*",
3683
- "package": "./styles"
3684
- }
3685
- },
3686
- {
3687
- "kind": "js",
3688
- "name": "*",
3689
- "declaration": {
3690
- "name": "*",
3691
- "package": "./tokens"
3692
- }
3693
- },
3694
- {
3695
- "kind": "js",
3696
- "name": "*",
3697
- "declaration": {
3698
- "name": "*",
3699
- "package": "./values"
3700
- }
3701
- }
3702
- ]
3703
- },
3704
- {
3705
- "kind": "javascript-module",
3706
- "path": "src/accordion/accordion.styles.ts",
3827
+ "path": "src/accordion-item/accordion-item.styles.ts",
3707
3828
  "declarations": [
3708
3829
  {
3709
3830
  "kind": "function",
3710
- "name": "foundationAccordionStyles",
3831
+ "name": "foundationAccordionItemStyles",
3711
3832
  "return": {
3712
3833
  "type": {
3713
3834
  "text": "ElementStyles"
@@ -3732,24 +3853,24 @@
3732
3853
  "exports": [
3733
3854
  {
3734
3855
  "kind": "js",
3735
- "name": "foundationAccordionStyles",
3856
+ "name": "foundationAccordionItemStyles",
3736
3857
  "declaration": {
3737
- "name": "foundationAccordionStyles",
3738
- "module": "src/accordion/accordion.styles.ts"
3858
+ "name": "foundationAccordionItemStyles",
3859
+ "module": "src/accordion-item/accordion-item.styles.ts"
3739
3860
  }
3740
3861
  }
3741
3862
  ]
3742
3863
  },
3743
3864
  {
3744
3865
  "kind": "javascript-module",
3745
- "path": "src/accordion/accordion.template.ts",
3866
+ "path": "src/accordion-item/accordion-item.template.ts",
3746
3867
  "declarations": [
3747
3868
  {
3748
3869
  "kind": "function",
3749
- "name": "foundationAccordionTemplate",
3870
+ "name": "foundationAccordionItemTemplate",
3750
3871
  "return": {
3751
3872
  "type": {
3752
- "text": "ViewTemplate<Accordion>"
3873
+ "text": "ViewTemplate<AccordionItem>"
3753
3874
  }
3754
3875
  },
3755
3876
  "parameters": [
@@ -3771,237 +3892,116 @@
3771
3892
  "exports": [
3772
3893
  {
3773
3894
  "kind": "js",
3774
- "name": "foundationAccordionTemplate",
3895
+ "name": "foundationAccordionItemTemplate",
3775
3896
  "declaration": {
3776
- "name": "foundationAccordionTemplate",
3777
- "module": "src/accordion/accordion.template.ts"
3897
+ "name": "foundationAccordionItemTemplate",
3898
+ "module": "src/accordion-item/accordion-item.template.ts"
3778
3899
  }
3779
3900
  }
3780
3901
  ]
3781
3902
  },
3782
3903
  {
3783
3904
  "kind": "javascript-module",
3784
- "path": "src/accordion/accordion.ts",
3905
+ "path": "src/accordion-item/accordion-item.ts",
3785
3906
  "declarations": [
3786
3907
  {
3787
3908
  "kind": "class",
3788
3909
  "description": "",
3789
- "name": "Accordion",
3910
+ "name": "AccordionItem",
3790
3911
  "superclass": {
3791
- "name": "FASTAccordion",
3792
- "package": "@microsoft/fast-foundation"
3912
+ "name": "FASTAccordionItem",
3913
+ "package": "@microsoft/fast-components"
3793
3914
  },
3794
- "tagName": "%%prefix%%-accordion",
3915
+ "tagName": "%%prefix%%-accordion-item",
3795
3916
  "customElement": true,
3796
3917
  "attributes": [
3797
3918
  {
3798
- "name": "expand-mode",
3799
- "type": {
3800
- "text": "AccordionExpandMode"
3801
- },
3802
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3803
- "fieldName": "expandmode",
3804
- "inheritedFrom": {
3805
- "name": "Accordion",
3806
- "module": "src/accordion/accordion.ts"
3807
- }
3808
- }
3809
- ],
3810
- "members": [
3811
- {
3812
- "kind": "field",
3813
- "name": "expandmode",
3919
+ "name": "heading-level",
3814
3920
  "type": {
3815
- "text": "AccordionExpandMode"
3921
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3816
3922
  },
3817
- "privacy": "public",
3818
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3923
+ "default": "2",
3924
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3925
+ "fieldName": "headinglevel",
3819
3926
  "inheritedFrom": {
3820
- "name": "Accordion",
3821
- "module": "src/accordion/accordion.ts"
3927
+ "name": "AccordionItem",
3928
+ "module": "src/accordion-item/accordion-item.ts"
3822
3929
  }
3823
3930
  },
3824
3931
  {
3825
- "kind": "field",
3826
- "name": "activeid",
3827
3932
  "type": {
3828
- "text": "string | null"
3933
+ "text": "boolean"
3829
3934
  },
3830
- "privacy": "private",
3935
+ "default": "false",
3936
+ "description": "Expands or collapses the item.",
3937
+ "fieldName": "expanded",
3831
3938
  "inheritedFrom": {
3832
- "name": "Accordion",
3833
- "module": "src/accordion/accordion.ts"
3939
+ "name": "AccordionItem",
3940
+ "module": "src/accordion-item/accordion-item.ts"
3834
3941
  }
3835
3942
  },
3836
3943
  {
3837
- "kind": "field",
3838
- "name": "activeItemIndex",
3944
+ "name": "id",
3839
3945
  "type": {
3840
- "text": "number"
3946
+ "text": "string"
3841
3947
  },
3842
- "privacy": "private",
3843
- "default": "0",
3948
+ "description": "The item ID",
3949
+ "fieldName": "id",
3844
3950
  "inheritedFrom": {
3845
- "name": "Accordion",
3846
- "module": "src/accordion/accordion.ts"
3951
+ "name": "AccordionItem",
3952
+ "module": "src/accordion-item/accordion-item.ts"
3847
3953
  }
3848
- },
3954
+ }
3955
+ ],
3956
+ "members": [
3849
3957
  {
3850
3958
  "kind": "field",
3851
- "name": "accordionIds",
3959
+ "name": "headinglevel",
3852
3960
  "type": {
3853
- "text": "Array<string | null>"
3854
- },
3855
- "privacy": "private",
3856
- "inheritedFrom": {
3857
- "name": "Accordion",
3858
- "module": "src/accordion/accordion.ts"
3859
- }
3860
- },
3861
- {
3862
- "kind": "field",
3863
- "name": "change",
3864
- "privacy": "private",
3865
- "inheritedFrom": {
3866
- "name": "Accordion",
3867
- "module": "src/accordion/accordion.ts"
3868
- }
3869
- },
3870
- {
3871
- "kind": "method",
3872
- "name": "findExpandedItem",
3873
- "privacy": "private",
3874
- "return": {
3875
- "type": {
3876
- "text": "AccordionItem | null"
3877
- }
3961
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3878
3962
  },
3963
+ "privacy": "public",
3964
+ "default": "2",
3965
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3879
3966
  "inheritedFrom": {
3880
- "name": "Accordion",
3881
- "module": "src/accordion/accordion.ts"
3967
+ "name": "AccordionItem",
3968
+ "module": "src/accordion-item/accordion-item.ts"
3882
3969
  }
3883
3970
  },
3884
3971
  {
3885
3972
  "kind": "field",
3886
- "name": "setItems",
3887
- "privacy": "private",
3888
- "inheritedFrom": {
3889
- "name": "Accordion",
3890
- "module": "src/accordion/accordion.ts"
3891
- }
3892
- },
3893
- {
3894
- "kind": "method",
3895
- "name": "resetItems",
3896
- "privacy": "private",
3897
- "return": {
3898
- "type": {
3899
- "text": "void"
3900
- }
3973
+ "name": "expanded",
3974
+ "type": {
3975
+ "text": "boolean"
3901
3976
  },
3977
+ "privacy": "public",
3978
+ "default": "false",
3979
+ "description": "Expands or collapses the item.",
3902
3980
  "inheritedFrom": {
3903
- "name": "Accordion",
3904
- "module": "src/accordion/accordion.ts"
3905
- }
3906
- },
3907
- {
3908
- "kind": "field",
3909
- "name": "removeItemListeners",
3910
- "privacy": "private",
3911
- "inheritedFrom": {
3912
- "name": "Accordion",
3913
- "module": "src/accordion/accordion.ts"
3981
+ "name": "AccordionItem",
3982
+ "module": "src/accordion-item/accordion-item.ts"
3914
3983
  }
3915
3984
  },
3916
3985
  {
3917
3986
  "kind": "field",
3918
- "name": "activeItemChange",
3919
- "privacy": "private",
3920
- "inheritedFrom": {
3921
- "name": "Accordion",
3922
- "module": "src/accordion/accordion.ts"
3923
- }
3924
- },
3925
- {
3926
- "kind": "method",
3927
- "name": "getItemIds",
3928
- "privacy": "private",
3929
- "return": {
3930
- "type": {
3931
- "text": "Array<string | null>"
3932
- }
3933
- },
3934
- "inheritedFrom": {
3935
- "name": "Accordion",
3936
- "module": "src/accordion/accordion.ts"
3937
- }
3938
- },
3939
- {
3940
- "kind": "method",
3941
- "name": "isSingleExpandMode",
3942
- "privacy": "private",
3943
- "return": {
3944
- "type": {
3945
- "text": "boolean"
3946
- }
3987
+ "name": "id",
3988
+ "type": {
3989
+ "text": "string"
3947
3990
  },
3991
+ "privacy": "public",
3992
+ "description": "The item ID",
3948
3993
  "inheritedFrom": {
3949
- "name": "Accordion",
3950
- "module": "src/accordion/accordion.ts"
3951
- }
3952
- },
3953
- {
3954
- "kind": "field",
3955
- "name": "handleItemKeyDown",
3956
- "privacy": "private",
3957
- "inheritedFrom": {
3958
- "name": "Accordion",
3959
- "module": "src/accordion/accordion.ts"
3994
+ "name": "AccordionItem",
3995
+ "module": "src/accordion-item/accordion-item.ts"
3960
3996
  }
3961
3997
  },
3962
3998
  {
3963
3999
  "kind": "field",
3964
- "name": "handleItemFocus",
3965
- "privacy": "private",
3966
- "inheritedFrom": {
3967
- "name": "Accordion",
3968
- "module": "src/accordion/accordion.ts"
3969
- }
3970
- },
3971
- {
3972
- "kind": "method",
3973
- "name": "adjust",
3974
- "privacy": "private",
3975
- "return": {
3976
- "type": {
3977
- "text": "void"
3978
- }
3979
- },
3980
- "parameters": [
3981
- {
3982
- "name": "adjustment",
3983
- "type": {
3984
- "text": "number"
3985
- }
3986
- }
3987
- ],
3988
- "inheritedFrom": {
3989
- "name": "Accordion",
3990
- "module": "src/accordion/accordion.ts"
3991
- }
3992
- },
3993
- {
3994
- "kind": "method",
3995
- "name": "focusItem",
4000
+ "name": "change",
3996
4001
  "privacy": "private",
3997
- "return": {
3998
- "type": {
3999
- "text": "void"
4000
- }
4001
- },
4002
4002
  "inheritedFrom": {
4003
- "name": "Accordion",
4004
- "module": "src/accordion/accordion.ts"
4003
+ "name": "AccordionItem",
4004
+ "module": "src/accordion-item/accordion-item.ts"
4005
4005
  }
4006
4006
  },
4007
4007
  {
@@ -4118,18 +4118,18 @@
4118
4118
  ],
4119
4119
  "events": [
4120
4120
  {
4121
- "description": "Fires a custom 'change' event when the active item changes",
4121
+ "description": "Fires a custom 'change' event when the button is invoked",
4122
4122
  "name": "change",
4123
4123
  "inheritedFrom": {
4124
- "name": "Accordion",
4125
- "module": "src/accordion/accordion.ts"
4124
+ "name": "AccordionItem",
4125
+ "module": "src/accordion-item/accordion-item.ts"
4126
4126
  }
4127
4127
  }
4128
4128
  ]
4129
4129
  },
4130
4130
  {
4131
4131
  "kind": "variable",
4132
- "name": "foundationAccordionShadowOptions",
4132
+ "name": "foundationAccordionItemShadowOptions",
4133
4133
  "type": {
4134
4134
  "text": "ShadowRootInit"
4135
4135
  },
@@ -4137,57 +4137,57 @@
4137
4137
  },
4138
4138
  {
4139
4139
  "kind": "variable",
4140
- "name": "defaultAccordionConfig",
4140
+ "name": "defaultAccordionItemConfig",
4141
4141
  "type": {
4142
4142
  "text": "object"
4143
4143
  },
4144
- "default": "{}"
4144
+ "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}"
4145
4145
  },
4146
4146
  {
4147
4147
  "kind": "variable",
4148
- "name": "foundationAccordion",
4149
- "description": "The Foundation Accordion",
4148
+ "name": "foundationAccordionItem",
4149
+ "description": "The Foundation Accordion Item",
4150
4150
  "privacy": "public"
4151
4151
  }
4152
4152
  ],
4153
4153
  "exports": [
4154
4154
  {
4155
4155
  "kind": "js",
4156
- "name": "Accordion",
4156
+ "name": "AccordionItem",
4157
4157
  "declaration": {
4158
- "name": "Accordion",
4159
- "module": "src/accordion/accordion.ts"
4158
+ "name": "AccordionItem",
4159
+ "module": "src/accordion-item/accordion-item.ts"
4160
4160
  }
4161
4161
  },
4162
4162
  {
4163
4163
  "kind": "js",
4164
- "name": "foundationAccordionShadowOptions",
4164
+ "name": "foundationAccordionItemShadowOptions",
4165
4165
  "declaration": {
4166
- "name": "foundationAccordionShadowOptions",
4167
- "module": "src/accordion/accordion.ts"
4166
+ "name": "foundationAccordionItemShadowOptions",
4167
+ "module": "src/accordion-item/accordion-item.ts"
4168
4168
  }
4169
4169
  },
4170
4170
  {
4171
4171
  "kind": "js",
4172
- "name": "defaultAccordionConfig",
4172
+ "name": "defaultAccordionItemConfig",
4173
4173
  "declaration": {
4174
- "name": "defaultAccordionConfig",
4175
- "module": "src/accordion/accordion.ts"
4174
+ "name": "defaultAccordionItemConfig",
4175
+ "module": "src/accordion-item/accordion-item.ts"
4176
4176
  }
4177
4177
  },
4178
4178
  {
4179
4179
  "kind": "js",
4180
- "name": "foundationAccordion",
4180
+ "name": "foundationAccordionItem",
4181
4181
  "declaration": {
4182
- "name": "foundationAccordion",
4183
- "module": "src/accordion/accordion.ts"
4182
+ "name": "foundationAccordionItem",
4183
+ "module": "src/accordion-item/accordion-item.ts"
4184
4184
  }
4185
4185
  }
4186
4186
  ]
4187
4187
  },
4188
4188
  {
4189
4189
  "kind": "javascript-module",
4190
- "path": "src/accordion/index.ts",
4190
+ "path": "src/accordion-item/index.ts",
4191
4191
  "declarations": [],
4192
4192
  "exports": [
4193
4193
  {
@@ -4195,7 +4195,7 @@
4195
4195
  "name": "*",
4196
4196
  "declaration": {
4197
4197
  "name": "*",
4198
- "package": "./accordion.template"
4198
+ "package": "./accordion-item.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
@@ -4203,7 +4203,7 @@
4203
4203
  "name": "*",
4204
4204
  "declaration": {
4205
4205
  "name": "*",
4206
- "package": "./accordion.styles"
4206
+ "package": "./accordion-item.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
@@ -4211,7 +4211,7 @@
4211
4211
  "name": "*",
4212
4212
  "declaration": {
4213
4213
  "name": "*",
4214
- "package": "./accordion"
4214
+ "package": "./accordion-item"
4215
4215
  }
4216
4216
  }
4217
4217
  ]
@@ -60776,197 +60776,6 @@
60776
60776
  }
60777
60777
  ]
60778
60778
  },
60779
- {
60780
- "kind": "javascript-module",
60781
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60782
- "declarations": [],
60783
- "exports": []
60784
- },
60785
- {
60786
- "kind": "javascript-module",
60787
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60788
- "declarations": [
60789
- {
60790
- "kind": "function",
60791
- "name": "groupsToCriteria",
60792
- "return": {
60793
- "type": {
60794
- "text": "string"
60795
- }
60796
- },
60797
- "parameters": [
60798
- {
60799
- "name": "groups",
60800
- "type": {
60801
- "text": "CriteriaGroup[]"
60802
- }
60803
- }
60804
- ],
60805
- "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."
60806
- },
60807
- {
60808
- "kind": "variable",
60809
- "name": "STRING_OPERATORS",
60810
- "type": {
60811
- "text": "CriteriaOperator[]"
60812
- },
60813
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'notEqual',\n]"
60814
- },
60815
- {
60816
- "kind": "variable",
60817
- "name": "NUMERIC_OPERATORS",
60818
- "type": {
60819
- "text": "CriteriaOperator[]"
60820
- },
60821
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60822
- },
60823
- {
60824
- "kind": "variable",
60825
- "name": "DATE_OPERATORS",
60826
- "type": {
60827
- "text": "CriteriaOperator[]"
60828
- },
60829
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60830
- },
60831
- {
60832
- "kind": "variable",
60833
- "name": "DATETIME_OPERATORS",
60834
- "type": {
60835
- "text": "CriteriaOperator[]"
60836
- },
60837
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60838
- },
60839
- {
60840
- "kind": "variable",
60841
- "name": "OPERATOR_DISPLAY_LABEL",
60842
- "type": {
60843
- "text": "Record<CriteriaOperator, string>"
60844
- },
60845
- "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}"
60846
- }
60847
- ],
60848
- "exports": [
60849
- {
60850
- "kind": "js",
60851
- "name": "groupsToCriteria",
60852
- "declaration": {
60853
- "name": "groupsToCriteria",
60854
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60855
- }
60856
- },
60857
- {
60858
- "kind": "js",
60859
- "name": "STRING_OPERATORS",
60860
- "declaration": {
60861
- "name": "STRING_OPERATORS",
60862
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60863
- }
60864
- },
60865
- {
60866
- "kind": "js",
60867
- "name": "NUMERIC_OPERATORS",
60868
- "declaration": {
60869
- "name": "NUMERIC_OPERATORS",
60870
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60871
- }
60872
- },
60873
- {
60874
- "kind": "js",
60875
- "name": "DATE_OPERATORS",
60876
- "declaration": {
60877
- "name": "DATE_OPERATORS",
60878
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60879
- }
60880
- },
60881
- {
60882
- "kind": "js",
60883
- "name": "DATETIME_OPERATORS",
60884
- "declaration": {
60885
- "name": "DATETIME_OPERATORS",
60886
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60887
- }
60888
- },
60889
- {
60890
- "kind": "js",
60891
- "name": "OPERATOR_DISPLAY_LABEL",
60892
- "declaration": {
60893
- "name": "OPERATOR_DISPLAY_LABEL",
60894
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60895
- }
60896
- }
60897
- ]
60898
- },
60899
- {
60900
- "kind": "javascript-module",
60901
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60902
- "declarations": [
60903
- {
60904
- "kind": "function",
60905
- "name": "validateClauses",
60906
- "return": {
60907
- "type": {
60908
- "text": "ValidationResult"
60909
- }
60910
- },
60911
- "parameters": [
60912
- {
60913
- "name": "clauses",
60914
- "type": {
60915
- "text": "CriteriaClause[]"
60916
- }
60917
- },
60918
- {
60919
- "name": "fieldMetadata",
60920
- "type": {
60921
- "text": "MetadataDetail[] | string[]"
60922
- }
60923
- }
60924
- ]
60925
- },
60926
- {
60927
- "kind": "function",
60928
- "name": "validateGroups",
60929
- "return": {
60930
- "type": {
60931
- "text": "GroupsValidationResult"
60932
- }
60933
- },
60934
- "parameters": [
60935
- {
60936
- "name": "groups",
60937
- "type": {
60938
- "text": "CriteriaGroup[]"
60939
- }
60940
- },
60941
- {
60942
- "name": "fieldMetadata",
60943
- "type": {
60944
- "text": "MetadataDetail[] | string[]"
60945
- }
60946
- }
60947
- ],
60948
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60949
- }
60950
- ],
60951
- "exports": [
60952
- {
60953
- "kind": "js",
60954
- "name": "validateClauses",
60955
- "declaration": {
60956
- "name": "validateClauses",
60957
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60958
- }
60959
- },
60960
- {
60961
- "kind": "js",
60962
- "name": "validateGroups",
60963
- "declaration": {
60964
- "name": "validateGroups",
60965
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60966
- }
60967
- }
60968
- ]
60969
- },
60970
60779
  {
60971
60780
  "kind": "javascript-module",
60972
60781
  "path": "src/_config/styles/colors.ts",
@@ -62339,6 +62148,197 @@
62339
62148
  "declarations": [],
62340
62149
  "exports": []
62341
62150
  },
62151
+ {
62152
+ "kind": "javascript-module",
62153
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
62154
+ "declarations": [],
62155
+ "exports": []
62156
+ },
62157
+ {
62158
+ "kind": "javascript-module",
62159
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
62160
+ "declarations": [
62161
+ {
62162
+ "kind": "function",
62163
+ "name": "groupsToCriteria",
62164
+ "return": {
62165
+ "type": {
62166
+ "text": "string"
62167
+ }
62168
+ },
62169
+ "parameters": [
62170
+ {
62171
+ "name": "groups",
62172
+ "type": {
62173
+ "text": "CriteriaGroup[]"
62174
+ }
62175
+ }
62176
+ ],
62177
+ "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."
62178
+ },
62179
+ {
62180
+ "kind": "variable",
62181
+ "name": "STRING_OPERATORS",
62182
+ "type": {
62183
+ "text": "CriteriaOperator[]"
62184
+ },
62185
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'notEqual',\n]"
62186
+ },
62187
+ {
62188
+ "kind": "variable",
62189
+ "name": "NUMERIC_OPERATORS",
62190
+ "type": {
62191
+ "text": "CriteriaOperator[]"
62192
+ },
62193
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
62194
+ },
62195
+ {
62196
+ "kind": "variable",
62197
+ "name": "DATE_OPERATORS",
62198
+ "type": {
62199
+ "text": "CriteriaOperator[]"
62200
+ },
62201
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
62202
+ },
62203
+ {
62204
+ "kind": "variable",
62205
+ "name": "DATETIME_OPERATORS",
62206
+ "type": {
62207
+ "text": "CriteriaOperator[]"
62208
+ },
62209
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
62210
+ },
62211
+ {
62212
+ "kind": "variable",
62213
+ "name": "OPERATOR_DISPLAY_LABEL",
62214
+ "type": {
62215
+ "text": "Record<CriteriaOperator, string>"
62216
+ },
62217
+ "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}"
62218
+ }
62219
+ ],
62220
+ "exports": [
62221
+ {
62222
+ "kind": "js",
62223
+ "name": "groupsToCriteria",
62224
+ "declaration": {
62225
+ "name": "groupsToCriteria",
62226
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62227
+ }
62228
+ },
62229
+ {
62230
+ "kind": "js",
62231
+ "name": "STRING_OPERATORS",
62232
+ "declaration": {
62233
+ "name": "STRING_OPERATORS",
62234
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62235
+ }
62236
+ },
62237
+ {
62238
+ "kind": "js",
62239
+ "name": "NUMERIC_OPERATORS",
62240
+ "declaration": {
62241
+ "name": "NUMERIC_OPERATORS",
62242
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62243
+ }
62244
+ },
62245
+ {
62246
+ "kind": "js",
62247
+ "name": "DATE_OPERATORS",
62248
+ "declaration": {
62249
+ "name": "DATE_OPERATORS",
62250
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62251
+ }
62252
+ },
62253
+ {
62254
+ "kind": "js",
62255
+ "name": "DATETIME_OPERATORS",
62256
+ "declaration": {
62257
+ "name": "DATETIME_OPERATORS",
62258
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62259
+ }
62260
+ },
62261
+ {
62262
+ "kind": "js",
62263
+ "name": "OPERATOR_DISPLAY_LABEL",
62264
+ "declaration": {
62265
+ "name": "OPERATOR_DISPLAY_LABEL",
62266
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
62267
+ }
62268
+ }
62269
+ ]
62270
+ },
62271
+ {
62272
+ "kind": "javascript-module",
62273
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
62274
+ "declarations": [
62275
+ {
62276
+ "kind": "function",
62277
+ "name": "validateClauses",
62278
+ "return": {
62279
+ "type": {
62280
+ "text": "ValidationResult"
62281
+ }
62282
+ },
62283
+ "parameters": [
62284
+ {
62285
+ "name": "clauses",
62286
+ "type": {
62287
+ "text": "CriteriaClause[]"
62288
+ }
62289
+ },
62290
+ {
62291
+ "name": "fieldMetadata",
62292
+ "type": {
62293
+ "text": "MetadataDetail[] | string[]"
62294
+ }
62295
+ }
62296
+ ]
62297
+ },
62298
+ {
62299
+ "kind": "function",
62300
+ "name": "validateGroups",
62301
+ "return": {
62302
+ "type": {
62303
+ "text": "GroupsValidationResult"
62304
+ }
62305
+ },
62306
+ "parameters": [
62307
+ {
62308
+ "name": "groups",
62309
+ "type": {
62310
+ "text": "CriteriaGroup[]"
62311
+ }
62312
+ },
62313
+ {
62314
+ "name": "fieldMetadata",
62315
+ "type": {
62316
+ "text": "MetadataDetail[] | string[]"
62317
+ }
62318
+ }
62319
+ ],
62320
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
62321
+ }
62322
+ ],
62323
+ "exports": [
62324
+ {
62325
+ "kind": "js",
62326
+ "name": "validateClauses",
62327
+ "declaration": {
62328
+ "name": "validateClauses",
62329
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
62330
+ }
62331
+ },
62332
+ {
62333
+ "kind": "js",
62334
+ "name": "validateGroups",
62335
+ "declaration": {
62336
+ "name": "validateGroups",
62337
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
62338
+ }
62339
+ }
62340
+ ]
62341
+ },
62342
62342
  {
62343
62343
  "kind": "javascript-module",
62344
62344
  "path": "src/environment-indicator/utils/configure.ts",