@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.
@@ -2947,7 +2947,7 @@ function maskInputHandler(event) {
2947
2947
  this.element.value = this.element.value + this.promptMask;
2948
2948
  this.element.setSelectionRange(1, 1);
2949
2949
  }
2950
- if (!this._callPasteHandler) {
2950
+ if ((!this._callPasteHandler && !Browser.isDevice) || this._callPasteHandler) {
2951
2951
  removeMaskInputValues.call(this, event);
2952
2952
  }
2953
2953
  if (this.element.value.length > this.promptMask.length) {
@@ -16977,9 +16977,6 @@ let Rating = class Rating extends Component {
16977
16977
  (value >= i + 1) ? 1 : ((value < i) ? 0 : (value - i));
16978
16978
  }
16979
16979
  updateItemValue(isUpdate = true) {
16980
- if (isUpdate && this.isReact) {
16981
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
16982
- }
16983
16980
  for (let i = 0; i < this.itemsCount; i++) {
16984
16981
  const itemElement = this.itemElements[parseInt(i.toString(), 10)];
16985
16982
  itemElement.classList.remove(SELECTED, INTERMEDIATE, SELECTEDVALUE);
@@ -17012,7 +17009,7 @@ let Rating = class Rating extends Component {
17012
17009
  }
17013
17010
  const spanEle = this.itemElements[parseInt(index.toString(), 10)].querySelector('.e-rating-item');
17014
17011
  if (this.fullTemplate && ratingValue === 1) {
17015
- if (!this.isReact && spanEle.classList.contains(FULLTEMPLATE)) {
17012
+ if (spanEle.classList.contains(FULLTEMPLATE)) {
17016
17013
  return;
17017
17014
  }
17018
17015
  this.removeItemContent(spanEle);
@@ -17020,7 +17017,7 @@ let Rating = class Rating extends Component {
17020
17017
  append(this.fullTemplateFunction({ ratingValue: ratingValue, index: index }, this, 'ratingFullTemplate', (this.element.id + 'fullTemplate' + index), this.isStringTemplate), spanEle);
17021
17018
  }
17022
17019
  else if (this.emptyTemplate) {
17023
- if (!this.isReact && spanEle.classList.contains(EMPTYTEMPLATE)) {
17020
+ if (spanEle.classList.contains(EMPTYTEMPLATE)) {
17024
17021
  return;
17025
17022
  }
17026
17023
  this.removeItemContent(spanEle);
@@ -17297,9 +17294,6 @@ let Rating = class Rating extends Component {
17297
17294
  }
17298
17295
  }
17299
17296
  updateContent() {
17300
- if (this.isReact) {
17301
- this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
17302
- }
17303
17297
  for (let i = 0; i < this.itemsCount; i++) {
17304
17298
  const itemElement = this.itemElements[parseInt(i.toString(), 10)].firstElementChild;
17305
17299
  this.renderItemContent(itemElement, this.getRatingValue(this.value, i), i, true);