@syncfusion/ej2-inputs 21.2.9 → 22.1.34
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 +1 -0
- package/CHANGELOG.md +22 -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 +142 -109
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +144 -112
- 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 +9 -9
- package/src/color-picker/color-picker.d.ts +1 -0
- package/src/color-picker/color-picker.js +3 -14
- package/src/form-validator/form-validator.js +21 -3
- package/src/input/input.js +16 -10
- package/src/numerictextbox/numerictextbox.js +6 -2
- package/src/rating/rating-model.d.ts +31 -27
- package/src/rating/rating.d.ts +8 -4
- package/src/rating/rating.js +26 -19
- package/src/slider/slider.d.ts +31 -65
- package/src/slider/slider.js +69 -50
- package/src/textbox/textbox.js +3 -5
- package/src/uploader/uploader-model.d.ts +2 -1
- package/src/uploader/uploader.d.ts +2 -1
- package/src/uploader/uploader.js +2 -10
- package/styles/bootstrap-dark.css +22 -3
- package/styles/bootstrap.css +22 -3
- package/styles/bootstrap4.css +22 -4
- package/styles/bootstrap5-dark.css +22 -3
- package/styles/bootstrap5.css +22 -3
- package/styles/color-picker/_layout.scss +49 -5
- package/styles/color-picker/_material3-dark-definition.scss +1 -0
- package/styles/color-picker/_material3-definition.scss +141 -0
- package/styles/color-picker/_theme.scss +6 -1
- package/styles/color-picker/fluent-dark.css +1 -0
- package/styles/color-picker/fluent.css +1 -0
- package/styles/color-picker/icons/_material3-dark.scss +1 -0
- package/styles/color-picker/material3-dark.css +880 -0
- package/styles/color-picker/material3-dark.scss +12 -0
- package/styles/color-picker/material3.css +936 -0
- package/styles/color-picker/material3.scss +12 -0
- package/styles/fabric-dark.css +22 -3
- package/styles/fabric.css +22 -3
- package/styles/fluent-dark.css +23 -3
- package/styles/fluent.css +23 -3
- package/styles/highcontrast-light.css +22 -3
- package/styles/highcontrast.css +22 -3
- package/styles/input/_layout.scss +268 -107
- package/styles/input/_material3-dark-definition.scss +1 -0
- package/styles/input/_material3-definition.scss +548 -0
- package/styles/input/_theme.scss +3 -2
- package/styles/input/bootstrap-dark.css +14 -1
- package/styles/input/bootstrap.css +14 -1
- package/styles/input/bootstrap4.css +14 -1
- package/styles/input/bootstrap5-dark.css +14 -1
- package/styles/input/bootstrap5.css +14 -1
- package/styles/input/fabric-dark.css +14 -1
- package/styles/input/fabric.css +14 -1
- package/styles/input/fluent-dark.css +14 -1
- package/styles/input/fluent.css +14 -1
- package/styles/input/highcontrast-light.css +14 -1
- package/styles/input/highcontrast.css +14 -1
- package/styles/input/icons/_material3-dark.scss +1 -0
- package/styles/input/material-dark.css +92 -64
- package/styles/input/material.css +92 -64
- package/styles/input/material3-dark.css +12357 -0
- package/styles/input/material3-dark.scss +5 -0
- package/styles/input/material3.css +12413 -0
- package/styles/input/material3.scss +5 -0
- package/styles/input/tailwind-dark.css +14 -1
- package/styles/input/tailwind.css +14 -1
- package/styles/maskedtextbox/_material3-dark-definition.scss +1 -0
- package/styles/maskedtextbox/_material3-definition.scss +4 -0
- package/styles/maskedtextbox/material3-dark.css +104 -0
- package/styles/maskedtextbox/material3-dark.scss +5 -0
- package/styles/maskedtextbox/material3.css +160 -0
- package/styles/maskedtextbox/material3.scss +5 -0
- package/styles/material-dark.css +102 -66
- package/styles/material.css +102 -66
- package/styles/material3-dark.css +15119 -0
- package/styles/material3-dark.scss +11 -0
- package/styles/material3.css +15175 -0
- package/styles/material3.scss +11 -0
- package/styles/numerictextbox/_material3-dark-definition.scss +1 -0
- package/styles/numerictextbox/_material3-definition.scss +4 -0
- package/styles/numerictextbox/icons/_material3-dark.scss +1 -0
- package/styles/numerictextbox/material3-dark.css +118 -0
- package/styles/numerictextbox/material3-dark.scss +6 -0
- package/styles/numerictextbox/material3.css +174 -0
- package/styles/numerictextbox/material3.scss +6 -0
- package/styles/rating/_bootstrap-dark-definition.scss +4 -3
- package/styles/rating/_bootstrap-definition.scss +4 -3
- package/styles/rating/_bootstrap4-definition.scss +4 -3
- package/styles/rating/_bootstrap5-definition.scss +4 -0
- package/styles/rating/_fabric-dark-definition.scss +4 -3
- package/styles/rating/_fabric-definition.scss +4 -3
- package/styles/rating/_fluent-definition.scss +4 -0
- package/styles/rating/_fusionnew-definition.scss +4 -3
- package/styles/rating/_highcontrast-definition.scss +4 -3
- package/styles/rating/_highcontrast-light-definition.scss +4 -3
- package/styles/rating/_layout.scss +2 -0
- package/styles/rating/_material-dark-definition.scss +4 -3
- package/styles/rating/_material-definition.scss +4 -3
- package/styles/rating/_material3-dark-definition.scss +1 -0
- package/styles/rating/_material3-definition.scss +47 -0
- package/styles/rating/_tailwind-definition.scss +4 -0
- package/styles/rating/_theme.scss +36 -14
- package/styles/rating/bootstrap-dark.css +8 -2
- package/styles/rating/bootstrap.css +8 -2
- package/styles/rating/bootstrap4.css +8 -3
- package/styles/rating/bootstrap5-dark.css +8 -2
- package/styles/rating/bootstrap5.css +8 -2
- package/styles/rating/fabric-dark.css +8 -2
- package/styles/rating/fabric.css +8 -2
- package/styles/rating/fluent-dark.css +8 -2
- package/styles/rating/fluent.css +8 -2
- package/styles/rating/highcontrast-light.css +8 -2
- package/styles/rating/highcontrast.css +8 -2
- package/styles/rating/material-dark.css +8 -2
- package/styles/rating/material.css +8 -2
- package/styles/rating/material3-dark.css +340 -0
- package/styles/rating/material3-dark.scss +5 -0
- package/styles/rating/material3.css +396 -0
- package/styles/rating/material3.scss +5 -0
- package/styles/rating/tailwind-dark.css +8 -2
- package/styles/rating/tailwind.css +8 -2
- package/styles/signature/_material3-dark-definition.scss +1 -0
- package/styles/signature/_material3-definition.scss +3 -0
- package/styles/signature/material3-dark.css +65 -0
- package/styles/signature/material3-dark.scss +4 -0
- package/styles/signature/material3.css +121 -0
- package/styles/signature/material3.scss +4 -0
- package/styles/slider/_layout.scss +60 -15
- package/styles/slider/_material3-dark-definition.scss +1 -0
- package/styles/slider/_material3-definition.scss +97 -0
- package/styles/slider/_theme.scss +11 -2
- package/styles/slider/material-dark.css +2 -0
- package/styles/slider/material.css +2 -0
- package/styles/slider/material3-dark.css +765 -0
- package/styles/slider/material3-dark.scss +6 -0
- package/styles/slider/material3.css +821 -0
- package/styles/slider/material3.scss +6 -0
- package/styles/tailwind-dark.css +22 -3
- package/styles/tailwind.css +22 -3
- package/styles/textbox/_bootstrap-dark-definition.scss +3 -0
- package/styles/textbox/_bootstrap-definition.scss +3 -0
- package/styles/textbox/_bootstrap4-definition.scss +3 -0
- package/styles/textbox/_bootstrap5-definition.scss +3 -0
- package/styles/textbox/_fabric-dark-definition.scss +3 -0
- package/styles/textbox/_fabric-definition.scss +3 -0
- package/styles/textbox/_fluent-definition.scss +3 -0
- package/styles/textbox/_fusionnew-definition.scss +3 -0
- package/styles/textbox/_highcontrast-definition.scss +3 -0
- package/styles/textbox/_highcontrast-light-definition.scss +3 -0
- package/styles/textbox/_layout.scss +27 -0
- package/styles/textbox/_material-dark-definition.scss +3 -0
- package/styles/textbox/_material-definition.scss +3 -0
- package/styles/textbox/_material3-dark-definition.scss +1 -0
- package/styles/textbox/_material3-definition.scss +4 -0
- package/styles/textbox/_tailwind-definition.scss +3 -0
- package/styles/textbox/material3-dark.css +72 -0
- package/styles/textbox/material3-dark.scss +5 -0
- package/styles/textbox/material3.css +128 -0
- package/styles/textbox/material3.scss +5 -0
- package/styles/uploader/_material3-dark-definition.scss +1 -0
- package/styles/uploader/_material3-definition.scss +215 -0
- package/styles/uploader/icons/_material3-dark.scss +1 -0
- package/styles/uploader/material3-dark.css +861 -0
- package/styles/uploader/material3-dark.scss +7 -0
- package/styles/uploader/material3.css +917 -0
- package/styles/uploader/material3.scss +7 -0
package/src/slider/slider.d.ts
CHANGED
|
@@ -231,84 +231,49 @@ export declare class TooltipData extends ChildProperty<TooltipData> {
|
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
233
|
* Ticks Placement.
|
|
234
|
+
* ```props
|
|
235
|
+
* Before :- Ticks are placed in the top of the horizontal slider bar or at the left of the vertical slider bar.
|
|
236
|
+
* After :- Ticks are placed in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
|
|
237
|
+
* Both :- Ticks are placed on the both side of the slider bar.
|
|
238
|
+
* None :- Ticks are not shown.
|
|
239
|
+
* ```
|
|
234
240
|
*/
|
|
235
|
-
export declare type Placement =
|
|
236
|
-
/**
|
|
237
|
-
* Ticks are placed in the top of the horizontal slider bar or at the left of the vertical slider bar.
|
|
238
|
-
*/
|
|
239
|
-
'Before' |
|
|
240
|
-
/**
|
|
241
|
-
* Ticks are placed in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
|
|
242
|
-
*/
|
|
243
|
-
'After' |
|
|
244
|
-
/**
|
|
245
|
-
* Ticks are placed on the both side of the slider bar.
|
|
246
|
-
*/
|
|
247
|
-
'Both' |
|
|
248
|
-
/**
|
|
249
|
-
* Ticks are not shown.
|
|
250
|
-
*/
|
|
251
|
-
'None';
|
|
241
|
+
export declare type Placement = 'Before' | 'After' | 'Both' | 'None';
|
|
252
242
|
/**
|
|
253
243
|
* Tooltip Placement.
|
|
244
|
+
* ```props
|
|
245
|
+
* Before :- Tooltip is shown in the top of the horizontal slider bar or at the left of the vertical slider bar.
|
|
246
|
+
* After :- Tooltip is shown in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
|
|
247
|
+
* ```
|
|
254
248
|
*/
|
|
255
|
-
export declare type TooltipPlacement =
|
|
256
|
-
/**
|
|
257
|
-
* Tooltip is shown in the top of the horizontal slider bar or at the left of the vertical slider bar.
|
|
258
|
-
*/
|
|
259
|
-
'Before' |
|
|
260
|
-
/**
|
|
261
|
-
* Tooltip is shown in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
|
|
262
|
-
*/
|
|
263
|
-
'After';
|
|
249
|
+
export declare type TooltipPlacement = 'Before' | 'After';
|
|
264
250
|
/**
|
|
265
251
|
* Tooltip ShowOn.
|
|
252
|
+
* ```props
|
|
253
|
+
* Focus :- Tooltip is shown while focusing the Slider handle.
|
|
254
|
+
* Hover :- Tooltip is shown while hovering the Slider handle.
|
|
255
|
+
* Always :- Tooltip is shown always.
|
|
256
|
+
* Auto :- Tooltip is shown while hovering the Slider handle in desktop and tap and hold in touch devices.
|
|
257
|
+
* ```
|
|
266
258
|
*/
|
|
267
|
-
export declare type TooltipShowOn =
|
|
268
|
-
/**
|
|
269
|
-
* Tooltip is shown while focusing the Slider handle.
|
|
270
|
-
*/
|
|
271
|
-
'Focus' |
|
|
272
|
-
/**
|
|
273
|
-
* Tooltip is shown while hovering the Slider handle.
|
|
274
|
-
*/
|
|
275
|
-
'Hover' |
|
|
276
|
-
/**
|
|
277
|
-
* Tooltip is shown always.
|
|
278
|
-
*/
|
|
279
|
-
'Always' |
|
|
280
|
-
/**
|
|
281
|
-
* Tooltip is shown while hovering the Slider handle in desktop and tap and hold in touch devices.
|
|
282
|
-
*/
|
|
283
|
-
'Auto';
|
|
259
|
+
export declare type TooltipShowOn = 'Focus' | 'Hover' | 'Always' | 'Auto';
|
|
284
260
|
/**
|
|
285
261
|
* Slider type.
|
|
262
|
+
* ```props
|
|
263
|
+
* Default :- Allows to select a single value in the Slider.
|
|
264
|
+
* MinRange :- Allows to select a single value in the Slider, it display’s a shadow from the start to the current value.
|
|
265
|
+
* Range :- Allows to select a range of values in the Slider.
|
|
266
|
+
* ```
|
|
286
267
|
*/
|
|
287
|
-
export declare type SliderType =
|
|
288
|
-
/**
|
|
289
|
-
* Allows to select a single value in the Slider.
|
|
290
|
-
*/
|
|
291
|
-
'Default' |
|
|
292
|
-
/**
|
|
293
|
-
* Allows to select a single value in the Slider, it display’s a shadow from the start to the current value.
|
|
294
|
-
*/
|
|
295
|
-
'MinRange' |
|
|
296
|
-
/**
|
|
297
|
-
* Allows to select a range of values in the Slider.
|
|
298
|
-
*/
|
|
299
|
-
'Range';
|
|
268
|
+
export declare type SliderType = 'Default' | 'MinRange' | 'Range';
|
|
300
269
|
/**
|
|
301
270
|
* Slider orientation.
|
|
271
|
+
* ```props
|
|
272
|
+
* Horizontal :- Renders the slider in horizontal orientation.
|
|
273
|
+
* Vertical :- Renders the slider in vertical orientation.
|
|
274
|
+
* ```
|
|
302
275
|
*/
|
|
303
|
-
export declare type SliderOrientation =
|
|
304
|
-
/**
|
|
305
|
-
* Renders the slider in horizontal orientation.
|
|
306
|
-
*/
|
|
307
|
-
'Horizontal' |
|
|
308
|
-
/**
|
|
309
|
-
* Renders the slider in vertical orientation.
|
|
310
|
-
*/
|
|
311
|
-
'Vertical';
|
|
276
|
+
export declare type SliderOrientation = 'Horizontal' | 'Vertical';
|
|
312
277
|
/**
|
|
313
278
|
* The Slider component allows the user to select a value or range
|
|
314
279
|
* of values in-between a min and max range, by dragging the handle over the slider bar.
|
|
@@ -361,6 +326,7 @@ export declare class Slider extends Component<HTMLElement> implements INotifyPro
|
|
|
361
326
|
private previousChanged;
|
|
362
327
|
private repeatInterval;
|
|
363
328
|
private isMaterial;
|
|
329
|
+
private isMaterial3;
|
|
364
330
|
private isBootstrap;
|
|
365
331
|
private isBootstrap4;
|
|
366
332
|
private isTailwind;
|
package/src/slider/slider.js
CHANGED
|
@@ -437,13 +437,15 @@ var Slider = /** @class */ (function (_super) {
|
|
|
437
437
|
Slider.prototype.getThemeInitialization = function () {
|
|
438
438
|
this.isMaterial = this.getTheme(this.sliderContainer) === 'material'
|
|
439
439
|
|| this.getTheme(this.sliderContainer) === 'material-dark';
|
|
440
|
+
this.isMaterial3 = this.getTheme(this.sliderContainer) === 'Material3'
|
|
441
|
+
|| this.getTheme(this.sliderContainer) === 'Material3-dark';
|
|
440
442
|
this.isBootstrap = this.getTheme(this.sliderContainer) === 'bootstrap'
|
|
441
443
|
|| this.getTheme(this.sliderContainer) === 'bootstrap-dark';
|
|
442
444
|
this.isBootstrap4 = this.getTheme(this.sliderContainer) === 'bootstrap4';
|
|
443
445
|
this.isTailwind = this.getTheme(this.sliderContainer) === 'tailwind' || this.getTheme(this.sliderContainer) === 'tailwind-dark';
|
|
444
446
|
this.isBootstrap5 = this.getTheme(this.sliderContainer) === 'bootstrap5';
|
|
445
447
|
this.isFluent = this.getTheme(this.sliderContainer) === 'FluentUI';
|
|
446
|
-
this.isMaterialTooltip = this.isMaterial && this.type !== 'Range' && this.tooltip.isVisible;
|
|
448
|
+
this.isMaterialTooltip = (this.isMaterial || this.isMaterial3) && this.type !== 'Range' && this.tooltip.isVisible;
|
|
447
449
|
};
|
|
448
450
|
Slider.prototype.createRangeBar = function () {
|
|
449
451
|
if (this.type !== 'Default') {
|
|
@@ -597,7 +599,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
597
599
|
if (this.type !== 'Default') {
|
|
598
600
|
this.rangeBar.style.transition = 'none';
|
|
599
601
|
}
|
|
600
|
-
if (this.isMaterial && this.tooltip.isVisible && this.type === 'Default') {
|
|
602
|
+
if ((this.isMaterial || this.isMaterial3) && this.tooltip.isVisible && this.type === 'Default') {
|
|
601
603
|
this.tooltipElement.style.transition = this.transition.handle;
|
|
602
604
|
}
|
|
603
605
|
this.tooltipToggle(this.getHandle());
|
|
@@ -644,9 +646,6 @@ var Slider = /** @class */ (function (_super) {
|
|
|
644
646
|
}
|
|
645
647
|
};
|
|
646
648
|
Slider.prototype.setHandler = function () {
|
|
647
|
-
if (this.min > this.max) {
|
|
648
|
-
this.min = this.max;
|
|
649
|
-
}
|
|
650
649
|
this.createFirstHandle();
|
|
651
650
|
if (this.type === 'Range') {
|
|
652
651
|
this.createSecondHandle();
|
|
@@ -797,7 +796,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
797
796
|
}
|
|
798
797
|
};
|
|
799
798
|
Slider.prototype.tooltipCollision = function (position) {
|
|
800
|
-
if (this.isBootstrap || this.isBootstrap4 || (this.isMaterial && !this.isMaterialTooltip)) {
|
|
799
|
+
if (this.isBootstrap || this.isBootstrap4 || ((this.isMaterial || this.isMaterial3) && !this.isMaterialTooltip)) {
|
|
801
800
|
var tooltipOffsetValue = this.isBootstrap4 ? bootstrap4TooltipOffset : bootstrapTooltipOffset;
|
|
802
801
|
switch (position) {
|
|
803
802
|
case 'TopCenter':
|
|
@@ -937,9 +936,9 @@ var Slider = /** @class */ (function (_super) {
|
|
|
937
936
|
};
|
|
938
937
|
Slider.prototype.renderTooltip = function () {
|
|
939
938
|
this.tooltipObj = new Tooltip({
|
|
940
|
-
showTipPointer: this.isBootstrap || this.isMaterial || this.isBootstrap4 || this.isTailwind || this.isBootstrap5 || this.isFluent,
|
|
939
|
+
showTipPointer: this.isBootstrap || this.isMaterial || this.isMaterial3 || this.isBootstrap4 || this.isTailwind || this.isBootstrap5 || this.isFluent,
|
|
941
940
|
cssClass: classNames.sliderTooltip,
|
|
942
|
-
height: this.isMaterial ? 30 : 'auto',
|
|
941
|
+
height: (this.isMaterial || this.isMaterial3) ? 30 : 'auto',
|
|
943
942
|
animation: { open: { effect: 'None' }, close: { effect: 'FadeOut', duration: 500 } },
|
|
944
943
|
opensOn: 'Custom',
|
|
945
944
|
beforeOpen: this.tooltipBeforeOpen.bind(this),
|
|
@@ -999,7 +998,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
999
998
|
attributes(enabledRTL ? this.firstBtn : this.secondBtn, { 'aria-label': incrementTitle, title: incrementTitle });
|
|
1000
999
|
};
|
|
1001
1000
|
Slider.prototype.buttonFocusOut = function () {
|
|
1002
|
-
if (this.isMaterial) {
|
|
1001
|
+
if (this.isMaterial || this.isMaterial3) {
|
|
1003
1002
|
this.getHandle().classList.remove('e-large-thumb-size');
|
|
1004
1003
|
}
|
|
1005
1004
|
};
|
|
@@ -1178,7 +1177,12 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1178
1177
|
start = this.makeRoundNumber(start + smallStep, decimalPoints);
|
|
1179
1178
|
}
|
|
1180
1179
|
else {
|
|
1181
|
-
|
|
1180
|
+
if (this.min > this.max) {
|
|
1181
|
+
start = this.makeRoundNumber(start + smallStep, decimalPoints);
|
|
1182
|
+
}
|
|
1183
|
+
else {
|
|
1184
|
+
start = this.makeRoundNumber(start - smallStep, decimalPoints);
|
|
1185
|
+
}
|
|
1182
1186
|
}
|
|
1183
1187
|
left = this.makeRoundNumber(left + smallStep, decimalPoints);
|
|
1184
1188
|
}
|
|
@@ -1424,16 +1428,16 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1424
1428
|
(value = this.add(hVal, parseFloat(this.ticks.largeStep.toString()), false));
|
|
1425
1429
|
}
|
|
1426
1430
|
else if ((args.keyCode === 36)) {
|
|
1427
|
-
value = parseFloat(this.min.toString());
|
|
1431
|
+
value = parseFloat(this.min < this.max ? this.min.toString() : this.max.toString());
|
|
1428
1432
|
}
|
|
1429
1433
|
else if ((args.keyCode === 35)) {
|
|
1430
|
-
value = parseFloat(this.max.toString());
|
|
1434
|
+
value = parseFloat(this.min < this.max ? this.max.toString() : this.min.toString());
|
|
1431
1435
|
}
|
|
1432
1436
|
if (this.limits.enabled) {
|
|
1433
1437
|
value = this.getLimitCorrectedValues(value);
|
|
1434
1438
|
}
|
|
1435
1439
|
this.changeHandleValue(value);
|
|
1436
|
-
if (this.isMaterial && !this.tooltip.isVisible &&
|
|
1440
|
+
if ((this.isMaterial || this.isMaterial3) && !this.tooltip.isVisible &&
|
|
1437
1441
|
!this.getHandle().classList.contains(classNames.sliderTabHandle)) {
|
|
1438
1442
|
this.materialChange();
|
|
1439
1443
|
}
|
|
@@ -1482,12 +1486,12 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1482
1486
|
}
|
|
1483
1487
|
else {
|
|
1484
1488
|
if (this.type === 'MinRange') {
|
|
1485
|
-
this.rangeBar.style.bottom = '0px';
|
|
1486
|
-
setStyleAttribute(this.rangeBar, { 'height': isNullOrUndefined(this.handlePos1) ? 0 : this.handlePos1 + 'px' });
|
|
1489
|
+
this.rangeBar.style.bottom = this.min > this.max ? this.handlePos1 + 'px' : '0px';
|
|
1490
|
+
setStyleAttribute(this.rangeBar, { 'height': isNullOrUndefined(this.handlePos1) ? 0 : this.min > this.max ? this.element.clientHeight - this.handlePos1 + 'px' : this.handlePos1 + 'px' });
|
|
1487
1491
|
}
|
|
1488
1492
|
else {
|
|
1489
|
-
this.rangeBar.style.bottom = this.handlePos1 + 'px';
|
|
1490
|
-
setStyleAttribute(this.rangeBar, { 'height': this.handlePos2 - this.handlePos1 + 'px' });
|
|
1493
|
+
this.rangeBar.style.bottom = this.min > this.max ? this.handlePos2 + 'px' : this.handlePos1 + 'px';
|
|
1494
|
+
setStyleAttribute(this.rangeBar, { 'height': this.min > this.max ? this.handlePos1 - this.handlePos2 + 'px' : this.handlePos2 - this.handlePos1 + 'px' });
|
|
1491
1495
|
}
|
|
1492
1496
|
}
|
|
1493
1497
|
};
|
|
@@ -1508,8 +1512,8 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1508
1512
|
}
|
|
1509
1513
|
}
|
|
1510
1514
|
else {
|
|
1511
|
-
this.limitBarFirst.style.bottom = fromMinPostion + 'px';
|
|
1512
|
-
this.limitBarFirst.style.height = (fromMaxpostion - fromMinPostion) + 'px';
|
|
1515
|
+
this.limitBarFirst.style.bottom = (this.min < this.max ? fromMinPostion : fromMaxpostion) + 'px';
|
|
1516
|
+
this.limitBarFirst.style.height = (this.min < this.max ? (fromMaxpostion - fromMinPostion) : (fromMinPostion - fromMaxpostion)) + 'px';
|
|
1513
1517
|
}
|
|
1514
1518
|
if (this.type === 'Range') {
|
|
1515
1519
|
if (this.orientation === 'Horizontal') {
|
|
@@ -1523,8 +1527,8 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1523
1527
|
}
|
|
1524
1528
|
}
|
|
1525
1529
|
else {
|
|
1526
|
-
this.limitBarSecond.style.bottom = toMinPostion + 'px';
|
|
1527
|
-
this.limitBarSecond.style.height = (toMaxpostion - toMinPostion) + 'px';
|
|
1530
|
+
this.limitBarSecond.style.bottom = (this.min < this.max ? toMinPostion : toMaxpostion) + 'px';
|
|
1531
|
+
this.limitBarSecond.style.height = (this.min < this.max ? (toMaxpostion - toMinPostion) : (toMinPostion - toMaxpostion)) + 'px';
|
|
1528
1532
|
}
|
|
1529
1533
|
}
|
|
1530
1534
|
};
|
|
@@ -1550,13 +1554,13 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1550
1554
|
};
|
|
1551
1555
|
Slider.prototype.getLimitValueAndPosition = function (currentValue, minValue, maxValue, limitBar) {
|
|
1552
1556
|
if (isNullOrUndefined(minValue)) {
|
|
1553
|
-
minValue = this.min;
|
|
1557
|
+
minValue = this.min < this.max ? this.min : this.max;
|
|
1554
1558
|
if (isNullOrUndefined(currentValue) && limitBar) {
|
|
1555
1559
|
currentValue = minValue;
|
|
1556
1560
|
}
|
|
1557
1561
|
}
|
|
1558
1562
|
if (isNullOrUndefined(maxValue)) {
|
|
1559
|
-
maxValue = this.max;
|
|
1563
|
+
maxValue = this.min < this.max ? this.max : this.min;
|
|
1560
1564
|
if (isNullOrUndefined(currentValue) && limitBar) {
|
|
1561
1565
|
currentValue = maxValue;
|
|
1562
1566
|
}
|
|
@@ -1739,10 +1743,14 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1739
1743
|
}
|
|
1740
1744
|
this.handlePos1 = this.checkHandlePosition(this.handleVal1);
|
|
1741
1745
|
this.handlePos2 = this.checkHandlePosition(this.handleVal2);
|
|
1742
|
-
if (this.handlePos1 > this.handlePos2) {
|
|
1746
|
+
if (this.min < this.max && this.handlePos1 > this.handlePos2) {
|
|
1743
1747
|
this.handlePos1 = this.handlePos2;
|
|
1744
1748
|
this.handleVal1 = this.handleVal2;
|
|
1745
1749
|
}
|
|
1750
|
+
if (this.min > this.max && this.handlePos1 < this.handlePos2) {
|
|
1751
|
+
this.handlePos2 = this.handlePos1;
|
|
1752
|
+
this.handleVal2 = this.handleVal1;
|
|
1753
|
+
}
|
|
1746
1754
|
this.preHandlePos1 = this.handlePos1;
|
|
1747
1755
|
this.preHandlePos2 = this.handlePos2;
|
|
1748
1756
|
if (this.limits.enabled) {
|
|
@@ -1779,9 +1787,6 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1779
1787
|
return pos;
|
|
1780
1788
|
};
|
|
1781
1789
|
Slider.prototype.checkHandleValue = function (value) {
|
|
1782
|
-
if (this.min > this.max) {
|
|
1783
|
-
this.min = this.max;
|
|
1784
|
-
}
|
|
1785
1790
|
if (this.min === this.max) {
|
|
1786
1791
|
return (parseFloat(formatUnit(this.max)));
|
|
1787
1792
|
}
|
|
@@ -1842,13 +1847,13 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1842
1847
|
this.materialHandle.style.bottom = this.handlePos1 + "px";
|
|
1843
1848
|
}
|
|
1844
1849
|
if (this.type === 'MinRange') {
|
|
1845
|
-
this.rangeBar.style.bottom = '0px';
|
|
1846
|
-
setStyleAttribute(this.rangeBar, { 'height': isNullOrUndefined(this.handlePos1) ? 0 : this.handlePos1 + 'px' });
|
|
1850
|
+
this.rangeBar.style.bottom = this.min > this.max ? this.handlePos1 + 'px' : '0px';
|
|
1851
|
+
setStyleAttribute(this.rangeBar, { 'height': isNullOrUndefined(this.handlePos1) ? 0 : this.min > this.max ? this.element.clientHeight - this.handlePos1 + 'px' : this.handlePos1 + 'px' });
|
|
1847
1852
|
}
|
|
1848
1853
|
else if (this.type === 'Range') {
|
|
1849
1854
|
this.secondHandle.style.bottom = this.handlePos2 + "px";
|
|
1850
|
-
this.rangeBar.style.bottom = this.handlePos1 + 'px';
|
|
1851
|
-
setStyleAttribute(this.rangeBar, { 'height': this.handlePos2 - this.handlePos1 + 'px' });
|
|
1855
|
+
this.rangeBar.style.bottom = this.min > this.max ? this.handlePos2 + 'px' : this.handlePos1 + 'px';
|
|
1856
|
+
setStyleAttribute(this.rangeBar, { 'height': this.min > this.max ? this.handlePos1 - this.handlePos2 + 'px' : this.handlePos2 - this.handlePos1 + 'px' });
|
|
1852
1857
|
}
|
|
1853
1858
|
}
|
|
1854
1859
|
if (this.limits.enabled) {
|
|
@@ -1877,7 +1882,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1877
1882
|
if (!(this.limits.enabled && this.limits.startHandleFixed)) {
|
|
1878
1883
|
this.handleVal1 = this.checkHandleValue(value);
|
|
1879
1884
|
this.handlePos1 = this.checkHandlePosition(this.handleVal1);
|
|
1880
|
-
if (this.type === 'Range' && this.handlePos1 > this.handlePos2) {
|
|
1885
|
+
if (this.type === 'Range' && ((this.handlePos1 > this.handlePos2 && this.min < this.max) || (this.handlePos1 < this.handlePos2 && this.min > this.max))) {
|
|
1881
1886
|
this.handlePos1 = this.handlePos2;
|
|
1882
1887
|
this.handleVal1 = this.handleVal2;
|
|
1883
1888
|
}
|
|
@@ -1891,7 +1896,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
1891
1896
|
if (!(this.limits.enabled && this.limits.endHandleFixed)) {
|
|
1892
1897
|
this.handleVal2 = this.checkHandleValue(value);
|
|
1893
1898
|
this.handlePos2 = this.checkHandlePosition(this.handleVal2);
|
|
1894
|
-
if (this.type === 'Range' && this.handlePos2 < this.handlePos1) {
|
|
1899
|
+
if (this.type === 'Range' && ((this.handlePos2 < this.handlePos1 && this.min < this.max) || (this.handlePos2 > this.handlePos1 && this.min > this.max))) {
|
|
1895
1900
|
this.handlePos2 = this.handlePos1;
|
|
1896
1901
|
this.handleVal2 = this.handleVal1;
|
|
1897
1902
|
}
|
|
@@ -2009,7 +2014,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2009
2014
|
}
|
|
2010
2015
|
var handlepos = this.xyToPosition(pos);
|
|
2011
2016
|
var handleVal = this.positionToValue(handlepos);
|
|
2012
|
-
if (this.type === 'Range' && (this.handlePos2 - handlepos) < (handlepos - this.handlePos1)) {
|
|
2017
|
+
if (this.type === 'Range' && (this.min < (this.max) && (this.handlePos2 - handlepos) < (handlepos - this.handlePos1) || (this.min > this.max) && (this.handlePos1 - handlepos) > (handlepos - this.handlePos2))) {
|
|
2013
2018
|
this.activeHandle = 2;
|
|
2014
2019
|
if (!(this.limits.enabled && this.limits.endHandleFixed)) {
|
|
2015
2020
|
if (this.limits.enabled) {
|
|
@@ -2053,7 +2058,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2053
2058
|
behindElement = document.elementFromPoint(eventX, eventY);
|
|
2054
2059
|
}
|
|
2055
2060
|
if (evt.target === handle && behindElement != handle) {
|
|
2056
|
-
if (this.isMaterial && !this.tooltip.isVisible &&
|
|
2061
|
+
if ((this.isMaterial || this.isMaterial3) && !this.tooltip.isVisible &&
|
|
2057
2062
|
!this.getHandle().classList.contains(classNames.sliderTabHandle)) {
|
|
2058
2063
|
this.materialChange();
|
|
2059
2064
|
}
|
|
@@ -2064,7 +2069,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2064
2069
|
if (!this.checkRepeatedValue(handleVal)) {
|
|
2065
2070
|
return;
|
|
2066
2071
|
}
|
|
2067
|
-
var transition = this.isMaterial && this.tooltip.isVisible ?
|
|
2072
|
+
var transition = (this.isMaterial || this.isMaterial3) && this.tooltip.isVisible ?
|
|
2068
2073
|
this.transitionOnMaterialTooltip : this.transition;
|
|
2069
2074
|
this.getHandle().style.transition = transition.handle;
|
|
2070
2075
|
if (this.type !== 'Default') {
|
|
@@ -2116,16 +2121,28 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2116
2121
|
else {
|
|
2117
2122
|
pos = { x: xPostion + this.secondPartRemain, y: yPostion + this.secondPartRemain };
|
|
2118
2123
|
}
|
|
2119
|
-
this.
|
|
2120
|
-
|
|
2124
|
+
if (this.min > this.max) {
|
|
2125
|
+
this.handlePos2 = this.xyToPosition(pos);
|
|
2126
|
+
this.handleVal2 = this.positionToValue(this.handlePos2);
|
|
2127
|
+
}
|
|
2128
|
+
else {
|
|
2129
|
+
this.handlePos1 = this.xyToPosition(pos);
|
|
2130
|
+
this.handleVal1 = this.positionToValue(this.handlePos1);
|
|
2131
|
+
}
|
|
2121
2132
|
if (!this.enableRtl) {
|
|
2122
2133
|
pos = { x: xPostion + this.secondPartRemain, y: yPostion - this.firstPartRemain };
|
|
2123
2134
|
}
|
|
2124
2135
|
else {
|
|
2125
2136
|
pos = { x: xPostion - this.firstPartRemain, y: yPostion - this.firstPartRemain };
|
|
2126
2137
|
}
|
|
2127
|
-
this.
|
|
2128
|
-
|
|
2138
|
+
if (this.min > this.max) {
|
|
2139
|
+
this.handlePos1 = this.xyToPosition(pos);
|
|
2140
|
+
this.handleVal1 = this.positionToValue(this.handlePos1);
|
|
2141
|
+
}
|
|
2142
|
+
else {
|
|
2143
|
+
this.handlePos2 = this.xyToPosition(pos);
|
|
2144
|
+
this.handleVal2 = this.positionToValue(this.handlePos2);
|
|
2145
|
+
}
|
|
2129
2146
|
if (this.limits.enabled) {
|
|
2130
2147
|
var value = this.getLimitValueAndPosition(this.handleVal1, this.limits.minStart, this.limits.minEnd);
|
|
2131
2148
|
this.handleVal1 = value[0];
|
|
@@ -2146,11 +2163,11 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2146
2163
|
this.handleValueAdjust(this.handleVal2, this.limits.maxEnd, 2);
|
|
2147
2164
|
}
|
|
2148
2165
|
}
|
|
2149
|
-
if (this.handleVal2 === this.max) {
|
|
2150
|
-
this.handleValueAdjust(this.handleVal2, this.max, 2);
|
|
2166
|
+
if (this.handleVal2 === (this.min > this.max ? this.min : this.max)) {
|
|
2167
|
+
this.handleValueAdjust(this.handleVal2, (this.min > this.max ? this.min : this.max), 2);
|
|
2151
2168
|
}
|
|
2152
|
-
if (this.handleVal1 === this.min) {
|
|
2153
|
-
this.handleValueAdjust(this.handleVal1, this.min, 1);
|
|
2169
|
+
if (this.handleVal1 === (this.min > this.max ? this.max : this.min)) {
|
|
2170
|
+
this.handleValueAdjust(this.handleVal1, (this.min > this.max ? this.max : this.min), 1);
|
|
2154
2171
|
}
|
|
2155
2172
|
}
|
|
2156
2173
|
this.activeHandle = 1;
|
|
@@ -2169,7 +2186,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2169
2186
|
this.secondHandle.classList.remove(classNames.sliderActiveHandle);
|
|
2170
2187
|
}
|
|
2171
2188
|
this.closeTooltip();
|
|
2172
|
-
if (this.isMaterial) {
|
|
2189
|
+
if (this.isMaterial || this.isMaterial3) {
|
|
2173
2190
|
this.getHandle().classList.remove('e-large-thumb-size');
|
|
2174
2191
|
if (this.isMaterialTooltip) {
|
|
2175
2192
|
this.tooltipElement.classList.remove(classNames.materialTooltipActive);
|
|
@@ -2208,7 +2225,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2208
2225
|
if (this.activeHandle === 1) {
|
|
2209
2226
|
this.firstHandle.classList.add(classNames.sliderActiveHandle);
|
|
2210
2227
|
if (!(this.limits.enabled && this.limits.startHandleFixed)) {
|
|
2211
|
-
if (handlepos > this.handlePos2) {
|
|
2228
|
+
if ((this.min < this.max && handlepos > this.handlePos2 || (this.min > this.max && handlepos < this.handlePos2))) {
|
|
2212
2229
|
handlepos = this.handlePos2;
|
|
2213
2230
|
handleVal = this.handleVal2;
|
|
2214
2231
|
}
|
|
@@ -2227,7 +2244,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2227
2244
|
else if (this.activeHandle === 2) {
|
|
2228
2245
|
this.secondHandle.classList.add(classNames.sliderActiveHandle);
|
|
2229
2246
|
if (!(this.limits.enabled && this.limits.endHandleFixed)) {
|
|
2230
|
-
if (handlepos < this.handlePos1) {
|
|
2247
|
+
if ((this.min < this.max && handlepos < this.handlePos1) || (this.min > this.max && handlepos > this.handlePos1)) {
|
|
2231
2248
|
handlepos = this.handlePos1;
|
|
2232
2249
|
handleVal = this.handleVal1;
|
|
2233
2250
|
}
|
|
@@ -2252,7 +2269,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2252
2269
|
this.rangeBar.style.transition = 'none';
|
|
2253
2270
|
}
|
|
2254
2271
|
this.setHandlePosition(evt);
|
|
2255
|
-
if (this.isMaterial && !this.tooltip.isVisible &&
|
|
2272
|
+
if ((this.isMaterial || this.isMaterial3) && !this.tooltip.isVisible &&
|
|
2256
2273
|
!this.getHandle().classList.contains(classNames.sliderTabHandle)) {
|
|
2257
2274
|
this.materialChange();
|
|
2258
2275
|
}
|
|
@@ -2693,7 +2710,9 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2693
2710
|
case 'tooltip':
|
|
2694
2711
|
if (!isNullOrUndefined(newProp.tooltip) && !isNullOrUndefined(oldProp.tooltip)) {
|
|
2695
2712
|
this.setTooltip(prop);
|
|
2696
|
-
this.
|
|
2713
|
+
if (!this.showButtons) {
|
|
2714
|
+
this.wireEvents();
|
|
2715
|
+
}
|
|
2697
2716
|
}
|
|
2698
2717
|
break;
|
|
2699
2718
|
case 'type':
|
|
@@ -2811,7 +2830,7 @@ var Slider = /** @class */ (function (_super) {
|
|
|
2811
2830
|
this.ul.style.zIndex = (this.zIndex + -7) + '';
|
|
2812
2831
|
this.element.style.zIndex = (this.zIndex + 2) + '';
|
|
2813
2832
|
}
|
|
2814
|
-
if (!this.isMaterial && !isNullOrUndefined(this.ticks) && this.ticks.placement === 'Both') {
|
|
2833
|
+
if (!this.isMaterial && !this.isMaterial3 && !isNullOrUndefined(this.ticks) && this.ticks.placement === 'Both') {
|
|
2815
2834
|
this.element.style.zIndex = (this.zIndex + 2) + '';
|
|
2816
2835
|
}
|
|
2817
2836
|
this.firstHandle.style.zIndex = (this.zIndex + 3) + '';
|
package/src/textbox/textbox.js
CHANGED
|
@@ -121,10 +121,8 @@ var TextBox = /** @class */ (function (_super) {
|
|
|
121
121
|
}
|
|
122
122
|
break;
|
|
123
123
|
case 'showClearButton':
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
this.bindClearEvent();
|
|
127
|
-
}
|
|
124
|
+
Input.setClearButton(this.showClearButton, this.respectiveElement, this.textboxWrapper);
|
|
125
|
+
this.bindClearEvent();
|
|
128
126
|
break;
|
|
129
127
|
case 'enableRtl':
|
|
130
128
|
Input.setEnableRtl(this.enableRtl, [this.textboxWrapper.container]);
|
|
@@ -510,7 +508,7 @@ var TextBox = /** @class */ (function (_super) {
|
|
|
510
508
|
}
|
|
511
509
|
};
|
|
512
510
|
TextBox.prototype.bindClearEvent = function () {
|
|
513
|
-
if (this.showClearButton
|
|
511
|
+
if (this.showClearButton) {
|
|
514
512
|
if (this.enabled) {
|
|
515
513
|
EventHandler.add(this.textboxWrapper.clearButton, 'mousedown touchstart', this.resetInputHandler, this);
|
|
516
514
|
}
|
|
@@ -161,8 +161,9 @@ export interface UploaderModel extends ComponentModel{
|
|
|
161
161
|
* > For more information, refer to the [template](../../uploader/template/) section from the documentation.
|
|
162
162
|
*
|
|
163
163
|
* @default null
|
|
164
|
+
* @aspType string
|
|
164
165
|
*/
|
|
165
|
-
template?: string;
|
|
166
|
+
template?: string | Function;
|
|
166
167
|
|
|
167
168
|
/**
|
|
168
169
|
* Specifies a Boolean value that indicates whether the multiple files can be browsed or
|
|
@@ -575,8 +575,9 @@ export declare class Uploader extends Component<HTMLInputElement> implements INo
|
|
|
575
575
|
* > For more information, refer to the [template](../../uploader/template/) section from the documentation.
|
|
576
576
|
*
|
|
577
577
|
* @default null
|
|
578
|
+
* @aspType string
|
|
578
579
|
*/
|
|
579
|
-
template: string;
|
|
580
|
+
template: string | Function;
|
|
580
581
|
/**
|
|
581
582
|
* Specifies a Boolean value that indicates whether the multiple files can be browsed or
|
|
582
583
|
* dropped simultaneously in the uploader component.
|
package/src/uploader/uploader.js
CHANGED
|
@@ -1354,7 +1354,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
1354
1354
|
var dataFiles = this.allTypes ? eventArgs.modifiedFilesData :
|
|
1355
1355
|
this.checkExtension(eventArgs.modifiedFilesData);
|
|
1356
1356
|
this.updateSortedFileList(dataFiles);
|
|
1357
|
-
this.filesData = dataFiles;
|
|
1357
|
+
this.filesData = this.filesData.concat(dataFiles);
|
|
1358
1358
|
if (!this.isForm || this.allowUpload()) {
|
|
1359
1359
|
this.checkAutoUpload(dataFiles);
|
|
1360
1360
|
}
|
|
@@ -1415,16 +1415,8 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
1415
1415
|
var liElement = this.listParent.querySelectorAll('li')[i];
|
|
1416
1416
|
previousListClone.appendChild(liElement.cloneNode(true));
|
|
1417
1417
|
}
|
|
1418
|
-
removedList = this.listParent.querySelectorAll('li');
|
|
1419
|
-
for (var _i = 0, removedList_1 = removedList; _i < removedList_1.length; _i++) {
|
|
1420
|
-
var item = removedList_1[_i];
|
|
1421
|
-
detach(item);
|
|
1422
|
-
}
|
|
1423
1418
|
this.removeActionButtons();
|
|
1424
1419
|
var oldList = [].slice.call(previousListClone.childNodes);
|
|
1425
|
-
detach(this.listParent);
|
|
1426
|
-
this.listParent = null;
|
|
1427
|
-
this.fileList = [];
|
|
1428
1420
|
this.createParentUL();
|
|
1429
1421
|
for (var index = 0; index < filesData.length; index++) {
|
|
1430
1422
|
for (var j = 0; j < this.filesData.length; j++) {
|
|
@@ -2264,7 +2256,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
2264
2256
|
Uploader.prototype.templateComplier = function (uploadTemplate) {
|
|
2265
2257
|
if (uploadTemplate) {
|
|
2266
2258
|
try {
|
|
2267
|
-
if (selectAll(uploadTemplate, document).length) {
|
|
2259
|
+
if (typeof uploadTemplate !== 'function' && selectAll(uploadTemplate, document).length) {
|
|
2268
2260
|
return compile(select(uploadTemplate, document).innerHTML.trim());
|
|
2269
2261
|
}
|
|
2270
2262
|
else {
|
|
@@ -2857,8 +2857,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
2857
2857
|
.e-input-group.e-control-wrapper .e-clear-icon.e-bigger,
|
|
2858
2858
|
.e-bigger .e-input-group .e-clear-icon,
|
|
2859
2859
|
.e-bigger .e-input-group.e-control-wrapper .e-clear-icon {
|
|
2860
|
-
min-height: 0;
|
|
2861
2860
|
min-width: 38px;
|
|
2861
|
+
min-height: 0;
|
|
2862
2862
|
padding-bottom: 0;
|
|
2863
2863
|
padding-right: 0;
|
|
2864
2864
|
padding-top: 0;
|
|
@@ -2874,6 +2874,19 @@ textarea.e-input.e-bigger.e-small,
|
|
|
2874
2874
|
padding-top: 0;
|
|
2875
2875
|
}
|
|
2876
2876
|
|
|
2877
|
+
.e-input-group.e-small .e-clear-icon,
|
|
2878
|
+
.e-input-group .e-clear-icon.e-small,
|
|
2879
|
+
.e-small.e-bigger .e-input-group .e-clear-icon,
|
|
2880
|
+
.e-input-group.e-control-wrapper.e-small .e-clear-icon,
|
|
2881
|
+
.e-input-group.e-control-wrapper .e-clear-icon.e-small,
|
|
2882
|
+
.e-small.e-bigger .e-input-group.e-control-wrapper .e-clear-icon {
|
|
2883
|
+
min-height: 0;
|
|
2884
|
+
min-width: 38px;
|
|
2885
|
+
padding-bottom: 0;
|
|
2886
|
+
padding-right: 0;
|
|
2887
|
+
padding-top: 0;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2877
2890
|
.e-input-group.e-small.e-bigger .e-clear-icon,
|
|
2878
2891
|
.e-input-group.e-small .e-clear-icon.e-bigger,
|
|
2879
2892
|
.e-bigger .e-input-group.e-small .e-clear-icon,
|
|
@@ -6811,6 +6824,8 @@ body.e-colorpicker-overflow {
|
|
|
6811
6824
|
padding: 4px;
|
|
6812
6825
|
line-height: 9px;
|
|
6813
6826
|
display: block;
|
|
6827
|
+
min-width: calc(1em + 8px);
|
|
6828
|
+
min-height: calc(1em + 8px);
|
|
6814
6829
|
position: relative;
|
|
6815
6830
|
}
|
|
6816
6831
|
.e-rating-container .e-rating-item-container .e-rating-item {
|
|
@@ -6953,7 +6968,7 @@ body.e-colorpicker-overflow {
|
|
|
6953
6968
|
font-size: 22px;
|
|
6954
6969
|
}
|
|
6955
6970
|
|
|
6956
|
-
.e-rating-container .e-rating-item-list:focus .e-rating-focus {
|
|
6971
|
+
.e-rating-container .e-rating-item-list:focus-visible:not(:hover) .e-rating-focus {
|
|
6957
6972
|
outline-color: #676767;
|
|
6958
6973
|
border-radius: 2px;
|
|
6959
6974
|
}
|
|
@@ -6965,6 +6980,7 @@ body.e-colorpicker-overflow {
|
|
|
6965
6980
|
}
|
|
6966
6981
|
.e-rating-container .e-reset.e-disabled {
|
|
6967
6982
|
color: #505050;
|
|
6983
|
+
opacity: 1;
|
|
6968
6984
|
}
|
|
6969
6985
|
.e-rating-container .e-rating-item-container .e-rating-icon {
|
|
6970
6986
|
-webkit-text-fill-color: transparent;
|
|
@@ -7018,6 +7034,9 @@ body.e-colorpicker-overflow {
|
|
|
7018
7034
|
-webkit-background-clip: text;
|
|
7019
7035
|
/* stylelint-enable property-no-vendor-prefix */
|
|
7020
7036
|
}
|
|
7037
|
+
.e-rating-container.e-disabled {
|
|
7038
|
+
opacity: 1;
|
|
7039
|
+
}
|
|
7021
7040
|
.e-rating-container.e-disabled .e-rating-item-container .e-rating-icon {
|
|
7022
7041
|
-webkit-text-stroke: 1px #505050;
|
|
7023
7042
|
}
|
|
@@ -7036,7 +7055,7 @@ body.e-colorpicker-overflow {
|
|
|
7036
7055
|
-webkit-background-clip: text;
|
|
7037
7056
|
/* stylelint-enable property-no-vendor-prefix */
|
|
7038
7057
|
}
|
|
7039
|
-
.e-rating-container.e-disabled.e-rtl.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled.e-rtl.e-rating-intermediate .e-rating-icon {
|
|
7058
|
+
.e-rating-container.e-disabled.e-rtl .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled.e-rtl .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
7040
7059
|
background: linear-gradient(to left, #505050 var(--rating-value), transparent var(--rating-value));
|
|
7041
7060
|
background-clip: text;
|
|
7042
7061
|
/* stylelint-disable property-no-vendor-prefix */
|