@progress/kendo-vue-dropdowns 3.10.2-dev.202305221316 → 3.11.0-dev.202305230623
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-dropdowns.js +1 -1
- package/dist/es/AutoComplete/AutoComplete.js +7 -3
- package/dist/es/DropDownTree/DropDownTree.d.ts +49 -1
- package/dist/es/DropDownTree/DropDownTree.js +863 -638
- package/dist/es/DropDownTree/DropDownTreeProps.d.ts +19 -8
- package/dist/es/MultiSelect/MultiSelect.js +6 -2
- package/dist/es/MultiSelectTree/MultiSelectTree.js +12 -12
- package/dist/es/common/ListFilter.js +47 -25
- package/dist/es/main.d.ts +2 -1
- package/dist/es/main.js +2 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/AutoComplete/AutoComplete.js +7 -3
- package/dist/esm/DropDownTree/DropDownTree.d.ts +49 -1
- package/dist/esm/DropDownTree/DropDownTree.js +863 -638
- package/dist/esm/DropDownTree/DropDownTreeProps.d.ts +19 -8
- package/dist/esm/MultiSelect/MultiSelect.js +6 -2
- package/dist/esm/MultiSelectTree/MultiSelectTree.js +12 -12
- package/dist/esm/common/ListFilter.js +47 -25
- package/dist/esm/main.d.ts +2 -1
- package/dist/esm/main.js +2 -1
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/AutoComplete/AutoComplete.js +6 -2
- package/dist/npm/DropDownTree/DropDownTree.d.ts +49 -1
- package/dist/npm/DropDownTree/DropDownTree.js +868 -639
- package/dist/npm/DropDownTree/DropDownTreeProps.d.ts +19 -8
- package/dist/npm/MultiSelect/MultiSelect.js +6 -2
- package/dist/npm/MultiSelectTree/MultiSelectTree.js +12 -12
- package/dist/npm/common/ListFilter.js +47 -25
- package/dist/npm/main.d.ts +2 -1
- package/dist/npm/main.js +3 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +10 -8
- package/dist/es/DropDownTree/useDropdownWidth.d.ts +0 -4
- package/dist/es/DropDownTree/useDropdownWidth.js +0 -10
- package/dist/esm/DropDownTree/useDropdownWidth.d.ts +0 -4
- package/dist/esm/DropDownTree/useDropdownWidth.js +0 -10
- package/dist/npm/DropDownTree/useDropdownWidth.d.ts +0 -4
- package/dist/npm/DropDownTree/useDropdownWidth.js +0 -17
|
@@ -81,7 +81,7 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
81
81
|
/**
|
|
82
82
|
* Sets the data of the DropDownTree ([see example]({% slug overview_dropdowntree %})).
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
dataItems?: any[];
|
|
85
85
|
/**
|
|
86
86
|
* Sets the opened state of the DropDownTree.
|
|
87
87
|
*/
|
|
@@ -91,6 +91,7 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
91
91
|
* It can be an object from the data-tree.
|
|
92
92
|
*/
|
|
93
93
|
value?: any;
|
|
94
|
+
modelValue?: any;
|
|
94
95
|
/**
|
|
95
96
|
* The hint that is displayed when the DropDownTree is empty.
|
|
96
97
|
*/
|
|
@@ -224,17 +225,27 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
224
225
|
*/
|
|
225
226
|
onExpandChange?: (event: any) => void;
|
|
226
227
|
/**
|
|
227
|
-
* Defines the
|
|
228
|
+
* Defines the slot that will be used for rendering each of the DropDownTree items
|
|
228
229
|
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
229
230
|
*/
|
|
230
231
|
item?: any;
|
|
231
232
|
/**
|
|
232
|
-
* Defines the
|
|
233
|
+
* Defines the slot that will be used for rendering the selected value
|
|
233
234
|
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
234
235
|
*/
|
|
235
|
-
|
|
236
|
+
valueRender?: any;
|
|
236
237
|
/**
|
|
237
|
-
* Defines the
|
|
238
|
+
* Defines the slot that will be used for header
|
|
239
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
240
|
+
*/
|
|
241
|
+
header?: any;
|
|
242
|
+
/**
|
|
243
|
+
* Defines the slot that will be used for footer
|
|
244
|
+
* ([see example]({% slug customrendering_dropdowntree %}#toc-items-and-value-element)).
|
|
245
|
+
*/
|
|
246
|
+
footer?: any;
|
|
247
|
+
/**
|
|
248
|
+
* Defines the slot that will be rendered in the DropDownTree popup when no data is available
|
|
238
249
|
* ([see example]({% slug customrendering_dropdowntree %}#toc-no-data)).
|
|
239
250
|
*/
|
|
240
251
|
listNoData?: any;
|
|
@@ -249,7 +260,7 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
249
260
|
*
|
|
250
261
|
* @default `medium`
|
|
251
262
|
*/
|
|
252
|
-
size?: null | 'small' | 'medium' | 'large';
|
|
263
|
+
size?: null | 'small' | 'medium' | 'large' | string;
|
|
253
264
|
/**
|
|
254
265
|
* Configures the `roundness` of the DropDownTree.
|
|
255
266
|
*
|
|
@@ -262,7 +273,7 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
262
273
|
*
|
|
263
274
|
* @default `medium`
|
|
264
275
|
*/
|
|
265
|
-
rounded?: null | 'small' | 'medium' | 'large' | 'full';
|
|
276
|
+
rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
|
|
266
277
|
/**
|
|
267
278
|
* Configures the `fillMode` of the DropDownTree.
|
|
268
279
|
*
|
|
@@ -274,5 +285,5 @@ export interface DropDownTreeProps extends FormComponentProps {
|
|
|
274
285
|
*
|
|
275
286
|
* @default `solid`
|
|
276
287
|
*/
|
|
277
|
-
fillMode?: null | 'solid' | 'flat' | 'outline';
|
|
288
|
+
fillMode?: null | 'solid' | 'flat' | 'outline' | string;
|
|
278
289
|
}
|
|
@@ -1114,8 +1114,12 @@ var MultiSelectVue2 = {
|
|
|
1114
1114
|
on: this.v3 ? undefined : {
|
|
1115
1115
|
"clearclick": this.clearButtonClick
|
|
1116
1116
|
}
|
|
1117
|
-
}), h(
|
|
1118
|
-
|
|
1117
|
+
}), h(Icon, {
|
|
1118
|
+
name: loading ? 'loading' : '',
|
|
1119
|
+
attrs: this.v3 ? undefined : {
|
|
1120
|
+
name: loading ? 'loading' : ''
|
|
1121
|
+
},
|
|
1122
|
+
"class": 'k-input-loading-icon'
|
|
1119
1123
|
}), renderListContainer.call(this)]);
|
|
1120
1124
|
return label ? h("span", {
|
|
1121
1125
|
"class": this.spanClassNames,
|
|
@@ -70,8 +70,8 @@ var MultiSelectTreeVue2 = {
|
|
|
70
70
|
focus: null,
|
|
71
71
|
blur: null,
|
|
72
72
|
change: null,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
filterchange: null,
|
|
74
|
+
expandchange: null,
|
|
75
75
|
'changemodel': null,
|
|
76
76
|
'update:modelValue': null
|
|
77
77
|
},
|
|
@@ -298,7 +298,7 @@ var MultiSelectTreeVue2 = {
|
|
|
298
298
|
fillMode = _e.fillMode;
|
|
299
299
|
var multiselecttree = h("span", {
|
|
300
300
|
ref: setRef(this, 'kendoAnchor', this.anchor),
|
|
301
|
-
"class": classNames('k-
|
|
301
|
+
"class": classNames('k-multiselecttree k-input', this.$props.className, (_a = {}, _a["k-input-".concat(sizeMap[size] || size)] = size, _a["k-rounded-".concat(roundedMap[rounded] || rounded)] = rounded, _a["k-input-".concat(fillMode)] = fillMode, _a['k-focus'] = this.focusedState && !disabled, _a['k-invalid'] = !isValid, _a['k-disabled'] = disabled, _a['k-loading'] = this.$props.loading, _a['k-required'] = required, _a)),
|
|
302
302
|
tabIndex: tabIndex,
|
|
303
303
|
attrs: this.v3 ? undefined : {
|
|
304
304
|
tabIndex: tabIndex,
|
|
@@ -306,12 +306,12 @@ var MultiSelectTreeVue2 = {
|
|
|
306
306
|
id: id,
|
|
307
307
|
dir: dir,
|
|
308
308
|
role: "combobox",
|
|
309
|
-
"aria-haspopup": "
|
|
309
|
+
"aria-haspopup": "tree",
|
|
310
310
|
"aria-expanded": this.isOpen,
|
|
311
311
|
"aria-disabled": disabled,
|
|
312
312
|
"aria-label": label,
|
|
313
313
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
314
|
-
"aria-describedby": this.$props.
|
|
314
|
+
"aria-describedby": this.$props.ariaLabelledBy ? this.$props.ariaLabelledBy : 'tagslist-' + id,
|
|
315
315
|
"aria-required": this.$props.required
|
|
316
316
|
},
|
|
317
317
|
accessKey: this.$props.accessKey,
|
|
@@ -329,12 +329,12 @@ var MultiSelectTreeVue2 = {
|
|
|
329
329
|
onFocusin: this.onFocus,
|
|
330
330
|
onFocusout: this.onBlur,
|
|
331
331
|
role: "combobox",
|
|
332
|
-
"aria-haspopup": "
|
|
332
|
+
"aria-haspopup": "tree",
|
|
333
333
|
"aria-expanded": this.isOpen,
|
|
334
334
|
"aria-disabled": disabled,
|
|
335
335
|
"aria-label": label,
|
|
336
336
|
"aria-labelledby": this.$props.ariaLabelledBy,
|
|
337
|
-
"aria-describedby": this.$props.
|
|
337
|
+
"aria-describedby": this.$props.ariaLabelledBy ? this.$props.ariaLabelledBy : 'tagslist-' + id,
|
|
338
338
|
"aria-required": this.$props.required,
|
|
339
339
|
onClick: this.onWrapperClick
|
|
340
340
|
}, [h("div", {
|
|
@@ -350,7 +350,7 @@ var MultiSelectTreeVue2 = {
|
|
|
350
350
|
dataItems: this.tagsToRenderRef,
|
|
351
351
|
guid: id,
|
|
352
352
|
focused: this.focusedTagState ? this.tagsToRenderRef.find(function (t) {
|
|
353
|
-
return matchTags(t, _this.focusedTagState, dataItemKey);
|
|
353
|
+
return _this.focusedTagState && matchTags(t, _this.focusedTagState, dataItemKey);
|
|
354
354
|
}) : undefined,
|
|
355
355
|
tagsRounded: rounded,
|
|
356
356
|
size: size,
|
|
@@ -363,7 +363,7 @@ var MultiSelectTreeVue2 = {
|
|
|
363
363
|
dataItems: this.tagsToRenderRef,
|
|
364
364
|
guid: id,
|
|
365
365
|
focused: this.focusedTagState ? this.tagsToRenderRef.find(function (t) {
|
|
366
|
-
return matchTags(t, _this.focusedTagState, dataItemKey);
|
|
366
|
+
return _this.focusedTagState && matchTags(t, _this.focusedTagState, dataItemKey);
|
|
367
367
|
}) : undefined,
|
|
368
368
|
tagsRounded: rounded,
|
|
369
369
|
size: size,
|
|
@@ -429,9 +429,9 @@ var MultiSelectTreeVue2 = {
|
|
|
429
429
|
width: this.popupWidth,
|
|
430
430
|
direction: dir
|
|
431
431
|
},
|
|
432
|
-
popupClass: classNames(popupSettings.popupClass, 'k-
|
|
432
|
+
popupClass: classNames(popupSettings.popupClass, 'k-multiselecttree-popup', 'popup-' + this.componentGuid),
|
|
433
433
|
attrs: this.v3 ? undefined : {
|
|
434
|
-
popupClass: classNames(popupSettings.popupClass, 'k-
|
|
434
|
+
popupClass: classNames(popupSettings.popupClass, 'k-multiselecttree-popup', 'popup-' + this.componentGuid),
|
|
435
435
|
animate: popupSettings.animate,
|
|
436
436
|
anchor: this.anchor,
|
|
437
437
|
show: this.isOpen,
|
|
@@ -726,7 +726,7 @@ var MultiSelectTreeVue2 = {
|
|
|
726
726
|
onPopupClosed: function onPopupClosed() {
|
|
727
727
|
if (this.focusedState) {
|
|
728
728
|
// Move the focus from treeview to dropdown without triggering Focus or Blur events.
|
|
729
|
-
this.focusElement(this
|
|
729
|
+
this.focusElement(this.elementRef);
|
|
730
730
|
}
|
|
731
731
|
},
|
|
732
732
|
onFocus: function onFocus(event) {
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
1
13
|
// @ts-ignore
|
|
2
14
|
import * as Vue from 'vue';
|
|
3
15
|
var allVue = Vue;
|
|
@@ -6,6 +18,7 @@ var isV3 = allVue.version && allVue.version[0] === '3';
|
|
|
6
18
|
var ref = allVue.ref;
|
|
7
19
|
import { getRef, Icon, kendoThemeMaps, setRef } from '@progress/kendo-vue-common';
|
|
8
20
|
import { searchIcon } from '@progress/kendo-svg-icons';
|
|
21
|
+
import { TextBox } from '@progress/kendo-vue-inputs';
|
|
9
22
|
var sizeMap = kendoThemeMaps.sizeMap,
|
|
10
23
|
roundedMap = kendoThemeMaps.roundedMap;
|
|
11
24
|
/**
|
|
@@ -77,48 +90,57 @@ var ListFilterVue2 = {
|
|
|
77
90
|
},
|
|
78
91
|
handleBlur: function handleBlur(e) {
|
|
79
92
|
this.$emit('blur', e);
|
|
93
|
+
},
|
|
94
|
+
prefixRender: function prefixRender(h) {
|
|
95
|
+
var iconProps = {
|
|
96
|
+
class: 'k-input-icon',
|
|
97
|
+
name: 'search',
|
|
98
|
+
icon: searchIcon
|
|
99
|
+
};
|
|
100
|
+
return h(Icon, __assign({
|
|
101
|
+
props: this.v3 ? undefined : iconProps
|
|
102
|
+
}, iconProps));
|
|
80
103
|
}
|
|
81
104
|
},
|
|
82
105
|
mounted: function mounted() {
|
|
83
|
-
this.input = getRef(this, 'input');
|
|
106
|
+
this.input = getRef(this, 'input')._input;
|
|
84
107
|
},
|
|
85
108
|
// @ts-ignore
|
|
86
109
|
render: function render(createElement) {
|
|
87
110
|
var h = gh || createElement;
|
|
88
|
-
|
|
111
|
+
var _a = this.$props,
|
|
112
|
+
size = _a.size,
|
|
113
|
+
rounded = _a.rounded,
|
|
114
|
+
fillMode = _a.fillMode;
|
|
115
|
+
return h("div", {
|
|
89
116
|
"class": "k-list-filter"
|
|
90
|
-
}, [
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
name: "search",
|
|
94
|
-
attrs: this.v3 ? undefined : {
|
|
95
|
-
name: "search",
|
|
96
|
-
icon: searchIcon
|
|
97
|
-
},
|
|
98
|
-
icon: searchIcon,
|
|
99
|
-
"class": "k-input-icon"
|
|
100
|
-
}), h("input", {
|
|
117
|
+
}, [
|
|
118
|
+
// @ts-ignore
|
|
119
|
+
h(TextBox, {
|
|
101
120
|
ref: setRef(this, 'input'),
|
|
102
|
-
|
|
121
|
+
value: this.$props.value,
|
|
103
122
|
attrs: this.v3 ? undefined : {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
123
|
+
value: this.$props.value,
|
|
124
|
+
size: size,
|
|
125
|
+
fillMode: fillMode,
|
|
126
|
+
rounded: rounded,
|
|
127
|
+
inputPrefix: this.prefixRender
|
|
109
128
|
},
|
|
110
|
-
"class": "k-input-inner",
|
|
111
129
|
onInput: this.onChange,
|
|
112
130
|
on: this.v3 ? undefined : {
|
|
113
131
|
"input": this.onChange,
|
|
114
132
|
"keydown": this.onKeyDown,
|
|
115
|
-
"
|
|
116
|
-
"
|
|
133
|
+
"focus": this.handleFocus,
|
|
134
|
+
"blur": this.handleBlur
|
|
117
135
|
},
|
|
118
136
|
onKeydown: this.onKeyDown,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
137
|
+
onFocus: this.handleFocus,
|
|
138
|
+
onBlur: this.handleBlur,
|
|
139
|
+
size: size,
|
|
140
|
+
fillMode: fillMode,
|
|
141
|
+
rounded: rounded,
|
|
142
|
+
inputPrefix: this.prefixRender
|
|
143
|
+
})]);
|
|
122
144
|
}
|
|
123
145
|
};
|
|
124
146
|
/**
|
package/dist/esm/main.d.ts
CHANGED
|
@@ -10,8 +10,9 @@ import { AutoCompleteProps, AutoCompleteChangeEvent, AutoCompleteOpenEvent, Auto
|
|
|
10
10
|
import { MultiSelect, MultiSelectVue2 } from './MultiSelect/MultiSelect';
|
|
11
11
|
import { MultiSelectProps, MultiSelectChangeEvent, MultiSelectPageChangeEvent, MultiSelectFilterChangeEvent, MultiSelectOpenEvent, MultiSelectCloseEvent, MultiSelectFocusEvent, MultiSelectBlurEvent } from './MultiSelect/MultiSelectProps';
|
|
12
12
|
import { TagData as MultiSelectTagData } from './MultiSelect/TagList';
|
|
13
|
+
import { DropDownTree } from './DropDownTree/DropDownTree';
|
|
13
14
|
export * from './DropDownTree/DropDownTreeProps';
|
|
14
15
|
import { MultiSelectTree } from './MultiSelectTree/MultiSelectTree';
|
|
15
16
|
export * from './MultiSelectTree/MultiSelectTreeProps';
|
|
16
17
|
export * from './MultiSelectTree/utils';
|
|
17
|
-
export { AutoComplete, AutoCompleteVue2, AutoCompleteProps, AutoCompleteChangeEvent, AutoCompleteOpenEvent, AutoCompleteCloseEvent, AutoCompleteFocusEvent, AutoCompleteBlurEvent, DropDownList, DropDownListVue2, DropDownListProps, DropDownListFilterChangeEvent, DropDownListChangeEvent, DropDownListOpenEvent, DropDownListCloseEvent, DropDownListFocusEvent, DropDownListBlurEvent, DropDownListPageChangeEvent, Page, VirtualizationSettings, DropDownsPopupSettings, ListItemProps, Suggestion, ComboBox, ComboBoxVue2, ComboBoxProps, ComboBoxFilterChangeEvent, ComboBoxChangeEvent, ComboBoxOpenEvent, ComboBoxCloseEvent, ComboBoxFocusEvent, ComboBoxBlurEvent, ComboBoxPageChangeEvent, MultiSelect, MultiSelectVue2, MultiSelectProps, MultiSelectChangeEvent, MultiSelectPageChangeEvent, MultiSelectFilterChangeEvent, MultiSelectOpenEvent, MultiSelectCloseEvent, MultiSelectFocusEvent, MultiSelectBlurEvent, MultiSelectTagData, FormComponentValidity, MultiSelectTree };
|
|
18
|
+
export { AutoComplete, AutoCompleteVue2, AutoCompleteProps, AutoCompleteChangeEvent, AutoCompleteOpenEvent, AutoCompleteCloseEvent, AutoCompleteFocusEvent, AutoCompleteBlurEvent, DropDownList, DropDownListVue2, DropDownListProps, DropDownListFilterChangeEvent, DropDownListChangeEvent, DropDownListOpenEvent, DropDownListCloseEvent, DropDownListFocusEvent, DropDownListBlurEvent, DropDownListPageChangeEvent, Page, VirtualizationSettings, DropDownsPopupSettings, ListItemProps, Suggestion, ComboBox, ComboBoxVue2, ComboBoxProps, ComboBoxFilterChangeEvent, ComboBoxChangeEvent, ComboBoxOpenEvent, ComboBoxCloseEvent, ComboBoxFocusEvent, ComboBoxBlurEvent, ComboBoxPageChangeEvent, MultiSelect, MultiSelectVue2, MultiSelectProps, MultiSelectChangeEvent, MultiSelectPageChangeEvent, MultiSelectFilterChangeEvent, MultiSelectOpenEvent, MultiSelectCloseEvent, MultiSelectFocusEvent, MultiSelectBlurEvent, MultiSelectTagData, FormComponentValidity, MultiSelectTree, DropDownTree };
|
package/dist/esm/main.js
CHANGED
|
@@ -2,8 +2,9 @@ import { DropDownList, DropDownListVue2 } from './DropDownList/DropDownList.js';
|
|
|
2
2
|
import { ComboBox, ComboBoxVue2 } from './ComboBox/ComboBox.js';
|
|
3
3
|
import { AutoComplete, AutoCompleteVue2 } from './AutoComplete/AutoComplete.js';
|
|
4
4
|
import { MultiSelect, MultiSelectVue2 } from './MultiSelect/MultiSelect.js';
|
|
5
|
+
import { DropDownTree } from './DropDownTree/DropDownTree.js';
|
|
5
6
|
export * from './DropDownTree/DropDownTreeProps.js';
|
|
6
7
|
import { MultiSelectTree } from './MultiSelectTree/MultiSelectTree.js';
|
|
7
8
|
export * from './MultiSelectTree/MultiSelectTreeProps.js';
|
|
8
9
|
export * from './MultiSelectTree/utils.js';
|
|
9
|
-
export { AutoComplete, AutoCompleteVue2, DropDownList, DropDownListVue2, ComboBox, ComboBoxVue2, MultiSelect, MultiSelectVue2, MultiSelectTree };
|
|
10
|
+
export { AutoComplete, AutoCompleteVue2, DropDownList, DropDownListVue2, ComboBox, ComboBoxVue2, MultiSelect, MultiSelectVue2, MultiSelectTree, DropDownTree };
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dropdowns',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1684822401,
|
|
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
|
};
|
|
@@ -701,8 +701,12 @@ var AutoCompleteVue2 = {
|
|
|
701
701
|
on: this.v3 ? undefined : {
|
|
702
702
|
"clearclick": this.clearButtonClick
|
|
703
703
|
}
|
|
704
|
-
}), h(
|
|
705
|
-
|
|
704
|
+
}), h(kendo_vue_common_1.Icon, {
|
|
705
|
+
name: loading ? 'loading' : '',
|
|
706
|
+
attrs: this.v3 ? undefined : {
|
|
707
|
+
name: loading ? 'loading' : ''
|
|
708
|
+
},
|
|
709
|
+
"class": 'k-input-loading-icon'
|
|
706
710
|
}), renderListContainer.call(this)]);
|
|
707
711
|
return label ? h("span", {
|
|
708
712
|
"class": this.spanClassNames,
|
|
@@ -1 +1,49 @@
|
|
|
1
|
-
|
|
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
|
+
import { DropDownTreeProps } from './DropDownTreeProps';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface DropDownTreeState {
|
|
11
|
+
calculatedId: string;
|
|
12
|
+
anchor: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export interface DropDownTreeComputed {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
computedValue: any;
|
|
21
|
+
hasValue: boolean;
|
|
22
|
+
currentValueText: string;
|
|
23
|
+
wrapperClass: object;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
export interface DropDownTreeMethods {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export interface DropDownTreeData {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
export interface DropDownTreeAll extends Vue2type, DropDownTreeMethods, DropDownTreeData, DropDownTreeComputed, DropDownTreeState {
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
declare let DropDownTreeVue2: ComponentOptions<DropDownTreeAll, DefaultData<DropDownTreeData>, DefaultMethods<DropDownTreeAll>, DropDownTreeComputed, RecordPropsDefinition<DropDownTreeProps>>;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
declare const DropDownTree: DefineComponent<DropDownTreeProps, any, DropDownTreeData, DropDownTreeComputed, DropDownTreeMethods, {}, {}, {}, string, DropDownTreeProps, DropDownTreeProps, {}>;
|
|
49
|
+
export { DropDownTree, DropDownTreeVue2 };
|