@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,193 @@
|
|
|
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 { CheckboxChangeEvent } from './interfaces/CheckboxChangeEvent';
|
|
9
|
+
import { CheckboxFocusEvent } from './interfaces/CheckboxFocusEvent';
|
|
10
|
+
import { CheckboxBlurEvent } from './interfaces/CheckboxBlurEvent';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface CheckboxComputed {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
valueIsBooleanOrNull: boolean;
|
|
18
|
+
isCheckedControlled: boolean;
|
|
19
|
+
isValueControlled: boolean;
|
|
20
|
+
computedValue: any;
|
|
21
|
+
computedChecked?: boolean;
|
|
22
|
+
useValueAsChecked: boolean;
|
|
23
|
+
checkedProp?: any;
|
|
24
|
+
valueProp: any;
|
|
25
|
+
indeterminateProp: any;
|
|
26
|
+
isValid: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export interface CheckboxHandle {
|
|
32
|
+
element: any;
|
|
33
|
+
focus: any;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
declare const Checkbox: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
39
|
+
checked: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
defaultChecked: {
|
|
44
|
+
type: PropType<boolean>;
|
|
45
|
+
default: any;
|
|
46
|
+
};
|
|
47
|
+
defaultValue: {
|
|
48
|
+
type: PropType<any>;
|
|
49
|
+
default: any;
|
|
50
|
+
};
|
|
51
|
+
modelValue: {
|
|
52
|
+
type: PropType<string | number | boolean | string[]>;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
dir: PropType<string>;
|
|
56
|
+
disabled: PropType<boolean>;
|
|
57
|
+
id: PropType<string>;
|
|
58
|
+
ariaLabelledBy: PropType<string>;
|
|
59
|
+
ariaDescribedBy: PropType<string>;
|
|
60
|
+
label: PropType<string | HTMLElement>;
|
|
61
|
+
labelRender: PropType<any>;
|
|
62
|
+
labelPlacement: PropType<string>;
|
|
63
|
+
labelOptional: PropType<boolean>;
|
|
64
|
+
labelClass: PropType<string>;
|
|
65
|
+
name: PropType<string>;
|
|
66
|
+
size: {
|
|
67
|
+
type: PropType<"small" | "medium" | "large">;
|
|
68
|
+
validator: (value: string) => boolean;
|
|
69
|
+
};
|
|
70
|
+
rounded: {
|
|
71
|
+
type: PropType<"small" | "medium" | "large" | "none">;
|
|
72
|
+
validator: (value: string) => boolean;
|
|
73
|
+
};
|
|
74
|
+
tabIndex: PropType<number>;
|
|
75
|
+
value: {
|
|
76
|
+
type: PropType<string | number | boolean | string[]>;
|
|
77
|
+
default: any;
|
|
78
|
+
};
|
|
79
|
+
validationMessage: PropType<string>;
|
|
80
|
+
required: PropType<boolean>;
|
|
81
|
+
valid: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
validityStyles: {
|
|
86
|
+
type: PropType<boolean>;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>, {
|
|
90
|
+
inputRef: import('vue').Ref<any, any>;
|
|
91
|
+
kendoLocalizationService: {};
|
|
92
|
+
}, {
|
|
93
|
+
valueDuringOnChange: any;
|
|
94
|
+
currentDir: string;
|
|
95
|
+
currentChecked: any;
|
|
96
|
+
currentValue: any;
|
|
97
|
+
}, {
|
|
98
|
+
valueIsBooleanOrNull(): boolean;
|
|
99
|
+
isCheckedControlled(): boolean;
|
|
100
|
+
isValueControlled(): any;
|
|
101
|
+
computedValue(): any;
|
|
102
|
+
computedChecked(): any;
|
|
103
|
+
useValueAsChecked(): any;
|
|
104
|
+
checkedProp(): any;
|
|
105
|
+
valueProp(): any;
|
|
106
|
+
indeterminateProp(): boolean;
|
|
107
|
+
isValid(): any;
|
|
108
|
+
labelComputedClass(): {
|
|
109
|
+
[x: number]: any;
|
|
110
|
+
'k-checkbox-label': boolean;
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
setValidity(): void;
|
|
114
|
+
localizeMessage(message: string): string;
|
|
115
|
+
focusElement(): void;
|
|
116
|
+
setValue(e: any, val: boolean): void;
|
|
117
|
+
onChangeHandler(e: any): void;
|
|
118
|
+
onKeyDownHandler(e: any): void;
|
|
119
|
+
onBlurHandler(e: any): void;
|
|
120
|
+
onFocusHandler(e: any): void;
|
|
121
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
122
|
+
changemodel: (value: boolean | null) => true;
|
|
123
|
+
'update:modelValue': (value: boolean | null) => true;
|
|
124
|
+
change: (event: CheckboxChangeEvent) => true;
|
|
125
|
+
focus: (event: CheckboxFocusEvent) => true;
|
|
126
|
+
blur: (event: CheckboxBlurEvent) => true;
|
|
127
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
128
|
+
checked: {
|
|
129
|
+
type: PropType<boolean>;
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
defaultChecked: {
|
|
133
|
+
type: PropType<boolean>;
|
|
134
|
+
default: any;
|
|
135
|
+
};
|
|
136
|
+
defaultValue: {
|
|
137
|
+
type: PropType<any>;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: PropType<string | number | boolean | string[]>;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
dir: PropType<string>;
|
|
145
|
+
disabled: PropType<boolean>;
|
|
146
|
+
id: PropType<string>;
|
|
147
|
+
ariaLabelledBy: PropType<string>;
|
|
148
|
+
ariaDescribedBy: PropType<string>;
|
|
149
|
+
label: PropType<string | HTMLElement>;
|
|
150
|
+
labelRender: PropType<any>;
|
|
151
|
+
labelPlacement: PropType<string>;
|
|
152
|
+
labelOptional: PropType<boolean>;
|
|
153
|
+
labelClass: PropType<string>;
|
|
154
|
+
name: PropType<string>;
|
|
155
|
+
size: {
|
|
156
|
+
type: PropType<"small" | "medium" | "large">;
|
|
157
|
+
validator: (value: string) => boolean;
|
|
158
|
+
};
|
|
159
|
+
rounded: {
|
|
160
|
+
type: PropType<"small" | "medium" | "large" | "none">;
|
|
161
|
+
validator: (value: string) => boolean;
|
|
162
|
+
};
|
|
163
|
+
tabIndex: PropType<number>;
|
|
164
|
+
value: {
|
|
165
|
+
type: PropType<string | number | boolean | string[]>;
|
|
166
|
+
default: any;
|
|
167
|
+
};
|
|
168
|
+
validationMessage: PropType<string>;
|
|
169
|
+
required: PropType<boolean>;
|
|
170
|
+
valid: {
|
|
171
|
+
type: PropType<boolean>;
|
|
172
|
+
default: any;
|
|
173
|
+
};
|
|
174
|
+
validityStyles: {
|
|
175
|
+
type: PropType<boolean>;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
}>> & Readonly<{
|
|
179
|
+
onBlur?: (event: CheckboxBlurEvent) => any;
|
|
180
|
+
onChange?: (event: CheckboxChangeEvent) => any;
|
|
181
|
+
onFocus?: (event: CheckboxFocusEvent) => any;
|
|
182
|
+
onChangemodel?: (value: boolean) => any;
|
|
183
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
184
|
+
}>, {
|
|
185
|
+
value: string | number | boolean | string[];
|
|
186
|
+
checked: boolean;
|
|
187
|
+
modelValue: string | number | boolean | string[];
|
|
188
|
+
defaultValue: any;
|
|
189
|
+
valid: boolean;
|
|
190
|
+
validityStyles: boolean;
|
|
191
|
+
defaultChecked: boolean;
|
|
192
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
193
|
+
export { Checkbox };
|
|
@@ -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` Checkbox event.
|
|
10
|
+
*/
|
|
11
|
+
export interface CheckboxBlurEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native FocusEvent from the DOM.
|
|
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` Checkbox event.
|
|
10
|
+
*/
|
|
11
|
+
export interface CheckboxChangeEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The new value of the Checkbox.
|
|
14
|
+
*/
|
|
15
|
+
value: boolean;
|
|
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` Checkbox event.
|
|
10
|
+
*/
|
|
11
|
+
export interface CheckboxFocusEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The native FocusEvent from the DOM.
|
|
14
|
+
*/
|
|
15
|
+
event: FocusEvent;
|
|
16
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { ToggleBaseProps } from '../../interfaces/ToggleBaseProps';
|
|
9
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
10
|
+
import { CheckboxChangeEvent } from './CheckboxChangeEvent';
|
|
11
|
+
import { CheckboxFocusEvent } from './CheckboxFocusEvent';
|
|
12
|
+
/**
|
|
13
|
+
* Represents the props of the [Kendo UI for Vue Checkbox component]({% slug overview_checkbox %}).
|
|
14
|
+
*/
|
|
15
|
+
export interface CheckboxProps extends ToggleBaseProps, FormComponentProps {
|
|
16
|
+
/**
|
|
17
|
+
* Sets the checked state of the Checkbox.
|
|
18
|
+
* Set to null to enable the indeterminate state of the Checkbox ([see example]({% slug overview_checkbox %})).
|
|
19
|
+
*/
|
|
20
|
+
checked?: boolean | null;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
modelValue?: string | number | string[] | boolean | null;
|
|
25
|
+
/**
|
|
26
|
+
* If the type is different than boolean and the `checked` property is provided it's
|
|
27
|
+
* passed to the underlying `input` element.
|
|
28
|
+
* If set to boolean and the `checked` property is omitted sets the checked state of the Checkbox.
|
|
29
|
+
* Set null to enable the indeterminate state of the Checkbox ([see example]({% slug overview_checkbox %})).
|
|
30
|
+
*/
|
|
31
|
+
value?: string | number | string[] | boolean | null;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the default value of checked attribute when used in
|
|
34
|
+
* uncontrolled mode ([see example]({% slug default_state %})).
|
|
35
|
+
*/
|
|
36
|
+
defaultChecked?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The default value of the Checkbox.
|
|
39
|
+
*/
|
|
40
|
+
defaultValue?: any;
|
|
41
|
+
/**
|
|
42
|
+
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
43
|
+
*/
|
|
44
|
+
dir?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the disabled state of the Checkbox
|
|
47
|
+
* ([see example]({% slug disabled_checkbox %})).
|
|
48
|
+
*/
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the `id` of the Checkbox.
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Configures the `size` of the Checkbox.
|
|
56
|
+
*
|
|
57
|
+
* The available options are:
|
|
58
|
+
* - small
|
|
59
|
+
* - medium
|
|
60
|
+
* - large
|
|
61
|
+
*
|
|
62
|
+
* @default undefined
|
|
63
|
+
*/
|
|
64
|
+
size?: 'small' | 'medium' | 'large';
|
|
65
|
+
/**
|
|
66
|
+
* Configures the `rounded` style of the Checkbox.
|
|
67
|
+
*
|
|
68
|
+
* The available options are:
|
|
69
|
+
* - none
|
|
70
|
+
* - small
|
|
71
|
+
* - medium
|
|
72
|
+
* - large
|
|
73
|
+
*
|
|
74
|
+
* @default undefined
|
|
75
|
+
*/
|
|
76
|
+
rounded?: 'none' | 'small' | 'medium' | 'large';
|
|
77
|
+
/**
|
|
78
|
+
* Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
|
|
79
|
+
* For example these elements could contain error or hint message.
|
|
80
|
+
*/
|
|
81
|
+
ariaDescribedBy?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Identifies the element(s) which will label the component.
|
|
84
|
+
*/
|
|
85
|
+
ariaLabelledBy?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the label of the Checkbox component ([see example]({% slug labels_checkbox %})).
|
|
88
|
+
*/
|
|
89
|
+
label?: string | HTMLElement;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the label render template of the Checkbox component.
|
|
92
|
+
* Accepts a slot name, a `render` function, or a Vue component.
|
|
93
|
+
*/
|
|
94
|
+
labelRender?: any;
|
|
95
|
+
/**
|
|
96
|
+
* Sets the label position of the Checkbox component 'before' | 'after' ([see example]({% slug labels_checkbox %})).
|
|
97
|
+
*/
|
|
98
|
+
labelPlacement?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Sets the optional text after the label of the Checkbox component.
|
|
101
|
+
*/
|
|
102
|
+
labelOptional?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Sets the `class` of the label element of the Checkbox.
|
|
105
|
+
*/
|
|
106
|
+
labelClass?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The event handler that will be fired when the user edits the value.
|
|
109
|
+
*/
|
|
110
|
+
onChange?: (event: CheckboxChangeEvent) => void;
|
|
111
|
+
/**
|
|
112
|
+
* The event handler that will be fired when Checkbox is focused.
|
|
113
|
+
*/
|
|
114
|
+
onFocus?: (event: CheckboxFocusEvent) => void;
|
|
115
|
+
/**
|
|
116
|
+
* Sets the `tabIndex` property of the Checkbox.
|
|
117
|
+
* Defaults to `0`.
|
|
118
|
+
*/
|
|
119
|
+
tabIndex?: number;
|
|
120
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { RGBA } from './models/rgba';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ColorContrastLabelsProps {
|
|
14
|
+
bgColor: RGBA;
|
|
15
|
+
rgba: RGBA;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const ColorContrastLabels: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
bgColor: PropType<RGBA>;
|
|
22
|
+
rgba: PropType<RGBA>;
|
|
23
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
bgColor: PropType<RGBA>;
|
|
25
|
+
rgba: PropType<RGBA>;
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export { ColorContrastLabels };
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { HSVA } from './models/hsva';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ColorContrastSvgProps {
|
|
14
|
+
metrics: any;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
hsva: HSVA;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
declare const ColorContrastSvg: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
22
|
+
metrics: PropType<any>;
|
|
23
|
+
backgroundColor: PropType<string>;
|
|
24
|
+
hsva: PropType<HSVA>;
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
metrics: PropType<any>;
|
|
27
|
+
backgroundColor: PropType<string>;
|
|
28
|
+
hsva: PropType<HSVA>;
|
|
29
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export { ColorContrastSvg };
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { DraggableDragEvent } from '@progress/kendo-vue-common';
|
|
9
|
+
import { HSVA } from './models/hsva';
|
|
10
|
+
import { RGBA } from './models/rgba';
|
|
11
|
+
import { ColorGradientChangeEvent } from './interfaces/ColorGradientChangeEvent';
|
|
12
|
+
import { ColorGradientFocusEvent } from './interfaces/ColorGradientFocusEvent';
|
|
13
|
+
import { ColorGradientBlurEvent } from './interfaces/ColorGradientBlurEvent';
|
|
14
|
+
import { PropType } from 'vue';
|
|
15
|
+
import { SliderChangeEvent } from '../slider/Slider';
|
|
16
|
+
import { NumericTextBoxChangeEvent } from '../numerictextbox/NumericTextBox';
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const ColorGradient: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
modelValue: PropType<string>;
|
|
22
|
+
modelRgbaValue: PropType<string>;
|
|
23
|
+
defaultValue: PropType<string>;
|
|
24
|
+
value: PropType<string>;
|
|
25
|
+
opacity: {
|
|
26
|
+
type: PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
backgroundColor: PropType<string>;
|
|
30
|
+
disabled: PropType<boolean>;
|
|
31
|
+
id: PropType<string>;
|
|
32
|
+
ariaLabelledBy: PropType<string>;
|
|
33
|
+
ariaDescribedBy: PropType<string>;
|
|
34
|
+
tabIndex: PropType<number>;
|
|
35
|
+
innerTabIndex: {
|
|
36
|
+
type: PropType<number>;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
size: PropType<"small" | "medium" | "large">;
|
|
40
|
+
class: PropType<string>;
|
|
41
|
+
adaptive: PropType<boolean>;
|
|
42
|
+
}>, {}, {
|
|
43
|
+
currentValue: any;
|
|
44
|
+
currentBgColor: any;
|
|
45
|
+
isFirstRender: boolean;
|
|
46
|
+
currentHsva: any;
|
|
47
|
+
currentRgba: any;
|
|
48
|
+
currentHex: any;
|
|
49
|
+
focused: boolean;
|
|
50
|
+
}, {
|
|
51
|
+
valueSet(): any;
|
|
52
|
+
computedValue(): any;
|
|
53
|
+
hsva(): any;
|
|
54
|
+
rgba(): any;
|
|
55
|
+
hex(): any;
|
|
56
|
+
computedBgColor(): any;
|
|
57
|
+
computedTabIndex(): any;
|
|
58
|
+
}, {
|
|
59
|
+
onKeyDownHandler(e: any): void;
|
|
60
|
+
onHexChange(hex: string, value: string, event: any): void;
|
|
61
|
+
onRgbaChange(rgba: RGBA, event: NumericTextBoxChangeEvent): void;
|
|
62
|
+
onAlphaSliderChange(event: SliderChangeEvent): void;
|
|
63
|
+
onHueSliderChange(event: SliderChangeEvent): void;
|
|
64
|
+
onDrag(e: DraggableDragEvent): void;
|
|
65
|
+
onRelease(): void;
|
|
66
|
+
onGradientWrapperClick(event: any): void;
|
|
67
|
+
move(e: any, prop: any, d: any): void;
|
|
68
|
+
dragKeyDown(e: any): void;
|
|
69
|
+
changePosition(event: any): void;
|
|
70
|
+
handleHsvaChange(hsva: HSVA, event: any): void;
|
|
71
|
+
dispatchChangeEvent(value: string, event: any, hex: string, rgbaValue: string): void;
|
|
72
|
+
onFocus(event: any): void;
|
|
73
|
+
onBlur(event: any): void;
|
|
74
|
+
setAlphaSliderBackground(backgroundColor: string): void;
|
|
75
|
+
getGradientRectMetrics(): {
|
|
76
|
+
top: any;
|
|
77
|
+
right: any;
|
|
78
|
+
bottom: any;
|
|
79
|
+
left: any;
|
|
80
|
+
width: any;
|
|
81
|
+
height: any;
|
|
82
|
+
x: any;
|
|
83
|
+
y: any;
|
|
84
|
+
};
|
|
85
|
+
focus(): void;
|
|
86
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
|
+
change: (event: ColorGradientChangeEvent) => true;
|
|
88
|
+
focus: (event: ColorGradientFocusEvent) => true;
|
|
89
|
+
blur: (event: ColorGradientBlurEvent) => true;
|
|
90
|
+
changemodel: (value: string) => true;
|
|
91
|
+
'update:modelValue': (value: string) => true;
|
|
92
|
+
'update:modelRgbaValue': (value: string) => true;
|
|
93
|
+
keydown: (event: KeyboardEvent) => true;
|
|
94
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
95
|
+
modelValue: PropType<string>;
|
|
96
|
+
modelRgbaValue: PropType<string>;
|
|
97
|
+
defaultValue: PropType<string>;
|
|
98
|
+
value: PropType<string>;
|
|
99
|
+
opacity: {
|
|
100
|
+
type: PropType<boolean>;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
backgroundColor: PropType<string>;
|
|
104
|
+
disabled: PropType<boolean>;
|
|
105
|
+
id: PropType<string>;
|
|
106
|
+
ariaLabelledBy: PropType<string>;
|
|
107
|
+
ariaDescribedBy: PropType<string>;
|
|
108
|
+
tabIndex: PropType<number>;
|
|
109
|
+
innerTabIndex: {
|
|
110
|
+
type: PropType<number>;
|
|
111
|
+
default: any;
|
|
112
|
+
};
|
|
113
|
+
size: PropType<"small" | "medium" | "large">;
|
|
114
|
+
class: PropType<string>;
|
|
115
|
+
adaptive: PropType<boolean>;
|
|
116
|
+
}>> & Readonly<{
|
|
117
|
+
onBlur?: (event: ColorGradientBlurEvent) => any;
|
|
118
|
+
onChange?: (event: ColorGradientChangeEvent) => any;
|
|
119
|
+
onFocus?: (event: ColorGradientFocusEvent) => any;
|
|
120
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
121
|
+
onChangemodel?: (value: string) => any;
|
|
122
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
123
|
+
"onUpdate:modelRgbaValue"?: (value: string) => any;
|
|
124
|
+
}>, {
|
|
125
|
+
opacity: boolean;
|
|
126
|
+
innerTabIndex: number;
|
|
127
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
export { ColorGradient };
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { RGBA } from './models/rgba';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
import { NumericTextBoxChangeEvent } from '../numerictextbox/NumericTextBox';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface ColorInputProps {
|
|
15
|
+
tabIndex?: number;
|
|
16
|
+
rgba: RGBA;
|
|
17
|
+
onRgbaChange?: (rgba: RGBA, event: NumericTextBoxChangeEvent) => void;
|
|
18
|
+
hex: string;
|
|
19
|
+
onHexChange?: any;
|
|
20
|
+
opacity: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
size?: 'small' | 'medium' | 'large' | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
declare const ColorInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
28
|
+
tabIndex: PropType<number>;
|
|
29
|
+
rgba: {
|
|
30
|
+
type: PropType<RGBA>;
|
|
31
|
+
default: () => {};
|
|
32
|
+
};
|
|
33
|
+
hex: PropType<string>;
|
|
34
|
+
opacity: PropType<boolean>;
|
|
35
|
+
disabled: PropType<boolean>;
|
|
36
|
+
size: PropType<"small" | "medium" | "large">;
|
|
37
|
+
}>, {}, {
|
|
38
|
+
inputMode: string;
|
|
39
|
+
}, {}, {
|
|
40
|
+
onHexChange(event: any): void;
|
|
41
|
+
onRgbaRChange(event: NumericTextBoxChangeEvent): void;
|
|
42
|
+
onRgbaGChange(event: NumericTextBoxChangeEvent): void;
|
|
43
|
+
onRgbaBChange(event: NumericTextBoxChangeEvent): void;
|
|
44
|
+
onRgbaAChange(event: NumericTextBoxChangeEvent): void;
|
|
45
|
+
dispatchRgbaChange(newValue: RGBA, event: NumericTextBoxChangeEvent): void;
|
|
46
|
+
onToggleModeChange(): void;
|
|
47
|
+
onKeyDown(e: any): void;
|
|
48
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
hexchange: any;
|
|
50
|
+
rgbachange: any;
|
|
51
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
+
tabIndex: PropType<number>;
|
|
53
|
+
rgba: {
|
|
54
|
+
type: PropType<RGBA>;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
57
|
+
hex: PropType<string>;
|
|
58
|
+
opacity: PropType<boolean>;
|
|
59
|
+
disabled: PropType<boolean>;
|
|
60
|
+
size: PropType<"small" | "medium" | "large">;
|
|
61
|
+
}>> & Readonly<{
|
|
62
|
+
onHexchange?: (...args: any[] | unknown[]) => any;
|
|
63
|
+
onRgbachange?: (...args: any[] | unknown[]) => any;
|
|
64
|
+
}>, {
|
|
65
|
+
rgba: RGBA;
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export { ColorInput };
|