@genesislcap/foundation-ui 14.416.1-alpha-c3adbe7.0 → 14.416.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.
@@ -924,6 +924,551 @@
924
924
  }
925
925
  ]
926
926
  },
927
+ {
928
+ "kind": "javascript-module",
929
+ "path": "src/_common/base-file-component.ts",
930
+ "declarations": [
931
+ {
932
+ "kind": "class",
933
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
934
+ "name": "BaseFileComponent",
935
+ "members": [
936
+ {
937
+ "kind": "field",
938
+ "name": "fileInput",
939
+ "type": {
940
+ "text": "HTMLInputElement"
941
+ },
942
+ "privacy": "public"
943
+ },
944
+ {
945
+ "kind": "field",
946
+ "name": "selectedFile",
947
+ "type": {
948
+ "text": "File | null"
949
+ },
950
+ "privacy": "protected",
951
+ "default": "null"
952
+ },
953
+ {
954
+ "kind": "field",
955
+ "name": "label",
956
+ "type": {
957
+ "text": "string"
958
+ }
959
+ },
960
+ {
961
+ "kind": "field",
962
+ "name": "accept",
963
+ "type": {
964
+ "text": "string"
965
+ },
966
+ "default": "''"
967
+ },
968
+ {
969
+ "kind": "field",
970
+ "name": "fileSizeLimitBytes",
971
+ "default": "10_485_760",
972
+ "type": {
973
+ "text": "number"
974
+ }
975
+ },
976
+ {
977
+ "kind": "field",
978
+ "name": "fileName",
979
+ "type": {
980
+ "text": "string"
981
+ },
982
+ "default": "''"
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "isProcessing",
987
+ "type": {
988
+ "text": "boolean"
989
+ },
990
+ "default": "false"
991
+ },
992
+ {
993
+ "kind": "method",
994
+ "name": "handleClick",
995
+ "privacy": "public",
996
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
997
+ },
998
+ {
999
+ "kind": "method",
1000
+ "name": "onInputChange",
1001
+ "privacy": "public",
1002
+ "parameters": [
1003
+ {
1004
+ "name": "e",
1005
+ "type": {
1006
+ "text": "Event"
1007
+ },
1008
+ "description": "The change event from the file input"
1009
+ }
1010
+ ],
1011
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1012
+ },
1013
+ {
1014
+ "kind": "method",
1015
+ "name": "clearSelection",
1016
+ "privacy": "public",
1017
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1018
+ },
1019
+ {
1020
+ "kind": "method",
1021
+ "name": "getSelectedFile",
1022
+ "privacy": "public",
1023
+ "description": "Gets the currently selected file object",
1024
+ "return": {
1025
+ "type": {
1026
+ "text": ""
1027
+ }
1028
+ }
1029
+ },
1030
+ {
1031
+ "kind": "method",
1032
+ "name": "showError",
1033
+ "privacy": "protected",
1034
+ "parameters": [
1035
+ {
1036
+ "name": "title",
1037
+ "type": {
1038
+ "text": "string"
1039
+ },
1040
+ "description": "The error title"
1041
+ },
1042
+ {
1043
+ "name": "message",
1044
+ "type": {
1045
+ "text": "string"
1046
+ },
1047
+ "description": "The error message"
1048
+ }
1049
+ ],
1050
+ "description": "Shows an error notification using the unified error handling system"
1051
+ },
1052
+ {
1053
+ "kind": "method",
1054
+ "name": "onFileSelected",
1055
+ "privacy": "protected",
1056
+ "return": {
1057
+ "type": {
1058
+ "text": "void"
1059
+ }
1060
+ },
1061
+ "parameters": [
1062
+ {
1063
+ "name": "files",
1064
+ "type": {
1065
+ "text": "File[]"
1066
+ },
1067
+ "description": "The selected file"
1068
+ }
1069
+ ],
1070
+ "description": "Abstract method called when a file is selected"
1071
+ },
1072
+ {
1073
+ "kind": "method",
1074
+ "name": "onFileCleared",
1075
+ "privacy": "protected",
1076
+ "return": {
1077
+ "type": {
1078
+ "text": "void"
1079
+ }
1080
+ },
1081
+ "description": "Abstract method called when file selection is cleared"
1082
+ },
1083
+ {
1084
+ "kind": "field",
1085
+ "name": "_presentation",
1086
+ "type": {
1087
+ "text": "ComponentPresentation | null | undefined"
1088
+ },
1089
+ "privacy": "private",
1090
+ "default": "void 0",
1091
+ "inheritedFrom": {
1092
+ "name": "FoundationElement",
1093
+ "module": "src/foundation-element/foundation-element.ts"
1094
+ }
1095
+ },
1096
+ {
1097
+ "kind": "field",
1098
+ "name": "$presentation",
1099
+ "type": {
1100
+ "text": "ComponentPresentation | null"
1101
+ },
1102
+ "privacy": "public",
1103
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1104
+ "inheritedFrom": {
1105
+ "name": "FoundationElement",
1106
+ "module": "src/foundation-element/foundation-element.ts"
1107
+ }
1108
+ },
1109
+ {
1110
+ "kind": "field",
1111
+ "name": "template",
1112
+ "type": {
1113
+ "text": "ElementViewTemplate | void | null"
1114
+ },
1115
+ "privacy": "public",
1116
+ "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.",
1117
+ "inheritedFrom": {
1118
+ "name": "FoundationElement",
1119
+ "module": "src/foundation-element/foundation-element.ts"
1120
+ }
1121
+ },
1122
+ {
1123
+ "kind": "method",
1124
+ "name": "templateChanged",
1125
+ "privacy": "protected",
1126
+ "return": {
1127
+ "type": {
1128
+ "text": "void"
1129
+ }
1130
+ },
1131
+ "inheritedFrom": {
1132
+ "name": "FoundationElement",
1133
+ "module": "src/foundation-element/foundation-element.ts"
1134
+ }
1135
+ },
1136
+ {
1137
+ "kind": "field",
1138
+ "name": "styles",
1139
+ "type": {
1140
+ "text": "ElementStyles | void | null"
1141
+ },
1142
+ "privacy": "public",
1143
+ "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.",
1144
+ "inheritedFrom": {
1145
+ "name": "FoundationElement",
1146
+ "module": "src/foundation-element/foundation-element.ts"
1147
+ }
1148
+ },
1149
+ {
1150
+ "kind": "method",
1151
+ "name": "stylesChanged",
1152
+ "privacy": "protected",
1153
+ "return": {
1154
+ "type": {
1155
+ "text": "void"
1156
+ }
1157
+ },
1158
+ "inheritedFrom": {
1159
+ "name": "FoundationElement",
1160
+ "module": "src/foundation-element/foundation-element.ts"
1161
+ }
1162
+ },
1163
+ {
1164
+ "kind": "method",
1165
+ "name": "compose",
1166
+ "privacy": "public",
1167
+ "static": true,
1168
+ "return": {
1169
+ "type": {
1170
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1171
+ }
1172
+ },
1173
+ "parameters": [
1174
+ {
1175
+ "name": "this",
1176
+ "type": {
1177
+ "text": "K"
1178
+ }
1179
+ },
1180
+ {
1181
+ "name": "elementDefinition",
1182
+ "type": {
1183
+ "text": "T"
1184
+ },
1185
+ "description": "The definition of the element to create the registry\nfunction for."
1186
+ }
1187
+ ],
1188
+ "description": "Defines an element registry function with a set of element definition defaults.",
1189
+ "inheritedFrom": {
1190
+ "name": "FoundationElement",
1191
+ "module": "src/foundation-element/foundation-element.ts"
1192
+ }
1193
+ }
1194
+ ],
1195
+ "attributes": [
1196
+ {
1197
+ "name": "label",
1198
+ "type": {
1199
+ "text": "string"
1200
+ },
1201
+ "fieldName": "label"
1202
+ },
1203
+ {
1204
+ "name": "accept",
1205
+ "type": {
1206
+ "text": "string"
1207
+ },
1208
+ "default": "''",
1209
+ "fieldName": "accept"
1210
+ },
1211
+ {
1212
+ "name": "file-size-limit-bytes",
1213
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1214
+ "resolveInitializer": {
1215
+ "module": "src/_common/base-file-component.ts"
1216
+ },
1217
+ "fieldName": "fileSizeLimitBytes"
1218
+ }
1219
+ ],
1220
+ "superclass": {
1221
+ "name": "FoundationElement",
1222
+ "package": "@microsoft/fast-foundation"
1223
+ }
1224
+ }
1225
+ ],
1226
+ "exports": [
1227
+ {
1228
+ "kind": "js",
1229
+ "name": "BaseFileComponent",
1230
+ "declaration": {
1231
+ "name": "BaseFileComponent",
1232
+ "module": "src/_common/base-file-component.ts"
1233
+ }
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "kind": "javascript-module",
1239
+ "path": "src/_common/icons.ts",
1240
+ "declarations": [
1241
+ {
1242
+ "kind": "function",
1243
+ "name": "closeIcon",
1244
+ "parameters": [
1245
+ {
1246
+ "name": "slot",
1247
+ "default": "'start'"
1248
+ },
1249
+ {
1250
+ "name": "fill",
1251
+ "default": "'#879ba6'"
1252
+ }
1253
+ ]
1254
+ }
1255
+ ],
1256
+ "exports": [
1257
+ {
1258
+ "kind": "js",
1259
+ "name": "closeIcon",
1260
+ "declaration": {
1261
+ "name": "closeIcon",
1262
+ "module": "src/_common/icons.ts"
1263
+ }
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "kind": "javascript-module",
1269
+ "path": "src/_common/index.ts",
1270
+ "declarations": [],
1271
+ "exports": [
1272
+ {
1273
+ "kind": "js",
1274
+ "name": "*",
1275
+ "declaration": {
1276
+ "name": "*",
1277
+ "package": "./base-file-component"
1278
+ }
1279
+ },
1280
+ {
1281
+ "kind": "js",
1282
+ "name": "*",
1283
+ "declaration": {
1284
+ "name": "*",
1285
+ "package": "./icons"
1286
+ }
1287
+ }
1288
+ ]
1289
+ },
1290
+ {
1291
+ "kind": "javascript-module",
1292
+ "path": "src/accordion/accordion.styles.ts",
1293
+ "declarations": [
1294
+ {
1295
+ "kind": "function",
1296
+ "name": "foundationAccordionStyles",
1297
+ "return": {
1298
+ "type": {
1299
+ "text": "ElementStyles"
1300
+ }
1301
+ },
1302
+ "parameters": [
1303
+ {
1304
+ "name": "context",
1305
+ "type": {
1306
+ "text": "ElementDefinitionContext"
1307
+ }
1308
+ },
1309
+ {
1310
+ "name": "definition",
1311
+ "type": {
1312
+ "text": "FoundationElementDefinition"
1313
+ }
1314
+ }
1315
+ ]
1316
+ }
1317
+ ],
1318
+ "exports": [
1319
+ {
1320
+ "kind": "js",
1321
+ "name": "foundationAccordionStyles",
1322
+ "declaration": {
1323
+ "name": "foundationAccordionStyles",
1324
+ "module": "src/accordion/accordion.styles.ts"
1325
+ }
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "kind": "javascript-module",
1331
+ "path": "src/accordion/accordion.template.ts",
1332
+ "declarations": [
1333
+ {
1334
+ "kind": "function",
1335
+ "name": "foundationAccordionTemplate",
1336
+ "return": {
1337
+ "type": {
1338
+ "text": "ViewTemplate<Accordion>"
1339
+ }
1340
+ },
1341
+ "parameters": [
1342
+ {
1343
+ "name": "context",
1344
+ "type": {
1345
+ "text": "ElementDefinitionContext"
1346
+ }
1347
+ },
1348
+ {
1349
+ "name": "definition",
1350
+ "type": {
1351
+ "text": "FoundationElementDefinition"
1352
+ }
1353
+ }
1354
+ ]
1355
+ }
1356
+ ],
1357
+ "exports": [
1358
+ {
1359
+ "kind": "js",
1360
+ "name": "foundationAccordionTemplate",
1361
+ "declaration": {
1362
+ "name": "foundationAccordionTemplate",
1363
+ "module": "src/accordion/accordion.template.ts"
1364
+ }
1365
+ }
1366
+ ]
1367
+ },
1368
+ {
1369
+ "kind": "javascript-module",
1370
+ "path": "src/accordion/accordion.ts",
1371
+ "declarations": [
1372
+ {
1373
+ "kind": "class",
1374
+ "description": "",
1375
+ "name": "Accordion",
1376
+ "superclass": {
1377
+ "name": "FASTAccordion",
1378
+ "package": "@microsoft/fast-foundation"
1379
+ },
1380
+ "tagName": "%%prefix%%-accordion",
1381
+ "customElement": true
1382
+ },
1383
+ {
1384
+ "kind": "variable",
1385
+ "name": "foundationAccordionShadowOptions",
1386
+ "type": {
1387
+ "text": "ShadowRootInit"
1388
+ },
1389
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1390
+ },
1391
+ {
1392
+ "kind": "variable",
1393
+ "name": "defaultAccordionConfig",
1394
+ "type": {
1395
+ "text": "object"
1396
+ },
1397
+ "default": "{}"
1398
+ },
1399
+ {
1400
+ "kind": "variable",
1401
+ "name": "foundationAccordion",
1402
+ "description": "The Foundation Accordion",
1403
+ "privacy": "public"
1404
+ }
1405
+ ],
1406
+ "exports": [
1407
+ {
1408
+ "kind": "js",
1409
+ "name": "Accordion",
1410
+ "declaration": {
1411
+ "name": "Accordion",
1412
+ "module": "src/accordion/accordion.ts"
1413
+ }
1414
+ },
1415
+ {
1416
+ "kind": "js",
1417
+ "name": "foundationAccordionShadowOptions",
1418
+ "declaration": {
1419
+ "name": "foundationAccordionShadowOptions",
1420
+ "module": "src/accordion/accordion.ts"
1421
+ }
1422
+ },
1423
+ {
1424
+ "kind": "js",
1425
+ "name": "defaultAccordionConfig",
1426
+ "declaration": {
1427
+ "name": "defaultAccordionConfig",
1428
+ "module": "src/accordion/accordion.ts"
1429
+ }
1430
+ },
1431
+ {
1432
+ "kind": "js",
1433
+ "name": "foundationAccordion",
1434
+ "declaration": {
1435
+ "name": "foundationAccordion",
1436
+ "module": "src/accordion/accordion.ts"
1437
+ }
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ "kind": "javascript-module",
1443
+ "path": "src/accordion/index.ts",
1444
+ "declarations": [],
1445
+ "exports": [
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./accordion.template"
1452
+ }
1453
+ },
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "*",
1457
+ "declaration": {
1458
+ "name": "*",
1459
+ "package": "./accordion.styles"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "*",
1465
+ "declaration": {
1466
+ "name": "*",
1467
+ "package": "./accordion"
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
927
1472
  {
928
1473
  "kind": "javascript-module",
929
1474
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1318,6 +1863,37 @@
1318
1863
  }
1319
1864
  ]
1320
1865
  },
1866
+ {
1867
+ "kind": "javascript-module",
1868
+ "path": "src/_config/index.ts",
1869
+ "declarations": [],
1870
+ "exports": [
1871
+ {
1872
+ "kind": "js",
1873
+ "name": "*",
1874
+ "declaration": {
1875
+ "name": "*",
1876
+ "package": "./styles"
1877
+ }
1878
+ },
1879
+ {
1880
+ "kind": "js",
1881
+ "name": "*",
1882
+ "declaration": {
1883
+ "name": "*",
1884
+ "package": "./tokens"
1885
+ }
1886
+ },
1887
+ {
1888
+ "kind": "js",
1889
+ "name": "*",
1890
+ "declaration": {
1891
+ "name": "*",
1892
+ "package": "./values"
1893
+ }
1894
+ }
1895
+ ]
1896
+ },
1321
1897
  {
1322
1898
  "kind": "javascript-module",
1323
1899
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1510,492 +2086,13 @@
1510
2086
  "kind": "field",
1511
2087
  "name": "name",
1512
2088
  "type": {
1513
- "text": "string"
1514
- },
1515
- "default": "'Actions'"
1516
- },
1517
- {
1518
- "kind": "field",
1519
- "name": "open",
1520
- "type": {
1521
- "text": "boolean"
1522
- },
1523
- "default": "false"
1524
- },
1525
- {
1526
- "kind": "field",
1527
- "name": "buttonAppearance",
1528
- "type": {
1529
- "text": "string"
1530
- }
1531
- },
1532
- {
1533
- "kind": "field",
1534
- "name": "hideDisabled",
1535
- "type": {
1536
- "text": "boolean"
1537
- },
1538
- "default": "false"
1539
- },
1540
- {
1541
- "kind": "field",
1542
- "name": "hideMenuSingleOption",
1543
- "type": {
1544
- "text": "boolean"
1545
- },
1546
- "default": "false"
1547
- },
1548
- {
1549
- "kind": "field",
1550
- "name": "singleOption",
1551
- "type": {
1552
- "text": "ActionMenuItem"
1553
- }
1554
- },
1555
- {
1556
- "kind": "field",
1557
- "name": "actionsMenu",
1558
- "type": {
1559
- "text": "HTMLElement"
1560
- }
1561
- },
1562
- {
1563
- "kind": "method",
1564
- "name": "definitionChanged",
1565
- "privacy": "protected",
1566
- "parameters": [
1567
- {
1568
- "name": "oldValue",
1569
- "type": {
1570
- "text": "any"
1571
- }
1572
- },
1573
- {
1574
- "name": "newValue",
1575
- "type": {
1576
- "text": "any"
1577
- }
1578
- }
1579
- ]
1580
- },
1581
- {
1582
- "kind": "method",
1583
- "name": "openChanged",
1584
- "privacy": "protected"
1585
- },
1586
- {
1587
- "kind": "method",
1588
- "name": "toggleActionsMenuVisibility"
1589
- },
1590
- {
1591
- "kind": "method",
1592
- "name": "onActionMenuItemClick",
1593
- "parameters": [
1594
- {
1595
- "name": "callback",
1596
- "type": {
1597
- "text": "(rowData) => void | any"
1598
- }
1599
- }
1600
- ]
1601
- },
1602
- {
1603
- "kind": "field",
1604
- "name": "allActions",
1605
- "type": {
1606
- "text": "ActionMenuItem[]"
1607
- },
1608
- "readonly": true
1609
- },
1610
- {
1611
- "kind": "field",
1612
- "name": "rowData",
1613
- "readonly": true
1614
- },
1615
- {
1616
- "kind": "method",
1617
- "name": "getLabel",
1618
- "parameters": [
1619
- {
1620
- "name": "name",
1621
- "type": {
1622
- "text": "string | ((rowData: any) => string)"
1623
- }
1624
- }
1625
- ]
1626
- },
1627
- {
1628
- "kind": "method",
1629
- "name": "getTemplate",
1630
- "parameters": [
1631
- {
1632
- "name": "prefix",
1633
- "type": {
1634
- "text": "string"
1635
- }
1636
- }
1637
- ]
1638
- },
1639
- {
1640
- "kind": "field",
1641
- "name": "_presentation",
1642
- "type": {
1643
- "text": "ComponentPresentation | null | undefined"
1644
- },
1645
- "privacy": "private",
1646
- "default": "void 0",
1647
- "inheritedFrom": {
1648
- "name": "FoundationElement",
1649
- "module": "src/foundation-element/foundation-element.ts"
1650
- }
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "$presentation",
1655
- "type": {
1656
- "text": "ComponentPresentation | null"
1657
- },
1658
- "privacy": "public",
1659
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1660
- "inheritedFrom": {
1661
- "name": "FoundationElement",
1662
- "module": "src/foundation-element/foundation-element.ts"
1663
- }
1664
- },
1665
- {
1666
- "kind": "field",
1667
- "name": "template",
1668
- "type": {
1669
- "text": "ElementViewTemplate | void | null"
1670
- },
1671
- "privacy": "public",
1672
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1673
- "inheritedFrom": {
1674
- "name": "FoundationElement",
1675
- "module": "src/foundation-element/foundation-element.ts"
1676
- }
1677
- },
1678
- {
1679
- "kind": "method",
1680
- "name": "templateChanged",
1681
- "privacy": "protected",
1682
- "return": {
1683
- "type": {
1684
- "text": "void"
1685
- }
1686
- },
1687
- "inheritedFrom": {
1688
- "name": "FoundationElement",
1689
- "module": "src/foundation-element/foundation-element.ts"
1690
- }
1691
- },
1692
- {
1693
- "kind": "field",
1694
- "name": "styles",
1695
- "type": {
1696
- "text": "ElementStyles | void | null"
1697
- },
1698
- "privacy": "public",
1699
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1700
- "inheritedFrom": {
1701
- "name": "FoundationElement",
1702
- "module": "src/foundation-element/foundation-element.ts"
1703
- }
1704
- },
1705
- {
1706
- "kind": "method",
1707
- "name": "stylesChanged",
1708
- "privacy": "protected",
1709
- "return": {
1710
- "type": {
1711
- "text": "void"
1712
- }
1713
- },
1714
- "inheritedFrom": {
1715
- "name": "FoundationElement",
1716
- "module": "src/foundation-element/foundation-element.ts"
1717
- }
1718
- },
1719
- {
1720
- "kind": "method",
1721
- "name": "compose",
1722
- "privacy": "public",
1723
- "static": true,
1724
- "return": {
1725
- "type": {
1726
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1727
- }
1728
- },
1729
- "parameters": [
1730
- {
1731
- "name": "this",
1732
- "type": {
1733
- "text": "K"
1734
- }
1735
- },
1736
- {
1737
- "name": "elementDefinition",
1738
- "type": {
1739
- "text": "T"
1740
- },
1741
- "description": "The definition of the element to create the registry\nfunction for."
1742
- }
1743
- ],
1744
- "description": "Defines an element registry function with a set of element definition defaults.",
1745
- "inheritedFrom": {
1746
- "name": "FoundationElement",
1747
- "module": "src/foundation-element/foundation-element.ts"
1748
- }
1749
- }
1750
- ],
1751
- "attributes": [
1752
- {
1753
- "name": "is-vertical",
1754
- "type": {
1755
- "text": "boolean"
1756
- },
1757
- "default": "false",
1758
- "fieldName": "isVertical"
1759
- },
1760
- {
1761
- "name": "add-default-actions",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "default": "true",
1766
- "fieldName": "addDefaultActions"
1767
- },
1768
- {
1769
- "name": "auto-close-on-action",
1770
- "type": {
1771
- "text": "boolean"
1772
- },
1773
- "default": "true",
1774
- "fieldName": "autoCloseOnAction"
1775
- },
1776
- {
1777
- "name": "name",
1778
- "type": {
1779
- "text": "string"
1780
- },
1781
- "default": "'Actions'",
1782
- "fieldName": "name"
1783
- },
1784
- {
1785
- "name": "open",
1786
- "type": {
1787
- "text": "boolean"
1788
- },
1789
- "default": "false",
1790
- "fieldName": "open"
1791
- },
1792
- {
1793
- "name": "buttonAppearance",
1794
- "type": {
1795
- "text": "string"
1796
- },
1797
- "fieldName": "buttonAppearance"
1798
- },
1799
- {
1800
- "name": "hide-disabled",
1801
- "type": {
1802
- "text": "boolean"
1803
- },
1804
- "default": "false",
1805
- "fieldName": "hideDisabled"
1806
- },
1807
- {
1808
- "name": "hide-menu-single-option",
1809
- "type": {
1810
- "text": "boolean"
1811
- },
1812
- "default": "false",
1813
- "fieldName": "hideMenuSingleOption"
1814
- }
1815
- ],
1816
- "superclass": {
1817
- "name": "FoundationElement",
1818
- "package": "@microsoft/fast-foundation"
1819
- },
1820
- "tagName": "%%prefix%%-actions-menu",
1821
- "customElement": true
1822
- },
1823
- {
1824
- "kind": "variable",
1825
- "name": "foundationActionsMenu",
1826
- "description": "The Foundation Actions Menu",
1827
- "privacy": "public"
1828
- }
1829
- ],
1830
- "exports": [
1831
- {
1832
- "kind": "js",
1833
- "name": "ActionsMenu",
1834
- "declaration": {
1835
- "name": "ActionsMenu",
1836
- "module": "src/actions-menu/actions-menu.ts"
1837
- }
1838
- },
1839
- {
1840
- "kind": "js",
1841
- "name": "foundationActionsMenu",
1842
- "declaration": {
1843
- "name": "foundationActionsMenu",
1844
- "module": "src/actions-menu/actions-menu.ts"
1845
- }
1846
- }
1847
- ]
1848
- },
1849
- {
1850
- "kind": "javascript-module",
1851
- "path": "src/actions-menu/index.ts",
1852
- "declarations": [],
1853
- "exports": [
1854
- {
1855
- "kind": "js",
1856
- "name": "*",
1857
- "declaration": {
1858
- "name": "*",
1859
- "package": "./actions-menu.styles"
1860
- }
1861
- },
1862
- {
1863
- "kind": "js",
1864
- "name": "*",
1865
- "declaration": {
1866
- "name": "*",
1867
- "package": "./actions-menu.template"
1868
- }
1869
- },
1870
- {
1871
- "kind": "js",
1872
- "name": "*",
1873
- "declaration": {
1874
- "name": "*",
1875
- "package": "./actions-menu"
1876
- }
1877
- }
1878
- ]
1879
- },
1880
- {
1881
- "kind": "javascript-module",
1882
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1883
- "declarations": [
1884
- {
1885
- "kind": "variable",
1886
- "name": "foundationAiCriteriaSearchStyles",
1887
- "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`"
1888
- }
1889
- ],
1890
- "exports": [
1891
- {
1892
- "kind": "js",
1893
- "name": "foundationAiCriteriaSearchStyles",
1894
- "declaration": {
1895
- "name": "foundationAiCriteriaSearchStyles",
1896
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1897
- }
1898
- }
1899
- ]
1900
- },
1901
- {
1902
- "kind": "javascript-module",
1903
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1904
- "declarations": [
1905
- {
1906
- "kind": "variable",
1907
- "name": "foundationAiCriteriaSearchTemplate",
1908
- "type": {
1909
- "text": "ViewTemplate<AiCriteriaSearch>"
1910
- },
1911
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1912
- }
1913
- ],
1914
- "exports": [
1915
- {
1916
- "kind": "js",
1917
- "name": "foundationAiCriteriaSearchTemplate",
1918
- "declaration": {
1919
- "name": "foundationAiCriteriaSearchTemplate",
1920
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1921
- }
1922
- }
1923
- ]
1924
- },
1925
- {
1926
- "kind": "javascript-module",
1927
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1928
- "declarations": [
1929
- {
1930
- "kind": "class",
1931
- "description": "",
1932
- "name": "AiCriteriaSearch",
1933
- "members": [
1934
- {
1935
- "kind": "field",
1936
- "name": "aiProvider",
1937
- "type": {
1938
- "text": "AIProvider"
1939
- }
1940
- },
1941
- {
1942
- "kind": "field",
1943
- "name": "placeholder",
1944
- "type": {
1945
- "text": "string"
1946
- },
1947
- "default": "'Describe your search criteria in natural language...'"
1948
- },
1949
- {
1950
- "kind": "field",
1951
- "name": "disabled",
1952
- "type": {
1953
- "text": "boolean"
1954
- }
1955
- },
1956
- {
1957
- "kind": "field",
1958
- "name": "mode",
1959
- "type": {
1960
- "text": "'append' | 'replace'"
1961
- },
1962
- "default": "'replace'"
1963
- },
1964
- {
1965
- "kind": "field",
1966
- "name": "inputValue",
1967
- "type": {
1968
- "text": "string"
1969
- },
1970
- "default": "''"
1971
- },
1972
- {
1973
- "kind": "field",
1974
- "name": "isInterpreting",
1975
- "type": {
1976
- "text": "boolean"
1977
- },
1978
- "default": "false"
1979
- },
1980
- {
1981
- "kind": "field",
1982
- "name": "lastValidCriteria",
1983
- "type": {
1984
- "text": "string | null"
1985
- },
1986
- "default": "null"
1987
- },
1988
- {
1989
- "kind": "field",
1990
- "name": "fieldMetadata",
1991
- "type": {
1992
- "text": "MetadataDetail[] | string[]"
2089
+ "text": "string"
1993
2090
  },
1994
- "default": "[]"
2091
+ "default": "'Actions'"
1995
2092
  },
1996
2093
  {
1997
2094
  "kind": "field",
1998
- "name": "isRecording",
2095
+ "name": "open",
1999
2096
  "type": {
2000
2097
  "text": "boolean"
2001
2098
  },
@@ -2003,67 +2100,117 @@
2003
2100
  },
2004
2101
  {
2005
2102
  "kind": "field",
2006
- "name": "textAreaRef",
2103
+ "name": "buttonAppearance",
2007
2104
  "type": {
2008
- "text": "HTMLTextAreaElement"
2009
- },
2010
- "privacy": "public"
2105
+ "text": "string"
2106
+ }
2011
2107
  },
2012
2108
  {
2013
2109
  "kind": "field",
2014
- "name": "stopRecording",
2110
+ "name": "hideDisabled",
2015
2111
  "type": {
2016
- "text": "(() => void) | null"
2112
+ "text": "boolean"
2017
2113
  },
2018
- "privacy": "private",
2019
- "default": "null"
2114
+ "default": "false"
2020
2115
  },
2021
2116
  {
2022
2117
  "kind": "field",
2023
- "name": "speechApplyDebounceTimer",
2118
+ "name": "hideMenuSingleOption",
2024
2119
  "type": {
2025
- "text": "ReturnType<typeof setTimeout> | null"
2120
+ "text": "boolean"
2026
2121
  },
2027
- "privacy": "private",
2028
- "default": "null"
2122
+ "default": "false"
2029
2123
  },
2030
2124
  {
2031
2125
  "kind": "field",
2032
- "name": "baseInputForAppend",
2126
+ "name": "singleOption",
2033
2127
  "type": {
2034
- "text": "string"
2035
- },
2036
- "privacy": "private",
2037
- "default": "''"
2128
+ "text": "ActionMenuItem"
2129
+ }
2038
2130
  },
2039
2131
  {
2040
2132
  "kind": "field",
2041
- "name": "speechAvailable",
2133
+ "name": "actionsMenu",
2042
2134
  "type": {
2043
- "text": "boolean"
2044
- },
2045
- "readonly": true
2135
+ "text": "HTMLElement"
2136
+ }
2046
2137
  },
2047
2138
  {
2048
2139
  "kind": "method",
2049
- "name": "handleSubmit"
2140
+ "name": "definitionChanged",
2141
+ "privacy": "protected",
2142
+ "parameters": [
2143
+ {
2144
+ "name": "oldValue",
2145
+ "type": {
2146
+ "text": "any"
2147
+ }
2148
+ },
2149
+ {
2150
+ "name": "newValue",
2151
+ "type": {
2152
+ "text": "any"
2153
+ }
2154
+ }
2155
+ ]
2050
2156
  },
2051
2157
  {
2052
2158
  "kind": "method",
2053
- "name": "handleBlur"
2159
+ "name": "openChanged",
2160
+ "privacy": "protected"
2054
2161
  },
2055
2162
  {
2056
2163
  "kind": "method",
2057
- "name": "clear"
2164
+ "name": "toggleActionsMenuVisibility"
2058
2165
  },
2059
2166
  {
2060
2167
  "kind": "method",
2061
- "name": "toggleSpeechInput"
2168
+ "name": "onActionMenuItemClick",
2169
+ "parameters": [
2170
+ {
2171
+ "name": "callback",
2172
+ "type": {
2173
+ "text": "(rowData) => void | any"
2174
+ }
2175
+ }
2176
+ ]
2177
+ },
2178
+ {
2179
+ "kind": "field",
2180
+ "name": "allActions",
2181
+ "type": {
2182
+ "text": "ActionMenuItem[]"
2183
+ },
2184
+ "readonly": true
2185
+ },
2186
+ {
2187
+ "kind": "field",
2188
+ "name": "rowData",
2189
+ "readonly": true
2062
2190
  },
2063
2191
  {
2064
2192
  "kind": "method",
2065
- "name": "clearSpeechApplyDebounce",
2066
- "privacy": "private"
2193
+ "name": "getLabel",
2194
+ "parameters": [
2195
+ {
2196
+ "name": "name",
2197
+ "type": {
2198
+ "text": "string | ((rowData: any) => string)"
2199
+ }
2200
+ }
2201
+ ]
2202
+ },
2203
+ {
2204
+ "kind": "method",
2205
+ "name": "getTemplate",
2206
+ "parameters": [
2207
+ {
2208
+ "name": "prefix",
2209
+ "type": {
2210
+ "text": "string"
2211
+ }
2212
+ }
2213
+ ]
2067
2214
  },
2068
2215
  {
2069
2216
  "kind": "field",
@@ -2179,248 +2326,105 @@
2179
2326
  ],
2180
2327
  "attributes": [
2181
2328
  {
2182
- "name": "placeholder",
2329
+ "name": "is-vertical",
2183
2330
  "type": {
2184
- "text": "string"
2331
+ "text": "boolean"
2185
2332
  },
2186
- "default": "'Describe your search criteria in natural language...'",
2187
- "fieldName": "placeholder"
2333
+ "default": "false",
2334
+ "fieldName": "isVertical"
2188
2335
  },
2189
2336
  {
2337
+ "name": "add-default-actions",
2190
2338
  "type": {
2191
2339
  "text": "boolean"
2192
2340
  },
2193
- "fieldName": "disabled"
2341
+ "default": "true",
2342
+ "fieldName": "addDefaultActions"
2194
2343
  },
2195
2344
  {
2196
- "name": "mode",
2345
+ "name": "auto-close-on-action",
2197
2346
  "type": {
2198
- "text": "'append' | 'replace'"
2347
+ "text": "boolean"
2199
2348
  },
2200
- "default": "'replace'",
2201
- "fieldName": "mode"
2202
- }
2203
- ],
2204
- "superclass": {
2205
- "name": "FoundationElement",
2206
- "package": "@microsoft/fast-foundation"
2207
- },
2208
- "tagName": "%%prefix%%-ai-criteria-search",
2209
- "customElement": true
2210
- },
2211
- {
2212
- "kind": "variable",
2213
- "name": "foundationAiCriteriaSearchShadowOptions",
2214
- "type": {
2215
- "text": "ShadowRootInit"
2216
- },
2217
- "default": "undefined"
2218
- },
2219
- {
2220
- "kind": "variable",
2221
- "name": "defaultAiCriteriaSearchConfig",
2222
- "type": {
2223
- "text": "object"
2224
- },
2225
- "default": "{}"
2226
- },
2227
- {
2228
- "kind": "variable",
2229
- "name": "foundationAiCriteriaSearch"
2230
- }
2231
- ],
2232
- "exports": [
2233
- {
2234
- "kind": "js",
2235
- "name": "AiCriteriaSearch",
2236
- "declaration": {
2237
- "name": "AiCriteriaSearch",
2238
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2239
- }
2240
- },
2241
- {
2242
- "kind": "js",
2243
- "name": "foundationAiCriteriaSearchShadowOptions",
2244
- "declaration": {
2245
- "name": "foundationAiCriteriaSearchShadowOptions",
2246
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2247
- }
2248
- },
2249
- {
2250
- "kind": "js",
2251
- "name": "defaultAiCriteriaSearchConfig",
2252
- "declaration": {
2253
- "name": "defaultAiCriteriaSearchConfig",
2254
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2255
- }
2256
- },
2257
- {
2258
- "kind": "js",
2259
- "name": "foundationAiCriteriaSearch",
2260
- "declaration": {
2261
- "name": "foundationAiCriteriaSearch",
2262
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2263
- }
2264
- }
2265
- ]
2266
- },
2267
- {
2268
- "kind": "javascript-module",
2269
- "path": "src/ai-criteria-search/index.ts",
2270
- "declarations": [],
2271
- "exports": [
2272
- {
2273
- "kind": "js",
2274
- "name": "AiCriteriaSearch",
2275
- "declaration": {
2276
- "name": "AiCriteriaSearch",
2277
- "module": "./ai-criteria-search"
2278
- }
2279
- },
2280
- {
2281
- "kind": "js",
2282
- "name": "defaultAiCriteriaSearchConfig",
2283
- "declaration": {
2284
- "name": "defaultAiCriteriaSearchConfig",
2285
- "module": "./ai-criteria-search"
2286
- }
2287
- },
2288
- {
2289
- "kind": "js",
2290
- "name": "foundationAiCriteriaSearch",
2291
- "declaration": {
2292
- "name": "foundationAiCriteriaSearch",
2293
- "module": "./ai-criteria-search"
2294
- }
2295
- },
2296
- {
2297
- "kind": "js",
2298
- "name": "foundationAiCriteriaSearchShadowOptions",
2299
- "declaration": {
2300
- "name": "foundationAiCriteriaSearchShadowOptions",
2301
- "module": "./ai-criteria-search"
2302
- }
2303
- },
2304
- {
2305
- "kind": "js",
2306
- "name": "foundationAiCriteriaSearchStyles",
2307
- "declaration": {
2308
- "name": "foundationAiCriteriaSearchStyles",
2309
- "module": "./ai-criteria-search.styles"
2310
- }
2311
- },
2312
- {
2313
- "kind": "js",
2314
- "name": "foundationAiCriteriaSearchTemplate",
2315
- "declaration": {
2316
- "name": "foundationAiCriteriaSearchTemplate",
2317
- "module": "./ai-criteria-search.template"
2318
- }
2319
- },
2320
- {
2321
- "kind": "js",
2322
- "name": "*",
2323
- "declaration": {
2324
- "name": "*",
2325
- "package": "./validation/criteria-ir"
2326
- }
2327
- },
2328
- {
2329
- "kind": "js",
2330
- "name": "*",
2331
- "declaration": {
2332
- "name": "*",
2333
- "package": "./validation/operator-map"
2334
- }
2335
- },
2336
- {
2337
- "kind": "js",
2338
- "name": "*",
2339
- "declaration": {
2340
- "name": "*",
2341
- "package": "./validation/schema-validator"
2342
- }
2343
- }
2344
- ]
2345
- },
2346
- {
2347
- "kind": "javascript-module",
2348
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2349
- "declarations": [
2350
- {
2351
- "kind": "function",
2352
- "name": "formatValidationErrors",
2353
- "return": {
2354
- "type": {
2355
- "text": "string"
2356
- }
2357
- },
2358
- "parameters": [
2349
+ "default": "true",
2350
+ "fieldName": "autoCloseOnAction"
2351
+ },
2359
2352
  {
2360
- "name": "errors",
2353
+ "name": "name",
2361
2354
  "type": {
2362
- "text": "ValidationError[]"
2363
- }
2364
- }
2365
- ],
2366
- "description": "Formats validation errors into a user-friendly message."
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "showCriteriaError",
2371
- "return": {
2372
- "type": {
2373
- "text": "void"
2374
- }
2375
- },
2376
- "parameters": [
2355
+ "text": "string"
2356
+ },
2357
+ "default": "'Actions'",
2358
+ "fieldName": "name"
2359
+ },
2377
2360
  {
2378
- "name": "title",
2361
+ "name": "open",
2379
2362
  "type": {
2380
- "text": "string"
2363
+ "text": "boolean"
2381
2364
  },
2382
- "description": "Notification title (e.g. \"Criteria validation error\")"
2365
+ "default": "false",
2366
+ "fieldName": "open"
2383
2367
  },
2384
2368
  {
2385
- "name": "body",
2369
+ "name": "buttonAppearance",
2386
2370
  "type": {
2387
2371
  "text": "string"
2388
2372
  },
2389
- "description": "Error message to display"
2373
+ "fieldName": "buttonAppearance"
2390
2374
  },
2391
2375
  {
2392
- "name": "tagName",
2376
+ "name": "hide-disabled",
2393
2377
  "type": {
2394
- "text": "string"
2378
+ "text": "boolean"
2395
2379
  },
2396
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2380
+ "default": "false",
2381
+ "fieldName": "hideDisabled"
2382
+ },
2383
+ {
2384
+ "name": "hide-menu-single-option",
2385
+ "type": {
2386
+ "text": "boolean"
2387
+ },
2388
+ "default": "false",
2389
+ "fieldName": "hideMenuSingleOption"
2397
2390
  }
2398
2391
  ],
2399
- "description": "Shows a criteria error as a toast notification."
2392
+ "superclass": {
2393
+ "name": "FoundationElement",
2394
+ "package": "@microsoft/fast-foundation"
2395
+ },
2396
+ "tagName": "%%prefix%%-actions-menu",
2397
+ "customElement": true
2398
+ },
2399
+ {
2400
+ "kind": "variable",
2401
+ "name": "foundationActionsMenu",
2402
+ "description": "The Foundation Actions Menu",
2403
+ "privacy": "public"
2400
2404
  }
2401
2405
  ],
2402
2406
  "exports": [
2403
2407
  {
2404
2408
  "kind": "js",
2405
- "name": "formatValidationErrors",
2409
+ "name": "ActionsMenu",
2406
2410
  "declaration": {
2407
- "name": "formatValidationErrors",
2408
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2411
+ "name": "ActionsMenu",
2412
+ "module": "src/actions-menu/actions-menu.ts"
2409
2413
  }
2410
2414
  },
2411
2415
  {
2412
2416
  "kind": "js",
2413
- "name": "showCriteriaError",
2417
+ "name": "foundationActionsMenu",
2414
2418
  "declaration": {
2415
- "name": "showCriteriaError",
2416
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2419
+ "name": "foundationActionsMenu",
2420
+ "module": "src/actions-menu/actions-menu.ts"
2417
2421
  }
2418
2422
  }
2419
2423
  ]
2420
2424
  },
2421
2425
  {
2422
2426
  "kind": "javascript-module",
2423
- "path": "src/_config/index.ts",
2427
+ "path": "src/actions-menu/index.ts",
2424
2428
  "declarations": [],
2425
2429
  "exports": [
2426
2430
  {
@@ -2428,7 +2432,7 @@
2428
2432
  "name": "*",
2429
2433
  "declaration": {
2430
2434
  "name": "*",
2431
- "package": "./styles"
2435
+ "package": "./actions-menu.styles"
2432
2436
  }
2433
2437
  },
2434
2438
  {
@@ -2436,7 +2440,7 @@
2436
2440
  "name": "*",
2437
2441
  "declaration": {
2438
2442
  "name": "*",
2439
- "package": "./tokens"
2443
+ "package": "./actions-menu.template"
2440
2444
  }
2441
2445
  },
2442
2446
  {
@@ -2444,7 +2448,7 @@
2444
2448
  "name": "*",
2445
2449
  "declaration": {
2446
2450
  "name": "*",
2447
- "package": "./values"
2451
+ "package": "./actions-menu"
2448
2452
  }
2449
2453
  }
2450
2454
  ]
@@ -2839,273 +2843,142 @@
2839
2843
  "declarations": [],
2840
2844
  "exports": [
2841
2845
  {
2842
- "kind": "js",
2843
- "name": "AiIndicator",
2844
- "declaration": {
2845
- "name": "AiIndicator",
2846
- "module": "./ai-indicator"
2847
- }
2848
- },
2849
- {
2850
- "kind": "js",
2851
- "name": "foundationAiIndicator",
2852
- "declaration": {
2853
- "name": "foundationAiIndicator",
2854
- "module": "./ai-indicator"
2855
- }
2856
- },
2857
- {
2858
- "kind": "js",
2859
- "name": "type",
2860
- "declaration": {
2861
- "name": "type",
2862
- "module": "./ai-indicator"
2863
- }
2864
- },
2865
- {
2866
- "kind": "js",
2867
- "name": "AIIndicatorState",
2868
- "declaration": {
2869
- "name": "AIIndicatorState",
2870
- "module": "./ai-indicator"
2871
- }
2872
- },
2873
- {
2874
- "kind": "js",
2875
- "name": "foundationAiIndicatorTemplate",
2876
- "declaration": {
2877
- "name": "foundationAiIndicatorTemplate",
2878
- "module": "./ai-indicator.template"
2879
- }
2880
- },
2881
- {
2882
- "kind": "js",
2883
- "name": "foundationAiIndicatorStyles",
2884
- "declaration": {
2885
- "name": "foundationAiIndicatorStyles",
2886
- "module": "./ai-indicator.styles"
2887
- }
2888
- }
2889
- ]
2890
- },
2891
- {
2892
- "kind": "javascript-module",
2893
- "path": "src/accordion/accordion.styles.ts",
2894
- "declarations": [
2895
- {
2896
- "kind": "function",
2897
- "name": "foundationAccordionStyles",
2898
- "return": {
2899
- "type": {
2900
- "text": "ElementStyles"
2901
- }
2902
- },
2903
- "parameters": [
2904
- {
2905
- "name": "context",
2906
- "type": {
2907
- "text": "ElementDefinitionContext"
2908
- }
2909
- },
2910
- {
2911
- "name": "definition",
2912
- "type": {
2913
- "text": "FoundationElementDefinition"
2914
- }
2915
- }
2916
- ]
2917
- }
2918
- ],
2919
- "exports": [
2920
- {
2921
- "kind": "js",
2922
- "name": "foundationAccordionStyles",
2923
- "declaration": {
2924
- "name": "foundationAccordionStyles",
2925
- "module": "src/accordion/accordion.styles.ts"
2926
- }
2927
- }
2928
- ]
2929
- },
2930
- {
2931
- "kind": "javascript-module",
2932
- "path": "src/accordion/accordion.template.ts",
2933
- "declarations": [
2934
- {
2935
- "kind": "function",
2936
- "name": "foundationAccordionTemplate",
2937
- "return": {
2938
- "type": {
2939
- "text": "ViewTemplate<Accordion>"
2940
- }
2941
- },
2942
- "parameters": [
2943
- {
2944
- "name": "context",
2945
- "type": {
2946
- "text": "ElementDefinitionContext"
2947
- }
2948
- },
2949
- {
2950
- "name": "definition",
2951
- "type": {
2952
- "text": "FoundationElementDefinition"
2953
- }
2954
- }
2955
- ]
2956
- }
2957
- ],
2958
- "exports": [
2959
- {
2960
- "kind": "js",
2961
- "name": "foundationAccordionTemplate",
2962
- "declaration": {
2963
- "name": "foundationAccordionTemplate",
2964
- "module": "src/accordion/accordion.template.ts"
2965
- }
2966
- }
2967
- ]
2968
- },
2969
- {
2970
- "kind": "javascript-module",
2971
- "path": "src/accordion/accordion.ts",
2972
- "declarations": [
2973
- {
2974
- "kind": "class",
2975
- "description": "",
2976
- "name": "Accordion",
2977
- "superclass": {
2978
- "name": "FASTAccordion",
2979
- "package": "@microsoft/fast-foundation"
2980
- },
2981
- "tagName": "%%prefix%%-accordion",
2982
- "customElement": true
2983
- },
2984
- {
2985
- "kind": "variable",
2986
- "name": "foundationAccordionShadowOptions",
2987
- "type": {
2988
- "text": "ShadowRootInit"
2989
- },
2990
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2846
+ "kind": "js",
2847
+ "name": "AiIndicator",
2848
+ "declaration": {
2849
+ "name": "AiIndicator",
2850
+ "module": "./ai-indicator"
2851
+ }
2991
2852
  },
2992
2853
  {
2993
- "kind": "variable",
2994
- "name": "defaultAccordionConfig",
2995
- "type": {
2996
- "text": "object"
2997
- },
2998
- "default": "{}"
2854
+ "kind": "js",
2855
+ "name": "foundationAiIndicator",
2856
+ "declaration": {
2857
+ "name": "foundationAiIndicator",
2858
+ "module": "./ai-indicator"
2859
+ }
2999
2860
  },
3000
- {
3001
- "kind": "variable",
3002
- "name": "foundationAccordion",
3003
- "description": "The Foundation Accordion",
3004
- "privacy": "public"
3005
- }
3006
- ],
3007
- "exports": [
3008
2861
  {
3009
2862
  "kind": "js",
3010
- "name": "Accordion",
2863
+ "name": "type",
3011
2864
  "declaration": {
3012
- "name": "Accordion",
3013
- "module": "src/accordion/accordion.ts"
2865
+ "name": "type",
2866
+ "module": "./ai-indicator"
3014
2867
  }
3015
2868
  },
3016
2869
  {
3017
2870
  "kind": "js",
3018
- "name": "foundationAccordionShadowOptions",
2871
+ "name": "AIIndicatorState",
3019
2872
  "declaration": {
3020
- "name": "foundationAccordionShadowOptions",
3021
- "module": "src/accordion/accordion.ts"
2873
+ "name": "AIIndicatorState",
2874
+ "module": "./ai-indicator"
3022
2875
  }
3023
2876
  },
3024
2877
  {
3025
2878
  "kind": "js",
3026
- "name": "defaultAccordionConfig",
2879
+ "name": "foundationAiIndicatorTemplate",
3027
2880
  "declaration": {
3028
- "name": "defaultAccordionConfig",
3029
- "module": "src/accordion/accordion.ts"
2881
+ "name": "foundationAiIndicatorTemplate",
2882
+ "module": "./ai-indicator.template"
3030
2883
  }
3031
2884
  },
3032
2885
  {
3033
2886
  "kind": "js",
3034
- "name": "foundationAccordion",
2887
+ "name": "foundationAiIndicatorStyles",
3035
2888
  "declaration": {
3036
- "name": "foundationAccordion",
3037
- "module": "src/accordion/accordion.ts"
2889
+ "name": "foundationAiIndicatorStyles",
2890
+ "module": "./ai-indicator.styles"
3038
2891
  }
3039
2892
  }
3040
2893
  ]
3041
2894
  },
3042
2895
  {
3043
2896
  "kind": "javascript-module",
3044
- "path": "src/accordion/index.ts",
3045
- "declarations": [],
2897
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2898
+ "declarations": [
2899
+ {
2900
+ "kind": "variable",
2901
+ "name": "foundationAiCriteriaSearchStyles",
2902
+ "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`"
2903
+ }
2904
+ ],
3046
2905
  "exports": [
3047
2906
  {
3048
2907
  "kind": "js",
3049
- "name": "*",
2908
+ "name": "foundationAiCriteriaSearchStyles",
3050
2909
  "declaration": {
3051
- "name": "*",
3052
- "package": "./accordion.template"
2910
+ "name": "foundationAiCriteriaSearchStyles",
2911
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3053
2912
  }
3054
- },
2913
+ }
2914
+ ]
2915
+ },
2916
+ {
2917
+ "kind": "javascript-module",
2918
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2919
+ "declarations": [
3055
2920
  {
3056
- "kind": "js",
3057
- "name": "*",
3058
- "declaration": {
3059
- "name": "*",
3060
- "package": "./accordion.styles"
3061
- }
3062
- },
2921
+ "kind": "variable",
2922
+ "name": "foundationAiCriteriaSearchTemplate",
2923
+ "type": {
2924
+ "text": "ViewTemplate<AiCriteriaSearch>"
2925
+ },
2926
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2927
+ }
2928
+ ],
2929
+ "exports": [
3063
2930
  {
3064
2931
  "kind": "js",
3065
- "name": "*",
2932
+ "name": "foundationAiCriteriaSearchTemplate",
3066
2933
  "declaration": {
3067
- "name": "*",
3068
- "package": "./accordion"
2934
+ "name": "foundationAiCriteriaSearchTemplate",
2935
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3069
2936
  }
3070
2937
  }
3071
2938
  ]
3072
2939
  },
3073
2940
  {
3074
2941
  "kind": "javascript-module",
3075
- "path": "src/_common/base-file-component.ts",
2942
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3076
2943
  "declarations": [
3077
2944
  {
3078
2945
  "kind": "class",
3079
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3080
- "name": "BaseFileComponent",
2946
+ "description": "",
2947
+ "name": "AiCriteriaSearch",
3081
2948
  "members": [
3082
2949
  {
3083
2950
  "kind": "field",
3084
- "name": "fileInput",
2951
+ "name": "aiProvider",
3085
2952
  "type": {
3086
- "text": "HTMLInputElement"
3087
- },
3088
- "privacy": "public"
2953
+ "text": "AIProvider"
2954
+ }
3089
2955
  },
3090
2956
  {
3091
2957
  "kind": "field",
3092
- "name": "selectedFile",
2958
+ "name": "placeholder",
3093
2959
  "type": {
3094
- "text": "File | null"
2960
+ "text": "string"
3095
2961
  },
3096
- "privacy": "protected",
3097
- "default": "null"
2962
+ "default": "'Describe your search criteria in natural language...'"
3098
2963
  },
3099
2964
  {
3100
2965
  "kind": "field",
3101
- "name": "label",
2966
+ "name": "disabled",
3102
2967
  "type": {
3103
- "text": "string"
2968
+ "text": "boolean"
3104
2969
  }
3105
2970
  },
3106
2971
  {
3107
2972
  "kind": "field",
3108
- "name": "accept",
2973
+ "name": "mode",
2974
+ "type": {
2975
+ "text": "'append' | 'replace'"
2976
+ },
2977
+ "default": "'replace'"
2978
+ },
2979
+ {
2980
+ "kind": "field",
2981
+ "name": "inputValue",
3109
2982
  "type": {
3110
2983
  "text": "string"
3111
2984
  },
@@ -3113,118 +2986,99 @@
3113
2986
  },
3114
2987
  {
3115
2988
  "kind": "field",
3116
- "name": "fileSizeLimitBytes",
3117
- "default": "10_485_760",
2989
+ "name": "isInterpreting",
3118
2990
  "type": {
3119
- "text": "number"
3120
- }
2991
+ "text": "boolean"
2992
+ },
2993
+ "default": "false"
3121
2994
  },
3122
2995
  {
3123
2996
  "kind": "field",
3124
- "name": "fileName",
2997
+ "name": "lastValidCriteria",
3125
2998
  "type": {
3126
- "text": "string"
2999
+ "text": "string | null"
3127
3000
  },
3128
- "default": "''"
3001
+ "default": "null"
3129
3002
  },
3130
3003
  {
3131
3004
  "kind": "field",
3132
- "name": "isProcessing",
3005
+ "name": "fieldMetadata",
3006
+ "type": {
3007
+ "text": "MetadataDetail[] | string[]"
3008
+ },
3009
+ "default": "[]"
3010
+ },
3011
+ {
3012
+ "kind": "field",
3013
+ "name": "isRecording",
3133
3014
  "type": {
3134
3015
  "text": "boolean"
3135
3016
  },
3136
3017
  "default": "false"
3137
3018
  },
3138
3019
  {
3139
- "kind": "method",
3140
- "name": "handleClick",
3141
- "privacy": "public",
3142
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3020
+ "kind": "field",
3021
+ "name": "textAreaRef",
3022
+ "type": {
3023
+ "text": "HTMLTextAreaElement"
3024
+ },
3025
+ "privacy": "public"
3143
3026
  },
3144
3027
  {
3145
- "kind": "method",
3146
- "name": "onInputChange",
3147
- "privacy": "public",
3148
- "parameters": [
3149
- {
3150
- "name": "e",
3151
- "type": {
3152
- "text": "Event"
3153
- },
3154
- "description": "The change event from the file input"
3155
- }
3156
- ],
3157
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3028
+ "kind": "field",
3029
+ "name": "stopRecording",
3030
+ "type": {
3031
+ "text": "(() => void) | null"
3032
+ },
3033
+ "privacy": "private",
3034
+ "default": "null"
3035
+ },
3036
+ {
3037
+ "kind": "field",
3038
+ "name": "speechApplyDebounceTimer",
3039
+ "type": {
3040
+ "text": "ReturnType<typeof setTimeout> | null"
3041
+ },
3042
+ "privacy": "private",
3043
+ "default": "null"
3044
+ },
3045
+ {
3046
+ "kind": "field",
3047
+ "name": "baseInputForAppend",
3048
+ "type": {
3049
+ "text": "string"
3050
+ },
3051
+ "privacy": "private",
3052
+ "default": "''"
3053
+ },
3054
+ {
3055
+ "kind": "field",
3056
+ "name": "speechAvailable",
3057
+ "type": {
3058
+ "text": "boolean"
3059
+ },
3060
+ "readonly": true
3158
3061
  },
3159
3062
  {
3160
3063
  "kind": "method",
3161
- "name": "clearSelection",
3162
- "privacy": "public",
3163
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3064
+ "name": "handleSubmit"
3164
3065
  },
3165
3066
  {
3166
3067
  "kind": "method",
3167
- "name": "getSelectedFile",
3168
- "privacy": "public",
3169
- "description": "Gets the currently selected file object",
3170
- "return": {
3171
- "type": {
3172
- "text": ""
3173
- }
3174
- }
3068
+ "name": "handleBlur"
3175
3069
  },
3176
3070
  {
3177
3071
  "kind": "method",
3178
- "name": "showError",
3179
- "privacy": "protected",
3180
- "parameters": [
3181
- {
3182
- "name": "title",
3183
- "type": {
3184
- "text": "string"
3185
- },
3186
- "description": "The error title"
3187
- },
3188
- {
3189
- "name": "message",
3190
- "type": {
3191
- "text": "string"
3192
- },
3193
- "description": "The error message"
3194
- }
3195
- ],
3196
- "description": "Shows an error notification using the unified error handling system"
3072
+ "name": "clear"
3197
3073
  },
3198
3074
  {
3199
3075
  "kind": "method",
3200
- "name": "onFileSelected",
3201
- "privacy": "protected",
3202
- "return": {
3203
- "type": {
3204
- "text": "void"
3205
- }
3206
- },
3207
- "parameters": [
3208
- {
3209
- "name": "files",
3210
- "type": {
3211
- "text": "File[]"
3212
- },
3213
- "description": "The selected file"
3214
- }
3215
- ],
3216
- "description": "Abstract method called when a file is selected"
3076
+ "name": "toggleSpeechInput"
3217
3077
  },
3218
3078
  {
3219
3079
  "kind": "method",
3220
- "name": "onFileCleared",
3221
- "privacy": "protected",
3222
- "return": {
3223
- "type": {
3224
- "text": "void"
3225
- }
3226
- },
3227
- "description": "Abstract method called when file selection is cleared"
3080
+ "name": "clearSpeechApplyDebounce",
3081
+ "privacy": "private"
3228
3082
  },
3229
3083
  {
3230
3084
  "kind": "field",
@@ -3340,87 +3194,150 @@
3340
3194
  ],
3341
3195
  "attributes": [
3342
3196
  {
3343
- "name": "label",
3197
+ "name": "placeholder",
3344
3198
  "type": {
3345
3199
  "text": "string"
3346
3200
  },
3347
- "fieldName": "label"
3201
+ "default": "'Describe your search criteria in natural language...'",
3202
+ "fieldName": "placeholder"
3348
3203
  },
3349
3204
  {
3350
- "name": "accept",
3351
3205
  "type": {
3352
- "text": "string"
3206
+ "text": "boolean"
3353
3207
  },
3354
- "default": "''",
3355
- "fieldName": "accept"
3208
+ "fieldName": "disabled"
3356
3209
  },
3357
3210
  {
3358
- "name": "file-size-limit-bytes",
3359
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3360
- "resolveInitializer": {
3361
- "module": "src/_common/base-file-component.ts"
3211
+ "name": "mode",
3212
+ "type": {
3213
+ "text": "'append' | 'replace'"
3362
3214
  },
3363
- "fieldName": "fileSizeLimitBytes"
3215
+ "default": "'replace'",
3216
+ "fieldName": "mode"
3364
3217
  }
3365
3218
  ],
3366
3219
  "superclass": {
3367
3220
  "name": "FoundationElement",
3368
3221
  "package": "@microsoft/fast-foundation"
3369
- }
3222
+ },
3223
+ "tagName": "%%prefix%%-ai-criteria-search",
3224
+ "customElement": true
3225
+ },
3226
+ {
3227
+ "kind": "variable",
3228
+ "name": "foundationAiCriteriaSearchShadowOptions",
3229
+ "type": {
3230
+ "text": "ShadowRootInit"
3231
+ },
3232
+ "default": "undefined"
3233
+ },
3234
+ {
3235
+ "kind": "variable",
3236
+ "name": "defaultAiCriteriaSearchConfig",
3237
+ "type": {
3238
+ "text": "object"
3239
+ },
3240
+ "default": "{}"
3241
+ },
3242
+ {
3243
+ "kind": "variable",
3244
+ "name": "foundationAiCriteriaSearch"
3370
3245
  }
3371
3246
  ],
3372
3247
  "exports": [
3373
3248
  {
3374
3249
  "kind": "js",
3375
- "name": "BaseFileComponent",
3250
+ "name": "AiCriteriaSearch",
3376
3251
  "declaration": {
3377
- "name": "BaseFileComponent",
3378
- "module": "src/_common/base-file-component.ts"
3252
+ "name": "AiCriteriaSearch",
3253
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3379
3254
  }
3380
- }
3381
- ]
3382
- },
3383
- {
3384
- "kind": "javascript-module",
3385
- "path": "src/_common/icons.ts",
3386
- "declarations": [
3255
+ },
3387
3256
  {
3388
- "kind": "function",
3389
- "name": "closeIcon",
3390
- "parameters": [
3391
- {
3392
- "name": "slot",
3393
- "default": "'start'"
3394
- },
3395
- {
3396
- "name": "fill",
3397
- "default": "'#879ba6'"
3398
- }
3399
- ]
3400
- }
3401
- ],
3402
- "exports": [
3257
+ "kind": "js",
3258
+ "name": "foundationAiCriteriaSearchShadowOptions",
3259
+ "declaration": {
3260
+ "name": "foundationAiCriteriaSearchShadowOptions",
3261
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3262
+ }
3263
+ },
3403
3264
  {
3404
3265
  "kind": "js",
3405
- "name": "closeIcon",
3266
+ "name": "defaultAiCriteriaSearchConfig",
3406
3267
  "declaration": {
3407
- "name": "closeIcon",
3408
- "module": "src/_common/icons.ts"
3268
+ "name": "defaultAiCriteriaSearchConfig",
3269
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3270
+ }
3271
+ },
3272
+ {
3273
+ "kind": "js",
3274
+ "name": "foundationAiCriteriaSearch",
3275
+ "declaration": {
3276
+ "name": "foundationAiCriteriaSearch",
3277
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3409
3278
  }
3410
3279
  }
3411
3280
  ]
3412
3281
  },
3413
3282
  {
3414
3283
  "kind": "javascript-module",
3415
- "path": "src/_common/index.ts",
3284
+ "path": "src/ai-criteria-search/index.ts",
3416
3285
  "declarations": [],
3417
3286
  "exports": [
3287
+ {
3288
+ "kind": "js",
3289
+ "name": "AiCriteriaSearch",
3290
+ "declaration": {
3291
+ "name": "AiCriteriaSearch",
3292
+ "module": "./ai-criteria-search"
3293
+ }
3294
+ },
3295
+ {
3296
+ "kind": "js",
3297
+ "name": "defaultAiCriteriaSearchConfig",
3298
+ "declaration": {
3299
+ "name": "defaultAiCriteriaSearchConfig",
3300
+ "module": "./ai-criteria-search"
3301
+ }
3302
+ },
3303
+ {
3304
+ "kind": "js",
3305
+ "name": "foundationAiCriteriaSearch",
3306
+ "declaration": {
3307
+ "name": "foundationAiCriteriaSearch",
3308
+ "module": "./ai-criteria-search"
3309
+ }
3310
+ },
3311
+ {
3312
+ "kind": "js",
3313
+ "name": "foundationAiCriteriaSearchShadowOptions",
3314
+ "declaration": {
3315
+ "name": "foundationAiCriteriaSearchShadowOptions",
3316
+ "module": "./ai-criteria-search"
3317
+ }
3318
+ },
3319
+ {
3320
+ "kind": "js",
3321
+ "name": "foundationAiCriteriaSearchStyles",
3322
+ "declaration": {
3323
+ "name": "foundationAiCriteriaSearchStyles",
3324
+ "module": "./ai-criteria-search.styles"
3325
+ }
3326
+ },
3327
+ {
3328
+ "kind": "js",
3329
+ "name": "foundationAiCriteriaSearchTemplate",
3330
+ "declaration": {
3331
+ "name": "foundationAiCriteriaSearchTemplate",
3332
+ "module": "./ai-criteria-search.template"
3333
+ }
3334
+ },
3418
3335
  {
3419
3336
  "kind": "js",
3420
3337
  "name": "*",
3421
3338
  "declaration": {
3422
3339
  "name": "*",
3423
- "package": "./base-file-component"
3340
+ "package": "./validation/criteria-ir"
3424
3341
  }
3425
3342
  },
3426
3343
  {
@@ -3428,7 +3345,90 @@
3428
3345
  "name": "*",
3429
3346
  "declaration": {
3430
3347
  "name": "*",
3431
- "package": "./icons"
3348
+ "package": "./validation/operator-map"
3349
+ }
3350
+ },
3351
+ {
3352
+ "kind": "js",
3353
+ "name": "*",
3354
+ "declaration": {
3355
+ "name": "*",
3356
+ "package": "./validation/schema-validator"
3357
+ }
3358
+ }
3359
+ ]
3360
+ },
3361
+ {
3362
+ "kind": "javascript-module",
3363
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3364
+ "declarations": [
3365
+ {
3366
+ "kind": "function",
3367
+ "name": "formatValidationErrors",
3368
+ "return": {
3369
+ "type": {
3370
+ "text": "string"
3371
+ }
3372
+ },
3373
+ "parameters": [
3374
+ {
3375
+ "name": "errors",
3376
+ "type": {
3377
+ "text": "ValidationError[]"
3378
+ }
3379
+ }
3380
+ ],
3381
+ "description": "Formats validation errors into a user-friendly message."
3382
+ },
3383
+ {
3384
+ "kind": "function",
3385
+ "name": "showCriteriaError",
3386
+ "return": {
3387
+ "type": {
3388
+ "text": "void"
3389
+ }
3390
+ },
3391
+ "parameters": [
3392
+ {
3393
+ "name": "title",
3394
+ "type": {
3395
+ "text": "string"
3396
+ },
3397
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3398
+ },
3399
+ {
3400
+ "name": "body",
3401
+ "type": {
3402
+ "text": "string"
3403
+ },
3404
+ "description": "Error message to display"
3405
+ },
3406
+ {
3407
+ "name": "tagName",
3408
+ "type": {
3409
+ "text": "string"
3410
+ },
3411
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3412
+ }
3413
+ ],
3414
+ "description": "Shows a criteria error as a toast notification."
3415
+ }
3416
+ ],
3417
+ "exports": [
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "formatValidationErrors",
3421
+ "declaration": {
3422
+ "name": "formatValidationErrors",
3423
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "showCriteriaError",
3429
+ "declaration": {
3430
+ "name": "showCriteriaError",
3431
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3432
3432
  }
3433
3433
  }
3434
3434
  ]
@@ -24198,7 +24198,7 @@
24198
24198
  "type": {
24199
24199
  "text": "ElementStyles"
24200
24200
  },
24201
- "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition:\n transform ${flyoutAnimationTime.toString()}ms ease-in,\n width ${flyoutAnimationTime.toString()}ms ease-in-out;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-hint);\n font-weight: 500;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
24201
+ "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition:\n transform ${flyoutAnimationTime.toString()}ms ease-in,\n width ${flyoutAnimationTime.toString()}ms ease-in-out;\n width: var(--flyout-width, 20%);\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-hint);\n font-weight: 500;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
24202
24202
  }
24203
24203
  ],
24204
24204
  "exports": [
@@ -24294,6 +24294,10 @@
24294
24294
  },
24295
24295
  "default": "'20%'"
24296
24296
  },
24297
+ {
24298
+ "kind": "method",
24299
+ "name": "flyoutWidthChanged"
24300
+ },
24297
24301
  {
24298
24302
  "kind": "field",
24299
24303
  "name": "displayHeader",
@@ -54370,181 +54374,6 @@
54370
54374
  }
54371
54375
  ]
54372
54376
  },
54373
- {
54374
- "kind": "javascript-module",
54375
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54376
- "declarations": [],
54377
- "exports": []
54378
- },
54379
- {
54380
- "kind": "javascript-module",
54381
- "path": "src/ai-criteria-search/validation/operator-map.ts",
54382
- "declarations": [
54383
- {
54384
- "kind": "function",
54385
- "name": "groupsToCriteria",
54386
- "return": {
54387
- "type": {
54388
- "text": "string"
54389
- }
54390
- },
54391
- "parameters": [
54392
- {
54393
- "name": "groups",
54394
- "type": {
54395
- "text": "CriteriaGroup[]"
54396
- }
54397
- }
54398
- ],
54399
- "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."
54400
- },
54401
- {
54402
- "kind": "variable",
54403
- "name": "STRING_OPERATORS",
54404
- "type": {
54405
- "text": "CriteriaOperator[]"
54406
- },
54407
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54408
- },
54409
- {
54410
- "kind": "variable",
54411
- "name": "NUMERIC_OPERATORS",
54412
- "type": {
54413
- "text": "CriteriaOperator[]"
54414
- },
54415
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54416
- },
54417
- {
54418
- "kind": "variable",
54419
- "name": "DATE_OPERATORS",
54420
- "type": {
54421
- "text": "CriteriaOperator[]"
54422
- },
54423
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54424
- },
54425
- {
54426
- "kind": "variable",
54427
- "name": "DATETIME_OPERATORS",
54428
- "type": {
54429
- "text": "CriteriaOperator[]"
54430
- },
54431
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54432
- }
54433
- ],
54434
- "exports": [
54435
- {
54436
- "kind": "js",
54437
- "name": "groupsToCriteria",
54438
- "declaration": {
54439
- "name": "groupsToCriteria",
54440
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54441
- }
54442
- },
54443
- {
54444
- "kind": "js",
54445
- "name": "STRING_OPERATORS",
54446
- "declaration": {
54447
- "name": "STRING_OPERATORS",
54448
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54449
- }
54450
- },
54451
- {
54452
- "kind": "js",
54453
- "name": "NUMERIC_OPERATORS",
54454
- "declaration": {
54455
- "name": "NUMERIC_OPERATORS",
54456
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54457
- }
54458
- },
54459
- {
54460
- "kind": "js",
54461
- "name": "DATE_OPERATORS",
54462
- "declaration": {
54463
- "name": "DATE_OPERATORS",
54464
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54465
- }
54466
- },
54467
- {
54468
- "kind": "js",
54469
- "name": "DATETIME_OPERATORS",
54470
- "declaration": {
54471
- "name": "DATETIME_OPERATORS",
54472
- "module": "src/ai-criteria-search/validation/operator-map.ts"
54473
- }
54474
- }
54475
- ]
54476
- },
54477
- {
54478
- "kind": "javascript-module",
54479
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
54480
- "declarations": [
54481
- {
54482
- "kind": "function",
54483
- "name": "validateClauses",
54484
- "return": {
54485
- "type": {
54486
- "text": "ValidationResult"
54487
- }
54488
- },
54489
- "parameters": [
54490
- {
54491
- "name": "clauses",
54492
- "type": {
54493
- "text": "CriteriaClause[]"
54494
- }
54495
- },
54496
- {
54497
- "name": "fieldMetadata",
54498
- "type": {
54499
- "text": "MetadataDetail[] | string[]"
54500
- }
54501
- }
54502
- ]
54503
- },
54504
- {
54505
- "kind": "function",
54506
- "name": "validateGroups",
54507
- "return": {
54508
- "type": {
54509
- "text": "GroupsValidationResult"
54510
- }
54511
- },
54512
- "parameters": [
54513
- {
54514
- "name": "groups",
54515
- "type": {
54516
- "text": "CriteriaGroup[]"
54517
- }
54518
- },
54519
- {
54520
- "name": "fieldMetadata",
54521
- "type": {
54522
- "text": "MetadataDetail[] | string[]"
54523
- }
54524
- }
54525
- ],
54526
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54527
- }
54528
- ],
54529
- "exports": [
54530
- {
54531
- "kind": "js",
54532
- "name": "validateClauses",
54533
- "declaration": {
54534
- "name": "validateClauses",
54535
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54536
- }
54537
- },
54538
- {
54539
- "kind": "js",
54540
- "name": "validateGroups",
54541
- "declaration": {
54542
- "name": "validateGroups",
54543
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
54544
- }
54545
- }
54546
- ]
54547
- },
54548
54377
  {
54549
54378
  "kind": "javascript-module",
54550
54379
  "path": "src/_config/styles/colors.ts",
@@ -55917,6 +55746,181 @@
55917
55746
  "declarations": [],
55918
55747
  "exports": []
55919
55748
  },
55749
+ {
55750
+ "kind": "javascript-module",
55751
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55752
+ "declarations": [],
55753
+ "exports": []
55754
+ },
55755
+ {
55756
+ "kind": "javascript-module",
55757
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
55758
+ "declarations": [
55759
+ {
55760
+ "kind": "function",
55761
+ "name": "groupsToCriteria",
55762
+ "return": {
55763
+ "type": {
55764
+ "text": "string"
55765
+ }
55766
+ },
55767
+ "parameters": [
55768
+ {
55769
+ "name": "groups",
55770
+ "type": {
55771
+ "text": "CriteriaGroup[]"
55772
+ }
55773
+ }
55774
+ ],
55775
+ "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."
55776
+ },
55777
+ {
55778
+ "kind": "variable",
55779
+ "name": "STRING_OPERATORS",
55780
+ "type": {
55781
+ "text": "CriteriaOperator[]"
55782
+ },
55783
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55784
+ },
55785
+ {
55786
+ "kind": "variable",
55787
+ "name": "NUMERIC_OPERATORS",
55788
+ "type": {
55789
+ "text": "CriteriaOperator[]"
55790
+ },
55791
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55792
+ },
55793
+ {
55794
+ "kind": "variable",
55795
+ "name": "DATE_OPERATORS",
55796
+ "type": {
55797
+ "text": "CriteriaOperator[]"
55798
+ },
55799
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55800
+ },
55801
+ {
55802
+ "kind": "variable",
55803
+ "name": "DATETIME_OPERATORS",
55804
+ "type": {
55805
+ "text": "CriteriaOperator[]"
55806
+ },
55807
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55808
+ }
55809
+ ],
55810
+ "exports": [
55811
+ {
55812
+ "kind": "js",
55813
+ "name": "groupsToCriteria",
55814
+ "declaration": {
55815
+ "name": "groupsToCriteria",
55816
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55817
+ }
55818
+ },
55819
+ {
55820
+ "kind": "js",
55821
+ "name": "STRING_OPERATORS",
55822
+ "declaration": {
55823
+ "name": "STRING_OPERATORS",
55824
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55825
+ }
55826
+ },
55827
+ {
55828
+ "kind": "js",
55829
+ "name": "NUMERIC_OPERATORS",
55830
+ "declaration": {
55831
+ "name": "NUMERIC_OPERATORS",
55832
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55833
+ }
55834
+ },
55835
+ {
55836
+ "kind": "js",
55837
+ "name": "DATE_OPERATORS",
55838
+ "declaration": {
55839
+ "name": "DATE_OPERATORS",
55840
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55841
+ }
55842
+ },
55843
+ {
55844
+ "kind": "js",
55845
+ "name": "DATETIME_OPERATORS",
55846
+ "declaration": {
55847
+ "name": "DATETIME_OPERATORS",
55848
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
55849
+ }
55850
+ }
55851
+ ]
55852
+ },
55853
+ {
55854
+ "kind": "javascript-module",
55855
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
55856
+ "declarations": [
55857
+ {
55858
+ "kind": "function",
55859
+ "name": "validateClauses",
55860
+ "return": {
55861
+ "type": {
55862
+ "text": "ValidationResult"
55863
+ }
55864
+ },
55865
+ "parameters": [
55866
+ {
55867
+ "name": "clauses",
55868
+ "type": {
55869
+ "text": "CriteriaClause[]"
55870
+ }
55871
+ },
55872
+ {
55873
+ "name": "fieldMetadata",
55874
+ "type": {
55875
+ "text": "MetadataDetail[] | string[]"
55876
+ }
55877
+ }
55878
+ ]
55879
+ },
55880
+ {
55881
+ "kind": "function",
55882
+ "name": "validateGroups",
55883
+ "return": {
55884
+ "type": {
55885
+ "text": "GroupsValidationResult"
55886
+ }
55887
+ },
55888
+ "parameters": [
55889
+ {
55890
+ "name": "groups",
55891
+ "type": {
55892
+ "text": "CriteriaGroup[]"
55893
+ }
55894
+ },
55895
+ {
55896
+ "name": "fieldMetadata",
55897
+ "type": {
55898
+ "text": "MetadataDetail[] | string[]"
55899
+ }
55900
+ }
55901
+ ],
55902
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55903
+ }
55904
+ ],
55905
+ "exports": [
55906
+ {
55907
+ "kind": "js",
55908
+ "name": "validateClauses",
55909
+ "declaration": {
55910
+ "name": "validateClauses",
55911
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55912
+ }
55913
+ },
55914
+ {
55915
+ "kind": "js",
55916
+ "name": "validateGroups",
55917
+ "declaration": {
55918
+ "name": "validateGroups",
55919
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55920
+ }
55921
+ }
55922
+ ]
55923
+ },
55920
55924
  {
55921
55925
  "kind": "javascript-module",
55922
55926
  "path": "src/environment-indicator/utils/configure.ts",