@syncfusion/ej2-inputs 24.2.6 → 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.
@@ -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 pasteFile = [].slice.call(item)[0];
8839
- if ((pasteFile.kind === 'file') && pasteFile.type.match('^image/')) {
8840
- this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
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) {