@vaadin/upload
Advanced tools
Comparing version 23.0.9 to 23.0.10
{ | ||
"name": "@vaadin/upload", | ||
"version": "23.0.9", | ||
"version": "23.0.10", | ||
"publishConfig": { | ||
@@ -37,16 +37,16 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/button": "^23.0.9", | ||
"@vaadin/component-base": "^23.0.9", | ||
"@vaadin/progress-bar": "^23.0.9", | ||
"@vaadin/vaadin-lumo-styles": "^23.0.9", | ||
"@vaadin/vaadin-material-styles": "^23.0.9", | ||
"@vaadin/vaadin-themable-mixin": "^23.0.9" | ||
"@vaadin/button": "^23.0.10", | ||
"@vaadin/component-base": "^23.0.10", | ||
"@vaadin/progress-bar": "^23.0.10", | ||
"@vaadin/vaadin-lumo-styles": "^23.0.10", | ||
"@vaadin/vaadin-material-styles": "^23.0.10", | ||
"@vaadin/vaadin-themable-mixin": "^23.0.10" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/form-layout": "^23.0.9", | ||
"@vaadin/form-layout": "^23.0.10", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
"sinon": "^9.2.0" | ||
}, | ||
"gitHead": "4d687bdd48ba78d55f3371a78b70818e4dfca1a3" | ||
"gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3" | ||
} |
@@ -146,4 +146,4 @@ /** | ||
value: 0, | ||
reflectToAttribute: true | ||
} | ||
reflectToAttribute: true, | ||
}, | ||
}; | ||
@@ -158,3 +158,3 @@ } | ||
'_toggleHostAttribute(file.uploading, "uploading")', | ||
'_toggleHostAttribute(file.complete, "complete")' | ||
'_toggleHostAttribute(file.complete, "complete")', | ||
]; | ||
@@ -208,4 +208,4 @@ } | ||
bubbles: true, | ||
composed: true | ||
}) | ||
composed: true, | ||
}), | ||
); | ||
@@ -226,4 +226,4 @@ } | ||
bubbles: true, | ||
composed: true | ||
}) | ||
composed: true, | ||
}), | ||
); | ||
@@ -230,0 +230,0 @@ } |
@@ -404,3 +404,3 @@ /** | ||
listener: (this: Upload, ev: UploadEventMap[K]) => void, | ||
options?: boolean | AddEventListenerOptions | ||
options?: boolean | AddEventListenerOptions, | ||
): void; | ||
@@ -411,3 +411,3 @@ | ||
listener: (this: Upload, ev: UploadEventMap[K]) => void, | ||
options?: boolean | EventListenerOptions | ||
options?: boolean | EventListenerOptions, | ||
): void; | ||
@@ -414,0 +414,0 @@ } |
@@ -146,3 +146,3 @@ /** | ||
reflectToAttribute: true, | ||
value: isTouch | ||
value: isTouch, | ||
}, | ||
@@ -157,3 +157,3 @@ | ||
type: String, | ||
value: '' | ||
value: '', | ||
}, | ||
@@ -167,3 +167,3 @@ | ||
type: String, | ||
value: 'POST' | ||
value: 'POST', | ||
}, | ||
@@ -181,3 +181,3 @@ | ||
type: Object, | ||
value: {} | ||
value: {}, | ||
}, | ||
@@ -192,3 +192,3 @@ | ||
type: Number, | ||
value: 0 | ||
value: 0, | ||
}, | ||
@@ -200,3 +200,3 @@ | ||
value: false, | ||
observer: '_dragoverChanged' | ||
observer: '_dragoverChanged', | ||
}, | ||
@@ -232,3 +232,3 @@ | ||
return []; | ||
} | ||
}, | ||
}, | ||
@@ -244,3 +244,3 @@ | ||
type: Number, | ||
value: Infinity | ||
value: Infinity, | ||
}, | ||
@@ -259,3 +259,3 @@ | ||
reflectToAttribute: true, | ||
computed: '_maxFilesAdded(maxFiles, files.length)' | ||
computed: '_maxFilesAdded(maxFiles, files.length)', | ||
}, | ||
@@ -274,3 +274,3 @@ | ||
type: String, | ||
value: '' | ||
value: '', | ||
}, | ||
@@ -288,3 +288,3 @@ | ||
type: Number, | ||
value: Infinity | ||
value: Infinity, | ||
}, | ||
@@ -300,3 +300,3 @@ | ||
value: false, | ||
observer: '_dragoverValidChanged' | ||
observer: '_dragoverValidChanged', | ||
}, | ||
@@ -311,3 +311,3 @@ | ||
type: String, | ||
value: 'file' | ||
value: 'file', | ||
}, | ||
@@ -323,3 +323,3 @@ | ||
type: Boolean, | ||
value: false | ||
value: false, | ||
}, | ||
@@ -334,3 +334,3 @@ | ||
type: Boolean, | ||
value: false | ||
value: false, | ||
}, | ||
@@ -410,7 +410,7 @@ | ||
one: 'Drop file here', | ||
many: 'Drop files here' | ||
many: 'Drop files here', | ||
}, | ||
addFiles: { | ||
one: 'Upload File...', | ||
many: 'Upload Files...' | ||
many: 'Upload Files...', | ||
}, | ||
@@ -420,3 +420,3 @@ error: { | ||
fileIsTooBig: 'File is Too Big.', | ||
incorrectFileType: 'Incorrect File Type.' | ||
incorrectFileType: 'Incorrect File Type.', | ||
}, | ||
@@ -428,7 +428,7 @@ uploading: { | ||
processing: 'Processing File...', | ||
held: 'Queued' | ||
held: 'Queued', | ||
}, | ||
remainingTime: { | ||
prefix: 'remaining time: ', | ||
unknown: 'unknown remaining time' | ||
unknown: 'unknown remaining time', | ||
}, | ||
@@ -438,4 +438,4 @@ error: { | ||
unexpectedServerError: 'Upload failed due to server error', | ||
forbidden: 'Upload forbidden' | ||
} | ||
forbidden: 'Upload forbidden', | ||
}, | ||
}, | ||
@@ -445,10 +445,10 @@ file: { | ||
start: 'Start', | ||
remove: 'Remove' | ||
remove: 'Remove', | ||
}, | ||
units: { | ||
size: ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] | ||
} | ||
size: ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], | ||
}, | ||
}; | ||
} | ||
} | ||
}, | ||
}, | ||
}; | ||
@@ -671,4 +671,4 @@ } | ||
detail: { file, xhr }, | ||
cancelable: true | ||
}) | ||
cancelable: true, | ||
}), | ||
); | ||
@@ -690,4 +690,4 @@ | ||
new CustomEvent(`upload-${file.error ? 'error' : 'success'}`, { | ||
detail: { file, xhr } | ||
}) | ||
detail: { file, xhr }, | ||
}), | ||
); | ||
@@ -706,4 +706,4 @@ this._notifyFileChanges(file); | ||
detail: { file, xhr }, | ||
cancelable: true | ||
}) | ||
cancelable: true, | ||
}), | ||
); | ||
@@ -726,4 +726,4 @@ if (!evt) { | ||
new CustomEvent('upload-start', { | ||
detail: { file, xhr } | ||
}) | ||
detail: { file, xhr }, | ||
}), | ||
); | ||
@@ -738,4 +738,4 @@ this._notifyFileChanges(file); | ||
detail: { file, xhr, formData }, | ||
cancelable: true | ||
}) | ||
cancelable: true, | ||
}), | ||
); | ||
@@ -752,4 +752,4 @@ if (uploadEvt) { | ||
detail: { file, xhr: file.xhr }, | ||
cancelable: true | ||
}) | ||
cancelable: true, | ||
}), | ||
); | ||
@@ -766,4 +766,4 @@ if (evt) { | ||
detail: { file, xhr: file.xhr }, | ||
cancelable: true | ||
}) | ||
cancelable: true, | ||
}), | ||
); | ||
@@ -805,4 +805,4 @@ if (evt) { | ||
new CustomEvent('file-reject', { | ||
detail: { file, error: this.i18n.error.tooManyFiles } | ||
}) | ||
detail: { file, error: this.i18n.error.tooManyFiles }, | ||
}), | ||
); | ||
@@ -814,4 +814,4 @@ return; | ||
new CustomEvent('file-reject', { | ||
detail: { file, error: this.i18n.error.fileIsTooBig } | ||
}) | ||
detail: { file, error: this.i18n.error.fileIsTooBig }, | ||
}), | ||
); | ||
@@ -825,4 +825,4 @@ return; | ||
new CustomEvent('file-reject', { | ||
detail: { file, error: this.i18n.error.incorrectFileType } | ||
}) | ||
detail: { file, error: this.i18n.error.incorrectFileType }, | ||
}), | ||
); | ||
@@ -829,0 +829,0 @@ return; |
@@ -70,3 +70,3 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js'; | ||
`, | ||
{ moduleId: 'lumo-upload' } | ||
{ moduleId: 'lumo-upload' }, | ||
); | ||
@@ -73,0 +73,0 @@ |
@@ -96,3 +96,3 @@ import '@vaadin/vaadin-material-styles/color.js'; | ||
`, | ||
{ moduleId: 'material-upload' } | ||
{ moduleId: 'material-upload' }, | ||
); | ||
@@ -251,3 +251,3 @@ | ||
`, | ||
{ moduleId: 'material-upload-file' } | ||
{ moduleId: 'material-upload-file' }, | ||
); |
79373