@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.
@@ -2987,7 +2987,7 @@ function maskInputHandler(event) {
2987
2987
  this.element.value = this.element.value + this.promptMask;
2988
2988
  this.element.setSelectionRange(1, 1);
2989
2989
  }
2990
- if (!this._callPasteHandler) {
2990
+ if ((!this._callPasteHandler && !Browser.isDevice) || this._callPasteHandler) {
2991
2991
  removeMaskInputValues.call(this, event);
2992
2992
  }
2993
2993
  if (this.element.value.length > this.promptMask.length) {
@@ -17418,9 +17418,6 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
17418
17418
  };
17419
17419
  Rating.prototype.updateItemValue = function (isUpdate) {
17420
17420
  if (isUpdate === void 0) { isUpdate = true; }
17421
- if (isUpdate && this.isReact) {
17422
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
17423
- }
17424
17421
  for (var i = 0; i < this.itemsCount; i++) {
17425
17422
  var itemElement = this.itemElements[parseInt(i.toString(), 10)];
17426
17423
  itemElement.classList.remove(SELECTED, INTERMEDIATE, SELECTEDVALUE);
@@ -17453,7 +17450,7 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
17453
17450
  }
17454
17451
  var spanEle = this.itemElements[parseInt(index.toString(), 10)].querySelector('.e-rating-item');
17455
17452
  if (this.fullTemplate && ratingValue === 1) {
17456
- if (!this.isReact && spanEle.classList.contains(FULLTEMPLATE)) {
17453
+ if (spanEle.classList.contains(FULLTEMPLATE)) {
17457
17454
  return;
17458
17455
  }
17459
17456
  this.removeItemContent(spanEle);
@@ -17461,7 +17458,7 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
17461
17458
  append(this.fullTemplateFunction({ ratingValue: ratingValue, index: index }, this, 'ratingFullTemplate', (this.element.id + 'fullTemplate' + index), this.isStringTemplate), spanEle);
17462
17459
  }
17463
17460
  else if (this.emptyTemplate) {
17464
- if (!this.isReact && spanEle.classList.contains(EMPTYTEMPLATE)) {
17461
+ if (spanEle.classList.contains(EMPTYTEMPLATE)) {
17465
17462
  return;
17466
17463
  }
17467
17464
  this.removeItemContent(spanEle);
@@ -17744,9 +17741,6 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
17744
17741
  }
17745
17742
  };
17746
17743
  Rating.prototype.updateContent = function () {
17747
- if (this.isReact) {
17748
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
17749
- }
17750
17744
  for (var i = 0; i < this.itemsCount; i++) {
17751
17745
  var itemElement = this.itemElements[parseInt(i.toString(), 10)].firstElementChild;
17752
17746
  this.renderItemContent(itemElement, this.getRatingValue(this.value, i), i, true);