@syncfusion/ej2-inputs 24.1.41 → 24.1.47

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.
@@ -9283,7 +9283,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
9283
9283
  }
9284
9284
  else {
9285
9285
  this.internalCreateFileList(fileData);
9286
- if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
9286
+ if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2' && this.filesData[this.filesData.length - 1].statusCode !== '0') {
9287
9287
  this.filesData = this.filesData.concat(fileData);
9288
9288
  return;
9289
9289
  }
@@ -14259,7 +14259,6 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
14259
14259
  this.element.height = this.element.offsetHeight;
14260
14260
  this.element.width = this.element.offsetWidth;
14261
14261
  }
14262
- this.canvasContext.scale(1, 1);
14263
14262
  this.canvasContext.fillStyle = this.strokeColor;
14264
14263
  this.tempCanvas = this.createElement('canvas', { className: 'e-' + this.getModuleName() + '-temp' });
14265
14264
  this.tempContext = this.tempCanvas.getContext('2d');
@@ -14728,6 +14727,10 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
14728
14727
  SignatureBase.prototype.clear = function () {
14729
14728
  var args = { actionName: 'clear' };
14730
14729
  this.canvasContext.clearRect(0, 0, this.canvasContext.canvas.width, this.canvasContext.canvas.height);
14730
+ this.tempContext.clearRect(0, 0, this.tempContext.canvas.width, this.tempContext.canvas.height);
14731
+ if (this.saveWithBackground) {
14732
+ this.setBackgroundImage(this.backgroundImage, 'temp');
14733
+ }
14731
14734
  this.internalRefresh();
14732
14735
  this.signRatioPointsColl = [];
14733
14736
  this.updateSnapCollection(true);
@@ -15680,6 +15683,7 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
15680
15683
  }
15681
15684
  };
15682
15685
  Rating.prototype.updateTooltipContent = function (isChange) {
15686
+ var _this = this;
15683
15687
  if (this.showTooltip) {
15684
15688
  if (this.isReact) {
15685
15689
  this.clearTemplate(['ratingTooltipTemplate']);
@@ -15690,6 +15694,12 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
15690
15694
  var templateFunction = this.getTemplateString(this.tooltipTemplate);
15691
15695
  append(templateFunction({ value: this.currentValue }, this, 'ratingTooltipTemplate', (this.element.id + 'tooltipTemplate'), this.isStringTemplate), content_1);
15692
15696
  this.tooltipObj.setProperties({ content: content_1 }, isChange);
15697
+ if (this.isAngular) {
15698
+ setTimeout(function () {
15699
+ var ratingSpan = _this.ratingItemList.querySelectorAll('.' + ITEMCONTAINER + '.' + SELECTED);
15700
+ _this.tooltipObj.refresh(ratingSpan[ratingSpan.length - 1]);
15701
+ });
15702
+ }
15693
15703
  }
15694
15704
  else {
15695
15705
  content_1 = this.currentValue.toString();