@genesislcap/foundation-ui 14.467.2-GENC-1369.2 → 14.468.0-FUI-2555.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -934,508 +934,11 @@
934
934
  },
935
935
  {
936
936
  "kind": "javascript-module",
937
- "path": "src/_common/affix-mixin.ts",
938
- "declarations": [
939
- {
940
- "kind": "mixin",
941
- "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
942
- "name": "AffixMixin",
943
- "members": [
944
- {
945
- "kind": "field",
946
- "name": "prefix",
947
- "type": {
948
- "text": "string"
949
- },
950
- "description": "Optional non-editable label shown on the left inside the field, before the input."
951
- },
952
- {
953
- "kind": "field",
954
- "name": "suffix",
955
- "type": {
956
- "text": "string"
957
- },
958
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
- },
960
- {
961
- "kind": "field",
962
- "name": "hideAffixFromScreenReader",
963
- "type": {
964
- "text": "boolean"
965
- },
966
- "default": "false",
967
- "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
968
- }
969
- ],
970
- "parameters": [
971
- {
972
- "name": "Base",
973
- "type": {
974
- "text": "TBase"
975
- }
976
- }
977
- ]
978
- }
979
- ],
980
- "exports": [
981
- {
982
- "kind": "js",
983
- "name": "AffixMixin",
984
- "declaration": {
985
- "name": "AffixMixin",
986
- "module": "src/_common/affix-mixin.ts"
987
- }
988
- }
989
- ]
990
- },
991
- {
992
- "kind": "javascript-module",
993
- "path": "src/_common/base-file-component.ts",
994
- "declarations": [
995
- {
996
- "kind": "class",
997
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
- "name": "BaseFileComponent",
999
- "members": [
1000
- {
1001
- "kind": "field",
1002
- "name": "fileInput",
1003
- "type": {
1004
- "text": "HTMLInputElement"
1005
- },
1006
- "privacy": "public"
1007
- },
1008
- {
1009
- "kind": "field",
1010
- "name": "selectedFile",
1011
- "type": {
1012
- "text": "File | null"
1013
- },
1014
- "privacy": "protected",
1015
- "default": "null"
1016
- },
1017
- {
1018
- "kind": "field",
1019
- "name": "label",
1020
- "type": {
1021
- "text": "string"
1022
- }
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "accept",
1027
- "type": {
1028
- "text": "string"
1029
- },
1030
- "default": "''"
1031
- },
1032
- {
1033
- "kind": "field",
1034
- "name": "fileSizeLimitBytes",
1035
- "default": "10_485_760",
1036
- "type": {
1037
- "text": "number"
1038
- }
1039
- },
1040
- {
1041
- "kind": "field",
1042
- "name": "fileName",
1043
- "type": {
1044
- "text": "string"
1045
- },
1046
- "default": "''"
1047
- },
1048
- {
1049
- "kind": "field",
1050
- "name": "isProcessing",
1051
- "type": {
1052
- "text": "boolean"
1053
- },
1054
- "default": "false"
1055
- },
1056
- {
1057
- "kind": "method",
1058
- "name": "handleClick",
1059
- "privacy": "public",
1060
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
- },
1062
- {
1063
- "kind": "method",
1064
- "name": "onInputChange",
1065
- "privacy": "public",
1066
- "parameters": [
1067
- {
1068
- "name": "e",
1069
- "type": {
1070
- "text": "Event"
1071
- },
1072
- "description": "The change event from the file input"
1073
- }
1074
- ],
1075
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
- },
1077
- {
1078
- "kind": "method",
1079
- "name": "clearSelection",
1080
- "privacy": "public",
1081
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
- },
1083
- {
1084
- "kind": "method",
1085
- "name": "getSelectedFile",
1086
- "privacy": "public",
1087
- "description": "Gets the currently selected file object",
1088
- "return": {
1089
- "type": {
1090
- "text": ""
1091
- }
1092
- }
1093
- },
1094
- {
1095
- "kind": "method",
1096
- "name": "showError",
1097
- "privacy": "protected",
1098
- "parameters": [
1099
- {
1100
- "name": "title",
1101
- "type": {
1102
- "text": "string"
1103
- },
1104
- "description": "The error title"
1105
- },
1106
- {
1107
- "name": "message",
1108
- "type": {
1109
- "text": "string"
1110
- },
1111
- "description": "The error message"
1112
- }
1113
- ],
1114
- "description": "Shows an error notification using the unified error handling system"
1115
- },
1116
- {
1117
- "kind": "method",
1118
- "name": "onFileSelected",
1119
- "privacy": "protected",
1120
- "return": {
1121
- "type": {
1122
- "text": "void"
1123
- }
1124
- },
1125
- "parameters": [
1126
- {
1127
- "name": "files",
1128
- "type": {
1129
- "text": "File[]"
1130
- },
1131
- "description": "The selected file"
1132
- }
1133
- ],
1134
- "description": "Abstract method called when a file is selected"
1135
- },
1136
- {
1137
- "kind": "method",
1138
- "name": "onFileCleared",
1139
- "privacy": "protected",
1140
- "return": {
1141
- "type": {
1142
- "text": "void"
1143
- }
1144
- },
1145
- "description": "Abstract method called when file selection is cleared"
1146
- },
1147
- {
1148
- "kind": "field",
1149
- "name": "_presentation",
1150
- "type": {
1151
- "text": "ComponentPresentation | null | undefined"
1152
- },
1153
- "privacy": "private",
1154
- "default": "void 0",
1155
- "inheritedFrom": {
1156
- "name": "FoundationElement",
1157
- "module": "src/foundation-element/foundation-element.ts"
1158
- }
1159
- },
1160
- {
1161
- "kind": "field",
1162
- "name": "$presentation",
1163
- "type": {
1164
- "text": "ComponentPresentation | null"
1165
- },
1166
- "privacy": "public",
1167
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1168
- "inheritedFrom": {
1169
- "name": "FoundationElement",
1170
- "module": "src/foundation-element/foundation-element.ts"
1171
- }
1172
- },
1173
- {
1174
- "kind": "field",
1175
- "name": "template",
1176
- "type": {
1177
- "text": "ElementViewTemplate | void | null"
1178
- },
1179
- "privacy": "public",
1180
- "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.",
1181
- "inheritedFrom": {
1182
- "name": "FoundationElement",
1183
- "module": "src/foundation-element/foundation-element.ts"
1184
- }
1185
- },
1186
- {
1187
- "kind": "method",
1188
- "name": "templateChanged",
1189
- "privacy": "protected",
1190
- "return": {
1191
- "type": {
1192
- "text": "void"
1193
- }
1194
- },
1195
- "inheritedFrom": {
1196
- "name": "FoundationElement",
1197
- "module": "src/foundation-element/foundation-element.ts"
1198
- }
1199
- },
1200
- {
1201
- "kind": "field",
1202
- "name": "styles",
1203
- "type": {
1204
- "text": "ElementStyles | void | null"
1205
- },
1206
- "privacy": "public",
1207
- "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.",
1208
- "inheritedFrom": {
1209
- "name": "FoundationElement",
1210
- "module": "src/foundation-element/foundation-element.ts"
1211
- }
1212
- },
1213
- {
1214
- "kind": "method",
1215
- "name": "stylesChanged",
1216
- "privacy": "protected",
1217
- "return": {
1218
- "type": {
1219
- "text": "void"
1220
- }
1221
- },
1222
- "inheritedFrom": {
1223
- "name": "FoundationElement",
1224
- "module": "src/foundation-element/foundation-element.ts"
1225
- }
1226
- },
1227
- {
1228
- "kind": "method",
1229
- "name": "compose",
1230
- "privacy": "public",
1231
- "static": true,
1232
- "return": {
1233
- "type": {
1234
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1235
- }
1236
- },
1237
- "parameters": [
1238
- {
1239
- "name": "this",
1240
- "type": {
1241
- "text": "K"
1242
- }
1243
- },
1244
- {
1245
- "name": "elementDefinition",
1246
- "type": {
1247
- "text": "T"
1248
- },
1249
- "description": "The definition of the element to create the registry\nfunction for."
1250
- }
1251
- ],
1252
- "description": "Defines an element registry function with a set of element definition defaults.",
1253
- "inheritedFrom": {
1254
- "name": "FoundationElement",
1255
- "module": "src/foundation-element/foundation-element.ts"
1256
- }
1257
- }
1258
- ],
1259
- "events": [
1260
- {
1261
- "description": "Fired when file size validation fails",
1262
- "name": "error"
1263
- },
1264
- {
1265
- "description": "Fired when selection is cleared",
1266
- "name": "clear"
1267
- }
1268
- ],
1269
- "attributes": [
1270
- {
1271
- "name": "label",
1272
- "type": {
1273
- "text": "string"
1274
- },
1275
- "fieldName": "label"
1276
- },
1277
- {
1278
- "name": "accept",
1279
- "type": {
1280
- "text": "string"
1281
- },
1282
- "default": "''",
1283
- "fieldName": "accept"
1284
- },
1285
- {
1286
- "name": "file-size-limit-bytes",
1287
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
- "resolveInitializer": {
1289
- "module": "src/_common/base-file-component.ts"
1290
- },
1291
- "fieldName": "fileSizeLimitBytes"
1292
- }
1293
- ],
1294
- "superclass": {
1295
- "name": "FoundationElement",
1296
- "package": "@microsoft/fast-foundation"
1297
- }
1298
- }
1299
- ],
1300
- "exports": [
1301
- {
1302
- "kind": "js",
1303
- "name": "BaseFileComponent",
1304
- "declaration": {
1305
- "name": "BaseFileComponent",
1306
- "module": "src/_common/base-file-component.ts"
1307
- }
1308
- }
1309
- ]
1310
- },
1311
- {
1312
- "kind": "javascript-module",
1313
- "path": "src/_common/field-styles.ts",
1314
- "declarations": [
1315
- {
1316
- "kind": "variable",
1317
- "name": "sharedFieldStyles",
1318
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1319
- }
1320
- ],
1321
- "exports": [
1322
- {
1323
- "kind": "js",
1324
- "name": "sharedFieldStyles",
1325
- "declaration": {
1326
- "name": "sharedFieldStyles",
1327
- "module": "src/_common/field-styles.ts"
1328
- }
1329
- }
1330
- ]
1331
- },
1332
- {
1333
- "kind": "javascript-module",
1334
- "path": "src/_common/icons.ts",
1335
- "declarations": [
1336
- {
1337
- "kind": "function",
1338
- "name": "closeIcon",
1339
- "parameters": [
1340
- {
1341
- "name": "slot",
1342
- "default": "'start'"
1343
- },
1344
- {
1345
- "name": "fill",
1346
- "default": "'#879ba6'"
1347
- }
1348
- ]
1349
- }
1350
- ],
1351
- "exports": [
1352
- {
1353
- "kind": "js",
1354
- "name": "closeIcon",
1355
- "declaration": {
1356
- "name": "closeIcon",
1357
- "module": "src/_common/icons.ts"
1358
- }
1359
- }
1360
- ]
1361
- },
1362
- {
1363
- "kind": "javascript-module",
1364
- "path": "src/_common/index.ts",
1365
- "declarations": [],
1366
- "exports": [
1367
- {
1368
- "kind": "js",
1369
- "name": "*",
1370
- "declaration": {
1371
- "name": "*",
1372
- "package": "./affix-mixin"
1373
- }
1374
- },
1375
- {
1376
- "kind": "js",
1377
- "name": "*",
1378
- "declaration": {
1379
- "name": "*",
1380
- "package": "./base-file-component"
1381
- }
1382
- },
1383
- {
1384
- "kind": "js",
1385
- "name": "*",
1386
- "declaration": {
1387
- "name": "*",
1388
- "package": "./field-styles"
1389
- }
1390
- },
1391
- {
1392
- "kind": "js",
1393
- "name": "*",
1394
- "declaration": {
1395
- "name": "*",
1396
- "package": "./icons"
1397
- }
1398
- }
1399
- ]
1400
- },
1401
- {
1402
- "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
- {
1433
- "kind": "javascript-module",
1434
- "path": "src/accordion/accordion.styles.ts",
937
+ "path": "src/accordion-item/accordion-item.styles.ts",
1435
938
  "declarations": [
1436
939
  {
1437
940
  "kind": "function",
1438
- "name": "foundationAccordionStyles",
941
+ "name": "foundationAccordionItemStyles",
1439
942
  "return": {
1440
943
  "type": {
1441
944
  "text": "ElementStyles"
@@ -1460,24 +963,24 @@
1460
963
  "exports": [
1461
964
  {
1462
965
  "kind": "js",
1463
- "name": "foundationAccordionStyles",
966
+ "name": "foundationAccordionItemStyles",
1464
967
  "declaration": {
1465
- "name": "foundationAccordionStyles",
1466
- "module": "src/accordion/accordion.styles.ts"
968
+ "name": "foundationAccordionItemStyles",
969
+ "module": "src/accordion-item/accordion-item.styles.ts"
1467
970
  }
1468
971
  }
1469
972
  ]
1470
973
  },
1471
974
  {
1472
975
  "kind": "javascript-module",
1473
- "path": "src/accordion/accordion.template.ts",
976
+ "path": "src/accordion-item/accordion-item.template.ts",
1474
977
  "declarations": [
1475
978
  {
1476
979
  "kind": "function",
1477
- "name": "foundationAccordionTemplate",
980
+ "name": "foundationAccordionItemTemplate",
1478
981
  "return": {
1479
982
  "type": {
1480
- "text": "ViewTemplate<Accordion>"
983
+ "text": "ViewTemplate<AccordionItem>"
1481
984
  }
1482
985
  },
1483
986
  "parameters": [
@@ -1499,237 +1002,116 @@
1499
1002
  "exports": [
1500
1003
  {
1501
1004
  "kind": "js",
1502
- "name": "foundationAccordionTemplate",
1005
+ "name": "foundationAccordionItemTemplate",
1503
1006
  "declaration": {
1504
- "name": "foundationAccordionTemplate",
1505
- "module": "src/accordion/accordion.template.ts"
1007
+ "name": "foundationAccordionItemTemplate",
1008
+ "module": "src/accordion-item/accordion-item.template.ts"
1506
1009
  }
1507
1010
  }
1508
1011
  ]
1509
1012
  },
1510
1013
  {
1511
1014
  "kind": "javascript-module",
1512
- "path": "src/accordion/accordion.ts",
1015
+ "path": "src/accordion-item/accordion-item.ts",
1513
1016
  "declarations": [
1514
1017
  {
1515
1018
  "kind": "class",
1516
1019
  "description": "",
1517
- "name": "Accordion",
1020
+ "name": "AccordionItem",
1518
1021
  "superclass": {
1519
- "name": "FASTAccordion",
1520
- "package": "@microsoft/fast-foundation"
1022
+ "name": "FASTAccordionItem",
1023
+ "package": "@microsoft/fast-components"
1521
1024
  },
1522
- "tagName": "%%prefix%%-accordion",
1025
+ "tagName": "%%prefix%%-accordion-item",
1523
1026
  "customElement": true,
1524
1027
  "attributes": [
1525
1028
  {
1526
- "name": "expand-mode",
1527
- "type": {
1528
- "text": "AccordionExpandMode"
1529
- },
1530
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
- "fieldName": "expandmode",
1532
- "inheritedFrom": {
1533
- "name": "Accordion",
1534
- "module": "src/accordion/accordion.ts"
1535
- }
1536
- }
1537
- ],
1538
- "members": [
1539
- {
1540
- "kind": "field",
1541
- "name": "expandmode",
1029
+ "name": "heading-level",
1542
1030
  "type": {
1543
- "text": "AccordionExpandMode"
1031
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1544
1032
  },
1545
- "privacy": "public",
1546
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1033
+ "default": "2",
1034
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1035
+ "fieldName": "headinglevel",
1547
1036
  "inheritedFrom": {
1548
- "name": "Accordion",
1549
- "module": "src/accordion/accordion.ts"
1037
+ "name": "AccordionItem",
1038
+ "module": "src/accordion-item/accordion-item.ts"
1550
1039
  }
1551
1040
  },
1552
1041
  {
1553
- "kind": "field",
1554
- "name": "activeid",
1555
1042
  "type": {
1556
- "text": "string | null"
1043
+ "text": "boolean"
1557
1044
  },
1558
- "privacy": "private",
1045
+ "default": "false",
1046
+ "description": "Expands or collapses the item.",
1047
+ "fieldName": "expanded",
1559
1048
  "inheritedFrom": {
1560
- "name": "Accordion",
1561
- "module": "src/accordion/accordion.ts"
1049
+ "name": "AccordionItem",
1050
+ "module": "src/accordion-item/accordion-item.ts"
1562
1051
  }
1563
1052
  },
1564
1053
  {
1565
- "kind": "field",
1566
- "name": "activeItemIndex",
1054
+ "name": "id",
1567
1055
  "type": {
1568
- "text": "number"
1056
+ "text": "string"
1569
1057
  },
1570
- "privacy": "private",
1571
- "default": "0",
1058
+ "description": "The item ID",
1059
+ "fieldName": "id",
1572
1060
  "inheritedFrom": {
1573
- "name": "Accordion",
1574
- "module": "src/accordion/accordion.ts"
1061
+ "name": "AccordionItem",
1062
+ "module": "src/accordion-item/accordion-item.ts"
1575
1063
  }
1576
- },
1064
+ }
1065
+ ],
1066
+ "members": [
1577
1067
  {
1578
1068
  "kind": "field",
1579
- "name": "accordionIds",
1069
+ "name": "headinglevel",
1580
1070
  "type": {
1581
- "text": "Array<string | null>"
1582
- },
1583
- "privacy": "private",
1584
- "inheritedFrom": {
1585
- "name": "Accordion",
1586
- "module": "src/accordion/accordion.ts"
1587
- }
1588
- },
1589
- {
1590
- "kind": "field",
1591
- "name": "change",
1592
- "privacy": "private",
1593
- "inheritedFrom": {
1594
- "name": "Accordion",
1595
- "module": "src/accordion/accordion.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "findExpandedItem",
1601
- "privacy": "private",
1602
- "return": {
1603
- "type": {
1604
- "text": "AccordionItem | null"
1605
- }
1606
- },
1607
- "inheritedFrom": {
1608
- "name": "Accordion",
1609
- "module": "src/accordion/accordion.ts"
1610
- }
1611
- },
1612
- {
1613
- "kind": "field",
1614
- "name": "setItems",
1615
- "privacy": "private",
1616
- "inheritedFrom": {
1617
- "name": "Accordion",
1618
- "module": "src/accordion/accordion.ts"
1619
- }
1620
- },
1621
- {
1622
- "kind": "method",
1623
- "name": "resetItems",
1624
- "privacy": "private",
1625
- "return": {
1626
- "type": {
1627
- "text": "void"
1628
- }
1071
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1629
1072
  },
1073
+ "privacy": "public",
1074
+ "default": "2",
1075
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1630
1076
  "inheritedFrom": {
1631
- "name": "Accordion",
1632
- "module": "src/accordion/accordion.ts"
1633
- }
1634
- },
1635
- {
1636
- "kind": "field",
1637
- "name": "removeItemListeners",
1638
- "privacy": "private",
1639
- "inheritedFrom": {
1640
- "name": "Accordion",
1641
- "module": "src/accordion/accordion.ts"
1077
+ "name": "AccordionItem",
1078
+ "module": "src/accordion-item/accordion-item.ts"
1642
1079
  }
1643
1080
  },
1644
1081
  {
1645
1082
  "kind": "field",
1646
- "name": "activeItemChange",
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "getItemIds",
1656
- "privacy": "private",
1657
- "return": {
1658
- "type": {
1659
- "text": "Array<string | null>"
1660
- }
1661
- },
1662
- "inheritedFrom": {
1663
- "name": "Accordion",
1664
- "module": "src/accordion/accordion.ts"
1665
- }
1666
- },
1667
- {
1668
- "kind": "method",
1669
- "name": "isSingleExpandMode",
1670
- "privacy": "private",
1671
- "return": {
1672
- "type": {
1673
- "text": "boolean"
1674
- }
1083
+ "name": "expanded",
1084
+ "type": {
1085
+ "text": "boolean"
1675
1086
  },
1087
+ "privacy": "public",
1088
+ "default": "false",
1089
+ "description": "Expands or collapses the item.",
1676
1090
  "inheritedFrom": {
1677
- "name": "Accordion",
1678
- "module": "src/accordion/accordion.ts"
1679
- }
1680
- },
1681
- {
1682
- "kind": "field",
1683
- "name": "handleItemKeyDown",
1684
- "privacy": "private",
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1091
+ "name": "AccordionItem",
1092
+ "module": "src/accordion-item/accordion-item.ts"
1688
1093
  }
1689
1094
  },
1690
1095
  {
1691
1096
  "kind": "field",
1692
- "name": "handleItemFocus",
1693
- "privacy": "private",
1694
- "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "method",
1701
- "name": "adjust",
1702
- "privacy": "private",
1703
- "return": {
1704
- "type": {
1705
- "text": "void"
1706
- }
1097
+ "name": "id",
1098
+ "type": {
1099
+ "text": "string"
1707
1100
  },
1708
- "parameters": [
1709
- {
1710
- "name": "adjustment",
1711
- "type": {
1712
- "text": "number"
1713
- }
1714
- }
1715
- ],
1101
+ "privacy": "public",
1102
+ "description": "The item ID",
1716
1103
  "inheritedFrom": {
1717
- "name": "Accordion",
1718
- "module": "src/accordion/accordion.ts"
1104
+ "name": "AccordionItem",
1105
+ "module": "src/accordion-item/accordion-item.ts"
1719
1106
  }
1720
1107
  },
1721
1108
  {
1722
- "kind": "method",
1723
- "name": "focusItem",
1109
+ "kind": "field",
1110
+ "name": "change",
1724
1111
  "privacy": "private",
1725
- "return": {
1726
- "type": {
1727
- "text": "void"
1728
- }
1729
- },
1730
1112
  "inheritedFrom": {
1731
- "name": "Accordion",
1732
- "module": "src/accordion/accordion.ts"
1113
+ "name": "AccordionItem",
1114
+ "module": "src/accordion-item/accordion-item.ts"
1733
1115
  }
1734
1116
  },
1735
1117
  {
@@ -1846,18 +1228,18 @@
1846
1228
  ],
1847
1229
  "events": [
1848
1230
  {
1849
- "description": "Fires a custom 'change' event when the active item changes",
1231
+ "description": "Fires a custom 'change' event when the button is invoked",
1850
1232
  "name": "change",
1851
1233
  "inheritedFrom": {
1852
- "name": "Accordion",
1853
- "module": "src/accordion/accordion.ts"
1234
+ "name": "AccordionItem",
1235
+ "module": "src/accordion-item/accordion-item.ts"
1854
1236
  }
1855
1237
  }
1856
1238
  ]
1857
1239
  },
1858
1240
  {
1859
1241
  "kind": "variable",
1860
- "name": "foundationAccordionShadowOptions",
1242
+ "name": "foundationAccordionItemShadowOptions",
1861
1243
  "type": {
1862
1244
  "text": "ShadowRootInit"
1863
1245
  },
@@ -1865,57 +1247,57 @@
1865
1247
  },
1866
1248
  {
1867
1249
  "kind": "variable",
1868
- "name": "defaultAccordionConfig",
1250
+ "name": "defaultAccordionItemConfig",
1869
1251
  "type": {
1870
1252
  "text": "object"
1871
1253
  },
1872
- "default": "{}"
1254
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1873
1255
  },
1874
1256
  {
1875
1257
  "kind": "variable",
1876
- "name": "foundationAccordion",
1877
- "description": "The Foundation Accordion",
1258
+ "name": "foundationAccordionItem",
1259
+ "description": "The Foundation Accordion Item",
1878
1260
  "privacy": "public"
1879
1261
  }
1880
1262
  ],
1881
1263
  "exports": [
1882
1264
  {
1883
1265
  "kind": "js",
1884
- "name": "Accordion",
1266
+ "name": "AccordionItem",
1885
1267
  "declaration": {
1886
- "name": "Accordion",
1887
- "module": "src/accordion/accordion.ts"
1268
+ "name": "AccordionItem",
1269
+ "module": "src/accordion-item/accordion-item.ts"
1888
1270
  }
1889
1271
  },
1890
1272
  {
1891
1273
  "kind": "js",
1892
- "name": "foundationAccordionShadowOptions",
1274
+ "name": "foundationAccordionItemShadowOptions",
1893
1275
  "declaration": {
1894
- "name": "foundationAccordionShadowOptions",
1895
- "module": "src/accordion/accordion.ts"
1276
+ "name": "foundationAccordionItemShadowOptions",
1277
+ "module": "src/accordion-item/accordion-item.ts"
1896
1278
  }
1897
1279
  },
1898
1280
  {
1899
1281
  "kind": "js",
1900
- "name": "defaultAccordionConfig",
1282
+ "name": "defaultAccordionItemConfig",
1901
1283
  "declaration": {
1902
- "name": "defaultAccordionConfig",
1903
- "module": "src/accordion/accordion.ts"
1284
+ "name": "defaultAccordionItemConfig",
1285
+ "module": "src/accordion-item/accordion-item.ts"
1904
1286
  }
1905
1287
  },
1906
1288
  {
1907
1289
  "kind": "js",
1908
- "name": "foundationAccordion",
1290
+ "name": "foundationAccordionItem",
1909
1291
  "declaration": {
1910
- "name": "foundationAccordion",
1911
- "module": "src/accordion/accordion.ts"
1292
+ "name": "foundationAccordionItem",
1293
+ "module": "src/accordion-item/accordion-item.ts"
1912
1294
  }
1913
1295
  }
1914
1296
  ]
1915
1297
  },
1916
1298
  {
1917
1299
  "kind": "javascript-module",
1918
- "path": "src/accordion/index.ts",
1300
+ "path": "src/accordion-item/index.ts",
1919
1301
  "declarations": [],
1920
1302
  "exports": [
1921
1303
  {
@@ -1923,7 +1305,7 @@
1923
1305
  "name": "*",
1924
1306
  "declaration": {
1925
1307
  "name": "*",
1926
- "package": "./accordion.template"
1308
+ "package": "./accordion-item.template"
1927
1309
  }
1928
1310
  },
1929
1311
  {
@@ -1931,7 +1313,7 @@
1931
1313
  "name": "*",
1932
1314
  "declaration": {
1933
1315
  "name": "*",
1934
- "package": "./accordion.styles"
1316
+ "package": "./accordion-item.styles"
1935
1317
  }
1936
1318
  },
1937
1319
  {
@@ -1939,7 +1321,7 @@
1939
1321
  "name": "*",
1940
1322
  "declaration": {
1941
1323
  "name": "*",
1942
- "package": "./accordion"
1324
+ "package": "./accordion-item"
1943
1325
  }
1944
1326
  }
1945
1327
  ]
@@ -2374,107 +1756,565 @@
2374
1756
  }
2375
1757
  }
2376
1758
  ],
2377
- "attributes": [
2378
- {
2379
- "name": "is-vertical",
2380
- "type": {
2381
- "text": "boolean"
2382
- },
2383
- "default": "false",
2384
- "fieldName": "isVertical"
2385
- },
1759
+ "attributes": [
1760
+ {
1761
+ "name": "is-vertical",
1762
+ "type": {
1763
+ "text": "boolean"
1764
+ },
1765
+ "default": "false",
1766
+ "fieldName": "isVertical"
1767
+ },
1768
+ {
1769
+ "name": "add-default-actions",
1770
+ "type": {
1771
+ "text": "boolean"
1772
+ },
1773
+ "default": "true",
1774
+ "fieldName": "addDefaultActions"
1775
+ },
1776
+ {
1777
+ "name": "auto-close-on-action",
1778
+ "type": {
1779
+ "text": "boolean"
1780
+ },
1781
+ "default": "true",
1782
+ "fieldName": "autoCloseOnAction"
1783
+ },
1784
+ {
1785
+ "name": "name",
1786
+ "type": {
1787
+ "text": "string"
1788
+ },
1789
+ "default": "'Actions'",
1790
+ "fieldName": "name"
1791
+ },
1792
+ {
1793
+ "name": "open",
1794
+ "type": {
1795
+ "text": "boolean"
1796
+ },
1797
+ "default": "false",
1798
+ "fieldName": "open"
1799
+ },
1800
+ {
1801
+ "name": "buttonAppearance",
1802
+ "type": {
1803
+ "text": "string"
1804
+ },
1805
+ "fieldName": "buttonAppearance"
1806
+ },
1807
+ {
1808
+ "name": "hide-disabled",
1809
+ "type": {
1810
+ "text": "boolean"
1811
+ },
1812
+ "default": "false",
1813
+ "fieldName": "hideDisabled"
1814
+ },
1815
+ {
1816
+ "name": "hide-menu-single-option",
1817
+ "type": {
1818
+ "text": "boolean"
1819
+ },
1820
+ "default": "false",
1821
+ "fieldName": "hideMenuSingleOption"
1822
+ }
1823
+ ],
1824
+ "superclass": {
1825
+ "name": "FoundationElement",
1826
+ "package": "@microsoft/fast-foundation"
1827
+ },
1828
+ "tagName": "%%prefix%%-actions-menu",
1829
+ "customElement": true
1830
+ },
1831
+ {
1832
+ "kind": "variable",
1833
+ "name": "foundationActionsMenu",
1834
+ "description": "The Foundation Actions Menu",
1835
+ "privacy": "public"
1836
+ }
1837
+ ],
1838
+ "exports": [
1839
+ {
1840
+ "kind": "js",
1841
+ "name": "ActionsMenu",
1842
+ "declaration": {
1843
+ "name": "ActionsMenu",
1844
+ "module": "src/actions-menu/actions-menu.ts"
1845
+ }
1846
+ },
1847
+ {
1848
+ "kind": "js",
1849
+ "name": "foundationActionsMenu",
1850
+ "declaration": {
1851
+ "name": "foundationActionsMenu",
1852
+ "module": "src/actions-menu/actions-menu.ts"
1853
+ }
1854
+ }
1855
+ ]
1856
+ },
1857
+ {
1858
+ "kind": "javascript-module",
1859
+ "path": "src/actions-menu/index.ts",
1860
+ "declarations": [],
1861
+ "exports": [
1862
+ {
1863
+ "kind": "js",
1864
+ "name": "*",
1865
+ "declaration": {
1866
+ "name": "*",
1867
+ "package": "./actions-menu.styles"
1868
+ }
1869
+ },
1870
+ {
1871
+ "kind": "js",
1872
+ "name": "*",
1873
+ "declaration": {
1874
+ "name": "*",
1875
+ "package": "./actions-menu.template"
1876
+ }
1877
+ },
1878
+ {
1879
+ "kind": "js",
1880
+ "name": "*",
1881
+ "declaration": {
1882
+ "name": "*",
1883
+ "package": "./actions-menu"
1884
+ }
1885
+ }
1886
+ ]
1887
+ },
1888
+ {
1889
+ "kind": "javascript-module",
1890
+ "path": "src/_common/affix-mixin.ts",
1891
+ "declarations": [
1892
+ {
1893
+ "kind": "mixin",
1894
+ "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.",
1895
+ "name": "AffixMixin",
1896
+ "members": [
1897
+ {
1898
+ "kind": "field",
1899
+ "name": "prefix",
1900
+ "type": {
1901
+ "text": "string"
1902
+ },
1903
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
1904
+ },
1905
+ {
1906
+ "kind": "field",
1907
+ "name": "suffix",
1908
+ "type": {
1909
+ "text": "string"
1910
+ },
1911
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1912
+ },
1913
+ {
1914
+ "kind": "field",
1915
+ "name": "hideAffixFromScreenReader",
1916
+ "type": {
1917
+ "text": "boolean"
1918
+ },
1919
+ "default": "false",
1920
+ "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."
1921
+ }
1922
+ ],
1923
+ "parameters": [
1924
+ {
1925
+ "name": "Base",
1926
+ "type": {
1927
+ "text": "TBase"
1928
+ }
1929
+ }
1930
+ ]
1931
+ }
1932
+ ],
1933
+ "exports": [
1934
+ {
1935
+ "kind": "js",
1936
+ "name": "AffixMixin",
1937
+ "declaration": {
1938
+ "name": "AffixMixin",
1939
+ "module": "src/_common/affix-mixin.ts"
1940
+ }
1941
+ }
1942
+ ]
1943
+ },
1944
+ {
1945
+ "kind": "javascript-module",
1946
+ "path": "src/_common/base-file-component.ts",
1947
+ "declarations": [
1948
+ {
1949
+ "kind": "class",
1950
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1951
+ "name": "BaseFileComponent",
1952
+ "members": [
1953
+ {
1954
+ "kind": "field",
1955
+ "name": "fileInput",
1956
+ "type": {
1957
+ "text": "HTMLInputElement"
1958
+ },
1959
+ "privacy": "public"
1960
+ },
1961
+ {
1962
+ "kind": "field",
1963
+ "name": "selectedFile",
1964
+ "type": {
1965
+ "text": "File | null"
1966
+ },
1967
+ "privacy": "protected",
1968
+ "default": "null"
1969
+ },
1970
+ {
1971
+ "kind": "field",
1972
+ "name": "label",
1973
+ "type": {
1974
+ "text": "string"
1975
+ }
1976
+ },
1977
+ {
1978
+ "kind": "field",
1979
+ "name": "accept",
1980
+ "type": {
1981
+ "text": "string"
1982
+ },
1983
+ "default": "''"
1984
+ },
1985
+ {
1986
+ "kind": "field",
1987
+ "name": "fileSizeLimitBytes",
1988
+ "default": "10_485_760",
1989
+ "type": {
1990
+ "text": "number"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "field",
1995
+ "name": "fileName",
1996
+ "type": {
1997
+ "text": "string"
1998
+ },
1999
+ "default": "''"
2000
+ },
2001
+ {
2002
+ "kind": "field",
2003
+ "name": "isProcessing",
2004
+ "type": {
2005
+ "text": "boolean"
2006
+ },
2007
+ "default": "false"
2008
+ },
2009
+ {
2010
+ "kind": "method",
2011
+ "name": "handleClick",
2012
+ "privacy": "public",
2013
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2014
+ },
2015
+ {
2016
+ "kind": "method",
2017
+ "name": "onInputChange",
2018
+ "privacy": "public",
2019
+ "parameters": [
2020
+ {
2021
+ "name": "e",
2022
+ "type": {
2023
+ "text": "Event"
2024
+ },
2025
+ "description": "The change event from the file input"
2026
+ }
2027
+ ],
2028
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2029
+ },
2030
+ {
2031
+ "kind": "method",
2032
+ "name": "clearSelection",
2033
+ "privacy": "public",
2034
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
2035
+ },
2036
+ {
2037
+ "kind": "method",
2038
+ "name": "getSelectedFile",
2039
+ "privacy": "public",
2040
+ "description": "Gets the currently selected file object",
2041
+ "return": {
2042
+ "type": {
2043
+ "text": ""
2044
+ }
2045
+ }
2046
+ },
2047
+ {
2048
+ "kind": "method",
2049
+ "name": "showError",
2050
+ "privacy": "protected",
2051
+ "parameters": [
2052
+ {
2053
+ "name": "title",
2054
+ "type": {
2055
+ "text": "string"
2056
+ },
2057
+ "description": "The error title"
2058
+ },
2059
+ {
2060
+ "name": "message",
2061
+ "type": {
2062
+ "text": "string"
2063
+ },
2064
+ "description": "The error message"
2065
+ }
2066
+ ],
2067
+ "description": "Shows an error notification using the unified error handling system"
2068
+ },
2069
+ {
2070
+ "kind": "method",
2071
+ "name": "onFileSelected",
2072
+ "privacy": "protected",
2073
+ "return": {
2074
+ "type": {
2075
+ "text": "void"
2076
+ }
2077
+ },
2078
+ "parameters": [
2079
+ {
2080
+ "name": "files",
2081
+ "type": {
2082
+ "text": "File[]"
2083
+ },
2084
+ "description": "The selected file"
2085
+ }
2086
+ ],
2087
+ "description": "Abstract method called when a file is selected"
2088
+ },
2089
+ {
2090
+ "kind": "method",
2091
+ "name": "onFileCleared",
2092
+ "privacy": "protected",
2093
+ "return": {
2094
+ "type": {
2095
+ "text": "void"
2096
+ }
2097
+ },
2098
+ "description": "Abstract method called when file selection is cleared"
2099
+ },
2100
+ {
2101
+ "kind": "field",
2102
+ "name": "_presentation",
2103
+ "type": {
2104
+ "text": "ComponentPresentation | null | undefined"
2105
+ },
2106
+ "privacy": "private",
2107
+ "default": "void 0",
2108
+ "inheritedFrom": {
2109
+ "name": "FoundationElement",
2110
+ "module": "src/foundation-element/foundation-element.ts"
2111
+ }
2112
+ },
2113
+ {
2114
+ "kind": "field",
2115
+ "name": "$presentation",
2116
+ "type": {
2117
+ "text": "ComponentPresentation | null"
2118
+ },
2119
+ "privacy": "public",
2120
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2121
+ "inheritedFrom": {
2122
+ "name": "FoundationElement",
2123
+ "module": "src/foundation-element/foundation-element.ts"
2124
+ }
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "template",
2129
+ "type": {
2130
+ "text": "ElementViewTemplate | void | null"
2131
+ },
2132
+ "privacy": "public",
2133
+ "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.",
2134
+ "inheritedFrom": {
2135
+ "name": "FoundationElement",
2136
+ "module": "src/foundation-element/foundation-element.ts"
2137
+ }
2138
+ },
2139
+ {
2140
+ "kind": "method",
2141
+ "name": "templateChanged",
2142
+ "privacy": "protected",
2143
+ "return": {
2144
+ "type": {
2145
+ "text": "void"
2146
+ }
2147
+ },
2148
+ "inheritedFrom": {
2149
+ "name": "FoundationElement",
2150
+ "module": "src/foundation-element/foundation-element.ts"
2151
+ }
2152
+ },
2153
+ {
2154
+ "kind": "field",
2155
+ "name": "styles",
2156
+ "type": {
2157
+ "text": "ElementStyles | void | null"
2158
+ },
2159
+ "privacy": "public",
2160
+ "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.",
2161
+ "inheritedFrom": {
2162
+ "name": "FoundationElement",
2163
+ "module": "src/foundation-element/foundation-element.ts"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "method",
2168
+ "name": "stylesChanged",
2169
+ "privacy": "protected",
2170
+ "return": {
2171
+ "type": {
2172
+ "text": "void"
2173
+ }
2174
+ },
2175
+ "inheritedFrom": {
2176
+ "name": "FoundationElement",
2177
+ "module": "src/foundation-element/foundation-element.ts"
2178
+ }
2179
+ },
2180
+ {
2181
+ "kind": "method",
2182
+ "name": "compose",
2183
+ "privacy": "public",
2184
+ "static": true,
2185
+ "return": {
2186
+ "type": {
2187
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2188
+ }
2189
+ },
2190
+ "parameters": [
2191
+ {
2192
+ "name": "this",
2193
+ "type": {
2194
+ "text": "K"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "elementDefinition",
2199
+ "type": {
2200
+ "text": "T"
2201
+ },
2202
+ "description": "The definition of the element to create the registry\nfunction for."
2203
+ }
2204
+ ],
2205
+ "description": "Defines an element registry function with a set of element definition defaults.",
2206
+ "inheritedFrom": {
2207
+ "name": "FoundationElement",
2208
+ "module": "src/foundation-element/foundation-element.ts"
2209
+ }
2210
+ }
2211
+ ],
2212
+ "events": [
2386
2213
  {
2387
- "name": "add-default-actions",
2388
- "type": {
2389
- "text": "boolean"
2390
- },
2391
- "default": "true",
2392
- "fieldName": "addDefaultActions"
2214
+ "description": "Fired when file size validation fails",
2215
+ "name": "error"
2393
2216
  },
2394
2217
  {
2395
- "name": "auto-close-on-action",
2396
- "type": {
2397
- "text": "boolean"
2398
- },
2399
- "default": "true",
2400
- "fieldName": "autoCloseOnAction"
2401
- },
2218
+ "description": "Fired when selection is cleared",
2219
+ "name": "clear"
2220
+ }
2221
+ ],
2222
+ "attributes": [
2402
2223
  {
2403
- "name": "name",
2224
+ "name": "label",
2404
2225
  "type": {
2405
2226
  "text": "string"
2406
2227
  },
2407
- "default": "'Actions'",
2408
- "fieldName": "name"
2409
- },
2410
- {
2411
- "name": "open",
2412
- "type": {
2413
- "text": "boolean"
2414
- },
2415
- "default": "false",
2416
- "fieldName": "open"
2228
+ "fieldName": "label"
2417
2229
  },
2418
2230
  {
2419
- "name": "buttonAppearance",
2231
+ "name": "accept",
2420
2232
  "type": {
2421
2233
  "text": "string"
2422
2234
  },
2423
- "fieldName": "buttonAppearance"
2424
- },
2425
- {
2426
- "name": "hide-disabled",
2427
- "type": {
2428
- "text": "boolean"
2429
- },
2430
- "default": "false",
2431
- "fieldName": "hideDisabled"
2235
+ "default": "''",
2236
+ "fieldName": "accept"
2432
2237
  },
2433
2238
  {
2434
- "name": "hide-menu-single-option",
2435
- "type": {
2436
- "text": "boolean"
2239
+ "name": "file-size-limit-bytes",
2240
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
2241
+ "resolveInitializer": {
2242
+ "module": "src/_common/base-file-component.ts"
2437
2243
  },
2438
- "default": "false",
2439
- "fieldName": "hideMenuSingleOption"
2244
+ "fieldName": "fileSizeLimitBytes"
2440
2245
  }
2441
2246
  ],
2442
2247
  "superclass": {
2443
2248
  "name": "FoundationElement",
2444
2249
  "package": "@microsoft/fast-foundation"
2445
- },
2446
- "tagName": "%%prefix%%-actions-menu",
2447
- "customElement": true
2448
- },
2250
+ }
2251
+ }
2252
+ ],
2253
+ "exports": [
2254
+ {
2255
+ "kind": "js",
2256
+ "name": "BaseFileComponent",
2257
+ "declaration": {
2258
+ "name": "BaseFileComponent",
2259
+ "module": "src/_common/base-file-component.ts"
2260
+ }
2261
+ }
2262
+ ]
2263
+ },
2264
+ {
2265
+ "kind": "javascript-module",
2266
+ "path": "src/_common/field-styles.ts",
2267
+ "declarations": [
2449
2268
  {
2450
2269
  "kind": "variable",
2451
- "name": "foundationActionsMenu",
2452
- "description": "The Foundation Actions Menu",
2453
- "privacy": "public"
2270
+ "name": "sharedFieldStyles",
2271
+ "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`"
2454
2272
  }
2455
2273
  ],
2456
2274
  "exports": [
2457
2275
  {
2458
2276
  "kind": "js",
2459
- "name": "ActionsMenu",
2277
+ "name": "sharedFieldStyles",
2460
2278
  "declaration": {
2461
- "name": "ActionsMenu",
2462
- "module": "src/actions-menu/actions-menu.ts"
2279
+ "name": "sharedFieldStyles",
2280
+ "module": "src/_common/field-styles.ts"
2463
2281
  }
2464
- },
2282
+ }
2283
+ ]
2284
+ },
2285
+ {
2286
+ "kind": "javascript-module",
2287
+ "path": "src/_common/icons.ts",
2288
+ "declarations": [
2289
+ {
2290
+ "kind": "function",
2291
+ "name": "closeIcon",
2292
+ "parameters": [
2293
+ {
2294
+ "name": "slot",
2295
+ "default": "'start'"
2296
+ },
2297
+ {
2298
+ "name": "fill",
2299
+ "default": "'#879ba6'"
2300
+ }
2301
+ ]
2302
+ }
2303
+ ],
2304
+ "exports": [
2465
2305
  {
2466
2306
  "kind": "js",
2467
- "name": "foundationActionsMenu",
2307
+ "name": "closeIcon",
2468
2308
  "declaration": {
2469
- "name": "foundationActionsMenu",
2470
- "module": "src/actions-menu/actions-menu.ts"
2309
+ "name": "closeIcon",
2310
+ "module": "src/_common/icons.ts"
2471
2311
  }
2472
2312
  }
2473
2313
  ]
2474
2314
  },
2475
2315
  {
2476
2316
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/index.ts",
2317
+ "path": "src/_common/index.ts",
2478
2318
  "declarations": [],
2479
2319
  "exports": [
2480
2320
  {
@@ -2482,7 +2322,7 @@
2482
2322
  "name": "*",
2483
2323
  "declaration": {
2484
2324
  "name": "*",
2485
- "package": "./actions-menu.styles"
2325
+ "package": "./affix-mixin"
2486
2326
  }
2487
2327
  },
2488
2328
  {
@@ -2490,7 +2330,7 @@
2490
2330
  "name": "*",
2491
2331
  "declaration": {
2492
2332
  "name": "*",
2493
- "package": "./actions-menu.template"
2333
+ "package": "./base-file-component"
2494
2334
  }
2495
2335
  },
2496
2336
  {
@@ -2498,7 +2338,15 @@
2498
2338
  "name": "*",
2499
2339
  "declaration": {
2500
2340
  "name": "*",
2501
- "package": "./actions-menu"
2341
+ "package": "./field-styles"
2342
+ }
2343
+ },
2344
+ {
2345
+ "kind": "js",
2346
+ "name": "*",
2347
+ "declaration": {
2348
+ "name": "*",
2349
+ "package": "./icons"
2502
2350
  }
2503
2351
  }
2504
2352
  ]
@@ -3114,11 +2962,11 @@
3114
2962
  },
3115
2963
  {
3116
2964
  "kind": "javascript-module",
3117
- "path": "src/accordion-item/accordion-item.styles.ts",
2965
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3118
2966
  "declarations": [
3119
2967
  {
3120
2968
  "kind": "function",
3121
- "name": "foundationAccordionItemStyles",
2969
+ "name": "foundationAiIndicatorStyles",
3122
2970
  "return": {
3123
2971
  "type": {
3124
2972
  "text": "ElementStyles"
@@ -3143,155 +2991,224 @@
3143
2991
  "exports": [
3144
2992
  {
3145
2993
  "kind": "js",
3146
- "name": "foundationAccordionItemStyles",
2994
+ "name": "foundationAiIndicatorStyles",
3147
2995
  "declaration": {
3148
- "name": "foundationAccordionItemStyles",
3149
- "module": "src/accordion-item/accordion-item.styles.ts"
2996
+ "name": "foundationAiIndicatorStyles",
2997
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3150
2998
  }
3151
2999
  }
3152
3000
  ]
3153
3001
  },
3154
3002
  {
3155
3003
  "kind": "javascript-module",
3156
- "path": "src/accordion-item/accordion-item.template.ts",
3004
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3157
3005
  "declarations": [
3158
3006
  {
3159
- "kind": "function",
3160
- "name": "foundationAccordionItemTemplate",
3161
- "return": {
3162
- "type": {
3163
- "text": "ViewTemplate<AccordionItem>"
3164
- }
3007
+ "kind": "variable",
3008
+ "name": "foundationAiIndicatorTemplate",
3009
+ "type": {
3010
+ "text": "ViewTemplate<AiIndicator>"
3165
3011
  },
3166
- "parameters": [
3167
- {
3168
- "name": "context",
3169
- "type": {
3170
- "text": "ElementDefinitionContext"
3171
- }
3172
- },
3173
- {
3174
- "name": "definition",
3175
- "type": {
3176
- "text": "FoundationElementDefinition"
3177
- }
3178
- }
3179
- ]
3012
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3180
3013
  }
3181
3014
  ],
3182
3015
  "exports": [
3183
3016
  {
3184
3017
  "kind": "js",
3185
- "name": "foundationAccordionItemTemplate",
3018
+ "name": "foundationAiIndicatorTemplate",
3186
3019
  "declaration": {
3187
- "name": "foundationAccordionItemTemplate",
3188
- "module": "src/accordion-item/accordion-item.template.ts"
3020
+ "name": "foundationAiIndicatorTemplate",
3021
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3189
3022
  }
3190
3023
  }
3191
3024
  ]
3192
3025
  },
3193
3026
  {
3194
3027
  "kind": "javascript-module",
3195
- "path": "src/accordion-item/accordion-item.ts",
3028
+ "path": "src/ai-indicator/ai-indicator.ts",
3196
3029
  "declarations": [
3197
3030
  {
3198
3031
  "kind": "class",
3199
3032
  "description": "",
3200
- "name": "AccordionItem",
3201
- "superclass": {
3202
- "name": "FASTAccordionItem",
3203
- "package": "@microsoft/fast-components"
3204
- },
3205
- "tagName": "%%prefix%%-accordion-item",
3206
- "customElement": true,
3207
- "attributes": [
3033
+ "name": "AiIndicator",
3034
+ "members": [
3208
3035
  {
3209
- "name": "heading-level",
3036
+ "kind": "field",
3037
+ "name": "providerRegistry",
3210
3038
  "type": {
3211
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3212
- },
3213
- "default": "2",
3214
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3215
- "fieldName": "headinglevel",
3216
- "inheritedFrom": {
3217
- "name": "AccordionItem",
3218
- "module": "src/accordion-item/accordion-item.ts"
3039
+ "text": "AIProviderRegistry"
3219
3040
  }
3220
3041
  },
3221
3042
  {
3043
+ "kind": "field",
3044
+ "name": "aiProvider",
3045
+ "type": {
3046
+ "text": "AIProvider | undefined"
3047
+ },
3048
+ "privacy": "private",
3049
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3050
+ "readonly": true
3051
+ },
3052
+ {
3053
+ "kind": "field",
3054
+ "name": "status",
3055
+ "type": {
3056
+ "text": "AIStatus | null"
3057
+ },
3058
+ "default": "null"
3059
+ },
3060
+ {
3061
+ "kind": "field",
3062
+ "name": "open",
3222
3063
  "type": {
3223
3064
  "text": "boolean"
3224
3065
  },
3225
- "default": "false",
3226
- "description": "Expands or collapses the item.",
3227
- "fieldName": "expanded",
3228
- "inheritedFrom": {
3229
- "name": "AccordionItem",
3230
- "module": "src/accordion-item/accordion-item.ts"
3231
- }
3066
+ "default": "false"
3232
3067
  },
3233
3068
  {
3234
- "name": "id",
3069
+ "kind": "field",
3070
+ "name": "state",
3235
3071
  "type": {
3236
- "text": "string"
3072
+ "text": "AIIndicatorState"
3237
3073
  },
3238
- "description": "The item ID",
3239
- "fieldName": "id",
3240
- "inheritedFrom": {
3241
- "name": "AccordionItem",
3242
- "module": "src/accordion-item/accordion-item.ts"
3243
- }
3244
- }
3245
- ],
3246
- "members": [
3074
+ "default": "'none'"
3075
+ },
3247
3076
  {
3248
3077
  "kind": "field",
3249
- "name": "headinglevel",
3078
+ "name": "isInstalling",
3250
3079
  "type": {
3251
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3080
+ "text": "boolean"
3252
3081
  },
3253
- "privacy": "public",
3254
- "default": "2",
3255
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3256
- "inheritedFrom": {
3257
- "name": "AccordionItem",
3258
- "module": "src/accordion-item/accordion-item.ts"
3259
- }
3082
+ "default": "false"
3260
3083
  },
3261
3084
  {
3262
3085
  "kind": "field",
3263
- "name": "expanded",
3086
+ "name": "pollTimer",
3087
+ "type": {
3088
+ "text": "ReturnType<typeof setInterval> | null"
3089
+ },
3090
+ "privacy": "private",
3091
+ "default": "null"
3092
+ },
3093
+ {
3094
+ "kind": "field",
3095
+ "name": "clickOutside",
3096
+ "privacy": "private"
3097
+ },
3098
+ {
3099
+ "kind": "field",
3100
+ "name": "chromeStatusLabel",
3101
+ "type": {
3102
+ "text": "string | null"
3103
+ },
3104
+ "readonly": true
3105
+ },
3106
+ {
3107
+ "kind": "field",
3108
+ "name": "canInstall",
3264
3109
  "type": {
3265
3110
  "text": "boolean"
3266
3111
  },
3267
- "privacy": "public",
3268
- "default": "false",
3269
- "description": "Expands or collapses the item.",
3270
- "inheritedFrom": {
3271
- "name": "AccordionItem",
3272
- "module": "src/accordion-item/accordion-item.ts"
3112
+ "readonly": true
3113
+ },
3114
+ {
3115
+ "kind": "field",
3116
+ "name": "isDownloading",
3117
+ "type": {
3118
+ "text": "boolean"
3119
+ },
3120
+ "readonly": true
3121
+ },
3122
+ {
3123
+ "kind": "method",
3124
+ "name": "openChanged",
3125
+ "return": {
3126
+ "type": {
3127
+ "text": "void"
3128
+ }
3129
+ }
3130
+ },
3131
+ {
3132
+ "kind": "method",
3133
+ "name": "handleClickOutside",
3134
+ "privacy": "private",
3135
+ "parameters": [
3136
+ {
3137
+ "name": "event",
3138
+ "type": {
3139
+ "text": "MouseEvent"
3140
+ }
3141
+ }
3142
+ ]
3143
+ },
3144
+ {
3145
+ "kind": "method",
3146
+ "name": "toggleDropdown"
3147
+ },
3148
+ {
3149
+ "kind": "method",
3150
+ "name": "refreshStatus",
3151
+ "return": {
3152
+ "type": {
3153
+ "text": "Promise<void>"
3154
+ }
3155
+ }
3156
+ },
3157
+ {
3158
+ "kind": "method",
3159
+ "name": "deriveState",
3160
+ "privacy": "private",
3161
+ "return": {
3162
+ "type": {
3163
+ "text": "AIIndicatorState"
3164
+ }
3165
+ },
3166
+ "parameters": [
3167
+ {
3168
+ "name": "s",
3169
+ "type": {
3170
+ "text": "AIStatus | null"
3171
+ }
3172
+ }
3173
+ ]
3174
+ },
3175
+ {
3176
+ "kind": "method",
3177
+ "name": "maybeStartPolling",
3178
+ "privacy": "private",
3179
+ "return": {
3180
+ "type": {
3181
+ "text": "void"
3182
+ }
3183
+ }
3184
+ },
3185
+ {
3186
+ "kind": "method",
3187
+ "name": "startPolling",
3188
+ "privacy": "private",
3189
+ "return": {
3190
+ "type": {
3191
+ "text": "void"
3192
+ }
3273
3193
  }
3274
3194
  },
3275
3195
  {
3276
- "kind": "field",
3277
- "name": "id",
3278
- "type": {
3279
- "text": "string"
3280
- },
3281
- "privacy": "public",
3282
- "description": "The item ID",
3283
- "inheritedFrom": {
3284
- "name": "AccordionItem",
3285
- "module": "src/accordion-item/accordion-item.ts"
3196
+ "kind": "method",
3197
+ "name": "stopPolling",
3198
+ "privacy": "private",
3199
+ "return": {
3200
+ "type": {
3201
+ "text": "void"
3202
+ }
3286
3203
  }
3287
3204
  },
3288
3205
  {
3289
- "kind": "field",
3290
- "name": "change",
3291
- "privacy": "private",
3292
- "inheritedFrom": {
3293
- "name": "AccordionItem",
3294
- "module": "src/accordion-item/accordion-item.ts"
3206
+ "kind": "method",
3207
+ "name": "onInstall",
3208
+ "return": {
3209
+ "type": {
3210
+ "text": "Promise<void>"
3211
+ }
3295
3212
  }
3296
3213
  },
3297
3214
  {
@@ -3406,113 +3323,99 @@
3406
3323
  }
3407
3324
  }
3408
3325
  ],
3409
- "events": [
3410
- {
3411
- "description": "Fires a custom 'change' event when the button is invoked",
3412
- "name": "change",
3413
- "inheritedFrom": {
3414
- "name": "AccordionItem",
3415
- "module": "src/accordion-item/accordion-item.ts"
3416
- }
3417
- }
3418
- ]
3419
- },
3420
- {
3421
- "kind": "variable",
3422
- "name": "foundationAccordionItemShadowOptions",
3423
- "type": {
3424
- "text": "ShadowRootInit"
3425
- },
3426
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3427
- },
3428
- {
3429
- "kind": "variable",
3430
- "name": "defaultAccordionItemConfig",
3431
- "type": {
3432
- "text": "object"
3326
+ "superclass": {
3327
+ "name": "FoundationElement",
3328
+ "package": "@microsoft/fast-foundation"
3433
3329
  },
3434
- "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}"
3330
+ "tagName": "%%prefix%%-ai-indicator",
3331
+ "customElement": true
3435
3332
  },
3436
3333
  {
3437
3334
  "kind": "variable",
3438
- "name": "foundationAccordionItem",
3439
- "description": "The Foundation Accordion Item",
3440
- "privacy": "public"
3335
+ "name": "foundationAiIndicator"
3441
3336
  }
3442
3337
  ],
3443
3338
  "exports": [
3444
3339
  {
3445
3340
  "kind": "js",
3446
- "name": "AccordionItem",
3341
+ "name": "AiIndicator",
3447
3342
  "declaration": {
3448
- "name": "AccordionItem",
3449
- "module": "src/accordion-item/accordion-item.ts"
3343
+ "name": "AiIndicator",
3344
+ "module": "src/ai-indicator/ai-indicator.ts"
3450
3345
  }
3451
3346
  },
3452
3347
  {
3453
3348
  "kind": "js",
3454
- "name": "foundationAccordionItemShadowOptions",
3349
+ "name": "foundationAiIndicator",
3455
3350
  "declaration": {
3456
- "name": "foundationAccordionItemShadowOptions",
3457
- "module": "src/accordion-item/accordion-item.ts"
3351
+ "name": "foundationAiIndicator",
3352
+ "module": "src/ai-indicator/ai-indicator.ts"
3353
+ }
3354
+ }
3355
+ ]
3356
+ },
3357
+ {
3358
+ "kind": "javascript-module",
3359
+ "path": "src/ai-indicator/index.ts",
3360
+ "declarations": [],
3361
+ "exports": [
3362
+ {
3363
+ "kind": "js",
3364
+ "name": "AiIndicator",
3365
+ "declaration": {
3366
+ "name": "AiIndicator",
3367
+ "module": "./ai-indicator"
3458
3368
  }
3459
3369
  },
3460
3370
  {
3461
3371
  "kind": "js",
3462
- "name": "defaultAccordionItemConfig",
3372
+ "name": "foundationAiIndicator",
3463
3373
  "declaration": {
3464
- "name": "defaultAccordionItemConfig",
3465
- "module": "src/accordion-item/accordion-item.ts"
3374
+ "name": "foundationAiIndicator",
3375
+ "module": "./ai-indicator"
3466
3376
  }
3467
3377
  },
3468
3378
  {
3469
3379
  "kind": "js",
3470
- "name": "foundationAccordionItem",
3380
+ "name": "type",
3471
3381
  "declaration": {
3472
- "name": "foundationAccordionItem",
3473
- "module": "src/accordion-item/accordion-item.ts"
3382
+ "name": "type",
3383
+ "module": "./ai-indicator"
3474
3384
  }
3475
- }
3476
- ]
3477
- },
3478
- {
3479
- "kind": "javascript-module",
3480
- "path": "src/accordion-item/index.ts",
3481
- "declarations": [],
3482
- "exports": [
3385
+ },
3483
3386
  {
3484
3387
  "kind": "js",
3485
- "name": "*",
3388
+ "name": "AIIndicatorState",
3486
3389
  "declaration": {
3487
- "name": "*",
3488
- "package": "./accordion-item.template"
3390
+ "name": "AIIndicatorState",
3391
+ "module": "./ai-indicator"
3489
3392
  }
3490
3393
  },
3491
3394
  {
3492
3395
  "kind": "js",
3493
- "name": "*",
3396
+ "name": "foundationAiIndicatorTemplate",
3494
3397
  "declaration": {
3495
- "name": "*",
3496
- "package": "./accordion-item.styles"
3398
+ "name": "foundationAiIndicatorTemplate",
3399
+ "module": "./ai-indicator.template"
3497
3400
  }
3498
3401
  },
3499
3402
  {
3500
3403
  "kind": "js",
3501
- "name": "*",
3404
+ "name": "foundationAiIndicatorStyles",
3502
3405
  "declaration": {
3503
- "name": "*",
3504
- "package": "./accordion-item"
3406
+ "name": "foundationAiIndicatorStyles",
3407
+ "module": "./ai-indicator.styles"
3505
3408
  }
3506
3409
  }
3507
3410
  ]
3508
3411
  },
3509
3412
  {
3510
3413
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3414
+ "path": "src/accordion/accordion.styles.ts",
3512
3415
  "declarations": [
3513
3416
  {
3514
3417
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3418
+ "name": "foundationAccordionStyles",
3516
3419
  "return": {
3517
3420
  "type": {
3518
3421
  "text": "ElementStyles"
@@ -3537,224 +3440,276 @@
3537
3440
  "exports": [
3538
3441
  {
3539
3442
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3443
+ "name": "foundationAccordionStyles",
3541
3444
  "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3445
+ "name": "foundationAccordionStyles",
3446
+ "module": "src/accordion/accordion.styles.ts"
3544
3447
  }
3545
3448
  }
3546
3449
  ]
3547
3450
  },
3548
3451
  {
3549
3452
  "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3453
+ "path": "src/accordion/accordion.template.ts",
3551
3454
  "declarations": [
3552
3455
  {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3456
+ "kind": "function",
3457
+ "name": "foundationAccordionTemplate",
3458
+ "return": {
3459
+ "type": {
3460
+ "text": "ViewTemplate<Accordion>"
3461
+ }
3557
3462
  },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3463
+ "parameters": [
3464
+ {
3465
+ "name": "context",
3466
+ "type": {
3467
+ "text": "ElementDefinitionContext"
3468
+ }
3469
+ },
3470
+ {
3471
+ "name": "definition",
3472
+ "type": {
3473
+ "text": "FoundationElementDefinition"
3474
+ }
3475
+ }
3476
+ ]
3559
3477
  }
3560
3478
  ],
3561
3479
  "exports": [
3562
3480
  {
3563
3481
  "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3482
+ "name": "foundationAccordionTemplate",
3565
3483
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3484
+ "name": "foundationAccordionTemplate",
3485
+ "module": "src/accordion/accordion.template.ts"
3568
3486
  }
3569
3487
  }
3570
3488
  ]
3571
3489
  },
3572
3490
  {
3573
3491
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3492
+ "path": "src/accordion/accordion.ts",
3575
3493
  "declarations": [
3576
3494
  {
3577
3495
  "kind": "class",
3578
3496
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "providerRegistry",
3584
- "type": {
3585
- "text": "AIProviderRegistry"
3586
- }
3587
- },
3588
- {
3589
- "kind": "field",
3590
- "name": "aiProvider",
3591
- "type": {
3592
- "text": "AIProvider | undefined"
3593
- },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3597
- },
3497
+ "name": "Accordion",
3498
+ "superclass": {
3499
+ "name": "FASTAccordion",
3500
+ "package": "@microsoft/fast-foundation"
3501
+ },
3502
+ "tagName": "%%prefix%%-accordion",
3503
+ "customElement": true,
3504
+ "attributes": [
3598
3505
  {
3599
- "kind": "field",
3600
- "name": "status",
3506
+ "name": "expand-mode",
3601
3507
  "type": {
3602
- "text": "AIStatus | null"
3508
+ "text": "AccordionExpandMode"
3603
3509
  },
3604
- "default": "null"
3605
- },
3510
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3511
+ "fieldName": "expandmode",
3512
+ "inheritedFrom": {
3513
+ "name": "Accordion",
3514
+ "module": "src/accordion/accordion.ts"
3515
+ }
3516
+ }
3517
+ ],
3518
+ "members": [
3606
3519
  {
3607
3520
  "kind": "field",
3608
- "name": "open",
3521
+ "name": "expandmode",
3609
3522
  "type": {
3610
- "text": "boolean"
3523
+ "text": "AccordionExpandMode"
3611
3524
  },
3612
- "default": "false"
3525
+ "privacy": "public",
3526
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3527
+ "inheritedFrom": {
3528
+ "name": "Accordion",
3529
+ "module": "src/accordion/accordion.ts"
3530
+ }
3613
3531
  },
3614
3532
  {
3615
3533
  "kind": "field",
3616
- "name": "state",
3534
+ "name": "activeid",
3617
3535
  "type": {
3618
- "text": "AIIndicatorState"
3536
+ "text": "string | null"
3619
3537
  },
3620
- "default": "'none'"
3538
+ "privacy": "private",
3539
+ "inheritedFrom": {
3540
+ "name": "Accordion",
3541
+ "module": "src/accordion/accordion.ts"
3542
+ }
3621
3543
  },
3622
3544
  {
3623
3545
  "kind": "field",
3624
- "name": "isInstalling",
3546
+ "name": "activeItemIndex",
3625
3547
  "type": {
3626
- "text": "boolean"
3548
+ "text": "number"
3627
3549
  },
3628
- "default": "false"
3550
+ "privacy": "private",
3551
+ "default": "0",
3552
+ "inheritedFrom": {
3553
+ "name": "Accordion",
3554
+ "module": "src/accordion/accordion.ts"
3555
+ }
3629
3556
  },
3630
3557
  {
3631
3558
  "kind": "field",
3632
- "name": "pollTimer",
3559
+ "name": "accordionIds",
3633
3560
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3561
+ "text": "Array<string | null>"
3635
3562
  },
3636
3563
  "privacy": "private",
3637
- "default": "null"
3638
- },
3639
- {
3640
- "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3564
+ "inheritedFrom": {
3565
+ "name": "Accordion",
3566
+ "module": "src/accordion/accordion.ts"
3567
+ }
3643
3568
  },
3644
3569
  {
3645
3570
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3647
- "type": {
3648
- "text": "string | null"
3649
- },
3650
- "readonly": true
3571
+ "name": "change",
3572
+ "privacy": "private",
3573
+ "inheritedFrom": {
3574
+ "name": "Accordion",
3575
+ "module": "src/accordion/accordion.ts"
3576
+ }
3651
3577
  },
3652
3578
  {
3653
- "kind": "field",
3654
- "name": "canInstall",
3655
- "type": {
3656
- "text": "boolean"
3579
+ "kind": "method",
3580
+ "name": "findExpandedItem",
3581
+ "privacy": "private",
3582
+ "return": {
3583
+ "type": {
3584
+ "text": "AccordionItem | null"
3585
+ }
3657
3586
  },
3658
- "readonly": true
3587
+ "inheritedFrom": {
3588
+ "name": "Accordion",
3589
+ "module": "src/accordion/accordion.ts"
3590
+ }
3659
3591
  },
3660
3592
  {
3661
3593
  "kind": "field",
3662
- "name": "isDownloading",
3663
- "type": {
3664
- "text": "boolean"
3665
- },
3666
- "readonly": true
3594
+ "name": "setItems",
3595
+ "privacy": "private",
3596
+ "inheritedFrom": {
3597
+ "name": "Accordion",
3598
+ "module": "src/accordion/accordion.ts"
3599
+ }
3667
3600
  },
3668
3601
  {
3669
3602
  "kind": "method",
3670
- "name": "openChanged",
3603
+ "name": "resetItems",
3604
+ "privacy": "private",
3671
3605
  "return": {
3672
3606
  "type": {
3673
3607
  "text": "void"
3674
3608
  }
3609
+ },
3610
+ "inheritedFrom": {
3611
+ "name": "Accordion",
3612
+ "module": "src/accordion/accordion.ts"
3675
3613
  }
3676
3614
  },
3677
3615
  {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3616
+ "kind": "field",
3617
+ "name": "removeItemListeners",
3680
3618
  "privacy": "private",
3681
- "parameters": [
3682
- {
3683
- "name": "event",
3684
- "type": {
3685
- "text": "MouseEvent"
3686
- }
3687
- }
3688
- ]
3619
+ "inheritedFrom": {
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
3622
+ }
3689
3623
  },
3690
3624
  {
3691
- "kind": "method",
3692
- "name": "toggleDropdown"
3625
+ "kind": "field",
3626
+ "name": "activeItemChange",
3627
+ "privacy": "private",
3628
+ "inheritedFrom": {
3629
+ "name": "Accordion",
3630
+ "module": "src/accordion/accordion.ts"
3631
+ }
3693
3632
  },
3694
3633
  {
3695
3634
  "kind": "method",
3696
- "name": "refreshStatus",
3635
+ "name": "getItemIds",
3636
+ "privacy": "private",
3697
3637
  "return": {
3698
3638
  "type": {
3699
- "text": "Promise<void>"
3639
+ "text": "Array<string | null>"
3700
3640
  }
3641
+ },
3642
+ "inheritedFrom": {
3643
+ "name": "Accordion",
3644
+ "module": "src/accordion/accordion.ts"
3701
3645
  }
3702
3646
  },
3703
3647
  {
3704
3648
  "kind": "method",
3705
- "name": "deriveState",
3649
+ "name": "isSingleExpandMode",
3706
3650
  "privacy": "private",
3707
3651
  "return": {
3708
3652
  "type": {
3709
- "text": "AIIndicatorState"
3653
+ "text": "boolean"
3710
3654
  }
3711
3655
  },
3712
- "parameters": [
3713
- {
3714
- "name": "s",
3715
- "type": {
3716
- "text": "AIStatus | null"
3717
- }
3718
- }
3719
- ]
3656
+ "inheritedFrom": {
3657
+ "name": "Accordion",
3658
+ "module": "src/accordion/accordion.ts"
3659
+ }
3720
3660
  },
3721
3661
  {
3722
- "kind": "method",
3723
- "name": "maybeStartPolling",
3662
+ "kind": "field",
3663
+ "name": "handleItemKeyDown",
3724
3664
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3729
3668
  }
3730
3669
  },
3731
3670
  {
3732
- "kind": "method",
3733
- "name": "startPolling",
3671
+ "kind": "field",
3672
+ "name": "handleItemFocus",
3734
3673
  "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3674
+ "inheritedFrom": {
3675
+ "name": "Accordion",
3676
+ "module": "src/accordion/accordion.ts"
3739
3677
  }
3740
3678
  },
3741
3679
  {
3742
3680
  "kind": "method",
3743
- "name": "stopPolling",
3681
+ "name": "adjust",
3744
3682
  "privacy": "private",
3745
3683
  "return": {
3746
3684
  "type": {
3747
3685
  "text": "void"
3748
3686
  }
3687
+ },
3688
+ "parameters": [
3689
+ {
3690
+ "name": "adjustment",
3691
+ "type": {
3692
+ "text": "number"
3693
+ }
3694
+ }
3695
+ ],
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3749
3699
  }
3750
3700
  },
3751
3701
  {
3752
3702
  "kind": "method",
3753
- "name": "onInstall",
3703
+ "name": "focusItem",
3704
+ "privacy": "private",
3754
3705
  "return": {
3755
3706
  "type": {
3756
- "text": "Promise<void>"
3707
+ "text": "void"
3757
3708
  }
3709
+ },
3710
+ "inheritedFrom": {
3711
+ "name": "Accordion",
3712
+ "module": "src/accordion/accordion.ts"
3758
3713
  }
3759
3714
  },
3760
3715
  {
@@ -3869,88 +3824,133 @@
3869
3824
  }
3870
3825
  }
3871
3826
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3827
+ "events": [
3828
+ {
3829
+ "description": "Fires a custom 'change' event when the active item changes",
3830
+ "name": "change",
3831
+ "inheritedFrom": {
3832
+ "name": "Accordion",
3833
+ "module": "src/accordion/accordion.ts"
3834
+ }
3835
+ }
3836
+ ]
3837
+ },
3838
+ {
3839
+ "kind": "variable",
3840
+ "name": "foundationAccordionShadowOptions",
3841
+ "type": {
3842
+ "text": "ShadowRootInit"
3875
3843
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3844
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3845
  },
3879
3846
  {
3880
3847
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3848
+ "name": "defaultAccordionConfig",
3849
+ "type": {
3850
+ "text": "object"
3851
+ },
3852
+ "default": "{}"
3853
+ },
3854
+ {
3855
+ "kind": "variable",
3856
+ "name": "foundationAccordion",
3857
+ "description": "The Foundation Accordion",
3858
+ "privacy": "public"
3882
3859
  }
3883
3860
  ],
3884
3861
  "exports": [
3885
3862
  {
3886
3863
  "kind": "js",
3887
- "name": "AiIndicator",
3864
+ "name": "Accordion",
3888
3865
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3866
+ "name": "Accordion",
3867
+ "module": "src/accordion/accordion.ts"
3891
3868
  }
3892
3869
  },
3893
3870
  {
3894
3871
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3872
+ "name": "foundationAccordionShadowOptions",
3896
3873
  "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3874
+ "name": "foundationAccordionShadowOptions",
3875
+ "module": "src/accordion/accordion.ts"
3876
+ }
3877
+ },
3878
+ {
3879
+ "kind": "js",
3880
+ "name": "defaultAccordionConfig",
3881
+ "declaration": {
3882
+ "name": "defaultAccordionConfig",
3883
+ "module": "src/accordion/accordion.ts"
3884
+ }
3885
+ },
3886
+ {
3887
+ "kind": "js",
3888
+ "name": "foundationAccordion",
3889
+ "declaration": {
3890
+ "name": "foundationAccordion",
3891
+ "module": "src/accordion/accordion.ts"
3899
3892
  }
3900
3893
  }
3901
3894
  ]
3902
3895
  },
3903
3896
  {
3904
3897
  "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3898
+ "path": "src/accordion/index.ts",
3906
3899
  "declarations": [],
3907
3900
  "exports": [
3908
3901
  {
3909
3902
  "kind": "js",
3910
- "name": "AiIndicator",
3903
+ "name": "*",
3911
3904
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3905
+ "name": "*",
3906
+ "package": "./accordion.template"
3914
3907
  }
3915
3908
  },
3916
3909
  {
3917
3910
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3911
+ "name": "*",
3919
3912
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "*",
3914
+ "package": "./accordion.styles"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "type",
3919
+ "name": "*",
3927
3920
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3921
+ "name": "*",
3922
+ "package": "./accordion"
3930
3923
  }
3931
- },
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/_config/index.ts",
3930
+ "declarations": [],
3931
+ "exports": [
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "AIIndicatorState",
3934
+ "name": "*",
3935
3935
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3936
+ "name": "*",
3937
+ "package": "./styles"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3944
+ "name": "*",
3945
+ "package": "./tokens"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3952
+ "name": "*",
3953
+ "package": "./values"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57711,6 +57711,197 @@
57711
57711
  }
57712
57712
  ]
57713
57713
  },
57714
+ {
57715
+ "kind": "javascript-module",
57716
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
+ "declarations": [],
57718
+ "exports": []
57719
+ },
57720
+ {
57721
+ "kind": "javascript-module",
57722
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
+ "declarations": [
57724
+ {
57725
+ "kind": "function",
57726
+ "name": "groupsToCriteria",
57727
+ "return": {
57728
+ "type": {
57729
+ "text": "string"
57730
+ }
57731
+ },
57732
+ "parameters": [
57733
+ {
57734
+ "name": "groups",
57735
+ "type": {
57736
+ "text": "CriteriaGroup[]"
57737
+ }
57738
+ }
57739
+ ],
57740
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57741
+ },
57742
+ {
57743
+ "kind": "variable",
57744
+ "name": "STRING_OPERATORS",
57745
+ "type": {
57746
+ "text": "CriteriaOperator[]"
57747
+ },
57748
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
+ },
57750
+ {
57751
+ "kind": "variable",
57752
+ "name": "NUMERIC_OPERATORS",
57753
+ "type": {
57754
+ "text": "CriteriaOperator[]"
57755
+ },
57756
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
+ },
57758
+ {
57759
+ "kind": "variable",
57760
+ "name": "DATE_OPERATORS",
57761
+ "type": {
57762
+ "text": "CriteriaOperator[]"
57763
+ },
57764
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
+ },
57766
+ {
57767
+ "kind": "variable",
57768
+ "name": "DATETIME_OPERATORS",
57769
+ "type": {
57770
+ "text": "CriteriaOperator[]"
57771
+ },
57772
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
+ },
57774
+ {
57775
+ "kind": "variable",
57776
+ "name": "OPERATOR_DISPLAY_LABEL",
57777
+ "type": {
57778
+ "text": "Record<CriteriaOperator, string>"
57779
+ },
57780
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57781
+ }
57782
+ ],
57783
+ "exports": [
57784
+ {
57785
+ "kind": "js",
57786
+ "name": "groupsToCriteria",
57787
+ "declaration": {
57788
+ "name": "groupsToCriteria",
57789
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
+ }
57791
+ },
57792
+ {
57793
+ "kind": "js",
57794
+ "name": "STRING_OPERATORS",
57795
+ "declaration": {
57796
+ "name": "STRING_OPERATORS",
57797
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
+ }
57799
+ },
57800
+ {
57801
+ "kind": "js",
57802
+ "name": "NUMERIC_OPERATORS",
57803
+ "declaration": {
57804
+ "name": "NUMERIC_OPERATORS",
57805
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
+ }
57807
+ },
57808
+ {
57809
+ "kind": "js",
57810
+ "name": "DATE_OPERATORS",
57811
+ "declaration": {
57812
+ "name": "DATE_OPERATORS",
57813
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
+ }
57815
+ },
57816
+ {
57817
+ "kind": "js",
57818
+ "name": "DATETIME_OPERATORS",
57819
+ "declaration": {
57820
+ "name": "DATETIME_OPERATORS",
57821
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
+ }
57823
+ },
57824
+ {
57825
+ "kind": "js",
57826
+ "name": "OPERATOR_DISPLAY_LABEL",
57827
+ "declaration": {
57828
+ "name": "OPERATOR_DISPLAY_LABEL",
57829
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
+ }
57831
+ }
57832
+ ]
57833
+ },
57834
+ {
57835
+ "kind": "javascript-module",
57836
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
+ "declarations": [
57838
+ {
57839
+ "kind": "function",
57840
+ "name": "validateClauses",
57841
+ "return": {
57842
+ "type": {
57843
+ "text": "ValidationResult"
57844
+ }
57845
+ },
57846
+ "parameters": [
57847
+ {
57848
+ "name": "clauses",
57849
+ "type": {
57850
+ "text": "CriteriaClause[]"
57851
+ }
57852
+ },
57853
+ {
57854
+ "name": "fieldMetadata",
57855
+ "type": {
57856
+ "text": "MetadataDetail[] | string[]"
57857
+ }
57858
+ }
57859
+ ]
57860
+ },
57861
+ {
57862
+ "kind": "function",
57863
+ "name": "validateGroups",
57864
+ "return": {
57865
+ "type": {
57866
+ "text": "GroupsValidationResult"
57867
+ }
57868
+ },
57869
+ "parameters": [
57870
+ {
57871
+ "name": "groups",
57872
+ "type": {
57873
+ "text": "CriteriaGroup[]"
57874
+ }
57875
+ },
57876
+ {
57877
+ "name": "fieldMetadata",
57878
+ "type": {
57879
+ "text": "MetadataDetail[] | string[]"
57880
+ }
57881
+ }
57882
+ ],
57883
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
+ }
57885
+ ],
57886
+ "exports": [
57887
+ {
57888
+ "kind": "js",
57889
+ "name": "validateClauses",
57890
+ "declaration": {
57891
+ "name": "validateClauses",
57892
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
+ }
57894
+ },
57895
+ {
57896
+ "kind": "js",
57897
+ "name": "validateGroups",
57898
+ "declaration": {
57899
+ "name": "validateGroups",
57900
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
+ }
57902
+ }
57903
+ ]
57904
+ },
57714
57905
  {
57715
57906
  "kind": "javascript-module",
57716
57907
  "path": "src/_config/styles/colors.ts",
@@ -59083,197 +59274,6 @@
59083
59274
  "declarations": [],
59084
59275
  "exports": []
59085
59276
  },
59086
- {
59087
- "kind": "javascript-module",
59088
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
- "declarations": [],
59090
- "exports": []
59091
- },
59092
- {
59093
- "kind": "javascript-module",
59094
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
- "declarations": [
59096
- {
59097
- "kind": "function",
59098
- "name": "groupsToCriteria",
59099
- "return": {
59100
- "type": {
59101
- "text": "string"
59102
- }
59103
- },
59104
- "parameters": [
59105
- {
59106
- "name": "groups",
59107
- "type": {
59108
- "text": "CriteriaGroup[]"
59109
- }
59110
- }
59111
- ],
59112
- "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."
59113
- },
59114
- {
59115
- "kind": "variable",
59116
- "name": "STRING_OPERATORS",
59117
- "type": {
59118
- "text": "CriteriaOperator[]"
59119
- },
59120
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
- },
59122
- {
59123
- "kind": "variable",
59124
- "name": "NUMERIC_OPERATORS",
59125
- "type": {
59126
- "text": "CriteriaOperator[]"
59127
- },
59128
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
- },
59130
- {
59131
- "kind": "variable",
59132
- "name": "DATE_OPERATORS",
59133
- "type": {
59134
- "text": "CriteriaOperator[]"
59135
- },
59136
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
- },
59138
- {
59139
- "kind": "variable",
59140
- "name": "DATETIME_OPERATORS",
59141
- "type": {
59142
- "text": "CriteriaOperator[]"
59143
- },
59144
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
- },
59146
- {
59147
- "kind": "variable",
59148
- "name": "OPERATOR_DISPLAY_LABEL",
59149
- "type": {
59150
- "text": "Record<CriteriaOperator, string>"
59151
- },
59152
- "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}"
59153
- }
59154
- ],
59155
- "exports": [
59156
- {
59157
- "kind": "js",
59158
- "name": "groupsToCriteria",
59159
- "declaration": {
59160
- "name": "groupsToCriteria",
59161
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
- }
59163
- },
59164
- {
59165
- "kind": "js",
59166
- "name": "STRING_OPERATORS",
59167
- "declaration": {
59168
- "name": "STRING_OPERATORS",
59169
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
- }
59171
- },
59172
- {
59173
- "kind": "js",
59174
- "name": "NUMERIC_OPERATORS",
59175
- "declaration": {
59176
- "name": "NUMERIC_OPERATORS",
59177
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
- }
59179
- },
59180
- {
59181
- "kind": "js",
59182
- "name": "DATE_OPERATORS",
59183
- "declaration": {
59184
- "name": "DATE_OPERATORS",
59185
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
- }
59187
- },
59188
- {
59189
- "kind": "js",
59190
- "name": "DATETIME_OPERATORS",
59191
- "declaration": {
59192
- "name": "DATETIME_OPERATORS",
59193
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
- }
59195
- },
59196
- {
59197
- "kind": "js",
59198
- "name": "OPERATOR_DISPLAY_LABEL",
59199
- "declaration": {
59200
- "name": "OPERATOR_DISPLAY_LABEL",
59201
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
- }
59203
- }
59204
- ]
59205
- },
59206
- {
59207
- "kind": "javascript-module",
59208
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
- "declarations": [
59210
- {
59211
- "kind": "function",
59212
- "name": "validateClauses",
59213
- "return": {
59214
- "type": {
59215
- "text": "ValidationResult"
59216
- }
59217
- },
59218
- "parameters": [
59219
- {
59220
- "name": "clauses",
59221
- "type": {
59222
- "text": "CriteriaClause[]"
59223
- }
59224
- },
59225
- {
59226
- "name": "fieldMetadata",
59227
- "type": {
59228
- "text": "MetadataDetail[] | string[]"
59229
- }
59230
- }
59231
- ]
59232
- },
59233
- {
59234
- "kind": "function",
59235
- "name": "validateGroups",
59236
- "return": {
59237
- "type": {
59238
- "text": "GroupsValidationResult"
59239
- }
59240
- },
59241
- "parameters": [
59242
- {
59243
- "name": "groups",
59244
- "type": {
59245
- "text": "CriteriaGroup[]"
59246
- }
59247
- },
59248
- {
59249
- "name": "fieldMetadata",
59250
- "type": {
59251
- "text": "MetadataDetail[] | string[]"
59252
- }
59253
- }
59254
- ],
59255
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
- }
59257
- ],
59258
- "exports": [
59259
- {
59260
- "kind": "js",
59261
- "name": "validateClauses",
59262
- "declaration": {
59263
- "name": "validateClauses",
59264
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
- }
59266
- },
59267
- {
59268
- "kind": "js",
59269
- "name": "validateGroups",
59270
- "declaration": {
59271
- "name": "validateGroups",
59272
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
- }
59274
- }
59275
- ]
59276
- },
59277
59277
  {
59278
59278
  "kind": "javascript-module",
59279
59279
  "path": "src/environment-indicator/utils/configure.ts",