@genesislcap/foundation-ui 15.10.6 → 15.12.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.
@@ -956,6 +956,472 @@
956
956
  }
957
957
  ]
958
958
  },
959
+ {
960
+ "kind": "javascript-module",
961
+ "path": "src/_common/affix-mixin.ts",
962
+ "declarations": [
963
+ {
964
+ "kind": "mixin",
965
+ "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.",
966
+ "name": "AffixMixin",
967
+ "members": [
968
+ {
969
+ "kind": "field",
970
+ "name": "prefix",
971
+ "type": {
972
+ "text": "string"
973
+ },
974
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
975
+ },
976
+ {
977
+ "kind": "field",
978
+ "name": "suffix",
979
+ "type": {
980
+ "text": "string"
981
+ },
982
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "hideAffixFromScreenReader",
987
+ "type": {
988
+ "text": "boolean"
989
+ },
990
+ "default": "false",
991
+ "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."
992
+ }
993
+ ],
994
+ "parameters": [
995
+ {
996
+ "name": "Base",
997
+ "type": {
998
+ "text": "TBase"
999
+ }
1000
+ }
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "exports": [
1005
+ {
1006
+ "kind": "js",
1007
+ "name": "AffixMixin",
1008
+ "declaration": {
1009
+ "name": "AffixMixin",
1010
+ "module": "src/_common/affix-mixin.ts"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/_common/base-file-component.ts",
1018
+ "declarations": [
1019
+ {
1020
+ "kind": "class",
1021
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1022
+ "name": "BaseFileComponent",
1023
+ "members": [
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "fileInput",
1027
+ "type": {
1028
+ "text": "HTMLInputElement"
1029
+ },
1030
+ "privacy": "public"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "selectedFile",
1035
+ "type": {
1036
+ "text": "File | null"
1037
+ },
1038
+ "privacy": "protected",
1039
+ "default": "null"
1040
+ },
1041
+ {
1042
+ "kind": "field",
1043
+ "name": "label",
1044
+ "type": {
1045
+ "text": "string"
1046
+ }
1047
+ },
1048
+ {
1049
+ "kind": "field",
1050
+ "name": "accept",
1051
+ "type": {
1052
+ "text": "string"
1053
+ },
1054
+ "default": "''"
1055
+ },
1056
+ {
1057
+ "kind": "field",
1058
+ "name": "fileSizeLimitBytes",
1059
+ "default": "10_485_760",
1060
+ "type": {
1061
+ "text": "number"
1062
+ }
1063
+ },
1064
+ {
1065
+ "kind": "field",
1066
+ "name": "fileName",
1067
+ "type": {
1068
+ "text": "string"
1069
+ },
1070
+ "default": "''"
1071
+ },
1072
+ {
1073
+ "kind": "field",
1074
+ "name": "isProcessing",
1075
+ "type": {
1076
+ "text": "boolean"
1077
+ },
1078
+ "default": "false"
1079
+ },
1080
+ {
1081
+ "kind": "method",
1082
+ "name": "handleClick",
1083
+ "privacy": "public",
1084
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1085
+ },
1086
+ {
1087
+ "kind": "method",
1088
+ "name": "onInputChange",
1089
+ "privacy": "public",
1090
+ "parameters": [
1091
+ {
1092
+ "name": "e",
1093
+ "type": {
1094
+ "text": "Event"
1095
+ },
1096
+ "description": "The change event from the file input"
1097
+ }
1098
+ ],
1099
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1100
+ },
1101
+ {
1102
+ "kind": "method",
1103
+ "name": "clearSelection",
1104
+ "privacy": "public",
1105
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1106
+ },
1107
+ {
1108
+ "kind": "method",
1109
+ "name": "getSelectedFile",
1110
+ "privacy": "public",
1111
+ "description": "Gets the currently selected file object",
1112
+ "return": {
1113
+ "type": {
1114
+ "text": ""
1115
+ }
1116
+ }
1117
+ },
1118
+ {
1119
+ "kind": "method",
1120
+ "name": "showError",
1121
+ "privacy": "protected",
1122
+ "parameters": [
1123
+ {
1124
+ "name": "title",
1125
+ "type": {
1126
+ "text": "string"
1127
+ },
1128
+ "description": "The error title"
1129
+ },
1130
+ {
1131
+ "name": "message",
1132
+ "type": {
1133
+ "text": "string"
1134
+ },
1135
+ "description": "The error message"
1136
+ }
1137
+ ],
1138
+ "description": "Shows an error notification using the unified error handling system"
1139
+ },
1140
+ {
1141
+ "kind": "method",
1142
+ "name": "onFileSelected",
1143
+ "privacy": "protected",
1144
+ "return": {
1145
+ "type": {
1146
+ "text": "void"
1147
+ }
1148
+ },
1149
+ "parameters": [
1150
+ {
1151
+ "name": "files",
1152
+ "type": {
1153
+ "text": "File[]"
1154
+ },
1155
+ "description": "The selected file"
1156
+ }
1157
+ ],
1158
+ "description": "Abstract method called when a file is selected"
1159
+ },
1160
+ {
1161
+ "kind": "method",
1162
+ "name": "onFileCleared",
1163
+ "privacy": "protected",
1164
+ "return": {
1165
+ "type": {
1166
+ "text": "void"
1167
+ }
1168
+ },
1169
+ "description": "Abstract method called when file selection is cleared"
1170
+ },
1171
+ {
1172
+ "kind": "field",
1173
+ "name": "_presentation",
1174
+ "type": {
1175
+ "text": "ComponentPresentation | null | undefined"
1176
+ },
1177
+ "privacy": "private",
1178
+ "default": "void 0",
1179
+ "inheritedFrom": {
1180
+ "name": "FoundationElement",
1181
+ "module": "src/foundation-element/foundation-element.ts"
1182
+ }
1183
+ },
1184
+ {
1185
+ "kind": "field",
1186
+ "name": "$presentation",
1187
+ "type": {
1188
+ "text": "ComponentPresentation | null"
1189
+ },
1190
+ "privacy": "public",
1191
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1192
+ "inheritedFrom": {
1193
+ "name": "FoundationElement",
1194
+ "module": "src/foundation-element/foundation-element.ts"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "field",
1199
+ "name": "template",
1200
+ "type": {
1201
+ "text": "ElementViewTemplate | void | null"
1202
+ },
1203
+ "privacy": "public",
1204
+ "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.",
1205
+ "inheritedFrom": {
1206
+ "name": "FoundationElement",
1207
+ "module": "src/foundation-element/foundation-element.ts"
1208
+ }
1209
+ },
1210
+ {
1211
+ "kind": "method",
1212
+ "name": "templateChanged",
1213
+ "privacy": "protected",
1214
+ "return": {
1215
+ "type": {
1216
+ "text": "void"
1217
+ }
1218
+ },
1219
+ "inheritedFrom": {
1220
+ "name": "FoundationElement",
1221
+ "module": "src/foundation-element/foundation-element.ts"
1222
+ }
1223
+ },
1224
+ {
1225
+ "kind": "field",
1226
+ "name": "styles",
1227
+ "type": {
1228
+ "text": "ElementStyles | void | null"
1229
+ },
1230
+ "privacy": "public",
1231
+ "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.",
1232
+ "inheritedFrom": {
1233
+ "name": "FoundationElement",
1234
+ "module": "src/foundation-element/foundation-element.ts"
1235
+ }
1236
+ },
1237
+ {
1238
+ "kind": "method",
1239
+ "name": "stylesChanged",
1240
+ "privacy": "protected",
1241
+ "return": {
1242
+ "type": {
1243
+ "text": "void"
1244
+ }
1245
+ },
1246
+ "inheritedFrom": {
1247
+ "name": "FoundationElement",
1248
+ "module": "src/foundation-element/foundation-element.ts"
1249
+ }
1250
+ },
1251
+ {
1252
+ "kind": "method",
1253
+ "name": "compose",
1254
+ "privacy": "public",
1255
+ "static": true,
1256
+ "return": {
1257
+ "type": {
1258
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1259
+ }
1260
+ },
1261
+ "parameters": [
1262
+ {
1263
+ "name": "this",
1264
+ "type": {
1265
+ "text": "K"
1266
+ }
1267
+ },
1268
+ {
1269
+ "name": "elementDefinition",
1270
+ "type": {
1271
+ "text": "T"
1272
+ },
1273
+ "description": "The definition of the element to create the registry\nfunction for."
1274
+ }
1275
+ ],
1276
+ "description": "Defines an element registry function with a set of element definition defaults.",
1277
+ "inheritedFrom": {
1278
+ "name": "FoundationElement",
1279
+ "module": "src/foundation-element/foundation-element.ts"
1280
+ }
1281
+ }
1282
+ ],
1283
+ "events": [
1284
+ {
1285
+ "description": "Fired when file size validation fails. detail: `Error`",
1286
+ "name": "error"
1287
+ },
1288
+ {
1289
+ "description": "Fired when selection is cleared",
1290
+ "name": "clear"
1291
+ }
1292
+ ],
1293
+ "attributes": [
1294
+ {
1295
+ "name": "label",
1296
+ "type": {
1297
+ "text": "string"
1298
+ },
1299
+ "fieldName": "label"
1300
+ },
1301
+ {
1302
+ "name": "accept",
1303
+ "type": {
1304
+ "text": "string"
1305
+ },
1306
+ "default": "''",
1307
+ "fieldName": "accept"
1308
+ },
1309
+ {
1310
+ "name": "file-size-limit-bytes",
1311
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1312
+ "resolveInitializer": {
1313
+ "module": "src/_common/base-file-component.ts"
1314
+ },
1315
+ "fieldName": "fileSizeLimitBytes"
1316
+ }
1317
+ ],
1318
+ "superclass": {
1319
+ "name": "FoundationElement",
1320
+ "package": "@microsoft/fast-foundation"
1321
+ }
1322
+ }
1323
+ ],
1324
+ "exports": [
1325
+ {
1326
+ "kind": "js",
1327
+ "name": "BaseFileComponent",
1328
+ "declaration": {
1329
+ "name": "BaseFileComponent",
1330
+ "module": "src/_common/base-file-component.ts"
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "kind": "javascript-module",
1337
+ "path": "src/_common/field-styles.ts",
1338
+ "declarations": [
1339
+ {
1340
+ "kind": "variable",
1341
+ "name": "sharedFieldStyles",
1342
+ "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`"
1343
+ }
1344
+ ],
1345
+ "exports": [
1346
+ {
1347
+ "kind": "js",
1348
+ "name": "sharedFieldStyles",
1349
+ "declaration": {
1350
+ "name": "sharedFieldStyles",
1351
+ "module": "src/_common/field-styles.ts"
1352
+ }
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ "kind": "javascript-module",
1358
+ "path": "src/_common/icons.ts",
1359
+ "declarations": [
1360
+ {
1361
+ "kind": "function",
1362
+ "name": "closeIcon",
1363
+ "parameters": [
1364
+ {
1365
+ "name": "slot",
1366
+ "default": "'start'"
1367
+ },
1368
+ {
1369
+ "name": "fill",
1370
+ "default": "'#879ba6'"
1371
+ }
1372
+ ]
1373
+ }
1374
+ ],
1375
+ "exports": [
1376
+ {
1377
+ "kind": "js",
1378
+ "name": "closeIcon",
1379
+ "declaration": {
1380
+ "name": "closeIcon",
1381
+ "module": "src/_common/icons.ts"
1382
+ }
1383
+ }
1384
+ ]
1385
+ },
1386
+ {
1387
+ "kind": "javascript-module",
1388
+ "path": "src/_common/index.ts",
1389
+ "declarations": [],
1390
+ "exports": [
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./affix-mixin"
1397
+ }
1398
+ },
1399
+ {
1400
+ "kind": "js",
1401
+ "name": "*",
1402
+ "declaration": {
1403
+ "name": "*",
1404
+ "package": "./base-file-component"
1405
+ }
1406
+ },
1407
+ {
1408
+ "kind": "js",
1409
+ "name": "*",
1410
+ "declaration": {
1411
+ "name": "*",
1412
+ "package": "./field-styles"
1413
+ }
1414
+ },
1415
+ {
1416
+ "kind": "js",
1417
+ "name": "*",
1418
+ "declaration": {
1419
+ "name": "*",
1420
+ "package": "./icons"
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
959
1425
  {
960
1426
  "kind": "javascript-module",
961
1427
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1352,203 +1818,146 @@
1352
1818
  },
1353
1819
  {
1354
1820
  "kind": "javascript-module",
1355
- "path": "src/actions-menu/actions-menu.styles.ts",
1356
- "declarations": [
1821
+ "path": "src/_config/index.ts",
1822
+ "declarations": [],
1823
+ "exports": [
1357
1824
  {
1358
- "kind": "function",
1359
- "name": "actionsMenuBaseStyles",
1360
- "return": {
1361
- "type": {
1362
- "text": "ElementStyles"
1363
- }
1364
- },
1365
- "parameters": [
1366
- {
1367
- "name": "context",
1368
- "type": {
1369
- "text": "ElementDefinitionContext"
1370
- }
1371
- },
1372
- {
1373
- "name": "definition",
1374
- "type": {
1375
- "text": "FoundationElementDefinition"
1376
- }
1377
- }
1378
- ]
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./styles"
1830
+ }
1379
1831
  },
1380
- {
1381
- "kind": "function",
1382
- "name": "foundationActionsMenuStyles",
1383
- "return": {
1384
- "type": {
1385
- "text": "ElementStyles"
1386
- }
1387
- },
1388
- "parameters": [
1389
- {
1390
- "name": "context",
1391
- "type": {
1392
- "text": "ElementDefinitionContext"
1393
- }
1394
- },
1395
- {
1396
- "name": "definition",
1397
- "type": {
1398
- "text": "FoundationElementDefinition"
1399
- }
1400
- }
1401
- ]
1402
- }
1403
- ],
1404
- "exports": [
1405
1832
  {
1406
1833
  "kind": "js",
1407
- "name": "actionsMenuBaseStyles",
1834
+ "name": "*",
1408
1835
  "declaration": {
1409
- "name": "actionsMenuBaseStyles",
1410
- "module": "src/actions-menu/actions-menu.styles.ts"
1836
+ "name": "*",
1837
+ "package": "./tokens"
1411
1838
  }
1412
1839
  },
1413
1840
  {
1414
1841
  "kind": "js",
1415
- "name": "foundationActionsMenuStyles",
1842
+ "name": "*",
1416
1843
  "declaration": {
1417
- "name": "foundationActionsMenuStyles",
1418
- "module": "src/actions-menu/actions-menu.styles.ts"
1844
+ "name": "*",
1845
+ "package": "./values"
1419
1846
  }
1420
1847
  }
1421
1848
  ]
1422
1849
  },
1423
1850
  {
1424
1851
  "kind": "javascript-module",
1425
- "path": "src/actions-menu/actions-menu.template.ts",
1852
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1426
1853
  "declarations": [
1427
- {
1428
- "kind": "function",
1429
- "name": "menuTemplate",
1430
- "parameters": [
1431
- {
1432
- "name": "prefix",
1433
- "type": {
1434
- "text": "string"
1435
- }
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "kind": "function",
1441
- "name": "singleOptionTemplate",
1442
- "parameters": [
1443
- {
1444
- "name": "prefix",
1445
- "type": {
1446
- "text": "string"
1447
- }
1448
- }
1449
- ]
1450
- },
1451
1854
  {
1452
1855
  "kind": "variable",
1453
- "name": "foundationActionsMenuTemplate",
1454
- "type": {
1455
- "text": "ViewTemplate<ActionsMenu>"
1456
- },
1457
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1856
+ "name": "foundationAiCriteriaSearchStyles",
1857
+ "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`"
1458
1858
  }
1459
1859
  ],
1460
1860
  "exports": [
1461
1861
  {
1462
1862
  "kind": "js",
1463
- "name": "menuTemplate",
1863
+ "name": "foundationAiCriteriaSearchStyles",
1464
1864
  "declaration": {
1465
- "name": "menuTemplate",
1466
- "module": "src/actions-menu/actions-menu.template.ts"
1865
+ "name": "foundationAiCriteriaSearchStyles",
1866
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1467
1867
  }
1468
- },
1868
+ }
1869
+ ]
1870
+ },
1871
+ {
1872
+ "kind": "javascript-module",
1873
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1874
+ "declarations": [
1469
1875
  {
1470
- "kind": "js",
1471
- "name": "singleOptionTemplate",
1472
- "declaration": {
1473
- "name": "singleOptionTemplate",
1474
- "module": "src/actions-menu/actions-menu.template.ts"
1475
- }
1476
- },
1876
+ "kind": "variable",
1877
+ "name": "foundationAiCriteriaSearchTemplate",
1878
+ "type": {
1879
+ "text": "ViewTemplate<AiCriteriaSearch>"
1880
+ },
1881
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1882
+ }
1883
+ ],
1884
+ "exports": [
1477
1885
  {
1478
1886
  "kind": "js",
1479
- "name": "foundationActionsMenuTemplate",
1887
+ "name": "foundationAiCriteriaSearchTemplate",
1480
1888
  "declaration": {
1481
- "name": "foundationActionsMenuTemplate",
1482
- "module": "src/actions-menu/actions-menu.template.ts"
1889
+ "name": "foundationAiCriteriaSearchTemplate",
1890
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1483
1891
  }
1484
1892
  }
1485
1893
  ]
1486
1894
  },
1487
1895
  {
1488
1896
  "kind": "javascript-module",
1489
- "path": "src/actions-menu/actions-menu.ts",
1897
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1490
1898
  "declarations": [
1491
1899
  {
1492
1900
  "kind": "class",
1493
- "description": "",
1494
- "name": "ActionsMenu",
1901
+ "description": "Natural-language criteria search input with AI interpretation.",
1902
+ "name": "AiCriteriaSearch",
1495
1903
  "members": [
1496
1904
  {
1497
1905
  "kind": "field",
1498
- "name": "actions",
1906
+ "name": "providerRegistry",
1499
1907
  "type": {
1500
- "text": "ActionMenuItem[]"
1908
+ "text": "AIProviderRegistry"
1501
1909
  }
1502
1910
  },
1503
1911
  {
1504
1912
  "kind": "field",
1505
- "name": "isVertical",
1913
+ "name": "placeholder",
1506
1914
  "type": {
1507
- "text": "boolean"
1915
+ "text": "string"
1508
1916
  },
1509
- "default": "false"
1917
+ "default": "'Describe your search criteria in natural language...'"
1510
1918
  },
1511
1919
  {
1512
1920
  "kind": "field",
1513
- "name": "addDefaultActions",
1921
+ "name": "disabled",
1514
1922
  "type": {
1515
1923
  "text": "boolean"
1516
- },
1517
- "default": "true"
1924
+ }
1518
1925
  },
1519
1926
  {
1520
1927
  "kind": "field",
1521
- "name": "autoCloseOnAction",
1928
+ "name": "inputValue",
1522
1929
  "type": {
1523
- "text": "boolean"
1930
+ "text": "string"
1524
1931
  },
1525
- "default": "true"
1932
+ "default": "''"
1526
1933
  },
1527
1934
  {
1528
1935
  "kind": "field",
1529
- "name": "classNames",
1936
+ "name": "isInterpreting",
1530
1937
  "type": {
1531
- "text": "string"
1532
- }
1938
+ "text": "boolean"
1939
+ },
1940
+ "default": "false"
1533
1941
  },
1534
1942
  {
1535
1943
  "kind": "field",
1536
- "name": "definition",
1944
+ "name": "lastValidCriteria",
1537
1945
  "type": {
1538
- "text": "any"
1539
- }
1946
+ "text": "string | null"
1947
+ },
1948
+ "default": "null"
1540
1949
  },
1541
1950
  {
1542
1951
  "kind": "field",
1543
- "name": "name",
1952
+ "name": "activeGroups",
1544
1953
  "type": {
1545
- "text": "string"
1954
+ "text": "CriteriaGroup[]"
1546
1955
  },
1547
- "default": "'Actions'"
1956
+ "default": "[]"
1548
1957
  },
1549
1958
  {
1550
1959
  "kind": "field",
1551
- "name": "open",
1960
+ "name": "showingChips",
1552
1961
  "type": {
1553
1962
  "text": "boolean"
1554
1963
  },
@@ -1556,14 +1965,15 @@
1556
1965
  },
1557
1966
  {
1558
1967
  "kind": "field",
1559
- "name": "buttonAppearance",
1968
+ "name": "fieldMetadata",
1560
1969
  "type": {
1561
- "text": "string"
1562
- }
1970
+ "text": "MetadataDetail[] | string[]"
1971
+ },
1972
+ "default": "[]"
1563
1973
  },
1564
1974
  {
1565
1975
  "kind": "field",
1566
- "name": "hideDisabled",
1976
+ "name": "isRecording",
1567
1977
  "type": {
1568
1978
  "text": "boolean"
1569
1979
  },
@@ -1571,114 +1981,125 @@
1571
1981
  },
1572
1982
  {
1573
1983
  "kind": "field",
1574
- "name": "hideMenuSingleOption",
1984
+ "name": "textAreaRef",
1575
1985
  "type": {
1576
- "text": "boolean"
1986
+ "text": "HTMLTextAreaElement"
1577
1987
  },
1578
- "default": "false"
1988
+ "privacy": "public"
1579
1989
  },
1580
1990
  {
1581
1991
  "kind": "field",
1582
- "name": "singleOption",
1992
+ "name": "stopRecording",
1583
1993
  "type": {
1584
- "text": "ActionMenuItem"
1585
- }
1994
+ "text": "(() => void) | null"
1995
+ },
1996
+ "privacy": "private",
1997
+ "default": "null"
1586
1998
  },
1587
1999
  {
1588
2000
  "kind": "field",
1589
- "name": "actionsMenu",
2001
+ "name": "speechApplyDebounceTimer",
1590
2002
  "type": {
1591
- "text": "HTMLElement"
1592
- }
2003
+ "text": "ReturnType<typeof setTimeout> | null"
2004
+ },
2005
+ "privacy": "private",
2006
+ "default": "null"
1593
2007
  },
1594
2008
  {
1595
2009
  "kind": "field",
1596
- "name": "actionsOpener",
2010
+ "name": "speechAvailable",
1597
2011
  "type": {
1598
- "text": "HTMLElement"
1599
- }
2012
+ "text": "boolean"
2013
+ },
2014
+ "readonly": true
1600
2015
  },
1601
2016
  {
1602
- "kind": "method",
1603
- "name": "updateMenuPosition",
1604
- "privacy": "private"
2017
+ "kind": "field",
2018
+ "name": "criteriaChips",
2019
+ "type": {
2020
+ "text": "CriteriaChip[]"
2021
+ },
2022
+ "readonly": true
1605
2023
  },
1606
2024
  {
1607
2025
  "kind": "method",
1608
- "name": "definitionChanged",
1609
- "privacy": "protected",
2026
+ "name": "getFieldLabel",
2027
+ "privacy": "private",
2028
+ "return": {
2029
+ "type": {
2030
+ "text": "string"
2031
+ }
2032
+ },
1610
2033
  "parameters": [
1611
2034
  {
1612
- "name": "oldValue",
1613
- "type": {
1614
- "text": "any"
1615
- }
1616
- },
1617
- {
1618
- "name": "newValue",
2035
+ "name": "fieldName",
1619
2036
  "type": {
1620
- "text": "any"
2037
+ "text": "string"
1621
2038
  }
1622
2039
  }
1623
2040
  ]
1624
2041
  },
1625
2042
  {
1626
2043
  "kind": "method",
1627
- "name": "openChanged",
1628
- "privacy": "protected"
1629
- },
1630
- {
1631
- "kind": "method",
1632
- "name": "toggleActionsMenuVisibility"
2044
+ "name": "toggleCriteriaView",
2045
+ "return": {
2046
+ "type": {
2047
+ "text": "void"
2048
+ }
2049
+ }
1633
2050
  },
1634
2051
  {
1635
2052
  "kind": "method",
1636
- "name": "onActionMenuItemClick",
2053
+ "name": "removeChip",
2054
+ "return": {
2055
+ "type": {
2056
+ "text": "void"
2057
+ }
2058
+ },
1637
2059
  "parameters": [
1638
2060
  {
1639
- "name": "callback",
2061
+ "name": "groupIndex",
1640
2062
  "type": {
1641
- "text": "(rowData) => void | any"
2063
+ "text": "number"
2064
+ }
2065
+ },
2066
+ {
2067
+ "name": "clauseIndex",
2068
+ "type": {
2069
+ "text": "number"
1642
2070
  }
1643
2071
  }
1644
2072
  ]
1645
2073
  },
1646
2074
  {
1647
- "kind": "field",
1648
- "name": "allActions",
1649
- "type": {
1650
- "text": "ActionMenuItem[]"
1651
- },
1652
- "readonly": true
2075
+ "kind": "method",
2076
+ "name": "clearChips",
2077
+ "return": {
2078
+ "type": {
2079
+ "text": "void"
2080
+ }
2081
+ }
1653
2082
  },
1654
2083
  {
1655
- "kind": "field",
1656
- "name": "rowData",
1657
- "readonly": true
2084
+ "kind": "method",
2085
+ "name": "handleSubmit"
1658
2086
  },
1659
2087
  {
1660
2088
  "kind": "method",
1661
- "name": "getLabel",
1662
- "parameters": [
1663
- {
1664
- "name": "name",
1665
- "type": {
1666
- "text": "string | ((rowData: any) => string)"
1667
- }
1668
- }
1669
- ]
2089
+ "name": "handleBlur"
1670
2090
  },
1671
2091
  {
1672
2092
  "kind": "method",
1673
- "name": "getTemplate",
1674
- "parameters": [
1675
- {
1676
- "name": "prefix",
1677
- "type": {
1678
- "text": "string"
1679
- }
1680
- }
1681
- ]
2093
+ "name": "clear"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "toggleSpeechInput"
2098
+ },
2099
+ {
2100
+ "kind": "method",
2101
+ "name": "clearSpeechApplyDebounce",
2102
+ "privacy": "private"
1682
2103
  },
1683
2104
  {
1684
2105
  "kind": "field",
@@ -1792,222 +2213,402 @@
1792
2213
  }
1793
2214
  }
1794
2215
  ],
1795
- "attributes": [
1796
- {
1797
- "name": "is-vertical",
1798
- "type": {
1799
- "text": "boolean"
1800
- },
1801
- "default": "false",
1802
- "fieldName": "isVertical"
1803
- },
1804
- {
1805
- "name": "add-default-actions",
1806
- "type": {
1807
- "text": "boolean"
1808
- },
1809
- "default": "true",
1810
- "fieldName": "addDefaultActions"
1811
- },
1812
- {
1813
- "name": "auto-close-on-action",
1814
- "type": {
1815
- "text": "boolean"
1816
- },
1817
- "default": "true",
1818
- "fieldName": "autoCloseOnAction"
1819
- },
2216
+ "events": [
1820
2217
  {
1821
- "name": "name",
1822
- "type": {
1823
- "text": "string"
1824
- },
1825
- "default": "'Actions'",
1826
- "fieldName": "name"
2218
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2219
+ "name": "criteria-changed"
1827
2220
  },
1828
2221
  {
1829
- "name": "open",
1830
- "type": {
1831
- "text": "boolean"
1832
- },
1833
- "default": "false",
1834
- "fieldName": "open"
1835
- },
2222
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2223
+ "name": "validation-errors"
2224
+ }
2225
+ ],
2226
+ "attributes": [
1836
2227
  {
1837
- "name": "buttonAppearance",
2228
+ "name": "placeholder",
1838
2229
  "type": {
1839
2230
  "text": "string"
1840
2231
  },
1841
- "fieldName": "buttonAppearance"
1842
- },
1843
- {
1844
- "name": "hide-disabled",
1845
- "type": {
1846
- "text": "boolean"
1847
- },
1848
- "default": "false",
1849
- "fieldName": "hideDisabled"
2232
+ "default": "'Describe your search criteria in natural language...'",
2233
+ "fieldName": "placeholder"
1850
2234
  },
1851
2235
  {
1852
- "name": "hide-menu-single-option",
1853
2236
  "type": {
1854
2237
  "text": "boolean"
1855
2238
  },
1856
- "default": "false",
1857
- "fieldName": "hideMenuSingleOption"
2239
+ "fieldName": "disabled"
1858
2240
  }
1859
2241
  ],
1860
2242
  "superclass": {
1861
2243
  "name": "FoundationElement",
1862
2244
  "package": "@microsoft/fast-foundation"
1863
2245
  },
1864
- "tagName": "%%prefix%%-actions-menu",
2246
+ "tagName": "%%prefix%%-ai-criteria-search",
1865
2247
  "customElement": true
1866
2248
  },
1867
2249
  {
1868
2250
  "kind": "variable",
1869
- "name": "foundationActionsMenu",
1870
- "description": "The Foundation Actions Menu",
1871
- "privacy": "public"
2251
+ "name": "foundationAiCriteriaSearchShadowOptions",
2252
+ "type": {
2253
+ "text": "ShadowRootInit"
2254
+ },
2255
+ "default": "undefined"
2256
+ },
2257
+ {
2258
+ "kind": "variable",
2259
+ "name": "defaultAiCriteriaSearchConfig",
2260
+ "type": {
2261
+ "text": "object"
2262
+ },
2263
+ "default": "{}"
2264
+ },
2265
+ {
2266
+ "kind": "variable",
2267
+ "name": "foundationAiCriteriaSearch"
1872
2268
  }
1873
2269
  ],
1874
2270
  "exports": [
1875
2271
  {
1876
2272
  "kind": "js",
1877
- "name": "ActionsMenu",
2273
+ "name": "AiCriteriaSearch",
1878
2274
  "declaration": {
1879
- "name": "ActionsMenu",
1880
- "module": "src/actions-menu/actions-menu.ts"
2275
+ "name": "AiCriteriaSearch",
2276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1881
2277
  }
1882
2278
  },
1883
2279
  {
1884
2280
  "kind": "js",
1885
- "name": "foundationActionsMenu",
2281
+ "name": "foundationAiCriteriaSearchShadowOptions",
1886
2282
  "declaration": {
1887
- "name": "foundationActionsMenu",
1888
- "module": "src/actions-menu/actions-menu.ts"
2283
+ "name": "foundationAiCriteriaSearchShadowOptions",
2284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2285
+ }
2286
+ },
2287
+ {
2288
+ "kind": "js",
2289
+ "name": "defaultAiCriteriaSearchConfig",
2290
+ "declaration": {
2291
+ "name": "defaultAiCriteriaSearchConfig",
2292
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2293
+ }
2294
+ },
2295
+ {
2296
+ "kind": "js",
2297
+ "name": "foundationAiCriteriaSearch",
2298
+ "declaration": {
2299
+ "name": "foundationAiCriteriaSearch",
2300
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1889
2301
  }
1890
2302
  }
1891
2303
  ]
1892
2304
  },
1893
2305
  {
1894
2306
  "kind": "javascript-module",
1895
- "path": "src/actions-menu/index.ts",
2307
+ "path": "src/ai-criteria-search/index.ts",
1896
2308
  "declarations": [],
1897
2309
  "exports": [
1898
2310
  {
1899
2311
  "kind": "js",
1900
- "name": "*",
2312
+ "name": "AiCriteriaSearch",
1901
2313
  "declaration": {
1902
- "name": "*",
1903
- "package": "./actions-menu.styles"
2314
+ "name": "AiCriteriaSearch",
2315
+ "module": "./ai-criteria-search"
1904
2316
  }
1905
2317
  },
1906
2318
  {
1907
2319
  "kind": "js",
1908
- "name": "*",
2320
+ "name": "defaultAiCriteriaSearchConfig",
1909
2321
  "declaration": {
1910
- "name": "*",
1911
- "package": "./actions-menu.template"
2322
+ "name": "defaultAiCriteriaSearchConfig",
2323
+ "module": "./ai-criteria-search"
1912
2324
  }
1913
2325
  },
1914
2326
  {
1915
2327
  "kind": "js",
1916
- "name": "*",
2328
+ "name": "foundationAiCriteriaSearch",
1917
2329
  "declaration": {
1918
- "name": "*",
1919
- "package": "./actions-menu"
2330
+ "name": "foundationAiCriteriaSearch",
2331
+ "module": "./ai-criteria-search"
1920
2332
  }
1921
- }
1922
- ]
1923
- },
1924
- {
1925
- "kind": "javascript-module",
1926
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1927
- "declarations": [
2333
+ },
1928
2334
  {
1929
- "kind": "variable",
1930
- "name": "foundationAiCriteriaSearchStyles",
1931
- "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`"
1932
- }
1933
- ],
1934
- "exports": [
2335
+ "kind": "js",
2336
+ "name": "foundationAiCriteriaSearchShadowOptions",
2337
+ "declaration": {
2338
+ "name": "foundationAiCriteriaSearchShadowOptions",
2339
+ "module": "./ai-criteria-search"
2340
+ }
2341
+ },
1935
2342
  {
1936
2343
  "kind": "js",
1937
2344
  "name": "foundationAiCriteriaSearchStyles",
1938
2345
  "declaration": {
1939
2346
  "name": "foundationAiCriteriaSearchStyles",
1940
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2347
+ "module": "./ai-criteria-search.styles"
1941
2348
  }
1942
- }
1943
- ]
1944
- },
1945
- {
1946
- "kind": "javascript-module",
1947
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1948
- "declarations": [
1949
- {
1950
- "kind": "variable",
1951
- "name": "foundationAiCriteriaSearchTemplate",
1952
- "type": {
1953
- "text": "ViewTemplate<AiCriteriaSearch>"
1954
- },
1955
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1956
- }
1957
- ],
1958
- "exports": [
2349
+ },
1959
2350
  {
1960
2351
  "kind": "js",
1961
2352
  "name": "foundationAiCriteriaSearchTemplate",
1962
2353
  "declaration": {
1963
2354
  "name": "foundationAiCriteriaSearchTemplate",
1964
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2355
+ "module": "./ai-criteria-search.template"
2356
+ }
2357
+ },
2358
+ {
2359
+ "kind": "js",
2360
+ "name": "*",
2361
+ "declaration": {
2362
+ "name": "*",
2363
+ "package": "./validation/criteria-ir"
2364
+ }
2365
+ },
2366
+ {
2367
+ "kind": "js",
2368
+ "name": "*",
2369
+ "declaration": {
2370
+ "name": "*",
2371
+ "package": "./validation/operator-map"
2372
+ }
2373
+ },
2374
+ {
2375
+ "kind": "js",
2376
+ "name": "*",
2377
+ "declaration": {
2378
+ "name": "*",
2379
+ "package": "./validation/schema-validator"
1965
2380
  }
1966
2381
  }
1967
2382
  ]
1968
2383
  },
1969
2384
  {
1970
2385
  "kind": "javascript-module",
1971
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2386
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
1972
2387
  "declarations": [
1973
2388
  {
1974
- "kind": "class",
1975
- "description": "Natural-language criteria search input with AI interpretation.",
1976
- "name": "AiCriteriaSearch",
1977
- "members": [
2389
+ "kind": "function",
2390
+ "name": "formatValidationErrors",
2391
+ "return": {
2392
+ "type": {
2393
+ "text": "string"
2394
+ }
2395
+ },
2396
+ "parameters": [
1978
2397
  {
1979
- "kind": "field",
1980
- "name": "providerRegistry",
2398
+ "name": "errors",
1981
2399
  "type": {
1982
- "text": "AIProviderRegistry"
2400
+ "text": "ValidationError[]"
1983
2401
  }
1984
- },
1985
- {
1986
- "kind": "field",
1987
- "name": "placeholder",
1988
- "type": {
1989
- "text": "string"
1990
- },
1991
- "default": "'Describe your search criteria in natural language...'"
1992
- },
1993
- {
1994
- "kind": "field",
1995
- "name": "disabled",
2402
+ }
2403
+ ],
2404
+ "description": "Formats validation errors into a user-friendly message."
2405
+ },
2406
+ {
2407
+ "kind": "function",
2408
+ "name": "showCriteriaError",
2409
+ "return": {
2410
+ "type": {
2411
+ "text": "void"
2412
+ }
2413
+ },
2414
+ "parameters": [
2415
+ {
2416
+ "name": "title",
1996
2417
  "type": {
1997
- "text": "boolean"
1998
- }
2418
+ "text": "string"
2419
+ },
2420
+ "description": "Notification title (e.g. \"Criteria validation error\")"
1999
2421
  },
2000
2422
  {
2001
- "kind": "field",
2002
- "name": "inputValue",
2423
+ "name": "body",
2003
2424
  "type": {
2004
2425
  "text": "string"
2005
2426
  },
2006
- "default": "''"
2427
+ "description": "Error message to display"
2428
+ },
2429
+ {
2430
+ "name": "tagName",
2431
+ "type": {
2432
+ "text": "string"
2433
+ },
2434
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2435
+ }
2436
+ ],
2437
+ "description": "Shows a criteria error as a toast notification."
2438
+ }
2439
+ ],
2440
+ "exports": [
2441
+ {
2442
+ "kind": "js",
2443
+ "name": "formatValidationErrors",
2444
+ "declaration": {
2445
+ "name": "formatValidationErrors",
2446
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2447
+ }
2448
+ },
2449
+ {
2450
+ "kind": "js",
2451
+ "name": "showCriteriaError",
2452
+ "declaration": {
2453
+ "name": "showCriteriaError",
2454
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2455
+ }
2456
+ }
2457
+ ]
2458
+ },
2459
+ {
2460
+ "kind": "javascript-module",
2461
+ "path": "src/actions-menu/actions-menu.styles.ts",
2462
+ "declarations": [
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "actionsMenuBaseStyles",
2466
+ "return": {
2467
+ "type": {
2468
+ "text": "ElementStyles"
2469
+ }
2470
+ },
2471
+ "parameters": [
2472
+ {
2473
+ "name": "context",
2474
+ "type": {
2475
+ "text": "ElementDefinitionContext"
2476
+ }
2007
2477
  },
2478
+ {
2479
+ "name": "definition",
2480
+ "type": {
2481
+ "text": "FoundationElementDefinition"
2482
+ }
2483
+ }
2484
+ ]
2485
+ },
2486
+ {
2487
+ "kind": "function",
2488
+ "name": "foundationActionsMenuStyles",
2489
+ "return": {
2490
+ "type": {
2491
+ "text": "ElementStyles"
2492
+ }
2493
+ },
2494
+ "parameters": [
2495
+ {
2496
+ "name": "context",
2497
+ "type": {
2498
+ "text": "ElementDefinitionContext"
2499
+ }
2500
+ },
2501
+ {
2502
+ "name": "definition",
2503
+ "type": {
2504
+ "text": "FoundationElementDefinition"
2505
+ }
2506
+ }
2507
+ ]
2508
+ }
2509
+ ],
2510
+ "exports": [
2511
+ {
2512
+ "kind": "js",
2513
+ "name": "actionsMenuBaseStyles",
2514
+ "declaration": {
2515
+ "name": "actionsMenuBaseStyles",
2516
+ "module": "src/actions-menu/actions-menu.styles.ts"
2517
+ }
2518
+ },
2519
+ {
2520
+ "kind": "js",
2521
+ "name": "foundationActionsMenuStyles",
2522
+ "declaration": {
2523
+ "name": "foundationActionsMenuStyles",
2524
+ "module": "src/actions-menu/actions-menu.styles.ts"
2525
+ }
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "kind": "javascript-module",
2531
+ "path": "src/actions-menu/actions-menu.template.ts",
2532
+ "declarations": [
2533
+ {
2534
+ "kind": "function",
2535
+ "name": "menuTemplate",
2536
+ "parameters": [
2537
+ {
2538
+ "name": "prefix",
2539
+ "type": {
2540
+ "text": "string"
2541
+ }
2542
+ }
2543
+ ]
2544
+ },
2545
+ {
2546
+ "kind": "function",
2547
+ "name": "singleOptionTemplate",
2548
+ "parameters": [
2549
+ {
2550
+ "name": "prefix",
2551
+ "type": {
2552
+ "text": "string"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "variable",
2559
+ "name": "foundationActionsMenuTemplate",
2560
+ "type": {
2561
+ "text": "ViewTemplate<ActionsMenu>"
2562
+ },
2563
+ "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`"
2564
+ }
2565
+ ],
2566
+ "exports": [
2567
+ {
2568
+ "kind": "js",
2569
+ "name": "menuTemplate",
2570
+ "declaration": {
2571
+ "name": "menuTemplate",
2572
+ "module": "src/actions-menu/actions-menu.template.ts"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "js",
2577
+ "name": "singleOptionTemplate",
2578
+ "declaration": {
2579
+ "name": "singleOptionTemplate",
2580
+ "module": "src/actions-menu/actions-menu.template.ts"
2581
+ }
2582
+ },
2583
+ {
2584
+ "kind": "js",
2585
+ "name": "foundationActionsMenuTemplate",
2586
+ "declaration": {
2587
+ "name": "foundationActionsMenuTemplate",
2588
+ "module": "src/actions-menu/actions-menu.template.ts"
2589
+ }
2590
+ }
2591
+ ]
2592
+ },
2593
+ {
2594
+ "kind": "javascript-module",
2595
+ "path": "src/actions-menu/actions-menu.ts",
2596
+ "declarations": [
2597
+ {
2598
+ "kind": "class",
2599
+ "description": "",
2600
+ "name": "ActionsMenu",
2601
+ "members": [
2008
2602
  {
2009
2603
  "kind": "field",
2010
- "name": "isInterpreting",
2604
+ "name": "actions",
2605
+ "type": {
2606
+ "text": "ActionMenuItem[]"
2607
+ }
2608
+ },
2609
+ {
2610
+ "kind": "field",
2611
+ "name": "isVertical",
2011
2612
  "type": {
2012
2613
  "text": "boolean"
2013
2614
  },
@@ -2015,39 +2616,45 @@
2015
2616
  },
2016
2617
  {
2017
2618
  "kind": "field",
2018
- "name": "lastValidCriteria",
2619
+ "name": "addDefaultActions",
2019
2620
  "type": {
2020
- "text": "string | null"
2621
+ "text": "boolean"
2021
2622
  },
2022
- "default": "null"
2623
+ "default": "true"
2023
2624
  },
2024
2625
  {
2025
2626
  "kind": "field",
2026
- "name": "activeGroups",
2627
+ "name": "autoCloseOnAction",
2027
2628
  "type": {
2028
- "text": "CriteriaGroup[]"
2629
+ "text": "boolean"
2029
2630
  },
2030
- "default": "[]"
2631
+ "default": "true"
2031
2632
  },
2032
2633
  {
2033
2634
  "kind": "field",
2034
- "name": "showingChips",
2635
+ "name": "classNames",
2035
2636
  "type": {
2036
- "text": "boolean"
2037
- },
2038
- "default": "false"
2637
+ "text": "string"
2638
+ }
2039
2639
  },
2040
2640
  {
2041
2641
  "kind": "field",
2042
- "name": "fieldMetadata",
2642
+ "name": "definition",
2043
2643
  "type": {
2044
- "text": "MetadataDetail[] | string[]"
2644
+ "text": "any"
2645
+ }
2646
+ },
2647
+ {
2648
+ "kind": "field",
2649
+ "name": "name",
2650
+ "type": {
2651
+ "text": "string"
2045
2652
  },
2046
- "default": "[]"
2653
+ "default": "'Actions'"
2047
2654
  },
2048
2655
  {
2049
2656
  "kind": "field",
2050
- "name": "isRecording",
2657
+ "name": "open",
2051
2658
  "type": {
2052
2659
  "text": "boolean"
2053
2660
  },
@@ -2055,125 +2662,129 @@
2055
2662
  },
2056
2663
  {
2057
2664
  "kind": "field",
2058
- "name": "textAreaRef",
2665
+ "name": "buttonAppearance",
2059
2666
  "type": {
2060
- "text": "HTMLTextAreaElement"
2061
- },
2062
- "privacy": "public"
2667
+ "text": "string"
2668
+ }
2063
2669
  },
2064
2670
  {
2065
2671
  "kind": "field",
2066
- "name": "stopRecording",
2672
+ "name": "hideDisabled",
2067
2673
  "type": {
2068
- "text": "(() => void) | null"
2674
+ "text": "boolean"
2069
2675
  },
2070
- "privacy": "private",
2071
- "default": "null"
2676
+ "default": "false"
2072
2677
  },
2073
2678
  {
2074
2679
  "kind": "field",
2075
- "name": "speechApplyDebounceTimer",
2680
+ "name": "hideMenuSingleOption",
2076
2681
  "type": {
2077
- "text": "ReturnType<typeof setTimeout> | null"
2682
+ "text": "boolean"
2078
2683
  },
2079
- "privacy": "private",
2080
- "default": "null"
2684
+ "default": "false"
2081
2685
  },
2082
2686
  {
2083
2687
  "kind": "field",
2084
- "name": "speechAvailable",
2688
+ "name": "singleOption",
2085
2689
  "type": {
2086
- "text": "boolean"
2087
- },
2088
- "readonly": true
2690
+ "text": "ActionMenuItem"
2691
+ }
2089
2692
  },
2090
2693
  {
2091
2694
  "kind": "field",
2092
- "name": "criteriaChips",
2695
+ "name": "actionsMenu",
2093
2696
  "type": {
2094
- "text": "CriteriaChip[]"
2095
- },
2096
- "readonly": true
2697
+ "text": "HTMLElement"
2698
+ }
2097
2699
  },
2098
2700
  {
2099
- "kind": "method",
2100
- "name": "getFieldLabel",
2101
- "privacy": "private",
2102
- "return": {
2103
- "type": {
2104
- "text": "string"
2105
- }
2106
- },
2107
- "parameters": [
2108
- {
2109
- "name": "fieldName",
2110
- "type": {
2111
- "text": "string"
2112
- }
2113
- }
2114
- ]
2701
+ "kind": "field",
2702
+ "name": "actionsOpener",
2703
+ "type": {
2704
+ "text": "HTMLElement"
2705
+ }
2115
2706
  },
2116
2707
  {
2117
2708
  "kind": "method",
2118
- "name": "toggleCriteriaView",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- }
2709
+ "name": "updateMenuPosition",
2710
+ "privacy": "private"
2124
2711
  },
2125
2712
  {
2126
2713
  "kind": "method",
2127
- "name": "removeChip",
2128
- "return": {
2129
- "type": {
2130
- "text": "void"
2131
- }
2132
- },
2714
+ "name": "definitionChanged",
2715
+ "privacy": "protected",
2133
2716
  "parameters": [
2134
2717
  {
2135
- "name": "groupIndex",
2718
+ "name": "oldValue",
2136
2719
  "type": {
2137
- "text": "number"
2720
+ "text": "any"
2138
2721
  }
2139
2722
  },
2140
2723
  {
2141
- "name": "clauseIndex",
2724
+ "name": "newValue",
2142
2725
  "type": {
2143
- "text": "number"
2726
+ "text": "any"
2144
2727
  }
2145
2728
  }
2146
2729
  ]
2147
2730
  },
2148
2731
  {
2149
2732
  "kind": "method",
2150
- "name": "clearChips",
2151
- "return": {
2152
- "type": {
2153
- "text": "void"
2154
- }
2155
- }
2733
+ "name": "openChanged",
2734
+ "privacy": "protected"
2156
2735
  },
2157
2736
  {
2158
2737
  "kind": "method",
2159
- "name": "handleSubmit"
2738
+ "name": "toggleActionsMenuVisibility"
2160
2739
  },
2161
2740
  {
2162
2741
  "kind": "method",
2163
- "name": "handleBlur"
2742
+ "name": "onActionMenuItemClick",
2743
+ "parameters": [
2744
+ {
2745
+ "name": "callback",
2746
+ "type": {
2747
+ "text": "(rowData) => void | any"
2748
+ }
2749
+ }
2750
+ ]
2164
2751
  },
2165
2752
  {
2166
- "kind": "method",
2167
- "name": "clear"
2753
+ "kind": "field",
2754
+ "name": "allActions",
2755
+ "type": {
2756
+ "text": "ActionMenuItem[]"
2757
+ },
2758
+ "readonly": true
2759
+ },
2760
+ {
2761
+ "kind": "field",
2762
+ "name": "rowData",
2763
+ "readonly": true
2168
2764
  },
2169
2765
  {
2170
2766
  "kind": "method",
2171
- "name": "toggleSpeechInput"
2767
+ "name": "getLabel",
2768
+ "parameters": [
2769
+ {
2770
+ "name": "name",
2771
+ "type": {
2772
+ "text": "string | ((rowData: any) => string)"
2773
+ }
2774
+ }
2775
+ ]
2172
2776
  },
2173
2777
  {
2174
2778
  "kind": "method",
2175
- "name": "clearSpeechApplyDebounce",
2176
- "privacy": "private"
2779
+ "name": "getTemplate",
2780
+ "parameters": [
2781
+ {
2782
+ "name": "prefix",
2783
+ "type": {
2784
+ "text": "string"
2785
+ }
2786
+ }
2787
+ ]
2177
2788
  },
2178
2789
  {
2179
2790
  "kind": "field",
@@ -2287,245 +2898,131 @@
2287
2898
  }
2288
2899
  }
2289
2900
  ],
2290
- "events": [
2901
+ "attributes": [
2291
2902
  {
2292
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2293
- "name": "criteria-changed"
2903
+ "name": "is-vertical",
2904
+ "type": {
2905
+ "text": "boolean"
2906
+ },
2907
+ "default": "false",
2908
+ "fieldName": "isVertical"
2294
2909
  },
2295
2910
  {
2296
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2297
- "name": "validation-errors"
2298
- }
2299
- ],
2300
- "attributes": [
2911
+ "name": "add-default-actions",
2912
+ "type": {
2913
+ "text": "boolean"
2914
+ },
2915
+ "default": "true",
2916
+ "fieldName": "addDefaultActions"
2917
+ },
2301
2918
  {
2302
- "name": "placeholder",
2919
+ "name": "auto-close-on-action",
2920
+ "type": {
2921
+ "text": "boolean"
2922
+ },
2923
+ "default": "true",
2924
+ "fieldName": "autoCloseOnAction"
2925
+ },
2926
+ {
2927
+ "name": "name",
2303
2928
  "type": {
2304
2929
  "text": "string"
2305
2930
  },
2306
- "default": "'Describe your search criteria in natural language...'",
2307
- "fieldName": "placeholder"
2931
+ "default": "'Actions'",
2932
+ "fieldName": "name"
2308
2933
  },
2309
2934
  {
2935
+ "name": "open",
2310
2936
  "type": {
2311
2937
  "text": "boolean"
2312
2938
  },
2313
- "fieldName": "disabled"
2939
+ "default": "false",
2940
+ "fieldName": "open"
2941
+ },
2942
+ {
2943
+ "name": "buttonAppearance",
2944
+ "type": {
2945
+ "text": "string"
2946
+ },
2947
+ "fieldName": "buttonAppearance"
2948
+ },
2949
+ {
2950
+ "name": "hide-disabled",
2951
+ "type": {
2952
+ "text": "boolean"
2953
+ },
2954
+ "default": "false",
2955
+ "fieldName": "hideDisabled"
2956
+ },
2957
+ {
2958
+ "name": "hide-menu-single-option",
2959
+ "type": {
2960
+ "text": "boolean"
2961
+ },
2962
+ "default": "false",
2963
+ "fieldName": "hideMenuSingleOption"
2314
2964
  }
2315
2965
  ],
2316
2966
  "superclass": {
2317
2967
  "name": "FoundationElement",
2318
2968
  "package": "@microsoft/fast-foundation"
2319
2969
  },
2320
- "tagName": "%%prefix%%-ai-criteria-search",
2970
+ "tagName": "%%prefix%%-actions-menu",
2321
2971
  "customElement": true
2322
2972
  },
2323
2973
  {
2324
2974
  "kind": "variable",
2325
- "name": "foundationAiCriteriaSearchShadowOptions",
2326
- "type": {
2327
- "text": "ShadowRootInit"
2328
- },
2329
- "default": "undefined"
2330
- },
2331
- {
2332
- "kind": "variable",
2333
- "name": "defaultAiCriteriaSearchConfig",
2334
- "type": {
2335
- "text": "object"
2336
- },
2337
- "default": "{}"
2338
- },
2339
- {
2340
- "kind": "variable",
2341
- "name": "foundationAiCriteriaSearch"
2975
+ "name": "foundationActionsMenu",
2976
+ "description": "The Foundation Actions Menu",
2977
+ "privacy": "public"
2342
2978
  }
2343
2979
  ],
2344
2980
  "exports": [
2345
2981
  {
2346
2982
  "kind": "js",
2347
- "name": "AiCriteriaSearch",
2348
- "declaration": {
2349
- "name": "AiCriteriaSearch",
2350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2351
- }
2352
- },
2353
- {
2354
- "kind": "js",
2355
- "name": "foundationAiCriteriaSearchShadowOptions",
2356
- "declaration": {
2357
- "name": "foundationAiCriteriaSearchShadowOptions",
2358
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2359
- }
2360
- },
2361
- {
2362
- "kind": "js",
2363
- "name": "defaultAiCriteriaSearchConfig",
2983
+ "name": "ActionsMenu",
2364
2984
  "declaration": {
2365
- "name": "defaultAiCriteriaSearchConfig",
2366
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2985
+ "name": "ActionsMenu",
2986
+ "module": "src/actions-menu/actions-menu.ts"
2367
2987
  }
2368
2988
  },
2369
2989
  {
2370
2990
  "kind": "js",
2371
- "name": "foundationAiCriteriaSearch",
2991
+ "name": "foundationActionsMenu",
2372
2992
  "declaration": {
2373
- "name": "foundationAiCriteriaSearch",
2374
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2993
+ "name": "foundationActionsMenu",
2994
+ "module": "src/actions-menu/actions-menu.ts"
2375
2995
  }
2376
2996
  }
2377
2997
  ]
2378
2998
  },
2379
2999
  {
2380
3000
  "kind": "javascript-module",
2381
- "path": "src/ai-criteria-search/index.ts",
3001
+ "path": "src/actions-menu/index.ts",
2382
3002
  "declarations": [],
2383
3003
  "exports": [
2384
- {
2385
- "kind": "js",
2386
- "name": "AiCriteriaSearch",
2387
- "declaration": {
2388
- "name": "AiCriteriaSearch",
2389
- "module": "./ai-criteria-search"
2390
- }
2391
- },
2392
- {
2393
- "kind": "js",
2394
- "name": "defaultAiCriteriaSearchConfig",
2395
- "declaration": {
2396
- "name": "defaultAiCriteriaSearchConfig",
2397
- "module": "./ai-criteria-search"
2398
- }
2399
- },
2400
- {
2401
- "kind": "js",
2402
- "name": "foundationAiCriteriaSearch",
2403
- "declaration": {
2404
- "name": "foundationAiCriteriaSearch",
2405
- "module": "./ai-criteria-search"
2406
- }
2407
- },
2408
- {
2409
- "kind": "js",
2410
- "name": "foundationAiCriteriaSearchShadowOptions",
2411
- "declaration": {
2412
- "name": "foundationAiCriteriaSearchShadowOptions",
2413
- "module": "./ai-criteria-search"
2414
- }
2415
- },
2416
- {
2417
- "kind": "js",
2418
- "name": "foundationAiCriteriaSearchStyles",
2419
- "declaration": {
2420
- "name": "foundationAiCriteriaSearchStyles",
2421
- "module": "./ai-criteria-search.styles"
2422
- }
2423
- },
2424
- {
2425
- "kind": "js",
2426
- "name": "foundationAiCriteriaSearchTemplate",
2427
- "declaration": {
2428
- "name": "foundationAiCriteriaSearchTemplate",
2429
- "module": "./ai-criteria-search.template"
2430
- }
2431
- },
2432
- {
2433
- "kind": "js",
2434
- "name": "*",
2435
- "declaration": {
2436
- "name": "*",
2437
- "package": "./validation/criteria-ir"
2438
- }
2439
- },
2440
- {
2441
- "kind": "js",
2442
- "name": "*",
2443
- "declaration": {
2444
- "name": "*",
2445
- "package": "./validation/operator-map"
2446
- }
2447
- },
2448
3004
  {
2449
3005
  "kind": "js",
2450
3006
  "name": "*",
2451
3007
  "declaration": {
2452
3008
  "name": "*",
2453
- "package": "./validation/schema-validator"
2454
- }
2455
- }
2456
- ]
2457
- },
2458
- {
2459
- "kind": "javascript-module",
2460
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2461
- "declarations": [
2462
- {
2463
- "kind": "function",
2464
- "name": "formatValidationErrors",
2465
- "return": {
2466
- "type": {
2467
- "text": "string"
2468
- }
2469
- },
2470
- "parameters": [
2471
- {
2472
- "name": "errors",
2473
- "type": {
2474
- "text": "ValidationError[]"
2475
- }
2476
- }
2477
- ],
2478
- "description": "Formats validation errors into a user-friendly message."
2479
- },
2480
- {
2481
- "kind": "function",
2482
- "name": "showCriteriaError",
2483
- "return": {
2484
- "type": {
2485
- "text": "void"
2486
- }
2487
- },
2488
- "parameters": [
2489
- {
2490
- "name": "title",
2491
- "type": {
2492
- "text": "string"
2493
- },
2494
- "description": "Notification title (e.g. \"Criteria validation error\")"
2495
- },
2496
- {
2497
- "name": "body",
2498
- "type": {
2499
- "text": "string"
2500
- },
2501
- "description": "Error message to display"
2502
- },
2503
- {
2504
- "name": "tagName",
2505
- "type": {
2506
- "text": "string"
2507
- },
2508
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2509
- }
2510
- ],
2511
- "description": "Shows a criteria error as a toast notification."
2512
- }
2513
- ],
2514
- "exports": [
3009
+ "package": "./actions-menu.styles"
3010
+ }
3011
+ },
2515
3012
  {
2516
3013
  "kind": "js",
2517
- "name": "formatValidationErrors",
3014
+ "name": "*",
2518
3015
  "declaration": {
2519
- "name": "formatValidationErrors",
2520
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3016
+ "name": "*",
3017
+ "package": "./actions-menu.template"
2521
3018
  }
2522
3019
  },
2523
3020
  {
2524
3021
  "kind": "js",
2525
- "name": "showCriteriaError",
3022
+ "name": "*",
2526
3023
  "declaration": {
2527
- "name": "showCriteriaError",
2528
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3024
+ "name": "*",
3025
+ "package": "./actions-menu"
2529
3026
  }
2530
3027
  }
2531
3028
  ]
@@ -2979,503 +3476,6 @@
2979
3476
  }
2980
3477
  ]
2981
3478
  },
2982
- {
2983
- "kind": "javascript-module",
2984
- "path": "src/_common/affix-mixin.ts",
2985
- "declarations": [
2986
- {
2987
- "kind": "mixin",
2988
- "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.",
2989
- "name": "AffixMixin",
2990
- "members": [
2991
- {
2992
- "kind": "field",
2993
- "name": "prefix",
2994
- "type": {
2995
- "text": "string"
2996
- },
2997
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2998
- },
2999
- {
3000
- "kind": "field",
3001
- "name": "suffix",
3002
- "type": {
3003
- "text": "string"
3004
- },
3005
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
3006
- },
3007
- {
3008
- "kind": "field",
3009
- "name": "hideAffixFromScreenReader",
3010
- "type": {
3011
- "text": "boolean"
3012
- },
3013
- "default": "false",
3014
- "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."
3015
- }
3016
- ],
3017
- "parameters": [
3018
- {
3019
- "name": "Base",
3020
- "type": {
3021
- "text": "TBase"
3022
- }
3023
- }
3024
- ]
3025
- }
3026
- ],
3027
- "exports": [
3028
- {
3029
- "kind": "js",
3030
- "name": "AffixMixin",
3031
- "declaration": {
3032
- "name": "AffixMixin",
3033
- "module": "src/_common/affix-mixin.ts"
3034
- }
3035
- }
3036
- ]
3037
- },
3038
- {
3039
- "kind": "javascript-module",
3040
- "path": "src/_common/base-file-component.ts",
3041
- "declarations": [
3042
- {
3043
- "kind": "class",
3044
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3045
- "name": "BaseFileComponent",
3046
- "members": [
3047
- {
3048
- "kind": "field",
3049
- "name": "fileInput",
3050
- "type": {
3051
- "text": "HTMLInputElement"
3052
- },
3053
- "privacy": "public"
3054
- },
3055
- {
3056
- "kind": "field",
3057
- "name": "selectedFile",
3058
- "type": {
3059
- "text": "File | null"
3060
- },
3061
- "privacy": "protected",
3062
- "default": "null"
3063
- },
3064
- {
3065
- "kind": "field",
3066
- "name": "label",
3067
- "type": {
3068
- "text": "string"
3069
- }
3070
- },
3071
- {
3072
- "kind": "field",
3073
- "name": "accept",
3074
- "type": {
3075
- "text": "string"
3076
- },
3077
- "default": "''"
3078
- },
3079
- {
3080
- "kind": "field",
3081
- "name": "fileSizeLimitBytes",
3082
- "default": "10_485_760",
3083
- "type": {
3084
- "text": "number"
3085
- }
3086
- },
3087
- {
3088
- "kind": "field",
3089
- "name": "fileName",
3090
- "type": {
3091
- "text": "string"
3092
- },
3093
- "default": "''"
3094
- },
3095
- {
3096
- "kind": "field",
3097
- "name": "isProcessing",
3098
- "type": {
3099
- "text": "boolean"
3100
- },
3101
- "default": "false"
3102
- },
3103
- {
3104
- "kind": "method",
3105
- "name": "handleClick",
3106
- "privacy": "public",
3107
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3108
- },
3109
- {
3110
- "kind": "method",
3111
- "name": "onInputChange",
3112
- "privacy": "public",
3113
- "parameters": [
3114
- {
3115
- "name": "e",
3116
- "type": {
3117
- "text": "Event"
3118
- },
3119
- "description": "The change event from the file input"
3120
- }
3121
- ],
3122
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3123
- },
3124
- {
3125
- "kind": "method",
3126
- "name": "clearSelection",
3127
- "privacy": "public",
3128
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3129
- },
3130
- {
3131
- "kind": "method",
3132
- "name": "getSelectedFile",
3133
- "privacy": "public",
3134
- "description": "Gets the currently selected file object",
3135
- "return": {
3136
- "type": {
3137
- "text": ""
3138
- }
3139
- }
3140
- },
3141
- {
3142
- "kind": "method",
3143
- "name": "showError",
3144
- "privacy": "protected",
3145
- "parameters": [
3146
- {
3147
- "name": "title",
3148
- "type": {
3149
- "text": "string"
3150
- },
3151
- "description": "The error title"
3152
- },
3153
- {
3154
- "name": "message",
3155
- "type": {
3156
- "text": "string"
3157
- },
3158
- "description": "The error message"
3159
- }
3160
- ],
3161
- "description": "Shows an error notification using the unified error handling system"
3162
- },
3163
- {
3164
- "kind": "method",
3165
- "name": "onFileSelected",
3166
- "privacy": "protected",
3167
- "return": {
3168
- "type": {
3169
- "text": "void"
3170
- }
3171
- },
3172
- "parameters": [
3173
- {
3174
- "name": "files",
3175
- "type": {
3176
- "text": "File[]"
3177
- },
3178
- "description": "The selected file"
3179
- }
3180
- ],
3181
- "description": "Abstract method called when a file is selected"
3182
- },
3183
- {
3184
- "kind": "method",
3185
- "name": "onFileCleared",
3186
- "privacy": "protected",
3187
- "return": {
3188
- "type": {
3189
- "text": "void"
3190
- }
3191
- },
3192
- "description": "Abstract method called when file selection is cleared"
3193
- },
3194
- {
3195
- "kind": "field",
3196
- "name": "_presentation",
3197
- "type": {
3198
- "text": "ComponentPresentation | null | undefined"
3199
- },
3200
- "privacy": "private",
3201
- "default": "void 0",
3202
- "inheritedFrom": {
3203
- "name": "FoundationElement",
3204
- "module": "src/foundation-element/foundation-element.ts"
3205
- }
3206
- },
3207
- {
3208
- "kind": "field",
3209
- "name": "$presentation",
3210
- "type": {
3211
- "text": "ComponentPresentation | null"
3212
- },
3213
- "privacy": "public",
3214
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3215
- "inheritedFrom": {
3216
- "name": "FoundationElement",
3217
- "module": "src/foundation-element/foundation-element.ts"
3218
- }
3219
- },
3220
- {
3221
- "kind": "field",
3222
- "name": "template",
3223
- "type": {
3224
- "text": "ElementViewTemplate | void | null"
3225
- },
3226
- "privacy": "public",
3227
- "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.",
3228
- "inheritedFrom": {
3229
- "name": "FoundationElement",
3230
- "module": "src/foundation-element/foundation-element.ts"
3231
- }
3232
- },
3233
- {
3234
- "kind": "method",
3235
- "name": "templateChanged",
3236
- "privacy": "protected",
3237
- "return": {
3238
- "type": {
3239
- "text": "void"
3240
- }
3241
- },
3242
- "inheritedFrom": {
3243
- "name": "FoundationElement",
3244
- "module": "src/foundation-element/foundation-element.ts"
3245
- }
3246
- },
3247
- {
3248
- "kind": "field",
3249
- "name": "styles",
3250
- "type": {
3251
- "text": "ElementStyles | void | null"
3252
- },
3253
- "privacy": "public",
3254
- "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.",
3255
- "inheritedFrom": {
3256
- "name": "FoundationElement",
3257
- "module": "src/foundation-element/foundation-element.ts"
3258
- }
3259
- },
3260
- {
3261
- "kind": "method",
3262
- "name": "stylesChanged",
3263
- "privacy": "protected",
3264
- "return": {
3265
- "type": {
3266
- "text": "void"
3267
- }
3268
- },
3269
- "inheritedFrom": {
3270
- "name": "FoundationElement",
3271
- "module": "src/foundation-element/foundation-element.ts"
3272
- }
3273
- },
3274
- {
3275
- "kind": "method",
3276
- "name": "compose",
3277
- "privacy": "public",
3278
- "static": true,
3279
- "return": {
3280
- "type": {
3281
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3282
- }
3283
- },
3284
- "parameters": [
3285
- {
3286
- "name": "this",
3287
- "type": {
3288
- "text": "K"
3289
- }
3290
- },
3291
- {
3292
- "name": "elementDefinition",
3293
- "type": {
3294
- "text": "T"
3295
- },
3296
- "description": "The definition of the element to create the registry\nfunction for."
3297
- }
3298
- ],
3299
- "description": "Defines an element registry function with a set of element definition defaults.",
3300
- "inheritedFrom": {
3301
- "name": "FoundationElement",
3302
- "module": "src/foundation-element/foundation-element.ts"
3303
- }
3304
- }
3305
- ],
3306
- "events": [
3307
- {
3308
- "description": "Fired when file size validation fails. detail: `Error`",
3309
- "name": "error"
3310
- },
3311
- {
3312
- "description": "Fired when selection is cleared",
3313
- "name": "clear"
3314
- }
3315
- ],
3316
- "attributes": [
3317
- {
3318
- "name": "label",
3319
- "type": {
3320
- "text": "string"
3321
- },
3322
- "fieldName": "label"
3323
- },
3324
- {
3325
- "name": "accept",
3326
- "type": {
3327
- "text": "string"
3328
- },
3329
- "default": "''",
3330
- "fieldName": "accept"
3331
- },
3332
- {
3333
- "name": "file-size-limit-bytes",
3334
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3335
- "resolveInitializer": {
3336
- "module": "src/_common/base-file-component.ts"
3337
- },
3338
- "fieldName": "fileSizeLimitBytes"
3339
- }
3340
- ],
3341
- "superclass": {
3342
- "name": "FoundationElement",
3343
- "package": "@microsoft/fast-foundation"
3344
- }
3345
- }
3346
- ],
3347
- "exports": [
3348
- {
3349
- "kind": "js",
3350
- "name": "BaseFileComponent",
3351
- "declaration": {
3352
- "name": "BaseFileComponent",
3353
- "module": "src/_common/base-file-component.ts"
3354
- }
3355
- }
3356
- ]
3357
- },
3358
- {
3359
- "kind": "javascript-module",
3360
- "path": "src/_common/field-styles.ts",
3361
- "declarations": [
3362
- {
3363
- "kind": "variable",
3364
- "name": "sharedFieldStyles",
3365
- "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`"
3366
- }
3367
- ],
3368
- "exports": [
3369
- {
3370
- "kind": "js",
3371
- "name": "sharedFieldStyles",
3372
- "declaration": {
3373
- "name": "sharedFieldStyles",
3374
- "module": "src/_common/field-styles.ts"
3375
- }
3376
- }
3377
- ]
3378
- },
3379
- {
3380
- "kind": "javascript-module",
3381
- "path": "src/_common/icons.ts",
3382
- "declarations": [
3383
- {
3384
- "kind": "function",
3385
- "name": "closeIcon",
3386
- "parameters": [
3387
- {
3388
- "name": "slot",
3389
- "default": "'start'"
3390
- },
3391
- {
3392
- "name": "fill",
3393
- "default": "'#879ba6'"
3394
- }
3395
- ]
3396
- }
3397
- ],
3398
- "exports": [
3399
- {
3400
- "kind": "js",
3401
- "name": "closeIcon",
3402
- "declaration": {
3403
- "name": "closeIcon",
3404
- "module": "src/_common/icons.ts"
3405
- }
3406
- }
3407
- ]
3408
- },
3409
- {
3410
- "kind": "javascript-module",
3411
- "path": "src/_common/index.ts",
3412
- "declarations": [],
3413
- "exports": [
3414
- {
3415
- "kind": "js",
3416
- "name": "*",
3417
- "declaration": {
3418
- "name": "*",
3419
- "package": "./affix-mixin"
3420
- }
3421
- },
3422
- {
3423
- "kind": "js",
3424
- "name": "*",
3425
- "declaration": {
3426
- "name": "*",
3427
- "package": "./base-file-component"
3428
- }
3429
- },
3430
- {
3431
- "kind": "js",
3432
- "name": "*",
3433
- "declaration": {
3434
- "name": "*",
3435
- "package": "./field-styles"
3436
- }
3437
- },
3438
- {
3439
- "kind": "js",
3440
- "name": "*",
3441
- "declaration": {
3442
- "name": "*",
3443
- "package": "./icons"
3444
- }
3445
- }
3446
- ]
3447
- },
3448
- {
3449
- "kind": "javascript-module",
3450
- "path": "src/_config/index.ts",
3451
- "declarations": [],
3452
- "exports": [
3453
- {
3454
- "kind": "js",
3455
- "name": "*",
3456
- "declaration": {
3457
- "name": "*",
3458
- "package": "./styles"
3459
- }
3460
- },
3461
- {
3462
- "kind": "js",
3463
- "name": "*",
3464
- "declaration": {
3465
- "name": "*",
3466
- "package": "./tokens"
3467
- }
3468
- },
3469
- {
3470
- "kind": "js",
3471
- "name": "*",
3472
- "declaration": {
3473
- "name": "*",
3474
- "package": "./values"
3475
- }
3476
- }
3477
- ]
3478
- },
3479
3479
  {
3480
3480
  "kind": "javascript-module",
3481
3481
  "path": "src/accordion/accordion.styles.ts",
@@ -59984,197 +59984,6 @@
59984
59984
  }
59985
59985
  ]
59986
59986
  },
59987
- {
59988
- "kind": "javascript-module",
59989
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59990
- "declarations": [],
59991
- "exports": []
59992
- },
59993
- {
59994
- "kind": "javascript-module",
59995
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59996
- "declarations": [
59997
- {
59998
- "kind": "function",
59999
- "name": "groupsToCriteria",
60000
- "return": {
60001
- "type": {
60002
- "text": "string"
60003
- }
60004
- },
60005
- "parameters": [
60006
- {
60007
- "name": "groups",
60008
- "type": {
60009
- "text": "CriteriaGroup[]"
60010
- }
60011
- }
60012
- ],
60013
- "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."
60014
- },
60015
- {
60016
- "kind": "variable",
60017
- "name": "STRING_OPERATORS",
60018
- "type": {
60019
- "text": "CriteriaOperator[]"
60020
- },
60021
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60022
- },
60023
- {
60024
- "kind": "variable",
60025
- "name": "NUMERIC_OPERATORS",
60026
- "type": {
60027
- "text": "CriteriaOperator[]"
60028
- },
60029
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60030
- },
60031
- {
60032
- "kind": "variable",
60033
- "name": "DATE_OPERATORS",
60034
- "type": {
60035
- "text": "CriteriaOperator[]"
60036
- },
60037
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60038
- },
60039
- {
60040
- "kind": "variable",
60041
- "name": "DATETIME_OPERATORS",
60042
- "type": {
60043
- "text": "CriteriaOperator[]"
60044
- },
60045
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60046
- },
60047
- {
60048
- "kind": "variable",
60049
- "name": "OPERATOR_DISPLAY_LABEL",
60050
- "type": {
60051
- "text": "Record<CriteriaOperator, string>"
60052
- },
60053
- "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}"
60054
- }
60055
- ],
60056
- "exports": [
60057
- {
60058
- "kind": "js",
60059
- "name": "groupsToCriteria",
60060
- "declaration": {
60061
- "name": "groupsToCriteria",
60062
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60063
- }
60064
- },
60065
- {
60066
- "kind": "js",
60067
- "name": "STRING_OPERATORS",
60068
- "declaration": {
60069
- "name": "STRING_OPERATORS",
60070
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60071
- }
60072
- },
60073
- {
60074
- "kind": "js",
60075
- "name": "NUMERIC_OPERATORS",
60076
- "declaration": {
60077
- "name": "NUMERIC_OPERATORS",
60078
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60079
- }
60080
- },
60081
- {
60082
- "kind": "js",
60083
- "name": "DATE_OPERATORS",
60084
- "declaration": {
60085
- "name": "DATE_OPERATORS",
60086
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60087
- }
60088
- },
60089
- {
60090
- "kind": "js",
60091
- "name": "DATETIME_OPERATORS",
60092
- "declaration": {
60093
- "name": "DATETIME_OPERATORS",
60094
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60095
- }
60096
- },
60097
- {
60098
- "kind": "js",
60099
- "name": "OPERATOR_DISPLAY_LABEL",
60100
- "declaration": {
60101
- "name": "OPERATOR_DISPLAY_LABEL",
60102
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60103
- }
60104
- }
60105
- ]
60106
- },
60107
- {
60108
- "kind": "javascript-module",
60109
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60110
- "declarations": [
60111
- {
60112
- "kind": "function",
60113
- "name": "validateClauses",
60114
- "return": {
60115
- "type": {
60116
- "text": "ValidationResult"
60117
- }
60118
- },
60119
- "parameters": [
60120
- {
60121
- "name": "clauses",
60122
- "type": {
60123
- "text": "CriteriaClause[]"
60124
- }
60125
- },
60126
- {
60127
- "name": "fieldMetadata",
60128
- "type": {
60129
- "text": "MetadataDetail[] | string[]"
60130
- }
60131
- }
60132
- ]
60133
- },
60134
- {
60135
- "kind": "function",
60136
- "name": "validateGroups",
60137
- "return": {
60138
- "type": {
60139
- "text": "GroupsValidationResult"
60140
- }
60141
- },
60142
- "parameters": [
60143
- {
60144
- "name": "groups",
60145
- "type": {
60146
- "text": "CriteriaGroup[]"
60147
- }
60148
- },
60149
- {
60150
- "name": "fieldMetadata",
60151
- "type": {
60152
- "text": "MetadataDetail[] | string[]"
60153
- }
60154
- }
60155
- ],
60156
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60157
- }
60158
- ],
60159
- "exports": [
60160
- {
60161
- "kind": "js",
60162
- "name": "validateClauses",
60163
- "declaration": {
60164
- "name": "validateClauses",
60165
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60166
- }
60167
- },
60168
- {
60169
- "kind": "js",
60170
- "name": "validateGroups",
60171
- "declaration": {
60172
- "name": "validateGroups",
60173
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60174
- }
60175
- }
60176
- ]
60177
- },
60178
59987
  {
60179
59988
  "kind": "javascript-module",
60180
59989
  "path": "src/_config/styles/colors.ts",
@@ -61547,6 +61356,197 @@
61547
61356
  "declarations": [],
61548
61357
  "exports": []
61549
61358
  },
61359
+ {
61360
+ "kind": "javascript-module",
61361
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61362
+ "declarations": [],
61363
+ "exports": []
61364
+ },
61365
+ {
61366
+ "kind": "javascript-module",
61367
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61368
+ "declarations": [
61369
+ {
61370
+ "kind": "function",
61371
+ "name": "groupsToCriteria",
61372
+ "return": {
61373
+ "type": {
61374
+ "text": "string"
61375
+ }
61376
+ },
61377
+ "parameters": [
61378
+ {
61379
+ "name": "groups",
61380
+ "type": {
61381
+ "text": "CriteriaGroup[]"
61382
+ }
61383
+ }
61384
+ ],
61385
+ "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."
61386
+ },
61387
+ {
61388
+ "kind": "variable",
61389
+ "name": "STRING_OPERATORS",
61390
+ "type": {
61391
+ "text": "CriteriaOperator[]"
61392
+ },
61393
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61394
+ },
61395
+ {
61396
+ "kind": "variable",
61397
+ "name": "NUMERIC_OPERATORS",
61398
+ "type": {
61399
+ "text": "CriteriaOperator[]"
61400
+ },
61401
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61402
+ },
61403
+ {
61404
+ "kind": "variable",
61405
+ "name": "DATE_OPERATORS",
61406
+ "type": {
61407
+ "text": "CriteriaOperator[]"
61408
+ },
61409
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61410
+ },
61411
+ {
61412
+ "kind": "variable",
61413
+ "name": "DATETIME_OPERATORS",
61414
+ "type": {
61415
+ "text": "CriteriaOperator[]"
61416
+ },
61417
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61418
+ },
61419
+ {
61420
+ "kind": "variable",
61421
+ "name": "OPERATOR_DISPLAY_LABEL",
61422
+ "type": {
61423
+ "text": "Record<CriteriaOperator, string>"
61424
+ },
61425
+ "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}"
61426
+ }
61427
+ ],
61428
+ "exports": [
61429
+ {
61430
+ "kind": "js",
61431
+ "name": "groupsToCriteria",
61432
+ "declaration": {
61433
+ "name": "groupsToCriteria",
61434
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61435
+ }
61436
+ },
61437
+ {
61438
+ "kind": "js",
61439
+ "name": "STRING_OPERATORS",
61440
+ "declaration": {
61441
+ "name": "STRING_OPERATORS",
61442
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61443
+ }
61444
+ },
61445
+ {
61446
+ "kind": "js",
61447
+ "name": "NUMERIC_OPERATORS",
61448
+ "declaration": {
61449
+ "name": "NUMERIC_OPERATORS",
61450
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61451
+ }
61452
+ },
61453
+ {
61454
+ "kind": "js",
61455
+ "name": "DATE_OPERATORS",
61456
+ "declaration": {
61457
+ "name": "DATE_OPERATORS",
61458
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61459
+ }
61460
+ },
61461
+ {
61462
+ "kind": "js",
61463
+ "name": "DATETIME_OPERATORS",
61464
+ "declaration": {
61465
+ "name": "DATETIME_OPERATORS",
61466
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61467
+ }
61468
+ },
61469
+ {
61470
+ "kind": "js",
61471
+ "name": "OPERATOR_DISPLAY_LABEL",
61472
+ "declaration": {
61473
+ "name": "OPERATOR_DISPLAY_LABEL",
61474
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61475
+ }
61476
+ }
61477
+ ]
61478
+ },
61479
+ {
61480
+ "kind": "javascript-module",
61481
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61482
+ "declarations": [
61483
+ {
61484
+ "kind": "function",
61485
+ "name": "validateClauses",
61486
+ "return": {
61487
+ "type": {
61488
+ "text": "ValidationResult"
61489
+ }
61490
+ },
61491
+ "parameters": [
61492
+ {
61493
+ "name": "clauses",
61494
+ "type": {
61495
+ "text": "CriteriaClause[]"
61496
+ }
61497
+ },
61498
+ {
61499
+ "name": "fieldMetadata",
61500
+ "type": {
61501
+ "text": "MetadataDetail[] | string[]"
61502
+ }
61503
+ }
61504
+ ]
61505
+ },
61506
+ {
61507
+ "kind": "function",
61508
+ "name": "validateGroups",
61509
+ "return": {
61510
+ "type": {
61511
+ "text": "GroupsValidationResult"
61512
+ }
61513
+ },
61514
+ "parameters": [
61515
+ {
61516
+ "name": "groups",
61517
+ "type": {
61518
+ "text": "CriteriaGroup[]"
61519
+ }
61520
+ },
61521
+ {
61522
+ "name": "fieldMetadata",
61523
+ "type": {
61524
+ "text": "MetadataDetail[] | string[]"
61525
+ }
61526
+ }
61527
+ ],
61528
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61529
+ }
61530
+ ],
61531
+ "exports": [
61532
+ {
61533
+ "kind": "js",
61534
+ "name": "validateClauses",
61535
+ "declaration": {
61536
+ "name": "validateClauses",
61537
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61538
+ }
61539
+ },
61540
+ {
61541
+ "kind": "js",
61542
+ "name": "validateGroups",
61543
+ "declaration": {
61544
+ "name": "validateGroups",
61545
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61546
+ }
61547
+ }
61548
+ ]
61549
+ },
61550
61550
  {
61551
61551
  "kind": "javascript-module",
61552
61552
  "path": "src/environment-indicator/utils/configure.ts",