@progress/kendo-vue-inputs 2.7.0 → 2.7.2-dev.202201020746
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/colors/ColorPalette.d.ts +55 -0
- package/dist/es/colors/ColorPalette.js +340 -0
- package/dist/es/colors/ColorPicker.d.ts +52 -0
- package/dist/es/colors/ColorPicker.js +382 -0
- package/dist/es/colors/Picker.d.ts +41 -0
- package/dist/es/colors/Picker.js +94 -0
- package/dist/es/colors/interfaces/ColorPaletteChangeEvent.d.ts +13 -0
- package/dist/es/colors/interfaces/ColorPaletteChangeEvent.js +0 -0
- package/dist/es/colors/interfaces/ColorPaletteProps.d.ts +75 -0
- package/dist/es/colors/interfaces/ColorPaletteProps.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerActiveColorClick.d.ts +13 -0
- package/dist/es/colors/interfaces/ColorPickerActiveColorClick.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerBlurEvent.d.ts +9 -0
- package/dist/es/colors/interfaces/ColorPickerBlurEvent.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerChangeEvent.d.ts +13 -0
- package/dist/es/colors/interfaces/ColorPickerChangeEvent.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerFocusEvent.d.ts +9 -0
- package/dist/es/colors/interfaces/ColorPickerFocusEvent.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerPaletteSettings.d.ts +32 -0
- package/dist/es/colors/interfaces/ColorPickerPaletteSettings.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerPopupSettings.d.ts +14 -0
- package/dist/es/colors/interfaces/ColorPickerPopupSettings.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerProps.d.ts +142 -0
- package/dist/es/colors/interfaces/ColorPickerProps.js +0 -0
- package/dist/es/colors/interfaces/ColorPickerView.d.ts +10 -0
- package/dist/es/colors/interfaces/ColorPickerView.js +0 -0
- package/dist/es/colors/interfaces/PickerPopupSettings.d.ts +14 -0
- package/dist/es/colors/interfaces/PickerPopupSettings.js +0 -0
- package/dist/es/colors/interfaces/PickerProps.d.ts +42 -0
- package/dist/es/colors/interfaces/PickerProps.js +0 -0
- package/dist/es/colors/models/hsva.d.ts +9 -0
- package/dist/es/colors/models/hsva.js +0 -0
- package/dist/es/colors/models/output-format.d.ts +4 -0
- package/dist/es/colors/models/output-format.js +0 -0
- package/dist/es/colors/models/palette-presets.d.ts +53 -0
- package/dist/es/colors/models/palette-presets.js +54 -0
- package/dist/es/colors/models/rgb.d.ts +8 -0
- package/dist/es/colors/models/rgb.js +0 -0
- package/dist/es/colors/models/rgba.d.ts +9 -0
- package/dist/es/colors/models/rgba.js +0 -0
- package/dist/es/colors/models/table-cell.d.ts +7 -0
- package/dist/es/colors/models/table-cell.js +0 -0
- package/dist/es/colors/models/tile-size.d.ts +11 -0
- package/dist/es/colors/models/tile-size.js +0 -0
- package/dist/es/colors/utils/color-cache.d.ts +30 -0
- package/dist/es/colors/utils/color-cache.js +61 -0
- package/dist/es/colors/utils/color-palette.service.d.ts +12 -0
- package/dist/es/colors/utils/color-palette.service.js +76 -0
- package/dist/es/colors/utils/color-parser.d.ts +65 -0
- package/dist/es/colors/utils/color-parser.js +136 -0
- package/dist/es/colors/utils/misc.d.ts +15 -0
- package/dist/es/colors/utils/misc.js +20 -0
- package/dist/es/colors/utils/svg-calc.d.ts +62 -0
- package/dist/es/colors/utils/svg-calc.js +103 -0
- package/dist/es/main.d.ts +15 -0
- package/dist/es/main.js +15 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/switch/Switch.d.ts +131 -0
- package/dist/es/switch/Switch.js +307 -0
- package/dist/es/switch/util.d.ts +8 -0
- package/dist/es/switch/util.js +46 -0
- package/dist/es/textarea/TextArea.d.ts +46 -0
- package/dist/es/textarea/TextArea.js +251 -0
- package/dist/es/textarea/interfaces/TextAreaBlurEvent.d.ts +5 -0
- package/dist/es/textarea/interfaces/TextAreaBlurEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaChangeEvent.d.ts +9 -0
- package/dist/es/textarea/interfaces/TextAreaChangeEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaFocusEvent.d.ts +5 -0
- package/dist/es/textarea/interfaces/TextAreaFocusEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaProps.d.ts +84 -0
- package/dist/es/textarea/interfaces/TextAreaProps.js +0 -0
- package/dist/npm/colors/ColorPalette.d.ts +55 -0
- package/dist/npm/colors/ColorPalette.js +355 -0
- package/dist/npm/colors/ColorPicker.d.ts +52 -0
- package/dist/npm/colors/ColorPicker.js +395 -0
- package/dist/npm/colors/Picker.d.ts +41 -0
- package/dist/npm/colors/Picker.js +105 -0
- package/dist/npm/colors/interfaces/ColorPaletteChangeEvent.d.ts +13 -0
- package/dist/npm/colors/interfaces/ColorPaletteChangeEvent.js +2 -0
- package/dist/npm/colors/interfaces/ColorPaletteProps.d.ts +75 -0
- package/dist/npm/colors/interfaces/ColorPaletteProps.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerActiveColorClick.d.ts +13 -0
- package/dist/npm/colors/interfaces/ColorPickerActiveColorClick.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerBlurEvent.d.ts +9 -0
- package/dist/npm/colors/interfaces/ColorPickerBlurEvent.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerChangeEvent.d.ts +13 -0
- package/dist/npm/colors/interfaces/ColorPickerChangeEvent.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerFocusEvent.d.ts +9 -0
- package/dist/npm/colors/interfaces/ColorPickerFocusEvent.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerPaletteSettings.d.ts +32 -0
- package/dist/npm/colors/interfaces/ColorPickerPaletteSettings.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerPopupSettings.d.ts +14 -0
- package/dist/npm/colors/interfaces/ColorPickerPopupSettings.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerProps.d.ts +142 -0
- package/dist/npm/colors/interfaces/ColorPickerProps.js +2 -0
- package/dist/npm/colors/interfaces/ColorPickerView.d.ts +10 -0
- package/dist/npm/colors/interfaces/ColorPickerView.js +2 -0
- package/dist/npm/colors/interfaces/PickerPopupSettings.d.ts +14 -0
- package/dist/npm/colors/interfaces/PickerPopupSettings.js +2 -0
- package/dist/npm/colors/interfaces/PickerProps.d.ts +42 -0
- package/dist/npm/colors/interfaces/PickerProps.js +2 -0
- package/dist/npm/colors/models/hsva.d.ts +9 -0
- package/dist/npm/colors/models/hsva.js +2 -0
- package/dist/npm/colors/models/output-format.d.ts +4 -0
- package/dist/npm/colors/models/output-format.js +2 -0
- package/dist/npm/colors/models/palette-presets.d.ts +53 -0
- package/dist/npm/colors/models/palette-presets.js +57 -0
- package/dist/npm/colors/models/rgb.d.ts +8 -0
- package/dist/npm/colors/models/rgb.js +2 -0
- package/dist/npm/colors/models/rgba.d.ts +9 -0
- package/dist/npm/colors/models/rgba.js +2 -0
- package/dist/npm/colors/models/table-cell.d.ts +7 -0
- package/dist/npm/colors/models/table-cell.js +2 -0
- package/dist/npm/colors/models/tile-size.d.ts +11 -0
- package/dist/npm/colors/models/tile-size.js +2 -0
- package/dist/npm/colors/utils/color-cache.d.ts +30 -0
- package/dist/npm/colors/utils/color-cache.js +71 -0
- package/dist/npm/colors/utils/color-palette.service.d.ts +12 -0
- package/dist/npm/colors/utils/color-palette.service.js +79 -0
- package/dist/npm/colors/utils/color-parser.d.ts +65 -0
- package/dist/npm/colors/utils/color-parser.js +139 -0
- package/dist/npm/colors/utils/misc.d.ts +15 -0
- package/dist/npm/colors/utils/misc.js +23 -0
- package/dist/npm/colors/utils/svg-calc.d.ts +62 -0
- package/dist/npm/colors/utils/svg-calc.js +106 -0
- package/dist/npm/main.d.ts +15 -0
- package/dist/npm/main.js +17 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/switch/Switch.d.ts +131 -0
- package/dist/npm/switch/Switch.js +320 -0
- package/dist/npm/switch/util.d.ts +8 -0
- package/dist/npm/switch/util.js +49 -0
- package/dist/npm/textarea/TextArea.d.ts +46 -0
- package/dist/npm/textarea/TextArea.js +261 -0
- package/dist/npm/textarea/interfaces/TextAreaBlurEvent.d.ts +5 -0
- package/dist/npm/textarea/interfaces/TextAreaBlurEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaChangeEvent.d.ts +9 -0
- package/dist/npm/textarea/interfaces/TextAreaChangeEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaFocusEvent.d.ts +5 -0
- package/dist/npm/textarea/interfaces/TextAreaFocusEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.d.ts +84 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.js +5 -0
- package/package.json +13 -7
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __assign = undefined && undefined.__assign || function () {
|
|
4
|
+
__assign = Object.assign || function (t) {
|
|
5
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6
|
+
s = arguments[i];
|
|
7
|
+
|
|
8
|
+
for (var p in s) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
return __assign.apply(this, arguments);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
Object.defineProperty(exports, "__esModule", {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
exports.TextAreaVue3 = exports.TextArea = void 0; // @ts-ignore
|
|
23
|
+
|
|
24
|
+
var Vue = require("vue");
|
|
25
|
+
|
|
26
|
+
var allVue = Vue;
|
|
27
|
+
var gh = allVue.h;
|
|
28
|
+
|
|
29
|
+
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
30
|
+
|
|
31
|
+
var package_metadata_1 = require("../package-metadata"); // tslint:enable:max-line-length
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
var TextArea = {
|
|
35
|
+
name: 'KendoTextArea',
|
|
36
|
+
inheritAttrs: false,
|
|
37
|
+
model: {
|
|
38
|
+
event: 'changemodel'
|
|
39
|
+
},
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
emits: {
|
|
42
|
+
'input': null,
|
|
43
|
+
'change': null,
|
|
44
|
+
'changemodel': null,
|
|
45
|
+
'update:modelValue': null,
|
|
46
|
+
'focus': null,
|
|
47
|
+
'blur': null
|
|
48
|
+
},
|
|
49
|
+
props: {
|
|
50
|
+
ariaDescribedBy: String,
|
|
51
|
+
ariaLabelledBy: String,
|
|
52
|
+
autoSize: Boolean,
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: [String, Array, Number],
|
|
55
|
+
default: undefined
|
|
56
|
+
},
|
|
57
|
+
defaultValue: [String, Number],
|
|
58
|
+
dir: String,
|
|
59
|
+
disabled: Boolean,
|
|
60
|
+
readOnly: Boolean,
|
|
61
|
+
rows: Number,
|
|
62
|
+
id: String,
|
|
63
|
+
name: String,
|
|
64
|
+
required: Boolean,
|
|
65
|
+
placeholder: String,
|
|
66
|
+
tabIndex: Number,
|
|
67
|
+
valid: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: undefined
|
|
70
|
+
},
|
|
71
|
+
value: [String, Array, Number],
|
|
72
|
+
validityStyles: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
created: function created() {
|
|
78
|
+
kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
|
|
79
|
+
this.calculatedId = kendo_vue_common_1.guid();
|
|
80
|
+
},
|
|
81
|
+
computed: {
|
|
82
|
+
rootClassName: function rootClassName() {
|
|
83
|
+
return {
|
|
84
|
+
'k-textarea': true,
|
|
85
|
+
'k-state-invalid': this.validityStyles === true ? !this.isValid : false,
|
|
86
|
+
'k-state-disabled': this.$props.disabled
|
|
87
|
+
};
|
|
88
|
+
},
|
|
89
|
+
computedValue: function computedValue() {
|
|
90
|
+
return this.$props.value !== undefined ? this.$props.value : this.$props.modelValue !== undefined ? this.$props.modelValue : this.currentValue;
|
|
91
|
+
},
|
|
92
|
+
isValid: function isValid() {
|
|
93
|
+
return this.valid !== undefined ? this.valid : !this.required ? true : this.computedValue ? true : false;
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
data: function data() {
|
|
97
|
+
return {
|
|
98
|
+
currentValue: this.$props.defaultValue,
|
|
99
|
+
textAreaHeight: 'auto',
|
|
100
|
+
currentDir: 'ltr'
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
mounted: function mounted() {
|
|
104
|
+
this.element = this.v3 ? this.elementRef : this.$refs.element;
|
|
105
|
+
this.currentDir = this.$props.dir !== undefined ? this.$props.dir : kendo_vue_common_1.isRtl(this.$el) ? 'rtl' : 'ltr';
|
|
106
|
+
this.setValidity();
|
|
107
|
+
},
|
|
108
|
+
updated: function updated() {
|
|
109
|
+
this.element = this.v3 ? this.elementRef : this.$refs.element;
|
|
110
|
+
this.setValidity();
|
|
111
|
+
},
|
|
112
|
+
// @ts-ignore
|
|
113
|
+
setup: !gh ? undefined : function () {
|
|
114
|
+
var v3 = !!gh;
|
|
115
|
+
return {
|
|
116
|
+
v3: v3
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
// @ts-ignore
|
|
120
|
+
render: function render(createElement) {
|
|
121
|
+
var _this = this;
|
|
122
|
+
|
|
123
|
+
var h = gh || createElement;
|
|
124
|
+
var _a = this.$props,
|
|
125
|
+
ariaDescribedBy = _a.ariaDescribedBy,
|
|
126
|
+
ariaLabelledBy = _a.ariaLabelledBy,
|
|
127
|
+
autoSize = _a.autoSize,
|
|
128
|
+
disabled = _a.disabled,
|
|
129
|
+
readOnly = _a.readOnly,
|
|
130
|
+
required = _a.required,
|
|
131
|
+
rows = _a.rows,
|
|
132
|
+
id = _a.id,
|
|
133
|
+
name = _a.name,
|
|
134
|
+
placeholder = _a.placeholder,
|
|
135
|
+
tabIndex = _a.tabIndex;
|
|
136
|
+
|
|
137
|
+
var textAreaAttrs = __assign({
|
|
138
|
+
id: id || this.calculatedId,
|
|
139
|
+
name: name,
|
|
140
|
+
disabled: disabled,
|
|
141
|
+
rows: rows,
|
|
142
|
+
placeholder: placeholder,
|
|
143
|
+
readOnly: readOnly,
|
|
144
|
+
required: required,
|
|
145
|
+
tabIndex: kendo_vue_common_1.getTabIndex(tabIndex, disabled),
|
|
146
|
+
'aria-labelledby': ariaLabelledBy,
|
|
147
|
+
'aria-describedby': ariaDescribedBy,
|
|
148
|
+
'aria-multiline': true,
|
|
149
|
+
'aria-disabled': disabled || undefined
|
|
150
|
+
}, this.$attrs);
|
|
151
|
+
|
|
152
|
+
var textarea = h('textarea', __assign(__assign({}, textAreaAttrs), {
|
|
153
|
+
attrs: this.v3 ? undefined : textAreaAttrs,
|
|
154
|
+
'class': 'k-input',
|
|
155
|
+
ref: this.v3 ? function (el) {
|
|
156
|
+
_this.elementRef = el;
|
|
157
|
+
} : 'element',
|
|
158
|
+
style: autoSize ? {
|
|
159
|
+
resize: 'none',
|
|
160
|
+
overflow: 'hidden',
|
|
161
|
+
height: this.textAreaHeight
|
|
162
|
+
} : {},
|
|
163
|
+
value: this.v3 ? this.computedValue : null,
|
|
164
|
+
domProps: this.v3 ? undefined : {
|
|
165
|
+
'value': this.computedValue
|
|
166
|
+
},
|
|
167
|
+
onChange: this.handleChange,
|
|
168
|
+
onInput: this.handleInput,
|
|
169
|
+
on: this.v3 ? undefined : {
|
|
170
|
+
'change': this.handleChange,
|
|
171
|
+
'focus': this.handleFocus,
|
|
172
|
+
'blur': this.handleBlur,
|
|
173
|
+
input: this.handleInput
|
|
174
|
+
},
|
|
175
|
+
onFocus: this.handleFocus,
|
|
176
|
+
onBlur: this.handleBlur
|
|
177
|
+
}));
|
|
178
|
+
return h("span", {
|
|
179
|
+
"class": this.rootClassName,
|
|
180
|
+
dir: this.currentDir,
|
|
181
|
+
attrs: this.v3 ? undefined : {
|
|
182
|
+
dir: this.currentDir
|
|
183
|
+
}
|
|
184
|
+
}, [textarea]);
|
|
185
|
+
},
|
|
186
|
+
methods: {
|
|
187
|
+
setValidity: function setValidity() {
|
|
188
|
+
if (this.element && this.element.setCustomValidity) {
|
|
189
|
+
this.element.setCustomValidity(this.isValid ? '' : this.validationMessage || '');
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
if (this.element) {
|
|
193
|
+
this.textAreaHeight = this.element.scrollHeight + "px";
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
focus: function focus() {
|
|
197
|
+
if (this.element) {
|
|
198
|
+
this.element.focus();
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
handleChange: function handleChange(event) {
|
|
202
|
+
var newValue = event.target.value;
|
|
203
|
+
|
|
204
|
+
if (!this.$props.disabled) {
|
|
205
|
+
this.textAreaHeight = 'auto';
|
|
206
|
+
this.currentValue = newValue;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (!this.$props.disabled) {
|
|
210
|
+
this.$emit('change', {
|
|
211
|
+
event: event,
|
|
212
|
+
component: this,
|
|
213
|
+
name: this.element.name,
|
|
214
|
+
value: newValue
|
|
215
|
+
});
|
|
216
|
+
this.$emit('changemodel', newValue);
|
|
217
|
+
this.$emit('update:modelValue', newValue);
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
handleInput: function handleInput(event) {
|
|
221
|
+
var newValue = event.target.value;
|
|
222
|
+
|
|
223
|
+
if (!this.$props.disabled) {
|
|
224
|
+
this.textAreaHeight = 'auto';
|
|
225
|
+
this.currentValue = newValue;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (!this.$props.disabled) {
|
|
229
|
+
this.$emit('input', {
|
|
230
|
+
event: event,
|
|
231
|
+
component: this,
|
|
232
|
+
name: this.element.name,
|
|
233
|
+
value: newValue
|
|
234
|
+
});
|
|
235
|
+
this.$emit('changemodel', newValue);
|
|
236
|
+
this.$emit('update:modelValue', newValue);
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
handleFocus: function handleFocus(event) {
|
|
240
|
+
if (!this.$props.disabled) {
|
|
241
|
+
this.$emit('focus', {
|
|
242
|
+
event: event,
|
|
243
|
+
component: this,
|
|
244
|
+
name: this.element.name
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
handleBlur: function handleBlur(event) {
|
|
249
|
+
if (!this.$props.disabled) {
|
|
250
|
+
this.$emit('blur', {
|
|
251
|
+
event: event,
|
|
252
|
+
component: this,
|
|
253
|
+
name: this.element.name
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
exports.TextArea = TextArea;
|
|
260
|
+
var TextAreaVue3 = TextArea;
|
|
261
|
+
exports.TextAreaVue3 = TextAreaVue3;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
2
|
+
import { TextAreaBlurEvent } from './TextAreaBlurEvent';
|
|
3
|
+
import { TextAreaChangeEvent } from './TextAreaChangeEvent';
|
|
4
|
+
import { TextAreaFocusEvent } from './TextAreaFocusEvent';
|
|
5
|
+
/**
|
|
6
|
+
* Represents the props of the [Kendo UI for Vue TextArea component]({% slug overview_textarea %}).
|
|
7
|
+
*/
|
|
8
|
+
export interface TextAreaProps extends FormComponentProps {
|
|
9
|
+
/**
|
|
10
|
+
* 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).
|
|
11
|
+
* For example these elements could contain error or hint message.
|
|
12
|
+
*/
|
|
13
|
+
ariaDescribedBy?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Identifies the element(s) which will label the component.
|
|
16
|
+
*/
|
|
17
|
+
ariaLabelledBy?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies if the textarea element will resize its height automatically ([see example]({% slug sizing_textarea %})).
|
|
20
|
+
* Defaults to `false`.
|
|
21
|
+
*/
|
|
22
|
+
autoSize?: boolean;
|
|
23
|
+
modelValue?: string | string[] | number;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies a list of CSS classes that will be added to the TextArea.
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The default value of the TextArea ([see example]({% slug default_textarea %})).
|
|
30
|
+
*/
|
|
31
|
+
defaultValue?: string | string[] | number;
|
|
32
|
+
/**
|
|
33
|
+
* Represents the `dir` HTML attribute.
|
|
34
|
+
*/
|
|
35
|
+
dir?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies if the TextArea is disabled ([see example]({% slug disabled_textarea %})).
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the read-only state of the TextArea.
|
|
42
|
+
*/
|
|
43
|
+
readOnly?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies an exact height size for the TextArea to take ([see example]({% slug sizing_textarea %})).
|
|
46
|
+
*/
|
|
47
|
+
rows?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the `id` of the TextArea.
|
|
50
|
+
*/
|
|
51
|
+
id?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the `name` property of the `textarea` DOM element.
|
|
54
|
+
*
|
|
55
|
+
* This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
|
|
56
|
+
*/
|
|
57
|
+
name?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The hint that is displayed when the TextArea is empty.
|
|
60
|
+
*/
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the `tabIndex` property of the TextArea.
|
|
64
|
+
* Defaults to `0`.
|
|
65
|
+
*/
|
|
66
|
+
tabIndex?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the value to be submitted ([see example]({% slug controlled_textarea %})).
|
|
69
|
+
*/
|
|
70
|
+
value?: string | string[] | number;
|
|
71
|
+
validityStyles?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* The event handler that will be fired when the changes the selected value.
|
|
74
|
+
*/
|
|
75
|
+
onChange?: (event: TextAreaChangeEvent) => void;
|
|
76
|
+
/**
|
|
77
|
+
* The event handler that will be fired when TextArea is focused.
|
|
78
|
+
*/
|
|
79
|
+
onFocus?: (event: TextAreaFocusEvent) => void;
|
|
80
|
+
/**
|
|
81
|
+
* The event handler that will be fired when TextArea is blurred.
|
|
82
|
+
*/
|
|
83
|
+
onBlur?: (event: TextAreaBlurEvent) => void;
|
|
84
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-inputs",
|
|
3
3
|
"description": "Kendo UI for Vue Input package",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.2-dev.202201020746",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -32,20 +32,26 @@
|
|
|
32
32
|
"framework": "Kendo UI for Vue"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
+
"@progress/kendo-drawing": "^1.8.0",
|
|
35
36
|
"@progress/kendo-licensing": "^1.1.0",
|
|
36
37
|
"@progress/kendo-vue-intl": "^2.3.0",
|
|
37
38
|
"vue": "^2.6.12 || ^3.0.2"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"@progress/kendo-vue-common": "2.7.
|
|
41
|
-
"@progress/kendo-vue-labels": "2.7.
|
|
41
|
+
"@progress/kendo-vue-common": "2.7.2-dev.202201020746",
|
|
42
|
+
"@progress/kendo-vue-labels": "2.7.2-dev.202201020746",
|
|
43
|
+
"@progress/kendo-vue-popup": "2.7.2-dev.202201020746"
|
|
42
44
|
},
|
|
43
45
|
"devDependencies": {
|
|
46
|
+
"@progress/kendo-data-query": "^1.5.5",
|
|
47
|
+
"@progress/kendo-date-math": "^1.5.4",
|
|
48
|
+
"@progress/kendo-drawing": "^1.8.0",
|
|
44
49
|
"@progress/kendo-licensing": "^1.1.0",
|
|
45
|
-
"@progress/kendo-vue-buttons": "2.7.
|
|
46
|
-
"@progress/kendo-vue-form": "2.7.
|
|
47
|
-
"@progress/kendo-vue-intl": "2.7.
|
|
48
|
-
"@progress/kendo-vue-labels": "2.7.
|
|
50
|
+
"@progress/kendo-vue-buttons": "2.7.2-dev.202201020746",
|
|
51
|
+
"@progress/kendo-vue-form": "2.7.2-dev.202201020746",
|
|
52
|
+
"@progress/kendo-vue-intl": "2.7.2-dev.202201020746",
|
|
53
|
+
"@progress/kendo-vue-labels": "2.7.2-dev.202201020746",
|
|
54
|
+
"@progress/kendo-vue-tooltip": "2.7.2-dev.202201020746",
|
|
49
55
|
"cldr-core": "^34.0.0",
|
|
50
56
|
"cldr-dates-full": "^34.0.0",
|
|
51
57
|
"cldr-numbers-full": "^34.0.0"
|