@genesislcap/foundation-ui 14.401.2 → 14.401.3

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1030 -1030
  2. package/package.json +19 -19
@@ -924,369 +924,6 @@
924
924
  }
925
925
  ]
926
926
  },
927
- {
928
- "kind": "javascript-module",
929
- "path": "src/_common/base-file-component.ts",
930
- "declarations": [
931
- {
932
- "kind": "class",
933
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
934
- "name": "BaseFileComponent",
935
- "members": [
936
- {
937
- "kind": "field",
938
- "name": "fileInput",
939
- "type": {
940
- "text": "HTMLInputElement"
941
- },
942
- "privacy": "public"
943
- },
944
- {
945
- "kind": "field",
946
- "name": "selectedFile",
947
- "type": {
948
- "text": "File | null"
949
- },
950
- "privacy": "protected",
951
- "default": "null"
952
- },
953
- {
954
- "kind": "field",
955
- "name": "label",
956
- "type": {
957
- "text": "string"
958
- }
959
- },
960
- {
961
- "kind": "field",
962
- "name": "accept",
963
- "type": {
964
- "text": "string"
965
- },
966
- "default": "''"
967
- },
968
- {
969
- "kind": "field",
970
- "name": "fileSizeLimitBytes",
971
- "default": "10_485_760",
972
- "type": {
973
- "text": "number"
974
- }
975
- },
976
- {
977
- "kind": "field",
978
- "name": "fileName",
979
- "type": {
980
- "text": "string"
981
- },
982
- "default": "''"
983
- },
984
- {
985
- "kind": "field",
986
- "name": "isProcessing",
987
- "type": {
988
- "text": "boolean"
989
- },
990
- "default": "false"
991
- },
992
- {
993
- "kind": "method",
994
- "name": "handleClick",
995
- "privacy": "public",
996
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
997
- },
998
- {
999
- "kind": "method",
1000
- "name": "onInputChange",
1001
- "privacy": "public",
1002
- "parameters": [
1003
- {
1004
- "name": "e",
1005
- "type": {
1006
- "text": "Event"
1007
- },
1008
- "description": "The change event from the file input"
1009
- }
1010
- ],
1011
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1012
- },
1013
- {
1014
- "kind": "method",
1015
- "name": "clearSelection",
1016
- "privacy": "public",
1017
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1018
- },
1019
- {
1020
- "kind": "method",
1021
- "name": "getSelectedFile",
1022
- "privacy": "public",
1023
- "description": "Gets the currently selected file object",
1024
- "return": {
1025
- "type": {
1026
- "text": ""
1027
- }
1028
- }
1029
- },
1030
- {
1031
- "kind": "method",
1032
- "name": "showError",
1033
- "privacy": "protected",
1034
- "parameters": [
1035
- {
1036
- "name": "title",
1037
- "type": {
1038
- "text": "string"
1039
- },
1040
- "description": "The error title"
1041
- },
1042
- {
1043
- "name": "message",
1044
- "type": {
1045
- "text": "string"
1046
- },
1047
- "description": "The error message"
1048
- }
1049
- ],
1050
- "description": "Shows an error notification using the unified error handling system"
1051
- },
1052
- {
1053
- "kind": "method",
1054
- "name": "onFileSelected",
1055
- "privacy": "protected",
1056
- "return": {
1057
- "type": {
1058
- "text": "void"
1059
- }
1060
- },
1061
- "parameters": [
1062
- {
1063
- "name": "files",
1064
- "type": {
1065
- "text": "File[]"
1066
- },
1067
- "description": "The selected file"
1068
- }
1069
- ],
1070
- "description": "Abstract method called when a file is selected"
1071
- },
1072
- {
1073
- "kind": "method",
1074
- "name": "onFileCleared",
1075
- "privacy": "protected",
1076
- "return": {
1077
- "type": {
1078
- "text": "void"
1079
- }
1080
- },
1081
- "description": "Abstract method called when file selection is cleared"
1082
- },
1083
- {
1084
- "kind": "field",
1085
- "name": "_presentation",
1086
- "type": {
1087
- "text": "ComponentPresentation | null | undefined"
1088
- },
1089
- "privacy": "private",
1090
- "default": "void 0",
1091
- "inheritedFrom": {
1092
- "name": "FoundationElement",
1093
- "module": "src/foundation-element/foundation-element.ts"
1094
- }
1095
- },
1096
- {
1097
- "kind": "field",
1098
- "name": "$presentation",
1099
- "type": {
1100
- "text": "ComponentPresentation | null"
1101
- },
1102
- "privacy": "public",
1103
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1104
- "inheritedFrom": {
1105
- "name": "FoundationElement",
1106
- "module": "src/foundation-element/foundation-element.ts"
1107
- }
1108
- },
1109
- {
1110
- "kind": "field",
1111
- "name": "template",
1112
- "type": {
1113
- "text": "ElementViewTemplate | void | null"
1114
- },
1115
- "privacy": "public",
1116
- "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.",
1117
- "inheritedFrom": {
1118
- "name": "FoundationElement",
1119
- "module": "src/foundation-element/foundation-element.ts"
1120
- }
1121
- },
1122
- {
1123
- "kind": "method",
1124
- "name": "templateChanged",
1125
- "privacy": "protected",
1126
- "return": {
1127
- "type": {
1128
- "text": "void"
1129
- }
1130
- },
1131
- "inheritedFrom": {
1132
- "name": "FoundationElement",
1133
- "module": "src/foundation-element/foundation-element.ts"
1134
- }
1135
- },
1136
- {
1137
- "kind": "field",
1138
- "name": "styles",
1139
- "type": {
1140
- "text": "ElementStyles | void | null"
1141
- },
1142
- "privacy": "public",
1143
- "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.",
1144
- "inheritedFrom": {
1145
- "name": "FoundationElement",
1146
- "module": "src/foundation-element/foundation-element.ts"
1147
- }
1148
- },
1149
- {
1150
- "kind": "method",
1151
- "name": "stylesChanged",
1152
- "privacy": "protected",
1153
- "return": {
1154
- "type": {
1155
- "text": "void"
1156
- }
1157
- },
1158
- "inheritedFrom": {
1159
- "name": "FoundationElement",
1160
- "module": "src/foundation-element/foundation-element.ts"
1161
- }
1162
- },
1163
- {
1164
- "kind": "method",
1165
- "name": "compose",
1166
- "privacy": "public",
1167
- "static": true,
1168
- "return": {
1169
- "type": {
1170
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1171
- }
1172
- },
1173
- "parameters": [
1174
- {
1175
- "name": "this",
1176
- "type": {
1177
- "text": "K"
1178
- }
1179
- },
1180
- {
1181
- "name": "elementDefinition",
1182
- "type": {
1183
- "text": "T"
1184
- },
1185
- "description": "The definition of the element to create the registry\nfunction for."
1186
- }
1187
- ],
1188
- "description": "Defines an element registry function with a set of element definition defaults.",
1189
- "inheritedFrom": {
1190
- "name": "FoundationElement",
1191
- "module": "src/foundation-element/foundation-element.ts"
1192
- }
1193
- }
1194
- ],
1195
- "attributes": [
1196
- {
1197
- "name": "label",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "fieldName": "label"
1202
- },
1203
- {
1204
- "name": "accept",
1205
- "type": {
1206
- "text": "string"
1207
- },
1208
- "default": "''",
1209
- "fieldName": "accept"
1210
- },
1211
- {
1212
- "name": "file-size-limit-bytes",
1213
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1214
- "resolveInitializer": {
1215
- "module": "src/_common/base-file-component.ts"
1216
- },
1217
- "fieldName": "fileSizeLimitBytes"
1218
- }
1219
- ],
1220
- "superclass": {
1221
- "name": "FoundationElement",
1222
- "package": "@microsoft/fast-foundation"
1223
- }
1224
- }
1225
- ],
1226
- "exports": [
1227
- {
1228
- "kind": "js",
1229
- "name": "BaseFileComponent",
1230
- "declaration": {
1231
- "name": "BaseFileComponent",
1232
- "module": "src/_common/base-file-component.ts"
1233
- }
1234
- }
1235
- ]
1236
- },
1237
- {
1238
- "kind": "javascript-module",
1239
- "path": "src/_common/icons.ts",
1240
- "declarations": [
1241
- {
1242
- "kind": "function",
1243
- "name": "closeIcon",
1244
- "parameters": [
1245
- {
1246
- "name": "slot",
1247
- "default": "'start'"
1248
- },
1249
- {
1250
- "name": "fill",
1251
- "default": "'#879ba6'"
1252
- }
1253
- ]
1254
- }
1255
- ],
1256
- "exports": [
1257
- {
1258
- "kind": "js",
1259
- "name": "closeIcon",
1260
- "declaration": {
1261
- "name": "closeIcon",
1262
- "module": "src/_common/icons.ts"
1263
- }
1264
- }
1265
- ]
1266
- },
1267
- {
1268
- "kind": "javascript-module",
1269
- "path": "src/_common/index.ts",
1270
- "declarations": [],
1271
- "exports": [
1272
- {
1273
- "kind": "js",
1274
- "name": "*",
1275
- "declaration": {
1276
- "name": "*",
1277
- "package": "./base-file-component"
1278
- }
1279
- },
1280
- {
1281
- "kind": "js",
1282
- "name": "*",
1283
- "declaration": {
1284
- "name": "*",
1285
- "package": "./icons"
1286
- }
1287
- }
1288
- ]
1289
- },
1290
927
  {
1291
928
  "kind": "javascript-module",
1292
929
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1683,11 +1320,11 @@
1683
1320
  },
1684
1321
  {
1685
1322
  "kind": "javascript-module",
1686
- "path": "src/accordion/accordion.styles.ts",
1323
+ "path": "src/actions-menu/actions-menu.styles.ts",
1687
1324
  "declarations": [
1688
1325
  {
1689
1326
  "kind": "function",
1690
- "name": "foundationAccordionStyles",
1327
+ "name": "actionsMenuBaseStyles",
1691
1328
  "return": {
1692
1329
  "type": {
1693
1330
  "text": "ElementStyles"
@@ -1707,29 +1344,13 @@
1707
1344
  }
1708
1345
  }
1709
1346
  ]
1710
- }
1711
- ],
1712
- "exports": [
1713
- {
1714
- "kind": "js",
1715
- "name": "foundationAccordionStyles",
1716
- "declaration": {
1717
- "name": "foundationAccordionStyles",
1718
- "module": "src/accordion/accordion.styles.ts"
1719
- }
1720
- }
1721
- ]
1722
- },
1723
- {
1724
- "kind": "javascript-module",
1725
- "path": "src/accordion/accordion.template.ts",
1726
- "declarations": [
1347
+ },
1727
1348
  {
1728
1349
  "kind": "function",
1729
- "name": "foundationAccordionTemplate",
1350
+ "name": "foundationActionsMenuStyles",
1730
1351
  "return": {
1731
1352
  "type": {
1732
- "text": "ViewTemplate<Accordion>"
1353
+ "text": "ElementStyles"
1733
1354
  }
1734
1355
  },
1735
1356
  "parameters": [
@@ -1751,287 +1372,90 @@
1751
1372
  "exports": [
1752
1373
  {
1753
1374
  "kind": "js",
1754
- "name": "foundationAccordionTemplate",
1375
+ "name": "actionsMenuBaseStyles",
1755
1376
  "declaration": {
1756
- "name": "foundationAccordionTemplate",
1757
- "module": "src/accordion/accordion.template.ts"
1377
+ "name": "actionsMenuBaseStyles",
1378
+ "module": "src/actions-menu/actions-menu.styles.ts"
1379
+ }
1380
+ },
1381
+ {
1382
+ "kind": "js",
1383
+ "name": "foundationActionsMenuStyles",
1384
+ "declaration": {
1385
+ "name": "foundationActionsMenuStyles",
1386
+ "module": "src/actions-menu/actions-menu.styles.ts"
1758
1387
  }
1759
1388
  }
1760
1389
  ]
1761
1390
  },
1762
1391
  {
1763
1392
  "kind": "javascript-module",
1764
- "path": "src/accordion/accordion.ts",
1393
+ "path": "src/actions-menu/actions-menu.template.ts",
1765
1394
  "declarations": [
1766
1395
  {
1767
- "kind": "class",
1768
- "description": "",
1769
- "name": "Accordion",
1770
- "superclass": {
1771
- "name": "FASTAccordion",
1772
- "package": "@microsoft/fast-foundation"
1773
- },
1774
- "tagName": "%%prefix%%-accordion",
1775
- "customElement": true
1396
+ "kind": "function",
1397
+ "name": "menuTemplate",
1398
+ "parameters": [
1399
+ {
1400
+ "name": "prefix",
1401
+ "type": {
1402
+ "text": "string"
1403
+ }
1404
+ }
1405
+ ]
1776
1406
  },
1777
1407
  {
1778
- "kind": "variable",
1779
- "name": "foundationAccordionShadowOptions",
1780
- "type": {
1781
- "text": "ShadowRootInit"
1782
- },
1783
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1408
+ "kind": "function",
1409
+ "name": "singleOptionTemplate",
1410
+ "parameters": [
1411
+ {
1412
+ "name": "prefix",
1413
+ "type": {
1414
+ "text": "string"
1415
+ }
1416
+ }
1417
+ ]
1784
1418
  },
1785
1419
  {
1786
1420
  "kind": "variable",
1787
- "name": "defaultAccordionConfig",
1421
+ "name": "foundationActionsMenuTemplate",
1788
1422
  "type": {
1789
- "text": "object"
1423
+ "text": "ViewTemplate<ActionsMenu>"
1790
1424
  },
1791
- "default": "{}"
1792
- },
1793
- {
1794
- "kind": "variable",
1795
- "name": "foundationAccordion",
1796
- "description": "The Foundation Accordion",
1797
- "privacy": "public"
1425
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1798
1426
  }
1799
1427
  ],
1800
1428
  "exports": [
1801
1429
  {
1802
1430
  "kind": "js",
1803
- "name": "Accordion",
1804
- "declaration": {
1805
- "name": "Accordion",
1806
- "module": "src/accordion/accordion.ts"
1807
- }
1808
- },
1809
- {
1810
- "kind": "js",
1811
- "name": "foundationAccordionShadowOptions",
1431
+ "name": "menuTemplate",
1812
1432
  "declaration": {
1813
- "name": "foundationAccordionShadowOptions",
1814
- "module": "src/accordion/accordion.ts"
1433
+ "name": "menuTemplate",
1434
+ "module": "src/actions-menu/actions-menu.template.ts"
1815
1435
  }
1816
1436
  },
1817
1437
  {
1818
1438
  "kind": "js",
1819
- "name": "defaultAccordionConfig",
1439
+ "name": "singleOptionTemplate",
1820
1440
  "declaration": {
1821
- "name": "defaultAccordionConfig",
1822
- "module": "src/accordion/accordion.ts"
1441
+ "name": "singleOptionTemplate",
1442
+ "module": "src/actions-menu/actions-menu.template.ts"
1823
1443
  }
1824
1444
  },
1825
1445
  {
1826
1446
  "kind": "js",
1827
- "name": "foundationAccordion",
1447
+ "name": "foundationActionsMenuTemplate",
1828
1448
  "declaration": {
1829
- "name": "foundationAccordion",
1830
- "module": "src/accordion/accordion.ts"
1449
+ "name": "foundationActionsMenuTemplate",
1450
+ "module": "src/actions-menu/actions-menu.template.ts"
1831
1451
  }
1832
1452
  }
1833
1453
  ]
1834
1454
  },
1835
1455
  {
1836
1456
  "kind": "javascript-module",
1837
- "path": "src/accordion/index.ts",
1838
- "declarations": [],
1839
- "exports": [
1840
- {
1841
- "kind": "js",
1842
- "name": "*",
1843
- "declaration": {
1844
- "name": "*",
1845
- "package": "./accordion.template"
1846
- }
1847
- },
1848
- {
1849
- "kind": "js",
1850
- "name": "*",
1851
- "declaration": {
1852
- "name": "*",
1853
- "package": "./accordion.styles"
1854
- }
1855
- },
1856
- {
1857
- "kind": "js",
1858
- "name": "*",
1859
- "declaration": {
1860
- "name": "*",
1861
- "package": "./accordion"
1862
- }
1863
- }
1864
- ]
1865
- },
1866
- {
1867
- "kind": "javascript-module",
1868
- "path": "src/_config/index.ts",
1869
- "declarations": [],
1870
- "exports": [
1871
- {
1872
- "kind": "js",
1873
- "name": "*",
1874
- "declaration": {
1875
- "name": "*",
1876
- "package": "./styles"
1877
- }
1878
- },
1879
- {
1880
- "kind": "js",
1881
- "name": "*",
1882
- "declaration": {
1883
- "name": "*",
1884
- "package": "./tokens"
1885
- }
1886
- },
1887
- {
1888
- "kind": "js",
1889
- "name": "*",
1890
- "declaration": {
1891
- "name": "*",
1892
- "package": "./values"
1893
- }
1894
- }
1895
- ]
1896
- },
1897
- {
1898
- "kind": "javascript-module",
1899
- "path": "src/actions-menu/actions-menu.styles.ts",
1900
- "declarations": [
1901
- {
1902
- "kind": "function",
1903
- "name": "actionsMenuBaseStyles",
1904
- "return": {
1905
- "type": {
1906
- "text": "ElementStyles"
1907
- }
1908
- },
1909
- "parameters": [
1910
- {
1911
- "name": "context",
1912
- "type": {
1913
- "text": "ElementDefinitionContext"
1914
- }
1915
- },
1916
- {
1917
- "name": "definition",
1918
- "type": {
1919
- "text": "FoundationElementDefinition"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
- {
1925
- "kind": "function",
1926
- "name": "foundationActionsMenuStyles",
1927
- "return": {
1928
- "type": {
1929
- "text": "ElementStyles"
1930
- }
1931
- },
1932
- "parameters": [
1933
- {
1934
- "name": "context",
1935
- "type": {
1936
- "text": "ElementDefinitionContext"
1937
- }
1938
- },
1939
- {
1940
- "name": "definition",
1941
- "type": {
1942
- "text": "FoundationElementDefinition"
1943
- }
1944
- }
1945
- ]
1946
- }
1947
- ],
1948
- "exports": [
1949
- {
1950
- "kind": "js",
1951
- "name": "actionsMenuBaseStyles",
1952
- "declaration": {
1953
- "name": "actionsMenuBaseStyles",
1954
- "module": "src/actions-menu/actions-menu.styles.ts"
1955
- }
1956
- },
1957
- {
1958
- "kind": "js",
1959
- "name": "foundationActionsMenuStyles",
1960
- "declaration": {
1961
- "name": "foundationActionsMenuStyles",
1962
- "module": "src/actions-menu/actions-menu.styles.ts"
1963
- }
1964
- }
1965
- ]
1966
- },
1967
- {
1968
- "kind": "javascript-module",
1969
- "path": "src/actions-menu/actions-menu.template.ts",
1970
- "declarations": [
1971
- {
1972
- "kind": "function",
1973
- "name": "menuTemplate",
1974
- "parameters": [
1975
- {
1976
- "name": "prefix",
1977
- "type": {
1978
- "text": "string"
1979
- }
1980
- }
1981
- ]
1982
- },
1983
- {
1984
- "kind": "function",
1985
- "name": "singleOptionTemplate",
1986
- "parameters": [
1987
- {
1988
- "name": "prefix",
1989
- "type": {
1990
- "text": "string"
1991
- }
1992
- }
1993
- ]
1994
- },
1995
- {
1996
- "kind": "variable",
1997
- "name": "foundationActionsMenuTemplate",
1998
- "type": {
1999
- "text": "ViewTemplate<ActionsMenu>"
2000
- },
2001
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2002
- }
2003
- ],
2004
- "exports": [
2005
- {
2006
- "kind": "js",
2007
- "name": "menuTemplate",
2008
- "declaration": {
2009
- "name": "menuTemplate",
2010
- "module": "src/actions-menu/actions-menu.template.ts"
2011
- }
2012
- },
2013
- {
2014
- "kind": "js",
2015
- "name": "singleOptionTemplate",
2016
- "declaration": {
2017
- "name": "singleOptionTemplate",
2018
- "module": "src/actions-menu/actions-menu.template.ts"
2019
- }
2020
- },
2021
- {
2022
- "kind": "js",
2023
- "name": "foundationActionsMenuTemplate",
2024
- "declaration": {
2025
- "name": "foundationActionsMenuTemplate",
2026
- "module": "src/actions-menu/actions-menu.template.ts"
2027
- }
2028
- }
2029
- ]
2030
- },
2031
- {
2032
- "kind": "javascript-module",
2033
- "path": "src/actions-menu/actions-menu.ts",
2034
- "declarations": [
1457
+ "path": "src/actions-menu/actions-menu.ts",
1458
+ "declarations": [
2035
1459
  {
2036
1460
  "kind": "class",
2037
1461
  "description": "",
@@ -2455,244 +1879,159 @@
2455
1879
  },
2456
1880
  {
2457
1881
  "kind": "javascript-module",
2458
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2459
- "declarations": [
2460
- {
2461
- "kind": "function",
2462
- "name": "foundationAiIndicatorStyles",
2463
- "return": {
2464
- "type": {
2465
- "text": "ElementStyles"
2466
- }
2467
- },
2468
- "parameters": [
2469
- {
2470
- "name": "context",
2471
- "type": {
2472
- "text": "ElementDefinitionContext"
2473
- }
2474
- },
2475
- {
2476
- "name": "definition",
2477
- "type": {
2478
- "text": "FoundationElementDefinition"
2479
- }
2480
- }
2481
- ]
2482
- }
2483
- ],
2484
- "exports": [
2485
- {
2486
- "kind": "js",
2487
- "name": "foundationAiIndicatorStyles",
2488
- "declaration": {
2489
- "name": "foundationAiIndicatorStyles",
2490
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2491
- }
2492
- }
2493
- ]
2494
- },
2495
- {
2496
- "kind": "javascript-module",
2497
- "path": "src/ai-indicator/ai-indicator.template.ts",
2498
- "declarations": [
2499
- {
2500
- "kind": "variable",
2501
- "name": "foundationAiIndicatorTemplate",
2502
- "type": {
2503
- "text": "ViewTemplate<AiIndicator>"
2504
- },
2505
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2506
- }
2507
- ],
2508
- "exports": [
2509
- {
2510
- "kind": "js",
2511
- "name": "foundationAiIndicatorTemplate",
2512
- "declaration": {
2513
- "name": "foundationAiIndicatorTemplate",
2514
- "module": "src/ai-indicator/ai-indicator.template.ts"
2515
- }
2516
- }
2517
- ]
2518
- },
2519
- {
2520
- "kind": "javascript-module",
2521
- "path": "src/ai-indicator/ai-indicator.ts",
1882
+ "path": "src/_common/base-file-component.ts",
2522
1883
  "declarations": [
2523
1884
  {
2524
1885
  "kind": "class",
2525
- "description": "",
2526
- "name": "AiIndicator",
1886
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1887
+ "name": "BaseFileComponent",
2527
1888
  "members": [
2528
1889
  {
2529
1890
  "kind": "field",
2530
- "name": "aiProvider",
2531
- "type": {
2532
- "text": "AIProvider"
2533
- }
2534
- },
2535
- {
2536
- "kind": "field",
2537
- "name": "status",
2538
- "type": {
2539
- "text": "AIStatus | null"
2540
- },
2541
- "default": "null"
2542
- },
2543
- {
2544
- "kind": "field",
2545
- "name": "open",
1891
+ "name": "fileInput",
2546
1892
  "type": {
2547
- "text": "boolean"
1893
+ "text": "HTMLInputElement"
2548
1894
  },
2549
- "default": "false"
1895
+ "privacy": "public"
2550
1896
  },
2551
1897
  {
2552
1898
  "kind": "field",
2553
- "name": "state",
1899
+ "name": "selectedFile",
2554
1900
  "type": {
2555
- "text": "AIIndicatorState"
1901
+ "text": "File | null"
2556
1902
  },
2557
- "default": "'none'"
1903
+ "privacy": "protected",
1904
+ "default": "null"
2558
1905
  },
2559
1906
  {
2560
1907
  "kind": "field",
2561
- "name": "isInstalling",
1908
+ "name": "label",
2562
1909
  "type": {
2563
- "text": "boolean"
2564
- },
2565
- "default": "false"
1910
+ "text": "string"
1911
+ }
2566
1912
  },
2567
1913
  {
2568
1914
  "kind": "field",
2569
- "name": "pollTimer",
1915
+ "name": "accept",
2570
1916
  "type": {
2571
- "text": "ReturnType<typeof setInterval> | null"
1917
+ "text": "string"
2572
1918
  },
2573
- "privacy": "private",
2574
- "default": "null"
2575
- },
2576
- {
2577
- "kind": "field",
2578
- "name": "clickOutside",
2579
- "privacy": "private"
1919
+ "default": "''"
2580
1920
  },
2581
1921
  {
2582
1922
  "kind": "field",
2583
- "name": "chromeStatusLabel",
1923
+ "name": "fileSizeLimitBytes",
1924
+ "default": "10_485_760",
2584
1925
  "type": {
2585
- "text": "string | null"
2586
- },
2587
- "readonly": true
1926
+ "text": "number"
1927
+ }
2588
1928
  },
2589
1929
  {
2590
1930
  "kind": "field",
2591
- "name": "canInstall",
1931
+ "name": "fileName",
2592
1932
  "type": {
2593
- "text": "boolean"
1933
+ "text": "string"
2594
1934
  },
2595
- "readonly": true
1935
+ "default": "''"
2596
1936
  },
2597
1937
  {
2598
1938
  "kind": "field",
2599
- "name": "isDownloading",
1939
+ "name": "isProcessing",
2600
1940
  "type": {
2601
1941
  "text": "boolean"
2602
1942
  },
2603
- "readonly": true
1943
+ "default": "false"
2604
1944
  },
2605
1945
  {
2606
1946
  "kind": "method",
2607
- "name": "openChanged",
2608
- "return": {
2609
- "type": {
2610
- "text": "void"
2611
- }
2612
- }
1947
+ "name": "handleClick",
1948
+ "privacy": "public",
1949
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2613
1950
  },
2614
1951
  {
2615
1952
  "kind": "method",
2616
- "name": "handleClickOutside",
2617
- "privacy": "private",
1953
+ "name": "onInputChange",
1954
+ "privacy": "public",
2618
1955
  "parameters": [
2619
1956
  {
2620
- "name": "event",
1957
+ "name": "e",
2621
1958
  "type": {
2622
- "text": "MouseEvent"
2623
- }
1959
+ "text": "Event"
1960
+ },
1961
+ "description": "The change event from the file input"
2624
1962
  }
2625
- ]
1963
+ ],
1964
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2626
1965
  },
2627
1966
  {
2628
1967
  "kind": "method",
2629
- "name": "toggleDropdown"
1968
+ "name": "clearSelection",
1969
+ "privacy": "public",
1970
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
2630
1971
  },
2631
1972
  {
2632
1973
  "kind": "method",
2633
- "name": "refreshStatus",
1974
+ "name": "getSelectedFile",
1975
+ "privacy": "public",
1976
+ "description": "Gets the currently selected file object",
2634
1977
  "return": {
2635
1978
  "type": {
2636
- "text": "Promise<void>"
1979
+ "text": ""
2637
1980
  }
2638
1981
  }
2639
1982
  },
2640
1983
  {
2641
1984
  "kind": "method",
2642
- "name": "deriveState",
2643
- "privacy": "private",
2644
- "return": {
2645
- "type": {
2646
- "text": "AIIndicatorState"
2647
- }
2648
- },
1985
+ "name": "showError",
1986
+ "privacy": "protected",
2649
1987
  "parameters": [
2650
1988
  {
2651
- "name": "s",
1989
+ "name": "title",
2652
1990
  "type": {
2653
- "text": "AIStatus | null"
2654
- }
1991
+ "text": "string"
1992
+ },
1993
+ "description": "The error title"
1994
+ },
1995
+ {
1996
+ "name": "message",
1997
+ "type": {
1998
+ "text": "string"
1999
+ },
2000
+ "description": "The error message"
2655
2001
  }
2656
- ]
2002
+ ],
2003
+ "description": "Shows an error notification using the unified error handling system"
2657
2004
  },
2658
2005
  {
2659
2006
  "kind": "method",
2660
- "name": "maybeStartPolling",
2661
- "privacy": "private",
2007
+ "name": "onFileSelected",
2008
+ "privacy": "protected",
2662
2009
  "return": {
2663
2010
  "type": {
2664
2011
  "text": "void"
2665
2012
  }
2666
- }
2667
- },
2668
- {
2669
- "kind": "method",
2670
- "name": "startPolling",
2671
- "privacy": "private",
2672
- "return": {
2673
- "type": {
2674
- "text": "void"
2013
+ },
2014
+ "parameters": [
2015
+ {
2016
+ "name": "files",
2017
+ "type": {
2018
+ "text": "File[]"
2019
+ },
2020
+ "description": "The selected file"
2675
2021
  }
2676
- }
2022
+ ],
2023
+ "description": "Abstract method called when a file is selected"
2677
2024
  },
2678
2025
  {
2679
2026
  "kind": "method",
2680
- "name": "stopPolling",
2681
- "privacy": "private",
2027
+ "name": "onFileCleared",
2028
+ "privacy": "protected",
2682
2029
  "return": {
2683
2030
  "type": {
2684
2031
  "text": "void"
2685
2032
  }
2686
- }
2687
- },
2688
- {
2689
- "kind": "method",
2690
- "name": "onInstall",
2691
- "return": {
2692
- "type": {
2693
- "text": "Promise<void>"
2694
- }
2695
- }
2033
+ },
2034
+ "description": "Abstract method called when file selection is cleared"
2696
2035
  },
2697
2036
  {
2698
2037
  "kind": "field",
@@ -2806,109 +2145,118 @@
2806
2145
  }
2807
2146
  }
2808
2147
  ],
2148
+ "attributes": [
2149
+ {
2150
+ "name": "label",
2151
+ "type": {
2152
+ "text": "string"
2153
+ },
2154
+ "fieldName": "label"
2155
+ },
2156
+ {
2157
+ "name": "accept",
2158
+ "type": {
2159
+ "text": "string"
2160
+ },
2161
+ "default": "''",
2162
+ "fieldName": "accept"
2163
+ },
2164
+ {
2165
+ "name": "file-size-limit-bytes",
2166
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
2167
+ "resolveInitializer": {
2168
+ "module": "src/_common/base-file-component.ts"
2169
+ },
2170
+ "fieldName": "fileSizeLimitBytes"
2171
+ }
2172
+ ],
2809
2173
  "superclass": {
2810
2174
  "name": "FoundationElement",
2811
2175
  "package": "@microsoft/fast-foundation"
2812
- },
2813
- "tagName": "%%prefix%%-ai-indicator",
2814
- "customElement": true
2815
- },
2816
- {
2817
- "kind": "variable",
2818
- "name": "foundationAiIndicator"
2176
+ }
2819
2177
  }
2820
2178
  ],
2821
2179
  "exports": [
2822
2180
  {
2823
2181
  "kind": "js",
2824
- "name": "AiIndicator",
2182
+ "name": "BaseFileComponent",
2825
2183
  "declaration": {
2826
- "name": "AiIndicator",
2827
- "module": "src/ai-indicator/ai-indicator.ts"
2184
+ "name": "BaseFileComponent",
2185
+ "module": "src/_common/base-file-component.ts"
2828
2186
  }
2829
- },
2187
+ }
2188
+ ]
2189
+ },
2190
+ {
2191
+ "kind": "javascript-module",
2192
+ "path": "src/_common/icons.ts",
2193
+ "declarations": [
2194
+ {
2195
+ "kind": "function",
2196
+ "name": "closeIcon",
2197
+ "parameters": [
2198
+ {
2199
+ "name": "slot",
2200
+ "default": "'start'"
2201
+ },
2202
+ {
2203
+ "name": "fill",
2204
+ "default": "'#879ba6'"
2205
+ }
2206
+ ]
2207
+ }
2208
+ ],
2209
+ "exports": [
2830
2210
  {
2831
2211
  "kind": "js",
2832
- "name": "foundationAiIndicator",
2212
+ "name": "closeIcon",
2833
2213
  "declaration": {
2834
- "name": "foundationAiIndicator",
2835
- "module": "src/ai-indicator/ai-indicator.ts"
2214
+ "name": "closeIcon",
2215
+ "module": "src/_common/icons.ts"
2836
2216
  }
2837
2217
  }
2838
2218
  ]
2839
2219
  },
2840
2220
  {
2841
2221
  "kind": "javascript-module",
2842
- "path": "src/ai-indicator/index.ts",
2222
+ "path": "src/_common/index.ts",
2843
2223
  "declarations": [],
2844
2224
  "exports": [
2845
2225
  {
2846
2226
  "kind": "js",
2847
- "name": "AiIndicator",
2227
+ "name": "*",
2848
2228
  "declaration": {
2849
- "name": "AiIndicator",
2850
- "module": "./ai-indicator"
2229
+ "name": "*",
2230
+ "package": "./base-file-component"
2851
2231
  }
2852
2232
  },
2853
2233
  {
2854
2234
  "kind": "js",
2855
- "name": "foundationAiIndicator",
2235
+ "name": "*",
2856
2236
  "declaration": {
2857
- "name": "foundationAiIndicator",
2858
- "module": "./ai-indicator"
2237
+ "name": "*",
2238
+ "package": "./icons"
2859
2239
  }
2860
- },
2240
+ }
2241
+ ]
2242
+ },
2243
+ {
2244
+ "kind": "javascript-module",
2245
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2246
+ "declarations": [
2861
2247
  {
2862
- "kind": "js",
2863
- "name": "type",
2864
- "declaration": {
2865
- "name": "type",
2866
- "module": "./ai-indicator"
2867
- }
2868
- },
2248
+ "kind": "variable",
2249
+ "name": "foundationAiCriteriaSearchStyles",
2250
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2251
+ }
2252
+ ],
2253
+ "exports": [
2869
2254
  {
2870
2255
  "kind": "js",
2871
- "name": "AIIndicatorState",
2256
+ "name": "foundationAiCriteriaSearchStyles",
2872
2257
  "declaration": {
2873
- "name": "AIIndicatorState",
2874
- "module": "./ai-indicator"
2875
- }
2876
- },
2877
- {
2878
- "kind": "js",
2879
- "name": "foundationAiIndicatorTemplate",
2880
- "declaration": {
2881
- "name": "foundationAiIndicatorTemplate",
2882
- "module": "./ai-indicator.template"
2883
- }
2884
- },
2885
- {
2886
- "kind": "js",
2887
- "name": "foundationAiIndicatorStyles",
2888
- "declaration": {
2889
- "name": "foundationAiIndicatorStyles",
2890
- "module": "./ai-indicator.styles"
2891
- }
2892
- }
2893
- ]
2894
- },
2895
- {
2896
- "kind": "javascript-module",
2897
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2898
- "declarations": [
2899
- {
2900
- "kind": "variable",
2901
- "name": "foundationAiCriteriaSearchStyles",
2902
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2903
- }
2904
- ],
2905
- "exports": [
2906
- {
2907
- "kind": "js",
2908
- "name": "foundationAiCriteriaSearchStyles",
2909
- "declaration": {
2910
- "name": "foundationAiCriteriaSearchStyles",
2911
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2258
+ "name": "foundationAiCriteriaSearchStyles",
2259
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2912
2260
  }
2913
2261
  }
2914
2262
  ]
@@ -3433,6 +2781,658 @@
3433
2781
  }
3434
2782
  ]
3435
2783
  },
2784
+ {
2785
+ "kind": "javascript-module",
2786
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2787
+ "declarations": [
2788
+ {
2789
+ "kind": "function",
2790
+ "name": "foundationAiIndicatorStyles",
2791
+ "return": {
2792
+ "type": {
2793
+ "text": "ElementStyles"
2794
+ }
2795
+ },
2796
+ "parameters": [
2797
+ {
2798
+ "name": "context",
2799
+ "type": {
2800
+ "text": "ElementDefinitionContext"
2801
+ }
2802
+ },
2803
+ {
2804
+ "name": "definition",
2805
+ "type": {
2806
+ "text": "FoundationElementDefinition"
2807
+ }
2808
+ }
2809
+ ]
2810
+ }
2811
+ ],
2812
+ "exports": [
2813
+ {
2814
+ "kind": "js",
2815
+ "name": "foundationAiIndicatorStyles",
2816
+ "declaration": {
2817
+ "name": "foundationAiIndicatorStyles",
2818
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2819
+ }
2820
+ }
2821
+ ]
2822
+ },
2823
+ {
2824
+ "kind": "javascript-module",
2825
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2826
+ "declarations": [
2827
+ {
2828
+ "kind": "variable",
2829
+ "name": "foundationAiIndicatorTemplate",
2830
+ "type": {
2831
+ "text": "ViewTemplate<AiIndicator>"
2832
+ },
2833
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2834
+ }
2835
+ ],
2836
+ "exports": [
2837
+ {
2838
+ "kind": "js",
2839
+ "name": "foundationAiIndicatorTemplate",
2840
+ "declaration": {
2841
+ "name": "foundationAiIndicatorTemplate",
2842
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2843
+ }
2844
+ }
2845
+ ]
2846
+ },
2847
+ {
2848
+ "kind": "javascript-module",
2849
+ "path": "src/ai-indicator/ai-indicator.ts",
2850
+ "declarations": [
2851
+ {
2852
+ "kind": "class",
2853
+ "description": "",
2854
+ "name": "AiIndicator",
2855
+ "members": [
2856
+ {
2857
+ "kind": "field",
2858
+ "name": "aiProvider",
2859
+ "type": {
2860
+ "text": "AIProvider"
2861
+ }
2862
+ },
2863
+ {
2864
+ "kind": "field",
2865
+ "name": "status",
2866
+ "type": {
2867
+ "text": "AIStatus | null"
2868
+ },
2869
+ "default": "null"
2870
+ },
2871
+ {
2872
+ "kind": "field",
2873
+ "name": "open",
2874
+ "type": {
2875
+ "text": "boolean"
2876
+ },
2877
+ "default": "false"
2878
+ },
2879
+ {
2880
+ "kind": "field",
2881
+ "name": "state",
2882
+ "type": {
2883
+ "text": "AIIndicatorState"
2884
+ },
2885
+ "default": "'none'"
2886
+ },
2887
+ {
2888
+ "kind": "field",
2889
+ "name": "isInstalling",
2890
+ "type": {
2891
+ "text": "boolean"
2892
+ },
2893
+ "default": "false"
2894
+ },
2895
+ {
2896
+ "kind": "field",
2897
+ "name": "pollTimer",
2898
+ "type": {
2899
+ "text": "ReturnType<typeof setInterval> | null"
2900
+ },
2901
+ "privacy": "private",
2902
+ "default": "null"
2903
+ },
2904
+ {
2905
+ "kind": "field",
2906
+ "name": "clickOutside",
2907
+ "privacy": "private"
2908
+ },
2909
+ {
2910
+ "kind": "field",
2911
+ "name": "chromeStatusLabel",
2912
+ "type": {
2913
+ "text": "string | null"
2914
+ },
2915
+ "readonly": true
2916
+ },
2917
+ {
2918
+ "kind": "field",
2919
+ "name": "canInstall",
2920
+ "type": {
2921
+ "text": "boolean"
2922
+ },
2923
+ "readonly": true
2924
+ },
2925
+ {
2926
+ "kind": "field",
2927
+ "name": "isDownloading",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "readonly": true
2932
+ },
2933
+ {
2934
+ "kind": "method",
2935
+ "name": "openChanged",
2936
+ "return": {
2937
+ "type": {
2938
+ "text": "void"
2939
+ }
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "method",
2944
+ "name": "handleClickOutside",
2945
+ "privacy": "private",
2946
+ "parameters": [
2947
+ {
2948
+ "name": "event",
2949
+ "type": {
2950
+ "text": "MouseEvent"
2951
+ }
2952
+ }
2953
+ ]
2954
+ },
2955
+ {
2956
+ "kind": "method",
2957
+ "name": "toggleDropdown"
2958
+ },
2959
+ {
2960
+ "kind": "method",
2961
+ "name": "refreshStatus",
2962
+ "return": {
2963
+ "type": {
2964
+ "text": "Promise<void>"
2965
+ }
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "method",
2970
+ "name": "deriveState",
2971
+ "privacy": "private",
2972
+ "return": {
2973
+ "type": {
2974
+ "text": "AIIndicatorState"
2975
+ }
2976
+ },
2977
+ "parameters": [
2978
+ {
2979
+ "name": "s",
2980
+ "type": {
2981
+ "text": "AIStatus | null"
2982
+ }
2983
+ }
2984
+ ]
2985
+ },
2986
+ {
2987
+ "kind": "method",
2988
+ "name": "maybeStartPolling",
2989
+ "privacy": "private",
2990
+ "return": {
2991
+ "type": {
2992
+ "text": "void"
2993
+ }
2994
+ }
2995
+ },
2996
+ {
2997
+ "kind": "method",
2998
+ "name": "startPolling",
2999
+ "privacy": "private",
3000
+ "return": {
3001
+ "type": {
3002
+ "text": "void"
3003
+ }
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "method",
3008
+ "name": "stopPolling",
3009
+ "privacy": "private",
3010
+ "return": {
3011
+ "type": {
3012
+ "text": "void"
3013
+ }
3014
+ }
3015
+ },
3016
+ {
3017
+ "kind": "method",
3018
+ "name": "onInstall",
3019
+ "return": {
3020
+ "type": {
3021
+ "text": "Promise<void>"
3022
+ }
3023
+ }
3024
+ },
3025
+ {
3026
+ "kind": "field",
3027
+ "name": "_presentation",
3028
+ "type": {
3029
+ "text": "ComponentPresentation | null | undefined"
3030
+ },
3031
+ "privacy": "private",
3032
+ "default": "void 0",
3033
+ "inheritedFrom": {
3034
+ "name": "FoundationElement",
3035
+ "module": "src/foundation-element/foundation-element.ts"
3036
+ }
3037
+ },
3038
+ {
3039
+ "kind": "field",
3040
+ "name": "$presentation",
3041
+ "type": {
3042
+ "text": "ComponentPresentation | null"
3043
+ },
3044
+ "privacy": "public",
3045
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3046
+ "inheritedFrom": {
3047
+ "name": "FoundationElement",
3048
+ "module": "src/foundation-element/foundation-element.ts"
3049
+ }
3050
+ },
3051
+ {
3052
+ "kind": "field",
3053
+ "name": "template",
3054
+ "type": {
3055
+ "text": "ElementViewTemplate | void | null"
3056
+ },
3057
+ "privacy": "public",
3058
+ "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.",
3059
+ "inheritedFrom": {
3060
+ "name": "FoundationElement",
3061
+ "module": "src/foundation-element/foundation-element.ts"
3062
+ }
3063
+ },
3064
+ {
3065
+ "kind": "method",
3066
+ "name": "templateChanged",
3067
+ "privacy": "protected",
3068
+ "return": {
3069
+ "type": {
3070
+ "text": "void"
3071
+ }
3072
+ },
3073
+ "inheritedFrom": {
3074
+ "name": "FoundationElement",
3075
+ "module": "src/foundation-element/foundation-element.ts"
3076
+ }
3077
+ },
3078
+ {
3079
+ "kind": "field",
3080
+ "name": "styles",
3081
+ "type": {
3082
+ "text": "ElementStyles | void | null"
3083
+ },
3084
+ "privacy": "public",
3085
+ "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.",
3086
+ "inheritedFrom": {
3087
+ "name": "FoundationElement",
3088
+ "module": "src/foundation-element/foundation-element.ts"
3089
+ }
3090
+ },
3091
+ {
3092
+ "kind": "method",
3093
+ "name": "stylesChanged",
3094
+ "privacy": "protected",
3095
+ "return": {
3096
+ "type": {
3097
+ "text": "void"
3098
+ }
3099
+ },
3100
+ "inheritedFrom": {
3101
+ "name": "FoundationElement",
3102
+ "module": "src/foundation-element/foundation-element.ts"
3103
+ }
3104
+ },
3105
+ {
3106
+ "kind": "method",
3107
+ "name": "compose",
3108
+ "privacy": "public",
3109
+ "static": true,
3110
+ "return": {
3111
+ "type": {
3112
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3113
+ }
3114
+ },
3115
+ "parameters": [
3116
+ {
3117
+ "name": "this",
3118
+ "type": {
3119
+ "text": "K"
3120
+ }
3121
+ },
3122
+ {
3123
+ "name": "elementDefinition",
3124
+ "type": {
3125
+ "text": "T"
3126
+ },
3127
+ "description": "The definition of the element to create the registry\nfunction for."
3128
+ }
3129
+ ],
3130
+ "description": "Defines an element registry function with a set of element definition defaults.",
3131
+ "inheritedFrom": {
3132
+ "name": "FoundationElement",
3133
+ "module": "src/foundation-element/foundation-element.ts"
3134
+ }
3135
+ }
3136
+ ],
3137
+ "superclass": {
3138
+ "name": "FoundationElement",
3139
+ "package": "@microsoft/fast-foundation"
3140
+ },
3141
+ "tagName": "%%prefix%%-ai-indicator",
3142
+ "customElement": true
3143
+ },
3144
+ {
3145
+ "kind": "variable",
3146
+ "name": "foundationAiIndicator"
3147
+ }
3148
+ ],
3149
+ "exports": [
3150
+ {
3151
+ "kind": "js",
3152
+ "name": "AiIndicator",
3153
+ "declaration": {
3154
+ "name": "AiIndicator",
3155
+ "module": "src/ai-indicator/ai-indicator.ts"
3156
+ }
3157
+ },
3158
+ {
3159
+ "kind": "js",
3160
+ "name": "foundationAiIndicator",
3161
+ "declaration": {
3162
+ "name": "foundationAiIndicator",
3163
+ "module": "src/ai-indicator/ai-indicator.ts"
3164
+ }
3165
+ }
3166
+ ]
3167
+ },
3168
+ {
3169
+ "kind": "javascript-module",
3170
+ "path": "src/ai-indicator/index.ts",
3171
+ "declarations": [],
3172
+ "exports": [
3173
+ {
3174
+ "kind": "js",
3175
+ "name": "AiIndicator",
3176
+ "declaration": {
3177
+ "name": "AiIndicator",
3178
+ "module": "./ai-indicator"
3179
+ }
3180
+ },
3181
+ {
3182
+ "kind": "js",
3183
+ "name": "foundationAiIndicator",
3184
+ "declaration": {
3185
+ "name": "foundationAiIndicator",
3186
+ "module": "./ai-indicator"
3187
+ }
3188
+ },
3189
+ {
3190
+ "kind": "js",
3191
+ "name": "type",
3192
+ "declaration": {
3193
+ "name": "type",
3194
+ "module": "./ai-indicator"
3195
+ }
3196
+ },
3197
+ {
3198
+ "kind": "js",
3199
+ "name": "AIIndicatorState",
3200
+ "declaration": {
3201
+ "name": "AIIndicatorState",
3202
+ "module": "./ai-indicator"
3203
+ }
3204
+ },
3205
+ {
3206
+ "kind": "js",
3207
+ "name": "foundationAiIndicatorTemplate",
3208
+ "declaration": {
3209
+ "name": "foundationAiIndicatorTemplate",
3210
+ "module": "./ai-indicator.template"
3211
+ }
3212
+ },
3213
+ {
3214
+ "kind": "js",
3215
+ "name": "foundationAiIndicatorStyles",
3216
+ "declaration": {
3217
+ "name": "foundationAiIndicatorStyles",
3218
+ "module": "./ai-indicator.styles"
3219
+ }
3220
+ }
3221
+ ]
3222
+ },
3223
+ {
3224
+ "kind": "javascript-module",
3225
+ "path": "src/_config/index.ts",
3226
+ "declarations": [],
3227
+ "exports": [
3228
+ {
3229
+ "kind": "js",
3230
+ "name": "*",
3231
+ "declaration": {
3232
+ "name": "*",
3233
+ "package": "./styles"
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "js",
3238
+ "name": "*",
3239
+ "declaration": {
3240
+ "name": "*",
3241
+ "package": "./tokens"
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "js",
3246
+ "name": "*",
3247
+ "declaration": {
3248
+ "name": "*",
3249
+ "package": "./values"
3250
+ }
3251
+ }
3252
+ ]
3253
+ },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
3436
  {
3437
3437
  "kind": "javascript-module",
3438
3438
  "path": "src/anchor/anchor.styles.ts",
@@ -54226,6 +54226,181 @@
54226
54226
  }
54227
54227
  ]
54228
54228
  },
54229
+ {
54230
+ "kind": "javascript-module",
54231
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54232
+ "declarations": [],
54233
+ "exports": []
54234
+ },
54235
+ {
54236
+ "kind": "javascript-module",
54237
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54238
+ "declarations": [
54239
+ {
54240
+ "kind": "function",
54241
+ "name": "groupsToCriteria",
54242
+ "return": {
54243
+ "type": {
54244
+ "text": "string"
54245
+ }
54246
+ },
54247
+ "parameters": [
54248
+ {
54249
+ "name": "groups",
54250
+ "type": {
54251
+ "text": "CriteriaGroup[]"
54252
+ }
54253
+ }
54254
+ ],
54255
+ "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."
54256
+ },
54257
+ {
54258
+ "kind": "variable",
54259
+ "name": "STRING_OPERATORS",
54260
+ "type": {
54261
+ "text": "CriteriaOperator[]"
54262
+ },
54263
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54264
+ },
54265
+ {
54266
+ "kind": "variable",
54267
+ "name": "NUMERIC_OPERATORS",
54268
+ "type": {
54269
+ "text": "CriteriaOperator[]"
54270
+ },
54271
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54272
+ },
54273
+ {
54274
+ "kind": "variable",
54275
+ "name": "DATE_OPERATORS",
54276
+ "type": {
54277
+ "text": "CriteriaOperator[]"
54278
+ },
54279
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54280
+ },
54281
+ {
54282
+ "kind": "variable",
54283
+ "name": "DATETIME_OPERATORS",
54284
+ "type": {
54285
+ "text": "CriteriaOperator[]"
54286
+ },
54287
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54288
+ }
54289
+ ],
54290
+ "exports": [
54291
+ {
54292
+ "kind": "js",
54293
+ "name": "groupsToCriteria",
54294
+ "declaration": {
54295
+ "name": "groupsToCriteria",
54296
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54297
+ }
54298
+ },
54299
+ {
54300
+ "kind": "js",
54301
+ "name": "STRING_OPERATORS",
54302
+ "declaration": {
54303
+ "name": "STRING_OPERATORS",
54304
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54305
+ }
54306
+ },
54307
+ {
54308
+ "kind": "js",
54309
+ "name": "NUMERIC_OPERATORS",
54310
+ "declaration": {
54311
+ "name": "NUMERIC_OPERATORS",
54312
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54313
+ }
54314
+ },
54315
+ {
54316
+ "kind": "js",
54317
+ "name": "DATE_OPERATORS",
54318
+ "declaration": {
54319
+ "name": "DATE_OPERATORS",
54320
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54321
+ }
54322
+ },
54323
+ {
54324
+ "kind": "js",
54325
+ "name": "DATETIME_OPERATORS",
54326
+ "declaration": {
54327
+ "name": "DATETIME_OPERATORS",
54328
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54329
+ }
54330
+ }
54331
+ ]
54332
+ },
54333
+ {
54334
+ "kind": "javascript-module",
54335
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54336
+ "declarations": [
54337
+ {
54338
+ "kind": "function",
54339
+ "name": "validateClauses",
54340
+ "return": {
54341
+ "type": {
54342
+ "text": "ValidationResult"
54343
+ }
54344
+ },
54345
+ "parameters": [
54346
+ {
54347
+ "name": "clauses",
54348
+ "type": {
54349
+ "text": "CriteriaClause[]"
54350
+ }
54351
+ },
54352
+ {
54353
+ "name": "fieldMetadata",
54354
+ "type": {
54355
+ "text": "MetadataDetail[] | string[]"
54356
+ }
54357
+ }
54358
+ ]
54359
+ },
54360
+ {
54361
+ "kind": "function",
54362
+ "name": "validateGroups",
54363
+ "return": {
54364
+ "type": {
54365
+ "text": "GroupsValidationResult"
54366
+ }
54367
+ },
54368
+ "parameters": [
54369
+ {
54370
+ "name": "groups",
54371
+ "type": {
54372
+ "text": "CriteriaGroup[]"
54373
+ }
54374
+ },
54375
+ {
54376
+ "name": "fieldMetadata",
54377
+ "type": {
54378
+ "text": "MetadataDetail[] | string[]"
54379
+ }
54380
+ }
54381
+ ],
54382
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54383
+ }
54384
+ ],
54385
+ "exports": [
54386
+ {
54387
+ "kind": "js",
54388
+ "name": "validateClauses",
54389
+ "declaration": {
54390
+ "name": "validateClauses",
54391
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54392
+ }
54393
+ },
54394
+ {
54395
+ "kind": "js",
54396
+ "name": "validateGroups",
54397
+ "declaration": {
54398
+ "name": "validateGroups",
54399
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54400
+ }
54401
+ }
54402
+ ]
54403
+ },
54229
54404
  {
54230
54405
  "kind": "javascript-module",
54231
54406
  "path": "src/_config/styles/colors.ts",
@@ -55598,181 +55773,6 @@
55598
55773
  "declarations": [],
55599
55774
  "exports": []
55600
55775
  },
55601
- {
55602
- "kind": "javascript-module",
55603
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55604
- "declarations": [],
55605
- "exports": []
55606
- },
55607
- {
55608
- "kind": "javascript-module",
55609
- "path": "src/ai-criteria-search/validation/operator-map.ts",
55610
- "declarations": [
55611
- {
55612
- "kind": "function",
55613
- "name": "groupsToCriteria",
55614
- "return": {
55615
- "type": {
55616
- "text": "string"
55617
- }
55618
- },
55619
- "parameters": [
55620
- {
55621
- "name": "groups",
55622
- "type": {
55623
- "text": "CriteriaGroup[]"
55624
- }
55625
- }
55626
- ],
55627
- "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."
55628
- },
55629
- {
55630
- "kind": "variable",
55631
- "name": "STRING_OPERATORS",
55632
- "type": {
55633
- "text": "CriteriaOperator[]"
55634
- },
55635
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55636
- },
55637
- {
55638
- "kind": "variable",
55639
- "name": "NUMERIC_OPERATORS",
55640
- "type": {
55641
- "text": "CriteriaOperator[]"
55642
- },
55643
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55644
- },
55645
- {
55646
- "kind": "variable",
55647
- "name": "DATE_OPERATORS",
55648
- "type": {
55649
- "text": "CriteriaOperator[]"
55650
- },
55651
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55652
- },
55653
- {
55654
- "kind": "variable",
55655
- "name": "DATETIME_OPERATORS",
55656
- "type": {
55657
- "text": "CriteriaOperator[]"
55658
- },
55659
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55660
- }
55661
- ],
55662
- "exports": [
55663
- {
55664
- "kind": "js",
55665
- "name": "groupsToCriteria",
55666
- "declaration": {
55667
- "name": "groupsToCriteria",
55668
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55669
- }
55670
- },
55671
- {
55672
- "kind": "js",
55673
- "name": "STRING_OPERATORS",
55674
- "declaration": {
55675
- "name": "STRING_OPERATORS",
55676
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55677
- }
55678
- },
55679
- {
55680
- "kind": "js",
55681
- "name": "NUMERIC_OPERATORS",
55682
- "declaration": {
55683
- "name": "NUMERIC_OPERATORS",
55684
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55685
- }
55686
- },
55687
- {
55688
- "kind": "js",
55689
- "name": "DATE_OPERATORS",
55690
- "declaration": {
55691
- "name": "DATE_OPERATORS",
55692
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55693
- }
55694
- },
55695
- {
55696
- "kind": "js",
55697
- "name": "DATETIME_OPERATORS",
55698
- "declaration": {
55699
- "name": "DATETIME_OPERATORS",
55700
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55701
- }
55702
- }
55703
- ]
55704
- },
55705
- {
55706
- "kind": "javascript-module",
55707
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
55708
- "declarations": [
55709
- {
55710
- "kind": "function",
55711
- "name": "validateClauses",
55712
- "return": {
55713
- "type": {
55714
- "text": "ValidationResult"
55715
- }
55716
- },
55717
- "parameters": [
55718
- {
55719
- "name": "clauses",
55720
- "type": {
55721
- "text": "CriteriaClause[]"
55722
- }
55723
- },
55724
- {
55725
- "name": "fieldMetadata",
55726
- "type": {
55727
- "text": "MetadataDetail[] | string[]"
55728
- }
55729
- }
55730
- ]
55731
- },
55732
- {
55733
- "kind": "function",
55734
- "name": "validateGroups",
55735
- "return": {
55736
- "type": {
55737
- "text": "GroupsValidationResult"
55738
- }
55739
- },
55740
- "parameters": [
55741
- {
55742
- "name": "groups",
55743
- "type": {
55744
- "text": "CriteriaGroup[]"
55745
- }
55746
- },
55747
- {
55748
- "name": "fieldMetadata",
55749
- "type": {
55750
- "text": "MetadataDetail[] | string[]"
55751
- }
55752
- }
55753
- ],
55754
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55755
- }
55756
- ],
55757
- "exports": [
55758
- {
55759
- "kind": "js",
55760
- "name": "validateClauses",
55761
- "declaration": {
55762
- "name": "validateClauses",
55763
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55764
- }
55765
- },
55766
- {
55767
- "kind": "js",
55768
- "name": "validateGroups",
55769
- "declaration": {
55770
- "name": "validateGroups",
55771
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55772
- }
55773
- }
55774
- ]
55775
- },
55776
55776
  {
55777
55777
  "kind": "javascript-module",
55778
55778
  "path": "src/environment-indicator/utils/configure.ts",