@progress/kendo-angular-inputs 16.5.0 → 16.6.0-develop.2
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/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/checkbox.directive.d.ts +1 -1
- package/checkbox.module.d.ts +3 -6
- package/colorpicker/color-contrast-svg.component.d.ts +1 -1
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
- package/colorpicker/color-gradient.component.d.ts +1 -1
- package/colorpicker/color-input.component.d.ts +1 -1
- package/colorpicker/color-palette.component.d.ts +1 -1
- package/colorpicker/colorpicker.component.d.ts +1 -1
- package/colorpicker/contrast-validation.component.d.ts +1 -1
- package/colorpicker/contrast.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker.component.d.ts +1 -1
- package/colorpicker/localization/custom-messages.component.d.ts +1 -1
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
- package/colorpicker.module.d.ts +5 -21
- package/directives.d.ts +111 -0
- package/esm2020/checkbox/checkbox.component.mjs +7 -6
- package/esm2020/checkbox/checkbox.directive.mjs +3 -2
- package/esm2020/checkbox.module.mjs +8 -10
- package/esm2020/colorpicker/color-contrast-svg.component.mjs +6 -4
- package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +5 -2
- package/esm2020/colorpicker/color-gradient.component.mjs +11 -12
- package/esm2020/colorpicker/color-input.component.mjs +8 -7
- package/esm2020/colorpicker/color-palette.component.mjs +7 -5
- package/esm2020/colorpicker/colorpicker.component.mjs +9 -8
- package/esm2020/colorpicker/contrast-validation.component.mjs +7 -5
- package/esm2020/colorpicker/contrast.component.mjs +8 -6
- package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +3 -2
- package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +7 -5
- package/esm2020/colorpicker/flatcolorpicker.component.mjs +7 -9
- package/esm2020/colorpicker/localization/custom-messages.component.mjs +3 -2
- package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +3 -2
- package/esm2020/colorpicker.module.mjs +15 -84
- package/esm2020/directives.mjs +188 -0
- package/esm2020/formfield/error.component.mjs +3 -2
- package/esm2020/formfield/formfield.component.mjs +6 -4
- package/esm2020/formfield/hint.component.mjs +3 -2
- package/esm2020/formfield.module.mjs +9 -9
- package/esm2020/index.mjs +1 -0
- package/esm2020/inputs.module.mjs +50 -56
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +9 -8
- package/esm2020/maskedtextbox.module.mjs +7 -30
- package/esm2020/numerictextbox/localization/custom-messages.component.mjs +3 -2
- package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +3 -2
- package/esm2020/numerictextbox/numerictextbox.component.mjs +11 -10
- package/esm2020/numerictextbox.module.mjs +11 -25
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/radiobutton/radiobutton.component.mjs +7 -6
- package/esm2020/radiobutton/radiobutton.directive.mjs +3 -2
- package/esm2020/radiobutton.module.mjs +8 -10
- package/esm2020/rangeslider/localization/custom-messages.component.mjs +3 -2
- package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +3 -2
- package/esm2020/rangeslider/rangeslider.component.mjs +9 -8
- package/esm2020/rangeslider.module.mjs +11 -25
- package/esm2020/rating/directives/rating-hovered-item.directive.mjs +3 -2
- package/esm2020/rating/directives/rating-item.directive.mjs +3 -2
- package/esm2020/rating/directives/rating-selected-item.directive.mjs +3 -2
- package/esm2020/rating/rating.component.mjs +7 -5
- package/esm2020/rating.module.mjs +12 -23
- package/esm2020/shared/input-separator.component.mjs +3 -2
- package/esm2020/shared/shared-events.directive.mjs +3 -2
- package/esm2020/shared/textarea.directive.mjs +3 -2
- package/esm2020/shared.module.mjs +3 -3
- package/esm2020/signature/localization/custom-messages.component.mjs +3 -2
- package/esm2020/signature/localization/localized-signature-messages.directive.mjs +3 -2
- package/esm2020/signature/signature.component.mjs +9 -7
- package/esm2020/signature.module.mjs +13 -32
- package/esm2020/slider/localization/custom-messages.component.mjs +3 -2
- package/esm2020/slider/localization/localized-slider-messages.directive.mjs +3 -2
- package/esm2020/slider/slider.component.mjs +10 -9
- package/esm2020/slider.module.mjs +13 -27
- package/esm2020/sliders-common/label-template.directive.mjs +3 -2
- package/esm2020/sliders-common/slider-ticks.component.mjs +6 -4
- package/esm2020/switch/localization/custom-messages.component.mjs +3 -2
- package/esm2020/switch/localization/localized-switch-messages.directive.mjs +3 -2
- package/esm2020/switch/switch.component.mjs +6 -4
- package/esm2020/switch.module.mjs +10 -23
- package/esm2020/textarea/textarea-prefix.component.mjs +3 -2
- package/esm2020/textarea/textarea-suffix.component.mjs +3 -2
- package/esm2020/textarea/textarea.component.mjs +9 -8
- package/esm2020/textarea.module.mjs +9 -31
- package/esm2020/textbox/localization/custom-messages.component.mjs +3 -2
- package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +3 -2
- package/esm2020/textbox/textbox-prefix.directive.mjs +3 -2
- package/esm2020/textbox/textbox-suffix.directive.mjs +3 -2
- package/esm2020/textbox/textbox.component.mjs +11 -10
- package/esm2020/textbox/textbox.directive.mjs +3 -2
- package/esm2020/textbox.module.mjs +14 -48
- package/fesm2015/progress-kendo-angular-inputs.mjs +9233 -9325
- package/fesm2020/progress-kendo-angular-inputs.mjs +9088 -9180
- package/formfield/error.component.d.ts +1 -1
- package/formfield/formfield.component.d.ts +1 -1
- package/formfield/hint.component.d.ts +1 -1
- package/formfield.module.d.ts +4 -5
- package/index.d.ts +1 -0
- package/inputs.module.d.ts +40 -15
- package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
- package/maskedtextbox.module.d.ts +1 -5
- package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
- package/numerictextbox/numerictextbox.component.d.ts +1 -1
- package/numerictextbox.module.d.ts +4 -9
- package/package.json +9 -9
- package/radiobutton/radiobutton.component.d.ts +1 -1
- package/radiobutton/radiobutton.directive.d.ts +1 -1
- package/radiobutton.module.d.ts +3 -6
- package/rangeslider/localization/custom-messages.component.d.ts +1 -1
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
- package/rangeslider/rangeslider.component.d.ts +1 -1
- package/rangeslider.module.d.ts +2 -5
- package/rating/directives/rating-hovered-item.directive.d.ts +1 -1
- package/rating/directives/rating-item.directive.d.ts +1 -1
- package/rating/directives/rating-selected-item.directive.d.ts +1 -1
- package/rating/rating.component.d.ts +1 -1
- package/rating.module.d.ts +1 -3
- package/shared/input-separator.component.d.ts +1 -1
- package/shared/shared-events.directive.d.ts +1 -1
- package/shared/textarea.directive.d.ts +1 -1
- package/shared.module.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
- package/signature/signature.component.d.ts +1 -1
- package/signature.module.d.ts +1 -6
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/slider.module.d.ts +2 -7
- package/sliders-common/label-template.directive.d.ts +1 -1
- package/sliders-common/slider-ticks.component.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/switch.module.d.ts +1 -4
- package/textarea/textarea-prefix.component.d.ts +1 -1
- package/textarea/textarea-suffix.component.d.ts +1 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea.module.d.ts +4 -9
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +1 -1
- package/textbox/textbox-suffix.directive.d.ts +1 -1
- package/textbox/textbox.component.d.ts +1 -1
- package/textbox/textbox.directive.d.ts +1 -1
- package/textbox.module.d.ts +5 -12
- package/colorpicker/focus-on-dom-ready.directive.d.ts +0 -18
- package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +0 -29
- package/esm2020/shared-events.module.mjs +0 -22
- package/esm2020/sliders-common/sliders-common.module.mjs +0 -42
- package/shared-events.module.d.ts +0 -14
- package/sliders-common/sliders-common.module.d.ts +0 -17
|
@@ -6,7 +6,7 @@ import { Component, HostBinding, Input, Output, ElementRef, EventEmitter, NgZone
|
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
7
|
import { debounceTime } from 'rxjs/operators';
|
|
8
8
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
9
|
-
import { KendoInput, guid, isDocumentAvailable, hasObservers, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes } from '@progress/kendo-angular-common';
|
|
9
|
+
import { KendoInput, guid, isDocumentAvailable, hasObservers, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
10
10
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
11
11
|
import { TextFieldsBase } from '../text-fields-common/text-fields-base';
|
|
12
12
|
import { areSame, isPresent, getStylingClasses } from '../common/utils';
|
|
@@ -15,12 +15,11 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
15
15
|
import { packageMetadata } from '../package-metadata';
|
|
16
16
|
import { TextAreaPrefixComponent } from './textarea-prefix.component';
|
|
17
17
|
import { TextAreaSuffixComponent } from './textarea-suffix.component';
|
|
18
|
+
import { InputSeparatorComponent } from '../shared/input-separator.component';
|
|
19
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
20
|
+
import { SharedInputEventsDirective } from '../shared/shared-events.directive';
|
|
18
21
|
import * as i0 from "@angular/core";
|
|
19
22
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
20
|
-
import * as i2 from "@angular/common";
|
|
21
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
22
|
-
import * as i4 from "../shared/input-separator.component";
|
|
23
|
-
import * as i5 from "../shared/shared-events.directive";
|
|
24
23
|
const resizeClasses = {
|
|
25
24
|
'vertical': 'k-resize-y',
|
|
26
25
|
'horizontal': 'k-resize-x',
|
|
@@ -552,7 +551,7 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
552
551
|
}
|
|
553
552
|
}
|
|
554
553
|
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 });
|
|
555
|
-
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaComponent, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", inputAttributes: "inputAttributes", adornmentsOrientation: "adornmentsOrientation", rows: "rows", cols: "cols", maxlength: "maxlength", 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: [
|
|
554
|
+
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaComponent, isStandalone: true, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", inputAttributes: "inputAttributes", adornmentsOrientation: "adornmentsOrientation", rows: "rows", cols: "cols", maxlength: "maxlength", 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: [
|
|
556
555
|
LocalizationService,
|
|
557
556
|
{ provide: L10N_PREFIX, useValue: 'kendo.textarea' },
|
|
558
557
|
{
|
|
@@ -604,7 +603,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
604
603
|
></kendo-input-separator>
|
|
605
604
|
<ng-content select="kendo-textarea-suffix"></ng-content>
|
|
606
605
|
</ng-container>
|
|
607
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
606
|
+
`, 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"] }] });
|
|
608
607
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
609
608
|
type: Component,
|
|
610
609
|
args: [{
|
|
@@ -663,7 +662,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
663
662
|
></kendo-input-separator>
|
|
664
663
|
<ng-content select="kendo-textarea-suffix"></ng-content>
|
|
665
664
|
</ng-container>
|
|
666
|
-
|
|
665
|
+
`,
|
|
666
|
+
standalone: true,
|
|
667
|
+
imports: [SharedInputEventsDirective, NgIf, InputSeparatorComponent, NgClass, EventsOutsideAngularDirective]
|
|
667
668
|
}]
|
|
668
669
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { focusableId: [{
|
|
669
670
|
type: Input
|
|
@@ -3,16 +3,13 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from "@angular/core";
|
|
6
|
-
import {
|
|
7
|
-
import { TextAreaComponent } from "./textarea/textarea.component";
|
|
8
|
-
import { AdornmentsModule, EventsModule } from "@progress/kendo-angular-common";
|
|
9
|
-
import { TextAreaPrefixComponent } from "./textarea/textarea-prefix.component";
|
|
10
|
-
import { TextAreaSuffixComponent } from './textarea/textarea-suffix.component';
|
|
11
|
-
import { SharedModule, SHARED_DIRECTIVES } from './shared.module';
|
|
12
|
-
import { SharedEventsModule } from "./shared-events.module";
|
|
6
|
+
import { KENDO_TEXTAREA } from "./directives";
|
|
13
7
|
import * as i0 from "@angular/core";
|
|
14
|
-
import * as i1 from "./
|
|
8
|
+
import * as i1 from "./textarea/textarea.component";
|
|
15
9
|
import * as i2 from "./shared/textarea.directive";
|
|
10
|
+
import * as i3 from "./textarea/textarea-prefix.component";
|
|
11
|
+
import * as i4 from "./textarea/textarea-suffix.component";
|
|
12
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
16
13
|
/**
|
|
17
14
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18
15
|
* definition for the TextArea component.
|
|
@@ -47,31 +44,12 @@ import * as i2 from "./shared/textarea.directive";
|
|
|
47
44
|
export class TextAreaModule {
|
|
48
45
|
}
|
|
49
46
|
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
50
|
-
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule,
|
|
51
|
-
|
|
52
|
-
TextAreaSuffixComponent], imports: [CommonModule, EventsModule, SharedModule, AdornmentsModule, SharedEventsModule], exports: [TextAreaComponent,
|
|
53
|
-
EventsModule,
|
|
54
|
-
TextAreaPrefixComponent,
|
|
55
|
-
TextAreaSuffixComponent,
|
|
56
|
-
AdornmentsModule, i1.InputSeparatorComponent, i2.TextAreaDirective] });
|
|
57
|
-
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, imports: [CommonModule, EventsModule, SharedModule, AdornmentsModule, SharedEventsModule, EventsModule,
|
|
58
|
-
AdornmentsModule] });
|
|
47
|
+
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent], exports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent] });
|
|
48
|
+
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent] });
|
|
59
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
60
50
|
type: NgModule,
|
|
61
51
|
args: [{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
TextAreaPrefixComponent,
|
|
65
|
-
TextAreaSuffixComponent
|
|
66
|
-
],
|
|
67
|
-
exports: [
|
|
68
|
-
TextAreaComponent,
|
|
69
|
-
EventsModule,
|
|
70
|
-
TextAreaPrefixComponent,
|
|
71
|
-
TextAreaSuffixComponent,
|
|
72
|
-
AdornmentsModule,
|
|
73
|
-
SHARED_DIRECTIVES
|
|
74
|
-
],
|
|
75
|
-
imports: [CommonModule, EventsModule, SharedModule, AdornmentsModule, SharedEventsModule]
|
|
52
|
+
imports: [...KENDO_TEXTAREA],
|
|
53
|
+
exports: [...KENDO_TEXTAREA]
|
|
76
54
|
}]
|
|
77
55
|
}] });
|
|
@@ -20,7 +20,7 @@ export class TextBoxCustomMessagesComponent extends TextBoxMessages {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
TextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
TextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxCustomMessagesComponent, selector: "kendo-textbox-messages", providers: [
|
|
23
|
+
TextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-textbox-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: TextBoxMessages,
|
|
26
26
|
useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-textbox-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTextBoxMessagesDirective, isStandalone: true, selector: "[kendoTextBoxLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: TextBoxMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoTextBoxLocalizedMessages]'
|
|
35
|
+
selector: '[kendoTextBoxLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -39,11 +39,12 @@ export class TextBoxPrefixTemplateDirective {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
TextBoxPrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxPrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
-
TextBoxPrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
42
|
+
TextBoxPrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxPrefixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
43
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
|
-
selector: '[kendoTextBoxPrefixTemplate]'
|
|
46
|
+
selector: '[kendoTextBoxPrefixTemplate]',
|
|
47
|
+
standalone: true
|
|
47
48
|
}]
|
|
48
49
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
49
50
|
type: Optional
|
|
@@ -38,11 +38,12 @@ export class TextBoxSuffixTemplateDirective {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
TextBoxSuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxSuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
-
TextBoxSuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxSuffixTemplateDirective, selector: "[kendoTextBoxSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
41
|
+
TextBoxSuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxSuffixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
|
|
42
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
|
-
selector: '[kendoTextBoxSuffixTemplate]'
|
|
45
|
+
selector: '[kendoTextBoxSuffixTemplate]',
|
|
46
|
+
standalone: true
|
|
46
47
|
}]
|
|
47
48
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
48
49
|
type: Optional
|
|
@@ -10,19 +10,18 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
11
|
import { invokeElementMethod } from '../common/dom-utils';
|
|
12
12
|
import { areSame, requiresZoneOnBlur, getStylingClasses } from '../common/utils';
|
|
13
|
-
import { guid, hasObservers, KendoInput, isSafari, SuffixTemplateDirective, PrefixTemplateDirective, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes } from '@progress/kendo-angular-common';
|
|
13
|
+
import { guid, hasObservers, KendoInput, isSafari, SuffixTemplateDirective, PrefixTemplateDirective, setHTMLAttributes, isControlRequired, isObjectPresent, removeHTMLAttributes, parseAttributes, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { TextBoxSuffixTemplateDirective } from './textbox-suffix.directive';
|
|
15
15
|
import { TextBoxPrefixTemplateDirective } from './textbox-prefix.directive';
|
|
16
16
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
17
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
17
18
|
import { checkIcon, exclamationCircleIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
19
|
+
import { InputSeparatorComponent } from '../shared/input-separator.component';
|
|
20
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
21
|
+
import { SharedInputEventsDirective } from '../shared/shared-events.directive';
|
|
22
|
+
import { LocalizedTextBoxMessagesDirective } from './localization/localized-textbox-messages.directive';
|
|
18
23
|
import * as i0 from "@angular/core";
|
|
19
24
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
20
|
-
import * as i2 from "@angular/common";
|
|
21
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
22
|
-
import * as i4 from "../shared/input-separator.component";
|
|
23
|
-
import * as i5 from "@progress/kendo-angular-icons";
|
|
24
|
-
import * as i6 from "../shared/shared-events.directive";
|
|
25
|
-
import * as i7 from "./localization/localized-textbox-messages.directive";
|
|
26
25
|
const FOCUSED = 'k-focus';
|
|
27
26
|
const DEFAULT_SIZE = 'medium';
|
|
28
27
|
const DEFAULT_ROUNDED = 'medium';
|
|
@@ -630,7 +629,7 @@ export class TextBoxComponent {
|
|
|
630
629
|
}
|
|
631
630
|
}
|
|
632
631
|
TextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 });
|
|
633
|
-
TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxComponent, 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: [
|
|
632
|
+
TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
634
633
|
LocalizationService,
|
|
635
634
|
{ provide: L10N_PREFIX, useValue: 'kendo.textbox' },
|
|
636
635
|
{
|
|
@@ -715,7 +714,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
715
714
|
</ng-template>
|
|
716
715
|
</span>
|
|
717
716
|
<ng-container>
|
|
718
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
717
|
+
`, 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"] }] });
|
|
719
718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxComponent, decorators: [{
|
|
720
719
|
type: Component,
|
|
721
720
|
args: [{
|
|
@@ -807,7 +806,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
807
806
|
</ng-template>
|
|
808
807
|
</span>
|
|
809
808
|
<ng-container>
|
|
810
|
-
|
|
809
|
+
`,
|
|
810
|
+
standalone: true,
|
|
811
|
+
imports: [LocalizedTextBoxMessagesDirective, SharedInputEventsDirective, NgIf, NgTemplateOutlet, InputSeparatorComponent, EventsOutsideAngularDirective, IconWrapperComponent]
|
|
811
812
|
}]
|
|
812
813
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { focusableId: [{
|
|
813
814
|
type: Input
|
|
@@ -88,7 +88,7 @@ export class TextBoxDirective {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
TextBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
91
|
-
TextBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxDirective, 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: [{
|
|
91
|
+
TextBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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: [{
|
|
92
92
|
provide: KendoInput,
|
|
93
93
|
useExisting: forwardRef(() => TextBoxDirective)
|
|
94
94
|
}], ngImport: i0 });
|
|
@@ -99,7 +99,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
99
99
|
providers: [{
|
|
100
100
|
provide: KendoInput,
|
|
101
101
|
useExisting: forwardRef(() => TextBoxDirective)
|
|
102
|
-
}]
|
|
102
|
+
}],
|
|
103
|
+
standalone: true
|
|
103
104
|
}]
|
|
104
105
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
|
105
106
|
type: HostBinding,
|
|
@@ -3,20 +3,16 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from "@angular/core";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { CommonModule } from "@angular/common";
|
|
9
|
-
import { AdornmentsModule, EventsModule } from "@progress/kendo-angular-common";
|
|
10
|
-
import { TextBoxSuffixTemplateDirective } from "./textbox/textbox-suffix.directive";
|
|
11
|
-
import { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directive';
|
|
12
|
-
import { TextBoxCustomMessagesComponent } from './textbox/localization/custom-messages.component';
|
|
13
|
-
import { LocalizedTextBoxMessagesDirective } from './textbox/localization/localized-textbox-messages.directive';
|
|
14
|
-
import { SharedModule, SHARED_DIRECTIVES } from './shared.module';
|
|
15
|
-
import { IconsModule } from "@progress/kendo-angular-icons";
|
|
16
|
-
import { SharedEventsModule } from "./shared-events.module";
|
|
6
|
+
import { KENDO_TEXTBOX } from "./directives";
|
|
7
|
+
import { IconsService } from "@progress/kendo-angular-icons";
|
|
17
8
|
import * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "./
|
|
19
|
-
import * as i2 from "./
|
|
9
|
+
import * as i1 from "./textbox/textbox.directive";
|
|
10
|
+
import * as i2 from "./textbox/textbox.component";
|
|
11
|
+
import * as i3 from "./shared/input-separator.component";
|
|
12
|
+
import * as i4 from "./textbox/textbox-suffix.directive";
|
|
13
|
+
import * as i5 from "./textbox/textbox-prefix.directive";
|
|
14
|
+
import * as i6 from "./textbox/localization/custom-messages.component";
|
|
15
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
20
16
|
/**
|
|
21
17
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
22
18
|
* definition for the TextBox directive.
|
|
@@ -51,43 +47,13 @@ import * as i2 from "./shared/textarea.directive";
|
|
|
51
47
|
export class TextBoxModule {
|
|
52
48
|
}
|
|
53
49
|
TextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
54
|
-
TextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule,
|
|
55
|
-
|
|
56
|
-
TextBoxSuffixTemplateDirective,
|
|
57
|
-
TextBoxPrefixTemplateDirective,
|
|
58
|
-
TextBoxCustomMessagesComponent,
|
|
59
|
-
LocalizedTextBoxMessagesDirective], imports: [CommonModule, EventsModule, SharedModule, IconsModule, AdornmentsModule, SharedEventsModule], exports: [TextBoxDirective,
|
|
60
|
-
TextBoxComponent,
|
|
61
|
-
TextBoxSuffixTemplateDirective,
|
|
62
|
-
TextBoxPrefixTemplateDirective,
|
|
63
|
-
EventsModule,
|
|
64
|
-
TextBoxCustomMessagesComponent,
|
|
65
|
-
LocalizedTextBoxMessagesDirective,
|
|
66
|
-
AdornmentsModule, i1.InputSeparatorComponent, i2.TextAreaDirective] });
|
|
67
|
-
TextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule, imports: [CommonModule, EventsModule, SharedModule, IconsModule, AdornmentsModule, SharedEventsModule, EventsModule,
|
|
68
|
-
AdornmentsModule] });
|
|
50
|
+
TextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule, imports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.TextBoxSuffixTemplateDirective, i5.TextBoxPrefixTemplateDirective, i6.TextBoxCustomMessagesComponent], exports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.TextBoxSuffixTemplateDirective, i5.TextBoxPrefixTemplateDirective, i6.TextBoxCustomMessagesComponent] });
|
|
51
|
+
TextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule, providers: [IconsService], imports: [i2.TextBoxComponent, i3.InputSeparatorComponent, i6.TextBoxCustomMessagesComponent] });
|
|
69
52
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxModule, decorators: [{
|
|
70
53
|
type: NgModule,
|
|
71
54
|
args: [{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
TextBoxSuffixTemplateDirective,
|
|
76
|
-
TextBoxPrefixTemplateDirective,
|
|
77
|
-
TextBoxCustomMessagesComponent,
|
|
78
|
-
LocalizedTextBoxMessagesDirective
|
|
79
|
-
],
|
|
80
|
-
exports: [
|
|
81
|
-
TextBoxDirective,
|
|
82
|
-
TextBoxComponent,
|
|
83
|
-
TextBoxSuffixTemplateDirective,
|
|
84
|
-
TextBoxPrefixTemplateDirective,
|
|
85
|
-
EventsModule,
|
|
86
|
-
TextBoxCustomMessagesComponent,
|
|
87
|
-
LocalizedTextBoxMessagesDirective,
|
|
88
|
-
AdornmentsModule,
|
|
89
|
-
SHARED_DIRECTIVES
|
|
90
|
-
],
|
|
91
|
-
imports: [CommonModule, EventsModule, SharedModule, IconsModule, AdornmentsModule, SharedEventsModule]
|
|
55
|
+
imports: [...KENDO_TEXTBOX],
|
|
56
|
+
exports: [...KENDO_TEXTBOX],
|
|
57
|
+
providers: [IconsService]
|
|
92
58
|
}]
|
|
93
59
|
}] });
|