@progress/kendo-angular-inputs 22.1.0-develop.17 → 22.1.0-develop.19
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/common/models/fillmode.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/utils.d.ts +1 -0
- package/fesm2022/progress-kendo-angular-inputs.mjs +136 -204
- package/otpinput/otpinput.component.d.ts +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/signature/signature.component.d.ts +3 -3
- package/switch/switch.component.d.ts +3 -3
package/common/models/size.d.ts
CHANGED
package/common/utils.d.ts
CHANGED
|
@@ -73,7 +73,8 @@ const ROUNDED_MAP = {
|
|
|
73
73
|
small: 'sm',
|
|
74
74
|
medium: 'md',
|
|
75
75
|
large: 'lg',
|
|
76
|
-
full: 'full'
|
|
76
|
+
full: 'full',
|
|
77
|
+
none: 'none'
|
|
77
78
|
};
|
|
78
79
|
/**
|
|
79
80
|
* @hidden
|
|
@@ -86,21 +87,33 @@ const isNone = (style) => style === 'none';
|
|
|
86
87
|
*/
|
|
87
88
|
const getStylingClasses = (componentType, stylingOption, previousValue, newValue) => {
|
|
88
89
|
switch (stylingOption) {
|
|
89
|
-
case 'size':
|
|
90
|
+
case 'size': {
|
|
90
91
|
return {
|
|
91
|
-
toRemove: `k-${componentType}-${SIZE_MAP[previousValue]}
|
|
92
|
-
toAdd: newValue
|
|
92
|
+
toRemove: previousValue ? `k-${componentType}-${SIZE_MAP[previousValue]}` : null,
|
|
93
|
+
toAdd: newValue ? `k-${componentType}-${SIZE_MAP[newValue]}` : null
|
|
93
94
|
};
|
|
94
|
-
|
|
95
|
+
}
|
|
96
|
+
case 'rounded': {
|
|
97
|
+
let roundedClassToAdd;
|
|
98
|
+
if (newValue) {
|
|
99
|
+
if (newValue !== 'none') {
|
|
100
|
+
roundedClassToAdd = `k-rounded-${ROUNDED_MAP[newValue]}`;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
roundedClassToAdd = 'k-rounded-none';
|
|
104
|
+
}
|
|
105
|
+
}
|
|
95
106
|
return {
|
|
96
|
-
toRemove: `k-rounded-${ROUNDED_MAP[previousValue]}
|
|
97
|
-
toAdd:
|
|
107
|
+
toRemove: previousValue ? `k-rounded-${ROUNDED_MAP[previousValue]}` : null,
|
|
108
|
+
toAdd: roundedClassToAdd || null
|
|
98
109
|
};
|
|
99
|
-
|
|
110
|
+
}
|
|
111
|
+
case 'fillMode': {
|
|
100
112
|
return {
|
|
101
|
-
toRemove: `k-${componentType}-${previousValue}
|
|
102
|
-
toAdd: newValue
|
|
113
|
+
toRemove: previousValue ? `k-${componentType}-${previousValue}` : null,
|
|
114
|
+
toAdd: newValue ? `k-${componentType}-${newValue}` : null
|
|
103
115
|
};
|
|
116
|
+
}
|
|
104
117
|
default:
|
|
105
118
|
break;
|
|
106
119
|
}
|
|
@@ -554,7 +567,7 @@ const packageMetadata = {
|
|
|
554
567
|
productCode: 'KENDOUIANGULAR',
|
|
555
568
|
productCodes: ['KENDOUIANGULAR'],
|
|
556
569
|
publishDate: 0,
|
|
557
|
-
version: '22.1.0-develop.
|
|
570
|
+
version: '22.1.0-develop.19',
|
|
558
571
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
559
572
|
};
|
|
560
573
|
|
|
@@ -2499,9 +2512,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2499
2512
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
2500
2513
|
|
|
2501
2514
|
const FOCUSED$5 = 'k-focus';
|
|
2502
|
-
const DEFAULT_SIZE$e = 'medium';
|
|
2503
|
-
const DEFAULT_THUMB_ROUNDED = 'full';
|
|
2504
|
-
const DEFAULT_TRACK_ROUNDED = 'full';
|
|
2505
2515
|
/**
|
|
2506
2516
|
* Represents the [Kendo UI Switch component for Angular]({% slug overview_switch %}).
|
|
2507
2517
|
*
|
|
@@ -2572,12 +2582,11 @@ class SwitchComponent {
|
|
|
2572
2582
|
/**
|
|
2573
2583
|
* Sets the size of the Switch.
|
|
2574
2584
|
*
|
|
2575
|
-
* @default
|
|
2585
|
+
* @default undefined
|
|
2576
2586
|
*/
|
|
2577
2587
|
set size(size) {
|
|
2578
|
-
|
|
2579
|
-
this.
|
|
2580
|
-
this._size = newSize;
|
|
2588
|
+
this.handleClasses(size, 'size');
|
|
2589
|
+
this._size = size;
|
|
2581
2590
|
}
|
|
2582
2591
|
get size() {
|
|
2583
2592
|
return this._size;
|
|
@@ -2585,12 +2594,11 @@ class SwitchComponent {
|
|
|
2585
2594
|
/**
|
|
2586
2595
|
* Sets the border radius of the Switch.
|
|
2587
2596
|
*
|
|
2588
|
-
* @default
|
|
2597
|
+
* @default undefined
|
|
2589
2598
|
*/
|
|
2590
2599
|
set thumbRounded(thumbRounded) {
|
|
2591
|
-
|
|
2592
|
-
this.
|
|
2593
|
-
this._thumbRounded = newThumbRounded;
|
|
2600
|
+
this.handleThumbClasses(thumbRounded);
|
|
2601
|
+
this._thumbRounded = thumbRounded;
|
|
2594
2602
|
}
|
|
2595
2603
|
get thumbRounded() {
|
|
2596
2604
|
return this._thumbRounded;
|
|
@@ -2598,12 +2606,11 @@ class SwitchComponent {
|
|
|
2598
2606
|
/**
|
|
2599
2607
|
* Sets the border radius of the Switch track.
|
|
2600
2608
|
*
|
|
2601
|
-
* @default
|
|
2609
|
+
* @default undefined
|
|
2602
2610
|
*/
|
|
2603
2611
|
set trackRounded(trackRounded) {
|
|
2604
|
-
|
|
2605
|
-
this.
|
|
2606
|
-
this._trackRounded = newTrackRounded;
|
|
2612
|
+
this.handleTrackClasses(trackRounded);
|
|
2613
|
+
this._trackRounded = trackRounded;
|
|
2607
2614
|
}
|
|
2608
2615
|
get trackRounded() {
|
|
2609
2616
|
return this._trackRounded;
|
|
@@ -2664,9 +2671,9 @@ class SwitchComponent {
|
|
|
2664
2671
|
control;
|
|
2665
2672
|
domSubscriptions = [];
|
|
2666
2673
|
_checked = false;
|
|
2667
|
-
_size
|
|
2668
|
-
_trackRounded
|
|
2669
|
-
_thumbRounded
|
|
2674
|
+
_size;
|
|
2675
|
+
_trackRounded;
|
|
2676
|
+
_thumbRounded;
|
|
2670
2677
|
constructor(renderer, hostElement, localizationService, injector, changeDetector, ngZone) {
|
|
2671
2678
|
this.renderer = renderer;
|
|
2672
2679
|
this.hostElement = hostElement;
|
|
@@ -3154,7 +3161,7 @@ class TextBoxDirective {
|
|
|
3154
3161
|
this.listeners.forEach(listener => listener());
|
|
3155
3162
|
}
|
|
3156
3163
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TextBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3157
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextBoxDirective, isStandalone: true, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses"
|
|
3164
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextBoxDirective, isStandalone: true, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses" } }, providers: [{
|
|
3158
3165
|
provide: KendoInput,
|
|
3159
3166
|
useExisting: forwardRef(() => TextBoxDirective)
|
|
3160
3167
|
}], ngImport: i0 });
|
|
@@ -3175,15 +3182,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3175
3182
|
}, {
|
|
3176
3183
|
type: HostBinding,
|
|
3177
3184
|
args: ['class.k-input']
|
|
3178
|
-
}, {
|
|
3179
|
-
type: HostBinding,
|
|
3180
|
-
args: ['class.k-input-md']
|
|
3181
|
-
}, {
|
|
3182
|
-
type: HostBinding,
|
|
3183
|
-
args: ['class.k-rounded-md']
|
|
3184
|
-
}, {
|
|
3185
|
-
type: HostBinding,
|
|
3186
|
-
args: ['class.k-input-solid']
|
|
3187
3185
|
}], value: [{
|
|
3188
3186
|
type: Input
|
|
3189
3187
|
}] } });
|
|
@@ -3408,7 +3406,7 @@ class TextAreaDirective {
|
|
|
3408
3406
|
}
|
|
3409
3407
|
}
|
|
3410
3408
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3411
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-
|
|
3409
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
|
|
3412
3410
|
provide: NG_VALUE_ACCESSOR,
|
|
3413
3411
|
useExisting: forwardRef(() => TextAreaDirective),
|
|
3414
3412
|
multi: true
|
|
@@ -3442,15 +3440,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
3442
3440
|
}, {
|
|
3443
3441
|
type: HostBinding,
|
|
3444
3442
|
args: ['class.k-input']
|
|
3445
|
-
}, {
|
|
3446
|
-
type: HostBinding,
|
|
3447
|
-
args: ['class.k-input-md']
|
|
3448
|
-
}, {
|
|
3449
|
-
type: HostBinding,
|
|
3450
|
-
args: ['class.k-rounded-md']
|
|
3451
|
-
}, {
|
|
3452
|
-
type: HostBinding,
|
|
3453
|
-
args: ['class.k-input-solid']
|
|
3454
3443
|
}], autofillClass: [{
|
|
3455
3444
|
type: HostBinding,
|
|
3456
3445
|
args: ['class.k-autofill']
|
|
@@ -3846,9 +3835,6 @@ const PARSABLE_DEFAULTS = {
|
|
|
3846
3835
|
step: 1
|
|
3847
3836
|
};
|
|
3848
3837
|
const FOCUSED$4 = 'k-focus';
|
|
3849
|
-
const DEFAULT_SIZE$d = 'medium';
|
|
3850
|
-
const DEFAULT_ROUNDED$8 = 'medium';
|
|
3851
|
-
const DEFAULT_FILL_MODE$6 = 'solid';
|
|
3852
3838
|
/**
|
|
3853
3839
|
* Represents the [Kendo UI NumericTextBox component for Angular]({% slug overview_numerictextbox %}).
|
|
3854
3840
|
*
|
|
@@ -3981,9 +3967,8 @@ class NumericTextBoxComponent {
|
|
|
3981
3967
|
* @default 'medium'
|
|
3982
3968
|
*/
|
|
3983
3969
|
set size(size) {
|
|
3984
|
-
|
|
3985
|
-
this.
|
|
3986
|
-
this._size = newSize;
|
|
3970
|
+
this.handleClasses(size, 'size');
|
|
3971
|
+
this._size = size;
|
|
3987
3972
|
}
|
|
3988
3973
|
get size() {
|
|
3989
3974
|
return this._size;
|
|
@@ -3994,9 +3979,8 @@ class NumericTextBoxComponent {
|
|
|
3994
3979
|
* @default 'medium'
|
|
3995
3980
|
*/
|
|
3996
3981
|
set rounded(rounded) {
|
|
3997
|
-
|
|
3998
|
-
this.
|
|
3999
|
-
this._rounded = newRounded;
|
|
3982
|
+
this.handleClasses(rounded, 'rounded');
|
|
3983
|
+
this._rounded = rounded;
|
|
4000
3984
|
}
|
|
4001
3985
|
get rounded() {
|
|
4002
3986
|
return this._rounded;
|
|
@@ -4007,9 +3991,8 @@ class NumericTextBoxComponent {
|
|
|
4007
3991
|
* @default 'solid'
|
|
4008
3992
|
*/
|
|
4009
3993
|
set fillMode(fillMode) {
|
|
4010
|
-
|
|
4011
|
-
this.
|
|
4012
|
-
this._fillMode = newFillMode;
|
|
3994
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
3995
|
+
this._fillMode = fillMode;
|
|
4013
3996
|
}
|
|
4014
3997
|
get fillMode() {
|
|
4015
3998
|
return this._fillMode;
|
|
@@ -4097,9 +4080,9 @@ class NumericTextBoxComponent {
|
|
|
4097
4080
|
control;
|
|
4098
4081
|
isPasted = false;
|
|
4099
4082
|
mouseDown = false;
|
|
4100
|
-
_size =
|
|
4101
|
-
_rounded =
|
|
4102
|
-
_fillMode =
|
|
4083
|
+
_size = undefined;
|
|
4084
|
+
_rounded = undefined;
|
|
4085
|
+
_fillMode = undefined;
|
|
4103
4086
|
ngChange = noop$1;
|
|
4104
4087
|
ngTouched = noop$1;
|
|
4105
4088
|
ngValidatorChange = noop$1;
|
|
@@ -4894,7 +4877,7 @@ class NumericTextBoxComponent {
|
|
|
4894
4877
|
[attr.aria-hidden]="true"
|
|
4895
4878
|
[attr.aria-label]="incrementTitle"
|
|
4896
4879
|
[title]="incrementTitle"
|
|
4897
|
-
class="k-spinner-increase k-button k-
|
|
4880
|
+
class="k-spinner-increase k-button k-icon-button"
|
|
4898
4881
|
[class.k-active]="arrowDirection === ArrowDirection.Up"
|
|
4899
4882
|
tabindex="-1"
|
|
4900
4883
|
>
|
|
@@ -4912,7 +4895,7 @@ class NumericTextBoxComponent {
|
|
|
4912
4895
|
[attr.aria-label]="decrementTitle"
|
|
4913
4896
|
[title]="decrementTitle"
|
|
4914
4897
|
[class.k-active]="arrowDirection === ArrowDirection.Down"
|
|
4915
|
-
class="k-spinner-decrease k-button k-
|
|
4898
|
+
class="k-spinner-decrease k-button k-icon-button"
|
|
4916
4899
|
tabindex="-1"
|
|
4917
4900
|
>
|
|
4918
4901
|
<kendo-icon-wrapper
|
|
@@ -5009,7 +4992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5009
4992
|
[attr.aria-hidden]="true"
|
|
5010
4993
|
[attr.aria-label]="incrementTitle"
|
|
5011
4994
|
[title]="incrementTitle"
|
|
5012
|
-
class="k-spinner-increase k-button k-
|
|
4995
|
+
class="k-spinner-increase k-button k-icon-button"
|
|
5013
4996
|
[class.k-active]="arrowDirection === ArrowDirection.Up"
|
|
5014
4997
|
tabindex="-1"
|
|
5015
4998
|
>
|
|
@@ -5027,7 +5010,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5027
5010
|
[attr.aria-label]="decrementTitle"
|
|
5028
5011
|
[title]="decrementTitle"
|
|
5029
5012
|
[class.k-active]="arrowDirection === ArrowDirection.Down"
|
|
5030
|
-
class="k-spinner-decrease k-button k-
|
|
5013
|
+
class="k-spinner-decrease k-button k-icon-button"
|
|
5031
5014
|
tabindex="-1"
|
|
5032
5015
|
>
|
|
5033
5016
|
<kendo-icon-wrapper
|
|
@@ -5606,9 +5589,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5606
5589
|
|
|
5607
5590
|
const resolvedPromise = Promise.resolve(null);
|
|
5608
5591
|
const FOCUSED$3 = 'k-focus';
|
|
5609
|
-
const DEFAULT_SIZE$c = 'medium';
|
|
5610
|
-
const DEFAULT_ROUNDED$7 = 'medium';
|
|
5611
|
-
const DEFAULT_FILL_MODE$5 = 'solid';
|
|
5612
5592
|
/**
|
|
5613
5593
|
* Represents the [Kendo UI MaskedTextBox component for Angular]({% slug overview_maskedtextbox %}).
|
|
5614
5594
|
*
|
|
@@ -5662,9 +5642,8 @@ class MaskedTextBoxComponent {
|
|
|
5662
5642
|
* @default 'medium'
|
|
5663
5643
|
*/
|
|
5664
5644
|
set size(size) {
|
|
5665
|
-
|
|
5666
|
-
this.
|
|
5667
|
-
this._size = newSize;
|
|
5645
|
+
this.handleClasses(size, 'size');
|
|
5646
|
+
this._size = size;
|
|
5668
5647
|
}
|
|
5669
5648
|
get size() {
|
|
5670
5649
|
return this._size;
|
|
@@ -5674,9 +5653,8 @@ class MaskedTextBoxComponent {
|
|
|
5674
5653
|
* @default 'medium'
|
|
5675
5654
|
*/
|
|
5676
5655
|
set rounded(rounded) {
|
|
5677
|
-
|
|
5678
|
-
this.
|
|
5679
|
-
this._rounded = newRounded;
|
|
5656
|
+
this.handleClasses(rounded, 'rounded');
|
|
5657
|
+
this._rounded = rounded;
|
|
5680
5658
|
}
|
|
5681
5659
|
get rounded() {
|
|
5682
5660
|
return this._rounded;
|
|
@@ -5686,9 +5664,8 @@ class MaskedTextBoxComponent {
|
|
|
5686
5664
|
* @default 'solid'
|
|
5687
5665
|
*/
|
|
5688
5666
|
set fillMode(fillMode) {
|
|
5689
|
-
|
|
5690
|
-
this.
|
|
5691
|
-
this._fillMode = newFillMode;
|
|
5667
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
5668
|
+
this._fillMode = fillMode;
|
|
5692
5669
|
}
|
|
5693
5670
|
get fillMode() {
|
|
5694
5671
|
return this._fillMode;
|
|
@@ -5849,9 +5826,9 @@ class MaskedTextBoxComponent {
|
|
|
5849
5826
|
isPasted = false;
|
|
5850
5827
|
selection = [0, 0];
|
|
5851
5828
|
control;
|
|
5852
|
-
_size =
|
|
5853
|
-
_rounded =
|
|
5854
|
-
_fillMode =
|
|
5829
|
+
_size = undefined;
|
|
5830
|
+
_rounded = undefined;
|
|
5831
|
+
_fillMode = undefined;
|
|
5855
5832
|
_inputAttributes;
|
|
5856
5833
|
parsedAttributes = {};
|
|
5857
5834
|
constructor(service, renderer, hostElement, ngZone, injector, changeDetector, rtl) {
|
|
@@ -6464,7 +6441,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6464
6441
|
}] } });
|
|
6465
6442
|
|
|
6466
6443
|
const FOCUSED$2 = 'k-focus';
|
|
6467
|
-
const DEFAULT_SIZE$b = 'medium';
|
|
6468
6444
|
/**
|
|
6469
6445
|
* @hidden
|
|
6470
6446
|
*/
|
|
@@ -6519,9 +6495,8 @@ class RadioCheckBoxBase {
|
|
|
6519
6495
|
*
|
|
6520
6496
|
*/
|
|
6521
6497
|
set size(size) {
|
|
6522
|
-
|
|
6523
|
-
this.
|
|
6524
|
-
this._size = newSize;
|
|
6498
|
+
this.handleClasses(size, 'size');
|
|
6499
|
+
this._size = size;
|
|
6525
6500
|
}
|
|
6526
6501
|
get size() {
|
|
6527
6502
|
return this._size;
|
|
@@ -6681,7 +6656,7 @@ class RadioCheckBoxBase {
|
|
|
6681
6656
|
ngChange = (_) => { };
|
|
6682
6657
|
ngTouched = () => { };
|
|
6683
6658
|
_isFocused = false;
|
|
6684
|
-
_size =
|
|
6659
|
+
_size = undefined;
|
|
6685
6660
|
constructor(componentType, hostElement, renderer, cdr, ngZone, injector) {
|
|
6686
6661
|
this.componentType = componentType;
|
|
6687
6662
|
this.hostElement = hostElement;
|
|
@@ -6750,7 +6725,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6750
6725
|
args: ['input', { static: true }]
|
|
6751
6726
|
}] } });
|
|
6752
6727
|
|
|
6753
|
-
const DEFAULT_ROUNDED$6 = 'medium';
|
|
6754
6728
|
/**
|
|
6755
6729
|
* Represents the Kendo UI CheckBox component for Angular.
|
|
6756
6730
|
* Use this component to create a styled checkbox with support for indeterminate state.
|
|
@@ -6791,9 +6765,8 @@ class CheckBoxComponent extends RadioCheckBoxBase {
|
|
|
6791
6765
|
* @default 'medium'
|
|
6792
6766
|
*/
|
|
6793
6767
|
set rounded(rounded) {
|
|
6794
|
-
|
|
6795
|
-
this.
|
|
6796
|
-
this._rounded = newRounded;
|
|
6768
|
+
this.handleClasses(rounded, 'rounded');
|
|
6769
|
+
this._rounded = rounded;
|
|
6797
6770
|
}
|
|
6798
6771
|
get rounded() {
|
|
6799
6772
|
return this._rounded;
|
|
@@ -6829,7 +6802,7 @@ class CheckBoxComponent extends RadioCheckBoxBase {
|
|
|
6829
6802
|
'aria-invalid': this.isControlInvalid
|
|
6830
6803
|
};
|
|
6831
6804
|
}
|
|
6832
|
-
_rounded =
|
|
6805
|
+
_rounded = undefined;
|
|
6833
6806
|
_checkedState = false;
|
|
6834
6807
|
constructor(renderer, hostElement, cdr, ngZone, injector) {
|
|
6835
6808
|
super('checkbox', hostElement, renderer, cdr, ngZone, injector);
|
|
@@ -6965,8 +6938,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6965
6938
|
type: Output
|
|
6966
6939
|
}] } });
|
|
6967
6940
|
|
|
6968
|
-
const DEFAULT_SIZE$a = 'medium';
|
|
6969
|
-
const DEFAULT_ROUNDED$5 = 'medium';
|
|
6970
6941
|
/**
|
|
6971
6942
|
* Renders the [Kendo UI CheckBox]({% slug overview_checkbox %}) input component.
|
|
6972
6943
|
* Apply this directive to `input type="checkbox"` HTML elements.
|
|
@@ -6990,9 +6961,8 @@ class CheckBoxDirective {
|
|
|
6990
6961
|
* @default 'medium'
|
|
6991
6962
|
*/
|
|
6992
6963
|
set size(size) {
|
|
6993
|
-
|
|
6994
|
-
this.
|
|
6995
|
-
this._size = newSize;
|
|
6964
|
+
this.handleClasses(size, 'size');
|
|
6965
|
+
this._size = size;
|
|
6996
6966
|
}
|
|
6997
6967
|
get size() {
|
|
6998
6968
|
return this._size;
|
|
@@ -7005,15 +6975,14 @@ class CheckBoxDirective {
|
|
|
7005
6975
|
*
|
|
7006
6976
|
*/
|
|
7007
6977
|
set rounded(rounded) {
|
|
7008
|
-
|
|
7009
|
-
this.
|
|
7010
|
-
this._rounded = newRounded;
|
|
6978
|
+
this.handleClasses(rounded, 'rounded');
|
|
6979
|
+
this._rounded = rounded;
|
|
7011
6980
|
}
|
|
7012
6981
|
get rounded() {
|
|
7013
6982
|
return this._rounded;
|
|
7014
6983
|
}
|
|
7015
|
-
_size =
|
|
7016
|
-
_rounded =
|
|
6984
|
+
_size = undefined;
|
|
6985
|
+
_rounded = undefined;
|
|
7017
6986
|
constructor(renderer, hostElement) {
|
|
7018
6987
|
this.renderer = renderer;
|
|
7019
6988
|
this.hostElement = hostElement;
|
|
@@ -7576,9 +7545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7576
7545
|
|
|
7577
7546
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
7578
7547
|
const FOCUSED$1 = 'k-focus';
|
|
7579
|
-
const DEFAULT_SIZE$9 = 'medium';
|
|
7580
|
-
const DEFAULT_ROUNDED$4 = 'medium';
|
|
7581
|
-
const DEFAULT_FILL_MODE$4 = 'solid';
|
|
7582
7548
|
const iconsMap$1 = { checkIcon, exclamationCircleIcon, xIcon };
|
|
7583
7549
|
/**
|
|
7584
7550
|
* Represents the Kendo UI TextBox component for Angular.
|
|
@@ -7682,9 +7648,8 @@ class TextBoxComponent {
|
|
|
7682
7648
|
* @default 'medium'
|
|
7683
7649
|
*/
|
|
7684
7650
|
set size(size) {
|
|
7685
|
-
|
|
7686
|
-
this.
|
|
7687
|
-
this._size = newSize;
|
|
7651
|
+
this.handleClasses(size, 'size');
|
|
7652
|
+
this._size = size;
|
|
7688
7653
|
}
|
|
7689
7654
|
get size() {
|
|
7690
7655
|
return this._size;
|
|
@@ -7694,9 +7659,8 @@ class TextBoxComponent {
|
|
|
7694
7659
|
* @default 'medium'
|
|
7695
7660
|
*/
|
|
7696
7661
|
set rounded(rounded) {
|
|
7697
|
-
|
|
7698
|
-
this.
|
|
7699
|
-
this._rounded = newRounded;
|
|
7662
|
+
this.handleClasses(rounded, 'rounded');
|
|
7663
|
+
this._rounded = rounded;
|
|
7700
7664
|
}
|
|
7701
7665
|
get rounded() {
|
|
7702
7666
|
return this._rounded;
|
|
@@ -7706,9 +7670,8 @@ class TextBoxComponent {
|
|
|
7706
7670
|
* @default 'solid'
|
|
7707
7671
|
*/
|
|
7708
7672
|
set fillMode(fillMode) {
|
|
7709
|
-
|
|
7710
|
-
this.
|
|
7711
|
-
this._fillMode = newFillMode;
|
|
7673
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
7674
|
+
this._fillMode = fillMode;
|
|
7712
7675
|
}
|
|
7713
7676
|
get fillMode() {
|
|
7714
7677
|
return this._fillMode;
|
|
@@ -7815,9 +7778,9 @@ class TextBoxComponent {
|
|
|
7815
7778
|
_isFocused = false;
|
|
7816
7779
|
focusChangedProgrammatically = false;
|
|
7817
7780
|
_inputAttributes;
|
|
7818
|
-
_size =
|
|
7819
|
-
_rounded =
|
|
7820
|
-
_fillMode =
|
|
7781
|
+
_size = undefined;
|
|
7782
|
+
_rounded = undefined;
|
|
7783
|
+
_fillMode = undefined;
|
|
7821
7784
|
parsedAttributes = {};
|
|
7822
7785
|
get defaultAttributes() {
|
|
7823
7786
|
return {
|
|
@@ -8513,7 +8476,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
8513
8476
|
}] } });
|
|
8514
8477
|
|
|
8515
8478
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
8516
|
-
const DEFAULT_SIZE$8 = 'medium';
|
|
8517
8479
|
/**
|
|
8518
8480
|
* @hidden
|
|
8519
8481
|
*/
|
|
@@ -8535,7 +8497,7 @@ class ColorInputComponent {
|
|
|
8535
8497
|
*
|
|
8536
8498
|
* @default 'medium'
|
|
8537
8499
|
*/
|
|
8538
|
-
size =
|
|
8500
|
+
size = undefined;
|
|
8539
8501
|
/**
|
|
8540
8502
|
* Sets the `tabindex` of the inputs.
|
|
8541
8503
|
* @default -1
|
|
@@ -9531,7 +9493,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
9531
9493
|
|
|
9532
9494
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
9533
9495
|
let serial$3 = 0;
|
|
9534
|
-
const DEFAULT_SIZE$7 = 'medium';
|
|
9535
9496
|
/**
|
|
9536
9497
|
* Represents the Kendo UI ColorGradient component.
|
|
9537
9498
|
*
|
|
@@ -9621,9 +9582,8 @@ class ColorGradientComponent {
|
|
|
9621
9582
|
* @default 'medium'
|
|
9622
9583
|
*/
|
|
9623
9584
|
set size(size) {
|
|
9624
|
-
|
|
9625
|
-
this.
|
|
9626
|
-
this._size = newSize;
|
|
9585
|
+
this.handleClasses(size, 'size');
|
|
9586
|
+
this._size = size;
|
|
9627
9587
|
}
|
|
9628
9588
|
get size() {
|
|
9629
9589
|
return this._size;
|
|
@@ -9768,7 +9728,7 @@ class ColorGradientComponent {
|
|
|
9768
9728
|
listeners = [];
|
|
9769
9729
|
hueSliderTouched = false;
|
|
9770
9730
|
alphaSliderTouched = false;
|
|
9771
|
-
_size =
|
|
9731
|
+
_size = undefined;
|
|
9772
9732
|
updateValues = new Subject();
|
|
9773
9733
|
changeRequestsSubscription;
|
|
9774
9734
|
dynamicRTLSubscription;
|
|
@@ -10772,7 +10732,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10772
10732
|
const DEFAULT_COLUMNS_COUNT = 10;
|
|
10773
10733
|
const DEFAULT_PRESET = 'office';
|
|
10774
10734
|
const DEFAULT_ACCESSIBLE_PRESET = 'accessible';
|
|
10775
|
-
const DEFAULT_SIZE$6 = 'medium';
|
|
10776
10735
|
let serial$2 = 0;
|
|
10777
10736
|
/**
|
|
10778
10737
|
* Represents the Kendo UI ColorPalette component.
|
|
@@ -10869,9 +10828,8 @@ class ColorPaletteComponent {
|
|
|
10869
10828
|
* @default 'medium'
|
|
10870
10829
|
*/
|
|
10871
10830
|
set size(size) {
|
|
10872
|
-
|
|
10873
|
-
this.
|
|
10874
|
-
this._size = newSize;
|
|
10831
|
+
this.handleClasses(size, 'size');
|
|
10832
|
+
this._size = size;
|
|
10875
10833
|
}
|
|
10876
10834
|
get size() {
|
|
10877
10835
|
return this._size;
|
|
@@ -10969,7 +10927,7 @@ class ColorPaletteComponent {
|
|
|
10969
10927
|
*/
|
|
10970
10928
|
uniqueId = guid();
|
|
10971
10929
|
selection;
|
|
10972
|
-
_size =
|
|
10930
|
+
_size = undefined;
|
|
10973
10931
|
_value;
|
|
10974
10932
|
_columns;
|
|
10975
10933
|
_palette;
|
|
@@ -11826,7 +11784,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11826
11784
|
|
|
11827
11785
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
11828
11786
|
/* eslint-disable no-unused-expressions */
|
|
11829
|
-
const DEFAULT_SIZE$5 = 'medium';
|
|
11830
11787
|
/**
|
|
11831
11788
|
* Represents the Kendo UI FlatColorPicker component for Angular.
|
|
11832
11789
|
*
|
|
@@ -11997,9 +11954,8 @@ class FlatColorPickerComponent {
|
|
|
11997
11954
|
* @default 'medium'
|
|
11998
11955
|
*/
|
|
11999
11956
|
set size(size) {
|
|
12000
|
-
|
|
12001
|
-
this.
|
|
12002
|
-
this._size = newSize;
|
|
11957
|
+
this.handleClasses(size, 'size');
|
|
11958
|
+
this._size = size;
|
|
12003
11959
|
}
|
|
12004
11960
|
get size() {
|
|
12005
11961
|
return this._size;
|
|
@@ -12051,7 +12007,7 @@ class FlatColorPickerComponent {
|
|
|
12051
12007
|
dynamicRTLSubscription;
|
|
12052
12008
|
subscriptions = new Subscription();
|
|
12053
12009
|
internalNavigation = false;
|
|
12054
|
-
_size =
|
|
12010
|
+
_size = undefined;
|
|
12055
12011
|
control;
|
|
12056
12012
|
/**
|
|
12057
12013
|
* @hidden
|
|
@@ -13006,9 +12962,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13006
12962
|
|
|
13007
12963
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
13008
12964
|
const DOM_FOCUS_EVENTS = ['focus', 'blur'];
|
|
13009
|
-
const DEFAULT_SIZE$4 = 'medium';
|
|
13010
|
-
const DEFAULT_ROUNDED$3 = 'medium';
|
|
13011
|
-
const DEFAULT_FILL_MODE$3 = 'solid';
|
|
13012
12965
|
/**
|
|
13013
12966
|
* @hidden
|
|
13014
12967
|
*/
|
|
@@ -13219,9 +13172,8 @@ class ColorPickerComponent {
|
|
|
13219
13172
|
* @default 'medium'
|
|
13220
13173
|
*/
|
|
13221
13174
|
set size(size) {
|
|
13222
|
-
|
|
13223
|
-
this.
|
|
13224
|
-
this._size = newSize;
|
|
13175
|
+
this.handleClasses(size, 'size');
|
|
13176
|
+
this._size = size;
|
|
13225
13177
|
}
|
|
13226
13178
|
get size() {
|
|
13227
13179
|
return this._size;
|
|
@@ -13233,9 +13185,8 @@ class ColorPickerComponent {
|
|
|
13233
13185
|
* @default 'medium'
|
|
13234
13186
|
*/
|
|
13235
13187
|
set rounded(rounded) {
|
|
13236
|
-
|
|
13237
|
-
this.
|
|
13238
|
-
this._rounded = newRounded;
|
|
13188
|
+
this.handleClasses(rounded, 'rounded');
|
|
13189
|
+
this._rounded = rounded;
|
|
13239
13190
|
}
|
|
13240
13191
|
get rounded() {
|
|
13241
13192
|
return this._rounded;
|
|
@@ -13247,9 +13198,8 @@ class ColorPickerComponent {
|
|
|
13247
13198
|
* @default 'solid'
|
|
13248
13199
|
*/
|
|
13249
13200
|
set fillMode(fillMode) {
|
|
13250
|
-
|
|
13251
|
-
this.
|
|
13252
|
-
this._fillMode = newFillMode;
|
|
13201
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
13202
|
+
this._fillMode = fillMode;
|
|
13253
13203
|
}
|
|
13254
13204
|
get fillMode() {
|
|
13255
13205
|
return this._fillMode;
|
|
@@ -13383,9 +13333,9 @@ class ColorPickerComponent {
|
|
|
13383
13333
|
_popupSettings = { animate: true };
|
|
13384
13334
|
_paletteSettings = {};
|
|
13385
13335
|
_gradientSettings = { opacity: true, delay: 0 };
|
|
13386
|
-
_size =
|
|
13387
|
-
_rounded =
|
|
13388
|
-
_fillMode =
|
|
13336
|
+
_size = undefined;
|
|
13337
|
+
_rounded = undefined;
|
|
13338
|
+
_fillMode = undefined;
|
|
13389
13339
|
dynamicRTLSubscription;
|
|
13390
13340
|
subscriptions = new Subscription();
|
|
13391
13341
|
popupSubs = new Subscription();
|
|
@@ -13966,7 +13916,6 @@ class ColorPickerComponent {
|
|
|
13966
13916
|
[svgIcon]="arrowDownIcon"
|
|
13967
13917
|
[fillMode]="fillMode"
|
|
13968
13918
|
[disabled]="disabled"
|
|
13969
|
-
rounded="none"
|
|
13970
13919
|
class="k-input-button"
|
|
13971
13920
|
[attr.aria-label]="messageFor('toggleButtonLabel')"
|
|
13972
13921
|
>
|
|
@@ -14116,7 +14065,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14116
14065
|
[svgIcon]="arrowDownIcon"
|
|
14117
14066
|
[fillMode]="fillMode"
|
|
14118
14067
|
[disabled]="disabled"
|
|
14119
|
-
rounded="none"
|
|
14120
14068
|
class="k-input-button"
|
|
14121
14069
|
[attr.aria-label]="messageFor('toggleButtonLabel')"
|
|
14122
14070
|
>
|
|
@@ -15147,7 +15095,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15147
15095
|
type: Output
|
|
15148
15096
|
}] } });
|
|
15149
15097
|
|
|
15150
|
-
const DEFAULT_SIZE$3 = 'medium';
|
|
15151
15098
|
/**
|
|
15152
15099
|
* Represents the directive that renders the Kendo UI RadioButton input component.
|
|
15153
15100
|
* Place the directive on `input type="radio"` HTML elements.
|
|
@@ -15170,14 +15117,13 @@ class RadioButtonDirective {
|
|
|
15170
15117
|
* @default "medium"
|
|
15171
15118
|
*/
|
|
15172
15119
|
set size(size) {
|
|
15173
|
-
|
|
15174
|
-
this.
|
|
15175
|
-
this._size = newSize;
|
|
15120
|
+
this.handleClasses(size, 'size');
|
|
15121
|
+
this._size = size;
|
|
15176
15122
|
}
|
|
15177
15123
|
get size() {
|
|
15178
15124
|
return this._size;
|
|
15179
15125
|
}
|
|
15180
|
-
_size =
|
|
15126
|
+
_size = undefined;
|
|
15181
15127
|
constructor(renderer, hostElement) {
|
|
15182
15128
|
this.renderer = renderer;
|
|
15183
15129
|
this.hostElement = hostElement;
|
|
@@ -16262,9 +16208,6 @@ const noop = () => { };
|
|
|
16262
16208
|
let _id = 0;
|
|
16263
16209
|
const nextId = () => 'k-signature-focusable-' + _id++;
|
|
16264
16210
|
const FOCUSED_CLASS = 'k-focus';
|
|
16265
|
-
const DEFAULT_SIZE$2 = 'medium';
|
|
16266
|
-
const DEFAULT_ROUNDED$2 = 'medium';
|
|
16267
|
-
const DEFAULT_FILL_MODE$2 = 'solid';
|
|
16268
16211
|
const DEFAULT_POPUP_SCALE = 3;
|
|
16269
16212
|
const DEFAULT_EXPORT_SCALE = 2;
|
|
16270
16213
|
const DEFAULT_COLOR = '#000000';
|
|
@@ -16364,23 +16307,23 @@ class SignatureComponent {
|
|
|
16364
16307
|
* Sets the padding of the Signature internal controls
|
|
16365
16308
|
* ([ee example]({% slug appearance_signature %}#toc-size)).
|
|
16366
16309
|
*
|
|
16367
|
-
* @default
|
|
16310
|
+
* @default undefined
|
|
16368
16311
|
*/
|
|
16369
|
-
size
|
|
16312
|
+
size;
|
|
16370
16313
|
/**
|
|
16371
16314
|
* Sets the border radius of the Signature
|
|
16372
16315
|
* ([see example](slug:appearance_signature#rounded-corners)).
|
|
16373
16316
|
*
|
|
16374
|
-
* @default
|
|
16317
|
+
* @default undefined
|
|
16375
16318
|
*/
|
|
16376
|
-
rounded
|
|
16319
|
+
rounded;
|
|
16377
16320
|
/**
|
|
16378
16321
|
* Sets the background and border styles of the Signature
|
|
16379
16322
|
* ([see example](slug:appearance_signature#toc-fill-mode)).
|
|
16380
16323
|
*
|
|
16381
|
-
* @default
|
|
16324
|
+
* @default undefined
|
|
16382
16325
|
*/
|
|
16383
|
-
fillMode
|
|
16326
|
+
fillMode;
|
|
16384
16327
|
/**
|
|
16385
16328
|
* Sets the stroke color of the Signature.
|
|
16386
16329
|
*
|
|
@@ -16773,9 +16716,9 @@ class SignatureComponent {
|
|
|
16773
16716
|
const classList = this.element.nativeElement.classList;
|
|
16774
16717
|
this.hostClasses.forEach(([name]) => classList.remove(name));
|
|
16775
16718
|
this.hostClasses = [
|
|
16776
|
-
[`k-signature-${SIZE_MAP[this.size
|
|
16777
|
-
[`k-input-${this.fillMode
|
|
16778
|
-
[`k-rounded-${ROUNDED_MAP[this.rounded
|
|
16719
|
+
[`k-signature-${SIZE_MAP[this.size]}`, isPresent(this.size)],
|
|
16720
|
+
[`k-input-${this.fillMode}`, isPresent(this.fillMode)],
|
|
16721
|
+
[`k-rounded-${ROUNDED_MAP[this.rounded]}`, isPresent(this.rounded)],
|
|
16779
16722
|
];
|
|
16780
16723
|
this.hostClasses.forEach(([name, enabled]) => classList.toggle(name, enabled));
|
|
16781
16724
|
}
|
|
@@ -17561,9 +17504,6 @@ const resizeClasses = {
|
|
|
17561
17504
|
'auto': 'k-resize-none'
|
|
17562
17505
|
};
|
|
17563
17506
|
const FOCUSED = 'k-focus';
|
|
17564
|
-
const DEFAULT_SIZE$1 = 'medium';
|
|
17565
|
-
const DEFAULT_ROUNDED$1 = 'medium';
|
|
17566
|
-
const DEFAULT_FILL_MODE$1 = 'solid';
|
|
17567
17507
|
/**
|
|
17568
17508
|
* Represents the Kendo UI TextArea component for Angular.
|
|
17569
17509
|
*
|
|
@@ -17685,9 +17625,8 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
17685
17625
|
* @default 'medium'
|
|
17686
17626
|
*/
|
|
17687
17627
|
set size(size) {
|
|
17688
|
-
|
|
17689
|
-
this.
|
|
17690
|
-
this._size = newSize;
|
|
17628
|
+
this.handleClasses(size, 'size');
|
|
17629
|
+
this._size = size;
|
|
17691
17630
|
}
|
|
17692
17631
|
get size() {
|
|
17693
17632
|
return this._size;
|
|
@@ -17697,9 +17636,8 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
17697
17636
|
* @default 'medium'
|
|
17698
17637
|
*/
|
|
17699
17638
|
set rounded(rounded) {
|
|
17700
|
-
|
|
17701
|
-
this.
|
|
17702
|
-
this._rounded = newRounded;
|
|
17639
|
+
this.handleClasses(rounded, 'rounded');
|
|
17640
|
+
this._rounded = rounded;
|
|
17703
17641
|
}
|
|
17704
17642
|
get rounded() {
|
|
17705
17643
|
return this._rounded;
|
|
@@ -17709,9 +17647,8 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
17709
17647
|
* @default 'solid'
|
|
17710
17648
|
*/
|
|
17711
17649
|
set fillMode(fillMode) {
|
|
17712
|
-
|
|
17713
|
-
this.
|
|
17714
|
-
this._fillMode = newFillMode;
|
|
17650
|
+
this.handleClasses(fillMode, 'fillMode');
|
|
17651
|
+
this._fillMode = fillMode;
|
|
17715
17652
|
}
|
|
17716
17653
|
get fillMode() {
|
|
17717
17654
|
return this._fillMode;
|
|
@@ -17752,9 +17689,9 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
17752
17689
|
maxResizableHeight;
|
|
17753
17690
|
resizeSubscription;
|
|
17754
17691
|
resizeObserver;
|
|
17755
|
-
_size =
|
|
17756
|
-
_rounded =
|
|
17757
|
-
_fillMode =
|
|
17692
|
+
_size = undefined;
|
|
17693
|
+
_rounded = undefined;
|
|
17694
|
+
_fillMode = undefined;
|
|
17758
17695
|
_adornmentsOrientation = 'horizontal';
|
|
17759
17696
|
_inputAttributes;
|
|
17760
17697
|
parsedAttributes = {};
|
|
@@ -18451,9 +18388,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
18451
18388
|
}]
|
|
18452
18389
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
18453
18390
|
|
|
18454
|
-
const DEFAULT_SIZE = 'medium';
|
|
18455
|
-
const DEFAULT_ROUNDED = 'medium';
|
|
18456
|
-
const DEFAULT_FILL_MODE = 'solid';
|
|
18457
18391
|
const DEFAULT_OTPINPUT_LENGTH = 4;
|
|
18458
18392
|
/**
|
|
18459
18393
|
* Represents the Kendo UI OTP Input component for Angular.
|
|
@@ -18583,14 +18517,15 @@ class OTPInputComponent {
|
|
|
18583
18517
|
/**
|
|
18584
18518
|
* Sets the padding of the input fields.
|
|
18585
18519
|
*
|
|
18586
|
-
* @default
|
|
18520
|
+
* @default undefined
|
|
18587
18521
|
*/
|
|
18588
18522
|
set size(size) {
|
|
18589
|
-
const newSize = size || DEFAULT_SIZE;
|
|
18590
18523
|
const elem = this.hostElement.nativeElement;
|
|
18591
18524
|
this.renderer.removeClass(elem, `k-otp-${SIZE_MAP[this._size]}`);
|
|
18592
|
-
|
|
18593
|
-
|
|
18525
|
+
if (size) {
|
|
18526
|
+
this.renderer.addClass(elem, `k-otp-${SIZE_MAP[size]}`);
|
|
18527
|
+
}
|
|
18528
|
+
this._size = size;
|
|
18594
18529
|
}
|
|
18595
18530
|
get size() {
|
|
18596
18531
|
return this._size;
|
|
@@ -18601,7 +18536,7 @@ class OTPInputComponent {
|
|
|
18601
18536
|
* @default 'medium'
|
|
18602
18537
|
*/
|
|
18603
18538
|
set rounded(rounded) {
|
|
18604
|
-
this._rounded = rounded
|
|
18539
|
+
this._rounded = rounded;
|
|
18605
18540
|
}
|
|
18606
18541
|
get rounded() {
|
|
18607
18542
|
return this._rounded;
|
|
@@ -18612,9 +18547,8 @@ class OTPInputComponent {
|
|
|
18612
18547
|
* @default 'solid'
|
|
18613
18548
|
*/
|
|
18614
18549
|
set fillMode(fillMode) {
|
|
18615
|
-
|
|
18616
|
-
this.
|
|
18617
|
-
this._fillMode = newFillMode;
|
|
18550
|
+
this.setGroupFillMode(fillMode, this._fillMode);
|
|
18551
|
+
this._fillMode = fillMode;
|
|
18618
18552
|
}
|
|
18619
18553
|
get fillMode() {
|
|
18620
18554
|
return this._fillMode;
|
|
@@ -18687,9 +18621,9 @@ class OTPInputComponent {
|
|
|
18687
18621
|
_inputGroups;
|
|
18688
18622
|
separatorPositions = new Set();
|
|
18689
18623
|
_value = null;
|
|
18690
|
-
_size =
|
|
18691
|
-
_rounded =
|
|
18692
|
-
_fillMode =
|
|
18624
|
+
_size = undefined;
|
|
18625
|
+
_rounded = undefined;
|
|
18626
|
+
_fillMode = undefined;
|
|
18693
18627
|
_isFocused = false;
|
|
18694
18628
|
focusChangedProgrammatically = false;
|
|
18695
18629
|
inputFieldValueChanged = false;
|
|
@@ -18726,8 +18660,6 @@ class OTPInputComponent {
|
|
|
18726
18660
|
ngAfterViewInit() {
|
|
18727
18661
|
this.subscriptions.add(this.inputFields.changes.subscribe(this.handleInputChanges.bind(this)));
|
|
18728
18662
|
this.handleInputChanges();
|
|
18729
|
-
this.renderer.addClass(this.hostElement.nativeElement, `k-otp-${SIZE_MAP[this._size]}`);
|
|
18730
|
-
this.setGroupFillMode(this.fillMode);
|
|
18731
18663
|
this.zone.onStable.pipe(take(1)).subscribe(() => {
|
|
18732
18664
|
this.fillInputs(this.value);
|
|
18733
18665
|
});
|
|
@@ -19101,10 +19033,10 @@ class OTPInputComponent {
|
|
|
19101
19033
|
}
|
|
19102
19034
|
setGroupFillMode(fillMode, previousFillMode) {
|
|
19103
19035
|
this.inputGroups?.forEach(element => {
|
|
19104
|
-
if (previousFillMode
|
|
19036
|
+
if (previousFillMode) {
|
|
19105
19037
|
this.renderer.removeClass(element.nativeElement, `k-input-group-${previousFillMode}`);
|
|
19106
19038
|
}
|
|
19107
|
-
if (fillMode
|
|
19039
|
+
if (fillMode) {
|
|
19108
19040
|
this.renderer.addClass(element.nativeElement, `k-input-group-${fillMode}`);
|
|
19109
19041
|
}
|
|
19110
19042
|
});
|
|
@@ -19190,7 +19122,7 @@ class OTPInputComponent {
|
|
|
19190
19122
|
(onFocus)="handleFocus()"
|
|
19191
19123
|
>
|
|
19192
19124
|
@if (spacing) {
|
|
19193
|
-
@for (input of inputsArray; track
|
|
19125
|
+
@for (input of inputsArray; track $index; let i = $index) {
|
|
19194
19126
|
<kendo-textbox
|
|
19195
19127
|
class="k-otp-input"
|
|
19196
19128
|
[class.k-invalid]="isControlInvalid"
|
|
@@ -19267,7 +19199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19267
19199
|
(onFocus)="handleFocus()"
|
|
19268
19200
|
>
|
|
19269
19201
|
@if (spacing) {
|
|
19270
|
-
@for (input of inputsArray; track
|
|
19202
|
+
@for (input of inputsArray; track $index; let i = $index) {
|
|
19271
19203
|
<kendo-textbox
|
|
19272
19204
|
class="k-otp-input"
|
|
19273
19205
|
[class.k-invalid]="isControlInvalid"
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770219736,
|
|
11
|
+
"version": "22.1.0-develop.19",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.19",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"package": {
|
|
29
29
|
"productName": "Kendo UI for Angular",
|
|
30
30
|
"productCode": "KENDOUIANGULAR",
|
|
31
|
-
"publishDate":
|
|
31
|
+
"publishDate": 1770219736,
|
|
32
32
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"@angular/core": "19 - 21",
|
|
39
39
|
"@angular/forms": "19 - 21",
|
|
40
40
|
"@angular/platform-browser": "19 - 21",
|
|
41
|
-
"@progress/kendo-drawing": "^1.
|
|
41
|
+
"@progress/kendo-drawing": "^1.24.0",
|
|
42
42
|
"@progress/kendo-licensing": "^1.10.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "22.1.0-develop.
|
|
44
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
45
|
-
"@progress/kendo-angular-utils": "22.1.0-develop.
|
|
46
|
-
"@progress/kendo-angular-navigation": "22.1.0-develop.
|
|
47
|
-
"@progress/kendo-angular-dialog": "22.1.0-develop.
|
|
48
|
-
"@progress/kendo-angular-intl": "22.1.0-develop.
|
|
49
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
50
|
-
"@progress/kendo-angular-popup": "22.1.0-develop.
|
|
51
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
43
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.19",
|
|
44
|
+
"@progress/kendo-angular-common": "22.1.0-develop.19",
|
|
45
|
+
"@progress/kendo-angular-utils": "22.1.0-develop.19",
|
|
46
|
+
"@progress/kendo-angular-navigation": "22.1.0-develop.19",
|
|
47
|
+
"@progress/kendo-angular-dialog": "22.1.0-develop.19",
|
|
48
|
+
"@progress/kendo-angular-intl": "22.1.0-develop.19",
|
|
49
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.19",
|
|
50
|
+
"@progress/kendo-angular-popup": "22.1.0-develop.19",
|
|
51
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.19",
|
|
52
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "22.1.0-develop.
|
|
56
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.19",
|
|
57
57
|
"@progress/kendo-common": "^1.0.1",
|
|
58
58
|
"@progress/kendo-draggable": "^3.0.0",
|
|
59
59
|
"@progress/kendo-inputs-common": "^3.1.0"
|
|
@@ -86,21 +86,21 @@ export declare class SignatureComponent implements ControlValueAccessor {
|
|
|
86
86
|
* Sets the padding of the Signature internal controls
|
|
87
87
|
* ([ee example]({% slug appearance_signature %}#toc-size)).
|
|
88
88
|
*
|
|
89
|
-
* @default
|
|
89
|
+
* @default undefined
|
|
90
90
|
*/
|
|
91
91
|
size: InputSize;
|
|
92
92
|
/**
|
|
93
93
|
* Sets the border radius of the Signature
|
|
94
94
|
* ([see example](slug:appearance_signature#rounded-corners)).
|
|
95
95
|
*
|
|
96
|
-
* @default
|
|
96
|
+
* @default undefined
|
|
97
97
|
*/
|
|
98
98
|
rounded: InputRounded;
|
|
99
99
|
/**
|
|
100
100
|
* Sets the background and border styles of the Signature
|
|
101
101
|
* ([see example](slug:appearance_signature#toc-fill-mode)).
|
|
102
102
|
*
|
|
103
|
-
* @default
|
|
103
|
+
* @default undefined
|
|
104
104
|
*/
|
|
105
105
|
fillMode: InputFillMode;
|
|
106
106
|
/**
|
|
@@ -70,21 +70,21 @@ export declare class SwitchComponent implements ControlValueAccessor, OnInit, On
|
|
|
70
70
|
/**
|
|
71
71
|
* Sets the size of the Switch.
|
|
72
72
|
*
|
|
73
|
-
* @default
|
|
73
|
+
* @default undefined
|
|
74
74
|
*/
|
|
75
75
|
set size(size: InputSize);
|
|
76
76
|
get size(): InputSize;
|
|
77
77
|
/**
|
|
78
78
|
* Sets the border radius of the Switch.
|
|
79
79
|
*
|
|
80
|
-
* @default
|
|
80
|
+
* @default undefined
|
|
81
81
|
*/
|
|
82
82
|
set thumbRounded(thumbRounded: InputRounded);
|
|
83
83
|
get thumbRounded(): InputRounded;
|
|
84
84
|
/**
|
|
85
85
|
* Sets the border radius of the Switch track.
|
|
86
86
|
*
|
|
87
|
-
* @default
|
|
87
|
+
* @default undefined
|
|
88
88
|
*/
|
|
89
89
|
set trackRounded(trackRounded: InputRounded);
|
|
90
90
|
get trackRounded(): InputRounded;
|