@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
|
@@ -9092,7 +9092,7 @@ let Uploader = class Uploader extends Component {
|
|
|
9092
9092
|
}
|
|
9093
9093
|
else {
|
|
9094
9094
|
this.internalCreateFileList(fileData);
|
|
9095
|
-
if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
|
|
9095
|
+
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') {
|
|
9096
9096
|
this.filesData = this.filesData.concat(fileData);
|
|
9097
9097
|
return;
|
|
9098
9098
|
}
|
|
@@ -13965,7 +13965,6 @@ class SignatureBase extends Component {
|
|
|
13965
13965
|
this.element.height = this.element.offsetHeight;
|
|
13966
13966
|
this.element.width = this.element.offsetWidth;
|
|
13967
13967
|
}
|
|
13968
|
-
this.canvasContext.scale(1, 1);
|
|
13969
13968
|
this.canvasContext.fillStyle = this.strokeColor;
|
|
13970
13969
|
this.tempCanvas = this.createElement('canvas', { className: 'e-' + this.getModuleName() + '-temp' });
|
|
13971
13970
|
this.tempContext = this.tempCanvas.getContext('2d');
|
|
@@ -14433,6 +14432,10 @@ class SignatureBase extends Component {
|
|
|
14433
14432
|
clear() {
|
|
14434
14433
|
const args = { actionName: 'clear' };
|
|
14435
14434
|
this.canvasContext.clearRect(0, 0, this.canvasContext.canvas.width, this.canvasContext.canvas.height);
|
|
14435
|
+
this.tempContext.clearRect(0, 0, this.tempContext.canvas.width, this.tempContext.canvas.height);
|
|
14436
|
+
if (this.saveWithBackground) {
|
|
14437
|
+
this.setBackgroundImage(this.backgroundImage, 'temp');
|
|
14438
|
+
}
|
|
14436
14439
|
this.internalRefresh();
|
|
14437
14440
|
this.signRatioPointsColl = [];
|
|
14438
14441
|
this.updateSnapCollection(true);
|
|
@@ -15359,6 +15362,12 @@ let Rating = class Rating extends Component {
|
|
|
15359
15362
|
const templateFunction = this.getTemplateString(this.tooltipTemplate);
|
|
15360
15363
|
append(templateFunction({ value: this.currentValue }, this, 'ratingTooltipTemplate', (this.element.id + 'tooltipTemplate'), this.isStringTemplate), content);
|
|
15361
15364
|
this.tooltipObj.setProperties({ content: content }, isChange);
|
|
15365
|
+
if (this.isAngular) {
|
|
15366
|
+
setTimeout(() => {
|
|
15367
|
+
let ratingSpan = this.ratingItemList.querySelectorAll('.' + ITEMCONTAINER + '.' + SELECTED);
|
|
15368
|
+
this.tooltipObj.refresh(ratingSpan[ratingSpan.length - 1]);
|
|
15369
|
+
});
|
|
15370
|
+
}
|
|
15362
15371
|
}
|
|
15363
15372
|
else {
|
|
15364
15373
|
content = this.currentValue.toString();
|