@progress/kendo-angular-inputs 21.4.1 → 22.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/colorpicker/localization/messages.d.ts +1 -1
  2. package/common/radio-checkbox.base.d.ts +1 -1
  3. package/fesm2022/progress-kendo-angular-inputs.mjs +321 -321
  4. package/numerictextbox/localization/messages.d.ts +1 -1
  5. package/otpinput/localization/messages.d.ts +1 -1
  6. package/package.json +17 -25
  7. package/rangeslider/localization/messages.d.ts +1 -1
  8. package/signature/localization/messages.d.ts +1 -1
  9. package/slider/localization/messages.d.ts +1 -1
  10. package/sliders-common/slider-base.d.ts +1 -1
  11. package/switch/localization/messages.d.ts +1 -1
  12. package/text-fields-common/text-fields-base.d.ts +1 -1
  13. package/textbox/localization/messages.d.ts +1 -1
  14. package/esm2022/checkbox/checkbox.component.mjs +0 -227
  15. package/esm2022/checkbox/checkbox.directive.mjs +0 -96
  16. package/esm2022/checkbox/checked-state.mjs +0 -5
  17. package/esm2022/checkbox.module.mjs +0 -42
  18. package/esm2022/colorpicker/adaptiveness/adaptive-close-button.component.mjs +0 -62
  19. package/esm2022/colorpicker/adaptiveness/adaptive-renderer.component.mjs +0 -219
  20. package/esm2022/colorpicker/color-contrast-svg.component.mjs +0 -108
  21. package/esm2022/colorpicker/color-gradient-numeric-label.directive.mjs +0 -37
  22. package/esm2022/colorpicker/color-gradient-text-label.directive.mjs +0 -34
  23. package/esm2022/colorpicker/color-gradient.component.mjs +0 -1110
  24. package/esm2022/colorpicker/color-input.component.mjs +0 -498
  25. package/esm2022/colorpicker/color-palette.component.mjs +0 -629
  26. package/esm2022/colorpicker/colorpicker.component.mjs +0 -1315
  27. package/esm2022/colorpicker/constants.mjs +0 -40
  28. package/esm2022/colorpicker/contrast-validation.component.mjs +0 -83
  29. package/esm2022/colorpicker/contrast.component.mjs +0 -114
  30. package/esm2022/colorpicker/events/active-color-click-event.mjs +0 -55
  31. package/esm2022/colorpicker/events/cancel-event.mjs +0 -18
  32. package/esm2022/colorpicker/events/close-event.mjs +0 -10
  33. package/esm2022/colorpicker/events/kendo-drag-event.mjs +0 -5
  34. package/esm2022/colorpicker/events/open-event.mjs +0 -10
  35. package/esm2022/colorpicker/events.mjs +0 -8
  36. package/esm2022/colorpicker/flatcolorpicker-actions.component.mjs +0 -112
  37. package/esm2022/colorpicker/flatcolorpicker-header.component.mjs +0 -244
  38. package/esm2022/colorpicker/flatcolorpicker.component.mjs +0 -942
  39. package/esm2022/colorpicker/localization/colorgradient-localization.service.mjs +0 -46
  40. package/esm2022/colorpicker/localization/colorpalette-localization.service.mjs +0 -46
  41. package/esm2022/colorpicker/localization/colorpicker-localization.service.mjs +0 -31
  42. package/esm2022/colorpicker/localization/custom-messages.component.mjs +0 -51
  43. package/esm2022/colorpicker/localization/flatcolorpicker-localization.service.mjs +0 -46
  44. package/esm2022/colorpicker/localization/localized-colorpicker-messages.directive.mjs +0 -39
  45. package/esm2022/colorpicker/localization/messages.mjs +0 -201
  46. package/esm2022/colorpicker/models/actions-layout.mjs +0 -5
  47. package/esm2022/colorpicker/models/adaptive-mode.mjs +0 -8
  48. package/esm2022/colorpicker/models/colorpicker-view.mjs +0 -5
  49. package/esm2022/colorpicker/models/gradient-settings.mjs +0 -5
  50. package/esm2022/colorpicker/models/hsva.mjs +0 -5
  51. package/esm2022/colorpicker/models/output-format.mjs +0 -5
  52. package/esm2022/colorpicker/models/palette-presets.mjs +0 -62
  53. package/esm2022/colorpicker/models/palette-settings.mjs +0 -5
  54. package/esm2022/colorpicker/models/popup-settings.mjs +0 -5
  55. package/esm2022/colorpicker/models/rgb.mjs +0 -5
  56. package/esm2022/colorpicker/models/rgba.mjs +0 -5
  57. package/esm2022/colorpicker/models/table-cell.mjs +0 -5
  58. package/esm2022/colorpicker/models/tile-size.mjs +0 -5
  59. package/esm2022/colorpicker/models.mjs +0 -16
  60. package/esm2022/colorpicker/services/color-palette.service.mjs +0 -65
  61. package/esm2022/colorpicker/services/flatcolorpicker.service.mjs +0 -39
  62. package/esm2022/colorpicker/utils/color-parser.mjs +0 -164
  63. package/esm2022/colorpicker/utils/contrast-curve.mjs +0 -85
  64. package/esm2022/colorpicker/utils.mjs +0 -6
  65. package/esm2022/colorpicker.module.mjs +0 -50
  66. package/esm2022/common/dom-utils.mjs +0 -36
  67. package/esm2022/common/formservice.service.mjs +0 -21
  68. package/esm2022/common/math.mjs +0 -65
  69. package/esm2022/common/models/fillmode.mjs +0 -5
  70. package/esm2022/common/models/gutters.mjs +0 -5
  71. package/esm2022/common/models/responsive-breakpoints.mjs +0 -5
  72. package/esm2022/common/models/rounded.mjs +0 -5
  73. package/esm2022/common/models/size.mjs +0 -5
  74. package/esm2022/common/models/styling-classes.mjs +0 -5
  75. package/esm2022/common/models/type.mjs +0 -5
  76. package/esm2022/common/models.mjs +0 -9
  77. package/esm2022/common/radio-checkbox.base.mjs +0 -295
  78. package/esm2022/common/utils.mjs +0 -88
  79. package/esm2022/directives.mjs +0 -430
  80. package/esm2022/form/form.component.mjs +0 -163
  81. package/esm2022/form/formseparator.component.mjs +0 -80
  82. package/esm2022/form/utils.mjs +0 -147
  83. package/esm2022/form.module.mjs +0 -46
  84. package/esm2022/formfield/error.component.mjs +0 -70
  85. package/esm2022/formfield/formfield.component.mjs +0 -353
  86. package/esm2022/formfield/hint.component.mjs +0 -65
  87. package/esm2022/formfield/models/message-align.mjs +0 -5
  88. package/esm2022/formfield/models/orientation.mjs +0 -5
  89. package/esm2022/formfield/models/show-options.mjs +0 -5
  90. package/esm2022/formfield.module.mjs +0 -43
  91. package/esm2022/formfieldset/formfieldset.component.mjs +0 -174
  92. package/esm2022/index.mjs +0 -91
  93. package/esm2022/inputs.module.mjs +0 -91
  94. package/esm2022/maskedtextbox/maskedtextbox.component.mjs +0 -876
  95. package/esm2022/maskedtextbox/masking.service.mjs +0 -189
  96. package/esm2022/maskedtextbox/parsing/combinators.mjs +0 -28
  97. package/esm2022/maskedtextbox/parsing/parsers.mjs +0 -148
  98. package/esm2022/maskedtextbox/parsing/result.mjs +0 -44
  99. package/esm2022/maskedtextbox/parsing/stream.mjs +0 -43
  100. package/esm2022/maskedtextbox.module.mjs +0 -43
  101. package/esm2022/numerictextbox/arrow-direction.mjs +0 -13
  102. package/esm2022/numerictextbox/constants.mjs +0 -28
  103. package/esm2022/numerictextbox/localization/custom-messages.component.mjs +0 -55
  104. package/esm2022/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +0 -39
  105. package/esm2022/numerictextbox/localization/messages.mjs +0 -33
  106. package/esm2022/numerictextbox/numerictextbox.component.mjs +0 -1314
  107. package/esm2022/numerictextbox/utils.mjs +0 -92
  108. package/esm2022/numerictextbox.module.mjs +0 -46
  109. package/esm2022/otp.module.mjs +0 -44
  110. package/esm2022/otpinput/localization/custom-messages.component.mjs +0 -45
  111. package/esm2022/otpinput/localization/localized-textbox-messages.directive.mjs +0 -39
  112. package/esm2022/otpinput/localization/messages.mjs +0 -34
  113. package/esm2022/otpinput/models/otpinput-type.mjs +0 -5
  114. package/esm2022/otpinput/models/separator-icon.mjs +0 -5
  115. package/esm2022/otpinput/otpinput-separator.component.mjs +0 -93
  116. package/esm2022/otpinput/otpinput.component.mjs +0 -936
  117. package/esm2022/package-metadata.mjs +0 -16
  118. package/esm2022/progress-kendo-angular-inputs.mjs +0 -8
  119. package/esm2022/radiobutton/radiobutton.component.mjs +0 -212
  120. package/esm2022/radiobutton/radiobutton.directive.mjs +0 -81
  121. package/esm2022/radiobutton.module.mjs +0 -43
  122. package/esm2022/rangeslider/localization/custom-messages.component.mjs +0 -53
  123. package/esm2022/rangeslider/localization/localized-rangeslider-messages.directive.mjs +0 -39
  124. package/esm2022/rangeslider/localization/messages.mjs +0 -33
  125. package/esm2022/rangeslider/rangeslider-model.mjs +0 -53
  126. package/esm2022/rangeslider/rangeslider-value.type.mjs +0 -5
  127. package/esm2022/rangeslider/rangeslider.component.mjs +0 -625
  128. package/esm2022/rangeslider.module.mjs +0 -46
  129. package/esm2022/rating/directives/rating-hovered-item.directive.mjs +0 -35
  130. package/esm2022/rating/directives/rating-item.directive.mjs +0 -34
  131. package/esm2022/rating/directives/rating-selected-item.directive.mjs +0 -36
  132. package/esm2022/rating/models/precision.mjs +0 -5
  133. package/esm2022/rating/models/rating-item.interface.mjs +0 -5
  134. package/esm2022/rating/models/selection.mjs +0 -5
  135. package/esm2022/rating/rating.component.mjs +0 -754
  136. package/esm2022/rating.module.mjs +0 -46
  137. package/esm2022/shared/input-separator.component.mjs +0 -55
  138. package/esm2022/shared/input-spacer.component.mjs +0 -56
  139. package/esm2022/shared/shared-events.directive.mjs +0 -102
  140. package/esm2022/shared/utils.mjs +0 -13
  141. package/esm2022/signature/events/close-event.mjs +0 -10
  142. package/esm2022/signature/events/index.mjs +0 -6
  143. package/esm2022/signature/events/open-event.mjs +0 -10
  144. package/esm2022/signature/localization/custom-messages.component.mjs +0 -43
  145. package/esm2022/signature/localization/index.mjs +0 -7
  146. package/esm2022/signature/localization/localized-signature-messages.directive.mjs +0 -39
  147. package/esm2022/signature/localization/messages.mjs +0 -45
  148. package/esm2022/signature/signature.component.mjs +0 -981
  149. package/esm2022/signature.module.mjs +0 -47
  150. package/esm2022/slider/localization/custom-messages.component.mjs +0 -43
  151. package/esm2022/slider/localization/localized-slider-messages.directive.mjs +0 -39
  152. package/esm2022/slider/localization/messages.mjs +0 -39
  153. package/esm2022/slider/slider-model.mjs +0 -32
  154. package/esm2022/slider/slider.component.mjs +0 -671
  155. package/esm2022/slider.module.mjs +0 -48
  156. package/esm2022/sliders-common/label-template.directive.mjs +0 -37
  157. package/esm2022/sliders-common/slider-base.mjs +0 -300
  158. package/esm2022/sliders-common/slider-model.base.mjs +0 -118
  159. package/esm2022/sliders-common/slider-ticks.component.mjs +0 -147
  160. package/esm2022/sliders-common/sliders-util.mjs +0 -206
  161. package/esm2022/sliders-common/title-callback.mjs +0 -5
  162. package/esm2022/switch/events/blur-event.mjs +0 -13
  163. package/esm2022/switch/events/focus-event.mjs +0 -13
  164. package/esm2022/switch/localization/custom-messages.component.mjs +0 -43
  165. package/esm2022/switch/localization/localized-switch-messages.directive.mjs +0 -39
  166. package/esm2022/switch/localization/messages.mjs +0 -33
  167. package/esm2022/switch/switch.component.mjs +0 -585
  168. package/esm2022/switch.module.mjs +0 -44
  169. package/esm2022/text-fields-common/text-fields-base.mjs +0 -150
  170. package/esm2022/textarea/models/adornments-orientation.mjs +0 -5
  171. package/esm2022/textarea/models/flow.mjs +0 -5
  172. package/esm2022/textarea/models/resize.mjs +0 -5
  173. package/esm2022/textarea/models/textarea-settings.mjs +0 -5
  174. package/esm2022/textarea/textarea-prefix.component.mjs +0 -67
  175. package/esm2022/textarea/textarea-suffix.component.mjs +0 -67
  176. package/esm2022/textarea/textarea.component.mjs +0 -740
  177. package/esm2022/textarea/textarea.directive.mjs +0 -288
  178. package/esm2022/textarea.module.mjs +0 -46
  179. package/esm2022/textbox/localization/custom-messages.component.mjs +0 -43
  180. package/esm2022/textbox/localization/localized-textbox-messages.directive.mjs +0 -39
  181. package/esm2022/textbox/localization/messages.mjs +0 -27
  182. package/esm2022/textbox/models/icon-show-options.mjs +0 -5
  183. package/esm2022/textbox/textbox-prefix.directive.mjs +0 -50
  184. package/esm2022/textbox/textbox-suffix.directive.mjs +0 -49
  185. package/esm2022/textbox/textbox.component.mjs +0 -933
  186. package/esm2022/textbox/textbox.directive.mjs +0 -125
  187. package/esm2022/textbox.module.mjs +0 -51
  188. package/esm2022/validators/max.validator.mjs +0 -21
  189. package/esm2022/validators/min.validator.mjs +0 -21
@@ -1,288 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, ElementRef, EventEmitter, HostBinding, Renderer2, Optional, Inject, Input, NgZone, forwardRef, Output, ChangeDetectorRef, Injector } from '@angular/core';
6
- import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
7
- import { hasObservers, KendoInput, isDocumentAvailable } from '@progress/kendo-angular-common';
8
- import { requiresZoneOnBlur } from '../common/utils';
9
- import { RTL } from '@progress/kendo-angular-l10n';
10
- import { fromEvent } from 'rxjs';
11
- import { debounceTime, take } from 'rxjs/operators';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * Represents the Kendo UI TextArea directive for the Inputs components for Angular.
15
- *
16
- * @example
17
- * ```html
18
- * <textarea kendoTextArea></textarea>
19
- * ```
20
- */
21
- export class TextAreaDirective {
22
- renderer;
23
- element;
24
- zone;
25
- changeDetector;
26
- injector;
27
- elementClasses = true;
28
- autofillClass = true;
29
- direction;
30
- /**
31
- * Fires when the TextArea value changes.
32
- */
33
- valueChange = new EventEmitter();
34
- /**
35
- * Sets whether the `textarea` element resizes its height automatically
36
- * ([see example](slug:textarea_sizing#toc-auto-resizing)).
37
- *
38
- * @default false
39
- */
40
- autoSize = false;
41
- /**
42
- * Sets the textarea value.
43
- */
44
- value;
45
- /**
46
- * @hidden
47
- */
48
- onFocus = new EventEmitter();
49
- /**
50
- * @hidden
51
- */
52
- onBlur = new EventEmitter();
53
- /**
54
- * @hidden
55
- */
56
- onValueChange = new EventEmitter();
57
- /**
58
- * @hidden
59
- */
60
- autoFillStart = new EventEmitter();
61
- /**
62
- * @hidden
63
- */
64
- autoFillEnd = new EventEmitter();
65
- get id() {
66
- return this.element.nativeElement.id;
67
- }
68
- set id(id) {
69
- this.renderer.setAttribute(this.element.nativeElement, 'id', id);
70
- }
71
- listeners = [];
72
- inputSubscription;
73
- initialHeight;
74
- control;
75
- resizeSubscription;
76
- resizeObserver;
77
- constructor(renderer, element, zone, changeDetector, injector, rtl) {
78
- this.renderer = renderer;
79
- this.element = element;
80
- this.zone = zone;
81
- this.changeDetector = changeDetector;
82
- this.injector = injector;
83
- this.direction = rtl ? 'rtl' : 'ltr';
84
- }
85
- /**
86
- * @hidden
87
- */
88
- writeValue(value) {
89
- this.elementValue = value;
90
- this.resize();
91
- }
92
- /**
93
- * @hidden
94
- */
95
- registerOnChange(fn) {
96
- this.ngChange = fn;
97
- }
98
- /**
99
- * @hidden
100
- */
101
- registerOnTouched(fn) {
102
- this.ngTouched = fn;
103
- }
104
- /**
105
- * @hidden
106
- */
107
- setDisabledState(isDisabled) {
108
- this.setElementProperty('disabled', isDisabled);
109
- }
110
- ngOnInit() {
111
- const element = this.element.nativeElement;
112
- this.zone.runOutsideAngular(() => {
113
- this.listeners = [
114
- this.renderer.listen(element, 'focus', this.handleFocus.bind(this)),
115
- this.renderer.listen(element, 'blur', this.handleBlur.bind(this)),
116
- this.renderer.listen(element, 'animationstart', (e) => {
117
- if (e.animationName === 'autoFillStart') {
118
- this.autoFillStart.emit();
119
- }
120
- else if (e.animationName === 'autoFillEnd') {
121
- this.autoFillEnd.emit();
122
- }
123
- })
124
- ];
125
- if (isDocumentAvailable() && this.autoSize) {
126
- this.resizeSubscription = fromEvent(window, 'resize')
127
- .pipe((debounceTime(50)))
128
- .subscribe(() => this.resize());
129
- this.attachResizeObserver();
130
- }
131
- this.inputSubscription = fromEvent(element, 'input')
132
- .subscribe(this.handleInput.bind(this));
133
- });
134
- this.control = this.injector.get(NgControl, null);
135
- }
136
- ngOnChanges(changes) {
137
- const element = this.element.nativeElement;
138
- if (changes.value) {
139
- this.elementValue = this.value;
140
- }
141
- if (changes.autoSize) {
142
- if (this.autoSize) {
143
- this.initialHeight = element.offsetHeight;
144
- this.renderer.setStyle(element, 'resize', 'none');
145
- }
146
- else {
147
- this.renderer.setStyle(element, 'overflow-y', 'auto');
148
- this.renderer.setStyle(element, 'resize', 'both');
149
- element.style.height = `${this.initialHeight}px`;
150
- }
151
- }
152
- this.zone.onStable.pipe(take(1)).subscribe(() => this.resize());
153
- }
154
- ngOnDestroy() {
155
- this.listeners.forEach(listener => listener());
156
- if (this.inputSubscription) {
157
- this.inputSubscription.unsubscribe();
158
- }
159
- if (this.resizeSubscription) {
160
- this.resizeSubscription.unsubscribe();
161
- }
162
- if (this.resizeObserver) {
163
- this.resizeObserver.disconnect();
164
- }
165
- }
166
- ngChange = (_) => { };
167
- ngTouched = () => { };
168
- get elementValue() {
169
- if (this.element) {
170
- return this.element.nativeElement.value;
171
- }
172
- return '';
173
- }
174
- set elementValue(value) {
175
- this.setElementProperty('value', (value === undefined || value === null) ? '' : value);
176
- }
177
- setElementProperty(name, value) {
178
- if (this.element) {
179
- this.renderer.setProperty(this.element.nativeElement, name, value);
180
- }
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
- }
191
- resize() {
192
- if (!this.autoSize) {
193
- return;
194
- }
195
- const element = this.element.nativeElement;
196
- this.renderer.setStyle(element, 'overflow-y', 'hidden');
197
- element.style.height = `${this.initialHeight}px`;
198
- const scrollHeight = element.scrollHeight;
199
- if (scrollHeight > this.initialHeight) {
200
- element.style.height = `${scrollHeight}px`;
201
- }
202
- }
203
- handleInput() {
204
- const value = this.elementValue;
205
- this.value = value;
206
- if (this.control || hasObservers(this.onValueChange) || hasObservers(this.valueChange)) {
207
- this.zone.run(() => {
208
- this.ngChange(value);
209
- this.onValueChange.emit(value);
210
- this.valueChange.emit(value);
211
- this.changeDetector.markForCheck();
212
- });
213
- }
214
- this.resize();
215
- }
216
- handleFocus() {
217
- if (hasObservers(this.onFocus)) {
218
- this.zone.run(() => {
219
- this.onFocus.emit();
220
- });
221
- }
222
- }
223
- handleBlur() {
224
- if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.control)) {
225
- this.zone.run(() => {
226
- this.ngTouched();
227
- this.onBlur.emit();
228
- this.changeDetector.markForCheck();
229
- });
230
- }
231
- }
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: [{
234
- provide: NG_VALUE_ACCESSOR,
235
- useExisting: forwardRef(() => TextAreaDirective),
236
- multi: true
237
- }, {
238
- provide: KendoInput,
239
- useExisting: forwardRef(() => TextAreaDirective)
240
- }], usesOnChanges: true, ngImport: i0 });
241
- }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaDirective, decorators: [{
243
- type: Directive,
244
- args: [{
245
- providers: [{
246
- provide: NG_VALUE_ACCESSOR,
247
- useExisting: forwardRef(() => TextAreaDirective),
248
- multi: true
249
- }, {
250
- provide: KendoInput,
251
- useExisting: forwardRef(() => TextAreaDirective)
252
- }],
253
- selector: 'textarea[kendoTextArea]',
254
- standalone: true
255
- }]
256
- }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: undefined, decorators: [{
257
- type: Optional
258
- }, {
259
- type: Inject,
260
- args: [RTL]
261
- }] }], propDecorators: { elementClasses: [{
262
- type: HostBinding,
263
- args: ['class.k-textarea']
264
- }, {
265
- type: HostBinding,
266
- args: ['class.k-input']
267
- }, {
268
- type: HostBinding,
269
- args: ['class.k-input-md']
270
- }, {
271
- type: HostBinding,
272
- args: ['class.k-rounded-md']
273
- }, {
274
- type: HostBinding,
275
- args: ['class.k-input-solid']
276
- }], autofillClass: [{
277
- type: HostBinding,
278
- args: ['class.k-autofill']
279
- }], direction: [{
280
- type: HostBinding,
281
- args: ['attr.dir']
282
- }], valueChange: [{
283
- type: Output
284
- }], autoSize: [{
285
- type: Input
286
- }], value: [{
287
- type: Input
288
- }] } });
@@ -1,46 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NgModule } from "@angular/core";
6
- import { KENDO_TEXTAREA } from "./directives";
7
- import { KENDO_ADORNMENTS } from "@progress/kendo-angular-common";
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "./textarea/textarea.component";
10
- import * as i2 from "./textarea/textarea.directive";
11
- import * as i3 from "./textarea/textarea-prefix.component";
12
- import * as i4 from "./textarea/textarea-suffix.component";
13
- import * as i5 from "@progress/kendo-angular-common";
14
- //IMPORTANT: NgModule export kept for backwards compatibility
15
- /**
16
- * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TextArea component.
17
- *
18
- * Use this module to add the TextArea component to your NgModule-based Angular application.
19
- *
20
- * @example
21
- *
22
- * ```typescript
23
- * import { TextAreaModule } from '@progress/kendo-angular-inputs';
24
- * import { NgModule } from '@angular/core';
25
- * import { AppComponent } from './app.component';
26
- *
27
- * @NgModule({
28
- * declarations: [AppComponent],
29
- * imports: [BrowserModule, TextAreaModule],
30
- * bootstrap: [AppComponent]
31
- * })
32
- * export class AppModule {}
33
- * ```
34
- */
35
- export class TextAreaModule {
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
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextAreaModule, decorators: [{
41
- type: NgModule,
42
- args: [{
43
- imports: [...KENDO_TEXTAREA, ...KENDO_ADORNMENTS],
44
- exports: [...KENDO_TEXTAREA, ...KENDO_ADORNMENTS]
45
- }]
46
- }] });
@@ -1,43 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TextBoxMessages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Overrides the default messages of the TextBox component.
12
- */
13
- export class TextBoxCustomMessagesComponent extends TextBoxMessages {
14
- service;
15
- constructor(service) {
16
- super();
17
- this.service = service;
18
- }
19
- get override() {
20
- return true;
21
- }
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
- {
25
- provide: TextBoxMessages,
26
- useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
27
- }
28
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxCustomMessagesComponent, decorators: [{
31
- type: Component,
32
- args: [{
33
- providers: [
34
- {
35
- provide: TextBoxMessages,
36
- useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
37
- }
38
- ],
39
- selector: 'kendo-textbox-messages',
40
- template: ``,
41
- standalone: true
42
- }]
43
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TextBoxMessages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * @hidden
12
- */
13
- export class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
14
- service;
15
- constructor(service) {
16
- super();
17
- this.service = service;
18
- }
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
- {
22
- provide: TextBoxMessages,
23
- useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedTextBoxMessagesDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- providers: [
31
- {
32
- provide: TextBoxMessages,
33
- useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
34
- }
35
- ],
36
- selector: '[kendoTextBoxLocalizedMessages]',
37
- standalone: true
38
- }]
39
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input } from '@angular/core';
6
- import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class TextBoxMessages extends ComponentMessages {
12
- /**
13
- * The title of the **Clear** button of the TextBox.
14
- */
15
- clear;
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
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxMessages, decorators: [{
20
- type: Directive,
21
- args: [{
22
- // eslint-disable-next-line @angular-eslint/directive-selector
23
- selector: 'kendo-textbox-messages-base'
24
- }]
25
- }], propDecorators: { clear: [{
26
- type: Input
27
- }] } });
@@ -1,5 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export {};
@@ -1,50 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input, Optional, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents a template for prefix adornments in the TextBox component ([see examples](slug:adornments_textbox#toc-prefix-adornments)).
9
- *
10
- * @example
11
- * ```html
12
- * <kendo-textbox>
13
- * <ng-template kendoTextBoxPrefixTemplate>
14
- * <button kendoButton icon="image"></button>
15
- * </ng-template>
16
- * </kendo-textbox>
17
-
18
- * ```
19
- */
20
- export class TextBoxPrefixTemplateDirective {
21
- templateRef;
22
- /**
23
- * Determines whether a separator is shown after the prefix template.
24
- *
25
- * @default false
26
- */
27
- set showSeparator(value) {
28
- this._showSeparator = value;
29
- }
30
- get showSeparator() {
31
- return this._showSeparator;
32
- }
33
- _showSeparator = false;
34
- constructor(templateRef) {
35
- this.templateRef = templateRef;
36
- }
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
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
41
- type: Directive,
42
- args: [{
43
- selector: '[kendoTextBoxPrefixTemplate]',
44
- standalone: true
45
- }]
46
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
47
- type: Optional
48
- }] }], propDecorators: { showSeparator: [{
49
- type: Input
50
- }] } });
@@ -1,49 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input, Optional, TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents a template for suffix adornments in the TextBox component ([see examples](slug:adornments_textbox#toc-suffix-adornments)).
9
- *
10
- * @example
11
- * ```html
12
- * <kendo-textbox>
13
- * <ng-template kendoTextBoxSuffixTemplate>
14
- * <button kendoButton icon="image"></button>
15
- * </ng-template>
16
- * </kendo-textbox>
17
- * ```
18
- */
19
- export class TextBoxSuffixTemplateDirective {
20
- templateRef;
21
- /**
22
- * Determines whether a separator is shown before the suffix template.
23
- *
24
- * @default false
25
- */
26
- set showSeparator(value) {
27
- this._showSeparator = value;
28
- }
29
- get showSeparator() {
30
- return this._showSeparator;
31
- }
32
- _showSeparator = false;
33
- constructor(templateRef) {
34
- this.templateRef = templateRef;
35
- }
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
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
40
- type: Directive,
41
- args: [{
42
- selector: '[kendoTextBoxSuffixTemplate]',
43
- standalone: true
44
- }]
45
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
46
- type: Optional
47
- }] }], propDecorators: { showSeparator: [{
48
- type: Input
49
- }] } });