@genesislcap/foundation-ui 14.409.0-FUI-2495.3 → 14.409.0-FUI-2495.4

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 +1110 -1110
  2. package/package.json +19 -19
@@ -926,186 +926,160 @@
926
926
  },
927
927
  {
928
928
  "kind": "javascript-module",
929
- "path": "src/accordion-item/accordion-item.styles.ts",
929
+ "path": "src/_common/base-file-component.ts",
930
930
  "declarations": [
931
931
  {
932
- "kind": "function",
933
- "name": "foundationAccordionItemStyles",
934
- "return": {
935
- "type": {
936
- "text": "ElementStyles"
937
- }
938
- },
939
- "parameters": [
932
+ "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",
935
+ "members": [
940
936
  {
941
- "name": "context",
937
+ "kind": "field",
938
+ "name": "fileInput",
942
939
  "type": {
943
- "text": "ElementDefinitionContext"
944
- }
940
+ "text": "HTMLInputElement"
941
+ },
942
+ "privacy": "public"
945
943
  },
946
944
  {
947
- "name": "definition",
948
- "type": {
949
- "text": "FoundationElementDefinition"
950
- }
951
- }
952
- ]
953
- }
954
- ],
955
- "exports": [
956
- {
957
- "kind": "js",
958
- "name": "foundationAccordionItemStyles",
959
- "declaration": {
960
- "name": "foundationAccordionItemStyles",
961
- "module": "src/accordion-item/accordion-item.styles.ts"
962
- }
963
- }
964
- ]
965
- },
966
- {
967
- "kind": "javascript-module",
968
- "path": "src/accordion-item/accordion-item.template.ts",
969
- "declarations": [
970
- {
971
- "kind": "function",
972
- "name": "foundationAccordionItemTemplate",
973
- "return": {
974
- "type": {
975
- "text": "ViewTemplate<AccordionItem>"
976
- }
977
- },
978
- "parameters": [
979
- {
980
- "name": "context",
945
+ "kind": "field",
946
+ "name": "selectedFile",
981
947
  "type": {
982
- "text": "ElementDefinitionContext"
983
- }
948
+ "text": "File | null"
949
+ },
950
+ "privacy": "protected",
951
+ "default": "null"
984
952
  },
985
953
  {
986
- "name": "definition",
954
+ "kind": "field",
955
+ "name": "label",
987
956
  "type": {
988
- "text": "FoundationElementDefinition"
957
+ "text": "string"
989
958
  }
990
- }
991
- ]
992
- }
993
- ],
994
- "exports": [
995
- {
996
- "kind": "js",
997
- "name": "foundationAccordionItemTemplate",
998
- "declaration": {
999
- "name": "foundationAccordionItemTemplate",
1000
- "module": "src/accordion-item/accordion-item.template.ts"
1001
- }
1002
- }
1003
- ]
1004
- },
1005
- {
1006
- "kind": "javascript-module",
1007
- "path": "src/accordion-item/accordion-item.ts",
1008
- "declarations": [
1009
- {
1010
- "kind": "class",
1011
- "description": "",
1012
- "name": "AccordionItem",
1013
- "superclass": {
1014
- "name": "FASTAccordionItem",
1015
- "package": "@microsoft/fast-components"
1016
- },
1017
- "tagName": "%%prefix%%-accordion-item",
1018
- "customElement": true,
1019
- "attributes": [
959
+ },
1020
960
  {
1021
- "name": "heading-level",
961
+ "kind": "field",
962
+ "name": "accept",
1022
963
  "type": {
1023
- "text": "1 | 2 | 3 | 4 | 5 | 6"
964
+ "text": "string"
1024
965
  },
1025
- "default": "2",
1026
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1027
- "fieldName": "headinglevel",
1028
- "inheritedFrom": {
1029
- "name": "AccordionItem",
1030
- "module": "src/accordion-item/accordion-item.ts"
1031
- }
966
+ "default": "''"
1032
967
  },
1033
968
  {
969
+ "kind": "field",
970
+ "name": "fileSizeLimitBytes",
971
+ "default": "10_485_760",
1034
972
  "type": {
1035
- "text": "boolean"
1036
- },
1037
- "default": "false",
1038
- "description": "Expands or collapses the item.",
1039
- "fieldName": "expanded",
1040
- "inheritedFrom": {
1041
- "name": "AccordionItem",
1042
- "module": "src/accordion-item/accordion-item.ts"
973
+ "text": "number"
1043
974
  }
1044
975
  },
1045
976
  {
1046
- "name": "id",
977
+ "kind": "field",
978
+ "name": "fileName",
1047
979
  "type": {
1048
980
  "text": "string"
1049
981
  },
1050
- "description": "The item ID",
1051
- "fieldName": "id",
1052
- "inheritedFrom": {
1053
- "name": "AccordionItem",
1054
- "module": "src/accordion-item/accordion-item.ts"
1055
- }
1056
- }
1057
- ],
1058
- "members": [
982
+ "default": "''"
983
+ },
1059
984
  {
1060
985
  "kind": "field",
1061
- "name": "headinglevel",
986
+ "name": "isProcessing",
1062
987
  "type": {
1063
- "text": "1 | 2 | 3 | 4 | 5 | 6"
988
+ "text": "boolean"
1064
989
  },
990
+ "default": "false"
991
+ },
992
+ {
993
+ "kind": "method",
994
+ "name": "handleClick",
1065
995
  "privacy": "public",
1066
- "default": "2",
1067
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1068
- "inheritedFrom": {
1069
- "name": "AccordionItem",
1070
- "module": "src/accordion-item/accordion-item.ts"
1071
- }
996
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1072
997
  },
1073
998
  {
1074
- "kind": "field",
1075
- "name": "expanded",
1076
- "type": {
1077
- "text": "boolean"
1078
- },
999
+ "kind": "method",
1000
+ "name": "onInputChange",
1079
1001
  "privacy": "public",
1080
- "default": "false",
1081
- "description": "Expands or collapses the item.",
1082
- "inheritedFrom": {
1083
- "name": "AccordionItem",
1084
- "module": "src/accordion-item/accordion-item.ts"
1085
- }
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"
1086
1012
  },
1087
1013
  {
1088
- "kind": "field",
1089
- "name": "id",
1090
- "type": {
1091
- "text": "string"
1092
- },
1014
+ "kind": "method",
1015
+ "name": "clearSelection",
1093
1016
  "privacy": "public",
1094
- "description": "The item ID",
1095
- "inheritedFrom": {
1096
- "name": "AccordionItem",
1097
- "module": "src/accordion-item/accordion-item.ts"
1098
- }
1017
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1099
1018
  },
1100
1019
  {
1101
- "kind": "field",
1102
- "name": "change",
1103
- "privacy": "private",
1104
- "inheritedFrom": {
1105
- "name": "AccordionItem",
1106
- "module": "src/accordion-item/accordion-item.ts"
1020
+ "kind": "method",
1021
+ "name": "getSelectedFile",
1022
+ "privacy": "public",
1023
+ "description": "Gets the currently selected file object",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": ""
1027
+ }
1107
1028
  }
1108
1029
  },
1030
+ {
1031
+ "kind": "method",
1032
+ "name": "showError",
1033
+ "privacy": "protected",
1034
+ "parameters": [
1035
+ {
1036
+ "name": "title",
1037
+ "type": {
1038
+ "text": "string"
1039
+ },
1040
+ "description": "The error title"
1041
+ },
1042
+ {
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",
1064
+ "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
+ },
1109
1083
  {
1110
1084
  "kind": "field",
1111
1085
  "name": "_presentation",
@@ -1218,78 +1192,104 @@
1218
1192
  }
1219
1193
  }
1220
1194
  ],
1221
- "events": [
1195
+ "attributes": [
1222
1196
  {
1223
- "description": "Fires a custom 'change' event when the button is invoked",
1224
- "name": "change",
1225
- "inheritedFrom": {
1226
- "name": "AccordionItem",
1227
- "module": "src/accordion-item/accordion-item.ts"
1228
- }
1197
+ "name": "label",
1198
+ "type": {
1199
+ "text": "string"
1200
+ },
1201
+ "fieldName": "label"
1202
+ },
1203
+ {
1204
+ "name": "accept",
1205
+ "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"
1216
+ },
1217
+ "fieldName": "fileSizeLimitBytes"
1229
1218
  }
1230
- ]
1231
- },
1232
- {
1233
- "kind": "variable",
1234
- "name": "foundationAccordionItemShadowOptions",
1235
- "type": {
1236
- "text": "ShadowRootInit"
1237
- },
1238
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1239
- },
1240
- {
1241
- "kind": "variable",
1242
- "name": "defaultAccordionItemConfig",
1243
- "type": {
1244
- "text": "object"
1245
- },
1246
- "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}"
1247
- },
1248
- {
1249
- "kind": "variable",
1250
- "name": "foundationAccordionItem",
1251
- "description": "The Foundation Accordion Item",
1252
- "privacy": "public"
1219
+ ],
1220
+ "superclass": {
1221
+ "name": "FoundationElement",
1222
+ "package": "@microsoft/fast-foundation"
1223
+ }
1253
1224
  }
1254
1225
  ],
1255
1226
  "exports": [
1256
1227
  {
1257
1228
  "kind": "js",
1258
- "name": "AccordionItem",
1229
+ "name": "BaseFileComponent",
1259
1230
  "declaration": {
1260
- "name": "AccordionItem",
1261
- "module": "src/accordion-item/accordion-item.ts"
1231
+ "name": "BaseFileComponent",
1232
+ "module": "src/_common/base-file-component.ts"
1262
1233
  }
1263
- },
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": [
1264
1257
  {
1265
1258
  "kind": "js",
1266
- "name": "foundationAccordionItemShadowOptions",
1259
+ "name": "closeIcon",
1267
1260
  "declaration": {
1268
- "name": "foundationAccordionItemShadowOptions",
1269
- "module": "src/accordion-item/accordion-item.ts"
1261
+ "name": "closeIcon",
1262
+ "module": "src/_common/icons.ts"
1270
1263
  }
1271
- },
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "kind": "javascript-module",
1269
+ "path": "src/_common/index.ts",
1270
+ "declarations": [],
1271
+ "exports": [
1272
1272
  {
1273
1273
  "kind": "js",
1274
- "name": "defaultAccordionItemConfig",
1274
+ "name": "*",
1275
1275
  "declaration": {
1276
- "name": "defaultAccordionItemConfig",
1277
- "module": "src/accordion-item/accordion-item.ts"
1276
+ "name": "*",
1277
+ "package": "./base-file-component"
1278
1278
  }
1279
1279
  },
1280
1280
  {
1281
1281
  "kind": "js",
1282
- "name": "foundationAccordionItem",
1282
+ "name": "*",
1283
1283
  "declaration": {
1284
- "name": "foundationAccordionItem",
1285
- "module": "src/accordion-item/accordion-item.ts"
1284
+ "name": "*",
1285
+ "package": "./icons"
1286
1286
  }
1287
1287
  }
1288
1288
  ]
1289
1289
  },
1290
1290
  {
1291
1291
  "kind": "javascript-module",
1292
- "path": "src/accordion-item/index.ts",
1292
+ "path": "src/_config/index.ts",
1293
1293
  "declarations": [],
1294
1294
  "exports": [
1295
1295
  {
@@ -1297,7 +1297,7 @@
1297
1297
  "name": "*",
1298
1298
  "declaration": {
1299
1299
  "name": "*",
1300
- "package": "./accordion-item.template"
1300
+ "package": "./styles"
1301
1301
  }
1302
1302
  },
1303
1303
  {
@@ -1305,7 +1305,7 @@
1305
1305
  "name": "*",
1306
1306
  "declaration": {
1307
1307
  "name": "*",
1308
- "package": "./accordion-item.styles"
1308
+ "package": "./tokens"
1309
1309
  }
1310
1310
  },
1311
1311
  {
@@ -1313,41 +1313,18 @@
1313
1313
  "name": "*",
1314
1314
  "declaration": {
1315
1315
  "name": "*",
1316
- "package": "./accordion-item"
1316
+ "package": "./values"
1317
1317
  }
1318
1318
  }
1319
1319
  ]
1320
1320
  },
1321
1321
  {
1322
1322
  "kind": "javascript-module",
1323
- "path": "src/actions-menu/actions-menu.styles.ts",
1323
+ "path": "src/accordion-item/accordion-item.styles.ts",
1324
1324
  "declarations": [
1325
1325
  {
1326
1326
  "kind": "function",
1327
- "name": "actionsMenuBaseStyles",
1328
- "return": {
1329
- "type": {
1330
- "text": "ElementStyles"
1331
- }
1332
- },
1333
- "parameters": [
1334
- {
1335
- "name": "context",
1336
- "type": {
1337
- "text": "ElementDefinitionContext"
1338
- }
1339
- },
1340
- {
1341
- "name": "definition",
1342
- "type": {
1343
- "text": "FoundationElementDefinition"
1344
- }
1345
- }
1346
- ]
1347
- },
1348
- {
1349
- "kind": "function",
1350
- "name": "foundationActionsMenuStyles",
1327
+ "name": "foundationAccordionItemStyles",
1351
1328
  "return": {
1352
1329
  "type": {
1353
1330
  "text": "ElementStyles"
@@ -1372,667 +1349,157 @@
1372
1349
  "exports": [
1373
1350
  {
1374
1351
  "kind": "js",
1375
- "name": "actionsMenuBaseStyles",
1376
- "declaration": {
1377
- "name": "actionsMenuBaseStyles",
1378
- "module": "src/actions-menu/actions-menu.styles.ts"
1379
- }
1380
- },
1381
- {
1382
- "kind": "js",
1383
- "name": "foundationActionsMenuStyles",
1352
+ "name": "foundationAccordionItemStyles",
1384
1353
  "declaration": {
1385
- "name": "foundationActionsMenuStyles",
1386
- "module": "src/actions-menu/actions-menu.styles.ts"
1354
+ "name": "foundationAccordionItemStyles",
1355
+ "module": "src/accordion-item/accordion-item.styles.ts"
1387
1356
  }
1388
1357
  }
1389
1358
  ]
1390
1359
  },
1391
1360
  {
1392
1361
  "kind": "javascript-module",
1393
- "path": "src/actions-menu/actions-menu.template.ts",
1362
+ "path": "src/accordion-item/accordion-item.template.ts",
1394
1363
  "declarations": [
1395
1364
  {
1396
1365
  "kind": "function",
1397
- "name": "menuTemplate",
1366
+ "name": "foundationAccordionItemTemplate",
1367
+ "return": {
1368
+ "type": {
1369
+ "text": "ViewTemplate<AccordionItem>"
1370
+ }
1371
+ },
1398
1372
  "parameters": [
1399
1373
  {
1400
- "name": "prefix",
1374
+ "name": "context",
1401
1375
  "type": {
1402
- "text": "string"
1376
+ "text": "ElementDefinitionContext"
1403
1377
  }
1404
- }
1405
- ]
1406
- },
1407
- {
1408
- "kind": "function",
1409
- "name": "singleOptionTemplate",
1410
- "parameters": [
1378
+ },
1411
1379
  {
1412
- "name": "prefix",
1380
+ "name": "definition",
1413
1381
  "type": {
1414
- "text": "string"
1382
+ "text": "FoundationElementDefinition"
1415
1383
  }
1416
1384
  }
1417
1385
  ]
1418
- },
1419
- {
1420
- "kind": "variable",
1421
- "name": "foundationActionsMenuTemplate",
1422
- "type": {
1423
- "text": "ViewTemplate<ActionsMenu>"
1424
- },
1425
- "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`"
1426
1386
  }
1427
1387
  ],
1428
1388
  "exports": [
1429
1389
  {
1430
1390
  "kind": "js",
1431
- "name": "menuTemplate",
1432
- "declaration": {
1433
- "name": "menuTemplate",
1434
- "module": "src/actions-menu/actions-menu.template.ts"
1435
- }
1436
- },
1437
- {
1438
- "kind": "js",
1439
- "name": "singleOptionTemplate",
1440
- "declaration": {
1441
- "name": "singleOptionTemplate",
1442
- "module": "src/actions-menu/actions-menu.template.ts"
1443
- }
1444
- },
1445
- {
1446
- "kind": "js",
1447
- "name": "foundationActionsMenuTemplate",
1391
+ "name": "foundationAccordionItemTemplate",
1448
1392
  "declaration": {
1449
- "name": "foundationActionsMenuTemplate",
1450
- "module": "src/actions-menu/actions-menu.template.ts"
1393
+ "name": "foundationAccordionItemTemplate",
1394
+ "module": "src/accordion-item/accordion-item.template.ts"
1451
1395
  }
1452
1396
  }
1453
1397
  ]
1454
1398
  },
1455
1399
  {
1456
1400
  "kind": "javascript-module",
1457
- "path": "src/actions-menu/actions-menu.ts",
1401
+ "path": "src/accordion-item/accordion-item.ts",
1458
1402
  "declarations": [
1459
1403
  {
1460
1404
  "kind": "class",
1461
1405
  "description": "",
1462
- "name": "ActionsMenu",
1463
- "members": [
1406
+ "name": "AccordionItem",
1407
+ "superclass": {
1408
+ "name": "FASTAccordionItem",
1409
+ "package": "@microsoft/fast-components"
1410
+ },
1411
+ "tagName": "%%prefix%%-accordion-item",
1412
+ "customElement": true,
1413
+ "attributes": [
1464
1414
  {
1465
- "kind": "field",
1466
- "name": "actions",
1415
+ "name": "heading-level",
1467
1416
  "type": {
1468
- "text": "ActionMenuItem[]"
1417
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1418
+ },
1419
+ "default": "2",
1420
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1421
+ "fieldName": "headinglevel",
1422
+ "inheritedFrom": {
1423
+ "name": "AccordionItem",
1424
+ "module": "src/accordion-item/accordion-item.ts"
1469
1425
  }
1470
1426
  },
1471
1427
  {
1472
- "kind": "field",
1473
- "name": "isVertical",
1474
1428
  "type": {
1475
1429
  "text": "boolean"
1476
1430
  },
1477
- "default": "false"
1431
+ "default": "false",
1432
+ "description": "Expands or collapses the item.",
1433
+ "fieldName": "expanded",
1434
+ "inheritedFrom": {
1435
+ "name": "AccordionItem",
1436
+ "module": "src/accordion-item/accordion-item.ts"
1437
+ }
1478
1438
  },
1479
1439
  {
1480
- "kind": "field",
1481
- "name": "addDefaultActions",
1482
- "type": {
1483
- "text": "boolean"
1484
- },
1485
- "default": "true"
1486
- },
1487
- {
1488
- "kind": "field",
1489
- "name": "autoCloseOnAction",
1490
- "type": {
1491
- "text": "boolean"
1492
- },
1493
- "default": "true"
1494
- },
1495
- {
1496
- "kind": "field",
1497
- "name": "classNames",
1498
- "type": {
1499
- "text": "string"
1500
- }
1501
- },
1502
- {
1503
- "kind": "field",
1504
- "name": "definition",
1505
- "type": {
1506
- "text": "any"
1507
- }
1508
- },
1509
- {
1510
- "kind": "field",
1511
- "name": "name",
1512
- "type": {
1513
- "text": "string"
1514
- },
1515
- "default": "'Actions'"
1516
- },
1517
- {
1518
- "kind": "field",
1519
- "name": "open",
1520
- "type": {
1521
- "text": "boolean"
1522
- },
1523
- "default": "false"
1524
- },
1525
- {
1526
- "kind": "field",
1527
- "name": "buttonAppearance",
1440
+ "name": "id",
1528
1441
  "type": {
1529
1442
  "text": "string"
1530
- }
1531
- },
1532
- {
1533
- "kind": "field",
1534
- "name": "hideDisabled",
1535
- "type": {
1536
- "text": "boolean"
1537
- },
1538
- "default": "false"
1539
- },
1540
- {
1541
- "kind": "field",
1542
- "name": "hideMenuSingleOption",
1543
- "type": {
1544
- "text": "boolean"
1545
- },
1546
- "default": "false"
1547
- },
1548
- {
1549
- "kind": "field",
1550
- "name": "singleOption",
1551
- "type": {
1552
- "text": "ActionMenuItem"
1553
- }
1554
- },
1555
- {
1556
- "kind": "field",
1557
- "name": "actionsMenu",
1558
- "type": {
1559
- "text": "HTMLElement"
1560
- }
1561
- },
1562
- {
1563
- "kind": "method",
1564
- "name": "definitionChanged",
1565
- "privacy": "protected",
1566
- "parameters": [
1567
- {
1568
- "name": "oldValue",
1569
- "type": {
1570
- "text": "any"
1571
- }
1572
- },
1573
- {
1574
- "name": "newValue",
1575
- "type": {
1576
- "text": "any"
1577
- }
1578
- }
1579
- ]
1580
- },
1581
- {
1582
- "kind": "method",
1583
- "name": "openChanged",
1584
- "privacy": "protected"
1585
- },
1586
- {
1587
- "kind": "method",
1588
- "name": "toggleActionsMenuVisibility"
1589
- },
1590
- {
1591
- "kind": "method",
1592
- "name": "onActionMenuItemClick",
1593
- "parameters": [
1594
- {
1595
- "name": "callback",
1596
- "type": {
1597
- "text": "(rowData) => void | any"
1598
- }
1599
- }
1600
- ]
1601
- },
1602
- {
1603
- "kind": "field",
1604
- "name": "allActions",
1605
- "type": {
1606
- "text": "ActionMenuItem[]"
1607
- },
1608
- "readonly": true
1609
- },
1610
- {
1611
- "kind": "field",
1612
- "name": "rowData",
1613
- "readonly": true
1614
- },
1615
- {
1616
- "kind": "method",
1617
- "name": "getLabel",
1618
- "parameters": [
1619
- {
1620
- "name": "name",
1621
- "type": {
1622
- "text": "string | ((rowData: any) => string)"
1623
- }
1624
- }
1625
- ]
1626
- },
1627
- {
1628
- "kind": "method",
1629
- "name": "getTemplate",
1630
- "parameters": [
1631
- {
1632
- "name": "prefix",
1633
- "type": {
1634
- "text": "string"
1635
- }
1636
- }
1637
- ]
1638
- },
1639
- {
1640
- "kind": "field",
1641
- "name": "_presentation",
1642
- "type": {
1643
- "text": "ComponentPresentation | null | undefined"
1644
1443
  },
1645
- "privacy": "private",
1646
- "default": "void 0",
1444
+ "description": "The item ID",
1445
+ "fieldName": "id",
1647
1446
  "inheritedFrom": {
1648
- "name": "FoundationElement",
1649
- "module": "src/foundation-element/foundation-element.ts"
1447
+ "name": "AccordionItem",
1448
+ "module": "src/accordion-item/accordion-item.ts"
1650
1449
  }
1651
- },
1450
+ }
1451
+ ],
1452
+ "members": [
1652
1453
  {
1653
1454
  "kind": "field",
1654
- "name": "$presentation",
1455
+ "name": "headinglevel",
1655
1456
  "type": {
1656
- "text": "ComponentPresentation | null"
1457
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1657
1458
  },
1658
1459
  "privacy": "public",
1659
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1460
+ "default": "2",
1461
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1660
1462
  "inheritedFrom": {
1661
- "name": "FoundationElement",
1662
- "module": "src/foundation-element/foundation-element.ts"
1463
+ "name": "AccordionItem",
1464
+ "module": "src/accordion-item/accordion-item.ts"
1663
1465
  }
1664
1466
  },
1665
1467
  {
1666
1468
  "kind": "field",
1667
- "name": "template",
1469
+ "name": "expanded",
1668
1470
  "type": {
1669
- "text": "ElementViewTemplate | void | null"
1471
+ "text": "boolean"
1670
1472
  },
1671
1473
  "privacy": "public",
1672
- "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.",
1673
- "inheritedFrom": {
1674
- "name": "FoundationElement",
1675
- "module": "src/foundation-element/foundation-element.ts"
1676
- }
1677
- },
1678
- {
1679
- "kind": "method",
1680
- "name": "templateChanged",
1681
- "privacy": "protected",
1682
- "return": {
1683
- "type": {
1684
- "text": "void"
1685
- }
1686
- },
1474
+ "default": "false",
1475
+ "description": "Expands or collapses the item.",
1687
1476
  "inheritedFrom": {
1688
- "name": "FoundationElement",
1689
- "module": "src/foundation-element/foundation-element.ts"
1477
+ "name": "AccordionItem",
1478
+ "module": "src/accordion-item/accordion-item.ts"
1690
1479
  }
1691
1480
  },
1692
1481
  {
1693
1482
  "kind": "field",
1694
- "name": "styles",
1483
+ "name": "id",
1695
1484
  "type": {
1696
- "text": "ElementStyles | void | null"
1697
- },
1698
- "privacy": "public",
1699
- "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.",
1700
- "inheritedFrom": {
1701
- "name": "FoundationElement",
1702
- "module": "src/foundation-element/foundation-element.ts"
1703
- }
1704
- },
1705
- {
1706
- "kind": "method",
1707
- "name": "stylesChanged",
1708
- "privacy": "protected",
1709
- "return": {
1710
- "type": {
1711
- "text": "void"
1712
- }
1485
+ "text": "string"
1713
1486
  },
1714
- "inheritedFrom": {
1715
- "name": "FoundationElement",
1716
- "module": "src/foundation-element/foundation-element.ts"
1717
- }
1718
- },
1719
- {
1720
- "kind": "method",
1721
- "name": "compose",
1722
1487
  "privacy": "public",
1723
- "static": true,
1724
- "return": {
1725
- "type": {
1726
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1727
- }
1728
- },
1729
- "parameters": [
1730
- {
1731
- "name": "this",
1732
- "type": {
1733
- "text": "K"
1734
- }
1735
- },
1736
- {
1737
- "name": "elementDefinition",
1738
- "type": {
1739
- "text": "T"
1740
- },
1741
- "description": "The definition of the element to create the registry\nfunction for."
1742
- }
1743
- ],
1744
- "description": "Defines an element registry function with a set of element definition defaults.",
1488
+ "description": "The item ID",
1745
1489
  "inheritedFrom": {
1746
- "name": "FoundationElement",
1747
- "module": "src/foundation-element/foundation-element.ts"
1748
- }
1749
- }
1750
- ],
1751
- "attributes": [
1752
- {
1753
- "name": "is-vertical",
1754
- "type": {
1755
- "text": "boolean"
1756
- },
1757
- "default": "false",
1758
- "fieldName": "isVertical"
1759
- },
1760
- {
1761
- "name": "add-default-actions",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "default": "true",
1766
- "fieldName": "addDefaultActions"
1767
- },
1768
- {
1769
- "name": "auto-close-on-action",
1770
- "type": {
1771
- "text": "boolean"
1772
- },
1773
- "default": "true",
1774
- "fieldName": "autoCloseOnAction"
1775
- },
1776
- {
1777
- "name": "name",
1778
- "type": {
1779
- "text": "string"
1780
- },
1781
- "default": "'Actions'",
1782
- "fieldName": "name"
1783
- },
1784
- {
1785
- "name": "open",
1786
- "type": {
1787
- "text": "boolean"
1788
- },
1789
- "default": "false",
1790
- "fieldName": "open"
1791
- },
1792
- {
1793
- "name": "buttonAppearance",
1794
- "type": {
1795
- "text": "string"
1796
- },
1797
- "fieldName": "buttonAppearance"
1798
- },
1799
- {
1800
- "name": "hide-disabled",
1801
- "type": {
1802
- "text": "boolean"
1803
- },
1804
- "default": "false",
1805
- "fieldName": "hideDisabled"
1806
- },
1807
- {
1808
- "name": "hide-menu-single-option",
1809
- "type": {
1810
- "text": "boolean"
1811
- },
1812
- "default": "false",
1813
- "fieldName": "hideMenuSingleOption"
1814
- }
1815
- ],
1816
- "superclass": {
1817
- "name": "FoundationElement",
1818
- "package": "@microsoft/fast-foundation"
1819
- },
1820
- "tagName": "%%prefix%%-actions-menu",
1821
- "customElement": true
1822
- },
1823
- {
1824
- "kind": "variable",
1825
- "name": "foundationActionsMenu",
1826
- "description": "The Foundation Actions Menu",
1827
- "privacy": "public"
1828
- }
1829
- ],
1830
- "exports": [
1831
- {
1832
- "kind": "js",
1833
- "name": "ActionsMenu",
1834
- "declaration": {
1835
- "name": "ActionsMenu",
1836
- "module": "src/actions-menu/actions-menu.ts"
1837
- }
1838
- },
1839
- {
1840
- "kind": "js",
1841
- "name": "foundationActionsMenu",
1842
- "declaration": {
1843
- "name": "foundationActionsMenu",
1844
- "module": "src/actions-menu/actions-menu.ts"
1845
- }
1846
- }
1847
- ]
1848
- },
1849
- {
1850
- "kind": "javascript-module",
1851
- "path": "src/actions-menu/index.ts",
1852
- "declarations": [],
1853
- "exports": [
1854
- {
1855
- "kind": "js",
1856
- "name": "*",
1857
- "declaration": {
1858
- "name": "*",
1859
- "package": "./actions-menu.styles"
1860
- }
1861
- },
1862
- {
1863
- "kind": "js",
1864
- "name": "*",
1865
- "declaration": {
1866
- "name": "*",
1867
- "package": "./actions-menu.template"
1868
- }
1869
- },
1870
- {
1871
- "kind": "js",
1872
- "name": "*",
1873
- "declaration": {
1874
- "name": "*",
1875
- "package": "./actions-menu"
1876
- }
1877
- }
1878
- ]
1879
- },
1880
- {
1881
- "kind": "javascript-module",
1882
- "path": "src/_common/base-file-component.ts",
1883
- "declarations": [
1884
- {
1885
- "kind": "class",
1886
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1887
- "name": "BaseFileComponent",
1888
- "members": [
1889
- {
1890
- "kind": "field",
1891
- "name": "fileInput",
1892
- "type": {
1893
- "text": "HTMLInputElement"
1894
- },
1895
- "privacy": "public"
1896
- },
1897
- {
1898
- "kind": "field",
1899
- "name": "selectedFile",
1900
- "type": {
1901
- "text": "File | null"
1902
- },
1903
- "privacy": "protected",
1904
- "default": "null"
1905
- },
1906
- {
1907
- "kind": "field",
1908
- "name": "label",
1909
- "type": {
1910
- "text": "string"
1911
- }
1912
- },
1913
- {
1914
- "kind": "field",
1915
- "name": "accept",
1916
- "type": {
1917
- "text": "string"
1918
- },
1919
- "default": "''"
1920
- },
1921
- {
1922
- "kind": "field",
1923
- "name": "fileSizeLimitBytes",
1924
- "default": "10_485_760",
1925
- "type": {
1926
- "text": "number"
1490
+ "name": "AccordionItem",
1491
+ "module": "src/accordion-item/accordion-item.ts"
1927
1492
  }
1928
1493
  },
1929
1494
  {
1930
1495
  "kind": "field",
1931
- "name": "fileName",
1932
- "type": {
1933
- "text": "string"
1934
- },
1935
- "default": "''"
1936
- },
1937
- {
1938
- "kind": "field",
1939
- "name": "isProcessing",
1940
- "type": {
1941
- "text": "boolean"
1942
- },
1943
- "default": "false"
1944
- },
1945
- {
1946
- "kind": "method",
1947
- "name": "handleClick",
1948
- "privacy": "public",
1949
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1950
- },
1951
- {
1952
- "kind": "method",
1953
- "name": "onInputChange",
1954
- "privacy": "public",
1955
- "parameters": [
1956
- {
1957
- "name": "e",
1958
- "type": {
1959
- "text": "Event"
1960
- },
1961
- "description": "The change event from the file input"
1962
- }
1963
- ],
1964
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1965
- },
1966
- {
1967
- "kind": "method",
1968
- "name": "clearSelection",
1969
- "privacy": "public",
1970
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1971
- },
1972
- {
1973
- "kind": "method",
1974
- "name": "getSelectedFile",
1975
- "privacy": "public",
1976
- "description": "Gets the currently selected file object",
1977
- "return": {
1978
- "type": {
1979
- "text": ""
1980
- }
1496
+ "name": "change",
1497
+ "privacy": "private",
1498
+ "inheritedFrom": {
1499
+ "name": "AccordionItem",
1500
+ "module": "src/accordion-item/accordion-item.ts"
1981
1501
  }
1982
1502
  },
1983
- {
1984
- "kind": "method",
1985
- "name": "showError",
1986
- "privacy": "protected",
1987
- "parameters": [
1988
- {
1989
- "name": "title",
1990
- "type": {
1991
- "text": "string"
1992
- },
1993
- "description": "The error title"
1994
- },
1995
- {
1996
- "name": "message",
1997
- "type": {
1998
- "text": "string"
1999
- },
2000
- "description": "The error message"
2001
- }
2002
- ],
2003
- "description": "Shows an error notification using the unified error handling system"
2004
- },
2005
- {
2006
- "kind": "method",
2007
- "name": "onFileSelected",
2008
- "privacy": "protected",
2009
- "return": {
2010
- "type": {
2011
- "text": "void"
2012
- }
2013
- },
2014
- "parameters": [
2015
- {
2016
- "name": "files",
2017
- "type": {
2018
- "text": "File[]"
2019
- },
2020
- "description": "The selected file"
2021
- }
2022
- ],
2023
- "description": "Abstract method called when a file is selected"
2024
- },
2025
- {
2026
- "kind": "method",
2027
- "name": "onFileCleared",
2028
- "privacy": "protected",
2029
- "return": {
2030
- "type": {
2031
- "text": "void"
2032
- }
2033
- },
2034
- "description": "Abstract method called when file selection is cleared"
2035
- },
2036
1503
  {
2037
1504
  "kind": "field",
2038
1505
  "name": "_presentation",
@@ -2145,63 +1612,169 @@
2145
1612
  }
2146
1613
  }
2147
1614
  ],
2148
- "attributes": [
1615
+ "events": [
2149
1616
  {
2150
- "name": "label",
2151
- "type": {
2152
- "text": "string"
2153
- },
2154
- "fieldName": "label"
2155
- },
1617
+ "description": "Fires a custom 'change' event when the button is invoked",
1618
+ "name": "change",
1619
+ "inheritedFrom": {
1620
+ "name": "AccordionItem",
1621
+ "module": "src/accordion-item/accordion-item.ts"
1622
+ }
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ "kind": "variable",
1628
+ "name": "foundationAccordionItemShadowOptions",
1629
+ "type": {
1630
+ "text": "ShadowRootInit"
1631
+ },
1632
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1633
+ },
1634
+ {
1635
+ "kind": "variable",
1636
+ "name": "defaultAccordionItemConfig",
1637
+ "type": {
1638
+ "text": "object"
1639
+ },
1640
+ "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}"
1641
+ },
1642
+ {
1643
+ "kind": "variable",
1644
+ "name": "foundationAccordionItem",
1645
+ "description": "The Foundation Accordion Item",
1646
+ "privacy": "public"
1647
+ }
1648
+ ],
1649
+ "exports": [
1650
+ {
1651
+ "kind": "js",
1652
+ "name": "AccordionItem",
1653
+ "declaration": {
1654
+ "name": "AccordionItem",
1655
+ "module": "src/accordion-item/accordion-item.ts"
1656
+ }
1657
+ },
1658
+ {
1659
+ "kind": "js",
1660
+ "name": "foundationAccordionItemShadowOptions",
1661
+ "declaration": {
1662
+ "name": "foundationAccordionItemShadowOptions",
1663
+ "module": "src/accordion-item/accordion-item.ts"
1664
+ }
1665
+ },
1666
+ {
1667
+ "kind": "js",
1668
+ "name": "defaultAccordionItemConfig",
1669
+ "declaration": {
1670
+ "name": "defaultAccordionItemConfig",
1671
+ "module": "src/accordion-item/accordion-item.ts"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "js",
1676
+ "name": "foundationAccordionItem",
1677
+ "declaration": {
1678
+ "name": "foundationAccordionItem",
1679
+ "module": "src/accordion-item/accordion-item.ts"
1680
+ }
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "kind": "javascript-module",
1686
+ "path": "src/accordion-item/index.ts",
1687
+ "declarations": [],
1688
+ "exports": [
1689
+ {
1690
+ "kind": "js",
1691
+ "name": "*",
1692
+ "declaration": {
1693
+ "name": "*",
1694
+ "package": "./accordion-item.template"
1695
+ }
1696
+ },
1697
+ {
1698
+ "kind": "js",
1699
+ "name": "*",
1700
+ "declaration": {
1701
+ "name": "*",
1702
+ "package": "./accordion-item.styles"
1703
+ }
1704
+ },
1705
+ {
1706
+ "kind": "js",
1707
+ "name": "*",
1708
+ "declaration": {
1709
+ "name": "*",
1710
+ "package": "./accordion-item"
1711
+ }
1712
+ }
1713
+ ]
1714
+ },
1715
+ {
1716
+ "kind": "javascript-module",
1717
+ "path": "src/accordion/accordion.styles.ts",
1718
+ "declarations": [
1719
+ {
1720
+ "kind": "function",
1721
+ "name": "foundationAccordionStyles",
1722
+ "return": {
1723
+ "type": {
1724
+ "text": "ElementStyles"
1725
+ }
1726
+ },
1727
+ "parameters": [
2156
1728
  {
2157
- "name": "accept",
1729
+ "name": "context",
2158
1730
  "type": {
2159
- "text": "string"
2160
- },
2161
- "default": "''",
2162
- "fieldName": "accept"
1731
+ "text": "ElementDefinitionContext"
1732
+ }
2163
1733
  },
2164
1734
  {
2165
- "name": "file-size-limit-bytes",
2166
- "default": "DEFAULT_FILE_SIZE_LIMIT",
2167
- "resolveInitializer": {
2168
- "module": "src/_common/base-file-component.ts"
2169
- },
2170
- "fieldName": "fileSizeLimitBytes"
1735
+ "name": "definition",
1736
+ "type": {
1737
+ "text": "FoundationElementDefinition"
1738
+ }
2171
1739
  }
2172
- ],
2173
- "superclass": {
2174
- "name": "FoundationElement",
2175
- "package": "@microsoft/fast-foundation"
2176
- }
1740
+ ]
2177
1741
  }
2178
1742
  ],
2179
1743
  "exports": [
2180
1744
  {
2181
1745
  "kind": "js",
2182
- "name": "BaseFileComponent",
1746
+ "name": "foundationAccordionStyles",
2183
1747
  "declaration": {
2184
- "name": "BaseFileComponent",
2185
- "module": "src/_common/base-file-component.ts"
1748
+ "name": "foundationAccordionStyles",
1749
+ "module": "src/accordion/accordion.styles.ts"
2186
1750
  }
2187
1751
  }
2188
1752
  ]
2189
1753
  },
2190
1754
  {
2191
1755
  "kind": "javascript-module",
2192
- "path": "src/_common/icons.ts",
1756
+ "path": "src/accordion/accordion.template.ts",
2193
1757
  "declarations": [
2194
1758
  {
2195
1759
  "kind": "function",
2196
- "name": "closeIcon",
1760
+ "name": "foundationAccordionTemplate",
1761
+ "return": {
1762
+ "type": {
1763
+ "text": "ViewTemplate<Accordion>"
1764
+ }
1765
+ },
2197
1766
  "parameters": [
2198
1767
  {
2199
- "name": "slot",
2200
- "default": "'start'"
1768
+ "name": "context",
1769
+ "type": {
1770
+ "text": "ElementDefinitionContext"
1771
+ }
2201
1772
  },
2202
1773
  {
2203
- "name": "fill",
2204
- "default": "'#879ba6'"
1774
+ "name": "definition",
1775
+ "type": {
1776
+ "text": "FoundationElementDefinition"
1777
+ }
2205
1778
  }
2206
1779
  ]
2207
1780
  }
@@ -2209,17 +1782,90 @@
2209
1782
  "exports": [
2210
1783
  {
2211
1784
  "kind": "js",
2212
- "name": "closeIcon",
1785
+ "name": "foundationAccordionTemplate",
2213
1786
  "declaration": {
2214
- "name": "closeIcon",
2215
- "module": "src/_common/icons.ts"
1787
+ "name": "foundationAccordionTemplate",
1788
+ "module": "src/accordion/accordion.template.ts"
2216
1789
  }
2217
1790
  }
2218
1791
  ]
2219
1792
  },
2220
1793
  {
2221
1794
  "kind": "javascript-module",
2222
- "path": "src/_common/index.ts",
1795
+ "path": "src/accordion/accordion.ts",
1796
+ "declarations": [
1797
+ {
1798
+ "kind": "class",
1799
+ "description": "",
1800
+ "name": "Accordion",
1801
+ "superclass": {
1802
+ "name": "FASTAccordion",
1803
+ "package": "@microsoft/fast-foundation"
1804
+ },
1805
+ "tagName": "%%prefix%%-accordion",
1806
+ "customElement": true
1807
+ },
1808
+ {
1809
+ "kind": "variable",
1810
+ "name": "foundationAccordionShadowOptions",
1811
+ "type": {
1812
+ "text": "ShadowRootInit"
1813
+ },
1814
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1815
+ },
1816
+ {
1817
+ "kind": "variable",
1818
+ "name": "defaultAccordionConfig",
1819
+ "type": {
1820
+ "text": "object"
1821
+ },
1822
+ "default": "{}"
1823
+ },
1824
+ {
1825
+ "kind": "variable",
1826
+ "name": "foundationAccordion",
1827
+ "description": "The Foundation Accordion",
1828
+ "privacy": "public"
1829
+ }
1830
+ ],
1831
+ "exports": [
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "Accordion",
1835
+ "declaration": {
1836
+ "name": "Accordion",
1837
+ "module": "src/accordion/accordion.ts"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "js",
1842
+ "name": "foundationAccordionShadowOptions",
1843
+ "declaration": {
1844
+ "name": "foundationAccordionShadowOptions",
1845
+ "module": "src/accordion/accordion.ts"
1846
+ }
1847
+ },
1848
+ {
1849
+ "kind": "js",
1850
+ "name": "defaultAccordionConfig",
1851
+ "declaration": {
1852
+ "name": "defaultAccordionConfig",
1853
+ "module": "src/accordion/accordion.ts"
1854
+ }
1855
+ },
1856
+ {
1857
+ "kind": "js",
1858
+ "name": "foundationAccordion",
1859
+ "declaration": {
1860
+ "name": "foundationAccordion",
1861
+ "module": "src/accordion/accordion.ts"
1862
+ }
1863
+ }
1864
+ ]
1865
+ },
1866
+ {
1867
+ "kind": "javascript-module",
1868
+ "path": "src/accordion/index.ts",
2223
1869
  "declarations": [],
2224
1870
  "exports": [
2225
1871
  {
@@ -2227,7 +1873,7 @@
2227
1873
  "name": "*",
2228
1874
  "declaration": {
2229
1875
  "name": "*",
2230
- "package": "./base-file-component"
1876
+ "package": "./accordion.template"
2231
1877
  }
2232
1878
  },
2233
1879
  {
@@ -2235,7 +1881,15 @@
2235
1881
  "name": "*",
2236
1882
  "declaration": {
2237
1883
  "name": "*",
2238
- "package": "./icons"
1884
+ "package": "./accordion.styles"
1885
+ }
1886
+ },
1887
+ {
1888
+ "kind": "js",
1889
+ "name": "*",
1890
+ "declaration": {
1891
+ "name": "*",
1892
+ "package": "./accordion"
2239
1893
  }
2240
1894
  }
2241
1895
  ]
@@ -2773,41 +2427,10 @@
2773
2427
  },
2774
2428
  {
2775
2429
  "kind": "js",
2776
- "name": "showCriteriaError",
2777
- "declaration": {
2778
- "name": "showCriteriaError",
2779
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2780
- }
2781
- }
2782
- ]
2783
- },
2784
- {
2785
- "kind": "javascript-module",
2786
- "path": "src/_config/index.ts",
2787
- "declarations": [],
2788
- "exports": [
2789
- {
2790
- "kind": "js",
2791
- "name": "*",
2792
- "declaration": {
2793
- "name": "*",
2794
- "package": "./styles"
2795
- }
2796
- },
2797
- {
2798
- "kind": "js",
2799
- "name": "*",
2800
- "declaration": {
2801
- "name": "*",
2802
- "package": "./tokens"
2803
- }
2804
- },
2805
- {
2806
- "kind": "js",
2807
- "name": "*",
2430
+ "name": "showCriteriaError",
2808
2431
  "declaration": {
2809
- "name": "*",
2810
- "package": "./values"
2432
+ "name": "showCriteriaError",
2433
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2811
2434
  }
2812
2435
  }
2813
2436
  ]
@@ -3253,11 +2876,11 @@
3253
2876
  },
3254
2877
  {
3255
2878
  "kind": "javascript-module",
3256
- "path": "src/accordion/accordion.styles.ts",
2879
+ "path": "src/actions-menu/actions-menu.styles.ts",
3257
2880
  "declarations": [
3258
2881
  {
3259
2882
  "kind": "function",
3260
- "name": "foundationAccordionStyles",
2883
+ "name": "actionsMenuBaseStyles",
3261
2884
  "return": {
3262
2885
  "type": {
3263
2886
  "text": "ElementStyles"
@@ -3277,29 +2900,13 @@
3277
2900
  }
3278
2901
  }
3279
2902
  ]
3280
- }
3281
- ],
3282
- "exports": [
3283
- {
3284
- "kind": "js",
3285
- "name": "foundationAccordionStyles",
3286
- "declaration": {
3287
- "name": "foundationAccordionStyles",
3288
- "module": "src/accordion/accordion.styles.ts"
3289
- }
3290
- }
3291
- ]
3292
- },
3293
- {
3294
- "kind": "javascript-module",
3295
- "path": "src/accordion/accordion.template.ts",
3296
- "declarations": [
2903
+ },
3297
2904
  {
3298
2905
  "kind": "function",
3299
- "name": "foundationAccordionTemplate",
2906
+ "name": "foundationActionsMenuStyles",
3300
2907
  "return": {
3301
2908
  "type": {
3302
- "text": "ViewTemplate<Accordion>"
2909
+ "text": "ElementStyles"
3303
2910
  }
3304
2911
  },
3305
2912
  "parameters": [
@@ -3321,90 +2928,483 @@
3321
2928
  "exports": [
3322
2929
  {
3323
2930
  "kind": "js",
3324
- "name": "foundationAccordionTemplate",
2931
+ "name": "actionsMenuBaseStyles",
3325
2932
  "declaration": {
3326
- "name": "foundationAccordionTemplate",
3327
- "module": "src/accordion/accordion.template.ts"
2933
+ "name": "actionsMenuBaseStyles",
2934
+ "module": "src/actions-menu/actions-menu.styles.ts"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "foundationActionsMenuStyles",
2940
+ "declaration": {
2941
+ "name": "foundationActionsMenuStyles",
2942
+ "module": "src/actions-menu/actions-menu.styles.ts"
3328
2943
  }
3329
2944
  }
3330
2945
  ]
3331
2946
  },
3332
2947
  {
3333
2948
  "kind": "javascript-module",
3334
- "path": "src/accordion/accordion.ts",
2949
+ "path": "src/actions-menu/actions-menu.template.ts",
3335
2950
  "declarations": [
3336
2951
  {
3337
- "kind": "class",
3338
- "description": "",
3339
- "name": "Accordion",
3340
- "superclass": {
3341
- "name": "FASTAccordion",
3342
- "package": "@microsoft/fast-foundation"
3343
- },
3344
- "tagName": "%%prefix%%-accordion",
3345
- "customElement": true
2952
+ "kind": "function",
2953
+ "name": "menuTemplate",
2954
+ "parameters": [
2955
+ {
2956
+ "name": "prefix",
2957
+ "type": {
2958
+ "text": "string"
2959
+ }
2960
+ }
2961
+ ]
3346
2962
  },
3347
2963
  {
3348
- "kind": "variable",
3349
- "name": "foundationAccordionShadowOptions",
3350
- "type": {
3351
- "text": "ShadowRootInit"
3352
- },
3353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2964
+ "kind": "function",
2965
+ "name": "singleOptionTemplate",
2966
+ "parameters": [
2967
+ {
2968
+ "name": "prefix",
2969
+ "type": {
2970
+ "text": "string"
2971
+ }
2972
+ }
2973
+ ]
3354
2974
  },
3355
2975
  {
3356
2976
  "kind": "variable",
3357
- "name": "defaultAccordionConfig",
2977
+ "name": "foundationActionsMenuTemplate",
3358
2978
  "type": {
3359
- "text": "object"
2979
+ "text": "ViewTemplate<ActionsMenu>"
3360
2980
  },
3361
- "default": "{}"
3362
- },
3363
- {
3364
- "kind": "variable",
3365
- "name": "foundationAccordion",
3366
- "description": "The Foundation Accordion",
3367
- "privacy": "public"
2981
+ "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`"
3368
2982
  }
3369
2983
  ],
3370
2984
  "exports": [
3371
2985
  {
3372
2986
  "kind": "js",
3373
- "name": "Accordion",
2987
+ "name": "menuTemplate",
3374
2988
  "declaration": {
3375
- "name": "Accordion",
3376
- "module": "src/accordion/accordion.ts"
2989
+ "name": "menuTemplate",
2990
+ "module": "src/actions-menu/actions-menu.template.ts"
3377
2991
  }
3378
2992
  },
3379
2993
  {
3380
2994
  "kind": "js",
3381
- "name": "foundationAccordionShadowOptions",
2995
+ "name": "singleOptionTemplate",
3382
2996
  "declaration": {
3383
- "name": "foundationAccordionShadowOptions",
3384
- "module": "src/accordion/accordion.ts"
2997
+ "name": "singleOptionTemplate",
2998
+ "module": "src/actions-menu/actions-menu.template.ts"
3385
2999
  }
3386
3000
  },
3387
3001
  {
3388
3002
  "kind": "js",
3389
- "name": "defaultAccordionConfig",
3003
+ "name": "foundationActionsMenuTemplate",
3390
3004
  "declaration": {
3391
- "name": "defaultAccordionConfig",
3392
- "module": "src/accordion/accordion.ts"
3005
+ "name": "foundationActionsMenuTemplate",
3006
+ "module": "src/actions-menu/actions-menu.template.ts"
3007
+ }
3008
+ }
3009
+ ]
3010
+ },
3011
+ {
3012
+ "kind": "javascript-module",
3013
+ "path": "src/actions-menu/actions-menu.ts",
3014
+ "declarations": [
3015
+ {
3016
+ "kind": "class",
3017
+ "description": "",
3018
+ "name": "ActionsMenu",
3019
+ "members": [
3020
+ {
3021
+ "kind": "field",
3022
+ "name": "actions",
3023
+ "type": {
3024
+ "text": "ActionMenuItem[]"
3025
+ }
3026
+ },
3027
+ {
3028
+ "kind": "field",
3029
+ "name": "isVertical",
3030
+ "type": {
3031
+ "text": "boolean"
3032
+ },
3033
+ "default": "false"
3034
+ },
3035
+ {
3036
+ "kind": "field",
3037
+ "name": "addDefaultActions",
3038
+ "type": {
3039
+ "text": "boolean"
3040
+ },
3041
+ "default": "true"
3042
+ },
3043
+ {
3044
+ "kind": "field",
3045
+ "name": "autoCloseOnAction",
3046
+ "type": {
3047
+ "text": "boolean"
3048
+ },
3049
+ "default": "true"
3050
+ },
3051
+ {
3052
+ "kind": "field",
3053
+ "name": "classNames",
3054
+ "type": {
3055
+ "text": "string"
3056
+ }
3057
+ },
3058
+ {
3059
+ "kind": "field",
3060
+ "name": "definition",
3061
+ "type": {
3062
+ "text": "any"
3063
+ }
3064
+ },
3065
+ {
3066
+ "kind": "field",
3067
+ "name": "name",
3068
+ "type": {
3069
+ "text": "string"
3070
+ },
3071
+ "default": "'Actions'"
3072
+ },
3073
+ {
3074
+ "kind": "field",
3075
+ "name": "open",
3076
+ "type": {
3077
+ "text": "boolean"
3078
+ },
3079
+ "default": "false"
3080
+ },
3081
+ {
3082
+ "kind": "field",
3083
+ "name": "buttonAppearance",
3084
+ "type": {
3085
+ "text": "string"
3086
+ }
3087
+ },
3088
+ {
3089
+ "kind": "field",
3090
+ "name": "hideDisabled",
3091
+ "type": {
3092
+ "text": "boolean"
3093
+ },
3094
+ "default": "false"
3095
+ },
3096
+ {
3097
+ "kind": "field",
3098
+ "name": "hideMenuSingleOption",
3099
+ "type": {
3100
+ "text": "boolean"
3101
+ },
3102
+ "default": "false"
3103
+ },
3104
+ {
3105
+ "kind": "field",
3106
+ "name": "singleOption",
3107
+ "type": {
3108
+ "text": "ActionMenuItem"
3109
+ }
3110
+ },
3111
+ {
3112
+ "kind": "field",
3113
+ "name": "actionsMenu",
3114
+ "type": {
3115
+ "text": "HTMLElement"
3116
+ }
3117
+ },
3118
+ {
3119
+ "kind": "method",
3120
+ "name": "definitionChanged",
3121
+ "privacy": "protected",
3122
+ "parameters": [
3123
+ {
3124
+ "name": "oldValue",
3125
+ "type": {
3126
+ "text": "any"
3127
+ }
3128
+ },
3129
+ {
3130
+ "name": "newValue",
3131
+ "type": {
3132
+ "text": "any"
3133
+ }
3134
+ }
3135
+ ]
3136
+ },
3137
+ {
3138
+ "kind": "method",
3139
+ "name": "openChanged",
3140
+ "privacy": "protected"
3141
+ },
3142
+ {
3143
+ "kind": "method",
3144
+ "name": "toggleActionsMenuVisibility"
3145
+ },
3146
+ {
3147
+ "kind": "method",
3148
+ "name": "onActionMenuItemClick",
3149
+ "parameters": [
3150
+ {
3151
+ "name": "callback",
3152
+ "type": {
3153
+ "text": "(rowData) => void | any"
3154
+ }
3155
+ }
3156
+ ]
3157
+ },
3158
+ {
3159
+ "kind": "field",
3160
+ "name": "allActions",
3161
+ "type": {
3162
+ "text": "ActionMenuItem[]"
3163
+ },
3164
+ "readonly": true
3165
+ },
3166
+ {
3167
+ "kind": "field",
3168
+ "name": "rowData",
3169
+ "readonly": true
3170
+ },
3171
+ {
3172
+ "kind": "method",
3173
+ "name": "getLabel",
3174
+ "parameters": [
3175
+ {
3176
+ "name": "name",
3177
+ "type": {
3178
+ "text": "string | ((rowData: any) => string)"
3179
+ }
3180
+ }
3181
+ ]
3182
+ },
3183
+ {
3184
+ "kind": "method",
3185
+ "name": "getTemplate",
3186
+ "parameters": [
3187
+ {
3188
+ "name": "prefix",
3189
+ "type": {
3190
+ "text": "string"
3191
+ }
3192
+ }
3193
+ ]
3194
+ },
3195
+ {
3196
+ "kind": "field",
3197
+ "name": "_presentation",
3198
+ "type": {
3199
+ "text": "ComponentPresentation | null | undefined"
3200
+ },
3201
+ "privacy": "private",
3202
+ "default": "void 0",
3203
+ "inheritedFrom": {
3204
+ "name": "FoundationElement",
3205
+ "module": "src/foundation-element/foundation-element.ts"
3206
+ }
3207
+ },
3208
+ {
3209
+ "kind": "field",
3210
+ "name": "$presentation",
3211
+ "type": {
3212
+ "text": "ComponentPresentation | null"
3213
+ },
3214
+ "privacy": "public",
3215
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3216
+ "inheritedFrom": {
3217
+ "name": "FoundationElement",
3218
+ "module": "src/foundation-element/foundation-element.ts"
3219
+ }
3220
+ },
3221
+ {
3222
+ "kind": "field",
3223
+ "name": "template",
3224
+ "type": {
3225
+ "text": "ElementViewTemplate | void | null"
3226
+ },
3227
+ "privacy": "public",
3228
+ "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.",
3229
+ "inheritedFrom": {
3230
+ "name": "FoundationElement",
3231
+ "module": "src/foundation-element/foundation-element.ts"
3232
+ }
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "templateChanged",
3237
+ "privacy": "protected",
3238
+ "return": {
3239
+ "type": {
3240
+ "text": "void"
3241
+ }
3242
+ },
3243
+ "inheritedFrom": {
3244
+ "name": "FoundationElement",
3245
+ "module": "src/foundation-element/foundation-element.ts"
3246
+ }
3247
+ },
3248
+ {
3249
+ "kind": "field",
3250
+ "name": "styles",
3251
+ "type": {
3252
+ "text": "ElementStyles | void | null"
3253
+ },
3254
+ "privacy": "public",
3255
+ "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.",
3256
+ "inheritedFrom": {
3257
+ "name": "FoundationElement",
3258
+ "module": "src/foundation-element/foundation-element.ts"
3259
+ }
3260
+ },
3261
+ {
3262
+ "kind": "method",
3263
+ "name": "stylesChanged",
3264
+ "privacy": "protected",
3265
+ "return": {
3266
+ "type": {
3267
+ "text": "void"
3268
+ }
3269
+ },
3270
+ "inheritedFrom": {
3271
+ "name": "FoundationElement",
3272
+ "module": "src/foundation-element/foundation-element.ts"
3273
+ }
3274
+ },
3275
+ {
3276
+ "kind": "method",
3277
+ "name": "compose",
3278
+ "privacy": "public",
3279
+ "static": true,
3280
+ "return": {
3281
+ "type": {
3282
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3283
+ }
3284
+ },
3285
+ "parameters": [
3286
+ {
3287
+ "name": "this",
3288
+ "type": {
3289
+ "text": "K"
3290
+ }
3291
+ },
3292
+ {
3293
+ "name": "elementDefinition",
3294
+ "type": {
3295
+ "text": "T"
3296
+ },
3297
+ "description": "The definition of the element to create the registry\nfunction for."
3298
+ }
3299
+ ],
3300
+ "description": "Defines an element registry function with a set of element definition defaults.",
3301
+ "inheritedFrom": {
3302
+ "name": "FoundationElement",
3303
+ "module": "src/foundation-element/foundation-element.ts"
3304
+ }
3305
+ }
3306
+ ],
3307
+ "attributes": [
3308
+ {
3309
+ "name": "is-vertical",
3310
+ "type": {
3311
+ "text": "boolean"
3312
+ },
3313
+ "default": "false",
3314
+ "fieldName": "isVertical"
3315
+ },
3316
+ {
3317
+ "name": "add-default-actions",
3318
+ "type": {
3319
+ "text": "boolean"
3320
+ },
3321
+ "default": "true",
3322
+ "fieldName": "addDefaultActions"
3323
+ },
3324
+ {
3325
+ "name": "auto-close-on-action",
3326
+ "type": {
3327
+ "text": "boolean"
3328
+ },
3329
+ "default": "true",
3330
+ "fieldName": "autoCloseOnAction"
3331
+ },
3332
+ {
3333
+ "name": "name",
3334
+ "type": {
3335
+ "text": "string"
3336
+ },
3337
+ "default": "'Actions'",
3338
+ "fieldName": "name"
3339
+ },
3340
+ {
3341
+ "name": "open",
3342
+ "type": {
3343
+ "text": "boolean"
3344
+ },
3345
+ "default": "false",
3346
+ "fieldName": "open"
3347
+ },
3348
+ {
3349
+ "name": "buttonAppearance",
3350
+ "type": {
3351
+ "text": "string"
3352
+ },
3353
+ "fieldName": "buttonAppearance"
3354
+ },
3355
+ {
3356
+ "name": "hide-disabled",
3357
+ "type": {
3358
+ "text": "boolean"
3359
+ },
3360
+ "default": "false",
3361
+ "fieldName": "hideDisabled"
3362
+ },
3363
+ {
3364
+ "name": "hide-menu-single-option",
3365
+ "type": {
3366
+ "text": "boolean"
3367
+ },
3368
+ "default": "false",
3369
+ "fieldName": "hideMenuSingleOption"
3370
+ }
3371
+ ],
3372
+ "superclass": {
3373
+ "name": "FoundationElement",
3374
+ "package": "@microsoft/fast-foundation"
3375
+ },
3376
+ "tagName": "%%prefix%%-actions-menu",
3377
+ "customElement": true
3378
+ },
3379
+ {
3380
+ "kind": "variable",
3381
+ "name": "foundationActionsMenu",
3382
+ "description": "The Foundation Actions Menu",
3383
+ "privacy": "public"
3384
+ }
3385
+ ],
3386
+ "exports": [
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "ActionsMenu",
3390
+ "declaration": {
3391
+ "name": "ActionsMenu",
3392
+ "module": "src/actions-menu/actions-menu.ts"
3393
3393
  }
3394
3394
  },
3395
3395
  {
3396
3396
  "kind": "js",
3397
- "name": "foundationAccordion",
3397
+ "name": "foundationActionsMenu",
3398
3398
  "declaration": {
3399
- "name": "foundationAccordion",
3400
- "module": "src/accordion/accordion.ts"
3399
+ "name": "foundationActionsMenu",
3400
+ "module": "src/actions-menu/actions-menu.ts"
3401
3401
  }
3402
3402
  }
3403
3403
  ]
3404
3404
  },
3405
3405
  {
3406
3406
  "kind": "javascript-module",
3407
- "path": "src/accordion/index.ts",
3407
+ "path": "src/actions-menu/index.ts",
3408
3408
  "declarations": [],
3409
3409
  "exports": [
3410
3410
  {
@@ -3412,7 +3412,7 @@
3412
3412
  "name": "*",
3413
3413
  "declaration": {
3414
3414
  "name": "*",
3415
- "package": "./accordion.template"
3415
+ "package": "./actions-menu.styles"
3416
3416
  }
3417
3417
  },
3418
3418
  {
@@ -3420,7 +3420,7 @@
3420
3420
  "name": "*",
3421
3421
  "declaration": {
3422
3422
  "name": "*",
3423
- "package": "./accordion.styles"
3423
+ "package": "./actions-menu.template"
3424
3424
  }
3425
3425
  },
3426
3426
  {
@@ -3428,7 +3428,7 @@
3428
3428
  "name": "*",
3429
3429
  "declaration": {
3430
3430
  "name": "*",
3431
- "package": "./accordion"
3431
+ "package": "./actions-menu"
3432
3432
  }
3433
3433
  }
3434
3434
  ]
@@ -54304,181 +54304,6 @@
54304
54304
  }
54305
54305
  ]
54306
54306
  },
54307
- {
54308
- "kind": "javascript-module",
54309
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54310
- "declarations": [],
54311
- "exports": []
54312
- },
54313
- {
54314
- "kind": "javascript-module",
54315
- "path": "src/ai-criteria-search/validation/operator-map.ts",
54316
- "declarations": [
54317
- {
54318
- "kind": "function",
54319
- "name": "groupsToCriteria",
54320
- "return": {
54321
- "type": {
54322
- "text": "string"
54323
- }
54324
- },
54325
- "parameters": [
54326
- {
54327
- "name": "groups",
54328
- "type": {
54329
- "text": "CriteriaGroup[]"
54330
- }
54331
- }
54332
- ],
54333
- "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."
54334
- },
54335
- {
54336
- "kind": "variable",
54337
- "name": "STRING_OPERATORS",
54338
- "type": {
54339
- "text": "CriteriaOperator[]"
54340
- },
54341
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54342
- },
54343
- {
54344
- "kind": "variable",
54345
- "name": "NUMERIC_OPERATORS",
54346
- "type": {
54347
- "text": "CriteriaOperator[]"
54348
- },
54349
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54350
- },
54351
- {
54352
- "kind": "variable",
54353
- "name": "DATE_OPERATORS",
54354
- "type": {
54355
- "text": "CriteriaOperator[]"
54356
- },
54357
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54358
- },
54359
- {
54360
- "kind": "variable",
54361
- "name": "DATETIME_OPERATORS",
54362
- "type": {
54363
- "text": "CriteriaOperator[]"
54364
- },
54365
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54366
- }
54367
- ],
54368
- "exports": [
54369
- {
54370
- "kind": "js",
54371
- "name": "groupsToCriteria",
54372
- "declaration": {
54373
- "name": "groupsToCriteria",
54374
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54375
- }
54376
- },
54377
- {
54378
- "kind": "js",
54379
- "name": "STRING_OPERATORS",
54380
- "declaration": {
54381
- "name": "STRING_OPERATORS",
54382
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54383
- }
54384
- },
54385
- {
54386
- "kind": "js",
54387
- "name": "NUMERIC_OPERATORS",
54388
- "declaration": {
54389
- "name": "NUMERIC_OPERATORS",
54390
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54391
- }
54392
- },
54393
- {
54394
- "kind": "js",
54395
- "name": "DATE_OPERATORS",
54396
- "declaration": {
54397
- "name": "DATE_OPERATORS",
54398
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54399
- }
54400
- },
54401
- {
54402
- "kind": "js",
54403
- "name": "DATETIME_OPERATORS",
54404
- "declaration": {
54405
- "name": "DATETIME_OPERATORS",
54406
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54407
- }
54408
- }
54409
- ]
54410
- },
54411
- {
54412
- "kind": "javascript-module",
54413
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
54414
- "declarations": [
54415
- {
54416
- "kind": "function",
54417
- "name": "validateClauses",
54418
- "return": {
54419
- "type": {
54420
- "text": "ValidationResult"
54421
- }
54422
- },
54423
- "parameters": [
54424
- {
54425
- "name": "clauses",
54426
- "type": {
54427
- "text": "CriteriaClause[]"
54428
- }
54429
- },
54430
- {
54431
- "name": "fieldMetadata",
54432
- "type": {
54433
- "text": "MetadataDetail[] | string[]"
54434
- }
54435
- }
54436
- ]
54437
- },
54438
- {
54439
- "kind": "function",
54440
- "name": "validateGroups",
54441
- "return": {
54442
- "type": {
54443
- "text": "GroupsValidationResult"
54444
- }
54445
- },
54446
- "parameters": [
54447
- {
54448
- "name": "groups",
54449
- "type": {
54450
- "text": "CriteriaGroup[]"
54451
- }
54452
- },
54453
- {
54454
- "name": "fieldMetadata",
54455
- "type": {
54456
- "text": "MetadataDetail[] | string[]"
54457
- }
54458
- }
54459
- ],
54460
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54461
- }
54462
- ],
54463
- "exports": [
54464
- {
54465
- "kind": "js",
54466
- "name": "validateClauses",
54467
- "declaration": {
54468
- "name": "validateClauses",
54469
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54470
- }
54471
- },
54472
- {
54473
- "kind": "js",
54474
- "name": "validateGroups",
54475
- "declaration": {
54476
- "name": "validateGroups",
54477
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54478
- }
54479
- }
54480
- ]
54481
- },
54482
54307
  {
54483
54308
  "kind": "javascript-module",
54484
54309
  "path": "src/_config/styles/colors.ts",
@@ -55851,6 +55676,181 @@
55851
55676
  "declarations": [],
55852
55677
  "exports": []
55853
55678
  },
55679
+ {
55680
+ "kind": "javascript-module",
55681
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55682
+ "declarations": [],
55683
+ "exports": []
55684
+ },
55685
+ {
55686
+ "kind": "javascript-module",
55687
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
55688
+ "declarations": [
55689
+ {
55690
+ "kind": "function",
55691
+ "name": "groupsToCriteria",
55692
+ "return": {
55693
+ "type": {
55694
+ "text": "string"
55695
+ }
55696
+ },
55697
+ "parameters": [
55698
+ {
55699
+ "name": "groups",
55700
+ "type": {
55701
+ "text": "CriteriaGroup[]"
55702
+ }
55703
+ }
55704
+ ],
55705
+ "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."
55706
+ },
55707
+ {
55708
+ "kind": "variable",
55709
+ "name": "STRING_OPERATORS",
55710
+ "type": {
55711
+ "text": "CriteriaOperator[]"
55712
+ },
55713
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55714
+ },
55715
+ {
55716
+ "kind": "variable",
55717
+ "name": "NUMERIC_OPERATORS",
55718
+ "type": {
55719
+ "text": "CriteriaOperator[]"
55720
+ },
55721
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55722
+ },
55723
+ {
55724
+ "kind": "variable",
55725
+ "name": "DATE_OPERATORS",
55726
+ "type": {
55727
+ "text": "CriteriaOperator[]"
55728
+ },
55729
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55730
+ },
55731
+ {
55732
+ "kind": "variable",
55733
+ "name": "DATETIME_OPERATORS",
55734
+ "type": {
55735
+ "text": "CriteriaOperator[]"
55736
+ },
55737
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55738
+ }
55739
+ ],
55740
+ "exports": [
55741
+ {
55742
+ "kind": "js",
55743
+ "name": "groupsToCriteria",
55744
+ "declaration": {
55745
+ "name": "groupsToCriteria",
55746
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55747
+ }
55748
+ },
55749
+ {
55750
+ "kind": "js",
55751
+ "name": "STRING_OPERATORS",
55752
+ "declaration": {
55753
+ "name": "STRING_OPERATORS",
55754
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55755
+ }
55756
+ },
55757
+ {
55758
+ "kind": "js",
55759
+ "name": "NUMERIC_OPERATORS",
55760
+ "declaration": {
55761
+ "name": "NUMERIC_OPERATORS",
55762
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55763
+ }
55764
+ },
55765
+ {
55766
+ "kind": "js",
55767
+ "name": "DATE_OPERATORS",
55768
+ "declaration": {
55769
+ "name": "DATE_OPERATORS",
55770
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55771
+ }
55772
+ },
55773
+ {
55774
+ "kind": "js",
55775
+ "name": "DATETIME_OPERATORS",
55776
+ "declaration": {
55777
+ "name": "DATETIME_OPERATORS",
55778
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55779
+ }
55780
+ }
55781
+ ]
55782
+ },
55783
+ {
55784
+ "kind": "javascript-module",
55785
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
55786
+ "declarations": [
55787
+ {
55788
+ "kind": "function",
55789
+ "name": "validateClauses",
55790
+ "return": {
55791
+ "type": {
55792
+ "text": "ValidationResult"
55793
+ }
55794
+ },
55795
+ "parameters": [
55796
+ {
55797
+ "name": "clauses",
55798
+ "type": {
55799
+ "text": "CriteriaClause[]"
55800
+ }
55801
+ },
55802
+ {
55803
+ "name": "fieldMetadata",
55804
+ "type": {
55805
+ "text": "MetadataDetail[] | string[]"
55806
+ }
55807
+ }
55808
+ ]
55809
+ },
55810
+ {
55811
+ "kind": "function",
55812
+ "name": "validateGroups",
55813
+ "return": {
55814
+ "type": {
55815
+ "text": "GroupsValidationResult"
55816
+ }
55817
+ },
55818
+ "parameters": [
55819
+ {
55820
+ "name": "groups",
55821
+ "type": {
55822
+ "text": "CriteriaGroup[]"
55823
+ }
55824
+ },
55825
+ {
55826
+ "name": "fieldMetadata",
55827
+ "type": {
55828
+ "text": "MetadataDetail[] | string[]"
55829
+ }
55830
+ }
55831
+ ],
55832
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55833
+ }
55834
+ ],
55835
+ "exports": [
55836
+ {
55837
+ "kind": "js",
55838
+ "name": "validateClauses",
55839
+ "declaration": {
55840
+ "name": "validateClauses",
55841
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55842
+ }
55843
+ },
55844
+ {
55845
+ "kind": "js",
55846
+ "name": "validateGroups",
55847
+ "declaration": {
55848
+ "name": "validateGroups",
55849
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55850
+ }
55851
+ }
55852
+ ]
55853
+ },
55854
55854
  {
55855
55855
  "kind": "javascript-module",
55856
55856
  "path": "src/environment-indicator/utils/configure.ts",