@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.
- package/esm2020/colorpicker/color-input.component.mjs +1 -1
- package/esm2020/index.mjs +4 -0
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +144 -56
- package/esm2020/maskedtextbox.module.mjs +30 -6
- package/esm2020/numerictextbox/numerictextbox.component.mjs +186 -91
- package/esm2020/numerictextbox.module.mjs +10 -6
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/shared/input-separator.component.mjs +21 -3
- package/esm2020/shared/shared-events.directive.mjs +95 -0
- package/esm2020/shared-events.module.mjs +22 -0
- package/esm2020/textarea/models/adornments-orientation.mjs +5 -0
- package/esm2020/textarea/textarea-prefix.component.mjs +70 -0
- package/esm2020/textarea/textarea-suffix.component.mjs +33 -3
- package/esm2020/textarea/textarea.component.mjs +198 -131
- package/esm2020/textarea.module.mjs +14 -5
- package/esm2020/textbox/textbox-prefix.directive.mjs +17 -3
- package/esm2020/textbox/textbox-suffix.directive.mjs +17 -3
- package/esm2020/textbox/textbox.component.mjs +205 -203
- package/esm2020/textbox.module.mjs +9 -5
- package/fesm2015/progress-kendo-angular-inputs.mjs +1131 -609
- package/fesm2020/progress-kendo-angular-inputs.mjs +1131 -609
- package/index.d.ts +6 -0
- package/maskedtextbox/maskedtextbox.component.d.ts +37 -6
- package/maskedtextbox.module.d.ts +3 -1
- package/numerictextbox/numerictextbox.component.d.ts +38 -7
- package/numerictextbox.module.d.ts +3 -1
- package/package.json +10 -10
- package/shared/input-separator.component.d.ts +8 -1
- package/shared/shared-events.directive.d.ts +27 -0
- package/shared-events.module.d.ts +14 -0
- package/textarea/models/adornments-orientation.d.ts +12 -0
- package/textarea/textarea-prefix.component.d.ts +37 -0
- package/textarea/textarea-suffix.component.d.ts +12 -1
- package/textarea/textarea.component.d.ts +62 -6
- package/textarea.module.d.ts +9 -7
- package/textbox/textbox-prefix.directive.d.ts +9 -1
- package/textbox/textbox-suffix.directive.d.ts +9 -1
- package/textbox/textbox.component.d.ts +36 -9
- 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
|
-
|
|
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
|
-
|
|
233
|
+
textBoxSuffixTemplate: QueryList<TextBoxSuffixTemplateDirective>;
|
|
233
234
|
/**
|
|
234
235
|
* @hidden
|
|
235
236
|
*/
|
|
236
|
-
|
|
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
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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
|
}
|
package/textbox.module.d.ts
CHANGED
|
@@ -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
|
|
17
|
-
import * as i12 from "./shared/
|
|
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
|
|
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
|
}
|