@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.41
3
+ * version : 24.1.47
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@18.78.12",
3
+ "_id": "@syncfusion/ej2-inputs@24.1.45",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rqT1+IDb7ZSKLfB4kpIvuxKjGhkdXBoAIyt+BmtfTNB2eVldQv+BWsVbJAZYUQ1nw2TZJUA+wnpTqWVmwTAWtw==",
5
+ "_integrity": "sha512-VyaRYmGA+7BRuJAadhCsaw8uPDOJeGwNt83gaJ8J5yDm/Il1gZB5EmnDB/4FIzNRySOrpVTxC1tZj/STj80+Mw==",
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-release/@syncfusion/ej2-inputs/-/ej2-inputs-18.78.12.tgz",
43
- "_shasum": "9ebbb9d57d742077d0a14a53ae1ee2bc31ceeda2",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-24.1.45.tgz",
43
+ "_shasum": "723772987702d26dc916258bc50179df8c919e6c",
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.41",
52
- "@syncfusion/ej2-buttons": "~24.1.41",
53
- "@syncfusion/ej2-popups": "~24.1.41",
54
- "@syncfusion/ej2-splitbuttons": "~24.1.41"
51
+ "@syncfusion/ej2-base": "~24.1.46",
52
+ "@syncfusion/ej2-buttons": "~24.1.46",
53
+ "@syncfusion/ej2-popups": "~24.1.46",
54
+ "@syncfusion/ej2-splitbuttons": "~24.1.46"
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.41",
122
+ "version": "24.1.47",
123
123
  "sideEffects": false,
124
124
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
125
125
  }
@@ -95,7 +95,6 @@ var SignatureBase = /** @class */ (function (_super) {
95
95
  this.element.height = this.element.offsetHeight;
96
96
  this.element.width = this.element.offsetWidth;
97
97
  }
98
- this.canvasContext.scale(1, 1);
99
98
  this.canvasContext.fillStyle = this.strokeColor;
100
99
  this.tempCanvas = this.createElement('canvas', { className: 'e-' + this.getModuleName() + '-temp' });
101
100
  this.tempContext = this.tempCanvas.getContext('2d');
@@ -564,6 +563,10 @@ var SignatureBase = /** @class */ (function (_super) {
564
563
  SignatureBase.prototype.clear = function () {
565
564
  var args = { actionName: 'clear' };
566
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
+ }
567
570
  this.internalRefresh();
568
571
  this.signRatioPointsColl = [];
569
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
  }
@@ -26,7 +26,7 @@ $form-group-title-border-height: 1px !default;
26
26
  $form-group-title-border-bottom-style: 1px solid $group-title-border-color !default;
27
27
 
28
28
  //tooltip styles
29
- $form-tooltip-background-color: $danger-light !default;
29
+ $form-tooltip-background-color: var(--danger-light, #f9dedc) !default;
30
30
  $form-tooltip-color: var(--danger, #b3261e) !default;
31
31
  $form-validation-message-font-size: 12px;
32
32
 
@@ -283,13 +283,13 @@
283
283
  }
284
284
 
285
285
  .e-tooltip-wrap.e-popup.e-error-tooltip {
286
- background-color: var(--color-sf-error-container);
287
- border: var(--color-sf-error-container);
286
+ background-color: var(--danger-light, #f9dedc);
287
+ border: var(--danger-light, #f9dedc);
288
288
  }
289
289
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-tip-content .validation-message {
290
290
  color: var(--danger, #b3261e);
291
291
  }
292
292
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-outer.e-tip-top, .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-inner.e-tip-top {
293
- border-bottom-color: var(--color-sf-error-container);
294
- color: var(--color-sf-error-container);
293
+ border-bottom-color: var(--danger-light, #f9dedc);
294
+ color: var(--danger-light, #f9dedc);
295
295
  }
@@ -339,13 +339,13 @@
339
339
  }
340
340
 
341
341
  .e-tooltip-wrap.e-popup.e-error-tooltip {
342
- background-color: var(--color-sf-error-container);
343
- border: var(--color-sf-error-container);
342
+ background-color: var(--danger-light, #f9dedc);
343
+ border: var(--danger-light, #f9dedc);
344
344
  }
345
345
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-tip-content .validation-message {
346
346
  color: var(--danger, #b3261e);
347
347
  }
348
348
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-outer.e-tip-top, .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-inner.e-tip-top {
349
- border-bottom-color: var(--color-sf-error-container);
350
- color: var(--color-sf-error-container);
349
+ border-bottom-color: var(--danger-light, #f9dedc);
350
+ color: var(--danger-light, #f9dedc);
351
351
  }
@@ -15480,13 +15480,13 @@ body.e-colorpicker-overflow {
15480
15480
  }
15481
15481
 
15482
15482
  .e-tooltip-wrap.e-popup.e-error-tooltip {
15483
- background-color: var(--color-sf-error-container);
15484
- border: var(--color-sf-error-container);
15483
+ background-color: var(--danger-light, #f9dedc);
15484
+ border: var(--danger-light, #f9dedc);
15485
15485
  }
15486
15486
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-tip-content .validation-message {
15487
15487
  color: var(--danger, #b3261e);
15488
15488
  }
15489
15489
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-outer.e-tip-top, .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-inner.e-tip-top {
15490
- border-bottom-color: var(--color-sf-error-container);
15491
- color: var(--color-sf-error-container);
15490
+ border-bottom-color: var(--danger-light, #f9dedc);
15491
+ color: var(--danger-light, #f9dedc);
15492
15492
  }
@@ -15536,13 +15536,13 @@ body.e-colorpicker-overflow {
15536
15536
  }
15537
15537
 
15538
15538
  .e-tooltip-wrap.e-popup.e-error-tooltip {
15539
- background-color: var(--color-sf-error-container);
15540
- border: var(--color-sf-error-container);
15539
+ background-color: var(--danger-light, #f9dedc);
15540
+ border: var(--danger-light, #f9dedc);
15541
15541
  }
15542
15542
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-tip-content .validation-message {
15543
15543
  color: var(--danger, #b3261e);
15544
15544
  }
15545
15545
  .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-outer.e-tip-top, .e-tooltip-wrap.e-popup.e-error-tooltip .e-arrow-tip .e-arrow-tip-inner.e-tip-top {
15546
- border-bottom-color: var(--color-sf-error-container);
15547
- color: var(--color-sf-error-container);
15546
+ border-bottom-color: var(--danger-light, #f9dedc);
15547
+ color: var(--danger-light, #f9dedc);
15548
15548
  }