@progress/kendo-angular-inputs 14.4.0-develop.17 → 14.4.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.
Files changed (39) hide show
  1. package/esm2020/colorpicker/color-input.component.mjs +1 -1
  2. package/esm2020/index.mjs +4 -0
  3. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +144 -56
  4. package/esm2020/maskedtextbox.module.mjs +30 -6
  5. package/esm2020/numerictextbox/numerictextbox.component.mjs +186 -91
  6. package/esm2020/numerictextbox.module.mjs +10 -6
  7. package/esm2020/package-metadata.mjs +2 -2
  8. package/esm2020/shared/input-separator.component.mjs +21 -3
  9. package/esm2020/shared/shared-events.directive.mjs +95 -0
  10. package/esm2020/shared-events.module.mjs +22 -0
  11. package/esm2020/textarea/models/adornments-orientation.mjs +5 -0
  12. package/esm2020/textarea/textarea-prefix.component.mjs +70 -0
  13. package/esm2020/textarea/textarea-suffix.component.mjs +33 -3
  14. package/esm2020/textarea/textarea.component.mjs +198 -131
  15. package/esm2020/textarea.module.mjs +14 -5
  16. package/esm2020/textbox/textbox-prefix.directive.mjs +17 -3
  17. package/esm2020/textbox/textbox-suffix.directive.mjs +17 -3
  18. package/esm2020/textbox/textbox.component.mjs +205 -203
  19. package/esm2020/textbox.module.mjs +9 -5
  20. package/fesm2015/progress-kendo-angular-inputs.mjs +1131 -609
  21. package/fesm2020/progress-kendo-angular-inputs.mjs +1131 -609
  22. package/index.d.ts +6 -0
  23. package/maskedtextbox/maskedtextbox.component.d.ts +37 -6
  24. package/maskedtextbox.module.d.ts +3 -1
  25. package/numerictextbox/numerictextbox.component.d.ts +38 -7
  26. package/numerictextbox.module.d.ts +3 -1
  27. package/package.json +10 -10
  28. package/shared/input-separator.component.d.ts +8 -1
  29. package/shared/shared-events.directive.d.ts +27 -0
  30. package/shared-events.module.d.ts +14 -0
  31. package/textarea/models/adornments-orientation.d.ts +12 -0
  32. package/textarea/textarea-prefix.component.d.ts +37 -0
  33. package/textarea/textarea-suffix.component.d.ts +12 -1
  34. package/textarea/textarea.component.d.ts +62 -6
  35. package/textarea.module.d.ts +9 -7
  36. package/textbox/textbox-prefix.directive.d.ts +9 -1
  37. package/textbox/textbox-suffix.directive.d.ts +9 -1
  38. package/textbox/textbox.component.d.ts +36 -9
  39. package/textbox.module.d.ts +4 -3
@@ -270,7 +270,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
270
270
  <label [for]="alpha.focusableId" class="k-colorgradient-input-label">A</label>
271
271
  </div>
272
272
  </ng-container>
273
- `, isInline: true, components: [{ type: i2.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i3.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
273
+ `, isInline: true, components: [{ type: i2.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i3.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
274
274
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ColorInputComponent, decorators: [{
275
275
  type: Component,
276
276
  args: [{
package/esm2020/index.mjs CHANGED
@@ -44,10 +44,14 @@ export { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directi
44
44
  export { TextBoxSuffixTemplateDirective } from './textbox/textbox-suffix.directive';
45
45
  //TextArea Component
46
46
  export { TextAreaComponent } from './textarea/textarea.component';
47
+ export { TextAreaPrefixComponent } from './textarea/textarea-prefix.component';
47
48
  export { TextAreaSuffixComponent } from './textarea/textarea-suffix.component';
48
49
  //Shared
49
50
  export { InputSeparatorComponent } from './shared/input-separator.component';
50
51
  export { SharedModule } from './shared.module';
52
+ export { PrefixTemplateDirective } from '@progress/kendo-angular-common';
53
+ export { SuffixTemplateDirective } from '@progress/kendo-angular-common';
54
+ export { SeparatorComponent } from '@progress/kendo-angular-common';
51
55
  export { LocalizedColorPickerMessagesDirective } from './colorpicker/localization/localized-colorpicker-messages.directive';
52
56
  export { LocalizedNumericTextBoxMessagesDirective } from './numerictextbox/localization/localized-numerictextbox-messages.directive';
53
57
  export { LocalizedTextBoxMessagesDirective } from './textbox/localization/localized-textbox-messages.directive';
@@ -2,9 +2,9 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, Optional, Output, Renderer2, ViewChild, forwardRef, NgZone, Injector, isDevMode, ChangeDetectorRef } from '@angular/core';
5
+ import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, Optional, Output, Renderer2, ViewChild, forwardRef, NgZone, Injector, isDevMode, ChangeDetectorRef, ContentChild } from '@angular/core';
6
6
  import { NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
7
- import { guid, hasObservers, isChanged, KendoInput } from '@progress/kendo-angular-common';
7
+ import { guid, hasObservers, isChanged, KendoInput, PrefixTemplateDirective, SuffixTemplateDirective } from '@progress/kendo-angular-common';
8
8
  import { RTL } from '@progress/kendo-angular-l10n';
9
9
  import { validatePackage } from '@progress/kendo-licensing';
10
10
  import { packageMetadata } from '../package-metadata';
@@ -13,7 +13,10 @@ import { invokeElementMethod } from '../common/dom-utils';
13
13
  import { requiresZoneOnBlur, isPresent, getStylingClasses } from '../common/utils';
14
14
  import * as i0 from "@angular/core";
15
15
  import * as i1 from "./masking.service";
16
- import * as i2 from "@progress/kendo-angular-common";
16
+ import * as i2 from "../shared/input-separator.component";
17
+ import * as i3 from "../shared/shared-events.directive";
18
+ import * as i4 from "@angular/common";
19
+ import * as i5 from "@progress/kendo-angular-common";
17
20
  const resolvedPromise = Promise.resolve(null);
18
21
  const FOCUSED = 'k-focus';
19
22
  const DEFAULT_SIZE = 'medium';
@@ -91,7 +94,7 @@ export class MaskedTextBoxComponent {
91
94
  */
92
95
  this.tabindex = 0;
93
96
  /**
94
- * Fires each time the user focuses the `input` element.
97
+ * Fires each time the user focuses the MaskedTextBox component.
95
98
  *
96
99
  * > To wire the event programmatically, use the `onFocus` property.
97
100
  *
@@ -112,7 +115,7 @@ export class MaskedTextBoxComponent {
112
115
  */
113
116
  this.onFocus = new EventEmitter();
114
117
  /**
115
- * Fires each time the `input` element gets blurred.
118
+ * Fires each time the MaskedTextBox component gets blurred.
116
119
  *
117
120
  * > To wire the event programmatically, use the `onBlur` property.
118
121
  *
@@ -132,6 +135,14 @@ export class MaskedTextBoxComponent {
132
135
  * ```
133
136
  */
134
137
  this.onBlur = new EventEmitter();
138
+ /**
139
+ * Fires each time the user focuses the `input` element.
140
+ */
141
+ this.inputFocus = new EventEmitter();
142
+ /**
143
+ * Fires each time the `input` element gets blurred.
144
+ */
145
+ this.inputBlur = new EventEmitter();
135
146
  /**
136
147
  * Fires each time the value changes.
137
148
  */
@@ -158,16 +169,27 @@ export class MaskedTextBoxComponent {
158
169
  * @hidden
159
170
  */
160
171
  this.handleFocus = () => {
161
- this.focused = true;
172
+ this.ngZone.run(() => {
173
+ if (!this.focused && hasObservers(this.onFocus)) {
174
+ this.onFocus.emit();
175
+ }
176
+ this.focused = true;
177
+ });
162
178
  if (this.maskOnFocus && this.emptyMask) {
163
179
  this.updateInput(this.service.maskRaw(this.value));
164
180
  this.ngZone.runOutsideAngular(() => {
165
181
  setTimeout(() => { this.setSelection(0, 0); }, 0);
166
182
  });
167
183
  }
168
- if (hasObservers(this.onFocus)) {
184
+ };
185
+ /**
186
+ * @hidden
187
+ */
188
+ this.handleInputFocus = () => {
189
+ this.handleFocus();
190
+ if (hasObservers(this.inputFocus)) {
169
191
  this.ngZone.run(() => {
170
- this.onFocus.emit();
192
+ this.inputFocus.emit();
171
193
  });
172
194
  }
173
195
  };
@@ -193,13 +215,25 @@ export class MaskedTextBoxComponent {
193
215
  if (this.maskOnFocus && this.emptyMask) {
194
216
  this.updateInput(this.maskedValue);
195
217
  }
196
- if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.control)) {
218
+ if (hasObservers(this.onBlur)) {
197
219
  this.ngZone.run(() => {
198
220
  this.onTouched();
199
221
  this.onBlur.emit();
200
222
  });
201
223
  }
202
224
  };
225
+ /**
226
+ * @hidden
227
+ */
228
+ this.handleInputBlur = () => {
229
+ this.changeDetector.markForCheck();
230
+ if (hasObservers(this.inputBlur) || requiresZoneOnBlur(this.control)) {
231
+ this.ngZone.run(() => {
232
+ this.onTouched();
233
+ this.inputBlur.emit();
234
+ });
235
+ }
236
+ };
203
237
  this.onChange = (_) => { };
204
238
  this.onTouched = () => { };
205
239
  validatePackage(packageMetadata);
@@ -325,6 +359,7 @@ export class MaskedTextBoxComponent {
325
359
  return;
326
360
  }
327
361
  this.input.nativeElement.focus();
362
+ this.focused = true;
328
363
  this.setFocusSelection();
329
364
  }
330
365
  /**
@@ -335,6 +370,7 @@ export class MaskedTextBoxComponent {
335
370
  return;
336
371
  }
337
372
  this.input.nativeElement.blur();
373
+ this.focused = false;
338
374
  }
339
375
  /**
340
376
  * @hidden
@@ -516,9 +552,15 @@ export class MaskedTextBoxComponent {
516
552
  this.setSelection();
517
553
  }
518
554
  }
555
+ /**
556
+ * @hidden
557
+ */
519
558
  get focused() {
520
559
  return this.isFocused;
521
560
  }
561
+ /**
562
+ * @hidden
563
+ */
522
564
  set focused(value) {
523
565
  if (this.isFocused !== value && this.hostElement) {
524
566
  const element = this.hostElement.nativeElement;
@@ -553,7 +595,7 @@ export class MaskedTextBoxComponent {
553
595
  }
554
596
  }
555
597
  MaskedTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxComponent, deps: [{ token: i1.MaskingService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
556
- MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MaskedTextBoxComponent, selector: "kendo-maskedtextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", size: "size", rounded: "rounded", fillMode: "fillMode", mask: "mask", value: "value", rules: "rules", prompt: "prompt", promptPlaceholder: "promptPlaceholder", includeLiterals: "includeLiterals", maskOnFocus: "maskOnFocus", maskValidation: "maskValidation", tabindex: "tabindex", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { listeners: { "paste": "pasteHandler($event)", "input": "inputHandler($event)" }, properties: { "attr.dir": "this.direction", "class.k-input": "this.hostClasses", "class.k-maskedtextbox": "this.hostClasses", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
598
+ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MaskedTextBoxComponent, selector: "kendo-maskedtextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", size: "size", rounded: "rounded", fillMode: "fillMode", mask: "mask", value: "value", rules: "rules", prompt: "prompt", promptPlaceholder: "promptPlaceholder", includeLiterals: "includeLiterals", maskOnFocus: "maskOnFocus", maskValidation: "maskValidation", tabindex: "tabindex", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", valueChange: "valueChange" }, host: { listeners: { "paste": "pasteHandler($event)", "input": "inputHandler($event)" }, properties: { "attr.dir": "this.direction", "class.k-input": "this.hostClasses", "class.k-maskedtextbox": "this.hostClasses", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
557
599
  MaskingService,
558
600
  {
559
601
  multi: true,
@@ -569,30 +611,48 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
569
611
  provide: KendoInput,
570
612
  useExisting: forwardRef(() => MaskedTextBoxComponent)
571
613
  }
572
- ], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], exportAs: ["kendoMaskedTextBox"], usesOnChanges: true, ngImport: i0, template: `
573
- <input type="text"
574
- #input
575
- autocomplete="off"
576
- autocorrect="off"
577
- autocapitalize="off"
578
- spellcheck="false"
579
- class="k-input-inner"
580
- [id]="focusableId"
581
- [tabindex]="tabIndex"
582
- [attr.title]="title"
583
- [attr.aria-placeholder]="mask"
584
- [attr.aria-invalid]="isControlInvalid"
585
- [disabled]="disabled"
586
- [readonly]="readonly"
587
- [kendoEventsOutsideAngular]="{
588
- focus: handleFocus,
589
- blur: handleBlur,
590
- click: handleClick,
591
- dragstart: handleDragDrop,
592
- drop: handleDragDrop
593
- }"
594
- />
595
- `, isInline: true, directives: [{ type: i2.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
614
+ ], queries: [{ propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], exportAs: ["kendoMaskedTextBox"], usesOnChanges: true, ngImport: i0, template: `
615
+ <ng-container
616
+ kendoInputSharedEvents
617
+ [hostElement]="hostElement"
618
+ [(isFocused)]="focused"
619
+ (handleBlur)="handleBlur()"
620
+ (onFocus)="handleFocus()"
621
+ >
622
+ <span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
623
+ <ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
624
+ </ng-template>
625
+ </span>
626
+ <kendo-input-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-input-separator>
627
+ <input type="text"
628
+ #input
629
+ autocomplete="off"
630
+ autocorrect="off"
631
+ autocapitalize="off"
632
+ spellcheck="false"
633
+ class="k-input-inner"
634
+ [id]="focusableId"
635
+ [tabindex]="tabIndex"
636
+ [attr.title]="title"
637
+ [attr.aria-placeholder]="mask"
638
+ [attr.aria-invalid]="isControlInvalid"
639
+ [disabled]="disabled"
640
+ [readonly]="readonly"
641
+ [kendoEventsOutsideAngular]="{
642
+ focus: handleInputFocus,
643
+ blur: handleInputBlur,
644
+ click: handleClick,
645
+ dragstart: handleDragDrop,
646
+ drop: handleDragDrop
647
+ }"
648
+ />
649
+ <kendo-input-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-input-separator>
650
+ <span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
651
+ <ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
652
+ </ng-template>
653
+ </span>
654
+ </ng-container>
655
+ `, isInline: true, components: [{ type: i2.InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }], directives: [{ type: i3.SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
596
656
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxComponent, decorators: [{
597
657
  type: Component,
598
658
  args: [{
@@ -616,28 +676,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
616
676
  ],
617
677
  selector: 'kendo-maskedtextbox',
618
678
  template: `
619
- <input type="text"
620
- #input
621
- autocomplete="off"
622
- autocorrect="off"
623
- autocapitalize="off"
624
- spellcheck="false"
625
- class="k-input-inner"
626
- [id]="focusableId"
627
- [tabindex]="tabIndex"
628
- [attr.title]="title"
629
- [attr.aria-placeholder]="mask"
630
- [attr.aria-invalid]="isControlInvalid"
631
- [disabled]="disabled"
632
- [readonly]="readonly"
633
- [kendoEventsOutsideAngular]="{
634
- focus: handleFocus,
635
- blur: handleBlur,
636
- click: handleClick,
637
- dragstart: handleDragDrop,
638
- drop: handleDragDrop
639
- }"
640
- />
679
+ <ng-container
680
+ kendoInputSharedEvents
681
+ [hostElement]="hostElement"
682
+ [(isFocused)]="focused"
683
+ (handleBlur)="handleBlur()"
684
+ (onFocus)="handleFocus()"
685
+ >
686
+ <span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
687
+ <ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
688
+ </ng-template>
689
+ </span>
690
+ <kendo-input-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-input-separator>
691
+ <input type="text"
692
+ #input
693
+ autocomplete="off"
694
+ autocorrect="off"
695
+ autocapitalize="off"
696
+ spellcheck="false"
697
+ class="k-input-inner"
698
+ [id]="focusableId"
699
+ [tabindex]="tabIndex"
700
+ [attr.title]="title"
701
+ [attr.aria-placeholder]="mask"
702
+ [attr.aria-invalid]="isControlInvalid"
703
+ [disabled]="disabled"
704
+ [readonly]="readonly"
705
+ [kendoEventsOutsideAngular]="{
706
+ focus: handleInputFocus,
707
+ blur: handleInputBlur,
708
+ click: handleClick,
709
+ dragstart: handleDragDrop,
710
+ drop: handleDragDrop
711
+ }"
712
+ />
713
+ <kendo-input-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-input-separator>
714
+ <span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
715
+ <ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
716
+ </ng-template>
717
+ </span>
718
+ </ng-container>
641
719
  `
642
720
  }]
643
721
  }], ctorParameters: function () { return [{ type: i1.MaskingService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
@@ -685,6 +763,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
685
763
  }], onBlur: [{
686
764
  type: Output,
687
765
  args: ['blur']
766
+ }], inputFocus: [{
767
+ type: Output
768
+ }], inputBlur: [{
769
+ type: Output
688
770
  }], valueChange: [{
689
771
  type: Output
690
772
  }], direction: [{
@@ -702,6 +784,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
702
784
  }], input: [{
703
785
  type: ViewChild,
704
786
  args: ['input', { static: true }]
787
+ }], suffixTemplate: [{
788
+ type: ContentChild,
789
+ args: [SuffixTemplateDirective]
790
+ }], prefixTemplate: [{
791
+ type: ContentChild,
792
+ args: [PrefixTemplateDirective]
705
793
  }], pasteHandler: [{
706
794
  type: HostListener,
707
795
  args: ['paste', ['$event']]
@@ -5,7 +5,9 @@
5
5
  import { NgModule } from '@angular/core';
6
6
  import { MaskedTextBoxComponent } from './maskedtextbox/maskedtextbox.component';
7
7
  import { CommonModule } from '@angular/common';
8
- import { EventsModule } from '@progress/kendo-angular-common';
8
+ import { AdornmentsModule, EventsModule } from '@progress/kendo-angular-common';
9
+ import { SharedModule } from './shared.module';
10
+ import { SharedEventsModule } from './shared-events.module';
9
11
  import * as i0 from "@angular/core";
10
12
  /**
11
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
@@ -41,13 +43,35 @@ import * as i0 from "@angular/core";
41
43
  export class MaskedTextBoxModule {
42
44
  }
43
45
  MaskedTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44
- MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, declarations: [MaskedTextBoxComponent], imports: [CommonModule, EventsModule], exports: [MaskedTextBoxComponent] });
45
- MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, imports: [[CommonModule, EventsModule]] });
46
+ MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, declarations: [MaskedTextBoxComponent], imports: [CommonModule,
47
+ EventsModule,
48
+ SharedModule,
49
+ AdornmentsModule,
50
+ SharedEventsModule], exports: [MaskedTextBoxComponent,
51
+ AdornmentsModule] });
52
+ MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, imports: [[
53
+ CommonModule,
54
+ EventsModule,
55
+ SharedModule,
56
+ AdornmentsModule,
57
+ SharedEventsModule
58
+ ], AdornmentsModule] });
46
59
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MaskedTextBoxModule, decorators: [{
47
60
  type: NgModule,
48
61
  args: [{
49
- declarations: [MaskedTextBoxComponent],
50
- exports: [MaskedTextBoxComponent],
51
- imports: [CommonModule, EventsModule]
62
+ declarations: [
63
+ MaskedTextBoxComponent
64
+ ],
65
+ exports: [
66
+ MaskedTextBoxComponent,
67
+ AdornmentsModule
68
+ ],
69
+ imports: [
70
+ CommonModule,
71
+ EventsModule,
72
+ SharedModule,
73
+ AdornmentsModule,
74
+ SharedEventsModule
75
+ ],
52
76
  }]
53
77
  }] });