@vaadin/upload 24.5.1 → 24.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -10
- package/src/vaadin-upload-mixin.d.ts +4 -4
- package/src/vaadin-upload-mixin.js +4 -4
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/upload",
|
|
3
|
-
"version": "24.5.
|
|
3
|
+
"version": "24.5.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
44
44
|
"@polymer/polymer": "^3.0.0",
|
|
45
|
-
"@vaadin/a11y-base": "~24.5.
|
|
46
|
-
"@vaadin/button": "~24.5.
|
|
47
|
-
"@vaadin/component-base": "~24.5.
|
|
48
|
-
"@vaadin/progress-bar": "~24.5.
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "~24.5.
|
|
50
|
-
"@vaadin/vaadin-material-styles": "~24.5.
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "~24.5.
|
|
45
|
+
"@vaadin/a11y-base": "~24.5.2",
|
|
46
|
+
"@vaadin/button": "~24.5.2",
|
|
47
|
+
"@vaadin/component-base": "~24.5.2",
|
|
48
|
+
"@vaadin/progress-bar": "~24.5.2",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~24.5.2",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "~24.5.2",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "~24.5.2",
|
|
52
52
|
"lit": "^3.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@vaadin/chai-plugins": "~24.5.
|
|
55
|
+
"@vaadin/chai-plugins": "~24.5.2",
|
|
56
56
|
"@vaadin/testing-helpers": "^1.0.0",
|
|
57
57
|
"sinon": "^18.0.0"
|
|
58
58
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "3e07e97ed0bf355373d1ef0216a3954113e4a40f"
|
|
64
64
|
}
|
|
@@ -198,7 +198,7 @@ export declare class UploadMixinClass {
|
|
|
198
198
|
* many: 'Drop files here'
|
|
199
199
|
* },
|
|
200
200
|
* addFiles: {
|
|
201
|
-
* one: '
|
|
201
|
+
* one: 'Upload File...',
|
|
202
202
|
* many: 'Upload Files...'
|
|
203
203
|
* },
|
|
204
204
|
* error: {
|
|
@@ -218,9 +218,9 @@ export declare class UploadMixinClass {
|
|
|
218
218
|
* unknown: 'unknown remaining time'
|
|
219
219
|
* },
|
|
220
220
|
* error: {
|
|
221
|
-
* serverUnavailable: '
|
|
222
|
-
* unexpectedServerError: '
|
|
223
|
-
* forbidden: '
|
|
221
|
+
* serverUnavailable: 'Upload failed, please try again later',
|
|
222
|
+
* unexpectedServerError: 'Upload failed due to server error',
|
|
223
|
+
* forbidden: 'Upload forbidden'
|
|
224
224
|
* }
|
|
225
225
|
* },
|
|
226
226
|
* file: {
|
|
@@ -276,7 +276,7 @@ export const UploadMixin = (superClass) =>
|
|
|
276
276
|
* many: 'Drop files here'
|
|
277
277
|
* },
|
|
278
278
|
* addFiles: {
|
|
279
|
-
* one: '
|
|
279
|
+
* one: 'Upload File...',
|
|
280
280
|
* many: 'Upload Files...'
|
|
281
281
|
* },
|
|
282
282
|
* error: {
|
|
@@ -296,9 +296,9 @@ export const UploadMixin = (superClass) =>
|
|
|
296
296
|
* unknown: 'unknown remaining time'
|
|
297
297
|
* },
|
|
298
298
|
* error: {
|
|
299
|
-
* serverUnavailable: '
|
|
300
|
-
* unexpectedServerError: '
|
|
301
|
-
* forbidden: '
|
|
299
|
+
* serverUnavailable: 'Upload failed, please try again later',
|
|
300
|
+
* unexpectedServerError: 'Upload failed due to server error',
|
|
301
|
+
* forbidden: 'Upload forbidden'
|
|
302
302
|
* }
|
|
303
303
|
* },
|
|
304
304
|
* file: {
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/upload",
|
|
4
|
-
"version": "24.5.
|
|
4
|
+
"version": "24.5.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"name": "i18n",
|
|
483
|
-
"description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n dropFiles: {\n one: 'Drop file here',\n many: 'Drop files here'\n },\n addFiles: {\n one: '
|
|
483
|
+
"description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n dropFiles: {\n one: 'Drop file here',\n many: 'Drop files here'\n },\n addFiles: {\n one: 'Upload File...',\n many: 'Upload Files...'\n },\n error: {\n tooManyFiles: 'Too Many Files.',\n fileIsTooBig: 'File is Too Big.',\n incorrectFileType: 'Incorrect File Type.'\n },\n uploading: {\n status: {\n connecting: 'Connecting...',\n stalled: 'Stalled',\n processing: 'Processing File...',\n held: 'Queued'\n },\n remainingTime: {\n prefix: 'remaining time: ',\n unknown: 'unknown remaining time'\n },\n error: {\n serverUnavailable: 'Upload failed, please try again later',\n unexpectedServerError: 'Upload failed due to server error',\n forbidden: 'Upload forbidden'\n }\n },\n file: {\n retry: 'Retry',\n start: 'Start',\n remove: 'Remove'\n },\n units: {\n size: ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],\n sizeBase: 1000\n },\n formatSize: function(bytes) {\n // returns the size followed by the best suitable unit\n },\n formatTime: function(seconds, [secs, mins, hours]) {\n // returns a 'HH:MM:SS' string\n }\n}\n```",
|
|
484
484
|
"value": {
|
|
485
485
|
"type": [
|
|
486
486
|
"UploadI18n"
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/upload",
|
|
4
|
-
"version": "24.5.
|
|
4
|
+
"version": "24.5.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"name": ".i18n",
|
|
213
|
-
"description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n dropFiles: {\n one: 'Drop file here',\n many: 'Drop files here'\n },\n addFiles: {\n one: '
|
|
213
|
+
"description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n dropFiles: {\n one: 'Drop file here',\n many: 'Drop files here'\n },\n addFiles: {\n one: 'Upload File...',\n many: 'Upload Files...'\n },\n error: {\n tooManyFiles: 'Too Many Files.',\n fileIsTooBig: 'File is Too Big.',\n incorrectFileType: 'Incorrect File Type.'\n },\n uploading: {\n status: {\n connecting: 'Connecting...',\n stalled: 'Stalled',\n processing: 'Processing File...',\n held: 'Queued'\n },\n remainingTime: {\n prefix: 'remaining time: ',\n unknown: 'unknown remaining time'\n },\n error: {\n serverUnavailable: 'Upload failed, please try again later',\n unexpectedServerError: 'Upload failed due to server error',\n forbidden: 'Upload forbidden'\n }\n },\n file: {\n retry: 'Retry',\n start: 'Start',\n remove: 'Remove'\n },\n units: {\n size: ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],\n sizeBase: 1000\n },\n formatSize: function(bytes) {\n // returns the size followed by the best suitable unit\n },\n formatTime: function(seconds, [secs, mins, hours]) {\n // returns a 'HH:MM:SS' string\n }\n}\n```",
|
|
214
214
|
"value": {
|
|
215
215
|
"kind": "expression"
|
|
216
216
|
}
|