@genesislcap/foundation-ui 14.467.2 → 14.468.0-GENC-1354.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1380 -1380
- 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
|
@@ -934,44 +934,66 @@
|
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
936
|
"kind": "javascript-module",
|
|
937
|
-
"path": "src/
|
|
937
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
938
938
|
"declarations": [
|
|
939
939
|
{
|
|
940
|
-
"kind": "
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
"text": "string"
|
|
949
|
-
},
|
|
950
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
951
|
-
},
|
|
940
|
+
"kind": "function",
|
|
941
|
+
"name": "foundationAccordionStyles",
|
|
942
|
+
"return": {
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "ElementStyles"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"parameters": [
|
|
952
948
|
{
|
|
953
|
-
"
|
|
954
|
-
"name": "suffix",
|
|
949
|
+
"name": "context",
|
|
955
950
|
"type": {
|
|
956
|
-
"text": "
|
|
957
|
-
}
|
|
958
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
951
|
+
"text": "ElementDefinitionContext"
|
|
952
|
+
}
|
|
959
953
|
},
|
|
960
954
|
{
|
|
961
|
-
"
|
|
962
|
-
"name": "hideAffixFromScreenReader",
|
|
955
|
+
"name": "definition",
|
|
963
956
|
"type": {
|
|
964
|
-
"text": "
|
|
965
|
-
}
|
|
966
|
-
"default": "false",
|
|
967
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
957
|
+
"text": "FoundationElementDefinition"
|
|
958
|
+
}
|
|
968
959
|
}
|
|
969
|
-
]
|
|
960
|
+
]
|
|
961
|
+
}
|
|
962
|
+
],
|
|
963
|
+
"exports": [
|
|
964
|
+
{
|
|
965
|
+
"kind": "js",
|
|
966
|
+
"name": "foundationAccordionStyles",
|
|
967
|
+
"declaration": {
|
|
968
|
+
"name": "foundationAccordionStyles",
|
|
969
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"kind": "javascript-module",
|
|
976
|
+
"path": "src/accordion/accordion.template.ts",
|
|
977
|
+
"declarations": [
|
|
978
|
+
{
|
|
979
|
+
"kind": "function",
|
|
980
|
+
"name": "foundationAccordionTemplate",
|
|
981
|
+
"return": {
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "ViewTemplate<Accordion>"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
970
986
|
"parameters": [
|
|
971
987
|
{
|
|
972
|
-
"name": "
|
|
988
|
+
"name": "context",
|
|
973
989
|
"type": {
|
|
974
|
-
"text": "
|
|
990
|
+
"text": "ElementDefinitionContext"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "definition",
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "FoundationElementDefinition"
|
|
975
997
|
}
|
|
976
998
|
}
|
|
977
999
|
]
|
|
@@ -980,143 +1002,207 @@
|
|
|
980
1002
|
"exports": [
|
|
981
1003
|
{
|
|
982
1004
|
"kind": "js",
|
|
983
|
-
"name": "
|
|
1005
|
+
"name": "foundationAccordionTemplate",
|
|
984
1006
|
"declaration": {
|
|
985
|
-
"name": "
|
|
986
|
-
"module": "src/
|
|
1007
|
+
"name": "foundationAccordionTemplate",
|
|
1008
|
+
"module": "src/accordion/accordion.template.ts"
|
|
987
1009
|
}
|
|
988
1010
|
}
|
|
989
1011
|
]
|
|
990
1012
|
},
|
|
991
1013
|
{
|
|
992
1014
|
"kind": "javascript-module",
|
|
993
|
-
"path": "src/
|
|
1015
|
+
"path": "src/accordion/accordion.ts",
|
|
994
1016
|
"declarations": [
|
|
995
1017
|
{
|
|
996
1018
|
"kind": "class",
|
|
997
|
-
"description": "
|
|
998
|
-
"name": "
|
|
1019
|
+
"description": "",
|
|
1020
|
+
"name": "Accordion",
|
|
1021
|
+
"superclass": {
|
|
1022
|
+
"name": "FASTAccordion",
|
|
1023
|
+
"package": "@microsoft/fast-foundation"
|
|
1024
|
+
},
|
|
1025
|
+
"tagName": "%%prefix%%-accordion",
|
|
1026
|
+
"customElement": true,
|
|
1027
|
+
"attributes": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "expand-mode",
|
|
1030
|
+
"type": {
|
|
1031
|
+
"text": "AccordionExpandMode"
|
|
1032
|
+
},
|
|
1033
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1034
|
+
"fieldName": "expandmode",
|
|
1035
|
+
"inheritedFrom": {
|
|
1036
|
+
"name": "Accordion",
|
|
1037
|
+
"module": "src/accordion/accordion.ts"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
999
1041
|
"members": [
|
|
1000
1042
|
{
|
|
1001
1043
|
"kind": "field",
|
|
1002
|
-
"name": "
|
|
1044
|
+
"name": "expandmode",
|
|
1003
1045
|
"type": {
|
|
1004
|
-
"text": "
|
|
1046
|
+
"text": "AccordionExpandMode"
|
|
1005
1047
|
},
|
|
1006
|
-
"privacy": "public"
|
|
1048
|
+
"privacy": "public",
|
|
1049
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1050
|
+
"inheritedFrom": {
|
|
1051
|
+
"name": "Accordion",
|
|
1052
|
+
"module": "src/accordion/accordion.ts"
|
|
1053
|
+
}
|
|
1007
1054
|
},
|
|
1008
1055
|
{
|
|
1009
1056
|
"kind": "field",
|
|
1010
|
-
"name": "
|
|
1057
|
+
"name": "activeid",
|
|
1011
1058
|
"type": {
|
|
1012
|
-
"text": "
|
|
1059
|
+
"text": "string | null"
|
|
1013
1060
|
},
|
|
1014
|
-
"privacy": "
|
|
1015
|
-
"
|
|
1061
|
+
"privacy": "private",
|
|
1062
|
+
"inheritedFrom": {
|
|
1063
|
+
"name": "Accordion",
|
|
1064
|
+
"module": "src/accordion/accordion.ts"
|
|
1065
|
+
}
|
|
1016
1066
|
},
|
|
1017
1067
|
{
|
|
1018
1068
|
"kind": "field",
|
|
1019
|
-
"name": "
|
|
1069
|
+
"name": "activeItemIndex",
|
|
1020
1070
|
"type": {
|
|
1021
|
-
"text": "
|
|
1071
|
+
"text": "number"
|
|
1072
|
+
},
|
|
1073
|
+
"privacy": "private",
|
|
1074
|
+
"default": "0",
|
|
1075
|
+
"inheritedFrom": {
|
|
1076
|
+
"name": "Accordion",
|
|
1077
|
+
"module": "src/accordion/accordion.ts"
|
|
1022
1078
|
}
|
|
1023
1079
|
},
|
|
1024
1080
|
{
|
|
1025
1081
|
"kind": "field",
|
|
1026
|
-
"name": "
|
|
1082
|
+
"name": "accordionIds",
|
|
1027
1083
|
"type": {
|
|
1028
|
-
"text": "string"
|
|
1084
|
+
"text": "Array<string | null>"
|
|
1029
1085
|
},
|
|
1030
|
-
"
|
|
1086
|
+
"privacy": "private",
|
|
1087
|
+
"inheritedFrom": {
|
|
1088
|
+
"name": "Accordion",
|
|
1089
|
+
"module": "src/accordion/accordion.ts"
|
|
1090
|
+
}
|
|
1031
1091
|
},
|
|
1032
1092
|
{
|
|
1033
1093
|
"kind": "field",
|
|
1034
|
-
"name": "
|
|
1035
|
-
"
|
|
1036
|
-
"
|
|
1037
|
-
"
|
|
1094
|
+
"name": "change",
|
|
1095
|
+
"privacy": "private",
|
|
1096
|
+
"inheritedFrom": {
|
|
1097
|
+
"name": "Accordion",
|
|
1098
|
+
"module": "src/accordion/accordion.ts"
|
|
1038
1099
|
}
|
|
1039
1100
|
},
|
|
1040
1101
|
{
|
|
1041
|
-
"kind": "
|
|
1042
|
-
"name": "
|
|
1043
|
-
"
|
|
1044
|
-
|
|
1102
|
+
"kind": "method",
|
|
1103
|
+
"name": "findExpandedItem",
|
|
1104
|
+
"privacy": "private",
|
|
1105
|
+
"return": {
|
|
1106
|
+
"type": {
|
|
1107
|
+
"text": "AccordionItem | null"
|
|
1108
|
+
}
|
|
1045
1109
|
},
|
|
1046
|
-
"
|
|
1110
|
+
"inheritedFrom": {
|
|
1111
|
+
"name": "Accordion",
|
|
1112
|
+
"module": "src/accordion/accordion.ts"
|
|
1113
|
+
}
|
|
1047
1114
|
},
|
|
1048
1115
|
{
|
|
1049
1116
|
"kind": "field",
|
|
1050
|
-
"name": "
|
|
1051
|
-
"
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1117
|
+
"name": "setItems",
|
|
1118
|
+
"privacy": "private",
|
|
1119
|
+
"inheritedFrom": {
|
|
1120
|
+
"name": "Accordion",
|
|
1121
|
+
"module": "src/accordion/accordion.ts"
|
|
1122
|
+
}
|
|
1055
1123
|
},
|
|
1056
1124
|
{
|
|
1057
1125
|
"kind": "method",
|
|
1058
|
-
"name": "
|
|
1059
|
-
"privacy": "
|
|
1060
|
-
"
|
|
1126
|
+
"name": "resetItems",
|
|
1127
|
+
"privacy": "private",
|
|
1128
|
+
"return": {
|
|
1129
|
+
"type": {
|
|
1130
|
+
"text": "void"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"inheritedFrom": {
|
|
1134
|
+
"name": "Accordion",
|
|
1135
|
+
"module": "src/accordion/accordion.ts"
|
|
1136
|
+
}
|
|
1061
1137
|
},
|
|
1062
1138
|
{
|
|
1063
|
-
"kind": "
|
|
1064
|
-
"name": "
|
|
1065
|
-
"privacy": "
|
|
1066
|
-
"
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
"text": "Event"
|
|
1071
|
-
},
|
|
1072
|
-
"description": "The change event from the file input"
|
|
1073
|
-
}
|
|
1074
|
-
],
|
|
1075
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1139
|
+
"kind": "field",
|
|
1140
|
+
"name": "removeItemListeners",
|
|
1141
|
+
"privacy": "private",
|
|
1142
|
+
"inheritedFrom": {
|
|
1143
|
+
"name": "Accordion",
|
|
1144
|
+
"module": "src/accordion/accordion.ts"
|
|
1145
|
+
}
|
|
1076
1146
|
},
|
|
1077
1147
|
{
|
|
1078
|
-
"kind": "
|
|
1079
|
-
"name": "
|
|
1080
|
-
"privacy": "
|
|
1081
|
-
"
|
|
1148
|
+
"kind": "field",
|
|
1149
|
+
"name": "activeItemChange",
|
|
1150
|
+
"privacy": "private",
|
|
1151
|
+
"inheritedFrom": {
|
|
1152
|
+
"name": "Accordion",
|
|
1153
|
+
"module": "src/accordion/accordion.ts"
|
|
1154
|
+
}
|
|
1082
1155
|
},
|
|
1083
1156
|
{
|
|
1084
1157
|
"kind": "method",
|
|
1085
|
-
"name": "
|
|
1086
|
-
"privacy": "
|
|
1087
|
-
"description": "Gets the currently selected file object",
|
|
1158
|
+
"name": "getItemIds",
|
|
1159
|
+
"privacy": "private",
|
|
1088
1160
|
"return": {
|
|
1089
1161
|
"type": {
|
|
1090
|
-
"text": ""
|
|
1162
|
+
"text": "Array<string | null>"
|
|
1091
1163
|
}
|
|
1164
|
+
},
|
|
1165
|
+
"inheritedFrom": {
|
|
1166
|
+
"name": "Accordion",
|
|
1167
|
+
"module": "src/accordion/accordion.ts"
|
|
1092
1168
|
}
|
|
1093
1169
|
},
|
|
1094
1170
|
{
|
|
1095
1171
|
"kind": "method",
|
|
1096
|
-
"name": "
|
|
1097
|
-
"privacy": "
|
|
1098
|
-
"
|
|
1099
|
-
{
|
|
1100
|
-
"
|
|
1101
|
-
"type": {
|
|
1102
|
-
"text": "string"
|
|
1103
|
-
},
|
|
1104
|
-
"description": "The error title"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"name": "message",
|
|
1108
|
-
"type": {
|
|
1109
|
-
"text": "string"
|
|
1110
|
-
},
|
|
1111
|
-
"description": "The error message"
|
|
1172
|
+
"name": "isSingleExpandMode",
|
|
1173
|
+
"privacy": "private",
|
|
1174
|
+
"return": {
|
|
1175
|
+
"type": {
|
|
1176
|
+
"text": "boolean"
|
|
1112
1177
|
}
|
|
1113
|
-
|
|
1114
|
-
"
|
|
1178
|
+
},
|
|
1179
|
+
"inheritedFrom": {
|
|
1180
|
+
"name": "Accordion",
|
|
1181
|
+
"module": "src/accordion/accordion.ts"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "field",
|
|
1186
|
+
"name": "handleItemKeyDown",
|
|
1187
|
+
"privacy": "private",
|
|
1188
|
+
"inheritedFrom": {
|
|
1189
|
+
"name": "Accordion",
|
|
1190
|
+
"module": "src/accordion/accordion.ts"
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"kind": "field",
|
|
1195
|
+
"name": "handleItemFocus",
|
|
1196
|
+
"privacy": "private",
|
|
1197
|
+
"inheritedFrom": {
|
|
1198
|
+
"name": "Accordion",
|
|
1199
|
+
"module": "src/accordion/accordion.ts"
|
|
1200
|
+
}
|
|
1115
1201
|
},
|
|
1116
1202
|
{
|
|
1117
1203
|
"kind": "method",
|
|
1118
|
-
"name": "
|
|
1119
|
-
"privacy": "
|
|
1204
|
+
"name": "adjust",
|
|
1205
|
+
"privacy": "private",
|
|
1120
1206
|
"return": {
|
|
1121
1207
|
"type": {
|
|
1122
1208
|
"text": "void"
|
|
@@ -1124,25 +1210,30 @@
|
|
|
1124
1210
|
},
|
|
1125
1211
|
"parameters": [
|
|
1126
1212
|
{
|
|
1127
|
-
"name": "
|
|
1213
|
+
"name": "adjustment",
|
|
1128
1214
|
"type": {
|
|
1129
|
-
"text": "
|
|
1130
|
-
}
|
|
1131
|
-
"description": "The selected file"
|
|
1215
|
+
"text": "number"
|
|
1216
|
+
}
|
|
1132
1217
|
}
|
|
1133
1218
|
],
|
|
1134
|
-
"
|
|
1219
|
+
"inheritedFrom": {
|
|
1220
|
+
"name": "Accordion",
|
|
1221
|
+
"module": "src/accordion/accordion.ts"
|
|
1222
|
+
}
|
|
1135
1223
|
},
|
|
1136
1224
|
{
|
|
1137
1225
|
"kind": "method",
|
|
1138
|
-
"name": "
|
|
1139
|
-
"privacy": "
|
|
1226
|
+
"name": "focusItem",
|
|
1227
|
+
"privacy": "private",
|
|
1140
1228
|
"return": {
|
|
1141
1229
|
"type": {
|
|
1142
1230
|
"text": "void"
|
|
1143
1231
|
}
|
|
1144
1232
|
},
|
|
1145
|
-
"
|
|
1233
|
+
"inheritedFrom": {
|
|
1234
|
+
"name": "Accordion",
|
|
1235
|
+
"module": "src/accordion/accordion.ts"
|
|
1236
|
+
}
|
|
1146
1237
|
},
|
|
1147
1238
|
{
|
|
1148
1239
|
"kind": "field",
|
|
@@ -1258,149 +1349,76 @@
|
|
|
1258
1349
|
],
|
|
1259
1350
|
"events": [
|
|
1260
1351
|
{
|
|
1261
|
-
"description": "
|
|
1262
|
-
"name": "
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
}
|
|
1268
|
-
],
|
|
1269
|
-
"attributes": [
|
|
1270
|
-
{
|
|
1271
|
-
"name": "label",
|
|
1272
|
-
"type": {
|
|
1273
|
-
"text": "string"
|
|
1274
|
-
},
|
|
1275
|
-
"fieldName": "label"
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"name": "accept",
|
|
1279
|
-
"type": {
|
|
1280
|
-
"text": "string"
|
|
1281
|
-
},
|
|
1282
|
-
"default": "''",
|
|
1283
|
-
"fieldName": "accept"
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"name": "file-size-limit-bytes",
|
|
1287
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1288
|
-
"resolveInitializer": {
|
|
1289
|
-
"module": "src/_common/base-file-component.ts"
|
|
1290
|
-
},
|
|
1291
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1352
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1353
|
+
"name": "change",
|
|
1354
|
+
"inheritedFrom": {
|
|
1355
|
+
"name": "Accordion",
|
|
1356
|
+
"module": "src/accordion/accordion.ts"
|
|
1357
|
+
}
|
|
1292
1358
|
}
|
|
1293
|
-
]
|
|
1294
|
-
|
|
1295
|
-
"name": "FoundationElement",
|
|
1296
|
-
"package": "@microsoft/fast-foundation"
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
],
|
|
1300
|
-
"exports": [
|
|
1301
|
-
{
|
|
1302
|
-
"kind": "js",
|
|
1303
|
-
"name": "BaseFileComponent",
|
|
1304
|
-
"declaration": {
|
|
1305
|
-
"name": "BaseFileComponent",
|
|
1306
|
-
"module": "src/_common/base-file-component.ts"
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
]
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"kind": "javascript-module",
|
|
1313
|
-
"path": "src/_common/field-styles.ts",
|
|
1314
|
-
"declarations": [
|
|
1359
|
+
]
|
|
1360
|
+
},
|
|
1315
1361
|
{
|
|
1316
1362
|
"kind": "variable",
|
|
1317
|
-
"name": "
|
|
1318
|
-
"
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1363
|
+
"name": "foundationAccordionShadowOptions",
|
|
1364
|
+
"type": {
|
|
1365
|
+
"text": "ShadowRootInit"
|
|
1366
|
+
},
|
|
1367
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1368
|
+
},
|
|
1322
1369
|
{
|
|
1323
|
-
"kind": "
|
|
1324
|
-
"name": "
|
|
1325
|
-
"
|
|
1326
|
-
"
|
|
1327
|
-
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
]
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"kind": "javascript-module",
|
|
1334
|
-
"path": "src/_common/icons.ts",
|
|
1335
|
-
"declarations": [
|
|
1370
|
+
"kind": "variable",
|
|
1371
|
+
"name": "defaultAccordionConfig",
|
|
1372
|
+
"type": {
|
|
1373
|
+
"text": "object"
|
|
1374
|
+
},
|
|
1375
|
+
"default": "{}"
|
|
1376
|
+
},
|
|
1336
1377
|
{
|
|
1337
|
-
"kind": "
|
|
1338
|
-
"name": "
|
|
1339
|
-
"
|
|
1340
|
-
|
|
1341
|
-
"name": "slot",
|
|
1342
|
-
"default": "'start'"
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"name": "fill",
|
|
1346
|
-
"default": "'#879ba6'"
|
|
1347
|
-
}
|
|
1348
|
-
]
|
|
1378
|
+
"kind": "variable",
|
|
1379
|
+
"name": "foundationAccordion",
|
|
1380
|
+
"description": "The Foundation Accordion",
|
|
1381
|
+
"privacy": "public"
|
|
1349
1382
|
}
|
|
1350
1383
|
],
|
|
1351
1384
|
"exports": [
|
|
1352
1385
|
{
|
|
1353
1386
|
"kind": "js",
|
|
1354
|
-
"name": "
|
|
1355
|
-
"declaration": {
|
|
1356
|
-
"name": "closeIcon",
|
|
1357
|
-
"module": "src/_common/icons.ts"
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
]
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"kind": "javascript-module",
|
|
1364
|
-
"path": "src/_common/index.ts",
|
|
1365
|
-
"declarations": [],
|
|
1366
|
-
"exports": [
|
|
1367
|
-
{
|
|
1368
|
-
"kind": "js",
|
|
1369
|
-
"name": "*",
|
|
1387
|
+
"name": "Accordion",
|
|
1370
1388
|
"declaration": {
|
|
1371
|
-
"name": "
|
|
1372
|
-
"
|
|
1389
|
+
"name": "Accordion",
|
|
1390
|
+
"module": "src/accordion/accordion.ts"
|
|
1373
1391
|
}
|
|
1374
1392
|
},
|
|
1375
1393
|
{
|
|
1376
1394
|
"kind": "js",
|
|
1377
|
-
"name": "
|
|
1395
|
+
"name": "foundationAccordionShadowOptions",
|
|
1378
1396
|
"declaration": {
|
|
1379
|
-
"name": "
|
|
1380
|
-
"
|
|
1397
|
+
"name": "foundationAccordionShadowOptions",
|
|
1398
|
+
"module": "src/accordion/accordion.ts"
|
|
1381
1399
|
}
|
|
1382
1400
|
},
|
|
1383
1401
|
{
|
|
1384
1402
|
"kind": "js",
|
|
1385
|
-
"name": "
|
|
1403
|
+
"name": "defaultAccordionConfig",
|
|
1386
1404
|
"declaration": {
|
|
1387
|
-
"name": "
|
|
1388
|
-
"
|
|
1405
|
+
"name": "defaultAccordionConfig",
|
|
1406
|
+
"module": "src/accordion/accordion.ts"
|
|
1389
1407
|
}
|
|
1390
1408
|
},
|
|
1391
1409
|
{
|
|
1392
1410
|
"kind": "js",
|
|
1393
|
-
"name": "
|
|
1411
|
+
"name": "foundationAccordion",
|
|
1394
1412
|
"declaration": {
|
|
1395
|
-
"name": "
|
|
1396
|
-
"
|
|
1413
|
+
"name": "foundationAccordion",
|
|
1414
|
+
"module": "src/accordion/accordion.ts"
|
|
1397
1415
|
}
|
|
1398
1416
|
}
|
|
1399
1417
|
]
|
|
1400
1418
|
},
|
|
1401
1419
|
{
|
|
1402
1420
|
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/
|
|
1421
|
+
"path": "src/accordion/index.ts",
|
|
1404
1422
|
"declarations": [],
|
|
1405
1423
|
"exports": [
|
|
1406
1424
|
{
|
|
@@ -1408,7 +1426,7 @@
|
|
|
1408
1426
|
"name": "*",
|
|
1409
1427
|
"declaration": {
|
|
1410
1428
|
"name": "*",
|
|
1411
|
-
"package": "./
|
|
1429
|
+
"package": "./accordion.template"
|
|
1412
1430
|
}
|
|
1413
1431
|
},
|
|
1414
1432
|
{
|
|
@@ -1416,7 +1434,7 @@
|
|
|
1416
1434
|
"name": "*",
|
|
1417
1435
|
"declaration": {
|
|
1418
1436
|
"name": "*",
|
|
1419
|
-
"package": "./
|
|
1437
|
+
"package": "./accordion.styles"
|
|
1420
1438
|
}
|
|
1421
1439
|
},
|
|
1422
1440
|
{
|
|
@@ -1424,18 +1442,41 @@
|
|
|
1424
1442
|
"name": "*",
|
|
1425
1443
|
"declaration": {
|
|
1426
1444
|
"name": "*",
|
|
1427
|
-
"package": "./
|
|
1445
|
+
"package": "./accordion"
|
|
1428
1446
|
}
|
|
1429
1447
|
}
|
|
1430
1448
|
]
|
|
1431
1449
|
},
|
|
1432
1450
|
{
|
|
1433
1451
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/
|
|
1452
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1435
1453
|
"declarations": [
|
|
1436
1454
|
{
|
|
1437
1455
|
"kind": "function",
|
|
1438
|
-
"name": "
|
|
1456
|
+
"name": "actionsMenuBaseStyles",
|
|
1457
|
+
"return": {
|
|
1458
|
+
"type": {
|
|
1459
|
+
"text": "ElementStyles"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"parameters": [
|
|
1463
|
+
{
|
|
1464
|
+
"name": "context",
|
|
1465
|
+
"type": {
|
|
1466
|
+
"text": "ElementDefinitionContext"
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "definition",
|
|
1471
|
+
"type": {
|
|
1472
|
+
"text": "FoundationElementDefinition"
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
]
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "function",
|
|
1479
|
+
"name": "foundationActionsMenuStyles",
|
|
1439
1480
|
"return": {
|
|
1440
1481
|
"type": {
|
|
1441
1482
|
"text": "ElementStyles"
|
|
@@ -1460,156 +1501,269 @@
|
|
|
1460
1501
|
"exports": [
|
|
1461
1502
|
{
|
|
1462
1503
|
"kind": "js",
|
|
1463
|
-
"name": "
|
|
1504
|
+
"name": "actionsMenuBaseStyles",
|
|
1464
1505
|
"declaration": {
|
|
1465
|
-
"name": "
|
|
1466
|
-
"module": "src/
|
|
1506
|
+
"name": "actionsMenuBaseStyles",
|
|
1507
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"kind": "js",
|
|
1512
|
+
"name": "foundationActionsMenuStyles",
|
|
1513
|
+
"declaration": {
|
|
1514
|
+
"name": "foundationActionsMenuStyles",
|
|
1515
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1467
1516
|
}
|
|
1468
1517
|
}
|
|
1469
1518
|
]
|
|
1470
1519
|
},
|
|
1471
1520
|
{
|
|
1472
1521
|
"kind": "javascript-module",
|
|
1473
|
-
"path": "src/
|
|
1522
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1474
1523
|
"declarations": [
|
|
1475
1524
|
{
|
|
1476
1525
|
"kind": "function",
|
|
1477
|
-
"name": "
|
|
1478
|
-
"return": {
|
|
1479
|
-
"type": {
|
|
1480
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1481
|
-
}
|
|
1482
|
-
},
|
|
1526
|
+
"name": "menuTemplate",
|
|
1483
1527
|
"parameters": [
|
|
1484
1528
|
{
|
|
1485
|
-
"name": "
|
|
1529
|
+
"name": "prefix",
|
|
1486
1530
|
"type": {
|
|
1487
|
-
"text": "
|
|
1531
|
+
"text": "string"
|
|
1488
1532
|
}
|
|
1489
|
-
}
|
|
1533
|
+
}
|
|
1534
|
+
]
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"kind": "function",
|
|
1538
|
+
"name": "singleOptionTemplate",
|
|
1539
|
+
"parameters": [
|
|
1490
1540
|
{
|
|
1491
|
-
"name": "
|
|
1541
|
+
"name": "prefix",
|
|
1492
1542
|
"type": {
|
|
1493
|
-
"text": "
|
|
1543
|
+
"text": "string"
|
|
1494
1544
|
}
|
|
1495
1545
|
}
|
|
1496
1546
|
]
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"kind": "variable",
|
|
1550
|
+
"name": "foundationActionsMenuTemplate",
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1553
|
+
},
|
|
1554
|
+
"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`"
|
|
1497
1555
|
}
|
|
1498
1556
|
],
|
|
1499
1557
|
"exports": [
|
|
1500
1558
|
{
|
|
1501
1559
|
"kind": "js",
|
|
1502
|
-
"name": "
|
|
1560
|
+
"name": "menuTemplate",
|
|
1503
1561
|
"declaration": {
|
|
1504
|
-
"name": "
|
|
1505
|
-
"module": "src/
|
|
1562
|
+
"name": "menuTemplate",
|
|
1563
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"kind": "js",
|
|
1568
|
+
"name": "singleOptionTemplate",
|
|
1569
|
+
"declaration": {
|
|
1570
|
+
"name": "singleOptionTemplate",
|
|
1571
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"kind": "js",
|
|
1576
|
+
"name": "foundationActionsMenuTemplate",
|
|
1577
|
+
"declaration": {
|
|
1578
|
+
"name": "foundationActionsMenuTemplate",
|
|
1579
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1506
1580
|
}
|
|
1507
1581
|
}
|
|
1508
1582
|
]
|
|
1509
1583
|
},
|
|
1510
1584
|
{
|
|
1511
1585
|
"kind": "javascript-module",
|
|
1512
|
-
"path": "src/
|
|
1586
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1513
1587
|
"declarations": [
|
|
1514
1588
|
{
|
|
1515
1589
|
"kind": "class",
|
|
1516
1590
|
"description": "",
|
|
1517
|
-
"name": "
|
|
1518
|
-
"
|
|
1519
|
-
"name": "FASTAccordionItem",
|
|
1520
|
-
"package": "@microsoft/fast-components"
|
|
1521
|
-
},
|
|
1522
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1523
|
-
"customElement": true,
|
|
1524
|
-
"attributes": [
|
|
1591
|
+
"name": "ActionsMenu",
|
|
1592
|
+
"members": [
|
|
1525
1593
|
{
|
|
1526
|
-
"
|
|
1594
|
+
"kind": "field",
|
|
1595
|
+
"name": "actions",
|
|
1527
1596
|
"type": {
|
|
1528
|
-
"text": "
|
|
1597
|
+
"text": "ActionMenuItem[]"
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "field",
|
|
1602
|
+
"name": "isVertical",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "boolean"
|
|
1529
1605
|
},
|
|
1530
|
-
"default": "
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
"
|
|
1534
|
-
|
|
1535
|
-
|
|
1606
|
+
"default": "false"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"kind": "field",
|
|
1610
|
+
"name": "addDefaultActions",
|
|
1611
|
+
"type": {
|
|
1612
|
+
"text": "boolean"
|
|
1613
|
+
},
|
|
1614
|
+
"default": "true"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "field",
|
|
1618
|
+
"name": "autoCloseOnAction",
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "boolean"
|
|
1621
|
+
},
|
|
1622
|
+
"default": "true"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"kind": "field",
|
|
1626
|
+
"name": "classNames",
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "string"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "field",
|
|
1633
|
+
"name": "definition",
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": "any"
|
|
1536
1636
|
}
|
|
1537
1637
|
},
|
|
1538
1638
|
{
|
|
1639
|
+
"kind": "field",
|
|
1640
|
+
"name": "name",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "string"
|
|
1643
|
+
},
|
|
1644
|
+
"default": "'Actions'"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"kind": "field",
|
|
1648
|
+
"name": "open",
|
|
1539
1649
|
"type": {
|
|
1540
1650
|
"text": "boolean"
|
|
1541
1651
|
},
|
|
1542
|
-
"default": "false"
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
"
|
|
1546
|
-
|
|
1547
|
-
|
|
1652
|
+
"default": "false"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"kind": "field",
|
|
1656
|
+
"name": "buttonAppearance",
|
|
1657
|
+
"type": {
|
|
1658
|
+
"text": "string"
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "field",
|
|
1663
|
+
"name": "hideDisabled",
|
|
1664
|
+
"type": {
|
|
1665
|
+
"text": "boolean"
|
|
1666
|
+
},
|
|
1667
|
+
"default": "false"
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "field",
|
|
1671
|
+
"name": "hideMenuSingleOption",
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "boolean"
|
|
1674
|
+
},
|
|
1675
|
+
"default": "false"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"kind": "field",
|
|
1679
|
+
"name": "singleOption",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "ActionMenuItem"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "field",
|
|
1686
|
+
"name": "actionsMenu",
|
|
1687
|
+
"type": {
|
|
1688
|
+
"text": "HTMLElement"
|
|
1548
1689
|
}
|
|
1549
1690
|
},
|
|
1550
|
-
{
|
|
1551
|
-
"
|
|
1552
|
-
"
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "method",
|
|
1693
|
+
"name": "definitionChanged",
|
|
1694
|
+
"privacy": "protected",
|
|
1695
|
+
"parameters": [
|
|
1696
|
+
{
|
|
1697
|
+
"name": "oldValue",
|
|
1698
|
+
"type": {
|
|
1699
|
+
"text": "any"
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "newValue",
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "any"
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
]
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"kind": "method",
|
|
1712
|
+
"name": "openChanged",
|
|
1713
|
+
"privacy": "protected"
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"kind": "method",
|
|
1717
|
+
"name": "toggleActionsMenuVisibility"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"kind": "method",
|
|
1721
|
+
"name": "onActionMenuItemClick",
|
|
1722
|
+
"parameters": [
|
|
1723
|
+
{
|
|
1724
|
+
"name": "callback",
|
|
1725
|
+
"type": {
|
|
1726
|
+
"text": "(rowData) => void | any"
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
]
|
|
1730
|
+
},
|
|
1564
1731
|
{
|
|
1565
1732
|
"kind": "field",
|
|
1566
|
-
"name": "
|
|
1733
|
+
"name": "allActions",
|
|
1567
1734
|
"type": {
|
|
1568
|
-
"text": "
|
|
1735
|
+
"text": "ActionMenuItem[]"
|
|
1569
1736
|
},
|
|
1570
|
-
"
|
|
1571
|
-
"default": "2",
|
|
1572
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1573
|
-
"inheritedFrom": {
|
|
1574
|
-
"name": "AccordionItem",
|
|
1575
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1576
|
-
}
|
|
1737
|
+
"readonly": true
|
|
1577
1738
|
},
|
|
1578
1739
|
{
|
|
1579
1740
|
"kind": "field",
|
|
1580
|
-
"name": "
|
|
1581
|
-
"
|
|
1582
|
-
"text": "boolean"
|
|
1583
|
-
},
|
|
1584
|
-
"privacy": "public",
|
|
1585
|
-
"default": "false",
|
|
1586
|
-
"description": "Expands or collapses the item.",
|
|
1587
|
-
"inheritedFrom": {
|
|
1588
|
-
"name": "AccordionItem",
|
|
1589
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1590
|
-
}
|
|
1741
|
+
"name": "rowData",
|
|
1742
|
+
"readonly": true
|
|
1591
1743
|
},
|
|
1592
1744
|
{
|
|
1593
|
-
"kind": "
|
|
1594
|
-
"name": "
|
|
1595
|
-
"
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
}
|
|
1745
|
+
"kind": "method",
|
|
1746
|
+
"name": "getLabel",
|
|
1747
|
+
"parameters": [
|
|
1748
|
+
{
|
|
1749
|
+
"name": "name",
|
|
1750
|
+
"type": {
|
|
1751
|
+
"text": "string | ((rowData: any) => string)"
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
]
|
|
1604
1755
|
},
|
|
1605
1756
|
{
|
|
1606
|
-
"kind": "
|
|
1607
|
-
"name": "
|
|
1608
|
-
"
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1757
|
+
"kind": "method",
|
|
1758
|
+
"name": "getTemplate",
|
|
1759
|
+
"parameters": [
|
|
1760
|
+
{
|
|
1761
|
+
"name": "prefix",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "string"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
]
|
|
1613
1767
|
},
|
|
1614
1768
|
{
|
|
1615
1769
|
"kind": "field",
|
|
@@ -1723,78 +1877,107 @@
|
|
|
1723
1877
|
}
|
|
1724
1878
|
}
|
|
1725
1879
|
],
|
|
1726
|
-
"
|
|
1880
|
+
"attributes": [
|
|
1727
1881
|
{
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1882
|
+
"name": "is-vertical",
|
|
1883
|
+
"type": {
|
|
1884
|
+
"text": "boolean"
|
|
1885
|
+
},
|
|
1886
|
+
"default": "false",
|
|
1887
|
+
"fieldName": "isVertical"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "add-default-actions",
|
|
1891
|
+
"type": {
|
|
1892
|
+
"text": "boolean"
|
|
1893
|
+
},
|
|
1894
|
+
"default": "true",
|
|
1895
|
+
"fieldName": "addDefaultActions"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"name": "auto-close-on-action",
|
|
1899
|
+
"type": {
|
|
1900
|
+
"text": "boolean"
|
|
1901
|
+
},
|
|
1902
|
+
"default": "true",
|
|
1903
|
+
"fieldName": "autoCloseOnAction"
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"name": "name",
|
|
1907
|
+
"type": {
|
|
1908
|
+
"text": "string"
|
|
1909
|
+
},
|
|
1910
|
+
"default": "'Actions'",
|
|
1911
|
+
"fieldName": "name"
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "open",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "boolean"
|
|
1917
|
+
},
|
|
1918
|
+
"default": "false",
|
|
1919
|
+
"fieldName": "open"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "buttonAppearance",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"text": "string"
|
|
1925
|
+
},
|
|
1926
|
+
"fieldName": "buttonAppearance"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"name": "hide-disabled",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "boolean"
|
|
1932
|
+
},
|
|
1933
|
+
"default": "false",
|
|
1934
|
+
"fieldName": "hideDisabled"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "hide-menu-single-option",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "boolean"
|
|
1940
|
+
},
|
|
1941
|
+
"default": "false",
|
|
1942
|
+
"fieldName": "hideMenuSingleOption"
|
|
1734
1943
|
}
|
|
1735
|
-
]
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1740
|
-
"type": {
|
|
1741
|
-
"text": "ShadowRootInit"
|
|
1742
|
-
},
|
|
1743
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "variable",
|
|
1747
|
-
"name": "defaultAccordionItemConfig",
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "object"
|
|
1944
|
+
],
|
|
1945
|
+
"superclass": {
|
|
1946
|
+
"name": "FoundationElement",
|
|
1947
|
+
"package": "@microsoft/fast-foundation"
|
|
1750
1948
|
},
|
|
1751
|
-
"
|
|
1949
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1950
|
+
"customElement": true
|
|
1752
1951
|
},
|
|
1753
1952
|
{
|
|
1754
1953
|
"kind": "variable",
|
|
1755
|
-
"name": "
|
|
1756
|
-
"description": "The Foundation
|
|
1954
|
+
"name": "foundationActionsMenu",
|
|
1955
|
+
"description": "The Foundation Actions Menu",
|
|
1757
1956
|
"privacy": "public"
|
|
1758
1957
|
}
|
|
1759
1958
|
],
|
|
1760
1959
|
"exports": [
|
|
1761
1960
|
{
|
|
1762
1961
|
"kind": "js",
|
|
1763
|
-
"name": "
|
|
1764
|
-
"declaration": {
|
|
1765
|
-
"name": "AccordionItem",
|
|
1766
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1767
|
-
}
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "js",
|
|
1771
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1772
|
-
"declaration": {
|
|
1773
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1774
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1775
|
-
}
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "js",
|
|
1779
|
-
"name": "defaultAccordionItemConfig",
|
|
1962
|
+
"name": "ActionsMenu",
|
|
1780
1963
|
"declaration": {
|
|
1781
|
-
"name": "
|
|
1782
|
-
"module": "src/
|
|
1964
|
+
"name": "ActionsMenu",
|
|
1965
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1783
1966
|
}
|
|
1784
1967
|
},
|
|
1785
1968
|
{
|
|
1786
1969
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1970
|
+
"name": "foundationActionsMenu",
|
|
1788
1971
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/
|
|
1972
|
+
"name": "foundationActionsMenu",
|
|
1973
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1791
1974
|
}
|
|
1792
1975
|
}
|
|
1793
1976
|
]
|
|
1794
1977
|
},
|
|
1795
1978
|
{
|
|
1796
1979
|
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/
|
|
1980
|
+
"path": "src/actions-menu/index.ts",
|
|
1798
1981
|
"declarations": [],
|
|
1799
1982
|
"exports": [
|
|
1800
1983
|
{
|
|
@@ -1802,89 +1985,67 @@
|
|
|
1802
1985
|
"name": "*",
|
|
1803
1986
|
"declaration": {
|
|
1804
1987
|
"name": "*",
|
|
1805
|
-
"package": "./
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "*",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "*",
|
|
1813
|
-
"package": "./accordion-item.styles"
|
|
1988
|
+
"package": "./actions-menu.styles"
|
|
1814
1989
|
}
|
|
1815
1990
|
},
|
|
1816
1991
|
{
|
|
1817
1992
|
"kind": "js",
|
|
1818
|
-
"name": "*",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "*",
|
|
1821
|
-
"package": "./accordion-item"
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
]
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1829
|
-
"declarations": [
|
|
1830
|
-
{
|
|
1831
|
-
"kind": "function",
|
|
1832
|
-
"name": "foundationAccordionStyles",
|
|
1833
|
-
"return": {
|
|
1834
|
-
"type": {
|
|
1835
|
-
"text": "ElementStyles"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
"parameters": [
|
|
1839
|
-
{
|
|
1840
|
-
"name": "context",
|
|
1841
|
-
"type": {
|
|
1842
|
-
"text": "ElementDefinitionContext"
|
|
1843
|
-
}
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"name": "definition",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "FoundationElementDefinition"
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
]
|
|
1852
|
-
}
|
|
1853
|
-
],
|
|
1854
|
-
"exports": [
|
|
1855
|
-
{
|
|
1856
|
-
"kind": "js",
|
|
1857
|
-
"name": "foundationAccordionStyles",
|
|
1993
|
+
"name": "*",
|
|
1858
1994
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"
|
|
1995
|
+
"name": "*",
|
|
1996
|
+
"package": "./actions-menu.template"
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "js",
|
|
2001
|
+
"name": "*",
|
|
2002
|
+
"declaration": {
|
|
2003
|
+
"name": "*",
|
|
2004
|
+
"package": "./actions-menu"
|
|
1861
2005
|
}
|
|
1862
2006
|
}
|
|
1863
2007
|
]
|
|
1864
2008
|
},
|
|
1865
2009
|
{
|
|
1866
2010
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/
|
|
2011
|
+
"path": "src/_common/affix-mixin.ts",
|
|
1868
2012
|
"declarations": [
|
|
1869
2013
|
{
|
|
1870
|
-
"kind": "
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
|
|
1874
|
-
"text": "ViewTemplate<Accordion>"
|
|
1875
|
-
}
|
|
1876
|
-
},
|
|
1877
|
-
"parameters": [
|
|
2014
|
+
"kind": "mixin",
|
|
2015
|
+
"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.",
|
|
2016
|
+
"name": "AffixMixin",
|
|
2017
|
+
"members": [
|
|
1878
2018
|
{
|
|
1879
|
-
"
|
|
2019
|
+
"kind": "field",
|
|
2020
|
+
"name": "prefix",
|
|
1880
2021
|
"type": {
|
|
1881
|
-
"text": "
|
|
1882
|
-
}
|
|
2022
|
+
"text": "string"
|
|
2023
|
+
},
|
|
2024
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1883
2025
|
},
|
|
1884
2026
|
{
|
|
1885
|
-
"
|
|
2027
|
+
"kind": "field",
|
|
2028
|
+
"name": "suffix",
|
|
1886
2029
|
"type": {
|
|
1887
|
-
"text": "
|
|
2030
|
+
"text": "string"
|
|
2031
|
+
},
|
|
2032
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"kind": "field",
|
|
2036
|
+
"name": "hideAffixFromScreenReader",
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "boolean"
|
|
2039
|
+
},
|
|
2040
|
+
"default": "false",
|
|
2041
|
+
"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."
|
|
2042
|
+
}
|
|
2043
|
+
],
|
|
2044
|
+
"parameters": [
|
|
2045
|
+
{
|
|
2046
|
+
"name": "Base",
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "TBase"
|
|
1888
2049
|
}
|
|
1889
2050
|
}
|
|
1890
2051
|
]
|
|
@@ -1893,207 +2054,143 @@
|
|
|
1893
2054
|
"exports": [
|
|
1894
2055
|
{
|
|
1895
2056
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
2057
|
+
"name": "AffixMixin",
|
|
1897
2058
|
"declaration": {
|
|
1898
|
-
"name": "
|
|
1899
|
-
"module": "src/
|
|
2059
|
+
"name": "AffixMixin",
|
|
2060
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1900
2061
|
}
|
|
1901
2062
|
}
|
|
1902
2063
|
]
|
|
1903
2064
|
},
|
|
1904
2065
|
{
|
|
1905
2066
|
"kind": "javascript-module",
|
|
1906
|
-
"path": "src/
|
|
2067
|
+
"path": "src/_common/base-file-component.ts",
|
|
1907
2068
|
"declarations": [
|
|
1908
2069
|
{
|
|
1909
2070
|
"kind": "class",
|
|
1910
|
-
"description": "",
|
|
1911
|
-
"name": "
|
|
1912
|
-
"superclass": {
|
|
1913
|
-
"name": "FASTAccordion",
|
|
1914
|
-
"package": "@microsoft/fast-foundation"
|
|
1915
|
-
},
|
|
1916
|
-
"tagName": "%%prefix%%-accordion",
|
|
1917
|
-
"customElement": true,
|
|
1918
|
-
"attributes": [
|
|
1919
|
-
{
|
|
1920
|
-
"name": "expand-mode",
|
|
1921
|
-
"type": {
|
|
1922
|
-
"text": "AccordionExpandMode"
|
|
1923
|
-
},
|
|
1924
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
-
"fieldName": "expandmode",
|
|
1926
|
-
"inheritedFrom": {
|
|
1927
|
-
"name": "Accordion",
|
|
1928
|
-
"module": "src/accordion/accordion.ts"
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
],
|
|
2071
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
2072
|
+
"name": "BaseFileComponent",
|
|
1932
2073
|
"members": [
|
|
1933
2074
|
{
|
|
1934
2075
|
"kind": "field",
|
|
1935
|
-
"name": "
|
|
2076
|
+
"name": "fileInput",
|
|
1936
2077
|
"type": {
|
|
1937
|
-
"text": "
|
|
2078
|
+
"text": "HTMLInputElement"
|
|
1938
2079
|
},
|
|
1939
|
-
"privacy": "public"
|
|
1940
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
-
"inheritedFrom": {
|
|
1942
|
-
"name": "Accordion",
|
|
1943
|
-
"module": "src/accordion/accordion.ts"
|
|
1944
|
-
}
|
|
2080
|
+
"privacy": "public"
|
|
1945
2081
|
},
|
|
1946
2082
|
{
|
|
1947
2083
|
"kind": "field",
|
|
1948
|
-
"name": "
|
|
2084
|
+
"name": "selectedFile",
|
|
1949
2085
|
"type": {
|
|
1950
|
-
"text": "
|
|
2086
|
+
"text": "File | null"
|
|
1951
2087
|
},
|
|
1952
|
-
"privacy": "
|
|
1953
|
-
"
|
|
1954
|
-
"name": "Accordion",
|
|
1955
|
-
"module": "src/accordion/accordion.ts"
|
|
1956
|
-
}
|
|
2088
|
+
"privacy": "protected",
|
|
2089
|
+
"default": "null"
|
|
1957
2090
|
},
|
|
1958
2091
|
{
|
|
1959
2092
|
"kind": "field",
|
|
1960
|
-
"name": "
|
|
2093
|
+
"name": "label",
|
|
1961
2094
|
"type": {
|
|
1962
|
-
"text": "
|
|
1963
|
-
},
|
|
1964
|
-
"privacy": "private",
|
|
1965
|
-
"default": "0",
|
|
1966
|
-
"inheritedFrom": {
|
|
1967
|
-
"name": "Accordion",
|
|
1968
|
-
"module": "src/accordion/accordion.ts"
|
|
2095
|
+
"text": "string"
|
|
1969
2096
|
}
|
|
1970
2097
|
},
|
|
1971
2098
|
{
|
|
1972
2099
|
"kind": "field",
|
|
1973
|
-
"name": "
|
|
2100
|
+
"name": "accept",
|
|
1974
2101
|
"type": {
|
|
1975
|
-
"text": "
|
|
2102
|
+
"text": "string"
|
|
1976
2103
|
},
|
|
1977
|
-
"
|
|
1978
|
-
"inheritedFrom": {
|
|
1979
|
-
"name": "Accordion",
|
|
1980
|
-
"module": "src/accordion/accordion.ts"
|
|
1981
|
-
}
|
|
2104
|
+
"default": "''"
|
|
1982
2105
|
},
|
|
1983
2106
|
{
|
|
1984
2107
|
"kind": "field",
|
|
1985
|
-
"name": "
|
|
1986
|
-
"
|
|
1987
|
-
"
|
|
1988
|
-
"
|
|
1989
|
-
"module": "src/accordion/accordion.ts"
|
|
1990
|
-
}
|
|
1991
|
-
},
|
|
1992
|
-
{
|
|
1993
|
-
"kind": "method",
|
|
1994
|
-
"name": "findExpandedItem",
|
|
1995
|
-
"privacy": "private",
|
|
1996
|
-
"return": {
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "AccordionItem | null"
|
|
1999
|
-
}
|
|
2000
|
-
},
|
|
2001
|
-
"inheritedFrom": {
|
|
2002
|
-
"name": "Accordion",
|
|
2003
|
-
"module": "src/accordion/accordion.ts"
|
|
2108
|
+
"name": "fileSizeLimitBytes",
|
|
2109
|
+
"default": "10_485_760",
|
|
2110
|
+
"type": {
|
|
2111
|
+
"text": "number"
|
|
2004
2112
|
}
|
|
2005
2113
|
},
|
|
2006
2114
|
{
|
|
2007
2115
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
"name": "Accordion",
|
|
2012
|
-
"module": "src/accordion/accordion.ts"
|
|
2013
|
-
}
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"kind": "method",
|
|
2017
|
-
"name": "resetItems",
|
|
2018
|
-
"privacy": "private",
|
|
2019
|
-
"return": {
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "void"
|
|
2022
|
-
}
|
|
2116
|
+
"name": "fileName",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "string"
|
|
2023
2119
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"name": "Accordion",
|
|
2026
|
-
"module": "src/accordion/accordion.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "field",
|
|
2031
|
-
"name": "removeItemListeners",
|
|
2032
|
-
"privacy": "private",
|
|
2033
|
-
"inheritedFrom": {
|
|
2034
|
-
"name": "Accordion",
|
|
2035
|
-
"module": "src/accordion/accordion.ts"
|
|
2036
|
-
}
|
|
2120
|
+
"default": "''"
|
|
2037
2121
|
},
|
|
2038
2122
|
{
|
|
2039
2123
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
}
|
|
2124
|
+
"name": "isProcessing",
|
|
2125
|
+
"type": {
|
|
2126
|
+
"text": "boolean"
|
|
2127
|
+
},
|
|
2128
|
+
"default": "false"
|
|
2046
2129
|
},
|
|
2047
2130
|
{
|
|
2048
2131
|
"kind": "method",
|
|
2049
|
-
"name": "
|
|
2050
|
-
"privacy": "
|
|
2051
|
-
"
|
|
2052
|
-
"type": {
|
|
2053
|
-
"text": "Array<string | null>"
|
|
2054
|
-
}
|
|
2055
|
-
},
|
|
2056
|
-
"inheritedFrom": {
|
|
2057
|
-
"name": "Accordion",
|
|
2058
|
-
"module": "src/accordion/accordion.ts"
|
|
2059
|
-
}
|
|
2132
|
+
"name": "handleClick",
|
|
2133
|
+
"privacy": "public",
|
|
2134
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
2060
2135
|
},
|
|
2061
2136
|
{
|
|
2062
2137
|
"kind": "method",
|
|
2063
|
-
"name": "
|
|
2064
|
-
"privacy": "
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2067
|
-
"
|
|
2138
|
+
"name": "onInputChange",
|
|
2139
|
+
"privacy": "public",
|
|
2140
|
+
"parameters": [
|
|
2141
|
+
{
|
|
2142
|
+
"name": "e",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "Event"
|
|
2145
|
+
},
|
|
2146
|
+
"description": "The change event from the file input"
|
|
2068
2147
|
}
|
|
2069
|
-
|
|
2070
|
-
"
|
|
2071
|
-
"name": "Accordion",
|
|
2072
|
-
"module": "src/accordion/accordion.ts"
|
|
2073
|
-
}
|
|
2148
|
+
],
|
|
2149
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
2074
2150
|
},
|
|
2075
2151
|
{
|
|
2076
|
-
"kind": "
|
|
2077
|
-
"name": "
|
|
2078
|
-
"privacy": "
|
|
2079
|
-
"
|
|
2080
|
-
"name": "Accordion",
|
|
2081
|
-
"module": "src/accordion/accordion.ts"
|
|
2082
|
-
}
|
|
2152
|
+
"kind": "method",
|
|
2153
|
+
"name": "clearSelection",
|
|
2154
|
+
"privacy": "public",
|
|
2155
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
2083
2156
|
},
|
|
2084
2157
|
{
|
|
2085
|
-
"kind": "
|
|
2086
|
-
"name": "
|
|
2087
|
-
"privacy": "
|
|
2088
|
-
"
|
|
2089
|
-
|
|
2090
|
-
"
|
|
2158
|
+
"kind": "method",
|
|
2159
|
+
"name": "getSelectedFile",
|
|
2160
|
+
"privacy": "public",
|
|
2161
|
+
"description": "Gets the currently selected file object",
|
|
2162
|
+
"return": {
|
|
2163
|
+
"type": {
|
|
2164
|
+
"text": ""
|
|
2165
|
+
}
|
|
2091
2166
|
}
|
|
2092
2167
|
},
|
|
2093
2168
|
{
|
|
2094
2169
|
"kind": "method",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"privacy": "
|
|
2170
|
+
"name": "showError",
|
|
2171
|
+
"privacy": "protected",
|
|
2172
|
+
"parameters": [
|
|
2173
|
+
{
|
|
2174
|
+
"name": "title",
|
|
2175
|
+
"type": {
|
|
2176
|
+
"text": "string"
|
|
2177
|
+
},
|
|
2178
|
+
"description": "The error title"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"name": "message",
|
|
2182
|
+
"type": {
|
|
2183
|
+
"text": "string"
|
|
2184
|
+
},
|
|
2185
|
+
"description": "The error message"
|
|
2186
|
+
}
|
|
2187
|
+
],
|
|
2188
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"kind": "method",
|
|
2192
|
+
"name": "onFileSelected",
|
|
2193
|
+
"privacy": "protected",
|
|
2097
2194
|
"return": {
|
|
2098
2195
|
"type": {
|
|
2099
2196
|
"text": "void"
|
|
@@ -2101,30 +2198,25 @@
|
|
|
2101
2198
|
},
|
|
2102
2199
|
"parameters": [
|
|
2103
2200
|
{
|
|
2104
|
-
"name": "
|
|
2201
|
+
"name": "files",
|
|
2105
2202
|
"type": {
|
|
2106
|
-
"text": "
|
|
2107
|
-
}
|
|
2203
|
+
"text": "File[]"
|
|
2204
|
+
},
|
|
2205
|
+
"description": "The selected file"
|
|
2108
2206
|
}
|
|
2109
2207
|
],
|
|
2110
|
-
"
|
|
2111
|
-
"name": "Accordion",
|
|
2112
|
-
"module": "src/accordion/accordion.ts"
|
|
2113
|
-
}
|
|
2208
|
+
"description": "Abstract method called when a file is selected"
|
|
2114
2209
|
},
|
|
2115
2210
|
{
|
|
2116
2211
|
"kind": "method",
|
|
2117
|
-
"name": "
|
|
2118
|
-
"privacy": "
|
|
2212
|
+
"name": "onFileCleared",
|
|
2213
|
+
"privacy": "protected",
|
|
2119
2214
|
"return": {
|
|
2120
2215
|
"type": {
|
|
2121
2216
|
"text": "void"
|
|
2122
2217
|
}
|
|
2123
2218
|
},
|
|
2124
|
-
"
|
|
2125
|
-
"name": "Accordion",
|
|
2126
|
-
"module": "src/accordion/accordion.ts"
|
|
2127
|
-
}
|
|
2219
|
+
"description": "Abstract method called when file selection is cleared"
|
|
2128
2220
|
},
|
|
2129
2221
|
{
|
|
2130
2222
|
"kind": "field",
|
|
@@ -2240,76 +2332,110 @@
|
|
|
2240
2332
|
],
|
|
2241
2333
|
"events": [
|
|
2242
2334
|
{
|
|
2243
|
-
"description": "
|
|
2244
|
-
"name": "
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2335
|
+
"description": "Fired when file size validation fails",
|
|
2336
|
+
"name": "error"
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"description": "Fired when selection is cleared",
|
|
2340
|
+
"name": "clear"
|
|
2249
2341
|
}
|
|
2250
|
-
]
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2342
|
+
],
|
|
2343
|
+
"attributes": [
|
|
2344
|
+
{
|
|
2345
|
+
"name": "label",
|
|
2346
|
+
"type": {
|
|
2347
|
+
"text": "string"
|
|
2348
|
+
},
|
|
2349
|
+
"fieldName": "label"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"name": "accept",
|
|
2353
|
+
"type": {
|
|
2354
|
+
"text": "string"
|
|
2355
|
+
},
|
|
2356
|
+
"default": "''",
|
|
2357
|
+
"fieldName": "accept"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"name": "file-size-limit-bytes",
|
|
2361
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
2362
|
+
"resolveInitializer": {
|
|
2363
|
+
"module": "src/_common/base-file-component.ts"
|
|
2364
|
+
},
|
|
2365
|
+
"fieldName": "fileSizeLimitBytes"
|
|
2366
|
+
}
|
|
2367
|
+
],
|
|
2368
|
+
"superclass": {
|
|
2369
|
+
"name": "FoundationElement",
|
|
2370
|
+
"package": "@microsoft/fast-foundation"
|
|
2371
|
+
}
|
|
2273
2372
|
}
|
|
2274
2373
|
],
|
|
2275
2374
|
"exports": [
|
|
2276
2375
|
{
|
|
2277
2376
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2377
|
+
"name": "BaseFileComponent",
|
|
2279
2378
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/
|
|
2379
|
+
"name": "BaseFileComponent",
|
|
2380
|
+
"module": "src/_common/base-file-component.ts"
|
|
2282
2381
|
}
|
|
2283
|
-
}
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "javascript-module",
|
|
2387
|
+
"path": "src/_common/field-styles.ts",
|
|
2388
|
+
"declarations": [
|
|
2284
2389
|
{
|
|
2285
|
-
"kind": "
|
|
2286
|
-
"name": "
|
|
2287
|
-
"
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
},
|
|
2390
|
+
"kind": "variable",
|
|
2391
|
+
"name": "sharedFieldStyles",
|
|
2392
|
+
"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`"
|
|
2393
|
+
}
|
|
2394
|
+
],
|
|
2395
|
+
"exports": [
|
|
2292
2396
|
{
|
|
2293
2397
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2398
|
+
"name": "sharedFieldStyles",
|
|
2295
2399
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/
|
|
2400
|
+
"name": "sharedFieldStyles",
|
|
2401
|
+
"module": "src/_common/field-styles.ts"
|
|
2298
2402
|
}
|
|
2299
|
-
}
|
|
2403
|
+
}
|
|
2404
|
+
]
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"kind": "javascript-module",
|
|
2408
|
+
"path": "src/_common/icons.ts",
|
|
2409
|
+
"declarations": [
|
|
2410
|
+
{
|
|
2411
|
+
"kind": "function",
|
|
2412
|
+
"name": "closeIcon",
|
|
2413
|
+
"parameters": [
|
|
2414
|
+
{
|
|
2415
|
+
"name": "slot",
|
|
2416
|
+
"default": "'start'"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "fill",
|
|
2420
|
+
"default": "'#879ba6'"
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
}
|
|
2424
|
+
],
|
|
2425
|
+
"exports": [
|
|
2300
2426
|
{
|
|
2301
2427
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2428
|
+
"name": "closeIcon",
|
|
2303
2429
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/
|
|
2430
|
+
"name": "closeIcon",
|
|
2431
|
+
"module": "src/_common/icons.ts"
|
|
2306
2432
|
}
|
|
2307
2433
|
}
|
|
2308
2434
|
]
|
|
2309
2435
|
},
|
|
2310
2436
|
{
|
|
2311
2437
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/
|
|
2438
|
+
"path": "src/_common/index.ts",
|
|
2313
2439
|
"declarations": [],
|
|
2314
2440
|
"exports": [
|
|
2315
2441
|
{
|
|
@@ -2317,7 +2443,7 @@
|
|
|
2317
2443
|
"name": "*",
|
|
2318
2444
|
"declaration": {
|
|
2319
2445
|
"name": "*",
|
|
2320
|
-
"package": "./
|
|
2446
|
+
"package": "./affix-mixin"
|
|
2321
2447
|
}
|
|
2322
2448
|
},
|
|
2323
2449
|
{
|
|
@@ -2325,7 +2451,7 @@
|
|
|
2325
2451
|
"name": "*",
|
|
2326
2452
|
"declaration": {
|
|
2327
2453
|
"name": "*",
|
|
2328
|
-
"package": "./
|
|
2454
|
+
"package": "./base-file-component"
|
|
2329
2455
|
}
|
|
2330
2456
|
},
|
|
2331
2457
|
{
|
|
@@ -2333,210 +2459,161 @@
|
|
|
2333
2459
|
"name": "*",
|
|
2334
2460
|
"declaration": {
|
|
2335
2461
|
"name": "*",
|
|
2336
|
-
"package": "./
|
|
2462
|
+
"package": "./field-styles"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"kind": "js",
|
|
2467
|
+
"name": "*",
|
|
2468
|
+
"declaration": {
|
|
2469
|
+
"name": "*",
|
|
2470
|
+
"package": "./icons"
|
|
2337
2471
|
}
|
|
2338
2472
|
}
|
|
2339
2473
|
]
|
|
2340
2474
|
},
|
|
2341
2475
|
{
|
|
2342
2476
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2344
|
-
"declarations": [
|
|
2477
|
+
"path": "src/_config/index.ts",
|
|
2478
|
+
"declarations": [],
|
|
2479
|
+
"exports": [
|
|
2345
2480
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2481
|
+
"kind": "js",
|
|
2482
|
+
"name": "*",
|
|
2483
|
+
"declaration": {
|
|
2484
|
+
"name": "*",
|
|
2485
|
+
"package": "./styles"
|
|
2486
|
+
}
|
|
2367
2487
|
},
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "function",
|
|
2370
|
-
"name": "foundationActionsMenuStyles",
|
|
2371
|
-
"return": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "ElementStyles"
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "context",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "ElementDefinitionContext"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "definition",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "FoundationElementDefinition"
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
]
|
|
2390
|
-
}
|
|
2391
|
-
],
|
|
2392
|
-
"exports": [
|
|
2393
2488
|
{
|
|
2394
2489
|
"kind": "js",
|
|
2395
|
-
"name": "
|
|
2490
|
+
"name": "*",
|
|
2396
2491
|
"declaration": {
|
|
2397
|
-
"name": "
|
|
2398
|
-
"
|
|
2492
|
+
"name": "*",
|
|
2493
|
+
"package": "./tokens"
|
|
2399
2494
|
}
|
|
2400
2495
|
},
|
|
2401
2496
|
{
|
|
2402
2497
|
"kind": "js",
|
|
2403
|
-
"name": "
|
|
2498
|
+
"name": "*",
|
|
2404
2499
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"
|
|
2500
|
+
"name": "*",
|
|
2501
|
+
"package": "./values"
|
|
2407
2502
|
}
|
|
2408
2503
|
}
|
|
2409
2504
|
]
|
|
2410
2505
|
},
|
|
2411
2506
|
{
|
|
2412
2507
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2508
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2414
2509
|
"declarations": [
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "function",
|
|
2417
|
-
"name": "menuTemplate",
|
|
2418
|
-
"parameters": [
|
|
2419
|
-
{
|
|
2420
|
-
"name": "prefix",
|
|
2421
|
-
"type": {
|
|
2422
|
-
"text": "string"
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
]
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "function",
|
|
2429
|
-
"name": "singleOptionTemplate",
|
|
2430
|
-
"parameters": [
|
|
2431
|
-
{
|
|
2432
|
-
"name": "prefix",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
]
|
|
2438
|
-
},
|
|
2439
2510
|
{
|
|
2440
2511
|
"kind": "variable",
|
|
2441
|
-
"name": "
|
|
2442
|
-
"
|
|
2443
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2444
|
-
},
|
|
2445
|
-
"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`"
|
|
2512
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2513
|
+
"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`"
|
|
2446
2514
|
}
|
|
2447
2515
|
],
|
|
2448
2516
|
"exports": [
|
|
2449
2517
|
{
|
|
2450
2518
|
"kind": "js",
|
|
2451
|
-
"name": "
|
|
2519
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2452
2520
|
"declaration": {
|
|
2453
|
-
"name": "
|
|
2454
|
-
"module": "src/
|
|
2521
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2522
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2455
2523
|
}
|
|
2456
|
-
}
|
|
2524
|
+
}
|
|
2525
|
+
]
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"kind": "javascript-module",
|
|
2529
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2530
|
+
"declarations": [
|
|
2457
2531
|
{
|
|
2458
|
-
"kind": "
|
|
2459
|
-
"name": "
|
|
2460
|
-
"
|
|
2461
|
-
"
|
|
2462
|
-
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2532
|
+
"kind": "variable",
|
|
2533
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2534
|
+
"type": {
|
|
2535
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2536
|
+
},
|
|
2537
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2538
|
+
}
|
|
2539
|
+
],
|
|
2540
|
+
"exports": [
|
|
2465
2541
|
{
|
|
2466
2542
|
"kind": "js",
|
|
2467
|
-
"name": "
|
|
2543
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2468
2544
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2545
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2546
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2471
2547
|
}
|
|
2472
2548
|
}
|
|
2473
2549
|
]
|
|
2474
2550
|
},
|
|
2475
2551
|
{
|
|
2476
2552
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2553
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2478
2554
|
"declarations": [
|
|
2479
2555
|
{
|
|
2480
2556
|
"kind": "class",
|
|
2481
|
-
"description": "",
|
|
2482
|
-
"name": "
|
|
2557
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2558
|
+
"name": "AiCriteriaSearch",
|
|
2483
2559
|
"members": [
|
|
2484
2560
|
{
|
|
2485
2561
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2562
|
+
"name": "providerRegistry",
|
|
2487
2563
|
"type": {
|
|
2488
|
-
"text": "
|
|
2564
|
+
"text": "AIProviderRegistry"
|
|
2489
2565
|
}
|
|
2490
2566
|
},
|
|
2491
2567
|
{
|
|
2492
2568
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2569
|
+
"name": "placeholder",
|
|
2494
2570
|
"type": {
|
|
2495
|
-
"text": "
|
|
2571
|
+
"text": "string"
|
|
2496
2572
|
},
|
|
2497
|
-
"default": "
|
|
2573
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2498
2574
|
},
|
|
2499
2575
|
{
|
|
2500
2576
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2577
|
+
"name": "disabled",
|
|
2502
2578
|
"type": {
|
|
2503
2579
|
"text": "boolean"
|
|
2504
|
-
}
|
|
2505
|
-
"default": "true"
|
|
2580
|
+
}
|
|
2506
2581
|
},
|
|
2507
2582
|
{
|
|
2508
2583
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2584
|
+
"name": "inputValue",
|
|
2510
2585
|
"type": {
|
|
2511
|
-
"text": "
|
|
2586
|
+
"text": "string"
|
|
2512
2587
|
},
|
|
2513
|
-
"default": "
|
|
2588
|
+
"default": "''"
|
|
2514
2589
|
},
|
|
2515
2590
|
{
|
|
2516
2591
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2592
|
+
"name": "isInterpreting",
|
|
2518
2593
|
"type": {
|
|
2519
|
-
"text": "
|
|
2520
|
-
}
|
|
2594
|
+
"text": "boolean"
|
|
2595
|
+
},
|
|
2596
|
+
"default": "false"
|
|
2521
2597
|
},
|
|
2522
2598
|
{
|
|
2523
2599
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2600
|
+
"name": "lastValidCriteria",
|
|
2525
2601
|
"type": {
|
|
2526
|
-
"text": "
|
|
2527
|
-
}
|
|
2602
|
+
"text": "string | null"
|
|
2603
|
+
},
|
|
2604
|
+
"default": "null"
|
|
2528
2605
|
},
|
|
2529
2606
|
{
|
|
2530
2607
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2608
|
+
"name": "activeGroups",
|
|
2532
2609
|
"type": {
|
|
2533
|
-
"text": "
|
|
2610
|
+
"text": "CriteriaGroup[]"
|
|
2534
2611
|
},
|
|
2535
|
-
"default": "
|
|
2612
|
+
"default": "[]"
|
|
2536
2613
|
},
|
|
2537
2614
|
{
|
|
2538
2615
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2616
|
+
"name": "showingChips",
|
|
2540
2617
|
"type": {
|
|
2541
2618
|
"text": "boolean"
|
|
2542
2619
|
},
|
|
@@ -2544,14 +2621,15 @@
|
|
|
2544
2621
|
},
|
|
2545
2622
|
{
|
|
2546
2623
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2624
|
+
"name": "fieldMetadata",
|
|
2548
2625
|
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2626
|
+
"text": "MetadataDetail[] | string[]"
|
|
2627
|
+
},
|
|
2628
|
+
"default": "[]"
|
|
2551
2629
|
},
|
|
2552
2630
|
{
|
|
2553
2631
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2632
|
+
"name": "isRecording",
|
|
2555
2633
|
"type": {
|
|
2556
2634
|
"text": "boolean"
|
|
2557
2635
|
},
|
|
@@ -2559,102 +2637,125 @@
|
|
|
2559
2637
|
},
|
|
2560
2638
|
{
|
|
2561
2639
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2640
|
+
"name": "textAreaRef",
|
|
2563
2641
|
"type": {
|
|
2564
|
-
"text": "
|
|
2642
|
+
"text": "HTMLTextAreaElement"
|
|
2565
2643
|
},
|
|
2566
|
-
"
|
|
2644
|
+
"privacy": "public"
|
|
2567
2645
|
},
|
|
2568
2646
|
{
|
|
2569
2647
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2648
|
+
"name": "stopRecording",
|
|
2571
2649
|
"type": {
|
|
2572
|
-
"text": "
|
|
2573
|
-
}
|
|
2650
|
+
"text": "(() => void) | null"
|
|
2651
|
+
},
|
|
2652
|
+
"privacy": "private",
|
|
2653
|
+
"default": "null"
|
|
2574
2654
|
},
|
|
2575
2655
|
{
|
|
2576
2656
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2657
|
+
"name": "speechApplyDebounceTimer",
|
|
2578
2658
|
"type": {
|
|
2579
|
-
"text": "
|
|
2580
|
-
}
|
|
2659
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2660
|
+
},
|
|
2661
|
+
"privacy": "private",
|
|
2662
|
+
"default": "null"
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "field",
|
|
2666
|
+
"name": "speechAvailable",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "boolean"
|
|
2669
|
+
},
|
|
2670
|
+
"readonly": true
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "field",
|
|
2674
|
+
"name": "criteriaChips",
|
|
2675
|
+
"type": {
|
|
2676
|
+
"text": "CriteriaChip[]"
|
|
2677
|
+
},
|
|
2678
|
+
"readonly": true
|
|
2581
2679
|
},
|
|
2582
2680
|
{
|
|
2583
2681
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2682
|
+
"name": "getFieldLabel",
|
|
2683
|
+
"privacy": "private",
|
|
2684
|
+
"return": {
|
|
2685
|
+
"type": {
|
|
2686
|
+
"text": "string"
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2586
2689
|
"parameters": [
|
|
2587
2690
|
{
|
|
2588
|
-
"name": "
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2691
|
+
"name": "fieldName",
|
|
2595
2692
|
"type": {
|
|
2596
|
-
"text": "
|
|
2693
|
+
"text": "string"
|
|
2597
2694
|
}
|
|
2598
2695
|
}
|
|
2599
2696
|
]
|
|
2600
2697
|
},
|
|
2601
2698
|
{
|
|
2602
2699
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2700
|
+
"name": "toggleCriteriaView",
|
|
2701
|
+
"return": {
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "void"
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2609
2706
|
},
|
|
2610
2707
|
{
|
|
2611
2708
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2709
|
+
"name": "removeChip",
|
|
2710
|
+
"return": {
|
|
2711
|
+
"type": {
|
|
2712
|
+
"text": "void"
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2613
2715
|
"parameters": [
|
|
2614
2716
|
{
|
|
2615
|
-
"name": "
|
|
2717
|
+
"name": "groupIndex",
|
|
2616
2718
|
"type": {
|
|
2617
|
-
"text": "
|
|
2719
|
+
"text": "number"
|
|
2720
|
+
}
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"name": "clauseIndex",
|
|
2724
|
+
"type": {
|
|
2725
|
+
"text": "number"
|
|
2618
2726
|
}
|
|
2619
2727
|
}
|
|
2620
2728
|
]
|
|
2621
2729
|
},
|
|
2622
2730
|
{
|
|
2623
|
-
"kind": "
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
|
|
2731
|
+
"kind": "method",
|
|
2732
|
+
"name": "clearChips",
|
|
2733
|
+
"return": {
|
|
2734
|
+
"type": {
|
|
2735
|
+
"text": "void"
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2629
2738
|
},
|
|
2630
2739
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"readonly": true
|
|
2740
|
+
"kind": "method",
|
|
2741
|
+
"name": "handleSubmit"
|
|
2634
2742
|
},
|
|
2635
2743
|
{
|
|
2636
2744
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2745
|
+
"name": "handleBlur"
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"kind": "method",
|
|
2749
|
+
"name": "clear"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"kind": "method",
|
|
2753
|
+
"name": "toggleSpeechInput"
|
|
2646
2754
|
},
|
|
2647
2755
|
{
|
|
2648
2756
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
"
|
|
2651
|
-
{
|
|
2652
|
-
"name": "prefix",
|
|
2653
|
-
"type": {
|
|
2654
|
-
"text": "string"
|
|
2655
|
-
}
|
|
2656
|
-
}
|
|
2657
|
-
]
|
|
2757
|
+
"name": "clearSpeechApplyDebounce",
|
|
2758
|
+
"privacy": "private"
|
|
2658
2759
|
},
|
|
2659
2760
|
{
|
|
2660
2761
|
"kind": "field",
|
|
@@ -2768,115 +2869,154 @@
|
|
|
2768
2869
|
}
|
|
2769
2870
|
}
|
|
2770
2871
|
],
|
|
2771
|
-
"
|
|
2772
|
-
{
|
|
2773
|
-
"name": "is-vertical",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "false",
|
|
2778
|
-
"fieldName": "isVertical"
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "add-default-actions",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "true",
|
|
2786
|
-
"fieldName": "addDefaultActions"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "auto-close-on-action",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "autoCloseOnAction"
|
|
2795
|
-
},
|
|
2872
|
+
"events": [
|
|
2796
2873
|
{
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2874
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2875
|
+
"name": "criteria-changed"
|
|
2803
2876
|
},
|
|
2804
2877
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2878
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2879
|
+
"name": "validation-errors"
|
|
2880
|
+
}
|
|
2881
|
+
],
|
|
2882
|
+
"attributes": [
|
|
2812
2883
|
{
|
|
2813
|
-
"name": "
|
|
2884
|
+
"name": "placeholder",
|
|
2814
2885
|
"type": {
|
|
2815
2886
|
"text": "string"
|
|
2816
2887
|
},
|
|
2817
|
-
"
|
|
2818
|
-
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2888
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2889
|
+
"fieldName": "placeholder"
|
|
2826
2890
|
},
|
|
2827
2891
|
{
|
|
2828
|
-
"name": "hide-menu-single-option",
|
|
2829
2892
|
"type": {
|
|
2830
2893
|
"text": "boolean"
|
|
2831
2894
|
},
|
|
2832
|
-
"
|
|
2833
|
-
"fieldName": "hideMenuSingleOption"
|
|
2895
|
+
"fieldName": "disabled"
|
|
2834
2896
|
}
|
|
2835
2897
|
],
|
|
2836
2898
|
"superclass": {
|
|
2837
2899
|
"name": "FoundationElement",
|
|
2838
2900
|
"package": "@microsoft/fast-foundation"
|
|
2839
2901
|
},
|
|
2840
|
-
"tagName": "%%prefix%%-
|
|
2902
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2841
2903
|
"customElement": true
|
|
2842
2904
|
},
|
|
2843
2905
|
{
|
|
2844
2906
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2847
|
-
|
|
2907
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "ShadowRootInit"
|
|
2910
|
+
},
|
|
2911
|
+
"default": "undefined"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"kind": "variable",
|
|
2915
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "object"
|
|
2918
|
+
},
|
|
2919
|
+
"default": "{}"
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "variable",
|
|
2923
|
+
"name": "foundationAiCriteriaSearch"
|
|
2848
2924
|
}
|
|
2849
2925
|
],
|
|
2850
2926
|
"exports": [
|
|
2851
2927
|
{
|
|
2852
2928
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2929
|
+
"name": "AiCriteriaSearch",
|
|
2854
2930
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2931
|
+
"name": "AiCriteriaSearch",
|
|
2932
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2857
2933
|
}
|
|
2858
2934
|
},
|
|
2859
2935
|
{
|
|
2860
2936
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
2938
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2939
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2940
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"kind": "js",
|
|
2945
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2946
|
+
"declaration": {
|
|
2947
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2948
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
"kind": "js",
|
|
2953
|
+
"name": "foundationAiCriteriaSearch",
|
|
2954
|
+
"declaration": {
|
|
2955
|
+
"name": "foundationAiCriteriaSearch",
|
|
2956
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2957
|
}
|
|
2866
2958
|
}
|
|
2867
2959
|
]
|
|
2868
2960
|
},
|
|
2869
2961
|
{
|
|
2870
2962
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2963
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2872
2964
|
"declarations": [],
|
|
2873
2965
|
"exports": [
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "js",
|
|
2968
|
+
"name": "AiCriteriaSearch",
|
|
2969
|
+
"declaration": {
|
|
2970
|
+
"name": "AiCriteriaSearch",
|
|
2971
|
+
"module": "./ai-criteria-search"
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "js",
|
|
2976
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2977
|
+
"declaration": {
|
|
2978
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2979
|
+
"module": "./ai-criteria-search"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "js",
|
|
2984
|
+
"name": "foundationAiCriteriaSearch",
|
|
2985
|
+
"declaration": {
|
|
2986
|
+
"name": "foundationAiCriteriaSearch",
|
|
2987
|
+
"module": "./ai-criteria-search"
|
|
2988
|
+
}
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"kind": "js",
|
|
2992
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2993
|
+
"declaration": {
|
|
2994
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2995
|
+
"module": "./ai-criteria-search"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"kind": "js",
|
|
3000
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3001
|
+
"declaration": {
|
|
3002
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3003
|
+
"module": "./ai-criteria-search.styles"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"kind": "js",
|
|
3008
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3009
|
+
"declaration": {
|
|
3010
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3011
|
+
"module": "./ai-criteria-search.template"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
2874
3014
|
{
|
|
2875
3015
|
"kind": "js",
|
|
2876
3016
|
"name": "*",
|
|
2877
3017
|
"declaration": {
|
|
2878
3018
|
"name": "*",
|
|
2879
|
-
"package": "./
|
|
3019
|
+
"package": "./validation/criteria-ir"
|
|
2880
3020
|
}
|
|
2881
3021
|
},
|
|
2882
3022
|
{
|
|
@@ -2884,7 +3024,7 @@
|
|
|
2884
3024
|
"name": "*",
|
|
2885
3025
|
"declaration": {
|
|
2886
3026
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
3027
|
+
"package": "./validation/operator-map"
|
|
2888
3028
|
}
|
|
2889
3029
|
},
|
|
2890
3030
|
{
|
|
@@ -2892,64 +3032,157 @@
|
|
|
2892
3032
|
"name": "*",
|
|
2893
3033
|
"declaration": {
|
|
2894
3034
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
3035
|
+
"package": "./validation/schema-validator"
|
|
2896
3036
|
}
|
|
2897
3037
|
}
|
|
2898
3038
|
]
|
|
2899
3039
|
},
|
|
2900
3040
|
{
|
|
2901
3041
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-criteria-search/
|
|
3042
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3043
|
+
"declarations": [
|
|
3044
|
+
{
|
|
3045
|
+
"kind": "function",
|
|
3046
|
+
"name": "formatValidationErrors",
|
|
3047
|
+
"return": {
|
|
3048
|
+
"type": {
|
|
3049
|
+
"text": "string"
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
"parameters": [
|
|
3053
|
+
{
|
|
3054
|
+
"name": "errors",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "ValidationError[]"
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
],
|
|
3060
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"kind": "function",
|
|
3064
|
+
"name": "showCriteriaError",
|
|
3065
|
+
"return": {
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "void"
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
3070
|
+
"parameters": [
|
|
3071
|
+
{
|
|
3072
|
+
"name": "title",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"name": "body",
|
|
3080
|
+
"type": {
|
|
3081
|
+
"text": "string"
|
|
3082
|
+
},
|
|
3083
|
+
"description": "Error message to display"
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"name": "tagName",
|
|
3087
|
+
"type": {
|
|
3088
|
+
"text": "string"
|
|
3089
|
+
},
|
|
3090
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3091
|
+
}
|
|
3092
|
+
],
|
|
3093
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3094
|
+
}
|
|
3095
|
+
],
|
|
3096
|
+
"exports": [
|
|
3097
|
+
{
|
|
3098
|
+
"kind": "js",
|
|
3099
|
+
"name": "formatValidationErrors",
|
|
3100
|
+
"declaration": {
|
|
3101
|
+
"name": "formatValidationErrors",
|
|
3102
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3103
|
+
}
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "js",
|
|
3107
|
+
"name": "showCriteriaError",
|
|
3108
|
+
"declaration": {
|
|
3109
|
+
"name": "showCriteriaError",
|
|
3110
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
]
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "javascript-module",
|
|
3117
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2903
3118
|
"declarations": [
|
|
2904
3119
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
3120
|
+
"kind": "function",
|
|
3121
|
+
"name": "foundationAiIndicatorStyles",
|
|
3122
|
+
"return": {
|
|
3123
|
+
"type": {
|
|
3124
|
+
"text": "ElementStyles"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
"parameters": [
|
|
3128
|
+
{
|
|
3129
|
+
"name": "context",
|
|
3130
|
+
"type": {
|
|
3131
|
+
"text": "ElementDefinitionContext"
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"name": "definition",
|
|
3136
|
+
"type": {
|
|
3137
|
+
"text": "FoundationElementDefinition"
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
]
|
|
2908
3141
|
}
|
|
2909
3142
|
],
|
|
2910
3143
|
"exports": [
|
|
2911
3144
|
{
|
|
2912
3145
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
3146
|
+
"name": "foundationAiIndicatorStyles",
|
|
2914
3147
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-
|
|
3148
|
+
"name": "foundationAiIndicatorStyles",
|
|
3149
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2917
3150
|
}
|
|
2918
3151
|
}
|
|
2919
3152
|
]
|
|
2920
3153
|
},
|
|
2921
3154
|
{
|
|
2922
3155
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
3156
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
3157
|
"declarations": [
|
|
2925
3158
|
{
|
|
2926
3159
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
3160
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
3161
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
3162
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
3163
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
3164
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
3165
|
}
|
|
2933
3166
|
],
|
|
2934
3167
|
"exports": [
|
|
2935
3168
|
{
|
|
2936
3169
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
3170
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
3171
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
3172
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3173
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
3174
|
}
|
|
2942
3175
|
}
|
|
2943
3176
|
]
|
|
2944
3177
|
},
|
|
2945
3178
|
{
|
|
2946
3179
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
3180
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2948
3181
|
"declarations": [
|
|
2949
3182
|
{
|
|
2950
3183
|
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
3184
|
+
"description": "",
|
|
3185
|
+
"name": "AiIndicator",
|
|
2953
3186
|
"members": [
|
|
2954
3187
|
{
|
|
2955
3188
|
"kind": "field",
|
|
@@ -2960,54 +3193,25 @@
|
|
|
2960
3193
|
},
|
|
2961
3194
|
{
|
|
2962
3195
|
"kind": "field",
|
|
2963
|
-
"name": "
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "isInterpreting",
|
|
3196
|
+
"name": "aiProvider",
|
|
2987
3197
|
"type": {
|
|
2988
|
-
"text": "
|
|
3198
|
+
"text": "AIProvider | undefined"
|
|
2989
3199
|
},
|
|
2990
|
-
"
|
|
3200
|
+
"privacy": "private",
|
|
3201
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3202
|
+
"readonly": true
|
|
2991
3203
|
},
|
|
2992
3204
|
{
|
|
2993
3205
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
3206
|
+
"name": "status",
|
|
2995
3207
|
"type": {
|
|
2996
|
-
"text": "
|
|
3208
|
+
"text": "AIStatus | null"
|
|
2997
3209
|
},
|
|
2998
3210
|
"default": "null"
|
|
2999
3211
|
},
|
|
3000
3212
|
{
|
|
3001
3213
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
3214
|
+
"name": "open",
|
|
3011
3215
|
"type": {
|
|
3012
3216
|
"text": "boolean"
|
|
3013
3217
|
},
|
|
@@ -3015,15 +3219,15 @@
|
|
|
3015
3219
|
},
|
|
3016
3220
|
{
|
|
3017
3221
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
3222
|
+
"name": "state",
|
|
3019
3223
|
"type": {
|
|
3020
|
-
"text": "
|
|
3224
|
+
"text": "AIIndicatorState"
|
|
3021
3225
|
},
|
|
3022
|
-
"default": "
|
|
3226
|
+
"default": "'none'"
|
|
3023
3227
|
},
|
|
3024
3228
|
{
|
|
3025
3229
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3230
|
+
"name": "isInstalling",
|
|
3027
3231
|
"type": {
|
|
3028
3232
|
"text": "boolean"
|
|
3029
3233
|
},
|
|
@@ -3031,33 +3235,29 @@
|
|
|
3031
3235
|
},
|
|
3032
3236
|
{
|
|
3033
3237
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3238
|
+
"name": "pollTimer",
|
|
3035
3239
|
"type": {
|
|
3036
|
-
"text": "
|
|
3240
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3241
|
},
|
|
3038
|
-
"privacy": "
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"default": "null"
|
|
3039
3244
|
},
|
|
3040
3245
|
{
|
|
3041
3246
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3247
|
+
"name": "clickOutside",
|
|
3248
|
+
"privacy": "private"
|
|
3048
3249
|
},
|
|
3049
3250
|
{
|
|
3050
3251
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3252
|
+
"name": "chromeStatusLabel",
|
|
3052
3253
|
"type": {
|
|
3053
|
-
"text": "
|
|
3254
|
+
"text": "string | null"
|
|
3054
3255
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3256
|
+
"readonly": true
|
|
3057
3257
|
},
|
|
3058
3258
|
{
|
|
3059
3259
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3260
|
+
"name": "canInstall",
|
|
3061
3261
|
"type": {
|
|
3062
3262
|
"text": "boolean"
|
|
3063
3263
|
},
|
|
@@ -3065,65 +3265,69 @@
|
|
|
3065
3265
|
},
|
|
3066
3266
|
{
|
|
3067
3267
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3268
|
+
"name": "isDownloading",
|
|
3069
3269
|
"type": {
|
|
3070
|
-
"text": "
|
|
3270
|
+
"text": "boolean"
|
|
3071
3271
|
},
|
|
3072
3272
|
"readonly": true
|
|
3073
3273
|
},
|
|
3074
3274
|
{
|
|
3075
3275
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3276
|
+
"name": "openChanged",
|
|
3078
3277
|
"return": {
|
|
3079
3278
|
"type": {
|
|
3080
|
-
"text": "
|
|
3279
|
+
"text": "void"
|
|
3081
3280
|
}
|
|
3082
|
-
}
|
|
3281
|
+
}
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"kind": "method",
|
|
3285
|
+
"name": "handleClickOutside",
|
|
3286
|
+
"privacy": "private",
|
|
3083
3287
|
"parameters": [
|
|
3084
3288
|
{
|
|
3085
|
-
"name": "
|
|
3289
|
+
"name": "event",
|
|
3086
3290
|
"type": {
|
|
3087
|
-
"text": "
|
|
3291
|
+
"text": "MouseEvent"
|
|
3088
3292
|
}
|
|
3089
3293
|
}
|
|
3090
3294
|
]
|
|
3091
3295
|
},
|
|
3092
3296
|
{
|
|
3093
3297
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3298
|
+
"name": "toggleDropdown"
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"kind": "method",
|
|
3302
|
+
"name": "refreshStatus",
|
|
3095
3303
|
"return": {
|
|
3096
3304
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3305
|
+
"text": "Promise<void>"
|
|
3098
3306
|
}
|
|
3099
3307
|
}
|
|
3100
3308
|
},
|
|
3101
3309
|
{
|
|
3102
3310
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3311
|
+
"name": "deriveState",
|
|
3312
|
+
"privacy": "private",
|
|
3104
3313
|
"return": {
|
|
3105
3314
|
"type": {
|
|
3106
|
-
"text": "
|
|
3315
|
+
"text": "AIIndicatorState"
|
|
3107
3316
|
}
|
|
3108
3317
|
},
|
|
3109
3318
|
"parameters": [
|
|
3110
3319
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3320
|
+
"name": "s",
|
|
3118
3321
|
"type": {
|
|
3119
|
-
"text": "
|
|
3322
|
+
"text": "AIStatus | null"
|
|
3120
3323
|
}
|
|
3121
3324
|
}
|
|
3122
3325
|
]
|
|
3123
3326
|
},
|
|
3124
3327
|
{
|
|
3125
3328
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3329
|
+
"name": "maybeStartPolling",
|
|
3330
|
+
"privacy": "private",
|
|
3127
3331
|
"return": {
|
|
3128
3332
|
"type": {
|
|
3129
3333
|
"text": "void"
|
|
@@ -3132,24 +3336,32 @@
|
|
|
3132
3336
|
},
|
|
3133
3337
|
{
|
|
3134
3338
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3339
|
+
"name": "startPolling",
|
|
3340
|
+
"privacy": "private",
|
|
3341
|
+
"return": {
|
|
3342
|
+
"type": {
|
|
3343
|
+
"text": "void"
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3144
3346
|
},
|
|
3145
3347
|
{
|
|
3146
3348
|
"kind": "method",
|
|
3147
|
-
"name": "
|
|
3349
|
+
"name": "stopPolling",
|
|
3350
|
+
"privacy": "private",
|
|
3351
|
+
"return": {
|
|
3352
|
+
"type": {
|
|
3353
|
+
"text": "void"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3148
3356
|
},
|
|
3149
3357
|
{
|
|
3150
3358
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"
|
|
3359
|
+
"name": "onInstall",
|
|
3360
|
+
"return": {
|
|
3361
|
+
"type": {
|
|
3362
|
+
"text": "Promise<void>"
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3153
3365
|
},
|
|
3154
3366
|
{
|
|
3155
3367
|
"kind": "field",
|
|
@@ -3259,263 +3471,145 @@
|
|
|
3259
3471
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3260
3472
|
"inheritedFrom": {
|
|
3261
3473
|
"name": "FoundationElement",
|
|
3262
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3263
|
-
}
|
|
3264
|
-
}
|
|
3265
|
-
],
|
|
3266
|
-
"
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
"name": "criteria-changed"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
-
"name": "validation-errors"
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
|
-
"superclass": {
|
|
3293
|
-
"name": "FoundationElement",
|
|
3294
|
-
"package": "@microsoft/fast-foundation"
|
|
3295
|
-
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3297
|
-
"customElement": true
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"kind": "variable",
|
|
3301
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ShadowRootInit"
|
|
3304
|
-
},
|
|
3305
|
-
"default": "undefined"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "object"
|
|
3474
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
],
|
|
3478
|
+
"superclass": {
|
|
3479
|
+
"name": "FoundationElement",
|
|
3480
|
+
"package": "@microsoft/fast-foundation"
|
|
3312
3481
|
},
|
|
3313
|
-
"
|
|
3482
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3483
|
+
"customElement": true
|
|
3314
3484
|
},
|
|
3315
3485
|
{
|
|
3316
3486
|
"kind": "variable",
|
|
3317
|
-
"name": "
|
|
3487
|
+
"name": "foundationAiIndicator"
|
|
3318
3488
|
}
|
|
3319
3489
|
],
|
|
3320
3490
|
"exports": [
|
|
3321
3491
|
{
|
|
3322
3492
|
"kind": "js",
|
|
3323
|
-
"name": "
|
|
3324
|
-
"declaration": {
|
|
3325
|
-
"name": "AiCriteriaSearch",
|
|
3326
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "js",
|
|
3339
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3493
|
+
"name": "AiIndicator",
|
|
3340
3494
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3495
|
+
"name": "AiIndicator",
|
|
3496
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3497
|
}
|
|
3344
3498
|
},
|
|
3345
3499
|
{
|
|
3346
3500
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3501
|
+
"name": "foundationAiIndicator",
|
|
3348
3502
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3503
|
+
"name": "foundationAiIndicator",
|
|
3504
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3505
|
}
|
|
3352
3506
|
}
|
|
3353
3507
|
]
|
|
3354
3508
|
},
|
|
3355
3509
|
{
|
|
3356
3510
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3511
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3512
|
"declarations": [],
|
|
3359
3513
|
"exports": [
|
|
3360
3514
|
{
|
|
3361
3515
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3516
|
+
"name": "AiIndicator",
|
|
3387
3517
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "./ai-
|
|
3518
|
+
"name": "AiIndicator",
|
|
3519
|
+
"module": "./ai-indicator"
|
|
3390
3520
|
}
|
|
3391
3521
|
},
|
|
3392
3522
|
{
|
|
3393
3523
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3524
|
+
"name": "foundationAiIndicator",
|
|
3395
3525
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3526
|
+
"name": "foundationAiIndicator",
|
|
3527
|
+
"module": "./ai-indicator"
|
|
3398
3528
|
}
|
|
3399
3529
|
},
|
|
3400
3530
|
{
|
|
3401
3531
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3532
|
+
"name": "type",
|
|
3403
3533
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3534
|
+
"name": "type",
|
|
3535
|
+
"module": "./ai-indicator"
|
|
3406
3536
|
}
|
|
3407
3537
|
},
|
|
3408
3538
|
{
|
|
3409
3539
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3540
|
+
"name": "AIIndicatorState",
|
|
3411
3541
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3542
|
+
"name": "AIIndicatorState",
|
|
3543
|
+
"module": "./ai-indicator"
|
|
3414
3544
|
}
|
|
3415
3545
|
},
|
|
3416
3546
|
{
|
|
3417
3547
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3548
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3419
3549
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3550
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3551
|
+
"module": "./ai-indicator.template"
|
|
3422
3552
|
}
|
|
3423
3553
|
},
|
|
3424
3554
|
{
|
|
3425
3555
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3556
|
+
"name": "foundationAiIndicatorStyles",
|
|
3427
3557
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3558
|
+
"name": "foundationAiIndicatorStyles",
|
|
3559
|
+
"module": "./ai-indicator.styles"
|
|
3430
3560
|
}
|
|
3431
3561
|
}
|
|
3432
3562
|
]
|
|
3433
3563
|
},
|
|
3434
3564
|
{
|
|
3435
3565
|
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/
|
|
3566
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
3437
3567
|
"declarations": [
|
|
3438
3568
|
{
|
|
3439
3569
|
"kind": "function",
|
|
3440
|
-
"name": "
|
|
3570
|
+
"name": "foundationAccordionItemStyles",
|
|
3441
3571
|
"return": {
|
|
3442
3572
|
"type": {
|
|
3443
|
-
"text": "
|
|
3573
|
+
"text": "ElementStyles"
|
|
3444
3574
|
}
|
|
3445
3575
|
},
|
|
3446
3576
|
"parameters": [
|
|
3447
3577
|
{
|
|
3448
|
-
"name": "
|
|
3578
|
+
"name": "context",
|
|
3449
3579
|
"type": {
|
|
3450
|
-
"text": "
|
|
3580
|
+
"text": "ElementDefinitionContext"
|
|
3451
3581
|
}
|
|
3452
|
-
}
|
|
3453
|
-
],
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "function",
|
|
3458
|
-
"name": "showCriteriaError",
|
|
3459
|
-
"return": {
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "void"
|
|
3462
|
-
}
|
|
3463
|
-
},
|
|
3464
|
-
"parameters": [
|
|
3465
|
-
{
|
|
3466
|
-
"name": "title",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3474
|
-
"type": {
|
|
3475
|
-
"text": "string"
|
|
3476
|
-
},
|
|
3477
|
-
"description": "Error message to display"
|
|
3478
3582
|
},
|
|
3479
3583
|
{
|
|
3480
|
-
"name": "
|
|
3584
|
+
"name": "definition",
|
|
3481
3585
|
"type": {
|
|
3482
|
-
"text": "
|
|
3483
|
-
}
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3586
|
+
"text": "FoundationElementDefinition"
|
|
3587
|
+
}
|
|
3485
3588
|
}
|
|
3486
|
-
]
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3589
|
+
]
|
|
3488
3590
|
}
|
|
3489
3591
|
],
|
|
3490
3592
|
"exports": [
|
|
3491
3593
|
{
|
|
3492
3594
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "formatValidationErrors",
|
|
3496
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "showCriteriaError",
|
|
3595
|
+
"name": "foundationAccordionItemStyles",
|
|
3502
3596
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "src/
|
|
3597
|
+
"name": "foundationAccordionItemStyles",
|
|
3598
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
3505
3599
|
}
|
|
3506
3600
|
}
|
|
3507
3601
|
]
|
|
3508
3602
|
},
|
|
3509
3603
|
{
|
|
3510
3604
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/
|
|
3605
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
3512
3606
|
"declarations": [
|
|
3513
3607
|
{
|
|
3514
3608
|
"kind": "function",
|
|
3515
|
-
"name": "
|
|
3609
|
+
"name": "foundationAccordionItemTemplate",
|
|
3516
3610
|
"return": {
|
|
3517
3611
|
"type": {
|
|
3518
|
-
"text": "
|
|
3612
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
3519
3613
|
}
|
|
3520
3614
|
},
|
|
3521
3615
|
"parameters": [
|
|
@@ -3537,224 +3631,116 @@
|
|
|
3537
3631
|
"exports": [
|
|
3538
3632
|
{
|
|
3539
3633
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3541
|
-
"declaration": {
|
|
3542
|
-
"name": "foundationAiIndicatorStyles",
|
|
3543
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3544
|
-
}
|
|
3545
|
-
}
|
|
3546
|
-
]
|
|
3547
|
-
},
|
|
3548
|
-
{
|
|
3549
|
-
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
-
"declarations": [
|
|
3552
|
-
{
|
|
3553
|
-
"kind": "variable",
|
|
3554
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
-
"type": {
|
|
3556
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
-
},
|
|
3558
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"exports": [
|
|
3562
|
-
{
|
|
3563
|
-
"kind": "js",
|
|
3564
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3634
|
+
"name": "foundationAccordionItemTemplate",
|
|
3565
3635
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/
|
|
3636
|
+
"name": "foundationAccordionItemTemplate",
|
|
3637
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3568
3638
|
}
|
|
3569
3639
|
}
|
|
3570
3640
|
]
|
|
3571
3641
|
},
|
|
3572
3642
|
{
|
|
3573
3643
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/
|
|
3644
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
3575
3645
|
"declarations": [
|
|
3576
3646
|
{
|
|
3577
3647
|
"kind": "class",
|
|
3578
3648
|
"description": "",
|
|
3579
|
-
"name": "
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
},
|
|
3588
|
-
{
|
|
3589
|
-
"kind": "field",
|
|
3590
|
-
"name": "aiProvider",
|
|
3591
|
-
"type": {
|
|
3592
|
-
"text": "AIProvider | undefined"
|
|
3593
|
-
},
|
|
3594
|
-
"privacy": "private",
|
|
3595
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3596
|
-
"readonly": true
|
|
3597
|
-
},
|
|
3598
|
-
{
|
|
3599
|
-
"kind": "field",
|
|
3600
|
-
"name": "status",
|
|
3601
|
-
"type": {
|
|
3602
|
-
"text": "AIStatus | null"
|
|
3603
|
-
},
|
|
3604
|
-
"default": "null"
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"kind": "field",
|
|
3608
|
-
"name": "open",
|
|
3609
|
-
"type": {
|
|
3610
|
-
"text": "boolean"
|
|
3611
|
-
},
|
|
3612
|
-
"default": "false"
|
|
3613
|
-
},
|
|
3649
|
+
"name": "AccordionItem",
|
|
3650
|
+
"superclass": {
|
|
3651
|
+
"name": "FASTAccordionItem",
|
|
3652
|
+
"package": "@microsoft/fast-components"
|
|
3653
|
+
},
|
|
3654
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
3655
|
+
"customElement": true,
|
|
3656
|
+
"attributes": [
|
|
3614
3657
|
{
|
|
3615
|
-
"
|
|
3616
|
-
"name": "state",
|
|
3658
|
+
"name": "heading-level",
|
|
3617
3659
|
"type": {
|
|
3618
|
-
"text": "
|
|
3660
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3619
3661
|
},
|
|
3620
|
-
"default": "
|
|
3662
|
+
"default": "2",
|
|
3663
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3664
|
+
"fieldName": "headinglevel",
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "AccordionItem",
|
|
3667
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3668
|
+
}
|
|
3621
3669
|
},
|
|
3622
3670
|
{
|
|
3623
|
-
"kind": "field",
|
|
3624
|
-
"name": "isInstalling",
|
|
3625
3671
|
"type": {
|
|
3626
3672
|
"text": "boolean"
|
|
3627
3673
|
},
|
|
3628
|
-
"default": "false"
|
|
3674
|
+
"default": "false",
|
|
3675
|
+
"description": "Expands or collapses the item.",
|
|
3676
|
+
"fieldName": "expanded",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "AccordionItem",
|
|
3679
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3680
|
+
}
|
|
3629
3681
|
},
|
|
3630
3682
|
{
|
|
3631
|
-
"
|
|
3632
|
-
"name": "pollTimer",
|
|
3683
|
+
"name": "id",
|
|
3633
3684
|
"type": {
|
|
3634
|
-
"text": "
|
|
3685
|
+
"text": "string"
|
|
3635
3686
|
},
|
|
3636
|
-
"
|
|
3637
|
-
"
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3687
|
+
"description": "The item ID",
|
|
3688
|
+
"fieldName": "id",
|
|
3689
|
+
"inheritedFrom": {
|
|
3690
|
+
"name": "AccordionItem",
|
|
3691
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
],
|
|
3695
|
+
"members": [
|
|
3644
3696
|
{
|
|
3645
3697
|
"kind": "field",
|
|
3646
|
-
"name": "
|
|
3698
|
+
"name": "headinglevel",
|
|
3647
3699
|
"type": {
|
|
3648
|
-
"text": "
|
|
3700
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
3649
3701
|
},
|
|
3650
|
-
"
|
|
3702
|
+
"privacy": "public",
|
|
3703
|
+
"default": "2",
|
|
3704
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
3705
|
+
"inheritedFrom": {
|
|
3706
|
+
"name": "AccordionItem",
|
|
3707
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3708
|
+
}
|
|
3651
3709
|
},
|
|
3652
3710
|
{
|
|
3653
3711
|
"kind": "field",
|
|
3654
|
-
"name": "
|
|
3712
|
+
"name": "expanded",
|
|
3655
3713
|
"type": {
|
|
3656
3714
|
"text": "boolean"
|
|
3657
3715
|
},
|
|
3658
|
-
"
|
|
3716
|
+
"privacy": "public",
|
|
3717
|
+
"default": "false",
|
|
3718
|
+
"description": "Expands or collapses the item.",
|
|
3719
|
+
"inheritedFrom": {
|
|
3720
|
+
"name": "AccordionItem",
|
|
3721
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3722
|
+
}
|
|
3659
3723
|
},
|
|
3660
3724
|
{
|
|
3661
3725
|
"kind": "field",
|
|
3662
|
-
"name": "
|
|
3726
|
+
"name": "id",
|
|
3663
3727
|
"type": {
|
|
3664
|
-
"text": "
|
|
3665
|
-
},
|
|
3666
|
-
"readonly": true
|
|
3667
|
-
},
|
|
3668
|
-
{
|
|
3669
|
-
"kind": "method",
|
|
3670
|
-
"name": "openChanged",
|
|
3671
|
-
"return": {
|
|
3672
|
-
"type": {
|
|
3673
|
-
"text": "void"
|
|
3674
|
-
}
|
|
3675
|
-
}
|
|
3676
|
-
},
|
|
3677
|
-
{
|
|
3678
|
-
"kind": "method",
|
|
3679
|
-
"name": "handleClickOutside",
|
|
3680
|
-
"privacy": "private",
|
|
3681
|
-
"parameters": [
|
|
3682
|
-
{
|
|
3683
|
-
"name": "event",
|
|
3684
|
-
"type": {
|
|
3685
|
-
"text": "MouseEvent"
|
|
3686
|
-
}
|
|
3687
|
-
}
|
|
3688
|
-
]
|
|
3689
|
-
},
|
|
3690
|
-
{
|
|
3691
|
-
"kind": "method",
|
|
3692
|
-
"name": "toggleDropdown"
|
|
3693
|
-
},
|
|
3694
|
-
{
|
|
3695
|
-
"kind": "method",
|
|
3696
|
-
"name": "refreshStatus",
|
|
3697
|
-
"return": {
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "Promise<void>"
|
|
3700
|
-
}
|
|
3701
|
-
}
|
|
3702
|
-
},
|
|
3703
|
-
{
|
|
3704
|
-
"kind": "method",
|
|
3705
|
-
"name": "deriveState",
|
|
3706
|
-
"privacy": "private",
|
|
3707
|
-
"return": {
|
|
3708
|
-
"type": {
|
|
3709
|
-
"text": "AIIndicatorState"
|
|
3710
|
-
}
|
|
3728
|
+
"text": "string"
|
|
3711
3729
|
},
|
|
3712
|
-
"
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
}
|
|
3718
|
-
}
|
|
3719
|
-
]
|
|
3720
|
-
},
|
|
3721
|
-
{
|
|
3722
|
-
"kind": "method",
|
|
3723
|
-
"name": "maybeStartPolling",
|
|
3724
|
-
"privacy": "private",
|
|
3725
|
-
"return": {
|
|
3726
|
-
"type": {
|
|
3727
|
-
"text": "void"
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3730
|
-
},
|
|
3731
|
-
{
|
|
3732
|
-
"kind": "method",
|
|
3733
|
-
"name": "startPolling",
|
|
3734
|
-
"privacy": "private",
|
|
3735
|
-
"return": {
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "void"
|
|
3738
|
-
}
|
|
3730
|
+
"privacy": "public",
|
|
3731
|
+
"description": "The item ID",
|
|
3732
|
+
"inheritedFrom": {
|
|
3733
|
+
"name": "AccordionItem",
|
|
3734
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3739
3735
|
}
|
|
3740
3736
|
},
|
|
3741
3737
|
{
|
|
3742
|
-
"kind": "
|
|
3743
|
-
"name": "
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "change",
|
|
3744
3740
|
"privacy": "private",
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3747
|
-
|
|
3748
|
-
}
|
|
3749
|
-
}
|
|
3750
|
-
},
|
|
3751
|
-
{
|
|
3752
|
-
"kind": "method",
|
|
3753
|
-
"name": "onInstall",
|
|
3754
|
-
"return": {
|
|
3755
|
-
"type": {
|
|
3756
|
-
"text": "Promise<void>"
|
|
3757
|
-
}
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "AccordionItem",
|
|
3743
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3758
3744
|
}
|
|
3759
3745
|
},
|
|
3760
3746
|
{
|
|
@@ -3869,88 +3855,102 @@
|
|
|
3869
3855
|
}
|
|
3870
3856
|
}
|
|
3871
3857
|
],
|
|
3872
|
-
"
|
|
3873
|
-
|
|
3874
|
-
|
|
3858
|
+
"events": [
|
|
3859
|
+
{
|
|
3860
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
3861
|
+
"name": "change",
|
|
3862
|
+
"inheritedFrom": {
|
|
3863
|
+
"name": "AccordionItem",
|
|
3864
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
]
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"kind": "variable",
|
|
3871
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3872
|
+
"type": {
|
|
3873
|
+
"text": "ShadowRootInit"
|
|
3875
3874
|
},
|
|
3876
|
-
"
|
|
3877
|
-
"customElement": true
|
|
3875
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3878
3876
|
},
|
|
3879
3877
|
{
|
|
3880
3878
|
"kind": "variable",
|
|
3881
|
-
"name": "
|
|
3879
|
+
"name": "defaultAccordionItemConfig",
|
|
3880
|
+
"type": {
|
|
3881
|
+
"text": "object"
|
|
3882
|
+
},
|
|
3883
|
+
"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}"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "variable",
|
|
3887
|
+
"name": "foundationAccordionItem",
|
|
3888
|
+
"description": "The Foundation Accordion Item",
|
|
3889
|
+
"privacy": "public"
|
|
3882
3890
|
}
|
|
3883
3891
|
],
|
|
3884
3892
|
"exports": [
|
|
3885
3893
|
{
|
|
3886
3894
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
3895
|
+
"name": "AccordionItem",
|
|
3888
3896
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
3897
|
+
"name": "AccordionItem",
|
|
3898
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3891
3899
|
}
|
|
3892
3900
|
},
|
|
3893
3901
|
{
|
|
3894
3902
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3896
|
-
"declaration": {
|
|
3897
|
-
"name": "foundationAiIndicator",
|
|
3898
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3899
|
-
}
|
|
3900
|
-
}
|
|
3901
|
-
]
|
|
3902
|
-
},
|
|
3903
|
-
{
|
|
3904
|
-
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/ai-indicator/index.ts",
|
|
3906
|
-
"declarations": [],
|
|
3907
|
-
"exports": [
|
|
3908
|
-
{
|
|
3909
|
-
"kind": "js",
|
|
3910
|
-
"name": "AiIndicator",
|
|
3903
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3911
3904
|
"declaration": {
|
|
3912
|
-
"name": "
|
|
3913
|
-
"module": "
|
|
3905
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
3906
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3914
3907
|
}
|
|
3915
3908
|
},
|
|
3916
3909
|
{
|
|
3917
3910
|
"kind": "js",
|
|
3918
|
-
"name": "
|
|
3911
|
+
"name": "defaultAccordionItemConfig",
|
|
3919
3912
|
"declaration": {
|
|
3920
|
-
"name": "
|
|
3921
|
-
"module": "
|
|
3913
|
+
"name": "defaultAccordionItemConfig",
|
|
3914
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3922
3915
|
}
|
|
3923
3916
|
},
|
|
3924
3917
|
{
|
|
3925
3918
|
"kind": "js",
|
|
3926
|
-
"name": "
|
|
3919
|
+
"name": "foundationAccordionItem",
|
|
3927
3920
|
"declaration": {
|
|
3928
|
-
"name": "
|
|
3929
|
-
"module": "
|
|
3921
|
+
"name": "foundationAccordionItem",
|
|
3922
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
3930
3923
|
}
|
|
3931
|
-
}
|
|
3924
|
+
}
|
|
3925
|
+
]
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "javascript-module",
|
|
3929
|
+
"path": "src/accordion-item/index.ts",
|
|
3930
|
+
"declarations": [],
|
|
3931
|
+
"exports": [
|
|
3932
3932
|
{
|
|
3933
3933
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3934
|
+
"name": "*",
|
|
3935
3935
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"
|
|
3936
|
+
"name": "*",
|
|
3937
|
+
"package": "./accordion-item.template"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "*",
|
|
3945
|
+
"package": "./accordion-item.styles"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "*",
|
|
3953
|
+
"package": "./accordion-item"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|