@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.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- 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 -2
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +12 -2
- 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 -1
- package/src/rating/rating.d.ts +1 -0
- package/src/rating/rating.js +7 -0
- package/src/uploader/uploader.js +1 -1
- package/styles/data-form/_material3-definition.scss +1 -1
- package/styles/data-form/material3-dark.css +4 -4
- package/styles/data-form/material3.css +4 -4
- package/styles/material3-dark.css +4 -4
- package/styles/material3.css +4 -4
|
@@ -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();
|