@genesislcap/foundation-ui 14.468.0-FUI-2555.1 → 14.468.0-FUI-2555.2

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",
@@ -1326,6 +1792,37 @@
1326
1792
  }
1327
1793
  ]
1328
1794
  },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1329
1826
  {
1330
1827
  "kind": "javascript-module",
1331
1828
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1887,473 +2384,7 @@
1887
2384
  },
1888
2385
  {
1889
2386
  "kind": "javascript-module",
1890
- "path": "src/_common/affix-mixin.ts",
1891
- "declarations": [
1892
- {
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
- },
1905
- {
1906
- "kind": "field",
1907
- "name": "suffix",
1908
- "type": {
1909
- "text": "string"
1910
- },
1911
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1912
- },
1913
- {
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",
1926
- "type": {
1927
- "text": "TBase"
1928
- }
1929
- }
1930
- ]
1931
- }
1932
- ],
1933
- "exports": [
1934
- {
1935
- "kind": "js",
1936
- "name": "AffixMixin",
1937
- "declaration": {
1938
- "name": "AffixMixin",
1939
- "module": "src/_common/affix-mixin.ts"
1940
- }
1941
- }
1942
- ]
1943
- },
1944
- {
1945
- "kind": "javascript-module",
1946
- "path": "src/_common/base-file-component.ts",
1947
- "declarations": [
1948
- {
1949
- "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",
1952
- "members": [
1953
- {
1954
- "kind": "field",
1955
- "name": "fileInput",
1956
- "type": {
1957
- "text": "HTMLInputElement"
1958
- },
1959
- "privacy": "public"
1960
- },
1961
- {
1962
- "kind": "field",
1963
- "name": "selectedFile",
1964
- "type": {
1965
- "text": "File | null"
1966
- },
1967
- "privacy": "protected",
1968
- "default": "null"
1969
- },
1970
- {
1971
- "kind": "field",
1972
- "name": "label",
1973
- "type": {
1974
- "text": "string"
1975
- }
1976
- },
1977
- {
1978
- "kind": "field",
1979
- "name": "accept",
1980
- "type": {
1981
- "text": "string"
1982
- },
1983
- "default": "''"
1984
- },
1985
- {
1986
- "kind": "field",
1987
- "name": "fileSizeLimitBytes",
1988
- "default": "10_485_760",
1989
- "type": {
1990
- "text": "number"
1991
- }
1992
- },
1993
- {
1994
- "kind": "field",
1995
- "name": "fileName",
1996
- "type": {
1997
- "text": "string"
1998
- },
1999
- "default": "''"
2000
- },
2001
- {
2002
- "kind": "field",
2003
- "name": "isProcessing",
2004
- "type": {
2005
- "text": "boolean"
2006
- },
2007
- "default": "false"
2008
- },
2009
- {
2010
- "kind": "method",
2011
- "name": "handleClick",
2012
- "privacy": "public",
2013
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "onInputChange",
2018
- "privacy": "public",
2019
- "parameters": [
2020
- {
2021
- "name": "e",
2022
- "type": {
2023
- "text": "Event"
2024
- },
2025
- "description": "The change event from the file input"
2026
- }
2027
- ],
2028
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2029
- },
2030
- {
2031
- "kind": "method",
2032
- "name": "clearSelection",
2033
- "privacy": "public",
2034
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
2035
- },
2036
- {
2037
- "kind": "method",
2038
- "name": "getSelectedFile",
2039
- "privacy": "public",
2040
- "description": "Gets the currently selected file object",
2041
- "return": {
2042
- "type": {
2043
- "text": ""
2044
- }
2045
- }
2046
- },
2047
- {
2048
- "kind": "method",
2049
- "name": "showError",
2050
- "privacy": "protected",
2051
- "parameters": [
2052
- {
2053
- "name": "title",
2054
- "type": {
2055
- "text": "string"
2056
- },
2057
- "description": "The error title"
2058
- },
2059
- {
2060
- "name": "message",
2061
- "type": {
2062
- "text": "string"
2063
- },
2064
- "description": "The error message"
2065
- }
2066
- ],
2067
- "description": "Shows an error notification using the unified error handling system"
2068
- },
2069
- {
2070
- "kind": "method",
2071
- "name": "onFileSelected",
2072
- "privacy": "protected",
2073
- "return": {
2074
- "type": {
2075
- "text": "void"
2076
- }
2077
- },
2078
- "parameters": [
2079
- {
2080
- "name": "files",
2081
- "type": {
2082
- "text": "File[]"
2083
- },
2084
- "description": "The selected file"
2085
- }
2086
- ],
2087
- "description": "Abstract method called when a file is selected"
2088
- },
2089
- {
2090
- "kind": "method",
2091
- "name": "onFileCleared",
2092
- "privacy": "protected",
2093
- "return": {
2094
- "type": {
2095
- "text": "void"
2096
- }
2097
- },
2098
- "description": "Abstract method called when file selection is cleared"
2099
- },
2100
- {
2101
- "kind": "field",
2102
- "name": "_presentation",
2103
- "type": {
2104
- "text": "ComponentPresentation | null | undefined"
2105
- },
2106
- "privacy": "private",
2107
- "default": "void 0",
2108
- "inheritedFrom": {
2109
- "name": "FoundationElement",
2110
- "module": "src/foundation-element/foundation-element.ts"
2111
- }
2112
- },
2113
- {
2114
- "kind": "field",
2115
- "name": "$presentation",
2116
- "type": {
2117
- "text": "ComponentPresentation | null"
2118
- },
2119
- "privacy": "public",
2120
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2121
- "inheritedFrom": {
2122
- "name": "FoundationElement",
2123
- "module": "src/foundation-element/foundation-element.ts"
2124
- }
2125
- },
2126
- {
2127
- "kind": "field",
2128
- "name": "template",
2129
- "type": {
2130
- "text": "ElementViewTemplate | void | null"
2131
- },
2132
- "privacy": "public",
2133
- "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.",
2134
- "inheritedFrom": {
2135
- "name": "FoundationElement",
2136
- "module": "src/foundation-element/foundation-element.ts"
2137
- }
2138
- },
2139
- {
2140
- "kind": "method",
2141
- "name": "templateChanged",
2142
- "privacy": "protected",
2143
- "return": {
2144
- "type": {
2145
- "text": "void"
2146
- }
2147
- },
2148
- "inheritedFrom": {
2149
- "name": "FoundationElement",
2150
- "module": "src/foundation-element/foundation-element.ts"
2151
- }
2152
- },
2153
- {
2154
- "kind": "field",
2155
- "name": "styles",
2156
- "type": {
2157
- "text": "ElementStyles | void | null"
2158
- },
2159
- "privacy": "public",
2160
- "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.",
2161
- "inheritedFrom": {
2162
- "name": "FoundationElement",
2163
- "module": "src/foundation-element/foundation-element.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "method",
2168
- "name": "stylesChanged",
2169
- "privacy": "protected",
2170
- "return": {
2171
- "type": {
2172
- "text": "void"
2173
- }
2174
- },
2175
- "inheritedFrom": {
2176
- "name": "FoundationElement",
2177
- "module": "src/foundation-element/foundation-element.ts"
2178
- }
2179
- },
2180
- {
2181
- "kind": "method",
2182
- "name": "compose",
2183
- "privacy": "public",
2184
- "static": true,
2185
- "return": {
2186
- "type": {
2187
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2188
- }
2189
- },
2190
- "parameters": [
2191
- {
2192
- "name": "this",
2193
- "type": {
2194
- "text": "K"
2195
- }
2196
- },
2197
- {
2198
- "name": "elementDefinition",
2199
- "type": {
2200
- "text": "T"
2201
- },
2202
- "description": "The definition of the element to create the registry\nfunction for."
2203
- }
2204
- ],
2205
- "description": "Defines an element registry function with a set of element definition defaults.",
2206
- "inheritedFrom": {
2207
- "name": "FoundationElement",
2208
- "module": "src/foundation-element/foundation-element.ts"
2209
- }
2210
- }
2211
- ],
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
- "superclass": {
2248
- "name": "FoundationElement",
2249
- "package": "@microsoft/fast-foundation"
2250
- }
2251
- }
2252
- ],
2253
- "exports": [
2254
- {
2255
- "kind": "js",
2256
- "name": "BaseFileComponent",
2257
- "declaration": {
2258
- "name": "BaseFileComponent",
2259
- "module": "src/_common/base-file-component.ts"
2260
- }
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": [
2275
- {
2276
- "kind": "js",
2277
- "name": "sharedFieldStyles",
2278
- "declaration": {
2279
- "name": "sharedFieldStyles",
2280
- "module": "src/_common/field-styles.ts"
2281
- }
2282
- }
2283
- ]
2284
- },
2285
- {
2286
- "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
- ],
2304
- "exports": [
2305
- {
2306
- "kind": "js",
2307
- "name": "closeIcon",
2308
- "declaration": {
2309
- "name": "closeIcon",
2310
- "module": "src/_common/icons.ts"
2311
- }
2312
- }
2313
- ]
2314
- },
2315
- {
2316
- "kind": "javascript-module",
2317
- "path": "src/_common/index.ts",
2318
- "declarations": [],
2319
- "exports": [
2320
- {
2321
- "kind": "js",
2322
- "name": "*",
2323
- "declaration": {
2324
- "name": "*",
2325
- "package": "./affix-mixin"
2326
- }
2327
- },
2328
- {
2329
- "kind": "js",
2330
- "name": "*",
2331
- "declaration": {
2332
- "name": "*",
2333
- "package": "./base-file-component"
2334
- }
2335
- },
2336
- {
2337
- "kind": "js",
2338
- "name": "*",
2339
- "declaration": {
2340
- "name": "*",
2341
- "package": "./field-styles"
2342
- }
2343
- },
2344
- {
2345
- "kind": "js",
2346
- "name": "*",
2347
- "declaration": {
2348
- "name": "*",
2349
- "package": "./icons"
2350
- }
2351
- }
2352
- ]
2353
- },
2354
- {
2355
- "kind": "javascript-module",
2356
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2357
2388
  "declarations": [
2358
2389
  {
2359
2390
  "kind": "variable",
@@ -2962,11 +2993,11 @@
2962
2993
  },
2963
2994
  {
2964
2995
  "kind": "javascript-module",
2965
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2996
+ "path": "src/accordion/accordion.styles.ts",
2966
2997
  "declarations": [
2967
2998
  {
2968
2999
  "kind": "function",
2969
- "name": "foundationAiIndicatorStyles",
3000
+ "name": "foundationAccordionStyles",
2970
3001
  "return": {
2971
3002
  "type": {
2972
3003
  "text": "ElementStyles"
@@ -2991,224 +3022,276 @@
2991
3022
  "exports": [
2992
3023
  {
2993
3024
  "kind": "js",
2994
- "name": "foundationAiIndicatorStyles",
3025
+ "name": "foundationAccordionStyles",
2995
3026
  "declaration": {
2996
- "name": "foundationAiIndicatorStyles",
2997
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3027
+ "name": "foundationAccordionStyles",
3028
+ "module": "src/accordion/accordion.styles.ts"
2998
3029
  }
2999
3030
  }
3000
3031
  ]
3001
3032
  },
3002
3033
  {
3003
3034
  "kind": "javascript-module",
3004
- "path": "src/ai-indicator/ai-indicator.template.ts",
3035
+ "path": "src/accordion/accordion.template.ts",
3005
3036
  "declarations": [
3006
3037
  {
3007
- "kind": "variable",
3008
- "name": "foundationAiIndicatorTemplate",
3009
- "type": {
3010
- "text": "ViewTemplate<AiIndicator>"
3038
+ "kind": "function",
3039
+ "name": "foundationAccordionTemplate",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "ViewTemplate<Accordion>"
3043
+ }
3011
3044
  },
3012
- "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
+ ]
3013
3059
  }
3014
3060
  ],
3015
3061
  "exports": [
3016
3062
  {
3017
3063
  "kind": "js",
3018
- "name": "foundationAiIndicatorTemplate",
3064
+ "name": "foundationAccordionTemplate",
3019
3065
  "declaration": {
3020
- "name": "foundationAiIndicatorTemplate",
3021
- "module": "src/ai-indicator/ai-indicator.template.ts"
3066
+ "name": "foundationAccordionTemplate",
3067
+ "module": "src/accordion/accordion.template.ts"
3022
3068
  }
3023
3069
  }
3024
3070
  ]
3025
3071
  },
3026
3072
  {
3027
3073
  "kind": "javascript-module",
3028
- "path": "src/ai-indicator/ai-indicator.ts",
3074
+ "path": "src/accordion/accordion.ts",
3029
3075
  "declarations": [
3030
3076
  {
3031
3077
  "kind": "class",
3032
3078
  "description": "",
3033
- "name": "AiIndicator",
3034
- "members": [
3079
+ "name": "Accordion",
3080
+ "superclass": {
3081
+ "name": "FASTAccordion",
3082
+ "package": "@microsoft/fast-foundation"
3083
+ },
3084
+ "tagName": "%%prefix%%-accordion",
3085
+ "customElement": true,
3086
+ "attributes": [
3035
3087
  {
3036
- "kind": "field",
3037
- "name": "providerRegistry",
3088
+ "name": "expand-mode",
3038
3089
  "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"
3090
+ "text": "AccordionExpandMode"
3057
3091
  },
3058
- "default": "null"
3059
- },
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": [
3060
3101
  {
3061
3102
  "kind": "field",
3062
- "name": "open",
3103
+ "name": "expandmode",
3063
3104
  "type": {
3064
- "text": "boolean"
3105
+ "text": "AccordionExpandMode"
3065
3106
  },
3066
- "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
+ }
3067
3113
  },
3068
3114
  {
3069
3115
  "kind": "field",
3070
- "name": "state",
3116
+ "name": "activeid",
3071
3117
  "type": {
3072
- "text": "AIIndicatorState"
3118
+ "text": "string | null"
3073
3119
  },
3074
- "default": "'none'"
3120
+ "privacy": "private",
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
3075
3125
  },
3076
3126
  {
3077
3127
  "kind": "field",
3078
- "name": "isInstalling",
3128
+ "name": "activeItemIndex",
3079
3129
  "type": {
3080
- "text": "boolean"
3130
+ "text": "number"
3081
3131
  },
3082
- "default": "false"
3132
+ "privacy": "private",
3133
+ "default": "0",
3134
+ "inheritedFrom": {
3135
+ "name": "Accordion",
3136
+ "module": "src/accordion/accordion.ts"
3137
+ }
3083
3138
  },
3084
3139
  {
3085
3140
  "kind": "field",
3086
- "name": "pollTimer",
3141
+ "name": "accordionIds",
3087
3142
  "type": {
3088
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "Array<string | null>"
3089
3144
  },
3090
3145
  "privacy": "private",
3091
- "default": "null"
3092
- },
3093
- {
3094
- "kind": "field",
3095
- "name": "clickOutside",
3096
- "privacy": "private"
3146
+ "inheritedFrom": {
3147
+ "name": "Accordion",
3148
+ "module": "src/accordion/accordion.ts"
3149
+ }
3097
3150
  },
3098
3151
  {
3099
3152
  "kind": "field",
3100
- "name": "chromeStatusLabel",
3101
- "type": {
3102
- "text": "string | null"
3103
- },
3104
- "readonly": true
3153
+ "name": "change",
3154
+ "privacy": "private",
3155
+ "inheritedFrom": {
3156
+ "name": "Accordion",
3157
+ "module": "src/accordion/accordion.ts"
3158
+ }
3105
3159
  },
3106
3160
  {
3107
- "kind": "field",
3108
- "name": "canInstall",
3109
- "type": {
3110
- "text": "boolean"
3161
+ "kind": "method",
3162
+ "name": "findExpandedItem",
3163
+ "privacy": "private",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "AccordionItem | null"
3167
+ }
3111
3168
  },
3112
- "readonly": true
3169
+ "inheritedFrom": {
3170
+ "name": "Accordion",
3171
+ "module": "src/accordion/accordion.ts"
3172
+ }
3113
3173
  },
3114
3174
  {
3115
3175
  "kind": "field",
3116
- "name": "isDownloading",
3117
- "type": {
3118
- "text": "boolean"
3119
- },
3120
- "readonly": true
3176
+ "name": "setItems",
3177
+ "privacy": "private",
3178
+ "inheritedFrom": {
3179
+ "name": "Accordion",
3180
+ "module": "src/accordion/accordion.ts"
3181
+ }
3121
3182
  },
3122
3183
  {
3123
3184
  "kind": "method",
3124
- "name": "openChanged",
3185
+ "name": "resetItems",
3186
+ "privacy": "private",
3125
3187
  "return": {
3126
3188
  "type": {
3127
3189
  "text": "void"
3128
3190
  }
3191
+ },
3192
+ "inheritedFrom": {
3193
+ "name": "Accordion",
3194
+ "module": "src/accordion/accordion.ts"
3129
3195
  }
3130
3196
  },
3131
3197
  {
3132
- "kind": "method",
3133
- "name": "handleClickOutside",
3198
+ "kind": "field",
3199
+ "name": "removeItemListeners",
3134
3200
  "privacy": "private",
3135
- "parameters": [
3136
- {
3137
- "name": "event",
3138
- "type": {
3139
- "text": "MouseEvent"
3140
- }
3141
- }
3142
- ]
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3143
3205
  },
3144
3206
  {
3145
- "kind": "method",
3146
- "name": "toggleDropdown"
3207
+ "kind": "field",
3208
+ "name": "activeItemChange",
3209
+ "privacy": "private",
3210
+ "inheritedFrom": {
3211
+ "name": "Accordion",
3212
+ "module": "src/accordion/accordion.ts"
3213
+ }
3147
3214
  },
3148
3215
  {
3149
3216
  "kind": "method",
3150
- "name": "refreshStatus",
3217
+ "name": "getItemIds",
3218
+ "privacy": "private",
3151
3219
  "return": {
3152
3220
  "type": {
3153
- "text": "Promise<void>"
3221
+ "text": "Array<string | null>"
3154
3222
  }
3223
+ },
3224
+ "inheritedFrom": {
3225
+ "name": "Accordion",
3226
+ "module": "src/accordion/accordion.ts"
3155
3227
  }
3156
3228
  },
3157
3229
  {
3158
3230
  "kind": "method",
3159
- "name": "deriveState",
3231
+ "name": "isSingleExpandMode",
3160
3232
  "privacy": "private",
3161
3233
  "return": {
3162
3234
  "type": {
3163
- "text": "AIIndicatorState"
3235
+ "text": "boolean"
3164
3236
  }
3165
3237
  },
3166
- "parameters": [
3167
- {
3168
- "name": "s",
3169
- "type": {
3170
- "text": "AIStatus | null"
3171
- }
3172
- }
3173
- ]
3238
+ "inheritedFrom": {
3239
+ "name": "Accordion",
3240
+ "module": "src/accordion/accordion.ts"
3241
+ }
3174
3242
  },
3175
3243
  {
3176
- "kind": "method",
3177
- "name": "maybeStartPolling",
3244
+ "kind": "field",
3245
+ "name": "handleItemKeyDown",
3178
3246
  "privacy": "private",
3179
- "return": {
3180
- "type": {
3181
- "text": "void"
3182
- }
3247
+ "inheritedFrom": {
3248
+ "name": "Accordion",
3249
+ "module": "src/accordion/accordion.ts"
3183
3250
  }
3184
3251
  },
3185
3252
  {
3186
- "kind": "method",
3187
- "name": "startPolling",
3253
+ "kind": "field",
3254
+ "name": "handleItemFocus",
3188
3255
  "privacy": "private",
3189
- "return": {
3190
- "type": {
3191
- "text": "void"
3192
- }
3256
+ "inheritedFrom": {
3257
+ "name": "Accordion",
3258
+ "module": "src/accordion/accordion.ts"
3193
3259
  }
3194
3260
  },
3195
3261
  {
3196
3262
  "kind": "method",
3197
- "name": "stopPolling",
3263
+ "name": "adjust",
3198
3264
  "privacy": "private",
3199
3265
  "return": {
3200
3266
  "type": {
3201
3267
  "text": "void"
3202
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"
3203
3281
  }
3204
3282
  },
3205
3283
  {
3206
3284
  "kind": "method",
3207
- "name": "onInstall",
3285
+ "name": "focusItem",
3286
+ "privacy": "private",
3208
3287
  "return": {
3209
3288
  "type": {
3210
- "text": "Promise<void>"
3289
+ "text": "void"
3211
3290
  }
3291
+ },
3292
+ "inheritedFrom": {
3293
+ "name": "Accordion",
3294
+ "module": "src/accordion/accordion.ts"
3212
3295
  }
3213
3296
  },
3214
3297
  {
@@ -3323,99 +3406,113 @@
3323
3406
  }
3324
3407
  }
3325
3408
  ],
3326
- "superclass": {
3327
- "name": "FoundationElement",
3328
- "package": "@microsoft/fast-foundation"
3409
+ "events": [
3410
+ {
3411
+ "description": "Fires a custom 'change' event when the active item changes",
3412
+ "name": "change",
3413
+ "inheritedFrom": {
3414
+ "name": "Accordion",
3415
+ "module": "src/accordion/accordion.ts"
3416
+ }
3417
+ }
3418
+ ]
3419
+ },
3420
+ {
3421
+ "kind": "variable",
3422
+ "name": "foundationAccordionShadowOptions",
3423
+ "type": {
3424
+ "text": "ShadowRootInit"
3329
3425
  },
3330
- "tagName": "%%prefix%%-ai-indicator",
3331
- "customElement": true
3426
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3332
3427
  },
3333
3428
  {
3334
3429
  "kind": "variable",
3335
- "name": "foundationAiIndicator"
3430
+ "name": "defaultAccordionConfig",
3431
+ "type": {
3432
+ "text": "object"
3433
+ },
3434
+ "default": "{}"
3435
+ },
3436
+ {
3437
+ "kind": "variable",
3438
+ "name": "foundationAccordion",
3439
+ "description": "The Foundation Accordion",
3440
+ "privacy": "public"
3336
3441
  }
3337
3442
  ],
3338
3443
  "exports": [
3339
3444
  {
3340
3445
  "kind": "js",
3341
- "name": "AiIndicator",
3446
+ "name": "Accordion",
3342
3447
  "declaration": {
3343
- "name": "AiIndicator",
3344
- "module": "src/ai-indicator/ai-indicator.ts"
3448
+ "name": "Accordion",
3449
+ "module": "src/accordion/accordion.ts"
3345
3450
  }
3346
3451
  },
3347
3452
  {
3348
3453
  "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",
3454
+ "name": "foundationAccordionShadowOptions",
3365
3455
  "declaration": {
3366
- "name": "AiIndicator",
3367
- "module": "./ai-indicator"
3456
+ "name": "foundationAccordionShadowOptions",
3457
+ "module": "src/accordion/accordion.ts"
3368
3458
  }
3369
3459
  },
3370
3460
  {
3371
3461
  "kind": "js",
3372
- "name": "foundationAiIndicator",
3462
+ "name": "defaultAccordionConfig",
3373
3463
  "declaration": {
3374
- "name": "foundationAiIndicator",
3375
- "module": "./ai-indicator"
3464
+ "name": "defaultAccordionConfig",
3465
+ "module": "src/accordion/accordion.ts"
3376
3466
  }
3377
3467
  },
3378
3468
  {
3379
3469
  "kind": "js",
3380
- "name": "type",
3470
+ "name": "foundationAccordion",
3381
3471
  "declaration": {
3382
- "name": "type",
3383
- "module": "./ai-indicator"
3472
+ "name": "foundationAccordion",
3473
+ "module": "src/accordion/accordion.ts"
3384
3474
  }
3385
- },
3475
+ }
3476
+ ]
3477
+ },
3478
+ {
3479
+ "kind": "javascript-module",
3480
+ "path": "src/accordion/index.ts",
3481
+ "declarations": [],
3482
+ "exports": [
3386
3483
  {
3387
3484
  "kind": "js",
3388
- "name": "AIIndicatorState",
3485
+ "name": "*",
3389
3486
  "declaration": {
3390
- "name": "AIIndicatorState",
3391
- "module": "./ai-indicator"
3487
+ "name": "*",
3488
+ "package": "./accordion.template"
3392
3489
  }
3393
3490
  },
3394
3491
  {
3395
3492
  "kind": "js",
3396
- "name": "foundationAiIndicatorTemplate",
3493
+ "name": "*",
3397
3494
  "declaration": {
3398
- "name": "foundationAiIndicatorTemplate",
3399
- "module": "./ai-indicator.template"
3495
+ "name": "*",
3496
+ "package": "./accordion.styles"
3400
3497
  }
3401
3498
  },
3402
3499
  {
3403
3500
  "kind": "js",
3404
- "name": "foundationAiIndicatorStyles",
3501
+ "name": "*",
3405
3502
  "declaration": {
3406
- "name": "foundationAiIndicatorStyles",
3407
- "module": "./ai-indicator.styles"
3503
+ "name": "*",
3504
+ "package": "./accordion"
3408
3505
  }
3409
3506
  }
3410
3507
  ]
3411
3508
  },
3412
3509
  {
3413
3510
  "kind": "javascript-module",
3414
- "path": "src/accordion/accordion.styles.ts",
3511
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3415
3512
  "declarations": [
3416
3513
  {
3417
3514
  "kind": "function",
3418
- "name": "foundationAccordionStyles",
3515
+ "name": "foundationAiIndicatorStyles",
3419
3516
  "return": {
3420
3517
  "type": {
3421
3518
  "text": "ElementStyles"
@@ -3440,276 +3537,224 @@
3440
3537
  "exports": [
3441
3538
  {
3442
3539
  "kind": "js",
3443
- "name": "foundationAccordionStyles",
3540
+ "name": "foundationAiIndicatorStyles",
3444
3541
  "declaration": {
3445
- "name": "foundationAccordionStyles",
3446
- "module": "src/accordion/accordion.styles.ts"
3542
+ "name": "foundationAiIndicatorStyles",
3543
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3447
3544
  }
3448
3545
  }
3449
3546
  ]
3450
3547
  },
3451
3548
  {
3452
3549
  "kind": "javascript-module",
3453
- "path": "src/accordion/accordion.template.ts",
3550
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3454
3551
  "declarations": [
3455
3552
  {
3456
- "kind": "function",
3457
- "name": "foundationAccordionTemplate",
3458
- "return": {
3459
- "type": {
3460
- "text": "ViewTemplate<Accordion>"
3461
- }
3553
+ "kind": "variable",
3554
+ "name": "foundationAiIndicatorTemplate",
3555
+ "type": {
3556
+ "text": "ViewTemplate<AiIndicator>"
3462
3557
  },
3463
- "parameters": [
3464
- {
3465
- "name": "context",
3466
- "type": {
3467
- "text": "ElementDefinitionContext"
3468
- }
3469
- },
3470
- {
3471
- "name": "definition",
3472
- "type": {
3473
- "text": "FoundationElementDefinition"
3474
- }
3475
- }
3476
- ]
3558
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3477
3559
  }
3478
3560
  ],
3479
3561
  "exports": [
3480
3562
  {
3481
3563
  "kind": "js",
3482
- "name": "foundationAccordionTemplate",
3564
+ "name": "foundationAiIndicatorTemplate",
3483
3565
  "declaration": {
3484
- "name": "foundationAccordionTemplate",
3485
- "module": "src/accordion/accordion.template.ts"
3566
+ "name": "foundationAiIndicatorTemplate",
3567
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3486
3568
  }
3487
3569
  }
3488
3570
  ]
3489
3571
  },
3490
3572
  {
3491
3573
  "kind": "javascript-module",
3492
- "path": "src/accordion/accordion.ts",
3574
+ "path": "src/ai-indicator/ai-indicator.ts",
3493
3575
  "declarations": [
3494
3576
  {
3495
3577
  "kind": "class",
3496
3578
  "description": "",
3497
- "name": "Accordion",
3498
- "superclass": {
3499
- "name": "FASTAccordion",
3500
- "package": "@microsoft/fast-foundation"
3501
- },
3502
- "tagName": "%%prefix%%-accordion",
3503
- "customElement": true,
3504
- "attributes": [
3579
+ "name": "AiIndicator",
3580
+ "members": [
3505
3581
  {
3506
- "name": "expand-mode",
3582
+ "kind": "field",
3583
+ "name": "providerRegistry",
3507
3584
  "type": {
3508
- "text": "AccordionExpandMode"
3509
- },
3510
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3511
- "fieldName": "expandmode",
3512
- "inheritedFrom": {
3513
- "name": "Accordion",
3514
- "module": "src/accordion/accordion.ts"
3585
+ "text": "AIProviderRegistry"
3515
3586
  }
3516
- }
3517
- ],
3518
- "members": [
3587
+ },
3519
3588
  {
3520
3589
  "kind": "field",
3521
- "name": "expandmode",
3590
+ "name": "aiProvider",
3522
3591
  "type": {
3523
- "text": "AccordionExpandMode"
3592
+ "text": "AIProvider | undefined"
3524
3593
  },
3525
- "privacy": "public",
3526
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3527
- "inheritedFrom": {
3528
- "name": "Accordion",
3529
- "module": "src/accordion/accordion.ts"
3530
- }
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
3531
3597
  },
3532
3598
  {
3533
3599
  "kind": "field",
3534
- "name": "activeid",
3600
+ "name": "status",
3535
3601
  "type": {
3536
- "text": "string | null"
3602
+ "text": "AIStatus | null"
3537
3603
  },
3538
- "privacy": "private",
3539
- "inheritedFrom": {
3540
- "name": "Accordion",
3541
- "module": "src/accordion/accordion.ts"
3542
- }
3604
+ "default": "null"
3543
3605
  },
3544
3606
  {
3545
3607
  "kind": "field",
3546
- "name": "activeItemIndex",
3608
+ "name": "open",
3547
3609
  "type": {
3548
- "text": "number"
3610
+ "text": "boolean"
3549
3611
  },
3550
- "privacy": "private",
3551
- "default": "0",
3552
- "inheritedFrom": {
3553
- "name": "Accordion",
3554
- "module": "src/accordion/accordion.ts"
3555
- }
3612
+ "default": "false"
3556
3613
  },
3557
3614
  {
3558
3615
  "kind": "field",
3559
- "name": "accordionIds",
3616
+ "name": "state",
3560
3617
  "type": {
3561
- "text": "Array<string | null>"
3618
+ "text": "AIIndicatorState"
3562
3619
  },
3563
- "privacy": "private",
3564
- "inheritedFrom": {
3565
- "name": "Accordion",
3566
- "module": "src/accordion/accordion.ts"
3567
- }
3620
+ "default": "'none'"
3568
3621
  },
3569
3622
  {
3570
3623
  "kind": "field",
3571
- "name": "change",
3572
- "privacy": "private",
3573
- "inheritedFrom": {
3574
- "name": "Accordion",
3575
- "module": "src/accordion/accordion.ts"
3576
- }
3624
+ "name": "isInstalling",
3625
+ "type": {
3626
+ "text": "boolean"
3627
+ },
3628
+ "default": "false"
3577
3629
  },
3578
3630
  {
3579
- "kind": "method",
3580
- "name": "findExpandedItem",
3631
+ "kind": "field",
3632
+ "name": "pollTimer",
3633
+ "type": {
3634
+ "text": "ReturnType<typeof setInterval> | null"
3635
+ },
3581
3636
  "privacy": "private",
3582
- "return": {
3583
- "type": {
3584
- "text": "AccordionItem | null"
3585
- }
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"
3586
3649
  },
3587
- "inheritedFrom": {
3588
- "name": "Accordion",
3589
- "module": "src/accordion/accordion.ts"
3590
- }
3650
+ "readonly": true
3591
3651
  },
3592
3652
  {
3593
3653
  "kind": "field",
3594
- "name": "setItems",
3595
- "privacy": "private",
3596
- "inheritedFrom": {
3597
- "name": "Accordion",
3598
- "module": "src/accordion/accordion.ts"
3599
- }
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
3600
3667
  },
3601
3668
  {
3602
3669
  "kind": "method",
3603
- "name": "resetItems",
3604
- "privacy": "private",
3670
+ "name": "openChanged",
3605
3671
  "return": {
3606
3672
  "type": {
3607
3673
  "text": "void"
3608
3674
  }
3609
- },
3610
- "inheritedFrom": {
3611
- "name": "Accordion",
3612
- "module": "src/accordion/accordion.ts"
3613
3675
  }
3614
3676
  },
3615
3677
  {
3616
- "kind": "field",
3617
- "name": "removeItemListeners",
3678
+ "kind": "method",
3679
+ "name": "handleClickOutside",
3618
3680
  "privacy": "private",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3681
+ "parameters": [
3682
+ {
3683
+ "name": "event",
3684
+ "type": {
3685
+ "text": "MouseEvent"
3686
+ }
3687
+ }
3688
+ ]
3623
3689
  },
3624
3690
  {
3625
- "kind": "field",
3626
- "name": "activeItemChange",
3627
- "privacy": "private",
3628
- "inheritedFrom": {
3629
- "name": "Accordion",
3630
- "module": "src/accordion/accordion.ts"
3631
- }
3691
+ "kind": "method",
3692
+ "name": "toggleDropdown"
3632
3693
  },
3633
3694
  {
3634
3695
  "kind": "method",
3635
- "name": "getItemIds",
3636
- "privacy": "private",
3696
+ "name": "refreshStatus",
3637
3697
  "return": {
3638
3698
  "type": {
3639
- "text": "Array<string | null>"
3699
+ "text": "Promise<void>"
3640
3700
  }
3641
- },
3642
- "inheritedFrom": {
3643
- "name": "Accordion",
3644
- "module": "src/accordion/accordion.ts"
3645
3701
  }
3646
3702
  },
3647
3703
  {
3648
3704
  "kind": "method",
3649
- "name": "isSingleExpandMode",
3705
+ "name": "deriveState",
3650
3706
  "privacy": "private",
3651
3707
  "return": {
3652
3708
  "type": {
3653
- "text": "boolean"
3709
+ "text": "AIIndicatorState"
3654
3710
  }
3655
3711
  },
3656
- "inheritedFrom": {
3657
- "name": "Accordion",
3658
- "module": "src/accordion/accordion.ts"
3659
- }
3712
+ "parameters": [
3713
+ {
3714
+ "name": "s",
3715
+ "type": {
3716
+ "text": "AIStatus | null"
3717
+ }
3718
+ }
3719
+ ]
3660
3720
  },
3661
3721
  {
3662
- "kind": "field",
3663
- "name": "handleItemKeyDown",
3722
+ "kind": "method",
3723
+ "name": "maybeStartPolling",
3664
3724
  "privacy": "private",
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3725
+ "return": {
3726
+ "type": {
3727
+ "text": "void"
3728
+ }
3668
3729
  }
3669
3730
  },
3670
3731
  {
3671
- "kind": "field",
3672
- "name": "handleItemFocus",
3732
+ "kind": "method",
3733
+ "name": "startPolling",
3673
3734
  "privacy": "private",
3674
- "inheritedFrom": {
3675
- "name": "Accordion",
3676
- "module": "src/accordion/accordion.ts"
3735
+ "return": {
3736
+ "type": {
3737
+ "text": "void"
3738
+ }
3677
3739
  }
3678
3740
  },
3679
3741
  {
3680
3742
  "kind": "method",
3681
- "name": "adjust",
3743
+ "name": "stopPolling",
3682
3744
  "privacy": "private",
3683
3745
  "return": {
3684
3746
  "type": {
3685
3747
  "text": "void"
3686
3748
  }
3687
- },
3688
- "parameters": [
3689
- {
3690
- "name": "adjustment",
3691
- "type": {
3692
- "text": "number"
3693
- }
3694
- }
3695
- ],
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3699
3749
  }
3700
3750
  },
3701
3751
  {
3702
3752
  "kind": "method",
3703
- "name": "focusItem",
3704
- "privacy": "private",
3753
+ "name": "onInstall",
3705
3754
  "return": {
3706
3755
  "type": {
3707
- "text": "void"
3756
+ "text": "Promise<void>"
3708
3757
  }
3709
- },
3710
- "inheritedFrom": {
3711
- "name": "Accordion",
3712
- "module": "src/accordion/accordion.ts"
3713
3758
  }
3714
3759
  },
3715
3760
  {
@@ -3824,133 +3869,88 @@
3824
3869
  }
3825
3870
  }
3826
3871
  ],
3827
- "events": [
3828
- {
3829
- "description": "Fires a custom 'change' event when the active item changes",
3830
- "name": "change",
3831
- "inheritedFrom": {
3832
- "name": "Accordion",
3833
- "module": "src/accordion/accordion.ts"
3834
- }
3835
- }
3836
- ]
3837
- },
3838
- {
3839
- "kind": "variable",
3840
- "name": "foundationAccordionShadowOptions",
3841
- "type": {
3842
- "text": "ShadowRootInit"
3843
- },
3844
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3845
- },
3846
- {
3847
- "kind": "variable",
3848
- "name": "defaultAccordionConfig",
3849
- "type": {
3850
- "text": "object"
3872
+ "superclass": {
3873
+ "name": "FoundationElement",
3874
+ "package": "@microsoft/fast-foundation"
3851
3875
  },
3852
- "default": "{}"
3876
+ "tagName": "%%prefix%%-ai-indicator",
3877
+ "customElement": true
3853
3878
  },
3854
3879
  {
3855
3880
  "kind": "variable",
3856
- "name": "foundationAccordion",
3857
- "description": "The Foundation Accordion",
3858
- "privacy": "public"
3881
+ "name": "foundationAiIndicator"
3859
3882
  }
3860
3883
  ],
3861
3884
  "exports": [
3862
3885
  {
3863
3886
  "kind": "js",
3864
- "name": "Accordion",
3865
- "declaration": {
3866
- "name": "Accordion",
3867
- "module": "src/accordion/accordion.ts"
3868
- }
3869
- },
3870
- {
3871
- "kind": "js",
3872
- "name": "foundationAccordionShadowOptions",
3873
- "declaration": {
3874
- "name": "foundationAccordionShadowOptions",
3875
- "module": "src/accordion/accordion.ts"
3876
- }
3877
- },
3878
- {
3879
- "kind": "js",
3880
- "name": "defaultAccordionConfig",
3887
+ "name": "AiIndicator",
3881
3888
  "declaration": {
3882
- "name": "defaultAccordionConfig",
3883
- "module": "src/accordion/accordion.ts"
3889
+ "name": "AiIndicator",
3890
+ "module": "src/ai-indicator/ai-indicator.ts"
3884
3891
  }
3885
3892
  },
3886
3893
  {
3887
3894
  "kind": "js",
3888
- "name": "foundationAccordion",
3895
+ "name": "foundationAiIndicator",
3889
3896
  "declaration": {
3890
- "name": "foundationAccordion",
3891
- "module": "src/accordion/accordion.ts"
3897
+ "name": "foundationAiIndicator",
3898
+ "module": "src/ai-indicator/ai-indicator.ts"
3892
3899
  }
3893
3900
  }
3894
3901
  ]
3895
3902
  },
3896
3903
  {
3897
3904
  "kind": "javascript-module",
3898
- "path": "src/accordion/index.ts",
3905
+ "path": "src/ai-indicator/index.ts",
3899
3906
  "declarations": [],
3900
3907
  "exports": [
3901
3908
  {
3902
3909
  "kind": "js",
3903
- "name": "*",
3910
+ "name": "AiIndicator",
3904
3911
  "declaration": {
3905
- "name": "*",
3906
- "package": "./accordion.template"
3912
+ "name": "AiIndicator",
3913
+ "module": "./ai-indicator"
3907
3914
  }
3908
3915
  },
3909
3916
  {
3910
3917
  "kind": "js",
3911
- "name": "*",
3918
+ "name": "foundationAiIndicator",
3912
3919
  "declaration": {
3913
- "name": "*",
3914
- "package": "./accordion.styles"
3920
+ "name": "foundationAiIndicator",
3921
+ "module": "./ai-indicator"
3915
3922
  }
3916
3923
  },
3917
3924
  {
3918
3925
  "kind": "js",
3919
- "name": "*",
3926
+ "name": "type",
3920
3927
  "declaration": {
3921
- "name": "*",
3922
- "package": "./accordion"
3928
+ "name": "type",
3929
+ "module": "./ai-indicator"
3923
3930
  }
3924
- }
3925
- ]
3926
- },
3927
- {
3928
- "kind": "javascript-module",
3929
- "path": "src/_config/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": "./styles"
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": "./tokens"
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": "./values"
3952
+ "name": "foundationAiIndicatorStyles",
3953
+ "module": "./ai-indicator.styles"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57711,197 +57711,6 @@
57711
57711
  }
57712
57712
  ]
57713
57713
  },
57714
- {
57715
- "kind": "javascript-module",
57716
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57717
- "declarations": [],
57718
- "exports": []
57719
- },
57720
- {
57721
- "kind": "javascript-module",
57722
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57723
- "declarations": [
57724
- {
57725
- "kind": "function",
57726
- "name": "groupsToCriteria",
57727
- "return": {
57728
- "type": {
57729
- "text": "string"
57730
- }
57731
- },
57732
- "parameters": [
57733
- {
57734
- "name": "groups",
57735
- "type": {
57736
- "text": "CriteriaGroup[]"
57737
- }
57738
- }
57739
- ],
57740
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57741
- },
57742
- {
57743
- "kind": "variable",
57744
- "name": "STRING_OPERATORS",
57745
- "type": {
57746
- "text": "CriteriaOperator[]"
57747
- },
57748
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57749
- },
57750
- {
57751
- "kind": "variable",
57752
- "name": "NUMERIC_OPERATORS",
57753
- "type": {
57754
- "text": "CriteriaOperator[]"
57755
- },
57756
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57757
- },
57758
- {
57759
- "kind": "variable",
57760
- "name": "DATE_OPERATORS",
57761
- "type": {
57762
- "text": "CriteriaOperator[]"
57763
- },
57764
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57765
- },
57766
- {
57767
- "kind": "variable",
57768
- "name": "DATETIME_OPERATORS",
57769
- "type": {
57770
- "text": "CriteriaOperator[]"
57771
- },
57772
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57773
- },
57774
- {
57775
- "kind": "variable",
57776
- "name": "OPERATOR_DISPLAY_LABEL",
57777
- "type": {
57778
- "text": "Record<CriteriaOperator, string>"
57779
- },
57780
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57781
- }
57782
- ],
57783
- "exports": [
57784
- {
57785
- "kind": "js",
57786
- "name": "groupsToCriteria",
57787
- "declaration": {
57788
- "name": "groupsToCriteria",
57789
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57790
- }
57791
- },
57792
- {
57793
- "kind": "js",
57794
- "name": "STRING_OPERATORS",
57795
- "declaration": {
57796
- "name": "STRING_OPERATORS",
57797
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57798
- }
57799
- },
57800
- {
57801
- "kind": "js",
57802
- "name": "NUMERIC_OPERATORS",
57803
- "declaration": {
57804
- "name": "NUMERIC_OPERATORS",
57805
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57806
- }
57807
- },
57808
- {
57809
- "kind": "js",
57810
- "name": "DATE_OPERATORS",
57811
- "declaration": {
57812
- "name": "DATE_OPERATORS",
57813
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57814
- }
57815
- },
57816
- {
57817
- "kind": "js",
57818
- "name": "DATETIME_OPERATORS",
57819
- "declaration": {
57820
- "name": "DATETIME_OPERATORS",
57821
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57822
- }
57823
- },
57824
- {
57825
- "kind": "js",
57826
- "name": "OPERATOR_DISPLAY_LABEL",
57827
- "declaration": {
57828
- "name": "OPERATOR_DISPLAY_LABEL",
57829
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57830
- }
57831
- }
57832
- ]
57833
- },
57834
- {
57835
- "kind": "javascript-module",
57836
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57837
- "declarations": [
57838
- {
57839
- "kind": "function",
57840
- "name": "validateClauses",
57841
- "return": {
57842
- "type": {
57843
- "text": "ValidationResult"
57844
- }
57845
- },
57846
- "parameters": [
57847
- {
57848
- "name": "clauses",
57849
- "type": {
57850
- "text": "CriteriaClause[]"
57851
- }
57852
- },
57853
- {
57854
- "name": "fieldMetadata",
57855
- "type": {
57856
- "text": "MetadataDetail[] | string[]"
57857
- }
57858
- }
57859
- ]
57860
- },
57861
- {
57862
- "kind": "function",
57863
- "name": "validateGroups",
57864
- "return": {
57865
- "type": {
57866
- "text": "GroupsValidationResult"
57867
- }
57868
- },
57869
- "parameters": [
57870
- {
57871
- "name": "groups",
57872
- "type": {
57873
- "text": "CriteriaGroup[]"
57874
- }
57875
- },
57876
- {
57877
- "name": "fieldMetadata",
57878
- "type": {
57879
- "text": "MetadataDetail[] | string[]"
57880
- }
57881
- }
57882
- ],
57883
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57884
- }
57885
- ],
57886
- "exports": [
57887
- {
57888
- "kind": "js",
57889
- "name": "validateClauses",
57890
- "declaration": {
57891
- "name": "validateClauses",
57892
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57893
- }
57894
- },
57895
- {
57896
- "kind": "js",
57897
- "name": "validateGroups",
57898
- "declaration": {
57899
- "name": "validateGroups",
57900
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57901
- }
57902
- }
57903
- ]
57904
- },
57905
57714
  {
57906
57715
  "kind": "javascript-module",
57907
57716
  "path": "src/_config/styles/colors.ts",
@@ -59274,6 +59083,197 @@
59274
59083
  "declarations": [],
59275
59084
  "exports": []
59276
59085
  },
59086
+ {
59087
+ "kind": "javascript-module",
59088
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
+ "declarations": [],
59090
+ "exports": []
59091
+ },
59092
+ {
59093
+ "kind": "javascript-module",
59094
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
+ "declarations": [
59096
+ {
59097
+ "kind": "function",
59098
+ "name": "groupsToCriteria",
59099
+ "return": {
59100
+ "type": {
59101
+ "text": "string"
59102
+ }
59103
+ },
59104
+ "parameters": [
59105
+ {
59106
+ "name": "groups",
59107
+ "type": {
59108
+ "text": "CriteriaGroup[]"
59109
+ }
59110
+ }
59111
+ ],
59112
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
59113
+ },
59114
+ {
59115
+ "kind": "variable",
59116
+ "name": "STRING_OPERATORS",
59117
+ "type": {
59118
+ "text": "CriteriaOperator[]"
59119
+ },
59120
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
+ },
59122
+ {
59123
+ "kind": "variable",
59124
+ "name": "NUMERIC_OPERATORS",
59125
+ "type": {
59126
+ "text": "CriteriaOperator[]"
59127
+ },
59128
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
+ },
59130
+ {
59131
+ "kind": "variable",
59132
+ "name": "DATE_OPERATORS",
59133
+ "type": {
59134
+ "text": "CriteriaOperator[]"
59135
+ },
59136
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
+ },
59138
+ {
59139
+ "kind": "variable",
59140
+ "name": "DATETIME_OPERATORS",
59141
+ "type": {
59142
+ "text": "CriteriaOperator[]"
59143
+ },
59144
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
+ },
59146
+ {
59147
+ "kind": "variable",
59148
+ "name": "OPERATOR_DISPLAY_LABEL",
59149
+ "type": {
59150
+ "text": "Record<CriteriaOperator, string>"
59151
+ },
59152
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
59153
+ }
59154
+ ],
59155
+ "exports": [
59156
+ {
59157
+ "kind": "js",
59158
+ "name": "groupsToCriteria",
59159
+ "declaration": {
59160
+ "name": "groupsToCriteria",
59161
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
+ }
59163
+ },
59164
+ {
59165
+ "kind": "js",
59166
+ "name": "STRING_OPERATORS",
59167
+ "declaration": {
59168
+ "name": "STRING_OPERATORS",
59169
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
+ }
59171
+ },
59172
+ {
59173
+ "kind": "js",
59174
+ "name": "NUMERIC_OPERATORS",
59175
+ "declaration": {
59176
+ "name": "NUMERIC_OPERATORS",
59177
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
+ }
59179
+ },
59180
+ {
59181
+ "kind": "js",
59182
+ "name": "DATE_OPERATORS",
59183
+ "declaration": {
59184
+ "name": "DATE_OPERATORS",
59185
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
+ }
59187
+ },
59188
+ {
59189
+ "kind": "js",
59190
+ "name": "DATETIME_OPERATORS",
59191
+ "declaration": {
59192
+ "name": "DATETIME_OPERATORS",
59193
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
+ }
59195
+ },
59196
+ {
59197
+ "kind": "js",
59198
+ "name": "OPERATOR_DISPLAY_LABEL",
59199
+ "declaration": {
59200
+ "name": "OPERATOR_DISPLAY_LABEL",
59201
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
+ }
59203
+ }
59204
+ ]
59205
+ },
59206
+ {
59207
+ "kind": "javascript-module",
59208
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
+ "declarations": [
59210
+ {
59211
+ "kind": "function",
59212
+ "name": "validateClauses",
59213
+ "return": {
59214
+ "type": {
59215
+ "text": "ValidationResult"
59216
+ }
59217
+ },
59218
+ "parameters": [
59219
+ {
59220
+ "name": "clauses",
59221
+ "type": {
59222
+ "text": "CriteriaClause[]"
59223
+ }
59224
+ },
59225
+ {
59226
+ "name": "fieldMetadata",
59227
+ "type": {
59228
+ "text": "MetadataDetail[] | string[]"
59229
+ }
59230
+ }
59231
+ ]
59232
+ },
59233
+ {
59234
+ "kind": "function",
59235
+ "name": "validateGroups",
59236
+ "return": {
59237
+ "type": {
59238
+ "text": "GroupsValidationResult"
59239
+ }
59240
+ },
59241
+ "parameters": [
59242
+ {
59243
+ "name": "groups",
59244
+ "type": {
59245
+ "text": "CriteriaGroup[]"
59246
+ }
59247
+ },
59248
+ {
59249
+ "name": "fieldMetadata",
59250
+ "type": {
59251
+ "text": "MetadataDetail[] | string[]"
59252
+ }
59253
+ }
59254
+ ],
59255
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
+ }
59257
+ ],
59258
+ "exports": [
59259
+ {
59260
+ "kind": "js",
59261
+ "name": "validateClauses",
59262
+ "declaration": {
59263
+ "name": "validateClauses",
59264
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
+ }
59266
+ },
59267
+ {
59268
+ "kind": "js",
59269
+ "name": "validateGroups",
59270
+ "declaration": {
59271
+ "name": "validateGroups",
59272
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
+ }
59274
+ }
59275
+ ]
59276
+ },
59277
59277
  {
59278
59278
  "kind": "javascript-module",
59279
59279
  "path": "src/environment-indicator/utils/configure.ts",