@genesislcap/foundation-ui 14.487.0 → 14.488.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. detail: `Error`",
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",
@@ -1885,6 +2351,37 @@
1885
2351
  }
1886
2352
  ]
1887
2353
  },
2354
+ {
2355
+ "kind": "javascript-module",
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
+ },
1888
2385
  {
1889
2386
  "kind": "javascript-module",
1890
2387
  "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
@@ -2496,11 +2993,11 @@
2496
2993
  },
2497
2994
  {
2498
2995
  "kind": "javascript-module",
2499
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2996
+ "path": "src/accordion/accordion.styles.ts",
2500
2997
  "declarations": [
2501
2998
  {
2502
2999
  "kind": "function",
2503
- "name": "foundationAiIndicatorStyles",
3000
+ "name": "foundationAccordionStyles",
2504
3001
  "return": {
2505
3002
  "type": {
2506
3003
  "text": "ElementStyles"
@@ -2525,224 +3022,276 @@
2525
3022
  "exports": [
2526
3023
  {
2527
3024
  "kind": "js",
2528
- "name": "foundationAiIndicatorStyles",
3025
+ "name": "foundationAccordionStyles",
2529
3026
  "declaration": {
2530
- "name": "foundationAiIndicatorStyles",
2531
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3027
+ "name": "foundationAccordionStyles",
3028
+ "module": "src/accordion/accordion.styles.ts"
2532
3029
  }
2533
3030
  }
2534
3031
  ]
2535
3032
  },
2536
3033
  {
2537
3034
  "kind": "javascript-module",
2538
- "path": "src/ai-indicator/ai-indicator.template.ts",
3035
+ "path": "src/accordion/accordion.template.ts",
2539
3036
  "declarations": [
2540
3037
  {
2541
- "kind": "variable",
2542
- "name": "foundationAiIndicatorTemplate",
2543
- "type": {
2544
- "text": "ViewTemplate<AiIndicator>"
3038
+ "kind": "function",
3039
+ "name": "foundationAccordionTemplate",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "ViewTemplate<Accordion>"
3043
+ }
2545
3044
  },
2546
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3045
+ "parameters": [
3046
+ {
3047
+ "name": "context",
3048
+ "type": {
3049
+ "text": "ElementDefinitionContext"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "definition",
3054
+ "type": {
3055
+ "text": "FoundationElementDefinition"
3056
+ }
3057
+ }
3058
+ ]
2547
3059
  }
2548
3060
  ],
2549
3061
  "exports": [
2550
3062
  {
2551
3063
  "kind": "js",
2552
- "name": "foundationAiIndicatorTemplate",
3064
+ "name": "foundationAccordionTemplate",
2553
3065
  "declaration": {
2554
- "name": "foundationAiIndicatorTemplate",
2555
- "module": "src/ai-indicator/ai-indicator.template.ts"
3066
+ "name": "foundationAccordionTemplate",
3067
+ "module": "src/accordion/accordion.template.ts"
2556
3068
  }
2557
3069
  }
2558
3070
  ]
2559
3071
  },
2560
3072
  {
2561
3073
  "kind": "javascript-module",
2562
- "path": "src/ai-indicator/ai-indicator.ts",
3074
+ "path": "src/accordion/accordion.ts",
2563
3075
  "declarations": [
2564
3076
  {
2565
3077
  "kind": "class",
2566
3078
  "description": "",
2567
- "name": "AiIndicator",
2568
- "members": [
2569
- {
2570
- "kind": "field",
2571
- "name": "providerRegistry",
2572
- "type": {
2573
- "text": "AIProviderRegistry"
2574
- }
2575
- },
2576
- {
2577
- "kind": "field",
2578
- "name": "aiProvider",
2579
- "type": {
2580
- "text": "AIProvider | undefined"
2581
- },
2582
- "privacy": "private",
2583
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2584
- "readonly": true
2585
- },
3079
+ "name": "Accordion",
3080
+ "superclass": {
3081
+ "name": "FASTAccordion",
3082
+ "package": "@microsoft/fast-foundation"
3083
+ },
3084
+ "tagName": "%%prefix%%-accordion",
3085
+ "customElement": true,
3086
+ "attributes": [
2586
3087
  {
2587
- "kind": "field",
2588
- "name": "status",
3088
+ "name": "expand-mode",
2589
3089
  "type": {
2590
- "text": "AIStatus | null"
3090
+ "text": "AccordionExpandMode"
2591
3091
  },
2592
- "default": "null"
2593
- },
3092
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3093
+ "fieldName": "expandmode",
3094
+ "inheritedFrom": {
3095
+ "name": "Accordion",
3096
+ "module": "src/accordion/accordion.ts"
3097
+ }
3098
+ }
3099
+ ],
3100
+ "members": [
2594
3101
  {
2595
3102
  "kind": "field",
2596
- "name": "open",
3103
+ "name": "expandmode",
2597
3104
  "type": {
2598
- "text": "boolean"
3105
+ "text": "AccordionExpandMode"
2599
3106
  },
2600
- "default": "false"
3107
+ "privacy": "public",
3108
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3109
+ "inheritedFrom": {
3110
+ "name": "Accordion",
3111
+ "module": "src/accordion/accordion.ts"
3112
+ }
2601
3113
  },
2602
3114
  {
2603
3115
  "kind": "field",
2604
- "name": "state",
3116
+ "name": "activeid",
2605
3117
  "type": {
2606
- "text": "AIIndicatorState"
3118
+ "text": "string | null"
2607
3119
  },
2608
- "default": "'none'"
3120
+ "privacy": "private",
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
2609
3125
  },
2610
3126
  {
2611
3127
  "kind": "field",
2612
- "name": "isInstalling",
3128
+ "name": "activeItemIndex",
2613
3129
  "type": {
2614
- "text": "boolean"
3130
+ "text": "number"
2615
3131
  },
2616
- "default": "false"
3132
+ "privacy": "private",
3133
+ "default": "0",
3134
+ "inheritedFrom": {
3135
+ "name": "Accordion",
3136
+ "module": "src/accordion/accordion.ts"
3137
+ }
2617
3138
  },
2618
3139
  {
2619
3140
  "kind": "field",
2620
- "name": "pollTimer",
3141
+ "name": "accordionIds",
2621
3142
  "type": {
2622
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "Array<string | null>"
2623
3144
  },
2624
3145
  "privacy": "private",
2625
- "default": "null"
2626
- },
2627
- {
2628
- "kind": "field",
2629
- "name": "clickOutside",
2630
- "privacy": "private"
3146
+ "inheritedFrom": {
3147
+ "name": "Accordion",
3148
+ "module": "src/accordion/accordion.ts"
3149
+ }
2631
3150
  },
2632
3151
  {
2633
3152
  "kind": "field",
2634
- "name": "chromeStatusLabel",
2635
- "type": {
2636
- "text": "string | null"
2637
- },
2638
- "readonly": true
3153
+ "name": "change",
3154
+ "privacy": "private",
3155
+ "inheritedFrom": {
3156
+ "name": "Accordion",
3157
+ "module": "src/accordion/accordion.ts"
3158
+ }
2639
3159
  },
2640
3160
  {
2641
- "kind": "field",
2642
- "name": "canInstall",
2643
- "type": {
2644
- "text": "boolean"
3161
+ "kind": "method",
3162
+ "name": "findExpandedItem",
3163
+ "privacy": "private",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "AccordionItem | null"
3167
+ }
2645
3168
  },
2646
- "readonly": true
3169
+ "inheritedFrom": {
3170
+ "name": "Accordion",
3171
+ "module": "src/accordion/accordion.ts"
3172
+ }
2647
3173
  },
2648
3174
  {
2649
3175
  "kind": "field",
2650
- "name": "isDownloading",
2651
- "type": {
2652
- "text": "boolean"
2653
- },
2654
- "readonly": true
3176
+ "name": "setItems",
3177
+ "privacy": "private",
3178
+ "inheritedFrom": {
3179
+ "name": "Accordion",
3180
+ "module": "src/accordion/accordion.ts"
3181
+ }
2655
3182
  },
2656
3183
  {
2657
3184
  "kind": "method",
2658
- "name": "openChanged",
3185
+ "name": "resetItems",
3186
+ "privacy": "private",
2659
3187
  "return": {
2660
3188
  "type": {
2661
3189
  "text": "void"
2662
3190
  }
3191
+ },
3192
+ "inheritedFrom": {
3193
+ "name": "Accordion",
3194
+ "module": "src/accordion/accordion.ts"
2663
3195
  }
2664
3196
  },
2665
3197
  {
2666
- "kind": "method",
2667
- "name": "handleClickOutside",
3198
+ "kind": "field",
3199
+ "name": "removeItemListeners",
2668
3200
  "privacy": "private",
2669
- "parameters": [
2670
- {
2671
- "name": "event",
2672
- "type": {
2673
- "text": "MouseEvent"
2674
- }
2675
- }
2676
- ]
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
2677
3205
  },
2678
3206
  {
2679
- "kind": "method",
2680
- "name": "toggleDropdown"
3207
+ "kind": "field",
3208
+ "name": "activeItemChange",
3209
+ "privacy": "private",
3210
+ "inheritedFrom": {
3211
+ "name": "Accordion",
3212
+ "module": "src/accordion/accordion.ts"
3213
+ }
2681
3214
  },
2682
3215
  {
2683
3216
  "kind": "method",
2684
- "name": "refreshStatus",
3217
+ "name": "getItemIds",
3218
+ "privacy": "private",
2685
3219
  "return": {
2686
3220
  "type": {
2687
- "text": "Promise<void>"
3221
+ "text": "Array<string | null>"
2688
3222
  }
3223
+ },
3224
+ "inheritedFrom": {
3225
+ "name": "Accordion",
3226
+ "module": "src/accordion/accordion.ts"
2689
3227
  }
2690
3228
  },
2691
3229
  {
2692
3230
  "kind": "method",
2693
- "name": "deriveState",
3231
+ "name": "isSingleExpandMode",
2694
3232
  "privacy": "private",
2695
3233
  "return": {
2696
3234
  "type": {
2697
- "text": "AIIndicatorState"
3235
+ "text": "boolean"
2698
3236
  }
2699
3237
  },
2700
- "parameters": [
2701
- {
2702
- "name": "s",
2703
- "type": {
2704
- "text": "AIStatus | null"
2705
- }
2706
- }
2707
- ]
3238
+ "inheritedFrom": {
3239
+ "name": "Accordion",
3240
+ "module": "src/accordion/accordion.ts"
3241
+ }
2708
3242
  },
2709
3243
  {
2710
- "kind": "method",
2711
- "name": "maybeStartPolling",
3244
+ "kind": "field",
3245
+ "name": "handleItemKeyDown",
2712
3246
  "privacy": "private",
2713
- "return": {
2714
- "type": {
2715
- "text": "void"
2716
- }
3247
+ "inheritedFrom": {
3248
+ "name": "Accordion",
3249
+ "module": "src/accordion/accordion.ts"
2717
3250
  }
2718
3251
  },
2719
3252
  {
2720
- "kind": "method",
2721
- "name": "startPolling",
3253
+ "kind": "field",
3254
+ "name": "handleItemFocus",
2722
3255
  "privacy": "private",
2723
- "return": {
2724
- "type": {
2725
- "text": "void"
2726
- }
3256
+ "inheritedFrom": {
3257
+ "name": "Accordion",
3258
+ "module": "src/accordion/accordion.ts"
2727
3259
  }
2728
3260
  },
2729
3261
  {
2730
3262
  "kind": "method",
2731
- "name": "stopPolling",
3263
+ "name": "adjust",
2732
3264
  "privacy": "private",
2733
3265
  "return": {
2734
3266
  "type": {
2735
3267
  "text": "void"
2736
3268
  }
3269
+ },
3270
+ "parameters": [
3271
+ {
3272
+ "name": "adjustment",
3273
+ "type": {
3274
+ "text": "number"
3275
+ }
3276
+ }
3277
+ ],
3278
+ "inheritedFrom": {
3279
+ "name": "Accordion",
3280
+ "module": "src/accordion/accordion.ts"
2737
3281
  }
2738
3282
  },
2739
3283
  {
2740
3284
  "kind": "method",
2741
- "name": "onInstall",
3285
+ "name": "focusItem",
3286
+ "privacy": "private",
2742
3287
  "return": {
2743
3288
  "type": {
2744
- "text": "Promise<void>"
3289
+ "text": "void"
2745
3290
  }
3291
+ },
3292
+ "inheritedFrom": {
3293
+ "name": "Accordion",
3294
+ "module": "src/accordion/accordion.ts"
2746
3295
  }
2747
3296
  },
2748
3297
  {
@@ -2857,561 +3406,78 @@
2857
3406
  }
2858
3407
  }
2859
3408
  ],
2860
- "superclass": {
2861
- "name": "FoundationElement",
2862
- "package": "@microsoft/fast-foundation"
2863
- },
2864
- "tagName": "%%prefix%%-ai-indicator",
2865
- "customElement": true
2866
- },
2867
- {
2868
- "kind": "variable",
2869
- "name": "foundationAiIndicator"
2870
- }
2871
- ],
2872
- "exports": [
2873
- {
2874
- "kind": "js",
2875
- "name": "AiIndicator",
2876
- "declaration": {
2877
- "name": "AiIndicator",
2878
- "module": "src/ai-indicator/ai-indicator.ts"
2879
- }
2880
- },
2881
- {
2882
- "kind": "js",
2883
- "name": "foundationAiIndicator",
2884
- "declaration": {
2885
- "name": "foundationAiIndicator",
2886
- "module": "src/ai-indicator/ai-indicator.ts"
2887
- }
2888
- }
2889
- ]
2890
- },
2891
- {
2892
- "kind": "javascript-module",
2893
- "path": "src/ai-indicator/index.ts",
2894
- "declarations": [],
2895
- "exports": [
2896
- {
2897
- "kind": "js",
2898
- "name": "AiIndicator",
2899
- "declaration": {
2900
- "name": "AiIndicator",
2901
- "module": "./ai-indicator"
2902
- }
2903
- },
2904
- {
2905
- "kind": "js",
2906
- "name": "foundationAiIndicator",
2907
- "declaration": {
2908
- "name": "foundationAiIndicator",
2909
- "module": "./ai-indicator"
2910
- }
2911
- },
2912
- {
2913
- "kind": "js",
2914
- "name": "type",
2915
- "declaration": {
2916
- "name": "type",
2917
- "module": "./ai-indicator"
2918
- }
2919
- },
2920
- {
2921
- "kind": "js",
2922
- "name": "AIIndicatorState",
2923
- "declaration": {
2924
- "name": "AIIndicatorState",
2925
- "module": "./ai-indicator"
2926
- }
2927
- },
2928
- {
2929
- "kind": "js",
2930
- "name": "foundationAiIndicatorTemplate",
2931
- "declaration": {
2932
- "name": "foundationAiIndicatorTemplate",
2933
- "module": "./ai-indicator.template"
2934
- }
2935
- },
2936
- {
2937
- "kind": "js",
2938
- "name": "foundationAiIndicatorStyles",
2939
- "declaration": {
2940
- "name": "foundationAiIndicatorStyles",
2941
- "module": "./ai-indicator.styles"
2942
- }
2943
- }
2944
- ]
2945
- },
2946
- {
2947
- "kind": "javascript-module",
2948
- "path": "src/_common/affix-mixin.ts",
2949
- "declarations": [
2950
- {
2951
- "kind": "mixin",
2952
- "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
2953
- "name": "AffixMixin",
2954
- "members": [
2955
- {
2956
- "kind": "field",
2957
- "name": "prefix",
2958
- "type": {
2959
- "text": "string"
2960
- },
2961
- "description": "Optional non-editable label shown on the left inside the field, before the input."
2962
- },
2963
- {
2964
- "kind": "field",
2965
- "name": "suffix",
2966
- "type": {
2967
- "text": "string"
2968
- },
2969
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2970
- },
2971
- {
2972
- "kind": "field",
2973
- "name": "hideAffixFromScreenReader",
2974
- "type": {
2975
- "text": "boolean"
2976
- },
2977
- "default": "false",
2978
- "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
2979
- }
2980
- ],
2981
- "parameters": [
2982
- {
2983
- "name": "Base",
2984
- "type": {
2985
- "text": "TBase"
2986
- }
2987
- }
2988
- ]
2989
- }
2990
- ],
2991
- "exports": [
2992
- {
2993
- "kind": "js",
2994
- "name": "AffixMixin",
2995
- "declaration": {
2996
- "name": "AffixMixin",
2997
- "module": "src/_common/affix-mixin.ts"
2998
- }
2999
- }
3000
- ]
3001
- },
3002
- {
3003
- "kind": "javascript-module",
3004
- "path": "src/_common/base-file-component.ts",
3005
- "declarations": [
3006
- {
3007
- "kind": "class",
3008
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3009
- "name": "BaseFileComponent",
3010
- "members": [
3011
- {
3012
- "kind": "field",
3013
- "name": "fileInput",
3014
- "type": {
3015
- "text": "HTMLInputElement"
3016
- },
3017
- "privacy": "public"
3018
- },
3019
- {
3020
- "kind": "field",
3021
- "name": "selectedFile",
3022
- "type": {
3023
- "text": "File | null"
3024
- },
3025
- "privacy": "protected",
3026
- "default": "null"
3027
- },
3028
- {
3029
- "kind": "field",
3030
- "name": "label",
3031
- "type": {
3032
- "text": "string"
3033
- }
3034
- },
3035
- {
3036
- "kind": "field",
3037
- "name": "accept",
3038
- "type": {
3039
- "text": "string"
3040
- },
3041
- "default": "''"
3042
- },
3043
- {
3044
- "kind": "field",
3045
- "name": "fileSizeLimitBytes",
3046
- "default": "10_485_760",
3047
- "type": {
3048
- "text": "number"
3049
- }
3050
- },
3051
- {
3052
- "kind": "field",
3053
- "name": "fileName",
3054
- "type": {
3055
- "text": "string"
3056
- },
3057
- "default": "''"
3058
- },
3059
- {
3060
- "kind": "field",
3061
- "name": "isProcessing",
3062
- "type": {
3063
- "text": "boolean"
3064
- },
3065
- "default": "false"
3066
- },
3067
- {
3068
- "kind": "method",
3069
- "name": "handleClick",
3070
- "privacy": "public",
3071
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3072
- },
3073
- {
3074
- "kind": "method",
3075
- "name": "onInputChange",
3076
- "privacy": "public",
3077
- "parameters": [
3078
- {
3079
- "name": "e",
3080
- "type": {
3081
- "text": "Event"
3082
- },
3083
- "description": "The change event from the file input"
3084
- }
3085
- ],
3086
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3087
- },
3088
- {
3089
- "kind": "method",
3090
- "name": "clearSelection",
3091
- "privacy": "public",
3092
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3093
- },
3094
- {
3095
- "kind": "method",
3096
- "name": "getSelectedFile",
3097
- "privacy": "public",
3098
- "description": "Gets the currently selected file object",
3099
- "return": {
3100
- "type": {
3101
- "text": ""
3102
- }
3103
- }
3104
- },
3105
- {
3106
- "kind": "method",
3107
- "name": "showError",
3108
- "privacy": "protected",
3109
- "parameters": [
3110
- {
3111
- "name": "title",
3112
- "type": {
3113
- "text": "string"
3114
- },
3115
- "description": "The error title"
3116
- },
3117
- {
3118
- "name": "message",
3119
- "type": {
3120
- "text": "string"
3121
- },
3122
- "description": "The error message"
3123
- }
3124
- ],
3125
- "description": "Shows an error notification using the unified error handling system"
3126
- },
3127
- {
3128
- "kind": "method",
3129
- "name": "onFileSelected",
3130
- "privacy": "protected",
3131
- "return": {
3132
- "type": {
3133
- "text": "void"
3134
- }
3135
- },
3136
- "parameters": [
3137
- {
3138
- "name": "files",
3139
- "type": {
3140
- "text": "File[]"
3141
- },
3142
- "description": "The selected file"
3143
- }
3144
- ],
3145
- "description": "Abstract method called when a file is selected"
3146
- },
3147
- {
3148
- "kind": "method",
3149
- "name": "onFileCleared",
3150
- "privacy": "protected",
3151
- "return": {
3152
- "type": {
3153
- "text": "void"
3154
- }
3155
- },
3156
- "description": "Abstract method called when file selection is cleared"
3157
- },
3158
- {
3159
- "kind": "field",
3160
- "name": "_presentation",
3161
- "type": {
3162
- "text": "ComponentPresentation | null | undefined"
3163
- },
3164
- "privacy": "private",
3165
- "default": "void 0",
3166
- "inheritedFrom": {
3167
- "name": "FoundationElement",
3168
- "module": "src/foundation-element/foundation-element.ts"
3169
- }
3170
- },
3171
- {
3172
- "kind": "field",
3173
- "name": "$presentation",
3174
- "type": {
3175
- "text": "ComponentPresentation | null"
3176
- },
3177
- "privacy": "public",
3178
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3179
- "inheritedFrom": {
3180
- "name": "FoundationElement",
3181
- "module": "src/foundation-element/foundation-element.ts"
3182
- }
3183
- },
3184
- {
3185
- "kind": "field",
3186
- "name": "template",
3187
- "type": {
3188
- "text": "ElementViewTemplate | void | null"
3189
- },
3190
- "privacy": "public",
3191
- "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.",
3192
- "inheritedFrom": {
3193
- "name": "FoundationElement",
3194
- "module": "src/foundation-element/foundation-element.ts"
3195
- }
3196
- },
3197
- {
3198
- "kind": "method",
3199
- "name": "templateChanged",
3200
- "privacy": "protected",
3201
- "return": {
3202
- "type": {
3203
- "text": "void"
3204
- }
3205
- },
3206
- "inheritedFrom": {
3207
- "name": "FoundationElement",
3208
- "module": "src/foundation-element/foundation-element.ts"
3209
- }
3210
- },
3211
- {
3212
- "kind": "field",
3213
- "name": "styles",
3214
- "type": {
3215
- "text": "ElementStyles | void | null"
3216
- },
3217
- "privacy": "public",
3218
- "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.",
3219
- "inheritedFrom": {
3220
- "name": "FoundationElement",
3221
- "module": "src/foundation-element/foundation-element.ts"
3222
- }
3223
- },
3224
- {
3225
- "kind": "method",
3226
- "name": "stylesChanged",
3227
- "privacy": "protected",
3228
- "return": {
3229
- "type": {
3230
- "text": "void"
3231
- }
3232
- },
3233
- "inheritedFrom": {
3234
- "name": "FoundationElement",
3235
- "module": "src/foundation-element/foundation-element.ts"
3236
- }
3237
- },
3409
+ "events": [
3238
3410
  {
3239
- "kind": "method",
3240
- "name": "compose",
3241
- "privacy": "public",
3242
- "static": true,
3243
- "return": {
3244
- "type": {
3245
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3246
- }
3247
- },
3248
- "parameters": [
3249
- {
3250
- "name": "this",
3251
- "type": {
3252
- "text": "K"
3253
- }
3254
- },
3255
- {
3256
- "name": "elementDefinition",
3257
- "type": {
3258
- "text": "T"
3259
- },
3260
- "description": "The definition of the element to create the registry\nfunction for."
3261
- }
3262
- ],
3263
- "description": "Defines an element registry function with a set of element definition defaults.",
3411
+ "description": "Fires a custom 'change' event when the active item changes",
3412
+ "name": "change",
3264
3413
  "inheritedFrom": {
3265
- "name": "FoundationElement",
3266
- "module": "src/foundation-element/foundation-element.ts"
3414
+ "name": "Accordion",
3415
+ "module": "src/accordion/accordion.ts"
3267
3416
  }
3268
3417
  }
3269
- ],
3270
- "events": [
3271
- {
3272
- "description": "Fired when file size validation fails. detail: `Error`",
3273
- "name": "error"
3274
- },
3275
- {
3276
- "description": "Fired when selection is cleared",
3277
- "name": "clear"
3278
- }
3279
- ],
3280
- "attributes": [
3281
- {
3282
- "name": "label",
3283
- "type": {
3284
- "text": "string"
3285
- },
3286
- "fieldName": "label"
3287
- },
3288
- {
3289
- "name": "accept",
3290
- "type": {
3291
- "text": "string"
3292
- },
3293
- "default": "''",
3294
- "fieldName": "accept"
3295
- },
3296
- {
3297
- "name": "file-size-limit-bytes",
3298
- "default": "DEFAULT_FILE_SIZE_LIMIT",
3299
- "resolveInitializer": {
3300
- "module": "src/_common/base-file-component.ts"
3301
- },
3302
- "fieldName": "fileSizeLimitBytes"
3303
- }
3304
- ],
3305
- "superclass": {
3306
- "name": "FoundationElement",
3307
- "package": "@microsoft/fast-foundation"
3308
- }
3309
- }
3310
- ],
3311
- "exports": [
3312
- {
3313
- "kind": "js",
3314
- "name": "BaseFileComponent",
3315
- "declaration": {
3316
- "name": "BaseFileComponent",
3317
- "module": "src/_common/base-file-component.ts"
3318
- }
3319
- }
3320
- ]
3321
- },
3322
- {
3323
- "kind": "javascript-module",
3324
- "path": "src/_common/field-styles.ts",
3325
- "declarations": [
3418
+ ]
3419
+ },
3326
3420
  {
3327
3421
  "kind": "variable",
3328
- "name": "sharedFieldStyles",
3329
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
3330
- }
3331
- ],
3332
- "exports": [
3422
+ "name": "foundationAccordionShadowOptions",
3423
+ "type": {
3424
+ "text": "ShadowRootInit"
3425
+ },
3426
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3427
+ },
3333
3428
  {
3334
- "kind": "js",
3335
- "name": "sharedFieldStyles",
3336
- "declaration": {
3337
- "name": "sharedFieldStyles",
3338
- "module": "src/_common/field-styles.ts"
3339
- }
3340
- }
3341
- ]
3342
- },
3343
- {
3344
- "kind": "javascript-module",
3345
- "path": "src/_common/icons.ts",
3346
- "declarations": [
3429
+ "kind": "variable",
3430
+ "name": "defaultAccordionConfig",
3431
+ "type": {
3432
+ "text": "object"
3433
+ },
3434
+ "default": "{}"
3435
+ },
3347
3436
  {
3348
- "kind": "function",
3349
- "name": "closeIcon",
3350
- "parameters": [
3351
- {
3352
- "name": "slot",
3353
- "default": "'start'"
3354
- },
3355
- {
3356
- "name": "fill",
3357
- "default": "'#879ba6'"
3358
- }
3359
- ]
3437
+ "kind": "variable",
3438
+ "name": "foundationAccordion",
3439
+ "description": "The Foundation Accordion",
3440
+ "privacy": "public"
3360
3441
  }
3361
3442
  ],
3362
3443
  "exports": [
3363
3444
  {
3364
3445
  "kind": "js",
3365
- "name": "closeIcon",
3366
- "declaration": {
3367
- "name": "closeIcon",
3368
- "module": "src/_common/icons.ts"
3369
- }
3370
- }
3371
- ]
3372
- },
3373
- {
3374
- "kind": "javascript-module",
3375
- "path": "src/_common/index.ts",
3376
- "declarations": [],
3377
- "exports": [
3378
- {
3379
- "kind": "js",
3380
- "name": "*",
3446
+ "name": "Accordion",
3381
3447
  "declaration": {
3382
- "name": "*",
3383
- "package": "./affix-mixin"
3448
+ "name": "Accordion",
3449
+ "module": "src/accordion/accordion.ts"
3384
3450
  }
3385
3451
  },
3386
3452
  {
3387
3453
  "kind": "js",
3388
- "name": "*",
3454
+ "name": "foundationAccordionShadowOptions",
3389
3455
  "declaration": {
3390
- "name": "*",
3391
- "package": "./base-file-component"
3456
+ "name": "foundationAccordionShadowOptions",
3457
+ "module": "src/accordion/accordion.ts"
3392
3458
  }
3393
3459
  },
3394
3460
  {
3395
3461
  "kind": "js",
3396
- "name": "*",
3462
+ "name": "defaultAccordionConfig",
3397
3463
  "declaration": {
3398
- "name": "*",
3399
- "package": "./field-styles"
3464
+ "name": "defaultAccordionConfig",
3465
+ "module": "src/accordion/accordion.ts"
3400
3466
  }
3401
3467
  },
3402
3468
  {
3403
3469
  "kind": "js",
3404
- "name": "*",
3470
+ "name": "foundationAccordion",
3405
3471
  "declaration": {
3406
- "name": "*",
3407
- "package": "./icons"
3472
+ "name": "foundationAccordion",
3473
+ "module": "src/accordion/accordion.ts"
3408
3474
  }
3409
3475
  }
3410
3476
  ]
3411
3477
  },
3412
3478
  {
3413
3479
  "kind": "javascript-module",
3414
- "path": "src/_config/index.ts",
3480
+ "path": "src/accordion/index.ts",
3415
3481
  "declarations": [],
3416
3482
  "exports": [
3417
3483
  {
@@ -3419,7 +3485,7 @@
3419
3485
  "name": "*",
3420
3486
  "declaration": {
3421
3487
  "name": "*",
3422
- "package": "./styles"
3488
+ "package": "./accordion.template"
3423
3489
  }
3424
3490
  },
3425
3491
  {
@@ -3427,7 +3493,7 @@
3427
3493
  "name": "*",
3428
3494
  "declaration": {
3429
3495
  "name": "*",
3430
- "package": "./tokens"
3496
+ "package": "./accordion.styles"
3431
3497
  }
3432
3498
  },
3433
3499
  {
@@ -3435,18 +3501,18 @@
3435
3501
  "name": "*",
3436
3502
  "declaration": {
3437
3503
  "name": "*",
3438
- "package": "./values"
3504
+ "package": "./accordion"
3439
3505
  }
3440
3506
  }
3441
3507
  ]
3442
3508
  },
3443
3509
  {
3444
3510
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3446
3512
  "declarations": [
3447
3513
  {
3448
3514
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3515
+ "name": "foundationAiIndicatorStyles",
3450
3516
  "return": {
3451
3517
  "type": {
3452
3518
  "text": "ElementStyles"
@@ -3471,276 +3537,224 @@
3471
3537
  "exports": [
3472
3538
  {
3473
3539
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3540
+ "name": "foundationAiIndicatorStyles",
3475
3541
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3478
3544
  }
3479
3545
  }
3480
3546
  ]
3481
3547
  },
3482
3548
  {
3483
3549
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3485
3551
  "declarations": [
3486
3552
  {
3487
- "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3489
- "return": {
3490
- "type": {
3491
- "text": "ViewTemplate<Accordion>"
3492
- }
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3493
3557
  },
3494
- "parameters": [
3495
- {
3496
- "name": "context",
3497
- "type": {
3498
- "text": "ElementDefinitionContext"
3499
- }
3500
- },
3501
- {
3502
- "name": "definition",
3503
- "type": {
3504
- "text": "FoundationElementDefinition"
3505
- }
3506
- }
3507
- ]
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3508
3559
  }
3509
3560
  ],
3510
3561
  "exports": [
3511
3562
  {
3512
3563
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3564
+ "name": "foundationAiIndicatorTemplate",
3514
3565
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3517
3568
  }
3518
3569
  }
3519
3570
  ]
3520
3571
  },
3521
3572
  {
3522
3573
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3524
3575
  "declarations": [
3525
3576
  {
3526
3577
  "kind": "class",
3527
3578
  "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3536
3581
  {
3537
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3538
3584
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProviderRegistry"
3546
3586
  }
3547
- }
3548
- ],
3549
- "members": [
3587
+ },
3550
3588
  {
3551
3589
  "kind": "field",
3552
- "name": "expandmode",
3590
+ "name": "aiProvider",
3553
3591
  "type": {
3554
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3555
3593
  },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3561
- }
3594
+ "privacy": "private",
3595
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
+ "readonly": true
3562
3597
  },
3563
3598
  {
3564
3599
  "kind": "field",
3565
- "name": "activeid",
3600
+ "name": "status",
3566
3601
  "type": {
3567
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3568
3603
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3604
+ "default": "null"
3574
3605
  },
3575
3606
  {
3576
3607
  "kind": "field",
3577
- "name": "activeItemIndex",
3608
+ "name": "open",
3578
3609
  "type": {
3579
- "text": "number"
3610
+ "text": "boolean"
3580
3611
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3612
+ "default": "false"
3587
3613
  },
3588
3614
  {
3589
3615
  "kind": "field",
3590
- "name": "accordionIds",
3616
+ "name": "state",
3591
3617
  "type": {
3592
- "text": "Array<string | null>"
3618
+ "text": "AIIndicatorState"
3593
3619
  },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3598
- }
3620
+ "default": "'none'"
3599
3621
  },
3600
3622
  {
3601
3623
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3607
- }
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3608
3629
  },
3609
3630
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3612
3636
  "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3637
+ "default": "null"
3638
+ },
3639
+ {
3640
+ "kind": "field",
3641
+ "name": "clickOutside",
3642
+ "privacy": "private"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "chromeStatusLabel",
3647
+ "type": {
3648
+ "text": "string | null"
3617
3649
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3650
+ "readonly": true
3622
3651
  },
3623
3652
  {
3624
3653
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3630
- }
3654
+ "name": "canInstall",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "readonly": true
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "isDownloading",
3663
+ "type": {
3664
+ "text": "boolean"
3665
+ },
3666
+ "readonly": true
3631
3667
  },
3632
3668
  {
3633
3669
  "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3670
+ "name": "openChanged",
3636
3671
  "return": {
3637
3672
  "type": {
3638
3673
  "text": "void"
3639
3674
  }
3640
- },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
3675
  }
3645
3676
  },
3646
3677
  {
3647
- "kind": "field",
3648
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3649
3680
  "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3653
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3654
3689
  },
3655
3690
  {
3656
- "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3663
3693
  },
3664
3694
  {
3665
3695
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3696
+ "name": "refreshStatus",
3668
3697
  "return": {
3669
3698
  "type": {
3670
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3671
3700
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3701
  }
3677
3702
  },
3678
3703
  {
3679
3704
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3681
3706
  "privacy": "private",
3682
3707
  "return": {
3683
3708
  "type": {
3684
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3685
3710
  }
3686
3711
  },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3691
3720
  },
3692
3721
  {
3693
- "kind": "field",
3694
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3695
3724
  "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3699
3729
  }
3700
3730
  },
3701
3731
  {
3702
- "kind": "field",
3703
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3704
3734
  "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3708
3739
  }
3709
3740
  },
3710
3741
  {
3711
3742
  "kind": "method",
3712
- "name": "adjust",
3743
+ "name": "stopPolling",
3713
3744
  "privacy": "private",
3714
3745
  "return": {
3715
3746
  "type": {
3716
3747
  "text": "void"
3717
3748
  }
3718
- },
3719
- "parameters": [
3720
- {
3721
- "name": "adjustment",
3722
- "type": {
3723
- "text": "number"
3724
- }
3725
- }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
3749
  }
3731
3750
  },
3732
3751
  {
3733
3752
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3753
+ "name": "onInstall",
3736
3754
  "return": {
3737
3755
  "type": {
3738
- "text": "void"
3756
+ "text": "Promise<void>"
3739
3757
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
3758
  }
3745
3759
  },
3746
3760
  {
@@ -3855,102 +3869,88 @@
3855
3869
  }
3856
3870
  }
3857
3871
  ],
3858
- "events": [
3859
- {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3866
- }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3882
3875
  },
3883
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3884
3878
  },
3885
3879
  {
3886
3880
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3889
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3890
3882
  }
3891
3883
  ],
3892
3884
  "exports": [
3893
3885
  {
3894
3886
  "kind": "js",
3895
- "name": "Accordion",
3887
+ "name": "AiIndicator",
3896
3888
  "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3891
  }
3900
3892
  },
3901
3893
  {
3902
3894
  "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3895
+ "name": "foundationAiIndicator",
3904
3896
  "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
+ }
3900
+ }
3901
+ ]
3902
+ },
3903
+ {
3904
+ "kind": "javascript-module",
3905
+ "path": "src/ai-indicator/index.ts",
3906
+ "declarations": [],
3907
+ "exports": [
3908
+ {
3909
+ "kind": "js",
3910
+ "name": "AiIndicator",
3911
+ "declaration": {
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "defaultAccordionConfig",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "foundationAccordion",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3930
- "declarations": [],
3931
- "exports": [
3931
+ },
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "*",
3934
+ "name": "AIIndicatorState",
3935
3935
  "declaration": {
3936
- "name": "*",
3937
- "package": "./accordion.template"
3936
+ "name": "AIIndicatorState",
3937
+ "module": "./ai-indicator"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "*",
3942
+ "name": "foundationAiIndicatorTemplate",
3943
3943
  "declaration": {
3944
- "name": "*",
3945
- "package": "./accordion.styles"
3944
+ "name": "foundationAiIndicatorTemplate",
3945
+ "module": "./ai-indicator.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "*",
3950
+ "name": "foundationAiIndicatorStyles",
3951
3951
  "declaration": {
3952
- "name": "*",
3953
- "package": "./accordion"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57917,197 +57917,6 @@
57917
57917
  }
57918
57918
  ]
57919
57919
  },
57920
- {
57921
- "kind": "javascript-module",
57922
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57923
- "declarations": [],
57924
- "exports": []
57925
- },
57926
- {
57927
- "kind": "javascript-module",
57928
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57929
- "declarations": [
57930
- {
57931
- "kind": "function",
57932
- "name": "groupsToCriteria",
57933
- "return": {
57934
- "type": {
57935
- "text": "string"
57936
- }
57937
- },
57938
- "parameters": [
57939
- {
57940
- "name": "groups",
57941
- "type": {
57942
- "text": "CriteriaGroup[]"
57943
- }
57944
- }
57945
- ],
57946
- "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."
57947
- },
57948
- {
57949
- "kind": "variable",
57950
- "name": "STRING_OPERATORS",
57951
- "type": {
57952
- "text": "CriteriaOperator[]"
57953
- },
57954
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57955
- },
57956
- {
57957
- "kind": "variable",
57958
- "name": "NUMERIC_OPERATORS",
57959
- "type": {
57960
- "text": "CriteriaOperator[]"
57961
- },
57962
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57963
- },
57964
- {
57965
- "kind": "variable",
57966
- "name": "DATE_OPERATORS",
57967
- "type": {
57968
- "text": "CriteriaOperator[]"
57969
- },
57970
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57971
- },
57972
- {
57973
- "kind": "variable",
57974
- "name": "DATETIME_OPERATORS",
57975
- "type": {
57976
- "text": "CriteriaOperator[]"
57977
- },
57978
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57979
- },
57980
- {
57981
- "kind": "variable",
57982
- "name": "OPERATOR_DISPLAY_LABEL",
57983
- "type": {
57984
- "text": "Record<CriteriaOperator, string>"
57985
- },
57986
- "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}"
57987
- }
57988
- ],
57989
- "exports": [
57990
- {
57991
- "kind": "js",
57992
- "name": "groupsToCriteria",
57993
- "declaration": {
57994
- "name": "groupsToCriteria",
57995
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57996
- }
57997
- },
57998
- {
57999
- "kind": "js",
58000
- "name": "STRING_OPERATORS",
58001
- "declaration": {
58002
- "name": "STRING_OPERATORS",
58003
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58004
- }
58005
- },
58006
- {
58007
- "kind": "js",
58008
- "name": "NUMERIC_OPERATORS",
58009
- "declaration": {
58010
- "name": "NUMERIC_OPERATORS",
58011
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58012
- }
58013
- },
58014
- {
58015
- "kind": "js",
58016
- "name": "DATE_OPERATORS",
58017
- "declaration": {
58018
- "name": "DATE_OPERATORS",
58019
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58020
- }
58021
- },
58022
- {
58023
- "kind": "js",
58024
- "name": "DATETIME_OPERATORS",
58025
- "declaration": {
58026
- "name": "DATETIME_OPERATORS",
58027
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58028
- }
58029
- },
58030
- {
58031
- "kind": "js",
58032
- "name": "OPERATOR_DISPLAY_LABEL",
58033
- "declaration": {
58034
- "name": "OPERATOR_DISPLAY_LABEL",
58035
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58036
- }
58037
- }
58038
- ]
58039
- },
58040
- {
58041
- "kind": "javascript-module",
58042
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58043
- "declarations": [
58044
- {
58045
- "kind": "function",
58046
- "name": "validateClauses",
58047
- "return": {
58048
- "type": {
58049
- "text": "ValidationResult"
58050
- }
58051
- },
58052
- "parameters": [
58053
- {
58054
- "name": "clauses",
58055
- "type": {
58056
- "text": "CriteriaClause[]"
58057
- }
58058
- },
58059
- {
58060
- "name": "fieldMetadata",
58061
- "type": {
58062
- "text": "MetadataDetail[] | string[]"
58063
- }
58064
- }
58065
- ]
58066
- },
58067
- {
58068
- "kind": "function",
58069
- "name": "validateGroups",
58070
- "return": {
58071
- "type": {
58072
- "text": "GroupsValidationResult"
58073
- }
58074
- },
58075
- "parameters": [
58076
- {
58077
- "name": "groups",
58078
- "type": {
58079
- "text": "CriteriaGroup[]"
58080
- }
58081
- },
58082
- {
58083
- "name": "fieldMetadata",
58084
- "type": {
58085
- "text": "MetadataDetail[] | string[]"
58086
- }
58087
- }
58088
- ],
58089
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58090
- }
58091
- ],
58092
- "exports": [
58093
- {
58094
- "kind": "js",
58095
- "name": "validateClauses",
58096
- "declaration": {
58097
- "name": "validateClauses",
58098
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58099
- }
58100
- },
58101
- {
58102
- "kind": "js",
58103
- "name": "validateGroups",
58104
- "declaration": {
58105
- "name": "validateGroups",
58106
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58107
- }
58108
- }
58109
- ]
58110
- },
58111
57920
  {
58112
57921
  "kind": "javascript-module",
58113
57922
  "path": "src/_config/styles/colors.ts",
@@ -59480,6 +59289,197 @@
59480
59289
  "declarations": [],
59481
59290
  "exports": []
59482
59291
  },
59292
+ {
59293
+ "kind": "javascript-module",
59294
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59295
+ "declarations": [],
59296
+ "exports": []
59297
+ },
59298
+ {
59299
+ "kind": "javascript-module",
59300
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59301
+ "declarations": [
59302
+ {
59303
+ "kind": "function",
59304
+ "name": "groupsToCriteria",
59305
+ "return": {
59306
+ "type": {
59307
+ "text": "string"
59308
+ }
59309
+ },
59310
+ "parameters": [
59311
+ {
59312
+ "name": "groups",
59313
+ "type": {
59314
+ "text": "CriteriaGroup[]"
59315
+ }
59316
+ }
59317
+ ],
59318
+ "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."
59319
+ },
59320
+ {
59321
+ "kind": "variable",
59322
+ "name": "STRING_OPERATORS",
59323
+ "type": {
59324
+ "text": "CriteriaOperator[]"
59325
+ },
59326
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59327
+ },
59328
+ {
59329
+ "kind": "variable",
59330
+ "name": "NUMERIC_OPERATORS",
59331
+ "type": {
59332
+ "text": "CriteriaOperator[]"
59333
+ },
59334
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59335
+ },
59336
+ {
59337
+ "kind": "variable",
59338
+ "name": "DATE_OPERATORS",
59339
+ "type": {
59340
+ "text": "CriteriaOperator[]"
59341
+ },
59342
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59343
+ },
59344
+ {
59345
+ "kind": "variable",
59346
+ "name": "DATETIME_OPERATORS",
59347
+ "type": {
59348
+ "text": "CriteriaOperator[]"
59349
+ },
59350
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59351
+ },
59352
+ {
59353
+ "kind": "variable",
59354
+ "name": "OPERATOR_DISPLAY_LABEL",
59355
+ "type": {
59356
+ "text": "Record<CriteriaOperator, string>"
59357
+ },
59358
+ "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}"
59359
+ }
59360
+ ],
59361
+ "exports": [
59362
+ {
59363
+ "kind": "js",
59364
+ "name": "groupsToCriteria",
59365
+ "declaration": {
59366
+ "name": "groupsToCriteria",
59367
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59368
+ }
59369
+ },
59370
+ {
59371
+ "kind": "js",
59372
+ "name": "STRING_OPERATORS",
59373
+ "declaration": {
59374
+ "name": "STRING_OPERATORS",
59375
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59376
+ }
59377
+ },
59378
+ {
59379
+ "kind": "js",
59380
+ "name": "NUMERIC_OPERATORS",
59381
+ "declaration": {
59382
+ "name": "NUMERIC_OPERATORS",
59383
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59384
+ }
59385
+ },
59386
+ {
59387
+ "kind": "js",
59388
+ "name": "DATE_OPERATORS",
59389
+ "declaration": {
59390
+ "name": "DATE_OPERATORS",
59391
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59392
+ }
59393
+ },
59394
+ {
59395
+ "kind": "js",
59396
+ "name": "DATETIME_OPERATORS",
59397
+ "declaration": {
59398
+ "name": "DATETIME_OPERATORS",
59399
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59400
+ }
59401
+ },
59402
+ {
59403
+ "kind": "js",
59404
+ "name": "OPERATOR_DISPLAY_LABEL",
59405
+ "declaration": {
59406
+ "name": "OPERATOR_DISPLAY_LABEL",
59407
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59408
+ }
59409
+ }
59410
+ ]
59411
+ },
59412
+ {
59413
+ "kind": "javascript-module",
59414
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59415
+ "declarations": [
59416
+ {
59417
+ "kind": "function",
59418
+ "name": "validateClauses",
59419
+ "return": {
59420
+ "type": {
59421
+ "text": "ValidationResult"
59422
+ }
59423
+ },
59424
+ "parameters": [
59425
+ {
59426
+ "name": "clauses",
59427
+ "type": {
59428
+ "text": "CriteriaClause[]"
59429
+ }
59430
+ },
59431
+ {
59432
+ "name": "fieldMetadata",
59433
+ "type": {
59434
+ "text": "MetadataDetail[] | string[]"
59435
+ }
59436
+ }
59437
+ ]
59438
+ },
59439
+ {
59440
+ "kind": "function",
59441
+ "name": "validateGroups",
59442
+ "return": {
59443
+ "type": {
59444
+ "text": "GroupsValidationResult"
59445
+ }
59446
+ },
59447
+ "parameters": [
59448
+ {
59449
+ "name": "groups",
59450
+ "type": {
59451
+ "text": "CriteriaGroup[]"
59452
+ }
59453
+ },
59454
+ {
59455
+ "name": "fieldMetadata",
59456
+ "type": {
59457
+ "text": "MetadataDetail[] | string[]"
59458
+ }
59459
+ }
59460
+ ],
59461
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59462
+ }
59463
+ ],
59464
+ "exports": [
59465
+ {
59466
+ "kind": "js",
59467
+ "name": "validateClauses",
59468
+ "declaration": {
59469
+ "name": "validateClauses",
59470
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59471
+ }
59472
+ },
59473
+ {
59474
+ "kind": "js",
59475
+ "name": "validateGroups",
59476
+ "declaration": {
59477
+ "name": "validateGroups",
59478
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59479
+ }
59480
+ }
59481
+ ]
59482
+ },
59483
59483
  {
59484
59484
  "kind": "javascript-module",
59485
59485
  "path": "src/environment-indicator/utils/configure.ts",