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