@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.
- 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,326 +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, Renderer2, SimpleChanges, NgZone, Injector, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
|
-
import { PrefixTemplateDirective, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
8
|
-
import { MaskingService } from './masking.service';
|
|
9
|
-
import { InputSize } from '../common/models';
|
|
10
|
-
import { InputRounded } from '../common/models/rounded';
|
|
11
|
-
import { InputFillMode } from '../common/models/fillmode';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Represents the [Kendo UI MaskedTextBox component for Angular](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox).
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import { Component } from '@angular/core';
|
|
19
|
-
*
|
|
20
|
-
* @Component({
|
|
21
|
-
* selector: 'my-app',
|
|
22
|
-
* template: `
|
|
23
|
-
* <kendo-maskedtextbox
|
|
24
|
-
* [mask]="mask"
|
|
25
|
-
* [value]="value">
|
|
26
|
-
* </kendo-maskedtextbox>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* export class AppComponent {
|
|
30
|
-
* public value: string = "9580128055807792";
|
|
31
|
-
* public mask: string = "0000-0000-0000-0000";
|
|
32
|
-
* }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnChanges, Validator {
|
|
36
|
-
private service;
|
|
37
|
-
private renderer;
|
|
38
|
-
hostElement: ElementRef;
|
|
39
|
-
private ngZone;
|
|
40
|
-
private injector;
|
|
41
|
-
private changeDetector;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
focusableId: string;
|
|
46
|
-
/**
|
|
47
|
-
* Disables the MaskedTextBox when you set it to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/disabled-state)).
|
|
48
|
-
* To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/forms#managing-the-maskedtextbox-disabled-state-in-reactive-forms).
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* When `true`, sets the MaskedTextBox to read-only mode ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/readonly-state)).
|
|
54
|
-
* @default false
|
|
55
|
-
*/
|
|
56
|
-
readonly: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the `title` attribute of the input element.
|
|
59
|
-
*
|
|
60
|
-
* @remarks
|
|
61
|
-
* This property is related to accessibility.
|
|
62
|
-
*/
|
|
63
|
-
title: string;
|
|
64
|
-
/**
|
|
65
|
-
* Sets the padding size of the MaskedTextBox input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#size)). The default value is set by the Kendo theme.
|
|
66
|
-
*/
|
|
67
|
-
set size(size: InputSize);
|
|
68
|
-
get size(): InputSize;
|
|
69
|
-
/**
|
|
70
|
-
* Sets the border radius of the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#roundness)). The default value is set by the Kendo theme.
|
|
71
|
-
*/
|
|
72
|
-
set rounded(rounded: InputRounded);
|
|
73
|
-
get rounded(): InputRounded;
|
|
74
|
-
/**
|
|
75
|
-
* Sets the background and border style of the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
76
|
-
*/
|
|
77
|
-
set fillMode(fillMode: InputFillMode);
|
|
78
|
-
get fillMode(): InputFillMode;
|
|
79
|
-
/**
|
|
80
|
-
* Sets the mask pattern for the MaskedTextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/value)).
|
|
81
|
-
* If you do not set a mask, the component acts as a standard `type="text"` input.
|
|
82
|
-
*
|
|
83
|
-
* If the mask allows spaces, set the [`promptPlaceholder`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/maskedtextboxcomponent#promptplaceholder)
|
|
84
|
-
* to a character that the mask does not accept.
|
|
85
|
-
*/
|
|
86
|
-
mask: string;
|
|
87
|
-
/**
|
|
88
|
-
* Sets the value of the MaskedTextBox.
|
|
89
|
-
*/
|
|
90
|
-
value: string;
|
|
91
|
-
/**
|
|
92
|
-
* Sets the RegExp-based mask validation rules ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/masks)).
|
|
93
|
-
*/
|
|
94
|
-
set rules(value: {
|
|
95
|
-
[key: string]: RegExp;
|
|
96
|
-
});
|
|
97
|
-
get rules(): {
|
|
98
|
-
[key: string]: RegExp;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Sets the prompt character for the masked value.
|
|
102
|
-
* @default `_`
|
|
103
|
-
*/
|
|
104
|
-
prompt: string;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the character that represents an empty position in the raw value.
|
|
107
|
-
* @default ' '
|
|
108
|
-
*/
|
|
109
|
-
promptPlaceholder: string;
|
|
110
|
-
/**
|
|
111
|
-
* When `true` includes literals in the raw value ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/value)).
|
|
112
|
-
* @default false
|
|
113
|
-
*/
|
|
114
|
-
includeLiterals: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Shows the mask on focus when the value is empty.
|
|
117
|
-
*/
|
|
118
|
-
maskOnFocus: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* Enables the built-in mask validator when you set it to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/validation)).
|
|
121
|
-
* @default true
|
|
122
|
-
*/
|
|
123
|
-
maskValidation: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) attribute of the component.
|
|
126
|
-
*
|
|
127
|
-
* @default 0
|
|
128
|
-
*/
|
|
129
|
-
tabindex: number;
|
|
130
|
-
/**
|
|
131
|
-
* @hidden
|
|
132
|
-
*/
|
|
133
|
-
set tabIndex(tabIndex: number);
|
|
134
|
-
get tabIndex(): number;
|
|
135
|
-
/**
|
|
136
|
-
* Sets HTML attributes for the inner input element.
|
|
137
|
-
* You cannot change attributes that are essential for component functionality.
|
|
138
|
-
*/
|
|
139
|
-
set inputAttributes(attributes: {
|
|
140
|
-
[key: string]: string;
|
|
141
|
-
});
|
|
142
|
-
get inputAttributes(): {
|
|
143
|
-
[key: string]: string;
|
|
144
|
-
};
|
|
145
|
-
private get defaultAttributes();
|
|
146
|
-
private get mutableAttributes();
|
|
147
|
-
/**
|
|
148
|
-
* Fires when the MaskedTextBox gets focused.
|
|
149
|
-
*
|
|
150
|
-
* To subscribe programmatically, use the `onFocus` property.
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
|
-
onFocus: EventEmitter<any>;
|
|
154
|
-
/**
|
|
155
|
-
* Fires when the MaskedTextBox gets blurred.
|
|
156
|
-
*
|
|
157
|
-
* To subscribe programmatically, use the `onBlur` property.
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
|
-
onBlur: EventEmitter<any>;
|
|
161
|
-
/**
|
|
162
|
-
* Fires when the input element gets focused.
|
|
163
|
-
*/
|
|
164
|
-
inputFocus: EventEmitter<any>;
|
|
165
|
-
/**
|
|
166
|
-
* Fires when the input element gets blurred.
|
|
167
|
-
*/
|
|
168
|
-
inputBlur: EventEmitter<any>;
|
|
169
|
-
/**
|
|
170
|
-
* Fires when the value changes.
|
|
171
|
-
*/
|
|
172
|
-
valueChange: EventEmitter<string>;
|
|
173
|
-
direction: string;
|
|
174
|
-
get hostDisabledClass(): boolean;
|
|
175
|
-
/**
|
|
176
|
-
* Returns the `ElementRef` of the visible `input` element.
|
|
177
|
-
*/
|
|
178
|
-
input: ElementRef;
|
|
179
|
-
/**
|
|
180
|
-
* @hidden
|
|
181
|
-
*/
|
|
182
|
-
suffixTemplate: SuffixTemplateDirective;
|
|
183
|
-
/**
|
|
184
|
-
* @hidden
|
|
185
|
-
*/
|
|
186
|
-
prefixTemplate: PrefixTemplateDirective;
|
|
187
|
-
protected isFocused: boolean;
|
|
188
|
-
private maskedValue;
|
|
189
|
-
private focusClick;
|
|
190
|
-
private defaultRules;
|
|
191
|
-
private _rules;
|
|
192
|
-
private isPasted;
|
|
193
|
-
private selection;
|
|
194
|
-
private control;
|
|
195
|
-
private _size;
|
|
196
|
-
private _rounded;
|
|
197
|
-
private _fillMode;
|
|
198
|
-
private _inputAttributes;
|
|
199
|
-
private parsedAttributes;
|
|
200
|
-
private pendingValueUpdate;
|
|
201
|
-
constructor(service: MaskingService, renderer: Renderer2, hostElement: ElementRef, ngZone: NgZone, injector: Injector, changeDetector: ChangeDetectorRef, rtl: boolean);
|
|
202
|
-
ngOnInit(): void;
|
|
203
|
-
ngAfterViewInit(): void;
|
|
204
|
-
/**
|
|
205
|
-
* @hidden
|
|
206
|
-
* Used by the FloatingLabel to determine if the MaskedTextBox is empty.
|
|
207
|
-
*/
|
|
208
|
-
isEmpty(): boolean;
|
|
209
|
-
/**
|
|
210
|
-
* @hidden
|
|
211
|
-
*/
|
|
212
|
-
handleFocus: () => void;
|
|
213
|
-
/**
|
|
214
|
-
* @hidden
|
|
215
|
-
*/
|
|
216
|
-
handleInputFocus: () => void;
|
|
217
|
-
/**
|
|
218
|
-
* @hidden
|
|
219
|
-
*/
|
|
220
|
-
handleClick: () => void;
|
|
221
|
-
/**
|
|
222
|
-
* @hidden
|
|
223
|
-
*/
|
|
224
|
-
handleBlur: () => void;
|
|
225
|
-
/**
|
|
226
|
-
* @hidden
|
|
227
|
-
*/
|
|
228
|
-
handleInputBlur: () => void;
|
|
229
|
-
/**
|
|
230
|
-
* @hidden
|
|
231
|
-
*/
|
|
232
|
-
handleDragDrop(): boolean;
|
|
233
|
-
/**
|
|
234
|
-
* Focuses the MaskedTextBox.
|
|
235
|
-
*
|
|
236
|
-
* @example
|
|
237
|
-
* ```ts-no-run
|
|
238
|
-
* _@Component({
|
|
239
|
-
* selector: 'my-app',
|
|
240
|
-
* template: `
|
|
241
|
-
* <button (click)="maskedinput.focus()">Focus the input</button>
|
|
242
|
-
* <kendo-maskedtextbox #maskedinput></kendo-maskedtextbox>
|
|
243
|
-
* `
|
|
244
|
-
* })
|
|
245
|
-
* class AppComponent { }
|
|
246
|
-
* ```
|
|
247
|
-
*/
|
|
248
|
-
focus(): void;
|
|
249
|
-
/**
|
|
250
|
-
* Blurs the MaskedTextBox.
|
|
251
|
-
*/
|
|
252
|
-
blur(): void;
|
|
253
|
-
/**
|
|
254
|
-
* @hidden
|
|
255
|
-
*/
|
|
256
|
-
pasteHandler(e: any): void;
|
|
257
|
-
/**
|
|
258
|
-
* @hidden
|
|
259
|
-
*/
|
|
260
|
-
inputHandler(e: any): void;
|
|
261
|
-
/**
|
|
262
|
-
* @hidden
|
|
263
|
-
*/
|
|
264
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
265
|
-
/**
|
|
266
|
-
* @hidden
|
|
267
|
-
* Writes a new value to the element.
|
|
268
|
-
*/
|
|
269
|
-
writeValue(value: string): void;
|
|
270
|
-
/**
|
|
271
|
-
* @hidden
|
|
272
|
-
* Sets the function that will be called when a `change` event is triggered.
|
|
273
|
-
*/
|
|
274
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
275
|
-
/**
|
|
276
|
-
* @hidden
|
|
277
|
-
* Sets the function that will be called when a `touch` event is triggered.
|
|
278
|
-
*/
|
|
279
|
-
registerOnTouched(fn: () => void): void;
|
|
280
|
-
/**
|
|
281
|
-
* @hidden
|
|
282
|
-
* Called when the status of the component changes to or from `disabled`.
|
|
283
|
-
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
284
|
-
*
|
|
285
|
-
* @param isDisabled
|
|
286
|
-
*/
|
|
287
|
-
setDisabledState(isDisabled: boolean): void;
|
|
288
|
-
/**
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
validate(_?: AbstractControl): any;
|
|
292
|
-
/**
|
|
293
|
-
* @hidden
|
|
294
|
-
*/
|
|
295
|
-
get isControlInvalid(): boolean;
|
|
296
|
-
/**
|
|
297
|
-
* @hidden
|
|
298
|
-
*/
|
|
299
|
-
get isControlRequired(): boolean;
|
|
300
|
-
/**
|
|
301
|
-
* @hidden
|
|
302
|
-
*/
|
|
303
|
-
updateValueWithEvents(maskedValue: string, callOnChange?: boolean): void;
|
|
304
|
-
protected onChange: (_: any) => void;
|
|
305
|
-
protected onTouched: () => void;
|
|
306
|
-
private updateValue;
|
|
307
|
-
private updateInput;
|
|
308
|
-
private extractChanges;
|
|
309
|
-
private updateService;
|
|
310
|
-
private setSelection;
|
|
311
|
-
private get emptyMask();
|
|
312
|
-
private setFocusSelection;
|
|
313
|
-
/**
|
|
314
|
-
* @hidden
|
|
315
|
-
*/
|
|
316
|
-
get focused(): boolean;
|
|
317
|
-
/**
|
|
318
|
-
* @hidden
|
|
319
|
-
*/
|
|
320
|
-
set focused(value: boolean);
|
|
321
|
-
private normalizeValue;
|
|
322
|
-
private handleClasses;
|
|
323
|
-
private setInputAttributes;
|
|
324
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaskedTextBoxComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
325
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaskedTextBoxComponent, "kendo-maskedtextbox", ["kendoMaskedTextBox"], { "focusableId": { "alias": "focusableId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "value": { "alias": "value"; "required": false; }; "rules": { "alias": "rules"; "required": false; }; "prompt": { "alias": "prompt"; "required": false; }; "promptPlaceholder": { "alias": "promptPlaceholder"; "required": false; }; "includeLiterals": { "alias": "includeLiterals"; "required": false; }; "maskOnFocus": { "alias": "maskOnFocus"; "required": false; }; "maskValidation": { "alias": "maskValidation"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "valueChange": "valueChange"; }, ["suffixTemplate", "prefixTemplate"], never, true, never>;
|
|
326
|
-
}
|
|
@@ -1,48 +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
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class MaskingService {
|
|
10
|
-
rules: {
|
|
11
|
-
[key: string]: RegExp;
|
|
12
|
-
};
|
|
13
|
-
prompt: string;
|
|
14
|
-
mask: string;
|
|
15
|
-
promptPlaceholder: string;
|
|
16
|
-
includeLiterals: boolean;
|
|
17
|
-
maskTokens: any[];
|
|
18
|
-
unmaskTokens: any[];
|
|
19
|
-
rawTokens: any[];
|
|
20
|
-
validationTokens: any[];
|
|
21
|
-
update({ mask, prompt, promptPlaceholder, rules, includeLiterals }: any): void;
|
|
22
|
-
validationValue(maskedValue?: string): string;
|
|
23
|
-
rawValue(maskedValue?: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
maskRaw(rawValue?: string): string;
|
|
28
|
-
maskInput(input: string, control: string, splitPoint: number): any;
|
|
29
|
-
maskInRange(pasted: string, oldValue: string, start: number, end: number): any;
|
|
30
|
-
private maskRemoved;
|
|
31
|
-
private adjustPosition;
|
|
32
|
-
private maskInserted;
|
|
33
|
-
protected get maskTokenCreator(): {
|
|
34
|
-
[key: string]: Function;
|
|
35
|
-
};
|
|
36
|
-
protected get unmaskTokenCreator(): {
|
|
37
|
-
[key: string]: Function;
|
|
38
|
-
};
|
|
39
|
-
protected get rawTokenCreator(): {
|
|
40
|
-
[key: string]: Function;
|
|
41
|
-
};
|
|
42
|
-
protected get validationTokenCreator(): {
|
|
43
|
-
[key: string]: Function;
|
|
44
|
-
};
|
|
45
|
-
private tokenize;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaskingService, never>;
|
|
47
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MaskingService>;
|
|
48
|
-
}
|
|
@@ -1,13 +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 { Parser } from './parsers';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const sequence: (list: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const greedy: (parser: any) => Parser;
|
|
@@ -1,51 +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 { Result } from './result';
|
|
6
|
-
import { Stream } from './stream';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Parser {
|
|
11
|
-
private parse;
|
|
12
|
-
constructor(parse: Function);
|
|
13
|
-
run(input: Stream | string, control?: string): Result;
|
|
14
|
-
map(f: Function): Parser;
|
|
15
|
-
chain(f: Function): Parser;
|
|
16
|
-
isLiteral(c: string): boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const mask: ({ prompt, promptPlaceholder }: {
|
|
22
|
-
prompt: any;
|
|
23
|
-
promptPlaceholder: any;
|
|
24
|
-
}) => (rule: any) => Parser;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare const literal: (_token: any) => Parser;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
export declare const unmask: (prompt: any) => (rule: any) => Parser;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare const unliteral: (_token: any) => Parser;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
export declare const token: (rules: any, creator: any) => Parser;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare const rawMask: ({ prompt, promptPlaceholder }: {
|
|
45
|
-
prompt: any;
|
|
46
|
-
promptPlaceholder: any;
|
|
47
|
-
}) => Parser;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*/
|
|
51
|
-
export declare const rawLiteral: (includeLiterals: any) => Parser;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Stream } from './stream';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare enum ResultType {
|
|
10
|
-
Literal = 0,
|
|
11
|
-
Mask = 1,
|
|
12
|
-
Undefined = 2
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class Result {
|
|
18
|
-
private value;
|
|
19
|
-
private rest;
|
|
20
|
-
type: ResultType;
|
|
21
|
-
constructor(value: any, rest: Stream, type?: ResultType);
|
|
22
|
-
map(fn: Function): Result;
|
|
23
|
-
chain(fn: Function): Result;
|
|
24
|
-
fold(s: Function, _?: Function): Result;
|
|
25
|
-
concat(r: Result): Result;
|
|
26
|
-
toString(): string;
|
|
27
|
-
}
|
|
@@ -1,26 +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 class Stream {
|
|
9
|
-
private input;
|
|
10
|
-
private control;
|
|
11
|
-
private inputCursor;
|
|
12
|
-
private controlCursor;
|
|
13
|
-
constructor(input?: any[], control?: any[]);
|
|
14
|
-
eof(): boolean;
|
|
15
|
-
next(): {
|
|
16
|
-
char: string;
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
peek(): {
|
|
20
|
-
char: string;
|
|
21
|
-
control: string;
|
|
22
|
-
};
|
|
23
|
-
eat_input(): void;
|
|
24
|
-
eat_control(): void;
|
|
25
|
-
eat(): void;
|
|
26
|
-
}
|
|
@@ -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 "./maskedtextbox/maskedtextbox.component";
|
|
7
|
-
import * as i2 from "@progress/kendo-angular-common";
|
|
8
|
-
/**
|
|
9
|
-
* Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the MaskedTextBox component.
|
|
10
|
-
*
|
|
11
|
-
* Use this module to add the MaskedTextBox component to your NgModule-based Angular application.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import { MaskedTextBoxModule } 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, MaskedTextBoxModule],
|
|
23
|
-
* bootstrap: [AppComponent]
|
|
24
|
-
* })
|
|
25
|
-
* export class AppModule {}
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class MaskedTextBoxModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaskedTextBoxModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaskedTextBoxModule, never, [typeof i1.MaskedTextBoxComponent, typeof i2.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i2.SeparatorComponent, typeof i2.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i2.SeparatorComponent], [typeof i1.MaskedTextBoxComponent, typeof i2.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i2.SeparatorComponent, typeof i2.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i2.SeparatorComponent]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MaskedTextBoxModule>;
|
|
32
|
-
}
|
|
@@ -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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare enum ArrowDirection {
|
|
9
|
-
Down = -1,
|
|
10
|
-
None = 0,
|
|
11
|
-
Up = 1
|
|
12
|
-
}
|
|
@@ -1,28 +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 MIN_DOC_LINK = "https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent#min";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const MAX_DOC_LINK = "https://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent#max";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare const POINT = ".";
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare const INITIAL_SPIN_DELAY = 500;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare const SPIN_DELAY = 50;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare const EXPONENT_REGEX: RegExp;
|
|
@@ -1,29 +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 { NumericTextBoxMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Overrides the default messages of the NumericTextBox component.
|
|
10
|
-
*
|
|
11
|
-
* Use this component to provide custom messages for the NumericTextBox.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-numerictextbox>
|
|
16
|
-
* <kendo-numerictextbox-messages
|
|
17
|
-
* [increment]="'Custom Increment Message'"
|
|
18
|
-
* [decrement]="'Custom Decrement Message'">
|
|
19
|
-
* </kendo-numerictextbox-messages>
|
|
20
|
-
* <kendo-numerictextbox>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessages {
|
|
24
|
-
protected service: LocalizationService;
|
|
25
|
-
constructor(service: LocalizationService);
|
|
26
|
-
protected get override(): boolean;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxCustomMessagesComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxCustomMessagesComponent, "kendo-numerictextbox-messages", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -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 { NumericTextBoxMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedNumericTextBoxMessagesDirective extends NumericTextBoxMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedNumericTextBoxMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedNumericTextBoxMessagesDirective, "[kendoNumericTextBoxLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,21 +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 NumericTextBoxMessages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the title of the **Decrement** button in the NumericTextBox.
|
|
13
|
-
*/
|
|
14
|
-
decrement: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the title of the **Increment** button in the NumericTextBox.
|
|
17
|
-
*/
|
|
18
|
-
increment: string;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxMessages, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericTextBoxMessages, "kendo-numerictextbox-messages-base", never, { "decrement": { "alias": "decrement"; "required": false; }; "increment": { "alias": "increment"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|