@syncfusion/ej2-inputs 21.1.38 → 21.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.
- package/CHANGELOG.md +2 -0
- 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 +14 -2
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +14 -2
- 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 +10 -13
- package/src/color-picker/color-picker.js +5 -0
- package/src/numerictextbox/numerictextbox.d.ts +1 -0
- package/src/numerictextbox/numerictextbox.js +8 -2
- package/src/uploader/uploader.js +1 -0
- package/styles/bootstrap-dark.css +0 -8
- package/styles/bootstrap.css +0 -8
- package/styles/bootstrap4.css +0 -8
- package/styles/bootstrap5-dark.css +0 -8
- package/styles/bootstrap5.css +0 -8
- package/styles/fabric-dark.css +0 -8
- package/styles/fabric.css +0 -8
- package/styles/fluent-dark.css +0 -8
- package/styles/fluent.css +0 -8
- package/styles/highcontrast-light.css +0 -8
- package/styles/highcontrast.css +0 -8
- package/styles/material-dark.css +0 -8
- package/styles/material.css +0 -8
- package/styles/rating/_bootstrap-dark-definition.scss +3 -4
- package/styles/rating/_bootstrap-definition.scss +3 -4
- package/styles/rating/_bootstrap4-definition.scss +3 -4
- package/styles/rating/_bootstrap5-definition.scss +0 -4
- package/styles/rating/_fabric-dark-definition.scss +3 -4
- package/styles/rating/_fabric-definition.scss +3 -4
- package/styles/rating/_fluent-definition.scss +0 -4
- package/styles/rating/_fusionnew-definition.scss +3 -4
- package/styles/rating/_highcontrast-definition.scss +3 -4
- package/styles/rating/_highcontrast-light-definition.scss +3 -4
- package/styles/rating/_layout.scss +0 -8
- package/styles/rating/_material-dark-definition.scss +3 -4
- package/styles/rating/_material-definition.scss +3 -4
- package/styles/rating/_tailwind-definition.scss +0 -4
- package/styles/rating/bootstrap-dark.css +0 -8
- package/styles/rating/bootstrap.css +0 -8
- package/styles/rating/bootstrap4.css +0 -8
- package/styles/rating/bootstrap5-dark.css +0 -8
- package/styles/rating/bootstrap5.css +0 -8
- package/styles/rating/fabric-dark.css +0 -8
- package/styles/rating/fabric.css +0 -8
- package/styles/rating/fluent-dark.css +0 -8
- package/styles/rating/fluent.css +0 -8
- package/styles/rating/highcontrast-light.css +0 -8
- package/styles/rating/highcontrast.css +0 -8
- package/styles/rating/material-dark.css +0 -8
- package/styles/rating/material.css +0 -8
- package/styles/rating/tailwind-dark.css +0 -8
- package/styles/rating/tailwind.css +0 -8
- package/styles/tailwind-dark.css +0 -8
- package/styles/tailwind.css +0 -8
|
@@ -1165,7 +1165,12 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1165
1165
|
'validateHidden': 'true', 'class': HIDDENELEMENT } }));
|
|
1166
1166
|
this.inputName = this.inputName !== null ? this.inputName : this.element.id;
|
|
1167
1167
|
this.element.removeAttribute('name');
|
|
1168
|
-
|
|
1168
|
+
if (this.isAngular && this.angularTagName === 'EJS-NUMERICTEXTBOX' && this.cloneElement.id.length > 0) {
|
|
1169
|
+
attributes(this.hiddenInput, { 'name': this.cloneElement.id });
|
|
1170
|
+
}
|
|
1171
|
+
else {
|
|
1172
|
+
attributes(this.hiddenInput, { 'name': this.inputName });
|
|
1173
|
+
}
|
|
1169
1174
|
this.container.insertBefore(this.hiddenInput, this.container.childNodes[1]);
|
|
1170
1175
|
this.updateDataAttribute(false);
|
|
1171
1176
|
if (this.inputStyle !== null) {
|
|
@@ -1408,7 +1413,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1408
1413
|
this.updateValue(parsedInput, event);
|
|
1409
1414
|
};
|
|
1410
1415
|
NumericTextBox.prototype.raiseChangeEvent = function (event) {
|
|
1411
|
-
if (this.prevValue !== this.value) {
|
|
1416
|
+
if (this.prevValue !== this.value || this.prevValue !== this.inputValue) {
|
|
1412
1417
|
var eventArgs = {};
|
|
1413
1418
|
this.changeEventArgs = { value: this.value, previousValue: this.prevValue, isInteracted: this.isInteract,
|
|
1414
1419
|
isInteraction: this.isInteract, event: event };
|
|
@@ -1625,6 +1630,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1625
1630
|
value = this.roundNumber(value, this.decimals);
|
|
1626
1631
|
}
|
|
1627
1632
|
}
|
|
1633
|
+
this.inputValue = value;
|
|
1628
1634
|
this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
|
|
1629
1635
|
/* istanbul ignore next */
|
|
1630
1636
|
if (!this.isDynamicChange) {
|
|
@@ -9371,6 +9377,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
9371
9377
|
var listItem = fileData_3[_i];
|
|
9372
9378
|
listItem.input = inputElement;
|
|
9373
9379
|
}
|
|
9380
|
+
inputElement.setAttribute('id', getUniqueID('hiddenUploader'));
|
|
9374
9381
|
inputElement.setAttribute('name', this.uploaderName);
|
|
9375
9382
|
this.uploadWrapper.querySelector('.' + INPUT_WRAPPER).appendChild(inputElement);
|
|
9376
9383
|
if (this.browserName !== 'msie' && this.browserName !== 'edge') {
|
|
@@ -12660,6 +12667,11 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
12660
12667
|
};
|
|
12661
12668
|
ColorPicker.prototype.destroyOtherComp = function () {
|
|
12662
12669
|
if (this.isPicker()) {
|
|
12670
|
+
var popup = closest(this.hueSlider.element, '.e-color-picker');
|
|
12671
|
+
var numericElemColl = popup.querySelectorAll('.e-numerictextbox');
|
|
12672
|
+
for (var i = 0; i < numericElemColl.length; i++) {
|
|
12673
|
+
getInstance(numericElemColl[i], NumericTextBox).destroy();
|
|
12674
|
+
}
|
|
12663
12675
|
this.hueSlider.destroy();
|
|
12664
12676
|
if (this.enableOpacity) {
|
|
12665
12677
|
this.opacitySlider.destroy();
|