@progress/kendo-angular-inputs 24.2.2-develop.9 → 25.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.
- package/fesm2022/progress-kendo-angular-inputs.mjs +318 -318
- package/index.d.ts +7117 -103
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/checkbox/checkbox.component.d.ts +0 -71
- package/checkbox/checkbox.directive.d.ts +0 -41
- package/checkbox/checked-state.d.ts +0 -17
- package/checkbox.module.d.ts +0 -32
- package/colorpicker/adaptiveness/adaptive-close-button.component.d.ts +0 -20
- package/colorpicker/adaptiveness/adaptive-renderer.component.d.ts +0 -40
- package/colorpicker/color-contrast-svg.component.d.ts +0 -29
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +0 -20
- package/colorpicker/color-gradient-text-label.directive.d.ts +0 -19
- package/colorpicker/color-gradient.component.d.ts +0 -306
- package/colorpicker/color-input.component.d.ts +0 -108
- package/colorpicker/color-palette.component.d.ts +0 -231
- package/colorpicker/colorpicker.component.d.ts +0 -425
- package/colorpicker/constants.d.ts +0 -41
- package/colorpicker/contrast-validation.component.d.ts +0 -24
- package/colorpicker/contrast.component.d.ts +0 -25
- package/colorpicker/events/active-color-click-event.d.ts +0 -49
- package/colorpicker/events/cancel-event.d.ts +0 -15
- package/colorpicker/events/close-event.d.ts +0 -10
- package/colorpicker/events/kendo-drag-event.d.ts +0 -21
- package/colorpicker/events/open-event.d.ts +0 -10
- package/colorpicker/events.d.ts +0 -8
- package/colorpicker/flatcolorpicker-actions.component.d.ts +0 -26
- package/colorpicker/flatcolorpicker-header.component.d.ts +0 -45
- package/colorpicker/flatcolorpicker.component.d.ts +0 -281
- package/colorpicker/localization/colorgradient-localization.service.d.ts +0 -17
- package/colorpicker/localization/colorpalette-localization.service.d.ts +0 -17
- package/colorpicker/localization/colorpicker-localization.service.d.ts +0 -14
- package/colorpicker/localization/custom-messages.component.d.ts +0 -25
- package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +0 -17
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +0 -16
- package/colorpicker/localization/messages.d.ts +0 -133
- package/colorpicker/models/actions-layout.d.ts +0 -8
- package/colorpicker/models/adaptive-mode.d.ts +0 -16
- package/colorpicker/models/colorpicker-view.d.ts +0 -8
- package/colorpicker/models/gradient-settings.d.ts +0 -35
- package/colorpicker/models/hsva.d.ts +0 -13
- package/colorpicker/models/output-format.d.ts +0 -8
- package/colorpicker/models/palette-presets.d.ts +0 -61
- package/colorpicker/models/palette-settings.d.ts +0 -30
- package/colorpicker/models/popup-settings.d.ts +0 -18
- package/colorpicker/models/rgb.d.ts +0 -12
- package/colorpicker/models/rgba.d.ts +0 -13
- package/colorpicker/models/table-cell.d.ts +0 -11
- package/colorpicker/models/tile-size.d.ts +0 -17
- package/colorpicker/models.d.ts +0 -16
- package/colorpicker/services/color-palette.service.d.ts +0 -19
- package/colorpicker/services/flatcolorpicker.service.d.ts +0 -15
- package/colorpicker/utils/color-parser.d.ts +0 -77
- package/colorpicker/utils/contrast-curve.d.ts +0 -37
- package/colorpicker/utils.d.ts +0 -6
- package/colorpicker.module.d.ts +0 -35
- package/common/dom-utils.d.ts +0 -25
- package/common/formservice.service.d.ts +0 -14
- package/common/math.d.ts +0 -40
- package/common/models/fillmode.d.ts +0 -11
- package/common/models/gutters.d.ts +0 -28
- package/common/models/responsive-breakpoints.d.ts +0 -34
- package/common/models/rounded.d.ts +0 -18
- package/common/models/size.d.ts +0 -11
- package/common/models/styling-classes.d.ts +0 -11
- package/common/models/type.d.ts +0 -12
- package/common/models.d.ts +0 -9
- package/common/radio-checkbox.base.d.ts +0 -164
- package/common/utils.d.ts +0 -68
- package/directives.d.ts +0 -334
- package/form/form.component.d.ts +0 -76
- package/form/formseparator.component.d.ts +0 -32
- package/form/utils.d.ts +0 -62
- package/form.module.d.ts +0 -36
- package/formfield/error.component.d.ts +0 -34
- package/formfield/formfield.component.d.ts +0 -117
- package/formfield/hint.component.d.ts +0 -32
- package/formfield/models/message-align.d.ts +0 -10
- package/formfield/models/orientation.d.ts +0 -12
- package/formfield/models/show-options.d.ts +0 -14
- package/formfield.module.d.ts +0 -33
- package/formfieldset/formfieldset.component.d.ts +0 -71
- package/inputs.module.d.ts +0 -75
- package/maskedtextbox/maskedtextbox.component.d.ts +0 -326
- package/maskedtextbox/masking.service.d.ts +0 -48
- package/maskedtextbox/parsing/combinators.d.ts +0 -13
- package/maskedtextbox/parsing/parsers.d.ts +0 -51
- package/maskedtextbox/parsing/result.d.ts +0 -27
- package/maskedtextbox/parsing/stream.d.ts +0 -26
- package/maskedtextbox.module.d.ts +0 -32
- package/numerictextbox/arrow-direction.d.ts +0 -12
- package/numerictextbox/constants.d.ts +0 -28
- package/numerictextbox/localization/custom-messages.component.d.ts +0 -29
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +0 -16
- package/numerictextbox/localization/messages.d.ts +0 -21
- package/numerictextbox/numerictextbox.component.d.ts +0 -400
- package/numerictextbox/utils.d.ts +0 -44
- package/numerictextbox.module.d.ts +0 -33
- package/otp.module.d.ts +0 -32
- package/otpinput/localization/custom-messages.component.d.ts +0 -19
- package/otpinput/localization/localized-textbox-messages.directive.d.ts +0 -16
- package/otpinput/localization/messages.d.ts +0 -24
- package/otpinput/models/otpinput-type.d.ts +0 -10
- package/otpinput/models/separator-icon.d.ts +0 -23
- package/otpinput/otpinput-separator.component.d.ts +0 -25
- package/otpinput/otpinput.component.d.ts +0 -275
- package/package-metadata.d.ts +0 -9
- package/radiobutton/radiobutton.component.d.ts +0 -59
- package/radiobutton/radiobutton.directive.d.ts +0 -33
- package/radiobutton.module.d.ts +0 -33
- package/rangeslider/localization/custom-messages.component.d.ts +0 -27
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +0 -16
- package/rangeslider/localization/messages.d.ts +0 -21
- package/rangeslider/rangeslider-model.d.ts +0 -14
- package/rangeslider/rangeslider-value.type.d.ts +0 -9
- package/rangeslider/rangeslider.component.d.ts +0 -135
- package/rangeslider.module.d.ts +0 -34
- package/rating/directives/rating-hovered-item.directive.d.ts +0 -26
- package/rating/directives/rating-item.directive.d.ts +0 -25
- package/rating/directives/rating-selected-item.directive.d.ts +0 -27
- package/rating/models/precision.d.ts +0 -12
- package/rating/models/rating-item.interface.d.ts +0 -32
- package/rating/models/selection.d.ts +0 -12
- package/rating/rating.component.d.ts +0 -182
- package/rating.module.d.ts +0 -34
- package/shared/input-separator.component.d.ts +0 -32
- package/shared/input-spacer.component.d.ts +0 -31
- package/shared/shared-events.directive.d.ts +0 -27
- package/shared/utils.d.ts +0 -10
- package/signature/events/close-event.d.ts +0 -10
- package/signature/events/index.d.ts +0 -6
- package/signature/events/open-event.d.ts +0 -10
- package/signature/localization/custom-messages.component.d.ts +0 -17
- package/signature/localization/index.d.ts +0 -7
- package/signature/localization/localized-signature-messages.directive.d.ts +0 -16
- package/signature/localization/messages.d.ts +0 -29
- package/signature/signature.component.d.ts +0 -363
- package/signature.module.d.ts +0 -32
- package/slider/localization/custom-messages.component.d.ts +0 -17
- package/slider/localization/localized-slider-messages.directive.d.ts +0 -16
- package/slider/localization/messages.d.ts +0 -25
- package/slider/slider-model.d.ts +0 -13
- package/slider/slider.component.d.ts +0 -174
- package/slider.module.d.ts +0 -34
- package/sliders-common/label-template.directive.d.ts +0 -26
- package/sliders-common/slider-base.d.ts +0 -161
- package/sliders-common/slider-model.base.d.ts +0 -28
- package/sliders-common/slider-ticks.component.d.ts +0 -26
- package/sliders-common/sliders-util.d.ts +0 -114
- package/sliders-common/title-callback.d.ts +0 -26
- package/switch/events/blur-event.d.ts +0 -13
- package/switch/events/focus-event.d.ts +0 -13
- package/switch/localization/custom-messages.component.d.ts +0 -17
- package/switch/localization/localized-switch-messages.directive.d.ts +0 -16
- package/switch/localization/messages.d.ts +0 -21
- package/switch/switch.component.d.ts +0 -204
- package/switch.module.d.ts +0 -32
- package/text-fields-common/text-fields-base.d.ts +0 -96
- package/textarea/models/adornments-orientation.d.ts +0 -12
- package/textarea/models/flow.d.ts +0 -12
- package/textarea/models/resize.d.ts +0 -15
- package/textarea/models/textarea-settings.d.ts +0 -101
- package/textarea/textarea-prefix.component.d.ts +0 -35
- package/textarea/textarea-suffix.component.d.ts +0 -35
- package/textarea/textarea.component.d.ts +0 -240
- package/textarea/textarea.directive.d.ts +0 -99
- package/textarea.module.d.ts +0 -35
- package/textbox/localization/custom-messages.component.d.ts +0 -17
- package/textbox/localization/localized-textbox-messages.directive.d.ts +0 -16
- package/textbox/localization/messages.d.ts +0 -17
- package/textbox/models/icon-show-options.d.ts +0 -13
- package/textbox/textbox-prefix.directive.d.ts +0 -33
- package/textbox/textbox-suffix.directive.d.ts +0 -32
- package/textbox/textbox.component.d.ts +0 -362
- package/textbox/textbox.directive.d.ts +0 -58
- package/textbox.module.d.ts +0 -38
- package/validators/max.validator.d.ts +0 -8
- package/validators/min.validator.d.ts +0 -8
|
@@ -1,204 +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, EventEmitter, OnInit, OnDestroy, ChangeDetectorRef, NgZone, Injector, AfterViewInit } from '@angular/core';
|
|
6
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { Subscription } from "rxjs";
|
|
9
|
-
import { InputRounded, InputSize } from '../common/models';
|
|
10
|
-
import { SwitchFocusEvent } from './events/focus-event';
|
|
11
|
-
import { SwitchBlurEvent } from './events/blur-event';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [Kendo UI Switch component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/switch).
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-switch [(ngModel)]="checked"></kendo-switch>`
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Supported children components are: {@link SwitchCustomMessagesComponent}.
|
|
23
|
-
*/
|
|
24
|
-
export declare class SwitchComponent implements ControlValueAccessor, OnInit, OnDestroy, AfterViewInit {
|
|
25
|
-
private renderer;
|
|
26
|
-
private hostElement;
|
|
27
|
-
private localizationService;
|
|
28
|
-
private injector;
|
|
29
|
-
private changeDetector;
|
|
30
|
-
private ngZone;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
set focusableId(value: string);
|
|
35
|
-
get focusableId(): string;
|
|
36
|
-
/**
|
|
37
|
-
* Set the **On** label.
|
|
38
|
-
* This label takes precedence over the [custom messages component](https://www.telerik.com/kendo-angular-ui/components/inputs/api/switchcustommessagescomponent).
|
|
39
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/labels).
|
|
40
|
-
*/
|
|
41
|
-
onLabel: string;
|
|
42
|
-
/**
|
|
43
|
-
* Set the **Off** label.
|
|
44
|
-
* This label takes precedence over the [custom messages component](https://www.telerik.com/kendo-angular-ui/components/inputs/api/switchcustommessagescomponent).
|
|
45
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/labels).
|
|
46
|
-
*/
|
|
47
|
-
offLabel: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the value of the Switch when it first appears.
|
|
50
|
-
*/
|
|
51
|
-
set checked(value: boolean);
|
|
52
|
-
get checked(): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* When `true`, disables the Switch.
|
|
55
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/disabled-state).
|
|
56
|
-
* To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/forms#managing-the-switch-disabled-state-in-reactive-forms).
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* When `true`, sets the Switch to read-only.
|
|
62
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/readonly-state).
|
|
63
|
-
* @default false
|
|
64
|
-
*/
|
|
65
|
-
readonly: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Set the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Switch.
|
|
68
|
-
* @default 0
|
|
69
|
-
*/
|
|
70
|
-
tabindex: number;
|
|
71
|
-
/**
|
|
72
|
-
* Sets the size of the Switch. The default value is set by the Kendo theme.
|
|
73
|
-
*/
|
|
74
|
-
set size(size: InputSize);
|
|
75
|
-
get size(): InputSize;
|
|
76
|
-
/**
|
|
77
|
-
* Sets the border radius of the Switch. The default value is set by the Kendo theme.
|
|
78
|
-
*/
|
|
79
|
-
set thumbRounded(thumbRounded: InputRounded);
|
|
80
|
-
get thumbRounded(): InputRounded;
|
|
81
|
-
/**
|
|
82
|
-
* Sets the border radius of the Switch track. The default value is set by the Kendo theme.
|
|
83
|
-
*/
|
|
84
|
-
set trackRounded(trackRounded: InputRounded);
|
|
85
|
-
get trackRounded(): InputRounded;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
set tabIndex(tabIndex: number);
|
|
90
|
-
get tabIndex(): number;
|
|
91
|
-
/**
|
|
92
|
-
* Fires when the user focuses the Switch.
|
|
93
|
-
*/
|
|
94
|
-
onFocus: EventEmitter<SwitchFocusEvent>;
|
|
95
|
-
/**
|
|
96
|
-
* Fires when the user blurs the Switch.
|
|
97
|
-
*/
|
|
98
|
-
onBlur: EventEmitter<SwitchBlurEvent>;
|
|
99
|
-
/**
|
|
100
|
-
* Fires when the value of the Switch changes.
|
|
101
|
-
*/
|
|
102
|
-
valueChange: EventEmitter<any>;
|
|
103
|
-
direction: string;
|
|
104
|
-
hostRole: string;
|
|
105
|
-
get hostId(): string;
|
|
106
|
-
get ariaChecked(): boolean;
|
|
107
|
-
get ariaInvalid(): boolean;
|
|
108
|
-
get hostTabIndex(): number;
|
|
109
|
-
get ariaDisabled(): boolean;
|
|
110
|
-
get ariaReadonly(): boolean;
|
|
111
|
-
hostClasses: boolean;
|
|
112
|
-
get disabledClass(): boolean;
|
|
113
|
-
track: any;
|
|
114
|
-
thumb: any;
|
|
115
|
-
/**
|
|
116
|
-
* @hidden
|
|
117
|
-
*/
|
|
118
|
-
initialized: boolean;
|
|
119
|
-
protected localizationChangeSubscription: Subscription;
|
|
120
|
-
protected isFocused: boolean;
|
|
121
|
-
protected control: NgControl;
|
|
122
|
-
private domSubscriptions;
|
|
123
|
-
private _checked;
|
|
124
|
-
private _focusableId;
|
|
125
|
-
private _size;
|
|
126
|
-
private _trackRounded;
|
|
127
|
-
private _thumbRounded;
|
|
128
|
-
constructor(renderer: Renderer2, hostElement: ElementRef, localizationService: LocalizationService, injector: Injector, changeDetector: ChangeDetectorRef, ngZone: NgZone);
|
|
129
|
-
/**
|
|
130
|
-
* @hidden
|
|
131
|
-
*/
|
|
132
|
-
get onLabelMessage(): string;
|
|
133
|
-
/**
|
|
134
|
-
* @hidden
|
|
135
|
-
*/
|
|
136
|
-
get offLabelMessage(): string;
|
|
137
|
-
protected ngChange: Function;
|
|
138
|
-
protected ngTouched: Function;
|
|
139
|
-
protected get isEnabled(): boolean;
|
|
140
|
-
ngOnInit(): void;
|
|
141
|
-
ngAfterViewInit(): void;
|
|
142
|
-
ngOnDestroy(): void;
|
|
143
|
-
/**
|
|
144
|
-
* Focuses the Switch.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
focus(): void;
|
|
148
|
-
/**
|
|
149
|
-
* Blurs the Switch.
|
|
150
|
-
*/
|
|
151
|
-
blur(): void;
|
|
152
|
-
/**
|
|
153
|
-
* @hidden
|
|
154
|
-
* Called when the status of the component changes to or from `disabled`.
|
|
155
|
-
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
156
|
-
*/
|
|
157
|
-
setDisabledState(isDisabled: boolean): void;
|
|
158
|
-
/**
|
|
159
|
-
* @hidden
|
|
160
|
-
*/
|
|
161
|
-
handleFocus: (event: FocusEvent) => void;
|
|
162
|
-
/**
|
|
163
|
-
* @hidden
|
|
164
|
-
*/
|
|
165
|
-
handleBlur: (event: FocusEvent) => void;
|
|
166
|
-
/**
|
|
167
|
-
* @hidden
|
|
168
|
-
*/
|
|
169
|
-
get isControlInvalid(): boolean;
|
|
170
|
-
/**
|
|
171
|
-
* @hidden
|
|
172
|
-
*/
|
|
173
|
-
writeValue(value: boolean): void;
|
|
174
|
-
/**
|
|
175
|
-
* @hidden
|
|
176
|
-
*/
|
|
177
|
-
registerOnChange(fn: () => any): void;
|
|
178
|
-
/**
|
|
179
|
-
* @hidden
|
|
180
|
-
*/
|
|
181
|
-
registerOnTouched(fn: () => any): void;
|
|
182
|
-
/**
|
|
183
|
-
* @hidden
|
|
184
|
-
*/
|
|
185
|
-
keyDownHandler(e: any): void;
|
|
186
|
-
/**
|
|
187
|
-
* @hidden
|
|
188
|
-
*/
|
|
189
|
-
clickHandler(): void;
|
|
190
|
-
/**
|
|
191
|
-
* @hidden
|
|
192
|
-
* Used by the FloatingLabel to determine if the component is empty.
|
|
193
|
-
*/
|
|
194
|
-
isEmpty(): boolean;
|
|
195
|
-
private changeValue;
|
|
196
|
-
private set focused(value);
|
|
197
|
-
private attachHostHandlers;
|
|
198
|
-
private setHostClasses;
|
|
199
|
-
private handleClasses;
|
|
200
|
-
private handleTrackClasses;
|
|
201
|
-
private handleThumbClasses;
|
|
202
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
203
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "kendo-switch", ["kendoSwitch"], { "focusableId": { "alias": "focusableId"; "required": false; }; "onLabel": { "alias": "onLabel"; "required": false; }; "offLabel": { "alias": "offLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "thumbRounded": { "alias": "thumbRounded"; "required": false; }; "trackRounded": { "alias": "trackRounded"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
204
|
-
}
|
package/switch.module.d.ts
DELETED
|
@@ -1,32 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./switch/switch.component";
|
|
7
|
-
import * as i2 from "./switch/localization/custom-messages.component";
|
|
8
|
-
/**
|
|
9
|
-
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Switch component.
|
|
10
|
-
*
|
|
11
|
-
* Use this module to add the Switch component to your NgModule-based Angular application.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import { SwitchModule } from '@progress/kendo-angular-inputs';
|
|
17
|
-
* import { NgModule } from '@angular/core';
|
|
18
|
-
* import { AppComponent } from './app.component';
|
|
19
|
-
*
|
|
20
|
-
* @NgModule({
|
|
21
|
-
* declarations: [AppComponent],
|
|
22
|
-
* imports: [BrowserModule, SwitchModule],
|
|
23
|
-
* bootstrap: [AppComponent]
|
|
24
|
-
* })
|
|
25
|
-
* export class AppModule {}
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class SwitchModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SwitchModule, never, [typeof i1.SwitchComponent, typeof i2.SwitchCustomMessagesComponent], [typeof i1.SwitchComponent, typeof i2.SwitchCustomMessagesComponent]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SwitchModule>;
|
|
32
|
-
}
|
|
@@ -1,96 +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 { Subscription } from 'rxjs';
|
|
6
|
-
import { NgControl } from '@angular/forms';
|
|
7
|
-
import { ElementRef, EventEmitter, NgZone, Renderer2, ChangeDetectorRef, Injector } from '@angular/core';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare abstract class TextFieldsBase {
|
|
14
|
-
protected localizationService: LocalizationService;
|
|
15
|
-
protected ngZone: NgZone;
|
|
16
|
-
protected changeDetector: ChangeDetectorRef;
|
|
17
|
-
protected renderer: Renderer2;
|
|
18
|
-
protected injector: Injector;
|
|
19
|
-
protected hostElement: ElementRef;
|
|
20
|
-
/**
|
|
21
|
-
* Sets the `title` attribute of the internal textarea input element of the component.
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
* This property is related to accessibility.
|
|
25
|
-
*/
|
|
26
|
-
title: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/forms#managing-the-textarea-disabled-state-in-reactive-forms).
|
|
29
|
-
*
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Sets the read-only state of the TextArea component.
|
|
35
|
-
*
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
readonly: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Provides a value for the TextArea component.
|
|
41
|
-
*/
|
|
42
|
-
set value(value: string);
|
|
43
|
-
get value(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Determines whether the whole value will be selected when the TextArea is clicked. Defaults to `false`.
|
|
46
|
-
*
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
|
-
selectOnFocus: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* The hint, which is displayed when the Textarea is empty.
|
|
52
|
-
*/
|
|
53
|
-
placeholder: string;
|
|
54
|
-
/**
|
|
55
|
-
* Fires each time the user focuses the internal textarea element of the component.
|
|
56
|
-
* This event is useful when you need to distinguish between focusing the textarea element and focusing one of its adornments.
|
|
57
|
-
*/
|
|
58
|
-
inputFocus: EventEmitter<any>;
|
|
59
|
-
/**
|
|
60
|
-
* Fires each time the internal textarea element gets blurred.
|
|
61
|
-
* This event is useful when adornments are used, in order to distinguish between blurring the textarea element and blurring the whole TextArea component.
|
|
62
|
-
*/
|
|
63
|
-
inputBlur: EventEmitter<any>;
|
|
64
|
-
/**
|
|
65
|
-
* Represents the visible textarea element of the component.
|
|
66
|
-
*/
|
|
67
|
-
input: ElementRef;
|
|
68
|
-
get disabledClass(): boolean;
|
|
69
|
-
direction: string;
|
|
70
|
-
/**
|
|
71
|
-
* @hidden
|
|
72
|
-
*/
|
|
73
|
-
protected control: NgControl;
|
|
74
|
-
protected subscriptions: Subscription;
|
|
75
|
-
protected _isFocused: boolean;
|
|
76
|
-
protected focusChangedProgrammatically: boolean;
|
|
77
|
-
private _value;
|
|
78
|
-
constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
|
|
79
|
-
ngOnDestroy(): void;
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
handleInputBlur: () => void;
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
* Called when the status of the component changes to or from `disabled`.
|
|
87
|
-
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
88
|
-
*
|
|
89
|
-
* @param isDisabled
|
|
90
|
-
*/
|
|
91
|
-
setDisabledState(isDisabled: boolean): void;
|
|
92
|
-
ngChange: Function;
|
|
93
|
-
ngTouched: Function;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldsBase, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldsBase, "kendo-textfield-base", never, { "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
96
|
-
}
|
|
@@ -1,12 +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
|
-
/**
|
|
6
|
-
* Sets the orientation for TextArea adornments.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* * `horizontal` (default)—TextArea adornments appear from left to right in `ltr` mode, and from right to left in `rtl` mode.
|
|
10
|
-
* * `vertical`—TextArea adornments appear from top to bottom.
|
|
11
|
-
*/
|
|
12
|
-
export type TextAreaAdornmentsOrientation = 'horizontal' | 'vertical';
|
|
@@ -1,12 +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
|
-
/**
|
|
6
|
-
* Sets the flow direction for TextArea sections.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* * `vertical` (default)—TextArea sections appear from top to bottom.
|
|
10
|
-
* * `horizontal`—TextArea sections appear from left to right in `ltr` mode, and from right to left in `rtl` mode.
|
|
11
|
-
*/
|
|
12
|
-
export type TextAreaFlow = 'horizontal' | 'vertical';
|
|
@@ -1,15 +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
|
-
/**
|
|
6
|
-
* Sets the resize behavior for the TextArea.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* * `vertical` (Default)—You can resize the TextArea vertically.
|
|
10
|
-
* * `auto`—The TextArea adjusts its height automatically based on the content.
|
|
11
|
-
* * `horizontal`—You can resize the TextArea horizontally.
|
|
12
|
-
* * `both`—You can resize the TextArea both horizontally and vertically.
|
|
13
|
-
* * `none`—You cannot resize the TextArea.
|
|
14
|
-
*/
|
|
15
|
-
export type TextAreaResize = 'auto' | 'vertical' | 'horizontal' | 'both' | 'none';
|
|
@@ -1,101 +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 { InputFillMode, InputRounded, InputSize } from "../../common/models";
|
|
6
|
-
import { TextAreaAdornmentsOrientation } from "./adornments-orientation";
|
|
7
|
-
import { TextAreaFlow } from "./flow";
|
|
8
|
-
import { TextAreaResize } from "./resize";
|
|
9
|
-
/**
|
|
10
|
-
* Defines the settings interface for the text area functionality used in components that integrate the TextArea component, such as the AIPrompt ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt/configuration#configuring-the-prompt-text-area)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* const textareaSettings: TextAreaSettings = {
|
|
15
|
-
* rows: 5,
|
|
16
|
-
* placeholder: 'Enter your prompt here',
|
|
17
|
-
* maxlength: 1000,
|
|
18
|
-
* resizable: 'vertical'
|
|
19
|
-
* };
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export interface TextAreaSettings {
|
|
23
|
-
/**
|
|
24
|
-
* Specifies the orientation of the TextArea adornments.
|
|
25
|
-
*/
|
|
26
|
-
adornmentsOrientation?: TextAreaAdornmentsOrientation;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the visible width of the text area in average character width.
|
|
29
|
-
*/
|
|
30
|
-
cols?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Sets the disabled state of the TextArea component.
|
|
33
|
-
*/
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the background and border styles of the TextArea.
|
|
37
|
-
*/
|
|
38
|
-
fillMode?: InputFillMode;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the flow direction of the TextArea sections.
|
|
41
|
-
*/
|
|
42
|
-
flow?: TextAreaFlow;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the HTML attributes of the inner focusable input element.
|
|
45
|
-
*/
|
|
46
|
-
inputAttributes?: {
|
|
47
|
-
[key: string]: string;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Sets the maximum number of characters allowed in the TextArea.
|
|
51
|
-
*/
|
|
52
|
-
maxlength?: number;
|
|
53
|
-
/**
|
|
54
|
-
* The hint that appears when the Textarea is empty.
|
|
55
|
-
*/
|
|
56
|
-
placeholder?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the read-only state of the TextArea component.
|
|
59
|
-
*/
|
|
60
|
-
readonly?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the resize behavior of the TextArea.
|
|
63
|
-
*/
|
|
64
|
-
resizable?: TextAreaResize;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the border radius of the TextArea.
|
|
67
|
-
*/
|
|
68
|
-
rounded?: InputRounded;
|
|
69
|
-
/**
|
|
70
|
-
* Sets the visible height of the TextArea in lines.
|
|
71
|
-
*/
|
|
72
|
-
rows?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Determines whether the component selects the whole value when you click the TextArea.
|
|
75
|
-
*/
|
|
76
|
-
selectOnFocus?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Shows the prefix separator in the TextArea.
|
|
79
|
-
*/
|
|
80
|
-
showPrefixSeparator?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Shows the suffix separator in the TextArea.
|
|
83
|
-
*/
|
|
84
|
-
showSuffixSeparator?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the size of the TextArea. Controls the padding of the text area element.
|
|
87
|
-
*/
|
|
88
|
-
size?: InputSize;
|
|
89
|
-
/**
|
|
90
|
-
* Sets the tabindex of the component.
|
|
91
|
-
*/
|
|
92
|
-
tabindex?: number;
|
|
93
|
-
/**
|
|
94
|
-
* Sets the title attribute of the internal TextArea input element of the component.
|
|
95
|
-
*/
|
|
96
|
-
title?: string;
|
|
97
|
-
/**
|
|
98
|
-
* Provides a value for the TextArea component.
|
|
99
|
-
*/
|
|
100
|
-
value?: string;
|
|
101
|
-
}
|
|
@@ -1,35 +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 * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Represents the prefix adornments container for the TextArea component.
|
|
8
|
-
*
|
|
9
|
-
* Nest the `<kendo-textarea-prefix>` component inside `<kendo-textarea>` to add elements before the input.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-textarea>
|
|
14
|
-
* <kendo-textarea-prefix>
|
|
15
|
-
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
16
|
-
* </kendo-textarea-prefix>
|
|
17
|
-
* </kendo-textarea>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class TextAreaPrefixComponent {
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
flow: string;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
orientation: string;
|
|
29
|
-
hostClass: boolean;
|
|
30
|
-
get verticalOrientation(): boolean;
|
|
31
|
-
get horizontalOrientation(): boolean;
|
|
32
|
-
get alignItems(): boolean;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaPrefixComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaPrefixComponent, "kendo-textarea-prefix", ["kendoTextAreaPrefix"], { "flow": { "alias": "flow"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
35
|
-
}
|
|
@@ -1,35 +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 * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Represents the suffix adornments container for the TextArea component.
|
|
8
|
-
*
|
|
9
|
-
* Nest the `<kendo-textarea-suffix>` component inside `<kendo-textarea>` to add elements after the input.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-textarea>
|
|
14
|
-
* <kendo-textarea-suffix>
|
|
15
|
-
* <button kendoButton fillMode="clear" [svgIcon]="imageIcon"></button>
|
|
16
|
-
* </kendo-textarea-suffix>
|
|
17
|
-
* </kendo-textarea>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class TextAreaSuffixComponent {
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
flow: string;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
orientation: string;
|
|
29
|
-
hostClass: boolean;
|
|
30
|
-
get verticalOrientation(): boolean;
|
|
31
|
-
get horizontalOrientation(): boolean;
|
|
32
|
-
get alignItems(): boolean;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaSuffixComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaSuffixComponent, "kendo-textarea-suffix", ["kendoTextAreaSuffix"], { "flow": { "alias": "flow"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
35
|
-
}
|