@genesislcap/foundation-ui 14.481.2-alpha-829ad82.0 → 14.482.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -932,6 +932,472 @@
932
932
  }
933
933
  ]
934
934
  },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/_common/affix-mixin.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "mixin",
941
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
942
+ "name": "AffixMixin",
943
+ "members": [
944
+ {
945
+ "kind": "field",
946
+ "name": "prefix",
947
+ "type": {
948
+ "text": "string"
949
+ },
950
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
951
+ },
952
+ {
953
+ "kind": "field",
954
+ "name": "suffix",
955
+ "type": {
956
+ "text": "string"
957
+ },
958
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
+ },
960
+ {
961
+ "kind": "field",
962
+ "name": "hideAffixFromScreenReader",
963
+ "type": {
964
+ "text": "boolean"
965
+ },
966
+ "default": "false",
967
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
968
+ }
969
+ ],
970
+ "parameters": [
971
+ {
972
+ "name": "Base",
973
+ "type": {
974
+ "text": "TBase"
975
+ }
976
+ }
977
+ ]
978
+ }
979
+ ],
980
+ "exports": [
981
+ {
982
+ "kind": "js",
983
+ "name": "AffixMixin",
984
+ "declaration": {
985
+ "name": "AffixMixin",
986
+ "module": "src/_common/affix-mixin.ts"
987
+ }
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "javascript-module",
993
+ "path": "src/_common/base-file-component.ts",
994
+ "declarations": [
995
+ {
996
+ "kind": "class",
997
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
+ "name": "BaseFileComponent",
999
+ "members": [
1000
+ {
1001
+ "kind": "field",
1002
+ "name": "fileInput",
1003
+ "type": {
1004
+ "text": "HTMLInputElement"
1005
+ },
1006
+ "privacy": "public"
1007
+ },
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "selectedFile",
1011
+ "type": {
1012
+ "text": "File | null"
1013
+ },
1014
+ "privacy": "protected",
1015
+ "default": "null"
1016
+ },
1017
+ {
1018
+ "kind": "field",
1019
+ "name": "label",
1020
+ "type": {
1021
+ "text": "string"
1022
+ }
1023
+ },
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "accept",
1027
+ "type": {
1028
+ "text": "string"
1029
+ },
1030
+ "default": "''"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "fileSizeLimitBytes",
1035
+ "default": "10_485_760",
1036
+ "type": {
1037
+ "text": "number"
1038
+ }
1039
+ },
1040
+ {
1041
+ "kind": "field",
1042
+ "name": "fileName",
1043
+ "type": {
1044
+ "text": "string"
1045
+ },
1046
+ "default": "''"
1047
+ },
1048
+ {
1049
+ "kind": "field",
1050
+ "name": "isProcessing",
1051
+ "type": {
1052
+ "text": "boolean"
1053
+ },
1054
+ "default": "false"
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "handleClick",
1059
+ "privacy": "public",
1060
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "onInputChange",
1065
+ "privacy": "public",
1066
+ "parameters": [
1067
+ {
1068
+ "name": "e",
1069
+ "type": {
1070
+ "text": "Event"
1071
+ },
1072
+ "description": "The change event from the file input"
1073
+ }
1074
+ ],
1075
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "name": "clearSelection",
1080
+ "privacy": "public",
1081
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
+ },
1083
+ {
1084
+ "kind": "method",
1085
+ "name": "getSelectedFile",
1086
+ "privacy": "public",
1087
+ "description": "Gets the currently selected file object",
1088
+ "return": {
1089
+ "type": {
1090
+ "text": ""
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "showError",
1097
+ "privacy": "protected",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "title",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "description": "The error title"
1105
+ },
1106
+ {
1107
+ "name": "message",
1108
+ "type": {
1109
+ "text": "string"
1110
+ },
1111
+ "description": "The error message"
1112
+ }
1113
+ ],
1114
+ "description": "Shows an error notification using the unified error handling system"
1115
+ },
1116
+ {
1117
+ "kind": "method",
1118
+ "name": "onFileSelected",
1119
+ "privacy": "protected",
1120
+ "return": {
1121
+ "type": {
1122
+ "text": "void"
1123
+ }
1124
+ },
1125
+ "parameters": [
1126
+ {
1127
+ "name": "files",
1128
+ "type": {
1129
+ "text": "File[]"
1130
+ },
1131
+ "description": "The selected file"
1132
+ }
1133
+ ],
1134
+ "description": "Abstract method called when a file is selected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "onFileCleared",
1139
+ "privacy": "protected",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "void"
1143
+ }
1144
+ },
1145
+ "description": "Abstract method called when file selection is cleared"
1146
+ },
1147
+ {
1148
+ "kind": "field",
1149
+ "name": "_presentation",
1150
+ "type": {
1151
+ "text": "ComponentPresentation | null | undefined"
1152
+ },
1153
+ "privacy": "private",
1154
+ "default": "void 0",
1155
+ "inheritedFrom": {
1156
+ "name": "FoundationElement",
1157
+ "module": "src/foundation-element/foundation-element.ts"
1158
+ }
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "$presentation",
1163
+ "type": {
1164
+ "text": "ComponentPresentation | null"
1165
+ },
1166
+ "privacy": "public",
1167
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1168
+ "inheritedFrom": {
1169
+ "name": "FoundationElement",
1170
+ "module": "src/foundation-element/foundation-element.ts"
1171
+ }
1172
+ },
1173
+ {
1174
+ "kind": "field",
1175
+ "name": "template",
1176
+ "type": {
1177
+ "text": "ElementViewTemplate | void | null"
1178
+ },
1179
+ "privacy": "public",
1180
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1181
+ "inheritedFrom": {
1182
+ "name": "FoundationElement",
1183
+ "module": "src/foundation-element/foundation-element.ts"
1184
+ }
1185
+ },
1186
+ {
1187
+ "kind": "method",
1188
+ "name": "templateChanged",
1189
+ "privacy": "protected",
1190
+ "return": {
1191
+ "type": {
1192
+ "text": "void"
1193
+ }
1194
+ },
1195
+ "inheritedFrom": {
1196
+ "name": "FoundationElement",
1197
+ "module": "src/foundation-element/foundation-element.ts"
1198
+ }
1199
+ },
1200
+ {
1201
+ "kind": "field",
1202
+ "name": "styles",
1203
+ "type": {
1204
+ "text": "ElementStyles | void | null"
1205
+ },
1206
+ "privacy": "public",
1207
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1208
+ "inheritedFrom": {
1209
+ "name": "FoundationElement",
1210
+ "module": "src/foundation-element/foundation-element.ts"
1211
+ }
1212
+ },
1213
+ {
1214
+ "kind": "method",
1215
+ "name": "stylesChanged",
1216
+ "privacy": "protected",
1217
+ "return": {
1218
+ "type": {
1219
+ "text": "void"
1220
+ }
1221
+ },
1222
+ "inheritedFrom": {
1223
+ "name": "FoundationElement",
1224
+ "module": "src/foundation-element/foundation-element.ts"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "method",
1229
+ "name": "compose",
1230
+ "privacy": "public",
1231
+ "static": true,
1232
+ "return": {
1233
+ "type": {
1234
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1235
+ }
1236
+ },
1237
+ "parameters": [
1238
+ {
1239
+ "name": "this",
1240
+ "type": {
1241
+ "text": "K"
1242
+ }
1243
+ },
1244
+ {
1245
+ "name": "elementDefinition",
1246
+ "type": {
1247
+ "text": "T"
1248
+ },
1249
+ "description": "The definition of the element to create the registry\nfunction for."
1250
+ }
1251
+ ],
1252
+ "description": "Defines an element registry function with a set of element definition defaults.",
1253
+ "inheritedFrom": {
1254
+ "name": "FoundationElement",
1255
+ "module": "src/foundation-element/foundation-element.ts"
1256
+ }
1257
+ }
1258
+ ],
1259
+ "events": [
1260
+ {
1261
+ "description": "Fired when file size validation fails",
1262
+ "name": "error"
1263
+ },
1264
+ {
1265
+ "description": "Fired when selection is cleared",
1266
+ "name": "clear"
1267
+ }
1268
+ ],
1269
+ "attributes": [
1270
+ {
1271
+ "name": "label",
1272
+ "type": {
1273
+ "text": "string"
1274
+ },
1275
+ "fieldName": "label"
1276
+ },
1277
+ {
1278
+ "name": "accept",
1279
+ "type": {
1280
+ "text": "string"
1281
+ },
1282
+ "default": "''",
1283
+ "fieldName": "accept"
1284
+ },
1285
+ {
1286
+ "name": "file-size-limit-bytes",
1287
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
+ "resolveInitializer": {
1289
+ "module": "src/_common/base-file-component.ts"
1290
+ },
1291
+ "fieldName": "fileSizeLimitBytes"
1292
+ }
1293
+ ],
1294
+ "superclass": {
1295
+ "name": "FoundationElement",
1296
+ "package": "@microsoft/fast-foundation"
1297
+ }
1298
+ }
1299
+ ],
1300
+ "exports": [
1301
+ {
1302
+ "kind": "js",
1303
+ "name": "BaseFileComponent",
1304
+ "declaration": {
1305
+ "name": "BaseFileComponent",
1306
+ "module": "src/_common/base-file-component.ts"
1307
+ }
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "kind": "javascript-module",
1313
+ "path": "src/_common/field-styles.ts",
1314
+ "declarations": [
1315
+ {
1316
+ "kind": "variable",
1317
+ "name": "sharedFieldStyles",
1318
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1319
+ }
1320
+ ],
1321
+ "exports": [
1322
+ {
1323
+ "kind": "js",
1324
+ "name": "sharedFieldStyles",
1325
+ "declaration": {
1326
+ "name": "sharedFieldStyles",
1327
+ "module": "src/_common/field-styles.ts"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/_common/icons.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "function",
1338
+ "name": "closeIcon",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "slot",
1342
+ "default": "'start'"
1343
+ },
1344
+ {
1345
+ "name": "fill",
1346
+ "default": "'#879ba6'"
1347
+ }
1348
+ ]
1349
+ }
1350
+ ],
1351
+ "exports": [
1352
+ {
1353
+ "kind": "js",
1354
+ "name": "closeIcon",
1355
+ "declaration": {
1356
+ "name": "closeIcon",
1357
+ "module": "src/_common/icons.ts"
1358
+ }
1359
+ }
1360
+ ]
1361
+ },
1362
+ {
1363
+ "kind": "javascript-module",
1364
+ "path": "src/_common/index.ts",
1365
+ "declarations": [],
1366
+ "exports": [
1367
+ {
1368
+ "kind": "js",
1369
+ "name": "*",
1370
+ "declaration": {
1371
+ "name": "*",
1372
+ "package": "./affix-mixin"
1373
+ }
1374
+ },
1375
+ {
1376
+ "kind": "js",
1377
+ "name": "*",
1378
+ "declaration": {
1379
+ "name": "*",
1380
+ "package": "./base-file-component"
1381
+ }
1382
+ },
1383
+ {
1384
+ "kind": "js",
1385
+ "name": "*",
1386
+ "declaration": {
1387
+ "name": "*",
1388
+ "package": "./field-styles"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./icons"
1397
+ }
1398
+ }
1399
+ ]
1400
+ },
935
1401
  {
936
1402
  "kind": "javascript-module",
937
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1328,11 +1794,42 @@
1328
1794
  },
1329
1795
  {
1330
1796
  "kind": "javascript-module",
1331
- "path": "src/actions-menu/actions-menu.styles.ts",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "kind": "javascript-module",
1828
+ "path": "src/accordion/accordion.styles.ts",
1332
1829
  "declarations": [
1333
1830
  {
1334
1831
  "kind": "function",
1335
- "name": "actionsMenuBaseStyles",
1832
+ "name": "foundationAccordionStyles",
1336
1833
  "return": {
1337
1834
  "type": {
1338
1835
  "text": "ElementStyles"
@@ -1352,743 +1849,251 @@
1352
1849
  }
1353
1850
  }
1354
1851
  ]
1355
- },
1356
- {
1357
- "kind": "function",
1358
- "name": "foundationActionsMenuStyles",
1359
- "return": {
1360
- "type": {
1361
- "text": "ElementStyles"
1362
- }
1363
- },
1364
- "parameters": [
1365
- {
1366
- "name": "context",
1367
- "type": {
1368
- "text": "ElementDefinitionContext"
1369
- }
1370
- },
1371
- {
1372
- "name": "definition",
1373
- "type": {
1374
- "text": "FoundationElementDefinition"
1375
- }
1376
- }
1377
- ]
1378
- }
1379
- ],
1380
- "exports": [
1852
+ }
1853
+ ],
1854
+ "exports": [
1381
1855
  {
1382
1856
  "kind": "js",
1383
- "name": "actionsMenuBaseStyles",
1384
- "declaration": {
1385
- "name": "actionsMenuBaseStyles",
1386
- "module": "src/actions-menu/actions-menu.styles.ts"
1387
- }
1388
- },
1389
- {
1390
- "kind": "js",
1391
- "name": "foundationActionsMenuStyles",
1857
+ "name": "foundationAccordionStyles",
1392
1858
  "declaration": {
1393
- "name": "foundationActionsMenuStyles",
1394
- "module": "src/actions-menu/actions-menu.styles.ts"
1859
+ "name": "foundationAccordionStyles",
1860
+ "module": "src/accordion/accordion.styles.ts"
1395
1861
  }
1396
1862
  }
1397
1863
  ]
1398
1864
  },
1399
1865
  {
1400
1866
  "kind": "javascript-module",
1401
- "path": "src/actions-menu/actions-menu.template.ts",
1867
+ "path": "src/accordion/accordion.template.ts",
1402
1868
  "declarations": [
1403
1869
  {
1404
1870
  "kind": "function",
1405
- "name": "menuTemplate",
1871
+ "name": "foundationAccordionTemplate",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "ViewTemplate<Accordion>"
1875
+ }
1876
+ },
1406
1877
  "parameters": [
1407
1878
  {
1408
- "name": "prefix",
1879
+ "name": "context",
1409
1880
  "type": {
1410
- "text": "string"
1881
+ "text": "ElementDefinitionContext"
1411
1882
  }
1412
- }
1413
- ]
1414
- },
1415
- {
1416
- "kind": "function",
1417
- "name": "singleOptionTemplate",
1418
- "parameters": [
1883
+ },
1419
1884
  {
1420
- "name": "prefix",
1885
+ "name": "definition",
1421
1886
  "type": {
1422
- "text": "string"
1887
+ "text": "FoundationElementDefinition"
1423
1888
  }
1424
1889
  }
1425
1890
  ]
1426
- },
1427
- {
1428
- "kind": "variable",
1429
- "name": "foundationActionsMenuTemplate",
1430
- "type": {
1431
- "text": "ViewTemplate<ActionsMenu>"
1432
- },
1433
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1434
1891
  }
1435
1892
  ],
1436
1893
  "exports": [
1437
1894
  {
1438
1895
  "kind": "js",
1439
- "name": "menuTemplate",
1440
- "declaration": {
1441
- "name": "menuTemplate",
1442
- "module": "src/actions-menu/actions-menu.template.ts"
1443
- }
1444
- },
1445
- {
1446
- "kind": "js",
1447
- "name": "singleOptionTemplate",
1448
- "declaration": {
1449
- "name": "singleOptionTemplate",
1450
- "module": "src/actions-menu/actions-menu.template.ts"
1451
- }
1452
- },
1453
- {
1454
- "kind": "js",
1455
- "name": "foundationActionsMenuTemplate",
1896
+ "name": "foundationAccordionTemplate",
1456
1897
  "declaration": {
1457
- "name": "foundationActionsMenuTemplate",
1458
- "module": "src/actions-menu/actions-menu.template.ts"
1898
+ "name": "foundationAccordionTemplate",
1899
+ "module": "src/accordion/accordion.template.ts"
1459
1900
  }
1460
1901
  }
1461
1902
  ]
1462
1903
  },
1463
1904
  {
1464
1905
  "kind": "javascript-module",
1465
- "path": "src/actions-menu/actions-menu.ts",
1906
+ "path": "src/accordion/accordion.ts",
1466
1907
  "declarations": [
1467
1908
  {
1468
1909
  "kind": "class",
1469
1910
  "description": "",
1470
- "name": "ActionsMenu",
1471
- "members": [
1472
- {
1473
- "kind": "field",
1474
- "name": "actions",
1475
- "type": {
1476
- "text": "ActionMenuItem[]"
1477
- }
1478
- },
1479
- {
1480
- "kind": "field",
1481
- "name": "isVertical",
1482
- "type": {
1483
- "text": "boolean"
1484
- },
1485
- "default": "false"
1486
- },
1487
- {
1488
- "kind": "field",
1489
- "name": "addDefaultActions",
1490
- "type": {
1491
- "text": "boolean"
1492
- },
1493
- "default": "true"
1494
- },
1911
+ "name": "Accordion",
1912
+ "superclass": {
1913
+ "name": "FASTAccordion",
1914
+ "package": "@microsoft/fast-foundation"
1915
+ },
1916
+ "tagName": "%%prefix%%-accordion",
1917
+ "customElement": true,
1918
+ "attributes": [
1495
1919
  {
1496
- "kind": "field",
1497
- "name": "autoCloseOnAction",
1920
+ "name": "expand-mode",
1498
1921
  "type": {
1499
- "text": "boolean"
1922
+ "text": "AccordionExpandMode"
1500
1923
  },
1501
- "default": "true"
1502
- },
1503
- {
1504
- "kind": "field",
1505
- "name": "classNames",
1506
- "type": {
1507
- "text": "string"
1508
- }
1509
- },
1510
- {
1511
- "kind": "field",
1512
- "name": "definition",
1513
- "type": {
1514
- "text": "any"
1924
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
+ "fieldName": "expandmode",
1926
+ "inheritedFrom": {
1927
+ "name": "Accordion",
1928
+ "module": "src/accordion/accordion.ts"
1515
1929
  }
1516
- },
1517
- {
1518
- "kind": "field",
1519
- "name": "name",
1520
- "type": {
1521
- "text": "string"
1522
- },
1523
- "default": "'Actions'"
1524
- },
1930
+ }
1931
+ ],
1932
+ "members": [
1525
1933
  {
1526
1934
  "kind": "field",
1527
- "name": "open",
1935
+ "name": "expandmode",
1528
1936
  "type": {
1529
- "text": "boolean"
1937
+ "text": "AccordionExpandMode"
1530
1938
  },
1531
- "default": "false"
1532
- },
1533
- {
1534
- "kind": "field",
1535
- "name": "buttonAppearance",
1536
- "type": {
1537
- "text": "string"
1939
+ "privacy": "public",
1940
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
+ "inheritedFrom": {
1942
+ "name": "Accordion",
1943
+ "module": "src/accordion/accordion.ts"
1538
1944
  }
1539
1945
  },
1540
1946
  {
1541
1947
  "kind": "field",
1542
- "name": "hideDisabled",
1543
- "type": {
1544
- "text": "boolean"
1545
- },
1546
- "default": "false"
1547
- },
1548
- {
1549
- "kind": "field",
1550
- "name": "hideMenuSingleOption",
1948
+ "name": "activeid",
1551
1949
  "type": {
1552
- "text": "boolean"
1950
+ "text": "string | null"
1553
1951
  },
1554
- "default": "false"
1555
- },
1556
- {
1557
- "kind": "field",
1558
- "name": "singleOption",
1559
- "type": {
1560
- "text": "ActionMenuItem"
1561
- }
1562
- },
1563
- {
1564
- "kind": "field",
1565
- "name": "actionsMenu",
1566
- "type": {
1567
- "text": "HTMLElement"
1952
+ "privacy": "private",
1953
+ "inheritedFrom": {
1954
+ "name": "Accordion",
1955
+ "module": "src/accordion/accordion.ts"
1568
1956
  }
1569
1957
  },
1570
- {
1571
- "kind": "method",
1572
- "name": "definitionChanged",
1573
- "privacy": "protected",
1574
- "parameters": [
1575
- {
1576
- "name": "oldValue",
1577
- "type": {
1578
- "text": "any"
1579
- }
1580
- },
1581
- {
1582
- "name": "newValue",
1583
- "type": {
1584
- "text": "any"
1585
- }
1586
- }
1587
- ]
1588
- },
1589
- {
1590
- "kind": "method",
1591
- "name": "openChanged",
1592
- "privacy": "protected"
1593
- },
1594
- {
1595
- "kind": "method",
1596
- "name": "toggleActionsMenuVisibility"
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "onActionMenuItemClick",
1601
- "parameters": [
1602
- {
1603
- "name": "callback",
1604
- "type": {
1605
- "text": "(rowData) => void | any"
1606
- }
1607
- }
1608
- ]
1609
- },
1610
1958
  {
1611
1959
  "kind": "field",
1612
- "name": "allActions",
1613
- "type": {
1614
- "text": "ActionMenuItem[]"
1615
- },
1616
- "readonly": true
1617
- },
1618
- {
1619
- "kind": "field",
1620
- "name": "rowData",
1621
- "readonly": true
1622
- },
1623
- {
1624
- "kind": "method",
1625
- "name": "getLabel",
1626
- "parameters": [
1627
- {
1628
- "name": "name",
1629
- "type": {
1630
- "text": "string | ((rowData: any) => string)"
1631
- }
1632
- }
1633
- ]
1634
- },
1635
- {
1636
- "kind": "method",
1637
- "name": "getTemplate",
1638
- "parameters": [
1639
- {
1640
- "name": "prefix",
1641
- "type": {
1642
- "text": "string"
1643
- }
1644
- }
1645
- ]
1646
- },
1647
- {
1648
- "kind": "field",
1649
- "name": "_presentation",
1960
+ "name": "activeItemIndex",
1650
1961
  "type": {
1651
- "text": "ComponentPresentation | null | undefined"
1962
+ "text": "number"
1652
1963
  },
1653
1964
  "privacy": "private",
1654
- "default": "void 0",
1965
+ "default": "0",
1655
1966
  "inheritedFrom": {
1656
- "name": "FoundationElement",
1657
- "module": "src/foundation-element/foundation-element.ts"
1967
+ "name": "Accordion",
1968
+ "module": "src/accordion/accordion.ts"
1658
1969
  }
1659
1970
  },
1660
1971
  {
1661
1972
  "kind": "field",
1662
- "name": "$presentation",
1973
+ "name": "accordionIds",
1663
1974
  "type": {
1664
- "text": "ComponentPresentation | null"
1975
+ "text": "Array<string | null>"
1665
1976
  },
1666
- "privacy": "public",
1667
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1977
+ "privacy": "private",
1668
1978
  "inheritedFrom": {
1669
- "name": "FoundationElement",
1670
- "module": "src/foundation-element/foundation-element.ts"
1979
+ "name": "Accordion",
1980
+ "module": "src/accordion/accordion.ts"
1671
1981
  }
1672
1982
  },
1673
1983
  {
1674
1984
  "kind": "field",
1675
- "name": "template",
1676
- "type": {
1677
- "text": "ElementViewTemplate | void | null"
1678
- },
1679
- "privacy": "public",
1680
- "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.",
1985
+ "name": "change",
1986
+ "privacy": "private",
1681
1987
  "inheritedFrom": {
1682
- "name": "FoundationElement",
1683
- "module": "src/foundation-element/foundation-element.ts"
1988
+ "name": "Accordion",
1989
+ "module": "src/accordion/accordion.ts"
1684
1990
  }
1685
1991
  },
1686
1992
  {
1687
1993
  "kind": "method",
1688
- "name": "templateChanged",
1689
- "privacy": "protected",
1994
+ "name": "findExpandedItem",
1995
+ "privacy": "private",
1690
1996
  "return": {
1691
1997
  "type": {
1692
- "text": "void"
1998
+ "text": "AccordionItem | null"
1693
1999
  }
1694
2000
  },
1695
2001
  "inheritedFrom": {
1696
- "name": "FoundationElement",
1697
- "module": "src/foundation-element/foundation-element.ts"
2002
+ "name": "Accordion",
2003
+ "module": "src/accordion/accordion.ts"
1698
2004
  }
1699
2005
  },
1700
2006
  {
1701
2007
  "kind": "field",
1702
- "name": "styles",
1703
- "type": {
1704
- "text": "ElementStyles | void | null"
1705
- },
1706
- "privacy": "public",
1707
- "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.",
2008
+ "name": "setItems",
2009
+ "privacy": "private",
1708
2010
  "inheritedFrom": {
1709
- "name": "FoundationElement",
1710
- "module": "src/foundation-element/foundation-element.ts"
2011
+ "name": "Accordion",
2012
+ "module": "src/accordion/accordion.ts"
1711
2013
  }
1712
2014
  },
1713
2015
  {
1714
2016
  "kind": "method",
1715
- "name": "stylesChanged",
1716
- "privacy": "protected",
2017
+ "name": "resetItems",
2018
+ "privacy": "private",
1717
2019
  "return": {
1718
2020
  "type": {
1719
2021
  "text": "void"
1720
2022
  }
1721
2023
  },
1722
- "inheritedFrom": {
1723
- "name": "FoundationElement",
1724
- "module": "src/foundation-element/foundation-element.ts"
1725
- }
1726
- },
1727
- {
1728
- "kind": "method",
1729
- "name": "compose",
1730
- "privacy": "public",
1731
- "static": true,
1732
- "return": {
1733
- "type": {
1734
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1735
- }
1736
- },
1737
- "parameters": [
1738
- {
1739
- "name": "this",
1740
- "type": {
1741
- "text": "K"
1742
- }
1743
- },
1744
- {
1745
- "name": "elementDefinition",
1746
- "type": {
1747
- "text": "T"
1748
- },
1749
- "description": "The definition of the element to create the registry\nfunction for."
1750
- }
1751
- ],
1752
- "description": "Defines an element registry function with a set of element definition defaults.",
1753
- "inheritedFrom": {
1754
- "name": "FoundationElement",
1755
- "module": "src/foundation-element/foundation-element.ts"
1756
- }
1757
- }
1758
- ],
1759
- "attributes": [
1760
- {
1761
- "name": "is-vertical",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "default": "false",
1766
- "fieldName": "isVertical"
1767
- },
1768
- {
1769
- "name": "add-default-actions",
1770
- "type": {
1771
- "text": "boolean"
1772
- },
1773
- "default": "true",
1774
- "fieldName": "addDefaultActions"
1775
- },
1776
- {
1777
- "name": "auto-close-on-action",
1778
- "type": {
1779
- "text": "boolean"
1780
- },
1781
- "default": "true",
1782
- "fieldName": "autoCloseOnAction"
1783
- },
1784
- {
1785
- "name": "name",
1786
- "type": {
1787
- "text": "string"
1788
- },
1789
- "default": "'Actions'",
1790
- "fieldName": "name"
1791
- },
1792
- {
1793
- "name": "open",
1794
- "type": {
1795
- "text": "boolean"
1796
- },
1797
- "default": "false",
1798
- "fieldName": "open"
1799
- },
1800
- {
1801
- "name": "buttonAppearance",
1802
- "type": {
1803
- "text": "string"
1804
- },
1805
- "fieldName": "buttonAppearance"
1806
- },
1807
- {
1808
- "name": "hide-disabled",
1809
- "type": {
1810
- "text": "boolean"
1811
- },
1812
- "default": "false",
1813
- "fieldName": "hideDisabled"
1814
- },
1815
- {
1816
- "name": "hide-menu-single-option",
1817
- "type": {
1818
- "text": "boolean"
1819
- },
1820
- "default": "false",
1821
- "fieldName": "hideMenuSingleOption"
1822
- }
1823
- ],
1824
- "superclass": {
1825
- "name": "FoundationElement",
1826
- "package": "@microsoft/fast-foundation"
1827
- },
1828
- "tagName": "%%prefix%%-actions-menu",
1829
- "customElement": true
1830
- },
1831
- {
1832
- "kind": "variable",
1833
- "name": "foundationActionsMenu",
1834
- "description": "The Foundation Actions Menu",
1835
- "privacy": "public"
1836
- }
1837
- ],
1838
- "exports": [
1839
- {
1840
- "kind": "js",
1841
- "name": "ActionsMenu",
1842
- "declaration": {
1843
- "name": "ActionsMenu",
1844
- "module": "src/actions-menu/actions-menu.ts"
1845
- }
1846
- },
1847
- {
1848
- "kind": "js",
1849
- "name": "foundationActionsMenu",
1850
- "declaration": {
1851
- "name": "foundationActionsMenu",
1852
- "module": "src/actions-menu/actions-menu.ts"
1853
- }
1854
- }
1855
- ]
1856
- },
1857
- {
1858
- "kind": "javascript-module",
1859
- "path": "src/actions-menu/index.ts",
1860
- "declarations": [],
1861
- "exports": [
1862
- {
1863
- "kind": "js",
1864
- "name": "*",
1865
- "declaration": {
1866
- "name": "*",
1867
- "package": "./actions-menu.styles"
1868
- }
1869
- },
1870
- {
1871
- "kind": "js",
1872
- "name": "*",
1873
- "declaration": {
1874
- "name": "*",
1875
- "package": "./actions-menu.template"
1876
- }
1877
- },
1878
- {
1879
- "kind": "js",
1880
- "name": "*",
1881
- "declaration": {
1882
- "name": "*",
1883
- "package": "./actions-menu"
1884
- }
1885
- }
1886
- ]
1887
- },
1888
- {
1889
- "kind": "javascript-module",
1890
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1891
- "declarations": [
1892
- {
1893
- "kind": "variable",
1894
- "name": "foundationAiCriteriaSearchStyles",
1895
- "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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
1896
- }
1897
- ],
1898
- "exports": [
1899
- {
1900
- "kind": "js",
1901
- "name": "foundationAiCriteriaSearchStyles",
1902
- "declaration": {
1903
- "name": "foundationAiCriteriaSearchStyles",
1904
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1905
- }
1906
- }
1907
- ]
1908
- },
1909
- {
1910
- "kind": "javascript-module",
1911
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1912
- "declarations": [
1913
- {
1914
- "kind": "variable",
1915
- "name": "foundationAiCriteriaSearchTemplate",
1916
- "type": {
1917
- "text": "ViewTemplate<AiCriteriaSearch>"
1918
- },
1919
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1920
- }
1921
- ],
1922
- "exports": [
1923
- {
1924
- "kind": "js",
1925
- "name": "foundationAiCriteriaSearchTemplate",
1926
- "declaration": {
1927
- "name": "foundationAiCriteriaSearchTemplate",
1928
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1929
- }
1930
- }
1931
- ]
1932
- },
1933
- {
1934
- "kind": "javascript-module",
1935
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1936
- "declarations": [
1937
- {
1938
- "kind": "class",
1939
- "description": "Natural-language criteria search input with AI interpretation.",
1940
- "name": "AiCriteriaSearch",
1941
- "members": [
1942
- {
1943
- "kind": "field",
1944
- "name": "providerRegistry",
1945
- "type": {
1946
- "text": "AIProviderRegistry"
1947
- }
1948
- },
1949
- {
1950
- "kind": "field",
1951
- "name": "placeholder",
1952
- "type": {
1953
- "text": "string"
1954
- },
1955
- "default": "'Describe your search criteria in natural language...'"
1956
- },
1957
- {
1958
- "kind": "field",
1959
- "name": "disabled",
1960
- "type": {
1961
- "text": "boolean"
1962
- }
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": "activeGroups",
1991
- "type": {
1992
- "text": "CriteriaGroup[]"
1993
- },
1994
- "default": "[]"
1995
- },
1996
- {
1997
- "kind": "field",
1998
- "name": "showingChips",
1999
- "type": {
2000
- "text": "boolean"
2001
- },
2002
- "default": "false"
2003
- },
2004
- {
2005
- "kind": "field",
2006
- "name": "fieldMetadata",
2007
- "type": {
2008
- "text": "MetadataDetail[] | string[]"
2009
- },
2010
- "default": "[]"
2011
- },
2012
- {
2013
- "kind": "field",
2014
- "name": "isRecording",
2015
- "type": {
2016
- "text": "boolean"
2017
- },
2018
- "default": "false"
2019
- },
2020
- {
2021
- "kind": "field",
2022
- "name": "textAreaRef",
2023
- "type": {
2024
- "text": "HTMLTextAreaElement"
2025
- },
2026
- "privacy": "public"
2027
- },
2028
- {
2029
- "kind": "field",
2030
- "name": "stopRecording",
2031
- "type": {
2032
- "text": "(() => void) | null"
2033
- },
2034
- "privacy": "private",
2035
- "default": "null"
2024
+ "inheritedFrom": {
2025
+ "name": "Accordion",
2026
+ "module": "src/accordion/accordion.ts"
2027
+ }
2036
2028
  },
2037
2029
  {
2038
2030
  "kind": "field",
2039
- "name": "speechApplyDebounceTimer",
2040
- "type": {
2041
- "text": "ReturnType<typeof setTimeout> | null"
2042
- },
2031
+ "name": "removeItemListeners",
2043
2032
  "privacy": "private",
2044
- "default": "null"
2045
- },
2046
- {
2047
- "kind": "field",
2048
- "name": "speechAvailable",
2049
- "type": {
2050
- "text": "boolean"
2051
- },
2052
- "readonly": true
2033
+ "inheritedFrom": {
2034
+ "name": "Accordion",
2035
+ "module": "src/accordion/accordion.ts"
2036
+ }
2053
2037
  },
2054
2038
  {
2055
2039
  "kind": "field",
2056
- "name": "criteriaChips",
2057
- "type": {
2058
- "text": "CriteriaChip[]"
2059
- },
2060
- "readonly": true
2040
+ "name": "activeItemChange",
2041
+ "privacy": "private",
2042
+ "inheritedFrom": {
2043
+ "name": "Accordion",
2044
+ "module": "src/accordion/accordion.ts"
2045
+ }
2061
2046
  },
2062
2047
  {
2063
2048
  "kind": "method",
2064
- "name": "getFieldLabel",
2049
+ "name": "getItemIds",
2065
2050
  "privacy": "private",
2066
2051
  "return": {
2067
2052
  "type": {
2068
- "text": "string"
2053
+ "text": "Array<string | null>"
2069
2054
  }
2070
2055
  },
2071
- "parameters": [
2072
- {
2073
- "name": "fieldName",
2074
- "type": {
2075
- "text": "string"
2076
- }
2077
- }
2078
- ]
2056
+ "inheritedFrom": {
2057
+ "name": "Accordion",
2058
+ "module": "src/accordion/accordion.ts"
2059
+ }
2079
2060
  },
2080
2061
  {
2081
2062
  "kind": "method",
2082
- "name": "toggleCriteriaView",
2063
+ "name": "isSingleExpandMode",
2064
+ "privacy": "private",
2083
2065
  "return": {
2084
2066
  "type": {
2085
- "text": "void"
2067
+ "text": "boolean"
2086
2068
  }
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "Accordion",
2072
+ "module": "src/accordion/accordion.ts"
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "handleItemKeyDown",
2078
+ "privacy": "private",
2079
+ "inheritedFrom": {
2080
+ "name": "Accordion",
2081
+ "module": "src/accordion/accordion.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "field",
2086
+ "name": "handleItemFocus",
2087
+ "privacy": "private",
2088
+ "inheritedFrom": {
2089
+ "name": "Accordion",
2090
+ "module": "src/accordion/accordion.ts"
2087
2091
  }
2088
2092
  },
2089
2093
  {
2090
2094
  "kind": "method",
2091
- "name": "removeChip",
2095
+ "name": "adjust",
2096
+ "privacy": "private",
2092
2097
  "return": {
2093
2098
  "type": {
2094
2099
  "text": "void"
@@ -2096,49 +2101,31 @@
2096
2101
  },
2097
2102
  "parameters": [
2098
2103
  {
2099
- "name": "groupIndex",
2100
- "type": {
2101
- "text": "number"
2102
- }
2103
- },
2104
- {
2105
- "name": "clauseIndex",
2104
+ "name": "adjustment",
2106
2105
  "type": {
2107
2106
  "text": "number"
2108
2107
  }
2109
2108
  }
2110
- ]
2109
+ ],
2110
+ "inheritedFrom": {
2111
+ "name": "Accordion",
2112
+ "module": "src/accordion/accordion.ts"
2113
+ }
2111
2114
  },
2112
2115
  {
2113
2116
  "kind": "method",
2114
- "name": "clearChips",
2117
+ "name": "focusItem",
2118
+ "privacy": "private",
2115
2119
  "return": {
2116
2120
  "type": {
2117
2121
  "text": "void"
2118
2122
  }
2123
+ },
2124
+ "inheritedFrom": {
2125
+ "name": "Accordion",
2126
+ "module": "src/accordion/accordion.ts"
2119
2127
  }
2120
2128
  },
2121
- {
2122
- "kind": "method",
2123
- "name": "handleSubmit"
2124
- },
2125
- {
2126
- "kind": "method",
2127
- "name": "handleBlur"
2128
- },
2129
- {
2130
- "kind": "method",
2131
- "name": "clear"
2132
- },
2133
- {
2134
- "kind": "method",
2135
- "name": "toggleSpeechInput"
2136
- },
2137
- {
2138
- "kind": "method",
2139
- "name": "clearSpeechApplyDebounce",
2140
- "privacy": "private"
2141
- },
2142
2129
  {
2143
2130
  "kind": "field",
2144
2131
  "name": "_presentation",
@@ -2253,48 +2240,26 @@
2253
2240
  ],
2254
2241
  "events": [
2255
2242
  {
2256
- "description": "Fired when interpreted criteria is applied or cleared",
2257
- "name": "criteria-changed"
2258
- },
2259
- {
2260
- "description": "Fired when interpreted criteria contains invalid clauses",
2261
- "name": "validation-errors"
2262
- }
2263
- ],
2264
- "attributes": [
2265
- {
2266
- "name": "placeholder",
2267
- "type": {
2268
- "text": "string"
2269
- },
2270
- "default": "'Describe your search criteria in natural language...'",
2271
- "fieldName": "placeholder"
2272
- },
2273
- {
2274
- "type": {
2275
- "text": "boolean"
2276
- },
2277
- "fieldName": "disabled"
2243
+ "description": "Fires a custom 'change' event when the active item changes",
2244
+ "name": "change",
2245
+ "inheritedFrom": {
2246
+ "name": "Accordion",
2247
+ "module": "src/accordion/accordion.ts"
2248
+ }
2278
2249
  }
2279
- ],
2280
- "superclass": {
2281
- "name": "FoundationElement",
2282
- "package": "@microsoft/fast-foundation"
2283
- },
2284
- "tagName": "%%prefix%%-ai-criteria-search",
2285
- "customElement": true
2250
+ ]
2286
2251
  },
2287
2252
  {
2288
2253
  "kind": "variable",
2289
- "name": "foundationAiCriteriaSearchShadowOptions",
2254
+ "name": "foundationAccordionShadowOptions",
2290
2255
  "type": {
2291
2256
  "text": "ShadowRootInit"
2292
2257
  },
2293
- "default": "undefined"
2258
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2294
2259
  },
2295
2260
  {
2296
2261
  "kind": "variable",
2297
- "name": "defaultAiCriteriaSearchConfig",
2262
+ "name": "defaultAccordionConfig",
2298
2263
  "type": {
2299
2264
  "text": "object"
2300
2265
  },
@@ -2302,103 +2267,57 @@
2302
2267
  },
2303
2268
  {
2304
2269
  "kind": "variable",
2305
- "name": "foundationAiCriteriaSearch"
2270
+ "name": "foundationAccordion",
2271
+ "description": "The Foundation Accordion",
2272
+ "privacy": "public"
2306
2273
  }
2307
2274
  ],
2308
2275
  "exports": [
2309
2276
  {
2310
2277
  "kind": "js",
2311
- "name": "AiCriteriaSearch",
2278
+ "name": "Accordion",
2312
2279
  "declaration": {
2313
- "name": "AiCriteriaSearch",
2314
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2280
+ "name": "Accordion",
2281
+ "module": "src/accordion/accordion.ts"
2315
2282
  }
2316
2283
  },
2317
2284
  {
2318
2285
  "kind": "js",
2319
- "name": "foundationAiCriteriaSearchShadowOptions",
2286
+ "name": "foundationAccordionShadowOptions",
2320
2287
  "declaration": {
2321
- "name": "foundationAiCriteriaSearchShadowOptions",
2322
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2288
+ "name": "foundationAccordionShadowOptions",
2289
+ "module": "src/accordion/accordion.ts"
2323
2290
  }
2324
2291
  },
2325
2292
  {
2326
2293
  "kind": "js",
2327
- "name": "defaultAiCriteriaSearchConfig",
2294
+ "name": "defaultAccordionConfig",
2328
2295
  "declaration": {
2329
- "name": "defaultAiCriteriaSearchConfig",
2330
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2296
+ "name": "defaultAccordionConfig",
2297
+ "module": "src/accordion/accordion.ts"
2331
2298
  }
2332
2299
  },
2333
2300
  {
2334
2301
  "kind": "js",
2335
- "name": "foundationAiCriteriaSearch",
2302
+ "name": "foundationAccordion",
2336
2303
  "declaration": {
2337
- "name": "foundationAiCriteriaSearch",
2338
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2304
+ "name": "foundationAccordion",
2305
+ "module": "src/accordion/accordion.ts"
2339
2306
  }
2340
2307
  }
2341
2308
  ]
2342
2309
  },
2343
2310
  {
2344
2311
  "kind": "javascript-module",
2345
- "path": "src/ai-criteria-search/index.ts",
2312
+ "path": "src/accordion/index.ts",
2346
2313
  "declarations": [],
2347
2314
  "exports": [
2348
- {
2349
- "kind": "js",
2350
- "name": "AiCriteriaSearch",
2351
- "declaration": {
2352
- "name": "AiCriteriaSearch",
2353
- "module": "./ai-criteria-search"
2354
- }
2355
- },
2356
- {
2357
- "kind": "js",
2358
- "name": "defaultAiCriteriaSearchConfig",
2359
- "declaration": {
2360
- "name": "defaultAiCriteriaSearchConfig",
2361
- "module": "./ai-criteria-search"
2362
- }
2363
- },
2364
- {
2365
- "kind": "js",
2366
- "name": "foundationAiCriteriaSearch",
2367
- "declaration": {
2368
- "name": "foundationAiCriteriaSearch",
2369
- "module": "./ai-criteria-search"
2370
- }
2371
- },
2372
- {
2373
- "kind": "js",
2374
- "name": "foundationAiCriteriaSearchShadowOptions",
2375
- "declaration": {
2376
- "name": "foundationAiCriteriaSearchShadowOptions",
2377
- "module": "./ai-criteria-search"
2378
- }
2379
- },
2380
- {
2381
- "kind": "js",
2382
- "name": "foundationAiCriteriaSearchStyles",
2383
- "declaration": {
2384
- "name": "foundationAiCriteriaSearchStyles",
2385
- "module": "./ai-criteria-search.styles"
2386
- }
2387
- },
2388
- {
2389
- "kind": "js",
2390
- "name": "foundationAiCriteriaSearchTemplate",
2391
- "declaration": {
2392
- "name": "foundationAiCriteriaSearchTemplate",
2393
- "module": "./ai-criteria-search.template"
2394
- }
2395
- },
2396
2315
  {
2397
2316
  "kind": "js",
2398
2317
  "name": "*",
2399
2318
  "declaration": {
2400
2319
  "name": "*",
2401
- "package": "./validation/criteria-ir"
2320
+ "package": "./accordion.template"
2402
2321
  }
2403
2322
  },
2404
2323
  {
@@ -2406,7 +2325,7 @@
2406
2325
  "name": "*",
2407
2326
  "declaration": {
2408
2327
  "name": "*",
2409
- "package": "./validation/operator-map"
2328
+ "package": "./accordion.styles"
2410
2329
  }
2411
2330
  },
2412
2331
  {
@@ -2414,336 +2333,328 @@
2414
2333
  "name": "*",
2415
2334
  "declaration": {
2416
2335
  "name": "*",
2417
- "package": "./validation/schema-validator"
2336
+ "package": "./accordion"
2418
2337
  }
2419
2338
  }
2420
2339
  ]
2421
2340
  },
2422
2341
  {
2423
2342
  "kind": "javascript-module",
2424
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2425
2344
  "declarations": [
2426
2345
  {
2427
2346
  "kind": "function",
2428
- "name": "formatValidationErrors",
2347
+ "name": "actionsMenuBaseStyles",
2429
2348
  "return": {
2430
2349
  "type": {
2431
- "text": "string"
2350
+ "text": "ElementStyles"
2432
2351
  }
2433
2352
  },
2434
2353
  "parameters": [
2435
2354
  {
2436
- "name": "errors",
2355
+ "name": "context",
2437
2356
  "type": {
2438
- "text": "ValidationError[]"
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2439
2364
  }
2440
2365
  }
2441
- ],
2442
- "description": "Formats validation errors into a user-friendly message."
2366
+ ]
2443
2367
  },
2444
2368
  {
2445
2369
  "kind": "function",
2446
- "name": "showCriteriaError",
2370
+ "name": "foundationActionsMenuStyles",
2447
2371
  "return": {
2448
2372
  "type": {
2449
- "text": "void"
2373
+ "text": "ElementStyles"
2450
2374
  }
2451
2375
  },
2452
2376
  "parameters": [
2453
2377
  {
2454
- "name": "title",
2455
- "type": {
2456
- "text": "string"
2457
- },
2458
- "description": "Notification title (e.g. \"Criteria validation error\")"
2459
- },
2460
- {
2461
- "name": "body",
2378
+ "name": "context",
2462
2379
  "type": {
2463
- "text": "string"
2464
- },
2465
- "description": "Error message to display"
2380
+ "text": "ElementDefinitionContext"
2381
+ }
2466
2382
  },
2467
2383
  {
2468
- "name": "tagName",
2384
+ "name": "definition",
2469
2385
  "type": {
2470
- "text": "string"
2471
- },
2472
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2386
+ "text": "FoundationElementDefinition"
2387
+ }
2473
2388
  }
2474
- ],
2475
- "description": "Shows a criteria error as a toast notification."
2389
+ ]
2476
2390
  }
2477
2391
  ],
2478
2392
  "exports": [
2479
2393
  {
2480
2394
  "kind": "js",
2481
- "name": "formatValidationErrors",
2395
+ "name": "actionsMenuBaseStyles",
2482
2396
  "declaration": {
2483
- "name": "formatValidationErrors",
2484
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2485
2399
  }
2486
2400
  },
2487
2401
  {
2488
2402
  "kind": "js",
2489
- "name": "showCriteriaError",
2403
+ "name": "foundationActionsMenuStyles",
2490
2404
  "declaration": {
2491
- "name": "showCriteriaError",
2492
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2493
2407
  }
2494
2408
  }
2495
2409
  ]
2496
2410
  },
2497
2411
  {
2498
2412
  "kind": "javascript-module",
2499
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2500
2414
  "declarations": [
2501
2415
  {
2502
2416
  "kind": "function",
2503
- "name": "foundationAiIndicatorStyles",
2504
- "return": {
2505
- "type": {
2506
- "text": "ElementStyles"
2507
- }
2508
- },
2417
+ "name": "menuTemplate",
2509
2418
  "parameters": [
2510
2419
  {
2511
- "name": "context",
2420
+ "name": "prefix",
2512
2421
  "type": {
2513
- "text": "ElementDefinitionContext"
2422
+ "text": "string"
2514
2423
  }
2515
- },
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2516
2431
  {
2517
- "name": "definition",
2432
+ "name": "prefix",
2518
2433
  "type": {
2519
- "text": "FoundationElementDefinition"
2434
+ "text": "string"
2520
2435
  }
2521
2436
  }
2522
2437
  ]
2438
+ },
2439
+ {
2440
+ "kind": "variable",
2441
+ "name": "foundationActionsMenuTemplate",
2442
+ "type": {
2443
+ "text": "ViewTemplate<ActionsMenu>"
2444
+ },
2445
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2523
2446
  }
2524
2447
  ],
2525
2448
  "exports": [
2526
2449
  {
2527
2450
  "kind": "js",
2528
- "name": "foundationAiIndicatorStyles",
2451
+ "name": "menuTemplate",
2529
2452
  "declaration": {
2530
- "name": "foundationAiIndicatorStyles",
2531
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2532
2455
  }
2533
- }
2534
- ]
2535
- },
2536
- {
2537
- "kind": "javascript-module",
2538
- "path": "src/ai-indicator/ai-indicator.template.ts",
2539
- "declarations": [
2456
+ },
2540
2457
  {
2541
- "kind": "variable",
2542
- "name": "foundationAiIndicatorTemplate",
2543
- "type": {
2544
- "text": "ViewTemplate<AiIndicator>"
2545
- },
2546
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2547
- }
2548
- ],
2549
- "exports": [
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2550
2465
  {
2551
2466
  "kind": "js",
2552
- "name": "foundationAiIndicatorTemplate",
2467
+ "name": "foundationActionsMenuTemplate",
2553
2468
  "declaration": {
2554
- "name": "foundationAiIndicatorTemplate",
2555
- "module": "src/ai-indicator/ai-indicator.template.ts"
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2556
2471
  }
2557
2472
  }
2558
2473
  ]
2559
2474
  },
2560
2475
  {
2561
2476
  "kind": "javascript-module",
2562
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2563
2478
  "declarations": [
2564
2479
  {
2565
2480
  "kind": "class",
2566
2481
  "description": "",
2567
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2568
2483
  "members": [
2569
2484
  {
2570
2485
  "kind": "field",
2571
- "name": "providerRegistry",
2486
+ "name": "actions",
2572
2487
  "type": {
2573
- "text": "AIProviderRegistry"
2488
+ "text": "ActionMenuItem[]"
2574
2489
  }
2575
2490
  },
2576
2491
  {
2577
2492
  "kind": "field",
2578
- "name": "aiProvider",
2493
+ "name": "isVertical",
2579
2494
  "type": {
2580
- "text": "AIProvider | undefined"
2495
+ "text": "boolean"
2581
2496
  },
2582
- "privacy": "private",
2583
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2584
- "readonly": true
2497
+ "default": "false"
2585
2498
  },
2586
2499
  {
2587
2500
  "kind": "field",
2588
- "name": "status",
2501
+ "name": "addDefaultActions",
2589
2502
  "type": {
2590
- "text": "AIStatus | null"
2503
+ "text": "boolean"
2591
2504
  },
2592
- "default": "null"
2505
+ "default": "true"
2593
2506
  },
2594
2507
  {
2595
2508
  "kind": "field",
2596
- "name": "open",
2509
+ "name": "autoCloseOnAction",
2597
2510
  "type": {
2598
2511
  "text": "boolean"
2599
2512
  },
2600
- "default": "false"
2513
+ "default": "true"
2601
2514
  },
2602
2515
  {
2603
2516
  "kind": "field",
2604
- "name": "state",
2517
+ "name": "classNames",
2605
2518
  "type": {
2606
- "text": "AIIndicatorState"
2607
- },
2608
- "default": "'none'"
2519
+ "text": "string"
2520
+ }
2609
2521
  },
2610
2522
  {
2611
2523
  "kind": "field",
2612
- "name": "isInstalling",
2524
+ "name": "definition",
2613
2525
  "type": {
2614
- "text": "boolean"
2615
- },
2616
- "default": "false"
2526
+ "text": "any"
2527
+ }
2617
2528
  },
2618
2529
  {
2619
2530
  "kind": "field",
2620
- "name": "pollTimer",
2531
+ "name": "name",
2621
2532
  "type": {
2622
- "text": "ReturnType<typeof setInterval> | null"
2533
+ "text": "string"
2623
2534
  },
2624
- "privacy": "private",
2625
- "default": "null"
2535
+ "default": "'Actions'"
2626
2536
  },
2627
2537
  {
2628
2538
  "kind": "field",
2629
- "name": "clickOutside",
2630
- "privacy": "private"
2539
+ "name": "open",
2540
+ "type": {
2541
+ "text": "boolean"
2542
+ },
2543
+ "default": "false"
2631
2544
  },
2632
2545
  {
2633
2546
  "kind": "field",
2634
- "name": "chromeStatusLabel",
2547
+ "name": "buttonAppearance",
2635
2548
  "type": {
2636
- "text": "string | null"
2637
- },
2638
- "readonly": true
2549
+ "text": "string"
2550
+ }
2639
2551
  },
2640
2552
  {
2641
2553
  "kind": "field",
2642
- "name": "canInstall",
2554
+ "name": "hideDisabled",
2643
2555
  "type": {
2644
2556
  "text": "boolean"
2645
2557
  },
2646
- "readonly": true
2558
+ "default": "false"
2647
2559
  },
2648
2560
  {
2649
2561
  "kind": "field",
2650
- "name": "isDownloading",
2562
+ "name": "hideMenuSingleOption",
2651
2563
  "type": {
2652
2564
  "text": "boolean"
2653
2565
  },
2654
- "readonly": true
2566
+ "default": "false"
2655
2567
  },
2656
2568
  {
2657
- "kind": "method",
2658
- "name": "openChanged",
2659
- "return": {
2660
- "type": {
2661
- "text": "void"
2662
- }
2569
+ "kind": "field",
2570
+ "name": "singleOption",
2571
+ "type": {
2572
+ "text": "ActionMenuItem"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2663
2580
  }
2664
2581
  },
2665
2582
  {
2666
2583
  "kind": "method",
2667
- "name": "handleClickOutside",
2668
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2669
2586
  "parameters": [
2670
2587
  {
2671
- "name": "event",
2588
+ "name": "oldValue",
2672
2589
  "type": {
2673
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2674
2597
  }
2675
2598
  }
2676
2599
  ]
2677
2600
  },
2678
2601
  {
2679
2602
  "kind": "method",
2680
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2681
2605
  },
2682
2606
  {
2683
2607
  "kind": "method",
2684
- "name": "refreshStatus",
2685
- "return": {
2686
- "type": {
2687
- "text": "Promise<void>"
2688
- }
2689
- }
2608
+ "name": "toggleActionsMenuVisibility"
2690
2609
  },
2691
2610
  {
2692
2611
  "kind": "method",
2693
- "name": "deriveState",
2694
- "privacy": "private",
2695
- "return": {
2696
- "type": {
2697
- "text": "AIIndicatorState"
2698
- }
2699
- },
2612
+ "name": "onActionMenuItemClick",
2700
2613
  "parameters": [
2701
2614
  {
2702
- "name": "s",
2615
+ "name": "callback",
2703
2616
  "type": {
2704
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2705
2618
  }
2706
2619
  }
2707
2620
  ]
2708
2621
  },
2709
2622
  {
2710
- "kind": "method",
2711
- "name": "maybeStartPolling",
2712
- "privacy": "private",
2713
- "return": {
2714
- "type": {
2715
- "text": "void"
2716
- }
2717
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2718
2629
  },
2719
2630
  {
2720
- "kind": "method",
2721
- "name": "startPolling",
2722
- "privacy": "private",
2723
- "return": {
2724
- "type": {
2725
- "text": "void"
2726
- }
2727
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2728
2634
  },
2729
2635
  {
2730
2636
  "kind": "method",
2731
- "name": "stopPolling",
2732
- "privacy": "private",
2733
- "return": {
2734
- "type": {
2735
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2736
2644
  }
2737
- }
2645
+ ]
2738
2646
  },
2739
2647
  {
2740
2648
  "kind": "method",
2741
- "name": "onInstall",
2742
- "return": {
2743
- "type": {
2744
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2745
2656
  }
2746
- }
2657
+ ]
2747
2658
  },
2748
2659
  {
2749
2660
  "kind": "field",
@@ -2857,303 +2768,388 @@
2857
2768
  }
2858
2769
  }
2859
2770
  ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2834
+ }
2835
+ ],
2860
2836
  "superclass": {
2861
2837
  "name": "FoundationElement",
2862
2838
  "package": "@microsoft/fast-foundation"
2863
2839
  },
2864
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2865
2841
  "customElement": true
2866
2842
  },
2867
2843
  {
2868
2844
  "kind": "variable",
2869
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2870
2848
  }
2871
2849
  ],
2872
2850
  "exports": [
2873
2851
  {
2874
2852
  "kind": "js",
2875
- "name": "AiIndicator",
2853
+ "name": "ActionsMenu",
2876
2854
  "declaration": {
2877
- "name": "AiIndicator",
2878
- "module": "src/ai-indicator/ai-indicator.ts"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2879
2857
  }
2880
2858
  },
2881
2859
  {
2882
2860
  "kind": "js",
2883
- "name": "foundationAiIndicator",
2861
+ "name": "foundationActionsMenu",
2884
2862
  "declaration": {
2885
- "name": "foundationAiIndicator",
2886
- "module": "src/ai-indicator/ai-indicator.ts"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2887
2865
  }
2888
2866
  }
2889
2867
  ]
2890
2868
  },
2891
2869
  {
2892
2870
  "kind": "javascript-module",
2893
- "path": "src/ai-indicator/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2894
2872
  "declarations": [],
2895
2873
  "exports": [
2896
2874
  {
2897
2875
  "kind": "js",
2898
- "name": "AiIndicator",
2876
+ "name": "*",
2899
2877
  "declaration": {
2900
- "name": "AiIndicator",
2901
- "module": "./ai-indicator"
2878
+ "name": "*",
2879
+ "package": "./actions-menu.styles"
2902
2880
  }
2903
2881
  },
2904
2882
  {
2905
2883
  "kind": "js",
2906
- "name": "foundationAiIndicator",
2884
+ "name": "*",
2907
2885
  "declaration": {
2908
- "name": "foundationAiIndicator",
2909
- "module": "./ai-indicator"
2886
+ "name": "*",
2887
+ "package": "./actions-menu.template"
2910
2888
  }
2911
2889
  },
2912
2890
  {
2913
2891
  "kind": "js",
2914
- "name": "type",
2892
+ "name": "*",
2915
2893
  "declaration": {
2916
- "name": "type",
2917
- "module": "./ai-indicator"
2894
+ "name": "*",
2895
+ "package": "./actions-menu"
2918
2896
  }
2919
- },
2897
+ }
2898
+ ]
2899
+ },
2900
+ {
2901
+ "kind": "javascript-module",
2902
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2903
+ "declarations": [
2920
2904
  {
2921
- "kind": "js",
2922
- "name": "AIIndicatorState",
2923
- "declaration": {
2924
- "name": "AIIndicatorState",
2925
- "module": "./ai-indicator"
2926
- }
2927
- },
2905
+ "kind": "variable",
2906
+ "name": "foundationAiCriteriaSearchStyles",
2907
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2908
+ }
2909
+ ],
2910
+ "exports": [
2928
2911
  {
2929
2912
  "kind": "js",
2930
- "name": "foundationAiIndicatorTemplate",
2913
+ "name": "foundationAiCriteriaSearchStyles",
2931
2914
  "declaration": {
2932
- "name": "foundationAiIndicatorTemplate",
2933
- "module": "./ai-indicator.template"
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2934
2917
  }
2935
- },
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "javascript-module",
2923
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2924
+ "declarations": [
2925
+ {
2926
+ "kind": "variable",
2927
+ "name": "foundationAiCriteriaSearchTemplate",
2928
+ "type": {
2929
+ "text": "ViewTemplate<AiCriteriaSearch>"
2930
+ },
2931
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2932
+ }
2933
+ ],
2934
+ "exports": [
2936
2935
  {
2937
2936
  "kind": "js",
2938
- "name": "foundationAiIndicatorStyles",
2937
+ "name": "foundationAiCriteriaSearchTemplate",
2939
2938
  "declaration": {
2940
- "name": "foundationAiIndicatorStyles",
2941
- "module": "./ai-indicator.styles"
2939
+ "name": "foundationAiCriteriaSearchTemplate",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2942
2941
  }
2943
2942
  }
2944
2943
  ]
2945
2944
  },
2946
2945
  {
2947
2946
  "kind": "javascript-module",
2948
- "path": "src/_common/affix-mixin.ts",
2947
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2949
2948
  "declarations": [
2950
2949
  {
2951
- "kind": "mixin",
2952
- "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
2953
- "name": "AffixMixin",
2950
+ "kind": "class",
2951
+ "description": "Natural-language criteria search input with AI interpretation.",
2952
+ "name": "AiCriteriaSearch",
2954
2953
  "members": [
2955
2954
  {
2956
2955
  "kind": "field",
2957
- "name": "prefix",
2956
+ "name": "providerRegistry",
2957
+ "type": {
2958
+ "text": "AIProviderRegistry"
2959
+ }
2960
+ },
2961
+ {
2962
+ "kind": "field",
2963
+ "name": "placeholder",
2958
2964
  "type": {
2959
2965
  "text": "string"
2960
2966
  },
2961
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2967
+ "default": "'Describe your search criteria in natural language...'"
2962
2968
  },
2963
2969
  {
2964
2970
  "kind": "field",
2965
- "name": "suffix",
2971
+ "name": "disabled",
2972
+ "type": {
2973
+ "text": "boolean"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "inputValue",
2966
2979
  "type": {
2967
2980
  "text": "string"
2968
2981
  },
2969
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2982
+ "default": "''"
2970
2983
  },
2971
2984
  {
2972
2985
  "kind": "field",
2973
- "name": "hideAffixFromScreenReader",
2986
+ "name": "isInterpreting",
2974
2987
  "type": {
2975
2988
  "text": "boolean"
2976
2989
  },
2977
- "default": "false",
2978
- "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
2979
- }
2980
- ],
2981
- "parameters": [
2990
+ "default": "false"
2991
+ },
2982
2992
  {
2983
- "name": "Base",
2993
+ "kind": "field",
2994
+ "name": "lastValidCriteria",
2984
2995
  "type": {
2985
- "text": "TBase"
2986
- }
2987
- }
2988
- ]
2989
- }
2990
- ],
2991
- "exports": [
2992
- {
2993
- "kind": "js",
2994
- "name": "AffixMixin",
2995
- "declaration": {
2996
- "name": "AffixMixin",
2997
- "module": "src/_common/affix-mixin.ts"
2998
- }
2999
- }
3000
- ]
3001
- },
3002
- {
3003
- "kind": "javascript-module",
3004
- "path": "src/_common/base-file-component.ts",
3005
- "declarations": [
3006
- {
3007
- "kind": "class",
3008
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3009
- "name": "BaseFileComponent",
3010
- "members": [
2996
+ "text": "string | null"
2997
+ },
2998
+ "default": "null"
2999
+ },
3011
3000
  {
3012
3001
  "kind": "field",
3013
- "name": "fileInput",
3002
+ "name": "activeGroups",
3014
3003
  "type": {
3015
- "text": "HTMLInputElement"
3004
+ "text": "CriteriaGroup[]"
3016
3005
  },
3017
- "privacy": "public"
3006
+ "default": "[]"
3018
3007
  },
3019
3008
  {
3020
3009
  "kind": "field",
3021
- "name": "selectedFile",
3010
+ "name": "showingChips",
3022
3011
  "type": {
3023
- "text": "File | null"
3012
+ "text": "boolean"
3024
3013
  },
3025
- "privacy": "protected",
3026
- "default": "null"
3014
+ "default": "false"
3027
3015
  },
3028
3016
  {
3029
3017
  "kind": "field",
3030
- "name": "label",
3018
+ "name": "fieldMetadata",
3031
3019
  "type": {
3032
- "text": "string"
3033
- }
3020
+ "text": "MetadataDetail[] | string[]"
3021
+ },
3022
+ "default": "[]"
3034
3023
  },
3035
3024
  {
3036
3025
  "kind": "field",
3037
- "name": "accept",
3026
+ "name": "isRecording",
3038
3027
  "type": {
3039
- "text": "string"
3028
+ "text": "boolean"
3040
3029
  },
3041
- "default": "''"
3030
+ "default": "false"
3042
3031
  },
3043
3032
  {
3044
3033
  "kind": "field",
3045
- "name": "fileSizeLimitBytes",
3046
- "default": "10_485_760",
3034
+ "name": "textAreaRef",
3047
3035
  "type": {
3048
- "text": "number"
3049
- }
3036
+ "text": "HTMLTextAreaElement"
3037
+ },
3038
+ "privacy": "public"
3050
3039
  },
3051
3040
  {
3052
3041
  "kind": "field",
3053
- "name": "fileName",
3042
+ "name": "stopRecording",
3054
3043
  "type": {
3055
- "text": "string"
3044
+ "text": "(() => void) | null"
3056
3045
  },
3057
- "default": "''"
3046
+ "privacy": "private",
3047
+ "default": "null"
3058
3048
  },
3059
3049
  {
3060
3050
  "kind": "field",
3061
- "name": "isProcessing",
3051
+ "name": "speechApplyDebounceTimer",
3052
+ "type": {
3053
+ "text": "ReturnType<typeof setTimeout> | null"
3054
+ },
3055
+ "privacy": "private",
3056
+ "default": "null"
3057
+ },
3058
+ {
3059
+ "kind": "field",
3060
+ "name": "speechAvailable",
3062
3061
  "type": {
3063
3062
  "text": "boolean"
3064
3063
  },
3065
- "default": "false"
3064
+ "readonly": true
3066
3065
  },
3067
3066
  {
3068
- "kind": "method",
3069
- "name": "handleClick",
3070
- "privacy": "public",
3071
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3067
+ "kind": "field",
3068
+ "name": "criteriaChips",
3069
+ "type": {
3070
+ "text": "CriteriaChip[]"
3071
+ },
3072
+ "readonly": true
3072
3073
  },
3073
3074
  {
3074
3075
  "kind": "method",
3075
- "name": "onInputChange",
3076
- "privacy": "public",
3076
+ "name": "getFieldLabel",
3077
+ "privacy": "private",
3078
+ "return": {
3079
+ "type": {
3080
+ "text": "string"
3081
+ }
3082
+ },
3077
3083
  "parameters": [
3078
3084
  {
3079
- "name": "e",
3085
+ "name": "fieldName",
3080
3086
  "type": {
3081
- "text": "Event"
3082
- },
3083
- "description": "The change event from the file input"
3087
+ "text": "string"
3088
+ }
3084
3089
  }
3085
- ],
3086
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3087
- },
3088
- {
3089
- "kind": "method",
3090
- "name": "clearSelection",
3091
- "privacy": "public",
3092
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3090
+ ]
3093
3091
  },
3094
3092
  {
3095
3093
  "kind": "method",
3096
- "name": "getSelectedFile",
3097
- "privacy": "public",
3098
- "description": "Gets the currently selected file object",
3094
+ "name": "toggleCriteriaView",
3099
3095
  "return": {
3100
3096
  "type": {
3101
- "text": ""
3097
+ "text": "void"
3102
3098
  }
3103
3099
  }
3104
3100
  },
3105
3101
  {
3106
3102
  "kind": "method",
3107
- "name": "showError",
3108
- "privacy": "protected",
3103
+ "name": "removeChip",
3104
+ "return": {
3105
+ "type": {
3106
+ "text": "void"
3107
+ }
3108
+ },
3109
3109
  "parameters": [
3110
3110
  {
3111
- "name": "title",
3111
+ "name": "groupIndex",
3112
3112
  "type": {
3113
- "text": "string"
3114
- },
3115
- "description": "The error title"
3113
+ "text": "number"
3114
+ }
3116
3115
  },
3117
3116
  {
3118
- "name": "message",
3117
+ "name": "clauseIndex",
3119
3118
  "type": {
3120
- "text": "string"
3121
- },
3122
- "description": "The error message"
3119
+ "text": "number"
3120
+ }
3123
3121
  }
3124
- ],
3125
- "description": "Shows an error notification using the unified error handling system"
3122
+ ]
3126
3123
  },
3127
3124
  {
3128
3125
  "kind": "method",
3129
- "name": "onFileSelected",
3130
- "privacy": "protected",
3126
+ "name": "clearChips",
3131
3127
  "return": {
3132
3128
  "type": {
3133
3129
  "text": "void"
3134
3130
  }
3135
- },
3136
- "parameters": [
3137
- {
3138
- "name": "files",
3139
- "type": {
3140
- "text": "File[]"
3141
- },
3142
- "description": "The selected file"
3143
- }
3144
- ],
3145
- "description": "Abstract method called when a file is selected"
3131
+ }
3146
3132
  },
3147
3133
  {
3148
3134
  "kind": "method",
3149
- "name": "onFileCleared",
3150
- "privacy": "protected",
3151
- "return": {
3152
- "type": {
3153
- "text": "void"
3154
- }
3155
- },
3156
- "description": "Abstract method called when file selection is cleared"
3135
+ "name": "handleSubmit"
3136
+ },
3137
+ {
3138
+ "kind": "method",
3139
+ "name": "handleBlur"
3140
+ },
3141
+ {
3142
+ "kind": "method",
3143
+ "name": "clear"
3144
+ },
3145
+ {
3146
+ "kind": "method",
3147
+ "name": "toggleSpeechInput"
3148
+ },
3149
+ {
3150
+ "kind": "method",
3151
+ "name": "clearSpeechApplyDebounce",
3152
+ "privacy": "private"
3157
3153
  },
3158
3154
  {
3159
3155
  "kind": "field",
@@ -3269,157 +3265,152 @@
3269
3265
  ],
3270
3266
  "events": [
3271
3267
  {
3272
- "description": "Fired when file size validation fails",
3273
- "name": "error"
3268
+ "description": "Fired when interpreted criteria is applied or cleared",
3269
+ "name": "criteria-changed"
3274
3270
  },
3275
3271
  {
3276
- "description": "Fired when selection is cleared",
3277
- "name": "clear"
3272
+ "description": "Fired when interpreted criteria contains invalid clauses",
3273
+ "name": "validation-errors"
3278
3274
  }
3279
3275
  ],
3280
3276
  "attributes": [
3281
3277
  {
3282
- "name": "label",
3278
+ "name": "placeholder",
3283
3279
  "type": {
3284
3280
  "text": "string"
3285
3281
  },
3286
- "fieldName": "label"
3282
+ "default": "'Describe your search criteria in natural language...'",
3283
+ "fieldName": "placeholder"
3287
3284
  },
3288
3285
  {
3289
- "name": "accept",
3290
3286
  "type": {
3291
- "text": "string"
3292
- },
3293
- "default": "''",
3294
- "fieldName": "accept"
3295
- },
3296
- {
3297
- "name": "file-size-limit-bytes",
3298
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3299
- "resolveInitializer": {
3300
- "module": "src/_common/base-file-component.ts"
3287
+ "text": "boolean"
3301
3288
  },
3302
- "fieldName": "fileSizeLimitBytes"
3289
+ "fieldName": "disabled"
3303
3290
  }
3304
3291
  ],
3305
3292
  "superclass": {
3306
3293
  "name": "FoundationElement",
3307
3294
  "package": "@microsoft/fast-foundation"
3308
- }
3295
+ },
3296
+ "tagName": "%%prefix%%-ai-criteria-search",
3297
+ "customElement": true
3298
+ },
3299
+ {
3300
+ "kind": "variable",
3301
+ "name": "foundationAiCriteriaSearchShadowOptions",
3302
+ "type": {
3303
+ "text": "ShadowRootInit"
3304
+ },
3305
+ "default": "undefined"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "defaultAiCriteriaSearchConfig",
3310
+ "type": {
3311
+ "text": "object"
3312
+ },
3313
+ "default": "{}"
3314
+ },
3315
+ {
3316
+ "kind": "variable",
3317
+ "name": "foundationAiCriteriaSearch"
3309
3318
  }
3310
3319
  ],
3311
3320
  "exports": [
3312
3321
  {
3313
3322
  "kind": "js",
3314
- "name": "BaseFileComponent",
3323
+ "name": "AiCriteriaSearch",
3315
3324
  "declaration": {
3316
- "name": "BaseFileComponent",
3317
- "module": "src/_common/base-file-component.ts"
3325
+ "name": "AiCriteriaSearch",
3326
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3318
3327
  }
3319
- }
3320
- ]
3321
- },
3322
- {
3323
- "kind": "javascript-module",
3324
- "path": "src/_common/field-styles.ts",
3325
- "declarations": [
3326
- {
3327
- "kind": "variable",
3328
- "name": "sharedFieldStyles",
3329
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
3330
- }
3331
- ],
3332
- "exports": [
3328
+ },
3333
3329
  {
3334
3330
  "kind": "js",
3335
- "name": "sharedFieldStyles",
3331
+ "name": "foundationAiCriteriaSearchShadowOptions",
3336
3332
  "declaration": {
3337
- "name": "sharedFieldStyles",
3338
- "module": "src/_common/field-styles.ts"
3333
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3339
3335
  }
3340
- }
3341
- ]
3342
- },
3343
- {
3344
- "kind": "javascript-module",
3345
- "path": "src/_common/icons.ts",
3346
- "declarations": [
3336
+ },
3347
3337
  {
3348
- "kind": "function",
3349
- "name": "closeIcon",
3350
- "parameters": [
3351
- {
3352
- "name": "slot",
3353
- "default": "'start'"
3354
- },
3355
- {
3356
- "name": "fill",
3357
- "default": "'#879ba6'"
3358
- }
3359
- ]
3360
- }
3361
- ],
3362
- "exports": [
3338
+ "kind": "js",
3339
+ "name": "defaultAiCriteriaSearchConfig",
3340
+ "declaration": {
3341
+ "name": "defaultAiCriteriaSearchConfig",
3342
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ }
3344
+ },
3363
3345
  {
3364
3346
  "kind": "js",
3365
- "name": "closeIcon",
3347
+ "name": "foundationAiCriteriaSearch",
3366
3348
  "declaration": {
3367
- "name": "closeIcon",
3368
- "module": "src/_common/icons.ts"
3349
+ "name": "foundationAiCriteriaSearch",
3350
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3369
3351
  }
3370
3352
  }
3371
3353
  ]
3372
3354
  },
3373
3355
  {
3374
3356
  "kind": "javascript-module",
3375
- "path": "src/_common/index.ts",
3357
+ "path": "src/ai-criteria-search/index.ts",
3376
3358
  "declarations": [],
3377
3359
  "exports": [
3378
3360
  {
3379
3361
  "kind": "js",
3380
- "name": "*",
3362
+ "name": "AiCriteriaSearch",
3381
3363
  "declaration": {
3382
- "name": "*",
3383
- "package": "./affix-mixin"
3364
+ "name": "AiCriteriaSearch",
3365
+ "module": "./ai-criteria-search"
3384
3366
  }
3385
3367
  },
3386
3368
  {
3387
3369
  "kind": "js",
3388
- "name": "*",
3370
+ "name": "defaultAiCriteriaSearchConfig",
3389
3371
  "declaration": {
3390
- "name": "*",
3391
- "package": "./base-file-component"
3372
+ "name": "defaultAiCriteriaSearchConfig",
3373
+ "module": "./ai-criteria-search"
3392
3374
  }
3393
3375
  },
3394
3376
  {
3395
3377
  "kind": "js",
3396
- "name": "*",
3378
+ "name": "foundationAiCriteriaSearch",
3397
3379
  "declaration": {
3398
- "name": "*",
3399
- "package": "./field-styles"
3380
+ "name": "foundationAiCriteriaSearch",
3381
+ "module": "./ai-criteria-search"
3400
3382
  }
3401
3383
  },
3402
3384
  {
3403
3385
  "kind": "js",
3404
- "name": "*",
3386
+ "name": "foundationAiCriteriaSearchShadowOptions",
3405
3387
  "declaration": {
3406
- "name": "*",
3407
- "package": "./icons"
3388
+ "name": "foundationAiCriteriaSearchShadowOptions",
3389
+ "module": "./ai-criteria-search"
3408
3390
  }
3409
- }
3410
- ]
3411
- },
3412
- {
3413
- "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
3415
- "declarations": [],
3416
- "exports": [
3391
+ },
3392
+ {
3393
+ "kind": "js",
3394
+ "name": "foundationAiCriteriaSearchStyles",
3395
+ "declaration": {
3396
+ "name": "foundationAiCriteriaSearchStyles",
3397
+ "module": "./ai-criteria-search.styles"
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "js",
3402
+ "name": "foundationAiCriteriaSearchTemplate",
3403
+ "declaration": {
3404
+ "name": "foundationAiCriteriaSearchTemplate",
3405
+ "module": "./ai-criteria-search.template"
3406
+ }
3407
+ },
3417
3408
  {
3418
3409
  "kind": "js",
3419
3410
  "name": "*",
3420
3411
  "declaration": {
3421
3412
  "name": "*",
3422
- "package": "./styles"
3413
+ "package": "./validation/criteria-ir"
3423
3414
  }
3424
3415
  },
3425
3416
  {
@@ -3427,7 +3418,7 @@
3427
3418
  "name": "*",
3428
3419
  "declaration": {
3429
3420
  "name": "*",
3430
- "package": "./tokens"
3421
+ "package": "./validation/operator-map"
3431
3422
  }
3432
3423
  },
3433
3424
  {
@@ -3435,60 +3426,96 @@
3435
3426
  "name": "*",
3436
3427
  "declaration": {
3437
3428
  "name": "*",
3438
- "package": "./values"
3429
+ "package": "./validation/schema-validator"
3439
3430
  }
3440
3431
  }
3441
3432
  ]
3442
3433
  },
3443
3434
  {
3444
3435
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3436
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3446
3437
  "declarations": [
3447
3438
  {
3448
3439
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3440
+ "name": "formatValidationErrors",
3450
3441
  "return": {
3451
3442
  "type": {
3452
- "text": "ElementStyles"
3443
+ "text": "string"
3453
3444
  }
3454
3445
  },
3455
3446
  "parameters": [
3456
3447
  {
3457
- "name": "context",
3448
+ "name": "errors",
3458
3449
  "type": {
3459
- "text": "ElementDefinitionContext"
3450
+ "text": "ValidationError[]"
3460
3451
  }
3452
+ }
3453
+ ],
3454
+ "description": "Formats validation errors into a user-friendly message."
3455
+ },
3456
+ {
3457
+ "kind": "function",
3458
+ "name": "showCriteriaError",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "void"
3462
+ }
3463
+ },
3464
+ "parameters": [
3465
+ {
3466
+ "name": "title",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3471
  },
3462
3472
  {
3463
- "name": "definition",
3473
+ "name": "body",
3464
3474
  "type": {
3465
- "text": "FoundationElementDefinition"
3466
- }
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Error message to display"
3478
+ },
3479
+ {
3480
+ "name": "tagName",
3481
+ "type": {
3482
+ "text": "string"
3483
+ },
3484
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3467
3485
  }
3468
- ]
3486
+ ],
3487
+ "description": "Shows a criteria error as a toast notification."
3469
3488
  }
3470
3489
  ],
3471
3490
  "exports": [
3472
3491
  {
3473
3492
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3493
+ "name": "formatValidationErrors",
3475
3494
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3495
+ "name": "formatValidationErrors",
3496
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "showCriteriaError",
3502
+ "declaration": {
3503
+ "name": "showCriteriaError",
3504
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3478
3505
  }
3479
3506
  }
3480
3507
  ]
3481
3508
  },
3482
3509
  {
3483
3510
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3485
3512
  "declarations": [
3486
3513
  {
3487
3514
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3515
+ "name": "foundationAiIndicatorStyles",
3489
3516
  "return": {
3490
3517
  "type": {
3491
- "text": "ViewTemplate<Accordion>"
3518
+ "text": "ElementStyles"
3492
3519
  }
3493
3520
  },
3494
3521
  "parameters": [
@@ -3510,237 +3537,224 @@
3510
3537
  "exports": [
3511
3538
  {
3512
3539
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3540
+ "name": "foundationAiIndicatorStyles",
3514
3541
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3517
3544
  }
3518
3545
  }
3519
3546
  ]
3520
3547
  },
3521
3548
  {
3522
3549
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3551
+ "declarations": [
3552
+ {
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3557
+ },
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
+ }
3560
+ ],
3561
+ "exports": [
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationAiIndicatorTemplate",
3565
+ "declaration": {
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3568
+ }
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ "kind": "javascript-module",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3524
3575
  "declarations": [
3525
3576
  {
3526
3577
  "kind": "class",
3527
3578
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3536
3581
  {
3537
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3538
3584
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProviderRegistry"
3546
3586
  }
3547
- }
3548
- ],
3549
- "members": [
3587
+ },
3550
3588
  {
3551
3589
  "kind": "field",
3552
- "name": "expandmode",
3590
+ "name": "aiProvider",
3553
3591
  "type": {
3554
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3555
3593
  },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3561
- }
3594
+ "privacy": "private",
3595
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
+ "readonly": true
3562
3597
  },
3563
3598
  {
3564
3599
  "kind": "field",
3565
- "name": "activeid",
3600
+ "name": "status",
3566
3601
  "type": {
3567
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3568
3603
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3604
+ "default": "null"
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "field",
3577
- "name": "activeItemIndex",
3608
+ "name": "open",
3578
3609
  "type": {
3579
- "text": "number"
3610
+ "text": "boolean"
3580
3611
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3612
+ "default": "false"
3587
3613
  },
3588
3614
  {
3589
3615
  "kind": "field",
3590
- "name": "accordionIds",
3616
+ "name": "state",
3591
3617
  "type": {
3592
- "text": "Array<string | null>"
3618
+ "text": "AIIndicatorState"
3593
3619
  },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3598
- }
3620
+ "default": "'none'"
3599
3621
  },
3600
3622
  {
3601
3623
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3607
- }
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3608
3629
  },
3609
3630
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3612
3636
  "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3637
+ "default": "null"
3638
+ },
3639
+ {
3640
+ "kind": "field",
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3617
3649
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3650
+ "readonly": true
3622
3651
  },
3623
3652
  {
3624
3653
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3630
- }
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3631
3667
  },
3632
3668
  {
3633
3669
  "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3670
+ "name": "openChanged",
3636
3671
  "return": {
3637
3672
  "type": {
3638
3673
  "text": "void"
3639
3674
  }
3640
- },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
3675
  }
3645
3676
  },
3646
3677
  {
3647
- "kind": "field",
3648
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3649
3680
  "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3653
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3654
3689
  },
3655
3690
  {
3656
- "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3663
3693
  },
3664
3694
  {
3665
3695
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3696
+ "name": "refreshStatus",
3668
3697
  "return": {
3669
3698
  "type": {
3670
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3671
3700
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3701
  }
3677
3702
  },
3678
3703
  {
3679
3704
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3681
3706
  "privacy": "private",
3682
3707
  "return": {
3683
3708
  "type": {
3684
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3685
3710
  }
3686
3711
  },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3691
3720
  },
3692
3721
  {
3693
- "kind": "field",
3694
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3695
3724
  "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3699
3729
  }
3700
3730
  },
3701
3731
  {
3702
- "kind": "field",
3703
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3704
3734
  "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3708
3739
  }
3709
3740
  },
3710
3741
  {
3711
3742
  "kind": "method",
3712
- "name": "adjust",
3743
+ "name": "stopPolling",
3713
3744
  "privacy": "private",
3714
3745
  "return": {
3715
3746
  "type": {
3716
3747
  "text": "void"
3717
3748
  }
3718
- },
3719
- "parameters": [
3720
- {
3721
- "name": "adjustment",
3722
- "type": {
3723
- "text": "number"
3724
- }
3725
- }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
3749
  }
3731
3750
  },
3732
3751
  {
3733
3752
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3753
+ "name": "onInstall",
3736
3754
  "return": {
3737
3755
  "type": {
3738
- "text": "void"
3756
+ "text": "Promise<void>"
3739
3757
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
@@ -3855,102 +3869,88 @@
3855
3869
  }
3856
3870
  }
3857
3871
  ],
3858
- "events": [
3859
- {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3866
- }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3882
3875
  },
3883
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3884
3878
  },
3885
3879
  {
3886
3880
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3889
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3890
3882
  }
3891
3883
  ],
3892
3884
  "exports": [
3893
3885
  {
3894
3886
  "kind": "js",
3895
- "name": "Accordion",
3887
+ "name": "AiIndicator",
3896
3888
  "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3891
  }
3900
3892
  },
3901
3893
  {
3902
3894
  "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3895
+ "name": "foundationAiIndicator",
3904
3896
  "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "defaultAccordionConfig",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "foundationAccordion",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3930
- "declarations": [],
3931
- "exports": [
3931
+ },
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "*",
3934
+ "name": "AIIndicatorState",
3935
3935
  "declaration": {
3936
- "name": "*",
3937
- "package": "./accordion.template"
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "*",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
3943
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.styles"
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "*",
3950
+ "name": "foundationAiIndicatorStyles",
3951
3951
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57711,197 +57711,6 @@
57711
57711
  }
57712
57712
  ]
57713
57713
  },
57714
- {
57715
- "kind": "javascript-module",
57716
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
- "declarations": [],
57718
- "exports": []
57719
- },
57720
- {
57721
- "kind": "javascript-module",
57722
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
- "declarations": [
57724
- {
57725
- "kind": "function",
57726
- "name": "groupsToCriteria",
57727
- "return": {
57728
- "type": {
57729
- "text": "string"
57730
- }
57731
- },
57732
- "parameters": [
57733
- {
57734
- "name": "groups",
57735
- "type": {
57736
- "text": "CriteriaGroup[]"
57737
- }
57738
- }
57739
- ],
57740
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57741
- },
57742
- {
57743
- "kind": "variable",
57744
- "name": "STRING_OPERATORS",
57745
- "type": {
57746
- "text": "CriteriaOperator[]"
57747
- },
57748
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
- },
57750
- {
57751
- "kind": "variable",
57752
- "name": "NUMERIC_OPERATORS",
57753
- "type": {
57754
- "text": "CriteriaOperator[]"
57755
- },
57756
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
- },
57758
- {
57759
- "kind": "variable",
57760
- "name": "DATE_OPERATORS",
57761
- "type": {
57762
- "text": "CriteriaOperator[]"
57763
- },
57764
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
- },
57766
- {
57767
- "kind": "variable",
57768
- "name": "DATETIME_OPERATORS",
57769
- "type": {
57770
- "text": "CriteriaOperator[]"
57771
- },
57772
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
- },
57774
- {
57775
- "kind": "variable",
57776
- "name": "OPERATOR_DISPLAY_LABEL",
57777
- "type": {
57778
- "text": "Record<CriteriaOperator, string>"
57779
- },
57780
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57781
- }
57782
- ],
57783
- "exports": [
57784
- {
57785
- "kind": "js",
57786
- "name": "groupsToCriteria",
57787
- "declaration": {
57788
- "name": "groupsToCriteria",
57789
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
- }
57791
- },
57792
- {
57793
- "kind": "js",
57794
- "name": "STRING_OPERATORS",
57795
- "declaration": {
57796
- "name": "STRING_OPERATORS",
57797
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
- }
57799
- },
57800
- {
57801
- "kind": "js",
57802
- "name": "NUMERIC_OPERATORS",
57803
- "declaration": {
57804
- "name": "NUMERIC_OPERATORS",
57805
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
- }
57807
- },
57808
- {
57809
- "kind": "js",
57810
- "name": "DATE_OPERATORS",
57811
- "declaration": {
57812
- "name": "DATE_OPERATORS",
57813
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
- }
57815
- },
57816
- {
57817
- "kind": "js",
57818
- "name": "DATETIME_OPERATORS",
57819
- "declaration": {
57820
- "name": "DATETIME_OPERATORS",
57821
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
- }
57823
- },
57824
- {
57825
- "kind": "js",
57826
- "name": "OPERATOR_DISPLAY_LABEL",
57827
- "declaration": {
57828
- "name": "OPERATOR_DISPLAY_LABEL",
57829
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
- }
57831
- }
57832
- ]
57833
- },
57834
- {
57835
- "kind": "javascript-module",
57836
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
- "declarations": [
57838
- {
57839
- "kind": "function",
57840
- "name": "validateClauses",
57841
- "return": {
57842
- "type": {
57843
- "text": "ValidationResult"
57844
- }
57845
- },
57846
- "parameters": [
57847
- {
57848
- "name": "clauses",
57849
- "type": {
57850
- "text": "CriteriaClause[]"
57851
- }
57852
- },
57853
- {
57854
- "name": "fieldMetadata",
57855
- "type": {
57856
- "text": "MetadataDetail[] | string[]"
57857
- }
57858
- }
57859
- ]
57860
- },
57861
- {
57862
- "kind": "function",
57863
- "name": "validateGroups",
57864
- "return": {
57865
- "type": {
57866
- "text": "GroupsValidationResult"
57867
- }
57868
- },
57869
- "parameters": [
57870
- {
57871
- "name": "groups",
57872
- "type": {
57873
- "text": "CriteriaGroup[]"
57874
- }
57875
- },
57876
- {
57877
- "name": "fieldMetadata",
57878
- "type": {
57879
- "text": "MetadataDetail[] | string[]"
57880
- }
57881
- }
57882
- ],
57883
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
- }
57885
- ],
57886
- "exports": [
57887
- {
57888
- "kind": "js",
57889
- "name": "validateClauses",
57890
- "declaration": {
57891
- "name": "validateClauses",
57892
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
- }
57894
- },
57895
- {
57896
- "kind": "js",
57897
- "name": "validateGroups",
57898
- "declaration": {
57899
- "name": "validateGroups",
57900
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
- }
57902
- }
57903
- ]
57904
- },
57905
57714
  {
57906
57715
  "kind": "javascript-module",
57907
57716
  "path": "src/_config/styles/colors.ts",
@@ -59274,6 +59083,197 @@
59274
59083
  "declarations": [],
59275
59084
  "exports": []
59276
59085
  },
59086
+ {
59087
+ "kind": "javascript-module",
59088
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
+ "declarations": [],
59090
+ "exports": []
59091
+ },
59092
+ {
59093
+ "kind": "javascript-module",
59094
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
+ "declarations": [
59096
+ {
59097
+ "kind": "function",
59098
+ "name": "groupsToCriteria",
59099
+ "return": {
59100
+ "type": {
59101
+ "text": "string"
59102
+ }
59103
+ },
59104
+ "parameters": [
59105
+ {
59106
+ "name": "groups",
59107
+ "type": {
59108
+ "text": "CriteriaGroup[]"
59109
+ }
59110
+ }
59111
+ ],
59112
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
59113
+ },
59114
+ {
59115
+ "kind": "variable",
59116
+ "name": "STRING_OPERATORS",
59117
+ "type": {
59118
+ "text": "CriteriaOperator[]"
59119
+ },
59120
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
+ },
59122
+ {
59123
+ "kind": "variable",
59124
+ "name": "NUMERIC_OPERATORS",
59125
+ "type": {
59126
+ "text": "CriteriaOperator[]"
59127
+ },
59128
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
+ },
59130
+ {
59131
+ "kind": "variable",
59132
+ "name": "DATE_OPERATORS",
59133
+ "type": {
59134
+ "text": "CriteriaOperator[]"
59135
+ },
59136
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
+ },
59138
+ {
59139
+ "kind": "variable",
59140
+ "name": "DATETIME_OPERATORS",
59141
+ "type": {
59142
+ "text": "CriteriaOperator[]"
59143
+ },
59144
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
+ },
59146
+ {
59147
+ "kind": "variable",
59148
+ "name": "OPERATOR_DISPLAY_LABEL",
59149
+ "type": {
59150
+ "text": "Record<CriteriaOperator, string>"
59151
+ },
59152
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
59153
+ }
59154
+ ],
59155
+ "exports": [
59156
+ {
59157
+ "kind": "js",
59158
+ "name": "groupsToCriteria",
59159
+ "declaration": {
59160
+ "name": "groupsToCriteria",
59161
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
+ }
59163
+ },
59164
+ {
59165
+ "kind": "js",
59166
+ "name": "STRING_OPERATORS",
59167
+ "declaration": {
59168
+ "name": "STRING_OPERATORS",
59169
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
+ }
59171
+ },
59172
+ {
59173
+ "kind": "js",
59174
+ "name": "NUMERIC_OPERATORS",
59175
+ "declaration": {
59176
+ "name": "NUMERIC_OPERATORS",
59177
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
+ }
59179
+ },
59180
+ {
59181
+ "kind": "js",
59182
+ "name": "DATE_OPERATORS",
59183
+ "declaration": {
59184
+ "name": "DATE_OPERATORS",
59185
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
+ }
59187
+ },
59188
+ {
59189
+ "kind": "js",
59190
+ "name": "DATETIME_OPERATORS",
59191
+ "declaration": {
59192
+ "name": "DATETIME_OPERATORS",
59193
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
+ }
59195
+ },
59196
+ {
59197
+ "kind": "js",
59198
+ "name": "OPERATOR_DISPLAY_LABEL",
59199
+ "declaration": {
59200
+ "name": "OPERATOR_DISPLAY_LABEL",
59201
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
+ }
59203
+ }
59204
+ ]
59205
+ },
59206
+ {
59207
+ "kind": "javascript-module",
59208
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
+ "declarations": [
59210
+ {
59211
+ "kind": "function",
59212
+ "name": "validateClauses",
59213
+ "return": {
59214
+ "type": {
59215
+ "text": "ValidationResult"
59216
+ }
59217
+ },
59218
+ "parameters": [
59219
+ {
59220
+ "name": "clauses",
59221
+ "type": {
59222
+ "text": "CriteriaClause[]"
59223
+ }
59224
+ },
59225
+ {
59226
+ "name": "fieldMetadata",
59227
+ "type": {
59228
+ "text": "MetadataDetail[] | string[]"
59229
+ }
59230
+ }
59231
+ ]
59232
+ },
59233
+ {
59234
+ "kind": "function",
59235
+ "name": "validateGroups",
59236
+ "return": {
59237
+ "type": {
59238
+ "text": "GroupsValidationResult"
59239
+ }
59240
+ },
59241
+ "parameters": [
59242
+ {
59243
+ "name": "groups",
59244
+ "type": {
59245
+ "text": "CriteriaGroup[]"
59246
+ }
59247
+ },
59248
+ {
59249
+ "name": "fieldMetadata",
59250
+ "type": {
59251
+ "text": "MetadataDetail[] | string[]"
59252
+ }
59253
+ }
59254
+ ],
59255
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
+ }
59257
+ ],
59258
+ "exports": [
59259
+ {
59260
+ "kind": "js",
59261
+ "name": "validateClauses",
59262
+ "declaration": {
59263
+ "name": "validateClauses",
59264
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
+ }
59266
+ },
59267
+ {
59268
+ "kind": "js",
59269
+ "name": "validateGroups",
59270
+ "declaration": {
59271
+ "name": "validateGroups",
59272
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
+ }
59274
+ }
59275
+ ]
59276
+ },
59277
59277
  {
59278
59278
  "kind": "javascript-module",
59279
59279
  "path": "src/environment-indicator/utils/configure.ts",