@progress/kendo-angular-inputs 20.1.2-develop.2 → 21.0.0-develop.10
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/common/utils.d.ts +1 -1
- package/esm2022/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/checkbox/checkbox.directive.mjs +4 -4
- package/esm2022/checkbox.module.mjs +4 -4
- package/esm2022/colorpicker/adaptiveness/adaptive-close-button.component.mjs +3 -3
- package/esm2022/colorpicker/adaptiveness/adaptive-renderer.component.mjs +4 -4
- package/esm2022/colorpicker/color-contrast-svg.component.mjs +3 -3
- package/esm2022/colorpicker/color-gradient-numeric-label.directive.mjs +4 -4
- package/esm2022/colorpicker/color-gradient-text-label.directive.mjs +4 -4
- package/esm2022/colorpicker/color-gradient.component.mjs +4 -4
- package/esm2022/colorpicker/color-input.component.mjs +4 -4
- package/esm2022/colorpicker/color-palette.component.mjs +4 -4
- package/esm2022/colorpicker/colorpicker.component.mjs +7 -5
- package/esm2022/colorpicker/contrast-validation.component.mjs +4 -4
- package/esm2022/colorpicker/contrast.component.mjs +4 -4
- package/esm2022/colorpicker/flatcolorpicker-actions.component.mjs +4 -4
- package/esm2022/colorpicker/flatcolorpicker-header.component.mjs +4 -4
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +32 -13
- package/esm2022/colorpicker/localization/colorgradient-localization.service.mjs +5 -5
- package/esm2022/colorpicker/localization/colorpalette-localization.service.mjs +5 -5
- package/esm2022/colorpicker/localization/colorpicker-localization.service.mjs +5 -5
- package/esm2022/colorpicker/localization/custom-messages.component.mjs +4 -4
- package/esm2022/colorpicker/localization/flatcolorpicker-localization.service.mjs +5 -5
- package/esm2022/colorpicker/localization/localized-colorpicker-messages.directive.mjs +4 -4
- package/esm2022/colorpicker/localization/messages.mjs +3 -3
- package/esm2022/colorpicker/services/color-palette.service.mjs +3 -3
- package/esm2022/colorpicker/services/flatcolorpicker.service.mjs +3 -3
- package/esm2022/colorpicker.module.mjs +4 -4
- package/esm2022/common/formservice.service.mjs +3 -3
- package/esm2022/common/radio-checkbox.base.mjs +5 -5
- package/esm2022/form/form.component.mjs +4 -4
- package/esm2022/form/formseparator.component.mjs +4 -4
- package/esm2022/form.module.mjs +4 -4
- package/esm2022/formfield/error.component.mjs +3 -3
- package/esm2022/formfield/formfield.component.mjs +4 -4
- package/esm2022/formfield/hint.component.mjs +3 -3
- package/esm2022/formfield.module.mjs +4 -4
- package/esm2022/formfieldset/formfieldset.component.mjs +4 -4
- package/esm2022/inputs.module.mjs +4 -4
- package/esm2022/maskedtextbox/maskedtextbox.component.mjs +7 -7
- package/esm2022/maskedtextbox/masking.service.mjs +3 -3
- package/esm2022/maskedtextbox.module.mjs +4 -4
- package/esm2022/numerictextbox/localization/custom-messages.component.mjs +4 -4
- package/esm2022/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +4 -4
- package/esm2022/numerictextbox/localization/messages.mjs +3 -3
- package/esm2022/numerictextbox/numerictextbox.component.mjs +4 -4
- package/esm2022/numerictextbox.module.mjs +4 -4
- package/esm2022/otp.module.mjs +4 -4
- package/esm2022/otpinput/localization/custom-messages.component.mjs +4 -4
- package/esm2022/otpinput/localization/localized-textbox-messages.directive.mjs +4 -4
- package/esm2022/otpinput/localization/messages.mjs +3 -3
- package/esm2022/otpinput/otpinput-separator.component.mjs +3 -3
- package/esm2022/otpinput/otpinput.component.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/radiobutton/radiobutton.component.mjs +4 -4
- package/esm2022/radiobutton/radiobutton.directive.mjs +4 -4
- package/esm2022/radiobutton.module.mjs +4 -4
- package/esm2022/rangeslider/localization/custom-messages.component.mjs +4 -4
- package/esm2022/rangeslider/localization/localized-rangeslider-messages.directive.mjs +4 -4
- package/esm2022/rangeslider/localization/messages.mjs +3 -3
- package/esm2022/rangeslider/rangeslider.component.mjs +4 -4
- package/esm2022/rangeslider.module.mjs +4 -4
- package/esm2022/rating/directives/rating-hovered-item.directive.mjs +4 -4
- package/esm2022/rating/directives/rating-item.directive.mjs +4 -4
- package/esm2022/rating/directives/rating-selected-item.directive.mjs +4 -4
- package/esm2022/rating/rating.component.mjs +4 -4
- package/esm2022/rating.module.mjs +4 -4
- package/esm2022/shared/input-separator.component.mjs +3 -3
- package/esm2022/shared/input-spacer.component.mjs +3 -3
- package/esm2022/shared/shared-events.directive.mjs +4 -4
- package/esm2022/signature/localization/custom-messages.component.mjs +4 -4
- package/esm2022/signature/localization/localized-signature-messages.directive.mjs +4 -4
- package/esm2022/signature/localization/messages.mjs +3 -3
- package/esm2022/signature/signature.component.mjs +4 -4
- package/esm2022/signature.module.mjs +4 -4
- package/esm2022/slider/localization/custom-messages.component.mjs +4 -4
- package/esm2022/slider/localization/localized-slider-messages.directive.mjs +4 -4
- package/esm2022/slider/localization/messages.mjs +3 -3
- package/esm2022/slider/slider.component.mjs +4 -4
- package/esm2022/slider.module.mjs +4 -4
- package/esm2022/sliders-common/label-template.directive.mjs +5 -5
- package/esm2022/sliders-common/slider-base.mjs +4 -4
- package/esm2022/sliders-common/slider-ticks.component.mjs +3 -3
- package/esm2022/switch/localization/custom-messages.component.mjs +4 -4
- package/esm2022/switch/localization/localized-switch-messages.directive.mjs +4 -4
- package/esm2022/switch/localization/messages.mjs +3 -3
- package/esm2022/switch/switch.component.mjs +4 -4
- package/esm2022/switch.module.mjs +4 -4
- package/esm2022/text-fields-common/text-fields-base.mjs +4 -4
- package/esm2022/textarea/textarea-prefix.component.mjs +3 -3
- package/esm2022/textarea/textarea-suffix.component.mjs +3 -3
- package/esm2022/textarea/textarea.component.mjs +18 -4
- package/esm2022/textarea/textarea.directive.mjs +19 -5
- package/esm2022/textarea.module.mjs +4 -4
- package/esm2022/textbox/localization/custom-messages.component.mjs +4 -4
- package/esm2022/textbox/localization/localized-textbox-messages.directive.mjs +4 -4
- package/esm2022/textbox/localization/messages.mjs +3 -3
- package/esm2022/textbox/textbox-prefix.directive.mjs +5 -5
- package/esm2022/textbox/textbox-suffix.directive.mjs +5 -5
- package/esm2022/textbox/textbox.component.mjs +4 -4
- package/esm2022/textbox/textbox.directive.mjs +4 -4
- package/esm2022/textbox.module.mjs +4 -4
- package/fesm2022/progress-kendo-angular-inputs.mjs +451 -402
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +1 -1
- package/sliders-common/slider-base.d.ts +1 -1
- package/textarea/textarea.component.d.ts +2 -0
- package/textarea/textarea.directive.d.ts +2 -0
|
@@ -17,10 +17,10 @@ export class Messages extends ComponentMessages {
|
|
|
17
17
|
* The title of the **Off** button of the Switch.
|
|
18
18
|
*/
|
|
19
19
|
off;
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, selector: "kendo-switch-messages-base", inputs: { on: "on", off: "off" }, usesInheritance: true, ngImport: i0 });
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -434,8 +434,8 @@ export class SwitchComponent {
|
|
|
434
434
|
this.renderer.addClass(thumb, classes.toAdd);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
438
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
437
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SwitchComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
438
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SwitchComponent, isStandalone: true, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "attr.role": "this.hostRole", "attr.id": "this.hostId", "attr.aria-checked": "this.ariaChecked", "attr.aria-invalid": "this.ariaInvalid", "attr.tabindex": "this.hostTabIndex", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
439
439
|
LocalizationService,
|
|
440
440
|
{ provide: L10N_PREFIX, useValue: 'kendo.switch' },
|
|
441
441
|
{
|
|
@@ -470,7 +470,7 @@ export class SwitchComponent {
|
|
|
470
470
|
</span>
|
|
471
471
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]" }] });
|
|
472
472
|
}
|
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
474
474
|
type: Component,
|
|
475
475
|
args: [{
|
|
476
476
|
exportAs: 'kendoSwitch',
|
|
@@ -513,7 +513,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
513
513
|
standalone: true,
|
|
514
514
|
imports: [LocalizedSwitchMessagesDirective]
|
|
515
515
|
}]
|
|
516
|
-
}], ctorParameters:
|
|
516
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { focusableId: [{
|
|
517
517
|
type: Input
|
|
518
518
|
}], onLabel: [{
|
|
519
519
|
type: Input
|
|
@@ -30,11 +30,11 @@ import * as i2 from "./switch/localization/custom-messages.component";
|
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
export class SwitchModule {
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
35
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
34
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SwitchModule, imports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent], exports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent] });
|
|
35
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SwitchModule, providers: [ResizeBatchService] });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SwitchModule, decorators: [{
|
|
38
38
|
type: NgModule,
|
|
39
39
|
args: [{
|
|
40
40
|
imports: [...KENDO_SWITCH],
|
|
@@ -110,16 +110,16 @@ export class TextFieldsBase {
|
|
|
110
110
|
}
|
|
111
111
|
ngChange = (_) => { };
|
|
112
112
|
ngTouched = () => { };
|
|
113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextFieldsBase, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextFieldsBase, selector: "kendo-textfield-base", inputs: { title: "title", disabled: "disabled", readonly: "readonly", value: "value", selectOnFocus: "selectOnFocus", placeholder: "placeholder" }, outputs: { inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass", "attr.dir": "this.direction" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], ngImport: i0, template: ``, isInline: true });
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextFieldsBase, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{
|
|
119
119
|
selector: 'kendo-textfield-base',
|
|
120
120
|
template: ``
|
|
121
121
|
}]
|
|
122
|
-
}], ctorParameters:
|
|
122
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { title: [{
|
|
123
123
|
type: Input
|
|
124
124
|
}], disabled: [{
|
|
125
125
|
type: Input
|
|
@@ -37,10 +37,10 @@ export class TextAreaPrefixComponent {
|
|
|
37
37
|
get alignItems() {
|
|
38
38
|
return this.flow === this.orientation;
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextAreaPrefixComponent, isStandalone: true, selector: "kendo-textarea-prefix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-prefix": "this.hostClass", "class.k-input-prefix-vertical": "this.verticalOrientation", "class.k-input-prefix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaPrefix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{
|
|
46
46
|
exportAs: 'kendoTextAreaPrefix',
|
|
@@ -37,10 +37,10 @@ export class TextAreaSuffixComponent {
|
|
|
37
37
|
get alignItems() {
|
|
38
38
|
return this.flow === this.orientation;
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextAreaSuffixComponent, isStandalone: true, selector: "kendo-textarea-suffix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-suffix": "this.hostClass", "class.k-input-suffix-vertical": "this.verticalOrientation", "class.k-input-suffix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaSuffixComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{
|
|
46
46
|
exportAs: 'kendoTextAreaSuffix',
|
|
@@ -218,6 +218,7 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
218
218
|
initialHeight;
|
|
219
219
|
maxResizableHeight;
|
|
220
220
|
resizeSubscription;
|
|
221
|
+
resizeObserver;
|
|
221
222
|
_size = 'medium';
|
|
222
223
|
_rounded = 'medium';
|
|
223
224
|
_fillMode = 'solid';
|
|
@@ -286,6 +287,7 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
286
287
|
this.resizeSubscription = fromEvent(window, 'resize')
|
|
287
288
|
.pipe((debounceTime(50)))
|
|
288
289
|
.subscribe(() => this.resize());
|
|
290
|
+
this.attachResizeObserver();
|
|
289
291
|
}
|
|
290
292
|
if (this.hostElement) {
|
|
291
293
|
this.renderer.removeAttribute(this.hostElement.nativeElement, "tabindex");
|
|
@@ -359,6 +361,9 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
359
361
|
if (this.resizeSubscription) {
|
|
360
362
|
this.resizeSubscription.unsubscribe();
|
|
361
363
|
}
|
|
364
|
+
if (this.resizeObserver) {
|
|
365
|
+
this.resizeObserver.disconnect();
|
|
366
|
+
}
|
|
362
367
|
}
|
|
363
368
|
/**
|
|
364
369
|
* @hidden
|
|
@@ -459,6 +464,15 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
459
464
|
this.isFocused = false;
|
|
460
465
|
this.focusChangedProgrammatically = false;
|
|
461
466
|
}
|
|
467
|
+
attachResizeObserver() {
|
|
468
|
+
if (typeof ResizeObserver === 'undefined' || !this.hostElement?.nativeElement) {
|
|
469
|
+
return;
|
|
470
|
+
}
|
|
471
|
+
this.ngZone.runOutsideAngular(() => {
|
|
472
|
+
this.resizeObserver = new ResizeObserver(() => this.resize());
|
|
473
|
+
this.resizeObserver.observe(this.hostElement.nativeElement);
|
|
474
|
+
});
|
|
475
|
+
}
|
|
462
476
|
resize() {
|
|
463
477
|
if (this.resizable !== 'auto') {
|
|
464
478
|
return;
|
|
@@ -544,8 +558,8 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
544
558
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
545
559
|
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
|
|
546
560
|
}
|
|
547
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
548
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
562
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextAreaComponent, isStandalone: true, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", inputAttributes: "inputAttributes", adornmentsOrientation: "adornmentsOrientation", rows: "rows", cols: "cols", maxlength: "maxlength", maxResizableRows: "maxResizableRows", tabindex: "tabindex", tabIndex: "tabIndex", resizable: "resizable", size: "size", rounded: "rounded", fillMode: "fillMode", showPrefixSeparator: "showPrefixSeparator", showSuffixSeparator: "showSuffixSeparator" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.hostClasses", "class.k-input": "this.hostClasses", "class.!k-flex-col": "this.flowCol", "class.!k-flex-row": "this.flowRow" } }, providers: [
|
|
549
563
|
LocalizationService,
|
|
550
564
|
{ provide: L10N_PREFIX, useValue: 'kendo.textarea' },
|
|
551
565
|
{
|
|
@@ -599,7 +613,7 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
599
613
|
</ng-container>
|
|
600
614
|
`, isInline: true, dependencies: [{ kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
601
615
|
}
|
|
602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
603
617
|
type: Component,
|
|
604
618
|
args: [{
|
|
605
619
|
exportAs: 'kendoTextArea',
|
|
@@ -661,7 +675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
661
675
|
standalone: true,
|
|
662
676
|
imports: [SharedInputEventsDirective, NgIf, InputSeparatorComponent, NgClass, EventsOutsideAngularDirective]
|
|
663
677
|
}]
|
|
664
|
-
}], ctorParameters:
|
|
678
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { focusableId: [{
|
|
665
679
|
type: Input
|
|
666
680
|
}], hostClasses: [{
|
|
667
681
|
type: HostBinding,
|
|
@@ -73,6 +73,7 @@ export class TextAreaDirective {
|
|
|
73
73
|
initialHeight;
|
|
74
74
|
control;
|
|
75
75
|
resizeSubscription;
|
|
76
|
+
resizeObserver;
|
|
76
77
|
constructor(renderer, element, zone, changeDetector, injector, rtl) {
|
|
77
78
|
this.renderer = renderer;
|
|
78
79
|
this.element = element;
|
|
@@ -125,6 +126,7 @@ export class TextAreaDirective {
|
|
|
125
126
|
this.resizeSubscription = fromEvent(window, 'resize')
|
|
126
127
|
.pipe((debounceTime(50)))
|
|
127
128
|
.subscribe(() => this.resize());
|
|
129
|
+
this.attachResizeObserver();
|
|
128
130
|
}
|
|
129
131
|
this.inputSubscription = fromEvent(element, 'input')
|
|
130
132
|
.subscribe(this.handleInput.bind(this));
|
|
@@ -157,6 +159,9 @@ export class TextAreaDirective {
|
|
|
157
159
|
if (this.resizeSubscription) {
|
|
158
160
|
this.resizeSubscription.unsubscribe();
|
|
159
161
|
}
|
|
162
|
+
if (this.resizeObserver) {
|
|
163
|
+
this.resizeObserver.disconnect();
|
|
164
|
+
}
|
|
160
165
|
}
|
|
161
166
|
ngChange = (_) => { };
|
|
162
167
|
ngTouched = () => { };
|
|
@@ -174,6 +179,15 @@ export class TextAreaDirective {
|
|
|
174
179
|
this.renderer.setProperty(this.element.nativeElement, name, value);
|
|
175
180
|
}
|
|
176
181
|
}
|
|
182
|
+
attachResizeObserver() {
|
|
183
|
+
if (typeof ResizeObserver === 'undefined' || !this.element?.nativeElement) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
this.zone.runOutsideAngular(() => {
|
|
187
|
+
this.resizeObserver = new ResizeObserver(() => this.resize());
|
|
188
|
+
this.resizeObserver.observe(this.element.nativeElement);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
177
191
|
resize() {
|
|
178
192
|
if (!this.autoSize) {
|
|
179
193
|
return;
|
|
@@ -215,8 +229,8 @@ export class TextAreaDirective {
|
|
|
215
229
|
});
|
|
216
230
|
}
|
|
217
231
|
}
|
|
218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
219
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
233
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TextAreaDirective, isStandalone: true, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-input-md": "this.elementClasses", "class.k-rounded-md": "this.elementClasses", "class.k-input-solid": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
|
|
220
234
|
provide: NG_VALUE_ACCESSOR,
|
|
221
235
|
useExisting: forwardRef(() => TextAreaDirective),
|
|
222
236
|
multi: true
|
|
@@ -225,7 +239,7 @@ export class TextAreaDirective {
|
|
|
225
239
|
useExisting: forwardRef(() => TextAreaDirective)
|
|
226
240
|
}], usesOnChanges: true, ngImport: i0 });
|
|
227
241
|
}
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaDirective, decorators: [{
|
|
229
243
|
type: Directive,
|
|
230
244
|
args: [{
|
|
231
245
|
providers: [{
|
|
@@ -239,12 +253,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
239
253
|
selector: 'textarea[kendoTextArea]',
|
|
240
254
|
standalone: true
|
|
241
255
|
}]
|
|
242
|
-
}], ctorParameters:
|
|
256
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
243
257
|
type: Optional
|
|
244
258
|
}, {
|
|
245
259
|
type: Inject,
|
|
246
260
|
args: [RTL]
|
|
247
|
-
}] }]
|
|
261
|
+
}] }], propDecorators: { elementClasses: [{
|
|
248
262
|
type: HostBinding,
|
|
249
263
|
args: ['class.k-textarea']
|
|
250
264
|
}, {
|
|
@@ -33,11 +33,11 @@ import * as i5 from "@progress/kendo-angular-common";
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
export class TextAreaModule {
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
38
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, i5.PrefixTemplateDirective, i5.SuffixTemplateDirective, i5.SeparatorComponent], exports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, i5.PrefixTemplateDirective, i5.SuffixTemplateDirective, i5.SeparatorComponent] });
|
|
38
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaModule, imports: [i5.SeparatorComponent, i5.SeparatorComponent] });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
imports: [...KENDO_TEXTAREA, ...KENDO_ADORNMENTS],
|
|
@@ -19,15 +19,15 @@ export class TextBoxCustomMessagesComponent extends TextBoxMessages {
|
|
|
19
19
|
get override() {
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-textbox-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: TextBoxMessages,
|
|
26
26
|
useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxCustomMessagesComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{
|
|
33
33
|
providers: [
|
|
@@ -40,4 +40,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
40
40
|
template: ``,
|
|
41
41
|
standalone: true
|
|
42
42
|
}]
|
|
43
|
-
}], ctorParameters:
|
|
43
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -16,15 +16,15 @@ export class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
|
|
|
16
16
|
super();
|
|
17
17
|
this.service = service;
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedTextBoxMessagesDirective, isStandalone: true, selector: "[kendoTextBoxLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: TextBoxMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedTextBoxMessagesDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
providers: [
|
|
@@ -36,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
36
36
|
selector: '[kendoTextBoxLocalizedMessages]',
|
|
37
37
|
standalone: true
|
|
38
38
|
}]
|
|
39
|
-
}], ctorParameters:
|
|
39
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -13,10 +13,10 @@ export class TextBoxMessages extends ComponentMessages {
|
|
|
13
13
|
* The title of the **Clear** button of the TextBox.
|
|
14
14
|
*/
|
|
15
15
|
clear;
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxMessages, selector: "kendo-textbox-messages-base", inputs: { clear: "clear" }, usesInheritance: true, ngImport: i0 });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxMessages, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -34,17 +34,17 @@ export class TextBoxPrefixTemplateDirective {
|
|
|
34
34
|
constructor(templateRef) {
|
|
35
35
|
this.templateRef = templateRef;
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxPrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxPrefixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[kendoTextBoxPrefixTemplate]',
|
|
44
44
|
standalone: true
|
|
45
45
|
}]
|
|
46
|
-
}], ctorParameters:
|
|
46
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
47
47
|
type: Optional
|
|
48
|
-
}] }]
|
|
48
|
+
}] }], propDecorators: { showSeparator: [{
|
|
49
49
|
type: Input
|
|
50
50
|
}] } });
|
|
@@ -33,17 +33,17 @@ export class TextBoxSuffixTemplateDirective {
|
|
|
33
33
|
constructor(templateRef) {
|
|
34
34
|
this.templateRef = templateRef;
|
|
35
35
|
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxSuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxSuffixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[kendoTextBoxSuffixTemplate]',
|
|
43
43
|
standalone: true
|
|
44
44
|
}]
|
|
45
|
-
}], ctorParameters:
|
|
45
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
46
46
|
type: Optional
|
|
47
|
-
}] }]
|
|
47
|
+
}] }], propDecorators: { showSeparator: [{
|
|
48
48
|
type: Input
|
|
49
49
|
}] } });
|
|
@@ -634,8 +634,8 @@ export class TextBoxComponent {
|
|
|
634
634
|
setInputAttributes() {
|
|
635
635
|
setHTMLAttributes(this.parsedAttributes, this.renderer, this.input.nativeElement, this.ngZone);
|
|
636
636
|
}
|
|
637
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
638
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxComponent, isStandalone: true, selector: "kendo-textbox", inputs: { 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", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", inputFocus: "inputFocus", inputBlur: "inputBlur", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass", "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.direction" } }, providers: [
|
|
639
639
|
LocalizationService,
|
|
640
640
|
{ provide: L10N_PREFIX, useValue: 'kendo.textbox' },
|
|
641
641
|
{
|
|
@@ -722,7 +722,7 @@ export class TextBoxComponent {
|
|
|
722
722
|
<ng-container>
|
|
723
723
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]" }, { kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
724
724
|
}
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxComponent, decorators: [{
|
|
726
726
|
type: Component,
|
|
727
727
|
args: [{
|
|
728
728
|
exportAs: 'kendoTextBox',
|
|
@@ -817,7 +817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
817
817
|
standalone: true,
|
|
818
818
|
imports: [LocalizedTextBoxMessagesDirective, SharedInputEventsDirective, NgIf, NgTemplateOutlet, InputSeparatorComponent, EventsOutsideAngularDirective, IconWrapperComponent]
|
|
819
819
|
}]
|
|
820
|
-
}], ctorParameters:
|
|
820
|
+
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { focusableId: [{
|
|
821
821
|
type: Input
|
|
822
822
|
}], title: [{
|
|
823
823
|
type: Input
|
|
@@ -89,13 +89,13 @@ export class TextBoxDirective {
|
|
|
89
89
|
ngOnDestroy() {
|
|
90
90
|
this.listeners.forEach(listener => listener());
|
|
91
91
|
}
|
|
92
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
92
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
93
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TextBoxDirective, isStandalone: true, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-input-md": "this.hostClasses", "class.k-rounded-md": "this.hostClasses", "class.k-input-solid": "this.hostClasses" } }, providers: [{
|
|
94
94
|
provide: KendoInput,
|
|
95
95
|
useExisting: forwardRef(() => TextBoxDirective)
|
|
96
96
|
}], ngImport: i0 });
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxDirective, decorators: [{
|
|
99
99
|
type: Directive,
|
|
100
100
|
args: [{
|
|
101
101
|
selector: 'input[kendoTextBox]',
|
|
@@ -105,7 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
105
105
|
}],
|
|
106
106
|
standalone: true
|
|
107
107
|
}]
|
|
108
|
-
}], ctorParameters:
|
|
108
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { hostClasses: [{
|
|
109
109
|
type: HostBinding,
|
|
110
110
|
args: ['class.k-textbox']
|
|
111
111
|
}, {
|
|
@@ -37,11 +37,11 @@ import * as i8 from "@progress/kendo-angular-common";
|
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
export class TextBoxModule {
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
42
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TextBoxModule, imports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.InputSpacerComponent, i5.TextBoxSuffixTemplateDirective, i6.TextBoxPrefixTemplateDirective, i7.TextBoxCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent], exports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.InputSpacerComponent, i5.TextBoxSuffixTemplateDirective, i6.TextBoxPrefixTemplateDirective, i7.TextBoxCustomMessagesComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent, i8.PrefixTemplateDirective, i8.SuffixTemplateDirective, i8.SeparatorComponent] });
|
|
42
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxModule, providers: [IconsService], imports: [i2.TextBoxComponent, i8.SeparatorComponent, i8.SeparatorComponent] });
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxModule, decorators: [{
|
|
45
45
|
type: NgModule,
|
|
46
46
|
args: [{
|
|
47
47
|
imports: [...KENDO_TEXTBOX, ...KENDO_ADORNMENTS],
|