@syncfusion/ej2-inputs 30.1.40 → 30.2.4

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 : 30.1.40
3
+ * version : 30.2.4
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-inputs",
3
- "version": "30.1.40",
3
+ "version": "30.2.4",
4
4
  "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.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,10 +8,10 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-inputs.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~30.1.38",
12
- "@syncfusion/ej2-buttons": "~30.1.37",
13
- "@syncfusion/ej2-popups": "~30.1.40",
14
- "@syncfusion/ej2-splitbuttons": "~30.1.39"
11
+ "@syncfusion/ej2-base": "~30.2.4",
12
+ "@syncfusion/ej2-buttons": "~30.2.4",
13
+ "@syncfusion/ej2-popups": "~30.2.4",
14
+ "@syncfusion/ej2-splitbuttons": "~30.2.4"
15
15
  },
16
16
  "devDependencies": {},
17
17
  "keywords": [
@@ -475,7 +475,7 @@ function maskInputHandler(event) {
475
475
  this.element.value = this.element.value + this.promptMask;
476
476
  this.element.setSelectionRange(1, 1);
477
477
  }
478
- if (!this._callPasteHandler) {
478
+ if ((!this._callPasteHandler && !Browser.isDevice) || this._callPasteHandler) {
479
479
  removeMaskInputValues.call(this, event);
480
480
  }
481
481
  if (this.element.value.length > this.promptMask.length) {
@@ -313,9 +313,6 @@ var Rating = /** @class */ (function (_super) {
313
313
  };
314
314
  Rating.prototype.updateItemValue = function (isUpdate) {
315
315
  if (isUpdate === void 0) { isUpdate = true; }
316
- if (isUpdate && this.isReact) {
317
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
318
- }
319
316
  for (var i = 0; i < this.itemsCount; i++) {
320
317
  var itemElement = this.itemElements[parseInt(i.toString(), 10)];
321
318
  itemElement.classList.remove(SELECTED, INTERMEDIATE, SELECTEDVALUE);
@@ -348,7 +345,7 @@ var Rating = /** @class */ (function (_super) {
348
345
  }
349
346
  var spanEle = this.itemElements[parseInt(index.toString(), 10)].querySelector('.e-rating-item');
350
347
  if (this.fullTemplate && ratingValue === 1) {
351
- if (!this.isReact && spanEle.classList.contains(FULLTEMPLATE)) {
348
+ if (spanEle.classList.contains(FULLTEMPLATE)) {
352
349
  return;
353
350
  }
354
351
  this.removeItemContent(spanEle);
@@ -356,7 +353,7 @@ var Rating = /** @class */ (function (_super) {
356
353
  append(this.fullTemplateFunction({ ratingValue: ratingValue, index: index }, this, 'ratingFullTemplate', (this.element.id + 'fullTemplate' + index), this.isStringTemplate), spanEle);
357
354
  }
358
355
  else if (this.emptyTemplate) {
359
- if (!this.isReact && spanEle.classList.contains(EMPTYTEMPLATE)) {
356
+ if (spanEle.classList.contains(EMPTYTEMPLATE)) {
360
357
  return;
361
358
  }
362
359
  this.removeItemContent(spanEle);
@@ -639,9 +636,6 @@ var Rating = /** @class */ (function (_super) {
639
636
  }
640
637
  };
641
638
  Rating.prototype.updateContent = function () {
642
- if (this.isReact) {
643
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
644
- }
645
639
  for (var i = 0; i < this.itemsCount; i++) {
646
640
  var itemElement = this.itemElements[parseInt(i.toString(), 10)].firstElementChild;
647
641
  this.renderItemContent(itemElement, this.getRatingValue(this.value, i), i, true);
@@ -2099,7 +2099,7 @@ textarea.e-input,
2099
2099
  .e-float-input.e-control-wrapper input[readonly],
2100
2100
  .e-float-input textarea[readonly],
2101
2101
  .e-float-input.e-control-wrapper textarea[readonly] {
2102
- background: #343a40;
2102
+ background: #212529;
2103
2103
  color: #e9ecef;
2104
2104
  }
2105
2105
 
@@ -2108,7 +2108,7 @@ textarea.e-input,
2108
2108
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2109
2109
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2110
2110
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2111
- background: #343a40;
2111
+ background: #212529;
2112
2112
  color: #adb5bd;
2113
2113
  }
2114
2114
 
@@ -2099,7 +2099,7 @@ textarea.e-input,
2099
2099
  .e-float-input.e-control-wrapper input[readonly],
2100
2100
  .e-float-input textarea[readonly],
2101
2101
  .e-float-input.e-control-wrapper textarea[readonly] {
2102
- background: #343a40;
2102
+ background: #212529;
2103
2103
  color: #e9ecef;
2104
2104
  }
2105
2105
 
@@ -2108,7 +2108,7 @@ textarea.e-input,
2108
2108
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2109
2109
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2110
2110
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2111
- background: #343a40;
2111
+ background: #212529;
2112
2112
  color: #adb5bd;
2113
2113
  }
2114
2114
 
@@ -2099,7 +2099,7 @@ textarea.e-input,
2099
2099
  .e-float-input.e-control-wrapper input[readonly],
2100
2100
  .e-float-input textarea[readonly],
2101
2101
  .e-float-input.e-control-wrapper textarea[readonly] {
2102
- background: #e9ecef;
2102
+ background: #fff;
2103
2103
  color: #343a40;
2104
2104
  }
2105
2105
 
@@ -2108,7 +2108,7 @@ textarea.e-input,
2108
2108
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2109
2109
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2110
2110
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2111
- background: #e9ecef;
2111
+ background: #fff;
2112
2112
  color: #6c757d;
2113
2113
  }
2114
2114
 
@@ -2099,7 +2099,7 @@ textarea.e-input,
2099
2099
  .e-float-input.e-control-wrapper input[readonly],
2100
2100
  .e-float-input textarea[readonly],
2101
2101
  .e-float-input.e-control-wrapper textarea[readonly] {
2102
- background: #e9ecef;
2102
+ background: #fff;
2103
2103
  color: #343a40;
2104
2104
  }
2105
2105
 
@@ -2108,7 +2108,7 @@ textarea.e-input,
2108
2108
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2109
2109
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2110
2110
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2111
- background: #e9ecef;
2111
+ background: #fff;
2112
2112
  color: #6c757d;
2113
2113
  }
2114
2114
 
@@ -237,7 +237,7 @@ $float-label-disbale-font-color: $content-text-color-alt3 !default;
237
237
  $input-placeholder-color: $placeholder-text-color !default;
238
238
  $input-group-disabled-color: $icon-color-disabled !default;
239
239
  $input-group-hovered-color: $icon-color-hover !default;
240
- $input-readonly-bg-color: $content-bg-color-alt2 !default;
240
+ $input-readonly-bg-color: $content-bg-color !default;
241
241
  $input-readonly-color: $content-text-color-alt1 !default;
242
242
  $input-icon-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) !default;
243
243
  $input-border-shadow: 0 0 0 3px rgba($primary-light, .25) !default;
@@ -2089,7 +2089,7 @@ textarea.e-input,
2089
2089
  .e-float-input.e-control-wrapper input[readonly],
2090
2090
  .e-float-input textarea[readonly],
2091
2091
  .e-float-input.e-control-wrapper textarea[readonly] {
2092
- background: #343a40;
2092
+ background: #212529;
2093
2093
  color: #e9ecef;
2094
2094
  }
2095
2095
 
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2099
2099
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2100
2100
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2101
- background: #343a40;
2101
+ background: #212529;
2102
2102
  color: #adb5bd;
2103
2103
  }
2104
2104
 
@@ -2089,7 +2089,7 @@ textarea.e-input,
2089
2089
  .e-float-input.e-control-wrapper input[readonly],
2090
2090
  .e-float-input textarea[readonly],
2091
2091
  .e-float-input.e-control-wrapper textarea[readonly] {
2092
- background: #e9ecef;
2092
+ background: #fff;
2093
2093
  color: #343a40;
2094
2094
  }
2095
2095
 
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-float-input input[readonly] ~ span.e-input-group-icon,
2099
2099
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
2100
2100
  .e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
2101
- background: #e9ecef;
2101
+ background: #fff;
2102
2102
  color: #6c757d;
2103
2103
  }
2104
2104