@genesislcap/foundation-ui 15.3.4 → 15.3.5-canary.gs-disc-1
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.
- package/dist/custom-elements.json +1225 -1225
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -958,44 +958,66 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
976
972
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "suffix",
|
|
973
|
+
"name": "context",
|
|
979
974
|
"type": {
|
|
980
|
-
"text": "
|
|
981
|
-
}
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
983
977
|
},
|
|
984
978
|
{
|
|
985
|
-
"
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
979
|
+
"name": "definition",
|
|
987
980
|
"type": {
|
|
988
|
-
"text": "
|
|
989
|
-
}
|
|
990
|
-
"default": "false",
|
|
991
|
-
"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."
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
982
|
+
}
|
|
992
983
|
}
|
|
993
|
-
]
|
|
984
|
+
]
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"exports": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "js",
|
|
990
|
+
"name": "foundationAccordionStyles",
|
|
991
|
+
"declaration": {
|
|
992
|
+
"name": "foundationAccordionStyles",
|
|
993
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"kind": "javascript-module",
|
|
1000
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1001
|
+
"declarations": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "function",
|
|
1004
|
+
"name": "foundationAccordionTemplate",
|
|
1005
|
+
"return": {
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "ViewTemplate<Accordion>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
994
1010
|
"parameters": [
|
|
995
1011
|
{
|
|
996
|
-
"name": "
|
|
1012
|
+
"name": "context",
|
|
997
1013
|
"type": {
|
|
998
|
-
"text": "
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
999
1021
|
}
|
|
1000
1022
|
}
|
|
1001
1023
|
]
|
|
@@ -1004,143 +1026,207 @@
|
|
|
1004
1026
|
"exports": [
|
|
1005
1027
|
{
|
|
1006
1028
|
"kind": "js",
|
|
1007
|
-
"name": "
|
|
1029
|
+
"name": "foundationAccordionTemplate",
|
|
1008
1030
|
"declaration": {
|
|
1009
|
-
"name": "
|
|
1010
|
-
"module": "src/
|
|
1031
|
+
"name": "foundationAccordionTemplate",
|
|
1032
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1011
1033
|
}
|
|
1012
1034
|
}
|
|
1013
1035
|
]
|
|
1014
1036
|
},
|
|
1015
1037
|
{
|
|
1016
1038
|
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/
|
|
1039
|
+
"path": "src/accordion/accordion.ts",
|
|
1018
1040
|
"declarations": [
|
|
1019
1041
|
{
|
|
1020
1042
|
"kind": "class",
|
|
1021
|
-
"description": "
|
|
1022
|
-
"name": "
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "Accordion",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordion",
|
|
1047
|
+
"package": "@microsoft/fast-foundation"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1052
|
+
{
|
|
1053
|
+
"name": "expand-mode",
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "AccordionExpandMode"
|
|
1056
|
+
},
|
|
1057
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1058
|
+
"fieldName": "expandmode",
|
|
1059
|
+
"inheritedFrom": {
|
|
1060
|
+
"name": "Accordion",
|
|
1061
|
+
"module": "src/accordion/accordion.ts"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
],
|
|
1023
1065
|
"members": [
|
|
1024
1066
|
{
|
|
1025
1067
|
"kind": "field",
|
|
1026
|
-
"name": "
|
|
1068
|
+
"name": "expandmode",
|
|
1027
1069
|
"type": {
|
|
1028
|
-
"text": "
|
|
1070
|
+
"text": "AccordionExpandMode"
|
|
1029
1071
|
},
|
|
1030
|
-
"privacy": "public"
|
|
1072
|
+
"privacy": "public",
|
|
1073
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1074
|
+
"inheritedFrom": {
|
|
1075
|
+
"name": "Accordion",
|
|
1076
|
+
"module": "src/accordion/accordion.ts"
|
|
1077
|
+
}
|
|
1031
1078
|
},
|
|
1032
1079
|
{
|
|
1033
1080
|
"kind": "field",
|
|
1034
|
-
"name": "
|
|
1081
|
+
"name": "activeid",
|
|
1035
1082
|
"type": {
|
|
1036
|
-
"text": "
|
|
1083
|
+
"text": "string | null"
|
|
1037
1084
|
},
|
|
1038
|
-
"privacy": "
|
|
1039
|
-
"
|
|
1085
|
+
"privacy": "private",
|
|
1086
|
+
"inheritedFrom": {
|
|
1087
|
+
"name": "Accordion",
|
|
1088
|
+
"module": "src/accordion/accordion.ts"
|
|
1089
|
+
}
|
|
1040
1090
|
},
|
|
1041
1091
|
{
|
|
1042
1092
|
"kind": "field",
|
|
1043
|
-
"name": "
|
|
1093
|
+
"name": "activeItemIndex",
|
|
1044
1094
|
"type": {
|
|
1045
|
-
"text": "
|
|
1095
|
+
"text": "number"
|
|
1096
|
+
},
|
|
1097
|
+
"privacy": "private",
|
|
1098
|
+
"default": "0",
|
|
1099
|
+
"inheritedFrom": {
|
|
1100
|
+
"name": "Accordion",
|
|
1101
|
+
"module": "src/accordion/accordion.ts"
|
|
1046
1102
|
}
|
|
1047
1103
|
},
|
|
1048
1104
|
{
|
|
1049
1105
|
"kind": "field",
|
|
1050
|
-
"name": "
|
|
1106
|
+
"name": "accordionIds",
|
|
1051
1107
|
"type": {
|
|
1052
|
-
"text": "string"
|
|
1108
|
+
"text": "Array<string | null>"
|
|
1053
1109
|
},
|
|
1054
|
-
"
|
|
1110
|
+
"privacy": "private",
|
|
1111
|
+
"inheritedFrom": {
|
|
1112
|
+
"name": "Accordion",
|
|
1113
|
+
"module": "src/accordion/accordion.ts"
|
|
1114
|
+
}
|
|
1055
1115
|
},
|
|
1056
1116
|
{
|
|
1057
1117
|
"kind": "field",
|
|
1058
|
-
"name": "
|
|
1059
|
-
"
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
1118
|
+
"name": "change",
|
|
1119
|
+
"privacy": "private",
|
|
1120
|
+
"inheritedFrom": {
|
|
1121
|
+
"name": "Accordion",
|
|
1122
|
+
"module": "src/accordion/accordion.ts"
|
|
1062
1123
|
}
|
|
1063
1124
|
},
|
|
1064
1125
|
{
|
|
1065
|
-
"kind": "
|
|
1066
|
-
"name": "
|
|
1067
|
-
"
|
|
1068
|
-
|
|
1126
|
+
"kind": "method",
|
|
1127
|
+
"name": "findExpandedItem",
|
|
1128
|
+
"privacy": "private",
|
|
1129
|
+
"return": {
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "AccordionItem | null"
|
|
1132
|
+
}
|
|
1069
1133
|
},
|
|
1070
|
-
"
|
|
1134
|
+
"inheritedFrom": {
|
|
1135
|
+
"name": "Accordion",
|
|
1136
|
+
"module": "src/accordion/accordion.ts"
|
|
1137
|
+
}
|
|
1071
1138
|
},
|
|
1072
1139
|
{
|
|
1073
1140
|
"kind": "field",
|
|
1074
|
-
"name": "
|
|
1075
|
-
"
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1141
|
+
"name": "setItems",
|
|
1142
|
+
"privacy": "private",
|
|
1143
|
+
"inheritedFrom": {
|
|
1144
|
+
"name": "Accordion",
|
|
1145
|
+
"module": "src/accordion/accordion.ts"
|
|
1146
|
+
}
|
|
1079
1147
|
},
|
|
1080
1148
|
{
|
|
1081
1149
|
"kind": "method",
|
|
1082
|
-
"name": "
|
|
1083
|
-
"privacy": "
|
|
1084
|
-
"
|
|
1150
|
+
"name": "resetItems",
|
|
1151
|
+
"privacy": "private",
|
|
1152
|
+
"return": {
|
|
1153
|
+
"type": {
|
|
1154
|
+
"text": "void"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"inheritedFrom": {
|
|
1158
|
+
"name": "Accordion",
|
|
1159
|
+
"module": "src/accordion/accordion.ts"
|
|
1160
|
+
}
|
|
1085
1161
|
},
|
|
1086
1162
|
{
|
|
1087
|
-
"kind": "
|
|
1088
|
-
"name": "
|
|
1089
|
-
"privacy": "
|
|
1090
|
-
"
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
"text": "Event"
|
|
1095
|
-
},
|
|
1096
|
-
"description": "The change event from the file input"
|
|
1097
|
-
}
|
|
1098
|
-
],
|
|
1099
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1163
|
+
"kind": "field",
|
|
1164
|
+
"name": "removeItemListeners",
|
|
1165
|
+
"privacy": "private",
|
|
1166
|
+
"inheritedFrom": {
|
|
1167
|
+
"name": "Accordion",
|
|
1168
|
+
"module": "src/accordion/accordion.ts"
|
|
1169
|
+
}
|
|
1100
1170
|
},
|
|
1101
1171
|
{
|
|
1102
|
-
"kind": "
|
|
1103
|
-
"name": "
|
|
1104
|
-
"privacy": "
|
|
1105
|
-
"
|
|
1172
|
+
"kind": "field",
|
|
1173
|
+
"name": "activeItemChange",
|
|
1174
|
+
"privacy": "private",
|
|
1175
|
+
"inheritedFrom": {
|
|
1176
|
+
"name": "Accordion",
|
|
1177
|
+
"module": "src/accordion/accordion.ts"
|
|
1178
|
+
}
|
|
1106
1179
|
},
|
|
1107
1180
|
{
|
|
1108
1181
|
"kind": "method",
|
|
1109
|
-
"name": "
|
|
1110
|
-
"privacy": "
|
|
1111
|
-
"description": "Gets the currently selected file object",
|
|
1182
|
+
"name": "getItemIds",
|
|
1183
|
+
"privacy": "private",
|
|
1112
1184
|
"return": {
|
|
1113
1185
|
"type": {
|
|
1114
|
-
"text": ""
|
|
1186
|
+
"text": "Array<string | null>"
|
|
1115
1187
|
}
|
|
1188
|
+
},
|
|
1189
|
+
"inheritedFrom": {
|
|
1190
|
+
"name": "Accordion",
|
|
1191
|
+
"module": "src/accordion/accordion.ts"
|
|
1116
1192
|
}
|
|
1117
1193
|
},
|
|
1118
1194
|
{
|
|
1119
1195
|
"kind": "method",
|
|
1120
|
-
"name": "
|
|
1121
|
-
"privacy": "
|
|
1122
|
-
"
|
|
1123
|
-
{
|
|
1124
|
-
"
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "string"
|
|
1127
|
-
},
|
|
1128
|
-
"description": "The error title"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"name": "message",
|
|
1132
|
-
"type": {
|
|
1133
|
-
"text": "string"
|
|
1134
|
-
},
|
|
1135
|
-
"description": "The error message"
|
|
1196
|
+
"name": "isSingleExpandMode",
|
|
1197
|
+
"privacy": "private",
|
|
1198
|
+
"return": {
|
|
1199
|
+
"type": {
|
|
1200
|
+
"text": "boolean"
|
|
1136
1201
|
}
|
|
1137
|
-
|
|
1138
|
-
"
|
|
1202
|
+
},
|
|
1203
|
+
"inheritedFrom": {
|
|
1204
|
+
"name": "Accordion",
|
|
1205
|
+
"module": "src/accordion/accordion.ts"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "field",
|
|
1210
|
+
"name": "handleItemKeyDown",
|
|
1211
|
+
"privacy": "private",
|
|
1212
|
+
"inheritedFrom": {
|
|
1213
|
+
"name": "Accordion",
|
|
1214
|
+
"module": "src/accordion/accordion.ts"
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"kind": "field",
|
|
1219
|
+
"name": "handleItemFocus",
|
|
1220
|
+
"privacy": "private",
|
|
1221
|
+
"inheritedFrom": {
|
|
1222
|
+
"name": "Accordion",
|
|
1223
|
+
"module": "src/accordion/accordion.ts"
|
|
1224
|
+
}
|
|
1139
1225
|
},
|
|
1140
1226
|
{
|
|
1141
1227
|
"kind": "method",
|
|
1142
|
-
"name": "
|
|
1143
|
-
"privacy": "
|
|
1228
|
+
"name": "adjust",
|
|
1229
|
+
"privacy": "private",
|
|
1144
1230
|
"return": {
|
|
1145
1231
|
"type": {
|
|
1146
1232
|
"text": "void"
|
|
@@ -1148,25 +1234,30 @@
|
|
|
1148
1234
|
},
|
|
1149
1235
|
"parameters": [
|
|
1150
1236
|
{
|
|
1151
|
-
"name": "
|
|
1237
|
+
"name": "adjustment",
|
|
1152
1238
|
"type": {
|
|
1153
|
-
"text": "
|
|
1154
|
-
}
|
|
1155
|
-
"description": "The selected file"
|
|
1239
|
+
"text": "number"
|
|
1240
|
+
}
|
|
1156
1241
|
}
|
|
1157
1242
|
],
|
|
1158
|
-
"
|
|
1243
|
+
"inheritedFrom": {
|
|
1244
|
+
"name": "Accordion",
|
|
1245
|
+
"module": "src/accordion/accordion.ts"
|
|
1246
|
+
}
|
|
1159
1247
|
},
|
|
1160
1248
|
{
|
|
1161
1249
|
"kind": "method",
|
|
1162
|
-
"name": "
|
|
1163
|
-
"privacy": "
|
|
1250
|
+
"name": "focusItem",
|
|
1251
|
+
"privacy": "private",
|
|
1164
1252
|
"return": {
|
|
1165
1253
|
"type": {
|
|
1166
1254
|
"text": "void"
|
|
1167
1255
|
}
|
|
1168
1256
|
},
|
|
1169
|
-
"
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "Accordion",
|
|
1259
|
+
"module": "src/accordion/accordion.ts"
|
|
1260
|
+
}
|
|
1170
1261
|
},
|
|
1171
1262
|
{
|
|
1172
1263
|
"kind": "field",
|
|
@@ -1282,149 +1373,76 @@
|
|
|
1282
1373
|
],
|
|
1283
1374
|
"events": [
|
|
1284
1375
|
{
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
}
|
|
1292
|
-
],
|
|
1293
|
-
"attributes": [
|
|
1294
|
-
{
|
|
1295
|
-
"name": "label",
|
|
1296
|
-
"type": {
|
|
1297
|
-
"text": "string"
|
|
1298
|
-
},
|
|
1299
|
-
"fieldName": "label"
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"name": "accept",
|
|
1303
|
-
"type": {
|
|
1304
|
-
"text": "string"
|
|
1305
|
-
},
|
|
1306
|
-
"default": "''",
|
|
1307
|
-
"fieldName": "accept"
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
"name": "file-size-limit-bytes",
|
|
1311
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1312
|
-
"resolveInitializer": {
|
|
1313
|
-
"module": "src/_common/base-file-component.ts"
|
|
1314
|
-
},
|
|
1315
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1316
|
-
}
|
|
1317
|
-
],
|
|
1318
|
-
"superclass": {
|
|
1319
|
-
"name": "FoundationElement",
|
|
1320
|
-
"package": "@microsoft/fast-foundation"
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"exports": [
|
|
1325
|
-
{
|
|
1326
|
-
"kind": "js",
|
|
1327
|
-
"name": "BaseFileComponent",
|
|
1328
|
-
"declaration": {
|
|
1329
|
-
"name": "BaseFileComponent",
|
|
1330
|
-
"module": "src/_common/base-file-component.ts"
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
]
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"kind": "javascript-module",
|
|
1337
|
-
"path": "src/_common/field-styles.ts",
|
|
1338
|
-
"declarations": [
|
|
1339
|
-
{
|
|
1340
|
-
"kind": "variable",
|
|
1341
|
-
"name": "sharedFieldStyles",
|
|
1342
|
-
"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`"
|
|
1343
|
-
}
|
|
1344
|
-
],
|
|
1345
|
-
"exports": [
|
|
1346
|
-
{
|
|
1347
|
-
"kind": "js",
|
|
1348
|
-
"name": "sharedFieldStyles",
|
|
1349
|
-
"declaration": {
|
|
1350
|
-
"name": "sharedFieldStyles",
|
|
1351
|
-
"module": "src/_common/field-styles.ts"
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"kind": "javascript-module",
|
|
1358
|
-
"path": "src/_common/icons.ts",
|
|
1359
|
-
"declarations": [
|
|
1360
|
-
{
|
|
1361
|
-
"kind": "function",
|
|
1362
|
-
"name": "closeIcon",
|
|
1363
|
-
"parameters": [
|
|
1364
|
-
{
|
|
1365
|
-
"name": "slot",
|
|
1366
|
-
"default": "'start'"
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
"name": "fill",
|
|
1370
|
-
"default": "'#879ba6'"
|
|
1376
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1377
|
+
"name": "change",
|
|
1378
|
+
"inheritedFrom": {
|
|
1379
|
+
"name": "Accordion",
|
|
1380
|
+
"module": "src/accordion/accordion.ts"
|
|
1381
|
+
}
|
|
1371
1382
|
}
|
|
1372
1383
|
]
|
|
1373
|
-
}
|
|
1374
|
-
],
|
|
1375
|
-
"exports": [
|
|
1384
|
+
},
|
|
1376
1385
|
{
|
|
1377
|
-
"kind": "
|
|
1378
|
-
"name": "
|
|
1379
|
-
"
|
|
1380
|
-
"
|
|
1381
|
-
|
|
1382
|
-
}
|
|
1386
|
+
"kind": "variable",
|
|
1387
|
+
"name": "foundationAccordionShadowOptions",
|
|
1388
|
+
"type": {
|
|
1389
|
+
"text": "ShadowRootInit"
|
|
1390
|
+
},
|
|
1391
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"kind": "variable",
|
|
1395
|
+
"name": "defaultAccordionConfig",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "object"
|
|
1398
|
+
},
|
|
1399
|
+
"default": "{}"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "variable",
|
|
1403
|
+
"name": "foundationAccordion",
|
|
1404
|
+
"description": "The Foundation Accordion",
|
|
1405
|
+
"privacy": "public"
|
|
1383
1406
|
}
|
|
1384
|
-
]
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"kind": "javascript-module",
|
|
1388
|
-
"path": "src/_common/index.ts",
|
|
1389
|
-
"declarations": [],
|
|
1407
|
+
],
|
|
1390
1408
|
"exports": [
|
|
1391
1409
|
{
|
|
1392
1410
|
"kind": "js",
|
|
1393
|
-
"name": "
|
|
1411
|
+
"name": "Accordion",
|
|
1394
1412
|
"declaration": {
|
|
1395
|
-
"name": "
|
|
1396
|
-
"
|
|
1413
|
+
"name": "Accordion",
|
|
1414
|
+
"module": "src/accordion/accordion.ts"
|
|
1397
1415
|
}
|
|
1398
1416
|
},
|
|
1399
1417
|
{
|
|
1400
1418
|
"kind": "js",
|
|
1401
|
-
"name": "
|
|
1419
|
+
"name": "foundationAccordionShadowOptions",
|
|
1402
1420
|
"declaration": {
|
|
1403
|
-
"name": "
|
|
1404
|
-
"
|
|
1421
|
+
"name": "foundationAccordionShadowOptions",
|
|
1422
|
+
"module": "src/accordion/accordion.ts"
|
|
1405
1423
|
}
|
|
1406
1424
|
},
|
|
1407
1425
|
{
|
|
1408
1426
|
"kind": "js",
|
|
1409
|
-
"name": "
|
|
1427
|
+
"name": "defaultAccordionConfig",
|
|
1410
1428
|
"declaration": {
|
|
1411
|
-
"name": "
|
|
1412
|
-
"
|
|
1429
|
+
"name": "defaultAccordionConfig",
|
|
1430
|
+
"module": "src/accordion/accordion.ts"
|
|
1413
1431
|
}
|
|
1414
1432
|
},
|
|
1415
1433
|
{
|
|
1416
1434
|
"kind": "js",
|
|
1417
|
-
"name": "
|
|
1435
|
+
"name": "foundationAccordion",
|
|
1418
1436
|
"declaration": {
|
|
1419
|
-
"name": "
|
|
1420
|
-
"
|
|
1437
|
+
"name": "foundationAccordion",
|
|
1438
|
+
"module": "src/accordion/accordion.ts"
|
|
1421
1439
|
}
|
|
1422
1440
|
}
|
|
1423
1441
|
]
|
|
1424
1442
|
},
|
|
1425
1443
|
{
|
|
1426
1444
|
"kind": "javascript-module",
|
|
1427
|
-
"path": "src/
|
|
1445
|
+
"path": "src/accordion/index.ts",
|
|
1428
1446
|
"declarations": [],
|
|
1429
1447
|
"exports": [
|
|
1430
1448
|
{
|
|
@@ -1432,7 +1450,7 @@
|
|
|
1432
1450
|
"name": "*",
|
|
1433
1451
|
"declaration": {
|
|
1434
1452
|
"name": "*",
|
|
1435
|
-
"package": "./
|
|
1453
|
+
"package": "./accordion.template"
|
|
1436
1454
|
}
|
|
1437
1455
|
},
|
|
1438
1456
|
{
|
|
@@ -1440,7 +1458,7 @@
|
|
|
1440
1458
|
"name": "*",
|
|
1441
1459
|
"declaration": {
|
|
1442
1460
|
"name": "*",
|
|
1443
|
-
"package": "./
|
|
1461
|
+
"package": "./accordion.styles"
|
|
1444
1462
|
}
|
|
1445
1463
|
},
|
|
1446
1464
|
{
|
|
@@ -1448,73 +1466,51 @@
|
|
|
1448
1466
|
"name": "*",
|
|
1449
1467
|
"declaration": {
|
|
1450
1468
|
"name": "*",
|
|
1451
|
-
"package": "./
|
|
1469
|
+
"package": "./accordion"
|
|
1452
1470
|
}
|
|
1453
1471
|
}
|
|
1454
1472
|
]
|
|
1455
1473
|
},
|
|
1456
1474
|
{
|
|
1457
1475
|
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/
|
|
1476
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1459
1477
|
"declarations": [
|
|
1460
1478
|
{
|
|
1461
|
-
"kind": "
|
|
1462
|
-
"
|
|
1463
|
-
"
|
|
1464
|
-
|
|
1465
|
-
"text": "ElementStyles"
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
"parameters": [
|
|
1479
|
+
"kind": "mixin",
|
|
1480
|
+
"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.",
|
|
1481
|
+
"name": "AffixMixin",
|
|
1482
|
+
"members": [
|
|
1469
1483
|
{
|
|
1470
|
-
"
|
|
1484
|
+
"kind": "field",
|
|
1485
|
+
"name": "prefix",
|
|
1471
1486
|
"type": {
|
|
1472
|
-
"text": "
|
|
1473
|
-
}
|
|
1487
|
+
"text": "string"
|
|
1488
|
+
},
|
|
1489
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1474
1490
|
},
|
|
1475
1491
|
{
|
|
1476
|
-
"
|
|
1492
|
+
"kind": "field",
|
|
1493
|
+
"name": "suffix",
|
|
1477
1494
|
"type": {
|
|
1478
|
-
"text": "
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
}
|
|
1483
|
-
],
|
|
1484
|
-
"exports": [
|
|
1485
|
-
{
|
|
1486
|
-
"kind": "js",
|
|
1487
|
-
"name": "foundationAccordionItemStyles",
|
|
1488
|
-
"declaration": {
|
|
1489
|
-
"name": "foundationAccordionItemStyles",
|
|
1490
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
]
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1498
|
-
"declarations": [
|
|
1499
|
-
{
|
|
1500
|
-
"kind": "function",
|
|
1501
|
-
"name": "foundationAccordionItemTemplate",
|
|
1502
|
-
"return": {
|
|
1503
|
-
"type": {
|
|
1504
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1505
|
-
}
|
|
1506
|
-
},
|
|
1507
|
-
"parameters": [
|
|
1495
|
+
"text": "string"
|
|
1496
|
+
},
|
|
1497
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1498
|
+
},
|
|
1508
1499
|
{
|
|
1509
|
-
"
|
|
1500
|
+
"kind": "field",
|
|
1501
|
+
"name": "hideAffixFromScreenReader",
|
|
1510
1502
|
"type": {
|
|
1511
|
-
"text": "
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1503
|
+
"text": "boolean"
|
|
1504
|
+
},
|
|
1505
|
+
"default": "false",
|
|
1506
|
+
"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."
|
|
1507
|
+
}
|
|
1508
|
+
],
|
|
1509
|
+
"parameters": [
|
|
1514
1510
|
{
|
|
1515
|
-
"name": "
|
|
1511
|
+
"name": "Base",
|
|
1516
1512
|
"type": {
|
|
1517
|
-
"text": "
|
|
1513
|
+
"text": "TBase"
|
|
1518
1514
|
}
|
|
1519
1515
|
}
|
|
1520
1516
|
]
|
|
@@ -1523,117 +1519,169 @@
|
|
|
1523
1519
|
"exports": [
|
|
1524
1520
|
{
|
|
1525
1521
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1522
|
+
"name": "AffixMixin",
|
|
1527
1523
|
"declaration": {
|
|
1528
|
-
"name": "
|
|
1529
|
-
"module": "src/
|
|
1524
|
+
"name": "AffixMixin",
|
|
1525
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1530
1526
|
}
|
|
1531
1527
|
}
|
|
1532
1528
|
]
|
|
1533
1529
|
},
|
|
1534
1530
|
{
|
|
1535
1531
|
"kind": "javascript-module",
|
|
1536
|
-
"path": "src/
|
|
1532
|
+
"path": "src/_common/base-file-component.ts",
|
|
1537
1533
|
"declarations": [
|
|
1538
1534
|
{
|
|
1539
1535
|
"kind": "class",
|
|
1540
|
-
"description": "",
|
|
1541
|
-
"name": "
|
|
1542
|
-
"
|
|
1543
|
-
"name": "FASTAccordionItem",
|
|
1544
|
-
"package": "@microsoft/fast-components"
|
|
1545
|
-
},
|
|
1546
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1547
|
-
"customElement": true,
|
|
1548
|
-
"attributes": [
|
|
1536
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1537
|
+
"name": "BaseFileComponent",
|
|
1538
|
+
"members": [
|
|
1549
1539
|
{
|
|
1550
|
-
"
|
|
1540
|
+
"kind": "field",
|
|
1541
|
+
"name": "fileInput",
|
|
1551
1542
|
"type": {
|
|
1552
|
-
"text": "
|
|
1543
|
+
"text": "HTMLInputElement"
|
|
1553
1544
|
},
|
|
1554
|
-
"
|
|
1555
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
-
"fieldName": "headinglevel",
|
|
1557
|
-
"inheritedFrom": {
|
|
1558
|
-
"name": "AccordionItem",
|
|
1559
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
-
}
|
|
1545
|
+
"privacy": "public"
|
|
1561
1546
|
},
|
|
1562
1547
|
{
|
|
1548
|
+
"kind": "field",
|
|
1549
|
+
"name": "selectedFile",
|
|
1563
1550
|
"type": {
|
|
1564
|
-
"text": "
|
|
1551
|
+
"text": "File | null"
|
|
1565
1552
|
},
|
|
1566
|
-
"
|
|
1567
|
-
"
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1553
|
+
"privacy": "protected",
|
|
1554
|
+
"default": "null"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "field",
|
|
1558
|
+
"name": "label",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "string"
|
|
1572
1561
|
}
|
|
1573
1562
|
},
|
|
1574
1563
|
{
|
|
1575
|
-
"
|
|
1564
|
+
"kind": "field",
|
|
1565
|
+
"name": "accept",
|
|
1576
1566
|
"type": {
|
|
1577
1567
|
"text": "string"
|
|
1578
1568
|
},
|
|
1579
|
-
"
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1569
|
+
"default": "''"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"kind": "field",
|
|
1573
|
+
"name": "fileSizeLimitBytes",
|
|
1574
|
+
"default": "10_485_760",
|
|
1575
|
+
"type": {
|
|
1576
|
+
"text": "number"
|
|
1584
1577
|
}
|
|
1585
|
-
}
|
|
1586
|
-
],
|
|
1587
|
-
"members": [
|
|
1578
|
+
},
|
|
1588
1579
|
{
|
|
1589
1580
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
1581
|
+
"name": "fileName",
|
|
1591
1582
|
"type": {
|
|
1592
|
-
"text": "
|
|
1583
|
+
"text": "string"
|
|
1584
|
+
},
|
|
1585
|
+
"default": "''"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "field",
|
|
1589
|
+
"name": "isProcessing",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "boolean"
|
|
1593
1592
|
},
|
|
1593
|
+
"default": "false"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "method",
|
|
1597
|
+
"name": "handleClick",
|
|
1598
|
+
"privacy": "public",
|
|
1599
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"kind": "method",
|
|
1603
|
+
"name": "onInputChange",
|
|
1604
|
+
"privacy": "public",
|
|
1605
|
+
"parameters": [
|
|
1606
|
+
{
|
|
1607
|
+
"name": "e",
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "Event"
|
|
1610
|
+
},
|
|
1611
|
+
"description": "The change event from the file input"
|
|
1612
|
+
}
|
|
1613
|
+
],
|
|
1614
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "method",
|
|
1618
|
+
"name": "clearSelection",
|
|
1594
1619
|
"privacy": "public",
|
|
1595
|
-
"
|
|
1596
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "AccordionItem",
|
|
1599
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
-
}
|
|
1620
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1601
1621
|
},
|
|
1602
1622
|
{
|
|
1603
|
-
"kind": "
|
|
1604
|
-
"name": "
|
|
1605
|
-
"type": {
|
|
1606
|
-
"text": "boolean"
|
|
1607
|
-
},
|
|
1623
|
+
"kind": "method",
|
|
1624
|
+
"name": "getSelectedFile",
|
|
1608
1625
|
"privacy": "public",
|
|
1609
|
-
"
|
|
1610
|
-
"
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1626
|
+
"description": "Gets the currently selected file object",
|
|
1627
|
+
"return": {
|
|
1628
|
+
"type": {
|
|
1629
|
+
"text": ""
|
|
1630
|
+
}
|
|
1614
1631
|
}
|
|
1615
1632
|
},
|
|
1616
1633
|
{
|
|
1617
|
-
"kind": "
|
|
1618
|
-
"name": "
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1634
|
+
"kind": "method",
|
|
1635
|
+
"name": "showError",
|
|
1636
|
+
"privacy": "protected",
|
|
1637
|
+
"parameters": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "title",
|
|
1640
|
+
"type": {
|
|
1641
|
+
"text": "string"
|
|
1642
|
+
},
|
|
1643
|
+
"description": "The error title"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "message",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "string"
|
|
1649
|
+
},
|
|
1650
|
+
"description": "The error message"
|
|
1651
|
+
}
|
|
1652
|
+
],
|
|
1653
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"kind": "method",
|
|
1657
|
+
"name": "onFileSelected",
|
|
1658
|
+
"privacy": "protected",
|
|
1659
|
+
"return": {
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "void"
|
|
1662
|
+
}
|
|
1621
1663
|
},
|
|
1622
|
-
"
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1664
|
+
"parameters": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "files",
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "File[]"
|
|
1669
|
+
},
|
|
1670
|
+
"description": "The selected file"
|
|
1671
|
+
}
|
|
1672
|
+
],
|
|
1673
|
+
"description": "Abstract method called when a file is selected"
|
|
1628
1674
|
},
|
|
1629
1675
|
{
|
|
1630
|
-
"kind": "
|
|
1631
|
-
"name": "
|
|
1632
|
-
"privacy": "
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
|
|
1676
|
+
"kind": "method",
|
|
1677
|
+
"name": "onFileCleared",
|
|
1678
|
+
"privacy": "protected",
|
|
1679
|
+
"return": {
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "void"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1637
1685
|
},
|
|
1638
1686
|
{
|
|
1639
1687
|
"kind": "field",
|
|
@@ -1749,76 +1797,110 @@
|
|
|
1749
1797
|
],
|
|
1750
1798
|
"events": [
|
|
1751
1799
|
{
|
|
1752
|
-
"description": "
|
|
1753
|
-
"name": "
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1800
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1801
|
+
"name": "error"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"description": "Fired when selection is cleared",
|
|
1805
|
+
"name": "clear"
|
|
1758
1806
|
}
|
|
1759
|
-
]
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1807
|
+
],
|
|
1808
|
+
"attributes": [
|
|
1809
|
+
{
|
|
1810
|
+
"name": "label",
|
|
1811
|
+
"type": {
|
|
1812
|
+
"text": "string"
|
|
1813
|
+
},
|
|
1814
|
+
"fieldName": "label"
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "accept",
|
|
1818
|
+
"type": {
|
|
1819
|
+
"text": "string"
|
|
1820
|
+
},
|
|
1821
|
+
"default": "''",
|
|
1822
|
+
"fieldName": "accept"
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"name": "file-size-limit-bytes",
|
|
1826
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1827
|
+
"resolveInitializer": {
|
|
1828
|
+
"module": "src/_common/base-file-component.ts"
|
|
1829
|
+
},
|
|
1830
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1831
|
+
}
|
|
1832
|
+
],
|
|
1833
|
+
"superclass": {
|
|
1834
|
+
"name": "FoundationElement",
|
|
1835
|
+
"package": "@microsoft/fast-foundation"
|
|
1836
|
+
}
|
|
1782
1837
|
}
|
|
1783
1838
|
],
|
|
1784
1839
|
"exports": [
|
|
1785
1840
|
{
|
|
1786
1841
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1842
|
+
"name": "BaseFileComponent",
|
|
1788
1843
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/
|
|
1844
|
+
"name": "BaseFileComponent",
|
|
1845
|
+
"module": "src/_common/base-file-component.ts"
|
|
1791
1846
|
}
|
|
1792
|
-
}
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"kind": "javascript-module",
|
|
1852
|
+
"path": "src/_common/field-styles.ts",
|
|
1853
|
+
"declarations": [
|
|
1793
1854
|
{
|
|
1794
|
-
"kind": "
|
|
1795
|
-
"name": "
|
|
1796
|
-
"
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
},
|
|
1855
|
+
"kind": "variable",
|
|
1856
|
+
"name": "sharedFieldStyles",
|
|
1857
|
+
"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`"
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
"exports": [
|
|
1801
1861
|
{
|
|
1802
1862
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1863
|
+
"name": "sharedFieldStyles",
|
|
1804
1864
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/
|
|
1865
|
+
"name": "sharedFieldStyles",
|
|
1866
|
+
"module": "src/_common/field-styles.ts"
|
|
1807
1867
|
}
|
|
1808
|
-
}
|
|
1868
|
+
}
|
|
1869
|
+
]
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"kind": "javascript-module",
|
|
1873
|
+
"path": "src/_common/icons.ts",
|
|
1874
|
+
"declarations": [
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "function",
|
|
1877
|
+
"name": "closeIcon",
|
|
1878
|
+
"parameters": [
|
|
1879
|
+
{
|
|
1880
|
+
"name": "slot",
|
|
1881
|
+
"default": "'start'"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "fill",
|
|
1885
|
+
"default": "'#879ba6'"
|
|
1886
|
+
}
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
],
|
|
1890
|
+
"exports": [
|
|
1809
1891
|
{
|
|
1810
1892
|
"kind": "js",
|
|
1811
|
-
"name": "
|
|
1893
|
+
"name": "closeIcon",
|
|
1812
1894
|
"declaration": {
|
|
1813
|
-
"name": "
|
|
1814
|
-
"module": "src/
|
|
1895
|
+
"name": "closeIcon",
|
|
1896
|
+
"module": "src/_common/icons.ts"
|
|
1815
1897
|
}
|
|
1816
1898
|
}
|
|
1817
1899
|
]
|
|
1818
1900
|
},
|
|
1819
1901
|
{
|
|
1820
1902
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/
|
|
1903
|
+
"path": "src/_common/index.ts",
|
|
1822
1904
|
"declarations": [],
|
|
1823
1905
|
"exports": [
|
|
1824
1906
|
{
|
|
@@ -1826,7 +1908,7 @@
|
|
|
1826
1908
|
"name": "*",
|
|
1827
1909
|
"declaration": {
|
|
1828
1910
|
"name": "*",
|
|
1829
|
-
"package": "./
|
|
1911
|
+
"package": "./affix-mixin"
|
|
1830
1912
|
}
|
|
1831
1913
|
},
|
|
1832
1914
|
{
|
|
@@ -1834,49 +1916,34 @@
|
|
|
1834
1916
|
"name": "*",
|
|
1835
1917
|
"declaration": {
|
|
1836
1918
|
"name": "*",
|
|
1837
|
-
"package": "./
|
|
1919
|
+
"package": "./base-file-component"
|
|
1838
1920
|
}
|
|
1839
1921
|
},
|
|
1840
1922
|
{
|
|
1841
1923
|
"kind": "js",
|
|
1842
1924
|
"name": "*",
|
|
1843
1925
|
"declaration": {
|
|
1844
|
-
"name": "*",
|
|
1845
|
-
"package": "./
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
]
|
|
1849
|
-
},
|
|
1850
|
-
{
|
|
1851
|
-
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1853
|
-
"declarations": [
|
|
1854
|
-
{
|
|
1855
|
-
"kind": "function",
|
|
1856
|
-
"name": "actionsMenuBaseStyles",
|
|
1857
|
-
"return": {
|
|
1858
|
-
"type": {
|
|
1859
|
-
"text": "ElementStyles"
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1862
|
-
"parameters": [
|
|
1863
|
-
{
|
|
1864
|
-
"name": "context",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "ElementDefinitionContext"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"name": "definition",
|
|
1871
|
-
"type": {
|
|
1872
|
-
"text": "FoundationElementDefinition"
|
|
1873
|
-
}
|
|
1874
|
-
}
|
|
1875
|
-
]
|
|
1926
|
+
"name": "*",
|
|
1927
|
+
"package": "./field-styles"
|
|
1928
|
+
}
|
|
1876
1929
|
},
|
|
1930
|
+
{
|
|
1931
|
+
"kind": "js",
|
|
1932
|
+
"name": "*",
|
|
1933
|
+
"declaration": {
|
|
1934
|
+
"name": "*",
|
|
1935
|
+
"package": "./icons"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"kind": "javascript-module",
|
|
1942
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1943
|
+
"declarations": [
|
|
1877
1944
|
{
|
|
1878
1945
|
"kind": "function",
|
|
1879
|
-
"name": "
|
|
1946
|
+
"name": "foundationAccordionItemStyles",
|
|
1880
1947
|
"return": {
|
|
1881
1948
|
"type": {
|
|
1882
1949
|
"text": "ElementStyles"
|
|
@@ -1901,281 +1968,156 @@
|
|
|
1901
1968
|
"exports": [
|
|
1902
1969
|
{
|
|
1903
1970
|
"kind": "js",
|
|
1904
|
-
"name": "
|
|
1905
|
-
"declaration": {
|
|
1906
|
-
"name": "actionsMenuBaseStyles",
|
|
1907
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "js",
|
|
1912
|
-
"name": "foundationActionsMenuStyles",
|
|
1971
|
+
"name": "foundationAccordionItemStyles",
|
|
1913
1972
|
"declaration": {
|
|
1914
|
-
"name": "
|
|
1915
|
-
"module": "src/
|
|
1973
|
+
"name": "foundationAccordionItemStyles",
|
|
1974
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1916
1975
|
}
|
|
1917
1976
|
}
|
|
1918
1977
|
]
|
|
1919
1978
|
},
|
|
1920
1979
|
{
|
|
1921
1980
|
"kind": "javascript-module",
|
|
1922
|
-
"path": "src/
|
|
1981
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1923
1982
|
"declarations": [
|
|
1924
1983
|
{
|
|
1925
1984
|
"kind": "function",
|
|
1926
|
-
"name": "
|
|
1985
|
+
"name": "foundationAccordionItemTemplate",
|
|
1986
|
+
"return": {
|
|
1987
|
+
"type": {
|
|
1988
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1989
|
+
}
|
|
1990
|
+
},
|
|
1927
1991
|
"parameters": [
|
|
1928
1992
|
{
|
|
1929
|
-
"name": "
|
|
1993
|
+
"name": "context",
|
|
1930
1994
|
"type": {
|
|
1931
|
-
"text": "
|
|
1995
|
+
"text": "ElementDefinitionContext"
|
|
1932
1996
|
}
|
|
1933
|
-
}
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "function",
|
|
1938
|
-
"name": "singleOptionTemplate",
|
|
1939
|
-
"parameters": [
|
|
1997
|
+
},
|
|
1940
1998
|
{
|
|
1941
|
-
"name": "
|
|
1999
|
+
"name": "definition",
|
|
1942
2000
|
"type": {
|
|
1943
|
-
"text": "
|
|
2001
|
+
"text": "FoundationElementDefinition"
|
|
1944
2002
|
}
|
|
1945
2003
|
}
|
|
1946
2004
|
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "variable",
|
|
1950
|
-
"name": "foundationActionsMenuTemplate",
|
|
1951
|
-
"type": {
|
|
1952
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1953
|
-
},
|
|
1954
|
-
"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`"
|
|
1955
2005
|
}
|
|
1956
2006
|
],
|
|
1957
2007
|
"exports": [
|
|
1958
2008
|
{
|
|
1959
2009
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "menuTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "singleOptionTemplate",
|
|
1969
|
-
"declaration": {
|
|
1970
|
-
"name": "singleOptionTemplate",
|
|
1971
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "js",
|
|
1976
|
-
"name": "foundationActionsMenuTemplate",
|
|
2010
|
+
"name": "foundationAccordionItemTemplate",
|
|
1977
2011
|
"declaration": {
|
|
1978
|
-
"name": "
|
|
1979
|
-
"module": "src/
|
|
2012
|
+
"name": "foundationAccordionItemTemplate",
|
|
2013
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1980
2014
|
}
|
|
1981
2015
|
}
|
|
1982
2016
|
]
|
|
1983
2017
|
},
|
|
1984
2018
|
{
|
|
1985
2019
|
"kind": "javascript-module",
|
|
1986
|
-
"path": "src/
|
|
2020
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1987
2021
|
"declarations": [
|
|
1988
2022
|
{
|
|
1989
2023
|
"kind": "class",
|
|
1990
2024
|
"description": "",
|
|
1991
|
-
"name": "
|
|
1992
|
-
"
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "field",
|
|
2002
|
-
"name": "isVertical",
|
|
2003
|
-
"type": {
|
|
2004
|
-
"text": "boolean"
|
|
2005
|
-
},
|
|
2006
|
-
"default": "false"
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
"kind": "field",
|
|
2010
|
-
"name": "addDefaultActions",
|
|
2011
|
-
"type": {
|
|
2012
|
-
"text": "boolean"
|
|
2013
|
-
},
|
|
2014
|
-
"default": "true"
|
|
2015
|
-
},
|
|
2025
|
+
"name": "AccordionItem",
|
|
2026
|
+
"superclass": {
|
|
2027
|
+
"name": "FASTAccordionItem",
|
|
2028
|
+
"package": "@microsoft/fast-components"
|
|
2029
|
+
},
|
|
2030
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2031
|
+
"customElement": true,
|
|
2032
|
+
"attributes": [
|
|
2016
2033
|
{
|
|
2017
|
-
"
|
|
2018
|
-
"name": "autoCloseOnAction",
|
|
2034
|
+
"name": "heading-level",
|
|
2019
2035
|
"type": {
|
|
2020
|
-
"text": "
|
|
2036
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2021
2037
|
},
|
|
2022
|
-
"default": "
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
"
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
"text": "string"
|
|
2029
|
-
}
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"kind": "field",
|
|
2033
|
-
"name": "definition",
|
|
2034
|
-
"type": {
|
|
2035
|
-
"text": "any"
|
|
2038
|
+
"default": "2",
|
|
2039
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2040
|
+
"fieldName": "headinglevel",
|
|
2041
|
+
"inheritedFrom": {
|
|
2042
|
+
"name": "AccordionItem",
|
|
2043
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2036
2044
|
}
|
|
2037
2045
|
},
|
|
2038
2046
|
{
|
|
2039
|
-
"kind": "field",
|
|
2040
|
-
"name": "name",
|
|
2041
|
-
"type": {
|
|
2042
|
-
"text": "string"
|
|
2043
|
-
},
|
|
2044
|
-
"default": "'Actions'"
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
"kind": "field",
|
|
2048
|
-
"name": "open",
|
|
2049
2047
|
"type": {
|
|
2050
2048
|
"text": "boolean"
|
|
2051
2049
|
},
|
|
2052
|
-
"default": "false"
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
"
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
"text": "string"
|
|
2050
|
+
"default": "false",
|
|
2051
|
+
"description": "Expands or collapses the item.",
|
|
2052
|
+
"fieldName": "expanded",
|
|
2053
|
+
"inheritedFrom": {
|
|
2054
|
+
"name": "AccordionItem",
|
|
2055
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2059
2056
|
}
|
|
2060
2057
|
},
|
|
2061
2058
|
{
|
|
2062
|
-
"
|
|
2063
|
-
"name": "hideDisabled",
|
|
2064
|
-
"type": {
|
|
2065
|
-
"text": "boolean"
|
|
2066
|
-
},
|
|
2067
|
-
"default": "false"
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"kind": "field",
|
|
2071
|
-
"name": "hideMenuSingleOption",
|
|
2059
|
+
"name": "id",
|
|
2072
2060
|
"type": {
|
|
2073
|
-
"text": "
|
|
2061
|
+
"text": "string"
|
|
2074
2062
|
},
|
|
2075
|
-
"
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
"type": {
|
|
2081
|
-
"text": "ActionMenuItem"
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"kind": "field",
|
|
2086
|
-
"name": "actionsMenu",
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "HTMLElement"
|
|
2063
|
+
"description": "The item ID",
|
|
2064
|
+
"fieldName": "id",
|
|
2065
|
+
"inheritedFrom": {
|
|
2066
|
+
"name": "AccordionItem",
|
|
2067
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2089
2068
|
}
|
|
2090
|
-
}
|
|
2069
|
+
}
|
|
2070
|
+
],
|
|
2071
|
+
"members": [
|
|
2091
2072
|
{
|
|
2092
2073
|
"kind": "field",
|
|
2093
|
-
"name": "
|
|
2074
|
+
"name": "headinglevel",
|
|
2094
2075
|
"type": {
|
|
2095
|
-
"text": "
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"
|
|
2100
|
-
"
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
"kind": "method",
|
|
2105
|
-
"name": "definitionChanged",
|
|
2106
|
-
"privacy": "protected",
|
|
2107
|
-
"parameters": [
|
|
2108
|
-
{
|
|
2109
|
-
"name": "oldValue",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "any"
|
|
2112
|
-
}
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "newValue",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "any"
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
]
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"kind": "method",
|
|
2124
|
-
"name": "openChanged",
|
|
2125
|
-
"privacy": "protected"
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "method",
|
|
2129
|
-
"name": "toggleActionsMenuVisibility"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "method",
|
|
2133
|
-
"name": "onActionMenuItemClick",
|
|
2134
|
-
"parameters": [
|
|
2135
|
-
{
|
|
2136
|
-
"name": "callback",
|
|
2137
|
-
"type": {
|
|
2138
|
-
"text": "(rowData) => void | any"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
]
|
|
2076
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2077
|
+
},
|
|
2078
|
+
"privacy": "public",
|
|
2079
|
+
"default": "2",
|
|
2080
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2081
|
+
"inheritedFrom": {
|
|
2082
|
+
"name": "AccordionItem",
|
|
2083
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2084
|
+
}
|
|
2142
2085
|
},
|
|
2143
2086
|
{
|
|
2144
2087
|
"kind": "field",
|
|
2145
|
-
"name": "
|
|
2088
|
+
"name": "expanded",
|
|
2146
2089
|
"type": {
|
|
2147
|
-
"text": "
|
|
2090
|
+
"text": "boolean"
|
|
2148
2091
|
},
|
|
2149
|
-
"
|
|
2092
|
+
"privacy": "public",
|
|
2093
|
+
"default": "false",
|
|
2094
|
+
"description": "Expands or collapses the item.",
|
|
2095
|
+
"inheritedFrom": {
|
|
2096
|
+
"name": "AccordionItem",
|
|
2097
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2098
|
+
}
|
|
2150
2099
|
},
|
|
2151
2100
|
{
|
|
2152
2101
|
"kind": "field",
|
|
2153
|
-
"name": "
|
|
2154
|
-
"
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
"
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
"text": "string | ((rowData: any) => string)"
|
|
2164
|
-
}
|
|
2165
|
-
}
|
|
2166
|
-
]
|
|
2102
|
+
"name": "id",
|
|
2103
|
+
"type": {
|
|
2104
|
+
"text": "string"
|
|
2105
|
+
},
|
|
2106
|
+
"privacy": "public",
|
|
2107
|
+
"description": "The item ID",
|
|
2108
|
+
"inheritedFrom": {
|
|
2109
|
+
"name": "AccordionItem",
|
|
2110
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2111
|
+
}
|
|
2167
2112
|
},
|
|
2168
2113
|
{
|
|
2169
|
-
"kind": "
|
|
2170
|
-
"name": "
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
]
|
|
2114
|
+
"kind": "field",
|
|
2115
|
+
"name": "change",
|
|
2116
|
+
"privacy": "private",
|
|
2117
|
+
"inheritedFrom": {
|
|
2118
|
+
"name": "AccordionItem",
|
|
2119
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2120
|
+
}
|
|
2179
2121
|
},
|
|
2180
2122
|
{
|
|
2181
2123
|
"kind": "field",
|
|
@@ -2289,107 +2231,78 @@
|
|
|
2289
2231
|
}
|
|
2290
2232
|
}
|
|
2291
2233
|
],
|
|
2292
|
-
"
|
|
2293
|
-
{
|
|
2294
|
-
"name": "is-vertical",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "boolean"
|
|
2297
|
-
},
|
|
2298
|
-
"default": "false",
|
|
2299
|
-
"fieldName": "isVertical"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "add-default-actions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"default": "true",
|
|
2307
|
-
"fieldName": "addDefaultActions"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "auto-close-on-action",
|
|
2311
|
-
"type": {
|
|
2312
|
-
"text": "boolean"
|
|
2313
|
-
},
|
|
2314
|
-
"default": "true",
|
|
2315
|
-
"fieldName": "autoCloseOnAction"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "name",
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "string"
|
|
2321
|
-
},
|
|
2322
|
-
"default": "'Actions'",
|
|
2323
|
-
"fieldName": "name"
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "open",
|
|
2327
|
-
"type": {
|
|
2328
|
-
"text": "boolean"
|
|
2329
|
-
},
|
|
2330
|
-
"default": "false",
|
|
2331
|
-
"fieldName": "open"
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "buttonAppearance",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "string"
|
|
2337
|
-
},
|
|
2338
|
-
"fieldName": "buttonAppearance"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "hide-disabled",
|
|
2342
|
-
"type": {
|
|
2343
|
-
"text": "boolean"
|
|
2344
|
-
},
|
|
2345
|
-
"default": "false",
|
|
2346
|
-
"fieldName": "hideDisabled"
|
|
2347
|
-
},
|
|
2234
|
+
"events": [
|
|
2348
2235
|
{
|
|
2349
|
-
"
|
|
2350
|
-
"
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2236
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2237
|
+
"name": "change",
|
|
2238
|
+
"inheritedFrom": {
|
|
2239
|
+
"name": "AccordionItem",
|
|
2240
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2241
|
+
}
|
|
2355
2242
|
}
|
|
2356
|
-
]
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2243
|
+
]
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"kind": "variable",
|
|
2247
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2248
|
+
"type": {
|
|
2249
|
+
"text": "ShadowRootInit"
|
|
2360
2250
|
},
|
|
2361
|
-
"
|
|
2362
|
-
"customElement": true
|
|
2251
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2363
2252
|
},
|
|
2364
2253
|
{
|
|
2365
2254
|
"kind": "variable",
|
|
2366
|
-
"name": "
|
|
2367
|
-
"
|
|
2255
|
+
"name": "defaultAccordionItemConfig",
|
|
2256
|
+
"type": {
|
|
2257
|
+
"text": "object"
|
|
2258
|
+
},
|
|
2259
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"kind": "variable",
|
|
2263
|
+
"name": "foundationAccordionItem",
|
|
2264
|
+
"description": "The Foundation Accordion Item",
|
|
2368
2265
|
"privacy": "public"
|
|
2369
2266
|
}
|
|
2370
2267
|
],
|
|
2371
2268
|
"exports": [
|
|
2372
2269
|
{
|
|
2373
2270
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2271
|
+
"name": "AccordionItem",
|
|
2375
2272
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2273
|
+
"name": "AccordionItem",
|
|
2274
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2378
2275
|
}
|
|
2379
2276
|
},
|
|
2380
2277
|
{
|
|
2381
2278
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2279
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2383
2280
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2281
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2282
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"kind": "js",
|
|
2287
|
+
"name": "defaultAccordionItemConfig",
|
|
2288
|
+
"declaration": {
|
|
2289
|
+
"name": "defaultAccordionItemConfig",
|
|
2290
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"kind": "js",
|
|
2295
|
+
"name": "foundationAccordionItem",
|
|
2296
|
+
"declaration": {
|
|
2297
|
+
"name": "foundationAccordionItem",
|
|
2298
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2386
2299
|
}
|
|
2387
2300
|
}
|
|
2388
2301
|
]
|
|
2389
2302
|
},
|
|
2390
2303
|
{
|
|
2391
2304
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2305
|
+
"path": "src/accordion-item/index.ts",
|
|
2393
2306
|
"declarations": [],
|
|
2394
2307
|
"exports": [
|
|
2395
2308
|
{
|
|
@@ -2397,7 +2310,7 @@
|
|
|
2397
2310
|
"name": "*",
|
|
2398
2311
|
"declaration": {
|
|
2399
2312
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2313
|
+
"package": "./accordion-item.template"
|
|
2401
2314
|
}
|
|
2402
2315
|
},
|
|
2403
2316
|
{
|
|
@@ -2405,7 +2318,7 @@
|
|
|
2405
2318
|
"name": "*",
|
|
2406
2319
|
"declaration": {
|
|
2407
2320
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2321
|
+
"package": "./accordion-item.styles"
|
|
2409
2322
|
}
|
|
2410
2323
|
},
|
|
2411
2324
|
{
|
|
@@ -2413,122 +2326,210 @@
|
|
|
2413
2326
|
"name": "*",
|
|
2414
2327
|
"declaration": {
|
|
2415
2328
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2329
|
+
"package": "./accordion-item"
|
|
2417
2330
|
}
|
|
2418
2331
|
}
|
|
2419
2332
|
]
|
|
2420
2333
|
},
|
|
2421
2334
|
{
|
|
2422
2335
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2336
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2424
2337
|
"declarations": [
|
|
2425
2338
|
{
|
|
2426
|
-
"kind": "
|
|
2427
|
-
"name": "
|
|
2428
|
-
"
|
|
2339
|
+
"kind": "function",
|
|
2340
|
+
"name": "actionsMenuBaseStyles",
|
|
2341
|
+
"return": {
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "ElementStyles"
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"parameters": [
|
|
2347
|
+
{
|
|
2348
|
+
"name": "context",
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "ElementDefinitionContext"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"name": "definition",
|
|
2355
|
+
"type": {
|
|
2356
|
+
"text": "FoundationElementDefinition"
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
]
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"kind": "function",
|
|
2363
|
+
"name": "foundationActionsMenuStyles",
|
|
2364
|
+
"return": {
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "ElementStyles"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "context",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementDefinitionContext"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "definition",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "FoundationElementDefinition"
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
]
|
|
2429
2383
|
}
|
|
2430
2384
|
],
|
|
2431
2385
|
"exports": [
|
|
2432
2386
|
{
|
|
2433
2387
|
"kind": "js",
|
|
2434
|
-
"name": "
|
|
2388
|
+
"name": "actionsMenuBaseStyles",
|
|
2435
2389
|
"declaration": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"module": "src/
|
|
2390
|
+
"name": "actionsMenuBaseStyles",
|
|
2391
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"kind": "js",
|
|
2396
|
+
"name": "foundationActionsMenuStyles",
|
|
2397
|
+
"declaration": {
|
|
2398
|
+
"name": "foundationActionsMenuStyles",
|
|
2399
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2438
2400
|
}
|
|
2439
2401
|
}
|
|
2440
2402
|
]
|
|
2441
2403
|
},
|
|
2442
2404
|
{
|
|
2443
2405
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/
|
|
2406
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2445
2407
|
"declarations": [
|
|
2408
|
+
{
|
|
2409
|
+
"kind": "function",
|
|
2410
|
+
"name": "menuTemplate",
|
|
2411
|
+
"parameters": [
|
|
2412
|
+
{
|
|
2413
|
+
"name": "prefix",
|
|
2414
|
+
"type": {
|
|
2415
|
+
"text": "string"
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
]
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "function",
|
|
2422
|
+
"name": "singleOptionTemplate",
|
|
2423
|
+
"parameters": [
|
|
2424
|
+
{
|
|
2425
|
+
"name": "prefix",
|
|
2426
|
+
"type": {
|
|
2427
|
+
"text": "string"
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
]
|
|
2431
|
+
},
|
|
2446
2432
|
{
|
|
2447
2433
|
"kind": "variable",
|
|
2448
|
-
"name": "
|
|
2434
|
+
"name": "foundationActionsMenuTemplate",
|
|
2449
2435
|
"type": {
|
|
2450
|
-
"text": "ViewTemplate<
|
|
2436
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2451
2437
|
},
|
|
2452
|
-
"default": "html`\n ${(x) =>
|
|
2438
|
+
"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`"
|
|
2453
2439
|
}
|
|
2454
2440
|
],
|
|
2455
2441
|
"exports": [
|
|
2456
2442
|
{
|
|
2457
2443
|
"kind": "js",
|
|
2458
|
-
"name": "
|
|
2444
|
+
"name": "menuTemplate",
|
|
2459
2445
|
"declaration": {
|
|
2460
|
-
"name": "
|
|
2461
|
-
"module": "src/
|
|
2446
|
+
"name": "menuTemplate",
|
|
2447
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"kind": "js",
|
|
2452
|
+
"name": "singleOptionTemplate",
|
|
2453
|
+
"declaration": {
|
|
2454
|
+
"name": "singleOptionTemplate",
|
|
2455
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2456
|
+
}
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"kind": "js",
|
|
2460
|
+
"name": "foundationActionsMenuTemplate",
|
|
2461
|
+
"declaration": {
|
|
2462
|
+
"name": "foundationActionsMenuTemplate",
|
|
2463
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2462
2464
|
}
|
|
2463
2465
|
}
|
|
2464
2466
|
]
|
|
2465
2467
|
},
|
|
2466
2468
|
{
|
|
2467
2469
|
"kind": "javascript-module",
|
|
2468
|
-
"path": "src/
|
|
2470
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2469
2471
|
"declarations": [
|
|
2470
2472
|
{
|
|
2471
2473
|
"kind": "class",
|
|
2472
|
-
"description": "
|
|
2473
|
-
"name": "
|
|
2474
|
+
"description": "",
|
|
2475
|
+
"name": "ActionsMenu",
|
|
2474
2476
|
"members": [
|
|
2475
2477
|
{
|
|
2476
2478
|
"kind": "field",
|
|
2477
|
-
"name": "
|
|
2479
|
+
"name": "actions",
|
|
2478
2480
|
"type": {
|
|
2479
|
-
"text": "
|
|
2481
|
+
"text": "ActionMenuItem[]"
|
|
2480
2482
|
}
|
|
2481
2483
|
},
|
|
2482
2484
|
{
|
|
2483
2485
|
"kind": "field",
|
|
2484
|
-
"name": "
|
|
2486
|
+
"name": "isVertical",
|
|
2485
2487
|
"type": {
|
|
2486
|
-
"text": "
|
|
2488
|
+
"text": "boolean"
|
|
2487
2489
|
},
|
|
2488
|
-
"default": "
|
|
2490
|
+
"default": "false"
|
|
2489
2491
|
},
|
|
2490
2492
|
{
|
|
2491
2493
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2494
|
+
"name": "addDefaultActions",
|
|
2493
2495
|
"type": {
|
|
2494
2496
|
"text": "boolean"
|
|
2495
|
-
}
|
|
2497
|
+
},
|
|
2498
|
+
"default": "true"
|
|
2496
2499
|
},
|
|
2497
2500
|
{
|
|
2498
2501
|
"kind": "field",
|
|
2499
|
-
"name": "
|
|
2502
|
+
"name": "autoCloseOnAction",
|
|
2500
2503
|
"type": {
|
|
2501
|
-
"text": "
|
|
2504
|
+
"text": "boolean"
|
|
2502
2505
|
},
|
|
2503
|
-
"default": "
|
|
2506
|
+
"default": "true"
|
|
2504
2507
|
},
|
|
2505
2508
|
{
|
|
2506
2509
|
"kind": "field",
|
|
2507
|
-
"name": "
|
|
2510
|
+
"name": "classNames",
|
|
2508
2511
|
"type": {
|
|
2509
|
-
"text": "
|
|
2510
|
-
}
|
|
2511
|
-
"default": "false"
|
|
2512
|
+
"text": "string"
|
|
2513
|
+
}
|
|
2512
2514
|
},
|
|
2513
2515
|
{
|
|
2514
2516
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2517
|
+
"name": "definition",
|
|
2516
2518
|
"type": {
|
|
2517
|
-
"text": "
|
|
2518
|
-
}
|
|
2519
|
-
"default": "null"
|
|
2519
|
+
"text": "any"
|
|
2520
|
+
}
|
|
2520
2521
|
},
|
|
2521
2522
|
{
|
|
2522
2523
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2524
|
+
"name": "name",
|
|
2524
2525
|
"type": {
|
|
2525
|
-
"text": "
|
|
2526
|
+
"text": "string"
|
|
2526
2527
|
},
|
|
2527
|
-
"default": "
|
|
2528
|
+
"default": "'Actions'"
|
|
2528
2529
|
},
|
|
2529
2530
|
{
|
|
2530
2531
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2532
|
+
"name": "open",
|
|
2532
2533
|
"type": {
|
|
2533
2534
|
"text": "boolean"
|
|
2534
2535
|
},
|
|
@@ -2536,15 +2537,14 @@
|
|
|
2536
2537
|
},
|
|
2537
2538
|
{
|
|
2538
2539
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2540
|
+
"name": "buttonAppearance",
|
|
2540
2541
|
"type": {
|
|
2541
|
-
"text": "
|
|
2542
|
-
}
|
|
2543
|
-
"default": "[]"
|
|
2542
|
+
"text": "string"
|
|
2543
|
+
}
|
|
2544
2544
|
},
|
|
2545
2545
|
{
|
|
2546
2546
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2547
|
+
"name": "hideDisabled",
|
|
2548
2548
|
"type": {
|
|
2549
2549
|
"text": "boolean"
|
|
2550
2550
|
},
|
|
@@ -2552,125 +2552,114 @@
|
|
|
2552
2552
|
},
|
|
2553
2553
|
{
|
|
2554
2554
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "HTMLTextAreaElement"
|
|
2558
|
-
},
|
|
2559
|
-
"privacy": "public"
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"kind": "field",
|
|
2563
|
-
"name": "stopRecording",
|
|
2555
|
+
"name": "hideMenuSingleOption",
|
|
2564
2556
|
"type": {
|
|
2565
|
-
"text": "
|
|
2557
|
+
"text": "boolean"
|
|
2566
2558
|
},
|
|
2567
|
-
"
|
|
2568
|
-
"default": "null"
|
|
2559
|
+
"default": "false"
|
|
2569
2560
|
},
|
|
2570
2561
|
{
|
|
2571
2562
|
"kind": "field",
|
|
2572
|
-
"name": "
|
|
2563
|
+
"name": "singleOption",
|
|
2573
2564
|
"type": {
|
|
2574
|
-
"text": "
|
|
2575
|
-
}
|
|
2576
|
-
"privacy": "private",
|
|
2577
|
-
"default": "null"
|
|
2565
|
+
"text": "ActionMenuItem"
|
|
2566
|
+
}
|
|
2578
2567
|
},
|
|
2579
2568
|
{
|
|
2580
2569
|
"kind": "field",
|
|
2581
|
-
"name": "
|
|
2570
|
+
"name": "actionsMenu",
|
|
2582
2571
|
"type": {
|
|
2583
|
-
"text": "
|
|
2584
|
-
}
|
|
2585
|
-
"readonly": true
|
|
2572
|
+
"text": "HTMLElement"
|
|
2573
|
+
}
|
|
2586
2574
|
},
|
|
2587
2575
|
{
|
|
2588
2576
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2577
|
+
"name": "actionsOpener",
|
|
2590
2578
|
"type": {
|
|
2591
|
-
"text": "
|
|
2592
|
-
}
|
|
2593
|
-
"readonly": true
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
"kind": "method",
|
|
2597
|
-
"name": "getFieldLabel",
|
|
2598
|
-
"privacy": "private",
|
|
2599
|
-
"return": {
|
|
2600
|
-
"type": {
|
|
2601
|
-
"text": "string"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
"parameters": [
|
|
2605
|
-
{
|
|
2606
|
-
"name": "fieldName",
|
|
2607
|
-
"type": {
|
|
2608
|
-
"text": "string"
|
|
2609
|
-
}
|
|
2610
|
-
}
|
|
2611
|
-
]
|
|
2579
|
+
"text": "HTMLElement"
|
|
2580
|
+
}
|
|
2612
2581
|
},
|
|
2613
2582
|
{
|
|
2614
2583
|
"kind": "method",
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2617
|
-
"type": {
|
|
2618
|
-
"text": "void"
|
|
2619
|
-
}
|
|
2620
|
-
}
|
|
2584
|
+
"name": "updateMenuPosition",
|
|
2585
|
+
"privacy": "private"
|
|
2621
2586
|
},
|
|
2622
2587
|
{
|
|
2623
2588
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"type": {
|
|
2627
|
-
"text": "void"
|
|
2628
|
-
}
|
|
2629
|
-
},
|
|
2589
|
+
"name": "definitionChanged",
|
|
2590
|
+
"privacy": "protected",
|
|
2630
2591
|
"parameters": [
|
|
2631
2592
|
{
|
|
2632
|
-
"name": "
|
|
2593
|
+
"name": "oldValue",
|
|
2633
2594
|
"type": {
|
|
2634
|
-
"text": "
|
|
2595
|
+
"text": "any"
|
|
2635
2596
|
}
|
|
2636
2597
|
},
|
|
2637
2598
|
{
|
|
2638
|
-
"name": "
|
|
2599
|
+
"name": "newValue",
|
|
2639
2600
|
"type": {
|
|
2640
|
-
"text": "
|
|
2601
|
+
"text": "any"
|
|
2641
2602
|
}
|
|
2642
2603
|
}
|
|
2643
2604
|
]
|
|
2644
2605
|
},
|
|
2645
2606
|
{
|
|
2646
2607
|
"kind": "method",
|
|
2647
|
-
"name": "
|
|
2648
|
-
"
|
|
2649
|
-
"type": {
|
|
2650
|
-
"text": "void"
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2608
|
+
"name": "openChanged",
|
|
2609
|
+
"privacy": "protected"
|
|
2653
2610
|
},
|
|
2654
2611
|
{
|
|
2655
2612
|
"kind": "method",
|
|
2656
|
-
"name": "
|
|
2613
|
+
"name": "toggleActionsMenuVisibility"
|
|
2657
2614
|
},
|
|
2658
2615
|
{
|
|
2659
2616
|
"kind": "method",
|
|
2660
|
-
"name": "
|
|
2617
|
+
"name": "onActionMenuItemClick",
|
|
2618
|
+
"parameters": [
|
|
2619
|
+
{
|
|
2620
|
+
"name": "callback",
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "(rowData) => void | any"
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
]
|
|
2661
2626
|
},
|
|
2662
2627
|
{
|
|
2663
|
-
"kind": "
|
|
2664
|
-
"name": "
|
|
2628
|
+
"kind": "field",
|
|
2629
|
+
"name": "allActions",
|
|
2630
|
+
"type": {
|
|
2631
|
+
"text": "ActionMenuItem[]"
|
|
2632
|
+
},
|
|
2633
|
+
"readonly": true
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"kind": "field",
|
|
2637
|
+
"name": "rowData",
|
|
2638
|
+
"readonly": true
|
|
2665
2639
|
},
|
|
2666
2640
|
{
|
|
2667
2641
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2642
|
+
"name": "getLabel",
|
|
2643
|
+
"parameters": [
|
|
2644
|
+
{
|
|
2645
|
+
"name": "name",
|
|
2646
|
+
"type": {
|
|
2647
|
+
"text": "string | ((rowData: any) => string)"
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
]
|
|
2669
2651
|
},
|
|
2670
2652
|
{
|
|
2671
2653
|
"kind": "method",
|
|
2672
|
-
"name": "
|
|
2673
|
-
"
|
|
2654
|
+
"name": "getTemplate",
|
|
2655
|
+
"parameters": [
|
|
2656
|
+
{
|
|
2657
|
+
"name": "prefix",
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "string"
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
]
|
|
2674
2663
|
},
|
|
2675
2664
|
{
|
|
2676
2665
|
"kind": "field",
|
|
@@ -2784,154 +2773,115 @@
|
|
|
2784
2773
|
}
|
|
2785
2774
|
}
|
|
2786
2775
|
],
|
|
2787
|
-
"
|
|
2776
|
+
"attributes": [
|
|
2777
|
+
{
|
|
2778
|
+
"name": "is-vertical",
|
|
2779
|
+
"type": {
|
|
2780
|
+
"text": "boolean"
|
|
2781
|
+
},
|
|
2782
|
+
"default": "false",
|
|
2783
|
+
"fieldName": "isVertical"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "add-default-actions",
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "boolean"
|
|
2789
|
+
},
|
|
2790
|
+
"default": "true",
|
|
2791
|
+
"fieldName": "addDefaultActions"
|
|
2792
|
+
},
|
|
2788
2793
|
{
|
|
2789
|
-
"
|
|
2790
|
-
"
|
|
2794
|
+
"name": "auto-close-on-action",
|
|
2795
|
+
"type": {
|
|
2796
|
+
"text": "boolean"
|
|
2797
|
+
},
|
|
2798
|
+
"default": "true",
|
|
2799
|
+
"fieldName": "autoCloseOnAction"
|
|
2791
2800
|
},
|
|
2792
2801
|
{
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2802
|
+
"name": "name",
|
|
2803
|
+
"type": {
|
|
2804
|
+
"text": "string"
|
|
2805
|
+
},
|
|
2806
|
+
"default": "'Actions'",
|
|
2807
|
+
"fieldName": "name"
|
|
2808
|
+
},
|
|
2798
2809
|
{
|
|
2799
|
-
"name": "
|
|
2810
|
+
"name": "open",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "boolean"
|
|
2813
|
+
},
|
|
2814
|
+
"default": "false",
|
|
2815
|
+
"fieldName": "open"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"name": "buttonAppearance",
|
|
2800
2819
|
"type": {
|
|
2801
2820
|
"text": "string"
|
|
2802
2821
|
},
|
|
2803
|
-
"
|
|
2804
|
-
"fieldName": "placeholder"
|
|
2822
|
+
"fieldName": "buttonAppearance"
|
|
2805
2823
|
},
|
|
2806
2824
|
{
|
|
2825
|
+
"name": "hide-disabled",
|
|
2807
2826
|
"type": {
|
|
2808
2827
|
"text": "boolean"
|
|
2809
2828
|
},
|
|
2810
|
-
"
|
|
2829
|
+
"default": "false",
|
|
2830
|
+
"fieldName": "hideDisabled"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "hide-menu-single-option",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "boolean"
|
|
2836
|
+
},
|
|
2837
|
+
"default": "false",
|
|
2838
|
+
"fieldName": "hideMenuSingleOption"
|
|
2811
2839
|
}
|
|
2812
2840
|
],
|
|
2813
2841
|
"superclass": {
|
|
2814
2842
|
"name": "FoundationElement",
|
|
2815
2843
|
"package": "@microsoft/fast-foundation"
|
|
2816
2844
|
},
|
|
2817
|
-
"tagName": "%%prefix%%-
|
|
2845
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2818
2846
|
"customElement": true
|
|
2819
2847
|
},
|
|
2820
2848
|
{
|
|
2821
2849
|
"kind": "variable",
|
|
2822
|
-
"name": "
|
|
2823
|
-
"
|
|
2824
|
-
|
|
2825
|
-
},
|
|
2826
|
-
"default": "undefined"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "variable",
|
|
2830
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2831
|
-
"type": {
|
|
2832
|
-
"text": "object"
|
|
2833
|
-
},
|
|
2834
|
-
"default": "{}"
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"kind": "variable",
|
|
2838
|
-
"name": "foundationAiCriteriaSearch"
|
|
2850
|
+
"name": "foundationActionsMenu",
|
|
2851
|
+
"description": "The Foundation Actions Menu",
|
|
2852
|
+
"privacy": "public"
|
|
2839
2853
|
}
|
|
2840
2854
|
],
|
|
2841
2855
|
"exports": [
|
|
2842
2856
|
{
|
|
2843
2857
|
"kind": "js",
|
|
2844
|
-
"name": "
|
|
2845
|
-
"declaration": {
|
|
2846
|
-
"name": "AiCriteriaSearch",
|
|
2847
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
{
|
|
2851
|
-
"kind": "js",
|
|
2852
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2853
|
-
"declaration": {
|
|
2854
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2855
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"kind": "js",
|
|
2860
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
+
"name": "ActionsMenu",
|
|
2861
2859
|
"declaration": {
|
|
2862
|
-
"name": "
|
|
2863
|
-
"module": "src/
|
|
2860
|
+
"name": "ActionsMenu",
|
|
2861
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2864
2862
|
}
|
|
2865
2863
|
},
|
|
2866
2864
|
{
|
|
2867
2865
|
"kind": "js",
|
|
2868
|
-
"name": "
|
|
2866
|
+
"name": "foundationActionsMenu",
|
|
2869
2867
|
"declaration": {
|
|
2870
|
-
"name": "
|
|
2871
|
-
"module": "src/
|
|
2868
|
+
"name": "foundationActionsMenu",
|
|
2869
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2872
2870
|
}
|
|
2873
2871
|
}
|
|
2874
2872
|
]
|
|
2875
2873
|
},
|
|
2876
2874
|
{
|
|
2877
2875
|
"kind": "javascript-module",
|
|
2878
|
-
"path": "src/
|
|
2876
|
+
"path": "src/actions-menu/index.ts",
|
|
2879
2877
|
"declarations": [],
|
|
2880
2878
|
"exports": [
|
|
2881
|
-
{
|
|
2882
|
-
"kind": "js",
|
|
2883
|
-
"name": "AiCriteriaSearch",
|
|
2884
|
-
"declaration": {
|
|
2885
|
-
"name": "AiCriteriaSearch",
|
|
2886
|
-
"module": "./ai-criteria-search"
|
|
2887
|
-
}
|
|
2888
|
-
},
|
|
2889
|
-
{
|
|
2890
|
-
"kind": "js",
|
|
2891
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2892
|
-
"declaration": {
|
|
2893
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2894
|
-
"module": "./ai-criteria-search"
|
|
2895
|
-
}
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "js",
|
|
2899
|
-
"name": "foundationAiCriteriaSearch",
|
|
2900
|
-
"declaration": {
|
|
2901
|
-
"name": "foundationAiCriteriaSearch",
|
|
2902
|
-
"module": "./ai-criteria-search"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
{
|
|
2906
|
-
"kind": "js",
|
|
2907
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2908
|
-
"declaration": {
|
|
2909
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2910
|
-
"module": "./ai-criteria-search"
|
|
2911
|
-
}
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"kind": "js",
|
|
2915
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2918
|
-
"module": "./ai-criteria-search.styles"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2926
|
-
"module": "./ai-criteria-search.template"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
2879
|
{
|
|
2930
2880
|
"kind": "js",
|
|
2931
2881
|
"name": "*",
|
|
2932
2882
|
"declaration": {
|
|
2933
2883
|
"name": "*",
|
|
2934
|
-
"package": "./
|
|
2884
|
+
"package": "./actions-menu.styles"
|
|
2935
2885
|
}
|
|
2936
2886
|
},
|
|
2937
2887
|
{
|
|
@@ -2939,7 +2889,7 @@
|
|
|
2939
2889
|
"name": "*",
|
|
2940
2890
|
"declaration": {
|
|
2941
2891
|
"name": "*",
|
|
2942
|
-
"package": "./
|
|
2892
|
+
"package": "./actions-menu.template"
|
|
2943
2893
|
}
|
|
2944
2894
|
},
|
|
2945
2895
|
{
|
|
@@ -2947,357 +2897,246 @@
|
|
|
2947
2897
|
"name": "*",
|
|
2948
2898
|
"declaration": {
|
|
2949
2899
|
"name": "*",
|
|
2950
|
-
"package": "./
|
|
2900
|
+
"package": "./actions-menu"
|
|
2951
2901
|
}
|
|
2952
2902
|
}
|
|
2953
2903
|
]
|
|
2954
2904
|
},
|
|
2955
2905
|
{
|
|
2956
2906
|
"kind": "javascript-module",
|
|
2957
|
-
"path": "src/
|
|
2958
|
-
"declarations": [
|
|
2907
|
+
"path": "src/_config/index.ts",
|
|
2908
|
+
"declarations": [],
|
|
2909
|
+
"exports": [
|
|
2959
2910
|
{
|
|
2960
|
-
"kind": "
|
|
2961
|
-
"name": "
|
|
2962
|
-
"
|
|
2963
|
-
"
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
},
|
|
2967
|
-
"parameters": [
|
|
2968
|
-
{
|
|
2969
|
-
"name": "errors",
|
|
2970
|
-
"type": {
|
|
2971
|
-
"text": "ValidationError[]"
|
|
2972
|
-
}
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2911
|
+
"kind": "js",
|
|
2912
|
+
"name": "*",
|
|
2913
|
+
"declaration": {
|
|
2914
|
+
"name": "*",
|
|
2915
|
+
"package": "./styles"
|
|
2916
|
+
}
|
|
2976
2917
|
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "function",
|
|
2979
|
-
"name": "showCriteriaError",
|
|
2980
|
-
"return": {
|
|
2981
|
-
"type": {
|
|
2982
|
-
"text": "void"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
"parameters": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "title",
|
|
2988
|
-
"type": {
|
|
2989
|
-
"text": "string"
|
|
2990
|
-
},
|
|
2991
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2992
|
-
},
|
|
2993
|
-
{
|
|
2994
|
-
"name": "body",
|
|
2995
|
-
"type": {
|
|
2996
|
-
"text": "string"
|
|
2997
|
-
},
|
|
2998
|
-
"description": "Error message to display"
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"name": "tagName",
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "string"
|
|
3004
|
-
},
|
|
3005
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3006
|
-
}
|
|
3007
|
-
],
|
|
3008
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3009
|
-
}
|
|
3010
|
-
],
|
|
3011
|
-
"exports": [
|
|
3012
2918
|
{
|
|
3013
2919
|
"kind": "js",
|
|
3014
|
-
"name": "
|
|
2920
|
+
"name": "*",
|
|
3015
2921
|
"declaration": {
|
|
3016
|
-
"name": "
|
|
3017
|
-
"
|
|
2922
|
+
"name": "*",
|
|
2923
|
+
"package": "./tokens"
|
|
3018
2924
|
}
|
|
3019
2925
|
},
|
|
3020
2926
|
{
|
|
3021
2927
|
"kind": "js",
|
|
3022
|
-
"name": "
|
|
2928
|
+
"name": "*",
|
|
3023
2929
|
"declaration": {
|
|
3024
|
-
"name": "
|
|
3025
|
-
"
|
|
2930
|
+
"name": "*",
|
|
2931
|
+
"package": "./values"
|
|
3026
2932
|
}
|
|
3027
2933
|
}
|
|
3028
2934
|
]
|
|
3029
2935
|
},
|
|
3030
2936
|
{
|
|
3031
2937
|
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/
|
|
2938
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3033
2939
|
"declarations": [
|
|
3034
|
-
{
|
|
3035
|
-
"kind": "
|
|
3036
|
-
"name": "
|
|
3037
|
-
"
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "ElementStyles"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "context",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "ElementDefinitionContext"
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"name": "definition",
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "FoundationElementDefinition"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "variable",
|
|
2942
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2943
|
+
"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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3056
2944
|
}
|
|
3057
2945
|
],
|
|
3058
2946
|
"exports": [
|
|
3059
2947
|
{
|
|
3060
2948
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
2949
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3062
2950
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/
|
|
2951
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2952
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3065
2953
|
}
|
|
3066
2954
|
}
|
|
3067
2955
|
]
|
|
3068
2956
|
},
|
|
3069
2957
|
{
|
|
3070
2958
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/
|
|
2959
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3072
2960
|
"declarations": [
|
|
3073
2961
|
{
|
|
3074
|
-
"kind": "
|
|
3075
|
-
"name": "
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"text": "ViewTemplate<Accordion>"
|
|
3079
|
-
}
|
|
2962
|
+
"kind": "variable",
|
|
2963
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2964
|
+
"type": {
|
|
2965
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3080
2966
|
},
|
|
3081
|
-
"
|
|
3082
|
-
{
|
|
3083
|
-
"name": "context",
|
|
3084
|
-
"type": {
|
|
3085
|
-
"text": "ElementDefinitionContext"
|
|
3086
|
-
}
|
|
3087
|
-
},
|
|
3088
|
-
{
|
|
3089
|
-
"name": "definition",
|
|
3090
|
-
"type": {
|
|
3091
|
-
"text": "FoundationElementDefinition"
|
|
3092
|
-
}
|
|
3093
|
-
}
|
|
3094
|
-
]
|
|
2967
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3095
2968
|
}
|
|
3096
2969
|
],
|
|
3097
2970
|
"exports": [
|
|
3098
2971
|
{
|
|
3099
2972
|
"kind": "js",
|
|
3100
|
-
"name": "
|
|
2973
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3101
2974
|
"declaration": {
|
|
3102
|
-
"name": "
|
|
3103
|
-
"module": "src/
|
|
2975
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2976
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3104
2977
|
}
|
|
3105
2978
|
}
|
|
3106
2979
|
]
|
|
3107
2980
|
},
|
|
3108
2981
|
{
|
|
3109
2982
|
"kind": "javascript-module",
|
|
3110
|
-
"path": "src/
|
|
2983
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3111
2984
|
"declarations": [
|
|
3112
2985
|
{
|
|
3113
2986
|
"kind": "class",
|
|
3114
|
-
"description": "",
|
|
3115
|
-
"name": "
|
|
3116
|
-
"
|
|
3117
|
-
"name": "FASTAccordion",
|
|
3118
|
-
"package": "@microsoft/fast-foundation"
|
|
3119
|
-
},
|
|
3120
|
-
"tagName": "%%prefix%%-accordion",
|
|
3121
|
-
"customElement": true,
|
|
3122
|
-
"attributes": [
|
|
2987
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2988
|
+
"name": "AiCriteriaSearch",
|
|
2989
|
+
"members": [
|
|
3123
2990
|
{
|
|
3124
|
-
"
|
|
2991
|
+
"kind": "field",
|
|
2992
|
+
"name": "providerRegistry",
|
|
3125
2993
|
"type": {
|
|
3126
|
-
"text": "
|
|
3127
|
-
},
|
|
3128
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3129
|
-
"fieldName": "expandmode",
|
|
3130
|
-
"inheritedFrom": {
|
|
3131
|
-
"name": "Accordion",
|
|
3132
|
-
"module": "src/accordion/accordion.ts"
|
|
2994
|
+
"text": "AIProviderRegistry"
|
|
3133
2995
|
}
|
|
3134
|
-
}
|
|
3135
|
-
],
|
|
3136
|
-
"members": [
|
|
2996
|
+
},
|
|
3137
2997
|
{
|
|
3138
2998
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
2999
|
+
"name": "placeholder",
|
|
3140
3000
|
"type": {
|
|
3141
|
-
"text": "
|
|
3001
|
+
"text": "string"
|
|
3142
3002
|
},
|
|
3143
|
-
"
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3003
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "disabled",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "boolean"
|
|
3148
3010
|
}
|
|
3149
3011
|
},
|
|
3150
3012
|
{
|
|
3151
3013
|
"kind": "field",
|
|
3152
|
-
"name": "
|
|
3014
|
+
"name": "inputValue",
|
|
3153
3015
|
"type": {
|
|
3154
|
-
"text": "string
|
|
3016
|
+
"text": "string"
|
|
3155
3017
|
},
|
|
3156
|
-
"
|
|
3157
|
-
"inheritedFrom": {
|
|
3158
|
-
"name": "Accordion",
|
|
3159
|
-
"module": "src/accordion/accordion.ts"
|
|
3160
|
-
}
|
|
3018
|
+
"default": "''"
|
|
3161
3019
|
},
|
|
3162
3020
|
{
|
|
3163
3021
|
"kind": "field",
|
|
3164
|
-
"name": "
|
|
3022
|
+
"name": "isInterpreting",
|
|
3165
3023
|
"type": {
|
|
3166
|
-
"text": "
|
|
3024
|
+
"text": "boolean"
|
|
3167
3025
|
},
|
|
3168
|
-
"
|
|
3169
|
-
"default": "0",
|
|
3170
|
-
"inheritedFrom": {
|
|
3171
|
-
"name": "Accordion",
|
|
3172
|
-
"module": "src/accordion/accordion.ts"
|
|
3173
|
-
}
|
|
3026
|
+
"default": "false"
|
|
3174
3027
|
},
|
|
3175
3028
|
{
|
|
3176
3029
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3030
|
+
"name": "lastValidCriteria",
|
|
3178
3031
|
"type": {
|
|
3179
|
-
"text": "
|
|
3032
|
+
"text": "string | null"
|
|
3180
3033
|
},
|
|
3181
|
-
"
|
|
3182
|
-
"inheritedFrom": {
|
|
3183
|
-
"name": "Accordion",
|
|
3184
|
-
"module": "src/accordion/accordion.ts"
|
|
3185
|
-
}
|
|
3034
|
+
"default": "null"
|
|
3186
3035
|
},
|
|
3187
3036
|
{
|
|
3188
3037
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
}
|
|
3038
|
+
"name": "activeGroups",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "CriteriaGroup[]"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "[]"
|
|
3195
3043
|
},
|
|
3196
3044
|
{
|
|
3197
|
-
"kind": "
|
|
3198
|
-
"name": "
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
"type": {
|
|
3202
|
-
"text": "AccordionItem | null"
|
|
3203
|
-
}
|
|
3045
|
+
"kind": "field",
|
|
3046
|
+
"name": "showingChips",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"text": "boolean"
|
|
3204
3049
|
},
|
|
3205
|
-
"
|
|
3206
|
-
"name": "Accordion",
|
|
3207
|
-
"module": "src/accordion/accordion.ts"
|
|
3208
|
-
}
|
|
3050
|
+
"default": "false"
|
|
3209
3051
|
},
|
|
3210
3052
|
{
|
|
3211
3053
|
"kind": "field",
|
|
3212
|
-
"name": "
|
|
3213
|
-
"
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
}
|
|
3054
|
+
"name": "fieldMetadata",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "MetadataDetail[] | string[]"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "[]"
|
|
3218
3059
|
},
|
|
3219
3060
|
{
|
|
3220
|
-
"kind": "
|
|
3221
|
-
"name": "
|
|
3222
|
-
"
|
|
3223
|
-
|
|
3224
|
-
"type": {
|
|
3225
|
-
"text": "void"
|
|
3226
|
-
}
|
|
3061
|
+
"kind": "field",
|
|
3062
|
+
"name": "isRecording",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "boolean"
|
|
3227
3065
|
},
|
|
3228
|
-
"
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3066
|
+
"default": "false"
|
|
3232
3067
|
},
|
|
3233
3068
|
{
|
|
3234
3069
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3236
|
-
"
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
}
|
|
3070
|
+
"name": "textAreaRef",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "HTMLTextAreaElement"
|
|
3073
|
+
},
|
|
3074
|
+
"privacy": "public"
|
|
3241
3075
|
},
|
|
3242
3076
|
{
|
|
3243
3077
|
"kind": "field",
|
|
3244
|
-
"name": "
|
|
3078
|
+
"name": "stopRecording",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "(() => void) | null"
|
|
3081
|
+
},
|
|
3245
3082
|
"privacy": "private",
|
|
3246
|
-
"
|
|
3247
|
-
"name": "Accordion",
|
|
3248
|
-
"module": "src/accordion/accordion.ts"
|
|
3249
|
-
}
|
|
3083
|
+
"default": "null"
|
|
3250
3084
|
},
|
|
3251
3085
|
{
|
|
3252
|
-
"kind": "
|
|
3253
|
-
"name": "
|
|
3254
|
-
"
|
|
3255
|
-
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "Array<string | null>"
|
|
3258
|
-
}
|
|
3086
|
+
"kind": "field",
|
|
3087
|
+
"name": "speechApplyDebounceTimer",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3259
3090
|
},
|
|
3260
|
-
"
|
|
3261
|
-
|
|
3262
|
-
"module": "src/accordion/accordion.ts"
|
|
3263
|
-
}
|
|
3091
|
+
"privacy": "private",
|
|
3092
|
+
"default": "null"
|
|
3264
3093
|
},
|
|
3265
3094
|
{
|
|
3266
|
-
"kind": "
|
|
3267
|
-
"name": "
|
|
3268
|
-
"
|
|
3269
|
-
|
|
3270
|
-
"type": {
|
|
3271
|
-
"text": "boolean"
|
|
3272
|
-
}
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "speechAvailable",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3273
3099
|
},
|
|
3274
|
-
"
|
|
3275
|
-
"name": "Accordion",
|
|
3276
|
-
"module": "src/accordion/accordion.ts"
|
|
3277
|
-
}
|
|
3100
|
+
"readonly": true
|
|
3278
3101
|
},
|
|
3279
3102
|
{
|
|
3280
3103
|
"kind": "field",
|
|
3281
|
-
"name": "
|
|
3282
|
-
"
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
}
|
|
3104
|
+
"name": "criteriaChips",
|
|
3105
|
+
"type": {
|
|
3106
|
+
"text": "CriteriaChip[]"
|
|
3107
|
+
},
|
|
3108
|
+
"readonly": true
|
|
3287
3109
|
},
|
|
3288
3110
|
{
|
|
3289
|
-
"kind": "
|
|
3290
|
-
"name": "
|
|
3111
|
+
"kind": "method",
|
|
3112
|
+
"name": "getFieldLabel",
|
|
3291
3113
|
"privacy": "private",
|
|
3292
|
-
"
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3114
|
+
"return": {
|
|
3115
|
+
"type": {
|
|
3116
|
+
"text": "string"
|
|
3117
|
+
}
|
|
3118
|
+
},
|
|
3119
|
+
"parameters": [
|
|
3120
|
+
{
|
|
3121
|
+
"name": "fieldName",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "string"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
]
|
|
3127
|
+
},
|
|
3128
|
+
{
|
|
3129
|
+
"kind": "method",
|
|
3130
|
+
"name": "toggleCriteriaView",
|
|
3131
|
+
"return": {
|
|
3132
|
+
"type": {
|
|
3133
|
+
"text": "void"
|
|
3134
|
+
}
|
|
3295
3135
|
}
|
|
3296
3136
|
},
|
|
3297
3137
|
{
|
|
3298
3138
|
"kind": "method",
|
|
3299
|
-
"name": "
|
|
3300
|
-
"privacy": "private",
|
|
3139
|
+
"name": "removeChip",
|
|
3301
3140
|
"return": {
|
|
3302
3141
|
"type": {
|
|
3303
3142
|
"text": "void"
|
|
@@ -3305,31 +3144,49 @@
|
|
|
3305
3144
|
},
|
|
3306
3145
|
"parameters": [
|
|
3307
3146
|
{
|
|
3308
|
-
"name": "
|
|
3147
|
+
"name": "groupIndex",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "number"
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "clauseIndex",
|
|
3309
3154
|
"type": {
|
|
3310
3155
|
"text": "number"
|
|
3311
3156
|
}
|
|
3312
3157
|
}
|
|
3313
|
-
]
|
|
3314
|
-
"inheritedFrom": {
|
|
3315
|
-
"name": "Accordion",
|
|
3316
|
-
"module": "src/accordion/accordion.ts"
|
|
3317
|
-
}
|
|
3158
|
+
]
|
|
3318
3159
|
},
|
|
3319
3160
|
{
|
|
3320
3161
|
"kind": "method",
|
|
3321
|
-
"name": "
|
|
3322
|
-
"privacy": "private",
|
|
3162
|
+
"name": "clearChips",
|
|
3323
3163
|
"return": {
|
|
3324
3164
|
"type": {
|
|
3325
3165
|
"text": "void"
|
|
3326
3166
|
}
|
|
3327
|
-
},
|
|
3328
|
-
"inheritedFrom": {
|
|
3329
|
-
"name": "Accordion",
|
|
3330
|
-
"module": "src/accordion/accordion.ts"
|
|
3331
3167
|
}
|
|
3332
3168
|
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "method",
|
|
3171
|
+
"name": "handleSubmit"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "method",
|
|
3175
|
+
"name": "handleBlur"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"kind": "method",
|
|
3179
|
+
"name": "clear"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "toggleSpeechInput"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "method",
|
|
3187
|
+
"name": "clearSpeechApplyDebounce",
|
|
3188
|
+
"privacy": "private"
|
|
3189
|
+
},
|
|
3333
3190
|
{
|
|
3334
3191
|
"kind": "field",
|
|
3335
3192
|
"name": "_presentation",
|
|
@@ -3444,26 +3301,48 @@
|
|
|
3444
3301
|
],
|
|
3445
3302
|
"events": [
|
|
3446
3303
|
{
|
|
3447
|
-
"description": "
|
|
3448
|
-
"name": "
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3304
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3305
|
+
"name": "criteria-changed"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3309
|
+
"name": "validation-errors"
|
|
3453
3310
|
}
|
|
3454
|
-
]
|
|
3311
|
+
],
|
|
3312
|
+
"attributes": [
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3319
|
+
"fieldName": "placeholder"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "boolean"
|
|
3324
|
+
},
|
|
3325
|
+
"fieldName": "disabled"
|
|
3326
|
+
}
|
|
3327
|
+
],
|
|
3328
|
+
"superclass": {
|
|
3329
|
+
"name": "FoundationElement",
|
|
3330
|
+
"package": "@microsoft/fast-foundation"
|
|
3331
|
+
},
|
|
3332
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3333
|
+
"customElement": true
|
|
3455
3334
|
},
|
|
3456
3335
|
{
|
|
3457
3336
|
"kind": "variable",
|
|
3458
|
-
"name": "
|
|
3337
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3459
3338
|
"type": {
|
|
3460
3339
|
"text": "ShadowRootInit"
|
|
3461
3340
|
},
|
|
3462
|
-
"default": "
|
|
3341
|
+
"default": "undefined"
|
|
3463
3342
|
},
|
|
3464
3343
|
{
|
|
3465
3344
|
"kind": "variable",
|
|
3466
|
-
"name": "
|
|
3345
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3467
3346
|
"type": {
|
|
3468
3347
|
"text": "object"
|
|
3469
3348
|
},
|
|
@@ -3471,57 +3350,103 @@
|
|
|
3471
3350
|
},
|
|
3472
3351
|
{
|
|
3473
3352
|
"kind": "variable",
|
|
3474
|
-
"name": "
|
|
3475
|
-
"description": "The Foundation Accordion",
|
|
3476
|
-
"privacy": "public"
|
|
3353
|
+
"name": "foundationAiCriteriaSearch"
|
|
3477
3354
|
}
|
|
3478
3355
|
],
|
|
3479
3356
|
"exports": [
|
|
3480
3357
|
{
|
|
3481
3358
|
"kind": "js",
|
|
3482
|
-
"name": "
|
|
3359
|
+
"name": "AiCriteriaSearch",
|
|
3483
3360
|
"declaration": {
|
|
3484
|
-
"name": "
|
|
3485
|
-
"module": "src/
|
|
3361
|
+
"name": "AiCriteriaSearch",
|
|
3362
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3486
3363
|
}
|
|
3487
3364
|
},
|
|
3488
3365
|
{
|
|
3489
3366
|
"kind": "js",
|
|
3490
|
-
"name": "
|
|
3367
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3491
3368
|
"declaration": {
|
|
3492
|
-
"name": "
|
|
3493
|
-
"module": "src/
|
|
3369
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3494
3371
|
}
|
|
3495
3372
|
},
|
|
3496
3373
|
{
|
|
3497
3374
|
"kind": "js",
|
|
3498
|
-
"name": "
|
|
3375
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3499
3376
|
"declaration": {
|
|
3500
|
-
"name": "
|
|
3501
|
-
"module": "src/
|
|
3377
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3378
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3502
3379
|
}
|
|
3503
3380
|
},
|
|
3504
3381
|
{
|
|
3505
3382
|
"kind": "js",
|
|
3506
|
-
"name": "
|
|
3383
|
+
"name": "foundationAiCriteriaSearch",
|
|
3507
3384
|
"declaration": {
|
|
3508
|
-
"name": "
|
|
3509
|
-
"module": "src/
|
|
3385
|
+
"name": "foundationAiCriteriaSearch",
|
|
3386
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3510
3387
|
}
|
|
3511
3388
|
}
|
|
3512
3389
|
]
|
|
3513
3390
|
},
|
|
3514
3391
|
{
|
|
3515
3392
|
"kind": "javascript-module",
|
|
3516
|
-
"path": "src/
|
|
3393
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3517
3394
|
"declarations": [],
|
|
3518
3395
|
"exports": [
|
|
3396
|
+
{
|
|
3397
|
+
"kind": "js",
|
|
3398
|
+
"name": "AiCriteriaSearch",
|
|
3399
|
+
"declaration": {
|
|
3400
|
+
"name": "AiCriteriaSearch",
|
|
3401
|
+
"module": "./ai-criteria-search"
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "js",
|
|
3406
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3407
|
+
"declaration": {
|
|
3408
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3409
|
+
"module": "./ai-criteria-search"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"kind": "js",
|
|
3414
|
+
"name": "foundationAiCriteriaSearch",
|
|
3415
|
+
"declaration": {
|
|
3416
|
+
"name": "foundationAiCriteriaSearch",
|
|
3417
|
+
"module": "./ai-criteria-search"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"kind": "js",
|
|
3422
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3423
|
+
"declaration": {
|
|
3424
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3425
|
+
"module": "./ai-criteria-search"
|
|
3426
|
+
}
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"kind": "js",
|
|
3430
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3431
|
+
"declaration": {
|
|
3432
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3433
|
+
"module": "./ai-criteria-search.styles"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "js",
|
|
3438
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3439
|
+
"declaration": {
|
|
3440
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3441
|
+
"module": "./ai-criteria-search.template"
|
|
3442
|
+
}
|
|
3443
|
+
},
|
|
3519
3444
|
{
|
|
3520
3445
|
"kind": "js",
|
|
3521
3446
|
"name": "*",
|
|
3522
3447
|
"declaration": {
|
|
3523
3448
|
"name": "*",
|
|
3524
|
-
"package": "./
|
|
3449
|
+
"package": "./validation/criteria-ir"
|
|
3525
3450
|
}
|
|
3526
3451
|
},
|
|
3527
3452
|
{
|
|
@@ -3529,7 +3454,7 @@
|
|
|
3529
3454
|
"name": "*",
|
|
3530
3455
|
"declaration": {
|
|
3531
3456
|
"name": "*",
|
|
3532
|
-
"package": "./
|
|
3457
|
+
"package": "./validation/operator-map"
|
|
3533
3458
|
}
|
|
3534
3459
|
},
|
|
3535
3460
|
{
|
|
@@ -3537,7 +3462,82 @@
|
|
|
3537
3462
|
"name": "*",
|
|
3538
3463
|
"declaration": {
|
|
3539
3464
|
"name": "*",
|
|
3540
|
-
"package": "./
|
|
3465
|
+
"package": "./validation/schema-validator"
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
]
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "javascript-module",
|
|
3472
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3473
|
+
"declarations": [
|
|
3474
|
+
{
|
|
3475
|
+
"kind": "function",
|
|
3476
|
+
"name": "formatValidationErrors",
|
|
3477
|
+
"return": {
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "string"
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"parameters": [
|
|
3483
|
+
{
|
|
3484
|
+
"name": "errors",
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "ValidationError[]"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "function",
|
|
3494
|
+
"name": "showCriteriaError",
|
|
3495
|
+
"return": {
|
|
3496
|
+
"type": {
|
|
3497
|
+
"text": "void"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"parameters": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "title",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "string"
|
|
3505
|
+
},
|
|
3506
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"name": "body",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "string"
|
|
3512
|
+
},
|
|
3513
|
+
"description": "Error message to display"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "tagName",
|
|
3517
|
+
"type": {
|
|
3518
|
+
"text": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3524
|
+
}
|
|
3525
|
+
],
|
|
3526
|
+
"exports": [
|
|
3527
|
+
{
|
|
3528
|
+
"kind": "js",
|
|
3529
|
+
"name": "formatValidationErrors",
|
|
3530
|
+
"declaration": {
|
|
3531
|
+
"name": "formatValidationErrors",
|
|
3532
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3533
|
+
}
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"kind": "js",
|
|
3537
|
+
"name": "showCriteriaError",
|
|
3538
|
+
"declaration": {
|
|
3539
|
+
"name": "showCriteriaError",
|
|
3540
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
]
|