@progress/kendo-angular-inputs 8.0.2-dev.202201251557 → 8.0.3

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.
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-inputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1643126009,
12
+ publishDate: 1644239979,
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
  };
@@ -9,7 +9,7 @@ import { hasObservers, KendoInput, isDocumentAvailable } from '@progress/kendo-a
9
9
  import { requiresZoneOnBlur } from '../common/utils';
10
10
  import { RTL } from '@progress/kendo-angular-l10n';
11
11
  import { fromEvent } from 'rxjs';
12
- import { debounceTime } from 'rxjs/operators';
12
+ import { debounceTime, take } from 'rxjs/operators';
13
13
  /**
14
14
  * Represents the [Kendo UI TextArea directive for the Inputs components for Angular]({% slug overview_textarea %}).
15
15
  * Provides floating labels to `textarea` elements.
@@ -127,6 +127,7 @@ var TextAreaDirective = /** @class */ (function () {
127
127
  this.control = this.injector.get(NgControl, null);
128
128
  };
129
129
  TextAreaDirective.prototype.ngOnChanges = function (changes) {
130
+ var _this = this;
130
131
  var element = this.element.nativeElement;
131
132
  if (changes.value) {
132
133
  this.elementValue = this.value;
@@ -142,7 +143,7 @@ var TextAreaDirective = /** @class */ (function () {
142
143
  element.style.height = this.initialHeight + "px";
143
144
  }
144
145
  }
145
- this.resize();
146
+ this.zone.onStable.pipe(take(1)).subscribe(function () { return _this.resize(); });
146
147
  };
147
148
  TextAreaDirective.prototype.ngOnDestroy = function () {
148
149
  this.listeners.forEach(function (listener) { return listener(); });
@@ -489,7 +489,7 @@ var TextBoxComponent = /** @class */ (function () {
489
489
  get: function () {
490
490
  return this.successIcon
491
491
  ? "" + this.successIcon
492
- : "k-validation-icon k-icon k-i-check";
492
+ : "k-input-validation-icon k-icon k-i-check";
493
493
  },
494
494
  enumerable: true,
495
495
  configurable: true
@@ -501,7 +501,7 @@ var TextBoxComponent = /** @class */ (function () {
501
501
  get: function () {
502
502
  return this.errorIcon
503
503
  ? "" + this.errorIcon
504
- : "k-validation-icon k-icon k-i-warning";
504
+ : "k-input-validation-icon k-icon k-i-warning";
505
505
  },
506
506
  enumerable: true,
507
507
  configurable: true
@@ -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: 1643126009,
12
+ publishDate: 1644239979,
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
  };
@@ -10,7 +10,7 @@ import { hasObservers, KendoInput, isDocumentAvailable } from '@progress/kendo-a
10
10
  import { requiresZoneOnBlur } from '../common/utils';
11
11
  import { RTL } from '@progress/kendo-angular-l10n';
12
12
  import { fromEvent } from 'rxjs';
13
- import { debounceTime } from 'rxjs/operators';
13
+ import { debounceTime, take } from 'rxjs/operators';
14
14
  /**
15
15
  * Represents the [Kendo UI TextArea directive for the Inputs components for Angular]({% slug overview_textarea %}).
16
16
  * Provides floating labels to `textarea` elements.
@@ -137,7 +137,7 @@ let TextAreaDirective = TextAreaDirective_1 = class TextAreaDirective {
137
137
  element.style.height = `${this.initialHeight}px`;
138
138
  }
139
139
  }
140
- this.resize();
140
+ this.zone.onStable.pipe(take(1)).subscribe(() => this.resize());
141
141
  }
142
142
  ngOnDestroy() {
143
143
  this.listeners.forEach(listener => listener());
@@ -464,7 +464,7 @@ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent {
464
464
  get successIconClasses() {
465
465
  return this.successIcon
466
466
  ? `${this.successIcon}`
467
- : `k-validation-icon k-icon k-i-check`;
467
+ : `k-input-validation-icon k-icon k-i-check`;
468
468
  }
469
469
  /**
470
470
  * @hidden
@@ -472,7 +472,7 @@ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent {
472
472
  get errorIconClasses() {
473
473
  return this.errorIcon
474
474
  ? `${this.errorIcon}`
475
- : `k-validation-icon k-icon k-i-warning`;
475
+ : `k-input-validation-icon k-icon k-i-warning`;
476
476
  }
477
477
  /**
478
478
  * @hidden
@@ -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: 1643126009,
484
+ publishDate: 1644239979,
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
  };
@@ -2607,7 +2607,7 @@ let TextAreaDirective = TextAreaDirective_1 = class TextAreaDirective {
2607
2607
  element.style.height = `${this.initialHeight}px`;
2608
2608
  }
2609
2609
  }
2610
- this.resize();
2610
+ this.zone.onStable.pipe(take(1)).subscribe(() => this.resize());
2611
2611
  }
2612
2612
  ngOnDestroy() {
2613
2613
  this.listeners.forEach(listener => listener());
@@ -6183,7 +6183,7 @@ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent {
6183
6183
  get successIconClasses() {
6184
6184
  return this.successIcon
6185
6185
  ? `${this.successIcon}`
6186
- : `k-validation-icon k-icon k-i-check`;
6186
+ : `k-input-validation-icon k-icon k-i-check`;
6187
6187
  }
6188
6188
  /**
6189
6189
  * @hidden
@@ -6191,7 +6191,7 @@ let TextBoxComponent = TextBoxComponent_1 = class TextBoxComponent {
6191
6191
  get errorIconClasses() {
6192
6192
  return this.errorIcon
6193
6193
  ? `${this.errorIcon}`
6194
- : `k-validation-icon k-icon k-i-warning`;
6194
+ : `k-input-validation-icon k-icon k-i-warning`;
6195
6195
  }
6196
6196
  /**
6197
6197
  * @hidden
@@ -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: 1643126009,
517
+ publishDate: 1644239979,
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
  };
@@ -2626,6 +2626,7 @@ var TextAreaDirective = /** @class */ (function () {
2626
2626
  this.control = this.injector.get(NgControl, null);
2627
2627
  };
2628
2628
  TextAreaDirective.prototype.ngOnChanges = function (changes) {
2629
+ var _this = this;
2629
2630
  var element = this.element.nativeElement;
2630
2631
  if (changes.value) {
2631
2632
  this.elementValue = this.value;
@@ -2641,7 +2642,7 @@ var TextAreaDirective = /** @class */ (function () {
2641
2642
  element.style.height = this.initialHeight + "px";
2642
2643
  }
2643
2644
  }
2644
- this.resize();
2645
+ this.zone.onStable.pipe(take(1)).subscribe(function () { return _this.resize(); });
2645
2646
  };
2646
2647
  TextAreaDirective.prototype.ngOnDestroy = function () {
2647
2648
  this.listeners.forEach(function (listener) { return listener(); });
@@ -6377,7 +6378,7 @@ var TextBoxComponent = /** @class */ (function () {
6377
6378
  get: function () {
6378
6379
  return this.successIcon
6379
6380
  ? "" + this.successIcon
6380
- : "k-validation-icon k-icon k-i-check";
6381
+ : "k-input-validation-icon k-icon k-i-check";
6381
6382
  },
6382
6383
  enumerable: true,
6383
6384
  configurable: true
@@ -6389,7 +6390,7 @@ var TextBoxComponent = /** @class */ (function () {
6389
6390
  get: function () {
6390
6391
  return this.errorIcon
6391
6392
  ? "" + this.errorIcon
6392
- : "k-validation-icon k-icon k-i-warning";
6393
+ : "k-input-validation-icon k-icon k-i-warning";
6393
6394
  },
6394
6395
  enumerable: true,
6395
6396
  configurable: true
@@ -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: 1643126009,
14
+ publishDate: 1644239979,
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
  };
@@ -129,6 +129,7 @@ var TextAreaDirective = /** @class */ (function () {
129
129
  this.control = this.injector.get(forms_1.NgControl, null);
130
130
  };
131
131
  TextAreaDirective.prototype.ngOnChanges = function (changes) {
132
+ var _this = this;
132
133
  var element = this.element.nativeElement;
133
134
  if (changes.value) {
134
135
  this.elementValue = this.value;
@@ -144,7 +145,7 @@ var TextAreaDirective = /** @class */ (function () {
144
145
  element.style.height = this.initialHeight + "px";
145
146
  }
146
147
  }
147
- this.resize();
148
+ this.zone.onStable.pipe(operators_1.take(1)).subscribe(function () { return _this.resize(); });
148
149
  };
149
150
  TextAreaDirective.prototype.ngOnDestroy = function () {
150
151
  this.listeners.forEach(function (listener) { return listener(); });
@@ -491,7 +491,7 @@ var TextBoxComponent = /** @class */ (function () {
491
491
  get: function () {
492
492
  return this.successIcon
493
493
  ? "" + this.successIcon
494
- : "k-validation-icon k-icon k-i-check";
494
+ : "k-input-validation-icon k-icon k-i-check";
495
495
  },
496
496
  enumerable: true,
497
497
  configurable: true
@@ -503,7 +503,7 @@ var TextBoxComponent = /** @class */ (function () {
503
503
  get: function () {
504
504
  return this.errorIcon
505
505
  ? "" + this.errorIcon
506
- : "k-validation-icon k-icon k-i-warning";
506
+ : "k-input-validation-icon k-icon k-i-warning";
507
507
  },
508
508
  enumerable: true,
509
509
  configurable: true