@syncfusion/ej2-inputs 32.1.19 → 32.1.20
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 +10 -1
- package/dist/ej2-inputs.umd.min.js +10 -1
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +5 -4
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +5 -4
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +10 -1
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +1 -1
- package/src/numerictextbox/numerictextbox.js +1 -1
- package/src/textarea/textarea.js +1 -1
- package/src/textbox/textbox.js +2 -1
- package/styles/input/_bigger.scss +4 -1
- package/styles/input/_material3-dark-definition.scss +3 -3
- package/styles/input/_material3-definition.scss +3 -3
- package/styles/input/material3-dark.css +4 -4
- package/styles/input/material3.css +4 -4
- package/styles/material3-dark-lite.css +2 -2
- package/styles/material3-dark.css +4 -4
- package/styles/material3-lite.css +2 -2
- package/styles/material3.css +4 -4
|
@@ -2596,7 +2596,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
2596
2596
|
var container = this.inputWrapper.container;
|
|
2597
2597
|
var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
2598
2598
|
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
2599
|
-
if (label && calculateWidth) {
|
|
2599
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
2600
2600
|
label.style.width = calculateWidth + 'px';
|
|
2601
2601
|
}
|
|
2602
2602
|
};
|
|
@@ -4436,7 +4436,7 @@ var MaskedTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
4436
4436
|
var container = this.inputObj.container;
|
|
4437
4437
|
var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
4438
4438
|
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
4439
|
-
if (label && calculateWidth) {
|
|
4439
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
4440
4440
|
label.style.width = calculateWidth + 'px';
|
|
4441
4441
|
}
|
|
4442
4442
|
};
|
|
@@ -14814,7 +14814,8 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
14814
14814
|
}
|
|
14815
14815
|
};
|
|
14816
14816
|
TextBox.prototype.keydownHandler = function (args) {
|
|
14817
|
-
|
|
14817
|
+
var isUndoAction = args.ctrlKey && args.keyCode === 90;
|
|
14818
|
+
if ((args.keyCode === 13 || args.keyCode === 9 || isUndoAction) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
|
|
14818
14819
|
this.setProperties({ value: this.respectiveElement.value }, true);
|
|
14819
14820
|
}
|
|
14820
14821
|
};
|
|
@@ -15964,7 +15965,7 @@ var TextArea = /** @__PURE__ @class */ (function (_super) {
|
|
|
15964
15965
|
var container = this.textareaWrapper.container;
|
|
15965
15966
|
var label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
15966
15967
|
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
15967
|
-
if (label && calculateWidth && (!this.prependTemplate || !this.appendTemplate)) {
|
|
15968
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1) && (!this.prependTemplate || !this.appendTemplate)) {
|
|
15968
15969
|
label.style.width = calculateWidth + 'px';
|
|
15969
15970
|
}
|
|
15970
15971
|
else if (this.floatLabelType === 'Auto' && (this.prependTemplate || this.appendTemplate)) {
|