@progress/kendo-vue-inputs 8.0.3-develop.2 → 8.0.3-develop.4
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/checkbox/Checkbox.d.ts +193 -0
- package/checkbox/interfaces/CheckboxBlurEvent.d.ts +16 -0
- package/checkbox/interfaces/CheckboxChangeEvent.d.ts +16 -0
- package/checkbox/interfaces/CheckboxFocusEvent.d.ts +16 -0
- package/checkbox/interfaces/CheckboxProps.d.ts +120 -0
- package/colors/ColorContrastLabels.d.ts +27 -0
- package/colors/ColorContrastSvg.d.ts +30 -0
- package/colors/ColorGradient.d.ts +128 -0
- package/colors/ColorInput.d.ts +67 -0
- package/colors/ColorPalette.d.ts +112 -0
- package/colors/ColorPicker.d.ts +279 -0
- package/colors/ColorPicker.js +1 -1
- package/colors/ColorPicker.mjs +7 -6
- package/colors/FlatColorPicker.d.ts +286 -0
- package/colors/FlatColorPicker.mjs +3 -3
- package/colors/HexInput.d.ts +55 -0
- package/colors/Picker.d.ts +35 -0
- package/colors/common/ColorsAdaptiveMode.d.ts +47 -0
- package/colors/interfaces/ColorGradientBlurEvent.d.ts +16 -0
- package/colors/interfaces/ColorGradientChangeEvent.d.ts +28 -0
- package/colors/interfaces/ColorGradientFocusEvent.d.ts +16 -0
- package/colors/interfaces/ColorGradientProps.d.ts +95 -0
- package/colors/interfaces/ColorPaletteBlurEvent.d.ts +16 -0
- package/colors/interfaces/ColorPaletteChangeEvent.d.ts +28 -0
- package/colors/interfaces/ColorPaletteFocusEvent.d.ts +16 -0
- package/colors/interfaces/ColorPaletteProps.d.ts +93 -0
- package/colors/interfaces/ColorPickerActiveColorClick.d.ts +24 -0
- package/colors/interfaces/ColorPickerBlurEvent.d.ts +16 -0
- package/colors/interfaces/ColorPickerChangeEvent.d.ts +28 -0
- package/colors/interfaces/ColorPickerFocusEvent.d.ts +16 -0
- package/colors/interfaces/ColorPickerPaletteSettings.d.ts +39 -0
- package/colors/interfaces/ColorPickerPopupSettings.d.ts +21 -0
- package/colors/interfaces/ColorPickerProps.d.ts +190 -0
- package/colors/interfaces/ColorPickerView.d.ts +17 -0
- package/colors/interfaces/FlatColorPickerBlurEvent.d.ts +16 -0
- package/colors/interfaces/FlatColorPickerFocusEvent.d.ts +16 -0
- package/colors/interfaces/FlatColorPickerFocusoutEvent.d.ts +16 -0
- package/colors/interfaces/FlatColorPickerViewChangeEvent.d.ts +20 -0
- package/colors/interfaces/HexInputBlurEvent.d.ts +17 -0
- package/colors/interfaces/HexInputFocusEvent.d.ts +17 -0
- package/colors/interfaces/PickerPopupSettings.d.ts +21 -0
- package/colors/interfaces/PickerProps.d.ts +53 -0
- package/colors/models/hsva.d.ts +16 -0
- package/colors/models/output-format.d.ts +11 -0
- package/colors/models/palette-presets.d.ts +60 -0
- package/colors/models/rgb.d.ts +15 -0
- package/colors/models/rgba.d.ts +16 -0
- package/colors/models/table-cell.d.ts +14 -0
- package/colors/models/tile-size.d.ts +18 -0
- package/colors/utils/color-cache.d.ts +50 -0
- package/colors/utils/color-palette.service.d.ts +20 -0
- package/colors/utils/color-parser.d.ts +78 -0
- package/colors/utils/misc.d.ts +22 -0
- package/colors/utils/svg-calc.d.ts +69 -0
- package/dist/cdn/js/kendo-vue-inputs.js +1 -1
- package/index.d.mts +74 -5820
- package/index.d.ts +74 -5820
- package/input/Input.d.ts +378 -0
- package/input/InputBlurEvent.d.ts +16 -0
- package/input/InputFocusEvent.d.ts +16 -0
- package/input-separator/InputSeparator.d.ts +42 -0
- package/input-separator/interfaces/InputSeparatorOrientation.d.ts +15 -0
- package/interfaces/Direction.d.ts +8 -0
- package/interfaces/ToggleBaseProps.d.ts +15 -0
- package/maskedtextbox/MaskedTextBox.d.ts +269 -0
- package/maskedtextbox/MaskedTextBoxBlurEvent.d.ts +16 -0
- package/maskedtextbox/MaskedTextBoxFocusEvent.d.ts +16 -0
- package/maskedtextbox/MaskedTextBoxProps.d.ts +230 -0
- package/maskedtextbox/masking.service.d.ts +48 -0
- package/maskedtextbox/parsing/combinators.d.ts +16 -0
- package/maskedtextbox/parsing/parsers.d.ts +54 -0
- package/maskedtextbox/parsing/result.d.ts +30 -0
- package/maskedtextbox/parsing/stream.d.ts +29 -0
- package/maskedtextbox/utils.d.ts +23 -0
- package/messages/main.d.ts +212 -0
- package/numerictextbox/NumericTextBox.d.ts +264 -0
- package/numerictextbox/NumericTextBox.js +1 -1
- package/numerictextbox/NumericTextBox.mjs +2 -0
- package/numerictextbox/interfaces/NumericTextBoxBlurEvent.d.ts +16 -0
- package/numerictextbox/interfaces/NumericTextBoxData.d.ts +22 -0
- package/numerictextbox/interfaces/NumericTextBoxFocusEvent.d.ts +16 -0
- package/numerictextbox/interfaces/NumericTextBoxProps.d.ts +188 -0
- package/numerictextbox/utils/main.d.ts +126 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -11
- package/radiobutton/RadioButton.d.ts +94 -0
- package/radiobutton/RadioGroup.d.ts +97 -0
- package/radiobutton/interfaces/RadioButtonBlurEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioButtonChangeEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioButtonFocusEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioButtonProps.d.ts +120 -0
- package/radiobutton/interfaces/RadioGroupBlurEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioGroupChangeEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioGroupFocusEvent.d.ts +16 -0
- package/radiobutton/interfaces/RadioGroupProps.d.ts +86 -0
- package/range-slider/RangeSlider.d.ts +256 -0
- package/range-slider/range-raducer.d.ts +42 -0
- package/range-slider/range-raducer.js +1 -1
- package/range-slider/range-raducer.mjs +2 -2
- package/rating/Rating.d.ts +132 -0
- package/rating/RatingItem.d.ts +98 -0
- package/rating/interfaces/RatingBlurEvent.d.ts +16 -0
- package/rating/interfaces/RatingEvents.d.ts +54 -0
- package/rating/interfaces/RatingFocusEvent.d.ts +16 -0
- package/rating/interfaces/RatingItemProps.d.ts +99 -0
- package/rating/interfaces/RatingProps.d.ts +123 -0
- package/rating/utils/main.d.ts +31 -0
- package/rating/utils/rating-reducer.d.ts +39 -0
- package/signature/Signature.d.ts +219 -0
- package/signature/SignatureBottomActions.d.ts +35 -0
- package/signature/SignatureCanvas.d.ts +66 -0
- package/signature/SignatureDialog.d.ts +90 -0
- package/signature/SignatureLine.d.ts +12 -0
- package/signature/interfaces/SignatureBlurEvent.d.ts +12 -0
- package/signature/interfaces/SignatureCanvasProps.d.ts +23 -0
- package/signature/interfaces/SignatureChangeEvent.d.ts +16 -0
- package/signature/interfaces/SignatureCloseEvent.d.ts +12 -0
- package/signature/interfaces/SignatureFocusEvent.d.ts +12 -0
- package/signature/interfaces/SignatureHandle.d.ts +49 -0
- package/signature/interfaces/SignatureOpenEvent.d.ts +12 -0
- package/signature/interfaces/SignatureProps.d.ts +197 -0
- package/signature/interfaces/main.d.ts +14 -0
- package/signature/utils/main.d.ts +11 -0
- package/slider/Slider.d.ts +201 -0
- package/slider/SliderLabel.d.ts +57 -0
- package/slider/interfaces/SliderBlurEvent.d.ts +16 -0
- package/slider/interfaces/SliderFocusEvent.d.ts +16 -0
- package/switch/Switch.d.ts +318 -0
- package/switch/interfaces/SwitchBlurEvent.d.ts +16 -0
- package/switch/interfaces/SwitchFocusEvent.d.ts +16 -0
- package/switch/util.d.ts +15 -0
- package/textarea/TextArea.d.ts +237 -0
- package/textarea/interfaces/TextAreaBlurEvent.d.ts +24 -0
- package/textarea/interfaces/TextAreaChangeEvent.d.ts +16 -0
- package/textarea/interfaces/TextAreaFlow.d.ts +15 -0
- package/textarea/interfaces/TextAreaFocusEvent.d.ts +24 -0
- package/textarea/interfaces/TextAreaProps.d.ts +191 -0
- package/textarea/interfaces/TextAreaResize.d.ts +38 -0
- package/textbox/TextBox.d.ts +422 -0
- package/textbox/interfaces/TextBoxBlurEvent.d.ts +16 -0
- package/textbox/interfaces/TextBoxFocusEvent.d.ts +16 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
9
|
+
import { NumberFormatOptions } from '@progress/kendo-vue-intl';
|
|
10
|
+
type NumericTextBoxInputType = 'tel' | 'text';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the [KendoVue NumericTextBox component]({% slug overview_numerictextbox %}).
|
|
13
|
+
*/
|
|
14
|
+
export interface NumericTextBoxProps extends FormComponentProps {
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the value of the NumericTextBox.
|
|
17
|
+
*/
|
|
18
|
+
value?: number | null;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the initial value. Leaves the subsequent updates uncontrolled.
|
|
21
|
+
*/
|
|
22
|
+
modelValue?: number | null;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the initial value. Leaves the subsequent updates uncontrolled.
|
|
25
|
+
*/
|
|
26
|
+
defaultValue?: number | null;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the value that is used to increment or decrement the value of the NumericTextBox ([see example]({% slug predefinedsteps_numerictextbox %})).
|
|
29
|
+
*/
|
|
30
|
+
step?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the number format which is used for formatting the value ([see example]({% slug formats_numerictextbox %})). If set to `null` or `undefined`, the default format will be used.
|
|
33
|
+
*/
|
|
34
|
+
format?: string | NumberFormatOptions;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the `tabIndex` property of the NumericTextBox.
|
|
37
|
+
*/
|
|
38
|
+
tabIndex?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Configures the `size` of the NumericTextBox.
|
|
41
|
+
*
|
|
42
|
+
* The available options are:
|
|
43
|
+
* - small
|
|
44
|
+
* - medium
|
|
45
|
+
* - large
|
|
46
|
+
*
|
|
47
|
+
* @default undefined
|
|
48
|
+
*/
|
|
49
|
+
size?: 'small' | 'medium' | 'large';
|
|
50
|
+
/**
|
|
51
|
+
* Configures the `roundness` of the NumericTextBox.
|
|
52
|
+
*
|
|
53
|
+
* The available options are:
|
|
54
|
+
* - none
|
|
55
|
+
* - small
|
|
56
|
+
* - medium
|
|
57
|
+
* - large
|
|
58
|
+
* - full
|
|
59
|
+
*
|
|
60
|
+
* @default undefined
|
|
61
|
+
*/
|
|
62
|
+
rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
|
|
63
|
+
/**
|
|
64
|
+
* Configures the `fillMode` of the NumericTextBox.
|
|
65
|
+
*
|
|
66
|
+
* The available options are:
|
|
67
|
+
* - solid
|
|
68
|
+
* - outline
|
|
69
|
+
* - flat
|
|
70
|
+
*
|
|
71
|
+
* @default undefined
|
|
72
|
+
*/
|
|
73
|
+
fillMode?: 'solid' | 'flat' | 'outline';
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the `accessKey` of the NumericTextBox.
|
|
76
|
+
*/
|
|
77
|
+
accessKey?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Sets the title of the `input` element of the NumericTextBox.
|
|
80
|
+
*/
|
|
81
|
+
title?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies the input placeholder.
|
|
84
|
+
*/
|
|
85
|
+
placeholder?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the smallest value that can be entered.
|
|
88
|
+
*/
|
|
89
|
+
min?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the greatest value that can be entered.
|
|
92
|
+
*/
|
|
93
|
+
max?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug spinbuttons_numerictextbox %})).
|
|
96
|
+
*/
|
|
97
|
+
spinners?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Determines whether the NumericTextBox is disabled.
|
|
100
|
+
*/
|
|
101
|
+
disabled?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Represents the `dir` HTML attribute.
|
|
104
|
+
*/
|
|
105
|
+
dir?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the name of the `input` DOM element.
|
|
108
|
+
*/
|
|
109
|
+
name?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Renders a floating label for the NumericTextBox.
|
|
112
|
+
*/
|
|
113
|
+
label?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Sets the `id` of the `input` DOM element.
|
|
116
|
+
*/
|
|
117
|
+
id?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Sets the `aria-label` of the `input` DOM element.
|
|
120
|
+
*/
|
|
121
|
+
ariaLabel?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Sets the `type` of the `input` DOM element.
|
|
124
|
+
*
|
|
125
|
+
* The available options are:
|
|
126
|
+
* - (Default) `tel`
|
|
127
|
+
* - `text`
|
|
128
|
+
* - `numeric`
|
|
129
|
+
*/
|
|
130
|
+
inputType?: NumericTextBoxInputType | string;
|
|
131
|
+
/**
|
|
132
|
+
* If set to `false`, no visual representation of the invalid state of the component will be applied.
|
|
133
|
+
*
|
|
134
|
+
* @default true
|
|
135
|
+
*/
|
|
136
|
+
validityStyles?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Defines a string prop that controls the input icon. This property works only with the Kendo UI for Vue FontIcons.
|
|
139
|
+
* Check the [Icons]({% slug icons %}) article for more information about how the Font Icon can be loaded to your project.
|
|
140
|
+
*/
|
|
141
|
+
iconName?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Defines if the inputPrefix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
144
|
+
*/
|
|
145
|
+
inputPrefix?: string | Function | object | boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Defines if the inputSuffix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
148
|
+
*/
|
|
149
|
+
inputSuffix?: string | Function | object | boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Defines a boolean prop that controls whether to show the validation icon. Defaults to 'false'.
|
|
152
|
+
*/
|
|
153
|
+
showValidationIcon?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Defines a boolean prop that controls whether to show the loading icon. Defaults to 'false'.
|
|
156
|
+
*/
|
|
157
|
+
showLoadingIcon?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Defines a boolean prop that controls whether to show the clear icon. Defaults to 'false'.
|
|
160
|
+
*/
|
|
161
|
+
showClearButton?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Defines additional class to the wrapper element.
|
|
164
|
+
*/
|
|
165
|
+
wrapperClass?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Defines additional class to the input element.
|
|
168
|
+
*/
|
|
169
|
+
inputClass?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Sets the built-in HTML attributes of the inner focusable input element.
|
|
172
|
+
* Attributes which are essential for certain component functionalities cannot be changed.
|
|
173
|
+
*/
|
|
174
|
+
inputAttributes?: Object;
|
|
175
|
+
/**
|
|
176
|
+
* The event handler that will be fired when the changes the selected value.
|
|
177
|
+
*/
|
|
178
|
+
onChange?: (event: any) => void;
|
|
179
|
+
/**
|
|
180
|
+
* The event handler that will be fired when TextArea is focused.
|
|
181
|
+
*/
|
|
182
|
+
onFocus?: (event: any) => void;
|
|
183
|
+
/**
|
|
184
|
+
* The event handler that will be fired when TextArea is blurred.
|
|
185
|
+
*/
|
|
186
|
+
onBlur?: (event: any) => void;
|
|
187
|
+
}
|
|
188
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { NumberFormatOptions } from '@progress/kendo-vue-intl';
|
|
9
|
+
import { NumericTextBoxData } from '../interfaces/NumericTextBoxData';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const getInitialState: () => NumericTextBoxData;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const getStateOrPropsValue: (value: number | null | undefined, stateValue: number | null | undefined) => number | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatValue: (value: string | number | null | undefined, format: string | NumberFormatOptions | undefined, intlService: any) => string;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const fractionLength: (value: number) => number;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare const limitPrecision: (precision: number) => number;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const toFixedPrecision: (value: number, precision: number) => number;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare const increaseValue: (value: any, newState: any, step: any, min: any, max: any, format: any, intlService: any) => void;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export declare const decreaseValue: (value: any, newState: any, step: any, min: any, max: any, format: any, intlService: any) => void;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const rangeValue: (value: number | null, min: any, max: any) => number | null;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export declare const getMaxCursorPosition: (nextValue: string, formatInfo: string[][]) => number;
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
export declare const getMinCursorPosition: (nextValue: string, formatInfo: string[][]) => number;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export declare const rangeSelection: (nextLooseValue: string, formatInfo: string[][], newState: NumericTextBoxData) => void;
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
export declare const setSelection: (newState: NumericTextBoxData, newIndex: number, nextLooseValue: string, formatInfo: string[][]) => void;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
export declare const setInvalid: (newState: NumericTextBoxData, format: string | NumberFormatOptions | undefined, formatInfo: string[][], intlService: any) => void;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export declare const isMinusSymbolAdded: (newState: NumericTextBoxData, symbols: any) => boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
export declare const isMinusSymbolRemoved: (newState: NumericTextBoxData, symbols: any) => boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
*/
|
|
77
|
+
export declare const isDecimalDuplicated: (newState: NumericTextBoxData, symbols: any) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*/
|
|
81
|
+
export declare const getFormatPrefixSufix: (format: string | NumberFormatOptions | undefined, intlService: any) => {
|
|
82
|
+
positiveInfo: string[];
|
|
83
|
+
negativeInfo: string[];
|
|
84
|
+
zeroInfo: string[];
|
|
85
|
+
oneInfo: string[];
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
export declare const getFormatSymbols: (format: string | NumberFormatOptions | undefined, intlService: any) => string;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
*/
|
|
94
|
+
export declare const getInitialPosition: (nextLooseValue: string, symbols: any) => number;
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
export declare const reverseString: (str: string) => string;
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
export declare const getLastNumberIndex: (currentLooseValue: string, inputRegex: RegExp) => number;
|
|
103
|
+
/**
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
export declare const getPrefix: (str: string) => string;
|
|
107
|
+
/**
|
|
108
|
+
* @hidden
|
|
109
|
+
*/
|
|
110
|
+
export declare const getSuffix: (str: string) => string;
|
|
111
|
+
/**
|
|
112
|
+
* @hidden
|
|
113
|
+
*/
|
|
114
|
+
export declare const getFirstNumberIndex: (prevLooseValue: string, inputRegex: RegExp) => number;
|
|
115
|
+
/**
|
|
116
|
+
* @hidden
|
|
117
|
+
*/
|
|
118
|
+
export declare const getDecimalCount: (value: string, decimal: string) => number;
|
|
119
|
+
/**
|
|
120
|
+
* @hidden
|
|
121
|
+
*/
|
|
122
|
+
export declare const changeBasedSelection: (currentValue: string, nextValue: string, selectionPosition: number, isDelete: boolean, sanitizeRegex: any) => number;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
export declare const sanitizeNumber: (state: NumericTextBoxData, format: string | NumberFormatOptions | undefined, intlService: any) => NumericTextBoxData;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1773755862,version:"8.0.3-develop.4",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "8.0.3-develop.
|
|
13
|
+
publishDate: 1773755862,
|
|
14
|
+
version: "8.0.3-develop.4",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-inputs",
|
|
3
|
-
"version": "8.0.3-develop.
|
|
3
|
+
"version": "8.0.3-develop.4",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
"types": "./index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"import":
|
|
13
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./index.d.mts",
|
|
14
|
+
"default": "./index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./index.d.ts",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
}
|
|
14
20
|
},
|
|
15
21
|
"./package.json": {
|
|
16
22
|
"default": "./package.json"
|
|
@@ -20,13 +26,13 @@
|
|
|
20
26
|
"peerDependencies": {
|
|
21
27
|
"@progress/kendo-drawing": "^1.21.1",
|
|
22
28
|
"@progress/kendo-licensing": "^1.7.2",
|
|
23
|
-
"@progress/kendo-vue-animation": "8.0.3-develop.
|
|
24
|
-
"@progress/kendo-vue-buttons": "8.0.3-develop.
|
|
25
|
-
"@progress/kendo-vue-common": "8.0.3-develop.
|
|
26
|
-
"@progress/kendo-vue-dialogs": "8.0.3-develop.
|
|
27
|
-
"@progress/kendo-vue-intl": "8.0.3-develop.
|
|
28
|
-
"@progress/kendo-vue-labels": "8.0.3-develop.
|
|
29
|
-
"@progress/kendo-vue-popup": "8.0.3-develop.
|
|
29
|
+
"@progress/kendo-vue-animation": "8.0.3-develop.4",
|
|
30
|
+
"@progress/kendo-vue-buttons": "8.0.3-develop.4",
|
|
31
|
+
"@progress/kendo-vue-common": "8.0.3-develop.4",
|
|
32
|
+
"@progress/kendo-vue-dialogs": "8.0.3-develop.4",
|
|
33
|
+
"@progress/kendo-vue-intl": "8.0.3-develop.4",
|
|
34
|
+
"@progress/kendo-vue-labels": "8.0.3-develop.4",
|
|
35
|
+
"@progress/kendo-vue-popup": "8.0.3-develop.4",
|
|
30
36
|
"@progress/kendo-svg-icons": "^4.4.0",
|
|
31
37
|
"vue": "^3.0.2"
|
|
32
38
|
},
|
|
@@ -49,7 +55,7 @@
|
|
|
49
55
|
"package": {
|
|
50
56
|
"productName": "Kendo UI for Vue",
|
|
51
57
|
"productCode": "KENDOUIVUE",
|
|
52
|
-
"publishDate":
|
|
58
|
+
"publishDate": 1773755862,
|
|
53
59
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
54
60
|
}
|
|
55
61
|
},
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { RadioButtonChangeEvent } from './interfaces/RadioButtonChangeEvent';
|
|
9
|
+
import { RadioButtonFocusEvent } from './interfaces/RadioButtonFocusEvent';
|
|
10
|
+
import { RadioButtonBlurEvent } from './interfaces/RadioButtonBlurEvent';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
declare const RadioButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
|
+
ariaDescribedBy: PropType<string>;
|
|
17
|
+
checked: PropType<boolean>;
|
|
18
|
+
disabled: PropType<boolean>;
|
|
19
|
+
className: PropType<string>;
|
|
20
|
+
content: PropType<any>;
|
|
21
|
+
dataItem: PropType<object>;
|
|
22
|
+
id: PropType<string>;
|
|
23
|
+
label: PropType<string>;
|
|
24
|
+
labelRender: PropType<any>;
|
|
25
|
+
item: PropType<any>;
|
|
26
|
+
labelPlacement: PropType<string>;
|
|
27
|
+
name: PropType<string>;
|
|
28
|
+
index: PropType<number>;
|
|
29
|
+
tag: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
type: PropType<"small" | "medium" | "large">;
|
|
35
|
+
validator: (value: string) => boolean;
|
|
36
|
+
};
|
|
37
|
+
tabIndex: PropType<number>;
|
|
38
|
+
value: PropType<any>;
|
|
39
|
+
valid: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
role: PropType<string>;
|
|
44
|
+
}>, {
|
|
45
|
+
inputRef: import('vue').Ref<any, any>;
|
|
46
|
+
}, {}, {
|
|
47
|
+
inputClassName(): object;
|
|
48
|
+
}, {
|
|
49
|
+
focusElement(): void;
|
|
50
|
+
handleChange(event: any): void;
|
|
51
|
+
handleFocus(event: FocusEvent): void;
|
|
52
|
+
handleBlur(event: FocusEvent): void;
|
|
53
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
change: (event: RadioButtonChangeEvent) => true;
|
|
55
|
+
focus: (event: RadioButtonFocusEvent) => true;
|
|
56
|
+
blur: (event: RadioButtonBlurEvent) => true;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
58
|
+
ariaDescribedBy: PropType<string>;
|
|
59
|
+
checked: PropType<boolean>;
|
|
60
|
+
disabled: PropType<boolean>;
|
|
61
|
+
className: PropType<string>;
|
|
62
|
+
content: PropType<any>;
|
|
63
|
+
dataItem: PropType<object>;
|
|
64
|
+
id: PropType<string>;
|
|
65
|
+
label: PropType<string>;
|
|
66
|
+
labelRender: PropType<any>;
|
|
67
|
+
item: PropType<any>;
|
|
68
|
+
labelPlacement: PropType<string>;
|
|
69
|
+
name: PropType<string>;
|
|
70
|
+
index: PropType<number>;
|
|
71
|
+
tag: {
|
|
72
|
+
type: PropType<string>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
type: PropType<"small" | "medium" | "large">;
|
|
77
|
+
validator: (value: string) => boolean;
|
|
78
|
+
};
|
|
79
|
+
tabIndex: PropType<number>;
|
|
80
|
+
value: PropType<any>;
|
|
81
|
+
valid: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
role: PropType<string>;
|
|
86
|
+
}>> & Readonly<{
|
|
87
|
+
onBlur?: (event: RadioButtonBlurEvent) => any;
|
|
88
|
+
onChange?: (event: RadioButtonChangeEvent) => any;
|
|
89
|
+
onFocus?: (event: RadioButtonFocusEvent) => any;
|
|
90
|
+
}>, {
|
|
91
|
+
valid: boolean;
|
|
92
|
+
tag: string;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
export { RadioButton };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { RadioGroupChangeEvent } from './interfaces/RadioGroupChangeEvent';
|
|
9
|
+
import { RadioGroupFocusEvent } from './interfaces/RadioGroupFocusEvent';
|
|
10
|
+
import { RadioButtonChangeEvent } from './interfaces/RadioButtonChangeEvent';
|
|
11
|
+
import { RadioButtonFocusEvent } from './interfaces/RadioButtonFocusEvent';
|
|
12
|
+
import { RadioButtonBlurEvent } from './interfaces/RadioButtonBlurEvent';
|
|
13
|
+
import { RadioGroupBlurEvent } from './interfaces/RadioGroupBlurEvent';
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
declare const RadioGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
18
|
+
ariaLabelledBy: StringConstructor;
|
|
19
|
+
ariaDescribedBy: StringConstructor;
|
|
20
|
+
dataItems: ArrayConstructor;
|
|
21
|
+
defaultValue: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
22
|
+
dir: StringConstructor;
|
|
23
|
+
disabled: BooleanConstructor;
|
|
24
|
+
labelPlacement: StringConstructor;
|
|
25
|
+
item: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
layout: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
validator: (value: string) => any;
|
|
33
|
+
};
|
|
34
|
+
name: StringConstructor;
|
|
35
|
+
modelValue: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
36
|
+
value: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
37
|
+
valid: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
}>, {
|
|
42
|
+
inputRef: import('vue').Ref<any, any>;
|
|
43
|
+
}, {
|
|
44
|
+
rtl: boolean;
|
|
45
|
+
stateChecked: any;
|
|
46
|
+
}, {
|
|
47
|
+
radioGroupClasses(): any;
|
|
48
|
+
checkedRadioValue(): any;
|
|
49
|
+
currentDir(): any;
|
|
50
|
+
}, {
|
|
51
|
+
focusElement(): void;
|
|
52
|
+
handleChange(event: RadioButtonChangeEvent): void;
|
|
53
|
+
handleFocus(event: RadioButtonFocusEvent): void;
|
|
54
|
+
handleBlur(event: RadioButtonBlurEvent): void;
|
|
55
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
changemodel: (value: any) => true;
|
|
57
|
+
'update:modelValue': (value: any) => true;
|
|
58
|
+
change: (event: RadioGroupChangeEvent) => true;
|
|
59
|
+
focus: (event: RadioGroupFocusEvent) => true;
|
|
60
|
+
blur: (event: RadioGroupBlurEvent) => true;
|
|
61
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
ariaLabelledBy: StringConstructor;
|
|
63
|
+
ariaDescribedBy: StringConstructor;
|
|
64
|
+
dataItems: ArrayConstructor;
|
|
65
|
+
defaultValue: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
66
|
+
dir: StringConstructor;
|
|
67
|
+
disabled: BooleanConstructor;
|
|
68
|
+
labelPlacement: StringConstructor;
|
|
69
|
+
item: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
layout: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
validator: (value: string) => any;
|
|
77
|
+
};
|
|
78
|
+
name: StringConstructor;
|
|
79
|
+
modelValue: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
80
|
+
value: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
81
|
+
valid: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
86
|
+
onBlur?: (event: RadioGroupBlurEvent) => any;
|
|
87
|
+
onChange?: (event: RadioGroupChangeEvent) => any;
|
|
88
|
+
onFocus?: (event: RadioGroupFocusEvent) => any;
|
|
89
|
+
onChangemodel?: (value: any) => any;
|
|
90
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
91
|
+
}>, {
|
|
92
|
+
item: string;
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
valid: boolean;
|
|
95
|
+
layout: string;
|
|
96
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
export { RadioGroup };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onBlur` RadioButton event.
|
|
10
|
+
*/
|
|
11
|
+
export interface RadioButtonBlurEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser blur event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onChange` RadioButton event.
|
|
10
|
+
*/
|
|
11
|
+
export interface RadioButtonChangeEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The value of the selected RadioButton.
|
|
14
|
+
*/
|
|
15
|
+
value: any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onFocus` RadioButton event.
|
|
10
|
+
*/
|
|
11
|
+
export interface RadioButtonFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native browser focus event.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|