@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.2.6
3
+ * version : 24.2.9
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@24.2.5",
3
+ "_id": "@syncfusion/ej2-inputs@24.2.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-10fdqdtlLq1h33jLIZeLN6ABa5Hr2/urrT5JZXeQZ+qQuFL/Lcm1J8mJDZq9HoS96l3xfrfI4uEElL5Kf2NmBQ==",
5
+ "_integrity": "sha512-P/yEOFoayVt5EMQEmKRlsAk9CZbDfM2k+zqnieGtSPGazGLxhQiaVtoE98n36DHm3fwI7daGBLISdftIogXaIw==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-schedule",
40
40
  "/@syncfusion/ej2-vue-inputs"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-24.2.5.tgz",
43
- "_shasum": "d06f902fdb0ae8e4c3424f68dacb01921c0a4d0f",
42
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-24.2.7.tgz",
43
+ "_shasum": "c1d5c0f397725e8b599df5051a99bcd32db96a94",
44
44
  "_spec": "@syncfusion/ej2-inputs@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
46
46
  "author": {
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "bundleDependencies": false,
50
50
  "dependencies": {
51
- "@syncfusion/ej2-base": "~24.2.5",
52
- "@syncfusion/ej2-buttons": "~24.2.5",
53
- "@syncfusion/ej2-popups": "~24.2.5",
54
- "@syncfusion/ej2-splitbuttons": "~24.2.5"
51
+ "@syncfusion/ej2-base": "~24.2.7",
52
+ "@syncfusion/ej2-buttons": "~24.2.7",
53
+ "@syncfusion/ej2-popups": "~24.2.9",
54
+ "@syncfusion/ej2-splitbuttons": "~24.2.7"
55
55
  },
56
56
  "deprecated": false,
57
57
  "description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
@@ -119,7 +119,7 @@
119
119
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
120
120
  },
121
121
  "typings": "index.d.ts",
122
- "version": "24.2.6",
122
+ "version": "24.2.9",
123
123
  "sideEffects": false,
124
124
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
125
125
  }
@@ -207,7 +207,7 @@ var ColorPicker = /** @class */ (function (_super) {
207
207
  if (this.cssClass) {
208
208
  addClass([popupEle], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
209
209
  }
210
- if (Browser.isDevice) {
210
+ if (Browser.isDevice && !this.createPopupOnClick) {
211
211
  var popupInst = this.getPopupInst();
212
212
  popupInst.relateTo = document.body;
213
213
  popupInst.position = { X: 'center', Y: 'center' };
@@ -246,6 +246,15 @@ var ColorPicker = /** @class */ (function (_super) {
246
246
  _this.createWidget();
247
247
  popupEle.style.display = '';
248
248
  if (Browser.isDevice) {
249
+ if (_this.createPopupOnClick) {
250
+ var popupInst = _this.getPopupInst();
251
+ popupInst.relateTo = document.body;
252
+ popupInst.position = { X: 'center', Y: 'center' };
253
+ popupInst.targetType = 'container';
254
+ popupInst.collision = { X: 'fit', Y: 'fit' };
255
+ popupInst.offsetY = 4;
256
+ popupEle.style.zIndex = getZindexPartial(_this.splitBtn.element).toString();
257
+ }
249
258
  _this.modal = _this.createElement('div');
250
259
  _this.modal.className = 'e-' + _this.getModuleName() + ' e-modal';
251
260
  _this.modal.style.display = 'none';
@@ -918,12 +918,14 @@ var Uploader = /** @class */ (function (_super) {
918
918
  if (event.type === 'paste' && this.browserName !== 'msie' && this.browserName !== 'edge' && this.browserName !== 'safari') {
919
919
  this.element.files = event.clipboardData.files;
920
920
  }
921
- if (item.length !== 1) {
921
+ if (item.length !== 1 && !this.multiple) {
922
922
  return;
923
923
  }
924
- var pasteFile = [].slice.call(item)[0];
925
- if ((pasteFile.kind === 'file') && pasteFile.type.match('^image/')) {
926
- this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
924
+ for (var file = 0; file < item.length; file++) {
925
+ var pasteFile = [].slice.call(item)[file];
926
+ if ((pasteFile.kind === 'file') || pasteFile.type.match('^image/')) {
927
+ this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
928
+ }
927
929
  }
928
930
  };
929
931
  Uploader.prototype.getSelectedFiles = function (index) {
@@ -2172,6 +2174,9 @@ var Uploader = /** @class */ (function (_super) {
2172
2174
  (_this.getLiElement(file)).classList.remove(RESTRICT_RETRY);
2173
2175
  }
2174
2176
  }
2177
+ else if (!_this.showFileList) {
2178
+ _this.checkActionComplete(true);
2179
+ }
2175
2180
  });
2176
2181
  };
2177
2182
  Uploader.prototype.uploadFailed = function (e, file) {