@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
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PrefixTemplateDirective, SuffixTemplateDirective } from "@progress/kendo-angular-common";
|
|
6
|
+
import { CheckBoxComponent } from "./checkbox/checkbox.component";
|
|
7
|
+
import { CheckBoxDirective } from "./checkbox/checkbox.directive";
|
|
8
|
+
import { ColorGradientComponent } from "./colorpicker/color-gradient.component";
|
|
9
|
+
import { ColorPaletteComponent } from "./colorpicker/color-palette.component";
|
|
10
|
+
import { ColorPickerComponent } from "./colorpicker/colorpicker.component";
|
|
11
|
+
import { FlatColorPickerComponent } from "./colorpicker/flatcolorpicker.component";
|
|
12
|
+
import { ColorPickerCustomMessagesComponent } from "./colorpicker/localization/custom-messages.component";
|
|
13
|
+
import { ErrorComponent } from "./formfield/error.component";
|
|
14
|
+
import { FormFieldComponent } from "./formfield/formfield.component";
|
|
15
|
+
import { HintComponent } from "./formfield/hint.component";
|
|
16
|
+
import { MaskedTextBoxComponent } from "./maskedtextbox/maskedtextbox.component";
|
|
17
|
+
import { NumericTextBoxCustomMessagesComponent } from "./numerictextbox/localization/custom-messages.component";
|
|
18
|
+
import { NumericTextBoxComponent } from "./numerictextbox/numerictextbox.component";
|
|
19
|
+
import { RadioButtonComponent } from "./radiobutton/radiobutton.component";
|
|
20
|
+
import { RadioButtonDirective } from "./radiobutton/radiobutton.directive";
|
|
21
|
+
import { RangeSliderCustomMessagesComponent } from "./rangeslider/localization/custom-messages.component";
|
|
22
|
+
import { RangeSliderComponent } from "./rangeslider/rangeslider.component";
|
|
23
|
+
import { RatingHoveredItemTemplateDirective } from "./rating/directives/rating-hovered-item.directive";
|
|
24
|
+
import { RatingItemTemplateDirective } from "./rating/directives/rating-item.directive";
|
|
25
|
+
import { RatingSelectedItemTemplateDirective } from "./rating/directives/rating-selected-item.directive";
|
|
26
|
+
import { RatingComponent } from "./rating/rating.component";
|
|
27
|
+
import { InputSeparatorComponent } from "./shared/input-separator.component";
|
|
28
|
+
import { TextAreaDirective } from "./shared/textarea.directive";
|
|
29
|
+
import { SignatureCustomMessagesComponent } from "./signature/localization/custom-messages.component";
|
|
30
|
+
import { SignatureComponent } from "./signature/signature.component";
|
|
31
|
+
import { SliderCustomMessagesComponent } from "./slider/localization/custom-messages.component";
|
|
32
|
+
import { SliderComponent } from "./slider/slider.component";
|
|
33
|
+
import { LabelTemplateDirective } from "./sliders-common/label-template.directive";
|
|
34
|
+
import { SwitchCustomMessagesComponent } from "./switch/localization/custom-messages.component";
|
|
35
|
+
import { SwitchComponent } from "./switch/switch.component";
|
|
36
|
+
import { TextAreaPrefixComponent } from "./textarea/textarea-prefix.component";
|
|
37
|
+
import { TextAreaSuffixComponent } from "./textarea/textarea-suffix.component";
|
|
38
|
+
import { TextAreaComponent } from "./textarea/textarea.component";
|
|
39
|
+
import { TextBoxCustomMessagesComponent } from "./textbox/localization/custom-messages.component";
|
|
40
|
+
import { TextBoxPrefixTemplateDirective } from "./textbox/textbox-prefix.directive";
|
|
41
|
+
import { TextBoxSuffixTemplateDirective } from "./textbox/textbox-suffix.directive";
|
|
42
|
+
import { TextBoxComponent } from "./textbox/textbox.component";
|
|
43
|
+
import { TextBoxDirective } from "./textbox/textbox.directive";
|
|
44
|
+
/**
|
|
45
|
+
* Utility array that contains all `TextBox` related components and directives
|
|
46
|
+
*/
|
|
47
|
+
export const KENDO_TEXTBOX = [
|
|
48
|
+
TextBoxDirective,
|
|
49
|
+
TextBoxComponent,
|
|
50
|
+
InputSeparatorComponent,
|
|
51
|
+
TextBoxSuffixTemplateDirective,
|
|
52
|
+
TextBoxPrefixTemplateDirective,
|
|
53
|
+
TextBoxCustomMessagesComponent,
|
|
54
|
+
];
|
|
55
|
+
/**
|
|
56
|
+
* Utility array that contains all `NumericTextBox` related components and directives
|
|
57
|
+
*/
|
|
58
|
+
export const KENDO_NUMERICTEXTBOX = [
|
|
59
|
+
NumericTextBoxComponent,
|
|
60
|
+
NumericTextBoxCustomMessagesComponent,
|
|
61
|
+
PrefixTemplateDirective,
|
|
62
|
+
SuffixTemplateDirective
|
|
63
|
+
];
|
|
64
|
+
/**
|
|
65
|
+
* Utility array that contains all `MaskedTextBox` related components and directives
|
|
66
|
+
*/
|
|
67
|
+
export const KENDO_MASKEDTEXTBOX = [
|
|
68
|
+
MaskedTextBoxComponent
|
|
69
|
+
];
|
|
70
|
+
/**
|
|
71
|
+
* Utility array that contains all `TextArea` related components and directives
|
|
72
|
+
*/
|
|
73
|
+
export const KENDO_TEXTAREA = [
|
|
74
|
+
TextAreaComponent,
|
|
75
|
+
TextAreaDirective,
|
|
76
|
+
TextAreaPrefixComponent,
|
|
77
|
+
TextAreaSuffixComponent,
|
|
78
|
+
];
|
|
79
|
+
/**
|
|
80
|
+
* Utility array that contains all `CheckBox` related components and directives
|
|
81
|
+
*/
|
|
82
|
+
export const KENDO_CHECKBOX = [
|
|
83
|
+
CheckBoxComponent,
|
|
84
|
+
CheckBoxDirective
|
|
85
|
+
];
|
|
86
|
+
/**
|
|
87
|
+
* Utility array that contains all `RadioButton` related components and directives
|
|
88
|
+
*/
|
|
89
|
+
export const KENDO_RADIOBUTTON = [
|
|
90
|
+
RadioButtonComponent,
|
|
91
|
+
RadioButtonDirective
|
|
92
|
+
];
|
|
93
|
+
/**
|
|
94
|
+
* Utility array that contains all `Switch` related components and directives
|
|
95
|
+
*/
|
|
96
|
+
export const KENDO_SWITCH = [
|
|
97
|
+
SwitchComponent,
|
|
98
|
+
SwitchCustomMessagesComponent
|
|
99
|
+
];
|
|
100
|
+
/**
|
|
101
|
+
* Utility array that contains all `FormField` related components and directives
|
|
102
|
+
*/
|
|
103
|
+
export const KENDO_FORMFIELD = [
|
|
104
|
+
FormFieldComponent,
|
|
105
|
+
HintComponent,
|
|
106
|
+
ErrorComponent
|
|
107
|
+
];
|
|
108
|
+
/**
|
|
109
|
+
* Utility array that contains all `Slider` related components and directives
|
|
110
|
+
*/
|
|
111
|
+
export const KENDO_SLIDER = [
|
|
112
|
+
SliderComponent,
|
|
113
|
+
SliderCustomMessagesComponent,
|
|
114
|
+
LabelTemplateDirective,
|
|
115
|
+
];
|
|
116
|
+
/**
|
|
117
|
+
* Utility array that contains all `RangeSlider` related components and directives
|
|
118
|
+
*/
|
|
119
|
+
export const KENDO_RANGESLIDER = [
|
|
120
|
+
RangeSliderComponent,
|
|
121
|
+
RangeSliderCustomMessagesComponent,
|
|
122
|
+
LabelTemplateDirective
|
|
123
|
+
];
|
|
124
|
+
/**
|
|
125
|
+
* Utility array that contains all `Rating` related components and directives
|
|
126
|
+
*/
|
|
127
|
+
export const KENDO_RATING = [
|
|
128
|
+
RatingComponent,
|
|
129
|
+
RatingItemTemplateDirective,
|
|
130
|
+
RatingHoveredItemTemplateDirective,
|
|
131
|
+
RatingSelectedItemTemplateDirective
|
|
132
|
+
];
|
|
133
|
+
/**
|
|
134
|
+
* Utility array that contains all `Signature` related components and directives
|
|
135
|
+
*/
|
|
136
|
+
export const KENDO_SIGNATURE = [
|
|
137
|
+
SignatureComponent,
|
|
138
|
+
SignatureCustomMessagesComponent
|
|
139
|
+
];
|
|
140
|
+
/**
|
|
141
|
+
* Utility array that contains all `ColorPicker` related components and directives
|
|
142
|
+
*/
|
|
143
|
+
export const KENDO_COLORPICKER = [
|
|
144
|
+
ColorPickerComponent,
|
|
145
|
+
ColorPickerCustomMessagesComponent
|
|
146
|
+
];
|
|
147
|
+
/**
|
|
148
|
+
* Utility array that contains all `FlatColorPicker` related components and directives
|
|
149
|
+
*/
|
|
150
|
+
export const KENDO_FLATCOLORPICKER = [
|
|
151
|
+
FlatColorPickerComponent,
|
|
152
|
+
ColorPickerCustomMessagesComponent
|
|
153
|
+
];
|
|
154
|
+
/**
|
|
155
|
+
* Utility array that contains all `ColorPallete` related components and directives
|
|
156
|
+
*/
|
|
157
|
+
export const KENDO_COLORPALETTE = [
|
|
158
|
+
ColorPaletteComponent,
|
|
159
|
+
ColorPickerCustomMessagesComponent
|
|
160
|
+
];
|
|
161
|
+
/**
|
|
162
|
+
* Utility array that contains all `ColorGradient` related components and directives
|
|
163
|
+
*/
|
|
164
|
+
export const KENDO_COLORGRADIENT = [
|
|
165
|
+
ColorGradientComponent,
|
|
166
|
+
ColorPickerCustomMessagesComponent
|
|
167
|
+
];
|
|
168
|
+
/**
|
|
169
|
+
* Utility array that contains all `@progress/kendo-angular-inputs` related components and directives
|
|
170
|
+
*/
|
|
171
|
+
export const KENDO_INPUTS = [
|
|
172
|
+
...KENDO_TEXTBOX,
|
|
173
|
+
...KENDO_NUMERICTEXTBOX,
|
|
174
|
+
...KENDO_MASKEDTEXTBOX,
|
|
175
|
+
...KENDO_TEXTAREA,
|
|
176
|
+
...KENDO_CHECKBOX,
|
|
177
|
+
...KENDO_RADIOBUTTON,
|
|
178
|
+
...KENDO_SWITCH,
|
|
179
|
+
...KENDO_FORMFIELD,
|
|
180
|
+
...KENDO_SLIDER,
|
|
181
|
+
...KENDO_RANGESLIDER,
|
|
182
|
+
...KENDO_RATING,
|
|
183
|
+
...KENDO_SIGNATURE,
|
|
184
|
+
...KENDO_COLORPICKER,
|
|
185
|
+
...KENDO_FLATCOLORPICKER,
|
|
186
|
+
...KENDO_COLORGRADIENT,
|
|
187
|
+
...KENDO_COLORPALETTE,
|
|
188
|
+
];
|
|
@@ -37,7 +37,7 @@ export class ErrorComponent {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
ErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ErrorComponent, selector: "kendo-formerror", inputs: { align: "align" }, host: { properties: { "class.k-form-error": "this.hostClass", "attr.role": "this.roleAttribute", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
40
|
+
ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ErrorComponent, isStandalone: true, selector: "kendo-formerror", inputs: { align: "align" }, host: { properties: { "class.k-form-error": "this.hostClass", "attr.role": "this.roleAttribute", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
41
41
|
<ng-content></ng-content>
|
|
42
42
|
`, isInline: true });
|
|
43
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
@@ -46,7 +46,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
46
46
|
selector: 'kendo-formerror',
|
|
47
47
|
template: `
|
|
48
48
|
<ng-content></ng-content>
|
|
49
|
-
|
|
49
|
+
`,
|
|
50
|
+
standalone: true
|
|
50
51
|
}]
|
|
51
52
|
}], propDecorators: { hostClass: [{
|
|
52
53
|
type: HostBinding,
|
|
@@ -11,9 +11,9 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
12
|
import { ErrorComponent } from './error.component';
|
|
13
13
|
import { HintComponent } from './hint.component';
|
|
14
|
+
import { NgIf } from '@angular/common';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
16
|
-
import * as i2 from "@angular/common";
|
|
17
17
|
/**
|
|
18
18
|
* Specifies a container for form-bound controls (Kendo controls or native HTML controls).
|
|
19
19
|
* Applies styling and behavior rules.
|
|
@@ -214,7 +214,7 @@ export class FormFieldComponent {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldComponent, deps: [{ token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
217
|
-
FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldComponent, selector: "kendo-formfield", inputs: { showHints: "showHints", orientation: "orientation", showErrors: "showErrors" }, host: { properties: { "class.k-form-field": "this.hostClass", "attr.dir": "this.direction", "class.k-form-field-error": "this.errorClass", "class.k-form-field-disabled": "this.disabledClass" } }, providers: [
|
|
217
|
+
FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormFieldComponent, isStandalone: true, selector: "kendo-formfield", inputs: { showHints: "showHints", orientation: "orientation", showErrors: "showErrors" }, host: { properties: { "class.k-form-field": "this.hostClass", "attr.dir": "this.direction", "class.k-form-field-error": "this.errorClass", "class.k-form-field-disabled": "this.disabledClass" } }, providers: [
|
|
218
218
|
LocalizationService,
|
|
219
219
|
{
|
|
220
220
|
provide: L10N_PREFIX,
|
|
@@ -227,7 +227,7 @@ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
227
227
|
<ng-content select="kendo-formhint" *ngIf="hasHints"></ng-content>
|
|
228
228
|
<ng-content select="kendo-formerror" *ngIf="hasErrors"></ng-content>
|
|
229
229
|
</div>
|
|
230
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
230
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
231
231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
232
232
|
type: Component,
|
|
233
233
|
args: [{
|
|
@@ -246,7 +246,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
246
246
|
provide: L10N_PREFIX,
|
|
247
247
|
useValue: 'kendo.formfield'
|
|
248
248
|
}
|
|
249
|
-
]
|
|
249
|
+
],
|
|
250
|
+
standalone: true,
|
|
251
|
+
imports: [NgIf]
|
|
250
252
|
}]
|
|
251
253
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
252
254
|
type: HostBinding,
|
|
@@ -35,7 +35,7 @@ export class HintComponent {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HintComponent, selector: "kendo-formhint", inputs: { align: "align" }, host: { properties: { "class.k-form-hint": "this.hostClass", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
38
|
+
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HintComponent, isStandalone: true, selector: "kendo-formhint", inputs: { align: "align" }, host: { properties: { "class.k-form-hint": "this.hostClass", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
39
39
|
<ng-content></ng-content>
|
|
40
40
|
`, isInline: true });
|
|
41
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HintComponent, decorators: [{
|
|
@@ -44,7 +44,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
44
44
|
selector: 'kendo-formhint',
|
|
45
45
|
template: `
|
|
46
46
|
<ng-content></ng-content>
|
|
47
|
-
|
|
47
|
+
`,
|
|
48
|
+
standalone: true
|
|
48
49
|
}]
|
|
49
50
|
}], propDecorators: { align: [{
|
|
50
51
|
type: Input
|
|
@@ -3,11 +3,12 @@
|
|
|
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 { FormFieldComponent } from './formfield/formfield.component';
|
|
8
|
-
import { HintComponent } from './formfield/hint.component';
|
|
9
|
-
import { ErrorComponent } from './formfield/error.component';
|
|
6
|
+
import { KENDO_FORMFIELD } from './directives';
|
|
10
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "./formfield/formfield.component";
|
|
9
|
+
import * as i2 from "./formfield/hint.component";
|
|
10
|
+
import * as i3 from "./formfield/error.component";
|
|
11
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
11
12
|
/**
|
|
12
13
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13
14
|
* definition for the FormField, Error and Hint components.
|
|
@@ -42,13 +43,12 @@ import * as i0 from "@angular/core";
|
|
|
42
43
|
export class FormFieldModule {
|
|
43
44
|
}
|
|
44
45
|
FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
45
|
-
FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule,
|
|
46
|
-
FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, imports: [
|
|
46
|
+
FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, imports: [i1.FormFieldComponent, i2.HintComponent, i3.ErrorComponent], exports: [i1.FormFieldComponent, i2.HintComponent, i3.ErrorComponent] });
|
|
47
|
+
FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, imports: [KENDO_FORMFIELD] });
|
|
47
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormFieldModule, decorators: [{
|
|
48
49
|
type: NgModule,
|
|
49
50
|
args: [{
|
|
50
|
-
|
|
51
|
-
exports: [
|
|
52
|
-
imports: [CommonModule]
|
|
51
|
+
imports: [...KENDO_FORMFIELD],
|
|
52
|
+
exports: [...KENDO_FORMFIELD]
|
|
53
53
|
}]
|
|
54
54
|
}] });
|
package/esm2020/index.mjs
CHANGED
|
@@ -79,3 +79,4 @@ export { RatingHoveredItemTemplateDirective } from './rating/directives/rating-h
|
|
|
79
79
|
export { RatingSelectedItemTemplateDirective } from './rating/directives/rating-selected-item.directive';
|
|
80
80
|
export { RatingComponent } from './rating/rating.component';
|
|
81
81
|
export { RatingModule } from './rating.module';
|
|
82
|
+
export * from './directives';
|
|
@@ -3,21 +3,52 @@
|
|
|
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 {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { TextBoxModule } from './textbox.module';
|
|
12
|
-
import { TextAreaModule } from './textarea.module';
|
|
13
|
-
import { CommonModule } from '@angular/common';
|
|
14
|
-
import { ColorPickerModule } from './colorpicker.module';
|
|
15
|
-
import { CheckBoxModule } from './checkbox.module';
|
|
16
|
-
import { RadioButtonModule } from './radiobutton.module';
|
|
17
|
-
import { FormFieldModule } from './formfield.module';
|
|
18
|
-
import { SignatureModule } from './signature.module';
|
|
19
|
-
import { RatingModule } from './rating.module';
|
|
6
|
+
import { KENDO_INPUTS } from './directives';
|
|
7
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
+
import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
9
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
20
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "./textbox/textbox.directive";
|
|
13
|
+
import * as i2 from "./textbox/textbox.component";
|
|
14
|
+
import * as i3 from "./shared/input-separator.component";
|
|
15
|
+
import * as i4 from "./textbox/textbox-suffix.directive";
|
|
16
|
+
import * as i5 from "./textbox/textbox-prefix.directive";
|
|
17
|
+
import * as i6 from "./textbox/localization/custom-messages.component";
|
|
18
|
+
import * as i7 from "./numerictextbox/numerictextbox.component";
|
|
19
|
+
import * as i8 from "./numerictextbox/localization/custom-messages.component";
|
|
20
|
+
import * as i9 from "@progress/kendo-angular-common";
|
|
21
|
+
import * as i10 from "./maskedtextbox/maskedtextbox.component";
|
|
22
|
+
import * as i11 from "./textarea/textarea.component";
|
|
23
|
+
import * as i12 from "./shared/textarea.directive";
|
|
24
|
+
import * as i13 from "./textarea/textarea-prefix.component";
|
|
25
|
+
import * as i14 from "./textarea/textarea-suffix.component";
|
|
26
|
+
import * as i15 from "./checkbox/checkbox.component";
|
|
27
|
+
import * as i16 from "./checkbox/checkbox.directive";
|
|
28
|
+
import * as i17 from "./radiobutton/radiobutton.component";
|
|
29
|
+
import * as i18 from "./radiobutton/radiobutton.directive";
|
|
30
|
+
import * as i19 from "./switch/switch.component";
|
|
31
|
+
import * as i20 from "./switch/localization/custom-messages.component";
|
|
32
|
+
import * as i21 from "./formfield/formfield.component";
|
|
33
|
+
import * as i22 from "./formfield/hint.component";
|
|
34
|
+
import * as i23 from "./formfield/error.component";
|
|
35
|
+
import * as i24 from "./slider/slider.component";
|
|
36
|
+
import * as i25 from "./slider/localization/custom-messages.component";
|
|
37
|
+
import * as i26 from "./sliders-common/label-template.directive";
|
|
38
|
+
import * as i27 from "./rangeslider/rangeslider.component";
|
|
39
|
+
import * as i28 from "./rangeslider/localization/custom-messages.component";
|
|
40
|
+
import * as i29 from "./rating/rating.component";
|
|
41
|
+
import * as i30 from "./rating/directives/rating-item.directive";
|
|
42
|
+
import * as i31 from "./rating/directives/rating-hovered-item.directive";
|
|
43
|
+
import * as i32 from "./rating/directives/rating-selected-item.directive";
|
|
44
|
+
import * as i33 from "./signature/signature.component";
|
|
45
|
+
import * as i34 from "./signature/localization/custom-messages.component";
|
|
46
|
+
import * as i35 from "./colorpicker/colorpicker.component";
|
|
47
|
+
import * as i36 from "./colorpicker/localization/custom-messages.component";
|
|
48
|
+
import * as i37 from "./colorpicker/flatcolorpicker.component";
|
|
49
|
+
import * as i38 from "./colorpicker/color-gradient.component";
|
|
50
|
+
import * as i39 from "./colorpicker/color-palette.component";
|
|
51
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
21
52
|
/**
|
|
22
53
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
23
54
|
* definition for the Inputs components.
|
|
@@ -53,50 +84,13 @@ import * as i0 from "@angular/core";
|
|
|
53
84
|
export class InputsModule {
|
|
54
85
|
}
|
|
55
86
|
InputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
56
|
-
InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, imports: [
|
|
57
|
-
|
|
58
|
-
SliderModule,
|
|
59
|
-
RangeSliderModule,
|
|
60
|
-
SwitchModule,
|
|
61
|
-
NumericTextBoxModule,
|
|
62
|
-
MaskedTextBoxModule,
|
|
63
|
-
ColorPickerModule,
|
|
64
|
-
CheckBoxModule,
|
|
65
|
-
RadioButtonModule,
|
|
66
|
-
FormFieldModule,
|
|
67
|
-
SignatureModule,
|
|
68
|
-
RatingModule] });
|
|
69
|
-
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, imports: [CommonModule, TextAreaModule,
|
|
70
|
-
TextBoxModule,
|
|
71
|
-
SliderModule,
|
|
72
|
-
RangeSliderModule,
|
|
73
|
-
SwitchModule,
|
|
74
|
-
NumericTextBoxModule,
|
|
75
|
-
MaskedTextBoxModule,
|
|
76
|
-
ColorPickerModule,
|
|
77
|
-
CheckBoxModule,
|
|
78
|
-
RadioButtonModule,
|
|
79
|
-
FormFieldModule,
|
|
80
|
-
SignatureModule,
|
|
81
|
-
RatingModule] });
|
|
87
|
+
InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, imports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.TextBoxSuffixTemplateDirective, i5.TextBoxPrefixTemplateDirective, i6.TextBoxCustomMessagesComponent, i7.NumericTextBoxComponent, i8.NumericTextBoxCustomMessagesComponent, i9.PrefixTemplateDirective, i9.SuffixTemplateDirective, i10.MaskedTextBoxComponent, i11.TextAreaComponent, i12.TextAreaDirective, i13.TextAreaPrefixComponent, i14.TextAreaSuffixComponent, i15.CheckBoxComponent, i16.CheckBoxDirective, i17.RadioButtonComponent, i18.RadioButtonDirective, i19.SwitchComponent, i20.SwitchCustomMessagesComponent, i21.FormFieldComponent, i22.HintComponent, i23.ErrorComponent, i24.SliderComponent, i25.SliderCustomMessagesComponent, i26.LabelTemplateDirective, i27.RangeSliderComponent, i28.RangeSliderCustomMessagesComponent, i26.LabelTemplateDirective, i29.RatingComponent, i30.RatingItemTemplateDirective, i31.RatingHoveredItemTemplateDirective, i32.RatingSelectedItemTemplateDirective, i33.SignatureComponent, i34.SignatureCustomMessagesComponent, i35.ColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i37.FlatColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i38.ColorGradientComponent, i36.ColorPickerCustomMessagesComponent, i39.ColorPaletteComponent, i36.ColorPickerCustomMessagesComponent], exports: [i1.TextBoxDirective, i2.TextBoxComponent, i3.InputSeparatorComponent, i4.TextBoxSuffixTemplateDirective, i5.TextBoxPrefixTemplateDirective, i6.TextBoxCustomMessagesComponent, i7.NumericTextBoxComponent, i8.NumericTextBoxCustomMessagesComponent, i9.PrefixTemplateDirective, i9.SuffixTemplateDirective, i10.MaskedTextBoxComponent, i11.TextAreaComponent, i12.TextAreaDirective, i13.TextAreaPrefixComponent, i14.TextAreaSuffixComponent, i15.CheckBoxComponent, i16.CheckBoxDirective, i17.RadioButtonComponent, i18.RadioButtonDirective, i19.SwitchComponent, i20.SwitchCustomMessagesComponent, i21.FormFieldComponent, i22.HintComponent, i23.ErrorComponent, i24.SliderComponent, i25.SliderCustomMessagesComponent, i26.LabelTemplateDirective, i27.RangeSliderComponent, i28.RangeSliderCustomMessagesComponent, i26.LabelTemplateDirective, i29.RatingComponent, i30.RatingItemTemplateDirective, i31.RatingHoveredItemTemplateDirective, i32.RatingSelectedItemTemplateDirective, i33.SignatureComponent, i34.SignatureCustomMessagesComponent, i35.ColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i37.FlatColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i38.ColorGradientComponent, i36.ColorPickerCustomMessagesComponent, i39.ColorPaletteComponent, i36.ColorPickerCustomMessagesComponent] });
|
|
88
|
+
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i2.TextBoxComponent, i3.InputSeparatorComponent, i6.TextBoxCustomMessagesComponent, i7.NumericTextBoxComponent, i8.NumericTextBoxCustomMessagesComponent, i10.MaskedTextBoxComponent, i11.TextAreaComponent, i13.TextAreaPrefixComponent, i14.TextAreaSuffixComponent, i15.CheckBoxComponent, i17.RadioButtonComponent, i19.SwitchComponent, i20.SwitchCustomMessagesComponent, i21.FormFieldComponent, i22.HintComponent, i23.ErrorComponent, i24.SliderComponent, i25.SliderCustomMessagesComponent, i27.RangeSliderComponent, i28.RangeSliderCustomMessagesComponent, i29.RatingComponent, i33.SignatureComponent, i34.SignatureCustomMessagesComponent, i35.ColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i37.FlatColorPickerComponent, i36.ColorPickerCustomMessagesComponent, i38.ColorGradientComponent, i36.ColorPickerCustomMessagesComponent, i39.ColorPaletteComponent, i36.ColorPickerCustomMessagesComponent] });
|
|
82
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InputsModule, decorators: [{
|
|
83
90
|
type: NgModule,
|
|
84
91
|
args: [{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
SliderModule,
|
|
89
|
-
RangeSliderModule,
|
|
90
|
-
SwitchModule,
|
|
91
|
-
NumericTextBoxModule,
|
|
92
|
-
MaskedTextBoxModule,
|
|
93
|
-
ColorPickerModule,
|
|
94
|
-
CheckBoxModule,
|
|
95
|
-
RadioButtonModule,
|
|
96
|
-
FormFieldModule,
|
|
97
|
-
SignatureModule,
|
|
98
|
-
RatingModule
|
|
99
|
-
],
|
|
100
|
-
imports: [CommonModule]
|
|
92
|
+
imports: [...KENDO_INPUTS],
|
|
93
|
+
exports: [...KENDO_INPUTS],
|
|
94
|
+
providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
|
101
95
|
}]
|
|
102
96
|
}] });
|
|
@@ -4,19 +4,18 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, Optional, Output, Renderer2, ViewChild, forwardRef, NgZone, Injector, isDevMode, ChangeDetectorRef, ContentChild } from '@angular/core';
|
|
6
6
|
import { NG_VALIDATORS, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
7
|
-
import { guid, hasObservers, isChanged, isControlRequired, isObjectPresent, KendoInput, parseAttributes, PrefixTemplateDirective, removeHTMLAttributes, setHTMLAttributes, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
7
|
+
import { EventsOutsideAngularDirective, guid, hasObservers, isChanged, isControlRequired, isObjectPresent, KendoInput, parseAttributes, PrefixTemplateDirective, removeHTMLAttributes, setHTMLAttributes, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
8
8
|
import { RTL } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
11
|
import { MaskingService } from './masking.service';
|
|
12
12
|
import { invokeElementMethod } from '../common/dom-utils';
|
|
13
13
|
import { requiresZoneOnBlur, isPresent, getStylingClasses } from '../common/utils';
|
|
14
|
+
import { InputSeparatorComponent } from '../shared/input-separator.component';
|
|
15
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
16
|
+
import { SharedInputEventsDirective } from '../shared/shared-events.directive';
|
|
14
17
|
import * as i0 from "@angular/core";
|
|
15
18
|
import * as i1 from "./masking.service";
|
|
16
|
-
import * as i2 from "@angular/common";
|
|
17
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
18
|
-
import * as i4 from "../shared/input-separator.component";
|
|
19
|
-
import * as i5 from "../shared/shared-events.directive";
|
|
20
19
|
const resolvedPromise = Promise.resolve(null);
|
|
21
20
|
const FOCUSED = 'k-focus';
|
|
22
21
|
const DEFAULT_SIZE = 'medium';
|
|
@@ -651,7 +650,7 @@ export class MaskedTextBoxComponent {
|
|
|
651
650
|
}
|
|
652
651
|
}
|
|
653
652
|
MaskedTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxComponent, deps: [{ token: i1.MaskingService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
654
|
-
MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MaskedTextBoxComponent, selector: "kendo-maskedtextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", size: "size", rounded: "rounded", fillMode: "fillMode", mask: "mask", value: "value", rules: "rules", prompt: "prompt", promptPlaceholder: "promptPlaceholder", includeLiterals: "includeLiterals", maskOnFocus: "maskOnFocus", maskValidation: "maskValidation", tabindex: "tabindex", tabIndex: "tabIndex", inputAttributes: "inputAttributes" }, outputs: { onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", valueChange: "valueChange" }, host: { listeners: { "paste": "pasteHandler($event)", "input": "inputHandler($event)" }, properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-input": "this.hostClasses", "class.k-maskedtextbox": "this.hostClasses", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
|
|
653
|
+
MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MaskedTextBoxComponent, isStandalone: true, selector: "kendo-maskedtextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", size: "size", rounded: "rounded", fillMode: "fillMode", mask: "mask", value: "value", rules: "rules", prompt: "prompt", promptPlaceholder: "promptPlaceholder", includeLiterals: "includeLiterals", maskOnFocus: "maskOnFocus", maskValidation: "maskValidation", tabindex: "tabindex", tabIndex: "tabIndex", inputAttributes: "inputAttributes" }, outputs: { onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", valueChange: "valueChange" }, host: { listeners: { "paste": "pasteHandler($event)", "input": "inputHandler($event)" }, properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-input": "this.hostClasses", "class.k-maskedtextbox": "this.hostClasses", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
|
|
655
654
|
MaskingService,
|
|
656
655
|
{
|
|
657
656
|
multi: true,
|
|
@@ -708,7 +707,7 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
708
707
|
</ng-template>
|
|
709
708
|
</span>
|
|
710
709
|
</ng-container>
|
|
711
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
710
|
+
`, 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: "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"] }] });
|
|
712
711
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxComponent, decorators: [{
|
|
713
712
|
type: Component,
|
|
714
713
|
args: [{
|
|
@@ -772,7 +771,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
772
771
|
</ng-template>
|
|
773
772
|
</span>
|
|
774
773
|
</ng-container>
|
|
775
|
-
|
|
774
|
+
`,
|
|
775
|
+
standalone: true,
|
|
776
|
+
imports: [SharedInputEventsDirective, NgIf, NgTemplateOutlet, InputSeparatorComponent, EventsOutsideAngularDirective]
|
|
776
777
|
}]
|
|
777
778
|
}], ctorParameters: function () { return [{ type: i1.MaskingService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
778
779
|
type: Optional
|
|
@@ -3,12 +3,10 @@
|
|
|
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 { CommonModule } from '@angular/common';
|
|
8
|
-
import { AdornmentsModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
|
-
import { SharedModule } from './shared.module';
|
|
10
|
-
import { SharedEventsModule } from './shared-events.module';
|
|
6
|
+
import { KENDO_MASKEDTEXTBOX } from './directives';
|
|
11
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "./maskedtextbox/maskedtextbox.component";
|
|
9
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
12
10
|
/**
|
|
13
11
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
12
|
* definition for the MaskedTextBox component.
|
|
@@ -43,33 +41,12 @@ import * as i0 from "@angular/core";
|
|
|
43
41
|
export class MaskedTextBoxModule {
|
|
44
42
|
}
|
|
45
43
|
MaskedTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46
|
-
MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule,
|
|
47
|
-
|
|
48
|
-
SharedModule,
|
|
49
|
-
AdornmentsModule,
|
|
50
|
-
SharedEventsModule], exports: [MaskedTextBoxComponent,
|
|
51
|
-
AdornmentsModule] });
|
|
52
|
-
MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [CommonModule,
|
|
53
|
-
EventsModule,
|
|
54
|
-
SharedModule,
|
|
55
|
-
AdornmentsModule,
|
|
56
|
-
SharedEventsModule, AdornmentsModule] });
|
|
44
|
+
MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [i1.MaskedTextBoxComponent], exports: [i1.MaskedTextBoxComponent] });
|
|
45
|
+
MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, imports: [KENDO_MASKEDTEXTBOX] });
|
|
57
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MaskedTextBoxModule, decorators: [{
|
|
58
47
|
type: NgModule,
|
|
59
48
|
args: [{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
],
|
|
63
|
-
exports: [
|
|
64
|
-
MaskedTextBoxComponent,
|
|
65
|
-
AdornmentsModule
|
|
66
|
-
],
|
|
67
|
-
imports: [
|
|
68
|
-
CommonModule,
|
|
69
|
-
EventsModule,
|
|
70
|
-
SharedModule,
|
|
71
|
-
AdornmentsModule,
|
|
72
|
-
SharedEventsModule
|
|
73
|
-
],
|
|
49
|
+
imports: [...KENDO_MASKEDTEXTBOX],
|
|
50
|
+
exports: [...KENDO_MASKEDTEXTBOX]
|
|
74
51
|
}]
|
|
75
52
|
}] });
|
|
@@ -20,7 +20,7 @@ export class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessage
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
NumericTextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericTextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages", providers: [
|
|
23
|
+
NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericTextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-numerictextbox-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: NumericTextBoxMessages,
|
|
26
26
|
useExisting: forwardRef(() => NumericTextBoxCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-numerictextbox-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedNumericTextBoxMessagesDirective extends NumericTextBoxMess
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedNumericTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedNumericTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedNumericTextBoxMessagesDirective, isStandalone: true, selector: "[kendoNumericTextBoxLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: NumericTextBoxMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedNumericTextBoxMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedNumericTextBoxMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoNumericTextBoxLocalizedMessages]'
|
|
35
|
+
selector: '[kendoNumericTextBoxLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|