@progress/kendo-vue-inputs 3.3.3 → 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
|
@@ -2,9 +2,20 @@
|
|
|
2
2
|
import { DefineComponent } from 'vue';
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import * as Vue from 'vue';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
5
9
|
// @ts-ignore
|
|
6
10
|
type Vue2type = Vue.default;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
7
15
|
// @ts-ignore
|
|
8
16
|
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
9
20
|
// @ts-ignore
|
|
10
21
|
export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
|
|
@@ -6,7 +6,7 @@ declare type DefaultMethods<V> = {
|
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-vue-intl';
|
|
7
7
|
import { CheckboxProps } from './interfaces/CheckboxProps';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export interface CheckboxHandle {
|
|
12
12
|
element: any;
|
|
@@ -68,6 +68,12 @@ export interface CheckboxComputed {
|
|
|
68
68
|
*/
|
|
69
69
|
export interface CheckboxAll extends Vue2type, CheckboxMethods, CheckboxState, CheckboxData, CheckboxComputed {
|
|
70
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
71
74
|
declare let CheckboxVue2: ComponentOptions<CheckboxAll, DefaultData<CheckboxData>, DefaultMethods<CheckboxAll>, CheckboxComputed, RecordPropsDefinition<CheckboxProps>>;
|
|
75
|
+
/**
|
|
76
|
+
* @hidden
|
|
77
|
+
*/
|
|
72
78
|
declare const Checkbox: DefineComponent<CheckboxProps, any, CheckboxData, CheckboxComputed, CheckboxMethods, {}, {}, {}, string, CheckboxProps, CheckboxProps, {}>;
|
|
73
79
|
export { Checkbox, CheckboxVue2 };
|
|
@@ -8,6 +8,10 @@ import { Keys, classNames, guid, getTabIndex, getDefaultSlots, validatePackage,
|
|
|
8
8
|
import { packageMetadata } from '../package-metadata';
|
|
9
9
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
10
10
|
import { messages, checkboxValidation, checkboxOptionalText } from './../messages';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
|
|
11
15
|
var CheckboxVue2 = {
|
|
12
16
|
name: 'KendoCheckbox',
|
|
13
17
|
// @ts-ignore
|
|
@@ -364,5 +368,9 @@ var CheckboxVue2 = {
|
|
|
364
368
|
}
|
|
365
369
|
}
|
|
366
370
|
};
|
|
371
|
+
/**
|
|
372
|
+
* @hidden
|
|
373
|
+
*/
|
|
374
|
+
|
|
367
375
|
var Checkbox = CheckboxVue2;
|
|
368
376
|
export { Checkbox, CheckboxVue2 };
|
|
@@ -50,6 +50,12 @@ export interface ColorPaletteData {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface ColorPaletteAll extends Vue2type, ColorPaletteMethods, ColorPaletteData, ColorPaletteComputed, ColorPaletteState {
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
53
56
|
declare let ColorPaletteVue2: ComponentOptions<ColorPaletteAll, DefaultData<ColorPaletteData>, DefaultMethods<ColorPaletteAll>, ColorPaletteComputed, RecordPropsDefinition<ColorPaletteProps>>;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
54
60
|
declare const ColorPalette: DefineComponent<ColorPaletteProps, any, ColorPaletteData, ColorPaletteComputed, ColorPaletteMethods, {}, {}, {}, string, ColorPaletteProps, ColorPaletteProps, {}>;
|
|
55
61
|
export { ColorPalette, ColorPaletteVue2 };
|
|
@@ -22,7 +22,10 @@ export var DEFAULT_COLUMNS_COUNT = 10;
|
|
|
22
22
|
* @hidden
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export var DEFAULT_PRESET = 'office';
|
|
25
|
+
export var DEFAULT_PRESET = 'office';
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
26
29
|
|
|
27
30
|
var ColorPaletteVue2 = {
|
|
28
31
|
name: 'KendoColorPalette',
|
|
@@ -344,5 +347,9 @@ var ColorPaletteVue2 = {
|
|
|
344
347
|
}
|
|
345
348
|
}
|
|
346
349
|
};
|
|
350
|
+
/**
|
|
351
|
+
* @hidden
|
|
352
|
+
*/
|
|
353
|
+
|
|
347
354
|
var ColorPalette = ColorPaletteVue2;
|
|
348
355
|
export { ColorPalette, ColorPaletteVue2 };
|
|
@@ -46,6 +46,12 @@ export interface ColorPickerData {
|
|
|
46
46
|
*/
|
|
47
47
|
export interface ColorPickerAll extends Vue2type, ColorPickerMethods, ColorPickerData, ColorPickerComputed, ColorPickerState {
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
49
52
|
declare let ColorPickerVue2: ComponentOptions<ColorPickerAll, DefaultData<ColorPickerData>, DefaultMethods<ColorPickerAll>, ColorPickerComputed, RecordPropsDefinition<ColorPickerProps>>;
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
50
56
|
declare const ColorPicker: DefineComponent<ColorPickerProps, any, ColorPickerData, ColorPickerComputed, ColorPickerMethods, {}, {}, {}, string, ColorPickerProps, ColorPickerProps, {}>;
|
|
51
57
|
export { ColorPicker, ColorPickerVue2 };
|
|
@@ -29,7 +29,10 @@ var DEFAULT_PALETTE_SETTINGS = {
|
|
|
29
29
|
|
|
30
30
|
var isControlled = function isControlled(prop) {
|
|
31
31
|
return prop !== undefined;
|
|
32
|
-
};
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
33
36
|
|
|
34
37
|
|
|
35
38
|
var ColorPickerVue2 = {
|
|
@@ -388,5 +391,9 @@ var ColorPickerVue2 = {
|
|
|
388
391
|
}
|
|
389
392
|
}
|
|
390
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* @hidden
|
|
396
|
+
*/
|
|
397
|
+
|
|
391
398
|
var ColorPicker = ColorPickerVue2;
|
|
392
399
|
export { ColorPicker, ColorPickerVue2 };
|
|
@@ -35,6 +35,12 @@ export interface PickerData {
|
|
|
35
35
|
*/
|
|
36
36
|
export interface PickerAll extends Vue2type, PickerMethods, PickerData, PickerComputed, PickerState {
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
38
41
|
declare let PickerVue2: ComponentOptions<PickerAll, DefaultData<PickerData>, DefaultMethods<PickerAll>, PickerComputed, RecordPropsDefinition<PickerProps>>;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
39
45
|
declare const Picker: DefineComponent<PickerProps, any, PickerData, PickerComputed, PickerMethods, {}, {}, {}, string, PickerProps, PickerProps, {}>;
|
|
40
46
|
export { Picker, PickerVue2 };
|
package/dist/es/colors/Picker.js
CHANGED
|
@@ -13,7 +13,10 @@ var ANCHOR_VERTICAL_ALIGN = 'bottom';
|
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
var POPUP_VERTICAL_ALIGN = 'top';
|
|
16
|
+
var POPUP_VERTICAL_ALIGN = 'top';
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
17
20
|
|
|
18
21
|
var PickerVue2 = {
|
|
19
22
|
name: 'KendoPicker',
|
|
@@ -90,5 +93,9 @@ var PickerVue2 = {
|
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* @hidden
|
|
98
|
+
*/
|
|
99
|
+
|
|
93
100
|
var Picker = PickerVue2;
|
|
94
101
|
export { Picker, PickerVue2 };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { TileSize } from '../models/tile-size';
|
|
2
2
|
import { ColorPaletteChangeEvent } from './ColorPaletteChangeEvent';
|
|
3
3
|
/**
|
|
4
|
-
* Represents the props of the [
|
|
4
|
+
* Represents the props of the [KendoVue ColorPalette component]({% slug overview_colorpalette %}).
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
5
8
|
*/
|
|
6
9
|
export interface ColorPaletteProps {
|
|
7
10
|
/**
|
|
@@ -33,18 +36,6 @@ export interface ColorPaletteProps {
|
|
|
33
36
|
/**
|
|
34
37
|
* Determines whether the ColorPalette is disabled
|
|
35
38
|
* ([more information and example]({% slug disabled_colorpalette %})).
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```jsx
|
|
39
|
-
* class App extends React.Component {
|
|
40
|
-
* render() {
|
|
41
|
-
* return (
|
|
42
|
-
* <ColorPalette disabled={true} />
|
|
43
|
-
* );
|
|
44
|
-
* }
|
|
45
|
-
* }
|
|
46
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
47
|
-
* ```
|
|
48
39
|
*/
|
|
49
40
|
disabled?: boolean;
|
|
50
41
|
/**
|
|
@@ -3,6 +3,9 @@ import { TileSize } from '../models/tile-size';
|
|
|
3
3
|
* The settings of the ColorPalette that is nested inside the popup of the ColorPicker
|
|
4
4
|
* ([see example]({% slug customizecolorpicker_colorpicker %}#toc-customizing-the-palette-popup)).
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
6
9
|
export interface ColorPickerPaletteSettings {
|
|
7
10
|
/**
|
|
8
11
|
* Specifies the set of colors.
|
|
@@ -2,6 +2,9 @@ import { PopupAnimation } from '@progress/kendo-vue-popup';
|
|
|
2
2
|
/**
|
|
3
3
|
* The settings of the popup container of the ColorPicker.
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
5
8
|
export interface ColorPickerPopupSettings {
|
|
6
9
|
/**
|
|
7
10
|
* Controls the popup animation. By default, the open and close animations are enabled.
|
|
@@ -6,7 +6,10 @@ import { ColorPickerPopupSettings } from './ColorPickerPopupSettings';
|
|
|
6
6
|
import { ColorPickerPaletteSettings } from './ColorPickerPaletteSettings';
|
|
7
7
|
import { ColorPickerView } from './ColorPickerView';
|
|
8
8
|
/**
|
|
9
|
-
* Represents the props of the [
|
|
9
|
+
* Represents the props of the [Kendo UI for Vue ColorPicker component]({% slug overview_colorpicker %}).
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
10
13
|
*/
|
|
11
14
|
export interface ColorPickerProps {
|
|
12
15
|
/**
|
|
@@ -49,7 +52,7 @@ export interface ColorPickerProps {
|
|
|
49
52
|
*/
|
|
50
53
|
dir?: string;
|
|
51
54
|
/**
|
|
52
|
-
* Defines the name of an [existing icon in the
|
|
55
|
+
* Defines the name of an [existing icon in the Kendo UI for Vue theme]({% slug icons %}).
|
|
53
56
|
* You have to provide only the name of the icon without the `k-icon` or the `k-i-` prefixes.
|
|
54
57
|
* For example, `edit-tools` will be parsed to `k-icon k-i-edit-tools`
|
|
55
58
|
* ([see example]({% slug customizecolorpicker_colorpicker %}#toc-displaying-kendo-ui-icons)).
|
package/dist/es/input/Input.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare type DefaultMethods<V> = {
|
|
|
5
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
* Represents the props of the [KendoVue Input component]({% slug
|
|
8
|
+
* Represents the props of the [KendoVue Input component]({% slug overview_textbox %}).
|
|
9
9
|
* Extends the [native input props](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement).
|
|
10
10
|
*/
|
|
11
11
|
export interface InputProps extends FormComponentProps {
|
|
@@ -92,31 +92,35 @@ export interface InputProps extends FormComponentProps {
|
|
|
92
92
|
/**
|
|
93
93
|
* Defines a string prop that controls the input icon.
|
|
94
94
|
*/
|
|
95
|
-
iconName
|
|
95
|
+
iconName?: String;
|
|
96
96
|
/**
|
|
97
97
|
* Defines if the inputPrefix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
98
98
|
*/
|
|
99
|
-
inputPrefix
|
|
99
|
+
inputPrefix?: Boolean | String | Object | Function;
|
|
100
100
|
/**
|
|
101
101
|
* Defines if the inputSuffix will be shown. Accepts a slot name, a `render` function, or a Vue component.
|
|
102
102
|
*/
|
|
103
|
-
inputSuffix
|
|
103
|
+
inputSuffix?: Boolean | String | Object | Function;
|
|
104
104
|
/**
|
|
105
105
|
* Defines a boolean prop that controls whether to show the validation icon. Defaults to 'false'.
|
|
106
106
|
*/
|
|
107
|
-
showValidationIcon
|
|
107
|
+
showValidationIcon?: Boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Defines a boolean prop that controls whether to show the loading icon. Defaults to 'false'.
|
|
110
110
|
*/
|
|
111
|
-
showLoadingIcon
|
|
111
|
+
showLoadingIcon?: Boolean;
|
|
112
112
|
/**
|
|
113
113
|
* Defines a boolean prop that controls whether to show the clear icon. Defaults to 'false'.
|
|
114
114
|
*/
|
|
115
|
-
showClearButton
|
|
115
|
+
showClearButton?: Boolean;
|
|
116
116
|
/**
|
|
117
|
-
* Defines additional class to the
|
|
117
|
+
* Defines additional class to the wrapper element.
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
wrapperClass?: String;
|
|
120
|
+
/**
|
|
121
|
+
* Defines additional class to the input element.
|
|
122
|
+
*/
|
|
123
|
+
inputClass?: String;
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* @hidden
|
|
@@ -170,6 +174,12 @@ export interface InputComputed {
|
|
|
170
174
|
*/
|
|
171
175
|
export interface InputAllMethods extends Vue2type, InputMethods, InputComputed, InputState {
|
|
172
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* @hidden
|
|
179
|
+
*/
|
|
173
180
|
declare let InputVue2: ComponentOptions<InputAllMethods, DefaultData<InputData>, DefaultMethods<InputAllMethods>, InputComputed, RecordPropsDefinition<InputProps>>;
|
|
181
|
+
/**
|
|
182
|
+
* @hidden
|
|
183
|
+
*/
|
|
174
184
|
declare const Input: DefineComponent<InputProps, any, InputData, InputComputed, InputMethods, {}, {}, {}, string, InputProps, InputProps, {}>;
|
|
175
185
|
export { Input, InputVue2 };
|
package/dist/es/input/Input.js
CHANGED
|
@@ -22,6 +22,10 @@ var ref = allVue.ref;
|
|
|
22
22
|
import { guid, templateDefinition, validatePackage, kendoThemeMaps, templateRendering, getListeners, getTemplate } from '@progress/kendo-vue-common';
|
|
23
23
|
import { packageMetadata } from '../package-metadata';
|
|
24
24
|
import { FloatingLabel } from '@progress/kendo-vue-labels';
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
|
|
25
29
|
var InputVue2 = {
|
|
26
30
|
model: {
|
|
27
31
|
event: 'changemodel'
|
|
@@ -106,7 +110,8 @@ var InputVue2 = {
|
|
|
106
110
|
showValidationIcon: Boolean,
|
|
107
111
|
showLoadingIcon: Boolean,
|
|
108
112
|
showClearButton: Boolean,
|
|
109
|
-
inputClass: String
|
|
113
|
+
inputClass: String,
|
|
114
|
+
wrapperClass: String
|
|
110
115
|
},
|
|
111
116
|
data: function data() {
|
|
112
117
|
return {
|
|
@@ -168,7 +173,7 @@ var InputVue2 = {
|
|
|
168
173
|
id: inputId,
|
|
169
174
|
required: required,
|
|
170
175
|
value: this.computedValue,
|
|
171
|
-
class:
|
|
176
|
+
class: this.inputInnerClass,
|
|
172
177
|
ref: this.v3 ? function (el) {
|
|
173
178
|
_this.inputRef = el;
|
|
174
179
|
} : 'input',
|
|
@@ -376,7 +381,7 @@ var InputVue2 = {
|
|
|
376
381
|
return _a = {
|
|
377
382
|
'k-textbox': true,
|
|
378
383
|
'k-input': true
|
|
379
|
-
}, _a["k-input-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-invalid'] = !isValid, _a['k-required'] = this.required, _a['k-disabled'] = this.$props.disabled, _a[this.
|
|
384
|
+
}, _a["k-input-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-invalid'] = !isValid, _a['k-required'] = this.required, _a['k-disabled'] = this.$props.disabled, _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
380
385
|
}
|
|
381
386
|
},
|
|
382
387
|
computed: {
|
|
@@ -393,6 +398,13 @@ var InputVue2 = {
|
|
|
393
398
|
};
|
|
394
399
|
}
|
|
395
400
|
},
|
|
401
|
+
inputInnerClass: function inputInnerClass() {
|
|
402
|
+
var _a;
|
|
403
|
+
|
|
404
|
+
return _a = {
|
|
405
|
+
'k-input-inner': true
|
|
406
|
+
}, _a[this.inputClass] = this.inputClass, _a;
|
|
407
|
+
},
|
|
396
408
|
computedValue: {
|
|
397
409
|
get: function get() {
|
|
398
410
|
return this.$data.valueDuringOnChange !== undefined ? this.$data.valueDuringOnChange : this.$props.value !== undefined ? this.$props.value : this.$props.modelValue !== undefined ? this.$props.modelValue : this.$data.currentValue;
|
|
@@ -400,5 +412,9 @@ var InputVue2 = {
|
|
|
400
412
|
}
|
|
401
413
|
}
|
|
402
414
|
};
|
|
415
|
+
/**
|
|
416
|
+
* @hidden
|
|
417
|
+
*/
|
|
418
|
+
|
|
403
419
|
var Input = InputVue2;
|
|
404
420
|
export { Input, InputVue2 };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export interface InputSeparatorAllMethods extends Vue2type {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
declare let InputSeparatorVue2: ComponentOptions<InputSeparatorAllMethods, DefaultData<{}>, DefaultMethods<InputSeparatorAllMethods>, {}, RecordPropsDefinition<{}>>;
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
declare const InputSeparator: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
|
|
19
|
+
export { InputSeparator, InputSeparatorVue2 };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { validatePackage } from '@progress/kendo-licensing';
|
|
3
|
+
import * as Vue from 'vue';
|
|
4
|
+
var allVue = Vue;
|
|
5
|
+
var gh = allVue.h;
|
|
6
|
+
var ref = allVue.ref;
|
|
7
|
+
import { packageMetadata } from '../package-metadata';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var InputSeparatorVue2 = {
|
|
13
|
+
created: function created() {
|
|
14
|
+
validatePackage(packageMetadata);
|
|
15
|
+
},
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
setup: !gh ? undefined : function () {
|
|
18
|
+
var v3 = !!gh;
|
|
19
|
+
return {
|
|
20
|
+
v3: v3
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
render: function render(createElement) {
|
|
24
|
+
var h = gh || createElement;
|
|
25
|
+
return h("span", {
|
|
26
|
+
"class": 'k-input-separator'
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
var InputSeparator = InputSeparatorVue2;
|
|
35
|
+
export { InputSeparator, InputSeparatorVue2 };
|
package/dist/es/main.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './colors/interfaces/ColorPickerPaletteSettings';
|
|
|
11
11
|
export * from './colors/interfaces/ColorPickerPopupSettings';
|
|
12
12
|
export * from './colors/interfaces/ColorPickerProps';
|
|
13
13
|
export { Switch, SwitchVue2, SwitchProps, SwitchState, SwitchChangeEvent } from './switch/Switch';
|
|
14
|
+
export * from './input-separator/InputSeparator';
|
|
14
15
|
export * from './input/Input';
|
|
15
16
|
export * from './numerictextbox/NumericTextBox';
|
|
16
17
|
export * from './maskedtextbox/MaskedTextBox';
|
package/dist/es/main.js
CHANGED
|
@@ -9,6 +9,7 @@ export * from './colors/interfaces/ColorPickerPaletteSettings';
|
|
|
9
9
|
export * from './colors/interfaces/ColorPickerPopupSettings';
|
|
10
10
|
export * from './colors/interfaces/ColorPickerProps';
|
|
11
11
|
export { Switch, SwitchVue2 } from './switch/Switch';
|
|
12
|
+
export * from './input-separator/InputSeparator';
|
|
12
13
|
export * from './input/Input';
|
|
13
14
|
export * from './numerictextbox/NumericTextBox';
|
|
14
15
|
export * from './maskedtextbox/MaskedTextBox';
|
|
@@ -66,8 +66,11 @@ export interface MaskedTextBoxComputed {
|
|
|
66
66
|
export interface MaskedTextBoxAll extends MaskedTextBoxMethods, MaskedTextBoxState, MaskedTextBoxData, MaskedTextBoxComputed {
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* @hidden
|
|
70
70
|
*/
|
|
71
71
|
declare let MaskedTextBoxVue2: ComponentOptions<Vue2type, DefaultData<MaskedTextBoxData>, DefaultMethods<MaskedTextBoxAll>, MaskedTextBoxComputed, RecordPropsDefinition<MaskedTextBoxProps>>;
|
|
72
|
+
/**
|
|
73
|
+
* @hidden
|
|
74
|
+
*/
|
|
72
75
|
declare const MaskedTextBox: DefineComponent<MaskedTextBoxProps, any, MaskedTextBoxData, MaskedTextBoxComputed, MaskedTextBoxMethods, {}, {}, {}, string, MaskedTextBoxProps, MaskedTextBoxProps, {}>;
|
|
73
76
|
export { MaskedTextBox, MaskedTextBoxVue2 };
|