@vaadin/upload 25.2.7 → 25.3.0-alpha10
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/custom-elements.json +637 -204
- package/package.json +11 -11
- package/src/vaadin-upload-button.js +4 -10
- package/src/vaadin-upload-drop-zone.js +1 -0
- package/src/vaadin-upload-file-list-mixin.d.ts +1 -0
- package/src/vaadin-upload-file-list-mixin.js +10 -103
- package/src/vaadin-upload-file-list.js +1 -0
- package/src/vaadin-upload-file-mixin.js +0 -9
- package/src/vaadin-upload-file.js +8 -5
- package/src/vaadin-upload-helpers.js +143 -0
- package/src/vaadin-upload-icon.js +1 -0
- package/src/vaadin-upload-internal-manager.js +174 -0
- package/src/vaadin-upload-manager.d.ts +1 -6
- package/src/vaadin-upload-manager.js +85 -32
- package/src/vaadin-upload-mixin.d.ts +4 -44
- package/src/vaadin-upload-mixin.js +361 -577
- package/src/vaadin-upload.js +1 -0
- package/web-types.json +6 -16
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -166,6 +166,13 @@
|
|
|
166
166
|
},
|
|
167
167
|
"description": "True when max files has been reached on the manager.",
|
|
168
168
|
"fieldName": "maxFilesReached"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": {
|
|
172
|
+
"text": "string"
|
|
173
|
+
},
|
|
174
|
+
"description": "The theme variants to apply to the component.",
|
|
175
|
+
"name": "theme"
|
|
169
176
|
}
|
|
170
177
|
],
|
|
171
178
|
"mixins": [
|
|
@@ -276,6 +283,13 @@
|
|
|
276
283
|
"description": "True when max files has been reached on the manager.",
|
|
277
284
|
"readonly": true,
|
|
278
285
|
"fieldName": "maxFilesReached"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "string"
|
|
290
|
+
},
|
|
291
|
+
"description": "The theme variants to apply to the component.",
|
|
292
|
+
"name": "theme"
|
|
279
293
|
}
|
|
280
294
|
],
|
|
281
295
|
"mixins": [
|
|
@@ -320,6 +334,14 @@
|
|
|
320
334
|
"kind": "javascript-module",
|
|
321
335
|
"path": "src/vaadin-upload-file-list-mixin.js",
|
|
322
336
|
"declarations": [
|
|
337
|
+
{
|
|
338
|
+
"kind": "variable",
|
|
339
|
+
"name": "DEFAULT_I18N",
|
|
340
|
+
"type": {
|
|
341
|
+
"text": "object"
|
|
342
|
+
},
|
|
343
|
+
"default": "{ file: { retry: 'Retry', start: 'Start', remove: 'Remove', }, error: { tooManyFiles: 'Too Many Files.', fileIsTooBig: 'File is Too Big.', incorrectFileType: 'Incorrect File Type.', }, uploading: { status: { connecting: 'Connecting...', stalled: 'Stalled', processing: 'Processing File...', held: 'Queued', }, remainingTime: { prefix: 'remaining time: ', unknown: 'unknown remaining time', }, error: { serverUnavailable: 'Upload failed, please try again later', unexpectedServerError: 'Upload failed due to server error', forbidden: 'Upload forbidden', fileTooLarge: 'File is too large', }, }, units: { size: ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], }, }"
|
|
344
|
+
},
|
|
323
345
|
{
|
|
324
346
|
"kind": "mixin",
|
|
325
347
|
"description": "",
|
|
@@ -424,6 +446,14 @@
|
|
|
424
446
|
}
|
|
425
447
|
],
|
|
426
448
|
"exports": [
|
|
449
|
+
{
|
|
450
|
+
"kind": "js",
|
|
451
|
+
"name": "DEFAULT_I18N",
|
|
452
|
+
"declaration": {
|
|
453
|
+
"name": "DEFAULT_I18N",
|
|
454
|
+
"module": "src/vaadin-upload-file-list-mixin.js"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
427
457
|
{
|
|
428
458
|
"kind": "js",
|
|
429
459
|
"name": "UploadFileListMixin",
|
|
@@ -501,26 +531,6 @@
|
|
|
501
531
|
}
|
|
502
532
|
}
|
|
503
533
|
],
|
|
504
|
-
"mixins": [
|
|
505
|
-
{
|
|
506
|
-
"name": "UploadFileListMixin",
|
|
507
|
-
"module": "src/vaadin-upload-file-list-mixin.js"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "ThemableMixin",
|
|
511
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"name": "PolylitMixin",
|
|
515
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
"superclass": {
|
|
519
|
-
"name": "LitElement",
|
|
520
|
-
"package": "lit"
|
|
521
|
-
},
|
|
522
|
-
"tagName": "vaadin-upload-file-list",
|
|
523
|
-
"customElement": true,
|
|
524
534
|
"attributes": [
|
|
525
535
|
{
|
|
526
536
|
"name": "disabled",
|
|
@@ -570,8 +580,35 @@
|
|
|
570
580
|
"name": "UploadFileListMixin",
|
|
571
581
|
"module": "src/vaadin-upload-file-list-mixin.js"
|
|
572
582
|
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "string"
|
|
587
|
+
},
|
|
588
|
+
"description": "The theme variants to apply to the component.",
|
|
589
|
+
"name": "theme"
|
|
573
590
|
}
|
|
574
591
|
],
|
|
592
|
+
"mixins": [
|
|
593
|
+
{
|
|
594
|
+
"name": "UploadFileListMixin",
|
|
595
|
+
"module": "src/vaadin-upload-file-list-mixin.js"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "ThemableMixin",
|
|
599
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "PolylitMixin",
|
|
603
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"superclass": {
|
|
607
|
+
"name": "LitElement",
|
|
608
|
+
"package": "lit"
|
|
609
|
+
},
|
|
610
|
+
"tagName": "vaadin-upload-file-list",
|
|
611
|
+
"customElement": true,
|
|
575
612
|
"events": []
|
|
576
613
|
}
|
|
577
614
|
],
|
|
@@ -992,6 +1029,123 @@
|
|
|
992
1029
|
"name": "file-start"
|
|
993
1030
|
}
|
|
994
1031
|
],
|
|
1032
|
+
"attributes": [
|
|
1033
|
+
{
|
|
1034
|
+
"name": "complete",
|
|
1035
|
+
"type": {
|
|
1036
|
+
"text": "boolean"
|
|
1037
|
+
},
|
|
1038
|
+
"description": "True if uploading is completed, false otherwise.",
|
|
1039
|
+
"fieldName": "complete",
|
|
1040
|
+
"inheritedFrom": {
|
|
1041
|
+
"name": "UploadFileMixin",
|
|
1042
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "disabled",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "boolean"
|
|
1049
|
+
},
|
|
1050
|
+
"description": "If true, the user cannot interact with this element.",
|
|
1051
|
+
"fieldName": "disabled",
|
|
1052
|
+
"inheritedFrom": {
|
|
1053
|
+
"name": "UploadFileMixin",
|
|
1054
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "error-message",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"description": "Error message returned by the server, if any.",
|
|
1063
|
+
"fieldName": "errorMessage",
|
|
1064
|
+
"inheritedFrom": {
|
|
1065
|
+
"name": "UploadFileMixin",
|
|
1066
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "file-name",
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": "string"
|
|
1073
|
+
},
|
|
1074
|
+
"description": "Name of the uploading file.",
|
|
1075
|
+
"fieldName": "fileName",
|
|
1076
|
+
"inheritedFrom": {
|
|
1077
|
+
"name": "UploadFileMixin",
|
|
1078
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "held",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "boolean"
|
|
1085
|
+
},
|
|
1086
|
+
"description": "True if uploading is not started, false otherwise.",
|
|
1087
|
+
"fieldName": "held",
|
|
1088
|
+
"inheritedFrom": {
|
|
1089
|
+
"name": "UploadFileMixin",
|
|
1090
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "indeterminate",
|
|
1095
|
+
"type": {
|
|
1096
|
+
"text": "boolean"
|
|
1097
|
+
},
|
|
1098
|
+
"description": "True if remaining time is unknown, false otherwise.",
|
|
1099
|
+
"fieldName": "indeterminate",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "UploadFileMixin",
|
|
1102
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "progress",
|
|
1107
|
+
"type": {
|
|
1108
|
+
"text": "number"
|
|
1109
|
+
},
|
|
1110
|
+
"description": "Number representing the uploading progress.",
|
|
1111
|
+
"fieldName": "progress",
|
|
1112
|
+
"inheritedFrom": {
|
|
1113
|
+
"name": "UploadFileMixin",
|
|
1114
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "status",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "string"
|
|
1121
|
+
},
|
|
1122
|
+
"description": "Uploading status.",
|
|
1123
|
+
"fieldName": "status",
|
|
1124
|
+
"inheritedFrom": {
|
|
1125
|
+
"name": "UploadFileMixin",
|
|
1126
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "string"
|
|
1132
|
+
},
|
|
1133
|
+
"description": "The theme variants to apply to the component.",
|
|
1134
|
+
"name": "theme"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "uploading",
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "boolean"
|
|
1140
|
+
},
|
|
1141
|
+
"description": "True if uploading is in progress, false otherwise.",
|
|
1142
|
+
"fieldName": "uploading",
|
|
1143
|
+
"inheritedFrom": {
|
|
1144
|
+
"name": "UploadFileMixin",
|
|
1145
|
+
"module": "src/vaadin-upload-file-mixin.js"
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
995
1149
|
"mixins": [
|
|
996
1150
|
{
|
|
997
1151
|
"name": "UploadFileMixin",
|
|
@@ -1002,139 +1156,480 @@
|
|
|
1002
1156
|
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
1003
1157
|
},
|
|
1004
1158
|
{
|
|
1005
|
-
"name": "PolylitMixin",
|
|
1006
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
1159
|
+
"name": "PolylitMixin",
|
|
1160
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "LumoInjectionMixin",
|
|
1164
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"superclass": {
|
|
1168
|
+
"name": "LitElement",
|
|
1169
|
+
"package": "lit"
|
|
1170
|
+
},
|
|
1171
|
+
"tagName": "vaadin-upload-file",
|
|
1172
|
+
"customElement": true
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"exports": [
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "js",
|
|
1178
|
+
"name": "UploadFile",
|
|
1179
|
+
"declaration": {
|
|
1180
|
+
"name": "UploadFile",
|
|
1181
|
+
"module": "src/vaadin-upload-file.js"
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"kind": "javascript-module",
|
|
1188
|
+
"path": "src/vaadin-upload-internal-manager.js",
|
|
1189
|
+
"declarations": [
|
|
1190
|
+
{
|
|
1191
|
+
"kind": "function",
|
|
1192
|
+
"name": "parseHeaders",
|
|
1193
|
+
"parameters": [
|
|
1194
|
+
{
|
|
1195
|
+
"name": "headers"
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
"description": "The `headers` property also supports a JSON string, while the manager only\naccepts an object, so strings are parsed. An invalid JSON string parses to\nundefined, which throws when the request is configured."
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"kind": "class",
|
|
1202
|
+
"description": "An `UploadManager` subclass used internally by `<vaadin-upload>`. It reads\nits configuration from the host component, and overrides the manager\nbehavior where the component behavior that predates the manager integration\ndiffers from the standalone manager.",
|
|
1203
|
+
"name": "InternalUploadManager",
|
|
1204
|
+
"members": [
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "method",
|
|
1207
|
+
"name": "abortUpload",
|
|
1208
|
+
"parameters": [
|
|
1209
|
+
{
|
|
1210
|
+
"name": "file",
|
|
1211
|
+
"description": "The file to abort",
|
|
1212
|
+
"type": {
|
|
1213
|
+
"text": "UploadFile"
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
1217
|
+
"description": "Abort an upload.",
|
|
1218
|
+
"inheritedFrom": {
|
|
1219
|
+
"name": "UploadManager",
|
|
1220
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "field",
|
|
1225
|
+
"name": "accept",
|
|
1226
|
+
"inheritedFrom": {
|
|
1227
|
+
"name": "UploadManager",
|
|
1228
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"kind": "method",
|
|
1233
|
+
"name": "addFiles",
|
|
1234
|
+
"parameters": [
|
|
1235
|
+
{
|
|
1236
|
+
"name": "files",
|
|
1237
|
+
"description": "Files to add",
|
|
1238
|
+
"type": {
|
|
1239
|
+
"text": "FileList|File[]"
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
"description": "Add files to the upload list.",
|
|
1244
|
+
"inheritedFrom": {
|
|
1245
|
+
"name": "UploadManager",
|
|
1246
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"kind": "field",
|
|
1251
|
+
"name": "disabled",
|
|
1252
|
+
"description": "Whether the upload manager is disabled.\nWhen true, connected components (upload-button, upload-drop-zone) will be automatically disabled.",
|
|
1253
|
+
"type": {
|
|
1254
|
+
"text": "boolean"
|
|
1255
|
+
},
|
|
1256
|
+
"inheritedFrom": {
|
|
1257
|
+
"name": "UploadManager",
|
|
1258
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "field",
|
|
1263
|
+
"name": "files",
|
|
1264
|
+
"description": "Override accessor from `UploadManager` to accept assigned files as-is,\nwithout validating them against the maxFiles, maxFileSize and accept\nconstraints, e.g. to show previously uploaded files.",
|
|
1265
|
+
"type": {
|
|
1266
|
+
"text": "Array<UploadFile>"
|
|
1267
|
+
},
|
|
1268
|
+
"inheritedFrom": {
|
|
1269
|
+
"name": "UploadManager",
|
|
1270
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"kind": "field",
|
|
1275
|
+
"name": "formDataName",
|
|
1276
|
+
"inheritedFrom": {
|
|
1277
|
+
"name": "UploadManager",
|
|
1278
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"kind": "field",
|
|
1283
|
+
"name": "headers",
|
|
1284
|
+
"description": "Key-Value map to send to the server.",
|
|
1285
|
+
"type": {
|
|
1286
|
+
"text": "Record<string, string>"
|
|
1287
|
+
},
|
|
1288
|
+
"inheritedFrom": {
|
|
1289
|
+
"name": "UploadManager",
|
|
1290
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1291
|
+
}
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "field",
|
|
1295
|
+
"name": "maxConcurrentUploads",
|
|
1296
|
+
"description": "Maximum number of files that can be uploaded simultaneously.",
|
|
1297
|
+
"type": {
|
|
1298
|
+
"text": "number"
|
|
1299
|
+
},
|
|
1300
|
+
"inheritedFrom": {
|
|
1301
|
+
"name": "UploadManager",
|
|
1302
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "field",
|
|
1307
|
+
"name": "maxFiles",
|
|
1308
|
+
"description": "Limit of files to upload, by default it is unlimited.",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "number"
|
|
1311
|
+
},
|
|
1312
|
+
"inheritedFrom": {
|
|
1313
|
+
"name": "UploadManager",
|
|
1314
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "field",
|
|
1319
|
+
"name": "maxFileSize",
|
|
1320
|
+
"inheritedFrom": {
|
|
1321
|
+
"name": "UploadManager",
|
|
1322
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"kind": "field",
|
|
1327
|
+
"name": "maxFilesReached",
|
|
1328
|
+
"description": "Specifies if the maximum number of files have been uploaded.",
|
|
1329
|
+
"type": {
|
|
1330
|
+
"text": "boolean"
|
|
1331
|
+
},
|
|
1332
|
+
"readonly": true,
|
|
1333
|
+
"inheritedFrom": {
|
|
1334
|
+
"name": "UploadManager",
|
|
1335
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"kind": "field",
|
|
1340
|
+
"name": "method",
|
|
1341
|
+
"description": "HTTP Method used to send the files. Only POST and PUT are allowed.",
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"inheritedFrom": {
|
|
1346
|
+
"name": "UploadManager",
|
|
1347
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "field",
|
|
1352
|
+
"name": "noAuto",
|
|
1353
|
+
"inheritedFrom": {
|
|
1354
|
+
"name": "UploadManager",
|
|
1355
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"kind": "method",
|
|
1360
|
+
"name": "removeFile",
|
|
1361
|
+
"parameters": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "file",
|
|
1364
|
+
"description": "The file to remove",
|
|
1365
|
+
"type": {
|
|
1366
|
+
"text": "UploadFile"
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"description": "Remove a file from the list.",
|
|
1371
|
+
"inheritedFrom": {
|
|
1372
|
+
"name": "UploadManager",
|
|
1373
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"kind": "method",
|
|
1378
|
+
"name": "retryUpload",
|
|
1379
|
+
"parameters": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "file"
|
|
1382
|
+
}
|
|
1383
|
+
],
|
|
1384
|
+
"description": "Override method from `UploadManager` to not restart the upload of a\nfile that is already uploading or queued, like the component\nhistorically does; only the `upload-retry` event is dispatched.",
|
|
1385
|
+
"inheritedFrom": {
|
|
1386
|
+
"name": "UploadManager",
|
|
1387
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "method",
|
|
1392
|
+
"name": "startUpload",
|
|
1393
|
+
"parameters": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "file",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "UploadFile"
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"description": "Start the upload of the given file, even if it is already complete, in\nwhich case it is uploaded again from scratch. A file that is already\nuploading or queued is ignored."
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "field",
|
|
1405
|
+
"name": "target",
|
|
1406
|
+
"inheritedFrom": {
|
|
1407
|
+
"name": "UploadManager",
|
|
1408
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"kind": "field",
|
|
1413
|
+
"name": "timeout",
|
|
1414
|
+
"inheritedFrom": {
|
|
1415
|
+
"name": "UploadManager",
|
|
1416
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"kind": "method",
|
|
1421
|
+
"name": "uploadFiles",
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "files",
|
|
1425
|
+
"default": "this.#files",
|
|
1426
|
+
"description": "Files being uploaded. Defaults to all outstanding files.",
|
|
1427
|
+
"optional": true,
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "UploadFile|UploadFile[]"
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
],
|
|
1433
|
+
"description": "Triggers the upload of any files that are not completed.",
|
|
1434
|
+
"inheritedFrom": {
|
|
1435
|
+
"name": "UploadManager",
|
|
1436
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "field",
|
|
1441
|
+
"name": "uploadFormat",
|
|
1442
|
+
"inheritedFrom": {
|
|
1443
|
+
"name": "UploadManager",
|
|
1444
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"kind": "field",
|
|
1449
|
+
"name": "withCredentials",
|
|
1450
|
+
"inheritedFrom": {
|
|
1451
|
+
"name": "UploadManager",
|
|
1452
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1456
|
+
"events": [
|
|
1457
|
+
{
|
|
1458
|
+
"type": {
|
|
1459
|
+
"text": "CustomEvent"
|
|
1460
|
+
},
|
|
1461
|
+
"description": "Fired when disabled changes",
|
|
1462
|
+
"name": "disabled-changed",
|
|
1463
|
+
"inheritedFrom": {
|
|
1464
|
+
"name": "UploadManager",
|
|
1465
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "file-reject",
|
|
1470
|
+
"type": {
|
|
1471
|
+
"text": "CustomEvent"
|
|
1472
|
+
},
|
|
1473
|
+
"description": "Fired when a file cannot be added due to constraints",
|
|
1474
|
+
"inheritedFrom": {
|
|
1475
|
+
"name": "UploadManager",
|
|
1476
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "file-remove",
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "CustomEvent"
|
|
1483
|
+
},
|
|
1484
|
+
"description": "Fired when a file is removed from the list",
|
|
1485
|
+
"inheritedFrom": {
|
|
1486
|
+
"name": "UploadManager",
|
|
1487
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"name": "files-changed",
|
|
1492
|
+
"type": {
|
|
1493
|
+
"text": "CustomEvent"
|
|
1494
|
+
},
|
|
1495
|
+
"description": "Fired when the files array changes",
|
|
1496
|
+
"inheritedFrom": {
|
|
1497
|
+
"name": "UploadManager",
|
|
1498
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "max-files-reached-changed",
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "CustomEvent"
|
|
1505
|
+
},
|
|
1506
|
+
"description": "Fired when maxFilesReached changes",
|
|
1507
|
+
"inheritedFrom": {
|
|
1508
|
+
"name": "UploadManager",
|
|
1509
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1510
|
+
}
|
|
1007
1511
|
},
|
|
1008
1512
|
{
|
|
1009
|
-
"name": "
|
|
1010
|
-
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
1011
|
-
}
|
|
1012
|
-
],
|
|
1013
|
-
"superclass": {
|
|
1014
|
-
"name": "LitElement",
|
|
1015
|
-
"package": "lit"
|
|
1016
|
-
},
|
|
1017
|
-
"tagName": "vaadin-upload-file",
|
|
1018
|
-
"customElement": true,
|
|
1019
|
-
"attributes": [
|
|
1020
|
-
{
|
|
1021
|
-
"name": "complete",
|
|
1513
|
+
"name": "upload-abort",
|
|
1022
1514
|
"type": {
|
|
1023
|
-
"text": "
|
|
1515
|
+
"text": "CustomEvent"
|
|
1024
1516
|
},
|
|
1025
|
-
"description": "
|
|
1026
|
-
"fieldName": "complete",
|
|
1517
|
+
"description": "Fired when abort is requested",
|
|
1027
1518
|
"inheritedFrom": {
|
|
1028
|
-
"name": "
|
|
1029
|
-
"module": "src/vaadin-upload-
|
|
1519
|
+
"name": "UploadManager",
|
|
1520
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1030
1521
|
}
|
|
1031
1522
|
},
|
|
1032
1523
|
{
|
|
1033
|
-
"name": "
|
|
1524
|
+
"name": "upload-before",
|
|
1034
1525
|
"type": {
|
|
1035
|
-
"text": "
|
|
1526
|
+
"text": "CustomEvent"
|
|
1036
1527
|
},
|
|
1037
|
-
"description": "
|
|
1038
|
-
"fieldName": "disabled",
|
|
1528
|
+
"description": "Fired before the XHR is opened (can modify uploadTarget)",
|
|
1039
1529
|
"inheritedFrom": {
|
|
1040
|
-
"name": "
|
|
1041
|
-
"module": "src/vaadin-upload-
|
|
1530
|
+
"name": "UploadManager",
|
|
1531
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1042
1532
|
}
|
|
1043
1533
|
},
|
|
1044
1534
|
{
|
|
1045
|
-
"name": "error
|
|
1535
|
+
"name": "upload-error",
|
|
1046
1536
|
"type": {
|
|
1047
|
-
"text": "
|
|
1537
|
+
"text": "CustomEvent"
|
|
1048
1538
|
},
|
|
1049
|
-
"description": "
|
|
1050
|
-
"fieldName": "errorMessage",
|
|
1539
|
+
"description": "Fired on upload error",
|
|
1051
1540
|
"inheritedFrom": {
|
|
1052
|
-
"name": "
|
|
1053
|
-
"module": "src/vaadin-upload-
|
|
1541
|
+
"name": "UploadManager",
|
|
1542
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1054
1543
|
}
|
|
1055
1544
|
},
|
|
1056
1545
|
{
|
|
1057
|
-
"name": "
|
|
1546
|
+
"name": "upload-progress",
|
|
1058
1547
|
"type": {
|
|
1059
|
-
"text": "
|
|
1548
|
+
"text": "CustomEvent"
|
|
1060
1549
|
},
|
|
1061
|
-
"description": "
|
|
1062
|
-
"fieldName": "fileName",
|
|
1550
|
+
"description": "Fired during upload progress",
|
|
1063
1551
|
"inheritedFrom": {
|
|
1064
|
-
"name": "
|
|
1065
|
-
"module": "src/vaadin-upload-
|
|
1552
|
+
"name": "UploadManager",
|
|
1553
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1066
1554
|
}
|
|
1067
1555
|
},
|
|
1068
1556
|
{
|
|
1069
|
-
"name": "
|
|
1557
|
+
"name": "upload-request",
|
|
1070
1558
|
"type": {
|
|
1071
|
-
"text": "
|
|
1559
|
+
"text": "CustomEvent"
|
|
1072
1560
|
},
|
|
1073
|
-
"description": "
|
|
1074
|
-
"fieldName": "held",
|
|
1561
|
+
"description": "Fired after the XHR is opened (can modify FormData/headers)",
|
|
1075
1562
|
"inheritedFrom": {
|
|
1076
|
-
"name": "
|
|
1077
|
-
"module": "src/vaadin-upload-
|
|
1563
|
+
"name": "UploadManager",
|
|
1564
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1078
1565
|
}
|
|
1079
1566
|
},
|
|
1080
1567
|
{
|
|
1081
|
-
"name": "
|
|
1568
|
+
"name": "upload-response",
|
|
1082
1569
|
"type": {
|
|
1083
|
-
"text": "
|
|
1570
|
+
"text": "CustomEvent"
|
|
1084
1571
|
},
|
|
1085
|
-
"description": "
|
|
1086
|
-
"fieldName": "indeterminate",
|
|
1572
|
+
"description": "Fired when response is received",
|
|
1087
1573
|
"inheritedFrom": {
|
|
1088
|
-
"name": "
|
|
1089
|
-
"module": "src/vaadin-upload-
|
|
1574
|
+
"name": "UploadManager",
|
|
1575
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1090
1576
|
}
|
|
1091
1577
|
},
|
|
1092
1578
|
{
|
|
1093
|
-
"name": "
|
|
1579
|
+
"name": "upload-retry",
|
|
1094
1580
|
"type": {
|
|
1095
|
-
"text": "
|
|
1581
|
+
"text": "CustomEvent"
|
|
1096
1582
|
},
|
|
1097
|
-
"description": "
|
|
1098
|
-
"fieldName": "progress",
|
|
1583
|
+
"description": "Fired when retry is requested",
|
|
1099
1584
|
"inheritedFrom": {
|
|
1100
|
-
"name": "
|
|
1101
|
-
"module": "src/vaadin-upload-
|
|
1585
|
+
"name": "UploadManager",
|
|
1586
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1102
1587
|
}
|
|
1103
1588
|
},
|
|
1104
1589
|
{
|
|
1105
|
-
"name": "
|
|
1590
|
+
"name": "upload-start",
|
|
1106
1591
|
"type": {
|
|
1107
|
-
"text": "
|
|
1592
|
+
"text": "CustomEvent"
|
|
1108
1593
|
},
|
|
1109
|
-
"description": "
|
|
1110
|
-
"fieldName": "status",
|
|
1594
|
+
"description": "Fired when the upload starts",
|
|
1111
1595
|
"inheritedFrom": {
|
|
1112
|
-
"name": "
|
|
1113
|
-
"module": "src/vaadin-upload-
|
|
1596
|
+
"name": "UploadManager",
|
|
1597
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1114
1598
|
}
|
|
1115
1599
|
},
|
|
1116
1600
|
{
|
|
1117
|
-
"name": "uploading",
|
|
1118
1601
|
"type": {
|
|
1119
|
-
"text": "
|
|
1602
|
+
"text": "CustomEvent"
|
|
1120
1603
|
},
|
|
1121
|
-
"description": "
|
|
1122
|
-
"
|
|
1604
|
+
"description": "Fired on successful upload",
|
|
1605
|
+
"name": "upload-success",
|
|
1123
1606
|
"inheritedFrom": {
|
|
1124
|
-
"name": "
|
|
1125
|
-
"module": "src/vaadin-upload-
|
|
1607
|
+
"name": "UploadManager",
|
|
1608
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1126
1609
|
}
|
|
1127
1610
|
}
|
|
1128
|
-
]
|
|
1611
|
+
],
|
|
1612
|
+
"superclass": {
|
|
1613
|
+
"name": "UploadManager",
|
|
1614
|
+
"module": "src/vaadin-upload-manager.js"
|
|
1615
|
+
}
|
|
1129
1616
|
}
|
|
1130
1617
|
],
|
|
1131
1618
|
"exports": [
|
|
1132
1619
|
{
|
|
1133
1620
|
"kind": "js",
|
|
1134
|
-
"name": "
|
|
1621
|
+
"name": "parseHeaders",
|
|
1135
1622
|
"declaration": {
|
|
1136
|
-
"name": "
|
|
1137
|
-
"module": "src/vaadin-upload-
|
|
1623
|
+
"name": "parseHeaders",
|
|
1624
|
+
"module": "src/vaadin-upload-internal-manager.js"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"kind": "js",
|
|
1629
|
+
"name": "InternalUploadManager",
|
|
1630
|
+
"declaration": {
|
|
1631
|
+
"name": "InternalUploadManager",
|
|
1632
|
+
"module": "src/vaadin-upload-internal-manager.js"
|
|
1138
1633
|
}
|
|
1139
1634
|
}
|
|
1140
1635
|
]
|
|
@@ -1446,7 +1941,7 @@
|
|
|
1446
1941
|
"type": {
|
|
1447
1942
|
"text": "object"
|
|
1448
1943
|
},
|
|
1449
|
-
"default": "{ dropFiles: { one: 'Drop file here', many: 'Drop files here', }, addFiles: { one: 'Upload File...', many: 'Upload Files...', }, error:
|
|
1944
|
+
"default": "{ dropFiles: { one: 'Drop file here', many: 'Drop files here', }, addFiles: { one: 'Upload File...', many: 'Upload Files...', }, error: FILE_LIST_DEFAULT_I18N.error, uploading: FILE_LIST_DEFAULT_I18N.uploading, file: FILE_LIST_DEFAULT_I18N.file, units: FILE_LIST_DEFAULT_I18N.units, }"
|
|
1450
1945
|
},
|
|
1451
1946
|
{
|
|
1452
1947
|
"kind": "mixin",
|
|
@@ -1669,43 +2164,7 @@
|
|
|
1669
2164
|
}
|
|
1670
2165
|
},
|
|
1671
2166
|
{
|
|
1672
|
-
"name": "upload-
|
|
1673
|
-
"type": {
|
|
1674
|
-
"text": "CustomEvent"
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
"name": "upload-before",
|
|
1679
|
-
"type": {
|
|
1680
|
-
"text": "CustomEvent"
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"name": "upload-progress",
|
|
1685
|
-
"type": {
|
|
1686
|
-
"text": "CustomEvent"
|
|
1687
|
-
}
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
"name": "upload-request",
|
|
1691
|
-
"type": {
|
|
1692
|
-
"text": "CustomEvent"
|
|
1693
|
-
}
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
"name": "upload-response",
|
|
1697
|
-
"type": {
|
|
1698
|
-
"text": "CustomEvent"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"name": "upload-retry",
|
|
1703
|
-
"type": {
|
|
1704
|
-
"text": "CustomEvent"
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"name": "upload-start",
|
|
2167
|
+
"name": "upload-error",
|
|
1709
2168
|
"type": {
|
|
1710
2169
|
"text": "CustomEvent"
|
|
1711
2170
|
}
|
|
@@ -1857,15 +2316,6 @@
|
|
|
1857
2316
|
"name": "superClass"
|
|
1858
2317
|
}
|
|
1859
2318
|
]
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"kind": "variable",
|
|
1863
|
-
"name": "xhr",
|
|
1864
|
-
"default": "(file.xhr = this._createXhr())"
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"kind": "variable",
|
|
1868
|
-
"name": "requestBody"
|
|
1869
2319
|
}
|
|
1870
2320
|
],
|
|
1871
2321
|
"exports": [
|
|
@@ -2208,88 +2658,64 @@
|
|
|
2208
2658
|
"name": "max-files-reached-changed"
|
|
2209
2659
|
},
|
|
2210
2660
|
{
|
|
2211
|
-
"name": "upload-abort",
|
|
2212
2661
|
"type": {
|
|
2213
2662
|
"text": "CustomEvent"
|
|
2214
2663
|
},
|
|
2215
2664
|
"description": "Fired when upload abort is requested. If the default is prevented, the upload is not aborted.",
|
|
2216
|
-
"
|
|
2217
|
-
"name": "UploadMixin",
|
|
2218
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2219
|
-
}
|
|
2665
|
+
"name": "upload-abort"
|
|
2220
2666
|
},
|
|
2221
2667
|
{
|
|
2222
|
-
"name": "upload-before",
|
|
2223
2668
|
"type": {
|
|
2224
2669
|
"text": "CustomEvent"
|
|
2225
2670
|
},
|
|
2226
2671
|
"description": "Fired before the XHR is opened. Useful for changing the request URL. If the default is prevented, the XHR is not opened.",
|
|
2227
|
-
"
|
|
2228
|
-
"name": "UploadMixin",
|
|
2229
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2230
|
-
}
|
|
2672
|
+
"name": "upload-before"
|
|
2231
2673
|
},
|
|
2232
2674
|
{
|
|
2675
|
+
"name": "upload-error",
|
|
2233
2676
|
"type": {
|
|
2234
2677
|
"text": "CustomEvent"
|
|
2235
2678
|
},
|
|
2236
2679
|
"description": "Fired when the upload process fails.",
|
|
2237
|
-
"
|
|
2680
|
+
"inheritedFrom": {
|
|
2681
|
+
"name": "UploadMixin",
|
|
2682
|
+
"module": "src/vaadin-upload-mixin.js"
|
|
2683
|
+
}
|
|
2238
2684
|
},
|
|
2239
2685
|
{
|
|
2240
|
-
"name": "upload-progress",
|
|
2241
2686
|
"type": {
|
|
2242
2687
|
"text": "CustomEvent"
|
|
2243
2688
|
},
|
|
2244
2689
|
"description": "Fired as many times as the progress is updated.",
|
|
2245
|
-
"
|
|
2246
|
-
"name": "UploadMixin",
|
|
2247
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2248
|
-
}
|
|
2690
|
+
"name": "upload-progress"
|
|
2249
2691
|
},
|
|
2250
2692
|
{
|
|
2251
|
-
"name": "upload-request",
|
|
2252
2693
|
"type": {
|
|
2253
2694
|
"text": "CustomEvent"
|
|
2254
2695
|
},
|
|
2255
2696
|
"description": "Fired when the XHR has been opened but not sent yet. Useful for appending data to the FormData or modifying request parameters. If the default is prevented, the request is not sent.",
|
|
2256
|
-
"
|
|
2257
|
-
"name": "UploadMixin",
|
|
2258
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2259
|
-
}
|
|
2697
|
+
"name": "upload-request"
|
|
2260
2698
|
},
|
|
2261
2699
|
{
|
|
2262
|
-
"name": "upload-response",
|
|
2263
2700
|
"type": {
|
|
2264
2701
|
"text": "CustomEvent"
|
|
2265
2702
|
},
|
|
2266
2703
|
"description": "Fired when the server response is received, before the component analyzes it. If the default is prevented, the component returns and the listener can handle `xhr` and `file` directly; otherwise the normal flow checks `xhr.status` and `file.error`, which can be modified to force a custom outcome.",
|
|
2267
|
-
"
|
|
2268
|
-
"name": "UploadMixin",
|
|
2269
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2270
|
-
}
|
|
2704
|
+
"name": "upload-response"
|
|
2271
2705
|
},
|
|
2272
2706
|
{
|
|
2273
|
-
"name": "upload-retry",
|
|
2274
2707
|
"type": {
|
|
2275
2708
|
"text": "CustomEvent"
|
|
2276
2709
|
},
|
|
2277
2710
|
"description": "Fired when retry upload is requested. If the default is prevented, the retry is not performed.",
|
|
2278
|
-
"
|
|
2279
|
-
"name": "UploadMixin",
|
|
2280
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2281
|
-
}
|
|
2711
|
+
"name": "upload-retry"
|
|
2282
2712
|
},
|
|
2283
2713
|
{
|
|
2284
|
-
"name": "upload-start",
|
|
2285
2714
|
"type": {
|
|
2286
2715
|
"text": "CustomEvent"
|
|
2287
2716
|
},
|
|
2288
2717
|
"description": "Fired when the XHR is sent.",
|
|
2289
|
-
"
|
|
2290
|
-
"name": "UploadMixin",
|
|
2291
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2292
|
-
}
|
|
2718
|
+
"name": "upload-start"
|
|
2293
2719
|
},
|
|
2294
2720
|
{
|
|
2295
2721
|
"type": {
|
|
@@ -2299,34 +2725,6 @@
|
|
|
2299
2725
|
"name": "upload-success"
|
|
2300
2726
|
}
|
|
2301
2727
|
],
|
|
2302
|
-
"mixins": [
|
|
2303
|
-
{
|
|
2304
|
-
"name": "UploadMixin",
|
|
2305
|
-
"module": "src/vaadin-upload-mixin.js"
|
|
2306
|
-
},
|
|
2307
|
-
{
|
|
2308
|
-
"name": "ElementMixin",
|
|
2309
|
-
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
2310
|
-
},
|
|
2311
|
-
{
|
|
2312
|
-
"name": "ThemableMixin",
|
|
2313
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
2314
|
-
},
|
|
2315
|
-
{
|
|
2316
|
-
"name": "PolylitMixin",
|
|
2317
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"name": "LumoInjectionMixin",
|
|
2321
|
-
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
2322
|
-
}
|
|
2323
|
-
],
|
|
2324
|
-
"superclass": {
|
|
2325
|
-
"name": "LitElement",
|
|
2326
|
-
"package": "lit"
|
|
2327
|
-
},
|
|
2328
|
-
"tagName": "vaadin-upload",
|
|
2329
|
-
"customElement": true,
|
|
2330
2728
|
"attributes": [
|
|
2331
2729
|
{
|
|
2332
2730
|
"name": "accept",
|
|
@@ -2485,6 +2883,13 @@
|
|
|
2485
2883
|
"module": "src/vaadin-upload-mixin.js"
|
|
2486
2884
|
}
|
|
2487
2885
|
},
|
|
2886
|
+
{
|
|
2887
|
+
"type": {
|
|
2888
|
+
"text": "string"
|
|
2889
|
+
},
|
|
2890
|
+
"description": "The theme variants to apply to the component.",
|
|
2891
|
+
"name": "theme"
|
|
2892
|
+
},
|
|
2488
2893
|
{
|
|
2489
2894
|
"name": "timeout",
|
|
2490
2895
|
"type": {
|
|
@@ -2521,7 +2926,35 @@
|
|
|
2521
2926
|
"module": "src/vaadin-upload-mixin.js"
|
|
2522
2927
|
}
|
|
2523
2928
|
}
|
|
2524
|
-
]
|
|
2929
|
+
],
|
|
2930
|
+
"mixins": [
|
|
2931
|
+
{
|
|
2932
|
+
"name": "UploadMixin",
|
|
2933
|
+
"module": "src/vaadin-upload-mixin.js"
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"name": "ElementMixin",
|
|
2937
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "ThemableMixin",
|
|
2941
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"name": "PolylitMixin",
|
|
2945
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"name": "LumoInjectionMixin",
|
|
2949
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
2950
|
+
}
|
|
2951
|
+
],
|
|
2952
|
+
"superclass": {
|
|
2953
|
+
"name": "LitElement",
|
|
2954
|
+
"package": "lit"
|
|
2955
|
+
},
|
|
2956
|
+
"tagName": "vaadin-upload",
|
|
2957
|
+
"customElement": true
|
|
2525
2958
|
}
|
|
2526
2959
|
],
|
|
2527
2960
|
"exports": [
|