@syncfusion/ej2-inputs 24.1.45 → 24.2.3

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.45
3
+ * version : 24.2.3
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@24.1.41",
3
+ "_id": "@syncfusion/ej2-inputs@24.1.47",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-wLwb/OydRKuWm8NToXgdWGEzvcJsot9t9xtDTYRvXUzU0KCBv4nS2XDuDOM9BbX+Po20u7o4tYorWYgy1QjDdA==",
5
+ "_integrity": "sha512-8aEalikkKPwODmcW7pXfm8CCJ13ueZUt5n7O9P6T9TKLOcLC36cAHm8f4qZgFgXHUbQjn9/aQGZ9QVmBMNva8Q==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-schedule",
40
40
  "/@syncfusion/ej2-vue-inputs"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-24.1.41.tgz",
43
- "_shasum": "20a7649afbc8c87d3983e343284c60dcb4b97fd0",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-24.1.47.tgz",
43
+ "_shasum": "49f7147d35a0df25e0332878e1e78457dbd424ae",
44
44
  "_spec": "@syncfusion/ej2-inputs@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
46
46
  "author": {
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "bundleDependencies": false,
50
50
  "dependencies": {
51
- "@syncfusion/ej2-base": "~24.1.42",
52
- "@syncfusion/ej2-buttons": "~24.1.45",
53
- "@syncfusion/ej2-popups": "~24.1.44",
54
- "@syncfusion/ej2-splitbuttons": "~24.1.45"
51
+ "@syncfusion/ej2-base": "~24.2.3",
52
+ "@syncfusion/ej2-buttons": "~24.2.3",
53
+ "@syncfusion/ej2-popups": "~24.2.3",
54
+ "@syncfusion/ej2-splitbuttons": "~24.2.3"
55
55
  },
56
56
  "deprecated": false,
57
57
  "description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
@@ -119,7 +119,7 @@
119
119
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
120
120
  },
121
121
  "typings": "index.d.ts",
122
- "version": "24.1.45",
122
+ "version": "24.2.3",
123
123
  "sideEffects": false,
124
124
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
125
125
  }
@@ -563,6 +563,10 @@ var SignatureBase = /** @class */ (function (_super) {
563
563
  SignatureBase.prototype.clear = function () {
564
564
  var args = { actionName: 'clear' };
565
565
  this.canvasContext.clearRect(0, 0, this.canvasContext.canvas.width, this.canvasContext.canvas.height);
566
+ this.tempContext.clearRect(0, 0, this.tempContext.canvas.width, this.tempContext.canvas.height);
567
+ if (this.saveWithBackground) {
568
+ this.setBackgroundImage(this.backgroundImage, 'temp');
569
+ }
566
570
  this.internalRefresh();
567
571
  this.signRatioPointsColl = [];
568
572
  this.updateSnapCollection(true);
@@ -330,6 +330,7 @@ export declare class Rating extends Component<HTMLElement> implements INotifyPro
330
330
  private tooltipOpen;
331
331
  private isReact?;
332
332
  private isTouchSelected;
333
+ private isAngular;
333
334
  /**
334
335
  * Constructor for creating the widget
335
336
  *
@@ -363,6 +363,7 @@ var Rating = /** @class */ (function (_super) {
363
363
  }
364
364
  };
365
365
  Rating.prototype.updateTooltipContent = function (isChange) {
366
+ var _this = this;
366
367
  if (this.showTooltip) {
367
368
  if (this.isReact) {
368
369
  this.clearTemplate(['ratingTooltipTemplate']);
@@ -373,6 +374,12 @@ var Rating = /** @class */ (function (_super) {
373
374
  var templateFunction = this.getTemplateString(this.tooltipTemplate);
374
375
  append(templateFunction({ value: this.currentValue }, this, 'ratingTooltipTemplate', (this.element.id + 'tooltipTemplate'), this.isStringTemplate), content_1);
375
376
  this.tooltipObj.setProperties({ content: content_1 }, isChange);
377
+ if (this.isAngular) {
378
+ setTimeout(function () {
379
+ var ratingSpan = _this.ratingItemList.querySelectorAll('.' + ITEMCONTAINER + '.' + SELECTED);
380
+ _this.tooltipObj.refresh(ratingSpan[ratingSpan.length - 1]);
381
+ });
382
+ }
376
383
  }
377
384
  else {
378
385
  content_1 = this.currentValue.toString();
@@ -1372,7 +1372,7 @@ var Uploader = /** @class */ (function (_super) {
1372
1372
  }
1373
1373
  else {
1374
1374
  this.internalCreateFileList(fileData);
1375
- if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
1375
+ 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') {
1376
1376
  this.filesData = this.filesData.concat(fileData);
1377
1377
  return;
1378
1378
  }