@genesislcap/foundation-ui 15.23.0 → 15.23.1-alpha-fe16d278a.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,543 @@
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/alert-flash-clock.ts",
1018
+ "declarations": [
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "alertFlashPhaseProperty",
1022
+ "type": {
1023
+ "text": "string"
1024
+ },
1025
+ "default": "'--alert-flash-t'",
1026
+ "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "alertFlashDurationProperty",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'--alert-flash-duration'",
1036
+ "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
1037
+ "privacy": "public"
1038
+ },
1039
+ {
1040
+ "kind": "function",
1041
+ "name": "installAlertFlashClock",
1042
+ "return": {
1043
+ "type": {
1044
+ "text": "void"
1045
+ }
1046
+ },
1047
+ "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
1048
+ "privacy": "public"
1049
+ }
1050
+ ],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "alertFlashPhaseProperty",
1055
+ "declaration": {
1056
+ "name": "alertFlashPhaseProperty",
1057
+ "module": "src/_common/alert-flash-clock.ts"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "alertFlashDurationProperty",
1063
+ "declaration": {
1064
+ "name": "alertFlashDurationProperty",
1065
+ "module": "src/_common/alert-flash-clock.ts"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "installAlertFlashClock",
1071
+ "declaration": {
1072
+ "name": "installAlertFlashClock",
1073
+ "module": "src/_common/alert-flash-clock.ts"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1078
+ {
1079
+ "kind": "javascript-module",
1080
+ "path": "src/_common/base-file-component.ts",
1081
+ "declarations": [
1082
+ {
1083
+ "kind": "class",
1084
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1085
+ "name": "BaseFileComponent",
1086
+ "members": [
1087
+ {
1088
+ "kind": "field",
1089
+ "name": "fileInput",
1090
+ "type": {
1091
+ "text": "HTMLInputElement"
1092
+ },
1093
+ "privacy": "public"
1094
+ },
1095
+ {
1096
+ "kind": "field",
1097
+ "name": "selectedFile",
1098
+ "type": {
1099
+ "text": "File | null"
1100
+ },
1101
+ "privacy": "protected",
1102
+ "default": "null"
1103
+ },
1104
+ {
1105
+ "kind": "field",
1106
+ "name": "label",
1107
+ "type": {
1108
+ "text": "string"
1109
+ }
1110
+ },
1111
+ {
1112
+ "kind": "field",
1113
+ "name": "accept",
1114
+ "type": {
1115
+ "text": "string"
1116
+ },
1117
+ "default": "''"
1118
+ },
1119
+ {
1120
+ "kind": "field",
1121
+ "name": "fileSizeLimitBytes",
1122
+ "default": "10_485_760",
1123
+ "type": {
1124
+ "text": "number"
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "field",
1129
+ "name": "fileName",
1130
+ "type": {
1131
+ "text": "string"
1132
+ },
1133
+ "default": "''"
1134
+ },
1135
+ {
1136
+ "kind": "field",
1137
+ "name": "isProcessing",
1138
+ "type": {
1139
+ "text": "boolean"
1140
+ },
1141
+ "default": "false"
1142
+ },
1143
+ {
1144
+ "kind": "method",
1145
+ "name": "handleClick",
1146
+ "privacy": "public",
1147
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1148
+ },
1149
+ {
1150
+ "kind": "method",
1151
+ "name": "onInputChange",
1152
+ "privacy": "public",
1153
+ "parameters": [
1154
+ {
1155
+ "name": "e",
1156
+ "type": {
1157
+ "text": "Event"
1158
+ },
1159
+ "description": "The change event from the file input"
1160
+ }
1161
+ ],
1162
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1163
+ },
1164
+ {
1165
+ "kind": "method",
1166
+ "name": "clearSelection",
1167
+ "privacy": "public",
1168
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1169
+ },
1170
+ {
1171
+ "kind": "method",
1172
+ "name": "getSelectedFile",
1173
+ "privacy": "public",
1174
+ "description": "Gets the currently selected file object",
1175
+ "return": {
1176
+ "type": {
1177
+ "text": ""
1178
+ }
1179
+ }
1180
+ },
1181
+ {
1182
+ "kind": "method",
1183
+ "name": "showError",
1184
+ "privacy": "protected",
1185
+ "parameters": [
1186
+ {
1187
+ "name": "title",
1188
+ "type": {
1189
+ "text": "string"
1190
+ },
1191
+ "description": "The error title"
1192
+ },
1193
+ {
1194
+ "name": "message",
1195
+ "type": {
1196
+ "text": "string"
1197
+ },
1198
+ "description": "The error message"
1199
+ }
1200
+ ],
1201
+ "description": "Shows an error notification using the unified error handling system"
1202
+ },
1203
+ {
1204
+ "kind": "method",
1205
+ "name": "onFileSelected",
1206
+ "privacy": "protected",
1207
+ "return": {
1208
+ "type": {
1209
+ "text": "void"
1210
+ }
1211
+ },
1212
+ "parameters": [
1213
+ {
1214
+ "name": "files",
1215
+ "type": {
1216
+ "text": "File[]"
1217
+ },
1218
+ "description": "The selected file"
1219
+ }
1220
+ ],
1221
+ "description": "Abstract method called when a file is selected"
1222
+ },
1223
+ {
1224
+ "kind": "method",
1225
+ "name": "onFileCleared",
1226
+ "privacy": "protected",
1227
+ "return": {
1228
+ "type": {
1229
+ "text": "void"
1230
+ }
1231
+ },
1232
+ "description": "Abstract method called when file selection is cleared"
1233
+ },
1234
+ {
1235
+ "kind": "field",
1236
+ "name": "_presentation",
1237
+ "type": {
1238
+ "text": "ComponentPresentation | null | undefined"
1239
+ },
1240
+ "privacy": "private",
1241
+ "default": "void 0",
1242
+ "inheritedFrom": {
1243
+ "name": "FoundationElement",
1244
+ "module": "src/foundation-element/foundation-element.ts"
1245
+ }
1246
+ },
1247
+ {
1248
+ "kind": "field",
1249
+ "name": "$presentation",
1250
+ "type": {
1251
+ "text": "ComponentPresentation | null"
1252
+ },
1253
+ "privacy": "public",
1254
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1255
+ "inheritedFrom": {
1256
+ "name": "FoundationElement",
1257
+ "module": "src/foundation-element/foundation-element.ts"
1258
+ }
1259
+ },
1260
+ {
1261
+ "kind": "field",
1262
+ "name": "template",
1263
+ "type": {
1264
+ "text": "ElementViewTemplate | void | null"
1265
+ },
1266
+ "privacy": "public",
1267
+ "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.",
1268
+ "inheritedFrom": {
1269
+ "name": "FoundationElement",
1270
+ "module": "src/foundation-element/foundation-element.ts"
1271
+ }
1272
+ },
1273
+ {
1274
+ "kind": "method",
1275
+ "name": "templateChanged",
1276
+ "privacy": "protected",
1277
+ "return": {
1278
+ "type": {
1279
+ "text": "void"
1280
+ }
1281
+ },
1282
+ "inheritedFrom": {
1283
+ "name": "FoundationElement",
1284
+ "module": "src/foundation-element/foundation-element.ts"
1285
+ }
1286
+ },
1287
+ {
1288
+ "kind": "field",
1289
+ "name": "styles",
1290
+ "type": {
1291
+ "text": "ElementStyles | void | null"
1292
+ },
1293
+ "privacy": "public",
1294
+ "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.",
1295
+ "inheritedFrom": {
1296
+ "name": "FoundationElement",
1297
+ "module": "src/foundation-element/foundation-element.ts"
1298
+ }
1299
+ },
1300
+ {
1301
+ "kind": "method",
1302
+ "name": "stylesChanged",
1303
+ "privacy": "protected",
1304
+ "return": {
1305
+ "type": {
1306
+ "text": "void"
1307
+ }
1308
+ },
1309
+ "inheritedFrom": {
1310
+ "name": "FoundationElement",
1311
+ "module": "src/foundation-element/foundation-element.ts"
1312
+ }
1313
+ },
1314
+ {
1315
+ "kind": "method",
1316
+ "name": "compose",
1317
+ "privacy": "public",
1318
+ "static": true,
1319
+ "return": {
1320
+ "type": {
1321
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1322
+ }
1323
+ },
1324
+ "parameters": [
1325
+ {
1326
+ "name": "this",
1327
+ "type": {
1328
+ "text": "K"
1329
+ }
1330
+ },
1331
+ {
1332
+ "name": "elementDefinition",
1333
+ "type": {
1334
+ "text": "T"
1335
+ },
1336
+ "description": "The definition of the element to create the registry\nfunction for."
1337
+ }
1338
+ ],
1339
+ "description": "Defines an element registry function with a set of element definition defaults.",
1340
+ "inheritedFrom": {
1341
+ "name": "FoundationElement",
1342
+ "module": "src/foundation-element/foundation-element.ts"
1343
+ }
1344
+ }
1345
+ ],
1346
+ "events": [
1347
+ {
1348
+ "description": "Fired when file size validation fails. detail: `Error`",
1349
+ "name": "error"
1350
+ },
1351
+ {
1352
+ "description": "Fired when selection is cleared",
1353
+ "name": "clear"
1354
+ }
1355
+ ],
1356
+ "attributes": [
1357
+ {
1358
+ "name": "label",
1359
+ "type": {
1360
+ "text": "string"
1361
+ },
1362
+ "fieldName": "label"
1363
+ },
1364
+ {
1365
+ "name": "accept",
1366
+ "type": {
1367
+ "text": "string"
1368
+ },
1369
+ "default": "''",
1370
+ "fieldName": "accept"
1371
+ },
1372
+ {
1373
+ "name": "file-size-limit-bytes",
1374
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1375
+ "resolveInitializer": {
1376
+ "module": "src/_common/base-file-component.ts"
1377
+ },
1378
+ "fieldName": "fileSizeLimitBytes"
1379
+ }
1380
+ ],
1381
+ "superclass": {
1382
+ "name": "FoundationElement",
1383
+ "package": "@microsoft/fast-foundation"
1384
+ }
1385
+ }
1386
+ ],
1387
+ "exports": [
1388
+ {
1389
+ "kind": "js",
1390
+ "name": "BaseFileComponent",
1391
+ "declaration": {
1392
+ "name": "BaseFileComponent",
1393
+ "module": "src/_common/base-file-component.ts"
1394
+ }
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "kind": "javascript-module",
1400
+ "path": "src/_common/field-styles.ts",
1401
+ "declarations": [
1402
+ {
1403
+ "kind": "variable",
1404
+ "name": "sharedFieldStyles",
1405
+ "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`"
1406
+ }
1407
+ ],
1408
+ "exports": [
1409
+ {
1410
+ "kind": "js",
1411
+ "name": "sharedFieldStyles",
1412
+ "declaration": {
1413
+ "name": "sharedFieldStyles",
1414
+ "module": "src/_common/field-styles.ts"
1415
+ }
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "src/_common/icons.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "function",
1425
+ "name": "closeIcon",
1426
+ "parameters": [
1427
+ {
1428
+ "name": "slot",
1429
+ "default": "'start'"
1430
+ },
1431
+ {
1432
+ "name": "fill",
1433
+ "default": "'#879ba6'"
1434
+ }
1435
+ ]
1436
+ }
1437
+ ],
1438
+ "exports": [
1439
+ {
1440
+ "kind": "js",
1441
+ "name": "closeIcon",
1442
+ "declaration": {
1443
+ "name": "closeIcon",
1444
+ "module": "src/_common/icons.ts"
1445
+ }
1446
+ }
1447
+ ]
1448
+ },
1449
+ {
1450
+ "kind": "javascript-module",
1451
+ "path": "src/_common/index.ts",
1452
+ "declarations": [],
1453
+ "exports": [
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "*",
1457
+ "declaration": {
1458
+ "name": "*",
1459
+ "package": "./affix-mixin"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "*",
1465
+ "declaration": {
1466
+ "name": "*",
1467
+ "package": "./alert-flash-clock"
1468
+ }
1469
+ },
1470
+ {
1471
+ "kind": "js",
1472
+ "name": "*",
1473
+ "declaration": {
1474
+ "name": "*",
1475
+ "package": "./base-file-component"
1476
+ }
1477
+ },
1478
+ {
1479
+ "kind": "js",
1480
+ "name": "*",
1481
+ "declaration": {
1482
+ "name": "*",
1483
+ "package": "./field-styles"
1484
+ }
1485
+ },
1486
+ {
1487
+ "kind": "js",
1488
+ "name": "*",
1489
+ "declaration": {
1490
+ "name": "*",
1491
+ "package": "./icons"
1492
+ }
1493
+ }
1494
+ ]
1495
+ },
959
1496
  {
960
1497
  "kind": "javascript-module",
961
1498
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1834,586 +2371,65 @@
1834
2371
  "fieldName": "open"
1835
2372
  },
1836
2373
  {
1837
- "name": "buttonAppearance",
1838
- "type": {
1839
- "text": "string"
1840
- },
1841
- "fieldName": "buttonAppearance"
1842
- },
1843
- {
1844
- "name": "hide-disabled",
1845
- "type": {
1846
- "text": "boolean"
1847
- },
1848
- "default": "false",
1849
- "fieldName": "hideDisabled"
1850
- },
1851
- {
1852
- "name": "hide-menu-single-option",
1853
- "type": {
1854
- "text": "boolean"
1855
- },
1856
- "default": "false",
1857
- "fieldName": "hideMenuSingleOption"
1858
- }
1859
- ],
1860
- "superclass": {
1861
- "name": "FoundationElement",
1862
- "package": "@microsoft/fast-foundation"
1863
- },
1864
- "tagName": "%%prefix%%-actions-menu",
1865
- "customElement": true
1866
- },
1867
- {
1868
- "kind": "variable",
1869
- "name": "foundationActionsMenu",
1870
- "description": "The Foundation Actions Menu",
1871
- "privacy": "public"
1872
- }
1873
- ],
1874
- "exports": [
1875
- {
1876
- "kind": "js",
1877
- "name": "ActionsMenu",
1878
- "declaration": {
1879
- "name": "ActionsMenu",
1880
- "module": "src/actions-menu/actions-menu.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "js",
1885
- "name": "foundationActionsMenu",
1886
- "declaration": {
1887
- "name": "foundationActionsMenu",
1888
- "module": "src/actions-menu/actions-menu.ts"
1889
- }
1890
- }
1891
- ]
1892
- },
1893
- {
1894
- "kind": "javascript-module",
1895
- "path": "src/actions-menu/index.ts",
1896
- "declarations": [],
1897
- "exports": [
1898
- {
1899
- "kind": "js",
1900
- "name": "*",
1901
- "declaration": {
1902
- "name": "*",
1903
- "package": "./actions-menu.styles"
1904
- }
1905
- },
1906
- {
1907
- "kind": "js",
1908
- "name": "*",
1909
- "declaration": {
1910
- "name": "*",
1911
- "package": "./actions-menu.template"
1912
- }
1913
- },
1914
- {
1915
- "kind": "js",
1916
- "name": "*",
1917
- "declaration": {
1918
- "name": "*",
1919
- "package": "./actions-menu"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
- {
1925
- "kind": "javascript-module",
1926
- "path": "src/_common/affix-mixin.ts",
1927
- "declarations": [
1928
- {
1929
- "kind": "mixin",
1930
- "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.",
1931
- "name": "AffixMixin",
1932
- "members": [
1933
- {
1934
- "kind": "field",
1935
- "name": "prefix",
1936
- "type": {
1937
- "text": "string"
1938
- },
1939
- "description": "Optional non-editable label shown on the left inside the field, before the input."
1940
- },
1941
- {
1942
- "kind": "field",
1943
- "name": "suffix",
1944
- "type": {
1945
- "text": "string"
1946
- },
1947
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1948
- },
1949
- {
1950
- "kind": "field",
1951
- "name": "hideAffixFromScreenReader",
1952
- "type": {
1953
- "text": "boolean"
1954
- },
1955
- "default": "false",
1956
- "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."
1957
- }
1958
- ],
1959
- "parameters": [
1960
- {
1961
- "name": "Base",
1962
- "type": {
1963
- "text": "TBase"
1964
- }
1965
- }
1966
- ]
1967
- }
1968
- ],
1969
- "exports": [
1970
- {
1971
- "kind": "js",
1972
- "name": "AffixMixin",
1973
- "declaration": {
1974
- "name": "AffixMixin",
1975
- "module": "src/_common/affix-mixin.ts"
1976
- }
1977
- }
1978
- ]
1979
- },
1980
- {
1981
- "kind": "javascript-module",
1982
- "path": "src/_common/alert-flash-clock.ts",
1983
- "declarations": [
1984
- {
1985
- "kind": "variable",
1986
- "name": "alertFlashPhaseProperty",
1987
- "type": {
1988
- "text": "string"
1989
- },
1990
- "default": "'--alert-flash-t'",
1991
- "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1992
- "privacy": "public"
1993
- },
1994
- {
1995
- "kind": "variable",
1996
- "name": "alertFlashDurationProperty",
1997
- "type": {
1998
- "text": "string"
1999
- },
2000
- "default": "'--alert-flash-duration'",
2001
- "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
2002
- "privacy": "public"
2003
- },
2004
- {
2005
- "kind": "function",
2006
- "name": "installAlertFlashClock",
2007
- "return": {
2008
- "type": {
2009
- "text": "void"
2010
- }
2011
- },
2012
- "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
2013
- "privacy": "public"
2014
- }
2015
- ],
2016
- "exports": [
2017
- {
2018
- "kind": "js",
2019
- "name": "alertFlashPhaseProperty",
2020
- "declaration": {
2021
- "name": "alertFlashPhaseProperty",
2022
- "module": "src/_common/alert-flash-clock.ts"
2023
- }
2024
- },
2025
- {
2026
- "kind": "js",
2027
- "name": "alertFlashDurationProperty",
2028
- "declaration": {
2029
- "name": "alertFlashDurationProperty",
2030
- "module": "src/_common/alert-flash-clock.ts"
2031
- }
2032
- },
2033
- {
2034
- "kind": "js",
2035
- "name": "installAlertFlashClock",
2036
- "declaration": {
2037
- "name": "installAlertFlashClock",
2038
- "module": "src/_common/alert-flash-clock.ts"
2039
- }
2040
- }
2041
- ]
2042
- },
2043
- {
2044
- "kind": "javascript-module",
2045
- "path": "src/_common/base-file-component.ts",
2046
- "declarations": [
2047
- {
2048
- "kind": "class",
2049
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
2050
- "name": "BaseFileComponent",
2051
- "members": [
2052
- {
2053
- "kind": "field",
2054
- "name": "fileInput",
2055
- "type": {
2056
- "text": "HTMLInputElement"
2057
- },
2058
- "privacy": "public"
2059
- },
2060
- {
2061
- "kind": "field",
2062
- "name": "selectedFile",
2063
- "type": {
2064
- "text": "File | null"
2065
- },
2066
- "privacy": "protected",
2067
- "default": "null"
2068
- },
2069
- {
2070
- "kind": "field",
2071
- "name": "label",
2072
- "type": {
2073
- "text": "string"
2074
- }
2075
- },
2076
- {
2077
- "kind": "field",
2078
- "name": "accept",
2079
- "type": {
2080
- "text": "string"
2081
- },
2082
- "default": "''"
2083
- },
2084
- {
2085
- "kind": "field",
2086
- "name": "fileSizeLimitBytes",
2087
- "default": "10_485_760",
2088
- "type": {
2089
- "text": "number"
2090
- }
2091
- },
2092
- {
2093
- "kind": "field",
2094
- "name": "fileName",
2095
- "type": {
2096
- "text": "string"
2097
- },
2098
- "default": "''"
2099
- },
2100
- {
2101
- "kind": "field",
2102
- "name": "isProcessing",
2103
- "type": {
2104
- "text": "boolean"
2105
- },
2106
- "default": "false"
2107
- },
2108
- {
2109
- "kind": "method",
2110
- "name": "handleClick",
2111
- "privacy": "public",
2112
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2113
- },
2114
- {
2115
- "kind": "method",
2116
- "name": "onInputChange",
2117
- "privacy": "public",
2118
- "parameters": [
2119
- {
2120
- "name": "e",
2121
- "type": {
2122
- "text": "Event"
2123
- },
2124
- "description": "The change event from the file input"
2125
- }
2126
- ],
2127
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2128
- },
2129
- {
2130
- "kind": "method",
2131
- "name": "clearSelection",
2132
- "privacy": "public",
2133
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2134
- },
2135
- {
2136
- "kind": "method",
2137
- "name": "getSelectedFile",
2138
- "privacy": "public",
2139
- "description": "Gets the currently selected file object",
2140
- "return": {
2141
- "type": {
2142
- "text": ""
2143
- }
2144
- }
2145
- },
2146
- {
2147
- "kind": "method",
2148
- "name": "showError",
2149
- "privacy": "protected",
2150
- "parameters": [
2151
- {
2152
- "name": "title",
2153
- "type": {
2154
- "text": "string"
2155
- },
2156
- "description": "The error title"
2157
- },
2158
- {
2159
- "name": "message",
2160
- "type": {
2161
- "text": "string"
2162
- },
2163
- "description": "The error message"
2164
- }
2165
- ],
2166
- "description": "Shows an error notification using the unified error handling system"
2167
- },
2168
- {
2169
- "kind": "method",
2170
- "name": "onFileSelected",
2171
- "privacy": "protected",
2172
- "return": {
2173
- "type": {
2174
- "text": "void"
2175
- }
2176
- },
2177
- "parameters": [
2178
- {
2179
- "name": "files",
2180
- "type": {
2181
- "text": "File[]"
2182
- },
2183
- "description": "The selected file"
2184
- }
2185
- ],
2186
- "description": "Abstract method called when a file is selected"
2187
- },
2188
- {
2189
- "kind": "method",
2190
- "name": "onFileCleared",
2191
- "privacy": "protected",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2197
- "description": "Abstract method called when file selection is cleared"
2198
- },
2199
- {
2200
- "kind": "field",
2201
- "name": "_presentation",
2202
- "type": {
2203
- "text": "ComponentPresentation | null | undefined"
2204
- },
2205
- "privacy": "private",
2206
- "default": "void 0",
2207
- "inheritedFrom": {
2208
- "name": "FoundationElement",
2209
- "module": "src/foundation-element/foundation-element.ts"
2210
- }
2211
- },
2212
- {
2213
- "kind": "field",
2214
- "name": "$presentation",
2215
- "type": {
2216
- "text": "ComponentPresentation | null"
2217
- },
2218
- "privacy": "public",
2219
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2220
- "inheritedFrom": {
2221
- "name": "FoundationElement",
2222
- "module": "src/foundation-element/foundation-element.ts"
2223
- }
2224
- },
2225
- {
2226
- "kind": "field",
2227
- "name": "template",
2228
- "type": {
2229
- "text": "ElementViewTemplate | void | null"
2230
- },
2231
- "privacy": "public",
2232
- "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.",
2233
- "inheritedFrom": {
2234
- "name": "FoundationElement",
2235
- "module": "src/foundation-element/foundation-element.ts"
2236
- }
2237
- },
2238
- {
2239
- "kind": "method",
2240
- "name": "templateChanged",
2241
- "privacy": "protected",
2242
- "return": {
2243
- "type": {
2244
- "text": "void"
2245
- }
2246
- },
2247
- "inheritedFrom": {
2248
- "name": "FoundationElement",
2249
- "module": "src/foundation-element/foundation-element.ts"
2250
- }
2251
- },
2252
- {
2253
- "kind": "field",
2254
- "name": "styles",
2255
- "type": {
2256
- "text": "ElementStyles | void | null"
2257
- },
2258
- "privacy": "public",
2259
- "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.",
2260
- "inheritedFrom": {
2261
- "name": "FoundationElement",
2262
- "module": "src/foundation-element/foundation-element.ts"
2263
- }
2264
- },
2265
- {
2266
- "kind": "method",
2267
- "name": "stylesChanged",
2268
- "privacy": "protected",
2269
- "return": {
2270
- "type": {
2271
- "text": "void"
2272
- }
2273
- },
2274
- "inheritedFrom": {
2275
- "name": "FoundationElement",
2276
- "module": "src/foundation-element/foundation-element.ts"
2277
- }
2278
- },
2279
- {
2280
- "kind": "method",
2281
- "name": "compose",
2282
- "privacy": "public",
2283
- "static": true,
2284
- "return": {
2285
- "type": {
2286
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2287
- }
2288
- },
2289
- "parameters": [
2290
- {
2291
- "name": "this",
2292
- "type": {
2293
- "text": "K"
2294
- }
2295
- },
2296
- {
2297
- "name": "elementDefinition",
2298
- "type": {
2299
- "text": "T"
2300
- },
2301
- "description": "The definition of the element to create the registry\nfunction for."
2302
- }
2303
- ],
2304
- "description": "Defines an element registry function with a set of element definition defaults.",
2305
- "inheritedFrom": {
2306
- "name": "FoundationElement",
2307
- "module": "src/foundation-element/foundation-element.ts"
2308
- }
2309
- }
2310
- ],
2311
- "events": [
2312
- {
2313
- "description": "Fired when file size validation fails. detail: `Error`",
2314
- "name": "error"
2315
- },
2316
- {
2317
- "description": "Fired when selection is cleared",
2318
- "name": "clear"
2319
- }
2320
- ],
2321
- "attributes": [
2322
- {
2323
- "name": "label",
2374
+ "name": "buttonAppearance",
2324
2375
  "type": {
2325
2376
  "text": "string"
2326
2377
  },
2327
- "fieldName": "label"
2378
+ "fieldName": "buttonAppearance"
2328
2379
  },
2329
2380
  {
2330
- "name": "accept",
2381
+ "name": "hide-disabled",
2331
2382
  "type": {
2332
- "text": "string"
2383
+ "text": "boolean"
2333
2384
  },
2334
- "default": "''",
2335
- "fieldName": "accept"
2385
+ "default": "false",
2386
+ "fieldName": "hideDisabled"
2336
2387
  },
2337
2388
  {
2338
- "name": "file-size-limit-bytes",
2339
- "default": "DEFAULT_FILE_SIZE_LIMIT",
2340
- "resolveInitializer": {
2341
- "module": "src/_common/base-file-component.ts"
2389
+ "name": "hide-menu-single-option",
2390
+ "type": {
2391
+ "text": "boolean"
2342
2392
  },
2343
- "fieldName": "fileSizeLimitBytes"
2393
+ "default": "false",
2394
+ "fieldName": "hideMenuSingleOption"
2344
2395
  }
2345
2396
  ],
2346
2397
  "superclass": {
2347
2398
  "name": "FoundationElement",
2348
2399
  "package": "@microsoft/fast-foundation"
2349
- }
2350
- }
2351
- ],
2352
- "exports": [
2353
- {
2354
- "kind": "js",
2355
- "name": "BaseFileComponent",
2356
- "declaration": {
2357
- "name": "BaseFileComponent",
2358
- "module": "src/_common/base-file-component.ts"
2359
- }
2360
- }
2361
- ]
2362
- },
2363
- {
2364
- "kind": "javascript-module",
2365
- "path": "src/_common/field-styles.ts",
2366
- "declarations": [
2400
+ },
2401
+ "tagName": "%%prefix%%-actions-menu",
2402
+ "customElement": true
2403
+ },
2367
2404
  {
2368
2405
  "kind": "variable",
2369
- "name": "sharedFieldStyles",
2370
- "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`"
2406
+ "name": "foundationActionsMenu",
2407
+ "description": "The Foundation Actions Menu",
2408
+ "privacy": "public"
2371
2409
  }
2372
2410
  ],
2373
2411
  "exports": [
2374
2412
  {
2375
2413
  "kind": "js",
2376
- "name": "sharedFieldStyles",
2414
+ "name": "ActionsMenu",
2377
2415
  "declaration": {
2378
- "name": "sharedFieldStyles",
2379
- "module": "src/_common/field-styles.ts"
2416
+ "name": "ActionsMenu",
2417
+ "module": "src/actions-menu/actions-menu.ts"
2380
2418
  }
2381
- }
2382
- ]
2383
- },
2384
- {
2385
- "kind": "javascript-module",
2386
- "path": "src/_common/icons.ts",
2387
- "declarations": [
2388
- {
2389
- "kind": "function",
2390
- "name": "closeIcon",
2391
- "parameters": [
2392
- {
2393
- "name": "slot",
2394
- "default": "'start'"
2395
- },
2396
- {
2397
- "name": "fill",
2398
- "default": "'#879ba6'"
2399
- }
2400
- ]
2401
- }
2402
- ],
2403
- "exports": [
2419
+ },
2404
2420
  {
2405
2421
  "kind": "js",
2406
- "name": "closeIcon",
2422
+ "name": "foundationActionsMenu",
2407
2423
  "declaration": {
2408
- "name": "closeIcon",
2409
- "module": "src/_common/icons.ts"
2424
+ "name": "foundationActionsMenu",
2425
+ "module": "src/actions-menu/actions-menu.ts"
2410
2426
  }
2411
2427
  }
2412
2428
  ]
2413
2429
  },
2414
2430
  {
2415
2431
  "kind": "javascript-module",
2416
- "path": "src/_common/index.ts",
2432
+ "path": "src/actions-menu/index.ts",
2417
2433
  "declarations": [],
2418
2434
  "exports": [
2419
2435
  {
@@ -2421,7 +2437,7 @@
2421
2437
  "name": "*",
2422
2438
  "declaration": {
2423
2439
  "name": "*",
2424
- "package": "./affix-mixin"
2440
+ "package": "./actions-menu.styles"
2425
2441
  }
2426
2442
  },
2427
2443
  {
@@ -2429,7 +2445,7 @@
2429
2445
  "name": "*",
2430
2446
  "declaration": {
2431
2447
  "name": "*",
2432
- "package": "./alert-flash-clock"
2448
+ "package": "./actions-menu.template"
2433
2449
  }
2434
2450
  },
2435
2451
  {
@@ -2437,7 +2453,22 @@
2437
2453
  "name": "*",
2438
2454
  "declaration": {
2439
2455
  "name": "*",
2440
- "package": "./base-file-component"
2456
+ "package": "./actions-menu"
2457
+ }
2458
+ }
2459
+ ]
2460
+ },
2461
+ {
2462
+ "kind": "javascript-module",
2463
+ "path": "src/_config/index.ts",
2464
+ "declarations": [],
2465
+ "exports": [
2466
+ {
2467
+ "kind": "js",
2468
+ "name": "*",
2469
+ "declaration": {
2470
+ "name": "*",
2471
+ "package": "./styles"
2441
2472
  }
2442
2473
  },
2443
2474
  {
@@ -2445,7 +2476,7 @@
2445
2476
  "name": "*",
2446
2477
  "declaration": {
2447
2478
  "name": "*",
2448
- "package": "./field-styles"
2479
+ "package": "./tokens"
2449
2480
  }
2450
2481
  },
2451
2482
  {
@@ -2453,7 +2484,7 @@
2453
2484
  "name": "*",
2454
2485
  "declaration": {
2455
2486
  "name": "*",
2456
- "package": "./icons"
2487
+ "package": "./values"
2457
2488
  }
2458
2489
  }
2459
2490
  ]
@@ -3039,479 +3070,30 @@
3039
3070
  },
3040
3071
  {
3041
3072
  "name": "tagName",
3042
- "type": {
3043
- "text": "string"
3044
- },
3045
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3046
- }
3047
- ],
3048
- "description": "Shows a criteria error as a toast notification."
3049
- }
3050
- ],
3051
- "exports": [
3052
- {
3053
- "kind": "js",
3054
- "name": "formatValidationErrors",
3055
- "declaration": {
3056
- "name": "formatValidationErrors",
3057
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3058
- }
3059
- },
3060
- {
3061
- "kind": "js",
3062
- "name": "showCriteriaError",
3063
- "declaration": {
3064
- "name": "showCriteriaError",
3065
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3066
- }
3067
- }
3068
- ]
3069
- },
3070
- {
3071
- "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3073
- "declarations": [
3074
- {
3075
- "kind": "function",
3076
- "name": "foundationAiIndicatorStyles",
3077
- "return": {
3078
- "type": {
3079
- "text": "ElementStyles"
3080
- }
3081
- },
3082
- "parameters": [
3083
- {
3084
- "name": "context",
3085
- "type": {
3086
- "text": "ElementDefinitionContext"
3087
- }
3088
- },
3089
- {
3090
- "name": "definition",
3091
- "type": {
3092
- "text": "FoundationElementDefinition"
3093
- }
3094
- }
3095
- ]
3096
- }
3097
- ],
3098
- "exports": [
3099
- {
3100
- "kind": "js",
3101
- "name": "foundationAiIndicatorStyles",
3102
- "declaration": {
3103
- "name": "foundationAiIndicatorStyles",
3104
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3105
- }
3106
- }
3107
- ]
3108
- },
3109
- {
3110
- "kind": "javascript-module",
3111
- "path": "src/ai-indicator/ai-indicator.template.ts",
3112
- "declarations": [
3113
- {
3114
- "kind": "variable",
3115
- "name": "foundationAiIndicatorTemplate",
3116
- "type": {
3117
- "text": "ViewTemplate<AiIndicator>"
3118
- },
3119
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3120
- }
3121
- ],
3122
- "exports": [
3123
- {
3124
- "kind": "js",
3125
- "name": "foundationAiIndicatorTemplate",
3126
- "declaration": {
3127
- "name": "foundationAiIndicatorTemplate",
3128
- "module": "src/ai-indicator/ai-indicator.template.ts"
3129
- }
3130
- }
3131
- ]
3132
- },
3133
- {
3134
- "kind": "javascript-module",
3135
- "path": "src/ai-indicator/ai-indicator.ts",
3136
- "declarations": [
3137
- {
3138
- "kind": "class",
3139
- "description": "",
3140
- "name": "AiIndicator",
3141
- "members": [
3142
- {
3143
- "kind": "field",
3144
- "name": "providerRegistry",
3145
- "type": {
3146
- "text": "AIProviderRegistry"
3147
- }
3148
- },
3149
- {
3150
- "kind": "field",
3151
- "name": "aiProvider",
3152
- "type": {
3153
- "text": "AIProvider | undefined"
3154
- },
3155
- "privacy": "private",
3156
- "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.",
3157
- "readonly": true
3158
- },
3159
- {
3160
- "kind": "field",
3161
- "name": "status",
3162
- "type": {
3163
- "text": "AIStatus | null"
3164
- },
3165
- "default": "null"
3166
- },
3167
- {
3168
- "kind": "field",
3169
- "name": "open",
3170
- "type": {
3171
- "text": "boolean"
3172
- },
3173
- "default": "false"
3174
- },
3175
- {
3176
- "kind": "field",
3177
- "name": "state",
3178
- "type": {
3179
- "text": "AIIndicatorState"
3180
- },
3181
- "default": "'none'"
3182
- },
3183
- {
3184
- "kind": "field",
3185
- "name": "isInstalling",
3186
- "type": {
3187
- "text": "boolean"
3188
- },
3189
- "default": "false"
3190
- },
3191
- {
3192
- "kind": "field",
3193
- "name": "pollTimer",
3194
- "type": {
3195
- "text": "ReturnType<typeof setInterval> | null"
3196
- },
3197
- "privacy": "private",
3198
- "default": "null"
3199
- },
3200
- {
3201
- "kind": "field",
3202
- "name": "clickOutside",
3203
- "privacy": "private"
3204
- },
3205
- {
3206
- "kind": "field",
3207
- "name": "chromeStatusLabel",
3208
- "type": {
3209
- "text": "string | null"
3210
- },
3211
- "readonly": true
3212
- },
3213
- {
3214
- "kind": "field",
3215
- "name": "canInstall",
3216
- "type": {
3217
- "text": "boolean"
3218
- },
3219
- "readonly": true
3220
- },
3221
- {
3222
- "kind": "field",
3223
- "name": "isDownloading",
3224
- "type": {
3225
- "text": "boolean"
3226
- },
3227
- "readonly": true
3228
- },
3229
- {
3230
- "kind": "method",
3231
- "name": "openChanged",
3232
- "return": {
3233
- "type": {
3234
- "text": "void"
3235
- }
3236
- }
3237
- },
3238
- {
3239
- "kind": "method",
3240
- "name": "handleClickOutside",
3241
- "privacy": "private",
3242
- "parameters": [
3243
- {
3244
- "name": "event",
3245
- "type": {
3246
- "text": "MouseEvent"
3247
- }
3248
- }
3249
- ]
3250
- },
3251
- {
3252
- "kind": "method",
3253
- "name": "toggleDropdown"
3254
- },
3255
- {
3256
- "kind": "method",
3257
- "name": "refreshStatus",
3258
- "return": {
3259
- "type": {
3260
- "text": "Promise<void>"
3261
- }
3262
- }
3263
- },
3264
- {
3265
- "kind": "method",
3266
- "name": "deriveState",
3267
- "privacy": "private",
3268
- "return": {
3269
- "type": {
3270
- "text": "AIIndicatorState"
3271
- }
3272
- },
3273
- "parameters": [
3274
- {
3275
- "name": "s",
3276
- "type": {
3277
- "text": "AIStatus | null"
3278
- }
3279
- }
3280
- ]
3281
- },
3282
- {
3283
- "kind": "method",
3284
- "name": "maybeStartPolling",
3285
- "privacy": "private",
3286
- "return": {
3287
- "type": {
3288
- "text": "void"
3289
- }
3290
- }
3291
- },
3292
- {
3293
- "kind": "method",
3294
- "name": "startPolling",
3295
- "privacy": "private",
3296
- "return": {
3297
- "type": {
3298
- "text": "void"
3299
- }
3300
- }
3301
- },
3302
- {
3303
- "kind": "method",
3304
- "name": "stopPolling",
3305
- "privacy": "private",
3306
- "return": {
3307
- "type": {
3308
- "text": "void"
3309
- }
3310
- }
3311
- },
3312
- {
3313
- "kind": "method",
3314
- "name": "onInstall",
3315
- "return": {
3316
- "type": {
3317
- "text": "Promise<void>"
3318
- }
3319
- }
3320
- },
3321
- {
3322
- "kind": "field",
3323
- "name": "_presentation",
3324
- "type": {
3325
- "text": "ComponentPresentation | null | undefined"
3326
- },
3327
- "privacy": "private",
3328
- "default": "void 0",
3329
- "inheritedFrom": {
3330
- "name": "FoundationElement",
3331
- "module": "src/foundation-element/foundation-element.ts"
3332
- }
3333
- },
3334
- {
3335
- "kind": "field",
3336
- "name": "$presentation",
3337
- "type": {
3338
- "text": "ComponentPresentation | null"
3339
- },
3340
- "privacy": "public",
3341
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3342
- "inheritedFrom": {
3343
- "name": "FoundationElement",
3344
- "module": "src/foundation-element/foundation-element.ts"
3345
- }
3346
- },
3347
- {
3348
- "kind": "field",
3349
- "name": "template",
3350
- "type": {
3351
- "text": "ElementViewTemplate | void | null"
3352
- },
3353
- "privacy": "public",
3354
- "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.",
3355
- "inheritedFrom": {
3356
- "name": "FoundationElement",
3357
- "module": "src/foundation-element/foundation-element.ts"
3358
- }
3359
- },
3360
- {
3361
- "kind": "method",
3362
- "name": "templateChanged",
3363
- "privacy": "protected",
3364
- "return": {
3365
- "type": {
3366
- "text": "void"
3367
- }
3368
- },
3369
- "inheritedFrom": {
3370
- "name": "FoundationElement",
3371
- "module": "src/foundation-element/foundation-element.ts"
3372
- }
3373
- },
3374
- {
3375
- "kind": "field",
3376
- "name": "styles",
3377
- "type": {
3378
- "text": "ElementStyles | void | null"
3379
- },
3380
- "privacy": "public",
3381
- "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.",
3382
- "inheritedFrom": {
3383
- "name": "FoundationElement",
3384
- "module": "src/foundation-element/foundation-element.ts"
3385
- }
3386
- },
3387
- {
3388
- "kind": "method",
3389
- "name": "stylesChanged",
3390
- "privacy": "protected",
3391
- "return": {
3392
- "type": {
3393
- "text": "void"
3394
- }
3395
- },
3396
- "inheritedFrom": {
3397
- "name": "FoundationElement",
3398
- "module": "src/foundation-element/foundation-element.ts"
3399
- }
3400
- },
3401
- {
3402
- "kind": "method",
3403
- "name": "compose",
3404
- "privacy": "public",
3405
- "static": true,
3406
- "return": {
3407
- "type": {
3408
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3409
- }
3410
- },
3411
- "parameters": [
3412
- {
3413
- "name": "this",
3414
- "type": {
3415
- "text": "K"
3416
- }
3417
- },
3418
- {
3419
- "name": "elementDefinition",
3420
- "type": {
3421
- "text": "T"
3422
- },
3423
- "description": "The definition of the element to create the registry\nfunction for."
3424
- }
3425
- ],
3426
- "description": "Defines an element registry function with a set of element definition defaults.",
3427
- "inheritedFrom": {
3428
- "name": "FoundationElement",
3429
- "module": "src/foundation-element/foundation-element.ts"
3430
- }
3431
- }
3432
- ],
3433
- "superclass": {
3434
- "name": "FoundationElement",
3435
- "package": "@microsoft/fast-foundation"
3436
- },
3437
- "tagName": "%%prefix%%-ai-indicator",
3438
- "customElement": true
3439
- },
3440
- {
3441
- "kind": "variable",
3442
- "name": "foundationAiIndicator"
3073
+ "type": {
3074
+ "text": "string"
3075
+ },
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
+ }
3078
+ ],
3079
+ "description": "Shows a criteria error as a toast notification."
3443
3080
  }
3444
3081
  ],
3445
3082
  "exports": [
3446
3083
  {
3447
3084
  "kind": "js",
3448
- "name": "AiIndicator",
3449
- "declaration": {
3450
- "name": "AiIndicator",
3451
- "module": "src/ai-indicator/ai-indicator.ts"
3452
- }
3453
- },
3454
- {
3455
- "kind": "js",
3456
- "name": "foundationAiIndicator",
3457
- "declaration": {
3458
- "name": "foundationAiIndicator",
3459
- "module": "src/ai-indicator/ai-indicator.ts"
3460
- }
3461
- }
3462
- ]
3463
- },
3464
- {
3465
- "kind": "javascript-module",
3466
- "path": "src/ai-indicator/index.ts",
3467
- "declarations": [],
3468
- "exports": [
3469
- {
3470
- "kind": "js",
3471
- "name": "AiIndicator",
3472
- "declaration": {
3473
- "name": "AiIndicator",
3474
- "module": "./ai-indicator"
3475
- }
3476
- },
3477
- {
3478
- "kind": "js",
3479
- "name": "foundationAiIndicator",
3480
- "declaration": {
3481
- "name": "foundationAiIndicator",
3482
- "module": "./ai-indicator"
3483
- }
3484
- },
3485
- {
3486
- "kind": "js",
3487
- "name": "type",
3488
- "declaration": {
3489
- "name": "type",
3490
- "module": "./ai-indicator"
3491
- }
3492
- },
3493
- {
3494
- "kind": "js",
3495
- "name": "AIIndicatorState",
3496
- "declaration": {
3497
- "name": "AIIndicatorState",
3498
- "module": "./ai-indicator"
3499
- }
3500
- },
3501
- {
3502
- "kind": "js",
3503
- "name": "foundationAiIndicatorTemplate",
3085
+ "name": "formatValidationErrors",
3504
3086
  "declaration": {
3505
- "name": "foundationAiIndicatorTemplate",
3506
- "module": "./ai-indicator.template"
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3507
3089
  }
3508
3090
  },
3509
3091
  {
3510
3092
  "kind": "js",
3511
- "name": "foundationAiIndicatorStyles",
3093
+ "name": "showCriteriaError",
3512
3094
  "declaration": {
3513
- "name": "foundationAiIndicatorStyles",
3514
- "module": "./ai-indicator.styles"
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3515
3097
  }
3516
3098
  }
3517
3099
  ]
@@ -4033,31 +3615,449 @@
4033
3615
  },
4034
3616
  {
4035
3617
  "kind": "javascript-module",
4036
- "path": "src/_config/index.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3648
+ "declaration": {
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
+ }
3652
+ }
3653
+ ]
3654
+ },
3655
+ {
3656
+ "kind": "javascript-module",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3658
+ "declarations": [
3659
+ {
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3664
+ },
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
+ }
3667
+ ],
3668
+ "exports": [
3669
+ {
3670
+ "kind": "js",
3671
+ "name": "foundationAiIndicatorTemplate",
3672
+ "declaration": {
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3675
+ }
3676
+ }
3677
+ ]
3678
+ },
3679
+ {
3680
+ "kind": "javascript-module",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3682
+ "declarations": [
3683
+ {
3684
+ "kind": "class",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3687
+ "members": [
3688
+ {
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3691
+ "type": {
3692
+ "text": "AIProviderRegistry"
3693
+ }
3694
+ },
3695
+ {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
3701
+ "privacy": "private",
3702
+ "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.",
3703
+ "readonly": true
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3716
+ "type": {
3717
+ "text": "boolean"
3718
+ },
3719
+ "default": "false"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3743
+ "privacy": "private",
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3756
+ },
3757
+ "readonly": true
3758
+ },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3866
+ },
3867
+ {
3868
+ "kind": "field",
3869
+ "name": "_presentation",
3870
+ "type": {
3871
+ "text": "ComponentPresentation | null | undefined"
3872
+ },
3873
+ "privacy": "private",
3874
+ "default": "void 0",
3875
+ "inheritedFrom": {
3876
+ "name": "FoundationElement",
3877
+ "module": "src/foundation-element/foundation-element.ts"
3878
+ }
3879
+ },
3880
+ {
3881
+ "kind": "field",
3882
+ "name": "$presentation",
3883
+ "type": {
3884
+ "text": "ComponentPresentation | null"
3885
+ },
3886
+ "privacy": "public",
3887
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3888
+ "inheritedFrom": {
3889
+ "name": "FoundationElement",
3890
+ "module": "src/foundation-element/foundation-element.ts"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "field",
3895
+ "name": "template",
3896
+ "type": {
3897
+ "text": "ElementViewTemplate | void | null"
3898
+ },
3899
+ "privacy": "public",
3900
+ "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.",
3901
+ "inheritedFrom": {
3902
+ "name": "FoundationElement",
3903
+ "module": "src/foundation-element/foundation-element.ts"
3904
+ }
3905
+ },
3906
+ {
3907
+ "kind": "method",
3908
+ "name": "templateChanged",
3909
+ "privacy": "protected",
3910
+ "return": {
3911
+ "type": {
3912
+ "text": "void"
3913
+ }
3914
+ },
3915
+ "inheritedFrom": {
3916
+ "name": "FoundationElement",
3917
+ "module": "src/foundation-element/foundation-element.ts"
3918
+ }
3919
+ },
3920
+ {
3921
+ "kind": "field",
3922
+ "name": "styles",
3923
+ "type": {
3924
+ "text": "ElementStyles | void | null"
3925
+ },
3926
+ "privacy": "public",
3927
+ "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.",
3928
+ "inheritedFrom": {
3929
+ "name": "FoundationElement",
3930
+ "module": "src/foundation-element/foundation-element.ts"
3931
+ }
3932
+ },
3933
+ {
3934
+ "kind": "method",
3935
+ "name": "stylesChanged",
3936
+ "privacy": "protected",
3937
+ "return": {
3938
+ "type": {
3939
+ "text": "void"
3940
+ }
3941
+ },
3942
+ "inheritedFrom": {
3943
+ "name": "FoundationElement",
3944
+ "module": "src/foundation-element/foundation-element.ts"
3945
+ }
3946
+ },
3947
+ {
3948
+ "kind": "method",
3949
+ "name": "compose",
3950
+ "privacy": "public",
3951
+ "static": true,
3952
+ "return": {
3953
+ "type": {
3954
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3955
+ }
3956
+ },
3957
+ "parameters": [
3958
+ {
3959
+ "name": "this",
3960
+ "type": {
3961
+ "text": "K"
3962
+ }
3963
+ },
3964
+ {
3965
+ "name": "elementDefinition",
3966
+ "type": {
3967
+ "text": "T"
3968
+ },
3969
+ "description": "The definition of the element to create the registry\nfunction for."
3970
+ }
3971
+ ],
3972
+ "description": "Defines an element registry function with a set of element definition defaults.",
3973
+ "inheritedFrom": {
3974
+ "name": "FoundationElement",
3975
+ "module": "src/foundation-element/foundation-element.ts"
3976
+ }
3977
+ }
3978
+ ],
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3982
+ },
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3985
+ },
3986
+ {
3987
+ "kind": "variable",
3988
+ "name": "foundationAiIndicator"
3989
+ }
3990
+ ],
3991
+ "exports": [
3992
+ {
3993
+ "kind": "js",
3994
+ "name": "AiIndicator",
3995
+ "declaration": {
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3998
+ }
3999
+ },
4000
+ {
4001
+ "kind": "js",
4002
+ "name": "foundationAiIndicator",
4003
+ "declaration": {
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4037
4013
  "declarations": [],
4038
4014
  "exports": [
4039
4015
  {
4040
4016
  "kind": "js",
4041
- "name": "*",
4017
+ "name": "AiIndicator",
4042
4018
  "declaration": {
4043
- "name": "*",
4044
- "package": "./styles"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4045
4021
  }
4046
4022
  },
4047
4023
  {
4048
4024
  "kind": "js",
4049
- "name": "*",
4025
+ "name": "foundationAiIndicator",
4050
4026
  "declaration": {
4051
- "name": "*",
4052
- "package": "./tokens"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4053
4029
  }
4054
4030
  },
4055
4031
  {
4056
4032
  "kind": "js",
4057
- "name": "*",
4033
+ "name": "type",
4058
4034
  "declaration": {
4059
- "name": "*",
4060
- "package": "./values"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4037
+ }
4038
+ },
4039
+ {
4040
+ "kind": "js",
4041
+ "name": "AIIndicatorState",
4042
+ "declaration": {
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
+ }
4046
+ },
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
+ "declaration": {
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "foundationAiIndicatorStyles",
4058
+ "declaration": {
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,197 +60120,6 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
- {
60124
- "kind": "javascript-module",
60125
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
- "declarations": [],
60127
- "exports": []
60128
- },
60129
- {
60130
- "kind": "javascript-module",
60131
- "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
- "declarations": [
60133
- {
60134
- "kind": "function",
60135
- "name": "groupsToCriteria",
60136
- "return": {
60137
- "type": {
60138
- "text": "string"
60139
- }
60140
- },
60141
- "parameters": [
60142
- {
60143
- "name": "groups",
60144
- "type": {
60145
- "text": "CriteriaGroup[]"
60146
- }
60147
- }
60148
- ],
60149
- "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."
60150
- },
60151
- {
60152
- "kind": "variable",
60153
- "name": "STRING_OPERATORS",
60154
- "type": {
60155
- "text": "CriteriaOperator[]"
60156
- },
60157
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
- },
60159
- {
60160
- "kind": "variable",
60161
- "name": "NUMERIC_OPERATORS",
60162
- "type": {
60163
- "text": "CriteriaOperator[]"
60164
- },
60165
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
- },
60167
- {
60168
- "kind": "variable",
60169
- "name": "DATE_OPERATORS",
60170
- "type": {
60171
- "text": "CriteriaOperator[]"
60172
- },
60173
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
- },
60175
- {
60176
- "kind": "variable",
60177
- "name": "DATETIME_OPERATORS",
60178
- "type": {
60179
- "text": "CriteriaOperator[]"
60180
- },
60181
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
- },
60183
- {
60184
- "kind": "variable",
60185
- "name": "OPERATOR_DISPLAY_LABEL",
60186
- "type": {
60187
- "text": "Record<CriteriaOperator, string>"
60188
- },
60189
- "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}"
60190
- }
60191
- ],
60192
- "exports": [
60193
- {
60194
- "kind": "js",
60195
- "name": "groupsToCriteria",
60196
- "declaration": {
60197
- "name": "groupsToCriteria",
60198
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
- }
60200
- },
60201
- {
60202
- "kind": "js",
60203
- "name": "STRING_OPERATORS",
60204
- "declaration": {
60205
- "name": "STRING_OPERATORS",
60206
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
- }
60208
- },
60209
- {
60210
- "kind": "js",
60211
- "name": "NUMERIC_OPERATORS",
60212
- "declaration": {
60213
- "name": "NUMERIC_OPERATORS",
60214
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
- }
60216
- },
60217
- {
60218
- "kind": "js",
60219
- "name": "DATE_OPERATORS",
60220
- "declaration": {
60221
- "name": "DATE_OPERATORS",
60222
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
- }
60224
- },
60225
- {
60226
- "kind": "js",
60227
- "name": "DATETIME_OPERATORS",
60228
- "declaration": {
60229
- "name": "DATETIME_OPERATORS",
60230
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
- }
60232
- },
60233
- {
60234
- "kind": "js",
60235
- "name": "OPERATOR_DISPLAY_LABEL",
60236
- "declaration": {
60237
- "name": "OPERATOR_DISPLAY_LABEL",
60238
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
- }
60240
- }
60241
- ]
60242
- },
60243
- {
60244
- "kind": "javascript-module",
60245
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
- "declarations": [
60247
- {
60248
- "kind": "function",
60249
- "name": "validateClauses",
60250
- "return": {
60251
- "type": {
60252
- "text": "ValidationResult"
60253
- }
60254
- },
60255
- "parameters": [
60256
- {
60257
- "name": "clauses",
60258
- "type": {
60259
- "text": "CriteriaClause[]"
60260
- }
60261
- },
60262
- {
60263
- "name": "fieldMetadata",
60264
- "type": {
60265
- "text": "MetadataDetail[] | string[]"
60266
- }
60267
- }
60268
- ]
60269
- },
60270
- {
60271
- "kind": "function",
60272
- "name": "validateGroups",
60273
- "return": {
60274
- "type": {
60275
- "text": "GroupsValidationResult"
60276
- }
60277
- },
60278
- "parameters": [
60279
- {
60280
- "name": "groups",
60281
- "type": {
60282
- "text": "CriteriaGroup[]"
60283
- }
60284
- },
60285
- {
60286
- "name": "fieldMetadata",
60287
- "type": {
60288
- "text": "MetadataDetail[] | string[]"
60289
- }
60290
- }
60291
- ],
60292
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
- }
60294
- ],
60295
- "exports": [
60296
- {
60297
- "kind": "js",
60298
- "name": "validateClauses",
60299
- "declaration": {
60300
- "name": "validateClauses",
60301
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
- }
60303
- },
60304
- {
60305
- "kind": "js",
60306
- "name": "validateGroups",
60307
- "declaration": {
60308
- "name": "validateGroups",
60309
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
- }
60311
- }
60312
- ]
60313
- },
60314
60123
  {
60315
60124
  "kind": "javascript-module",
60316
60125
  "path": "src/_config/styles/colors.ts",
@@ -61683,6 +61492,197 @@
61683
61492
  "declarations": [],
61684
61493
  "exports": []
61685
61494
  },
61495
+ {
61496
+ "kind": "javascript-module",
61497
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
+ "declarations": [],
61499
+ "exports": []
61500
+ },
61501
+ {
61502
+ "kind": "javascript-module",
61503
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
+ "declarations": [
61505
+ {
61506
+ "kind": "function",
61507
+ "name": "groupsToCriteria",
61508
+ "return": {
61509
+ "type": {
61510
+ "text": "string"
61511
+ }
61512
+ },
61513
+ "parameters": [
61514
+ {
61515
+ "name": "groups",
61516
+ "type": {
61517
+ "text": "CriteriaGroup[]"
61518
+ }
61519
+ }
61520
+ ],
61521
+ "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."
61522
+ },
61523
+ {
61524
+ "kind": "variable",
61525
+ "name": "STRING_OPERATORS",
61526
+ "type": {
61527
+ "text": "CriteriaOperator[]"
61528
+ },
61529
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
+ },
61531
+ {
61532
+ "kind": "variable",
61533
+ "name": "NUMERIC_OPERATORS",
61534
+ "type": {
61535
+ "text": "CriteriaOperator[]"
61536
+ },
61537
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
+ },
61539
+ {
61540
+ "kind": "variable",
61541
+ "name": "DATE_OPERATORS",
61542
+ "type": {
61543
+ "text": "CriteriaOperator[]"
61544
+ },
61545
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
+ },
61547
+ {
61548
+ "kind": "variable",
61549
+ "name": "DATETIME_OPERATORS",
61550
+ "type": {
61551
+ "text": "CriteriaOperator[]"
61552
+ },
61553
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
+ },
61555
+ {
61556
+ "kind": "variable",
61557
+ "name": "OPERATOR_DISPLAY_LABEL",
61558
+ "type": {
61559
+ "text": "Record<CriteriaOperator, string>"
61560
+ },
61561
+ "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}"
61562
+ }
61563
+ ],
61564
+ "exports": [
61565
+ {
61566
+ "kind": "js",
61567
+ "name": "groupsToCriteria",
61568
+ "declaration": {
61569
+ "name": "groupsToCriteria",
61570
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
+ }
61572
+ },
61573
+ {
61574
+ "kind": "js",
61575
+ "name": "STRING_OPERATORS",
61576
+ "declaration": {
61577
+ "name": "STRING_OPERATORS",
61578
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
+ }
61580
+ },
61581
+ {
61582
+ "kind": "js",
61583
+ "name": "NUMERIC_OPERATORS",
61584
+ "declaration": {
61585
+ "name": "NUMERIC_OPERATORS",
61586
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
+ }
61588
+ },
61589
+ {
61590
+ "kind": "js",
61591
+ "name": "DATE_OPERATORS",
61592
+ "declaration": {
61593
+ "name": "DATE_OPERATORS",
61594
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
+ }
61596
+ },
61597
+ {
61598
+ "kind": "js",
61599
+ "name": "DATETIME_OPERATORS",
61600
+ "declaration": {
61601
+ "name": "DATETIME_OPERATORS",
61602
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
+ }
61604
+ },
61605
+ {
61606
+ "kind": "js",
61607
+ "name": "OPERATOR_DISPLAY_LABEL",
61608
+ "declaration": {
61609
+ "name": "OPERATOR_DISPLAY_LABEL",
61610
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
+ }
61612
+ }
61613
+ ]
61614
+ },
61615
+ {
61616
+ "kind": "javascript-module",
61617
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
+ "declarations": [
61619
+ {
61620
+ "kind": "function",
61621
+ "name": "validateClauses",
61622
+ "return": {
61623
+ "type": {
61624
+ "text": "ValidationResult"
61625
+ }
61626
+ },
61627
+ "parameters": [
61628
+ {
61629
+ "name": "clauses",
61630
+ "type": {
61631
+ "text": "CriteriaClause[]"
61632
+ }
61633
+ },
61634
+ {
61635
+ "name": "fieldMetadata",
61636
+ "type": {
61637
+ "text": "MetadataDetail[] | string[]"
61638
+ }
61639
+ }
61640
+ ]
61641
+ },
61642
+ {
61643
+ "kind": "function",
61644
+ "name": "validateGroups",
61645
+ "return": {
61646
+ "type": {
61647
+ "text": "GroupsValidationResult"
61648
+ }
61649
+ },
61650
+ "parameters": [
61651
+ {
61652
+ "name": "groups",
61653
+ "type": {
61654
+ "text": "CriteriaGroup[]"
61655
+ }
61656
+ },
61657
+ {
61658
+ "name": "fieldMetadata",
61659
+ "type": {
61660
+ "text": "MetadataDetail[] | string[]"
61661
+ }
61662
+ }
61663
+ ],
61664
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
+ }
61666
+ ],
61667
+ "exports": [
61668
+ {
61669
+ "kind": "js",
61670
+ "name": "validateClauses",
61671
+ "declaration": {
61672
+ "name": "validateClauses",
61673
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
+ }
61675
+ },
61676
+ {
61677
+ "kind": "js",
61678
+ "name": "validateGroups",
61679
+ "declaration": {
61680
+ "name": "validateGroups",
61681
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
+ }
61683
+ }
61684
+ ]
61685
+ },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",