@syncfusion/ej2-inputs 24.2.5 → 24.2.7
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/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +9 -4
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +9 -4
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/uploader/uploader.js +9 -4
|
@@ -8832,12 +8832,14 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
8832
8832
|
if (event.type === 'paste' && this.browserName !== 'msie' && this.browserName !== 'edge' && this.browserName !== 'safari') {
|
|
8833
8833
|
this.element.files = event.clipboardData.files;
|
|
8834
8834
|
}
|
|
8835
|
-
if (item.length !== 1) {
|
|
8835
|
+
if (item.length !== 1 && !this.multiple) {
|
|
8836
8836
|
return;
|
|
8837
8837
|
}
|
|
8838
|
-
var
|
|
8839
|
-
|
|
8840
|
-
|
|
8838
|
+
for (var file = 0; file < item.length; file++) {
|
|
8839
|
+
var pasteFile = [].slice.call(item)[file];
|
|
8840
|
+
if ((pasteFile.kind === 'file') || pasteFile.type.match('^image/')) {
|
|
8841
|
+
this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
|
|
8842
|
+
}
|
|
8841
8843
|
}
|
|
8842
8844
|
};
|
|
8843
8845
|
Uploader.prototype.getSelectedFiles = function (index) {
|
|
@@ -10085,6 +10087,9 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
10085
10087
|
(_this.getLiElement(file)).classList.remove(RESTRICT_RETRY);
|
|
10086
10088
|
}
|
|
10087
10089
|
}
|
|
10090
|
+
else if (!_this.showFileList) {
|
|
10091
|
+
_this.checkActionComplete(true);
|
|
10092
|
+
}
|
|
10088
10093
|
});
|
|
10089
10094
|
};
|
|
10090
10095
|
Uploader.prototype.uploadFailed = function (e, file) {
|