@progress/kendo-angular-inputs 24.2.2 → 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,400 +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, EventEmitter, OnChanges, OnDestroy, Renderer2, NgZone, ChangeDetectorRef, Injector } from '@angular/core';
|
|
6
|
-
import { SuffixTemplateDirective, PrefixTemplateDirective } from '@progress/kendo-angular-common';
|
|
7
|
-
import { ControlValueAccessor, AbstractControl, NgControl, Validator } from '@angular/forms';
|
|
8
|
-
import { IntlService, NumberFormatOptions } from '@progress/kendo-angular-intl';
|
|
9
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import { ArrowDirection } from './arrow-direction';
|
|
11
|
-
import { Subscription } from 'rxjs';
|
|
12
|
-
import { InputSize, InputRounded, InputFillMode } from '../common/models';
|
|
13
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/**
|
|
16
|
-
* Represents the [Kendo UI NumericTextBox component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox).
|
|
17
|
-
*
|
|
18
|
-
* Use this component to allow users to input numeric values.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-numerictextbox [(ngModel)]="value"></kendo-numerictextbox>
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Supported children components are: {@link NumericTextBoxCustomMessagesComponent}.
|
|
27
|
-
*/
|
|
28
|
-
export declare class NumericTextBoxComponent implements ControlValueAccessor, OnChanges, OnDestroy, Validator {
|
|
29
|
-
private intl;
|
|
30
|
-
private renderer;
|
|
31
|
-
private localizationService;
|
|
32
|
-
private injector;
|
|
33
|
-
private ngZone;
|
|
34
|
-
private changeDetector;
|
|
35
|
-
hostElement: ElementRef;
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
focusableId: string;
|
|
40
|
-
/**
|
|
41
|
-
* When `true`, disables the `NumericTextBox`.
|
|
42
|
-
* To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/forms#managing-the-numerictextbox-disabled-state-in-reactive-forms).
|
|
43
|
-
*
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
disabled: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* When `true`, makes the NumericTextBox read-only.
|
|
49
|
-
*
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
readonly: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the `title` attribute of the input element.
|
|
55
|
-
*
|
|
56
|
-
* @remarks
|
|
57
|
-
* This property is related to accessibility.
|
|
58
|
-
*/
|
|
59
|
-
title: string;
|
|
60
|
-
/**
|
|
61
|
-
* When `true`, the value is automatically corrected based on the minimum and maximum values ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision)).
|
|
62
|
-
*/
|
|
63
|
-
autoCorrect: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Specifies the number format used when the NumericTextBox is not focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats)).
|
|
66
|
-
* If `format` is `null` or `undefined`, the default format is used.
|
|
67
|
-
*/
|
|
68
|
-
get format(): string | NumberFormatOptions | null | undefined;
|
|
69
|
-
set format(value: string | NumberFormatOptions | null | undefined);
|
|
70
|
-
/**
|
|
71
|
-
* Sets the maximum valid value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges)).
|
|
72
|
-
*/
|
|
73
|
-
max: number;
|
|
74
|
-
/**
|
|
75
|
-
* Sets the minimum valid value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges)).
|
|
76
|
-
*/
|
|
77
|
-
min: number;
|
|
78
|
-
/**
|
|
79
|
-
* Specifies the number of decimals the user can enter when the input is focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision)).
|
|
80
|
-
*/
|
|
81
|
-
decimals: number;
|
|
82
|
-
/**
|
|
83
|
-
* Sets the input placeholder.
|
|
84
|
-
*/
|
|
85
|
-
placeholder: string;
|
|
86
|
-
/**
|
|
87
|
-
* Specifies the value used to increment or decrement the component value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/predefined-step)).
|
|
88
|
-
*
|
|
89
|
-
* @default 1
|
|
90
|
-
*/
|
|
91
|
-
step: number;
|
|
92
|
-
/**
|
|
93
|
-
* When `true`, renders the **Up** and **Down** spin buttons ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/spin-buttons)).
|
|
94
|
-
*
|
|
95
|
-
* @default true
|
|
96
|
-
*/
|
|
97
|
-
spinners: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Enforces the built-in minimum and maximum validators during form validation.
|
|
100
|
-
*
|
|
101
|
-
* @default true
|
|
102
|
-
*/
|
|
103
|
-
rangeValidation: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
106
|
-
*
|
|
107
|
-
* @default 0
|
|
108
|
-
*/
|
|
109
|
-
tabindex: number;
|
|
110
|
-
/**
|
|
111
|
-
* @hidden
|
|
112
|
-
*/
|
|
113
|
-
set tabIndex(tabIndex: number);
|
|
114
|
-
get tabIndex(): number;
|
|
115
|
-
/**
|
|
116
|
-
* When `true`, enables changing the value with the mouse wheel.
|
|
117
|
-
*
|
|
118
|
-
* @default true
|
|
119
|
-
*/
|
|
120
|
-
changeValueOnScroll: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* When `true`, enables selecting the entire value on click.
|
|
123
|
-
*
|
|
124
|
-
* @default true
|
|
125
|
-
*/
|
|
126
|
-
selectOnFocus: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Sets the value of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats)).
|
|
129
|
-
*/
|
|
130
|
-
value: number;
|
|
131
|
-
/**
|
|
132
|
-
* Sets the maximum number of characters the user can type or paste in the input.
|
|
133
|
-
* The locale-specific decimal separator and negative sign (`-`) count toward the length.
|
|
134
|
-
* The `maxlength` does not apply to the formatted value when the component is not focused.
|
|
135
|
-
*/
|
|
136
|
-
maxlength: number;
|
|
137
|
-
/**
|
|
138
|
-
* Sets the padding of the internal input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#size)). The default value is set by the Kendo theme.
|
|
139
|
-
*/
|
|
140
|
-
set size(size: InputSize);
|
|
141
|
-
get size(): InputSize;
|
|
142
|
-
/**
|
|
143
|
-
* Sets the border radius of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#roundness)). The default value is set by the Kendo theme.
|
|
144
|
-
*/
|
|
145
|
-
set rounded(rounded: InputRounded);
|
|
146
|
-
get rounded(): InputRounded;
|
|
147
|
-
/**
|
|
148
|
-
* Sets the background and border styles of the NumericTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
149
|
-
*/
|
|
150
|
-
set fillMode(fillMode: InputFillMode);
|
|
151
|
-
get fillMode(): InputFillMode;
|
|
152
|
-
/**
|
|
153
|
-
* Sets HTML attributes on the inner input element.
|
|
154
|
-
* The component ignores attributes that are essential for its functionality.
|
|
155
|
-
*/
|
|
156
|
-
set inputAttributes(attributes: {
|
|
157
|
-
[key: string]: string;
|
|
158
|
-
});
|
|
159
|
-
get inputAttributes(): {
|
|
160
|
-
[key: string]: string;
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* Fires when the user selects a new value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
|
|
164
|
-
*/
|
|
165
|
-
valueChange: EventEmitter<any>;
|
|
166
|
-
/**
|
|
167
|
-
* Fires when the NumericTextBox element is focused ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
|
|
168
|
-
*/
|
|
169
|
-
onFocus: EventEmitter<any>;
|
|
170
|
-
/**
|
|
171
|
-
* Fires when the `NumericTextBox` component gets blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/events)).
|
|
172
|
-
*/
|
|
173
|
-
onBlur: EventEmitter<any>;
|
|
174
|
-
/**
|
|
175
|
-
* Fires when the input element is focused.
|
|
176
|
-
*/
|
|
177
|
-
inputFocus: EventEmitter<any>;
|
|
178
|
-
/**
|
|
179
|
-
* Fires when the input element gets blurred.
|
|
180
|
-
*/
|
|
181
|
-
inputBlur: EventEmitter<any>;
|
|
182
|
-
/**
|
|
183
|
-
* @hidden
|
|
184
|
-
*/
|
|
185
|
-
numericInput: ElementRef;
|
|
186
|
-
/**
|
|
187
|
-
* @hidden
|
|
188
|
-
*/
|
|
189
|
-
suffixTemplate: SuffixTemplateDirective;
|
|
190
|
-
/**
|
|
191
|
-
* @hidden
|
|
192
|
-
*/
|
|
193
|
-
prefixTemplate: PrefixTemplateDirective;
|
|
194
|
-
direction: string;
|
|
195
|
-
/**
|
|
196
|
-
* @hidden
|
|
197
|
-
*/
|
|
198
|
-
ArrowDirection: any;
|
|
199
|
-
/**
|
|
200
|
-
* @hidden
|
|
201
|
-
*/
|
|
202
|
-
arrowDirection: ArrowDirection;
|
|
203
|
-
get disableClass(): boolean;
|
|
204
|
-
/**
|
|
205
|
-
* @hidden
|
|
206
|
-
*/
|
|
207
|
-
arrowUpIcon: SVGIcon;
|
|
208
|
-
/**
|
|
209
|
-
* @hidden
|
|
210
|
-
*/
|
|
211
|
-
arrowDownIcon: SVGIcon;
|
|
212
|
-
protected subscriptions: Subscription;
|
|
213
|
-
protected inputValue: string;
|
|
214
|
-
protected spinTimeout: number;
|
|
215
|
-
protected isFocused: boolean;
|
|
216
|
-
protected minValidateFn: any;
|
|
217
|
-
protected maxValidateFn: any;
|
|
218
|
-
protected numericRegex: RegExp;
|
|
219
|
-
protected _format: string | NumberFormatOptions;
|
|
220
|
-
protected previousSelection: any;
|
|
221
|
-
protected pressedKey: any;
|
|
222
|
-
protected control: NgControl;
|
|
223
|
-
protected isPasted: boolean;
|
|
224
|
-
protected mouseDown: boolean;
|
|
225
|
-
private _size;
|
|
226
|
-
private _rounded;
|
|
227
|
-
private _fillMode;
|
|
228
|
-
private ngChange;
|
|
229
|
-
private ngTouched;
|
|
230
|
-
private ngValidatorChange;
|
|
231
|
-
private domEvents;
|
|
232
|
-
private _inputAttributes;
|
|
233
|
-
private parsedAttributes;
|
|
234
|
-
private get defaultAttributes();
|
|
235
|
-
private get mutableAttributes();
|
|
236
|
-
constructor(intl: IntlService, renderer: Renderer2, localizationService: LocalizationService, injector: Injector, ngZone: NgZone, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
|
|
237
|
-
ngOnInit(): void;
|
|
238
|
-
ngAfterViewInit(): void;
|
|
239
|
-
/**
|
|
240
|
-
* @hidden
|
|
241
|
-
*/
|
|
242
|
-
increasePress: (e: any) => void;
|
|
243
|
-
/**
|
|
244
|
-
* @hidden
|
|
245
|
-
*/
|
|
246
|
-
decreasePress: (e: any) => void;
|
|
247
|
-
/**
|
|
248
|
-
* @hidden
|
|
249
|
-
*/
|
|
250
|
-
releaseArrow: () => void;
|
|
251
|
-
/**
|
|
252
|
-
* @hidden
|
|
253
|
-
*/
|
|
254
|
-
ngOnChanges(changes: any): void;
|
|
255
|
-
/**
|
|
256
|
-
* @hidden
|
|
257
|
-
*/
|
|
258
|
-
ngOnDestroy(): void;
|
|
259
|
-
/**
|
|
260
|
-
* @hidden
|
|
261
|
-
*/
|
|
262
|
-
validate(control: AbstractControl): {
|
|
263
|
-
[key: string]: any;
|
|
264
|
-
};
|
|
265
|
-
/**
|
|
266
|
-
* @hidden
|
|
267
|
-
*/
|
|
268
|
-
registerOnValidatorChange(fn: Function): void;
|
|
269
|
-
/**
|
|
270
|
-
* @hidden
|
|
271
|
-
*/
|
|
272
|
-
writeValue(value: number): void;
|
|
273
|
-
/**
|
|
274
|
-
* @hidden
|
|
275
|
-
*/
|
|
276
|
-
registerOnChange(fn: () => any): void;
|
|
277
|
-
/**
|
|
278
|
-
* @hidden
|
|
279
|
-
*/
|
|
280
|
-
registerOnTouched(fn: () => any): void;
|
|
281
|
-
/**
|
|
282
|
-
* @hidden
|
|
283
|
-
* Called when the status of the component changes to or from `disabled`.
|
|
284
|
-
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
285
|
-
*
|
|
286
|
-
* @param isDisabled
|
|
287
|
-
*/
|
|
288
|
-
setDisabledState(isDisabled: boolean): void;
|
|
289
|
-
/**
|
|
290
|
-
* Focuses the NumericTextBox.
|
|
291
|
-
*/
|
|
292
|
-
focus(): void;
|
|
293
|
-
/**
|
|
294
|
-
* Blurs the NumericTextBox.
|
|
295
|
-
*/
|
|
296
|
-
blur(): void;
|
|
297
|
-
/**
|
|
298
|
-
* Notifies the NumericTextBoxComponent that the input value should be changed.
|
|
299
|
-
* Can be used to update the input after setting the component properties directly.
|
|
300
|
-
*/
|
|
301
|
-
notifyValueChange(): void;
|
|
302
|
-
/**
|
|
303
|
-
* @hidden
|
|
304
|
-
*/
|
|
305
|
-
handlePaste: () => void;
|
|
306
|
-
/**
|
|
307
|
-
* @hidden
|
|
308
|
-
*/
|
|
309
|
-
handleInput: () => void;
|
|
310
|
-
/**
|
|
311
|
-
* @hidden
|
|
312
|
-
*/
|
|
313
|
-
handleDragEnter: () => void;
|
|
314
|
-
/**
|
|
315
|
-
* @hidden
|
|
316
|
-
*/
|
|
317
|
-
handleMouseDown: () => void;
|
|
318
|
-
/**
|
|
319
|
-
* @hidden
|
|
320
|
-
*/
|
|
321
|
-
handleInputFocus: () => void;
|
|
322
|
-
/**
|
|
323
|
-
* @hidden
|
|
324
|
-
*/
|
|
325
|
-
handleFocus(): void;
|
|
326
|
-
/**
|
|
327
|
-
* @hidden
|
|
328
|
-
*/
|
|
329
|
-
handleBlur: (emitEvent?: boolean) => void;
|
|
330
|
-
/**
|
|
331
|
-
* @hidden
|
|
332
|
-
*/
|
|
333
|
-
handleInputBlur: () => void;
|
|
334
|
-
/**
|
|
335
|
-
* @hidden
|
|
336
|
-
*/
|
|
337
|
-
handleKeyDown: (e: KeyboardEvent) => void;
|
|
338
|
-
/**
|
|
339
|
-
* @hidden
|
|
340
|
-
*/
|
|
341
|
-
handleWheel: (e: any) => void;
|
|
342
|
-
/**
|
|
343
|
-
* @hidden
|
|
344
|
-
*/
|
|
345
|
-
get incrementTitle(): string;
|
|
346
|
-
/**
|
|
347
|
-
* @hidden
|
|
348
|
-
*/
|
|
349
|
-
get decrementTitle(): string;
|
|
350
|
-
/**
|
|
351
|
-
* @hidden
|
|
352
|
-
*/
|
|
353
|
-
get isControlInvalid(): boolean;
|
|
354
|
-
/**
|
|
355
|
-
* @hidden
|
|
356
|
-
*/
|
|
357
|
-
get isControlRequired(): boolean;
|
|
358
|
-
/**
|
|
359
|
-
* @hidden
|
|
360
|
-
*/
|
|
361
|
-
get focused(): boolean;
|
|
362
|
-
/**
|
|
363
|
-
* @hidden
|
|
364
|
-
*/
|
|
365
|
-
set focused(value: boolean);
|
|
366
|
-
private get decimalSeparator();
|
|
367
|
-
private get elementValue();
|
|
368
|
-
private set elementValue(value);
|
|
369
|
-
private get hasDecimals();
|
|
370
|
-
private get isDisabled();
|
|
371
|
-
private arrowPress;
|
|
372
|
-
private updateValue;
|
|
373
|
-
private replaceNumpadDotValue;
|
|
374
|
-
private isValid;
|
|
375
|
-
private spin;
|
|
376
|
-
private addStep;
|
|
377
|
-
private setSelection;
|
|
378
|
-
private limitValue;
|
|
379
|
-
private limitInputValue;
|
|
380
|
-
private tryPadValue;
|
|
381
|
-
private isInRange;
|
|
382
|
-
private restrictModelValue;
|
|
383
|
-
private restrictDecimals;
|
|
384
|
-
private formatInputValue;
|
|
385
|
-
private formatValue;
|
|
386
|
-
private setInputValue;
|
|
387
|
-
private verifySettings;
|
|
388
|
-
private verifyValue;
|
|
389
|
-
private parseOptions;
|
|
390
|
-
private intlChange;
|
|
391
|
-
private hasTrailingZeros;
|
|
392
|
-
private selectAll;
|
|
393
|
-
private selectCaret;
|
|
394
|
-
private numberOfLeadingZeroes;
|
|
395
|
-
private adjustSignificantChars;
|
|
396
|
-
private handleClasses;
|
|
397
|
-
private setInputAttributes;
|
|
398
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxComponent, never>;
|
|
399
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "kendo-numerictextbox", ["kendoNumericTextBox"], { "focusableId": { "alias": "focusableId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "title": { "alias": "title"; "required": false; }; "autoCorrect": { "alias": "autoCorrect"; "required": false; }; "format": { "alias": "format"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "step": { "alias": "step"; "required": false; }; "spinners": { "alias": "spinners"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "changeValueOnScroll": { "alias": "changeValueOnScroll"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "value": { "alias": "value"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, ["suffixTemplate", "prefixTemplate"], never, true, never>;
|
|
400
|
-
}
|
|
@@ -1,44 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const numericRegex: (options: any) => RegExp;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const decimalPart: (value: number) => number;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const noop: (_: any) => void;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const defined: (value: any) => boolean;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare const isNumber: (value: any) => boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare function pad(value: any, digits: number): number;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare const getDeltaFromMouseWheel: (e: any) => number;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare const getCaretPosition: (element: HTMLInputElement) => number;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
export declare const extractSignificantNumericChars: (formattedString: string, separator: string) => number;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare const isRightClick: (event: any) => boolean;
|
|
@@ -1,33 +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 "./numerictextbox/numerictextbox.component";
|
|
7
|
-
import * as i2 from "./numerictextbox/localization/custom-messages.component";
|
|
8
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
9
|
-
/**
|
|
10
|
-
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the NumericTextBox component.
|
|
11
|
-
*
|
|
12
|
-
* Use this module to add the NumericTextBox component to your NgModule-based Angular application.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import { NumericTextBoxModule } from '@progress/kendo-angular-inputs';
|
|
17
|
-
* import { NgModule } from '@angular/core';
|
|
18
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
19
|
-
* import { AppComponent } from './app.component';
|
|
20
|
-
*
|
|
21
|
-
* @NgModule({
|
|
22
|
-
* declarations: [AppComponent],
|
|
23
|
-
* imports: [BrowserModule, NumericTextBoxModule],
|
|
24
|
-
* bootstrap: [AppComponent]
|
|
25
|
-
* })
|
|
26
|
-
* export class AppModule {}
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class NumericTextBoxModule {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NumericTextBoxModule, never, [typeof i1.NumericTextBoxComponent, typeof i2.NumericTextBoxCustomMessagesComponent, typeof i3.PrefixTemplateDirective, typeof i3.SuffixTemplateDirective, typeof i3.SeparatorComponent, typeof i3.PrefixTemplateDirective, typeof i3.SuffixTemplateDirective, typeof i3.SeparatorComponent], [typeof i1.NumericTextBoxComponent, typeof i2.NumericTextBoxCustomMessagesComponent, typeof i3.PrefixTemplateDirective, typeof i3.SuffixTemplateDirective, typeof i3.SeparatorComponent, typeof i3.PrefixTemplateDirective, typeof i3.SuffixTemplateDirective, typeof i3.SeparatorComponent]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NumericTextBoxModule>;
|
|
33
|
-
}
|
package/otp.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 "./otpinput/otpinput.component";
|
|
7
|
-
import * as i2 from "./otpinput/localization/custom-messages.component";
|
|
8
|
-
/**
|
|
9
|
-
* Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the OTP Input component.
|
|
10
|
-
*
|
|
11
|
-
* Use this module to add the OTP Input component to your NgModule-based Angular application.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { OTPInputModule } from '@progress/kendo-angular-inputs';
|
|
16
|
-
* import { NgModule } from '@angular/core';
|
|
17
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
18
|
-
* import { AppComponent } from './app.component';
|
|
19
|
-
*
|
|
20
|
-
* @NgModule({
|
|
21
|
-
* declarations: [AppComponent],
|
|
22
|
-
* imports: [BrowserModule, OTPInputModule],
|
|
23
|
-
* bootstrap: [AppComponent]
|
|
24
|
-
* })
|
|
25
|
-
* export class AppModule {}
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class OTPInputModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OTPInputModule, never, [typeof i1.OTPInputComponent, typeof i2.OTPInputCustomMessagesComponent], [typeof i1.OTPInputComponent, typeof i2.OTPInputCustomMessagesComponent]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OTPInputModule>;
|
|
32
|
-
}
|
|
@@ -1,19 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { OTPInputMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Provides custom messages for the OTP Input component.
|
|
10
|
-
*
|
|
11
|
-
* Use this component to override the default messages.
|
|
12
|
-
*/
|
|
13
|
-
export declare class OTPInputCustomMessagesComponent extends OTPInputMessages {
|
|
14
|
-
protected service: LocalizationService;
|
|
15
|
-
constructor(service: LocalizationService);
|
|
16
|
-
protected get override(): boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputCustomMessagesComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTPInputCustomMessagesComponent, "kendo-otpinput-messages", never, {}, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,16 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { OTPInputMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedOTPInputMessagesDirective extends OTPInputMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedOTPInputMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedOTPInputMessagesDirective, "[kendoOTPInputLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,24 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class OTPInputMessages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The aria-label of the OTP Input. Follows the pattern **Input {currentInput} of {totalInputs}, current value {value}** by default.
|
|
13
|
-
* Тhe default label text when the current input is 1, and the total number of inputs is 4 will be
|
|
14
|
-
* **Input 1 of 4, current value null**.
|
|
15
|
-
*
|
|
16
|
-
* The message consists of several parts - the current input number, the total number of inputs, the current value and a localizable string.
|
|
17
|
-
* To allow for reordering its parts, the `ariaLabel` input accepts a string with placeholders for the current input,
|
|
18
|
-
* total number of inputs and current value. The `{currentInput}`, `{totalInputs}` and `{currentValue}` placeholders will be
|
|
19
|
-
* replaced internally with the respective actual values.
|
|
20
|
-
*/
|
|
21
|
-
ariaLabel: string;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputMessages, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OTPInputMessages, "kendo-otpinput-messages-base", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,10 +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
|
-
* Represents the input `type` options for the OTP Input.
|
|
7
|
-
*
|
|
8
|
-
* @default 'text'
|
|
9
|
-
*/
|
|
10
|
-
export type OTPInputType = 'text' | 'password' | 'number';
|
|
@@ -1,23 +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 { SVGIcon } from '@progress/kendo-angular-icons';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the icon separator for the OTP Input.
|
|
8
|
-
*
|
|
9
|
-
* Use this interface to define a separator as an icon.
|
|
10
|
-
*/
|
|
11
|
-
export interface OTPSeparatorIcon {
|
|
12
|
-
/**
|
|
13
|
-
* Sets the type of the separator icon.
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
type: 'svgIcon' | 'fontIcon' | 'iconClass';
|
|
17
|
-
/**
|
|
18
|
-
* Sets the icon to display as a separator.
|
|
19
|
-
*
|
|
20
|
-
* Use a string or an `SVGIcon`.
|
|
21
|
-
*/
|
|
22
|
-
value: string | SVGIcon;
|
|
23
|
-
}
|
|
@@ -1,25 +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 { OTPSeparatorIcon } from "./models/separator-icon";
|
|
6
|
-
import { SVGIcon } from "@progress/kendo-angular-icons";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class OTPInputSeparatorComponent {
|
|
12
|
-
set separator(otpSeparator: string | OTPSeparatorIcon);
|
|
13
|
-
get separator(): string | OTPSeparatorIcon;
|
|
14
|
-
wrapperClass: boolean;
|
|
15
|
-
hasText: boolean;
|
|
16
|
-
hasIconClass: boolean;
|
|
17
|
-
hasSVGIcon: boolean;
|
|
18
|
-
hasFontIcon: boolean;
|
|
19
|
-
separatorIconString: string;
|
|
20
|
-
separatorSVGIcon: SVGIcon;
|
|
21
|
-
private _separator;
|
|
22
|
-
private clearSeparator;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputSeparatorComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OTPInputSeparatorComponent, "kendo-otpinput-separator", ["kendoOTPInputSeparator"], { "separator": { "alias": "separator"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|