@progress/kendo-angular-inputs 8.0.3-dev.202202071246 → 8.0.3-dev.202202071301

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: 1644237797,
12
+ publishDate: 1644238730,
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(); });
@@ -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: 1644237797,
12
+ publishDate: 1644238730,
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());
@@ -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: 1644237797,
484
+ publishDate: 1644238730,
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());
@@ -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: 1644237797,
517
+ publishDate: 1644238730,
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(); });
@@ -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: 1644237797,
14
+ publishDate: 1644238730,
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(); });