@syncfusion/ej2-inputs 24.2.7 → 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.7
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.6",
3
+ "_id": "@syncfusion/ej2-inputs@24.2.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-6fnj+uoiLunQcMAJxZQtGqjA+KbhxRGD6A7GQjvNa7M5/FdvVDviSnUw0oCNZKU7aidN2ibF1ejmt+qjKkvdew==",
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.6.tgz",
43
- "_shasum": "a5dfffbbd396f9a3269c6cd158a004fdb1fb8075",
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": {
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@syncfusion/ej2-base": "~24.2.7",
52
52
  "@syncfusion/ej2-buttons": "~24.2.7",
53
- "@syncfusion/ej2-popups": "~24.2.5",
53
+ "@syncfusion/ej2-popups": "~24.2.9",
54
54
  "@syncfusion/ej2-splitbuttons": "~24.2.7"
55
55
  },
56
56
  "deprecated": false,
@@ -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.7",
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';