@syncfusion/ej2-inputs 29.2.5 → 30.1.38
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 +40 -9
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +40 -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 +2 -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/slider/_tailwind3-definition.scss +1 -1
- package/styles/slider/tailwind3.css +2 -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 +3 -6
- package/styles/tailwind3.css +4 -6
- package/.eslintrc.json +0 -261
- package/aceconfig.js +0 -17
- package/tslint.json +0 -111
|
@@ -1744,7 +1744,8 @@ let NumericTextBox = class NumericTextBox extends Component {
|
|
|
1744
1744
|
/* istanbul ignore next */
|
|
1745
1745
|
if (this.isAngular
|
|
1746
1746
|
&& this.element.value !== getValue('decimal', getNumericObject(this.locale))
|
|
1747
|
-
&& this.element.value !== getValue('minusSign', getNumericObject(this.locale))
|
|
1747
|
+
&& this.element.value !== getValue('minusSign', getNumericObject(this.locale))
|
|
1748
|
+
&& this.numericRegex().test(this.element.value)) {
|
|
1748
1749
|
let parsedValue = this.instance.getNumberParser({ format: 'n' })(this.element.value);
|
|
1749
1750
|
parsedValue = isNaN(parsedValue) ? null : parsedValue;
|
|
1750
1751
|
numerictextboxObj.localChange({ value: parsedValue });
|
|
@@ -4585,9 +4586,13 @@ let Slider = class Slider extends Component {
|
|
|
4585
4586
|
}
|
|
4586
4587
|
else {
|
|
4587
4588
|
const range = !isNullOrUndefined(this.customValues) && this.customValues.length > 0 ?
|
|
4588
|
-
[[min.toString(), (this.customValues[this.value[1]])
|
|
4589
|
-
|
|
4590
|
-
|
|
4589
|
+
[[!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.customValues[this.value[1]]) ?
|
|
4590
|
+
(this.customValues[this.value[1]]).toString() : ''], [this.value.length > 0 && !isNullOrUndefined(this.customValues[this.value[0]]) ?
|
|
4591
|
+
(this.customValues[this.value[0]]).toString() : '', !isNullOrUndefined(max) ? max.toString() : '']] : [[
|
|
4592
|
+
!isNullOrUndefined(min) ? min.toString() : '', this.value.length > 1 && !isNullOrUndefined(this.value[1]) ? this.value[1].toString() : ''
|
|
4593
|
+
],
|
|
4594
|
+
[this.value.length > 0 && !isNullOrUndefined(this.value[0]) ? this.value[0].toString() : '',
|
|
4595
|
+
!isNullOrUndefined(max) ? max.toString() : '']];
|
|
4591
4596
|
range.forEach((range, index) => {
|
|
4592
4597
|
const element = index === 0 ? this.firstHandle : this.secondHandle;
|
|
4593
4598
|
if (element) {
|
|
@@ -10660,7 +10665,7 @@ let Uploader = class Uploader extends Component {
|
|
|
10660
10665
|
metaData.request.httpRequest.abort();
|
|
10661
10666
|
}
|
|
10662
10667
|
const liElement = this.getLiElement(metaData.file);
|
|
10663
|
-
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom)) {
|
|
10668
|
+
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
10664
10669
|
const targetElement = liElement.querySelector('.' + PAUSE_UPLOAD);
|
|
10665
10670
|
targetElement.classList.remove(PAUSE_UPLOAD);
|
|
10666
10671
|
targetElement.classList.add(RESUME_UPLOAD);
|
|
@@ -10811,8 +10816,10 @@ let Uploader = class Uploader extends Component {
|
|
|
10811
10816
|
if (isNullOrUndefined(this.template) && (isNullOrUndefined(custom) || !custom) && liElement) {
|
|
10812
10817
|
this.updateProgressBarClasses(liElement, UPLOAD_FAILED);
|
|
10813
10818
|
}
|
|
10814
|
-
metaData
|
|
10815
|
-
|
|
10819
|
+
if (metaData) {
|
|
10820
|
+
metaData.retryCount += 1;
|
|
10821
|
+
this.sendRequest(metaData.file, metaData);
|
|
10822
|
+
}
|
|
10816
10823
|
}
|
|
10817
10824
|
checkPausePlayAction(e) {
|
|
10818
10825
|
const targetElement = e.target;
|
|
@@ -11758,7 +11765,19 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
11758
11765
|
const popupEle = this.getPopupEle();
|
|
11759
11766
|
addClass([popupEle], 'e-colorpicker-popup');
|
|
11760
11767
|
if (this.cssClass) {
|
|
11761
|
-
|
|
11768
|
+
const classes = this.cssClass.replace(/\s+/g, ' ').trim().split(' ');
|
|
11769
|
+
if (popupEle) {
|
|
11770
|
+
addClass([popupEle], classes);
|
|
11771
|
+
}
|
|
11772
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0]) {
|
|
11773
|
+
addClass([this.splitBtn.activeElem[0]], classes);
|
|
11774
|
+
}
|
|
11775
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[1]) {
|
|
11776
|
+
addClass([this.splitBtn.activeElem[1]], classes);
|
|
11777
|
+
}
|
|
11778
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
11779
|
+
addClass([this.splitBtn.element.parentElement], classes);
|
|
11780
|
+
}
|
|
11762
11781
|
}
|
|
11763
11782
|
if (Browser.isDevice && !this.createPopupOnClick) {
|
|
11764
11783
|
const popupInst = this.getPopupInst();
|
|
@@ -13319,9 +13338,21 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
13319
13338
|
const popupWrapper = this.getPopupEle();
|
|
13320
13339
|
if (oldProp) {
|
|
13321
13340
|
removeClass([wrapper, popupWrapper], oldProp.split(' '));
|
|
13341
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13342
|
+
removeClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], oldProp.split(' '));
|
|
13343
|
+
}
|
|
13344
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13345
|
+
removeClass([this.splitBtn.element.parentElement], oldProp.split(' '));
|
|
13346
|
+
}
|
|
13322
13347
|
}
|
|
13323
13348
|
if (newProp) {
|
|
13324
13349
|
addClass([wrapper, popupWrapper], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13350
|
+
if (this.splitBtn && this.splitBtn.activeElem && this.splitBtn.activeElem[0] && this.splitBtn.activeElem[1]) {
|
|
13351
|
+
addClass([this.splitBtn.activeElem[0], this.splitBtn.activeElem[1]], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13352
|
+
}
|
|
13353
|
+
if (this.splitBtn && this.splitBtn.element && this.splitBtn.element.parentElement) {
|
|
13354
|
+
addClass([this.splitBtn.element.parentElement], newProp.replace(/\s+/g, ' ').trim().split(' '));
|
|
13355
|
+
}
|
|
13325
13356
|
}
|
|
13326
13357
|
}
|
|
13327
13358
|
changeRtlProps(newProp) {
|
|
@@ -18188,7 +18219,7 @@ __decorate$c([
|
|
|
18188
18219
|
Property(false)
|
|
18189
18220
|
], ButtonSettings.prototype, "isPrimary", void 0);
|
|
18190
18221
|
/**
|
|
18191
|
-
* Configuration settings for
|
|
18222
|
+
* Configuration settings for tooltip in the SpeechToText component.
|
|
18192
18223
|
* This allows customization of the tooltip content and its positioning.
|
|
18193
18224
|
*/
|
|
18194
18225
|
class TooltipSettings extends ChildProperty {
|