@syncfusion/ej2-inputs 24.2.6 → 24.2.9

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) {
@@ -11649,7 +11654,7 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
11649
11654
  if (this.cssClass) {
11650
11655
  addClass([popupEle], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
11651
11656
  }
11652
- if (Browser.isDevice) {
11657
+ if (Browser.isDevice && !this.createPopupOnClick) {
11653
11658
  var popupInst = this.getPopupInst();
11654
11659
  popupInst.relateTo = document.body;
11655
11660
  popupInst.position = { X: 'center', Y: 'center' };
@@ -11688,6 +11693,15 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
11688
11693
  _this.createWidget();
11689
11694
  popupEle.style.display = '';
11690
11695
  if (Browser.isDevice) {
11696
+ if (_this.createPopupOnClick) {
11697
+ var popupInst = _this.getPopupInst();
11698
+ popupInst.relateTo = document.body;
11699
+ popupInst.position = { X: 'center', Y: 'center' };
11700
+ popupInst.targetType = 'container';
11701
+ popupInst.collision = { X: 'fit', Y: 'fit' };
11702
+ popupInst.offsetY = 4;
11703
+ popupEle.style.zIndex = getZindexPartial(_this.splitBtn.element).toString();
11704
+ }
11691
11705
  _this.modal = _this.createElement('div');
11692
11706
  _this.modal.className = 'e-' + _this.getModuleName() + ' e-modal';
11693
11707
  _this.modal.style.display = 'none';