@genesislcap/foundation-ui 14.481.0 → 14.481.1-alpha-69af5f8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -932,503 +932,6 @@
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
- },
1401
- {
1402
- "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
935
  {
1433
936
  "kind": "javascript-module",
1434
937
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1825,11 +1328,11 @@
1825
1328
  },
1826
1329
  {
1827
1330
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1331
+ "path": "src/actions-menu/actions-menu.styles.ts",
1829
1332
  "declarations": [
1830
1333
  {
1831
1334
  "kind": "function",
1832
- "name": "foundationAccordionStyles",
1335
+ "name": "actionsMenuBaseStyles",
1833
1336
  "return": {
1834
1337
  "type": {
1835
1338
  "text": "ElementStyles"
@@ -1849,29 +1352,13 @@
1849
1352
  }
1850
1353
  }
1851
1354
  ]
1852
- }
1853
- ],
1854
- "exports": [
1855
- {
1856
- "kind": "js",
1857
- "name": "foundationAccordionStyles",
1858
- "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1861
- }
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1868
- "declarations": [
1355
+ },
1869
1356
  {
1870
1357
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1358
+ "name": "foundationActionsMenuStyles",
1872
1359
  "return": {
1873
1360
  "type": {
1874
- "text": "ViewTemplate<Accordion>"
1361
+ "text": "ElementStyles"
1875
1362
  }
1876
1363
  },
1877
1364
  "parameters": [
@@ -1893,238 +1380,269 @@
1893
1380
  "exports": [
1894
1381
  {
1895
1382
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1383
+ "name": "actionsMenuBaseStyles",
1897
1384
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1385
+ "name": "actionsMenuBaseStyles",
1386
+ "module": "src/actions-menu/actions-menu.styles.ts"
1387
+ }
1388
+ },
1389
+ {
1390
+ "kind": "js",
1391
+ "name": "foundationActionsMenuStyles",
1392
+ "declaration": {
1393
+ "name": "foundationActionsMenuStyles",
1394
+ "module": "src/actions-menu/actions-menu.styles.ts"
1900
1395
  }
1901
1396
  }
1902
1397
  ]
1903
1398
  },
1904
1399
  {
1905
1400
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1401
+ "path": "src/actions-menu/actions-menu.template.ts",
1907
1402
  "declarations": [
1908
1403
  {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1404
+ "kind": "function",
1405
+ "name": "menuTemplate",
1406
+ "parameters": [
1919
1407
  {
1920
- "name": "expand-mode",
1408
+ "name": "prefix",
1921
1409
  "type": {
1922
- "text": "AccordionExpandMode"
1923
- },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
1410
+ "text": "string"
1929
1411
  }
1930
1412
  }
1931
- ],
1413
+ ]
1414
+ },
1415
+ {
1416
+ "kind": "function",
1417
+ "name": "singleOptionTemplate",
1418
+ "parameters": [
1419
+ {
1420
+ "name": "prefix",
1421
+ "type": {
1422
+ "text": "string"
1423
+ }
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "kind": "variable",
1429
+ "name": "foundationActionsMenuTemplate",
1430
+ "type": {
1431
+ "text": "ViewTemplate<ActionsMenu>"
1432
+ },
1433
+ "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`"
1434
+ }
1435
+ ],
1436
+ "exports": [
1437
+ {
1438
+ "kind": "js",
1439
+ "name": "menuTemplate",
1440
+ "declaration": {
1441
+ "name": "menuTemplate",
1442
+ "module": "src/actions-menu/actions-menu.template.ts"
1443
+ }
1444
+ },
1445
+ {
1446
+ "kind": "js",
1447
+ "name": "singleOptionTemplate",
1448
+ "declaration": {
1449
+ "name": "singleOptionTemplate",
1450
+ "module": "src/actions-menu/actions-menu.template.ts"
1451
+ }
1452
+ },
1453
+ {
1454
+ "kind": "js",
1455
+ "name": "foundationActionsMenuTemplate",
1456
+ "declaration": {
1457
+ "name": "foundationActionsMenuTemplate",
1458
+ "module": "src/actions-menu/actions-menu.template.ts"
1459
+ }
1460
+ }
1461
+ ]
1462
+ },
1463
+ {
1464
+ "kind": "javascript-module",
1465
+ "path": "src/actions-menu/actions-menu.ts",
1466
+ "declarations": [
1467
+ {
1468
+ "kind": "class",
1469
+ "description": "",
1470
+ "name": "ActionsMenu",
1932
1471
  "members": [
1933
1472
  {
1934
1473
  "kind": "field",
1935
- "name": "expandmode",
1474
+ "name": "actions",
1936
1475
  "type": {
1937
- "text": "AccordionExpandMode"
1938
- },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1476
+ "text": "ActionMenuItem[]"
1944
1477
  }
1945
1478
  },
1946
1479
  {
1947
1480
  "kind": "field",
1948
- "name": "activeid",
1481
+ "name": "isVertical",
1949
1482
  "type": {
1950
- "text": "string | null"
1483
+ "text": "boolean"
1951
1484
  },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
1485
+ "default": "false"
1957
1486
  },
1958
1487
  {
1959
1488
  "kind": "field",
1960
- "name": "activeItemIndex",
1489
+ "name": "addDefaultActions",
1961
1490
  "type": {
1962
- "text": "number"
1491
+ "text": "boolean"
1963
1492
  },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1493
+ "default": "true"
1970
1494
  },
1971
1495
  {
1972
1496
  "kind": "field",
1973
- "name": "accordionIds",
1497
+ "name": "autoCloseOnAction",
1974
1498
  "type": {
1975
- "text": "Array<string | null>"
1499
+ "text": "boolean"
1976
1500
  },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1501
+ "default": "true"
1502
+ },
1503
+ {
1504
+ "kind": "field",
1505
+ "name": "classNames",
1506
+ "type": {
1507
+ "text": "string"
1981
1508
  }
1982
1509
  },
1983
1510
  {
1984
1511
  "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
1512
+ "name": "definition",
1513
+ "type": {
1514
+ "text": "any"
1990
1515
  }
1991
1516
  },
1992
1517
  {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
1518
+ "kind": "field",
1519
+ "name": "name",
1520
+ "type": {
1521
+ "text": "string"
2000
1522
  },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
1523
+ "default": "'Actions'"
2005
1524
  },
2006
1525
  {
2007
1526
  "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
1527
+ "name": "open",
1528
+ "type": {
1529
+ "text": "boolean"
1530
+ },
1531
+ "default": "false"
1532
+ },
1533
+ {
1534
+ "kind": "field",
1535
+ "name": "buttonAppearance",
1536
+ "type": {
1537
+ "text": "string"
2013
1538
  }
2014
1539
  },
2015
1540
  {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
1541
+ "kind": "field",
1542
+ "name": "hideDisabled",
1543
+ "type": {
1544
+ "text": "boolean"
2023
1545
  },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
1546
+ "default": "false"
2028
1547
  },
2029
1548
  {
2030
1549
  "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
1550
+ "name": "hideMenuSingleOption",
1551
+ "type": {
1552
+ "text": "boolean"
1553
+ },
1554
+ "default": "false"
1555
+ },
1556
+ {
1557
+ "kind": "field",
1558
+ "name": "singleOption",
1559
+ "type": {
1560
+ "text": "ActionMenuItem"
2036
1561
  }
2037
1562
  },
2038
1563
  {
2039
1564
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
1565
+ "name": "actionsMenu",
1566
+ "type": {
1567
+ "text": "HTMLElement"
2045
1568
  }
2046
1569
  },
2047
1570
  {
2048
1571
  "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
1572
+ "name": "definitionChanged",
1573
+ "privacy": "protected",
1574
+ "parameters": [
1575
+ {
1576
+ "name": "oldValue",
1577
+ "type": {
1578
+ "text": "any"
1579
+ }
1580
+ },
1581
+ {
1582
+ "name": "newValue",
1583
+ "type": {
1584
+ "text": "any"
1585
+ }
2054
1586
  }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
1587
+ ]
2060
1588
  },
2061
1589
  {
2062
1590
  "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
1591
+ "name": "openChanged",
1592
+ "privacy": "protected"
1593
+ },
1594
+ {
1595
+ "kind": "method",
1596
+ "name": "toggleActionsMenuVisibility"
1597
+ },
1598
+ {
1599
+ "kind": "method",
1600
+ "name": "onActionMenuItemClick",
1601
+ "parameters": [
1602
+ {
1603
+ "name": "callback",
1604
+ "type": {
1605
+ "text": "(rowData) => void | any"
1606
+ }
2068
1607
  }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
1608
+ ]
2074
1609
  },
2075
1610
  {
2076
1611
  "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
1612
+ "name": "allActions",
1613
+ "type": {
1614
+ "text": "ActionMenuItem[]"
1615
+ },
1616
+ "readonly": true
2083
1617
  },
2084
1618
  {
2085
1619
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
1620
+ "name": "rowData",
1621
+ "readonly": true
2092
1622
  },
2093
1623
  {
2094
1624
  "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
1625
+ "name": "getLabel",
2102
1626
  "parameters": [
2103
1627
  {
2104
- "name": "adjustment",
1628
+ "name": "name",
2105
1629
  "type": {
2106
- "text": "number"
1630
+ "text": "string | ((rowData: any) => string)"
2107
1631
  }
2108
1632
  }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
1633
+ ]
2114
1634
  },
2115
1635
  {
2116
1636
  "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
1637
+ "name": "getTemplate",
1638
+ "parameters": [
1639
+ {
1640
+ "name": "prefix",
1641
+ "type": {
1642
+ "text": "string"
1643
+ }
2122
1644
  }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
- }
1645
+ ]
2128
1646
  },
2129
1647
  {
2130
1648
  "kind": "field",
@@ -2238,78 +1756,107 @@
2238
1756
  }
2239
1757
  }
2240
1758
  ],
2241
- "events": [
1759
+ "attributes": [
2242
1760
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2248
- }
1761
+ "name": "is-vertical",
1762
+ "type": {
1763
+ "text": "boolean"
1764
+ },
1765
+ "default": "false",
1766
+ "fieldName": "isVertical"
1767
+ },
1768
+ {
1769
+ "name": "add-default-actions",
1770
+ "type": {
1771
+ "text": "boolean"
1772
+ },
1773
+ "default": "true",
1774
+ "fieldName": "addDefaultActions"
1775
+ },
1776
+ {
1777
+ "name": "auto-close-on-action",
1778
+ "type": {
1779
+ "text": "boolean"
1780
+ },
1781
+ "default": "true",
1782
+ "fieldName": "autoCloseOnAction"
1783
+ },
1784
+ {
1785
+ "name": "name",
1786
+ "type": {
1787
+ "text": "string"
1788
+ },
1789
+ "default": "'Actions'",
1790
+ "fieldName": "name"
1791
+ },
1792
+ {
1793
+ "name": "open",
1794
+ "type": {
1795
+ "text": "boolean"
1796
+ },
1797
+ "default": "false",
1798
+ "fieldName": "open"
1799
+ },
1800
+ {
1801
+ "name": "buttonAppearance",
1802
+ "type": {
1803
+ "text": "string"
1804
+ },
1805
+ "fieldName": "buttonAppearance"
1806
+ },
1807
+ {
1808
+ "name": "hide-disabled",
1809
+ "type": {
1810
+ "text": "boolean"
1811
+ },
1812
+ "default": "false",
1813
+ "fieldName": "hideDisabled"
1814
+ },
1815
+ {
1816
+ "name": "hide-menu-single-option",
1817
+ "type": {
1818
+ "text": "boolean"
1819
+ },
1820
+ "default": "false",
1821
+ "fieldName": "hideMenuSingleOption"
2249
1822
  }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2263
- "type": {
2264
- "text": "object"
1823
+ ],
1824
+ "superclass": {
1825
+ "name": "FoundationElement",
1826
+ "package": "@microsoft/fast-foundation"
2265
1827
  },
2266
- "default": "{}"
1828
+ "tagName": "%%prefix%%-actions-menu",
1829
+ "customElement": true
2267
1830
  },
2268
1831
  {
2269
1832
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
1833
+ "name": "foundationActionsMenu",
1834
+ "description": "The Foundation Actions Menu",
2272
1835
  "privacy": "public"
2273
1836
  }
2274
1837
  ],
2275
1838
  "exports": [
2276
1839
  {
2277
1840
  "kind": "js",
2278
- "name": "Accordion",
2279
- "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionConfig",
1841
+ "name": "ActionsMenu",
2295
1842
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
1843
+ "name": "ActionsMenu",
1844
+ "module": "src/actions-menu/actions-menu.ts"
2298
1845
  }
2299
1846
  },
2300
1847
  {
2301
1848
  "kind": "js",
2302
- "name": "foundationAccordion",
1849
+ "name": "foundationActionsMenu",
2303
1850
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
1851
+ "name": "foundationActionsMenu",
1852
+ "module": "src/actions-menu/actions-menu.ts"
2306
1853
  }
2307
1854
  }
2308
1855
  ]
2309
1856
  },
2310
1857
  {
2311
1858
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
1859
+ "path": "src/actions-menu/index.ts",
2313
1860
  "declarations": [],
2314
1861
  "exports": [
2315
1862
  {
@@ -2317,7 +1864,7 @@
2317
1864
  "name": "*",
2318
1865
  "declaration": {
2319
1866
  "name": "*",
2320
- "package": "./accordion.template"
1867
+ "package": "./actions-menu.styles"
2321
1868
  }
2322
1869
  },
2323
1870
  {
@@ -2325,7 +1872,7 @@
2325
1872
  "name": "*",
2326
1873
  "declaration": {
2327
1874
  "name": "*",
2328
- "package": "./accordion.styles"
1875
+ "package": "./actions-menu.template"
2329
1876
  }
2330
1877
  },
2331
1878
  {
@@ -2333,7 +1880,7 @@
2333
1880
  "name": "*",
2334
1881
  "declaration": {
2335
1882
  "name": "*",
2336
- "package": "./accordion"
1883
+ "package": "./actions-menu"
2337
1884
  }
2338
1885
  }
2339
1886
  ]
@@ -3398,321 +2945,803 @@
3398
2945
  },
3399
2946
  {
3400
2947
  "kind": "javascript-module",
3401
- "path": "src/actions-menu/actions-menu.styles.ts",
2948
+ "path": "src/_common/affix-mixin.ts",
3402
2949
  "declarations": [
3403
2950
  {
3404
- "kind": "function",
3405
- "name": "actionsMenuBaseStyles",
3406
- "return": {
3407
- "type": {
3408
- "text": "ElementStyles"
3409
- }
3410
- },
3411
- "parameters": [
2951
+ "kind": "mixin",
2952
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
2953
+ "name": "AffixMixin",
2954
+ "members": [
3412
2955
  {
3413
- "name": "context",
2956
+ "kind": "field",
2957
+ "name": "prefix",
3414
2958
  "type": {
3415
- "text": "ElementDefinitionContext"
3416
- }
2959
+ "text": "string"
2960
+ },
2961
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
3417
2962
  },
3418
2963
  {
3419
- "name": "definition",
2964
+ "kind": "field",
2965
+ "name": "suffix",
3420
2966
  "type": {
3421
- "text": "FoundationElementDefinition"
2967
+ "text": "string"
2968
+ },
2969
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
2970
+ },
2971
+ {
2972
+ "kind": "field",
2973
+ "name": "hideAffixFromScreenReader",
2974
+ "type": {
2975
+ "text": "boolean"
2976
+ },
2977
+ "default": "false",
2978
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
2979
+ }
2980
+ ],
2981
+ "parameters": [
2982
+ {
2983
+ "name": "Base",
2984
+ "type": {
2985
+ "text": "TBase"
3422
2986
  }
3423
2987
  }
3424
2988
  ]
3425
- },
2989
+ }
2990
+ ],
2991
+ "exports": [
3426
2992
  {
3427
- "kind": "function",
3428
- "name": "foundationActionsMenuStyles",
3429
- "return": {
3430
- "type": {
3431
- "text": "ElementStyles"
3432
- }
3433
- },
3434
- "parameters": [
2993
+ "kind": "js",
2994
+ "name": "AffixMixin",
2995
+ "declaration": {
2996
+ "name": "AffixMixin",
2997
+ "module": "src/_common/affix-mixin.ts"
2998
+ }
2999
+ }
3000
+ ]
3001
+ },
3002
+ {
3003
+ "kind": "javascript-module",
3004
+ "path": "src/_common/base-file-component.ts",
3005
+ "declarations": [
3006
+ {
3007
+ "kind": "class",
3008
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3009
+ "name": "BaseFileComponent",
3010
+ "members": [
3435
3011
  {
3436
- "name": "context",
3012
+ "kind": "field",
3013
+ "name": "fileInput",
3437
3014
  "type": {
3438
- "text": "ElementDefinitionContext"
3015
+ "text": "HTMLInputElement"
3016
+ },
3017
+ "privacy": "public"
3018
+ },
3019
+ {
3020
+ "kind": "field",
3021
+ "name": "selectedFile",
3022
+ "type": {
3023
+ "text": "File | null"
3024
+ },
3025
+ "privacy": "protected",
3026
+ "default": "null"
3027
+ },
3028
+ {
3029
+ "kind": "field",
3030
+ "name": "label",
3031
+ "type": {
3032
+ "text": "string"
3439
3033
  }
3440
3034
  },
3441
3035
  {
3442
- "name": "definition",
3036
+ "kind": "field",
3037
+ "name": "accept",
3443
3038
  "type": {
3444
- "text": "FoundationElementDefinition"
3039
+ "text": "string"
3040
+ },
3041
+ "default": "''"
3042
+ },
3043
+ {
3044
+ "kind": "field",
3045
+ "name": "fileSizeLimitBytes",
3046
+ "default": "10_485_760",
3047
+ "type": {
3048
+ "text": "number"
3049
+ }
3050
+ },
3051
+ {
3052
+ "kind": "field",
3053
+ "name": "fileName",
3054
+ "type": {
3055
+ "text": "string"
3056
+ },
3057
+ "default": "''"
3058
+ },
3059
+ {
3060
+ "kind": "field",
3061
+ "name": "isProcessing",
3062
+ "type": {
3063
+ "text": "boolean"
3064
+ },
3065
+ "default": "false"
3066
+ },
3067
+ {
3068
+ "kind": "method",
3069
+ "name": "handleClick",
3070
+ "privacy": "public",
3071
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3072
+ },
3073
+ {
3074
+ "kind": "method",
3075
+ "name": "onInputChange",
3076
+ "privacy": "public",
3077
+ "parameters": [
3078
+ {
3079
+ "name": "e",
3080
+ "type": {
3081
+ "text": "Event"
3082
+ },
3083
+ "description": "The change event from the file input"
3084
+ }
3085
+ ],
3086
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3087
+ },
3088
+ {
3089
+ "kind": "method",
3090
+ "name": "clearSelection",
3091
+ "privacy": "public",
3092
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
3093
+ },
3094
+ {
3095
+ "kind": "method",
3096
+ "name": "getSelectedFile",
3097
+ "privacy": "public",
3098
+ "description": "Gets the currently selected file object",
3099
+ "return": {
3100
+ "type": {
3101
+ "text": ""
3102
+ }
3103
+ }
3104
+ },
3105
+ {
3106
+ "kind": "method",
3107
+ "name": "showError",
3108
+ "privacy": "protected",
3109
+ "parameters": [
3110
+ {
3111
+ "name": "title",
3112
+ "type": {
3113
+ "text": "string"
3114
+ },
3115
+ "description": "The error title"
3116
+ },
3117
+ {
3118
+ "name": "message",
3119
+ "type": {
3120
+ "text": "string"
3121
+ },
3122
+ "description": "The error message"
3123
+ }
3124
+ ],
3125
+ "description": "Shows an error notification using the unified error handling system"
3126
+ },
3127
+ {
3128
+ "kind": "method",
3129
+ "name": "onFileSelected",
3130
+ "privacy": "protected",
3131
+ "return": {
3132
+ "type": {
3133
+ "text": "void"
3134
+ }
3135
+ },
3136
+ "parameters": [
3137
+ {
3138
+ "name": "files",
3139
+ "type": {
3140
+ "text": "File[]"
3141
+ },
3142
+ "description": "The selected file"
3143
+ }
3144
+ ],
3145
+ "description": "Abstract method called when a file is selected"
3146
+ },
3147
+ {
3148
+ "kind": "method",
3149
+ "name": "onFileCleared",
3150
+ "privacy": "protected",
3151
+ "return": {
3152
+ "type": {
3153
+ "text": "void"
3154
+ }
3155
+ },
3156
+ "description": "Abstract method called when file selection is cleared"
3157
+ },
3158
+ {
3159
+ "kind": "field",
3160
+ "name": "_presentation",
3161
+ "type": {
3162
+ "text": "ComponentPresentation | null | undefined"
3163
+ },
3164
+ "privacy": "private",
3165
+ "default": "void 0",
3166
+ "inheritedFrom": {
3167
+ "name": "FoundationElement",
3168
+ "module": "src/foundation-element/foundation-element.ts"
3169
+ }
3170
+ },
3171
+ {
3172
+ "kind": "field",
3173
+ "name": "$presentation",
3174
+ "type": {
3175
+ "text": "ComponentPresentation | null"
3176
+ },
3177
+ "privacy": "public",
3178
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3179
+ "inheritedFrom": {
3180
+ "name": "FoundationElement",
3181
+ "module": "src/foundation-element/foundation-element.ts"
3182
+ }
3183
+ },
3184
+ {
3185
+ "kind": "field",
3186
+ "name": "template",
3187
+ "type": {
3188
+ "text": "ElementViewTemplate | void | null"
3189
+ },
3190
+ "privacy": "public",
3191
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3192
+ "inheritedFrom": {
3193
+ "name": "FoundationElement",
3194
+ "module": "src/foundation-element/foundation-element.ts"
3195
+ }
3196
+ },
3197
+ {
3198
+ "kind": "method",
3199
+ "name": "templateChanged",
3200
+ "privacy": "protected",
3201
+ "return": {
3202
+ "type": {
3203
+ "text": "void"
3204
+ }
3205
+ },
3206
+ "inheritedFrom": {
3207
+ "name": "FoundationElement",
3208
+ "module": "src/foundation-element/foundation-element.ts"
3209
+ }
3210
+ },
3211
+ {
3212
+ "kind": "field",
3213
+ "name": "styles",
3214
+ "type": {
3215
+ "text": "ElementStyles | void | null"
3216
+ },
3217
+ "privacy": "public",
3218
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3219
+ "inheritedFrom": {
3220
+ "name": "FoundationElement",
3221
+ "module": "src/foundation-element/foundation-element.ts"
3222
+ }
3223
+ },
3224
+ {
3225
+ "kind": "method",
3226
+ "name": "stylesChanged",
3227
+ "privacy": "protected",
3228
+ "return": {
3229
+ "type": {
3230
+ "text": "void"
3231
+ }
3232
+ },
3233
+ "inheritedFrom": {
3234
+ "name": "FoundationElement",
3235
+ "module": "src/foundation-element/foundation-element.ts"
3236
+ }
3237
+ },
3238
+ {
3239
+ "kind": "method",
3240
+ "name": "compose",
3241
+ "privacy": "public",
3242
+ "static": true,
3243
+ "return": {
3244
+ "type": {
3245
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3246
+ }
3247
+ },
3248
+ "parameters": [
3249
+ {
3250
+ "name": "this",
3251
+ "type": {
3252
+ "text": "K"
3253
+ }
3254
+ },
3255
+ {
3256
+ "name": "elementDefinition",
3257
+ "type": {
3258
+ "text": "T"
3259
+ },
3260
+ "description": "The definition of the element to create the registry\nfunction for."
3261
+ }
3262
+ ],
3263
+ "description": "Defines an element registry function with a set of element definition defaults.",
3264
+ "inheritedFrom": {
3265
+ "name": "FoundationElement",
3266
+ "module": "src/foundation-element/foundation-element.ts"
3445
3267
  }
3446
3268
  }
3447
- ]
3269
+ ],
3270
+ "events": [
3271
+ {
3272
+ "description": "Fired when file size validation fails",
3273
+ "name": "error"
3274
+ },
3275
+ {
3276
+ "description": "Fired when selection is cleared",
3277
+ "name": "clear"
3278
+ }
3279
+ ],
3280
+ "attributes": [
3281
+ {
3282
+ "name": "label",
3283
+ "type": {
3284
+ "text": "string"
3285
+ },
3286
+ "fieldName": "label"
3287
+ },
3288
+ {
3289
+ "name": "accept",
3290
+ "type": {
3291
+ "text": "string"
3292
+ },
3293
+ "default": "''",
3294
+ "fieldName": "accept"
3295
+ },
3296
+ {
3297
+ "name": "file-size-limit-bytes",
3298
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
3299
+ "resolveInitializer": {
3300
+ "module": "src/_common/base-file-component.ts"
3301
+ },
3302
+ "fieldName": "fileSizeLimitBytes"
3303
+ }
3304
+ ],
3305
+ "superclass": {
3306
+ "name": "FoundationElement",
3307
+ "package": "@microsoft/fast-foundation"
3308
+ }
3448
3309
  }
3449
3310
  ],
3450
3311
  "exports": [
3451
3312
  {
3452
3313
  "kind": "js",
3453
- "name": "actionsMenuBaseStyles",
3314
+ "name": "BaseFileComponent",
3454
3315
  "declaration": {
3455
- "name": "actionsMenuBaseStyles",
3456
- "module": "src/actions-menu/actions-menu.styles.ts"
3316
+ "name": "BaseFileComponent",
3317
+ "module": "src/_common/base-file-component.ts"
3457
3318
  }
3458
- },
3319
+ }
3320
+ ]
3321
+ },
3322
+ {
3323
+ "kind": "javascript-module",
3324
+ "path": "src/_common/field-styles.ts",
3325
+ "declarations": [
3326
+ {
3327
+ "kind": "variable",
3328
+ "name": "sharedFieldStyles",
3329
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
3330
+ }
3331
+ ],
3332
+ "exports": [
3459
3333
  {
3460
3334
  "kind": "js",
3461
- "name": "foundationActionsMenuStyles",
3335
+ "name": "sharedFieldStyles",
3462
3336
  "declaration": {
3463
- "name": "foundationActionsMenuStyles",
3464
- "module": "src/actions-menu/actions-menu.styles.ts"
3337
+ "name": "sharedFieldStyles",
3338
+ "module": "src/_common/field-styles.ts"
3465
3339
  }
3466
3340
  }
3467
3341
  ]
3468
3342
  },
3469
3343
  {
3470
3344
  "kind": "javascript-module",
3471
- "path": "src/actions-menu/actions-menu.template.ts",
3345
+ "path": "src/_common/icons.ts",
3472
3346
  "declarations": [
3473
3347
  {
3474
3348
  "kind": "function",
3475
- "name": "menuTemplate",
3349
+ "name": "closeIcon",
3476
3350
  "parameters": [
3477
3351
  {
3478
- "name": "prefix",
3479
- "type": {
3480
- "text": "string"
3481
- }
3352
+ "name": "slot",
3353
+ "default": "'start'"
3354
+ },
3355
+ {
3356
+ "name": "fill",
3357
+ "default": "'#879ba6'"
3482
3358
  }
3483
3359
  ]
3360
+ }
3361
+ ],
3362
+ "exports": [
3363
+ {
3364
+ "kind": "js",
3365
+ "name": "closeIcon",
3366
+ "declaration": {
3367
+ "name": "closeIcon",
3368
+ "module": "src/_common/icons.ts"
3369
+ }
3370
+ }
3371
+ ]
3372
+ },
3373
+ {
3374
+ "kind": "javascript-module",
3375
+ "path": "src/_common/index.ts",
3376
+ "declarations": [],
3377
+ "exports": [
3378
+ {
3379
+ "kind": "js",
3380
+ "name": "*",
3381
+ "declaration": {
3382
+ "name": "*",
3383
+ "package": "./affix-mixin"
3384
+ }
3484
3385
  },
3485
3386
  {
3486
- "kind": "function",
3487
- "name": "singleOptionTemplate",
3488
- "parameters": [
3489
- {
3490
- "name": "prefix",
3491
- "type": {
3492
- "text": "string"
3493
- }
3494
- }
3495
- ]
3387
+ "kind": "js",
3388
+ "name": "*",
3389
+ "declaration": {
3390
+ "name": "*",
3391
+ "package": "./base-file-component"
3392
+ }
3496
3393
  },
3497
3394
  {
3498
- "kind": "variable",
3499
- "name": "foundationActionsMenuTemplate",
3500
- "type": {
3501
- "text": "ViewTemplate<ActionsMenu>"
3502
- },
3503
- "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`"
3395
+ "kind": "js",
3396
+ "name": "*",
3397
+ "declaration": {
3398
+ "name": "*",
3399
+ "package": "./field-styles"
3400
+ }
3401
+ },
3402
+ {
3403
+ "kind": "js",
3404
+ "name": "*",
3405
+ "declaration": {
3406
+ "name": "*",
3407
+ "package": "./icons"
3408
+ }
3504
3409
  }
3505
- ],
3410
+ ]
3411
+ },
3412
+ {
3413
+ "kind": "javascript-module",
3414
+ "path": "src/_config/index.ts",
3415
+ "declarations": [],
3506
3416
  "exports": [
3507
3417
  {
3508
3418
  "kind": "js",
3509
- "name": "menuTemplate",
3419
+ "name": "*",
3510
3420
  "declaration": {
3511
- "name": "menuTemplate",
3512
- "module": "src/actions-menu/actions-menu.template.ts"
3421
+ "name": "*",
3422
+ "package": "./styles"
3513
3423
  }
3514
3424
  },
3515
3425
  {
3516
3426
  "kind": "js",
3517
- "name": "singleOptionTemplate",
3427
+ "name": "*",
3518
3428
  "declaration": {
3519
- "name": "singleOptionTemplate",
3520
- "module": "src/actions-menu/actions-menu.template.ts"
3429
+ "name": "*",
3430
+ "package": "./tokens"
3521
3431
  }
3522
3432
  },
3523
3433
  {
3524
3434
  "kind": "js",
3525
- "name": "foundationActionsMenuTemplate",
3435
+ "name": "*",
3526
3436
  "declaration": {
3527
- "name": "foundationActionsMenuTemplate",
3528
- "module": "src/actions-menu/actions-menu.template.ts"
3437
+ "name": "*",
3438
+ "package": "./values"
3529
3439
  }
3530
3440
  }
3531
3441
  ]
3532
3442
  },
3533
3443
  {
3534
3444
  "kind": "javascript-module",
3535
- "path": "src/actions-menu/actions-menu.ts",
3445
+ "path": "src/accordion/accordion.styles.ts",
3536
3446
  "declarations": [
3537
3447
  {
3538
- "kind": "class",
3539
- "description": "",
3540
- "name": "ActionsMenu",
3541
- "members": [
3448
+ "kind": "function",
3449
+ "name": "foundationAccordionStyles",
3450
+ "return": {
3451
+ "type": {
3452
+ "text": "ElementStyles"
3453
+ }
3454
+ },
3455
+ "parameters": [
3542
3456
  {
3543
- "kind": "field",
3544
- "name": "actions",
3457
+ "name": "context",
3545
3458
  "type": {
3546
- "text": "ActionMenuItem[]"
3459
+ "text": "ElementDefinitionContext"
3547
3460
  }
3548
3461
  },
3549
3462
  {
3550
- "kind": "field",
3551
- "name": "isVertical",
3463
+ "name": "definition",
3552
3464
  "type": {
3553
- "text": "boolean"
3554
- },
3555
- "default": "false"
3556
- },
3465
+ "text": "FoundationElementDefinition"
3466
+ }
3467
+ }
3468
+ ]
3469
+ }
3470
+ ],
3471
+ "exports": [
3472
+ {
3473
+ "kind": "js",
3474
+ "name": "foundationAccordionStyles",
3475
+ "declaration": {
3476
+ "name": "foundationAccordionStyles",
3477
+ "module": "src/accordion/accordion.styles.ts"
3478
+ }
3479
+ }
3480
+ ]
3481
+ },
3482
+ {
3483
+ "kind": "javascript-module",
3484
+ "path": "src/accordion/accordion.template.ts",
3485
+ "declarations": [
3486
+ {
3487
+ "kind": "function",
3488
+ "name": "foundationAccordionTemplate",
3489
+ "return": {
3490
+ "type": {
3491
+ "text": "ViewTemplate<Accordion>"
3492
+ }
3493
+ },
3494
+ "parameters": [
3557
3495
  {
3558
- "kind": "field",
3559
- "name": "addDefaultActions",
3496
+ "name": "context",
3560
3497
  "type": {
3561
- "text": "boolean"
3562
- },
3563
- "default": "true"
3498
+ "text": "ElementDefinitionContext"
3499
+ }
3564
3500
  },
3565
3501
  {
3566
- "kind": "field",
3567
- "name": "autoCloseOnAction",
3502
+ "name": "definition",
3568
3503
  "type": {
3569
- "text": "boolean"
3504
+ "text": "FoundationElementDefinition"
3505
+ }
3506
+ }
3507
+ ]
3508
+ }
3509
+ ],
3510
+ "exports": [
3511
+ {
3512
+ "kind": "js",
3513
+ "name": "foundationAccordionTemplate",
3514
+ "declaration": {
3515
+ "name": "foundationAccordionTemplate",
3516
+ "module": "src/accordion/accordion.template.ts"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3521
+ {
3522
+ "kind": "javascript-module",
3523
+ "path": "src/accordion/accordion.ts",
3524
+ "declarations": [
3525
+ {
3526
+ "kind": "class",
3527
+ "description": "",
3528
+ "name": "Accordion",
3529
+ "superclass": {
3530
+ "name": "FASTAccordion",
3531
+ "package": "@microsoft/fast-foundation"
3532
+ },
3533
+ "tagName": "%%prefix%%-accordion",
3534
+ "customElement": true,
3535
+ "attributes": [
3536
+ {
3537
+ "name": "expand-mode",
3538
+ "type": {
3539
+ "text": "AccordionExpandMode"
3570
3540
  },
3571
- "default": "true"
3572
- },
3541
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
+ "fieldName": "expandmode",
3543
+ "inheritedFrom": {
3544
+ "name": "Accordion",
3545
+ "module": "src/accordion/accordion.ts"
3546
+ }
3547
+ }
3548
+ ],
3549
+ "members": [
3573
3550
  {
3574
3551
  "kind": "field",
3575
- "name": "classNames",
3552
+ "name": "expandmode",
3576
3553
  "type": {
3577
- "text": "string"
3554
+ "text": "AccordionExpandMode"
3555
+ },
3556
+ "privacy": "public",
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "inheritedFrom": {
3559
+ "name": "Accordion",
3560
+ "module": "src/accordion/accordion.ts"
3578
3561
  }
3579
3562
  },
3580
3563
  {
3581
3564
  "kind": "field",
3582
- "name": "definition",
3565
+ "name": "activeid",
3583
3566
  "type": {
3584
- "text": "any"
3567
+ "text": "string | null"
3568
+ },
3569
+ "privacy": "private",
3570
+ "inheritedFrom": {
3571
+ "name": "Accordion",
3572
+ "module": "src/accordion/accordion.ts"
3585
3573
  }
3586
3574
  },
3587
3575
  {
3588
3576
  "kind": "field",
3589
- "name": "name",
3577
+ "name": "activeItemIndex",
3590
3578
  "type": {
3591
- "text": "string"
3579
+ "text": "number"
3592
3580
  },
3593
- "default": "'Actions'"
3581
+ "privacy": "private",
3582
+ "default": "0",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3594
3587
  },
3595
3588
  {
3596
3589
  "kind": "field",
3597
- "name": "open",
3590
+ "name": "accordionIds",
3598
3591
  "type": {
3599
- "text": "boolean"
3592
+ "text": "Array<string | null>"
3600
3593
  },
3601
- "default": "false"
3594
+ "privacy": "private",
3595
+ "inheritedFrom": {
3596
+ "name": "Accordion",
3597
+ "module": "src/accordion/accordion.ts"
3598
+ }
3602
3599
  },
3603
3600
  {
3604
3601
  "kind": "field",
3605
- "name": "buttonAppearance",
3606
- "type": {
3607
- "text": "string"
3602
+ "name": "change",
3603
+ "privacy": "private",
3604
+ "inheritedFrom": {
3605
+ "name": "Accordion",
3606
+ "module": "src/accordion/accordion.ts"
3608
3607
  }
3609
3608
  },
3610
3609
  {
3611
- "kind": "field",
3612
- "name": "hideDisabled",
3613
- "type": {
3614
- "text": "boolean"
3610
+ "kind": "method",
3611
+ "name": "findExpandedItem",
3612
+ "privacy": "private",
3613
+ "return": {
3614
+ "type": {
3615
+ "text": "AccordionItem | null"
3616
+ }
3615
3617
  },
3616
- "default": "false"
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3617
3622
  },
3618
3623
  {
3619
3624
  "kind": "field",
3620
- "name": "hideMenuSingleOption",
3621
- "type": {
3622
- "text": "boolean"
3625
+ "name": "setItems",
3626
+ "privacy": "private",
3627
+ "inheritedFrom": {
3628
+ "name": "Accordion",
3629
+ "module": "src/accordion/accordion.ts"
3630
+ }
3631
+ },
3632
+ {
3633
+ "kind": "method",
3634
+ "name": "resetItems",
3635
+ "privacy": "private",
3636
+ "return": {
3637
+ "type": {
3638
+ "text": "void"
3639
+ }
3623
3640
  },
3624
- "default": "false"
3641
+ "inheritedFrom": {
3642
+ "name": "Accordion",
3643
+ "module": "src/accordion/accordion.ts"
3644
+ }
3625
3645
  },
3626
3646
  {
3627
3647
  "kind": "field",
3628
- "name": "singleOption",
3629
- "type": {
3630
- "text": "ActionMenuItem"
3648
+ "name": "removeItemListeners",
3649
+ "privacy": "private",
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3631
3653
  }
3632
3654
  },
3633
3655
  {
3634
3656
  "kind": "field",
3635
- "name": "actionsMenu",
3636
- "type": {
3637
- "text": "HTMLElement"
3657
+ "name": "activeItemChange",
3658
+ "privacy": "private",
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3638
3662
  }
3639
3663
  },
3640
3664
  {
3641
3665
  "kind": "method",
3642
- "name": "definitionChanged",
3643
- "privacy": "protected",
3644
- "parameters": [
3645
- {
3646
- "name": "oldValue",
3647
- "type": {
3648
- "text": "any"
3649
- }
3650
- },
3651
- {
3652
- "name": "newValue",
3653
- "type": {
3654
- "text": "any"
3655
- }
3666
+ "name": "getItemIds",
3667
+ "privacy": "private",
3668
+ "return": {
3669
+ "type": {
3670
+ "text": "Array<string | null>"
3656
3671
  }
3657
- ]
3658
- },
3659
- {
3660
- "kind": "method",
3661
- "name": "openChanged",
3662
- "privacy": "protected"
3663
- },
3664
- {
3665
- "kind": "method",
3666
- "name": "toggleActionsMenuVisibility"
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3676
+ }
3667
3677
  },
3668
3678
  {
3669
3679
  "kind": "method",
3670
- "name": "onActionMenuItemClick",
3671
- "parameters": [
3672
- {
3673
- "name": "callback",
3674
- "type": {
3675
- "text": "(rowData) => void | any"
3676
- }
3680
+ "name": "isSingleExpandMode",
3681
+ "privacy": "private",
3682
+ "return": {
3683
+ "type": {
3684
+ "text": "boolean"
3677
3685
  }
3678
- ]
3686
+ },
3687
+ "inheritedFrom": {
3688
+ "name": "Accordion",
3689
+ "module": "src/accordion/accordion.ts"
3690
+ }
3679
3691
  },
3680
3692
  {
3681
3693
  "kind": "field",
3682
- "name": "allActions",
3683
- "type": {
3684
- "text": "ActionMenuItem[]"
3685
- },
3686
- "readonly": true
3694
+ "name": "handleItemKeyDown",
3695
+ "privacy": "private",
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3699
+ }
3687
3700
  },
3688
3701
  {
3689
3702
  "kind": "field",
3690
- "name": "rowData",
3691
- "readonly": true
3703
+ "name": "handleItemFocus",
3704
+ "privacy": "private",
3705
+ "inheritedFrom": {
3706
+ "name": "Accordion",
3707
+ "module": "src/accordion/accordion.ts"
3708
+ }
3692
3709
  },
3693
3710
  {
3694
3711
  "kind": "method",
3695
- "name": "getLabel",
3712
+ "name": "adjust",
3713
+ "privacy": "private",
3714
+ "return": {
3715
+ "type": {
3716
+ "text": "void"
3717
+ }
3718
+ },
3696
3719
  "parameters": [
3697
3720
  {
3698
- "name": "name",
3721
+ "name": "adjustment",
3699
3722
  "type": {
3700
- "text": "string | ((rowData: any) => string)"
3723
+ "text": "number"
3701
3724
  }
3702
3725
  }
3703
- ]
3726
+ ],
3727
+ "inheritedFrom": {
3728
+ "name": "Accordion",
3729
+ "module": "src/accordion/accordion.ts"
3730
+ }
3704
3731
  },
3705
3732
  {
3706
3733
  "kind": "method",
3707
- "name": "getTemplate",
3708
- "parameters": [
3709
- {
3710
- "name": "prefix",
3711
- "type": {
3712
- "text": "string"
3713
- }
3734
+ "name": "focusItem",
3735
+ "privacy": "private",
3736
+ "return": {
3737
+ "type": {
3738
+ "text": "void"
3714
3739
  }
3715
- ]
3740
+ },
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3744
+ }
3716
3745
  },
3717
3746
  {
3718
3747
  "kind": "field",
@@ -3826,107 +3855,78 @@
3826
3855
  }
3827
3856
  }
3828
3857
  ],
3829
- "attributes": [
3830
- {
3831
- "name": "is-vertical",
3832
- "type": {
3833
- "text": "boolean"
3834
- },
3835
- "default": "false",
3836
- "fieldName": "isVertical"
3837
- },
3838
- {
3839
- "name": "add-default-actions",
3840
- "type": {
3841
- "text": "boolean"
3842
- },
3843
- "default": "true",
3844
- "fieldName": "addDefaultActions"
3845
- },
3846
- {
3847
- "name": "auto-close-on-action",
3848
- "type": {
3849
- "text": "boolean"
3850
- },
3851
- "default": "true",
3852
- "fieldName": "autoCloseOnAction"
3853
- },
3854
- {
3855
- "name": "name",
3856
- "type": {
3857
- "text": "string"
3858
- },
3859
- "default": "'Actions'",
3860
- "fieldName": "name"
3861
- },
3862
- {
3863
- "name": "open",
3864
- "type": {
3865
- "text": "boolean"
3866
- },
3867
- "default": "false",
3868
- "fieldName": "open"
3869
- },
3870
- {
3871
- "name": "buttonAppearance",
3872
- "type": {
3873
- "text": "string"
3874
- },
3875
- "fieldName": "buttonAppearance"
3876
- },
3877
- {
3878
- "name": "hide-disabled",
3879
- "type": {
3880
- "text": "boolean"
3881
- },
3882
- "default": "false",
3883
- "fieldName": "hideDisabled"
3884
- },
3858
+ "events": [
3885
3859
  {
3886
- "name": "hide-menu-single-option",
3887
- "type": {
3888
- "text": "boolean"
3889
- },
3890
- "default": "false",
3891
- "fieldName": "hideMenuSingleOption"
3860
+ "description": "Fires a custom 'change' event when the active item changes",
3861
+ "name": "change",
3862
+ "inheritedFrom": {
3863
+ "name": "Accordion",
3864
+ "module": "src/accordion/accordion.ts"
3865
+ }
3892
3866
  }
3893
- ],
3894
- "superclass": {
3895
- "name": "FoundationElement",
3896
- "package": "@microsoft/fast-foundation"
3867
+ ]
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAccordionShadowOptions",
3872
+ "type": {
3873
+ "text": "ShadowRootInit"
3897
3874
  },
3898
- "tagName": "%%prefix%%-actions-menu",
3899
- "customElement": true
3875
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3900
3876
  },
3901
3877
  {
3902
3878
  "kind": "variable",
3903
- "name": "foundationActionsMenu",
3904
- "description": "The Foundation Actions Menu",
3879
+ "name": "defaultAccordionConfig",
3880
+ "type": {
3881
+ "text": "object"
3882
+ },
3883
+ "default": "{}"
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordion",
3888
+ "description": "The Foundation Accordion",
3905
3889
  "privacy": "public"
3906
3890
  }
3907
3891
  ],
3908
3892
  "exports": [
3909
3893
  {
3910
3894
  "kind": "js",
3911
- "name": "ActionsMenu",
3895
+ "name": "Accordion",
3912
3896
  "declaration": {
3913
- "name": "ActionsMenu",
3914
- "module": "src/actions-menu/actions-menu.ts"
3897
+ "name": "Accordion",
3898
+ "module": "src/accordion/accordion.ts"
3915
3899
  }
3916
3900
  },
3917
3901
  {
3918
3902
  "kind": "js",
3919
- "name": "foundationActionsMenu",
3903
+ "name": "foundationAccordionShadowOptions",
3920
3904
  "declaration": {
3921
- "name": "foundationActionsMenu",
3922
- "module": "src/actions-menu/actions-menu.ts"
3905
+ "name": "foundationAccordionShadowOptions",
3906
+ "module": "src/accordion/accordion.ts"
3907
+ }
3908
+ },
3909
+ {
3910
+ "kind": "js",
3911
+ "name": "defaultAccordionConfig",
3912
+ "declaration": {
3913
+ "name": "defaultAccordionConfig",
3914
+ "module": "src/accordion/accordion.ts"
3915
+ }
3916
+ },
3917
+ {
3918
+ "kind": "js",
3919
+ "name": "foundationAccordion",
3920
+ "declaration": {
3921
+ "name": "foundationAccordion",
3922
+ "module": "src/accordion/accordion.ts"
3923
3923
  }
3924
3924
  }
3925
3925
  ]
3926
3926
  },
3927
3927
  {
3928
3928
  "kind": "javascript-module",
3929
- "path": "src/actions-menu/index.ts",
3929
+ "path": "src/accordion/index.ts",
3930
3930
  "declarations": [],
3931
3931
  "exports": [
3932
3932
  {
@@ -3934,7 +3934,7 @@
3934
3934
  "name": "*",
3935
3935
  "declaration": {
3936
3936
  "name": "*",
3937
- "package": "./actions-menu.styles"
3937
+ "package": "./accordion.template"
3938
3938
  }
3939
3939
  },
3940
3940
  {
@@ -3942,7 +3942,7 @@
3942
3942
  "name": "*",
3943
3943
  "declaration": {
3944
3944
  "name": "*",
3945
- "package": "./actions-menu.template"
3945
+ "package": "./accordion.styles"
3946
3946
  }
3947
3947
  },
3948
3948
  {
@@ -3950,7 +3950,7 @@
3950
3950
  "name": "*",
3951
3951
  "declaration": {
3952
3952
  "name": "*",
3953
- "package": "./actions-menu"
3953
+ "package": "./accordion"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -57711,6 +57711,197 @@
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
+ },
57714
57905
  {
57715
57906
  "kind": "javascript-module",
57716
57907
  "path": "src/_config/styles/colors.ts",
@@ -59083,197 +59274,6 @@
59083
59274
  "declarations": [],
59084
59275
  "exports": []
59085
59276
  },
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",