@genesislcap/rapid-design-system 15.100.0 → 15.101.0-public-telemetry.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.
@@ -804,86 +804,6 @@
804
804
  }
805
805
  ]
806
806
  },
807
- {
808
- "kind": "javascript-module",
809
- "path": "src/_config/configure.ts",
810
- "declarations": [
811
- {
812
- "kind": "function",
813
- "name": "configureRapidDesignSystem",
814
- "return": {
815
- "type": {
816
- "text": "void"
817
- }
818
- },
819
- "parameters": [
820
- {
821
- "name": "provider",
822
- "type": {
823
- "text": "HTMLElement"
824
- }
825
- },
826
- {
827
- "name": "config",
828
- "type": {
829
- "text": "Partial<DesignTokensConfig>"
830
- }
831
- }
832
- ],
833
- "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
834
- "privacy": "public"
835
- }
836
- ],
837
- "exports": [
838
- {
839
- "kind": "js",
840
- "name": "configureRapidDesignSystem",
841
- "declaration": {
842
- "name": "configureRapidDesignSystem",
843
- "module": "src/_config/configure.ts"
844
- }
845
- }
846
- ]
847
- },
848
- {
849
- "kind": "javascript-module",
850
- "path": "src/_config/index.ts",
851
- "declarations": [],
852
- "exports": [
853
- {
854
- "kind": "js",
855
- "name": "*",
856
- "declaration": {
857
- "name": "*",
858
- "package": "./configure"
859
- }
860
- },
861
- {
862
- "kind": "js",
863
- "name": "*",
864
- "declaration": {
865
- "name": "*",
866
- "package": "./styles"
867
- }
868
- },
869
- {
870
- "kind": "js",
871
- "name": "*",
872
- "declaration": {
873
- "name": "*",
874
- "package": "./tokens"
875
- }
876
- },
877
- {
878
- "kind": "js",
879
- "name": "*",
880
- "declaration": {
881
- "name": "*",
882
- "package": "./values"
883
- }
884
- }
885
- ]
886
- },
887
807
  {
888
808
  "kind": "javascript-module",
889
809
  "path": "src/accordion/accordion.styles.ts",
@@ -1032,6 +952,86 @@
1032
952
  }
1033
953
  ]
1034
954
  },
955
+ {
956
+ "kind": "javascript-module",
957
+ "path": "src/_config/configure.ts",
958
+ "declarations": [
959
+ {
960
+ "kind": "function",
961
+ "name": "configureRapidDesignSystem",
962
+ "return": {
963
+ "type": {
964
+ "text": "void"
965
+ }
966
+ },
967
+ "parameters": [
968
+ {
969
+ "name": "provider",
970
+ "type": {
971
+ "text": "HTMLElement"
972
+ }
973
+ },
974
+ {
975
+ "name": "config",
976
+ "type": {
977
+ "text": "Partial<DesignTokensConfig>"
978
+ }
979
+ }
980
+ ],
981
+ "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
982
+ "privacy": "public"
983
+ }
984
+ ],
985
+ "exports": [
986
+ {
987
+ "kind": "js",
988
+ "name": "configureRapidDesignSystem",
989
+ "declaration": {
990
+ "name": "configureRapidDesignSystem",
991
+ "module": "src/_config/configure.ts"
992
+ }
993
+ }
994
+ ]
995
+ },
996
+ {
997
+ "kind": "javascript-module",
998
+ "path": "src/_config/index.ts",
999
+ "declarations": [],
1000
+ "exports": [
1001
+ {
1002
+ "kind": "js",
1003
+ "name": "*",
1004
+ "declaration": {
1005
+ "name": "*",
1006
+ "package": "./configure"
1007
+ }
1008
+ },
1009
+ {
1010
+ "kind": "js",
1011
+ "name": "*",
1012
+ "declaration": {
1013
+ "name": "*",
1014
+ "package": "./styles"
1015
+ }
1016
+ },
1017
+ {
1018
+ "kind": "js",
1019
+ "name": "*",
1020
+ "declaration": {
1021
+ "name": "*",
1022
+ "package": "./tokens"
1023
+ }
1024
+ },
1025
+ {
1026
+ "kind": "js",
1027
+ "name": "*",
1028
+ "declaration": {
1029
+ "name": "*",
1030
+ "package": "./values"
1031
+ }
1032
+ }
1033
+ ]
1034
+ },
1035
1035
  {
1036
1036
  "kind": "javascript-module",
1037
1037
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1182,25 +1182,46 @@
1182
1182
  },
1183
1183
  {
1184
1184
  "kind": "javascript-module",
1185
- "path": "src/actions-menu/actions-menu.styles.ts",
1185
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1186
+ "declarations": [
1187
+ {
1188
+ "kind": "variable",
1189
+ "name": "rapidAiCriteriaSearchStyles",
1190
+ "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
1191
+ }
1192
+ ],
1193
+ "exports": [
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "rapidAiCriteriaSearchStyles",
1197
+ "declaration": {
1198
+ "name": "rapidAiCriteriaSearchStyles",
1199
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1200
+ }
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "kind": "javascript-module",
1206
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1186
1207
  "declarations": [
1187
1208
  {
1188
1209
  "kind": "function",
1189
- "name": "rapidActionsMenuStyles",
1210
+ "name": "rapidAiCriteriaSearchTemplate",
1190
1211
  "return": {
1191
1212
  "type": {
1192
- "text": "ElementStyles"
1213
+ "text": "ViewTemplate<AiCriteriaSearch>"
1193
1214
  }
1194
1215
  },
1195
1216
  "parameters": [
1196
1217
  {
1197
- "name": "context",
1218
+ "name": "_context",
1198
1219
  "type": {
1199
1220
  "text": "ElementDefinitionContext"
1200
1221
  }
1201
1222
  },
1202
1223
  {
1203
- "name": "definition",
1224
+ "name": "_definition",
1204
1225
  "type": {
1205
1226
  "text": "FoundationElementDefinition"
1206
1227
  }
@@ -1211,570 +1232,347 @@
1211
1232
  "exports": [
1212
1233
  {
1213
1234
  "kind": "js",
1214
- "name": "rapidActionsMenuStyles",
1235
+ "name": "rapidAiCriteriaSearchTemplate",
1215
1236
  "declaration": {
1216
- "name": "rapidActionsMenuStyles",
1217
- "module": "src/actions-menu/actions-menu.styles.ts"
1237
+ "name": "rapidAiCriteriaSearchTemplate",
1238
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1218
1239
  }
1219
1240
  }
1220
1241
  ]
1221
1242
  },
1222
1243
  {
1223
1244
  "kind": "javascript-module",
1224
- "path": "src/actions-menu/actions-menu.ts",
1245
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1225
1246
  "declarations": [
1226
1247
  {
1227
1248
  "kind": "class",
1228
1249
  "description": "",
1229
- "name": "ActionsMenu",
1250
+ "name": "AiCriteriaSearch",
1230
1251
  "superclass": {
1231
- "name": "FoundationActionsMenu",
1252
+ "name": "FoundationAiCriteriaSearch",
1232
1253
  "package": "@genesislcap/foundation-ui"
1233
1254
  },
1234
- "tagName": "%%prefix%%-actions-menu",
1255
+ "tagName": "%%prefix%%-ai-criteria-search",
1235
1256
  "customElement": true,
1236
1257
  "attributes": [
1237
1258
  {
1238
- "name": "is-vertical",
1259
+ "name": "placeholder",
1239
1260
  "type": {
1240
- "text": "boolean"
1261
+ "text": "string"
1241
1262
  },
1242
- "default": "false",
1243
- "fieldName": "isVertical",
1263
+ "default": "'Describe your search criteria in natural language...'",
1264
+ "fieldName": "placeholder",
1244
1265
  "inheritedFrom": {
1245
- "name": "ActionsMenu",
1246
- "module": "src/actions-menu/actions-menu.ts"
1266
+ "name": "AiCriteriaSearch",
1267
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1247
1268
  }
1248
1269
  },
1249
1270
  {
1250
- "name": "add-default-actions",
1251
1271
  "type": {
1252
1272
  "text": "boolean"
1253
1273
  },
1254
- "default": "true",
1255
- "fieldName": "addDefaultActions",
1274
+ "fieldName": "disabled",
1256
1275
  "inheritedFrom": {
1257
- "name": "ActionsMenu",
1258
- "module": "src/actions-menu/actions-menu.ts"
1276
+ "name": "AiCriteriaSearch",
1277
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1259
1278
  }
1260
- },
1279
+ }
1280
+ ],
1281
+ "members": [
1261
1282
  {
1262
- "name": "auto-close-on-action",
1283
+ "kind": "field",
1284
+ "name": "providerRegistry",
1263
1285
  "type": {
1264
- "text": "boolean"
1286
+ "text": "AIProviderRegistry"
1265
1287
  },
1266
- "default": "true",
1267
- "fieldName": "autoCloseOnAction",
1268
1288
  "inheritedFrom": {
1269
- "name": "ActionsMenu",
1270
- "module": "src/actions-menu/actions-menu.ts"
1289
+ "name": "AiCriteriaSearch",
1290
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1271
1291
  }
1272
1292
  },
1273
1293
  {
1274
- "name": "name",
1294
+ "kind": "field",
1295
+ "name": "placeholder",
1275
1296
  "type": {
1276
1297
  "text": "string"
1277
1298
  },
1278
- "default": "'Actions'",
1279
- "fieldName": "name",
1299
+ "default": "'Describe your search criteria in natural language...'",
1280
1300
  "inheritedFrom": {
1281
- "name": "ActionsMenu",
1282
- "module": "src/actions-menu/actions-menu.ts"
1301
+ "name": "AiCriteriaSearch",
1302
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1283
1303
  }
1284
1304
  },
1285
1305
  {
1286
- "name": "icon-name",
1306
+ "kind": "field",
1307
+ "name": "disabled",
1287
1308
  "type": {
1288
- "text": "string"
1309
+ "text": "boolean"
1289
1310
  },
1290
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1291
- "fieldName": "iconName",
1292
- "inheritedFrom": {
1293
- "name": "ActionsMenu",
1294
- "module": "src/actions-menu/actions-menu.ts"
1295
- }
1296
- },
1297
- {
1298
- "name": "open",
1299
- "type": {
1300
- "text": "boolean"
1301
- },
1302
- "default": "false",
1303
- "fieldName": "open",
1304
1311
  "inheritedFrom": {
1305
- "name": "ActionsMenu",
1306
- "module": "src/actions-menu/actions-menu.ts"
1312
+ "name": "AiCriteriaSearch",
1313
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1307
1314
  }
1308
1315
  },
1309
1316
  {
1310
- "name": "buttonAppearance",
1317
+ "kind": "field",
1318
+ "name": "inputValue",
1311
1319
  "type": {
1312
1320
  "text": "string"
1313
1321
  },
1314
- "fieldName": "buttonAppearance",
1322
+ "default": "''",
1315
1323
  "inheritedFrom": {
1316
- "name": "ActionsMenu",
1317
- "module": "src/actions-menu/actions-menu.ts"
1324
+ "name": "AiCriteriaSearch",
1325
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1318
1326
  }
1319
1327
  },
1320
1328
  {
1321
- "name": "hide-disabled",
1329
+ "kind": "field",
1330
+ "name": "isInterpreting",
1322
1331
  "type": {
1323
1332
  "text": "boolean"
1324
1333
  },
1325
1334
  "default": "false",
1326
- "fieldName": "hideDisabled",
1327
1335
  "inheritedFrom": {
1328
- "name": "ActionsMenu",
1329
- "module": "src/actions-menu/actions-menu.ts"
1336
+ "name": "AiCriteriaSearch",
1337
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1330
1338
  }
1331
1339
  },
1332
- {
1333
- "name": "hide-menu-single-option",
1334
- "type": {
1335
- "text": "boolean"
1336
- },
1337
- "default": "false",
1338
- "fieldName": "hideMenuSingleOption",
1339
- "inheritedFrom": {
1340
- "name": "ActionsMenu",
1341
- "module": "src/actions-menu/actions-menu.ts"
1342
- }
1343
- }
1344
- ],
1345
- "members": [
1346
1340
  {
1347
1341
  "kind": "field",
1348
- "name": "actions",
1342
+ "name": "lastValidCriteria",
1349
1343
  "type": {
1350
- "text": "ActionMenuItem[]"
1344
+ "text": "string | null"
1351
1345
  },
1346
+ "default": "null",
1352
1347
  "inheritedFrom": {
1353
- "name": "ActionsMenu",
1354
- "module": "src/actions-menu/actions-menu.ts"
1348
+ "name": "AiCriteriaSearch",
1349
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1355
1350
  }
1356
1351
  },
1357
1352
  {
1358
1353
  "kind": "field",
1359
- "name": "actionsResolver",
1354
+ "name": "activeGroups",
1360
1355
  "type": {
1361
- "text": "ActionMenuItemsResolver | undefined"
1356
+ "text": "CriteriaGroup[]"
1362
1357
  },
1363
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`.",
1358
+ "default": "[]",
1364
1359
  "inheritedFrom": {
1365
- "name": "ActionsMenu",
1366
- "module": "src/actions-menu/actions-menu.ts"
1360
+ "name": "AiCriteriaSearch",
1361
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1367
1362
  }
1368
1363
  },
1369
1364
  {
1370
1365
  "kind": "field",
1371
- "name": "isVertical",
1366
+ "name": "showingChips",
1372
1367
  "type": {
1373
1368
  "text": "boolean"
1374
1369
  },
1375
1370
  "default": "false",
1376
1371
  "inheritedFrom": {
1377
- "name": "ActionsMenu",
1378
- "module": "src/actions-menu/actions-menu.ts"
1372
+ "name": "AiCriteriaSearch",
1373
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1379
1374
  }
1380
1375
  },
1381
1376
  {
1382
1377
  "kind": "field",
1383
- "name": "addDefaultActions",
1378
+ "name": "fieldMetadata",
1384
1379
  "type": {
1385
- "text": "boolean"
1380
+ "text": "MetadataDetail[] | string[]"
1386
1381
  },
1387
- "default": "true",
1382
+ "default": "[]",
1388
1383
  "inheritedFrom": {
1389
- "name": "ActionsMenu",
1390
- "module": "src/actions-menu/actions-menu.ts"
1384
+ "name": "AiCriteriaSearch",
1385
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1391
1386
  }
1392
1387
  },
1393
1388
  {
1394
1389
  "kind": "field",
1395
- "name": "autoCloseOnAction",
1390
+ "name": "isRecording",
1396
1391
  "type": {
1397
1392
  "text": "boolean"
1398
1393
  },
1399
- "default": "true",
1394
+ "default": "false",
1400
1395
  "inheritedFrom": {
1401
- "name": "ActionsMenu",
1402
- "module": "src/actions-menu/actions-menu.ts"
1396
+ "name": "AiCriteriaSearch",
1397
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1403
1398
  }
1404
1399
  },
1405
1400
  {
1406
1401
  "kind": "field",
1407
- "name": "classNames",
1402
+ "name": "textAreaRef",
1408
1403
  "type": {
1409
- "text": "string"
1404
+ "text": "HTMLTextAreaElement"
1410
1405
  },
1406
+ "privacy": "public",
1411
1407
  "inheritedFrom": {
1412
- "name": "ActionsMenu",
1413
- "module": "src/actions-menu/actions-menu.ts"
1408
+ "name": "AiCriteriaSearch",
1409
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1414
1410
  }
1415
1411
  },
1416
1412
  {
1417
1413
  "kind": "field",
1418
- "name": "definition",
1414
+ "name": "stopRecording",
1419
1415
  "type": {
1420
- "text": "any"
1416
+ "text": "(() => void) | null"
1421
1417
  },
1418
+ "privacy": "private",
1419
+ "default": "null",
1422
1420
  "inheritedFrom": {
1423
- "name": "ActionsMenu",
1424
- "module": "src/actions-menu/actions-menu.ts"
1421
+ "name": "AiCriteriaSearch",
1422
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1425
1423
  }
1426
1424
  },
1427
1425
  {
1428
1426
  "kind": "field",
1429
- "name": "name",
1427
+ "name": "speechApplyDebounceTimer",
1430
1428
  "type": {
1431
- "text": "string"
1429
+ "text": "ReturnType<typeof setTimeout> | null"
1432
1430
  },
1433
- "default": "'Actions'",
1431
+ "privacy": "private",
1432
+ "default": "null",
1434
1433
  "inheritedFrom": {
1435
- "name": "ActionsMenu",
1436
- "module": "src/actions-menu/actions-menu.ts"
1434
+ "name": "AiCriteriaSearch",
1435
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1437
1436
  }
1438
1437
  },
1439
1438
  {
1440
1439
  "kind": "field",
1441
- "name": "iconName",
1440
+ "name": "speechAvailable",
1442
1441
  "type": {
1443
- "text": "string"
1442
+ "text": "boolean"
1444
1443
  },
1445
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1444
+ "readonly": true,
1446
1445
  "inheritedFrom": {
1447
- "name": "ActionsMenu",
1448
- "module": "src/actions-menu/actions-menu.ts"
1446
+ "name": "AiCriteriaSearch",
1447
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1449
1448
  }
1450
1449
  },
1451
1450
  {
1452
1451
  "kind": "field",
1453
- "name": "open",
1452
+ "name": "criteriaChips",
1454
1453
  "type": {
1455
- "text": "boolean"
1454
+ "text": "CriteriaChip[]"
1456
1455
  },
1457
- "default": "false",
1456
+ "readonly": true,
1458
1457
  "inheritedFrom": {
1459
- "name": "ActionsMenu",
1460
- "module": "src/actions-menu/actions-menu.ts"
1458
+ "name": "AiCriteriaSearch",
1459
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1461
1460
  }
1462
1461
  },
1463
1462
  {
1464
- "kind": "field",
1465
- "name": "buttonAppearance",
1466
- "type": {
1467
- "text": "string"
1463
+ "kind": "method",
1464
+ "name": "getFieldLabel",
1465
+ "privacy": "private",
1466
+ "return": {
1467
+ "type": {
1468
+ "text": "string"
1469
+ }
1468
1470
  },
1471
+ "parameters": [
1472
+ {
1473
+ "name": "fieldName",
1474
+ "type": {
1475
+ "text": "string"
1476
+ }
1477
+ }
1478
+ ],
1469
1479
  "inheritedFrom": {
1470
- "name": "ActionsMenu",
1471
- "module": "src/actions-menu/actions-menu.ts"
1480
+ "name": "AiCriteriaSearch",
1481
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1472
1482
  }
1473
1483
  },
1474
1484
  {
1475
- "kind": "field",
1476
- "name": "hideDisabled",
1477
- "type": {
1478
- "text": "boolean"
1485
+ "kind": "method",
1486
+ "name": "toggleCriteriaView",
1487
+ "return": {
1488
+ "type": {
1489
+ "text": "void"
1490
+ }
1479
1491
  },
1480
- "default": "false",
1481
1492
  "inheritedFrom": {
1482
- "name": "ActionsMenu",
1483
- "module": "src/actions-menu/actions-menu.ts"
1493
+ "name": "AiCriteriaSearch",
1494
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1484
1495
  }
1485
1496
  },
1486
1497
  {
1487
- "kind": "field",
1488
- "name": "hideMenuSingleOption",
1489
- "type": {
1490
- "text": "boolean"
1498
+ "kind": "method",
1499
+ "name": "removeChip",
1500
+ "return": {
1501
+ "type": {
1502
+ "text": "void"
1503
+ }
1491
1504
  },
1492
- "default": "false",
1505
+ "parameters": [
1506
+ {
1507
+ "name": "groupIndex",
1508
+ "type": {
1509
+ "text": "number"
1510
+ }
1511
+ },
1512
+ {
1513
+ "name": "clauseIndex",
1514
+ "type": {
1515
+ "text": "number"
1516
+ }
1517
+ }
1518
+ ],
1493
1519
  "inheritedFrom": {
1494
- "name": "ActionsMenu",
1495
- "module": "src/actions-menu/actions-menu.ts"
1520
+ "name": "AiCriteriaSearch",
1521
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1496
1522
  }
1497
1523
  },
1498
1524
  {
1499
- "kind": "field",
1500
- "name": "singleOption",
1501
- "type": {
1502
- "text": "ActionMenuItem"
1525
+ "kind": "method",
1526
+ "name": "clearChips",
1527
+ "return": {
1528
+ "type": {
1529
+ "text": "void"
1530
+ }
1503
1531
  },
1504
1532
  "inheritedFrom": {
1505
- "name": "ActionsMenu",
1506
- "module": "src/actions-menu/actions-menu.ts"
1533
+ "name": "AiCriteriaSearch",
1534
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1507
1535
  }
1508
1536
  },
1509
1537
  {
1510
- "kind": "field",
1511
- "name": "actionsMenu",
1512
- "type": {
1513
- "text": "HTMLElement"
1514
- },
1538
+ "kind": "method",
1539
+ "name": "handleSubmit",
1515
1540
  "inheritedFrom": {
1516
- "name": "ActionsMenu",
1517
- "module": "src/actions-menu/actions-menu.ts"
1541
+ "name": "AiCriteriaSearch",
1542
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1518
1543
  }
1519
1544
  },
1520
1545
  {
1521
- "kind": "field",
1522
- "name": "actionsOpener",
1523
- "type": {
1524
- "text": "HTMLElement"
1525
- },
1546
+ "kind": "method",
1547
+ "name": "handleBlur",
1526
1548
  "inheritedFrom": {
1527
- "name": "ActionsMenu",
1528
- "module": "src/actions-menu/actions-menu.ts"
1549
+ "name": "AiCriteriaSearch",
1550
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1529
1551
  }
1530
1552
  },
1531
1553
  {
1532
- "kind": "field",
1533
- "name": "positionTracker",
1534
- "type": {
1535
- "text": "AnchoredPopoverPositionTracker | undefined"
1536
- },
1537
- "privacy": "private",
1554
+ "kind": "method",
1555
+ "name": "clear",
1538
1556
  "inheritedFrom": {
1539
- "name": "ActionsMenu",
1540
- "module": "src/actions-menu/actions-menu.ts"
1541
- }
1542
- },
1543
- {
1544
- "kind": "field",
1545
- "name": "focusMenuOnOpen",
1546
- "type": {
1547
- "text": "boolean"
1548
- },
1549
- "privacy": "private",
1550
- "default": "false",
1551
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce.",
1552
- "inheritedFrom": {
1553
- "name": "ActionsMenu",
1554
- "module": "src/actions-menu/actions-menu.ts"
1555
- }
1556
- },
1557
- {
1558
- "kind": "method",
1559
- "name": "updateMenuPosition",
1560
- "privacy": "private",
1561
- "inheritedFrom": {
1562
- "name": "ActionsMenu",
1563
- "module": "src/actions-menu/actions-menu.ts"
1557
+ "name": "AiCriteriaSearch",
1558
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1564
1559
  }
1565
1560
  },
1566
1561
  {
1567
1562
  "kind": "method",
1568
- "name": "startTrackingPosition",
1569
- "privacy": "private",
1563
+ "name": "toggleSpeechInput",
1570
1564
  "inheritedFrom": {
1571
- "name": "ActionsMenu",
1572
- "module": "src/actions-menu/actions-menu.ts"
1565
+ "name": "AiCriteriaSearch",
1566
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1573
1567
  }
1574
1568
  },
1575
1569
  {
1576
1570
  "kind": "method",
1577
- "name": "stopTrackingPosition",
1571
+ "name": "clearSpeechApplyDebounce",
1578
1572
  "privacy": "private",
1579
1573
  "inheritedFrom": {
1580
- "name": "ActionsMenu",
1581
- "module": "src/actions-menu/actions-menu.ts"
1582
- }
1583
- },
1584
- {
1585
- "kind": "method",
1586
- "name": "definitionChanged",
1587
- "privacy": "protected",
1588
- "parameters": [
1589
- {
1590
- "name": "oldValue",
1591
- "type": {
1592
- "text": "any"
1593
- }
1594
- },
1595
- {
1596
- "name": "newValue",
1597
- "type": {
1598
- "text": "any"
1599
- }
1600
- }
1601
- ],
1602
- "inheritedFrom": {
1603
- "name": "ActionsMenu",
1604
- "module": "src/actions-menu/actions-menu.ts"
1605
- }
1606
- },
1607
- {
1608
- "kind": "method",
1609
- "name": "openChanged",
1610
- "privacy": "protected",
1611
- "inheritedFrom": {
1612
- "name": "ActionsMenu",
1613
- "module": "src/actions-menu/actions-menu.ts"
1614
- }
1615
- },
1616
- {
1617
- "kind": "method",
1618
- "name": "toggleActionsMenuVisibility",
1619
- "inheritedFrom": {
1620
- "name": "ActionsMenu",
1621
- "module": "src/actions-menu/actions-menu.ts"
1622
- }
1623
- },
1624
- {
1625
- "kind": "method",
1626
- "name": "onPopoverToggle",
1627
- "parameters": [
1628
- {
1629
- "name": "event",
1630
- "type": {
1631
- "text": "Event"
1632
- }
1633
- }
1634
- ],
1635
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`.",
1636
- "inheritedFrom": {
1637
- "name": "ActionsMenu",
1638
- "module": "src/actions-menu/actions-menu.ts"
1639
- }
1640
- },
1641
- {
1642
- "kind": "method",
1643
- "name": "onIconOpenerKeydown",
1644
- "return": {
1645
- "type": {
1646
- "text": "boolean"
1647
- }
1648
- },
1649
- "parameters": [
1650
- {
1651
- "name": "event",
1652
- "type": {
1653
- "text": "KeyboardEvent"
1654
- }
1655
- }
1656
- ],
1657
- "description": "Opens the icon-only opener from the keyboard, as a native button would.",
1658
- "inheritedFrom": {
1659
- "name": "ActionsMenu",
1660
- "module": "src/actions-menu/actions-menu.ts"
1661
- }
1662
- },
1663
- {
1664
- "kind": "method",
1665
- "name": "onActionMenuItemClick",
1666
- "parameters": [
1667
- {
1668
- "name": "callback",
1669
- "type": {
1670
- "text": "(rowData) => void | any"
1671
- }
1672
- }
1673
- ],
1674
- "inheritedFrom": {
1675
- "name": "ActionsMenu",
1676
- "module": "src/actions-menu/actions-menu.ts"
1677
- }
1678
- },
1679
- {
1680
- "kind": "method",
1681
- "name": "isActionDisabled",
1682
- "return": {
1683
- "type": {
1684
- "text": "boolean"
1685
- }
1686
- },
1687
- "parameters": [
1688
- {
1689
- "name": "action",
1690
- "type": {
1691
- "text": "ActionMenuItem"
1692
- }
1693
- }
1694
- ],
1695
- "description": "Resolves an action's `isDisabled` for the current row.",
1696
- "inheritedFrom": {
1697
- "name": "ActionsMenu",
1698
- "module": "src/actions-menu/actions-menu.ts"
1699
- }
1700
- },
1701
- {
1702
- "kind": "field",
1703
- "name": "resolvedActions",
1704
- "type": {
1705
- "text": "ActionMenuItem[]"
1706
- },
1707
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1708
- "readonly": true,
1709
- "inheritedFrom": {
1710
- "name": "ActionsMenu",
1711
- "module": "src/actions-menu/actions-menu.ts"
1712
- }
1713
- },
1714
- {
1715
- "kind": "field",
1716
- "name": "hasVisibleActions",
1717
- "type": {
1718
- "text": "boolean"
1719
- },
1720
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1721
- "readonly": true,
1722
- "inheritedFrom": {
1723
- "name": "ActionsMenu",
1724
- "module": "src/actions-menu/actions-menu.ts"
1725
- }
1726
- },
1727
- {
1728
- "kind": "field",
1729
- "name": "allActions",
1730
- "type": {
1731
- "text": "ActionMenuItem[]"
1732
- },
1733
- "readonly": true,
1734
- "inheritedFrom": {
1735
- "name": "ActionsMenu",
1736
- "module": "src/actions-menu/actions-menu.ts"
1737
- }
1738
- },
1739
- {
1740
- "kind": "field",
1741
- "name": "rowData",
1742
- "readonly": true,
1743
- "inheritedFrom": {
1744
- "name": "ActionsMenu",
1745
- "module": "src/actions-menu/actions-menu.ts"
1746
- }
1747
- },
1748
- {
1749
- "kind": "method",
1750
- "name": "getLabel",
1751
- "parameters": [
1752
- {
1753
- "name": "name",
1754
- "type": {
1755
- "text": "string | ((rowData: any) => string)"
1756
- }
1757
- }
1758
- ],
1759
- "inheritedFrom": {
1760
- "name": "ActionsMenu",
1761
- "module": "src/actions-menu/actions-menu.ts"
1762
- }
1763
- },
1764
- {
1765
- "kind": "method",
1766
- "name": "getTemplate",
1767
- "parameters": [
1768
- {
1769
- "name": "prefix",
1770
- "type": {
1771
- "text": "string"
1772
- }
1773
- }
1774
- ],
1775
- "inheritedFrom": {
1776
- "name": "ActionsMenu",
1777
- "module": "src/actions-menu/actions-menu.ts"
1574
+ "name": "AiCriteriaSearch",
1575
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1778
1576
  }
1779
1577
  },
1780
1578
  {
@@ -1888,37 +1686,55 @@
1888
1686
  "module": "src/foundation-element/foundation-element.ts"
1889
1687
  }
1890
1688
  }
1689
+ ],
1690
+ "events": [
1691
+ {
1692
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
1693
+ "name": "criteria-changed",
1694
+ "inheritedFrom": {
1695
+ "name": "AiCriteriaSearch",
1696
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
1701
+ "name": "validation-errors",
1702
+ "inheritedFrom": {
1703
+ "name": "AiCriteriaSearch",
1704
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1705
+ }
1706
+ }
1891
1707
  ]
1892
1708
  },
1893
1709
  {
1894
1710
  "kind": "variable",
1895
- "name": "rapidActionsMenu",
1896
- "description": "The Rapid Actions Menu",
1711
+ "name": "rapidAiCriteriaSearch",
1712
+ "description": "The Rapid AI Criteria Search",
1897
1713
  "privacy": "public"
1898
1714
  }
1899
1715
  ],
1900
1716
  "exports": [
1901
1717
  {
1902
1718
  "kind": "js",
1903
- "name": "ActionsMenu",
1719
+ "name": "AiCriteriaSearch",
1904
1720
  "declaration": {
1905
- "name": "ActionsMenu",
1906
- "module": "src/actions-menu/actions-menu.ts"
1721
+ "name": "AiCriteriaSearch",
1722
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1907
1723
  }
1908
1724
  },
1909
1725
  {
1910
1726
  "kind": "js",
1911
- "name": "rapidActionsMenu",
1727
+ "name": "rapidAiCriteriaSearch",
1912
1728
  "declaration": {
1913
- "name": "rapidActionsMenu",
1914
- "module": "src/actions-menu/actions-menu.ts"
1729
+ "name": "rapidAiCriteriaSearch",
1730
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1915
1731
  }
1916
1732
  }
1917
1733
  ]
1918
1734
  },
1919
1735
  {
1920
1736
  "kind": "javascript-module",
1921
- "path": "src/actions-menu/index.ts",
1737
+ "path": "src/ai-criteria-search/index.ts",
1922
1738
  "declarations": [],
1923
1739
  "exports": [
1924
1740
  {
@@ -1926,7 +1742,7 @@
1926
1742
  "name": "*",
1927
1743
  "declaration": {
1928
1744
  "name": "*",
1929
- "package": "./actions-menu"
1745
+ "package": "./ai-criteria-search"
1930
1746
  }
1931
1747
  },
1932
1748
  {
@@ -1934,53 +1750,40 @@
1934
1750
  "name": "*",
1935
1751
  "declaration": {
1936
1752
  "name": "*",
1937
- "package": "./actions-menu.styles"
1753
+ "package": "./ai-criteria-search.styles"
1938
1754
  }
1939
- }
1940
- ]
1941
- },
1942
- {
1943
- "kind": "javascript-module",
1944
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1945
- "declarations": [
1946
- {
1947
- "kind": "variable",
1948
- "name": "rapidAiCriteriaSearchStyles",
1949
- "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
1950
- }
1951
- ],
1952
- "exports": [
1755
+ },
1953
1756
  {
1954
1757
  "kind": "js",
1955
- "name": "rapidAiCriteriaSearchStyles",
1758
+ "name": "*",
1956
1759
  "declaration": {
1957
- "name": "rapidAiCriteriaSearchStyles",
1958
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1760
+ "name": "*",
1761
+ "package": "./ai-criteria-search.template"
1959
1762
  }
1960
1763
  }
1961
1764
  ]
1962
1765
  },
1963
1766
  {
1964
1767
  "kind": "javascript-module",
1965
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1768
+ "path": "src/actions-menu/actions-menu.styles.ts",
1966
1769
  "declarations": [
1967
1770
  {
1968
1771
  "kind": "function",
1969
- "name": "rapidAiCriteriaSearchTemplate",
1772
+ "name": "rapidActionsMenuStyles",
1970
1773
  "return": {
1971
1774
  "type": {
1972
- "text": "ViewTemplate<AiCriteriaSearch>"
1775
+ "text": "ElementStyles"
1973
1776
  }
1974
1777
  },
1975
1778
  "parameters": [
1976
1779
  {
1977
- "name": "_context",
1780
+ "name": "context",
1978
1781
  "type": {
1979
1782
  "text": "ElementDefinitionContext"
1980
1783
  }
1981
1784
  },
1982
1785
  {
1983
- "name": "_definition",
1786
+ "name": "definition",
1984
1787
  "type": {
1985
1788
  "text": "FoundationElementDefinition"
1986
1789
  }
@@ -1991,347 +1794,570 @@
1991
1794
  "exports": [
1992
1795
  {
1993
1796
  "kind": "js",
1994
- "name": "rapidAiCriteriaSearchTemplate",
1797
+ "name": "rapidActionsMenuStyles",
1995
1798
  "declaration": {
1996
- "name": "rapidAiCriteriaSearchTemplate",
1997
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1799
+ "name": "rapidActionsMenuStyles",
1800
+ "module": "src/actions-menu/actions-menu.styles.ts"
1998
1801
  }
1999
1802
  }
2000
1803
  ]
2001
1804
  },
2002
1805
  {
2003
1806
  "kind": "javascript-module",
2004
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1807
+ "path": "src/actions-menu/actions-menu.ts",
2005
1808
  "declarations": [
2006
1809
  {
2007
1810
  "kind": "class",
2008
1811
  "description": "",
2009
- "name": "AiCriteriaSearch",
1812
+ "name": "ActionsMenu",
2010
1813
  "superclass": {
2011
- "name": "FoundationAiCriteriaSearch",
1814
+ "name": "FoundationActionsMenu",
2012
1815
  "package": "@genesislcap/foundation-ui"
2013
1816
  },
2014
- "tagName": "%%prefix%%-ai-criteria-search",
1817
+ "tagName": "%%prefix%%-actions-menu",
2015
1818
  "customElement": true,
2016
1819
  "attributes": [
2017
1820
  {
2018
- "name": "placeholder",
1821
+ "name": "is-vertical",
1822
+ "type": {
1823
+ "text": "boolean"
1824
+ },
1825
+ "default": "false",
1826
+ "fieldName": "isVertical",
1827
+ "inheritedFrom": {
1828
+ "name": "ActionsMenu",
1829
+ "module": "src/actions-menu/actions-menu.ts"
1830
+ }
1831
+ },
1832
+ {
1833
+ "name": "add-default-actions",
1834
+ "type": {
1835
+ "text": "boolean"
1836
+ },
1837
+ "default": "true",
1838
+ "fieldName": "addDefaultActions",
1839
+ "inheritedFrom": {
1840
+ "name": "ActionsMenu",
1841
+ "module": "src/actions-menu/actions-menu.ts"
1842
+ }
1843
+ },
1844
+ {
1845
+ "name": "auto-close-on-action",
1846
+ "type": {
1847
+ "text": "boolean"
1848
+ },
1849
+ "default": "true",
1850
+ "fieldName": "autoCloseOnAction",
1851
+ "inheritedFrom": {
1852
+ "name": "ActionsMenu",
1853
+ "module": "src/actions-menu/actions-menu.ts"
1854
+ }
1855
+ },
1856
+ {
1857
+ "name": "name",
2019
1858
  "type": {
2020
1859
  "text": "string"
2021
1860
  },
2022
- "default": "'Describe your search criteria in natural language...'",
2023
- "fieldName": "placeholder",
1861
+ "default": "'Actions'",
1862
+ "fieldName": "name",
2024
1863
  "inheritedFrom": {
2025
- "name": "AiCriteriaSearch",
2026
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1864
+ "name": "ActionsMenu",
1865
+ "module": "src/actions-menu/actions-menu.ts"
2027
1866
  }
2028
1867
  },
2029
1868
  {
1869
+ "name": "icon-name",
1870
+ "type": {
1871
+ "text": "string"
1872
+ },
1873
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1874
+ "fieldName": "iconName",
1875
+ "inheritedFrom": {
1876
+ "name": "ActionsMenu",
1877
+ "module": "src/actions-menu/actions-menu.ts"
1878
+ }
1879
+ },
1880
+ {
1881
+ "name": "open",
2030
1882
  "type": {
2031
1883
  "text": "boolean"
2032
1884
  },
2033
- "fieldName": "disabled",
1885
+ "default": "false",
1886
+ "fieldName": "open",
2034
1887
  "inheritedFrom": {
2035
- "name": "AiCriteriaSearch",
2036
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1888
+ "name": "ActionsMenu",
1889
+ "module": "src/actions-menu/actions-menu.ts"
1890
+ }
1891
+ },
1892
+ {
1893
+ "name": "buttonAppearance",
1894
+ "type": {
1895
+ "text": "string"
1896
+ },
1897
+ "fieldName": "buttonAppearance",
1898
+ "inheritedFrom": {
1899
+ "name": "ActionsMenu",
1900
+ "module": "src/actions-menu/actions-menu.ts"
1901
+ }
1902
+ },
1903
+ {
1904
+ "name": "hide-disabled",
1905
+ "type": {
1906
+ "text": "boolean"
1907
+ },
1908
+ "default": "false",
1909
+ "fieldName": "hideDisabled",
1910
+ "inheritedFrom": {
1911
+ "name": "ActionsMenu",
1912
+ "module": "src/actions-menu/actions-menu.ts"
1913
+ }
1914
+ },
1915
+ {
1916
+ "name": "hide-menu-single-option",
1917
+ "type": {
1918
+ "text": "boolean"
1919
+ },
1920
+ "default": "false",
1921
+ "fieldName": "hideMenuSingleOption",
1922
+ "inheritedFrom": {
1923
+ "name": "ActionsMenu",
1924
+ "module": "src/actions-menu/actions-menu.ts"
2037
1925
  }
2038
1926
  }
2039
1927
  ],
2040
1928
  "members": [
2041
1929
  {
2042
1930
  "kind": "field",
2043
- "name": "providerRegistry",
1931
+ "name": "actions",
2044
1932
  "type": {
2045
- "text": "AIProviderRegistry"
1933
+ "text": "ActionMenuItem[]"
2046
1934
  },
2047
1935
  "inheritedFrom": {
2048
- "name": "AiCriteriaSearch",
2049
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1936
+ "name": "ActionsMenu",
1937
+ "module": "src/actions-menu/actions-menu.ts"
2050
1938
  }
2051
1939
  },
2052
1940
  {
2053
1941
  "kind": "field",
2054
- "name": "placeholder",
1942
+ "name": "actionsResolver",
2055
1943
  "type": {
2056
- "text": "string"
1944
+ "text": "ActionMenuItemsResolver | undefined"
2057
1945
  },
2058
- "default": "'Describe your search criteria in natural language...'",
1946
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`.",
2059
1947
  "inheritedFrom": {
2060
- "name": "AiCriteriaSearch",
2061
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1948
+ "name": "ActionsMenu",
1949
+ "module": "src/actions-menu/actions-menu.ts"
2062
1950
  }
2063
1951
  },
2064
1952
  {
2065
1953
  "kind": "field",
2066
- "name": "disabled",
1954
+ "name": "isVertical",
2067
1955
  "type": {
2068
1956
  "text": "boolean"
2069
1957
  },
1958
+ "default": "false",
2070
1959
  "inheritedFrom": {
2071
- "name": "AiCriteriaSearch",
2072
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1960
+ "name": "ActionsMenu",
1961
+ "module": "src/actions-menu/actions-menu.ts"
2073
1962
  }
2074
1963
  },
2075
1964
  {
2076
1965
  "kind": "field",
2077
- "name": "inputValue",
1966
+ "name": "addDefaultActions",
2078
1967
  "type": {
2079
- "text": "string"
1968
+ "text": "boolean"
2080
1969
  },
2081
- "default": "''",
1970
+ "default": "true",
2082
1971
  "inheritedFrom": {
2083
- "name": "AiCriteriaSearch",
2084
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1972
+ "name": "ActionsMenu",
1973
+ "module": "src/actions-menu/actions-menu.ts"
2085
1974
  }
2086
1975
  },
2087
1976
  {
2088
1977
  "kind": "field",
2089
- "name": "isInterpreting",
1978
+ "name": "autoCloseOnAction",
2090
1979
  "type": {
2091
1980
  "text": "boolean"
2092
1981
  },
2093
- "default": "false",
1982
+ "default": "true",
2094
1983
  "inheritedFrom": {
2095
- "name": "AiCriteriaSearch",
2096
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1984
+ "name": "ActionsMenu",
1985
+ "module": "src/actions-menu/actions-menu.ts"
2097
1986
  }
2098
1987
  },
2099
1988
  {
2100
1989
  "kind": "field",
2101
- "name": "lastValidCriteria",
1990
+ "name": "classNames",
2102
1991
  "type": {
2103
- "text": "string | null"
1992
+ "text": "string"
2104
1993
  },
2105
- "default": "null",
2106
1994
  "inheritedFrom": {
2107
- "name": "AiCriteriaSearch",
2108
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
1995
+ "name": "ActionsMenu",
1996
+ "module": "src/actions-menu/actions-menu.ts"
2109
1997
  }
2110
1998
  },
2111
1999
  {
2112
2000
  "kind": "field",
2113
- "name": "activeGroups",
2001
+ "name": "definition",
2114
2002
  "type": {
2115
- "text": "CriteriaGroup[]"
2003
+ "text": "any"
2116
2004
  },
2117
- "default": "[]",
2118
2005
  "inheritedFrom": {
2119
- "name": "AiCriteriaSearch",
2120
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2006
+ "name": "ActionsMenu",
2007
+ "module": "src/actions-menu/actions-menu.ts"
2121
2008
  }
2122
2009
  },
2123
2010
  {
2124
2011
  "kind": "field",
2125
- "name": "showingChips",
2012
+ "name": "name",
2013
+ "type": {
2014
+ "text": "string"
2015
+ },
2016
+ "default": "'Actions'",
2017
+ "inheritedFrom": {
2018
+ "name": "ActionsMenu",
2019
+ "module": "src/actions-menu/actions-menu.ts"
2020
+ }
2021
+ },
2022
+ {
2023
+ "kind": "field",
2024
+ "name": "iconName",
2025
+ "type": {
2026
+ "text": "string"
2027
+ },
2028
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2029
+ "inheritedFrom": {
2030
+ "name": "ActionsMenu",
2031
+ "module": "src/actions-menu/actions-menu.ts"
2032
+ }
2033
+ },
2034
+ {
2035
+ "kind": "field",
2036
+ "name": "open",
2126
2037
  "type": {
2127
2038
  "text": "boolean"
2128
2039
  },
2129
2040
  "default": "false",
2130
2041
  "inheritedFrom": {
2131
- "name": "AiCriteriaSearch",
2132
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2042
+ "name": "ActionsMenu",
2043
+ "module": "src/actions-menu/actions-menu.ts"
2133
2044
  }
2134
2045
  },
2135
2046
  {
2136
2047
  "kind": "field",
2137
- "name": "fieldMetadata",
2048
+ "name": "buttonAppearance",
2138
2049
  "type": {
2139
- "text": "MetadataDetail[] | string[]"
2050
+ "text": "string"
2140
2051
  },
2141
- "default": "[]",
2142
2052
  "inheritedFrom": {
2143
- "name": "AiCriteriaSearch",
2144
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2053
+ "name": "ActionsMenu",
2054
+ "module": "src/actions-menu/actions-menu.ts"
2145
2055
  }
2146
2056
  },
2147
2057
  {
2148
2058
  "kind": "field",
2149
- "name": "isRecording",
2059
+ "name": "hideDisabled",
2150
2060
  "type": {
2151
2061
  "text": "boolean"
2152
2062
  },
2153
2063
  "default": "false",
2154
2064
  "inheritedFrom": {
2155
- "name": "AiCriteriaSearch",
2156
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2065
+ "name": "ActionsMenu",
2066
+ "module": "src/actions-menu/actions-menu.ts"
2157
2067
  }
2158
2068
  },
2159
2069
  {
2160
2070
  "kind": "field",
2161
- "name": "textAreaRef",
2071
+ "name": "hideMenuSingleOption",
2162
2072
  "type": {
2163
- "text": "HTMLTextAreaElement"
2073
+ "text": "boolean"
2164
2074
  },
2165
- "privacy": "public",
2075
+ "default": "false",
2076
+ "inheritedFrom": {
2077
+ "name": "ActionsMenu",
2078
+ "module": "src/actions-menu/actions-menu.ts"
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "field",
2083
+ "name": "singleOption",
2084
+ "type": {
2085
+ "text": "ActionMenuItem"
2086
+ },
2087
+ "inheritedFrom": {
2088
+ "name": "ActionsMenu",
2089
+ "module": "src/actions-menu/actions-menu.ts"
2090
+ }
2091
+ },
2092
+ {
2093
+ "kind": "field",
2094
+ "name": "actionsMenu",
2095
+ "type": {
2096
+ "text": "HTMLElement"
2097
+ },
2098
+ "inheritedFrom": {
2099
+ "name": "ActionsMenu",
2100
+ "module": "src/actions-menu/actions-menu.ts"
2101
+ }
2102
+ },
2103
+ {
2104
+ "kind": "field",
2105
+ "name": "actionsOpener",
2106
+ "type": {
2107
+ "text": "HTMLElement"
2108
+ },
2109
+ "inheritedFrom": {
2110
+ "name": "ActionsMenu",
2111
+ "module": "src/actions-menu/actions-menu.ts"
2112
+ }
2113
+ },
2114
+ {
2115
+ "kind": "field",
2116
+ "name": "positionTracker",
2117
+ "type": {
2118
+ "text": "AnchoredPopoverPositionTracker | undefined"
2119
+ },
2120
+ "privacy": "private",
2121
+ "inheritedFrom": {
2122
+ "name": "ActionsMenu",
2123
+ "module": "src/actions-menu/actions-menu.ts"
2124
+ }
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "focusMenuOnOpen",
2129
+ "type": {
2130
+ "text": "boolean"
2131
+ },
2132
+ "privacy": "private",
2133
+ "default": "false",
2134
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce.",
2135
+ "inheritedFrom": {
2136
+ "name": "ActionsMenu",
2137
+ "module": "src/actions-menu/actions-menu.ts"
2138
+ }
2139
+ },
2140
+ {
2141
+ "kind": "method",
2142
+ "name": "updateMenuPosition",
2143
+ "privacy": "private",
2144
+ "inheritedFrom": {
2145
+ "name": "ActionsMenu",
2146
+ "module": "src/actions-menu/actions-menu.ts"
2147
+ }
2148
+ },
2149
+ {
2150
+ "kind": "method",
2151
+ "name": "startTrackingPosition",
2152
+ "privacy": "private",
2153
+ "inheritedFrom": {
2154
+ "name": "ActionsMenu",
2155
+ "module": "src/actions-menu/actions-menu.ts"
2156
+ }
2157
+ },
2158
+ {
2159
+ "kind": "method",
2160
+ "name": "stopTrackingPosition",
2161
+ "privacy": "private",
2166
2162
  "inheritedFrom": {
2167
- "name": "AiCriteriaSearch",
2168
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2163
+ "name": "ActionsMenu",
2164
+ "module": "src/actions-menu/actions-menu.ts"
2169
2165
  }
2170
2166
  },
2171
2167
  {
2172
- "kind": "field",
2173
- "name": "stopRecording",
2174
- "type": {
2175
- "text": "(() => void) | null"
2176
- },
2177
- "privacy": "private",
2178
- "default": "null",
2168
+ "kind": "method",
2169
+ "name": "definitionChanged",
2170
+ "privacy": "protected",
2171
+ "parameters": [
2172
+ {
2173
+ "name": "oldValue",
2174
+ "type": {
2175
+ "text": "any"
2176
+ }
2177
+ },
2178
+ {
2179
+ "name": "newValue",
2180
+ "type": {
2181
+ "text": "any"
2182
+ }
2183
+ }
2184
+ ],
2179
2185
  "inheritedFrom": {
2180
- "name": "AiCriteriaSearch",
2181
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2186
+ "name": "ActionsMenu",
2187
+ "module": "src/actions-menu/actions-menu.ts"
2182
2188
  }
2183
2189
  },
2184
2190
  {
2185
- "kind": "field",
2186
- "name": "speechApplyDebounceTimer",
2187
- "type": {
2188
- "text": "ReturnType<typeof setTimeout> | null"
2189
- },
2190
- "privacy": "private",
2191
- "default": "null",
2191
+ "kind": "method",
2192
+ "name": "openChanged",
2193
+ "privacy": "protected",
2192
2194
  "inheritedFrom": {
2193
- "name": "AiCriteriaSearch",
2194
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2195
+ "name": "ActionsMenu",
2196
+ "module": "src/actions-menu/actions-menu.ts"
2195
2197
  }
2196
2198
  },
2197
2199
  {
2198
- "kind": "field",
2199
- "name": "speechAvailable",
2200
- "type": {
2201
- "text": "boolean"
2202
- },
2203
- "readonly": true,
2200
+ "kind": "method",
2201
+ "name": "toggleActionsMenuVisibility",
2204
2202
  "inheritedFrom": {
2205
- "name": "AiCriteriaSearch",
2206
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2203
+ "name": "ActionsMenu",
2204
+ "module": "src/actions-menu/actions-menu.ts"
2207
2205
  }
2208
2206
  },
2209
2207
  {
2210
- "kind": "field",
2211
- "name": "criteriaChips",
2212
- "type": {
2213
- "text": "CriteriaChip[]"
2214
- },
2215
- "readonly": true,
2208
+ "kind": "method",
2209
+ "name": "onPopoverToggle",
2210
+ "parameters": [
2211
+ {
2212
+ "name": "event",
2213
+ "type": {
2214
+ "text": "Event"
2215
+ }
2216
+ }
2217
+ ],
2218
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`.",
2216
2219
  "inheritedFrom": {
2217
- "name": "AiCriteriaSearch",
2218
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2220
+ "name": "ActionsMenu",
2221
+ "module": "src/actions-menu/actions-menu.ts"
2219
2222
  }
2220
2223
  },
2221
2224
  {
2222
2225
  "kind": "method",
2223
- "name": "getFieldLabel",
2224
- "privacy": "private",
2226
+ "name": "onIconOpenerKeydown",
2225
2227
  "return": {
2226
2228
  "type": {
2227
- "text": "string"
2229
+ "text": "boolean"
2228
2230
  }
2229
2231
  },
2230
2232
  "parameters": [
2231
2233
  {
2232
- "name": "fieldName",
2234
+ "name": "event",
2233
2235
  "type": {
2234
- "text": "string"
2236
+ "text": "KeyboardEvent"
2235
2237
  }
2236
2238
  }
2237
2239
  ],
2240
+ "description": "Opens the icon-only opener from the keyboard, as a native button would.",
2238
2241
  "inheritedFrom": {
2239
- "name": "AiCriteriaSearch",
2240
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2242
+ "name": "ActionsMenu",
2243
+ "module": "src/actions-menu/actions-menu.ts"
2241
2244
  }
2242
2245
  },
2243
2246
  {
2244
2247
  "kind": "method",
2245
- "name": "toggleCriteriaView",
2246
- "return": {
2247
- "type": {
2248
- "text": "void"
2248
+ "name": "onActionMenuItemClick",
2249
+ "parameters": [
2250
+ {
2251
+ "name": "callback",
2252
+ "type": {
2253
+ "text": "(rowData) => void | any"
2254
+ }
2249
2255
  }
2250
- },
2256
+ ],
2251
2257
  "inheritedFrom": {
2252
- "name": "AiCriteriaSearch",
2253
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2258
+ "name": "ActionsMenu",
2259
+ "module": "src/actions-menu/actions-menu.ts"
2254
2260
  }
2255
2261
  },
2256
2262
  {
2257
2263
  "kind": "method",
2258
- "name": "removeChip",
2264
+ "name": "isActionDisabled",
2259
2265
  "return": {
2260
2266
  "type": {
2261
- "text": "void"
2267
+ "text": "boolean"
2262
2268
  }
2263
2269
  },
2264
2270
  "parameters": [
2265
2271
  {
2266
- "name": "groupIndex",
2267
- "type": {
2268
- "text": "number"
2269
- }
2270
- },
2271
- {
2272
- "name": "clauseIndex",
2272
+ "name": "action",
2273
2273
  "type": {
2274
- "text": "number"
2274
+ "text": "ActionMenuItem"
2275
2275
  }
2276
2276
  }
2277
2277
  ],
2278
+ "description": "Resolves an action's `isDisabled` for the current row.",
2278
2279
  "inheritedFrom": {
2279
- "name": "AiCriteriaSearch",
2280
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2280
+ "name": "ActionsMenu",
2281
+ "module": "src/actions-menu/actions-menu.ts"
2281
2282
  }
2282
2283
  },
2283
2284
  {
2284
- "kind": "method",
2285
- "name": "clearChips",
2286
- "return": {
2287
- "type": {
2288
- "text": "void"
2289
- }
2285
+ "kind": "field",
2286
+ "name": "resolvedActions",
2287
+ "type": {
2288
+ "text": "ActionMenuItem[]"
2290
2289
  },
2290
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2291
+ "readonly": true,
2291
2292
  "inheritedFrom": {
2292
- "name": "AiCriteriaSearch",
2293
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2293
+ "name": "ActionsMenu",
2294
+ "module": "src/actions-menu/actions-menu.ts"
2294
2295
  }
2295
2296
  },
2296
2297
  {
2297
- "kind": "method",
2298
- "name": "handleSubmit",
2298
+ "kind": "field",
2299
+ "name": "hasVisibleActions",
2300
+ "type": {
2301
+ "text": "boolean"
2302
+ },
2303
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2304
+ "readonly": true,
2299
2305
  "inheritedFrom": {
2300
- "name": "AiCriteriaSearch",
2301
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2306
+ "name": "ActionsMenu",
2307
+ "module": "src/actions-menu/actions-menu.ts"
2302
2308
  }
2303
2309
  },
2304
2310
  {
2305
- "kind": "method",
2306
- "name": "handleBlur",
2311
+ "kind": "field",
2312
+ "name": "allActions",
2313
+ "type": {
2314
+ "text": "ActionMenuItem[]"
2315
+ },
2316
+ "readonly": true,
2307
2317
  "inheritedFrom": {
2308
- "name": "AiCriteriaSearch",
2309
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2318
+ "name": "ActionsMenu",
2319
+ "module": "src/actions-menu/actions-menu.ts"
2310
2320
  }
2311
2321
  },
2312
2322
  {
2313
- "kind": "method",
2314
- "name": "clear",
2323
+ "kind": "field",
2324
+ "name": "rowData",
2325
+ "readonly": true,
2315
2326
  "inheritedFrom": {
2316
- "name": "AiCriteriaSearch",
2317
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2327
+ "name": "ActionsMenu",
2328
+ "module": "src/actions-menu/actions-menu.ts"
2318
2329
  }
2319
2330
  },
2320
2331
  {
2321
2332
  "kind": "method",
2322
- "name": "toggleSpeechInput",
2333
+ "name": "getLabel",
2334
+ "parameters": [
2335
+ {
2336
+ "name": "name",
2337
+ "type": {
2338
+ "text": "string | ((rowData: any) => string)"
2339
+ }
2340
+ }
2341
+ ],
2323
2342
  "inheritedFrom": {
2324
- "name": "AiCriteriaSearch",
2325
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2343
+ "name": "ActionsMenu",
2344
+ "module": "src/actions-menu/actions-menu.ts"
2326
2345
  }
2327
2346
  },
2328
2347
  {
2329
2348
  "kind": "method",
2330
- "name": "clearSpeechApplyDebounce",
2331
- "privacy": "private",
2349
+ "name": "getTemplate",
2350
+ "parameters": [
2351
+ {
2352
+ "name": "prefix",
2353
+ "type": {
2354
+ "text": "string"
2355
+ }
2356
+ }
2357
+ ],
2332
2358
  "inheritedFrom": {
2333
- "name": "AiCriteriaSearch",
2334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2359
+ "name": "ActionsMenu",
2360
+ "module": "src/actions-menu/actions-menu.ts"
2335
2361
  }
2336
2362
  },
2337
2363
  {
@@ -2445,55 +2471,37 @@
2445
2471
  "module": "src/foundation-element/foundation-element.ts"
2446
2472
  }
2447
2473
  }
2448
- ],
2449
- "events": [
2450
- {
2451
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2452
- "name": "criteria-changed",
2453
- "inheritedFrom": {
2454
- "name": "AiCriteriaSearch",
2455
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2456
- }
2457
- },
2458
- {
2459
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2460
- "name": "validation-errors",
2461
- "inheritedFrom": {
2462
- "name": "AiCriteriaSearch",
2463
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2464
- }
2465
- }
2466
2474
  ]
2467
2475
  },
2468
2476
  {
2469
2477
  "kind": "variable",
2470
- "name": "rapidAiCriteriaSearch",
2471
- "description": "The Rapid AI Criteria Search",
2478
+ "name": "rapidActionsMenu",
2479
+ "description": "The Rapid Actions Menu",
2472
2480
  "privacy": "public"
2473
2481
  }
2474
2482
  ],
2475
2483
  "exports": [
2476
2484
  {
2477
2485
  "kind": "js",
2478
- "name": "AiCriteriaSearch",
2486
+ "name": "ActionsMenu",
2479
2487
  "declaration": {
2480
- "name": "AiCriteriaSearch",
2481
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2488
+ "name": "ActionsMenu",
2489
+ "module": "src/actions-menu/actions-menu.ts"
2482
2490
  }
2483
2491
  },
2484
2492
  {
2485
2493
  "kind": "js",
2486
- "name": "rapidAiCriteriaSearch",
2494
+ "name": "rapidActionsMenu",
2487
2495
  "declaration": {
2488
- "name": "rapidAiCriteriaSearch",
2489
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2496
+ "name": "rapidActionsMenu",
2497
+ "module": "src/actions-menu/actions-menu.ts"
2490
2498
  }
2491
2499
  }
2492
2500
  ]
2493
2501
  },
2494
2502
  {
2495
2503
  "kind": "javascript-module",
2496
- "path": "src/ai-criteria-search/index.ts",
2504
+ "path": "src/actions-menu/index.ts",
2497
2505
  "declarations": [],
2498
2506
  "exports": [
2499
2507
  {
@@ -2501,15 +2509,7 @@
2501
2509
  "name": "*",
2502
2510
  "declaration": {
2503
2511
  "name": "*",
2504
- "package": "./ai-criteria-search"
2505
- }
2506
- },
2507
- {
2508
- "kind": "js",
2509
- "name": "*",
2510
- "declaration": {
2511
- "name": "*",
2512
- "package": "./ai-criteria-search.styles"
2512
+ "package": "./actions-menu"
2513
2513
  }
2514
2514
  },
2515
2515
  {
@@ -2517,7 +2517,7 @@
2517
2517
  "name": "*",
2518
2518
  "declaration": {
2519
2519
  "name": "*",
2520
- "package": "./ai-criteria-search.template"
2520
+ "package": "./actions-menu.styles"
2521
2521
  }
2522
2522
  }
2523
2523
  ]