@syncfusion/ej2-inputs 29.2.4 → 30.1.37
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/.eslintrc.json +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 +39 -9
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +39 -9
- 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 +12 -61
- package/src/color-picker/color-picker.js +25 -1
- package/src/numerictextbox/numerictextbox.js +1 -1
- package/src/slider/slider.js +7 -3
- package/src/speech-to-text/speech-to-text-model.d.ts +1 -1
- package/src/speech-to-text/speech-to-text.d.ts +2 -2
- package/src/speech-to-text/speech-to-text.js +1 -1
- package/src/uploader/uploader.js +5 -3
- package/styles/bds-lite.css +1 -5
- package/styles/bds.css +2 -5
- package/styles/bootstrap-dark-lite.css +1 -5
- package/styles/bootstrap-dark.css +2 -5
- package/styles/bootstrap-lite.css +1 -5
- package/styles/bootstrap.css +2 -5
- package/styles/bootstrap4-lite.css +1 -17
- package/styles/bootstrap4.css +2 -17
- package/styles/bootstrap5-dark-lite.css +0 -5
- package/styles/bootstrap5-dark.css +2 -7
- package/styles/bootstrap5-lite.css +0 -5
- package/styles/bootstrap5.3-lite.css +0 -5
- package/styles/bootstrap5.3.css +0 -5
- package/styles/bootstrap5.css +2 -7
- package/styles/color-picker/_bootstrap5-definition.scss +1 -1
- package/styles/color-picker/_layout.scss +6 -6
- package/styles/color-picker/_material3-definition.scss +1 -1
- package/styles/color-picker/_tailwind-definition.scss +2 -2
- package/styles/color-picker/bds.css +0 -5
- package/styles/color-picker/bootstrap-dark.css +0 -5
- package/styles/color-picker/bootstrap.css +0 -5
- package/styles/color-picker/bootstrap4.css +0 -17
- package/styles/color-picker/bootstrap5-dark.css +2 -7
- package/styles/color-picker/bootstrap5.3.css +0 -5
- package/styles/color-picker/bootstrap5.css +2 -7
- package/styles/color-picker/fabric-dark.css +0 -5
- package/styles/color-picker/fabric.css +0 -5
- package/styles/color-picker/fluent-dark.css +0 -5
- package/styles/color-picker/fluent.css +0 -5
- package/styles/color-picker/fluent2.css +0 -5
- package/styles/color-picker/highcontrast-light.css +0 -5
- package/styles/color-picker/highcontrast.css +0 -5
- package/styles/color-picker/material-dark.css +0 -4
- package/styles/color-picker/material.css +0 -4
- package/styles/color-picker/material3-dark.css +2 -2
- package/styles/color-picker/material3.css +2 -2
- package/styles/color-picker/tailwind-dark.css +2 -7
- package/styles/color-picker/tailwind.css +2 -7
- package/styles/color-picker/tailwind3.css +0 -4
- package/styles/fabric-dark-lite.css +2 -6
- package/styles/fabric-dark.css +4 -7
- package/styles/fabric-lite.css +0 -5
- package/styles/fabric.css +0 -5
- package/styles/fluent-dark-lite.css +2 -6
- package/styles/fluent-dark.css +6 -7
- package/styles/fluent-lite.css +2 -6
- package/styles/fluent.css +6 -7
- package/styles/fluent2-lite.css +3 -6
- package/styles/fluent2.css +4 -6
- package/styles/highcontrast-light-lite.css +1 -5
- package/styles/highcontrast-light.css +2 -5
- package/styles/highcontrast-lite.css +1 -5
- package/styles/highcontrast.css +2 -5
- package/styles/input/_layout.scss +9 -0
- package/styles/input/material-dark.css +7 -0
- package/styles/input/material.css +7 -0
- package/styles/input/material3-dark.css +7 -0
- package/styles/input/material3.css +7 -0
- package/styles/material-dark-lite.css +9 -4
- package/styles/material-dark.css +10 -4
- package/styles/material-lite.css +9 -4
- package/styles/material.css +11 -4
- package/styles/material3-dark-lite.css +12 -2
- package/styles/material3-dark.css +16 -2
- package/styles/material3-lite.css +12 -2
- package/styles/material3.css +16 -2
- package/styles/speech-to-text/_bds-definition.scss +2 -0
- package/styles/speech-to-text/_bigger.scss +16 -12
- package/styles/speech-to-text/_bootstrap-dark-definition.scss +2 -0
- package/styles/speech-to-text/_bootstrap-definition.scss +2 -0
- package/styles/speech-to-text/_bootstrap4-definition.scss +2 -0
- package/styles/speech-to-text/_bootstrap5-definition.scss +2 -0
- package/styles/speech-to-text/_bootstrap5.3-definition.scss +2 -0
- package/styles/speech-to-text/_fabric-dark-definition.scss +2 -0
- package/styles/speech-to-text/_fabric-definition.scss +2 -0
- package/styles/speech-to-text/_fluent-definition.scss +2 -0
- package/styles/speech-to-text/_fluent2-definition.scss +2 -0
- package/styles/speech-to-text/_fusionnew-definition.scss +2 -0
- package/styles/speech-to-text/_highcontrast-definition.scss +2 -0
- package/styles/speech-to-text/_highcontrast-light-definition.scss +2 -0
- package/styles/speech-to-text/_layout.scss +11 -13
- package/styles/speech-to-text/_material-dark-definition.scss +2 -0
- package/styles/speech-to-text/_material-definition.scss +2 -0
- package/styles/speech-to-text/_material3-definition.scss +2 -0
- package/styles/speech-to-text/_tailwind-definition.scss +2 -0
- package/styles/speech-to-text/_tailwind3-definition.scss +2 -0
- package/styles/speech-to-text/bds.css +2 -0
- package/styles/speech-to-text/bootstrap-dark.css +2 -0
- package/styles/speech-to-text/bootstrap.css +2 -0
- package/styles/speech-to-text/bootstrap4.css +2 -0
- package/styles/speech-to-text/fabric-dark.css +4 -2
- package/styles/speech-to-text/fluent-dark.css +6 -2
- package/styles/speech-to-text/fluent.css +6 -2
- package/styles/speech-to-text/fluent2.css +4 -1
- package/styles/speech-to-text/highcontrast-light.css +2 -0
- package/styles/speech-to-text/highcontrast.css +2 -0
- package/styles/speech-to-text/material-dark.css +3 -0
- package/styles/speech-to-text/material.css +4 -0
- package/styles/speech-to-text/material3-dark.css +7 -0
- package/styles/speech-to-text/material3.css +7 -0
- package/styles/speech-to-text/tailwind-dark.css +2 -0
- package/styles/speech-to-text/tailwind.css +2 -0
- package/styles/speech-to-text/tailwind3.css +2 -0
- package/styles/tailwind-dark-lite.css +1 -5
- package/styles/tailwind-dark.css +4 -7
- package/styles/tailwind-lite.css +1 -5
- package/styles/tailwind.css +4 -7
- package/styles/tailwind3-lite.css +1 -4
- package/styles/tailwind3.css +2 -4
- package/aceconfig.js +0 -17
|
@@ -1381,7 +1381,7 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
1381
1381
|
attributes(this.element, { 'aria-readonly': 'true' });
|
|
1382
1382
|
}
|
|
1383
1383
|
this.hiddenInput = (this.createElement('input', { attrs: { type: 'text',
|
|
1384
|
-
'validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
|
|
1384
|
+
'data-validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
|
|
1385
1385
|
this.inputName = this.inputName !== null ? this.inputName : this.element.id;
|
|
1386
1386
|
this.element.removeAttribute('name');
|
|
1387
1387
|
if (this.isAngular && this.angularTagName === 'EJS-NUMERICTEXTBOX' && this.cloneElement.id.length > 0) {
|
|
@@ -4686,9 +4686,13 @@ var Slider = /** @__PURE__ @class */ (function (_super) {
|
|
|
4686
4686
|
}
|
|
4687
4687
|
else {
|
|
4688
4688
|
var range = !isNullOrUndefined(this.customValues) && this.customValues.length > 0 ?
|
|
4689
|
-
[[min.toString(), (this.customValues[this.value[1]])
|
|
4690
|
-
|
|
4691
|
-
|
|
4689
|
+
[[!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.customValues[this.value[1]]) ?
|
|
4690
|
+
(this.customValues[this.value[1]]).toString() : ''], [this.value.length > 0 && !isNullOrUndefined(this.customValues[this.value[0]]) ?
|
|
4691
|
+
(this.customValues[this.value[0]]).toString() : '', !isNullOrUndefined(max) ? max.toString() : '']] : [[
|
|
4692
|
+
!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.value[1]) ? this.value[1].toString() : ''
|
|
4693
|
+
],
|
|
4694
|
+
[this.value.length > 0 && !isNullOrUndefined(this.value[0]) ? this.value[0].toString() : '',
|
|
4695
|
+
!isNullOrUndefined(max) ? max.toString() : '']];
|
|
4692
4696
|
range.forEach(function (range, index) {
|
|
4693
4697
|
var element = index === 0 ? _this.firstHandle : _this.secondHandle;
|
|
4694
4698
|
if (element) {
|
|
@@ -10873,7 +10877,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
10873
10877
|
metaData.request.httpRequest.abort();
|
|
10874
10878
|
}
|
|
10875
10879
|
var liElement = this.getLiElement(metaData.file);
|
|
10876
|
-
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom)) {
|
|
10880
|
+
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
10877
10881
|
var targetElement = liElement.querySelector('.' + PAUSE_UPLOAD);
|
|
10878
10882
|
targetElement.classList.remove(PAUSE_UPLOAD);
|
|
10879
10883
|
targetElement.classList.add(RESUME_UPLOAD);
|
|
@@ -11025,8 +11029,10 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
11025
11029
|
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
11026
11030
|
this.updateProgressBarClasses(liElement, UPLOAD_FAILED);
|
|
11027
11031
|
}
|
|
11028
|
-
metaData
|
|
11029
|
-
|
|
11032
|
+
if (metaData) {
|
|
11033
|
+
metaData.retryCount += 1;
|
|
11034
|
+
this.sendRequest(metaData.file, metaData);
|
|
11035
|
+
}
|
|
11030
11036
|
};
|
|
11031
11037
|
Uploader.prototype.checkPausePlayAction = function (e) {
|
|
11032
11038
|
var targetElement = e.target;
|
|
@@ -12002,7 +12008,19 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
12002
12008
|
var popupEle = this.getPopupEle();
|
|
12003
12009
|
addClass([popupEle], 'e-colorpicker-popup');
|
|
12004
12010
|
if (this.cssClass) {
|
|
12005
|
-
|
|
12011
|
+
var classes = this.cssClass.replace(/\s+/g, ' ').trim().split(' ');
|
|
12012
|
+
if (popupEle) {
|
|
12013
|
+
addClass([popupEle], classes);
|
|
12014
|
+
}
|
|
12015
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0]) {
|
|
12016
|
+
addClass([this.splitBtn.activeElem[0]], classes);
|
|
12017
|
+
}
|
|
12018
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[1]) {
|
|
12019
|
+
addClass([this.splitBtn.activeElem[1]], classes);
|
|
12020
|
+
}
|
|
12021
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
12022
|
+
addClass([this.splitBtn.element.parentElement], classes);
|
|
12023
|
+
}
|
|
12006
12024
|
}
|
|
12007
12025
|
if (Browser.isDevice && !this.createPopupOnClick) {
|
|
12008
12026
|
var popupInst = this.getPopupInst();
|
|
@@ -13574,9 +13592,21 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
13574
13592
|
var popupWrapper = this.getPopupEle();
|
|
13575
13593
|
if (oldProp) {
|
|
13576
13594
|
removeClass([wrapper, popupWrapper], oldProp.split(' '));
|
|
13595
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13596
|
+
removeClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], oldProp.split(' '));
|
|
13597
|
+
}
|
|
13598
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13599
|
+
removeClass([this.splitBtn.element.parentElement], oldProp.split(' '));
|
|
13600
|
+
}
|
|
13577
13601
|
}
|
|
13578
13602
|
if (newProp) {
|
|
13579
13603
|
addClass([wrapper, popupWrapper], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13604
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13605
|
+
addClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13606
|
+
}
|
|
13607
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13608
|
+
addClass([this.splitBtn.element.parentElement], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13609
|
+
}
|
|
13580
13610
|
}
|
|
13581
13611
|
};
|
|
13582
13612
|
ColorPicker.prototype.changeRtlProps = function (newProp) {
|
|
@@ -18677,7 +18707,7 @@ var ButtonSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
18677
18707
|
return ButtonSettings;
|
|
18678
18708
|
}(ChildProperty));
|
|
18679
18709
|
/**
|
|
18680
|
-
* Configuration settings for
|
|
18710
|
+
* Configuration settings for tooltip in the SpeechToText component.
|
|
18681
18711
|
* This allows customization of the tooltip content and its positioning.
|
|
18682
18712
|
*/
|
|
18683
18713
|
var TooltipSettings = /** @__PURE__ @class */ (function (_super) {
|