@genesislcap/foundation-ui 15.23.0 → 15.23.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.
@@ -956,971 +956,6 @@
956
956
  }
957
957
  ]
958
958
  },
959
- {
960
- "kind": "javascript-module",
961
- "path": "src/accordion-item/accordion-item.styles.ts",
962
- "declarations": [
963
- {
964
- "kind": "function",
965
- "name": "foundationAccordionItemStyles",
966
- "return": {
967
- "type": {
968
- "text": "ElementStyles"
969
- }
970
- },
971
- "parameters": [
972
- {
973
- "name": "context",
974
- "type": {
975
- "text": "ElementDefinitionContext"
976
- }
977
- },
978
- {
979
- "name": "definition",
980
- "type": {
981
- "text": "FoundationElementDefinition"
982
- }
983
- }
984
- ]
985
- }
986
- ],
987
- "exports": [
988
- {
989
- "kind": "js",
990
- "name": "foundationAccordionItemStyles",
991
- "declaration": {
992
- "name": "foundationAccordionItemStyles",
993
- "module": "src/accordion-item/accordion-item.styles.ts"
994
- }
995
- }
996
- ]
997
- },
998
- {
999
- "kind": "javascript-module",
1000
- "path": "src/accordion-item/accordion-item.template.ts",
1001
- "declarations": [
1002
- {
1003
- "kind": "function",
1004
- "name": "foundationAccordionItemTemplate",
1005
- "return": {
1006
- "type": {
1007
- "text": "ViewTemplate<AccordionItem>"
1008
- }
1009
- },
1010
- "parameters": [
1011
- {
1012
- "name": "context",
1013
- "type": {
1014
- "text": "ElementDefinitionContext"
1015
- }
1016
- },
1017
- {
1018
- "name": "definition",
1019
- "type": {
1020
- "text": "FoundationElementDefinition"
1021
- }
1022
- }
1023
- ]
1024
- }
1025
- ],
1026
- "exports": [
1027
- {
1028
- "kind": "js",
1029
- "name": "foundationAccordionItemTemplate",
1030
- "declaration": {
1031
- "name": "foundationAccordionItemTemplate",
1032
- "module": "src/accordion-item/accordion-item.template.ts"
1033
- }
1034
- }
1035
- ]
1036
- },
1037
- {
1038
- "kind": "javascript-module",
1039
- "path": "src/accordion-item/accordion-item.ts",
1040
- "declarations": [
1041
- {
1042
- "kind": "class",
1043
- "description": "",
1044
- "name": "AccordionItem",
1045
- "superclass": {
1046
- "name": "FASTAccordionItem",
1047
- "package": "@microsoft/fast-components"
1048
- },
1049
- "tagName": "%%prefix%%-accordion-item",
1050
- "customElement": true,
1051
- "attributes": [
1052
- {
1053
- "name": "heading-level",
1054
- "type": {
1055
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1056
- },
1057
- "default": "2",
1058
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1059
- "fieldName": "headinglevel",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
- }
1064
- },
1065
- {
1066
- "type": {
1067
- "text": "boolean"
1068
- },
1069
- "default": "false",
1070
- "description": "Expands or collapses the item.",
1071
- "fieldName": "expanded",
1072
- "inheritedFrom": {
1073
- "name": "AccordionItem",
1074
- "module": "src/accordion-item/accordion-item.ts"
1075
- }
1076
- },
1077
- {
1078
- "name": "id",
1079
- "type": {
1080
- "text": "string"
1081
- },
1082
- "description": "The item ID",
1083
- "fieldName": "id",
1084
- "inheritedFrom": {
1085
- "name": "AccordionItem",
1086
- "module": "src/accordion-item/accordion-item.ts"
1087
- }
1088
- }
1089
- ],
1090
- "members": [
1091
- {
1092
- "kind": "field",
1093
- "name": "headinglevel",
1094
- "type": {
1095
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1096
- },
1097
- "privacy": "public",
1098
- "default": "2",
1099
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1100
- "inheritedFrom": {
1101
- "name": "AccordionItem",
1102
- "module": "src/accordion-item/accordion-item.ts"
1103
- }
1104
- },
1105
- {
1106
- "kind": "field",
1107
- "name": "expanded",
1108
- "type": {
1109
- "text": "boolean"
1110
- },
1111
- "privacy": "public",
1112
- "default": "false",
1113
- "description": "Expands or collapses the item.",
1114
- "inheritedFrom": {
1115
- "name": "AccordionItem",
1116
- "module": "src/accordion-item/accordion-item.ts"
1117
- }
1118
- },
1119
- {
1120
- "kind": "field",
1121
- "name": "id",
1122
- "type": {
1123
- "text": "string"
1124
- },
1125
- "privacy": "public",
1126
- "description": "The item ID",
1127
- "inheritedFrom": {
1128
- "name": "AccordionItem",
1129
- "module": "src/accordion-item/accordion-item.ts"
1130
- }
1131
- },
1132
- {
1133
- "kind": "field",
1134
- "name": "change",
1135
- "privacy": "private",
1136
- "inheritedFrom": {
1137
- "name": "AccordionItem",
1138
- "module": "src/accordion-item/accordion-item.ts"
1139
- }
1140
- },
1141
- {
1142
- "kind": "field",
1143
- "name": "_presentation",
1144
- "type": {
1145
- "text": "ComponentPresentation | null | undefined"
1146
- },
1147
- "privacy": "private",
1148
- "default": "void 0",
1149
- "inheritedFrom": {
1150
- "name": "FoundationElement",
1151
- "module": "src/foundation-element/foundation-element.ts"
1152
- }
1153
- },
1154
- {
1155
- "kind": "field",
1156
- "name": "$presentation",
1157
- "type": {
1158
- "text": "ComponentPresentation | null"
1159
- },
1160
- "privacy": "public",
1161
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1162
- "inheritedFrom": {
1163
- "name": "FoundationElement",
1164
- "module": "src/foundation-element/foundation-element.ts"
1165
- }
1166
- },
1167
- {
1168
- "kind": "field",
1169
- "name": "template",
1170
- "type": {
1171
- "text": "ElementViewTemplate | void | null"
1172
- },
1173
- "privacy": "public",
1174
- "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.",
1175
- "inheritedFrom": {
1176
- "name": "FoundationElement",
1177
- "module": "src/foundation-element/foundation-element.ts"
1178
- }
1179
- },
1180
- {
1181
- "kind": "method",
1182
- "name": "templateChanged",
1183
- "privacy": "protected",
1184
- "return": {
1185
- "type": {
1186
- "text": "void"
1187
- }
1188
- },
1189
- "inheritedFrom": {
1190
- "name": "FoundationElement",
1191
- "module": "src/foundation-element/foundation-element.ts"
1192
- }
1193
- },
1194
- {
1195
- "kind": "field",
1196
- "name": "styles",
1197
- "type": {
1198
- "text": "ElementStyles | void | null"
1199
- },
1200
- "privacy": "public",
1201
- "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.",
1202
- "inheritedFrom": {
1203
- "name": "FoundationElement",
1204
- "module": "src/foundation-element/foundation-element.ts"
1205
- }
1206
- },
1207
- {
1208
- "kind": "method",
1209
- "name": "stylesChanged",
1210
- "privacy": "protected",
1211
- "return": {
1212
- "type": {
1213
- "text": "void"
1214
- }
1215
- },
1216
- "inheritedFrom": {
1217
- "name": "FoundationElement",
1218
- "module": "src/foundation-element/foundation-element.ts"
1219
- }
1220
- },
1221
- {
1222
- "kind": "method",
1223
- "name": "compose",
1224
- "privacy": "public",
1225
- "static": true,
1226
- "return": {
1227
- "type": {
1228
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1229
- }
1230
- },
1231
- "parameters": [
1232
- {
1233
- "name": "this",
1234
- "type": {
1235
- "text": "K"
1236
- }
1237
- },
1238
- {
1239
- "name": "elementDefinition",
1240
- "type": {
1241
- "text": "T"
1242
- },
1243
- "description": "The definition of the element to create the registry\nfunction for."
1244
- }
1245
- ],
1246
- "description": "Defines an element registry function with a set of element definition defaults.",
1247
- "inheritedFrom": {
1248
- "name": "FoundationElement",
1249
- "module": "src/foundation-element/foundation-element.ts"
1250
- }
1251
- }
1252
- ],
1253
- "events": [
1254
- {
1255
- "description": "Fires a custom 'change' event when the button is invoked",
1256
- "name": "change",
1257
- "inheritedFrom": {
1258
- "name": "AccordionItem",
1259
- "module": "src/accordion-item/accordion-item.ts"
1260
- }
1261
- }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "variable",
1266
- "name": "foundationAccordionItemShadowOptions",
1267
- "type": {
1268
- "text": "ShadowRootInit"
1269
- },
1270
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1271
- },
1272
- {
1273
- "kind": "variable",
1274
- "name": "defaultAccordionItemConfig",
1275
- "type": {
1276
- "text": "object"
1277
- },
1278
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1279
- },
1280
- {
1281
- "kind": "variable",
1282
- "name": "foundationAccordionItem",
1283
- "description": "The Foundation Accordion Item",
1284
- "privacy": "public"
1285
- }
1286
- ],
1287
- "exports": [
1288
- {
1289
- "kind": "js",
1290
- "name": "AccordionItem",
1291
- "declaration": {
1292
- "name": "AccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1294
- }
1295
- },
1296
- {
1297
- "kind": "js",
1298
- "name": "foundationAccordionItemShadowOptions",
1299
- "declaration": {
1300
- "name": "foundationAccordionItemShadowOptions",
1301
- "module": "src/accordion-item/accordion-item.ts"
1302
- }
1303
- },
1304
- {
1305
- "kind": "js",
1306
- "name": "defaultAccordionItemConfig",
1307
- "declaration": {
1308
- "name": "defaultAccordionItemConfig",
1309
- "module": "src/accordion-item/accordion-item.ts"
1310
- }
1311
- },
1312
- {
1313
- "kind": "js",
1314
- "name": "foundationAccordionItem",
1315
- "declaration": {
1316
- "name": "foundationAccordionItem",
1317
- "module": "src/accordion-item/accordion-item.ts"
1318
- }
1319
- }
1320
- ]
1321
- },
1322
- {
1323
- "kind": "javascript-module",
1324
- "path": "src/accordion-item/index.ts",
1325
- "declarations": [],
1326
- "exports": [
1327
- {
1328
- "kind": "js",
1329
- "name": "*",
1330
- "declaration": {
1331
- "name": "*",
1332
- "package": "./accordion-item.template"
1333
- }
1334
- },
1335
- {
1336
- "kind": "js",
1337
- "name": "*",
1338
- "declaration": {
1339
- "name": "*",
1340
- "package": "./accordion-item.styles"
1341
- }
1342
- },
1343
- {
1344
- "kind": "js",
1345
- "name": "*",
1346
- "declaration": {
1347
- "name": "*",
1348
- "package": "./accordion-item"
1349
- }
1350
- }
1351
- ]
1352
- },
1353
- {
1354
- "kind": "javascript-module",
1355
- "path": "src/actions-menu/actions-menu.styles.ts",
1356
- "declarations": [
1357
- {
1358
- "kind": "function",
1359
- "name": "actionsMenuBaseStyles",
1360
- "return": {
1361
- "type": {
1362
- "text": "ElementStyles"
1363
- }
1364
- },
1365
- "parameters": [
1366
- {
1367
- "name": "context",
1368
- "type": {
1369
- "text": "ElementDefinitionContext"
1370
- }
1371
- },
1372
- {
1373
- "name": "definition",
1374
- "type": {
1375
- "text": "FoundationElementDefinition"
1376
- }
1377
- }
1378
- ]
1379
- },
1380
- {
1381
- "kind": "function",
1382
- "name": "foundationActionsMenuStyles",
1383
- "return": {
1384
- "type": {
1385
- "text": "ElementStyles"
1386
- }
1387
- },
1388
- "parameters": [
1389
- {
1390
- "name": "context",
1391
- "type": {
1392
- "text": "ElementDefinitionContext"
1393
- }
1394
- },
1395
- {
1396
- "name": "definition",
1397
- "type": {
1398
- "text": "FoundationElementDefinition"
1399
- }
1400
- }
1401
- ]
1402
- }
1403
- ],
1404
- "exports": [
1405
- {
1406
- "kind": "js",
1407
- "name": "actionsMenuBaseStyles",
1408
- "declaration": {
1409
- "name": "actionsMenuBaseStyles",
1410
- "module": "src/actions-menu/actions-menu.styles.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "js",
1415
- "name": "foundationActionsMenuStyles",
1416
- "declaration": {
1417
- "name": "foundationActionsMenuStyles",
1418
- "module": "src/actions-menu/actions-menu.styles.ts"
1419
- }
1420
- }
1421
- ]
1422
- },
1423
- {
1424
- "kind": "javascript-module",
1425
- "path": "src/actions-menu/actions-menu.template.ts",
1426
- "declarations": [
1427
- {
1428
- "kind": "function",
1429
- "name": "menuTemplate",
1430
- "parameters": [
1431
- {
1432
- "name": "prefix",
1433
- "type": {
1434
- "text": "string"
1435
- }
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "kind": "function",
1441
- "name": "singleOptionTemplate",
1442
- "parameters": [
1443
- {
1444
- "name": "prefix",
1445
- "type": {
1446
- "text": "string"
1447
- }
1448
- }
1449
- ]
1450
- },
1451
- {
1452
- "kind": "variable",
1453
- "name": "foundationActionsMenuTemplate",
1454
- "type": {
1455
- "text": "ViewTemplate<ActionsMenu>"
1456
- },
1457
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1458
- }
1459
- ],
1460
- "exports": [
1461
- {
1462
- "kind": "js",
1463
- "name": "menuTemplate",
1464
- "declaration": {
1465
- "name": "menuTemplate",
1466
- "module": "src/actions-menu/actions-menu.template.ts"
1467
- }
1468
- },
1469
- {
1470
- "kind": "js",
1471
- "name": "singleOptionTemplate",
1472
- "declaration": {
1473
- "name": "singleOptionTemplate",
1474
- "module": "src/actions-menu/actions-menu.template.ts"
1475
- }
1476
- },
1477
- {
1478
- "kind": "js",
1479
- "name": "foundationActionsMenuTemplate",
1480
- "declaration": {
1481
- "name": "foundationActionsMenuTemplate",
1482
- "module": "src/actions-menu/actions-menu.template.ts"
1483
- }
1484
- }
1485
- ]
1486
- },
1487
- {
1488
- "kind": "javascript-module",
1489
- "path": "src/actions-menu/actions-menu.ts",
1490
- "declarations": [
1491
- {
1492
- "kind": "class",
1493
- "description": "",
1494
- "name": "ActionsMenu",
1495
- "members": [
1496
- {
1497
- "kind": "field",
1498
- "name": "actions",
1499
- "type": {
1500
- "text": "ActionMenuItem[]"
1501
- }
1502
- },
1503
- {
1504
- "kind": "field",
1505
- "name": "isVertical",
1506
- "type": {
1507
- "text": "boolean"
1508
- },
1509
- "default": "false"
1510
- },
1511
- {
1512
- "kind": "field",
1513
- "name": "addDefaultActions",
1514
- "type": {
1515
- "text": "boolean"
1516
- },
1517
- "default": "true"
1518
- },
1519
- {
1520
- "kind": "field",
1521
- "name": "autoCloseOnAction",
1522
- "type": {
1523
- "text": "boolean"
1524
- },
1525
- "default": "true"
1526
- },
1527
- {
1528
- "kind": "field",
1529
- "name": "classNames",
1530
- "type": {
1531
- "text": "string"
1532
- }
1533
- },
1534
- {
1535
- "kind": "field",
1536
- "name": "definition",
1537
- "type": {
1538
- "text": "any"
1539
- }
1540
- },
1541
- {
1542
- "kind": "field",
1543
- "name": "name",
1544
- "type": {
1545
- "text": "string"
1546
- },
1547
- "default": "'Actions'"
1548
- },
1549
- {
1550
- "kind": "field",
1551
- "name": "open",
1552
- "type": {
1553
- "text": "boolean"
1554
- },
1555
- "default": "false"
1556
- },
1557
- {
1558
- "kind": "field",
1559
- "name": "buttonAppearance",
1560
- "type": {
1561
- "text": "string"
1562
- }
1563
- },
1564
- {
1565
- "kind": "field",
1566
- "name": "hideDisabled",
1567
- "type": {
1568
- "text": "boolean"
1569
- },
1570
- "default": "false"
1571
- },
1572
- {
1573
- "kind": "field",
1574
- "name": "hideMenuSingleOption",
1575
- "type": {
1576
- "text": "boolean"
1577
- },
1578
- "default": "false"
1579
- },
1580
- {
1581
- "kind": "field",
1582
- "name": "singleOption",
1583
- "type": {
1584
- "text": "ActionMenuItem"
1585
- }
1586
- },
1587
- {
1588
- "kind": "field",
1589
- "name": "actionsMenu",
1590
- "type": {
1591
- "text": "HTMLElement"
1592
- }
1593
- },
1594
- {
1595
- "kind": "field",
1596
- "name": "actionsOpener",
1597
- "type": {
1598
- "text": "HTMLElement"
1599
- }
1600
- },
1601
- {
1602
- "kind": "method",
1603
- "name": "updateMenuPosition",
1604
- "privacy": "private"
1605
- },
1606
- {
1607
- "kind": "method",
1608
- "name": "definitionChanged",
1609
- "privacy": "protected",
1610
- "parameters": [
1611
- {
1612
- "name": "oldValue",
1613
- "type": {
1614
- "text": "any"
1615
- }
1616
- },
1617
- {
1618
- "name": "newValue",
1619
- "type": {
1620
- "text": "any"
1621
- }
1622
- }
1623
- ]
1624
- },
1625
- {
1626
- "kind": "method",
1627
- "name": "openChanged",
1628
- "privacy": "protected"
1629
- },
1630
- {
1631
- "kind": "method",
1632
- "name": "toggleActionsMenuVisibility"
1633
- },
1634
- {
1635
- "kind": "method",
1636
- "name": "onActionMenuItemClick",
1637
- "parameters": [
1638
- {
1639
- "name": "callback",
1640
- "type": {
1641
- "text": "(rowData) => void | any"
1642
- }
1643
- }
1644
- ]
1645
- },
1646
- {
1647
- "kind": "field",
1648
- "name": "allActions",
1649
- "type": {
1650
- "text": "ActionMenuItem[]"
1651
- },
1652
- "readonly": true
1653
- },
1654
- {
1655
- "kind": "field",
1656
- "name": "rowData",
1657
- "readonly": true
1658
- },
1659
- {
1660
- "kind": "method",
1661
- "name": "getLabel",
1662
- "parameters": [
1663
- {
1664
- "name": "name",
1665
- "type": {
1666
- "text": "string | ((rowData: any) => string)"
1667
- }
1668
- }
1669
- ]
1670
- },
1671
- {
1672
- "kind": "method",
1673
- "name": "getTemplate",
1674
- "parameters": [
1675
- {
1676
- "name": "prefix",
1677
- "type": {
1678
- "text": "string"
1679
- }
1680
- }
1681
- ]
1682
- },
1683
- {
1684
- "kind": "field",
1685
- "name": "_presentation",
1686
- "type": {
1687
- "text": "ComponentPresentation | null | undefined"
1688
- },
1689
- "privacy": "private",
1690
- "default": "void 0",
1691
- "inheritedFrom": {
1692
- "name": "FoundationElement",
1693
- "module": "src/foundation-element/foundation-element.ts"
1694
- }
1695
- },
1696
- {
1697
- "kind": "field",
1698
- "name": "$presentation",
1699
- "type": {
1700
- "text": "ComponentPresentation | null"
1701
- },
1702
- "privacy": "public",
1703
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1704
- "inheritedFrom": {
1705
- "name": "FoundationElement",
1706
- "module": "src/foundation-element/foundation-element.ts"
1707
- }
1708
- },
1709
- {
1710
- "kind": "field",
1711
- "name": "template",
1712
- "type": {
1713
- "text": "ElementViewTemplate | void | null"
1714
- },
1715
- "privacy": "public",
1716
- "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.",
1717
- "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1720
- }
1721
- },
1722
- {
1723
- "kind": "method",
1724
- "name": "templateChanged",
1725
- "privacy": "protected",
1726
- "return": {
1727
- "type": {
1728
- "text": "void"
1729
- }
1730
- },
1731
- "inheritedFrom": {
1732
- "name": "FoundationElement",
1733
- "module": "src/foundation-element/foundation-element.ts"
1734
- }
1735
- },
1736
- {
1737
- "kind": "field",
1738
- "name": "styles",
1739
- "type": {
1740
- "text": "ElementStyles | void | null"
1741
- },
1742
- "privacy": "public",
1743
- "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.",
1744
- "inheritedFrom": {
1745
- "name": "FoundationElement",
1746
- "module": "src/foundation-element/foundation-element.ts"
1747
- }
1748
- },
1749
- {
1750
- "kind": "method",
1751
- "name": "stylesChanged",
1752
- "privacy": "protected",
1753
- "return": {
1754
- "type": {
1755
- "text": "void"
1756
- }
1757
- },
1758
- "inheritedFrom": {
1759
- "name": "FoundationElement",
1760
- "module": "src/foundation-element/foundation-element.ts"
1761
- }
1762
- },
1763
- {
1764
- "kind": "method",
1765
- "name": "compose",
1766
- "privacy": "public",
1767
- "static": true,
1768
- "return": {
1769
- "type": {
1770
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1771
- }
1772
- },
1773
- "parameters": [
1774
- {
1775
- "name": "this",
1776
- "type": {
1777
- "text": "K"
1778
- }
1779
- },
1780
- {
1781
- "name": "elementDefinition",
1782
- "type": {
1783
- "text": "T"
1784
- },
1785
- "description": "The definition of the element to create the registry\nfunction for."
1786
- }
1787
- ],
1788
- "description": "Defines an element registry function with a set of element definition defaults.",
1789
- "inheritedFrom": {
1790
- "name": "FoundationElement",
1791
- "module": "src/foundation-element/foundation-element.ts"
1792
- }
1793
- }
1794
- ],
1795
- "attributes": [
1796
- {
1797
- "name": "is-vertical",
1798
- "type": {
1799
- "text": "boolean"
1800
- },
1801
- "default": "false",
1802
- "fieldName": "isVertical"
1803
- },
1804
- {
1805
- "name": "add-default-actions",
1806
- "type": {
1807
- "text": "boolean"
1808
- },
1809
- "default": "true",
1810
- "fieldName": "addDefaultActions"
1811
- },
1812
- {
1813
- "name": "auto-close-on-action",
1814
- "type": {
1815
- "text": "boolean"
1816
- },
1817
- "default": "true",
1818
- "fieldName": "autoCloseOnAction"
1819
- },
1820
- {
1821
- "name": "name",
1822
- "type": {
1823
- "text": "string"
1824
- },
1825
- "default": "'Actions'",
1826
- "fieldName": "name"
1827
- },
1828
- {
1829
- "name": "open",
1830
- "type": {
1831
- "text": "boolean"
1832
- },
1833
- "default": "false",
1834
- "fieldName": "open"
1835
- },
1836
- {
1837
- "name": "buttonAppearance",
1838
- "type": {
1839
- "text": "string"
1840
- },
1841
- "fieldName": "buttonAppearance"
1842
- },
1843
- {
1844
- "name": "hide-disabled",
1845
- "type": {
1846
- "text": "boolean"
1847
- },
1848
- "default": "false",
1849
- "fieldName": "hideDisabled"
1850
- },
1851
- {
1852
- "name": "hide-menu-single-option",
1853
- "type": {
1854
- "text": "boolean"
1855
- },
1856
- "default": "false",
1857
- "fieldName": "hideMenuSingleOption"
1858
- }
1859
- ],
1860
- "superclass": {
1861
- "name": "FoundationElement",
1862
- "package": "@microsoft/fast-foundation"
1863
- },
1864
- "tagName": "%%prefix%%-actions-menu",
1865
- "customElement": true
1866
- },
1867
- {
1868
- "kind": "variable",
1869
- "name": "foundationActionsMenu",
1870
- "description": "The Foundation Actions Menu",
1871
- "privacy": "public"
1872
- }
1873
- ],
1874
- "exports": [
1875
- {
1876
- "kind": "js",
1877
- "name": "ActionsMenu",
1878
- "declaration": {
1879
- "name": "ActionsMenu",
1880
- "module": "src/actions-menu/actions-menu.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "js",
1885
- "name": "foundationActionsMenu",
1886
- "declaration": {
1887
- "name": "foundationActionsMenu",
1888
- "module": "src/actions-menu/actions-menu.ts"
1889
- }
1890
- }
1891
- ]
1892
- },
1893
- {
1894
- "kind": "javascript-module",
1895
- "path": "src/actions-menu/index.ts",
1896
- "declarations": [],
1897
- "exports": [
1898
- {
1899
- "kind": "js",
1900
- "name": "*",
1901
- "declaration": {
1902
- "name": "*",
1903
- "package": "./actions-menu.styles"
1904
- }
1905
- },
1906
- {
1907
- "kind": "js",
1908
- "name": "*",
1909
- "declaration": {
1910
- "name": "*",
1911
- "package": "./actions-menu.template"
1912
- }
1913
- },
1914
- {
1915
- "kind": "js",
1916
- "name": "*",
1917
- "declaration": {
1918
- "name": "*",
1919
- "package": "./actions-menu"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
959
  {
1925
960
  "kind": "javascript-module",
1926
961
  "path": "src/_common/affix-mixin.ts",
@@ -2458,6 +1493,431 @@
2458
1493
  }
2459
1494
  ]
2460
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
+ "declarations": [
1500
+ {
1501
+ "kind": "function",
1502
+ "name": "foundationAccordionItemStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1522
+ }
1523
+ ],
1524
+ "exports": [
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationAccordionItemStyles",
1528
+ "declaration": {
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
+ }
1532
+ }
1533
+ ]
1534
+ },
1535
+ {
1536
+ "kind": "javascript-module",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
+ "declarations": [
1539
+ {
1540
+ "kind": "function",
1541
+ "name": "foundationAccordionItemTemplate",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "ViewTemplate<AccordionItem>"
1545
+ }
1546
+ },
1547
+ "parameters": [
1548
+ {
1549
+ "name": "context",
1550
+ "type": {
1551
+ "text": "ElementDefinitionContext"
1552
+ }
1553
+ },
1554
+ {
1555
+ "name": "definition",
1556
+ "type": {
1557
+ "text": "FoundationElementDefinition"
1558
+ }
1559
+ }
1560
+ ]
1561
+ }
1562
+ ],
1563
+ "exports": [
1564
+ {
1565
+ "kind": "js",
1566
+ "name": "foundationAccordionItemTemplate",
1567
+ "declaration": {
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
+ }
1571
+ }
1572
+ ]
1573
+ },
1574
+ {
1575
+ "kind": "javascript-module",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1577
+ "declarations": [
1578
+ {
1579
+ "kind": "class",
1580
+ "description": "",
1581
+ "name": "AccordionItem",
1582
+ "superclass": {
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1585
+ },
1586
+ "tagName": "%%prefix%%-accordion-item",
1587
+ "customElement": true,
1588
+ "attributes": [
1589
+ {
1590
+ "name": "heading-level",
1591
+ "type": {
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
+ },
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1597
+ "inheritedFrom": {
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1601
+ },
1602
+ {
1603
+ "type": {
1604
+ "text": "boolean"
1605
+ },
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "id",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1621
+ "inheritedFrom": {
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1624
+ }
1625
+ }
1626
+ ],
1627
+ "members": [
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "headinglevel",
1631
+ "type": {
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1633
+ },
1634
+ "privacy": "public",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1637
+ "inheritedFrom": {
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1647
+ },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1651
+ "inheritedFrom": {
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1654
+ }
1655
+ },
1656
+ {
1657
+ "kind": "field",
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1661
+ },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1664
+ "inheritedFrom": {
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1667
+ }
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "change",
1672
+ "privacy": "private",
1673
+ "inheritedFrom": {
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "field",
1680
+ "name": "_presentation",
1681
+ "type": {
1682
+ "text": "ComponentPresentation | null | undefined"
1683
+ },
1684
+ "privacy": "private",
1685
+ "default": "void 0",
1686
+ "inheritedFrom": {
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1689
+ }
1690
+ },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "$presentation",
1694
+ "type": {
1695
+ "text": "ComponentPresentation | null"
1696
+ },
1697
+ "privacy": "public",
1698
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1699
+ "inheritedFrom": {
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1702
+ }
1703
+ },
1704
+ {
1705
+ "kind": "field",
1706
+ "name": "template",
1707
+ "type": {
1708
+ "text": "ElementViewTemplate | void | null"
1709
+ },
1710
+ "privacy": "public",
1711
+ "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.",
1712
+ "inheritedFrom": {
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1715
+ }
1716
+ },
1717
+ {
1718
+ "kind": "method",
1719
+ "name": "templateChanged",
1720
+ "privacy": "protected",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "void"
1724
+ }
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "FoundationElement",
1728
+ "module": "src/foundation-element/foundation-element.ts"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "styles",
1734
+ "type": {
1735
+ "text": "ElementStyles | void | null"
1736
+ },
1737
+ "privacy": "public",
1738
+ "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.",
1739
+ "inheritedFrom": {
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "stylesChanged",
1747
+ "privacy": "protected",
1748
+ "return": {
1749
+ "type": {
1750
+ "text": "void"
1751
+ }
1752
+ },
1753
+ "inheritedFrom": {
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1756
+ }
1757
+ },
1758
+ {
1759
+ "kind": "method",
1760
+ "name": "compose",
1761
+ "privacy": "public",
1762
+ "static": true,
1763
+ "return": {
1764
+ "type": {
1765
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1766
+ }
1767
+ },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "this",
1771
+ "type": {
1772
+ "text": "K"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "elementDefinition",
1777
+ "type": {
1778
+ "text": "T"
1779
+ },
1780
+ "description": "The definition of the element to create the registry\nfunction for."
1781
+ }
1782
+ ],
1783
+ "description": "Defines an element registry function with a set of element definition defaults.",
1784
+ "inheritedFrom": {
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1787
+ }
1788
+ }
1789
+ ],
1790
+ "events": [
1791
+ {
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1793
+ "name": "change",
1794
+ "inheritedFrom": {
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1797
+ }
1798
+ }
1799
+ ]
1800
+ },
1801
+ {
1802
+ "kind": "variable",
1803
+ "name": "foundationAccordionItemShadowOptions",
1804
+ "type": {
1805
+ "text": "ShadowRootInit"
1806
+ },
1807
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1808
+ },
1809
+ {
1810
+ "kind": "variable",
1811
+ "name": "defaultAccordionItemConfig",
1812
+ "type": {
1813
+ "text": "object"
1814
+ },
1815
+ "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}"
1816
+ },
1817
+ {
1818
+ "kind": "variable",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1821
+ "privacy": "public"
1822
+ }
1823
+ ],
1824
+ "exports": [
1825
+ {
1826
+ "kind": "js",
1827
+ "name": "AccordionItem",
1828
+ "declaration": {
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1831
+ }
1832
+ },
1833
+ {
1834
+ "kind": "js",
1835
+ "name": "foundationAccordionItemShadowOptions",
1836
+ "declaration": {
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1839
+ }
1840
+ },
1841
+ {
1842
+ "kind": "js",
1843
+ "name": "defaultAccordionItemConfig",
1844
+ "declaration": {
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1847
+ }
1848
+ },
1849
+ {
1850
+ "kind": "js",
1851
+ "name": "foundationAccordionItem",
1852
+ "declaration": {
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
1855
+ }
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "kind": "javascript-module",
1861
+ "path": "src/accordion-item/index.ts",
1862
+ "declarations": [],
1863
+ "exports": [
1864
+ {
1865
+ "kind": "js",
1866
+ "name": "*",
1867
+ "declaration": {
1868
+ "name": "*",
1869
+ "package": "./accordion-item.template"
1870
+ }
1871
+ },
1872
+ {
1873
+ "kind": "js",
1874
+ "name": "*",
1875
+ "declaration": {
1876
+ "name": "*",
1877
+ "package": "./accordion-item.styles"
1878
+ }
1879
+ },
1880
+ {
1881
+ "kind": "js",
1882
+ "name": "*",
1883
+ "declaration": {
1884
+ "name": "*",
1885
+ "package": "./accordion-item"
1886
+ }
1887
+ }
1888
+ ]
1889
+ },
1890
+ {
1891
+ "kind": "javascript-module",
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "*",
1906
+ "declaration": {
1907
+ "name": "*",
1908
+ "package": "./tokens"
1909
+ }
1910
+ },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "*",
1914
+ "declaration": {
1915
+ "name": "*",
1916
+ "package": "./values"
1917
+ }
1918
+ }
1919
+ ]
1920
+ },
2461
1921
  {
2462
1922
  "kind": "javascript-module",
2463
1923
  "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
@@ -3069,11 +2529,34 @@
3069
2529
  },
3070
2530
  {
3071
2531
  "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2532
+ "path": "src/actions-menu/actions-menu.styles.ts",
3073
2533
  "declarations": [
3074
2534
  {
3075
2535
  "kind": "function",
3076
- "name": "foundationAiIndicatorStyles",
2536
+ "name": "actionsMenuBaseStyles",
2537
+ "return": {
2538
+ "type": {
2539
+ "text": "ElementStyles"
2540
+ }
2541
+ },
2542
+ "parameters": [
2543
+ {
2544
+ "name": "context",
2545
+ "type": {
2546
+ "text": "ElementDefinitionContext"
2547
+ }
2548
+ },
2549
+ {
2550
+ "name": "definition",
2551
+ "type": {
2552
+ "text": "FoundationElementDefinition"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "function",
2559
+ "name": "foundationActionsMenuStyles",
3077
2560
  "return": {
3078
2561
  "type": {
3079
2562
  "text": "ElementStyles"
@@ -3098,225 +2581,281 @@
3098
2581
  "exports": [
3099
2582
  {
3100
2583
  "kind": "js",
3101
- "name": "foundationAiIndicatorStyles",
2584
+ "name": "actionsMenuBaseStyles",
3102
2585
  "declaration": {
3103
- "name": "foundationAiIndicatorStyles",
3104
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2586
+ "name": "actionsMenuBaseStyles",
2587
+ "module": "src/actions-menu/actions-menu.styles.ts"
2588
+ }
2589
+ },
2590
+ {
2591
+ "kind": "js",
2592
+ "name": "foundationActionsMenuStyles",
2593
+ "declaration": {
2594
+ "name": "foundationActionsMenuStyles",
2595
+ "module": "src/actions-menu/actions-menu.styles.ts"
3105
2596
  }
3106
2597
  }
3107
2598
  ]
3108
2599
  },
3109
2600
  {
3110
2601
  "kind": "javascript-module",
3111
- "path": "src/ai-indicator/ai-indicator.template.ts",
2602
+ "path": "src/actions-menu/actions-menu.template.ts",
3112
2603
  "declarations": [
2604
+ {
2605
+ "kind": "function",
2606
+ "name": "menuTemplate",
2607
+ "parameters": [
2608
+ {
2609
+ "name": "prefix",
2610
+ "type": {
2611
+ "text": "string"
2612
+ }
2613
+ }
2614
+ ]
2615
+ },
2616
+ {
2617
+ "kind": "function",
2618
+ "name": "singleOptionTemplate",
2619
+ "parameters": [
2620
+ {
2621
+ "name": "prefix",
2622
+ "type": {
2623
+ "text": "string"
2624
+ }
2625
+ }
2626
+ ]
2627
+ },
3113
2628
  {
3114
2629
  "kind": "variable",
3115
- "name": "foundationAiIndicatorTemplate",
2630
+ "name": "foundationActionsMenuTemplate",
3116
2631
  "type": {
3117
- "text": "ViewTemplate<AiIndicator>"
2632
+ "text": "ViewTemplate<ActionsMenu>"
3118
2633
  },
3119
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2634
+ "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`"
3120
2635
  }
3121
2636
  ],
3122
2637
  "exports": [
3123
2638
  {
3124
2639
  "kind": "js",
3125
- "name": "foundationAiIndicatorTemplate",
2640
+ "name": "menuTemplate",
3126
2641
  "declaration": {
3127
- "name": "foundationAiIndicatorTemplate",
3128
- "module": "src/ai-indicator/ai-indicator.template.ts"
2642
+ "name": "menuTemplate",
2643
+ "module": "src/actions-menu/actions-menu.template.ts"
2644
+ }
2645
+ },
2646
+ {
2647
+ "kind": "js",
2648
+ "name": "singleOptionTemplate",
2649
+ "declaration": {
2650
+ "name": "singleOptionTemplate",
2651
+ "module": "src/actions-menu/actions-menu.template.ts"
2652
+ }
2653
+ },
2654
+ {
2655
+ "kind": "js",
2656
+ "name": "foundationActionsMenuTemplate",
2657
+ "declaration": {
2658
+ "name": "foundationActionsMenuTemplate",
2659
+ "module": "src/actions-menu/actions-menu.template.ts"
3129
2660
  }
3130
2661
  }
3131
2662
  ]
3132
2663
  },
3133
2664
  {
3134
2665
  "kind": "javascript-module",
3135
- "path": "src/ai-indicator/ai-indicator.ts",
2666
+ "path": "src/actions-menu/actions-menu.ts",
3136
2667
  "declarations": [
3137
2668
  {
3138
2669
  "kind": "class",
3139
2670
  "description": "",
3140
- "name": "AiIndicator",
2671
+ "name": "ActionsMenu",
3141
2672
  "members": [
3142
2673
  {
3143
2674
  "kind": "field",
3144
- "name": "providerRegistry",
2675
+ "name": "actions",
3145
2676
  "type": {
3146
- "text": "AIProviderRegistry"
2677
+ "text": "ActionMenuItem[]"
3147
2678
  }
3148
2679
  },
3149
2680
  {
3150
2681
  "kind": "field",
3151
- "name": "aiProvider",
2682
+ "name": "isVertical",
3152
2683
  "type": {
3153
- "text": "AIProvider | undefined"
2684
+ "text": "boolean"
3154
2685
  },
3155
- "privacy": "private",
3156
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3157
- "readonly": true
2686
+ "default": "false"
3158
2687
  },
3159
2688
  {
3160
2689
  "kind": "field",
3161
- "name": "status",
2690
+ "name": "addDefaultActions",
3162
2691
  "type": {
3163
- "text": "AIStatus | null"
2692
+ "text": "boolean"
3164
2693
  },
3165
- "default": "null"
2694
+ "default": "true"
3166
2695
  },
3167
2696
  {
3168
2697
  "kind": "field",
3169
- "name": "open",
2698
+ "name": "autoCloseOnAction",
3170
2699
  "type": {
3171
2700
  "text": "boolean"
3172
2701
  },
3173
- "default": "false"
2702
+ "default": "true"
3174
2703
  },
3175
2704
  {
3176
2705
  "kind": "field",
3177
- "name": "state",
2706
+ "name": "classNames",
3178
2707
  "type": {
3179
- "text": "AIIndicatorState"
3180
- },
3181
- "default": "'none'"
2708
+ "text": "string"
2709
+ }
3182
2710
  },
3183
2711
  {
3184
2712
  "kind": "field",
3185
- "name": "isInstalling",
2713
+ "name": "definition",
3186
2714
  "type": {
3187
- "text": "boolean"
3188
- },
3189
- "default": "false"
2715
+ "text": "any"
2716
+ }
3190
2717
  },
3191
2718
  {
3192
2719
  "kind": "field",
3193
- "name": "pollTimer",
2720
+ "name": "name",
3194
2721
  "type": {
3195
- "text": "ReturnType<typeof setInterval> | null"
2722
+ "text": "string"
3196
2723
  },
3197
- "privacy": "private",
3198
- "default": "null"
2724
+ "default": "'Actions'"
3199
2725
  },
3200
2726
  {
3201
2727
  "kind": "field",
3202
- "name": "clickOutside",
3203
- "privacy": "private"
2728
+ "name": "open",
2729
+ "type": {
2730
+ "text": "boolean"
2731
+ },
2732
+ "default": "false"
3204
2733
  },
3205
2734
  {
3206
2735
  "kind": "field",
3207
- "name": "chromeStatusLabel",
2736
+ "name": "buttonAppearance",
3208
2737
  "type": {
3209
- "text": "string | null"
3210
- },
3211
- "readonly": true
2738
+ "text": "string"
2739
+ }
3212
2740
  },
3213
2741
  {
3214
2742
  "kind": "field",
3215
- "name": "canInstall",
2743
+ "name": "hideDisabled",
3216
2744
  "type": {
3217
2745
  "text": "boolean"
3218
2746
  },
3219
- "readonly": true
2747
+ "default": "false"
3220
2748
  },
3221
2749
  {
3222
2750
  "kind": "field",
3223
- "name": "isDownloading",
2751
+ "name": "hideMenuSingleOption",
3224
2752
  "type": {
3225
2753
  "text": "boolean"
3226
2754
  },
3227
- "readonly": true
2755
+ "default": "false"
3228
2756
  },
3229
2757
  {
3230
- "kind": "method",
3231
- "name": "openChanged",
3232
- "return": {
3233
- "type": {
3234
- "text": "void"
3235
- }
2758
+ "kind": "field",
2759
+ "name": "singleOption",
2760
+ "type": {
2761
+ "text": "ActionMenuItem"
2762
+ }
2763
+ },
2764
+ {
2765
+ "kind": "field",
2766
+ "name": "actionsMenu",
2767
+ "type": {
2768
+ "text": "HTMLElement"
2769
+ }
2770
+ },
2771
+ {
2772
+ "kind": "field",
2773
+ "name": "actionsOpener",
2774
+ "type": {
2775
+ "text": "HTMLElement"
3236
2776
  }
3237
2777
  },
3238
2778
  {
3239
2779
  "kind": "method",
3240
- "name": "handleClickOutside",
3241
- "privacy": "private",
2780
+ "name": "updateMenuPosition",
2781
+ "privacy": "private"
2782
+ },
2783
+ {
2784
+ "kind": "method",
2785
+ "name": "definitionChanged",
2786
+ "privacy": "protected",
3242
2787
  "parameters": [
3243
2788
  {
3244
- "name": "event",
2789
+ "name": "oldValue",
3245
2790
  "type": {
3246
- "text": "MouseEvent"
2791
+ "text": "any"
2792
+ }
2793
+ },
2794
+ {
2795
+ "name": "newValue",
2796
+ "type": {
2797
+ "text": "any"
3247
2798
  }
3248
2799
  }
3249
2800
  ]
3250
2801
  },
3251
2802
  {
3252
2803
  "kind": "method",
3253
- "name": "toggleDropdown"
2804
+ "name": "openChanged",
2805
+ "privacy": "protected"
3254
2806
  },
3255
2807
  {
3256
2808
  "kind": "method",
3257
- "name": "refreshStatus",
3258
- "return": {
3259
- "type": {
3260
- "text": "Promise<void>"
3261
- }
3262
- }
2809
+ "name": "toggleActionsMenuVisibility"
3263
2810
  },
3264
2811
  {
3265
2812
  "kind": "method",
3266
- "name": "deriveState",
3267
- "privacy": "private",
3268
- "return": {
3269
- "type": {
3270
- "text": "AIIndicatorState"
3271
- }
3272
- },
2813
+ "name": "onActionMenuItemClick",
3273
2814
  "parameters": [
3274
2815
  {
3275
- "name": "s",
2816
+ "name": "callback",
3276
2817
  "type": {
3277
- "text": "AIStatus | null"
2818
+ "text": "(rowData) => void | any"
3278
2819
  }
3279
2820
  }
3280
2821
  ]
3281
2822
  },
3282
2823
  {
3283
- "kind": "method",
3284
- "name": "maybeStartPolling",
3285
- "privacy": "private",
3286
- "return": {
3287
- "type": {
3288
- "text": "void"
3289
- }
3290
- }
2824
+ "kind": "field",
2825
+ "name": "allActions",
2826
+ "type": {
2827
+ "text": "ActionMenuItem[]"
2828
+ },
2829
+ "readonly": true
3291
2830
  },
3292
2831
  {
3293
- "kind": "method",
3294
- "name": "startPolling",
3295
- "privacy": "private",
3296
- "return": {
3297
- "type": {
3298
- "text": "void"
3299
- }
3300
- }
2832
+ "kind": "field",
2833
+ "name": "rowData",
2834
+ "readonly": true
3301
2835
  },
3302
2836
  {
3303
2837
  "kind": "method",
3304
- "name": "stopPolling",
3305
- "privacy": "private",
3306
- "return": {
3307
- "type": {
3308
- "text": "void"
2838
+ "name": "getLabel",
2839
+ "parameters": [
2840
+ {
2841
+ "name": "name",
2842
+ "type": {
2843
+ "text": "string | ((rowData: any) => string)"
2844
+ }
3309
2845
  }
3310
- }
2846
+ ]
3311
2847
  },
3312
2848
  {
3313
2849
  "kind": "method",
3314
- "name": "onInstall",
3315
- "return": {
3316
- "type": {
3317
- "text": "Promise<void>"
2850
+ "name": "getTemplate",
2851
+ "parameters": [
2852
+ {
2853
+ "name": "prefix",
2854
+ "type": {
2855
+ "text": "string"
2856
+ }
3318
2857
  }
3319
- }
2858
+ ]
3320
2859
  },
3321
2860
  {
3322
2861
  "kind": "field",
@@ -3430,88 +2969,131 @@
3430
2969
  }
3431
2970
  }
3432
2971
  ],
2972
+ "attributes": [
2973
+ {
2974
+ "name": "is-vertical",
2975
+ "type": {
2976
+ "text": "boolean"
2977
+ },
2978
+ "default": "false",
2979
+ "fieldName": "isVertical"
2980
+ },
2981
+ {
2982
+ "name": "add-default-actions",
2983
+ "type": {
2984
+ "text": "boolean"
2985
+ },
2986
+ "default": "true",
2987
+ "fieldName": "addDefaultActions"
2988
+ },
2989
+ {
2990
+ "name": "auto-close-on-action",
2991
+ "type": {
2992
+ "text": "boolean"
2993
+ },
2994
+ "default": "true",
2995
+ "fieldName": "autoCloseOnAction"
2996
+ },
2997
+ {
2998
+ "name": "name",
2999
+ "type": {
3000
+ "text": "string"
3001
+ },
3002
+ "default": "'Actions'",
3003
+ "fieldName": "name"
3004
+ },
3005
+ {
3006
+ "name": "open",
3007
+ "type": {
3008
+ "text": "boolean"
3009
+ },
3010
+ "default": "false",
3011
+ "fieldName": "open"
3012
+ },
3013
+ {
3014
+ "name": "buttonAppearance",
3015
+ "type": {
3016
+ "text": "string"
3017
+ },
3018
+ "fieldName": "buttonAppearance"
3019
+ },
3020
+ {
3021
+ "name": "hide-disabled",
3022
+ "type": {
3023
+ "text": "boolean"
3024
+ },
3025
+ "default": "false",
3026
+ "fieldName": "hideDisabled"
3027
+ },
3028
+ {
3029
+ "name": "hide-menu-single-option",
3030
+ "type": {
3031
+ "text": "boolean"
3032
+ },
3033
+ "default": "false",
3034
+ "fieldName": "hideMenuSingleOption"
3035
+ }
3036
+ ],
3433
3037
  "superclass": {
3434
3038
  "name": "FoundationElement",
3435
3039
  "package": "@microsoft/fast-foundation"
3436
3040
  },
3437
- "tagName": "%%prefix%%-ai-indicator",
3041
+ "tagName": "%%prefix%%-actions-menu",
3438
3042
  "customElement": true
3439
3043
  },
3440
3044
  {
3441
3045
  "kind": "variable",
3442
- "name": "foundationAiIndicator"
3046
+ "name": "foundationActionsMenu",
3047
+ "description": "The Foundation Actions Menu",
3048
+ "privacy": "public"
3443
3049
  }
3444
3050
  ],
3445
3051
  "exports": [
3446
3052
  {
3447
3053
  "kind": "js",
3448
- "name": "AiIndicator",
3054
+ "name": "ActionsMenu",
3449
3055
  "declaration": {
3450
- "name": "AiIndicator",
3451
- "module": "src/ai-indicator/ai-indicator.ts"
3056
+ "name": "ActionsMenu",
3057
+ "module": "src/actions-menu/actions-menu.ts"
3452
3058
  }
3453
3059
  },
3454
3060
  {
3455
3061
  "kind": "js",
3456
- "name": "foundationAiIndicator",
3062
+ "name": "foundationActionsMenu",
3457
3063
  "declaration": {
3458
- "name": "foundationAiIndicator",
3459
- "module": "src/ai-indicator/ai-indicator.ts"
3064
+ "name": "foundationActionsMenu",
3065
+ "module": "src/actions-menu/actions-menu.ts"
3460
3066
  }
3461
3067
  }
3462
3068
  ]
3463
3069
  },
3464
3070
  {
3465
3071
  "kind": "javascript-module",
3466
- "path": "src/ai-indicator/index.ts",
3072
+ "path": "src/actions-menu/index.ts",
3467
3073
  "declarations": [],
3468
3074
  "exports": [
3469
3075
  {
3470
3076
  "kind": "js",
3471
- "name": "AiIndicator",
3472
- "declaration": {
3473
- "name": "AiIndicator",
3474
- "module": "./ai-indicator"
3475
- }
3476
- },
3477
- {
3478
- "kind": "js",
3479
- "name": "foundationAiIndicator",
3480
- "declaration": {
3481
- "name": "foundationAiIndicator",
3482
- "module": "./ai-indicator"
3483
- }
3484
- },
3485
- {
3486
- "kind": "js",
3487
- "name": "type",
3488
- "declaration": {
3489
- "name": "type",
3490
- "module": "./ai-indicator"
3491
- }
3492
- },
3493
- {
3494
- "kind": "js",
3495
- "name": "AIIndicatorState",
3077
+ "name": "*",
3496
3078
  "declaration": {
3497
- "name": "AIIndicatorState",
3498
- "module": "./ai-indicator"
3079
+ "name": "*",
3080
+ "package": "./actions-menu.styles"
3499
3081
  }
3500
3082
  },
3501
3083
  {
3502
3084
  "kind": "js",
3503
- "name": "foundationAiIndicatorTemplate",
3085
+ "name": "*",
3504
3086
  "declaration": {
3505
- "name": "foundationAiIndicatorTemplate",
3506
- "module": "./ai-indicator.template"
3087
+ "name": "*",
3088
+ "package": "./actions-menu.template"
3507
3089
  }
3508
3090
  },
3509
3091
  {
3510
3092
  "kind": "js",
3511
- "name": "foundationAiIndicatorStyles",
3093
+ "name": "*",
3512
3094
  "declaration": {
3513
- "name": "foundationAiIndicatorStyles",
3514
- "module": "./ai-indicator.styles"
3095
+ "name": "*",
3096
+ "package": "./actions-menu"
3515
3097
  }
3516
3098
  }
3517
3099
  ]
@@ -4033,31 +3615,449 @@
4033
3615
  },
4034
3616
  {
4035
3617
  "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3648
+ "declaration": {
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
+ }
3652
+ }
3653
+ ]
3654
+ },
3655
+ {
3656
+ "kind": "javascript-module",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3682
+ "declarations": [
3683
+ {
3684
+ "kind": "class",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3687
+ "members": [
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3691
+ "type": {
3692
+ "text": "AIProviderRegistry"
3693
+ }
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3716
+ "type": {
3717
+ "text": "boolean"
3718
+ },
3719
+ "default": "false"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3743
+ "privacy": "private",
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3756
+ },
3757
+ "readonly": true
3758
+ },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3866
+ },
3867
+ {
3868
+ "kind": "field",
3869
+ "name": "_presentation",
3870
+ "type": {
3871
+ "text": "ComponentPresentation | null | undefined"
3872
+ },
3873
+ "privacy": "private",
3874
+ "default": "void 0",
3875
+ "inheritedFrom": {
3876
+ "name": "FoundationElement",
3877
+ "module": "src/foundation-element/foundation-element.ts"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "field",
3882
+ "name": "$presentation",
3883
+ "type": {
3884
+ "text": "ComponentPresentation | null"
3885
+ },
3886
+ "privacy": "public",
3887
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3888
+ "inheritedFrom": {
3889
+ "name": "FoundationElement",
3890
+ "module": "src/foundation-element/foundation-element.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "field",
3895
+ "name": "template",
3896
+ "type": {
3897
+ "text": "ElementViewTemplate | void | null"
3898
+ },
3899
+ "privacy": "public",
3900
+ "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.",
3901
+ "inheritedFrom": {
3902
+ "name": "FoundationElement",
3903
+ "module": "src/foundation-element/foundation-element.ts"
3904
+ }
3905
+ },
3906
+ {
3907
+ "kind": "method",
3908
+ "name": "templateChanged",
3909
+ "privacy": "protected",
3910
+ "return": {
3911
+ "type": {
3912
+ "text": "void"
3913
+ }
3914
+ },
3915
+ "inheritedFrom": {
3916
+ "name": "FoundationElement",
3917
+ "module": "src/foundation-element/foundation-element.ts"
3918
+ }
3919
+ },
3920
+ {
3921
+ "kind": "field",
3922
+ "name": "styles",
3923
+ "type": {
3924
+ "text": "ElementStyles | void | null"
3925
+ },
3926
+ "privacy": "public",
3927
+ "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.",
3928
+ "inheritedFrom": {
3929
+ "name": "FoundationElement",
3930
+ "module": "src/foundation-element/foundation-element.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "stylesChanged",
3936
+ "privacy": "protected",
3937
+ "return": {
3938
+ "type": {
3939
+ "text": "void"
3940
+ }
3941
+ },
3942
+ "inheritedFrom": {
3943
+ "name": "FoundationElement",
3944
+ "module": "src/foundation-element/foundation-element.ts"
3945
+ }
3946
+ },
3947
+ {
3948
+ "kind": "method",
3949
+ "name": "compose",
3950
+ "privacy": "public",
3951
+ "static": true,
3952
+ "return": {
3953
+ "type": {
3954
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3955
+ }
3956
+ },
3957
+ "parameters": [
3958
+ {
3959
+ "name": "this",
3960
+ "type": {
3961
+ "text": "K"
3962
+ }
3963
+ },
3964
+ {
3965
+ "name": "elementDefinition",
3966
+ "type": {
3967
+ "text": "T"
3968
+ },
3969
+ "description": "The definition of the element to create the registry\nfunction for."
3970
+ }
3971
+ ],
3972
+ "description": "Defines an element registry function with a set of element definition defaults.",
3973
+ "inheritedFrom": {
3974
+ "name": "FoundationElement",
3975
+ "module": "src/foundation-element/foundation-element.ts"
3976
+ }
3977
+ }
3978
+ ],
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3982
+ },
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3985
+ },
3986
+ {
3987
+ "kind": "variable",
3988
+ "name": "foundationAiIndicator"
3989
+ }
3990
+ ],
3991
+ "exports": [
3992
+ {
3993
+ "kind": "js",
3994
+ "name": "AiIndicator",
3995
+ "declaration": {
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3998
+ }
3999
+ },
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "foundationAiIndicator",
4003
+ "declaration": {
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4037
4013
  "declarations": [],
4038
4014
  "exports": [
4039
4015
  {
4040
4016
  "kind": "js",
4041
- "name": "*",
4017
+ "name": "AiIndicator",
4042
4018
  "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4045
4021
  }
4046
4022
  },
4047
4023
  {
4048
4024
  "kind": "js",
4049
- "name": "*",
4025
+ "name": "foundationAiIndicator",
4050
4026
  "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4053
4029
  }
4054
4030
  },
4055
4031
  {
4056
4032
  "kind": "js",
4057
- "name": "*",
4033
+ "name": "type",
4058
4034
  "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "AIIndicatorState",
4042
+ "declaration": {
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
+ "declaration": {
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationAiIndicatorStyles",
4058
+ "declaration": {
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",