@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
|
@@ -1356,7 +1356,7 @@ let NumericTextBox = class NumericTextBox extends Component {
|
|
|
1356
1356
|
attributes(this.element, { 'aria-readonly': 'true' });
|
|
1357
1357
|
}
|
|
1358
1358
|
this.hiddenInput = (this.createElement('input', { attrs: { type: 'text',
|
|
1359
|
-
'validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
|
|
1359
|
+
'data-validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
|
|
1360
1360
|
this.inputName = this.inputName !== null ? this.inputName : this.element.id;
|
|
1361
1361
|
this.element.removeAttribute('name');
|
|
1362
1362
|
if (this.isAngular && this.angularTagName === 'EJS-NUMERICTEXTBOX' && this.cloneElement.id.length > 0) {
|
|
@@ -4585,9 +4585,13 @@ let Slider = class Slider extends Component {
|
|
|
4585
4585
|
}
|
|
4586
4586
|
else {
|
|
4587
4587
|
const range = !isNullOrUndefined(this.customValues) && this.customValues.length > 0 ?
|
|
4588
|
-
[[min.toString(), (this.customValues[this.value[1]])
|
|
4589
|
-
|
|
4590
|
-
|
|
4588
|
+
[[!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.customValues[this.value[1]]) ?
|
|
4589
|
+
(this.customValues[this.value[1]]).toString() : ''], [this.value.length > 0 && !isNullOrUndefined(this.customValues[this.value[0]]) ?
|
|
4590
|
+
(this.customValues[this.value[0]]).toString() : '', !isNullOrUndefined(max) ? max.toString() : '']] : [[
|
|
4591
|
+
!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.value[1]) ? this.value[1].toString() : ''
|
|
4592
|
+
],
|
|
4593
|
+
[this.value.length > 0 && !isNullOrUndefined(this.value[0]) ? this.value[0].toString() : '',
|
|
4594
|
+
!isNullOrUndefined(max) ? max.toString() : '']];
|
|
4591
4595
|
range.forEach((range, index) => {
|
|
4592
4596
|
const element = index === 0 ? this.firstHandle : this.secondHandle;
|
|
4593
4597
|
if (element) {
|
|
@@ -10660,7 +10664,7 @@ let Uploader = class Uploader extends Component {
|
|
|
10660
10664
|
metaData.request.httpRequest.abort();
|
|
10661
10665
|
}
|
|
10662
10666
|
const liElement = this.getLiElement(metaData.file);
|
|
10663
|
-
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom)) {
|
|
10667
|
+
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
10664
10668
|
const targetElement = liElement.querySelector('.' + PAUSE_UPLOAD);
|
|
10665
10669
|
targetElement.classList.remove(PAUSE_UPLOAD);
|
|
10666
10670
|
targetElement.classList.add(RESUME_UPLOAD);
|
|
@@ -10811,8 +10815,10 @@ let Uploader = class Uploader extends Component {
|
|
|
10811
10815
|
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
10812
10816
|
this.updateProgressBarClasses(liElement, UPLOAD_FAILED);
|
|
10813
10817
|
}
|
|
10814
|
-
metaData
|
|
10815
|
-
|
|
10818
|
+
if (metaData) {
|
|
10819
|
+
metaData.retryCount += 1;
|
|
10820
|
+
this.sendRequest(metaData.file, metaData);
|
|
10821
|
+
}
|
|
10816
10822
|
}
|
|
10817
10823
|
checkPausePlayAction(e) {
|
|
10818
10824
|
const targetElement = e.target;
|
|
@@ -11758,7 +11764,19 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
11758
11764
|
const popupEle = this.getPopupEle();
|
|
11759
11765
|
addClass([popupEle], 'e-colorpicker-popup');
|
|
11760
11766
|
if (this.cssClass) {
|
|
11761
|
-
|
|
11767
|
+
const classes = this.cssClass.replace(/\s+/g, ' ').trim().split(' ');
|
|
11768
|
+
if (popupEle) {
|
|
11769
|
+
addClass([popupEle], classes);
|
|
11770
|
+
}
|
|
11771
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0]) {
|
|
11772
|
+
addClass([this.splitBtn.activeElem[0]], classes);
|
|
11773
|
+
}
|
|
11774
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[1]) {
|
|
11775
|
+
addClass([this.splitBtn.activeElem[1]], classes);
|
|
11776
|
+
}
|
|
11777
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
11778
|
+
addClass([this.splitBtn.element.parentElement], classes);
|
|
11779
|
+
}
|
|
11762
11780
|
}
|
|
11763
11781
|
if (Browser.isDevice && !this.createPopupOnClick) {
|
|
11764
11782
|
const popupInst = this.getPopupInst();
|
|
@@ -13319,9 +13337,21 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
13319
13337
|
const popupWrapper = this.getPopupEle();
|
|
13320
13338
|
if (oldProp) {
|
|
13321
13339
|
removeClass([wrapper, popupWrapper], oldProp.split(' '));
|
|
13340
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13341
|
+
removeClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], oldProp.split(' '));
|
|
13342
|
+
}
|
|
13343
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13344
|
+
removeClass([this.splitBtn.element.parentElement], oldProp.split(' '));
|
|
13345
|
+
}
|
|
13322
13346
|
}
|
|
13323
13347
|
if (newProp) {
|
|
13324
13348
|
addClass([wrapper, popupWrapper], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13349
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13350
|
+
addClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13351
|
+
}
|
|
13352
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13353
|
+
addClass([this.splitBtn.element.parentElement], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13354
|
+
}
|
|
13325
13355
|
}
|
|
13326
13356
|
}
|
|
13327
13357
|
changeRtlProps(newProp) {
|
|
@@ -18188,7 +18218,7 @@ __decorate$c([
|
|
|
18188
18218
|
Property(false)
|
|
18189
18219
|
], ButtonSettings.prototype, "isPrimary", void 0);
|
|
18190
18220
|
/**
|
|
18191
|
-
* Configuration settings for
|
|
18221
|
+
* Configuration settings for tooltip in the SpeechToText component.
|
|
18192
18222
|
* This allows customization of the tooltip content and its positioning.
|
|
18193
18223
|
*/
|
|
18194
18224
|
class TooltipSettings extends ChildProperty {
|