@progress/kendo-angular-inputs 24.2.2 → 25.0.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.
Files changed (178) hide show
  1. package/fesm2022/progress-kendo-angular-inputs.mjs +318 -318
  2. package/index.d.ts +7117 -103
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +17 -17
  5. package/checkbox/checkbox.component.d.ts +0 -71
  6. package/checkbox/checkbox.directive.d.ts +0 -41
  7. package/checkbox/checked-state.d.ts +0 -17
  8. package/checkbox.module.d.ts +0 -32
  9. package/colorpicker/adaptiveness/adaptive-close-button.component.d.ts +0 -20
  10. package/colorpicker/adaptiveness/adaptive-renderer.component.d.ts +0 -40
  11. package/colorpicker/color-contrast-svg.component.d.ts +0 -29
  12. package/colorpicker/color-gradient-numeric-label.directive.d.ts +0 -20
  13. package/colorpicker/color-gradient-text-label.directive.d.ts +0 -19
  14. package/colorpicker/color-gradient.component.d.ts +0 -306
  15. package/colorpicker/color-input.component.d.ts +0 -108
  16. package/colorpicker/color-palette.component.d.ts +0 -231
  17. package/colorpicker/colorpicker.component.d.ts +0 -425
  18. package/colorpicker/constants.d.ts +0 -41
  19. package/colorpicker/contrast-validation.component.d.ts +0 -24
  20. package/colorpicker/contrast.component.d.ts +0 -25
  21. package/colorpicker/events/active-color-click-event.d.ts +0 -49
  22. package/colorpicker/events/cancel-event.d.ts +0 -15
  23. package/colorpicker/events/close-event.d.ts +0 -10
  24. package/colorpicker/events/kendo-drag-event.d.ts +0 -21
  25. package/colorpicker/events/open-event.d.ts +0 -10
  26. package/colorpicker/events.d.ts +0 -8
  27. package/colorpicker/flatcolorpicker-actions.component.d.ts +0 -26
  28. package/colorpicker/flatcolorpicker-header.component.d.ts +0 -45
  29. package/colorpicker/flatcolorpicker.component.d.ts +0 -281
  30. package/colorpicker/localization/colorgradient-localization.service.d.ts +0 -17
  31. package/colorpicker/localization/colorpalette-localization.service.d.ts +0 -17
  32. package/colorpicker/localization/colorpicker-localization.service.d.ts +0 -14
  33. package/colorpicker/localization/custom-messages.component.d.ts +0 -25
  34. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +0 -17
  35. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +0 -16
  36. package/colorpicker/localization/messages.d.ts +0 -133
  37. package/colorpicker/models/actions-layout.d.ts +0 -8
  38. package/colorpicker/models/adaptive-mode.d.ts +0 -16
  39. package/colorpicker/models/colorpicker-view.d.ts +0 -8
  40. package/colorpicker/models/gradient-settings.d.ts +0 -35
  41. package/colorpicker/models/hsva.d.ts +0 -13
  42. package/colorpicker/models/output-format.d.ts +0 -8
  43. package/colorpicker/models/palette-presets.d.ts +0 -61
  44. package/colorpicker/models/palette-settings.d.ts +0 -30
  45. package/colorpicker/models/popup-settings.d.ts +0 -18
  46. package/colorpicker/models/rgb.d.ts +0 -12
  47. package/colorpicker/models/rgba.d.ts +0 -13
  48. package/colorpicker/models/table-cell.d.ts +0 -11
  49. package/colorpicker/models/tile-size.d.ts +0 -17
  50. package/colorpicker/models.d.ts +0 -16
  51. package/colorpicker/services/color-palette.service.d.ts +0 -19
  52. package/colorpicker/services/flatcolorpicker.service.d.ts +0 -15
  53. package/colorpicker/utils/color-parser.d.ts +0 -77
  54. package/colorpicker/utils/contrast-curve.d.ts +0 -37
  55. package/colorpicker/utils.d.ts +0 -6
  56. package/colorpicker.module.d.ts +0 -35
  57. package/common/dom-utils.d.ts +0 -25
  58. package/common/formservice.service.d.ts +0 -14
  59. package/common/math.d.ts +0 -40
  60. package/common/models/fillmode.d.ts +0 -11
  61. package/common/models/gutters.d.ts +0 -28
  62. package/common/models/responsive-breakpoints.d.ts +0 -34
  63. package/common/models/rounded.d.ts +0 -18
  64. package/common/models/size.d.ts +0 -11
  65. package/common/models/styling-classes.d.ts +0 -11
  66. package/common/models/type.d.ts +0 -12
  67. package/common/models.d.ts +0 -9
  68. package/common/radio-checkbox.base.d.ts +0 -164
  69. package/common/utils.d.ts +0 -68
  70. package/directives.d.ts +0 -334
  71. package/form/form.component.d.ts +0 -76
  72. package/form/formseparator.component.d.ts +0 -32
  73. package/form/utils.d.ts +0 -62
  74. package/form.module.d.ts +0 -36
  75. package/formfield/error.component.d.ts +0 -34
  76. package/formfield/formfield.component.d.ts +0 -117
  77. package/formfield/hint.component.d.ts +0 -32
  78. package/formfield/models/message-align.d.ts +0 -10
  79. package/formfield/models/orientation.d.ts +0 -12
  80. package/formfield/models/show-options.d.ts +0 -14
  81. package/formfield.module.d.ts +0 -33
  82. package/formfieldset/formfieldset.component.d.ts +0 -71
  83. package/inputs.module.d.ts +0 -75
  84. package/maskedtextbox/maskedtextbox.component.d.ts +0 -326
  85. package/maskedtextbox/masking.service.d.ts +0 -48
  86. package/maskedtextbox/parsing/combinators.d.ts +0 -13
  87. package/maskedtextbox/parsing/parsers.d.ts +0 -51
  88. package/maskedtextbox/parsing/result.d.ts +0 -27
  89. package/maskedtextbox/parsing/stream.d.ts +0 -26
  90. package/maskedtextbox.module.d.ts +0 -32
  91. package/numerictextbox/arrow-direction.d.ts +0 -12
  92. package/numerictextbox/constants.d.ts +0 -28
  93. package/numerictextbox/localization/custom-messages.component.d.ts +0 -29
  94. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +0 -16
  95. package/numerictextbox/localization/messages.d.ts +0 -21
  96. package/numerictextbox/numerictextbox.component.d.ts +0 -400
  97. package/numerictextbox/utils.d.ts +0 -44
  98. package/numerictextbox.module.d.ts +0 -33
  99. package/otp.module.d.ts +0 -32
  100. package/otpinput/localization/custom-messages.component.d.ts +0 -19
  101. package/otpinput/localization/localized-textbox-messages.directive.d.ts +0 -16
  102. package/otpinput/localization/messages.d.ts +0 -24
  103. package/otpinput/models/otpinput-type.d.ts +0 -10
  104. package/otpinput/models/separator-icon.d.ts +0 -23
  105. package/otpinput/otpinput-separator.component.d.ts +0 -25
  106. package/otpinput/otpinput.component.d.ts +0 -275
  107. package/package-metadata.d.ts +0 -9
  108. package/radiobutton/radiobutton.component.d.ts +0 -59
  109. package/radiobutton/radiobutton.directive.d.ts +0 -33
  110. package/radiobutton.module.d.ts +0 -33
  111. package/rangeslider/localization/custom-messages.component.d.ts +0 -27
  112. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +0 -16
  113. package/rangeslider/localization/messages.d.ts +0 -21
  114. package/rangeslider/rangeslider-model.d.ts +0 -14
  115. package/rangeslider/rangeslider-value.type.d.ts +0 -9
  116. package/rangeslider/rangeslider.component.d.ts +0 -135
  117. package/rangeslider.module.d.ts +0 -34
  118. package/rating/directives/rating-hovered-item.directive.d.ts +0 -26
  119. package/rating/directives/rating-item.directive.d.ts +0 -25
  120. package/rating/directives/rating-selected-item.directive.d.ts +0 -27
  121. package/rating/models/precision.d.ts +0 -12
  122. package/rating/models/rating-item.interface.d.ts +0 -32
  123. package/rating/models/selection.d.ts +0 -12
  124. package/rating/rating.component.d.ts +0 -182
  125. package/rating.module.d.ts +0 -34
  126. package/shared/input-separator.component.d.ts +0 -32
  127. package/shared/input-spacer.component.d.ts +0 -31
  128. package/shared/shared-events.directive.d.ts +0 -27
  129. package/shared/utils.d.ts +0 -10
  130. package/signature/events/close-event.d.ts +0 -10
  131. package/signature/events/index.d.ts +0 -6
  132. package/signature/events/open-event.d.ts +0 -10
  133. package/signature/localization/custom-messages.component.d.ts +0 -17
  134. package/signature/localization/index.d.ts +0 -7
  135. package/signature/localization/localized-signature-messages.directive.d.ts +0 -16
  136. package/signature/localization/messages.d.ts +0 -29
  137. package/signature/signature.component.d.ts +0 -363
  138. package/signature.module.d.ts +0 -32
  139. package/slider/localization/custom-messages.component.d.ts +0 -17
  140. package/slider/localization/localized-slider-messages.directive.d.ts +0 -16
  141. package/slider/localization/messages.d.ts +0 -25
  142. package/slider/slider-model.d.ts +0 -13
  143. package/slider/slider.component.d.ts +0 -174
  144. package/slider.module.d.ts +0 -34
  145. package/sliders-common/label-template.directive.d.ts +0 -26
  146. package/sliders-common/slider-base.d.ts +0 -161
  147. package/sliders-common/slider-model.base.d.ts +0 -28
  148. package/sliders-common/slider-ticks.component.d.ts +0 -26
  149. package/sliders-common/sliders-util.d.ts +0 -114
  150. package/sliders-common/title-callback.d.ts +0 -26
  151. package/switch/events/blur-event.d.ts +0 -13
  152. package/switch/events/focus-event.d.ts +0 -13
  153. package/switch/localization/custom-messages.component.d.ts +0 -17
  154. package/switch/localization/localized-switch-messages.directive.d.ts +0 -16
  155. package/switch/localization/messages.d.ts +0 -21
  156. package/switch/switch.component.d.ts +0 -204
  157. package/switch.module.d.ts +0 -32
  158. package/text-fields-common/text-fields-base.d.ts +0 -96
  159. package/textarea/models/adornments-orientation.d.ts +0 -12
  160. package/textarea/models/flow.d.ts +0 -12
  161. package/textarea/models/resize.d.ts +0 -15
  162. package/textarea/models/textarea-settings.d.ts +0 -101
  163. package/textarea/textarea-prefix.component.d.ts +0 -35
  164. package/textarea/textarea-suffix.component.d.ts +0 -35
  165. package/textarea/textarea.component.d.ts +0 -240
  166. package/textarea/textarea.directive.d.ts +0 -99
  167. package/textarea.module.d.ts +0 -35
  168. package/textbox/localization/custom-messages.component.d.ts +0 -17
  169. package/textbox/localization/localized-textbox-messages.directive.d.ts +0 -16
  170. package/textbox/localization/messages.d.ts +0 -17
  171. package/textbox/models/icon-show-options.d.ts +0 -13
  172. package/textbox/textbox-prefix.directive.d.ts +0 -33
  173. package/textbox/textbox-suffix.directive.d.ts +0 -32
  174. package/textbox/textbox.component.d.ts +0 -362
  175. package/textbox/textbox.directive.d.ts +0 -58
  176. package/textbox.module.d.ts +0 -38
  177. package/validators/max.validator.d.ts +0 -8
  178. package/validators/min.validator.d.ts +0 -8
@@ -1,306 +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 { ElementRef, Renderer2, NgZone, EventEmitter, SimpleChanges, OnChanges, OnDestroy, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
6
- import { ControlValueAccessor } from '@angular/forms';
7
- import { BehaviorSubject } from 'rxjs';
8
- import { LocalizationService } from '@progress/kendo-angular-l10n';
9
- import { OutputFormat, HSVA } from './models';
10
- import { KendoDragEvent } from './events/kendo-drag-event';
11
- import { ColorInputComponent } from './color-input.component';
12
- import { SVGIcon } from '@progress/kendo-angular-icons';
13
- import { InputSize } from '../common/models';
14
- import * as i0 from "@angular/core";
15
- /**
16
- * Represents the Kendo UI ColorGradient component.
17
- *
18
- * The ColorGradientComponent lets you select a color by moving a drag handle over a gradient area. You can use it directly or as part of the `kendo-colorpicker`.
19
- *
20
- * @example
21
- * ```html
22
- * <kendo-colorgradient [(ngModel)]="color"></kendo-colorgradient>
23
- * ```
24
- *
25
- * @remarks
26
- * Supported children components are: {@link ColorPickerCustomMessagesComponent}.
27
- */
28
- export declare class ColorGradientComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor {
29
- private host;
30
- private ngZone;
31
- private renderer;
32
- private cdr;
33
- private localizationService;
34
- private injector;
35
- hostClasses: boolean;
36
- get readonlyAttribute(): boolean;
37
- get disabledClass(): boolean;
38
- get gradientId(): string;
39
- direction: string;
40
- get hostTabindex(): string;
41
- get ariaRole(): string;
42
- get isControlInvalid(): string;
43
- get isDisabled(): string | undefined;
44
- /**
45
- * @hidden
46
- */
47
- enterHandler(event: any): void;
48
- /**
49
- * @hidden
50
- */
51
- escapeHandler(event: any): void;
52
- /**
53
- * @hidden
54
- */
55
- focusHandler(ev: any): void;
56
- /**
57
- * @hidden
58
- */
59
- adaptiveMode: boolean;
60
- /**
61
- * @hidden
62
- */
63
- id: string;
64
- /**
65
- * Shows or hides the alpha slider.
66
- *
67
- * @default true
68
- */
69
- opacity: boolean;
70
- /**
71
- * Sets the size of the ColorGradient internal elements. The default value is set by the Kendo theme.
72
- *
73
- */
74
- set size(size: InputSize);
75
- get size(): InputSize;
76
- /**
77
- * Disables the ColorGradient. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/forms#managing-the-colorgradient-disabled-state-in-reactive-forms).
78
- *
79
- * @default false
80
- */
81
- disabled: boolean;
82
- /**
83
- * Sets the read-only state of the ColorGradient.
84
- *
85
- * @default false
86
- */
87
- readonly: boolean;
88
- /**
89
- * Shows or hides the **Clear color** button.
90
- *
91
- * @default false
92
- */
93
- clearButton: boolean;
94
- /**
95
- * Sets the delay (in milliseconds) before the value changes on handle drag.
96
- *
97
- * @default 0
98
- */
99
- delay: number;
100
- /**
101
- * Sets the value of the selected color.
102
- */
103
- set value(value: string);
104
- get value(): string;
105
- /**
106
- * Enables the color contrast tool that checks the contrast ratio of the selected color against a predefined background color. [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/contrast-tool).
107
- */
108
- set contrastTool(value: string);
109
- get contrastTool(): string;
110
- /**
111
- * Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
112
- *
113
- * @default 0
114
- */
115
- set tabindex(value: number);
116
- get tabindex(): number;
117
- /**
118
- * Sets the output format of the ColorGradient. The input value may be in a different format, but it will be parsed into the output format after the component processes it.
119
- *
120
- * @default 'rgba'
121
- */
122
- format: OutputFormat;
123
- /**
124
- * Fires when the user selects a new color..
125
- */
126
- valueChange: EventEmitter<string>;
127
- /**
128
- * @hidden
129
- */
130
- backgroundColor: string;
131
- /**
132
- * @hidden
133
- *
134
- * Represents the currently selected `hue`, `saturation`, `value`, and `alpha` values.
135
- * The values are initially set in `ngOnInit` or in `ngOnChanges` and are
136
- * updated on moving the drag handle or the sliders.
137
- */
138
- hsva: BehaviorSubject<HSVA>;
139
- /**
140
- * Returns `true` if the component or its content is focused.
141
- */
142
- get isFocused(): boolean;
143
- /**
144
- * @hidden
145
- */
146
- get alphaSliderValue(): number;
147
- /**
148
- * Sets the step (in pixels) for moving the gradient drag handle with the arrow keys.
149
- *
150
- * @default 5
151
- */
152
- gradientSliderStep: number;
153
- /**
154
- * Sets the step (in pixels) for moving the gradient drag handle with `Shift+arrow keys`.
155
- *
156
- * @default 2
157
- */
158
- gradientSliderSmallStep: number;
159
- /**
160
- * Controls whether ARIA attributes should be applied to the component.
161
- * When used within FlatColorPicker, this should be set to false to comply with accessibility guidelines.
162
- *
163
- * @default true
164
- * @hidden
165
- */
166
- ariaAttributesEnabled: boolean;
167
- gradientDragHandle: ElementRef;
168
- inputs: ColorInputComponent;
169
- private alphaSlider;
170
- private gradientWrapper;
171
- private hsvRectangle;
172
- /**
173
- * @hidden
174
- */
175
- internalNavigation: boolean;
176
- /**
177
- * @hidden
178
- */
179
- dropletSlashIcon: SVGIcon;
180
- private _value;
181
- private _tabindex;
182
- private _contrastTool;
183
- private listeners;
184
- private hueSliderTouched;
185
- private alphaSliderTouched;
186
- private _size;
187
- private updateValues;
188
- private changeRequestsSubscription;
189
- private dynamicRTLSubscription;
190
- private hsvHandleCoordinates;
191
- get gradientRect(): ClientRect;
192
- /**
193
- * @hidden
194
- */
195
- get hsvSliderValueText(): string;
196
- /**
197
- * @hidden
198
- */
199
- get contrastToolVisible(): boolean;
200
- /**
201
- * @hidden
202
- */
203
- get innerTabIndex(): number;
204
- private control;
205
- constructor(host: ElementRef, ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, localizationService: LocalizationService, injector: Injector);
206
- ngOnInit(): void;
207
- ngAfterViewInit(): void;
208
- ngOnChanges(changes: SimpleChanges): void;
209
- ngOnDestroy(): void;
210
- /**
211
- * Focuses the component.
212
- */
213
- focus(): void;
214
- /**
215
- * @hidden
216
- */
217
- reset(): void;
218
- /**
219
- * @hidden
220
- */
221
- handleDragPress(args: KendoDragEvent): void;
222
- /**
223
- * @hidden
224
- */
225
- onHandleDrag(args: any): void;
226
- /**
227
- * @hidden
228
- */
229
- onHandleRelease(): void;
230
- /**
231
- * @hidden
232
- */
233
- onKeyboardAction(args: any): void;
234
- /**
235
- * @hidden
236
- */
237
- changePosition(position: MouseEvent): void;
238
- /**
239
- * @hidden
240
- */
241
- handleHueSliderChange(hue: number): void;
242
- /**
243
- * @hidden
244
- */
245
- handleAlphaSliderChange(alpha: number): void;
246
- /**
247
- * @hidden
248
- */
249
- handleInputsValueChange(color: string): void;
250
- /**
251
- * @hidden
252
- */
253
- writeValue(value: string): void;
254
- /**
255
- * @hidden
256
- */
257
- registerOnChange(fn: any): void;
258
- /**
259
- * @hidden
260
- */
261
- registerOnTouched(fn: any): void;
262
- /**
263
- * @hidden
264
- */
265
- setDisabledState(isDisabled: boolean): void;
266
- /**
267
- * @hidden
268
- */
269
- get colorGradientHandleTitle(): string;
270
- /**
271
- * @hidden
272
- */
273
- get colorGradientHandleAriaLabel(): string;
274
- /**
275
- * @hidden
276
- */
277
- get hueSliderTitle(): string;
278
- /**
279
- * @hidden
280
- */
281
- get opacitySliderTitle(): string;
282
- /**
283
- * @hidden
284
- */
285
- get clearButtonTitle(): string;
286
- /**
287
- * @hidden
288
- * Used by the FloatingLabel to determine if the component is empty.
289
- */
290
- isEmpty(): boolean;
291
- private notifyNgChanged;
292
- private notifyNgTouched;
293
- private moveDragHandle;
294
- private handleValueChange;
295
- private setDragHandleElementPosition;
296
- private setAlphaSliderBackground;
297
- private setHostElementAriaLabel;
298
- private setBackgroundColor;
299
- private updateUI;
300
- private addEventListeners;
301
- private subscribeChanges;
302
- private unsubscribeChanges;
303
- private handleClasses;
304
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorGradientComponent, never>;
305
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorGradientComponent, "kendo-colorgradient", ["kendoColorGradient"], { "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "value": { "alias": "value"; "required": false; }; "contrastTool": { "alias": "contrastTool"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "format": { "alias": "format"; "required": false; }; "gradientSliderStep": { "alias": "gradientSliderStep"; "required": false; }; "gradientSliderSmallStep": { "alias": "gradientSliderSmallStep"; "required": false; }; "ariaAttributesEnabled": { "alias": "ariaAttributesEnabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
306
- }
@@ -1,108 +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 { OnChanges, SimpleChanges, EventEmitter, ElementRef, AfterViewInit, Renderer2, ChangeDetectorRef } from '@angular/core';
6
- import { RGBA } from './models';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
9
- import { SVGIcon } from '@progress/kendo-svg-icons';
10
- import { InputSize } from '../common/models';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * @hidden
14
- */
15
- export declare class ColorInputComponent implements AfterViewInit, OnChanges {
16
- private host;
17
- private renderer;
18
- private cdr;
19
- localizationService: LocalizationService;
20
- /**
21
- * Sets the `id` of the hex input.
22
- */
23
- focusableId: string;
24
- /**
25
- * Sets the color format view.
26
- */
27
- formatView: string;
28
- /**
29
- * Sets the size of the ColorInput. The default value is set by the Kendo theme.
30
- *
31
- */
32
- size: InputSize;
33
- /**
34
- * Sets the `tabindex` of the inputs.
35
- * @default -1
36
- */
37
- tabindex: number;
38
- /**
39
- * Sets the color value to parse and populate the hex and RGBA inputs.
40
- */
41
- value: string;
42
- /**
43
- * Shows or hides the alpha slider.
44
- *
45
- * @default true
46
- */
47
- opacity: boolean;
48
- /**
49
- * Disables the ColorInput.
50
- *
51
- * @default false
52
- */
53
- disabled: boolean;
54
- /**
55
- * Sets the read-only state of the ColorInput.
56
- *
57
- * @default false
58
- */
59
- readonly: boolean;
60
- /**
61
- * Emits a parsed RGBA string color.
62
- */
63
- valueChange: EventEmitter<string>;
64
- /**
65
- * Fires when the user tabs out of the last focusable input.
66
- */
67
- tabOut: EventEmitter<any>;
68
- colorInputClass: boolean;
69
- opacityInput: NumericTextBoxComponent;
70
- hexInput: ElementRef;
71
- blueInput: NumericTextBoxComponent;
72
- toggleFormatButton: ElementRef;
73
- /**
74
- * Holds the RGBA input values.
75
- */
76
- rgba: RGBA;
77
- hex: string;
78
- /**
79
- * Returns `true` if any of the inputs are focused.
80
- */
81
- private get isFocused();
82
- /**
83
- * Returns `true` if all RGBA inputs have values.
84
- */
85
- private get rgbaInputValid();
86
- /**
87
- * @hidden
88
- */
89
- caretAltExpandIcon: SVGIcon;
90
- private subscriptions;
91
- constructor(host: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, localizationService: LocalizationService);
92
- ngAfterViewInit(): void;
93
- ngOnDestroy(): void;
94
- ngOnChanges(changes: SimpleChanges): void;
95
- get formatButtonTitle(): string;
96
- handleRgbaValueChange(): void;
97
- focusDragHandle(event: any): void;
98
- handleHexValueChange(hex: string): void;
99
- handleRgbaInputBlur(): void;
100
- handleHexInputBlur(): void;
101
- focusLast(): void;
102
- onTab(): void;
103
- private toggleFormatView;
104
- private initDomEvents;
105
- private lastInput;
106
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorInputComponent, never>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorInputComponent, "kendo-colorinput", never, { "focusableId": { "alias": "focusableId"; "required": false; }; "formatView": { "alias": "formatView"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "valueChange": "valueChange"; "tabOut": "tabOut"; }, never, never, true, never>;
108
- }
@@ -1,231 +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 { OnInit, EventEmitter, SimpleChanges, OnChanges, OnDestroy, ChangeDetectorRef, Renderer2, ElementRef, AfterViewInit, NgZone } from '@angular/core';
6
- import { ControlValueAccessor } from '@angular/forms';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { TileSize, OutputFormat, TableCell } from './models';
9
- import { ColorPaletteService } from './services/color-palette.service';
10
- import { InputSize } from '../common/models';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Represents the Kendo UI ColorPalette component.
14
- *
15
- * The `ColorPaletteComponent` provides a set of predefined palette presets and lets you implement a custom color palette. You can use it directly or as part of the `kendo-colorpicker`.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-colorpalette [palette]="['#fff', '#000']" [(value)]="selectedColor"></kendo-colorpalette>
20
- * ```
21
- *
22
- * @remarks
23
- * Supported children components are: {@link ColorPickerCustomMessagesComponent}.
24
- */
25
- export declare class ColorPaletteComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {
26
- host: ElementRef;
27
- private service;
28
- private cdr;
29
- private renderer;
30
- private localizationService;
31
- private ngZone;
32
- /**
33
- * @hidden
34
- */
35
- direction: string;
36
- /**
37
- * @hidden
38
- */
39
- role: string;
40
- /**
41
- * @hidden
42
- */
43
- get activeDescendant(): string;
44
- /**
45
- * @hidden
46
- */
47
- get paletteId(): string;
48
- /**
49
- * @hidden
50
- */
51
- id: string;
52
- /**
53
- * Specifies the output format of the `ColorPaletteComponent`.
54
- * The input value may be in a different format. The component parses it into the output `format`.
55
- *
56
- * @default 'hex'
57
- */
58
- format: OutputFormat;
59
- /**
60
- * Sets the value of the selected color.
61
- */
62
- set value(value: string);
63
- get value(): string;
64
- /**
65
- * Sets the number of columns to display.
66
- *
67
- * @default 10
68
- */
69
- set columns(value: number);
70
- get columns(): number;
71
- /**
72
- * Sets the color palette to display. You can use a predefined palette preset (such as `office`, `basic`, or `apex`), string with comma-separated colors, or an array of string colors.
73
- */
74
- set palette(value: string | Array<string>);
75
- get palette(): string | Array<string>;
76
- /**
77
- * Sets the size of the ColorPalette internal elements. The default value is set by the Kendo theme.
78
- *
79
- */
80
- set size(size: InputSize);
81
- get size(): InputSize;
82
- /**
83
- * Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
84
- *
85
- * @default 0
86
- */
87
- set tabindex(value: number);
88
- get tabindex(): number;
89
- /**
90
- * Disables the ColorPalette. To disable it in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpalette/forms#managing-the-colorpalette-disabled-state-in-reactive-forms).
91
- */
92
- disabled: boolean;
93
- /**
94
- * Sets the read-only state of the ColorPalette.
95
- *
96
- * @default false
97
- */
98
- readonly: boolean;
99
- /**
100
- * Sets the size of a color cell. The default tile size depends on the `size` of the component.
101
- */
102
- tileSize: number | TileSize;
103
- /**
104
- * @hidden
105
- */
106
- get tileLayout(): TileSize;
107
- /**
108
- * Fires when the color selection changes.
109
- */
110
- selectionChange: EventEmitter<string>;
111
- /**
112
- * Fires when the value changes.
113
- */
114
- valueChange: EventEmitter<string>;
115
- /**
116
- * Fires each time the user selects a cell with the mouse or presses `Enter`.
117
- *
118
- * @hidden
119
- */
120
- cellSelection: EventEmitter<string>;
121
- /**
122
- * @hidden
123
- */
124
- get colorRows(): string[][];
125
- /**
126
- * @hidden
127
- */
128
- get hostTabindex(): number;
129
- /**
130
- * @hidden
131
- */
132
- hostClasses: boolean;
133
- /**
134
- * @hidden
135
- */
136
- get disabledClass(): boolean;
137
- /**
138
- * @hidden
139
- */
140
- get readonlyAttribute(): boolean;
141
- /**
142
- * @hidden
143
- */
144
- activeCellId: string;
145
- /**
146
- * @hidden
147
- */
148
- focusedCell: TableCell;
149
- /**
150
- * @hidden
151
- */
152
- selectedCell: TableCell;
153
- /**
154
- * @hidden
155
- */
156
- focusInComponent: boolean;
157
- /**
158
- * @hidden
159
- */
160
- uniqueId: string;
161
- private selection;
162
- private _size;
163
- private _value;
164
- private _columns;
165
- private _palette;
166
- private _tabindex;
167
- private subs;
168
- private dynamicRTLSubscription;
169
- constructor(host: ElementRef, service: ColorPaletteService, cdr: ChangeDetectorRef, renderer: Renderer2, localizationService: LocalizationService, ngZone: NgZone);
170
- ngOnInit(): void;
171
- ngAfterViewInit(): void;
172
- ngOnDestroy(): void;
173
- ngOnChanges(changes: SimpleChanges): void;
174
- /**
175
- * @hidden
176
- */
177
- handleKeydown(event: KeyboardEvent): void;
178
- /**
179
- * @hidden
180
- */
181
- handleFocus(): void;
182
- /**
183
- * @hidden
184
- */
185
- handleHostBlur(): void;
186
- /**
187
- * @hidden
188
- */
189
- handleCellSelection(value: string, focusedCell?: TableCell): void;
190
- /**
191
- * @hidden
192
- */
193
- writeValue(value: string): void;
194
- /**
195
- * @hidden
196
- */
197
- registerOnChange(fn: any): void;
198
- /**
199
- * @hidden
200
- */
201
- registerOnTouched(fn: any): void;
202
- /**
203
- * @hidden
204
- */
205
- setDisabledState(isDisabled: boolean): void;
206
- /**
207
- * @hidden
208
- */
209
- focus(): void;
210
- /**
211
- * @hidden
212
- * Used by the FloatingLabel to determine if the component is empty.
213
- */
214
- isEmpty(): boolean;
215
- /**
216
- * Clears the color value of the ColorPalette.
217
- */
218
- reset(): void;
219
- private handleValueChange;
220
- private handleCellFocusOnBlur;
221
- private selectCell;
222
- private setRows;
223
- private handleCellNavigation;
224
- private setHostElementAriaLabel;
225
- private handleEnter;
226
- private handleClasses;
227
- private notifyNgTouched;
228
- private notifyNgChanged;
229
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorPaletteComponent, never>;
230
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorPaletteComponent, "kendo-colorpalette", ["kendoColorPalette"], { "id": { "alias": "id"; "required": false; }; "format": { "alias": "format"; "required": false; }; "value": { "alias": "value"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tileSize": { "alias": "tileSize"; "required": false; }; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; "cellSelection": "cellSelection"; }, never, never, true, never>;
231
- }