@syncfusion/ej2-inputs 24.1.45 → 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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +11 -1
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +12 -1
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +9 -9
- package/src/common/signature-base.js +4 -0
- package/src/rating/rating.d.ts +1 -0
- package/src/rating/rating.js +7 -0
- package/src/uploader/uploader.js +1 -1
|
@@ -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
|
}
|
|
@@ -14727,6 +14727,10 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
14727
14727
|
SignatureBase.prototype.clear = function () {
|
|
14728
14728
|
var args = { actionName: 'clear' };
|
|
14729
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
|
+
}
|
|
14730
14734
|
this.internalRefresh();
|
|
14731
14735
|
this.signRatioPointsColl = [];
|
|
14732
14736
|
this.updateSnapCollection(true);
|
|
@@ -15679,6 +15683,7 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
|
|
|
15679
15683
|
}
|
|
15680
15684
|
};
|
|
15681
15685
|
Rating.prototype.updateTooltipContent = function (isChange) {
|
|
15686
|
+
var _this = this;
|
|
15682
15687
|
if (this.showTooltip) {
|
|
15683
15688
|
if (this.isReact) {
|
|
15684
15689
|
this.clearTemplate(['ratingTooltipTemplate']);
|
|
@@ -15689,6 +15694,12 @@ var Rating = /** @__PURE__ @class */ (function (_super) {
|
|
|
15689
15694
|
var templateFunction = this.getTemplateString(this.tooltipTemplate);
|
|
15690
15695
|
append(templateFunction({ value: this.currentValue }, this, 'ratingTooltipTemplate', (this.element.id + 'tooltipTemplate'), this.isStringTemplate), content_1);
|
|
15691
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
|
+
}
|
|
15692
15703
|
}
|
|
15693
15704
|
else {
|
|
15694
15705
|
content_1 = this.currentValue.toString();
|