@genesislcap/foundation-ui 14.428.1 → 14.428.2-alpha-38d32a0.0

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.
@@ -932,6 +932,400 @@
932
932
  }
933
933
  ]
934
934
  },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/accordion-item/accordion-item.styles.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "function",
941
+ "name": "foundationAccordionItemStyles",
942
+ "return": {
943
+ "type": {
944
+ "text": "ElementStyles"
945
+ }
946
+ },
947
+ "parameters": [
948
+ {
949
+ "name": "context",
950
+ "type": {
951
+ "text": "ElementDefinitionContext"
952
+ }
953
+ },
954
+ {
955
+ "name": "definition",
956
+ "type": {
957
+ "text": "FoundationElementDefinition"
958
+ }
959
+ }
960
+ ]
961
+ }
962
+ ],
963
+ "exports": [
964
+ {
965
+ "kind": "js",
966
+ "name": "foundationAccordionItemStyles",
967
+ "declaration": {
968
+ "name": "foundationAccordionItemStyles",
969
+ "module": "src/accordion-item/accordion-item.styles.ts"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "kind": "javascript-module",
976
+ "path": "src/accordion-item/accordion-item.template.ts",
977
+ "declarations": [
978
+ {
979
+ "kind": "function",
980
+ "name": "foundationAccordionItemTemplate",
981
+ "return": {
982
+ "type": {
983
+ "text": "ViewTemplate<AccordionItem>"
984
+ }
985
+ },
986
+ "parameters": [
987
+ {
988
+ "name": "context",
989
+ "type": {
990
+ "text": "ElementDefinitionContext"
991
+ }
992
+ },
993
+ {
994
+ "name": "definition",
995
+ "type": {
996
+ "text": "FoundationElementDefinition"
997
+ }
998
+ }
999
+ ]
1000
+ }
1001
+ ],
1002
+ "exports": [
1003
+ {
1004
+ "kind": "js",
1005
+ "name": "foundationAccordionItemTemplate",
1006
+ "declaration": {
1007
+ "name": "foundationAccordionItemTemplate",
1008
+ "module": "src/accordion-item/accordion-item.template.ts"
1009
+ }
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ "kind": "javascript-module",
1015
+ "path": "src/accordion-item/accordion-item.ts",
1016
+ "declarations": [
1017
+ {
1018
+ "kind": "class",
1019
+ "description": "",
1020
+ "name": "AccordionItem",
1021
+ "superclass": {
1022
+ "name": "FASTAccordionItem",
1023
+ "package": "@microsoft/fast-components"
1024
+ },
1025
+ "tagName": "%%prefix%%-accordion-item",
1026
+ "customElement": true,
1027
+ "attributes": [
1028
+ {
1029
+ "name": "heading-level",
1030
+ "type": {
1031
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1032
+ },
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",
1036
+ "inheritedFrom": {
1037
+ "name": "AccordionItem",
1038
+ "module": "src/accordion-item/accordion-item.ts"
1039
+ }
1040
+ },
1041
+ {
1042
+ "type": {
1043
+ "text": "boolean"
1044
+ },
1045
+ "default": "false",
1046
+ "description": "Expands or collapses the item.",
1047
+ "fieldName": "expanded",
1048
+ "inheritedFrom": {
1049
+ "name": "AccordionItem",
1050
+ "module": "src/accordion-item/accordion-item.ts"
1051
+ }
1052
+ },
1053
+ {
1054
+ "name": "id",
1055
+ "type": {
1056
+ "text": "string"
1057
+ },
1058
+ "description": "The item ID",
1059
+ "fieldName": "id",
1060
+ "inheritedFrom": {
1061
+ "name": "AccordionItem",
1062
+ "module": "src/accordion-item/accordion-item.ts"
1063
+ }
1064
+ }
1065
+ ],
1066
+ "members": [
1067
+ {
1068
+ "kind": "field",
1069
+ "name": "headinglevel",
1070
+ "type": {
1071
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
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.",
1076
+ "inheritedFrom": {
1077
+ "name": "AccordionItem",
1078
+ "module": "src/accordion-item/accordion-item.ts"
1079
+ }
1080
+ },
1081
+ {
1082
+ "kind": "field",
1083
+ "name": "expanded",
1084
+ "type": {
1085
+ "text": "boolean"
1086
+ },
1087
+ "privacy": "public",
1088
+ "default": "false",
1089
+ "description": "Expands or collapses the item.",
1090
+ "inheritedFrom": {
1091
+ "name": "AccordionItem",
1092
+ "module": "src/accordion-item/accordion-item.ts"
1093
+ }
1094
+ },
1095
+ {
1096
+ "kind": "field",
1097
+ "name": "id",
1098
+ "type": {
1099
+ "text": "string"
1100
+ },
1101
+ "privacy": "public",
1102
+ "description": "The item ID",
1103
+ "inheritedFrom": {
1104
+ "name": "AccordionItem",
1105
+ "module": "src/accordion-item/accordion-item.ts"
1106
+ }
1107
+ },
1108
+ {
1109
+ "kind": "field",
1110
+ "name": "change",
1111
+ "privacy": "private",
1112
+ "inheritedFrom": {
1113
+ "name": "AccordionItem",
1114
+ "module": "src/accordion-item/accordion-item.ts"
1115
+ }
1116
+ },
1117
+ {
1118
+ "kind": "field",
1119
+ "name": "_presentation",
1120
+ "type": {
1121
+ "text": "ComponentPresentation | null | undefined"
1122
+ },
1123
+ "privacy": "private",
1124
+ "default": "void 0",
1125
+ "inheritedFrom": {
1126
+ "name": "FoundationElement",
1127
+ "module": "src/foundation-element/foundation-element.ts"
1128
+ }
1129
+ },
1130
+ {
1131
+ "kind": "field",
1132
+ "name": "$presentation",
1133
+ "type": {
1134
+ "text": "ComponentPresentation | null"
1135
+ },
1136
+ "privacy": "public",
1137
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1138
+ "inheritedFrom": {
1139
+ "name": "FoundationElement",
1140
+ "module": "src/foundation-element/foundation-element.ts"
1141
+ }
1142
+ },
1143
+ {
1144
+ "kind": "field",
1145
+ "name": "template",
1146
+ "type": {
1147
+ "text": "ElementViewTemplate | void | null"
1148
+ },
1149
+ "privacy": "public",
1150
+ "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.",
1151
+ "inheritedFrom": {
1152
+ "name": "FoundationElement",
1153
+ "module": "src/foundation-element/foundation-element.ts"
1154
+ }
1155
+ },
1156
+ {
1157
+ "kind": "method",
1158
+ "name": "templateChanged",
1159
+ "privacy": "protected",
1160
+ "return": {
1161
+ "type": {
1162
+ "text": "void"
1163
+ }
1164
+ },
1165
+ "inheritedFrom": {
1166
+ "name": "FoundationElement",
1167
+ "module": "src/foundation-element/foundation-element.ts"
1168
+ }
1169
+ },
1170
+ {
1171
+ "kind": "field",
1172
+ "name": "styles",
1173
+ "type": {
1174
+ "text": "ElementStyles | void | null"
1175
+ },
1176
+ "privacy": "public",
1177
+ "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.",
1178
+ "inheritedFrom": {
1179
+ "name": "FoundationElement",
1180
+ "module": "src/foundation-element/foundation-element.ts"
1181
+ }
1182
+ },
1183
+ {
1184
+ "kind": "method",
1185
+ "name": "stylesChanged",
1186
+ "privacy": "protected",
1187
+ "return": {
1188
+ "type": {
1189
+ "text": "void"
1190
+ }
1191
+ },
1192
+ "inheritedFrom": {
1193
+ "name": "FoundationElement",
1194
+ "module": "src/foundation-element/foundation-element.ts"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "method",
1199
+ "name": "compose",
1200
+ "privacy": "public",
1201
+ "static": true,
1202
+ "return": {
1203
+ "type": {
1204
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1205
+ }
1206
+ },
1207
+ "parameters": [
1208
+ {
1209
+ "name": "this",
1210
+ "type": {
1211
+ "text": "K"
1212
+ }
1213
+ },
1214
+ {
1215
+ "name": "elementDefinition",
1216
+ "type": {
1217
+ "text": "T"
1218
+ },
1219
+ "description": "The definition of the element to create the registry\nfunction for."
1220
+ }
1221
+ ],
1222
+ "description": "Defines an element registry function with a set of element definition defaults.",
1223
+ "inheritedFrom": {
1224
+ "name": "FoundationElement",
1225
+ "module": "src/foundation-element/foundation-element.ts"
1226
+ }
1227
+ }
1228
+ ],
1229
+ "events": [
1230
+ {
1231
+ "description": "Fires a custom 'change' event when the button is invoked",
1232
+ "name": "change",
1233
+ "inheritedFrom": {
1234
+ "name": "AccordionItem",
1235
+ "module": "src/accordion-item/accordion-item.ts"
1236
+ }
1237
+ }
1238
+ ]
1239
+ },
1240
+ {
1241
+ "kind": "variable",
1242
+ "name": "foundationAccordionItemShadowOptions",
1243
+ "type": {
1244
+ "text": "ShadowRootInit"
1245
+ },
1246
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1247
+ },
1248
+ {
1249
+ "kind": "variable",
1250
+ "name": "defaultAccordionItemConfig",
1251
+ "type": {
1252
+ "text": "object"
1253
+ },
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}"
1255
+ },
1256
+ {
1257
+ "kind": "variable",
1258
+ "name": "foundationAccordionItem",
1259
+ "description": "The Foundation Accordion Item",
1260
+ "privacy": "public"
1261
+ }
1262
+ ],
1263
+ "exports": [
1264
+ {
1265
+ "kind": "js",
1266
+ "name": "AccordionItem",
1267
+ "declaration": {
1268
+ "name": "AccordionItem",
1269
+ "module": "src/accordion-item/accordion-item.ts"
1270
+ }
1271
+ },
1272
+ {
1273
+ "kind": "js",
1274
+ "name": "foundationAccordionItemShadowOptions",
1275
+ "declaration": {
1276
+ "name": "foundationAccordionItemShadowOptions",
1277
+ "module": "src/accordion-item/accordion-item.ts"
1278
+ }
1279
+ },
1280
+ {
1281
+ "kind": "js",
1282
+ "name": "defaultAccordionItemConfig",
1283
+ "declaration": {
1284
+ "name": "defaultAccordionItemConfig",
1285
+ "module": "src/accordion-item/accordion-item.ts"
1286
+ }
1287
+ },
1288
+ {
1289
+ "kind": "js",
1290
+ "name": "foundationAccordionItem",
1291
+ "declaration": {
1292
+ "name": "foundationAccordionItem",
1293
+ "module": "src/accordion-item/accordion-item.ts"
1294
+ }
1295
+ }
1296
+ ]
1297
+ },
1298
+ {
1299
+ "kind": "javascript-module",
1300
+ "path": "src/accordion-item/index.ts",
1301
+ "declarations": [],
1302
+ "exports": [
1303
+ {
1304
+ "kind": "js",
1305
+ "name": "*",
1306
+ "declaration": {
1307
+ "name": "*",
1308
+ "package": "./accordion-item.template"
1309
+ }
1310
+ },
1311
+ {
1312
+ "kind": "js",
1313
+ "name": "*",
1314
+ "declaration": {
1315
+ "name": "*",
1316
+ "package": "./accordion-item.styles"
1317
+ }
1318
+ },
1319
+ {
1320
+ "kind": "js",
1321
+ "name": "*",
1322
+ "declaration": {
1323
+ "name": "*",
1324
+ "package": "./accordion-item"
1325
+ }
1326
+ }
1327
+ ]
1328
+ },
935
1329
  {
936
1330
  "kind": "javascript-module",
937
1331
  "path": "src/_common/affix-mixin.ts",
@@ -1400,42 +1794,11 @@
1400
1794
  },
1401
1795
  {
1402
1796
  "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-item/accordion-item.styles.ts",
1797
+ "path": "src/actions-menu/actions-menu.styles.ts",
1435
1798
  "declarations": [
1436
1799
  {
1437
1800
  "kind": "function",
1438
- "name": "foundationAccordionItemStyles",
1801
+ "name": "actionsMenuBaseStyles",
1439
1802
  "return": {
1440
1803
  "type": {
1441
1804
  "text": "ElementStyles"
@@ -1455,29 +1818,13 @@
1455
1818
  }
1456
1819
  }
1457
1820
  ]
1458
- }
1459
- ],
1460
- "exports": [
1461
- {
1462
- "kind": "js",
1463
- "name": "foundationAccordionItemStyles",
1464
- "declaration": {
1465
- "name": "foundationAccordionItemStyles",
1466
- "module": "src/accordion-item/accordion-item.styles.ts"
1467
- }
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- "kind": "javascript-module",
1473
- "path": "src/accordion-item/accordion-item.template.ts",
1474
- "declarations": [
1821
+ },
1475
1822
  {
1476
1823
  "kind": "function",
1477
- "name": "foundationAccordionItemTemplate",
1824
+ "name": "foundationActionsMenuStyles",
1478
1825
  "return": {
1479
1826
  "type": {
1480
- "text": "ViewTemplate<AccordionItem>"
1827
+ "text": "ElementStyles"
1481
1828
  }
1482
1829
  },
1483
1830
  "parameters": [
@@ -1499,632 +1846,269 @@
1499
1846
  "exports": [
1500
1847
  {
1501
1848
  "kind": "js",
1502
- "name": "foundationAccordionItemTemplate",
1849
+ "name": "actionsMenuBaseStyles",
1503
1850
  "declaration": {
1504
- "name": "foundationAccordionItemTemplate",
1505
- "module": "src/accordion-item/accordion-item.template.ts"
1851
+ "name": "actionsMenuBaseStyles",
1852
+ "module": "src/actions-menu/actions-menu.styles.ts"
1853
+ }
1854
+ },
1855
+ {
1856
+ "kind": "js",
1857
+ "name": "foundationActionsMenuStyles",
1858
+ "declaration": {
1859
+ "name": "foundationActionsMenuStyles",
1860
+ "module": "src/actions-menu/actions-menu.styles.ts"
1506
1861
  }
1507
1862
  }
1508
1863
  ]
1509
1864
  },
1510
1865
  {
1511
1866
  "kind": "javascript-module",
1512
- "path": "src/accordion-item/accordion-item.ts",
1867
+ "path": "src/actions-menu/actions-menu.template.ts",
1513
1868
  "declarations": [
1514
1869
  {
1515
- "kind": "class",
1516
- "description": "",
1517
- "name": "AccordionItem",
1518
- "superclass": {
1519
- "name": "FASTAccordionItem",
1520
- "package": "@microsoft/fast-components"
1521
- },
1522
- "tagName": "%%prefix%%-accordion-item",
1523
- "customElement": true,
1524
- "attributes": [
1870
+ "kind": "function",
1871
+ "name": "menuTemplate",
1872
+ "parameters": [
1525
1873
  {
1526
- "name": "heading-level",
1874
+ "name": "prefix",
1527
1875
  "type": {
1528
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1529
- },
1530
- "default": "2",
1531
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1532
- "fieldName": "headinglevel",
1533
- "inheritedFrom": {
1534
- "name": "AccordionItem",
1535
- "module": "src/accordion-item/accordion-item.ts"
1876
+ "text": "string"
1536
1877
  }
1537
- },
1878
+ }
1879
+ ]
1880
+ },
1881
+ {
1882
+ "kind": "function",
1883
+ "name": "singleOptionTemplate",
1884
+ "parameters": [
1538
1885
  {
1886
+ "name": "prefix",
1539
1887
  "type": {
1540
- "text": "boolean"
1541
- },
1542
- "default": "false",
1543
- "description": "Expands or collapses the item.",
1544
- "fieldName": "expanded",
1545
- "inheritedFrom": {
1546
- "name": "AccordionItem",
1547
- "module": "src/accordion-item/accordion-item.ts"
1548
- }
1549
- },
1550
- {
1551
- "name": "id",
1552
- "type": {
1553
- "text": "string"
1554
- },
1555
- "description": "The item ID",
1556
- "fieldName": "id",
1557
- "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1560
- }
1561
- }
1562
- ],
1563
- "members": [
1564
- {
1565
- "kind": "field",
1566
- "name": "headinglevel",
1567
- "type": {
1568
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1569
- },
1570
- "privacy": "public",
1571
- "default": "2",
1572
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1573
- "inheritedFrom": {
1574
- "name": "AccordionItem",
1575
- "module": "src/accordion-item/accordion-item.ts"
1576
- }
1577
- },
1578
- {
1579
- "kind": "field",
1580
- "name": "expanded",
1581
- "type": {
1582
- "text": "boolean"
1583
- },
1584
- "privacy": "public",
1585
- "default": "false",
1586
- "description": "Expands or collapses the item.",
1587
- "inheritedFrom": {
1588
- "name": "AccordionItem",
1589
- "module": "src/accordion-item/accordion-item.ts"
1590
- }
1591
- },
1592
- {
1593
- "kind": "field",
1594
- "name": "id",
1595
- "type": {
1596
- "text": "string"
1597
- },
1598
- "privacy": "public",
1599
- "description": "The item ID",
1600
- "inheritedFrom": {
1601
- "name": "AccordionItem",
1602
- "module": "src/accordion-item/accordion-item.ts"
1603
- }
1604
- },
1605
- {
1606
- "kind": "field",
1607
- "name": "change",
1608
- "privacy": "private",
1609
- "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1612
- }
1613
- },
1614
- {
1615
- "kind": "field",
1616
- "name": "_presentation",
1617
- "type": {
1618
- "text": "ComponentPresentation | null | undefined"
1619
- },
1620
- "privacy": "private",
1621
- "default": "void 0",
1622
- "inheritedFrom": {
1623
- "name": "FoundationElement",
1624
- "module": "src/foundation-element/foundation-element.ts"
1625
- }
1626
- },
1627
- {
1628
- "kind": "field",
1629
- "name": "$presentation",
1630
- "type": {
1631
- "text": "ComponentPresentation | null"
1632
- },
1633
- "privacy": "public",
1634
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1635
- "inheritedFrom": {
1636
- "name": "FoundationElement",
1637
- "module": "src/foundation-element/foundation-element.ts"
1638
- }
1639
- },
1640
- {
1641
- "kind": "field",
1642
- "name": "template",
1643
- "type": {
1644
- "text": "ElementViewTemplate | void | null"
1645
- },
1646
- "privacy": "public",
1647
- "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.",
1648
- "inheritedFrom": {
1649
- "name": "FoundationElement",
1650
- "module": "src/foundation-element/foundation-element.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "templateChanged",
1656
- "privacy": "protected",
1657
- "return": {
1658
- "type": {
1659
- "text": "void"
1660
- }
1661
- },
1662
- "inheritedFrom": {
1663
- "name": "FoundationElement",
1664
- "module": "src/foundation-element/foundation-element.ts"
1665
- }
1666
- },
1667
- {
1668
- "kind": "field",
1669
- "name": "styles",
1670
- "type": {
1671
- "text": "ElementStyles | void | null"
1672
- },
1673
- "privacy": "public",
1674
- "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.",
1675
- "inheritedFrom": {
1676
- "name": "FoundationElement",
1677
- "module": "src/foundation-element/foundation-element.ts"
1678
- }
1679
- },
1680
- {
1681
- "kind": "method",
1682
- "name": "stylesChanged",
1683
- "privacy": "protected",
1684
- "return": {
1685
- "type": {
1686
- "text": "void"
1687
- }
1688
- },
1689
- "inheritedFrom": {
1690
- "name": "FoundationElement",
1691
- "module": "src/foundation-element/foundation-element.ts"
1692
- }
1693
- },
1694
- {
1695
- "kind": "method",
1696
- "name": "compose",
1697
- "privacy": "public",
1698
- "static": true,
1699
- "return": {
1700
- "type": {
1701
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1702
- }
1703
- },
1704
- "parameters": [
1705
- {
1706
- "name": "this",
1707
- "type": {
1708
- "text": "K"
1709
- }
1710
- },
1711
- {
1712
- "name": "elementDefinition",
1713
- "type": {
1714
- "text": "T"
1715
- },
1716
- "description": "The definition of the element to create the registry\nfunction for."
1717
- }
1718
- ],
1719
- "description": "Defines an element registry function with a set of element definition defaults.",
1720
- "inheritedFrom": {
1721
- "name": "FoundationElement",
1722
- "module": "src/foundation-element/foundation-element.ts"
1723
- }
1724
- }
1725
- ],
1726
- "events": [
1727
- {
1728
- "description": "Fires a custom 'change' event when the button is invoked",
1729
- "name": "change",
1730
- "inheritedFrom": {
1731
- "name": "AccordionItem",
1732
- "module": "src/accordion-item/accordion-item.ts"
1888
+ "text": "string"
1733
1889
  }
1734
1890
  }
1735
1891
  ]
1736
1892
  },
1737
1893
  {
1738
1894
  "kind": "variable",
1739
- "name": "foundationAccordionItemShadowOptions",
1740
- "type": {
1741
- "text": "ShadowRootInit"
1742
- },
1743
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1744
- },
1745
- {
1746
- "kind": "variable",
1747
- "name": "defaultAccordionItemConfig",
1895
+ "name": "foundationActionsMenuTemplate",
1748
1896
  "type": {
1749
- "text": "object"
1897
+ "text": "ViewTemplate<ActionsMenu>"
1750
1898
  },
1751
- "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}"
1752
- },
1753
- {
1754
- "kind": "variable",
1755
- "name": "foundationAccordionItem",
1756
- "description": "The Foundation Accordion Item",
1757
- "privacy": "public"
1899
+ "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`"
1758
1900
  }
1759
1901
  ],
1760
1902
  "exports": [
1761
1903
  {
1762
1904
  "kind": "js",
1763
- "name": "AccordionItem",
1764
- "declaration": {
1765
- "name": "AccordionItem",
1766
- "module": "src/accordion-item/accordion-item.ts"
1767
- }
1768
- },
1769
- {
1770
- "kind": "js",
1771
- "name": "foundationAccordionItemShadowOptions",
1772
- "declaration": {
1773
- "name": "foundationAccordionItemShadowOptions",
1774
- "module": "src/accordion-item/accordion-item.ts"
1775
- }
1776
- },
1777
- {
1778
- "kind": "js",
1779
- "name": "defaultAccordionItemConfig",
1780
- "declaration": {
1781
- "name": "defaultAccordionItemConfig",
1782
- "module": "src/accordion-item/accordion-item.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "js",
1787
- "name": "foundationAccordionItem",
1788
- "declaration": {
1789
- "name": "foundationAccordionItem",
1790
- "module": "src/accordion-item/accordion-item.ts"
1791
- }
1792
- }
1793
- ]
1794
- },
1795
- {
1796
- "kind": "javascript-module",
1797
- "path": "src/accordion-item/index.ts",
1798
- "declarations": [],
1799
- "exports": [
1800
- {
1801
- "kind": "js",
1802
- "name": "*",
1905
+ "name": "menuTemplate",
1803
1906
  "declaration": {
1804
- "name": "*",
1805
- "package": "./accordion-item.template"
1907
+ "name": "menuTemplate",
1908
+ "module": "src/actions-menu/actions-menu.template.ts"
1806
1909
  }
1807
1910
  },
1808
1911
  {
1809
1912
  "kind": "js",
1810
- "name": "*",
1913
+ "name": "singleOptionTemplate",
1811
1914
  "declaration": {
1812
- "name": "*",
1813
- "package": "./accordion-item.styles"
1915
+ "name": "singleOptionTemplate",
1916
+ "module": "src/actions-menu/actions-menu.template.ts"
1814
1917
  }
1815
1918
  },
1816
1919
  {
1817
1920
  "kind": "js",
1818
- "name": "*",
1921
+ "name": "foundationActionsMenuTemplate",
1819
1922
  "declaration": {
1820
- "name": "*",
1821
- "package": "./accordion-item"
1923
+ "name": "foundationActionsMenuTemplate",
1924
+ "module": "src/actions-menu/actions-menu.template.ts"
1822
1925
  }
1823
1926
  }
1824
1927
  ]
1825
1928
  },
1826
1929
  {
1827
1930
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1931
+ "path": "src/actions-menu/actions-menu.ts",
1829
1932
  "declarations": [
1830
1933
  {
1831
- "kind": "function",
1832
- "name": "foundationAccordionStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1934
+ "kind": "class",
1935
+ "description": "",
1936
+ "name": "ActionsMenu",
1937
+ "members": [
1839
1938
  {
1840
- "name": "context",
1939
+ "kind": "field",
1940
+ "name": "actions",
1841
1941
  "type": {
1842
- "text": "ElementDefinitionContext"
1942
+ "text": "ActionMenuItem[]"
1843
1943
  }
1844
1944
  },
1845
1945
  {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1852
- }
1853
- ],
1854
- "exports": [
1855
- {
1856
- "kind": "js",
1857
- "name": "foundationAccordionStyles",
1858
- "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1861
- }
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1868
- "declarations": [
1869
- {
1870
- "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1872
- "return": {
1873
- "type": {
1874
- "text": "ViewTemplate<Accordion>"
1875
- }
1876
- },
1877
- "parameters": [
1878
- {
1879
- "name": "context",
1946
+ "kind": "field",
1947
+ "name": "isVertical",
1880
1948
  "type": {
1881
- "text": "ElementDefinitionContext"
1882
- }
1949
+ "text": "boolean"
1950
+ },
1951
+ "default": "false"
1883
1952
  },
1884
1953
  {
1885
- "name": "definition",
1954
+ "kind": "field",
1955
+ "name": "addDefaultActions",
1886
1956
  "type": {
1887
- "text": "FoundationElementDefinition"
1888
- }
1889
- }
1890
- ]
1891
- }
1892
- ],
1893
- "exports": [
1894
- {
1895
- "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1897
- "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1900
- }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1907
- "declarations": [
1908
- {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1957
+ "text": "boolean"
1958
+ },
1959
+ "default": "true"
1960
+ },
1919
1961
  {
1920
- "name": "expand-mode",
1962
+ "kind": "field",
1963
+ "name": "autoCloseOnAction",
1921
1964
  "type": {
1922
- "text": "AccordionExpandMode"
1965
+ "text": "boolean"
1923
1966
  },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
1929
- }
1930
- }
1931
- ],
1932
- "members": [
1967
+ "default": "true"
1968
+ },
1933
1969
  {
1934
1970
  "kind": "field",
1935
- "name": "expandmode",
1971
+ "name": "classNames",
1936
1972
  "type": {
1937
- "text": "AccordionExpandMode"
1938
- },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1973
+ "text": "string"
1944
1974
  }
1945
1975
  },
1946
1976
  {
1947
1977
  "kind": "field",
1948
- "name": "activeid",
1978
+ "name": "definition",
1949
1979
  "type": {
1950
- "text": "string | null"
1951
- },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1980
+ "text": "any"
1956
1981
  }
1957
1982
  },
1958
1983
  {
1959
1984
  "kind": "field",
1960
- "name": "activeItemIndex",
1985
+ "name": "name",
1961
1986
  "type": {
1962
- "text": "number"
1987
+ "text": "string"
1963
1988
  },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1989
+ "default": "'Actions'"
1970
1990
  },
1971
1991
  {
1972
1992
  "kind": "field",
1973
- "name": "accordionIds",
1993
+ "name": "open",
1974
1994
  "type": {
1975
- "text": "Array<string | null>"
1995
+ "text": "boolean"
1976
1996
  },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1981
- }
1997
+ "default": "false"
1982
1998
  },
1983
1999
  {
1984
2000
  "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
2001
+ "name": "buttonAppearance",
2002
+ "type": {
2003
+ "text": "string"
1990
2004
  }
1991
2005
  },
1992
2006
  {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2007
+ "kind": "field",
2008
+ "name": "hideDisabled",
2009
+ "type": {
2010
+ "text": "boolean"
2000
2011
  },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2012
+ "default": "false"
2005
2013
  },
2006
2014
  {
2007
2015
  "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2016
+ "name": "hideMenuSingleOption",
2017
+ "type": {
2018
+ "text": "boolean"
2023
2019
  },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
2020
+ "default": "false"
2028
2021
  },
2029
2022
  {
2030
2023
  "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2024
+ "name": "singleOption",
2025
+ "type": {
2026
+ "text": "ActionMenuItem"
2036
2027
  }
2037
2028
  },
2038
2029
  {
2039
2030
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2031
+ "name": "actionsMenu",
2032
+ "type": {
2033
+ "text": "HTMLElement"
2045
2034
  }
2046
2035
  },
2047
2036
  {
2048
2037
  "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2038
+ "name": "definitionChanged",
2039
+ "privacy": "protected",
2040
+ "parameters": [
2041
+ {
2042
+ "name": "oldValue",
2043
+ "type": {
2044
+ "text": "any"
2045
+ }
2046
+ },
2047
+ {
2048
+ "name": "newValue",
2049
+ "type": {
2050
+ "text": "any"
2051
+ }
2054
2052
  }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2053
+ ]
2060
2054
  },
2061
2055
  {
2062
2056
  "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2057
+ "name": "openChanged",
2058
+ "privacy": "protected"
2059
+ },
2060
+ {
2061
+ "kind": "method",
2062
+ "name": "toggleActionsMenuVisibility"
2063
+ },
2064
+ {
2065
+ "kind": "method",
2066
+ "name": "onActionMenuItemClick",
2067
+ "parameters": [
2068
+ {
2069
+ "name": "callback",
2070
+ "type": {
2071
+ "text": "(rowData) => void | any"
2072
+ }
2068
2073
  }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2074
+ ]
2074
2075
  },
2075
2076
  {
2076
2077
  "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
2078
+ "name": "allActions",
2079
+ "type": {
2080
+ "text": "ActionMenuItem[]"
2081
+ },
2082
+ "readonly": true
2083
2083
  },
2084
2084
  {
2085
2085
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2086
+ "name": "rowData",
2087
+ "readonly": true
2092
2088
  },
2093
2089
  {
2094
2090
  "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2091
+ "name": "getLabel",
2102
2092
  "parameters": [
2103
2093
  {
2104
- "name": "adjustment",
2094
+ "name": "name",
2105
2095
  "type": {
2106
- "text": "number"
2096
+ "text": "string | ((rowData: any) => string)"
2107
2097
  }
2108
2098
  }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2099
+ ]
2114
2100
  },
2115
2101
  {
2116
2102
  "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2103
+ "name": "getTemplate",
2104
+ "parameters": [
2105
+ {
2106
+ "name": "prefix",
2107
+ "type": {
2108
+ "text": "string"
2109
+ }
2122
2110
  }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
- }
2111
+ ]
2128
2112
  },
2129
2113
  {
2130
2114
  "kind": "field",
@@ -2238,78 +2222,107 @@
2238
2222
  }
2239
2223
  }
2240
2224
  ],
2241
- "events": [
2225
+ "attributes": [
2242
2226
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2248
- }
2227
+ "name": "is-vertical",
2228
+ "type": {
2229
+ "text": "boolean"
2230
+ },
2231
+ "default": "false",
2232
+ "fieldName": "isVertical"
2233
+ },
2234
+ {
2235
+ "name": "add-default-actions",
2236
+ "type": {
2237
+ "text": "boolean"
2238
+ },
2239
+ "default": "true",
2240
+ "fieldName": "addDefaultActions"
2241
+ },
2242
+ {
2243
+ "name": "auto-close-on-action",
2244
+ "type": {
2245
+ "text": "boolean"
2246
+ },
2247
+ "default": "true",
2248
+ "fieldName": "autoCloseOnAction"
2249
+ },
2250
+ {
2251
+ "name": "name",
2252
+ "type": {
2253
+ "text": "string"
2254
+ },
2255
+ "default": "'Actions'",
2256
+ "fieldName": "name"
2257
+ },
2258
+ {
2259
+ "name": "open",
2260
+ "type": {
2261
+ "text": "boolean"
2262
+ },
2263
+ "default": "false",
2264
+ "fieldName": "open"
2265
+ },
2266
+ {
2267
+ "name": "buttonAppearance",
2268
+ "type": {
2269
+ "text": "string"
2270
+ },
2271
+ "fieldName": "buttonAppearance"
2272
+ },
2273
+ {
2274
+ "name": "hide-disabled",
2275
+ "type": {
2276
+ "text": "boolean"
2277
+ },
2278
+ "default": "false",
2279
+ "fieldName": "hideDisabled"
2280
+ },
2281
+ {
2282
+ "name": "hide-menu-single-option",
2283
+ "type": {
2284
+ "text": "boolean"
2285
+ },
2286
+ "default": "false",
2287
+ "fieldName": "hideMenuSingleOption"
2249
2288
  }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2263
- "type": {
2264
- "text": "object"
2289
+ ],
2290
+ "superclass": {
2291
+ "name": "FoundationElement",
2292
+ "package": "@microsoft/fast-foundation"
2265
2293
  },
2266
- "default": "{}"
2294
+ "tagName": "%%prefix%%-actions-menu",
2295
+ "customElement": true
2267
2296
  },
2268
2297
  {
2269
2298
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2299
+ "name": "foundationActionsMenu",
2300
+ "description": "The Foundation Actions Menu",
2272
2301
  "privacy": "public"
2273
2302
  }
2274
2303
  ],
2275
2304
  "exports": [
2276
2305
  {
2277
2306
  "kind": "js",
2278
- "name": "Accordion",
2279
- "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionConfig",
2307
+ "name": "ActionsMenu",
2295
2308
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2309
+ "name": "ActionsMenu",
2310
+ "module": "src/actions-menu/actions-menu.ts"
2298
2311
  }
2299
2312
  },
2300
2313
  {
2301
2314
  "kind": "js",
2302
- "name": "foundationAccordion",
2315
+ "name": "foundationActionsMenu",
2303
2316
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2317
+ "name": "foundationActionsMenu",
2318
+ "module": "src/actions-menu/actions-menu.ts"
2306
2319
  }
2307
2320
  }
2308
2321
  ]
2309
2322
  },
2310
2323
  {
2311
2324
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2325
+ "path": "src/actions-menu/index.ts",
2313
2326
  "declarations": [],
2314
2327
  "exports": [
2315
2328
  {
@@ -2317,344 +2330,214 @@
2317
2330
  "name": "*",
2318
2331
  "declaration": {
2319
2332
  "name": "*",
2320
- "package": "./accordion.template"
2321
- }
2322
- },
2323
- {
2324
- "kind": "js",
2325
- "name": "*",
2326
- "declaration": {
2327
- "name": "*",
2328
- "package": "./accordion.styles"
2333
+ "package": "./actions-menu.styles"
2329
2334
  }
2330
2335
  },
2331
2336
  {
2332
2337
  "kind": "js",
2333
- "name": "*",
2334
- "declaration": {
2335
- "name": "*",
2336
- "package": "./accordion"
2337
- }
2338
- }
2339
- ]
2340
- },
2341
- {
2342
- "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2344
- "declarations": [
2345
- {
2346
- "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2371
- "return": {
2372
- "type": {
2373
- "text": "ElementStyles"
2374
- }
2375
- },
2376
- "parameters": [
2377
- {
2378
- "name": "context",
2379
- "type": {
2380
- "text": "ElementDefinitionContext"
2381
- }
2382
- },
2383
- {
2384
- "name": "definition",
2385
- "type": {
2386
- "text": "FoundationElementDefinition"
2387
- }
2388
- }
2389
- ]
2390
- }
2391
- ],
2392
- "exports": [
2393
- {
2394
- "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2338
+ "name": "*",
2396
2339
  "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2340
+ "name": "*",
2341
+ "package": "./actions-menu.template"
2399
2342
  }
2400
2343
  },
2401
2344
  {
2402
2345
  "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2346
+ "name": "*",
2404
2347
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2348
+ "name": "*",
2349
+ "package": "./actions-menu"
2407
2350
  }
2408
2351
  }
2409
2352
  ]
2410
2353
  },
2411
2354
  {
2412
2355
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2356
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2414
2357
  "declarations": [
2415
- {
2416
- "kind": "function",
2417
- "name": "menuTemplate",
2418
- "parameters": [
2419
- {
2420
- "name": "prefix",
2421
- "type": {
2422
- "text": "string"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2431
- {
2432
- "name": "prefix",
2433
- "type": {
2434
- "text": "string"
2435
- }
2436
- }
2437
- ]
2438
- },
2439
2358
  {
2440
2359
  "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2442
- "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2444
- },
2445
- "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`"
2360
+ "name": "foundationAiCriteriaSearchStyles",
2361
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2446
2362
  }
2447
2363
  ],
2448
2364
  "exports": [
2449
2365
  {
2450
2366
  "kind": "js",
2451
- "name": "menuTemplate",
2367
+ "name": "foundationAiCriteriaSearchStyles",
2452
2368
  "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2369
+ "name": "foundationAiCriteriaSearchStyles",
2370
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2455
2371
  }
2456
- },
2372
+ }
2373
+ ]
2374
+ },
2375
+ {
2376
+ "kind": "javascript-module",
2377
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2378
+ "declarations": [
2457
2379
  {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2380
+ "kind": "variable",
2381
+ "name": "foundationAiCriteriaSearchTemplate",
2382
+ "type": {
2383
+ "text": "ViewTemplate<AiCriteriaSearch>"
2384
+ },
2385
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2386
+ }
2387
+ ],
2388
+ "exports": [
2465
2389
  {
2466
2390
  "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2391
+ "name": "foundationAiCriteriaSearchTemplate",
2468
2392
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2393
+ "name": "foundationAiCriteriaSearchTemplate",
2394
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2471
2395
  }
2472
2396
  }
2473
2397
  ]
2474
2398
  },
2475
2399
  {
2476
2400
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2401
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2478
2402
  "declarations": [
2479
2403
  {
2480
2404
  "kind": "class",
2481
- "description": "",
2482
- "name": "ActionsMenu",
2405
+ "description": "Natural-language criteria search input with AI interpretation.",
2406
+ "name": "AiCriteriaSearch",
2483
2407
  "members": [
2484
2408
  {
2485
2409
  "kind": "field",
2486
- "name": "actions",
2410
+ "name": "aiProvider",
2487
2411
  "type": {
2488
- "text": "ActionMenuItem[]"
2412
+ "text": "AIProvider"
2489
2413
  }
2490
2414
  },
2491
2415
  {
2492
2416
  "kind": "field",
2493
- "name": "isVertical",
2417
+ "name": "placeholder",
2494
2418
  "type": {
2495
- "text": "boolean"
2419
+ "text": "string"
2496
2420
  },
2497
- "default": "false"
2421
+ "default": "'Describe your search criteria in natural language...'"
2498
2422
  },
2499
2423
  {
2500
2424
  "kind": "field",
2501
- "name": "addDefaultActions",
2425
+ "name": "disabled",
2502
2426
  "type": {
2503
2427
  "text": "boolean"
2504
- },
2505
- "default": "true"
2428
+ }
2506
2429
  },
2507
2430
  {
2508
2431
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2432
+ "name": "mode",
2510
2433
  "type": {
2511
- "text": "boolean"
2434
+ "text": "'append' | 'replace'"
2512
2435
  },
2513
- "default": "true"
2436
+ "default": "'replace'"
2514
2437
  },
2515
2438
  {
2516
2439
  "kind": "field",
2517
- "name": "classNames",
2440
+ "name": "inputValue",
2518
2441
  "type": {
2519
2442
  "text": "string"
2520
- }
2443
+ },
2444
+ "default": "''"
2521
2445
  },
2522
2446
  {
2523
2447
  "kind": "field",
2524
- "name": "definition",
2448
+ "name": "isInterpreting",
2525
2449
  "type": {
2526
- "text": "any"
2527
- }
2450
+ "text": "boolean"
2451
+ },
2452
+ "default": "false"
2528
2453
  },
2529
2454
  {
2530
2455
  "kind": "field",
2531
- "name": "name",
2456
+ "name": "lastValidCriteria",
2532
2457
  "type": {
2533
- "text": "string"
2458
+ "text": "string | null"
2534
2459
  },
2535
- "default": "'Actions'"
2460
+ "default": "null"
2536
2461
  },
2537
2462
  {
2538
2463
  "kind": "field",
2539
- "name": "open",
2464
+ "name": "fieldMetadata",
2540
2465
  "type": {
2541
- "text": "boolean"
2466
+ "text": "MetadataDetail[] | string[]"
2542
2467
  },
2543
- "default": "false"
2468
+ "default": "[]"
2544
2469
  },
2545
2470
  {
2546
2471
  "kind": "field",
2547
- "name": "buttonAppearance",
2472
+ "name": "isRecording",
2548
2473
  "type": {
2549
- "text": "string"
2550
- }
2474
+ "text": "boolean"
2475
+ },
2476
+ "default": "false"
2551
2477
  },
2552
2478
  {
2553
2479
  "kind": "field",
2554
- "name": "hideDisabled",
2480
+ "name": "textAreaRef",
2555
2481
  "type": {
2556
- "text": "boolean"
2482
+ "text": "HTMLTextAreaElement"
2557
2483
  },
2558
- "default": "false"
2484
+ "privacy": "public"
2559
2485
  },
2560
2486
  {
2561
2487
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2488
+ "name": "stopRecording",
2563
2489
  "type": {
2564
- "text": "boolean"
2490
+ "text": "(() => void) | null"
2565
2491
  },
2566
- "default": "false"
2492
+ "privacy": "private",
2493
+ "default": "null"
2567
2494
  },
2568
2495
  {
2569
2496
  "kind": "field",
2570
- "name": "singleOption",
2497
+ "name": "speechApplyDebounceTimer",
2571
2498
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2499
+ "text": "ReturnType<typeof setTimeout> | null"
2500
+ },
2501
+ "privacy": "private",
2502
+ "default": "null"
2574
2503
  },
2575
2504
  {
2576
2505
  "kind": "field",
2577
- "name": "actionsMenu",
2506
+ "name": "baseInputForAppend",
2578
2507
  "type": {
2579
- "text": "HTMLElement"
2580
- }
2508
+ "text": "string"
2509
+ },
2510
+ "privacy": "private",
2511
+ "default": "''"
2581
2512
  },
2582
2513
  {
2583
- "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2586
- "parameters": [
2587
- {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2595
- "type": {
2596
- "text": "any"
2597
- }
2598
- }
2599
- ]
2514
+ "kind": "field",
2515
+ "name": "speechAvailable",
2516
+ "type": {
2517
+ "text": "boolean"
2518
+ },
2519
+ "readonly": true
2600
2520
  },
2601
2521
  {
2602
2522
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2523
+ "name": "handleSubmit"
2605
2524
  },
2606
2525
  {
2607
2526
  "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2527
+ "name": "handleBlur"
2609
2528
  },
2610
2529
  {
2611
2530
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2613
- "parameters": [
2614
- {
2615
- "name": "callback",
2616
- "type": {
2617
- "text": "(rowData) => void | any"
2618
- }
2619
- }
2620
- ]
2621
- },
2622
- {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2629
- },
2630
- {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2531
+ "name": "clear"
2634
2532
  },
2635
2533
  {
2636
2534
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2644
- }
2645
- ]
2535
+ "name": "toggleSpeechInput"
2646
2536
  },
2647
2537
  {
2648
2538
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2656
- }
2657
- ]
2539
+ "name": "clearSpeechApplyDebounce",
2540
+ "privacy": "private"
2658
2541
  },
2659
2542
  {
2660
2543
  "kind": "field",
@@ -2768,115 +2651,162 @@
2768
2651
  }
2769
2652
  }
2770
2653
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2654
+ "events": [
2796
2655
  {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2656
+ "description": "Fired when interpreted criteria is applied or cleared",
2657
+ "name": "criteria-changed"
2803
2658
  },
2804
2659
  {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2660
+ "description": "Fired when interpreted criteria contains invalid clauses",
2661
+ "name": "validation-errors"
2662
+ }
2663
+ ],
2664
+ "attributes": [
2812
2665
  {
2813
- "name": "buttonAppearance",
2666
+ "name": "placeholder",
2814
2667
  "type": {
2815
2668
  "text": "string"
2816
2669
  },
2817
- "fieldName": "buttonAppearance"
2670
+ "default": "'Describe your search criteria in natural language...'",
2671
+ "fieldName": "placeholder"
2818
2672
  },
2819
2673
  {
2820
- "name": "hide-disabled",
2821
2674
  "type": {
2822
2675
  "text": "boolean"
2823
2676
  },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2677
+ "fieldName": "disabled"
2826
2678
  },
2827
2679
  {
2828
- "name": "hide-menu-single-option",
2680
+ "name": "mode",
2829
2681
  "type": {
2830
- "text": "boolean"
2682
+ "text": "'append' | 'replace'"
2831
2683
  },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2684
+ "default": "'replace'",
2685
+ "fieldName": "mode"
2834
2686
  }
2835
2687
  ],
2836
2688
  "superclass": {
2837
2689
  "name": "FoundationElement",
2838
2690
  "package": "@microsoft/fast-foundation"
2839
2691
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2692
+ "tagName": "%%prefix%%-ai-criteria-search",
2841
2693
  "customElement": true
2842
2694
  },
2843
2695
  {
2844
2696
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2697
+ "name": "foundationAiCriteriaSearchShadowOptions",
2698
+ "type": {
2699
+ "text": "ShadowRootInit"
2700
+ },
2701
+ "default": "undefined"
2702
+ },
2703
+ {
2704
+ "kind": "variable",
2705
+ "name": "defaultAiCriteriaSearchConfig",
2706
+ "type": {
2707
+ "text": "object"
2708
+ },
2709
+ "default": "{}"
2710
+ },
2711
+ {
2712
+ "kind": "variable",
2713
+ "name": "foundationAiCriteriaSearch"
2848
2714
  }
2849
2715
  ],
2850
2716
  "exports": [
2851
2717
  {
2852
2718
  "kind": "js",
2853
- "name": "ActionsMenu",
2719
+ "name": "AiCriteriaSearch",
2854
2720
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2721
+ "name": "AiCriteriaSearch",
2722
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2723
  }
2858
2724
  },
2859
2725
  {
2860
2726
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2727
+ "name": "foundationAiCriteriaSearchShadowOptions",
2862
2728
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2729
+ "name": "foundationAiCriteriaSearchShadowOptions",
2730
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2731
+ }
2732
+ },
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "defaultAiCriteriaSearchConfig",
2736
+ "declaration": {
2737
+ "name": "defaultAiCriteriaSearchConfig",
2738
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2739
+ }
2740
+ },
2741
+ {
2742
+ "kind": "js",
2743
+ "name": "foundationAiCriteriaSearch",
2744
+ "declaration": {
2745
+ "name": "foundationAiCriteriaSearch",
2746
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2747
  }
2866
2748
  }
2867
2749
  ]
2868
2750
  },
2869
2751
  {
2870
2752
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2753
+ "path": "src/ai-criteria-search/index.ts",
2872
2754
  "declarations": [],
2873
2755
  "exports": [
2756
+ {
2757
+ "kind": "js",
2758
+ "name": "AiCriteriaSearch",
2759
+ "declaration": {
2760
+ "name": "AiCriteriaSearch",
2761
+ "module": "./ai-criteria-search"
2762
+ }
2763
+ },
2764
+ {
2765
+ "kind": "js",
2766
+ "name": "defaultAiCriteriaSearchConfig",
2767
+ "declaration": {
2768
+ "name": "defaultAiCriteriaSearchConfig",
2769
+ "module": "./ai-criteria-search"
2770
+ }
2771
+ },
2772
+ {
2773
+ "kind": "js",
2774
+ "name": "foundationAiCriteriaSearch",
2775
+ "declaration": {
2776
+ "name": "foundationAiCriteriaSearch",
2777
+ "module": "./ai-criteria-search"
2778
+ }
2779
+ },
2780
+ {
2781
+ "kind": "js",
2782
+ "name": "foundationAiCriteriaSearchShadowOptions",
2783
+ "declaration": {
2784
+ "name": "foundationAiCriteriaSearchShadowOptions",
2785
+ "module": "./ai-criteria-search"
2786
+ }
2787
+ },
2788
+ {
2789
+ "kind": "js",
2790
+ "name": "foundationAiCriteriaSearchStyles",
2791
+ "declaration": {
2792
+ "name": "foundationAiCriteriaSearchStyles",
2793
+ "module": "./ai-criteria-search.styles"
2794
+ }
2795
+ },
2796
+ {
2797
+ "kind": "js",
2798
+ "name": "foundationAiCriteriaSearchTemplate",
2799
+ "declaration": {
2800
+ "name": "foundationAiCriteriaSearchTemplate",
2801
+ "module": "./ai-criteria-search.template"
2802
+ }
2803
+ },
2874
2804
  {
2875
2805
  "kind": "js",
2876
2806
  "name": "*",
2877
2807
  "declaration": {
2878
2808
  "name": "*",
2879
- "package": "./actions-menu.styles"
2809
+ "package": "./validation/criteria-ir"
2880
2810
  }
2881
2811
  },
2882
2812
  {
@@ -2884,7 +2814,7 @@
2884
2814
  "name": "*",
2885
2815
  "declaration": {
2886
2816
  "name": "*",
2887
- "package": "./actions-menu.template"
2817
+ "package": "./validation/operator-map"
2888
2818
  }
2889
2819
  },
2890
2820
  {
@@ -2892,198 +2822,388 @@
2892
2822
  "name": "*",
2893
2823
  "declaration": {
2894
2824
  "name": "*",
2895
- "package": "./actions-menu"
2825
+ "package": "./validation/schema-validator"
2896
2826
  }
2897
2827
  }
2898
2828
  ]
2899
2829
  },
2900
2830
  {
2901
2831
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2832
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2903
2833
  "declarations": [
2904
2834
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2835
+ "kind": "function",
2836
+ "name": "formatValidationErrors",
2837
+ "return": {
2838
+ "type": {
2839
+ "text": "string"
2840
+ }
2841
+ },
2842
+ "parameters": [
2843
+ {
2844
+ "name": "errors",
2845
+ "type": {
2846
+ "text": "ValidationError[]"
2847
+ }
2848
+ }
2849
+ ],
2850
+ "description": "Formats validation errors into a user-friendly message."
2851
+ },
2852
+ {
2853
+ "kind": "function",
2854
+ "name": "showCriteriaError",
2855
+ "return": {
2856
+ "type": {
2857
+ "text": "void"
2858
+ }
2859
+ },
2860
+ "parameters": [
2861
+ {
2862
+ "name": "title",
2863
+ "type": {
2864
+ "text": "string"
2865
+ },
2866
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2867
+ },
2868
+ {
2869
+ "name": "body",
2870
+ "type": {
2871
+ "text": "string"
2872
+ },
2873
+ "description": "Error message to display"
2874
+ },
2875
+ {
2876
+ "name": "tagName",
2877
+ "type": {
2878
+ "text": "string"
2879
+ },
2880
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2881
+ }
2882
+ ],
2883
+ "description": "Shows a criteria error as a toast notification."
2908
2884
  }
2909
2885
  ],
2910
2886
  "exports": [
2911
2887
  {
2912
2888
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
2889
+ "name": "formatValidationErrors",
2914
2890
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2891
+ "name": "formatValidationErrors",
2892
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "js",
2897
+ "name": "showCriteriaError",
2898
+ "declaration": {
2899
+ "name": "showCriteriaError",
2900
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2901
+ }
2902
+ }
2903
+ ]
2904
+ },
2905
+ {
2906
+ "kind": "javascript-module",
2907
+ "path": "src/accordion/accordion.styles.ts",
2908
+ "declarations": [
2909
+ {
2910
+ "kind": "function",
2911
+ "name": "foundationAccordionStyles",
2912
+ "return": {
2913
+ "type": {
2914
+ "text": "ElementStyles"
2915
+ }
2916
+ },
2917
+ "parameters": [
2918
+ {
2919
+ "name": "context",
2920
+ "type": {
2921
+ "text": "ElementDefinitionContext"
2922
+ }
2923
+ },
2924
+ {
2925
+ "name": "definition",
2926
+ "type": {
2927
+ "text": "FoundationElementDefinition"
2928
+ }
2929
+ }
2930
+ ]
2931
+ }
2932
+ ],
2933
+ "exports": [
2934
+ {
2935
+ "kind": "js",
2936
+ "name": "foundationAccordionStyles",
2937
+ "declaration": {
2938
+ "name": "foundationAccordionStyles",
2939
+ "module": "src/accordion/accordion.styles.ts"
2917
2940
  }
2918
2941
  }
2919
2942
  ]
2920
2943
  },
2921
2944
  {
2922
2945
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2946
+ "path": "src/accordion/accordion.template.ts",
2924
2947
  "declarations": [
2925
2948
  {
2926
- "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
2928
- "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
2949
+ "kind": "function",
2950
+ "name": "foundationAccordionTemplate",
2951
+ "return": {
2952
+ "type": {
2953
+ "text": "ViewTemplate<Accordion>"
2954
+ }
2930
2955
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2956
+ "parameters": [
2957
+ {
2958
+ "name": "context",
2959
+ "type": {
2960
+ "text": "ElementDefinitionContext"
2961
+ }
2962
+ },
2963
+ {
2964
+ "name": "definition",
2965
+ "type": {
2966
+ "text": "FoundationElementDefinition"
2967
+ }
2968
+ }
2969
+ ]
2932
2970
  }
2933
2971
  ],
2934
2972
  "exports": [
2935
2973
  {
2936
2974
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
2975
+ "name": "foundationAccordionTemplate",
2938
2976
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2977
+ "name": "foundationAccordionTemplate",
2978
+ "module": "src/accordion/accordion.template.ts"
2941
2979
  }
2942
2980
  }
2943
2981
  ]
2944
2982
  },
2945
2983
  {
2946
2984
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2985
+ "path": "src/accordion/accordion.ts",
2948
2986
  "declarations": [
2949
2987
  {
2950
2988
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
2953
- "members": [
2989
+ "description": "",
2990
+ "name": "Accordion",
2991
+ "superclass": {
2992
+ "name": "FASTAccordion",
2993
+ "package": "@microsoft/fast-foundation"
2994
+ },
2995
+ "tagName": "%%prefix%%-accordion",
2996
+ "customElement": true,
2997
+ "attributes": [
2954
2998
  {
2955
- "kind": "field",
2956
- "name": "aiProvider",
2999
+ "name": "expand-mode",
2957
3000
  "type": {
2958
- "text": "AIProvider"
3001
+ "text": "AccordionExpandMode"
3002
+ },
3003
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3004
+ "fieldName": "expandmode",
3005
+ "inheritedFrom": {
3006
+ "name": "Accordion",
3007
+ "module": "src/accordion/accordion.ts"
2959
3008
  }
2960
- },
3009
+ }
3010
+ ],
3011
+ "members": [
2961
3012
  {
2962
3013
  "kind": "field",
2963
- "name": "placeholder",
3014
+ "name": "expandmode",
2964
3015
  "type": {
2965
- "text": "string"
3016
+ "text": "AccordionExpandMode"
2966
3017
  },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2972
- "type": {
2973
- "text": "boolean"
3018
+ "privacy": "public",
3019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3020
+ "inheritedFrom": {
3021
+ "name": "Accordion",
3022
+ "module": "src/accordion/accordion.ts"
2974
3023
  }
2975
3024
  },
2976
3025
  {
2977
3026
  "kind": "field",
2978
- "name": "mode",
3027
+ "name": "activeid",
2979
3028
  "type": {
2980
- "text": "'append' | 'replace'"
3029
+ "text": "string | null"
2981
3030
  },
2982
- "default": "'replace'"
3031
+ "privacy": "private",
3032
+ "inheritedFrom": {
3033
+ "name": "Accordion",
3034
+ "module": "src/accordion/accordion.ts"
3035
+ }
2983
3036
  },
2984
3037
  {
2985
3038
  "kind": "field",
2986
- "name": "inputValue",
3039
+ "name": "activeItemIndex",
2987
3040
  "type": {
2988
- "text": "string"
3041
+ "text": "number"
2989
3042
  },
2990
- "default": "''"
3043
+ "privacy": "private",
3044
+ "default": "0",
3045
+ "inheritedFrom": {
3046
+ "name": "Accordion",
3047
+ "module": "src/accordion/accordion.ts"
3048
+ }
2991
3049
  },
2992
3050
  {
2993
3051
  "kind": "field",
2994
- "name": "isInterpreting",
3052
+ "name": "accordionIds",
2995
3053
  "type": {
2996
- "text": "boolean"
3054
+ "text": "Array<string | null>"
2997
3055
  },
2998
- "default": "false"
3056
+ "privacy": "private",
3057
+ "inheritedFrom": {
3058
+ "name": "Accordion",
3059
+ "module": "src/accordion/accordion.ts"
3060
+ }
2999
3061
  },
3000
3062
  {
3001
3063
  "kind": "field",
3002
- "name": "lastValidCriteria",
3003
- "type": {
3004
- "text": "string | null"
3005
- },
3006
- "default": "null"
3064
+ "name": "change",
3065
+ "privacy": "private",
3066
+ "inheritedFrom": {
3067
+ "name": "Accordion",
3068
+ "module": "src/accordion/accordion.ts"
3069
+ }
3007
3070
  },
3008
3071
  {
3009
- "kind": "field",
3010
- "name": "fieldMetadata",
3011
- "type": {
3012
- "text": "MetadataDetail[] | string[]"
3072
+ "kind": "method",
3073
+ "name": "findExpandedItem",
3074
+ "privacy": "private",
3075
+ "return": {
3076
+ "type": {
3077
+ "text": "AccordionItem | null"
3078
+ }
3013
3079
  },
3014
- "default": "[]"
3080
+ "inheritedFrom": {
3081
+ "name": "Accordion",
3082
+ "module": "src/accordion/accordion.ts"
3083
+ }
3015
3084
  },
3016
3085
  {
3017
3086
  "kind": "field",
3018
- "name": "isRecording",
3019
- "type": {
3020
- "text": "boolean"
3021
- },
3022
- "default": "false"
3087
+ "name": "setItems",
3088
+ "privacy": "private",
3089
+ "inheritedFrom": {
3090
+ "name": "Accordion",
3091
+ "module": "src/accordion/accordion.ts"
3092
+ }
3023
3093
  },
3024
3094
  {
3025
- "kind": "field",
3026
- "name": "textAreaRef",
3027
- "type": {
3028
- "text": "HTMLTextAreaElement"
3095
+ "kind": "method",
3096
+ "name": "resetItems",
3097
+ "privacy": "private",
3098
+ "return": {
3099
+ "type": {
3100
+ "text": "void"
3101
+ }
3029
3102
  },
3030
- "privacy": "public"
3103
+ "inheritedFrom": {
3104
+ "name": "Accordion",
3105
+ "module": "src/accordion/accordion.ts"
3106
+ }
3031
3107
  },
3032
3108
  {
3033
3109
  "kind": "field",
3034
- "name": "stopRecording",
3035
- "type": {
3036
- "text": "(() => void) | null"
3037
- },
3110
+ "name": "removeItemListeners",
3038
3111
  "privacy": "private",
3039
- "default": "null"
3112
+ "inheritedFrom": {
3113
+ "name": "Accordion",
3114
+ "module": "src/accordion/accordion.ts"
3115
+ }
3040
3116
  },
3041
3117
  {
3042
3118
  "kind": "field",
3043
- "name": "speechApplyDebounceTimer",
3044
- "type": {
3045
- "text": "ReturnType<typeof setTimeout> | null"
3046
- },
3119
+ "name": "activeItemChange",
3047
3120
  "privacy": "private",
3048
- "default": "null"
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
3049
3125
  },
3050
3126
  {
3051
- "kind": "field",
3052
- "name": "baseInputForAppend",
3053
- "type": {
3054
- "text": "string"
3055
- },
3127
+ "kind": "method",
3128
+ "name": "getItemIds",
3056
3129
  "privacy": "private",
3057
- "default": "''"
3058
- },
3059
- {
3060
- "kind": "field",
3061
- "name": "speechAvailable",
3062
- "type": {
3063
- "text": "boolean"
3130
+ "return": {
3131
+ "type": {
3132
+ "text": "Array<string | null>"
3133
+ }
3064
3134
  },
3065
- "readonly": true
3135
+ "inheritedFrom": {
3136
+ "name": "Accordion",
3137
+ "module": "src/accordion/accordion.ts"
3138
+ }
3066
3139
  },
3067
3140
  {
3068
3141
  "kind": "method",
3069
- "name": "handleSubmit"
3142
+ "name": "isSingleExpandMode",
3143
+ "privacy": "private",
3144
+ "return": {
3145
+ "type": {
3146
+ "text": "boolean"
3147
+ }
3148
+ },
3149
+ "inheritedFrom": {
3150
+ "name": "Accordion",
3151
+ "module": "src/accordion/accordion.ts"
3152
+ }
3070
3153
  },
3071
3154
  {
3072
- "kind": "method",
3073
- "name": "handleBlur"
3155
+ "kind": "field",
3156
+ "name": "handleItemKeyDown",
3157
+ "privacy": "private",
3158
+ "inheritedFrom": {
3159
+ "name": "Accordion",
3160
+ "module": "src/accordion/accordion.ts"
3161
+ }
3074
3162
  },
3075
3163
  {
3076
- "kind": "method",
3077
- "name": "clear"
3164
+ "kind": "field",
3165
+ "name": "handleItemFocus",
3166
+ "privacy": "private",
3167
+ "inheritedFrom": {
3168
+ "name": "Accordion",
3169
+ "module": "src/accordion/accordion.ts"
3170
+ }
3078
3171
  },
3079
3172
  {
3080
3173
  "kind": "method",
3081
- "name": "toggleSpeechInput"
3174
+ "name": "adjust",
3175
+ "privacy": "private",
3176
+ "return": {
3177
+ "type": {
3178
+ "text": "void"
3179
+ }
3180
+ },
3181
+ "parameters": [
3182
+ {
3183
+ "name": "adjustment",
3184
+ "type": {
3185
+ "text": "number"
3186
+ }
3187
+ }
3188
+ ],
3189
+ "inheritedFrom": {
3190
+ "name": "Accordion",
3191
+ "module": "src/accordion/accordion.ts"
3192
+ }
3082
3193
  },
3083
3194
  {
3084
3195
  "kind": "method",
3085
- "name": "clearSpeechApplyDebounce",
3086
- "privacy": "private"
3196
+ "name": "focusItem",
3197
+ "privacy": "private",
3198
+ "return": {
3199
+ "type": {
3200
+ "text": "void"
3201
+ }
3202
+ },
3203
+ "inheritedFrom": {
3204
+ "name": "Accordion",
3205
+ "module": "src/accordion/accordion.ts"
3206
+ }
3087
3207
  },
3088
3208
  {
3089
3209
  "kind": "field",
@@ -3199,56 +3319,26 @@
3199
3319
  ],
3200
3320
  "events": [
3201
3321
  {
3202
- "description": "Fired when interpreted criteria is applied or cleared",
3203
- "name": "criteria-changed"
3204
- },
3205
- {
3206
- "description": "Fired when interpreted criteria contains invalid clauses",
3207
- "name": "validation-errors"
3208
- }
3209
- ],
3210
- "attributes": [
3211
- {
3212
- "name": "placeholder",
3213
- "type": {
3214
- "text": "string"
3215
- },
3216
- "default": "'Describe your search criteria in natural language...'",
3217
- "fieldName": "placeholder"
3218
- },
3219
- {
3220
- "type": {
3221
- "text": "boolean"
3222
- },
3223
- "fieldName": "disabled"
3224
- },
3225
- {
3226
- "name": "mode",
3227
- "type": {
3228
- "text": "'append' | 'replace'"
3229
- },
3230
- "default": "'replace'",
3231
- "fieldName": "mode"
3322
+ "description": "Fires a custom 'change' event when the active item changes",
3323
+ "name": "change",
3324
+ "inheritedFrom": {
3325
+ "name": "Accordion",
3326
+ "module": "src/accordion/accordion.ts"
3327
+ }
3232
3328
  }
3233
- ],
3234
- "superclass": {
3235
- "name": "FoundationElement",
3236
- "package": "@microsoft/fast-foundation"
3237
- },
3238
- "tagName": "%%prefix%%-ai-criteria-search",
3239
- "customElement": true
3329
+ ]
3240
3330
  },
3241
3331
  {
3242
3332
  "kind": "variable",
3243
- "name": "foundationAiCriteriaSearchShadowOptions",
3333
+ "name": "foundationAccordionShadowOptions",
3244
3334
  "type": {
3245
3335
  "text": "ShadowRootInit"
3246
3336
  },
3247
- "default": "undefined"
3337
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3248
3338
  },
3249
3339
  {
3250
3340
  "kind": "variable",
3251
- "name": "defaultAiCriteriaSearchConfig",
3341
+ "name": "defaultAccordionConfig",
3252
3342
  "type": {
3253
3343
  "text": "object"
3254
3344
  },
@@ -3256,103 +3346,57 @@
3256
3346
  },
3257
3347
  {
3258
3348
  "kind": "variable",
3259
- "name": "foundationAiCriteriaSearch"
3349
+ "name": "foundationAccordion",
3350
+ "description": "The Foundation Accordion",
3351
+ "privacy": "public"
3260
3352
  }
3261
3353
  ],
3262
3354
  "exports": [
3263
3355
  {
3264
3356
  "kind": "js",
3265
- "name": "AiCriteriaSearch",
3357
+ "name": "Accordion",
3266
3358
  "declaration": {
3267
- "name": "AiCriteriaSearch",
3268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3359
+ "name": "Accordion",
3360
+ "module": "src/accordion/accordion.ts"
3269
3361
  }
3270
3362
  },
3271
3363
  {
3272
3364
  "kind": "js",
3273
- "name": "foundationAiCriteriaSearchShadowOptions",
3365
+ "name": "foundationAccordionShadowOptions",
3274
3366
  "declaration": {
3275
- "name": "foundationAiCriteriaSearchShadowOptions",
3276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3367
+ "name": "foundationAccordionShadowOptions",
3368
+ "module": "src/accordion/accordion.ts"
3277
3369
  }
3278
3370
  },
3279
3371
  {
3280
3372
  "kind": "js",
3281
- "name": "defaultAiCriteriaSearchConfig",
3373
+ "name": "defaultAccordionConfig",
3282
3374
  "declaration": {
3283
- "name": "defaultAiCriteriaSearchConfig",
3284
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3375
+ "name": "defaultAccordionConfig",
3376
+ "module": "src/accordion/accordion.ts"
3285
3377
  }
3286
3378
  },
3287
3379
  {
3288
3380
  "kind": "js",
3289
- "name": "foundationAiCriteriaSearch",
3381
+ "name": "foundationAccordion",
3290
3382
  "declaration": {
3291
- "name": "foundationAiCriteriaSearch",
3292
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3383
+ "name": "foundationAccordion",
3384
+ "module": "src/accordion/accordion.ts"
3293
3385
  }
3294
3386
  }
3295
3387
  ]
3296
3388
  },
3297
3389
  {
3298
3390
  "kind": "javascript-module",
3299
- "path": "src/ai-criteria-search/index.ts",
3391
+ "path": "src/accordion/index.ts",
3300
3392
  "declarations": [],
3301
3393
  "exports": [
3302
- {
3303
- "kind": "js",
3304
- "name": "AiCriteriaSearch",
3305
- "declaration": {
3306
- "name": "AiCriteriaSearch",
3307
- "module": "./ai-criteria-search"
3308
- }
3309
- },
3310
- {
3311
- "kind": "js",
3312
- "name": "defaultAiCriteriaSearchConfig",
3313
- "declaration": {
3314
- "name": "defaultAiCriteriaSearchConfig",
3315
- "module": "./ai-criteria-search"
3316
- }
3317
- },
3318
- {
3319
- "kind": "js",
3320
- "name": "foundationAiCriteriaSearch",
3321
- "declaration": {
3322
- "name": "foundationAiCriteriaSearch",
3323
- "module": "./ai-criteria-search"
3324
- }
3325
- },
3326
- {
3327
- "kind": "js",
3328
- "name": "foundationAiCriteriaSearchShadowOptions",
3329
- "declaration": {
3330
- "name": "foundationAiCriteriaSearchShadowOptions",
3331
- "module": "./ai-criteria-search"
3332
- }
3333
- },
3334
- {
3335
- "kind": "js",
3336
- "name": "foundationAiCriteriaSearchStyles",
3337
- "declaration": {
3338
- "name": "foundationAiCriteriaSearchStyles",
3339
- "module": "./ai-criteria-search.styles"
3340
- }
3341
- },
3342
- {
3343
- "kind": "js",
3344
- "name": "foundationAiCriteriaSearchTemplate",
3345
- "declaration": {
3346
- "name": "foundationAiCriteriaSearchTemplate",
3347
- "module": "./ai-criteria-search.template"
3348
- }
3349
- },
3350
3394
  {
3351
3395
  "kind": "js",
3352
3396
  "name": "*",
3353
3397
  "declaration": {
3354
3398
  "name": "*",
3355
- "package": "./validation/criteria-ir"
3399
+ "package": "./accordion.template"
3356
3400
  }
3357
3401
  },
3358
3402
  {
@@ -3360,7 +3404,7 @@
3360
3404
  "name": "*",
3361
3405
  "declaration": {
3362
3406
  "name": "*",
3363
- "package": "./validation/operator-map"
3407
+ "package": "./accordion.styles"
3364
3408
  }
3365
3409
  },
3366
3410
  {
@@ -3368,82 +3412,7 @@
3368
3412
  "name": "*",
3369
3413
  "declaration": {
3370
3414
  "name": "*",
3371
- "package": "./validation/schema-validator"
3372
- }
3373
- }
3374
- ]
3375
- },
3376
- {
3377
- "kind": "javascript-module",
3378
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3379
- "declarations": [
3380
- {
3381
- "kind": "function",
3382
- "name": "formatValidationErrors",
3383
- "return": {
3384
- "type": {
3385
- "text": "string"
3386
- }
3387
- },
3388
- "parameters": [
3389
- {
3390
- "name": "errors",
3391
- "type": {
3392
- "text": "ValidationError[]"
3393
- }
3394
- }
3395
- ],
3396
- "description": "Formats validation errors into a user-friendly message."
3397
- },
3398
- {
3399
- "kind": "function",
3400
- "name": "showCriteriaError",
3401
- "return": {
3402
- "type": {
3403
- "text": "void"
3404
- }
3405
- },
3406
- "parameters": [
3407
- {
3408
- "name": "title",
3409
- "type": {
3410
- "text": "string"
3411
- },
3412
- "description": "Notification title (e.g. \"Criteria validation error\")"
3413
- },
3414
- {
3415
- "name": "body",
3416
- "type": {
3417
- "text": "string"
3418
- },
3419
- "description": "Error message to display"
3420
- },
3421
- {
3422
- "name": "tagName",
3423
- "type": {
3424
- "text": "string"
3425
- },
3426
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3427
- }
3428
- ],
3429
- "description": "Shows a criteria error as a toast notification."
3430
- }
3431
- ],
3432
- "exports": [
3433
- {
3434
- "kind": "js",
3435
- "name": "formatValidationErrors",
3436
- "declaration": {
3437
- "name": "formatValidationErrors",
3438
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3439
- }
3440
- },
3441
- {
3442
- "kind": "js",
3443
- "name": "showCriteriaError",
3444
- "declaration": {
3445
- "name": "showCriteriaError",
3446
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3415
+ "package": "./accordion"
3447
3416
  }
3448
3417
  }
3449
3418
  ]
@@ -3887,6 +3856,37 @@
3887
3856
  }
3888
3857
  ]
3889
3858
  },
3859
+ {
3860
+ "kind": "javascript-module",
3861
+ "path": "src/_config/index.ts",
3862
+ "declarations": [],
3863
+ "exports": [
3864
+ {
3865
+ "kind": "js",
3866
+ "name": "*",
3867
+ "declaration": {
3868
+ "name": "*",
3869
+ "package": "./styles"
3870
+ }
3871
+ },
3872
+ {
3873
+ "kind": "js",
3874
+ "name": "*",
3875
+ "declaration": {
3876
+ "name": "*",
3877
+ "package": "./tokens"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "js",
3882
+ "name": "*",
3883
+ "declaration": {
3884
+ "name": "*",
3885
+ "package": "./values"
3886
+ }
3887
+ }
3888
+ ]
3889
+ },
3890
3890
  {
3891
3891
  "kind": "javascript-module",
3892
3892
  "path": "src/anchor/anchor.styles.ts",
@@ -56421,6 +56421,181 @@
56421
56421
  }
56422
56422
  ]
56423
56423
  },
56424
+ {
56425
+ "kind": "javascript-module",
56426
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
56427
+ "declarations": [],
56428
+ "exports": []
56429
+ },
56430
+ {
56431
+ "kind": "javascript-module",
56432
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
56433
+ "declarations": [
56434
+ {
56435
+ "kind": "function",
56436
+ "name": "groupsToCriteria",
56437
+ "return": {
56438
+ "type": {
56439
+ "text": "string"
56440
+ }
56441
+ },
56442
+ "parameters": [
56443
+ {
56444
+ "name": "groups",
56445
+ "type": {
56446
+ "text": "CriteriaGroup[]"
56447
+ }
56448
+ }
56449
+ ],
56450
+ "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."
56451
+ },
56452
+ {
56453
+ "kind": "variable",
56454
+ "name": "STRING_OPERATORS",
56455
+ "type": {
56456
+ "text": "CriteriaOperator[]"
56457
+ },
56458
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
56459
+ },
56460
+ {
56461
+ "kind": "variable",
56462
+ "name": "NUMERIC_OPERATORS",
56463
+ "type": {
56464
+ "text": "CriteriaOperator[]"
56465
+ },
56466
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
56467
+ },
56468
+ {
56469
+ "kind": "variable",
56470
+ "name": "DATE_OPERATORS",
56471
+ "type": {
56472
+ "text": "CriteriaOperator[]"
56473
+ },
56474
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
56475
+ },
56476
+ {
56477
+ "kind": "variable",
56478
+ "name": "DATETIME_OPERATORS",
56479
+ "type": {
56480
+ "text": "CriteriaOperator[]"
56481
+ },
56482
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
56483
+ }
56484
+ ],
56485
+ "exports": [
56486
+ {
56487
+ "kind": "js",
56488
+ "name": "groupsToCriteria",
56489
+ "declaration": {
56490
+ "name": "groupsToCriteria",
56491
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56492
+ }
56493
+ },
56494
+ {
56495
+ "kind": "js",
56496
+ "name": "STRING_OPERATORS",
56497
+ "declaration": {
56498
+ "name": "STRING_OPERATORS",
56499
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56500
+ }
56501
+ },
56502
+ {
56503
+ "kind": "js",
56504
+ "name": "NUMERIC_OPERATORS",
56505
+ "declaration": {
56506
+ "name": "NUMERIC_OPERATORS",
56507
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56508
+ }
56509
+ },
56510
+ {
56511
+ "kind": "js",
56512
+ "name": "DATE_OPERATORS",
56513
+ "declaration": {
56514
+ "name": "DATE_OPERATORS",
56515
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56516
+ }
56517
+ },
56518
+ {
56519
+ "kind": "js",
56520
+ "name": "DATETIME_OPERATORS",
56521
+ "declaration": {
56522
+ "name": "DATETIME_OPERATORS",
56523
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
56524
+ }
56525
+ }
56526
+ ]
56527
+ },
56528
+ {
56529
+ "kind": "javascript-module",
56530
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
56531
+ "declarations": [
56532
+ {
56533
+ "kind": "function",
56534
+ "name": "validateClauses",
56535
+ "return": {
56536
+ "type": {
56537
+ "text": "ValidationResult"
56538
+ }
56539
+ },
56540
+ "parameters": [
56541
+ {
56542
+ "name": "clauses",
56543
+ "type": {
56544
+ "text": "CriteriaClause[]"
56545
+ }
56546
+ },
56547
+ {
56548
+ "name": "fieldMetadata",
56549
+ "type": {
56550
+ "text": "MetadataDetail[] | string[]"
56551
+ }
56552
+ }
56553
+ ]
56554
+ },
56555
+ {
56556
+ "kind": "function",
56557
+ "name": "validateGroups",
56558
+ "return": {
56559
+ "type": {
56560
+ "text": "GroupsValidationResult"
56561
+ }
56562
+ },
56563
+ "parameters": [
56564
+ {
56565
+ "name": "groups",
56566
+ "type": {
56567
+ "text": "CriteriaGroup[]"
56568
+ }
56569
+ },
56570
+ {
56571
+ "name": "fieldMetadata",
56572
+ "type": {
56573
+ "text": "MetadataDetail[] | string[]"
56574
+ }
56575
+ }
56576
+ ],
56577
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
56578
+ }
56579
+ ],
56580
+ "exports": [
56581
+ {
56582
+ "kind": "js",
56583
+ "name": "validateClauses",
56584
+ "declaration": {
56585
+ "name": "validateClauses",
56586
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
56587
+ }
56588
+ },
56589
+ {
56590
+ "kind": "js",
56591
+ "name": "validateGroups",
56592
+ "declaration": {
56593
+ "name": "validateGroups",
56594
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
56595
+ }
56596
+ }
56597
+ ]
56598
+ },
56424
56599
  {
56425
56600
  "kind": "javascript-module",
56426
56601
  "path": "src/_config/styles/colors.ts",
@@ -57793,181 +57968,6 @@
57793
57968
  "declarations": [],
57794
57969
  "exports": []
57795
57970
  },
57796
- {
57797
- "kind": "javascript-module",
57798
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57799
- "declarations": [],
57800
- "exports": []
57801
- },
57802
- {
57803
- "kind": "javascript-module",
57804
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57805
- "declarations": [
57806
- {
57807
- "kind": "function",
57808
- "name": "groupsToCriteria",
57809
- "return": {
57810
- "type": {
57811
- "text": "string"
57812
- }
57813
- },
57814
- "parameters": [
57815
- {
57816
- "name": "groups",
57817
- "type": {
57818
- "text": "CriteriaGroup[]"
57819
- }
57820
- }
57821
- ],
57822
- "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."
57823
- },
57824
- {
57825
- "kind": "variable",
57826
- "name": "STRING_OPERATORS",
57827
- "type": {
57828
- "text": "CriteriaOperator[]"
57829
- },
57830
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57831
- },
57832
- {
57833
- "kind": "variable",
57834
- "name": "NUMERIC_OPERATORS",
57835
- "type": {
57836
- "text": "CriteriaOperator[]"
57837
- },
57838
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57839
- },
57840
- {
57841
- "kind": "variable",
57842
- "name": "DATE_OPERATORS",
57843
- "type": {
57844
- "text": "CriteriaOperator[]"
57845
- },
57846
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57847
- },
57848
- {
57849
- "kind": "variable",
57850
- "name": "DATETIME_OPERATORS",
57851
- "type": {
57852
- "text": "CriteriaOperator[]"
57853
- },
57854
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57855
- }
57856
- ],
57857
- "exports": [
57858
- {
57859
- "kind": "js",
57860
- "name": "groupsToCriteria",
57861
- "declaration": {
57862
- "name": "groupsToCriteria",
57863
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57864
- }
57865
- },
57866
- {
57867
- "kind": "js",
57868
- "name": "STRING_OPERATORS",
57869
- "declaration": {
57870
- "name": "STRING_OPERATORS",
57871
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57872
- }
57873
- },
57874
- {
57875
- "kind": "js",
57876
- "name": "NUMERIC_OPERATORS",
57877
- "declaration": {
57878
- "name": "NUMERIC_OPERATORS",
57879
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57880
- }
57881
- },
57882
- {
57883
- "kind": "js",
57884
- "name": "DATE_OPERATORS",
57885
- "declaration": {
57886
- "name": "DATE_OPERATORS",
57887
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57888
- }
57889
- },
57890
- {
57891
- "kind": "js",
57892
- "name": "DATETIME_OPERATORS",
57893
- "declaration": {
57894
- "name": "DATETIME_OPERATORS",
57895
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57896
- }
57897
- }
57898
- ]
57899
- },
57900
- {
57901
- "kind": "javascript-module",
57902
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57903
- "declarations": [
57904
- {
57905
- "kind": "function",
57906
- "name": "validateClauses",
57907
- "return": {
57908
- "type": {
57909
- "text": "ValidationResult"
57910
- }
57911
- },
57912
- "parameters": [
57913
- {
57914
- "name": "clauses",
57915
- "type": {
57916
- "text": "CriteriaClause[]"
57917
- }
57918
- },
57919
- {
57920
- "name": "fieldMetadata",
57921
- "type": {
57922
- "text": "MetadataDetail[] | string[]"
57923
- }
57924
- }
57925
- ]
57926
- },
57927
- {
57928
- "kind": "function",
57929
- "name": "validateGroups",
57930
- "return": {
57931
- "type": {
57932
- "text": "GroupsValidationResult"
57933
- }
57934
- },
57935
- "parameters": [
57936
- {
57937
- "name": "groups",
57938
- "type": {
57939
- "text": "CriteriaGroup[]"
57940
- }
57941
- },
57942
- {
57943
- "name": "fieldMetadata",
57944
- "type": {
57945
- "text": "MetadataDetail[] | string[]"
57946
- }
57947
- }
57948
- ],
57949
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57950
- }
57951
- ],
57952
- "exports": [
57953
- {
57954
- "kind": "js",
57955
- "name": "validateClauses",
57956
- "declaration": {
57957
- "name": "validateClauses",
57958
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57959
- }
57960
- },
57961
- {
57962
- "kind": "js",
57963
- "name": "validateGroups",
57964
- "declaration": {
57965
- "name": "validateGroups",
57966
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57967
- }
57968
- }
57969
- ]
57970
- },
57971
57971
  {
57972
57972
  "kind": "javascript-module",
57973
57973
  "path": "src/environment-indicator/utils/configure.ts",