@syncfusion/ej2-inputs 29.1.34 → 29.1.39

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 : 29.1.33
3
+ * version : 29.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,56 +1,63 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-inputs@~29.1.33",
3
- "_id": "@syncfusion/ej2-inputs@29.1.33",
2
+ "_from": "@syncfusion/ej2-inputs@*",
3
+ "_id": "@syncfusion/ej2-inputs@29.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Uxkn8CUwWFFwt5dh6btctMg1fxMl+kmHQJ1EP3GljGUvXXlUCWVAmtasNyGHAQHRZeaFr3jje/eQ9qyO6Ws4dA==",
5
+ "_integrity": "sha512-N0NpQCdE/4EWfeYdKCoMBagvvYNN13d8NUiyWhK1L6teHctBsTJDyFEAyCVoiuTZrhJJjw9SubcXZRIE+P+sZQ==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
9
9
  "type": "range",
10
10
  "registry": true,
11
- "raw": "@syncfusion/ej2-inputs@~29.1.33",
11
+ "raw": "@syncfusion/ej2-inputs@*",
12
12
  "name": "@syncfusion/ej2-inputs",
13
13
  "escapedName": "@syncfusion%2fej2-inputs",
14
14
  "scope": "@syncfusion",
15
- "rawSpec": "~29.1.33",
15
+ "rawSpec": "*",
16
16
  "saveSpec": null,
17
- "fetchSpec": "~29.1.33"
17
+ "fetchSpec": "*"
18
18
  },
19
19
  "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
20
22
  "/@syncfusion/ej2-angular-inputs",
21
23
  "/@syncfusion/ej2-calendars",
22
24
  "/@syncfusion/ej2-diagrams",
25
+ "/@syncfusion/ej2-documenteditor",
23
26
  "/@syncfusion/ej2-dropdowns",
24
27
  "/@syncfusion/ej2-filemanager",
25
28
  "/@syncfusion/ej2-gantt",
26
29
  "/@syncfusion/ej2-grids",
30
+ "/@syncfusion/ej2-image-editor",
31
+ "/@syncfusion/ej2-inplace-editor",
27
32
  "/@syncfusion/ej2-interactive-chat",
33
+ "/@syncfusion/ej2-kanban",
28
34
  "/@syncfusion/ej2-navigations",
35
+ "/@syncfusion/ej2-pdfviewer",
29
36
  "/@syncfusion/ej2-pivotview",
37
+ "/@syncfusion/ej2-querybuilder",
30
38
  "/@syncfusion/ej2-react-inputs",
31
39
  "/@syncfusion/ej2-richtexteditor",
32
40
  "/@syncfusion/ej2-schedule",
33
41
  "/@syncfusion/ej2-vue-inputs"
34
42
  ],
35
- "_resolved": "https://registry.npmjs.org/@syncfusion/ej2-inputs/-/ej2-inputs-29.1.33.tgz",
36
- "_shasum": "085a23c286ff56ae1bcfe4c5406251e35878dad7",
37
- "_spec": "@syncfusion/ej2-inputs@~29.1.33",
38
- "_where": "E:\\march2025\\memory-leaks\\node_modules\\@syncfusion\\ej2-diagrams",
43
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-29.1.38.tgz",
44
+ "_shasum": "d2e15562b803ae9078901ae96547965c28307ead",
45
+ "_spec": "@syncfusion/ej2-inputs@*",
46
+ "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
39
47
  "author": {
40
48
  "name": "Syncfusion Inc."
41
49
  },
42
50
  "bundleDependencies": false,
43
51
  "dependencies": {
44
- "@syncfusion/ej2-base": "~29.1.33",
45
- "@syncfusion/ej2-buttons": "~29.1.33",
46
- "@syncfusion/ej2-popups": "~29.1.33",
52
+ "@syncfusion/ej2-base": "~29.1.36",
53
+ "@syncfusion/ej2-buttons": "~29.1.34",
54
+ "@syncfusion/ej2-popups": "~29.1.37",
47
55
  "@syncfusion/ej2-splitbuttons": "~29.1.33"
48
56
  },
49
57
  "deprecated": false,
50
58
  "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.",
51
59
  "devDependencies": {},
52
60
  "es2015": "./dist/es6/ej2-inputs.es5.js",
53
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
54
61
  "keywords": [
55
62
  "ej2",
56
63
  "syncfusion",
@@ -112,7 +119,8 @@
112
119
  "type": "git",
113
120
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
114
121
  },
115
- "sideEffects": false,
116
122
  "typings": "index.d.ts",
117
- "version": "29.1.34"
118
- }
123
+ "version": "29.1.39",
124
+ "sideEffects": false,
125
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls"
126
+ }
@@ -1,4 +1,4 @@
1
- import { Component, EventHandler, Property, Event, Browser, L10n, EmitType, getUniqueID } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, detach, closest } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input';
1
+ import { Component, EventHandler, Property, Event, Browser, L10n, EmitType, getUniqueID } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { attributes, addClass, removeClass, detach, closest } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input';
2
2
  import {ChangeEventArgs,NumericFocusEventArgs,NumericBlurEventArgs} from "./numerictextbox";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -750,7 +750,9 @@ var NumericTextBox = /** @class */ (function (_super) {
750
750
  }
751
751
  }
752
752
  this.inputValue = value;
753
- this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
753
+ if (!(this.isVue && this.element && this.element.hasAttribute('modelvalue') && this.isDynamicChange)) {
754
+ this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
755
+ }
754
756
  /* istanbul ignore next */
755
757
  if (!this.isDynamicChange) {
756
758
  this.raiseChangeEvent(event);
@@ -229,6 +229,7 @@ export declare class TextArea extends Component<HTMLTextAreaElement> implements
229
229
  * @returns {void}
230
230
  */
231
231
  private setWrapperWidth;
232
+ private onMouseMove;
232
233
  private resetForm;
233
234
  private resetValue;
234
235
  private setElementWidth;
@@ -359,6 +359,9 @@ var TextArea = /** @class */ (function (_super) {
359
359
  }
360
360
  this.element.value = this.element.defaultValue;
361
361
  this.element.classList.remove('e-input', RESIZE_X, RESIZE_Y, RESIZE_XY, RESIZE_NONE);
362
+ if (this.textareaWrapper.container.style.width.includes('%')) {
363
+ EventHandler.remove(this.element, 'mousemove', this.onMouseMove);
364
+ }
362
365
  this.removeAttributes(['aria-disabled', 'aria-readonly', 'aria-labelledby', 'aria-multiline']);
363
366
  if (!isNullOrUndefined(this.textareaWrapper)) {
364
367
  this.textareaWrapper.container.insertAdjacentElement('afterend', this.element);
@@ -568,14 +571,16 @@ var TextArea = /** @class */ (function (_super) {
568
571
  */
569
572
  TextArea.prototype.setWrapperWidth = function () {
570
573
  if (this.enabled && ((this.resizeMode !== 'None' && this.resizeMode !== 'Vertical') || (this.cols || this.element.getAttribute('cols')))) {
571
- if (this.resizeMode !== 'None' && this.resizeMode !== 'Vertical') {
572
- if (this.textareaWrapper.container.style.width) {
573
- this.setElementWidth(this.textareaWrapper.container.style.width);
574
- this.textareaWrapper.container.style.width = '';
575
- this.textareaWrapper.container.classList.add(AUTO_WIDTH);
576
- }
574
+ if (this.resizeMode !== 'None' && this.resizeMode !== 'Vertical' && !this.textareaWrapper.container.style.width.includes('%')) {
575
+ this.setElementWidth(this.textareaWrapper.container.style.width);
576
+ }
577
+ if (!this.textareaWrapper.container.style.width.includes('%')) {
578
+ this.textareaWrapper.container.classList.add(AUTO_WIDTH);
579
+ this.textareaWrapper.container.style.width = '';
580
+ }
581
+ if (this.textareaWrapper.container.style.width.includes('%')) {
582
+ EventHandler.add(this.element, 'mousemove', this.onMouseMove, this);
577
583
  }
578
- this.textareaWrapper.container.classList.add(AUTO_WIDTH);
579
584
  }
580
585
  else {
581
586
  if (this.textareaWrapper.container.classList.contains(AUTO_WIDTH)) {
@@ -583,6 +588,18 @@ var TextArea = /** @class */ (function (_super) {
583
588
  }
584
589
  }
585
590
  };
591
+ TextArea.prototype.onMouseMove = function () {
592
+ var _this = this;
593
+ if (this.textareaWrapper.container.style.width !== 'auto') {
594
+ var initialWidth_1 = this.element.style.width;
595
+ setTimeout(function () {
596
+ var currentWidth = _this.element.style.width;
597
+ if (initialWidth_1 !== currentWidth) {
598
+ _this.textareaWrapper.container.style.width = 'auto';
599
+ }
600
+ }, 5);
601
+ }
602
+ };
586
603
  TextArea.prototype.resetForm = function () {
587
604
  if (this.isAngular) {
588
605
  this.resetValue('');
@@ -1735,7 +1735,8 @@
1735
1735
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
1736
1736
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
1737
1737
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
1738
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
1738
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
1739
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
1739
1740
  @if $input-skin-name == 'material' or $input-skin-name == 'Material3' {
1740
1741
  color: $input-error-color;
1741
1742
  }
@@ -5716,7 +5716,8 @@ textarea.e-input::selection,
5716
5716
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5717
5717
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5718
5718
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5719
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5719
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5720
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5720
5721
  color: #ff6652;
5721
5722
  }
5722
5723
 
@@ -5736,7 +5736,8 @@ textarea.e-input::selection,
5736
5736
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5737
5737
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5738
5738
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5739
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5739
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5740
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5740
5741
  color: #f44336;
5741
5742
  }
5742
5743
 
@@ -5605,7 +5605,8 @@ textarea.e-input::selection,
5605
5605
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5606
5606
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5607
5607
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5608
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5608
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5609
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5609
5610
  color: rgba(var(--color-sf-error));
5610
5611
  }
5611
5612
 
@@ -5607,7 +5607,8 @@ textarea.e-input::selection,
5607
5607
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5608
5608
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5609
5609
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5610
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5610
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5611
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5611
5612
  color: rgba(var(--color-sf-error));
5612
5613
  }
5613
5614
 
@@ -5726,7 +5726,8 @@ textarea.e-input::selection,
5726
5726
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5727
5727
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5728
5728
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5729
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5729
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5730
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5730
5731
  color: #ff6652;
5731
5732
  }
5732
5733
 
@@ -5726,7 +5726,8 @@ textarea.e-input::selection,
5726
5726
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5727
5727
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5728
5728
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5729
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5729
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5730
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5730
5731
  color: #ff6652;
5731
5732
  }
5732
5733
 
@@ -5746,7 +5746,8 @@ textarea.e-input::selection,
5746
5746
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5747
5747
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5748
5748
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5749
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5749
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5750
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5750
5751
  color: #f44336;
5751
5752
  }
5752
5753
 
@@ -5746,7 +5746,8 @@ textarea.e-input::selection,
5746
5746
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5747
5747
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5748
5748
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5749
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5749
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5750
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5750
5751
  color: #f44336;
5751
5752
  }
5752
5753
 
@@ -5615,7 +5615,8 @@ textarea.e-input::selection,
5615
5615
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5616
5616
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5617
5617
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5618
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5618
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5619
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5619
5620
  color: rgba(var(--color-sf-error));
5620
5621
  }
5621
5622
 
@@ -5615,7 +5615,8 @@ textarea.e-input::selection,
5615
5615
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5616
5616
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5617
5617
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5618
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5618
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5619
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5619
5620
  color: rgba(var(--color-sf-error));
5620
5621
  }
5621
5622
 
@@ -5617,7 +5617,8 @@ textarea.e-input::selection,
5617
5617
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5618
5618
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5619
5619
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5620
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5620
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5621
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5621
5622
  color: rgba(var(--color-sf-error));
5622
5623
  }
5623
5624
 
@@ -5617,7 +5617,8 @@ textarea.e-input::selection,
5617
5617
  .e-small .e-outline.e-float-input.e-error.e-input-focus input ~ label.e-float-text,
5618
5618
  .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5619
5619
  .e-outline.e-float-input.e-control-wrapper.e-small.e-error.e-input-focus input ~ label.e-float-text,
5620
- .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text {
5620
+ .e-small .e-outline.e-float-input.e-control-wrapper.e-error.e-input-focus input ~ label.e-float-text,
5621
+ .e-outline.e-float-input.e-control-wrapper.e-input-group.e-error.e-valid-input.e-input-focus label.e-label-top {
5621
5622
  color: rgba(var(--color-sf-error));
5622
5623
  }
5623
5624