@syncfusion/ej2-inputs 33.1.44 → 33.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/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 +21 -6
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +21 -6
- 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 +2 -2
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +3 -1
- package/src/numerictextbox/numerictextbox.js +3 -1
- package/src/textarea/textarea.js +3 -1
- package/src/textbox/textbox.js +3 -1
- package/src/uploader/uploader.js +9 -2
- package/styles/bootstrap5.3-lite.css +8 -8
- package/styles/bootstrap5.3.css +8 -8
- package/styles/input/_bootstrap5.3-definition.scss +3 -3
- package/styles/input/bootstrap5.3.css +8 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 33.1.
|
|
3
|
+
* version : 33.1.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-inputs",
|
|
3
|
-
"version": "33.1.
|
|
3
|
+
"version": "33.1.47",
|
|
4
4
|
"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.",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-inputs.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~33.1.
|
|
11
|
+
"@syncfusion/ej2-base": "~33.1.45",
|
|
12
12
|
"@syncfusion/ej2-buttons": "~33.1.44",
|
|
13
13
|
"@syncfusion/ej2-popups": "~33.1.44",
|
|
14
14
|
"@syncfusion/ej2-splitbuttons": "~33.1.44"
|
|
@@ -594,7 +594,9 @@ var MaskedTextBox = /** @class */ (function (_super) {
|
|
|
594
594
|
}, this.clearButton);
|
|
595
595
|
this.changeEventArgs = null;
|
|
596
596
|
this.inputObj = null;
|
|
597
|
-
|
|
597
|
+
if (this.element.tagName === 'EJS-MASKEDTEXTBOX') {
|
|
598
|
+
setValue('ej2_instances', null, this.element);
|
|
599
|
+
}
|
|
598
600
|
_super.prototype.destroy.call(this);
|
|
599
601
|
};
|
|
600
602
|
__decorate([
|
|
@@ -1293,7 +1293,9 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
1293
1293
|
floatLabelType: this.floatLabelType,
|
|
1294
1294
|
properties: this.properties
|
|
1295
1295
|
}, this.clearButton);
|
|
1296
|
-
|
|
1296
|
+
if (this.element.tagName === 'EJS-NUMERICTEXTBOX') {
|
|
1297
|
+
setValue('ej2_instances', null, this.element);
|
|
1298
|
+
}
|
|
1297
1299
|
_super.prototype.destroy.call(this);
|
|
1298
1300
|
};
|
|
1299
1301
|
/**
|
package/src/textarea/textarea.js
CHANGED
|
@@ -537,7 +537,9 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
537
537
|
properties: this.properties
|
|
538
538
|
}, this.clearButton);
|
|
539
539
|
this.formElement = null;
|
|
540
|
-
|
|
540
|
+
if (this.element.tagName === 'EJS-TEXTAREA' || this.element.tagName === 'EJS-SMARTTEXTAREA') {
|
|
541
|
+
setValue('ej2_instances', null, this.element);
|
|
542
|
+
}
|
|
541
543
|
_super.prototype.destroy.call(this);
|
|
542
544
|
};
|
|
543
545
|
TextArea.prototype.focusHandler = function (args) {
|
package/src/textbox/textbox.js
CHANGED
|
@@ -695,7 +695,9 @@ var TextBox = /** @class */ (function (_super) {
|
|
|
695
695
|
floatLabelType: this.floatLabelType,
|
|
696
696
|
properties: this.properties
|
|
697
697
|
}, this.clearButton);
|
|
698
|
-
|
|
698
|
+
if (this.element.tagName === 'EJS-TEXTBOX') {
|
|
699
|
+
setValue('ej2_instances', null, this.element);
|
|
700
|
+
}
|
|
699
701
|
_super.prototype.destroy.call(this);
|
|
700
702
|
};
|
|
701
703
|
/**
|
package/src/uploader/uploader.js
CHANGED
|
@@ -370,7 +370,12 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
if (isNullOrUndefined(this.element.getAttribute('name'))) {
|
|
373
|
-
this.element.
|
|
373
|
+
if (!isNullOrUndefined(this.element.getAttribute('id')) && this.element.getAttribute('id') !== '') {
|
|
374
|
+
this.element.setAttribute('name', this.element.getAttribute('id'));
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
this.element.setAttribute('name', 'UploadFiles');
|
|
378
|
+
}
|
|
374
379
|
}
|
|
375
380
|
if (!this.element.hasAttribute('type')) {
|
|
376
381
|
this.element.setAttribute('type', 'file');
|
|
@@ -3068,7 +3073,9 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
3068
3073
|
this.keyboardModule = null;
|
|
3069
3074
|
this.clearButton = null;
|
|
3070
3075
|
this.uploadButton = null;
|
|
3071
|
-
|
|
3076
|
+
if (this.element.tagName === 'EJS-UPLOADER') {
|
|
3077
|
+
setValue('ej2_instances', null, this.element);
|
|
3078
|
+
}
|
|
3072
3079
|
_super.prototype.destroy.call(this);
|
|
3073
3080
|
};
|
|
3074
3081
|
/**
|
|
@@ -2850,8 +2850,8 @@ textarea.e-input::selection,
|
|
|
2850
2850
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning).e-error,
|
|
2851
2851
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error,
|
|
2852
2852
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error {
|
|
2853
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2854
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2853
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2854
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2855
2855
|
}
|
|
2856
2856
|
|
|
2857
2857
|
.e-input:focus:not(.e-error):not(.e-warning).e-success,
|
|
@@ -2861,8 +2861,8 @@ textarea.e-input::selection,
|
|
|
2861
2861
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group) textarea:focus,
|
|
2862
2862
|
.e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input,
|
|
2863
2863
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input {
|
|
2864
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2865
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2864
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2865
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2866
2866
|
}
|
|
2867
2867
|
|
|
2868
2868
|
.e-input:focus:not(.e-success):not(.e-error).e-warning,
|
|
@@ -2876,8 +2876,8 @@ textarea.e-input::selection,
|
|
|
2876
2876
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-error).e-warning,
|
|
2877
2877
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning,
|
|
2878
2878
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning {
|
|
2879
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2880
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2879
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2880
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2881
2881
|
}
|
|
2882
2882
|
|
|
2883
2883
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error) input.e-input:focus,
|
|
@@ -2902,8 +2902,8 @@ textarea.e-input::selection,
|
|
|
2902
2902
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-error):not(.e-warning).e-success,
|
|
2903
2903
|
.e-input-group:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success,
|
|
2904
2904
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success {
|
|
2905
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2906
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2905
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2906
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2907
2907
|
}
|
|
2908
2908
|
|
|
2909
2909
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error),
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -2850,8 +2850,8 @@ textarea.e-input::selection,
|
|
|
2850
2850
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning).e-error,
|
|
2851
2851
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error,
|
|
2852
2852
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error {
|
|
2853
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2854
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2853
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2854
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2855
2855
|
}
|
|
2856
2856
|
|
|
2857
2857
|
.e-input:focus:not(.e-error):not(.e-warning).e-success,
|
|
@@ -2861,8 +2861,8 @@ textarea.e-input::selection,
|
|
|
2861
2861
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group) textarea:focus,
|
|
2862
2862
|
.e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input,
|
|
2863
2863
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input {
|
|
2864
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2865
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2864
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2865
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2866
2866
|
}
|
|
2867
2867
|
|
|
2868
2868
|
.e-input:focus:not(.e-success):not(.e-error).e-warning,
|
|
@@ -2876,8 +2876,8 @@ textarea.e-input::selection,
|
|
|
2876
2876
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-error).e-warning,
|
|
2877
2877
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning,
|
|
2878
2878
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning {
|
|
2879
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2880
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2879
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2880
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2881
2881
|
}
|
|
2882
2882
|
|
|
2883
2883
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error) input.e-input:focus,
|
|
@@ -2902,8 +2902,8 @@ textarea.e-input::selection,
|
|
|
2902
2902
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-error):not(.e-warning).e-success,
|
|
2903
2903
|
.e-input-group:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success,
|
|
2904
2904
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success {
|
|
2905
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2906
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2905
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2906
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2907
2907
|
}
|
|
2908
2908
|
|
|
2909
2909
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error),
|
|
@@ -193,9 +193,9 @@ $input-bigger-small-left-child-min-height: $zero-value !default;
|
|
|
193
193
|
$input-bigger-small-left-child-min-width: $zero-value !default;
|
|
194
194
|
$input-icon-inner-width: $zero-value !default;
|
|
195
195
|
$input-icon-inner-height: $zero-value !default;
|
|
196
|
-
$input-error-border-shadow: 0 0 0 4px rgba(
|
|
197
|
-
$input-success-border-shadow: 0 0 0 4px rgba(
|
|
198
|
-
$input-warning-border-shadow: 0 0 0 4px rgba(
|
|
196
|
+
$input-error-border-shadow: 0 0 0 4px rgba($danger-shadow, .25) !default;
|
|
197
|
+
$input-success-border-shadow: 0 0 0 4px rgba($success-shadow, .25) !default;
|
|
198
|
+
$input-warning-border-shadow: 0 0 0 4px rgba($warning-shadow, .25) !default;
|
|
199
199
|
$input-group-border-shadow: $shadow-sm !default;
|
|
200
200
|
|
|
201
201
|
// color
|
|
@@ -2672,8 +2672,8 @@ textarea.e-input::selection,
|
|
|
2672
2672
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning).e-error,
|
|
2673
2673
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error,
|
|
2674
2674
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-warning).e-error {
|
|
2675
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2676
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2675
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2676
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-danger-shadow), 0.25);
|
|
2677
2677
|
}
|
|
2678
2678
|
|
|
2679
2679
|
.e-input:focus:not(.e-error):not(.e-warning).e-success,
|
|
@@ -2683,8 +2683,8 @@ textarea.e-input::selection,
|
|
|
2683
2683
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group) textarea:focus,
|
|
2684
2684
|
.e-float-input:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input,
|
|
2685
2685
|
.e-float-input.e-control-wrapper:not(.e-error):not(.e-warning).e-success:not(.e-input-group).e-input-focus input {
|
|
2686
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2687
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2686
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2687
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2688
2688
|
}
|
|
2689
2689
|
|
|
2690
2690
|
.e-input:focus:not(.e-success):not(.e-error).e-warning,
|
|
@@ -2698,8 +2698,8 @@ textarea.e-input::selection,
|
|
|
2698
2698
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-error).e-warning,
|
|
2699
2699
|
.e-input-group:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning,
|
|
2700
2700
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-success):not(.e-error).e-warning {
|
|
2701
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2702
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2701
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2702
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-warning-shadow), 0.25);
|
|
2703
2703
|
}
|
|
2704
2704
|
|
|
2705
2705
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error) input.e-input:focus,
|
|
@@ -2724,8 +2724,8 @@ textarea.e-input::selection,
|
|
|
2724
2724
|
.e-input-group.e-control-wrapper.e-input-focus:not(.e-error):not(.e-warning).e-success,
|
|
2725
2725
|
.e-input-group:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success,
|
|
2726
2726
|
.e-input-group.e-control-wrapper:not(.e-disabled):active:not(.e-error):not(.e-warning).e-success {
|
|
2727
|
-
-webkit-box-shadow: 0 0 0 4px rgba(
|
|
2728
|
-
box-shadow: 0 0 0 4px rgba(
|
|
2727
|
+
-webkit-box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2728
|
+
box-shadow: 0 0 0 4px rgba(var(--color-sf-success-shadow), 0.25);
|
|
2729
2729
|
}
|
|
2730
2730
|
|
|
2731
2731
|
.e-input-group:not(.e-success):not(.e-warning):not(.e-error),
|