@progress/kendo-vue-inputs 3.3.4 → 3.3.5-dev.202206141337
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/dist/cdn/js/kendo-vue-inputs.js +1 -1
- package/dist/es/additionalTypes.ts +11 -0
- package/dist/es/checkbox/Checkbox.d.ts +7 -1
- package/dist/es/checkbox/Checkbox.js +8 -0
- package/dist/es/colors/ColorPalette.d.ts +6 -0
- package/dist/es/colors/ColorPalette.js +8 -1
- package/dist/es/colors/ColorPicker.d.ts +6 -0
- package/dist/es/colors/ColorPicker.js +8 -1
- package/dist/es/colors/Picker.d.ts +6 -0
- package/dist/es/colors/Picker.js +8 -1
- package/dist/es/colors/interfaces/ColorPaletteChangeEvent.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPaletteProps.d.ts +4 -13
- package/dist/es/colors/interfaces/ColorPickerActiveColorClick.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerBlurEvent.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerChangeEvent.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerFocusEvent.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerPaletteSettings.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerPopupSettings.d.ts +3 -0
- package/dist/es/colors/interfaces/ColorPickerProps.d.ts +5 -2
- package/dist/es/colors/interfaces/ColorPickerView.d.ts +3 -0
- package/dist/es/input/Input.d.ts +19 -9
- package/dist/es/input/Input.js +19 -3
- package/dist/es/input-separator/InputSeparator.d.ts +19 -0
- package/dist/es/input-separator/InputSeparator.js +35 -0
- package/dist/es/main.d.ts +1 -0
- package/dist/es/main.js +1 -0
- package/dist/es/maskedtextbox/MaskedTextBox.d.ts +4 -1
- package/dist/es/maskedtextbox/MaskedTextBox.js +95 -20
- package/dist/es/maskedtextbox/MaskedTextBoxProps.d.ts +32 -0
- package/dist/es/numerictextbox/NumericTextBox.d.ts +6 -0
- package/dist/es/numerictextbox/NumericTextBox.js +101 -8
- package/dist/es/numerictextbox/interfaces/NumericTextBoxProps.d.ts +43 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/radiobutton/RadioButton.d.ts +7 -1
- package/dist/es/radiobutton/RadioButton.js +8 -0
- package/dist/es/radiobutton/RadioGroup.d.ts +7 -1
- package/dist/es/radiobutton/RadioGroup.js +8 -0
- package/dist/es/range-slider/RangeSlider.d.ts +8 -0
- package/dist/es/range-slider/RangeSlider.js +10 -0
- package/dist/es/slider/Slider.d.ts +8 -2
- package/dist/es/slider/Slider.js +8 -0
- package/dist/es/slider/SliderLabel.d.ts +8 -0
- package/dist/es/slider/SliderLabel.js +10 -1
- package/dist/es/switch/Switch.d.ts +8 -0
- package/dist/es/switch/Switch.js +10 -1
- package/dist/es/textarea/TextArea.d.ts +36 -0
- package/dist/es/textarea/TextArea.js +113 -28
- package/dist/es/textarea/interfaces/TextAreaProps.d.ts +39 -0
- package/dist/npm/additionalTypes.ts +11 -0
- package/dist/npm/checkbox/Checkbox.d.ts +7 -1
- package/dist/npm/checkbox/Checkbox.js +8 -0
- package/dist/npm/colors/ColorPalette.d.ts +6 -0
- package/dist/npm/colors/ColorPalette.js +8 -1
- package/dist/npm/colors/ColorPicker.d.ts +6 -0
- package/dist/npm/colors/ColorPicker.js +8 -1
- package/dist/npm/colors/Picker.d.ts +6 -0
- package/dist/npm/colors/Picker.js +8 -1
- package/dist/npm/colors/interfaces/ColorPaletteChangeEvent.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPaletteProps.d.ts +4 -13
- package/dist/npm/colors/interfaces/ColorPickerActiveColorClick.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerBlurEvent.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerChangeEvent.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerFocusEvent.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerPaletteSettings.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerPopupSettings.d.ts +3 -0
- package/dist/npm/colors/interfaces/ColorPickerProps.d.ts +5 -2
- package/dist/npm/colors/interfaces/ColorPickerView.d.ts +3 -0
- package/dist/npm/input/Input.d.ts +19 -9
- package/dist/npm/input/Input.js +19 -3
- package/dist/npm/input-separator/InputSeparator.d.ts +19 -0
- package/dist/npm/input-separator/InputSeparator.js +46 -0
- package/dist/npm/main.d.ts +1 -0
- package/dist/npm/main.js +1 -0
- package/dist/npm/maskedtextbox/MaskedTextBox.d.ts +4 -1
- package/dist/npm/maskedtextbox/MaskedTextBox.js +94 -19
- package/dist/npm/maskedtextbox/MaskedTextBoxProps.d.ts +32 -0
- package/dist/npm/numerictextbox/NumericTextBox.d.ts +6 -0
- package/dist/npm/numerictextbox/NumericTextBox.js +100 -7
- package/dist/npm/numerictextbox/interfaces/NumericTextBoxProps.d.ts +43 -3
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/radiobutton/RadioButton.d.ts +7 -1
- package/dist/npm/radiobutton/RadioButton.js +8 -0
- package/dist/npm/radiobutton/RadioGroup.d.ts +7 -1
- package/dist/npm/radiobutton/RadioGroup.js +8 -0
- package/dist/npm/range-slider/RangeSlider.d.ts +8 -0
- package/dist/npm/range-slider/RangeSlider.js +10 -0
- package/dist/npm/slider/Slider.d.ts +8 -2
- package/dist/npm/slider/Slider.js +8 -0
- package/dist/npm/slider/SliderLabel.d.ts +8 -0
- package/dist/npm/slider/SliderLabel.js +10 -1
- package/dist/npm/switch/Switch.d.ts +8 -0
- package/dist/npm/switch/Switch.js +10 -1
- package/dist/npm/textarea/TextArea.d.ts +36 -0
- package/dist/npm/textarea/TextArea.js +112 -27
- package/dist/npm/textarea/interfaces/TextAreaProps.d.ts +39 -0
- package/package.json +10 -10
- package/dist/es/numerictextbox/interfaces/NumericTextBoxHandle.d.ts +0 -39
- package/dist/es/numerictextbox/interfaces/NumericTextBoxHandle.js +0 -0
- package/dist/npm/numerictextbox/interfaces/NumericTextBoxHandle.d.ts +0 -39
- package/dist/npm/numerictextbox/interfaces/NumericTextBoxHandle.js +0 -5
|
@@ -27,6 +27,10 @@ var utils_1 = require("./utils");
|
|
|
27
27
|
var package_metadata_1 = require("../package-metadata");
|
|
28
28
|
|
|
29
29
|
var VALIDATION_MESSAGE = 'Please enter a valid value!';
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
|
|
30
34
|
var NumericTextBoxVue2 = {
|
|
31
35
|
model: {
|
|
32
36
|
event: 'changemodel'
|
|
@@ -99,7 +103,15 @@ var NumericTextBoxVue2 = {
|
|
|
99
103
|
type: Boolean,
|
|
100
104
|
default: false
|
|
101
105
|
},
|
|
102
|
-
id: String
|
|
106
|
+
id: String,
|
|
107
|
+
iconName: String,
|
|
108
|
+
inputPrefix: kendo_vue_common_1.templateDefinition,
|
|
109
|
+
inputSuffix: kendo_vue_common_1.templateDefinition,
|
|
110
|
+
showValidationIcon: Boolean,
|
|
111
|
+
showLoadingIcon: Boolean,
|
|
112
|
+
showClearButton: Boolean,
|
|
113
|
+
inputClass: String,
|
|
114
|
+
wrapperClass: String
|
|
103
115
|
},
|
|
104
116
|
inject: {
|
|
105
117
|
kendoIntlService: {
|
|
@@ -186,15 +198,17 @@ var NumericTextBoxVue2 = {
|
|
|
186
198
|
},
|
|
187
199
|
spanClassNames: {
|
|
188
200
|
get: function get() {
|
|
201
|
+
var _a;
|
|
202
|
+
|
|
189
203
|
var isValid = !this.$data.hasMounted || !this.$props.validityStyles || this.validity().valid;
|
|
190
204
|
var compValue = this.computedValue;
|
|
191
|
-
return {
|
|
205
|
+
return _a = {
|
|
192
206
|
'k-floating-label-container': true,
|
|
193
207
|
'k-focus': this.$data.focused,
|
|
194
208
|
'k-empty': !(compValue === 0 ? true : compValue || this.$props.placeholder),
|
|
195
209
|
'k-invalid': !isValid && isValid !== undefined,
|
|
196
210
|
'k-rtl': this.$props.dir === 'rtl'
|
|
197
|
-
};
|
|
211
|
+
}, _a[this.inputClass] = this.inputClass, _a;
|
|
198
212
|
}
|
|
199
213
|
},
|
|
200
214
|
wrapperClassNames: function wrapperClassNames() {
|
|
@@ -210,7 +224,14 @@ var NumericTextBoxVue2 = {
|
|
|
210
224
|
return _a = {
|
|
211
225
|
'k-input': true,
|
|
212
226
|
'k-numerictextbox': true
|
|
213
|
-
}, _a["k-input-" + (kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-invalid'] = !isValid, _a['k-required'] = required, _a['k-disabled'] = disabled, _a;
|
|
227
|
+
}, _a["k-input-" + (kendo_vue_common_1.kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendo_vue_common_1.kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-invalid'] = !isValid, _a['k-required'] = required, _a['k-disabled'] = disabled, _a['k-loading'] = this.showLoadingIcon, _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
228
|
+
},
|
|
229
|
+
inputInnerClass: function inputInnerClass() {
|
|
230
|
+
var _a;
|
|
231
|
+
|
|
232
|
+
return _a = {
|
|
233
|
+
'k-input-inner': true
|
|
234
|
+
}, _a[this.inputClass] = this.inputClass, _a;
|
|
214
235
|
}
|
|
215
236
|
},
|
|
216
237
|
methods: {
|
|
@@ -227,6 +248,30 @@ var NumericTextBoxVue2 = {
|
|
|
227
248
|
valueMissing: this.computedValue === null
|
|
228
249
|
};
|
|
229
250
|
},
|
|
251
|
+
clearClick: function clearClick(event) {
|
|
252
|
+
if (this.$props.value !== undefined) {
|
|
253
|
+
// controlled
|
|
254
|
+
this.$data.currentValue = this.$props.value;
|
|
255
|
+
} else if (this.$props.modelValue !== undefined) {
|
|
256
|
+
this.$data.currentValue = this.$props.modelValue;
|
|
257
|
+
} else {
|
|
258
|
+
// uncontrolled
|
|
259
|
+
this.$data.currentValue = null;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
this.$emit('changemodel', null);
|
|
263
|
+
this.$emit('update:modelValue', null);
|
|
264
|
+
this.$emit('change', {
|
|
265
|
+
event: event,
|
|
266
|
+
value: null,
|
|
267
|
+
component: this,
|
|
268
|
+
target: {
|
|
269
|
+
name: this.$props.name,
|
|
270
|
+
value: null
|
|
271
|
+
},
|
|
272
|
+
validity: this.validity()
|
|
273
|
+
});
|
|
274
|
+
},
|
|
230
275
|
focus: function focus() {
|
|
231
276
|
if (this._input) {
|
|
232
277
|
this._input.focus();
|
|
@@ -461,9 +506,15 @@ var NumericTextBoxVue2 = {
|
|
|
461
506
|
var _this = this;
|
|
462
507
|
|
|
463
508
|
var h = gh || createElement;
|
|
509
|
+
var _a = this.$props,
|
|
510
|
+
iconName = _a.iconName,
|
|
511
|
+
showValidationIcon = _a.showValidationIcon,
|
|
512
|
+
showLoadingIcon = _a.showLoadingIcon,
|
|
513
|
+
showClearButton = _a.showClearButton;
|
|
464
514
|
var inputId = this.$props.id || this._inputId;
|
|
465
515
|
var defaultSlot = kendo_vue_common_1.getDefaultSlots(this);
|
|
466
516
|
var localizationService = kendo_vue_intl_1.provideLocalizationService(this);
|
|
517
|
+
var isValid = this.validity().valid;
|
|
467
518
|
|
|
468
519
|
if (this.$props.value !== undefined && this.$props.value !== this.$data.currentValue) {
|
|
469
520
|
this.$data.currentValue = this.$props.value;
|
|
@@ -472,6 +523,24 @@ var NumericTextBoxVue2 = {
|
|
|
472
523
|
}
|
|
473
524
|
|
|
474
525
|
this._prevLooseValue = this.looseValue;
|
|
526
|
+
var inputPrefixTemplate = kendo_vue_common_1.templateRendering.call(this, this.$props.inputPrefix, kendo_vue_common_1.getListeners.call(this));
|
|
527
|
+
var inputSuffixTemplate = kendo_vue_common_1.templateRendering.call(this, this.$props.inputSuffix, kendo_vue_common_1.getListeners.call(this));
|
|
528
|
+
var inputPrefix = kendo_vue_common_1.getTemplate.call(this, {
|
|
529
|
+
h: h,
|
|
530
|
+
template: inputPrefixTemplate,
|
|
531
|
+
additionalProps: {
|
|
532
|
+
value: this.computedValue,
|
|
533
|
+
valid: isValid
|
|
534
|
+
}
|
|
535
|
+
});
|
|
536
|
+
var inputSuffix = kendo_vue_common_1.getTemplate.call(this, {
|
|
537
|
+
h: h,
|
|
538
|
+
template: inputSuffixTemplate,
|
|
539
|
+
additionalProps: {
|
|
540
|
+
value: this.computedValue,
|
|
541
|
+
valid: isValid
|
|
542
|
+
}
|
|
543
|
+
});
|
|
475
544
|
var numerictextbox = h("span", {
|
|
476
545
|
dir: this.$props.dir,
|
|
477
546
|
attrs: this.v3 ? undefined : {
|
|
@@ -481,7 +550,11 @@ var NumericTextBoxVue2 = {
|
|
|
481
550
|
"class": this.wrapperClassNames,
|
|
482
551
|
"aria-disabled": this.$props.disabled ? 'true' : undefined,
|
|
483
552
|
style: this.$attrs.style
|
|
484
|
-
}, [h("
|
|
553
|
+
}, [iconName && h("span", {
|
|
554
|
+
"class": "k-input-icon k-icon k-i-" + iconName
|
|
555
|
+
}), this.$props.inputPrefix && h("span", {
|
|
556
|
+
"class": "k-input-prefix"
|
|
557
|
+
}, [inputPrefix]), h("input", {
|
|
485
558
|
tabIndex: this.$props.tabIndex,
|
|
486
559
|
attrs: this.v3 ? undefined : {
|
|
487
560
|
tabIndex: this.$props.tabIndex,
|
|
@@ -509,7 +582,7 @@ var NumericTextBoxVue2 = {
|
|
|
509
582
|
spellCheck: false,
|
|
510
583
|
autoComplete: "off",
|
|
511
584
|
autoCorrect: "off",
|
|
512
|
-
"class":
|
|
585
|
+
"class": this.inputInnerClass,
|
|
513
586
|
id: inputId,
|
|
514
587
|
value: this.v3 ? this.looseValue : null,
|
|
515
588
|
domProps: this.v3 ? undefined : {
|
|
@@ -534,7 +607,23 @@ var NumericTextBoxVue2 = {
|
|
|
534
607
|
ref: this.v3 ? function (el) {
|
|
535
608
|
_this.inputRef = el;
|
|
536
609
|
} : 'input'
|
|
537
|
-
}),
|
|
610
|
+
}), this.$props.inputSuffix && h("span", {
|
|
611
|
+
"class": "k-input-suffix"
|
|
612
|
+
}, [inputSuffix]), showValidationIcon && isValid && h("span", {
|
|
613
|
+
"class": "k-input-validation-icon k-icon k-i-check"
|
|
614
|
+
}), showValidationIcon && !isValid && h("span", {
|
|
615
|
+
"class": "k-input-validation-icon k-icon k-i-warning"
|
|
616
|
+
}), showLoadingIcon && h("span", {
|
|
617
|
+
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
618
|
+
}), showClearButton && this.computedValue !== undefined && this.computedValue !== null && h("span", {
|
|
619
|
+
onClick: this.clearClick,
|
|
620
|
+
on: this.v3 ? undefined : {
|
|
621
|
+
"click": this.clearClick
|
|
622
|
+
},
|
|
623
|
+
"class": "k-clear-value"
|
|
624
|
+
}, [h("span", {
|
|
625
|
+
"class": "k-icon k-i-x"
|
|
626
|
+
})]), defaultSlot, this.$props.spinners && h("span", {
|
|
538
627
|
"class": "k-input-spinner k-spin-button",
|
|
539
628
|
onMousedown: this.spinnersWrapperMouseDown,
|
|
540
629
|
on: this.v3 ? undefined : {
|
|
@@ -603,5 +692,9 @@ var NumericTextBoxVue2 = {
|
|
|
603
692
|
}
|
|
604
693
|
};
|
|
605
694
|
exports.NumericTextBoxVue2 = NumericTextBoxVue2;
|
|
695
|
+
/**
|
|
696
|
+
* @hidden
|
|
697
|
+
*/
|
|
698
|
+
|
|
606
699
|
var NumericTextBox = NumericTextBoxVue2;
|
|
607
700
|
exports.NumericTextBox = NumericTextBox;
|
|
@@ -18,11 +18,11 @@ export interface NumericTextBoxProps extends FormComponentProps {
|
|
|
18
18
|
*/
|
|
19
19
|
defaultValue?: number | null;
|
|
20
20
|
/**
|
|
21
|
-
* Specifies the value that is used to increment or decrement the value of the NumericTextBox ([see example]({% slug
|
|
21
|
+
* Specifies the value that is used to increment or decrement the value of the NumericTextBox ([see example]({% slug predefinedsteps_numerictextbox %})).
|
|
22
22
|
*/
|
|
23
23
|
step?: number;
|
|
24
24
|
/**
|
|
25
|
-
* Specifies the number format which is used for formatting the value ([see example]({% slug
|
|
25
|
+
* 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.
|
|
26
26
|
*/
|
|
27
27
|
format?: string | NumberFormatOptions;
|
|
28
28
|
/**
|
|
@@ -87,7 +87,7 @@ export interface NumericTextBoxProps extends FormComponentProps {
|
|
|
87
87
|
*/
|
|
88
88
|
max?: number;
|
|
89
89
|
/**
|
|
90
|
-
* Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug
|
|
90
|
+
* Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug spinbuttons_numerictextbox %})).
|
|
91
91
|
*/
|
|
92
92
|
spinners?: boolean;
|
|
93
93
|
/**
|
|
@@ -118,6 +118,46 @@ export interface NumericTextBoxProps extends FormComponentProps {
|
|
|
118
118
|
* - `text`
|
|
119
119
|
*/
|
|
120
120
|
inputType?: NumericTextBoxInputType;
|
|
121
|
+
/**
|
|
122
|
+
* If set to `false`, no visual representation of the invalid state of the component will be applied.
|
|
123
|
+
*
|
|
124
|
+
* This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
|
|
125
|
+
*
|
|
126
|
+
* @default true
|
|
127
|
+
*/
|
|
128
|
+
validityStyles?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Defines a string prop that controls the input icon.
|
|
131
|
+
*/
|
|
132
|
+
iconName?: String;
|
|
133
|
+
/**
|
|
134
|
+
* Defines if the inputPrefix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
135
|
+
*/
|
|
136
|
+
inputPrefix?: Boolean | String | Object | Function;
|
|
137
|
+
/**
|
|
138
|
+
* Defines if the inputSuffix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
139
|
+
*/
|
|
140
|
+
inputSuffix?: Boolean | String | Object | Function;
|
|
141
|
+
/**
|
|
142
|
+
* Defines a boolean prop that controls whether to show the validation icon. Defaults to 'false'.
|
|
143
|
+
*/
|
|
144
|
+
showValidationIcon?: Boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Defines a boolean prop that controls whether to show the loading icon. Defaults to 'false'.
|
|
147
|
+
*/
|
|
148
|
+
showLoadingIcon?: Boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Defines a boolean prop that controls whether to show the clear icon. Defaults to 'false'.
|
|
151
|
+
*/
|
|
152
|
+
showClearButton?: Boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Defines additional class to the wrapper element.
|
|
155
|
+
*/
|
|
156
|
+
wrapperClass?: String;
|
|
157
|
+
/**
|
|
158
|
+
* Defines additional class to the input element.
|
|
159
|
+
*/
|
|
160
|
+
inputClass?: String;
|
|
121
161
|
/**
|
|
122
162
|
* The event handler that will be fired when the changes the selected value.
|
|
123
163
|
*/
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-inputs',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1655213297,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|
|
@@ -5,7 +5,7 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
};
|
|
6
6
|
import { RadioButtonProps } from './interfaces/RadioButtonProps';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export interface RadioButtonHandle {
|
|
11
11
|
input: HTMLInputElement | null;
|
|
@@ -44,6 +44,12 @@ export interface RadioButtonComputed {
|
|
|
44
44
|
*/
|
|
45
45
|
export interface RadioButtonAll extends Vue2type, RadioButtonMethods, RadioButtonComputed, RadioButtonState, RadioButtonData {
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @hidden
|
|
49
|
+
*/
|
|
47
50
|
declare let RadioButtonVue2: ComponentOptions<RadioButtonAll, DefaultData<RadioButtonData>, DefaultMethods<RadioButtonAll>, RadioButtonComputed, RecordPropsDefinition<RadioButtonProps>>;
|
|
51
|
+
/**
|
|
52
|
+
* @hidden
|
|
53
|
+
*/
|
|
48
54
|
declare let RadioButton: DefineComponent<RadioButtonProps, any, RadioButtonData, RadioButtonComputed, RadioButtonMethods, {}, {}, {}, string, RadioButtonProps, RadioButtonProps, {}>;
|
|
49
55
|
export { RadioButton, RadioButtonVue2 };
|
|
@@ -17,6 +17,10 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
|
17
17
|
var kendo_vue_common_2 = require("@progress/kendo-vue-common");
|
|
18
18
|
|
|
19
19
|
var package_metadata_1 = require("../package-metadata");
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
|
|
20
24
|
|
|
21
25
|
var RadioButtonVue2 = {
|
|
22
26
|
name: 'KendoRadioButton',
|
|
@@ -198,5 +202,9 @@ var RadioButtonVue2 = {
|
|
|
198
202
|
}
|
|
199
203
|
};
|
|
200
204
|
exports.RadioButtonVue2 = RadioButtonVue2;
|
|
205
|
+
/**
|
|
206
|
+
* @hidden
|
|
207
|
+
*/
|
|
208
|
+
|
|
201
209
|
var RadioButton = RadioButtonVue2;
|
|
202
210
|
exports.RadioButton = RadioButton;
|
|
@@ -5,7 +5,7 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
};
|
|
6
6
|
import { RadioGroupProps } from './interfaces/RadioGroupProps';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export interface RadioGroupHandle {
|
|
11
11
|
element: HTMLUListElement | null;
|
|
@@ -46,6 +46,12 @@ export interface RadioGroupComputed {
|
|
|
46
46
|
*/
|
|
47
47
|
export interface RadioGroupAll extends Vue2type, RadioGroupMethods, RadioGroupComputed, RadioGroupState, RadioGroupData {
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
49
52
|
declare let RadioGroupVue2: ComponentOptions<RadioGroupAll, DefaultData<RadioGroupData>, DefaultMethods<RadioGroupAll>, RadioGroupComputed, RecordPropsDefinition<RadioGroupProps>>;
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
50
56
|
declare let RadioGroup: DefineComponent<RadioGroupProps, any, RadioGroupData, RadioGroupComputed, RadioGroupMethods, {}, {}, {}, string, RadioGroupProps, RadioGroupProps, {}>;
|
|
51
57
|
export { RadioGroup, RadioGroupVue2 };
|
|
@@ -17,6 +17,10 @@ var RadioButton_1 = require("./RadioButton");
|
|
|
17
17
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
18
18
|
|
|
19
19
|
var package_metadata_1 = require("../package-metadata");
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
|
|
20
24
|
|
|
21
25
|
var RadioGroupVue2 = {
|
|
22
26
|
name: 'KendoRadioGroup',
|
|
@@ -217,5 +221,9 @@ var RadioGroupVue2 = {
|
|
|
217
221
|
}
|
|
218
222
|
};
|
|
219
223
|
exports.RadioGroupVue2 = RadioGroupVue2;
|
|
224
|
+
/**
|
|
225
|
+
* @hidden
|
|
226
|
+
*/
|
|
227
|
+
|
|
220
228
|
var RadioGroup = RadioGroupVue2;
|
|
221
229
|
exports.RadioGroup = RadioGroup;
|
|
@@ -163,6 +163,14 @@ export interface RangeSliderComputed {
|
|
|
163
163
|
*/
|
|
164
164
|
export interface RangeSliderAll extends Vue2type, RangeSliderMethods, RangeSliderComputed, RangeSliderState, RangeSliderData {
|
|
165
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* @hidden
|
|
168
|
+
*/
|
|
166
169
|
declare let RangeSliderVue2: ComponentOptions<RangeSliderAll, DefaultData<RangeSliderData>, DefaultMethods<RangeSliderAll>, RangeSliderComputed, RecordPropsDefinition<RangeSliderProps>>;
|
|
170
|
+
/**
|
|
171
|
+
* Represents the [Kendo UI for Vue Native RangeSlider component]({% slug overview_rangeslider %}).
|
|
172
|
+
* Accepts properties of type [RangeSliderProps]({% slug api_inputs_rangesliderprops %}).
|
|
173
|
+
* Obtaining the `ref` returns an object of type [RangeSliderHandle]({% slug api_inputs_rangesliderhandle %}).
|
|
174
|
+
*/
|
|
167
175
|
declare const RangeSlider: DefineComponent<RangeSliderProps, any, RangeSliderData, RangeSliderComputed, RangeSliderMethods, {}, {}, {}, string, RangeSliderProps, RangeSliderProps, {}>;
|
|
168
176
|
export { RangeSlider, RangeSliderVue2 };
|
|
@@ -37,6 +37,10 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
37
37
|
var range_raducer_1 = require("./range-raducer");
|
|
38
38
|
|
|
39
39
|
var package_metadata_1 = require("../package-metadata");
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
|
|
40
44
|
|
|
41
45
|
var RangeSliderVue2 = {
|
|
42
46
|
name: 'KendoRangeSlider',
|
|
@@ -615,5 +619,11 @@ var RangeSliderVue2 = {
|
|
|
615
619
|
}
|
|
616
620
|
};
|
|
617
621
|
exports.RangeSliderVue2 = RangeSliderVue2;
|
|
622
|
+
/**
|
|
623
|
+
* Represents the [Kendo UI for Vue Native RangeSlider component]({% slug overview_rangeslider %}).
|
|
624
|
+
* Accepts properties of type [RangeSliderProps]({% slug api_inputs_rangesliderprops %}).
|
|
625
|
+
* Obtaining the `ref` returns an object of type [RangeSliderHandle]({% slug api_inputs_rangesliderhandle %}).
|
|
626
|
+
*/
|
|
627
|
+
|
|
618
628
|
var RangeSlider = RangeSliderVue2;
|
|
619
629
|
exports.RangeSlider = RangeSlider;
|
|
@@ -15,7 +15,7 @@ export interface SliderChangeEvent {
|
|
|
15
15
|
value: number;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Represents the props of the [Kendo UI for Vue Slider component]({% slug
|
|
18
|
+
* Represents the props of the [Kendo UI for Vue Slider component]({% slug overview_slider %}).
|
|
19
19
|
*/
|
|
20
20
|
export interface SliderProps extends FormComponentProps {
|
|
21
21
|
/**
|
|
@@ -62,7 +62,7 @@ export interface SliderProps extends FormComponentProps {
|
|
|
62
62
|
disabled?: boolean;
|
|
63
63
|
/**
|
|
64
64
|
* If `vertical` is set to `true`, the orientation of the Slider changes from horizontal to vertical
|
|
65
|
-
* ([see example]({% slug
|
|
65
|
+
* ([see example]({% slug orientation_slider %})).
|
|
66
66
|
*/
|
|
67
67
|
vertical?: boolean;
|
|
68
68
|
/**
|
|
@@ -125,6 +125,12 @@ export interface SliderComputed {
|
|
|
125
125
|
*/
|
|
126
126
|
export interface SliderAll extends Vue2type, SliderMethods, SliderComputed, SliderState, SliderData {
|
|
127
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* @hidden
|
|
130
|
+
*/
|
|
128
131
|
declare let SliderVue2: ComponentOptions<SliderAll, DefaultData<SliderData>, DefaultMethods<SliderAll>, SliderComputed, RecordPropsDefinition<SliderProps>>;
|
|
132
|
+
/**
|
|
133
|
+
* @hidden
|
|
134
|
+
*/
|
|
129
135
|
declare const Slider: DefineComponent<SliderProps, any, SliderData, SliderComputed, SliderMethods, {}, {}, {}, string, SliderProps, SliderProps, {}>;
|
|
130
136
|
export { Slider, SliderVue2 };
|
|
@@ -23,6 +23,10 @@ var messages_1 = require("./../messages");
|
|
|
23
23
|
var SliderLabel_1 = require("./SliderLabel");
|
|
24
24
|
|
|
25
25
|
var package_metadata_1 = require("../package-metadata");
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
|
|
26
30
|
|
|
27
31
|
var SliderVue2 = {
|
|
28
32
|
name: 'KendoSlider',
|
|
@@ -387,5 +391,9 @@ var SliderVue2 = {
|
|
|
387
391
|
}
|
|
388
392
|
};
|
|
389
393
|
exports.SliderVue2 = SliderVue2;
|
|
394
|
+
/**
|
|
395
|
+
* @hidden
|
|
396
|
+
*/
|
|
397
|
+
|
|
390
398
|
var Slider = SliderVue2;
|
|
391
399
|
exports.Slider = Slider;
|
|
@@ -52,6 +52,14 @@ export interface SliderLabelData {
|
|
|
52
52
|
*/
|
|
53
53
|
export interface SliderLabelAll extends Vue2type, SliderLabelMethods, SliderLabelData, SliderLabelState {
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @hidden
|
|
57
|
+
*/
|
|
55
58
|
declare let SliderLabelVue2: ComponentOptions<SliderLabelAll, DefaultData<SliderLabelData>, DefaultMethods<SliderLabelAll>, {}, RecordPropsDefinition<SliderLabelProps>>;
|
|
59
|
+
/**
|
|
60
|
+
* Represents the Kendo UI for Vue Native SliderLabel component.
|
|
61
|
+
* ### props <span class='code'>[SliderLabelProps]({% slug api_inputs_sliderlabelprops %})</span>
|
|
62
|
+
* The props of the SliderLabel component.
|
|
63
|
+
*/
|
|
56
64
|
declare const SliderLabel: DefineComponent<SliderLabelProps, any, SliderLabelData, {}, SliderLabelMethods, {}, {}, {}, string, SliderLabelProps, SliderLabelProps, {}>;
|
|
57
65
|
export { SliderLabel, SliderLabelVue2 };
|
|
@@ -33,7 +33,10 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
exports.SLIDER_LABEL_ATTRIBUTE = 'data-slider-label';
|
|
36
|
+
exports.SLIDER_LABEL_ATTRIBUTE = 'data-slider-label';
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
37
40
|
|
|
38
41
|
var SliderLabelVue2 = {
|
|
39
42
|
name: 'KendoSliderLabel',
|
|
@@ -117,5 +120,11 @@ var SliderLabelVue2 = {
|
|
|
117
120
|
}
|
|
118
121
|
};
|
|
119
122
|
exports.SliderLabelVue2 = SliderLabelVue2;
|
|
123
|
+
/**
|
|
124
|
+
* Represents the Kendo UI for Vue Native SliderLabel component.
|
|
125
|
+
* ### props <span class='code'>[SliderLabelProps]({% slug api_inputs_sliderlabelprops %})</span>
|
|
126
|
+
* The props of the SliderLabel component.
|
|
127
|
+
*/
|
|
128
|
+
|
|
120
129
|
var SliderLabel = SliderLabelVue2;
|
|
121
130
|
exports.SliderLabel = SliderLabel;
|
|
@@ -169,6 +169,14 @@ export interface SwitchData {
|
|
|
169
169
|
*/
|
|
170
170
|
export interface SwitchAll extends Vue2type, SwitchMethods, SwitchData, SwitchComputed, SwitchState {
|
|
171
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* @hidden
|
|
174
|
+
*/
|
|
172
175
|
declare let SwitchVue2: ComponentOptions<SwitchAll, DefaultData<SwitchData>, DefaultMethods<SwitchAll>, SwitchComputed, RecordPropsDefinition<SwitchProps>>;
|
|
176
|
+
/**
|
|
177
|
+
* Represents the [Kendo UI for Vue Native Switch component]({% slug overview_switch %}).
|
|
178
|
+
* Accepts properties of type [SwitchProps]({% slug api_inputs_switchprops %}).
|
|
179
|
+
* Obtaining the `ref` returns an object of type [SwitchHandle]({% slug api_inputs_switchhandle %}).
|
|
180
|
+
*/
|
|
173
181
|
declare const Switch: DefineComponent<SwitchProps, any, SwitchData, SwitchComputed, SwitchMethods, {}, {}, {}, string, SwitchProps, SwitchProps, {}>;
|
|
174
182
|
export { Switch, SwitchVue2 };
|
|
@@ -16,7 +16,10 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
16
16
|
|
|
17
17
|
var messages_1 = require("./../messages");
|
|
18
18
|
|
|
19
|
-
var package_metadata_1 = require("../package-metadata");
|
|
19
|
+
var package_metadata_1 = require("../package-metadata");
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
20
23
|
|
|
21
24
|
|
|
22
25
|
var SwitchVue2 = {
|
|
@@ -347,5 +350,11 @@ var SwitchVue2 = {
|
|
|
347
350
|
}
|
|
348
351
|
};
|
|
349
352
|
exports.SwitchVue2 = SwitchVue2;
|
|
353
|
+
/**
|
|
354
|
+
* Represents the [Kendo UI for Vue Native Switch component]({% slug overview_switch %}).
|
|
355
|
+
* Accepts properties of type [SwitchProps]({% slug api_inputs_switchprops %}).
|
|
356
|
+
* Obtaining the `ref` returns an object of type [SwitchHandle]({% slug api_inputs_switchhandle %}).
|
|
357
|
+
*/
|
|
358
|
+
|
|
350
359
|
var Switch = SwitchVue2;
|
|
351
360
|
exports.Switch = Switch;
|
|
@@ -40,6 +40,42 @@ export interface TextAreaData {
|
|
|
40
40
|
*/
|
|
41
41
|
export interface TextAreaAll extends Vue2type, TextAreaMethods, TextAreaData, TextAreaComputed, TextAreaState {
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
43
46
|
declare let TextAreaVue2: ComponentOptions<TextAreaAll, DefaultData<TextAreaData>, DefaultMethods<TextAreaAll>, TextAreaComputed, RecordPropsDefinition<TextAreaProps>>;
|
|
47
|
+
/**
|
|
48
|
+
* Represents the [Kendo UI for Vue Native TextArea component]({% slug overview_textarea %}).
|
|
49
|
+
*
|
|
50
|
+
* Accepts properties of type [TextAreaProps]({% slug api_inputs_textareaprops %}).
|
|
51
|
+
* Obtaining the `ref` returns an object of type [TextAreaHandle]({% slug api_inputs_textareahandle %}).
|
|
52
|
+
*
|
|
53
|
+
*
|
|
54
|
+
* ```jsx
|
|
55
|
+
* <template>
|
|
56
|
+
* <k-form
|
|
57
|
+
* @submit="handleSubmit">
|
|
58
|
+
* <formcontent />
|
|
59
|
+
* </k-form>
|
|
60
|
+
* </template>
|
|
61
|
+
* <script>
|
|
62
|
+
* import { Form } from "@progress/kendo-vue-form";
|
|
63
|
+
* import FormContent from './FormContent.vue';
|
|
64
|
+
*
|
|
65
|
+
* export default {
|
|
66
|
+
* components: {
|
|
67
|
+
* 'k-form': Form,
|
|
68
|
+
* 'formcontent': FormContent
|
|
69
|
+
* },
|
|
70
|
+
* methods: {
|
|
71
|
+
* handleSubmit (dataItem) {
|
|
72
|
+
* alert(JSON.stringify(dataItem, null, 2));
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
75
|
+
* };
|
|
76
|
+
*
|
|
77
|
+
* </script>
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
44
80
|
declare const TextArea: DefineComponent<TextAreaProps, any, TextAreaData, TextAreaComputed, TextAreaMethods, {}, {}, {}, string, TextAreaProps, TextAreaProps, {}>;
|
|
45
81
|
export { TextArea, TextAreaVue2 };
|