@progress/kendo-angular-inputs 10.0.0-dev.202208291357 → 10.0.0-dev.202209071528
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/bundles/kendo-angular-inputs.umd.js +1 -1
- package/esm2015/maskedtextbox/maskedtextbox.component.js +10 -0
- package/esm2015/numerictextbox/numerictextbox.component.js +56 -48
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/switch/switch.component.js +10 -0
- package/esm2015/textarea/textarea.component.js +8 -0
- package/esm2015/textbox/textbox.component.js +8 -0
- package/fesm2015/kendo-angular-inputs.js +93 -49
- package/maskedtextbox/maskedtextbox.component.d.ts +4 -0
- package/numerictextbox/numerictextbox.component.d.ts +4 -0
- package/package.json +1 -1
- package/switch/switch.component.d.ts +4 -0
- package/textarea/textarea.component.d.ts +4 -0
- package/textbox/textbox.component.d.ts +4 -0
|
@@ -449,6 +449,12 @@ export class MaskedTextBoxComponent {
|
|
|
449
449
|
}
|
|
450
450
|
return null;
|
|
451
451
|
}
|
|
452
|
+
/**
|
|
453
|
+
* @hidden
|
|
454
|
+
*/
|
|
455
|
+
get isControlInvalid() {
|
|
456
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
457
|
+
}
|
|
452
458
|
/**
|
|
453
459
|
* @hidden
|
|
454
460
|
*/
|
|
@@ -574,6 +580,8 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
574
580
|
[id]="focusableId"
|
|
575
581
|
[tabindex]="tabIndex"
|
|
576
582
|
[attr.title]="title"
|
|
583
|
+
[attr.aria-placeholder]="mask"
|
|
584
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
577
585
|
[disabled]="disabled"
|
|
578
586
|
[readonly]="readonly"
|
|
579
587
|
[kendoEventsOutsideAngular]="{
|
|
@@ -618,6 +626,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
618
626
|
[id]="focusableId"
|
|
619
627
|
[tabindex]="tabIndex"
|
|
620
628
|
[attr.title]="title"
|
|
629
|
+
[attr.aria-placeholder]="mask"
|
|
630
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
621
631
|
[disabled]="disabled"
|
|
622
632
|
[readonly]="readonly"
|
|
623
633
|
[kendoEventsOutsideAngular]="{
|
|
@@ -524,6 +524,12 @@ export class NumericTextBoxComponent {
|
|
|
524
524
|
get decrementTitle() {
|
|
525
525
|
return this.localizationService.get('decrement');
|
|
526
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* @hidden
|
|
529
|
+
*/
|
|
530
|
+
get isControlInvalid() {
|
|
531
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
532
|
+
}
|
|
527
533
|
get decimalSeparator() {
|
|
528
534
|
const numberSymbols = this.intl.numberSymbols();
|
|
529
535
|
return numberSymbols.decimal;
|
|
@@ -865,30 +871,31 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
865
871
|
>
|
|
866
872
|
</ng-container>
|
|
867
873
|
<input
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
874
|
+
role="spinbutton"
|
|
875
|
+
class="k-input-inner"
|
|
876
|
+
autocomplete="off"
|
|
877
|
+
autocorrect="off"
|
|
878
|
+
[id]="focusableId"
|
|
879
|
+
[attr.aria-valuemin]="min"
|
|
880
|
+
[attr.aria-valuemax]="max"
|
|
881
|
+
[attr.aria-valuenow]="value"
|
|
882
|
+
[attr.title]="title"
|
|
883
|
+
[attr.placeholder]="placeholder"
|
|
884
|
+
[attr.maxLength]="maxlength"
|
|
885
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
886
|
+
[tabindex]="tabIndex"
|
|
887
|
+
[disabled]="disabled"
|
|
888
|
+
[readonly]="readonly"
|
|
889
|
+
[kendoEventsOutsideAngular]="{
|
|
890
|
+
mousedown: handleMouseDown,
|
|
891
|
+
dragenter: handleDragEnter,
|
|
892
|
+
keydown: handleKeyDown,
|
|
893
|
+
input: handleInput,
|
|
894
|
+
focus: handleFocus,
|
|
895
|
+
blur: handleBlur,
|
|
896
|
+
paste: handlePaste
|
|
897
|
+
}"
|
|
898
|
+
#numericInput />
|
|
892
899
|
<span
|
|
893
900
|
class="k-input-spinner k-spin-button" *ngIf="spinners"
|
|
894
901
|
[kendoEventsOutsideAngular]="{ mouseup: releaseArrow, mouseleave: releaseArrow }"
|
|
@@ -940,30 +947,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
940
947
|
>
|
|
941
948
|
</ng-container>
|
|
942
949
|
<input
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
950
|
+
role="spinbutton"
|
|
951
|
+
class="k-input-inner"
|
|
952
|
+
autocomplete="off"
|
|
953
|
+
autocorrect="off"
|
|
954
|
+
[id]="focusableId"
|
|
955
|
+
[attr.aria-valuemin]="min"
|
|
956
|
+
[attr.aria-valuemax]="max"
|
|
957
|
+
[attr.aria-valuenow]="value"
|
|
958
|
+
[attr.title]="title"
|
|
959
|
+
[attr.placeholder]="placeholder"
|
|
960
|
+
[attr.maxLength]="maxlength"
|
|
961
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
962
|
+
[tabindex]="tabIndex"
|
|
963
|
+
[disabled]="disabled"
|
|
964
|
+
[readonly]="readonly"
|
|
965
|
+
[kendoEventsOutsideAngular]="{
|
|
966
|
+
mousedown: handleMouseDown,
|
|
967
|
+
dragenter: handleDragEnter,
|
|
968
|
+
keydown: handleKeyDown,
|
|
969
|
+
input: handleInput,
|
|
970
|
+
focus: handleFocus,
|
|
971
|
+
blur: handleBlur,
|
|
972
|
+
paste: handlePaste
|
|
973
|
+
}"
|
|
974
|
+
#numericInput />
|
|
967
975
|
<span
|
|
968
976
|
class="k-input-spinner k-spin-button" *ngIf="spinners"
|
|
969
977
|
[kendoEventsOutsideAngular]="{ mouseup: releaseArrow, mouseleave: releaseArrow }"
|
|
@@ -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: 1662564435,
|
|
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
|
};
|
|
@@ -277,6 +277,12 @@ export class SwitchComponent {
|
|
|
277
277
|
this.disabled = isDisabled;
|
|
278
278
|
this.changeDetector.markForCheck();
|
|
279
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* @hidden
|
|
282
|
+
*/
|
|
283
|
+
get isControlInvalid() {
|
|
284
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
285
|
+
}
|
|
280
286
|
/**
|
|
281
287
|
* @hidden
|
|
282
288
|
*/
|
|
@@ -430,6 +436,8 @@ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
430
436
|
[style.transitionDuration]="initialized ? '200ms' : '0ms'"
|
|
431
437
|
[attr.aria-checked]="checked"
|
|
432
438
|
[attr.tabindex]="(disabled ? undefined : tabIndex)"
|
|
439
|
+
[attr.aria-disabled]="disabled"
|
|
440
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
433
441
|
[kendoEventsOutsideAngular]="{ keydown: keyDownHandler, focus: handleFocus, blur: handleBlur }"
|
|
434
442
|
>
|
|
435
443
|
<span class="k-switch-label-on" [attr.aria-hidden]="true" >{{onLabelMessage}}</span>
|
|
@@ -480,6 +488,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
480
488
|
[style.transitionDuration]="initialized ? '200ms' : '0ms'"
|
|
481
489
|
[attr.aria-checked]="checked"
|
|
482
490
|
[attr.tabindex]="(disabled ? undefined : tabIndex)"
|
|
491
|
+
[attr.aria-disabled]="disabled"
|
|
492
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
483
493
|
[kendoEventsOutsideAngular]="{ keydown: keyDownHandler, focus: handleFocus, blur: handleBlur }"
|
|
484
494
|
>
|
|
485
495
|
<span class="k-switch-label-on" [attr.aria-hidden]="true" >{{onLabelMessage}}</span>
|
|
@@ -366,6 +366,12 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
366
366
|
get resizableClass() {
|
|
367
367
|
return resizeClasses[this.resizable];
|
|
368
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* @hidden
|
|
371
|
+
*/
|
|
372
|
+
get isControlInvalid() {
|
|
373
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
374
|
+
}
|
|
369
375
|
/**
|
|
370
376
|
* Focuses the TextArea component.
|
|
371
377
|
*
|
|
@@ -503,6 +509,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
503
509
|
[attr.tabindex]="tabIndex"
|
|
504
510
|
[attr.title]="title"
|
|
505
511
|
[attr.maxlength]="maxlength"
|
|
512
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
506
513
|
[kendoEventsOutsideAngular]="{
|
|
507
514
|
focus: handleInputFocus,
|
|
508
515
|
blur: handleInputBlur,
|
|
@@ -543,6 +550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
543
550
|
[attr.tabindex]="tabIndex"
|
|
544
551
|
[attr.title]="title"
|
|
545
552
|
[attr.maxlength]="maxlength"
|
|
553
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
546
554
|
[kendoEventsOutsideAngular]="{
|
|
547
555
|
focus: handleInputFocus,
|
|
548
556
|
blur: handleInputBlur,
|
|
@@ -473,6 +473,12 @@ export class TextBoxComponent {
|
|
|
473
473
|
const { valid, dirty, touched } = this.control;
|
|
474
474
|
return valid && (dirty || touched);
|
|
475
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* @hidden
|
|
478
|
+
*/
|
|
479
|
+
get isControlInvalid() {
|
|
480
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
481
|
+
}
|
|
476
482
|
/**
|
|
477
483
|
* @hidden
|
|
478
484
|
*/
|
|
@@ -599,6 +605,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
599
605
|
[attr.placeholder]="placeholder"
|
|
600
606
|
[attr.title]="title"
|
|
601
607
|
[attr.maxlength]="maxlength"
|
|
608
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
602
609
|
[kendoEventsOutsideAngular]="{
|
|
603
610
|
focus: handleInputFocus,
|
|
604
611
|
blur: handleInputBlur,
|
|
@@ -662,6 +669,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
662
669
|
[attr.placeholder]="placeholder"
|
|
663
670
|
[attr.title]="title"
|
|
664
671
|
[attr.maxlength]="maxlength"
|
|
672
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
665
673
|
[kendoEventsOutsideAngular]="{
|
|
666
674
|
focus: handleInputFocus,
|
|
667
675
|
blur: handleInputBlur,
|
|
@@ -535,7 +535,7 @@ const packageMetadata = {
|
|
|
535
535
|
name: '@progress/kendo-angular-inputs',
|
|
536
536
|
productName: 'Kendo UI for Angular',
|
|
537
537
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
538
|
-
publishDate:
|
|
538
|
+
publishDate: 1662564435,
|
|
539
539
|
version: '',
|
|
540
540
|
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'
|
|
541
541
|
};
|
|
@@ -2527,6 +2527,12 @@ class SwitchComponent {
|
|
|
2527
2527
|
this.disabled = isDisabled;
|
|
2528
2528
|
this.changeDetector.markForCheck();
|
|
2529
2529
|
}
|
|
2530
|
+
/**
|
|
2531
|
+
* @hidden
|
|
2532
|
+
*/
|
|
2533
|
+
get isControlInvalid() {
|
|
2534
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
2535
|
+
}
|
|
2530
2536
|
/**
|
|
2531
2537
|
* @hidden
|
|
2532
2538
|
*/
|
|
@@ -2680,6 +2686,8 @@ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2680
2686
|
[style.transitionDuration]="initialized ? '200ms' : '0ms'"
|
|
2681
2687
|
[attr.aria-checked]="checked"
|
|
2682
2688
|
[attr.tabindex]="(disabled ? undefined : tabIndex)"
|
|
2689
|
+
[attr.aria-disabled]="disabled"
|
|
2690
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
2683
2691
|
[kendoEventsOutsideAngular]="{ keydown: keyDownHandler, focus: handleFocus, blur: handleBlur }"
|
|
2684
2692
|
>
|
|
2685
2693
|
<span class="k-switch-label-on" [attr.aria-hidden]="true" >{{onLabelMessage}}</span>
|
|
@@ -2730,6 +2738,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2730
2738
|
[style.transitionDuration]="initialized ? '200ms' : '0ms'"
|
|
2731
2739
|
[attr.aria-checked]="checked"
|
|
2732
2740
|
[attr.tabindex]="(disabled ? undefined : tabIndex)"
|
|
2741
|
+
[attr.aria-disabled]="disabled"
|
|
2742
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
2733
2743
|
[kendoEventsOutsideAngular]="{ keydown: keyDownHandler, focus: handleFocus, blur: handleBlur }"
|
|
2734
2744
|
>
|
|
2735
2745
|
<span class="k-switch-label-on" [attr.aria-hidden]="true" >{{onLabelMessage}}</span>
|
|
@@ -3872,6 +3882,12 @@ class NumericTextBoxComponent {
|
|
|
3872
3882
|
get decrementTitle() {
|
|
3873
3883
|
return this.localizationService.get('decrement');
|
|
3874
3884
|
}
|
|
3885
|
+
/**
|
|
3886
|
+
* @hidden
|
|
3887
|
+
*/
|
|
3888
|
+
get isControlInvalid() {
|
|
3889
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
3890
|
+
}
|
|
3875
3891
|
get decimalSeparator() {
|
|
3876
3892
|
const numberSymbols = this.intl.numberSymbols();
|
|
3877
3893
|
return numberSymbols.decimal;
|
|
@@ -4213,30 +4229,31 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4213
4229
|
>
|
|
4214
4230
|
</ng-container>
|
|
4215
4231
|
<input
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4232
|
+
role="spinbutton"
|
|
4233
|
+
class="k-input-inner"
|
|
4234
|
+
autocomplete="off"
|
|
4235
|
+
autocorrect="off"
|
|
4236
|
+
[id]="focusableId"
|
|
4237
|
+
[attr.aria-valuemin]="min"
|
|
4238
|
+
[attr.aria-valuemax]="max"
|
|
4239
|
+
[attr.aria-valuenow]="value"
|
|
4240
|
+
[attr.title]="title"
|
|
4241
|
+
[attr.placeholder]="placeholder"
|
|
4242
|
+
[attr.maxLength]="maxlength"
|
|
4243
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
4244
|
+
[tabindex]="tabIndex"
|
|
4245
|
+
[disabled]="disabled"
|
|
4246
|
+
[readonly]="readonly"
|
|
4247
|
+
[kendoEventsOutsideAngular]="{
|
|
4248
|
+
mousedown: handleMouseDown,
|
|
4249
|
+
dragenter: handleDragEnter,
|
|
4250
|
+
keydown: handleKeyDown,
|
|
4251
|
+
input: handleInput,
|
|
4252
|
+
focus: handleFocus,
|
|
4253
|
+
blur: handleBlur,
|
|
4254
|
+
paste: handlePaste
|
|
4255
|
+
}"
|
|
4256
|
+
#numericInput />
|
|
4240
4257
|
<span
|
|
4241
4258
|
class="k-input-spinner k-spin-button" *ngIf="spinners"
|
|
4242
4259
|
[kendoEventsOutsideAngular]="{ mouseup: releaseArrow, mouseleave: releaseArrow }"
|
|
@@ -4288,30 +4305,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
4288
4305
|
>
|
|
4289
4306
|
</ng-container>
|
|
4290
4307
|
<input
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4308
|
+
role="spinbutton"
|
|
4309
|
+
class="k-input-inner"
|
|
4310
|
+
autocomplete="off"
|
|
4311
|
+
autocorrect="off"
|
|
4312
|
+
[id]="focusableId"
|
|
4313
|
+
[attr.aria-valuemin]="min"
|
|
4314
|
+
[attr.aria-valuemax]="max"
|
|
4315
|
+
[attr.aria-valuenow]="value"
|
|
4316
|
+
[attr.title]="title"
|
|
4317
|
+
[attr.placeholder]="placeholder"
|
|
4318
|
+
[attr.maxLength]="maxlength"
|
|
4319
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
4320
|
+
[tabindex]="tabIndex"
|
|
4321
|
+
[disabled]="disabled"
|
|
4322
|
+
[readonly]="readonly"
|
|
4323
|
+
[kendoEventsOutsideAngular]="{
|
|
4324
|
+
mousedown: handleMouseDown,
|
|
4325
|
+
dragenter: handleDragEnter,
|
|
4326
|
+
keydown: handleKeyDown,
|
|
4327
|
+
input: handleInput,
|
|
4328
|
+
focus: handleFocus,
|
|
4329
|
+
blur: handleBlur,
|
|
4330
|
+
paste: handlePaste
|
|
4331
|
+
}"
|
|
4332
|
+
#numericInput />
|
|
4315
4333
|
<span
|
|
4316
4334
|
class="k-input-spinner k-spin-button" *ngIf="spinners"
|
|
4317
4335
|
[kendoEventsOutsideAngular]="{ mouseup: releaseArrow, mouseleave: releaseArrow }"
|
|
@@ -5305,6 +5323,12 @@ class MaskedTextBoxComponent {
|
|
|
5305
5323
|
}
|
|
5306
5324
|
return null;
|
|
5307
5325
|
}
|
|
5326
|
+
/**
|
|
5327
|
+
* @hidden
|
|
5328
|
+
*/
|
|
5329
|
+
get isControlInvalid() {
|
|
5330
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
5331
|
+
}
|
|
5308
5332
|
/**
|
|
5309
5333
|
* @hidden
|
|
5310
5334
|
*/
|
|
@@ -5430,6 +5454,8 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5430
5454
|
[id]="focusableId"
|
|
5431
5455
|
[tabindex]="tabIndex"
|
|
5432
5456
|
[attr.title]="title"
|
|
5457
|
+
[attr.aria-placeholder]="mask"
|
|
5458
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
5433
5459
|
[disabled]="disabled"
|
|
5434
5460
|
[readonly]="readonly"
|
|
5435
5461
|
[kendoEventsOutsideAngular]="{
|
|
@@ -5474,6 +5500,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5474
5500
|
[id]="focusableId"
|
|
5475
5501
|
[tabindex]="tabIndex"
|
|
5476
5502
|
[attr.title]="title"
|
|
5503
|
+
[attr.aria-placeholder]="mask"
|
|
5504
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
5477
5505
|
[disabled]="disabled"
|
|
5478
5506
|
[readonly]="readonly"
|
|
5479
5507
|
[kendoEventsOutsideAngular]="{
|
|
@@ -6549,6 +6577,12 @@ class TextBoxComponent {
|
|
|
6549
6577
|
const { valid, dirty, touched } = this.control;
|
|
6550
6578
|
return valid && (dirty || touched);
|
|
6551
6579
|
}
|
|
6580
|
+
/**
|
|
6581
|
+
* @hidden
|
|
6582
|
+
*/
|
|
6583
|
+
get isControlInvalid() {
|
|
6584
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
6585
|
+
}
|
|
6552
6586
|
/**
|
|
6553
6587
|
* @hidden
|
|
6554
6588
|
*/
|
|
@@ -6675,6 +6709,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6675
6709
|
[attr.placeholder]="placeholder"
|
|
6676
6710
|
[attr.title]="title"
|
|
6677
6711
|
[attr.maxlength]="maxlength"
|
|
6712
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
6678
6713
|
[kendoEventsOutsideAngular]="{
|
|
6679
6714
|
focus: handleInputFocus,
|
|
6680
6715
|
blur: handleInputBlur,
|
|
@@ -6738,6 +6773,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6738
6773
|
[attr.placeholder]="placeholder"
|
|
6739
6774
|
[attr.title]="title"
|
|
6740
6775
|
[attr.maxlength]="maxlength"
|
|
6776
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
6741
6777
|
[kendoEventsOutsideAngular]="{
|
|
6742
6778
|
focus: handleInputFocus,
|
|
6743
6779
|
blur: handleInputBlur,
|
|
@@ -7471,6 +7507,12 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
7471
7507
|
get resizableClass() {
|
|
7472
7508
|
return resizeClasses[this.resizable];
|
|
7473
7509
|
}
|
|
7510
|
+
/**
|
|
7511
|
+
* @hidden
|
|
7512
|
+
*/
|
|
7513
|
+
get isControlInvalid() {
|
|
7514
|
+
return this.control && this.control.touched && !this.control.valid;
|
|
7515
|
+
}
|
|
7474
7516
|
/**
|
|
7475
7517
|
* Focuses the TextArea component.
|
|
7476
7518
|
*
|
|
@@ -7608,6 +7650,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
7608
7650
|
[attr.tabindex]="tabIndex"
|
|
7609
7651
|
[attr.title]="title"
|
|
7610
7652
|
[attr.maxlength]="maxlength"
|
|
7653
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
7611
7654
|
[kendoEventsOutsideAngular]="{
|
|
7612
7655
|
focus: handleInputFocus,
|
|
7613
7656
|
blur: handleInputBlur,
|
|
@@ -7648,6 +7691,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7648
7691
|
[attr.tabindex]="tabIndex"
|
|
7649
7692
|
[attr.title]="title"
|
|
7650
7693
|
[attr.maxlength]="maxlength"
|
|
7694
|
+
[attr.aria-invalid]="isControlInvalid"
|
|
7651
7695
|
[kendoEventsOutsideAngular]="{
|
|
7652
7696
|
focus: handleInputFocus,
|
|
7653
7697
|
blur: handleInputBlur,
|
|
@@ -313,6 +313,10 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
|
|
|
313
313
|
* @hidden
|
|
314
314
|
*/
|
|
315
315
|
get decrementTitle(): string;
|
|
316
|
+
/**
|
|
317
|
+
* @hidden
|
|
318
|
+
*/
|
|
319
|
+
get isControlInvalid(): boolean;
|
|
316
320
|
private get decimalSeparator();
|
|
317
321
|
private get elementValue();
|
|
318
322
|
private set elementValue(value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "10.0.0-dev.
|
|
3
|
+
"version": "10.0.0-dev.202209071528",
|
|
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",
|