@progress/kendo-angular-inputs 8.0.4-dev.202202101712 → 8.0.6-dev.202202221323
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/cdn/js/kendo-angular-inputs.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/colorpicker/color-gradient.component.js +32 -14
- package/dist/es/colorpicker/flatcolorpicker.component.js +2 -9
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/shared/textarea.directive.js +3 -0
- package/dist/es/textbox/textbox.directive.js +3 -0
- package/dist/es2015/colorpicker/color-gradient.component.d.ts +5 -1
- package/dist/es2015/colorpicker/color-gradient.component.js +35 -16
- package/dist/es2015/colorpicker/flatcolorpicker.component.js +2 -9
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/shared/textarea.directive.js +3 -0
- package/dist/es2015/textbox/textbox.directive.js +3 -0
- package/dist/fesm2015/index.js +44 -26
- package/dist/fesm5/index.js +41 -24
- package/dist/npm/colorpicker/color-gradient.component.js +32 -14
- package/dist/npm/colorpicker/flatcolorpicker.component.js +2 -9
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/shared/textarea.directive.js +3 -0
- package/dist/npm/textbox/textbox.directive.js +3 -0
- package/dist/systemjs/kendo-angular-inputs.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-inputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1645536043,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -207,6 +207,9 @@ let TextAreaDirective = TextAreaDirective_1 = class TextAreaDirective {
|
|
|
207
207
|
tslib_1.__decorate([
|
|
208
208
|
HostBinding('class.k-textarea'),
|
|
209
209
|
HostBinding('class.k-input'),
|
|
210
|
+
HostBinding('class.k-input-md'),
|
|
211
|
+
HostBinding('class.k-rounded-md'),
|
|
212
|
+
HostBinding('class.k-input-solid'),
|
|
210
213
|
tslib_1.__metadata("design:type", Boolean)
|
|
211
214
|
], TextAreaDirective.prototype, "elementClasses", void 0);
|
|
212
215
|
tslib_1.__decorate([
|
|
@@ -91,6 +91,9 @@ let TextBoxDirective = TextBoxDirective_1 = class TextBoxDirective {
|
|
|
91
91
|
tslib_1.__decorate([
|
|
92
92
|
HostBinding('class.k-textbox'),
|
|
93
93
|
HostBinding('class.k-input'),
|
|
94
|
+
HostBinding('class.k-input-md'),
|
|
95
|
+
HostBinding('class.k-rounded-md'),
|
|
96
|
+
HostBinding('class.k-input-solid'),
|
|
94
97
|
tslib_1.__metadata("design:type", Boolean)
|
|
95
98
|
], TextBoxDirective.prototype, "hostClasses", void 0);
|
|
96
99
|
tslib_1.__decorate([
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -481,7 +481,7 @@ const packageMetadata = {
|
|
|
481
481
|
name: '@progress/kendo-angular-inputs',
|
|
482
482
|
productName: 'Kendo UI for Angular',
|
|
483
483
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
484
|
-
publishDate:
|
|
484
|
+
publishDate: 1645536043,
|
|
485
485
|
version: '',
|
|
486
486
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
487
487
|
};
|
|
@@ -2460,6 +2460,9 @@ let TextBoxDirective = TextBoxDirective_1 = class TextBoxDirective {
|
|
|
2460
2460
|
__decorate([
|
|
2461
2461
|
HostBinding('class.k-textbox'),
|
|
2462
2462
|
HostBinding('class.k-input'),
|
|
2463
|
+
HostBinding('class.k-input-md'),
|
|
2464
|
+
HostBinding('class.k-rounded-md'),
|
|
2465
|
+
HostBinding('class.k-input-solid'),
|
|
2463
2466
|
__metadata("design:type", Boolean)
|
|
2464
2467
|
], TextBoxDirective.prototype, "hostClasses", void 0);
|
|
2465
2468
|
__decorate([
|
|
@@ -2677,6 +2680,9 @@ let TextAreaDirective = TextAreaDirective_1 = class TextAreaDirective {
|
|
|
2677
2680
|
__decorate([
|
|
2678
2681
|
HostBinding('class.k-textarea'),
|
|
2679
2682
|
HostBinding('class.k-input'),
|
|
2683
|
+
HostBinding('class.k-input-md'),
|
|
2684
|
+
HostBinding('class.k-rounded-md'),
|
|
2685
|
+
HostBinding('class.k-input-solid'),
|
|
2680
2686
|
__metadata("design:type", Boolean)
|
|
2681
2687
|
], TextAreaDirective.prototype, "elementClasses", void 0);
|
|
2682
2688
|
__decorate([
|
|
@@ -8281,6 +8287,8 @@ let ColorGradientComponent = ColorGradientComponent_1 = class ColorGradientCompo
|
|
|
8281
8287
|
this.hsva = new BehaviorSubject({});
|
|
8282
8288
|
this._tabindex = 0;
|
|
8283
8289
|
this.listeners = [];
|
|
8290
|
+
this.hueSliderTouched = false;
|
|
8291
|
+
this.alphaSliderTouched = false;
|
|
8284
8292
|
this.updateValues = new Subject();
|
|
8285
8293
|
this.notifyNgChanged = () => { };
|
|
8286
8294
|
this.notifyNgTouched = () => { };
|
|
@@ -8492,7 +8500,9 @@ let ColorGradientComponent = ColorGradientComponent_1 = class ColorGradientCompo
|
|
|
8492
8500
|
this.hsva.next(hsva);
|
|
8493
8501
|
this.handleValueChange(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8494
8502
|
this.backgroundColor = getColorFromHue(hue);
|
|
8503
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
8495
8504
|
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8505
|
+
this.hueSliderTouched = true;
|
|
8496
8506
|
}
|
|
8497
8507
|
/**
|
|
8498
8508
|
* @hidden
|
|
@@ -8502,6 +8512,7 @@ let ColorGradientComponent = ColorGradientComponent_1 = class ColorGradientCompo
|
|
|
8502
8512
|
hsva.a = alpha / 100;
|
|
8503
8513
|
this.hsva.next(hsva);
|
|
8504
8514
|
this.handleValueChange(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8515
|
+
this.alphaSliderTouched = true;
|
|
8505
8516
|
}
|
|
8506
8517
|
/**
|
|
8507
8518
|
* @hidden
|
|
@@ -8593,19 +8604,6 @@ let ColorGradientComponent = ColorGradientComponent_1 = class ColorGradientCompo
|
|
|
8593
8604
|
this.updateValues.next(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8594
8605
|
this.setAlphaSliderBackground(getColorFromHSV(Object.assign({}, this.hsva.value, { a: 1 }), this.format, this.opacity));
|
|
8595
8606
|
}
|
|
8596
|
-
updateUI() {
|
|
8597
|
-
if (!isDocumentAvailable()) {
|
|
8598
|
-
return;
|
|
8599
|
-
}
|
|
8600
|
-
this.hsva.next(this.value ? getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
8601
|
-
const gradientRect = this.gradientRect;
|
|
8602
|
-
const top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
8603
|
-
const left = this.hsva.value.s * gradientRect.width;
|
|
8604
|
-
this.setDragHandleElementPosition(top, left);
|
|
8605
|
-
this.backgroundColor = getColorFromHue(this.hsva.value.h);
|
|
8606
|
-
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8607
|
-
this.setHostElementAriaLabel();
|
|
8608
|
-
}
|
|
8609
8607
|
handleValueChange(color) {
|
|
8610
8608
|
if (this.value === color) {
|
|
8611
8609
|
return;
|
|
@@ -8631,6 +8629,28 @@ let ColorGradientComponent = ColorGradientComponent_1 = class ColorGradientCompo
|
|
|
8631
8629
|
const parsed = parseColor$1(this.value, this.format, this.opacity);
|
|
8632
8630
|
this.renderer.setAttribute(this.host.nativeElement, 'aria-label', `${this.value ? parsed : this.localizationService.get('colorGradientNoColor')}`);
|
|
8633
8631
|
}
|
|
8632
|
+
setBackgroundColor(color) {
|
|
8633
|
+
this.renderer.setStyle(this.hsvRectangle.nativeElement, 'background', color);
|
|
8634
|
+
}
|
|
8635
|
+
updateUI() {
|
|
8636
|
+
if (!isDocumentAvailable()) {
|
|
8637
|
+
return;
|
|
8638
|
+
}
|
|
8639
|
+
if (this.hueSliderTouched || this.alphaSliderTouched) {
|
|
8640
|
+
this.hueSliderTouched = false;
|
|
8641
|
+
this.alphaSliderTouched = false;
|
|
8642
|
+
return;
|
|
8643
|
+
}
|
|
8644
|
+
this.hsva.next(this.value ? getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
8645
|
+
const gradientRect = this.gradientRect;
|
|
8646
|
+
const top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
8647
|
+
const left = this.hsva.value.s * gradientRect.width;
|
|
8648
|
+
this.setDragHandleElementPosition(top, left);
|
|
8649
|
+
this.backgroundColor = getColorFromHue(this.hsva.value.h);
|
|
8650
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
8651
|
+
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8652
|
+
this.setHostElementAriaLabel();
|
|
8653
|
+
}
|
|
8634
8654
|
addEventListeners() {
|
|
8635
8655
|
this.ngZone.runOutsideAngular(() => {
|
|
8636
8656
|
const focusOutListener = this.renderer.listen(this.host.nativeElement, 'focusout', (event) => {
|
|
@@ -8758,6 +8778,10 @@ __decorate([
|
|
|
8758
8778
|
ViewChild('gradientWrapper', { static: false }),
|
|
8759
8779
|
__metadata("design:type", ElementRef)
|
|
8760
8780
|
], ColorGradientComponent.prototype, "gradientWrapper", void 0);
|
|
8781
|
+
__decorate([
|
|
8782
|
+
ViewChild('hsvRectangle', { static: false }),
|
|
8783
|
+
__metadata("design:type", ElementRef)
|
|
8784
|
+
], ColorGradientComponent.prototype, "hsvRectangle", void 0);
|
|
8761
8785
|
ColorGradientComponent = ColorGradientComponent_1 = __decorate([
|
|
8762
8786
|
Component({
|
|
8763
8787
|
exportAs: 'kendoColorGradient',
|
|
@@ -8804,7 +8828,7 @@ ColorGradientComponent = ColorGradientComponent_1 = __decorate([
|
|
|
8804
8828
|
formatButton="Change color format">
|
|
8805
8829
|
</ng-container>
|
|
8806
8830
|
<div class="k-colorgradient-canvas k-hstack">
|
|
8807
|
-
<div class="k-hsv-rectangle"
|
|
8831
|
+
<div class="k-hsv-rectangle" #hsvRectangle>
|
|
8808
8832
|
<div
|
|
8809
8833
|
#gradientWrapper
|
|
8810
8834
|
kendoDraggable
|
|
@@ -8853,9 +8877,9 @@ ColorGradientComponent = ColorGradientComponent_1 = __decorate([
|
|
|
8853
8877
|
[vertical]="true"
|
|
8854
8878
|
[min]="0"
|
|
8855
8879
|
[max]="360"
|
|
8880
|
+
[value]="hsva.value.h"
|
|
8856
8881
|
[smallStep]="5"
|
|
8857
8882
|
[largeStep]="10"
|
|
8858
|
-
[value]="hsva.value.h"
|
|
8859
8883
|
(valueChange)="handleHueSliderChange($event)"
|
|
8860
8884
|
>
|
|
8861
8885
|
</kendo-slider>
|
|
@@ -8889,7 +8913,8 @@ ColorGradientComponent = ColorGradientComponent_1 = __decorate([
|
|
|
8889
8913
|
(valueChange)="handleInputsValueChange($event)"
|
|
8890
8914
|
>
|
|
8891
8915
|
</kendo-colorinput>
|
|
8892
|
-
<div class="k-colorgradient-color-contrast k-vbox"
|
|
8916
|
+
<div class="k-colorgradient-color-contrast k-vbox"
|
|
8917
|
+
*ngIf="contrastToolVisible"
|
|
8893
8918
|
kendoContrastTool
|
|
8894
8919
|
[value]="value"
|
|
8895
8920
|
[ratio]="contrastTool">
|
|
@@ -9838,6 +9863,7 @@ let FlatColorPickerComponent = FlatColorPickerComponent_1 = class FlatColorPicke
|
|
|
9838
9863
|
}
|
|
9839
9864
|
ngOnChanges(changes) {
|
|
9840
9865
|
if (isChanged('value', changes)) {
|
|
9866
|
+
this.selection = this.value;
|
|
9841
9867
|
this.setHostElementAriaLabel();
|
|
9842
9868
|
}
|
|
9843
9869
|
if (isChanged('paletteSettings', changes)) {
|
|
@@ -9923,15 +9949,7 @@ let FlatColorPickerComponent = FlatColorPickerComponent_1 = class FlatColorPicke
|
|
|
9923
9949
|
* @hidden
|
|
9924
9950
|
*/
|
|
9925
9951
|
handleValueChange(color) {
|
|
9926
|
-
|
|
9927
|
-
return;
|
|
9928
|
-
}
|
|
9929
|
-
if (this.preview) {
|
|
9930
|
-
this.changeCurrentValue(color);
|
|
9931
|
-
}
|
|
9932
|
-
else {
|
|
9933
|
-
this.setFlatColorPickerValue(color);
|
|
9934
|
-
}
|
|
9952
|
+
this.preview ? this.changeCurrentValue(color) : this.setFlatColorPickerValue(color);
|
|
9935
9953
|
}
|
|
9936
9954
|
/**
|
|
9937
9955
|
* @hidden
|
package/dist/fesm5/index.js
CHANGED
|
@@ -514,7 +514,7 @@ var packageMetadata = {
|
|
|
514
514
|
name: '@progress/kendo-angular-inputs',
|
|
515
515
|
productName: 'Kendo UI for Angular',
|
|
516
516
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
517
|
-
publishDate:
|
|
517
|
+
publishDate: 1645536043,
|
|
518
518
|
version: '',
|
|
519
519
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
520
520
|
};
|
|
@@ -2487,6 +2487,9 @@ var TextBoxDirective = /** @class */ (function () {
|
|
|
2487
2487
|
__decorate([
|
|
2488
2488
|
HostBinding('class.k-textbox'),
|
|
2489
2489
|
HostBinding('class.k-input'),
|
|
2490
|
+
HostBinding('class.k-input-md'),
|
|
2491
|
+
HostBinding('class.k-rounded-md'),
|
|
2492
|
+
HostBinding('class.k-input-solid'),
|
|
2490
2493
|
__metadata("design:type", Boolean)
|
|
2491
2494
|
], TextBoxDirective.prototype, "hostClasses", void 0);
|
|
2492
2495
|
__decorate([
|
|
@@ -2719,6 +2722,9 @@ var TextAreaDirective = /** @class */ (function () {
|
|
|
2719
2722
|
__decorate([
|
|
2720
2723
|
HostBinding('class.k-textarea'),
|
|
2721
2724
|
HostBinding('class.k-input'),
|
|
2725
|
+
HostBinding('class.k-input-md'),
|
|
2726
|
+
HostBinding('class.k-rounded-md'),
|
|
2727
|
+
HostBinding('class.k-input-solid'),
|
|
2722
2728
|
__metadata("design:type", Boolean)
|
|
2723
2729
|
], TextAreaDirective.prototype, "elementClasses", void 0);
|
|
2724
2730
|
__decorate([
|
|
@@ -8423,6 +8429,8 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8423
8429
|
this.hsva = new BehaviorSubject({});
|
|
8424
8430
|
this._tabindex = 0;
|
|
8425
8431
|
this.listeners = [];
|
|
8432
|
+
this.hueSliderTouched = false;
|
|
8433
|
+
this.alphaSliderTouched = false;
|
|
8426
8434
|
this.updateValues = new Subject();
|
|
8427
8435
|
this.notifyNgChanged = function () { };
|
|
8428
8436
|
this.notifyNgTouched = function () { };
|
|
@@ -8682,7 +8690,9 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8682
8690
|
this.hsva.next(hsva);
|
|
8683
8691
|
this.handleValueChange(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8684
8692
|
this.backgroundColor = getColorFromHue(hue);
|
|
8693
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
8685
8694
|
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8695
|
+
this.hueSliderTouched = true;
|
|
8686
8696
|
};
|
|
8687
8697
|
/**
|
|
8688
8698
|
* @hidden
|
|
@@ -8692,6 +8702,7 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8692
8702
|
hsva.a = alpha / 100;
|
|
8693
8703
|
this.hsva.next(hsva);
|
|
8694
8704
|
this.handleValueChange(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8705
|
+
this.alphaSliderTouched = true;
|
|
8695
8706
|
};
|
|
8696
8707
|
/**
|
|
8697
8708
|
* @hidden
|
|
@@ -8803,19 +8814,6 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8803
8814
|
this.updateValues.next(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
8804
8815
|
this.setAlphaSliderBackground(getColorFromHSV(__assign({}, this.hsva.value, { a: 1 }), this.format, this.opacity));
|
|
8805
8816
|
};
|
|
8806
|
-
ColorGradientComponent.prototype.updateUI = function () {
|
|
8807
|
-
if (!isDocumentAvailable()) {
|
|
8808
|
-
return;
|
|
8809
|
-
}
|
|
8810
|
-
this.hsva.next(this.value ? getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
8811
|
-
var gradientRect = this.gradientRect;
|
|
8812
|
-
var top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
8813
|
-
var left = this.hsva.value.s * gradientRect.width;
|
|
8814
|
-
this.setDragHandleElementPosition(top, left);
|
|
8815
|
-
this.backgroundColor = getColorFromHue(this.hsva.value.h);
|
|
8816
|
-
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8817
|
-
this.setHostElementAriaLabel();
|
|
8818
|
-
};
|
|
8819
8817
|
ColorGradientComponent.prototype.handleValueChange = function (color) {
|
|
8820
8818
|
if (this.value === color) {
|
|
8821
8819
|
return;
|
|
@@ -8841,6 +8839,28 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8841
8839
|
var parsed = parseColor$1(this.value, this.format, this.opacity);
|
|
8842
8840
|
this.renderer.setAttribute(this.host.nativeElement, 'aria-label', "" + (this.value ? parsed : this.localizationService.get('colorGradientNoColor')));
|
|
8843
8841
|
};
|
|
8842
|
+
ColorGradientComponent.prototype.setBackgroundColor = function (color) {
|
|
8843
|
+
this.renderer.setStyle(this.hsvRectangle.nativeElement, 'background', color);
|
|
8844
|
+
};
|
|
8845
|
+
ColorGradientComponent.prototype.updateUI = function () {
|
|
8846
|
+
if (!isDocumentAvailable()) {
|
|
8847
|
+
return;
|
|
8848
|
+
}
|
|
8849
|
+
if (this.hueSliderTouched || this.alphaSliderTouched) {
|
|
8850
|
+
this.hueSliderTouched = false;
|
|
8851
|
+
this.alphaSliderTouched = false;
|
|
8852
|
+
return;
|
|
8853
|
+
}
|
|
8854
|
+
this.hsva.next(this.value ? getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
8855
|
+
var gradientRect = this.gradientRect;
|
|
8856
|
+
var top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
8857
|
+
var left = this.hsva.value.s * gradientRect.width;
|
|
8858
|
+
this.setDragHandleElementPosition(top, left);
|
|
8859
|
+
this.backgroundColor = getColorFromHue(this.hsva.value.h);
|
|
8860
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
8861
|
+
this.setAlphaSliderBackground(this.backgroundColor);
|
|
8862
|
+
this.setHostElementAriaLabel();
|
|
8863
|
+
};
|
|
8844
8864
|
ColorGradientComponent.prototype.addEventListeners = function () {
|
|
8845
8865
|
var _this = this;
|
|
8846
8866
|
this.ngZone.runOutsideAngular(function () {
|
|
@@ -8970,6 +8990,10 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8970
8990
|
ViewChild('gradientWrapper', { static: false }),
|
|
8971
8991
|
__metadata("design:type", ElementRef)
|
|
8972
8992
|
], ColorGradientComponent.prototype, "gradientWrapper", void 0);
|
|
8993
|
+
__decorate([
|
|
8994
|
+
ViewChild('hsvRectangle', { static: false }),
|
|
8995
|
+
__metadata("design:type", ElementRef)
|
|
8996
|
+
], ColorGradientComponent.prototype, "hsvRectangle", void 0);
|
|
8973
8997
|
ColorGradientComponent = ColorGradientComponent_1 = __decorate([
|
|
8974
8998
|
Component({
|
|
8975
8999
|
exportAs: 'kendoColorGradient',
|
|
@@ -8994,7 +9018,7 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
8994
9018
|
useValue: 'kendo.colorgradient'
|
|
8995
9019
|
}
|
|
8996
9020
|
],
|
|
8997
|
-
template: "\n <ng-container kendoColorGradientLocalizedMessages\n i18n-colorGradientNoColor=\"kendo.colorgradient.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty.\"\n colorGradientNoColor=\"Colorgradient no color chosen\"\n i18n-colorGradientHandle=\"kendo.colorgradient.colorGradientHandle|The title for the gradient color drag handle chooser.\"\n colorGradientHandle=\"Choose color\"\n i18n-clearButton=\"kendo.colorgradient.clearButton|The title for the clear button.\"\n clearButton=\"Clear value\"\n i18n-hueSliderHandle=\"kendo.colorgradient.hueSliderHandle|The title for the hue slider handle.\"\n hueSliderHandle=\"Set hue\"\n i18n-opacitySliderHandle=\"kendo.colorgradient.opacitySliderHandle|The title for the opacity slider handle.\"\n opacitySliderHandle=\"Set opacity\"\n i18n-passContrast=\"kendo.colorgradient.passContrast|The pass message for the contrast tool.\"\n passContrast=\"Pass\"\n i18n-failContrast=\"kendo.colorgradient.failContrast|The fail message for the contrast tool.\"\n failContrast=\"Fail\"\n i18n-contrastRatio=\"kendo.colorgradient.contrastRatio|The contrast ratio message for the contrast tool.\"\n contrastRatio=\"Contrast ratio\"\n i18n-formatButton=\"kendo.colorgradient.formatButton|The message for the input format toggle button.\"\n formatButton=\"Change color format\">\n </ng-container>\n <div class=\"k-colorgradient-canvas k-hstack\">\n <div class=\"k-hsv-rectangle\"
|
|
9021
|
+
template: "\n <ng-container kendoColorGradientLocalizedMessages\n i18n-colorGradientNoColor=\"kendo.colorgradient.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty.\"\n colorGradientNoColor=\"Colorgradient no color chosen\"\n i18n-colorGradientHandle=\"kendo.colorgradient.colorGradientHandle|The title for the gradient color drag handle chooser.\"\n colorGradientHandle=\"Choose color\"\n i18n-clearButton=\"kendo.colorgradient.clearButton|The title for the clear button.\"\n clearButton=\"Clear value\"\n i18n-hueSliderHandle=\"kendo.colorgradient.hueSliderHandle|The title for the hue slider handle.\"\n hueSliderHandle=\"Set hue\"\n i18n-opacitySliderHandle=\"kendo.colorgradient.opacitySliderHandle|The title for the opacity slider handle.\"\n opacitySliderHandle=\"Set opacity\"\n i18n-passContrast=\"kendo.colorgradient.passContrast|The pass message for the contrast tool.\"\n passContrast=\"Pass\"\n i18n-failContrast=\"kendo.colorgradient.failContrast|The fail message for the contrast tool.\"\n failContrast=\"Fail\"\n i18n-contrastRatio=\"kendo.colorgradient.contrastRatio|The contrast ratio message for the contrast tool.\"\n contrastRatio=\"Contrast ratio\"\n i18n-formatButton=\"kendo.colorgradient.formatButton|The message for the input format toggle button.\"\n formatButton=\"Change color format\">\n </ng-container>\n <div class=\"k-colorgradient-canvas k-hstack\">\n <div class=\"k-hsv-rectangle\" #hsvRectangle>\n <div\n #gradientWrapper\n kendoDraggable\n class=\"k-hsv-gradient\"\n (click)=\"changePosition($event)\"\n (kendoPress)=\"handleDragPress($event)\"\n (kendoDrag)=\"onHandleDrag($event)\"\n (kendoRelease)=\"onHandleRelease()\">\n <div\n #gradientDragHandle\n class=\"k-hsv-draghandle k-draghandle\"\n tabindex=\"0\"\n [attr.title]=\"colorGradientHandleTitle\"\n [attr.aria-label]=\"colorGradientHandleAriaLabel\"\n >\n </div>\n </div>\n <svg kendoColorContrastSvg\n *ngIf=\"contrastToolVisible && gradientWrapper\"\n class=\"k-color-contrast-svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n [wrapper]=\"gradientWrapper ? gradientWrapper : undefined\"\n [hsva]=\"hsva\"\n [backgroundColor]=\"contrastTool\">\n </svg>\n </div>\n <div class=\"k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}\">\n <span class=\"k-clear-color k-button k-button-md k-button-flat k-button-flat-base k-button-icon\"\n *ngIf=\"clearButton\"\n (click)=\"reset()\"\n (keydown.enter)=\"reset()\"\n (keydown.space)=\"reset()\"\n [attr.aria-label]=\"clearButtonTitle\"\n [attr.title]=\"clearButtonTitle\"\n tabindex=\"0\">\n <span class=\"k-icon k-i-reset-color\"></span>\n </span>\n <kendo-slider\n [ngClass]=\"{'k-align-self-end': clearButton}\"\n class=\"k-hue-slider k-colorgradient-slider\"\n [dragHandleTitle]=\"hueSliderTitle\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [showButtons]=\"false\"\n [tickPlacement]=\"'none'\"\n [vertical]=\"true\"\n [min]=\"0\"\n [max]=\"360\"\n [value]=\"hsva.value.h\"\n [smallStep]=\"5\"\n [largeStep]=\"10\"\n (valueChange)=\"handleHueSliderChange($event)\"\n >\n </kendo-slider>\n <kendo-slider\n *ngIf=\"opacity\"\n #alphaSlider\n [ngClass]=\"{'k-align-self-end': clearButton}\"\n class=\"k-alpha-slider k-colorgradient-slider\"\n [dragHandleTitle]=\"opacitySliderTitle\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [showButtons]=\"false\"\n [tickPlacement]=\"'none'\"\n [vertical]=\"true\"\n [min]=\"0\"\n [max]=\"100\"\n [smallStep]=\"1\"\n [largeStep]=\"10\"\n [value]=\"alphaSliderValue\"\n (valueChange)=\"handleAlphaSliderChange($event)\"\n >\n </kendo-slider>\n </div>\n </div>\n <kendo-colorinput #inputs\n [opacity]=\"opacity\"\n [formatView]=\"format\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (valueChange)=\"handleInputsValueChange($event)\"\n >\n </kendo-colorinput>\n <div class=\"k-colorgradient-color-contrast k-vbox\"\n *ngIf=\"contrastToolVisible\"\n kendoContrastTool\n [value]=\"value\"\n [ratio]=\"contrastTool\">\n </div>\n ",
|
|
8998
9022
|
styles: ["\n .k-clear-color {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n .k-colorgradient-slider.k-align-self-end {\n height: 140px;\n }\n\n .k-color-contrast-svg {\n position: absolute;\n overflow: visible;\n pointer-events: none;\n left: 0px;\n top: 0px;\n }\n "]
|
|
8999
9023
|
}),
|
|
9000
9024
|
__metadata("design:paramtypes", [ElementRef,
|
|
@@ -9917,6 +9941,7 @@ var FlatColorPickerComponent = /** @class */ (function () {
|
|
|
9917
9941
|
};
|
|
9918
9942
|
FlatColorPickerComponent.prototype.ngOnChanges = function (changes) {
|
|
9919
9943
|
if (isChanged('value', changes)) {
|
|
9944
|
+
this.selection = this.value;
|
|
9920
9945
|
this.setHostElementAriaLabel();
|
|
9921
9946
|
}
|
|
9922
9947
|
if (isChanged('paletteSettings', changes)) {
|
|
@@ -10007,15 +10032,7 @@ var FlatColorPickerComponent = /** @class */ (function () {
|
|
|
10007
10032
|
* @hidden
|
|
10008
10033
|
*/
|
|
10009
10034
|
FlatColorPickerComponent.prototype.handleValueChange = function (color) {
|
|
10010
|
-
|
|
10011
|
-
return;
|
|
10012
|
-
}
|
|
10013
|
-
if (this.preview) {
|
|
10014
|
-
this.changeCurrentValue(color);
|
|
10015
|
-
}
|
|
10016
|
-
else {
|
|
10017
|
-
this.setFlatColorPickerValue(color);
|
|
10018
|
-
}
|
|
10035
|
+
this.preview ? this.changeCurrentValue(color) : this.setFlatColorPickerValue(color);
|
|
10019
10036
|
};
|
|
10020
10037
|
/**
|
|
10021
10038
|
* @hidden
|
|
@@ -96,6 +96,8 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
96
96
|
this.hsva = new rxjs_1.BehaviorSubject({});
|
|
97
97
|
this._tabindex = 0;
|
|
98
98
|
this.listeners = [];
|
|
99
|
+
this.hueSliderTouched = false;
|
|
100
|
+
this.alphaSliderTouched = false;
|
|
99
101
|
this.updateValues = new rxjs_1.Subject();
|
|
100
102
|
this.notifyNgChanged = function () { };
|
|
101
103
|
this.notifyNgTouched = function () { };
|
|
@@ -355,7 +357,9 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
355
357
|
this.hsva.next(hsva);
|
|
356
358
|
this.handleValueChange(utils_1.getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
357
359
|
this.backgroundColor = utils_1.getColorFromHue(hue);
|
|
360
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
358
361
|
this.setAlphaSliderBackground(this.backgroundColor);
|
|
362
|
+
this.hueSliderTouched = true;
|
|
359
363
|
};
|
|
360
364
|
/**
|
|
361
365
|
* @hidden
|
|
@@ -365,6 +369,7 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
365
369
|
hsva.a = alpha / 100;
|
|
366
370
|
this.hsva.next(hsva);
|
|
367
371
|
this.handleValueChange(utils_1.getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
372
|
+
this.alphaSliderTouched = true;
|
|
368
373
|
};
|
|
369
374
|
/**
|
|
370
375
|
* @hidden
|
|
@@ -476,19 +481,6 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
476
481
|
this.updateValues.next(utils_1.getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
477
482
|
this.setAlphaSliderBackground(utils_1.getColorFromHSV(tslib_1.__assign({}, this.hsva.value, { a: 1 }), this.format, this.opacity));
|
|
478
483
|
};
|
|
479
|
-
ColorGradientComponent.prototype.updateUI = function () {
|
|
480
|
-
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
481
|
-
return;
|
|
482
|
-
}
|
|
483
|
-
this.hsva.next(this.value ? utils_1.getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
484
|
-
var gradientRect = this.gradientRect;
|
|
485
|
-
var top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
486
|
-
var left = this.hsva.value.s * gradientRect.width;
|
|
487
|
-
this.setDragHandleElementPosition(top, left);
|
|
488
|
-
this.backgroundColor = utils_1.getColorFromHue(this.hsva.value.h);
|
|
489
|
-
this.setAlphaSliderBackground(this.backgroundColor);
|
|
490
|
-
this.setHostElementAriaLabel();
|
|
491
|
-
};
|
|
492
484
|
ColorGradientComponent.prototype.handleValueChange = function (color) {
|
|
493
485
|
if (this.value === color) {
|
|
494
486
|
return;
|
|
@@ -514,6 +506,28 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
514
506
|
var parsed = utils_1.parseColor(this.value, this.format, this.opacity);
|
|
515
507
|
this.renderer.setAttribute(this.host.nativeElement, 'aria-label', "" + (this.value ? parsed : this.localizationService.get('colorGradientNoColor')));
|
|
516
508
|
};
|
|
509
|
+
ColorGradientComponent.prototype.setBackgroundColor = function (color) {
|
|
510
|
+
this.renderer.setStyle(this.hsvRectangle.nativeElement, 'background', color);
|
|
511
|
+
};
|
|
512
|
+
ColorGradientComponent.prototype.updateUI = function () {
|
|
513
|
+
if (!kendo_angular_common_1.isDocumentAvailable()) {
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
if (this.hueSliderTouched || this.alphaSliderTouched) {
|
|
517
|
+
this.hueSliderTouched = false;
|
|
518
|
+
this.alphaSliderTouched = false;
|
|
519
|
+
return;
|
|
520
|
+
}
|
|
521
|
+
this.hsva.next(this.value ? utils_1.getHSV(this.value) : { h: 0, s: 0, v: 1, a: 1 });
|
|
522
|
+
var gradientRect = this.gradientRect;
|
|
523
|
+
var top = (1 - this.hsva.value.v) * gradientRect.height;
|
|
524
|
+
var left = this.hsva.value.s * gradientRect.width;
|
|
525
|
+
this.setDragHandleElementPosition(top, left);
|
|
526
|
+
this.backgroundColor = utils_1.getColorFromHue(this.hsva.value.h);
|
|
527
|
+
this.setBackgroundColor(this.backgroundColor);
|
|
528
|
+
this.setAlphaSliderBackground(this.backgroundColor);
|
|
529
|
+
this.setHostElementAriaLabel();
|
|
530
|
+
};
|
|
517
531
|
ColorGradientComponent.prototype.addEventListeners = function () {
|
|
518
532
|
var _this = this;
|
|
519
533
|
this.ngZone.runOutsideAngular(function () {
|
|
@@ -643,6 +657,10 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
643
657
|
core_1.ViewChild('gradientWrapper', { static: false }),
|
|
644
658
|
tslib_1.__metadata("design:type", core_1.ElementRef)
|
|
645
659
|
], ColorGradientComponent.prototype, "gradientWrapper", void 0);
|
|
660
|
+
tslib_1.__decorate([
|
|
661
|
+
core_1.ViewChild('hsvRectangle', { static: false }),
|
|
662
|
+
tslib_1.__metadata("design:type", core_1.ElementRef)
|
|
663
|
+
], ColorGradientComponent.prototype, "hsvRectangle", void 0);
|
|
646
664
|
ColorGradientComponent = ColorGradientComponent_1 = tslib_1.__decorate([
|
|
647
665
|
core_1.Component({
|
|
648
666
|
exportAs: 'kendoColorGradient',
|
|
@@ -667,7 +685,7 @@ var ColorGradientComponent = /** @class */ (function () {
|
|
|
667
685
|
useValue: 'kendo.colorgradient'
|
|
668
686
|
}
|
|
669
687
|
],
|
|
670
|
-
template: "\n <ng-container kendoColorGradientLocalizedMessages\n i18n-colorGradientNoColor=\"kendo.colorgradient.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty.\"\n colorGradientNoColor=\"Colorgradient no color chosen\"\n i18n-colorGradientHandle=\"kendo.colorgradient.colorGradientHandle|The title for the gradient color drag handle chooser.\"\n colorGradientHandle=\"Choose color\"\n i18n-clearButton=\"kendo.colorgradient.clearButton|The title for the clear button.\"\n clearButton=\"Clear value\"\n i18n-hueSliderHandle=\"kendo.colorgradient.hueSliderHandle|The title for the hue slider handle.\"\n hueSliderHandle=\"Set hue\"\n i18n-opacitySliderHandle=\"kendo.colorgradient.opacitySliderHandle|The title for the opacity slider handle.\"\n opacitySliderHandle=\"Set opacity\"\n i18n-passContrast=\"kendo.colorgradient.passContrast|The pass message for the contrast tool.\"\n passContrast=\"Pass\"\n i18n-failContrast=\"kendo.colorgradient.failContrast|The fail message for the contrast tool.\"\n failContrast=\"Fail\"\n i18n-contrastRatio=\"kendo.colorgradient.contrastRatio|The contrast ratio message for the contrast tool.\"\n contrastRatio=\"Contrast ratio\"\n i18n-formatButton=\"kendo.colorgradient.formatButton|The message for the input format toggle button.\"\n formatButton=\"Change color format\">\n </ng-container>\n <div class=\"k-colorgradient-canvas k-hstack\">\n <div class=\"k-hsv-rectangle\"
|
|
688
|
+
template: "\n <ng-container kendoColorGradientLocalizedMessages\n i18n-colorGradientNoColor=\"kendo.colorgradient.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty.\"\n colorGradientNoColor=\"Colorgradient no color chosen\"\n i18n-colorGradientHandle=\"kendo.colorgradient.colorGradientHandle|The title for the gradient color drag handle chooser.\"\n colorGradientHandle=\"Choose color\"\n i18n-clearButton=\"kendo.colorgradient.clearButton|The title for the clear button.\"\n clearButton=\"Clear value\"\n i18n-hueSliderHandle=\"kendo.colorgradient.hueSliderHandle|The title for the hue slider handle.\"\n hueSliderHandle=\"Set hue\"\n i18n-opacitySliderHandle=\"kendo.colorgradient.opacitySliderHandle|The title for the opacity slider handle.\"\n opacitySliderHandle=\"Set opacity\"\n i18n-passContrast=\"kendo.colorgradient.passContrast|The pass message for the contrast tool.\"\n passContrast=\"Pass\"\n i18n-failContrast=\"kendo.colorgradient.failContrast|The fail message for the contrast tool.\"\n failContrast=\"Fail\"\n i18n-contrastRatio=\"kendo.colorgradient.contrastRatio|The contrast ratio message for the contrast tool.\"\n contrastRatio=\"Contrast ratio\"\n i18n-formatButton=\"kendo.colorgradient.formatButton|The message for the input format toggle button.\"\n formatButton=\"Change color format\">\n </ng-container>\n <div class=\"k-colorgradient-canvas k-hstack\">\n <div class=\"k-hsv-rectangle\" #hsvRectangle>\n <div\n #gradientWrapper\n kendoDraggable\n class=\"k-hsv-gradient\"\n (click)=\"changePosition($event)\"\n (kendoPress)=\"handleDragPress($event)\"\n (kendoDrag)=\"onHandleDrag($event)\"\n (kendoRelease)=\"onHandleRelease()\">\n <div\n #gradientDragHandle\n class=\"k-hsv-draghandle k-draghandle\"\n tabindex=\"0\"\n [attr.title]=\"colorGradientHandleTitle\"\n [attr.aria-label]=\"colorGradientHandleAriaLabel\"\n >\n </div>\n </div>\n <svg kendoColorContrastSvg\n *ngIf=\"contrastToolVisible && gradientWrapper\"\n class=\"k-color-contrast-svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n [wrapper]=\"gradientWrapper ? gradientWrapper : undefined\"\n [hsva]=\"hsva\"\n [backgroundColor]=\"contrastTool\">\n </svg>\n </div>\n <div class=\"k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}\">\n <span class=\"k-clear-color k-button k-button-md k-button-flat k-button-flat-base k-button-icon\"\n *ngIf=\"clearButton\"\n (click)=\"reset()\"\n (keydown.enter)=\"reset()\"\n (keydown.space)=\"reset()\"\n [attr.aria-label]=\"clearButtonTitle\"\n [attr.title]=\"clearButtonTitle\"\n tabindex=\"0\">\n <span class=\"k-icon k-i-reset-color\"></span>\n </span>\n <kendo-slider\n [ngClass]=\"{'k-align-self-end': clearButton}\"\n class=\"k-hue-slider k-colorgradient-slider\"\n [dragHandleTitle]=\"hueSliderTitle\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [showButtons]=\"false\"\n [tickPlacement]=\"'none'\"\n [vertical]=\"true\"\n [min]=\"0\"\n [max]=\"360\"\n [value]=\"hsva.value.h\"\n [smallStep]=\"5\"\n [largeStep]=\"10\"\n (valueChange)=\"handleHueSliderChange($event)\"\n >\n </kendo-slider>\n <kendo-slider\n *ngIf=\"opacity\"\n #alphaSlider\n [ngClass]=\"{'k-align-self-end': clearButton}\"\n class=\"k-alpha-slider k-colorgradient-slider\"\n [dragHandleTitle]=\"opacitySliderTitle\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [showButtons]=\"false\"\n [tickPlacement]=\"'none'\"\n [vertical]=\"true\"\n [min]=\"0\"\n [max]=\"100\"\n [smallStep]=\"1\"\n [largeStep]=\"10\"\n [value]=\"alphaSliderValue\"\n (valueChange)=\"handleAlphaSliderChange($event)\"\n >\n </kendo-slider>\n </div>\n </div>\n <kendo-colorinput #inputs\n [opacity]=\"opacity\"\n [formatView]=\"format\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (valueChange)=\"handleInputsValueChange($event)\"\n >\n </kendo-colorinput>\n <div class=\"k-colorgradient-color-contrast k-vbox\"\n *ngIf=\"contrastToolVisible\"\n kendoContrastTool\n [value]=\"value\"\n [ratio]=\"contrastTool\">\n </div>\n ",
|
|
671
689
|
styles: ["\n .k-clear-color {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n .k-colorgradient-slider.k-align-self-end {\n height: 140px;\n }\n\n .k-color-contrast-svg {\n position: absolute;\n overflow: visible;\n pointer-events: none;\n left: 0px;\n top: 0px;\n }\n "]
|
|
672
690
|
}),
|
|
673
691
|
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|
|
@@ -210,6 +210,7 @@ var FlatColorPickerComponent = /** @class */ (function () {
|
|
|
210
210
|
};
|
|
211
211
|
FlatColorPickerComponent.prototype.ngOnChanges = function (changes) {
|
|
212
212
|
if (kendo_angular_common_1.isChanged('value', changes)) {
|
|
213
|
+
this.selection = this.value;
|
|
213
214
|
this.setHostElementAriaLabel();
|
|
214
215
|
}
|
|
215
216
|
if (kendo_angular_common_1.isChanged('paletteSettings', changes)) {
|
|
@@ -300,15 +301,7 @@ var FlatColorPickerComponent = /** @class */ (function () {
|
|
|
300
301
|
* @hidden
|
|
301
302
|
*/
|
|
302
303
|
FlatColorPickerComponent.prototype.handleValueChange = function (color) {
|
|
303
|
-
|
|
304
|
-
return;
|
|
305
|
-
}
|
|
306
|
-
if (this.preview) {
|
|
307
|
-
this.changeCurrentValue(color);
|
|
308
|
-
}
|
|
309
|
-
else {
|
|
310
|
-
this.setFlatColorPickerValue(color);
|
|
311
|
-
}
|
|
304
|
+
this.preview ? this.changeCurrentValue(color) : this.setFlatColorPickerValue(color);
|
|
312
305
|
};
|
|
313
306
|
/**
|
|
314
307
|
* @hidden
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-inputs',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1645536043,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|
|
@@ -222,6 +222,9 @@ var TextAreaDirective = /** @class */ (function () {
|
|
|
222
222
|
tslib_1.__decorate([
|
|
223
223
|
core_1.HostBinding('class.k-textarea'),
|
|
224
224
|
core_1.HostBinding('class.k-input'),
|
|
225
|
+
core_1.HostBinding('class.k-input-md'),
|
|
226
|
+
core_1.HostBinding('class.k-rounded-md'),
|
|
227
|
+
core_1.HostBinding('class.k-input-solid'),
|
|
225
228
|
tslib_1.__metadata("design:type", Boolean)
|
|
226
229
|
], TextAreaDirective.prototype, "elementClasses", void 0);
|
|
227
230
|
tslib_1.__decorate([
|
|
@@ -102,6 +102,9 @@ var TextBoxDirective = /** @class */ (function () {
|
|
|
102
102
|
tslib_1.__decorate([
|
|
103
103
|
core_1.HostBinding('class.k-textbox'),
|
|
104
104
|
core_1.HostBinding('class.k-input'),
|
|
105
|
+
core_1.HostBinding('class.k-input-md'),
|
|
106
|
+
core_1.HostBinding('class.k-rounded-md'),
|
|
107
|
+
core_1.HostBinding('class.k-input-solid'),
|
|
105
108
|
tslib_1.__metadata("design:type", Boolean)
|
|
106
109
|
], TextBoxDirective.prototype, "hostClasses", void 0);
|
|
107
110
|
tslib_1.__decorate([
|