@progress/kendo-vue-inputs 3.3.5 → 3.3.6-dev.202206170937
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/package-metadata.js +1 -1
- package/dist/es/textarea/TextArea.js +72 -16
- package/dist/es/textarea/interfaces/TextAreaFlow.d.ts +8 -0
- package/dist/es/textarea/interfaces/TextAreaFlow.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaProps.d.ts +10 -0
- package/dist/es/textarea/interfaces/TextAreaResize.d.ts +10 -0
- package/dist/es/textarea/interfaces/TextAreaResize.js +0 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/textarea/TextArea.js +72 -16
- package/dist/npm/textarea/interfaces/TextAreaFlow.d.ts +8 -0
- package/dist/npm/textarea/interfaces/TextAreaFlow.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.d.ts +10 -0
- package/dist/npm/textarea/interfaces/TextAreaResize.d.ts +10 -0
- package/dist/npm/textarea/interfaces/TextAreaResize.js +2 -0
- package/package.json +11 -10
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-inputs',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1655458045,
|
|
9
9
|
version: '',
|
|
10
10
|
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'
|
|
11
11
|
};
|
|
@@ -95,7 +95,21 @@ var TextAreaVue2 = {
|
|
|
95
95
|
showLoadingIcon: Boolean,
|
|
96
96
|
showClearButton: Boolean,
|
|
97
97
|
inputClass: String,
|
|
98
|
-
wrapperClass: String
|
|
98
|
+
wrapperClass: String,
|
|
99
|
+
flow: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: 'horizontal',
|
|
102
|
+
validator: function validator(value) {
|
|
103
|
+
return ['horizontal', 'vertical'].includes(value);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
resizable: {
|
|
107
|
+
type: String,
|
|
108
|
+
default: 'vertical',
|
|
109
|
+
validator: function validator(value) {
|
|
110
|
+
return ['both', 'horizontal', 'vertical', 'none'].includes(value);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
99
113
|
},
|
|
100
114
|
created: function created() {
|
|
101
115
|
validatePackage(packageMetadata);
|
|
@@ -110,20 +124,46 @@ var TextAreaVue2 = {
|
|
|
110
124
|
fillMode = _b.fillMode,
|
|
111
125
|
rounded = _b.rounded,
|
|
112
126
|
required = _b.required,
|
|
113
|
-
showLoadingIcon = _b.showLoadingIcon
|
|
127
|
+
showLoadingIcon = _b.showLoadingIcon,
|
|
128
|
+
resizable = _b.resizable,
|
|
129
|
+
autoSize = _b.autoSize;
|
|
114
130
|
var invalid = this.validityStyles === true ? !this.isValid : false;
|
|
115
131
|
return _a = {
|
|
116
132
|
'k-input': true,
|
|
117
133
|
'k-textarea': true
|
|
118
|
-
}, _a["k-input-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-disabled'] = this.$props.disabled, _a['k-invalid'] = invalid, _a['k-required'] = required, _a['k-loading'] = showLoadingIcon, _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
134
|
+
}, _a["k-input-" + (kendoThemeMaps.sizeMap[size] || size)] = size, _a["k-input-" + fillMode] = fillMode, _a["k-rounded-" + (kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded, _a['k-disabled'] = this.$props.disabled, _a['k-invalid'] = invalid, _a['k-required'] = required, _a['k-loading'] = showLoadingIcon, _a["k-resize-" + resizable] = autoSize ? 'none' : resizable, _a['!k-flex-col'] = this.flow === 'vertical', _a['!k-flex-row'] = this.flow === 'horizontal', _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
119
135
|
},
|
|
120
136
|
inputInnerClass: function inputInnerClass() {
|
|
121
137
|
var _a;
|
|
122
138
|
|
|
123
139
|
return _a = {
|
|
124
|
-
'k-input-inner': true
|
|
140
|
+
'k-input-inner': true,
|
|
141
|
+
'!k-resize-none': true,
|
|
142
|
+
'k-flex': true
|
|
125
143
|
}, _a[this.inputClass] = this.inputClass, _a;
|
|
126
144
|
},
|
|
145
|
+
prefixRenderClass: function prefixRenderClass() {
|
|
146
|
+
return {
|
|
147
|
+
'k-input-prefix': true,
|
|
148
|
+
'!k-flex-col': this.flow === 'horizontal',
|
|
149
|
+
'!k-flex-row': this.flow === 'vertical',
|
|
150
|
+
'!k-align-items-start': this.flow === 'horizontal'
|
|
151
|
+
};
|
|
152
|
+
},
|
|
153
|
+
suffixRenderClass: function suffixRenderClass() {
|
|
154
|
+
return {
|
|
155
|
+
'k-input-suffix': true,
|
|
156
|
+
'!k-flex-col': this.flow === 'horizontal',
|
|
157
|
+
'!k-flex-row': this.flow === 'vertical',
|
|
158
|
+
'!k-align-items-start': this.flow === 'horizontal'
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
suffixIconWrapClass: function suffixIconWrapClass() {
|
|
162
|
+
return {
|
|
163
|
+
'k-flex-wrap': true,
|
|
164
|
+
'!k-align-items-start': true
|
|
165
|
+
};
|
|
166
|
+
},
|
|
127
167
|
computedValue: function computedValue() {
|
|
128
168
|
return this.$props.value !== undefined ? this.$props.value : this.$props.modelValue !== undefined ? this.$props.modelValue : this.currentValue;
|
|
129
169
|
},
|
|
@@ -138,6 +178,11 @@ var TextAreaVue2 = {
|
|
|
138
178
|
currentDir: 'ltr'
|
|
139
179
|
};
|
|
140
180
|
},
|
|
181
|
+
watch: {
|
|
182
|
+
size: function size() {
|
|
183
|
+
this.textAreaHeight = 'auto';
|
|
184
|
+
}
|
|
185
|
+
},
|
|
141
186
|
mounted: function mounted() {
|
|
142
187
|
this.element = this.v3 ? this.elementRef : this.$refs.element;
|
|
143
188
|
this.currentDir = this.$props.dir !== undefined ? this.$props.dir : isRtl(this.$el) ? 'rtl' : 'ltr';
|
|
@@ -216,7 +261,6 @@ var TextAreaVue2 = {
|
|
|
216
261
|
_this.elementRef = el;
|
|
217
262
|
} : 'element',
|
|
218
263
|
style: autoSize ? {
|
|
219
|
-
resize: 'none',
|
|
220
264
|
overflow: 'hidden',
|
|
221
265
|
height: this.textAreaHeight
|
|
222
266
|
} : {},
|
|
@@ -237,24 +281,34 @@ var TextAreaVue2 = {
|
|
|
237
281
|
}));
|
|
238
282
|
return h("span", {
|
|
239
283
|
"class": this.rootClassName,
|
|
240
|
-
dir: this.currentDir,
|
|
284
|
+
dir: this.currentDir === 'rtl' ? this.currentDir : '',
|
|
241
285
|
attrs: this.v3 ? undefined : {
|
|
242
|
-
dir: this.currentDir
|
|
286
|
+
dir: this.currentDir === 'rtl' ? this.currentDir : ''
|
|
243
287
|
},
|
|
244
288
|
style: this.$attrs.style
|
|
289
|
+
}, [this.$props.inputPrefix && h("span", {
|
|
290
|
+
"class": this.prefixRenderClass
|
|
291
|
+
}, [inputPrefix]), h("span", {
|
|
292
|
+
"class": "k-hstack k-flex"
|
|
245
293
|
}, [iconName && h("span", {
|
|
294
|
+
"class": "k-flex-wrap"
|
|
295
|
+
}, [h("span", {
|
|
246
296
|
"class": "k-input-icon k-icon k-i-" + iconName
|
|
247
|
-
}), this
|
|
248
|
-
"class":
|
|
249
|
-
}, [
|
|
250
|
-
"class": "k-input-suffix"
|
|
251
|
-
}, [inputSuffix]), showValidationIcon && this.isValid && h("span", {
|
|
297
|
+
})]), textarea, showValidationIcon && this.isValid && h("span", {
|
|
298
|
+
"class": this.suffixIconWrapClass
|
|
299
|
+
}, [h("span", {
|
|
252
300
|
"class": "k-input-validation-icon k-icon k-i-check"
|
|
253
|
-
}), showValidationIcon && !this.isValid && h("span", {
|
|
301
|
+
})]), showValidationIcon && !this.isValid && h("span", {
|
|
302
|
+
"class": this.suffixIconWrapClass
|
|
303
|
+
}, [h("span", {
|
|
254
304
|
"class": "k-input-validation-icon k-icon k-i-warning"
|
|
255
|
-
}), showLoadingIcon && h("span", {
|
|
305
|
+
})]), showLoadingIcon && h("span", {
|
|
306
|
+
"class": this.suffixIconWrapClass
|
|
307
|
+
}, [h("span", {
|
|
256
308
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
257
|
-
}), showClearButton && this.computedValue && h("span", {
|
|
309
|
+
})]), showClearButton && this.computedValue && h("span", {
|
|
310
|
+
"class": this.suffixIconWrapClass
|
|
311
|
+
}, [h("span", {
|
|
258
312
|
onClick: this.clearClick,
|
|
259
313
|
on: this.v3 ? undefined : {
|
|
260
314
|
"click": this.clearClick
|
|
@@ -262,7 +316,9 @@ var TextAreaVue2 = {
|
|
|
262
316
|
"class": "k-clear-value"
|
|
263
317
|
}, [h("span", {
|
|
264
318
|
"class": "k-icon k-i-x"
|
|
265
|
-
})])])
|
|
319
|
+
})])])]), this.$props.inputSuffix && h("span", {
|
|
320
|
+
"class": this.suffixRenderClass
|
|
321
|
+
}, [inputSuffix])]);
|
|
266
322
|
},
|
|
267
323
|
methods: {
|
|
268
324
|
setValidity: function setValidity() {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies the flow direction of the TextArea sections.
|
|
3
|
+
*
|
|
4
|
+
* The possible values are:
|
|
5
|
+
* * `vertical`(Default) —TextArea sections are placed from top to bottom.
|
|
6
|
+
* * `horizontal`—TextArea sections are placed from left to right in `ltr`, and from right to left in `rtl` mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare type TextAreaFlow = 'horizontal' | 'vertical';
|
|
File without changes
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
2
2
|
import { TextAreaBlurEvent } from './TextAreaBlurEvent';
|
|
3
3
|
import { TextAreaChangeEvent } from './TextAreaChangeEvent';
|
|
4
|
+
import { TextAreaFlow } from './TextAreaFlow';
|
|
4
5
|
import { TextAreaFocusEvent } from './TextAreaFocusEvent';
|
|
6
|
+
import { TextAreaResize } from './TextAreaResize';
|
|
5
7
|
/**
|
|
6
8
|
* Represents the props of the [Kendo UI for Vue TextArea component]({% slug overview_textarea %}).
|
|
7
9
|
*/
|
|
@@ -141,6 +143,14 @@ export interface TextAreaProps extends FormComponentProps {
|
|
|
141
143
|
* Defines additional class to the wrapper element.
|
|
142
144
|
*/
|
|
143
145
|
wrapperClass?: String;
|
|
146
|
+
/**
|
|
147
|
+
* Defines the flow direction of the TextArea sections.
|
|
148
|
+
*/
|
|
149
|
+
flow?: TextAreaFlow | String;
|
|
150
|
+
/**
|
|
151
|
+
* Defines the way the TextArea will resize.
|
|
152
|
+
*/
|
|
153
|
+
resizable?: TextAreaResize | String;
|
|
144
154
|
/**
|
|
145
155
|
* Defines additional class to the input element.
|
|
146
156
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies the resize direction of the TextArea sections.
|
|
3
|
+
*
|
|
4
|
+
* The possible values are:
|
|
5
|
+
* `vertical`(Default) —TextArea can be resized only vertically.
|
|
6
|
+
* `horizontal`—TextArea can be resized only horizontally.
|
|
7
|
+
* `both`—TextArea can be resized both vertically and horizontally.
|
|
8
|
+
* `nont`—TextArea can not be manually resized.
|
|
9
|
+
*/
|
|
10
|
+
export declare type TextAreaResize = 'both' | 'horizontal' | 'vertical';
|
|
File without changes
|
|
@@ -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: 1655458045,
|
|
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
|
};
|
|
@@ -104,7 +104,21 @@ var TextAreaVue2 = {
|
|
|
104
104
|
showLoadingIcon: Boolean,
|
|
105
105
|
showClearButton: Boolean,
|
|
106
106
|
inputClass: String,
|
|
107
|
-
wrapperClass: String
|
|
107
|
+
wrapperClass: String,
|
|
108
|
+
flow: {
|
|
109
|
+
type: String,
|
|
110
|
+
default: 'horizontal',
|
|
111
|
+
validator: function validator(value) {
|
|
112
|
+
return ['horizontal', 'vertical'].includes(value);
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
resizable: {
|
|
116
|
+
type: String,
|
|
117
|
+
default: 'vertical',
|
|
118
|
+
validator: function validator(value) {
|
|
119
|
+
return ['both', 'horizontal', 'vertical', 'none'].includes(value);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
108
122
|
},
|
|
109
123
|
created: function created() {
|
|
110
124
|
kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
|
|
@@ -119,20 +133,46 @@ var TextAreaVue2 = {
|
|
|
119
133
|
fillMode = _b.fillMode,
|
|
120
134
|
rounded = _b.rounded,
|
|
121
135
|
required = _b.required,
|
|
122
|
-
showLoadingIcon = _b.showLoadingIcon
|
|
136
|
+
showLoadingIcon = _b.showLoadingIcon,
|
|
137
|
+
resizable = _b.resizable,
|
|
138
|
+
autoSize = _b.autoSize;
|
|
123
139
|
var invalid = this.validityStyles === true ? !this.isValid : false;
|
|
124
140
|
return _a = {
|
|
125
141
|
'k-input': true,
|
|
126
142
|
'k-textarea': true
|
|
127
|
-
}, _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-disabled'] = this.$props.disabled, _a['k-invalid'] = invalid, _a['k-required'] = required, _a['k-loading'] = showLoadingIcon, _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
143
|
+
}, _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-disabled'] = this.$props.disabled, _a['k-invalid'] = invalid, _a['k-required'] = required, _a['k-loading'] = showLoadingIcon, _a["k-resize-" + resizable] = autoSize ? 'none' : resizable, _a['!k-flex-col'] = this.flow === 'vertical', _a['!k-flex-row'] = this.flow === 'horizontal', _a[this.wrapperClass] = this.wrapperClass, _a;
|
|
128
144
|
},
|
|
129
145
|
inputInnerClass: function inputInnerClass() {
|
|
130
146
|
var _a;
|
|
131
147
|
|
|
132
148
|
return _a = {
|
|
133
|
-
'k-input-inner': true
|
|
149
|
+
'k-input-inner': true,
|
|
150
|
+
'!k-resize-none': true,
|
|
151
|
+
'k-flex': true
|
|
134
152
|
}, _a[this.inputClass] = this.inputClass, _a;
|
|
135
153
|
},
|
|
154
|
+
prefixRenderClass: function prefixRenderClass() {
|
|
155
|
+
return {
|
|
156
|
+
'k-input-prefix': true,
|
|
157
|
+
'!k-flex-col': this.flow === 'horizontal',
|
|
158
|
+
'!k-flex-row': this.flow === 'vertical',
|
|
159
|
+
'!k-align-items-start': this.flow === 'horizontal'
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
suffixRenderClass: function suffixRenderClass() {
|
|
163
|
+
return {
|
|
164
|
+
'k-input-suffix': true,
|
|
165
|
+
'!k-flex-col': this.flow === 'horizontal',
|
|
166
|
+
'!k-flex-row': this.flow === 'vertical',
|
|
167
|
+
'!k-align-items-start': this.flow === 'horizontal'
|
|
168
|
+
};
|
|
169
|
+
},
|
|
170
|
+
suffixIconWrapClass: function suffixIconWrapClass() {
|
|
171
|
+
return {
|
|
172
|
+
'k-flex-wrap': true,
|
|
173
|
+
'!k-align-items-start': true
|
|
174
|
+
};
|
|
175
|
+
},
|
|
136
176
|
computedValue: function computedValue() {
|
|
137
177
|
return this.$props.value !== undefined ? this.$props.value : this.$props.modelValue !== undefined ? this.$props.modelValue : this.currentValue;
|
|
138
178
|
},
|
|
@@ -147,6 +187,11 @@ var TextAreaVue2 = {
|
|
|
147
187
|
currentDir: 'ltr'
|
|
148
188
|
};
|
|
149
189
|
},
|
|
190
|
+
watch: {
|
|
191
|
+
size: function size() {
|
|
192
|
+
this.textAreaHeight = 'auto';
|
|
193
|
+
}
|
|
194
|
+
},
|
|
150
195
|
mounted: function mounted() {
|
|
151
196
|
this.element = this.v3 ? this.elementRef : this.$refs.element;
|
|
152
197
|
this.currentDir = this.$props.dir !== undefined ? this.$props.dir : kendo_vue_common_1.isRtl(this.$el) ? 'rtl' : 'ltr';
|
|
@@ -225,7 +270,6 @@ var TextAreaVue2 = {
|
|
|
225
270
|
_this.elementRef = el;
|
|
226
271
|
} : 'element',
|
|
227
272
|
style: autoSize ? {
|
|
228
|
-
resize: 'none',
|
|
229
273
|
overflow: 'hidden',
|
|
230
274
|
height: this.textAreaHeight
|
|
231
275
|
} : {},
|
|
@@ -246,24 +290,34 @@ var TextAreaVue2 = {
|
|
|
246
290
|
}));
|
|
247
291
|
return h("span", {
|
|
248
292
|
"class": this.rootClassName,
|
|
249
|
-
dir: this.currentDir,
|
|
293
|
+
dir: this.currentDir === 'rtl' ? this.currentDir : '',
|
|
250
294
|
attrs: this.v3 ? undefined : {
|
|
251
|
-
dir: this.currentDir
|
|
295
|
+
dir: this.currentDir === 'rtl' ? this.currentDir : ''
|
|
252
296
|
},
|
|
253
297
|
style: this.$attrs.style
|
|
298
|
+
}, [this.$props.inputPrefix && h("span", {
|
|
299
|
+
"class": this.prefixRenderClass
|
|
300
|
+
}, [inputPrefix]), h("span", {
|
|
301
|
+
"class": "k-hstack k-flex"
|
|
254
302
|
}, [iconName && h("span", {
|
|
303
|
+
"class": "k-flex-wrap"
|
|
304
|
+
}, [h("span", {
|
|
255
305
|
"class": "k-input-icon k-icon k-i-" + iconName
|
|
256
|
-
}), this
|
|
257
|
-
"class":
|
|
258
|
-
}, [
|
|
259
|
-
"class": "k-input-suffix"
|
|
260
|
-
}, [inputSuffix]), showValidationIcon && this.isValid && h("span", {
|
|
306
|
+
})]), textarea, showValidationIcon && this.isValid && h("span", {
|
|
307
|
+
"class": this.suffixIconWrapClass
|
|
308
|
+
}, [h("span", {
|
|
261
309
|
"class": "k-input-validation-icon k-icon k-i-check"
|
|
262
|
-
}), showValidationIcon && !this.isValid && h("span", {
|
|
310
|
+
})]), showValidationIcon && !this.isValid && h("span", {
|
|
311
|
+
"class": this.suffixIconWrapClass
|
|
312
|
+
}, [h("span", {
|
|
263
313
|
"class": "k-input-validation-icon k-icon k-i-warning"
|
|
264
|
-
}), showLoadingIcon && h("span", {
|
|
314
|
+
})]), showLoadingIcon && h("span", {
|
|
315
|
+
"class": this.suffixIconWrapClass
|
|
316
|
+
}, [h("span", {
|
|
265
317
|
"class": "k-input-loading-icon k-icon k-i-loading"
|
|
266
|
-
}), showClearButton && this.computedValue && h("span", {
|
|
318
|
+
})]), showClearButton && this.computedValue && h("span", {
|
|
319
|
+
"class": this.suffixIconWrapClass
|
|
320
|
+
}, [h("span", {
|
|
267
321
|
onClick: this.clearClick,
|
|
268
322
|
on: this.v3 ? undefined : {
|
|
269
323
|
"click": this.clearClick
|
|
@@ -271,7 +325,9 @@ var TextAreaVue2 = {
|
|
|
271
325
|
"class": "k-clear-value"
|
|
272
326
|
}, [h("span", {
|
|
273
327
|
"class": "k-icon k-i-x"
|
|
274
|
-
})])])
|
|
328
|
+
})])])]), this.$props.inputSuffix && h("span", {
|
|
329
|
+
"class": this.suffixRenderClass
|
|
330
|
+
}, [inputSuffix])]);
|
|
275
331
|
},
|
|
276
332
|
methods: {
|
|
277
333
|
setValidity: function setValidity() {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies the flow direction of the TextArea sections.
|
|
3
|
+
*
|
|
4
|
+
* The possible values are:
|
|
5
|
+
* * `vertical`(Default) —TextArea sections are placed from top to bottom.
|
|
6
|
+
* * `horizontal`—TextArea sections are placed from left to right in `ltr`, and from right to left in `rtl` mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare type TextAreaFlow = 'horizontal' | 'vertical';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
2
2
|
import { TextAreaBlurEvent } from './TextAreaBlurEvent';
|
|
3
3
|
import { TextAreaChangeEvent } from './TextAreaChangeEvent';
|
|
4
|
+
import { TextAreaFlow } from './TextAreaFlow';
|
|
4
5
|
import { TextAreaFocusEvent } from './TextAreaFocusEvent';
|
|
6
|
+
import { TextAreaResize } from './TextAreaResize';
|
|
5
7
|
/**
|
|
6
8
|
* Represents the props of the [Kendo UI for Vue TextArea component]({% slug overview_textarea %}).
|
|
7
9
|
*/
|
|
@@ -141,6 +143,14 @@ export interface TextAreaProps extends FormComponentProps {
|
|
|
141
143
|
* Defines additional class to the wrapper element.
|
|
142
144
|
*/
|
|
143
145
|
wrapperClass?: String;
|
|
146
|
+
/**
|
|
147
|
+
* Defines the flow direction of the TextArea sections.
|
|
148
|
+
*/
|
|
149
|
+
flow?: TextAreaFlow | String;
|
|
150
|
+
/**
|
|
151
|
+
* Defines the way the TextArea will resize.
|
|
152
|
+
*/
|
|
153
|
+
resizable?: TextAreaResize | String;
|
|
144
154
|
/**
|
|
145
155
|
* Defines additional class to the input element.
|
|
146
156
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies the resize direction of the TextArea sections.
|
|
3
|
+
*
|
|
4
|
+
* The possible values are:
|
|
5
|
+
* `vertical`(Default) —TextArea can be resized only vertically.
|
|
6
|
+
* `horizontal`—TextArea can be resized only horizontally.
|
|
7
|
+
* `both`—TextArea can be resized both vertically and horizontally.
|
|
8
|
+
* `nont`—TextArea can not be manually resized.
|
|
9
|
+
*/
|
|
10
|
+
export declare type TextAreaResize = 'both' | 'horizontal' | 'vertical';
|
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": "3.3.
|
|
4
|
+
"version": "3.3.6-dev.202206170937",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -38,21 +38,22 @@
|
|
|
38
38
|
"vue": "^2.6.12 || ^3.0.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@progress/kendo-vue-buttons": "3.3.
|
|
42
|
-
"@progress/kendo-vue-common": "3.3.
|
|
43
|
-
"@progress/kendo-vue-labels": "3.3.
|
|
44
|
-
"@progress/kendo-vue-popup": "3.3.
|
|
41
|
+
"@progress/kendo-vue-buttons": "3.3.6-dev.202206170937",
|
|
42
|
+
"@progress/kendo-vue-common": "3.3.6-dev.202206170937",
|
|
43
|
+
"@progress/kendo-vue-labels": "3.3.6-dev.202206170937",
|
|
44
|
+
"@progress/kendo-vue-popup": "3.3.6-dev.202206170937"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@progress/kendo-data-query": "^1.5.5",
|
|
48
48
|
"@progress/kendo-date-math": "^1.5.4",
|
|
49
49
|
"@progress/kendo-drawing": "^1.8.0",
|
|
50
50
|
"@progress/kendo-licensing": "^1.1.0",
|
|
51
|
-
"@progress/kendo-vue-buttons": "3.3.
|
|
52
|
-
"@progress/kendo-vue-
|
|
53
|
-
"@progress/kendo-vue-
|
|
54
|
-
"@progress/kendo-vue-
|
|
55
|
-
"@progress/kendo-vue-
|
|
51
|
+
"@progress/kendo-vue-buttons": "3.3.6-dev.202206170937",
|
|
52
|
+
"@progress/kendo-vue-dropdowns": "3.3.6-dev.202206170937",
|
|
53
|
+
"@progress/kendo-vue-form": "3.3.6-dev.202206170937",
|
|
54
|
+
"@progress/kendo-vue-intl": "3.3.6-dev.202206170937",
|
|
55
|
+
"@progress/kendo-vue-labels": "3.3.6-dev.202206170937",
|
|
56
|
+
"@progress/kendo-vue-tooltip": "3.3.6-dev.202206170937",
|
|
56
57
|
"cldr-core": "^34.0.0",
|
|
57
58
|
"cldr-dates-full": "^34.0.0",
|
|
58
59
|
"cldr-numbers-full": "^34.0.0"
|