@genesislcap/foundation-ui 14.456.2 → 14.456.3-alpha-964727d.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -932,6 +932,472 @@
932
932
  }
933
933
  ]
934
934
  },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/_common/affix-mixin.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "mixin",
941
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
942
+ "name": "AffixMixin",
943
+ "members": [
944
+ {
945
+ "kind": "field",
946
+ "name": "prefix",
947
+ "type": {
948
+ "text": "string"
949
+ },
950
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
951
+ },
952
+ {
953
+ "kind": "field",
954
+ "name": "suffix",
955
+ "type": {
956
+ "text": "string"
957
+ },
958
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
+ },
960
+ {
961
+ "kind": "field",
962
+ "name": "hideAffixFromScreenReader",
963
+ "type": {
964
+ "text": "boolean"
965
+ },
966
+ "default": "false",
967
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
968
+ }
969
+ ],
970
+ "parameters": [
971
+ {
972
+ "name": "Base",
973
+ "type": {
974
+ "text": "TBase"
975
+ }
976
+ }
977
+ ]
978
+ }
979
+ ],
980
+ "exports": [
981
+ {
982
+ "kind": "js",
983
+ "name": "AffixMixin",
984
+ "declaration": {
985
+ "name": "AffixMixin",
986
+ "module": "src/_common/affix-mixin.ts"
987
+ }
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "javascript-module",
993
+ "path": "src/_common/base-file-component.ts",
994
+ "declarations": [
995
+ {
996
+ "kind": "class",
997
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
+ "name": "BaseFileComponent",
999
+ "members": [
1000
+ {
1001
+ "kind": "field",
1002
+ "name": "fileInput",
1003
+ "type": {
1004
+ "text": "HTMLInputElement"
1005
+ },
1006
+ "privacy": "public"
1007
+ },
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "selectedFile",
1011
+ "type": {
1012
+ "text": "File | null"
1013
+ },
1014
+ "privacy": "protected",
1015
+ "default": "null"
1016
+ },
1017
+ {
1018
+ "kind": "field",
1019
+ "name": "label",
1020
+ "type": {
1021
+ "text": "string"
1022
+ }
1023
+ },
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "accept",
1027
+ "type": {
1028
+ "text": "string"
1029
+ },
1030
+ "default": "''"
1031
+ },
1032
+ {
1033
+ "kind": "field",
1034
+ "name": "fileSizeLimitBytes",
1035
+ "default": "10_485_760",
1036
+ "type": {
1037
+ "text": "number"
1038
+ }
1039
+ },
1040
+ {
1041
+ "kind": "field",
1042
+ "name": "fileName",
1043
+ "type": {
1044
+ "text": "string"
1045
+ },
1046
+ "default": "''"
1047
+ },
1048
+ {
1049
+ "kind": "field",
1050
+ "name": "isProcessing",
1051
+ "type": {
1052
+ "text": "boolean"
1053
+ },
1054
+ "default": "false"
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "handleClick",
1059
+ "privacy": "public",
1060
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "onInputChange",
1065
+ "privacy": "public",
1066
+ "parameters": [
1067
+ {
1068
+ "name": "e",
1069
+ "type": {
1070
+ "text": "Event"
1071
+ },
1072
+ "description": "The change event from the file input"
1073
+ }
1074
+ ],
1075
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "name": "clearSelection",
1080
+ "privacy": "public",
1081
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
+ },
1083
+ {
1084
+ "kind": "method",
1085
+ "name": "getSelectedFile",
1086
+ "privacy": "public",
1087
+ "description": "Gets the currently selected file object",
1088
+ "return": {
1089
+ "type": {
1090
+ "text": ""
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "showError",
1097
+ "privacy": "protected",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "title",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "description": "The error title"
1105
+ },
1106
+ {
1107
+ "name": "message",
1108
+ "type": {
1109
+ "text": "string"
1110
+ },
1111
+ "description": "The error message"
1112
+ }
1113
+ ],
1114
+ "description": "Shows an error notification using the unified error handling system"
1115
+ },
1116
+ {
1117
+ "kind": "method",
1118
+ "name": "onFileSelected",
1119
+ "privacy": "protected",
1120
+ "return": {
1121
+ "type": {
1122
+ "text": "void"
1123
+ }
1124
+ },
1125
+ "parameters": [
1126
+ {
1127
+ "name": "files",
1128
+ "type": {
1129
+ "text": "File[]"
1130
+ },
1131
+ "description": "The selected file"
1132
+ }
1133
+ ],
1134
+ "description": "Abstract method called when a file is selected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "onFileCleared",
1139
+ "privacy": "protected",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "void"
1143
+ }
1144
+ },
1145
+ "description": "Abstract method called when file selection is cleared"
1146
+ },
1147
+ {
1148
+ "kind": "field",
1149
+ "name": "_presentation",
1150
+ "type": {
1151
+ "text": "ComponentPresentation | null | undefined"
1152
+ },
1153
+ "privacy": "private",
1154
+ "default": "void 0",
1155
+ "inheritedFrom": {
1156
+ "name": "FoundationElement",
1157
+ "module": "src/foundation-element/foundation-element.ts"
1158
+ }
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "$presentation",
1163
+ "type": {
1164
+ "text": "ComponentPresentation | null"
1165
+ },
1166
+ "privacy": "public",
1167
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1168
+ "inheritedFrom": {
1169
+ "name": "FoundationElement",
1170
+ "module": "src/foundation-element/foundation-element.ts"
1171
+ }
1172
+ },
1173
+ {
1174
+ "kind": "field",
1175
+ "name": "template",
1176
+ "type": {
1177
+ "text": "ElementViewTemplate | void | null"
1178
+ },
1179
+ "privacy": "public",
1180
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1181
+ "inheritedFrom": {
1182
+ "name": "FoundationElement",
1183
+ "module": "src/foundation-element/foundation-element.ts"
1184
+ }
1185
+ },
1186
+ {
1187
+ "kind": "method",
1188
+ "name": "templateChanged",
1189
+ "privacy": "protected",
1190
+ "return": {
1191
+ "type": {
1192
+ "text": "void"
1193
+ }
1194
+ },
1195
+ "inheritedFrom": {
1196
+ "name": "FoundationElement",
1197
+ "module": "src/foundation-element/foundation-element.ts"
1198
+ }
1199
+ },
1200
+ {
1201
+ "kind": "field",
1202
+ "name": "styles",
1203
+ "type": {
1204
+ "text": "ElementStyles | void | null"
1205
+ },
1206
+ "privacy": "public",
1207
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1208
+ "inheritedFrom": {
1209
+ "name": "FoundationElement",
1210
+ "module": "src/foundation-element/foundation-element.ts"
1211
+ }
1212
+ },
1213
+ {
1214
+ "kind": "method",
1215
+ "name": "stylesChanged",
1216
+ "privacy": "protected",
1217
+ "return": {
1218
+ "type": {
1219
+ "text": "void"
1220
+ }
1221
+ },
1222
+ "inheritedFrom": {
1223
+ "name": "FoundationElement",
1224
+ "module": "src/foundation-element/foundation-element.ts"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "method",
1229
+ "name": "compose",
1230
+ "privacy": "public",
1231
+ "static": true,
1232
+ "return": {
1233
+ "type": {
1234
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1235
+ }
1236
+ },
1237
+ "parameters": [
1238
+ {
1239
+ "name": "this",
1240
+ "type": {
1241
+ "text": "K"
1242
+ }
1243
+ },
1244
+ {
1245
+ "name": "elementDefinition",
1246
+ "type": {
1247
+ "text": "T"
1248
+ },
1249
+ "description": "The definition of the element to create the registry\nfunction for."
1250
+ }
1251
+ ],
1252
+ "description": "Defines an element registry function with a set of element definition defaults.",
1253
+ "inheritedFrom": {
1254
+ "name": "FoundationElement",
1255
+ "module": "src/foundation-element/foundation-element.ts"
1256
+ }
1257
+ }
1258
+ ],
1259
+ "events": [
1260
+ {
1261
+ "description": "Fired when file size validation fails",
1262
+ "name": "error"
1263
+ },
1264
+ {
1265
+ "description": "Fired when selection is cleared",
1266
+ "name": "clear"
1267
+ }
1268
+ ],
1269
+ "attributes": [
1270
+ {
1271
+ "name": "label",
1272
+ "type": {
1273
+ "text": "string"
1274
+ },
1275
+ "fieldName": "label"
1276
+ },
1277
+ {
1278
+ "name": "accept",
1279
+ "type": {
1280
+ "text": "string"
1281
+ },
1282
+ "default": "''",
1283
+ "fieldName": "accept"
1284
+ },
1285
+ {
1286
+ "name": "file-size-limit-bytes",
1287
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
+ "resolveInitializer": {
1289
+ "module": "src/_common/base-file-component.ts"
1290
+ },
1291
+ "fieldName": "fileSizeLimitBytes"
1292
+ }
1293
+ ],
1294
+ "superclass": {
1295
+ "name": "FoundationElement",
1296
+ "package": "@microsoft/fast-foundation"
1297
+ }
1298
+ }
1299
+ ],
1300
+ "exports": [
1301
+ {
1302
+ "kind": "js",
1303
+ "name": "BaseFileComponent",
1304
+ "declaration": {
1305
+ "name": "BaseFileComponent",
1306
+ "module": "src/_common/base-file-component.ts"
1307
+ }
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "kind": "javascript-module",
1313
+ "path": "src/_common/field-styles.ts",
1314
+ "declarations": [
1315
+ {
1316
+ "kind": "variable",
1317
+ "name": "sharedFieldStyles",
1318
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1319
+ }
1320
+ ],
1321
+ "exports": [
1322
+ {
1323
+ "kind": "js",
1324
+ "name": "sharedFieldStyles",
1325
+ "declaration": {
1326
+ "name": "sharedFieldStyles",
1327
+ "module": "src/_common/field-styles.ts"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/_common/icons.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "function",
1338
+ "name": "closeIcon",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "slot",
1342
+ "default": "'start'"
1343
+ },
1344
+ {
1345
+ "name": "fill",
1346
+ "default": "'#879ba6'"
1347
+ }
1348
+ ]
1349
+ }
1350
+ ],
1351
+ "exports": [
1352
+ {
1353
+ "kind": "js",
1354
+ "name": "closeIcon",
1355
+ "declaration": {
1356
+ "name": "closeIcon",
1357
+ "module": "src/_common/icons.ts"
1358
+ }
1359
+ }
1360
+ ]
1361
+ },
1362
+ {
1363
+ "kind": "javascript-module",
1364
+ "path": "src/_common/index.ts",
1365
+ "declarations": [],
1366
+ "exports": [
1367
+ {
1368
+ "kind": "js",
1369
+ "name": "*",
1370
+ "declaration": {
1371
+ "name": "*",
1372
+ "package": "./affix-mixin"
1373
+ }
1374
+ },
1375
+ {
1376
+ "kind": "js",
1377
+ "name": "*",
1378
+ "declaration": {
1379
+ "name": "*",
1380
+ "package": "./base-file-component"
1381
+ }
1382
+ },
1383
+ {
1384
+ "kind": "js",
1385
+ "name": "*",
1386
+ "declaration": {
1387
+ "name": "*",
1388
+ "package": "./field-styles"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./icons"
1397
+ }
1398
+ }
1399
+ ]
1400
+ },
935
1401
  {
936
1402
  "kind": "javascript-module",
937
1403
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1887,44 +2353,58 @@
1887
2353
  },
1888
2354
  {
1889
2355
  "kind": "javascript-module",
1890
- "path": "src/_common/affix-mixin.ts",
2356
+ "path": "src/_config/index.ts",
2357
+ "declarations": [],
2358
+ "exports": [
2359
+ {
2360
+ "kind": "js",
2361
+ "name": "*",
2362
+ "declaration": {
2363
+ "name": "*",
2364
+ "package": "./styles"
2365
+ }
2366
+ },
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "*",
2370
+ "declaration": {
2371
+ "name": "*",
2372
+ "package": "./tokens"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "*",
2378
+ "declaration": {
2379
+ "name": "*",
2380
+ "package": "./values"
2381
+ }
2382
+ }
2383
+ ]
2384
+ },
2385
+ {
2386
+ "kind": "javascript-module",
2387
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
1891
2388
  "declarations": [
1892
2389
  {
1893
- "kind": "mixin",
1894
- "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.",
1895
- "name": "AffixMixin",
1896
- "members": [
1897
- {
1898
- "kind": "field",
1899
- "name": "prefix",
1900
- "type": {
1901
- "text": "string"
1902
- },
1903
- "description": "Optional non-editable label shown on the left inside the field, before the input."
1904
- },
2390
+ "kind": "function",
2391
+ "name": "foundationAiIndicatorStyles",
2392
+ "return": {
2393
+ "type": {
2394
+ "text": "ElementStyles"
2395
+ }
2396
+ },
2397
+ "parameters": [
1905
2398
  {
1906
- "kind": "field",
1907
- "name": "suffix",
2399
+ "name": "context",
1908
2400
  "type": {
1909
- "text": "string"
1910
- },
1911
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2401
+ "text": "ElementDefinitionContext"
2402
+ }
1912
2403
  },
1913
2404
  {
1914
- "kind": "field",
1915
- "name": "hideAffixFromScreenReader",
1916
- "type": {
1917
- "text": "boolean"
1918
- },
1919
- "default": "false",
1920
- "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."
1921
- }
1922
- ],
1923
- "parameters": [
1924
- {
1925
- "name": "Base",
2405
+ "name": "definition",
1926
2406
  "type": {
1927
- "text": "TBase"
2407
+ "text": "FoundationElementDefinition"
1928
2408
  }
1929
2409
  }
1930
2410
  ]
@@ -1933,169 +2413,225 @@
1933
2413
  "exports": [
1934
2414
  {
1935
2415
  "kind": "js",
1936
- "name": "AffixMixin",
2416
+ "name": "foundationAiIndicatorStyles",
1937
2417
  "declaration": {
1938
- "name": "AffixMixin",
1939
- "module": "src/_common/affix-mixin.ts"
2418
+ "name": "foundationAiIndicatorStyles",
2419
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
1940
2420
  }
1941
2421
  }
1942
2422
  ]
1943
2423
  },
1944
2424
  {
1945
2425
  "kind": "javascript-module",
1946
- "path": "src/_common/base-file-component.ts",
2426
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2427
+ "declarations": [
2428
+ {
2429
+ "kind": "variable",
2430
+ "name": "foundationAiIndicatorTemplate",
2431
+ "type": {
2432
+ "text": "ViewTemplate<AiIndicator>"
2433
+ },
2434
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2435
+ }
2436
+ ],
2437
+ "exports": [
2438
+ {
2439
+ "kind": "js",
2440
+ "name": "foundationAiIndicatorTemplate",
2441
+ "declaration": {
2442
+ "name": "foundationAiIndicatorTemplate",
2443
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2444
+ }
2445
+ }
2446
+ ]
2447
+ },
2448
+ {
2449
+ "kind": "javascript-module",
2450
+ "path": "src/ai-indicator/ai-indicator.ts",
1947
2451
  "declarations": [
1948
2452
  {
1949
2453
  "kind": "class",
1950
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1951
- "name": "BaseFileComponent",
2454
+ "description": "",
2455
+ "name": "AiIndicator",
1952
2456
  "members": [
1953
2457
  {
1954
2458
  "kind": "field",
1955
- "name": "fileInput",
2459
+ "name": "providerRegistry",
1956
2460
  "type": {
1957
- "text": "HTMLInputElement"
2461
+ "text": "AIProviderRegistry"
2462
+ }
2463
+ },
2464
+ {
2465
+ "kind": "field",
2466
+ "name": "aiProvider",
2467
+ "type": {
2468
+ "text": "AIProvider | undefined"
1958
2469
  },
1959
- "privacy": "public"
2470
+ "privacy": "private",
2471
+ "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.",
2472
+ "readonly": true
1960
2473
  },
1961
2474
  {
1962
2475
  "kind": "field",
1963
- "name": "selectedFile",
2476
+ "name": "status",
1964
2477
  "type": {
1965
- "text": "File | null"
2478
+ "text": "AIStatus | null"
1966
2479
  },
1967
- "privacy": "protected",
1968
2480
  "default": "null"
1969
2481
  },
1970
2482
  {
1971
2483
  "kind": "field",
1972
- "name": "label",
2484
+ "name": "open",
1973
2485
  "type": {
1974
- "text": "string"
1975
- }
2486
+ "text": "boolean"
2487
+ },
2488
+ "default": "false"
1976
2489
  },
1977
2490
  {
1978
2491
  "kind": "field",
1979
- "name": "accept",
2492
+ "name": "state",
1980
2493
  "type": {
1981
- "text": "string"
2494
+ "text": "AIIndicatorState"
1982
2495
  },
1983
- "default": "''"
2496
+ "default": "'none'"
1984
2497
  },
1985
2498
  {
1986
2499
  "kind": "field",
1987
- "name": "fileSizeLimitBytes",
1988
- "default": "10_485_760",
2500
+ "name": "isInstalling",
1989
2501
  "type": {
1990
- "text": "number"
1991
- }
2502
+ "text": "boolean"
2503
+ },
2504
+ "default": "false"
1992
2505
  },
1993
2506
  {
1994
2507
  "kind": "field",
1995
- "name": "fileName",
2508
+ "name": "pollTimer",
1996
2509
  "type": {
1997
- "text": "string"
2510
+ "text": "ReturnType<typeof setInterval> | null"
1998
2511
  },
1999
- "default": "''"
2512
+ "privacy": "private",
2513
+ "default": "null"
2000
2514
  },
2001
2515
  {
2002
2516
  "kind": "field",
2003
- "name": "isProcessing",
2517
+ "name": "clickOutside",
2518
+ "privacy": "private"
2519
+ },
2520
+ {
2521
+ "kind": "field",
2522
+ "name": "chromeStatusLabel",
2523
+ "type": {
2524
+ "text": "string | null"
2525
+ },
2526
+ "readonly": true
2527
+ },
2528
+ {
2529
+ "kind": "field",
2530
+ "name": "canInstall",
2004
2531
  "type": {
2005
2532
  "text": "boolean"
2006
2533
  },
2007
- "default": "false"
2534
+ "readonly": true
2535
+ },
2536
+ {
2537
+ "kind": "field",
2538
+ "name": "isDownloading",
2539
+ "type": {
2540
+ "text": "boolean"
2541
+ },
2542
+ "readonly": true
2008
2543
  },
2009
2544
  {
2010
2545
  "kind": "method",
2011
- "name": "handleClick",
2012
- "privacy": "public",
2013
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2546
+ "name": "openChanged",
2547
+ "return": {
2548
+ "type": {
2549
+ "text": "void"
2550
+ }
2551
+ }
2014
2552
  },
2015
2553
  {
2016
2554
  "kind": "method",
2017
- "name": "onInputChange",
2018
- "privacy": "public",
2555
+ "name": "handleClickOutside",
2556
+ "privacy": "private",
2019
2557
  "parameters": [
2020
2558
  {
2021
- "name": "e",
2559
+ "name": "event",
2022
2560
  "type": {
2023
- "text": "Event"
2024
- },
2025
- "description": "The change event from the file input"
2561
+ "text": "MouseEvent"
2562
+ }
2026
2563
  }
2027
- ],
2028
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2564
+ ]
2029
2565
  },
2030
2566
  {
2031
2567
  "kind": "method",
2032
- "name": "clearSelection",
2033
- "privacy": "public",
2034
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2568
+ "name": "toggleDropdown"
2035
2569
  },
2036
2570
  {
2037
2571
  "kind": "method",
2038
- "name": "getSelectedFile",
2039
- "privacy": "public",
2040
- "description": "Gets the currently selected file object",
2572
+ "name": "refreshStatus",
2041
2573
  "return": {
2042
2574
  "type": {
2043
- "text": ""
2575
+ "text": "Promise<void>"
2044
2576
  }
2045
2577
  }
2046
2578
  },
2047
2579
  {
2048
2580
  "kind": "method",
2049
- "name": "showError",
2050
- "privacy": "protected",
2581
+ "name": "deriveState",
2582
+ "privacy": "private",
2583
+ "return": {
2584
+ "type": {
2585
+ "text": "AIIndicatorState"
2586
+ }
2587
+ },
2051
2588
  "parameters": [
2052
2589
  {
2053
- "name": "title",
2054
- "type": {
2055
- "text": "string"
2056
- },
2057
- "description": "The error title"
2058
- },
2059
- {
2060
- "name": "message",
2590
+ "name": "s",
2061
2591
  "type": {
2062
- "text": "string"
2063
- },
2064
- "description": "The error message"
2592
+ "text": "AIStatus | null"
2593
+ }
2065
2594
  }
2066
- ],
2067
- "description": "Shows an error notification using the unified error handling system"
2595
+ ]
2068
2596
  },
2069
2597
  {
2070
2598
  "kind": "method",
2071
- "name": "onFileSelected",
2072
- "privacy": "protected",
2599
+ "name": "maybeStartPolling",
2600
+ "privacy": "private",
2073
2601
  "return": {
2074
2602
  "type": {
2075
2603
  "text": "void"
2076
2604
  }
2077
- },
2078
- "parameters": [
2079
- {
2080
- "name": "files",
2081
- "type": {
2082
- "text": "File[]"
2083
- },
2084
- "description": "The selected file"
2605
+ }
2606
+ },
2607
+ {
2608
+ "kind": "method",
2609
+ "name": "startPolling",
2610
+ "privacy": "private",
2611
+ "return": {
2612
+ "type": {
2613
+ "text": "void"
2085
2614
  }
2086
- ],
2087
- "description": "Abstract method called when a file is selected"
2615
+ }
2088
2616
  },
2089
2617
  {
2090
2618
  "kind": "method",
2091
- "name": "onFileCleared",
2092
- "privacy": "protected",
2619
+ "name": "stopPolling",
2620
+ "privacy": "private",
2093
2621
  "return": {
2094
2622
  "type": {
2095
2623
  "text": "void"
2096
2624
  }
2097
- },
2098
- "description": "Abstract method called when file selection is cleared"
2625
+ }
2626
+ },
2627
+ {
2628
+ "kind": "method",
2629
+ "name": "onInstall",
2630
+ "return": {
2631
+ "type": {
2632
+ "text": "Promise<void>"
2633
+ }
2634
+ }
2099
2635
  },
2100
2636
  {
2101
2637
  "kind": "field",
@@ -2209,144 +2745,88 @@
2209
2745
  }
2210
2746
  }
2211
2747
  ],
2212
- "events": [
2213
- {
2214
- "description": "Fired when file size validation fails",
2215
- "name": "error"
2216
- },
2217
- {
2218
- "description": "Fired when selection is cleared",
2219
- "name": "clear"
2220
- }
2221
- ],
2222
- "attributes": [
2223
- {
2224
- "name": "label",
2225
- "type": {
2226
- "text": "string"
2227
- },
2228
- "fieldName": "label"
2229
- },
2230
- {
2231
- "name": "accept",
2232
- "type": {
2233
- "text": "string"
2234
- },
2235
- "default": "''",
2236
- "fieldName": "accept"
2237
- },
2238
- {
2239
- "name": "file-size-limit-bytes",
2240
- "default": "DEFAULT_FILE_SIZE_LIMIT",
2241
- "resolveInitializer": {
2242
- "module": "src/_common/base-file-component.ts"
2243
- },
2244
- "fieldName": "fileSizeLimitBytes"
2245
- }
2246
- ],
2247
2748
  "superclass": {
2248
2749
  "name": "FoundationElement",
2249
2750
  "package": "@microsoft/fast-foundation"
2250
- }
2751
+ },
2752
+ "tagName": "%%prefix%%-ai-indicator",
2753
+ "customElement": true
2754
+ },
2755
+ {
2756
+ "kind": "variable",
2757
+ "name": "foundationAiIndicator"
2251
2758
  }
2252
2759
  ],
2253
2760
  "exports": [
2254
2761
  {
2255
2762
  "kind": "js",
2256
- "name": "BaseFileComponent",
2763
+ "name": "AiIndicator",
2257
2764
  "declaration": {
2258
- "name": "BaseFileComponent",
2259
- "module": "src/_common/base-file-component.ts"
2765
+ "name": "AiIndicator",
2766
+ "module": "src/ai-indicator/ai-indicator.ts"
2260
2767
  }
2261
- }
2262
- ]
2263
- },
2264
- {
2265
- "kind": "javascript-module",
2266
- "path": "src/_common/field-styles.ts",
2267
- "declarations": [
2268
- {
2269
- "kind": "variable",
2270
- "name": "sharedFieldStyles",
2271
- "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`"
2272
- }
2273
- ],
2274
- "exports": [
2768
+ },
2275
2769
  {
2276
2770
  "kind": "js",
2277
- "name": "sharedFieldStyles",
2771
+ "name": "foundationAiIndicator",
2278
2772
  "declaration": {
2279
- "name": "sharedFieldStyles",
2280
- "module": "src/_common/field-styles.ts"
2773
+ "name": "foundationAiIndicator",
2774
+ "module": "src/ai-indicator/ai-indicator.ts"
2281
2775
  }
2282
2776
  }
2283
2777
  ]
2284
2778
  },
2285
2779
  {
2286
2780
  "kind": "javascript-module",
2287
- "path": "src/_common/icons.ts",
2288
- "declarations": [
2289
- {
2290
- "kind": "function",
2291
- "name": "closeIcon",
2292
- "parameters": [
2293
- {
2294
- "name": "slot",
2295
- "default": "'start'"
2296
- },
2297
- {
2298
- "name": "fill",
2299
- "default": "'#879ba6'"
2300
- }
2301
- ]
2302
- }
2303
- ],
2781
+ "path": "src/ai-indicator/index.ts",
2782
+ "declarations": [],
2304
2783
  "exports": [
2305
2784
  {
2306
2785
  "kind": "js",
2307
- "name": "closeIcon",
2786
+ "name": "AiIndicator",
2308
2787
  "declaration": {
2309
- "name": "closeIcon",
2310
- "module": "src/_common/icons.ts"
2788
+ "name": "AiIndicator",
2789
+ "module": "./ai-indicator"
2311
2790
  }
2312
- }
2313
- ]
2314
- },
2315
- {
2316
- "kind": "javascript-module",
2317
- "path": "src/_common/index.ts",
2318
- "declarations": [],
2319
- "exports": [
2791
+ },
2320
2792
  {
2321
2793
  "kind": "js",
2322
- "name": "*",
2794
+ "name": "foundationAiIndicator",
2323
2795
  "declaration": {
2324
- "name": "*",
2325
- "package": "./affix-mixin"
2796
+ "name": "foundationAiIndicator",
2797
+ "module": "./ai-indicator"
2326
2798
  }
2327
2799
  },
2328
2800
  {
2329
2801
  "kind": "js",
2330
- "name": "*",
2802
+ "name": "type",
2331
2803
  "declaration": {
2332
- "name": "*",
2333
- "package": "./base-file-component"
2804
+ "name": "type",
2805
+ "module": "./ai-indicator"
2334
2806
  }
2335
2807
  },
2336
2808
  {
2337
2809
  "kind": "js",
2338
- "name": "*",
2810
+ "name": "AIIndicatorState",
2339
2811
  "declaration": {
2340
- "name": "*",
2341
- "package": "./field-styles"
2812
+ "name": "AIIndicatorState",
2813
+ "module": "./ai-indicator"
2342
2814
  }
2343
2815
  },
2344
2816
  {
2345
2817
  "kind": "js",
2346
- "name": "*",
2818
+ "name": "foundationAiIndicatorTemplate",
2347
2819
  "declaration": {
2348
- "name": "*",
2349
- "package": "./icons"
2820
+ "name": "foundationAiIndicatorTemplate",
2821
+ "module": "./ai-indicator.template"
2822
+ }
2823
+ },
2824
+ {
2825
+ "kind": "js",
2826
+ "name": "foundationAiIndicatorStyles",
2827
+ "declaration": {
2828
+ "name": "foundationAiIndicatorStyles",
2829
+ "module": "./ai-indicator.styles"
2350
2830
  }
2351
2831
  }
2352
2832
  ]
@@ -2960,486 +3440,6 @@
2960
3440
  }
2961
3441
  ]
2962
3442
  },
2963
- {
2964
- "kind": "javascript-module",
2965
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2966
- "declarations": [
2967
- {
2968
- "kind": "function",
2969
- "name": "foundationAiIndicatorStyles",
2970
- "return": {
2971
- "type": {
2972
- "text": "ElementStyles"
2973
- }
2974
- },
2975
- "parameters": [
2976
- {
2977
- "name": "context",
2978
- "type": {
2979
- "text": "ElementDefinitionContext"
2980
- }
2981
- },
2982
- {
2983
- "name": "definition",
2984
- "type": {
2985
- "text": "FoundationElementDefinition"
2986
- }
2987
- }
2988
- ]
2989
- }
2990
- ],
2991
- "exports": [
2992
- {
2993
- "kind": "js",
2994
- "name": "foundationAiIndicatorStyles",
2995
- "declaration": {
2996
- "name": "foundationAiIndicatorStyles",
2997
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2998
- }
2999
- }
3000
- ]
3001
- },
3002
- {
3003
- "kind": "javascript-module",
3004
- "path": "src/ai-indicator/ai-indicator.template.ts",
3005
- "declarations": [
3006
- {
3007
- "kind": "variable",
3008
- "name": "foundationAiIndicatorTemplate",
3009
- "type": {
3010
- "text": "ViewTemplate<AiIndicator>"
3011
- },
3012
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3013
- }
3014
- ],
3015
- "exports": [
3016
- {
3017
- "kind": "js",
3018
- "name": "foundationAiIndicatorTemplate",
3019
- "declaration": {
3020
- "name": "foundationAiIndicatorTemplate",
3021
- "module": "src/ai-indicator/ai-indicator.template.ts"
3022
- }
3023
- }
3024
- ]
3025
- },
3026
- {
3027
- "kind": "javascript-module",
3028
- "path": "src/ai-indicator/ai-indicator.ts",
3029
- "declarations": [
3030
- {
3031
- "kind": "class",
3032
- "description": "",
3033
- "name": "AiIndicator",
3034
- "members": [
3035
- {
3036
- "kind": "field",
3037
- "name": "providerRegistry",
3038
- "type": {
3039
- "text": "AIProviderRegistry"
3040
- }
3041
- },
3042
- {
3043
- "kind": "field",
3044
- "name": "aiProvider",
3045
- "type": {
3046
- "text": "AIProvider | undefined"
3047
- },
3048
- "privacy": "private",
3049
- "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.",
3050
- "readonly": true
3051
- },
3052
- {
3053
- "kind": "field",
3054
- "name": "status",
3055
- "type": {
3056
- "text": "AIStatus | null"
3057
- },
3058
- "default": "null"
3059
- },
3060
- {
3061
- "kind": "field",
3062
- "name": "open",
3063
- "type": {
3064
- "text": "boolean"
3065
- },
3066
- "default": "false"
3067
- },
3068
- {
3069
- "kind": "field",
3070
- "name": "state",
3071
- "type": {
3072
- "text": "AIIndicatorState"
3073
- },
3074
- "default": "'none'"
3075
- },
3076
- {
3077
- "kind": "field",
3078
- "name": "isInstalling",
3079
- "type": {
3080
- "text": "boolean"
3081
- },
3082
- "default": "false"
3083
- },
3084
- {
3085
- "kind": "field",
3086
- "name": "pollTimer",
3087
- "type": {
3088
- "text": "ReturnType<typeof setInterval> | null"
3089
- },
3090
- "privacy": "private",
3091
- "default": "null"
3092
- },
3093
- {
3094
- "kind": "field",
3095
- "name": "clickOutside",
3096
- "privacy": "private"
3097
- },
3098
- {
3099
- "kind": "field",
3100
- "name": "chromeStatusLabel",
3101
- "type": {
3102
- "text": "string | null"
3103
- },
3104
- "readonly": true
3105
- },
3106
- {
3107
- "kind": "field",
3108
- "name": "canInstall",
3109
- "type": {
3110
- "text": "boolean"
3111
- },
3112
- "readonly": true
3113
- },
3114
- {
3115
- "kind": "field",
3116
- "name": "isDownloading",
3117
- "type": {
3118
- "text": "boolean"
3119
- },
3120
- "readonly": true
3121
- },
3122
- {
3123
- "kind": "method",
3124
- "name": "openChanged",
3125
- "return": {
3126
- "type": {
3127
- "text": "void"
3128
- }
3129
- }
3130
- },
3131
- {
3132
- "kind": "method",
3133
- "name": "handleClickOutside",
3134
- "privacy": "private",
3135
- "parameters": [
3136
- {
3137
- "name": "event",
3138
- "type": {
3139
- "text": "MouseEvent"
3140
- }
3141
- }
3142
- ]
3143
- },
3144
- {
3145
- "kind": "method",
3146
- "name": "toggleDropdown"
3147
- },
3148
- {
3149
- "kind": "method",
3150
- "name": "refreshStatus",
3151
- "return": {
3152
- "type": {
3153
- "text": "Promise<void>"
3154
- }
3155
- }
3156
- },
3157
- {
3158
- "kind": "method",
3159
- "name": "deriveState",
3160
- "privacy": "private",
3161
- "return": {
3162
- "type": {
3163
- "text": "AIIndicatorState"
3164
- }
3165
- },
3166
- "parameters": [
3167
- {
3168
- "name": "s",
3169
- "type": {
3170
- "text": "AIStatus | null"
3171
- }
3172
- }
3173
- ]
3174
- },
3175
- {
3176
- "kind": "method",
3177
- "name": "maybeStartPolling",
3178
- "privacy": "private",
3179
- "return": {
3180
- "type": {
3181
- "text": "void"
3182
- }
3183
- }
3184
- },
3185
- {
3186
- "kind": "method",
3187
- "name": "startPolling",
3188
- "privacy": "private",
3189
- "return": {
3190
- "type": {
3191
- "text": "void"
3192
- }
3193
- }
3194
- },
3195
- {
3196
- "kind": "method",
3197
- "name": "stopPolling",
3198
- "privacy": "private",
3199
- "return": {
3200
- "type": {
3201
- "text": "void"
3202
- }
3203
- }
3204
- },
3205
- {
3206
- "kind": "method",
3207
- "name": "onInstall",
3208
- "return": {
3209
- "type": {
3210
- "text": "Promise<void>"
3211
- }
3212
- }
3213
- },
3214
- {
3215
- "kind": "field",
3216
- "name": "_presentation",
3217
- "type": {
3218
- "text": "ComponentPresentation | null | undefined"
3219
- },
3220
- "privacy": "private",
3221
- "default": "void 0",
3222
- "inheritedFrom": {
3223
- "name": "FoundationElement",
3224
- "module": "src/foundation-element/foundation-element.ts"
3225
- }
3226
- },
3227
- {
3228
- "kind": "field",
3229
- "name": "$presentation",
3230
- "type": {
3231
- "text": "ComponentPresentation | null"
3232
- },
3233
- "privacy": "public",
3234
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3235
- "inheritedFrom": {
3236
- "name": "FoundationElement",
3237
- "module": "src/foundation-element/foundation-element.ts"
3238
- }
3239
- },
3240
- {
3241
- "kind": "field",
3242
- "name": "template",
3243
- "type": {
3244
- "text": "ElementViewTemplate | void | null"
3245
- },
3246
- "privacy": "public",
3247
- "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.",
3248
- "inheritedFrom": {
3249
- "name": "FoundationElement",
3250
- "module": "src/foundation-element/foundation-element.ts"
3251
- }
3252
- },
3253
- {
3254
- "kind": "method",
3255
- "name": "templateChanged",
3256
- "privacy": "protected",
3257
- "return": {
3258
- "type": {
3259
- "text": "void"
3260
- }
3261
- },
3262
- "inheritedFrom": {
3263
- "name": "FoundationElement",
3264
- "module": "src/foundation-element/foundation-element.ts"
3265
- }
3266
- },
3267
- {
3268
- "kind": "field",
3269
- "name": "styles",
3270
- "type": {
3271
- "text": "ElementStyles | void | null"
3272
- },
3273
- "privacy": "public",
3274
- "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.",
3275
- "inheritedFrom": {
3276
- "name": "FoundationElement",
3277
- "module": "src/foundation-element/foundation-element.ts"
3278
- }
3279
- },
3280
- {
3281
- "kind": "method",
3282
- "name": "stylesChanged",
3283
- "privacy": "protected",
3284
- "return": {
3285
- "type": {
3286
- "text": "void"
3287
- }
3288
- },
3289
- "inheritedFrom": {
3290
- "name": "FoundationElement",
3291
- "module": "src/foundation-element/foundation-element.ts"
3292
- }
3293
- },
3294
- {
3295
- "kind": "method",
3296
- "name": "compose",
3297
- "privacy": "public",
3298
- "static": true,
3299
- "return": {
3300
- "type": {
3301
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3302
- }
3303
- },
3304
- "parameters": [
3305
- {
3306
- "name": "this",
3307
- "type": {
3308
- "text": "K"
3309
- }
3310
- },
3311
- {
3312
- "name": "elementDefinition",
3313
- "type": {
3314
- "text": "T"
3315
- },
3316
- "description": "The definition of the element to create the registry\nfunction for."
3317
- }
3318
- ],
3319
- "description": "Defines an element registry function with a set of element definition defaults.",
3320
- "inheritedFrom": {
3321
- "name": "FoundationElement",
3322
- "module": "src/foundation-element/foundation-element.ts"
3323
- }
3324
- }
3325
- ],
3326
- "superclass": {
3327
- "name": "FoundationElement",
3328
- "package": "@microsoft/fast-foundation"
3329
- },
3330
- "tagName": "%%prefix%%-ai-indicator",
3331
- "customElement": true
3332
- },
3333
- {
3334
- "kind": "variable",
3335
- "name": "foundationAiIndicator"
3336
- }
3337
- ],
3338
- "exports": [
3339
- {
3340
- "kind": "js",
3341
- "name": "AiIndicator",
3342
- "declaration": {
3343
- "name": "AiIndicator",
3344
- "module": "src/ai-indicator/ai-indicator.ts"
3345
- }
3346
- },
3347
- {
3348
- "kind": "js",
3349
- "name": "foundationAiIndicator",
3350
- "declaration": {
3351
- "name": "foundationAiIndicator",
3352
- "module": "src/ai-indicator/ai-indicator.ts"
3353
- }
3354
- }
3355
- ]
3356
- },
3357
- {
3358
- "kind": "javascript-module",
3359
- "path": "src/ai-indicator/index.ts",
3360
- "declarations": [],
3361
- "exports": [
3362
- {
3363
- "kind": "js",
3364
- "name": "AiIndicator",
3365
- "declaration": {
3366
- "name": "AiIndicator",
3367
- "module": "./ai-indicator"
3368
- }
3369
- },
3370
- {
3371
- "kind": "js",
3372
- "name": "foundationAiIndicator",
3373
- "declaration": {
3374
- "name": "foundationAiIndicator",
3375
- "module": "./ai-indicator"
3376
- }
3377
- },
3378
- {
3379
- "kind": "js",
3380
- "name": "type",
3381
- "declaration": {
3382
- "name": "type",
3383
- "module": "./ai-indicator"
3384
- }
3385
- },
3386
- {
3387
- "kind": "js",
3388
- "name": "AIIndicatorState",
3389
- "declaration": {
3390
- "name": "AIIndicatorState",
3391
- "module": "./ai-indicator"
3392
- }
3393
- },
3394
- {
3395
- "kind": "js",
3396
- "name": "foundationAiIndicatorTemplate",
3397
- "declaration": {
3398
- "name": "foundationAiIndicatorTemplate",
3399
- "module": "./ai-indicator.template"
3400
- }
3401
- },
3402
- {
3403
- "kind": "js",
3404
- "name": "foundationAiIndicatorStyles",
3405
- "declaration": {
3406
- "name": "foundationAiIndicatorStyles",
3407
- "module": "./ai-indicator.styles"
3408
- }
3409
- }
3410
- ]
3411
- },
3412
- {
3413
- "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
3415
- "declarations": [],
3416
- "exports": [
3417
- {
3418
- "kind": "js",
3419
- "name": "*",
3420
- "declaration": {
3421
- "name": "*",
3422
- "package": "./styles"
3423
- }
3424
- },
3425
- {
3426
- "kind": "js",
3427
- "name": "*",
3428
- "declaration": {
3429
- "name": "*",
3430
- "package": "./tokens"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "*",
3436
- "declaration": {
3437
- "name": "*",
3438
- "package": "./values"
3439
- }
3440
- }
3441
- ]
3442
- },
3443
3443
  {
3444
3444
  "kind": "javascript-module",
3445
3445
  "path": "src/accordion/accordion.styles.ts",
@@ -57691,197 +57691,6 @@
57691
57691
  }
57692
57692
  ]
57693
57693
  },
57694
- {
57695
- "kind": "javascript-module",
57696
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57697
- "declarations": [],
57698
- "exports": []
57699
- },
57700
- {
57701
- "kind": "javascript-module",
57702
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57703
- "declarations": [
57704
- {
57705
- "kind": "function",
57706
- "name": "groupsToCriteria",
57707
- "return": {
57708
- "type": {
57709
- "text": "string"
57710
- }
57711
- },
57712
- "parameters": [
57713
- {
57714
- "name": "groups",
57715
- "type": {
57716
- "text": "CriteriaGroup[]"
57717
- }
57718
- }
57719
- ],
57720
- "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."
57721
- },
57722
- {
57723
- "kind": "variable",
57724
- "name": "STRING_OPERATORS",
57725
- "type": {
57726
- "text": "CriteriaOperator[]"
57727
- },
57728
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57729
- },
57730
- {
57731
- "kind": "variable",
57732
- "name": "NUMERIC_OPERATORS",
57733
- "type": {
57734
- "text": "CriteriaOperator[]"
57735
- },
57736
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57737
- },
57738
- {
57739
- "kind": "variable",
57740
- "name": "DATE_OPERATORS",
57741
- "type": {
57742
- "text": "CriteriaOperator[]"
57743
- },
57744
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57745
- },
57746
- {
57747
- "kind": "variable",
57748
- "name": "DATETIME_OPERATORS",
57749
- "type": {
57750
- "text": "CriteriaOperator[]"
57751
- },
57752
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57753
- },
57754
- {
57755
- "kind": "variable",
57756
- "name": "OPERATOR_DISPLAY_LABEL",
57757
- "type": {
57758
- "text": "Record<CriteriaOperator, string>"
57759
- },
57760
- "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}"
57761
- }
57762
- ],
57763
- "exports": [
57764
- {
57765
- "kind": "js",
57766
- "name": "groupsToCriteria",
57767
- "declaration": {
57768
- "name": "groupsToCriteria",
57769
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57770
- }
57771
- },
57772
- {
57773
- "kind": "js",
57774
- "name": "STRING_OPERATORS",
57775
- "declaration": {
57776
- "name": "STRING_OPERATORS",
57777
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57778
- }
57779
- },
57780
- {
57781
- "kind": "js",
57782
- "name": "NUMERIC_OPERATORS",
57783
- "declaration": {
57784
- "name": "NUMERIC_OPERATORS",
57785
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57786
- }
57787
- },
57788
- {
57789
- "kind": "js",
57790
- "name": "DATE_OPERATORS",
57791
- "declaration": {
57792
- "name": "DATE_OPERATORS",
57793
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57794
- }
57795
- },
57796
- {
57797
- "kind": "js",
57798
- "name": "DATETIME_OPERATORS",
57799
- "declaration": {
57800
- "name": "DATETIME_OPERATORS",
57801
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57802
- }
57803
- },
57804
- {
57805
- "kind": "js",
57806
- "name": "OPERATOR_DISPLAY_LABEL",
57807
- "declaration": {
57808
- "name": "OPERATOR_DISPLAY_LABEL",
57809
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57810
- }
57811
- }
57812
- ]
57813
- },
57814
- {
57815
- "kind": "javascript-module",
57816
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57817
- "declarations": [
57818
- {
57819
- "kind": "function",
57820
- "name": "validateClauses",
57821
- "return": {
57822
- "type": {
57823
- "text": "ValidationResult"
57824
- }
57825
- },
57826
- "parameters": [
57827
- {
57828
- "name": "clauses",
57829
- "type": {
57830
- "text": "CriteriaClause[]"
57831
- }
57832
- },
57833
- {
57834
- "name": "fieldMetadata",
57835
- "type": {
57836
- "text": "MetadataDetail[] | string[]"
57837
- }
57838
- }
57839
- ]
57840
- },
57841
- {
57842
- "kind": "function",
57843
- "name": "validateGroups",
57844
- "return": {
57845
- "type": {
57846
- "text": "GroupsValidationResult"
57847
- }
57848
- },
57849
- "parameters": [
57850
- {
57851
- "name": "groups",
57852
- "type": {
57853
- "text": "CriteriaGroup[]"
57854
- }
57855
- },
57856
- {
57857
- "name": "fieldMetadata",
57858
- "type": {
57859
- "text": "MetadataDetail[] | string[]"
57860
- }
57861
- }
57862
- ],
57863
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57864
- }
57865
- ],
57866
- "exports": [
57867
- {
57868
- "kind": "js",
57869
- "name": "validateClauses",
57870
- "declaration": {
57871
- "name": "validateClauses",
57872
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57873
- }
57874
- },
57875
- {
57876
- "kind": "js",
57877
- "name": "validateGroups",
57878
- "declaration": {
57879
- "name": "validateGroups",
57880
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57881
- }
57882
- }
57883
- ]
57884
- },
57885
57694
  {
57886
57695
  "kind": "javascript-module",
57887
57696
  "path": "src/_config/styles/colors.ts",
@@ -59254,6 +59063,197 @@
59254
59063
  "declarations": [],
59255
59064
  "exports": []
59256
59065
  },
59066
+ {
59067
+ "kind": "javascript-module",
59068
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59069
+ "declarations": [],
59070
+ "exports": []
59071
+ },
59072
+ {
59073
+ "kind": "javascript-module",
59074
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59075
+ "declarations": [
59076
+ {
59077
+ "kind": "function",
59078
+ "name": "groupsToCriteria",
59079
+ "return": {
59080
+ "type": {
59081
+ "text": "string"
59082
+ }
59083
+ },
59084
+ "parameters": [
59085
+ {
59086
+ "name": "groups",
59087
+ "type": {
59088
+ "text": "CriteriaGroup[]"
59089
+ }
59090
+ }
59091
+ ],
59092
+ "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."
59093
+ },
59094
+ {
59095
+ "kind": "variable",
59096
+ "name": "STRING_OPERATORS",
59097
+ "type": {
59098
+ "text": "CriteriaOperator[]"
59099
+ },
59100
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59101
+ },
59102
+ {
59103
+ "kind": "variable",
59104
+ "name": "NUMERIC_OPERATORS",
59105
+ "type": {
59106
+ "text": "CriteriaOperator[]"
59107
+ },
59108
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59109
+ },
59110
+ {
59111
+ "kind": "variable",
59112
+ "name": "DATE_OPERATORS",
59113
+ "type": {
59114
+ "text": "CriteriaOperator[]"
59115
+ },
59116
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59117
+ },
59118
+ {
59119
+ "kind": "variable",
59120
+ "name": "DATETIME_OPERATORS",
59121
+ "type": {
59122
+ "text": "CriteriaOperator[]"
59123
+ },
59124
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59125
+ },
59126
+ {
59127
+ "kind": "variable",
59128
+ "name": "OPERATOR_DISPLAY_LABEL",
59129
+ "type": {
59130
+ "text": "Record<CriteriaOperator, string>"
59131
+ },
59132
+ "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}"
59133
+ }
59134
+ ],
59135
+ "exports": [
59136
+ {
59137
+ "kind": "js",
59138
+ "name": "groupsToCriteria",
59139
+ "declaration": {
59140
+ "name": "groupsToCriteria",
59141
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59142
+ }
59143
+ },
59144
+ {
59145
+ "kind": "js",
59146
+ "name": "STRING_OPERATORS",
59147
+ "declaration": {
59148
+ "name": "STRING_OPERATORS",
59149
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59150
+ }
59151
+ },
59152
+ {
59153
+ "kind": "js",
59154
+ "name": "NUMERIC_OPERATORS",
59155
+ "declaration": {
59156
+ "name": "NUMERIC_OPERATORS",
59157
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59158
+ }
59159
+ },
59160
+ {
59161
+ "kind": "js",
59162
+ "name": "DATE_OPERATORS",
59163
+ "declaration": {
59164
+ "name": "DATE_OPERATORS",
59165
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59166
+ }
59167
+ },
59168
+ {
59169
+ "kind": "js",
59170
+ "name": "DATETIME_OPERATORS",
59171
+ "declaration": {
59172
+ "name": "DATETIME_OPERATORS",
59173
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59174
+ }
59175
+ },
59176
+ {
59177
+ "kind": "js",
59178
+ "name": "OPERATOR_DISPLAY_LABEL",
59179
+ "declaration": {
59180
+ "name": "OPERATOR_DISPLAY_LABEL",
59181
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59182
+ }
59183
+ }
59184
+ ]
59185
+ },
59186
+ {
59187
+ "kind": "javascript-module",
59188
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59189
+ "declarations": [
59190
+ {
59191
+ "kind": "function",
59192
+ "name": "validateClauses",
59193
+ "return": {
59194
+ "type": {
59195
+ "text": "ValidationResult"
59196
+ }
59197
+ },
59198
+ "parameters": [
59199
+ {
59200
+ "name": "clauses",
59201
+ "type": {
59202
+ "text": "CriteriaClause[]"
59203
+ }
59204
+ },
59205
+ {
59206
+ "name": "fieldMetadata",
59207
+ "type": {
59208
+ "text": "MetadataDetail[] | string[]"
59209
+ }
59210
+ }
59211
+ ]
59212
+ },
59213
+ {
59214
+ "kind": "function",
59215
+ "name": "validateGroups",
59216
+ "return": {
59217
+ "type": {
59218
+ "text": "GroupsValidationResult"
59219
+ }
59220
+ },
59221
+ "parameters": [
59222
+ {
59223
+ "name": "groups",
59224
+ "type": {
59225
+ "text": "CriteriaGroup[]"
59226
+ }
59227
+ },
59228
+ {
59229
+ "name": "fieldMetadata",
59230
+ "type": {
59231
+ "text": "MetadataDetail[] | string[]"
59232
+ }
59233
+ }
59234
+ ],
59235
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59236
+ }
59237
+ ],
59238
+ "exports": [
59239
+ {
59240
+ "kind": "js",
59241
+ "name": "validateClauses",
59242
+ "declaration": {
59243
+ "name": "validateClauses",
59244
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59245
+ }
59246
+ },
59247
+ {
59248
+ "kind": "js",
59249
+ "name": "validateGroups",
59250
+ "declaration": {
59251
+ "name": "validateGroups",
59252
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59253
+ }
59254
+ }
59255
+ ]
59256
+ },
59257
59257
  {
59258
59258
  "kind": "javascript-module",
59259
59259
  "path": "src/environment-indicator/utils/configure.ts",