@progress/kendo-angular-inputs 14.4.0-develop.9 → 15.0.0-develop.1

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.
Files changed (40) hide show
  1. package/NOTICE.txt +146 -593
  2. package/esm2020/colorpicker/color-input.component.mjs +1 -1
  3. package/esm2020/index.mjs +4 -0
  4. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +144 -56
  5. package/esm2020/maskedtextbox.module.mjs +30 -6
  6. package/esm2020/numerictextbox/numerictextbox.component.mjs +186 -91
  7. package/esm2020/numerictextbox.module.mjs +10 -6
  8. package/esm2020/package-metadata.mjs +2 -2
  9. package/esm2020/shared/input-separator.component.mjs +21 -3
  10. package/esm2020/shared/shared-events.directive.mjs +95 -0
  11. package/esm2020/shared-events.module.mjs +22 -0
  12. package/esm2020/textarea/models/adornments-orientation.mjs +5 -0
  13. package/esm2020/textarea/textarea-prefix.component.mjs +70 -0
  14. package/esm2020/textarea/textarea-suffix.component.mjs +33 -3
  15. package/esm2020/textarea/textarea.component.mjs +198 -131
  16. package/esm2020/textarea.module.mjs +14 -5
  17. package/esm2020/textbox/textbox-prefix.directive.mjs +17 -3
  18. package/esm2020/textbox/textbox-suffix.directive.mjs +17 -3
  19. package/esm2020/textbox/textbox.component.mjs +205 -203
  20. package/esm2020/textbox.module.mjs +9 -5
  21. package/fesm2015/progress-kendo-angular-inputs.mjs +1131 -609
  22. package/fesm2020/progress-kendo-angular-inputs.mjs +1131 -609
  23. package/index.d.ts +6 -0
  24. package/maskedtextbox/maskedtextbox.component.d.ts +37 -6
  25. package/maskedtextbox.module.d.ts +3 -1
  26. package/numerictextbox/numerictextbox.component.d.ts +38 -7
  27. package/numerictextbox.module.d.ts +3 -1
  28. package/package.json +10 -10
  29. package/shared/input-separator.component.d.ts +8 -1
  30. package/shared/shared-events.directive.d.ts +27 -0
  31. package/shared-events.module.d.ts +14 -0
  32. package/textarea/models/adornments-orientation.d.ts +12 -0
  33. package/textarea/textarea-prefix.component.d.ts +37 -0
  34. package/textarea/textarea-suffix.component.d.ts +12 -1
  35. package/textarea/textarea.component.d.ts +62 -6
  36. package/textarea.module.d.ts +9 -7
  37. package/textbox/textbox-prefix.directive.d.ts +9 -1
  38. package/textbox/textbox-suffix.directive.d.ts +9 -1
  39. package/textbox/textbox.component.d.ts +36 -9
  40. package/textbox.module.d.ts +4 -3
@@ -4,8 +4,9 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subscription } from 'rxjs';
6
6
  import { ControlValueAccessor, NgControl } from '@angular/forms';
7
- import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, Injector, Renderer2, SimpleChanges } from '@angular/core';
7
+ import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, Injector, Renderer2, SimpleChanges, QueryList } from '@angular/core';
8
8
  import { IconShowOptions } from './models/icon-show-options';
9
+ import { SuffixTemplateDirective, PrefixTemplateDirective } from '@progress/kendo-angular-common';
9
10
  import { TextBoxSuffixTemplateDirective } from './textbox-suffix.directive';
10
11
  import { TextBoxPrefixTemplateDirective } from './textbox-prefix.directive';
11
12
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -18,7 +19,7 @@ export declare class TextBoxComponent implements ControlValueAccessor {
18
19
  private changeDetector;
19
20
  protected renderer: Renderer2;
20
21
  private injector;
21
- private hostElement;
22
+ hostElement: ElementRef;
22
23
  /**
23
24
  * @hidden
24
25
  */
@@ -229,11 +230,19 @@ export declare class TextBoxComponent implements ControlValueAccessor {
229
230
  /**
230
231
  * @hidden
231
232
  */
232
- suffixTemplate: TextBoxSuffixTemplateDirective;
233
+ textBoxSuffixTemplate: QueryList<TextBoxSuffixTemplateDirective>;
233
234
  /**
234
235
  * @hidden
235
236
  */
236
- prefixTemplate: TextBoxPrefixTemplateDirective;
237
+ textBoxPrefixTemplate: QueryList<TextBoxPrefixTemplateDirective>;
238
+ /**
239
+ * @hidden
240
+ */
241
+ suffixTemplate: SuffixTemplateDirective;
242
+ /**
243
+ * @hidden
244
+ */
245
+ prefixTemplate: PrefixTemplateDirective;
237
246
  get disabledClass(): boolean;
238
247
  hostClasses: boolean;
239
248
  direction: string;
@@ -241,9 +250,12 @@ export declare class TextBoxComponent implements ControlValueAccessor {
241
250
  * @hidden
242
251
  */
243
252
  showClearButton: boolean;
253
+ /**
254
+ * @hidden
255
+ */
256
+ clearButtonClicked: boolean;
244
257
  protected control: NgControl;
245
258
  protected subscriptions: Subscription;
246
- private clearButtonClicked;
247
259
  private _isFocused;
248
260
  private focusChangedProgrammatically;
249
261
  private _size;
@@ -252,6 +264,7 @@ export declare class TextBoxComponent implements ControlValueAccessor {
252
264
  constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
253
265
  ngOnInit(): void;
254
266
  ngAfterViewInit(): void;
267
+ ngAfterContentInit(): void;
255
268
  ngOnChanges(changes: SimpleChanges): void;
256
269
  ngOnDestroy(): void;
257
270
  /**
@@ -366,15 +379,29 @@ export declare class TextBoxComponent implements ControlValueAccessor {
366
379
  * @hidden
367
380
  */
368
381
  get isSuccessful(): boolean;
382
+ /**
383
+ * @hidden
384
+ */
385
+ get isFocused(): boolean;
386
+ /**
387
+ * @hidden
388
+ */
389
+ set isFocused(value: boolean);
369
390
  private ngChange;
370
391
  private ngTouched;
371
392
  private setSelection;
372
393
  private selectAll;
373
394
  private updateValue;
374
- private get isFocused();
375
- private set isFocused(value);
376
- private handleBlur;
395
+ /**
396
+ * @hidden
397
+ */
398
+ handleFocus(): void;
399
+ /**
400
+ * @hidden
401
+ */
402
+ handleBlur(): void;
377
403
  private handleClasses;
404
+ private configureAdornments;
378
405
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
379
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": "focusableId"; "title": "title"; "type": "type"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "value": "value"; "selectOnFocus": "selectOnFocus"; "showSuccessIcon": "showSuccessIcon"; "showErrorIcon": "showErrorIcon"; "clearButton": "clearButton"; "successIcon": "successIcon"; "successSvgIcon": "successSvgIcon"; "errorIcon": "errorIcon"; "errorSvgIcon": "errorSvgIcon"; "clearButtonIcon": "clearButtonIcon"; "clearButtonSvgIcon": "clearButtonSvgIcon"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "tabIndex": "tabIndex"; "placeholder": "placeholder"; "maxlength": "maxlength"; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate"], never>;
406
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": "focusableId"; "title": "title"; "type": "type"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "value": "value"; "selectOnFocus": "selectOnFocus"; "showSuccessIcon": "showSuccessIcon"; "showErrorIcon": "showErrorIcon"; "clearButton": "clearButton"; "successIcon": "successIcon"; "successSvgIcon": "successSvgIcon"; "errorIcon": "errorIcon"; "errorSvgIcon": "errorSvgIcon"; "clearButtonIcon": "clearButtonIcon"; "clearButtonSvgIcon": "clearButtonSvgIcon"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "tabIndex": "tabIndex"; "placeholder": "placeholder"; "maxlength": "maxlength"; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate", "textBoxSuffixTemplate", "textBoxPrefixTemplate"], never>;
380
407
  }
@@ -13,8 +13,9 @@ import * as i7 from "@angular/common";
13
13
  import * as i8 from "@progress/kendo-angular-common";
14
14
  import * as i9 from "./shared.module";
15
15
  import * as i10 from "@progress/kendo-angular-icons";
16
- import * as i11 from "./shared/input-separator.component";
17
- import * as i12 from "./shared/textarea.directive";
16
+ import * as i11 from "./shared-events.module";
17
+ import * as i12 from "./shared/input-separator.component";
18
+ import * as i13 from "./shared/textarea.directive";
18
19
  /**
19
20
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20
21
  * definition for the TextBox directive.
@@ -48,6 +49,6 @@ import * as i12 from "./shared/textarea.directive";
48
49
  */
49
50
  export declare class TextBoxModule {
50
51
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective], [typeof i7.CommonModule, typeof i8.EventsModule, typeof i9.SharedModule, typeof i10.IconsModule], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i8.EventsModule, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective, typeof i11.InputSeparatorComponent, typeof i12.TextAreaDirective]>;
52
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective], [typeof i7.CommonModule, typeof i8.EventsModule, typeof i9.SharedModule, typeof i10.IconsModule, typeof i8.AdornmentsModule, typeof i11.SharedEventsModule], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.TextBoxSuffixTemplateDirective, typeof i4.TextBoxPrefixTemplateDirective, typeof i8.EventsModule, typeof i5.TextBoxCustomMessagesComponent, typeof i6.LocalizedTextBoxMessagesDirective, typeof i8.AdornmentsModule, typeof i12.InputSeparatorComponent, typeof i13.TextAreaDirective]>;
52
53
  static ɵinj: i0.ɵɵInjectorDeclaration<TextBoxModule>;
53
54
  }